stripe 22.1.0 → 22.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2637 -11
- package/OPENAPI_VERSION +1 -1
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +463 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +955 -3
- package/cjs/resources/Accounts.js +21 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/cjs/resources/Billing/Alerts.d.ts +406 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +15 -0
- package/cjs/resources/Charges.d.ts +3513 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +792 -9
- package/cjs/resources/Checkout/Sessions.js +88 -0
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +100 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +110 -2
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +14 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +7 -1
- package/cjs/resources/Customers.js +15 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +39 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +16 -0
- package/cjs/resources/DelegatedCheckout/index.js +13 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +37 -0
- package/cjs/resources/Events.d.ts +560 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +185 -2
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/Invoices.d.ts +2024 -35
- package/cjs/resources/Invoices.js +70 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +255 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
- package/cjs/resources/Issuing/Cards.d.ts +36 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +140 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +85 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +157 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +55 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +33 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4761 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +441 -1
- package/cjs/resources/PaymentAttemptRecords.js +42 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16370 -3527
- package/cjs/resources/PaymentIntents.js +40 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +216 -3
- package/cjs/resources/PaymentMethods.js +6 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +323 -21
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +24 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +64 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +141 -0
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +28 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1153 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +242 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/cjs/resources/Radar/index.d.ts +34 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +14 -3
- package/cjs/resources/Reserve/index.js +10 -2
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +491 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1101 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +16 -1
- package/cjs/resources/SubscriptionItems.d.ts +251 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1943 -19
- package/cjs/resources/SubscriptionSchedules.js +48 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +1040 -16
- package/cjs/resources/Subscriptions.js +236 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +230 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +155 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +51 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +56 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +378 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
- package/cjs/resources/V2/Billing/MeterEventSession.d.ts +4 -4
- package/cjs/resources/V2/Billing/MeterEventSession.js +1 -1
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +177 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +357 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +161 -6
- package/cjs/resources/V2/Billing/index.js +30 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +156 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.js +13 -0
- package/cjs/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.js +4 -0
- package/cjs/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
- package/cjs/resources/V2/Commerce/index.d.ts +13 -0
- package/cjs/resources/V2/Commerce/index.js +13 -0
- package/cjs/resources/V2/Commerce/index.js.map +1 -0
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +222 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +2 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +5319 -75
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/EventDestinations.d.ts +50 -3
- package/cjs/resources/V2/Core/Events.d.ts +7325 -204
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +51 -14
- package/cjs/resources/V2/Core/index.js +12 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +13 -0
- package/cjs/resources/V2/Data/index.js +15 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +204 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +17 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +22 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +118 -0
- package/cjs/resources/V2/MoneyManagement/index.js +43 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +31 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +173 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +16 -0
- package/cjs/resources/V2/Tax/index.js +13 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +24 -2
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +14 -0
- package/cjs/resources.js +240 -12
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +84 -28
- package/cjs/stripe.core.js +59 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +463 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +955 -3
- package/esm/resources/Accounts.js +21 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
- package/esm/resources/Billing/Alerts.d.ts +406 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +15 -0
- package/esm/resources/Charges.d.ts +3513 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +792 -9
- package/esm/resources/Checkout/Sessions.js +88 -0
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +100 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +110 -2
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +14 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +7 -1
- package/esm/resources/Customers.js +15 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1280 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +35 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +16 -0
- package/esm/resources/DelegatedCheckout/index.js +9 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +37 -0
- package/esm/resources/Events.d.ts +560 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +33 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +185 -2
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/Invoices.d.ts +2024 -35
- package/esm/resources/Invoices.js +70 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +255 -0
- package/esm/resources/Issuing/Cardholders.d.ts +5 -4
- package/esm/resources/Issuing/Cards.d.ts +36 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +140 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +85 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +157 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +55 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +33 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4761 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +441 -1
- package/esm/resources/PaymentAttemptRecords.js +42 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16370 -3527
- package/esm/resources/PaymentIntents.js +40 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +216 -3
- package/esm/resources/PaymentMethods.js +6 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +323 -21
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +24 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +64 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +141 -0
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +28 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1153 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +897 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +242 -0
- package/esm/resources/Radar/CustomerEvaluations.js +17 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
- package/esm/resources/Radar/index.d.ts +34 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +14 -3
- package/esm/resources/Reserve/index.js +10 -2
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +491 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1101 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +16 -1
- package/esm/resources/SubscriptionItems.d.ts +251 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1943 -19
- package/esm/resources/SubscriptionSchedules.js +48 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +1040 -16
- package/esm/resources/Subscriptions.js +236 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +230 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +155 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +51 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +56 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +378 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +5 -5
- package/esm/resources/V2/Billing/MeterEventSession.d.ts +4 -4
- package/esm/resources/V2/Billing/MeterEventSession.js +1 -1
- package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +177 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +357 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +161 -6
- package/esm/resources/V2/Billing/index.js +30 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +152 -0
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.js +9 -0
- package/esm/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +183 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.js +3 -0
- package/esm/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
- package/esm/resources/V2/Commerce/index.d.ts +13 -0
- package/esm/resources/V2/Commerce/index.js +9 -0
- package/esm/resources/V2/Commerce/index.js.map +1 -0
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +222 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +3 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +2 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +5319 -75
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/EventDestinations.d.ts +50 -3
- package/esm/resources/V2/Core/Events.d.ts +7325 -204
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +51 -14
- package/esm/resources/V2/Core/index.js +12 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +13 -0
- package/esm/resources/V2/Data/index.js +11 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +204 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +13 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +22 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +412 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +320 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +451 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +237 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +245 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +276 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +118 -0
- package/esm/resources/V2/MoneyManagement/index.js +39 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +31 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +173 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +16 -0
- package/esm/resources/V2/Tax/index.js +9 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +14 -0
- package/esm/resources.js +221 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +84 -28
- package/esm/stripe.core.js +29 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +84 -28
- package/esm/stripe.esm.node.js +29 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -340,8 +345,11 @@ export declare namespace Charge {
|
|
|
340
345
|
customer_balance?: PaymentMethodDetails.CustomerBalance;
|
|
341
346
|
eps?: PaymentMethodDetails.Eps;
|
|
342
347
|
fpx?: PaymentMethodDetails.Fpx;
|
|
348
|
+
gift_card?: PaymentMethodDetails.GiftCard;
|
|
343
349
|
giropay?: PaymentMethodDetails.Giropay;
|
|
350
|
+
gopay?: PaymentMethodDetails.Gopay;
|
|
344
351
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
352
|
+
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
345
353
|
ideal?: PaymentMethodDetails.Ideal;
|
|
346
354
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
347
355
|
kakao_pay?: PaymentMethodDetails.KakaoPay;
|
|
@@ -360,16 +368,21 @@ export declare namespace Charge {
|
|
|
360
368
|
payco?: PaymentMethodDetails.Payco;
|
|
361
369
|
paynow?: PaymentMethodDetails.Paynow;
|
|
362
370
|
paypal?: PaymentMethodDetails.Paypal;
|
|
371
|
+
paypay?: PaymentMethodDetails.Paypay;
|
|
363
372
|
payto?: PaymentMethodDetails.Payto;
|
|
364
373
|
pix?: PaymentMethodDetails.Pix;
|
|
365
374
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
375
|
+
qris?: PaymentMethodDetails.Qris;
|
|
376
|
+
rechnung?: PaymentMethodDetails.Rechnung;
|
|
366
377
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
367
378
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
368
379
|
satispay?: PaymentMethodDetails.Satispay;
|
|
369
380
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
370
381
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
382
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
371
383
|
sofort?: PaymentMethodDetails.Sofort;
|
|
372
384
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
385
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
373
386
|
sunbit?: PaymentMethodDetails.Sunbit;
|
|
374
387
|
swish?: PaymentMethodDetails.Swish;
|
|
375
388
|
twint?: PaymentMethodDetails.Twint;
|
|
@@ -684,14 +697,20 @@ export declare namespace Charge {
|
|
|
684
697
|
tax_id: string;
|
|
685
698
|
}
|
|
686
699
|
interface Card {
|
|
700
|
+
account_funding?: Card.AccountFunding;
|
|
687
701
|
/**
|
|
688
702
|
* The authorized amount.
|
|
689
703
|
*/
|
|
690
704
|
amount_authorized: number | null;
|
|
705
|
+
/**
|
|
706
|
+
* The latest amount intended to be authorized by this charge.
|
|
707
|
+
*/
|
|
708
|
+
amount_requested?: number | null;
|
|
691
709
|
/**
|
|
692
710
|
* Authorization code on the charge.
|
|
693
711
|
*/
|
|
694
712
|
authorization_code: string | null;
|
|
713
|
+
benefits?: Card.Benefits;
|
|
695
714
|
/**
|
|
696
715
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
697
716
|
*/
|
|
@@ -708,6 +727,7 @@ export declare namespace Charge {
|
|
|
708
727
|
* 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.
|
|
709
728
|
*/
|
|
710
729
|
country: string | null;
|
|
730
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
711
731
|
/**
|
|
712
732
|
* 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.)
|
|
713
733
|
*/
|
|
@@ -772,6 +792,15 @@ export declare namespace Charge {
|
|
|
772
792
|
*/
|
|
773
793
|
network_transaction_id: string | null;
|
|
774
794
|
overcapture?: Card.Overcapture;
|
|
795
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
796
|
+
/**
|
|
797
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
798
|
+
*/
|
|
799
|
+
reauthorization?: Card.Reauthorization | null;
|
|
800
|
+
/**
|
|
801
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
802
|
+
*/
|
|
803
|
+
reauthorize_before?: number | null;
|
|
775
804
|
/**
|
|
776
805
|
* Status of a card based on the card issuer.
|
|
777
806
|
*/
|
|
@@ -888,6 +917,14 @@ export declare namespace Charge {
|
|
|
888
917
|
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
889
918
|
*/
|
|
890
919
|
reader?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
922
|
+
*/
|
|
923
|
+
reauthorization?: CardPresent.Reauthorization | null;
|
|
924
|
+
/**
|
|
925
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
926
|
+
*/
|
|
927
|
+
reauthorize_before?: number | null;
|
|
891
928
|
/**
|
|
892
929
|
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
893
930
|
*/
|
|
@@ -954,6 +991,33 @@ export declare namespace Charge {
|
|
|
954
991
|
*/
|
|
955
992
|
transaction_id: string | null;
|
|
956
993
|
}
|
|
994
|
+
interface GiftCard {
|
|
995
|
+
balance: GiftCard.Balance;
|
|
996
|
+
/**
|
|
997
|
+
* The brand of the gift card.
|
|
998
|
+
*/
|
|
999
|
+
brand: GiftCard.Brand;
|
|
1000
|
+
/**
|
|
1001
|
+
* The expiration month of the gift card.
|
|
1002
|
+
*/
|
|
1003
|
+
exp_month: number | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* The expiration year of the gift card.
|
|
1006
|
+
*/
|
|
1007
|
+
exp_year: number | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* The first six digits of the gift card number.
|
|
1010
|
+
*/
|
|
1011
|
+
first6: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* The last four digits of the gift card number.
|
|
1014
|
+
*/
|
|
1015
|
+
last4: string | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* The transaction ID from the gift card processor.
|
|
1018
|
+
*/
|
|
1019
|
+
transaction_id: string;
|
|
1020
|
+
}
|
|
957
1021
|
interface Giropay {
|
|
958
1022
|
/**
|
|
959
1023
|
* Bank code of bank associated with the bank account.
|
|
@@ -974,12 +1038,36 @@ export declare namespace Charge {
|
|
|
974
1038
|
*/
|
|
975
1039
|
verified_name: string | null;
|
|
976
1040
|
}
|
|
1041
|
+
interface Gopay {
|
|
1042
|
+
}
|
|
977
1043
|
interface Grabpay {
|
|
978
1044
|
/**
|
|
979
1045
|
* Unique transaction id generated by GrabPay
|
|
980
1046
|
*/
|
|
981
1047
|
transaction_id: string | null;
|
|
982
1048
|
}
|
|
1049
|
+
interface IdBankTransfer {
|
|
1050
|
+
/**
|
|
1051
|
+
* Account number of the bank account to transfer funds to.
|
|
1052
|
+
*/
|
|
1053
|
+
account_number: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Bank where the account is located.
|
|
1056
|
+
*/
|
|
1057
|
+
bank: IdBankTransfer.Bank;
|
|
1058
|
+
/**
|
|
1059
|
+
* Local bank code of the bank.
|
|
1060
|
+
*/
|
|
1061
|
+
bank_code?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Name of the bank associated with the bank account.
|
|
1064
|
+
*/
|
|
1065
|
+
bank_name?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1068
|
+
*/
|
|
1069
|
+
display_name?: string;
|
|
1070
|
+
}
|
|
983
1071
|
interface Ideal {
|
|
984
1072
|
/**
|
|
985
1073
|
* 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`.
|
|
@@ -1289,10 +1377,34 @@ export declare namespace Charge {
|
|
|
1289
1377
|
* The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1290
1378
|
*/
|
|
1291
1379
|
seller_protection: Paypal.SellerProtection | null;
|
|
1380
|
+
/**
|
|
1381
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1382
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1383
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1384
|
+
*/
|
|
1385
|
+
shipping?: Address | null;
|
|
1292
1386
|
/**
|
|
1293
1387
|
* A unique ID generated by PayPal for this transaction.
|
|
1294
1388
|
*/
|
|
1295
1389
|
transaction_id: string | null;
|
|
1390
|
+
/**
|
|
1391
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1392
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1393
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1394
|
+
*/
|
|
1395
|
+
verified_address?: Address | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1398
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1399
|
+
*/
|
|
1400
|
+
verified_email?: string | null;
|
|
1401
|
+
/**
|
|
1402
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1403
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1404
|
+
*/
|
|
1405
|
+
verified_name?: string | null;
|
|
1406
|
+
}
|
|
1407
|
+
interface Paypay {
|
|
1296
1408
|
}
|
|
1297
1409
|
interface Payto {
|
|
1298
1410
|
/**
|
|
@@ -1328,6 +1440,14 @@ export declare namespace Charge {
|
|
|
1328
1440
|
*/
|
|
1329
1441
|
reference: string | null;
|
|
1330
1442
|
}
|
|
1443
|
+
interface Qris {
|
|
1444
|
+
}
|
|
1445
|
+
interface Rechnung {
|
|
1446
|
+
/**
|
|
1447
|
+
* Payment portal URL.
|
|
1448
|
+
*/
|
|
1449
|
+
payment_portal_url: string | null;
|
|
1450
|
+
}
|
|
1331
1451
|
interface RevolutPay {
|
|
1332
1452
|
funding?: RevolutPay.Funding;
|
|
1333
1453
|
/**
|
|
@@ -1395,6 +1515,8 @@ export declare namespace Charge {
|
|
|
1395
1515
|
*/
|
|
1396
1516
|
mandate: string | null;
|
|
1397
1517
|
}
|
|
1518
|
+
interface Shopeepay {
|
|
1519
|
+
}
|
|
1398
1520
|
interface Sofort {
|
|
1399
1521
|
/**
|
|
1400
1522
|
* Bank code of bank associated with the bank account.
|
|
@@ -1437,6 +1559,12 @@ export declare namespace Charge {
|
|
|
1437
1559
|
}
|
|
1438
1560
|
interface StripeAccount {
|
|
1439
1561
|
}
|
|
1562
|
+
interface StripeBalance {
|
|
1563
|
+
/**
|
|
1564
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1565
|
+
*/
|
|
1566
|
+
account?: string | null;
|
|
1567
|
+
}
|
|
1440
1568
|
interface Sunbit {
|
|
1441
1569
|
/**
|
|
1442
1570
|
* The Sunbit transaction ID associated with this payment.
|
|
@@ -1550,6 +1678,10 @@ export declare namespace Charge {
|
|
|
1550
1678
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1551
1679
|
*/
|
|
1552
1680
|
brand: string | null;
|
|
1681
|
+
/**
|
|
1682
|
+
* 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.)
|
|
1683
|
+
*/
|
|
1684
|
+
brand_product?: string | null;
|
|
1553
1685
|
/**
|
|
1554
1686
|
* 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.
|
|
1555
1687
|
*/
|
|
@@ -1577,6 +1709,18 @@ export declare namespace Charge {
|
|
|
1577
1709
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1578
1710
|
}
|
|
1579
1711
|
namespace Card {
|
|
1712
|
+
interface AccountFunding {
|
|
1713
|
+
/**
|
|
1714
|
+
* The transaction type of the card transaction. One of `account_funding` or `purchase`.
|
|
1715
|
+
*/
|
|
1716
|
+
processed_transaction_type?: AccountFunding.ProcessedTransactionType;
|
|
1717
|
+
}
|
|
1718
|
+
interface Benefits {
|
|
1719
|
+
/**
|
|
1720
|
+
* Issuer of the benefit card utilized on this payment
|
|
1721
|
+
*/
|
|
1722
|
+
issuer: string | null;
|
|
1723
|
+
}
|
|
1580
1724
|
interface Checks {
|
|
1581
1725
|
/**
|
|
1582
1726
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -1591,6 +1735,12 @@ export declare namespace Charge {
|
|
|
1591
1735
|
*/
|
|
1592
1736
|
cvc_check: string | null;
|
|
1593
1737
|
}
|
|
1738
|
+
interface DecrementalAuthorization {
|
|
1739
|
+
/**
|
|
1740
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1741
|
+
*/
|
|
1742
|
+
status: DecrementalAuthorization.Status;
|
|
1743
|
+
}
|
|
1594
1744
|
interface ExtendedAuthorization {
|
|
1595
1745
|
/**
|
|
1596
1746
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1631,6 +1781,18 @@ export declare namespace Charge {
|
|
|
1631
1781
|
*/
|
|
1632
1782
|
status: Overcapture.Status;
|
|
1633
1783
|
}
|
|
1784
|
+
interface PartialAuthorization {
|
|
1785
|
+
/**
|
|
1786
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1787
|
+
*/
|
|
1788
|
+
status: PartialAuthorization.Status;
|
|
1789
|
+
}
|
|
1790
|
+
interface Reauthorization {
|
|
1791
|
+
/**
|
|
1792
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1793
|
+
*/
|
|
1794
|
+
status: Reauthorization.Status;
|
|
1795
|
+
}
|
|
1634
1796
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1635
1797
|
interface ThreeDSecure {
|
|
1636
1798
|
/**
|
|
@@ -1688,6 +1850,12 @@ export declare namespace Charge {
|
|
|
1688
1850
|
type: Wallet.Type;
|
|
1689
1851
|
visa_checkout?: Wallet.VisaCheckout;
|
|
1690
1852
|
}
|
|
1853
|
+
namespace AccountFunding {
|
|
1854
|
+
type ProcessedTransactionType = 'account_funding' | 'purchase';
|
|
1855
|
+
}
|
|
1856
|
+
namespace DecrementalAuthorization {
|
|
1857
|
+
type Status = 'available' | 'unavailable';
|
|
1858
|
+
}
|
|
1691
1859
|
namespace ExtendedAuthorization {
|
|
1692
1860
|
type Status = 'disabled' | 'enabled';
|
|
1693
1861
|
}
|
|
@@ -1720,6 +1888,12 @@ export declare namespace Charge {
|
|
|
1720
1888
|
namespace Overcapture {
|
|
1721
1889
|
type Status = 'available' | 'unavailable';
|
|
1722
1890
|
}
|
|
1891
|
+
namespace PartialAuthorization {
|
|
1892
|
+
type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized';
|
|
1893
|
+
}
|
|
1894
|
+
namespace Reauthorization {
|
|
1895
|
+
type Status = 'available' | 'unavailable';
|
|
1896
|
+
}
|
|
1723
1897
|
namespace ThreeDSecure {
|
|
1724
1898
|
type AuthenticationFlow = 'challenge' | 'frictionless';
|
|
1725
1899
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
|
|
@@ -1790,6 +1964,12 @@ export declare namespace Charge {
|
|
|
1790
1964
|
type: 'deferred' | null;
|
|
1791
1965
|
}
|
|
1792
1966
|
type ReadMethod = 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2';
|
|
1967
|
+
interface Reauthorization {
|
|
1968
|
+
/**
|
|
1969
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1970
|
+
*/
|
|
1971
|
+
status: Reauthorization.Status;
|
|
1972
|
+
}
|
|
1793
1973
|
interface Receipt {
|
|
1794
1974
|
/**
|
|
1795
1975
|
* The type of account being debited or credited
|
|
@@ -1834,6 +2014,9 @@ export declare namespace Charge {
|
|
|
1834
2014
|
*/
|
|
1835
2015
|
type: Wallet.Type;
|
|
1836
2016
|
}
|
|
2017
|
+
namespace Reauthorization {
|
|
2018
|
+
type Status = 'available' | 'unavailable';
|
|
2019
|
+
}
|
|
1837
2020
|
namespace Receipt {
|
|
1838
2021
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
|
|
1839
2022
|
}
|
|
@@ -1852,6 +2035,22 @@ export declare namespace Charge {
|
|
|
1852
2035
|
type AccountHolderType = 'company' | 'individual';
|
|
1853
2036
|
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';
|
|
1854
2037
|
}
|
|
2038
|
+
namespace GiftCard {
|
|
2039
|
+
interface Balance {
|
|
2040
|
+
/**
|
|
2041
|
+
* The balance amount in the smallest currency unit.
|
|
2042
|
+
*/
|
|
2043
|
+
amount: number;
|
|
2044
|
+
/**
|
|
2045
|
+
* The currency of the balance.
|
|
2046
|
+
*/
|
|
2047
|
+
currency: string;
|
|
2048
|
+
}
|
|
2049
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
2050
|
+
}
|
|
2051
|
+
namespace IdBankTransfer {
|
|
2052
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2053
|
+
}
|
|
1855
2054
|
namespace Ideal {
|
|
1856
2055
|
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';
|
|
1857
2056
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
@@ -1987,6 +2186,10 @@ export declare namespace Charge {
|
|
|
1987
2186
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1988
2187
|
*/
|
|
1989
2188
|
brand: string | null;
|
|
2189
|
+
/**
|
|
2190
|
+
* 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.)
|
|
2191
|
+
*/
|
|
2192
|
+
brand_product?: string | null;
|
|
1990
2193
|
/**
|
|
1991
2194
|
* 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.
|
|
1992
2195
|
*/
|
|
@@ -2170,6 +2373,10 @@ export interface ChargeUpdateParams {
|
|
|
2170
2373
|
* 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`.
|
|
2171
2374
|
*/
|
|
2172
2375
|
metadata?: Emptyable<MetadataParam>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Provides industry-specific information about the charge.
|
|
2378
|
+
*/
|
|
2379
|
+
payment_details?: ChargeUpdateParams.PaymentDetails;
|
|
2173
2380
|
/**
|
|
2174
2381
|
* 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.
|
|
2175
2382
|
*/
|
|
@@ -2190,6 +2397,60 @@ export declare namespace ChargeUpdateParams {
|
|
|
2190
2397
|
*/
|
|
2191
2398
|
user_report: Emptyable<FraudDetails.UserReport>;
|
|
2192
2399
|
}
|
|
2400
|
+
interface PaymentDetails {
|
|
2401
|
+
/**
|
|
2402
|
+
* Car rental details for this PaymentIntent.
|
|
2403
|
+
*/
|
|
2404
|
+
car_rental?: PaymentDetails.CarRental;
|
|
2405
|
+
/**
|
|
2406
|
+
* Car rental data for this PaymentIntent.
|
|
2407
|
+
*/
|
|
2408
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
2409
|
+
/**
|
|
2410
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
2411
|
+
*
|
|
2412
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2413
|
+
*/
|
|
2414
|
+
customer_reference?: Emptyable<string>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Event details for this PaymentIntent
|
|
2417
|
+
*/
|
|
2418
|
+
event_details?: PaymentDetails.EventDetails;
|
|
2419
|
+
/**
|
|
2420
|
+
* Fleet data for this PaymentIntent.
|
|
2421
|
+
*/
|
|
2422
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
2423
|
+
/**
|
|
2424
|
+
* Flight reservation details for this PaymentIntent
|
|
2425
|
+
*/
|
|
2426
|
+
flight?: PaymentDetails.Flight;
|
|
2427
|
+
/**
|
|
2428
|
+
* Flight data for this PaymentIntent.
|
|
2429
|
+
*/
|
|
2430
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
2431
|
+
/**
|
|
2432
|
+
* Lodging reservation details for this PaymentIntent
|
|
2433
|
+
*/
|
|
2434
|
+
lodging?: PaymentDetails.Lodging;
|
|
2435
|
+
/**
|
|
2436
|
+
* Lodging data for this PaymentIntent.
|
|
2437
|
+
*/
|
|
2438
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
2439
|
+
/**
|
|
2440
|
+
* Money services details for this PaymentIntent.
|
|
2441
|
+
*/
|
|
2442
|
+
money_services?: Emptyable<PaymentDetails.MoneyServices>;
|
|
2443
|
+
/**
|
|
2444
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2445
|
+
*
|
|
2446
|
+
* 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.
|
|
2447
|
+
*/
|
|
2448
|
+
order_reference?: Emptyable<string>;
|
|
2449
|
+
/**
|
|
2450
|
+
* Subscription details for this PaymentIntent
|
|
2451
|
+
*/
|
|
2452
|
+
subscription?: PaymentDetails.Subscription;
|
|
2453
|
+
}
|
|
2193
2454
|
interface Shipping {
|
|
2194
2455
|
/**
|
|
2195
2456
|
* Shipping address.
|
|
@@ -2215,75 +2476,3257 @@ export declare namespace ChargeUpdateParams {
|
|
|
2215
2476
|
namespace FraudDetails {
|
|
2216
2477
|
type UserReport = 'fraudulent' | 'safe';
|
|
2217
2478
|
}
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
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
|
-
|
|
2479
|
+
namespace PaymentDetails {
|
|
2480
|
+
interface CarRental {
|
|
2481
|
+
/**
|
|
2482
|
+
* Affiliate details for this purchase.
|
|
2483
|
+
*/
|
|
2484
|
+
affiliate?: CarRental.Affiliate;
|
|
2485
|
+
/**
|
|
2486
|
+
* The booking number associated with the car rental.
|
|
2487
|
+
*/
|
|
2488
|
+
booking_number: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* Class code of the car.
|
|
2491
|
+
*/
|
|
2492
|
+
car_class_code?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* Make of the car.
|
|
2495
|
+
*/
|
|
2496
|
+
car_make?: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* Model of the car.
|
|
2499
|
+
*/
|
|
2500
|
+
car_model?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* The name of the rental car company.
|
|
2503
|
+
*/
|
|
2504
|
+
company?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* The customer service phone number of the car rental company.
|
|
2507
|
+
*/
|
|
2508
|
+
customer_service_phone_number?: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* Number of days the car is being rented.
|
|
2511
|
+
*/
|
|
2512
|
+
days_rented: number;
|
|
2513
|
+
/**
|
|
2514
|
+
* Delivery details for this purchase.
|
|
2515
|
+
*/
|
|
2516
|
+
delivery?: CarRental.Delivery;
|
|
2517
|
+
/**
|
|
2518
|
+
* The details of the distance traveled during the rental period.
|
|
2519
|
+
*/
|
|
2520
|
+
distance?: CarRental.Distance;
|
|
2521
|
+
/**
|
|
2522
|
+
* The details of the passengers in the travel reservation
|
|
2523
|
+
*/
|
|
2524
|
+
drivers?: Array<CarRental.Driver>;
|
|
2525
|
+
/**
|
|
2526
|
+
* List of additional charges being billed.
|
|
2527
|
+
*/
|
|
2528
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
2529
|
+
/**
|
|
2530
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
2531
|
+
*/
|
|
2532
|
+
no_show?: boolean;
|
|
2533
|
+
/**
|
|
2534
|
+
* Car pick-up address.
|
|
2535
|
+
*/
|
|
2536
|
+
pickup_address?: AddressParam;
|
|
2537
|
+
/**
|
|
2538
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
2539
|
+
*/
|
|
2540
|
+
pickup_at: number;
|
|
2541
|
+
/**
|
|
2542
|
+
* Name of the pickup location.
|
|
2543
|
+
*/
|
|
2544
|
+
pickup_location_name?: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Rental rate.
|
|
2547
|
+
*/
|
|
2548
|
+
rate_amount?: number;
|
|
2549
|
+
/**
|
|
2550
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
2551
|
+
*/
|
|
2552
|
+
rate_interval?: CarRental.RateInterval;
|
|
2553
|
+
/**
|
|
2554
|
+
* The name of the person or entity renting the car.
|
|
2555
|
+
*/
|
|
2556
|
+
renter_name?: string;
|
|
2557
|
+
/**
|
|
2558
|
+
* Car return address.
|
|
2559
|
+
*/
|
|
2560
|
+
return_address?: AddressParam;
|
|
2561
|
+
/**
|
|
2562
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
2563
|
+
*/
|
|
2564
|
+
return_at: number;
|
|
2565
|
+
/**
|
|
2566
|
+
* Name of the return location.
|
|
2567
|
+
*/
|
|
2568
|
+
return_location_name?: string;
|
|
2569
|
+
/**
|
|
2570
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
2571
|
+
*/
|
|
2572
|
+
tax_exempt?: boolean;
|
|
2573
|
+
/**
|
|
2574
|
+
* The vehicle identification number.
|
|
2575
|
+
*/
|
|
2576
|
+
vehicle_identification_number?: string;
|
|
2577
|
+
}
|
|
2578
|
+
interface CarRentalDatum {
|
|
2579
|
+
/**
|
|
2580
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
2581
|
+
*/
|
|
2582
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
2583
|
+
/**
|
|
2584
|
+
* Booking confirmation number for the car rental.
|
|
2585
|
+
*/
|
|
2586
|
+
booking_number?: string;
|
|
2587
|
+
/**
|
|
2588
|
+
* Name of the car rental company.
|
|
2589
|
+
*/
|
|
2590
|
+
carrier_name?: string;
|
|
2591
|
+
/**
|
|
2592
|
+
* Customer service phone number for the car rental company.
|
|
2593
|
+
*/
|
|
2594
|
+
customer_service_phone_number?: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* Number of days the car is being rented.
|
|
2597
|
+
*/
|
|
2598
|
+
days_rented?: number;
|
|
2599
|
+
/**
|
|
2600
|
+
* Distance details for the rental.
|
|
2601
|
+
*/
|
|
2602
|
+
distance?: CarRentalDatum.Distance;
|
|
2603
|
+
/**
|
|
2604
|
+
* List of drivers for the rental.
|
|
2605
|
+
*/
|
|
2606
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
2607
|
+
/**
|
|
2608
|
+
* Drop-off location details.
|
|
2609
|
+
*/
|
|
2610
|
+
drop_off: CarRentalDatum.DropOff;
|
|
2611
|
+
/**
|
|
2612
|
+
* Insurance details for the rental.
|
|
2613
|
+
*/
|
|
2614
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
2615
|
+
/**
|
|
2616
|
+
* Indicates if the customer was a no-show.
|
|
2617
|
+
*/
|
|
2618
|
+
no_show_indicator?: boolean;
|
|
2619
|
+
/**
|
|
2620
|
+
* Pickup location details.
|
|
2621
|
+
*/
|
|
2622
|
+
pickup: CarRentalDatum.Pickup;
|
|
2623
|
+
/**
|
|
2624
|
+
* Name of the person renting the vehicle.
|
|
2625
|
+
*/
|
|
2626
|
+
renter_name?: string;
|
|
2627
|
+
/**
|
|
2628
|
+
* Total cost breakdown for the rental.
|
|
2629
|
+
*/
|
|
2630
|
+
total: CarRentalDatum.Total;
|
|
2631
|
+
/**
|
|
2632
|
+
* Vehicle details for the rental.
|
|
2633
|
+
*/
|
|
2634
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
2635
|
+
}
|
|
2636
|
+
interface EventDetails {
|
|
2637
|
+
/**
|
|
2638
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
2639
|
+
*/
|
|
2640
|
+
access_controlled_venue?: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* The event location's address.
|
|
2643
|
+
*/
|
|
2644
|
+
address?: AddressParam;
|
|
2645
|
+
/**
|
|
2646
|
+
* Affiliate details for this purchase.
|
|
2647
|
+
*/
|
|
2648
|
+
affiliate?: EventDetails.Affiliate;
|
|
2649
|
+
/**
|
|
2650
|
+
* The name of the company
|
|
2651
|
+
*/
|
|
2652
|
+
company?: string;
|
|
2653
|
+
/**
|
|
2654
|
+
* Delivery details for this purchase.
|
|
2655
|
+
*/
|
|
2656
|
+
delivery?: EventDetails.Delivery;
|
|
2657
|
+
/**
|
|
2658
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
2659
|
+
*/
|
|
2660
|
+
ends_at?: number;
|
|
2661
|
+
/**
|
|
2662
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
2663
|
+
*/
|
|
2664
|
+
genre?: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* The name of the event.
|
|
2667
|
+
*/
|
|
2668
|
+
name: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
2671
|
+
*/
|
|
2672
|
+
starts_at?: number;
|
|
2673
|
+
}
|
|
2674
|
+
interface FleetDatum {
|
|
2675
|
+
/**
|
|
2676
|
+
* Primary fuel fields for the transaction.
|
|
2677
|
+
*/
|
|
2678
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
2679
|
+
/**
|
|
2680
|
+
* Station and acceptor location details.
|
|
2681
|
+
*/
|
|
2682
|
+
station?: FleetDatum.Station;
|
|
2683
|
+
/**
|
|
2684
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
2685
|
+
*/
|
|
2686
|
+
vat?: FleetDatum.Vat;
|
|
2687
|
+
}
|
|
2688
|
+
interface Flight {
|
|
2689
|
+
/**
|
|
2690
|
+
* Affiliate details for this purchase.
|
|
2691
|
+
*/
|
|
2692
|
+
affiliate?: Flight.Affiliate;
|
|
2693
|
+
/**
|
|
2694
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
2695
|
+
*/
|
|
2696
|
+
agency_number?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
2699
|
+
*/
|
|
2700
|
+
carrier?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* Delivery details for this purchase.
|
|
2703
|
+
*/
|
|
2704
|
+
delivery?: Flight.Delivery;
|
|
2705
|
+
/**
|
|
2706
|
+
* The name of the person or entity on the reservation.
|
|
2707
|
+
*/
|
|
2708
|
+
passenger_name?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* The details of the passengers in the travel reservation.
|
|
2711
|
+
*/
|
|
2712
|
+
passengers?: Array<Flight.Passenger>;
|
|
2713
|
+
/**
|
|
2714
|
+
* The individual flight segments associated with the trip.
|
|
2715
|
+
*/
|
|
2716
|
+
segments: Array<Flight.Segment>;
|
|
2717
|
+
/**
|
|
2718
|
+
* The ticket number associated with the travel reservation.
|
|
2719
|
+
*/
|
|
2720
|
+
ticket_number?: string;
|
|
2721
|
+
}
|
|
2722
|
+
interface FlightDatum {
|
|
2723
|
+
/**
|
|
2724
|
+
* Affiliate details if applicable.
|
|
2725
|
+
*/
|
|
2726
|
+
affiliate?: FlightDatum.Affiliate;
|
|
2727
|
+
/**
|
|
2728
|
+
* Reservation reference.
|
|
2729
|
+
*/
|
|
2730
|
+
booking_number?: string;
|
|
2731
|
+
/**
|
|
2732
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
2733
|
+
*/
|
|
2734
|
+
computerized_reservation_system?: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* Ticket restrictions.
|
|
2737
|
+
*/
|
|
2738
|
+
endorsements_and_restrictions?: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* List of insurances.
|
|
2741
|
+
*/
|
|
2742
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
2743
|
+
/**
|
|
2744
|
+
* List of passengers.
|
|
2745
|
+
*/
|
|
2746
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
2747
|
+
/**
|
|
2748
|
+
* List of flight segments.
|
|
2749
|
+
*/
|
|
2750
|
+
segments: Array<FlightDatum.Segment>;
|
|
2751
|
+
/**
|
|
2752
|
+
* Electronic ticket indicator.
|
|
2753
|
+
*/
|
|
2754
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
2755
|
+
/**
|
|
2756
|
+
* Total cost breakdown.
|
|
2757
|
+
*/
|
|
2758
|
+
total: FlightDatum.Total;
|
|
2759
|
+
/**
|
|
2760
|
+
* Type of flight transaction.
|
|
2761
|
+
*/
|
|
2762
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
2763
|
+
}
|
|
2764
|
+
interface Lodging {
|
|
2765
|
+
/**
|
|
2766
|
+
* The lodging location's address.
|
|
2767
|
+
*/
|
|
2768
|
+
address?: AddressParam;
|
|
2769
|
+
/**
|
|
2770
|
+
* The number of adults on the booking
|
|
2771
|
+
*/
|
|
2772
|
+
adults?: number;
|
|
2773
|
+
/**
|
|
2774
|
+
* Affiliate details for this purchase.
|
|
2775
|
+
*/
|
|
2776
|
+
affiliate?: Lodging.Affiliate;
|
|
2777
|
+
/**
|
|
2778
|
+
* The booking number associated with the lodging reservation.
|
|
2779
|
+
*/
|
|
2780
|
+
booking_number?: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* The lodging category
|
|
2783
|
+
*/
|
|
2784
|
+
category?: Lodging.Category;
|
|
2785
|
+
/**
|
|
2786
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
2787
|
+
*/
|
|
2788
|
+
checkin_at: number;
|
|
2789
|
+
/**
|
|
2790
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
2791
|
+
*/
|
|
2792
|
+
checkout_at: number;
|
|
2793
|
+
/**
|
|
2794
|
+
* The customer service phone number of the lodging company.
|
|
2795
|
+
*/
|
|
2796
|
+
customer_service_phone_number?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* The daily lodging room rate.
|
|
2799
|
+
*/
|
|
2800
|
+
daily_room_rate_amount?: number;
|
|
2801
|
+
/**
|
|
2802
|
+
* Delivery details for this purchase.
|
|
2803
|
+
*/
|
|
2804
|
+
delivery?: Lodging.Delivery;
|
|
2805
|
+
/**
|
|
2806
|
+
* List of additional charges being billed.
|
|
2807
|
+
*/
|
|
2808
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
2811
|
+
*/
|
|
2812
|
+
fire_safety_act_compliance?: boolean;
|
|
2813
|
+
/**
|
|
2814
|
+
* The name of the lodging location.
|
|
2815
|
+
*/
|
|
2816
|
+
name?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
2819
|
+
*/
|
|
2820
|
+
no_show?: boolean;
|
|
2821
|
+
/**
|
|
2822
|
+
* The number of rooms on the booking
|
|
2823
|
+
*/
|
|
2824
|
+
number_of_rooms?: number;
|
|
2825
|
+
/**
|
|
2826
|
+
* The details of the passengers in the travel reservation
|
|
2827
|
+
*/
|
|
2828
|
+
passengers?: Array<Lodging.Passenger>;
|
|
2829
|
+
/**
|
|
2830
|
+
* The phone number of the lodging location.
|
|
2831
|
+
*/
|
|
2832
|
+
property_phone_number?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* The room class for this purchase.
|
|
2835
|
+
*/
|
|
2836
|
+
room_class?: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* The number of room nights
|
|
2839
|
+
*/
|
|
2840
|
+
room_nights?: number;
|
|
2841
|
+
/**
|
|
2842
|
+
* The total tax amount associating with the room reservation.
|
|
2843
|
+
*/
|
|
2844
|
+
total_room_tax_amount?: number;
|
|
2845
|
+
/**
|
|
2846
|
+
* The total tax amount
|
|
2847
|
+
*/
|
|
2848
|
+
total_tax_amount?: number;
|
|
2849
|
+
}
|
|
2850
|
+
interface LodgingDatum {
|
|
2851
|
+
/**
|
|
2852
|
+
* Accommodation details for the lodging.
|
|
2853
|
+
*/
|
|
2854
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
2855
|
+
/**
|
|
2856
|
+
* Affiliate details if applicable.
|
|
2857
|
+
*/
|
|
2858
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
2859
|
+
/**
|
|
2860
|
+
* Booking confirmation number for the lodging.
|
|
2861
|
+
*/
|
|
2862
|
+
booking_number?: string;
|
|
2863
|
+
/**
|
|
2864
|
+
* Check-in date.
|
|
2865
|
+
*/
|
|
2866
|
+
checkin_at: number;
|
|
2867
|
+
/**
|
|
2868
|
+
* Check-out date.
|
|
2869
|
+
*/
|
|
2870
|
+
checkout_at: number;
|
|
2871
|
+
/**
|
|
2872
|
+
* Customer service phone number for the lodging company.
|
|
2873
|
+
*/
|
|
2874
|
+
customer_service_phone_number?: string;
|
|
2875
|
+
/**
|
|
2876
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2877
|
+
*/
|
|
2878
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
2879
|
+
/**
|
|
2880
|
+
* List of guests for the lodging.
|
|
2881
|
+
*/
|
|
2882
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
2883
|
+
/**
|
|
2884
|
+
* Host details for the lodging.
|
|
2885
|
+
*/
|
|
2886
|
+
host?: LodgingDatum.Host;
|
|
2887
|
+
/**
|
|
2888
|
+
* List of insurances for the lodging.
|
|
2889
|
+
*/
|
|
2890
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
2891
|
+
/**
|
|
2892
|
+
* Whether the renter is a no-show.
|
|
2893
|
+
*/
|
|
2894
|
+
no_show_indicator?: boolean;
|
|
2895
|
+
/**
|
|
2896
|
+
* Renter ID number for the lodging.
|
|
2897
|
+
*/
|
|
2898
|
+
renter_id_number?: string;
|
|
2899
|
+
/**
|
|
2900
|
+
* Renter name for the lodging.
|
|
2901
|
+
*/
|
|
2902
|
+
renter_name?: string;
|
|
2903
|
+
/**
|
|
2904
|
+
* Total details for the lodging.
|
|
2905
|
+
*/
|
|
2906
|
+
total: LodgingDatum.Total;
|
|
2907
|
+
}
|
|
2908
|
+
interface MoneyServices {
|
|
2909
|
+
/**
|
|
2910
|
+
* Account funding transaction details including sender and beneficiary information.
|
|
2911
|
+
*/
|
|
2912
|
+
account_funding?: Emptyable<MoneyServices.AccountFunding>;
|
|
2913
|
+
/**
|
|
2914
|
+
* The type of money services transaction.
|
|
2915
|
+
*/
|
|
2916
|
+
transaction_type?: Emptyable<'account_funding'>;
|
|
2917
|
+
}
|
|
2918
|
+
interface Subscription {
|
|
2919
|
+
/**
|
|
2920
|
+
* Affiliate details for this purchase.
|
|
2921
|
+
*/
|
|
2922
|
+
affiliate?: Subscription.Affiliate;
|
|
2923
|
+
/**
|
|
2924
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
2925
|
+
*/
|
|
2926
|
+
auto_renewal?: boolean;
|
|
2927
|
+
/**
|
|
2928
|
+
* Subscription billing details for this purchase.
|
|
2929
|
+
*/
|
|
2930
|
+
billing_interval?: Subscription.BillingInterval;
|
|
2931
|
+
/**
|
|
2932
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
2933
|
+
*/
|
|
2934
|
+
ends_at?: number;
|
|
2935
|
+
/**
|
|
2936
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
2937
|
+
*/
|
|
2938
|
+
name: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
2941
|
+
*/
|
|
2942
|
+
starts_at?: number;
|
|
2943
|
+
}
|
|
2944
|
+
namespace CarRental {
|
|
2945
|
+
interface Affiliate {
|
|
2946
|
+
/**
|
|
2947
|
+
* The name of the affiliate that originated the purchase.
|
|
2948
|
+
*/
|
|
2949
|
+
name: string;
|
|
2950
|
+
}
|
|
2951
|
+
interface Delivery {
|
|
2952
|
+
/**
|
|
2953
|
+
* The delivery method for the payment
|
|
2954
|
+
*/
|
|
2955
|
+
mode?: Delivery.Mode;
|
|
2956
|
+
/**
|
|
2957
|
+
* Details of the recipient.
|
|
2958
|
+
*/
|
|
2959
|
+
recipient?: Delivery.Recipient;
|
|
2960
|
+
}
|
|
2961
|
+
interface Distance {
|
|
2962
|
+
/**
|
|
2963
|
+
* Distance traveled.
|
|
2964
|
+
*/
|
|
2965
|
+
amount?: number;
|
|
2966
|
+
/**
|
|
2967
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
2968
|
+
*/
|
|
2969
|
+
unit?: Distance.Unit;
|
|
2970
|
+
}
|
|
2971
|
+
interface Driver {
|
|
2972
|
+
/**
|
|
2973
|
+
* Driver's identification number.
|
|
2974
|
+
*/
|
|
2975
|
+
driver_identification_number?: string;
|
|
2976
|
+
/**
|
|
2977
|
+
* Driver's tax number.
|
|
2978
|
+
*/
|
|
2979
|
+
driver_tax_number?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Full name of the person or entity on the car reservation.
|
|
2982
|
+
*/
|
|
2983
|
+
name: string;
|
|
2984
|
+
}
|
|
2985
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
2986
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
2987
|
+
namespace Delivery {
|
|
2988
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
2989
|
+
interface Recipient {
|
|
2990
|
+
/**
|
|
2991
|
+
* The email of the recipient the ticket is delivered to.
|
|
2992
|
+
*/
|
|
2993
|
+
email?: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* The name of the recipient the ticket is delivered to.
|
|
2996
|
+
*/
|
|
2997
|
+
name?: string;
|
|
2998
|
+
/**
|
|
2999
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3000
|
+
*/
|
|
3001
|
+
phone?: string;
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
namespace Distance {
|
|
3005
|
+
type Unit = 'kilometers' | 'miles';
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
namespace CarRentalDatum {
|
|
3009
|
+
interface Affiliate {
|
|
3010
|
+
/**
|
|
3011
|
+
* Affiliate partner code.
|
|
3012
|
+
*/
|
|
3013
|
+
code?: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* Name of affiliate partner.
|
|
3016
|
+
*/
|
|
3017
|
+
name?: string;
|
|
3018
|
+
}
|
|
3019
|
+
interface Distance {
|
|
3020
|
+
/**
|
|
3021
|
+
* Distance traveled.
|
|
3022
|
+
*/
|
|
3023
|
+
amount: number;
|
|
3024
|
+
/**
|
|
3025
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3026
|
+
*/
|
|
3027
|
+
unit: Distance.Unit;
|
|
3028
|
+
}
|
|
3029
|
+
interface Driver {
|
|
3030
|
+
/**
|
|
3031
|
+
* Driver's date of birth.
|
|
3032
|
+
*/
|
|
3033
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
3034
|
+
/**
|
|
3035
|
+
* Driver's identification number.
|
|
3036
|
+
*/
|
|
3037
|
+
driver_identification_number?: string;
|
|
3038
|
+
/**
|
|
3039
|
+
* Driver's tax number.
|
|
3040
|
+
*/
|
|
3041
|
+
driver_tax_number?: string;
|
|
3042
|
+
/**
|
|
3043
|
+
* Driver's full name.
|
|
3044
|
+
*/
|
|
3045
|
+
name: string;
|
|
3046
|
+
}
|
|
3047
|
+
interface DropOff {
|
|
3048
|
+
/**
|
|
3049
|
+
* Address of the rental location.
|
|
3050
|
+
*/
|
|
3051
|
+
address: DropOff.Address;
|
|
3052
|
+
/**
|
|
3053
|
+
* Location name.
|
|
3054
|
+
*/
|
|
3055
|
+
location_name?: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* Timestamp for the location.
|
|
3058
|
+
*/
|
|
3059
|
+
time: number;
|
|
3060
|
+
}
|
|
3061
|
+
interface Insurance {
|
|
3062
|
+
/**
|
|
3063
|
+
* Amount of the insurance coverage in cents.
|
|
3064
|
+
*/
|
|
3065
|
+
amount: number;
|
|
3066
|
+
/**
|
|
3067
|
+
* Currency of the insurance amount.
|
|
3068
|
+
*/
|
|
3069
|
+
currency?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Name of the insurance company.
|
|
3072
|
+
*/
|
|
3073
|
+
insurance_company_name?: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Type of insurance coverage.
|
|
3076
|
+
*/
|
|
3077
|
+
insurance_type: Insurance.InsuranceType;
|
|
3078
|
+
}
|
|
3079
|
+
interface Pickup {
|
|
3080
|
+
/**
|
|
3081
|
+
* Address of the rental location.
|
|
3082
|
+
*/
|
|
3083
|
+
address: Pickup.Address;
|
|
3084
|
+
/**
|
|
3085
|
+
* Location name.
|
|
3086
|
+
*/
|
|
3087
|
+
location_name?: string;
|
|
3088
|
+
/**
|
|
3089
|
+
* Timestamp for the location.
|
|
3090
|
+
*/
|
|
3091
|
+
time: number;
|
|
3092
|
+
}
|
|
3093
|
+
interface Total {
|
|
3094
|
+
/**
|
|
3095
|
+
* Total amount in cents.
|
|
3096
|
+
*/
|
|
3097
|
+
amount: number;
|
|
3098
|
+
/**
|
|
3099
|
+
* Currency of the amount.
|
|
3100
|
+
*/
|
|
3101
|
+
currency?: string;
|
|
3102
|
+
/**
|
|
3103
|
+
* Discount details for the rental.
|
|
3104
|
+
*/
|
|
3105
|
+
discounts?: Total.Discounts;
|
|
3106
|
+
/**
|
|
3107
|
+
* Additional charges for the rental.
|
|
3108
|
+
*/
|
|
3109
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3110
|
+
/**
|
|
3111
|
+
* Rate per unit for the rental.
|
|
3112
|
+
*/
|
|
3113
|
+
rate_per_unit?: number;
|
|
3114
|
+
/**
|
|
3115
|
+
* Unit of measurement for the rate.
|
|
3116
|
+
*/
|
|
3117
|
+
rate_unit?: Total.RateUnit;
|
|
3118
|
+
/**
|
|
3119
|
+
* Tax breakdown for the rental.
|
|
3120
|
+
*/
|
|
3121
|
+
tax?: Total.Tax;
|
|
3122
|
+
}
|
|
3123
|
+
interface Vehicle {
|
|
3124
|
+
/**
|
|
3125
|
+
* Make of the rental vehicle.
|
|
3126
|
+
*/
|
|
3127
|
+
make?: string;
|
|
3128
|
+
/**
|
|
3129
|
+
* Model of the rental vehicle.
|
|
3130
|
+
*/
|
|
3131
|
+
model?: string;
|
|
3132
|
+
/**
|
|
3133
|
+
* Odometer reading at the time of rental.
|
|
3134
|
+
*/
|
|
3135
|
+
odometer?: number;
|
|
3136
|
+
/**
|
|
3137
|
+
* Type of the rental vehicle.
|
|
3138
|
+
*/
|
|
3139
|
+
type?: Vehicle.Type;
|
|
3140
|
+
/**
|
|
3141
|
+
* Class of the rental vehicle.
|
|
3142
|
+
*/
|
|
3143
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
3144
|
+
/**
|
|
3145
|
+
* Vehicle identification number (VIN).
|
|
3146
|
+
*/
|
|
3147
|
+
vehicle_identification_number?: string;
|
|
3148
|
+
}
|
|
3149
|
+
namespace Distance {
|
|
3150
|
+
type Unit = 'kilometers' | 'miles';
|
|
3151
|
+
}
|
|
3152
|
+
namespace Driver {
|
|
3153
|
+
interface DateOfBirth {
|
|
3154
|
+
/**
|
|
3155
|
+
* Day of birth (1-31).
|
|
3156
|
+
*/
|
|
3157
|
+
day: number;
|
|
3158
|
+
/**
|
|
3159
|
+
* Month of birth (1-12).
|
|
3160
|
+
*/
|
|
3161
|
+
month: number;
|
|
3162
|
+
/**
|
|
3163
|
+
* Year of birth (must be greater than 1900).
|
|
3164
|
+
*/
|
|
3165
|
+
year: number;
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
namespace DropOff {
|
|
3169
|
+
interface Address {
|
|
3170
|
+
/**
|
|
3171
|
+
* City, district, suburb, town, or village.
|
|
3172
|
+
*/
|
|
3173
|
+
city: string;
|
|
3174
|
+
/**
|
|
3175
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3176
|
+
*/
|
|
3177
|
+
country: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3180
|
+
*/
|
|
3181
|
+
line1: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3184
|
+
*/
|
|
3185
|
+
line2?: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* ZIP or postal code.
|
|
3188
|
+
*/
|
|
3189
|
+
postal_code: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3192
|
+
*/
|
|
3193
|
+
state?: string;
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
namespace Insurance {
|
|
3197
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
3198
|
+
}
|
|
3199
|
+
namespace Pickup {
|
|
3200
|
+
interface Address {
|
|
3201
|
+
/**
|
|
3202
|
+
* City, district, suburb, town, or village.
|
|
3203
|
+
*/
|
|
3204
|
+
city: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3207
|
+
*/
|
|
3208
|
+
country: string;
|
|
3209
|
+
/**
|
|
3210
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3211
|
+
*/
|
|
3212
|
+
line1: string;
|
|
3213
|
+
/**
|
|
3214
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3215
|
+
*/
|
|
3216
|
+
line2?: string;
|
|
3217
|
+
/**
|
|
3218
|
+
* ZIP or postal code.
|
|
3219
|
+
*/
|
|
3220
|
+
postal_code: string;
|
|
3221
|
+
/**
|
|
3222
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3223
|
+
*/
|
|
3224
|
+
state?: string;
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
namespace Total {
|
|
3228
|
+
interface Discounts {
|
|
3229
|
+
/**
|
|
3230
|
+
* Corporate client discount code.
|
|
3231
|
+
*/
|
|
3232
|
+
corporate_client_code?: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* Coupon code applied to the rental.
|
|
3235
|
+
*/
|
|
3236
|
+
coupon?: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* Maximum number of free miles or kilometers included.
|
|
3239
|
+
*/
|
|
3240
|
+
maximum_free_miles_or_kilometers?: number;
|
|
3241
|
+
}
|
|
3242
|
+
interface ExtraCharge {
|
|
3243
|
+
/**
|
|
3244
|
+
* Amount of the extra charge in cents.
|
|
3245
|
+
*/
|
|
3246
|
+
amount: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* Type of extra charge.
|
|
3249
|
+
*/
|
|
3250
|
+
type: ExtraCharge.Type;
|
|
3251
|
+
}
|
|
3252
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
3253
|
+
interface Tax {
|
|
3254
|
+
/**
|
|
3255
|
+
* Indicates if the transaction is tax exempt.
|
|
3256
|
+
*/
|
|
3257
|
+
tax_exempt_indicator?: boolean;
|
|
3258
|
+
/**
|
|
3259
|
+
* Array of tax details.
|
|
3260
|
+
*/
|
|
3261
|
+
taxes?: Array<Tax.Tax>;
|
|
3262
|
+
}
|
|
3263
|
+
namespace ExtraCharge {
|
|
3264
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
3265
|
+
}
|
|
3266
|
+
namespace Tax {
|
|
3267
|
+
interface Tax {
|
|
3268
|
+
/**
|
|
3269
|
+
* Tax amount.
|
|
3270
|
+
*/
|
|
3271
|
+
amount?: number;
|
|
3272
|
+
/**
|
|
3273
|
+
* Tax rate applied.
|
|
3274
|
+
*/
|
|
3275
|
+
rate?: number;
|
|
3276
|
+
/**
|
|
3277
|
+
* Type of tax applied.
|
|
3278
|
+
*/
|
|
3279
|
+
type?: string;
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
namespace Vehicle {
|
|
3284
|
+
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';
|
|
3285
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
namespace EventDetails {
|
|
3289
|
+
interface Affiliate {
|
|
3290
|
+
/**
|
|
3291
|
+
* The name of the affiliate that originated the purchase.
|
|
3292
|
+
*/
|
|
3293
|
+
name: string;
|
|
3294
|
+
}
|
|
3295
|
+
interface Delivery {
|
|
3296
|
+
/**
|
|
3297
|
+
* The delivery method for the payment
|
|
3298
|
+
*/
|
|
3299
|
+
mode?: Delivery.Mode;
|
|
3300
|
+
/**
|
|
3301
|
+
* Details of the recipient.
|
|
3302
|
+
*/
|
|
3303
|
+
recipient?: Delivery.Recipient;
|
|
3304
|
+
}
|
|
3305
|
+
namespace Delivery {
|
|
3306
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3307
|
+
interface Recipient {
|
|
3308
|
+
/**
|
|
3309
|
+
* The email of the recipient the ticket is delivered to.
|
|
3310
|
+
*/
|
|
3311
|
+
email?: string;
|
|
3312
|
+
/**
|
|
3313
|
+
* The name of the recipient the ticket is delivered to.
|
|
3314
|
+
*/
|
|
3315
|
+
name?: string;
|
|
3316
|
+
/**
|
|
3317
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3318
|
+
*/
|
|
3319
|
+
phone?: string;
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
namespace FleetDatum {
|
|
3324
|
+
interface PrimaryFuelFields {
|
|
3325
|
+
/**
|
|
3326
|
+
* The fuel brand.
|
|
3327
|
+
*/
|
|
3328
|
+
brand?: PrimaryFuelFields.Brand;
|
|
3329
|
+
}
|
|
3330
|
+
interface Station {
|
|
3331
|
+
/**
|
|
3332
|
+
* Additional contact information for the station.
|
|
3333
|
+
*/
|
|
3334
|
+
additional_contact_info?: string;
|
|
3335
|
+
/**
|
|
3336
|
+
* The customer service phone number of the station.
|
|
3337
|
+
*/
|
|
3338
|
+
customer_service_phone_number?: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* The partner ID code of the station.
|
|
3341
|
+
*/
|
|
3342
|
+
partner_id_code?: string;
|
|
3343
|
+
/**
|
|
3344
|
+
* The phone number of the station.
|
|
3345
|
+
*/
|
|
3346
|
+
phone_number?: string;
|
|
3347
|
+
/**
|
|
3348
|
+
* The physical location of the station.
|
|
3349
|
+
*/
|
|
3350
|
+
service_location?: ShippingAddressParam;
|
|
3351
|
+
/**
|
|
3352
|
+
* The URL of the station.
|
|
3353
|
+
*/
|
|
3354
|
+
url?: string;
|
|
3355
|
+
}
|
|
3356
|
+
interface Vat {
|
|
3357
|
+
/**
|
|
3358
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
3359
|
+
*/
|
|
3360
|
+
iob_indicator: Vat.IobIndicator;
|
|
3361
|
+
}
|
|
3362
|
+
namespace PrimaryFuelFields {
|
|
3363
|
+
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';
|
|
3364
|
+
}
|
|
3365
|
+
namespace Vat {
|
|
3366
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
namespace Flight {
|
|
3370
|
+
interface Affiliate {
|
|
3371
|
+
/**
|
|
3372
|
+
* The name of the affiliate that originated the purchase.
|
|
3373
|
+
*/
|
|
3374
|
+
name: string;
|
|
3375
|
+
}
|
|
3376
|
+
interface Delivery {
|
|
3377
|
+
/**
|
|
3378
|
+
* The delivery method for the payment
|
|
3379
|
+
*/
|
|
3380
|
+
mode?: Delivery.Mode;
|
|
3381
|
+
/**
|
|
3382
|
+
* Details of the recipient.
|
|
3383
|
+
*/
|
|
3384
|
+
recipient?: Delivery.Recipient;
|
|
3385
|
+
}
|
|
3386
|
+
interface Passenger {
|
|
3387
|
+
/**
|
|
3388
|
+
* Full name of the person or entity on the flight reservation.
|
|
3389
|
+
*/
|
|
3390
|
+
name: string;
|
|
3391
|
+
}
|
|
3392
|
+
interface Segment {
|
|
3393
|
+
/**
|
|
3394
|
+
* The flight segment amount.
|
|
3395
|
+
*/
|
|
3396
|
+
amount?: number;
|
|
3397
|
+
/**
|
|
3398
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
3399
|
+
*/
|
|
3400
|
+
arrival_airport?: string;
|
|
3401
|
+
/**
|
|
3402
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3403
|
+
*/
|
|
3404
|
+
arrives_at?: number;
|
|
3405
|
+
/**
|
|
3406
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
3407
|
+
*/
|
|
3408
|
+
carrier?: string;
|
|
3409
|
+
/**
|
|
3410
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3411
|
+
*/
|
|
3412
|
+
departs_at: number;
|
|
3413
|
+
/**
|
|
3414
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
3415
|
+
*/
|
|
3416
|
+
departure_airport?: string;
|
|
3417
|
+
/**
|
|
3418
|
+
* The flight number associated with the segment
|
|
3419
|
+
*/
|
|
3420
|
+
flight_number?: string;
|
|
3421
|
+
/**
|
|
3422
|
+
* The fare class for the segment.
|
|
3423
|
+
*/
|
|
3424
|
+
service_class?: Segment.ServiceClass;
|
|
3425
|
+
}
|
|
3426
|
+
namespace Delivery {
|
|
3427
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3428
|
+
interface Recipient {
|
|
3429
|
+
/**
|
|
3430
|
+
* The email of the recipient the ticket is delivered to.
|
|
3431
|
+
*/
|
|
3432
|
+
email?: string;
|
|
3433
|
+
/**
|
|
3434
|
+
* The name of the recipient the ticket is delivered to.
|
|
3435
|
+
*/
|
|
3436
|
+
name?: string;
|
|
3437
|
+
/**
|
|
3438
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3439
|
+
*/
|
|
3440
|
+
phone?: string;
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
namespace Segment {
|
|
3444
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
namespace FlightDatum {
|
|
3448
|
+
interface Affiliate {
|
|
3449
|
+
/**
|
|
3450
|
+
* Affiliate partner code.
|
|
3451
|
+
*/
|
|
3452
|
+
code?: string;
|
|
3453
|
+
/**
|
|
3454
|
+
* Name of affiliate partner.
|
|
3455
|
+
*/
|
|
3456
|
+
name?: string;
|
|
3457
|
+
/**
|
|
3458
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
3459
|
+
*/
|
|
3460
|
+
travel_authorization_code?: string;
|
|
3461
|
+
}
|
|
3462
|
+
interface Insurance {
|
|
3463
|
+
/**
|
|
3464
|
+
* Insurance cost.
|
|
3465
|
+
*/
|
|
3466
|
+
amount: number;
|
|
3467
|
+
/**
|
|
3468
|
+
* Insurance currency.
|
|
3469
|
+
*/
|
|
3470
|
+
currency?: string;
|
|
3471
|
+
/**
|
|
3472
|
+
* Insurance company name.
|
|
3473
|
+
*/
|
|
3474
|
+
insurance_company_name?: string;
|
|
3475
|
+
/**
|
|
3476
|
+
* Type of insurance.
|
|
3477
|
+
*/
|
|
3478
|
+
insurance_type: Insurance.InsuranceType;
|
|
3479
|
+
}
|
|
3480
|
+
interface Passenger {
|
|
3481
|
+
/**
|
|
3482
|
+
* Passenger's full name.
|
|
3483
|
+
*/
|
|
3484
|
+
name: string;
|
|
3485
|
+
}
|
|
3486
|
+
interface Segment {
|
|
3487
|
+
/**
|
|
3488
|
+
* Segment fare amount.
|
|
3489
|
+
*/
|
|
3490
|
+
amount?: number;
|
|
3491
|
+
/**
|
|
3492
|
+
* Arrival details.
|
|
3493
|
+
*/
|
|
3494
|
+
arrival: Segment.Arrival;
|
|
3495
|
+
/**
|
|
3496
|
+
* Airline carrier code.
|
|
3497
|
+
*/
|
|
3498
|
+
carrier_code: string;
|
|
3499
|
+
/**
|
|
3500
|
+
* Carrier name.
|
|
3501
|
+
*/
|
|
3502
|
+
carrier_name?: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* Segment currency.
|
|
3505
|
+
*/
|
|
3506
|
+
currency?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* Departure details.
|
|
3509
|
+
*/
|
|
3510
|
+
departure: Segment.Departure;
|
|
3511
|
+
/**
|
|
3512
|
+
* Exchange ticket number.
|
|
3513
|
+
*/
|
|
3514
|
+
exchange_ticket_number?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* Fare basis code.
|
|
3517
|
+
*/
|
|
3518
|
+
fare_basis_code?: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Additional fees.
|
|
3521
|
+
*/
|
|
3522
|
+
fees?: number;
|
|
3523
|
+
/**
|
|
3524
|
+
* Flight number.
|
|
3525
|
+
*/
|
|
3526
|
+
flight_number?: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* Stopover indicator.
|
|
3529
|
+
*/
|
|
3530
|
+
is_stop_over_indicator?: boolean;
|
|
3531
|
+
/**
|
|
3532
|
+
* Refundable ticket indicator.
|
|
3533
|
+
*/
|
|
3534
|
+
refundable?: boolean;
|
|
3535
|
+
/**
|
|
3536
|
+
* Class of service.
|
|
3537
|
+
*/
|
|
3538
|
+
service_class: Segment.ServiceClass;
|
|
3539
|
+
/**
|
|
3540
|
+
* Tax amount for segment.
|
|
3541
|
+
*/
|
|
3542
|
+
tax_amount?: number;
|
|
3543
|
+
/**
|
|
3544
|
+
* Ticket number.
|
|
3545
|
+
*/
|
|
3546
|
+
ticket_number?: string;
|
|
3547
|
+
}
|
|
3548
|
+
interface Total {
|
|
3549
|
+
/**
|
|
3550
|
+
* Total flight amount.
|
|
3551
|
+
*/
|
|
3552
|
+
amount: number;
|
|
3553
|
+
/**
|
|
3554
|
+
* Reason for credit.
|
|
3555
|
+
*/
|
|
3556
|
+
credit_reason?: Total.CreditReason;
|
|
3557
|
+
/**
|
|
3558
|
+
* Total currency.
|
|
3559
|
+
*/
|
|
3560
|
+
currency?: string;
|
|
3561
|
+
/**
|
|
3562
|
+
* Discount details.
|
|
3563
|
+
*/
|
|
3564
|
+
discounts?: Total.Discounts;
|
|
3565
|
+
/**
|
|
3566
|
+
* Additional charges.
|
|
3567
|
+
*/
|
|
3568
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3569
|
+
/**
|
|
3570
|
+
* Tax breakdown.
|
|
3571
|
+
*/
|
|
3572
|
+
tax?: Total.Tax;
|
|
3573
|
+
}
|
|
3574
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
3575
|
+
namespace Insurance {
|
|
3576
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3577
|
+
}
|
|
3578
|
+
namespace Segment {
|
|
3579
|
+
interface Arrival {
|
|
3580
|
+
/**
|
|
3581
|
+
* Arrival airport IATA code.
|
|
3582
|
+
*/
|
|
3583
|
+
airport: string;
|
|
3584
|
+
/**
|
|
3585
|
+
* Arrival date/time.
|
|
3586
|
+
*/
|
|
3587
|
+
arrives_at?: number;
|
|
3588
|
+
/**
|
|
3589
|
+
* Arrival city.
|
|
3590
|
+
*/
|
|
3591
|
+
city?: string;
|
|
3592
|
+
/**
|
|
3593
|
+
* Arrival country.
|
|
3594
|
+
*/
|
|
3595
|
+
country?: string;
|
|
3596
|
+
}
|
|
3597
|
+
interface Departure {
|
|
3598
|
+
/**
|
|
3599
|
+
* Departure airport IATA code.
|
|
3600
|
+
*/
|
|
3601
|
+
airport: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* Departure city.
|
|
3604
|
+
*/
|
|
3605
|
+
city?: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* Departure country.
|
|
3608
|
+
*/
|
|
3609
|
+
country?: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* Departure date/time.
|
|
3612
|
+
*/
|
|
3613
|
+
departs_at: number;
|
|
3614
|
+
}
|
|
3615
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3616
|
+
}
|
|
3617
|
+
namespace Total {
|
|
3618
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
3619
|
+
interface Discounts {
|
|
3620
|
+
/**
|
|
3621
|
+
* Corporate client discount code.
|
|
3622
|
+
*/
|
|
3623
|
+
corporate_client_code?: string;
|
|
3624
|
+
}
|
|
3625
|
+
interface ExtraCharge {
|
|
3626
|
+
/**
|
|
3627
|
+
* Amount of additional charges.
|
|
3628
|
+
*/
|
|
3629
|
+
amount?: number;
|
|
3630
|
+
/**
|
|
3631
|
+
* Type of additional charges.
|
|
3632
|
+
*/
|
|
3633
|
+
type?: ExtraCharge.Type;
|
|
3634
|
+
}
|
|
3635
|
+
interface Tax {
|
|
3636
|
+
/**
|
|
3637
|
+
* Array of tax details.
|
|
3638
|
+
*/
|
|
3639
|
+
taxes?: Array<Tax.Tax>;
|
|
3640
|
+
}
|
|
3641
|
+
namespace ExtraCharge {
|
|
3642
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
3643
|
+
}
|
|
3644
|
+
namespace Tax {
|
|
3645
|
+
interface Tax {
|
|
3646
|
+
/**
|
|
3647
|
+
* Tax amount.
|
|
3648
|
+
*/
|
|
3649
|
+
amount?: number;
|
|
3650
|
+
/**
|
|
3651
|
+
* Tax rate.
|
|
3652
|
+
*/
|
|
3653
|
+
rate?: number;
|
|
3654
|
+
/**
|
|
3655
|
+
* Type of tax.
|
|
3656
|
+
*/
|
|
3657
|
+
type?: string;
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
}
|
|
3661
|
+
}
|
|
3662
|
+
namespace Lodging {
|
|
3663
|
+
interface Affiliate {
|
|
3664
|
+
/**
|
|
3665
|
+
* The name of the affiliate that originated the purchase.
|
|
3666
|
+
*/
|
|
3667
|
+
name: string;
|
|
3668
|
+
}
|
|
3669
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
3670
|
+
interface Delivery {
|
|
3671
|
+
/**
|
|
3672
|
+
* The delivery method for the payment
|
|
3673
|
+
*/
|
|
3674
|
+
mode?: Delivery.Mode;
|
|
3675
|
+
/**
|
|
3676
|
+
* Details of the recipient.
|
|
3677
|
+
*/
|
|
3678
|
+
recipient?: Delivery.Recipient;
|
|
3679
|
+
}
|
|
3680
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
3681
|
+
interface Passenger {
|
|
3682
|
+
/**
|
|
3683
|
+
* Full name of the person or entity on the lodging reservation.
|
|
3684
|
+
*/
|
|
3685
|
+
name: string;
|
|
3686
|
+
}
|
|
3687
|
+
namespace Delivery {
|
|
3688
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3689
|
+
interface Recipient {
|
|
3690
|
+
/**
|
|
3691
|
+
* The email of the recipient the ticket is delivered to.
|
|
3692
|
+
*/
|
|
3693
|
+
email?: string;
|
|
3694
|
+
/**
|
|
3695
|
+
* The name of the recipient the ticket is delivered to.
|
|
3696
|
+
*/
|
|
3697
|
+
name?: string;
|
|
3698
|
+
/**
|
|
3699
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3700
|
+
*/
|
|
3701
|
+
phone?: string;
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
namespace LodgingDatum {
|
|
3706
|
+
interface Accommodation {
|
|
3707
|
+
/**
|
|
3708
|
+
* Type of accommodation.
|
|
3709
|
+
*/
|
|
3710
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
3711
|
+
/**
|
|
3712
|
+
* Bed type.
|
|
3713
|
+
*/
|
|
3714
|
+
bed_type?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* Daily accommodation rate in cents.
|
|
3717
|
+
*/
|
|
3718
|
+
daily_rate_amount?: number;
|
|
3719
|
+
/**
|
|
3720
|
+
* Number of nights.
|
|
3721
|
+
*/
|
|
3722
|
+
nights?: number;
|
|
3723
|
+
/**
|
|
3724
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
3725
|
+
*/
|
|
3726
|
+
number_of_rooms?: number;
|
|
3727
|
+
/**
|
|
3728
|
+
* Rate type.
|
|
3729
|
+
*/
|
|
3730
|
+
rate_type?: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* Whether smoking is allowed.
|
|
3733
|
+
*/
|
|
3734
|
+
smoking_indicator?: boolean;
|
|
3735
|
+
}
|
|
3736
|
+
interface Affiliate {
|
|
3737
|
+
/**
|
|
3738
|
+
* Affiliate partner code.
|
|
3739
|
+
*/
|
|
3740
|
+
code?: string;
|
|
3741
|
+
/**
|
|
3742
|
+
* Affiliate partner name.
|
|
3743
|
+
*/
|
|
3744
|
+
name?: string;
|
|
3745
|
+
}
|
|
3746
|
+
interface Guest {
|
|
3747
|
+
/**
|
|
3748
|
+
* Guest's full name.
|
|
3749
|
+
*/
|
|
3750
|
+
name: string;
|
|
3751
|
+
}
|
|
3752
|
+
interface Host {
|
|
3753
|
+
/**
|
|
3754
|
+
* Address of the host.
|
|
3755
|
+
*/
|
|
3756
|
+
address?: Host.Address;
|
|
3757
|
+
/**
|
|
3758
|
+
* Host's country of domicile.
|
|
3759
|
+
*/
|
|
3760
|
+
country_of_domicile?: string;
|
|
3761
|
+
/**
|
|
3762
|
+
* Reference number for the host.
|
|
3763
|
+
*/
|
|
3764
|
+
host_reference?: string;
|
|
3765
|
+
/**
|
|
3766
|
+
* Type of host.
|
|
3767
|
+
*/
|
|
3768
|
+
host_type?: Host.HostType;
|
|
3769
|
+
/**
|
|
3770
|
+
* Name of the lodging property or host.
|
|
3771
|
+
*/
|
|
3772
|
+
name?: string;
|
|
3773
|
+
/**
|
|
3774
|
+
* Total number of reservations for the host.
|
|
3775
|
+
*/
|
|
3776
|
+
number_of_reservations?: number;
|
|
3777
|
+
/**
|
|
3778
|
+
* Property phone number.
|
|
3779
|
+
*/
|
|
3780
|
+
property_phone_number?: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* Host's registration date.
|
|
3783
|
+
*/
|
|
3784
|
+
registered_at?: number;
|
|
3785
|
+
}
|
|
3786
|
+
interface Insurance {
|
|
3787
|
+
/**
|
|
3788
|
+
* Price of the insurance coverage in cents.
|
|
3789
|
+
*/
|
|
3790
|
+
amount: number;
|
|
3791
|
+
/**
|
|
3792
|
+
* Currency of the insurance amount.
|
|
3793
|
+
*/
|
|
3794
|
+
currency?: string;
|
|
3795
|
+
/**
|
|
3796
|
+
* Name of the insurance company.
|
|
3797
|
+
*/
|
|
3798
|
+
insurance_company_name?: string;
|
|
3799
|
+
/**
|
|
3800
|
+
* Type of insurance coverage.
|
|
3801
|
+
*/
|
|
3802
|
+
insurance_type: Insurance.InsuranceType;
|
|
3803
|
+
}
|
|
3804
|
+
interface Total {
|
|
3805
|
+
/**
|
|
3806
|
+
* Total price of the lodging reservation in cents.
|
|
3807
|
+
*/
|
|
3808
|
+
amount: number;
|
|
3809
|
+
/**
|
|
3810
|
+
* Cash advances in cents.
|
|
3811
|
+
*/
|
|
3812
|
+
cash_advances?: number;
|
|
3813
|
+
/**
|
|
3814
|
+
* Currency of the total amount.
|
|
3815
|
+
*/
|
|
3816
|
+
currency?: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* Discount details for the lodging.
|
|
3819
|
+
*/
|
|
3820
|
+
discounts?: Total.Discounts;
|
|
3821
|
+
/**
|
|
3822
|
+
* Additional charges for the lodging.
|
|
3823
|
+
*/
|
|
3824
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3825
|
+
/**
|
|
3826
|
+
* Prepaid amount in cents.
|
|
3827
|
+
*/
|
|
3828
|
+
prepaid_amount?: number;
|
|
3829
|
+
/**
|
|
3830
|
+
* Tax breakdown for the lodging reservation.
|
|
3831
|
+
*/
|
|
3832
|
+
tax?: Total.Tax;
|
|
3833
|
+
}
|
|
3834
|
+
namespace Accommodation {
|
|
3835
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
3836
|
+
}
|
|
3837
|
+
namespace Host {
|
|
3838
|
+
interface Address {
|
|
3839
|
+
/**
|
|
3840
|
+
* City, district, suburb, town, or village.
|
|
3841
|
+
*/
|
|
3842
|
+
city: string;
|
|
3843
|
+
/**
|
|
3844
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3845
|
+
*/
|
|
3846
|
+
country: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3849
|
+
*/
|
|
3850
|
+
line1: string;
|
|
3851
|
+
/**
|
|
3852
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3853
|
+
*/
|
|
3854
|
+
line2?: string;
|
|
3855
|
+
/**
|
|
3856
|
+
* ZIP or postal code.
|
|
3857
|
+
*/
|
|
3858
|
+
postal_code: string;
|
|
3859
|
+
/**
|
|
3860
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3861
|
+
*/
|
|
3862
|
+
state?: string;
|
|
3863
|
+
}
|
|
3864
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
3865
|
+
}
|
|
3866
|
+
namespace Insurance {
|
|
3867
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3868
|
+
}
|
|
3869
|
+
namespace Total {
|
|
3870
|
+
interface Discounts {
|
|
3871
|
+
/**
|
|
3872
|
+
* Corporate client discount code.
|
|
3873
|
+
*/
|
|
3874
|
+
corporate_client_code?: string;
|
|
3875
|
+
/**
|
|
3876
|
+
* Coupon code.
|
|
3877
|
+
*/
|
|
3878
|
+
coupon?: string;
|
|
3879
|
+
}
|
|
3880
|
+
interface ExtraCharge {
|
|
3881
|
+
/**
|
|
3882
|
+
* Amount of the extra charge in cents.
|
|
3883
|
+
*/
|
|
3884
|
+
amount?: number;
|
|
3885
|
+
/**
|
|
3886
|
+
* Type of extra charge.
|
|
3887
|
+
*/
|
|
3888
|
+
type?: ExtraCharge.Type;
|
|
3889
|
+
}
|
|
3890
|
+
interface Tax {
|
|
3891
|
+
/**
|
|
3892
|
+
* Indicates whether the transaction is tax exempt.
|
|
3893
|
+
*/
|
|
3894
|
+
tax_exempt_indicator?: boolean;
|
|
3895
|
+
/**
|
|
3896
|
+
* Tax details.
|
|
3897
|
+
*/
|
|
3898
|
+
taxes?: Array<Tax.Tax>;
|
|
3899
|
+
}
|
|
3900
|
+
namespace ExtraCharge {
|
|
3901
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
3902
|
+
}
|
|
3903
|
+
namespace Tax {
|
|
3904
|
+
interface Tax {
|
|
3905
|
+
/**
|
|
3906
|
+
* Tax amount in cents.
|
|
3907
|
+
*/
|
|
3908
|
+
amount?: number;
|
|
3909
|
+
/**
|
|
3910
|
+
* Tax rate.
|
|
3911
|
+
*/
|
|
3912
|
+
rate?: number;
|
|
3913
|
+
/**
|
|
3914
|
+
* Type of tax applied.
|
|
3915
|
+
*/
|
|
3916
|
+
type?: string;
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
}
|
|
3921
|
+
namespace MoneyServices {
|
|
3922
|
+
interface AccountFunding {
|
|
3923
|
+
/**
|
|
3924
|
+
* ID of the Account representing the beneficiary in this account funding transaction.
|
|
3925
|
+
*/
|
|
3926
|
+
beneficiary_account?: string;
|
|
3927
|
+
/**
|
|
3928
|
+
* Inline identity details for the beneficiary of this account funding transaction.
|
|
3929
|
+
*/
|
|
3930
|
+
beneficiary_details?: Emptyable<AccountFunding.BeneficiaryDetails>;
|
|
3931
|
+
/**
|
|
3932
|
+
* ID of the Account representing the sender in this account funding transaction.
|
|
3933
|
+
*/
|
|
3934
|
+
sender_account?: string;
|
|
3935
|
+
/**
|
|
3936
|
+
* Inline identity details for the sender of this account funding transaction.
|
|
3937
|
+
*/
|
|
3938
|
+
sender_details?: Emptyable<AccountFunding.SenderDetails>;
|
|
3939
|
+
}
|
|
3940
|
+
namespace AccountFunding {
|
|
3941
|
+
interface BeneficiaryDetails {
|
|
3942
|
+
/**
|
|
3943
|
+
* Address.
|
|
3944
|
+
*/
|
|
3945
|
+
address?: AddressParam;
|
|
3946
|
+
/**
|
|
3947
|
+
* Date of birth.
|
|
3948
|
+
*/
|
|
3949
|
+
date_of_birth?: BeneficiaryDetails.DateOfBirth;
|
|
3950
|
+
/**
|
|
3951
|
+
* Email address.
|
|
3952
|
+
*/
|
|
3953
|
+
email?: string;
|
|
3954
|
+
/**
|
|
3955
|
+
* Full name.
|
|
3956
|
+
*/
|
|
3957
|
+
name?: string;
|
|
3958
|
+
/**
|
|
3959
|
+
* Phone number.
|
|
3960
|
+
*/
|
|
3961
|
+
phone?: string;
|
|
3962
|
+
}
|
|
3963
|
+
interface SenderDetails {
|
|
3964
|
+
/**
|
|
3965
|
+
* Address.
|
|
3966
|
+
*/
|
|
3967
|
+
address?: AddressParam;
|
|
3968
|
+
/**
|
|
3969
|
+
* Date of birth.
|
|
3970
|
+
*/
|
|
3971
|
+
date_of_birth?: SenderDetails.DateOfBirth;
|
|
3972
|
+
/**
|
|
3973
|
+
* Email address.
|
|
3974
|
+
*/
|
|
3975
|
+
email?: string;
|
|
3976
|
+
/**
|
|
3977
|
+
* Full name.
|
|
3978
|
+
*/
|
|
3979
|
+
name?: string;
|
|
3980
|
+
/**
|
|
3981
|
+
* Phone number.
|
|
3982
|
+
*/
|
|
3983
|
+
phone?: string;
|
|
3984
|
+
}
|
|
3985
|
+
namespace BeneficiaryDetails {
|
|
3986
|
+
interface DateOfBirth {
|
|
3987
|
+
/**
|
|
3988
|
+
* Day of birth, between 1 and 31.
|
|
3989
|
+
*/
|
|
3990
|
+
day: number;
|
|
3991
|
+
/**
|
|
3992
|
+
* Month of birth, between 1 and 12.
|
|
3993
|
+
*/
|
|
3994
|
+
month: number;
|
|
3995
|
+
/**
|
|
3996
|
+
* Four-digit year of birth.
|
|
3997
|
+
*/
|
|
3998
|
+
year: number;
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
namespace SenderDetails {
|
|
4002
|
+
interface DateOfBirth {
|
|
4003
|
+
/**
|
|
4004
|
+
* Day of birth, between 1 and 31.
|
|
4005
|
+
*/
|
|
4006
|
+
day: number;
|
|
4007
|
+
/**
|
|
4008
|
+
* Month of birth, between 1 and 12.
|
|
4009
|
+
*/
|
|
4010
|
+
month: number;
|
|
4011
|
+
/**
|
|
4012
|
+
* Four-digit year of birth.
|
|
4013
|
+
*/
|
|
4014
|
+
year: number;
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
}
|
|
4019
|
+
namespace Subscription {
|
|
4020
|
+
interface Affiliate {
|
|
4021
|
+
/**
|
|
4022
|
+
* The name of the affiliate that originated the purchase.
|
|
4023
|
+
*/
|
|
4024
|
+
name: string;
|
|
4025
|
+
}
|
|
4026
|
+
interface BillingInterval {
|
|
4027
|
+
/**
|
|
4028
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4029
|
+
*/
|
|
4030
|
+
count: number;
|
|
4031
|
+
/**
|
|
4032
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4033
|
+
*/
|
|
4034
|
+
interval: BillingInterval.Interval;
|
|
4035
|
+
}
|
|
4036
|
+
namespace BillingInterval {
|
|
4037
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
export interface ChargeListParams extends PaginationParams {
|
|
4043
|
+
/**
|
|
4044
|
+
* Only return charges that were created during the given date interval.
|
|
4045
|
+
*/
|
|
4046
|
+
created?: RangeQueryParam | number;
|
|
4047
|
+
/**
|
|
4048
|
+
* Only return charges for the customer specified by this customer ID.
|
|
4049
|
+
*/
|
|
4050
|
+
customer?: string;
|
|
4051
|
+
/**
|
|
4052
|
+
* Specifies which fields in the response should be expanded.
|
|
4053
|
+
*/
|
|
4054
|
+
expand?: Array<string>;
|
|
4055
|
+
/**
|
|
4056
|
+
* Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
|
4057
|
+
*/
|
|
4058
|
+
payment_intent?: string;
|
|
4059
|
+
/**
|
|
4060
|
+
* Only return charges for this transfer group, limited to 100.
|
|
4061
|
+
*/
|
|
4062
|
+
transfer_group?: string;
|
|
4063
|
+
}
|
|
4064
|
+
export interface ChargeCaptureParams {
|
|
4065
|
+
/**
|
|
4066
|
+
* The amount to capture, which must be less than or equal to the original amount.
|
|
4067
|
+
*/
|
|
4068
|
+
amount?: number;
|
|
4069
|
+
/**
|
|
4070
|
+
* An application fee to add on to this charge.
|
|
4071
|
+
*/
|
|
4072
|
+
application_fee?: number;
|
|
4073
|
+
/**
|
|
4074
|
+
* An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
|
4075
|
+
*/
|
|
4076
|
+
application_fee_amount?: number;
|
|
4077
|
+
/**
|
|
4078
|
+
* Specifies which fields in the response should be expanded.
|
|
4079
|
+
*/
|
|
4080
|
+
expand?: Array<string>;
|
|
4081
|
+
/**
|
|
4082
|
+
* Provides industry-specific information about the charge.
|
|
4083
|
+
*/
|
|
4084
|
+
payment_details?: ChargeCaptureParams.PaymentDetails;
|
|
4085
|
+
/**
|
|
4086
|
+
* 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.
|
|
4087
|
+
*/
|
|
4088
|
+
receipt_email?: string;
|
|
4089
|
+
/**
|
|
4090
|
+
* 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).
|
|
4091
|
+
*
|
|
4092
|
+
* 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.
|
|
4093
|
+
*/
|
|
4094
|
+
statement_descriptor?: string;
|
|
4095
|
+
/**
|
|
4096
|
+
* 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.
|
|
4097
|
+
*/
|
|
4098
|
+
statement_descriptor_suffix?: string;
|
|
4099
|
+
/**
|
|
4100
|
+
* 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.
|
|
4101
|
+
*/
|
|
4102
|
+
transfer_data?: ChargeCaptureParams.TransferData;
|
|
4103
|
+
/**
|
|
4104
|
+
* 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.
|
|
4105
|
+
*/
|
|
4106
|
+
transfer_group?: string;
|
|
4107
|
+
}
|
|
4108
|
+
export declare namespace ChargeCaptureParams {
|
|
4109
|
+
interface PaymentDetails {
|
|
4110
|
+
/**
|
|
4111
|
+
* Car rental details for this PaymentIntent.
|
|
4112
|
+
*/
|
|
4113
|
+
car_rental?: PaymentDetails.CarRental;
|
|
4114
|
+
/**
|
|
4115
|
+
* Car rental data for this PaymentIntent.
|
|
4116
|
+
*/
|
|
4117
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
4118
|
+
/**
|
|
4119
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
4120
|
+
*
|
|
4121
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
4122
|
+
*/
|
|
4123
|
+
customer_reference?: Emptyable<string>;
|
|
4124
|
+
/**
|
|
4125
|
+
* Event details for this PaymentIntent
|
|
4126
|
+
*/
|
|
4127
|
+
event_details?: PaymentDetails.EventDetails;
|
|
4128
|
+
/**
|
|
4129
|
+
* Fleet data for this PaymentIntent.
|
|
4130
|
+
*/
|
|
4131
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
4132
|
+
/**
|
|
4133
|
+
* Flight reservation details for this PaymentIntent
|
|
4134
|
+
*/
|
|
4135
|
+
flight?: PaymentDetails.Flight;
|
|
4136
|
+
/**
|
|
4137
|
+
* Flight data for this PaymentIntent.
|
|
4138
|
+
*/
|
|
4139
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
4140
|
+
/**
|
|
4141
|
+
* Lodging reservation details for this PaymentIntent
|
|
4142
|
+
*/
|
|
4143
|
+
lodging?: PaymentDetails.Lodging;
|
|
4144
|
+
/**
|
|
4145
|
+
* Lodging data for this PaymentIntent.
|
|
4146
|
+
*/
|
|
4147
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
4148
|
+
/**
|
|
4149
|
+
* Money services details for this PaymentIntent.
|
|
4150
|
+
*/
|
|
4151
|
+
money_services?: Emptyable<PaymentDetails.MoneyServices>;
|
|
4152
|
+
/**
|
|
4153
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
4154
|
+
*
|
|
4155
|
+
* 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.
|
|
4156
|
+
*/
|
|
4157
|
+
order_reference?: Emptyable<string>;
|
|
4158
|
+
/**
|
|
4159
|
+
* Subscription details for this PaymentIntent
|
|
4160
|
+
*/
|
|
4161
|
+
subscription?: PaymentDetails.Subscription;
|
|
4162
|
+
}
|
|
4163
|
+
interface TransferData {
|
|
4164
|
+
/**
|
|
4165
|
+
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
4166
|
+
*/
|
|
4167
|
+
amount?: number;
|
|
4168
|
+
}
|
|
4169
|
+
namespace PaymentDetails {
|
|
4170
|
+
interface CarRental {
|
|
4171
|
+
/**
|
|
4172
|
+
* Affiliate details for this purchase.
|
|
4173
|
+
*/
|
|
4174
|
+
affiliate?: CarRental.Affiliate;
|
|
4175
|
+
/**
|
|
4176
|
+
* The booking number associated with the car rental.
|
|
4177
|
+
*/
|
|
4178
|
+
booking_number: string;
|
|
4179
|
+
/**
|
|
4180
|
+
* Class code of the car.
|
|
4181
|
+
*/
|
|
4182
|
+
car_class_code?: string;
|
|
4183
|
+
/**
|
|
4184
|
+
* Make of the car.
|
|
4185
|
+
*/
|
|
4186
|
+
car_make?: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* Model of the car.
|
|
4189
|
+
*/
|
|
4190
|
+
car_model?: string;
|
|
4191
|
+
/**
|
|
4192
|
+
* The name of the rental car company.
|
|
4193
|
+
*/
|
|
4194
|
+
company?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
* The customer service phone number of the car rental company.
|
|
4197
|
+
*/
|
|
4198
|
+
customer_service_phone_number?: string;
|
|
4199
|
+
/**
|
|
4200
|
+
* Number of days the car is being rented.
|
|
4201
|
+
*/
|
|
4202
|
+
days_rented: number;
|
|
4203
|
+
/**
|
|
4204
|
+
* Delivery details for this purchase.
|
|
4205
|
+
*/
|
|
4206
|
+
delivery?: CarRental.Delivery;
|
|
4207
|
+
/**
|
|
4208
|
+
* The details of the distance traveled during the rental period.
|
|
4209
|
+
*/
|
|
4210
|
+
distance?: CarRental.Distance;
|
|
4211
|
+
/**
|
|
4212
|
+
* The details of the passengers in the travel reservation
|
|
4213
|
+
*/
|
|
4214
|
+
drivers?: Array<CarRental.Driver>;
|
|
4215
|
+
/**
|
|
4216
|
+
* List of additional charges being billed.
|
|
4217
|
+
*/
|
|
4218
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
4219
|
+
/**
|
|
4220
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
4221
|
+
*/
|
|
4222
|
+
no_show?: boolean;
|
|
4223
|
+
/**
|
|
4224
|
+
* Car pick-up address.
|
|
4225
|
+
*/
|
|
4226
|
+
pickup_address?: AddressParam;
|
|
4227
|
+
/**
|
|
4228
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
4229
|
+
*/
|
|
4230
|
+
pickup_at: number;
|
|
4231
|
+
/**
|
|
4232
|
+
* Name of the pickup location.
|
|
4233
|
+
*/
|
|
4234
|
+
pickup_location_name?: string;
|
|
4235
|
+
/**
|
|
4236
|
+
* Rental rate.
|
|
4237
|
+
*/
|
|
4238
|
+
rate_amount?: number;
|
|
4239
|
+
/**
|
|
4240
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
4241
|
+
*/
|
|
4242
|
+
rate_interval?: CarRental.RateInterval;
|
|
4243
|
+
/**
|
|
4244
|
+
* The name of the person or entity renting the car.
|
|
4245
|
+
*/
|
|
4246
|
+
renter_name?: string;
|
|
4247
|
+
/**
|
|
4248
|
+
* Car return address.
|
|
4249
|
+
*/
|
|
4250
|
+
return_address?: AddressParam;
|
|
4251
|
+
/**
|
|
4252
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
4253
|
+
*/
|
|
4254
|
+
return_at: number;
|
|
4255
|
+
/**
|
|
4256
|
+
* Name of the return location.
|
|
4257
|
+
*/
|
|
4258
|
+
return_location_name?: string;
|
|
4259
|
+
/**
|
|
4260
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
4261
|
+
*/
|
|
4262
|
+
tax_exempt?: boolean;
|
|
4263
|
+
/**
|
|
4264
|
+
* The vehicle identification number.
|
|
4265
|
+
*/
|
|
4266
|
+
vehicle_identification_number?: string;
|
|
4267
|
+
}
|
|
4268
|
+
interface CarRentalDatum {
|
|
4269
|
+
/**
|
|
4270
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
4271
|
+
*/
|
|
4272
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
4273
|
+
/**
|
|
4274
|
+
* Booking confirmation number for the car rental.
|
|
4275
|
+
*/
|
|
4276
|
+
booking_number?: string;
|
|
4277
|
+
/**
|
|
4278
|
+
* Name of the car rental company.
|
|
4279
|
+
*/
|
|
4280
|
+
carrier_name?: string;
|
|
4281
|
+
/**
|
|
4282
|
+
* Customer service phone number for the car rental company.
|
|
4283
|
+
*/
|
|
4284
|
+
customer_service_phone_number?: string;
|
|
4285
|
+
/**
|
|
4286
|
+
* Number of days the car is being rented.
|
|
4287
|
+
*/
|
|
4288
|
+
days_rented?: number;
|
|
4289
|
+
/**
|
|
4290
|
+
* Distance details for the rental.
|
|
4291
|
+
*/
|
|
4292
|
+
distance?: CarRentalDatum.Distance;
|
|
4293
|
+
/**
|
|
4294
|
+
* List of drivers for the rental.
|
|
4295
|
+
*/
|
|
4296
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
4297
|
+
/**
|
|
4298
|
+
* Drop-off location details.
|
|
4299
|
+
*/
|
|
4300
|
+
drop_off: CarRentalDatum.DropOff;
|
|
4301
|
+
/**
|
|
4302
|
+
* Insurance details for the rental.
|
|
4303
|
+
*/
|
|
4304
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
4305
|
+
/**
|
|
4306
|
+
* Indicates if the customer was a no-show.
|
|
4307
|
+
*/
|
|
4308
|
+
no_show_indicator?: boolean;
|
|
4309
|
+
/**
|
|
4310
|
+
* Pickup location details.
|
|
4311
|
+
*/
|
|
4312
|
+
pickup: CarRentalDatum.Pickup;
|
|
4313
|
+
/**
|
|
4314
|
+
* Name of the person renting the vehicle.
|
|
4315
|
+
*/
|
|
4316
|
+
renter_name?: string;
|
|
4317
|
+
/**
|
|
4318
|
+
* Total cost breakdown for the rental.
|
|
4319
|
+
*/
|
|
4320
|
+
total: CarRentalDatum.Total;
|
|
4321
|
+
/**
|
|
4322
|
+
* Vehicle details for the rental.
|
|
4323
|
+
*/
|
|
4324
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
4325
|
+
}
|
|
4326
|
+
interface EventDetails {
|
|
4327
|
+
/**
|
|
4328
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
4329
|
+
*/
|
|
4330
|
+
access_controlled_venue?: boolean;
|
|
4331
|
+
/**
|
|
4332
|
+
* The event location's address.
|
|
4333
|
+
*/
|
|
4334
|
+
address?: AddressParam;
|
|
4335
|
+
/**
|
|
4336
|
+
* Affiliate details for this purchase.
|
|
4337
|
+
*/
|
|
4338
|
+
affiliate?: EventDetails.Affiliate;
|
|
4339
|
+
/**
|
|
4340
|
+
* The name of the company
|
|
4341
|
+
*/
|
|
4342
|
+
company?: string;
|
|
4343
|
+
/**
|
|
4344
|
+
* Delivery details for this purchase.
|
|
4345
|
+
*/
|
|
4346
|
+
delivery?: EventDetails.Delivery;
|
|
4347
|
+
/**
|
|
4348
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
4349
|
+
*/
|
|
4350
|
+
ends_at?: number;
|
|
4351
|
+
/**
|
|
4352
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
4353
|
+
*/
|
|
4354
|
+
genre?: string;
|
|
4355
|
+
/**
|
|
4356
|
+
* The name of the event.
|
|
4357
|
+
*/
|
|
4358
|
+
name: string;
|
|
4359
|
+
/**
|
|
4360
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
4361
|
+
*/
|
|
4362
|
+
starts_at?: number;
|
|
4363
|
+
}
|
|
4364
|
+
interface FleetDatum {
|
|
4365
|
+
/**
|
|
4366
|
+
* Primary fuel fields for the transaction.
|
|
4367
|
+
*/
|
|
4368
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
4369
|
+
/**
|
|
4370
|
+
* Station and acceptor location details.
|
|
4371
|
+
*/
|
|
4372
|
+
station?: FleetDatum.Station;
|
|
4373
|
+
/**
|
|
4374
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
4375
|
+
*/
|
|
4376
|
+
vat?: FleetDatum.Vat;
|
|
4377
|
+
}
|
|
4378
|
+
interface Flight {
|
|
4379
|
+
/**
|
|
4380
|
+
* Affiliate details for this purchase.
|
|
4381
|
+
*/
|
|
4382
|
+
affiliate?: Flight.Affiliate;
|
|
4383
|
+
/**
|
|
4384
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
4385
|
+
*/
|
|
4386
|
+
agency_number?: string;
|
|
4387
|
+
/**
|
|
4388
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
4389
|
+
*/
|
|
4390
|
+
carrier?: string;
|
|
4391
|
+
/**
|
|
4392
|
+
* Delivery details for this purchase.
|
|
4393
|
+
*/
|
|
4394
|
+
delivery?: Flight.Delivery;
|
|
4395
|
+
/**
|
|
4396
|
+
* The name of the person or entity on the reservation.
|
|
4397
|
+
*/
|
|
4398
|
+
passenger_name?: string;
|
|
4399
|
+
/**
|
|
4400
|
+
* The details of the passengers in the travel reservation.
|
|
4401
|
+
*/
|
|
4402
|
+
passengers?: Array<Flight.Passenger>;
|
|
4403
|
+
/**
|
|
4404
|
+
* The individual flight segments associated with the trip.
|
|
4405
|
+
*/
|
|
4406
|
+
segments: Array<Flight.Segment>;
|
|
4407
|
+
/**
|
|
4408
|
+
* The ticket number associated with the travel reservation.
|
|
4409
|
+
*/
|
|
4410
|
+
ticket_number?: string;
|
|
4411
|
+
}
|
|
4412
|
+
interface FlightDatum {
|
|
4413
|
+
/**
|
|
4414
|
+
* Affiliate details if applicable.
|
|
4415
|
+
*/
|
|
4416
|
+
affiliate?: FlightDatum.Affiliate;
|
|
4417
|
+
/**
|
|
4418
|
+
* Reservation reference.
|
|
4419
|
+
*/
|
|
4420
|
+
booking_number?: string;
|
|
4421
|
+
/**
|
|
4422
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
4423
|
+
*/
|
|
4424
|
+
computerized_reservation_system?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* Ticket restrictions.
|
|
4427
|
+
*/
|
|
4428
|
+
endorsements_and_restrictions?: string;
|
|
4429
|
+
/**
|
|
4430
|
+
* List of insurances.
|
|
4431
|
+
*/
|
|
4432
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
4433
|
+
/**
|
|
4434
|
+
* List of passengers.
|
|
4435
|
+
*/
|
|
4436
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
4437
|
+
/**
|
|
4438
|
+
* List of flight segments.
|
|
4439
|
+
*/
|
|
4440
|
+
segments: Array<FlightDatum.Segment>;
|
|
4441
|
+
/**
|
|
4442
|
+
* Electronic ticket indicator.
|
|
4443
|
+
*/
|
|
4444
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
4445
|
+
/**
|
|
4446
|
+
* Total cost breakdown.
|
|
4447
|
+
*/
|
|
4448
|
+
total: FlightDatum.Total;
|
|
4449
|
+
/**
|
|
4450
|
+
* Type of flight transaction.
|
|
4451
|
+
*/
|
|
4452
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
4453
|
+
}
|
|
4454
|
+
interface Lodging {
|
|
4455
|
+
/**
|
|
4456
|
+
* The lodging location's address.
|
|
4457
|
+
*/
|
|
4458
|
+
address?: AddressParam;
|
|
4459
|
+
/**
|
|
4460
|
+
* The number of adults on the booking
|
|
4461
|
+
*/
|
|
4462
|
+
adults?: number;
|
|
4463
|
+
/**
|
|
4464
|
+
* Affiliate details for this purchase.
|
|
4465
|
+
*/
|
|
4466
|
+
affiliate?: Lodging.Affiliate;
|
|
4467
|
+
/**
|
|
4468
|
+
* The booking number associated with the lodging reservation.
|
|
4469
|
+
*/
|
|
4470
|
+
booking_number?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* The lodging category
|
|
4473
|
+
*/
|
|
4474
|
+
category?: Lodging.Category;
|
|
4475
|
+
/**
|
|
4476
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
4477
|
+
*/
|
|
4478
|
+
checkin_at: number;
|
|
4479
|
+
/**
|
|
4480
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
4481
|
+
*/
|
|
4482
|
+
checkout_at: number;
|
|
4483
|
+
/**
|
|
4484
|
+
* The customer service phone number of the lodging company.
|
|
4485
|
+
*/
|
|
4486
|
+
customer_service_phone_number?: string;
|
|
4487
|
+
/**
|
|
4488
|
+
* The daily lodging room rate.
|
|
4489
|
+
*/
|
|
4490
|
+
daily_room_rate_amount?: number;
|
|
4491
|
+
/**
|
|
4492
|
+
* Delivery details for this purchase.
|
|
4493
|
+
*/
|
|
4494
|
+
delivery?: Lodging.Delivery;
|
|
4495
|
+
/**
|
|
4496
|
+
* List of additional charges being billed.
|
|
4497
|
+
*/
|
|
4498
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
4499
|
+
/**
|
|
4500
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
4501
|
+
*/
|
|
4502
|
+
fire_safety_act_compliance?: boolean;
|
|
4503
|
+
/**
|
|
4504
|
+
* The name of the lodging location.
|
|
4505
|
+
*/
|
|
4506
|
+
name?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
4509
|
+
*/
|
|
4510
|
+
no_show?: boolean;
|
|
4511
|
+
/**
|
|
4512
|
+
* The number of rooms on the booking
|
|
4513
|
+
*/
|
|
4514
|
+
number_of_rooms?: number;
|
|
4515
|
+
/**
|
|
4516
|
+
* The details of the passengers in the travel reservation
|
|
4517
|
+
*/
|
|
4518
|
+
passengers?: Array<Lodging.Passenger>;
|
|
4519
|
+
/**
|
|
4520
|
+
* The phone number of the lodging location.
|
|
4521
|
+
*/
|
|
4522
|
+
property_phone_number?: string;
|
|
4523
|
+
/**
|
|
4524
|
+
* The room class for this purchase.
|
|
4525
|
+
*/
|
|
4526
|
+
room_class?: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* The number of room nights
|
|
4529
|
+
*/
|
|
4530
|
+
room_nights?: number;
|
|
4531
|
+
/**
|
|
4532
|
+
* The total tax amount associating with the room reservation.
|
|
4533
|
+
*/
|
|
4534
|
+
total_room_tax_amount?: number;
|
|
4535
|
+
/**
|
|
4536
|
+
* The total tax amount
|
|
4537
|
+
*/
|
|
4538
|
+
total_tax_amount?: number;
|
|
4539
|
+
}
|
|
4540
|
+
interface LodgingDatum {
|
|
4541
|
+
/**
|
|
4542
|
+
* Accommodation details for the lodging.
|
|
4543
|
+
*/
|
|
4544
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
4545
|
+
/**
|
|
4546
|
+
* Affiliate details if applicable.
|
|
4547
|
+
*/
|
|
4548
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
4549
|
+
/**
|
|
4550
|
+
* Booking confirmation number for the lodging.
|
|
4551
|
+
*/
|
|
4552
|
+
booking_number?: string;
|
|
4553
|
+
/**
|
|
4554
|
+
* Check-in date.
|
|
4555
|
+
*/
|
|
4556
|
+
checkin_at: number;
|
|
4557
|
+
/**
|
|
4558
|
+
* Check-out date.
|
|
4559
|
+
*/
|
|
4560
|
+
checkout_at: number;
|
|
4561
|
+
/**
|
|
4562
|
+
* Customer service phone number for the lodging company.
|
|
4563
|
+
*/
|
|
4564
|
+
customer_service_phone_number?: string;
|
|
4565
|
+
/**
|
|
4566
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
4567
|
+
*/
|
|
4568
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
4569
|
+
/**
|
|
4570
|
+
* List of guests for the lodging.
|
|
4571
|
+
*/
|
|
4572
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
4573
|
+
/**
|
|
4574
|
+
* Host details for the lodging.
|
|
4575
|
+
*/
|
|
4576
|
+
host?: LodgingDatum.Host;
|
|
4577
|
+
/**
|
|
4578
|
+
* List of insurances for the lodging.
|
|
4579
|
+
*/
|
|
4580
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
4581
|
+
/**
|
|
4582
|
+
* Whether the renter is a no-show.
|
|
4583
|
+
*/
|
|
4584
|
+
no_show_indicator?: boolean;
|
|
4585
|
+
/**
|
|
4586
|
+
* Renter ID number for the lodging.
|
|
4587
|
+
*/
|
|
4588
|
+
renter_id_number?: string;
|
|
4589
|
+
/**
|
|
4590
|
+
* Renter name for the lodging.
|
|
4591
|
+
*/
|
|
4592
|
+
renter_name?: string;
|
|
4593
|
+
/**
|
|
4594
|
+
* Total details for the lodging.
|
|
4595
|
+
*/
|
|
4596
|
+
total: LodgingDatum.Total;
|
|
4597
|
+
}
|
|
4598
|
+
interface MoneyServices {
|
|
4599
|
+
/**
|
|
4600
|
+
* Account funding transaction details including sender and beneficiary information.
|
|
4601
|
+
*/
|
|
4602
|
+
account_funding?: Emptyable<MoneyServices.AccountFunding>;
|
|
4603
|
+
/**
|
|
4604
|
+
* The type of money services transaction.
|
|
4605
|
+
*/
|
|
4606
|
+
transaction_type?: Emptyable<'account_funding'>;
|
|
4607
|
+
}
|
|
4608
|
+
interface Subscription {
|
|
4609
|
+
/**
|
|
4610
|
+
* Affiliate details for this purchase.
|
|
4611
|
+
*/
|
|
4612
|
+
affiliate?: Subscription.Affiliate;
|
|
4613
|
+
/**
|
|
4614
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
4615
|
+
*/
|
|
4616
|
+
auto_renewal?: boolean;
|
|
4617
|
+
/**
|
|
4618
|
+
* Subscription billing details for this purchase.
|
|
4619
|
+
*/
|
|
4620
|
+
billing_interval?: Subscription.BillingInterval;
|
|
4621
|
+
/**
|
|
4622
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
4623
|
+
*/
|
|
4624
|
+
ends_at?: number;
|
|
4625
|
+
/**
|
|
4626
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
4627
|
+
*/
|
|
4628
|
+
name: string;
|
|
4629
|
+
/**
|
|
4630
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
4631
|
+
*/
|
|
4632
|
+
starts_at?: number;
|
|
4633
|
+
}
|
|
4634
|
+
namespace CarRental {
|
|
4635
|
+
interface Affiliate {
|
|
4636
|
+
/**
|
|
4637
|
+
* The name of the affiliate that originated the purchase.
|
|
4638
|
+
*/
|
|
4639
|
+
name: string;
|
|
4640
|
+
}
|
|
4641
|
+
interface Delivery {
|
|
4642
|
+
/**
|
|
4643
|
+
* The delivery method for the payment
|
|
4644
|
+
*/
|
|
4645
|
+
mode?: Delivery.Mode;
|
|
4646
|
+
/**
|
|
4647
|
+
* Details of the recipient.
|
|
4648
|
+
*/
|
|
4649
|
+
recipient?: Delivery.Recipient;
|
|
4650
|
+
}
|
|
4651
|
+
interface Distance {
|
|
4652
|
+
/**
|
|
4653
|
+
* Distance traveled.
|
|
4654
|
+
*/
|
|
4655
|
+
amount?: number;
|
|
4656
|
+
/**
|
|
4657
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4658
|
+
*/
|
|
4659
|
+
unit?: Distance.Unit;
|
|
4660
|
+
}
|
|
4661
|
+
interface Driver {
|
|
4662
|
+
/**
|
|
4663
|
+
* Driver's identification number.
|
|
4664
|
+
*/
|
|
4665
|
+
driver_identification_number?: string;
|
|
4666
|
+
/**
|
|
4667
|
+
* Driver's tax number.
|
|
4668
|
+
*/
|
|
4669
|
+
driver_tax_number?: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* Full name of the person or entity on the car reservation.
|
|
4672
|
+
*/
|
|
4673
|
+
name: string;
|
|
4674
|
+
}
|
|
4675
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
4676
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
4677
|
+
namespace Delivery {
|
|
4678
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
4679
|
+
interface Recipient {
|
|
4680
|
+
/**
|
|
4681
|
+
* The email of the recipient the ticket is delivered to.
|
|
4682
|
+
*/
|
|
4683
|
+
email?: string;
|
|
4684
|
+
/**
|
|
4685
|
+
* The name of the recipient the ticket is delivered to.
|
|
4686
|
+
*/
|
|
4687
|
+
name?: string;
|
|
4688
|
+
/**
|
|
4689
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4690
|
+
*/
|
|
4691
|
+
phone?: string;
|
|
4692
|
+
}
|
|
4693
|
+
}
|
|
4694
|
+
namespace Distance {
|
|
4695
|
+
type Unit = 'kilometers' | 'miles';
|
|
4696
|
+
}
|
|
4697
|
+
}
|
|
4698
|
+
namespace CarRentalDatum {
|
|
4699
|
+
interface Affiliate {
|
|
4700
|
+
/**
|
|
4701
|
+
* Affiliate partner code.
|
|
4702
|
+
*/
|
|
4703
|
+
code?: string;
|
|
4704
|
+
/**
|
|
4705
|
+
* Name of affiliate partner.
|
|
4706
|
+
*/
|
|
4707
|
+
name?: string;
|
|
4708
|
+
}
|
|
4709
|
+
interface Distance {
|
|
4710
|
+
/**
|
|
4711
|
+
* Distance traveled.
|
|
4712
|
+
*/
|
|
4713
|
+
amount: number;
|
|
4714
|
+
/**
|
|
4715
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4716
|
+
*/
|
|
4717
|
+
unit: Distance.Unit;
|
|
4718
|
+
}
|
|
4719
|
+
interface Driver {
|
|
4720
|
+
/**
|
|
4721
|
+
* Driver's date of birth.
|
|
4722
|
+
*/
|
|
4723
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
4724
|
+
/**
|
|
4725
|
+
* Driver's identification number.
|
|
4726
|
+
*/
|
|
4727
|
+
driver_identification_number?: string;
|
|
4728
|
+
/**
|
|
4729
|
+
* Driver's tax number.
|
|
4730
|
+
*/
|
|
4731
|
+
driver_tax_number?: string;
|
|
4732
|
+
/**
|
|
4733
|
+
* Driver's full name.
|
|
4734
|
+
*/
|
|
4735
|
+
name: string;
|
|
4736
|
+
}
|
|
4737
|
+
interface DropOff {
|
|
4738
|
+
/**
|
|
4739
|
+
* Address of the rental location.
|
|
4740
|
+
*/
|
|
4741
|
+
address: DropOff.Address;
|
|
4742
|
+
/**
|
|
4743
|
+
* Location name.
|
|
4744
|
+
*/
|
|
4745
|
+
location_name?: string;
|
|
4746
|
+
/**
|
|
4747
|
+
* Timestamp for the location.
|
|
4748
|
+
*/
|
|
4749
|
+
time: number;
|
|
4750
|
+
}
|
|
4751
|
+
interface Insurance {
|
|
4752
|
+
/**
|
|
4753
|
+
* Amount of the insurance coverage in cents.
|
|
4754
|
+
*/
|
|
4755
|
+
amount: number;
|
|
4756
|
+
/**
|
|
4757
|
+
* Currency of the insurance amount.
|
|
4758
|
+
*/
|
|
4759
|
+
currency?: string;
|
|
4760
|
+
/**
|
|
4761
|
+
* Name of the insurance company.
|
|
4762
|
+
*/
|
|
4763
|
+
insurance_company_name?: string;
|
|
4764
|
+
/**
|
|
4765
|
+
* Type of insurance coverage.
|
|
4766
|
+
*/
|
|
4767
|
+
insurance_type: Insurance.InsuranceType;
|
|
4768
|
+
}
|
|
4769
|
+
interface Pickup {
|
|
4770
|
+
/**
|
|
4771
|
+
* Address of the rental location.
|
|
4772
|
+
*/
|
|
4773
|
+
address: Pickup.Address;
|
|
4774
|
+
/**
|
|
4775
|
+
* Location name.
|
|
4776
|
+
*/
|
|
4777
|
+
location_name?: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* Timestamp for the location.
|
|
4780
|
+
*/
|
|
4781
|
+
time: number;
|
|
4782
|
+
}
|
|
4783
|
+
interface Total {
|
|
4784
|
+
/**
|
|
4785
|
+
* Total amount in cents.
|
|
4786
|
+
*/
|
|
4787
|
+
amount: number;
|
|
4788
|
+
/**
|
|
4789
|
+
* Currency of the amount.
|
|
4790
|
+
*/
|
|
4791
|
+
currency?: string;
|
|
4792
|
+
/**
|
|
4793
|
+
* Discount details for the rental.
|
|
4794
|
+
*/
|
|
4795
|
+
discounts?: Total.Discounts;
|
|
4796
|
+
/**
|
|
4797
|
+
* Additional charges for the rental.
|
|
4798
|
+
*/
|
|
4799
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4800
|
+
/**
|
|
4801
|
+
* Rate per unit for the rental.
|
|
4802
|
+
*/
|
|
4803
|
+
rate_per_unit?: number;
|
|
4804
|
+
/**
|
|
4805
|
+
* Unit of measurement for the rate.
|
|
4806
|
+
*/
|
|
4807
|
+
rate_unit?: Total.RateUnit;
|
|
4808
|
+
/**
|
|
4809
|
+
* Tax breakdown for the rental.
|
|
4810
|
+
*/
|
|
4811
|
+
tax?: Total.Tax;
|
|
4812
|
+
}
|
|
4813
|
+
interface Vehicle {
|
|
4814
|
+
/**
|
|
4815
|
+
* Make of the rental vehicle.
|
|
4816
|
+
*/
|
|
4817
|
+
make?: string;
|
|
4818
|
+
/**
|
|
4819
|
+
* Model of the rental vehicle.
|
|
4820
|
+
*/
|
|
4821
|
+
model?: string;
|
|
4822
|
+
/**
|
|
4823
|
+
* Odometer reading at the time of rental.
|
|
4824
|
+
*/
|
|
4825
|
+
odometer?: number;
|
|
4826
|
+
/**
|
|
4827
|
+
* Type of the rental vehicle.
|
|
4828
|
+
*/
|
|
4829
|
+
type?: Vehicle.Type;
|
|
4830
|
+
/**
|
|
4831
|
+
* Class of the rental vehicle.
|
|
4832
|
+
*/
|
|
4833
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
4834
|
+
/**
|
|
4835
|
+
* Vehicle identification number (VIN).
|
|
4836
|
+
*/
|
|
4837
|
+
vehicle_identification_number?: string;
|
|
4838
|
+
}
|
|
4839
|
+
namespace Distance {
|
|
4840
|
+
type Unit = 'kilometers' | 'miles';
|
|
4841
|
+
}
|
|
4842
|
+
namespace Driver {
|
|
4843
|
+
interface DateOfBirth {
|
|
4844
|
+
/**
|
|
4845
|
+
* Day of birth (1-31).
|
|
4846
|
+
*/
|
|
4847
|
+
day: number;
|
|
4848
|
+
/**
|
|
4849
|
+
* Month of birth (1-12).
|
|
4850
|
+
*/
|
|
4851
|
+
month: number;
|
|
4852
|
+
/**
|
|
4853
|
+
* Year of birth (must be greater than 1900).
|
|
4854
|
+
*/
|
|
4855
|
+
year: number;
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
namespace DropOff {
|
|
4859
|
+
interface Address {
|
|
4860
|
+
/**
|
|
4861
|
+
* City, district, suburb, town, or village.
|
|
4862
|
+
*/
|
|
4863
|
+
city: string;
|
|
4864
|
+
/**
|
|
4865
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4866
|
+
*/
|
|
4867
|
+
country: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4870
|
+
*/
|
|
4871
|
+
line1: string;
|
|
4872
|
+
/**
|
|
4873
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4874
|
+
*/
|
|
4875
|
+
line2?: string;
|
|
4876
|
+
/**
|
|
4877
|
+
* ZIP or postal code.
|
|
4878
|
+
*/
|
|
4879
|
+
postal_code: string;
|
|
4880
|
+
/**
|
|
4881
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4882
|
+
*/
|
|
4883
|
+
state?: string;
|
|
4884
|
+
}
|
|
4885
|
+
}
|
|
4886
|
+
namespace Insurance {
|
|
4887
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
4888
|
+
}
|
|
4889
|
+
namespace Pickup {
|
|
4890
|
+
interface Address {
|
|
4891
|
+
/**
|
|
4892
|
+
* City, district, suburb, town, or village.
|
|
4893
|
+
*/
|
|
4894
|
+
city: string;
|
|
4895
|
+
/**
|
|
4896
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4897
|
+
*/
|
|
4898
|
+
country: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4901
|
+
*/
|
|
4902
|
+
line1: string;
|
|
4903
|
+
/**
|
|
4904
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4905
|
+
*/
|
|
4906
|
+
line2?: string;
|
|
4907
|
+
/**
|
|
4908
|
+
* ZIP or postal code.
|
|
4909
|
+
*/
|
|
4910
|
+
postal_code: string;
|
|
4911
|
+
/**
|
|
4912
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4913
|
+
*/
|
|
4914
|
+
state?: string;
|
|
4915
|
+
}
|
|
4916
|
+
}
|
|
4917
|
+
namespace Total {
|
|
4918
|
+
interface Discounts {
|
|
4919
|
+
/**
|
|
4920
|
+
* Corporate client discount code.
|
|
4921
|
+
*/
|
|
4922
|
+
corporate_client_code?: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* Coupon code applied to the rental.
|
|
4925
|
+
*/
|
|
4926
|
+
coupon?: string;
|
|
4927
|
+
/**
|
|
4928
|
+
* Maximum number of free miles or kilometers included.
|
|
4929
|
+
*/
|
|
4930
|
+
maximum_free_miles_or_kilometers?: number;
|
|
4931
|
+
}
|
|
4932
|
+
interface ExtraCharge {
|
|
4933
|
+
/**
|
|
4934
|
+
* Amount of the extra charge in cents.
|
|
4935
|
+
*/
|
|
4936
|
+
amount: number;
|
|
4937
|
+
/**
|
|
4938
|
+
* Type of extra charge.
|
|
4939
|
+
*/
|
|
4940
|
+
type: ExtraCharge.Type;
|
|
4941
|
+
}
|
|
4942
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
4943
|
+
interface Tax {
|
|
4944
|
+
/**
|
|
4945
|
+
* Indicates if the transaction is tax exempt.
|
|
4946
|
+
*/
|
|
4947
|
+
tax_exempt_indicator?: boolean;
|
|
4948
|
+
/**
|
|
4949
|
+
* Array of tax details.
|
|
4950
|
+
*/
|
|
4951
|
+
taxes?: Array<Tax.Tax>;
|
|
4952
|
+
}
|
|
4953
|
+
namespace ExtraCharge {
|
|
4954
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
4955
|
+
}
|
|
4956
|
+
namespace Tax {
|
|
4957
|
+
interface Tax {
|
|
4958
|
+
/**
|
|
4959
|
+
* Tax amount.
|
|
4960
|
+
*/
|
|
4961
|
+
amount?: number;
|
|
4962
|
+
/**
|
|
4963
|
+
* Tax rate applied.
|
|
4964
|
+
*/
|
|
4965
|
+
rate?: number;
|
|
4966
|
+
/**
|
|
4967
|
+
* Type of tax applied.
|
|
4968
|
+
*/
|
|
4969
|
+
type?: string;
|
|
4970
|
+
}
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
namespace Vehicle {
|
|
4974
|
+
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';
|
|
4975
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
4976
|
+
}
|
|
4977
|
+
}
|
|
4978
|
+
namespace EventDetails {
|
|
4979
|
+
interface Affiliate {
|
|
4980
|
+
/**
|
|
4981
|
+
* The name of the affiliate that originated the purchase.
|
|
4982
|
+
*/
|
|
4983
|
+
name: string;
|
|
4984
|
+
}
|
|
4985
|
+
interface Delivery {
|
|
4986
|
+
/**
|
|
4987
|
+
* The delivery method for the payment
|
|
4988
|
+
*/
|
|
4989
|
+
mode?: Delivery.Mode;
|
|
4990
|
+
/**
|
|
4991
|
+
* Details of the recipient.
|
|
4992
|
+
*/
|
|
4993
|
+
recipient?: Delivery.Recipient;
|
|
4994
|
+
}
|
|
4995
|
+
namespace Delivery {
|
|
4996
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
4997
|
+
interface Recipient {
|
|
4998
|
+
/**
|
|
4999
|
+
* The email of the recipient the ticket is delivered to.
|
|
5000
|
+
*/
|
|
5001
|
+
email?: string;
|
|
5002
|
+
/**
|
|
5003
|
+
* The name of the recipient the ticket is delivered to.
|
|
5004
|
+
*/
|
|
5005
|
+
name?: string;
|
|
5006
|
+
/**
|
|
5007
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5008
|
+
*/
|
|
5009
|
+
phone?: string;
|
|
5010
|
+
}
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
namespace FleetDatum {
|
|
5014
|
+
interface PrimaryFuelFields {
|
|
5015
|
+
/**
|
|
5016
|
+
* The fuel brand.
|
|
5017
|
+
*/
|
|
5018
|
+
brand?: PrimaryFuelFields.Brand;
|
|
5019
|
+
}
|
|
5020
|
+
interface Station {
|
|
5021
|
+
/**
|
|
5022
|
+
* Additional contact information for the station.
|
|
5023
|
+
*/
|
|
5024
|
+
additional_contact_info?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* The customer service phone number of the station.
|
|
5027
|
+
*/
|
|
5028
|
+
customer_service_phone_number?: string;
|
|
5029
|
+
/**
|
|
5030
|
+
* The partner ID code of the station.
|
|
5031
|
+
*/
|
|
5032
|
+
partner_id_code?: string;
|
|
5033
|
+
/**
|
|
5034
|
+
* The phone number of the station.
|
|
5035
|
+
*/
|
|
5036
|
+
phone_number?: string;
|
|
5037
|
+
/**
|
|
5038
|
+
* The physical location of the station.
|
|
5039
|
+
*/
|
|
5040
|
+
service_location?: ShippingAddressParam;
|
|
5041
|
+
/**
|
|
5042
|
+
* The URL of the station.
|
|
5043
|
+
*/
|
|
5044
|
+
url?: string;
|
|
5045
|
+
}
|
|
5046
|
+
interface Vat {
|
|
5047
|
+
/**
|
|
5048
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
5049
|
+
*/
|
|
5050
|
+
iob_indicator: Vat.IobIndicator;
|
|
5051
|
+
}
|
|
5052
|
+
namespace PrimaryFuelFields {
|
|
5053
|
+
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';
|
|
5054
|
+
}
|
|
5055
|
+
namespace Vat {
|
|
5056
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
namespace Flight {
|
|
5060
|
+
interface Affiliate {
|
|
5061
|
+
/**
|
|
5062
|
+
* The name of the affiliate that originated the purchase.
|
|
5063
|
+
*/
|
|
5064
|
+
name: string;
|
|
5065
|
+
}
|
|
5066
|
+
interface Delivery {
|
|
5067
|
+
/**
|
|
5068
|
+
* The delivery method for the payment
|
|
5069
|
+
*/
|
|
5070
|
+
mode?: Delivery.Mode;
|
|
5071
|
+
/**
|
|
5072
|
+
* Details of the recipient.
|
|
5073
|
+
*/
|
|
5074
|
+
recipient?: Delivery.Recipient;
|
|
5075
|
+
}
|
|
5076
|
+
interface Passenger {
|
|
5077
|
+
/**
|
|
5078
|
+
* Full name of the person or entity on the flight reservation.
|
|
5079
|
+
*/
|
|
5080
|
+
name: string;
|
|
5081
|
+
}
|
|
5082
|
+
interface Segment {
|
|
5083
|
+
/**
|
|
5084
|
+
* The flight segment amount.
|
|
5085
|
+
*/
|
|
5086
|
+
amount?: number;
|
|
5087
|
+
/**
|
|
5088
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
5089
|
+
*/
|
|
5090
|
+
arrival_airport?: string;
|
|
5091
|
+
/**
|
|
5092
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5093
|
+
*/
|
|
5094
|
+
arrives_at?: number;
|
|
5095
|
+
/**
|
|
5096
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
5097
|
+
*/
|
|
5098
|
+
carrier?: string;
|
|
5099
|
+
/**
|
|
5100
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5101
|
+
*/
|
|
5102
|
+
departs_at: number;
|
|
5103
|
+
/**
|
|
5104
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
5105
|
+
*/
|
|
5106
|
+
departure_airport?: string;
|
|
5107
|
+
/**
|
|
5108
|
+
* The flight number associated with the segment
|
|
5109
|
+
*/
|
|
5110
|
+
flight_number?: string;
|
|
5111
|
+
/**
|
|
5112
|
+
* The fare class for the segment.
|
|
5113
|
+
*/
|
|
5114
|
+
service_class?: Segment.ServiceClass;
|
|
5115
|
+
}
|
|
5116
|
+
namespace Delivery {
|
|
5117
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5118
|
+
interface Recipient {
|
|
5119
|
+
/**
|
|
5120
|
+
* The email of the recipient the ticket is delivered to.
|
|
5121
|
+
*/
|
|
5122
|
+
email?: string;
|
|
5123
|
+
/**
|
|
5124
|
+
* The name of the recipient the ticket is delivered to.
|
|
5125
|
+
*/
|
|
5126
|
+
name?: string;
|
|
5127
|
+
/**
|
|
5128
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5129
|
+
*/
|
|
5130
|
+
phone?: string;
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
namespace Segment {
|
|
5134
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
namespace FlightDatum {
|
|
5138
|
+
interface Affiliate {
|
|
5139
|
+
/**
|
|
5140
|
+
* Affiliate partner code.
|
|
5141
|
+
*/
|
|
5142
|
+
code?: string;
|
|
5143
|
+
/**
|
|
5144
|
+
* Name of affiliate partner.
|
|
5145
|
+
*/
|
|
5146
|
+
name?: string;
|
|
5147
|
+
/**
|
|
5148
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
5149
|
+
*/
|
|
5150
|
+
travel_authorization_code?: string;
|
|
5151
|
+
}
|
|
5152
|
+
interface Insurance {
|
|
5153
|
+
/**
|
|
5154
|
+
* Insurance cost.
|
|
5155
|
+
*/
|
|
5156
|
+
amount: number;
|
|
5157
|
+
/**
|
|
5158
|
+
* Insurance currency.
|
|
5159
|
+
*/
|
|
5160
|
+
currency?: string;
|
|
5161
|
+
/**
|
|
5162
|
+
* Insurance company name.
|
|
5163
|
+
*/
|
|
5164
|
+
insurance_company_name?: string;
|
|
5165
|
+
/**
|
|
5166
|
+
* Type of insurance.
|
|
5167
|
+
*/
|
|
5168
|
+
insurance_type: Insurance.InsuranceType;
|
|
5169
|
+
}
|
|
5170
|
+
interface Passenger {
|
|
5171
|
+
/**
|
|
5172
|
+
* Passenger's full name.
|
|
5173
|
+
*/
|
|
5174
|
+
name: string;
|
|
5175
|
+
}
|
|
5176
|
+
interface Segment {
|
|
5177
|
+
/**
|
|
5178
|
+
* Segment fare amount.
|
|
5179
|
+
*/
|
|
5180
|
+
amount?: number;
|
|
5181
|
+
/**
|
|
5182
|
+
* Arrival details.
|
|
5183
|
+
*/
|
|
5184
|
+
arrival: Segment.Arrival;
|
|
5185
|
+
/**
|
|
5186
|
+
* Airline carrier code.
|
|
5187
|
+
*/
|
|
5188
|
+
carrier_code: string;
|
|
5189
|
+
/**
|
|
5190
|
+
* Carrier name.
|
|
5191
|
+
*/
|
|
5192
|
+
carrier_name?: string;
|
|
5193
|
+
/**
|
|
5194
|
+
* Segment currency.
|
|
5195
|
+
*/
|
|
5196
|
+
currency?: string;
|
|
5197
|
+
/**
|
|
5198
|
+
* Departure details.
|
|
5199
|
+
*/
|
|
5200
|
+
departure: Segment.Departure;
|
|
5201
|
+
/**
|
|
5202
|
+
* Exchange ticket number.
|
|
5203
|
+
*/
|
|
5204
|
+
exchange_ticket_number?: string;
|
|
5205
|
+
/**
|
|
5206
|
+
* Fare basis code.
|
|
5207
|
+
*/
|
|
5208
|
+
fare_basis_code?: string;
|
|
5209
|
+
/**
|
|
5210
|
+
* Additional fees.
|
|
5211
|
+
*/
|
|
5212
|
+
fees?: number;
|
|
5213
|
+
/**
|
|
5214
|
+
* Flight number.
|
|
5215
|
+
*/
|
|
5216
|
+
flight_number?: string;
|
|
5217
|
+
/**
|
|
5218
|
+
* Stopover indicator.
|
|
5219
|
+
*/
|
|
5220
|
+
is_stop_over_indicator?: boolean;
|
|
5221
|
+
/**
|
|
5222
|
+
* Refundable ticket indicator.
|
|
5223
|
+
*/
|
|
5224
|
+
refundable?: boolean;
|
|
5225
|
+
/**
|
|
5226
|
+
* Class of service.
|
|
5227
|
+
*/
|
|
5228
|
+
service_class: Segment.ServiceClass;
|
|
5229
|
+
/**
|
|
5230
|
+
* Tax amount for segment.
|
|
5231
|
+
*/
|
|
5232
|
+
tax_amount?: number;
|
|
5233
|
+
/**
|
|
5234
|
+
* Ticket number.
|
|
5235
|
+
*/
|
|
5236
|
+
ticket_number?: string;
|
|
5237
|
+
}
|
|
5238
|
+
interface Total {
|
|
5239
|
+
/**
|
|
5240
|
+
* Total flight amount.
|
|
5241
|
+
*/
|
|
5242
|
+
amount: number;
|
|
5243
|
+
/**
|
|
5244
|
+
* Reason for credit.
|
|
5245
|
+
*/
|
|
5246
|
+
credit_reason?: Total.CreditReason;
|
|
5247
|
+
/**
|
|
5248
|
+
* Total currency.
|
|
5249
|
+
*/
|
|
5250
|
+
currency?: string;
|
|
5251
|
+
/**
|
|
5252
|
+
* Discount details.
|
|
5253
|
+
*/
|
|
5254
|
+
discounts?: Total.Discounts;
|
|
5255
|
+
/**
|
|
5256
|
+
* Additional charges.
|
|
5257
|
+
*/
|
|
5258
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5259
|
+
/**
|
|
5260
|
+
* Tax breakdown.
|
|
5261
|
+
*/
|
|
5262
|
+
tax?: Total.Tax;
|
|
5263
|
+
}
|
|
5264
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
5265
|
+
namespace Insurance {
|
|
5266
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5267
|
+
}
|
|
5268
|
+
namespace Segment {
|
|
5269
|
+
interface Arrival {
|
|
5270
|
+
/**
|
|
5271
|
+
* Arrival airport IATA code.
|
|
5272
|
+
*/
|
|
5273
|
+
airport: string;
|
|
5274
|
+
/**
|
|
5275
|
+
* Arrival date/time.
|
|
5276
|
+
*/
|
|
5277
|
+
arrives_at?: number;
|
|
5278
|
+
/**
|
|
5279
|
+
* Arrival city.
|
|
5280
|
+
*/
|
|
5281
|
+
city?: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* Arrival country.
|
|
5284
|
+
*/
|
|
5285
|
+
country?: string;
|
|
5286
|
+
}
|
|
5287
|
+
interface Departure {
|
|
5288
|
+
/**
|
|
5289
|
+
* Departure airport IATA code.
|
|
5290
|
+
*/
|
|
5291
|
+
airport: string;
|
|
5292
|
+
/**
|
|
5293
|
+
* Departure city.
|
|
5294
|
+
*/
|
|
5295
|
+
city?: string;
|
|
5296
|
+
/**
|
|
5297
|
+
* Departure country.
|
|
5298
|
+
*/
|
|
5299
|
+
country?: string;
|
|
5300
|
+
/**
|
|
5301
|
+
* Departure date/time.
|
|
5302
|
+
*/
|
|
5303
|
+
departs_at: number;
|
|
5304
|
+
}
|
|
5305
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
5306
|
+
}
|
|
5307
|
+
namespace Total {
|
|
5308
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
5309
|
+
interface Discounts {
|
|
5310
|
+
/**
|
|
5311
|
+
* Corporate client discount code.
|
|
5312
|
+
*/
|
|
5313
|
+
corporate_client_code?: string;
|
|
5314
|
+
}
|
|
5315
|
+
interface ExtraCharge {
|
|
5316
|
+
/**
|
|
5317
|
+
* Amount of additional charges.
|
|
5318
|
+
*/
|
|
5319
|
+
amount?: number;
|
|
5320
|
+
/**
|
|
5321
|
+
* Type of additional charges.
|
|
5322
|
+
*/
|
|
5323
|
+
type?: ExtraCharge.Type;
|
|
5324
|
+
}
|
|
5325
|
+
interface Tax {
|
|
5326
|
+
/**
|
|
5327
|
+
* Array of tax details.
|
|
5328
|
+
*/
|
|
5329
|
+
taxes?: Array<Tax.Tax>;
|
|
5330
|
+
}
|
|
5331
|
+
namespace ExtraCharge {
|
|
5332
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
5333
|
+
}
|
|
5334
|
+
namespace Tax {
|
|
5335
|
+
interface Tax {
|
|
5336
|
+
/**
|
|
5337
|
+
* Tax amount.
|
|
5338
|
+
*/
|
|
5339
|
+
amount?: number;
|
|
5340
|
+
/**
|
|
5341
|
+
* Tax rate.
|
|
5342
|
+
*/
|
|
5343
|
+
rate?: number;
|
|
5344
|
+
/**
|
|
5345
|
+
* Type of tax.
|
|
5346
|
+
*/
|
|
5347
|
+
type?: string;
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
}
|
|
5351
|
+
}
|
|
5352
|
+
namespace Lodging {
|
|
5353
|
+
interface Affiliate {
|
|
5354
|
+
/**
|
|
5355
|
+
* The name of the affiliate that originated the purchase.
|
|
5356
|
+
*/
|
|
5357
|
+
name: string;
|
|
5358
|
+
}
|
|
5359
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
5360
|
+
interface Delivery {
|
|
5361
|
+
/**
|
|
5362
|
+
* The delivery method for the payment
|
|
5363
|
+
*/
|
|
5364
|
+
mode?: Delivery.Mode;
|
|
5365
|
+
/**
|
|
5366
|
+
* Details of the recipient.
|
|
5367
|
+
*/
|
|
5368
|
+
recipient?: Delivery.Recipient;
|
|
5369
|
+
}
|
|
5370
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
5371
|
+
interface Passenger {
|
|
5372
|
+
/**
|
|
5373
|
+
* Full name of the person or entity on the lodging reservation.
|
|
5374
|
+
*/
|
|
5375
|
+
name: string;
|
|
5376
|
+
}
|
|
5377
|
+
namespace Delivery {
|
|
5378
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5379
|
+
interface Recipient {
|
|
5380
|
+
/**
|
|
5381
|
+
* The email of the recipient the ticket is delivered to.
|
|
5382
|
+
*/
|
|
5383
|
+
email?: string;
|
|
5384
|
+
/**
|
|
5385
|
+
* The name of the recipient the ticket is delivered to.
|
|
5386
|
+
*/
|
|
5387
|
+
name?: string;
|
|
5388
|
+
/**
|
|
5389
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5390
|
+
*/
|
|
5391
|
+
phone?: string;
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
namespace LodgingDatum {
|
|
5396
|
+
interface Accommodation {
|
|
5397
|
+
/**
|
|
5398
|
+
* Type of accommodation.
|
|
5399
|
+
*/
|
|
5400
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
5401
|
+
/**
|
|
5402
|
+
* Bed type.
|
|
5403
|
+
*/
|
|
5404
|
+
bed_type?: string;
|
|
5405
|
+
/**
|
|
5406
|
+
* Daily accommodation rate in cents.
|
|
5407
|
+
*/
|
|
5408
|
+
daily_rate_amount?: number;
|
|
5409
|
+
/**
|
|
5410
|
+
* Number of nights.
|
|
5411
|
+
*/
|
|
5412
|
+
nights?: number;
|
|
5413
|
+
/**
|
|
5414
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
5415
|
+
*/
|
|
5416
|
+
number_of_rooms?: number;
|
|
5417
|
+
/**
|
|
5418
|
+
* Rate type.
|
|
5419
|
+
*/
|
|
5420
|
+
rate_type?: string;
|
|
5421
|
+
/**
|
|
5422
|
+
* Whether smoking is allowed.
|
|
5423
|
+
*/
|
|
5424
|
+
smoking_indicator?: boolean;
|
|
5425
|
+
}
|
|
5426
|
+
interface Affiliate {
|
|
5427
|
+
/**
|
|
5428
|
+
* Affiliate partner code.
|
|
5429
|
+
*/
|
|
5430
|
+
code?: string;
|
|
5431
|
+
/**
|
|
5432
|
+
* Affiliate partner name.
|
|
5433
|
+
*/
|
|
5434
|
+
name?: string;
|
|
5435
|
+
}
|
|
5436
|
+
interface Guest {
|
|
5437
|
+
/**
|
|
5438
|
+
* Guest's full name.
|
|
5439
|
+
*/
|
|
5440
|
+
name: string;
|
|
5441
|
+
}
|
|
5442
|
+
interface Host {
|
|
5443
|
+
/**
|
|
5444
|
+
* Address of the host.
|
|
5445
|
+
*/
|
|
5446
|
+
address?: Host.Address;
|
|
5447
|
+
/**
|
|
5448
|
+
* Host's country of domicile.
|
|
5449
|
+
*/
|
|
5450
|
+
country_of_domicile?: string;
|
|
5451
|
+
/**
|
|
5452
|
+
* Reference number for the host.
|
|
5453
|
+
*/
|
|
5454
|
+
host_reference?: string;
|
|
5455
|
+
/**
|
|
5456
|
+
* Type of host.
|
|
5457
|
+
*/
|
|
5458
|
+
host_type?: Host.HostType;
|
|
5459
|
+
/**
|
|
5460
|
+
* Name of the lodging property or host.
|
|
5461
|
+
*/
|
|
5462
|
+
name?: string;
|
|
5463
|
+
/**
|
|
5464
|
+
* Total number of reservations for the host.
|
|
5465
|
+
*/
|
|
5466
|
+
number_of_reservations?: number;
|
|
5467
|
+
/**
|
|
5468
|
+
* Property phone number.
|
|
5469
|
+
*/
|
|
5470
|
+
property_phone_number?: string;
|
|
5471
|
+
/**
|
|
5472
|
+
* Host's registration date.
|
|
5473
|
+
*/
|
|
5474
|
+
registered_at?: number;
|
|
5475
|
+
}
|
|
5476
|
+
interface Insurance {
|
|
5477
|
+
/**
|
|
5478
|
+
* Price of the insurance coverage in cents.
|
|
5479
|
+
*/
|
|
5480
|
+
amount: number;
|
|
5481
|
+
/**
|
|
5482
|
+
* Currency of the insurance amount.
|
|
5483
|
+
*/
|
|
5484
|
+
currency?: string;
|
|
5485
|
+
/**
|
|
5486
|
+
* Name of the insurance company.
|
|
5487
|
+
*/
|
|
5488
|
+
insurance_company_name?: string;
|
|
5489
|
+
/**
|
|
5490
|
+
* Type of insurance coverage.
|
|
5491
|
+
*/
|
|
5492
|
+
insurance_type: Insurance.InsuranceType;
|
|
5493
|
+
}
|
|
5494
|
+
interface Total {
|
|
5495
|
+
/**
|
|
5496
|
+
* Total price of the lodging reservation in cents.
|
|
5497
|
+
*/
|
|
5498
|
+
amount: number;
|
|
5499
|
+
/**
|
|
5500
|
+
* Cash advances in cents.
|
|
5501
|
+
*/
|
|
5502
|
+
cash_advances?: number;
|
|
5503
|
+
/**
|
|
5504
|
+
* Currency of the total amount.
|
|
5505
|
+
*/
|
|
5506
|
+
currency?: string;
|
|
5507
|
+
/**
|
|
5508
|
+
* Discount details for the lodging.
|
|
5509
|
+
*/
|
|
5510
|
+
discounts?: Total.Discounts;
|
|
5511
|
+
/**
|
|
5512
|
+
* Additional charges for the lodging.
|
|
5513
|
+
*/
|
|
5514
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5515
|
+
/**
|
|
5516
|
+
* Prepaid amount in cents.
|
|
5517
|
+
*/
|
|
5518
|
+
prepaid_amount?: number;
|
|
5519
|
+
/**
|
|
5520
|
+
* Tax breakdown for the lodging reservation.
|
|
5521
|
+
*/
|
|
5522
|
+
tax?: Total.Tax;
|
|
5523
|
+
}
|
|
5524
|
+
namespace Accommodation {
|
|
5525
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
5526
|
+
}
|
|
5527
|
+
namespace Host {
|
|
5528
|
+
interface Address {
|
|
5529
|
+
/**
|
|
5530
|
+
* City, district, suburb, town, or village.
|
|
5531
|
+
*/
|
|
5532
|
+
city: string;
|
|
5533
|
+
/**
|
|
5534
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5535
|
+
*/
|
|
5536
|
+
country: string;
|
|
5537
|
+
/**
|
|
5538
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5539
|
+
*/
|
|
5540
|
+
line1: string;
|
|
5541
|
+
/**
|
|
5542
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5543
|
+
*/
|
|
5544
|
+
line2?: string;
|
|
5545
|
+
/**
|
|
5546
|
+
* ZIP or postal code.
|
|
5547
|
+
*/
|
|
5548
|
+
postal_code: string;
|
|
5549
|
+
/**
|
|
5550
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5551
|
+
*/
|
|
5552
|
+
state?: string;
|
|
5553
|
+
}
|
|
5554
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
5555
|
+
}
|
|
5556
|
+
namespace Insurance {
|
|
5557
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5558
|
+
}
|
|
5559
|
+
namespace Total {
|
|
5560
|
+
interface Discounts {
|
|
5561
|
+
/**
|
|
5562
|
+
* Corporate client discount code.
|
|
5563
|
+
*/
|
|
5564
|
+
corporate_client_code?: string;
|
|
5565
|
+
/**
|
|
5566
|
+
* Coupon code.
|
|
5567
|
+
*/
|
|
5568
|
+
coupon?: string;
|
|
5569
|
+
}
|
|
5570
|
+
interface ExtraCharge {
|
|
5571
|
+
/**
|
|
5572
|
+
* Amount of the extra charge in cents.
|
|
5573
|
+
*/
|
|
5574
|
+
amount?: number;
|
|
5575
|
+
/**
|
|
5576
|
+
* Type of extra charge.
|
|
5577
|
+
*/
|
|
5578
|
+
type?: ExtraCharge.Type;
|
|
5579
|
+
}
|
|
5580
|
+
interface Tax {
|
|
5581
|
+
/**
|
|
5582
|
+
* Indicates whether the transaction is tax exempt.
|
|
5583
|
+
*/
|
|
5584
|
+
tax_exempt_indicator?: boolean;
|
|
5585
|
+
/**
|
|
5586
|
+
* Tax details.
|
|
5587
|
+
*/
|
|
5588
|
+
taxes?: Array<Tax.Tax>;
|
|
5589
|
+
}
|
|
5590
|
+
namespace ExtraCharge {
|
|
5591
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
5592
|
+
}
|
|
5593
|
+
namespace Tax {
|
|
5594
|
+
interface Tax {
|
|
5595
|
+
/**
|
|
5596
|
+
* Tax amount in cents.
|
|
5597
|
+
*/
|
|
5598
|
+
amount?: number;
|
|
5599
|
+
/**
|
|
5600
|
+
* Tax rate.
|
|
5601
|
+
*/
|
|
5602
|
+
rate?: number;
|
|
5603
|
+
/**
|
|
5604
|
+
* Type of tax applied.
|
|
5605
|
+
*/
|
|
5606
|
+
type?: string;
|
|
5607
|
+
}
|
|
5608
|
+
}
|
|
5609
|
+
}
|
|
5610
|
+
}
|
|
5611
|
+
namespace MoneyServices {
|
|
5612
|
+
interface AccountFunding {
|
|
5613
|
+
/**
|
|
5614
|
+
* ID of the Account representing the beneficiary in this account funding transaction.
|
|
5615
|
+
*/
|
|
5616
|
+
beneficiary_account?: string;
|
|
5617
|
+
/**
|
|
5618
|
+
* Inline identity details for the beneficiary of this account funding transaction.
|
|
5619
|
+
*/
|
|
5620
|
+
beneficiary_details?: Emptyable<AccountFunding.BeneficiaryDetails>;
|
|
5621
|
+
/**
|
|
5622
|
+
* ID of the Account representing the sender in this account funding transaction.
|
|
5623
|
+
*/
|
|
5624
|
+
sender_account?: string;
|
|
5625
|
+
/**
|
|
5626
|
+
* Inline identity details for the sender of this account funding transaction.
|
|
5627
|
+
*/
|
|
5628
|
+
sender_details?: Emptyable<AccountFunding.SenderDetails>;
|
|
5629
|
+
}
|
|
5630
|
+
namespace AccountFunding {
|
|
5631
|
+
interface BeneficiaryDetails {
|
|
5632
|
+
/**
|
|
5633
|
+
* Address.
|
|
5634
|
+
*/
|
|
5635
|
+
address?: AddressParam;
|
|
5636
|
+
/**
|
|
5637
|
+
* Date of birth.
|
|
5638
|
+
*/
|
|
5639
|
+
date_of_birth?: BeneficiaryDetails.DateOfBirth;
|
|
5640
|
+
/**
|
|
5641
|
+
* Email address.
|
|
5642
|
+
*/
|
|
5643
|
+
email?: string;
|
|
5644
|
+
/**
|
|
5645
|
+
* Full name.
|
|
5646
|
+
*/
|
|
5647
|
+
name?: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* Phone number.
|
|
5650
|
+
*/
|
|
5651
|
+
phone?: string;
|
|
5652
|
+
}
|
|
5653
|
+
interface SenderDetails {
|
|
5654
|
+
/**
|
|
5655
|
+
* Address.
|
|
5656
|
+
*/
|
|
5657
|
+
address?: AddressParam;
|
|
5658
|
+
/**
|
|
5659
|
+
* Date of birth.
|
|
5660
|
+
*/
|
|
5661
|
+
date_of_birth?: SenderDetails.DateOfBirth;
|
|
5662
|
+
/**
|
|
5663
|
+
* Email address.
|
|
5664
|
+
*/
|
|
5665
|
+
email?: string;
|
|
5666
|
+
/**
|
|
5667
|
+
* Full name.
|
|
5668
|
+
*/
|
|
5669
|
+
name?: string;
|
|
5670
|
+
/**
|
|
5671
|
+
* Phone number.
|
|
5672
|
+
*/
|
|
5673
|
+
phone?: string;
|
|
5674
|
+
}
|
|
5675
|
+
namespace BeneficiaryDetails {
|
|
5676
|
+
interface DateOfBirth {
|
|
5677
|
+
/**
|
|
5678
|
+
* Day of birth, between 1 and 31.
|
|
5679
|
+
*/
|
|
5680
|
+
day: number;
|
|
5681
|
+
/**
|
|
5682
|
+
* Month of birth, between 1 and 12.
|
|
5683
|
+
*/
|
|
5684
|
+
month: number;
|
|
5685
|
+
/**
|
|
5686
|
+
* Four-digit year of birth.
|
|
5687
|
+
*/
|
|
5688
|
+
year: number;
|
|
5689
|
+
}
|
|
5690
|
+
}
|
|
5691
|
+
namespace SenderDetails {
|
|
5692
|
+
interface DateOfBirth {
|
|
5693
|
+
/**
|
|
5694
|
+
* Day of birth, between 1 and 31.
|
|
5695
|
+
*/
|
|
5696
|
+
day: number;
|
|
5697
|
+
/**
|
|
5698
|
+
* Month of birth, between 1 and 12.
|
|
5699
|
+
*/
|
|
5700
|
+
month: number;
|
|
5701
|
+
/**
|
|
5702
|
+
* Four-digit year of birth.
|
|
5703
|
+
*/
|
|
5704
|
+
year: number;
|
|
5705
|
+
}
|
|
5706
|
+
}
|
|
5707
|
+
}
|
|
5708
|
+
}
|
|
5709
|
+
namespace Subscription {
|
|
5710
|
+
interface Affiliate {
|
|
5711
|
+
/**
|
|
5712
|
+
* The name of the affiliate that originated the purchase.
|
|
5713
|
+
*/
|
|
5714
|
+
name: string;
|
|
5715
|
+
}
|
|
5716
|
+
interface BillingInterval {
|
|
5717
|
+
/**
|
|
5718
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5719
|
+
*/
|
|
5720
|
+
count: number;
|
|
5721
|
+
/**
|
|
5722
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5723
|
+
*/
|
|
5724
|
+
interval: BillingInterval.Interval;
|
|
5725
|
+
}
|
|
5726
|
+
namespace BillingInterval {
|
|
5727
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5728
|
+
}
|
|
5729
|
+
}
|
|
2287
5730
|
}
|
|
2288
5731
|
}
|
|
2289
5732
|
export interface ChargeSearchParams {
|