stripe 23.1.0 → 23.2.0-beta.1
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 +1914 -4850
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -0
- package/cjs/Error.js +17 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +54 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +625 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +351 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +14 -0
- package/cjs/resources/Events.d.ts +614 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1257 -10
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4696 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13832 -2816
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +181 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
- package/cjs/resources/Radar/index.d.ts +21 -16
- package/cjs/resources/Radar/index.js +2 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +394 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +114 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +388 -6
- package/cjs/resources/Subscriptions.js +42 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +25 -2
- package/cjs/resources/Tax/index.d.ts +24 -17
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1009 -5
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +24 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +34 -0
- package/cjs/resources/V2/Data/index.js +21 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/cjs/resources/V2/MoneyManagement/index.js +6 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +18 -0
- package/cjs/resources/V2/index.js +16 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +126 -8
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6674 -138
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +60 -26
- package/cjs/stripe.core.js +55 -36
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -0
- package/esm/Error.js +14 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +54 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +625 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +351 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +14 -0
- package/esm/resources/Events.d.ts +614 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1257 -10
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +19 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4696 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13832 -2816
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +181 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -1
- package/esm/resources/Radar/index.d.ts +21 -16
- package/esm/resources/Radar/index.js +2 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +394 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +114 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +388 -6
- package/esm/resources/Subscriptions.js +42 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +25 -2
- package/esm/resources/Tax/index.d.ts +24 -17
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1009 -5
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +24 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +34 -0
- package/esm/resources/V2/Data/index.js +17 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/esm/resources/V2/MoneyManagement/index.js +6 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/esm/resources/V2/Signals/AccountSignals.js +62 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +18 -0
- package/esm/resources/V2/index.js +12 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +112 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +60 -26
- package/esm/stripe.core.js +21 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +60 -26
- package/esm/stripe.esm.node.js +21 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -311,6 +311,10 @@ export declare namespace Reader {
|
|
|
311
311
|
metadata: Metadata | null;
|
|
312
312
|
}
|
|
313
313
|
interface CollectPaymentMethod {
|
|
314
|
+
/**
|
|
315
|
+
* Account the payment intent belongs to.
|
|
316
|
+
*/
|
|
317
|
+
account?: string;
|
|
314
318
|
/**
|
|
315
319
|
* Represents a per-transaction override of a reader configuration
|
|
316
320
|
*/
|
|
@@ -329,6 +333,10 @@ export declare namespace Reader {
|
|
|
329
333
|
payment_method?: PaymentMethod;
|
|
330
334
|
}
|
|
331
335
|
interface ConfirmPaymentIntent {
|
|
336
|
+
/**
|
|
337
|
+
* Account the payment intent belongs to.
|
|
338
|
+
*/
|
|
339
|
+
account?: string;
|
|
332
340
|
/**
|
|
333
341
|
* Represents a per-transaction override of a reader configuration
|
|
334
342
|
*/
|
|
@@ -349,6 +357,10 @@ export declare namespace Reader {
|
|
|
349
357
|
type: 'image';
|
|
350
358
|
}
|
|
351
359
|
interface ProcessPaymentIntent {
|
|
360
|
+
/**
|
|
361
|
+
* Account the payment intent belongs to.
|
|
362
|
+
*/
|
|
363
|
+
account?: string;
|
|
352
364
|
/**
|
|
353
365
|
* Most recent PaymentIntent processed by the reader.
|
|
354
366
|
*/
|
|
@@ -373,6 +385,10 @@ export declare namespace Reader {
|
|
|
373
385
|
setup_intent: string | SetupIntent;
|
|
374
386
|
}
|
|
375
387
|
interface RefundPayment {
|
|
388
|
+
/**
|
|
389
|
+
* Account the payment intent belongs to.
|
|
390
|
+
*/
|
|
391
|
+
account?: string;
|
|
376
392
|
/**
|
|
377
393
|
* The amount being refunded.
|
|
378
394
|
*/
|
|
@@ -423,7 +439,7 @@ export declare namespace Reader {
|
|
|
423
439
|
type Status = 'failed' | 'in_progress' | 'succeeded' | OtherString;
|
|
424
440
|
type Type = 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display' | OtherString;
|
|
425
441
|
namespace ApiError {
|
|
426
|
-
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | OtherString;
|
|
442
|
+
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_institution_unavailable' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sensitive_data_access_expired' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_collected_data_invalid' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | 'v2_account_disconnection_unsupported' | 'v2_account_missing_configuration' | OtherString;
|
|
427
443
|
type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | OtherString;
|
|
428
444
|
}
|
|
429
445
|
namespace CollectInputs {
|
|
@@ -4,11 +4,13 @@ import { Terminal as TerminalNamespace1, ConnectionToken, ConnectionTokenResourc
|
|
|
4
4
|
import { Terminal as TerminalNamespace2, Location, DeletedLocation, LocationResource } from './Locations.js';
|
|
5
5
|
import { Terminal as TerminalNamespace3, OnboardingLink, OnboardingLinkResource } from './OnboardingLinks.js';
|
|
6
6
|
import { Terminal as TerminalNamespace4, Reader, DeletedReader, ReaderResource } from './Readers.js';
|
|
7
|
+
import { Terminal as TerminalNamespace5, ReaderCollectedData, ReaderCollectedDatumResource } from './ReaderCollectedData.js';
|
|
7
8
|
export { Configuration } from './Configurations.js';
|
|
8
9
|
export { ConnectionToken } from './ConnectionTokens.js';
|
|
9
10
|
export { Location } from './Locations.js';
|
|
10
11
|
export { OnboardingLink } from './OnboardingLinks.js';
|
|
11
12
|
export { Reader } from './Readers.js';
|
|
13
|
+
export { ReaderCollectedData } from './ReaderCollectedData.js';
|
|
12
14
|
export declare class Terminal {
|
|
13
15
|
private readonly stripe;
|
|
14
16
|
configurations: ConfigurationResource;
|
|
@@ -16,6 +18,7 @@ export declare class Terminal {
|
|
|
16
18
|
locations: LocationResource;
|
|
17
19
|
onboardingLinks: OnboardingLinkResource;
|
|
18
20
|
readers: ReaderResource;
|
|
21
|
+
readerCollectedData: ReaderCollectedDatumResource;
|
|
19
22
|
constructor(stripe: Stripe);
|
|
20
23
|
}
|
|
21
24
|
export declare namespace Terminal {
|
|
@@ -52,4 +55,6 @@ export declare namespace Terminal {
|
|
|
52
55
|
export import ReaderSetReaderDisplayParams = TerminalNamespace4.ReaderSetReaderDisplayParams;
|
|
53
56
|
export { DeletedReader };
|
|
54
57
|
export { Reader, ReaderResource };
|
|
58
|
+
export import ReaderCollectedDataRetrieveParams = TerminalNamespace5.ReaderCollectedDataRetrieveParams;
|
|
59
|
+
export { ReaderCollectedData, ReaderCollectedDatumResource };
|
|
55
60
|
}
|
|
@@ -7,6 +7,7 @@ const ConnectionTokens_js_1 = require("./ConnectionTokens.js");
|
|
|
7
7
|
const Locations_js_1 = require("./Locations.js");
|
|
8
8
|
const OnboardingLinks_js_1 = require("./OnboardingLinks.js");
|
|
9
9
|
const Readers_js_1 = require("./Readers.js");
|
|
10
|
+
const ReaderCollectedData_js_1 = require("./ReaderCollectedData.js");
|
|
10
11
|
class Terminal {
|
|
11
12
|
constructor(stripe) {
|
|
12
13
|
this.stripe = stripe;
|
|
@@ -15,6 +16,7 @@ class Terminal {
|
|
|
15
16
|
this.locations = new Locations_js_1.LocationResource(stripe);
|
|
16
17
|
this.onboardingLinks = new OnboardingLinks_js_1.OnboardingLinkResource(stripe);
|
|
17
18
|
this.readers = new Readers_js_1.ReaderResource(stripe);
|
|
19
|
+
this.readerCollectedData = new ReaderCollectedData_js_1.ReaderCollectedDatumResource(stripe);
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
exports.Terminal = Terminal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Terminal/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2DAK6B;AAC7B,+DAI+B;AAC/B,iDAKwB;AACxB,6DAI8B;AAC9B,6CAKsB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Terminal/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2DAK6B;AAC7B,+DAI+B;AAC/B,iDAKwB;AACxB,6DAI8B;AAC9B,6CAKsB;AACtB,qEAIkC;AASlC,MAAa,QAAQ;IAQnB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,cAAc,GAAG,IAAI,yCAAqB,CAAC,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,gBAAgB,GAAG,IAAI,6CAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,SAAS,GAAG,IAAI,+BAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,IAAI,2CAAsB,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,IAAI,2BAAc,CAAC,MAAM,CAAC,CAAC;QAC1C,IAAI,CAAC,mBAAmB,GAAG,IAAI,qDAA4B,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;CACF;AAhBD,4BAgBC"}
|
|
@@ -127,10 +127,18 @@ export declare namespace TestHelpers {
|
|
|
127
127
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
128
128
|
*/
|
|
129
129
|
giropay?: PaymentMethodData.Giropay;
|
|
130
|
+
/**
|
|
131
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
132
|
+
*/
|
|
133
|
+
gopay?: PaymentMethodData.Gopay;
|
|
130
134
|
/**
|
|
131
135
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
132
136
|
*/
|
|
133
137
|
grabpay?: PaymentMethodData.Grabpay;
|
|
138
|
+
/**
|
|
139
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
140
|
+
*/
|
|
141
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
134
142
|
/**
|
|
135
143
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
136
144
|
*/
|
|
@@ -223,10 +231,18 @@ export declare namespace TestHelpers {
|
|
|
223
231
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
224
232
|
*/
|
|
225
233
|
promptpay?: PaymentMethodData.Promptpay;
|
|
234
|
+
/**
|
|
235
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
236
|
+
*/
|
|
237
|
+
qris?: PaymentMethodData.Qris;
|
|
226
238
|
/**
|
|
227
239
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
228
240
|
*/
|
|
229
241
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
242
|
+
/**
|
|
243
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
244
|
+
*/
|
|
245
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
230
246
|
/**
|
|
231
247
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
232
248
|
*/
|
|
@@ -251,10 +267,22 @@ export declare namespace TestHelpers {
|
|
|
251
267
|
* If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
|
|
252
268
|
*/
|
|
253
269
|
sequra?: PaymentMethodData.Sequra;
|
|
270
|
+
/**
|
|
271
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
272
|
+
*/
|
|
273
|
+
shared_payment_granted_token?: string;
|
|
274
|
+
/**
|
|
275
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
276
|
+
*/
|
|
277
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
254
278
|
/**
|
|
255
279
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
256
280
|
*/
|
|
257
281
|
sofort?: PaymentMethodData.Sofort;
|
|
282
|
+
/**
|
|
283
|
+
* This hash contains details about the Stripe balance payment method.
|
|
284
|
+
*/
|
|
285
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
258
286
|
/**
|
|
259
287
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
260
288
|
*/
|
|
@@ -283,6 +311,10 @@ export declare namespace TestHelpers {
|
|
|
283
311
|
* If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
|
284
312
|
*/
|
|
285
313
|
wechat_pay?: PaymentMethodData.WechatPay;
|
|
314
|
+
/**
|
|
315
|
+
* If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
|
|
316
|
+
*/
|
|
317
|
+
wero?: PaymentMethodData.Wero;
|
|
286
318
|
/**
|
|
287
319
|
* If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
|
288
320
|
*/
|
|
@@ -415,8 +447,16 @@ export declare namespace TestHelpers {
|
|
|
415
447
|
}
|
|
416
448
|
interface Giropay {
|
|
417
449
|
}
|
|
450
|
+
interface Gopay {
|
|
451
|
+
}
|
|
418
452
|
interface Grabpay {
|
|
419
453
|
}
|
|
454
|
+
interface IdBankTransfer {
|
|
455
|
+
/**
|
|
456
|
+
* Bank where the account is held.
|
|
457
|
+
*/
|
|
458
|
+
bank?: IdBankTransfer.Bank;
|
|
459
|
+
}
|
|
420
460
|
interface Ideal {
|
|
421
461
|
/**
|
|
422
462
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -510,12 +550,20 @@ export declare namespace TestHelpers {
|
|
|
510
550
|
}
|
|
511
551
|
interface Promptpay {
|
|
512
552
|
}
|
|
553
|
+
interface Qris {
|
|
554
|
+
}
|
|
513
555
|
interface RadarOptions {
|
|
514
556
|
/**
|
|
515
557
|
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
516
558
|
*/
|
|
517
559
|
session?: string;
|
|
518
560
|
}
|
|
561
|
+
interface Rechnung {
|
|
562
|
+
/**
|
|
563
|
+
* Customer's date of birth
|
|
564
|
+
*/
|
|
565
|
+
dob: Rechnung.Dob;
|
|
566
|
+
}
|
|
519
567
|
interface RevolutPay {
|
|
520
568
|
}
|
|
521
569
|
interface SamsungPay {
|
|
@@ -532,19 +580,27 @@ export declare namespace TestHelpers {
|
|
|
532
580
|
}
|
|
533
581
|
interface Sequra {
|
|
534
582
|
}
|
|
583
|
+
interface Shopeepay {
|
|
584
|
+
}
|
|
535
585
|
interface Sofort {
|
|
536
586
|
/**
|
|
537
587
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
538
588
|
*/
|
|
539
589
|
country: Sofort.Country;
|
|
540
590
|
}
|
|
591
|
+
interface StripeBalance {
|
|
592
|
+
/**
|
|
593
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
594
|
+
*/
|
|
595
|
+
account?: string;
|
|
596
|
+
}
|
|
541
597
|
interface Sunbit {
|
|
542
598
|
}
|
|
543
599
|
interface Swish {
|
|
544
600
|
}
|
|
545
601
|
interface Twint {
|
|
546
602
|
}
|
|
547
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
603
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
548
604
|
interface Upi {
|
|
549
605
|
/**
|
|
550
606
|
* Configuration options for setting up an eMandate
|
|
@@ -564,6 +620,10 @@ export declare namespace TestHelpers {
|
|
|
564
620
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
565
621
|
*/
|
|
566
622
|
account_type?: UsBankAccount.AccountType;
|
|
623
|
+
/**
|
|
624
|
+
* An external token used to create a payment method.
|
|
625
|
+
*/
|
|
626
|
+
external_token?: UsBankAccount.ExternalToken;
|
|
567
627
|
/**
|
|
568
628
|
* The ID of a Financial Connections Account to use as a payment method.
|
|
569
629
|
*/
|
|
@@ -575,6 +635,8 @@ export declare namespace TestHelpers {
|
|
|
575
635
|
}
|
|
576
636
|
interface WechatPay {
|
|
577
637
|
}
|
|
638
|
+
interface Wero {
|
|
639
|
+
}
|
|
578
640
|
interface Zip {
|
|
579
641
|
}
|
|
580
642
|
namespace Eps {
|
|
@@ -584,6 +646,9 @@ export declare namespace TestHelpers {
|
|
|
584
646
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
585
647
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
586
648
|
}
|
|
649
|
+
namespace IdBankTransfer {
|
|
650
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
|
|
651
|
+
}
|
|
587
652
|
namespace Ideal {
|
|
588
653
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
|
|
589
654
|
}
|
|
@@ -609,6 +674,22 @@ export declare namespace TestHelpers {
|
|
|
609
674
|
namespace P24 {
|
|
610
675
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
|
|
611
676
|
}
|
|
677
|
+
namespace Rechnung {
|
|
678
|
+
interface Dob {
|
|
679
|
+
/**
|
|
680
|
+
* The day of birth, between 1 and 31.
|
|
681
|
+
*/
|
|
682
|
+
day: number;
|
|
683
|
+
/**
|
|
684
|
+
* The month of birth, between 1 and 12.
|
|
685
|
+
*/
|
|
686
|
+
month: number;
|
|
687
|
+
/**
|
|
688
|
+
* The four-digit year of birth.
|
|
689
|
+
*/
|
|
690
|
+
year: number;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
612
693
|
namespace Sofort {
|
|
613
694
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
|
|
614
695
|
}
|
|
@@ -638,6 +719,19 @@ export declare namespace TestHelpers {
|
|
|
638
719
|
namespace UsBankAccount {
|
|
639
720
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
640
721
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
722
|
+
interface ExternalToken {
|
|
723
|
+
/**
|
|
724
|
+
* The Plaid processor token to use for this bank account.
|
|
725
|
+
*/
|
|
726
|
+
plaid_processor_token?: string;
|
|
727
|
+
/**
|
|
728
|
+
* The type of external token.
|
|
729
|
+
*/
|
|
730
|
+
type: ExternalToken.Type;
|
|
731
|
+
}
|
|
732
|
+
namespace ExternalToken {
|
|
733
|
+
type Type = 'plaid_processor_token' | OtherString;
|
|
734
|
+
}
|
|
641
735
|
}
|
|
642
736
|
}
|
|
643
737
|
namespace PaymentMethodOptions {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { GrantedToken } from './../../SharedPayment/GrantedTokens.js';
|
|
3
|
+
import { Emptyable } from '../../../shared.js';
|
|
4
|
+
import { RequestOptions, Response } from '../../../lib.js';
|
|
5
|
+
export declare class GrantedTokenResource extends StripeResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new test SharedPaymentGrantedToken object. This test helper allows sellers to create SharedPaymentGrantedTokens for testing their integration.
|
|
8
|
+
*/
|
|
9
|
+
create(params: TestHelpers.SharedPayment.GrantedTokenCreateParams, options?: RequestOptions): Promise<Response<GrantedToken>>;
|
|
10
|
+
/**
|
|
11
|
+
* Revokes a test SharedPaymentGrantedToken object. This test helper allows sellers to revoke SharedPaymentGrantedTokens for testing their integration.
|
|
12
|
+
*/
|
|
13
|
+
revoke(id: string, params?: TestHelpers.SharedPayment.GrantedTokenRevokeParams, options?: RequestOptions): Promise<Response<GrantedToken>>;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace TestHelpers {
|
|
16
|
+
namespace SharedPayment {
|
|
17
|
+
interface GrantedTokenCreateParams {
|
|
18
|
+
/**
|
|
19
|
+
* The PaymentMethod that is going to be shared by the SharedPaymentGrantedToken.
|
|
20
|
+
*/
|
|
21
|
+
payment_method: string;
|
|
22
|
+
/**
|
|
23
|
+
* Limits on how this SharedPaymentGrantedToken can be used.
|
|
24
|
+
*/
|
|
25
|
+
usage_limits: GrantedTokenCreateParams.UsageLimits;
|
|
26
|
+
/**
|
|
27
|
+
* The Customer that the SharedPaymentGrantedToken belongs to. Should match the Customer that the PaymentMethod is attached to if any.
|
|
28
|
+
*/
|
|
29
|
+
customer?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies which fields in the response should be expanded.
|
|
32
|
+
*/
|
|
33
|
+
expand?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentGrantedToken.
|
|
36
|
+
*/
|
|
37
|
+
shared_metadata?: Emptyable<{
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
}>;
|
|
40
|
+
}
|
|
41
|
+
namespace GrantedTokenCreateParams {
|
|
42
|
+
interface UsageLimits {
|
|
43
|
+
/**
|
|
44
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
45
|
+
*/
|
|
46
|
+
currency: string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
|
|
49
|
+
*/
|
|
50
|
+
expires_at?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Max amount that can be captured using this SharedPaymentToken
|
|
53
|
+
*/
|
|
54
|
+
max_amount: number;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export declare namespace TestHelpers {
|
|
60
|
+
namespace SharedPayment {
|
|
61
|
+
interface GrantedTokenRevokeParams {
|
|
62
|
+
/**
|
|
63
|
+
* Specifies which fields in the response should be expanded.
|
|
64
|
+
*/
|
|
65
|
+
expand?: Array<string>;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GrantedTokenResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class GrantedTokenResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new test SharedPaymentGrantedToken object. This test helper allows sellers to create SharedPaymentGrantedTokens for testing their integration.
|
|
9
|
+
*/
|
|
10
|
+
create(params, options) {
|
|
11
|
+
return this._makeRequest('POST', '/v1/test_helpers/shared_payment/granted_tokens', params, options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Revokes a test SharedPaymentGrantedToken object. This test helper allows sellers to revoke SharedPaymentGrantedTokens for testing their integration.
|
|
15
|
+
*/
|
|
16
|
+
revoke(id, params, options) {
|
|
17
|
+
return this._makeRequest('POST', `/v1/test_helpers/shared_payment/granted_tokens/${encodeURIComponent(id)}/revoke`, params, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.GrantedTokenResource = GrantedTokenResource;
|
|
21
|
+
//# sourceMappingURL=GrantedTokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrantedTokens.js","sourceRoot":"","sources":["../../../../src/resources/TestHelpers/SharedPayment/GrantedTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAK1D,MAAa,oBAAqB,SAAQ,kCAAc;IACtD;;OAEG;IACH,MAAM,CACJ,MAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,gDAAgD,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,kDAAkD,kBAAkB,CAClE,EAAE,CACH,SAAS,EACV,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAhCD,oDAgCC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
2
|
+
import { GrantedTokenResource } from './GrantedTokens.js';
|
|
3
|
+
export declare class SharedPayment {
|
|
4
|
+
private readonly stripe;
|
|
5
|
+
grantedTokens: GrantedTokenResource;
|
|
6
|
+
constructor(stripe: Stripe);
|
|
7
|
+
}
|
|
8
|
+
export declare namespace SharedPayment { }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SharedPayment = void 0;
|
|
5
|
+
const GrantedTokens_js_1 = require("./GrantedTokens.js");
|
|
6
|
+
class SharedPayment {
|
|
7
|
+
constructor(stripe) {
|
|
8
|
+
this.stripe = stripe;
|
|
9
|
+
this.grantedTokens = new GrantedTokens_js_1.GrantedTokenResource(stripe);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SharedPayment = SharedPayment;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/TestHelpers/SharedPayment/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,yDAG4B;AAE5B,MAAa,aAAa;IAGxB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAoB,CAAC,MAAM,CAAC,CAAC;IACxD,CAAC;CACF;AAND,sCAMC"}
|
|
@@ -39,6 +39,10 @@ export declare namespace TestHelpers {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
+
/**
|
|
43
|
+
* Details about the network used for the ReceivedCredit.
|
|
44
|
+
*/
|
|
45
|
+
network_details?: ReceivedCreditCreateParams.NetworkDetails;
|
|
42
46
|
}
|
|
43
47
|
namespace ReceivedCreditCreateParams {
|
|
44
48
|
type Network = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
|
|
@@ -52,6 +56,16 @@ export declare namespace TestHelpers {
|
|
|
52
56
|
*/
|
|
53
57
|
us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount;
|
|
54
58
|
}
|
|
59
|
+
interface NetworkDetails {
|
|
60
|
+
/**
|
|
61
|
+
* Optional fields for `ach`.
|
|
62
|
+
*/
|
|
63
|
+
ach?: NetworkDetails.Ach;
|
|
64
|
+
/**
|
|
65
|
+
* The type of flow that originated the ReceivedCredit.
|
|
66
|
+
*/
|
|
67
|
+
type: 'ach';
|
|
68
|
+
}
|
|
55
69
|
namespace InitiatingPaymentMethodDetails {
|
|
56
70
|
interface UsBankAccount {
|
|
57
71
|
/**
|
|
@@ -68,6 +82,14 @@ export declare namespace TestHelpers {
|
|
|
68
82
|
routing_number?: string;
|
|
69
83
|
}
|
|
70
84
|
}
|
|
85
|
+
namespace NetworkDetails {
|
|
86
|
+
interface Ach {
|
|
87
|
+
/**
|
|
88
|
+
* ACH Addenda record
|
|
89
|
+
*/
|
|
90
|
+
addenda?: string;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
71
93
|
}
|
|
72
94
|
}
|
|
73
95
|
}
|
|
@@ -38,6 +38,10 @@ export declare namespace TestHelpers {
|
|
|
38
38
|
* Initiating payment method details for the object.
|
|
39
39
|
*/
|
|
40
40
|
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
|
|
41
|
+
/**
|
|
42
|
+
* Details about the network used for the ReceivedDebit.
|
|
43
|
+
*/
|
|
44
|
+
network_details?: ReceivedDebitCreateParams.NetworkDetails;
|
|
41
45
|
}
|
|
42
46
|
namespace ReceivedDebitCreateParams {
|
|
43
47
|
interface InitiatingPaymentMethodDetails {
|
|
@@ -50,6 +54,16 @@ export declare namespace TestHelpers {
|
|
|
50
54
|
*/
|
|
51
55
|
us_bank_account?: InitiatingPaymentMethodDetails.UsBankAccount;
|
|
52
56
|
}
|
|
57
|
+
interface NetworkDetails {
|
|
58
|
+
/**
|
|
59
|
+
* Optional fields for `ach`.
|
|
60
|
+
*/
|
|
61
|
+
ach?: NetworkDetails.Ach;
|
|
62
|
+
/**
|
|
63
|
+
* The type of flow that originated the ReceivedDebit.
|
|
64
|
+
*/
|
|
65
|
+
type: 'ach';
|
|
66
|
+
}
|
|
53
67
|
namespace InitiatingPaymentMethodDetails {
|
|
54
68
|
interface UsBankAccount {
|
|
55
69
|
/**
|
|
@@ -66,6 +80,14 @@ export declare namespace TestHelpers {
|
|
|
66
80
|
routing_number?: string;
|
|
67
81
|
}
|
|
68
82
|
}
|
|
83
|
+
namespace NetworkDetails {
|
|
84
|
+
interface Ach {
|
|
85
|
+
/**
|
|
86
|
+
* Addenda record data associated with this ReceivedDebit.
|
|
87
|
+
*/
|
|
88
|
+
addenda?: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
69
91
|
}
|
|
70
92
|
}
|
|
71
93
|
}
|
|
@@ -4,6 +4,7 @@ import { CustomerResource } from './Customers.js';
|
|
|
4
4
|
import { RefundResource } from './Refunds.js';
|
|
5
5
|
import { TestHelpers as TestHelpersNamespace3, TestClock, DeletedTestClock, TestClockResource } from './TestClocks.js';
|
|
6
6
|
import { Issuing } from './Issuing/index.js';
|
|
7
|
+
import { SharedPayment } from './SharedPayment/index.js';
|
|
7
8
|
import { Terminal } from './Terminal/index.js';
|
|
8
9
|
import { Treasury } from './Treasury/index.js';
|
|
9
10
|
export { TestClock } from './TestClocks.js';
|
|
@@ -14,6 +15,7 @@ export declare class TestHelpers {
|
|
|
14
15
|
refunds: RefundResource;
|
|
15
16
|
testClocks: TestClockResource;
|
|
16
17
|
issuing: Issuing;
|
|
18
|
+
sharedPayment: SharedPayment;
|
|
17
19
|
terminal: Terminal;
|
|
18
20
|
treasury: Treasury;
|
|
19
21
|
constructor(stripe: Stripe);
|
|
@@ -27,6 +29,7 @@ export declare namespace TestHelpers {
|
|
|
27
29
|
export { DeletedTestClock };
|
|
28
30
|
export { TestClock, TestClockResource };
|
|
29
31
|
export { Issuing };
|
|
32
|
+
export { SharedPayment };
|
|
30
33
|
export { Terminal };
|
|
31
34
|
export { Treasury };
|
|
32
35
|
}
|
|
@@ -7,8 +7,9 @@ const Customers_js_1 = require("./Customers.js");
|
|
|
7
7
|
const Refunds_js_1 = require("./Refunds.js");
|
|
8
8
|
const TestClocks_js_1 = require("./TestClocks.js");
|
|
9
9
|
const index_js_1 = require("./Issuing/index.js");
|
|
10
|
-
const index_js_2 = require("./
|
|
11
|
-
const index_js_3 = require("./
|
|
10
|
+
const index_js_2 = require("./SharedPayment/index.js");
|
|
11
|
+
const index_js_3 = require("./Terminal/index.js");
|
|
12
|
+
const index_js_4 = require("./Treasury/index.js");
|
|
12
13
|
class TestHelpers {
|
|
13
14
|
constructor(stripe) {
|
|
14
15
|
this.stripe = stripe;
|
|
@@ -17,8 +18,9 @@ class TestHelpers {
|
|
|
17
18
|
this.refunds = new Refunds_js_1.RefundResource(stripe);
|
|
18
19
|
this.testClocks = new TestClocks_js_1.TestClockResource(stripe);
|
|
19
20
|
this.issuing = new index_js_1.Issuing(stripe);
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
21
|
+
this.sharedPayment = new index_js_2.SharedPayment(stripe);
|
|
22
|
+
this.terminal = new index_js_3.Terminal(stripe);
|
|
23
|
+
this.treasury = new index_js_4.Treasury(stripe);
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
exports.TestHelpers = TestHelpers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,mEAGiC;AACjC,iDAGwB;AACxB,6CAGsB;AACtB,mDAKyB;AACzB,iDAA2C;AAC3C,kDAA6C;AAC7C,kDAA6C;AAI7C,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,mEAGiC;AACjC,iDAGwB;AACxB,6CAGsB;AACtB,mDAKyB;AACzB,iDAA2C;AAC3C,uDAAuD;AACvD,kDAA6C;AAC7C,kDAA6C;AAI7C,MAAa,WAAW;IAUtB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,kBAAkB,GAAG,IAAI,iDAAyB,CAAC,MAAM,CAAC,CAAC;QAChE,IAAI,CAAC,SAAS,GAAG,IAAI,+BAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,IAAI,2BAAc,CAAC,MAAM,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,GAAG,IAAI,iCAAiB,CAAC,MAAM,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,IAAI,kBAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,wBAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;CACF;AApBD,kCAoBC"}
|
|
@@ -55,6 +55,10 @@ export interface Token {
|
|
|
55
55
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
56
56
|
*/
|
|
57
57
|
livemode: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Redaction status of this token. If not null, this token is associated to a redaction job.
|
|
60
|
+
*/
|
|
61
|
+
redaction?: Token.Redaction | null;
|
|
58
62
|
/**
|
|
59
63
|
* Type of the token: `account`, `bank_account`, `card`, or `pii`.
|
|
60
64
|
*/
|
|
@@ -64,6 +68,17 @@ export interface Token {
|
|
|
64
68
|
*/
|
|
65
69
|
used: boolean;
|
|
66
70
|
}
|
|
71
|
+
export declare namespace Token {
|
|
72
|
+
interface Redaction {
|
|
73
|
+
/**
|
|
74
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
75
|
+
*/
|
|
76
|
+
status: Redaction.Status;
|
|
77
|
+
}
|
|
78
|
+
namespace Redaction {
|
|
79
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
67
82
|
export interface TokenCreateParams {
|
|
68
83
|
/**
|
|
69
84
|
* Information for the account this token represents.
|