stripe 22.1.0 → 22.2.0-alpha.2
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 +2637 -11
- package/OPENAPI_VERSION +1 -1
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -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 +463 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +955 -3
- package/cjs/resources/Accounts.js +21 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/cjs/resources/Billing/Alerts.d.ts +406 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -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 +38 -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/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -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 +191 -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 +98 -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 +143 -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 +15 -0
- package/cjs/resources/Charges.d.ts +3513 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +792 -9
- package/cjs/resources/Checkout/Sessions.js +88 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +100 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +110 -2
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +14 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +7 -1
- package/cjs/resources/Customers.js +15 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +39 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +16 -0
- package/cjs/resources/DelegatedCheckout/index.js +13 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +37 -0
- package/cjs/resources/Events.d.ts +560 -2
- 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 +74 -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 +87 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -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 +155 -7
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +185 -2
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/Invoices.d.ts +2024 -35
- package/cjs/resources/Invoices.js +70 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +255 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
- package/cjs/resources/Issuing/Cards.d.ts +36 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -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 +95 -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 +140 -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/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +85 -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 +157 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +55 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +33 -1
- 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/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4761 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +441 -1
- package/cjs/resources/PaymentAttemptRecords.js +42 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16370 -3527
- package/cjs/resources/PaymentIntents.js +40 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +216 -3
- package/cjs/resources/PaymentMethods.js +6 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +323 -21
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +24 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +64 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -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 +229 -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 +127 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +141 -0
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +28 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1153 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +242 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/cjs/resources/Radar/index.d.ts +34 -16
- package/cjs/resources/Radar/index.js +6 -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 +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -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 +14 -3
- package/cjs/resources/Reserve/index.js +10 -2
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +491 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1101 -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 +322 -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 +16 -1
- package/cjs/resources/SubscriptionItems.d.ts +251 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1943 -19
- package/cjs/resources/SubscriptionSchedules.js +48 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +1040 -16
- package/cjs/resources/Subscriptions.js +236 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +230 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +155 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -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 +51 -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/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -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 +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +56 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -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 +8 -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 +75 -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 +284 -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/CadenceSpendModifiers.d.ts +88 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -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/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +378 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
- package/cjs/resources/V2/Billing/MeterEventSession.d.ts +4 -4
- package/cjs/resources/V2/Billing/MeterEventSession.js +1 -1
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +177 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +166 -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/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +357 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +161 -6
- package/cjs/resources/V2/Billing/index.js +30 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +156 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.js +13 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.js +4 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
- package/cjs/resources/V2/Commerce/index.d.ts +13 -0
- package/cjs/resources/V2/Commerce/index.js +13 -0
- package/cjs/resources/V2/Commerce/index.js.map +1 -0
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +222 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +2 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +5319 -75
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/EventDestinations.d.ts +50 -3
- package/cjs/resources/V2/Core/Events.d.ts +7325 -204
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +51 -14
- package/cjs/resources/V2/Core/index.js +12 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -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/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -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 +123 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +204 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +17 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +22 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -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 +120 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +118 -0
- package/cjs/resources/V2/MoneyManagement/index.js +43 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -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 +147 -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/Payments/OffSessionPayments.d.ts +827 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +173 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +24 -2
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +14 -0
- package/cjs/resources.js +240 -12
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +84 -28
- package/cjs/stripe.core.js +59 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -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 +463 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +955 -3
- package/esm/resources/Accounts.js +21 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/esm/resources/Billing/Alerts.d.ts +406 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -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 +38 -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/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -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 +191 -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 +98 -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 +143 -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 +15 -0
- package/esm/resources/Charges.d.ts +3513 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +792 -9
- package/esm/resources/Checkout/Sessions.js +88 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +100 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +110 -2
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +14 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +7 -1
- package/esm/resources/Customers.js +15 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +35 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +16 -0
- package/esm/resources/DelegatedCheckout/index.js +9 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +37 -0
- package/esm/resources/Events.d.ts +560 -2
- 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 +74 -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 +87 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +101 -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 +155 -7
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +185 -2
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/Invoices.d.ts +2024 -35
- package/esm/resources/Invoices.js +70 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +255 -0
- package/esm/resources/Issuing/Cardholders.d.ts +5 -4
- package/esm/resources/Issuing/Cards.d.ts +36 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -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 +95 -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 +140 -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/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +85 -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 +157 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +55 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +33 -1
- 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/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4761 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +441 -1
- package/esm/resources/PaymentAttemptRecords.js +42 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16370 -3527
- package/esm/resources/PaymentIntents.js +40 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +216 -3
- package/esm/resources/PaymentMethods.js +6 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +323 -21
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +24 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +64 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -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 +229 -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 +127 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +141 -0
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +28 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1153 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +242 -0
- package/esm/resources/Radar/CustomerEvaluations.js +17 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/esm/resources/Radar/index.d.ts +34 -16
- package/esm/resources/Radar/index.js +6 -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 +16 -0
- package/esm/resources/Reserve/Plans.js +9 -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 +14 -3
- package/esm/resources/Reserve/index.js +10 -2
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +491 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1101 -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 +322 -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 +16 -1
- package/esm/resources/SubscriptionItems.d.ts +251 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1943 -19
- package/esm/resources/SubscriptionSchedules.js +48 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +1040 -16
- package/esm/resources/Subscriptions.js +236 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +230 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +155 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -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 +51 -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/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -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 +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +56 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -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 +8 -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 +75 -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 +284 -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/CadenceSpendModifiers.d.ts +88 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -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/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +378 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
- package/esm/resources/V2/Billing/MeterEventSession.d.ts +4 -4
- package/esm/resources/V2/Billing/MeterEventSession.js +1 -1
- package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +177 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +166 -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/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +357 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +161 -6
- package/esm/resources/V2/Billing/index.js +30 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +152 -0
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.js +9 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.js +3 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
- package/esm/resources/V2/Commerce/index.d.ts +13 -0
- package/esm/resources/V2/Commerce/index.js +9 -0
- package/esm/resources/V2/Commerce/index.js.map +1 -0
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +222 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +2 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +5319 -75
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/EventDestinations.d.ts +50 -3
- package/esm/resources/V2/Core/Events.d.ts +7325 -204
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +51 -14
- package/esm/resources/V2/Core/index.js +12 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -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/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -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 +123 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +204 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +13 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +22 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -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 +120 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +118 -0
- package/esm/resources/V2/MoneyManagement/index.js +39 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -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 +147 -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/Payments/OffSessionPayments.d.ts +827 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +173 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +14 -0
- package/esm/resources.js +221 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +84 -28
- package/esm/stripe.core.js +29 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +84 -28
- package/esm/stripe.esm.node.js +29 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { BalanceTransaction } from './../BalanceTransactions.js';
|
|
|
4
4
|
import { Card } from './Cards.js';
|
|
5
5
|
import { Cardholder } from './Cardholders.js';
|
|
6
6
|
import { Dispute } from './Disputes.js';
|
|
7
|
+
import { Settlement } from './Settlements.js';
|
|
7
8
|
import { Token } from './Tokens.js';
|
|
8
9
|
import { Emptyable, MetadataParam, PaginationParams, RangeQueryParam, Metadata, Decimal } from '../../shared.js';
|
|
9
10
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
@@ -58,6 +59,10 @@ export interface Transaction {
|
|
|
58
59
|
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
59
60
|
*/
|
|
60
61
|
created: number;
|
|
62
|
+
/**
|
|
63
|
+
* Array of onchain crypto transactions linked to this resource.
|
|
64
|
+
*/
|
|
65
|
+
crypto_transactions?: Array<Issuing.Transaction.CryptoTransaction> | null;
|
|
61
66
|
/**
|
|
62
67
|
* 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).
|
|
63
68
|
*/
|
|
@@ -91,6 +96,10 @@ export interface Transaction {
|
|
|
91
96
|
* Additional purchase information that is optionally provided by the merchant.
|
|
92
97
|
*/
|
|
93
98
|
purchase_details?: Issuing.Transaction.PurchaseDetails | null;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the [settlement](https://docs.stripe.com/api/issuing/settlements) to which this transaction belongs.
|
|
101
|
+
*/
|
|
102
|
+
settlement?: string | Settlement | null;
|
|
94
103
|
/**
|
|
95
104
|
* [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
|
96
105
|
*/
|
|
@@ -120,6 +129,20 @@ export declare namespace Issuing {
|
|
|
120
129
|
*/
|
|
121
130
|
cashback_amount: number | null;
|
|
122
131
|
}
|
|
132
|
+
interface CryptoTransaction {
|
|
133
|
+
/**
|
|
134
|
+
* The confirmed crypto transaction details when `type` is `crypto_transaction_confirmed`; otherwise null.
|
|
135
|
+
*/
|
|
136
|
+
crypto_transaction_confirmed: CryptoTransaction.CryptoTransactionConfirmed | null;
|
|
137
|
+
/**
|
|
138
|
+
* The failed crypto transaction details when `type` is `crypto_transaction_failed`; otherwise null.
|
|
139
|
+
*/
|
|
140
|
+
crypto_transaction_failed: CryptoTransaction.CryptoTransactionFailed | null;
|
|
141
|
+
/**
|
|
142
|
+
* The crypto transaction variant for this array entry.
|
|
143
|
+
*/
|
|
144
|
+
type: string;
|
|
145
|
+
}
|
|
123
146
|
interface MerchantData {
|
|
124
147
|
/**
|
|
125
148
|
* A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values.
|
|
@@ -145,6 +168,10 @@ export declare namespace Issuing {
|
|
|
145
168
|
* Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.
|
|
146
169
|
*/
|
|
147
170
|
network_id: string;
|
|
171
|
+
/**
|
|
172
|
+
* The identifier of the payment facilitator (PayFac) that processed this authorization, as assigned by the card network. Null when the transaction was not processed through a PayFac.
|
|
173
|
+
*/
|
|
174
|
+
payment_facilitator_id?: string | null;
|
|
148
175
|
/**
|
|
149
176
|
* Postal code where the seller is located
|
|
150
177
|
*/
|
|
@@ -153,6 +180,10 @@ export declare namespace Issuing {
|
|
|
153
180
|
* State where the seller is located
|
|
154
181
|
*/
|
|
155
182
|
state: string | null;
|
|
183
|
+
/**
|
|
184
|
+
* The identifier of the sub-merchant involved in this authorization, as assigned by the payment facilitator. Null when the transaction was not processed through a PayFac or when no sub-merchant ID was provided.
|
|
185
|
+
*/
|
|
186
|
+
sub_merchant_id?: string | null;
|
|
156
187
|
/**
|
|
157
188
|
* The seller's tax identification number. Currently populated for French merchants only.
|
|
158
189
|
*/
|
|
@@ -218,6 +249,128 @@ export declare namespace Issuing {
|
|
|
218
249
|
}
|
|
219
250
|
type Type = 'capture' | 'refund';
|
|
220
251
|
type Wallet = 'apple_pay' | 'google_pay' | 'samsung_pay';
|
|
252
|
+
namespace CryptoTransaction {
|
|
253
|
+
interface CryptoTransactionConfirmed {
|
|
254
|
+
/**
|
|
255
|
+
* The crypto amount for the confirmed transaction.
|
|
256
|
+
*/
|
|
257
|
+
amount: string;
|
|
258
|
+
/**
|
|
259
|
+
* The upcharged MCC amount, if one was applied.
|
|
260
|
+
*/
|
|
261
|
+
amount_mcc_upcharged: string | null;
|
|
262
|
+
/**
|
|
263
|
+
* The blockchain network for the confirmed transaction.
|
|
264
|
+
*/
|
|
265
|
+
chain: string;
|
|
266
|
+
/**
|
|
267
|
+
* When the transaction was confirmed onchain.
|
|
268
|
+
*/
|
|
269
|
+
confirmed_at: number;
|
|
270
|
+
/**
|
|
271
|
+
* The currency of the crypto transaction amount.
|
|
272
|
+
*/
|
|
273
|
+
currency: string;
|
|
274
|
+
/**
|
|
275
|
+
* Fees associated with the transaction.
|
|
276
|
+
*/
|
|
277
|
+
fees: Array<CryptoTransactionConfirmed.Fee>;
|
|
278
|
+
/**
|
|
279
|
+
* The source wallet address for the transaction.
|
|
280
|
+
*/
|
|
281
|
+
from_address: string;
|
|
282
|
+
/**
|
|
283
|
+
* Memo metadata attached to the transaction, if present.
|
|
284
|
+
*/
|
|
285
|
+
memo: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* The destination wallet address for the transaction.
|
|
288
|
+
*/
|
|
289
|
+
to_address: string;
|
|
290
|
+
/**
|
|
291
|
+
* The blockchain transaction hash.
|
|
292
|
+
*/
|
|
293
|
+
transaction_hash: string;
|
|
294
|
+
}
|
|
295
|
+
interface CryptoTransactionFailed {
|
|
296
|
+
/**
|
|
297
|
+
* The crypto amount for the failed transaction.
|
|
298
|
+
*/
|
|
299
|
+
amount: string;
|
|
300
|
+
/**
|
|
301
|
+
* The upcharged MCC amount, if one was applied.
|
|
302
|
+
*/
|
|
303
|
+
amount_mcc_upcharged: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* The blockchain network for the failed transaction.
|
|
306
|
+
*/
|
|
307
|
+
chain: string;
|
|
308
|
+
/**
|
|
309
|
+
* The currency of the crypto transaction amount.
|
|
310
|
+
*/
|
|
311
|
+
currency: string;
|
|
312
|
+
/**
|
|
313
|
+
* When the transaction failed.
|
|
314
|
+
*/
|
|
315
|
+
failed_at: number;
|
|
316
|
+
/**
|
|
317
|
+
* The reason the transaction failed.
|
|
318
|
+
*/
|
|
319
|
+
failure_reason: string;
|
|
320
|
+
/**
|
|
321
|
+
* Fees associated with the transaction.
|
|
322
|
+
*/
|
|
323
|
+
fees: Array<CryptoTransactionFailed.Fee>;
|
|
324
|
+
/**
|
|
325
|
+
* The source wallet address for the attempted transaction.
|
|
326
|
+
*/
|
|
327
|
+
from_address: string;
|
|
328
|
+
/**
|
|
329
|
+
* Memo metadata attached to the transaction, if present.
|
|
330
|
+
*/
|
|
331
|
+
memo: string | null;
|
|
332
|
+
/**
|
|
333
|
+
* The destination wallet address for the attempted transaction when one exists.
|
|
334
|
+
*/
|
|
335
|
+
to_address: string | null;
|
|
336
|
+
/**
|
|
337
|
+
* The blockchain transaction hash when one exists.
|
|
338
|
+
*/
|
|
339
|
+
transaction_hash: string | null;
|
|
340
|
+
}
|
|
341
|
+
namespace CryptoTransactionConfirmed {
|
|
342
|
+
interface Fee {
|
|
343
|
+
/**
|
|
344
|
+
* The fee amount.
|
|
345
|
+
*/
|
|
346
|
+
amount: string;
|
|
347
|
+
/**
|
|
348
|
+
* The fee currency.
|
|
349
|
+
*/
|
|
350
|
+
currency: string;
|
|
351
|
+
/**
|
|
352
|
+
* The fee type.
|
|
353
|
+
*/
|
|
354
|
+
type: string;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
namespace CryptoTransactionFailed {
|
|
358
|
+
interface Fee {
|
|
359
|
+
/**
|
|
360
|
+
* The fee amount.
|
|
361
|
+
*/
|
|
362
|
+
amount: string;
|
|
363
|
+
/**
|
|
364
|
+
* The fee currency.
|
|
365
|
+
*/
|
|
366
|
+
currency: string;
|
|
367
|
+
/**
|
|
368
|
+
* The fee type.
|
|
369
|
+
*/
|
|
370
|
+
type: string;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
221
374
|
namespace PurchaseDetails {
|
|
222
375
|
interface Fleet {
|
|
223
376
|
/**
|
|
@@ -440,6 +593,10 @@ export declare namespace Issuing {
|
|
|
440
593
|
* Specifies which fields in the response should be expanded.
|
|
441
594
|
*/
|
|
442
595
|
expand?: Array<string>;
|
|
596
|
+
/**
|
|
597
|
+
* Only return transactions that are associated with the given settlement.
|
|
598
|
+
*/
|
|
599
|
+
settlement?: string;
|
|
443
600
|
/**
|
|
444
601
|
* Only return transactions that have the given type. One of `capture` or `refund`.
|
|
445
602
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Issuing/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Issuing/Transactions.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,27 +2,41 @@ import { Stripe } from '../../stripe.core.js';
|
|
|
2
2
|
import { Issuing as IssuingNamespace0, Authorization, AuthorizationResource } from './Authorizations.js';
|
|
3
3
|
import { Issuing as IssuingNamespace1, Card, CardResource } from './Cards.js';
|
|
4
4
|
import { Issuing as IssuingNamespace2, Cardholder, CardholderResource } from './Cardholders.js';
|
|
5
|
-
import { Issuing as IssuingNamespace3,
|
|
6
|
-
import { Issuing as IssuingNamespace4,
|
|
7
|
-
import { Issuing as IssuingNamespace5,
|
|
8
|
-
import { Issuing as IssuingNamespace6,
|
|
9
|
-
import { Issuing as IssuingNamespace7,
|
|
5
|
+
import { Issuing as IssuingNamespace3, CreditUnderwritingRecord, CreditUnderwritingRecordResource } from './CreditUnderwritingRecords.js';
|
|
6
|
+
import { Issuing as IssuingNamespace4, Dispute, DisputeResource } from './Disputes.js';
|
|
7
|
+
import { Issuing as IssuingNamespace5, DisputeSettlementDetail, DisputeSettlementDetailResource } from './DisputeSettlementDetails.js';
|
|
8
|
+
import { Issuing as IssuingNamespace6, FraudLiabilityDebit, FraudLiabilityDebitResource } from './FraudLiabilityDebits.js';
|
|
9
|
+
import { Issuing as IssuingNamespace7, PersonalizationDesign, PersonalizationDesignResource } from './PersonalizationDesigns.js';
|
|
10
|
+
import { Issuing as IssuingNamespace8, PhysicalBundle, PhysicalBundleResource } from './PhysicalBundles.js';
|
|
11
|
+
import { Issuing as IssuingNamespace9, Program, ProgramResource } from './Programs.js';
|
|
12
|
+
import { Issuing as IssuingNamespace10, Token, TokenResource } from './Tokens.js';
|
|
13
|
+
import { Issuing as IssuingNamespace11, Transaction, TransactionResource } from './Transactions.js';
|
|
14
|
+
import { Settlement } from './Settlements.js';
|
|
10
15
|
export { Authorization } from './Authorizations.js';
|
|
11
16
|
export { Card } from './Cards.js';
|
|
12
17
|
export { Cardholder } from './Cardholders.js';
|
|
18
|
+
export { CreditUnderwritingRecord } from './CreditUnderwritingRecords.js';
|
|
13
19
|
export { Dispute } from './Disputes.js';
|
|
20
|
+
export { DisputeSettlementDetail } from './DisputeSettlementDetails.js';
|
|
21
|
+
export { FraudLiabilityDebit } from './FraudLiabilityDebits.js';
|
|
14
22
|
export { PersonalizationDesign } from './PersonalizationDesigns.js';
|
|
15
23
|
export { PhysicalBundle } from './PhysicalBundles.js';
|
|
24
|
+
export { Program } from './Programs.js';
|
|
16
25
|
export { Token } from './Tokens.js';
|
|
17
26
|
export { Transaction } from './Transactions.js';
|
|
27
|
+
export { Settlement } from './Settlements.js';
|
|
18
28
|
export declare class Issuing {
|
|
19
29
|
private readonly stripe;
|
|
20
30
|
authorizations: AuthorizationResource;
|
|
21
31
|
cards: CardResource;
|
|
22
32
|
cardholders: CardholderResource;
|
|
33
|
+
creditUnderwritingRecords: CreditUnderwritingRecordResource;
|
|
23
34
|
disputes: DisputeResource;
|
|
35
|
+
disputeSettlementDetails: DisputeSettlementDetailResource;
|
|
36
|
+
fraudLiabilityDebits: FraudLiabilityDebitResource;
|
|
24
37
|
personalizationDesigns: PersonalizationDesignResource;
|
|
25
38
|
physicalBundles: PhysicalBundleResource;
|
|
39
|
+
programs: ProgramResource;
|
|
26
40
|
tokens: TokenResource;
|
|
27
41
|
transactions: TransactionResource;
|
|
28
42
|
constructor(stripe: Stripe);
|
|
@@ -44,26 +58,45 @@ export declare namespace Issuing {
|
|
|
44
58
|
export type CardholderRetrieveParams = IssuingNamespace2.CardholderRetrieveParams;
|
|
45
59
|
export type CardholderUpdateParams = IssuingNamespace2.CardholderUpdateParams;
|
|
46
60
|
export { Cardholder };
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
61
|
+
export type CreditUnderwritingRecordListParams = IssuingNamespace3.CreditUnderwritingRecordListParams;
|
|
62
|
+
export type CreditUnderwritingRecordRetrieveParams = IssuingNamespace3.CreditUnderwritingRecordRetrieveParams;
|
|
63
|
+
export type CreditUnderwritingRecordCorrectParams = IssuingNamespace3.CreditUnderwritingRecordCorrectParams;
|
|
64
|
+
export type CreditUnderwritingRecordReportDecisionParams = IssuingNamespace3.CreditUnderwritingRecordReportDecisionParams;
|
|
65
|
+
export type CreditUnderwritingRecordCreateFromApplicationParams = IssuingNamespace3.CreditUnderwritingRecordCreateFromApplicationParams;
|
|
66
|
+
export type CreditUnderwritingRecordCreateFromProactiveReviewParams = IssuingNamespace3.CreditUnderwritingRecordCreateFromProactiveReviewParams;
|
|
67
|
+
export { CreditUnderwritingRecord };
|
|
68
|
+
export type DisputeListParams = IssuingNamespace4.DisputeListParams;
|
|
69
|
+
export type DisputeCreateParams = IssuingNamespace4.DisputeCreateParams;
|
|
70
|
+
export type DisputeRetrieveParams = IssuingNamespace4.DisputeRetrieveParams;
|
|
71
|
+
export type DisputeUpdateParams = IssuingNamespace4.DisputeUpdateParams;
|
|
72
|
+
export type DisputeSubmitParams = IssuingNamespace4.DisputeSubmitParams;
|
|
52
73
|
export { Dispute };
|
|
53
|
-
export type
|
|
54
|
-
export type
|
|
55
|
-
export
|
|
56
|
-
export type
|
|
74
|
+
export type DisputeSettlementDetailListParams = IssuingNamespace5.DisputeSettlementDetailListParams;
|
|
75
|
+
export type DisputeSettlementDetailRetrieveParams = IssuingNamespace5.DisputeSettlementDetailRetrieveParams;
|
|
76
|
+
export { DisputeSettlementDetail };
|
|
77
|
+
export type FraudLiabilityDebitListParams = IssuingNamespace6.FraudLiabilityDebitListParams;
|
|
78
|
+
export type FraudLiabilityDebitRetrieveParams = IssuingNamespace6.FraudLiabilityDebitRetrieveParams;
|
|
79
|
+
export { FraudLiabilityDebit };
|
|
80
|
+
export type PersonalizationDesignListParams = IssuingNamespace7.PersonalizationDesignListParams;
|
|
81
|
+
export type PersonalizationDesignCreateParams = IssuingNamespace7.PersonalizationDesignCreateParams;
|
|
82
|
+
export type PersonalizationDesignRetrieveParams = IssuingNamespace7.PersonalizationDesignRetrieveParams;
|
|
83
|
+
export type PersonalizationDesignUpdateParams = IssuingNamespace7.PersonalizationDesignUpdateParams;
|
|
57
84
|
export { PersonalizationDesign };
|
|
58
|
-
export type PhysicalBundleListParams =
|
|
59
|
-
export type PhysicalBundleRetrieveParams =
|
|
85
|
+
export type PhysicalBundleListParams = IssuingNamespace8.PhysicalBundleListParams;
|
|
86
|
+
export type PhysicalBundleRetrieveParams = IssuingNamespace8.PhysicalBundleRetrieveParams;
|
|
60
87
|
export { PhysicalBundle };
|
|
61
|
-
export type
|
|
62
|
-
export type
|
|
63
|
-
export type
|
|
88
|
+
export type ProgramListParams = IssuingNamespace9.ProgramListParams;
|
|
89
|
+
export type ProgramCreateParams = IssuingNamespace9.ProgramCreateParams;
|
|
90
|
+
export type ProgramRetrieveParams = IssuingNamespace9.ProgramRetrieveParams;
|
|
91
|
+
export type ProgramUpdateParams = IssuingNamespace9.ProgramUpdateParams;
|
|
92
|
+
export { Program };
|
|
93
|
+
export type TokenListParams = IssuingNamespace10.TokenListParams;
|
|
94
|
+
export type TokenRetrieveParams = IssuingNamespace10.TokenRetrieveParams;
|
|
95
|
+
export type TokenUpdateParams = IssuingNamespace10.TokenUpdateParams;
|
|
64
96
|
export { Token };
|
|
65
|
-
export type TransactionListParams =
|
|
66
|
-
export type TransactionRetrieveParams =
|
|
67
|
-
export type TransactionUpdateParams =
|
|
97
|
+
export type TransactionListParams = IssuingNamespace11.TransactionListParams;
|
|
98
|
+
export type TransactionRetrieveParams = IssuingNamespace11.TransactionRetrieveParams;
|
|
99
|
+
export type TransactionUpdateParams = IssuingNamespace11.TransactionUpdateParams;
|
|
68
100
|
export { Transaction };
|
|
101
|
+
export { Settlement };
|
|
69
102
|
}
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
import { AuthorizationResource, } from './Authorizations.js';
|
|
3
3
|
import { CardResource } from './Cards.js';
|
|
4
4
|
import { CardholderResource, } from './Cardholders.js';
|
|
5
|
+
import { CreditUnderwritingRecordResource, } from './CreditUnderwritingRecords.js';
|
|
5
6
|
import { DisputeResource, } from './Disputes.js';
|
|
7
|
+
import { DisputeSettlementDetailResource, } from './DisputeSettlementDetails.js';
|
|
8
|
+
import { FraudLiabilityDebitResource, } from './FraudLiabilityDebits.js';
|
|
6
9
|
import { PersonalizationDesignResource, } from './PersonalizationDesigns.js';
|
|
7
10
|
import { PhysicalBundleResource, } from './PhysicalBundles.js';
|
|
11
|
+
import { ProgramResource, } from './Programs.js';
|
|
8
12
|
import { TokenResource } from './Tokens.js';
|
|
9
13
|
import { TransactionResource, } from './Transactions.js';
|
|
10
14
|
export class Issuing {
|
|
@@ -13,9 +17,13 @@ export class Issuing {
|
|
|
13
17
|
this.authorizations = new AuthorizationResource(stripe);
|
|
14
18
|
this.cards = new CardResource(stripe);
|
|
15
19
|
this.cardholders = new CardholderResource(stripe);
|
|
20
|
+
this.creditUnderwritingRecords = new CreditUnderwritingRecordResource(stripe);
|
|
16
21
|
this.disputes = new DisputeResource(stripe);
|
|
22
|
+
this.disputeSettlementDetails = new DisputeSettlementDetailResource(stripe);
|
|
23
|
+
this.fraudLiabilityDebits = new FraudLiabilityDebitResource(stripe);
|
|
17
24
|
this.personalizationDesigns = new PersonalizationDesignResource(stripe);
|
|
18
25
|
this.physicalBundles = new PhysicalBundleResource(stripe);
|
|
26
|
+
this.programs = new ProgramResource(stripe);
|
|
19
27
|
this.tokens = new TokenResource(stripe);
|
|
20
28
|
this.transactions = new TransactionResource(stripe);
|
|
21
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Issuing/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqC,YAAY,EAAC,MAAM,YAAY,CAAC;AAC5E,OAAO,EAGL,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAGL,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAGL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Issuing/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqC,YAAY,EAAC,MAAM,YAAY,CAAC;AAC5E,OAAO,EAGL,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAGL,gCAAgC,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAGL,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAGL,+BAA+B,GAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAuC,aAAa,EAAC,MAAM,aAAa,CAAC;AAChF,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAiB3B,MAAM,OAAO,OAAO;IAclB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,cAAc,GAAG,IAAI,qBAAqB,CAAC,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,CAAC,WAAW,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,yBAAyB,GAAG,IAAI,gCAAgC,CACnE,MAAM,CACP,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,wBAAwB,GAAG,IAAI,+BAA+B,CAAC,MAAM,CAAC,CAAC;QAC5E,IAAI,CAAC,oBAAoB,GAAG,IAAI,2BAA2B,CAAC,MAAM,CAAC,CAAC;QACpE,IAAI,CAAC,sBAAsB,GAAG,IAAI,6BAA6B,CAAC,MAAM,CAAC,CAAC;QACxE,IAAI,CAAC,eAAe,GAAG,IAAI,sBAAsB,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Price } from './Prices.js';
|
|
2
|
+
import { Product, DeletedProduct } from './Products.js';
|
|
2
3
|
import { TaxRate } from './TaxRates.js';
|
|
3
4
|
import { Metadata } from '../shared.js';
|
|
4
5
|
export interface LineItem {
|
|
@@ -10,7 +11,7 @@ export interface LineItem {
|
|
|
10
11
|
* String representing the object's type. Objects of the same type share the same value.
|
|
11
12
|
*/
|
|
12
13
|
object: 'item';
|
|
13
|
-
adjustable_quantity
|
|
14
|
+
adjustable_quantity?: LineItem.AdjustableQuantity | null;
|
|
14
15
|
/**
|
|
15
16
|
* Total discount amount applied. If no discounts were applied, defaults to 0.
|
|
16
17
|
*/
|
|
@@ -39,18 +40,29 @@ export interface LineItem {
|
|
|
39
40
|
* The discounts applied to the line item.
|
|
40
41
|
*/
|
|
41
42
|
discounts?: Array<LineItem.Discount>;
|
|
43
|
+
display?: LineItem.Display;
|
|
42
44
|
/**
|
|
43
45
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
44
46
|
*/
|
|
45
|
-
metadata
|
|
47
|
+
metadata?: Metadata | null;
|
|
46
48
|
/**
|
|
47
49
|
* The price used to generate the line item.
|
|
48
50
|
*/
|
|
49
51
|
price: Price | null;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the product for this line item.
|
|
54
|
+
*
|
|
55
|
+
* This will always be the same as `price.product`.
|
|
56
|
+
*/
|
|
57
|
+
product?: string | Product | DeletedProduct;
|
|
50
58
|
/**
|
|
51
59
|
* The quantity of products being purchased.
|
|
52
60
|
*/
|
|
53
61
|
quantity: number | null;
|
|
62
|
+
/**
|
|
63
|
+
* The tax calculation identifiers of the line item.
|
|
64
|
+
*/
|
|
65
|
+
tax_calculation_reference?: LineItem.TaxCalculationReference | null;
|
|
54
66
|
/**
|
|
55
67
|
* The taxes applied to the line item.
|
|
56
68
|
*/
|
|
@@ -75,6 +87,21 @@ export declare namespace LineItem {
|
|
|
75
87
|
*/
|
|
76
88
|
discount: Discount;
|
|
77
89
|
}
|
|
90
|
+
interface Display {
|
|
91
|
+
description: string | null;
|
|
92
|
+
images: Array<string>;
|
|
93
|
+
name: string;
|
|
94
|
+
}
|
|
95
|
+
interface TaxCalculationReference {
|
|
96
|
+
/**
|
|
97
|
+
* The calculation identifier for tax calculation response.
|
|
98
|
+
*/
|
|
99
|
+
calculation_id: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* The calculation identifier for tax calculation response line item.
|
|
102
|
+
*/
|
|
103
|
+
calculation_item_id: string | null;
|
|
104
|
+
}
|
|
78
105
|
interface Tax {
|
|
79
106
|
/**
|
|
80
107
|
* Amount of tax applied for this rate.
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
2
|
import { PaymentMethod } from './PaymentMethods.js';
|
|
3
|
-
import {
|
|
3
|
+
import { PaginationParams } from '../shared.js';
|
|
4
|
+
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
4
5
|
export declare class MandateResource extends StripeResource {
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves a list of Mandates for a given PaymentMethod.
|
|
8
|
+
*/
|
|
9
|
+
list(params: MandateListParams, options?: RequestOptions): ApiListPromise<Mandate>;
|
|
5
10
|
/**
|
|
6
11
|
* Retrieves a Mandate object.
|
|
7
12
|
*/
|
|
@@ -190,10 +195,19 @@ export declare namespace Mandate {
|
|
|
190
195
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
191
196
|
*/
|
|
192
197
|
billing_agreement_id: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
200
|
+
*/
|
|
201
|
+
fingerprint?: string | null;
|
|
193
202
|
/**
|
|
194
203
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
195
204
|
*/
|
|
196
205
|
payer_id: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
208
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
209
|
+
*/
|
|
210
|
+
verified_email?: string | null;
|
|
197
211
|
}
|
|
198
212
|
interface Payto {
|
|
199
213
|
/**
|
|
@@ -317,3 +331,21 @@ export interface MandateRetrieveParams {
|
|
|
317
331
|
*/
|
|
318
332
|
expand?: Array<string>;
|
|
319
333
|
}
|
|
334
|
+
export interface MandateListParams extends PaginationParams {
|
|
335
|
+
payment_method: string;
|
|
336
|
+
/**
|
|
337
|
+
* The status of the mandates to retrieve. Status indicates whether or not you can use it to initiate a payment, and can have a value of `active`, `pending`, or `inactive`.
|
|
338
|
+
*/
|
|
339
|
+
status: MandateListParams.Status;
|
|
340
|
+
/**
|
|
341
|
+
* Specifies which fields in the response should be expanded.
|
|
342
|
+
*/
|
|
343
|
+
expand?: Array<string>;
|
|
344
|
+
/**
|
|
345
|
+
* The Stripe account ID that the mandates are intended for. Learn more about the [use case for connected accounts payments](https://docs.stripe.com/payments/connected-accounts).
|
|
346
|
+
*/
|
|
347
|
+
on_behalf_of?: string;
|
|
348
|
+
}
|
|
349
|
+
export declare namespace MandateListParams {
|
|
350
|
+
type Status = 'active' | 'inactive' | 'pending';
|
|
351
|
+
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec
|
|
2
2
|
import { StripeResource } from '../StripeResource.js';
|
|
3
3
|
export class MandateResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves a list of Mandates for a given PaymentMethod.
|
|
6
|
+
*/
|
|
7
|
+
list(params, options) {
|
|
8
|
+
return this._makeRequest('GET', '/v1/mandates', params, options, {
|
|
9
|
+
methodType: 'list',
|
|
10
|
+
});
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* Retrieves a Mandate object.
|
|
6
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mandates.js","sourceRoot":"","sources":["../../src/resources/Mandates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"Mandates.js","sourceRoot":"","sources":["../../src/resources/Mandates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAKpD,MAAM,OAAO,eAAgB,SAAQ,cAAc;IACjD;;OAEG;IACH,IAAI,CACF,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE;YAC/D,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,EAAE,EAAE,EACpB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { StripeResource } from '../StripeResource.js';
|
|
2
|
+
import { MetadataParam, PaginationParams, Metadata } from '../shared.js';
|
|
3
|
+
import { RequestOptions, ApiListPromise, Response } from '../lib.js';
|
|
4
|
+
export declare class MarginResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve a list of your margins.
|
|
7
|
+
*/
|
|
8
|
+
list(params?: MarginListParams, options?: RequestOptions): ApiListPromise<Margin>;
|
|
9
|
+
/**
|
|
10
|
+
* Create a margin object to be used with invoices, invoice items, and invoice line items for a customer to represent a partner discount. A margin has a percent_off which is the percent that will be taken off the subtotal after all items and other discounts and promotions) of any invoices for a customer. Calculation of prorations do not include any partner margins applied on the original invoice item.
|
|
11
|
+
*/
|
|
12
|
+
create(params: MarginCreateParams, options?: RequestOptions): Promise<Response<Margin>>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve a margin object with the given ID.
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id: string, params?: MarginRetrieveParams, options?: RequestOptions): Promise<Response<Margin>>;
|
|
17
|
+
/**
|
|
18
|
+
* Update the specified margin object. Certain fields of the margin object are not editable.
|
|
19
|
+
*/
|
|
20
|
+
update(id: string, params?: MarginUpdateParams, options?: RequestOptions): Promise<Response<Margin>>;
|
|
21
|
+
}
|
|
22
|
+
export interface Margin {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
29
|
+
*/
|
|
30
|
+
object: 'margin';
|
|
31
|
+
/**
|
|
32
|
+
* Whether the margin can be applied to invoices, invoice items, or invoice line items. Defaults to `true`.
|
|
33
|
+
*/
|
|
34
|
+
active: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
37
|
+
*/
|
|
38
|
+
created: number;
|
|
39
|
+
/**
|
|
40
|
+
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
41
|
+
*/
|
|
42
|
+
livemode: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
45
|
+
*/
|
|
46
|
+
metadata: Metadata | null;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the margin that's displayed on, for example, invoices.
|
|
49
|
+
*/
|
|
50
|
+
name: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Percent that will be taken off the subtotal before tax (after all other discounts and promotions) of any invoice to which the margin is applied.
|
|
53
|
+
*/
|
|
54
|
+
percent_off: number;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
57
|
+
*/
|
|
58
|
+
updated: number;
|
|
59
|
+
}
|
|
60
|
+
export interface MarginCreateParams {
|
|
61
|
+
/**
|
|
62
|
+
* Percent that will be taken off the subtotal before tax (after all other discounts and promotions) of any invoice to which the margin is applied.
|
|
63
|
+
*/
|
|
64
|
+
percent_off: number;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the margin can be applied to invoices, invoice items, or invoice line items or not. Defaults to `true`.
|
|
67
|
+
*/
|
|
68
|
+
active?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Specifies which fields in the response should be expanded.
|
|
71
|
+
*/
|
|
72
|
+
expand?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
75
|
+
*/
|
|
76
|
+
metadata?: MetadataParam;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the margin, which is displayed to customers, such as on invoices.
|
|
79
|
+
*/
|
|
80
|
+
name?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface MarginRetrieveParams {
|
|
83
|
+
/**
|
|
84
|
+
* Specifies which fields in the response should be expanded.
|
|
85
|
+
*/
|
|
86
|
+
expand?: Array<string>;
|
|
87
|
+
}
|
|
88
|
+
export interface MarginUpdateParams {
|
|
89
|
+
/**
|
|
90
|
+
* Whether the margin can be applied to invoices, invoice items, or invoice line items or not.
|
|
91
|
+
*/
|
|
92
|
+
active?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Specifies which fields in the response should be expanded.
|
|
95
|
+
*/
|
|
96
|
+
expand?: Array<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
99
|
+
*/
|
|
100
|
+
metadata?: MetadataParam;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the margin, which is displayed to customers, such as on invoices.
|
|
103
|
+
*/
|
|
104
|
+
name?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface MarginListParams extends PaginationParams {
|
|
107
|
+
/**
|
|
108
|
+
* Only return margins that are active or inactive. For example, pass `true` to only list active margins.
|
|
109
|
+
*/
|
|
110
|
+
active?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Specifies which fields in the response should be expanded.
|
|
113
|
+
*/
|
|
114
|
+
expand?: Array<string>;
|
|
115
|
+
}
|