stripe 22.2.0 → 22.3.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 +2754 -12
- 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/RequestSender.d.ts +1 -1
- package/cjs/RequestSender.js +2 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +471 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- 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 +1020 -6
- package/cjs/resources/Accounts.js +47 -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 +408 -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 +25 -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 +3515 -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 +130 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +85 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +573 -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 +203 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2063 -20
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +290 -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 +190 -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/Tokens.d.ts +22 -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 +453 -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 +16660 -3570
- 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/PaymentLocationCapabilities.d.ts +122 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- 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 +262 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +351 -21
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- 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 +171 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- 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 +27 -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 +1173 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -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 +214 -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/ValueListItems.d.ts +8 -0
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -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 +23 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- 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 +561 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -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 +265 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +965 -12
- package/cjs/resources/Subscriptions.js +289 -0
- 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 +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- 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/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- 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 +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/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 +88 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- 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 +61 -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/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +17 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/cjs/resources/V2/Billing/Contracts.js +376 -0
- package/cjs/resources/V2/Billing/Contracts.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 +364 -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/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 +173 -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 +340 -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 +174 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- 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 +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +5570 -67
- 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/Events.d.ts +7601 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- 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 +63 -14
- package/cjs/resources/V2/Core/index.js +16 -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 +177 -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 +214 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/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 +23 -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/DebitDisputes.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -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 +321 -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 +458 -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 +251 -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 +249 -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 +280 -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 +128 -0
- package/cjs/resources/V2/MoneyManagement/index.js +45 -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 +194 -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/Signals/AccountSignals.d.ts +176 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +13 -0
- package/cjs/resources/V2/Signals/index.js +13 -0
- package/cjs/resources/V2/Signals/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 +22 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +16 -0
- package/cjs/resources.js +256 -14
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +115 -50
- package/cjs/stripe.core.js +67 -31
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +1 -1
- package/cjs/utils.js +13 -2
- package/cjs/utils.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/RequestSender.d.ts +1 -1
- package/esm/RequestSender.js +2 -2
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +467 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- 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 +1020 -6
- package/esm/resources/Accounts.js +47 -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 +408 -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 +25 -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 +3515 -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 +130 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +85 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +130 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +161 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1418 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +573 -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 +203 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2063 -20
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +290 -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 +190 -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/Tokens.d.ts +22 -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 +453 -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 +16660 -3570
- 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/PaymentLocationCapabilities.d.ts +122 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- 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 +262 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +351 -21
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- 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 +171 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- 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 +27 -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 +1173 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -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 +214 -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/ValueListItems.d.ts +8 -0
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -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 +23 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- 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 +561 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -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 +265 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +965 -12
- package/esm/resources/Subscriptions.js +289 -0
- 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 +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- 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/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- 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 +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/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 +88 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- 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 +61 -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/ContractLicensePricingQuantityChanges.d.ts +45 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +13 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js +11 -0
- package/esm/resources/V2/Billing/Contracts/LicensePricing.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2028 -0
- package/esm/resources/V2/Billing/Contracts.js +372 -0
- package/esm/resources/V2/Billing/Contracts.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 +364 -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/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 +173 -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 +340 -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 +174 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- 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 +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +5570 -67
- 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/Events.d.ts +7601 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- 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 +63 -14
- package/esm/resources/V2/Core/index.js +16 -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 +177 -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 +214 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/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 +23 -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/DebitDisputes.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -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 +321 -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 +458 -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 +251 -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 +249 -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 +280 -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 +128 -0
- package/esm/resources/V2/MoneyManagement/index.js +41 -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 +194 -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/Signals/AccountSignals.d.ts +176 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +13 -0
- package/esm/resources/V2/Signals/index.js +9 -0
- package/esm/resources/V2/Signals/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 +16 -0
- package/esm/resources.js +233 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +115 -50
- package/esm/stripe.core.js +37 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +115 -50
- package/esm/stripe.esm.node.js +37 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +1 -1
- package/esm/utils.js +13 -2
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
+
import { TransitBalance } from './TransitBalances.js';
|
|
2
3
|
import { Application } from './Applications.js';
|
|
3
4
|
import { ApplicationFee } from './ApplicationFees.js';
|
|
4
5
|
import { BalanceTransaction } from './BalanceTransactions.js';
|
|
@@ -11,7 +12,7 @@ import { CustomerSource } from './CustomerSources.js';
|
|
|
11
12
|
import { Transfer } from './Transfers.js';
|
|
12
13
|
import { PaymentMethod } from './PaymentMethods.js';
|
|
13
14
|
import { Mandate } from './Mandates.js';
|
|
14
|
-
import { Emptyable, MetadataParam, AddressParam, PaginationParams, RangeQueryParam, Metadata
|
|
15
|
+
import { Emptyable, MetadataParam, AddressParam, Address, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
15
16
|
import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
16
17
|
export declare class ChargeResource extends StripeResource {
|
|
17
18
|
/**
|
|
@@ -57,6 +58,10 @@ export interface Charge {
|
|
|
57
58
|
* String representing the object's type. Objects of the same type share the same value.
|
|
58
59
|
*/
|
|
59
60
|
object: 'charge';
|
|
61
|
+
/**
|
|
62
|
+
* Funds that are in transit and destined for another balance or another connected account.
|
|
63
|
+
*/
|
|
64
|
+
allocated_funds?: TransitBalance;
|
|
60
65
|
/**
|
|
61
66
|
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
62
67
|
*/
|
|
@@ -341,8 +346,11 @@ export declare namespace Charge {
|
|
|
341
346
|
customer_balance?: PaymentMethodDetails.CustomerBalance;
|
|
342
347
|
eps?: PaymentMethodDetails.Eps;
|
|
343
348
|
fpx?: PaymentMethodDetails.Fpx;
|
|
349
|
+
gift_card?: PaymentMethodDetails.GiftCard;
|
|
344
350
|
giropay?: PaymentMethodDetails.Giropay;
|
|
351
|
+
gopay?: PaymentMethodDetails.Gopay;
|
|
345
352
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
353
|
+
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
346
354
|
ideal?: PaymentMethodDetails.Ideal;
|
|
347
355
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
348
356
|
kakao_pay?: PaymentMethodDetails.KakaoPay;
|
|
@@ -361,17 +369,22 @@ export declare namespace Charge {
|
|
|
361
369
|
payco?: PaymentMethodDetails.Payco;
|
|
362
370
|
paynow?: PaymentMethodDetails.Paynow;
|
|
363
371
|
paypal?: PaymentMethodDetails.Paypal;
|
|
372
|
+
paypay?: PaymentMethodDetails.Paypay;
|
|
364
373
|
payto?: PaymentMethodDetails.Payto;
|
|
365
374
|
pix?: PaymentMethodDetails.Pix;
|
|
366
375
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
376
|
+
qris?: PaymentMethodDetails.Qris;
|
|
377
|
+
rechnung?: PaymentMethodDetails.Rechnung;
|
|
367
378
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
368
379
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
369
380
|
satispay?: PaymentMethodDetails.Satispay;
|
|
370
381
|
scalapay?: PaymentMethodDetails.Scalapay;
|
|
371
382
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
372
383
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
384
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
373
385
|
sofort?: PaymentMethodDetails.Sofort;
|
|
374
386
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
387
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
375
388
|
sunbit?: PaymentMethodDetails.Sunbit;
|
|
376
389
|
swish?: PaymentMethodDetails.Swish;
|
|
377
390
|
twint?: PaymentMethodDetails.Twint;
|
|
@@ -692,14 +705,20 @@ export declare namespace Charge {
|
|
|
692
705
|
tax_id: string;
|
|
693
706
|
}
|
|
694
707
|
interface Card {
|
|
708
|
+
account_funding?: Card.AccountFunding;
|
|
695
709
|
/**
|
|
696
710
|
* The authorized amount.
|
|
697
711
|
*/
|
|
698
712
|
amount_authorized: number | null;
|
|
713
|
+
/**
|
|
714
|
+
* The latest amount intended to be authorized by this charge.
|
|
715
|
+
*/
|
|
716
|
+
amount_requested?: number | null;
|
|
699
717
|
/**
|
|
700
718
|
* Authorization code on the charge.
|
|
701
719
|
*/
|
|
702
720
|
authorization_code: string | null;
|
|
721
|
+
benefits?: Card.Benefits;
|
|
703
722
|
/**
|
|
704
723
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
705
724
|
*/
|
|
@@ -716,6 +735,7 @@ export declare namespace Charge {
|
|
|
716
735
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
717
736
|
*/
|
|
718
737
|
country: string | null;
|
|
738
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
719
739
|
/**
|
|
720
740
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
721
741
|
*/
|
|
@@ -780,6 +800,15 @@ export declare namespace Charge {
|
|
|
780
800
|
*/
|
|
781
801
|
network_transaction_id: string | null;
|
|
782
802
|
overcapture?: Card.Overcapture;
|
|
803
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
804
|
+
/**
|
|
805
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
806
|
+
*/
|
|
807
|
+
reauthorization?: Card.Reauthorization | null;
|
|
808
|
+
/**
|
|
809
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
810
|
+
*/
|
|
811
|
+
reauthorize_before?: number | null;
|
|
783
812
|
/**
|
|
784
813
|
* Status of a card based on the card issuer.
|
|
785
814
|
*/
|
|
@@ -896,6 +925,14 @@ export declare namespace Charge {
|
|
|
896
925
|
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
897
926
|
*/
|
|
898
927
|
reader?: string;
|
|
928
|
+
/**
|
|
929
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
930
|
+
*/
|
|
931
|
+
reauthorization?: CardPresent.Reauthorization | null;
|
|
932
|
+
/**
|
|
933
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
934
|
+
*/
|
|
935
|
+
reauthorize_before?: number | null;
|
|
899
936
|
/**
|
|
900
937
|
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
901
938
|
*/
|
|
@@ -962,6 +999,33 @@ export declare namespace Charge {
|
|
|
962
999
|
*/
|
|
963
1000
|
transaction_id: string | null;
|
|
964
1001
|
}
|
|
1002
|
+
interface GiftCard {
|
|
1003
|
+
balance: GiftCard.Balance;
|
|
1004
|
+
/**
|
|
1005
|
+
* The brand of the gift card.
|
|
1006
|
+
*/
|
|
1007
|
+
brand: GiftCard.Brand;
|
|
1008
|
+
/**
|
|
1009
|
+
* The expiration month of the gift card.
|
|
1010
|
+
*/
|
|
1011
|
+
exp_month: number | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* The expiration year of the gift card.
|
|
1014
|
+
*/
|
|
1015
|
+
exp_year: number | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* The first six digits of the gift card number.
|
|
1018
|
+
*/
|
|
1019
|
+
first6: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* The last four digits of the gift card number.
|
|
1022
|
+
*/
|
|
1023
|
+
last4: string | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* The transaction ID from the gift card processor.
|
|
1026
|
+
*/
|
|
1027
|
+
transaction_id: string;
|
|
1028
|
+
}
|
|
965
1029
|
interface Giropay {
|
|
966
1030
|
/**
|
|
967
1031
|
* Bank code of bank associated with the bank account.
|
|
@@ -982,12 +1046,36 @@ export declare namespace Charge {
|
|
|
982
1046
|
*/
|
|
983
1047
|
verified_name: string | null;
|
|
984
1048
|
}
|
|
1049
|
+
interface Gopay {
|
|
1050
|
+
}
|
|
985
1051
|
interface Grabpay {
|
|
986
1052
|
/**
|
|
987
1053
|
* Unique transaction id generated by GrabPay
|
|
988
1054
|
*/
|
|
989
1055
|
transaction_id: string | null;
|
|
990
1056
|
}
|
|
1057
|
+
interface IdBankTransfer {
|
|
1058
|
+
/**
|
|
1059
|
+
* Account number of the bank account to transfer funds to.
|
|
1060
|
+
*/
|
|
1061
|
+
account_number: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Bank where the account is located.
|
|
1064
|
+
*/
|
|
1065
|
+
bank: IdBankTransfer.Bank;
|
|
1066
|
+
/**
|
|
1067
|
+
* Local bank code of the bank.
|
|
1068
|
+
*/
|
|
1069
|
+
bank_code?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Name of the bank associated with the bank account.
|
|
1072
|
+
*/
|
|
1073
|
+
bank_name?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1076
|
+
*/
|
|
1077
|
+
display_name?: string;
|
|
1078
|
+
}
|
|
991
1079
|
interface Ideal {
|
|
992
1080
|
/**
|
|
993
1081
|
* The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -1297,10 +1385,34 @@ export declare namespace Charge {
|
|
|
1297
1385
|
* The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1298
1386
|
*/
|
|
1299
1387
|
seller_protection: Paypal.SellerProtection | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1390
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1391
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1392
|
+
*/
|
|
1393
|
+
shipping?: Address | null;
|
|
1300
1394
|
/**
|
|
1301
1395
|
* A unique ID generated by PayPal for this transaction.
|
|
1302
1396
|
*/
|
|
1303
1397
|
transaction_id: string | null;
|
|
1398
|
+
/**
|
|
1399
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1400
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1401
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1402
|
+
*/
|
|
1403
|
+
verified_address?: Address | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1406
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1407
|
+
*/
|
|
1408
|
+
verified_email?: string | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1411
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1412
|
+
*/
|
|
1413
|
+
verified_name?: string | null;
|
|
1414
|
+
}
|
|
1415
|
+
interface Paypay {
|
|
1304
1416
|
}
|
|
1305
1417
|
interface Payto {
|
|
1306
1418
|
/**
|
|
@@ -1336,6 +1448,14 @@ export declare namespace Charge {
|
|
|
1336
1448
|
*/
|
|
1337
1449
|
reference: string | null;
|
|
1338
1450
|
}
|
|
1451
|
+
interface Qris {
|
|
1452
|
+
}
|
|
1453
|
+
interface Rechnung {
|
|
1454
|
+
/**
|
|
1455
|
+
* Payment portal URL.
|
|
1456
|
+
*/
|
|
1457
|
+
payment_portal_url: string | null;
|
|
1458
|
+
}
|
|
1339
1459
|
interface RevolutPay {
|
|
1340
1460
|
funding?: RevolutPay.Funding;
|
|
1341
1461
|
/**
|
|
@@ -1409,6 +1529,8 @@ export declare namespace Charge {
|
|
|
1409
1529
|
*/
|
|
1410
1530
|
mandate: string | null;
|
|
1411
1531
|
}
|
|
1532
|
+
interface Shopeepay {
|
|
1533
|
+
}
|
|
1412
1534
|
interface Sofort {
|
|
1413
1535
|
/**
|
|
1414
1536
|
* Bank code of bank associated with the bank account.
|
|
@@ -1451,6 +1573,12 @@ export declare namespace Charge {
|
|
|
1451
1573
|
}
|
|
1452
1574
|
interface StripeAccount {
|
|
1453
1575
|
}
|
|
1576
|
+
interface StripeBalance {
|
|
1577
|
+
/**
|
|
1578
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1579
|
+
*/
|
|
1580
|
+
account?: string | null;
|
|
1581
|
+
}
|
|
1454
1582
|
interface Sunbit {
|
|
1455
1583
|
/**
|
|
1456
1584
|
* The Sunbit transaction ID associated with this payment.
|
|
@@ -1568,6 +1696,10 @@ export declare namespace Charge {
|
|
|
1568
1696
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1569
1697
|
*/
|
|
1570
1698
|
brand: string | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1701
|
+
*/
|
|
1702
|
+
brand_product?: string | null;
|
|
1571
1703
|
/**
|
|
1572
1704
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1573
1705
|
*/
|
|
@@ -1595,6 +1727,18 @@ export declare namespace Charge {
|
|
|
1595
1727
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1596
1728
|
}
|
|
1597
1729
|
namespace Card {
|
|
1730
|
+
interface AccountFunding {
|
|
1731
|
+
/**
|
|
1732
|
+
* The transaction type of the card transaction. One of `account_funding` or `purchase`.
|
|
1733
|
+
*/
|
|
1734
|
+
processed_transaction_type?: AccountFunding.ProcessedTransactionType;
|
|
1735
|
+
}
|
|
1736
|
+
interface Benefits {
|
|
1737
|
+
/**
|
|
1738
|
+
* Issuer of the benefit card utilized on this payment
|
|
1739
|
+
*/
|
|
1740
|
+
issuer: string | null;
|
|
1741
|
+
}
|
|
1598
1742
|
interface Checks {
|
|
1599
1743
|
/**
|
|
1600
1744
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -1609,6 +1753,12 @@ export declare namespace Charge {
|
|
|
1609
1753
|
*/
|
|
1610
1754
|
cvc_check: string | null;
|
|
1611
1755
|
}
|
|
1756
|
+
interface DecrementalAuthorization {
|
|
1757
|
+
/**
|
|
1758
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1759
|
+
*/
|
|
1760
|
+
status: DecrementalAuthorization.Status;
|
|
1761
|
+
}
|
|
1612
1762
|
interface ExtendedAuthorization {
|
|
1613
1763
|
/**
|
|
1614
1764
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1649,6 +1799,18 @@ export declare namespace Charge {
|
|
|
1649
1799
|
*/
|
|
1650
1800
|
status: Overcapture.Status;
|
|
1651
1801
|
}
|
|
1802
|
+
interface PartialAuthorization {
|
|
1803
|
+
/**
|
|
1804
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1805
|
+
*/
|
|
1806
|
+
status: PartialAuthorization.Status;
|
|
1807
|
+
}
|
|
1808
|
+
interface Reauthorization {
|
|
1809
|
+
/**
|
|
1810
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1811
|
+
*/
|
|
1812
|
+
status: Reauthorization.Status;
|
|
1813
|
+
}
|
|
1652
1814
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1653
1815
|
interface ThreeDSecure {
|
|
1654
1816
|
/**
|
|
@@ -1706,6 +1868,12 @@ export declare namespace Charge {
|
|
|
1706
1868
|
type: Wallet.Type;
|
|
1707
1869
|
visa_checkout?: Wallet.VisaCheckout;
|
|
1708
1870
|
}
|
|
1871
|
+
namespace AccountFunding {
|
|
1872
|
+
type ProcessedTransactionType = 'account_funding' | 'purchase';
|
|
1873
|
+
}
|
|
1874
|
+
namespace DecrementalAuthorization {
|
|
1875
|
+
type Status = 'available' | 'unavailable';
|
|
1876
|
+
}
|
|
1709
1877
|
namespace ExtendedAuthorization {
|
|
1710
1878
|
type Status = 'disabled' | 'enabled';
|
|
1711
1879
|
}
|
|
@@ -1738,6 +1906,12 @@ export declare namespace Charge {
|
|
|
1738
1906
|
namespace Overcapture {
|
|
1739
1907
|
type Status = 'available' | 'unavailable';
|
|
1740
1908
|
}
|
|
1909
|
+
namespace PartialAuthorization {
|
|
1910
|
+
type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized';
|
|
1911
|
+
}
|
|
1912
|
+
namespace Reauthorization {
|
|
1913
|
+
type Status = 'available' | 'unavailable';
|
|
1914
|
+
}
|
|
1741
1915
|
namespace ThreeDSecure {
|
|
1742
1916
|
type AuthenticationFlow = 'challenge' | 'frictionless';
|
|
1743
1917
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
|
|
@@ -1808,6 +1982,12 @@ export declare namespace Charge {
|
|
|
1808
1982
|
type: 'deferred' | null;
|
|
1809
1983
|
}
|
|
1810
1984
|
type ReadMethod = 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2';
|
|
1985
|
+
interface Reauthorization {
|
|
1986
|
+
/**
|
|
1987
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1988
|
+
*/
|
|
1989
|
+
status: Reauthorization.Status;
|
|
1990
|
+
}
|
|
1811
1991
|
interface Receipt {
|
|
1812
1992
|
/**
|
|
1813
1993
|
* The type of account being debited or credited
|
|
@@ -1852,6 +2032,9 @@ export declare namespace Charge {
|
|
|
1852
2032
|
*/
|
|
1853
2033
|
type: Wallet.Type;
|
|
1854
2034
|
}
|
|
2035
|
+
namespace Reauthorization {
|
|
2036
|
+
type Status = 'available' | 'unavailable';
|
|
2037
|
+
}
|
|
1855
2038
|
namespace Receipt {
|
|
1856
2039
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
|
|
1857
2040
|
}
|
|
@@ -1870,6 +2053,22 @@ export declare namespace Charge {
|
|
|
1870
2053
|
type AccountHolderType = 'company' | 'individual';
|
|
1871
2054
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1872
2055
|
}
|
|
2056
|
+
namespace GiftCard {
|
|
2057
|
+
interface Balance {
|
|
2058
|
+
/**
|
|
2059
|
+
* The balance amount in the smallest currency unit.
|
|
2060
|
+
*/
|
|
2061
|
+
amount: number;
|
|
2062
|
+
/**
|
|
2063
|
+
* The currency of the balance.
|
|
2064
|
+
*/
|
|
2065
|
+
currency: string;
|
|
2066
|
+
}
|
|
2067
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
2068
|
+
}
|
|
2069
|
+
namespace IdBankTransfer {
|
|
2070
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2071
|
+
}
|
|
1873
2072
|
namespace Ideal {
|
|
1874
2073
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
1875
2074
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
@@ -2005,6 +2204,10 @@ export declare namespace Charge {
|
|
|
2005
2204
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
2006
2205
|
*/
|
|
2007
2206
|
brand: string | null;
|
|
2207
|
+
/**
|
|
2208
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
2209
|
+
*/
|
|
2210
|
+
brand_product?: string | null;
|
|
2008
2211
|
/**
|
|
2009
2212
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2010
2213
|
*/
|
|
@@ -2192,6 +2395,10 @@ export interface ChargeUpdateParams {
|
|
|
2192
2395
|
* 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`.
|
|
2193
2396
|
*/
|
|
2194
2397
|
metadata?: Emptyable<MetadataParam>;
|
|
2398
|
+
/**
|
|
2399
|
+
* Provides industry-specific information about the charge.
|
|
2400
|
+
*/
|
|
2401
|
+
payment_details?: ChargeUpdateParams.PaymentDetails;
|
|
2195
2402
|
/**
|
|
2196
2403
|
* This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
|
|
2197
2404
|
*/
|
|
@@ -2212,6 +2419,60 @@ export declare namespace ChargeUpdateParams {
|
|
|
2212
2419
|
*/
|
|
2213
2420
|
user_report: Emptyable<FraudDetails.UserReport>;
|
|
2214
2421
|
}
|
|
2422
|
+
interface PaymentDetails {
|
|
2423
|
+
/**
|
|
2424
|
+
* Car rental details for this PaymentIntent.
|
|
2425
|
+
*/
|
|
2426
|
+
car_rental?: PaymentDetails.CarRental;
|
|
2427
|
+
/**
|
|
2428
|
+
* Car rental data for this PaymentIntent.
|
|
2429
|
+
*/
|
|
2430
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
2431
|
+
/**
|
|
2432
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
2433
|
+
*
|
|
2434
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2435
|
+
*/
|
|
2436
|
+
customer_reference?: Emptyable<string>;
|
|
2437
|
+
/**
|
|
2438
|
+
* Event details for this PaymentIntent
|
|
2439
|
+
*/
|
|
2440
|
+
event_details?: PaymentDetails.EventDetails;
|
|
2441
|
+
/**
|
|
2442
|
+
* Fleet data for this PaymentIntent.
|
|
2443
|
+
*/
|
|
2444
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
2445
|
+
/**
|
|
2446
|
+
* Flight reservation details for this PaymentIntent
|
|
2447
|
+
*/
|
|
2448
|
+
flight?: PaymentDetails.Flight;
|
|
2449
|
+
/**
|
|
2450
|
+
* Flight data for this PaymentIntent.
|
|
2451
|
+
*/
|
|
2452
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
2453
|
+
/**
|
|
2454
|
+
* Lodging reservation details for this PaymentIntent
|
|
2455
|
+
*/
|
|
2456
|
+
lodging?: PaymentDetails.Lodging;
|
|
2457
|
+
/**
|
|
2458
|
+
* Lodging data for this PaymentIntent.
|
|
2459
|
+
*/
|
|
2460
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
2461
|
+
/**
|
|
2462
|
+
* Money services details for this PaymentIntent.
|
|
2463
|
+
*/
|
|
2464
|
+
money_services?: Emptyable<PaymentDetails.MoneyServices>;
|
|
2465
|
+
/**
|
|
2466
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2467
|
+
*
|
|
2468
|
+
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
2469
|
+
*/
|
|
2470
|
+
order_reference?: Emptyable<string>;
|
|
2471
|
+
/**
|
|
2472
|
+
* Subscription details for this PaymentIntent
|
|
2473
|
+
*/
|
|
2474
|
+
subscription?: PaymentDetails.Subscription;
|
|
2475
|
+
}
|
|
2215
2476
|
interface Shipping {
|
|
2216
2477
|
/**
|
|
2217
2478
|
* Shipping address.
|
|
@@ -2237,75 +2498,3259 @@ export declare namespace ChargeUpdateParams {
|
|
|
2237
2498
|
namespace FraudDetails {
|
|
2238
2499
|
type UserReport = 'fraudulent' | 'safe';
|
|
2239
2500
|
}
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2501
|
+
namespace PaymentDetails {
|
|
2502
|
+
interface CarRental {
|
|
2503
|
+
/**
|
|
2504
|
+
* Affiliate details for this purchase.
|
|
2505
|
+
*/
|
|
2506
|
+
affiliate?: CarRental.Affiliate;
|
|
2507
|
+
/**
|
|
2508
|
+
* The booking number associated with the car rental.
|
|
2509
|
+
*/
|
|
2510
|
+
booking_number: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* Class code of the car.
|
|
2513
|
+
*/
|
|
2514
|
+
car_class_code?: string;
|
|
2515
|
+
/**
|
|
2516
|
+
* Make of the car.
|
|
2517
|
+
*/
|
|
2518
|
+
car_make?: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* Model of the car.
|
|
2521
|
+
*/
|
|
2522
|
+
car_model?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* The name of the rental car company.
|
|
2525
|
+
*/
|
|
2526
|
+
company?: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* The customer service phone number of the car rental company.
|
|
2529
|
+
*/
|
|
2530
|
+
customer_service_phone_number?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Number of days the car is being rented.
|
|
2533
|
+
*/
|
|
2534
|
+
days_rented: number;
|
|
2535
|
+
/**
|
|
2536
|
+
* Delivery details for this purchase.
|
|
2537
|
+
*/
|
|
2538
|
+
delivery?: CarRental.Delivery;
|
|
2539
|
+
/**
|
|
2540
|
+
* The details of the distance traveled during the rental period.
|
|
2541
|
+
*/
|
|
2542
|
+
distance?: CarRental.Distance;
|
|
2543
|
+
/**
|
|
2544
|
+
* The details of the passengers in the travel reservation
|
|
2545
|
+
*/
|
|
2546
|
+
drivers?: Array<CarRental.Driver>;
|
|
2547
|
+
/**
|
|
2548
|
+
* List of additional charges being billed.
|
|
2549
|
+
*/
|
|
2550
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
2551
|
+
/**
|
|
2552
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
2553
|
+
*/
|
|
2554
|
+
no_show?: boolean;
|
|
2555
|
+
/**
|
|
2556
|
+
* Car pick-up address.
|
|
2557
|
+
*/
|
|
2558
|
+
pickup_address?: AddressParam;
|
|
2559
|
+
/**
|
|
2560
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
2561
|
+
*/
|
|
2562
|
+
pickup_at: number;
|
|
2563
|
+
/**
|
|
2564
|
+
* Name of the pickup location.
|
|
2565
|
+
*/
|
|
2566
|
+
pickup_location_name?: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* Rental rate.
|
|
2569
|
+
*/
|
|
2570
|
+
rate_amount?: number;
|
|
2571
|
+
/**
|
|
2572
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
2573
|
+
*/
|
|
2574
|
+
rate_interval?: CarRental.RateInterval;
|
|
2575
|
+
/**
|
|
2576
|
+
* The name of the person or entity renting the car.
|
|
2577
|
+
*/
|
|
2578
|
+
renter_name?: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* Car return address.
|
|
2581
|
+
*/
|
|
2582
|
+
return_address?: AddressParam;
|
|
2583
|
+
/**
|
|
2584
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
2585
|
+
*/
|
|
2586
|
+
return_at: number;
|
|
2587
|
+
/**
|
|
2588
|
+
* Name of the return location.
|
|
2589
|
+
*/
|
|
2590
|
+
return_location_name?: string;
|
|
2591
|
+
/**
|
|
2592
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
2593
|
+
*/
|
|
2594
|
+
tax_exempt?: boolean;
|
|
2595
|
+
/**
|
|
2596
|
+
* The vehicle identification number.
|
|
2597
|
+
*/
|
|
2598
|
+
vehicle_identification_number?: string;
|
|
2599
|
+
}
|
|
2600
|
+
interface CarRentalDatum {
|
|
2601
|
+
/**
|
|
2602
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
2603
|
+
*/
|
|
2604
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
2605
|
+
/**
|
|
2606
|
+
* Booking confirmation number for the car rental.
|
|
2607
|
+
*/
|
|
2608
|
+
booking_number?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Name of the car rental company.
|
|
2611
|
+
*/
|
|
2612
|
+
carrier_name?: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* Customer service phone number for the car rental company.
|
|
2615
|
+
*/
|
|
2616
|
+
customer_service_phone_number?: string;
|
|
2617
|
+
/**
|
|
2618
|
+
* Number of days the car is being rented.
|
|
2619
|
+
*/
|
|
2620
|
+
days_rented?: number;
|
|
2621
|
+
/**
|
|
2622
|
+
* Distance details for the rental.
|
|
2623
|
+
*/
|
|
2624
|
+
distance?: CarRentalDatum.Distance;
|
|
2625
|
+
/**
|
|
2626
|
+
* List of drivers for the rental.
|
|
2627
|
+
*/
|
|
2628
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Drop-off location details.
|
|
2631
|
+
*/
|
|
2632
|
+
drop_off: CarRentalDatum.DropOff;
|
|
2633
|
+
/**
|
|
2634
|
+
* Insurance details for the rental.
|
|
2635
|
+
*/
|
|
2636
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
2637
|
+
/**
|
|
2638
|
+
* Indicates if the customer was a no-show.
|
|
2639
|
+
*/
|
|
2640
|
+
no_show_indicator?: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* Pickup location details.
|
|
2643
|
+
*/
|
|
2644
|
+
pickup: CarRentalDatum.Pickup;
|
|
2645
|
+
/**
|
|
2646
|
+
* Name of the person renting the vehicle.
|
|
2647
|
+
*/
|
|
2648
|
+
renter_name?: string;
|
|
2649
|
+
/**
|
|
2650
|
+
* Total cost breakdown for the rental.
|
|
2651
|
+
*/
|
|
2652
|
+
total: CarRentalDatum.Total;
|
|
2653
|
+
/**
|
|
2654
|
+
* Vehicle details for the rental.
|
|
2655
|
+
*/
|
|
2656
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
2657
|
+
}
|
|
2658
|
+
interface EventDetails {
|
|
2659
|
+
/**
|
|
2660
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
2661
|
+
*/
|
|
2662
|
+
access_controlled_venue?: boolean;
|
|
2663
|
+
/**
|
|
2664
|
+
* The event location's address.
|
|
2665
|
+
*/
|
|
2666
|
+
address?: AddressParam;
|
|
2667
|
+
/**
|
|
2668
|
+
* Affiliate details for this purchase.
|
|
2669
|
+
*/
|
|
2670
|
+
affiliate?: EventDetails.Affiliate;
|
|
2671
|
+
/**
|
|
2672
|
+
* The name of the company
|
|
2673
|
+
*/
|
|
2674
|
+
company?: string;
|
|
2675
|
+
/**
|
|
2676
|
+
* Delivery details for this purchase.
|
|
2677
|
+
*/
|
|
2678
|
+
delivery?: EventDetails.Delivery;
|
|
2679
|
+
/**
|
|
2680
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
2681
|
+
*/
|
|
2682
|
+
ends_at?: number;
|
|
2683
|
+
/**
|
|
2684
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
2685
|
+
*/
|
|
2686
|
+
genre?: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* The name of the event.
|
|
2689
|
+
*/
|
|
2690
|
+
name: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
2693
|
+
*/
|
|
2694
|
+
starts_at?: number;
|
|
2695
|
+
}
|
|
2696
|
+
interface FleetDatum {
|
|
2697
|
+
/**
|
|
2698
|
+
* Primary fuel fields for the transaction.
|
|
2699
|
+
*/
|
|
2700
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
2701
|
+
/**
|
|
2702
|
+
* Station and acceptor location details.
|
|
2703
|
+
*/
|
|
2704
|
+
station?: FleetDatum.Station;
|
|
2705
|
+
/**
|
|
2706
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
2707
|
+
*/
|
|
2708
|
+
vat?: FleetDatum.Vat;
|
|
2709
|
+
}
|
|
2710
|
+
interface Flight {
|
|
2711
|
+
/**
|
|
2712
|
+
* Affiliate details for this purchase.
|
|
2713
|
+
*/
|
|
2714
|
+
affiliate?: Flight.Affiliate;
|
|
2715
|
+
/**
|
|
2716
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
2717
|
+
*/
|
|
2718
|
+
agency_number?: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
2721
|
+
*/
|
|
2722
|
+
carrier?: string;
|
|
2723
|
+
/**
|
|
2724
|
+
* Delivery details for this purchase.
|
|
2725
|
+
*/
|
|
2726
|
+
delivery?: Flight.Delivery;
|
|
2727
|
+
/**
|
|
2728
|
+
* The name of the person or entity on the reservation.
|
|
2729
|
+
*/
|
|
2730
|
+
passenger_name?: string;
|
|
2731
|
+
/**
|
|
2732
|
+
* The details of the passengers in the travel reservation.
|
|
2733
|
+
*/
|
|
2734
|
+
passengers?: Array<Flight.Passenger>;
|
|
2735
|
+
/**
|
|
2736
|
+
* The individual flight segments associated with the trip.
|
|
2737
|
+
*/
|
|
2738
|
+
segments: Array<Flight.Segment>;
|
|
2739
|
+
/**
|
|
2740
|
+
* The ticket number associated with the travel reservation.
|
|
2741
|
+
*/
|
|
2742
|
+
ticket_number?: string;
|
|
2743
|
+
}
|
|
2744
|
+
interface FlightDatum {
|
|
2745
|
+
/**
|
|
2746
|
+
* Affiliate details if applicable.
|
|
2747
|
+
*/
|
|
2748
|
+
affiliate?: FlightDatum.Affiliate;
|
|
2749
|
+
/**
|
|
2750
|
+
* Reservation reference.
|
|
2751
|
+
*/
|
|
2752
|
+
booking_number?: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
2755
|
+
*/
|
|
2756
|
+
computerized_reservation_system?: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* Ticket restrictions.
|
|
2759
|
+
*/
|
|
2760
|
+
endorsements_and_restrictions?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* List of insurances.
|
|
2763
|
+
*/
|
|
2764
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
2765
|
+
/**
|
|
2766
|
+
* List of passengers.
|
|
2767
|
+
*/
|
|
2768
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
2769
|
+
/**
|
|
2770
|
+
* List of flight segments.
|
|
2771
|
+
*/
|
|
2772
|
+
segments: Array<FlightDatum.Segment>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Electronic ticket indicator.
|
|
2775
|
+
*/
|
|
2776
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
2777
|
+
/**
|
|
2778
|
+
* Total cost breakdown.
|
|
2779
|
+
*/
|
|
2780
|
+
total: FlightDatum.Total;
|
|
2781
|
+
/**
|
|
2782
|
+
* Type of flight transaction.
|
|
2783
|
+
*/
|
|
2784
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
2785
|
+
}
|
|
2786
|
+
interface Lodging {
|
|
2787
|
+
/**
|
|
2788
|
+
* The lodging location's address.
|
|
2789
|
+
*/
|
|
2790
|
+
address?: AddressParam;
|
|
2791
|
+
/**
|
|
2792
|
+
* The number of adults on the booking
|
|
2793
|
+
*/
|
|
2794
|
+
adults?: number;
|
|
2795
|
+
/**
|
|
2796
|
+
* Affiliate details for this purchase.
|
|
2797
|
+
*/
|
|
2798
|
+
affiliate?: Lodging.Affiliate;
|
|
2799
|
+
/**
|
|
2800
|
+
* The booking number associated with the lodging reservation.
|
|
2801
|
+
*/
|
|
2802
|
+
booking_number?: string;
|
|
2803
|
+
/**
|
|
2804
|
+
* The lodging category
|
|
2805
|
+
*/
|
|
2806
|
+
category?: Lodging.Category;
|
|
2807
|
+
/**
|
|
2808
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
2809
|
+
*/
|
|
2810
|
+
checkin_at: number;
|
|
2811
|
+
/**
|
|
2812
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
2813
|
+
*/
|
|
2814
|
+
checkout_at: number;
|
|
2815
|
+
/**
|
|
2816
|
+
* The customer service phone number of the lodging company.
|
|
2817
|
+
*/
|
|
2818
|
+
customer_service_phone_number?: string;
|
|
2819
|
+
/**
|
|
2820
|
+
* The daily lodging room rate.
|
|
2821
|
+
*/
|
|
2822
|
+
daily_room_rate_amount?: number;
|
|
2823
|
+
/**
|
|
2824
|
+
* Delivery details for this purchase.
|
|
2825
|
+
*/
|
|
2826
|
+
delivery?: Lodging.Delivery;
|
|
2827
|
+
/**
|
|
2828
|
+
* List of additional charges being billed.
|
|
2829
|
+
*/
|
|
2830
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
2831
|
+
/**
|
|
2832
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
2833
|
+
*/
|
|
2834
|
+
fire_safety_act_compliance?: boolean;
|
|
2835
|
+
/**
|
|
2836
|
+
* The name of the lodging location.
|
|
2837
|
+
*/
|
|
2838
|
+
name?: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
2841
|
+
*/
|
|
2842
|
+
no_show?: boolean;
|
|
2843
|
+
/**
|
|
2844
|
+
* The number of rooms on the booking
|
|
2845
|
+
*/
|
|
2846
|
+
number_of_rooms?: number;
|
|
2847
|
+
/**
|
|
2848
|
+
* The details of the passengers in the travel reservation
|
|
2849
|
+
*/
|
|
2850
|
+
passengers?: Array<Lodging.Passenger>;
|
|
2851
|
+
/**
|
|
2852
|
+
* The phone number of the lodging location.
|
|
2853
|
+
*/
|
|
2854
|
+
property_phone_number?: string;
|
|
2855
|
+
/**
|
|
2856
|
+
* The room class for this purchase.
|
|
2857
|
+
*/
|
|
2858
|
+
room_class?: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* The number of room nights
|
|
2861
|
+
*/
|
|
2862
|
+
room_nights?: number;
|
|
2863
|
+
/**
|
|
2864
|
+
* The total tax amount associating with the room reservation.
|
|
2865
|
+
*/
|
|
2866
|
+
total_room_tax_amount?: number;
|
|
2867
|
+
/**
|
|
2868
|
+
* The total tax amount
|
|
2869
|
+
*/
|
|
2870
|
+
total_tax_amount?: number;
|
|
2871
|
+
}
|
|
2872
|
+
interface LodgingDatum {
|
|
2873
|
+
/**
|
|
2874
|
+
* Accommodation details for the lodging.
|
|
2875
|
+
*/
|
|
2876
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
2877
|
+
/**
|
|
2878
|
+
* Affiliate details if applicable.
|
|
2879
|
+
*/
|
|
2880
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
2881
|
+
/**
|
|
2882
|
+
* Booking confirmation number for the lodging.
|
|
2883
|
+
*/
|
|
2884
|
+
booking_number?: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* Check-in date.
|
|
2887
|
+
*/
|
|
2888
|
+
checkin_at: number;
|
|
2889
|
+
/**
|
|
2890
|
+
* Check-out date.
|
|
2891
|
+
*/
|
|
2892
|
+
checkout_at: number;
|
|
2893
|
+
/**
|
|
2894
|
+
* Customer service phone number for the lodging company.
|
|
2895
|
+
*/
|
|
2896
|
+
customer_service_phone_number?: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2899
|
+
*/
|
|
2900
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
2901
|
+
/**
|
|
2902
|
+
* List of guests for the lodging.
|
|
2903
|
+
*/
|
|
2904
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Host details for the lodging.
|
|
2907
|
+
*/
|
|
2908
|
+
host?: LodgingDatum.Host;
|
|
2909
|
+
/**
|
|
2910
|
+
* List of insurances for the lodging.
|
|
2911
|
+
*/
|
|
2912
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
2913
|
+
/**
|
|
2914
|
+
* Whether the renter is a no-show.
|
|
2915
|
+
*/
|
|
2916
|
+
no_show_indicator?: boolean;
|
|
2917
|
+
/**
|
|
2918
|
+
* Renter ID number for the lodging.
|
|
2919
|
+
*/
|
|
2920
|
+
renter_id_number?: string;
|
|
2921
|
+
/**
|
|
2922
|
+
* Renter name for the lodging.
|
|
2923
|
+
*/
|
|
2924
|
+
renter_name?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Total details for the lodging.
|
|
2927
|
+
*/
|
|
2928
|
+
total: LodgingDatum.Total;
|
|
2929
|
+
}
|
|
2930
|
+
interface MoneyServices {
|
|
2931
|
+
/**
|
|
2932
|
+
* Account funding transaction details including sender and beneficiary information.
|
|
2933
|
+
*/
|
|
2934
|
+
account_funding?: Emptyable<MoneyServices.AccountFunding>;
|
|
2935
|
+
/**
|
|
2936
|
+
* The type of money services transaction.
|
|
2937
|
+
*/
|
|
2938
|
+
transaction_type?: Emptyable<MoneyServices.TransactionType>;
|
|
2939
|
+
}
|
|
2940
|
+
interface Subscription {
|
|
2941
|
+
/**
|
|
2942
|
+
* Affiliate details for this purchase.
|
|
2943
|
+
*/
|
|
2944
|
+
affiliate?: Subscription.Affiliate;
|
|
2945
|
+
/**
|
|
2946
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
2947
|
+
*/
|
|
2948
|
+
auto_renewal?: boolean;
|
|
2949
|
+
/**
|
|
2950
|
+
* Subscription billing details for this purchase.
|
|
2951
|
+
*/
|
|
2952
|
+
billing_interval?: Subscription.BillingInterval;
|
|
2953
|
+
/**
|
|
2954
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
2955
|
+
*/
|
|
2956
|
+
ends_at?: number;
|
|
2957
|
+
/**
|
|
2958
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
2959
|
+
*/
|
|
2960
|
+
name: string;
|
|
2961
|
+
/**
|
|
2962
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
2963
|
+
*/
|
|
2964
|
+
starts_at?: number;
|
|
2965
|
+
}
|
|
2966
|
+
namespace CarRental {
|
|
2967
|
+
interface Affiliate {
|
|
2968
|
+
/**
|
|
2969
|
+
* The name of the affiliate that originated the purchase.
|
|
2970
|
+
*/
|
|
2971
|
+
name: string;
|
|
2972
|
+
}
|
|
2973
|
+
interface Delivery {
|
|
2974
|
+
/**
|
|
2975
|
+
* The delivery method for the payment
|
|
2976
|
+
*/
|
|
2977
|
+
mode?: Delivery.Mode;
|
|
2978
|
+
/**
|
|
2979
|
+
* Details of the recipient.
|
|
2980
|
+
*/
|
|
2981
|
+
recipient?: Delivery.Recipient;
|
|
2982
|
+
}
|
|
2983
|
+
interface Distance {
|
|
2984
|
+
/**
|
|
2985
|
+
* Distance traveled.
|
|
2986
|
+
*/
|
|
2987
|
+
amount?: number;
|
|
2988
|
+
/**
|
|
2989
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
2990
|
+
*/
|
|
2991
|
+
unit?: Distance.Unit;
|
|
2992
|
+
}
|
|
2993
|
+
interface Driver {
|
|
2994
|
+
/**
|
|
2995
|
+
* Driver's identification number.
|
|
2996
|
+
*/
|
|
2997
|
+
driver_identification_number?: string;
|
|
2998
|
+
/**
|
|
2999
|
+
* Driver's tax number.
|
|
3000
|
+
*/
|
|
3001
|
+
driver_tax_number?: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Full name of the person or entity on the car reservation.
|
|
3004
|
+
*/
|
|
3005
|
+
name: string;
|
|
3006
|
+
}
|
|
3007
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
3008
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
3009
|
+
namespace Delivery {
|
|
3010
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3011
|
+
interface Recipient {
|
|
3012
|
+
/**
|
|
3013
|
+
* The email of the recipient the ticket is delivered to.
|
|
3014
|
+
*/
|
|
3015
|
+
email?: string;
|
|
3016
|
+
/**
|
|
3017
|
+
* The name of the recipient the ticket is delivered to.
|
|
3018
|
+
*/
|
|
3019
|
+
name?: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3022
|
+
*/
|
|
3023
|
+
phone?: string;
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
namespace Distance {
|
|
3027
|
+
type Unit = 'kilometers' | 'miles';
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3030
|
+
namespace CarRentalDatum {
|
|
3031
|
+
interface Affiliate {
|
|
3032
|
+
/**
|
|
3033
|
+
* Affiliate partner code.
|
|
3034
|
+
*/
|
|
3035
|
+
code?: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* Name of affiliate partner.
|
|
3038
|
+
*/
|
|
3039
|
+
name?: string;
|
|
3040
|
+
}
|
|
3041
|
+
interface Distance {
|
|
3042
|
+
/**
|
|
3043
|
+
* Distance traveled.
|
|
3044
|
+
*/
|
|
3045
|
+
amount: number;
|
|
3046
|
+
/**
|
|
3047
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3048
|
+
*/
|
|
3049
|
+
unit: Distance.Unit;
|
|
3050
|
+
}
|
|
3051
|
+
interface Driver {
|
|
3052
|
+
/**
|
|
3053
|
+
* Driver's date of birth.
|
|
3054
|
+
*/
|
|
3055
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
3056
|
+
/**
|
|
3057
|
+
* Driver's identification number.
|
|
3058
|
+
*/
|
|
3059
|
+
driver_identification_number?: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* Driver's tax number.
|
|
3062
|
+
*/
|
|
3063
|
+
driver_tax_number?: string;
|
|
3064
|
+
/**
|
|
3065
|
+
* Driver's full name.
|
|
3066
|
+
*/
|
|
3067
|
+
name: string;
|
|
3068
|
+
}
|
|
3069
|
+
interface DropOff {
|
|
3070
|
+
/**
|
|
3071
|
+
* Address of the rental location.
|
|
3072
|
+
*/
|
|
3073
|
+
address: DropOff.Address;
|
|
3074
|
+
/**
|
|
3075
|
+
* Location name.
|
|
3076
|
+
*/
|
|
3077
|
+
location_name?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* Timestamp for the location.
|
|
3080
|
+
*/
|
|
3081
|
+
time: number;
|
|
3082
|
+
}
|
|
3083
|
+
interface Insurance {
|
|
3084
|
+
/**
|
|
3085
|
+
* Amount of the insurance coverage in cents.
|
|
3086
|
+
*/
|
|
3087
|
+
amount: number;
|
|
3088
|
+
/**
|
|
3089
|
+
* Currency of the insurance amount.
|
|
3090
|
+
*/
|
|
3091
|
+
currency?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Name of the insurance company.
|
|
3094
|
+
*/
|
|
3095
|
+
insurance_company_name?: string;
|
|
3096
|
+
/**
|
|
3097
|
+
* Type of insurance coverage.
|
|
3098
|
+
*/
|
|
3099
|
+
insurance_type: Insurance.InsuranceType;
|
|
3100
|
+
}
|
|
3101
|
+
interface Pickup {
|
|
3102
|
+
/**
|
|
3103
|
+
* Address of the rental location.
|
|
3104
|
+
*/
|
|
3105
|
+
address: Pickup.Address;
|
|
3106
|
+
/**
|
|
3107
|
+
* Location name.
|
|
3108
|
+
*/
|
|
3109
|
+
location_name?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* Timestamp for the location.
|
|
3112
|
+
*/
|
|
3113
|
+
time: number;
|
|
3114
|
+
}
|
|
3115
|
+
interface Total {
|
|
3116
|
+
/**
|
|
3117
|
+
* Total amount in cents.
|
|
3118
|
+
*/
|
|
3119
|
+
amount: number;
|
|
3120
|
+
/**
|
|
3121
|
+
* Currency of the amount.
|
|
3122
|
+
*/
|
|
3123
|
+
currency?: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* Discount details for the rental.
|
|
3126
|
+
*/
|
|
3127
|
+
discounts?: Total.Discounts;
|
|
3128
|
+
/**
|
|
3129
|
+
* Additional charges for the rental.
|
|
3130
|
+
*/
|
|
3131
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3132
|
+
/**
|
|
3133
|
+
* Rate per unit for the rental.
|
|
3134
|
+
*/
|
|
3135
|
+
rate_per_unit?: number;
|
|
3136
|
+
/**
|
|
3137
|
+
* Unit of measurement for the rate.
|
|
3138
|
+
*/
|
|
3139
|
+
rate_unit?: Total.RateUnit;
|
|
3140
|
+
/**
|
|
3141
|
+
* Tax breakdown for the rental.
|
|
3142
|
+
*/
|
|
3143
|
+
tax?: Total.Tax;
|
|
3144
|
+
}
|
|
3145
|
+
interface Vehicle {
|
|
3146
|
+
/**
|
|
3147
|
+
* Make of the rental vehicle.
|
|
3148
|
+
*/
|
|
3149
|
+
make?: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* Model of the rental vehicle.
|
|
3152
|
+
*/
|
|
3153
|
+
model?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* Odometer reading at the time of rental.
|
|
3156
|
+
*/
|
|
3157
|
+
odometer?: number;
|
|
3158
|
+
/**
|
|
3159
|
+
* Type of the rental vehicle.
|
|
3160
|
+
*/
|
|
3161
|
+
type?: Vehicle.Type;
|
|
3162
|
+
/**
|
|
3163
|
+
* Class of the rental vehicle.
|
|
3164
|
+
*/
|
|
3165
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
3166
|
+
/**
|
|
3167
|
+
* Vehicle identification number (VIN).
|
|
3168
|
+
*/
|
|
3169
|
+
vehicle_identification_number?: string;
|
|
3170
|
+
}
|
|
3171
|
+
namespace Distance {
|
|
3172
|
+
type Unit = 'kilometers' | 'miles';
|
|
3173
|
+
}
|
|
3174
|
+
namespace Driver {
|
|
3175
|
+
interface DateOfBirth {
|
|
3176
|
+
/**
|
|
3177
|
+
* Day of birth (1-31).
|
|
3178
|
+
*/
|
|
3179
|
+
day: number;
|
|
3180
|
+
/**
|
|
3181
|
+
* Month of birth (1-12).
|
|
3182
|
+
*/
|
|
3183
|
+
month: number;
|
|
3184
|
+
/**
|
|
3185
|
+
* Year of birth (must be greater than 1900).
|
|
3186
|
+
*/
|
|
3187
|
+
year: number;
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
namespace DropOff {
|
|
3191
|
+
interface Address {
|
|
3192
|
+
/**
|
|
3193
|
+
* City, district, suburb, town, or village.
|
|
3194
|
+
*/
|
|
3195
|
+
city: string;
|
|
3196
|
+
/**
|
|
3197
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3198
|
+
*/
|
|
3199
|
+
country: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3202
|
+
*/
|
|
3203
|
+
line1: string;
|
|
3204
|
+
/**
|
|
3205
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3206
|
+
*/
|
|
3207
|
+
line2?: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* ZIP or postal code.
|
|
3210
|
+
*/
|
|
3211
|
+
postal_code: string;
|
|
3212
|
+
/**
|
|
3213
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3214
|
+
*/
|
|
3215
|
+
state?: string;
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3218
|
+
namespace Insurance {
|
|
3219
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
3220
|
+
}
|
|
3221
|
+
namespace Pickup {
|
|
3222
|
+
interface Address {
|
|
3223
|
+
/**
|
|
3224
|
+
* City, district, suburb, town, or village.
|
|
3225
|
+
*/
|
|
3226
|
+
city: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3229
|
+
*/
|
|
3230
|
+
country: string;
|
|
3231
|
+
/**
|
|
3232
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3233
|
+
*/
|
|
3234
|
+
line1: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3237
|
+
*/
|
|
3238
|
+
line2?: string;
|
|
3239
|
+
/**
|
|
3240
|
+
* ZIP or postal code.
|
|
3241
|
+
*/
|
|
3242
|
+
postal_code: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3245
|
+
*/
|
|
3246
|
+
state?: string;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
namespace Total {
|
|
3250
|
+
interface Discounts {
|
|
3251
|
+
/**
|
|
3252
|
+
* Corporate client discount code.
|
|
3253
|
+
*/
|
|
3254
|
+
corporate_client_code?: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* Coupon code applied to the rental.
|
|
3257
|
+
*/
|
|
3258
|
+
coupon?: string;
|
|
3259
|
+
/**
|
|
3260
|
+
* Maximum number of free miles or kilometers included.
|
|
3261
|
+
*/
|
|
3262
|
+
maximum_free_miles_or_kilometers?: number;
|
|
3263
|
+
}
|
|
3264
|
+
interface ExtraCharge {
|
|
3265
|
+
/**
|
|
3266
|
+
* Amount of the extra charge in cents.
|
|
3267
|
+
*/
|
|
3268
|
+
amount: number;
|
|
3269
|
+
/**
|
|
3270
|
+
* Type of extra charge.
|
|
3271
|
+
*/
|
|
3272
|
+
type: ExtraCharge.Type;
|
|
3273
|
+
}
|
|
3274
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
3275
|
+
interface Tax {
|
|
3276
|
+
/**
|
|
3277
|
+
* Indicates if the transaction is tax exempt.
|
|
3278
|
+
*/
|
|
3279
|
+
tax_exempt_indicator?: boolean;
|
|
3280
|
+
/**
|
|
3281
|
+
* Array of tax details.
|
|
3282
|
+
*/
|
|
3283
|
+
taxes?: Array<Tax.Tax>;
|
|
3284
|
+
}
|
|
3285
|
+
namespace ExtraCharge {
|
|
3286
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
3287
|
+
}
|
|
3288
|
+
namespace Tax {
|
|
3289
|
+
interface Tax {
|
|
3290
|
+
/**
|
|
3291
|
+
* Tax amount.
|
|
3292
|
+
*/
|
|
3293
|
+
amount?: number;
|
|
3294
|
+
/**
|
|
3295
|
+
* Tax rate applied.
|
|
3296
|
+
*/
|
|
3297
|
+
rate?: number;
|
|
3298
|
+
/**
|
|
3299
|
+
* Type of tax applied.
|
|
3300
|
+
*/
|
|
3301
|
+
type?: string;
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
namespace Vehicle {
|
|
3306
|
+
type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
|
|
3307
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
namespace EventDetails {
|
|
3311
|
+
interface Affiliate {
|
|
3312
|
+
/**
|
|
3313
|
+
* The name of the affiliate that originated the purchase.
|
|
3314
|
+
*/
|
|
3315
|
+
name: string;
|
|
3316
|
+
}
|
|
3317
|
+
interface Delivery {
|
|
3318
|
+
/**
|
|
3319
|
+
* The delivery method for the payment
|
|
3320
|
+
*/
|
|
3321
|
+
mode?: Delivery.Mode;
|
|
3322
|
+
/**
|
|
3323
|
+
* Details of the recipient.
|
|
3324
|
+
*/
|
|
3325
|
+
recipient?: Delivery.Recipient;
|
|
3326
|
+
}
|
|
3327
|
+
namespace Delivery {
|
|
3328
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3329
|
+
interface Recipient {
|
|
3330
|
+
/**
|
|
3331
|
+
* The email of the recipient the ticket is delivered to.
|
|
3332
|
+
*/
|
|
3333
|
+
email?: string;
|
|
3334
|
+
/**
|
|
3335
|
+
* The name of the recipient the ticket is delivered to.
|
|
3336
|
+
*/
|
|
3337
|
+
name?: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3340
|
+
*/
|
|
3341
|
+
phone?: string;
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
}
|
|
3345
|
+
namespace FleetDatum {
|
|
3346
|
+
interface PrimaryFuelFields {
|
|
3347
|
+
/**
|
|
3348
|
+
* The fuel brand.
|
|
3349
|
+
*/
|
|
3350
|
+
brand?: PrimaryFuelFields.Brand;
|
|
3351
|
+
}
|
|
3352
|
+
interface Station {
|
|
3353
|
+
/**
|
|
3354
|
+
* Additional contact information for the station.
|
|
3355
|
+
*/
|
|
3356
|
+
additional_contact_info?: string;
|
|
3357
|
+
/**
|
|
3358
|
+
* The customer service phone number of the station.
|
|
3359
|
+
*/
|
|
3360
|
+
customer_service_phone_number?: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* The partner ID code of the station.
|
|
3363
|
+
*/
|
|
3364
|
+
partner_id_code?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* The phone number of the station.
|
|
3367
|
+
*/
|
|
3368
|
+
phone_number?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* The physical location of the station.
|
|
3371
|
+
*/
|
|
3372
|
+
service_location?: ShippingAddressParam;
|
|
3373
|
+
/**
|
|
3374
|
+
* The URL of the station.
|
|
3375
|
+
*/
|
|
3376
|
+
url?: string;
|
|
3377
|
+
}
|
|
3378
|
+
interface Vat {
|
|
3379
|
+
/**
|
|
3380
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
3381
|
+
*/
|
|
3382
|
+
iob_indicator: Vat.IobIndicator;
|
|
3383
|
+
}
|
|
3384
|
+
namespace PrimaryFuelFields {
|
|
3385
|
+
type Brand = 'aafes' | 'amerada_hess' | 'amoco_canada' | 'amoco_petroleum_products' | 'arco_products' | 'asda' | 'ashland_oil' | 'bfl' | 'bp_mobil' | 'bp_oil' | 'burrnah_major' | 'butler_arndale' | 'canadian_tire' | 'canadian_turbo' | 'caseys_general_store' | 'cenex' | 'chevron_canada' | 'chevron_usa' | 'circle_k_stores' | 'citgo_petroleum' | 'clark_brands' | 'conoco_canada' | 'conoco_inc' | 'crown_central_petroleum' | 'diamond_shamrock_inc' | 'discount_tire' | 'domo_gas' | 'elf' | 'erickson_oil' | 'esso' | 'esso_canada' | 'exxon' | 'exxonmobil' | 'family_express' | 'fas_gas_oil' | 'federated_coop_sonic' | 'fina' | 'fina_inc' | 'fkg_oil' | 'flare' | 'flying_j_inc' | 'gas_america' | 'gate_petroleum' | 'getty_petroleum' | 'giant_eagle' | 'grow_mark_inc' | 'gulf' | 'gulf_canada' | 'gulf_chevron' | 'handy_way_food' | 'heron' | 'holiday_stores' | 'home_depot' | 'husky' | 'hyvees' | 'irving' | 'irving_oil' | 'j_sainsbury' | 'jet_conoco' | 'krogers' | 'kuwait' | 'kwik_trip_inc' | 'lassus' | 'loves_country_stores' | 'mapco_express_inc' | 'marathon_oil' | 'martin_bailey_inc_dba_hucks' | 'maxol' | 'meineke' | 'mfa' | 'mohawk' | 'mr_gas' | 'murco' | 'murphy_oil_canada' | 'murphy_oil_usa_inc' | 'nexcom' | 'nordstrom_oil' | 'olco' | 'pdq_store' | 'pennzoil_products_inc' | 'petro' | 'petro_canada' | 'petro_t' | 'phillips' | 'pilot' | 'pioneer' | 'pure_oil' | 'quaker_state' | 'quarles_oil' | 'quiktrip' | 'racetrac_petroleum_inc' | 'raceway_petroleum' | 'repsol' | 'rudy' | 'safeway' | 'seven_eleven' | 'sheetz' | 'shell' | 'shell_canada' | 'shell_oil' | 'sinclair_oil' | 'southland_oil' | 'spar' | 'speedway' | 'sun_company_inc' | 'suncor_sunoco_canada' | 'tempo' | 'tesco' | 'tesoro_alaska' | 'texaco' | 'the_pantry_inc' | 'thornton_oil' | 'tosco' | 'total' | 'travel_centers_of_america' | 'uk' | 'ultramar_canada' | 'unbranded_or_unassigned' | 'unbranded_unassigned' | 'union_76' | 'united_dairy_farmer' | 'united_refining_kwikfill' | 'us_oil' | 'usa_petroleum' | 'valvoline' | 'vg' | 'w_morrison' | 'warren_equities' | 'wawa' | 'western_energetix' | 'wilco' | 'zions';
|
|
3386
|
+
}
|
|
3387
|
+
namespace Vat {
|
|
3388
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
3389
|
+
}
|
|
3390
|
+
}
|
|
3391
|
+
namespace Flight {
|
|
3392
|
+
interface Affiliate {
|
|
3393
|
+
/**
|
|
3394
|
+
* The name of the affiliate that originated the purchase.
|
|
3395
|
+
*/
|
|
3396
|
+
name: string;
|
|
3397
|
+
}
|
|
3398
|
+
interface Delivery {
|
|
3399
|
+
/**
|
|
3400
|
+
* The delivery method for the payment
|
|
3401
|
+
*/
|
|
3402
|
+
mode?: Delivery.Mode;
|
|
3403
|
+
/**
|
|
3404
|
+
* Details of the recipient.
|
|
3405
|
+
*/
|
|
3406
|
+
recipient?: Delivery.Recipient;
|
|
3407
|
+
}
|
|
3408
|
+
interface Passenger {
|
|
3409
|
+
/**
|
|
3410
|
+
* Full name of the person or entity on the flight reservation.
|
|
3411
|
+
*/
|
|
3412
|
+
name: string;
|
|
3413
|
+
}
|
|
3414
|
+
interface Segment {
|
|
3415
|
+
/**
|
|
3416
|
+
* The flight segment amount.
|
|
3417
|
+
*/
|
|
3418
|
+
amount?: number;
|
|
3419
|
+
/**
|
|
3420
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
3421
|
+
*/
|
|
3422
|
+
arrival_airport?: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3425
|
+
*/
|
|
3426
|
+
arrives_at?: number;
|
|
3427
|
+
/**
|
|
3428
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
3429
|
+
*/
|
|
3430
|
+
carrier?: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3433
|
+
*/
|
|
3434
|
+
departs_at: number;
|
|
3435
|
+
/**
|
|
3436
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
3437
|
+
*/
|
|
3438
|
+
departure_airport?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* The flight number associated with the segment
|
|
3441
|
+
*/
|
|
3442
|
+
flight_number?: string;
|
|
3443
|
+
/**
|
|
3444
|
+
* The fare class for the segment.
|
|
3445
|
+
*/
|
|
3446
|
+
service_class?: Segment.ServiceClass;
|
|
3447
|
+
}
|
|
3448
|
+
namespace Delivery {
|
|
3449
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3450
|
+
interface Recipient {
|
|
3451
|
+
/**
|
|
3452
|
+
* The email of the recipient the ticket is delivered to.
|
|
3453
|
+
*/
|
|
3454
|
+
email?: string;
|
|
3455
|
+
/**
|
|
3456
|
+
* The name of the recipient the ticket is delivered to.
|
|
3457
|
+
*/
|
|
3458
|
+
name?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3461
|
+
*/
|
|
3462
|
+
phone?: string;
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
namespace Segment {
|
|
3466
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
namespace FlightDatum {
|
|
3470
|
+
interface Affiliate {
|
|
3471
|
+
/**
|
|
3472
|
+
* Affiliate partner code.
|
|
3473
|
+
*/
|
|
3474
|
+
code?: string;
|
|
3475
|
+
/**
|
|
3476
|
+
* Name of affiliate partner.
|
|
3477
|
+
*/
|
|
3478
|
+
name?: string;
|
|
3479
|
+
/**
|
|
3480
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
3481
|
+
*/
|
|
3482
|
+
travel_authorization_code?: string;
|
|
3483
|
+
}
|
|
3484
|
+
interface Insurance {
|
|
3485
|
+
/**
|
|
3486
|
+
* Insurance cost.
|
|
3487
|
+
*/
|
|
3488
|
+
amount: number;
|
|
3489
|
+
/**
|
|
3490
|
+
* Insurance currency.
|
|
3491
|
+
*/
|
|
3492
|
+
currency?: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* Insurance company name.
|
|
3495
|
+
*/
|
|
3496
|
+
insurance_company_name?: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* Type of insurance.
|
|
3499
|
+
*/
|
|
3500
|
+
insurance_type: Insurance.InsuranceType;
|
|
3501
|
+
}
|
|
3502
|
+
interface Passenger {
|
|
3503
|
+
/**
|
|
3504
|
+
* Passenger's full name.
|
|
3505
|
+
*/
|
|
3506
|
+
name: string;
|
|
3507
|
+
}
|
|
3508
|
+
interface Segment {
|
|
3509
|
+
/**
|
|
3510
|
+
* Segment fare amount.
|
|
3511
|
+
*/
|
|
3512
|
+
amount?: number;
|
|
3513
|
+
/**
|
|
3514
|
+
* Arrival details.
|
|
3515
|
+
*/
|
|
3516
|
+
arrival: Segment.Arrival;
|
|
3517
|
+
/**
|
|
3518
|
+
* Airline carrier code.
|
|
3519
|
+
*/
|
|
3520
|
+
carrier_code: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* Carrier name.
|
|
3523
|
+
*/
|
|
3524
|
+
carrier_name?: string;
|
|
3525
|
+
/**
|
|
3526
|
+
* Segment currency.
|
|
3527
|
+
*/
|
|
3528
|
+
currency?: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* Departure details.
|
|
3531
|
+
*/
|
|
3532
|
+
departure: Segment.Departure;
|
|
3533
|
+
/**
|
|
3534
|
+
* Exchange ticket number.
|
|
3535
|
+
*/
|
|
3536
|
+
exchange_ticket_number?: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* Fare basis code.
|
|
3539
|
+
*/
|
|
3540
|
+
fare_basis_code?: string;
|
|
3541
|
+
/**
|
|
3542
|
+
* Additional fees.
|
|
3543
|
+
*/
|
|
3544
|
+
fees?: number;
|
|
3545
|
+
/**
|
|
3546
|
+
* Flight number.
|
|
3547
|
+
*/
|
|
3548
|
+
flight_number?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* Stopover indicator.
|
|
3551
|
+
*/
|
|
3552
|
+
is_stop_over_indicator?: boolean;
|
|
3553
|
+
/**
|
|
3554
|
+
* Refundable ticket indicator.
|
|
3555
|
+
*/
|
|
3556
|
+
refundable?: boolean;
|
|
3557
|
+
/**
|
|
3558
|
+
* Class of service.
|
|
3559
|
+
*/
|
|
3560
|
+
service_class: Segment.ServiceClass;
|
|
3561
|
+
/**
|
|
3562
|
+
* Tax amount for segment.
|
|
3563
|
+
*/
|
|
3564
|
+
tax_amount?: number;
|
|
3565
|
+
/**
|
|
3566
|
+
* Ticket number.
|
|
3567
|
+
*/
|
|
3568
|
+
ticket_number?: string;
|
|
3569
|
+
}
|
|
3570
|
+
interface Total {
|
|
3571
|
+
/**
|
|
3572
|
+
* Total flight amount.
|
|
3573
|
+
*/
|
|
3574
|
+
amount: number;
|
|
3575
|
+
/**
|
|
3576
|
+
* Reason for credit.
|
|
3577
|
+
*/
|
|
3578
|
+
credit_reason?: Total.CreditReason;
|
|
3579
|
+
/**
|
|
3580
|
+
* Total currency.
|
|
3581
|
+
*/
|
|
3582
|
+
currency?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* Discount details.
|
|
3585
|
+
*/
|
|
3586
|
+
discounts?: Total.Discounts;
|
|
3587
|
+
/**
|
|
3588
|
+
* Additional charges.
|
|
3589
|
+
*/
|
|
3590
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3591
|
+
/**
|
|
3592
|
+
* Tax breakdown.
|
|
3593
|
+
*/
|
|
3594
|
+
tax?: Total.Tax;
|
|
3595
|
+
}
|
|
3596
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
3597
|
+
namespace Insurance {
|
|
3598
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3599
|
+
}
|
|
3600
|
+
namespace Segment {
|
|
3601
|
+
interface Arrival {
|
|
3602
|
+
/**
|
|
3603
|
+
* Arrival airport IATA code.
|
|
3604
|
+
*/
|
|
3605
|
+
airport: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* Arrival date/time.
|
|
3608
|
+
*/
|
|
3609
|
+
arrives_at?: number;
|
|
3610
|
+
/**
|
|
3611
|
+
* Arrival city.
|
|
3612
|
+
*/
|
|
3613
|
+
city?: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* Arrival country.
|
|
3616
|
+
*/
|
|
3617
|
+
country?: string;
|
|
3618
|
+
}
|
|
3619
|
+
interface Departure {
|
|
3620
|
+
/**
|
|
3621
|
+
* Departure airport IATA code.
|
|
3622
|
+
*/
|
|
3623
|
+
airport: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* Departure city.
|
|
3626
|
+
*/
|
|
3627
|
+
city?: string;
|
|
3628
|
+
/**
|
|
3629
|
+
* Departure country.
|
|
3630
|
+
*/
|
|
3631
|
+
country?: string;
|
|
3632
|
+
/**
|
|
3633
|
+
* Departure date/time.
|
|
3634
|
+
*/
|
|
3635
|
+
departs_at: number;
|
|
3636
|
+
}
|
|
3637
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3638
|
+
}
|
|
3639
|
+
namespace Total {
|
|
3640
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
3641
|
+
interface Discounts {
|
|
3642
|
+
/**
|
|
3643
|
+
* Corporate client discount code.
|
|
3644
|
+
*/
|
|
3645
|
+
corporate_client_code?: string;
|
|
3646
|
+
}
|
|
3647
|
+
interface ExtraCharge {
|
|
3648
|
+
/**
|
|
3649
|
+
* Amount of additional charges.
|
|
3650
|
+
*/
|
|
3651
|
+
amount?: number;
|
|
3652
|
+
/**
|
|
3653
|
+
* Type of additional charges.
|
|
3654
|
+
*/
|
|
3655
|
+
type?: ExtraCharge.Type;
|
|
3656
|
+
}
|
|
3657
|
+
interface Tax {
|
|
3658
|
+
/**
|
|
3659
|
+
* Array of tax details.
|
|
3660
|
+
*/
|
|
3661
|
+
taxes?: Array<Tax.Tax>;
|
|
3662
|
+
}
|
|
3663
|
+
namespace ExtraCharge {
|
|
3664
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
3665
|
+
}
|
|
3666
|
+
namespace Tax {
|
|
3667
|
+
interface Tax {
|
|
3668
|
+
/**
|
|
3669
|
+
* Tax amount.
|
|
3670
|
+
*/
|
|
3671
|
+
amount?: number;
|
|
3672
|
+
/**
|
|
3673
|
+
* Tax rate.
|
|
3674
|
+
*/
|
|
3675
|
+
rate?: number;
|
|
3676
|
+
/**
|
|
3677
|
+
* Type of tax.
|
|
3678
|
+
*/
|
|
3679
|
+
type?: string;
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
}
|
|
3684
|
+
namespace Lodging {
|
|
3685
|
+
interface Affiliate {
|
|
3686
|
+
/**
|
|
3687
|
+
* The name of the affiliate that originated the purchase.
|
|
3688
|
+
*/
|
|
3689
|
+
name: string;
|
|
3690
|
+
}
|
|
3691
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
3692
|
+
interface Delivery {
|
|
3693
|
+
/**
|
|
3694
|
+
* The delivery method for the payment
|
|
3695
|
+
*/
|
|
3696
|
+
mode?: Delivery.Mode;
|
|
3697
|
+
/**
|
|
3698
|
+
* Details of the recipient.
|
|
3699
|
+
*/
|
|
3700
|
+
recipient?: Delivery.Recipient;
|
|
3701
|
+
}
|
|
3702
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
3703
|
+
interface Passenger {
|
|
3704
|
+
/**
|
|
3705
|
+
* Full name of the person or entity on the lodging reservation.
|
|
3706
|
+
*/
|
|
3707
|
+
name: string;
|
|
3708
|
+
}
|
|
3709
|
+
namespace Delivery {
|
|
3710
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3711
|
+
interface Recipient {
|
|
3712
|
+
/**
|
|
3713
|
+
* The email of the recipient the ticket is delivered to.
|
|
3714
|
+
*/
|
|
3715
|
+
email?: string;
|
|
3716
|
+
/**
|
|
3717
|
+
* The name of the recipient the ticket is delivered to.
|
|
3718
|
+
*/
|
|
3719
|
+
name?: string;
|
|
3720
|
+
/**
|
|
3721
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3722
|
+
*/
|
|
3723
|
+
phone?: string;
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
namespace LodgingDatum {
|
|
3728
|
+
interface Accommodation {
|
|
3729
|
+
/**
|
|
3730
|
+
* Type of accommodation.
|
|
3731
|
+
*/
|
|
3732
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
3733
|
+
/**
|
|
3734
|
+
* Bed type.
|
|
3735
|
+
*/
|
|
3736
|
+
bed_type?: string;
|
|
3737
|
+
/**
|
|
3738
|
+
* Daily accommodation rate in cents.
|
|
3739
|
+
*/
|
|
3740
|
+
daily_rate_amount?: number;
|
|
3741
|
+
/**
|
|
3742
|
+
* Number of nights.
|
|
3743
|
+
*/
|
|
3744
|
+
nights?: number;
|
|
3745
|
+
/**
|
|
3746
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
3747
|
+
*/
|
|
3748
|
+
number_of_rooms?: number;
|
|
3749
|
+
/**
|
|
3750
|
+
* Rate type.
|
|
3751
|
+
*/
|
|
3752
|
+
rate_type?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* Whether smoking is allowed.
|
|
3755
|
+
*/
|
|
3756
|
+
smoking_indicator?: boolean;
|
|
3757
|
+
}
|
|
3758
|
+
interface Affiliate {
|
|
3759
|
+
/**
|
|
3760
|
+
* Affiliate partner code.
|
|
3761
|
+
*/
|
|
3762
|
+
code?: string;
|
|
3763
|
+
/**
|
|
3764
|
+
* Affiliate partner name.
|
|
3765
|
+
*/
|
|
3766
|
+
name?: string;
|
|
3767
|
+
}
|
|
3768
|
+
interface Guest {
|
|
3769
|
+
/**
|
|
3770
|
+
* Guest's full name.
|
|
3771
|
+
*/
|
|
3772
|
+
name: string;
|
|
3773
|
+
}
|
|
3774
|
+
interface Host {
|
|
3775
|
+
/**
|
|
3776
|
+
* Address of the host.
|
|
3777
|
+
*/
|
|
3778
|
+
address?: Host.Address;
|
|
3779
|
+
/**
|
|
3780
|
+
* Host's country of domicile.
|
|
3781
|
+
*/
|
|
3782
|
+
country_of_domicile?: string;
|
|
3783
|
+
/**
|
|
3784
|
+
* Reference number for the host.
|
|
3785
|
+
*/
|
|
3786
|
+
host_reference?: string;
|
|
3787
|
+
/**
|
|
3788
|
+
* Type of host.
|
|
3789
|
+
*/
|
|
3790
|
+
host_type?: Host.HostType;
|
|
3791
|
+
/**
|
|
3792
|
+
* Name of the lodging property or host.
|
|
3793
|
+
*/
|
|
3794
|
+
name?: string;
|
|
3795
|
+
/**
|
|
3796
|
+
* Total number of reservations for the host.
|
|
3797
|
+
*/
|
|
3798
|
+
number_of_reservations?: number;
|
|
3799
|
+
/**
|
|
3800
|
+
* Property phone number.
|
|
3801
|
+
*/
|
|
3802
|
+
property_phone_number?: string;
|
|
3803
|
+
/**
|
|
3804
|
+
* Host's registration date.
|
|
3805
|
+
*/
|
|
3806
|
+
registered_at?: number;
|
|
3807
|
+
}
|
|
3808
|
+
interface Insurance {
|
|
3809
|
+
/**
|
|
3810
|
+
* Price of the insurance coverage in cents.
|
|
3811
|
+
*/
|
|
3812
|
+
amount: number;
|
|
3813
|
+
/**
|
|
3814
|
+
* Currency of the insurance amount.
|
|
3815
|
+
*/
|
|
3816
|
+
currency?: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* Name of the insurance company.
|
|
3819
|
+
*/
|
|
3820
|
+
insurance_company_name?: string;
|
|
3821
|
+
/**
|
|
3822
|
+
* Type of insurance coverage.
|
|
3823
|
+
*/
|
|
3824
|
+
insurance_type: Insurance.InsuranceType;
|
|
3825
|
+
}
|
|
3826
|
+
interface Total {
|
|
3827
|
+
/**
|
|
3828
|
+
* Total price of the lodging reservation in cents.
|
|
3829
|
+
*/
|
|
3830
|
+
amount: number;
|
|
3831
|
+
/**
|
|
3832
|
+
* Cash advances in cents.
|
|
3833
|
+
*/
|
|
3834
|
+
cash_advances?: number;
|
|
3835
|
+
/**
|
|
3836
|
+
* Currency of the total amount.
|
|
3837
|
+
*/
|
|
3838
|
+
currency?: string;
|
|
3839
|
+
/**
|
|
3840
|
+
* Discount details for the lodging.
|
|
3841
|
+
*/
|
|
3842
|
+
discounts?: Total.Discounts;
|
|
3843
|
+
/**
|
|
3844
|
+
* Additional charges for the lodging.
|
|
3845
|
+
*/
|
|
3846
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3847
|
+
/**
|
|
3848
|
+
* Prepaid amount in cents.
|
|
3849
|
+
*/
|
|
3850
|
+
prepaid_amount?: number;
|
|
3851
|
+
/**
|
|
3852
|
+
* Tax breakdown for the lodging reservation.
|
|
3853
|
+
*/
|
|
3854
|
+
tax?: Total.Tax;
|
|
3855
|
+
}
|
|
3856
|
+
namespace Accommodation {
|
|
3857
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
3858
|
+
}
|
|
3859
|
+
namespace Host {
|
|
3860
|
+
interface Address {
|
|
3861
|
+
/**
|
|
3862
|
+
* City, district, suburb, town, or village.
|
|
3863
|
+
*/
|
|
3864
|
+
city: string;
|
|
3865
|
+
/**
|
|
3866
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3867
|
+
*/
|
|
3868
|
+
country: string;
|
|
3869
|
+
/**
|
|
3870
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3871
|
+
*/
|
|
3872
|
+
line1: string;
|
|
3873
|
+
/**
|
|
3874
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3875
|
+
*/
|
|
3876
|
+
line2?: string;
|
|
3877
|
+
/**
|
|
3878
|
+
* ZIP or postal code.
|
|
3879
|
+
*/
|
|
3880
|
+
postal_code: string;
|
|
3881
|
+
/**
|
|
3882
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3883
|
+
*/
|
|
3884
|
+
state?: string;
|
|
3885
|
+
}
|
|
3886
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
3887
|
+
}
|
|
3888
|
+
namespace Insurance {
|
|
3889
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3890
|
+
}
|
|
3891
|
+
namespace Total {
|
|
3892
|
+
interface Discounts {
|
|
3893
|
+
/**
|
|
3894
|
+
* Corporate client discount code.
|
|
3895
|
+
*/
|
|
3896
|
+
corporate_client_code?: string;
|
|
3897
|
+
/**
|
|
3898
|
+
* Coupon code.
|
|
3899
|
+
*/
|
|
3900
|
+
coupon?: string;
|
|
3901
|
+
}
|
|
3902
|
+
interface ExtraCharge {
|
|
3903
|
+
/**
|
|
3904
|
+
* Amount of the extra charge in cents.
|
|
3905
|
+
*/
|
|
3906
|
+
amount?: number;
|
|
3907
|
+
/**
|
|
3908
|
+
* Type of extra charge.
|
|
3909
|
+
*/
|
|
3910
|
+
type?: ExtraCharge.Type;
|
|
3911
|
+
}
|
|
3912
|
+
interface Tax {
|
|
3913
|
+
/**
|
|
3914
|
+
* Indicates whether the transaction is tax exempt.
|
|
3915
|
+
*/
|
|
3916
|
+
tax_exempt_indicator?: boolean;
|
|
3917
|
+
/**
|
|
3918
|
+
* Tax details.
|
|
3919
|
+
*/
|
|
3920
|
+
taxes?: Array<Tax.Tax>;
|
|
3921
|
+
}
|
|
3922
|
+
namespace ExtraCharge {
|
|
3923
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
3924
|
+
}
|
|
3925
|
+
namespace Tax {
|
|
3926
|
+
interface Tax {
|
|
3927
|
+
/**
|
|
3928
|
+
* Tax amount in cents.
|
|
3929
|
+
*/
|
|
3930
|
+
amount?: number;
|
|
3931
|
+
/**
|
|
3932
|
+
* Tax rate.
|
|
3933
|
+
*/
|
|
3934
|
+
rate?: number;
|
|
3935
|
+
/**
|
|
3936
|
+
* Type of tax applied.
|
|
3937
|
+
*/
|
|
3938
|
+
type?: string;
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
namespace MoneyServices {
|
|
3944
|
+
interface AccountFunding {
|
|
3945
|
+
/**
|
|
3946
|
+
* ID of the Account representing the beneficiary in this account funding transaction.
|
|
3947
|
+
*/
|
|
3948
|
+
beneficiary_account?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* Inline identity details for the beneficiary of this account funding transaction.
|
|
3951
|
+
*/
|
|
3952
|
+
beneficiary_details?: Emptyable<AccountFunding.BeneficiaryDetails>;
|
|
3953
|
+
/**
|
|
3954
|
+
* ID of the Account representing the sender in this account funding transaction.
|
|
3955
|
+
*/
|
|
3956
|
+
sender_account?: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* Inline identity details for the sender of this account funding transaction.
|
|
3959
|
+
*/
|
|
3960
|
+
sender_details?: Emptyable<AccountFunding.SenderDetails>;
|
|
3961
|
+
}
|
|
3962
|
+
type TransactionType = 'account_funding' | 'debt_repayment';
|
|
3963
|
+
namespace AccountFunding {
|
|
3964
|
+
interface BeneficiaryDetails {
|
|
3965
|
+
/**
|
|
3966
|
+
* Address.
|
|
3967
|
+
*/
|
|
3968
|
+
address?: AddressParam;
|
|
3969
|
+
/**
|
|
3970
|
+
* Date of birth.
|
|
3971
|
+
*/
|
|
3972
|
+
date_of_birth?: BeneficiaryDetails.DateOfBirth;
|
|
3973
|
+
/**
|
|
3974
|
+
* Email address.
|
|
3975
|
+
*/
|
|
3976
|
+
email?: string;
|
|
3977
|
+
/**
|
|
3978
|
+
* Full name.
|
|
3979
|
+
*/
|
|
3980
|
+
name?: string;
|
|
3981
|
+
/**
|
|
3982
|
+
* Phone number.
|
|
3983
|
+
*/
|
|
3984
|
+
phone?: string;
|
|
3985
|
+
}
|
|
3986
|
+
interface SenderDetails {
|
|
3987
|
+
/**
|
|
3988
|
+
* Address.
|
|
3989
|
+
*/
|
|
3990
|
+
address?: AddressParam;
|
|
3991
|
+
/**
|
|
3992
|
+
* Date of birth.
|
|
3993
|
+
*/
|
|
3994
|
+
date_of_birth?: SenderDetails.DateOfBirth;
|
|
3995
|
+
/**
|
|
3996
|
+
* Email address.
|
|
3997
|
+
*/
|
|
3998
|
+
email?: string;
|
|
3999
|
+
/**
|
|
4000
|
+
* Full name.
|
|
4001
|
+
*/
|
|
4002
|
+
name?: string;
|
|
4003
|
+
/**
|
|
4004
|
+
* Phone number.
|
|
4005
|
+
*/
|
|
4006
|
+
phone?: string;
|
|
4007
|
+
}
|
|
4008
|
+
namespace BeneficiaryDetails {
|
|
4009
|
+
interface DateOfBirth {
|
|
4010
|
+
/**
|
|
4011
|
+
* Day of birth, between 1 and 31.
|
|
4012
|
+
*/
|
|
4013
|
+
day: number;
|
|
4014
|
+
/**
|
|
4015
|
+
* Month of birth, between 1 and 12.
|
|
4016
|
+
*/
|
|
4017
|
+
month: number;
|
|
4018
|
+
/**
|
|
4019
|
+
* Four-digit year of birth.
|
|
4020
|
+
*/
|
|
4021
|
+
year: number;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
namespace SenderDetails {
|
|
4025
|
+
interface DateOfBirth {
|
|
4026
|
+
/**
|
|
4027
|
+
* Day of birth, between 1 and 31.
|
|
4028
|
+
*/
|
|
4029
|
+
day: number;
|
|
4030
|
+
/**
|
|
4031
|
+
* Month of birth, between 1 and 12.
|
|
4032
|
+
*/
|
|
4033
|
+
month: number;
|
|
4034
|
+
/**
|
|
4035
|
+
* Four-digit year of birth.
|
|
4036
|
+
*/
|
|
4037
|
+
year: number;
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
namespace Subscription {
|
|
4043
|
+
interface Affiliate {
|
|
4044
|
+
/**
|
|
4045
|
+
* The name of the affiliate that originated the purchase.
|
|
4046
|
+
*/
|
|
4047
|
+
name: string;
|
|
4048
|
+
}
|
|
4049
|
+
interface BillingInterval {
|
|
4050
|
+
/**
|
|
4051
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4052
|
+
*/
|
|
4053
|
+
count: number;
|
|
4054
|
+
/**
|
|
4055
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4056
|
+
*/
|
|
4057
|
+
interval: BillingInterval.Interval;
|
|
4058
|
+
}
|
|
4059
|
+
namespace BillingInterval {
|
|
4060
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
export interface ChargeListParams extends PaginationParams {
|
|
4066
|
+
/**
|
|
4067
|
+
* Only return charges that were created during the given date interval.
|
|
4068
|
+
*/
|
|
4069
|
+
created?: RangeQueryParam | number;
|
|
4070
|
+
/**
|
|
4071
|
+
* Only return charges for the customer specified by this customer ID.
|
|
4072
|
+
*/
|
|
4073
|
+
customer?: string;
|
|
4074
|
+
/**
|
|
4075
|
+
* Specifies which fields in the response should be expanded.
|
|
4076
|
+
*/
|
|
4077
|
+
expand?: Array<string>;
|
|
4078
|
+
/**
|
|
4079
|
+
* Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
|
4080
|
+
*/
|
|
4081
|
+
payment_intent?: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* Only return charges for this transfer group, limited to 100.
|
|
4084
|
+
*/
|
|
4085
|
+
transfer_group?: string;
|
|
4086
|
+
}
|
|
4087
|
+
export interface ChargeCaptureParams {
|
|
4088
|
+
/**
|
|
4089
|
+
* The amount to capture, which must be less than or equal to the original amount.
|
|
4090
|
+
*/
|
|
4091
|
+
amount?: number;
|
|
4092
|
+
/**
|
|
4093
|
+
* An application fee to add on to this charge.
|
|
4094
|
+
*/
|
|
4095
|
+
application_fee?: number;
|
|
4096
|
+
/**
|
|
4097
|
+
* An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
|
4098
|
+
*/
|
|
4099
|
+
application_fee_amount?: number;
|
|
4100
|
+
/**
|
|
4101
|
+
* Specifies which fields in the response should be expanded.
|
|
4102
|
+
*/
|
|
4103
|
+
expand?: Array<string>;
|
|
4104
|
+
/**
|
|
4105
|
+
* Provides industry-specific information about the charge.
|
|
4106
|
+
*/
|
|
4107
|
+
payment_details?: ChargeCaptureParams.PaymentDetails;
|
|
4108
|
+
/**
|
|
4109
|
+
* The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
|
|
4110
|
+
*/
|
|
4111
|
+
receipt_email?: string;
|
|
4112
|
+
/**
|
|
4113
|
+
* For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
4114
|
+
*
|
|
4115
|
+
* For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
|
4116
|
+
*/
|
|
4117
|
+
statement_descriptor?: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
|
4120
|
+
*/
|
|
4121
|
+
statement_descriptor_suffix?: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
|
4124
|
+
*/
|
|
4125
|
+
transfer_data?: ChargeCaptureParams.TransferData;
|
|
4126
|
+
/**
|
|
4127
|
+
* A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
4128
|
+
*/
|
|
4129
|
+
transfer_group?: string;
|
|
4130
|
+
}
|
|
4131
|
+
export declare namespace ChargeCaptureParams {
|
|
4132
|
+
interface PaymentDetails {
|
|
4133
|
+
/**
|
|
4134
|
+
* Car rental details for this PaymentIntent.
|
|
4135
|
+
*/
|
|
4136
|
+
car_rental?: PaymentDetails.CarRental;
|
|
4137
|
+
/**
|
|
4138
|
+
* Car rental data for this PaymentIntent.
|
|
4139
|
+
*/
|
|
4140
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
4141
|
+
/**
|
|
4142
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
4143
|
+
*
|
|
4144
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
4145
|
+
*/
|
|
4146
|
+
customer_reference?: Emptyable<string>;
|
|
4147
|
+
/**
|
|
4148
|
+
* Event details for this PaymentIntent
|
|
4149
|
+
*/
|
|
4150
|
+
event_details?: PaymentDetails.EventDetails;
|
|
4151
|
+
/**
|
|
4152
|
+
* Fleet data for this PaymentIntent.
|
|
4153
|
+
*/
|
|
4154
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
4155
|
+
/**
|
|
4156
|
+
* Flight reservation details for this PaymentIntent
|
|
4157
|
+
*/
|
|
4158
|
+
flight?: PaymentDetails.Flight;
|
|
4159
|
+
/**
|
|
4160
|
+
* Flight data for this PaymentIntent.
|
|
4161
|
+
*/
|
|
4162
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
4163
|
+
/**
|
|
4164
|
+
* Lodging reservation details for this PaymentIntent
|
|
4165
|
+
*/
|
|
4166
|
+
lodging?: PaymentDetails.Lodging;
|
|
4167
|
+
/**
|
|
4168
|
+
* Lodging data for this PaymentIntent.
|
|
4169
|
+
*/
|
|
4170
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
4171
|
+
/**
|
|
4172
|
+
* Money services details for this PaymentIntent.
|
|
4173
|
+
*/
|
|
4174
|
+
money_services?: Emptyable<PaymentDetails.MoneyServices>;
|
|
4175
|
+
/**
|
|
4176
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
4177
|
+
*
|
|
4178
|
+
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
4179
|
+
*/
|
|
4180
|
+
order_reference?: Emptyable<string>;
|
|
4181
|
+
/**
|
|
4182
|
+
* Subscription details for this PaymentIntent
|
|
4183
|
+
*/
|
|
4184
|
+
subscription?: PaymentDetails.Subscription;
|
|
4185
|
+
}
|
|
4186
|
+
interface TransferData {
|
|
4187
|
+
/**
|
|
4188
|
+
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
4189
|
+
*/
|
|
4190
|
+
amount?: number;
|
|
4191
|
+
}
|
|
4192
|
+
namespace PaymentDetails {
|
|
4193
|
+
interface CarRental {
|
|
4194
|
+
/**
|
|
4195
|
+
* Affiliate details for this purchase.
|
|
4196
|
+
*/
|
|
4197
|
+
affiliate?: CarRental.Affiliate;
|
|
4198
|
+
/**
|
|
4199
|
+
* The booking number associated with the car rental.
|
|
4200
|
+
*/
|
|
4201
|
+
booking_number: string;
|
|
4202
|
+
/**
|
|
4203
|
+
* Class code of the car.
|
|
4204
|
+
*/
|
|
4205
|
+
car_class_code?: string;
|
|
4206
|
+
/**
|
|
4207
|
+
* Make of the car.
|
|
4208
|
+
*/
|
|
4209
|
+
car_make?: string;
|
|
4210
|
+
/**
|
|
4211
|
+
* Model of the car.
|
|
4212
|
+
*/
|
|
4213
|
+
car_model?: string;
|
|
4214
|
+
/**
|
|
4215
|
+
* The name of the rental car company.
|
|
4216
|
+
*/
|
|
4217
|
+
company?: string;
|
|
4218
|
+
/**
|
|
4219
|
+
* The customer service phone number of the car rental company.
|
|
4220
|
+
*/
|
|
4221
|
+
customer_service_phone_number?: string;
|
|
4222
|
+
/**
|
|
4223
|
+
* Number of days the car is being rented.
|
|
4224
|
+
*/
|
|
4225
|
+
days_rented: number;
|
|
4226
|
+
/**
|
|
4227
|
+
* Delivery details for this purchase.
|
|
4228
|
+
*/
|
|
4229
|
+
delivery?: CarRental.Delivery;
|
|
4230
|
+
/**
|
|
4231
|
+
* The details of the distance traveled during the rental period.
|
|
4232
|
+
*/
|
|
4233
|
+
distance?: CarRental.Distance;
|
|
4234
|
+
/**
|
|
4235
|
+
* The details of the passengers in the travel reservation
|
|
4236
|
+
*/
|
|
4237
|
+
drivers?: Array<CarRental.Driver>;
|
|
4238
|
+
/**
|
|
4239
|
+
* List of additional charges being billed.
|
|
4240
|
+
*/
|
|
4241
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
4242
|
+
/**
|
|
4243
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
4244
|
+
*/
|
|
4245
|
+
no_show?: boolean;
|
|
4246
|
+
/**
|
|
4247
|
+
* Car pick-up address.
|
|
4248
|
+
*/
|
|
4249
|
+
pickup_address?: AddressParam;
|
|
4250
|
+
/**
|
|
4251
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
4252
|
+
*/
|
|
4253
|
+
pickup_at: number;
|
|
4254
|
+
/**
|
|
4255
|
+
* Name of the pickup location.
|
|
4256
|
+
*/
|
|
4257
|
+
pickup_location_name?: string;
|
|
4258
|
+
/**
|
|
4259
|
+
* Rental rate.
|
|
4260
|
+
*/
|
|
4261
|
+
rate_amount?: number;
|
|
4262
|
+
/**
|
|
4263
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
4264
|
+
*/
|
|
4265
|
+
rate_interval?: CarRental.RateInterval;
|
|
4266
|
+
/**
|
|
4267
|
+
* The name of the person or entity renting the car.
|
|
4268
|
+
*/
|
|
4269
|
+
renter_name?: string;
|
|
4270
|
+
/**
|
|
4271
|
+
* Car return address.
|
|
4272
|
+
*/
|
|
4273
|
+
return_address?: AddressParam;
|
|
4274
|
+
/**
|
|
4275
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
4276
|
+
*/
|
|
4277
|
+
return_at: number;
|
|
4278
|
+
/**
|
|
4279
|
+
* Name of the return location.
|
|
4280
|
+
*/
|
|
4281
|
+
return_location_name?: string;
|
|
4282
|
+
/**
|
|
4283
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
4284
|
+
*/
|
|
4285
|
+
tax_exempt?: boolean;
|
|
4286
|
+
/**
|
|
4287
|
+
* The vehicle identification number.
|
|
4288
|
+
*/
|
|
4289
|
+
vehicle_identification_number?: string;
|
|
4290
|
+
}
|
|
4291
|
+
interface CarRentalDatum {
|
|
4292
|
+
/**
|
|
4293
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
4294
|
+
*/
|
|
4295
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
4296
|
+
/**
|
|
4297
|
+
* Booking confirmation number for the car rental.
|
|
4298
|
+
*/
|
|
4299
|
+
booking_number?: string;
|
|
4300
|
+
/**
|
|
4301
|
+
* Name of the car rental company.
|
|
4302
|
+
*/
|
|
4303
|
+
carrier_name?: string;
|
|
4304
|
+
/**
|
|
4305
|
+
* Customer service phone number for the car rental company.
|
|
4306
|
+
*/
|
|
4307
|
+
customer_service_phone_number?: string;
|
|
4308
|
+
/**
|
|
4309
|
+
* Number of days the car is being rented.
|
|
4310
|
+
*/
|
|
4311
|
+
days_rented?: number;
|
|
4312
|
+
/**
|
|
4313
|
+
* Distance details for the rental.
|
|
4314
|
+
*/
|
|
4315
|
+
distance?: CarRentalDatum.Distance;
|
|
4316
|
+
/**
|
|
4317
|
+
* List of drivers for the rental.
|
|
4318
|
+
*/
|
|
4319
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
4320
|
+
/**
|
|
4321
|
+
* Drop-off location details.
|
|
4322
|
+
*/
|
|
4323
|
+
drop_off: CarRentalDatum.DropOff;
|
|
4324
|
+
/**
|
|
4325
|
+
* Insurance details for the rental.
|
|
4326
|
+
*/
|
|
4327
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
4328
|
+
/**
|
|
4329
|
+
* Indicates if the customer was a no-show.
|
|
4330
|
+
*/
|
|
4331
|
+
no_show_indicator?: boolean;
|
|
4332
|
+
/**
|
|
4333
|
+
* Pickup location details.
|
|
4334
|
+
*/
|
|
4335
|
+
pickup: CarRentalDatum.Pickup;
|
|
4336
|
+
/**
|
|
4337
|
+
* Name of the person renting the vehicle.
|
|
4338
|
+
*/
|
|
4339
|
+
renter_name?: string;
|
|
4340
|
+
/**
|
|
4341
|
+
* Total cost breakdown for the rental.
|
|
4342
|
+
*/
|
|
4343
|
+
total: CarRentalDatum.Total;
|
|
4344
|
+
/**
|
|
4345
|
+
* Vehicle details for the rental.
|
|
4346
|
+
*/
|
|
4347
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
4348
|
+
}
|
|
4349
|
+
interface EventDetails {
|
|
4350
|
+
/**
|
|
4351
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
4352
|
+
*/
|
|
4353
|
+
access_controlled_venue?: boolean;
|
|
4354
|
+
/**
|
|
4355
|
+
* The event location's address.
|
|
4356
|
+
*/
|
|
4357
|
+
address?: AddressParam;
|
|
4358
|
+
/**
|
|
4359
|
+
* Affiliate details for this purchase.
|
|
4360
|
+
*/
|
|
4361
|
+
affiliate?: EventDetails.Affiliate;
|
|
4362
|
+
/**
|
|
4363
|
+
* The name of the company
|
|
4364
|
+
*/
|
|
4365
|
+
company?: string;
|
|
4366
|
+
/**
|
|
4367
|
+
* Delivery details for this purchase.
|
|
4368
|
+
*/
|
|
4369
|
+
delivery?: EventDetails.Delivery;
|
|
4370
|
+
/**
|
|
4371
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
4372
|
+
*/
|
|
4373
|
+
ends_at?: number;
|
|
4374
|
+
/**
|
|
4375
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
4376
|
+
*/
|
|
4377
|
+
genre?: string;
|
|
4378
|
+
/**
|
|
4379
|
+
* The name of the event.
|
|
4380
|
+
*/
|
|
4381
|
+
name: string;
|
|
4382
|
+
/**
|
|
4383
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
4384
|
+
*/
|
|
4385
|
+
starts_at?: number;
|
|
4386
|
+
}
|
|
4387
|
+
interface FleetDatum {
|
|
4388
|
+
/**
|
|
4389
|
+
* Primary fuel fields for the transaction.
|
|
4390
|
+
*/
|
|
4391
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
4392
|
+
/**
|
|
4393
|
+
* Station and acceptor location details.
|
|
4394
|
+
*/
|
|
4395
|
+
station?: FleetDatum.Station;
|
|
4396
|
+
/**
|
|
4397
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
4398
|
+
*/
|
|
4399
|
+
vat?: FleetDatum.Vat;
|
|
4400
|
+
}
|
|
4401
|
+
interface Flight {
|
|
4402
|
+
/**
|
|
4403
|
+
* Affiliate details for this purchase.
|
|
4404
|
+
*/
|
|
4405
|
+
affiliate?: Flight.Affiliate;
|
|
4406
|
+
/**
|
|
4407
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
4408
|
+
*/
|
|
4409
|
+
agency_number?: string;
|
|
4410
|
+
/**
|
|
4411
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
4412
|
+
*/
|
|
4413
|
+
carrier?: string;
|
|
4414
|
+
/**
|
|
4415
|
+
* Delivery details for this purchase.
|
|
4416
|
+
*/
|
|
4417
|
+
delivery?: Flight.Delivery;
|
|
4418
|
+
/**
|
|
4419
|
+
* The name of the person or entity on the reservation.
|
|
4420
|
+
*/
|
|
4421
|
+
passenger_name?: string;
|
|
4422
|
+
/**
|
|
4423
|
+
* The details of the passengers in the travel reservation.
|
|
4424
|
+
*/
|
|
4425
|
+
passengers?: Array<Flight.Passenger>;
|
|
4426
|
+
/**
|
|
4427
|
+
* The individual flight segments associated with the trip.
|
|
4428
|
+
*/
|
|
4429
|
+
segments: Array<Flight.Segment>;
|
|
4430
|
+
/**
|
|
4431
|
+
* The ticket number associated with the travel reservation.
|
|
4432
|
+
*/
|
|
4433
|
+
ticket_number?: string;
|
|
4434
|
+
}
|
|
4435
|
+
interface FlightDatum {
|
|
4436
|
+
/**
|
|
4437
|
+
* Affiliate details if applicable.
|
|
4438
|
+
*/
|
|
4439
|
+
affiliate?: FlightDatum.Affiliate;
|
|
4440
|
+
/**
|
|
4441
|
+
* Reservation reference.
|
|
4442
|
+
*/
|
|
4443
|
+
booking_number?: string;
|
|
4444
|
+
/**
|
|
4445
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
4446
|
+
*/
|
|
4447
|
+
computerized_reservation_system?: string;
|
|
4448
|
+
/**
|
|
4449
|
+
* Ticket restrictions.
|
|
4450
|
+
*/
|
|
4451
|
+
endorsements_and_restrictions?: string;
|
|
4452
|
+
/**
|
|
4453
|
+
* List of insurances.
|
|
4454
|
+
*/
|
|
4455
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
4456
|
+
/**
|
|
4457
|
+
* List of passengers.
|
|
4458
|
+
*/
|
|
4459
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
4460
|
+
/**
|
|
4461
|
+
* List of flight segments.
|
|
4462
|
+
*/
|
|
4463
|
+
segments: Array<FlightDatum.Segment>;
|
|
4464
|
+
/**
|
|
4465
|
+
* Electronic ticket indicator.
|
|
4466
|
+
*/
|
|
4467
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
4468
|
+
/**
|
|
4469
|
+
* Total cost breakdown.
|
|
4470
|
+
*/
|
|
4471
|
+
total: FlightDatum.Total;
|
|
4472
|
+
/**
|
|
4473
|
+
* Type of flight transaction.
|
|
4474
|
+
*/
|
|
4475
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
4476
|
+
}
|
|
4477
|
+
interface Lodging {
|
|
4478
|
+
/**
|
|
4479
|
+
* The lodging location's address.
|
|
4480
|
+
*/
|
|
4481
|
+
address?: AddressParam;
|
|
4482
|
+
/**
|
|
4483
|
+
* The number of adults on the booking
|
|
4484
|
+
*/
|
|
4485
|
+
adults?: number;
|
|
4486
|
+
/**
|
|
4487
|
+
* Affiliate details for this purchase.
|
|
4488
|
+
*/
|
|
4489
|
+
affiliate?: Lodging.Affiliate;
|
|
4490
|
+
/**
|
|
4491
|
+
* The booking number associated with the lodging reservation.
|
|
4492
|
+
*/
|
|
4493
|
+
booking_number?: string;
|
|
4494
|
+
/**
|
|
4495
|
+
* The lodging category
|
|
4496
|
+
*/
|
|
4497
|
+
category?: Lodging.Category;
|
|
4498
|
+
/**
|
|
4499
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
4500
|
+
*/
|
|
4501
|
+
checkin_at: number;
|
|
4502
|
+
/**
|
|
4503
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
4504
|
+
*/
|
|
4505
|
+
checkout_at: number;
|
|
4506
|
+
/**
|
|
4507
|
+
* The customer service phone number of the lodging company.
|
|
4508
|
+
*/
|
|
4509
|
+
customer_service_phone_number?: string;
|
|
4510
|
+
/**
|
|
4511
|
+
* The daily lodging room rate.
|
|
4512
|
+
*/
|
|
4513
|
+
daily_room_rate_amount?: number;
|
|
4514
|
+
/**
|
|
4515
|
+
* Delivery details for this purchase.
|
|
4516
|
+
*/
|
|
4517
|
+
delivery?: Lodging.Delivery;
|
|
4518
|
+
/**
|
|
4519
|
+
* List of additional charges being billed.
|
|
4520
|
+
*/
|
|
4521
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
4522
|
+
/**
|
|
4523
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
4524
|
+
*/
|
|
4525
|
+
fire_safety_act_compliance?: boolean;
|
|
4526
|
+
/**
|
|
4527
|
+
* The name of the lodging location.
|
|
4528
|
+
*/
|
|
4529
|
+
name?: string;
|
|
4530
|
+
/**
|
|
4531
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
4532
|
+
*/
|
|
4533
|
+
no_show?: boolean;
|
|
4534
|
+
/**
|
|
4535
|
+
* The number of rooms on the booking
|
|
4536
|
+
*/
|
|
4537
|
+
number_of_rooms?: number;
|
|
4538
|
+
/**
|
|
4539
|
+
* The details of the passengers in the travel reservation
|
|
4540
|
+
*/
|
|
4541
|
+
passengers?: Array<Lodging.Passenger>;
|
|
4542
|
+
/**
|
|
4543
|
+
* The phone number of the lodging location.
|
|
4544
|
+
*/
|
|
4545
|
+
property_phone_number?: string;
|
|
4546
|
+
/**
|
|
4547
|
+
* The room class for this purchase.
|
|
4548
|
+
*/
|
|
4549
|
+
room_class?: string;
|
|
4550
|
+
/**
|
|
4551
|
+
* The number of room nights
|
|
4552
|
+
*/
|
|
4553
|
+
room_nights?: number;
|
|
4554
|
+
/**
|
|
4555
|
+
* The total tax amount associating with the room reservation.
|
|
4556
|
+
*/
|
|
4557
|
+
total_room_tax_amount?: number;
|
|
4558
|
+
/**
|
|
4559
|
+
* The total tax amount
|
|
4560
|
+
*/
|
|
4561
|
+
total_tax_amount?: number;
|
|
4562
|
+
}
|
|
4563
|
+
interface LodgingDatum {
|
|
4564
|
+
/**
|
|
4565
|
+
* Accommodation details for the lodging.
|
|
4566
|
+
*/
|
|
4567
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
4568
|
+
/**
|
|
4569
|
+
* Affiliate details if applicable.
|
|
4570
|
+
*/
|
|
4571
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
4572
|
+
/**
|
|
4573
|
+
* Booking confirmation number for the lodging.
|
|
4574
|
+
*/
|
|
4575
|
+
booking_number?: string;
|
|
4576
|
+
/**
|
|
4577
|
+
* Check-in date.
|
|
4578
|
+
*/
|
|
4579
|
+
checkin_at: number;
|
|
4580
|
+
/**
|
|
4581
|
+
* Check-out date.
|
|
4582
|
+
*/
|
|
4583
|
+
checkout_at: number;
|
|
4584
|
+
/**
|
|
4585
|
+
* Customer service phone number for the lodging company.
|
|
4586
|
+
*/
|
|
4587
|
+
customer_service_phone_number?: string;
|
|
4588
|
+
/**
|
|
4589
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
4590
|
+
*/
|
|
4591
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
4592
|
+
/**
|
|
4593
|
+
* List of guests for the lodging.
|
|
4594
|
+
*/
|
|
4595
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
4596
|
+
/**
|
|
4597
|
+
* Host details for the lodging.
|
|
4598
|
+
*/
|
|
4599
|
+
host?: LodgingDatum.Host;
|
|
4600
|
+
/**
|
|
4601
|
+
* List of insurances for the lodging.
|
|
4602
|
+
*/
|
|
4603
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
4604
|
+
/**
|
|
4605
|
+
* Whether the renter is a no-show.
|
|
4606
|
+
*/
|
|
4607
|
+
no_show_indicator?: boolean;
|
|
4608
|
+
/**
|
|
4609
|
+
* Renter ID number for the lodging.
|
|
4610
|
+
*/
|
|
4611
|
+
renter_id_number?: string;
|
|
4612
|
+
/**
|
|
4613
|
+
* Renter name for the lodging.
|
|
4614
|
+
*/
|
|
4615
|
+
renter_name?: string;
|
|
4616
|
+
/**
|
|
4617
|
+
* Total details for the lodging.
|
|
4618
|
+
*/
|
|
4619
|
+
total: LodgingDatum.Total;
|
|
4620
|
+
}
|
|
4621
|
+
interface MoneyServices {
|
|
4622
|
+
/**
|
|
4623
|
+
* Account funding transaction details including sender and beneficiary information.
|
|
4624
|
+
*/
|
|
4625
|
+
account_funding?: Emptyable<MoneyServices.AccountFunding>;
|
|
4626
|
+
/**
|
|
4627
|
+
* The type of money services transaction.
|
|
4628
|
+
*/
|
|
4629
|
+
transaction_type?: Emptyable<MoneyServices.TransactionType>;
|
|
4630
|
+
}
|
|
4631
|
+
interface Subscription {
|
|
4632
|
+
/**
|
|
4633
|
+
* Affiliate details for this purchase.
|
|
4634
|
+
*/
|
|
4635
|
+
affiliate?: Subscription.Affiliate;
|
|
4636
|
+
/**
|
|
4637
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
4638
|
+
*/
|
|
4639
|
+
auto_renewal?: boolean;
|
|
4640
|
+
/**
|
|
4641
|
+
* Subscription billing details for this purchase.
|
|
4642
|
+
*/
|
|
4643
|
+
billing_interval?: Subscription.BillingInterval;
|
|
4644
|
+
/**
|
|
4645
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
4646
|
+
*/
|
|
4647
|
+
ends_at?: number;
|
|
4648
|
+
/**
|
|
4649
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
4650
|
+
*/
|
|
4651
|
+
name: string;
|
|
4652
|
+
/**
|
|
4653
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
4654
|
+
*/
|
|
4655
|
+
starts_at?: number;
|
|
4656
|
+
}
|
|
4657
|
+
namespace CarRental {
|
|
4658
|
+
interface Affiliate {
|
|
4659
|
+
/**
|
|
4660
|
+
* The name of the affiliate that originated the purchase.
|
|
4661
|
+
*/
|
|
4662
|
+
name: string;
|
|
4663
|
+
}
|
|
4664
|
+
interface Delivery {
|
|
4665
|
+
/**
|
|
4666
|
+
* The delivery method for the payment
|
|
4667
|
+
*/
|
|
4668
|
+
mode?: Delivery.Mode;
|
|
4669
|
+
/**
|
|
4670
|
+
* Details of the recipient.
|
|
4671
|
+
*/
|
|
4672
|
+
recipient?: Delivery.Recipient;
|
|
4673
|
+
}
|
|
4674
|
+
interface Distance {
|
|
4675
|
+
/**
|
|
4676
|
+
* Distance traveled.
|
|
4677
|
+
*/
|
|
4678
|
+
amount?: number;
|
|
4679
|
+
/**
|
|
4680
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4681
|
+
*/
|
|
4682
|
+
unit?: Distance.Unit;
|
|
4683
|
+
}
|
|
4684
|
+
interface Driver {
|
|
4685
|
+
/**
|
|
4686
|
+
* Driver's identification number.
|
|
4687
|
+
*/
|
|
4688
|
+
driver_identification_number?: string;
|
|
4689
|
+
/**
|
|
4690
|
+
* Driver's tax number.
|
|
4691
|
+
*/
|
|
4692
|
+
driver_tax_number?: string;
|
|
4693
|
+
/**
|
|
4694
|
+
* Full name of the person or entity on the car reservation.
|
|
4695
|
+
*/
|
|
4696
|
+
name: string;
|
|
4697
|
+
}
|
|
4698
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
4699
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
4700
|
+
namespace Delivery {
|
|
4701
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
4702
|
+
interface Recipient {
|
|
4703
|
+
/**
|
|
4704
|
+
* The email of the recipient the ticket is delivered to.
|
|
4705
|
+
*/
|
|
4706
|
+
email?: string;
|
|
4707
|
+
/**
|
|
4708
|
+
* The name of the recipient the ticket is delivered to.
|
|
4709
|
+
*/
|
|
4710
|
+
name?: string;
|
|
4711
|
+
/**
|
|
4712
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4713
|
+
*/
|
|
4714
|
+
phone?: string;
|
|
4715
|
+
}
|
|
4716
|
+
}
|
|
4717
|
+
namespace Distance {
|
|
4718
|
+
type Unit = 'kilometers' | 'miles';
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
namespace CarRentalDatum {
|
|
4722
|
+
interface Affiliate {
|
|
4723
|
+
/**
|
|
4724
|
+
* Affiliate partner code.
|
|
4725
|
+
*/
|
|
4726
|
+
code?: string;
|
|
4727
|
+
/**
|
|
4728
|
+
* Name of affiliate partner.
|
|
4729
|
+
*/
|
|
4730
|
+
name?: string;
|
|
4731
|
+
}
|
|
4732
|
+
interface Distance {
|
|
4733
|
+
/**
|
|
4734
|
+
* Distance traveled.
|
|
4735
|
+
*/
|
|
4736
|
+
amount: number;
|
|
4737
|
+
/**
|
|
4738
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4739
|
+
*/
|
|
4740
|
+
unit: Distance.Unit;
|
|
4741
|
+
}
|
|
4742
|
+
interface Driver {
|
|
4743
|
+
/**
|
|
4744
|
+
* Driver's date of birth.
|
|
4745
|
+
*/
|
|
4746
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
4747
|
+
/**
|
|
4748
|
+
* Driver's identification number.
|
|
4749
|
+
*/
|
|
4750
|
+
driver_identification_number?: string;
|
|
4751
|
+
/**
|
|
4752
|
+
* Driver's tax number.
|
|
4753
|
+
*/
|
|
4754
|
+
driver_tax_number?: string;
|
|
4755
|
+
/**
|
|
4756
|
+
* Driver's full name.
|
|
4757
|
+
*/
|
|
4758
|
+
name: string;
|
|
4759
|
+
}
|
|
4760
|
+
interface DropOff {
|
|
4761
|
+
/**
|
|
4762
|
+
* Address of the rental location.
|
|
4763
|
+
*/
|
|
4764
|
+
address: DropOff.Address;
|
|
4765
|
+
/**
|
|
4766
|
+
* Location name.
|
|
4767
|
+
*/
|
|
4768
|
+
location_name?: string;
|
|
4769
|
+
/**
|
|
4770
|
+
* Timestamp for the location.
|
|
4771
|
+
*/
|
|
4772
|
+
time: number;
|
|
4773
|
+
}
|
|
4774
|
+
interface Insurance {
|
|
4775
|
+
/**
|
|
4776
|
+
* Amount of the insurance coverage in cents.
|
|
4777
|
+
*/
|
|
4778
|
+
amount: number;
|
|
4779
|
+
/**
|
|
4780
|
+
* Currency of the insurance amount.
|
|
4781
|
+
*/
|
|
4782
|
+
currency?: string;
|
|
4783
|
+
/**
|
|
4784
|
+
* Name of the insurance company.
|
|
4785
|
+
*/
|
|
4786
|
+
insurance_company_name?: string;
|
|
4787
|
+
/**
|
|
4788
|
+
* Type of insurance coverage.
|
|
4789
|
+
*/
|
|
4790
|
+
insurance_type: Insurance.InsuranceType;
|
|
4791
|
+
}
|
|
4792
|
+
interface Pickup {
|
|
4793
|
+
/**
|
|
4794
|
+
* Address of the rental location.
|
|
4795
|
+
*/
|
|
4796
|
+
address: Pickup.Address;
|
|
4797
|
+
/**
|
|
4798
|
+
* Location name.
|
|
4799
|
+
*/
|
|
4800
|
+
location_name?: string;
|
|
4801
|
+
/**
|
|
4802
|
+
* Timestamp for the location.
|
|
4803
|
+
*/
|
|
4804
|
+
time: number;
|
|
4805
|
+
}
|
|
4806
|
+
interface Total {
|
|
4807
|
+
/**
|
|
4808
|
+
* Total amount in cents.
|
|
4809
|
+
*/
|
|
4810
|
+
amount: number;
|
|
4811
|
+
/**
|
|
4812
|
+
* Currency of the amount.
|
|
4813
|
+
*/
|
|
4814
|
+
currency?: string;
|
|
4815
|
+
/**
|
|
4816
|
+
* Discount details for the rental.
|
|
4817
|
+
*/
|
|
4818
|
+
discounts?: Total.Discounts;
|
|
4819
|
+
/**
|
|
4820
|
+
* Additional charges for the rental.
|
|
4821
|
+
*/
|
|
4822
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4823
|
+
/**
|
|
4824
|
+
* Rate per unit for the rental.
|
|
4825
|
+
*/
|
|
4826
|
+
rate_per_unit?: number;
|
|
4827
|
+
/**
|
|
4828
|
+
* Unit of measurement for the rate.
|
|
4829
|
+
*/
|
|
4830
|
+
rate_unit?: Total.RateUnit;
|
|
4831
|
+
/**
|
|
4832
|
+
* Tax breakdown for the rental.
|
|
4833
|
+
*/
|
|
4834
|
+
tax?: Total.Tax;
|
|
4835
|
+
}
|
|
4836
|
+
interface Vehicle {
|
|
4837
|
+
/**
|
|
4838
|
+
* Make of the rental vehicle.
|
|
4839
|
+
*/
|
|
4840
|
+
make?: string;
|
|
4841
|
+
/**
|
|
4842
|
+
* Model of the rental vehicle.
|
|
4843
|
+
*/
|
|
4844
|
+
model?: string;
|
|
4845
|
+
/**
|
|
4846
|
+
* Odometer reading at the time of rental.
|
|
4847
|
+
*/
|
|
4848
|
+
odometer?: number;
|
|
4849
|
+
/**
|
|
4850
|
+
* Type of the rental vehicle.
|
|
4851
|
+
*/
|
|
4852
|
+
type?: Vehicle.Type;
|
|
4853
|
+
/**
|
|
4854
|
+
* Class of the rental vehicle.
|
|
4855
|
+
*/
|
|
4856
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
4857
|
+
/**
|
|
4858
|
+
* Vehicle identification number (VIN).
|
|
4859
|
+
*/
|
|
4860
|
+
vehicle_identification_number?: string;
|
|
4861
|
+
}
|
|
4862
|
+
namespace Distance {
|
|
4863
|
+
type Unit = 'kilometers' | 'miles';
|
|
4864
|
+
}
|
|
4865
|
+
namespace Driver {
|
|
4866
|
+
interface DateOfBirth {
|
|
4867
|
+
/**
|
|
4868
|
+
* Day of birth (1-31).
|
|
4869
|
+
*/
|
|
4870
|
+
day: number;
|
|
4871
|
+
/**
|
|
4872
|
+
* Month of birth (1-12).
|
|
4873
|
+
*/
|
|
4874
|
+
month: number;
|
|
4875
|
+
/**
|
|
4876
|
+
* Year of birth (must be greater than 1900).
|
|
4877
|
+
*/
|
|
4878
|
+
year: number;
|
|
4879
|
+
}
|
|
4880
|
+
}
|
|
4881
|
+
namespace DropOff {
|
|
4882
|
+
interface Address {
|
|
4883
|
+
/**
|
|
4884
|
+
* City, district, suburb, town, or village.
|
|
4885
|
+
*/
|
|
4886
|
+
city: string;
|
|
4887
|
+
/**
|
|
4888
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4889
|
+
*/
|
|
4890
|
+
country: string;
|
|
4891
|
+
/**
|
|
4892
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4893
|
+
*/
|
|
4894
|
+
line1: string;
|
|
4895
|
+
/**
|
|
4896
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4897
|
+
*/
|
|
4898
|
+
line2?: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* ZIP or postal code.
|
|
4901
|
+
*/
|
|
4902
|
+
postal_code: string;
|
|
4903
|
+
/**
|
|
4904
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4905
|
+
*/
|
|
4906
|
+
state?: string;
|
|
4907
|
+
}
|
|
4908
|
+
}
|
|
4909
|
+
namespace Insurance {
|
|
4910
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
4911
|
+
}
|
|
4912
|
+
namespace Pickup {
|
|
4913
|
+
interface Address {
|
|
4914
|
+
/**
|
|
4915
|
+
* City, district, suburb, town, or village.
|
|
4916
|
+
*/
|
|
4917
|
+
city: string;
|
|
4918
|
+
/**
|
|
4919
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4920
|
+
*/
|
|
4921
|
+
country: string;
|
|
4922
|
+
/**
|
|
4923
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4924
|
+
*/
|
|
4925
|
+
line1: string;
|
|
4926
|
+
/**
|
|
4927
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4928
|
+
*/
|
|
4929
|
+
line2?: string;
|
|
4930
|
+
/**
|
|
4931
|
+
* ZIP or postal code.
|
|
4932
|
+
*/
|
|
4933
|
+
postal_code: string;
|
|
4934
|
+
/**
|
|
4935
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4936
|
+
*/
|
|
4937
|
+
state?: string;
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4940
|
+
namespace Total {
|
|
4941
|
+
interface Discounts {
|
|
4942
|
+
/**
|
|
4943
|
+
* Corporate client discount code.
|
|
4944
|
+
*/
|
|
4945
|
+
corporate_client_code?: string;
|
|
4946
|
+
/**
|
|
4947
|
+
* Coupon code applied to the rental.
|
|
4948
|
+
*/
|
|
4949
|
+
coupon?: string;
|
|
4950
|
+
/**
|
|
4951
|
+
* Maximum number of free miles or kilometers included.
|
|
4952
|
+
*/
|
|
4953
|
+
maximum_free_miles_or_kilometers?: number;
|
|
4954
|
+
}
|
|
4955
|
+
interface ExtraCharge {
|
|
4956
|
+
/**
|
|
4957
|
+
* Amount of the extra charge in cents.
|
|
4958
|
+
*/
|
|
4959
|
+
amount: number;
|
|
4960
|
+
/**
|
|
4961
|
+
* Type of extra charge.
|
|
4962
|
+
*/
|
|
4963
|
+
type: ExtraCharge.Type;
|
|
4964
|
+
}
|
|
4965
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
4966
|
+
interface Tax {
|
|
4967
|
+
/**
|
|
4968
|
+
* Indicates if the transaction is tax exempt.
|
|
4969
|
+
*/
|
|
4970
|
+
tax_exempt_indicator?: boolean;
|
|
4971
|
+
/**
|
|
4972
|
+
* Array of tax details.
|
|
4973
|
+
*/
|
|
4974
|
+
taxes?: Array<Tax.Tax>;
|
|
4975
|
+
}
|
|
4976
|
+
namespace ExtraCharge {
|
|
4977
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
4978
|
+
}
|
|
4979
|
+
namespace Tax {
|
|
4980
|
+
interface Tax {
|
|
4981
|
+
/**
|
|
4982
|
+
* Tax amount.
|
|
4983
|
+
*/
|
|
4984
|
+
amount?: number;
|
|
4985
|
+
/**
|
|
4986
|
+
* Tax rate applied.
|
|
4987
|
+
*/
|
|
4988
|
+
rate?: number;
|
|
4989
|
+
/**
|
|
4990
|
+
* Type of tax applied.
|
|
4991
|
+
*/
|
|
4992
|
+
type?: string;
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
}
|
|
4996
|
+
namespace Vehicle {
|
|
4997
|
+
type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique';
|
|
4998
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
4999
|
+
}
|
|
5000
|
+
}
|
|
5001
|
+
namespace EventDetails {
|
|
5002
|
+
interface Affiliate {
|
|
5003
|
+
/**
|
|
5004
|
+
* The name of the affiliate that originated the purchase.
|
|
5005
|
+
*/
|
|
5006
|
+
name: string;
|
|
5007
|
+
}
|
|
5008
|
+
interface Delivery {
|
|
5009
|
+
/**
|
|
5010
|
+
* The delivery method for the payment
|
|
5011
|
+
*/
|
|
5012
|
+
mode?: Delivery.Mode;
|
|
5013
|
+
/**
|
|
5014
|
+
* Details of the recipient.
|
|
5015
|
+
*/
|
|
5016
|
+
recipient?: Delivery.Recipient;
|
|
5017
|
+
}
|
|
5018
|
+
namespace Delivery {
|
|
5019
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5020
|
+
interface Recipient {
|
|
5021
|
+
/**
|
|
5022
|
+
* The email of the recipient the ticket is delivered to.
|
|
5023
|
+
*/
|
|
5024
|
+
email?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* The name of the recipient the ticket is delivered to.
|
|
5027
|
+
*/
|
|
5028
|
+
name?: string;
|
|
5029
|
+
/**
|
|
5030
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5031
|
+
*/
|
|
5032
|
+
phone?: string;
|
|
5033
|
+
}
|
|
5034
|
+
}
|
|
5035
|
+
}
|
|
5036
|
+
namespace FleetDatum {
|
|
5037
|
+
interface PrimaryFuelFields {
|
|
5038
|
+
/**
|
|
5039
|
+
* The fuel brand.
|
|
5040
|
+
*/
|
|
5041
|
+
brand?: PrimaryFuelFields.Brand;
|
|
5042
|
+
}
|
|
5043
|
+
interface Station {
|
|
5044
|
+
/**
|
|
5045
|
+
* Additional contact information for the station.
|
|
5046
|
+
*/
|
|
5047
|
+
additional_contact_info?: string;
|
|
5048
|
+
/**
|
|
5049
|
+
* The customer service phone number of the station.
|
|
5050
|
+
*/
|
|
5051
|
+
customer_service_phone_number?: string;
|
|
5052
|
+
/**
|
|
5053
|
+
* The partner ID code of the station.
|
|
5054
|
+
*/
|
|
5055
|
+
partner_id_code?: string;
|
|
5056
|
+
/**
|
|
5057
|
+
* The phone number of the station.
|
|
5058
|
+
*/
|
|
5059
|
+
phone_number?: string;
|
|
5060
|
+
/**
|
|
5061
|
+
* The physical location of the station.
|
|
5062
|
+
*/
|
|
5063
|
+
service_location?: ShippingAddressParam;
|
|
5064
|
+
/**
|
|
5065
|
+
* The URL of the station.
|
|
5066
|
+
*/
|
|
5067
|
+
url?: string;
|
|
5068
|
+
}
|
|
5069
|
+
interface Vat {
|
|
5070
|
+
/**
|
|
5071
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
5072
|
+
*/
|
|
5073
|
+
iob_indicator: Vat.IobIndicator;
|
|
5074
|
+
}
|
|
5075
|
+
namespace PrimaryFuelFields {
|
|
5076
|
+
type Brand = 'aafes' | 'amerada_hess' | 'amoco_canada' | 'amoco_petroleum_products' | 'arco_products' | 'asda' | 'ashland_oil' | 'bfl' | 'bp_mobil' | 'bp_oil' | 'burrnah_major' | 'butler_arndale' | 'canadian_tire' | 'canadian_turbo' | 'caseys_general_store' | 'cenex' | 'chevron_canada' | 'chevron_usa' | 'circle_k_stores' | 'citgo_petroleum' | 'clark_brands' | 'conoco_canada' | 'conoco_inc' | 'crown_central_petroleum' | 'diamond_shamrock_inc' | 'discount_tire' | 'domo_gas' | 'elf' | 'erickson_oil' | 'esso' | 'esso_canada' | 'exxon' | 'exxonmobil' | 'family_express' | 'fas_gas_oil' | 'federated_coop_sonic' | 'fina' | 'fina_inc' | 'fkg_oil' | 'flare' | 'flying_j_inc' | 'gas_america' | 'gate_petroleum' | 'getty_petroleum' | 'giant_eagle' | 'grow_mark_inc' | 'gulf' | 'gulf_canada' | 'gulf_chevron' | 'handy_way_food' | 'heron' | 'holiday_stores' | 'home_depot' | 'husky' | 'hyvees' | 'irving' | 'irving_oil' | 'j_sainsbury' | 'jet_conoco' | 'krogers' | 'kuwait' | 'kwik_trip_inc' | 'lassus' | 'loves_country_stores' | 'mapco_express_inc' | 'marathon_oil' | 'martin_bailey_inc_dba_hucks' | 'maxol' | 'meineke' | 'mfa' | 'mohawk' | 'mr_gas' | 'murco' | 'murphy_oil_canada' | 'murphy_oil_usa_inc' | 'nexcom' | 'nordstrom_oil' | 'olco' | 'pdq_store' | 'pennzoil_products_inc' | 'petro' | 'petro_canada' | 'petro_t' | 'phillips' | 'pilot' | 'pioneer' | 'pure_oil' | 'quaker_state' | 'quarles_oil' | 'quiktrip' | 'racetrac_petroleum_inc' | 'raceway_petroleum' | 'repsol' | 'rudy' | 'safeway' | 'seven_eleven' | 'sheetz' | 'shell' | 'shell_canada' | 'shell_oil' | 'sinclair_oil' | 'southland_oil' | 'spar' | 'speedway' | 'sun_company_inc' | 'suncor_sunoco_canada' | 'tempo' | 'tesco' | 'tesoro_alaska' | 'texaco' | 'the_pantry_inc' | 'thornton_oil' | 'tosco' | 'total' | 'travel_centers_of_america' | 'uk' | 'ultramar_canada' | 'unbranded_or_unassigned' | 'unbranded_unassigned' | 'union_76' | 'united_dairy_farmer' | 'united_refining_kwikfill' | 'us_oil' | 'usa_petroleum' | 'valvoline' | 'vg' | 'w_morrison' | 'warren_equities' | 'wawa' | 'western_energetix' | 'wilco' | 'zions';
|
|
5077
|
+
}
|
|
5078
|
+
namespace Vat {
|
|
5079
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
5082
|
+
namespace Flight {
|
|
5083
|
+
interface Affiliate {
|
|
5084
|
+
/**
|
|
5085
|
+
* The name of the affiliate that originated the purchase.
|
|
5086
|
+
*/
|
|
5087
|
+
name: string;
|
|
5088
|
+
}
|
|
5089
|
+
interface Delivery {
|
|
5090
|
+
/**
|
|
5091
|
+
* The delivery method for the payment
|
|
5092
|
+
*/
|
|
5093
|
+
mode?: Delivery.Mode;
|
|
5094
|
+
/**
|
|
5095
|
+
* Details of the recipient.
|
|
5096
|
+
*/
|
|
5097
|
+
recipient?: Delivery.Recipient;
|
|
5098
|
+
}
|
|
5099
|
+
interface Passenger {
|
|
5100
|
+
/**
|
|
5101
|
+
* Full name of the person or entity on the flight reservation.
|
|
5102
|
+
*/
|
|
5103
|
+
name: string;
|
|
5104
|
+
}
|
|
5105
|
+
interface Segment {
|
|
5106
|
+
/**
|
|
5107
|
+
* The flight segment amount.
|
|
5108
|
+
*/
|
|
5109
|
+
amount?: number;
|
|
5110
|
+
/**
|
|
5111
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
5112
|
+
*/
|
|
5113
|
+
arrival_airport?: string;
|
|
5114
|
+
/**
|
|
5115
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5116
|
+
*/
|
|
5117
|
+
arrives_at?: number;
|
|
5118
|
+
/**
|
|
5119
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
5120
|
+
*/
|
|
5121
|
+
carrier?: string;
|
|
5122
|
+
/**
|
|
5123
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5124
|
+
*/
|
|
5125
|
+
departs_at: number;
|
|
5126
|
+
/**
|
|
5127
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
5128
|
+
*/
|
|
5129
|
+
departure_airport?: string;
|
|
5130
|
+
/**
|
|
5131
|
+
* The flight number associated with the segment
|
|
5132
|
+
*/
|
|
5133
|
+
flight_number?: string;
|
|
5134
|
+
/**
|
|
5135
|
+
* The fare class for the segment.
|
|
5136
|
+
*/
|
|
5137
|
+
service_class?: Segment.ServiceClass;
|
|
5138
|
+
}
|
|
5139
|
+
namespace Delivery {
|
|
5140
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5141
|
+
interface Recipient {
|
|
5142
|
+
/**
|
|
5143
|
+
* The email of the recipient the ticket is delivered to.
|
|
5144
|
+
*/
|
|
5145
|
+
email?: string;
|
|
5146
|
+
/**
|
|
5147
|
+
* The name of the recipient the ticket is delivered to.
|
|
5148
|
+
*/
|
|
5149
|
+
name?: string;
|
|
5150
|
+
/**
|
|
5151
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5152
|
+
*/
|
|
5153
|
+
phone?: string;
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
namespace Segment {
|
|
5157
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
5158
|
+
}
|
|
5159
|
+
}
|
|
5160
|
+
namespace FlightDatum {
|
|
5161
|
+
interface Affiliate {
|
|
5162
|
+
/**
|
|
5163
|
+
* Affiliate partner code.
|
|
5164
|
+
*/
|
|
5165
|
+
code?: string;
|
|
5166
|
+
/**
|
|
5167
|
+
* Name of affiliate partner.
|
|
5168
|
+
*/
|
|
5169
|
+
name?: string;
|
|
5170
|
+
/**
|
|
5171
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
5172
|
+
*/
|
|
5173
|
+
travel_authorization_code?: string;
|
|
5174
|
+
}
|
|
5175
|
+
interface Insurance {
|
|
5176
|
+
/**
|
|
5177
|
+
* Insurance cost.
|
|
5178
|
+
*/
|
|
5179
|
+
amount: number;
|
|
5180
|
+
/**
|
|
5181
|
+
* Insurance currency.
|
|
5182
|
+
*/
|
|
5183
|
+
currency?: string;
|
|
5184
|
+
/**
|
|
5185
|
+
* Insurance company name.
|
|
5186
|
+
*/
|
|
5187
|
+
insurance_company_name?: string;
|
|
5188
|
+
/**
|
|
5189
|
+
* Type of insurance.
|
|
5190
|
+
*/
|
|
5191
|
+
insurance_type: Insurance.InsuranceType;
|
|
5192
|
+
}
|
|
5193
|
+
interface Passenger {
|
|
5194
|
+
/**
|
|
5195
|
+
* Passenger's full name.
|
|
5196
|
+
*/
|
|
5197
|
+
name: string;
|
|
5198
|
+
}
|
|
5199
|
+
interface Segment {
|
|
5200
|
+
/**
|
|
5201
|
+
* Segment fare amount.
|
|
5202
|
+
*/
|
|
5203
|
+
amount?: number;
|
|
5204
|
+
/**
|
|
5205
|
+
* Arrival details.
|
|
5206
|
+
*/
|
|
5207
|
+
arrival: Segment.Arrival;
|
|
5208
|
+
/**
|
|
5209
|
+
* Airline carrier code.
|
|
5210
|
+
*/
|
|
5211
|
+
carrier_code: string;
|
|
5212
|
+
/**
|
|
5213
|
+
* Carrier name.
|
|
5214
|
+
*/
|
|
5215
|
+
carrier_name?: string;
|
|
5216
|
+
/**
|
|
5217
|
+
* Segment currency.
|
|
5218
|
+
*/
|
|
5219
|
+
currency?: string;
|
|
5220
|
+
/**
|
|
5221
|
+
* Departure details.
|
|
5222
|
+
*/
|
|
5223
|
+
departure: Segment.Departure;
|
|
5224
|
+
/**
|
|
5225
|
+
* Exchange ticket number.
|
|
5226
|
+
*/
|
|
5227
|
+
exchange_ticket_number?: string;
|
|
5228
|
+
/**
|
|
5229
|
+
* Fare basis code.
|
|
5230
|
+
*/
|
|
5231
|
+
fare_basis_code?: string;
|
|
5232
|
+
/**
|
|
5233
|
+
* Additional fees.
|
|
5234
|
+
*/
|
|
5235
|
+
fees?: number;
|
|
5236
|
+
/**
|
|
5237
|
+
* Flight number.
|
|
5238
|
+
*/
|
|
5239
|
+
flight_number?: string;
|
|
5240
|
+
/**
|
|
5241
|
+
* Stopover indicator.
|
|
5242
|
+
*/
|
|
5243
|
+
is_stop_over_indicator?: boolean;
|
|
5244
|
+
/**
|
|
5245
|
+
* Refundable ticket indicator.
|
|
5246
|
+
*/
|
|
5247
|
+
refundable?: boolean;
|
|
5248
|
+
/**
|
|
5249
|
+
* Class of service.
|
|
5250
|
+
*/
|
|
5251
|
+
service_class: Segment.ServiceClass;
|
|
5252
|
+
/**
|
|
5253
|
+
* Tax amount for segment.
|
|
5254
|
+
*/
|
|
5255
|
+
tax_amount?: number;
|
|
5256
|
+
/**
|
|
5257
|
+
* Ticket number.
|
|
5258
|
+
*/
|
|
5259
|
+
ticket_number?: string;
|
|
5260
|
+
}
|
|
5261
|
+
interface Total {
|
|
5262
|
+
/**
|
|
5263
|
+
* Total flight amount.
|
|
5264
|
+
*/
|
|
5265
|
+
amount: number;
|
|
5266
|
+
/**
|
|
5267
|
+
* Reason for credit.
|
|
5268
|
+
*/
|
|
5269
|
+
credit_reason?: Total.CreditReason;
|
|
5270
|
+
/**
|
|
5271
|
+
* Total currency.
|
|
5272
|
+
*/
|
|
5273
|
+
currency?: string;
|
|
5274
|
+
/**
|
|
5275
|
+
* Discount details.
|
|
5276
|
+
*/
|
|
5277
|
+
discounts?: Total.Discounts;
|
|
5278
|
+
/**
|
|
5279
|
+
* Additional charges.
|
|
5280
|
+
*/
|
|
5281
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5282
|
+
/**
|
|
5283
|
+
* Tax breakdown.
|
|
5284
|
+
*/
|
|
5285
|
+
tax?: Total.Tax;
|
|
5286
|
+
}
|
|
5287
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
5288
|
+
namespace Insurance {
|
|
5289
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5290
|
+
}
|
|
5291
|
+
namespace Segment {
|
|
5292
|
+
interface Arrival {
|
|
5293
|
+
/**
|
|
5294
|
+
* Arrival airport IATA code.
|
|
5295
|
+
*/
|
|
5296
|
+
airport: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* Arrival date/time.
|
|
5299
|
+
*/
|
|
5300
|
+
arrives_at?: number;
|
|
5301
|
+
/**
|
|
5302
|
+
* Arrival city.
|
|
5303
|
+
*/
|
|
5304
|
+
city?: string;
|
|
5305
|
+
/**
|
|
5306
|
+
* Arrival country.
|
|
5307
|
+
*/
|
|
5308
|
+
country?: string;
|
|
5309
|
+
}
|
|
5310
|
+
interface Departure {
|
|
5311
|
+
/**
|
|
5312
|
+
* Departure airport IATA code.
|
|
5313
|
+
*/
|
|
5314
|
+
airport: string;
|
|
5315
|
+
/**
|
|
5316
|
+
* Departure city.
|
|
5317
|
+
*/
|
|
5318
|
+
city?: string;
|
|
5319
|
+
/**
|
|
5320
|
+
* Departure country.
|
|
5321
|
+
*/
|
|
5322
|
+
country?: string;
|
|
5323
|
+
/**
|
|
5324
|
+
* Departure date/time.
|
|
5325
|
+
*/
|
|
5326
|
+
departs_at: number;
|
|
5327
|
+
}
|
|
5328
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
5329
|
+
}
|
|
5330
|
+
namespace Total {
|
|
5331
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
5332
|
+
interface Discounts {
|
|
5333
|
+
/**
|
|
5334
|
+
* Corporate client discount code.
|
|
5335
|
+
*/
|
|
5336
|
+
corporate_client_code?: string;
|
|
5337
|
+
}
|
|
5338
|
+
interface ExtraCharge {
|
|
5339
|
+
/**
|
|
5340
|
+
* Amount of additional charges.
|
|
5341
|
+
*/
|
|
5342
|
+
amount?: number;
|
|
5343
|
+
/**
|
|
5344
|
+
* Type of additional charges.
|
|
5345
|
+
*/
|
|
5346
|
+
type?: ExtraCharge.Type;
|
|
5347
|
+
}
|
|
5348
|
+
interface Tax {
|
|
5349
|
+
/**
|
|
5350
|
+
* Array of tax details.
|
|
5351
|
+
*/
|
|
5352
|
+
taxes?: Array<Tax.Tax>;
|
|
5353
|
+
}
|
|
5354
|
+
namespace ExtraCharge {
|
|
5355
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
5356
|
+
}
|
|
5357
|
+
namespace Tax {
|
|
5358
|
+
interface Tax {
|
|
5359
|
+
/**
|
|
5360
|
+
* Tax amount.
|
|
5361
|
+
*/
|
|
5362
|
+
amount?: number;
|
|
5363
|
+
/**
|
|
5364
|
+
* Tax rate.
|
|
5365
|
+
*/
|
|
5366
|
+
rate?: number;
|
|
5367
|
+
/**
|
|
5368
|
+
* Type of tax.
|
|
5369
|
+
*/
|
|
5370
|
+
type?: string;
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
namespace Lodging {
|
|
5376
|
+
interface Affiliate {
|
|
5377
|
+
/**
|
|
5378
|
+
* The name of the affiliate that originated the purchase.
|
|
5379
|
+
*/
|
|
5380
|
+
name: string;
|
|
5381
|
+
}
|
|
5382
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
5383
|
+
interface Delivery {
|
|
5384
|
+
/**
|
|
5385
|
+
* The delivery method for the payment
|
|
5386
|
+
*/
|
|
5387
|
+
mode?: Delivery.Mode;
|
|
5388
|
+
/**
|
|
5389
|
+
* Details of the recipient.
|
|
5390
|
+
*/
|
|
5391
|
+
recipient?: Delivery.Recipient;
|
|
5392
|
+
}
|
|
5393
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
5394
|
+
interface Passenger {
|
|
5395
|
+
/**
|
|
5396
|
+
* Full name of the person or entity on the lodging reservation.
|
|
5397
|
+
*/
|
|
5398
|
+
name: string;
|
|
5399
|
+
}
|
|
5400
|
+
namespace Delivery {
|
|
5401
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5402
|
+
interface Recipient {
|
|
5403
|
+
/**
|
|
5404
|
+
* The email of the recipient the ticket is delivered to.
|
|
5405
|
+
*/
|
|
5406
|
+
email?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* The name of the recipient the ticket is delivered to.
|
|
5409
|
+
*/
|
|
5410
|
+
name?: string;
|
|
5411
|
+
/**
|
|
5412
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5413
|
+
*/
|
|
5414
|
+
phone?: string;
|
|
5415
|
+
}
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
namespace LodgingDatum {
|
|
5419
|
+
interface Accommodation {
|
|
5420
|
+
/**
|
|
5421
|
+
* Type of accommodation.
|
|
5422
|
+
*/
|
|
5423
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
5424
|
+
/**
|
|
5425
|
+
* Bed type.
|
|
5426
|
+
*/
|
|
5427
|
+
bed_type?: string;
|
|
5428
|
+
/**
|
|
5429
|
+
* Daily accommodation rate in cents.
|
|
5430
|
+
*/
|
|
5431
|
+
daily_rate_amount?: number;
|
|
5432
|
+
/**
|
|
5433
|
+
* Number of nights.
|
|
5434
|
+
*/
|
|
5435
|
+
nights?: number;
|
|
5436
|
+
/**
|
|
5437
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
5438
|
+
*/
|
|
5439
|
+
number_of_rooms?: number;
|
|
5440
|
+
/**
|
|
5441
|
+
* Rate type.
|
|
5442
|
+
*/
|
|
5443
|
+
rate_type?: string;
|
|
5444
|
+
/**
|
|
5445
|
+
* Whether smoking is allowed.
|
|
5446
|
+
*/
|
|
5447
|
+
smoking_indicator?: boolean;
|
|
5448
|
+
}
|
|
5449
|
+
interface Affiliate {
|
|
5450
|
+
/**
|
|
5451
|
+
* Affiliate partner code.
|
|
5452
|
+
*/
|
|
5453
|
+
code?: string;
|
|
5454
|
+
/**
|
|
5455
|
+
* Affiliate partner name.
|
|
5456
|
+
*/
|
|
5457
|
+
name?: string;
|
|
5458
|
+
}
|
|
5459
|
+
interface Guest {
|
|
5460
|
+
/**
|
|
5461
|
+
* Guest's full name.
|
|
5462
|
+
*/
|
|
5463
|
+
name: string;
|
|
5464
|
+
}
|
|
5465
|
+
interface Host {
|
|
5466
|
+
/**
|
|
5467
|
+
* Address of the host.
|
|
5468
|
+
*/
|
|
5469
|
+
address?: Host.Address;
|
|
5470
|
+
/**
|
|
5471
|
+
* Host's country of domicile.
|
|
5472
|
+
*/
|
|
5473
|
+
country_of_domicile?: string;
|
|
5474
|
+
/**
|
|
5475
|
+
* Reference number for the host.
|
|
5476
|
+
*/
|
|
5477
|
+
host_reference?: string;
|
|
5478
|
+
/**
|
|
5479
|
+
* Type of host.
|
|
5480
|
+
*/
|
|
5481
|
+
host_type?: Host.HostType;
|
|
5482
|
+
/**
|
|
5483
|
+
* Name of the lodging property or host.
|
|
5484
|
+
*/
|
|
5485
|
+
name?: string;
|
|
5486
|
+
/**
|
|
5487
|
+
* Total number of reservations for the host.
|
|
5488
|
+
*/
|
|
5489
|
+
number_of_reservations?: number;
|
|
5490
|
+
/**
|
|
5491
|
+
* Property phone number.
|
|
5492
|
+
*/
|
|
5493
|
+
property_phone_number?: string;
|
|
5494
|
+
/**
|
|
5495
|
+
* Host's registration date.
|
|
5496
|
+
*/
|
|
5497
|
+
registered_at?: number;
|
|
5498
|
+
}
|
|
5499
|
+
interface Insurance {
|
|
5500
|
+
/**
|
|
5501
|
+
* Price of the insurance coverage in cents.
|
|
5502
|
+
*/
|
|
5503
|
+
amount: number;
|
|
5504
|
+
/**
|
|
5505
|
+
* Currency of the insurance amount.
|
|
5506
|
+
*/
|
|
5507
|
+
currency?: string;
|
|
5508
|
+
/**
|
|
5509
|
+
* Name of the insurance company.
|
|
5510
|
+
*/
|
|
5511
|
+
insurance_company_name?: string;
|
|
5512
|
+
/**
|
|
5513
|
+
* Type of insurance coverage.
|
|
5514
|
+
*/
|
|
5515
|
+
insurance_type: Insurance.InsuranceType;
|
|
5516
|
+
}
|
|
5517
|
+
interface Total {
|
|
5518
|
+
/**
|
|
5519
|
+
* Total price of the lodging reservation in cents.
|
|
5520
|
+
*/
|
|
5521
|
+
amount: number;
|
|
5522
|
+
/**
|
|
5523
|
+
* Cash advances in cents.
|
|
5524
|
+
*/
|
|
5525
|
+
cash_advances?: number;
|
|
5526
|
+
/**
|
|
5527
|
+
* Currency of the total amount.
|
|
5528
|
+
*/
|
|
5529
|
+
currency?: string;
|
|
5530
|
+
/**
|
|
5531
|
+
* Discount details for the lodging.
|
|
5532
|
+
*/
|
|
5533
|
+
discounts?: Total.Discounts;
|
|
5534
|
+
/**
|
|
5535
|
+
* Additional charges for the lodging.
|
|
5536
|
+
*/
|
|
5537
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5538
|
+
/**
|
|
5539
|
+
* Prepaid amount in cents.
|
|
5540
|
+
*/
|
|
5541
|
+
prepaid_amount?: number;
|
|
5542
|
+
/**
|
|
5543
|
+
* Tax breakdown for the lodging reservation.
|
|
5544
|
+
*/
|
|
5545
|
+
tax?: Total.Tax;
|
|
5546
|
+
}
|
|
5547
|
+
namespace Accommodation {
|
|
5548
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
5549
|
+
}
|
|
5550
|
+
namespace Host {
|
|
5551
|
+
interface Address {
|
|
5552
|
+
/**
|
|
5553
|
+
* City, district, suburb, town, or village.
|
|
5554
|
+
*/
|
|
5555
|
+
city: string;
|
|
5556
|
+
/**
|
|
5557
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5558
|
+
*/
|
|
5559
|
+
country: string;
|
|
5560
|
+
/**
|
|
5561
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5562
|
+
*/
|
|
5563
|
+
line1: string;
|
|
5564
|
+
/**
|
|
5565
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5566
|
+
*/
|
|
5567
|
+
line2?: string;
|
|
5568
|
+
/**
|
|
5569
|
+
* ZIP or postal code.
|
|
5570
|
+
*/
|
|
5571
|
+
postal_code: string;
|
|
5572
|
+
/**
|
|
5573
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5574
|
+
*/
|
|
5575
|
+
state?: string;
|
|
5576
|
+
}
|
|
5577
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
5578
|
+
}
|
|
5579
|
+
namespace Insurance {
|
|
5580
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5581
|
+
}
|
|
5582
|
+
namespace Total {
|
|
5583
|
+
interface Discounts {
|
|
5584
|
+
/**
|
|
5585
|
+
* Corporate client discount code.
|
|
5586
|
+
*/
|
|
5587
|
+
corporate_client_code?: string;
|
|
5588
|
+
/**
|
|
5589
|
+
* Coupon code.
|
|
5590
|
+
*/
|
|
5591
|
+
coupon?: string;
|
|
5592
|
+
}
|
|
5593
|
+
interface ExtraCharge {
|
|
5594
|
+
/**
|
|
5595
|
+
* Amount of the extra charge in cents.
|
|
5596
|
+
*/
|
|
5597
|
+
amount?: number;
|
|
5598
|
+
/**
|
|
5599
|
+
* Type of extra charge.
|
|
5600
|
+
*/
|
|
5601
|
+
type?: ExtraCharge.Type;
|
|
5602
|
+
}
|
|
5603
|
+
interface Tax {
|
|
5604
|
+
/**
|
|
5605
|
+
* Indicates whether the transaction is tax exempt.
|
|
5606
|
+
*/
|
|
5607
|
+
tax_exempt_indicator?: boolean;
|
|
5608
|
+
/**
|
|
5609
|
+
* Tax details.
|
|
5610
|
+
*/
|
|
5611
|
+
taxes?: Array<Tax.Tax>;
|
|
5612
|
+
}
|
|
5613
|
+
namespace ExtraCharge {
|
|
5614
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
5615
|
+
}
|
|
5616
|
+
namespace Tax {
|
|
5617
|
+
interface Tax {
|
|
5618
|
+
/**
|
|
5619
|
+
* Tax amount in cents.
|
|
5620
|
+
*/
|
|
5621
|
+
amount?: number;
|
|
5622
|
+
/**
|
|
5623
|
+
* Tax rate.
|
|
5624
|
+
*/
|
|
5625
|
+
rate?: number;
|
|
5626
|
+
/**
|
|
5627
|
+
* Type of tax applied.
|
|
5628
|
+
*/
|
|
5629
|
+
type?: string;
|
|
5630
|
+
}
|
|
5631
|
+
}
|
|
5632
|
+
}
|
|
5633
|
+
}
|
|
5634
|
+
namespace MoneyServices {
|
|
5635
|
+
interface AccountFunding {
|
|
5636
|
+
/**
|
|
5637
|
+
* ID of the Account representing the beneficiary in this account funding transaction.
|
|
5638
|
+
*/
|
|
5639
|
+
beneficiary_account?: string;
|
|
5640
|
+
/**
|
|
5641
|
+
* Inline identity details for the beneficiary of this account funding transaction.
|
|
5642
|
+
*/
|
|
5643
|
+
beneficiary_details?: Emptyable<AccountFunding.BeneficiaryDetails>;
|
|
5644
|
+
/**
|
|
5645
|
+
* ID of the Account representing the sender in this account funding transaction.
|
|
5646
|
+
*/
|
|
5647
|
+
sender_account?: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* Inline identity details for the sender of this account funding transaction.
|
|
5650
|
+
*/
|
|
5651
|
+
sender_details?: Emptyable<AccountFunding.SenderDetails>;
|
|
5652
|
+
}
|
|
5653
|
+
type TransactionType = 'account_funding' | 'debt_repayment';
|
|
5654
|
+
namespace AccountFunding {
|
|
5655
|
+
interface BeneficiaryDetails {
|
|
5656
|
+
/**
|
|
5657
|
+
* Address.
|
|
5658
|
+
*/
|
|
5659
|
+
address?: AddressParam;
|
|
5660
|
+
/**
|
|
5661
|
+
* Date of birth.
|
|
5662
|
+
*/
|
|
5663
|
+
date_of_birth?: BeneficiaryDetails.DateOfBirth;
|
|
5664
|
+
/**
|
|
5665
|
+
* Email address.
|
|
5666
|
+
*/
|
|
5667
|
+
email?: string;
|
|
5668
|
+
/**
|
|
5669
|
+
* Full name.
|
|
5670
|
+
*/
|
|
5671
|
+
name?: string;
|
|
5672
|
+
/**
|
|
5673
|
+
* Phone number.
|
|
5674
|
+
*/
|
|
5675
|
+
phone?: string;
|
|
5676
|
+
}
|
|
5677
|
+
interface SenderDetails {
|
|
5678
|
+
/**
|
|
5679
|
+
* Address.
|
|
5680
|
+
*/
|
|
5681
|
+
address?: AddressParam;
|
|
5682
|
+
/**
|
|
5683
|
+
* Date of birth.
|
|
5684
|
+
*/
|
|
5685
|
+
date_of_birth?: SenderDetails.DateOfBirth;
|
|
5686
|
+
/**
|
|
5687
|
+
* Email address.
|
|
5688
|
+
*/
|
|
5689
|
+
email?: string;
|
|
5690
|
+
/**
|
|
5691
|
+
* Full name.
|
|
5692
|
+
*/
|
|
5693
|
+
name?: string;
|
|
5694
|
+
/**
|
|
5695
|
+
* Phone number.
|
|
5696
|
+
*/
|
|
5697
|
+
phone?: string;
|
|
5698
|
+
}
|
|
5699
|
+
namespace BeneficiaryDetails {
|
|
5700
|
+
interface DateOfBirth {
|
|
5701
|
+
/**
|
|
5702
|
+
* Day of birth, between 1 and 31.
|
|
5703
|
+
*/
|
|
5704
|
+
day: number;
|
|
5705
|
+
/**
|
|
5706
|
+
* Month of birth, between 1 and 12.
|
|
5707
|
+
*/
|
|
5708
|
+
month: number;
|
|
5709
|
+
/**
|
|
5710
|
+
* Four-digit year of birth.
|
|
5711
|
+
*/
|
|
5712
|
+
year: number;
|
|
5713
|
+
}
|
|
5714
|
+
}
|
|
5715
|
+
namespace SenderDetails {
|
|
5716
|
+
interface DateOfBirth {
|
|
5717
|
+
/**
|
|
5718
|
+
* Day of birth, between 1 and 31.
|
|
5719
|
+
*/
|
|
5720
|
+
day: number;
|
|
5721
|
+
/**
|
|
5722
|
+
* Month of birth, between 1 and 12.
|
|
5723
|
+
*/
|
|
5724
|
+
month: number;
|
|
5725
|
+
/**
|
|
5726
|
+
* Four-digit year of birth.
|
|
5727
|
+
*/
|
|
5728
|
+
year: number;
|
|
5729
|
+
}
|
|
5730
|
+
}
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
namespace Subscription {
|
|
5734
|
+
interface Affiliate {
|
|
5735
|
+
/**
|
|
5736
|
+
* The name of the affiliate that originated the purchase.
|
|
5737
|
+
*/
|
|
5738
|
+
name: string;
|
|
5739
|
+
}
|
|
5740
|
+
interface BillingInterval {
|
|
5741
|
+
/**
|
|
5742
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5743
|
+
*/
|
|
5744
|
+
count: number;
|
|
5745
|
+
/**
|
|
5746
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5747
|
+
*/
|
|
5748
|
+
interval: BillingInterval.Interval;
|
|
5749
|
+
}
|
|
5750
|
+
namespace BillingInterval {
|
|
5751
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
2309
5754
|
}
|
|
2310
5755
|
}
|
|
2311
5756
|
export interface ChargeSearchParams {
|