stripe 23.1.0-beta.2 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4850 -1831
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -6
- package/cjs/Error.js +17 -17
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +60 -46
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +57 -211
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +58 -626
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +6 -6
- package/cjs/resources/Apps/Installs.js +3 -3
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +120 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +3 -17
- package/cjs/resources/Charges.d.ts +73 -3077
- package/cjs/resources/Checkout/Sessions.d.ts +40 -360
- package/cjs/resources/ConfirmationTokens.d.ts +1 -64
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +5 -24
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +8 -19
- package/cjs/resources/Events.d.ts +95 -548
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +1 -86
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +142 -1230
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
- package/cjs/resources/Issuing/Cards.d.ts +12 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- package/cjs/resources/Issuing/Transactions.d.ts +0 -22
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +2 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
- package/cjs/resources/PaymentIntents.d.ts +6191 -17059
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +81 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/cjs/resources/PaymentMethods.d.ts +3 -155
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +1 -80
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +150 -2359
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Radar/index.d.ts +16 -21
- package/cjs/resources/Radar/index.js +0 -2
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +1 -41
- package/cjs/resources/Reserve/Plans.js +0 -19
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -18
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -26
- package/cjs/resources/SetupIntents.d.ts +14 -328
- package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +7 -112
- package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +12 -394
- package/cjs/resources/Subscriptions.js +1 -43
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +90 -28
- package/cjs/resources/Tax/Transactions.d.ts +3 -3
- package/cjs/resources/Tax/index.d.ts +17 -24
- package/cjs/resources/Tax/index.js +0 -2
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/Readers.d.ts +4 -20
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +6 -15
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/cjs/resources/Treasury/Transactions.d.ts +14 -0
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
- package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +872 -923
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
- package/cjs/resources/V2/Core/index.d.ts +9 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/cjs/resources/V2/MoneyManagement/index.js +4 -6
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +3 -18
- package/cjs/resources/V2/index.js +4 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -9
- package/cjs/resources.js +15 -115
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +671 -6308
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +28 -57
- package/cjs/stripe.core.js +36 -53
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -6
- package/esm/Error.js +14 -14
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +60 -46
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +57 -211
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +58 -626
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +6 -6
- package/esm/resources/Apps/Installs.js +3 -3
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +120 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +3 -17
- package/esm/resources/Charges.d.ts +73 -3077
- package/esm/resources/Checkout/Sessions.d.ts +40 -360
- package/esm/resources/ConfirmationTokens.d.ts +1 -64
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +5 -24
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +8 -19
- package/esm/resources/Events.d.ts +95 -548
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +1 -86
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +142 -1230
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +1 -19
- package/esm/resources/Issuing/Cards.d.ts +12 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- package/esm/resources/Issuing/Transactions.d.ts +0 -22
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +2 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
- package/esm/resources/PaymentIntents.d.ts +6191 -17059
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +81 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/esm/resources/PaymentMethods.d.ts +3 -155
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +1 -80
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +150 -2359
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Radar/index.d.ts +16 -21
- package/esm/resources/Radar/index.js +0 -2
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +1 -41
- package/esm/resources/Reserve/Plans.js +1 -17
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -18
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -26
- package/esm/resources/SetupIntents.d.ts +14 -328
- package/esm/resources/SourceMandateNotifications.d.ts +1 -3
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +7 -112
- package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +12 -394
- package/esm/resources/Subscriptions.js +1 -43
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +90 -28
- package/esm/resources/Tax/Transactions.d.ts +3 -3
- package/esm/resources/Tax/index.d.ts +17 -24
- package/esm/resources/Tax/index.js +0 -2
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/Readers.d.ts +4 -20
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/esm/resources/TestHelpers/Customers.d.ts +1 -1
- package/esm/resources/TestHelpers/Customers.js +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +6 -15
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/esm/resources/Treasury/Transactions.d.ts +14 -0
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
- package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/esm/resources/V2/Core/Events.d.ts +872 -923
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
- package/esm/resources/V2/Core/index.d.ts +9 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/esm/resources/V2/MoneyManagement/index.js +4 -6
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +3 -18
- package/esm/resources/V2/index.js +2 -12
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -9
- package/esm/resources.js +7 -102
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +28 -57
- package/esm/stripe.core.js +2 -19
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +28 -57
- package/esm/stripe.esm.node.js +2 -19
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -216
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -83
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4696
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/cjs/resources/Radar/BillingEvaluations.js +0 -15
- package/cjs/resources/Radar/BillingEvaluations.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -228
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -958
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -377
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -216
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -83
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4696
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/esm/resources/Radar/BillingEvaluations.js +0 -11
- package/esm/resources/Radar/BillingEvaluations.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -228
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -958
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
- package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -377
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/Signals/AccountActivities.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivities.js +0 -23
- package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/esm/resources/V2/Signals/AccountSignals.js +0 -62
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
|
@@ -22,15 +22,15 @@ export interface TransactionEntry {
|
|
|
22
22
|
*/
|
|
23
23
|
object: 'v2.money_management.transaction_entry';
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The change to the FinancialAccount's balance that takes effect at this TransactionEntry's `effective_at` timestamp.
|
|
26
26
|
*/
|
|
27
27
|
balance_impact: TransactionEntry.BalanceImpact;
|
|
28
28
|
/**
|
|
29
|
-
* Time at which the object was created.
|
|
29
|
+
* Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example `2022-09-18T13:22:18.123Z`.
|
|
30
30
|
*/
|
|
31
31
|
created: string;
|
|
32
32
|
/**
|
|
33
|
-
* Time at which the
|
|
33
|
+
* Time at which the TransactionEntry affects the FinancialAccount balance. This can be in the past or future.
|
|
34
34
|
*/
|
|
35
35
|
effective_at: string;
|
|
36
36
|
/**
|
|
@@ -38,40 +38,45 @@ export interface TransactionEntry {
|
|
|
38
38
|
*/
|
|
39
39
|
livemode: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* The Transaction that this TransactionEntry belongs to.
|
|
41
|
+
* The ID of the Transaction that this TransactionEntry belongs to.
|
|
42
42
|
*/
|
|
43
43
|
transaction: string;
|
|
44
44
|
/**
|
|
45
|
-
* Details copied from the
|
|
45
|
+
* Details copied from the Transaction that this TransactionEntry belongs to.
|
|
46
46
|
*/
|
|
47
47
|
transaction_details: TransactionEntry.TransactionDetails;
|
|
48
48
|
}
|
|
49
49
|
export declare namespace TransactionEntry {
|
|
50
50
|
interface BalanceImpact {
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* The change to the available balance.
|
|
53
53
|
*/
|
|
54
54
|
available: V2Amount;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* The change to the `inbound_pending` balance.
|
|
57
57
|
*/
|
|
58
58
|
inbound_pending: V2Amount;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* The change to the `outbound_pending` balance.
|
|
61
61
|
*/
|
|
62
62
|
outbound_pending: V2Amount;
|
|
63
63
|
}
|
|
64
64
|
interface TransactionDetails {
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Open Enum. The category of this TransactionEntry's parent Transaction.
|
|
67
67
|
*/
|
|
68
68
|
category: TransactionDetails.Category;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* The ID of the FinancialAccount affected by this Transaction.
|
|
71
71
|
*/
|
|
72
72
|
financial_account: string;
|
|
73
73
|
/**
|
|
74
|
-
* Details about the
|
|
74
|
+
* Details about the flow object that created the Transaction this entry belongs to, such as an
|
|
75
|
+
* InboundTransfer or OutboundPayment. `transaction_details.flow.type` identifies the kind of object.
|
|
76
|
+
* The corresponding field contains its ID, when available: for an InboundTransfer,
|
|
77
|
+
* `transaction_details.flow.inbound_transfer` contains the InboundTransfer's ID. To list entries for
|
|
78
|
+
* the parent Transaction, pass the TransactionEntry's `transaction` ID to the `transaction` parameter
|
|
79
|
+
* on List Transaction Entries.
|
|
75
80
|
*/
|
|
76
81
|
flow?: TransactionDetails.Flow;
|
|
77
82
|
}
|
|
@@ -83,13 +88,13 @@ export declare namespace TransactionEntry {
|
|
|
83
88
|
*/
|
|
84
89
|
adjustment?: string;
|
|
85
90
|
/**
|
|
86
|
-
*
|
|
91
|
+
* When available, the ID of the CurrencyConversion that created this Transaction.
|
|
87
92
|
*/
|
|
88
93
|
currency_conversion?: string;
|
|
89
94
|
/**
|
|
90
|
-
* If applicable, the ID of the
|
|
95
|
+
* If applicable, the ID of the FeeBatch that created this Transaction.
|
|
91
96
|
*/
|
|
92
|
-
|
|
97
|
+
fee_batch?: string;
|
|
93
98
|
/**
|
|
94
99
|
* If applicable, the ID of the InboundTransfer that created this Transaction.
|
|
95
100
|
*/
|
|
@@ -111,12 +116,12 @@ export declare namespace TransactionEntry {
|
|
|
111
116
|
*/
|
|
112
117
|
received_debit?: string;
|
|
113
118
|
/**
|
|
114
|
-
* Open Enum.
|
|
119
|
+
* Open Enum. The type of flow that created the Transaction. When available, the flow's ID is provided in the corresponding field.
|
|
115
120
|
*/
|
|
116
121
|
type: Flow.Type;
|
|
117
122
|
}
|
|
118
123
|
namespace Flow {
|
|
119
|
-
type Type = 'adjustment' | 'currency_conversion' | '
|
|
124
|
+
type Type = 'adjustment' | 'currency_conversion' | 'fee_batch' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit' | OtherString;
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
127
|
}
|
|
@@ -130,7 +135,7 @@ export declare namespace V2 {
|
|
|
130
135
|
namespace MoneyManagement {
|
|
131
136
|
interface TransactionEntryListParams {
|
|
132
137
|
/**
|
|
133
|
-
*
|
|
138
|
+
* Filter for TransactionEntries created within a specified time range.
|
|
134
139
|
*/
|
|
135
140
|
created?: RangeQueryParam;
|
|
136
141
|
/**
|
|
@@ -138,7 +143,8 @@ export declare namespace V2 {
|
|
|
138
143
|
*/
|
|
139
144
|
limit?: number;
|
|
140
145
|
/**
|
|
141
|
-
* Filter for TransactionEntries belonging to a Transaction.
|
|
146
|
+
* Filter for TransactionEntries belonging to a specific Transaction. This filter only supports
|
|
147
|
+
* filtering by a Transaction ID, which appears in each TransactionEntry's `transaction` field.
|
|
142
148
|
*/
|
|
143
149
|
transaction?: string;
|
|
144
150
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StripeResource } from '../../../StripeResource.js';
|
|
2
2
|
import { V2Amount } from './../V2Amounts.js';
|
|
3
|
-
import { RangeQueryParam, OtherString } from '../../../shared.js';
|
|
3
|
+
import { MetadataParam, RangeQueryParam, Metadata, OtherString } from '../../../shared.js';
|
|
4
4
|
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
5
5
|
export declare class TransactionResource extends StripeResource {
|
|
6
6
|
/**
|
|
@@ -11,6 +11,14 @@ export declare class TransactionResource extends StripeResource {
|
|
|
11
11
|
* Retrieves the details of a Transaction by ID.
|
|
12
12
|
*/
|
|
13
13
|
retrieve(id: string, params?: V2.MoneyManagement.TransactionRetrieveParams, options?: RequestOptions): Promise<Response<Transaction>>;
|
|
14
|
+
/**
|
|
15
|
+
* Updates an existing Transaction. You can update its description and metadata.
|
|
16
|
+
*/
|
|
17
|
+
update(id: string, params?: V2.MoneyManagement.TransactionUpdateParams, options?: RequestOptions): Promise<Response<Transaction>>;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a fresh hosted URL for a Transaction's regulatory receipt.
|
|
20
|
+
*/
|
|
21
|
+
refreshRegulatoryReceipt(id: string, params?: V2.MoneyManagement.TransactionRefreshRegulatoryReceiptParams, options?: RequestOptions): Promise<Response<Transaction>>;
|
|
14
22
|
}
|
|
15
23
|
export interface Transaction {
|
|
16
24
|
/**
|
|
@@ -26,33 +34,36 @@ export interface Transaction {
|
|
|
26
34
|
*/
|
|
27
35
|
amount: V2Amount;
|
|
28
36
|
/**
|
|
29
|
-
* The
|
|
30
|
-
* TransactionEntries
|
|
37
|
+
* The change to the FinancialAccount's balance. This is the sum of the balance impacts of this Transaction's
|
|
38
|
+
* TransactionEntries with `effective_at` timestamps in the past.
|
|
31
39
|
*/
|
|
32
40
|
balance_impact: Transaction.BalanceImpact;
|
|
33
41
|
/**
|
|
34
|
-
* Open Enum. A
|
|
42
|
+
* Open Enum. A category used to classify the Transaction.
|
|
35
43
|
*/
|
|
36
44
|
category: Transaction.Category;
|
|
37
45
|
/**
|
|
38
|
-
*
|
|
46
|
+
* Details about the counterparty to this Transaction.
|
|
39
47
|
*/
|
|
40
48
|
counterparty?: Transaction.Counterparty;
|
|
41
49
|
/**
|
|
42
|
-
* Time at which the object was created. Represented as
|
|
50
|
+
* Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example `2022-09-18T13:22:18.123Z`.
|
|
43
51
|
*/
|
|
44
52
|
created: string;
|
|
45
53
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
54
|
+
* A description of the Transaction. When applicable, the description is copied from the flow object when
|
|
55
|
+
* the Transaction is created. You can update it using the Update Transaction endpoint.
|
|
48
56
|
*/
|
|
49
57
|
description?: string;
|
|
50
58
|
/**
|
|
51
|
-
*
|
|
59
|
+
* The ID of the FinancialAccount affected by this Transaction.
|
|
52
60
|
*/
|
|
53
61
|
financial_account: string;
|
|
54
62
|
/**
|
|
55
|
-
* Details about the
|
|
63
|
+
* Details about the flow object that created the Transaction, such as an InboundTransfer or OutboundPayment.
|
|
64
|
+
* `flow.type` identifies the kind of object. The corresponding field contains its ID, when available:
|
|
65
|
+
* for an InboundTransfer, `flow.inbound_transfer` contains the InboundTransfer's ID. Pass that ID to
|
|
66
|
+
* the `flow` parameter on List Transactions.
|
|
56
67
|
*/
|
|
57
68
|
flow?: Transaction.Flow;
|
|
58
69
|
/**
|
|
@@ -60,30 +71,39 @@ export interface Transaction {
|
|
|
60
71
|
*/
|
|
61
72
|
livemode: boolean;
|
|
62
73
|
/**
|
|
63
|
-
*
|
|
74
|
+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information
|
|
75
|
+
* about the object in a structured format.
|
|
76
|
+
*/
|
|
77
|
+
metadata?: Metadata;
|
|
78
|
+
/**
|
|
79
|
+
* Hosted transaction receipt that is provided when money movement is considered regulated under Stripe's money transmission licenses. If not applicable, `regulatory_receipt.status` will be `not_applicable` and no URL will be provided unless you opt in by calling `/refresh_regulatory_receipt`.
|
|
80
|
+
*/
|
|
81
|
+
regulatory_receipt: Transaction.RegulatoryReceipt;
|
|
82
|
+
/**
|
|
83
|
+
* Closed Enum. The current status of the Transaction.
|
|
64
84
|
* A Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero.
|
|
65
85
|
* A Transaction is `posted` if only `balance_impact.available` is non-zero.
|
|
66
86
|
* A Transaction is `void` if there is no balance impact.
|
|
67
|
-
* `posted` and `void` are terminal states, and no additional
|
|
87
|
+
* `posted` and `void` are terminal states, and no additional TransactionEntries will be added to the Transaction.
|
|
68
88
|
*/
|
|
69
89
|
status: Transaction.Status;
|
|
70
90
|
/**
|
|
71
|
-
* Timestamps for when the Transaction transitioned to
|
|
91
|
+
* Timestamps for when the Transaction transitioned to each status.
|
|
72
92
|
*/
|
|
73
93
|
status_transitions: Transaction.StatusTransitions;
|
|
74
94
|
}
|
|
75
95
|
export declare namespace Transaction {
|
|
76
96
|
interface BalanceImpact {
|
|
77
97
|
/**
|
|
78
|
-
*
|
|
98
|
+
* The change to the available balance.
|
|
79
99
|
*/
|
|
80
100
|
available: V2Amount;
|
|
81
101
|
/**
|
|
82
|
-
*
|
|
102
|
+
* The change to the `inbound_pending` balance.
|
|
83
103
|
*/
|
|
84
104
|
inbound_pending: V2Amount;
|
|
85
105
|
/**
|
|
86
|
-
*
|
|
106
|
+
* The change to the `outbound_pending` balance.
|
|
87
107
|
*/
|
|
88
108
|
outbound_pending: V2Amount;
|
|
89
109
|
}
|
|
@@ -100,13 +120,13 @@ export declare namespace Transaction {
|
|
|
100
120
|
*/
|
|
101
121
|
adjustment?: string;
|
|
102
122
|
/**
|
|
103
|
-
*
|
|
123
|
+
* When available, the ID of the CurrencyConversion that created this Transaction.
|
|
104
124
|
*/
|
|
105
125
|
currency_conversion?: string;
|
|
106
126
|
/**
|
|
107
|
-
* If applicable, the ID of the
|
|
127
|
+
* If applicable, the ID of the FeeBatch that created this Transaction.
|
|
108
128
|
*/
|
|
109
|
-
|
|
129
|
+
fee_batch?: string;
|
|
110
130
|
/**
|
|
111
131
|
* If applicable, the ID of the InboundTransfer that created this Transaction.
|
|
112
132
|
*/
|
|
@@ -128,23 +148,40 @@ export declare namespace Transaction {
|
|
|
128
148
|
*/
|
|
129
149
|
received_debit?: string;
|
|
130
150
|
/**
|
|
131
|
-
* Open Enum.
|
|
151
|
+
* Open Enum. The type of flow that created the Transaction. When available, the flow's ID is provided in the corresponding field.
|
|
132
152
|
*/
|
|
133
153
|
type: Flow.Type;
|
|
134
154
|
}
|
|
155
|
+
interface RegulatoryReceipt {
|
|
156
|
+
/**
|
|
157
|
+
* Current availability of the regulatory receipt.
|
|
158
|
+
*/
|
|
159
|
+
status: RegulatoryReceipt.Status;
|
|
160
|
+
/**
|
|
161
|
+
* Hosted URL for the receipt.
|
|
162
|
+
*/
|
|
163
|
+
url?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Time until which `url` is valid.
|
|
166
|
+
*/
|
|
167
|
+
url_expires_at?: string;
|
|
168
|
+
}
|
|
135
169
|
type Status = 'pending' | 'posted' | 'void';
|
|
136
170
|
interface StatusTransitions {
|
|
137
171
|
/**
|
|
138
|
-
* The time at which the Transaction became posted
|
|
172
|
+
* The time at which the Transaction became `posted`. Only present when `status` is `posted`.
|
|
139
173
|
*/
|
|
140
174
|
posted_at?: string;
|
|
141
175
|
/**
|
|
142
|
-
* The time at which the Transaction became void
|
|
176
|
+
* The time at which the Transaction became `void`. Only present when `status` is `void`.
|
|
143
177
|
*/
|
|
144
178
|
void_at?: string;
|
|
145
179
|
}
|
|
146
180
|
namespace Flow {
|
|
147
|
-
type Type = 'adjustment' | 'currency_conversion' | '
|
|
181
|
+
type Type = 'adjustment' | 'currency_conversion' | 'fee_batch' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit' | OtherString;
|
|
182
|
+
}
|
|
183
|
+
namespace RegulatoryReceipt {
|
|
184
|
+
type Status = 'available' | 'not_applicable' | 'pending' | 'url_expired';
|
|
148
185
|
}
|
|
149
186
|
}
|
|
150
187
|
export declare namespace V2 {
|
|
@@ -153,19 +190,37 @@ export declare namespace V2 {
|
|
|
153
190
|
}
|
|
154
191
|
}
|
|
155
192
|
}
|
|
193
|
+
export declare namespace V2 {
|
|
194
|
+
namespace MoneyManagement {
|
|
195
|
+
interface TransactionUpdateParams {
|
|
196
|
+
/**
|
|
197
|
+
* A description of the Transaction, up to 100 characters. Pass `null` to clear the description,
|
|
198
|
+
* or omit this parameter to leave it unchanged.
|
|
199
|
+
*/
|
|
200
|
+
description?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Set of key-value pairs that you can attach to the Transaction. Individual keys can be unset by posting
|
|
203
|
+
* null to them.
|
|
204
|
+
*/
|
|
205
|
+
metadata?: MetadataParam;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
156
209
|
export declare namespace V2 {
|
|
157
210
|
namespace MoneyManagement {
|
|
158
211
|
interface TransactionListParams {
|
|
159
212
|
/**
|
|
160
|
-
*
|
|
213
|
+
* Filter for Transactions created within a specified time range.
|
|
161
214
|
*/
|
|
162
215
|
created?: RangeQueryParam;
|
|
163
216
|
/**
|
|
164
|
-
* Filter for Transactions belonging to a FinancialAccount.
|
|
217
|
+
* Filter for Transactions belonging to a specific FinancialAccount. This filter only supports filtering by the FinancialAccount's ID.
|
|
165
218
|
*/
|
|
166
219
|
financial_account?: string;
|
|
167
220
|
/**
|
|
168
|
-
* Filter for Transactions
|
|
221
|
+
* Filter for Transactions created by a specific flow object. This filter only supports filtering by
|
|
222
|
+
* the flow object's ID, such as `ibt_123` for an InboundTransfer. A value that doesn't match a flow ID
|
|
223
|
+
* returns an empty list.
|
|
169
224
|
*/
|
|
170
225
|
flow?: string;
|
|
171
226
|
/**
|
|
@@ -175,3 +230,9 @@ export declare namespace V2 {
|
|
|
175
230
|
}
|
|
176
231
|
}
|
|
177
232
|
}
|
|
233
|
+
export declare namespace V2 {
|
|
234
|
+
namespace MoneyManagement {
|
|
235
|
+
interface TransactionRefreshRegulatoryReceiptParams {
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
@@ -15,5 +15,17 @@ export class TransactionResource extends StripeResource {
|
|
|
15
15
|
retrieve(id, params, options) {
|
|
16
16
|
return this._makeRequest('GET', `/v2/money_management/transactions/${encodeURIComponent(id)}`, params, options);
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Updates an existing Transaction. You can update its description and metadata.
|
|
20
|
+
*/
|
|
21
|
+
update(id, params, options) {
|
|
22
|
+
return this._makeRequest('POST', `/v2/money_management/transactions/${encodeURIComponent(id)}`, params, options);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Creates a fresh hosted URL for a Transaction's regulatory receipt.
|
|
26
|
+
*/
|
|
27
|
+
refreshRegulatoryReceipt(id, params, options) {
|
|
28
|
+
return this._makeRequest('POST', `/v2/money_management/transactions/${encodeURIComponent(id)}/refresh_regulatory_receipt`, params, options);
|
|
29
|
+
}
|
|
18
30
|
}
|
|
19
31
|
//# sourceMappingURL=Transactions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAU1D,MAAM,OAAO,mBAAoB,SAAQ,cAAc;IACrD;;OAEG;IACH,IAAI,CACF,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,wBAAwB,CACtB,EAAU,EACV,MAAqE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,kBAAkB,CACrD,EAAE,CACH,6BAA6B,EAC9B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -4,34 +4,30 @@ import { V2 as V2Namespace1, FinancialAccount, FinancialAccountResource } from '
|
|
|
4
4
|
import { V2 as V2Namespace2, FinancialAddress, FinancialAddressResource } from './FinancialAddresses.js';
|
|
5
5
|
import { V2 as V2Namespace3, InboundTransfer, InboundTransferResource } from './InboundTransfers.js';
|
|
6
6
|
import { V2 as V2Namespace4, OutboundPayment, OutboundPaymentResource } from './OutboundPayments.js';
|
|
7
|
-
import { V2 as V2Namespace5,
|
|
8
|
-
import { V2 as V2Namespace6,
|
|
9
|
-
import { V2 as V2Namespace7,
|
|
10
|
-
import { V2 as V2Namespace8,
|
|
11
|
-
import { V2 as V2Namespace9,
|
|
12
|
-
import { V2 as V2Namespace10,
|
|
13
|
-
import { V2 as V2Namespace11,
|
|
14
|
-
import { V2 as V2Namespace12,
|
|
15
|
-
import { V2 as V2Namespace13, TransactionEntry, TransactionEntryResource } from './TransactionEntries.js';
|
|
7
|
+
import { V2 as V2Namespace5, OutboundSetupIntent, OutboundSetupIntentResource } from './OutboundSetupIntents.js';
|
|
8
|
+
import { V2 as V2Namespace6, PayoutIntent, PayoutIntentResource } from './PayoutIntents.js';
|
|
9
|
+
import { V2 as V2Namespace7, PayoutMethod, PayoutMethodResource } from './PayoutMethods.js';
|
|
10
|
+
import { V2 as V2Namespace8, PayoutMethodsBankAccountSpec, PayoutMethodsBankAccountSpecResource } from './PayoutMethodsBankAccountSpec.js';
|
|
11
|
+
import { V2 as V2Namespace9, ReceivedCredit, ReceivedCreditResource } from './ReceivedCredits.js';
|
|
12
|
+
import { V2 as V2Namespace10, RecipientVerification, RecipientVerificationResource } from './RecipientVerifications.js';
|
|
13
|
+
import { V2 as V2Namespace11, Transaction, TransactionResource } from './Transactions.js';
|
|
14
|
+
import { V2 as V2Namespace12, TransactionEntry, TransactionEntryResource } from './TransactionEntries.js';
|
|
16
15
|
import { FinancialAddressCreditSimulation } from './FinancialAddressCreditSimulations.js';
|
|
17
|
-
import { FinancialAddressGeneratedMicrodeposits } from './FinancialAddressGeneratedMicrodeposits.js';
|
|
18
16
|
import { TestHelpers } from './TestHelpers/index.js';
|
|
19
17
|
export { Adjustment } from './Adjustments.js';
|
|
20
18
|
export { FinancialAccount } from './FinancialAccounts.js';
|
|
21
19
|
export { FinancialAddress } from './FinancialAddresses.js';
|
|
22
20
|
export { InboundTransfer } from './InboundTransfers.js';
|
|
23
21
|
export { OutboundPayment } from './OutboundPayments.js';
|
|
24
|
-
export { OutboundPaymentQuote } from './OutboundPaymentQuotes.js';
|
|
25
22
|
export { OutboundSetupIntent } from './OutboundSetupIntents.js';
|
|
26
|
-
export {
|
|
23
|
+
export { PayoutIntent } from './PayoutIntents.js';
|
|
27
24
|
export { PayoutMethod } from './PayoutMethods.js';
|
|
28
25
|
export { PayoutMethodsBankAccountSpec } from './PayoutMethodsBankAccountSpec.js';
|
|
29
26
|
export { ReceivedCredit } from './ReceivedCredits.js';
|
|
30
|
-
export {
|
|
27
|
+
export { RecipientVerification } from './RecipientVerifications.js';
|
|
31
28
|
export { Transaction } from './Transactions.js';
|
|
32
29
|
export { TransactionEntry } from './TransactionEntries.js';
|
|
33
30
|
export { FinancialAddressCreditSimulation } from './FinancialAddressCreditSimulations.js';
|
|
34
|
-
export { FinancialAddressGeneratedMicrodeposits } from './FinancialAddressGeneratedMicrodeposits.js';
|
|
35
31
|
export declare class MoneyManagement {
|
|
36
32
|
private readonly stripe;
|
|
37
33
|
adjustments: AdjustmentResource;
|
|
@@ -39,13 +35,12 @@ export declare class MoneyManagement {
|
|
|
39
35
|
financialAddresses: FinancialAddressResource;
|
|
40
36
|
inboundTransfers: InboundTransferResource;
|
|
41
37
|
outboundPayments: OutboundPaymentResource;
|
|
42
|
-
outboundPaymentQuotes: OutboundPaymentQuoteResource;
|
|
43
38
|
outboundSetupIntents: OutboundSetupIntentResource;
|
|
44
|
-
|
|
39
|
+
payoutIntents: PayoutIntentResource;
|
|
45
40
|
payoutMethods: PayoutMethodResource;
|
|
46
41
|
payoutMethodsBankAccountSpecs: PayoutMethodsBankAccountSpecResource;
|
|
47
42
|
receivedCredits: ReceivedCreditResource;
|
|
48
|
-
|
|
43
|
+
recipientVerifications: RecipientVerificationResource;
|
|
49
44
|
transactions: TransactionResource;
|
|
50
45
|
transactionEntries: TransactionEntryResource;
|
|
51
46
|
testHelpers: TestHelpers;
|
|
@@ -56,10 +51,8 @@ export declare namespace MoneyManagement {
|
|
|
56
51
|
export import AdjustmentRetrieveParams = V2Namespace0.MoneyManagement.AdjustmentRetrieveParams;
|
|
57
52
|
export { Adjustment, AdjustmentResource };
|
|
58
53
|
export import FinancialAccountListParams = V2Namespace1.MoneyManagement.FinancialAccountListParams;
|
|
59
|
-
export import FinancialAccountCreateParams = V2Namespace1.MoneyManagement.FinancialAccountCreateParams;
|
|
60
54
|
export import FinancialAccountRetrieveParams = V2Namespace1.MoneyManagement.FinancialAccountRetrieveParams;
|
|
61
55
|
export import FinancialAccountUpdateParams = V2Namespace1.MoneyManagement.FinancialAccountUpdateParams;
|
|
62
|
-
export import FinancialAccountCloseParams = V2Namespace1.MoneyManagement.FinancialAccountCloseParams;
|
|
63
56
|
export { FinancialAccount, FinancialAccountResource };
|
|
64
57
|
export import FinancialAddressListParams = V2Namespace2.MoneyManagement.FinancialAddressListParams;
|
|
65
58
|
export import FinancialAddressCreateParams = V2Namespace2.MoneyManagement.FinancialAddressCreateParams;
|
|
@@ -74,41 +67,43 @@ export declare namespace MoneyManagement {
|
|
|
74
67
|
export import OutboundPaymentRetrieveParams = V2Namespace4.MoneyManagement.OutboundPaymentRetrieveParams;
|
|
75
68
|
export import OutboundPaymentCancelParams = V2Namespace4.MoneyManagement.OutboundPaymentCancelParams;
|
|
76
69
|
export { OutboundPayment, OutboundPaymentResource };
|
|
77
|
-
export import
|
|
78
|
-
export import
|
|
79
|
-
export
|
|
80
|
-
export import
|
|
81
|
-
export import
|
|
82
|
-
export import OutboundSetupIntentRetrieveParams = V2Namespace6.MoneyManagement.OutboundSetupIntentRetrieveParams;
|
|
83
|
-
export import OutboundSetupIntentUpdateParams = V2Namespace6.MoneyManagement.OutboundSetupIntentUpdateParams;
|
|
84
|
-
export import OutboundSetupIntentCancelParams = V2Namespace6.MoneyManagement.OutboundSetupIntentCancelParams;
|
|
70
|
+
export import OutboundSetupIntentListParams = V2Namespace5.MoneyManagement.OutboundSetupIntentListParams;
|
|
71
|
+
export import OutboundSetupIntentCreateParams = V2Namespace5.MoneyManagement.OutboundSetupIntentCreateParams;
|
|
72
|
+
export import OutboundSetupIntentRetrieveParams = V2Namespace5.MoneyManagement.OutboundSetupIntentRetrieveParams;
|
|
73
|
+
export import OutboundSetupIntentUpdateParams = V2Namespace5.MoneyManagement.OutboundSetupIntentUpdateParams;
|
|
74
|
+
export import OutboundSetupIntentCancelParams = V2Namespace5.MoneyManagement.OutboundSetupIntentCancelParams;
|
|
85
75
|
export { OutboundSetupIntent, OutboundSetupIntentResource };
|
|
86
|
-
export import
|
|
87
|
-
export import
|
|
88
|
-
export import
|
|
89
|
-
export import
|
|
90
|
-
export
|
|
91
|
-
export import
|
|
92
|
-
export import
|
|
93
|
-
export import
|
|
94
|
-
export
|
|
95
|
-
export import
|
|
76
|
+
export import PayoutIntentListParams = V2Namespace6.MoneyManagement.PayoutIntentListParams;
|
|
77
|
+
export import PayoutIntentCreateParams = V2Namespace6.MoneyManagement.PayoutIntentCreateParams;
|
|
78
|
+
export import PayoutIntentRetrieveParams = V2Namespace6.MoneyManagement.PayoutIntentRetrieveParams;
|
|
79
|
+
export import PayoutIntentUpdateParams = V2Namespace6.MoneyManagement.PayoutIntentUpdateParams;
|
|
80
|
+
export import PayoutIntentCancelParams = V2Namespace6.MoneyManagement.PayoutIntentCancelParams;
|
|
81
|
+
export import PayoutIntentConfirmParams = V2Namespace6.MoneyManagement.PayoutIntentConfirmParams;
|
|
82
|
+
export import PayoutIntentRefreshFxQuoteParams = V2Namespace6.MoneyManagement.PayoutIntentRefreshFxQuoteParams;
|
|
83
|
+
export import PayoutIntentRefreshRecipientVerificationParams = V2Namespace6.MoneyManagement.PayoutIntentRefreshRecipientVerificationParams;
|
|
84
|
+
export { PayoutIntent, PayoutIntentResource };
|
|
85
|
+
export import PayoutMethodListParams = V2Namespace7.MoneyManagement.PayoutMethodListParams;
|
|
86
|
+
export import PayoutMethodRetrieveParams = V2Namespace7.MoneyManagement.PayoutMethodRetrieveParams;
|
|
87
|
+
export import PayoutMethodArchiveParams = V2Namespace7.MoneyManagement.PayoutMethodArchiveParams;
|
|
88
|
+
export import PayoutMethodUnarchiveParams = V2Namespace7.MoneyManagement.PayoutMethodUnarchiveParams;
|
|
96
89
|
export { PayoutMethod, PayoutMethodResource };
|
|
97
|
-
export import PayoutMethodsBankAccountSpecRetrieveParams =
|
|
90
|
+
export import PayoutMethodsBankAccountSpecRetrieveParams = V2Namespace8.MoneyManagement.PayoutMethodsBankAccountSpecRetrieveParams;
|
|
98
91
|
export { PayoutMethodsBankAccountSpec, PayoutMethodsBankAccountSpecResource };
|
|
99
|
-
export import ReceivedCreditListParams =
|
|
100
|
-
export import ReceivedCreditRetrieveParams =
|
|
92
|
+
export import ReceivedCreditListParams = V2Namespace9.MoneyManagement.ReceivedCreditListParams;
|
|
93
|
+
export import ReceivedCreditRetrieveParams = V2Namespace9.MoneyManagement.ReceivedCreditRetrieveParams;
|
|
101
94
|
export { ReceivedCredit, ReceivedCreditResource };
|
|
102
|
-
export import
|
|
103
|
-
export import
|
|
104
|
-
export
|
|
105
|
-
export
|
|
106
|
-
export import
|
|
95
|
+
export import RecipientVerificationCreateParams = V2Namespace10.MoneyManagement.RecipientVerificationCreateParams;
|
|
96
|
+
export import RecipientVerificationRetrieveParams = V2Namespace10.MoneyManagement.RecipientVerificationRetrieveParams;
|
|
97
|
+
export import RecipientVerificationAcknowledgeParams = V2Namespace10.MoneyManagement.RecipientVerificationAcknowledgeParams;
|
|
98
|
+
export { RecipientVerification, RecipientVerificationResource };
|
|
99
|
+
export import TransactionListParams = V2Namespace11.MoneyManagement.TransactionListParams;
|
|
100
|
+
export import TransactionRetrieveParams = V2Namespace11.MoneyManagement.TransactionRetrieveParams;
|
|
101
|
+
export import TransactionUpdateParams = V2Namespace11.MoneyManagement.TransactionUpdateParams;
|
|
102
|
+
export import TransactionRefreshRegulatoryReceiptParams = V2Namespace11.MoneyManagement.TransactionRefreshRegulatoryReceiptParams;
|
|
107
103
|
export { Transaction, TransactionResource };
|
|
108
|
-
export import TransactionEntryListParams =
|
|
109
|
-
export import TransactionEntryRetrieveParams =
|
|
104
|
+
export import TransactionEntryListParams = V2Namespace12.MoneyManagement.TransactionEntryListParams;
|
|
105
|
+
export import TransactionEntryRetrieveParams = V2Namespace12.MoneyManagement.TransactionEntryRetrieveParams;
|
|
110
106
|
export { TransactionEntry, TransactionEntryResource };
|
|
111
107
|
export { FinancialAddressCreditSimulation };
|
|
112
|
-
export { FinancialAddressGeneratedMicrodeposits };
|
|
113
108
|
export { TestHelpers };
|
|
114
109
|
}
|
|
@@ -4,13 +4,12 @@ import { FinancialAccountResource, } from './FinancialAccounts.js';
|
|
|
4
4
|
import { FinancialAddressResource, } from './FinancialAddresses.js';
|
|
5
5
|
import { InboundTransferResource, } from './InboundTransfers.js';
|
|
6
6
|
import { OutboundPaymentResource, } from './OutboundPayments.js';
|
|
7
|
-
import { OutboundPaymentQuoteResource, } from './OutboundPaymentQuotes.js';
|
|
8
7
|
import { OutboundSetupIntentResource, } from './OutboundSetupIntents.js';
|
|
9
|
-
import {
|
|
8
|
+
import { PayoutIntentResource, } from './PayoutIntents.js';
|
|
10
9
|
import { PayoutMethodResource, } from './PayoutMethods.js';
|
|
11
10
|
import { PayoutMethodsBankAccountSpecResource, } from './PayoutMethodsBankAccountSpec.js';
|
|
12
11
|
import { ReceivedCreditResource, } from './ReceivedCredits.js';
|
|
13
|
-
import {
|
|
12
|
+
import { RecipientVerificationResource, } from './RecipientVerifications.js';
|
|
14
13
|
import { TransactionResource, } from './Transactions.js';
|
|
15
14
|
import { TransactionEntryResource, } from './TransactionEntries.js';
|
|
16
15
|
import { TestHelpers } from './TestHelpers/index.js';
|
|
@@ -22,13 +21,12 @@ export class MoneyManagement {
|
|
|
22
21
|
this.financialAddresses = new FinancialAddressResource(stripe);
|
|
23
22
|
this.inboundTransfers = new InboundTransferResource(stripe);
|
|
24
23
|
this.outboundPayments = new OutboundPaymentResource(stripe);
|
|
25
|
-
this.outboundPaymentQuotes = new OutboundPaymentQuoteResource(stripe);
|
|
26
24
|
this.outboundSetupIntents = new OutboundSetupIntentResource(stripe);
|
|
27
|
-
this.
|
|
25
|
+
this.payoutIntents = new PayoutIntentResource(stripe);
|
|
28
26
|
this.payoutMethods = new PayoutMethodResource(stripe);
|
|
29
27
|
this.payoutMethodsBankAccountSpecs = new PayoutMethodsBankAccountSpecResource(stripe);
|
|
30
28
|
this.receivedCredits = new ReceivedCreditResource(stripe);
|
|
31
|
-
this.
|
|
29
|
+
this.recipientVerifications = new RecipientVerificationResource(stripe);
|
|
32
30
|
this.transactions = new TransactionResource(stripe);
|
|
33
31
|
this.transactionEntries = new TransactionEntryResource(stripe);
|
|
34
32
|
this.testHelpers = new TestHelpers(stripe);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,oCAAoC,GACrC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAGL,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AAiBnD,MAAM,OAAO,eAAe;IAgB1B,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,WAAW,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,kBAAkB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,oBAAoB,GAAG,IAAI,2BAA2B,CAAC,MAAM,CAAC,CAAC;QACpE,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,6BAA6B,GAAG,IAAI,oCAAoC,CAC3E,MAAM,CACP,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,IAAI,sBAAsB,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,sBAAsB,GAAG,IAAI,6BAA6B,CAAC,MAAM,CAAC,CAAC;QACxE,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,kBAAkB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,CAAC,WAAW,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import * as MoneyManagement from './../../V2/MoneyManagement/index.js';
|
|
3
|
+
import { RequestOptions, Response } from '../../../lib.js';
|
|
4
|
+
export declare class MoneyManagementResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a RecipientVerification with a specified match result for testing purposes in a Sandbox environment.
|
|
7
|
+
*/
|
|
8
|
+
recipientVerifications(params: V2.TestHelpers.MoneyManagementRecipientVerificationsParams, options?: RequestOptions): Promise<Response<MoneyManagement.RecipientVerification>>;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace V2 {
|
|
11
|
+
namespace TestHelpers {
|
|
12
|
+
interface MoneyManagementRecipientVerificationsParams {
|
|
13
|
+
/**
|
|
14
|
+
* Expected match level of the RecipientVerification to be created: `match`, `close_match`, `no_match`, `unavailable`.
|
|
15
|
+
* For `close_match`, the simulated response appends "close_match" to the provided name in match_result_details.matched_name.
|
|
16
|
+
*/
|
|
17
|
+
match_result: MoneyManagementRecipientVerificationsParams.MatchResult;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the payout method.
|
|
20
|
+
*/
|
|
21
|
+
payout_method: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the recipient account. Required if the recipient is different from the sender. Omit for payouts to your own account.
|
|
24
|
+
*/
|
|
25
|
+
recipient?: string;
|
|
26
|
+
}
|
|
27
|
+
namespace MoneyManagementRecipientVerificationsParams {
|
|
28
|
+
type MatchResult = 'close_match' | 'match' | 'no_match' | 'unavailable';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
export class MoneyManagementResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a RecipientVerification with a specified match result for testing purposes in a Sandbox environment.
|
|
6
|
+
*/
|
|
7
|
+
recipientVerifications(params, options) {
|
|
8
|
+
return this._makeRequest('POST', '/v2/test_helpers/money_management/recipient_verifications', params, options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=MoneyManagement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoneyManagement.js","sourceRoot":"","sources":["../../../../src/resources/V2/TestHelpers/MoneyManagement.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAI1D,MAAM,OAAO,uBAAwB,SAAQ,cAAc;IACzD;;OAEG;IACH,sBAAsB,CACpB,MAAkE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,2DAA2D,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
+
import { MoneyManagementResource } from './MoneyManagement.js';
|
|
3
|
+
export declare class TestHelpers {
|
|
4
|
+
private readonly stripe;
|
|
5
|
+
moneyManagements: MoneyManagementResource;
|
|
6
|
+
constructor(stripe: Stripe);
|
|
7
|
+
}
|
|
8
|
+
export declare namespace TestHelpers { }
|