stripe 23.1.0-beta.2 → 23.1.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 +4850 -1831
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -6
- package/cjs/Error.js +17 -17
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +60 -46
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +57 -211
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +58 -626
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +6 -6
- package/cjs/resources/Apps/Installs.js +3 -3
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +120 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +3 -17
- package/cjs/resources/Charges.d.ts +73 -3077
- package/cjs/resources/Checkout/Sessions.d.ts +40 -360
- package/cjs/resources/ConfirmationTokens.d.ts +1 -64
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +5 -24
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +8 -19
- package/cjs/resources/Events.d.ts +95 -548
- 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 +5 -70
- 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 +9 -124
- 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/InvoiceItems.d.ts +1 -86
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +142 -1230
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
- package/cjs/resources/Issuing/Cards.d.ts +12 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- package/cjs/resources/Issuing/Transactions.d.ts +0 -22
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +2 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
- package/cjs/resources/PaymentIntents.d.ts +6191 -17059
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +81 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/cjs/resources/PaymentMethods.d.ts +3 -155
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +1 -80
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- 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 +150 -2359
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Radar/index.d.ts +16 -21
- package/cjs/resources/Radar/index.js +0 -2
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -5
- 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 +1 -41
- package/cjs/resources/Reserve/Plans.js +0 -19
- 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 -18
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -26
- package/cjs/resources/SetupIntents.d.ts +14 -328
- package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +7 -112
- package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +12 -394
- package/cjs/resources/Subscriptions.js +1 -43
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +90 -28
- package/cjs/resources/Tax/Transactions.d.ts +3 -3
- package/cjs/resources/Tax/index.d.ts +17 -24
- package/cjs/resources/Tax/index.js +0 -2
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/Readers.d.ts +4 -20
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
- package/cjs/resources/TestHelpers/Customers.js +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 +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +6 -15
- package/cjs/resources/Transfers.d.ts +0 -8
- 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 -9
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/cjs/resources/Treasury/Transactions.d.ts +14 -0
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
- package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +872 -923
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
- package/cjs/resources/V2/Core/index.d.ts +9 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/cjs/resources/V2/MoneyManagement/index.js +4 -6
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +3 -18
- package/cjs/resources/V2/index.js +4 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -9
- package/cjs/resources.js +15 -115
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +671 -6308
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +28 -57
- package/cjs/stripe.core.js +36 -53
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -6
- package/esm/Error.js +14 -14
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +60 -46
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +57 -211
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +58 -626
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +6 -6
- package/esm/resources/Apps/Installs.js +3 -3
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +120 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +3 -17
- package/esm/resources/Charges.d.ts +73 -3077
- package/esm/resources/Checkout/Sessions.d.ts +40 -360
- package/esm/resources/ConfirmationTokens.d.ts +1 -64
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +5 -24
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +8 -19
- package/esm/resources/Events.d.ts +95 -548
- 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 +5 -70
- 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 +9 -124
- 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/InvoiceItems.d.ts +1 -86
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +142 -1230
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +1 -19
- package/esm/resources/Issuing/Cards.d.ts +12 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- package/esm/resources/Issuing/Transactions.d.ts +0 -22
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +2 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
- package/esm/resources/PaymentIntents.d.ts +6191 -17059
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +81 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/esm/resources/PaymentMethods.d.ts +3 -155
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +1 -80
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- 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 +150 -2359
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Radar/index.d.ts +16 -21
- package/esm/resources/Radar/index.js +0 -2
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -5
- 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 +1 -41
- package/esm/resources/Reserve/Plans.js +1 -17
- 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 -18
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -26
- package/esm/resources/SetupIntents.d.ts +14 -328
- package/esm/resources/SourceMandateNotifications.d.ts +1 -3
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +7 -112
- package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +12 -394
- package/esm/resources/Subscriptions.js +1 -43
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +90 -28
- package/esm/resources/Tax/Transactions.d.ts +3 -3
- package/esm/resources/Tax/index.d.ts +17 -24
- package/esm/resources/Tax/index.js +0 -2
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/Readers.d.ts +4 -20
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/esm/resources/TestHelpers/Customers.d.ts +1 -1
- package/esm/resources/TestHelpers/Customers.js +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 +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +6 -15
- package/esm/resources/Transfers.d.ts +0 -8
- 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 -9
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/esm/resources/Treasury/Transactions.d.ts +14 -0
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
- package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/esm/resources/V2/Core/Events.d.ts +872 -923
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
- package/esm/resources/V2/Core/index.d.ts +9 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/esm/resources/V2/MoneyManagement/index.js +4 -6
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +3 -18
- package/esm/resources/V2/index.js +2 -12
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -9
- package/esm/resources.js +7 -102
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +28 -57
- package/esm/stripe.core.js +2 -19
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +28 -57
- package/esm/stripe.esm.node.js +2 -19
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -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/Billing/Analytics/MeterUsage.d.ts +0 -85
- 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 -32
- 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/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 -216
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- 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/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/Orders.d.ts +0 -4696
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.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/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/cjs/resources/Radar/BillingEvaluations.js +0 -15
- package/cjs/resources/Radar/BillingEvaluations.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- 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 -330
- 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/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/SharedPayment/GrantedTokens.d.ts +0 -68
- 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/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/Cadences.d.ts +0 -958
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- 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 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.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/Core/ApprovalRequests.d.ts +0 -378
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
- 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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.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/Iam/ActivityLogs.d.ts +0 -377
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.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/Signals/AccountActivities.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.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/Billing/Analytics/MeterUsage.d.ts +0 -85
- 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 -32
- 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/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 -216
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- 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/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/Orders.d.ts +0 -4696
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.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/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/esm/resources/Radar/BillingEvaluations.js +0 -11
- package/esm/resources/Radar/BillingEvaluations.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- 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 -330
- 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/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/SharedPayment/GrantedTokens.d.ts +0 -68
- 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/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/Cadences.d.ts +0 -958
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- 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 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.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/Core/ApprovalRequests.d.ts +0 -378
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
- 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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.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/Iam/ActivityLogs.d.ts +0 -377
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.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/Signals/AccountActivities.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivities.js +0 -23
- package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/esm/resources/V2/Signals/AccountSignals.js +0 -62
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
|
@@ -11,7 +11,6 @@ import { Price, DeletedPrice } from './Prices.js';
|
|
|
11
11
|
import { Coupon } from './Coupons.js';
|
|
12
12
|
import { PromotionCode } from './PromotionCodes.js';
|
|
13
13
|
import { Plan, DeletedPlan } from './Plans.js';
|
|
14
|
-
import { Invoice } from './Invoices.js';
|
|
15
14
|
import * as TestHelpers from './TestHelpers/index.js';
|
|
16
15
|
import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
17
16
|
import { RequestOptions, ApiListPromise, Response } from '../lib.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
|
*/
|
|
@@ -58,10 +53,6 @@ export interface SubscriptionSchedule {
|
|
|
58
53
|
* ID of the Connect Application that created the schedule.
|
|
59
54
|
*/
|
|
60
55
|
application: string | Application | DeletedApplication | null;
|
|
61
|
-
/**
|
|
62
|
-
* 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.
|
|
63
|
-
*/
|
|
64
|
-
billing_behavior?: SubscriptionSchedule.BillingBehavior;
|
|
65
56
|
/**
|
|
66
57
|
* The billing mode of the subscription.
|
|
67
58
|
*/
|
|
@@ -95,10 +86,6 @@ export interface SubscriptionSchedule {
|
|
|
95
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.
|
|
96
87
|
*/
|
|
97
88
|
end_behavior: SubscriptionSchedule.EndBehavior;
|
|
98
|
-
/**
|
|
99
|
-
* Details of the most recent price migration that failed for the subscription schedule.
|
|
100
|
-
*/
|
|
101
|
-
last_price_migration_error?: SubscriptionSchedule.LastPriceMigrationError | null;
|
|
102
89
|
/**
|
|
103
90
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
104
91
|
*/
|
|
@@ -110,15 +97,11 @@ export interface SubscriptionSchedule {
|
|
|
110
97
|
/**
|
|
111
98
|
* The pause schedules for this subscription schedule.
|
|
112
99
|
*/
|
|
113
|
-
pause_schedules
|
|
100
|
+
pause_schedules: Array<SubscriptionSchedule.PauseSchedule>;
|
|
114
101
|
/**
|
|
115
102
|
* Configuration for the subscription schedule's phases.
|
|
116
103
|
*/
|
|
117
104
|
phases: Array<SubscriptionSchedule.Phase>;
|
|
118
|
-
/**
|
|
119
|
-
* Time period and invoice for a Subscription billed in advance.
|
|
120
|
-
*/
|
|
121
|
-
prebilling?: SubscriptionSchedule.Prebilling | null;
|
|
122
105
|
/**
|
|
123
106
|
* Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
|
|
124
107
|
*/
|
|
@@ -141,7 +124,6 @@ export interface SubscriptionSchedule {
|
|
|
141
124
|
test_clock: string | TestHelpers.TestClock | null;
|
|
142
125
|
}
|
|
143
126
|
export declare namespace SubscriptionSchedule {
|
|
144
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
|
|
145
127
|
interface BillingMode {
|
|
146
128
|
/**
|
|
147
129
|
* Configure behavior for flexible billing mode
|
|
@@ -203,20 +185,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
203
185
|
transfer_data: DefaultSettings.TransferData | null;
|
|
204
186
|
}
|
|
205
187
|
type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
|
|
206
|
-
interface LastPriceMigrationError {
|
|
207
|
-
/**
|
|
208
|
-
* The time at which the price migration encountered an error.
|
|
209
|
-
*/
|
|
210
|
-
errored_at: number;
|
|
211
|
-
/**
|
|
212
|
-
* The involved price pairs in each failed transition.
|
|
213
|
-
*/
|
|
214
|
-
failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
|
|
215
|
-
/**
|
|
216
|
-
* The type of error encountered by the price migration.
|
|
217
|
-
*/
|
|
218
|
-
type: 'price_uniqueness_violation';
|
|
219
|
-
}
|
|
220
188
|
interface PauseSchedule {
|
|
221
189
|
/**
|
|
222
190
|
* A unique identifier for this pause schedule.
|
|
@@ -290,10 +258,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
290
258
|
* 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.
|
|
291
259
|
*/
|
|
292
260
|
on_behalf_of: string | Account | null;
|
|
293
|
-
/**
|
|
294
|
-
* 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).
|
|
295
|
-
*/
|
|
296
|
-
pause_collection?: Phase.PauseCollection | null;
|
|
297
261
|
/**
|
|
298
262
|
* When transitioning phases, controls how prorations are handled (if any). Possible values are `create_prorations`, `none`, and `always_invoice`.
|
|
299
263
|
*/
|
|
@@ -310,36 +274,10 @@ export declare namespace SubscriptionSchedule {
|
|
|
310
274
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
311
275
|
*/
|
|
312
276
|
trial?: boolean;
|
|
313
|
-
/**
|
|
314
|
-
* Specify behavior of the trial when crossing schedule phase boundaries
|
|
315
|
-
*/
|
|
316
|
-
trial_continuation?: Phase.TrialContinuation | null;
|
|
317
277
|
/**
|
|
318
278
|
* When the trial ends within the phase.
|
|
319
279
|
*/
|
|
320
280
|
trial_end: number | null;
|
|
321
|
-
/**
|
|
322
|
-
* Settings related to any trials on the subscription during this phase.
|
|
323
|
-
*/
|
|
324
|
-
trial_settings?: Phase.TrialSettings | null;
|
|
325
|
-
}
|
|
326
|
-
interface Prebilling {
|
|
327
|
-
/**
|
|
328
|
-
* ID of the prebilling invoice.
|
|
329
|
-
*/
|
|
330
|
-
invoice: string | Invoice;
|
|
331
|
-
/**
|
|
332
|
-
* The end of the last period for which the invoice pre-bills.
|
|
333
|
-
*/
|
|
334
|
-
period_end: number;
|
|
335
|
-
/**
|
|
336
|
-
* The start of the first period for which the invoice pre-bills.
|
|
337
|
-
*/
|
|
338
|
-
period_start: number;
|
|
339
|
-
/**
|
|
340
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
|
341
|
-
*/
|
|
342
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
343
281
|
}
|
|
344
282
|
type Status = 'active' | 'canceled' | 'completed' | 'not_started' | 'released' | OtherString;
|
|
345
283
|
namespace BillingMode {
|
|
@@ -455,18 +393,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
455
393
|
}
|
|
456
394
|
}
|
|
457
395
|
}
|
|
458
|
-
namespace LastPriceMigrationError {
|
|
459
|
-
interface FailedTransition {
|
|
460
|
-
/**
|
|
461
|
-
* The original price to be migrated.
|
|
462
|
-
*/
|
|
463
|
-
source_price: string;
|
|
464
|
-
/**
|
|
465
|
-
* The intended resulting price of the migration.
|
|
466
|
-
*/
|
|
467
|
-
target_price: string;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
396
|
namespace PauseSchedule {
|
|
471
397
|
interface Pause {
|
|
472
398
|
/**
|
|
@@ -653,10 +579,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
653
579
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
654
580
|
*/
|
|
655
581
|
discount: string | _Discount | null;
|
|
656
|
-
/**
|
|
657
|
-
* Details to determine how long the discount should be applied for.
|
|
658
|
-
*/
|
|
659
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
660
582
|
/**
|
|
661
583
|
* ID of the promotion code to create a new discount for.
|
|
662
584
|
*/
|
|
@@ -717,20 +639,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
717
639
|
* 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`.
|
|
718
640
|
*/
|
|
719
641
|
tax_rates?: Array<TaxRate> | null;
|
|
720
|
-
/**
|
|
721
|
-
* Options that configure the trial on the subscription item.
|
|
722
|
-
*/
|
|
723
|
-
trial?: Item.Trial | null;
|
|
724
|
-
/**
|
|
725
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
726
|
-
*/
|
|
727
|
-
trial_offer?: string | null;
|
|
728
|
-
}
|
|
729
|
-
interface PauseCollection {
|
|
730
|
-
/**
|
|
731
|
-
* The payment collection behavior for this subscription while paused.
|
|
732
|
-
*/
|
|
733
|
-
behavior: PauseCollection.Behavior;
|
|
734
642
|
}
|
|
735
643
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
736
644
|
interface TransferData {
|
|
@@ -743,13 +651,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
743
651
|
*/
|
|
744
652
|
destination: string | Account;
|
|
745
653
|
}
|
|
746
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
747
|
-
interface TrialSettings {
|
|
748
|
-
/**
|
|
749
|
-
* Defines how the subscription should behave when a trial ends.
|
|
750
|
-
*/
|
|
751
|
-
end_behavior: TrialSettings.EndBehavior | null;
|
|
752
|
-
}
|
|
753
654
|
namespace AddInvoiceItem {
|
|
754
655
|
interface Discount {
|
|
755
656
|
/**
|
|
@@ -760,10 +661,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
760
661
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
761
662
|
*/
|
|
762
663
|
discount: string | _Discount | null;
|
|
763
|
-
/**
|
|
764
|
-
* Details to determine how long the discount should be applied for.
|
|
765
|
-
*/
|
|
766
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
767
664
|
/**
|
|
768
665
|
* ID of the promotion code to create a new discount for.
|
|
769
666
|
*/
|
|
@@ -773,18 +670,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
773
670
|
end: Period.End;
|
|
774
671
|
start: Period.Start;
|
|
775
672
|
}
|
|
776
|
-
namespace Discount {
|
|
777
|
-
interface DiscountEnd {
|
|
778
|
-
/**
|
|
779
|
-
* The discount end timestamp.
|
|
780
|
-
*/
|
|
781
|
-
timestamp: number | null;
|
|
782
|
-
/**
|
|
783
|
-
* The discount end type.
|
|
784
|
-
*/
|
|
785
|
-
type: 'timestamp';
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
673
|
namespace Period {
|
|
789
674
|
interface End {
|
|
790
675
|
/**
|
|
@@ -829,18 +714,6 @@ export declare namespace SubscriptionSchedule {
|
|
|
829
714
|
type Type = 'account' | 'self' | OtherString;
|
|
830
715
|
}
|
|
831
716
|
}
|
|
832
|
-
namespace Discount {
|
|
833
|
-
interface DiscountEnd {
|
|
834
|
-
/**
|
|
835
|
-
* The discount end timestamp.
|
|
836
|
-
*/
|
|
837
|
-
timestamp: number | null;
|
|
838
|
-
/**
|
|
839
|
-
* The discount end type.
|
|
840
|
-
*/
|
|
841
|
-
type: 'timestamp';
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
717
|
namespace InvoiceSettings {
|
|
845
718
|
interface CustomField {
|
|
846
719
|
/**
|
|
@@ -882,65 +755,15 @@ export declare namespace SubscriptionSchedule {
|
|
|
882
755
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
883
756
|
*/
|
|
884
757
|
discount: string | _Discount | null;
|
|
885
|
-
/**
|
|
886
|
-
* Details to determine how long the discount should be applied for.
|
|
887
|
-
*/
|
|
888
|
-
discount_end?: Discount.DiscountEnd | null;
|
|
889
758
|
/**
|
|
890
759
|
* ID of the promotion code to create a new discount for.
|
|
891
760
|
*/
|
|
892
761
|
promotion_code: string | PromotionCode | null;
|
|
893
762
|
}
|
|
894
|
-
interface Trial {
|
|
895
|
-
/**
|
|
896
|
-
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
|
|
897
|
-
*/
|
|
898
|
-
converts_to?: Array<string> | null;
|
|
899
|
-
/**
|
|
900
|
-
* Determines the type of trial for this item.
|
|
901
|
-
*/
|
|
902
|
-
type: Trial.Type;
|
|
903
|
-
}
|
|
904
|
-
namespace Discount {
|
|
905
|
-
interface DiscountEnd {
|
|
906
|
-
/**
|
|
907
|
-
* The discount end timestamp.
|
|
908
|
-
*/
|
|
909
|
-
timestamp: number | null;
|
|
910
|
-
/**
|
|
911
|
-
* The discount end type.
|
|
912
|
-
*/
|
|
913
|
-
type: 'timestamp';
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
namespace Trial {
|
|
917
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
namespace PauseCollection {
|
|
921
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
922
|
-
}
|
|
923
|
-
namespace TrialSettings {
|
|
924
|
-
interface EndBehavior {
|
|
925
|
-
/**
|
|
926
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
927
|
-
*/
|
|
928
|
-
prorate_up_front: EndBehavior.ProrateUpFront | null;
|
|
929
|
-
}
|
|
930
|
-
namespace EndBehavior {
|
|
931
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
932
|
-
}
|
|
933
763
|
}
|
|
934
764
|
}
|
|
935
|
-
namespace Prebilling {
|
|
936
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
937
|
-
}
|
|
938
765
|
}
|
|
939
766
|
export interface SubscriptionScheduleCreateParams {
|
|
940
|
-
/**
|
|
941
|
-
* 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.
|
|
942
|
-
*/
|
|
943
|
-
billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
|
|
944
767
|
/**
|
|
945
768
|
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
946
769
|
*/
|
|
@@ -981,17 +804,12 @@ export interface SubscriptionScheduleCreateParams {
|
|
|
981
804
|
* 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.
|
|
982
805
|
*/
|
|
983
806
|
phases?: Array<SubscriptionScheduleCreateParams.Phase>;
|
|
984
|
-
/**
|
|
985
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
986
|
-
*/
|
|
987
|
-
prebilling?: SubscriptionScheduleCreateParams.Prebilling;
|
|
988
807
|
/**
|
|
989
808
|
* 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.
|
|
990
809
|
*/
|
|
991
810
|
start_date?: number | 'now';
|
|
992
811
|
}
|
|
993
812
|
export declare namespace SubscriptionScheduleCreateParams {
|
|
994
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
|
|
995
813
|
interface BillingMode {
|
|
996
814
|
/**
|
|
997
815
|
* Configure behavior for flexible billing mode.
|
|
@@ -1128,10 +946,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1128
946
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
1129
947
|
*/
|
|
1130
948
|
on_behalf_of?: string;
|
|
1131
|
-
/**
|
|
1132
|
-
* 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).
|
|
1133
|
-
*/
|
|
1134
|
-
pause_collection?: Phase.PauseCollection;
|
|
1135
949
|
/**
|
|
1136
950
|
* 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.
|
|
1137
951
|
*/
|
|
@@ -1144,28 +958,10 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1144
958
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
1145
959
|
*/
|
|
1146
960
|
trial?: boolean;
|
|
1147
|
-
/**
|
|
1148
|
-
* Specify trial behavior when crossing phase boundaries
|
|
1149
|
-
*/
|
|
1150
|
-
trial_continuation?: Phase.TrialContinuation;
|
|
1151
961
|
/**
|
|
1152
962
|
* 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`
|
|
1153
963
|
*/
|
|
1154
964
|
trial_end?: number;
|
|
1155
|
-
/**
|
|
1156
|
-
* Settings related to subscription trials.
|
|
1157
|
-
*/
|
|
1158
|
-
trial_settings?: Phase.TrialSettings;
|
|
1159
|
-
}
|
|
1160
|
-
interface Prebilling {
|
|
1161
|
-
/**
|
|
1162
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
1163
|
-
*/
|
|
1164
|
-
iterations: number;
|
|
1165
|
-
/**
|
|
1166
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
1167
|
-
*/
|
|
1168
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
1169
965
|
}
|
|
1170
966
|
namespace BillingMode {
|
|
1171
967
|
interface Flexible {
|
|
@@ -1472,10 +1268,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1472
1268
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1473
1269
|
*/
|
|
1474
1270
|
discount?: string;
|
|
1475
|
-
/**
|
|
1476
|
-
* Details to determine how long the discount should be applied for.
|
|
1477
|
-
*/
|
|
1478
|
-
discount_end?: Discount.DiscountEnd;
|
|
1479
1271
|
/**
|
|
1480
1272
|
* ID of the promotion code to create a new discount for.
|
|
1481
1273
|
*/
|
|
@@ -1550,20 +1342,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1550
1342
|
* 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.
|
|
1551
1343
|
*/
|
|
1552
1344
|
tax_rates?: Emptyable<Array<string>>;
|
|
1553
|
-
/**
|
|
1554
|
-
* Options that configure the trial on the subscription item.
|
|
1555
|
-
*/
|
|
1556
|
-
trial?: Item.Trial;
|
|
1557
|
-
/**
|
|
1558
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
1559
|
-
*/
|
|
1560
|
-
trial_offer?: string;
|
|
1561
|
-
}
|
|
1562
|
-
interface PauseCollection {
|
|
1563
|
-
/**
|
|
1564
|
-
* The payment collection behavior for this subscription while paused.
|
|
1565
|
-
*/
|
|
1566
|
-
behavior: PauseCollection.Behavior;
|
|
1567
1345
|
}
|
|
1568
1346
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
1569
1347
|
interface TransferData {
|
|
@@ -1576,13 +1354,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1576
1354
|
*/
|
|
1577
1355
|
destination: string;
|
|
1578
1356
|
}
|
|
1579
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
1580
|
-
interface TrialSettings {
|
|
1581
|
-
/**
|
|
1582
|
-
* Defines how the subscription should behave when a trial ends.
|
|
1583
|
-
*/
|
|
1584
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
1585
|
-
}
|
|
1586
1357
|
namespace AddInvoiceItem {
|
|
1587
1358
|
interface Discount {
|
|
1588
1359
|
/**
|
|
@@ -1593,10 +1364,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1593
1364
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1594
1365
|
*/
|
|
1595
1366
|
discount?: string;
|
|
1596
|
-
/**
|
|
1597
|
-
* Details to determine how long the discount should be applied for.
|
|
1598
|
-
*/
|
|
1599
|
-
discount_end?: Discount.DiscountEnd;
|
|
1600
1367
|
/**
|
|
1601
1368
|
* ID of the promotion code to create a new discount for.
|
|
1602
1369
|
*/
|
|
@@ -1634,38 +1401,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1634
1401
|
*/
|
|
1635
1402
|
unit_amount_decimal?: Decimal;
|
|
1636
1403
|
}
|
|
1637
|
-
namespace Discount {
|
|
1638
|
-
interface DiscountEnd {
|
|
1639
|
-
/**
|
|
1640
|
-
* Time span for the redeemed discount.
|
|
1641
|
-
*/
|
|
1642
|
-
duration?: DiscountEnd.Duration;
|
|
1643
|
-
/**
|
|
1644
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1645
|
-
*/
|
|
1646
|
-
timestamp?: number;
|
|
1647
|
-
/**
|
|
1648
|
-
* The type of calculation made to determine when the discount ends.
|
|
1649
|
-
*/
|
|
1650
|
-
type: DiscountEnd.Type;
|
|
1651
|
-
}
|
|
1652
|
-
namespace DiscountEnd {
|
|
1653
|
-
interface Duration {
|
|
1654
|
-
/**
|
|
1655
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1656
|
-
*/
|
|
1657
|
-
interval: Duration.Interval;
|
|
1658
|
-
/**
|
|
1659
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1660
|
-
*/
|
|
1661
|
-
interval_count: number;
|
|
1662
|
-
}
|
|
1663
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1664
|
-
namespace Duration {
|
|
1665
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
1404
|
namespace Period {
|
|
1670
1405
|
interface End {
|
|
1671
1406
|
/**
|
|
@@ -1713,38 +1448,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1713
1448
|
type Type = 'account' | 'self' | OtherString;
|
|
1714
1449
|
}
|
|
1715
1450
|
}
|
|
1716
|
-
namespace Discount {
|
|
1717
|
-
interface DiscountEnd {
|
|
1718
|
-
/**
|
|
1719
|
-
* Time span for the redeemed discount.
|
|
1720
|
-
*/
|
|
1721
|
-
duration?: DiscountEnd.Duration;
|
|
1722
|
-
/**
|
|
1723
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1724
|
-
*/
|
|
1725
|
-
timestamp?: number;
|
|
1726
|
-
/**
|
|
1727
|
-
* The type of calculation made to determine when the discount ends.
|
|
1728
|
-
*/
|
|
1729
|
-
type: DiscountEnd.Type;
|
|
1730
|
-
}
|
|
1731
|
-
namespace DiscountEnd {
|
|
1732
|
-
interface Duration {
|
|
1733
|
-
/**
|
|
1734
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1735
|
-
*/
|
|
1736
|
-
interval: Duration.Interval;
|
|
1737
|
-
/**
|
|
1738
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1739
|
-
*/
|
|
1740
|
-
interval_count: number;
|
|
1741
|
-
}
|
|
1742
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1743
|
-
namespace Duration {
|
|
1744
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
1451
|
namespace Duration {
|
|
1749
1452
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1750
1453
|
}
|
|
@@ -1789,10 +1492,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1789
1492
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
1790
1493
|
*/
|
|
1791
1494
|
discount?: string;
|
|
1792
|
-
/**
|
|
1793
|
-
* Details to determine how long the discount should be applied for.
|
|
1794
|
-
*/
|
|
1795
|
-
discount_end?: Discount.DiscountEnd;
|
|
1796
1495
|
/**
|
|
1797
1496
|
* ID of the promotion code to create a new discount for.
|
|
1798
1497
|
*/
|
|
@@ -1824,48 +1523,6 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1824
1523
|
*/
|
|
1825
1524
|
unit_amount_decimal?: Decimal;
|
|
1826
1525
|
}
|
|
1827
|
-
interface Trial {
|
|
1828
|
-
/**
|
|
1829
|
-
* 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.
|
|
1830
|
-
*/
|
|
1831
|
-
converts_to?: Array<string>;
|
|
1832
|
-
/**
|
|
1833
|
-
* Determines the type of trial for this item.
|
|
1834
|
-
*/
|
|
1835
|
-
type: Trial.Type;
|
|
1836
|
-
}
|
|
1837
|
-
namespace Discount {
|
|
1838
|
-
interface DiscountEnd {
|
|
1839
|
-
/**
|
|
1840
|
-
* Time span for the redeemed discount.
|
|
1841
|
-
*/
|
|
1842
|
-
duration?: DiscountEnd.Duration;
|
|
1843
|
-
/**
|
|
1844
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
1845
|
-
*/
|
|
1846
|
-
timestamp?: number;
|
|
1847
|
-
/**
|
|
1848
|
-
* The type of calculation made to determine when the discount ends.
|
|
1849
|
-
*/
|
|
1850
|
-
type: DiscountEnd.Type;
|
|
1851
|
-
}
|
|
1852
|
-
namespace DiscountEnd {
|
|
1853
|
-
interface Duration {
|
|
1854
|
-
/**
|
|
1855
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1856
|
-
*/
|
|
1857
|
-
interval: Duration.Interval;
|
|
1858
|
-
/**
|
|
1859
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1860
|
-
*/
|
|
1861
|
-
interval_count: number;
|
|
1862
|
-
}
|
|
1863
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
1864
|
-
namespace Duration {
|
|
1865
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
1526
|
namespace PriceData {
|
|
1870
1527
|
interface Recurring {
|
|
1871
1528
|
/**
|
|
@@ -1882,28 +1539,8 @@ export declare namespace SubscriptionScheduleCreateParams {
|
|
|
1882
1539
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
1883
1540
|
}
|
|
1884
1541
|
}
|
|
1885
|
-
namespace Trial {
|
|
1886
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
namespace PauseCollection {
|
|
1890
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
1891
|
-
}
|
|
1892
|
-
namespace TrialSettings {
|
|
1893
|
-
interface EndBehavior {
|
|
1894
|
-
/**
|
|
1895
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
1896
|
-
*/
|
|
1897
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
1898
|
-
}
|
|
1899
|
-
namespace EndBehavior {
|
|
1900
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
1901
|
-
}
|
|
1902
1542
|
}
|
|
1903
1543
|
}
|
|
1904
|
-
namespace Prebilling {
|
|
1905
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
1906
|
-
}
|
|
1907
1544
|
}
|
|
1908
1545
|
export interface SubscriptionScheduleRetrieveParams {
|
|
1909
1546
|
/**
|
|
@@ -1912,10 +1549,6 @@ export interface SubscriptionScheduleRetrieveParams {
|
|
|
1912
1549
|
expand?: Array<string>;
|
|
1913
1550
|
}
|
|
1914
1551
|
export interface SubscriptionScheduleUpdateParams {
|
|
1915
|
-
/**
|
|
1916
|
-
* 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.
|
|
1917
|
-
*/
|
|
1918
|
-
billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
|
|
1919
1552
|
/**
|
|
1920
1553
|
* Object representing the subscription schedule's default settings.
|
|
1921
1554
|
*/
|
|
@@ -1933,24 +1566,19 @@ export interface SubscriptionScheduleUpdateParams {
|
|
|
1933
1566
|
*/
|
|
1934
1567
|
metadata?: Emptyable<MetadataParam>;
|
|
1935
1568
|
/**
|
|
1936
|
-
*
|
|
1569
|
+
* The subscription's pause behavior and optional resume behavior. You can provide one entry. Include its `key` to update an existing pause schedule. Omit `pause_schedules` to leave the existing schedule unchanged, or pass an empty string (`""`) to clear it.
|
|
1937
1570
|
*/
|
|
1938
1571
|
pause_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.PauseSchedule>>;
|
|
1939
1572
|
/**
|
|
1940
1573
|
* 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.
|
|
1941
1574
|
*/
|
|
1942
1575
|
phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
|
|
1943
|
-
/**
|
|
1944
|
-
* If specified, the invoicing for the given billing cycle iterations will be processed now.
|
|
1945
|
-
*/
|
|
1946
|
-
prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
|
|
1947
1576
|
/**
|
|
1948
1577
|
* 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`.
|
|
1949
1578
|
*/
|
|
1950
1579
|
proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
|
|
1951
1580
|
}
|
|
1952
1581
|
export declare namespace SubscriptionScheduleUpdateParams {
|
|
1953
|
-
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
|
|
1954
1582
|
interface DefaultSettings {
|
|
1955
1583
|
/**
|
|
1956
1584
|
* 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).
|
|
@@ -2077,10 +1705,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2077
1705
|
* The account on behalf of which to charge, for each of the associated subscription's invoices.
|
|
2078
1706
|
*/
|
|
2079
1707
|
on_behalf_of?: string;
|
|
2080
|
-
/**
|
|
2081
|
-
* 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).
|
|
2082
|
-
*/
|
|
2083
|
-
pause_collection?: Phase.PauseCollection;
|
|
2084
1708
|
/**
|
|
2085
1709
|
* 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.
|
|
2086
1710
|
*/
|
|
@@ -2097,28 +1721,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2097
1721
|
* If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
|
|
2098
1722
|
*/
|
|
2099
1723
|
trial?: boolean;
|
|
2100
|
-
/**
|
|
2101
|
-
* Specify trial behavior when crossing phase boundaries
|
|
2102
|
-
*/
|
|
2103
|
-
trial_continuation?: Phase.TrialContinuation;
|
|
2104
1724
|
/**
|
|
2105
1725
|
* 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.
|
|
2106
1726
|
*/
|
|
2107
1727
|
trial_end?: number | 'now';
|
|
2108
|
-
/**
|
|
2109
|
-
* Settings related to subscription trials.
|
|
2110
|
-
*/
|
|
2111
|
-
trial_settings?: Phase.TrialSettings;
|
|
2112
|
-
}
|
|
2113
|
-
interface Prebilling {
|
|
2114
|
-
/**
|
|
2115
|
-
* This is used to determine the number of billing cycles to prebill.
|
|
2116
|
-
*/
|
|
2117
|
-
iterations: number;
|
|
2118
|
-
/**
|
|
2119
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2120
|
-
*/
|
|
2121
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2122
1728
|
}
|
|
2123
1729
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2124
1730
|
namespace DefaultSettings {
|
|
@@ -2414,10 +2020,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2414
2020
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2415
2021
|
*/
|
|
2416
2022
|
discount?: string;
|
|
2417
|
-
/**
|
|
2418
|
-
* Details to determine how long the discount should be applied for.
|
|
2419
|
-
*/
|
|
2420
|
-
discount_end?: Discount.DiscountEnd;
|
|
2421
2023
|
/**
|
|
2422
2024
|
* ID of the promotion code to create a new discount for.
|
|
2423
2025
|
*/
|
|
@@ -2492,20 +2094,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2492
2094
|
* 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.
|
|
2493
2095
|
*/
|
|
2494
2096
|
tax_rates?: Emptyable<Array<string>>;
|
|
2495
|
-
/**
|
|
2496
|
-
* Options that configure the trial on the subscription item.
|
|
2497
|
-
*/
|
|
2498
|
-
trial?: Item.Trial;
|
|
2499
|
-
/**
|
|
2500
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
2501
|
-
*/
|
|
2502
|
-
trial_offer?: string;
|
|
2503
|
-
}
|
|
2504
|
-
interface PauseCollection {
|
|
2505
|
-
/**
|
|
2506
|
-
* The payment collection behavior for this subscription while paused.
|
|
2507
|
-
*/
|
|
2508
|
-
behavior: PauseCollection.Behavior;
|
|
2509
2097
|
}
|
|
2510
2098
|
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2511
2099
|
interface TransferData {
|
|
@@ -2518,13 +2106,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2518
2106
|
*/
|
|
2519
2107
|
destination: string;
|
|
2520
2108
|
}
|
|
2521
|
-
type TrialContinuation = 'continue' | 'none' | OtherString;
|
|
2522
|
-
interface TrialSettings {
|
|
2523
|
-
/**
|
|
2524
|
-
* Defines how the subscription should behave when a trial ends.
|
|
2525
|
-
*/
|
|
2526
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
2527
|
-
}
|
|
2528
2109
|
namespace AddInvoiceItem {
|
|
2529
2110
|
interface Discount {
|
|
2530
2111
|
/**
|
|
@@ -2535,10 +2116,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2535
2116
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2536
2117
|
*/
|
|
2537
2118
|
discount?: string;
|
|
2538
|
-
/**
|
|
2539
|
-
* Details to determine how long the discount should be applied for.
|
|
2540
|
-
*/
|
|
2541
|
-
discount_end?: Discount.DiscountEnd;
|
|
2542
2119
|
/**
|
|
2543
2120
|
* ID of the promotion code to create a new discount for.
|
|
2544
2121
|
*/
|
|
@@ -2576,38 +2153,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2576
2153
|
*/
|
|
2577
2154
|
unit_amount_decimal?: Decimal;
|
|
2578
2155
|
}
|
|
2579
|
-
namespace Discount {
|
|
2580
|
-
interface DiscountEnd {
|
|
2581
|
-
/**
|
|
2582
|
-
* Time span for the redeemed discount.
|
|
2583
|
-
*/
|
|
2584
|
-
duration?: DiscountEnd.Duration;
|
|
2585
|
-
/**
|
|
2586
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2587
|
-
*/
|
|
2588
|
-
timestamp?: number;
|
|
2589
|
-
/**
|
|
2590
|
-
* The type of calculation made to determine when the discount ends.
|
|
2591
|
-
*/
|
|
2592
|
-
type: DiscountEnd.Type;
|
|
2593
|
-
}
|
|
2594
|
-
namespace DiscountEnd {
|
|
2595
|
-
interface Duration {
|
|
2596
|
-
/**
|
|
2597
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2598
|
-
*/
|
|
2599
|
-
interval: Duration.Interval;
|
|
2600
|
-
/**
|
|
2601
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2602
|
-
*/
|
|
2603
|
-
interval_count: number;
|
|
2604
|
-
}
|
|
2605
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2606
|
-
namespace Duration {
|
|
2607
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
2156
|
namespace Period {
|
|
2612
2157
|
interface End {
|
|
2613
2158
|
/**
|
|
@@ -2655,38 +2200,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2655
2200
|
type Type = 'account' | 'self' | OtherString;
|
|
2656
2201
|
}
|
|
2657
2202
|
}
|
|
2658
|
-
namespace Discount {
|
|
2659
|
-
interface DiscountEnd {
|
|
2660
|
-
/**
|
|
2661
|
-
* Time span for the redeemed discount.
|
|
2662
|
-
*/
|
|
2663
|
-
duration?: DiscountEnd.Duration;
|
|
2664
|
-
/**
|
|
2665
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
2666
|
-
*/
|
|
2667
|
-
timestamp?: number;
|
|
2668
|
-
/**
|
|
2669
|
-
* The type of calculation made to determine when the discount ends.
|
|
2670
|
-
*/
|
|
2671
|
-
type: DiscountEnd.Type;
|
|
2672
|
-
}
|
|
2673
|
-
namespace DiscountEnd {
|
|
2674
|
-
interface Duration {
|
|
2675
|
-
/**
|
|
2676
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2677
|
-
*/
|
|
2678
|
-
interval: Duration.Interval;
|
|
2679
|
-
/**
|
|
2680
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2681
|
-
*/
|
|
2682
|
-
interval_count: number;
|
|
2683
|
-
}
|
|
2684
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2685
|
-
namespace Duration {
|
|
2686
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2687
|
-
}
|
|
2688
|
-
}
|
|
2689
|
-
}
|
|
2690
2203
|
namespace Duration {
|
|
2691
2204
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2692
2205
|
}
|
|
@@ -2731,10 +2244,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2731
2244
|
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
2732
2245
|
*/
|
|
2733
2246
|
discount?: string;
|
|
2734
|
-
/**
|
|
2735
|
-
* Details to determine how long the discount should be applied for.
|
|
2736
|
-
*/
|
|
2737
|
-
discount_end?: Discount.DiscountEnd;
|
|
2738
2247
|
/**
|
|
2739
2248
|
* ID of the promotion code to create a new discount for.
|
|
2740
2249
|
*/
|
|
@@ -2766,56 +2275,14 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2766
2275
|
*/
|
|
2767
2276
|
unit_amount_decimal?: Decimal;
|
|
2768
2277
|
}
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
* 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.
|
|
2772
|
-
*/
|
|
2773
|
-
converts_to?: Array<string>;
|
|
2774
|
-
/**
|
|
2775
|
-
* Determines the type of trial for this item.
|
|
2776
|
-
*/
|
|
2777
|
-
type: Trial.Type;
|
|
2778
|
-
}
|
|
2779
|
-
namespace Discount {
|
|
2780
|
-
interface DiscountEnd {
|
|
2278
|
+
namespace PriceData {
|
|
2279
|
+
interface Recurring {
|
|
2781
2280
|
/**
|
|
2782
|
-
*
|
|
2281
|
+
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
2783
2282
|
*/
|
|
2784
|
-
|
|
2283
|
+
interval: Recurring.Interval;
|
|
2785
2284
|
/**
|
|
2786
|
-
*
|
|
2787
|
-
*/
|
|
2788
|
-
timestamp?: number;
|
|
2789
|
-
/**
|
|
2790
|
-
* The type of calculation made to determine when the discount ends.
|
|
2791
|
-
*/
|
|
2792
|
-
type: DiscountEnd.Type;
|
|
2793
|
-
}
|
|
2794
|
-
namespace DiscountEnd {
|
|
2795
|
-
interface Duration {
|
|
2796
|
-
/**
|
|
2797
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2798
|
-
*/
|
|
2799
|
-
interval: Duration.Interval;
|
|
2800
|
-
/**
|
|
2801
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2802
|
-
*/
|
|
2803
|
-
interval_count: number;
|
|
2804
|
-
}
|
|
2805
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
2806
|
-
namespace Duration {
|
|
2807
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2808
|
-
}
|
|
2809
|
-
}
|
|
2810
|
-
}
|
|
2811
|
-
namespace PriceData {
|
|
2812
|
-
interface Recurring {
|
|
2813
|
-
/**
|
|
2814
|
-
* Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
2815
|
-
*/
|
|
2816
|
-
interval: Recurring.Interval;
|
|
2817
|
-
/**
|
|
2818
|
-
* The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
|
2285
|
+
* The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
|
2819
2286
|
*/
|
|
2820
2287
|
interval_count?: number;
|
|
2821
2288
|
}
|
|
@@ -2824,28 +2291,8 @@ export declare namespace SubscriptionScheduleUpdateParams {
|
|
|
2824
2291
|
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
2825
2292
|
}
|
|
2826
2293
|
}
|
|
2827
|
-
namespace Trial {
|
|
2828
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
2829
|
-
}
|
|
2830
|
-
}
|
|
2831
|
-
namespace PauseCollection {
|
|
2832
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
2833
|
-
}
|
|
2834
|
-
namespace TrialSettings {
|
|
2835
|
-
interface EndBehavior {
|
|
2836
|
-
/**
|
|
2837
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
2838
|
-
*/
|
|
2839
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
2840
|
-
}
|
|
2841
|
-
namespace EndBehavior {
|
|
2842
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
2843
|
-
}
|
|
2844
2294
|
}
|
|
2845
2295
|
}
|
|
2846
|
-
namespace Prebilling {
|
|
2847
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
2848
|
-
}
|
|
2849
2296
|
}
|
|
2850
2297
|
export interface SubscriptionScheduleListParams extends PaginationParams {
|
|
2851
2298
|
/**
|
|
@@ -2881,605 +2328,6 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
|
|
|
2881
2328
|
*/
|
|
2882
2329
|
scheduled?: boolean;
|
|
2883
2330
|
}
|
|
2884
|
-
export interface SubscriptionScheduleAmendParams {
|
|
2885
|
-
/**
|
|
2886
|
-
* Changes to apply to the phases of the subscription schedule, in the order provided.
|
|
2887
|
-
*/
|
|
2888
|
-
amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
|
|
2889
|
-
/**
|
|
2890
|
-
* Specifies which fields in the response should be expanded.
|
|
2891
|
-
*/
|
|
2892
|
-
expand?: Array<string>;
|
|
2893
|
-
/**
|
|
2894
|
-
* Provide any time periods to bill in advance.
|
|
2895
|
-
*/
|
|
2896
|
-
prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
|
|
2897
|
-
/**
|
|
2898
|
-
* In cases where the amendment changes the currently active phase,
|
|
2899
|
-
* specifies if and how to prorate at the time of the request.
|
|
2900
|
-
*/
|
|
2901
|
-
proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
|
|
2902
|
-
/**
|
|
2903
|
-
* Changes to apply to the subscription schedule.
|
|
2904
|
-
*/
|
|
2905
|
-
schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
|
|
2906
|
-
}
|
|
2907
|
-
export declare namespace SubscriptionScheduleAmendParams {
|
|
2908
|
-
interface Amendment {
|
|
2909
|
-
/**
|
|
2910
|
-
* 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.
|
|
2911
|
-
*/
|
|
2912
|
-
amendment_end?: Amendment.AmendmentEnd;
|
|
2913
|
-
/**
|
|
2914
|
-
* Details to identify the earliest timestamp where the proposed change should take effect.
|
|
2915
|
-
*/
|
|
2916
|
-
amendment_start: Amendment.AmendmentStart;
|
|
2917
|
-
/**
|
|
2918
|
-
* 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.
|
|
2919
|
-
*/
|
|
2920
|
-
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
2921
|
-
/**
|
|
2922
|
-
* Changes to the coupons being redeemed or discounts being applied during the amendment time span.
|
|
2923
|
-
*/
|
|
2924
|
-
discount_actions?: Array<Amendment.DiscountAction>;
|
|
2925
|
-
/**
|
|
2926
|
-
* Changes to the subscription items during the amendment time span.
|
|
2927
|
-
*/
|
|
2928
|
-
item_actions?: Array<Amendment.ItemAction>;
|
|
2929
|
-
/**
|
|
2930
|
-
* Instructions for how to modify phase metadata
|
|
2931
|
-
*/
|
|
2932
|
-
metadata_actions?: Array<Amendment.MetadataAction>;
|
|
2933
|
-
/**
|
|
2934
|
-
* 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`.
|
|
2935
|
-
*/
|
|
2936
|
-
proration_behavior?: Amendment.ProrationBehavior;
|
|
2937
|
-
/**
|
|
2938
|
-
* Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
|
|
2939
|
-
*/
|
|
2940
|
-
set_pause_collection?: Amendment.SetPauseCollection;
|
|
2941
|
-
/**
|
|
2942
|
-
* Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
|
|
2943
|
-
*/
|
|
2944
|
-
set_schedule_end?: Amendment.SetScheduleEnd;
|
|
2945
|
-
/**
|
|
2946
|
-
* Settings related to subscription trials.
|
|
2947
|
-
*/
|
|
2948
|
-
trial_settings?: Amendment.TrialSettings;
|
|
2949
|
-
}
|
|
2950
|
-
interface Prebilling {
|
|
2951
|
-
/**
|
|
2952
|
-
* The beginning of the prebilled time period. The default value is `now`.
|
|
2953
|
-
*/
|
|
2954
|
-
bill_from?: Prebilling.BillFrom;
|
|
2955
|
-
/**
|
|
2956
|
-
* The end of the prebilled time period.
|
|
2957
|
-
*/
|
|
2958
|
-
bill_until?: Prebilling.BillUntil;
|
|
2959
|
-
/**
|
|
2960
|
-
* When the prebilling invoice should be created. The default value is `now`.
|
|
2961
|
-
*/
|
|
2962
|
-
invoice_at?: 'now';
|
|
2963
|
-
/**
|
|
2964
|
-
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
|
2965
|
-
*/
|
|
2966
|
-
update_behavior?: Prebilling.UpdateBehavior;
|
|
2967
|
-
}
|
|
2968
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
2969
|
-
interface ScheduleSettings {
|
|
2970
|
-
/**
|
|
2971
|
-
* Behavior of the subscription schedule and underlying subscription when it ends.
|
|
2972
|
-
*/
|
|
2973
|
-
end_behavior?: ScheduleSettings.EndBehavior;
|
|
2974
|
-
}
|
|
2975
|
-
namespace Amendment {
|
|
2976
|
-
interface AmendmentEnd {
|
|
2977
|
-
/**
|
|
2978
|
-
* Use the `end` time of a given discount.
|
|
2979
|
-
*/
|
|
2980
|
-
discount_end?: AmendmentEnd.DiscountEnd;
|
|
2981
|
-
/**
|
|
2982
|
-
* Time span for the amendment starting from the `amendment_start`.
|
|
2983
|
-
*/
|
|
2984
|
-
duration?: AmendmentEnd.Duration;
|
|
2985
|
-
/**
|
|
2986
|
-
* A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
|
|
2987
|
-
*/
|
|
2988
|
-
timestamp?: number;
|
|
2989
|
-
/**
|
|
2990
|
-
* Select one of three ways to pass the `amendment_end`.
|
|
2991
|
-
*/
|
|
2992
|
-
type: AmendmentEnd.Type;
|
|
2993
|
-
}
|
|
2994
|
-
interface AmendmentStart {
|
|
2995
|
-
/**
|
|
2996
|
-
* Details of another amendment in the same array, immediately after which this amendment should begin.
|
|
2997
|
-
*/
|
|
2998
|
-
amendment_end?: AmendmentStart.AmendmentEnd;
|
|
2999
|
-
/**
|
|
3000
|
-
* Use the `end` time of a given discount.
|
|
3001
|
-
*/
|
|
3002
|
-
discount_end?: AmendmentStart.DiscountEnd;
|
|
3003
|
-
/**
|
|
3004
|
-
* A precise Unix timestamp for the amendment to start.
|
|
3005
|
-
*/
|
|
3006
|
-
timestamp?: number;
|
|
3007
|
-
/**
|
|
3008
|
-
* Select one of three ways to pass the `amendment_start`.
|
|
3009
|
-
*/
|
|
3010
|
-
type: AmendmentStart.Type;
|
|
3011
|
-
}
|
|
3012
|
-
type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
|
|
3013
|
-
interface DiscountAction {
|
|
3014
|
-
/**
|
|
3015
|
-
* Details of the discount to add.
|
|
3016
|
-
*/
|
|
3017
|
-
add?: DiscountAction.Add;
|
|
3018
|
-
/**
|
|
3019
|
-
* Details of the discount to remove.
|
|
3020
|
-
*/
|
|
3021
|
-
remove?: DiscountAction.Remove;
|
|
3022
|
-
/**
|
|
3023
|
-
* Details of the discount to replace the existing discounts with.
|
|
3024
|
-
*/
|
|
3025
|
-
set?: DiscountAction.Set;
|
|
3026
|
-
/**
|
|
3027
|
-
* Determines the type of discount action.
|
|
3028
|
-
*/
|
|
3029
|
-
type: DiscountAction.Type;
|
|
3030
|
-
}
|
|
3031
|
-
interface ItemAction {
|
|
3032
|
-
/**
|
|
3033
|
-
* 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.
|
|
3034
|
-
*/
|
|
3035
|
-
add?: ItemAction.Add;
|
|
3036
|
-
/**
|
|
3037
|
-
* Details of the subscription item to remove.
|
|
3038
|
-
*/
|
|
3039
|
-
remove?: ItemAction.Remove;
|
|
3040
|
-
/**
|
|
3041
|
-
* 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.
|
|
3042
|
-
*/
|
|
3043
|
-
set?: ItemAction.Set;
|
|
3044
|
-
/**
|
|
3045
|
-
* Determines the type of item action.
|
|
3046
|
-
*/
|
|
3047
|
-
type: ItemAction.Type;
|
|
3048
|
-
}
|
|
3049
|
-
interface MetadataAction {
|
|
3050
|
-
/**
|
|
3051
|
-
* Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
|
|
3052
|
-
*/
|
|
3053
|
-
add?: {
|
|
3054
|
-
[key: string]: string;
|
|
3055
|
-
};
|
|
3056
|
-
/**
|
|
3057
|
-
* Keys to remove from schedule phase metadata.
|
|
3058
|
-
*/
|
|
3059
|
-
remove?: Array<string>;
|
|
3060
|
-
/**
|
|
3061
|
-
* Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
|
|
3062
|
-
*/
|
|
3063
|
-
set?: Emptyable<{
|
|
3064
|
-
[key: string]: string;
|
|
3065
|
-
}>;
|
|
3066
|
-
/**
|
|
3067
|
-
* Select one of three ways to update phase-level `metadata` on subscription schedules.
|
|
3068
|
-
*/
|
|
3069
|
-
type: MetadataAction.Type;
|
|
3070
|
-
}
|
|
3071
|
-
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
|
|
3072
|
-
interface SetPauseCollection {
|
|
3073
|
-
/**
|
|
3074
|
-
* Details of the pause_collection behavior to apply to the amendment.
|
|
3075
|
-
*/
|
|
3076
|
-
set?: SetPauseCollection.Set;
|
|
3077
|
-
/**
|
|
3078
|
-
* Determines the type of the pause_collection amendment.
|
|
3079
|
-
*/
|
|
3080
|
-
type: SetPauseCollection.Type;
|
|
3081
|
-
}
|
|
3082
|
-
type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
|
|
3083
|
-
interface TrialSettings {
|
|
3084
|
-
/**
|
|
3085
|
-
* Defines how the subscription should behave when a trial ends.
|
|
3086
|
-
*/
|
|
3087
|
-
end_behavior?: TrialSettings.EndBehavior;
|
|
3088
|
-
}
|
|
3089
|
-
namespace AmendmentEnd {
|
|
3090
|
-
interface DiscountEnd {
|
|
3091
|
-
/**
|
|
3092
|
-
* The ID of a specific discount.
|
|
3093
|
-
*/
|
|
3094
|
-
discount: string;
|
|
3095
|
-
}
|
|
3096
|
-
interface Duration {
|
|
3097
|
-
/**
|
|
3098
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3099
|
-
*/
|
|
3100
|
-
interval: Duration.Interval;
|
|
3101
|
-
/**
|
|
3102
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3103
|
-
*/
|
|
3104
|
-
interval_count: number;
|
|
3105
|
-
}
|
|
3106
|
-
type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
3107
|
-
namespace Duration {
|
|
3108
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3109
|
-
}
|
|
3110
|
-
}
|
|
3111
|
-
namespace AmendmentStart {
|
|
3112
|
-
interface AmendmentEnd {
|
|
3113
|
-
/**
|
|
3114
|
-
* 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.
|
|
3115
|
-
*/
|
|
3116
|
-
index: number;
|
|
3117
|
-
}
|
|
3118
|
-
interface DiscountEnd {
|
|
3119
|
-
/**
|
|
3120
|
-
* The ID of a specific discount.
|
|
3121
|
-
*/
|
|
3122
|
-
discount: string;
|
|
3123
|
-
}
|
|
3124
|
-
type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
|
|
3125
|
-
}
|
|
3126
|
-
namespace DiscountAction {
|
|
3127
|
-
interface Add {
|
|
3128
|
-
/**
|
|
3129
|
-
* The coupon code to redeem.
|
|
3130
|
-
*/
|
|
3131
|
-
coupon?: string;
|
|
3132
|
-
/**
|
|
3133
|
-
* An ID of an existing discount for a coupon that was already redeemed.
|
|
3134
|
-
*/
|
|
3135
|
-
discount?: string;
|
|
3136
|
-
/**
|
|
3137
|
-
* Details to determine how long the discount should be applied for.
|
|
3138
|
-
*/
|
|
3139
|
-
discount_end?: Add.DiscountEnd;
|
|
3140
|
-
/**
|
|
3141
|
-
* 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.
|
|
3142
|
-
*/
|
|
3143
|
-
index?: number;
|
|
3144
|
-
/**
|
|
3145
|
-
* The promotion code to redeem.
|
|
3146
|
-
*/
|
|
3147
|
-
promotion_code?: string;
|
|
3148
|
-
}
|
|
3149
|
-
interface Remove {
|
|
3150
|
-
/**
|
|
3151
|
-
* The coupon code to remove from the `discounts` array.
|
|
3152
|
-
*/
|
|
3153
|
-
coupon?: string;
|
|
3154
|
-
/**
|
|
3155
|
-
* The ID of a discount to remove from the `discounts` array.
|
|
3156
|
-
*/
|
|
3157
|
-
discount?: string;
|
|
3158
|
-
/**
|
|
3159
|
-
* The ID of a promotion code to remove from the `discounts` array.
|
|
3160
|
-
*/
|
|
3161
|
-
promotion_code?: string;
|
|
3162
|
-
}
|
|
3163
|
-
interface Set {
|
|
3164
|
-
/**
|
|
3165
|
-
* The coupon code to replace the `discounts` array with.
|
|
3166
|
-
*/
|
|
3167
|
-
coupon?: string;
|
|
3168
|
-
/**
|
|
3169
|
-
* An ID of an existing discount to replace the `discounts` array with.
|
|
3170
|
-
*/
|
|
3171
|
-
discount?: string;
|
|
3172
|
-
/**
|
|
3173
|
-
* An ID of an existing promotion code to replace the `discounts` array with.
|
|
3174
|
-
*/
|
|
3175
|
-
promotion_code?: string;
|
|
3176
|
-
}
|
|
3177
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
3178
|
-
namespace Add {
|
|
3179
|
-
interface DiscountEnd {
|
|
3180
|
-
/**
|
|
3181
|
-
* The type of calculation made to determine when the discount ends.
|
|
3182
|
-
*/
|
|
3183
|
-
type: 'amendment_end';
|
|
3184
|
-
}
|
|
3185
|
-
}
|
|
3186
|
-
}
|
|
3187
|
-
namespace ItemAction {
|
|
3188
|
-
interface Add {
|
|
3189
|
-
/**
|
|
3190
|
-
* The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
|
|
3191
|
-
*/
|
|
3192
|
-
discounts?: Array<Add.Discount>;
|
|
3193
|
-
/**
|
|
3194
|
-
* 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`.
|
|
3195
|
-
*/
|
|
3196
|
-
metadata?: MetadataParam;
|
|
3197
|
-
/**
|
|
3198
|
-
* The ID of the price object.
|
|
3199
|
-
*/
|
|
3200
|
-
price: string;
|
|
3201
|
-
/**
|
|
3202
|
-
* Quantity for this item.
|
|
3203
|
-
*/
|
|
3204
|
-
quantity?: number;
|
|
3205
|
-
/**
|
|
3206
|
-
* 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`.
|
|
3207
|
-
*/
|
|
3208
|
-
tax_rates?: Array<string>;
|
|
3209
|
-
/**
|
|
3210
|
-
* Options that configure the trial on the subscription item.
|
|
3211
|
-
*/
|
|
3212
|
-
trial?: Add.Trial;
|
|
3213
|
-
/**
|
|
3214
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
3215
|
-
*/
|
|
3216
|
-
trial_offer?: string;
|
|
3217
|
-
}
|
|
3218
|
-
interface Remove {
|
|
3219
|
-
/**
|
|
3220
|
-
* ID of a price to remove.
|
|
3221
|
-
*/
|
|
3222
|
-
price: string;
|
|
3223
|
-
}
|
|
3224
|
-
interface Set {
|
|
3225
|
-
/**
|
|
3226
|
-
* 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`.
|
|
3227
|
-
*/
|
|
3228
|
-
discounts?: Array<Set.Discount>;
|
|
3229
|
-
/**
|
|
3230
|
-
* 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`.
|
|
3231
|
-
*/
|
|
3232
|
-
metadata?: MetadataParam;
|
|
3233
|
-
/**
|
|
3234
|
-
* The ID of the price object.
|
|
3235
|
-
*/
|
|
3236
|
-
price: string;
|
|
3237
|
-
/**
|
|
3238
|
-
* 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`.
|
|
3239
|
-
*/
|
|
3240
|
-
quantity?: number;
|
|
3241
|
-
/**
|
|
3242
|
-
* 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`.
|
|
3243
|
-
*/
|
|
3244
|
-
tax_rates?: Array<string>;
|
|
3245
|
-
/**
|
|
3246
|
-
* 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`.
|
|
3247
|
-
*/
|
|
3248
|
-
trial?: Set.Trial;
|
|
3249
|
-
/**
|
|
3250
|
-
* The ID of the trial offer to apply to the configuration item.
|
|
3251
|
-
*/
|
|
3252
|
-
trial_offer?: string;
|
|
3253
|
-
}
|
|
3254
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
3255
|
-
namespace Add {
|
|
3256
|
-
interface Discount {
|
|
3257
|
-
/**
|
|
3258
|
-
* ID of the coupon to create a new discount for.
|
|
3259
|
-
*/
|
|
3260
|
-
coupon?: string;
|
|
3261
|
-
/**
|
|
3262
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3263
|
-
*/
|
|
3264
|
-
discount?: string;
|
|
3265
|
-
/**
|
|
3266
|
-
* Details to determine how long the discount should be applied for.
|
|
3267
|
-
*/
|
|
3268
|
-
discount_end?: Discount.DiscountEnd;
|
|
3269
|
-
/**
|
|
3270
|
-
* ID of the promotion code to create a new discount for.
|
|
3271
|
-
*/
|
|
3272
|
-
promotion_code?: string;
|
|
3273
|
-
}
|
|
3274
|
-
interface Trial {
|
|
3275
|
-
/**
|
|
3276
|
-
* 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.
|
|
3277
|
-
*/
|
|
3278
|
-
converts_to?: Array<string>;
|
|
3279
|
-
/**
|
|
3280
|
-
* Determines the type of trial for this item.
|
|
3281
|
-
*/
|
|
3282
|
-
type: Trial.Type;
|
|
3283
|
-
}
|
|
3284
|
-
namespace Discount {
|
|
3285
|
-
interface DiscountEnd {
|
|
3286
|
-
/**
|
|
3287
|
-
* Time span for the redeemed discount.
|
|
3288
|
-
*/
|
|
3289
|
-
duration?: DiscountEnd.Duration;
|
|
3290
|
-
/**
|
|
3291
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3292
|
-
*/
|
|
3293
|
-
timestamp?: number;
|
|
3294
|
-
/**
|
|
3295
|
-
* The type of calculation made to determine when the discount ends.
|
|
3296
|
-
*/
|
|
3297
|
-
type: DiscountEnd.Type;
|
|
3298
|
-
}
|
|
3299
|
-
namespace DiscountEnd {
|
|
3300
|
-
interface Duration {
|
|
3301
|
-
/**
|
|
3302
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3303
|
-
*/
|
|
3304
|
-
interval: Duration.Interval;
|
|
3305
|
-
/**
|
|
3306
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3307
|
-
*/
|
|
3308
|
-
interval_count: number;
|
|
3309
|
-
}
|
|
3310
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3311
|
-
namespace Duration {
|
|
3312
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3313
|
-
}
|
|
3314
|
-
}
|
|
3315
|
-
}
|
|
3316
|
-
namespace Trial {
|
|
3317
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
3318
|
-
}
|
|
3319
|
-
}
|
|
3320
|
-
namespace Set {
|
|
3321
|
-
interface Discount {
|
|
3322
|
-
/**
|
|
3323
|
-
* ID of the coupon to create a new discount for.
|
|
3324
|
-
*/
|
|
3325
|
-
coupon?: string;
|
|
3326
|
-
/**
|
|
3327
|
-
* ID of an existing discount on the object (or one of its ancestors) to reuse.
|
|
3328
|
-
*/
|
|
3329
|
-
discount?: string;
|
|
3330
|
-
/**
|
|
3331
|
-
* Details to determine how long the discount should be applied for.
|
|
3332
|
-
*/
|
|
3333
|
-
discount_end?: Discount.DiscountEnd;
|
|
3334
|
-
/**
|
|
3335
|
-
* ID of the promotion code to create a new discount for.
|
|
3336
|
-
*/
|
|
3337
|
-
promotion_code?: string;
|
|
3338
|
-
}
|
|
3339
|
-
interface Trial {
|
|
3340
|
-
/**
|
|
3341
|
-
* 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.
|
|
3342
|
-
*/
|
|
3343
|
-
converts_to?: Array<string>;
|
|
3344
|
-
/**
|
|
3345
|
-
* Determines the type of trial for this item.
|
|
3346
|
-
*/
|
|
3347
|
-
type: Trial.Type;
|
|
3348
|
-
}
|
|
3349
|
-
namespace Discount {
|
|
3350
|
-
interface DiscountEnd {
|
|
3351
|
-
/**
|
|
3352
|
-
* Time span for the redeemed discount.
|
|
3353
|
-
*/
|
|
3354
|
-
duration?: DiscountEnd.Duration;
|
|
3355
|
-
/**
|
|
3356
|
-
* A precise Unix timestamp for the discount to end. Must be in the future.
|
|
3357
|
-
*/
|
|
3358
|
-
timestamp?: number;
|
|
3359
|
-
/**
|
|
3360
|
-
* The type of calculation made to determine when the discount ends.
|
|
3361
|
-
*/
|
|
3362
|
-
type: DiscountEnd.Type;
|
|
3363
|
-
}
|
|
3364
|
-
namespace DiscountEnd {
|
|
3365
|
-
interface Duration {
|
|
3366
|
-
/**
|
|
3367
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3368
|
-
*/
|
|
3369
|
-
interval: Duration.Interval;
|
|
3370
|
-
/**
|
|
3371
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3372
|
-
*/
|
|
3373
|
-
interval_count: number;
|
|
3374
|
-
}
|
|
3375
|
-
type Type = 'duration' | 'timestamp' | OtherString;
|
|
3376
|
-
namespace Duration {
|
|
3377
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3378
|
-
}
|
|
3379
|
-
}
|
|
3380
|
-
}
|
|
3381
|
-
namespace Trial {
|
|
3382
|
-
type Type = 'free' | 'paid' | OtherString;
|
|
3383
|
-
}
|
|
3384
|
-
}
|
|
3385
|
-
}
|
|
3386
|
-
namespace MetadataAction {
|
|
3387
|
-
type Type = 'add' | 'remove' | 'set' | OtherString;
|
|
3388
|
-
}
|
|
3389
|
-
namespace SetPauseCollection {
|
|
3390
|
-
interface Set {
|
|
3391
|
-
/**
|
|
3392
|
-
* The payment collection behavior for this subscription while paused.
|
|
3393
|
-
*/
|
|
3394
|
-
behavior: Set.Behavior;
|
|
3395
|
-
}
|
|
3396
|
-
type Type = 'remove' | 'set' | OtherString;
|
|
3397
|
-
namespace Set {
|
|
3398
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
|
|
3399
|
-
}
|
|
3400
|
-
}
|
|
3401
|
-
namespace TrialSettings {
|
|
3402
|
-
interface EndBehavior {
|
|
3403
|
-
/**
|
|
3404
|
-
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
|
3405
|
-
*/
|
|
3406
|
-
prorate_up_front?: EndBehavior.ProrateUpFront;
|
|
3407
|
-
}
|
|
3408
|
-
namespace EndBehavior {
|
|
3409
|
-
type ProrateUpFront = 'defer' | 'include' | OtherString;
|
|
3410
|
-
}
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
namespace Prebilling {
|
|
3414
|
-
interface BillFrom {
|
|
3415
|
-
/**
|
|
3416
|
-
* Start the prebilled period when a specified amendment begins.
|
|
3417
|
-
*/
|
|
3418
|
-
amendment_start?: BillFrom.AmendmentStart;
|
|
3419
|
-
/**
|
|
3420
|
-
* Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
|
3421
|
-
*/
|
|
3422
|
-
timestamp?: number;
|
|
3423
|
-
/**
|
|
3424
|
-
* Select one of several ways to pass the `bill_from` value.
|
|
3425
|
-
*/
|
|
3426
|
-
type: BillFrom.Type;
|
|
3427
|
-
}
|
|
3428
|
-
interface BillUntil {
|
|
3429
|
-
/**
|
|
3430
|
-
* End the prebilled period when a specified amendment ends.
|
|
3431
|
-
*/
|
|
3432
|
-
amendment_end?: BillUntil.AmendmentEnd;
|
|
3433
|
-
/**
|
|
3434
|
-
* Time span for prebilling, starting from `bill_from`.
|
|
3435
|
-
*/
|
|
3436
|
-
duration?: BillUntil.Duration;
|
|
3437
|
-
/**
|
|
3438
|
-
* End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
|
3439
|
-
*/
|
|
3440
|
-
timestamp?: number;
|
|
3441
|
-
/**
|
|
3442
|
-
* Select one of several ways to pass the `bill_until` value.
|
|
3443
|
-
*/
|
|
3444
|
-
type: BillUntil.Type;
|
|
3445
|
-
}
|
|
3446
|
-
type UpdateBehavior = 'prebill' | 'reset' | OtherString;
|
|
3447
|
-
namespace BillFrom {
|
|
3448
|
-
interface AmendmentStart {
|
|
3449
|
-
/**
|
|
3450
|
-
* 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.
|
|
3451
|
-
*/
|
|
3452
|
-
index: number;
|
|
3453
|
-
}
|
|
3454
|
-
type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
|
|
3455
|
-
}
|
|
3456
|
-
namespace BillUntil {
|
|
3457
|
-
interface AmendmentEnd {
|
|
3458
|
-
/**
|
|
3459
|
-
* 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.
|
|
3460
|
-
*/
|
|
3461
|
-
index: number;
|
|
3462
|
-
}
|
|
3463
|
-
interface Duration {
|
|
3464
|
-
/**
|
|
3465
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
3466
|
-
*/
|
|
3467
|
-
interval: Duration.Interval;
|
|
3468
|
-
/**
|
|
3469
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
3470
|
-
*/
|
|
3471
|
-
interval_count: number;
|
|
3472
|
-
}
|
|
3473
|
-
type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
|
|
3474
|
-
namespace Duration {
|
|
3475
|
-
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
3476
|
-
}
|
|
3477
|
-
}
|
|
3478
|
-
}
|
|
3479
|
-
namespace ScheduleSettings {
|
|
3480
|
-
type EndBehavior = 'cancel' | 'release' | OtherString;
|
|
3481
|
-
}
|
|
3482
|
-
}
|
|
3483
2331
|
export interface SubscriptionScheduleCancelParams {
|
|
3484
2332
|
/**
|
|
3485
2333
|
* Specifies which fields in the response should be expanded.
|