stripe 22.4.0 → 22.5.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 +3171 -13
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +58 -0
- package/cjs/Error.js +135 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +491 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +9 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +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 +564 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1037 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -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 +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +448 -5
- package/cjs/resources/Billing/Alerts.js +329 -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 +136 -3
- 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 +105 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/cjs/resources/Billing/FeedbackOptions.js +4 -0
- package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
- 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 +13 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +5 -0
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +28 -0
- package/cjs/resources/Charges.d.ts +3367 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1193 -12
- package/cjs/resources/Checkout/Sessions.js +115 -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 +146 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerSessions.d.ts +74 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/Customers.d.ts +98 -1
- package/cjs/resources/Customers.js +195 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1420 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +574 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +181 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -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 +204 -3
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2125 -21
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +524 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +82 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -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 +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +233 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -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 +47 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/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 +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +679 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/cjs/resources/PaymentIntents.d.ts +16109 -2361
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +77 -15
- package/cjs/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +300 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +737 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Persons.d.ts +25 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +77 -1
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +14 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +199 -1
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1179 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -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 +308 -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 +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -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 +115 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +36 -16
- package/cjs/resources/Radar/index.js +6 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +39 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +17 -6
- package/cjs/resources/Reserve/index.js +9 -0
- 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 +35 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +627 -11
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +425 -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 +344 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +266 -1
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2398 -67
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +971 -13
- package/cjs/resources/Subscriptions.js +290 -1
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +46 -4
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +112 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +31 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +16 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +207 -2
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +9 -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 +100 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -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/Terminal/Readers.d.ts +15 -1
- 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 +82 -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 +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -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 +1011 -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 +237 -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 +776 -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/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/cjs/resources/V2/Billing/Contracts.js +331 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -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 +1261 -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 +78 -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 +360 -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 +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -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 +170 -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 +80 -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 +620 -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 +169 -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 +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/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 +111 -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 +215 -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 +336 -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 +510 -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 +175 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +16128 -1981
- package/cjs/resources/V2/Core/Accounts.js +10379 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +331 -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 +360 -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 +225 -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 +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +7881 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -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 +252 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -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 +66 -14
- package/cjs/resources/V2/Core/index.js +18 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -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 +76 -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 +172 -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 +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/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 +218 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -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 +131 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -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 +251 -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 +219 -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 +638 -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 +318 -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 +394 -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/PayoutIntents.d.ts +525 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -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 +92 -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 +481 -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/ReceivedDebitMandates.d.ts +166 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -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 +116 -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/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -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 +297 -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 +150 -0
- package/cjs/resources/V2/MoneyManagement/index.js +51 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +835 -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 +73 -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 +209 -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 +191 -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 +106 -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/Risk/Inquiries.d.ts +143 -0
- package/cjs/resources/V2/Risk/Inquiries.js +29 -0
- package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +14 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -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 +45 -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 +42 -0
- package/cjs/resources/V2/index.js +24 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +19 -0
- package/cjs/resources.js +290 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +15353 -1281
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +158 -54
- package/cjs/stripe.core.js +72 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +58 -0
- package/esm/Error.js +118 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +487 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +9 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +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 +564 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1037 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -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 +55 -1
- package/esm/resources/Billing/Alerts.d.ts +448 -5
- package/esm/resources/Billing/Alerts.js +329 -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 +136 -3
- 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 +105 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/FeedbackOptions.d.ts +32 -0
- package/esm/resources/Billing/FeedbackOptions.js +3 -0
- package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
- 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 +13 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +5 -0
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +28 -0
- package/esm/resources/Charges.d.ts +3367 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1193 -12
- package/esm/resources/Checkout/Sessions.js +115 -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 +146 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +421 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerSessions.d.ts +74 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/Customers.d.ts +98 -1
- package/esm/resources/Customers.js +195 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1420 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +574 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +181 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -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 +204 -3
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2125 -21
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +524 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +82 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -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 +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +233 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -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 +47 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/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 +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +679 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
- package/esm/resources/PaymentIntents.d.ts +16109 -2361
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +77 -15
- package/esm/resources/PaymentLocationCapabilities.d.ts +123 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +300 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +737 -20
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Persons.d.ts +25 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +77 -1
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +158 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +14 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +199 -1
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1179 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1045 -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 +308 -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 +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -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 +115 -1
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +36 -16
- package/esm/resources/Radar/index.js +6 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +39 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +16 -0
- package/esm/resources/Reserve/Plans.js +9 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +17 -6
- package/esm/resources/Reserve/index.js +9 -0
- 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 +35 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +627 -11
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +425 -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 +344 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +266 -1
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2398 -67
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +971 -13
- package/esm/resources/Subscriptions.js +290 -1
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +46 -4
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +112 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +31 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +16 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +207 -2
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +9 -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 +100 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +102 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -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/Terminal/Readers.d.ts +15 -1
- 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 +82 -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 +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -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 +1011 -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 +237 -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 +776 -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/ContractPricingLineQuantityChanges.d.ts +47 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +1484 -0
- package/esm/resources/V2/Billing/Contracts.js +327 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +603 -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 +1261 -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 +78 -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 +360 -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 +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -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 +170 -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 +80 -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 +620 -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 +169 -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 +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/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 +111 -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 +215 -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 +336 -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 +510 -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 +175 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +159 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
- package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +16128 -1981
- package/esm/resources/V2/Core/Accounts.js +10379 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +331 -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 +360 -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 +225 -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 +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +7881 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +234 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +200 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +530 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -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 +252 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -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 +66 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -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 +76 -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 +172 -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 +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/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 +218 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +305 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -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 +131 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -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 +251 -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 +219 -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 +638 -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 +318 -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 +394 -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/PayoutIntents.d.ts +525 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -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 +92 -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 +481 -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/ReceivedDebitMandates.d.ts +166 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -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 +116 -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/TestHelpers/FinancialAddresses.d.ts +34 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -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 +297 -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 +150 -0
- package/esm/resources/V2/MoneyManagement/index.js +47 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +835 -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 +73 -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 +209 -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 +191 -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 +106 -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/Risk/Inquiries.d.ts +143 -0
- package/esm/resources/V2/Risk/Inquiries.js +25 -0
- package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +14 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivity.d.ts +424 -0
- package/esm/resources/V2/Signals/AccountActivity.js +23 -0
- package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +281 -0
- package/esm/resources/V2/Signals/AccountSignals.js +106 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -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 +45 -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 +42 -0
- package/esm/resources/V2/index.js +24 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +19 -0
- package/esm/resources.js +261 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +158 -54
- package/esm/stripe.core.js +43 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +158 -54
- package/esm/stripe.esm.node.js +43 -2
- 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,
|
|
15
|
+
import { Emptyable, MetadataParam, AddressParam, OtherString, 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
|
*/
|
|
@@ -184,6 +189,10 @@ export interface Charge {
|
|
|
184
189
|
* This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
185
190
|
*/
|
|
186
191
|
receipt_url: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
194
|
+
*/
|
|
195
|
+
redaction?: Charge.Redaction | null;
|
|
187
196
|
/**
|
|
188
197
|
* Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
189
198
|
*/
|
|
@@ -341,8 +350,11 @@ export declare namespace Charge {
|
|
|
341
350
|
customer_balance?: PaymentMethodDetails.CustomerBalance;
|
|
342
351
|
eps?: PaymentMethodDetails.Eps;
|
|
343
352
|
fpx?: PaymentMethodDetails.Fpx;
|
|
353
|
+
gift_card?: PaymentMethodDetails.GiftCard;
|
|
344
354
|
giropay?: PaymentMethodDetails.Giropay;
|
|
355
|
+
gopay?: PaymentMethodDetails.Gopay;
|
|
345
356
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
357
|
+
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
346
358
|
ideal?: PaymentMethodDetails.Ideal;
|
|
347
359
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
348
360
|
kakao_pay?: PaymentMethodDetails.KakaoPay;
|
|
@@ -361,19 +373,26 @@ export declare namespace Charge {
|
|
|
361
373
|
payco?: PaymentMethodDetails.Payco;
|
|
362
374
|
paynow?: PaymentMethodDetails.Paynow;
|
|
363
375
|
paypal?: PaymentMethodDetails.Paypal;
|
|
376
|
+
paypay?: PaymentMethodDetails.Paypay;
|
|
364
377
|
payto?: PaymentMethodDetails.Payto;
|
|
365
378
|
pix?: PaymentMethodDetails.Pix;
|
|
366
379
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
380
|
+
qris?: PaymentMethodDetails.Qris;
|
|
381
|
+
rechnung?: PaymentMethodDetails.Rechnung;
|
|
367
382
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
368
383
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
369
384
|
satispay?: PaymentMethodDetails.Satispay;
|
|
370
385
|
scalapay?: PaymentMethodDetails.Scalapay;
|
|
371
386
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
372
387
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
388
|
+
sequra?: PaymentMethodDetails.Sequra;
|
|
389
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
373
390
|
sofort?: PaymentMethodDetails.Sofort;
|
|
374
391
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
392
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
375
393
|
sunbit?: PaymentMethodDetails.Sunbit;
|
|
376
394
|
swish?: PaymentMethodDetails.Swish;
|
|
395
|
+
tamara?: PaymentMethodDetails.Tamara;
|
|
377
396
|
twint?: PaymentMethodDetails.Twint;
|
|
378
397
|
/**
|
|
379
398
|
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
@@ -403,6 +422,12 @@ export declare namespace Charge {
|
|
|
403
422
|
*/
|
|
404
423
|
session?: string;
|
|
405
424
|
}
|
|
425
|
+
interface Redaction {
|
|
426
|
+
/**
|
|
427
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
428
|
+
*/
|
|
429
|
+
status: Redaction.Status;
|
|
430
|
+
}
|
|
406
431
|
interface Shipping {
|
|
407
432
|
address?: Address;
|
|
408
433
|
/**
|
|
@@ -696,14 +721,20 @@ export declare namespace Charge {
|
|
|
696
721
|
tax_id: string;
|
|
697
722
|
}
|
|
698
723
|
interface Card {
|
|
724
|
+
account_funding?: Card.AccountFunding;
|
|
699
725
|
/**
|
|
700
726
|
* The authorized amount.
|
|
701
727
|
*/
|
|
702
728
|
amount_authorized: number | null;
|
|
729
|
+
/**
|
|
730
|
+
* The latest amount intended to be authorized by this charge.
|
|
731
|
+
*/
|
|
732
|
+
amount_requested?: number | null;
|
|
703
733
|
/**
|
|
704
734
|
* Authorization code on the charge.
|
|
705
735
|
*/
|
|
706
736
|
authorization_code: string | null;
|
|
737
|
+
benefits?: Card.Benefits;
|
|
707
738
|
/**
|
|
708
739
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
709
740
|
*/
|
|
@@ -720,10 +751,15 @@ export declare namespace Charge {
|
|
|
720
751
|
* 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.
|
|
721
752
|
*/
|
|
722
753
|
country: string | null;
|
|
754
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
723
755
|
/**
|
|
724
756
|
* 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.)
|
|
725
757
|
*/
|
|
726
758
|
description?: string | null;
|
|
759
|
+
/**
|
|
760
|
+
* The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. The response value is the source of truth; it may differ from the request value if the network downgraded the transaction.
|
|
761
|
+
*/
|
|
762
|
+
electronic_commerce_indicator?: string | null;
|
|
727
763
|
/**
|
|
728
764
|
* Two-digit number representing the card's expiration month.
|
|
729
765
|
*/
|
|
@@ -784,6 +820,15 @@ export declare namespace Charge {
|
|
|
784
820
|
*/
|
|
785
821
|
network_transaction_id: string | null;
|
|
786
822
|
overcapture?: Card.Overcapture;
|
|
823
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
824
|
+
/**
|
|
825
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
826
|
+
*/
|
|
827
|
+
reauthorization?: Card.Reauthorization | null;
|
|
828
|
+
/**
|
|
829
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
830
|
+
*/
|
|
831
|
+
reauthorize_before?: number | null;
|
|
787
832
|
/**
|
|
788
833
|
* Status of a card based on the card issuer.
|
|
789
834
|
*/
|
|
@@ -876,6 +921,7 @@ export declare namespace Charge {
|
|
|
876
921
|
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
877
922
|
*/
|
|
878
923
|
location?: string;
|
|
924
|
+
multicapture?: CardPresent.Multicapture;
|
|
879
925
|
/**
|
|
880
926
|
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
881
927
|
*/
|
|
@@ -904,10 +950,22 @@ export declare namespace Charge {
|
|
|
904
950
|
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
905
951
|
*/
|
|
906
952
|
reader?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
955
|
+
*/
|
|
956
|
+
reauthorization?: CardPresent.Reauthorization | null;
|
|
957
|
+
/**
|
|
958
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
959
|
+
*/
|
|
960
|
+
reauthorize_before?: number | null;
|
|
907
961
|
/**
|
|
908
962
|
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
909
963
|
*/
|
|
910
964
|
receipt: CardPresent.Receipt | null;
|
|
965
|
+
/**
|
|
966
|
+
* The retrieval reference number assigned to this transaction.
|
|
967
|
+
*/
|
|
968
|
+
retrieval_reference_number?: string;
|
|
911
969
|
wallet?: CardPresent.Wallet;
|
|
912
970
|
}
|
|
913
971
|
interface Cashapp {
|
|
@@ -925,6 +983,14 @@ export declare namespace Charge {
|
|
|
925
983
|
transaction_id: string | null;
|
|
926
984
|
}
|
|
927
985
|
interface Crypto {
|
|
986
|
+
/**
|
|
987
|
+
* The amount received for the crypto payment.
|
|
988
|
+
*/
|
|
989
|
+
amount_received?: number;
|
|
990
|
+
/**
|
|
991
|
+
* The amount requested for the crypto payment.
|
|
992
|
+
*/
|
|
993
|
+
amount_requested?: number;
|
|
928
994
|
/**
|
|
929
995
|
* The wallet address of the customer.
|
|
930
996
|
*/
|
|
@@ -970,6 +1036,45 @@ export declare namespace Charge {
|
|
|
970
1036
|
*/
|
|
971
1037
|
transaction_id: string | null;
|
|
972
1038
|
}
|
|
1039
|
+
interface GiftCard {
|
|
1040
|
+
balance: GiftCard.Balance;
|
|
1041
|
+
/**
|
|
1042
|
+
* The brand of the gift card.
|
|
1043
|
+
*/
|
|
1044
|
+
brand: GiftCard.Brand;
|
|
1045
|
+
/**
|
|
1046
|
+
* The expiration month of the gift card.
|
|
1047
|
+
*/
|
|
1048
|
+
exp_month: number | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* The expiration year of the gift card.
|
|
1051
|
+
*/
|
|
1052
|
+
exp_year: number | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Uniquely identifies this particular gift card number. You can use this attribute to check whether two transactions were made using the same gift card.
|
|
1055
|
+
*/
|
|
1056
|
+
fingerprint: string | null;
|
|
1057
|
+
/**
|
|
1058
|
+
* The first six digits of the gift card number.
|
|
1059
|
+
*/
|
|
1060
|
+
first6: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* The last four digits of the gift card number.
|
|
1063
|
+
*/
|
|
1064
|
+
last4: string | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1067
|
+
*/
|
|
1068
|
+
location?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1071
|
+
*/
|
|
1072
|
+
reader?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* The transaction ID from the gift card processor.
|
|
1075
|
+
*/
|
|
1076
|
+
transaction_id: string;
|
|
1077
|
+
}
|
|
973
1078
|
interface Giropay {
|
|
974
1079
|
/**
|
|
975
1080
|
* Bank code of bank associated with the bank account.
|
|
@@ -990,12 +1095,36 @@ export declare namespace Charge {
|
|
|
990
1095
|
*/
|
|
991
1096
|
verified_name: string | null;
|
|
992
1097
|
}
|
|
1098
|
+
interface Gopay {
|
|
1099
|
+
}
|
|
993
1100
|
interface Grabpay {
|
|
994
1101
|
/**
|
|
995
1102
|
* Unique transaction id generated by GrabPay
|
|
996
1103
|
*/
|
|
997
1104
|
transaction_id: string | null;
|
|
998
1105
|
}
|
|
1106
|
+
interface IdBankTransfer {
|
|
1107
|
+
/**
|
|
1108
|
+
* Account number of the bank account to transfer funds to.
|
|
1109
|
+
*/
|
|
1110
|
+
account_number: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Bank where the account is located.
|
|
1113
|
+
*/
|
|
1114
|
+
bank: IdBankTransfer.Bank;
|
|
1115
|
+
/**
|
|
1116
|
+
* Local bank code of the bank.
|
|
1117
|
+
*/
|
|
1118
|
+
bank_code?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Name of the bank associated with the bank account.
|
|
1121
|
+
*/
|
|
1122
|
+
bank_name?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1125
|
+
*/
|
|
1126
|
+
display_name?: string;
|
|
1127
|
+
}
|
|
999
1128
|
interface Ideal {
|
|
1000
1129
|
/**
|
|
1001
1130
|
* 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`.
|
|
@@ -1175,6 +1304,10 @@ export declare namespace Charge {
|
|
|
1175
1304
|
* You could use this attribute to get a sense of international fees.
|
|
1176
1305
|
*/
|
|
1177
1306
|
country: string | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* The pricing bundle applied to this Link payment at confirmation time. Maps to a bundle in your Stripe pricing contract and on Stripe's published pricing page. Omitted if bundle lookup failed at confirmation time.
|
|
1309
|
+
*/
|
|
1310
|
+
pricing_group?: string;
|
|
1178
1311
|
}
|
|
1179
1312
|
interface MbWay {
|
|
1180
1313
|
}
|
|
@@ -1305,10 +1438,34 @@ export declare namespace Charge {
|
|
|
1305
1438
|
* The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1306
1439
|
*/
|
|
1307
1440
|
seller_protection: Paypal.SellerProtection | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1443
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1444
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1445
|
+
*/
|
|
1446
|
+
shipping?: Address | null;
|
|
1308
1447
|
/**
|
|
1309
1448
|
* A unique ID generated by PayPal for this transaction.
|
|
1310
1449
|
*/
|
|
1311
1450
|
transaction_id: string | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1453
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1454
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1455
|
+
*/
|
|
1456
|
+
verified_address?: Address | null;
|
|
1457
|
+
/**
|
|
1458
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1459
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1460
|
+
*/
|
|
1461
|
+
verified_email?: string | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1464
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1465
|
+
*/
|
|
1466
|
+
verified_name?: string | null;
|
|
1467
|
+
}
|
|
1468
|
+
interface Paypay {
|
|
1312
1469
|
}
|
|
1313
1470
|
interface Payto {
|
|
1314
1471
|
/**
|
|
@@ -1348,6 +1505,14 @@ export declare namespace Charge {
|
|
|
1348
1505
|
*/
|
|
1349
1506
|
reference: string | null;
|
|
1350
1507
|
}
|
|
1508
|
+
interface Qris {
|
|
1509
|
+
}
|
|
1510
|
+
interface Rechnung {
|
|
1511
|
+
/**
|
|
1512
|
+
* Payment portal URL.
|
|
1513
|
+
*/
|
|
1514
|
+
payment_portal_url: string | null;
|
|
1515
|
+
}
|
|
1351
1516
|
interface RevolutPay {
|
|
1352
1517
|
funding?: RevolutPay.Funding;
|
|
1353
1518
|
/**
|
|
@@ -1421,6 +1586,14 @@ export declare namespace Charge {
|
|
|
1421
1586
|
*/
|
|
1422
1587
|
mandate: string | null;
|
|
1423
1588
|
}
|
|
1589
|
+
interface Sequra {
|
|
1590
|
+
/**
|
|
1591
|
+
* The Sequra transaction ID associated with this payment.
|
|
1592
|
+
*/
|
|
1593
|
+
transaction_id: string | null;
|
|
1594
|
+
}
|
|
1595
|
+
interface Shopeepay {
|
|
1596
|
+
}
|
|
1424
1597
|
interface Sofort {
|
|
1425
1598
|
/**
|
|
1426
1599
|
* Bank code of bank associated with the bank account.
|
|
@@ -1463,6 +1636,12 @@ export declare namespace Charge {
|
|
|
1463
1636
|
}
|
|
1464
1637
|
interface StripeAccount {
|
|
1465
1638
|
}
|
|
1639
|
+
interface StripeBalance {
|
|
1640
|
+
/**
|
|
1641
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1642
|
+
*/
|
|
1643
|
+
account?: string | null;
|
|
1644
|
+
}
|
|
1466
1645
|
interface Sunbit {
|
|
1467
1646
|
/**
|
|
1468
1647
|
* The Sunbit transaction ID associated with this payment.
|
|
@@ -1483,6 +1662,12 @@ export declare namespace Charge {
|
|
|
1483
1662
|
*/
|
|
1484
1663
|
verified_phone_last4: string | null;
|
|
1485
1664
|
}
|
|
1665
|
+
interface Tamara {
|
|
1666
|
+
/**
|
|
1667
|
+
* The Tamara transaction ID associated with this payment.
|
|
1668
|
+
*/
|
|
1669
|
+
transaction_id: string | null;
|
|
1670
|
+
}
|
|
1486
1671
|
interface Twint {
|
|
1487
1672
|
/**
|
|
1488
1673
|
* ID of the multi use Mandate generated by the PaymentIntent
|
|
@@ -1580,6 +1765,10 @@ export declare namespace Charge {
|
|
|
1580
1765
|
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1581
1766
|
*/
|
|
1582
1767
|
brand: string | null;
|
|
1768
|
+
/**
|
|
1769
|
+
* 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.)
|
|
1770
|
+
*/
|
|
1771
|
+
brand_product?: string | null;
|
|
1583
1772
|
/**
|
|
1584
1773
|
* 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.
|
|
1585
1774
|
*/
|
|
@@ -1607,6 +1796,19 @@ export declare namespace Charge {
|
|
|
1607
1796
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1608
1797
|
}
|
|
1609
1798
|
namespace Card {
|
|
1799
|
+
interface AccountFunding {
|
|
1800
|
+
/**
|
|
1801
|
+
* Indicates whether or not this charge is a funding transaction.
|
|
1802
|
+
*/
|
|
1803
|
+
status: AccountFunding.Status;
|
|
1804
|
+
}
|
|
1805
|
+
interface Benefits {
|
|
1806
|
+
fr_meal_voucher?: Benefits.FrMealVoucher;
|
|
1807
|
+
/**
|
|
1808
|
+
* Issuer of the benefit card utilized on this payment
|
|
1809
|
+
*/
|
|
1810
|
+
issuer: string | null;
|
|
1811
|
+
}
|
|
1610
1812
|
interface Checks {
|
|
1611
1813
|
/**
|
|
1612
1814
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -1621,6 +1823,12 @@ export declare namespace Charge {
|
|
|
1621
1823
|
*/
|
|
1622
1824
|
cvc_check: string | null;
|
|
1623
1825
|
}
|
|
1826
|
+
interface DecrementalAuthorization {
|
|
1827
|
+
/**
|
|
1828
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1829
|
+
*/
|
|
1830
|
+
status: DecrementalAuthorization.Status;
|
|
1831
|
+
}
|
|
1624
1832
|
interface ExtendedAuthorization {
|
|
1625
1833
|
/**
|
|
1626
1834
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1661,6 +1869,18 @@ export declare namespace Charge {
|
|
|
1661
1869
|
*/
|
|
1662
1870
|
status: Overcapture.Status;
|
|
1663
1871
|
}
|
|
1872
|
+
interface PartialAuthorization {
|
|
1873
|
+
/**
|
|
1874
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1875
|
+
*/
|
|
1876
|
+
status: PartialAuthorization.Status;
|
|
1877
|
+
}
|
|
1878
|
+
interface Reauthorization {
|
|
1879
|
+
/**
|
|
1880
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1881
|
+
*/
|
|
1882
|
+
status: Reauthorization.Status;
|
|
1883
|
+
}
|
|
1664
1884
|
type RegulatedStatus = 'regulated' | 'unregulated' | OtherString;
|
|
1665
1885
|
interface ThreeDSecure {
|
|
1666
1886
|
/**
|
|
@@ -1718,6 +1938,20 @@ export declare namespace Charge {
|
|
|
1718
1938
|
type: Wallet.Type;
|
|
1719
1939
|
visa_checkout?: Wallet.VisaCheckout;
|
|
1720
1940
|
}
|
|
1941
|
+
namespace AccountFunding {
|
|
1942
|
+
type Status = 'disabled' | 'enabled';
|
|
1943
|
+
}
|
|
1944
|
+
namespace Benefits {
|
|
1945
|
+
interface FrMealVoucher {
|
|
1946
|
+
/**
|
|
1947
|
+
* The 14-digit SIRET of the meal voucher acceptor used for this charge.
|
|
1948
|
+
*/
|
|
1949
|
+
siret: string;
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
namespace DecrementalAuthorization {
|
|
1953
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
1954
|
+
}
|
|
1721
1955
|
namespace ExtendedAuthorization {
|
|
1722
1956
|
type Status = 'disabled' | 'enabled' | OtherString;
|
|
1723
1957
|
}
|
|
@@ -1750,6 +1984,12 @@ export declare namespace Charge {
|
|
|
1750
1984
|
namespace Overcapture {
|
|
1751
1985
|
type Status = 'available' | 'unavailable' | OtherString;
|
|
1752
1986
|
}
|
|
1987
|
+
namespace PartialAuthorization {
|
|
1988
|
+
type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized' | OtherString;
|
|
1989
|
+
}
|
|
1990
|
+
namespace Reauthorization {
|
|
1991
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
1992
|
+
}
|
|
1753
1993
|
namespace ThreeDSecure {
|
|
1754
1994
|
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
1755
1995
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
@@ -1809,6 +2049,12 @@ export declare namespace Charge {
|
|
|
1809
2049
|
}
|
|
1810
2050
|
}
|
|
1811
2051
|
namespace CardPresent {
|
|
2052
|
+
interface Multicapture {
|
|
2053
|
+
/**
|
|
2054
|
+
* Indicates whether or not multiple captures are supported.
|
|
2055
|
+
*/
|
|
2056
|
+
status: Multicapture.Status;
|
|
2057
|
+
}
|
|
1812
2058
|
interface Offline {
|
|
1813
2059
|
/**
|
|
1814
2060
|
* Time at which the payment was collected while offline
|
|
@@ -1820,6 +2066,12 @@ export declare namespace Charge {
|
|
|
1820
2066
|
type: 'deferred' | null;
|
|
1821
2067
|
}
|
|
1822
2068
|
type ReadMethod = 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2' | OtherString;
|
|
2069
|
+
interface Reauthorization {
|
|
2070
|
+
/**
|
|
2071
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
2072
|
+
*/
|
|
2073
|
+
status: Reauthorization.Status;
|
|
2074
|
+
}
|
|
1823
2075
|
interface Receipt {
|
|
1824
2076
|
/**
|
|
1825
2077
|
* The type of account being debited or credited
|
|
@@ -1864,6 +2116,12 @@ export declare namespace Charge {
|
|
|
1864
2116
|
*/
|
|
1865
2117
|
type: Wallet.Type;
|
|
1866
2118
|
}
|
|
2119
|
+
namespace Multicapture {
|
|
2120
|
+
type Status = 'available' | 'unavailable';
|
|
2121
|
+
}
|
|
2122
|
+
namespace Reauthorization {
|
|
2123
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
2124
|
+
}
|
|
1867
2125
|
namespace Receipt {
|
|
1868
2126
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown' | OtherString;
|
|
1869
2127
|
}
|
|
@@ -1882,6 +2140,22 @@ export declare namespace Charge {
|
|
|
1882
2140
|
type AccountHolderType = 'company' | 'individual';
|
|
1883
2141
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1884
2142
|
}
|
|
2143
|
+
namespace GiftCard {
|
|
2144
|
+
interface Balance {
|
|
2145
|
+
/**
|
|
2146
|
+
* The balance amount in the smallest currency unit.
|
|
2147
|
+
*/
|
|
2148
|
+
amount: number;
|
|
2149
|
+
/**
|
|
2150
|
+
* The currency of the balance.
|
|
2151
|
+
*/
|
|
2152
|
+
currency: string;
|
|
2153
|
+
}
|
|
2154
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs' | OtherString;
|
|
2155
|
+
}
|
|
2156
|
+
namespace IdBankTransfer {
|
|
2157
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata' | OtherString;
|
|
2158
|
+
}
|
|
1885
2159
|
namespace Ideal {
|
|
1886
2160
|
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';
|
|
1887
2161
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
@@ -2017,6 +2291,10 @@ export declare namespace Charge {
|
|
|
2017
2291
|
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
2018
2292
|
*/
|
|
2019
2293
|
brand: string | null;
|
|
2294
|
+
/**
|
|
2295
|
+
* 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.)
|
|
2296
|
+
*/
|
|
2297
|
+
brand_product?: string | null;
|
|
2020
2298
|
/**
|
|
2021
2299
|
* 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.
|
|
2022
2300
|
*/
|
|
@@ -2048,6 +2326,9 @@ export declare namespace Charge {
|
|
|
2048
2326
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
2049
2327
|
}
|
|
2050
2328
|
}
|
|
2329
|
+
namespace Redaction {
|
|
2330
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
2331
|
+
}
|
|
2051
2332
|
}
|
|
2052
2333
|
export interface ChargeCreateParams {
|
|
2053
2334
|
/**
|
|
@@ -2204,6 +2485,10 @@ export interface ChargeUpdateParams {
|
|
|
2204
2485
|
* 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`.
|
|
2205
2486
|
*/
|
|
2206
2487
|
metadata?: Emptyable<MetadataParam>;
|
|
2488
|
+
/**
|
|
2489
|
+
* Provides industry-specific information about the charge.
|
|
2490
|
+
*/
|
|
2491
|
+
payment_details?: ChargeUpdateParams.PaymentDetails;
|
|
2207
2492
|
/**
|
|
2208
2493
|
* 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.
|
|
2209
2494
|
*/
|
|
@@ -2224,6 +2509,56 @@ export declare namespace ChargeUpdateParams {
|
|
|
2224
2509
|
*/
|
|
2225
2510
|
user_report: Emptyable<FraudDetails.UserReport>;
|
|
2226
2511
|
}
|
|
2512
|
+
interface PaymentDetails {
|
|
2513
|
+
/**
|
|
2514
|
+
* Car rental details for this PaymentIntent.
|
|
2515
|
+
*/
|
|
2516
|
+
car_rental?: PaymentDetails.CarRental;
|
|
2517
|
+
/**
|
|
2518
|
+
* Car rental data for this PaymentIntent.
|
|
2519
|
+
*/
|
|
2520
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
2521
|
+
/**
|
|
2522
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
2523
|
+
*
|
|
2524
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2525
|
+
*/
|
|
2526
|
+
customer_reference?: Emptyable<string>;
|
|
2527
|
+
/**
|
|
2528
|
+
* Event details for this PaymentIntent
|
|
2529
|
+
*/
|
|
2530
|
+
event_details?: PaymentDetails.EventDetails;
|
|
2531
|
+
/**
|
|
2532
|
+
* Fleet data for this PaymentIntent.
|
|
2533
|
+
*/
|
|
2534
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
2535
|
+
/**
|
|
2536
|
+
* Flight reservation details for this PaymentIntent
|
|
2537
|
+
*/
|
|
2538
|
+
flight?: PaymentDetails.Flight;
|
|
2539
|
+
/**
|
|
2540
|
+
* Flight data for this PaymentIntent.
|
|
2541
|
+
*/
|
|
2542
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
2543
|
+
/**
|
|
2544
|
+
* Lodging reservation details for this PaymentIntent
|
|
2545
|
+
*/
|
|
2546
|
+
lodging?: PaymentDetails.Lodging;
|
|
2547
|
+
/**
|
|
2548
|
+
* Lodging data for this PaymentIntent.
|
|
2549
|
+
*/
|
|
2550
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
2551
|
+
/**
|
|
2552
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2553
|
+
*
|
|
2554
|
+
* 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.
|
|
2555
|
+
*/
|
|
2556
|
+
order_reference?: Emptyable<string>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Subscription details for this PaymentIntent
|
|
2559
|
+
*/
|
|
2560
|
+
subscription?: PaymentDetails.Subscription;
|
|
2561
|
+
}
|
|
2227
2562
|
interface Shipping {
|
|
2228
2563
|
/**
|
|
2229
2564
|
* Shipping address.
|
|
@@ -2249,75 +2584,3037 @@ export declare namespace ChargeUpdateParams {
|
|
|
2249
2584
|
namespace FraudDetails {
|
|
2250
2585
|
type UserReport = 'fraudulent' | 'safe';
|
|
2251
2586
|
}
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2587
|
+
namespace PaymentDetails {
|
|
2588
|
+
interface CarRental {
|
|
2589
|
+
/**
|
|
2590
|
+
* Affiliate details for this purchase.
|
|
2591
|
+
*/
|
|
2592
|
+
affiliate?: CarRental.Affiliate;
|
|
2593
|
+
/**
|
|
2594
|
+
* The booking number associated with the car rental.
|
|
2595
|
+
*/
|
|
2596
|
+
booking_number: string;
|
|
2597
|
+
/**
|
|
2598
|
+
* Class code of the car.
|
|
2599
|
+
*/
|
|
2600
|
+
car_class_code?: string;
|
|
2601
|
+
/**
|
|
2602
|
+
* Make of the car.
|
|
2603
|
+
*/
|
|
2604
|
+
car_make?: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* Model of the car.
|
|
2607
|
+
*/
|
|
2608
|
+
car_model?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* The name of the rental car company.
|
|
2611
|
+
*/
|
|
2612
|
+
company?: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* The customer service phone number of the car rental company.
|
|
2615
|
+
*/
|
|
2616
|
+
customer_service_phone_number?: string;
|
|
2617
|
+
/**
|
|
2618
|
+
* Number of days the car is being rented.
|
|
2619
|
+
*/
|
|
2620
|
+
days_rented: number;
|
|
2621
|
+
/**
|
|
2622
|
+
* Delivery details for this purchase.
|
|
2623
|
+
*/
|
|
2624
|
+
delivery?: CarRental.Delivery;
|
|
2625
|
+
/**
|
|
2626
|
+
* The details of the distance traveled during the rental period.
|
|
2627
|
+
*/
|
|
2628
|
+
distance?: CarRental.Distance;
|
|
2629
|
+
/**
|
|
2630
|
+
* The details of the passengers in the travel reservation
|
|
2631
|
+
*/
|
|
2632
|
+
drivers?: Array<CarRental.Driver>;
|
|
2633
|
+
/**
|
|
2634
|
+
* List of additional charges being billed.
|
|
2635
|
+
*/
|
|
2636
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
2637
|
+
/**
|
|
2638
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
2639
|
+
*/
|
|
2640
|
+
no_show?: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* Car pick-up address.
|
|
2643
|
+
*/
|
|
2644
|
+
pickup_address?: AddressParam;
|
|
2645
|
+
/**
|
|
2646
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
2647
|
+
*/
|
|
2648
|
+
pickup_at: number;
|
|
2649
|
+
/**
|
|
2650
|
+
* Name of the pickup location.
|
|
2651
|
+
*/
|
|
2652
|
+
pickup_location_name?: string;
|
|
2653
|
+
/**
|
|
2654
|
+
* Rental rate.
|
|
2655
|
+
*/
|
|
2656
|
+
rate_amount?: number;
|
|
2657
|
+
/**
|
|
2658
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
2659
|
+
*/
|
|
2660
|
+
rate_interval?: CarRental.RateInterval;
|
|
2661
|
+
/**
|
|
2662
|
+
* The name of the person or entity renting the car.
|
|
2663
|
+
*/
|
|
2664
|
+
renter_name?: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* Car return address.
|
|
2667
|
+
*/
|
|
2668
|
+
return_address?: AddressParam;
|
|
2669
|
+
/**
|
|
2670
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
2671
|
+
*/
|
|
2672
|
+
return_at: number;
|
|
2673
|
+
/**
|
|
2674
|
+
* Name of the return location.
|
|
2675
|
+
*/
|
|
2676
|
+
return_location_name?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
2679
|
+
*/
|
|
2680
|
+
tax_exempt?: boolean;
|
|
2681
|
+
/**
|
|
2682
|
+
* The vehicle identification number.
|
|
2683
|
+
*/
|
|
2684
|
+
vehicle_identification_number?: string;
|
|
2685
|
+
}
|
|
2686
|
+
interface CarRentalDatum {
|
|
2687
|
+
/**
|
|
2688
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
2689
|
+
*/
|
|
2690
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
2691
|
+
/**
|
|
2692
|
+
* Booking confirmation number for the car rental.
|
|
2693
|
+
*/
|
|
2694
|
+
booking_number?: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* Name of the car rental company.
|
|
2697
|
+
*/
|
|
2698
|
+
carrier_name?: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* Customer service phone number for the car rental company.
|
|
2701
|
+
*/
|
|
2702
|
+
customer_service_phone_number?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* Number of days the car is being rented.
|
|
2705
|
+
*/
|
|
2706
|
+
days_rented?: number;
|
|
2707
|
+
/**
|
|
2708
|
+
* Distance details for the rental.
|
|
2709
|
+
*/
|
|
2710
|
+
distance?: CarRentalDatum.Distance;
|
|
2711
|
+
/**
|
|
2712
|
+
* List of drivers for the rental.
|
|
2713
|
+
*/
|
|
2714
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Drop-off location details.
|
|
2717
|
+
*/
|
|
2718
|
+
drop_off: CarRentalDatum.DropOff;
|
|
2719
|
+
/**
|
|
2720
|
+
* Insurance details for the rental.
|
|
2721
|
+
*/
|
|
2722
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
2723
|
+
/**
|
|
2724
|
+
* Indicates if the customer was a no-show.
|
|
2725
|
+
*/
|
|
2726
|
+
no_show_indicator?: boolean;
|
|
2727
|
+
/**
|
|
2728
|
+
* Pickup location details.
|
|
2729
|
+
*/
|
|
2730
|
+
pickup: CarRentalDatum.Pickup;
|
|
2731
|
+
/**
|
|
2732
|
+
* Name of the person renting the vehicle.
|
|
2733
|
+
*/
|
|
2734
|
+
renter_name?: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* Total cost breakdown for the rental.
|
|
2737
|
+
*/
|
|
2738
|
+
total: CarRentalDatum.Total;
|
|
2739
|
+
/**
|
|
2740
|
+
* Vehicle details for the rental.
|
|
2741
|
+
*/
|
|
2742
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
2743
|
+
}
|
|
2744
|
+
interface EventDetails {
|
|
2745
|
+
/**
|
|
2746
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
2747
|
+
*/
|
|
2748
|
+
access_controlled_venue?: boolean;
|
|
2749
|
+
/**
|
|
2750
|
+
* The event location's address.
|
|
2751
|
+
*/
|
|
2752
|
+
address?: AddressParam;
|
|
2753
|
+
/**
|
|
2754
|
+
* Affiliate details for this purchase.
|
|
2755
|
+
*/
|
|
2756
|
+
affiliate?: EventDetails.Affiliate;
|
|
2757
|
+
/**
|
|
2758
|
+
* The name of the company
|
|
2759
|
+
*/
|
|
2760
|
+
company?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* Delivery details for this purchase.
|
|
2763
|
+
*/
|
|
2764
|
+
delivery?: EventDetails.Delivery;
|
|
2765
|
+
/**
|
|
2766
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
2767
|
+
*/
|
|
2768
|
+
ends_at?: number;
|
|
2769
|
+
/**
|
|
2770
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
2771
|
+
*/
|
|
2772
|
+
genre?: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* The name of the event.
|
|
2775
|
+
*/
|
|
2776
|
+
name: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
2779
|
+
*/
|
|
2780
|
+
starts_at?: number;
|
|
2781
|
+
}
|
|
2782
|
+
interface FleetDatum {
|
|
2783
|
+
/**
|
|
2784
|
+
* Primary fuel fields for the transaction.
|
|
2785
|
+
*/
|
|
2786
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
2787
|
+
/**
|
|
2788
|
+
* Station and acceptor location details.
|
|
2789
|
+
*/
|
|
2790
|
+
station?: FleetDatum.Station;
|
|
2791
|
+
/**
|
|
2792
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
2793
|
+
*/
|
|
2794
|
+
vat?: FleetDatum.Vat;
|
|
2795
|
+
}
|
|
2796
|
+
interface Flight {
|
|
2797
|
+
/**
|
|
2798
|
+
* Affiliate details for this purchase.
|
|
2799
|
+
*/
|
|
2800
|
+
affiliate?: Flight.Affiliate;
|
|
2801
|
+
/**
|
|
2802
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
2803
|
+
*/
|
|
2804
|
+
agency_number?: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
2807
|
+
*/
|
|
2808
|
+
carrier?: string;
|
|
2809
|
+
/**
|
|
2810
|
+
* Delivery details for this purchase.
|
|
2811
|
+
*/
|
|
2812
|
+
delivery?: Flight.Delivery;
|
|
2813
|
+
/**
|
|
2814
|
+
* The name of the person or entity on the reservation.
|
|
2815
|
+
*/
|
|
2816
|
+
passenger_name?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* The details of the passengers in the travel reservation.
|
|
2819
|
+
*/
|
|
2820
|
+
passengers?: Array<Flight.Passenger>;
|
|
2821
|
+
/**
|
|
2822
|
+
* The individual flight segments associated with the trip.
|
|
2823
|
+
*/
|
|
2824
|
+
segments: Array<Flight.Segment>;
|
|
2825
|
+
/**
|
|
2826
|
+
* The ticket number associated with the travel reservation.
|
|
2827
|
+
*/
|
|
2828
|
+
ticket_number?: string;
|
|
2829
|
+
}
|
|
2830
|
+
interface FlightDatum {
|
|
2831
|
+
/**
|
|
2832
|
+
* Affiliate details if applicable.
|
|
2833
|
+
*/
|
|
2834
|
+
affiliate?: FlightDatum.Affiliate;
|
|
2835
|
+
/**
|
|
2836
|
+
* Reservation reference.
|
|
2837
|
+
*/
|
|
2838
|
+
booking_number?: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
2841
|
+
*/
|
|
2842
|
+
computerized_reservation_system?: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* Ticket restrictions.
|
|
2845
|
+
*/
|
|
2846
|
+
endorsements_and_restrictions?: string;
|
|
2847
|
+
/**
|
|
2848
|
+
* List of insurances.
|
|
2849
|
+
*/
|
|
2850
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
2851
|
+
/**
|
|
2852
|
+
* List of passengers.
|
|
2853
|
+
*/
|
|
2854
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
2855
|
+
/**
|
|
2856
|
+
* List of flight segments.
|
|
2857
|
+
*/
|
|
2858
|
+
segments: Array<FlightDatum.Segment>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Electronic ticket indicator.
|
|
2861
|
+
*/
|
|
2862
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
2863
|
+
/**
|
|
2864
|
+
* Total cost breakdown.
|
|
2865
|
+
*/
|
|
2866
|
+
total: FlightDatum.Total;
|
|
2867
|
+
/**
|
|
2868
|
+
* Type of flight transaction.
|
|
2869
|
+
*/
|
|
2870
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
2871
|
+
}
|
|
2872
|
+
interface Lodging {
|
|
2873
|
+
/**
|
|
2874
|
+
* The lodging location's address.
|
|
2875
|
+
*/
|
|
2876
|
+
address?: AddressParam;
|
|
2877
|
+
/**
|
|
2878
|
+
* The number of adults on the booking
|
|
2879
|
+
*/
|
|
2880
|
+
adults?: number;
|
|
2881
|
+
/**
|
|
2882
|
+
* Affiliate details for this purchase.
|
|
2883
|
+
*/
|
|
2884
|
+
affiliate?: Lodging.Affiliate;
|
|
2885
|
+
/**
|
|
2886
|
+
* The booking number associated with the lodging reservation.
|
|
2887
|
+
*/
|
|
2888
|
+
booking_number?: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* The lodging category
|
|
2891
|
+
*/
|
|
2892
|
+
category?: Lodging.Category;
|
|
2893
|
+
/**
|
|
2894
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
2895
|
+
*/
|
|
2896
|
+
checkin_at: number;
|
|
2897
|
+
/**
|
|
2898
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
2899
|
+
*/
|
|
2900
|
+
checkout_at: number;
|
|
2901
|
+
/**
|
|
2902
|
+
* The customer service phone number of the lodging company.
|
|
2903
|
+
*/
|
|
2904
|
+
customer_service_phone_number?: string;
|
|
2905
|
+
/**
|
|
2906
|
+
* The daily lodging room rate.
|
|
2907
|
+
*/
|
|
2908
|
+
daily_room_rate_amount?: number;
|
|
2909
|
+
/**
|
|
2910
|
+
* Delivery details for this purchase.
|
|
2911
|
+
*/
|
|
2912
|
+
delivery?: Lodging.Delivery;
|
|
2913
|
+
/**
|
|
2914
|
+
* List of additional charges being billed.
|
|
2915
|
+
*/
|
|
2916
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
2917
|
+
/**
|
|
2918
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
2919
|
+
*/
|
|
2920
|
+
fire_safety_act_compliance?: boolean;
|
|
2921
|
+
/**
|
|
2922
|
+
* The name of the lodging location.
|
|
2923
|
+
*/
|
|
2924
|
+
name?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
2927
|
+
*/
|
|
2928
|
+
no_show?: boolean;
|
|
2929
|
+
/**
|
|
2930
|
+
* The number of rooms on the booking
|
|
2931
|
+
*/
|
|
2932
|
+
number_of_rooms?: number;
|
|
2933
|
+
/**
|
|
2934
|
+
* The details of the passengers in the travel reservation
|
|
2935
|
+
*/
|
|
2936
|
+
passengers?: Array<Lodging.Passenger>;
|
|
2937
|
+
/**
|
|
2938
|
+
* The phone number of the lodging location.
|
|
2939
|
+
*/
|
|
2940
|
+
property_phone_number?: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* The room class for this purchase.
|
|
2943
|
+
*/
|
|
2944
|
+
room_class?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* The number of room nights
|
|
2947
|
+
*/
|
|
2948
|
+
room_nights?: number;
|
|
2949
|
+
/**
|
|
2950
|
+
* The total tax amount associating with the room reservation.
|
|
2951
|
+
*/
|
|
2952
|
+
total_room_tax_amount?: number;
|
|
2953
|
+
/**
|
|
2954
|
+
* The total tax amount
|
|
2955
|
+
*/
|
|
2956
|
+
total_tax_amount?: number;
|
|
2957
|
+
}
|
|
2958
|
+
interface LodgingDatum {
|
|
2959
|
+
/**
|
|
2960
|
+
* Accommodation details for the lodging.
|
|
2961
|
+
*/
|
|
2962
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
2963
|
+
/**
|
|
2964
|
+
* Affiliate details if applicable.
|
|
2965
|
+
*/
|
|
2966
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
2967
|
+
/**
|
|
2968
|
+
* Booking confirmation number for the lodging.
|
|
2969
|
+
*/
|
|
2970
|
+
booking_number?: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* Check-in date.
|
|
2973
|
+
*/
|
|
2974
|
+
checkin_at: number;
|
|
2975
|
+
/**
|
|
2976
|
+
* Check-out date.
|
|
2977
|
+
*/
|
|
2978
|
+
checkout_at: number;
|
|
2979
|
+
/**
|
|
2980
|
+
* Customer service phone number for the lodging company.
|
|
2981
|
+
*/
|
|
2982
|
+
customer_service_phone_number?: string;
|
|
2983
|
+
/**
|
|
2984
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2985
|
+
*/
|
|
2986
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
2987
|
+
/**
|
|
2988
|
+
* List of guests for the lodging.
|
|
2989
|
+
*/
|
|
2990
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
2991
|
+
/**
|
|
2992
|
+
* Host details for the lodging.
|
|
2993
|
+
*/
|
|
2994
|
+
host?: LodgingDatum.Host;
|
|
2995
|
+
/**
|
|
2996
|
+
* List of insurances for the lodging.
|
|
2997
|
+
*/
|
|
2998
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
2999
|
+
/**
|
|
3000
|
+
* Whether the renter is a no-show.
|
|
3001
|
+
*/
|
|
3002
|
+
no_show_indicator?: boolean;
|
|
3003
|
+
/**
|
|
3004
|
+
* Renter ID number for the lodging.
|
|
3005
|
+
*/
|
|
3006
|
+
renter_id_number?: string;
|
|
3007
|
+
/**
|
|
3008
|
+
* Renter name for the lodging.
|
|
3009
|
+
*/
|
|
3010
|
+
renter_name?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* Total details for the lodging.
|
|
3013
|
+
*/
|
|
3014
|
+
total: LodgingDatum.Total;
|
|
3015
|
+
}
|
|
3016
|
+
interface Subscription {
|
|
3017
|
+
/**
|
|
3018
|
+
* Affiliate details for this purchase.
|
|
3019
|
+
*/
|
|
3020
|
+
affiliate?: Subscription.Affiliate;
|
|
3021
|
+
/**
|
|
3022
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
3023
|
+
*/
|
|
3024
|
+
auto_renewal?: boolean;
|
|
3025
|
+
/**
|
|
3026
|
+
* Subscription billing details for this purchase.
|
|
3027
|
+
*/
|
|
3028
|
+
billing_interval?: Subscription.BillingInterval;
|
|
3029
|
+
/**
|
|
3030
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
3031
|
+
*/
|
|
3032
|
+
ends_at?: number;
|
|
3033
|
+
/**
|
|
3034
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
3035
|
+
*/
|
|
3036
|
+
name: string;
|
|
3037
|
+
/**
|
|
3038
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
3039
|
+
*/
|
|
3040
|
+
starts_at?: number;
|
|
3041
|
+
}
|
|
3042
|
+
namespace CarRental {
|
|
3043
|
+
interface Affiliate {
|
|
3044
|
+
/**
|
|
3045
|
+
* The name of the affiliate that originated the purchase.
|
|
3046
|
+
*/
|
|
3047
|
+
name: string;
|
|
3048
|
+
}
|
|
3049
|
+
interface Delivery {
|
|
3050
|
+
/**
|
|
3051
|
+
* The delivery method for the payment
|
|
3052
|
+
*/
|
|
3053
|
+
mode?: Delivery.Mode;
|
|
3054
|
+
/**
|
|
3055
|
+
* Details of the recipient.
|
|
3056
|
+
*/
|
|
3057
|
+
recipient?: Delivery.Recipient;
|
|
3058
|
+
}
|
|
3059
|
+
interface Distance {
|
|
3060
|
+
/**
|
|
3061
|
+
* Distance traveled.
|
|
3062
|
+
*/
|
|
3063
|
+
amount?: number;
|
|
3064
|
+
/**
|
|
3065
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3066
|
+
*/
|
|
3067
|
+
unit?: Distance.Unit;
|
|
3068
|
+
}
|
|
3069
|
+
interface Driver {
|
|
3070
|
+
/**
|
|
3071
|
+
* Driver's identification number.
|
|
3072
|
+
*/
|
|
3073
|
+
driver_identification_number?: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Driver's tax number.
|
|
3076
|
+
*/
|
|
3077
|
+
driver_tax_number?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* Full name of the person or entity on the car reservation.
|
|
3080
|
+
*/
|
|
3081
|
+
name: string;
|
|
3082
|
+
}
|
|
3083
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation' | OtherString;
|
|
3084
|
+
type RateInterval = 'day' | 'month' | 'week' | OtherString;
|
|
3085
|
+
namespace Delivery {
|
|
3086
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3087
|
+
interface Recipient {
|
|
3088
|
+
/**
|
|
3089
|
+
* The email of the recipient the ticket is delivered to.
|
|
3090
|
+
*/
|
|
3091
|
+
email?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* The name of the recipient the ticket is delivered to.
|
|
3094
|
+
*/
|
|
3095
|
+
name?: string;
|
|
3096
|
+
/**
|
|
3097
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3098
|
+
*/
|
|
3099
|
+
phone?: string;
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
namespace Distance {
|
|
3103
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
namespace CarRentalDatum {
|
|
3107
|
+
interface Affiliate {
|
|
3108
|
+
/**
|
|
3109
|
+
* Affiliate partner code.
|
|
3110
|
+
*/
|
|
3111
|
+
code?: string;
|
|
3112
|
+
/**
|
|
3113
|
+
* Name of affiliate partner.
|
|
3114
|
+
*/
|
|
3115
|
+
name?: string;
|
|
3116
|
+
}
|
|
3117
|
+
interface Distance {
|
|
3118
|
+
/**
|
|
3119
|
+
* Distance traveled.
|
|
3120
|
+
*/
|
|
3121
|
+
amount: number;
|
|
3122
|
+
/**
|
|
3123
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3124
|
+
*/
|
|
3125
|
+
unit: Distance.Unit;
|
|
3126
|
+
}
|
|
3127
|
+
interface Driver {
|
|
3128
|
+
/**
|
|
3129
|
+
* Driver's date of birth.
|
|
3130
|
+
*/
|
|
3131
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
3132
|
+
/**
|
|
3133
|
+
* Driver's identification number.
|
|
3134
|
+
*/
|
|
3135
|
+
driver_identification_number?: string;
|
|
3136
|
+
/**
|
|
3137
|
+
* Driver's tax number.
|
|
3138
|
+
*/
|
|
3139
|
+
driver_tax_number?: string;
|
|
3140
|
+
/**
|
|
3141
|
+
* Driver's full name.
|
|
3142
|
+
*/
|
|
3143
|
+
name: string;
|
|
3144
|
+
}
|
|
3145
|
+
interface DropOff {
|
|
3146
|
+
/**
|
|
3147
|
+
* Address of the rental location.
|
|
3148
|
+
*/
|
|
3149
|
+
address: DropOff.Address;
|
|
3150
|
+
/**
|
|
3151
|
+
* Location name.
|
|
3152
|
+
*/
|
|
3153
|
+
location_name?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* Timestamp for the location.
|
|
3156
|
+
*/
|
|
3157
|
+
time: number;
|
|
3158
|
+
}
|
|
3159
|
+
interface Insurance {
|
|
3160
|
+
/**
|
|
3161
|
+
* Amount of the insurance coverage in cents.
|
|
3162
|
+
*/
|
|
3163
|
+
amount: number;
|
|
3164
|
+
/**
|
|
3165
|
+
* Currency of the insurance amount.
|
|
3166
|
+
*/
|
|
3167
|
+
currency?: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* Name of the insurance company.
|
|
3170
|
+
*/
|
|
3171
|
+
insurance_company_name?: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* Type of insurance coverage.
|
|
3174
|
+
*/
|
|
3175
|
+
insurance_type: Insurance.InsuranceType;
|
|
3176
|
+
}
|
|
3177
|
+
interface Pickup {
|
|
3178
|
+
/**
|
|
3179
|
+
* Address of the rental location.
|
|
3180
|
+
*/
|
|
3181
|
+
address: Pickup.Address;
|
|
3182
|
+
/**
|
|
3183
|
+
* Location name.
|
|
3184
|
+
*/
|
|
3185
|
+
location_name?: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* Timestamp for the location.
|
|
3188
|
+
*/
|
|
3189
|
+
time: number;
|
|
3190
|
+
}
|
|
3191
|
+
interface Total {
|
|
3192
|
+
/**
|
|
3193
|
+
* Total amount in cents.
|
|
3194
|
+
*/
|
|
3195
|
+
amount: number;
|
|
3196
|
+
/**
|
|
3197
|
+
* Currency of the amount.
|
|
3198
|
+
*/
|
|
3199
|
+
currency?: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* Discount details for the rental.
|
|
3202
|
+
*/
|
|
3203
|
+
discounts?: Total.Discounts;
|
|
3204
|
+
/**
|
|
3205
|
+
* Additional charges for the rental.
|
|
3206
|
+
*/
|
|
3207
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3208
|
+
/**
|
|
3209
|
+
* Rate per unit for the rental.
|
|
3210
|
+
*/
|
|
3211
|
+
rate_per_unit?: number;
|
|
3212
|
+
/**
|
|
3213
|
+
* Unit of measurement for the rate.
|
|
3214
|
+
*/
|
|
3215
|
+
rate_unit?: Total.RateUnit;
|
|
3216
|
+
/**
|
|
3217
|
+
* Tax breakdown for the rental.
|
|
3218
|
+
*/
|
|
3219
|
+
tax?: Total.Tax;
|
|
3220
|
+
}
|
|
3221
|
+
interface Vehicle {
|
|
3222
|
+
/**
|
|
3223
|
+
* Make of the rental vehicle.
|
|
3224
|
+
*/
|
|
3225
|
+
make?: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* Model of the rental vehicle.
|
|
3228
|
+
*/
|
|
3229
|
+
model?: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* Odometer reading at the time of rental.
|
|
3232
|
+
*/
|
|
3233
|
+
odometer?: number;
|
|
3234
|
+
/**
|
|
3235
|
+
* Type of the rental vehicle.
|
|
3236
|
+
*/
|
|
3237
|
+
type?: Vehicle.Type;
|
|
3238
|
+
/**
|
|
3239
|
+
* Class of the rental vehicle.
|
|
3240
|
+
*/
|
|
3241
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
3242
|
+
/**
|
|
3243
|
+
* Vehicle identification number (VIN).
|
|
3244
|
+
*/
|
|
3245
|
+
vehicle_identification_number?: string;
|
|
3246
|
+
}
|
|
3247
|
+
namespace Distance {
|
|
3248
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
3249
|
+
}
|
|
3250
|
+
namespace Driver {
|
|
3251
|
+
interface DateOfBirth {
|
|
3252
|
+
/**
|
|
3253
|
+
* Day of birth (1-31).
|
|
3254
|
+
*/
|
|
3255
|
+
day: number;
|
|
3256
|
+
/**
|
|
3257
|
+
* Month of birth (1-12).
|
|
3258
|
+
*/
|
|
3259
|
+
month: number;
|
|
3260
|
+
/**
|
|
3261
|
+
* Year of birth (must be greater than 1900).
|
|
3262
|
+
*/
|
|
3263
|
+
year: number;
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
namespace DropOff {
|
|
3267
|
+
interface Address {
|
|
3268
|
+
/**
|
|
3269
|
+
* City, district, suburb, town, or village.
|
|
3270
|
+
*/
|
|
3271
|
+
city: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3274
|
+
*/
|
|
3275
|
+
country: string;
|
|
3276
|
+
/**
|
|
3277
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3278
|
+
*/
|
|
3279
|
+
line1: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3282
|
+
*/
|
|
3283
|
+
line2?: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* ZIP or postal code.
|
|
3286
|
+
*/
|
|
3287
|
+
postal_code: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3290
|
+
*/
|
|
3291
|
+
state?: string;
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
namespace Insurance {
|
|
3295
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects' | OtherString;
|
|
3296
|
+
}
|
|
3297
|
+
namespace Pickup {
|
|
3298
|
+
interface Address {
|
|
3299
|
+
/**
|
|
3300
|
+
* City, district, suburb, town, or village.
|
|
3301
|
+
*/
|
|
3302
|
+
city: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3305
|
+
*/
|
|
3306
|
+
country: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3309
|
+
*/
|
|
3310
|
+
line1: string;
|
|
3311
|
+
/**
|
|
3312
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3313
|
+
*/
|
|
3314
|
+
line2?: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* ZIP or postal code.
|
|
3317
|
+
*/
|
|
3318
|
+
postal_code: string;
|
|
3319
|
+
/**
|
|
3320
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3321
|
+
*/
|
|
3322
|
+
state?: string;
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
namespace Total {
|
|
3326
|
+
interface Discounts {
|
|
3327
|
+
/**
|
|
3328
|
+
* Corporate client discount code.
|
|
3329
|
+
*/
|
|
3330
|
+
corporate_client_code?: string;
|
|
3331
|
+
/**
|
|
3332
|
+
* Coupon code applied to the rental.
|
|
3333
|
+
*/
|
|
3334
|
+
coupon?: string;
|
|
3335
|
+
/**
|
|
3336
|
+
* Maximum number of free miles or kilometers included.
|
|
3337
|
+
*/
|
|
3338
|
+
maximum_free_miles_or_kilometers?: number;
|
|
3339
|
+
}
|
|
3340
|
+
interface ExtraCharge {
|
|
3341
|
+
/**
|
|
3342
|
+
* Amount of the extra charge in cents.
|
|
3343
|
+
*/
|
|
3344
|
+
amount: number;
|
|
3345
|
+
/**
|
|
3346
|
+
* Type of extra charge.
|
|
3347
|
+
*/
|
|
3348
|
+
type: ExtraCharge.Type;
|
|
3349
|
+
}
|
|
3350
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks' | OtherString;
|
|
3351
|
+
interface Tax {
|
|
3352
|
+
/**
|
|
3353
|
+
* Indicates if the transaction is tax exempt.
|
|
3354
|
+
*/
|
|
3355
|
+
tax_exempt_indicator?: boolean;
|
|
3356
|
+
/**
|
|
3357
|
+
* Array of tax details.
|
|
3358
|
+
*/
|
|
3359
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
3360
|
+
}
|
|
3361
|
+
namespace ExtraCharge {
|
|
3362
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing' | OtherString;
|
|
3363
|
+
}
|
|
3364
|
+
namespace Tax {
|
|
3365
|
+
interface TaxItem {
|
|
3366
|
+
/**
|
|
3367
|
+
* Tax amount.
|
|
3368
|
+
*/
|
|
3369
|
+
amount?: number;
|
|
3370
|
+
/**
|
|
3371
|
+
* Tax rate applied.
|
|
3372
|
+
*/
|
|
3373
|
+
rate?: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* Type of tax applied.
|
|
3376
|
+
*/
|
|
3377
|
+
type?: string;
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
namespace Vehicle {
|
|
3382
|
+
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' | OtherString;
|
|
3383
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
namespace EventDetails {
|
|
3387
|
+
interface Affiliate {
|
|
3388
|
+
/**
|
|
3389
|
+
* The name of the affiliate that originated the purchase.
|
|
3390
|
+
*/
|
|
3391
|
+
name: string;
|
|
3392
|
+
}
|
|
3393
|
+
interface Delivery {
|
|
3394
|
+
/**
|
|
3395
|
+
* The delivery method for the payment
|
|
3396
|
+
*/
|
|
3397
|
+
mode?: Delivery.Mode;
|
|
3398
|
+
/**
|
|
3399
|
+
* Details of the recipient.
|
|
3400
|
+
*/
|
|
3401
|
+
recipient?: Delivery.Recipient;
|
|
3402
|
+
}
|
|
3403
|
+
namespace Delivery {
|
|
3404
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3405
|
+
interface Recipient {
|
|
3406
|
+
/**
|
|
3407
|
+
* The email of the recipient the ticket is delivered to.
|
|
3408
|
+
*/
|
|
3409
|
+
email?: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* The name of the recipient the ticket is delivered to.
|
|
3412
|
+
*/
|
|
3413
|
+
name?: string;
|
|
3414
|
+
/**
|
|
3415
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3416
|
+
*/
|
|
3417
|
+
phone?: string;
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
namespace FleetDatum {
|
|
3422
|
+
interface PrimaryFuelFields {
|
|
3423
|
+
/**
|
|
3424
|
+
* The fuel brand.
|
|
3425
|
+
*/
|
|
3426
|
+
brand?: PrimaryFuelFields.Brand;
|
|
3427
|
+
}
|
|
3428
|
+
interface Station {
|
|
3429
|
+
/**
|
|
3430
|
+
* Additional contact information for the station.
|
|
3431
|
+
*/
|
|
3432
|
+
additional_contact_info?: string;
|
|
3433
|
+
/**
|
|
3434
|
+
* The customer service phone number of the station.
|
|
3435
|
+
*/
|
|
3436
|
+
customer_service_phone_number?: string;
|
|
3437
|
+
/**
|
|
3438
|
+
* The partner ID code of the station.
|
|
3439
|
+
*/
|
|
3440
|
+
partner_id_code?: string;
|
|
3441
|
+
/**
|
|
3442
|
+
* The phone number of the station.
|
|
3443
|
+
*/
|
|
3444
|
+
phone_number?: string;
|
|
3445
|
+
/**
|
|
3446
|
+
* The physical location of the station.
|
|
3447
|
+
*/
|
|
3448
|
+
service_location?: ShippingAddressParam;
|
|
3449
|
+
/**
|
|
3450
|
+
* The URL of the station.
|
|
3451
|
+
*/
|
|
3452
|
+
url?: string;
|
|
3453
|
+
}
|
|
3454
|
+
interface Vat {
|
|
3455
|
+
/**
|
|
3456
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
3457
|
+
*/
|
|
3458
|
+
iob_indicator: Vat.IobIndicator;
|
|
3459
|
+
}
|
|
3460
|
+
namespace PrimaryFuelFields {
|
|
3461
|
+
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' | OtherString;
|
|
3462
|
+
}
|
|
3463
|
+
namespace Vat {
|
|
3464
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob' | OtherString;
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
namespace Flight {
|
|
3468
|
+
interface Affiliate {
|
|
3469
|
+
/**
|
|
3470
|
+
* The name of the affiliate that originated the purchase.
|
|
3471
|
+
*/
|
|
3472
|
+
name: string;
|
|
3473
|
+
}
|
|
3474
|
+
interface Delivery {
|
|
3475
|
+
/**
|
|
3476
|
+
* The delivery method for the payment
|
|
3477
|
+
*/
|
|
3478
|
+
mode?: Delivery.Mode;
|
|
3479
|
+
/**
|
|
3480
|
+
* Details of the recipient.
|
|
3481
|
+
*/
|
|
3482
|
+
recipient?: Delivery.Recipient;
|
|
3483
|
+
}
|
|
3484
|
+
interface Passenger {
|
|
3485
|
+
/**
|
|
3486
|
+
* Full name of the person or entity on the flight reservation.
|
|
3487
|
+
*/
|
|
3488
|
+
name: string;
|
|
3489
|
+
}
|
|
3490
|
+
interface Segment {
|
|
3491
|
+
/**
|
|
3492
|
+
* The flight segment amount.
|
|
3493
|
+
*/
|
|
3494
|
+
amount?: number;
|
|
3495
|
+
/**
|
|
3496
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
3497
|
+
*/
|
|
3498
|
+
arrival_airport?: string;
|
|
3499
|
+
/**
|
|
3500
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3501
|
+
*/
|
|
3502
|
+
arrives_at?: number;
|
|
3503
|
+
/**
|
|
3504
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
3505
|
+
*/
|
|
3506
|
+
carrier?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3509
|
+
*/
|
|
3510
|
+
departs_at: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
3513
|
+
*/
|
|
3514
|
+
departure_airport?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* The flight number associated with the segment
|
|
3517
|
+
*/
|
|
3518
|
+
flight_number?: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* The fare class for the segment.
|
|
3521
|
+
*/
|
|
3522
|
+
service_class?: Segment.ServiceClass;
|
|
3523
|
+
}
|
|
3524
|
+
namespace Delivery {
|
|
3525
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3526
|
+
interface Recipient {
|
|
3527
|
+
/**
|
|
3528
|
+
* The email of the recipient the ticket is delivered to.
|
|
3529
|
+
*/
|
|
3530
|
+
email?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
* The name of the recipient the ticket is delivered to.
|
|
3533
|
+
*/
|
|
3534
|
+
name?: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3537
|
+
*/
|
|
3538
|
+
phone?: string;
|
|
3539
|
+
}
|
|
3540
|
+
}
|
|
3541
|
+
namespace Segment {
|
|
3542
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy' | OtherString;
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
namespace FlightDatum {
|
|
3546
|
+
interface Affiliate {
|
|
3547
|
+
/**
|
|
3548
|
+
* Affiliate partner code.
|
|
3549
|
+
*/
|
|
3550
|
+
code?: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Name of affiliate partner.
|
|
3553
|
+
*/
|
|
3554
|
+
name?: string;
|
|
3555
|
+
/**
|
|
3556
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
3557
|
+
*/
|
|
3558
|
+
travel_authorization_code?: string;
|
|
3559
|
+
}
|
|
3560
|
+
interface Insurance {
|
|
3561
|
+
/**
|
|
3562
|
+
* Insurance cost.
|
|
3563
|
+
*/
|
|
3564
|
+
amount: number;
|
|
3565
|
+
/**
|
|
3566
|
+
* Insurance currency.
|
|
3567
|
+
*/
|
|
3568
|
+
currency?: string;
|
|
3569
|
+
/**
|
|
3570
|
+
* Insurance company name.
|
|
3571
|
+
*/
|
|
3572
|
+
insurance_company_name?: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* Type of insurance.
|
|
3575
|
+
*/
|
|
3576
|
+
insurance_type: Insurance.InsuranceType;
|
|
3577
|
+
}
|
|
3578
|
+
interface Passenger {
|
|
3579
|
+
/**
|
|
3580
|
+
* Passenger's full name.
|
|
3581
|
+
*/
|
|
3582
|
+
name: string;
|
|
3583
|
+
}
|
|
3584
|
+
interface Segment {
|
|
3585
|
+
/**
|
|
3586
|
+
* Segment fare amount.
|
|
3587
|
+
*/
|
|
3588
|
+
amount?: number;
|
|
3589
|
+
/**
|
|
3590
|
+
* Arrival details.
|
|
3591
|
+
*/
|
|
3592
|
+
arrival: Segment.Arrival;
|
|
3593
|
+
/**
|
|
3594
|
+
* Airline carrier code.
|
|
3595
|
+
*/
|
|
3596
|
+
carrier_code: string;
|
|
3597
|
+
/**
|
|
3598
|
+
* Carrier name.
|
|
3599
|
+
*/
|
|
3600
|
+
carrier_name?: string;
|
|
3601
|
+
/**
|
|
3602
|
+
* Segment currency.
|
|
3603
|
+
*/
|
|
3604
|
+
currency?: string;
|
|
3605
|
+
/**
|
|
3606
|
+
* Departure details.
|
|
3607
|
+
*/
|
|
3608
|
+
departure: Segment.Departure;
|
|
3609
|
+
/**
|
|
3610
|
+
* Exchange ticket number.
|
|
3611
|
+
*/
|
|
3612
|
+
exchange_ticket_number?: string;
|
|
3613
|
+
/**
|
|
3614
|
+
* Fare basis code.
|
|
3615
|
+
*/
|
|
3616
|
+
fare_basis_code?: string;
|
|
3617
|
+
/**
|
|
3618
|
+
* Additional fees.
|
|
3619
|
+
*/
|
|
3620
|
+
fees?: number;
|
|
3621
|
+
/**
|
|
3622
|
+
* Flight number.
|
|
3623
|
+
*/
|
|
3624
|
+
flight_number?: string;
|
|
3625
|
+
/**
|
|
3626
|
+
* Stopover indicator.
|
|
3627
|
+
*/
|
|
3628
|
+
is_stop_over_indicator?: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* Refundable ticket indicator.
|
|
3631
|
+
*/
|
|
3632
|
+
refundable?: boolean;
|
|
3633
|
+
/**
|
|
3634
|
+
* Class of service.
|
|
3635
|
+
*/
|
|
3636
|
+
service_class: Segment.ServiceClass;
|
|
3637
|
+
/**
|
|
3638
|
+
* Tax amount for segment.
|
|
3639
|
+
*/
|
|
3640
|
+
tax_amount?: number;
|
|
3641
|
+
/**
|
|
3642
|
+
* Ticket number.
|
|
3643
|
+
*/
|
|
3644
|
+
ticket_number?: string;
|
|
3645
|
+
}
|
|
3646
|
+
interface Total {
|
|
3647
|
+
/**
|
|
3648
|
+
* Total flight amount.
|
|
3649
|
+
*/
|
|
3650
|
+
amount: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* Reason for credit.
|
|
3653
|
+
*/
|
|
3654
|
+
credit_reason?: Total.CreditReason;
|
|
3655
|
+
/**
|
|
3656
|
+
* Total currency.
|
|
3657
|
+
*/
|
|
3658
|
+
currency?: string;
|
|
3659
|
+
/**
|
|
3660
|
+
* Discount details.
|
|
3661
|
+
*/
|
|
3662
|
+
discounts?: Total.Discounts;
|
|
3663
|
+
/**
|
|
3664
|
+
* Additional charges.
|
|
3665
|
+
*/
|
|
3666
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3667
|
+
/**
|
|
3668
|
+
* Tax breakdown.
|
|
3669
|
+
*/
|
|
3670
|
+
tax?: Total.Tax;
|
|
3671
|
+
}
|
|
3672
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase' | OtherString;
|
|
3673
|
+
namespace Insurance {
|
|
3674
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
3675
|
+
}
|
|
3676
|
+
namespace Segment {
|
|
3677
|
+
interface Arrival {
|
|
3678
|
+
/**
|
|
3679
|
+
* Arrival airport IATA code.
|
|
3680
|
+
*/
|
|
3681
|
+
airport: string;
|
|
3682
|
+
/**
|
|
3683
|
+
* Arrival date/time.
|
|
3684
|
+
*/
|
|
3685
|
+
arrives_at?: number;
|
|
3686
|
+
/**
|
|
3687
|
+
* Arrival city.
|
|
3688
|
+
*/
|
|
3689
|
+
city?: string;
|
|
3690
|
+
/**
|
|
3691
|
+
* Arrival country.
|
|
3692
|
+
*/
|
|
3693
|
+
country?: string;
|
|
3694
|
+
}
|
|
3695
|
+
interface Departure {
|
|
3696
|
+
/**
|
|
3697
|
+
* Departure airport IATA code.
|
|
3698
|
+
*/
|
|
3699
|
+
airport: string;
|
|
3700
|
+
/**
|
|
3701
|
+
* Departure city.
|
|
3702
|
+
*/
|
|
3703
|
+
city?: string;
|
|
3704
|
+
/**
|
|
3705
|
+
* Departure country.
|
|
3706
|
+
*/
|
|
3707
|
+
country?: string;
|
|
3708
|
+
/**
|
|
3709
|
+
* Departure date/time.
|
|
3710
|
+
*/
|
|
3711
|
+
departs_at: number;
|
|
3712
|
+
}
|
|
3713
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
3714
|
+
}
|
|
3715
|
+
namespace Total {
|
|
3716
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation' | OtherString;
|
|
3717
|
+
interface Discounts {
|
|
3718
|
+
/**
|
|
3719
|
+
* Corporate client discount code.
|
|
3720
|
+
*/
|
|
3721
|
+
corporate_client_code?: string;
|
|
3722
|
+
}
|
|
3723
|
+
interface ExtraCharge {
|
|
3724
|
+
/**
|
|
3725
|
+
* Amount of additional charges.
|
|
3726
|
+
*/
|
|
3727
|
+
amount?: number;
|
|
3728
|
+
/**
|
|
3729
|
+
* Type of additional charges.
|
|
3730
|
+
*/
|
|
3731
|
+
type?: ExtraCharge.Type;
|
|
3732
|
+
}
|
|
3733
|
+
interface Tax {
|
|
3734
|
+
/**
|
|
3735
|
+
* Array of tax details.
|
|
3736
|
+
*/
|
|
3737
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
3738
|
+
}
|
|
3739
|
+
namespace ExtraCharge {
|
|
3740
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee' | OtherString;
|
|
3741
|
+
}
|
|
3742
|
+
namespace Tax {
|
|
3743
|
+
interface TaxItem {
|
|
3744
|
+
/**
|
|
3745
|
+
* Tax amount.
|
|
3746
|
+
*/
|
|
3747
|
+
amount?: number;
|
|
3748
|
+
/**
|
|
3749
|
+
* Tax rate.
|
|
3750
|
+
*/
|
|
3751
|
+
rate?: number;
|
|
3752
|
+
/**
|
|
3753
|
+
* Type of tax.
|
|
3754
|
+
*/
|
|
3755
|
+
type?: string;
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
namespace Lodging {
|
|
3761
|
+
interface Affiliate {
|
|
3762
|
+
/**
|
|
3763
|
+
* The name of the affiliate that originated the purchase.
|
|
3764
|
+
*/
|
|
3765
|
+
name: string;
|
|
3766
|
+
}
|
|
3767
|
+
type Category = 'hotel' | 'vacation_rental' | OtherString;
|
|
3768
|
+
interface Delivery {
|
|
3769
|
+
/**
|
|
3770
|
+
* The delivery method for the payment
|
|
3771
|
+
*/
|
|
3772
|
+
mode?: Delivery.Mode;
|
|
3773
|
+
/**
|
|
3774
|
+
* Details of the recipient.
|
|
3775
|
+
*/
|
|
3776
|
+
recipient?: Delivery.Recipient;
|
|
3777
|
+
}
|
|
3778
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone' | OtherString;
|
|
3779
|
+
interface Passenger {
|
|
3780
|
+
/**
|
|
3781
|
+
* Full name of the person or entity on the lodging reservation.
|
|
3782
|
+
*/
|
|
3783
|
+
name: string;
|
|
3784
|
+
}
|
|
3785
|
+
namespace Delivery {
|
|
3786
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3787
|
+
interface Recipient {
|
|
3788
|
+
/**
|
|
3789
|
+
* The email of the recipient the ticket is delivered to.
|
|
3790
|
+
*/
|
|
3791
|
+
email?: string;
|
|
3792
|
+
/**
|
|
3793
|
+
* The name of the recipient the ticket is delivered to.
|
|
3794
|
+
*/
|
|
3795
|
+
name?: string;
|
|
3796
|
+
/**
|
|
3797
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3798
|
+
*/
|
|
3799
|
+
phone?: string;
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
}
|
|
3803
|
+
namespace LodgingDatum {
|
|
3804
|
+
interface Accommodation {
|
|
3805
|
+
/**
|
|
3806
|
+
* Type of accommodation.
|
|
3807
|
+
*/
|
|
3808
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
3809
|
+
/**
|
|
3810
|
+
* Bed type.
|
|
3811
|
+
*/
|
|
3812
|
+
bed_type?: string;
|
|
3813
|
+
/**
|
|
3814
|
+
* Daily accommodation rate in cents.
|
|
3815
|
+
*/
|
|
3816
|
+
daily_rate_amount?: number;
|
|
3817
|
+
/**
|
|
3818
|
+
* Number of nights.
|
|
3819
|
+
*/
|
|
3820
|
+
nights?: number;
|
|
3821
|
+
/**
|
|
3822
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
3823
|
+
*/
|
|
3824
|
+
number_of_rooms?: number;
|
|
3825
|
+
/**
|
|
3826
|
+
* Rate type.
|
|
3827
|
+
*/
|
|
3828
|
+
rate_type?: string;
|
|
3829
|
+
/**
|
|
3830
|
+
* Whether smoking is allowed.
|
|
3831
|
+
*/
|
|
3832
|
+
smoking_indicator?: boolean;
|
|
3833
|
+
}
|
|
3834
|
+
interface Affiliate {
|
|
3835
|
+
/**
|
|
3836
|
+
* Affiliate partner code.
|
|
3837
|
+
*/
|
|
3838
|
+
code?: string;
|
|
3839
|
+
/**
|
|
3840
|
+
* Affiliate partner name.
|
|
3841
|
+
*/
|
|
3842
|
+
name?: string;
|
|
3843
|
+
}
|
|
3844
|
+
interface Guest {
|
|
3845
|
+
/**
|
|
3846
|
+
* Guest's full name.
|
|
3847
|
+
*/
|
|
3848
|
+
name: string;
|
|
3849
|
+
}
|
|
3850
|
+
interface Host {
|
|
3851
|
+
/**
|
|
3852
|
+
* Address of the host.
|
|
3853
|
+
*/
|
|
3854
|
+
address?: Host.Address;
|
|
3855
|
+
/**
|
|
3856
|
+
* Host's country of domicile.
|
|
3857
|
+
*/
|
|
3858
|
+
country_of_domicile?: string;
|
|
3859
|
+
/**
|
|
3860
|
+
* Reference number for the host.
|
|
3861
|
+
*/
|
|
3862
|
+
host_reference?: string;
|
|
3863
|
+
/**
|
|
3864
|
+
* Type of host.
|
|
3865
|
+
*/
|
|
3866
|
+
host_type?: Host.HostType;
|
|
3867
|
+
/**
|
|
3868
|
+
* Name of the lodging property or host.
|
|
3869
|
+
*/
|
|
3870
|
+
name?: string;
|
|
3871
|
+
/**
|
|
3872
|
+
* Total number of reservations for the host.
|
|
3873
|
+
*/
|
|
3874
|
+
number_of_reservations?: number;
|
|
3875
|
+
/**
|
|
3876
|
+
* Property phone number.
|
|
3877
|
+
*/
|
|
3878
|
+
property_phone_number?: string;
|
|
3879
|
+
/**
|
|
3880
|
+
* Host's registration date.
|
|
3881
|
+
*/
|
|
3882
|
+
registered_at?: number;
|
|
3883
|
+
}
|
|
3884
|
+
interface Insurance {
|
|
3885
|
+
/**
|
|
3886
|
+
* Price of the insurance coverage in cents.
|
|
3887
|
+
*/
|
|
3888
|
+
amount: number;
|
|
3889
|
+
/**
|
|
3890
|
+
* Currency of the insurance amount.
|
|
3891
|
+
*/
|
|
3892
|
+
currency?: string;
|
|
3893
|
+
/**
|
|
3894
|
+
* Name of the insurance company.
|
|
3895
|
+
*/
|
|
3896
|
+
insurance_company_name?: string;
|
|
3897
|
+
/**
|
|
3898
|
+
* Type of insurance coverage.
|
|
3899
|
+
*/
|
|
3900
|
+
insurance_type: Insurance.InsuranceType;
|
|
3901
|
+
}
|
|
3902
|
+
interface Total {
|
|
3903
|
+
/**
|
|
3904
|
+
* Total price of the lodging reservation in cents.
|
|
3905
|
+
*/
|
|
3906
|
+
amount: number;
|
|
3907
|
+
/**
|
|
3908
|
+
* Cash advances in cents.
|
|
3909
|
+
*/
|
|
3910
|
+
cash_advances?: number;
|
|
3911
|
+
/**
|
|
3912
|
+
* Currency of the total amount.
|
|
3913
|
+
*/
|
|
3914
|
+
currency?: string;
|
|
3915
|
+
/**
|
|
3916
|
+
* Discount details for the lodging.
|
|
3917
|
+
*/
|
|
3918
|
+
discounts?: Total.Discounts;
|
|
3919
|
+
/**
|
|
3920
|
+
* Additional charges for the lodging.
|
|
3921
|
+
*/
|
|
3922
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3923
|
+
/**
|
|
3924
|
+
* Prepaid amount in cents.
|
|
3925
|
+
*/
|
|
3926
|
+
prepaid_amount?: number;
|
|
3927
|
+
/**
|
|
3928
|
+
* Tax breakdown for the lodging reservation.
|
|
3929
|
+
*/
|
|
3930
|
+
tax?: Total.Tax;
|
|
3931
|
+
}
|
|
3932
|
+
namespace Accommodation {
|
|
3933
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa' | OtherString;
|
|
3934
|
+
}
|
|
3935
|
+
namespace Host {
|
|
3936
|
+
interface Address {
|
|
3937
|
+
/**
|
|
3938
|
+
* City, district, suburb, town, or village.
|
|
3939
|
+
*/
|
|
3940
|
+
city: string;
|
|
3941
|
+
/**
|
|
3942
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3943
|
+
*/
|
|
3944
|
+
country: string;
|
|
3945
|
+
/**
|
|
3946
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3947
|
+
*/
|
|
3948
|
+
line1: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3951
|
+
*/
|
|
3952
|
+
line2?: string;
|
|
3953
|
+
/**
|
|
3954
|
+
* ZIP or postal code.
|
|
3955
|
+
*/
|
|
3956
|
+
postal_code: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3959
|
+
*/
|
|
3960
|
+
state?: string;
|
|
3961
|
+
}
|
|
3962
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency' | OtherString;
|
|
3963
|
+
}
|
|
3964
|
+
namespace Insurance {
|
|
3965
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
3966
|
+
}
|
|
3967
|
+
namespace Total {
|
|
3968
|
+
interface Discounts {
|
|
3969
|
+
/**
|
|
3970
|
+
* Corporate client discount code.
|
|
3971
|
+
*/
|
|
3972
|
+
corporate_client_code?: string;
|
|
3973
|
+
/**
|
|
3974
|
+
* Coupon code.
|
|
3975
|
+
*/
|
|
3976
|
+
coupon?: string;
|
|
3977
|
+
}
|
|
3978
|
+
interface ExtraCharge {
|
|
3979
|
+
/**
|
|
3980
|
+
* Amount of the extra charge in cents.
|
|
3981
|
+
*/
|
|
3982
|
+
amount?: number;
|
|
3983
|
+
/**
|
|
3984
|
+
* Type of extra charge.
|
|
3985
|
+
*/
|
|
3986
|
+
type?: ExtraCharge.Type;
|
|
3987
|
+
}
|
|
3988
|
+
interface Tax {
|
|
3989
|
+
/**
|
|
3990
|
+
* Indicates whether the transaction is tax exempt.
|
|
3991
|
+
*/
|
|
3992
|
+
tax_exempt_indicator?: boolean;
|
|
3993
|
+
/**
|
|
3994
|
+
* Tax details.
|
|
3995
|
+
*/
|
|
3996
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
3997
|
+
}
|
|
3998
|
+
namespace ExtraCharge {
|
|
3999
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant' | OtherString;
|
|
4000
|
+
}
|
|
4001
|
+
namespace Tax {
|
|
4002
|
+
interface TaxItem {
|
|
4003
|
+
/**
|
|
4004
|
+
* Tax amount in cents.
|
|
4005
|
+
*/
|
|
4006
|
+
amount?: number;
|
|
4007
|
+
/**
|
|
4008
|
+
* Tax rate.
|
|
4009
|
+
*/
|
|
4010
|
+
rate?: number;
|
|
4011
|
+
/**
|
|
4012
|
+
* Type of tax applied.
|
|
4013
|
+
*/
|
|
4014
|
+
type?: string;
|
|
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' | OtherString;
|
|
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
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
4150
|
+
*
|
|
4151
|
+
* 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.
|
|
4152
|
+
*/
|
|
4153
|
+
order_reference?: Emptyable<string>;
|
|
4154
|
+
/**
|
|
4155
|
+
* Subscription details for this PaymentIntent
|
|
4156
|
+
*/
|
|
4157
|
+
subscription?: PaymentDetails.Subscription;
|
|
4158
|
+
}
|
|
4159
|
+
interface TransferData {
|
|
4160
|
+
/**
|
|
4161
|
+
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
4162
|
+
*/
|
|
4163
|
+
amount?: number;
|
|
4164
|
+
}
|
|
4165
|
+
namespace PaymentDetails {
|
|
4166
|
+
interface CarRental {
|
|
4167
|
+
/**
|
|
4168
|
+
* Affiliate details for this purchase.
|
|
4169
|
+
*/
|
|
4170
|
+
affiliate?: CarRental.Affiliate;
|
|
4171
|
+
/**
|
|
4172
|
+
* The booking number associated with the car rental.
|
|
4173
|
+
*/
|
|
4174
|
+
booking_number: string;
|
|
4175
|
+
/**
|
|
4176
|
+
* Class code of the car.
|
|
4177
|
+
*/
|
|
4178
|
+
car_class_code?: string;
|
|
4179
|
+
/**
|
|
4180
|
+
* Make of the car.
|
|
4181
|
+
*/
|
|
4182
|
+
car_make?: string;
|
|
4183
|
+
/**
|
|
4184
|
+
* Model of the car.
|
|
4185
|
+
*/
|
|
4186
|
+
car_model?: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* The name of the rental car company.
|
|
4189
|
+
*/
|
|
4190
|
+
company?: string;
|
|
4191
|
+
/**
|
|
4192
|
+
* The customer service phone number of the car rental company.
|
|
4193
|
+
*/
|
|
4194
|
+
customer_service_phone_number?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
* Number of days the car is being rented.
|
|
4197
|
+
*/
|
|
4198
|
+
days_rented: number;
|
|
4199
|
+
/**
|
|
4200
|
+
* Delivery details for this purchase.
|
|
4201
|
+
*/
|
|
4202
|
+
delivery?: CarRental.Delivery;
|
|
4203
|
+
/**
|
|
4204
|
+
* The details of the distance traveled during the rental period.
|
|
4205
|
+
*/
|
|
4206
|
+
distance?: CarRental.Distance;
|
|
4207
|
+
/**
|
|
4208
|
+
* The details of the passengers in the travel reservation
|
|
4209
|
+
*/
|
|
4210
|
+
drivers?: Array<CarRental.Driver>;
|
|
4211
|
+
/**
|
|
4212
|
+
* List of additional charges being billed.
|
|
4213
|
+
*/
|
|
4214
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
4215
|
+
/**
|
|
4216
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
4217
|
+
*/
|
|
4218
|
+
no_show?: boolean;
|
|
4219
|
+
/**
|
|
4220
|
+
* Car pick-up address.
|
|
4221
|
+
*/
|
|
4222
|
+
pickup_address?: AddressParam;
|
|
4223
|
+
/**
|
|
4224
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
4225
|
+
*/
|
|
4226
|
+
pickup_at: number;
|
|
4227
|
+
/**
|
|
4228
|
+
* Name of the pickup location.
|
|
4229
|
+
*/
|
|
4230
|
+
pickup_location_name?: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Rental rate.
|
|
4233
|
+
*/
|
|
4234
|
+
rate_amount?: number;
|
|
4235
|
+
/**
|
|
4236
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
4237
|
+
*/
|
|
4238
|
+
rate_interval?: CarRental.RateInterval;
|
|
4239
|
+
/**
|
|
4240
|
+
* The name of the person or entity renting the car.
|
|
4241
|
+
*/
|
|
4242
|
+
renter_name?: string;
|
|
4243
|
+
/**
|
|
4244
|
+
* Car return address.
|
|
4245
|
+
*/
|
|
4246
|
+
return_address?: AddressParam;
|
|
4247
|
+
/**
|
|
4248
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
4249
|
+
*/
|
|
4250
|
+
return_at: number;
|
|
4251
|
+
/**
|
|
4252
|
+
* Name of the return location.
|
|
4253
|
+
*/
|
|
4254
|
+
return_location_name?: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
4257
|
+
*/
|
|
4258
|
+
tax_exempt?: boolean;
|
|
4259
|
+
/**
|
|
4260
|
+
* The vehicle identification number.
|
|
4261
|
+
*/
|
|
4262
|
+
vehicle_identification_number?: string;
|
|
4263
|
+
}
|
|
4264
|
+
interface CarRentalDatum {
|
|
4265
|
+
/**
|
|
4266
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
4267
|
+
*/
|
|
4268
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
4269
|
+
/**
|
|
4270
|
+
* Booking confirmation number for the car rental.
|
|
4271
|
+
*/
|
|
4272
|
+
booking_number?: string;
|
|
4273
|
+
/**
|
|
4274
|
+
* Name of the car rental company.
|
|
4275
|
+
*/
|
|
4276
|
+
carrier_name?: string;
|
|
4277
|
+
/**
|
|
4278
|
+
* Customer service phone number for the car rental company.
|
|
4279
|
+
*/
|
|
4280
|
+
customer_service_phone_number?: string;
|
|
4281
|
+
/**
|
|
4282
|
+
* Number of days the car is being rented.
|
|
4283
|
+
*/
|
|
4284
|
+
days_rented?: number;
|
|
4285
|
+
/**
|
|
4286
|
+
* Distance details for the rental.
|
|
4287
|
+
*/
|
|
4288
|
+
distance?: CarRentalDatum.Distance;
|
|
4289
|
+
/**
|
|
4290
|
+
* List of drivers for the rental.
|
|
4291
|
+
*/
|
|
4292
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
4293
|
+
/**
|
|
4294
|
+
* Drop-off location details.
|
|
4295
|
+
*/
|
|
4296
|
+
drop_off: CarRentalDatum.DropOff;
|
|
4297
|
+
/**
|
|
4298
|
+
* Insurance details for the rental.
|
|
4299
|
+
*/
|
|
4300
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
4301
|
+
/**
|
|
4302
|
+
* Indicates if the customer was a no-show.
|
|
4303
|
+
*/
|
|
4304
|
+
no_show_indicator?: boolean;
|
|
4305
|
+
/**
|
|
4306
|
+
* Pickup location details.
|
|
4307
|
+
*/
|
|
4308
|
+
pickup: CarRentalDatum.Pickup;
|
|
4309
|
+
/**
|
|
4310
|
+
* Name of the person renting the vehicle.
|
|
4311
|
+
*/
|
|
4312
|
+
renter_name?: string;
|
|
4313
|
+
/**
|
|
4314
|
+
* Total cost breakdown for the rental.
|
|
4315
|
+
*/
|
|
4316
|
+
total: CarRentalDatum.Total;
|
|
4317
|
+
/**
|
|
4318
|
+
* Vehicle details for the rental.
|
|
4319
|
+
*/
|
|
4320
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
4321
|
+
}
|
|
4322
|
+
interface EventDetails {
|
|
4323
|
+
/**
|
|
4324
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
4325
|
+
*/
|
|
4326
|
+
access_controlled_venue?: boolean;
|
|
4327
|
+
/**
|
|
4328
|
+
* The event location's address.
|
|
4329
|
+
*/
|
|
4330
|
+
address?: AddressParam;
|
|
4331
|
+
/**
|
|
4332
|
+
* Affiliate details for this purchase.
|
|
4333
|
+
*/
|
|
4334
|
+
affiliate?: EventDetails.Affiliate;
|
|
4335
|
+
/**
|
|
4336
|
+
* The name of the company
|
|
4337
|
+
*/
|
|
4338
|
+
company?: string;
|
|
4339
|
+
/**
|
|
4340
|
+
* Delivery details for this purchase.
|
|
4341
|
+
*/
|
|
4342
|
+
delivery?: EventDetails.Delivery;
|
|
4343
|
+
/**
|
|
4344
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
4345
|
+
*/
|
|
4346
|
+
ends_at?: number;
|
|
4347
|
+
/**
|
|
4348
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
4349
|
+
*/
|
|
4350
|
+
genre?: string;
|
|
4351
|
+
/**
|
|
4352
|
+
* The name of the event.
|
|
4353
|
+
*/
|
|
4354
|
+
name: string;
|
|
4355
|
+
/**
|
|
4356
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
4357
|
+
*/
|
|
4358
|
+
starts_at?: number;
|
|
4359
|
+
}
|
|
4360
|
+
interface FleetDatum {
|
|
4361
|
+
/**
|
|
4362
|
+
* Primary fuel fields for the transaction.
|
|
4363
|
+
*/
|
|
4364
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
4365
|
+
/**
|
|
4366
|
+
* Station and acceptor location details.
|
|
4367
|
+
*/
|
|
4368
|
+
station?: FleetDatum.Station;
|
|
4369
|
+
/**
|
|
4370
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
4371
|
+
*/
|
|
4372
|
+
vat?: FleetDatum.Vat;
|
|
4373
|
+
}
|
|
4374
|
+
interface Flight {
|
|
4375
|
+
/**
|
|
4376
|
+
* Affiliate details for this purchase.
|
|
4377
|
+
*/
|
|
4378
|
+
affiliate?: Flight.Affiliate;
|
|
4379
|
+
/**
|
|
4380
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
4381
|
+
*/
|
|
4382
|
+
agency_number?: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
4385
|
+
*/
|
|
4386
|
+
carrier?: string;
|
|
4387
|
+
/**
|
|
4388
|
+
* Delivery details for this purchase.
|
|
4389
|
+
*/
|
|
4390
|
+
delivery?: Flight.Delivery;
|
|
4391
|
+
/**
|
|
4392
|
+
* The name of the person or entity on the reservation.
|
|
4393
|
+
*/
|
|
4394
|
+
passenger_name?: string;
|
|
4395
|
+
/**
|
|
4396
|
+
* The details of the passengers in the travel reservation.
|
|
4397
|
+
*/
|
|
4398
|
+
passengers?: Array<Flight.Passenger>;
|
|
4399
|
+
/**
|
|
4400
|
+
* The individual flight segments associated with the trip.
|
|
4401
|
+
*/
|
|
4402
|
+
segments: Array<Flight.Segment>;
|
|
4403
|
+
/**
|
|
4404
|
+
* The ticket number associated with the travel reservation.
|
|
4405
|
+
*/
|
|
4406
|
+
ticket_number?: string;
|
|
4407
|
+
}
|
|
4408
|
+
interface FlightDatum {
|
|
4409
|
+
/**
|
|
4410
|
+
* Affiliate details if applicable.
|
|
4411
|
+
*/
|
|
4412
|
+
affiliate?: FlightDatum.Affiliate;
|
|
4413
|
+
/**
|
|
4414
|
+
* Reservation reference.
|
|
4415
|
+
*/
|
|
4416
|
+
booking_number?: string;
|
|
4417
|
+
/**
|
|
4418
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
4419
|
+
*/
|
|
4420
|
+
computerized_reservation_system?: string;
|
|
4421
|
+
/**
|
|
4422
|
+
* Ticket restrictions.
|
|
4423
|
+
*/
|
|
4424
|
+
endorsements_and_restrictions?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* List of insurances.
|
|
4427
|
+
*/
|
|
4428
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
4429
|
+
/**
|
|
4430
|
+
* List of passengers.
|
|
4431
|
+
*/
|
|
4432
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
4433
|
+
/**
|
|
4434
|
+
* List of flight segments.
|
|
4435
|
+
*/
|
|
4436
|
+
segments: Array<FlightDatum.Segment>;
|
|
4437
|
+
/**
|
|
4438
|
+
* Electronic ticket indicator.
|
|
4439
|
+
*/
|
|
4440
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
4441
|
+
/**
|
|
4442
|
+
* Total cost breakdown.
|
|
4443
|
+
*/
|
|
4444
|
+
total: FlightDatum.Total;
|
|
4445
|
+
/**
|
|
4446
|
+
* Type of flight transaction.
|
|
4447
|
+
*/
|
|
4448
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
4449
|
+
}
|
|
4450
|
+
interface Lodging {
|
|
4451
|
+
/**
|
|
4452
|
+
* The lodging location's address.
|
|
4453
|
+
*/
|
|
4454
|
+
address?: AddressParam;
|
|
4455
|
+
/**
|
|
4456
|
+
* The number of adults on the booking
|
|
4457
|
+
*/
|
|
4458
|
+
adults?: number;
|
|
4459
|
+
/**
|
|
4460
|
+
* Affiliate details for this purchase.
|
|
4461
|
+
*/
|
|
4462
|
+
affiliate?: Lodging.Affiliate;
|
|
4463
|
+
/**
|
|
4464
|
+
* The booking number associated with the lodging reservation.
|
|
4465
|
+
*/
|
|
4466
|
+
booking_number?: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* The lodging category
|
|
4469
|
+
*/
|
|
4470
|
+
category?: Lodging.Category;
|
|
4471
|
+
/**
|
|
4472
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
4473
|
+
*/
|
|
4474
|
+
checkin_at: number;
|
|
4475
|
+
/**
|
|
4476
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
4477
|
+
*/
|
|
4478
|
+
checkout_at: number;
|
|
4479
|
+
/**
|
|
4480
|
+
* The customer service phone number of the lodging company.
|
|
4481
|
+
*/
|
|
4482
|
+
customer_service_phone_number?: string;
|
|
4483
|
+
/**
|
|
4484
|
+
* The daily lodging room rate.
|
|
4485
|
+
*/
|
|
4486
|
+
daily_room_rate_amount?: number;
|
|
4487
|
+
/**
|
|
4488
|
+
* Delivery details for this purchase.
|
|
4489
|
+
*/
|
|
4490
|
+
delivery?: Lodging.Delivery;
|
|
4491
|
+
/**
|
|
4492
|
+
* List of additional charges being billed.
|
|
4493
|
+
*/
|
|
4494
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
4495
|
+
/**
|
|
4496
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
4497
|
+
*/
|
|
4498
|
+
fire_safety_act_compliance?: boolean;
|
|
4499
|
+
/**
|
|
4500
|
+
* The name of the lodging location.
|
|
4501
|
+
*/
|
|
4502
|
+
name?: string;
|
|
4503
|
+
/**
|
|
4504
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
4505
|
+
*/
|
|
4506
|
+
no_show?: boolean;
|
|
4507
|
+
/**
|
|
4508
|
+
* The number of rooms on the booking
|
|
4509
|
+
*/
|
|
4510
|
+
number_of_rooms?: number;
|
|
4511
|
+
/**
|
|
4512
|
+
* The details of the passengers in the travel reservation
|
|
4513
|
+
*/
|
|
4514
|
+
passengers?: Array<Lodging.Passenger>;
|
|
4515
|
+
/**
|
|
4516
|
+
* The phone number of the lodging location.
|
|
4517
|
+
*/
|
|
4518
|
+
property_phone_number?: string;
|
|
4519
|
+
/**
|
|
4520
|
+
* The room class for this purchase.
|
|
4521
|
+
*/
|
|
4522
|
+
room_class?: string;
|
|
4523
|
+
/**
|
|
4524
|
+
* The number of room nights
|
|
4525
|
+
*/
|
|
4526
|
+
room_nights?: number;
|
|
4527
|
+
/**
|
|
4528
|
+
* The total tax amount associating with the room reservation.
|
|
4529
|
+
*/
|
|
4530
|
+
total_room_tax_amount?: number;
|
|
4531
|
+
/**
|
|
4532
|
+
* The total tax amount
|
|
4533
|
+
*/
|
|
4534
|
+
total_tax_amount?: number;
|
|
4535
|
+
}
|
|
4536
|
+
interface LodgingDatum {
|
|
4537
|
+
/**
|
|
4538
|
+
* Accommodation details for the lodging.
|
|
4539
|
+
*/
|
|
4540
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
4541
|
+
/**
|
|
4542
|
+
* Affiliate details if applicable.
|
|
4543
|
+
*/
|
|
4544
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
4545
|
+
/**
|
|
4546
|
+
* Booking confirmation number for the lodging.
|
|
4547
|
+
*/
|
|
4548
|
+
booking_number?: string;
|
|
4549
|
+
/**
|
|
4550
|
+
* Check-in date.
|
|
4551
|
+
*/
|
|
4552
|
+
checkin_at: number;
|
|
4553
|
+
/**
|
|
4554
|
+
* Check-out date.
|
|
4555
|
+
*/
|
|
4556
|
+
checkout_at: number;
|
|
4557
|
+
/**
|
|
4558
|
+
* Customer service phone number for the lodging company.
|
|
4559
|
+
*/
|
|
4560
|
+
customer_service_phone_number?: string;
|
|
4561
|
+
/**
|
|
4562
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
4563
|
+
*/
|
|
4564
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
4565
|
+
/**
|
|
4566
|
+
* List of guests for the lodging.
|
|
4567
|
+
*/
|
|
4568
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
4569
|
+
/**
|
|
4570
|
+
* Host details for the lodging.
|
|
4571
|
+
*/
|
|
4572
|
+
host?: LodgingDatum.Host;
|
|
4573
|
+
/**
|
|
4574
|
+
* List of insurances for the lodging.
|
|
4575
|
+
*/
|
|
4576
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
4577
|
+
/**
|
|
4578
|
+
* Whether the renter is a no-show.
|
|
4579
|
+
*/
|
|
4580
|
+
no_show_indicator?: boolean;
|
|
4581
|
+
/**
|
|
4582
|
+
* Renter ID number for the lodging.
|
|
4583
|
+
*/
|
|
4584
|
+
renter_id_number?: string;
|
|
4585
|
+
/**
|
|
4586
|
+
* Renter name for the lodging.
|
|
4587
|
+
*/
|
|
4588
|
+
renter_name?: string;
|
|
4589
|
+
/**
|
|
4590
|
+
* Total details for the lodging.
|
|
4591
|
+
*/
|
|
4592
|
+
total: LodgingDatum.Total;
|
|
4593
|
+
}
|
|
4594
|
+
interface Subscription {
|
|
4595
|
+
/**
|
|
4596
|
+
* Affiliate details for this purchase.
|
|
4597
|
+
*/
|
|
4598
|
+
affiliate?: Subscription.Affiliate;
|
|
4599
|
+
/**
|
|
4600
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
4601
|
+
*/
|
|
4602
|
+
auto_renewal?: boolean;
|
|
4603
|
+
/**
|
|
4604
|
+
* Subscription billing details for this purchase.
|
|
4605
|
+
*/
|
|
4606
|
+
billing_interval?: Subscription.BillingInterval;
|
|
4607
|
+
/**
|
|
4608
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
4609
|
+
*/
|
|
4610
|
+
ends_at?: number;
|
|
4611
|
+
/**
|
|
4612
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
4613
|
+
*/
|
|
4614
|
+
name: string;
|
|
4615
|
+
/**
|
|
4616
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
4617
|
+
*/
|
|
4618
|
+
starts_at?: number;
|
|
4619
|
+
}
|
|
4620
|
+
namespace CarRental {
|
|
4621
|
+
interface Affiliate {
|
|
4622
|
+
/**
|
|
4623
|
+
* The name of the affiliate that originated the purchase.
|
|
4624
|
+
*/
|
|
4625
|
+
name: string;
|
|
4626
|
+
}
|
|
4627
|
+
interface Delivery {
|
|
4628
|
+
/**
|
|
4629
|
+
* The delivery method for the payment
|
|
4630
|
+
*/
|
|
4631
|
+
mode?: Delivery.Mode;
|
|
4632
|
+
/**
|
|
4633
|
+
* Details of the recipient.
|
|
4634
|
+
*/
|
|
4635
|
+
recipient?: Delivery.Recipient;
|
|
4636
|
+
}
|
|
4637
|
+
interface Distance {
|
|
4638
|
+
/**
|
|
4639
|
+
* Distance traveled.
|
|
4640
|
+
*/
|
|
4641
|
+
amount?: number;
|
|
4642
|
+
/**
|
|
4643
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4644
|
+
*/
|
|
4645
|
+
unit?: Distance.Unit;
|
|
4646
|
+
}
|
|
4647
|
+
interface Driver {
|
|
4648
|
+
/**
|
|
4649
|
+
* Driver's identification number.
|
|
4650
|
+
*/
|
|
4651
|
+
driver_identification_number?: string;
|
|
4652
|
+
/**
|
|
4653
|
+
* Driver's tax number.
|
|
4654
|
+
*/
|
|
4655
|
+
driver_tax_number?: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* Full name of the person or entity on the car reservation.
|
|
4658
|
+
*/
|
|
4659
|
+
name: string;
|
|
4660
|
+
}
|
|
4661
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation' | OtherString;
|
|
4662
|
+
type RateInterval = 'day' | 'month' | 'week' | OtherString;
|
|
4663
|
+
namespace Delivery {
|
|
4664
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
4665
|
+
interface Recipient {
|
|
4666
|
+
/**
|
|
4667
|
+
* The email of the recipient the ticket is delivered to.
|
|
4668
|
+
*/
|
|
4669
|
+
email?: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* The name of the recipient the ticket is delivered to.
|
|
4672
|
+
*/
|
|
4673
|
+
name?: string;
|
|
4674
|
+
/**
|
|
4675
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4676
|
+
*/
|
|
4677
|
+
phone?: string;
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
namespace Distance {
|
|
4681
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
namespace CarRentalDatum {
|
|
4685
|
+
interface Affiliate {
|
|
4686
|
+
/**
|
|
4687
|
+
* Affiliate partner code.
|
|
4688
|
+
*/
|
|
4689
|
+
code?: string;
|
|
4690
|
+
/**
|
|
4691
|
+
* Name of affiliate partner.
|
|
4692
|
+
*/
|
|
4693
|
+
name?: string;
|
|
4694
|
+
}
|
|
4695
|
+
interface Distance {
|
|
4696
|
+
/**
|
|
4697
|
+
* Distance traveled.
|
|
4698
|
+
*/
|
|
4699
|
+
amount: number;
|
|
4700
|
+
/**
|
|
4701
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4702
|
+
*/
|
|
4703
|
+
unit: Distance.Unit;
|
|
4704
|
+
}
|
|
4705
|
+
interface Driver {
|
|
4706
|
+
/**
|
|
4707
|
+
* Driver's date of birth.
|
|
4708
|
+
*/
|
|
4709
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
4710
|
+
/**
|
|
4711
|
+
* Driver's identification number.
|
|
4712
|
+
*/
|
|
4713
|
+
driver_identification_number?: string;
|
|
4714
|
+
/**
|
|
4715
|
+
* Driver's tax number.
|
|
4716
|
+
*/
|
|
4717
|
+
driver_tax_number?: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* Driver's full name.
|
|
4720
|
+
*/
|
|
4721
|
+
name: string;
|
|
4722
|
+
}
|
|
4723
|
+
interface DropOff {
|
|
4724
|
+
/**
|
|
4725
|
+
* Address of the rental location.
|
|
4726
|
+
*/
|
|
4727
|
+
address: DropOff.Address;
|
|
4728
|
+
/**
|
|
4729
|
+
* Location name.
|
|
4730
|
+
*/
|
|
4731
|
+
location_name?: string;
|
|
4732
|
+
/**
|
|
4733
|
+
* Timestamp for the location.
|
|
4734
|
+
*/
|
|
4735
|
+
time: number;
|
|
4736
|
+
}
|
|
4737
|
+
interface Insurance {
|
|
4738
|
+
/**
|
|
4739
|
+
* Amount of the insurance coverage in cents.
|
|
4740
|
+
*/
|
|
4741
|
+
amount: number;
|
|
4742
|
+
/**
|
|
4743
|
+
* Currency of the insurance amount.
|
|
4744
|
+
*/
|
|
4745
|
+
currency?: string;
|
|
4746
|
+
/**
|
|
4747
|
+
* Name of the insurance company.
|
|
4748
|
+
*/
|
|
4749
|
+
insurance_company_name?: string;
|
|
4750
|
+
/**
|
|
4751
|
+
* Type of insurance coverage.
|
|
4752
|
+
*/
|
|
4753
|
+
insurance_type: Insurance.InsuranceType;
|
|
4754
|
+
}
|
|
4755
|
+
interface Pickup {
|
|
4756
|
+
/**
|
|
4757
|
+
* Address of the rental location.
|
|
4758
|
+
*/
|
|
4759
|
+
address: Pickup.Address;
|
|
4760
|
+
/**
|
|
4761
|
+
* Location name.
|
|
4762
|
+
*/
|
|
4763
|
+
location_name?: string;
|
|
4764
|
+
/**
|
|
4765
|
+
* Timestamp for the location.
|
|
4766
|
+
*/
|
|
4767
|
+
time: number;
|
|
4768
|
+
}
|
|
4769
|
+
interface Total {
|
|
4770
|
+
/**
|
|
4771
|
+
* Total amount in cents.
|
|
4772
|
+
*/
|
|
4773
|
+
amount: number;
|
|
4774
|
+
/**
|
|
4775
|
+
* Currency of the amount.
|
|
4776
|
+
*/
|
|
4777
|
+
currency?: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* Discount details for the rental.
|
|
4780
|
+
*/
|
|
4781
|
+
discounts?: Total.Discounts;
|
|
4782
|
+
/**
|
|
4783
|
+
* Additional charges for the rental.
|
|
4784
|
+
*/
|
|
4785
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4786
|
+
/**
|
|
4787
|
+
* Rate per unit for the rental.
|
|
4788
|
+
*/
|
|
4789
|
+
rate_per_unit?: number;
|
|
4790
|
+
/**
|
|
4791
|
+
* Unit of measurement for the rate.
|
|
4792
|
+
*/
|
|
4793
|
+
rate_unit?: Total.RateUnit;
|
|
4794
|
+
/**
|
|
4795
|
+
* Tax breakdown for the rental.
|
|
4796
|
+
*/
|
|
4797
|
+
tax?: Total.Tax;
|
|
4798
|
+
}
|
|
4799
|
+
interface Vehicle {
|
|
4800
|
+
/**
|
|
4801
|
+
* Make of the rental vehicle.
|
|
4802
|
+
*/
|
|
4803
|
+
make?: string;
|
|
4804
|
+
/**
|
|
4805
|
+
* Model of the rental vehicle.
|
|
4806
|
+
*/
|
|
4807
|
+
model?: string;
|
|
4808
|
+
/**
|
|
4809
|
+
* Odometer reading at the time of rental.
|
|
4810
|
+
*/
|
|
4811
|
+
odometer?: number;
|
|
4812
|
+
/**
|
|
4813
|
+
* Type of the rental vehicle.
|
|
4814
|
+
*/
|
|
4815
|
+
type?: Vehicle.Type;
|
|
4816
|
+
/**
|
|
4817
|
+
* Class of the rental vehicle.
|
|
4818
|
+
*/
|
|
4819
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
4820
|
+
/**
|
|
4821
|
+
* Vehicle identification number (VIN).
|
|
4822
|
+
*/
|
|
4823
|
+
vehicle_identification_number?: string;
|
|
4824
|
+
}
|
|
4825
|
+
namespace Distance {
|
|
4826
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
4827
|
+
}
|
|
4828
|
+
namespace Driver {
|
|
4829
|
+
interface DateOfBirth {
|
|
4830
|
+
/**
|
|
4831
|
+
* Day of birth (1-31).
|
|
4832
|
+
*/
|
|
4833
|
+
day: number;
|
|
4834
|
+
/**
|
|
4835
|
+
* Month of birth (1-12).
|
|
4836
|
+
*/
|
|
4837
|
+
month: number;
|
|
4838
|
+
/**
|
|
4839
|
+
* Year of birth (must be greater than 1900).
|
|
4840
|
+
*/
|
|
4841
|
+
year: number;
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
4844
|
+
namespace DropOff {
|
|
4845
|
+
interface Address {
|
|
4846
|
+
/**
|
|
4847
|
+
* City, district, suburb, town, or village.
|
|
4848
|
+
*/
|
|
4849
|
+
city: string;
|
|
4850
|
+
/**
|
|
4851
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4852
|
+
*/
|
|
4853
|
+
country: string;
|
|
4854
|
+
/**
|
|
4855
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4856
|
+
*/
|
|
4857
|
+
line1: string;
|
|
4858
|
+
/**
|
|
4859
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4860
|
+
*/
|
|
4861
|
+
line2?: string;
|
|
4862
|
+
/**
|
|
4863
|
+
* ZIP or postal code.
|
|
4864
|
+
*/
|
|
4865
|
+
postal_code: string;
|
|
4866
|
+
/**
|
|
4867
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4868
|
+
*/
|
|
4869
|
+
state?: string;
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
namespace Insurance {
|
|
4873
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects' | OtherString;
|
|
4874
|
+
}
|
|
4875
|
+
namespace Pickup {
|
|
4876
|
+
interface Address {
|
|
4877
|
+
/**
|
|
4878
|
+
* City, district, suburb, town, or village.
|
|
4879
|
+
*/
|
|
4880
|
+
city: string;
|
|
4881
|
+
/**
|
|
4882
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4883
|
+
*/
|
|
4884
|
+
country: string;
|
|
4885
|
+
/**
|
|
4886
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4887
|
+
*/
|
|
4888
|
+
line1: string;
|
|
4889
|
+
/**
|
|
4890
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4891
|
+
*/
|
|
4892
|
+
line2?: string;
|
|
4893
|
+
/**
|
|
4894
|
+
* ZIP or postal code.
|
|
4895
|
+
*/
|
|
4896
|
+
postal_code: string;
|
|
4897
|
+
/**
|
|
4898
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4899
|
+
*/
|
|
4900
|
+
state?: string;
|
|
4901
|
+
}
|
|
4902
|
+
}
|
|
4903
|
+
namespace Total {
|
|
4904
|
+
interface Discounts {
|
|
4905
|
+
/**
|
|
4906
|
+
* Corporate client discount code.
|
|
4907
|
+
*/
|
|
4908
|
+
corporate_client_code?: string;
|
|
4909
|
+
/**
|
|
4910
|
+
* Coupon code applied to the rental.
|
|
4911
|
+
*/
|
|
4912
|
+
coupon?: string;
|
|
4913
|
+
/**
|
|
4914
|
+
* Maximum number of free miles or kilometers included.
|
|
4915
|
+
*/
|
|
4916
|
+
maximum_free_miles_or_kilometers?: number;
|
|
4917
|
+
}
|
|
4918
|
+
interface ExtraCharge {
|
|
4919
|
+
/**
|
|
4920
|
+
* Amount of the extra charge in cents.
|
|
4921
|
+
*/
|
|
4922
|
+
amount: number;
|
|
4923
|
+
/**
|
|
4924
|
+
* Type of extra charge.
|
|
4925
|
+
*/
|
|
4926
|
+
type: ExtraCharge.Type;
|
|
4927
|
+
}
|
|
4928
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks' | OtherString;
|
|
4929
|
+
interface Tax {
|
|
4930
|
+
/**
|
|
4931
|
+
* Indicates if the transaction is tax exempt.
|
|
4932
|
+
*/
|
|
4933
|
+
tax_exempt_indicator?: boolean;
|
|
4934
|
+
/**
|
|
4935
|
+
* Array of tax details.
|
|
4936
|
+
*/
|
|
4937
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
4938
|
+
}
|
|
4939
|
+
namespace ExtraCharge {
|
|
4940
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing' | OtherString;
|
|
4941
|
+
}
|
|
4942
|
+
namespace Tax {
|
|
4943
|
+
interface TaxItem {
|
|
4944
|
+
/**
|
|
4945
|
+
* Tax amount.
|
|
4946
|
+
*/
|
|
4947
|
+
amount?: number;
|
|
4948
|
+
/**
|
|
4949
|
+
* Tax rate applied.
|
|
4950
|
+
*/
|
|
4951
|
+
rate?: number;
|
|
4952
|
+
/**
|
|
4953
|
+
* Type of tax applied.
|
|
4954
|
+
*/
|
|
4955
|
+
type?: string;
|
|
4956
|
+
}
|
|
4957
|
+
}
|
|
4958
|
+
}
|
|
4959
|
+
namespace Vehicle {
|
|
4960
|
+
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' | OtherString;
|
|
4961
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
namespace EventDetails {
|
|
4965
|
+
interface Affiliate {
|
|
4966
|
+
/**
|
|
4967
|
+
* The name of the affiliate that originated the purchase.
|
|
4968
|
+
*/
|
|
4969
|
+
name: string;
|
|
4970
|
+
}
|
|
4971
|
+
interface Delivery {
|
|
4972
|
+
/**
|
|
4973
|
+
* The delivery method for the payment
|
|
4974
|
+
*/
|
|
4975
|
+
mode?: Delivery.Mode;
|
|
4976
|
+
/**
|
|
4977
|
+
* Details of the recipient.
|
|
4978
|
+
*/
|
|
4979
|
+
recipient?: Delivery.Recipient;
|
|
4980
|
+
}
|
|
4981
|
+
namespace Delivery {
|
|
4982
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
4983
|
+
interface Recipient {
|
|
4984
|
+
/**
|
|
4985
|
+
* The email of the recipient the ticket is delivered to.
|
|
4986
|
+
*/
|
|
4987
|
+
email?: string;
|
|
4988
|
+
/**
|
|
4989
|
+
* The name of the recipient the ticket is delivered to.
|
|
4990
|
+
*/
|
|
4991
|
+
name?: string;
|
|
4992
|
+
/**
|
|
4993
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4994
|
+
*/
|
|
4995
|
+
phone?: string;
|
|
4996
|
+
}
|
|
4997
|
+
}
|
|
4998
|
+
}
|
|
4999
|
+
namespace FleetDatum {
|
|
5000
|
+
interface PrimaryFuelFields {
|
|
5001
|
+
/**
|
|
5002
|
+
* The fuel brand.
|
|
5003
|
+
*/
|
|
5004
|
+
brand?: PrimaryFuelFields.Brand;
|
|
5005
|
+
}
|
|
5006
|
+
interface Station {
|
|
5007
|
+
/**
|
|
5008
|
+
* Additional contact information for the station.
|
|
5009
|
+
*/
|
|
5010
|
+
additional_contact_info?: string;
|
|
5011
|
+
/**
|
|
5012
|
+
* The customer service phone number of the station.
|
|
5013
|
+
*/
|
|
5014
|
+
customer_service_phone_number?: string;
|
|
5015
|
+
/**
|
|
5016
|
+
* The partner ID code of the station.
|
|
5017
|
+
*/
|
|
5018
|
+
partner_id_code?: string;
|
|
5019
|
+
/**
|
|
5020
|
+
* The phone number of the station.
|
|
5021
|
+
*/
|
|
5022
|
+
phone_number?: string;
|
|
5023
|
+
/**
|
|
5024
|
+
* The physical location of the station.
|
|
5025
|
+
*/
|
|
5026
|
+
service_location?: ShippingAddressParam;
|
|
5027
|
+
/**
|
|
5028
|
+
* The URL of the station.
|
|
5029
|
+
*/
|
|
5030
|
+
url?: string;
|
|
5031
|
+
}
|
|
5032
|
+
interface Vat {
|
|
5033
|
+
/**
|
|
5034
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
5035
|
+
*/
|
|
5036
|
+
iob_indicator: Vat.IobIndicator;
|
|
5037
|
+
}
|
|
5038
|
+
namespace PrimaryFuelFields {
|
|
5039
|
+
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' | OtherString;
|
|
5040
|
+
}
|
|
5041
|
+
namespace Vat {
|
|
5042
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob' | OtherString;
|
|
5043
|
+
}
|
|
5044
|
+
}
|
|
5045
|
+
namespace Flight {
|
|
5046
|
+
interface Affiliate {
|
|
5047
|
+
/**
|
|
5048
|
+
* The name of the affiliate that originated the purchase.
|
|
5049
|
+
*/
|
|
5050
|
+
name: string;
|
|
5051
|
+
}
|
|
5052
|
+
interface Delivery {
|
|
5053
|
+
/**
|
|
5054
|
+
* The delivery method for the payment
|
|
5055
|
+
*/
|
|
5056
|
+
mode?: Delivery.Mode;
|
|
5057
|
+
/**
|
|
5058
|
+
* Details of the recipient.
|
|
5059
|
+
*/
|
|
5060
|
+
recipient?: Delivery.Recipient;
|
|
5061
|
+
}
|
|
5062
|
+
interface Passenger {
|
|
5063
|
+
/**
|
|
5064
|
+
* Full name of the person or entity on the flight reservation.
|
|
5065
|
+
*/
|
|
5066
|
+
name: string;
|
|
5067
|
+
}
|
|
5068
|
+
interface Segment {
|
|
5069
|
+
/**
|
|
5070
|
+
* The flight segment amount.
|
|
5071
|
+
*/
|
|
5072
|
+
amount?: number;
|
|
5073
|
+
/**
|
|
5074
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
5075
|
+
*/
|
|
5076
|
+
arrival_airport?: string;
|
|
5077
|
+
/**
|
|
5078
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5079
|
+
*/
|
|
5080
|
+
arrives_at?: number;
|
|
5081
|
+
/**
|
|
5082
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
5083
|
+
*/
|
|
5084
|
+
carrier?: string;
|
|
5085
|
+
/**
|
|
5086
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5087
|
+
*/
|
|
5088
|
+
departs_at: number;
|
|
5089
|
+
/**
|
|
5090
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
5091
|
+
*/
|
|
5092
|
+
departure_airport?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* The flight number associated with the segment
|
|
5095
|
+
*/
|
|
5096
|
+
flight_number?: string;
|
|
5097
|
+
/**
|
|
5098
|
+
* The fare class for the segment.
|
|
5099
|
+
*/
|
|
5100
|
+
service_class?: Segment.ServiceClass;
|
|
5101
|
+
}
|
|
5102
|
+
namespace Delivery {
|
|
5103
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5104
|
+
interface Recipient {
|
|
5105
|
+
/**
|
|
5106
|
+
* The email of the recipient the ticket is delivered to.
|
|
5107
|
+
*/
|
|
5108
|
+
email?: string;
|
|
5109
|
+
/**
|
|
5110
|
+
* The name of the recipient the ticket is delivered to.
|
|
5111
|
+
*/
|
|
5112
|
+
name?: string;
|
|
5113
|
+
/**
|
|
5114
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5115
|
+
*/
|
|
5116
|
+
phone?: string;
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
namespace Segment {
|
|
5120
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy' | OtherString;
|
|
5121
|
+
}
|
|
5122
|
+
}
|
|
5123
|
+
namespace FlightDatum {
|
|
5124
|
+
interface Affiliate {
|
|
5125
|
+
/**
|
|
5126
|
+
* Affiliate partner code.
|
|
5127
|
+
*/
|
|
5128
|
+
code?: string;
|
|
5129
|
+
/**
|
|
5130
|
+
* Name of affiliate partner.
|
|
5131
|
+
*/
|
|
5132
|
+
name?: string;
|
|
5133
|
+
/**
|
|
5134
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
5135
|
+
*/
|
|
5136
|
+
travel_authorization_code?: string;
|
|
5137
|
+
}
|
|
5138
|
+
interface Insurance {
|
|
5139
|
+
/**
|
|
5140
|
+
* Insurance cost.
|
|
5141
|
+
*/
|
|
5142
|
+
amount: number;
|
|
5143
|
+
/**
|
|
5144
|
+
* Insurance currency.
|
|
5145
|
+
*/
|
|
5146
|
+
currency?: string;
|
|
5147
|
+
/**
|
|
5148
|
+
* Insurance company name.
|
|
5149
|
+
*/
|
|
5150
|
+
insurance_company_name?: string;
|
|
5151
|
+
/**
|
|
5152
|
+
* Type of insurance.
|
|
5153
|
+
*/
|
|
5154
|
+
insurance_type: Insurance.InsuranceType;
|
|
5155
|
+
}
|
|
5156
|
+
interface Passenger {
|
|
5157
|
+
/**
|
|
5158
|
+
* Passenger's full name.
|
|
5159
|
+
*/
|
|
5160
|
+
name: string;
|
|
5161
|
+
}
|
|
5162
|
+
interface Segment {
|
|
5163
|
+
/**
|
|
5164
|
+
* Segment fare amount.
|
|
5165
|
+
*/
|
|
5166
|
+
amount?: number;
|
|
5167
|
+
/**
|
|
5168
|
+
* Arrival details.
|
|
5169
|
+
*/
|
|
5170
|
+
arrival: Segment.Arrival;
|
|
5171
|
+
/**
|
|
5172
|
+
* Airline carrier code.
|
|
5173
|
+
*/
|
|
5174
|
+
carrier_code: string;
|
|
5175
|
+
/**
|
|
5176
|
+
* Carrier name.
|
|
5177
|
+
*/
|
|
5178
|
+
carrier_name?: string;
|
|
5179
|
+
/**
|
|
5180
|
+
* Segment currency.
|
|
5181
|
+
*/
|
|
5182
|
+
currency?: string;
|
|
5183
|
+
/**
|
|
5184
|
+
* Departure details.
|
|
5185
|
+
*/
|
|
5186
|
+
departure: Segment.Departure;
|
|
5187
|
+
/**
|
|
5188
|
+
* Exchange ticket number.
|
|
5189
|
+
*/
|
|
5190
|
+
exchange_ticket_number?: string;
|
|
5191
|
+
/**
|
|
5192
|
+
* Fare basis code.
|
|
5193
|
+
*/
|
|
5194
|
+
fare_basis_code?: string;
|
|
5195
|
+
/**
|
|
5196
|
+
* Additional fees.
|
|
5197
|
+
*/
|
|
5198
|
+
fees?: number;
|
|
5199
|
+
/**
|
|
5200
|
+
* Flight number.
|
|
5201
|
+
*/
|
|
5202
|
+
flight_number?: string;
|
|
5203
|
+
/**
|
|
5204
|
+
* Stopover indicator.
|
|
5205
|
+
*/
|
|
5206
|
+
is_stop_over_indicator?: boolean;
|
|
5207
|
+
/**
|
|
5208
|
+
* Refundable ticket indicator.
|
|
5209
|
+
*/
|
|
5210
|
+
refundable?: boolean;
|
|
5211
|
+
/**
|
|
5212
|
+
* Class of service.
|
|
5213
|
+
*/
|
|
5214
|
+
service_class: Segment.ServiceClass;
|
|
5215
|
+
/**
|
|
5216
|
+
* Tax amount for segment.
|
|
5217
|
+
*/
|
|
5218
|
+
tax_amount?: number;
|
|
5219
|
+
/**
|
|
5220
|
+
* Ticket number.
|
|
5221
|
+
*/
|
|
5222
|
+
ticket_number?: string;
|
|
5223
|
+
}
|
|
5224
|
+
interface Total {
|
|
5225
|
+
/**
|
|
5226
|
+
* Total flight amount.
|
|
5227
|
+
*/
|
|
5228
|
+
amount: number;
|
|
5229
|
+
/**
|
|
5230
|
+
* Reason for credit.
|
|
5231
|
+
*/
|
|
5232
|
+
credit_reason?: Total.CreditReason;
|
|
5233
|
+
/**
|
|
5234
|
+
* Total currency.
|
|
5235
|
+
*/
|
|
5236
|
+
currency?: string;
|
|
5237
|
+
/**
|
|
5238
|
+
* Discount details.
|
|
5239
|
+
*/
|
|
5240
|
+
discounts?: Total.Discounts;
|
|
5241
|
+
/**
|
|
5242
|
+
* Additional charges.
|
|
5243
|
+
*/
|
|
5244
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5245
|
+
/**
|
|
5246
|
+
* Tax breakdown.
|
|
5247
|
+
*/
|
|
5248
|
+
tax?: Total.Tax;
|
|
5249
|
+
}
|
|
5250
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase' | OtherString;
|
|
5251
|
+
namespace Insurance {
|
|
5252
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
5253
|
+
}
|
|
5254
|
+
namespace Segment {
|
|
5255
|
+
interface Arrival {
|
|
5256
|
+
/**
|
|
5257
|
+
* Arrival airport IATA code.
|
|
5258
|
+
*/
|
|
5259
|
+
airport: string;
|
|
5260
|
+
/**
|
|
5261
|
+
* Arrival date/time.
|
|
5262
|
+
*/
|
|
5263
|
+
arrives_at?: number;
|
|
5264
|
+
/**
|
|
5265
|
+
* Arrival city.
|
|
5266
|
+
*/
|
|
5267
|
+
city?: string;
|
|
5268
|
+
/**
|
|
5269
|
+
* Arrival country.
|
|
5270
|
+
*/
|
|
5271
|
+
country?: string;
|
|
5272
|
+
}
|
|
5273
|
+
interface Departure {
|
|
5274
|
+
/**
|
|
5275
|
+
* Departure airport IATA code.
|
|
5276
|
+
*/
|
|
5277
|
+
airport: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* Departure city.
|
|
5280
|
+
*/
|
|
5281
|
+
city?: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* Departure country.
|
|
5284
|
+
*/
|
|
5285
|
+
country?: string;
|
|
5286
|
+
/**
|
|
5287
|
+
* Departure date/time.
|
|
5288
|
+
*/
|
|
5289
|
+
departs_at: number;
|
|
5290
|
+
}
|
|
5291
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
5292
|
+
}
|
|
5293
|
+
namespace Total {
|
|
5294
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation' | OtherString;
|
|
5295
|
+
interface Discounts {
|
|
5296
|
+
/**
|
|
5297
|
+
* Corporate client discount code.
|
|
5298
|
+
*/
|
|
5299
|
+
corporate_client_code?: string;
|
|
5300
|
+
}
|
|
5301
|
+
interface ExtraCharge {
|
|
5302
|
+
/**
|
|
5303
|
+
* Amount of additional charges.
|
|
5304
|
+
*/
|
|
5305
|
+
amount?: number;
|
|
5306
|
+
/**
|
|
5307
|
+
* Type of additional charges.
|
|
5308
|
+
*/
|
|
5309
|
+
type?: ExtraCharge.Type;
|
|
5310
|
+
}
|
|
5311
|
+
interface Tax {
|
|
5312
|
+
/**
|
|
5313
|
+
* Array of tax details.
|
|
5314
|
+
*/
|
|
5315
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
5316
|
+
}
|
|
5317
|
+
namespace ExtraCharge {
|
|
5318
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee' | OtherString;
|
|
5319
|
+
}
|
|
5320
|
+
namespace Tax {
|
|
5321
|
+
interface TaxItem {
|
|
5322
|
+
/**
|
|
5323
|
+
* Tax amount.
|
|
5324
|
+
*/
|
|
5325
|
+
amount?: number;
|
|
5326
|
+
/**
|
|
5327
|
+
* Tax rate.
|
|
5328
|
+
*/
|
|
5329
|
+
rate?: number;
|
|
5330
|
+
/**
|
|
5331
|
+
* Type of tax.
|
|
5332
|
+
*/
|
|
5333
|
+
type?: string;
|
|
5334
|
+
}
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
}
|
|
5338
|
+
namespace Lodging {
|
|
5339
|
+
interface Affiliate {
|
|
5340
|
+
/**
|
|
5341
|
+
* The name of the affiliate that originated the purchase.
|
|
5342
|
+
*/
|
|
5343
|
+
name: string;
|
|
5344
|
+
}
|
|
5345
|
+
type Category = 'hotel' | 'vacation_rental' | OtherString;
|
|
5346
|
+
interface Delivery {
|
|
5347
|
+
/**
|
|
5348
|
+
* The delivery method for the payment
|
|
5349
|
+
*/
|
|
5350
|
+
mode?: Delivery.Mode;
|
|
5351
|
+
/**
|
|
5352
|
+
* Details of the recipient.
|
|
5353
|
+
*/
|
|
5354
|
+
recipient?: Delivery.Recipient;
|
|
5355
|
+
}
|
|
5356
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone' | OtherString;
|
|
5357
|
+
interface Passenger {
|
|
5358
|
+
/**
|
|
5359
|
+
* Full name of the person or entity on the lodging reservation.
|
|
5360
|
+
*/
|
|
5361
|
+
name: string;
|
|
5362
|
+
}
|
|
5363
|
+
namespace Delivery {
|
|
5364
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5365
|
+
interface Recipient {
|
|
5366
|
+
/**
|
|
5367
|
+
* The email of the recipient the ticket is delivered to.
|
|
5368
|
+
*/
|
|
5369
|
+
email?: string;
|
|
5370
|
+
/**
|
|
5371
|
+
* The name of the recipient the ticket is delivered to.
|
|
5372
|
+
*/
|
|
5373
|
+
name?: string;
|
|
5374
|
+
/**
|
|
5375
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5376
|
+
*/
|
|
5377
|
+
phone?: string;
|
|
5378
|
+
}
|
|
5379
|
+
}
|
|
5380
|
+
}
|
|
5381
|
+
namespace LodgingDatum {
|
|
5382
|
+
interface Accommodation {
|
|
5383
|
+
/**
|
|
5384
|
+
* Type of accommodation.
|
|
5385
|
+
*/
|
|
5386
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
5387
|
+
/**
|
|
5388
|
+
* Bed type.
|
|
5389
|
+
*/
|
|
5390
|
+
bed_type?: string;
|
|
5391
|
+
/**
|
|
5392
|
+
* Daily accommodation rate in cents.
|
|
5393
|
+
*/
|
|
5394
|
+
daily_rate_amount?: number;
|
|
5395
|
+
/**
|
|
5396
|
+
* Number of nights.
|
|
5397
|
+
*/
|
|
5398
|
+
nights?: number;
|
|
5399
|
+
/**
|
|
5400
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
5401
|
+
*/
|
|
5402
|
+
number_of_rooms?: number;
|
|
5403
|
+
/**
|
|
5404
|
+
* Rate type.
|
|
5405
|
+
*/
|
|
5406
|
+
rate_type?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* Whether smoking is allowed.
|
|
5409
|
+
*/
|
|
5410
|
+
smoking_indicator?: boolean;
|
|
5411
|
+
}
|
|
5412
|
+
interface Affiliate {
|
|
5413
|
+
/**
|
|
5414
|
+
* Affiliate partner code.
|
|
5415
|
+
*/
|
|
5416
|
+
code?: string;
|
|
5417
|
+
/**
|
|
5418
|
+
* Affiliate partner name.
|
|
5419
|
+
*/
|
|
5420
|
+
name?: string;
|
|
5421
|
+
}
|
|
5422
|
+
interface Guest {
|
|
5423
|
+
/**
|
|
5424
|
+
* Guest's full name.
|
|
5425
|
+
*/
|
|
5426
|
+
name: string;
|
|
5427
|
+
}
|
|
5428
|
+
interface Host {
|
|
5429
|
+
/**
|
|
5430
|
+
* Address of the host.
|
|
5431
|
+
*/
|
|
5432
|
+
address?: Host.Address;
|
|
5433
|
+
/**
|
|
5434
|
+
* Host's country of domicile.
|
|
5435
|
+
*/
|
|
5436
|
+
country_of_domicile?: string;
|
|
5437
|
+
/**
|
|
5438
|
+
* Reference number for the host.
|
|
5439
|
+
*/
|
|
5440
|
+
host_reference?: string;
|
|
5441
|
+
/**
|
|
5442
|
+
* Type of host.
|
|
5443
|
+
*/
|
|
5444
|
+
host_type?: Host.HostType;
|
|
5445
|
+
/**
|
|
5446
|
+
* Name of the lodging property or host.
|
|
5447
|
+
*/
|
|
5448
|
+
name?: string;
|
|
5449
|
+
/**
|
|
5450
|
+
* Total number of reservations for the host.
|
|
5451
|
+
*/
|
|
5452
|
+
number_of_reservations?: number;
|
|
5453
|
+
/**
|
|
5454
|
+
* Property phone number.
|
|
5455
|
+
*/
|
|
5456
|
+
property_phone_number?: string;
|
|
5457
|
+
/**
|
|
5458
|
+
* Host's registration date.
|
|
5459
|
+
*/
|
|
5460
|
+
registered_at?: number;
|
|
5461
|
+
}
|
|
5462
|
+
interface Insurance {
|
|
5463
|
+
/**
|
|
5464
|
+
* Price of the insurance coverage in cents.
|
|
5465
|
+
*/
|
|
5466
|
+
amount: number;
|
|
5467
|
+
/**
|
|
5468
|
+
* Currency of the insurance amount.
|
|
5469
|
+
*/
|
|
5470
|
+
currency?: string;
|
|
5471
|
+
/**
|
|
5472
|
+
* Name of the insurance company.
|
|
5473
|
+
*/
|
|
5474
|
+
insurance_company_name?: string;
|
|
5475
|
+
/**
|
|
5476
|
+
* Type of insurance coverage.
|
|
5477
|
+
*/
|
|
5478
|
+
insurance_type: Insurance.InsuranceType;
|
|
5479
|
+
}
|
|
5480
|
+
interface Total {
|
|
5481
|
+
/**
|
|
5482
|
+
* Total price of the lodging reservation in cents.
|
|
5483
|
+
*/
|
|
5484
|
+
amount: number;
|
|
5485
|
+
/**
|
|
5486
|
+
* Cash advances in cents.
|
|
5487
|
+
*/
|
|
5488
|
+
cash_advances?: number;
|
|
5489
|
+
/**
|
|
5490
|
+
* Currency of the total amount.
|
|
5491
|
+
*/
|
|
5492
|
+
currency?: string;
|
|
5493
|
+
/**
|
|
5494
|
+
* Discount details for the lodging.
|
|
5495
|
+
*/
|
|
5496
|
+
discounts?: Total.Discounts;
|
|
5497
|
+
/**
|
|
5498
|
+
* Additional charges for the lodging.
|
|
5499
|
+
*/
|
|
5500
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5501
|
+
/**
|
|
5502
|
+
* Prepaid amount in cents.
|
|
5503
|
+
*/
|
|
5504
|
+
prepaid_amount?: number;
|
|
5505
|
+
/**
|
|
5506
|
+
* Tax breakdown for the lodging reservation.
|
|
5507
|
+
*/
|
|
5508
|
+
tax?: Total.Tax;
|
|
5509
|
+
}
|
|
5510
|
+
namespace Accommodation {
|
|
5511
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa' | OtherString;
|
|
5512
|
+
}
|
|
5513
|
+
namespace Host {
|
|
5514
|
+
interface Address {
|
|
5515
|
+
/**
|
|
5516
|
+
* City, district, suburb, town, or village.
|
|
5517
|
+
*/
|
|
5518
|
+
city: string;
|
|
5519
|
+
/**
|
|
5520
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5521
|
+
*/
|
|
5522
|
+
country: string;
|
|
5523
|
+
/**
|
|
5524
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5525
|
+
*/
|
|
5526
|
+
line1: string;
|
|
5527
|
+
/**
|
|
5528
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5529
|
+
*/
|
|
5530
|
+
line2?: string;
|
|
5531
|
+
/**
|
|
5532
|
+
* ZIP or postal code.
|
|
5533
|
+
*/
|
|
5534
|
+
postal_code: string;
|
|
5535
|
+
/**
|
|
5536
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5537
|
+
*/
|
|
5538
|
+
state?: string;
|
|
5539
|
+
}
|
|
5540
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency' | OtherString;
|
|
5541
|
+
}
|
|
5542
|
+
namespace Insurance {
|
|
5543
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
5544
|
+
}
|
|
5545
|
+
namespace Total {
|
|
5546
|
+
interface Discounts {
|
|
5547
|
+
/**
|
|
5548
|
+
* Corporate client discount code.
|
|
5549
|
+
*/
|
|
5550
|
+
corporate_client_code?: string;
|
|
5551
|
+
/**
|
|
5552
|
+
* Coupon code.
|
|
5553
|
+
*/
|
|
5554
|
+
coupon?: string;
|
|
5555
|
+
}
|
|
5556
|
+
interface ExtraCharge {
|
|
5557
|
+
/**
|
|
5558
|
+
* Amount of the extra charge in cents.
|
|
5559
|
+
*/
|
|
5560
|
+
amount?: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* Type of extra charge.
|
|
5563
|
+
*/
|
|
5564
|
+
type?: ExtraCharge.Type;
|
|
5565
|
+
}
|
|
5566
|
+
interface Tax {
|
|
5567
|
+
/**
|
|
5568
|
+
* Indicates whether the transaction is tax exempt.
|
|
5569
|
+
*/
|
|
5570
|
+
tax_exempt_indicator?: boolean;
|
|
5571
|
+
/**
|
|
5572
|
+
* Tax details.
|
|
5573
|
+
*/
|
|
5574
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
5575
|
+
}
|
|
5576
|
+
namespace ExtraCharge {
|
|
5577
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant' | OtherString;
|
|
5578
|
+
}
|
|
5579
|
+
namespace Tax {
|
|
5580
|
+
interface TaxItem {
|
|
5581
|
+
/**
|
|
5582
|
+
* Tax amount in cents.
|
|
5583
|
+
*/
|
|
5584
|
+
amount?: number;
|
|
5585
|
+
/**
|
|
5586
|
+
* Tax rate.
|
|
5587
|
+
*/
|
|
5588
|
+
rate?: number;
|
|
5589
|
+
/**
|
|
5590
|
+
* Type of tax applied.
|
|
5591
|
+
*/
|
|
5592
|
+
type?: string;
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
}
|
|
5596
|
+
}
|
|
5597
|
+
namespace Subscription {
|
|
5598
|
+
interface Affiliate {
|
|
5599
|
+
/**
|
|
5600
|
+
* The name of the affiliate that originated the purchase.
|
|
5601
|
+
*/
|
|
5602
|
+
name: string;
|
|
5603
|
+
}
|
|
5604
|
+
interface BillingInterval {
|
|
5605
|
+
/**
|
|
5606
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5607
|
+
*/
|
|
5608
|
+
count: number;
|
|
5609
|
+
/**
|
|
5610
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5611
|
+
*/
|
|
5612
|
+
interval: BillingInterval.Interval;
|
|
5613
|
+
}
|
|
5614
|
+
namespace BillingInterval {
|
|
5615
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
2321
5618
|
}
|
|
2322
5619
|
}
|
|
2323
5620
|
export interface ChargeSearchParams {
|