@fantastic.dev/better-stripe 0.113.0 → 0.119.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +94 -0
- package/MIGRATION.md +50 -4
- package/README.md +69 -2
- package/dist/client/billing/renewalAggregate/phases.d.ts.map +1 -1
- package/dist/client/billing/renewalAggregate/phases.js +27 -13
- package/dist/client/billing/renewalAggregate/phases.js.map +1 -1
- package/dist/client/billing/renewalAggregate/preflight.d.ts +1 -0
- package/dist/client/billing/renewalAggregate/preflight.d.ts.map +1 -1
- package/dist/client/billing/renewalAggregate/readMaterial.d.ts +2 -1
- package/dist/client/billing/renewalAggregate/readMaterial.d.ts.map +1 -1
- package/dist/client/billing/renewalAggregate/readMaterial.js +28 -5
- package/dist/client/billing/renewalAggregate/readMaterial.js.map +1 -1
- package/dist/client/billing/renewalAggregate/sourceDiscounts.d.ts +1 -1
- package/dist/client/billing/renewalAggregate/sourceDiscounts.d.ts.map +1 -1
- package/dist/client/billing/renewalAggregate/sourceDiscounts.js +2 -2
- package/dist/client/billing/renewalAggregate/sourceDiscounts.js.map +1 -1
- package/dist/client/billing/renewalAttach/attachmentProfile.d.ts +13 -0
- package/dist/client/billing/renewalAttach/attachmentProfile.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/attachmentProfile.js +15 -0
- package/dist/client/billing/renewalAttach/attachmentProfile.js.map +1 -0
- package/dist/client/billing/renewalAttach/internal/c10/eventCapture.js +1 -1
- package/dist/client/billing/renewalAttach/internal/c10/eventCapture.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/material/classifiers.d.ts +1 -1
- package/dist/client/billing/renewalAttach/internal/material/classifiers.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/material/classifiers.js +11 -10
- package/dist/client/billing/renewalAttach/internal/material/classifiers.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/material/readMaterial.d.ts +1 -1
- package/dist/client/billing/renewalAttach/internal/material/readMaterial.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/material/readMaterial.js +20 -5
- package/dist/client/billing/renewalAttach/internal/material/readMaterial.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/configureReadTransport.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/configureReadTransport.js +7 -7
- package/dist/client/billing/renewalAttach/internal/operations/configureReadTransport.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js +5 -3
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/preflight/grammar.js +1 -1
- package/dist/client/billing/renewalAttach/internal/preflight/grammar.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js +4 -4
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/configureWriteFactory.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/configureWriteFactory.js +7 -6
- package/dist/client/billing/renewalAttach/internal/producer/configureWriteFactory.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts +3 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js +16 -1
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.d.ts +9 -0
- package/dist/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.js +83 -0
- package/dist/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.js.map +1 -0
- package/dist/client/billing/renewalAttach/liveAttachment.d.ts +12 -0
- package/dist/client/billing/renewalAttach/liveAttachment.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/liveAttachment.js +23 -0
- package/dist/client/billing/renewalAttach/liveAttachment.js.map +1 -0
- package/dist/client/billing/renewalAttach/nodeAttachment.d.ts +4 -0
- package/dist/client/billing/renewalAttach/nodeAttachment.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/nodeAttachment.js +154 -0
- package/dist/client/billing/renewalAttach/nodeAttachment.js.map +1 -0
- package/dist/client/billing/renewalAttach/nodeConfiguration.d.ts +3 -0
- package/dist/client/billing/renewalAttach/nodeConfiguration.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/nodeConfiguration.js +126 -0
- package/dist/client/billing/renewalAttach/nodeConfiguration.js.map +1 -0
- package/dist/client/billing/renewalV2/configureInput.d.ts +1 -0
- package/dist/client/billing/renewalV2/configureInput.d.ts.map +1 -1
- package/dist/client/billing/renewalV2/configureInput.js +2 -1
- package/dist/client/billing/renewalV2/configureInput.js.map +1 -1
- package/dist/client/billing/renewalV2/index.d.ts +3 -0
- package/dist/client/billing/renewalV2/index.d.ts.map +1 -1
- package/dist/client/billing/renewalV2/index.js +1 -1
- package/dist/client/billing/renewalV2/index.js.map +1 -1
- package/dist/client/billing/renewalV2/observationInput.d.ts +1 -0
- package/dist/client/billing/renewalV2/observationInput.d.ts.map +1 -1
- package/dist/client/index.d.ts +7 -14
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +10 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/node.d.ts +2 -0
- package/dist/client/node.d.ts.map +1 -0
- package/dist/client/node.js +9 -0
- package/dist/client/node.js.map +1 -0
- package/dist/client/renewal.d.ts +4 -0
- package/dist/client/renewal.d.ts.map +1 -1
- package/dist/client/renewal.js +2 -1
- package/dist/client/renewal.js.map +1 -1
- package/dist/client/renewalAttachmentPreparation.d.ts +23 -0
- package/dist/client/renewalAttachmentPreparation.d.ts.map +1 -0
- package/dist/client/renewalAttachmentPreparation.js +89 -0
- package/dist/client/renewalAttachmentPreparation.js.map +1 -0
- package/dist/client/renewalAttachmentRuntime.d.ts +6 -0
- package/dist/client/renewalAttachmentRuntime.d.ts.map +1 -0
- package/dist/client/renewalAttachmentRuntime.js +13 -0
- package/dist/client/renewalAttachmentRuntime.js.map +1 -0
- package/dist/client/renewalAttachmentTypes.d.ts +45 -0
- package/dist/client/renewalAttachmentTypes.d.ts.map +1 -0
- package/dist/client/renewalAttachmentTypes.js +2 -0
- package/dist/client/renewalAttachmentTypes.js.map +1 -0
- package/dist/client/renewalConfigurationPreparation.d.ts +27 -0
- package/dist/client/renewalConfigurationPreparation.d.ts.map +1 -0
- package/dist/client/renewalConfigurationPreparation.js +78 -0
- package/dist/client/renewalConfigurationPreparation.js.map +1 -0
- package/dist/client/renewalConfigurationRuntime.d.ts +6 -0
- package/dist/client/renewalConfigurationRuntime.d.ts.map +1 -0
- package/dist/client/renewalConfigurationRuntime.js +12 -0
- package/dist/client/renewalConfigurationRuntime.js.map +1 -0
- package/dist/client/renewalConfigurationTypes.d.ts +19 -0
- package/dist/client/renewalConfigurationTypes.d.ts.map +1 -0
- package/dist/client/renewalConfigurationTypes.js +2 -0
- package/dist/client/renewalConfigurationTypes.js.map +1 -0
- package/dist/client/renewalContextClient.d.ts +5 -0
- package/dist/client/renewalContextClient.d.ts.map +1 -1
- package/dist/client/renewalContextClient.js +9 -0
- package/dist/client/renewalContextClient.js.map +1 -1
- package/dist/client/types/documents.d.ts +2 -0
- package/dist/client/types/documents.d.ts.map +1 -1
- package/dist/client/webhooks/helpers.d.ts.map +1 -1
- package/dist/client/webhooks/helpers.js +1 -0
- package/dist/client/webhooks/helpers.js.map +1 -1
- package/dist/client/webhooks/ledger.d.ts +31 -0
- package/dist/client/webhooks/ledger.d.ts.map +1 -0
- package/dist/client/webhooks/ledger.js +13 -0
- package/dist/client/webhooks/ledger.js.map +1 -0
- package/dist/client/webhooks/processors.d.ts.map +1 -1
- package/dist/client/webhooks/processors.js +6 -3
- package/dist/client/webhooks/processors.js.map +1 -1
- package/dist/client/webhooks/subscriptionDeleted.d.ts.map +1 -1
- package/dist/client/webhooks/subscriptionDeleted.js +3 -2
- package/dist/client/webhooks/subscriptionDeleted.js.map +1 -1
- package/dist/component/_generated/api.d.ts +2 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +18 -1
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
- package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
- package/dist/component/billing/mutations.d.ts +2 -1
- package/dist/component/billing/mutations.d.ts.map +1 -1
- package/dist/component/billing/mutations.js +28 -3
- package/dist/component/billing/mutations.js.map +1 -1
- package/dist/component/billing/queries.d.ts +8 -0
- package/dist/component/billing/queries.d.ts.map +1 -1
- package/dist/component/billing/schema.d.ts +3 -1
- package/dist/component/billing/schema.d.ts.map +1 -1
- package/dist/component/billing/validators.d.ts +16 -1
- package/dist/component/billing/validators.d.ts.map +1 -1
- package/dist/component/billing/validators.js +8 -0
- package/dist/component/billing/validators.js.map +1 -1
- package/dist/component/billingHistory/queries.d.ts +1 -0
- package/dist/component/billingHistory/queries.d.ts.map +1 -1
- package/dist/component/core/mutations.d.ts +4 -0
- package/dist/component/core/mutations.d.ts.map +1 -1
- package/dist/component/core/mutations.js +6 -0
- package/dist/component/core/mutations.js.map +1 -1
- package/dist/component/core/stripeMode.d.ts +8 -0
- package/dist/component/core/stripeMode.d.ts.map +1 -0
- package/dist/component/core/stripeMode.js +23 -0
- package/dist/component/core/stripeMode.js.map +1 -0
- package/dist/component/earnings/triggers.d.ts +6 -4
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/financialObservations/settlementHelpers.d.ts +3 -3
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
- package/dist/component/schema.d.ts +4 -2
- package/dist/component/webhooks/mutations.d.ts +19 -0
- package/dist/component/webhooks/mutations.d.ts.map +1 -1
- package/dist/component/webhooks/mutations.js +56 -0
- package/dist/component/webhooks/mutations.js.map +1 -1
- package/dist/component/webhooks/schema.d.ts +1 -1
- package/dist/component/webhooks/schema.d.ts.map +1 -1
- package/dist/component/webhooks/schema.js +2 -1
- package/dist/component/webhooks/schema.js.map +1 -1
- package/docs/README.md +43 -8
- package/docs/billing-history.md +1 -1
- package/docs/client-api.md +63 -10
- package/docs/evidence/native-metering/mixed-settlement-2026-10-20.json +1 -1
- package/docs/evidence/native-metering/product-flows-2026-10-19.json +1 -1
- package/docs/example-routing.md +93 -0
- package/docs/pull-request-standard.md +142 -0
- package/docs/react-workflows-audit.md +1 -2
- package/docs/read-contracts.md +6 -5
- package/docs/releasing.md +30 -2
- package/docs/renewal-attachment.md +176 -0
- package/docs/renewal-configuration.md +127 -0
- package/docs/renewal-context-reads.md +9 -5
- package/docs/settlement.md +2 -1
- package/docs/stripe-sandbox-worktrees.md +245 -0
- package/docs/webhooks.md +110 -1
- package/docs/worktrees.md +134 -0
- package/package.json +14 -2
- package/src/client/billing/renewalAggregate/phases.ts +31 -13
- package/src/client/billing/renewalAggregate/readMaterial.ts +36 -2
- package/src/client/billing/renewalAggregate/sourceDiscounts.ts +3 -1
- package/src/client/billing/renewalAttach/attachmentProfile.ts +22 -0
- package/src/client/billing/renewalAttach/internal/c10/eventCapture.ts +1 -1
- package/src/client/billing/renewalAttach/internal/material/classifiers.ts +26 -7
- package/src/client/billing/renewalAttach/internal/material/readMaterial.ts +26 -2
- package/src/client/billing/renewalAttach/internal/operations/configureReadTransport.ts +10 -9
- package/src/client/billing/renewalAttach/internal/operations/initialAttach.ts +5 -3
- package/src/client/billing/renewalAttach/internal/preflight/grammar.ts +1 -1
- package/src/client/billing/renewalAttach/internal/producer/attachAcknowledgement.ts +4 -6
- package/src/client/billing/renewalAttach/internal/producer/configureWriteFactory.ts +10 -8
- package/src/client/billing/renewalAttach/internal/producer/invocationProducer.ts +28 -1
- package/src/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.ts +108 -0
- package/src/client/billing/renewalAttach/liveAttachment.ts +43 -0
- package/src/client/billing/renewalAttach/nodeAttachment.ts +181 -0
- package/src/client/billing/renewalAttach/nodeConfiguration.ts +147 -0
- package/src/client/billing/renewalV2/configureInput.ts +2 -1
- package/src/client/billing/renewalV2/index.ts +7 -1
- package/src/client/index.ts +13 -15
- package/src/client/node.ts +8 -0
- package/src/client/renewal.ts +17 -0
- package/src/client/renewalAttachmentPreparation.ts +118 -0
- package/src/client/renewalAttachmentRuntime.ts +25 -0
- package/src/client/renewalAttachmentTypes.ts +51 -0
- package/src/client/renewalConfigurationPreparation.ts +92 -0
- package/src/client/renewalConfigurationRuntime.ts +24 -0
- package/src/client/renewalConfigurationTypes.ts +30 -0
- package/src/client/renewalContextClient.ts +22 -0
- package/src/client/types/documents.ts +2 -0
- package/src/client/webhooks/helpers.ts +1 -0
- package/src/client/webhooks/ledger.ts +48 -0
- package/src/client/webhooks/processors.ts +5 -0
- package/src/client/webhooks/subscriptionDeleted.ts +3 -2
- package/src/component/_generated/api.ts +2 -0
- package/src/component/_generated/component.ts +18 -1
- package/src/component/billing/mutations.ts +35 -2
- package/src/component/billing/validators.ts +12 -0
- package/src/component/core/mutations.ts +6 -0
- package/src/component/core/stripeMode.ts +30 -0
- package/src/component/webhooks/mutations.ts +66 -0
- package/src/component/webhooks/schema.ts +2 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/array-order.test.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/acquisition/array-order.test.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/array-order.test.js +0 -61
- package/dist/client/billing/renewalAttach/internal/acquisition/array-order.test.js.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/coupon-stop-order.test.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/acquisition/coupon-stop-order.test.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/coupon-stop-order.test.js +0 -18
- package/dist/client/billing/renewalAttach/internal/acquisition/coupon-stop-order.test.js.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/fetch-metadata.test.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/acquisition/fetch-metadata.test.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/fetch-metadata.test.js +0 -67
- package/dist/client/billing/renewalAttach/internal/acquisition/fetch-metadata.test.js.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/raw-acquisition.test.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/acquisition/raw-acquisition.test.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/raw-acquisition.test.js +0 -372
- package/dist/client/billing/renewalAttach/internal/acquisition/raw-acquisition.test.js.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/sourceBinding.test.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/acquisition/sourceBinding.test.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/sourceBinding.test.js +0 -126
- package/dist/client/billing/renewalAttach/internal/acquisition/sourceBinding.test.js.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/fixture.d.mts +0 -627
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/fixture.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/fixture.mjs +0 -488
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/fixture.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/raw-retention-fixture.d.mts +0 -214
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/raw-retention-fixture.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/raw-retention-fixture.mjs +0 -63
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/raw-retention-fixture.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/scenario.d.mts +0 -75
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/scenario.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/scenario.mjs +0 -145
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/scenario.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/sourcePort.d.mts +0 -7
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/sourcePort.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/sourcePort.mjs +0 -26
- package/dist/client/billing/renewalAttach/internal/acquisition/test-fixtures/sourcePort.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/compilerIndex.d.mts +0 -3
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/compilerIndex.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/compilerIndex.mjs +0 -4
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/compilerIndex.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/fixture.d.mts +0 -26
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/fixture.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/fixture.mjs +0 -42
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/fixture.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f00.d.mts +0 -7
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f00.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f00.mjs +0 -60
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f00.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f01.d.mts +0 -335
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f01.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f01.mjs +0 -122
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f01.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f02.d.mts +0 -46
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f02.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f02.mjs +0 -87
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f02.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f03.d.mts +0 -35
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f03.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f03.mjs +0 -90
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f03.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f04.d.mts +0 -132
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f04.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f04.mjs +0 -82
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f04.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f05.d.mts +0 -4
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f05.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f05.mjs +0 -23
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f05.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f06.d.mts +0 -16
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f06.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f06.mjs +0 -41
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f06.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f07.d.mts +0 -43
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f07.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f07.mjs +0 -132
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f07.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f08.d.mts +0 -200
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f08.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f08.mjs +0 -150
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f08.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f09.d.mts +0 -124
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f09.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f09.mjs +0 -127
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f09.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f10.d.mts +0 -3
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f10.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f10.mjs +0 -69
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f10.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f11.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f11.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f11.mjs +0 -152
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f11.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f12.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f12.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f12.mjs +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f12.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f13.d.mts +0 -5
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f13.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f13.mjs +0 -243
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f13.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f14.d.mts +0 -17
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f14.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f14.mjs +0 -75
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f14.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f15.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f15.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f15.mjs +0 -173
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f15.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f16.d.mts +0 -4
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f16.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f16.mjs +0 -4
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f16.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f17.d.mts +0 -7
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f17.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f17.mjs +0 -30
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f17.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f18.d.mts +0 -29
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f18.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f18.mjs +0 -33
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f18.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f19.json +0 -452
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f20.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f20.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f20.mjs +0 -173
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f20.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f21.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f21.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f21.mjs +0 -449
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f21.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f22.d.mts +0 -9
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f22.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f22.mjs +0 -27
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f22.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f23.d.mts +0 -7
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f23.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f23.mjs +0 -150
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f23.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f24.d.mts +0 -3
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f24.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f24.mjs +0 -503
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f24.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f25.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f25.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f25.mjs +0 -91
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f25.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f26.d.mts +0 -14
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f26.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f26.mjs +0 -41
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f26.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f27.d.mts +0 -103
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f27.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f27.mjs +0 -46
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f27.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f28.d.mts +0 -73
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f28.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f28.mjs +0 -294
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f28.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f29.d.mts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f29.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f29.mjs +0 -60
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f29.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/publishedRawkeyHelper.d.mts +0 -58
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/publishedRawkeyHelper.d.mts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/publishedRawkeyHelper.mjs +0 -96
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/publishedRawkeyHelper.mjs.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/semanticSetup.d.ts +0 -2
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/semanticSetup.d.ts.map +0 -1
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/semanticSetup.js +0 -40
- package/dist/client/billing/renewalAttach/internal/c10/test-fixtures/semanticSetup.js.map +0 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +0 -10349
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +0 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.js +0 -242
- package/dist/client/connect/payoutAdoptionTestHelpers.js.map +0 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +0 -5166
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +0 -1
- package/dist/client/connect/payoutExecutionTestHelpers.js +0 -208
- package/dist/client/connect/payoutExecutionTestHelpers.js.map +0 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +0 -10341
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +0 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.js +0 -55
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.js.map +0 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +0 -5098
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +0 -1
- package/dist/client/connect/payoutSyncTestHelpers.js +0 -62
- package/dist/client/connect/payoutSyncTestHelpers.js.map +0 -1
- package/dist/client/paymentSource/resolver.fixtures.d.ts +0 -220
- package/dist/client/paymentSource/resolver.fixtures.d.ts.map +0 -1
- package/dist/client/paymentSource/resolver.fixtures.js +0 -189
- package/dist/client/paymentSource/resolver.fixtures.js.map +0 -1
- package/dist/client/recoveryWorkflow/provider.fixture.d.ts +0 -21
- package/dist/client/recoveryWorkflow/provider.fixture.d.ts.map +0 -1
- package/dist/client/recoveryWorkflow/provider.fixture.js +0 -125
- package/dist/client/recoveryWorkflow/provider.fixture.js.map +0 -1
- package/dist/client/settlement/authorization.fixture.d.ts +0 -148
- package/dist/client/settlement/authorization.fixture.d.ts.map +0 -1
- package/dist/client/settlement/authorization.fixture.js +0 -178
- package/dist/client/settlement/authorization.fixture.js.map +0 -1
- package/dist/client/setup.test.d.ts +0 -18
- package/dist/client/setup.test.d.ts.map +0 -1
- package/dist/client/setup.test.js +0 -33
- package/dist/client/setup.test.js.map +0 -1
- package/dist/client/usage/correctionTransport.fixtures.d.ts +0 -37
- package/dist/client/usage/correctionTransport.fixtures.d.ts.map +0 -1
- package/dist/client/usage/correctionTransport.fixtures.js +0 -322
- package/dist/client/usage/correctionTransport.fixtures.js.map +0 -1
- package/dist/client/usage/creditSettlement.fixtures.d.ts +0 -216
- package/dist/client/usage/creditSettlement.fixtures.d.ts.map +0 -1
- package/dist/client/usage/creditSettlement.fixtures.js +0 -59
- package/dist/client/usage/creditSettlement.fixtures.js.map +0 -1
- package/dist/client/usage/creditTransport.fixtures.d.ts +0 -108
- package/dist/client/usage/creditTransport.fixtures.d.ts.map +0 -1
- package/dist/client/usage/creditTransport.fixtures.js +0 -293
- package/dist/client/usage/creditTransport.fixtures.js.map +0 -1
- package/dist/client/usage/invoiceSale.fixtures.d.ts +0 -285
- package/dist/client/usage/invoiceSale.fixtures.d.ts.map +0 -1
- package/dist/client/usage/invoiceSale.fixtures.js +0 -104
- package/dist/client/usage/invoiceSale.fixtures.js.map +0 -1
- package/dist/client/usage/mixedInvoice.fixtures.d.ts +0 -315
- package/dist/client/usage/mixedInvoice.fixtures.d.ts.map +0 -1
- package/dist/client/usage/mixedInvoice.fixtures.js +0 -55
- package/dist/client/usage/mixedInvoice.fixtures.js.map +0 -1
- package/dist/client/usage/subscription.fixtures.d.ts +0 -118
- package/dist/client/usage/subscription.fixtures.d.ts.map +0 -1
- package/dist/client/usage/subscription.fixtures.js +0 -84
- package/dist/client/usage/subscription.fixtures.js.map +0 -1
- package/dist/client/usage/subscriptionTransport.fixtures.d.ts +0 -25
- package/dist/client/usage/subscriptionTransport.fixtures.d.ts.map +0 -1
- package/dist/client/usage/subscriptionTransport.fixtures.js +0 -206
- package/dist/client/usage/subscriptionTransport.fixtures.js.map +0 -1
- package/dist/client/webhooks/payoutReconciliationTestHelpers.d.ts +0 -117
- package/dist/client/webhooks/payoutReconciliationTestHelpers.d.ts.map +0 -1
- package/dist/client/webhooks/payoutReconciliationTestHelpers.js +0 -105
- package/dist/client/webhooks/payoutReconciliationTestHelpers.js.map +0 -1
- package/dist/component/usage/allowance.fixtures.d.ts +0 -5088
- package/dist/component/usage/allowance.fixtures.d.ts.map +0 -1
- package/dist/component/usage/allowance.fixtures.js +0 -67
- package/dist/component/usage/allowance.fixtures.js.map +0 -1
- package/dist/component/usageCredits/accounting.fixtures.d.ts +0 -5111
- package/dist/component/usageCredits/accounting.fixtures.d.ts.map +0 -1
- package/dist/component/usageCredits/accounting.fixtures.js +0 -89
- package/dist/component/usageCredits/accounting.fixtures.js.map +0 -1
- package/dist/react/workflows/Usage.fixtures.d.ts +0 -17
- package/dist/react/workflows/Usage.fixtures.d.ts.map +0 -1
- package/dist/react/workflows/Usage.fixtures.js +0 -79
- package/dist/react/workflows/Usage.fixtures.js.map +0 -1
- package/dist/test.d.ts +0 -6
- package/dist/test.d.ts.map +0 -1
- package/dist/test.js +0 -15
- package/dist/test.js.map +0 -1
- package/dist/testing/component-db.d.ts +0 -3
- package/dist/testing/component-db.d.ts.map +0 -1
- package/dist/testing/component-db.js +0 -26
- package/dist/testing/component-db.js.map +0 -1
- package/src/client/balanceFundingWorkflow/capture.test.ts +0 -144
- package/src/client/billing/balanceFunding.test.ts +0 -257
- package/src/client/billing/balanceFundingTransport.test.ts +0 -89
- package/src/client/billing/captured-checkout-payment.test.ts +0 -272
- package/src/client/billing/checkout-idempotency.test.ts +0 -82
- package/src/client/billing/checkout-ui-modes.test.ts +0 -49
- package/src/client/billing/checkout.test.ts +0 -1282
- package/src/client/billing/checkoutPages.test.ts +0 -270
- package/src/client/billing/historyPages.test.ts +0 -58
- package/src/client/billing/intents.test.ts +0 -216
- package/src/client/billing/intentsTransport.test.ts +0 -94
- package/src/client/billing/invoicePages.test.ts +0 -174
- package/src/client/billing/invoicePaymentPages.test.ts +0 -354
- package/src/client/billing/invoicePaymentRead.test.ts +0 -233
- package/src/client/billing/invoicePaymentReadTransport.test.ts +0 -101
- package/src/client/billing/invoicePreview.test.ts +0 -123
- package/src/client/billing/invoicePreviewTransport.test.ts +0 -70
- package/src/client/billing/invoices.test.ts +0 -243
- package/src/client/billing/prepared-checkout.test.ts +0 -430
- package/src/client/billing/providerReads.test.ts +0 -60
- package/src/client/billing/renewal-discount-projection.test.ts +0 -207
- package/src/client/billing/renewal-item-settings-projection.test.ts +0 -79
- package/src/client/billing/renewal-price-replacement.test.ts +0 -503
- package/src/client/billing/renewal-settings-projection.test.ts +0 -300
- package/src/client/billing/renewalAggregate/configure.test.ts +0 -372
- package/src/client/billing/renewalAggregate/preflight.test.ts +0 -233
- package/src/client/billing/renewalAggregate/sourceAndTaxRetention.test.ts +0 -247
- package/src/client/billing/renewalAttach/couponEvidence.test.ts +0 -103
- package/src/client/billing/renewalAttach/internal/acquisition/array-order.test.js +0 -70
- package/src/client/billing/renewalAttach/internal/acquisition/coupon-stop-order.test.js +0 -23
- package/src/client/billing/renewalAttach/internal/acquisition/fetch-metadata.test.js +0 -77
- package/src/client/billing/renewalAttach/internal/acquisition/raw-acquisition.test.js +0 -418
- package/src/client/billing/renewalAttach/internal/acquisition/sourceBinding.test.js +0 -138
- package/src/client/billing/renewalAttach/internal/acquisition/test-fixtures/fixture.mjs +0 -510
- package/src/client/billing/renewalAttach/internal/acquisition/test-fixtures/raw-retention-fixture.mjs +0 -64
- package/src/client/billing/renewalAttach/internal/acquisition/test-fixtures/scenario.mjs +0 -159
- package/src/client/billing/renewalAttach/internal/acquisition/test-fixtures/sourcePort.mjs +0 -25
- package/src/client/billing/renewalAttach/internal/c10/appendAck.first.test.ts +0 -86
- package/src/client/billing/renewalAttach/internal/c10/appendCodec.test.ts +0 -186
- package/src/client/billing/renewalAttach/internal/c10/arrayOrder.test.ts +0 -47
- package/src/client/billing/renewalAttach/internal/c10/compiler.test.ts +0 -443
- package/src/client/billing/renewalAttach/internal/c10/hardening.test.ts +0 -175
- package/src/client/billing/renewalAttach/internal/c10/historicalClassifier.test.ts +0 -114
- package/src/client/billing/renewalAttach/internal/c10/ownerContinuations.test.ts +0 -283
- package/src/client/billing/renewalAttach/internal/c10/reflectionPrivacy.test.ts +0 -87
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/compilerIndex.mjs +0 -3
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/fixture.mjs +0 -49
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f00.mjs +0 -63
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f01.mjs +0 -160
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f02.mjs +0 -88
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f03.mjs +0 -102
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f04.mjs +0 -82
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f05.mjs +0 -20
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f06.mjs +0 -41
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f07.mjs +0 -137
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f08.mjs +0 -153
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f09.mjs +0 -127
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f10.mjs +0 -85
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f11.mjs +0 -170
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f12.mjs +0 -6
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f13.mjs +0 -295
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f14.mjs +0 -78
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f15.mjs +0 -177
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f16.mjs +0 -8
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f17.mjs +0 -34
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f18.mjs +0 -32
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f19.json +0 -452
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f20.mjs +0 -177
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f21.mjs +0 -466
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f22.mjs +0 -29
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f23.mjs +0 -165
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f24.mjs +0 -507
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f25.mjs +0 -89
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f26.mjs +0 -38
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f27.mjs +0 -45
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f28.mjs +0 -309
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/frozen/f29.mjs +0 -58
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/publishedRawkeyHelper.mjs +0 -104
- package/src/client/billing/renewalAttach/internal/c10/test-fixtures/semanticSetup.ts +0 -43
- package/src/client/billing/renewalAttach/internal/configure/dispatch.integration.test.ts +0 -32
- package/src/client/billing/renewalAttach/internal/configure/limits.test.ts +0 -510
- package/src/client/billing/renewalAttach/internal/configure/order.integration.test.ts +0 -207
- package/src/client/billing/renewalAttach/internal/configure/ownership.integration.test.ts +0 -148
- package/src/client/billing/renewalAttach/internal/configure/replay.integration.test.ts +0 -173
- package/src/client/billing/renewalAttach/internal/configure/transport.integration.test.ts +0 -507
- package/src/client/billing/renewalAttach/internal/material/classifiers.test.ts +0 -510
- package/src/client/billing/renewalAttach/internal/observation/freshActor.integration.test.ts +0 -360
- package/src/client/billing/renewalAttach/internal/observation/freshActorControls.integration.test.ts +0 -442
- package/src/client/billing/renewalAttach/internal/observation/history.integration.test.ts +0 -79
- package/src/client/billing/renewalAttach/internal/observation/historyControls.integration.test.ts +0 -238
- package/src/client/billing/renewalAttach/internal/observation/invoiceActor.integration.test.ts +0 -142
- package/src/client/billing/renewalAttach/internal/observation/invoiceActorControls.integration.test.ts +0 -495
- package/src/client/billing/renewalAttach/internal/observation/observation.integration.test.ts +0 -220
- package/src/client/billing/renewalAttach/internal/observation/observationConfigureACK.integration.test.ts +0 -36
- package/src/client/billing/renewalAttach/internal/observation/observationConfigureACKControls.integration.test.ts +0 -48
- package/src/client/billing/renewalAttach/internal/observation/observationConfigureACKLifecycle.integration.test.ts +0 -44
- package/src/client/billing/renewalAttach/internal/observation/observationConfiguredHistory.integration.test.ts +0 -34
- package/src/client/billing/renewalAttach/internal/observation/observationRetirement.integration.test.ts +0 -60
- package/src/client/billing/renewalAttach/internal/observation/reader.integration.test.ts +0 -93
- package/src/client/billing/renewalAttach/internal/observation/readerControls.integration.test.ts +0 -553
- package/src/client/billing/renewalAttach/internal/observation/witnessAcquisition.integration.test.ts +0 -348
- package/src/client/billing/renewalAttach/internal/observation/witnessActor.integration.test.ts +0 -204
- package/src/client/billing/renewalAttach/internal/observation/witnessCapabilities.integration.test.ts +0 -231
- package/src/client/billing/renewalAttach/internal/observation/witnessHistorical.integration.test.ts +0 -98
- package/src/client/billing/renewalAttach/internal/observation/witnessImmutable.integration.test.ts +0 -78
- package/src/client/billing/renewalAttach/internal/observation/witnessInvoice.integration.test.ts +0 -85
- package/src/client/billing/renewalAttach/internal/observation/witnessLifecycle.integration.test.ts +0 -264
- package/src/client/billing/renewalAttach/internal/observation/witnessProfile.integration.test.ts +0 -93
- package/src/client/billing/renewalAttach/internal/observation/witnessRPCControls.integration.test.ts +0 -256
- package/src/client/billing/renewalAttach/internal/operationJournal.acknowledgement.integration.test.ts +0 -500
- package/src/client/billing/renewalAttach/internal/operationJournal.c10.integration.test.ts +0 -560
- package/src/client/billing/renewalAttach/internal/operationJournal.controls.integration.test.ts +0 -356
- package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +0 -560
- package/src/client/billing/renewalAttach/internal/operationJournal.methods.integration.test.ts +0 -534
- package/src/client/billing/renewalAttach/internal/operations/defaultBindings.test.ts +0 -69
- package/src/client/billing/renewalAttach/internal/operations/initialAttach.integration.test.ts +0 -34
- package/src/client/billing/renewalAttach/internal/operations/providerFailure.integration.test.ts +0 -61
- package/src/client/billing/renewalAttach/internal/operations/transport.integration.test.ts +0 -116
- package/src/client/billing/renewalAttach/internal/originalOwner.test.ts +0 -258
- package/src/client/billing/renewalAttach/internal/preflight/configurePreflight.integration.test.ts +0 -285
- package/src/client/billing/renewalAttach/internal/preflight/configureReads.integration.test.ts +0 -139
- package/src/client/billing/renewalAttach/internal/preflight/owner.integration.test.ts +0 -82
- package/src/client/billing/renewalAttach/internal/preflight/preflight.integration.test.ts +0 -354
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgement.integration.test.ts +0 -320
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgementControls.integration.test.ts +0 -411
- package/src/client/billing/renewalAttach/internal/producer/producerAcquisition.integration.test.ts +0 -240
- package/src/client/billing/renewalAttach/internal/producer/producerActor.integration.test.ts +0 -526
- package/src/client/billing/renewalAttach/internal/producer/producerChannels.integration.test.ts +0 -350
- package/src/client/billing/renewalAttach/internal/producer/producerClock.integration.test.ts +0 -175
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureAdmission.integration.test.ts +0 -203
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureChannelControls.integration.test.ts +0 -542
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureChannels.integration.test.ts +0 -321
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureControls.integration.test.ts +0 -566
- package/src/client/billing/renewalAttach/internal/producer/producerConfigurePreflight.integration.test.ts +0 -67
- package/src/client/billing/renewalAttach/internal/producer/producerConfigurePreflightControls.integration.test.ts +0 -475
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureRecovery.integration.test.ts +0 -99
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureRecoveryControls.integration.test.ts +0 -420
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureWrite.integration.test.ts +0 -158
- package/src/client/billing/renewalAttach/internal/producer/producerConfigureWriteControls.integration.test.ts +0 -549
- package/src/client/billing/renewalAttach/internal/producer/producerGuards.integration.test.ts +0 -323
- package/src/client/billing/renewalAttach/internal/producer/producerInitial.integration.test.ts +0 -301
- package/src/client/billing/renewalAttach/internal/producer/producerIsolation.integration.test.ts +0 -531
- package/src/client/billing/renewalAttach/internal/producer/producerMaterial.integration.test.ts +0 -251
- package/src/client/billing/renewalAttach/internal/producer/producerOwner.integration.test.ts +0 -449
- package/src/client/billing/renewalAttach/internal/producer/producerRecovery.integration.test.ts +0 -394
- package/src/client/billing/renewalAttach/internal/producer/producerRecoveryControls.integration.test.ts +0 -437
- package/src/client/billing/renewalAttach/internal/producer/producerRecoveryIsolation.integration.test.ts +0 -332
- package/src/client/billing/renewalAttach/internal/producer/producerTransport.integration.test.ts +0 -440
- package/src/client/billing/renewalAttach/internal/recovery/recovery.integration.test.ts +0 -463
- package/src/client/billing/renewalAttach/internal/sourceBindings.test.ts +0 -13
- package/src/client/billing/renewalAttach/internal/stockRawDelegate.test.ts +0 -156
- package/src/client/billing/renewalAttach/internal/test-fixtures/attachEntries.ts +0 -217
- package/src/client/billing/renewalAttach/internal/test-fixtures/attachObservations.ts +0 -226
- package/src/client/billing/renewalAttach/internal/test-fixtures/attachScenario.ts +0 -556
- package/src/client/billing/renewalAttach/internal/test-fixtures/attachScenarioAssertions.ts +0 -180
- package/src/client/billing/renewalAttach/internal/test-fixtures/attachScenarioBarriers.ts +0 -144
- package/src/client/billing/renewalAttach/internal/test-fixtures/configurePreflightAssertions.ts +0 -122
- package/src/client/billing/renewalAttach/internal/test-fixtures/configurePreflightBarriers.ts +0 -330
- package/src/client/billing/renewalAttach/internal/test-fixtures/configurePreflightControls.ts +0 -139
- package/src/client/billing/renewalAttach/internal/test-fixtures/configurePreflightOperation.ts +0 -513
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureReadNativeBaseline.ts +0 -344
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureReadOperation.ts +0 -278
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureReadPort.ts +0 -17
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteAssertions.ts +0 -537
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteBarriers.ts +0 -125
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteDeclarations.ts +0 -325
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteDelegate.ts +0 -38
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteHistory.ts +0 -471
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteObservations.ts +0 -515
- package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteOperation.ts +0 -587
- package/src/client/billing/renewalAttach/internal/test-fixtures/freshObservation.ts +0 -94
- package/src/client/billing/renewalAttach/internal/test-fixtures/historySnapshot.ts +0 -51
- package/src/client/billing/renewalAttach/internal/test-fixtures/invoiceObservation.ts +0 -160
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationAssertions.ts +0 -211
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKAssertions.ts +0 -115
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKDeclarations.ts +0 -141
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleAssertions.ts +0 -74
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleDeclarations.ts +0 -79
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleInstrumentation.ts +0 -207
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleOperation.ts +0 -494
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKOperation.ts +0 -452
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryAssertions.ts +0 -88
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryDeclarations.ts +0 -170
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryNative.ts +0 -99
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryOperation.ts +0 -411
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationDeclarations.ts +0 -192
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationHTTP.ts +0 -197
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationObservations.ts +0 -269
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationOperation.ts +0 -262
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationProbe.ts +0 -319
- package/src/client/billing/renewalAttach/internal/test-fixtures/observationReader.ts +0 -101
- package/src/client/billing/renewalAttach/internal/test-fixtures/ownedOperations.ts +0 -94
- package/src/client/billing/renewalAttach/internal/test-fixtures/producerConfigureAdmission.ts +0 -538
- package/src/client/billing/renewalAttach/internal/test-fixtures/producerInitialDeclarations.ts +0 -5
- package/src/client/billing/renewalAttach/internal/test-fixtures/producerInitialOperation.ts +0 -335
- package/src/client/billing/renewalAttach/internal/test-fixtures/sourceOperationPort.ts +0 -16
- package/src/client/billing/renewalAttach/internal/test-fixtures/stockHttp.ts +0 -21
- package/src/client/billing/renewalAttach/internal/test-fixtures/witnessHistory.ts +0 -70
- package/src/client/billing/renewalAttach/internal/test-fixtures/witnessObservation.ts +0 -353
- package/src/client/billing/renewalAttach/reader.test.ts +0 -409
- package/src/client/billing/renewalAttach/wireJson.test.ts +0 -265
- package/src/client/billing/renewalObservation/evidence-admission.test.ts +0 -219
- package/src/client/billing/renewalObservation/evidence-history.test.ts +0 -187
- package/src/client/billing/renewalObservation/evidence-invoice-controls.test.ts +0 -293
- package/src/client/billing/renewalObservation/evidence-invoice-identity.test.ts +0 -61
- package/src/client/billing/renewalObservation/evidence-invoice.test.ts +0 -177
- package/src/client/billing/renewalObservation/evidence-material.test.ts +0 -289
- package/src/client/billing/renewalObservation/evidence-v1.test.ts +0 -371
- package/src/client/billing/renewalV2/configure.test.ts +0 -362
- package/src/client/billing/renewalV2/configureReceipt.test.ts +0 -558
- package/src/client/billing/renewalV2/index.test.ts +0 -414
- package/src/client/billing/renewalV2/observation.boundary-review.test.ts +0 -49
- package/src/client/billing/renewalV2/observation.test.ts +0 -334
- package/src/client/billing/renewalV2/rawRetention.test.ts +0 -293
- package/src/client/billing/renewalV2/receipt.test.ts +0 -289
- package/src/client/billing/setup-intent-read.test.ts +0 -324
- package/src/client/billing/subscription-payment-method.test.ts +0 -460
- package/src/client/billing/subscriptionCancellation.test.ts +0 -68
- package/src/client/billing/subscriptions.test.ts +0 -1049
- package/src/client/charge-currency.test.ts +0 -113
- package/src/client/component-api-types.test.ts +0 -137
- package/src/client/connect/commissionReceipts.test.ts +0 -157
- package/src/client/connect/dispute-upload.test.ts +0 -208
- package/src/client/connect/disputes.test.ts +0 -502
- package/src/client/connect/paymentMethodUtils.test.ts +0 -83
- package/src/client/connect/paymentMethods.test.ts +0 -68
- package/src/client/connect/payoutAdoption.test.ts +0 -186
- package/src/client/connect/payoutAdoptionAge.test.ts +0 -89
- package/src/client/connect/payoutAdoptionAllocation.test.ts +0 -132
- package/src/client/connect/payoutAdoptionConcurrency.test.ts +0 -266
- package/src/client/connect/payoutAdoptionTestHelpers.ts +0 -269
- package/src/client/connect/payoutAllocation.test.ts +0 -325
- package/src/client/connect/payoutCacheIdentity.test.ts +0 -93
- package/src/client/connect/payoutCollection.test.ts +0 -74
- package/src/client/connect/payoutDeadline.test.ts +0 -238
- package/src/client/connect/payoutExecution.test.ts +0 -294
- package/src/client/connect/payoutExecutionTestHelpers.ts +0 -244
- package/src/client/connect/payoutHistory.test.ts +0 -145
- package/src/client/connect/payoutLargeAdoption.test.ts +0 -541
- package/src/client/connect/payoutLargeAdoptionTestHelpers.ts +0 -74
- package/src/client/connect/payoutLargeHistory.test.ts +0 -222
- package/src/client/connect/payoutLiabilityVersion.test.ts +0 -221
- package/src/client/connect/payoutOutcomeBatches.test.ts +0 -40
- package/src/client/connect/payoutPreview.test.ts +0 -414
- package/src/client/connect/payoutQualificationFreshness.test.ts +0 -192
- package/src/client/connect/payoutReceipt.test.ts +0 -312
- package/src/client/connect/payoutReconciliation.test.ts +0 -414
- package/src/client/connect/payoutReturnedAdoption.test.ts +0 -157
- package/src/client/connect/payoutSnapshot.test.ts +0 -118
- package/src/client/connect/payoutSync.test.ts +0 -313
- package/src/client/connect/payoutSyncTestHelpers.ts +0 -82
- package/src/client/connect/payoutWorker.test.ts +0 -201
- package/src/client/connect/payouts.test.ts +0 -132
- package/src/client/connect/refundActor.test.ts +0 -121
- package/src/client/connect/refundPrincipal.test.ts +0 -46
- package/src/client/connect/refundSync.test.ts +0 -239
- package/src/client/connect/refundSync.transport.test.ts +0 -396
- package/src/client/connect/refunds.test.ts +0 -438
- package/src/client/connect/transferReceipt.pagination.test.ts +0 -209
- package/src/client/connect/transferReceipt.test.ts +0 -520
- package/src/client/connect/transferReceiptBaseline.test.ts +0 -55
- package/src/client/connect/transfers.test.ts +0 -557
- package/src/client/core/account-close-guard.test.ts +0 -349
- package/src/client/core/account-close-orchestration.test.ts +0 -131
- package/src/client/core/account-closure-preview.test.ts +0 -219
- package/src/client/core/account-closure.test.ts +0 -317
- package/src/client/core/account-idempotency.test.ts +0 -78
- package/src/client/core/account-session-client.test.ts +0 -74
- package/src/client/core/accountConfigurations.test.ts +0 -183
- package/src/client/core/accountLinks.test.ts +0 -389
- package/src/client/core/accountStatus.test.ts +0 -169
- package/src/client/core/accounts.test.ts +0 -1385
- package/src/client/core/billingPortal.test.ts +0 -249
- package/src/client/core/billingPortalFlow.test.ts +0 -349
- package/src/client/core/billingPortalIdentity.test.ts +0 -418
- package/src/client/core/config.test.ts +0 -69
- package/src/client/core/descriptors.test.ts +0 -70
- package/src/client/core/fees.test.ts +0 -369
- package/src/client/core/idempotency.test.ts +0 -10
- package/src/client/core/personal-account-mapping.test.ts +0 -71
- package/src/client/costRecovery-import.test.ts +0 -174
- package/src/client/costRecovery-invoiceReceipt.test.ts +0 -140
- package/src/client/costRecovery-invoices.test.ts +0 -470
- package/src/client/costRecovery-invoices.transport.test.ts +0 -107
- package/src/client/costRecovery.test.ts +0 -110
- package/src/client/customer-preview-thin.test.ts +0 -41
- package/src/client/customer-preview-webhooks.test.ts +0 -150
- package/src/client/customer-preview.test.ts +0 -366
- package/src/client/errors.test.ts +0 -66
- package/src/client/financialObservations.test.ts +0 -109
- package/src/client/financialOutcomes/outcomes.test.ts +0 -254
- package/src/client/financialOwnership.test.ts +0 -80
- package/src/client/helpers.test.ts +0 -74
- package/src/client/index.test.ts +0 -1784
- package/src/client/operationEvidence.test.ts +0 -110
- package/src/client/originalIdReadOptions.test.ts +0 -63
- package/src/client/paymentSource/resolver.fixtures.ts +0 -216
- package/src/client/paymentSource/resolver.test.ts +0 -386
- package/src/client/payoutPolicy.test.ts +0 -579
- package/src/client/payoutRevisionMigration.test.ts +0 -40
- package/src/client/processingCostDeficit/calculator.test.ts +0 -176
- package/src/client/processingCostReconciliation/invoiceProvider.test.ts +0 -353
- package/src/client/processingCostReconciliation/provider.test.ts +0 -324
- package/src/client/products/catalog-idempotency.test.ts +0 -116
- package/src/client/products/catalog.test.ts +0 -389
- package/src/client/products/fixedPrice.test.ts +0 -57
- package/src/client/products/identity.test.ts +0 -91
- package/src/client/products/prices.test.ts +0 -375
- package/src/client/products/product-descriptor-inheritance.test.ts +0 -245
- package/src/client/products/product-descriptors.test.ts +0 -260
- package/src/client/products/product-set-idempotency.test.ts +0 -188
- package/src/client/products/products.test.ts +0 -517
- package/src/client/readPagination.test.ts +0 -83
- package/src/client/recoveryWorkflow/client.test.ts +0 -37
- package/src/client/recoveryWorkflow/provider.fixture.ts +0 -143
- package/src/client/recoveryWorkflow/provider.test.ts +0 -509
- package/src/client/refund-command-evidence.test.ts +0 -68
- package/src/client/refund-command-normalization.test.ts +0 -61
- package/src/client/refund-context-shapes.test.ts +0 -127
- package/src/client/refund-context.test.ts +0 -404
- package/src/client/refund-history.test.ts +0 -67
- package/src/client/reversalObservations.test.ts +0 -69
- package/src/client/settlement/allocation.test.ts +0 -98
- package/src/client/settlement/authorization.fixture.ts +0 -199
- package/src/client/settlement/authorization.test.ts +0 -160
- package/src/client/settlement/commissions.test.ts +0 -103
- package/src/client/settlement/execution.test.ts +0 -191
- package/src/client/settlement/policy-context.test.ts +0 -277
- package/src/client/settlement/processingCosts.test.ts +0 -349
- package/src/client/settlement/processingCostsTransport.test.ts +0 -135
- package/src/client/settlement/verifiedSale.test.ts +0 -139
- package/src/client/setup.test.ts +0 -47
- package/src/client/singleAttemptHttpClient.test.ts +0 -70
- package/src/client/strictStripeTransport.test.ts +0 -73
- package/src/client/stripe-version.test.ts +0 -53
- package/src/client/transferContinuation.test.ts +0 -90
- package/src/client/transferObservations.test.ts +0 -98
- package/src/client/usage/allowanceClient.test.ts +0 -93
- package/src/client/usage/allowanceTerms.test.ts +0 -131
- package/src/client/usage/boundaries.test.ts +0 -136
- package/src/client/usage/catalog.test.ts +0 -464
- package/src/client/usage/catalogMath.test.ts +0 -13
- package/src/client/usage/contracts.test.ts +0 -145
- package/src/client/usage/correctionClient.test.ts +0 -153
- package/src/client/usage/correctionCredits.test.ts +0 -156
- package/src/client/usage/correctionInvoice.test.ts +0 -127
- package/src/client/usage/correctionRecovery.test.ts +0 -113
- package/src/client/usage/correctionTransport.fixtures.ts +0 -372
- package/src/client/usage/creditBackingIsolation.test.ts +0 -110
- package/src/client/usage/creditCapacity.test.ts +0 -162
- package/src/client/usage/creditClient.test.ts +0 -221
- package/src/client/usage/creditInvoice.test.ts +0 -149
- package/src/client/usage/creditObservation.test.ts +0 -150
- package/src/client/usage/creditProofBounds.test.ts +0 -187
- package/src/client/usage/creditProvider.test.ts +0 -276
- package/src/client/usage/creditRevenue.test.ts +0 -105
- package/src/client/usage/creditSettlement.fixtures.ts +0 -70
- package/src/client/usage/creditSettlement.test.ts +0 -66
- package/src/client/usage/creditSettlementRecovery.test.ts +0 -173
- package/src/client/usage/creditTerms.test.ts +0 -48
- package/src/client/usage/creditTransport.fixtures.ts +0 -308
- package/src/client/usage/deliveryProvider.test.ts +0 -316
- package/src/client/usage/invoiceObservation.test.ts +0 -195
- package/src/client/usage/invoiceSale.fixtures.ts +0 -103
- package/src/client/usage/invoiceSale.test.ts +0 -252
- package/src/client/usage/ledger-client.test.ts +0 -74
- package/src/client/usage/mixedInvoice.fixtures.ts +0 -54
- package/src/client/usage/mixedInvoiceSale.test.ts +0 -92
- package/src/client/usage/mixedSettlement.test.ts +0 -187
- package/src/client/usage/providerObservation.test.ts +0 -207
- package/src/client/usage/reconciliation.test.ts +0 -117
- package/src/client/usage/record-composition.test.ts +0 -195
- package/src/client/usage/settlement.test.ts +0 -179
- package/src/client/usage/subscription.fixtures.ts +0 -84
- package/src/client/usage/subscriptionAbandonment.test.ts +0 -124
- package/src/client/usage/subscriptionCheckout.test.ts +0 -44
- package/src/client/usage/subscriptionClient.test.ts +0 -375
- package/src/client/usage/subscriptionProvider.test.ts +0 -48
- package/src/client/usage/subscriptionTerms.test.ts +0 -158
- package/src/client/usage/subscriptionTransport.fixtures.ts +0 -247
- package/src/client/usage/summary.test.ts +0 -222
- package/src/client/utils/data.test.ts +0 -61
- package/src/client/utils/owner.test.ts +0 -38
- package/src/client/utils/stripeDashboardUrl.test.ts +0 -71
- package/src/client/utils/webhookEndpoints.test.ts +0 -459
- package/src/client/webhook-handlers.test.ts +0 -569
- package/src/client/webhooks/handler.test.ts +0 -601
- package/src/client/webhooks/helpers.test.ts +0 -343
- package/src/client/webhooks/hooks.test.ts +0 -119
- package/src/client/webhooks/meterErrors.test.ts +0 -164
- package/src/client/webhooks/payout-canceled.integration.test.ts +0 -230
- package/src/client/webhooks/payout-reconciliation.integration.test.ts +0 -168
- package/src/client/webhooks/payoutReconciliationTestHelpers.ts +0 -135
- package/src/client/webhooks/processors.test.ts +0 -2553
- package/src/client/webhooks/refund-delivery.test.ts +0 -512
- package/src/client/webhooks/refund-reconciliation.test.ts +0 -320
- package/src/client/webhooks/retry.integration.test.ts +0 -196
- package/src/client/webhooks/subscription-deleted-dispatch.test.ts +0 -61
- package/src/client/webhooks/subscription-deleted.integration.test.ts +0 -313
- package/src/client/webhooks/usageSubscriptions.test.ts +0 -162
- package/src/client/webhooks/v2.test.ts +0 -432
- package/src/client/webhooks.test.ts +0 -1681
- package/src/component/accountClosure/blockers.test.ts +0 -114
- package/src/component/affiliatePayouts/affiliate-direct-payout.test.ts +0 -159
- package/src/component/affiliateRecovery/affiliate-component-pagination.test.ts +0 -56
- package/src/component/affiliateRecovery/affiliate-recovery-lifecycle.test.ts +0 -586
- package/src/component/balanceFunding/failure.test.ts +0 -116
- package/src/component/balanceFunding/import.test.ts +0 -221
- package/src/component/balanceFunding/lookup.test.ts +0 -113
- package/src/component/balanceFunding/preparation.test.ts +0 -146
- package/src/component/balanceFunding/requestLookup.test.ts +0 -160
- package/src/component/balanceFunding/scopeLookup.test.ts +0 -94
- package/src/component/balanceFunding/state.test.ts +0 -352
- package/src/component/balanceFunding/validation.test.ts +0 -100
- package/src/component/balanceFunding/workflow.fixtures.ts +0 -366
- package/src/component/balanceFunding/workflow.test.ts +0 -552
- package/src/component/billing/checkout.test.ts +0 -89
- package/src/component/billing/invoices.test.ts +0 -294
- package/src/component/billing/store-subscriptions.test.ts +0 -31
- package/src/component/billing/subscription-scoping.test.ts +0 -120
- package/src/component/billing/subscriptions.test.ts +0 -477
- package/src/component/billingHistory/guards.test.ts +0 -235
- package/src/component/billingHistory/options.test.ts +0 -35
- package/src/component/billingHistory/pages.test.ts +0 -74
- package/src/component/connect/connect.test.ts +0 -715
- package/src/component/connect/fee-routing.test.ts +0 -122
- package/src/component/connect/payment-unique.test.ts +0 -195
- package/src/component/connect/payments.test.ts +0 -88
- package/src/component/connect/payouts.test.ts +0 -173
- package/src/component/connect/reversal-races.test.ts +0 -958
- package/src/component/connect/seller-case-ownership.test.ts +0 -60
- package/src/component/connect/transfers.test.ts +0 -517
- package/src/component/core/accounts.test.ts +0 -266
- package/src/component/core/config-queries.test.ts +0 -49
- package/src/component/core/original-id-unique.test.ts +0 -209
- package/src/component/core/payout-reset-safety.test.ts +0 -175
- package/src/component/core/personal-account-mapping.test.ts +0 -173
- package/src/component/core/reset.test.ts +0 -131
- package/src/component/costRecovery/cost-recovery.test.ts +0 -343
- package/src/component/costRecovery/preparation.test.ts +0 -355
- package/src/component/durableExecution/composition.test.ts +0 -568
- package/src/component/durableExecution/crossDomain.test.ts +0 -241
- package/src/component/durableExecution/crossDomainBoundaries.test.ts +0 -233
- package/src/component/durableExecution/crossDomainDisputes.test.ts +0 -108
- package/src/component/durableExecution/crossDomainMigration.test.ts +0 -192
- package/src/component/durableExecution/crossDomainWebhooks.test.ts +0 -122
- package/src/component/earnings/currency-migration.test.ts +0 -118
- package/src/component/earnings/currency-totals.test.ts +0 -94
- package/src/component/earnings/earnings-totals.test.ts +0 -237
- package/src/component/earnings/paired-adjustment.test.ts +0 -258
- package/src/component/earnings/summary-arithmetic.test.ts +0 -250
- package/src/component/financialObservations/continuation.test.ts +0 -445
- package/src/component/financialObservations/observation-boundaries.test.ts +0 -466
- package/src/component/financialObservations/settlement-observations.test.ts +0 -86
- package/src/component/financialObservations/transfer-batches.test.ts +0 -61
- package/src/component/financialObservations/transfer-boundaries.test.ts +0 -116
- package/src/component/financialObservations/transfer-continuation-guards.test.ts +0 -428
- package/src/component/financialObservations/transfer-continuation.test.ts +0 -154
- package/src/component/financialObservations/transfer-observations.test.ts +0 -212
- package/src/component/financialObservations/transfer-overflow.test.ts +0 -181
- package/src/component/financialObservations/transfer-writers.test.ts +0 -162
- package/src/component/financialOwnership/financial-ownership.test.ts +0 -102
- package/src/component/financialOwnership/ownership-boundaries.test.ts +0 -308
- package/src/component/lib/idempotency.test.ts +0 -37
- package/src/component/operationEvidence/integrity.test.ts +0 -257
- package/src/component/operationEvidence/maintenance.test.ts +0 -152
- package/src/component/operationEvidence/reads.test.ts +0 -140
- package/src/component/payoutPolicy/payout-policy-adoption.test.ts +0 -130
- package/src/component/payoutPolicy/payout-policy.test.ts +0 -247
- package/src/component/payoutRelease/payout-adoption.test.ts +0 -268
- package/src/component/payoutRelease/payout-fees.test.ts +0 -223
- package/src/component/payoutRelease/payout-recovery-integration.test.ts +0 -171
- package/src/component/payoutRelease/payout-release-snapshot.test.ts +0 -56
- package/src/component/payoutRelease/payout-release.test.ts +0 -587
- package/src/component/payoutRelease/progress.test.ts +0 -63
- package/src/component/payoutSnapshots/legacy-revisions.test.ts +0 -246
- package/src/component/payoutSnapshots/payout-revisions.test.ts +0 -124
- package/src/component/payoutSnapshots/payout-snapshots.test.ts +0 -438
- package/src/component/payoutSnapshots/revision-journal-callbacks.test.ts +0 -160
- package/src/component/payoutSnapshots/revision-journal-held.test.ts +0 -94
- package/src/component/payoutSnapshots/revision-journal.test.ts +0 -310
- package/src/component/payoutSnapshots/revision-migration.test.ts +0 -128
- package/src/component/payoutSync/payout-sync.test.ts +0 -116
- package/src/component/payoutWorker/payout-component-pagination.test.ts +0 -211
- package/src/component/payoutWorker/payout-worker.test.ts +0 -164
- package/src/component/processingCostReconciliation/adoption.test.ts +0 -206
- package/src/component/processingCostReconciliation/invoice.test.ts +0 -152
- package/src/component/processingCostReconciliation/state.test.ts +0 -407
- package/src/component/processingCostReconciliation/workflow.test.ts +0 -329
- package/src/component/products/identity.test.ts +0 -217
- package/src/component/products/products.test.ts +0 -239
- package/src/component/products/provider-price-pagination.test.ts +0 -174
- package/src/component/products/read-pagination.test.ts +0 -192
- package/src/component/recoveryWorkflow/bridge.test.ts +0 -481
- package/src/component/recoveryWorkflow/journal.test.ts +0 -104
- package/src/component/recoveryWorkflow/state.test.ts +0 -191
- package/src/component/refundHistory/command-evidence.test.ts +0 -288
- package/src/component/refundHistory/command-normalization-resource.test.ts +0 -77
- package/src/component/refundHistory/command-normalization.test.ts +0 -229
- package/src/component/refundHistory/command-provenance.test.ts +0 -59
- package/src/component/refundHistory/original-seller-boundaries.test.ts +0 -138
- package/src/component/refundHistory/original-seller.test.ts +0 -175
- package/src/component/refundHistory/refund-history.test.ts +0 -197
- package/src/component/refundSync/refund-sync.test.ts +0 -255
- package/src/component/renewalOperations/acknowledgement.fixtures.ts +0 -552
- package/src/component/renewalOperations/acknowledgement.test.ts +0 -573
- package/src/component/renewalOperations/acknowledgementReads.test.ts +0 -442
- package/src/component/renewalOperations/acknowledgementV2.test.ts +0 -493
- package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +0 -373
- package/src/component/renewalOperations/basisBinding.test.ts +0 -567
- package/src/component/renewalOperations/basisLifecycle.test.ts +0 -569
- package/src/component/renewalOperations/boundHistory.test.ts +0 -474
- package/src/component/renewalOperations/configureAcknowledgement.test.ts +0 -30
- package/src/component/renewalOperations/configureAcknowledgementControls.test.ts +0 -96
- package/src/component/renewalOperations/configureBasis.test.ts +0 -77
- package/src/component/renewalOperations/configureCreation.test.ts +0 -75
- package/src/component/renewalOperations/configureJournal.fixtures.ts +0 -407
- package/src/component/renewalOperations/configurePolicy.test.ts +0 -105
- package/src/component/renewalOperations/configurePublication.test.ts +0 -85
- package/src/component/renewalOperations/configureReceiptBounds.test.ts +0 -39
- package/src/component/renewalOperations/configureSourceControls.test.ts +0 -65
- package/src/component/renewalOperations/historyReads.test.ts +0 -595
- package/src/component/renewalOperations/initialBasis.test.ts +0 -578
- package/src/component/renewalOperations/journal.test.ts +0 -567
- package/src/component/renewalOperations/payload.test.ts +0 -589
- package/src/component/renewalOperations/payloadEncoding.test.ts +0 -592
- package/src/component/renewalOperations/timingPolicy.fixtures.ts +0 -193
- package/src/component/renewalOperations/timingPolicy.test.ts +0 -523
- package/src/component/renewalWitnesses/bounds.test.ts +0 -204
- package/src/component/renewalWitnesses/codec.test.ts +0 -84
- package/src/component/renewalWitnesses/controls.test.ts +0 -250
- package/src/component/renewalWitnesses/protocol.test.ts +0 -63
- package/src/component/renewalWitnesses/routes.test.ts +0 -154
- package/src/component/reversalObservations/boundaries.test.ts +0 -62
- package/src/component/reversalObservations/capture-integrity.test.ts +0 -119
- package/src/component/reversalObservations/continuation.test.ts +0 -131
- package/src/component/reversalObservations/lifecycle.test.ts +0 -81
- package/src/component/reversalObservations/provenance.test.ts +0 -167
- package/src/component/settlement/affiliate-clawbacks.test.ts +0 -369
- package/src/component/settlement/settlement-claims.test.ts +0 -130
- package/src/component/usage/allowance.fixtures.ts +0 -77
- package/src/component/usage/allowance.test.ts +0 -372
- package/src/component/usage/allowanceBounds.test.ts +0 -79
- package/src/component/usage/historyIsolation.test.ts +0 -124
- package/src/component/usage/ledger.test.ts +0 -303
- package/src/component/usageCorrections/corrections.test.ts +0 -389
- package/src/component/usageCredits/accounting.fixtures.ts +0 -96
- package/src/component/usageCredits/accounting.test.ts +0 -483
- package/src/component/usageCredits/freshness.test.ts +0 -33
- package/src/component/usageCredits/quotas.test.ts +0 -63
- package/src/component/usageDelivery/concurrency.test.ts +0 -62
- package/src/component/usageDelivery/workflow.test.ts +0 -402
- package/src/component/usageObservations/history.test.ts +0 -87
- package/src/component/usageObservations/queries.test.ts +0 -162
- package/src/component/usageSubscriptions/acceptance.test.ts +0 -122
- package/src/component/usageSubscriptions/history.test.ts +0 -126
- package/src/component/usageSubscriptions/mutations.test.ts +0 -205
- package/src/component/webhooks/events.test.ts +0 -121
- package/src/component/webhooks/triggers.test.ts +0 -360
- package/src/react/components/AccountOnboardingCard.test.ts +0 -27
- package/src/react/components/BuyerBillingView.render.test.tsx +0 -212
- package/src/react/components/ConnectProvider.live.test.tsx +0 -61
- package/src/react/components/DisputeDetail.render.test.tsx +0 -147
- package/src/react/components/DisputesList.render.test.tsx +0 -265
- package/src/react/components/EarningsSummary.render.test.tsx +0 -149
- package/src/react/components/EmbeddedCheckout.render.test.tsx +0 -57
- package/src/react/components/EmbeddedCheckout.test.ts +0 -25
- package/src/react/components/EmbeddedDisputes.render.test.tsx +0 -144
- package/src/react/components/EvidenceForm.render.test.tsx +0 -208
- package/src/react/components/PayoutSchedule.render.test.tsx +0 -193
- package/src/react/components/PriceBadge.render.test.tsx +0 -134
- package/src/react/components/PriceCard.render.test.tsx +0 -172
- package/src/react/components/SplitBreakdown.render.test.tsx +0 -191
- package/src/react/components/StripeProvider.test.ts +0 -45
- package/src/react/components/TrialAlert.render.test.tsx +0 -132
- package/src/react/hooks/skipSentinel.test.ts +0 -85
- package/src/react/hooks/useAccountOnboarding.test.ts +0 -75
- package/src/react/hooks/useCheckoutSession.promotions.test.tsx +0 -303
- package/src/react/hooks/useConfirmPayment.test.tsx +0 -47
- package/src/react/hooks/useCurrencyEarnings.test.ts +0 -59
- package/src/react/hooks/useDisputeWithCountdown.test.ts +0 -90
- package/src/react/hooks/useDisputes.test.ts +0 -75
- package/src/react/hooks/useEarnings.test.ts +0 -194
- package/src/react/hooks/useInvoices.test.ts +0 -79
- package/src/react/hooks/useProducts.test.ts +0 -75
- package/src/react/hooks/useSplitBreakdown.test.ts +0 -151
- package/src/react/hooks/useStripeMode.test.ts +0 -46
- package/src/react/hooks/useStripePublishableKey.test.ts +0 -35
- package/src/react/index.payment-element.test.ts +0 -26
- package/src/react/index.test.ts +0 -172
- package/src/react/lib/connect-requirement-keys.test.ts +0 -73
- package/src/react/lib/price-helpers.test.ts +0 -212
- package/src/react/lib/stripe-element-styles.test.ts +0 -94
- package/src/react/lib/subscription-helpers.test.ts +0 -127
- package/src/react/read-contracts.render.test.tsx +0 -20
- package/src/react/workflows/Account.test.tsx +0 -31
- package/src/react/workflows/AffiliatePayoutEditor.test.tsx +0 -90
- package/src/react/workflows/AffiliateRateEditor.test.tsx +0 -36
- package/src/react/workflows/AffiliateRecovery.test.tsx +0 -106
- package/src/react/workflows/Billing.test.tsx +0 -45
- package/src/react/workflows/BillingPlans.test.tsx +0 -31
- package/src/react/workflows/BillingPortal.test.tsx +0 -101
- package/src/react/workflows/Checkout.test.tsx +0 -148
- package/src/react/workflows/CheckoutChooser.test.tsx +0 -44
- package/src/react/workflows/CheckoutForm.test.tsx +0 -66
- package/src/react/workflows/CheckoutForms.test.tsx +0 -163
- package/src/react/workflows/ClipboardButton.test.tsx +0 -34
- package/src/react/workflows/Collections.test.tsx +0 -122
- package/src/react/workflows/Connect.test.tsx +0 -50
- package/src/react/workflows/Costs.test.tsx +0 -62
- package/src/react/workflows/Disputes.test.tsx +0 -64
- package/src/react/workflows/Earnings.test.ts +0 -19
- package/src/react/workflows/EvidenceUpload.test.tsx +0 -56
- package/src/react/workflows/Financials.test.tsx +0 -35
- package/src/react/workflows/IntegrationSwitch.test.tsx +0 -61
- package/src/react/workflows/Onboarding.test.tsx +0 -148
- package/src/react/workflows/Overview.test.tsx +0 -57
- package/src/react/workflows/Pagination.test.tsx +0 -53
- package/src/react/workflows/PaymentMethods.test.tsx +0 -60
- package/src/react/workflows/PaymentReceipt.test.tsx +0 -24
- package/src/react/workflows/PayoutProgress.test.tsx +0 -356
- package/src/react/workflows/PayoutSettings.test.tsx +0 -139
- package/src/react/workflows/Payouts.test.tsx +0 -145
- package/src/react/workflows/PlanPricingEditor.currency.test.tsx +0 -164
- package/src/react/workflows/PlanPricingEditor.test.tsx +0 -79
- package/src/react/workflows/PlanPricingEditor.zero.test.tsx +0 -100
- package/src/react/workflows/Products.test.tsx +0 -282
- package/src/react/workflows/ReferralLinks.test.tsx +0 -39
- package/src/react/workflows/Refunds.currency.test.tsx +0 -290
- package/src/react/workflows/Refunds.test.tsx +0 -75
- package/src/react/workflows/SaveCard.test.tsx +0 -127
- package/src/react/workflows/Setup.test.tsx +0 -25
- package/src/react/workflows/Storefront.test.tsx +0 -82
- package/src/react/workflows/SubscriptionOverview.test.tsx +0 -27
- package/src/react/workflows/Subscriptions.test.tsx +0 -61
- package/src/react/workflows/Tasks.test.tsx +0 -23
- package/src/react/workflows/Usage.fixtures.ts +0 -88
- package/src/react/workflows/Usage.test.tsx +0 -388
- package/src/react/workflows/UsageConfiguration.test.tsx +0 -393
- package/src/react/workflows/UsageHistory.test.tsx +0 -206
- package/src/react/workflows/UsagePriceRow.test.tsx +0 -140
- package/src/react/workflows/current-subscription.test.ts +0 -29
- package/src/react/workflows/filters.test.ts +0 -12
- package/src/react/workflows/native-interactions.test.tsx +0 -73
- package/src/react/workflows/public-workflows.test.tsx +0 -216
- package/src/react/workflows/refund-preview.test.ts +0 -65
- package/src/react/workflows/usage-configuration-validation.test.ts +0 -107
- package/src/react/workflows/useWorkflowAction.commit.test.tsx +0 -194
- package/src/react/workflows/useWorkflowAction.ssr.test.tsx +0 -20
- package/src/react/workflows/useWorkflowAction.test.tsx +0 -54
- package/src/react/workflows/useWorkflowResource.test.tsx +0 -41
- package/src/test.ts +0 -21
- package/src/testing/assert-test-env.test.ts +0 -33
- package/src/testing/component-db.ts +0 -24
- package/src/testing/crossDomain/fixture.ts +0 -96
- package/src/testing/crossDomain/host.ts +0 -288
- package/src/testing/crossDomain/transport.ts +0 -293
- package/src/testing/mock-webhooks.test.ts +0 -97
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { initialEntriesForLineage } from "./nodeAttachmentProfile.js";
|
|
1
2
|
import { types } from "node:util";
|
|
2
3
|
import { readInitialLineage } from "./lineageAuthority.js";
|
|
3
4
|
import { ownerForInitialLineage } from "./ownerFactory.js";
|
|
@@ -15,9 +16,8 @@ function need(value) {
|
|
|
15
16
|
export function readAttachAcknowledgementForLineage(token) {
|
|
16
17
|
need(arguments.length === 1);
|
|
17
18
|
readInitialLineage(token);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
COMPILED_INITIAL_ENTRIES.length > 0);
|
|
19
|
+
const entries = initialEntriesForLineage(token, COMPILED_INITIAL_ENTRIES);
|
|
20
|
+
need(!types.isProxy(entries) && Array.isArray(entries) && entries.length > 0);
|
|
21
21
|
const candidates = [
|
|
22
22
|
readInitialAttachAcknowledgement(token),
|
|
23
23
|
readReplayAttachAcknowledgement(token),
|
|
@@ -27,7 +27,7 @@ export function readAttachAcknowledgementForLineage(token) {
|
|
|
27
27
|
const owner = ownerForInitialLineage(token);
|
|
28
28
|
owner.check();
|
|
29
29
|
const actual = candidates[0];
|
|
30
|
-
need(
|
|
30
|
+
need(entries.includes(actual.originalEntry));
|
|
31
31
|
need(sourceMethod(actual.originalEntry, "coversRetained") ===
|
|
32
32
|
actual.retainedPredicate);
|
|
33
33
|
need(sourceMethod(actual.originalEntry, "coversFresh") === actual.freshPredicate);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachAcknowledgement.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/attachAcknowledgement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,MAAM,KAAK,GAAG,IAAI,OAAO,EAUtB,CAAC;AACJ,SAAS,IAAI,CAAC,KAAc;IAC1B,IAAI,CAAC,KAAK;QAAE,MAAM,KAAK,CAAC,oCAAoC,CAAC,CAAC;AAChE,CAAC;AACD,sFAAsF;AACtF,MAAM,UAAU,mCAAmC,CAAC,KAAa;IAC/D,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;IAC7B,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAC1B,IAAI,
|
|
1
|
+
{"version":3,"file":"attachAcknowledgement.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/attachAcknowledgement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,E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,gBAAgB,CAAC;QAClD,MAAM,CAAC,iBAAiB,CAC3B,CAAC;IACF,IAAI,CACF,YAAY,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,CAAC,KAAK,MAAM,CAAC,cAAc,CAC5E,CAAC;IACF,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC5B,IAAI,IAAI,EAAE,CAAC;QACT,IAAI,CACF,IAAI,CAAC,MAAM,KAAK,MAAM,CAAC,MAAM;YAC3B,IAAI,CAAC,OAAO,KAAK,MAAM,CAAC,OAAO;YAC/B,IAAI,CAAC,aAAa,KAAK,MAAM,CAAC,aAAa;YAC3C,IAAI,CAAC,iBAAiB,KAAK,MAAM,CAAC,iBAAiB;YACnD,IAAI,CAAC,cAAc,KAAK,MAAM,CAAC,cAAc,CAChD,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACzB,CAAC;IACD,KAAK,CAAC,KAAK,EAAE,CAAC;IACd,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configureWriteFactory.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/configureWriteFactory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configureWriteFactory.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/configureWriteFactory.ts"],"names":[],"mappings":"AAWA,yEAAyE;AACzE,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2Ed"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { writeEntriesForLineage } from "./nodeAttachmentProfile.js";
|
|
1
2
|
import { types } from "node:util";
|
|
2
3
|
import { COMPILED_CONFIGURE_WRITE_ENTRIES } from "../operations/sourceOperations.js";
|
|
3
4
|
import { closed } from "../operations/types.js";
|
|
@@ -13,10 +14,10 @@ export function captureAdmittedConfigureWriteFrame(token, arity) {
|
|
|
13
14
|
captures.add(token);
|
|
14
15
|
need(arity === 1);
|
|
15
16
|
const lineage = readConfigureLineage(token);
|
|
17
|
+
const entries = writeEntriesForLineage(lineage.parentToken, COMPILED_CONFIGURE_WRITE_ENTRIES);
|
|
16
18
|
const preflight = readAdmittedConfigurePreflight(token);
|
|
17
|
-
need(!types.isProxy(
|
|
18
|
-
|
|
19
|
-
const candidates = COMPILED_CONFIGURE_WRITE_ENTRIES.filter((entry) => {
|
|
19
|
+
need(!types.isProxy(entries) && Array.isArray(entries));
|
|
20
|
+
const candidates = entries.filter((entry) => {
|
|
20
21
|
const fields = closed(entry, ["originalEntry", "coversConfigure"]);
|
|
21
22
|
ownMethod(entry, "coversConfigure");
|
|
22
23
|
return fields.originalEntry === preflight.originalEntry;
|
|
@@ -34,9 +35,9 @@ export function captureAdmittedConfigureWriteFrame(token, arity) {
|
|
|
34
35
|
current.originalReservation === lineage.originalReservation &&
|
|
35
36
|
current.journal === lineage.journal);
|
|
36
37
|
need(readAdmittedConfigurePreflight(token) === preflight);
|
|
37
|
-
need(!types.isProxy(
|
|
38
|
-
Array.isArray(
|
|
39
|
-
|
|
38
|
+
need(!types.isProxy(entries) &&
|
|
39
|
+
Array.isArray(entries) &&
|
|
40
|
+
entries.includes(entry));
|
|
40
41
|
const fields = closed(entry, ["originalEntry", "coversConfigure"]);
|
|
41
42
|
need(fields.originalEntry === preflight.originalEntry &&
|
|
42
43
|
fields.coversConfigure === covers &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configureWriteFactory.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/configureWriteFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAExE,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAU,CAAC;AACvC,yEAAyE;AACzE,MAAM,UAAU,kCAAkC,CAChD,KAAa,EACb,KAAa;IAEb,IAAI,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1E,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACpB,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC;IAClB,MAAM,OAAO,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,SAAS,GAAG,8BAA8B,CAAC,KAAK,CAAC,CAAC;IACxD,IAAI,
|
|
1
|
+
{"version":3,"file":"configureWriteFactory.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/configureWriteFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,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AAC;YACnB,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IACD,KAAK,EAAE,CAAC;IACR,MAAM,QAAQ,GAAG,8BAA8B,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACrE,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;IACtC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAC5B,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAClE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAClE,CACF,CAAC;IACF,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;QAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,QAAQ;QACR,QAAQ;KACT,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,KAAK;QACL,QAAQ;QACR,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,KAAK;QACL,MAAM;QACN,QAAQ;QACR,SAAS;QACT,KAAK;QACL,MAAM;KACP,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { createInitialMaterialClassifiers } from "../material/classifiers.js";
|
|
|
9
9
|
import { createInitialTransportForLineage } from "../operations/fixedTransport.js";
|
|
10
10
|
import { type RawAcquisitionResult } from "../acquisition/ownedAcquisition.js";
|
|
11
11
|
import { captureInitialAttachForLineage } from "../operations/initialAttach.js";
|
|
12
|
+
import type { OriginalBasis } from "../originalOwner.js";
|
|
12
13
|
export type InitialInvocationCore = Readonly<{
|
|
13
14
|
owner: InitialOwner;
|
|
14
15
|
basisJSON: string;
|
|
@@ -26,4 +27,6 @@ export type InitialInvocationCore = Readonly<{
|
|
|
26
27
|
}>;
|
|
27
28
|
/** Node-only private construction. Does not admit an operational runtime profile. */
|
|
28
29
|
export declare function captureInitialInvocationCore(call: unknown, journal: Awaited<ReturnType<typeof createClassActionOperationJournal>>): Promise<InitialInvocationCore>;
|
|
30
|
+
/** Fixed public Node entry. Other private cores retain dormant profiles. */
|
|
31
|
+
export declare function capturePublicInitialInvocationCore(call: unknown, journal: Awaited<ReturnType<typeof createClassActionOperationJournal>>, captureBasis: (basis: Readonly<OriginalBasis>) => void): Promise<InitialInvocationCore>;
|
|
29
32
|
//# sourceMappingURL=invocationProducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocationProducer.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/invocationProducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"invocationProducer.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/produc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C,OAAO,8BAA8B,CAAC,CAAC;IACnE,aAAa,IAAI,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAC9D,qBAAqB,IAAI,UAAU,CACjC,OAAO,mCAAmC,CAC3C,CAAC;IACF,cAAc,CACZ,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,GACf,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAChD,oBAAoB,EAAE,KAAK,CAAC;CAC7B,CAAC,CAAC;AAEH,qFAAqF;AACrF,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,iCAAiC,CAAC,CAAC,GACrE,OAAO,CAAC,qBAAqB,CAAC,CAEhC;AAED,4EAA4E;AAC5E,wBAAsB,kCAAkC,CACtD,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,iCAAiC,CAAC,CAAC,EACtE,YAAY,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,IAAI,GACrD,OAAO,CAAC,qBAAqB,CAAC,CAEhC"}
|
|
@@ -10,10 +10,25 @@ import { createInitialMaterialClassifiers } from "../material/classifiers.js";
|
|
|
10
10
|
import { createInitialTransportForLineage } from "../operations/fixedTransport.js";
|
|
11
11
|
import { acquisitionForInitialLineage, } from "../acquisition/ownedAcquisition.js";
|
|
12
12
|
import { captureInitialAttachForLineage } from "../operations/initialAttach.js";
|
|
13
|
+
import { admitNodeAttachmentLineage } from "./nodeAttachmentProfile.js";
|
|
13
14
|
/** Node-only private construction. Does not admit an operational runtime profile. */
|
|
14
15
|
export async function captureInitialInvocationCore(call, journal) {
|
|
15
|
-
|
|
16
|
+
return captureCore(call, journal, arguments.length, false);
|
|
17
|
+
}
|
|
18
|
+
/** Fixed public Node entry. Other private cores retain dormant profiles. */
|
|
19
|
+
export async function capturePublicInitialInvocationCore(call, journal, captureBasis) {
|
|
20
|
+
return captureCore(call, journal, arguments.length - 1, true, captureBasis);
|
|
21
|
+
}
|
|
22
|
+
async function captureCore(call, journal, arity, publicNode, captureBasis) {
|
|
23
|
+
const token = mintInitialLineage(call, journal, arity);
|
|
24
|
+
if (publicNode)
|
|
25
|
+
admitNodeAttachmentLineage(token);
|
|
16
26
|
const lineage = readInitialLineage(token);
|
|
27
|
+
if (publicNode) {
|
|
28
|
+
if (typeof captureBasis !== "function")
|
|
29
|
+
throw Error("INITIAL_LINEAGE_UNBOUND");
|
|
30
|
+
captureBasis(lineage.basis);
|
|
31
|
+
}
|
|
17
32
|
const owner = ownerForInitialLineage(token);
|
|
18
33
|
try {
|
|
19
34
|
const owned = ownedAwaitForInitialLineage(token);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invocationProducer.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/invocationProducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAqB,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EACL,4BAA4B,GAE7B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"invocationProducer.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/invocationProducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAqB,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EACL,4BAA4B,GAE7B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAuBxE,qFAAqF;AACrF,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,IAAa,EACb,OAAsE;IAEtE,OAAO,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,4EAA4E;AAC5E,MAAM,CAAC,KAAK,UAAU,kCAAkC,CACtD,IAAa,EACb,OAAsE,EACtE,YAAsD;IAEtD,OAAO,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;AAC9E,CAAC;AAED,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C;YACvC,CAAC;YACD,aAAa;gBACX,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;oBAAE,MAAM,KAAK,CAAC,2BAA2B,CAAC,CAAC;gBACrE,OAAO,8BAA8B,CAAC,KAAK,CAAC,CAAC;YAC/C,CAAC;YACD,aAAa;gBACX,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;oBAAE,MAAM,KAAK,CAAC,2BAA2B,CAAC,CAAC;gBACrE,OAAO,yBAAyB,CAAC,KAAK,CAAC,CAAC;YAC1C,CAAC;YACD,qBAAqB;gBACnB,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;oBAAE,MAAM,KAAK,CAAC,2BAA2B,CAAC,CAAC;gBACrE,OAAO,mCAAmC,CAAC,KAAK,CAAC,CAAC;YACpD,CAAC;YACD,cAAc,CAAC,IAAa,EAAE,OAAgB;gBAC5C,OAAO,yBAAyB,CAC9B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,SAAS,CAAC,MAAM,CACjB,CAAC;YACJ,CAAC;YACD,oBAAoB,EAAE,KAAK;SAC5B,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,KAAK,CAAC,MAAM,EAAE,CAAC;QACf,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NODE_ATTACHMENT_PROFILE } from "../../attachmentProfile.js";
|
|
2
|
+
export { NODE_ATTACHMENT_PROFILE };
|
|
3
|
+
/** Package-private admission after the public method wins the original reservation. */
|
|
4
|
+
export declare function admitNodeAttachmentLineage(token: object): void;
|
|
5
|
+
export declare function initialEntriesForLineage(token: object | null, dormant: readonly unknown[]): readonly unknown[];
|
|
6
|
+
export declare function isNodeAttachmentLineage(token: object): boolean;
|
|
7
|
+
export declare function preflightEntriesForLineage(token: object, dormant: readonly unknown[]): readonly unknown[];
|
|
8
|
+
export declare function writeEntriesForLineage(token: object, dormant: readonly unknown[]): readonly unknown[];
|
|
9
|
+
//# sourceMappingURL=nodeAttachmentProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeAttachmentProfile.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,uBAAuB,EAExB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,uBAAuB,EAAE,CAAC;AA+BnC,uFAAuF;AACvF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,QASvD;AACD,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,OAAO,EAAE,SAAS,OAAO,EAAE,sBAG5B;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,WAEpD;AAoCD,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,SAAS,OAAO,EAAE,sBAG5B;AACD,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,SAAS,OAAO,EAAE,sBAG5B"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { readInitialLineage } from "./lineageAuthority.js";
|
|
2
|
+
const admitted = new WeakSet();
|
|
3
|
+
import { ATTACHMENT_API_VERSION as API_VERSION, NODE_ATTACHMENT_PROFILE, supportsAttachmentProfile, } from "../../attachmentProfile.js";
|
|
4
|
+
export { NODE_ATTACHMENT_PROFILE };
|
|
5
|
+
function covers(value, freshness) {
|
|
6
|
+
if (!value || typeof value !== "object")
|
|
7
|
+
return false;
|
|
8
|
+
const material = value;
|
|
9
|
+
return (material.classificationRevision === "renewal-material-v2" &&
|
|
10
|
+
material.protocolRevision === "renewal-stage-protocol-v1" &&
|
|
11
|
+
material.stage === "attach" &&
|
|
12
|
+
material.intent === "initial" &&
|
|
13
|
+
material.scope === "platform" &&
|
|
14
|
+
material.apiVersion === API_VERSION &&
|
|
15
|
+
material.freshness === freshness &&
|
|
16
|
+
supportsAttachmentProfile({
|
|
17
|
+
profile: material.profile,
|
|
18
|
+
livemode: material.originalPrepared.expected.livemode,
|
|
19
|
+
subscriptionDiscounts: material.subscriptionDiscounts,
|
|
20
|
+
itemDiscounts: material.itemDiscounts,
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
/** Fixed Node/test-mode profile. Full material validation precedes these predicates. */
|
|
24
|
+
const entries = Object.freeze([
|
|
25
|
+
Object.freeze({
|
|
26
|
+
coversRetained(value) {
|
|
27
|
+
return covers(value, "retained");
|
|
28
|
+
},
|
|
29
|
+
coversFresh(value) {
|
|
30
|
+
return covers(value, "fresh");
|
|
31
|
+
},
|
|
32
|
+
}),
|
|
33
|
+
]);
|
|
34
|
+
/** Package-private admission after the public method wins the original reservation. */
|
|
35
|
+
export function admitNodeAttachmentLineage(token) {
|
|
36
|
+
const lineage = readInitialLineage(token);
|
|
37
|
+
const record = JSON.parse(lineage.reservation.recordJSON);
|
|
38
|
+
if (record.profile !== NODE_ATTACHMENT_PROFILE ||
|
|
39
|
+
record.account.livemode !== false)
|
|
40
|
+
throw Error("NODE_ATTACHMENT_PROFILE_UNSUPPORTED");
|
|
41
|
+
admitted.add(token);
|
|
42
|
+
}
|
|
43
|
+
export function initialEntriesForLineage(token, dormant) {
|
|
44
|
+
return token !== null && admitted.has(token) ? entries : dormant;
|
|
45
|
+
}
|
|
46
|
+
export function isNodeAttachmentLineage(token) {
|
|
47
|
+
return admitted.has(token);
|
|
48
|
+
}
|
|
49
|
+
const preflightEntries = Object.freeze([
|
|
50
|
+
Object.freeze({
|
|
51
|
+
originalEntry: entries[0],
|
|
52
|
+
coversPreflight(record) {
|
|
53
|
+
return coversConfiguration(record);
|
|
54
|
+
},
|
|
55
|
+
}),
|
|
56
|
+
]);
|
|
57
|
+
const writeEntries = Object.freeze([
|
|
58
|
+
Object.freeze({
|
|
59
|
+
originalEntry: entries[0],
|
|
60
|
+
coversConfigure(record) {
|
|
61
|
+
return coversConfiguration(record);
|
|
62
|
+
},
|
|
63
|
+
}),
|
|
64
|
+
]);
|
|
65
|
+
function coversConfiguration(value) {
|
|
66
|
+
if (!value || typeof value !== "object")
|
|
67
|
+
return false;
|
|
68
|
+
const record = value;
|
|
69
|
+
return (!!record.request?.profile &&
|
|
70
|
+
supportsAttachmentProfile({
|
|
71
|
+
profile: record.request.profile,
|
|
72
|
+
livemode: record.configuration?.preparation?.expected?.livemode !== false,
|
|
73
|
+
subscriptionDiscounts: [],
|
|
74
|
+
itemDiscounts: [],
|
|
75
|
+
}));
|
|
76
|
+
}
|
|
77
|
+
export function preflightEntriesForLineage(token, dormant) {
|
|
78
|
+
return isNodeAttachmentLineage(token) ? preflightEntries : dormant;
|
|
79
|
+
}
|
|
80
|
+
export function writeEntriesForLineage(token, dormant) {
|
|
81
|
+
return isNodeAttachmentLineage(token) ? writeEntries : dormant;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=nodeAttachmentProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeAttachmentProfile.js","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/nodeAttachmentProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAU,CAAC;AACvC,OAAO,EACL,sBAAsB,IAAI,WAAW,EACrC,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,uBAAuB,EAAE,CAAC;AACnC,SAAS,MAAM,CAAC,KAAc,EAAE,SAA+B;IAC7D,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtD,MAAM,QAAQ,GAAG,KAAwB,CAAC;IAC1C,OAAO,CACL,QAAQ,CAAC,sBAAsB,KAAK,qBAAqB;QACzD,QAAQ,CAAC,g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AC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC;AACrE,CAAC;AACD,MAAM,UAAU,sBAAsB,CACpC,KAAa,EACb,OAA2B;IAE3B,OAAO,uBAAuB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC;AACjE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { InitialInvocationCore } from "./internal/producer/invocationProducer.js";
|
|
2
|
+
import type { RenewalAttachmentActionCtx } from "../../renewalAttachmentTypes.js";
|
|
3
|
+
type Live = {
|
|
4
|
+
core: InitialInvocationCore;
|
|
5
|
+
basis: InitialInvocationCore["owner"]["basis"];
|
|
6
|
+
ctx: RenewalAttachmentActionCtx;
|
|
7
|
+
timer: ReturnType<typeof setTimeout>;
|
|
8
|
+
};
|
|
9
|
+
export declare function retainLiveAttachment(root: object, operationId: string, ctx: RenewalAttachmentActionCtx, core: InitialInvocationCore, end: number): void;
|
|
10
|
+
export declare function consumeLiveAttachment(root: object, operationId: string, ctx: RenewalAttachmentActionCtx): Live | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=liveAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liveAttachment.d.ts","sourceRoot":"","sources":["../../../../src/client/billing/renewalAttach/liveAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,qBAAqB,CAAC;IAC5B,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAC/C,GAAG,EAAE,0BAA0B,CAAC;IAChC,KAAK,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,0BAA0B,EAC/B,IAAI,EAAE,qBAAqB,EAC3B,GAAG,EAAE,MAAM,QAgBZ;AACD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,0BAA0B,eAQhC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const roots = new WeakMap();
|
|
2
|
+
export function retainLiveAttachment(root, operationId, ctx, core, end) {
|
|
3
|
+
let entries = roots.get(root);
|
|
4
|
+
if (!entries) {
|
|
5
|
+
entries = new Map();
|
|
6
|
+
roots.set(root, entries);
|
|
7
|
+
}
|
|
8
|
+
const timer = setTimeout(() => {
|
|
9
|
+
entries.delete(operationId);
|
|
10
|
+
core.owner.retire();
|
|
11
|
+
}, Math.max(0, end - Date.now()));
|
|
12
|
+
timer.unref?.();
|
|
13
|
+
entries.set(operationId, { core, ctx, timer, basis: core.owner.basis });
|
|
14
|
+
}
|
|
15
|
+
export function consumeLiveAttachment(root, operationId, ctx) {
|
|
16
|
+
const entries = roots.get(root), live = entries?.get(operationId);
|
|
17
|
+
if (!live || live.ctx !== ctx)
|
|
18
|
+
return null;
|
|
19
|
+
entries.delete(operationId);
|
|
20
|
+
clearTimeout(live.timer);
|
|
21
|
+
return live;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=liveAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liveAttachment.js","sourceRoot":"","sources":["../../../../src/client/billing/renewalAttach/liveAttachment.ts"],"names":[],"mappings":"AAQA,MAAM,KAAK,GAAG,IAAI,OAAO,EAA6B,CAAC;AACvD,MAAM,UAAU,oBAAoB,CAClC,IAAY,EACZ,WAAmB,EACnB,GAA+B,EAC/B,IAA2B,EAC3B,GAAW;IAEX,IAAI,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,IAAI,GAAG,EAAE,CAAC;QACpB,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC3B,CAAC;IACD,MAAM,KAAK,GAAG,UAAU,CACtB,GAAG,EAAE;QACH,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAC5B,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtB,CAAC,EACD,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,CAC9B,CAAC;IACF,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC;IAChB,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;AAC1E,CAAC;AACD,MAAM,UAAU,qBAAqB,CACnC,IAAY,EACZ,WAAmB,EACnB,GAA+B;IAE/B,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAC7B,IAAI,GAAG,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACnC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,GAAG;QAAE,OAAO,IAAI,CAAC;IAC3C,OAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAC7B,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzB,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AttachmentExecutor } from "../../renewalAttachmentRuntime.js";
|
|
2
|
+
/** Host authorization and immutable original reservation precede every provider read. */
|
|
3
|
+
export declare const attachRenewalSchedule: AttachmentExecutor;
|
|
4
|
+
//# sourceMappingURL=nodeAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeAttachment.d.ts","sourceRoot":"","sources":["../../../../src/client/billing/renewalAttach/nodeAttachment.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAO5E,yFAAyF;AACzF,eAAO,MAAM,qBAAqB,EAAE,kBAkKnC,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { retainLiveAttachment } from "./liveAttachment.js";
|
|
2
|
+
import { canonicalJournalRecord } from "../../../shared/renewalOperationJournal.js";
|
|
3
|
+
import { createClassActionOperationJournal } from "./internal/operationJournal.js";
|
|
4
|
+
import { capturePublicInitialInvocationCore } from "./internal/producer/invocationProducer.js";
|
|
5
|
+
import { NODE_ATTACHMENT_PROFILE, ATTACHMENT_API_VERSION, ATTACHMENT_WORK_MS, ATTACHMENT_END_MS, } from "./attachmentProfile.js";
|
|
6
|
+
/** Host authorization and immutable original reservation precede every provider read. */
|
|
7
|
+
export const attachRenewalSchedule = async (root, ctx, options) => {
|
|
8
|
+
if (!options ||
|
|
9
|
+
typeof options.operationId !== "string" ||
|
|
10
|
+
!options.operationId.trim() ||
|
|
11
|
+
typeof options.requestBinding !== "string" ||
|
|
12
|
+
!options.requestBinding.trim() ||
|
|
13
|
+
!options.authorizationQuery)
|
|
14
|
+
throw Error("INVALID_RENEWAL_ATTACHMENT_OPTIONS");
|
|
15
|
+
const { operationId, requestBinding, authorizationQuery } = options;
|
|
16
|
+
const key = Object.getOwnPropertyDescriptor(root, "_apiKey")?.value;
|
|
17
|
+
if (typeof key !== "string" || !/^[rs]k_test_/.test(key))
|
|
18
|
+
return {
|
|
19
|
+
status: "not_dispatched",
|
|
20
|
+
operationId,
|
|
21
|
+
reason: "test_mode_key_required",
|
|
22
|
+
};
|
|
23
|
+
const journal = await createClassActionOperationJournal(root, {
|
|
24
|
+
actualActionCtx: ctx,
|
|
25
|
+
operationId,
|
|
26
|
+
});
|
|
27
|
+
const loaded = await journal.loadAuthorizedOperation();
|
|
28
|
+
const refuse = (reason) => ({
|
|
29
|
+
status: "not_dispatched",
|
|
30
|
+
operationId,
|
|
31
|
+
reason,
|
|
32
|
+
});
|
|
33
|
+
const conflict = (reason) => ({
|
|
34
|
+
status: "conflict",
|
|
35
|
+
operationId,
|
|
36
|
+
reason,
|
|
37
|
+
});
|
|
38
|
+
if (!loaded)
|
|
39
|
+
return refuse("operation_not_found");
|
|
40
|
+
const full = canonicalJournalRecord(loaded.recordJSON);
|
|
41
|
+
if (full.requestBinding !== requestBinding)
|
|
42
|
+
return conflict("request_binding_mismatch");
|
|
43
|
+
const record = JSON.parse(full.json);
|
|
44
|
+
if (record.schemaVersion !== 2 ||
|
|
45
|
+
record.stage !== "attach" ||
|
|
46
|
+
record.profile !== NODE_ATTACHMENT_PROFILE ||
|
|
47
|
+
record.account.livemode !== false ||
|
|
48
|
+
record.apiVersion !== ATTACHMENT_API_VERSION ||
|
|
49
|
+
record.timingPolicy.workEndWallMs >
|
|
50
|
+
record.timingPolicy.firstDispatchedAt * 1000 + ATTACHMENT_WORK_MS ||
|
|
51
|
+
record.timingPolicy.endWallMs >
|
|
52
|
+
record.timingPolicy.firstDispatchedAt * 1000 + ATTACHMENT_END_MS)
|
|
53
|
+
return refuse("unsupported_execution_profile");
|
|
54
|
+
const authorization = {
|
|
55
|
+
capability: "renewal_attachment_v1",
|
|
56
|
+
operationId,
|
|
57
|
+
authorizationScope: full.authorizationScope,
|
|
58
|
+
authorizationId: full.authorizationId,
|
|
59
|
+
authorizationRevision: full.authorizationRevision,
|
|
60
|
+
logicalOperationId: full.logicalOperationId,
|
|
61
|
+
requestBinding,
|
|
62
|
+
expected: record.attachRequest.preparation.expected,
|
|
63
|
+
};
|
|
64
|
+
if ((await ctx.runQuery(authorizationQuery, authorization)) !== true)
|
|
65
|
+
return refuse("not_authorized");
|
|
66
|
+
if (loaded.revision !== 0)
|
|
67
|
+
return conflict("attempt_already_reserved");
|
|
68
|
+
const now = Date.now();
|
|
69
|
+
const seconds = Math.floor(now / 1000);
|
|
70
|
+
if (!Number.isSafeInteger(now) ||
|
|
71
|
+
now >= record.timingPolicy.workEndWallMs ||
|
|
72
|
+
now >= record.timingPolicy.endWallMs ||
|
|
73
|
+
seconds < record.timingPolicy.firstDispatchedAt ||
|
|
74
|
+
seconds - record.timingPolicy.firstDispatchedAt >= 86400 ||
|
|
75
|
+
seconds < record.timingPolicy.periodStart ||
|
|
76
|
+
seconds >= record.timingPolicy.periodEnd)
|
|
77
|
+
return refuse("original_window_expired");
|
|
78
|
+
const fresh = await journal.reserveFreshAttempt({
|
|
79
|
+
expectedRevision: 0,
|
|
80
|
+
stage: "attach",
|
|
81
|
+
expectedRequestBinding: requestBinding,
|
|
82
|
+
recordJSON: full.json,
|
|
83
|
+
});
|
|
84
|
+
if (fresh.result.disposition !== "acquired" || !fresh.call)
|
|
85
|
+
return conflict("attempt_already_reserved");
|
|
86
|
+
const attemptId = fresh.result.reservation.attemptId;
|
|
87
|
+
let core;
|
|
88
|
+
let retainedLive = false;
|
|
89
|
+
let originalWorkEndNs;
|
|
90
|
+
const deadlineElapsed = () => Date.now() >= record.timingPolicy.workEndWallMs ||
|
|
91
|
+
(originalWorkEndNs !== undefined &&
|
|
92
|
+
process.hrtime.bigint() >= originalWorkEndNs);
|
|
93
|
+
const timeout = () => ({
|
|
94
|
+
status: "timeout",
|
|
95
|
+
outcome: "unknown",
|
|
96
|
+
operationId,
|
|
97
|
+
attemptId,
|
|
98
|
+
reason: "original_deadline_exceeded",
|
|
99
|
+
});
|
|
100
|
+
try {
|
|
101
|
+
core = await capturePublicInitialInvocationCore(fresh.call, journal, (basis) => {
|
|
102
|
+
originalWorkEndNs = basis.workEndNs;
|
|
103
|
+
});
|
|
104
|
+
const retained = await core.material.retained();
|
|
105
|
+
if (retained.status !== "classified")
|
|
106
|
+
return refuse("retained_material_unsupported");
|
|
107
|
+
const raw = await core.initialAttach().invoke();
|
|
108
|
+
if (!raw || typeof raw !== "object")
|
|
109
|
+
throw Error("INVALID_ATTACHMENT_OUTCOME");
|
|
110
|
+
const outcome = raw;
|
|
111
|
+
if (outcome.status === "attach_acknowledged" && "receipt" in outcome) {
|
|
112
|
+
retainLiveAttachment(root, operationId, ctx, core, record.timingPolicy.workEndWallMs);
|
|
113
|
+
retainedLive = true;
|
|
114
|
+
return {
|
|
115
|
+
status: "attached_incomplete",
|
|
116
|
+
operationId,
|
|
117
|
+
attemptId,
|
|
118
|
+
receipt: outcome.receipt,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
if (deadlineElapsed())
|
|
122
|
+
return timeout();
|
|
123
|
+
if (outcome.status === "not_dispatched" && "reason" in outcome)
|
|
124
|
+
return refuse(String(outcome.reason));
|
|
125
|
+
return {
|
|
126
|
+
status: "unknown",
|
|
127
|
+
operationId,
|
|
128
|
+
attemptId,
|
|
129
|
+
reason: "provider_response_unverified",
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
const failure = error instanceof Error
|
|
134
|
+
? Object.getOwnPropertyDescriptor(error, "failure")?.value
|
|
135
|
+
: undefined;
|
|
136
|
+
if (deadlineElapsed() || failure?.diagnostics?.code === "ETIMEDOUT")
|
|
137
|
+
return timeout();
|
|
138
|
+
if (failure?.phase === "read")
|
|
139
|
+
return refuse("provider_read_failed");
|
|
140
|
+
if (failure?.phase === "post" && failure.diagnostics?.statusCode === 409)
|
|
141
|
+
return conflict("provider_conflict");
|
|
142
|
+
return {
|
|
143
|
+
status: "unknown",
|
|
144
|
+
operationId,
|
|
145
|
+
attemptId,
|
|
146
|
+
reason: "attachment_not_acknowledged",
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
finally {
|
|
150
|
+
if (!retainedLive)
|
|
151
|
+
core?.owner.retire();
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
//# sourceMappingURL=nodeAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/client/billing/renewalAttach/nodeConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAIlF,eAAO,MAAM,wBAAwB,EAAE,qBAyItC,CAAC"}
|