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
package/esm/stripe.esm.node.d.ts
CHANGED
|
@@ -9,10 +9,13 @@ import { CryptoProvider } from './crypto/CryptoProvider.js';
|
|
|
9
9
|
import { HttpClient, HttpClientResponse } from './net/HttpClient.js';
|
|
10
10
|
import { PlatformFunctions } from './platform/PlatformFunctions.js';
|
|
11
11
|
import * as resources from './resources.js';
|
|
12
|
+
import { StripeEventNotificationHandler, UnhandledNotificationDetails } from './StripeEventNotificationHandler.js';
|
|
12
13
|
import { Response, RequestOptions, RawRequestOptions, ApiList, ApiListPromise, V2List, V2ListPromise, ApiSearchResultPromise, ApiSearchResult, StripeStreamResponse, StripeConfig, RequestEvent, ResponseEvent, AppInfo, FileData } from './lib.js';
|
|
13
14
|
import { Metadata, MetadataParam, Address, JapanAddress, AddressParam, ShippingAddressParam, JapanAddressParam, RangeQueryParam, PaginationParams, Emptyable, Decimal } from './shared.js';
|
|
14
|
-
import {
|
|
15
|
+
import { UnknownEventNotification } from './resources/V2/Core/Events.js';
|
|
16
|
+
import { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountSerializeBatchUpdateParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource } from './resources/Accounts.js';
|
|
15
17
|
import { AccountLink, AccountLinkCreateParams, AccountLinkResource } from './resources/AccountLinks.js';
|
|
18
|
+
import { AccountNotice, AccountNoticeRetrieveParams, AccountNoticeUpdateParams, AccountNoticeListParams, AccountNoticeResource } from './resources/AccountNotices.js';
|
|
16
19
|
import { AccountSession, AccountSessionCreateParams, AccountSessionResource } from './resources/AccountSessions.js';
|
|
17
20
|
import { ApplePayDomain, DeletedApplePayDomain, ApplePayDomainCreateParams, ApplePayDomainRetrieveParams, ApplePayDomainListParams, ApplePayDomainDeleteParams, ApplePayDomainResource } from './resources/ApplePayDomains.js';
|
|
18
21
|
import { ApplicationFee, ApplicationFeeRetrieveParams, ApplicationFeeListParams, ApplicationFeeCreateRefundParams, ApplicationFeeListRefundsParams, ApplicationFeeRetrieveRefundParams, ApplicationFeeUpdateRefundParams, ApplicationFeeResource } from './resources/ApplicationFees.js';
|
|
@@ -22,22 +25,26 @@ import { BalanceTransaction, BalanceTransactionRetrieveParams, BalanceTransactio
|
|
|
22
25
|
import { Charge, ChargeCreateParams, ChargeRetrieveParams, ChargeUpdateParams, ChargeListParams, ChargeCaptureParams, ChargeSearchParams, ChargeResource } from './resources/Charges.js';
|
|
23
26
|
import { ConfirmationToken, ConfirmationTokenRetrieveParams, ConfirmationTokenResource } from './resources/ConfirmationTokens.js';
|
|
24
27
|
import { CountrySpec, CountrySpecRetrieveParams, CountrySpecListParams, CountrySpecResource } from './resources/CountrySpecs.js';
|
|
25
|
-
import { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponResource } from './resources/Coupons.js';
|
|
28
|
+
import { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponSerializeBatchCreateParams, CouponResource } from './resources/Coupons.js';
|
|
26
29
|
import { CreditNote, CreditNoteCreateParams, CreditNoteRetrieveParams, CreditNoteUpdateParams, CreditNoteListParams, CreditNoteListLineItemsParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, CreditNoteVoidCreditNoteParams, CreditNoteResource } from './resources/CreditNotes.js';
|
|
27
|
-
import { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource } from './resources/Customers.js';
|
|
30
|
+
import { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerSerializeBatchUpdateParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource } from './resources/Customers.js';
|
|
28
31
|
import { CustomerSession, CustomerSessionCreateParams, CustomerSessionResource } from './resources/CustomerSessions.js';
|
|
29
32
|
import { Dispute, DisputeRetrieveParams, DisputeUpdateParams, DisputeListParams, DisputeCloseParams, DisputeResource } from './resources/Disputes.js';
|
|
30
33
|
import { EphemeralKey, EphemeralKeyCreateParams, EphemeralKeyDeleteParams, EphemeralKeyResource } from './resources/EphemeralKeys.js';
|
|
31
34
|
import { ExchangeRate, ExchangeRateRetrieveParams, ExchangeRateListParams, ExchangeRateResource } from './resources/ExchangeRates.js';
|
|
35
|
+
import { ExternalAccount, DeletedExternalAccount, ExternalAccountCreateParams, ExternalAccountRetrieveParams, ExternalAccountUpdateParams, ExternalAccountListParams, ExternalAccountDeleteParams, ExternalAccountResource } from './resources/ExternalAccounts.js';
|
|
32
36
|
import { File, FileCreateParams, FileRetrieveParams, FileListParams, FileResource } from './resources/Files.js';
|
|
33
37
|
import { FileLink, FileLinkCreateParams, FileLinkRetrieveParams, FileLinkUpdateParams, FileLinkListParams, FileLinkResource } from './resources/FileLinks.js';
|
|
34
|
-
import {
|
|
38
|
+
import { FxQuote, FxQuoteCreateParams, FxQuoteRetrieveParams, FxQuoteListParams, FxQuoteResource } from './resources/FxQuotes.js';
|
|
39
|
+
import { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceDetachPaymentParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource } from './resources/Invoices.js';
|
|
35
40
|
import { InvoiceItem, DeletedInvoiceItem, InvoiceItemCreateParams, InvoiceItemRetrieveParams, InvoiceItemUpdateParams, InvoiceItemListParams, InvoiceItemDeleteParams, InvoiceItemResource } from './resources/InvoiceItems.js';
|
|
36
41
|
import { InvoicePayment, InvoicePaymentRetrieveParams, InvoicePaymentListParams, InvoicePaymentResource } from './resources/InvoicePayments.js';
|
|
37
42
|
import { InvoiceRenderingTemplate, InvoiceRenderingTemplateRetrieveParams, InvoiceRenderingTemplateListParams, InvoiceRenderingTemplateArchiveParams, InvoiceRenderingTemplateUnarchiveParams, InvoiceRenderingTemplateResource } from './resources/InvoiceRenderingTemplates.js';
|
|
38
|
-
import { Mandate, MandateRetrieveParams, MandateResource } from './resources/Mandates.js';
|
|
43
|
+
import { Mandate, MandateRetrieveParams, MandateListParams, MandateResource } from './resources/Mandates.js';
|
|
44
|
+
import { Margin, MarginCreateParams, MarginRetrieveParams, MarginUpdateParams, MarginListParams, MarginResource } from './resources/Margins.js';
|
|
45
|
+
import { Order, OrderCreateParams, OrderRetrieveParams, OrderUpdateParams, OrderListParams, OrderSubmitParams, OrderResource } from './resources/Orders.js';
|
|
39
46
|
import { PaymentAttemptRecord, PaymentAttemptRecordRetrieveParams, PaymentAttemptRecordListParams, PaymentAttemptRecordResource } from './resources/PaymentAttemptRecords.js';
|
|
40
|
-
import { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource } from './resources/PaymentIntents.js';
|
|
47
|
+
import { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentTriggerActionParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource } from './resources/PaymentIntents.js';
|
|
41
48
|
import { PaymentLink, PaymentLinkCreateParams, PaymentLinkRetrieveParams, PaymentLinkUpdateParams, PaymentLinkListParams, PaymentLinkListLineItemsParams, PaymentLinkResource } from './resources/PaymentLinks.js';
|
|
42
49
|
import { PaymentMethod, PaymentMethodCreateParams, PaymentMethodRetrieveParams, PaymentMethodUpdateParams, PaymentMethodListParams, PaymentMethodAttachParams, PaymentMethodDetachParams, PaymentMethodResource } from './resources/PaymentMethods.js';
|
|
43
50
|
import { PaymentMethodConfiguration, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationRetrieveParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfigurationListParams, PaymentMethodConfigurationResource } from './resources/PaymentMethodConfigurations.js';
|
|
@@ -47,17 +54,17 @@ import { Payout, PayoutCreateParams, PayoutRetrieveParams, PayoutUpdateParams, P
|
|
|
47
54
|
import { Plan, DeletedPlan, PlanCreateParams, PlanRetrieveParams, PlanUpdateParams, PlanListParams, PlanDeleteParams, PlanResource } from './resources/Plans.js';
|
|
48
55
|
import { Price, DeletedPrice, PriceCreateParams, PriceRetrieveParams, PriceUpdateParams, PriceListParams, PriceSearchParams, PriceResource } from './resources/Prices.js';
|
|
49
56
|
import { Product, DeletedProduct, ProductCreateParams, ProductRetrieveParams, ProductUpdateParams, ProductListParams, ProductDeleteParams, ProductCreateFeatureParams, ProductDeleteFeatureParams, ProductListFeaturesParams, ProductRetrieveFeatureParams, ProductSearchParams, ProductResource } from './resources/Products.js';
|
|
50
|
-
import { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeResource } from './resources/PromotionCodes.js';
|
|
51
|
-
import { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuotePdfParams, QuoteResource } from './resources/Quotes.js';
|
|
57
|
+
import { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeSerializeBatchCreateParams, PromotionCodeSerializeBatchUpdateParams, PromotionCodeResource } from './resources/PromotionCodes.js';
|
|
58
|
+
import { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListPreviewInvoiceLinesParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuoteListLinesParams, QuoteListPreviewInvoicesParams, QuoteListPreviewSubscriptionSchedulesParams, QuoteMarkDraftParams, QuoteMarkStaleParams, QuotePdfParams, QuoteReestimateParams, QuoteResource } from './resources/Quotes.js';
|
|
52
59
|
import { Refund, RefundCreateParams, RefundRetrieveParams, RefundUpdateParams, RefundListParams, RefundCancelParams, RefundResource } from './resources/Refunds.js';
|
|
53
60
|
import { Review, ReviewRetrieveParams, ReviewListParams, ReviewApproveParams, ReviewResource } from './resources/Reviews.js';
|
|
54
61
|
import { SetupAttempt, SetupAttemptListParams, SetupAttemptResource } from './resources/SetupAttempts.js';
|
|
55
62
|
import { SetupIntent, SetupIntentCreateParams, SetupIntentRetrieveParams, SetupIntentUpdateParams, SetupIntentListParams, SetupIntentCancelParams, SetupIntentConfirmParams, SetupIntentVerifyMicrodepositsParams, SetupIntentResource } from './resources/SetupIntents.js';
|
|
56
63
|
import { ShippingRate, ShippingRateCreateParams, ShippingRateRetrieveParams, ShippingRateUpdateParams, ShippingRateListParams, ShippingRateResource } from './resources/ShippingRates.js';
|
|
57
64
|
import { Source, SourceCreateParams, SourceRetrieveParams, SourceUpdateParams, SourceListSourceTransactionsParams, SourceVerifyParams, SourceResource } from './resources/Sources.js';
|
|
58
|
-
import { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionResource } from './resources/Subscriptions.js';
|
|
65
|
+
import { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionPauseParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionSerializeBatchCancelParams, SubscriptionSerializeBatchMigrateParams, SubscriptionSerializeBatchUpdateParams, SubscriptionResource } from './resources/Subscriptions.js';
|
|
59
66
|
import { SubscriptionItem, DeletedSubscriptionItem, SubscriptionItemCreateParams, SubscriptionItemRetrieveParams, SubscriptionItemUpdateParams, SubscriptionItemListParams, SubscriptionItemDeleteParams, SubscriptionItemResource } from './resources/SubscriptionItems.js';
|
|
60
|
-
import { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource } from './resources/SubscriptionSchedules.js';
|
|
67
|
+
import { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleAmendParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource } from './resources/SubscriptionSchedules.js';
|
|
61
68
|
import { TaxCode, TaxCodeRetrieveParams, TaxCodeListParams, TaxCodeResource } from './resources/TaxCodes.js';
|
|
62
69
|
import { TaxId, DeletedTaxId, TaxIdCreateParams, TaxIdRetrieveParams, TaxIdListParams, TaxIdDeleteParams, TaxIdResource } from './resources/TaxIds.js';
|
|
63
70
|
import { TaxRate, TaxRateCreateParams, TaxRateRetrieveParams, TaxRateUpdateParams, TaxRateListParams, TaxRateResource } from './resources/TaxRates.js';
|
|
@@ -73,12 +80,12 @@ import { ConnectCollectionTransfer } from './resources/ConnectCollectionTransfer
|
|
|
73
80
|
import { Discount, DeletedDiscount } from './resources/Discounts.js';
|
|
74
81
|
import { FundingInstructions } from './resources/FundingInstructions.js';
|
|
75
82
|
import { LineItem } from './resources/LineItems.js';
|
|
83
|
+
import { QuoteLine } from './resources/QuoteLines.js';
|
|
76
84
|
import { ReserveTransaction } from './resources/ReserveTransactions.js';
|
|
77
85
|
import { SourceMandateNotification } from './resources/SourceMandateNotifications.js';
|
|
78
86
|
import { SourceTransaction } from './resources/SourceTransactions.js';
|
|
79
87
|
import { TaxDeductedAtSource } from './resources/TaxDeductedAtSources.js';
|
|
80
88
|
import { Capability } from './resources/Capabilities.js';
|
|
81
|
-
import { ExternalAccount, DeletedExternalAccount } from './resources/ExternalAccounts.js';
|
|
82
89
|
import { LoginLink } from './resources/LoginLinks.js';
|
|
83
90
|
import { Person, DeletedPerson } from './resources/Persons.js';
|
|
84
91
|
import { FeeRefund } from './resources/FeeRefunds.js';
|
|
@@ -90,10 +97,13 @@ import { CustomerSource, DeletedCustomerSource } from './resources/CustomerSourc
|
|
|
90
97
|
import { InvoiceLineItem } from './resources/InvoiceLineItems.js';
|
|
91
98
|
import { PaymentIntentAmountDetailsLineItem } from './resources/PaymentIntentAmountDetailsLineItems.js';
|
|
92
99
|
import { ProductFeature, DeletedProductFeature } from './resources/ProductFeatures.js';
|
|
100
|
+
import { QuotePreviewInvoice } from './resources/QuotePreviewInvoices.js';
|
|
101
|
+
import { QuotePreviewSubscriptionSchedule } from './resources/QuotePreviewSubscriptionSchedules.js';
|
|
93
102
|
import { TransferReversal } from './resources/TransferReversals.js';
|
|
94
103
|
import { Apps } from './resources/Apps/index.js';
|
|
95
104
|
import { Billing } from './resources/Billing/index.js';
|
|
96
105
|
import { BillingPortal } from './resources/BillingPortal/index.js';
|
|
106
|
+
import { Capital } from './resources/Capital/index.js';
|
|
97
107
|
import { Checkout } from './resources/Checkout/index.js';
|
|
98
108
|
import { Climate } from './resources/Climate/index.js';
|
|
99
109
|
import { Entitlements } from './resources/Entitlements/index.js';
|
|
@@ -101,15 +111,19 @@ import { FinancialConnections } from './resources/FinancialConnections/index.js'
|
|
|
101
111
|
import { Forwarding } from './resources/Forwarding/index.js';
|
|
102
112
|
import { Identity } from './resources/Identity/index.js';
|
|
103
113
|
import { Issuing } from './resources/Issuing/index.js';
|
|
114
|
+
import { Privacy } from './resources/Privacy/index.js';
|
|
115
|
+
import { ProductCatalog } from './resources/ProductCatalog/index.js';
|
|
104
116
|
import { Radar } from './resources/Radar/index.js';
|
|
105
117
|
import { Reporting } from './resources/Reporting/index.js';
|
|
118
|
+
import { Reserve } from './resources/Reserve/index.js';
|
|
119
|
+
import { SharedPayment } from './resources/SharedPayment/index.js';
|
|
106
120
|
import { Sigma } from './resources/Sigma/index.js';
|
|
107
121
|
import { Tax } from './resources/Tax/index.js';
|
|
108
122
|
import { Terminal } from './resources/Terminal/index.js';
|
|
109
123
|
import { TestHelpers } from './resources/TestHelpers/index.js';
|
|
110
124
|
import { Treasury } from './resources/Treasury/index.js';
|
|
111
125
|
import { V2 } from './resources/V2/index.js';
|
|
112
|
-
import { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptedEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteFinalizedEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, Event, EventBase, EventRetrieveParams, EventListParams, EventResource } from './resources/Events.js';
|
|
126
|
+
import { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, AccountNoticeCreatedEvent, AccountNoticeUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CapitalFinancingOfferAcceptedEvent, CapitalFinancingOfferCanceledEvent, CapitalFinancingOfferCreatedEvent, CapitalFinancingOfferExpiredEvent, CapitalFinancingOfferFullyRepaidEvent, CapitalFinancingOfferPaidOutEvent, CapitalFinancingOfferRejectedEvent, CapitalFinancingOfferReplacementCreatedEvent, CapitalFinancingTransactionCreatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCollectionPausedEvent, CustomerSubscriptionCollectionResumedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionCustomEventEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionPriceMigrationFailedEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedInferredBalancesEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, FinancialConnectionsSessionUpdatedEvent, FxQuoteExpiredEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentOverpaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentDetachedEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingDisputeSettlementDetailCreatedEvent, IssuingDisputeSettlementDetailUpdatedEvent, IssuingFraudLiabilityDebitCreatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingSettlementCreatedEvent, IssuingSettlementUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, PrivacyRedactionJobCanceledEvent, PrivacyRedactionJobCreatedEvent, PrivacyRedactionJobReadyEvent, PrivacyRedactionJobSucceededEvent, PrivacyRedactionJobValidationErrorEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptFailedEvent, QuoteAcceptedEvent, QuoteAcceptingEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteDraftEvent, QuoteFinalizedEvent, QuoteReestimateFailedEvent, QuoteReestimatedEvent, QuoteStaleEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionSchedulePriceMigrationFailedEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxFormUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, Event, EventBase, EventRetrieveParams, EventListParams, EventResource } from './resources/Events.js';
|
|
113
127
|
import { OAuthResource } from './resources.js';
|
|
114
128
|
import { OAuthToken, OAuthTokenParams, OAuthAuthorizeUrlOptions, OAuthAuthorizeUrlParams, OAuthDeauthorization, OAuthDeauthorizeParams } from './resources/OAuth.js';
|
|
115
129
|
type RequestSenderFactory = (stripe: Stripe) => RequestSender;
|
|
@@ -155,6 +169,7 @@ export declare class Stripe {
|
|
|
155
169
|
_authenticator: RequestAuthenticator | null;
|
|
156
170
|
_clientId?: string;
|
|
157
171
|
accountLinks: AccountLinkResource;
|
|
172
|
+
accountNotices: AccountNoticeResource;
|
|
158
173
|
accountSessions: AccountSessionResource;
|
|
159
174
|
accounts: AccountResource;
|
|
160
175
|
applePayDomains: ApplePayDomainResource;
|
|
@@ -173,13 +188,17 @@ export declare class Stripe {
|
|
|
173
188
|
ephemeralKeys: EphemeralKeyResource;
|
|
174
189
|
events: EventResource;
|
|
175
190
|
exchangeRates: ExchangeRateResource;
|
|
191
|
+
externalAccounts: ExternalAccountResource;
|
|
176
192
|
fileLinks: FileLinkResource;
|
|
177
193
|
files: FileResource;
|
|
194
|
+
fxQuotes: FxQuoteResource;
|
|
178
195
|
invoiceItems: InvoiceItemResource;
|
|
179
196
|
invoicePayments: InvoicePaymentResource;
|
|
180
197
|
invoiceRenderingTemplates: InvoiceRenderingTemplateResource;
|
|
181
198
|
invoices: InvoiceResource;
|
|
182
199
|
mandates: MandateResource;
|
|
200
|
+
margins: MarginResource;
|
|
201
|
+
orders: OrderResource;
|
|
183
202
|
paymentAttemptRecords: PaymentAttemptRecordResource;
|
|
184
203
|
paymentIntents: PaymentIntentResource;
|
|
185
204
|
paymentLinks: PaymentLinkResource;
|
|
@@ -212,6 +231,7 @@ export declare class Stripe {
|
|
|
212
231
|
apps: Apps;
|
|
213
232
|
billing: Billing;
|
|
214
233
|
billingPortal: BillingPortal;
|
|
234
|
+
capital: Capital;
|
|
215
235
|
checkout: Checkout;
|
|
216
236
|
climate: Climate;
|
|
217
237
|
entitlements: Entitlements;
|
|
@@ -219,8 +239,12 @@ export declare class Stripe {
|
|
|
219
239
|
forwarding: Forwarding;
|
|
220
240
|
identity: Identity;
|
|
221
241
|
issuing: Issuing;
|
|
242
|
+
privacy: Privacy;
|
|
243
|
+
productCatalog: ProductCatalog;
|
|
222
244
|
radar: Radar;
|
|
223
245
|
reporting: Reporting;
|
|
246
|
+
reserve: Reserve;
|
|
247
|
+
sharedPayment: SharedPayment;
|
|
224
248
|
sigma: Sigma;
|
|
225
249
|
tax: Tax;
|
|
226
250
|
terminal: Terminal;
|
|
@@ -327,11 +351,13 @@ export declare class Stripe {
|
|
|
327
351
|
getApiField<K extends keyof Stripe['_api']>(key: K): Stripe['_api'][K];
|
|
328
352
|
parseEventNotification(payload: string | Uint8Array, header: string | Uint8Array, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number): V2.Core.EventNotification;
|
|
329
353
|
parseEventNotificationAsync(payload: string | Uint8Array, header: string | Uint8Array, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number): Promise<V2.Core.EventNotification>;
|
|
354
|
+
notificationHandler(webhookSecret: string, fallbackCallback: (event: UnknownEventNotification, client: Stripe, details: UnhandledNotificationDetails) => Promise<void>): StripeEventNotificationHandler;
|
|
330
355
|
}
|
|
331
356
|
export declare function createStripe(platformFunctions: PlatformFunctions, requestSender?: RequestSenderFactory): typeof Stripe;
|
|
332
357
|
export declare namespace Stripe {
|
|
333
|
-
export { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource, };
|
|
358
|
+
export { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountSerializeBatchUpdateParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource, };
|
|
334
359
|
export { AccountLink, AccountLinkCreateParams, AccountLinkResource };
|
|
360
|
+
export { AccountNotice, AccountNoticeRetrieveParams, AccountNoticeUpdateParams, AccountNoticeListParams, AccountNoticeResource, };
|
|
335
361
|
export { AccountSession, AccountSessionCreateParams, AccountSessionResource };
|
|
336
362
|
export { ApplePayDomain, DeletedApplePayDomain, ApplePayDomainCreateParams, ApplePayDomainRetrieveParams, ApplePayDomainListParams, ApplePayDomainDeleteParams, ApplePayDomainResource, };
|
|
337
363
|
export { ApplicationFee, ApplicationFeeRetrieveParams, ApplicationFeeListParams, ApplicationFeeCreateRefundParams, ApplicationFeeListRefundsParams, ApplicationFeeRetrieveRefundParams, ApplicationFeeUpdateRefundParams, ApplicationFeeResource, };
|
|
@@ -341,23 +367,27 @@ export declare namespace Stripe {
|
|
|
341
367
|
export { Charge, ChargeCreateParams, ChargeRetrieveParams, ChargeUpdateParams, ChargeListParams, ChargeCaptureParams, ChargeSearchParams, ChargeResource, };
|
|
342
368
|
export { ConfirmationToken, ConfirmationTokenRetrieveParams, ConfirmationTokenResource, };
|
|
343
369
|
export { CountrySpec, CountrySpecRetrieveParams, CountrySpecListParams, CountrySpecResource, };
|
|
344
|
-
export { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponResource, };
|
|
370
|
+
export { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponSerializeBatchCreateParams, CouponResource, };
|
|
345
371
|
export { CreditNote, CreditNoteCreateParams, CreditNoteRetrieveParams, CreditNoteUpdateParams, CreditNoteListParams, CreditNoteListLineItemsParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, CreditNoteVoidCreditNoteParams, CreditNoteResource, };
|
|
346
|
-
export { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource, };
|
|
372
|
+
export { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerSerializeBatchUpdateParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource, };
|
|
347
373
|
export { CustomerSession, CustomerSessionCreateParams, CustomerSessionResource, };
|
|
348
374
|
export { Dispute, DisputeRetrieveParams, DisputeUpdateParams, DisputeListParams, DisputeCloseParams, DisputeResource, };
|
|
349
375
|
export { EphemeralKey, EphemeralKeyCreateParams, EphemeralKeyDeleteParams, EphemeralKeyResource, };
|
|
350
376
|
export { Event, EventBase, EventRetrieveParams, EventListParams, EventResource, };
|
|
351
377
|
export { ExchangeRate, ExchangeRateRetrieveParams, ExchangeRateListParams, ExchangeRateResource, };
|
|
378
|
+
export { ExternalAccount, DeletedExternalAccount, ExternalAccountCreateParams, ExternalAccountRetrieveParams, ExternalAccountUpdateParams, ExternalAccountListParams, ExternalAccountDeleteParams, ExternalAccountResource, };
|
|
352
379
|
export { File, FileCreateParams, FileRetrieveParams, FileListParams, FileResource, };
|
|
353
380
|
export { FileLink, FileLinkCreateParams, FileLinkRetrieveParams, FileLinkUpdateParams, FileLinkListParams, FileLinkResource, };
|
|
354
|
-
export {
|
|
381
|
+
export { FxQuote, FxQuoteCreateParams, FxQuoteRetrieveParams, FxQuoteListParams, FxQuoteResource, };
|
|
382
|
+
export { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceDetachPaymentParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource, };
|
|
355
383
|
export { InvoiceItem, DeletedInvoiceItem, InvoiceItemCreateParams, InvoiceItemRetrieveParams, InvoiceItemUpdateParams, InvoiceItemListParams, InvoiceItemDeleteParams, InvoiceItemResource, };
|
|
356
384
|
export { InvoicePayment, InvoicePaymentRetrieveParams, InvoicePaymentListParams, InvoicePaymentResource, };
|
|
357
385
|
export { InvoiceRenderingTemplate, InvoiceRenderingTemplateRetrieveParams, InvoiceRenderingTemplateListParams, InvoiceRenderingTemplateArchiveParams, InvoiceRenderingTemplateUnarchiveParams, InvoiceRenderingTemplateResource, };
|
|
358
|
-
export { Mandate, MandateRetrieveParams, MandateResource };
|
|
386
|
+
export { Mandate, MandateRetrieveParams, MandateListParams, MandateResource };
|
|
387
|
+
export { Margin, MarginCreateParams, MarginRetrieveParams, MarginUpdateParams, MarginListParams, MarginResource, };
|
|
388
|
+
export { Order, OrderCreateParams, OrderRetrieveParams, OrderUpdateParams, OrderListParams, OrderSubmitParams, OrderResource, };
|
|
359
389
|
export { PaymentAttemptRecord, PaymentAttemptRecordRetrieveParams, PaymentAttemptRecordListParams, PaymentAttemptRecordResource, };
|
|
360
|
-
export { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource, };
|
|
390
|
+
export { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentTriggerActionParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource, };
|
|
361
391
|
export { PaymentLink, PaymentLinkCreateParams, PaymentLinkRetrieveParams, PaymentLinkUpdateParams, PaymentLinkListParams, PaymentLinkListLineItemsParams, PaymentLinkResource, };
|
|
362
392
|
export { PaymentMethod, PaymentMethodCreateParams, PaymentMethodRetrieveParams, PaymentMethodUpdateParams, PaymentMethodListParams, PaymentMethodAttachParams, PaymentMethodDetachParams, PaymentMethodResource, };
|
|
363
393
|
export { PaymentMethodConfiguration, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationRetrieveParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfigurationListParams, PaymentMethodConfigurationResource, };
|
|
@@ -367,17 +397,17 @@ export declare namespace Stripe {
|
|
|
367
397
|
export { Plan, DeletedPlan, PlanCreateParams, PlanRetrieveParams, PlanUpdateParams, PlanListParams, PlanDeleteParams, PlanResource, };
|
|
368
398
|
export { Price, DeletedPrice, PriceCreateParams, PriceRetrieveParams, PriceUpdateParams, PriceListParams, PriceSearchParams, PriceResource, };
|
|
369
399
|
export { Product, DeletedProduct, ProductCreateParams, ProductRetrieveParams, ProductUpdateParams, ProductListParams, ProductDeleteParams, ProductCreateFeatureParams, ProductDeleteFeatureParams, ProductListFeaturesParams, ProductRetrieveFeatureParams, ProductSearchParams, ProductResource, };
|
|
370
|
-
export { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeResource, };
|
|
371
|
-
export { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuotePdfParams, QuoteResource, };
|
|
400
|
+
export { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeSerializeBatchCreateParams, PromotionCodeSerializeBatchUpdateParams, PromotionCodeResource, };
|
|
401
|
+
export { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListPreviewInvoiceLinesParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuoteListLinesParams, QuoteListPreviewInvoicesParams, QuoteListPreviewSubscriptionSchedulesParams, QuoteMarkDraftParams, QuoteMarkStaleParams, QuotePdfParams, QuoteReestimateParams, QuoteResource, };
|
|
372
402
|
export { Refund, RefundCreateParams, RefundRetrieveParams, RefundUpdateParams, RefundListParams, RefundCancelParams, RefundResource, };
|
|
373
403
|
export { Review, ReviewRetrieveParams, ReviewListParams, ReviewApproveParams, ReviewResource, };
|
|
374
404
|
export { SetupAttempt, SetupAttemptListParams, SetupAttemptResource };
|
|
375
405
|
export { SetupIntent, SetupIntentCreateParams, SetupIntentRetrieveParams, SetupIntentUpdateParams, SetupIntentListParams, SetupIntentCancelParams, SetupIntentConfirmParams, SetupIntentVerifyMicrodepositsParams, SetupIntentResource, };
|
|
376
406
|
export { ShippingRate, ShippingRateCreateParams, ShippingRateRetrieveParams, ShippingRateUpdateParams, ShippingRateListParams, ShippingRateResource, };
|
|
377
407
|
export { Source, SourceCreateParams, SourceRetrieveParams, SourceUpdateParams, SourceListSourceTransactionsParams, SourceVerifyParams, SourceResource, };
|
|
378
|
-
export { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionResource, };
|
|
408
|
+
export { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionPauseParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionSerializeBatchCancelParams, SubscriptionSerializeBatchMigrateParams, SubscriptionSerializeBatchUpdateParams, SubscriptionResource, };
|
|
379
409
|
export { SubscriptionItem, DeletedSubscriptionItem, SubscriptionItemCreateParams, SubscriptionItemRetrieveParams, SubscriptionItemUpdateParams, SubscriptionItemListParams, SubscriptionItemDeleteParams, SubscriptionItemResource, };
|
|
380
|
-
export { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource, };
|
|
410
|
+
export { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleAmendParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource, };
|
|
381
411
|
export { TaxCode, TaxCodeRetrieveParams, TaxCodeListParams, TaxCodeResource };
|
|
382
412
|
export { TaxId, DeletedTaxId, TaxIdCreateParams, TaxIdRetrieveParams, TaxIdListParams, TaxIdDeleteParams, TaxIdResource, };
|
|
383
413
|
export { TaxRate, TaxRateCreateParams, TaxRateRetrieveParams, TaxRateUpdateParams, TaxRateListParams, TaxRateResource, };
|
|
@@ -393,12 +423,12 @@ export declare namespace Stripe {
|
|
|
393
423
|
export { Discount, DeletedDiscount };
|
|
394
424
|
export { FundingInstructions };
|
|
395
425
|
export { LineItem };
|
|
426
|
+
export { QuoteLine };
|
|
396
427
|
export { ReserveTransaction };
|
|
397
428
|
export { SourceMandateNotification };
|
|
398
429
|
export { SourceTransaction };
|
|
399
430
|
export { TaxDeductedAtSource };
|
|
400
431
|
export { Capability };
|
|
401
|
-
export { ExternalAccount, DeletedExternalAccount };
|
|
402
432
|
export { LoginLink };
|
|
403
433
|
export { Person, DeletedPerson };
|
|
404
434
|
export { FeeRefund };
|
|
@@ -410,10 +440,13 @@ export declare namespace Stripe {
|
|
|
410
440
|
export { InvoiceLineItem };
|
|
411
441
|
export { PaymentIntentAmountDetailsLineItem };
|
|
412
442
|
export { ProductFeature, DeletedProductFeature };
|
|
443
|
+
export { QuotePreviewInvoice };
|
|
444
|
+
export { QuotePreviewSubscriptionSchedule };
|
|
413
445
|
export { TransferReversal };
|
|
414
446
|
export { Apps };
|
|
415
447
|
export { Billing };
|
|
416
448
|
export { BillingPortal };
|
|
449
|
+
export { Capital };
|
|
417
450
|
export { Checkout };
|
|
418
451
|
export { Climate };
|
|
419
452
|
export { Entitlements };
|
|
@@ -421,21 +454,26 @@ export declare namespace Stripe {
|
|
|
421
454
|
export { Forwarding };
|
|
422
455
|
export { Identity };
|
|
423
456
|
export { Issuing };
|
|
457
|
+
export { Privacy };
|
|
458
|
+
export { ProductCatalog };
|
|
424
459
|
export { Radar };
|
|
425
460
|
export { Reporting };
|
|
461
|
+
export { Reserve };
|
|
462
|
+
export { SharedPayment };
|
|
426
463
|
export { Sigma };
|
|
427
464
|
export { Tax };
|
|
428
465
|
export { Terminal };
|
|
429
466
|
export { TestHelpers };
|
|
430
467
|
export { Treasury };
|
|
431
468
|
export { V2 };
|
|
432
|
-
export { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptedEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteFinalizedEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, };
|
|
469
|
+
export { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, AccountNoticeCreatedEvent, AccountNoticeUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CapitalFinancingOfferAcceptedEvent, CapitalFinancingOfferCanceledEvent, CapitalFinancingOfferCreatedEvent, CapitalFinancingOfferExpiredEvent, CapitalFinancingOfferFullyRepaidEvent, CapitalFinancingOfferPaidOutEvent, CapitalFinancingOfferRejectedEvent, CapitalFinancingOfferReplacementCreatedEvent, CapitalFinancingTransactionCreatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCollectionPausedEvent, CustomerSubscriptionCollectionResumedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionCustomEventEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionPriceMigrationFailedEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedInferredBalancesEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, FinancialConnectionsSessionUpdatedEvent, FxQuoteExpiredEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentOverpaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentDetachedEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingDisputeSettlementDetailCreatedEvent, IssuingDisputeSettlementDetailUpdatedEvent, IssuingFraudLiabilityDebitCreatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingSettlementCreatedEvent, IssuingSettlementUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, PrivacyRedactionJobCanceledEvent, PrivacyRedactionJobCreatedEvent, PrivacyRedactionJobReadyEvent, PrivacyRedactionJobSucceededEvent, PrivacyRedactionJobValidationErrorEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptFailedEvent, QuoteAcceptedEvent, QuoteAcceptingEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteDraftEvent, QuoteFinalizedEvent, QuoteReestimateFailedEvent, QuoteReestimatedEvent, QuoteStaleEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionSchedulePriceMigrationFailedEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxFormUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, };
|
|
433
470
|
export { Response, RequestOptions, RawRequestOptions, ApiList, ApiListPromise, V2List, V2ListPromise, ApiSearchResultPromise, ApiSearchResult, StripeStreamResponse, RequestEvent, ResponseEvent, AppInfo, FileData, };
|
|
434
471
|
export { Metadata, MetadataParam, Address, JapanAddress, AddressParam, ShippingAddressParam, JapanAddressParam, RangeQueryParam, PaginationParams, Emptyable, };
|
|
435
472
|
export { OAuthResource, OAuthToken, OAuthTokenParams, OAuthAuthorizeUrlOptions, OAuthAuthorizeUrlParams, OAuthDeauthorization, OAuthDeauthorizeParams, };
|
|
436
473
|
export type Decimal = import('./shared.js').Decimal;
|
|
437
474
|
export { StripeContext as StripeContextType };
|
|
438
475
|
export { StripeRawError };
|
|
476
|
+
export { UnhandledNotificationDetails };
|
|
439
477
|
export import ErrorType = _Error;
|
|
440
478
|
export import Events = V2.Core.Events;
|
|
441
479
|
}
|
package/esm/stripe.esm.node.js
CHANGED
|
@@ -10,10 +10,12 @@ import { CryptoProvider } from './crypto/CryptoProvider.js';
|
|
|
10
10
|
import { HttpClient, HttpClientResponse } from './net/HttpClient.js';
|
|
11
11
|
import * as resources from './resources.js';
|
|
12
12
|
import { createApiKeyAuthenticator, detectAIAgent, pascalToCamelCase, validateInteger, } from './utils.js';
|
|
13
|
+
import { StripeEventNotificationHandler, } from './StripeEventNotificationHandler.js';
|
|
13
14
|
import { Decimal, } from './shared.js';
|
|
14
15
|
// StripeInstanceImports: The beginning of the section generated from our OpenAPI spec
|
|
15
16
|
import { AccountResource, } from './resources/Accounts.js';
|
|
16
17
|
import { AccountLinkResource, } from './resources/AccountLinks.js';
|
|
18
|
+
import { AccountNoticeResource, } from './resources/AccountNotices.js';
|
|
17
19
|
import { AccountSessionResource, } from './resources/AccountSessions.js';
|
|
18
20
|
import { ApplePayDomainResource, } from './resources/ApplePayDomains.js';
|
|
19
21
|
import { ApplicationFeeResource, } from './resources/ApplicationFees.js';
|
|
@@ -30,13 +32,17 @@ import { CustomerSessionResource, } from './resources/CustomerSessions.js';
|
|
|
30
32
|
import { DisputeResource, } from './resources/Disputes.js';
|
|
31
33
|
import { EphemeralKeyResource, } from './resources/EphemeralKeys.js';
|
|
32
34
|
import { ExchangeRateResource, } from './resources/ExchangeRates.js';
|
|
35
|
+
import { ExternalAccountResource, } from './resources/ExternalAccounts.js';
|
|
33
36
|
import { FileResource, } from './resources/Files.js';
|
|
34
37
|
import { FileLinkResource, } from './resources/FileLinks.js';
|
|
38
|
+
import { FxQuoteResource, } from './resources/FxQuotes.js';
|
|
35
39
|
import { InvoiceResource, } from './resources/Invoices.js';
|
|
36
40
|
import { InvoiceItemResource, } from './resources/InvoiceItems.js';
|
|
37
41
|
import { InvoicePaymentResource, } from './resources/InvoicePayments.js';
|
|
38
42
|
import { InvoiceRenderingTemplateResource, } from './resources/InvoiceRenderingTemplates.js';
|
|
39
43
|
import { MandateResource, } from './resources/Mandates.js';
|
|
44
|
+
import { MarginResource, } from './resources/Margins.js';
|
|
45
|
+
import { OrderResource, } from './resources/Orders.js';
|
|
40
46
|
import { PaymentAttemptRecordResource, } from './resources/PaymentAttemptRecords.js';
|
|
41
47
|
import { PaymentIntentResource, } from './resources/PaymentIntents.js';
|
|
42
48
|
import { PaymentLinkResource, } from './resources/PaymentLinks.js';
|
|
@@ -69,6 +75,7 @@ import { WebhookEndpointResource, } from './resources/WebhookEndpoints.js';
|
|
|
69
75
|
import { Apps } from './resources/Apps/index.js';
|
|
70
76
|
import { Billing } from './resources/Billing/index.js';
|
|
71
77
|
import { BillingPortal } from './resources/BillingPortal/index.js';
|
|
78
|
+
import { Capital } from './resources/Capital/index.js';
|
|
72
79
|
import { Checkout } from './resources/Checkout/index.js';
|
|
73
80
|
import { Climate } from './resources/Climate/index.js';
|
|
74
81
|
import { Entitlements } from './resources/Entitlements/index.js';
|
|
@@ -76,8 +83,12 @@ import { FinancialConnections } from './resources/FinancialConnections/index.js'
|
|
|
76
83
|
import { Forwarding } from './resources/Forwarding/index.js';
|
|
77
84
|
import { Identity } from './resources/Identity/index.js';
|
|
78
85
|
import { Issuing } from './resources/Issuing/index.js';
|
|
86
|
+
import { Privacy } from './resources/Privacy/index.js';
|
|
87
|
+
import { ProductCatalog } from './resources/ProductCatalog/index.js';
|
|
79
88
|
import { Radar } from './resources/Radar/index.js';
|
|
80
89
|
import { Reporting } from './resources/Reporting/index.js';
|
|
90
|
+
import { Reserve } from './resources/Reserve/index.js';
|
|
91
|
+
import { SharedPayment } from './resources/SharedPayment/index.js';
|
|
81
92
|
import { Sigma } from './resources/Sigma/index.js';
|
|
82
93
|
import { Tax } from './resources/Tax/index.js';
|
|
83
94
|
import { Terminal } from './resources/Terminal/index.js';
|
|
@@ -196,6 +207,7 @@ export class Stripe {
|
|
|
196
207
|
this._requestSender = Stripe._requestSenderFactory(this);
|
|
197
208
|
// StripeInitInstanceVariables: The beginning of the section generated from our OpenAPI spec
|
|
198
209
|
this.accountLinks = new AccountLinkResource(this);
|
|
210
|
+
this.accountNotices = new AccountNoticeResource(this);
|
|
199
211
|
this.accountSessions = new AccountSessionResource(this);
|
|
200
212
|
this.accounts = new AccountResource(this);
|
|
201
213
|
this.applePayDomains = new ApplePayDomainResource(this);
|
|
@@ -214,13 +226,17 @@ export class Stripe {
|
|
|
214
226
|
this.ephemeralKeys = new EphemeralKeyResource(this);
|
|
215
227
|
this.events = new EventResource(this);
|
|
216
228
|
this.exchangeRates = new ExchangeRateResource(this);
|
|
229
|
+
this.externalAccounts = new ExternalAccountResource(this);
|
|
217
230
|
this.fileLinks = new FileLinkResource(this);
|
|
218
231
|
this.files = new FileResource(this);
|
|
232
|
+
this.fxQuotes = new FxQuoteResource(this);
|
|
219
233
|
this.invoiceItems = new InvoiceItemResource(this);
|
|
220
234
|
this.invoicePayments = new InvoicePaymentResource(this);
|
|
221
235
|
this.invoiceRenderingTemplates = new InvoiceRenderingTemplateResource(this);
|
|
222
236
|
this.invoices = new InvoiceResource(this);
|
|
223
237
|
this.mandates = new MandateResource(this);
|
|
238
|
+
this.margins = new MarginResource(this);
|
|
239
|
+
this.orders = new OrderResource(this);
|
|
224
240
|
this.paymentAttemptRecords = new PaymentAttemptRecordResource(this);
|
|
225
241
|
this.paymentIntents = new PaymentIntentResource(this);
|
|
226
242
|
this.paymentLinks = new PaymentLinkResource(this);
|
|
@@ -253,6 +269,7 @@ export class Stripe {
|
|
|
253
269
|
this.apps = new Apps(this);
|
|
254
270
|
this.billing = new Billing(this);
|
|
255
271
|
this.billingPortal = new BillingPortal(this);
|
|
272
|
+
this.capital = new Capital(this);
|
|
256
273
|
this.checkout = new Checkout(this);
|
|
257
274
|
this.climate = new Climate(this);
|
|
258
275
|
this.entitlements = new Entitlements(this);
|
|
@@ -260,8 +277,12 @@ export class Stripe {
|
|
|
260
277
|
this.forwarding = new Forwarding(this);
|
|
261
278
|
this.identity = new Identity(this);
|
|
262
279
|
this.issuing = new Issuing(this);
|
|
280
|
+
this.privacy = new Privacy(this);
|
|
281
|
+
this.productCatalog = new ProductCatalog(this);
|
|
263
282
|
this.radar = new Radar(this);
|
|
264
283
|
this.reporting = new Reporting(this);
|
|
284
|
+
this.reserve = new Reserve(this);
|
|
285
|
+
this.sharedPayment = new SharedPayment(this);
|
|
265
286
|
this.sigma = new Sigma(this);
|
|
266
287
|
this.tax = new Tax(this);
|
|
267
288
|
this.terminal = new Terminal(this);
|
|
@@ -591,8 +612,11 @@ export class Stripe {
|
|
|
591
612
|
};
|
|
592
613
|
return eventNotification;
|
|
593
614
|
}
|
|
615
|
+
notificationHandler(webhookSecret, fallbackCallback) {
|
|
616
|
+
return new StripeEventNotificationHandler(this, webhookSecret, fallbackCallback);
|
|
617
|
+
}
|
|
594
618
|
}
|
|
595
|
-
Stripe.PACKAGE_VERSION = '22.
|
|
619
|
+
Stripe.PACKAGE_VERSION = '22.3.0-beta.1';
|
|
596
620
|
Stripe.API_VERSION = ApiVersion;
|
|
597
621
|
Stripe.aiAgent = '';
|
|
598
622
|
Stripe.AI_AGENT = '';
|