Path Lines of Code README.md 89 _templates/README.md 2 cdk/README.md 8 cdk/cdk.json 7 cdk/package.json 38 cdk/tsconfig.json 36 handlers/HOWTO-create-lambda.md 48 handlers/README.md 16 handlers/alarms-handler/README.md 5 handlers/alarms-handler/package.json 21 handlers/alarms-handler/tsconfig.json 3 handlers/batch-email-sender/README.md 261 handlers/cancellation-sf-cases-api/README.md 9 handlers/catalog-service/README.md 9 handlers/contact-us-api/README.md 59 handlers/delivery-problem-credit-processor/README.md 3 handlers/delivery-problem-credit-processor/src/test/resources/AlternativeSubscription.json 134 handlers/delivery-problem-credit-processor/src/test/resources/EchoLegacySubscription.json 617 handlers/delivery-problem-credit-processor/src/test/resources/GuardianWeeklyWith6For6.json 201 handlers/delivery-problem-credit-processor/src/test/resources/sf-credit-request.json 40 handlers/delivery-records-api/README.md 102 handlers/dev-env-cleaner/README.md 7 handlers/digital-subscription-expiry/README.md 30 handlers/digital-subscription-expiry/src/test/resources/digitalSubscriptionExpiry/validSubscription.json 130 handlers/digital-voucher-api/README.md 170 handlers/digital-voucher-cancellation-processor/README.md 35 handlers/digital-voucher-suspension-processor/README.md 16 handlers/discount-api/README.md 7 handlers/discount-api/package.json 20 handlers/discount-api/test/fixtures/billing-previews/eligibility-checker-test.json 579 handlers/discount-api/test/fixtures/billing-previews/eligibility-checker-test2.json 279 handlers/discount-api/test/fixtures/billing-previews/eligibility-checker-test3.json 27 handlers/discount-api/test/fixtures/billing-previews/supporter-plus-fullprice.json 578 handlers/discount-api/test/fixtures/billing-previews/zero-contribution.json 51 handlers/discount-api/test/fixtures/digital-subscriptions/annual-new-price.json 181 handlers/discount-api/test/fixtures/digital-subscriptions/eligibility-checker-test2.json 338 handlers/discount-api/test/fixtures/digital-subscriptions/eligibility-checker-test3.json 488 handlers/discount-api/test/fixtures/digital-subscriptions/get-discount-test.json 247 handlers/discount-api/test/fixtures/digital-subscriptions/monthly-old-price.json 181 handlers/discount-api/test/fixtures/digital-subscriptions/monthly-price-risen.json 264 handlers/discount-api/test/fixtures/supporter-plus/during-free-period.json 489 handlers/discount-api/test/fixtures/supporter-plus/free-2-months.json 488 handlers/discount-api/test/fixtures/supporter-plus/full-price.json 401 handlers/discount-api/tsconfig.json 3 handlers/discount-expiry-notifier/README.md 18 handlers/discount-expiry-notifier/package-lock.json 709 handlers/discount-expiry-notifier/package.json 27 handlers/discount-expiry-notifier/tsconfig.json 3 handlers/fulfilment-date-calculator/README.md 35 handlers/generate-product-catalog/README.md 7 handlers/generate-product-catalog/package.json 17 handlers/generate-product-catalog/tsconfig.json 3 handlers/holiday-stop-api/README.md 53 handlers/holiday-stop-api/src/main/resources/log4j.properties 6 handlers/holiday-stop-api/src/test/resources/TierThreeAccount.json 123 handlers/holiday-stop-api/src/test/resources/TierThreeSubscription.json 316 handlers/holiday-stop-processor/README.md 68 handlers/holiday-stop-processor/project/build.properties 1 handlers/holiday-stop-processor/src/test/resources/AlternativeSubscription.json 134 handlers/holiday-stop-processor/src/test/resources/DeliveryEveryDatePlusSubscription.json 536 handlers/holiday-stop-processor/src/test/resources/DigitalVoucherSubscription.json 436 handlers/holiday-stop-processor/src/test/resources/EchoLegacySubscription.json 617 handlers/holiday-stop-processor/src/test/resources/GuardianWeeklyWith6For6.json 201 handlers/holiday-stop-processor/src/test/resources/SundayVoucherSubscription.json 134 handlers/holiday-stop-processor/src/test/resources/TierThreeSubscription.json 316 handlers/holiday-stop-processor/src/test/resources/VoucherWeekendPlusSubscription.json 246 handlers/identity-backfill/README.md 10 handlers/identity-retention/README.md 68 handlers/metric-push-api/README.md 4 handlers/metric-push-api/package.json 17 handlers/metric-push-api/tsconfig.json 3 handlers/new-product-api/README.md 6 handlers/new-product-api/src/test/scala/com/gu/newproduct/api/productcatalog/startdate/2023-09-14_Guardian Weekly.json 10 handlers/new-product-api/src/test/scala/com/gu/newproduct/api/productcatalog/startdate/2023-09-14_Newspaper - Digital Voucher.json 58 handlers/new-product-api/src/test/scala/com/gu/newproduct/api/productcatalog/startdate/2023-09-14_Newspaper - Home Delivery.json 58 handlers/new-product-api/src/test/scala/com/gu/newproduct/api/productcatalog/startdate/2023-09-14_Newspaper - National Delivery.json 58 handlers/new-product-api/src/test/scala/com/gu/newproduct/api/productcatalog/startdate/2023-09-14_Newspaper - Voucher Book.json 58 handlers/observer-data-export/README.md 69 handlers/observer-data-export/package.json 17 handlers/observer-data-export/tsconfig.json 3 handlers/press-reader-entitlements/README.md 4 handlers/press-reader-entitlements/package.json 23 handlers/press-reader-entitlements/tsconfig.json 3 handlers/product-move-api/README.md 37 handlers/product-move-api/src/test/resources/AccountBasicInfo.json 32 handlers/product-move-api/src/test/resources/AccountBasicInfo2.json 32 handlers/product-move-api/src/test/resources/zuoraResponses/CancellationResponse1.json 8 handlers/product-move-api/src/test/resources/zuoraResponses/CancellationResponse2.json 7 handlers/product-move-api/src/test/resources/zuoraResponses/GetSubscriptionResponse.json 235 handlers/product-move-api/src/test/resources/zuoraResponses/GetSubscriptionToCancelResponse.json 381 handlers/product-move-api/src/test/resources/zuoraResponses/SubscriptionUpdateResponse1.json 9 handlers/product-move-api/src/test/resources/zuoraResponses/SubscriptionUpdateResponse2.json 7 handlers/product-switch-api/README.md 20 handlers/product-switch-api/package.json 21 handlers/product-switch-api/test/fixtures/account.json 118 handlers/product-switch-api/test/fixtures/already-switched-subscription.json 91 handlers/product-switch-api/test/fixtures/subscription-with-no-contribution.json 62 handlers/product-switch-api/test/fixtures/subscription.json 178 handlers/product-switch-api/test/fixtures/zuora-subscription-with-monthly-contribution.json 45 handlers/product-switch-api/tsconfig.json 3 handlers/salesforce-disaster-recovery-health-check/README.md 18 handlers/salesforce-disaster-recovery-health-check/package.json 20 handlers/salesforce-disaster-recovery-health-check/tsconfig.json 3 handlers/salesforce-disaster-recovery/README.md 19 handlers/salesforce-disaster-recovery/package.json 23 handlers/salesforce-disaster-recovery/tsconfig.json 3 handlers/sf-api-user-credentials-setter/README.md 2 handlers/sf-api-user-credentials-setter/project/build.properties 1 handlers/sf-contact-merge/README.md 7 handlers/sf-datalake-export/README.md 15 handlers/sf-emails-to-s3-exporter/README.md 131 handlers/sf-emails-to-s3-exporter/project/build.properties 1 handlers/sf-gocardless-sync/README.md 40 handlers/sf-move-subscriptions-api/README.md 27 handlers/single-contribution-salesforce-writes/README.md 37 handlers/single-contribution-salesforce-writes/src/test/resources/singleContributionRecord.json 13 handlers/single-contribution-salesforce-writes/src/test/resources/validMessage.json 48 handlers/soft-opt-in-consent-setter/README.md 60 handlers/soft-opt-in-consent-setter/src/test/resources/mobileSubscriptions.json 14 handlers/soft-opt-in-consent-setter/src/test/resources/sfSubRecords.json 61 handlers/ticket-tailor-webhook/package.json 22 handlers/ticket-tailor-webhook/tsconfig.json 3 handlers/update-supporter-plus-amount/package.json 21 handlers/update-supporter-plus-amount/test/fixtures/subscription.json 398 handlers/update-supporter-plus-amount/tsconfig.json 3 handlers/user-benefits/README.md 6 handlers/user-benefits/package.json 15 handlers/user-benefits/tsconfig.json 3 handlers/zuora-callout-apis/README.md 21 handlers/zuora-callout-apis/src/test/resources/paymentFailure/invalidCredentials.json 57 handlers/zuora-callout-apis/src/test/resources/paymentFailure/invalidJson.json 1 handlers/zuora-callout-apis/src/test/resources/paymentFailure/invalidTenant.json 57 handlers/zuora-callout-apis/src/test/resources/paymentFailure/missingCredentials.json 55 handlers/zuora-callout-apis/src/test/resources/paymentFailure/missingEmail.json 57 handlers/zuora-callout-apis/src/test/resources/paymentFailure/validRequest.json 57 handlers/zuora-datalake-export/README.md 191 handlers/zuora-rer/README.md 84 handlers/zuora-retention/README.md 57 handlers/zuora-salesforce-link-remover/README.md 1 handlers/zuora-salesforce-link-remover/package.json 23 handlers/zuora-salesforce-link-remover/tsconfig.json 3 handlers/zuora-sar/README.md 12 lib/config-cats/README.md 22 lib/credit-processor/README.md 3 lib/effects/README.md 9 lib/fulfilment-dates/src/test/resources/Newspaper - Home Delivery.json 9 lib/handler/README.md 9 lib/http4s-lambda-handler/README.md 32 lib/salesforce/sttp-client/src/test/resources/subscription-query-response1.json 16 lib/salesforce/sttp-client/src/test/resources/subscription-query-response2.json 15 lib/zuora-core/src/test/resources/DeliveryEveryDatePlusSubscription.json 536 lib/zuora-core/src/test/resources/Discounts.json 337 lib/zuora-core/src/test/resources/EchoLegacySubscription.json 617 lib/zuora-core/src/test/resources/GWTermEndsBeforeInvoiceDate.json 200 lib/zuora-core/src/test/resources/GuardianWeeklyMigratedWithIncorrectStartDate.json 200 lib/zuora-core/src/test/resources/GuardianWeeklyOldSubscription.json 551 lib/zuora-core/src/test/resources/GuardianWeeklyWith6For6.json 201 lib/zuora-core/src/test/resources/GuardianWeeklyWith6For6WithChristmasFix.json 411 lib/zuora-core/src/test/resources/StoppedPublicationDateOutsideInvoice.json 130 lib/zuora-core/src/test/resources/SubWithEarlyCustomerAcceptanceDate.json 201 lib/zuora-core/src/test/resources/SundayVoucherSubscription.json 134 lib/zuora-core/src/test/resources/SundayVoucherSubscriptionMissingInvoice.json 134 lib/zuora-core/src/test/resources/VoucherWeekendPlusSubscription.json 246 lib/zuora-core/src/test/resources/WeekendVoucherSubscription.json 191 lib/zuora-reports/README.md 99 lib/zuora/README.md 10 modules/aws/package.json 17 modules/aws/tsconfig.json 6 modules/bigquery/package.json 23 modules/bigquery/tsconfig.json 6 modules/email/README.md 19 modules/email/package.json 14 modules/email/tsconfig.json 6 modules/identity/README.md 22 modules/identity/package.json 16 modules/identity/test/README.md 15 modules/identity/tsconfig.json 3 modules/package.json 10 modules/product-benefits/package.json 15 modules/product-benefits/tsconfig.json 3 modules/product-catalog/README.md 42 modules/product-catalog/package.json 18 modules/product-catalog/tsconfig.json 18 modules/routing/package.json 12 modules/routing/tsconfig.json 3 modules/salesforce/package.json 19 modules/salesforce/tsconfig.json 6 modules/secrets-manager/package.json 13 modules/secrets-manager/tsconfig.json 6 modules/supporter-product-data/package.json 12 modules/supporter-product-data/tsconfig.json 3 modules/sync-supporter-product-data/README.md 9 modules/sync-supporter-product-data/package.json 13 modules/sync-supporter-product-data/tsconfig.json 18 modules/test-users/README.md 49 modules/test-users/package.json 20 modules/test-users/tsconfig.json 17 modules/zuora-catalog/package.json 15 modules/zuora-catalog/tsconfig.json 6 modules/zuora/package.json 17 modules/zuora/test/fixtures/billing-preview-with-discount.json 405 modules/zuora/test/fixtures/subscription.json 247 modules/zuora/test/fixtures/subscriptions-from-account-number-response.json 256 modules/zuora/tsconfig.json 6 package.json 41 project/build.properties 1 tsconfig.json 114