stripe 19.3.0-alpha.2 → 19.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -1685
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/RequestSender.js +1 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/PaymentMethods.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +8 -142
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/RequestSender.js +1 -1
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/PaymentMethods.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -129
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +2 -215
- package/types/AccountsResource.d.ts +2 -546
- package/types/ApplicationFees.d.ts +1 -6
- package/types/Balance.d.ts +0 -82
- package/types/BalanceTransactions.d.ts +1 -2
- package/types/BankAccounts.d.ts +0 -2
- package/types/Billing/AlertTriggereds.d.ts +1 -16
- package/types/Billing/Alerts.d.ts +1 -116
- package/types/Billing/AlertsResource.d.ts +2 -149
- package/types/Billing/CreditBalanceSummary.d.ts +2 -123
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +1 -76
- package/types/Billing/CreditGrantsResource.d.ts +4 -45
- package/types/Billing/MeterEventSummaries.d.ts +0 -7
- package/types/Billing/Meters.d.ts +0 -5
- package/types/Billing/MetersResource.d.ts +0 -17
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +0 -2
- package/types/Cards.d.ts +0 -19
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -185
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +2 -427
- package/types/Checkout/SessionsResource.d.ts +2 -682
- package/types/ConfirmationTokens.d.ts +0 -139
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -5
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -46
- package/types/CustomerSessionsResource.d.ts +2 -48
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +0 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +0 -95
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationReports.d.ts +0 -10
- package/types/Identity/VerificationReportsResource.d.ts +0 -5
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +2 -114
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +3 -158
- package/types/InvoicePayments.d.ts +1 -1
- package/types/Invoices.d.ts +5 -204
- package/types/InvoicesResource.d.ts +4 -1627
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +0 -141
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +13 -7
- package/types/PaymentIntents.d.ts +30 -808
- package/types/PaymentIntentsResource.d.ts +4604 -9377
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -216
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
- package/types/PaymentMethods.d.ts +0 -144
- package/types/PaymentMethodsResource.d.ts +2 -187
- package/types/PaymentRecords.d.ts +0 -141
- package/types/Persons.d.ts +0 -2
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +290 -2635
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -51
- package/types/SetupIntents.d.ts +5 -240
- package/types/SetupIntentsResource.d.ts +4 -1044
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +4 -1232
- package/types/Subscriptions.d.ts +1 -262
- package/types/SubscriptionsResource.d.ts +8 -745
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +18 -46
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -9
- package/types/TransfersResource.d.ts +0 -7
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Billing/MeterEvents.d.ts +2 -1
- package/types/V2/Core/EventTypes.d.ts +10 -8589
- package/types/V2/Core/Events.d.ts +0 -12
- package/types/WebhookEndpointsResource.d.ts +0 -74
- package/types/Webhooks.d.ts +0 -2
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -222
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -28
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Identity/BlocklistEntries.js +0 -25
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
- package/cjs/resources/V2/Billing/Intents.js +0 -36
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -12
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -26
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
- package/cjs/resources/V2/Billing/RateCards.js +0 -29
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
- package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -25
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Identity/BlocklistEntries.js +0 -22
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/OnboardingLinks.js +0 -9
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
- package/esm/resources/V2/Billing/Intents.js +0 -33
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
- package/esm/resources/V2/Billing/LicenseFees.js +0 -24
- package/esm/resources/V2/Billing/LicensedItems.js +0 -22
- package/esm/resources/V2/Billing/MeteredItems.js +0 -19
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -9
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -23
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
- package/esm/resources/V2/Billing/PricingPlans.js +0 -26
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
- package/esm/resources/V2/Billing/RateCards.js +0 -26
- package/esm/resources/V2/Billing/ServiceActions.js +0 -17
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
- package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -694
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -58
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/DelegatedCheckout/RequestedSessions.d.ts +0 -360
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +0 -593
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Identity/BlocklistEntries.d.ts +0 -78
- package/types/Identity/BlocklistEntriesResource.d.ts +0 -146
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -3139
- package/types/PaymentMethodBalances.d.ts +0 -63
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -731
- package/types/V2/Billing/CadencesResource.d.ts +0 -516
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -337
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
- package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
- package/types/V2/Billing/IntentActions.d.ts +0 -459
- package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
- package/types/V2/Billing/Intents.d.ts +0 -117
- package/types/V2/Billing/IntentsResource.d.ts +0 -575
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
- package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/LicenseFees.d.ts +0 -164
- package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
- package/types/V2/Billing/LicensedItems.d.ts +0 -73
- package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
- package/types/V2/Billing/MeteredItems.d.ts +0 -101
- package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
- package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +0 -57
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +0 -40
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -120
- package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/PricingPlans.d.ts +0 -84
- package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Billing/RateCardRates.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
- package/types/V2/Billing/RateCardVersions.d.ts +0 -39
- package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/RateCards.d.ts +0 -98
- package/types/V2/Billing/RateCardsResource.d.ts +0 -162
- package/types/V2/Billing/ServiceActions.d.ts +0 -274
- package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -7478
- package/types/V2/Core/AccountsResource.d.ts +0 -6723
- package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -126
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -330
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -256
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -213
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -201
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -307
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -186
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/Tax/AutomaticRules.d.ts +0 -53
- package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -73
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -49
package/cjs/stripe.core.js
CHANGED
|
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
37
37
|
];
|
|
38
38
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
39
39
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
40
|
-
Stripe.PACKAGE_VERSION = '19.3.0
|
|
40
|
+
Stripe.PACKAGE_VERSION = '19.3.0';
|
|
41
41
|
Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
|
|
42
42
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
43
43
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
package/esm/Error.js
CHANGED
|
@@ -24,34 +24,6 @@ export const generateV1Error = (rawStripeError) => {
|
|
|
24
24
|
export const generateV2Error = (rawStripeError) => {
|
|
25
25
|
switch (rawStripeError.type) {
|
|
26
26
|
// switchCases: The beginning of the section generated from our OpenAPI spec
|
|
27
|
-
case 'already_canceled':
|
|
28
|
-
return new AlreadyCanceledError(rawStripeError);
|
|
29
|
-
case 'already_exists':
|
|
30
|
-
return new AlreadyExistsError(rawStripeError);
|
|
31
|
-
case 'blocked_by_stripe':
|
|
32
|
-
return new BlockedByStripeError(rawStripeError);
|
|
33
|
-
case 'controlled_by_dashboard':
|
|
34
|
-
return new ControlledByDashboardError(rawStripeError);
|
|
35
|
-
case 'feature_not_enabled':
|
|
36
|
-
return new FeatureNotEnabledError(rawStripeError);
|
|
37
|
-
case 'financial_account_not_open':
|
|
38
|
-
return new FinancialAccountNotOpenError(rawStripeError);
|
|
39
|
-
case 'insufficient_funds':
|
|
40
|
-
return new InsufficientFundsError(rawStripeError);
|
|
41
|
-
case 'invalid_payment_method':
|
|
42
|
-
return new InvalidPaymentMethodError(rawStripeError);
|
|
43
|
-
case 'invalid_payout_method':
|
|
44
|
-
return new InvalidPayoutMethodError(rawStripeError);
|
|
45
|
-
case 'non_zero_balance':
|
|
46
|
-
return new NonZeroBalanceError(rawStripeError);
|
|
47
|
-
case 'not_cancelable':
|
|
48
|
-
return new NotCancelableError(rawStripeError);
|
|
49
|
-
case 'quota_exceeded':
|
|
50
|
-
return new QuotaExceededError(rawStripeError);
|
|
51
|
-
case 'rate_limit':
|
|
52
|
-
return new RateLimitError(rawStripeError);
|
|
53
|
-
case 'recipient_not_notifiable':
|
|
54
|
-
return new RecipientNotNotifiableError(rawStripeError);
|
|
55
27
|
case 'temporary_session_expired':
|
|
56
28
|
return new TemporarySessionExpiredError(rawStripeError);
|
|
57
29
|
// switchCases: The end of the section generated from our OpenAPI spec
|
|
@@ -205,78 +177,6 @@ export class StripeUnknownError extends StripeError {
|
|
|
205
177
|
}
|
|
206
178
|
}
|
|
207
179
|
// classDefinitions: The beginning of the section generated from our OpenAPI spec
|
|
208
|
-
export class AlreadyCanceledError extends StripeError {
|
|
209
|
-
constructor(rawStripeError = {}) {
|
|
210
|
-
super(rawStripeError, 'AlreadyCanceledError');
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
export class AlreadyExistsError extends StripeError {
|
|
214
|
-
constructor(rawStripeError = {}) {
|
|
215
|
-
super(rawStripeError, 'AlreadyExistsError');
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
export class BlockedByStripeError extends StripeError {
|
|
219
|
-
constructor(rawStripeError = {}) {
|
|
220
|
-
super(rawStripeError, 'BlockedByStripeError');
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
export class ControlledByDashboardError extends StripeError {
|
|
224
|
-
constructor(rawStripeError = {}) {
|
|
225
|
-
super(rawStripeError, 'ControlledByDashboardError');
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
export class FeatureNotEnabledError extends StripeError {
|
|
229
|
-
constructor(rawStripeError = {}) {
|
|
230
|
-
super(rawStripeError, 'FeatureNotEnabledError');
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
export class FinancialAccountNotOpenError extends StripeError {
|
|
234
|
-
constructor(rawStripeError = {}) {
|
|
235
|
-
super(rawStripeError, 'FinancialAccountNotOpenError');
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
export class InsufficientFundsError extends StripeError {
|
|
239
|
-
constructor(rawStripeError = {}) {
|
|
240
|
-
super(rawStripeError, 'InsufficientFundsError');
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
export class InvalidPaymentMethodError extends StripeError {
|
|
244
|
-
constructor(rawStripeError) {
|
|
245
|
-
super(rawStripeError, 'InvalidPaymentMethodError');
|
|
246
|
-
// @ts-ignore
|
|
247
|
-
this.invalid_param = this.raw.invalid_param;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
export class InvalidPayoutMethodError extends StripeError {
|
|
251
|
-
constructor(rawStripeError = {}) {
|
|
252
|
-
super(rawStripeError, 'InvalidPayoutMethodError');
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
export class NonZeroBalanceError extends StripeError {
|
|
256
|
-
constructor(rawStripeError = {}) {
|
|
257
|
-
super(rawStripeError, 'NonZeroBalanceError');
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
export class NotCancelableError extends StripeError {
|
|
261
|
-
constructor(rawStripeError = {}) {
|
|
262
|
-
super(rawStripeError, 'NotCancelableError');
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
export class QuotaExceededError extends StripeError {
|
|
266
|
-
constructor(rawStripeError = {}) {
|
|
267
|
-
super(rawStripeError, 'QuotaExceededError');
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
export class RateLimitError extends StripeError {
|
|
271
|
-
constructor(rawStripeError = {}) {
|
|
272
|
-
super(rawStripeError, 'RateLimitError');
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
export class RecipientNotNotifiableError extends StripeError {
|
|
276
|
-
constructor(rawStripeError = {}) {
|
|
277
|
-
super(rawStripeError, 'RecipientNotNotifiableError');
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
180
|
export class TemporarySessionExpiredError extends StripeError {
|
|
281
181
|
constructor(rawStripeError = {}) {
|
|
282
182
|
super(rawStripeError, 'TemporarySessionExpiredError');
|
package/esm/RequestSender.js
CHANGED
|
@@ -427,7 +427,7 @@ export class RequestSender {
|
|
|
427
427
|
contentType: apiMode == 'v2'
|
|
428
428
|
? 'application/json'
|
|
429
429
|
: 'application/x-www-form-urlencoded',
|
|
430
|
-
contentLength: requestData
|
|
430
|
+
contentLength: Buffer.byteLength(requestData, 'utf8'),
|
|
431
431
|
apiVersion: apiVersion,
|
|
432
432
|
clientUserAgent,
|
|
433
433
|
method,
|
package/esm/apiVersion.js
CHANGED
|
@@ -15,11 +15,6 @@ export const Accounts = StripeResource.extend({
|
|
|
15
15
|
method: 'POST',
|
|
16
16
|
fullPath: '/v1/financial_connections/accounts/{account}/disconnect',
|
|
17
17
|
}),
|
|
18
|
-
listInferredBalances: stripeMethod({
|
|
19
|
-
method: 'GET',
|
|
20
|
-
fullPath: '/v1/financial_connections/accounts/{account}/inferred_balances',
|
|
21
|
-
methodType: 'list',
|
|
22
|
-
}),
|
|
23
18
|
listOwners: stripeMethod({
|
|
24
19
|
method: 'GET',
|
|
25
20
|
fullPath: '/v1/financial_connections/accounts/{account}/owners',
|
|
@@ -3,9 +3,4 @@ import { StripeResource } from '../StripeResource.js';
|
|
|
3
3
|
const stripeMethod = StripeResource.method;
|
|
4
4
|
export const Mandates = StripeResource.extend({
|
|
5
5
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/mandates/{mandate}' }),
|
|
6
|
-
list: stripeMethod({
|
|
7
|
-
method: 'GET',
|
|
8
|
-
fullPath: '/v1/mandates',
|
|
9
|
-
methodType: 'list',
|
|
10
|
-
}),
|
|
11
6
|
});
|
|
@@ -32,10 +32,6 @@ export const PaymentIntents = StripeResource.extend({
|
|
|
32
32
|
method: 'POST',
|
|
33
33
|
fullPath: '/v1/payment_intents/{intent}/confirm',
|
|
34
34
|
}),
|
|
35
|
-
decrementAuthorization: stripeMethod({
|
|
36
|
-
method: 'POST',
|
|
37
|
-
fullPath: '/v1/payment_intents/{intent}/decrement_authorization',
|
|
38
|
-
}),
|
|
39
35
|
incrementAuthorization: stripeMethod({
|
|
40
36
|
method: 'POST',
|
|
41
37
|
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
|
|
@@ -50,10 +46,6 @@ export const PaymentIntents = StripeResource.extend({
|
|
|
50
46
|
fullPath: '/v1/payment_intents/search',
|
|
51
47
|
methodType: 'search',
|
|
52
48
|
}),
|
|
53
|
-
triggerAction: stripeMethod({
|
|
54
|
-
method: 'POST',
|
|
55
|
-
fullPath: '/v1/test/payment_intents/{intent}/trigger_action',
|
|
56
|
-
}),
|
|
57
49
|
verifyMicrodeposits: stripeMethod({
|
|
58
50
|
method: 'POST',
|
|
59
51
|
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
|
|
@@ -20,10 +20,6 @@ export const PaymentMethods = StripeResource.extend({
|
|
|
20
20
|
method: 'POST',
|
|
21
21
|
fullPath: '/v1/payment_methods/{payment_method}/attach',
|
|
22
22
|
}),
|
|
23
|
-
checkBalance: stripeMethod({
|
|
24
|
-
method: 'POST',
|
|
25
|
-
fullPath: '/v1/payment_methods/{payment_method}/check_balance',
|
|
26
|
-
}),
|
|
27
23
|
detach: stripeMethod({
|
|
28
24
|
method: 'POST',
|
|
29
25
|
fullPath: '/v1/payment_methods/{payment_method}/detach',
|
package/esm/resources/Quotes.js
CHANGED
|
@@ -16,11 +16,6 @@ export const Quotes = StripeResource.extend({
|
|
|
16
16
|
method: 'POST',
|
|
17
17
|
fullPath: '/v1/quotes/{quote}/finalize',
|
|
18
18
|
}),
|
|
19
|
-
listPreviewInvoiceLines: stripeMethod({
|
|
20
|
-
method: 'GET',
|
|
21
|
-
fullPath: '/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines',
|
|
22
|
-
methodType: 'list',
|
|
23
|
-
}),
|
|
24
19
|
listComputedUpfrontLineItems: stripeMethod({
|
|
25
20
|
method: 'GET',
|
|
26
21
|
fullPath: '/v1/quotes/{quote}/computed_upfront_line_items',
|
|
@@ -31,37 +26,10 @@ export const Quotes = StripeResource.extend({
|
|
|
31
26
|
fullPath: '/v1/quotes/{quote}/line_items',
|
|
32
27
|
methodType: 'list',
|
|
33
28
|
}),
|
|
34
|
-
listLines: stripeMethod({
|
|
35
|
-
method: 'GET',
|
|
36
|
-
fullPath: '/v1/quotes/{quote}/lines',
|
|
37
|
-
methodType: 'list',
|
|
38
|
-
}),
|
|
39
|
-
listPreviewInvoices: stripeMethod({
|
|
40
|
-
method: 'GET',
|
|
41
|
-
fullPath: '/v1/quotes/{quote}/preview_invoices',
|
|
42
|
-
methodType: 'list',
|
|
43
|
-
}),
|
|
44
|
-
listPreviewSubscriptionSchedules: stripeMethod({
|
|
45
|
-
method: 'GET',
|
|
46
|
-
fullPath: '/v1/quotes/{quote}/preview_subscription_schedules',
|
|
47
|
-
methodType: 'list',
|
|
48
|
-
}),
|
|
49
|
-
markDraft: stripeMethod({
|
|
50
|
-
method: 'POST',
|
|
51
|
-
fullPath: '/v1/quotes/{quote}/mark_draft',
|
|
52
|
-
}),
|
|
53
|
-
markStale: stripeMethod({
|
|
54
|
-
method: 'POST',
|
|
55
|
-
fullPath: '/v1/quotes/{quote}/mark_stale',
|
|
56
|
-
}),
|
|
57
29
|
pdf: stripeMethod({
|
|
58
30
|
method: 'GET',
|
|
59
31
|
fullPath: '/v1/quotes/{quote}/pdf',
|
|
60
32
|
host: 'files.stripe.com',
|
|
61
33
|
streaming: true,
|
|
62
34
|
}),
|
|
63
|
-
reestimate: stripeMethod({
|
|
64
|
-
method: 'POST',
|
|
65
|
-
fullPath: '/v1/quotes/{quote}/reestimate',
|
|
66
|
-
}),
|
|
67
35
|
});
|
|
@@ -19,10 +19,6 @@ export const SubscriptionSchedules = StripeResource.extend({
|
|
|
19
19
|
fullPath: '/v1/subscription_schedules',
|
|
20
20
|
methodType: 'list',
|
|
21
21
|
}),
|
|
22
|
-
amend: stripeMethod({
|
|
23
|
-
method: 'POST',
|
|
24
|
-
fullPath: '/v1/subscription_schedules/{schedule}/amend',
|
|
25
|
-
}),
|
|
26
22
|
cancel: stripeMethod({
|
|
27
23
|
method: 'POST',
|
|
28
24
|
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
|
|
@@ -16,10 +16,6 @@ export const Subscriptions = StripeResource.extend({
|
|
|
16
16
|
fullPath: '/v1/subscriptions',
|
|
17
17
|
methodType: 'list',
|
|
18
18
|
}),
|
|
19
|
-
attachCadence: stripeMethod({
|
|
20
|
-
method: 'POST',
|
|
21
|
-
fullPath: '/v1/subscriptions/{subscription}/attach_cadence',
|
|
22
|
-
}),
|
|
23
19
|
cancel: stripeMethod({
|
|
24
20
|
method: 'DELETE',
|
|
25
21
|
fullPath: '/v1/subscriptions/{subscription_exposed_id}',
|
package/esm/resources.js
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec
|
|
2
2
|
import { resourceNamespace } from './ResourceNamespace.js';
|
|
3
|
-
import { AccountLinks as V2CoreAccountLinks } from './resources/V2/Core/AccountLinks.js';
|
|
4
3
|
import { Accounts as FinancialConnectionsAccounts } from './resources/FinancialConnections/Accounts.js';
|
|
5
|
-
import { Accounts as V2CoreAccounts } from './resources/V2/Core/Accounts.js';
|
|
6
4
|
import { ActiveEntitlements as EntitlementsActiveEntitlements } from './resources/Entitlements/ActiveEntitlements.js';
|
|
7
|
-
import { Adjustments as V2MoneyManagementAdjustments } from './resources/V2/MoneyManagement/Adjustments.js';
|
|
8
5
|
import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js';
|
|
9
|
-
import { Associations as TaxAssociations } from './resources/Tax/Associations.js';
|
|
10
6
|
import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js';
|
|
11
7
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
12
|
-
import { AutomaticRules as V2TaxAutomaticRules } from './resources/V2/Tax/AutomaticRules.js';
|
|
13
|
-
import { BillSettings as V2BillingBillSettings } from './resources/V2/Billing/BillSettings.js';
|
|
14
|
-
import { BlocklistEntries as IdentityBlocklistEntries } from './resources/Identity/BlocklistEntries.js';
|
|
15
|
-
import { Cadences as V2BillingCadences } from './resources/V2/Billing/Cadences.js';
|
|
16
8
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
17
9
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
18
10
|
import { Cards as IssuingCards } from './resources/Issuing/Cards.js';
|
|
19
11
|
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js';
|
|
20
|
-
import { ClaimableSandboxes as V2CoreClaimableSandboxes } from './resources/V2/Core/ClaimableSandboxes.js';
|
|
21
|
-
import { CollectionSettings as V2BillingCollectionSettings } from './resources/V2/Billing/CollectionSettings.js';
|
|
22
12
|
import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js';
|
|
23
13
|
import { Configurations as TerminalConfigurations } from './resources/Terminal/Configurations.js';
|
|
24
14
|
import { ConfirmationTokens as TestHelpersConfirmationTokens } from './resources/TestHelpers/ConfirmationTokens.js';
|
|
@@ -27,34 +17,16 @@ import { CreditBalanceSummary as BillingCreditBalanceSummary } from './resources
|
|
|
27
17
|
import { CreditBalanceTransactions as BillingCreditBalanceTransactions } from './resources/Billing/CreditBalanceTransactions.js';
|
|
28
18
|
import { CreditGrants as BillingCreditGrants } from './resources/Billing/CreditGrants.js';
|
|
29
19
|
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js';
|
|
30
|
-
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js';
|
|
31
|
-
import { CustomPricingUnits as V2BillingCustomPricingUnits } from './resources/V2/Billing/CustomPricingUnits.js';
|
|
32
20
|
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js';
|
|
33
21
|
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js';
|
|
34
|
-
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js';
|
|
35
22
|
import { Disputes as IssuingDisputes } from './resources/Issuing/Disputes.js';
|
|
36
23
|
import { EarlyFraudWarnings as RadarEarlyFraudWarnings } from './resources/Radar/EarlyFraudWarnings.js';
|
|
37
24
|
import { EventDestinations as V2CoreEventDestinations } from './resources/V2/Core/EventDestinations.js';
|
|
38
25
|
import { Events as V2CoreEvents } from './resources/V2/Core/Events.js';
|
|
39
26
|
import { Features as EntitlementsFeatures } from './resources/Entitlements/Features.js';
|
|
40
27
|
import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js';
|
|
41
|
-
import { FinancialAccounts as V2MoneyManagementFinancialAccounts } from './resources/V2/MoneyManagement/FinancialAccounts.js';
|
|
42
|
-
import { FinancialAddresses as V2MoneyManagementFinancialAddresses } from './resources/V2/MoneyManagement/FinancialAddresses.js';
|
|
43
|
-
import { FinancialAddresses as V2TestHelpersFinancialAddresses } from './resources/V2/TestHelpers/FinancialAddresses.js';
|
|
44
|
-
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
|
|
45
|
-
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
|
|
46
|
-
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
|
|
47
|
-
import { Forms as TaxForms } from './resources/Tax/Forms.js';
|
|
48
|
-
import { FraudLiabilityDebits as IssuingFraudLiabilityDebits } from './resources/Issuing/FraudLiabilityDebits.js';
|
|
49
|
-
import { GbBankAccounts as V2CoreVaultGbBankAccounts } from './resources/V2/Core/Vault/GbBankAccounts.js';
|
|
50
28
|
import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js';
|
|
51
29
|
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
|
|
52
|
-
import { InboundTransfers as V2MoneyManagementInboundTransfers } from './resources/V2/MoneyManagement/InboundTransfers.js';
|
|
53
|
-
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
|
|
54
|
-
import { Intents as V2BillingIntents } from './resources/V2/Billing/Intents.js';
|
|
55
|
-
import { LicenseFeeSubscriptions as V2BillingLicenseFeeSubscriptions } from './resources/V2/Billing/LicenseFeeSubscriptions.js';
|
|
56
|
-
import { LicenseFees as V2BillingLicenseFees } from './resources/V2/Billing/LicenseFees.js';
|
|
57
|
-
import { LicensedItems as V2BillingLicensedItems } from './resources/V2/Billing/LicensedItems.js';
|
|
58
30
|
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
|
|
59
31
|
import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
|
|
60
32
|
import { MeterEventAdjustments as V2BillingMeterEventAdjustments } from './resources/V2/Billing/MeterEventAdjustments.js';
|
|
@@ -62,52 +34,29 @@ import { MeterEventSession as V2BillingMeterEventSession } from './resources/V2/
|
|
|
62
34
|
import { MeterEventStream as V2BillingMeterEventStream } from './resources/V2/Billing/MeterEventStream.js';
|
|
63
35
|
import { MeterEvents as BillingMeterEvents } from './resources/Billing/MeterEvents.js';
|
|
64
36
|
import { MeterEvents as V2BillingMeterEvents } from './resources/V2/Billing/MeterEvents.js';
|
|
65
|
-
import { MeterUsage as BillingAnalyticsMeterUsage } from './resources/Billing/Analytics/MeterUsage.js';
|
|
66
|
-
import { MeteredItems as V2BillingMeteredItems } from './resources/V2/Billing/MeteredItems.js';
|
|
67
37
|
import { Meters as BillingMeters } from './resources/Billing/Meters.js';
|
|
68
|
-
import { MoneyManagement as V2TestHelpersMoneyManagement } from './resources/V2/TestHelpers/MoneyManagement.js';
|
|
69
|
-
import { OffSessionPayments as V2PaymentsOffSessionPayments } from './resources/V2/Payments/OffSessionPayments.js';
|
|
70
|
-
import { OnboardingLinks as TerminalOnboardingLinks } from './resources/Terminal/OnboardingLinks.js';
|
|
71
38
|
import { Orders as ClimateOrders } from './resources/Climate/Orders.js';
|
|
72
|
-
import { OutboundPaymentQuotes as V2MoneyManagementOutboundPaymentQuotes } from './resources/V2/MoneyManagement/OutboundPaymentQuotes.js';
|
|
73
39
|
import { OutboundPayments as TestHelpersTreasuryOutboundPayments } from './resources/TestHelpers/Treasury/OutboundPayments.js';
|
|
74
40
|
import { OutboundPayments as TreasuryOutboundPayments } from './resources/Treasury/OutboundPayments.js';
|
|
75
|
-
import { OutboundPayments as V2MoneyManagementOutboundPayments } from './resources/V2/MoneyManagement/OutboundPayments.js';
|
|
76
|
-
import { OutboundSetupIntents as V2MoneyManagementOutboundSetupIntents } from './resources/V2/MoneyManagement/OutboundSetupIntents.js';
|
|
77
41
|
import { OutboundTransfers as TestHelpersTreasuryOutboundTransfers } from './resources/TestHelpers/Treasury/OutboundTransfers.js';
|
|
78
42
|
import { OutboundTransfers as TreasuryOutboundTransfers } from './resources/Treasury/OutboundTransfers.js';
|
|
79
|
-
import { OutboundTransfers as V2MoneyManagementOutboundTransfers } from './resources/V2/MoneyManagement/OutboundTransfers.js';
|
|
80
|
-
import { PayoutMethods as V2MoneyManagementPayoutMethods } from './resources/V2/MoneyManagement/PayoutMethods.js';
|
|
81
|
-
import { PayoutMethodsBankAccountSpec as V2MoneyManagementPayoutMethodsBankAccountSpec } from './resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js';
|
|
82
43
|
import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
|
|
83
44
|
import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } from './resources/TestHelpers/Issuing/PersonalizationDesigns.js';
|
|
84
45
|
import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
|
|
85
|
-
import { PricingPlanSubscriptions as V2BillingPricingPlanSubscriptions } from './resources/V2/Billing/PricingPlanSubscriptions.js';
|
|
86
|
-
import { PricingPlans as V2BillingPricingPlans } from './resources/V2/Billing/PricingPlans.js';
|
|
87
46
|
import { Products as ClimateProducts } from './resources/Climate/Products.js';
|
|
88
|
-
import { Profiles as V2BillingProfiles } from './resources/V2/Billing/Profiles.js';
|
|
89
|
-
import { RateCardSubscriptions as V2BillingRateCardSubscriptions } from './resources/V2/Billing/RateCardSubscriptions.js';
|
|
90
|
-
import { RateCards as V2BillingRateCards } from './resources/V2/Billing/RateCards.js';
|
|
91
|
-
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
|
|
92
47
|
import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
|
|
93
48
|
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
|
|
94
49
|
import { ReceivedCredits as TestHelpersTreasuryReceivedCredits } from './resources/TestHelpers/Treasury/ReceivedCredits.js';
|
|
95
50
|
import { ReceivedCredits as TreasuryReceivedCredits } from './resources/Treasury/ReceivedCredits.js';
|
|
96
|
-
import { ReceivedCredits as V2MoneyManagementReceivedCredits } from './resources/V2/MoneyManagement/ReceivedCredits.js';
|
|
97
51
|
import { ReceivedDebits as TestHelpersTreasuryReceivedDebits } from './resources/TestHelpers/Treasury/ReceivedDebits.js';
|
|
98
52
|
import { ReceivedDebits as TreasuryReceivedDebits } from './resources/Treasury/ReceivedDebits.js';
|
|
99
|
-
import { ReceivedDebits as V2MoneyManagementReceivedDebits } from './resources/V2/MoneyManagement/ReceivedDebits.js';
|
|
100
|
-
import { RecipientVerifications as V2MoneyManagementRecipientVerifications } from './resources/V2/MoneyManagement/RecipientVerifications.js';
|
|
101
|
-
import { RedactionJobs as PrivacyRedactionJobs } from './resources/Privacy/RedactionJobs.js';
|
|
102
53
|
import { Refunds as TestHelpersRefunds } from './resources/TestHelpers/Refunds.js';
|
|
103
54
|
import { Registrations as TaxRegistrations } from './resources/Tax/Registrations.js';
|
|
104
55
|
import { ReportRuns as ReportingReportRuns } from './resources/Reporting/ReportRuns.js';
|
|
105
56
|
import { ReportTypes as ReportingReportTypes } from './resources/Reporting/ReportTypes.js';
|
|
106
|
-
import { RequestedSessions as DelegatedCheckoutRequestedSessions } from './resources/DelegatedCheckout/RequestedSessions.js';
|
|
107
57
|
import { Requests as ForwardingRequests } from './resources/Forwarding/Requests.js';
|
|
108
58
|
import { ScheduledQueryRuns as SigmaScheduledQueryRuns } from './resources/Sigma/ScheduledQueryRuns.js';
|
|
109
59
|
import { Secrets as AppsSecrets } from './resources/Apps/Secrets.js';
|
|
110
|
-
import { ServiceActions as V2BillingServiceActions } from './resources/V2/Billing/ServiceActions.js';
|
|
111
60
|
import { Sessions as BillingPortalSessions } from './resources/BillingPortal/Sessions.js';
|
|
112
61
|
import { Sessions as CheckoutSessions } from './resources/Checkout/Sessions.js';
|
|
113
62
|
import { Sessions as FinancialConnectionsSessions } from './resources/FinancialConnections/Sessions.js';
|
|
@@ -116,21 +65,17 @@ import { Suppliers as ClimateSuppliers } from './resources/Climate/Suppliers.js'
|
|
|
116
65
|
import { TestClocks as TestHelpersTestClocks } from './resources/TestHelpers/TestClocks.js';
|
|
117
66
|
import { Tokens as IssuingTokens } from './resources/Issuing/Tokens.js';
|
|
118
67
|
import { TransactionEntries as TreasuryTransactionEntries } from './resources/Treasury/TransactionEntries.js';
|
|
119
|
-
import { TransactionEntries as V2MoneyManagementTransactionEntries } from './resources/V2/MoneyManagement/TransactionEntries.js';
|
|
120
68
|
import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js';
|
|
121
69
|
import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js';
|
|
122
70
|
import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js';
|
|
123
71
|
import { Transactions as TestHelpersIssuingTransactions } from './resources/TestHelpers/Issuing/Transactions.js';
|
|
124
72
|
import { Transactions as TreasuryTransactions } from './resources/Treasury/Transactions.js';
|
|
125
|
-
import { Transactions as V2MoneyManagementTransactions } from './resources/V2/MoneyManagement/Transactions.js';
|
|
126
|
-
import { UsBankAccounts as V2CoreVaultUsBankAccounts } from './resources/V2/Core/Vault/UsBankAccounts.js';
|
|
127
73
|
import { ValueListItems as RadarValueListItems } from './resources/Radar/ValueListItems.js';
|
|
128
74
|
import { ValueLists as RadarValueLists } from './resources/Radar/ValueLists.js';
|
|
129
75
|
import { VerificationReports as IdentityVerificationReports } from './resources/Identity/VerificationReports.js';
|
|
130
76
|
import { VerificationSessions as IdentityVerificationSessions } from './resources/Identity/VerificationSessions.js';
|
|
131
77
|
export { Accounts as Account } from './resources/Accounts.js';
|
|
132
78
|
export { AccountLinks } from './resources/AccountLinks.js';
|
|
133
|
-
export { AccountNotices } from './resources/AccountNotices.js';
|
|
134
79
|
export { AccountSessions } from './resources/AccountSessions.js';
|
|
135
80
|
export { Accounts } from './resources/Accounts.js';
|
|
136
81
|
export { ApplePayDomains } from './resources/ApplePayDomains.js';
|
|
@@ -149,18 +94,14 @@ export { Disputes } from './resources/Disputes.js';
|
|
|
149
94
|
export { EphemeralKeys } from './resources/EphemeralKeys.js';
|
|
150
95
|
export { Events } from './resources/Events.js';
|
|
151
96
|
export { ExchangeRates } from './resources/ExchangeRates.js';
|
|
152
|
-
export { ExternalAccounts } from './resources/ExternalAccounts.js';
|
|
153
97
|
export { FileLinks } from './resources/FileLinks.js';
|
|
154
98
|
export { Files } from './resources/Files.js';
|
|
155
|
-
export { FxQuotes } from './resources/FxQuotes.js';
|
|
156
99
|
export { InvoiceItems } from './resources/InvoiceItems.js';
|
|
157
100
|
export { InvoicePayments } from './resources/InvoicePayments.js';
|
|
158
101
|
export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
|
|
159
102
|
export { Invoices } from './resources/Invoices.js';
|
|
160
103
|
export { Mandates } from './resources/Mandates.js';
|
|
161
|
-
export { Margins } from './resources/Margins.js';
|
|
162
104
|
export { OAuth } from './resources/OAuth.js';
|
|
163
|
-
export { Orders } from './resources/Orders.js';
|
|
164
105
|
export { PaymentAttemptRecords } from './resources/PaymentAttemptRecords.js';
|
|
165
106
|
export { PaymentIntents } from './resources/PaymentIntents.js';
|
|
166
107
|
export { PaymentLinks } from './resources/PaymentLinks.js';
|
|
@@ -199,19 +140,11 @@ export const Billing = resourceNamespace('billing', {
|
|
|
199
140
|
MeterEventAdjustments: BillingMeterEventAdjustments,
|
|
200
141
|
MeterEvents: BillingMeterEvents,
|
|
201
142
|
Meters: BillingMeters,
|
|
202
|
-
Analytics: resourceNamespace('analytics', {
|
|
203
|
-
MeterUsage: BillingAnalyticsMeterUsage,
|
|
204
|
-
}),
|
|
205
143
|
});
|
|
206
144
|
export const BillingPortal = resourceNamespace('billingPortal', {
|
|
207
145
|
Configurations: BillingPortalConfigurations,
|
|
208
146
|
Sessions: BillingPortalSessions,
|
|
209
147
|
});
|
|
210
|
-
export const Capital = resourceNamespace('capital', {
|
|
211
|
-
FinancingOffers: CapitalFinancingOffers,
|
|
212
|
-
FinancingSummary: CapitalFinancingSummary,
|
|
213
|
-
FinancingTransactions: CapitalFinancingTransactions,
|
|
214
|
-
});
|
|
215
148
|
export const Checkout = resourceNamespace('checkout', {
|
|
216
149
|
Sessions: CheckoutSessions,
|
|
217
150
|
});
|
|
@@ -220,16 +153,12 @@ export const Climate = resourceNamespace('climate', {
|
|
|
220
153
|
Products: ClimateProducts,
|
|
221
154
|
Suppliers: ClimateSuppliers,
|
|
222
155
|
});
|
|
223
|
-
export const DelegatedCheckout = resourceNamespace('delegatedCheckout', {
|
|
224
|
-
RequestedSessions: DelegatedCheckoutRequestedSessions,
|
|
225
|
-
});
|
|
226
156
|
export const Entitlements = resourceNamespace('entitlements', {
|
|
227
157
|
ActiveEntitlements: EntitlementsActiveEntitlements,
|
|
228
158
|
Features: EntitlementsFeatures,
|
|
229
159
|
});
|
|
230
160
|
export const FinancialConnections = resourceNamespace('financialConnections', {
|
|
231
161
|
Accounts: FinancialConnectionsAccounts,
|
|
232
|
-
Institutions: FinancialConnectionsInstitutions,
|
|
233
162
|
Sessions: FinancialConnectionsSessions,
|
|
234
163
|
Transactions: FinancialConnectionsTransactions,
|
|
235
164
|
});
|
|
@@ -237,7 +166,6 @@ export const Forwarding = resourceNamespace('forwarding', {
|
|
|
237
166
|
Requests: ForwardingRequests,
|
|
238
167
|
});
|
|
239
168
|
export const Identity = resourceNamespace('identity', {
|
|
240
|
-
BlocklistEntries: IdentityBlocklistEntries,
|
|
241
169
|
VerificationReports: IdentityVerificationReports,
|
|
242
170
|
VerificationSessions: IdentityVerificationSessions,
|
|
243
171
|
});
|
|
@@ -245,18 +173,12 @@ export const Issuing = resourceNamespace('issuing', {
|
|
|
245
173
|
Authorizations: IssuingAuthorizations,
|
|
246
174
|
Cardholders: IssuingCardholders,
|
|
247
175
|
Cards: IssuingCards,
|
|
248
|
-
CreditUnderwritingRecords: IssuingCreditUnderwritingRecords,
|
|
249
|
-
DisputeSettlementDetails: IssuingDisputeSettlementDetails,
|
|
250
176
|
Disputes: IssuingDisputes,
|
|
251
|
-
FraudLiabilityDebits: IssuingFraudLiabilityDebits,
|
|
252
177
|
PersonalizationDesigns: IssuingPersonalizationDesigns,
|
|
253
178
|
PhysicalBundles: IssuingPhysicalBundles,
|
|
254
179
|
Tokens: IssuingTokens,
|
|
255
180
|
Transactions: IssuingTransactions,
|
|
256
181
|
});
|
|
257
|
-
export const Privacy = resourceNamespace('privacy', {
|
|
258
|
-
RedactionJobs: PrivacyRedactionJobs,
|
|
259
|
-
});
|
|
260
182
|
export const Radar = resourceNamespace('radar', {
|
|
261
183
|
EarlyFraudWarnings: RadarEarlyFraudWarnings,
|
|
262
184
|
ValueListItems: RadarValueListItems,
|
|
@@ -270,9 +192,7 @@ export const Sigma = resourceNamespace('sigma', {
|
|
|
270
192
|
ScheduledQueryRuns: SigmaScheduledQueryRuns,
|
|
271
193
|
});
|
|
272
194
|
export const Tax = resourceNamespace('tax', {
|
|
273
|
-
Associations: TaxAssociations,
|
|
274
195
|
Calculations: TaxCalculations,
|
|
275
|
-
Forms: TaxForms,
|
|
276
196
|
Registrations: TaxRegistrations,
|
|
277
197
|
Settings: TaxSettings,
|
|
278
198
|
Transactions: TaxTransactions,
|
|
@@ -281,8 +201,6 @@ export const Terminal = resourceNamespace('terminal', {
|
|
|
281
201
|
Configurations: TerminalConfigurations,
|
|
282
202
|
ConnectionTokens: TerminalConnectionTokens,
|
|
283
203
|
Locations: TerminalLocations,
|
|
284
|
-
OnboardingLinks: TerminalOnboardingLinks,
|
|
285
|
-
ReaderCollectedData: TerminalReaderCollectedData,
|
|
286
204
|
Readers: TerminalReaders,
|
|
287
205
|
});
|
|
288
206
|
export const TestHelpers = resourceNamespace('testHelpers', {
|
|
@@ -321,60 +239,13 @@ export const Treasury = resourceNamespace('treasury', {
|
|
|
321
239
|
});
|
|
322
240
|
export const V2 = resourceNamespace('v2', {
|
|
323
241
|
Billing: resourceNamespace('billing', {
|
|
324
|
-
BillSettings: V2BillingBillSettings,
|
|
325
|
-
Cadences: V2BillingCadences,
|
|
326
|
-
CollectionSettings: V2BillingCollectionSettings,
|
|
327
|
-
CustomPricingUnits: V2BillingCustomPricingUnits,
|
|
328
|
-
Intents: V2BillingIntents,
|
|
329
|
-
LicenseFeeSubscriptions: V2BillingLicenseFeeSubscriptions,
|
|
330
|
-
LicenseFees: V2BillingLicenseFees,
|
|
331
|
-
LicensedItems: V2BillingLicensedItems,
|
|
332
242
|
MeterEventAdjustments: V2BillingMeterEventAdjustments,
|
|
333
243
|
MeterEventSession: V2BillingMeterEventSession,
|
|
334
244
|
MeterEventStream: V2BillingMeterEventStream,
|
|
335
245
|
MeterEvents: V2BillingMeterEvents,
|
|
336
|
-
MeteredItems: V2BillingMeteredItems,
|
|
337
|
-
PricingPlanSubscriptions: V2BillingPricingPlanSubscriptions,
|
|
338
|
-
PricingPlans: V2BillingPricingPlans,
|
|
339
|
-
Profiles: V2BillingProfiles,
|
|
340
|
-
RateCardSubscriptions: V2BillingRateCardSubscriptions,
|
|
341
|
-
RateCards: V2BillingRateCards,
|
|
342
|
-
ServiceActions: V2BillingServiceActions,
|
|
343
246
|
}),
|
|
344
247
|
Core: resourceNamespace('core', {
|
|
345
|
-
AccountLinks: V2CoreAccountLinks,
|
|
346
|
-
Accounts: V2CoreAccounts,
|
|
347
|
-
ClaimableSandboxes: V2CoreClaimableSandboxes,
|
|
348
248
|
EventDestinations: V2CoreEventDestinations,
|
|
349
249
|
Events: V2CoreEvents,
|
|
350
|
-
Vault: resourceNamespace('vault', {
|
|
351
|
-
GbBankAccounts: V2CoreVaultGbBankAccounts,
|
|
352
|
-
UsBankAccounts: V2CoreVaultUsBankAccounts,
|
|
353
|
-
}),
|
|
354
|
-
}),
|
|
355
|
-
MoneyManagement: resourceNamespace('moneyManagement', {
|
|
356
|
-
Adjustments: V2MoneyManagementAdjustments,
|
|
357
|
-
FinancialAccounts: V2MoneyManagementFinancialAccounts,
|
|
358
|
-
FinancialAddresses: V2MoneyManagementFinancialAddresses,
|
|
359
|
-
InboundTransfers: V2MoneyManagementInboundTransfers,
|
|
360
|
-
OutboundPaymentQuotes: V2MoneyManagementOutboundPaymentQuotes,
|
|
361
|
-
OutboundPayments: V2MoneyManagementOutboundPayments,
|
|
362
|
-
OutboundSetupIntents: V2MoneyManagementOutboundSetupIntents,
|
|
363
|
-
OutboundTransfers: V2MoneyManagementOutboundTransfers,
|
|
364
|
-
PayoutMethods: V2MoneyManagementPayoutMethods,
|
|
365
|
-
PayoutMethodsBankAccountSpec: V2MoneyManagementPayoutMethodsBankAccountSpec,
|
|
366
|
-
ReceivedCredits: V2MoneyManagementReceivedCredits,
|
|
367
|
-
ReceivedDebits: V2MoneyManagementReceivedDebits,
|
|
368
|
-
RecipientVerifications: V2MoneyManagementRecipientVerifications,
|
|
369
|
-
TransactionEntries: V2MoneyManagementTransactionEntries,
|
|
370
|
-
Transactions: V2MoneyManagementTransactions,
|
|
371
|
-
}),
|
|
372
|
-
Payment: resourceNamespace('payment', {
|
|
373
|
-
OffSessionPayments: V2PaymentsOffSessionPayments,
|
|
374
|
-
}),
|
|
375
|
-
Tax: resourceNamespace('tax', { AutomaticRules: V2TaxAutomaticRules }),
|
|
376
|
-
TestHelper: resourceNamespace('testHelper', {
|
|
377
|
-
FinancialAddresses: V2TestHelpersFinancialAddresses,
|
|
378
|
-
MoneyManagement: V2TestHelpersMoneyManagement,
|
|
379
250
|
}),
|
|
380
251
|
});
|
package/esm/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '19.3.0
|
|
37
|
+
Stripe.PACKAGE_VERSION = '19.3.0';
|
|
38
38
|
Stripe.API_VERSION = ApiVersion;
|
|
39
39
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
40
40
|
Stripe.StripeResource = StripeResource;
|
package/package.json
CHANGED
|
@@ -62,11 +62,7 @@ declare module 'stripe' {
|
|
|
62
62
|
type FutureRequirements = 'include' | 'omit';
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
type Type =
|
|
66
|
-
| 'account_onboarding'
|
|
67
|
-
| 'account_update'
|
|
68
|
-
| 'capital_financing_offer'
|
|
69
|
-
| 'capital_financing_reporting';
|
|
65
|
+
type Type = 'account_onboarding' | 'account_update';
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
class AccountLinksResource {
|