stripe 22.2.0 → 22.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2754 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +2 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +471 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +463 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1020 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/cjs/resources/Billing/Alerts.d.ts +408 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +15 -0
- package/cjs/resources/Charges.d.ts +3515 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +792 -9
- package/cjs/resources/Checkout/Sessions.js +88 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +130 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +85 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +573 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +203 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2063 -20
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +290 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
- package/cjs/resources/Issuing/Cards.d.ts +36 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +190 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +85 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.d.ts +157 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +55 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +33 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4761 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +453 -1
- package/cjs/resources/PaymentAttemptRecords.js +42 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16660 -3570
- package/cjs/resources/PaymentIntents.js +40 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +262 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +351 -21
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +171 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +214 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +8 -0
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +34 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +23 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +14 -3
- package/cjs/resources/Reserve/index.js +10 -2
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +561 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +16 -1
- package/cjs/resources/SubscriptionItems.d.ts +265 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +965 -12
- package/cjs/resources/Subscriptions.js +289 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +230 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +61 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +17 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/cjs/resources/V2/Billing/Contracts.js +376 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +364 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +173 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +340 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +174 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +5570 -67
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +7601 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +63 -14
- package/cjs/resources/V2/Core/index.js +16 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -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/TransactionEntries.d.ts +249 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +128 -0
- package/cjs/resources/V2/MoneyManagement/index.js +45 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +194 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +176 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +13 -0
- package/cjs/resources/V2/Signals/index.js +13 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- 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 +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +22 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +16 -0
- package/cjs/resources.js +256 -14
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +115 -50
- package/cjs/stripe.core.js +67 -31
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +1 -1
- package/cjs/utils.js +13 -2
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +2 -2
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +467 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +463 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1020 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/esm/resources/Billing/Alerts.d.ts +408 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +15 -0
- package/esm/resources/Charges.d.ts +3515 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +792 -9
- package/esm/resources/Checkout/Sessions.js +88 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +130 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +85 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +573 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +203 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2063 -20
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +290 -0
- package/esm/resources/Issuing/Cardholders.d.ts +5 -4
- package/esm/resources/Issuing/Cards.d.ts +36 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +190 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +85 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.d.ts +157 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +55 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +33 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4761 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +453 -1
- package/esm/resources/PaymentAttemptRecords.js +42 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16660 -3570
- package/esm/resources/PaymentIntents.js +40 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +262 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +351 -21
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +171 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +214 -0
- package/esm/resources/Radar/CustomerEvaluations.js +17 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/esm/resources/Radar/ValueListItems.d.ts +8 -0
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +34 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +23 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +14 -3
- package/esm/resources/Reserve/index.js +10 -2
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +561 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +16 -1
- package/esm/resources/SubscriptionItems.d.ts +265 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +965 -12
- package/esm/resources/Subscriptions.js +289 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +230 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +61 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +13 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js +11 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/esm/resources/V2/Billing/Contracts.js +372 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +364 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +173 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +340 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +174 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +5570 -67
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +7601 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +63 -14
- package/esm/resources/V2/Core/index.js +16 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +177 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -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/TransactionEntries.d.ts +249 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +128 -0
- package/esm/resources/V2/MoneyManagement/index.js +41 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +194 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +176 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +13 -0
- package/esm/resources/V2/Signals/index.js +9 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- 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 +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +16 -0
- package/esm/resources.js +233 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +115 -50
- package/esm/stripe.core.js +37 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +115 -50
- package/esm/stripe.esm.node.js +37 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +1 -1
- package/esm/utils.js +13 -2
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { Decimal, MetadataParam } from '../../../shared.js';
|
|
3
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
4
|
+
import { ActionResource } from './Intents/Actions.js';
|
|
5
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
6
|
+
export declare class IntentResource extends StripeResource {
|
|
7
|
+
private readonly stripe;
|
|
8
|
+
actions: ActionResource;
|
|
9
|
+
constructor(stripe: Stripe);
|
|
10
|
+
/**
|
|
11
|
+
* List Billing Intents.
|
|
12
|
+
*/
|
|
13
|
+
list(params?: V2.Billing.IntentListParams, options?: RequestOptions): V2ListPromise<Intent>;
|
|
14
|
+
/**
|
|
15
|
+
* Create a Billing Intent.
|
|
16
|
+
*/
|
|
17
|
+
create(params: V2.Billing.IntentCreateParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve a Billing Intent.
|
|
20
|
+
*/
|
|
21
|
+
retrieve(id: string, params?: V2.Billing.IntentRetrieveParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
22
|
+
/**
|
|
23
|
+
* Cancel a Billing Intent.
|
|
24
|
+
*/
|
|
25
|
+
cancel(id: string, params?: V2.Billing.IntentCancelParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
26
|
+
/**
|
|
27
|
+
* Commit a Billing Intent.
|
|
28
|
+
*/
|
|
29
|
+
commit(id: string, params?: V2.Billing.IntentCommitParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
30
|
+
/**
|
|
31
|
+
* Release a Billing Intent.
|
|
32
|
+
*/
|
|
33
|
+
releaseReservation(id: string, params?: V2.Billing.IntentReleaseReservationParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
34
|
+
/**
|
|
35
|
+
* Reserve a Billing Intent.
|
|
36
|
+
*/
|
|
37
|
+
reserve(id: string, params?: V2.Billing.IntentReserveParams, options?: RequestOptions): Promise<Response<Intent>>;
|
|
38
|
+
}
|
|
39
|
+
export interface Intent {
|
|
40
|
+
/**
|
|
41
|
+
* Unique identifier for the object.
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
/**
|
|
45
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
46
|
+
*/
|
|
47
|
+
object: 'v2.billing.intent';
|
|
48
|
+
/**
|
|
49
|
+
* Breakdown of the amount for this Billing Intent.
|
|
50
|
+
*/
|
|
51
|
+
amount_details: V2.Billing.Intent.AmountDetails;
|
|
52
|
+
/**
|
|
53
|
+
* ID of an existing Cadence to use.
|
|
54
|
+
*/
|
|
55
|
+
cadence?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Data for creating a new Cadence.
|
|
58
|
+
*/
|
|
59
|
+
cadence_data?: V2.Billing.Intent.CadenceData;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
*/
|
|
63
|
+
created: string;
|
|
64
|
+
/**
|
|
65
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
66
|
+
*/
|
|
67
|
+
currency: string;
|
|
68
|
+
/**
|
|
69
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
70
|
+
*/
|
|
71
|
+
livemode: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Current status of the Billing Intent.
|
|
74
|
+
*/
|
|
75
|
+
status: V2.Billing.Intent.Status;
|
|
76
|
+
/**
|
|
77
|
+
* Timestamps for status transitions of the Billing Intent.
|
|
78
|
+
*/
|
|
79
|
+
status_transitions: V2.Billing.Intent.StatusTransitions;
|
|
80
|
+
}
|
|
81
|
+
export declare namespace V2 {
|
|
82
|
+
namespace Billing {
|
|
83
|
+
namespace Intent {
|
|
84
|
+
interface AmountDetails {
|
|
85
|
+
/**
|
|
86
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
87
|
+
*/
|
|
88
|
+
currency: string;
|
|
89
|
+
/**
|
|
90
|
+
* Amount of discount applied.
|
|
91
|
+
*/
|
|
92
|
+
discount: string;
|
|
93
|
+
/**
|
|
94
|
+
* Amount of shipping charges.
|
|
95
|
+
*/
|
|
96
|
+
shipping: string;
|
|
97
|
+
/**
|
|
98
|
+
* Subtotal amount before tax and discounts.
|
|
99
|
+
*/
|
|
100
|
+
subtotal: string;
|
|
101
|
+
/**
|
|
102
|
+
* Amount of tax.
|
|
103
|
+
*/
|
|
104
|
+
tax: string;
|
|
105
|
+
/**
|
|
106
|
+
* Total amount for the Billing Intent.
|
|
107
|
+
*/
|
|
108
|
+
total: string;
|
|
109
|
+
}
|
|
110
|
+
interface CadenceData {
|
|
111
|
+
/**
|
|
112
|
+
* The billing cycle configuration for this Cadence.
|
|
113
|
+
*/
|
|
114
|
+
billing_cycle: CadenceData.BillingCycle;
|
|
115
|
+
/**
|
|
116
|
+
* Information about the payer for this Cadence.
|
|
117
|
+
*/
|
|
118
|
+
payer: CadenceData.Payer;
|
|
119
|
+
/**
|
|
120
|
+
* Settings for creating the Cadence.
|
|
121
|
+
*/
|
|
122
|
+
settings?: CadenceData.Settings;
|
|
123
|
+
}
|
|
124
|
+
type Status = 'canceled' | 'committed' | 'draft' | 'reserved';
|
|
125
|
+
interface StatusTransitions {
|
|
126
|
+
/**
|
|
127
|
+
* Time at which the Billing Intent was canceled.
|
|
128
|
+
*/
|
|
129
|
+
canceled_at?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Time at which the Billing Intent was committed.
|
|
132
|
+
*/
|
|
133
|
+
committed_at?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Time at which the Billing Intent was drafted.
|
|
136
|
+
*/
|
|
137
|
+
drafted_at?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Time at which the Billing Intent expires.
|
|
140
|
+
*/
|
|
141
|
+
expires_at: string;
|
|
142
|
+
/**
|
|
143
|
+
* Time at which the Billing Intent was reserved.
|
|
144
|
+
*/
|
|
145
|
+
reserved_at?: string;
|
|
146
|
+
}
|
|
147
|
+
namespace CadenceData {
|
|
148
|
+
interface BillingCycle {
|
|
149
|
+
/**
|
|
150
|
+
* Specific configuration for determining billing dates when type=day.
|
|
151
|
+
*/
|
|
152
|
+
day?: BillingCycle.Day;
|
|
153
|
+
/**
|
|
154
|
+
* The number of intervals (specified in the interval attribute) between cadence billings. For example, type=month and interval_count=3 bills every 3 months.
|
|
155
|
+
*/
|
|
156
|
+
interval_count: number;
|
|
157
|
+
/**
|
|
158
|
+
* Specific configuration for determining billing dates when type=month.
|
|
159
|
+
*/
|
|
160
|
+
month?: BillingCycle.Month;
|
|
161
|
+
/**
|
|
162
|
+
* The frequency at which a cadence bills.
|
|
163
|
+
*/
|
|
164
|
+
type: BillingCycle.Type;
|
|
165
|
+
/**
|
|
166
|
+
* Specific configuration for determining billing dates when type=week.
|
|
167
|
+
*/
|
|
168
|
+
week?: BillingCycle.Week;
|
|
169
|
+
/**
|
|
170
|
+
* Specific configuration for determining billing dates when type=year.
|
|
171
|
+
*/
|
|
172
|
+
year?: BillingCycle.Year;
|
|
173
|
+
}
|
|
174
|
+
interface Payer {
|
|
175
|
+
/**
|
|
176
|
+
* The ID of the Billing Profile object which determines how a bill is paid.
|
|
177
|
+
*/
|
|
178
|
+
billing_profile?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Data for creating a new profile.
|
|
181
|
+
*/
|
|
182
|
+
billing_profile_data?: Payer.BillingProfileData;
|
|
183
|
+
}
|
|
184
|
+
interface Settings {
|
|
185
|
+
/**
|
|
186
|
+
* Settings that configure bills generation, which includes calculating totals, tax, and presenting invoices.
|
|
187
|
+
*/
|
|
188
|
+
bill?: Settings.Bill;
|
|
189
|
+
/**
|
|
190
|
+
* Settings that configure and manage the behavior of collecting payments.
|
|
191
|
+
*/
|
|
192
|
+
collection?: Settings.Collection;
|
|
193
|
+
}
|
|
194
|
+
namespace BillingCycle {
|
|
195
|
+
interface Day {
|
|
196
|
+
/**
|
|
197
|
+
* The time at which the billing cycle ends.
|
|
198
|
+
*/
|
|
199
|
+
time: Day.Time;
|
|
200
|
+
}
|
|
201
|
+
interface Month {
|
|
202
|
+
/**
|
|
203
|
+
* The day to anchor the billing on for a type="month" billing cycle from 1-31.
|
|
204
|
+
* If this number is greater than the number of days in the month being billed,
|
|
205
|
+
* this anchors to the last day of the month.
|
|
206
|
+
*/
|
|
207
|
+
day_of_month: number;
|
|
208
|
+
/**
|
|
209
|
+
* The month to anchor the billing on for a type="month" billing cycle from
|
|
210
|
+
* 1-12. Occurrences are calculated from the month anchor.
|
|
211
|
+
*/
|
|
212
|
+
month_of_year?: number;
|
|
213
|
+
/**
|
|
214
|
+
* The time at which the billing cycle ends.
|
|
215
|
+
*/
|
|
216
|
+
time: Month.Time;
|
|
217
|
+
}
|
|
218
|
+
type Type = 'day' | 'month' | 'week' | 'year';
|
|
219
|
+
interface Week {
|
|
220
|
+
/**
|
|
221
|
+
* The day of the week to bill the type=week billing cycle on.
|
|
222
|
+
* Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601 week day numbering.
|
|
223
|
+
*/
|
|
224
|
+
day_of_week: number;
|
|
225
|
+
/**
|
|
226
|
+
* The time at which the billing cycle ends.
|
|
227
|
+
*/
|
|
228
|
+
time: Week.Time;
|
|
229
|
+
}
|
|
230
|
+
interface Year {
|
|
231
|
+
/**
|
|
232
|
+
* The day to anchor the billing on for a type="month" billing cycle from 1-31.
|
|
233
|
+
* If this number is greater than the number of days in the month being billed,
|
|
234
|
+
* this anchors to the last day of the month.
|
|
235
|
+
*/
|
|
236
|
+
day_of_month: number;
|
|
237
|
+
/**
|
|
238
|
+
* The month to bill on from 1-12. If not provided, this defaults to the month the cadence was created.
|
|
239
|
+
*/
|
|
240
|
+
month_of_year: number;
|
|
241
|
+
/**
|
|
242
|
+
* The time at which the billing cycle ends.
|
|
243
|
+
*/
|
|
244
|
+
time: Year.Time;
|
|
245
|
+
}
|
|
246
|
+
namespace Day {
|
|
247
|
+
interface Time {
|
|
248
|
+
/**
|
|
249
|
+
* The hour at which the billing cycle ends.
|
|
250
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
251
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
252
|
+
*/
|
|
253
|
+
hour: number;
|
|
254
|
+
/**
|
|
255
|
+
* The minute at which the billing cycle ends.
|
|
256
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
257
|
+
*/
|
|
258
|
+
minute: number;
|
|
259
|
+
/**
|
|
260
|
+
* The second at which the billing cycle ends.
|
|
261
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
262
|
+
*/
|
|
263
|
+
second?: number;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
namespace Month {
|
|
267
|
+
interface Time {
|
|
268
|
+
/**
|
|
269
|
+
* The hour at which the billing cycle ends.
|
|
270
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
271
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
272
|
+
*/
|
|
273
|
+
hour: number;
|
|
274
|
+
/**
|
|
275
|
+
* The minute at which the billing cycle ends.
|
|
276
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
277
|
+
*/
|
|
278
|
+
minute: number;
|
|
279
|
+
/**
|
|
280
|
+
* The second at which the billing cycle ends.
|
|
281
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
282
|
+
*/
|
|
283
|
+
second?: number;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
namespace Week {
|
|
287
|
+
interface Time {
|
|
288
|
+
/**
|
|
289
|
+
* The hour at which the billing cycle ends.
|
|
290
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
291
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
292
|
+
*/
|
|
293
|
+
hour: number;
|
|
294
|
+
/**
|
|
295
|
+
* The minute at which the billing cycle ends.
|
|
296
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
297
|
+
*/
|
|
298
|
+
minute: number;
|
|
299
|
+
/**
|
|
300
|
+
* The second at which the billing cycle ends.
|
|
301
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
302
|
+
*/
|
|
303
|
+
second?: number;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
namespace Year {
|
|
307
|
+
interface Time {
|
|
308
|
+
/**
|
|
309
|
+
* The hour at which the billing cycle ends.
|
|
310
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
311
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
312
|
+
*/
|
|
313
|
+
hour: number;
|
|
314
|
+
/**
|
|
315
|
+
* The minute at which the billing cycle ends.
|
|
316
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
317
|
+
*/
|
|
318
|
+
minute: number;
|
|
319
|
+
/**
|
|
320
|
+
* The second at which the billing cycle ends.
|
|
321
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
322
|
+
*/
|
|
323
|
+
second?: number;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
namespace Payer {
|
|
328
|
+
interface BillingProfileData {
|
|
329
|
+
/**
|
|
330
|
+
* The customer to associate with the profile.
|
|
331
|
+
*/
|
|
332
|
+
customer: string;
|
|
333
|
+
/**
|
|
334
|
+
* The default payment method to use when billing this profile.
|
|
335
|
+
* If none is provided, the customer `default_payment_method` is used.
|
|
336
|
+
*/
|
|
337
|
+
default_payment_method?: string;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
namespace Settings {
|
|
341
|
+
interface Bill {
|
|
342
|
+
/**
|
|
343
|
+
* The ID of the referenced settings object.
|
|
344
|
+
*/
|
|
345
|
+
id: string;
|
|
346
|
+
/**
|
|
347
|
+
* Returns the Settings Version when the cadence is pinned to a specific version.
|
|
348
|
+
*/
|
|
349
|
+
version?: string;
|
|
350
|
+
}
|
|
351
|
+
interface Collection {
|
|
352
|
+
/**
|
|
353
|
+
* The ID of the referenced settings object.
|
|
354
|
+
*/
|
|
355
|
+
id: string;
|
|
356
|
+
/**
|
|
357
|
+
* Returns the Settings Version when the cadence is pinned to a specific version.
|
|
358
|
+
*/
|
|
359
|
+
version?: string;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
export declare namespace V2 {
|
|
367
|
+
namespace Billing {
|
|
368
|
+
interface IntentCreateParams {
|
|
369
|
+
/**
|
|
370
|
+
* Actions to be performed by this Billing Intent.
|
|
371
|
+
*/
|
|
372
|
+
actions: Array<IntentCreateParams.Action>;
|
|
373
|
+
/**
|
|
374
|
+
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
375
|
+
*/
|
|
376
|
+
currency: string;
|
|
377
|
+
/**
|
|
378
|
+
* ID of an existing Cadence to use.
|
|
379
|
+
*/
|
|
380
|
+
cadence?: string;
|
|
381
|
+
/**
|
|
382
|
+
* Data for creating a new Cadence.
|
|
383
|
+
*/
|
|
384
|
+
cadence_data?: IntentCreateParams.CadenceData;
|
|
385
|
+
}
|
|
386
|
+
namespace IntentCreateParams {
|
|
387
|
+
interface Action {
|
|
388
|
+
/**
|
|
389
|
+
* Details for an apply action.
|
|
390
|
+
*/
|
|
391
|
+
apply?: Action.Apply;
|
|
392
|
+
/**
|
|
393
|
+
* Details for a deactivate action.
|
|
394
|
+
*/
|
|
395
|
+
deactivate?: Action.Deactivate;
|
|
396
|
+
/**
|
|
397
|
+
* Details for a modify action.
|
|
398
|
+
*/
|
|
399
|
+
modify?: Action.Modify;
|
|
400
|
+
/**
|
|
401
|
+
* Details for a remove action.
|
|
402
|
+
*/
|
|
403
|
+
remove?: Action.Remove;
|
|
404
|
+
/**
|
|
405
|
+
* Details for a subscribe action.
|
|
406
|
+
*/
|
|
407
|
+
subscribe?: Action.Subscribe;
|
|
408
|
+
/**
|
|
409
|
+
* Type of the Billing Intent action.
|
|
410
|
+
*/
|
|
411
|
+
type: Action.Type;
|
|
412
|
+
}
|
|
413
|
+
interface CadenceData {
|
|
414
|
+
/**
|
|
415
|
+
* The billing cycle configuration for this Cadence.
|
|
416
|
+
*/
|
|
417
|
+
billing_cycle: CadenceData.BillingCycle;
|
|
418
|
+
/**
|
|
419
|
+
* Information about the payer for this Cadence.
|
|
420
|
+
*/
|
|
421
|
+
payer: CadenceData.Payer;
|
|
422
|
+
/**
|
|
423
|
+
* Settings for creating the Cadence.
|
|
424
|
+
*/
|
|
425
|
+
settings?: CadenceData.Settings;
|
|
426
|
+
}
|
|
427
|
+
namespace Action {
|
|
428
|
+
interface Apply {
|
|
429
|
+
/**
|
|
430
|
+
* Details for applying a discount.
|
|
431
|
+
*/
|
|
432
|
+
discount?: Apply.Discount;
|
|
433
|
+
/**
|
|
434
|
+
* When the apply action takes effect. If not specified, defaults to on_reserve.
|
|
435
|
+
*/
|
|
436
|
+
effective_at?: Apply.EffectiveAt;
|
|
437
|
+
/**
|
|
438
|
+
* Details for applying a discount rule to future invoices.
|
|
439
|
+
*/
|
|
440
|
+
invoice_discount_rule?: Apply.InvoiceDiscountRule;
|
|
441
|
+
/**
|
|
442
|
+
* Details for applying a spend modifier rule. Only present if type is spend_modifier_rule.
|
|
443
|
+
*/
|
|
444
|
+
spend_modifier_rule?: Apply.SpendModifierRule;
|
|
445
|
+
/**
|
|
446
|
+
* Type of the apply action details.
|
|
447
|
+
*/
|
|
448
|
+
type: Apply.Type;
|
|
449
|
+
}
|
|
450
|
+
interface Deactivate {
|
|
451
|
+
/**
|
|
452
|
+
* Details about why the cancellation is being requested.
|
|
453
|
+
*/
|
|
454
|
+
cancellation_details?: Deactivate.CancellationDetails;
|
|
455
|
+
/**
|
|
456
|
+
* When the invoice is collected. If not specified, the default behavior is on_effective_at.
|
|
457
|
+
*/
|
|
458
|
+
collect_at?: Deactivate.CollectAt;
|
|
459
|
+
/**
|
|
460
|
+
* When the deactivate action takes effect. If not specified, the default behavior is on_reserve.
|
|
461
|
+
*/
|
|
462
|
+
effective_at?: Deactivate.EffectiveAt;
|
|
463
|
+
/**
|
|
464
|
+
* Details for deactivating a pricing plan subscription.
|
|
465
|
+
*/
|
|
466
|
+
pricing_plan_subscription_details: Deactivate.PricingPlanSubscriptionDetails;
|
|
467
|
+
/**
|
|
468
|
+
* Type of the action details.
|
|
469
|
+
*/
|
|
470
|
+
type: Deactivate.Type;
|
|
471
|
+
}
|
|
472
|
+
interface Modify {
|
|
473
|
+
/**
|
|
474
|
+
* When the invoice is collected. If not specified, the default behavior is next_billing_date.
|
|
475
|
+
*/
|
|
476
|
+
collect_at?: Modify.CollectAt;
|
|
477
|
+
/**
|
|
478
|
+
* When the modify action takes effect. If not specified, the default behavior is on_reserve.
|
|
479
|
+
*/
|
|
480
|
+
effective_at?: Modify.EffectiveAt;
|
|
481
|
+
/**
|
|
482
|
+
* Details for modifying a pricing plan subscription.
|
|
483
|
+
*/
|
|
484
|
+
pricing_plan_subscription_details: Modify.PricingPlanSubscriptionDetails;
|
|
485
|
+
/**
|
|
486
|
+
* Type of the action details.
|
|
487
|
+
*/
|
|
488
|
+
type: Modify.Type;
|
|
489
|
+
}
|
|
490
|
+
interface Remove {
|
|
491
|
+
/**
|
|
492
|
+
* When the remove action takes effect. If not specified, defaults to on_reserve.
|
|
493
|
+
*/
|
|
494
|
+
effective_at?: Remove.EffectiveAt;
|
|
495
|
+
/**
|
|
496
|
+
* The ID of the discount rule to remove for future invoices.
|
|
497
|
+
*/
|
|
498
|
+
invoice_discount_rule?: string;
|
|
499
|
+
/**
|
|
500
|
+
* The ID of the spend modifier rule to remove.
|
|
501
|
+
*/
|
|
502
|
+
spend_modifier_rule?: string;
|
|
503
|
+
/**
|
|
504
|
+
* Type of the remove action.
|
|
505
|
+
*/
|
|
506
|
+
type: Remove.Type;
|
|
507
|
+
}
|
|
508
|
+
interface Subscribe {
|
|
509
|
+
/**
|
|
510
|
+
* When the invoice is collected. If not specified, defaults to on_effective_at.
|
|
511
|
+
*/
|
|
512
|
+
collect_at?: Subscribe.CollectAt;
|
|
513
|
+
/**
|
|
514
|
+
* When the subscribe action takes effect. If not specified, the default behavior is on_reserve.
|
|
515
|
+
*/
|
|
516
|
+
effective_at?: Subscribe.EffectiveAt;
|
|
517
|
+
/**
|
|
518
|
+
* Details for subscribing to a pricing plan.
|
|
519
|
+
*/
|
|
520
|
+
pricing_plan_subscription_details?: Subscribe.PricingPlanSubscriptionDetails;
|
|
521
|
+
/**
|
|
522
|
+
* Type of the action details.
|
|
523
|
+
*/
|
|
524
|
+
type: Subscribe.Type;
|
|
525
|
+
/**
|
|
526
|
+
* Details for subscribing to a v1 subscription.
|
|
527
|
+
*/
|
|
528
|
+
v1_subscription_details?: Subscribe.V1SubscriptionDetails;
|
|
529
|
+
}
|
|
530
|
+
type Type = 'apply' | 'deactivate' | 'modify' | 'remove' | 'subscribe';
|
|
531
|
+
namespace Apply {
|
|
532
|
+
interface Discount {
|
|
533
|
+
/**
|
|
534
|
+
* The ID of the Coupon to apply.
|
|
535
|
+
*/
|
|
536
|
+
coupon?: string;
|
|
537
|
+
/**
|
|
538
|
+
* The ID of the PromotionCode to apply.
|
|
539
|
+
*/
|
|
540
|
+
promotion_code?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Type of the discount.
|
|
543
|
+
*/
|
|
544
|
+
type: Discount.Type;
|
|
545
|
+
}
|
|
546
|
+
interface EffectiveAt {
|
|
547
|
+
/**
|
|
548
|
+
* The timestamp at which the apply action takes effect. Only present if type is timestamp. Only allowed for discount actions.
|
|
549
|
+
*/
|
|
550
|
+
timestamp?: string;
|
|
551
|
+
/**
|
|
552
|
+
* When the apply action takes effect.
|
|
553
|
+
*/
|
|
554
|
+
type: EffectiveAt.Type;
|
|
555
|
+
}
|
|
556
|
+
interface InvoiceDiscountRule {
|
|
557
|
+
/**
|
|
558
|
+
* The entity that the discount rule applies to, for example, the cadence.
|
|
559
|
+
*/
|
|
560
|
+
applies_to: 'cadence';
|
|
561
|
+
/**
|
|
562
|
+
* Configuration for percentage off discount.
|
|
563
|
+
*/
|
|
564
|
+
percent_off?: InvoiceDiscountRule.PercentOff;
|
|
565
|
+
/**
|
|
566
|
+
* Type of the discount rule.
|
|
567
|
+
*/
|
|
568
|
+
type: 'percent_off';
|
|
569
|
+
}
|
|
570
|
+
interface SpendModifierRule {
|
|
571
|
+
/**
|
|
572
|
+
* What the spend modifier applies to.
|
|
573
|
+
*/
|
|
574
|
+
applies_to: 'cadence';
|
|
575
|
+
/**
|
|
576
|
+
* Details for max billing period spend modifier. Only present if type is max_billing_period_spend.
|
|
577
|
+
*/
|
|
578
|
+
max_billing_period_spend?: SpendModifierRule.MaxBillingPeriodSpend;
|
|
579
|
+
/**
|
|
580
|
+
* Type of the spend modifier.
|
|
581
|
+
*/
|
|
582
|
+
type: 'max_billing_period_spend';
|
|
583
|
+
}
|
|
584
|
+
type Type = 'discount' | 'invoice_discount_rule' | 'spend_modifier_rule';
|
|
585
|
+
namespace Discount {
|
|
586
|
+
type Type = 'coupon' | 'promotion_code';
|
|
587
|
+
}
|
|
588
|
+
namespace EffectiveAt {
|
|
589
|
+
type Type = 'current_billing_period_end' | 'current_billing_period_start' | 'next_billing_period_start' | 'on_reserve' | 'timestamp';
|
|
590
|
+
}
|
|
591
|
+
namespace InvoiceDiscountRule {
|
|
592
|
+
interface PercentOff {
|
|
593
|
+
/**
|
|
594
|
+
* The maximum number of times this discount can be applied for this cadence.
|
|
595
|
+
*/
|
|
596
|
+
maximum_applications: PercentOff.MaximumApplications;
|
|
597
|
+
/**
|
|
598
|
+
* Percent that is taken off the amount. For example, a percent_off of 50.0 reduces a 100 USD amount to 50 USD.
|
|
599
|
+
*/
|
|
600
|
+
percent_off: Decimal;
|
|
601
|
+
}
|
|
602
|
+
namespace PercentOff {
|
|
603
|
+
interface MaximumApplications {
|
|
604
|
+
/**
|
|
605
|
+
* The type of maximum applications configuration.
|
|
606
|
+
*/
|
|
607
|
+
type: 'indefinite';
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
namespace SpendModifierRule {
|
|
612
|
+
interface MaxBillingPeriodSpend {
|
|
613
|
+
/**
|
|
614
|
+
* The maximum amount allowed for the billing period.
|
|
615
|
+
*/
|
|
616
|
+
amount: MaxBillingPeriodSpend.Amount;
|
|
617
|
+
/**
|
|
618
|
+
* The configuration for the overage rate for the custom pricing unit.
|
|
619
|
+
*/
|
|
620
|
+
custom_pricing_unit_overage_rate: MaxBillingPeriodSpend.CustomPricingUnitOverageRate;
|
|
621
|
+
}
|
|
622
|
+
namespace MaxBillingPeriodSpend {
|
|
623
|
+
interface Amount {
|
|
624
|
+
/**
|
|
625
|
+
* The custom pricing unit amount.
|
|
626
|
+
*/
|
|
627
|
+
custom_pricing_unit?: Amount.CustomPricingUnit;
|
|
628
|
+
/**
|
|
629
|
+
* The type of the amount.
|
|
630
|
+
*/
|
|
631
|
+
type: 'custom_pricing_unit';
|
|
632
|
+
}
|
|
633
|
+
interface CustomPricingUnitOverageRate {
|
|
634
|
+
/**
|
|
635
|
+
* ID of the custom pricing unit overage rate.
|
|
636
|
+
*/
|
|
637
|
+
id: string;
|
|
638
|
+
}
|
|
639
|
+
namespace Amount {
|
|
640
|
+
interface CustomPricingUnit {
|
|
641
|
+
/**
|
|
642
|
+
* The id of the custom pricing unit.
|
|
643
|
+
*/
|
|
644
|
+
id?: string;
|
|
645
|
+
/**
|
|
646
|
+
* The value of the custom pricing unit.
|
|
647
|
+
*/
|
|
648
|
+
value: string;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
namespace Deactivate {
|
|
655
|
+
interface CancellationDetails {
|
|
656
|
+
/**
|
|
657
|
+
* Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
|
658
|
+
*/
|
|
659
|
+
comment?: string;
|
|
660
|
+
/**
|
|
661
|
+
* The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
|
662
|
+
*/
|
|
663
|
+
feedback?: CancellationDetails.Feedback;
|
|
664
|
+
}
|
|
665
|
+
type CollectAt = 'next_billing_date' | 'on_effective_at';
|
|
666
|
+
interface EffectiveAt {
|
|
667
|
+
/**
|
|
668
|
+
* The timestamp at which the deactivate action takes effect. Only present if type is timestamp.
|
|
669
|
+
*/
|
|
670
|
+
timestamp?: string;
|
|
671
|
+
/**
|
|
672
|
+
* When the deactivate action takes effect.
|
|
673
|
+
*/
|
|
674
|
+
type: EffectiveAt.Type;
|
|
675
|
+
}
|
|
676
|
+
interface PricingPlanSubscriptionDetails {
|
|
677
|
+
/**
|
|
678
|
+
* Configurations for overriding behaviors related to the subscription.
|
|
679
|
+
*/
|
|
680
|
+
overrides?: PricingPlanSubscriptionDetails.Overrides;
|
|
681
|
+
/**
|
|
682
|
+
* ID of the pricing plan subscription to deactivate.
|
|
683
|
+
*/
|
|
684
|
+
pricing_plan_subscription: string;
|
|
685
|
+
}
|
|
686
|
+
type Type = 'pricing_plan_subscription_details' | 'v1_subscription_details';
|
|
687
|
+
namespace CancellationDetails {
|
|
688
|
+
type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
|
|
689
|
+
}
|
|
690
|
+
namespace EffectiveAt {
|
|
691
|
+
type Type = 'current_billing_period_end' | 'current_billing_period_start' | 'on_reserve' | 'timestamp';
|
|
692
|
+
}
|
|
693
|
+
namespace PricingPlanSubscriptionDetails {
|
|
694
|
+
interface Overrides {
|
|
695
|
+
/**
|
|
696
|
+
* Configurations for behaviors when the action takes effect during the service period.
|
|
697
|
+
*/
|
|
698
|
+
partial_period_behaviors: Array<Overrides.PartialPeriodBehavior>;
|
|
699
|
+
}
|
|
700
|
+
namespace Overrides {
|
|
701
|
+
interface PartialPeriodBehavior {
|
|
702
|
+
/**
|
|
703
|
+
* Overrides the behavior for license fee components when the action takes effect during the service period.
|
|
704
|
+
*/
|
|
705
|
+
license_fee?: PartialPeriodBehavior.LicenseFee;
|
|
706
|
+
/**
|
|
707
|
+
* The type of behavior to override.
|
|
708
|
+
*/
|
|
709
|
+
type: PartialPeriodBehavior.Type;
|
|
710
|
+
}
|
|
711
|
+
namespace PartialPeriodBehavior {
|
|
712
|
+
interface LicenseFee {
|
|
713
|
+
/**
|
|
714
|
+
* The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is deactivating. If not specified, defaults to none.
|
|
715
|
+
*/
|
|
716
|
+
credit_proration_behavior: LicenseFee.CreditProrationBehavior;
|
|
717
|
+
}
|
|
718
|
+
type Type = 'license_fee' | 'recurring_credit_grant';
|
|
719
|
+
namespace LicenseFee {
|
|
720
|
+
type CreditProrationBehavior = 'none' | 'prorated';
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
namespace Modify {
|
|
727
|
+
type CollectAt = 'next_billing_date' | 'on_effective_at';
|
|
728
|
+
interface EffectiveAt {
|
|
729
|
+
/**
|
|
730
|
+
* The timestamp at which the modify action takes effect. Only present if type is timestamp.
|
|
731
|
+
*/
|
|
732
|
+
timestamp?: string;
|
|
733
|
+
/**
|
|
734
|
+
* When the modify action takes effect.
|
|
735
|
+
*/
|
|
736
|
+
type: EffectiveAt.Type;
|
|
737
|
+
}
|
|
738
|
+
interface PricingPlanSubscriptionDetails {
|
|
739
|
+
/**
|
|
740
|
+
* New configurations for the components of the pricing plan.
|
|
741
|
+
*/
|
|
742
|
+
component_configurations?: Array<PricingPlanSubscriptionDetails.ComponentConfiguration>;
|
|
743
|
+
/**
|
|
744
|
+
* The ID of the new Pricing Plan, if changing plans.
|
|
745
|
+
*/
|
|
746
|
+
new_pricing_plan?: string;
|
|
747
|
+
/**
|
|
748
|
+
* The ID of the new Pricing Plan Version to use.
|
|
749
|
+
*/
|
|
750
|
+
new_pricing_plan_version?: string;
|
|
751
|
+
/**
|
|
752
|
+
* Configurations for overriding behaviors related to the subscription.
|
|
753
|
+
*/
|
|
754
|
+
overrides?: PricingPlanSubscriptionDetails.Overrides;
|
|
755
|
+
/**
|
|
756
|
+
* The ID of the Pricing Plan Subscription to modify.
|
|
757
|
+
*/
|
|
758
|
+
pricing_plan_subscription: string;
|
|
759
|
+
}
|
|
760
|
+
type Type = 'pricing_plan_subscription_details' | 'v1_subscription_details';
|
|
761
|
+
namespace EffectiveAt {
|
|
762
|
+
type Type = 'current_billing_period_start' | 'on_reserve' | 'timestamp';
|
|
763
|
+
}
|
|
764
|
+
namespace PricingPlanSubscriptionDetails {
|
|
765
|
+
interface ComponentConfiguration {
|
|
766
|
+
/**
|
|
767
|
+
* Lookup key for the pricing plan component.
|
|
768
|
+
*/
|
|
769
|
+
lookup_key?: string;
|
|
770
|
+
/**
|
|
771
|
+
* ID of the pricing plan component.
|
|
772
|
+
*/
|
|
773
|
+
pricing_plan_component?: string;
|
|
774
|
+
/**
|
|
775
|
+
* Quantity of the component to be used.
|
|
776
|
+
*/
|
|
777
|
+
quantity?: number;
|
|
778
|
+
}
|
|
779
|
+
interface Overrides {
|
|
780
|
+
/**
|
|
781
|
+
* Configurations for behaviors when the action takes effect during the service period.
|
|
782
|
+
*/
|
|
783
|
+
partial_period_behaviors: Array<Overrides.PartialPeriodBehavior>;
|
|
784
|
+
}
|
|
785
|
+
namespace Overrides {
|
|
786
|
+
interface PartialPeriodBehavior {
|
|
787
|
+
/**
|
|
788
|
+
* Overrides the behavior for license fee components when the action takes effect during the service period.
|
|
789
|
+
*/
|
|
790
|
+
license_fee?: PartialPeriodBehavior.LicenseFee;
|
|
791
|
+
/**
|
|
792
|
+
* Overrides the behavior for recurring credit grant components when the action takes effect during the service period.
|
|
793
|
+
*/
|
|
794
|
+
recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant;
|
|
795
|
+
/**
|
|
796
|
+
* The type of behavior to override.
|
|
797
|
+
*/
|
|
798
|
+
type: PartialPeriodBehavior.Type;
|
|
799
|
+
}
|
|
800
|
+
namespace PartialPeriodBehavior {
|
|
801
|
+
interface LicenseFee {
|
|
802
|
+
/**
|
|
803
|
+
* The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated.
|
|
804
|
+
*/
|
|
805
|
+
credit_proration_behavior: LicenseFee.CreditProrationBehavior;
|
|
806
|
+
/**
|
|
807
|
+
* The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user modifies the subscription. If not specified, defaults to prorated.
|
|
808
|
+
*/
|
|
809
|
+
debit_proration_behavior: LicenseFee.DebitProrationBehavior;
|
|
810
|
+
}
|
|
811
|
+
interface RecurringCreditGrant {
|
|
812
|
+
/**
|
|
813
|
+
* Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits.
|
|
814
|
+
*/
|
|
815
|
+
create_behavior: RecurringCreditGrant.CreateBehavior;
|
|
816
|
+
}
|
|
817
|
+
type Type = 'license_fee' | 'recurring_credit_grant';
|
|
818
|
+
namespace LicenseFee {
|
|
819
|
+
type CreditProrationBehavior = 'none' | 'prorated';
|
|
820
|
+
type DebitProrationBehavior = 'none' | 'prorated';
|
|
821
|
+
}
|
|
822
|
+
namespace RecurringCreditGrant {
|
|
823
|
+
type CreateBehavior = 'full_credits' | 'none';
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
namespace Remove {
|
|
830
|
+
interface EffectiveAt {
|
|
831
|
+
/**
|
|
832
|
+
* When the remove action takes effect.
|
|
833
|
+
*/
|
|
834
|
+
type: EffectiveAt.Type;
|
|
835
|
+
}
|
|
836
|
+
type Type = 'invoice_discount_rule' | 'spend_modifier_rule';
|
|
837
|
+
namespace EffectiveAt {
|
|
838
|
+
type Type = 'current_billing_period_end' | 'on_reserve';
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
namespace Subscribe {
|
|
842
|
+
type CollectAt = 'next_billing_date' | 'on_effective_at';
|
|
843
|
+
interface EffectiveAt {
|
|
844
|
+
/**
|
|
845
|
+
* The timestamp at which the subscribe action takes effect. Only present if type is timestamp.
|
|
846
|
+
*/
|
|
847
|
+
timestamp?: string;
|
|
848
|
+
/**
|
|
849
|
+
* When the subscribe action takes effect.
|
|
850
|
+
*/
|
|
851
|
+
type: EffectiveAt.Type;
|
|
852
|
+
}
|
|
853
|
+
interface PricingPlanSubscriptionDetails {
|
|
854
|
+
/**
|
|
855
|
+
* Configurations for the components of the pricing plan.
|
|
856
|
+
*/
|
|
857
|
+
component_configurations?: Array<PricingPlanSubscriptionDetails.ComponentConfiguration>;
|
|
858
|
+
/**
|
|
859
|
+
* Set of [key-value pairs](https://docs.stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
860
|
+
*/
|
|
861
|
+
metadata?: MetadataParam;
|
|
862
|
+
/**
|
|
863
|
+
* Configurations for overriding behaviors related to the subscription.
|
|
864
|
+
*/
|
|
865
|
+
overrides?: PricingPlanSubscriptionDetails.Overrides;
|
|
866
|
+
/**
|
|
867
|
+
* ID of the Pricing Plan to subscribe to.
|
|
868
|
+
*/
|
|
869
|
+
pricing_plan: string;
|
|
870
|
+
/**
|
|
871
|
+
* Version of the Pricing Plan to use.
|
|
872
|
+
*/
|
|
873
|
+
pricing_plan_version: string;
|
|
874
|
+
}
|
|
875
|
+
type Type = 'pricing_plan_subscription_details' | 'v1_subscription_details';
|
|
876
|
+
interface V1SubscriptionDetails {
|
|
877
|
+
/**
|
|
878
|
+
* The subscription's description, meant to be displayable to the customer.
|
|
879
|
+
* Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
|
880
|
+
*/
|
|
881
|
+
description?: string;
|
|
882
|
+
/**
|
|
883
|
+
* A list of up to 20 subscription items, each with an attached price.
|
|
884
|
+
*/
|
|
885
|
+
items: Array<V1SubscriptionDetails.Item>;
|
|
886
|
+
/**
|
|
887
|
+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
888
|
+
*/
|
|
889
|
+
metadata?: MetadataParam;
|
|
890
|
+
}
|
|
891
|
+
namespace EffectiveAt {
|
|
892
|
+
type Type = 'current_billing_period_start' | 'on_reserve' | 'timestamp';
|
|
893
|
+
}
|
|
894
|
+
namespace PricingPlanSubscriptionDetails {
|
|
895
|
+
interface ComponentConfiguration {
|
|
896
|
+
/**
|
|
897
|
+
* Lookup key for the pricing plan component.
|
|
898
|
+
*/
|
|
899
|
+
lookup_key?: string;
|
|
900
|
+
/**
|
|
901
|
+
* ID of the pricing plan component.
|
|
902
|
+
*/
|
|
903
|
+
pricing_plan_component?: string;
|
|
904
|
+
/**
|
|
905
|
+
* Quantity of the component to be used.
|
|
906
|
+
*/
|
|
907
|
+
quantity?: number;
|
|
908
|
+
}
|
|
909
|
+
interface Overrides {
|
|
910
|
+
/**
|
|
911
|
+
* Configurations for behaviors when the action takes effect during the service period.
|
|
912
|
+
*/
|
|
913
|
+
partial_period_behaviors: Array<Overrides.PartialPeriodBehavior>;
|
|
914
|
+
}
|
|
915
|
+
namespace Overrides {
|
|
916
|
+
interface PartialPeriodBehavior {
|
|
917
|
+
/**
|
|
918
|
+
* Overrides the behavior for license fee components when the action takes effect during the service period.
|
|
919
|
+
*/
|
|
920
|
+
license_fee?: PartialPeriodBehavior.LicenseFee;
|
|
921
|
+
/**
|
|
922
|
+
* Overrides the behavior for recurring credit grant components when the action takes effect during the service period.
|
|
923
|
+
*/
|
|
924
|
+
recurring_credit_grant?: PartialPeriodBehavior.RecurringCreditGrant;
|
|
925
|
+
/**
|
|
926
|
+
* The type of behavior to override.
|
|
927
|
+
*/
|
|
928
|
+
type: PartialPeriodBehavior.Type;
|
|
929
|
+
}
|
|
930
|
+
namespace PartialPeriodBehavior {
|
|
931
|
+
interface LicenseFee {
|
|
932
|
+
/**
|
|
933
|
+
* The proration behavior for the partial servicing period. Defines how we prorate the license fee when the user is subscribing. If not specified, defaults to prorated.
|
|
934
|
+
*/
|
|
935
|
+
debit_proration_behavior: LicenseFee.DebitProrationBehavior;
|
|
936
|
+
}
|
|
937
|
+
interface RecurringCreditGrant {
|
|
938
|
+
/**
|
|
939
|
+
* Controls credit grant creation behavior during partial periods. If not specified, defaults to full_credits.
|
|
940
|
+
*/
|
|
941
|
+
create_behavior: RecurringCreditGrant.CreateBehavior;
|
|
942
|
+
}
|
|
943
|
+
type Type = 'license_fee' | 'recurring_credit_grant';
|
|
944
|
+
namespace LicenseFee {
|
|
945
|
+
type DebitProrationBehavior = 'none' | 'prorated';
|
|
946
|
+
}
|
|
947
|
+
namespace RecurringCreditGrant {
|
|
948
|
+
type CreateBehavior = 'full_credits' | 'none';
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
namespace V1SubscriptionDetails {
|
|
954
|
+
interface Item {
|
|
955
|
+
/**
|
|
956
|
+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
957
|
+
*/
|
|
958
|
+
metadata?: MetadataParam;
|
|
959
|
+
/**
|
|
960
|
+
* The ID of the price object.
|
|
961
|
+
*/
|
|
962
|
+
price: string;
|
|
963
|
+
/**
|
|
964
|
+
* Quantity for this item. If not provided, defaults to 1.
|
|
965
|
+
*/
|
|
966
|
+
quantity?: number;
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
namespace CadenceData {
|
|
972
|
+
interface BillingCycle {
|
|
973
|
+
/**
|
|
974
|
+
* Specific configuration for determining billing dates when type=day.
|
|
975
|
+
*/
|
|
976
|
+
day?: BillingCycle.Day;
|
|
977
|
+
/**
|
|
978
|
+
* The number of intervals (specified in the interval attribute) between
|
|
979
|
+
* cadence billings. For example, type=month and interval_count=3 bills every
|
|
980
|
+
* 3 months. If not provided, this defaults to 1.
|
|
981
|
+
*/
|
|
982
|
+
interval_count?: number;
|
|
983
|
+
/**
|
|
984
|
+
* Specific configuration for determining billing dates when type=month.
|
|
985
|
+
*/
|
|
986
|
+
month?: BillingCycle.Month;
|
|
987
|
+
/**
|
|
988
|
+
* The frequency at which a cadence bills.
|
|
989
|
+
*/
|
|
990
|
+
type: BillingCycle.Type;
|
|
991
|
+
/**
|
|
992
|
+
* Specific configuration for determining billing dates when type=week.
|
|
993
|
+
*/
|
|
994
|
+
week?: BillingCycle.Week;
|
|
995
|
+
/**
|
|
996
|
+
* Specific configuration for determining billing dates when type=year.
|
|
997
|
+
*/
|
|
998
|
+
year?: BillingCycle.Year;
|
|
999
|
+
}
|
|
1000
|
+
interface Payer {
|
|
1001
|
+
/**
|
|
1002
|
+
* The ID of the Billing Profile object which determines how a bill is paid.
|
|
1003
|
+
*/
|
|
1004
|
+
billing_profile?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* Data for creating a new profile.
|
|
1007
|
+
*/
|
|
1008
|
+
billing_profile_data?: Payer.BillingProfileData;
|
|
1009
|
+
}
|
|
1010
|
+
interface Settings {
|
|
1011
|
+
/**
|
|
1012
|
+
* Settings that configure bill generation, which includes calculating totals, tax, and presenting invoices.
|
|
1013
|
+
* If no setting is provided here, the settings from the customer referenced on the payer will be used.
|
|
1014
|
+
* If no customer settings are present, the merchant default settings will be used.
|
|
1015
|
+
*/
|
|
1016
|
+
bill?: Settings.Bill;
|
|
1017
|
+
/**
|
|
1018
|
+
* Settings that configure and manage the behavior of collecting payments.
|
|
1019
|
+
* If no setting is provided here, the settings from the customer referenced from the payer will be used if they exist.
|
|
1020
|
+
* If no customer settings are present, the merchant default settings will be used.
|
|
1021
|
+
*/
|
|
1022
|
+
collection?: Settings.Collection;
|
|
1023
|
+
}
|
|
1024
|
+
namespace BillingCycle {
|
|
1025
|
+
interface Day {
|
|
1026
|
+
/**
|
|
1027
|
+
* The time at which the billing cycle ends.
|
|
1028
|
+
* This field is optional, and if not provided, it defaults to
|
|
1029
|
+
* the time at which the cadence was created in UTC timezone.
|
|
1030
|
+
*/
|
|
1031
|
+
time?: Day.Time;
|
|
1032
|
+
}
|
|
1033
|
+
interface Month {
|
|
1034
|
+
/**
|
|
1035
|
+
* The day to anchor the billing on for a type="month" billing cycle from
|
|
1036
|
+
* 1-31. If this number is greater than the number of days in the month being
|
|
1037
|
+
* billed, this anchors to the last day of the month. If not provided,
|
|
1038
|
+
* this defaults to the day the cadence was created.
|
|
1039
|
+
*/
|
|
1040
|
+
day_of_month: number;
|
|
1041
|
+
/**
|
|
1042
|
+
* The month to anchor the billing on for a type="month" billing cycle from
|
|
1043
|
+
* 1-12. If not provided, this defaults to the month the cadence was created.
|
|
1044
|
+
* This setting can only be used for monthly billing cycles with `interval_count` of 2, 3, 4 or 6.
|
|
1045
|
+
* All occurrences are calculated from the month provided.
|
|
1046
|
+
*/
|
|
1047
|
+
month_of_year?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* The time at which the billing cycle ends.
|
|
1050
|
+
* This field is optional, and if not provided, it defaults to
|
|
1051
|
+
* the time at which the cadence was created in UTC timezone.
|
|
1052
|
+
*/
|
|
1053
|
+
time?: Month.Time;
|
|
1054
|
+
}
|
|
1055
|
+
type Type = 'day' | 'month' | 'week' | 'year';
|
|
1056
|
+
interface Week {
|
|
1057
|
+
/**
|
|
1058
|
+
* The day of the week to bill the type=week billing cycle on.
|
|
1059
|
+
* Numbered from 1-7 for Monday to Sunday respectively, based on the ISO-8601
|
|
1060
|
+
* week day numbering. If not provided, this defaults to the day the
|
|
1061
|
+
* cadence was created.
|
|
1062
|
+
*/
|
|
1063
|
+
day_of_week: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* The time at which the billing cycle ends.
|
|
1066
|
+
* This field is optional, and if not provided, it defaults to
|
|
1067
|
+
* the time at which the cadence was created in UTC timezone.
|
|
1068
|
+
*/
|
|
1069
|
+
time?: Week.Time;
|
|
1070
|
+
}
|
|
1071
|
+
interface Year {
|
|
1072
|
+
/**
|
|
1073
|
+
* The day to anchor the billing on for a type="month" billing cycle from
|
|
1074
|
+
* 1-31. If this number is greater than the number of days in the month being
|
|
1075
|
+
* billed, this anchors to the last day of the month. If not provided,
|
|
1076
|
+
* this defaults to the day the cadence was created.
|
|
1077
|
+
*/
|
|
1078
|
+
day_of_month?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* The month to bill on from 1-12. If not provided, this defaults to the
|
|
1081
|
+
* month the cadence was created.
|
|
1082
|
+
*/
|
|
1083
|
+
month_of_year?: number;
|
|
1084
|
+
/**
|
|
1085
|
+
* The time at which the billing cycle ends.
|
|
1086
|
+
* This field is optional, and if not provided, it defaults to
|
|
1087
|
+
* the time at which the cadence was created in UTC timezone.
|
|
1088
|
+
*/
|
|
1089
|
+
time?: Year.Time;
|
|
1090
|
+
}
|
|
1091
|
+
namespace Day {
|
|
1092
|
+
interface Time {
|
|
1093
|
+
/**
|
|
1094
|
+
* The hour at which the billing cycle ends.
|
|
1095
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
1096
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
1097
|
+
*/
|
|
1098
|
+
hour: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* The minute at which the billing cycle ends.
|
|
1101
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1102
|
+
*/
|
|
1103
|
+
minute: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* The second at which the billing cycle ends.
|
|
1106
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1107
|
+
*/
|
|
1108
|
+
second: number;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
namespace Month {
|
|
1112
|
+
interface Time {
|
|
1113
|
+
/**
|
|
1114
|
+
* The hour at which the billing cycle ends.
|
|
1115
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
1116
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
1117
|
+
*/
|
|
1118
|
+
hour: number;
|
|
1119
|
+
/**
|
|
1120
|
+
* The minute at which the billing cycle ends.
|
|
1121
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1122
|
+
*/
|
|
1123
|
+
minute: number;
|
|
1124
|
+
/**
|
|
1125
|
+
* The second at which the billing cycle ends.
|
|
1126
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1127
|
+
*/
|
|
1128
|
+
second: number;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
namespace Week {
|
|
1132
|
+
interface Time {
|
|
1133
|
+
/**
|
|
1134
|
+
* The hour at which the billing cycle ends.
|
|
1135
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
1136
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
1137
|
+
*/
|
|
1138
|
+
hour: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* The minute at which the billing cycle ends.
|
|
1141
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1142
|
+
*/
|
|
1143
|
+
minute: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* The second at which the billing cycle ends.
|
|
1146
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1147
|
+
*/
|
|
1148
|
+
second: number;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
namespace Year {
|
|
1152
|
+
interface Time {
|
|
1153
|
+
/**
|
|
1154
|
+
* The hour at which the billing cycle ends.
|
|
1155
|
+
* This must be an integer between 0 and 23, inclusive.
|
|
1156
|
+
* 0 represents midnight, and 23 represents 11 PM.
|
|
1157
|
+
*/
|
|
1158
|
+
hour: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* The minute at which the billing cycle ends.
|
|
1161
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1162
|
+
*/
|
|
1163
|
+
minute: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* The second at which the billing cycle ends.
|
|
1166
|
+
* Must be an integer between 0 and 59, inclusive.
|
|
1167
|
+
*/
|
|
1168
|
+
second: number;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
namespace Payer {
|
|
1173
|
+
interface BillingProfileData {
|
|
1174
|
+
/**
|
|
1175
|
+
* The customer to associate with the profile.
|
|
1176
|
+
*/
|
|
1177
|
+
customer: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* The default payment method to use when billing this profile.
|
|
1180
|
+
* If left blank, the `PaymentMethod` from the `PaymentIntent` provided
|
|
1181
|
+
* on commit is used to create the profile.
|
|
1182
|
+
*/
|
|
1183
|
+
default_payment_method?: string;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
namespace Settings {
|
|
1187
|
+
interface Bill {
|
|
1188
|
+
/**
|
|
1189
|
+
* The ID of the referenced settings object.
|
|
1190
|
+
*/
|
|
1191
|
+
id: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* An optional field to specify the version of the Settings to use.
|
|
1194
|
+
* If not provided, this defaults to the live version any time the settings are used.
|
|
1195
|
+
*/
|
|
1196
|
+
version?: string;
|
|
1197
|
+
}
|
|
1198
|
+
interface Collection {
|
|
1199
|
+
/**
|
|
1200
|
+
* The ID of the referenced settings object.
|
|
1201
|
+
*/
|
|
1202
|
+
id: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* An optional field to specify the version of the Settings to use.
|
|
1205
|
+
* If not provided, this defaults to the live version any time the settings are used.
|
|
1206
|
+
*/
|
|
1207
|
+
version?: string;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
export declare namespace V2 {
|
|
1215
|
+
namespace Billing {
|
|
1216
|
+
interface IntentRetrieveParams {
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
export declare namespace V2 {
|
|
1221
|
+
namespace Billing {
|
|
1222
|
+
interface IntentListParams {
|
|
1223
|
+
/**
|
|
1224
|
+
* Optionally set the maximum number of results per page. Defaults to 10.
|
|
1225
|
+
*/
|
|
1226
|
+
limit?: number;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
export declare namespace V2 {
|
|
1231
|
+
namespace Billing {
|
|
1232
|
+
interface IntentCancelParams {
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
export declare namespace V2 {
|
|
1237
|
+
namespace Billing {
|
|
1238
|
+
interface IntentCommitParams {
|
|
1239
|
+
/**
|
|
1240
|
+
* ID of the PaymentIntent associated with this commit.
|
|
1241
|
+
*/
|
|
1242
|
+
payment_intent?: string;
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
export declare namespace V2 {
|
|
1247
|
+
namespace Billing {
|
|
1248
|
+
interface IntentReleaseReservationParams {
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
export declare namespace V2 {
|
|
1253
|
+
namespace Billing {
|
|
1254
|
+
interface IntentReserveParams {
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|