stripe 22.4.0-alpha.5 → 22.4.0
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 +55 -3084
- package/OPENAPI_VERSION +1 -1
- package/README.md +60 -44
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -58
- package/cjs/Error.js +1 -135
- package/cjs/Error.js.map +1 -1
- package/cjs/Types.d.ts +2 -9
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -5
- package/cjs/resources/AccountSessions.d.ts +16 -564
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +33 -1034
- package/cjs/resources/Accounts.js +9 -46
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +1 -28
- package/cjs/resources/Balance.d.ts +0 -134
- package/cjs/resources/BalanceSettings.d.ts +0 -18
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
- package/cjs/resources/Billing/Alerts.d.ts +5 -448
- package/cjs/resources/Billing/Alerts.js +5 -329
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -126
- package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
- package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +3 -85
- package/cjs/resources/Billing/CreditGrants.js +5 -134
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
- package/cjs/resources/Billing/Meters.d.ts +0 -31
- package/cjs/resources/Billing/index.d.ts +0 -10
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -25
- package/cjs/resources/Cards.d.ts +0 -28
- package/cjs/resources/Charges.d.ts +70 -3352
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +31 -1172
- package/cjs/resources/Checkout/Sessions.js +0 -115
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +0 -1
- package/cjs/resources/ConfirmationTokens.d.ts +1 -142
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +2 -128
- package/cjs/resources/Coupons.js +0 -41
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -13
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -74
- package/cjs/resources/CustomerSessions.js +0 -13
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +5 -102
- package/cjs/resources/Customers.js +0 -195
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +0 -19
- package/cjs/resources/Disputes.d.ts +0 -43
- package/cjs/resources/Disputes.js +0 -14
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +3 -574
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -69
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +36 -122
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Identity/VerificationReports.d.ts +2 -33
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
- package/cjs/resources/Identity/index.d.ts +10 -18
- package/cjs/resources/Identity/index.js +0 -2
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +3 -204
- package/cjs/resources/InvoiceItems.js +0 -41
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +4 -174
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
- package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +28 -2128
- package/cjs/resources/Invoices.js +0 -221
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +1 -482
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +4 -18
- package/cjs/resources/Issuing/Cards.d.ts +8 -53
- package/cjs/resources/Issuing/Disputes.d.ts +0 -246
- package/cjs/resources/Issuing/Tokens.d.ts +0 -26
- package/cjs/resources/Issuing/Transactions.d.ts +0 -233
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -56
- package/cjs/resources/Issuing/index.js +0 -8
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +2 -47
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +2 -664
- package/cjs/resources/PaymentAttemptRecords.js +0 -48
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
- package/cjs/resources/PaymentIntents.d.ts +6379 -20025
- package/cjs/resources/PaymentIntents.js +0 -46
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +75 -75
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
- package/cjs/resources/PaymentMethods.d.ts +4 -300
- package/cjs/resources/PaymentMethods.js +0 -20
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +31 -719
- package/cjs/resources/PaymentRecords.js +7 -17
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +2 -25
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +1 -77
- package/cjs/resources/Prices.js +0 -27
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +1 -199
- package/cjs/resources/Products.js +0 -69
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +139 -3389
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -85
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
- package/cjs/resources/Radar/ValueListItems.js +0 -13
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +16 -36
- package/cjs/resources/Radar/index.js +0 -6
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +14 -39
- package/cjs/resources/Refunds.js +0 -27
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -17
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -35
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +34 -630
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +1 -266
- package/cjs/resources/SubscriptionItems.js +0 -41
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +116 -2377
- package/cjs/resources/SubscriptionSchedules.js +0 -61
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +13 -966
- package/cjs/resources/Subscriptions.js +0 -289
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
- package/cjs/resources/Tax/Calculations.d.ts +7 -49
- package/cjs/resources/Tax/Registrations.d.ts +10 -159
- package/cjs/resources/Tax/Registrations.js +0 -27
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +0 -8
- package/cjs/resources/Tax/Settings.js +0 -13
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +2 -10
- package/cjs/resources/Tax/Transactions.js +0 -13
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +13 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +1 -16
- package/cjs/resources/TaxIds.d.ts +4 -10
- package/cjs/resources/TaxIds.js +0 -13
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +4 -16
- package/cjs/resources/TaxRates.js +0 -27
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +0 -27
- package/cjs/resources/Terminal/Readers.d.ts +2 -219
- package/cjs/resources/Terminal/Readers.js +0 -24
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +0 -9
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
- package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +6 -14
- package/cjs/resources/TestHelpers/index.js +6 -12
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +2 -76
- package/cjs/resources/Topups.d.ts +28 -0
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -12
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/V2/Billing/index.d.ts +6 -175
- package/cjs/resources/V2/Billing/index.js +0 -32
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +43 -220
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +3626 -17599
- package/cjs/resources/V2/Core/Accounts.js +38 -10364
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +234 -7743
- package/cjs/resources/V2/Core/index.d.ts +14 -66
- package/cjs/resources/V2/Core/index.js +0 -18
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -39
- package/cjs/resources/V2/index.js +0 -22
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -19
- package/cjs/resources.js +18 -282
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +607 -14367
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +54 -158
- package/cjs/stripe.core.js +31 -72
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +0 -58
- package/esm/Error.js +0 -118
- package/esm/Error.js.map +1 -1
- package/esm/Types.d.ts +2 -9
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -5
- package/esm/resources/AccountSessions.d.ts +16 -564
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +33 -1034
- package/esm/resources/Accounts.js +9 -46
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +1 -28
- package/esm/resources/Balance.d.ts +0 -134
- package/esm/resources/BalanceSettings.d.ts +0 -18
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
- package/esm/resources/Billing/Alerts.d.ts +5 -448
- package/esm/resources/Billing/Alerts.js +5 -329
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -126
- package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
- package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +3 -85
- package/esm/resources/Billing/CreditGrants.js +5 -134
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
- package/esm/resources/Billing/Meters.d.ts +0 -31
- package/esm/resources/Billing/index.d.ts +0 -10
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -25
- package/esm/resources/Cards.d.ts +0 -28
- package/esm/resources/Charges.d.ts +70 -3352
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +31 -1172
- package/esm/resources/Checkout/Sessions.js +0 -115
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +0 -1
- package/esm/resources/ConfirmationTokens.d.ts +1 -142
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +2 -128
- package/esm/resources/Coupons.js +0 -41
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -13
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -74
- package/esm/resources/CustomerSessions.js +0 -13
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +5 -102
- package/esm/resources/Customers.js +0 -195
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +0 -19
- package/esm/resources/Disputes.d.ts +0 -43
- package/esm/resources/Disputes.js +0 -14
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +3 -574
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -69
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +36 -122
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Identity/VerificationReports.d.ts +2 -33
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
- package/esm/resources/Identity/index.d.ts +10 -18
- package/esm/resources/Identity/index.js +0 -2
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +3 -204
- package/esm/resources/InvoiceItems.js +0 -41
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +4 -174
- package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
- package/esm/resources/InvoiceRenderingTemplates.js +0 -28
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +28 -2128
- package/esm/resources/Invoices.js +0 -221
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +1 -482
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +4 -18
- package/esm/resources/Issuing/Cards.d.ts +8 -53
- package/esm/resources/Issuing/Disputes.d.ts +0 -246
- package/esm/resources/Issuing/Tokens.d.ts +0 -26
- package/esm/resources/Issuing/Transactions.d.ts +0 -233
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -56
- package/esm/resources/Issuing/index.js +0 -8
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +2 -47
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +2 -664
- package/esm/resources/PaymentAttemptRecords.js +0 -48
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
- package/esm/resources/PaymentIntents.d.ts +6379 -20025
- package/esm/resources/PaymentIntents.js +0 -46
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +75 -75
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
- package/esm/resources/PaymentMethods.d.ts +4 -300
- package/esm/resources/PaymentMethods.js +0 -20
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +31 -719
- package/esm/resources/PaymentRecords.js +7 -17
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +2 -25
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +1 -77
- package/esm/resources/Prices.js +0 -27
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +1 -199
- package/esm/resources/Products.js +0 -69
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +139 -3389
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -85
- package/esm/resources/Radar/ValueListItems.d.ts +1 -39
- package/esm/resources/Radar/ValueListItems.js +0 -13
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +16 -36
- package/esm/resources/Radar/index.js +0 -6
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +14 -39
- package/esm/resources/Refunds.js +0 -27
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -17
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -35
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +34 -630
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +1 -266
- package/esm/resources/SubscriptionItems.js +0 -41
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +116 -2377
- package/esm/resources/SubscriptionSchedules.js +0 -61
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +13 -966
- package/esm/resources/Subscriptions.js +0 -289
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
- package/esm/resources/Tax/Calculations.d.ts +7 -49
- package/esm/resources/Tax/Registrations.d.ts +10 -159
- package/esm/resources/Tax/Registrations.js +0 -27
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +0 -8
- package/esm/resources/Tax/Settings.js +0 -13
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +2 -10
- package/esm/resources/Tax/Transactions.js +0 -13
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +13 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +1 -16
- package/esm/resources/TaxIds.d.ts +4 -10
- package/esm/resources/TaxIds.js +0 -13
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +4 -16
- package/esm/resources/TaxRates.js +0 -27
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +0 -27
- package/esm/resources/Terminal/Readers.d.ts +2 -219
- package/esm/resources/Terminal/Readers.js +0 -24
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +0 -9
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
- package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
- package/esm/resources/TestHelpers/Issuing/index.js +0 -2
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +6 -14
- package/esm/resources/TestHelpers/index.js +0 -6
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +2 -76
- package/esm/resources/Topups.d.ts +28 -0
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -12
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/V2/Billing/index.d.ts +6 -175
- package/esm/resources/V2/Billing/index.js +0 -32
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +43 -220
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +3626 -17599
- package/esm/resources/V2/Core/Accounts.js +38 -10364
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/Events.d.ts +234 -7743
- package/esm/resources/V2/Core/index.d.ts +14 -66
- package/esm/resources/V2/Core/index.js +0 -18
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -39
- package/esm/resources/V2/index.js +0 -22
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -19
- package/esm/resources.js +0 -253
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +54 -158
- package/esm/stripe.core.js +2 -43
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +54 -158
- package/esm/stripe.esm.node.js +2 -43
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -19
- package/cjs/StripeEventNotificationHandler.js +0 -481
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/AccountSignals.d.ts +0 -111
- package/cjs/resources/AccountSignals.js +0 -4
- package/cjs/resources/AccountSignals.js.map +0 -1
- package/cjs/resources/BalanceTransfers.d.ts +0 -160
- package/cjs/resources/BalanceTransfers.js +0 -15
- package/cjs/resources/BalanceTransfers.js.map +0 -1
- package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
- package/cjs/resources/Billing/AlertNotifications.js +0 -4
- package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
- package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
- package/cjs/resources/Billing/AlertRecovereds.js +0 -4
- package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
- package/cjs/resources/Crypto/Customers.d.ts +0 -111
- package/cjs/resources/Crypto/Customers.js +0 -31
- package/cjs/resources/Crypto/Customers.js.map +0 -1
- package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -89
- package/cjs/resources/Crypto/DepositAddresses.js +0 -31
- package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
- package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -417
- package/cjs/resources/Crypto/OnrampSessions.js +0 -47
- package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
- package/cjs/resources/Crypto/index.d.ts +0 -41
- package/cjs/resources/Crypto/index.js +0 -19
- package/cjs/resources/Crypto/index.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
- package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
- package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
- package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
- package/cjs/resources/DelegatedCheckout/index.js +0 -15
- package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/GiftCardOperations.d.ts +0 -249
- package/cjs/resources/GiftCardOperations.js +0 -15
- package/cjs/resources/GiftCardOperations.js.map +0 -1
- package/cjs/resources/GiftCards.d.ts +0 -187
- package/cjs/resources/GiftCards.js +0 -51
- package/cjs/resources/GiftCards.js.map +0 -1
- package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
- package/cjs/resources/Identity/BlocklistEntries.js +0 -54
- package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Programs.d.ts +0 -95
- package/cjs/resources/Issuing/Programs.js +0 -35
- package/cjs/resources/Issuing/Programs.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -83
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
- package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
- package/cjs/resources/Orchestration/index.d.ts +0 -12
- package/cjs/resources/Orchestration/index.js +0 -13
- package/cjs/resources/Orchestration/index.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4773
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
- package/cjs/resources/PaymentLocationCapabilities.js +0 -29
- package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
- package/cjs/resources/PaymentLocations.d.ts +0 -178
- package/cjs/resources/PaymentLocations.js +0 -41
- package/cjs/resources/PaymentLocations.js.map +0 -1
- package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
- package/cjs/resources/PaymentMethodBalances.js +0 -4
- package/cjs/resources/PaymentMethodBalances.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -126
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/Profiles.d.ts +0 -68
- package/cjs/resources/Profiles.js +0 -4
- package/cjs/resources/Profiles.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -684
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1179
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -308
- package/cjs/resources/Radar/AccountEvaluations.js +0 -27
- package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
- package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
- package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
- package/cjs/resources/RiskSignals.d.ts +0 -10
- package/cjs/resources/RiskSignals.js +0 -4
- package/cjs/resources/RiskSignals.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -336
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -228
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/TaxFunds.d.ts +0 -174
- package/cjs/resources/TaxFunds.js +0 -23
- package/cjs/resources/TaxFunds.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/Capital/index.js +0 -13
- package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
- package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/TransitBalances.d.ts +0 -25
- package/cjs/resources/TransitBalances.js +0 -4
- package/cjs/resources/TransitBalances.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
- package/cjs/resources/V2/Billing/Cadences.js +0 -264
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
- package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1484
- package/cjs/resources/V2/Billing/Contracts.js +0 -331
- package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
- package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
- package/cjs/resources/V2/Billing/IntentActions.js +0 -4
- package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
- package/cjs/resources/V2/Billing/Intents.d.ts +0 -1253
- package/cjs/resources/V2/Billing/Intents.js +0 -87
- package/cjs/resources/V2/Billing/Intents.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
- package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
- package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
- package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
- package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
- package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
- package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
- package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
- package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
- package/cjs/resources/V2/Billing/RateCards.js +0 -76
- package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
- package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -156
- package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
- package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
- package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
- package/cjs/resources/V2/Core/FeeBatches.js +0 -23
- package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
- package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
- package/cjs/resources/V2/Core/FeeEntries.js +0 -23
- package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
- package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -530
- package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
- package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
- package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
- package/cjs/resources/V2/Core/Health/index.js +0 -13
- package/cjs/resources/V2/Core/Health/index.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
- package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
- package/cjs/resources/V2/Data/Analytics/index.js +0 -13
- package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -13
- package/cjs/resources/V2/Data/index.js +0 -15
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -211
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
- package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
- package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -23
- package/cjs/resources/V2/Iam/index.js +0 -15
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -143
- package/cjs/resources/V2/MoneyManagement/index.js +0 -49
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
- package/cjs/resources/V2/Payments/index.d.ts +0 -31
- package/cjs/resources/V2/Payments/index.js +0 -15
- package/cjs/resources/V2/Payments/index.js.map +0 -1
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
- package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
- package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
- package/cjs/resources/V2/Reporting/Reports.js +0 -17
- package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
- package/cjs/resources/V2/Reporting/index.d.ts +0 -18
- package/cjs/resources/V2/Reporting/index.js +0 -15
- package/cjs/resources/V2/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -172
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -13
- package/cjs/resources/V2/Signals/index.js +0 -13
- package/cjs/resources/V2/Signals/index.js.map +0 -1
- package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
- package/cjs/resources/V2/Tax/ManualRules.js +0 -193
- package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
- package/cjs/resources/V2/Tax/index.d.ts +0 -16
- package/cjs/resources/V2/Tax/index.js +0 -13
- package/cjs/resources/V2/Tax/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
- package/cjs/resources/V2/TestHelpers/index.js +0 -15
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -19
- package/esm/StripeEventNotificationHandler.js +0 -477
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/AccountSignals.d.ts +0 -111
- package/esm/resources/AccountSignals.js +0 -3
- package/esm/resources/AccountSignals.js.map +0 -1
- package/esm/resources/BalanceTransfers.d.ts +0 -160
- package/esm/resources/BalanceTransfers.js +0 -11
- package/esm/resources/BalanceTransfers.js.map +0 -1
- package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
- package/esm/resources/Billing/AlertNotifications.js +0 -3
- package/esm/resources/Billing/AlertNotifications.js.map +0 -1
- package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
- package/esm/resources/Billing/AlertRecovereds.js +0 -3
- package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
- package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
- package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
- package/esm/resources/Crypto/Customers.d.ts +0 -111
- package/esm/resources/Crypto/Customers.js +0 -27
- package/esm/resources/Crypto/Customers.js.map +0 -1
- package/esm/resources/Crypto/DepositAddresses.d.ts +0 -89
- package/esm/resources/Crypto/DepositAddresses.js +0 -27
- package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
- package/esm/resources/Crypto/OnrampSessions.d.ts +0 -417
- package/esm/resources/Crypto/OnrampSessions.js +0 -43
- package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
- package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
- package/esm/resources/Crypto/index.d.ts +0 -41
- package/esm/resources/Crypto/index.js +0 -15
- package/esm/resources/Crypto/index.js.map +0 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
- package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
- package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
- package/esm/resources/DelegatedCheckout/Orders.js +0 -11
- package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
- package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
- package/esm/resources/DelegatedCheckout/index.js +0 -11
- package/esm/resources/DelegatedCheckout/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/GiftCardOperations.d.ts +0 -249
- package/esm/resources/GiftCardOperations.js +0 -11
- package/esm/resources/GiftCardOperations.js.map +0 -1
- package/esm/resources/GiftCards.d.ts +0 -187
- package/esm/resources/GiftCards.js +0 -47
- package/esm/resources/GiftCards.js.map +0 -1
- package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
- package/esm/resources/Identity/BlocklistEntries.js +0 -50
- package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Programs.d.ts +0 -95
- package/esm/resources/Issuing/Programs.js +0 -31
- package/esm/resources/Issuing/Programs.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -83
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
- package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
- package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
- package/esm/resources/Orchestration/index.d.ts +0 -12
- package/esm/resources/Orchestration/index.js +0 -9
- package/esm/resources/Orchestration/index.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4773
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
- package/esm/resources/PaymentLocationCapabilities.js +0 -25
- package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
- package/esm/resources/PaymentLocations.d.ts +0 -178
- package/esm/resources/PaymentLocations.js +0 -37
- package/esm/resources/PaymentLocations.js.map +0 -1
- package/esm/resources/PaymentMethodBalances.d.ts +0 -46
- package/esm/resources/PaymentMethodBalances.js +0 -3
- package/esm/resources/PaymentMethodBalances.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -126
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/Profiles.d.ts +0 -68
- package/esm/resources/Profiles.js +0 -3
- package/esm/resources/Profiles.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -684
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1179
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +0 -308
- package/esm/resources/Radar/AccountEvaluations.js +0 -23
- package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
- package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
- package/esm/resources/Radar/CustomerEvaluations.js +0 -23
- package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
- package/esm/resources/RiskSignals.d.ts +0 -10
- package/esm/resources/RiskSignals.js +0 -3
- package/esm/resources/RiskSignals.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -336
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -228
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/TaxFunds.d.ts +0 -174
- package/esm/resources/TaxFunds.js +0 -19
- package/esm/resources/TaxFunds.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
- package/esm/resources/TestHelpers/Capital/index.js +0 -9
- package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
- package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
- package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
- package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/TransitBalances.d.ts +0 -25
- package/esm/resources/TransitBalances.js +0 -3
- package/esm/resources/TransitBalances.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
- package/esm/resources/V2/Billing/Cadences.js +0 -260
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
- package/esm/resources/V2/Billing/Contracts.d.ts +0 -1484
- package/esm/resources/V2/Billing/Contracts.js +0 -327
- package/esm/resources/V2/Billing/Contracts.js.map +0 -1
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
- package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
- package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
- package/esm/resources/V2/Billing/IntentActions.js +0 -3
- package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
- package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
- package/esm/resources/V2/Billing/Intents.d.ts +0 -1253
- package/esm/resources/V2/Billing/Intents.js +0 -83
- package/esm/resources/V2/Billing/Intents.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
- package/esm/resources/V2/Billing/LicenseFees.js +0 -144
- package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
- package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
- package/esm/resources/V2/Billing/LicensedItems.js +0 -31
- package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
- package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
- package/esm/resources/V2/Billing/MeteredItems.js +0 -31
- package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
- package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
- package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
- package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
- package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
- package/esm/resources/V2/Billing/PricingPlans.js +0 -39
- package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
- package/esm/resources/V2/Billing/RateCardRates.js +0 -3
- package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
- package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
- package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
- package/esm/resources/V2/Billing/RateCards.js +0 -72
- package/esm/resources/V2/Billing/RateCards.js.map +0 -1
- package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
- package/esm/resources/V2/Billing/ServiceActions.js +0 -158
- package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -156
- package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
- package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
- package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
- package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
- package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
- package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
- package/esm/resources/V2/Core/FeeBatches.js +0 -19
- package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
- package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
- package/esm/resources/V2/Core/FeeEntries.js +0 -19
- package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
- package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
- package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -530
- package/esm/resources/V2/Core/Health/Alerts.js +0 -178
- package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
- package/esm/resources/V2/Core/Health/index.d.ts +0 -16
- package/esm/resources/V2/Core/Health/index.js +0 -9
- package/esm/resources/V2/Core/Health/index.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
- package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
- package/esm/resources/V2/Data/Analytics/index.js +0 -9
- package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -13
- package/esm/resources/V2/Data/index.js +0 -11
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -211
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
- package/esm/resources/V2/Iam/ApiKeys.js +0 -43
- package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -23
- package/esm/resources/V2/Iam/index.js +0 -11
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -143
- package/esm/resources/V2/MoneyManagement/index.js +0 -45
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
- package/esm/resources/V2/Payments/index.d.ts +0 -31
- package/esm/resources/V2/Payments/index.js +0 -11
- package/esm/resources/V2/Payments/index.js.map +0 -1
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
- package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
- package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
- package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
- package/esm/resources/V2/Reporting/Reports.js +0 -13
- package/esm/resources/V2/Reporting/Reports.js.map +0 -1
- package/esm/resources/V2/Reporting/index.d.ts +0 -18
- package/esm/resources/V2/Reporting/index.js +0 -11
- package/esm/resources/V2/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -172
- package/esm/resources/V2/Signals/AccountSignals.js +0 -54
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -13
- package/esm/resources/V2/Signals/index.js +0 -9
- package/esm/resources/V2/Signals/index.js.map +0 -1
- package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
- package/esm/resources/V2/Tax/ManualRules.js +0 -189
- package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
- package/esm/resources/V2/Tax/index.d.ts +0 -16
- package/esm/resources/V2/Tax/index.js +0 -9
- package/esm/resources/V2/Tax/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
- package/esm/resources/V2/TestHelpers/index.js +0 -11
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -2,13 +2,12 @@ import { StripeResource } from '../StripeResource.js';
|
|
|
2
2
|
import { Discount as _Discount } from './Discounts.js';
|
|
3
3
|
import { Application, DeletedApplication } from './Applications.js';
|
|
4
4
|
import { Customer, DeletedCustomer } from './Customers.js';
|
|
5
|
-
import { Invoice } from './Invoices.js';
|
|
6
5
|
import { Subscription } from './Subscriptions.js';
|
|
7
|
-
import { Price, DeletedPrice } from './Prices.js';
|
|
8
6
|
import { PaymentMethod } from './PaymentMethods.js';
|
|
9
7
|
import { Account } from './Accounts.js';
|
|
10
8
|
import { TaxId, DeletedTaxId } from './TaxIds.js';
|
|
11
9
|
import { TaxRate } from './TaxRates.js';
|
|
10
|
+
import { Price, DeletedPrice } from './Prices.js';
|
|
12
11
|
import { Coupon } from './Coupons.js';
|
|
13
12
|
import { PromotionCode } from './PromotionCodes.js';
|
|
14
13
|
import { Plan, DeletedPlan } from './Plans.js';
|
|
@@ -32,10 +31,6 @@ export declare class SubscriptionScheduleResource extends StripeResource {
|
|
|
32
31
|
* Updates an existing subscription schedule.
|
|
33
32
|
*/
|
|
34
33
|
update(id: string, params?: SubscriptionScheduleUpdateParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
|
|
35
|
-
/**
|
|
36
|
-
* Amends an existing subscription schedule.
|
|
37
|
-
*/
|
|
38
|
-
amend(id: string, params?: SubscriptionScheduleAmendParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
|
|
39
34
|
/**
|
|
40
35
|
* Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.
|
|
41
36
|
*/
|
|
@@ -44,22 +39,6 @@ export declare class SubscriptionScheduleResource extends StripeResource {
|
|
|
44
39
|
* Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property.
|
|
45
40
|
*/
|
|
46
41
|
release(id: string, params?: SubscriptionScheduleReleaseParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
|
|
47
|
-
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
48
|
-
apiVersion?: string;
|
|
49
|
-
stripeContext?: string;
|
|
50
|
-
}): string;
|
|
51
|
-
serializeBatchUpdate(schedule: string, params?: Record<string, unknown>, options?: {
|
|
52
|
-
apiVersion?: string;
|
|
53
|
-
stripeContext?: string;
|
|
54
|
-
}): string;
|
|
55
|
-
serializeBatchCancel(schedule: string, params?: Record<string, unknown>, options?: {
|
|
56
|
-
apiVersion?: string;
|
|
57
|
-
stripeContext?: string;
|
|
58
|
-
}): string;
|
|
59
|
-
serializeBatchRelease(schedule: string, params?: Record<string, unknown>, options?: {
|
|
60
|
-
apiVersion?: string;
|
|
61
|
-
stripeContext?: string;
|
|
62
|
-
}): string;
|
|
63
42
|
}
|
|
64
43
|
export interface SubscriptionSchedule {
|
|
65
44
|
/**
|
|
@@ -74,18 +53,10 @@ export interface SubscriptionSchedule {
|
|
|
74
53
|
* ID of the Connect Application that created the schedule.
|
|
75
54
|
*/
|
|
76
55
|
application: string | Application | DeletedApplication | null;
|
|
77
|
-
/**
|
|
78
|
-
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
79
|
-
*/
|
|
80
|
-
billing_behavior?: SubscriptionSchedule.BillingBehavior;
|
|
81
56
|
/**
|
|
82
57
|
* The billing mode of the subscription.
|
|
83
58
|
*/
|
|
84
59
|
billing_mode: SubscriptionSchedule.BillingMode;
|
|
85
|
-
/**
|
|
86
|
-
* Billing schedules for this subscription schedule.
|
|
87
|
-
*/
|
|
88
|
-
billing_schedules?: Array<SubscriptionSchedule.BillingSchedule>;
|
|
89
60
|
/**
|
|
90
61
|
* Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
|
|
91
62
|
*/
|
|
@@ -115,14 +86,6 @@ export interface SubscriptionSchedule {
|
|
|
115
86
|
* Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
|
116
87
|
*/
|
|
117
88
|
end_behavior: SubscriptionSchedule.EndBehavior;
|
|
118
|
-
/**
|
|
119
|
-
* Details of the most recent price migration that failed for the subscription schedule.
|
|
120
|
-
*/
|
|
121
|
-
last_price_migration_error?: SubscriptionSchedule.LastPriceMigrationError | null;
|
|
122
|
-
/**
|
|
123
|
-
* The most recent invoice this subscription schedule has generated.
|
|
124
|
-
*/
|
|
125
|
-
latest_invoice?: string | Invoice | null;
|
|
126
89
|
/**
|
|
127
90
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
128
91
|
*/
|
|
@@ -131,18 +94,10 @@ export interface SubscriptionSchedule {
|
|
|
131
94
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
132
95
|
*/
|
|
133
96
|
metadata: Metadata | null;
|
|
134
|
-
/**
|
|
135
|
-
* The pause schedules for this subscription schedule.
|
|
136
|
-
*/
|
|
137
|
-
pause_schedules?: Array<SubscriptionSchedule.PauseSchedule>;
|
|
138
97
|
/**
|
|
139
98
|
* Configuration for the subscription schedule's phases.
|
|
140
99
|
*/
|
|
141
100
|
phases: Array<SubscriptionSchedule.Phase>;
|
|
142
|
-
/**
|
|
143
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
144
|
-
*/
|
|
145
|
-
prebilling?: SubscriptionSchedule.Prebilling | null;
|
|
146
101
|
/**
|
|
147
102
|
* Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
|
|
148
103
|
*/
|
|
@@ -165,7 +120,6 @@ export interface SubscriptionSchedule {
|
|
|
165
120
|
test_clock: string | TestHelpers.TestClock | null;
|
|
166
121
|
}
|
|
167
122
|
export declare namespace SubscriptionSchedule {
|
|
168
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
|
|
169
123
|
interface BillingMode {
|
|
170
124
|
/**
|
|
171
125
|
* Configure behavior for flexible billing mode
|
|
@@ -180,20 +134,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
180
134
|
*/
|
|
181
135
|
updated_at?: number;
|
|
182
136
|
}
|
|
183
|
-
interface BillingSchedule {
|
|
184
|
-
/**
|
|
185
|
-
* Specifies which subscription items the billing schedule applies to.
|
|
186
|
-
*/
|
|
187
|
-
applies_to: Array<BillingSchedule.AppliesTo> | null;
|
|
188
|
-
/**
|
|
189
|
-
* Specifies the end of billing period.
|
|
190
|
-
*/
|
|
191
|
-
bill_until: BillingSchedule.BillUntil;
|
|
192
|
-
/**
|
|
193
|
-
* Unique identifier for the billing schedule.
|
|
194
|
-
*/
|
|
195
|
-
key: string;
|
|
196
|
-
}
|
|
197
137
|
interface CurrentPhase {
|
|
198
138
|
/**
|
|
199
139
|
* The end of this phase of the subscription schedule.
|
|
@@ -235,41 +175,12 @@ export declare namespace SubscriptionSchedule {
|
|
|
235
175
|
* The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
|
|
236
176
|
*/
|
|
237
177
|
on_behalf_of: string | Account | null;
|
|
238
|
-
/**
|
|
239
|
-
* Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
240
|
-
*/
|
|
241
|
-
phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
|
|
242
178
|
/**
|
|
243
179
|
* The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
|
244
180
|
*/
|
|
245
181
|
transfer_data: DefaultSettings.TransferData | null;
|
|
246
182
|
}
|
|
247
183
|
type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
|
|
248
|
-
interface LastPriceMigrationError {
|
|
249
|
-
/**
|
|
250
|
-
* The time at which the price migration encountered an error.
|
|
251
|
-
*/
|
|
252
|
-
errored_at: number;
|
|
253
|
-
/**
|
|
254
|
-
* The involved price pairs in each failed transition.
|
|
255
|
-
*/
|
|
256
|
-
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
257
|
-
/**
|
|
258
|
-
* The type of error encountered by the price migration.
|
|
259
|
-
*/
|
|
260
|
-
type: 'price_uniqueness_violation';
|
|
261
|
-
}
|
|
262
|
-
interface PauseSchedule {
|
|
263
|
-
/**
|
|
264
|
-
* A unique identifier for this pause schedule.
|
|
265
|
-
*/
|
|
266
|
-
key: string;
|
|
267
|
-
pause: PauseSchedule.Pause;
|
|
268
|
-
/**
|
|
269
|
-
* Details about when and how the subscription resumes.
|
|
270
|
-
*/
|
|
271
|
-
resume: PauseSchedule.Resume | null;
|
|
272
|
-
}
|
|
273
184
|
interface Phase {
|
|
274
185
|
/**
|
|
275
186
|
* A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
|
|
@@ -312,10 +223,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
312
223
|
* The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
|
|
313
224
|
*/
|
|
314
225
|
discounts: Array<Phase.Discount>;
|
|
315
|
-
/**
|
|
316
|
-
* Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
317
|
-
*/
|
|
318
|
-
effective_at?: Phase.EffectiveAt | null;
|
|
319
226
|
/**
|
|
320
227
|
* The end of this phase of the subscription schedule.
|
|
321
228
|
*/
|
|
@@ -336,10 +243,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
336
243
|
* The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
|
|
337
244
|
*/
|
|
338
245
|
on_behalf_of: string | Account | null;
|
|
339
|
-
/**
|
|
340
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
|
|
341
|
-
*/
|
|
342
|
-
pause_collection?: Phase.PauseCollection | null;
|
|
343
246
|
/**
|
|
344
247
|
* When transitioning phases, controls how prorations are handled (if any). Possible values are `create_prorations`, `none`, and `always_invoice`.
|
|
345
248
|
*/
|
|
@@ -356,36 +259,10 @@ export declare namespace SubscriptionSchedule {
|
|
|
356
259
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
357
260
|
*/
|
|
358
261
|
trial?: boolean;
|
|
359
|
-
/**
|
|
360
|
-
* Specify behavior of the trial when crossing schedule phase boundaries
|
|
361
|
-
*/
|
|
362
|
-
trial_continuation?: Phase.TrialContinuation | null;
|
|
363
262
|
/**
|
|
364
263
|
* When the trial ends within the phase.
|
|
365
264
|
*/
|
|
366
265
|
trial_end: number | null;
|
|
367
|
-
/**
|
|
368
|
-
* Settings related to any trials on the subscription during this phase.
|
|
369
|
-
*/
|
|
370
|
-
trial_settings?: Phase.TrialSettings | null;
|
|
371
|
-
}
|
|
372
|
-
interface Prebilling {
|
|
373
|
-
/**
|
|
374
|
-
* ID of the prebilling invoice.
|
|
375
|
-
*/
|
|
376
|
-
invoice: string | Invoice;
|
|
377
|
-
/**
|
|
378
|
-
* The end of the last period for which the invoice pre-bills.
|
|
379
|
-
*/
|
|
380
|
-
period_end: number;
|
|
381
|
-
/**
|
|
382
|
-
* The start of the first period for which the invoice pre-bills.
|
|
383
|
-
*/
|
|
384
|
-
period_start: number;
|
|
385
|
-
/**
|
|
386
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
387
|
-
*/
|
|
388
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
389
266
|
}
|
|
390
267
|
type Status = 'active' | 'canceled' | 'completed' | 'not_started' | 'released';
|
|
391
268
|
namespace BillingMode {
|
|
@@ -400,52 +277,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
400
277
|
type ProrationDiscounts = 'included' | 'itemized';
|
|
401
278
|
}
|
|
402
279
|
}
|
|
403
|
-
namespace BillingSchedule {
|
|
404
|
-
interface AppliesTo {
|
|
405
|
-
/**
|
|
406
|
-
* The billing schedule will apply to the subscription item with the given price ID.
|
|
407
|
-
*/
|
|
408
|
-
price: string | Price | null;
|
|
409
|
-
/**
|
|
410
|
-
* Controls which subscription items the billing schedule applies to.
|
|
411
|
-
*/
|
|
412
|
-
type: 'price';
|
|
413
|
-
}
|
|
414
|
-
interface BillUntil {
|
|
415
|
-
/**
|
|
416
|
-
* The timestamp the billing schedule will apply until.
|
|
417
|
-
*/
|
|
418
|
-
computed_timestamp: number;
|
|
419
|
-
/**
|
|
420
|
-
* Specifies the billing period.
|
|
421
|
-
*/
|
|
422
|
-
duration: BillUntil.Duration | null;
|
|
423
|
-
/**
|
|
424
|
-
* If specified, the billing schedule will apply until the specified timestamp.
|
|
425
|
-
*/
|
|
426
|
-
timestamp: number | null;
|
|
427
|
-
/**
|
|
428
|
-
* Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
429
|
-
*/
|
|
430
|
-
type: BillUntil.Type;
|
|
431
|
-
}
|
|
432
|
-
namespace BillUntil {
|
|
433
|
-
interface Duration {
|
|
434
|
-
/**
|
|
435
|
-
* Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
436
|
-
*/
|
|
437
|
-
interval: Duration.Interval;
|
|
438
|
-
/**
|
|
439
|
-
* The multiplier applied to the interval.
|
|
440
|
-
*/
|
|
441
|
-
interval_count: number | null;
|
|
442
|
-
}
|
|
443
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
444
|
-
namespace Duration {
|
|
445
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
280
|
namespace DefaultSettings {
|
|
450
281
|
interface AutomaticTax {
|
|
451
282
|
/**
|
|
@@ -496,7 +327,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
496
327
|
footer: string | null;
|
|
497
328
|
issuer: InvoiceSettings.Issuer;
|
|
498
329
|
}
|
|
499
|
-
type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
|
|
500
330
|
interface TransferData {
|
|
501
331
|
/**
|
|
502
332
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -519,7 +349,7 @@ export declare namespace SubscriptionSchedule {
|
|
|
519
349
|
type: Liability.Type;
|
|
520
350
|
}
|
|
521
351
|
namespace Liability {
|
|
522
|
-
type Type = 'account' | '
|
|
352
|
+
type Type = 'account' | 'self' | OtherString;
|
|
523
353
|
}
|
|
524
354
|
}
|
|
525
355
|
namespace InvoiceSettings {
|
|
@@ -544,99 +374,7 @@ export declare namespace SubscriptionSchedule {
|
|
|
544
374
|
type: Issuer.Type;
|
|
545
375
|
}
|
|
546
376
|
namespace Issuer {
|
|
547
|
-
type Type = 'account' | '
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
namespace LastPriceMigrationError {
|
|
552
|
-
interface FailedTransition {
|
|
553
|
-
/**
|
|
554
|
-
* The original price to be migrated.
|
|
555
|
-
*/
|
|
556
|
-
source_price: string;
|
|
557
|
-
/**
|
|
558
|
-
* The intended resulting price of the migration.
|
|
559
|
-
*/
|
|
560
|
-
target_price: string;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
namespace PauseSchedule {
|
|
564
|
-
interface Pause {
|
|
565
|
-
/**
|
|
566
|
-
* Time at which the subscription pauses.
|
|
567
|
-
*/
|
|
568
|
-
pause_at: number;
|
|
569
|
-
/**
|
|
570
|
-
* Settings controlling billing behavior during the pause.
|
|
571
|
-
*/
|
|
572
|
-
settings: Pause.Settings | null;
|
|
573
|
-
}
|
|
574
|
-
interface Resume {
|
|
575
|
-
/**
|
|
576
|
-
* Time at which the subscription resumes.
|
|
577
|
-
*/
|
|
578
|
-
resume_at: number;
|
|
579
|
-
settings: Resume.Settings;
|
|
580
|
-
}
|
|
581
|
-
namespace Pause {
|
|
582
|
-
interface Settings {
|
|
583
|
-
bill_for: Settings.BillFor;
|
|
584
|
-
/**
|
|
585
|
-
* Determines how to handle debits and credits when pausing.
|
|
586
|
-
*/
|
|
587
|
-
invoicing_behavior: Settings.InvoicingBehavior;
|
|
588
|
-
/**
|
|
589
|
-
* The type of pause settings.
|
|
590
|
-
*/
|
|
591
|
-
type: 'subscription';
|
|
592
|
-
}
|
|
593
|
-
namespace Settings {
|
|
594
|
-
interface BillFor {
|
|
595
|
-
outstanding_usage_through: BillFor.OutstandingUsageThrough;
|
|
596
|
-
unused_time_from: BillFor.UnusedTimeFrom;
|
|
597
|
-
}
|
|
598
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
599
|
-
namespace BillFor {
|
|
600
|
-
interface OutstandingUsageThrough {
|
|
601
|
-
/**
|
|
602
|
-
* The type of outstanding usage billing behavior.
|
|
603
|
-
*/
|
|
604
|
-
type: OutstandingUsageThrough.Type;
|
|
605
|
-
}
|
|
606
|
-
interface UnusedTimeFrom {
|
|
607
|
-
/**
|
|
608
|
-
* The type of unused time credit behavior.
|
|
609
|
-
*/
|
|
610
|
-
type: UnusedTimeFrom.Type;
|
|
611
|
-
}
|
|
612
|
-
namespace OutstandingUsageThrough {
|
|
613
|
-
type Type = 'none' | 'pause_at';
|
|
614
|
-
}
|
|
615
|
-
namespace UnusedTimeFrom {
|
|
616
|
-
type Type = 'item_current_period_start' | 'none' | 'pause_at';
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
namespace Resume {
|
|
622
|
-
interface Settings {
|
|
623
|
-
/**
|
|
624
|
-
* The billing cycle anchor that applies when the subscription is resumed.
|
|
625
|
-
*/
|
|
626
|
-
billing_cycle_anchor: Settings.BillingCycleAnchor;
|
|
627
|
-
/**
|
|
628
|
-
* Controls whether Stripe attempts payment on the resumption invoice and how that affects the subscription's status.
|
|
629
|
-
*/
|
|
630
|
-
payment_behavior: Settings.PaymentBehavior;
|
|
631
|
-
/**
|
|
632
|
-
* Determines how to handle prorations resulting from the billing_cycle_anchor change on resume.
|
|
633
|
-
*/
|
|
634
|
-
proration_behavior: Settings.ProrationBehavior;
|
|
635
|
-
}
|
|
636
|
-
namespace Settings {
|
|
637
|
-
type BillingCycleAnchor = 'resume_at' | 'unchanged';
|
|
638
|
-
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
639
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
377
|
+
type Type = 'account' | 'self' | OtherString;
|
|
640
378
|
}
|
|
641
379
|
}
|
|
642
380
|
}
|
|
@@ -703,17 +441,11 @@ export declare namespace SubscriptionSchedule {
|
|
|
703
441
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
704
442
|
*/
|
|
705
443
|
discount: string | _Discount | null;
|
|
706
|
-
/**
|
|
707
|
-
* Details to determine how long the discount should be applied for.
|
|
708
|
-
*/
|
|
709
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
710
444
|
/**
|
|
711
445
|
* ID of the promotion code to create a new discount for.
|
|
712
446
|
*/
|
|
713
447
|
promotion_code: string | PromotionCode | null;
|
|
714
|
-
settings?: Discount.Settings;
|
|
715
448
|
}
|
|
716
|
-
type EffectiveAt = 'billing_period_start' | 'phase_start';
|
|
717
449
|
interface InvoiceSettings {
|
|
718
450
|
/**
|
|
719
451
|
* The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
|
@@ -769,20 +501,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
769
501
|
* The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.
|
|
770
502
|
*/
|
|
771
503
|
tax_rates?: Array<TaxRate> | null;
|
|
772
|
-
/**
|
|
773
|
-
* Options that configure the trial on the subscription item.
|
|
774
|
-
*/
|
|
775
|
-
trial?: Item.Trial | null;
|
|
776
|
-
/**
|
|
777
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
778
|
-
*/
|
|
779
|
-
trial_offer?: string | null;
|
|
780
|
-
}
|
|
781
|
-
interface PauseCollection {
|
|
782
|
-
/**
|
|
783
|
-
* The payment collection behavior for this subscription while paused.
|
|
784
|
-
*/
|
|
785
|
-
behavior: PauseCollection.Behavior;
|
|
786
504
|
}
|
|
787
505
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
|
|
788
506
|
interface TransferData {
|
|
@@ -795,13 +513,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
795
513
|
*/
|
|
796
514
|
destination: string | Account;
|
|
797
515
|
}
|
|
798
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
799
|
-
interface TrialSettings {
|
|
800
|
-
/**
|
|
801
|
-
* Defines how the subscription should behave when a trial ends.
|
|
802
|
-
*/
|
|
803
|
-
end_behavior: TrialSettings.EndBehavior | null;
|
|
804
|
-
}
|
|
805
516
|
namespace AddInvoiceItem {
|
|
806
517
|
interface Discount {
|
|
807
518
|
/**
|
|
@@ -812,10 +523,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
812
523
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
813
524
|
*/
|
|
814
525
|
discount: string | _Discount | null;
|
|
815
|
-
/**
|
|
816
|
-
* Details to determine how long the discount should be applied for.
|
|
817
|
-
*/
|
|
818
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
819
526
|
/**
|
|
820
527
|
* ID of the promotion code to create a new discount for.
|
|
821
528
|
*/
|
|
@@ -825,18 +532,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
825
532
|
end: Period.End;
|
|
826
533
|
start: Period.Start;
|
|
827
534
|
}
|
|
828
|
-
namespace Discount {
|
|
829
|
-
interface DiscountEnd {
|
|
830
|
-
/**
|
|
831
|
-
* The discount end timestamp.
|
|
832
|
-
*/
|
|
833
|
-
timestamp: number | null;
|
|
834
|
-
/**
|
|
835
|
-
* The discount end type.
|
|
836
|
-
*/
|
|
837
|
-
type: 'timestamp';
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
535
|
namespace Period {
|
|
841
536
|
interface End {
|
|
842
537
|
/**
|
|
@@ -878,61 +573,7 @@ export declare namespace SubscriptionSchedule {
|
|
|
878
573
|
type: Liability.Type;
|
|
879
574
|
}
|
|
880
575
|
namespace Liability {
|
|
881
|
-
type Type = 'account' | '
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
namespace Discount {
|
|
885
|
-
interface DiscountEnd {
|
|
886
|
-
/**
|
|
887
|
-
* The discount end timestamp.
|
|
888
|
-
*/
|
|
889
|
-
timestamp: number | null;
|
|
890
|
-
/**
|
|
891
|
-
* The discount end type.
|
|
892
|
-
*/
|
|
893
|
-
type: 'timestamp';
|
|
894
|
-
}
|
|
895
|
-
interface Settings {
|
|
896
|
-
service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
|
|
897
|
-
/**
|
|
898
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
|
|
899
|
-
*/
|
|
900
|
-
start_date: Settings.StartDate;
|
|
901
|
-
}
|
|
902
|
-
namespace Settings {
|
|
903
|
-
interface ServicePeriodAnchorConfig {
|
|
904
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
905
|
-
/**
|
|
906
|
-
* The type of service period anchor config.
|
|
907
|
-
*/
|
|
908
|
-
type: ServicePeriodAnchorConfig.Type;
|
|
909
|
-
}
|
|
910
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
911
|
-
namespace ServicePeriodAnchorConfig {
|
|
912
|
-
interface Custom {
|
|
913
|
-
/**
|
|
914
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
915
|
-
*/
|
|
916
|
-
day_of_month: number;
|
|
917
|
-
/**
|
|
918
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
919
|
-
*/
|
|
920
|
-
hour: number | null;
|
|
921
|
-
/**
|
|
922
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
923
|
-
*/
|
|
924
|
-
minute: number | null;
|
|
925
|
-
/**
|
|
926
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
927
|
-
*/
|
|
928
|
-
month: number | null;
|
|
929
|
-
/**
|
|
930
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
931
|
-
*/
|
|
932
|
-
second: number | null;
|
|
933
|
-
}
|
|
934
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
935
|
-
}
|
|
576
|
+
type Type = 'account' | 'self' | OtherString;
|
|
936
577
|
}
|
|
937
578
|
}
|
|
938
579
|
namespace InvoiceSettings {
|
|
@@ -957,7 +598,7 @@ export declare namespace SubscriptionSchedule {
|
|
|
957
598
|
type: Issuer.Type;
|
|
958
599
|
}
|
|
959
600
|
namespace Issuer {
|
|
960
|
-
type Type = 'account' | '
|
|
601
|
+
type Type = 'account' | 'self' | OtherString;
|
|
961
602
|
}
|
|
962
603
|
}
|
|
963
604
|
namespace Item {
|
|
@@ -976,116 +617,19 @@ export declare namespace SubscriptionSchedule {
|
|
|
976
617
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
977
618
|
*/
|
|
978
619
|
discount: string | _Discount | null;
|
|
979
|
-
/**
|
|
980
|
-
* Details to determine how long the discount should be applied for.
|
|
981
|
-
*/
|
|
982
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
983
620
|
/**
|
|
984
621
|
* ID of the promotion code to create a new discount for.
|
|
985
622
|
*/
|
|
986
623
|
promotion_code: string | PromotionCode | null;
|
|
987
|
-
settings?: Discount.Settings;
|
|
988
|
-
}
|
|
989
|
-
interface Trial {
|
|
990
|
-
/**
|
|
991
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
|
|
992
|
-
*/
|
|
993
|
-
converts_to?: Array<string> | null;
|
|
994
|
-
/**
|
|
995
|
-
* Determines the type of trial for this item.
|
|
996
|
-
*/
|
|
997
|
-
type: Trial.Type;
|
|
998
|
-
}
|
|
999
|
-
namespace Discount {
|
|
1000
|
-
interface DiscountEnd {
|
|
1001
|
-
/**
|
|
1002
|
-
* The discount end timestamp.
|
|
1003
|
-
*/
|
|
1004
|
-
timestamp: number | null;
|
|
1005
|
-
/**
|
|
1006
|
-
* The discount end type.
|
|
1007
|
-
*/
|
|
1008
|
-
type: 'timestamp';
|
|
1009
|
-
}
|
|
1010
|
-
interface Settings {
|
|
1011
|
-
service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
|
|
1012
|
-
/**
|
|
1013
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
|
|
1014
|
-
*/
|
|
1015
|
-
start_date: Settings.StartDate;
|
|
1016
|
-
}
|
|
1017
|
-
namespace Settings {
|
|
1018
|
-
interface ServicePeriodAnchorConfig {
|
|
1019
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1020
|
-
/**
|
|
1021
|
-
* The type of service period anchor config.
|
|
1022
|
-
*/
|
|
1023
|
-
type: ServicePeriodAnchorConfig.Type;
|
|
1024
|
-
}
|
|
1025
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
1026
|
-
namespace ServicePeriodAnchorConfig {
|
|
1027
|
-
interface Custom {
|
|
1028
|
-
/**
|
|
1029
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1030
|
-
*/
|
|
1031
|
-
day_of_month: number;
|
|
1032
|
-
/**
|
|
1033
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1034
|
-
*/
|
|
1035
|
-
hour: number | null;
|
|
1036
|
-
/**
|
|
1037
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1038
|
-
*/
|
|
1039
|
-
minute: number | null;
|
|
1040
|
-
/**
|
|
1041
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1042
|
-
*/
|
|
1043
|
-
month: number | null;
|
|
1044
|
-
/**
|
|
1045
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1046
|
-
*/
|
|
1047
|
-
second: number | null;
|
|
1048
|
-
}
|
|
1049
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
namespace Trial {
|
|
1054
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
namespace PauseCollection {
|
|
1058
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
1059
|
-
}
|
|
1060
|
-
namespace TrialSettings {
|
|
1061
|
-
interface EndBehavior {
|
|
1062
|
-
/**
|
|
1063
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
1064
|
-
*/
|
|
1065
|
-
prorate_up_front: EndBehavior.ProrateUpFront | null;
|
|
1066
|
-
}
|
|
1067
|
-
namespace EndBehavior {
|
|
1068
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
1069
624
|
}
|
|
1070
625
|
}
|
|
1071
626
|
}
|
|
1072
|
-
namespace Prebilling {
|
|
1073
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1074
|
-
}
|
|
1075
627
|
}
|
|
1076
628
|
export interface SubscriptionScheduleCreateParams {
|
|
1077
|
-
/**
|
|
1078
|
-
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
1079
|
-
*/
|
|
1080
|
-
billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
|
|
1081
629
|
/**
|
|
1082
630
|
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
1083
631
|
*/
|
|
1084
632
|
billing_mode?: SubscriptionScheduleCreateParams.BillingMode;
|
|
1085
|
-
/**
|
|
1086
|
-
* Sets the billing schedules for the subscription schedule.
|
|
1087
|
-
*/
|
|
1088
|
-
billing_schedules?: Array<SubscriptionScheduleCreateParams.BillingSchedule>;
|
|
1089
633
|
/**
|
|
1090
634
|
* The identifier of the customer to create the subscription schedule for.
|
|
1091
635
|
*/
|
|
@@ -1114,25 +658,16 @@ export interface SubscriptionScheduleCreateParams {
|
|
|
1114
658
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1115
659
|
*/
|
|
1116
660
|
metadata?: Emptyable<MetadataParam>;
|
|
1117
|
-
/**
|
|
1118
|
-
* Sets the pause schedules for the subscription schedule. Each entry configures when and how the subscription pauses and optionally when and how it resumes.
|
|
1119
|
-
*/
|
|
1120
|
-
pause_schedules?: Array<SubscriptionScheduleCreateParams.PauseSchedule>;
|
|
1121
661
|
/**
|
|
1122
662
|
* List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
|
|
1123
663
|
*/
|
|
1124
664
|
phases?: Array<SubscriptionScheduleCreateParams.Phase>;
|
|
1125
|
-
/**
|
|
1126
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1127
|
-
*/
|
|
1128
|
-
prebilling?: SubscriptionScheduleCreateParams.Prebilling;
|
|
1129
665
|
/**
|
|
1130
666
|
* When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately, and to avoid unexpected behavior due to request delays or clock skew resulting in a slightly backdated or postdated start. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
|
|
1131
667
|
*/
|
|
1132
668
|
start_date?: number | 'now';
|
|
1133
669
|
}
|
|
1134
670
|
export declare namespace SubscriptionScheduleCreateParams {
|
|
1135
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
|
|
1136
671
|
interface BillingMode {
|
|
1137
672
|
/**
|
|
1138
673
|
* Configure behavior for flexible billing mode.
|
|
@@ -1143,20 +678,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1143
678
|
*/
|
|
1144
679
|
type: BillingMode.Type;
|
|
1145
680
|
}
|
|
1146
|
-
interface BillingSchedule {
|
|
1147
|
-
/**
|
|
1148
|
-
* Configure billing schedule differently for individual subscription items.
|
|
1149
|
-
*/
|
|
1150
|
-
applies_to?: Array<BillingSchedule.AppliesTo>;
|
|
1151
|
-
/**
|
|
1152
|
-
* The end date for the billing schedule.
|
|
1153
|
-
*/
|
|
1154
|
-
bill_until: BillingSchedule.BillUntil;
|
|
1155
|
-
/**
|
|
1156
|
-
* Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
|
|
1157
|
-
*/
|
|
1158
|
-
key?: string;
|
|
1159
|
-
}
|
|
1160
681
|
interface DefaultSettings {
|
|
1161
682
|
/**
|
|
1162
683
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
|
@@ -1194,30 +715,12 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1194
715
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
1195
716
|
*/
|
|
1196
717
|
on_behalf_of?: Emptyable<string>;
|
|
1197
|
-
/**
|
|
1198
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
1199
|
-
*/
|
|
1200
|
-
phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
|
|
1201
718
|
/**
|
|
1202
719
|
* The data with which to automatically create a Transfer for each of the associated subscription's invoices.
|
|
1203
720
|
*/
|
|
1204
721
|
transfer_data?: Emptyable<DefaultSettings.TransferData>;
|
|
1205
722
|
}
|
|
1206
723
|
type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
|
|
1207
|
-
interface PauseSchedule {
|
|
1208
|
-
/**
|
|
1209
|
-
* A unique identifier for this pause schedule entry.
|
|
1210
|
-
*/
|
|
1211
|
-
key?: string;
|
|
1212
|
-
/**
|
|
1213
|
-
* Configuration for when and how the subscription pauses.
|
|
1214
|
-
*/
|
|
1215
|
-
pause: PauseSchedule.Pause;
|
|
1216
|
-
/**
|
|
1217
|
-
* Configuration for when and how the subscription resumes.
|
|
1218
|
-
*/
|
|
1219
|
-
resume?: PauseSchedule.Resume;
|
|
1220
|
-
}
|
|
1221
724
|
interface Phase {
|
|
1222
725
|
/**
|
|
1223
726
|
* A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.
|
|
@@ -1267,10 +770,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1267
770
|
* The number of intervals the phase should last. If set, `end_date` must not be set.
|
|
1268
771
|
*/
|
|
1269
772
|
duration?: Phase.Duration;
|
|
1270
|
-
/**
|
|
1271
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
1272
|
-
*/
|
|
1273
|
-
effective_at?: Phase.EffectiveAt;
|
|
1274
773
|
/**
|
|
1275
774
|
* The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
|
|
1276
775
|
*/
|
|
@@ -1291,10 +790,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1291
790
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
1292
791
|
*/
|
|
1293
792
|
on_behalf_of?: string;
|
|
1294
|
-
/**
|
|
1295
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
|
|
1296
|
-
*/
|
|
1297
|
-
pause_collection?: Phase.PauseCollection;
|
|
1298
793
|
/**
|
|
1299
794
|
* Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
|
|
1300
795
|
*/
|
|
@@ -1307,28 +802,10 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1307
802
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
1308
803
|
*/
|
|
1309
804
|
trial?: boolean;
|
|
1310
|
-
/**
|
|
1311
|
-
* Specify trial behavior when crossing phase boundaries
|
|
1312
|
-
*/
|
|
1313
|
-
trial_continuation?: Phase.TrialContinuation;
|
|
1314
805
|
/**
|
|
1315
806
|
* Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`
|
|
1316
807
|
*/
|
|
1317
808
|
trial_end?: number;
|
|
1318
|
-
/**
|
|
1319
|
-
* Settings related to subscription trials.
|
|
1320
|
-
*/
|
|
1321
|
-
trial_settings?: Phase.TrialSettings;
|
|
1322
|
-
}
|
|
1323
|
-
interface Prebilling {
|
|
1324
|
-
/**
|
|
1325
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
1326
|
-
*/
|
|
1327
|
-
iterations: number;
|
|
1328
|
-
/**
|
|
1329
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1330
|
-
*/
|
|
1331
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1332
809
|
}
|
|
1333
810
|
namespace BillingMode {
|
|
1334
811
|
interface Flexible {
|
|
@@ -1342,48 +819,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1342
819
|
type ProrationDiscounts = 'included' | 'itemized';
|
|
1343
820
|
}
|
|
1344
821
|
}
|
|
1345
|
-
namespace BillingSchedule {
|
|
1346
|
-
interface AppliesTo {
|
|
1347
|
-
/**
|
|
1348
|
-
* The ID of the price object.
|
|
1349
|
-
*/
|
|
1350
|
-
price?: string;
|
|
1351
|
-
/**
|
|
1352
|
-
* Controls which subscription items the billing schedule applies to.
|
|
1353
|
-
*/
|
|
1354
|
-
type: 'price';
|
|
1355
|
-
}
|
|
1356
|
-
interface BillUntil {
|
|
1357
|
-
/**
|
|
1358
|
-
* Specifies the billing period.
|
|
1359
|
-
*/
|
|
1360
|
-
duration?: BillUntil.Duration;
|
|
1361
|
-
/**
|
|
1362
|
-
* The end date of the billing schedule.
|
|
1363
|
-
*/
|
|
1364
|
-
timestamp?: number;
|
|
1365
|
-
/**
|
|
1366
|
-
* Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
1367
|
-
*/
|
|
1368
|
-
type: BillUntil.Type;
|
|
1369
|
-
}
|
|
1370
|
-
namespace BillUntil {
|
|
1371
|
-
interface Duration {
|
|
1372
|
-
/**
|
|
1373
|
-
* Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
1374
|
-
*/
|
|
1375
|
-
interval: Duration.Interval;
|
|
1376
|
-
/**
|
|
1377
|
-
* The multiplier applied to the interval.
|
|
1378
|
-
*/
|
|
1379
|
-
interval_count?: number;
|
|
1380
|
-
}
|
|
1381
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1382
|
-
namespace Duration {
|
|
1383
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
822
|
namespace DefaultSettings {
|
|
1388
823
|
interface AutomaticTax {
|
|
1389
824
|
/**
|
|
@@ -1412,16 +847,18 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1412
847
|
* The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
|
|
1413
848
|
*/
|
|
1414
849
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
850
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
1415
851
|
/**
|
|
1416
852
|
* Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
|
|
1417
853
|
*/
|
|
1418
854
|
days_until_due?: number;
|
|
855
|
+
description?: Emptyable<string>;
|
|
856
|
+
footer?: Emptyable<string>;
|
|
1419
857
|
/**
|
|
1420
858
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
1421
859
|
*/
|
|
1422
860
|
issuer?: InvoiceSettings.Issuer;
|
|
1423
861
|
}
|
|
1424
|
-
type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
|
|
1425
862
|
interface TransferData {
|
|
1426
863
|
/**
|
|
1427
864
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -1444,10 +881,20 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1444
881
|
type: Liability.Type;
|
|
1445
882
|
}
|
|
1446
883
|
namespace Liability {
|
|
1447
|
-
type Type = 'account' | '
|
|
884
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1448
885
|
}
|
|
1449
886
|
}
|
|
1450
887
|
namespace InvoiceSettings {
|
|
888
|
+
interface CustomField {
|
|
889
|
+
/**
|
|
890
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
891
|
+
*/
|
|
892
|
+
name: string;
|
|
893
|
+
/**
|
|
894
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
895
|
+
*/
|
|
896
|
+
value: string;
|
|
897
|
+
}
|
|
1451
898
|
interface Issuer {
|
|
1452
899
|
/**
|
|
1453
900
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -1459,161 +906,26 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1459
906
|
type: Issuer.Type;
|
|
1460
907
|
}
|
|
1461
908
|
namespace Issuer {
|
|
1462
|
-
type Type = 'account' | '
|
|
909
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1463
910
|
}
|
|
1464
911
|
}
|
|
1465
912
|
}
|
|
1466
|
-
namespace
|
|
1467
|
-
interface
|
|
913
|
+
namespace Phase {
|
|
914
|
+
interface AddInvoiceItem {
|
|
1468
915
|
/**
|
|
1469
|
-
*
|
|
916
|
+
* Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
|
|
1470
917
|
*/
|
|
1471
|
-
|
|
918
|
+
discountable?: boolean;
|
|
1472
919
|
/**
|
|
1473
|
-
*
|
|
920
|
+
* The coupons to redeem into discounts for the item.
|
|
1474
921
|
*/
|
|
1475
|
-
|
|
1476
|
-
}
|
|
1477
|
-
interface Resume {
|
|
922
|
+
discounts?: Array<AddInvoiceItem.Discount>;
|
|
1478
923
|
/**
|
|
1479
|
-
*
|
|
924
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1480
925
|
*/
|
|
1481
|
-
|
|
926
|
+
metadata?: MetadataParam;
|
|
1482
927
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
*/
|
|
1485
|
-
settings?: Resume.Settings;
|
|
1486
|
-
}
|
|
1487
|
-
namespace Pause {
|
|
1488
|
-
interface PauseAt {
|
|
1489
|
-
/**
|
|
1490
|
-
* The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
|
|
1491
|
-
*/
|
|
1492
|
-
timestamp?: number;
|
|
1493
|
-
/**
|
|
1494
|
-
* When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
|
|
1495
|
-
*/
|
|
1496
|
-
type: PauseAt.Type;
|
|
1497
|
-
}
|
|
1498
|
-
interface Settings {
|
|
1499
|
-
/**
|
|
1500
|
-
* Controls what to bill for when pausing the subscription.
|
|
1501
|
-
*/
|
|
1502
|
-
bill_for?: Settings.BillFor;
|
|
1503
|
-
/**
|
|
1504
|
-
* Determines whether to generate an invoice for outstanding amounts when pausing.
|
|
1505
|
-
*/
|
|
1506
|
-
invoicing_behavior?: Settings.InvoicingBehavior;
|
|
1507
|
-
/**
|
|
1508
|
-
* The pause type. Currently only `subscription` is supported.
|
|
1509
|
-
*/
|
|
1510
|
-
type?: 'subscription';
|
|
1511
|
-
}
|
|
1512
|
-
namespace PauseAt {
|
|
1513
|
-
type Type = 'now' | 'timestamp' | OtherString;
|
|
1514
|
-
}
|
|
1515
|
-
namespace Settings {
|
|
1516
|
-
interface BillFor {
|
|
1517
|
-
/**
|
|
1518
|
-
* Controls whether to collect metered usage accrued up to the pause date.
|
|
1519
|
-
*/
|
|
1520
|
-
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
1521
|
-
/**
|
|
1522
|
-
* Controls how unused time on subscription items is credited when pausing.
|
|
1523
|
-
*/
|
|
1524
|
-
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
1525
|
-
}
|
|
1526
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
1527
|
-
namespace BillFor {
|
|
1528
|
-
interface OutstandingUsageThrough {
|
|
1529
|
-
/**
|
|
1530
|
-
* Determines whether to collect metered usage accrued up to the pause date.
|
|
1531
|
-
*/
|
|
1532
|
-
type?: OutstandingUsageThrough.Type;
|
|
1533
|
-
}
|
|
1534
|
-
interface UnusedTimeFrom {
|
|
1535
|
-
/**
|
|
1536
|
-
* Determines which point in the billing period unused time is credited from.
|
|
1537
|
-
*/
|
|
1538
|
-
type?: UnusedTimeFrom.Type;
|
|
1539
|
-
}
|
|
1540
|
-
namespace OutstandingUsageThrough {
|
|
1541
|
-
type Type = 'none' | 'pause_at';
|
|
1542
|
-
}
|
|
1543
|
-
namespace UnusedTimeFrom {
|
|
1544
|
-
type Type = 'item_current_period_start' | 'none' | 'pause_at';
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
namespace Resume {
|
|
1550
|
-
interface ResumeAt {
|
|
1551
|
-
/**
|
|
1552
|
-
* The duration after which to resume the subscription. Required when `type` is `duration`.
|
|
1553
|
-
*/
|
|
1554
|
-
duration?: ResumeAt.Duration;
|
|
1555
|
-
/**
|
|
1556
|
-
* The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
|
|
1557
|
-
*/
|
|
1558
|
-
timestamp?: number;
|
|
1559
|
-
/**
|
|
1560
|
-
* When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.
|
|
1561
|
-
*/
|
|
1562
|
-
type: ResumeAt.Type;
|
|
1563
|
-
}
|
|
1564
|
-
interface Settings {
|
|
1565
|
-
/**
|
|
1566
|
-
* Controls the billing cycle anchor when the subscription resumes.
|
|
1567
|
-
*/
|
|
1568
|
-
billing_cycle_anchor?: Settings.BillingCycleAnchor;
|
|
1569
|
-
/**
|
|
1570
|
-
* Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
|
|
1571
|
-
*/
|
|
1572
|
-
payment_behavior?: Settings.PaymentBehavior;
|
|
1573
|
-
/**
|
|
1574
|
-
* Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
|
|
1575
|
-
*/
|
|
1576
|
-
proration_behavior?: Settings.ProrationBehavior;
|
|
1577
|
-
}
|
|
1578
|
-
namespace ResumeAt {
|
|
1579
|
-
interface Duration {
|
|
1580
|
-
/**
|
|
1581
|
-
* The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
|
|
1582
|
-
*/
|
|
1583
|
-
interval: Duration.Interval;
|
|
1584
|
-
/**
|
|
1585
|
-
* The number of intervals after which the subscription resumes.
|
|
1586
|
-
*/
|
|
1587
|
-
interval_count?: number;
|
|
1588
|
-
}
|
|
1589
|
-
type Type = 'duration' | 'now' | 'timestamp' | OtherString;
|
|
1590
|
-
namespace Duration {
|
|
1591
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
namespace Settings {
|
|
1595
|
-
type BillingCycleAnchor = 'resume_at' | 'unchanged';
|
|
1596
|
-
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
1597
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
namespace Phase {
|
|
1602
|
-
interface AddInvoiceItem {
|
|
1603
|
-
/**
|
|
1604
|
-
* Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
|
|
1605
|
-
*/
|
|
1606
|
-
discountable?: boolean;
|
|
1607
|
-
/**
|
|
1608
|
-
* The coupons to redeem into discounts for the item.
|
|
1609
|
-
*/
|
|
1610
|
-
discounts?: Array<AddInvoiceItem.Discount>;
|
|
1611
|
-
/**
|
|
1612
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1613
|
-
*/
|
|
1614
|
-
metadata?: MetadataParam;
|
|
1615
|
-
/**
|
|
1616
|
-
* The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
|
|
928
|
+
* The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
|
|
1617
929
|
*/
|
|
1618
930
|
period?: AddInvoiceItem.Period;
|
|
1619
931
|
/**
|
|
@@ -1664,18 +976,10 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1664
976
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1665
977
|
*/
|
|
1666
978
|
discount?: string;
|
|
1667
|
-
/**
|
|
1668
|
-
* Details to determine how long the discount should be applied for.
|
|
1669
|
-
*/
|
|
1670
|
-
discount_end?: Discount.DiscountEnd;
|
|
1671
979
|
/**
|
|
1672
980
|
* ID of the promotion code to create a new discount for.
|
|
1673
981
|
*/
|
|
1674
982
|
promotion_code?: string;
|
|
1675
|
-
/**
|
|
1676
|
-
* Settings for discount application including service period anchoring.
|
|
1677
|
-
*/
|
|
1678
|
-
settings?: Discount.Settings;
|
|
1679
983
|
}
|
|
1680
984
|
interface Duration {
|
|
1681
985
|
/**
|
|
@@ -1687,16 +991,27 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1687
991
|
*/
|
|
1688
992
|
interval_count?: number;
|
|
1689
993
|
}
|
|
1690
|
-
type EffectiveAt = 'billing_period_start' | 'phase_start';
|
|
1691
994
|
interface InvoiceSettings {
|
|
1692
995
|
/**
|
|
1693
996
|
* The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
|
1694
997
|
*/
|
|
1695
998
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
999
|
+
/**
|
|
1000
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
1001
|
+
*/
|
|
1002
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
1696
1003
|
/**
|
|
1697
1004
|
* Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
|
|
1698
1005
|
*/
|
|
1699
1006
|
days_until_due?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1009
|
+
*/
|
|
1010
|
+
description?: Emptyable<string>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Footer to be displayed on the invoice.
|
|
1013
|
+
*/
|
|
1014
|
+
footer?: Emptyable<string>;
|
|
1700
1015
|
/**
|
|
1701
1016
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
1702
1017
|
*/
|
|
@@ -1735,20 +1050,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1735
1050
|
* A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
|
1736
1051
|
*/
|
|
1737
1052
|
tax_rates?: Emptyable<Array<string>>;
|
|
1738
|
-
/**
|
|
1739
|
-
* Options that configure the trial on the subscription item.
|
|
1740
|
-
*/
|
|
1741
|
-
trial?: Item.Trial;
|
|
1742
|
-
/**
|
|
1743
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
1744
|
-
*/
|
|
1745
|
-
trial_offer?: string;
|
|
1746
|
-
}
|
|
1747
|
-
interface PauseCollection {
|
|
1748
|
-
/**
|
|
1749
|
-
* The payment collection behavior for this subscription while paused.
|
|
1750
|
-
*/
|
|
1751
|
-
behavior: PauseCollection.Behavior;
|
|
1752
1053
|
}
|
|
1753
1054
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1754
1055
|
interface TransferData {
|
|
@@ -1761,13 +1062,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1761
1062
|
*/
|
|
1762
1063
|
destination: string;
|
|
1763
1064
|
}
|
|
1764
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
1765
|
-
interface TrialSettings {
|
|
1766
|
-
/**
|
|
1767
|
-
* Defines how the subscription should behave when a trial ends.
|
|
1768
|
-
*/
|
|
1769
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
1770
|
-
}
|
|
1771
1065
|
namespace AddInvoiceItem {
|
|
1772
1066
|
interface Discount {
|
|
1773
1067
|
/**
|
|
@@ -1778,10 +1072,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1778
1072
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1779
1073
|
*/
|
|
1780
1074
|
discount?: string;
|
|
1781
|
-
/**
|
|
1782
|
-
* Details to determine how long the discount should be applied for.
|
|
1783
|
-
*/
|
|
1784
|
-
discount_end?: Discount.DiscountEnd;
|
|
1785
1075
|
/**
|
|
1786
1076
|
* ID of the promotion code to create a new discount for.
|
|
1787
1077
|
*/
|
|
@@ -1819,38 +1109,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1819
1109
|
*/
|
|
1820
1110
|
unit_amount_decimal?: Decimal;
|
|
1821
1111
|
}
|
|
1822
|
-
namespace Discount {
|
|
1823
|
-
interface DiscountEnd {
|
|
1824
|
-
/**
|
|
1825
|
-
* Time span for the redeemed discount.
|
|
1826
|
-
*/
|
|
1827
|
-
duration?: DiscountEnd.Duration;
|
|
1828
|
-
/**
|
|
1829
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1830
|
-
*/
|
|
1831
|
-
timestamp?: number;
|
|
1832
|
-
/**
|
|
1833
|
-
* The type of calculation made to determine when the discount ends.
|
|
1834
|
-
*/
|
|
1835
|
-
type: DiscountEnd.Type;
|
|
1836
|
-
}
|
|
1837
|
-
namespace DiscountEnd {
|
|
1838
|
-
interface Duration {
|
|
1839
|
-
/**
|
|
1840
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1841
|
-
*/
|
|
1842
|
-
interval: Duration.Interval;
|
|
1843
|
-
/**
|
|
1844
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1845
|
-
*/
|
|
1846
|
-
interval_count: number;
|
|
1847
|
-
}
|
|
1848
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1849
|
-
namespace Duration {
|
|
1850
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1854
1112
|
namespace Period {
|
|
1855
1113
|
interface End {
|
|
1856
1114
|
/**
|
|
@@ -1895,93 +1153,23 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1895
1153
|
type: Liability.Type;
|
|
1896
1154
|
}
|
|
1897
1155
|
namespace Liability {
|
|
1898
|
-
type Type = 'account' | '
|
|
1156
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1899
1157
|
}
|
|
1900
1158
|
}
|
|
1901
|
-
namespace
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
duration?: DiscountEnd.Duration;
|
|
1907
|
-
/**
|
|
1908
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1909
|
-
*/
|
|
1910
|
-
timestamp?: number;
|
|
1911
|
-
/**
|
|
1912
|
-
* The type of calculation made to determine when the discount ends.
|
|
1913
|
-
*/
|
|
1914
|
-
type: DiscountEnd.Type;
|
|
1915
|
-
}
|
|
1916
|
-
interface Settings {
|
|
1159
|
+
namespace Duration {
|
|
1160
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1161
|
+
}
|
|
1162
|
+
namespace InvoiceSettings {
|
|
1163
|
+
interface CustomField {
|
|
1917
1164
|
/**
|
|
1918
|
-
*
|
|
1165
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
1919
1166
|
*/
|
|
1920
|
-
|
|
1167
|
+
name: string;
|
|
1921
1168
|
/**
|
|
1922
|
-
* The
|
|
1169
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
1923
1170
|
*/
|
|
1924
|
-
|
|
1925
|
-
}
|
|
1926
|
-
namespace DiscountEnd {
|
|
1927
|
-
interface Duration {
|
|
1928
|
-
/**
|
|
1929
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1930
|
-
*/
|
|
1931
|
-
interval: Duration.Interval;
|
|
1932
|
-
/**
|
|
1933
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1934
|
-
*/
|
|
1935
|
-
interval_count: number;
|
|
1936
|
-
}
|
|
1937
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1938
|
-
namespace Duration {
|
|
1939
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
1942
|
-
namespace Settings {
|
|
1943
|
-
interface ServicePeriodAnchorConfig {
|
|
1944
|
-
/**
|
|
1945
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
1946
|
-
*/
|
|
1947
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
1948
|
-
/**
|
|
1949
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
1950
|
-
*/
|
|
1951
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
1952
|
-
}
|
|
1953
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
1954
|
-
namespace ServicePeriodAnchorConfig {
|
|
1955
|
-
interface Custom {
|
|
1956
|
-
/**
|
|
1957
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
1958
|
-
*/
|
|
1959
|
-
day_of_month: number;
|
|
1960
|
-
/**
|
|
1961
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
1962
|
-
*/
|
|
1963
|
-
hour?: number;
|
|
1964
|
-
/**
|
|
1965
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
1966
|
-
*/
|
|
1967
|
-
minute?: number;
|
|
1968
|
-
/**
|
|
1969
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
1970
|
-
*/
|
|
1971
|
-
month?: number;
|
|
1972
|
-
/**
|
|
1973
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
1974
|
-
*/
|
|
1975
|
-
second?: number;
|
|
1976
|
-
}
|
|
1977
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
1978
|
-
}
|
|
1171
|
+
value: string;
|
|
1979
1172
|
}
|
|
1980
|
-
}
|
|
1981
|
-
namespace Duration {
|
|
1982
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1983
|
-
}
|
|
1984
|
-
namespace InvoiceSettings {
|
|
1985
1173
|
interface Issuer {
|
|
1986
1174
|
/**
|
|
1987
1175
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -1993,7 +1181,7 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1993
1181
|
type: Issuer.Type;
|
|
1994
1182
|
}
|
|
1995
1183
|
namespace Issuer {
|
|
1996
|
-
type Type = 'account' | '
|
|
1184
|
+
type Type = 'account' | 'self' | OtherString;
|
|
1997
1185
|
}
|
|
1998
1186
|
}
|
|
1999
1187
|
namespace Item {
|
|
@@ -2012,18 +1200,10 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
2012
1200
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2013
1201
|
*/
|
|
2014
1202
|
discount?: string;
|
|
2015
|
-
/**
|
|
2016
|
-
* Details to determine how long the discount should be applied for.
|
|
2017
|
-
*/
|
|
2018
|
-
discount_end?: Discount.DiscountEnd;
|
|
2019
1203
|
/**
|
|
2020
1204
|
* ID of the promotion code to create a new discount for.
|
|
2021
1205
|
*/
|
|
2022
1206
|
promotion_code?: string;
|
|
2023
|
-
/**
|
|
2024
|
-
* Settings for discount application including service period anchoring.
|
|
2025
|
-
*/
|
|
2026
|
-
settings?: Discount.Settings;
|
|
2027
1207
|
}
|
|
2028
1208
|
interface PriceData {
|
|
2029
1209
|
/**
|
|
@@ -2051,96 +1231,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
2051
1231
|
*/
|
|
2052
1232
|
unit_amount_decimal?: Decimal;
|
|
2053
1233
|
}
|
|
2054
|
-
interface Trial {
|
|
2055
|
-
/**
|
|
2056
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
2057
|
-
*/
|
|
2058
|
-
converts_to?: Array<string>;
|
|
2059
|
-
/**
|
|
2060
|
-
* Determines the type of trial for this item.
|
|
2061
|
-
*/
|
|
2062
|
-
type: Trial.Type;
|
|
2063
|
-
}
|
|
2064
|
-
namespace Discount {
|
|
2065
|
-
interface DiscountEnd {
|
|
2066
|
-
/**
|
|
2067
|
-
* Time span for the redeemed discount.
|
|
2068
|
-
*/
|
|
2069
|
-
duration?: DiscountEnd.Duration;
|
|
2070
|
-
/**
|
|
2071
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2072
|
-
*/
|
|
2073
|
-
timestamp?: number;
|
|
2074
|
-
/**
|
|
2075
|
-
* The type of calculation made to determine when the discount ends.
|
|
2076
|
-
*/
|
|
2077
|
-
type: DiscountEnd.Type;
|
|
2078
|
-
}
|
|
2079
|
-
interface Settings {
|
|
2080
|
-
/**
|
|
2081
|
-
* Configures service period cycle anchoring.
|
|
2082
|
-
*/
|
|
2083
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
2084
|
-
/**
|
|
2085
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
|
|
2086
|
-
*/
|
|
2087
|
-
start_date?: Settings.StartDate;
|
|
2088
|
-
}
|
|
2089
|
-
namespace DiscountEnd {
|
|
2090
|
-
interface Duration {
|
|
2091
|
-
/**
|
|
2092
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2093
|
-
*/
|
|
2094
|
-
interval: Duration.Interval;
|
|
2095
|
-
/**
|
|
2096
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2097
|
-
*/
|
|
2098
|
-
interval_count: number;
|
|
2099
|
-
}
|
|
2100
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2101
|
-
namespace Duration {
|
|
2102
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
namespace Settings {
|
|
2106
|
-
interface ServicePeriodAnchorConfig {
|
|
2107
|
-
/**
|
|
2108
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
2109
|
-
*/
|
|
2110
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
2111
|
-
/**
|
|
2112
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
2113
|
-
*/
|
|
2114
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
2115
|
-
}
|
|
2116
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
2117
|
-
namespace ServicePeriodAnchorConfig {
|
|
2118
|
-
interface Custom {
|
|
2119
|
-
/**
|
|
2120
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
2121
|
-
*/
|
|
2122
|
-
day_of_month: number;
|
|
2123
|
-
/**
|
|
2124
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
2125
|
-
*/
|
|
2126
|
-
hour?: number;
|
|
2127
|
-
/**
|
|
2128
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
2129
|
-
*/
|
|
2130
|
-
minute?: number;
|
|
2131
|
-
/**
|
|
2132
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
2133
|
-
*/
|
|
2134
|
-
month?: number;
|
|
2135
|
-
/**
|
|
2136
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
2137
|
-
*/
|
|
2138
|
-
second?: number;
|
|
2139
|
-
}
|
|
2140
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
1234
|
namespace PriceData {
|
|
2145
1235
|
interface Recurring {
|
|
2146
1236
|
/**
|
|
@@ -2157,28 +1247,8 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
2157
1247
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2158
1248
|
}
|
|
2159
1249
|
}
|
|
2160
|
-
namespace Trial {
|
|
2161
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
|
-
namespace PauseCollection {
|
|
2165
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
2166
|
-
}
|
|
2167
|
-
namespace TrialSettings {
|
|
2168
|
-
interface EndBehavior {
|
|
2169
|
-
/**
|
|
2170
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
2171
|
-
*/
|
|
2172
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
2173
|
-
}
|
|
2174
|
-
namespace EndBehavior {
|
|
2175
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
2176
|
-
}
|
|
2177
1250
|
}
|
|
2178
1251
|
}
|
|
2179
|
-
namespace Prebilling {
|
|
2180
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2181
|
-
}
|
|
2182
1252
|
}
|
|
2183
1253
|
export interface SubscriptionScheduleRetrieveParams {
|
|
2184
1254
|
/**
|
|
@@ -2187,14 +1257,6 @@ export interface SubscriptionScheduleRetrieveParams {
|
|
|
2187
1257
|
expand?: Array<string>;
|
|
2188
1258
|
}
|
|
2189
1259
|
export interface SubscriptionScheduleUpdateParams {
|
|
2190
|
-
/**
|
|
2191
|
-
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
2192
|
-
*/
|
|
2193
|
-
billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
|
|
2194
|
-
/**
|
|
2195
|
-
* Sets the billing schedules for the subscription schedule.
|
|
2196
|
-
*/
|
|
2197
|
-
billing_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.BillingSchedule>>;
|
|
2198
1260
|
/**
|
|
2199
1261
|
* Object representing the subscription schedule's default settings.
|
|
2200
1262
|
*/
|
|
@@ -2211,39 +1273,16 @@ export interface SubscriptionScheduleUpdateParams {
|
|
|
2211
1273
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2212
1274
|
*/
|
|
2213
1275
|
metadata?: Emptyable<MetadataParam>;
|
|
2214
|
-
/**
|
|
2215
|
-
* Sets the pause schedules for the subscription schedule. Include a `key` to update an existing entry or omit it to add a new one. Pass `""` to clear all entries or `[]` to leave them unchanged.
|
|
2216
|
-
*/
|
|
2217
|
-
pause_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.PauseSchedule>>;
|
|
2218
1276
|
/**
|
|
2219
1277
|
* List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted.
|
|
2220
1278
|
*/
|
|
2221
1279
|
phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
|
|
2222
|
-
/**
|
|
2223
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
2224
|
-
*/
|
|
2225
|
-
prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
|
|
2226
1280
|
/**
|
|
2227
1281
|
* If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`.
|
|
2228
1282
|
*/
|
|
2229
1283
|
proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
|
|
2230
1284
|
}
|
|
2231
1285
|
export declare namespace SubscriptionScheduleUpdateParams {
|
|
2232
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
|
|
2233
|
-
interface BillingSchedule {
|
|
2234
|
-
/**
|
|
2235
|
-
* Configure billing schedule differently for individual subscription items.
|
|
2236
|
-
*/
|
|
2237
|
-
applies_to?: Array<BillingSchedule.AppliesTo>;
|
|
2238
|
-
/**
|
|
2239
|
-
* The end date for the billing schedule.
|
|
2240
|
-
*/
|
|
2241
|
-
bill_until?: BillingSchedule.BillUntil;
|
|
2242
|
-
/**
|
|
2243
|
-
* Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
|
|
2244
|
-
*/
|
|
2245
|
-
key?: string;
|
|
2246
|
-
}
|
|
2247
1286
|
interface DefaultSettings {
|
|
2248
1287
|
/**
|
|
2249
1288
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
|
@@ -2281,30 +1320,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2281
1320
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
2282
1321
|
*/
|
|
2283
1322
|
on_behalf_of?: Emptyable<string>;
|
|
2284
|
-
/**
|
|
2285
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
2286
|
-
*/
|
|
2287
|
-
phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
|
|
2288
1323
|
/**
|
|
2289
1324
|
* The data with which to automatically create a Transfer for each of the associated subscription's invoices.
|
|
2290
1325
|
*/
|
|
2291
1326
|
transfer_data?: Emptyable<DefaultSettings.TransferData>;
|
|
2292
1327
|
}
|
|
2293
1328
|
type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
|
|
2294
|
-
interface PauseSchedule {
|
|
2295
|
-
/**
|
|
2296
|
-
* A unique identifier for this pause schedule entry.
|
|
2297
|
-
*/
|
|
2298
|
-
key?: string;
|
|
2299
|
-
/**
|
|
2300
|
-
* Configuration for when and how the subscription pauses.
|
|
2301
|
-
*/
|
|
2302
|
-
pause?: PauseSchedule.Pause;
|
|
2303
|
-
/**
|
|
2304
|
-
* Configuration for when and how the subscription resumes.
|
|
2305
|
-
*/
|
|
2306
|
-
resume?: PauseSchedule.Resume;
|
|
2307
|
-
}
|
|
2308
1329
|
interface Phase {
|
|
2309
1330
|
/**
|
|
2310
1331
|
* A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.
|
|
@@ -2354,10 +1375,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2354
1375
|
* The number of intervals the phase should last. If set, `end_date` must not be set.
|
|
2355
1376
|
*/
|
|
2356
1377
|
duration?: Phase.Duration;
|
|
2357
|
-
/**
|
|
2358
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
2359
|
-
*/
|
|
2360
|
-
effective_at?: Phase.EffectiveAt;
|
|
2361
1378
|
/**
|
|
2362
1379
|
* The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
|
|
2363
1380
|
*/
|
|
@@ -2378,10 +1395,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2378
1395
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
2379
1396
|
*/
|
|
2380
1397
|
on_behalf_of?: string;
|
|
2381
|
-
/**
|
|
2382
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
|
|
2383
|
-
*/
|
|
2384
|
-
pause_collection?: Phase.PauseCollection;
|
|
2385
1398
|
/**
|
|
2386
1399
|
* Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
|
|
2387
1400
|
*/
|
|
@@ -2398,72 +1411,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2398
1411
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
2399
1412
|
*/
|
|
2400
1413
|
trial?: boolean;
|
|
2401
|
-
/**
|
|
2402
|
-
* Specify trial behavior when crossing phase boundaries
|
|
2403
|
-
*/
|
|
2404
|
-
trial_continuation?: Phase.TrialContinuation;
|
|
2405
1414
|
/**
|
|
2406
1415
|
* Sets the phase to trialing from the start date to this date. Must be within the phase. When combined with `trial=true`, it must match the phase end date.
|
|
2407
1416
|
*/
|
|
2408
1417
|
trial_end?: number | 'now';
|
|
2409
|
-
/**
|
|
2410
|
-
* Settings related to subscription trials.
|
|
2411
|
-
*/
|
|
2412
|
-
trial_settings?: Phase.TrialSettings;
|
|
2413
|
-
}
|
|
2414
|
-
interface Prebilling {
|
|
2415
|
-
/**
|
|
2416
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
2417
|
-
*/
|
|
2418
|
-
iterations: number;
|
|
2419
|
-
/**
|
|
2420
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2421
|
-
*/
|
|
2422
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2423
1418
|
}
|
|
2424
1419
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2425
|
-
namespace BillingSchedule {
|
|
2426
|
-
interface AppliesTo {
|
|
2427
|
-
/**
|
|
2428
|
-
* The ID of the price object.
|
|
2429
|
-
*/
|
|
2430
|
-
price?: string;
|
|
2431
|
-
/**
|
|
2432
|
-
* Controls which subscription items the billing schedule applies to.
|
|
2433
|
-
*/
|
|
2434
|
-
type: 'price';
|
|
2435
|
-
}
|
|
2436
|
-
interface BillUntil {
|
|
2437
|
-
/**
|
|
2438
|
-
* Specifies the billing period.
|
|
2439
|
-
*/
|
|
2440
|
-
duration?: BillUntil.Duration;
|
|
2441
|
-
/**
|
|
2442
|
-
* The end date of the billing schedule.
|
|
2443
|
-
*/
|
|
2444
|
-
timestamp?: number;
|
|
2445
|
-
/**
|
|
2446
|
-
* Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
2447
|
-
*/
|
|
2448
|
-
type: BillUntil.Type;
|
|
2449
|
-
}
|
|
2450
|
-
namespace BillUntil {
|
|
2451
|
-
interface Duration {
|
|
2452
|
-
/**
|
|
2453
|
-
* Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
2454
|
-
*/
|
|
2455
|
-
interval: Duration.Interval;
|
|
2456
|
-
/**
|
|
2457
|
-
* The multiplier applied to the interval.
|
|
2458
|
-
*/
|
|
2459
|
-
interval_count?: number;
|
|
2460
|
-
}
|
|
2461
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2462
|
-
namespace Duration {
|
|
2463
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
1420
|
namespace DefaultSettings {
|
|
2468
1421
|
interface AutomaticTax {
|
|
2469
1422
|
/**
|
|
@@ -2492,16 +1445,18 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2492
1445
|
* The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
|
|
2493
1446
|
*/
|
|
2494
1447
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
1448
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
2495
1449
|
/**
|
|
2496
1450
|
* Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
|
|
2497
1451
|
*/
|
|
2498
1452
|
days_until_due?: number;
|
|
1453
|
+
description?: Emptyable<string>;
|
|
1454
|
+
footer?: Emptyable<string>;
|
|
2499
1455
|
/**
|
|
2500
1456
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
2501
1457
|
*/
|
|
2502
1458
|
issuer?: InvoiceSettings.Issuer;
|
|
2503
1459
|
}
|
|
2504
|
-
type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
|
|
2505
1460
|
interface TransferData {
|
|
2506
1461
|
/**
|
|
2507
1462
|
* A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
|
@@ -2524,10 +1479,20 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2524
1479
|
type: Liability.Type;
|
|
2525
1480
|
}
|
|
2526
1481
|
namespace Liability {
|
|
2527
|
-
type Type = 'account' | '
|
|
1482
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2528
1483
|
}
|
|
2529
1484
|
}
|
|
2530
1485
|
namespace InvoiceSettings {
|
|
1486
|
+
interface CustomField {
|
|
1487
|
+
/**
|
|
1488
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
1489
|
+
*/
|
|
1490
|
+
name: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
1493
|
+
*/
|
|
1494
|
+
value: string;
|
|
1495
|
+
}
|
|
2531
1496
|
interface Issuer {
|
|
2532
1497
|
/**
|
|
2533
1498
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -2539,179 +1504,44 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2539
1504
|
type: Issuer.Type;
|
|
2540
1505
|
}
|
|
2541
1506
|
namespace Issuer {
|
|
2542
|
-
type Type = 'account' | '
|
|
1507
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2543
1508
|
}
|
|
2544
1509
|
}
|
|
2545
1510
|
}
|
|
2546
|
-
namespace
|
|
2547
|
-
interface
|
|
1511
|
+
namespace Phase {
|
|
1512
|
+
interface AddInvoiceItem {
|
|
2548
1513
|
/**
|
|
2549
|
-
*
|
|
1514
|
+
* Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
|
|
2550
1515
|
*/
|
|
2551
|
-
|
|
1516
|
+
discountable?: boolean;
|
|
2552
1517
|
/**
|
|
2553
|
-
*
|
|
1518
|
+
* The coupons to redeem into discounts for the item.
|
|
2554
1519
|
*/
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
1520
|
+
discounts?: Array<AddInvoiceItem.Discount>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1523
|
+
*/
|
|
1524
|
+
metadata?: MetadataParam;
|
|
1525
|
+
/**
|
|
1526
|
+
* The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
|
|
1527
|
+
*/
|
|
1528
|
+
period?: AddInvoiceItem.Period;
|
|
1529
|
+
/**
|
|
1530
|
+
* The ID of the price object. One of `price` or `price_data` is required.
|
|
1531
|
+
*/
|
|
1532
|
+
price?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
|
|
1535
|
+
*/
|
|
1536
|
+
price_data?: AddInvoiceItem.PriceData;
|
|
2558
1537
|
/**
|
|
2559
|
-
*
|
|
1538
|
+
* Quantity for this item. Defaults to 1.
|
|
2560
1539
|
*/
|
|
2561
|
-
|
|
1540
|
+
quantity?: number;
|
|
2562
1541
|
/**
|
|
2563
|
-
*
|
|
1542
|
+
* The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
|
2564
1543
|
*/
|
|
2565
|
-
|
|
2566
|
-
}
|
|
2567
|
-
namespace Pause {
|
|
2568
|
-
interface PauseAt {
|
|
2569
|
-
/**
|
|
2570
|
-
* The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
|
|
2571
|
-
*/
|
|
2572
|
-
timestamp?: number;
|
|
2573
|
-
/**
|
|
2574
|
-
* When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
|
|
2575
|
-
*/
|
|
2576
|
-
type: PauseAt.Type;
|
|
2577
|
-
}
|
|
2578
|
-
interface Settings {
|
|
2579
|
-
/**
|
|
2580
|
-
* Controls what to bill for when pausing the subscription.
|
|
2581
|
-
*/
|
|
2582
|
-
bill_for?: Settings.BillFor;
|
|
2583
|
-
/**
|
|
2584
|
-
* Determines whether to generate an invoice for outstanding amounts when pausing.
|
|
2585
|
-
*/
|
|
2586
|
-
invoicing_behavior?: Settings.InvoicingBehavior;
|
|
2587
|
-
/**
|
|
2588
|
-
* The pause type. Currently only `subscription` is supported.
|
|
2589
|
-
*/
|
|
2590
|
-
type?: 'subscription';
|
|
2591
|
-
}
|
|
2592
|
-
namespace PauseAt {
|
|
2593
|
-
type Type = 'now' | 'timestamp' | OtherString;
|
|
2594
|
-
}
|
|
2595
|
-
namespace Settings {
|
|
2596
|
-
interface BillFor {
|
|
2597
|
-
/**
|
|
2598
|
-
* Controls whether to collect metered usage accrued up to the pause date.
|
|
2599
|
-
*/
|
|
2600
|
-
outstanding_usage_through?: BillFor.OutstandingUsageThrough;
|
|
2601
|
-
/**
|
|
2602
|
-
* Controls how unused time on subscription items is credited when pausing.
|
|
2603
|
-
*/
|
|
2604
|
-
unused_time_from?: BillFor.UnusedTimeFrom;
|
|
2605
|
-
}
|
|
2606
|
-
type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
|
|
2607
|
-
namespace BillFor {
|
|
2608
|
-
interface OutstandingUsageThrough {
|
|
2609
|
-
/**
|
|
2610
|
-
* Determines whether to collect metered usage accrued up to the pause date.
|
|
2611
|
-
*/
|
|
2612
|
-
type?: OutstandingUsageThrough.Type;
|
|
2613
|
-
}
|
|
2614
|
-
interface UnusedTimeFrom {
|
|
2615
|
-
/**
|
|
2616
|
-
* Determines which point in the billing period unused time is credited from.
|
|
2617
|
-
*/
|
|
2618
|
-
type?: UnusedTimeFrom.Type;
|
|
2619
|
-
}
|
|
2620
|
-
namespace OutstandingUsageThrough {
|
|
2621
|
-
type Type = 'none' | 'pause_at';
|
|
2622
|
-
}
|
|
2623
|
-
namespace UnusedTimeFrom {
|
|
2624
|
-
type Type = 'item_current_period_start' | 'none' | 'pause_at';
|
|
2625
|
-
}
|
|
2626
|
-
}
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
|
-
namespace Resume {
|
|
2630
|
-
interface ResumeAt {
|
|
2631
|
-
/**
|
|
2632
|
-
* The duration after which to resume the subscription. Required when `type` is `duration`.
|
|
2633
|
-
*/
|
|
2634
|
-
duration?: ResumeAt.Duration;
|
|
2635
|
-
/**
|
|
2636
|
-
* The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
|
|
2637
|
-
*/
|
|
2638
|
-
timestamp?: number;
|
|
2639
|
-
/**
|
|
2640
|
-
* When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.
|
|
2641
|
-
*/
|
|
2642
|
-
type: ResumeAt.Type;
|
|
2643
|
-
}
|
|
2644
|
-
interface Settings {
|
|
2645
|
-
/**
|
|
2646
|
-
* Controls the billing cycle anchor when the subscription resumes.
|
|
2647
|
-
*/
|
|
2648
|
-
billing_cycle_anchor?: Settings.BillingCycleAnchor;
|
|
2649
|
-
/**
|
|
2650
|
-
* Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
|
|
2651
|
-
*/
|
|
2652
|
-
payment_behavior?: Settings.PaymentBehavior;
|
|
2653
|
-
/**
|
|
2654
|
-
* Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
|
|
2655
|
-
*/
|
|
2656
|
-
proration_behavior?: Settings.ProrationBehavior;
|
|
2657
|
-
}
|
|
2658
|
-
namespace ResumeAt {
|
|
2659
|
-
interface Duration {
|
|
2660
|
-
/**
|
|
2661
|
-
* The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
|
|
2662
|
-
*/
|
|
2663
|
-
interval: Duration.Interval;
|
|
2664
|
-
/**
|
|
2665
|
-
* The number of intervals after which the subscription resumes.
|
|
2666
|
-
*/
|
|
2667
|
-
interval_count?: number;
|
|
2668
|
-
}
|
|
2669
|
-
type Type = 'duration' | 'now' | 'timestamp' | OtherString;
|
|
2670
|
-
namespace Duration {
|
|
2671
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
2672
|
-
}
|
|
2673
|
-
}
|
|
2674
|
-
namespace Settings {
|
|
2675
|
-
type BillingCycleAnchor = 'resume_at' | 'unchanged';
|
|
2676
|
-
type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
|
|
2677
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
}
|
|
2681
|
-
namespace Phase {
|
|
2682
|
-
interface AddInvoiceItem {
|
|
2683
|
-
/**
|
|
2684
|
-
* Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
|
|
2685
|
-
*/
|
|
2686
|
-
discountable?: boolean;
|
|
2687
|
-
/**
|
|
2688
|
-
* The coupons to redeem into discounts for the item.
|
|
2689
|
-
*/
|
|
2690
|
-
discounts?: Array<AddInvoiceItem.Discount>;
|
|
2691
|
-
/**
|
|
2692
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2693
|
-
*/
|
|
2694
|
-
metadata?: MetadataParam;
|
|
2695
|
-
/**
|
|
2696
|
-
* The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
|
|
2697
|
-
*/
|
|
2698
|
-
period?: AddInvoiceItem.Period;
|
|
2699
|
-
/**
|
|
2700
|
-
* The ID of the price object. One of `price` or `price_data` is required.
|
|
2701
|
-
*/
|
|
2702
|
-
price?: string;
|
|
2703
|
-
/**
|
|
2704
|
-
* Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
|
|
2705
|
-
*/
|
|
2706
|
-
price_data?: AddInvoiceItem.PriceData;
|
|
2707
|
-
/**
|
|
2708
|
-
* Quantity for this item. Defaults to 1.
|
|
2709
|
-
*/
|
|
2710
|
-
quantity?: number;
|
|
2711
|
-
/**
|
|
2712
|
-
* The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
|
2713
|
-
*/
|
|
2714
|
-
tax_rates?: Emptyable<Array<string>>;
|
|
1544
|
+
tax_rates?: Emptyable<Array<string>>;
|
|
2715
1545
|
}
|
|
2716
1546
|
interface AutomaticTax {
|
|
2717
1547
|
/**
|
|
@@ -2744,18 +1574,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2744
1574
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2745
1575
|
*/
|
|
2746
1576
|
discount?: string;
|
|
2747
|
-
/**
|
|
2748
|
-
* Details to determine how long the discount should be applied for.
|
|
2749
|
-
*/
|
|
2750
|
-
discount_end?: Discount.DiscountEnd;
|
|
2751
1577
|
/**
|
|
2752
1578
|
* ID of the promotion code to create a new discount for.
|
|
2753
1579
|
*/
|
|
2754
1580
|
promotion_code?: string;
|
|
2755
|
-
/**
|
|
2756
|
-
* Settings for discount application including service period anchoring.
|
|
2757
|
-
*/
|
|
2758
|
-
settings?: Discount.Settings;
|
|
2759
1581
|
}
|
|
2760
1582
|
interface Duration {
|
|
2761
1583
|
/**
|
|
@@ -2767,16 +1589,27 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2767
1589
|
*/
|
|
2768
1590
|
interval_count?: number;
|
|
2769
1591
|
}
|
|
2770
|
-
type EffectiveAt = 'billing_period_start' | 'phase_start';
|
|
2771
1592
|
interface InvoiceSettings {
|
|
2772
1593
|
/**
|
|
2773
1594
|
* The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
|
2774
1595
|
*/
|
|
2775
1596
|
account_tax_ids?: Emptyable<Array<string>>;
|
|
1597
|
+
/**
|
|
1598
|
+
* A list of up to 4 custom fields to be displayed on the invoice.
|
|
1599
|
+
*/
|
|
1600
|
+
custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
|
|
2776
1601
|
/**
|
|
2777
1602
|
* Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
|
|
2778
1603
|
*/
|
|
2779
1604
|
days_until_due?: number;
|
|
1605
|
+
/**
|
|
1606
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1607
|
+
*/
|
|
1608
|
+
description?: Emptyable<string>;
|
|
1609
|
+
/**
|
|
1610
|
+
* Footer to be displayed on the invoice.
|
|
1611
|
+
*/
|
|
1612
|
+
footer?: Emptyable<string>;
|
|
2780
1613
|
/**
|
|
2781
1614
|
* The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
2782
1615
|
*/
|
|
@@ -2815,20 +1648,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2815
1648
|
* A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
|
2816
1649
|
*/
|
|
2817
1650
|
tax_rates?: Emptyable<Array<string>>;
|
|
2818
|
-
/**
|
|
2819
|
-
* Options that configure the trial on the subscription item.
|
|
2820
|
-
*/
|
|
2821
|
-
trial?: Item.Trial;
|
|
2822
|
-
/**
|
|
2823
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
2824
|
-
*/
|
|
2825
|
-
trial_offer?: string;
|
|
2826
|
-
}
|
|
2827
|
-
interface PauseCollection {
|
|
2828
|
-
/**
|
|
2829
|
-
* The payment collection behavior for this subscription while paused.
|
|
2830
|
-
*/
|
|
2831
|
-
behavior: PauseCollection.Behavior;
|
|
2832
1651
|
}
|
|
2833
1652
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2834
1653
|
interface TransferData {
|
|
@@ -2841,13 +1660,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2841
1660
|
*/
|
|
2842
1661
|
destination: string;
|
|
2843
1662
|
}
|
|
2844
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
2845
|
-
interface TrialSettings {
|
|
2846
|
-
/**
|
|
2847
|
-
* Defines how the subscription should behave when a trial ends.
|
|
2848
|
-
*/
|
|
2849
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
2850
|
-
}
|
|
2851
1663
|
namespace AddInvoiceItem {
|
|
2852
1664
|
interface Discount {
|
|
2853
1665
|
/**
|
|
@@ -2858,10 +1670,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2858
1670
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2859
1671
|
*/
|
|
2860
1672
|
discount?: string;
|
|
2861
|
-
/**
|
|
2862
|
-
* Details to determine how long the discount should be applied for.
|
|
2863
|
-
*/
|
|
2864
|
-
discount_end?: Discount.DiscountEnd;
|
|
2865
1673
|
/**
|
|
2866
1674
|
* ID of the promotion code to create a new discount for.
|
|
2867
1675
|
*/
|
|
@@ -2899,38 +1707,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2899
1707
|
*/
|
|
2900
1708
|
unit_amount_decimal?: Decimal;
|
|
2901
1709
|
}
|
|
2902
|
-
namespace Discount {
|
|
2903
|
-
interface DiscountEnd {
|
|
2904
|
-
/**
|
|
2905
|
-
* Time span for the redeemed discount.
|
|
2906
|
-
*/
|
|
2907
|
-
duration?: DiscountEnd.Duration;
|
|
2908
|
-
/**
|
|
2909
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2910
|
-
*/
|
|
2911
|
-
timestamp?: number;
|
|
2912
|
-
/**
|
|
2913
|
-
* The type of calculation made to determine when the discount ends.
|
|
2914
|
-
*/
|
|
2915
|
-
type: DiscountEnd.Type;
|
|
2916
|
-
}
|
|
2917
|
-
namespace DiscountEnd {
|
|
2918
|
-
interface Duration {
|
|
2919
|
-
/**
|
|
2920
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2921
|
-
*/
|
|
2922
|
-
interval: Duration.Interval;
|
|
2923
|
-
/**
|
|
2924
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2925
|
-
*/
|
|
2926
|
-
interval_count: number;
|
|
2927
|
-
}
|
|
2928
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2929
|
-
namespace Duration {
|
|
2930
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2931
|
-
}
|
|
2932
|
-
}
|
|
2933
|
-
}
|
|
2934
1710
|
namespace Period {
|
|
2935
1711
|
interface End {
|
|
2936
1712
|
/**
|
|
@@ -2975,93 +1751,23 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2975
1751
|
type: Liability.Type;
|
|
2976
1752
|
}
|
|
2977
1753
|
namespace Liability {
|
|
2978
|
-
type Type = 'account' | '
|
|
1754
|
+
type Type = 'account' | 'self' | OtherString;
|
|
2979
1755
|
}
|
|
2980
1756
|
}
|
|
2981
|
-
namespace
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
duration?: DiscountEnd.Duration;
|
|
2987
|
-
/**
|
|
2988
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2989
|
-
*/
|
|
2990
|
-
timestamp?: number;
|
|
2991
|
-
/**
|
|
2992
|
-
* The type of calculation made to determine when the discount ends.
|
|
2993
|
-
*/
|
|
2994
|
-
type: DiscountEnd.Type;
|
|
2995
|
-
}
|
|
2996
|
-
interface Settings {
|
|
1757
|
+
namespace Duration {
|
|
1758
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1759
|
+
}
|
|
1760
|
+
namespace InvoiceSettings {
|
|
1761
|
+
interface CustomField {
|
|
2997
1762
|
/**
|
|
2998
|
-
*
|
|
1763
|
+
* The name of the custom field. This may be up to 40 characters.
|
|
2999
1764
|
*/
|
|
3000
|
-
|
|
1765
|
+
name: string;
|
|
3001
1766
|
/**
|
|
3002
|
-
* The
|
|
1767
|
+
* The value of the custom field. This may be up to 140 characters.
|
|
3003
1768
|
*/
|
|
3004
|
-
|
|
3005
|
-
}
|
|
3006
|
-
namespace DiscountEnd {
|
|
3007
|
-
interface Duration {
|
|
3008
|
-
/**
|
|
3009
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3010
|
-
*/
|
|
3011
|
-
interval: Duration.Interval;
|
|
3012
|
-
/**
|
|
3013
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3014
|
-
*/
|
|
3015
|
-
interval_count: number;
|
|
3016
|
-
}
|
|
3017
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3018
|
-
namespace Duration {
|
|
3019
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3020
|
-
}
|
|
3021
|
-
}
|
|
3022
|
-
namespace Settings {
|
|
3023
|
-
interface ServicePeriodAnchorConfig {
|
|
3024
|
-
/**
|
|
3025
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3026
|
-
*/
|
|
3027
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3028
|
-
/**
|
|
3029
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
3030
|
-
*/
|
|
3031
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3032
|
-
}
|
|
3033
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
3034
|
-
namespace ServicePeriodAnchorConfig {
|
|
3035
|
-
interface Custom {
|
|
3036
|
-
/**
|
|
3037
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3038
|
-
*/
|
|
3039
|
-
day_of_month: number;
|
|
3040
|
-
/**
|
|
3041
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3042
|
-
*/
|
|
3043
|
-
hour?: number;
|
|
3044
|
-
/**
|
|
3045
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3046
|
-
*/
|
|
3047
|
-
minute?: number;
|
|
3048
|
-
/**
|
|
3049
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3050
|
-
*/
|
|
3051
|
-
month?: number;
|
|
3052
|
-
/**
|
|
3053
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3054
|
-
*/
|
|
3055
|
-
second?: number;
|
|
3056
|
-
}
|
|
3057
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
3058
|
-
}
|
|
1769
|
+
value: string;
|
|
3059
1770
|
}
|
|
3060
|
-
}
|
|
3061
|
-
namespace Duration {
|
|
3062
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3063
|
-
}
|
|
3064
|
-
namespace InvoiceSettings {
|
|
3065
1771
|
interface Issuer {
|
|
3066
1772
|
/**
|
|
3067
1773
|
* The connected account being referenced when `type` is `account`.
|
|
@@ -3073,7 +1779,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
3073
1779
|
type: Issuer.Type;
|
|
3074
1780
|
}
|
|
3075
1781
|
namespace Issuer {
|
|
3076
|
-
type Type = 'account' | '
|
|
1782
|
+
type Type = 'account' | 'self' | OtherString;
|
|
3077
1783
|
}
|
|
3078
1784
|
}
|
|
3079
1785
|
namespace Item {
|
|
@@ -3092,18 +1798,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
3092
1798
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3093
1799
|
*/
|
|
3094
1800
|
discount?: string;
|
|
3095
|
-
/**
|
|
3096
|
-
* Details to determine how long the discount should be applied for.
|
|
3097
|
-
*/
|
|
3098
|
-
discount_end?: Discount.DiscountEnd;
|
|
3099
1801
|
/**
|
|
3100
1802
|
* ID of the promotion code to create a new discount for.
|
|
3101
1803
|
*/
|
|
3102
1804
|
promotion_code?: string;
|
|
3103
|
-
/**
|
|
3104
|
-
* Settings for discount application including service period anchoring.
|
|
3105
|
-
*/
|
|
3106
|
-
settings?: Discount.Settings;
|
|
3107
1805
|
}
|
|
3108
1806
|
interface PriceData {
|
|
3109
1807
|
/**
|
|
@@ -3131,96 +1829,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
3131
1829
|
*/
|
|
3132
1830
|
unit_amount_decimal?: Decimal;
|
|
3133
1831
|
}
|
|
3134
|
-
interface Trial {
|
|
3135
|
-
/**
|
|
3136
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
3137
|
-
*/
|
|
3138
|
-
converts_to?: Array<string>;
|
|
3139
|
-
/**
|
|
3140
|
-
* Determines the type of trial for this item.
|
|
3141
|
-
*/
|
|
3142
|
-
type: Trial.Type;
|
|
3143
|
-
}
|
|
3144
|
-
namespace Discount {
|
|
3145
|
-
interface DiscountEnd {
|
|
3146
|
-
/**
|
|
3147
|
-
* Time span for the redeemed discount.
|
|
3148
|
-
*/
|
|
3149
|
-
duration?: DiscountEnd.Duration;
|
|
3150
|
-
/**
|
|
3151
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3152
|
-
*/
|
|
3153
|
-
timestamp?: number;
|
|
3154
|
-
/**
|
|
3155
|
-
* The type of calculation made to determine when the discount ends.
|
|
3156
|
-
*/
|
|
3157
|
-
type: DiscountEnd.Type;
|
|
3158
|
-
}
|
|
3159
|
-
interface Settings {
|
|
3160
|
-
/**
|
|
3161
|
-
* Configures service period cycle anchoring.
|
|
3162
|
-
*/
|
|
3163
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3164
|
-
/**
|
|
3165
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
|
|
3166
|
-
*/
|
|
3167
|
-
start_date?: Settings.StartDate;
|
|
3168
|
-
}
|
|
3169
|
-
namespace DiscountEnd {
|
|
3170
|
-
interface Duration {
|
|
3171
|
-
/**
|
|
3172
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3173
|
-
*/
|
|
3174
|
-
interval: Duration.Interval;
|
|
3175
|
-
/**
|
|
3176
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3177
|
-
*/
|
|
3178
|
-
interval_count: number;
|
|
3179
|
-
}
|
|
3180
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3181
|
-
namespace Duration {
|
|
3182
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3183
|
-
}
|
|
3184
|
-
}
|
|
3185
|
-
namespace Settings {
|
|
3186
|
-
interface ServicePeriodAnchorConfig {
|
|
3187
|
-
/**
|
|
3188
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3189
|
-
*/
|
|
3190
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3191
|
-
/**
|
|
3192
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
3193
|
-
*/
|
|
3194
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3195
|
-
}
|
|
3196
|
-
type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
|
|
3197
|
-
namespace ServicePeriodAnchorConfig {
|
|
3198
|
-
interface Custom {
|
|
3199
|
-
/**
|
|
3200
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3201
|
-
*/
|
|
3202
|
-
day_of_month: number;
|
|
3203
|
-
/**
|
|
3204
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3205
|
-
*/
|
|
3206
|
-
hour?: number;
|
|
3207
|
-
/**
|
|
3208
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3209
|
-
*/
|
|
3210
|
-
minute?: number;
|
|
3211
|
-
/**
|
|
3212
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3213
|
-
*/
|
|
3214
|
-
month?: number;
|
|
3215
|
-
/**
|
|
3216
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3217
|
-
*/
|
|
3218
|
-
second?: number;
|
|
3219
|
-
}
|
|
3220
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
3221
|
-
}
|
|
3222
|
-
}
|
|
3223
|
-
}
|
|
3224
1832
|
namespace PriceData {
|
|
3225
1833
|
interface Recurring {
|
|
3226
1834
|
/**
|
|
@@ -3237,28 +1845,8 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
3237
1845
|
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
3238
1846
|
}
|
|
3239
1847
|
}
|
|
3240
|
-
namespace Trial {
|
|
3241
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
3242
|
-
}
|
|
3243
|
-
}
|
|
3244
|
-
namespace PauseCollection {
|
|
3245
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
3246
|
-
}
|
|
3247
|
-
namespace TrialSettings {
|
|
3248
|
-
interface EndBehavior {
|
|
3249
|
-
/**
|
|
3250
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
3251
|
-
*/
|
|
3252
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
3253
|
-
}
|
|
3254
|
-
namespace EndBehavior {
|
|
3255
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
3256
|
-
}
|
|
3257
1848
|
}
|
|
3258
1849
|
}
|
|
3259
|
-
namespace Prebilling {
|
|
3260
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3261
|
-
}
|
|
3262
1850
|
}
|
|
3263
1851
|
export interface SubscriptionScheduleListParams extends PaginationParams {
|
|
3264
1852
|
/**
|
|
@@ -3294,847 +1882,6 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
|
|
|
3294
1882
|
*/
|
|
3295
1883
|
scheduled?: boolean;
|
|
3296
1884
|
}
|
|
3297
|
-
export interface SubscriptionScheduleAmendParams {
|
|
3298
|
-
/**
|
|
3299
|
-
* Changes to apply to the phases of the subscription schedule, in the order provided.
|
|
3300
|
-
*/
|
|
3301
|
-
amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
|
|
3302
|
-
/**
|
|
3303
|
-
* Specifies which fields in the response should be expanded.
|
|
3304
|
-
*/
|
|
3305
|
-
expand?: Array<string>;
|
|
3306
|
-
/**
|
|
3307
|
-
* Provide any time periods to bill in advance.
|
|
3308
|
-
*/
|
|
3309
|
-
prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
|
|
3310
|
-
/**
|
|
3311
|
-
* In cases where the amendment changes the currently active phase,
|
|
3312
|
-
* specifies if and how to prorate at the time of the request.
|
|
3313
|
-
*/
|
|
3314
|
-
proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
|
|
3315
|
-
/**
|
|
3316
|
-
* Changes to apply to the subscription schedule.
|
|
3317
|
-
*/
|
|
3318
|
-
schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
|
|
3319
|
-
}
|
|
3320
|
-
export declare namespace SubscriptionScheduleAmendParams {
|
|
3321
|
-
interface Amendment {
|
|
3322
|
-
/**
|
|
3323
|
-
* Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.
|
|
3324
|
-
*/
|
|
3325
|
-
amendment_end?: Amendment.AmendmentEnd;
|
|
3326
|
-
/**
|
|
3327
|
-
* Details to identify the earliest timestamp where the proposed change should take effect.
|
|
3328
|
-
*/
|
|
3329
|
-
amendment_start: Amendment.AmendmentStart;
|
|
3330
|
-
/**
|
|
3331
|
-
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
3332
|
-
*/
|
|
3333
|
-
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
3334
|
-
/**
|
|
3335
|
-
* Actions to apply to the billing schedules.
|
|
3336
|
-
*/
|
|
3337
|
-
billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
|
|
3338
|
-
/**
|
|
3339
|
-
* Changes to the coupons being redeemed or discounts being applied during the amendment time span.
|
|
3340
|
-
*/
|
|
3341
|
-
discount_actions?: Array<Amendment.DiscountAction>;
|
|
3342
|
-
/**
|
|
3343
|
-
* Configures how the subscription schedule handles billing for phase transitions.
|
|
3344
|
-
*/
|
|
3345
|
-
effective_at?: Amendment.EffectiveAt;
|
|
3346
|
-
/**
|
|
3347
|
-
* Changes to the subscription items during the amendment time span.
|
|
3348
|
-
*/
|
|
3349
|
-
item_actions?: Array<Amendment.ItemAction>;
|
|
3350
|
-
/**
|
|
3351
|
-
* Instructions for how to modify phase metadata
|
|
3352
|
-
*/
|
|
3353
|
-
metadata_actions?: Array<Amendment.MetadataAction>;
|
|
3354
|
-
/**
|
|
3355
|
-
* Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.
|
|
3356
|
-
*/
|
|
3357
|
-
proration_behavior?: Amendment.ProrationBehavior;
|
|
3358
|
-
/**
|
|
3359
|
-
* Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
|
|
3360
|
-
*/
|
|
3361
|
-
set_pause_collection?: Amendment.SetPauseCollection;
|
|
3362
|
-
/**
|
|
3363
|
-
* Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
|
|
3364
|
-
*/
|
|
3365
|
-
set_schedule_end?: Amendment.SetScheduleEnd;
|
|
3366
|
-
/**
|
|
3367
|
-
* Settings related to subscription trials.
|
|
3368
|
-
*/
|
|
3369
|
-
trial_settings?: Amendment.TrialSettings;
|
|
3370
|
-
}
|
|
3371
|
-
interface Prebilling {
|
|
3372
|
-
/**
|
|
3373
|
-
* The beginning of the prebilled time period. The default value is `now`.
|
|
3374
|
-
*/
|
|
3375
|
-
bill_from?: Prebilling.BillFrom;
|
|
3376
|
-
/**
|
|
3377
|
-
* The end of the prebilled time period.
|
|
3378
|
-
*/
|
|
3379
|
-
bill_until?: Prebilling.BillUntil;
|
|
3380
|
-
/**
|
|
3381
|
-
* When the prebilling invoice should be created. The default value is `now`.
|
|
3382
|
-
*/
|
|
3383
|
-
invoice_at?: 'now';
|
|
3384
|
-
/**
|
|
3385
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
3386
|
-
*/
|
|
3387
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
3388
|
-
}
|
|
3389
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
3390
|
-
interface ScheduleSettings {
|
|
3391
|
-
/**
|
|
3392
|
-
* Behavior of the subscription schedule and underlying subscription when it ends.
|
|
3393
|
-
*/
|
|
3394
|
-
end_behavior?: ScheduleSettings.EndBehavior;
|
|
3395
|
-
}
|
|
3396
|
-
namespace Amendment {
|
|
3397
|
-
interface AmendmentEnd {
|
|
3398
|
-
/**
|
|
3399
|
-
* Use the `end` time of a given discount.
|
|
3400
|
-
*/
|
|
3401
|
-
discount_end?: AmendmentEnd.DiscountEnd;
|
|
3402
|
-
/**
|
|
3403
|
-
* Time span for the amendment starting from the `amendment_start`.
|
|
3404
|
-
*/
|
|
3405
|
-
duration?: AmendmentEnd.Duration;
|
|
3406
|
-
/**
|
|
3407
|
-
* A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
|
|
3408
|
-
*/
|
|
3409
|
-
timestamp?: number;
|
|
3410
|
-
/**
|
|
3411
|
-
* Select one of three ways to pass the `amendment_end`.
|
|
3412
|
-
*/
|
|
3413
|
-
type: AmendmentEnd.Type;
|
|
3414
|
-
}
|
|
3415
|
-
interface AmendmentStart {
|
|
3416
|
-
/**
|
|
3417
|
-
* Details of another amendment in the same array, immediately after which this amendment should begin.
|
|
3418
|
-
*/
|
|
3419
|
-
amendment_end?: AmendmentStart.AmendmentEnd;
|
|
3420
|
-
/**
|
|
3421
|
-
* Use the `end` time of a given discount.
|
|
3422
|
-
*/
|
|
3423
|
-
discount_end?: AmendmentStart.DiscountEnd;
|
|
3424
|
-
/**
|
|
3425
|
-
* A precise Unix timestamp for the amendment to start.
|
|
3426
|
-
*/
|
|
3427
|
-
timestamp?: number;
|
|
3428
|
-
/**
|
|
3429
|
-
* Select one of three ways to pass the `amendment_start`.
|
|
3430
|
-
*/
|
|
3431
|
-
type: AmendmentStart.Type;
|
|
3432
|
-
}
|
|
3433
|
-
type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
|
|
3434
|
-
interface BillingSchedulesAction {
|
|
3435
|
-
/**
|
|
3436
|
-
* Specify which subscription items the billing schedule applies to.
|
|
3437
|
-
*/
|
|
3438
|
-
applies_to?: Array<BillingSchedulesAction.AppliesTo>;
|
|
3439
|
-
/**
|
|
3440
|
-
* Select the action.
|
|
3441
|
-
*/
|
|
3442
|
-
type: BillingSchedulesAction.Type;
|
|
3443
|
-
}
|
|
3444
|
-
interface DiscountAction {
|
|
3445
|
-
/**
|
|
3446
|
-
* Details of the discount to add.
|
|
3447
|
-
*/
|
|
3448
|
-
add?: DiscountAction.Add;
|
|
3449
|
-
/**
|
|
3450
|
-
* Details of the discount to remove.
|
|
3451
|
-
*/
|
|
3452
|
-
remove?: DiscountAction.Remove;
|
|
3453
|
-
/**
|
|
3454
|
-
* Details of the discount to replace the existing discounts with.
|
|
3455
|
-
*/
|
|
3456
|
-
set?: DiscountAction.Set;
|
|
3457
|
-
/**
|
|
3458
|
-
* Determines the type of discount action.
|
|
3459
|
-
*/
|
|
3460
|
-
type: DiscountAction.Type;
|
|
3461
|
-
}
|
|
3462
|
-
type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
|
|
3463
|
-
interface ItemAction {
|
|
3464
|
-
/**
|
|
3465
|
-
* Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
|
|
3466
|
-
*/
|
|
3467
|
-
add?: ItemAction.Add;
|
|
3468
|
-
/**
|
|
3469
|
-
* Details of the subscription item to remove.
|
|
3470
|
-
*/
|
|
3471
|
-
remove?: ItemAction.Remove;
|
|
3472
|
-
/**
|
|
3473
|
-
* Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.
|
|
3474
|
-
*/
|
|
3475
|
-
set?: ItemAction.Set;
|
|
3476
|
-
/**
|
|
3477
|
-
* Determines the type of item action.
|
|
3478
|
-
*/
|
|
3479
|
-
type: ItemAction.Type;
|
|
3480
|
-
}
|
|
3481
|
-
interface MetadataAction {
|
|
3482
|
-
/**
|
|
3483
|
-
* Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
|
|
3484
|
-
*/
|
|
3485
|
-
add?: {
|
|
3486
|
-
[key: string]: string;
|
|
3487
|
-
};
|
|
3488
|
-
/**
|
|
3489
|
-
* Keys to remove from schedule phase metadata.
|
|
3490
|
-
*/
|
|
3491
|
-
remove?: Array<string>;
|
|
3492
|
-
/**
|
|
3493
|
-
* Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
|
|
3494
|
-
*/
|
|
3495
|
-
set?: Emptyable<{
|
|
3496
|
-
[key: string]: string;
|
|
3497
|
-
}>;
|
|
3498
|
-
/**
|
|
3499
|
-
* Select one of three ways to update phase-level `metadata` on subscription schedules.
|
|
3500
|
-
*/
|
|
3501
|
-
type: MetadataAction.Type;
|
|
3502
|
-
}
|
|
3503
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
3504
|
-
interface SetPauseCollection {
|
|
3505
|
-
/**
|
|
3506
|
-
* Details of the pause_collection behavior to apply to the amendment.
|
|
3507
|
-
*/
|
|
3508
|
-
set?: SetPauseCollection.Set;
|
|
3509
|
-
/**
|
|
3510
|
-
* Determines the type of the pause_collection amendment.
|
|
3511
|
-
*/
|
|
3512
|
-
type: SetPauseCollection.Type;
|
|
3513
|
-
}
|
|
3514
|
-
type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
|
|
3515
|
-
interface TrialSettings {
|
|
3516
|
-
/**
|
|
3517
|
-
* Defines how the subscription should behave when a trial ends.
|
|
3518
|
-
*/
|
|
3519
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
3520
|
-
}
|
|
3521
|
-
namespace AmendmentEnd {
|
|
3522
|
-
interface DiscountEnd {
|
|
3523
|
-
/**
|
|
3524
|
-
* The ID of a specific discount.
|
|
3525
|
-
*/
|
|
3526
|
-
discount: string;
|
|
3527
|
-
}
|
|
3528
|
-
interface Duration {
|
|
3529
|
-
/**
|
|
3530
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3531
|
-
*/
|
|
3532
|
-
interval: Duration.Interval;
|
|
3533
|
-
/**
|
|
3534
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3535
|
-
*/
|
|
3536
|
-
interval_count: number;
|
|
3537
|
-
}
|
|
3538
|
-
type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
3539
|
-
namespace Duration {
|
|
3540
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3541
|
-
}
|
|
3542
|
-
}
|
|
3543
|
-
namespace AmendmentStart {
|
|
3544
|
-
interface AmendmentEnd {
|
|
3545
|
-
/**
|
|
3546
|
-
* The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
|
|
3547
|
-
*/
|
|
3548
|
-
index: number;
|
|
3549
|
-
}
|
|
3550
|
-
interface DiscountEnd {
|
|
3551
|
-
/**
|
|
3552
|
-
* The ID of a specific discount.
|
|
3553
|
-
*/
|
|
3554
|
-
discount: string;
|
|
3555
|
-
}
|
|
3556
|
-
type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
3557
|
-
}
|
|
3558
|
-
namespace BillingSchedulesAction {
|
|
3559
|
-
interface AppliesTo {
|
|
3560
|
-
/**
|
|
3561
|
-
* The ID of the price object.
|
|
3562
|
-
*/
|
|
3563
|
-
price?: string;
|
|
3564
|
-
/**
|
|
3565
|
-
* Controls which subscription items the billing schedule applies to.
|
|
3566
|
-
*/
|
|
3567
|
-
type: 'price';
|
|
3568
|
-
}
|
|
3569
|
-
type Type = 'remove' | 'set' | OtherString;
|
|
3570
|
-
}
|
|
3571
|
-
namespace DiscountAction {
|
|
3572
|
-
interface Add {
|
|
3573
|
-
/**
|
|
3574
|
-
* The coupon code to redeem.
|
|
3575
|
-
*/
|
|
3576
|
-
coupon?: string;
|
|
3577
|
-
/**
|
|
3578
|
-
* An ID of an existing discount for a coupon that was already redeemed.
|
|
3579
|
-
*/
|
|
3580
|
-
discount?: string;
|
|
3581
|
-
/**
|
|
3582
|
-
* Details to determine how long the discount should be applied for.
|
|
3583
|
-
*/
|
|
3584
|
-
discount_end?: Add.DiscountEnd;
|
|
3585
|
-
/**
|
|
3586
|
-
* The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
|
|
3587
|
-
*/
|
|
3588
|
-
index?: number;
|
|
3589
|
-
/**
|
|
3590
|
-
* The promotion code to redeem.
|
|
3591
|
-
*/
|
|
3592
|
-
promotion_code?: string;
|
|
3593
|
-
/**
|
|
3594
|
-
* Settings for discount application including service period anchoring.
|
|
3595
|
-
*/
|
|
3596
|
-
settings?: Add.Settings;
|
|
3597
|
-
}
|
|
3598
|
-
interface Remove {
|
|
3599
|
-
/**
|
|
3600
|
-
* The coupon code to remove from the `discounts` array.
|
|
3601
|
-
*/
|
|
3602
|
-
coupon?: string;
|
|
3603
|
-
/**
|
|
3604
|
-
* The ID of a discount to remove from the `discounts` array.
|
|
3605
|
-
*/
|
|
3606
|
-
discount?: string;
|
|
3607
|
-
/**
|
|
3608
|
-
* The ID of a promotion code to remove from the `discounts` array.
|
|
3609
|
-
*/
|
|
3610
|
-
promotion_code?: string;
|
|
3611
|
-
}
|
|
3612
|
-
interface Set {
|
|
3613
|
-
/**
|
|
3614
|
-
* The coupon code to replace the `discounts` array with.
|
|
3615
|
-
*/
|
|
3616
|
-
coupon?: string;
|
|
3617
|
-
/**
|
|
3618
|
-
* An ID of an existing discount to replace the `discounts` array with.
|
|
3619
|
-
*/
|
|
3620
|
-
discount?: string;
|
|
3621
|
-
/**
|
|
3622
|
-
* An ID of an existing promotion code to replace the `discounts` array with.
|
|
3623
|
-
*/
|
|
3624
|
-
promotion_code?: string;
|
|
3625
|
-
/**
|
|
3626
|
-
* Settings for discount application including service period anchoring.
|
|
3627
|
-
*/
|
|
3628
|
-
settings?: Set.Settings;
|
|
3629
|
-
}
|
|
3630
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
3631
|
-
namespace Add {
|
|
3632
|
-
interface DiscountEnd {
|
|
3633
|
-
/**
|
|
3634
|
-
* The type of calculation made to determine when the discount ends.
|
|
3635
|
-
*/
|
|
3636
|
-
type: 'amendment_end';
|
|
3637
|
-
}
|
|
3638
|
-
interface Settings {
|
|
3639
|
-
/**
|
|
3640
|
-
* Configures service period cycle anchoring.
|
|
3641
|
-
*/
|
|
3642
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3643
|
-
/**
|
|
3644
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
3645
|
-
*/
|
|
3646
|
-
start_date?: Settings.StartDate;
|
|
3647
|
-
}
|
|
3648
|
-
namespace Settings {
|
|
3649
|
-
interface ServicePeriodAnchorConfig {
|
|
3650
|
-
/**
|
|
3651
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3652
|
-
*/
|
|
3653
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3654
|
-
/**
|
|
3655
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
3656
|
-
*/
|
|
3657
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3658
|
-
}
|
|
3659
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
3660
|
-
namespace ServicePeriodAnchorConfig {
|
|
3661
|
-
interface Custom {
|
|
3662
|
-
/**
|
|
3663
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3664
|
-
*/
|
|
3665
|
-
day_of_month: number;
|
|
3666
|
-
/**
|
|
3667
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3668
|
-
*/
|
|
3669
|
-
hour?: number;
|
|
3670
|
-
/**
|
|
3671
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3672
|
-
*/
|
|
3673
|
-
minute?: number;
|
|
3674
|
-
/**
|
|
3675
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3676
|
-
*/
|
|
3677
|
-
month?: number;
|
|
3678
|
-
/**
|
|
3679
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3680
|
-
*/
|
|
3681
|
-
second?: number;
|
|
3682
|
-
}
|
|
3683
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
3684
|
-
}
|
|
3685
|
-
}
|
|
3686
|
-
}
|
|
3687
|
-
namespace Set {
|
|
3688
|
-
interface Settings {
|
|
3689
|
-
/**
|
|
3690
|
-
* Configures service period cycle anchoring.
|
|
3691
|
-
*/
|
|
3692
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3693
|
-
/**
|
|
3694
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
3695
|
-
*/
|
|
3696
|
-
start_date?: Settings.StartDate;
|
|
3697
|
-
}
|
|
3698
|
-
namespace Settings {
|
|
3699
|
-
interface ServicePeriodAnchorConfig {
|
|
3700
|
-
/**
|
|
3701
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3702
|
-
*/
|
|
3703
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3704
|
-
/**
|
|
3705
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
3706
|
-
*/
|
|
3707
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3708
|
-
}
|
|
3709
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
3710
|
-
namespace ServicePeriodAnchorConfig {
|
|
3711
|
-
interface Custom {
|
|
3712
|
-
/**
|
|
3713
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3714
|
-
*/
|
|
3715
|
-
day_of_month: number;
|
|
3716
|
-
/**
|
|
3717
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3718
|
-
*/
|
|
3719
|
-
hour?: number;
|
|
3720
|
-
/**
|
|
3721
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3722
|
-
*/
|
|
3723
|
-
minute?: number;
|
|
3724
|
-
/**
|
|
3725
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3726
|
-
*/
|
|
3727
|
-
month?: number;
|
|
3728
|
-
/**
|
|
3729
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3730
|
-
*/
|
|
3731
|
-
second?: number;
|
|
3732
|
-
}
|
|
3733
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
3734
|
-
}
|
|
3735
|
-
}
|
|
3736
|
-
}
|
|
3737
|
-
}
|
|
3738
|
-
namespace ItemAction {
|
|
3739
|
-
interface Add {
|
|
3740
|
-
/**
|
|
3741
|
-
* The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
|
|
3742
|
-
*/
|
|
3743
|
-
discounts?: Array<Add.Discount>;
|
|
3744
|
-
/**
|
|
3745
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3746
|
-
*/
|
|
3747
|
-
metadata?: MetadataParam;
|
|
3748
|
-
/**
|
|
3749
|
-
* The ID of the price object.
|
|
3750
|
-
*/
|
|
3751
|
-
price: string;
|
|
3752
|
-
/**
|
|
3753
|
-
* Quantity for this item.
|
|
3754
|
-
*/
|
|
3755
|
-
quantity?: number;
|
|
3756
|
-
/**
|
|
3757
|
-
* The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
|
|
3758
|
-
*/
|
|
3759
|
-
tax_rates?: Array<string>;
|
|
3760
|
-
/**
|
|
3761
|
-
* Options that configure the trial on the subscription item.
|
|
3762
|
-
*/
|
|
3763
|
-
trial?: Add.Trial;
|
|
3764
|
-
/**
|
|
3765
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
3766
|
-
*/
|
|
3767
|
-
trial_offer?: string;
|
|
3768
|
-
}
|
|
3769
|
-
interface Remove {
|
|
3770
|
-
/**
|
|
3771
|
-
* ID of a price to remove.
|
|
3772
|
-
*/
|
|
3773
|
-
price: string;
|
|
3774
|
-
}
|
|
3775
|
-
interface Set {
|
|
3776
|
-
/**
|
|
3777
|
-
* If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
|
|
3778
|
-
*/
|
|
3779
|
-
discounts?: Array<Set.Discount>;
|
|
3780
|
-
/**
|
|
3781
|
-
* If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
|
|
3782
|
-
*/
|
|
3783
|
-
metadata?: MetadataParam;
|
|
3784
|
-
/**
|
|
3785
|
-
* The ID of the price object.
|
|
3786
|
-
*/
|
|
3787
|
-
price: string;
|
|
3788
|
-
/**
|
|
3789
|
-
* If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
|
|
3790
|
-
*/
|
|
3791
|
-
quantity?: number;
|
|
3792
|
-
/**
|
|
3793
|
-
* If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
|
|
3794
|
-
*/
|
|
3795
|
-
tax_rates?: Array<string>;
|
|
3796
|
-
/**
|
|
3797
|
-
* If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
|
|
3798
|
-
*/
|
|
3799
|
-
trial?: Set.Trial;
|
|
3800
|
-
/**
|
|
3801
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
3802
|
-
*/
|
|
3803
|
-
trial_offer?: string;
|
|
3804
|
-
}
|
|
3805
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
3806
|
-
namespace Add {
|
|
3807
|
-
interface Discount {
|
|
3808
|
-
/**
|
|
3809
|
-
* ID of the coupon to create a new discount for.
|
|
3810
|
-
*/
|
|
3811
|
-
coupon?: string;
|
|
3812
|
-
/**
|
|
3813
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3814
|
-
*/
|
|
3815
|
-
discount?: string;
|
|
3816
|
-
/**
|
|
3817
|
-
* Details to determine how long the discount should be applied for.
|
|
3818
|
-
*/
|
|
3819
|
-
discount_end?: Discount.DiscountEnd;
|
|
3820
|
-
/**
|
|
3821
|
-
* ID of the promotion code to create a new discount for.
|
|
3822
|
-
*/
|
|
3823
|
-
promotion_code?: string;
|
|
3824
|
-
/**
|
|
3825
|
-
* Settings for discount application including service period anchoring.
|
|
3826
|
-
*/
|
|
3827
|
-
settings?: Discount.Settings;
|
|
3828
|
-
}
|
|
3829
|
-
interface Trial {
|
|
3830
|
-
/**
|
|
3831
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
3832
|
-
*/
|
|
3833
|
-
converts_to?: Array<string>;
|
|
3834
|
-
/**
|
|
3835
|
-
* Determines the type of trial for this item.
|
|
3836
|
-
*/
|
|
3837
|
-
type: Trial.Type;
|
|
3838
|
-
}
|
|
3839
|
-
namespace Discount {
|
|
3840
|
-
interface DiscountEnd {
|
|
3841
|
-
/**
|
|
3842
|
-
* Time span for the redeemed discount.
|
|
3843
|
-
*/
|
|
3844
|
-
duration?: DiscountEnd.Duration;
|
|
3845
|
-
/**
|
|
3846
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3847
|
-
*/
|
|
3848
|
-
timestamp?: number;
|
|
3849
|
-
/**
|
|
3850
|
-
* The type of calculation made to determine when the discount ends.
|
|
3851
|
-
*/
|
|
3852
|
-
type: DiscountEnd.Type;
|
|
3853
|
-
}
|
|
3854
|
-
interface Settings {
|
|
3855
|
-
/**
|
|
3856
|
-
* Configures service period cycle anchoring.
|
|
3857
|
-
*/
|
|
3858
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3859
|
-
/**
|
|
3860
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
3861
|
-
*/
|
|
3862
|
-
start_date?: Settings.StartDate;
|
|
3863
|
-
}
|
|
3864
|
-
namespace DiscountEnd {
|
|
3865
|
-
interface Duration {
|
|
3866
|
-
/**
|
|
3867
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3868
|
-
*/
|
|
3869
|
-
interval: Duration.Interval;
|
|
3870
|
-
/**
|
|
3871
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3872
|
-
*/
|
|
3873
|
-
interval_count: number;
|
|
3874
|
-
}
|
|
3875
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3876
|
-
namespace Duration {
|
|
3877
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3878
|
-
}
|
|
3879
|
-
}
|
|
3880
|
-
namespace Settings {
|
|
3881
|
-
interface ServicePeriodAnchorConfig {
|
|
3882
|
-
/**
|
|
3883
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
3884
|
-
*/
|
|
3885
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
3886
|
-
/**
|
|
3887
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
3888
|
-
*/
|
|
3889
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
3890
|
-
}
|
|
3891
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
3892
|
-
namespace ServicePeriodAnchorConfig {
|
|
3893
|
-
interface Custom {
|
|
3894
|
-
/**
|
|
3895
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
3896
|
-
*/
|
|
3897
|
-
day_of_month: number;
|
|
3898
|
-
/**
|
|
3899
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
3900
|
-
*/
|
|
3901
|
-
hour?: number;
|
|
3902
|
-
/**
|
|
3903
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
3904
|
-
*/
|
|
3905
|
-
minute?: number;
|
|
3906
|
-
/**
|
|
3907
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
3908
|
-
*/
|
|
3909
|
-
month?: number;
|
|
3910
|
-
/**
|
|
3911
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
3912
|
-
*/
|
|
3913
|
-
second?: number;
|
|
3914
|
-
}
|
|
3915
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
3916
|
-
}
|
|
3917
|
-
}
|
|
3918
|
-
}
|
|
3919
|
-
namespace Trial {
|
|
3920
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
3921
|
-
}
|
|
3922
|
-
}
|
|
3923
|
-
namespace Set {
|
|
3924
|
-
interface Discount {
|
|
3925
|
-
/**
|
|
3926
|
-
* ID of the coupon to create a new discount for.
|
|
3927
|
-
*/
|
|
3928
|
-
coupon?: string;
|
|
3929
|
-
/**
|
|
3930
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3931
|
-
*/
|
|
3932
|
-
discount?: string;
|
|
3933
|
-
/**
|
|
3934
|
-
* Details to determine how long the discount should be applied for.
|
|
3935
|
-
*/
|
|
3936
|
-
discount_end?: Discount.DiscountEnd;
|
|
3937
|
-
/**
|
|
3938
|
-
* ID of the promotion code to create a new discount for.
|
|
3939
|
-
*/
|
|
3940
|
-
promotion_code?: string;
|
|
3941
|
-
/**
|
|
3942
|
-
* Settings for discount application including service period anchoring.
|
|
3943
|
-
*/
|
|
3944
|
-
settings?: Discount.Settings;
|
|
3945
|
-
}
|
|
3946
|
-
interface Trial {
|
|
3947
|
-
/**
|
|
3948
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
|
3949
|
-
*/
|
|
3950
|
-
converts_to?: Array<string>;
|
|
3951
|
-
/**
|
|
3952
|
-
* Determines the type of trial for this item.
|
|
3953
|
-
*/
|
|
3954
|
-
type: Trial.Type;
|
|
3955
|
-
}
|
|
3956
|
-
namespace Discount {
|
|
3957
|
-
interface DiscountEnd {
|
|
3958
|
-
/**
|
|
3959
|
-
* Time span for the redeemed discount.
|
|
3960
|
-
*/
|
|
3961
|
-
duration?: DiscountEnd.Duration;
|
|
3962
|
-
/**
|
|
3963
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3964
|
-
*/
|
|
3965
|
-
timestamp?: number;
|
|
3966
|
-
/**
|
|
3967
|
-
* The type of calculation made to determine when the discount ends.
|
|
3968
|
-
*/
|
|
3969
|
-
type: DiscountEnd.Type;
|
|
3970
|
-
}
|
|
3971
|
-
interface Settings {
|
|
3972
|
-
/**
|
|
3973
|
-
* Configures service period cycle anchoring.
|
|
3974
|
-
*/
|
|
3975
|
-
service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
|
|
3976
|
-
/**
|
|
3977
|
-
* The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
|
|
3978
|
-
*/
|
|
3979
|
-
start_date?: Settings.StartDate;
|
|
3980
|
-
}
|
|
3981
|
-
namespace DiscountEnd {
|
|
3982
|
-
interface Duration {
|
|
3983
|
-
/**
|
|
3984
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3985
|
-
*/
|
|
3986
|
-
interval: Duration.Interval;
|
|
3987
|
-
/**
|
|
3988
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3989
|
-
*/
|
|
3990
|
-
interval_count: number;
|
|
3991
|
-
}
|
|
3992
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3993
|
-
namespace Duration {
|
|
3994
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3995
|
-
}
|
|
3996
|
-
}
|
|
3997
|
-
namespace Settings {
|
|
3998
|
-
interface ServicePeriodAnchorConfig {
|
|
3999
|
-
/**
|
|
4000
|
-
* Anchor the service period to a custom date. Type must be `custom` to specify.
|
|
4001
|
-
*/
|
|
4002
|
-
custom?: ServicePeriodAnchorConfig.Custom;
|
|
4003
|
-
/**
|
|
4004
|
-
* The type of service period anchor config. Defaults to `inherit` if omitted.
|
|
4005
|
-
*/
|
|
4006
|
-
type?: ServicePeriodAnchorConfig.Type;
|
|
4007
|
-
}
|
|
4008
|
-
type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
|
|
4009
|
-
namespace ServicePeriodAnchorConfig {
|
|
4010
|
-
interface Custom {
|
|
4011
|
-
/**
|
|
4012
|
-
* The day of the month the anchor should be. Ranges from 1 to 31.
|
|
4013
|
-
*/
|
|
4014
|
-
day_of_month: number;
|
|
4015
|
-
/**
|
|
4016
|
-
* The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
4017
|
-
*/
|
|
4018
|
-
hour?: number;
|
|
4019
|
-
/**
|
|
4020
|
-
* The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
4021
|
-
*/
|
|
4022
|
-
minute?: number;
|
|
4023
|
-
/**
|
|
4024
|
-
* The month to start full cycle periods. Ranges from 1 to 12.
|
|
4025
|
-
*/
|
|
4026
|
-
month?: number;
|
|
4027
|
-
/**
|
|
4028
|
-
* The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
4029
|
-
*/
|
|
4030
|
-
second?: number;
|
|
4031
|
-
}
|
|
4032
|
-
type Type = 'custom' | 'inherit' | OtherString;
|
|
4033
|
-
}
|
|
4034
|
-
}
|
|
4035
|
-
}
|
|
4036
|
-
namespace Trial {
|
|
4037
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
4038
|
-
}
|
|
4039
|
-
}
|
|
4040
|
-
}
|
|
4041
|
-
namespace MetadataAction {
|
|
4042
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
4043
|
-
}
|
|
4044
|
-
namespace SetPauseCollection {
|
|
4045
|
-
interface Set {
|
|
4046
|
-
/**
|
|
4047
|
-
* The payment collection behavior for this subscription while paused.
|
|
4048
|
-
*/
|
|
4049
|
-
behavior: Set.Behavior;
|
|
4050
|
-
}
|
|
4051
|
-
type Type = 'remove' | 'set' | OtherString;
|
|
4052
|
-
namespace Set {
|
|
4053
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
4054
|
-
}
|
|
4055
|
-
}
|
|
4056
|
-
namespace TrialSettings {
|
|
4057
|
-
interface EndBehavior {
|
|
4058
|
-
/**
|
|
4059
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
4060
|
-
*/
|
|
4061
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
4062
|
-
}
|
|
4063
|
-
namespace EndBehavior {
|
|
4064
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
4065
|
-
}
|
|
4066
|
-
}
|
|
4067
|
-
}
|
|
4068
|
-
namespace Prebilling {
|
|
4069
|
-
interface BillFrom {
|
|
4070
|
-
/**
|
|
4071
|
-
* Start the prebilled period when a specified amendment begins.
|
|
4072
|
-
*/
|
|
4073
|
-
amendment_start?: BillFrom.AmendmentStart;
|
|
4074
|
-
/**
|
|
4075
|
-
* Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
|
4076
|
-
*/
|
|
4077
|
-
timestamp?: number;
|
|
4078
|
-
/**
|
|
4079
|
-
* Select one of several ways to pass the `bill_from` value.
|
|
4080
|
-
*/
|
|
4081
|
-
type: BillFrom.Type;
|
|
4082
|
-
}
|
|
4083
|
-
interface BillUntil {
|
|
4084
|
-
/**
|
|
4085
|
-
* End the prebilled period when a specified amendment ends.
|
|
4086
|
-
*/
|
|
4087
|
-
amendment_end?: BillUntil.AmendmentEnd;
|
|
4088
|
-
/**
|
|
4089
|
-
* Time span for prebilling, starting from `bill_from`.
|
|
4090
|
-
*/
|
|
4091
|
-
duration?: BillUntil.Duration;
|
|
4092
|
-
/**
|
|
4093
|
-
* End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
|
4094
|
-
*/
|
|
4095
|
-
timestamp?: number;
|
|
4096
|
-
/**
|
|
4097
|
-
* Select one of several ways to pass the `bill_until` value.
|
|
4098
|
-
*/
|
|
4099
|
-
type: BillUntil.Type;
|
|
4100
|
-
}
|
|
4101
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
4102
|
-
namespace BillFrom {
|
|
4103
|
-
interface AmendmentStart {
|
|
4104
|
-
/**
|
|
4105
|
-
* The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments.
|
|
4106
|
-
*/
|
|
4107
|
-
index: number;
|
|
4108
|
-
}
|
|
4109
|
-
type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
|
|
4110
|
-
}
|
|
4111
|
-
namespace BillUntil {
|
|
4112
|
-
interface AmendmentEnd {
|
|
4113
|
-
/**
|
|
4114
|
-
* The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.
|
|
4115
|
-
*/
|
|
4116
|
-
index: number;
|
|
4117
|
-
}
|
|
4118
|
-
interface Duration {
|
|
4119
|
-
/**
|
|
4120
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4121
|
-
*/
|
|
4122
|
-
interval: Duration.Interval;
|
|
4123
|
-
/**
|
|
4124
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4125
|
-
*/
|
|
4126
|
-
interval_count: number;
|
|
4127
|
-
}
|
|
4128
|
-
type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
|
|
4129
|
-
namespace Duration {
|
|
4130
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
}
|
|
4134
|
-
namespace ScheduleSettings {
|
|
4135
|
-
type EndBehavior = 'cancel' | 'release' | OtherString;
|
|
4136
|
-
}
|
|
4137
|
-
}
|
|
4138
1885
|
export interface SubscriptionScheduleCancelParams {
|
|
4139
1886
|
/**
|
|
4140
1887
|
* Specifies which fields in the response should be expanded.
|
|
@@ -4159,11 +1906,3 @@ export interface SubscriptionScheduleReleaseParams {
|
|
|
4159
1906
|
*/
|
|
4160
1907
|
preserve_cancel_date?: boolean;
|
|
4161
1908
|
}
|
|
4162
|
-
export interface SubscriptionScheduleSerializeBatchCancelParams {
|
|
4163
|
-
}
|
|
4164
|
-
export interface SubscriptionScheduleSerializeBatchCreateParams {
|
|
4165
|
-
}
|
|
4166
|
-
export interface SubscriptionScheduleSerializeBatchReleaseParams {
|
|
4167
|
-
}
|
|
4168
|
-
export interface SubscriptionScheduleSerializeBatchUpdateParams {
|
|
4169
|
-
}
|