stripe 22.4.0-alpha.2 → 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 +85 -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/StripeEventNotificationHandler.js +5 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +75 -11
- package/cjs/Types.js.map +1 -1
- package/cjs/Webhooks.d.ts +2 -2
- package/cjs/apiVersion.d.ts +1 -1
- package/cjs/apiVersion.js +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 +59 -41
- package/cjs/resources/Accounts.js +2 -2
- 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/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +16 -0
- 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 +7 -6
- 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 +6 -6
- package/cjs/resources/Cards.d.ts +4 -4
- package/cjs/resources/Charges.d.ts +91 -91
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +203 -178
- 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 +23 -23
- 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 +17 -13
- package/cjs/resources/Disputes.js +1 -1
- 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 +25 -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 +155 -149
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +78 -31
- 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 +61 -6
- 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 +45 -45
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/cjs/resources/PaymentIntents.d.ts +645 -567
- 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 +39 -39
- package/cjs/resources/PaymentMethods.js +1 -1
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +159 -57
- 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 +6 -6
- 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/PromotionCodes.d.ts +2 -2
- package/cjs/resources/QuoteLines.d.ts +23 -23
- package/cjs/resources/QuotePreviewInvoices.d.ts +33 -27
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
- package/cjs/resources/Quotes.d.ts +142 -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 +16 -7
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +138 -132
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +17 -17
- 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 +559 -110
- 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 +5 -5
- package/cjs/resources/Tax/Calculations.d.ts +16 -16
- 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 +169 -155
- 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 +11 -11
- 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 +218 -17
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +4 -0
- 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/ContractPricingLineQuantityChanges.d.ts +2 -2
- package/cjs/resources/V2/Billing/Contracts.d.ts +146 -437
- package/cjs/resources/V2/Billing/Contracts.js +8 -284
- 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 +61 -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 +103 -33
- 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 +4 -3
- 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 +14 -3
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -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 +255 -93
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +16 -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/StripeEventNotificationHandler.js +5 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +75 -11
- package/esm/Types.js.map +1 -1
- package/esm/Webhooks.d.ts +2 -2
- package/esm/apiVersion.d.ts +1 -1
- package/esm/apiVersion.js +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 +59 -41
- package/esm/resources/Accounts.js +2 -2
- 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/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +16 -0
- 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 +7 -6
- 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 +6 -6
- package/esm/resources/Cards.d.ts +4 -4
- package/esm/resources/Charges.d.ts +91 -91
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +203 -178
- 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 +23 -23
- 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 +17 -13
- package/esm/resources/Disputes.js +1 -1
- 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 +25 -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 +155 -149
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +78 -31
- 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 +61 -6
- 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 +45 -45
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
- package/esm/resources/PaymentIntents.d.ts +645 -567
- 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 +39 -39
- package/esm/resources/PaymentMethods.js +1 -1
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +159 -57
- 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 +6 -6
- 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/PromotionCodes.d.ts +2 -2
- package/esm/resources/QuoteLines.d.ts +23 -23
- package/esm/resources/QuotePreviewInvoices.d.ts +33 -27
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
- package/esm/resources/Quotes.d.ts +142 -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 +16 -7
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +138 -132
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +17 -17
- 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 +559 -110
- 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 +5 -5
- package/esm/resources/Tax/Calculations.d.ts +16 -16
- 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 +169 -155
- 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 +11 -11
- 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 +218 -17
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +4 -0
- 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/ContractPricingLineQuantityChanges.d.ts +2 -2
- package/esm/resources/V2/Billing/Contracts.d.ts +146 -437
- package/esm/resources/V2/Billing/Contracts.js +8 -284
- 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 +61 -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 +103 -33
- 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 +4 -3
- 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 +14 -3
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -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 +16 -8
- package/esm/stripe.core.js +6 -7
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +16 -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
|
@@ -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
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class AccountResource extends StripeResource {
|
|
|
52
52
|
* With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
53
53
|
* To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
54
54
|
*
|
|
55
|
-
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/
|
|
55
|
+
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
|
|
56
56
|
* creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
57
57
|
* You can prefill any information on the account.
|
|
58
58
|
*/
|
|
@@ -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.
|
|
@@ -629,6 +629,7 @@ export declare namespace Account {
|
|
|
629
629
|
* The Kanji variation of the company's primary address (Japan only).
|
|
630
630
|
*/
|
|
631
631
|
address_kanji?: Company.AddressKanji | null;
|
|
632
|
+
administrative_address?: Address;
|
|
632
633
|
/**
|
|
633
634
|
* Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided).
|
|
634
635
|
*/
|
|
@@ -677,6 +678,7 @@ export declare namespace Account {
|
|
|
677
678
|
* The company's phone number (used for verification).
|
|
678
679
|
*/
|
|
679
680
|
phone?: string | null;
|
|
681
|
+
principal_place_of_business?: Address;
|
|
680
682
|
registration_date?: Company.RegistrationDate;
|
|
681
683
|
/**
|
|
682
684
|
* This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
|
@@ -740,7 +742,7 @@ export declare namespace Account {
|
|
|
740
742
|
*/
|
|
741
743
|
disabled_reason: FutureRequirements.DisabledReason | null;
|
|
742
744
|
/**
|
|
743
|
-
*
|
|
745
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
744
746
|
*/
|
|
745
747
|
errors: Array<FutureRequirements.Error> | null;
|
|
746
748
|
/**
|
|
@@ -780,7 +782,7 @@ export declare namespace Account {
|
|
|
780
782
|
*/
|
|
781
783
|
disabled_reason: Requirements.DisabledReason | null;
|
|
782
784
|
/**
|
|
783
|
-
*
|
|
785
|
+
* Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
784
786
|
*/
|
|
785
787
|
errors: Array<Requirements.Error> | null;
|
|
786
788
|
/**
|
|
@@ -838,7 +840,7 @@ export declare namespace Account {
|
|
|
838
840
|
*/
|
|
839
841
|
user_agent?: string | null;
|
|
840
842
|
}
|
|
841
|
-
type Type = 'custom' | 'express' | 'none' | 'standard';
|
|
843
|
+
type Type = 'custom' | 'express' | 'none' | 'standard' | OtherString;
|
|
842
844
|
namespace BusinessProfile {
|
|
843
845
|
interface AnnualRevenue {
|
|
844
846
|
/**
|
|
@@ -854,7 +856,7 @@ export declare namespace Account {
|
|
|
854
856
|
*/
|
|
855
857
|
fiscal_year_end: string | null;
|
|
856
858
|
}
|
|
857
|
-
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;
|
|
858
860
|
interface MonthlyEstimatedRevenue {
|
|
859
861
|
/**
|
|
860
862
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -1036,7 +1038,7 @@ export declare namespace Account {
|
|
|
1036
1038
|
*/
|
|
1037
1039
|
user_agent: string | null;
|
|
1038
1040
|
}
|
|
1039
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
1041
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
1040
1042
|
interface RegistrationDate {
|
|
1041
1043
|
/**
|
|
1042
1044
|
* The day of registration, between 1 and 31.
|
|
@@ -1065,7 +1067,7 @@ export declare namespace Account {
|
|
|
1065
1067
|
*/
|
|
1066
1068
|
user_agent: string | null;
|
|
1067
1069
|
}
|
|
1068
|
-
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;
|
|
1069
1071
|
interface Verification {
|
|
1070
1072
|
document: Verification.Document;
|
|
1071
1073
|
}
|
|
@@ -1123,7 +1125,7 @@ export declare namespace Account {
|
|
|
1123
1125
|
*/
|
|
1124
1126
|
payments: Losses.Payments;
|
|
1125
1127
|
}
|
|
1126
|
-
type RequirementCollection = 'application' | 'stripe';
|
|
1128
|
+
type RequirementCollection = 'application' | 'stripe' | OtherString;
|
|
1127
1129
|
interface StripeDashboard {
|
|
1128
1130
|
/**
|
|
1129
1131
|
* A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
|
@@ -1135,13 +1137,13 @@ export declare namespace Account {
|
|
|
1135
1137
|
type Type = 'express' | 'full' | 'none';
|
|
1136
1138
|
}
|
|
1137
1139
|
namespace Fees {
|
|
1138
|
-
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;
|
|
1139
1141
|
}
|
|
1140
1142
|
namespace Losses {
|
|
1141
|
-
type Payments = 'application' | 'stripe';
|
|
1143
|
+
type Payments = 'application' | 'stripe' | OtherString;
|
|
1142
1144
|
}
|
|
1143
1145
|
namespace StripeDashboard {
|
|
1144
|
-
type Type = 'express' | 'full' | 'none';
|
|
1146
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
1145
1147
|
}
|
|
1146
1148
|
}
|
|
1147
1149
|
namespace FutureRequirements {
|
|
@@ -1217,7 +1219,7 @@ export declare namespace Account {
|
|
|
1217
1219
|
*/
|
|
1218
1220
|
pause_requested: boolean;
|
|
1219
1221
|
}
|
|
1220
|
-
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;
|
|
1221
1223
|
}
|
|
1222
1224
|
namespace Settings {
|
|
1223
1225
|
interface BacsDebitPayments {
|
|
@@ -1421,7 +1423,7 @@ export declare namespace Account {
|
|
|
1421
1423
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
1422
1424
|
}
|
|
1423
1425
|
namespace Schedule {
|
|
1424
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
1426
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
1425
1427
|
}
|
|
1426
1428
|
}
|
|
1427
1429
|
namespace PaypayPayments {
|
|
@@ -1633,7 +1635,7 @@ export declare namespace AccountCreateParams {
|
|
|
1633
1635
|
*/
|
|
1634
1636
|
url?: string;
|
|
1635
1637
|
}
|
|
1636
|
-
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
|
|
1638
|
+
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
|
|
1637
1639
|
interface Capabilities {
|
|
1638
1640
|
/**
|
|
1639
1641
|
* The acss_debit_payments capability.
|
|
@@ -2031,6 +2033,8 @@ export declare namespace AccountCreateParams {
|
|
|
2031
2033
|
structure?: Emptyable<Company.Structure>;
|
|
2032
2034
|
/**
|
|
2033
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).
|
|
2034
2038
|
*/
|
|
2035
2039
|
tax_id?: string;
|
|
2036
2040
|
/**
|
|
@@ -2347,7 +2351,7 @@ export declare namespace AccountCreateParams {
|
|
|
2347
2351
|
*/
|
|
2348
2352
|
fiscal_year_end: string;
|
|
2349
2353
|
}
|
|
2350
|
-
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;
|
|
2351
2355
|
interface MonthlyEstimatedRevenue {
|
|
2352
2356
|
/**
|
|
2353
2357
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -2884,7 +2888,7 @@ export declare namespace AccountCreateParams {
|
|
|
2884
2888
|
*/
|
|
2885
2889
|
user_agent?: string;
|
|
2886
2890
|
}
|
|
2887
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
2891
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
2888
2892
|
interface RegistrationDate {
|
|
2889
2893
|
/**
|
|
2890
2894
|
* The day of registration, between 1 and 31.
|
|
@@ -2913,7 +2917,7 @@ export declare namespace AccountCreateParams {
|
|
|
2913
2917
|
*/
|
|
2914
2918
|
user_agent?: string;
|
|
2915
2919
|
}
|
|
2916
|
-
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;
|
|
2917
2921
|
interface Verification {
|
|
2918
2922
|
/**
|
|
2919
2923
|
* A document verifying the business.
|
|
@@ -2966,7 +2970,7 @@ export declare namespace AccountCreateParams {
|
|
|
2966
2970
|
*/
|
|
2967
2971
|
payments?: Losses.Payments;
|
|
2968
2972
|
}
|
|
2969
|
-
type RequirementCollection = 'application' | 'stripe';
|
|
2973
|
+
type RequirementCollection = 'application' | 'stripe' | OtherString;
|
|
2970
2974
|
interface StripeDashboard {
|
|
2971
2975
|
/**
|
|
2972
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`.
|
|
@@ -2974,16 +2978,16 @@ export declare namespace AccountCreateParams {
|
|
|
2974
2978
|
type?: StripeDashboard.Type;
|
|
2975
2979
|
}
|
|
2976
2980
|
namespace Dashboard {
|
|
2977
|
-
type Type = 'express' | 'full' | 'none';
|
|
2981
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
2978
2982
|
}
|
|
2979
2983
|
namespace Fees {
|
|
2980
|
-
type Payer = 'account' | 'application';
|
|
2984
|
+
type Payer = 'account' | 'application' | OtherString;
|
|
2981
2985
|
}
|
|
2982
2986
|
namespace Losses {
|
|
2983
|
-
type Payments = 'application' | 'stripe';
|
|
2987
|
+
type Payments = 'application' | 'stripe' | OtherString;
|
|
2984
2988
|
}
|
|
2985
2989
|
namespace StripeDashboard {
|
|
2986
|
-
type Type = 'express' | 'full' | 'none';
|
|
2990
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
2987
2991
|
}
|
|
2988
2992
|
}
|
|
2989
2993
|
namespace Documents {
|
|
@@ -3081,7 +3085,7 @@ export declare namespace AccountCreateParams {
|
|
|
3081
3085
|
*/
|
|
3082
3086
|
year: number;
|
|
3083
3087
|
}
|
|
3084
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
3088
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
3085
3089
|
interface Relationship {
|
|
3086
3090
|
/**
|
|
3087
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.
|
|
@@ -3345,7 +3349,7 @@ export declare namespace AccountCreateParams {
|
|
|
3345
3349
|
}
|
|
3346
3350
|
}
|
|
3347
3351
|
namespace Invoices {
|
|
3348
|
-
type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
|
|
3352
|
+
type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
|
|
3349
3353
|
}
|
|
3350
3354
|
namespace Payouts {
|
|
3351
3355
|
interface Schedule {
|
|
@@ -3377,7 +3381,7 @@ export declare namespace AccountCreateParams {
|
|
|
3377
3381
|
namespace Schedule {
|
|
3378
3382
|
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
3379
3383
|
type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
3380
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
3384
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
3381
3385
|
}
|
|
3382
3386
|
}
|
|
3383
3387
|
namespace PaypayPayments {
|
|
@@ -3587,7 +3591,7 @@ export declare namespace AccountUpdateParams {
|
|
|
3587
3591
|
*/
|
|
3588
3592
|
url?: string;
|
|
3589
3593
|
}
|
|
3590
|
-
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
|
|
3594
|
+
type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
|
|
3591
3595
|
interface Capabilities {
|
|
3592
3596
|
/**
|
|
3593
3597
|
* The acss_debit_payments capability.
|
|
@@ -3982,6 +3986,8 @@ export declare namespace AccountUpdateParams {
|
|
|
3982
3986
|
structure?: Emptyable<Company.Structure>;
|
|
3983
3987
|
/**
|
|
3984
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).
|
|
3985
3991
|
*/
|
|
3986
3992
|
tax_id?: string;
|
|
3987
3993
|
/**
|
|
@@ -4296,7 +4302,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4296
4302
|
*/
|
|
4297
4303
|
fiscal_year_end: string;
|
|
4298
4304
|
}
|
|
4299
|
-
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;
|
|
4300
4306
|
interface MonthlyEstimatedRevenue {
|
|
4301
4307
|
/**
|
|
4302
4308
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
@@ -4833,7 +4839,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4833
4839
|
*/
|
|
4834
4840
|
user_agent?: string;
|
|
4835
4841
|
}
|
|
4836
|
-
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
4842
|
+
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
|
|
4837
4843
|
interface RegistrationDate {
|
|
4838
4844
|
/**
|
|
4839
4845
|
* The day of registration, between 1 and 31.
|
|
@@ -4862,7 +4868,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4862
4868
|
*/
|
|
4863
4869
|
user_agent?: string;
|
|
4864
4870
|
}
|
|
4865
|
-
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;
|
|
4866
4872
|
interface Verification {
|
|
4867
4873
|
/**
|
|
4868
4874
|
* A document verifying the business.
|
|
@@ -4977,7 +4983,7 @@ export declare namespace AccountUpdateParams {
|
|
|
4977
4983
|
*/
|
|
4978
4984
|
year: number;
|
|
4979
4985
|
}
|
|
4980
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
4986
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
4981
4987
|
interface Relationship {
|
|
4982
4988
|
/**
|
|
4983
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.
|
|
@@ -5245,7 +5251,7 @@ export declare namespace AccountUpdateParams {
|
|
|
5245
5251
|
}
|
|
5246
5252
|
}
|
|
5247
5253
|
namespace Invoices {
|
|
5248
|
-
type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
|
|
5254
|
+
type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
|
|
5249
5255
|
}
|
|
5250
5256
|
namespace Payouts {
|
|
5251
5257
|
interface Schedule {
|
|
@@ -5277,7 +5283,7 @@ export declare namespace AccountUpdateParams {
|
|
|
5277
5283
|
namespace Schedule {
|
|
5278
5284
|
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
5279
5285
|
type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
5280
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
5286
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
5281
5287
|
}
|
|
5282
5288
|
}
|
|
5283
5289
|
namespace PaypayPayments {
|
|
@@ -5502,10 +5508,14 @@ export interface AccountCreatePersonParams {
|
|
|
5502
5508
|
gender?: string;
|
|
5503
5509
|
/**
|
|
5504
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).
|
|
5505
5513
|
*/
|
|
5506
5514
|
id_number?: string;
|
|
5507
5515
|
/**
|
|
5508
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).
|
|
5509
5519
|
*/
|
|
5510
5520
|
id_number_secondary?: string;
|
|
5511
5521
|
/**
|
|
@@ -5562,6 +5572,8 @@ export interface AccountCreatePersonParams {
|
|
|
5562
5572
|
self_reported_monthly_housing_payment?: AccountCreatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
5563
5573
|
/**
|
|
5564
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).
|
|
5565
5577
|
*/
|
|
5566
5578
|
ssn_last_4?: string;
|
|
5567
5579
|
/**
|
|
@@ -5608,7 +5620,7 @@ export declare namespace AccountCreatePersonParams {
|
|
|
5608
5620
|
*/
|
|
5609
5621
|
visa?: Documents.Visa;
|
|
5610
5622
|
}
|
|
5611
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
5623
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
5612
5624
|
interface Relationship {
|
|
5613
5625
|
/**
|
|
5614
5626
|
* Whether the person is the authorizer of the account's representative.
|
|
@@ -5745,10 +5757,10 @@ export declare namespace AccountCreatePersonParams {
|
|
|
5745
5757
|
race_other?: string;
|
|
5746
5758
|
}
|
|
5747
5759
|
namespace EthnicityDetails {
|
|
5748
|
-
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;
|
|
5749
5761
|
}
|
|
5750
5762
|
namespace RaceDetails {
|
|
5751
|
-
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;
|
|
5752
5764
|
}
|
|
5753
5765
|
}
|
|
5754
5766
|
namespace Verification {
|
|
@@ -6036,10 +6048,14 @@ export interface AccountUpdatePersonParams {
|
|
|
6036
6048
|
gender?: string;
|
|
6037
6049
|
/**
|
|
6038
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).
|
|
6039
6053
|
*/
|
|
6040
6054
|
id_number?: string;
|
|
6041
6055
|
/**
|
|
6042
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).
|
|
6043
6059
|
*/
|
|
6044
6060
|
id_number_secondary?: string;
|
|
6045
6061
|
/**
|
|
@@ -6096,6 +6112,8 @@ export interface AccountUpdatePersonParams {
|
|
|
6096
6112
|
self_reported_monthly_housing_payment?: AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
6097
6113
|
/**
|
|
6098
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).
|
|
6099
6117
|
*/
|
|
6100
6118
|
ssn_last_4?: string;
|
|
6101
6119
|
/**
|
|
@@ -6142,7 +6160,7 @@ export declare namespace AccountUpdatePersonParams {
|
|
|
6142
6160
|
*/
|
|
6143
6161
|
visa?: Documents.Visa;
|
|
6144
6162
|
}
|
|
6145
|
-
type PoliticalExposure = 'existing' | 'none';
|
|
6163
|
+
type PoliticalExposure = 'existing' | 'none' | OtherString;
|
|
6146
6164
|
interface Relationship {
|
|
6147
6165
|
/**
|
|
6148
6166
|
* Whether the person is the authorizer of the account's representative.
|
|
@@ -6279,10 +6297,10 @@ export declare namespace AccountUpdatePersonParams {
|
|
|
6279
6297
|
race_other?: string;
|
|
6280
6298
|
}
|
|
6281
6299
|
namespace EthnicityDetails {
|
|
6282
|
-
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;
|
|
6283
6301
|
}
|
|
6284
6302
|
namespace RaceDetails {
|
|
6285
|
-
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;
|
|
6286
6304
|
}
|
|
6287
6305
|
}
|
|
6288
6306
|
namespace Verification {
|
|
@@ -63,7 +63,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
|
|
|
63
63
|
* With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
64
64
|
* To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
65
65
|
*
|
|
66
|
-
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/
|
|
66
|
+
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
|
|
67
67
|
* creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
68
68
|
* You can prefill any information on the account.
|
|
69
69
|
*/
|
|
@@ -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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../src/resources/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;
|
|
1
|
+
{"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../src/resources/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAsBpD,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,EAAU,EACV,MAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAiB,EACjB,MAA8B,EAC9B,OAAwB;QAExB,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE;YAC1B,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAA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Account } from './Accounts.js';
|
|
|
4
4
|
import { Application } from './Applications.js';
|
|
5
5
|
import { BalanceTransaction } from './BalanceTransactions.js';
|
|
6
6
|
import { Charge } from './Charges.js';
|
|
7
|
-
import { PaginationParams, RangeQueryParam, MetadataParam, Emptyable } from '../shared.js';
|
|
7
|
+
import { PaginationParams, RangeQueryParam, MetadataParam, Emptyable, OtherString } from '../shared.js';
|
|
8
8
|
import { RequestOptions, ApiListPromise, Response, ApiList } from '../lib.js';
|
|
9
9
|
export declare class ApplicationFeeResource extends StripeResource {
|
|
10
10
|
/**
|
|
@@ -147,7 +147,7 @@ export declare namespace ApplicationFee {
|
|
|
147
147
|
}
|
|
148
148
|
type SettlementType = 'gross_settled' | 'net_settled';
|
|
149
149
|
namespace FeeSource {
|
|
150
|
-
type Type = 'charge' | 'payout' | 'transfer';
|
|
150
|
+
type Type = 'charge' | 'payout' | 'transfer' | OtherString;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
export interface ApplicationFeeRetrieveParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationFees.js","sourceRoot":"","sources":["../../src/resources/ApplicationFees.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;
|
|
1
|
+
{"version":3,"file":"ApplicationFees.js","sourceRoot":"","sources":["../../src/resources/ApplicationFees.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAepD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,KAAa,EACb,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,YAAY,CACV,KAAa,EACb,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;;;;;OAUG;IACH,YAAY,CACV,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1GD,wDA0GC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
-
import { PaginationParams } from '../../shared.js';
|
|
2
|
+
import { OtherString, PaginationParams } from '../../shared.js';
|
|
3
3
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
4
4
|
export declare class SecretResource extends StripeResource {
|
|
5
5
|
/**
|
|
@@ -66,7 +66,7 @@ export declare namespace Secret {
|
|
|
66
66
|
user?: string;
|
|
67
67
|
}
|
|
68
68
|
namespace Scope {
|
|
69
|
-
type Type = 'account' | 'user';
|
|
69
|
+
type Type = 'account' | 'user' | OtherString;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
export declare namespace Apps {
|
|
@@ -104,7 +104,7 @@ export declare namespace Apps {
|
|
|
104
104
|
user?: string;
|
|
105
105
|
}
|
|
106
106
|
namespace Scope {
|
|
107
|
-
type Type = 'account' | 'user';
|
|
107
|
+
type Type = 'account' | 'user' | OtherString;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -131,7 +131,7 @@ export declare namespace Apps {
|
|
|
131
131
|
user?: string;
|
|
132
132
|
}
|
|
133
133
|
namespace Scope {
|
|
134
|
-
type Type = 'account' | 'user';
|
|
134
|
+
type Type = 'account' | 'user' | OtherString;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
@@ -162,7 +162,7 @@ export declare namespace Apps {
|
|
|
162
162
|
user?: string;
|
|
163
163
|
}
|
|
164
164
|
namespace Scope {
|
|
165
|
-
type Type = 'account' | 'user';
|
|
165
|
+
type Type = 'account' | 'user' | OtherString;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
@@ -193,7 +193,7 @@ export declare namespace Apps {
|
|
|
193
193
|
user?: string;
|
|
194
194
|
}
|
|
195
195
|
namespace Scope {
|
|
196
|
-
type Type = 'account' | 'user';
|
|
196
|
+
type Type = 'account' | 'user' | OtherString;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
-
import { Emptyable } from '../shared.js';
|
|
2
|
+
import { Emptyable, OtherString } from '../shared.js';
|
|
3
3
|
import { RequestOptions, Response } from '../lib.js';
|
|
4
4
|
export declare class BalanceSettingResource extends StripeResource {
|
|
5
5
|
/**
|
|
@@ -69,7 +69,7 @@ export declare namespace BalanceSettings {
|
|
|
69
69
|
*/
|
|
70
70
|
status: Payouts.Status;
|
|
71
71
|
}
|
|
72
|
-
type SettlementCurrencies = 'disabled' | 'enabled' | 'restricted_by_application';
|
|
72
|
+
type SettlementCurrencies = 'disabled' | 'enabled' | 'restricted_by_application' | OtherString;
|
|
73
73
|
interface SettlementTiming {
|
|
74
74
|
/**
|
|
75
75
|
* The number of days charge funds are held before becoming available.
|
|
@@ -113,13 +113,13 @@ export declare namespace BalanceSettings {
|
|
|
113
113
|
*/
|
|
114
114
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
115
115
|
}
|
|
116
|
-
type Status = 'disabled' | 'enabled';
|
|
116
|
+
type Status = 'disabled' | 'enabled' | OtherString;
|
|
117
117
|
namespace AutomaticTransferRulesByCurrency {
|
|
118
|
-
type Type = 'transfer_all' | 'transfer_up_to_amount';
|
|
118
|
+
type Type = 'transfer_all' | 'transfer_up_to_amount' | OtherString;
|
|
119
119
|
}
|
|
120
120
|
namespace Schedule {
|
|
121
|
-
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
122
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
121
|
+
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly' | OtherString;
|
|
122
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
namespace SettlementTiming {
|
|
@@ -200,7 +200,7 @@ export declare namespace BalanceSettingsUpdateParams {
|
|
|
200
200
|
*/
|
|
201
201
|
statement_descriptor?: string;
|
|
202
202
|
}
|
|
203
|
-
type SettlementCurrencies = 'disabled' | 'enabled';
|
|
203
|
+
type SettlementCurrencies = 'disabled' | 'enabled' | OtherString;
|
|
204
204
|
interface SettlementTiming {
|
|
205
205
|
/**
|
|
206
206
|
* Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](https://docs.stripe.com/connect/manage-payout-schedule).
|
|
@@ -241,11 +241,11 @@ export declare namespace BalanceSettingsUpdateParams {
|
|
|
241
241
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
242
242
|
}
|
|
243
243
|
namespace AutomaticTransferRulesByCurrency {
|
|
244
|
-
type Type = 'transfer_all' | 'transfer_up_to_amount';
|
|
244
|
+
type Type = 'transfer_all' | 'transfer_up_to_amount' | OtherString;
|
|
245
245
|
}
|
|
246
246
|
namespace Schedule {
|
|
247
|
-
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
248
|
-
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
247
|
+
type Interval = 'daily' | 'manual' | 'monthly' | 'weekly' | OtherString;
|
|
248
|
+
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
namespace SettlementTiming {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
2
|
import { BalanceTransactionSource } from './BalanceTransactionSources.js';
|
|
3
|
-
import { PaginationParams, RangeQueryParam } from '../shared.js';
|
|
3
|
+
import { PaginationParams, RangeQueryParam, OtherString } from '../shared.js';
|
|
4
4
|
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
5
5
|
export declare class BalanceTransactionResource extends StripeResource {
|
|
6
6
|
/**
|
|
@@ -50,7 +50,7 @@ export interface BalanceTransaction {
|
|
|
50
50
|
*/
|
|
51
51
|
description: string | null;
|
|
52
52
|
/**
|
|
53
|
-
* If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A,
|
|
53
|
+
* If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A, multiplied by the `exchange_rate`, equals the `amount` in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntent's `amount` is `1000` and `currency` is `eur`. If this converts to 12.34 USD in your Stripe account, the BalanceTransaction's `amount` is `1234`, its `currency` is `usd`, and the `exchange_rate` is `1.234`.
|
|
54
54
|
*/
|
|
55
55
|
exchange_rate: number | null;
|
|
56
56
|
/**
|
|
@@ -83,7 +83,7 @@ export interface BalanceTransaction {
|
|
|
83
83
|
type: BalanceTransaction.Type;
|
|
84
84
|
}
|
|
85
85
|
export declare namespace BalanceTransaction {
|
|
86
|
-
type BalanceType = 'fee_credits' | 'issuing' | 'payments' | 'refund_and_dispute_prefunding' | 'risk_reserved' | 'transit';
|
|
86
|
+
type BalanceType = 'fee_credits' | 'issuing' | 'payments' | 'refund_and_dispute_prefunding' | 'risk_reserved' | 'transit' | OtherString;
|
|
87
87
|
interface FeeDetail {
|
|
88
88
|
/**
|
|
89
89
|
* Amount of the fee, in cents.
|