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
package/cjs/apiVersion.js
CHANGED
|
@@ -20,9 +20,10 @@ export declare class NodePlatformFunctions extends PlatformFunctions {
|
|
|
20
20
|
getEnv(): Record<string, string | undefined>;
|
|
21
21
|
/** @override */
|
|
22
22
|
getRuntimeVersion(): string;
|
|
23
|
-
private
|
|
23
|
+
private _telemetryId;
|
|
24
24
|
/** @override */
|
|
25
|
-
|
|
25
|
+
getTelemetryId(): string | null;
|
|
26
|
+
private _getTelemetryIdPath;
|
|
26
27
|
/**
|
|
27
28
|
* @override
|
|
28
29
|
* Secure compare, from https://github.com/freewil/scmp
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NodePlatformFunctions = void 0;
|
|
4
4
|
const crypto = require("crypto");
|
|
5
|
+
const fs = require("fs");
|
|
5
6
|
const os = require("os");
|
|
7
|
+
const path = require("path");
|
|
6
8
|
const events_1 = require("events");
|
|
7
9
|
const NodeCryptoProvider_js_1 = require("../crypto/NodeCryptoProvider.js");
|
|
8
10
|
const NodeHttpClient_js_1 = require("../net/NodeHttpClient.js");
|
|
@@ -15,6 +17,10 @@ class StreamProcessingError extends Error_js_1.StripeError {
|
|
|
15
17
|
* Specializes WebPlatformFunctions using APIs available in Node.js.
|
|
16
18
|
*/
|
|
17
19
|
class NodePlatformFunctions extends PlatformFunctions_js_1.PlatformFunctions {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this._telemetryId = undefined;
|
|
23
|
+
}
|
|
18
24
|
/** @override */
|
|
19
25
|
uuid4() {
|
|
20
26
|
// available in: v14.17.x+
|
|
@@ -44,39 +50,55 @@ class NodePlatformFunctions extends PlatformFunctions_js_1.PlatformFunctions {
|
|
|
44
50
|
getRuntimeVersion() {
|
|
45
51
|
return process.version;
|
|
46
52
|
}
|
|
47
|
-
|
|
53
|
+
/** @override */
|
|
54
|
+
getTelemetryId() {
|
|
55
|
+
if (this._telemetryId !== undefined) {
|
|
56
|
+
return this._telemetryId;
|
|
57
|
+
}
|
|
58
|
+
const filePath = this._getTelemetryIdPath();
|
|
59
|
+
if (!filePath) {
|
|
60
|
+
this._telemetryId = null;
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
48
63
|
try {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
parts.push(version);
|
|
55
|
-
try {
|
|
56
|
-
parts.push(os.hostname());
|
|
57
|
-
// eslint-disable-next-line no-empty
|
|
64
|
+
// eslint-disable-next-line no-sync
|
|
65
|
+
const content = fs.readFileSync(filePath, 'utf8').trim();
|
|
66
|
+
if (content) {
|
|
67
|
+
this._telemetryId = content;
|
|
68
|
+
return content;
|
|
58
69
|
}
|
|
59
|
-
|
|
60
|
-
|
|
70
|
+
// eslint-disable-next-line no-empty
|
|
71
|
+
}
|
|
72
|
+
catch { }
|
|
73
|
+
const newId = crypto.randomBytes(16).toString('hex');
|
|
74
|
+
try {
|
|
75
|
+
// eslint-disable-next-line no-sync
|
|
76
|
+
fs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
77
|
+
// eslint-disable-next-line no-sync
|
|
78
|
+
fs.writeFileSync(filePath, newId, 'utf8');
|
|
61
79
|
}
|
|
62
80
|
catch {
|
|
81
|
+
this._telemetryId = null;
|
|
63
82
|
return null;
|
|
64
83
|
}
|
|
84
|
+
this._telemetryId = newId;
|
|
85
|
+
return newId;
|
|
65
86
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
.createHash('md5')
|
|
73
|
-
.update(uname)
|
|
74
|
-
.digest('hex')
|
|
75
|
-
: null;
|
|
87
|
+
_getTelemetryIdPath() {
|
|
88
|
+
if (process.platform === 'win32') {
|
|
89
|
+
const appData = process.env.APPDATA;
|
|
90
|
+
if (!appData)
|
|
91
|
+
return null;
|
|
92
|
+
return path.join(appData, 'Stripe', 'telemetry_id');
|
|
76
93
|
}
|
|
77
|
-
|
|
78
|
-
|
|
94
|
+
const xdg = process.env.XDG_CONFIG_HOME;
|
|
95
|
+
if (xdg) {
|
|
96
|
+
return path.join(xdg, 'stripe', 'telemetry_id');
|
|
79
97
|
}
|
|
98
|
+
const home = os.homedir();
|
|
99
|
+
if (!home)
|
|
100
|
+
return null;
|
|
101
|
+
return path.join(home, '.config', 'stripe', 'telemetry_id');
|
|
80
102
|
}
|
|
81
103
|
/**
|
|
82
104
|
* @override
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/NodePlatformFunctions.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;
|
|
1
|
+
{"version":3,"file":"NodePlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/NodePlatformFunctions.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,yBAAyB;AAEzB,yBAAyB;AACzB,6BAA6B;AAE7B,mCAAoC;AAEpC,2EAAmE;AACnE,gEAAwD;AACxD,iEAAyD;AACzD,0CAAwC;AACxC,0CAAmC;AAGnC,MAAM,qBAAsB,SAAQ,sBAAW;CAAG;AAElD;;GAEG;AACH,MAAa,qBAAsB,SAAQ,wCAAiB;IAA5D;;QAkCU,iBAAY,GAA8B,SAAS,CAAC;IAwI9D,CAAC;IAzKC,gBAAgB;IAChB,KAAK;QACH,0BAA0B;QAC1B,IAAI,MAAM,CAAC,UAAU,EAAE;YACrB,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;SAC5B;QACD,OAAO,KAAK,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;IAED,gBAAgB;IAChB,eAAe;QACb,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;IAC5D,CAAC;IAED,gBAAgB;IAChB,WAAW,CAAC,OAAe;QACzB,IAAI,OAAO,OAAO,CAAC,WAAW,KAAK,UAAU,EAAE;YAC7C,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;SACxC;aAAM;YACL,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC5B;IACH,CAAC;IAED,gBAAgB;IAChB,MAAM;QACJ,OAAO,OAAO,CAAC,GAAG,CAAC;IACrB,CAAC;IAED,gBAAgB;IAChB,iBAAiB;QACf,OAAO,OAAO,CAAC,OAAO,CAAC;IACzB,CAAC;IA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"}
|
|
@@ -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;;OA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,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
|
}
|