stripe 22.4.0-alpha.3 → 22.4.0-alpha.4
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 +36 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/Error.d.ts +66 -7
- package/cjs/Error.js +13 -3
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +4 -9
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +75 -11
- package/cjs/Types.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
- package/cjs/platform/NodePlatformFunctions.js +46 -24
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +1 -1
- package/cjs/platform/PlatformFunctions.js +1 -1
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +2 -1
- package/cjs/resources/AccountLinks.js.map +1 -1
- package/cjs/resources/AccountNotices.d.ts +2 -2
- package/cjs/resources/AccountNotices.js.map +1 -1
- package/cjs/resources/AccountSessions.d.ts +16 -33
- package/cjs/resources/AccountSignals.d.ts +7 -6
- package/cjs/resources/Accounts.d.ts +54 -38
- package/cjs/resources/Accounts.js +1 -1
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +2 -2
- package/cjs/resources/ApplicationFees.js.map +1 -1
- package/cjs/resources/Apps/Secrets.d.ts +6 -6
- package/cjs/resources/BalanceSettings.d.ts +10 -10
- package/cjs/resources/BalanceTransactions.d.ts +3 -3
- package/cjs/resources/BalanceTransfers.d.ts +4 -4
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -2
- package/cjs/resources/Billing/Alerts.d.ts +13 -13
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +4 -4
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +5 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/cjs/resources/Billing/Meters.d.ts +8 -8
- package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
- package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +5 -4
- package/cjs/resources/Capital/FinancingOffers.d.ts +5 -5
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +2 -1
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +3 -3
- package/cjs/resources/Cards.d.ts +4 -4
- package/cjs/resources/Charges.d.ts +89 -89
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +175 -175
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Climate/Orders.d.ts +3 -3
- package/cjs/resources/Climate/Orders.js.map +1 -1
- package/cjs/resources/Climate/Suppliers.d.ts +2 -2
- package/cjs/resources/ConfirmationTokens.d.ts +21 -21
- package/cjs/resources/Coupons.d.ts +6 -6
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
- package/cjs/resources/CreditNotes.d.ts +16 -16
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
- package/cjs/resources/Crypto/Customers.d.ts +8 -8
- package/cjs/resources/Crypto/OnrampSessions.d.ts +12 -12
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -1
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
- package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/cjs/resources/CustomerSessions.d.ts +29 -28
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +11 -11
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +12 -12
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +69 -4
- package/cjs/resources/Files.d.ts +3 -3
- package/cjs/resources/Files.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +22 -22
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +5 -4
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +2 -2
- package/cjs/resources/FinancialConnections/Sessions.d.ts +20 -13
- package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/cjs/resources/Forwarding/Requests.d.ts +3 -3
- package/cjs/resources/Forwarding/Requests.js.map +1 -1
- package/cjs/resources/FundingInstructions.d.ts +4 -4
- package/cjs/resources/FxQuotes.d.ts +6 -6
- package/cjs/resources/GiftCardOperations.d.ts +2 -1
- package/cjs/resources/GiftCardOperations.js.map +1 -1
- package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +7 -7
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +5 -5
- package/cjs/resources/InvoicePayments.d.ts +3 -3
- package/cjs/resources/Invoices.d.ts +148 -148
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +32 -32
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +17 -17
- package/cjs/resources/Issuing/Cardholders.js.map +1 -1
- package/cjs/resources/Issuing/Cards.d.ts +31 -27
- package/cjs/resources/Issuing/Cards.js.map +1 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
- package/cjs/resources/Issuing/Disputes.d.ts +24 -24
- package/cjs/resources/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/cjs/resources/Issuing/Settlements.d.ts +2 -2
- package/cjs/resources/Issuing/Tokens.d.ts +15 -15
- package/cjs/resources/Issuing/Transactions.d.ts +11 -8
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -2
- package/cjs/resources/Mandates.d.ts +16 -16
- package/cjs/resources/Orders.d.ts +115 -115
- package/cjs/resources/Orders.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +42 -42
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/cjs/resources/PaymentIntents.d.ts +571 -571
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +50 -50
- package/cjs/resources/PaymentLinks.js.map +1 -1
- package/cjs/resources/PaymentLocationCapabilities.d.ts +4 -3
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -1
- package/cjs/resources/PaymentLocations.d.ts +3 -3
- package/cjs/resources/PaymentLocations.js.map +1 -1
- package/cjs/resources/PaymentMethodConfigurations.d.ts +257 -257
- package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
- package/cjs/resources/PaymentMethods.d.ts +37 -37
- package/cjs/resources/PaymentMethods.js +1 -1
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +156 -54
- package/cjs/resources/PaymentRecords.js +7 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +3 -3
- package/cjs/resources/Payouts.js.map +1 -1
- package/cjs/resources/Persons.d.ts +4 -4
- package/cjs/resources/Plans.d.ts +6 -6
- package/cjs/resources/Plans.js.map +1 -1
- package/cjs/resources/Prices.d.ts +6 -6
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +6 -6
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +3 -2
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
- package/cjs/resources/Products.d.ts +3 -3
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +42 -0
- package/cjs/resources/QuoteLines.d.ts +23 -23
- package/cjs/resources/QuotePreviewInvoices.d.ts +27 -27
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +120 -21
- package/cjs/resources/Quotes.d.ts +120 -120
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +4 -3
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -1
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +3 -3
- package/cjs/resources/Radar/ValueLists.d.ts +2 -2
- package/cjs/resources/Radar/ValueLists.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +8 -4
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +5 -5
- package/cjs/resources/Reserve/Plans.d.ts +4 -4
- package/cjs/resources/Reserve/Releases.d.ts +4 -4
- package/cjs/resources/SetupAttempts.d.ts +7 -7
- package/cjs/resources/SetupIntents.d.ts +132 -132
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +15 -15
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +21 -5
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
- package/cjs/resources/ShippingRates.d.ts +5 -5
- package/cjs/resources/ShippingRates.js.map +1 -1
- package/cjs/resources/Sources.d.ts +3 -3
- package/cjs/resources/Sources.js.map +1 -1
- package/cjs/resources/SubscriptionItems.d.ts +14 -14
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +510 -105
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +101 -101
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Associations.d.ts +2 -1
- package/cjs/resources/Tax/Associations.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +4 -4
- package/cjs/resources/Tax/Calculations.d.ts +14 -14
- package/cjs/resources/Tax/Calculations.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +153 -153
- package/cjs/resources/Tax/Settings.d.ts +4 -4
- package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/cjs/resources/Tax/Transactions.d.ts +10 -10
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +2 -2
- package/cjs/resources/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +2 -2
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +4 -4
- package/cjs/resources/Terminal/Readers.d.ts +16 -16
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
- package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +2 -1
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +18 -10
- package/cjs/resources/Tokens.js.map +1 -1
- package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
- package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +19 -19
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -13
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -10
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -9
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -7
- package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/cjs/resources/Treasury/Transactions.d.ts +6 -6
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +4 -3
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +21 -21
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +34 -33
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -1
- package/cjs/resources/V2/Billing/Contracts.d.ts +16 -16
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
- package/cjs/resources/V2/Billing/IntentActions.d.ts +21 -21
- package/cjs/resources/V2/Billing/Intents.d.ts +23 -23
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +3 -3
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +7 -7
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/cjs/resources/V2/Core/AccountLinks.d.ts +23 -22
- package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +7 -7
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +40 -40
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +3 -2
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/cjs/resources/V2/Core/Events.d.ts +30 -30
- package/cjs/resources/V2/Core/FeeBatches.d.ts +4 -3
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -1
- package/cjs/resources/V2/Core/FeeEntries.d.ts +4 -3
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -1
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +16 -16
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +4 -3
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +5 -4
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -1
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +4 -3
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +4 -3
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +10 -9
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +2 -1
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +4 -4
- package/cjs/resources/V2/Signals/AccountSignals.js +1 -1
- package/cjs/resources/V2/Tax/ManualRules.d.ts +2 -2
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources/WebhookEndpoints.js.map +1 -1
- package/cjs/resources.d.ts +0 -1
- package/cjs/resources.js +2 -4
- package/cjs/resources.js.map +1 -1
- package/cjs/shared.d.ts +5 -0
- package/cjs/stripe.cjs.node.d.ts +168 -40
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +4 -8
- package/cjs/stripe.core.js +6 -7
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -1
- package/cjs/utils.js +1 -17
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +66 -7
- package/esm/Error.js +13 -3
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +5 -10
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +75 -11
- package/esm/Types.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +3 -2
- package/esm/platform/NodePlatformFunctions.js +46 -24
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +1 -1
- package/esm/platform/PlatformFunctions.js +1 -1
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +2 -1
- package/esm/resources/AccountLinks.js.map +1 -1
- package/esm/resources/AccountNotices.d.ts +2 -2
- package/esm/resources/AccountNotices.js.map +1 -1
- package/esm/resources/AccountSessions.d.ts +16 -33
- package/esm/resources/AccountSignals.d.ts +7 -6
- package/esm/resources/Accounts.d.ts +54 -38
- package/esm/resources/Accounts.js +1 -1
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +2 -2
- package/esm/resources/ApplicationFees.js.map +1 -1
- package/esm/resources/Apps/Secrets.d.ts +6 -6
- package/esm/resources/BalanceSettings.d.ts +10 -10
- package/esm/resources/BalanceTransactions.d.ts +3 -3
- package/esm/resources/BalanceTransfers.d.ts +4 -4
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -2
- package/esm/resources/Billing/Alerts.d.ts +13 -13
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +4 -4
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +5 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
- package/esm/resources/Billing/Meters.d.ts +8 -8
- package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
- package/esm/resources/BillingPortal/Sessions.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +5 -4
- package/esm/resources/Capital/FinancingOffers.d.ts +5 -5
- package/esm/resources/Capital/FinancingOffers.js.map +1 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +2 -1
- package/esm/resources/Capital/FinancingSummary.js.map +1 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +3 -3
- package/esm/resources/Cards.d.ts +4 -4
- package/esm/resources/Charges.d.ts +89 -89
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +175 -175
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Climate/Orders.d.ts +3 -3
- package/esm/resources/Climate/Orders.js.map +1 -1
- package/esm/resources/Climate/Suppliers.d.ts +2 -2
- package/esm/resources/ConfirmationTokens.d.ts +21 -21
- package/esm/resources/Coupons.d.ts +6 -6
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +3 -3
- package/esm/resources/CreditNotes.d.ts +16 -16
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
- package/esm/resources/Crypto/Customers.d.ts +8 -8
- package/esm/resources/Crypto/OnrampSessions.d.ts +12 -12
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -1
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
- package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
- package/esm/resources/CustomerSessions.d.ts +29 -28
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +11 -11
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
- package/esm/resources/Disputes.d.ts +12 -12
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +69 -4
- package/esm/resources/Files.d.ts +3 -3
- package/esm/resources/Files.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +22 -22
- package/esm/resources/FinancialConnections/Authorizations.d.ts +5 -4
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +2 -2
- package/esm/resources/FinancialConnections/Sessions.d.ts +20 -13
- package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
- package/esm/resources/Forwarding/Requests.d.ts +3 -3
- package/esm/resources/Forwarding/Requests.js.map +1 -1
- package/esm/resources/FundingInstructions.d.ts +4 -4
- package/esm/resources/FxQuotes.d.ts +6 -6
- package/esm/resources/GiftCardOperations.d.ts +2 -1
- package/esm/resources/GiftCardOperations.js.map +1 -1
- package/esm/resources/Identity/VerificationReports.d.ts +17 -17
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
- package/esm/resources/Identity/VerificationSessions.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +7 -7
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +5 -5
- package/esm/resources/InvoicePayments.d.ts +3 -3
- package/esm/resources/Invoices.d.ts +148 -148
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +32 -32
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +17 -17
- package/esm/resources/Issuing/Cardholders.js.map +1 -1
- package/esm/resources/Issuing/Cards.d.ts +31 -27
- package/esm/resources/Issuing/Cards.js.map +1 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
- package/esm/resources/Issuing/Disputes.d.ts +24 -24
- package/esm/resources/Issuing/Disputes.js.map +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
- package/esm/resources/Issuing/Settlements.d.ts +2 -2
- package/esm/resources/Issuing/Tokens.d.ts +15 -15
- package/esm/resources/Issuing/Transactions.d.ts +11 -8
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -2
- package/esm/resources/Mandates.d.ts +16 -16
- package/esm/resources/Orders.d.ts +115 -115
- package/esm/resources/Orders.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +42 -42
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/esm/resources/PaymentIntents.d.ts +571 -571
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +50 -50
- package/esm/resources/PaymentLinks.js.map +1 -1
- package/esm/resources/PaymentLocationCapabilities.d.ts +4 -3
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -1
- package/esm/resources/PaymentLocations.d.ts +3 -3
- package/esm/resources/PaymentLocations.js.map +1 -1
- package/esm/resources/PaymentMethodConfigurations.d.ts +257 -257
- package/esm/resources/PaymentMethodDomains.d.ts +7 -7
- package/esm/resources/PaymentMethods.d.ts +37 -37
- package/esm/resources/PaymentMethods.js +1 -1
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +156 -54
- package/esm/resources/PaymentRecords.js +7 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +3 -3
- package/esm/resources/Payouts.js.map +1 -1
- package/esm/resources/Persons.d.ts +4 -4
- package/esm/resources/Plans.d.ts +6 -6
- package/esm/resources/Plans.js.map +1 -1
- package/esm/resources/Prices.d.ts +6 -6
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +6 -6
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +3 -2
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
- package/esm/resources/Products.d.ts +3 -3
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +42 -0
- package/esm/resources/QuoteLines.d.ts +23 -23
- package/esm/resources/QuotePreviewInvoices.d.ts +27 -27
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +120 -21
- package/esm/resources/Quotes.d.ts +120 -120
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/CustomerEvaluations.d.ts +4 -3
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -1
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
- package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +3 -3
- package/esm/resources/Radar/ValueLists.d.ts +2 -2
- package/esm/resources/Radar/ValueLists.js.map +1 -1
- package/esm/resources/Refunds.d.ts +8 -4
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +5 -5
- package/esm/resources/Reserve/Plans.d.ts +4 -4
- package/esm/resources/Reserve/Releases.d.ts +4 -4
- package/esm/resources/SetupAttempts.d.ts +7 -7
- package/esm/resources/SetupIntents.d.ts +132 -132
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +15 -15
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +21 -5
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
- package/esm/resources/ShippingRates.d.ts +5 -5
- package/esm/resources/ShippingRates.js.map +1 -1
- package/esm/resources/Sources.d.ts +3 -3
- package/esm/resources/Sources.js.map +1 -1
- package/esm/resources/SubscriptionItems.d.ts +14 -14
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +510 -105
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +101 -101
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Associations.d.ts +2 -1
- package/esm/resources/Tax/Associations.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +4 -4
- package/esm/resources/Tax/Calculations.d.ts +14 -14
- package/esm/resources/Tax/Calculations.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +153 -153
- package/esm/resources/Tax/Settings.d.ts +4 -4
- package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
- package/esm/resources/Tax/Transactions.d.ts +10 -10
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +2 -2
- package/esm/resources/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +2 -2
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +4 -4
- package/esm/resources/Terminal/Readers.d.ts +16 -16
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
- package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +2 -1
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
- package/esm/resources/Tokens.d.ts +18 -10
- package/esm/resources/Tokens.js.map +1 -1
- package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
- package/esm/resources/Treasury/CreditReversals.js.map +1 -1
- package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
- package/esm/resources/Treasury/DebitReversals.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
- package/esm/resources/Treasury/FinancialAccounts.d.ts +19 -19
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +13 -13
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -10
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -9
- package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -7
- package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
- package/esm/resources/Treasury/Transactions.d.ts +6 -6
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +4 -3
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +21 -21
- package/esm/resources/V2/Billing/Cadences.js.map +1 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +34 -33
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -1
- package/esm/resources/V2/Billing/Contracts.d.ts +16 -16
- package/esm/resources/V2/Billing/Contracts.js.map +1 -1
- package/esm/resources/V2/Billing/IntentActions.d.ts +21 -21
- package/esm/resources/V2/Billing/Intents.d.ts +23 -23
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
- package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +3 -3
- package/esm/resources/V2/Billing/ServiceActions.d.ts +7 -7
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
- package/esm/resources/V2/Core/AccountLinks.d.ts +23 -22
- package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +7 -7
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +40 -40
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +3 -2
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
- package/esm/resources/V2/Core/Events.d.ts +30 -30
- package/esm/resources/V2/Core/FeeBatches.d.ts +4 -3
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -1
- package/esm/resources/V2/Core/FeeEntries.d.ts +4 -3
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -1
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
- package/esm/resources/V2/Core/Health/Alerts.d.ts +16 -16
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +4 -3
- package/esm/resources/V2/Extend/Workflows.js.map +1 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +5 -4
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -1
- package/esm/resources/V2/Iam/ApiKeys.d.ts +4 -3
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +4 -3
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +10 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +2 -1
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +4 -4
- package/esm/resources/V2/Signals/AccountSignals.js +1 -1
- package/esm/resources/V2/Tax/ManualRules.d.ts +2 -2
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources/WebhookEndpoints.js.map +1 -1
- package/esm/resources.d.ts +0 -1
- package/esm/resources.js +0 -1
- package/esm/resources.js.map +1 -1
- package/esm/shared.d.ts +5 -0
- package/esm/stripe.core.d.ts +4 -8
- package/esm/stripe.core.js +6 -7
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +4 -7
- package/esm/stripe.esm.node.js +1 -3
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -1
- package/esm/utils.js +0 -15
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +0 -173
- package/cjs/resources/FrMealVouchersOnboardings.js +0 -42
- package/cjs/resources/FrMealVouchersOnboardings.js.map +0 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +0 -173
- package/esm/resources/FrMealVouchersOnboardings.js +0 -38
- package/esm/resources/FrMealVouchersOnboardings.js.map +0 -1
|
@@ -18,7 +18,7 @@ export declare class PlatformFunctions {
|
|
|
18
18
|
* Returns platform info string for telemetry, or null if unavailable.
|
|
19
19
|
*/
|
|
20
20
|
getPlatformInfo(): string | null;
|
|
21
|
-
|
|
21
|
+
getTelemetryId(): string | null;
|
|
22
22
|
/**
|
|
23
23
|
* Emits a warning. Node.js uses process.emitWarning; other runtimes
|
|
24
24
|
* fall back to console.warn.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAe;QACzB,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;QACnC,8BAA8B;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACnE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;YAC1C,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,CAAS,EAAE,CAAS;QAChC,oDAAoD;QACpD,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE;YACzB,OAAO,KAAK,CAAC;SACd;QACD,MAAM,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,IAAI,MAAM,GAAG,CAAC,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE;YAC5B,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC7C;QACD,OAAO,MAAM,KAAK,CAAC,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,aAAa;QACX,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,aAAa,CACX,IAA0B;QAE1B,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,KAAkB;QACrC,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACH,qBAAqB,CAAC,OAAsB;QAC1C,OAAO,IAAI,oCAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,uBAAuB;QACrB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,wBAAwB;QACtB,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,0BAA0B,CACxB,YAAmC;QAEnC,OAAO,IAAI,8CAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;IAED,2BAA2B;QACzB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;CACF;AArID,8CAqIC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
+
import { OtherString } from '../shared.js';
|
|
2
3
|
import { RequestOptions, Response } from '../lib.js';
|
|
3
4
|
export declare class AccountLinkResource extends StripeResource {
|
|
4
5
|
/**
|
|
@@ -57,7 +58,7 @@ export interface AccountLinkCreateParams {
|
|
|
57
58
|
return_url?: string;
|
|
58
59
|
}
|
|
59
60
|
export declare namespace AccountLinkCreateParams {
|
|
60
|
-
type Type = 'account_onboarding' | 'account_update' | 'capital_financing_offer' | 'capital_financing_reporting';
|
|
61
|
+
type Type = 'account_onboarding' | 'account_update' | 'capital_financing_offer' | 'capital_financing_reporting' | OtherString;
|
|
61
62
|
type Collect = 'currently_due' | 'eventually_due';
|
|
62
63
|
interface CollectionOptions {
|
|
63
64
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountLinks.js","sourceRoot":"","sources":["../../src/resources/AccountLinks.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;
|
|
1
|
+
{"version":3,"file":"AccountLinks.js","sourceRoot":"","sources":["../../src/resources/AccountLinks.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAIpD,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,MAAM,CACJ,MAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mBAAmB,EACnB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,kDAeC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
-
import { MetadataParam, PaginationParams, Metadata } from '../shared.js';
|
|
2
|
+
import { MetadataParam, PaginationParams, Metadata, OtherString } from '../shared.js';
|
|
3
3
|
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
4
4
|
export declare class AccountNoticeResource extends StripeResource {
|
|
5
5
|
/**
|
|
@@ -86,7 +86,7 @@ export declare namespace AccountNotice {
|
|
|
86
86
|
*/
|
|
87
87
|
issuing_dispute: string | null;
|
|
88
88
|
}
|
|
89
|
-
type Reason = 'issuing.account_closed_for_inactivity' | 'issuing.account_closed_for_not_providing_business_model_clarification' | 'issuing.account_closed_for_not_providing_url_clarification' | 'issuing.account_closed_for_not_providing_use_case_clarification' | 'issuing.account_closed_for_terms_of_service_violation' | 'issuing.application_rejected_for_failure_to_verify' | 'issuing.credit_application_rejected' | 'issuing.credit_increase_application_rejected' | 'issuing.credit_limit_decreased' | 'issuing.credit_line_closed' | 'issuing.dispute_lost' | 'issuing.dispute_submitted' | 'issuing.dispute_won';
|
|
89
|
+
type Reason = 'issuing.account_closed_for_inactivity' | 'issuing.account_closed_for_not_providing_business_model_clarification' | 'issuing.account_closed_for_not_providing_url_clarification' | 'issuing.account_closed_for_not_providing_use_case_clarification' | 'issuing.account_closed_for_terms_of_service_violation' | 'issuing.application_rejected_for_failure_to_verify' | 'issuing.credit_application_rejected' | 'issuing.credit_increase_application_rejected' | 'issuing.credit_limit_decreased' | 'issuing.credit_line_closed' | 'issuing.dispute_lost' | 'issuing.dispute_submitted' | 'issuing.dispute_won' | OtherString;
|
|
90
90
|
}
|
|
91
91
|
export interface AccountNoticeRetrieveParams {
|
|
92
92
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountNotices.js","sourceRoot":"","sources":["../../src/resources/AccountNotices.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;
|
|
1
|
+
{"version":3,"file":"AccountNotices.js","sourceRoot":"","sources":["../../src/resources/AccountNotices.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AASpD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1CD,sDA0CC"}
|
|
@@ -457,6 +457,10 @@ export declare namespace AccountSession {
|
|
|
457
457
|
* Whether sending refunds is enabled. This is `true` by default.
|
|
458
458
|
*/
|
|
459
459
|
refund_management: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
|
|
462
|
+
*/
|
|
463
|
+
smart_disputes_management: boolean;
|
|
460
464
|
}
|
|
461
465
|
}
|
|
462
466
|
namespace Documents {
|
|
@@ -645,6 +649,10 @@ export declare namespace AccountSession {
|
|
|
645
649
|
* Whether sending refunds is enabled. This is `true` by default.
|
|
646
650
|
*/
|
|
647
651
|
refund_management: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
|
|
654
|
+
*/
|
|
655
|
+
smart_disputes_management: boolean;
|
|
648
656
|
}
|
|
649
657
|
}
|
|
650
658
|
namespace PaymentDisputes {
|
|
@@ -661,6 +669,10 @@ export declare namespace AccountSession {
|
|
|
661
669
|
* Whether sending refunds is enabled. This is `true` by default.
|
|
662
670
|
*/
|
|
663
671
|
refund_management: boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
|
|
674
|
+
*/
|
|
675
|
+
smart_disputes_management: boolean;
|
|
664
676
|
}
|
|
665
677
|
}
|
|
666
678
|
namespace Payments {
|
|
@@ -681,6 +693,10 @@ export declare namespace AccountSession {
|
|
|
681
693
|
* Whether sending refunds is enabled. This is `true` by default.
|
|
682
694
|
*/
|
|
683
695
|
refund_management: boolean;
|
|
696
|
+
/**
|
|
697
|
+
* Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
|
|
698
|
+
*/
|
|
699
|
+
smart_disputes_management: boolean;
|
|
684
700
|
}
|
|
685
701
|
}
|
|
686
702
|
namespace PayoutDetails {
|
|
@@ -833,14 +849,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
833
849
|
* Configuration for the [financial account transactions](https://docs.stripe.com/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
|
834
850
|
*/
|
|
835
851
|
financial_account_transactions?: Components.FinancialAccountTransactions;
|
|
836
|
-
/**
|
|
837
|
-
* Configuration for the [financial accounts](https://docs.stripe.com/connect/supported-embedded-components/financial-accounts/) embedded component.
|
|
838
|
-
*/
|
|
839
|
-
financial_accounts?: Components.FinancialAccounts;
|
|
840
|
-
/**
|
|
841
|
-
* Configuration for the [financial accounts transactions](https://docs.stripe.com/connect/supported-embedded-components/financial-accounts-transactions/) embedded component.
|
|
842
|
-
*/
|
|
843
|
-
financial_accounts_transactions?: Components.FinancialAccountsTransactions;
|
|
844
852
|
/**
|
|
845
853
|
* Configuration for the [instant payouts promotion](https://docs.stripe.com/connect/supported-embedded-components/instant-payouts-promotion/) embedded component.
|
|
846
854
|
*/
|
|
@@ -897,10 +905,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
897
905
|
* Configuration for the [recipients](https://docs.stripe.com/connect/supported-embedded-components/recipients/) embedded component.
|
|
898
906
|
*/
|
|
899
907
|
recipients?: Components.Recipients;
|
|
900
|
-
/**
|
|
901
|
-
* Configuration for the [recipients list](https://docs.stripe.com/connect/supported-embedded-components/recipients-list/) embedded component.
|
|
902
|
-
*/
|
|
903
|
-
recipients_list?: Components.RecipientsList;
|
|
904
908
|
/**
|
|
905
909
|
* Configuration for the [reporting chart](https://docs.stripe.com/connect/supported-embedded-components/reporting-chart/) embedded component.
|
|
906
910
|
*/
|
|
@@ -1097,12 +1101,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
1097
1101
|
*/
|
|
1098
1102
|
features?: FinancialAccountTransactions.Features;
|
|
1099
1103
|
}
|
|
1100
|
-
interface FinancialAccounts {
|
|
1101
|
-
features?: FinancialAccounts.Features;
|
|
1102
|
-
}
|
|
1103
|
-
interface FinancialAccountsTransactions {
|
|
1104
|
-
features?: FinancialAccountsTransactions.Features;
|
|
1105
|
-
}
|
|
1106
1104
|
interface InstantPayoutsPromotion {
|
|
1107
1105
|
/**
|
|
1108
1106
|
* Whether the embedded component is enabled.
|
|
@@ -1240,9 +1238,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
1240
1238
|
enabled: boolean;
|
|
1241
1239
|
features?: Recipients.Features;
|
|
1242
1240
|
}
|
|
1243
|
-
interface RecipientsList {
|
|
1244
|
-
features?: RecipientsList.Features;
|
|
1245
|
-
}
|
|
1246
1241
|
interface ReportingChart {
|
|
1247
1242
|
/**
|
|
1248
1243
|
* Whether the embedded component is enabled.
|
|
@@ -1444,14 +1439,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
1444
1439
|
transfer_balance?: boolean;
|
|
1445
1440
|
}
|
|
1446
1441
|
}
|
|
1447
|
-
namespace FinancialAccounts {
|
|
1448
|
-
interface Features {
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
namespace FinancialAccountsTransactions {
|
|
1452
|
-
interface Features {
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
1442
|
namespace FinancialAccountTransactions {
|
|
1456
1443
|
interface Features {
|
|
1457
1444
|
/**
|
|
@@ -1640,10 +1627,6 @@ export declare namespace AccountSessionCreateParams {
|
|
|
1640
1627
|
send_money?: boolean;
|
|
1641
1628
|
}
|
|
1642
1629
|
}
|
|
1643
|
-
namespace RecipientsList {
|
|
1644
|
-
interface Features {
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
1630
|
namespace ReportingChart {
|
|
1648
1631
|
interface Features {
|
|
1649
1632
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OtherString } from '../shared.js';
|
|
1
2
|
export interface AccountSignals {
|
|
2
3
|
/**
|
|
3
4
|
* String representing the object's type. Objects of the same type share the same value.
|
|
@@ -80,10 +81,10 @@ export declare namespace AccountSignals {
|
|
|
80
81
|
*/
|
|
81
82
|
indicator: Indicator.Indicator;
|
|
82
83
|
}
|
|
83
|
-
type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown';
|
|
84
|
+
type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
|
|
84
85
|
namespace Indicator {
|
|
85
|
-
type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase';
|
|
86
|
-
type Indicator = 'account_balance' | 'aov' | 'charge_concentration' | 'dispute_window' | 'disputes' | 'duplicates' | 'exposure' | 'firmographic' | 'lifetime_metrics' | 'payment_processing' | 'payment_volume' | 'payouts' | 'refunds' | 'related_accounts' | 'tenure' | 'transfers';
|
|
86
|
+
type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
|
|
87
|
+
type Indicator = 'account_balance' | 'aov' | 'charge_concentration' | 'dispute_window' | 'disputes' | 'duplicates' | 'exposure' | 'firmographic' | 'lifetime_metrics' | 'payment_processing' | 'payment_volume' | 'payouts' | 'refunds' | 'related_accounts' | 'tenure' | 'transfers' | OtherString;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
namespace FraudIntent {
|
|
@@ -101,10 +102,10 @@ export declare namespace AccountSignals {
|
|
|
101
102
|
*/
|
|
102
103
|
indicator: Indicator.Indicator;
|
|
103
104
|
}
|
|
104
|
-
type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown';
|
|
105
|
+
type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
|
|
105
106
|
namespace Indicator {
|
|
106
|
-
type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase';
|
|
107
|
-
type Indicator = 'bank_account' | 'business_information_and_account_activity' | 'disputes' | 'failures' | 'geo_location' | 'other' | 'other_related_accounts' | 'other_transaction_activity' | 'owner_email' | 'web_presence';
|
|
107
|
+
type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
|
|
108
|
+
type Indicator = 'bank_account' | 'business_information_and_account_activity' | 'disputes' | 'failures' | 'geo_location' | 'other' | 'other_related_accounts' | 'other_transaction_activity' | 'owner_email' | 'web_presence' | OtherString;
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
}
|
|
@@ -7,7 +7,7 @@ import { AccountSignals } from './AccountSignals.js';
|
|
|
7
7
|
import { RiskSignals } from './RiskSignals.js';
|
|
8
8
|
import { File } from './Files.js';
|
|
9
9
|
import { TaxId } from './TaxIds.js';
|
|
10
|
-
import { Emptyable, MetadataParam, AddressParam, JapanAddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
|
|
10
|
+
import { Emptyable, MetadataParam, AddressParam, OtherString, JapanAddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
|
|
11
11
|
import { RequestOptions, Response, ApiListPromise, ApiList } from '../lib.js';
|
|
12
12
|
export declare class AccountResource extends StripeResource {
|
|
13
13
|
/**
|
|
@@ -121,7 +121,7 @@ export declare class AccountResource extends StripeResource {
|
|
|
121
121
|
*/
|
|
122
122
|
createLoginLink(id: string, params?: AccountCreateLoginLinkParams, options?: RequestOptions): Promise<Response<LoginLink>>;
|
|
123
123
|
/**
|
|
124
|
-
* Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the
|
|
124
|
+
* Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the representative. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
|
|
125
125
|
*/
|
|
126
126
|
deletePerson(accountId: string, id: string, params?: AccountDeletePersonParams, options?: RequestOptions): Promise<Response<DeletedPerson>>;
|
|
127
127
|
/**
|
|
@@ -300,7 +300,7 @@ export declare namespace Account {
|
|
|
300
300
|
*/
|
|
301
301
|
url: string | null;
|
|
302
302
|
}
|
|
303
|
-
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
|
|
303
|
+
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
|
|
304
304
|
interface Capabilities {
|
|
305
305
|
/**
|
|
306
306
|
* The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.
|
|
@@ -840,7 +840,7 @@ export declare namespace Account {
|
|
|
840
840
|
*/
|
|
841
841
|
user_agent?: string | null;
|
|
842
842
|
}
|
|
843
|
-
type Type = 'custom' | 'express' | 'none' | 'standard';
|
|
843
|
+
type Type = 'custom' | 'express' | 'none' | 'standard' | OtherString;
|
|
844
844
|
namespace BusinessProfile {
|
|
845
845
|
interface AnnualRevenue {
|
|
846
846
|
/**
|
|
@@ -856,7 +856,7 @@ export declare namespace Account {
|
|
|
856
856
|
*/
|
|
857
857
|
fiscal_year_end: string | null;
|
|
858
858
|
}
|
|
859
|
-
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
|
|
859
|
+
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
|
|
860
860
|
interface MonthlyEstimatedRevenue {
|
|
861
861
|
/**
|
|
862
862
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -1038,7 +1038,7 @@ export declare namespace Account {
|
|
|
1038
1038
|
*/
|
|
1039
1039
|
user_agent: string | null;
|
|
1040
1040
|
}
|
|
1041
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
1041
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
1042
1042
|
interface RegistrationDate {
|
|
1043
1043
|
/**
|
|
1044
1044
|
* The day of registration, between 1 and 31.
|
|
@@ -1067,7 +1067,7 @@ export declare namespace Account {
|
|
|
1067
1067
|
*/
|
|
1068
1068
|
user_agent: string | null;
|
|
1069
1069
|
}
|
|
1070
|
-
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
|
|
1070
|
+
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
|
|
1071
1071
|
interface Verification {
|
|
1072
1072
|
document: Verification.Document;
|
|
1073
1073
|
}
|
|
@@ -1125,7 +1125,7 @@ export declare namespace Account {
|
|
|
1125
1125
|
*/
|
|
1126
1126
|
payments: Losses.Payments;
|
|
1127
1127
|
}
|
|
1128
|
-
type RequirementCollection = 'application' | 'stripe';
|
|
1128
|
+
type RequirementCollection = 'application' | 'stripe' | OtherString;
|
|
1129
1129
|
interface StripeDashboard {
|
|
1130
1130
|
/**
|
|
1131
1131
|
* A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
|
@@ -1137,13 +1137,13 @@ export declare namespace Account {
|
|
|
1137
1137
|
type Type = 'express' | 'full' | 'none';
|
|
1138
1138
|
}
|
|
1139
1139
|
namespace Fees {
|
|
1140
|
-
type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta';
|
|
1140
|
+
type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta' | OtherString;
|
|
1141
1141
|
}
|
|
1142
1142
|
namespace Losses {
|
|
1143
|
-
type Payments = 'application' | 'stripe';
|
|
1143
|
+
type Payments = 'application' | 'stripe' | OtherString;
|
|
1144
1144
|
}
|
|
1145
1145
|
namespace StripeDashboard {
|
|
1146
|
-
type Type = 'express' | 'full' | 'none';
|
|
1146
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
namespace FutureRequirements {
|
|
@@ -1219,7 +1219,7 @@ export declare namespace Account {
|
|
|
1219
1219
|
*/
|
|
1220
1220
|
pause_requested: boolean;
|
|
1221
1221
|
}
|
|
1222
|
-
type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service';
|
|
1222
|
+
type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service' | OtherString;
|
|
1223
1223
|
}
|
|
1224
1224
|
namespace Settings {
|
|
1225
1225
|
interface BacsDebitPayments {
|
|
@@ -1423,7 +1423,7 @@ export declare namespace Account {
|
|
|
1423
1423
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
1424
1424
|
}
|
|
1425
1425
|
namespace Schedule {
|
|
1426
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
1426
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
1429
|
namespace PaypayPayments {
|
|
@@ -1635,7 +1635,7 @@ export declare namespace AccountCreateParams {
|
|
|
1635
1635
|
*/
|
|
1636
1636
|
url?: string;
|
|
1637
1637
|
}
|
|
1638
|
-
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
|
|
1638
|
+
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
|
|
1639
1639
|
interface Capabilities {
|
|
1640
1640
|
/**
|
|
1641
1641
|
* The acss_debit_payments capability.
|
|
@@ -2033,6 +2033,8 @@ export declare namespace AccountCreateParams {
|
|
|
2033
2033
|
structure?: Emptyable<Company.Structure>;
|
|
2034
2034
|
/**
|
|
2035
2035
|
* The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
|
2036
|
+
*
|
|
2037
|
+
* Changing this value requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
2036
2038
|
*/
|
|
2037
2039
|
tax_id?: string;
|
|
2038
2040
|
/**
|
|
@@ -2349,7 +2351,7 @@ export declare namespace AccountCreateParams {
|
|
|
2349
2351
|
*/
|
|
2350
2352
|
fiscal_year_end: string;
|
|
2351
2353
|
}
|
|
2352
|
-
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
|
|
2354
|
+
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
|
|
2353
2355
|
interface MonthlyEstimatedRevenue {
|
|
2354
2356
|
/**
|
|
2355
2357
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -2886,7 +2888,7 @@ export declare namespace AccountCreateParams {
|
|
|
2886
2888
|
*/
|
|
2887
2889
|
user_agent?: string;
|
|
2888
2890
|
}
|
|
2889
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
2891
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
2890
2892
|
interface RegistrationDate {
|
|
2891
2893
|
/**
|
|
2892
2894
|
* The day of registration, between 1 and 31.
|
|
@@ -2915,7 +2917,7 @@ export declare namespace AccountCreateParams {
|
|
|
2915
2917
|
*/
|
|
2916
2918
|
user_agent?: string;
|
|
2917
2919
|
}
|
|
2918
|
-
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
|
|
2920
|
+
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
|
|
2919
2921
|
interface Verification {
|
|
2920
2922
|
/**
|
|
2921
2923
|
* A document verifying the business.
|
|
@@ -2968,7 +2970,7 @@ export declare namespace AccountCreateParams {
|
|
|
2968
2970
|
*/
|
|
2969
2971
|
payments?: Losses.Payments;
|
|
2970
2972
|
}
|
|
2971
|
-
type RequirementCollection = 'application' | 'stripe';
|
|
2973
|
+
type RequirementCollection = 'application' | 'stripe' | OtherString;
|
|
2972
2974
|
interface StripeDashboard {
|
|
2973
2975
|
/**
|
|
2974
2976
|
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
@@ -2976,16 +2978,16 @@ export declare namespace AccountCreateParams {
|
|
|
2976
2978
|
type?: StripeDashboard.Type;
|
|
2977
2979
|
}
|
|
2978
2980
|
namespace Dashboard {
|
|
2979
|
-
type Type = 'express' | 'full' | 'none';
|
|
2981
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
2980
2982
|
}
|
|
2981
2983
|
namespace Fees {
|
|
2982
|
-
type Payer = 'account' | 'application';
|
|
2984
|
+
type Payer = 'account' | 'application' | OtherString;
|
|
2983
2985
|
}
|
|
2984
2986
|
namespace Losses {
|
|
2985
|
-
type Payments = 'application' | 'stripe';
|
|
2987
|
+
type Payments = 'application' | 'stripe' | OtherString;
|
|
2986
2988
|
}
|
|
2987
2989
|
namespace StripeDashboard {
|
|
2988
|
-
type Type = 'express' | 'full' | 'none';
|
|
2990
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
2989
2991
|
}
|
|
2990
2992
|
}
|
|
2991
2993
|
namespace Documents {
|
|
@@ -3083,7 +3085,7 @@ export declare namespace AccountCreateParams {
|
|
|
3083
3085
|
*/
|
|
3084
3086
|
year: number;
|
|
3085
3087
|
}
|
|
3086
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
3088
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
3087
3089
|
interface Relationship {
|
|
3088
3090
|
/**
|
|
3089
3091
|
* Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
|
@@ -3347,7 +3349,7 @@ export declare namespace AccountCreateParams {
|
|
|
3347
3349
|
}
|
|
3348
3350
|
}
|
|
3349
3351
|
namespace Invoices {
|
|
3350
|
-
type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
|
|
3352
|
+
type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
|
|
3351
3353
|
}
|
|
3352
3354
|
namespace Payouts {
|
|
3353
3355
|
interface Schedule {
|
|
@@ -3379,7 +3381,7 @@ export declare namespace AccountCreateParams {
|
|
|
3379
3381
|
namespace Schedule {
|
|
3380
3382
|
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
3381
3383
|
type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
3382
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
3384
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
3383
3385
|
}
|
|
3384
3386
|
}
|
|
3385
3387
|
namespace PaypayPayments {
|
|
@@ -3589,7 +3591,7 @@ export declare namespace AccountUpdateParams {
|
|
|
3589
3591
|
*/
|
|
3590
3592
|
url?: string;
|
|
3591
3593
|
}
|
|
3592
|
-
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
|
|
3594
|
+
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
|
|
3593
3595
|
interface Capabilities {
|
|
3594
3596
|
/**
|
|
3595
3597
|
* The acss_debit_payments capability.
|
|
@@ -3984,6 +3986,8 @@ export declare namespace AccountUpdateParams {
|
|
|
3984
3986
|
structure?: Emptyable<Company.Structure>;
|
|
3985
3987
|
/**
|
|
3986
3988
|
* The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
|
3989
|
+
*
|
|
3990
|
+
* Changing this value requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
3987
3991
|
*/
|
|
3988
3992
|
tax_id?: string;
|
|
3989
3993
|
/**
|
|
@@ -4298,7 +4302,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4298
4302
|
*/
|
|
4299
4303
|
fiscal_year_end: string;
|
|
4300
4304
|
}
|
|
4301
|
-
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
|
|
4305
|
+
type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
|
|
4302
4306
|
interface MonthlyEstimatedRevenue {
|
|
4303
4307
|
/**
|
|
4304
4308
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -4835,7 +4839,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4835
4839
|
*/
|
|
4836
4840
|
user_agent?: string;
|
|
4837
4841
|
}
|
|
4838
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
4842
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
4839
4843
|
interface RegistrationDate {
|
|
4840
4844
|
/**
|
|
4841
4845
|
* The day of registration, between 1 and 31.
|
|
@@ -4864,7 +4868,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4864
4868
|
*/
|
|
4865
4869
|
user_agent?: string;
|
|
4866
4870
|
}
|
|
4867
|
-
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
|
|
4871
|
+
type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
|
|
4868
4872
|
interface Verification {
|
|
4869
4873
|
/**
|
|
4870
4874
|
* A document verifying the business.
|
|
@@ -4979,7 +4983,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4979
4983
|
*/
|
|
4980
4984
|
year: number;
|
|
4981
4985
|
}
|
|
4982
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
4986
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
4983
4987
|
interface Relationship {
|
|
4984
4988
|
/**
|
|
4985
4989
|
* Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
|
@@ -5247,7 +5251,7 @@ export declare namespace AccountUpdateParams {
|
|
|
5247
5251
|
}
|
|
5248
5252
|
}
|
|
5249
5253
|
namespace Invoices {
|
|
5250
|
-
type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
|
|
5254
|
+
type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
|
|
5251
5255
|
}
|
|
5252
5256
|
namespace Payouts {
|
|
5253
5257
|
interface Schedule {
|
|
@@ -5279,7 +5283,7 @@ export declare namespace AccountUpdateParams {
|
|
|
5279
5283
|
namespace Schedule {
|
|
5280
5284
|
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
5281
5285
|
type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
5282
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
5286
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
5283
5287
|
}
|
|
5284
5288
|
}
|
|
5285
5289
|
namespace PaypayPayments {
|
|
@@ -5504,10 +5508,14 @@ export interface AccountCreatePersonParams {
|
|
|
5504
5508
|
gender?: string;
|
|
5505
5509
|
/**
|
|
5506
5510
|
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
5511
|
+
*
|
|
5512
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
5507
5513
|
*/
|
|
5508
5514
|
id_number?: string;
|
|
5509
5515
|
/**
|
|
5510
5516
|
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
5517
|
+
*
|
|
5518
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
5511
5519
|
*/
|
|
5512
5520
|
id_number_secondary?: string;
|
|
5513
5521
|
/**
|
|
@@ -5564,6 +5572,8 @@ export interface AccountCreatePersonParams {
|
|
|
5564
5572
|
self_reported_monthly_housing_payment?: AccountCreatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
5565
5573
|
/**
|
|
5566
5574
|
* The last four digits of the person's Social Security number (U.S. only).
|
|
5575
|
+
*
|
|
5576
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
5567
5577
|
*/
|
|
5568
5578
|
ssn_last_4?: string;
|
|
5569
5579
|
/**
|
|
@@ -5610,7 +5620,7 @@ export declare namespace AccountCreatePersonParams {
|
|
|
5610
5620
|
*/
|
|
5611
5621
|
visa?: Documents.Visa;
|
|
5612
5622
|
}
|
|
5613
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
5623
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
5614
5624
|
interface Relationship {
|
|
5615
5625
|
/**
|
|
5616
5626
|
* Whether the person is the authorizer of the account's representative.
|
|
@@ -5747,10 +5757,10 @@ export declare namespace AccountCreatePersonParams {
|
|
|
5747
5757
|
race_other?: string;
|
|
5748
5758
|
}
|
|
5749
5759
|
namespace EthnicityDetails {
|
|
5750
|
-
type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican';
|
|
5760
|
+
type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican' | OtherString;
|
|
5751
5761
|
}
|
|
5752
5762
|
namespace RaceDetails {
|
|
5753
|
-
type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white';
|
|
5763
|
+
type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white' | OtherString;
|
|
5754
5764
|
}
|
|
5755
5765
|
}
|
|
5756
5766
|
namespace Verification {
|
|
@@ -6038,10 +6048,14 @@ export interface AccountUpdatePersonParams {
|
|
|
6038
6048
|
gender?: string;
|
|
6039
6049
|
/**
|
|
6040
6050
|
* The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
6051
|
+
*
|
|
6052
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
6041
6053
|
*/
|
|
6042
6054
|
id_number?: string;
|
|
6043
6055
|
/**
|
|
6044
6056
|
* The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
6057
|
+
*
|
|
6058
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
6045
6059
|
*/
|
|
6046
6060
|
id_number_secondary?: string;
|
|
6047
6061
|
/**
|
|
@@ -6098,6 +6112,8 @@ export interface AccountUpdatePersonParams {
|
|
|
6098
6112
|
self_reported_monthly_housing_payment?: AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
6099
6113
|
/**
|
|
6100
6114
|
* The last four digits of the person's Social Security number (U.S. only).
|
|
6115
|
+
*
|
|
6116
|
+
* Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
|
|
6101
6117
|
*/
|
|
6102
6118
|
ssn_last_4?: string;
|
|
6103
6119
|
/**
|
|
@@ -6144,7 +6160,7 @@ export declare namespace AccountUpdatePersonParams {
|
|
|
6144
6160
|
*/
|
|
6145
6161
|
visa?: Documents.Visa;
|
|
6146
6162
|
}
|
|
6147
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
6163
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
6148
6164
|
interface Relationship {
|
|
6149
6165
|
/**
|
|
6150
6166
|
* Whether the person is the authorizer of the account's representative.
|
|
@@ -6281,10 +6297,10 @@ export declare namespace AccountUpdatePersonParams {
|
|
|
6281
6297
|
race_other?: string;
|
|
6282
6298
|
}
|
|
6283
6299
|
namespace EthnicityDetails {
|
|
6284
|
-
type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican';
|
|
6300
|
+
type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican' | OtherString;
|
|
6285
6301
|
}
|
|
6286
6302
|
namespace RaceDetails {
|
|
6287
|
-
type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white';
|
|
6303
|
+
type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white' | OtherString;
|
|
6288
6304
|
}
|
|
6289
6305
|
}
|
|
6290
6306
|
namespace Verification {
|
|
@@ -187,7 +187,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
|
|
|
187
187
|
return this._makeRequest('POST', `/v1/accounts/${encodeURIComponent(id)}/login_links`, params, options);
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
|
-
* Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the
|
|
190
|
+
* Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the representative. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
|
|
191
191
|
*/
|
|
192
192
|
deletePerson(accountId, id, params, options) {
|
|
193
193
|
return this._makeRequest('DELETE', `/v1/accounts/${encodeURIComponent(accountId)}/persons/${encodeURIComponent(id)}`, params, options);
|