stripe 22.2.0 → 22.3.0-beta.1
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 +1753 -76
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +50 -0
- package/cjs/Error.js +125 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +0 -1
- package/cjs/RequestSender.js +0 -8
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +148 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- 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 +1 -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 +262 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +827 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +32 -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/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -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 +4 -0
- package/cjs/resources/Charges.d.ts +3064 -70
- package/cjs/resources/Checkout/Sessions.d.ts +390 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +7 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +29 -0
- package/cjs/resources/Events.d.ts +547 -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/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1337 -19
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +2 -1
- 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/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/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/Transactions.d.ts +9 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -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/Orders.d.ts +4693 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13239 -2321
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +19 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +151 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +52 -0
- 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 +42 -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 +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- 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/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +330 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1095 -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 +308 -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 +143 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +571 -6
- package/cjs/resources/Subscriptions.js +145 -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 +138 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- 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/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/ConfirmationTokens.d.ts +78 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -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 +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +8 -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/Cadences.d.ts +951 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -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/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/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +1177 -167
- 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/Events.d.ts +1123 -4
- 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 +19 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -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 +10 -0
- package/cjs/resources/V2/Data/index.js +13 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.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/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -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/FinancialAccounts.d.ts +244 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -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 +212 -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 +388 -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 +300 -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 +330 -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 +243 -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 +295 -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 +161 -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/TransactionEntries.d.ts +165 -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 +196 -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 +104 -0
- package/cjs/resources/V2/MoneyManagement/index.js +39 -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/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/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +27 -0
- package/cjs/resources/V2/index.js +14 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +146 -10
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +61 -24
- package/cjs/stripe.core.js +55 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +50 -0
- package/esm/Error.js +109 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +0 -1
- package/esm/RequestSender.js +0 -8
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +144 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- 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 +1 -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 +262 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +827 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +32 -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/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -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 +4 -0
- package/esm/resources/Charges.d.ts +3064 -70
- package/esm/resources/Checkout/Sessions.d.ts +390 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +7 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +29 -0
- package/esm/resources/Events.d.ts +547 -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/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1337 -19
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +2 -1
- 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/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/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/Transactions.d.ts +9 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -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/Orders.d.ts +4693 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13239 -2321
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +19 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +151 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +52 -0
- 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 +42 -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 +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- 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/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +330 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1095 -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 +308 -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 +143 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +571 -6
- package/esm/resources/Subscriptions.js +145 -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 +138 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- 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/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/ConfirmationTokens.d.ts +78 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -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 +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Transfers.d.ts +8 -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/Cadences.d.ts +951 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -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/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/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/esm/resources/V2/Core/Accounts.d.ts +1177 -167
- 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/Events.d.ts +1123 -4
- 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 +19 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -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 +10 -0
- package/esm/resources/V2/Data/index.js +9 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.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/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -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/FinancialAccounts.d.ts +244 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -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 +212 -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 +388 -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 +300 -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 +330 -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 +243 -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 +295 -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 +161 -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/TransactionEntries.d.ts +165 -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 +196 -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 +104 -0
- package/esm/resources/V2/MoneyManagement/index.js +35 -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/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/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +27 -0
- package/esm/resources/V2/index.js +14 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +131 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +61 -24
- package/esm/stripe.core.js +25 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +62 -24
- package/esm/stripe.esm.node.js +25 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CadenceResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class CadenceResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* List Billing Cadences.
|
|
9
|
+
*/
|
|
10
|
+
list(params, options) {
|
|
11
|
+
return this._makeRequest('GET', '/v2/billing/cadences', params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
responseSchema: {
|
|
14
|
+
kind: 'object',
|
|
15
|
+
fields: {
|
|
16
|
+
data: {
|
|
17
|
+
kind: 'array',
|
|
18
|
+
element: {
|
|
19
|
+
kind: 'object',
|
|
20
|
+
fields: {
|
|
21
|
+
settings_data: {
|
|
22
|
+
kind: 'object',
|
|
23
|
+
fields: {
|
|
24
|
+
collection: {
|
|
25
|
+
kind: 'object',
|
|
26
|
+
fields: {
|
|
27
|
+
payment_method_options: {
|
|
28
|
+
kind: 'object',
|
|
29
|
+
fields: {
|
|
30
|
+
card: {
|
|
31
|
+
kind: 'object',
|
|
32
|
+
fields: {
|
|
33
|
+
mandate_options: {
|
|
34
|
+
kind: 'object',
|
|
35
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Create a Billing Cadence object.
|
|
54
|
+
*/
|
|
55
|
+
create(params, options) {
|
|
56
|
+
return this._makeRequest('POST', '/v2/billing/cadences', params, options, {
|
|
57
|
+
responseSchema: {
|
|
58
|
+
kind: 'object',
|
|
59
|
+
fields: {
|
|
60
|
+
settings_data: {
|
|
61
|
+
kind: 'object',
|
|
62
|
+
fields: {
|
|
63
|
+
collection: {
|
|
64
|
+
kind: 'object',
|
|
65
|
+
fields: {
|
|
66
|
+
payment_method_options: {
|
|
67
|
+
kind: 'object',
|
|
68
|
+
fields: {
|
|
69
|
+
card: {
|
|
70
|
+
kind: 'object',
|
|
71
|
+
fields: {
|
|
72
|
+
mandate_options: {
|
|
73
|
+
kind: 'object',
|
|
74
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Retrieve a Billing Cadence object.
|
|
90
|
+
*/
|
|
91
|
+
retrieve(id, params, options) {
|
|
92
|
+
return this._makeRequest('GET', `/v2/billing/cadences/${id}`, params, options, {
|
|
93
|
+
responseSchema: {
|
|
94
|
+
kind: 'object',
|
|
95
|
+
fields: {
|
|
96
|
+
settings_data: {
|
|
97
|
+
kind: 'object',
|
|
98
|
+
fields: {
|
|
99
|
+
collection: {
|
|
100
|
+
kind: 'object',
|
|
101
|
+
fields: {
|
|
102
|
+
payment_method_options: {
|
|
103
|
+
kind: 'object',
|
|
104
|
+
fields: {
|
|
105
|
+
card: {
|
|
106
|
+
kind: 'object',
|
|
107
|
+
fields: {
|
|
108
|
+
mandate_options: {
|
|
109
|
+
kind: 'object',
|
|
110
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Update a Billing Cadence object.
|
|
126
|
+
*/
|
|
127
|
+
update(id, params, options) {
|
|
128
|
+
return this._makeRequest('POST', `/v2/billing/cadences/${id}`, params, options, {
|
|
129
|
+
responseSchema: {
|
|
130
|
+
kind: 'object',
|
|
131
|
+
fields: {
|
|
132
|
+
settings_data: {
|
|
133
|
+
kind: 'object',
|
|
134
|
+
fields: {
|
|
135
|
+
collection: {
|
|
136
|
+
kind: 'object',
|
|
137
|
+
fields: {
|
|
138
|
+
payment_method_options: {
|
|
139
|
+
kind: 'object',
|
|
140
|
+
fields: {
|
|
141
|
+
card: {
|
|
142
|
+
kind: 'object',
|
|
143
|
+
fields: {
|
|
144
|
+
mandate_options: {
|
|
145
|
+
kind: 'object',
|
|
146
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Cancel the Billing Cadence.
|
|
162
|
+
*/
|
|
163
|
+
cancel(id, params, options) {
|
|
164
|
+
return this._makeRequest('POST', `/v2/billing/cadences/${id}/cancel`, params, options, {
|
|
165
|
+
responseSchema: {
|
|
166
|
+
kind: 'object',
|
|
167
|
+
fields: {
|
|
168
|
+
settings_data: {
|
|
169
|
+
kind: 'object',
|
|
170
|
+
fields: {
|
|
171
|
+
collection: {
|
|
172
|
+
kind: 'object',
|
|
173
|
+
fields: {
|
|
174
|
+
payment_method_options: {
|
|
175
|
+
kind: 'object',
|
|
176
|
+
fields: {
|
|
177
|
+
card: {
|
|
178
|
+
kind: 'object',
|
|
179
|
+
fields: {
|
|
180
|
+
mandate_options: {
|
|
181
|
+
kind: 'object',
|
|
182
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.CadenceResource = CadenceResource;
|
|
198
|
+
//# sourceMappingURL=Cadences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cadences.js","sourceRoot":"","sources":["../../../../src/resources/V2/Billing/Cadences.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;OAEG;IACH,IAAI,CACF,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,aAAa,EAAE;oCACb,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,UAAU,EAAE;4CACV,IAAI,EAAE,QAAQ;4CACd,MAAM,EAAE;gDACN,sBAAsB,EAAE;oDACtB,IAAI,EAAE,QAAQ;oDACd,MAAM,EAAE;wDACN,IAAI,EAAE;4DACJ,IAAI,EAAE,QAAQ;4DACd,MAAM,EAAE;gEACN,eAAe,EAAE;oEACf,IAAI,EAAE,QAAQ;oEACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;iEACzC;6DACF;yDACF;qDACF;iDACF;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACxE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,UAAU,EAAE;gCACV,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,sBAAsB,EAAE;wCACtB,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE;4CACN,IAAI,EAAE;gDACJ,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE;oDACN,eAAe,EAAE;wDACf,IAAI,EAAE,QAAQ;wDACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;qDACzC;iDACF;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,EAAE,EAAE,EAC5B,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,UAAU,EAAE;gCACV,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,sBAAsB,EAAE;wCACtB,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE;4CACN,IAAI,EAAE;gDACJ,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE;oDACN,eAAe,EAAE;wDACf,IAAI,EAAE,QAAQ;wDACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;qDACzC;iDACF;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,EAAE,EAAE,EAC5B,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,UAAU,EAAE;gCACV,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,sBAAsB,EAAE;wCACtB,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE;4CACN,IAAI,EAAE;gDACJ,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE;oDACN,eAAe,EAAE;wDACf,IAAI,EAAE,QAAQ;wDACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;qDACzC;iDACF;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,EAAE,SAAS,EACnC,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,aAAa,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,UAAU,EAAE;gCACV,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,sBAAsB,EAAE;wCACtB,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE;4CACN,IAAI,EAAE;gDACJ,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE;oDACN,eAAe,EAAE;wDACf,IAAI,EAAE,QAAQ;wDACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;qDACzC;iDACF;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;CACF;AAlOD,0CAkOC"}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
export interface CollectionSettingVersion {
|
|
2
|
+
/**
|
|
3
|
+
* The ID of the CollectionSettingVersion object.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
8
|
+
*/
|
|
9
|
+
object: 'v2.billing.collection_setting_version';
|
|
10
|
+
/**
|
|
11
|
+
* Either automatic, or send_invoice. When charging automatically, Stripe attempts to pay this
|
|
12
|
+
* bill at the end of the period using the payment method attached to the billing profile. When sending an invoice,
|
|
13
|
+
* Stripe emails your billing profile an invoice with payment instructions.
|
|
14
|
+
* Defaults to automatic.
|
|
15
|
+
*/
|
|
16
|
+
collection_method?: V2.Billing.CollectionSettingVersion.CollectionMethod;
|
|
17
|
+
/**
|
|
18
|
+
* Timestamp of when the object was created.
|
|
19
|
+
*/
|
|
20
|
+
created: string;
|
|
21
|
+
/**
|
|
22
|
+
* Email delivery settings.
|
|
23
|
+
*/
|
|
24
|
+
email_delivery?: V2.Billing.CollectionSettingVersion.EmailDelivery;
|
|
25
|
+
/**
|
|
26
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
27
|
+
*/
|
|
28
|
+
livemode: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.
|
|
31
|
+
*/
|
|
32
|
+
payment_method_configuration?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Payment Method specific configuration stored on the object.
|
|
35
|
+
*/
|
|
36
|
+
payment_method_options?: V2.Billing.CollectionSettingVersion.PaymentMethodOptions;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace V2 {
|
|
39
|
+
namespace Billing {
|
|
40
|
+
namespace CollectionSettingVersion {
|
|
41
|
+
type CollectionMethod = 'automatic' | 'send_invoice';
|
|
42
|
+
interface EmailDelivery {
|
|
43
|
+
/**
|
|
44
|
+
* Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
45
|
+
*/
|
|
46
|
+
payment_due?: EmailDelivery.PaymentDue;
|
|
47
|
+
}
|
|
48
|
+
interface PaymentMethodOptions {
|
|
49
|
+
/**
|
|
50
|
+
* This sub-hash contains details about the Canadian pre-authorized debit payment method options.
|
|
51
|
+
*/
|
|
52
|
+
acss_debit?: PaymentMethodOptions.AcssDebit;
|
|
53
|
+
/**
|
|
54
|
+
* This sub-hash contains details about the Bancontact payment method.
|
|
55
|
+
*/
|
|
56
|
+
bancontact?: PaymentMethodOptions.Bancontact;
|
|
57
|
+
/**
|
|
58
|
+
* This sub-hash contains details about the Card payment method options.
|
|
59
|
+
*/
|
|
60
|
+
card?: PaymentMethodOptions.Card;
|
|
61
|
+
/**
|
|
62
|
+
* This sub-hash contains details about the Bank transfer payment method options.
|
|
63
|
+
*/
|
|
64
|
+
customer_balance?: PaymentMethodOptions.CustomerBalance;
|
|
65
|
+
/**
|
|
66
|
+
* This sub-hash contains details about the Konbini payment method options.
|
|
67
|
+
*/
|
|
68
|
+
konbini?: PaymentMethodOptions.Konbini;
|
|
69
|
+
/**
|
|
70
|
+
* This sub-hash contains details about the SEPA Direct Debit payment method options.
|
|
71
|
+
*/
|
|
72
|
+
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
73
|
+
/**
|
|
74
|
+
* This sub-hash contains details about the ACH direct debit payment method options.
|
|
75
|
+
*/
|
|
76
|
+
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
77
|
+
}
|
|
78
|
+
namespace EmailDelivery {
|
|
79
|
+
interface PaymentDue {
|
|
80
|
+
/**
|
|
81
|
+
* If true an email for the invoice would be generated and sent out.
|
|
82
|
+
*/
|
|
83
|
+
enabled: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
86
|
+
*/
|
|
87
|
+
include_payment_link: boolean;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
namespace PaymentMethodOptions {
|
|
91
|
+
interface AcssDebit {
|
|
92
|
+
/**
|
|
93
|
+
* Additional fields for Mandate creation.
|
|
94
|
+
*/
|
|
95
|
+
mandate_options?: AcssDebit.MandateOptions;
|
|
96
|
+
/**
|
|
97
|
+
* Verification method.
|
|
98
|
+
*/
|
|
99
|
+
verification_method?: AcssDebit.VerificationMethod;
|
|
100
|
+
}
|
|
101
|
+
interface Bancontact {
|
|
102
|
+
/**
|
|
103
|
+
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
104
|
+
*/
|
|
105
|
+
preferred_language?: Bancontact.PreferredLanguage;
|
|
106
|
+
}
|
|
107
|
+
interface Card {
|
|
108
|
+
/**
|
|
109
|
+
* Configuration options for setting up an eMandate for cards issued in India.
|
|
110
|
+
*/
|
|
111
|
+
mandate_options?: Card.MandateOptions;
|
|
112
|
+
/**
|
|
113
|
+
* Selected network to process the payment on. Depends on the available networks of the card.
|
|
114
|
+
*/
|
|
115
|
+
network?: string;
|
|
116
|
+
/**
|
|
117
|
+
* An advanced option 3D Secure. We strongly recommend that you rely on our SCA Engine to automatically prompt your customers
|
|
118
|
+
* for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication).
|
|
119
|
+
* However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.
|
|
120
|
+
* Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
121
|
+
*/
|
|
122
|
+
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
123
|
+
}
|
|
124
|
+
interface CustomerBalance {
|
|
125
|
+
/**
|
|
126
|
+
* Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
|
127
|
+
*/
|
|
128
|
+
bank_transfer?: CustomerBalance.BankTransfer;
|
|
129
|
+
/**
|
|
130
|
+
* The funding method type to be used when there are not enough funds in the customer balance. Currently the only supported value is `bank_transfer`.
|
|
131
|
+
*/
|
|
132
|
+
funding_type?: 'bank_transfer';
|
|
133
|
+
}
|
|
134
|
+
interface Konbini {
|
|
135
|
+
}
|
|
136
|
+
interface SepaDebit {
|
|
137
|
+
}
|
|
138
|
+
interface UsBankAccount {
|
|
139
|
+
/**
|
|
140
|
+
* Additional fields for Financial Connections Session creation.
|
|
141
|
+
*/
|
|
142
|
+
financial_connections: UsBankAccount.FinancialConnections;
|
|
143
|
+
/**
|
|
144
|
+
* Verification method.
|
|
145
|
+
*/
|
|
146
|
+
verification_method: UsBankAccount.VerificationMethod;
|
|
147
|
+
}
|
|
148
|
+
namespace AcssDebit {
|
|
149
|
+
interface MandateOptions {
|
|
150
|
+
/**
|
|
151
|
+
* Transaction type of the mandate.
|
|
152
|
+
*/
|
|
153
|
+
transaction_type?: MandateOptions.TransactionType;
|
|
154
|
+
}
|
|
155
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
156
|
+
namespace MandateOptions {
|
|
157
|
+
type TransactionType = 'business' | 'personal';
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
namespace Bancontact {
|
|
161
|
+
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
162
|
+
}
|
|
163
|
+
namespace Card {
|
|
164
|
+
interface MandateOptions {
|
|
165
|
+
/**
|
|
166
|
+
* Amount to be charged for future payments.
|
|
167
|
+
*/
|
|
168
|
+
amount?: bigint;
|
|
169
|
+
/**
|
|
170
|
+
* The AmountType for the mandate. One of `fixed` or `maximum`.
|
|
171
|
+
*/
|
|
172
|
+
amount_type?: MandateOptions.AmountType;
|
|
173
|
+
/**
|
|
174
|
+
* A description of the mandate that is meant to be displayed to the customer.
|
|
175
|
+
*/
|
|
176
|
+
description?: string;
|
|
177
|
+
}
|
|
178
|
+
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
179
|
+
namespace MandateOptions {
|
|
180
|
+
type AmountType = 'fixed' | 'maximum';
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
namespace CustomerBalance {
|
|
184
|
+
interface BankTransfer {
|
|
185
|
+
/**
|
|
186
|
+
* Configuration for `eu_bank_transfer` funding type. Required if `type` is `eu_bank_transfer`.
|
|
187
|
+
*/
|
|
188
|
+
eu_bank_transfer?: BankTransfer.EuBankTransfer;
|
|
189
|
+
/**
|
|
190
|
+
* The bank transfer type that can be used for funding.
|
|
191
|
+
*/
|
|
192
|
+
type?: BankTransfer.Type;
|
|
193
|
+
}
|
|
194
|
+
namespace BankTransfer {
|
|
195
|
+
interface EuBankTransfer {
|
|
196
|
+
/**
|
|
197
|
+
* The desired country code of the bank account information.
|
|
198
|
+
*/
|
|
199
|
+
country: EuBankTransfer.Country;
|
|
200
|
+
}
|
|
201
|
+
type Type = 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer';
|
|
202
|
+
namespace EuBankTransfer {
|
|
203
|
+
type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL';
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
namespace UsBankAccount {
|
|
208
|
+
interface FinancialConnections {
|
|
209
|
+
/**
|
|
210
|
+
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
211
|
+
*/
|
|
212
|
+
filters?: FinancialConnections.Filters;
|
|
213
|
+
/**
|
|
214
|
+
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included.
|
|
215
|
+
*/
|
|
216
|
+
permissions: Array<FinancialConnections.Permission>;
|
|
217
|
+
/**
|
|
218
|
+
* List of data features that you would like to retrieve upon account creation.
|
|
219
|
+
*/
|
|
220
|
+
prefetch: Array<FinancialConnections.Prefetch>;
|
|
221
|
+
}
|
|
222
|
+
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
223
|
+
namespace FinancialConnections {
|
|
224
|
+
interface Filters {
|
|
225
|
+
/**
|
|
226
|
+
* The account subcategories to use to filter for selectable accounts.
|
|
227
|
+
*/
|
|
228
|
+
account_subcategories: Array<Filters.AccountSubcategory>;
|
|
229
|
+
}
|
|
230
|
+
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
231
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
232
|
+
namespace Filters {
|
|
233
|
+
type AccountSubcategory = 'checking' | 'savings';
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionSettingVersions.js","sourceRoot":"","sources":["../../../../src/resources/V2/Billing/CollectionSettingVersions.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
2
|
+
import { CollectionSettingVersion } from './../../../V2/Billing/CollectionSettingVersions.js';
|
|
3
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../../lib.js';
|
|
4
|
+
export declare class VersionResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all CollectionSettingVersions by CollectionSetting ID.
|
|
7
|
+
*/
|
|
8
|
+
list(id: string, params?: V2.Billing.CollectionSettings.VersionListParams, options?: RequestOptions): V2ListPromise<CollectionSettingVersion>;
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a CollectionSetting Version by ID.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(collectionSettingId: string, id: string, params?: V2.Billing.CollectionSettings.VersionRetrieveParams, options?: RequestOptions): Promise<Response<CollectionSettingVersion>>;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace V2 {
|
|
15
|
+
namespace Billing {
|
|
16
|
+
namespace CollectionSettings {
|
|
17
|
+
interface VersionRetrieveParams {
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export declare namespace V2 {
|
|
23
|
+
namespace Billing {
|
|
24
|
+
namespace CollectionSettings {
|
|
25
|
+
interface VersionListParams {
|
|
26
|
+
/**
|
|
27
|
+
* Optionally set the maximum number of results per page. Defaults to 20.
|
|
28
|
+
*/
|
|
29
|
+
limit?: number;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VersionResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
+
class VersionResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all CollectionSettingVersions by CollectionSetting ID.
|
|
9
|
+
*/
|
|
10
|
+
list(id, params, options) {
|
|
11
|
+
return this._makeRequest('GET', `/v2/billing/collection_settings/${id}/versions`, params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
responseSchema: {
|
|
14
|
+
kind: 'object',
|
|
15
|
+
fields: {
|
|
16
|
+
data: {
|
|
17
|
+
kind: 'array',
|
|
18
|
+
element: {
|
|
19
|
+
kind: 'object',
|
|
20
|
+
fields: {
|
|
21
|
+
payment_method_options: {
|
|
22
|
+
kind: 'object',
|
|
23
|
+
fields: {
|
|
24
|
+
card: {
|
|
25
|
+
kind: 'object',
|
|
26
|
+
fields: {
|
|
27
|
+
mandate_options: {
|
|
28
|
+
kind: 'object',
|
|
29
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Retrieve a CollectionSetting Version by ID.
|
|
44
|
+
*/
|
|
45
|
+
retrieve(collectionSettingId, id, params, options) {
|
|
46
|
+
return this._makeRequest('GET', `/v2/billing/collection_settings/${collectionSettingId}/versions/${id}`, params, options, {
|
|
47
|
+
responseSchema: {
|
|
48
|
+
kind: 'object',
|
|
49
|
+
fields: {
|
|
50
|
+
payment_method_options: {
|
|
51
|
+
kind: 'object',
|
|
52
|
+
fields: {
|
|
53
|
+
card: {
|
|
54
|
+
kind: 'object',
|
|
55
|
+
fields: {
|
|
56
|
+
mandate_options: {
|
|
57
|
+
kind: 'object',
|
|
58
|
+
fields: { amount: { kind: 'int64_string' } },
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.VersionResource = VersionResource;
|
|
70
|
+
//# sourceMappingURL=Versions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Versions.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Billing/CollectionSettings/Versions.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,qEAA6D;AAI7D,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;OAEG;IACH,IAAI,CACF,EAAU,EACV,MAAwD,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EAAE,WAAW,EAChD,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,sBAAsB,EAAE;oCACtB,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,IAAI,EAAE;4CACJ,IAAI,EAAE,QAAQ;4CACd,MAAM,EAAE;gDACN,eAAe,EAAE;oDACf,IAAI,EAAE,QAAQ;oDACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;iDACzC;6CACF;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,mBAA2B,EAC3B,EAAU,EACV,MAA4D,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,mBAAmB,aAAa,EAAE,EAAE,EACvE,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,sBAAsB,EAAE;wBACtB,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,IAAI,EAAE;gCACJ,IAAI,EAAE,QAAQ;gCACd,MAAM,EAAE;oCACN,eAAe,EAAE;wCACf,IAAI,EAAE,QAAQ;wCACd,MAAM,EAAE,EAAC,MAAM,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;qCACzC;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;CACF;AAnFD,0CAmFC"}
|