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
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
2
|
import { Location } from './Locations.js';
|
|
3
|
+
import { GiftCard } from './../GiftCards.js';
|
|
4
|
+
import { GiftCardOperation } from './../GiftCardOperations.js';
|
|
3
5
|
import { PaymentIntent } from './../PaymentIntents.js';
|
|
4
6
|
import { PaymentMethod } from './../PaymentMethods.js';
|
|
5
7
|
import { SetupIntent } from './../SetupIntents.js';
|
|
6
8
|
import { CustomerSource } from './../CustomerSources.js';
|
|
7
9
|
import { Charge } from './../Charges.js';
|
|
8
10
|
import { Refund } from './../Refunds.js';
|
|
9
|
-
import { Emptyable, MetadataParam, PaginationParams, Metadata } from '../../shared.js';
|
|
11
|
+
import { Emptyable, MetadataParam, PaginationParams, OtherString, Metadata } from '../../shared.js';
|
|
10
12
|
import { RequestOptions, Response, ApiListPromise } from '../../lib.js';
|
|
11
13
|
export declare class ReaderResource extends StripeResource {
|
|
12
14
|
/**
|
|
@@ -29,10 +31,22 @@ export declare class ReaderResource extends StripeResource {
|
|
|
29
31
|
* Creates a new Reader object.
|
|
30
32
|
*/
|
|
31
33
|
create(params: Terminal.ReaderCreateParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
34
|
+
/**
|
|
35
|
+
* Initiates a gift card activation flow on a Reader and optionally sets its balance.
|
|
36
|
+
*/
|
|
37
|
+
activateGiftCard(id: string, params: Terminal.ReaderActivateGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
32
38
|
/**
|
|
33
39
|
* Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details.
|
|
34
40
|
*/
|
|
35
|
-
cancelAction(id: string, params?: Terminal.ReaderCancelActionParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
41
|
+
cancelAction(id: string, params?: Terminal.ReaderCancelActionParams, options?: RequestOptions): Promise<Response<Reader | DeletedReader>>;
|
|
42
|
+
/**
|
|
43
|
+
* Initiates a gift card cashout flow on a Reader. A cashout sets the gift card balance to 0.
|
|
44
|
+
*/
|
|
45
|
+
cashoutGiftCard(id: string, params: Terminal.ReaderCashoutGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
46
|
+
/**
|
|
47
|
+
* Initiates a gift card balance check flow on a Reader.
|
|
48
|
+
*/
|
|
49
|
+
checkGiftCardBalance(id: string, params: Terminal.ReaderCheckGiftCardBalanceParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
36
50
|
/**
|
|
37
51
|
* Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers.
|
|
38
52
|
*/
|
|
@@ -57,6 +71,10 @@ export declare class ReaderResource extends StripeResource {
|
|
|
57
71
|
* Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details.
|
|
58
72
|
*/
|
|
59
73
|
refundPayment(id: string, params?: Terminal.ReaderRefundPaymentParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
74
|
+
/**
|
|
75
|
+
* Initiates a gift card reload flow on a Reader by adding the specified amount to its balance.
|
|
76
|
+
*/
|
|
77
|
+
reloadGiftCard(id: string, params: Terminal.ReaderReloadGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
|
|
60
78
|
/**
|
|
61
79
|
* Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display).
|
|
62
80
|
*/
|
|
@@ -143,14 +161,26 @@ export interface DeletedReader {
|
|
|
143
161
|
serial_number: string;
|
|
144
162
|
}
|
|
145
163
|
export declare namespace DeletedReader {
|
|
146
|
-
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
|
|
164
|
+
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
147
165
|
}
|
|
148
166
|
export declare namespace Reader {
|
|
149
167
|
interface Action {
|
|
168
|
+
/**
|
|
169
|
+
* Represents a reader action to activate a gift card
|
|
170
|
+
*/
|
|
171
|
+
activate_gift_card?: Action.ActivateGiftCard;
|
|
150
172
|
/**
|
|
151
173
|
* The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null.
|
|
152
174
|
*/
|
|
153
175
|
api_error: Action.ApiError | null;
|
|
176
|
+
/**
|
|
177
|
+
* Represents a reader action to cash out a gift card
|
|
178
|
+
*/
|
|
179
|
+
cashout_gift_card?: Action.CashoutGiftCard;
|
|
180
|
+
/**
|
|
181
|
+
* Represents a reader action to check a gift card balance
|
|
182
|
+
*/
|
|
183
|
+
check_gift_card_balance?: Action.CheckGiftCardBalance;
|
|
154
184
|
/**
|
|
155
185
|
* Represents a reader action to collect customer inputs
|
|
156
186
|
*/
|
|
@@ -163,6 +193,10 @@ export declare namespace Reader {
|
|
|
163
193
|
* Represents a reader action to confirm a payment
|
|
164
194
|
*/
|
|
165
195
|
confirm_payment_intent?: Action.ConfirmPaymentIntent;
|
|
196
|
+
/**
|
|
197
|
+
* Represents a reader action to deactivate a gift card
|
|
198
|
+
*/
|
|
199
|
+
deactivate_gift_card?: Action.DeactivateGiftCard;
|
|
166
200
|
/**
|
|
167
201
|
* Failure code, only set if status is `failed`.
|
|
168
202
|
*/
|
|
@@ -187,6 +221,10 @@ export declare namespace Reader {
|
|
|
187
221
|
* Represents a reader action to refund a payment
|
|
188
222
|
*/
|
|
189
223
|
refund_payment?: Action.RefundPayment;
|
|
224
|
+
/**
|
|
225
|
+
* Represents a reader action to reload a gift card
|
|
226
|
+
*/
|
|
227
|
+
reload_gift_card?: Action.ReloadGiftCard;
|
|
190
228
|
/**
|
|
191
229
|
* Represents a reader action to set the reader display
|
|
192
230
|
*/
|
|
@@ -200,9 +238,19 @@ export declare namespace Reader {
|
|
|
200
238
|
*/
|
|
201
239
|
type: Action.Type;
|
|
202
240
|
}
|
|
203
|
-
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
|
|
241
|
+
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
204
242
|
type Status = 'offline' | 'online';
|
|
205
243
|
namespace Action {
|
|
244
|
+
interface ActivateGiftCard {
|
|
245
|
+
/**
|
|
246
|
+
* The gift card used in this reader action.
|
|
247
|
+
*/
|
|
248
|
+
gift_card?: string | GiftCard;
|
|
249
|
+
/**
|
|
250
|
+
* The GiftCardOperation created for this reader action.
|
|
251
|
+
*/
|
|
252
|
+
gift_card_operation?: string | GiftCardOperation;
|
|
253
|
+
}
|
|
206
254
|
interface ApiError {
|
|
207
255
|
/**
|
|
208
256
|
* For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
|
|
@@ -224,6 +272,11 @@ export declare namespace Reader {
|
|
|
224
272
|
* A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
225
273
|
*/
|
|
226
274
|
doc_url?: string;
|
|
275
|
+
/**
|
|
276
|
+
* A GiftCardOperation represents an operation performed on a third-party gift card,
|
|
277
|
+
* such as activation, reload, cashout, balance check, or void.
|
|
278
|
+
*/
|
|
279
|
+
gift_card_operation?: GiftCardOperation;
|
|
227
280
|
/**
|
|
228
281
|
* A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
|
229
282
|
*/
|
|
@@ -300,6 +353,26 @@ export declare namespace Reader {
|
|
|
300
353
|
*/
|
|
301
354
|
type: ApiError.Type;
|
|
302
355
|
}
|
|
356
|
+
interface CashoutGiftCard {
|
|
357
|
+
/**
|
|
358
|
+
* The gift card used in this reader action.
|
|
359
|
+
*/
|
|
360
|
+
gift_card?: string | GiftCard;
|
|
361
|
+
/**
|
|
362
|
+
* The GiftCardOperation created for this reader action.
|
|
363
|
+
*/
|
|
364
|
+
gift_card_operation?: string | GiftCardOperation;
|
|
365
|
+
}
|
|
366
|
+
interface CheckGiftCardBalance {
|
|
367
|
+
/**
|
|
368
|
+
* The gift card used in this reader action.
|
|
369
|
+
*/
|
|
370
|
+
gift_card?: string | GiftCard;
|
|
371
|
+
/**
|
|
372
|
+
* The GiftCardOperation created for this reader action.
|
|
373
|
+
*/
|
|
374
|
+
gift_card_operation?: string | GiftCardOperation;
|
|
375
|
+
}
|
|
303
376
|
interface CollectInputs {
|
|
304
377
|
/**
|
|
305
378
|
* List of inputs to be collected.
|
|
@@ -346,6 +419,16 @@ export declare namespace Reader {
|
|
|
346
419
|
*/
|
|
347
420
|
payment_intent: string | PaymentIntent;
|
|
348
421
|
}
|
|
422
|
+
interface DeactivateGiftCard {
|
|
423
|
+
/**
|
|
424
|
+
* The gift card used in this reader action.
|
|
425
|
+
*/
|
|
426
|
+
gift_card?: string | GiftCard;
|
|
427
|
+
/**
|
|
428
|
+
* The GiftCardOperation created for this reader action.
|
|
429
|
+
*/
|
|
430
|
+
gift_card_operation?: string | GiftCardOperation;
|
|
431
|
+
}
|
|
349
432
|
interface PrintContent {
|
|
350
433
|
/**
|
|
351
434
|
* Metadata of an uploaded file
|
|
@@ -426,6 +509,16 @@ export declare namespace Reader {
|
|
|
426
509
|
*/
|
|
427
510
|
reverse_transfer?: boolean;
|
|
428
511
|
}
|
|
512
|
+
interface ReloadGiftCard {
|
|
513
|
+
/**
|
|
514
|
+
* The gift card used in this reader action.
|
|
515
|
+
*/
|
|
516
|
+
gift_card?: string | GiftCard;
|
|
517
|
+
/**
|
|
518
|
+
* The GiftCardOperation created for this reader action.
|
|
519
|
+
*/
|
|
520
|
+
gift_card_operation?: string | GiftCardOperation;
|
|
521
|
+
}
|
|
429
522
|
interface SetReaderDisplay {
|
|
430
523
|
/**
|
|
431
524
|
* Cart object to be displayed by the reader, including line items, amounts, and currency.
|
|
@@ -436,8 +529,8 @@ export declare namespace Reader {
|
|
|
436
529
|
*/
|
|
437
530
|
type: 'cart';
|
|
438
531
|
}
|
|
439
|
-
type Status = 'failed' | 'in_progress' | 'succeeded';
|
|
440
|
-
type Type = 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display';
|
|
532
|
+
type Status = 'failed' | 'in_progress' | 'succeeded' | OtherString;
|
|
533
|
+
type Type = 'activate_gift_card' | 'cashout_gift_card' | 'check_gift_card_balance' | 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'deactivate_gift_card' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'reload_gift_card' | 'set_reader_display' | OtherString;
|
|
441
534
|
namespace ApiError {
|
|
442
535
|
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_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' | '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' | 'email_invalid' | 'expired_card' | '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_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_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_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_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_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' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | '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' | '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';
|
|
443
536
|
type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
|
|
@@ -587,12 +680,12 @@ export declare namespace Reader {
|
|
|
587
680
|
text: string;
|
|
588
681
|
}
|
|
589
682
|
namespace Choice {
|
|
590
|
-
type Style = 'primary' | 'secondary';
|
|
683
|
+
type Style = 'primary' | 'secondary' | OtherString;
|
|
591
684
|
}
|
|
592
685
|
}
|
|
593
686
|
namespace Toggle {
|
|
594
|
-
type DefaultValue = 'disabled' | 'enabled';
|
|
595
|
-
type Value = 'disabled' | 'enabled';
|
|
687
|
+
type DefaultValue = 'disabled' | 'enabled' | OtherString;
|
|
688
|
+
type Value = 'disabled' | 'enabled' | OtherString;
|
|
596
689
|
}
|
|
597
690
|
}
|
|
598
691
|
}
|
|
@@ -803,14 +896,47 @@ export declare namespace Terminal {
|
|
|
803
896
|
status?: ReaderListParams.Status;
|
|
804
897
|
}
|
|
805
898
|
namespace ReaderListParams {
|
|
806
|
-
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
|
|
807
|
-
type Status = 'offline' | 'online';
|
|
899
|
+
type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p' | OtherString;
|
|
900
|
+
type Status = 'offline' | 'online' | OtherString;
|
|
808
901
|
}
|
|
809
902
|
}
|
|
810
903
|
export declare namespace Terminal {
|
|
811
904
|
interface ReaderDeleteParams {
|
|
812
905
|
}
|
|
813
906
|
}
|
|
907
|
+
export declare namespace Terminal {
|
|
908
|
+
interface ReaderActivateGiftCardParams {
|
|
909
|
+
/**
|
|
910
|
+
* The brand of the gift card.
|
|
911
|
+
*/
|
|
912
|
+
brand: ReaderActivateGiftCardParams.Brand;
|
|
913
|
+
/**
|
|
914
|
+
* The initial balance to set on the gift card.
|
|
915
|
+
*/
|
|
916
|
+
balance?: ReaderActivateGiftCardParams.Balance;
|
|
917
|
+
/**
|
|
918
|
+
* Specifies which fields in the response should be expanded.
|
|
919
|
+
*/
|
|
920
|
+
expand?: Array<string>;
|
|
921
|
+
/**
|
|
922
|
+
* The Stripe account ID to process the gift card operation on behalf of.
|
|
923
|
+
*/
|
|
924
|
+
on_behalf_of?: string;
|
|
925
|
+
}
|
|
926
|
+
namespace ReaderActivateGiftCardParams {
|
|
927
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
928
|
+
interface Balance {
|
|
929
|
+
/**
|
|
930
|
+
* The initial balance amount to be loaded when activating the gift card, in the smallest currency unit
|
|
931
|
+
*/
|
|
932
|
+
amount: number;
|
|
933
|
+
/**
|
|
934
|
+
* 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).
|
|
935
|
+
*/
|
|
936
|
+
currency: string;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|
|
814
940
|
export declare namespace Terminal {
|
|
815
941
|
interface ReaderCancelActionParams {
|
|
816
942
|
/**
|
|
@@ -819,6 +945,44 @@ export declare namespace Terminal {
|
|
|
819
945
|
expand?: Array<string>;
|
|
820
946
|
}
|
|
821
947
|
}
|
|
948
|
+
export declare namespace Terminal {
|
|
949
|
+
interface ReaderCashoutGiftCardParams {
|
|
950
|
+
/**
|
|
951
|
+
* The brand of the gift card.
|
|
952
|
+
*/
|
|
953
|
+
brand: ReaderCashoutGiftCardParams.Brand;
|
|
954
|
+
/**
|
|
955
|
+
* Specifies which fields in the response should be expanded.
|
|
956
|
+
*/
|
|
957
|
+
expand?: Array<string>;
|
|
958
|
+
/**
|
|
959
|
+
* The Stripe account ID to process the gift card operation on behalf of.
|
|
960
|
+
*/
|
|
961
|
+
on_behalf_of?: string;
|
|
962
|
+
}
|
|
963
|
+
namespace ReaderCashoutGiftCardParams {
|
|
964
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
export declare namespace Terminal {
|
|
968
|
+
interface ReaderCheckGiftCardBalanceParams {
|
|
969
|
+
/**
|
|
970
|
+
* The brand of the gift card.
|
|
971
|
+
*/
|
|
972
|
+
brand: ReaderCheckGiftCardBalanceParams.Brand;
|
|
973
|
+
/**
|
|
974
|
+
* Specifies which fields in the response should be expanded.
|
|
975
|
+
*/
|
|
976
|
+
expand?: Array<string>;
|
|
977
|
+
/**
|
|
978
|
+
* The Stripe account ID to process the gift card operation on behalf of.
|
|
979
|
+
*/
|
|
980
|
+
on_behalf_of?: string;
|
|
981
|
+
}
|
|
982
|
+
namespace ReaderCheckGiftCardBalanceParams {
|
|
983
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
984
|
+
}
|
|
985
|
+
}
|
|
822
986
|
export declare namespace Terminal {
|
|
823
987
|
interface ReaderCollectInputsParams {
|
|
824
988
|
/**
|
|
@@ -896,7 +1060,7 @@ export declare namespace Terminal {
|
|
|
896
1060
|
*/
|
|
897
1061
|
title?: string;
|
|
898
1062
|
}
|
|
899
|
-
type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text';
|
|
1063
|
+
type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text' | OtherString;
|
|
900
1064
|
namespace Selection {
|
|
901
1065
|
interface Choice {
|
|
902
1066
|
/**
|
|
@@ -913,11 +1077,11 @@ export declare namespace Terminal {
|
|
|
913
1077
|
text: string;
|
|
914
1078
|
}
|
|
915
1079
|
namespace Choice {
|
|
916
|
-
type Style = 'primary' | 'secondary';
|
|
1080
|
+
type Style = 'primary' | 'secondary' | OtherString;
|
|
917
1081
|
}
|
|
918
1082
|
}
|
|
919
1083
|
namespace Toggle {
|
|
920
|
-
type DefaultValue = 'disabled' | 'enabled';
|
|
1084
|
+
type DefaultValue = 'disabled' | 'enabled' | OtherString;
|
|
921
1085
|
}
|
|
922
1086
|
}
|
|
923
1087
|
}
|
|
@@ -947,6 +1111,10 @@ export declare namespace Terminal {
|
|
|
947
1111
|
* Enables cancel button on transaction screens.
|
|
948
1112
|
*/
|
|
949
1113
|
enable_customer_cancellation?: boolean;
|
|
1114
|
+
/**
|
|
1115
|
+
* The gift card brand to use in the transaction.
|
|
1116
|
+
*/
|
|
1117
|
+
gift_card_brand?: CollectConfig.GiftCardBrand;
|
|
950
1118
|
/**
|
|
951
1119
|
* Override showing a tipping selection screen on this transaction.
|
|
952
1120
|
*/
|
|
@@ -957,7 +1125,8 @@ export declare namespace Terminal {
|
|
|
957
1125
|
tipping?: CollectConfig.Tipping;
|
|
958
1126
|
}
|
|
959
1127
|
namespace CollectConfig {
|
|
960
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
1128
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
1129
|
+
type GiftCardBrand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
961
1130
|
interface Tipping {
|
|
962
1131
|
/**
|
|
963
1132
|
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
|
@@ -1016,6 +1185,10 @@ export declare namespace Terminal {
|
|
|
1016
1185
|
* Enables cancel button on transaction screens.
|
|
1017
1186
|
*/
|
|
1018
1187
|
enable_customer_cancellation?: boolean;
|
|
1188
|
+
/**
|
|
1189
|
+
* The gift card brand to use in the transaction.
|
|
1190
|
+
*/
|
|
1191
|
+
gift_card_brand?: ProcessConfig.GiftCardBrand;
|
|
1019
1192
|
/**
|
|
1020
1193
|
* The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
|
1021
1194
|
*/
|
|
@@ -1030,7 +1203,8 @@ export declare namespace Terminal {
|
|
|
1030
1203
|
tipping?: ProcessConfig.Tipping;
|
|
1031
1204
|
}
|
|
1032
1205
|
namespace ProcessConfig {
|
|
1033
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
1206
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
1207
|
+
type GiftCardBrand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
1034
1208
|
interface Tipping {
|
|
1035
1209
|
/**
|
|
1036
1210
|
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
|
@@ -1060,7 +1234,7 @@ export declare namespace Terminal {
|
|
|
1060
1234
|
process_config?: ReaderProcessSetupIntentParams.ProcessConfig;
|
|
1061
1235
|
}
|
|
1062
1236
|
namespace ReaderProcessSetupIntentParams {
|
|
1063
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
1237
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
1064
1238
|
interface ProcessConfig {
|
|
1065
1239
|
/**
|
|
1066
1240
|
* Enables cancel button on transaction screens.
|
|
@@ -1113,6 +1287,33 @@ export declare namespace Terminal {
|
|
|
1113
1287
|
}
|
|
1114
1288
|
}
|
|
1115
1289
|
}
|
|
1290
|
+
export declare namespace Terminal {
|
|
1291
|
+
interface ReaderReloadGiftCardParams {
|
|
1292
|
+
/**
|
|
1293
|
+
* The amount to add to the gift card balance, in the smallest currency unit.
|
|
1294
|
+
*/
|
|
1295
|
+
amount: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* The brand of the gift card.
|
|
1298
|
+
*/
|
|
1299
|
+
brand: ReaderReloadGiftCardParams.Brand;
|
|
1300
|
+
/**
|
|
1301
|
+
* 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).
|
|
1302
|
+
*/
|
|
1303
|
+
currency: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* Specifies which fields in the response should be expanded.
|
|
1306
|
+
*/
|
|
1307
|
+
expand?: Array<string>;
|
|
1308
|
+
/**
|
|
1309
|
+
* The Stripe account ID to process the gift card operation on behalf of.
|
|
1310
|
+
*/
|
|
1311
|
+
on_behalf_of?: string;
|
|
1312
|
+
}
|
|
1313
|
+
namespace ReaderReloadGiftCardParams {
|
|
1314
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1116
1317
|
export declare namespace Terminal {
|
|
1117
1318
|
interface ReaderSetReaderDisplayParams {
|
|
1118
1319
|
/**
|
|
@@ -36,12 +36,30 @@ class ReaderResource extends StripeResource_js_1.StripeResource {
|
|
|
36
36
|
create(params, options) {
|
|
37
37
|
return this._makeRequest('POST', '/v1/terminal/readers', params, options);
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Initiates a gift card activation flow on a Reader and optionally sets its balance.
|
|
41
|
+
*/
|
|
42
|
+
activateGiftCard(id, params, options) {
|
|
43
|
+
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/activate_gift_card`, params, options);
|
|
44
|
+
}
|
|
39
45
|
/**
|
|
40
46
|
* Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details.
|
|
41
47
|
*/
|
|
42
48
|
cancelAction(id, params, options) {
|
|
43
49
|
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/cancel_action`, params, options);
|
|
44
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Initiates a gift card cashout flow on a Reader. A cashout sets the gift card balance to 0.
|
|
53
|
+
*/
|
|
54
|
+
cashoutGiftCard(id, params, options) {
|
|
55
|
+
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/cashout_gift_card`, params, options);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Initiates a gift card balance check flow on a Reader.
|
|
59
|
+
*/
|
|
60
|
+
checkGiftCardBalance(id, params, options) {
|
|
61
|
+
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/check_gift_card_balance`, params, options);
|
|
62
|
+
}
|
|
45
63
|
/**
|
|
46
64
|
* Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers.
|
|
47
65
|
*/
|
|
@@ -78,6 +96,12 @@ class ReaderResource extends StripeResource_js_1.StripeResource {
|
|
|
78
96
|
refundPayment(id, params, options) {
|
|
79
97
|
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/refund_payment`, params, options);
|
|
80
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* Initiates a gift card reload flow on a Reader by adding the specified amount to its balance.
|
|
101
|
+
*/
|
|
102
|
+
reloadGiftCard(id, params, options) {
|
|
103
|
+
return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/reload_gift_card`, params, options);
|
|
104
|
+
}
|
|
81
105
|
/**
|
|
82
106
|
* Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display).
|
|
83
107
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Readers.js","sourceRoot":"","sources":["../../../src/resources/Terminal/Readers.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;
|
|
1
|
+
{"version":3,"file":"Readers.js","sourceRoot":"","sources":["../../../src/resources/Terminal/Readers.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAmBvD,MAAa,cAAe,SAAQ,kCAAc;IAChD;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,IAAI,CACF,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sBAAsB,EACtB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,gBAAgB,CACd,EAAU,EACV,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,qBAAqB,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,YAAY,CACV,EAAU,EACV,MAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,gBAAgB,EAC9D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,eAAe,CACb,EAAU,EACV,MAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,oBAAoB,EAClE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,0BAA0B,EACxE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,aAAa,CACX,EAAU,EACV,MAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,iBAAiB,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,yBAAyB,EACvE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,yBAAyB,EACvE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,yBAAyB,EACvE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,kBAAkB,CAChB,EAAU,EACV,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,uBAAuB,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,aAAa,CACX,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,iBAAiB,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,mBAAmB,EACjE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,gBAAgB,CACd,EAAU,EACV,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,qBAAqB,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA3PD,wCA2PC"}
|
|
@@ -45,13 +45,17 @@ export declare namespace Terminal {
|
|
|
45
45
|
export import ReaderUpdateParams = TerminalNamespace4.ReaderUpdateParams;
|
|
46
46
|
export import ReaderListParams = TerminalNamespace4.ReaderListParams;
|
|
47
47
|
export import ReaderCreateParams = TerminalNamespace4.ReaderCreateParams;
|
|
48
|
+
export import ReaderActivateGiftCardParams = TerminalNamespace4.ReaderActivateGiftCardParams;
|
|
48
49
|
export import ReaderCancelActionParams = TerminalNamespace4.ReaderCancelActionParams;
|
|
50
|
+
export import ReaderCashoutGiftCardParams = TerminalNamespace4.ReaderCashoutGiftCardParams;
|
|
51
|
+
export import ReaderCheckGiftCardBalanceParams = TerminalNamespace4.ReaderCheckGiftCardBalanceParams;
|
|
49
52
|
export import ReaderCollectInputsParams = TerminalNamespace4.ReaderCollectInputsParams;
|
|
50
53
|
export import ReaderCollectPaymentMethodParams = TerminalNamespace4.ReaderCollectPaymentMethodParams;
|
|
51
54
|
export import ReaderConfirmPaymentIntentParams = TerminalNamespace4.ReaderConfirmPaymentIntentParams;
|
|
52
55
|
export import ReaderProcessPaymentIntentParams = TerminalNamespace4.ReaderProcessPaymentIntentParams;
|
|
53
56
|
export import ReaderProcessSetupIntentParams = TerminalNamespace4.ReaderProcessSetupIntentParams;
|
|
54
57
|
export import ReaderRefundPaymentParams = TerminalNamespace4.ReaderRefundPaymentParams;
|
|
58
|
+
export import ReaderReloadGiftCardParams = TerminalNamespace4.ReaderReloadGiftCardParams;
|
|
55
59
|
export import ReaderSetReaderDisplayParams = TerminalNamespace4.ReaderSetReaderDisplayParams;
|
|
56
60
|
export { DeletedReader };
|
|
57
61
|
export { Reader, ReaderResource };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
2
|
import { ConfirmationToken } from './../ConfirmationTokens.js';
|
|
3
|
-
import { MetadataParam, Emptyable, AddressParam } from '../../shared.js';
|
|
3
|
+
import { MetadataParam, OtherString, Emptyable, AddressParam } from '../../shared.js';
|
|
4
4
|
import { RequestOptions, Response } from '../../lib.js';
|
|
5
5
|
export declare class ConfirmationTokenResource extends StripeResource {
|
|
6
6
|
/**
|
|
@@ -326,7 +326,7 @@ export declare namespace TestHelpers {
|
|
|
326
326
|
*/
|
|
327
327
|
card?: PaymentMethodOptions.Card;
|
|
328
328
|
}
|
|
329
|
-
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
329
|
+
type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
|
|
330
330
|
interface Shipping {
|
|
331
331
|
/**
|
|
332
332
|
* Shipping address
|
|
@@ -362,7 +362,7 @@ export declare namespace TestHelpers {
|
|
|
362
362
|
}
|
|
363
363
|
interface Alipay {
|
|
364
364
|
}
|
|
365
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
365
|
+
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
366
366
|
interface Alma {
|
|
367
367
|
}
|
|
368
368
|
interface AmazonPay {
|
|
@@ -606,7 +606,7 @@ export declare namespace TestHelpers {
|
|
|
606
606
|
}
|
|
607
607
|
interface Twint {
|
|
608
608
|
}
|
|
609
|
-
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' | 'gift_card' | '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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
609
|
+
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' | 'gift_card' | '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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
610
610
|
interface Upi {
|
|
611
611
|
/**
|
|
612
612
|
* Configuration options for setting up an eMandate
|
|
@@ -647,7 +647,7 @@ export declare namespace TestHelpers {
|
|
|
647
647
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
648
648
|
}
|
|
649
649
|
namespace IdBankTransfer {
|
|
650
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
650
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata' | OtherString;
|
|
651
651
|
}
|
|
652
652
|
namespace Ideal {
|
|
653
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';
|
|
@@ -669,10 +669,10 @@ export declare namespace TestHelpers {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
namespace NaverPay {
|
|
672
|
-
type Funding = 'card' | 'points';
|
|
672
|
+
type Funding = 'card' | 'points' | OtherString;
|
|
673
673
|
}
|
|
674
674
|
namespace P24 {
|
|
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';
|
|
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;
|
|
676
676
|
}
|
|
677
677
|
namespace Rechnung {
|
|
678
678
|
interface Dob {
|
|
@@ -691,7 +691,7 @@ export declare namespace TestHelpers {
|
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
namespace Sofort {
|
|
694
|
-
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
694
|
+
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
|
|
695
695
|
}
|
|
696
696
|
namespace Upi {
|
|
697
697
|
interface MandateOptions {
|
|
@@ -713,12 +713,12 @@ export declare namespace TestHelpers {
|
|
|
713
713
|
end_date?: number;
|
|
714
714
|
}
|
|
715
715
|
namespace MandateOptions {
|
|
716
|
-
type AmountType = 'fixed' | 'maximum';
|
|
716
|
+
type AmountType = 'fixed' | 'maximum' | OtherString;
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
namespace UsBankAccount {
|
|
720
|
-
type AccountHolderType = 'company' | 'individual';
|
|
721
|
-
type AccountType = 'checking' | 'savings';
|
|
720
|
+
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
721
|
+
type AccountType = 'checking' | 'savings' | OtherString;
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
724
|
namespace PaymentMethodOptions {
|
|
@@ -753,7 +753,7 @@ export declare namespace TestHelpers {
|
|
|
753
753
|
type: Plan.Type;
|
|
754
754
|
}
|
|
755
755
|
namespace Plan {
|
|
756
|
-
type Type = 'bonus' | 'fixed_count' | 'revolving';
|
|
756
|
+
type Type = 'bonus' | 'fixed_count' | 'revolving' | OtherString;
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationTokens.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/ConfirmationTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;
|
|
1
|
+
{"version":3,"file":"ConfirmationTokens.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/ConfirmationTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAUvD,MAAa,yBAA0B,SAAQ,kCAAc;IAC3D;;OAEG;IACH,MAAM,CACJ,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,EACtC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,8DAeC"}
|