stripe 22.3.0 → 22.4.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 +2984 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +44 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +53 -0
- package/cjs/Error.js +134 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +476 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +597 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +110 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +1020 -6
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Balance.d.ts +134 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/cjs/resources/Billing/Alerts.d.ts +408 -5
- package/cjs/resources/Billing/Alerts.js +321 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +6 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +25 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +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 +101 -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 +3352 -70
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +1174 -22
- 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 +139 -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 +29 -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 +79 -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/OnrampSessions.d.ts +413 -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 +60 -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 +34 -0
- package/cjs/resources/Crypto/index.js +17 -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 +128 -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 +1416 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +43 -0
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +573 -2
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +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 +99 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +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 +156 -7
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
- package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/cjs/resources/FxQuotes.d.ts +212 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +248 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +187 -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 +203 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2120 -22
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +435 -1
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +18 -4
- package/cjs/resources/Issuing/Cards.d.ts +53 -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 +178 -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 -1
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4773 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +664 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/cjs/resources/PaymentIntents.d.ts +16756 -3555
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +74 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +290 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +623 -19
- package/cjs/resources/PaymentRecords.js +11 -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 +76 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +198 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +26 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -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 +244 -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 +63 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +38 -0
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +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 +35 -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 +26 -1
- package/cjs/resources/SetupIntents.d.ts +603 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1146 -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 +320 -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 +265 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +965 -12
- package/cjs/resources/Subscriptions.js +289 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/cjs/resources/Tax/Calculations.d.ts +45 -3
- 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 +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +171 -2
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +10 -2
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +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 +15 -0
- 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 +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +126 -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 +26 -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 +37 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +76 -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 +71 -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 +280 -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 +236 -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 +775 -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 +1775 -0
- package/cjs/resources/V2/Billing/Contracts.js +607 -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 +1253 -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 +156 -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 +15174 -1219
- package/cjs/resources/V2/Core/Accounts.js +10284 -53
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +330 -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 +7671 -232
- package/cjs/resources/V2/Core/FeeBatches.d.ts +233 -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 +199 -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 +279 -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 +251 -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 +73 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +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 +171 -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 +162 -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 +119 -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 +210 -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 +304 -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 +167 -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 +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -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 +250 -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 +218 -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 +317 -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 +266 -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 +458 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -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 +30 -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 +265 -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 +296 -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 +143 -0
- package/cjs/resources/V2/MoneyManagement/index.js +49 -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 +823 -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 +190 -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/Signals/AccountSignals.d.ts +172 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +13 -0
- package/cjs/resources/V2/Signals/index.js +13 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +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 +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
- package/cjs/resources/V2/TestHelpers/index.js +15 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +39 -0
- package/cjs/resources/V2/index.js +22 -0
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +282 -18
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +14156 -490
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +161 -54
- package/cjs/stripe.core.js +74 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +53 -0
- package/esm/Error.js +117 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +472 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +597 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +110 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +1020 -6
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Balance.d.ts +134 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
- package/esm/resources/Billing/Alerts.d.ts +408 -5
- package/esm/resources/Billing/Alerts.js +321 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +85 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +6 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +25 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +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 +101 -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 +3352 -70
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +1174 -22
- 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 +139 -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 +29 -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 +79 -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/OnrampSessions.d.ts +413 -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 +60 -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 +34 -0
- package/esm/resources/Crypto/index.js +13 -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 +128 -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 +1416 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +43 -0
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +573 -2
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +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 +99 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +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 +156 -7
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
- package/esm/resources/FrMealVouchersOnboardings.js +38 -0
- package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
- package/esm/resources/FxQuotes.d.ts +212 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +248 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +187 -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 +203 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2120 -22
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +435 -1
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +18 -4
- package/esm/resources/Issuing/Cards.d.ts +53 -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 +178 -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 -1
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4773 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +664 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
- package/esm/resources/PaymentIntents.d.ts +16756 -3555
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +74 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +290 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +623 -19
- package/esm/resources/PaymentRecords.js +11 -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 +76 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +198 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +26 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -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 +244 -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 +63 -1
- package/esm/resources/Radar/ValueListItems.d.ts +38 -0
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +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 +35 -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 +26 -1
- package/esm/resources/SetupIntents.d.ts +603 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1146 -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 +320 -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 +265 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +965 -12
- package/esm/resources/Subscriptions.js +289 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
- package/esm/resources/Tax/Calculations.d.ts +45 -3
- 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 +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +171 -2
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +10 -2
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +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 +15 -0
- 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 +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +126 -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 +26 -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 +37 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +76 -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 +71 -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 +280 -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 +236 -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 +775 -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 +1775 -0
- package/esm/resources/V2/Billing/Contracts.js +603 -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 +1253 -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 +156 -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 +15174 -1219
- package/esm/resources/V2/Core/Accounts.js +10284 -53
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +330 -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 +7671 -232
- package/esm/resources/V2/Core/FeeBatches.d.ts +233 -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 +199 -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 +279 -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 +251 -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 +73 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +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 +171 -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 +162 -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 +119 -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 +210 -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 +304 -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 +167 -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 +44 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -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 +250 -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 +218 -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 +317 -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 +266 -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 +458 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -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 +30 -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 +265 -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 +296 -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 +143 -0
- package/esm/resources/V2/MoneyManagement/index.js +45 -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 +823 -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 +190 -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/Signals/AccountSignals.d.ts +172 -0
- package/esm/resources/V2/Signals/AccountSignals.js +54 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +13 -0
- package/esm/resources/V2/Signals/index.js +9 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +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 +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
- package/esm/resources/V2/TestHelpers/index.js +11 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +39 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +252 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +161 -54
- package/esm/stripe.core.js +45 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +161 -54
- package/esm/stripe.esm.node.js +45 -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, PaginationParams, RangeQueryParam, Metadata
|
|
15
|
+
import { Emptyable, MetadataParam, AddressParam, Address, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
15
16
|
import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
16
17
|
export declare class ChargeResource extends StripeResource {
|
|
17
18
|
/**
|
|
@@ -57,6 +58,10 @@ export interface Charge {
|
|
|
57
58
|
* String representing the object's type. Objects of the same type share the same value.
|
|
58
59
|
*/
|
|
59
60
|
object: 'charge';
|
|
61
|
+
/**
|
|
62
|
+
* Funds that are in transit and destined for another balance or another connected account.
|
|
63
|
+
*/
|
|
64
|
+
allocated_funds?: TransitBalance;
|
|
60
65
|
/**
|
|
61
66
|
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
62
67
|
*/
|
|
@@ -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,25 @@ 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
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
373
389
|
sofort?: PaymentMethodDetails.Sofort;
|
|
374
390
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
391
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
375
392
|
sunbit?: PaymentMethodDetails.Sunbit;
|
|
376
393
|
swish?: PaymentMethodDetails.Swish;
|
|
394
|
+
tamara?: PaymentMethodDetails.Tamara;
|
|
377
395
|
twint?: PaymentMethodDetails.Twint;
|
|
378
396
|
/**
|
|
379
397
|
* 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 +421,12 @@ export declare namespace Charge {
|
|
|
403
421
|
*/
|
|
404
422
|
session?: string;
|
|
405
423
|
}
|
|
424
|
+
interface Redaction {
|
|
425
|
+
/**
|
|
426
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
427
|
+
*/
|
|
428
|
+
status: Redaction.Status;
|
|
429
|
+
}
|
|
406
430
|
interface Shipping {
|
|
407
431
|
address?: Address;
|
|
408
432
|
/**
|
|
@@ -696,14 +720,20 @@ export declare namespace Charge {
|
|
|
696
720
|
tax_id: string;
|
|
697
721
|
}
|
|
698
722
|
interface Card {
|
|
723
|
+
account_funding?: Card.AccountFunding;
|
|
699
724
|
/**
|
|
700
725
|
* The authorized amount.
|
|
701
726
|
*/
|
|
702
727
|
amount_authorized: number | null;
|
|
728
|
+
/**
|
|
729
|
+
* The latest amount intended to be authorized by this charge.
|
|
730
|
+
*/
|
|
731
|
+
amount_requested?: number | null;
|
|
703
732
|
/**
|
|
704
733
|
* Authorization code on the charge.
|
|
705
734
|
*/
|
|
706
735
|
authorization_code: string | null;
|
|
736
|
+
benefits?: Card.Benefits;
|
|
707
737
|
/**
|
|
708
738
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
709
739
|
*/
|
|
@@ -720,10 +750,15 @@ export declare namespace Charge {
|
|
|
720
750
|
* 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
751
|
*/
|
|
722
752
|
country: string | null;
|
|
753
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
723
754
|
/**
|
|
724
755
|
* 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
756
|
*/
|
|
726
757
|
description?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* 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.
|
|
760
|
+
*/
|
|
761
|
+
electronic_commerce_indicator?: string | null;
|
|
727
762
|
/**
|
|
728
763
|
* Two-digit number representing the card's expiration month.
|
|
729
764
|
*/
|
|
@@ -784,6 +819,15 @@ export declare namespace Charge {
|
|
|
784
819
|
*/
|
|
785
820
|
network_transaction_id: string | null;
|
|
786
821
|
overcapture?: Card.Overcapture;
|
|
822
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
823
|
+
/**
|
|
824
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
825
|
+
*/
|
|
826
|
+
reauthorization?: Card.Reauthorization | null;
|
|
827
|
+
/**
|
|
828
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
829
|
+
*/
|
|
830
|
+
reauthorize_before?: number | null;
|
|
787
831
|
/**
|
|
788
832
|
* Status of a card based on the card issuer.
|
|
789
833
|
*/
|
|
@@ -876,6 +920,7 @@ export declare namespace Charge {
|
|
|
876
920
|
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
877
921
|
*/
|
|
878
922
|
location?: string;
|
|
923
|
+
multicapture?: CardPresent.Multicapture;
|
|
879
924
|
/**
|
|
880
925
|
* 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
926
|
*/
|
|
@@ -904,6 +949,14 @@ export declare namespace Charge {
|
|
|
904
949
|
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
905
950
|
*/
|
|
906
951
|
reader?: string;
|
|
952
|
+
/**
|
|
953
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
954
|
+
*/
|
|
955
|
+
reauthorization?: CardPresent.Reauthorization | null;
|
|
956
|
+
/**
|
|
957
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
958
|
+
*/
|
|
959
|
+
reauthorize_before?: number | null;
|
|
907
960
|
/**
|
|
908
961
|
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
909
962
|
*/
|
|
@@ -925,6 +978,14 @@ export declare namespace Charge {
|
|
|
925
978
|
transaction_id: string | null;
|
|
926
979
|
}
|
|
927
980
|
interface Crypto {
|
|
981
|
+
/**
|
|
982
|
+
* The amount received for the crypto payment.
|
|
983
|
+
*/
|
|
984
|
+
amount_received?: number;
|
|
985
|
+
/**
|
|
986
|
+
* The amount requested for the crypto payment.
|
|
987
|
+
*/
|
|
988
|
+
amount_requested?: number;
|
|
928
989
|
/**
|
|
929
990
|
* The wallet address of the customer.
|
|
930
991
|
*/
|
|
@@ -970,6 +1031,45 @@ export declare namespace Charge {
|
|
|
970
1031
|
*/
|
|
971
1032
|
transaction_id: string | null;
|
|
972
1033
|
}
|
|
1034
|
+
interface GiftCard {
|
|
1035
|
+
balance: GiftCard.Balance;
|
|
1036
|
+
/**
|
|
1037
|
+
* The brand of the gift card.
|
|
1038
|
+
*/
|
|
1039
|
+
brand: GiftCard.Brand;
|
|
1040
|
+
/**
|
|
1041
|
+
* The expiration month of the gift card.
|
|
1042
|
+
*/
|
|
1043
|
+
exp_month: number | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* The expiration year of the gift card.
|
|
1046
|
+
*/
|
|
1047
|
+
exp_year: number | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Uniquely identifies this particular gift card number. You can use this attribute to check whether two transactions were made using the same gift card.
|
|
1050
|
+
*/
|
|
1051
|
+
fingerprint: string | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* The first six digits of the gift card number.
|
|
1054
|
+
*/
|
|
1055
|
+
first6: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* The last four digits of the gift card number.
|
|
1058
|
+
*/
|
|
1059
|
+
last4: string | null;
|
|
1060
|
+
/**
|
|
1061
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1062
|
+
*/
|
|
1063
|
+
location?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1066
|
+
*/
|
|
1067
|
+
reader?: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* The transaction ID from the gift card processor.
|
|
1070
|
+
*/
|
|
1071
|
+
transaction_id: string;
|
|
1072
|
+
}
|
|
973
1073
|
interface Giropay {
|
|
974
1074
|
/**
|
|
975
1075
|
* Bank code of bank associated with the bank account.
|
|
@@ -990,12 +1090,36 @@ export declare namespace Charge {
|
|
|
990
1090
|
*/
|
|
991
1091
|
verified_name: string | null;
|
|
992
1092
|
}
|
|
1093
|
+
interface Gopay {
|
|
1094
|
+
}
|
|
993
1095
|
interface Grabpay {
|
|
994
1096
|
/**
|
|
995
1097
|
* Unique transaction id generated by GrabPay
|
|
996
1098
|
*/
|
|
997
1099
|
transaction_id: string | null;
|
|
998
1100
|
}
|
|
1101
|
+
interface IdBankTransfer {
|
|
1102
|
+
/**
|
|
1103
|
+
* Account number of the bank account to transfer funds to.
|
|
1104
|
+
*/
|
|
1105
|
+
account_number: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Bank where the account is located.
|
|
1108
|
+
*/
|
|
1109
|
+
bank: IdBankTransfer.Bank;
|
|
1110
|
+
/**
|
|
1111
|
+
* Local bank code of the bank.
|
|
1112
|
+
*/
|
|
1113
|
+
bank_code?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Name of the bank associated with the bank account.
|
|
1116
|
+
*/
|
|
1117
|
+
bank_name?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1120
|
+
*/
|
|
1121
|
+
display_name?: string;
|
|
1122
|
+
}
|
|
999
1123
|
interface Ideal {
|
|
1000
1124
|
/**
|
|
1001
1125
|
* 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`.
|
|
@@ -1305,10 +1429,34 @@ export declare namespace Charge {
|
|
|
1305
1429
|
* The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1306
1430
|
*/
|
|
1307
1431
|
seller_protection: Paypal.SellerProtection | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1434
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1435
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1436
|
+
*/
|
|
1437
|
+
shipping?: Address | null;
|
|
1308
1438
|
/**
|
|
1309
1439
|
* A unique ID generated by PayPal for this transaction.
|
|
1310
1440
|
*/
|
|
1311
1441
|
transaction_id: string | null;
|
|
1442
|
+
/**
|
|
1443
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1444
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1445
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1446
|
+
*/
|
|
1447
|
+
verified_address?: Address | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1450
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1451
|
+
*/
|
|
1452
|
+
verified_email?: string | null;
|
|
1453
|
+
/**
|
|
1454
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1455
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1456
|
+
*/
|
|
1457
|
+
verified_name?: string | null;
|
|
1458
|
+
}
|
|
1459
|
+
interface Paypay {
|
|
1312
1460
|
}
|
|
1313
1461
|
interface Payto {
|
|
1314
1462
|
/**
|
|
@@ -1348,6 +1496,14 @@ export declare namespace Charge {
|
|
|
1348
1496
|
*/
|
|
1349
1497
|
reference: string | null;
|
|
1350
1498
|
}
|
|
1499
|
+
interface Qris {
|
|
1500
|
+
}
|
|
1501
|
+
interface Rechnung {
|
|
1502
|
+
/**
|
|
1503
|
+
* Payment portal URL.
|
|
1504
|
+
*/
|
|
1505
|
+
payment_portal_url: string | null;
|
|
1506
|
+
}
|
|
1351
1507
|
interface RevolutPay {
|
|
1352
1508
|
funding?: RevolutPay.Funding;
|
|
1353
1509
|
/**
|
|
@@ -1421,6 +1577,8 @@ export declare namespace Charge {
|
|
|
1421
1577
|
*/
|
|
1422
1578
|
mandate: string | null;
|
|
1423
1579
|
}
|
|
1580
|
+
interface Shopeepay {
|
|
1581
|
+
}
|
|
1424
1582
|
interface Sofort {
|
|
1425
1583
|
/**
|
|
1426
1584
|
* Bank code of bank associated with the bank account.
|
|
@@ -1463,6 +1621,12 @@ export declare namespace Charge {
|
|
|
1463
1621
|
}
|
|
1464
1622
|
interface StripeAccount {
|
|
1465
1623
|
}
|
|
1624
|
+
interface StripeBalance {
|
|
1625
|
+
/**
|
|
1626
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1627
|
+
*/
|
|
1628
|
+
account?: string | null;
|
|
1629
|
+
}
|
|
1466
1630
|
interface Sunbit {
|
|
1467
1631
|
/**
|
|
1468
1632
|
* The Sunbit transaction ID associated with this payment.
|
|
@@ -1483,6 +1647,12 @@ export declare namespace Charge {
|
|
|
1483
1647
|
*/
|
|
1484
1648
|
verified_phone_last4: string | null;
|
|
1485
1649
|
}
|
|
1650
|
+
interface Tamara {
|
|
1651
|
+
/**
|
|
1652
|
+
* The Tamara transaction ID associated with this payment.
|
|
1653
|
+
*/
|
|
1654
|
+
transaction_id: string | null;
|
|
1655
|
+
}
|
|
1486
1656
|
interface Twint {
|
|
1487
1657
|
/**
|
|
1488
1658
|
* ID of the multi use Mandate generated by the PaymentIntent
|
|
@@ -1580,6 +1750,10 @@ export declare namespace Charge {
|
|
|
1580
1750
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1581
1751
|
*/
|
|
1582
1752
|
brand: string | null;
|
|
1753
|
+
/**
|
|
1754
|
+
* 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.)
|
|
1755
|
+
*/
|
|
1756
|
+
brand_product?: string | null;
|
|
1583
1757
|
/**
|
|
1584
1758
|
* 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
1759
|
*/
|
|
@@ -1607,6 +1781,19 @@ export declare namespace Charge {
|
|
|
1607
1781
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
1608
1782
|
}
|
|
1609
1783
|
namespace Card {
|
|
1784
|
+
interface AccountFunding {
|
|
1785
|
+
/**
|
|
1786
|
+
* Indicates whether or not this charge is a funding transaction.
|
|
1787
|
+
*/
|
|
1788
|
+
status: AccountFunding.Status;
|
|
1789
|
+
}
|
|
1790
|
+
interface Benefits {
|
|
1791
|
+
fr_meal_voucher?: Benefits.FrMealVoucher;
|
|
1792
|
+
/**
|
|
1793
|
+
* Issuer of the benefit card utilized on this payment
|
|
1794
|
+
*/
|
|
1795
|
+
issuer: string | null;
|
|
1796
|
+
}
|
|
1610
1797
|
interface Checks {
|
|
1611
1798
|
/**
|
|
1612
1799
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -1621,6 +1808,12 @@ export declare namespace Charge {
|
|
|
1621
1808
|
*/
|
|
1622
1809
|
cvc_check: string | null;
|
|
1623
1810
|
}
|
|
1811
|
+
interface DecrementalAuthorization {
|
|
1812
|
+
/**
|
|
1813
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1814
|
+
*/
|
|
1815
|
+
status: DecrementalAuthorization.Status;
|
|
1816
|
+
}
|
|
1624
1817
|
interface ExtendedAuthorization {
|
|
1625
1818
|
/**
|
|
1626
1819
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1661,6 +1854,18 @@ export declare namespace Charge {
|
|
|
1661
1854
|
*/
|
|
1662
1855
|
status: Overcapture.Status;
|
|
1663
1856
|
}
|
|
1857
|
+
interface PartialAuthorization {
|
|
1858
|
+
/**
|
|
1859
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1860
|
+
*/
|
|
1861
|
+
status: PartialAuthorization.Status;
|
|
1862
|
+
}
|
|
1863
|
+
interface Reauthorization {
|
|
1864
|
+
/**
|
|
1865
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1866
|
+
*/
|
|
1867
|
+
status: Reauthorization.Status;
|
|
1868
|
+
}
|
|
1664
1869
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1665
1870
|
interface ThreeDSecure {
|
|
1666
1871
|
/**
|
|
@@ -1718,6 +1923,20 @@ export declare namespace Charge {
|
|
|
1718
1923
|
type: Wallet.Type;
|
|
1719
1924
|
visa_checkout?: Wallet.VisaCheckout;
|
|
1720
1925
|
}
|
|
1926
|
+
namespace AccountFunding {
|
|
1927
|
+
type Status = 'disabled' | 'enabled';
|
|
1928
|
+
}
|
|
1929
|
+
namespace Benefits {
|
|
1930
|
+
interface FrMealVoucher {
|
|
1931
|
+
/**
|
|
1932
|
+
* The 14-digit SIRET of the meal voucher acceptor used for this charge.
|
|
1933
|
+
*/
|
|
1934
|
+
siret: string;
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
namespace DecrementalAuthorization {
|
|
1938
|
+
type Status = 'available' | 'unavailable';
|
|
1939
|
+
}
|
|
1721
1940
|
namespace ExtendedAuthorization {
|
|
1722
1941
|
type Status = 'disabled' | 'enabled';
|
|
1723
1942
|
}
|
|
@@ -1750,6 +1969,12 @@ export declare namespace Charge {
|
|
|
1750
1969
|
namespace Overcapture {
|
|
1751
1970
|
type Status = 'available' | 'unavailable';
|
|
1752
1971
|
}
|
|
1972
|
+
namespace PartialAuthorization {
|
|
1973
|
+
type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized';
|
|
1974
|
+
}
|
|
1975
|
+
namespace Reauthorization {
|
|
1976
|
+
type Status = 'available' | 'unavailable';
|
|
1977
|
+
}
|
|
1753
1978
|
namespace ThreeDSecure {
|
|
1754
1979
|
type AuthenticationFlow = 'challenge' | 'frictionless';
|
|
1755
1980
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07';
|
|
@@ -1809,6 +2034,12 @@ export declare namespace Charge {
|
|
|
1809
2034
|
}
|
|
1810
2035
|
}
|
|
1811
2036
|
namespace CardPresent {
|
|
2037
|
+
interface Multicapture {
|
|
2038
|
+
/**
|
|
2039
|
+
* Indicates whether or not multiple captures are supported.
|
|
2040
|
+
*/
|
|
2041
|
+
status: Multicapture.Status;
|
|
2042
|
+
}
|
|
1812
2043
|
interface Offline {
|
|
1813
2044
|
/**
|
|
1814
2045
|
* Time at which the payment was collected while offline
|
|
@@ -1820,6 +2051,12 @@ export declare namespace Charge {
|
|
|
1820
2051
|
type: 'deferred' | null;
|
|
1821
2052
|
}
|
|
1822
2053
|
type ReadMethod = 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2';
|
|
2054
|
+
interface Reauthorization {
|
|
2055
|
+
/**
|
|
2056
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
2057
|
+
*/
|
|
2058
|
+
status: Reauthorization.Status;
|
|
2059
|
+
}
|
|
1823
2060
|
interface Receipt {
|
|
1824
2061
|
/**
|
|
1825
2062
|
* The type of account being debited or credited
|
|
@@ -1864,6 +2101,12 @@ export declare namespace Charge {
|
|
|
1864
2101
|
*/
|
|
1865
2102
|
type: Wallet.Type;
|
|
1866
2103
|
}
|
|
2104
|
+
namespace Multicapture {
|
|
2105
|
+
type Status = 'available' | 'unavailable';
|
|
2106
|
+
}
|
|
2107
|
+
namespace Reauthorization {
|
|
2108
|
+
type Status = 'available' | 'unavailable';
|
|
2109
|
+
}
|
|
1867
2110
|
namespace Receipt {
|
|
1868
2111
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
|
|
1869
2112
|
}
|
|
@@ -1882,6 +2125,22 @@ export declare namespace Charge {
|
|
|
1882
2125
|
type AccountHolderType = 'company' | 'individual';
|
|
1883
2126
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1884
2127
|
}
|
|
2128
|
+
namespace GiftCard {
|
|
2129
|
+
interface Balance {
|
|
2130
|
+
/**
|
|
2131
|
+
* The balance amount in the smallest currency unit.
|
|
2132
|
+
*/
|
|
2133
|
+
amount: number;
|
|
2134
|
+
/**
|
|
2135
|
+
* The currency of the balance.
|
|
2136
|
+
*/
|
|
2137
|
+
currency: string;
|
|
2138
|
+
}
|
|
2139
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
|
|
2140
|
+
}
|
|
2141
|
+
namespace IdBankTransfer {
|
|
2142
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2143
|
+
}
|
|
1885
2144
|
namespace Ideal {
|
|
1886
2145
|
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
2146
|
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 +2276,10 @@ export declare namespace Charge {
|
|
|
2017
2276
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
2018
2277
|
*/
|
|
2019
2278
|
brand: string | null;
|
|
2279
|
+
/**
|
|
2280
|
+
* 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.)
|
|
2281
|
+
*/
|
|
2282
|
+
brand_product?: string | null;
|
|
2020
2283
|
/**
|
|
2021
2284
|
* 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
2285
|
*/
|
|
@@ -2048,6 +2311,9 @@ export declare namespace Charge {
|
|
|
2048
2311
|
type AccountType = 'checking' | 'savings';
|
|
2049
2312
|
}
|
|
2050
2313
|
}
|
|
2314
|
+
namespace Redaction {
|
|
2315
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
2316
|
+
}
|
|
2051
2317
|
}
|
|
2052
2318
|
export interface ChargeCreateParams {
|
|
2053
2319
|
/**
|
|
@@ -2204,6 +2470,10 @@ export interface ChargeUpdateParams {
|
|
|
2204
2470
|
* 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
2471
|
*/
|
|
2206
2472
|
metadata?: Emptyable<MetadataParam>;
|
|
2473
|
+
/**
|
|
2474
|
+
* Provides industry-specific information about the charge.
|
|
2475
|
+
*/
|
|
2476
|
+
payment_details?: ChargeUpdateParams.PaymentDetails;
|
|
2207
2477
|
/**
|
|
2208
2478
|
* 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
2479
|
*/
|
|
@@ -2224,6 +2494,56 @@ export declare namespace ChargeUpdateParams {
|
|
|
2224
2494
|
*/
|
|
2225
2495
|
user_report: Emptyable<FraudDetails.UserReport>;
|
|
2226
2496
|
}
|
|
2497
|
+
interface PaymentDetails {
|
|
2498
|
+
/**
|
|
2499
|
+
* Car rental details for this PaymentIntent.
|
|
2500
|
+
*/
|
|
2501
|
+
car_rental?: PaymentDetails.CarRental;
|
|
2502
|
+
/**
|
|
2503
|
+
* Car rental data for this PaymentIntent.
|
|
2504
|
+
*/
|
|
2505
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
2506
|
+
/**
|
|
2507
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
2508
|
+
*
|
|
2509
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2510
|
+
*/
|
|
2511
|
+
customer_reference?: Emptyable<string>;
|
|
2512
|
+
/**
|
|
2513
|
+
* Event details for this PaymentIntent
|
|
2514
|
+
*/
|
|
2515
|
+
event_details?: PaymentDetails.EventDetails;
|
|
2516
|
+
/**
|
|
2517
|
+
* Fleet data for this PaymentIntent.
|
|
2518
|
+
*/
|
|
2519
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
2520
|
+
/**
|
|
2521
|
+
* Flight reservation details for this PaymentIntent
|
|
2522
|
+
*/
|
|
2523
|
+
flight?: PaymentDetails.Flight;
|
|
2524
|
+
/**
|
|
2525
|
+
* Flight data for this PaymentIntent.
|
|
2526
|
+
*/
|
|
2527
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
2528
|
+
/**
|
|
2529
|
+
* Lodging reservation details for this PaymentIntent
|
|
2530
|
+
*/
|
|
2531
|
+
lodging?: PaymentDetails.Lodging;
|
|
2532
|
+
/**
|
|
2533
|
+
* Lodging data for this PaymentIntent.
|
|
2534
|
+
*/
|
|
2535
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
2536
|
+
/**
|
|
2537
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2538
|
+
*
|
|
2539
|
+
* 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.
|
|
2540
|
+
*/
|
|
2541
|
+
order_reference?: Emptyable<string>;
|
|
2542
|
+
/**
|
|
2543
|
+
* Subscription details for this PaymentIntent
|
|
2544
|
+
*/
|
|
2545
|
+
subscription?: PaymentDetails.Subscription;
|
|
2546
|
+
}
|
|
2227
2547
|
interface Shipping {
|
|
2228
2548
|
/**
|
|
2229
2549
|
* Shipping address.
|
|
@@ -2249,75 +2569,3037 @@ export declare namespace ChargeUpdateParams {
|
|
|
2249
2569
|
namespace FraudDetails {
|
|
2250
2570
|
type UserReport = 'fraudulent' | 'safe';
|
|
2251
2571
|
}
|
|
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
|
-
|
|
2572
|
+
namespace PaymentDetails {
|
|
2573
|
+
interface CarRental {
|
|
2574
|
+
/**
|
|
2575
|
+
* Affiliate details for this purchase.
|
|
2576
|
+
*/
|
|
2577
|
+
affiliate?: CarRental.Affiliate;
|
|
2578
|
+
/**
|
|
2579
|
+
* The booking number associated with the car rental.
|
|
2580
|
+
*/
|
|
2581
|
+
booking_number: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* Class code of the car.
|
|
2584
|
+
*/
|
|
2585
|
+
car_class_code?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Make of the car.
|
|
2588
|
+
*/
|
|
2589
|
+
car_make?: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* Model of the car.
|
|
2592
|
+
*/
|
|
2593
|
+
car_model?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* The name of the rental car company.
|
|
2596
|
+
*/
|
|
2597
|
+
company?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* The customer service phone number of the car rental company.
|
|
2600
|
+
*/
|
|
2601
|
+
customer_service_phone_number?: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* Number of days the car is being rented.
|
|
2604
|
+
*/
|
|
2605
|
+
days_rented: number;
|
|
2606
|
+
/**
|
|
2607
|
+
* Delivery details for this purchase.
|
|
2608
|
+
*/
|
|
2609
|
+
delivery?: CarRental.Delivery;
|
|
2610
|
+
/**
|
|
2611
|
+
* The details of the distance traveled during the rental period.
|
|
2612
|
+
*/
|
|
2613
|
+
distance?: CarRental.Distance;
|
|
2614
|
+
/**
|
|
2615
|
+
* The details of the passengers in the travel reservation
|
|
2616
|
+
*/
|
|
2617
|
+
drivers?: Array<CarRental.Driver>;
|
|
2618
|
+
/**
|
|
2619
|
+
* List of additional charges being billed.
|
|
2620
|
+
*/
|
|
2621
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
2624
|
+
*/
|
|
2625
|
+
no_show?: boolean;
|
|
2626
|
+
/**
|
|
2627
|
+
* Car pick-up address.
|
|
2628
|
+
*/
|
|
2629
|
+
pickup_address?: AddressParam;
|
|
2630
|
+
/**
|
|
2631
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
2632
|
+
*/
|
|
2633
|
+
pickup_at: number;
|
|
2634
|
+
/**
|
|
2635
|
+
* Name of the pickup location.
|
|
2636
|
+
*/
|
|
2637
|
+
pickup_location_name?: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Rental rate.
|
|
2640
|
+
*/
|
|
2641
|
+
rate_amount?: number;
|
|
2642
|
+
/**
|
|
2643
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
2644
|
+
*/
|
|
2645
|
+
rate_interval?: CarRental.RateInterval;
|
|
2646
|
+
/**
|
|
2647
|
+
* The name of the person or entity renting the car.
|
|
2648
|
+
*/
|
|
2649
|
+
renter_name?: string;
|
|
2650
|
+
/**
|
|
2651
|
+
* Car return address.
|
|
2652
|
+
*/
|
|
2653
|
+
return_address?: AddressParam;
|
|
2654
|
+
/**
|
|
2655
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
2656
|
+
*/
|
|
2657
|
+
return_at: number;
|
|
2658
|
+
/**
|
|
2659
|
+
* Name of the return location.
|
|
2660
|
+
*/
|
|
2661
|
+
return_location_name?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
2664
|
+
*/
|
|
2665
|
+
tax_exempt?: boolean;
|
|
2666
|
+
/**
|
|
2667
|
+
* The vehicle identification number.
|
|
2668
|
+
*/
|
|
2669
|
+
vehicle_identification_number?: string;
|
|
2670
|
+
}
|
|
2671
|
+
interface CarRentalDatum {
|
|
2672
|
+
/**
|
|
2673
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
2674
|
+
*/
|
|
2675
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
2676
|
+
/**
|
|
2677
|
+
* Booking confirmation number for the car rental.
|
|
2678
|
+
*/
|
|
2679
|
+
booking_number?: string;
|
|
2680
|
+
/**
|
|
2681
|
+
* Name of the car rental company.
|
|
2682
|
+
*/
|
|
2683
|
+
carrier_name?: string;
|
|
2684
|
+
/**
|
|
2685
|
+
* Customer service phone number for the car rental company.
|
|
2686
|
+
*/
|
|
2687
|
+
customer_service_phone_number?: string;
|
|
2688
|
+
/**
|
|
2689
|
+
* Number of days the car is being rented.
|
|
2690
|
+
*/
|
|
2691
|
+
days_rented?: number;
|
|
2692
|
+
/**
|
|
2693
|
+
* Distance details for the rental.
|
|
2694
|
+
*/
|
|
2695
|
+
distance?: CarRentalDatum.Distance;
|
|
2696
|
+
/**
|
|
2697
|
+
* List of drivers for the rental.
|
|
2698
|
+
*/
|
|
2699
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
2700
|
+
/**
|
|
2701
|
+
* Drop-off location details.
|
|
2702
|
+
*/
|
|
2703
|
+
drop_off: CarRentalDatum.DropOff;
|
|
2704
|
+
/**
|
|
2705
|
+
* Insurance details for the rental.
|
|
2706
|
+
*/
|
|
2707
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
2708
|
+
/**
|
|
2709
|
+
* Indicates if the customer was a no-show.
|
|
2710
|
+
*/
|
|
2711
|
+
no_show_indicator?: boolean;
|
|
2712
|
+
/**
|
|
2713
|
+
* Pickup location details.
|
|
2714
|
+
*/
|
|
2715
|
+
pickup: CarRentalDatum.Pickup;
|
|
2716
|
+
/**
|
|
2717
|
+
* Name of the person renting the vehicle.
|
|
2718
|
+
*/
|
|
2719
|
+
renter_name?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
* Total cost breakdown for the rental.
|
|
2722
|
+
*/
|
|
2723
|
+
total: CarRentalDatum.Total;
|
|
2724
|
+
/**
|
|
2725
|
+
* Vehicle details for the rental.
|
|
2726
|
+
*/
|
|
2727
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
2728
|
+
}
|
|
2729
|
+
interface EventDetails {
|
|
2730
|
+
/**
|
|
2731
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
2732
|
+
*/
|
|
2733
|
+
access_controlled_venue?: boolean;
|
|
2734
|
+
/**
|
|
2735
|
+
* The event location's address.
|
|
2736
|
+
*/
|
|
2737
|
+
address?: AddressParam;
|
|
2738
|
+
/**
|
|
2739
|
+
* Affiliate details for this purchase.
|
|
2740
|
+
*/
|
|
2741
|
+
affiliate?: EventDetails.Affiliate;
|
|
2742
|
+
/**
|
|
2743
|
+
* The name of the company
|
|
2744
|
+
*/
|
|
2745
|
+
company?: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* Delivery details for this purchase.
|
|
2748
|
+
*/
|
|
2749
|
+
delivery?: EventDetails.Delivery;
|
|
2750
|
+
/**
|
|
2751
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
2752
|
+
*/
|
|
2753
|
+
ends_at?: number;
|
|
2754
|
+
/**
|
|
2755
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
2756
|
+
*/
|
|
2757
|
+
genre?: string;
|
|
2758
|
+
/**
|
|
2759
|
+
* The name of the event.
|
|
2760
|
+
*/
|
|
2761
|
+
name: string;
|
|
2762
|
+
/**
|
|
2763
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
2764
|
+
*/
|
|
2765
|
+
starts_at?: number;
|
|
2766
|
+
}
|
|
2767
|
+
interface FleetDatum {
|
|
2768
|
+
/**
|
|
2769
|
+
* Primary fuel fields for the transaction.
|
|
2770
|
+
*/
|
|
2771
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
2772
|
+
/**
|
|
2773
|
+
* Station and acceptor location details.
|
|
2774
|
+
*/
|
|
2775
|
+
station?: FleetDatum.Station;
|
|
2776
|
+
/**
|
|
2777
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
2778
|
+
*/
|
|
2779
|
+
vat?: FleetDatum.Vat;
|
|
2780
|
+
}
|
|
2781
|
+
interface Flight {
|
|
2782
|
+
/**
|
|
2783
|
+
* Affiliate details for this purchase.
|
|
2784
|
+
*/
|
|
2785
|
+
affiliate?: Flight.Affiliate;
|
|
2786
|
+
/**
|
|
2787
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
2788
|
+
*/
|
|
2789
|
+
agency_number?: string;
|
|
2790
|
+
/**
|
|
2791
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
2792
|
+
*/
|
|
2793
|
+
carrier?: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* Delivery details for this purchase.
|
|
2796
|
+
*/
|
|
2797
|
+
delivery?: Flight.Delivery;
|
|
2798
|
+
/**
|
|
2799
|
+
* The name of the person or entity on the reservation.
|
|
2800
|
+
*/
|
|
2801
|
+
passenger_name?: string;
|
|
2802
|
+
/**
|
|
2803
|
+
* The details of the passengers in the travel reservation.
|
|
2804
|
+
*/
|
|
2805
|
+
passengers?: Array<Flight.Passenger>;
|
|
2806
|
+
/**
|
|
2807
|
+
* The individual flight segments associated with the trip.
|
|
2808
|
+
*/
|
|
2809
|
+
segments: Array<Flight.Segment>;
|
|
2810
|
+
/**
|
|
2811
|
+
* The ticket number associated with the travel reservation.
|
|
2812
|
+
*/
|
|
2813
|
+
ticket_number?: string;
|
|
2814
|
+
}
|
|
2815
|
+
interface FlightDatum {
|
|
2816
|
+
/**
|
|
2817
|
+
* Affiliate details if applicable.
|
|
2818
|
+
*/
|
|
2819
|
+
affiliate?: FlightDatum.Affiliate;
|
|
2820
|
+
/**
|
|
2821
|
+
* Reservation reference.
|
|
2822
|
+
*/
|
|
2823
|
+
booking_number?: string;
|
|
2824
|
+
/**
|
|
2825
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
2826
|
+
*/
|
|
2827
|
+
computerized_reservation_system?: string;
|
|
2828
|
+
/**
|
|
2829
|
+
* Ticket restrictions.
|
|
2830
|
+
*/
|
|
2831
|
+
endorsements_and_restrictions?: string;
|
|
2832
|
+
/**
|
|
2833
|
+
* List of insurances.
|
|
2834
|
+
*/
|
|
2835
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
2836
|
+
/**
|
|
2837
|
+
* List of passengers.
|
|
2838
|
+
*/
|
|
2839
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
2840
|
+
/**
|
|
2841
|
+
* List of flight segments.
|
|
2842
|
+
*/
|
|
2843
|
+
segments: Array<FlightDatum.Segment>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Electronic ticket indicator.
|
|
2846
|
+
*/
|
|
2847
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
2848
|
+
/**
|
|
2849
|
+
* Total cost breakdown.
|
|
2850
|
+
*/
|
|
2851
|
+
total: FlightDatum.Total;
|
|
2852
|
+
/**
|
|
2853
|
+
* Type of flight transaction.
|
|
2854
|
+
*/
|
|
2855
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
2856
|
+
}
|
|
2857
|
+
interface Lodging {
|
|
2858
|
+
/**
|
|
2859
|
+
* The lodging location's address.
|
|
2860
|
+
*/
|
|
2861
|
+
address?: AddressParam;
|
|
2862
|
+
/**
|
|
2863
|
+
* The number of adults on the booking
|
|
2864
|
+
*/
|
|
2865
|
+
adults?: number;
|
|
2866
|
+
/**
|
|
2867
|
+
* Affiliate details for this purchase.
|
|
2868
|
+
*/
|
|
2869
|
+
affiliate?: Lodging.Affiliate;
|
|
2870
|
+
/**
|
|
2871
|
+
* The booking number associated with the lodging reservation.
|
|
2872
|
+
*/
|
|
2873
|
+
booking_number?: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* The lodging category
|
|
2876
|
+
*/
|
|
2877
|
+
category?: Lodging.Category;
|
|
2878
|
+
/**
|
|
2879
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
2880
|
+
*/
|
|
2881
|
+
checkin_at: number;
|
|
2882
|
+
/**
|
|
2883
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
2884
|
+
*/
|
|
2885
|
+
checkout_at: number;
|
|
2886
|
+
/**
|
|
2887
|
+
* The customer service phone number of the lodging company.
|
|
2888
|
+
*/
|
|
2889
|
+
customer_service_phone_number?: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* The daily lodging room rate.
|
|
2892
|
+
*/
|
|
2893
|
+
daily_room_rate_amount?: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* Delivery details for this purchase.
|
|
2896
|
+
*/
|
|
2897
|
+
delivery?: Lodging.Delivery;
|
|
2898
|
+
/**
|
|
2899
|
+
* List of additional charges being billed.
|
|
2900
|
+
*/
|
|
2901
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
2902
|
+
/**
|
|
2903
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
2904
|
+
*/
|
|
2905
|
+
fire_safety_act_compliance?: boolean;
|
|
2906
|
+
/**
|
|
2907
|
+
* The name of the lodging location.
|
|
2908
|
+
*/
|
|
2909
|
+
name?: string;
|
|
2910
|
+
/**
|
|
2911
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
2912
|
+
*/
|
|
2913
|
+
no_show?: boolean;
|
|
2914
|
+
/**
|
|
2915
|
+
* The number of rooms on the booking
|
|
2916
|
+
*/
|
|
2917
|
+
number_of_rooms?: number;
|
|
2918
|
+
/**
|
|
2919
|
+
* The details of the passengers in the travel reservation
|
|
2920
|
+
*/
|
|
2921
|
+
passengers?: Array<Lodging.Passenger>;
|
|
2922
|
+
/**
|
|
2923
|
+
* The phone number of the lodging location.
|
|
2924
|
+
*/
|
|
2925
|
+
property_phone_number?: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* The room class for this purchase.
|
|
2928
|
+
*/
|
|
2929
|
+
room_class?: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* The number of room nights
|
|
2932
|
+
*/
|
|
2933
|
+
room_nights?: number;
|
|
2934
|
+
/**
|
|
2935
|
+
* The total tax amount associating with the room reservation.
|
|
2936
|
+
*/
|
|
2937
|
+
total_room_tax_amount?: number;
|
|
2938
|
+
/**
|
|
2939
|
+
* The total tax amount
|
|
2940
|
+
*/
|
|
2941
|
+
total_tax_amount?: number;
|
|
2942
|
+
}
|
|
2943
|
+
interface LodgingDatum {
|
|
2944
|
+
/**
|
|
2945
|
+
* Accommodation details for the lodging.
|
|
2946
|
+
*/
|
|
2947
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
2948
|
+
/**
|
|
2949
|
+
* Affiliate details if applicable.
|
|
2950
|
+
*/
|
|
2951
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
2952
|
+
/**
|
|
2953
|
+
* Booking confirmation number for the lodging.
|
|
2954
|
+
*/
|
|
2955
|
+
booking_number?: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* Check-in date.
|
|
2958
|
+
*/
|
|
2959
|
+
checkin_at: number;
|
|
2960
|
+
/**
|
|
2961
|
+
* Check-out date.
|
|
2962
|
+
*/
|
|
2963
|
+
checkout_at: number;
|
|
2964
|
+
/**
|
|
2965
|
+
* Customer service phone number for the lodging company.
|
|
2966
|
+
*/
|
|
2967
|
+
customer_service_phone_number?: string;
|
|
2968
|
+
/**
|
|
2969
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2970
|
+
*/
|
|
2971
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
2972
|
+
/**
|
|
2973
|
+
* List of guests for the lodging.
|
|
2974
|
+
*/
|
|
2975
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
2976
|
+
/**
|
|
2977
|
+
* Host details for the lodging.
|
|
2978
|
+
*/
|
|
2979
|
+
host?: LodgingDatum.Host;
|
|
2980
|
+
/**
|
|
2981
|
+
* List of insurances for the lodging.
|
|
2982
|
+
*/
|
|
2983
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
2984
|
+
/**
|
|
2985
|
+
* Whether the renter is a no-show.
|
|
2986
|
+
*/
|
|
2987
|
+
no_show_indicator?: boolean;
|
|
2988
|
+
/**
|
|
2989
|
+
* Renter ID number for the lodging.
|
|
2990
|
+
*/
|
|
2991
|
+
renter_id_number?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* Renter name for the lodging.
|
|
2994
|
+
*/
|
|
2995
|
+
renter_name?: string;
|
|
2996
|
+
/**
|
|
2997
|
+
* Total details for the lodging.
|
|
2998
|
+
*/
|
|
2999
|
+
total: LodgingDatum.Total;
|
|
3000
|
+
}
|
|
3001
|
+
interface Subscription {
|
|
3002
|
+
/**
|
|
3003
|
+
* Affiliate details for this purchase.
|
|
3004
|
+
*/
|
|
3005
|
+
affiliate?: Subscription.Affiliate;
|
|
3006
|
+
/**
|
|
3007
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
3008
|
+
*/
|
|
3009
|
+
auto_renewal?: boolean;
|
|
3010
|
+
/**
|
|
3011
|
+
* Subscription billing details for this purchase.
|
|
3012
|
+
*/
|
|
3013
|
+
billing_interval?: Subscription.BillingInterval;
|
|
3014
|
+
/**
|
|
3015
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
3016
|
+
*/
|
|
3017
|
+
ends_at?: number;
|
|
3018
|
+
/**
|
|
3019
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
3020
|
+
*/
|
|
3021
|
+
name: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
3024
|
+
*/
|
|
3025
|
+
starts_at?: number;
|
|
3026
|
+
}
|
|
3027
|
+
namespace CarRental {
|
|
3028
|
+
interface Affiliate {
|
|
3029
|
+
/**
|
|
3030
|
+
* The name of the affiliate that originated the purchase.
|
|
3031
|
+
*/
|
|
3032
|
+
name: string;
|
|
3033
|
+
}
|
|
3034
|
+
interface Delivery {
|
|
3035
|
+
/**
|
|
3036
|
+
* The delivery method for the payment
|
|
3037
|
+
*/
|
|
3038
|
+
mode?: Delivery.Mode;
|
|
3039
|
+
/**
|
|
3040
|
+
* Details of the recipient.
|
|
3041
|
+
*/
|
|
3042
|
+
recipient?: Delivery.Recipient;
|
|
3043
|
+
}
|
|
3044
|
+
interface Distance {
|
|
3045
|
+
/**
|
|
3046
|
+
* Distance traveled.
|
|
3047
|
+
*/
|
|
3048
|
+
amount?: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3051
|
+
*/
|
|
3052
|
+
unit?: Distance.Unit;
|
|
3053
|
+
}
|
|
3054
|
+
interface Driver {
|
|
3055
|
+
/**
|
|
3056
|
+
* Driver's identification number.
|
|
3057
|
+
*/
|
|
3058
|
+
driver_identification_number?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* Driver's tax number.
|
|
3061
|
+
*/
|
|
3062
|
+
driver_tax_number?: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* Full name of the person or entity on the car reservation.
|
|
3065
|
+
*/
|
|
3066
|
+
name: string;
|
|
3067
|
+
}
|
|
3068
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
3069
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
3070
|
+
namespace Delivery {
|
|
3071
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3072
|
+
interface Recipient {
|
|
3073
|
+
/**
|
|
3074
|
+
* The email of the recipient the ticket is delivered to.
|
|
3075
|
+
*/
|
|
3076
|
+
email?: string;
|
|
3077
|
+
/**
|
|
3078
|
+
* The name of the recipient the ticket is delivered to.
|
|
3079
|
+
*/
|
|
3080
|
+
name?: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3083
|
+
*/
|
|
3084
|
+
phone?: string;
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
namespace Distance {
|
|
3088
|
+
type Unit = 'kilometers' | 'miles';
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
namespace CarRentalDatum {
|
|
3092
|
+
interface Affiliate {
|
|
3093
|
+
/**
|
|
3094
|
+
* Affiliate partner code.
|
|
3095
|
+
*/
|
|
3096
|
+
code?: string;
|
|
3097
|
+
/**
|
|
3098
|
+
* Name of affiliate partner.
|
|
3099
|
+
*/
|
|
3100
|
+
name?: string;
|
|
3101
|
+
}
|
|
3102
|
+
interface Distance {
|
|
3103
|
+
/**
|
|
3104
|
+
* Distance traveled.
|
|
3105
|
+
*/
|
|
3106
|
+
amount: number;
|
|
3107
|
+
/**
|
|
3108
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3109
|
+
*/
|
|
3110
|
+
unit: Distance.Unit;
|
|
3111
|
+
}
|
|
3112
|
+
interface Driver {
|
|
3113
|
+
/**
|
|
3114
|
+
* Driver's date of birth.
|
|
3115
|
+
*/
|
|
3116
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
3117
|
+
/**
|
|
3118
|
+
* Driver's identification number.
|
|
3119
|
+
*/
|
|
3120
|
+
driver_identification_number?: string;
|
|
3121
|
+
/**
|
|
3122
|
+
* Driver's tax number.
|
|
3123
|
+
*/
|
|
3124
|
+
driver_tax_number?: string;
|
|
3125
|
+
/**
|
|
3126
|
+
* Driver's full name.
|
|
3127
|
+
*/
|
|
3128
|
+
name: string;
|
|
3129
|
+
}
|
|
3130
|
+
interface DropOff {
|
|
3131
|
+
/**
|
|
3132
|
+
* Address of the rental location.
|
|
3133
|
+
*/
|
|
3134
|
+
address: DropOff.Address;
|
|
3135
|
+
/**
|
|
3136
|
+
* Location name.
|
|
3137
|
+
*/
|
|
3138
|
+
location_name?: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* Timestamp for the location.
|
|
3141
|
+
*/
|
|
3142
|
+
time: number;
|
|
3143
|
+
}
|
|
3144
|
+
interface Insurance {
|
|
3145
|
+
/**
|
|
3146
|
+
* Amount of the insurance coverage in cents.
|
|
3147
|
+
*/
|
|
3148
|
+
amount: number;
|
|
3149
|
+
/**
|
|
3150
|
+
* Currency of the insurance amount.
|
|
3151
|
+
*/
|
|
3152
|
+
currency?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* Name of the insurance company.
|
|
3155
|
+
*/
|
|
3156
|
+
insurance_company_name?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* Type of insurance coverage.
|
|
3159
|
+
*/
|
|
3160
|
+
insurance_type: Insurance.InsuranceType;
|
|
3161
|
+
}
|
|
3162
|
+
interface Pickup {
|
|
3163
|
+
/**
|
|
3164
|
+
* Address of the rental location.
|
|
3165
|
+
*/
|
|
3166
|
+
address: Pickup.Address;
|
|
3167
|
+
/**
|
|
3168
|
+
* Location name.
|
|
3169
|
+
*/
|
|
3170
|
+
location_name?: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* Timestamp for the location.
|
|
3173
|
+
*/
|
|
3174
|
+
time: number;
|
|
3175
|
+
}
|
|
3176
|
+
interface Total {
|
|
3177
|
+
/**
|
|
3178
|
+
* Total amount in cents.
|
|
3179
|
+
*/
|
|
3180
|
+
amount: number;
|
|
3181
|
+
/**
|
|
3182
|
+
* Currency of the amount.
|
|
3183
|
+
*/
|
|
3184
|
+
currency?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* Discount details for the rental.
|
|
3187
|
+
*/
|
|
3188
|
+
discounts?: Total.Discounts;
|
|
3189
|
+
/**
|
|
3190
|
+
* Additional charges for the rental.
|
|
3191
|
+
*/
|
|
3192
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3193
|
+
/**
|
|
3194
|
+
* Rate per unit for the rental.
|
|
3195
|
+
*/
|
|
3196
|
+
rate_per_unit?: number;
|
|
3197
|
+
/**
|
|
3198
|
+
* Unit of measurement for the rate.
|
|
3199
|
+
*/
|
|
3200
|
+
rate_unit?: Total.RateUnit;
|
|
3201
|
+
/**
|
|
3202
|
+
* Tax breakdown for the rental.
|
|
3203
|
+
*/
|
|
3204
|
+
tax?: Total.Tax;
|
|
3205
|
+
}
|
|
3206
|
+
interface Vehicle {
|
|
3207
|
+
/**
|
|
3208
|
+
* Make of the rental vehicle.
|
|
3209
|
+
*/
|
|
3210
|
+
make?: string;
|
|
3211
|
+
/**
|
|
3212
|
+
* Model of the rental vehicle.
|
|
3213
|
+
*/
|
|
3214
|
+
model?: string;
|
|
3215
|
+
/**
|
|
3216
|
+
* Odometer reading at the time of rental.
|
|
3217
|
+
*/
|
|
3218
|
+
odometer?: number;
|
|
3219
|
+
/**
|
|
3220
|
+
* Type of the rental vehicle.
|
|
3221
|
+
*/
|
|
3222
|
+
type?: Vehicle.Type;
|
|
3223
|
+
/**
|
|
3224
|
+
* Class of the rental vehicle.
|
|
3225
|
+
*/
|
|
3226
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
3227
|
+
/**
|
|
3228
|
+
* Vehicle identification number (VIN).
|
|
3229
|
+
*/
|
|
3230
|
+
vehicle_identification_number?: string;
|
|
3231
|
+
}
|
|
3232
|
+
namespace Distance {
|
|
3233
|
+
type Unit = 'kilometers' | 'miles';
|
|
3234
|
+
}
|
|
3235
|
+
namespace Driver {
|
|
3236
|
+
interface DateOfBirth {
|
|
3237
|
+
/**
|
|
3238
|
+
* Day of birth (1-31).
|
|
3239
|
+
*/
|
|
3240
|
+
day: number;
|
|
3241
|
+
/**
|
|
3242
|
+
* Month of birth (1-12).
|
|
3243
|
+
*/
|
|
3244
|
+
month: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* Year of birth (must be greater than 1900).
|
|
3247
|
+
*/
|
|
3248
|
+
year: number;
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
namespace DropOff {
|
|
3252
|
+
interface Address {
|
|
3253
|
+
/**
|
|
3254
|
+
* City, district, suburb, town, or village.
|
|
3255
|
+
*/
|
|
3256
|
+
city: string;
|
|
3257
|
+
/**
|
|
3258
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3259
|
+
*/
|
|
3260
|
+
country: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3263
|
+
*/
|
|
3264
|
+
line1: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3267
|
+
*/
|
|
3268
|
+
line2?: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* ZIP or postal code.
|
|
3271
|
+
*/
|
|
3272
|
+
postal_code: string;
|
|
3273
|
+
/**
|
|
3274
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3275
|
+
*/
|
|
3276
|
+
state?: string;
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3279
|
+
namespace Insurance {
|
|
3280
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
3281
|
+
}
|
|
3282
|
+
namespace Pickup {
|
|
3283
|
+
interface Address {
|
|
3284
|
+
/**
|
|
3285
|
+
* City, district, suburb, town, or village.
|
|
3286
|
+
*/
|
|
3287
|
+
city: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3290
|
+
*/
|
|
3291
|
+
country: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3294
|
+
*/
|
|
3295
|
+
line1: string;
|
|
3296
|
+
/**
|
|
3297
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3298
|
+
*/
|
|
3299
|
+
line2?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* ZIP or postal code.
|
|
3302
|
+
*/
|
|
3303
|
+
postal_code: string;
|
|
3304
|
+
/**
|
|
3305
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3306
|
+
*/
|
|
3307
|
+
state?: string;
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
namespace Total {
|
|
3311
|
+
interface Discounts {
|
|
3312
|
+
/**
|
|
3313
|
+
* Corporate client discount code.
|
|
3314
|
+
*/
|
|
3315
|
+
corporate_client_code?: string;
|
|
3316
|
+
/**
|
|
3317
|
+
* Coupon code applied to the rental.
|
|
3318
|
+
*/
|
|
3319
|
+
coupon?: string;
|
|
3320
|
+
/**
|
|
3321
|
+
* Maximum number of free miles or kilometers included.
|
|
3322
|
+
*/
|
|
3323
|
+
maximum_free_miles_or_kilometers?: number;
|
|
3324
|
+
}
|
|
3325
|
+
interface ExtraCharge {
|
|
3326
|
+
/**
|
|
3327
|
+
* Amount of the extra charge in cents.
|
|
3328
|
+
*/
|
|
3329
|
+
amount: number;
|
|
3330
|
+
/**
|
|
3331
|
+
* Type of extra charge.
|
|
3332
|
+
*/
|
|
3333
|
+
type: ExtraCharge.Type;
|
|
3334
|
+
}
|
|
3335
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
3336
|
+
interface Tax {
|
|
3337
|
+
/**
|
|
3338
|
+
* Indicates if the transaction is tax exempt.
|
|
3339
|
+
*/
|
|
3340
|
+
tax_exempt_indicator?: boolean;
|
|
3341
|
+
/**
|
|
3342
|
+
* Array of tax details.
|
|
3343
|
+
*/
|
|
3344
|
+
taxes?: Array<Tax.Tax>;
|
|
3345
|
+
}
|
|
3346
|
+
namespace ExtraCharge {
|
|
3347
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
3348
|
+
}
|
|
3349
|
+
namespace Tax {
|
|
3350
|
+
interface Tax {
|
|
3351
|
+
/**
|
|
3352
|
+
* Tax amount.
|
|
3353
|
+
*/
|
|
3354
|
+
amount?: number;
|
|
3355
|
+
/**
|
|
3356
|
+
* Tax rate applied.
|
|
3357
|
+
*/
|
|
3358
|
+
rate?: number;
|
|
3359
|
+
/**
|
|
3360
|
+
* Type of tax applied.
|
|
3361
|
+
*/
|
|
3362
|
+
type?: string;
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
namespace Vehicle {
|
|
3367
|
+
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';
|
|
3368
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
namespace EventDetails {
|
|
3372
|
+
interface Affiliate {
|
|
3373
|
+
/**
|
|
3374
|
+
* The name of the affiliate that originated the purchase.
|
|
3375
|
+
*/
|
|
3376
|
+
name: string;
|
|
3377
|
+
}
|
|
3378
|
+
interface Delivery {
|
|
3379
|
+
/**
|
|
3380
|
+
* The delivery method for the payment
|
|
3381
|
+
*/
|
|
3382
|
+
mode?: Delivery.Mode;
|
|
3383
|
+
/**
|
|
3384
|
+
* Details of the recipient.
|
|
3385
|
+
*/
|
|
3386
|
+
recipient?: Delivery.Recipient;
|
|
3387
|
+
}
|
|
3388
|
+
namespace Delivery {
|
|
3389
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3390
|
+
interface Recipient {
|
|
3391
|
+
/**
|
|
3392
|
+
* The email of the recipient the ticket is delivered to.
|
|
3393
|
+
*/
|
|
3394
|
+
email?: string;
|
|
3395
|
+
/**
|
|
3396
|
+
* The name of the recipient the ticket is delivered to.
|
|
3397
|
+
*/
|
|
3398
|
+
name?: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3401
|
+
*/
|
|
3402
|
+
phone?: string;
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
namespace FleetDatum {
|
|
3407
|
+
interface PrimaryFuelFields {
|
|
3408
|
+
/**
|
|
3409
|
+
* The fuel brand.
|
|
3410
|
+
*/
|
|
3411
|
+
brand?: PrimaryFuelFields.Brand;
|
|
3412
|
+
}
|
|
3413
|
+
interface Station {
|
|
3414
|
+
/**
|
|
3415
|
+
* Additional contact information for the station.
|
|
3416
|
+
*/
|
|
3417
|
+
additional_contact_info?: string;
|
|
3418
|
+
/**
|
|
3419
|
+
* The customer service phone number of the station.
|
|
3420
|
+
*/
|
|
3421
|
+
customer_service_phone_number?: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* The partner ID code of the station.
|
|
3424
|
+
*/
|
|
3425
|
+
partner_id_code?: string;
|
|
3426
|
+
/**
|
|
3427
|
+
* The phone number of the station.
|
|
3428
|
+
*/
|
|
3429
|
+
phone_number?: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* The physical location of the station.
|
|
3432
|
+
*/
|
|
3433
|
+
service_location?: ShippingAddressParam;
|
|
3434
|
+
/**
|
|
3435
|
+
* The URL of the station.
|
|
3436
|
+
*/
|
|
3437
|
+
url?: string;
|
|
3438
|
+
}
|
|
3439
|
+
interface Vat {
|
|
3440
|
+
/**
|
|
3441
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
3442
|
+
*/
|
|
3443
|
+
iob_indicator: Vat.IobIndicator;
|
|
3444
|
+
}
|
|
3445
|
+
namespace PrimaryFuelFields {
|
|
3446
|
+
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';
|
|
3447
|
+
}
|
|
3448
|
+
namespace Vat {
|
|
3449
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
namespace Flight {
|
|
3453
|
+
interface Affiliate {
|
|
3454
|
+
/**
|
|
3455
|
+
* The name of the affiliate that originated the purchase.
|
|
3456
|
+
*/
|
|
3457
|
+
name: string;
|
|
3458
|
+
}
|
|
3459
|
+
interface Delivery {
|
|
3460
|
+
/**
|
|
3461
|
+
* The delivery method for the payment
|
|
3462
|
+
*/
|
|
3463
|
+
mode?: Delivery.Mode;
|
|
3464
|
+
/**
|
|
3465
|
+
* Details of the recipient.
|
|
3466
|
+
*/
|
|
3467
|
+
recipient?: Delivery.Recipient;
|
|
3468
|
+
}
|
|
3469
|
+
interface Passenger {
|
|
3470
|
+
/**
|
|
3471
|
+
* Full name of the person or entity on the flight reservation.
|
|
3472
|
+
*/
|
|
3473
|
+
name: string;
|
|
3474
|
+
}
|
|
3475
|
+
interface Segment {
|
|
3476
|
+
/**
|
|
3477
|
+
* The flight segment amount.
|
|
3478
|
+
*/
|
|
3479
|
+
amount?: number;
|
|
3480
|
+
/**
|
|
3481
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
3482
|
+
*/
|
|
3483
|
+
arrival_airport?: string;
|
|
3484
|
+
/**
|
|
3485
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3486
|
+
*/
|
|
3487
|
+
arrives_at?: number;
|
|
3488
|
+
/**
|
|
3489
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
3490
|
+
*/
|
|
3491
|
+
carrier?: string;
|
|
3492
|
+
/**
|
|
3493
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3494
|
+
*/
|
|
3495
|
+
departs_at: number;
|
|
3496
|
+
/**
|
|
3497
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
3498
|
+
*/
|
|
3499
|
+
departure_airport?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* The flight number associated with the segment
|
|
3502
|
+
*/
|
|
3503
|
+
flight_number?: string;
|
|
3504
|
+
/**
|
|
3505
|
+
* The fare class for the segment.
|
|
3506
|
+
*/
|
|
3507
|
+
service_class?: Segment.ServiceClass;
|
|
3508
|
+
}
|
|
3509
|
+
namespace Delivery {
|
|
3510
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3511
|
+
interface Recipient {
|
|
3512
|
+
/**
|
|
3513
|
+
* The email of the recipient the ticket is delivered to.
|
|
3514
|
+
*/
|
|
3515
|
+
email?: string;
|
|
3516
|
+
/**
|
|
3517
|
+
* The name of the recipient the ticket is delivered to.
|
|
3518
|
+
*/
|
|
3519
|
+
name?: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3522
|
+
*/
|
|
3523
|
+
phone?: string;
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
namespace Segment {
|
|
3527
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
namespace FlightDatum {
|
|
3531
|
+
interface Affiliate {
|
|
3532
|
+
/**
|
|
3533
|
+
* Affiliate partner code.
|
|
3534
|
+
*/
|
|
3535
|
+
code?: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* Name of affiliate partner.
|
|
3538
|
+
*/
|
|
3539
|
+
name?: string;
|
|
3540
|
+
/**
|
|
3541
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
3542
|
+
*/
|
|
3543
|
+
travel_authorization_code?: string;
|
|
3544
|
+
}
|
|
3545
|
+
interface Insurance {
|
|
3546
|
+
/**
|
|
3547
|
+
* Insurance cost.
|
|
3548
|
+
*/
|
|
3549
|
+
amount: number;
|
|
3550
|
+
/**
|
|
3551
|
+
* Insurance currency.
|
|
3552
|
+
*/
|
|
3553
|
+
currency?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Insurance company name.
|
|
3556
|
+
*/
|
|
3557
|
+
insurance_company_name?: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* Type of insurance.
|
|
3560
|
+
*/
|
|
3561
|
+
insurance_type: Insurance.InsuranceType;
|
|
3562
|
+
}
|
|
3563
|
+
interface Passenger {
|
|
3564
|
+
/**
|
|
3565
|
+
* Passenger's full name.
|
|
3566
|
+
*/
|
|
3567
|
+
name: string;
|
|
3568
|
+
}
|
|
3569
|
+
interface Segment {
|
|
3570
|
+
/**
|
|
3571
|
+
* Segment fare amount.
|
|
3572
|
+
*/
|
|
3573
|
+
amount?: number;
|
|
3574
|
+
/**
|
|
3575
|
+
* Arrival details.
|
|
3576
|
+
*/
|
|
3577
|
+
arrival: Segment.Arrival;
|
|
3578
|
+
/**
|
|
3579
|
+
* Airline carrier code.
|
|
3580
|
+
*/
|
|
3581
|
+
carrier_code: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* Carrier name.
|
|
3584
|
+
*/
|
|
3585
|
+
carrier_name?: string;
|
|
3586
|
+
/**
|
|
3587
|
+
* Segment currency.
|
|
3588
|
+
*/
|
|
3589
|
+
currency?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* Departure details.
|
|
3592
|
+
*/
|
|
3593
|
+
departure: Segment.Departure;
|
|
3594
|
+
/**
|
|
3595
|
+
* Exchange ticket number.
|
|
3596
|
+
*/
|
|
3597
|
+
exchange_ticket_number?: string;
|
|
3598
|
+
/**
|
|
3599
|
+
* Fare basis code.
|
|
3600
|
+
*/
|
|
3601
|
+
fare_basis_code?: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* Additional fees.
|
|
3604
|
+
*/
|
|
3605
|
+
fees?: number;
|
|
3606
|
+
/**
|
|
3607
|
+
* Flight number.
|
|
3608
|
+
*/
|
|
3609
|
+
flight_number?: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* Stopover indicator.
|
|
3612
|
+
*/
|
|
3613
|
+
is_stop_over_indicator?: boolean;
|
|
3614
|
+
/**
|
|
3615
|
+
* Refundable ticket indicator.
|
|
3616
|
+
*/
|
|
3617
|
+
refundable?: boolean;
|
|
3618
|
+
/**
|
|
3619
|
+
* Class of service.
|
|
3620
|
+
*/
|
|
3621
|
+
service_class: Segment.ServiceClass;
|
|
3622
|
+
/**
|
|
3623
|
+
* Tax amount for segment.
|
|
3624
|
+
*/
|
|
3625
|
+
tax_amount?: number;
|
|
3626
|
+
/**
|
|
3627
|
+
* Ticket number.
|
|
3628
|
+
*/
|
|
3629
|
+
ticket_number?: string;
|
|
3630
|
+
}
|
|
3631
|
+
interface Total {
|
|
3632
|
+
/**
|
|
3633
|
+
* Total flight amount.
|
|
3634
|
+
*/
|
|
3635
|
+
amount: number;
|
|
3636
|
+
/**
|
|
3637
|
+
* Reason for credit.
|
|
3638
|
+
*/
|
|
3639
|
+
credit_reason?: Total.CreditReason;
|
|
3640
|
+
/**
|
|
3641
|
+
* Total currency.
|
|
3642
|
+
*/
|
|
3643
|
+
currency?: string;
|
|
3644
|
+
/**
|
|
3645
|
+
* Discount details.
|
|
3646
|
+
*/
|
|
3647
|
+
discounts?: Total.Discounts;
|
|
3648
|
+
/**
|
|
3649
|
+
* Additional charges.
|
|
3650
|
+
*/
|
|
3651
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3652
|
+
/**
|
|
3653
|
+
* Tax breakdown.
|
|
3654
|
+
*/
|
|
3655
|
+
tax?: Total.Tax;
|
|
3656
|
+
}
|
|
3657
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
3658
|
+
namespace Insurance {
|
|
3659
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3660
|
+
}
|
|
3661
|
+
namespace Segment {
|
|
3662
|
+
interface Arrival {
|
|
3663
|
+
/**
|
|
3664
|
+
* Arrival airport IATA code.
|
|
3665
|
+
*/
|
|
3666
|
+
airport: string;
|
|
3667
|
+
/**
|
|
3668
|
+
* Arrival date/time.
|
|
3669
|
+
*/
|
|
3670
|
+
arrives_at?: number;
|
|
3671
|
+
/**
|
|
3672
|
+
* Arrival city.
|
|
3673
|
+
*/
|
|
3674
|
+
city?: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* Arrival country.
|
|
3677
|
+
*/
|
|
3678
|
+
country?: string;
|
|
3679
|
+
}
|
|
3680
|
+
interface Departure {
|
|
3681
|
+
/**
|
|
3682
|
+
* Departure airport IATA code.
|
|
3683
|
+
*/
|
|
3684
|
+
airport: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* Departure city.
|
|
3687
|
+
*/
|
|
3688
|
+
city?: string;
|
|
3689
|
+
/**
|
|
3690
|
+
* Departure country.
|
|
3691
|
+
*/
|
|
3692
|
+
country?: string;
|
|
3693
|
+
/**
|
|
3694
|
+
* Departure date/time.
|
|
3695
|
+
*/
|
|
3696
|
+
departs_at: number;
|
|
3697
|
+
}
|
|
3698
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
3699
|
+
}
|
|
3700
|
+
namespace Total {
|
|
3701
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
3702
|
+
interface Discounts {
|
|
3703
|
+
/**
|
|
3704
|
+
* Corporate client discount code.
|
|
3705
|
+
*/
|
|
3706
|
+
corporate_client_code?: string;
|
|
3707
|
+
}
|
|
3708
|
+
interface ExtraCharge {
|
|
3709
|
+
/**
|
|
3710
|
+
* Amount of additional charges.
|
|
3711
|
+
*/
|
|
3712
|
+
amount?: number;
|
|
3713
|
+
/**
|
|
3714
|
+
* Type of additional charges.
|
|
3715
|
+
*/
|
|
3716
|
+
type?: ExtraCharge.Type;
|
|
3717
|
+
}
|
|
3718
|
+
interface Tax {
|
|
3719
|
+
/**
|
|
3720
|
+
* Array of tax details.
|
|
3721
|
+
*/
|
|
3722
|
+
taxes?: Array<Tax.Tax>;
|
|
3723
|
+
}
|
|
3724
|
+
namespace ExtraCharge {
|
|
3725
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
3726
|
+
}
|
|
3727
|
+
namespace Tax {
|
|
3728
|
+
interface Tax {
|
|
3729
|
+
/**
|
|
3730
|
+
* Tax amount.
|
|
3731
|
+
*/
|
|
3732
|
+
amount?: number;
|
|
3733
|
+
/**
|
|
3734
|
+
* Tax rate.
|
|
3735
|
+
*/
|
|
3736
|
+
rate?: number;
|
|
3737
|
+
/**
|
|
3738
|
+
* Type of tax.
|
|
3739
|
+
*/
|
|
3740
|
+
type?: string;
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
namespace Lodging {
|
|
3746
|
+
interface Affiliate {
|
|
3747
|
+
/**
|
|
3748
|
+
* The name of the affiliate that originated the purchase.
|
|
3749
|
+
*/
|
|
3750
|
+
name: string;
|
|
3751
|
+
}
|
|
3752
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
3753
|
+
interface Delivery {
|
|
3754
|
+
/**
|
|
3755
|
+
* The delivery method for the payment
|
|
3756
|
+
*/
|
|
3757
|
+
mode?: Delivery.Mode;
|
|
3758
|
+
/**
|
|
3759
|
+
* Details of the recipient.
|
|
3760
|
+
*/
|
|
3761
|
+
recipient?: Delivery.Recipient;
|
|
3762
|
+
}
|
|
3763
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
3764
|
+
interface Passenger {
|
|
3765
|
+
/**
|
|
3766
|
+
* Full name of the person or entity on the lodging reservation.
|
|
3767
|
+
*/
|
|
3768
|
+
name: string;
|
|
3769
|
+
}
|
|
3770
|
+
namespace Delivery {
|
|
3771
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
3772
|
+
interface Recipient {
|
|
3773
|
+
/**
|
|
3774
|
+
* The email of the recipient the ticket is delivered to.
|
|
3775
|
+
*/
|
|
3776
|
+
email?: string;
|
|
3777
|
+
/**
|
|
3778
|
+
* The name of the recipient the ticket is delivered to.
|
|
3779
|
+
*/
|
|
3780
|
+
name?: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3783
|
+
*/
|
|
3784
|
+
phone?: string;
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
}
|
|
3788
|
+
namespace LodgingDatum {
|
|
3789
|
+
interface Accommodation {
|
|
3790
|
+
/**
|
|
3791
|
+
* Type of accommodation.
|
|
3792
|
+
*/
|
|
3793
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
3794
|
+
/**
|
|
3795
|
+
* Bed type.
|
|
3796
|
+
*/
|
|
3797
|
+
bed_type?: string;
|
|
3798
|
+
/**
|
|
3799
|
+
* Daily accommodation rate in cents.
|
|
3800
|
+
*/
|
|
3801
|
+
daily_rate_amount?: number;
|
|
3802
|
+
/**
|
|
3803
|
+
* Number of nights.
|
|
3804
|
+
*/
|
|
3805
|
+
nights?: number;
|
|
3806
|
+
/**
|
|
3807
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
3808
|
+
*/
|
|
3809
|
+
number_of_rooms?: number;
|
|
3810
|
+
/**
|
|
3811
|
+
* Rate type.
|
|
3812
|
+
*/
|
|
3813
|
+
rate_type?: string;
|
|
3814
|
+
/**
|
|
3815
|
+
* Whether smoking is allowed.
|
|
3816
|
+
*/
|
|
3817
|
+
smoking_indicator?: boolean;
|
|
3818
|
+
}
|
|
3819
|
+
interface Affiliate {
|
|
3820
|
+
/**
|
|
3821
|
+
* Affiliate partner code.
|
|
3822
|
+
*/
|
|
3823
|
+
code?: string;
|
|
3824
|
+
/**
|
|
3825
|
+
* Affiliate partner name.
|
|
3826
|
+
*/
|
|
3827
|
+
name?: string;
|
|
3828
|
+
}
|
|
3829
|
+
interface Guest {
|
|
3830
|
+
/**
|
|
3831
|
+
* Guest's full name.
|
|
3832
|
+
*/
|
|
3833
|
+
name: string;
|
|
3834
|
+
}
|
|
3835
|
+
interface Host {
|
|
3836
|
+
/**
|
|
3837
|
+
* Address of the host.
|
|
3838
|
+
*/
|
|
3839
|
+
address?: Host.Address;
|
|
3840
|
+
/**
|
|
3841
|
+
* Host's country of domicile.
|
|
3842
|
+
*/
|
|
3843
|
+
country_of_domicile?: string;
|
|
3844
|
+
/**
|
|
3845
|
+
* Reference number for the host.
|
|
3846
|
+
*/
|
|
3847
|
+
host_reference?: string;
|
|
3848
|
+
/**
|
|
3849
|
+
* Type of host.
|
|
3850
|
+
*/
|
|
3851
|
+
host_type?: Host.HostType;
|
|
3852
|
+
/**
|
|
3853
|
+
* Name of the lodging property or host.
|
|
3854
|
+
*/
|
|
3855
|
+
name?: string;
|
|
3856
|
+
/**
|
|
3857
|
+
* Total number of reservations for the host.
|
|
3858
|
+
*/
|
|
3859
|
+
number_of_reservations?: number;
|
|
3860
|
+
/**
|
|
3861
|
+
* Property phone number.
|
|
3862
|
+
*/
|
|
3863
|
+
property_phone_number?: string;
|
|
3864
|
+
/**
|
|
3865
|
+
* Host's registration date.
|
|
3866
|
+
*/
|
|
3867
|
+
registered_at?: number;
|
|
3868
|
+
}
|
|
3869
|
+
interface Insurance {
|
|
3870
|
+
/**
|
|
3871
|
+
* Price of the insurance coverage in cents.
|
|
3872
|
+
*/
|
|
3873
|
+
amount: number;
|
|
3874
|
+
/**
|
|
3875
|
+
* Currency of the insurance amount.
|
|
3876
|
+
*/
|
|
3877
|
+
currency?: string;
|
|
3878
|
+
/**
|
|
3879
|
+
* Name of the insurance company.
|
|
3880
|
+
*/
|
|
3881
|
+
insurance_company_name?: string;
|
|
3882
|
+
/**
|
|
3883
|
+
* Type of insurance coverage.
|
|
3884
|
+
*/
|
|
3885
|
+
insurance_type: Insurance.InsuranceType;
|
|
3886
|
+
}
|
|
3887
|
+
interface Total {
|
|
3888
|
+
/**
|
|
3889
|
+
* Total price of the lodging reservation in cents.
|
|
3890
|
+
*/
|
|
3891
|
+
amount: number;
|
|
3892
|
+
/**
|
|
3893
|
+
* Cash advances in cents.
|
|
3894
|
+
*/
|
|
3895
|
+
cash_advances?: number;
|
|
3896
|
+
/**
|
|
3897
|
+
* Currency of the total amount.
|
|
3898
|
+
*/
|
|
3899
|
+
currency?: string;
|
|
3900
|
+
/**
|
|
3901
|
+
* Discount details for the lodging.
|
|
3902
|
+
*/
|
|
3903
|
+
discounts?: Total.Discounts;
|
|
3904
|
+
/**
|
|
3905
|
+
* Additional charges for the lodging.
|
|
3906
|
+
*/
|
|
3907
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3908
|
+
/**
|
|
3909
|
+
* Prepaid amount in cents.
|
|
3910
|
+
*/
|
|
3911
|
+
prepaid_amount?: number;
|
|
3912
|
+
/**
|
|
3913
|
+
* Tax breakdown for the lodging reservation.
|
|
3914
|
+
*/
|
|
3915
|
+
tax?: Total.Tax;
|
|
3916
|
+
}
|
|
3917
|
+
namespace Accommodation {
|
|
3918
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
3919
|
+
}
|
|
3920
|
+
namespace Host {
|
|
3921
|
+
interface Address {
|
|
3922
|
+
/**
|
|
3923
|
+
* City, district, suburb, town, or village.
|
|
3924
|
+
*/
|
|
3925
|
+
city: string;
|
|
3926
|
+
/**
|
|
3927
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3928
|
+
*/
|
|
3929
|
+
country: string;
|
|
3930
|
+
/**
|
|
3931
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3932
|
+
*/
|
|
3933
|
+
line1: string;
|
|
3934
|
+
/**
|
|
3935
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3936
|
+
*/
|
|
3937
|
+
line2?: string;
|
|
3938
|
+
/**
|
|
3939
|
+
* ZIP or postal code.
|
|
3940
|
+
*/
|
|
3941
|
+
postal_code: string;
|
|
3942
|
+
/**
|
|
3943
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3944
|
+
*/
|
|
3945
|
+
state?: string;
|
|
3946
|
+
}
|
|
3947
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
3948
|
+
}
|
|
3949
|
+
namespace Insurance {
|
|
3950
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
3951
|
+
}
|
|
3952
|
+
namespace Total {
|
|
3953
|
+
interface Discounts {
|
|
3954
|
+
/**
|
|
3955
|
+
* Corporate client discount code.
|
|
3956
|
+
*/
|
|
3957
|
+
corporate_client_code?: string;
|
|
3958
|
+
/**
|
|
3959
|
+
* Coupon code.
|
|
3960
|
+
*/
|
|
3961
|
+
coupon?: string;
|
|
3962
|
+
}
|
|
3963
|
+
interface ExtraCharge {
|
|
3964
|
+
/**
|
|
3965
|
+
* Amount of the extra charge in cents.
|
|
3966
|
+
*/
|
|
3967
|
+
amount?: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* Type of extra charge.
|
|
3970
|
+
*/
|
|
3971
|
+
type?: ExtraCharge.Type;
|
|
3972
|
+
}
|
|
3973
|
+
interface Tax {
|
|
3974
|
+
/**
|
|
3975
|
+
* Indicates whether the transaction is tax exempt.
|
|
3976
|
+
*/
|
|
3977
|
+
tax_exempt_indicator?: boolean;
|
|
3978
|
+
/**
|
|
3979
|
+
* Tax details.
|
|
3980
|
+
*/
|
|
3981
|
+
taxes?: Array<Tax.Tax>;
|
|
3982
|
+
}
|
|
3983
|
+
namespace ExtraCharge {
|
|
3984
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
3985
|
+
}
|
|
3986
|
+
namespace Tax {
|
|
3987
|
+
interface Tax {
|
|
3988
|
+
/**
|
|
3989
|
+
* Tax amount in cents.
|
|
3990
|
+
*/
|
|
3991
|
+
amount?: number;
|
|
3992
|
+
/**
|
|
3993
|
+
* Tax rate.
|
|
3994
|
+
*/
|
|
3995
|
+
rate?: number;
|
|
3996
|
+
/**
|
|
3997
|
+
* Type of tax applied.
|
|
3998
|
+
*/
|
|
3999
|
+
type?: string;
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
namespace Subscription {
|
|
4005
|
+
interface Affiliate {
|
|
4006
|
+
/**
|
|
4007
|
+
* The name of the affiliate that originated the purchase.
|
|
4008
|
+
*/
|
|
4009
|
+
name: string;
|
|
4010
|
+
}
|
|
4011
|
+
interface BillingInterval {
|
|
4012
|
+
/**
|
|
4013
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4014
|
+
*/
|
|
4015
|
+
count: number;
|
|
4016
|
+
/**
|
|
4017
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4018
|
+
*/
|
|
4019
|
+
interval: BillingInterval.Interval;
|
|
4020
|
+
}
|
|
4021
|
+
namespace BillingInterval {
|
|
4022
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
}
|
|
4026
|
+
}
|
|
4027
|
+
export interface ChargeListParams extends PaginationParams {
|
|
4028
|
+
/**
|
|
4029
|
+
* Only return charges that were created during the given date interval.
|
|
4030
|
+
*/
|
|
4031
|
+
created?: RangeQueryParam | number;
|
|
4032
|
+
/**
|
|
4033
|
+
* Only return charges for the customer specified by this customer ID.
|
|
4034
|
+
*/
|
|
4035
|
+
customer?: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* Specifies which fields in the response should be expanded.
|
|
4038
|
+
*/
|
|
4039
|
+
expand?: Array<string>;
|
|
4040
|
+
/**
|
|
4041
|
+
* Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
|
4042
|
+
*/
|
|
4043
|
+
payment_intent?: string;
|
|
4044
|
+
/**
|
|
4045
|
+
* Only return charges for this transfer group, limited to 100.
|
|
4046
|
+
*/
|
|
4047
|
+
transfer_group?: string;
|
|
4048
|
+
}
|
|
4049
|
+
export interface ChargeCaptureParams {
|
|
4050
|
+
/**
|
|
4051
|
+
* The amount to capture, which must be less than or equal to the original amount.
|
|
4052
|
+
*/
|
|
4053
|
+
amount?: number;
|
|
4054
|
+
/**
|
|
4055
|
+
* An application fee to add on to this charge.
|
|
4056
|
+
*/
|
|
4057
|
+
application_fee?: number;
|
|
4058
|
+
/**
|
|
4059
|
+
* An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
|
4060
|
+
*/
|
|
4061
|
+
application_fee_amount?: number;
|
|
4062
|
+
/**
|
|
4063
|
+
* Specifies which fields in the response should be expanded.
|
|
4064
|
+
*/
|
|
4065
|
+
expand?: Array<string>;
|
|
4066
|
+
/**
|
|
4067
|
+
* Provides industry-specific information about the charge.
|
|
4068
|
+
*/
|
|
4069
|
+
payment_details?: ChargeCaptureParams.PaymentDetails;
|
|
4070
|
+
/**
|
|
4071
|
+
* 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.
|
|
4072
|
+
*/
|
|
4073
|
+
receipt_email?: string;
|
|
4074
|
+
/**
|
|
4075
|
+
* 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).
|
|
4076
|
+
*
|
|
4077
|
+
* 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.
|
|
4078
|
+
*/
|
|
4079
|
+
statement_descriptor?: string;
|
|
4080
|
+
/**
|
|
4081
|
+
* 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.
|
|
4082
|
+
*/
|
|
4083
|
+
statement_descriptor_suffix?: string;
|
|
4084
|
+
/**
|
|
4085
|
+
* 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.
|
|
4086
|
+
*/
|
|
4087
|
+
transfer_data?: ChargeCaptureParams.TransferData;
|
|
4088
|
+
/**
|
|
4089
|
+
* 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.
|
|
4090
|
+
*/
|
|
4091
|
+
transfer_group?: string;
|
|
4092
|
+
}
|
|
4093
|
+
export declare namespace ChargeCaptureParams {
|
|
4094
|
+
interface PaymentDetails {
|
|
4095
|
+
/**
|
|
4096
|
+
* Car rental details for this PaymentIntent.
|
|
4097
|
+
*/
|
|
4098
|
+
car_rental?: PaymentDetails.CarRental;
|
|
4099
|
+
/**
|
|
4100
|
+
* Car rental data for this PaymentIntent.
|
|
4101
|
+
*/
|
|
4102
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
4103
|
+
/**
|
|
4104
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
4105
|
+
*
|
|
4106
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
4107
|
+
*/
|
|
4108
|
+
customer_reference?: Emptyable<string>;
|
|
4109
|
+
/**
|
|
4110
|
+
* Event details for this PaymentIntent
|
|
4111
|
+
*/
|
|
4112
|
+
event_details?: PaymentDetails.EventDetails;
|
|
4113
|
+
/**
|
|
4114
|
+
* Fleet data for this PaymentIntent.
|
|
4115
|
+
*/
|
|
4116
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
4117
|
+
/**
|
|
4118
|
+
* Flight reservation details for this PaymentIntent
|
|
4119
|
+
*/
|
|
4120
|
+
flight?: PaymentDetails.Flight;
|
|
4121
|
+
/**
|
|
4122
|
+
* Flight data for this PaymentIntent.
|
|
4123
|
+
*/
|
|
4124
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
4125
|
+
/**
|
|
4126
|
+
* Lodging reservation details for this PaymentIntent
|
|
4127
|
+
*/
|
|
4128
|
+
lodging?: PaymentDetails.Lodging;
|
|
4129
|
+
/**
|
|
4130
|
+
* Lodging data for this PaymentIntent.
|
|
4131
|
+
*/
|
|
4132
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
4133
|
+
/**
|
|
4134
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
4135
|
+
*
|
|
4136
|
+
* 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.
|
|
4137
|
+
*/
|
|
4138
|
+
order_reference?: Emptyable<string>;
|
|
4139
|
+
/**
|
|
4140
|
+
* Subscription details for this PaymentIntent
|
|
4141
|
+
*/
|
|
4142
|
+
subscription?: PaymentDetails.Subscription;
|
|
4143
|
+
}
|
|
4144
|
+
interface TransferData {
|
|
4145
|
+
/**
|
|
4146
|
+
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
4147
|
+
*/
|
|
4148
|
+
amount?: number;
|
|
4149
|
+
}
|
|
4150
|
+
namespace PaymentDetails {
|
|
4151
|
+
interface CarRental {
|
|
4152
|
+
/**
|
|
4153
|
+
* Affiliate details for this purchase.
|
|
4154
|
+
*/
|
|
4155
|
+
affiliate?: CarRental.Affiliate;
|
|
4156
|
+
/**
|
|
4157
|
+
* The booking number associated with the car rental.
|
|
4158
|
+
*/
|
|
4159
|
+
booking_number: string;
|
|
4160
|
+
/**
|
|
4161
|
+
* Class code of the car.
|
|
4162
|
+
*/
|
|
4163
|
+
car_class_code?: string;
|
|
4164
|
+
/**
|
|
4165
|
+
* Make of the car.
|
|
4166
|
+
*/
|
|
4167
|
+
car_make?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
* Model of the car.
|
|
4170
|
+
*/
|
|
4171
|
+
car_model?: string;
|
|
4172
|
+
/**
|
|
4173
|
+
* The name of the rental car company.
|
|
4174
|
+
*/
|
|
4175
|
+
company?: string;
|
|
4176
|
+
/**
|
|
4177
|
+
* The customer service phone number of the car rental company.
|
|
4178
|
+
*/
|
|
4179
|
+
customer_service_phone_number?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* Number of days the car is being rented.
|
|
4182
|
+
*/
|
|
4183
|
+
days_rented: number;
|
|
4184
|
+
/**
|
|
4185
|
+
* Delivery details for this purchase.
|
|
4186
|
+
*/
|
|
4187
|
+
delivery?: CarRental.Delivery;
|
|
4188
|
+
/**
|
|
4189
|
+
* The details of the distance traveled during the rental period.
|
|
4190
|
+
*/
|
|
4191
|
+
distance?: CarRental.Distance;
|
|
4192
|
+
/**
|
|
4193
|
+
* The details of the passengers in the travel reservation
|
|
4194
|
+
*/
|
|
4195
|
+
drivers?: Array<CarRental.Driver>;
|
|
4196
|
+
/**
|
|
4197
|
+
* List of additional charges being billed.
|
|
4198
|
+
*/
|
|
4199
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
4200
|
+
/**
|
|
4201
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
4202
|
+
*/
|
|
4203
|
+
no_show?: boolean;
|
|
4204
|
+
/**
|
|
4205
|
+
* Car pick-up address.
|
|
4206
|
+
*/
|
|
4207
|
+
pickup_address?: AddressParam;
|
|
4208
|
+
/**
|
|
4209
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
4210
|
+
*/
|
|
4211
|
+
pickup_at: number;
|
|
4212
|
+
/**
|
|
4213
|
+
* Name of the pickup location.
|
|
4214
|
+
*/
|
|
4215
|
+
pickup_location_name?: string;
|
|
4216
|
+
/**
|
|
4217
|
+
* Rental rate.
|
|
4218
|
+
*/
|
|
4219
|
+
rate_amount?: number;
|
|
4220
|
+
/**
|
|
4221
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
4222
|
+
*/
|
|
4223
|
+
rate_interval?: CarRental.RateInterval;
|
|
4224
|
+
/**
|
|
4225
|
+
* The name of the person or entity renting the car.
|
|
4226
|
+
*/
|
|
4227
|
+
renter_name?: string;
|
|
4228
|
+
/**
|
|
4229
|
+
* Car return address.
|
|
4230
|
+
*/
|
|
4231
|
+
return_address?: AddressParam;
|
|
4232
|
+
/**
|
|
4233
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
4234
|
+
*/
|
|
4235
|
+
return_at: number;
|
|
4236
|
+
/**
|
|
4237
|
+
* Name of the return location.
|
|
4238
|
+
*/
|
|
4239
|
+
return_location_name?: string;
|
|
4240
|
+
/**
|
|
4241
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
4242
|
+
*/
|
|
4243
|
+
tax_exempt?: boolean;
|
|
4244
|
+
/**
|
|
4245
|
+
* The vehicle identification number.
|
|
4246
|
+
*/
|
|
4247
|
+
vehicle_identification_number?: string;
|
|
4248
|
+
}
|
|
4249
|
+
interface CarRentalDatum {
|
|
4250
|
+
/**
|
|
4251
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
4252
|
+
*/
|
|
4253
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
4254
|
+
/**
|
|
4255
|
+
* Booking confirmation number for the car rental.
|
|
4256
|
+
*/
|
|
4257
|
+
booking_number?: string;
|
|
4258
|
+
/**
|
|
4259
|
+
* Name of the car rental company.
|
|
4260
|
+
*/
|
|
4261
|
+
carrier_name?: string;
|
|
4262
|
+
/**
|
|
4263
|
+
* Customer service phone number for the car rental company.
|
|
4264
|
+
*/
|
|
4265
|
+
customer_service_phone_number?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* Number of days the car is being rented.
|
|
4268
|
+
*/
|
|
4269
|
+
days_rented?: number;
|
|
4270
|
+
/**
|
|
4271
|
+
* Distance details for the rental.
|
|
4272
|
+
*/
|
|
4273
|
+
distance?: CarRentalDatum.Distance;
|
|
4274
|
+
/**
|
|
4275
|
+
* List of drivers for the rental.
|
|
4276
|
+
*/
|
|
4277
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
4278
|
+
/**
|
|
4279
|
+
* Drop-off location details.
|
|
4280
|
+
*/
|
|
4281
|
+
drop_off: CarRentalDatum.DropOff;
|
|
4282
|
+
/**
|
|
4283
|
+
* Insurance details for the rental.
|
|
4284
|
+
*/
|
|
4285
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
4286
|
+
/**
|
|
4287
|
+
* Indicates if the customer was a no-show.
|
|
4288
|
+
*/
|
|
4289
|
+
no_show_indicator?: boolean;
|
|
4290
|
+
/**
|
|
4291
|
+
* Pickup location details.
|
|
4292
|
+
*/
|
|
4293
|
+
pickup: CarRentalDatum.Pickup;
|
|
4294
|
+
/**
|
|
4295
|
+
* Name of the person renting the vehicle.
|
|
4296
|
+
*/
|
|
4297
|
+
renter_name?: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* Total cost breakdown for the rental.
|
|
4300
|
+
*/
|
|
4301
|
+
total: CarRentalDatum.Total;
|
|
4302
|
+
/**
|
|
4303
|
+
* Vehicle details for the rental.
|
|
4304
|
+
*/
|
|
4305
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
4306
|
+
}
|
|
4307
|
+
interface EventDetails {
|
|
4308
|
+
/**
|
|
4309
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
4310
|
+
*/
|
|
4311
|
+
access_controlled_venue?: boolean;
|
|
4312
|
+
/**
|
|
4313
|
+
* The event location's address.
|
|
4314
|
+
*/
|
|
4315
|
+
address?: AddressParam;
|
|
4316
|
+
/**
|
|
4317
|
+
* Affiliate details for this purchase.
|
|
4318
|
+
*/
|
|
4319
|
+
affiliate?: EventDetails.Affiliate;
|
|
4320
|
+
/**
|
|
4321
|
+
* The name of the company
|
|
4322
|
+
*/
|
|
4323
|
+
company?: string;
|
|
4324
|
+
/**
|
|
4325
|
+
* Delivery details for this purchase.
|
|
4326
|
+
*/
|
|
4327
|
+
delivery?: EventDetails.Delivery;
|
|
4328
|
+
/**
|
|
4329
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
4330
|
+
*/
|
|
4331
|
+
ends_at?: number;
|
|
4332
|
+
/**
|
|
4333
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
4334
|
+
*/
|
|
4335
|
+
genre?: string;
|
|
4336
|
+
/**
|
|
4337
|
+
* The name of the event.
|
|
4338
|
+
*/
|
|
4339
|
+
name: string;
|
|
4340
|
+
/**
|
|
4341
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
4342
|
+
*/
|
|
4343
|
+
starts_at?: number;
|
|
4344
|
+
}
|
|
4345
|
+
interface FleetDatum {
|
|
4346
|
+
/**
|
|
4347
|
+
* Primary fuel fields for the transaction.
|
|
4348
|
+
*/
|
|
4349
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
4350
|
+
/**
|
|
4351
|
+
* Station and acceptor location details.
|
|
4352
|
+
*/
|
|
4353
|
+
station?: FleetDatum.Station;
|
|
4354
|
+
/**
|
|
4355
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
4356
|
+
*/
|
|
4357
|
+
vat?: FleetDatum.Vat;
|
|
4358
|
+
}
|
|
4359
|
+
interface Flight {
|
|
4360
|
+
/**
|
|
4361
|
+
* Affiliate details for this purchase.
|
|
4362
|
+
*/
|
|
4363
|
+
affiliate?: Flight.Affiliate;
|
|
4364
|
+
/**
|
|
4365
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
4366
|
+
*/
|
|
4367
|
+
agency_number?: string;
|
|
4368
|
+
/**
|
|
4369
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
4370
|
+
*/
|
|
4371
|
+
carrier?: string;
|
|
4372
|
+
/**
|
|
4373
|
+
* Delivery details for this purchase.
|
|
4374
|
+
*/
|
|
4375
|
+
delivery?: Flight.Delivery;
|
|
4376
|
+
/**
|
|
4377
|
+
* The name of the person or entity on the reservation.
|
|
4378
|
+
*/
|
|
4379
|
+
passenger_name?: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* The details of the passengers in the travel reservation.
|
|
4382
|
+
*/
|
|
4383
|
+
passengers?: Array<Flight.Passenger>;
|
|
4384
|
+
/**
|
|
4385
|
+
* The individual flight segments associated with the trip.
|
|
4386
|
+
*/
|
|
4387
|
+
segments: Array<Flight.Segment>;
|
|
4388
|
+
/**
|
|
4389
|
+
* The ticket number associated with the travel reservation.
|
|
4390
|
+
*/
|
|
4391
|
+
ticket_number?: string;
|
|
4392
|
+
}
|
|
4393
|
+
interface FlightDatum {
|
|
4394
|
+
/**
|
|
4395
|
+
* Affiliate details if applicable.
|
|
4396
|
+
*/
|
|
4397
|
+
affiliate?: FlightDatum.Affiliate;
|
|
4398
|
+
/**
|
|
4399
|
+
* Reservation reference.
|
|
4400
|
+
*/
|
|
4401
|
+
booking_number?: string;
|
|
4402
|
+
/**
|
|
4403
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
4404
|
+
*/
|
|
4405
|
+
computerized_reservation_system?: string;
|
|
4406
|
+
/**
|
|
4407
|
+
* Ticket restrictions.
|
|
4408
|
+
*/
|
|
4409
|
+
endorsements_and_restrictions?: string;
|
|
4410
|
+
/**
|
|
4411
|
+
* List of insurances.
|
|
4412
|
+
*/
|
|
4413
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
4414
|
+
/**
|
|
4415
|
+
* List of passengers.
|
|
4416
|
+
*/
|
|
4417
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
4418
|
+
/**
|
|
4419
|
+
* List of flight segments.
|
|
4420
|
+
*/
|
|
4421
|
+
segments: Array<FlightDatum.Segment>;
|
|
4422
|
+
/**
|
|
4423
|
+
* Electronic ticket indicator.
|
|
4424
|
+
*/
|
|
4425
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
4426
|
+
/**
|
|
4427
|
+
* Total cost breakdown.
|
|
4428
|
+
*/
|
|
4429
|
+
total: FlightDatum.Total;
|
|
4430
|
+
/**
|
|
4431
|
+
* Type of flight transaction.
|
|
4432
|
+
*/
|
|
4433
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
4434
|
+
}
|
|
4435
|
+
interface Lodging {
|
|
4436
|
+
/**
|
|
4437
|
+
* The lodging location's address.
|
|
4438
|
+
*/
|
|
4439
|
+
address?: AddressParam;
|
|
4440
|
+
/**
|
|
4441
|
+
* The number of adults on the booking
|
|
4442
|
+
*/
|
|
4443
|
+
adults?: number;
|
|
4444
|
+
/**
|
|
4445
|
+
* Affiliate details for this purchase.
|
|
4446
|
+
*/
|
|
4447
|
+
affiliate?: Lodging.Affiliate;
|
|
4448
|
+
/**
|
|
4449
|
+
* The booking number associated with the lodging reservation.
|
|
4450
|
+
*/
|
|
4451
|
+
booking_number?: string;
|
|
4452
|
+
/**
|
|
4453
|
+
* The lodging category
|
|
4454
|
+
*/
|
|
4455
|
+
category?: Lodging.Category;
|
|
4456
|
+
/**
|
|
4457
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
4458
|
+
*/
|
|
4459
|
+
checkin_at: number;
|
|
4460
|
+
/**
|
|
4461
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
4462
|
+
*/
|
|
4463
|
+
checkout_at: number;
|
|
4464
|
+
/**
|
|
4465
|
+
* The customer service phone number of the lodging company.
|
|
4466
|
+
*/
|
|
4467
|
+
customer_service_phone_number?: string;
|
|
4468
|
+
/**
|
|
4469
|
+
* The daily lodging room rate.
|
|
4470
|
+
*/
|
|
4471
|
+
daily_room_rate_amount?: number;
|
|
4472
|
+
/**
|
|
4473
|
+
* Delivery details for this purchase.
|
|
4474
|
+
*/
|
|
4475
|
+
delivery?: Lodging.Delivery;
|
|
4476
|
+
/**
|
|
4477
|
+
* List of additional charges being billed.
|
|
4478
|
+
*/
|
|
4479
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
4480
|
+
/**
|
|
4481
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
4482
|
+
*/
|
|
4483
|
+
fire_safety_act_compliance?: boolean;
|
|
4484
|
+
/**
|
|
4485
|
+
* The name of the lodging location.
|
|
4486
|
+
*/
|
|
4487
|
+
name?: string;
|
|
4488
|
+
/**
|
|
4489
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
4490
|
+
*/
|
|
4491
|
+
no_show?: boolean;
|
|
4492
|
+
/**
|
|
4493
|
+
* The number of rooms on the booking
|
|
4494
|
+
*/
|
|
4495
|
+
number_of_rooms?: number;
|
|
4496
|
+
/**
|
|
4497
|
+
* The details of the passengers in the travel reservation
|
|
4498
|
+
*/
|
|
4499
|
+
passengers?: Array<Lodging.Passenger>;
|
|
4500
|
+
/**
|
|
4501
|
+
* The phone number of the lodging location.
|
|
4502
|
+
*/
|
|
4503
|
+
property_phone_number?: string;
|
|
4504
|
+
/**
|
|
4505
|
+
* The room class for this purchase.
|
|
4506
|
+
*/
|
|
4507
|
+
room_class?: string;
|
|
4508
|
+
/**
|
|
4509
|
+
* The number of room nights
|
|
4510
|
+
*/
|
|
4511
|
+
room_nights?: number;
|
|
4512
|
+
/**
|
|
4513
|
+
* The total tax amount associating with the room reservation.
|
|
4514
|
+
*/
|
|
4515
|
+
total_room_tax_amount?: number;
|
|
4516
|
+
/**
|
|
4517
|
+
* The total tax amount
|
|
4518
|
+
*/
|
|
4519
|
+
total_tax_amount?: number;
|
|
4520
|
+
}
|
|
4521
|
+
interface LodgingDatum {
|
|
4522
|
+
/**
|
|
4523
|
+
* Accommodation details for the lodging.
|
|
4524
|
+
*/
|
|
4525
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
4526
|
+
/**
|
|
4527
|
+
* Affiliate details if applicable.
|
|
4528
|
+
*/
|
|
4529
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
4530
|
+
/**
|
|
4531
|
+
* Booking confirmation number for the lodging.
|
|
4532
|
+
*/
|
|
4533
|
+
booking_number?: string;
|
|
4534
|
+
/**
|
|
4535
|
+
* Check-in date.
|
|
4536
|
+
*/
|
|
4537
|
+
checkin_at: number;
|
|
4538
|
+
/**
|
|
4539
|
+
* Check-out date.
|
|
4540
|
+
*/
|
|
4541
|
+
checkout_at: number;
|
|
4542
|
+
/**
|
|
4543
|
+
* Customer service phone number for the lodging company.
|
|
4544
|
+
*/
|
|
4545
|
+
customer_service_phone_number?: string;
|
|
4546
|
+
/**
|
|
4547
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
4548
|
+
*/
|
|
4549
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
4550
|
+
/**
|
|
4551
|
+
* List of guests for the lodging.
|
|
4552
|
+
*/
|
|
4553
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
4554
|
+
/**
|
|
4555
|
+
* Host details for the lodging.
|
|
4556
|
+
*/
|
|
4557
|
+
host?: LodgingDatum.Host;
|
|
4558
|
+
/**
|
|
4559
|
+
* List of insurances for the lodging.
|
|
4560
|
+
*/
|
|
4561
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
4562
|
+
/**
|
|
4563
|
+
* Whether the renter is a no-show.
|
|
4564
|
+
*/
|
|
4565
|
+
no_show_indicator?: boolean;
|
|
4566
|
+
/**
|
|
4567
|
+
* Renter ID number for the lodging.
|
|
4568
|
+
*/
|
|
4569
|
+
renter_id_number?: string;
|
|
4570
|
+
/**
|
|
4571
|
+
* Renter name for the lodging.
|
|
4572
|
+
*/
|
|
4573
|
+
renter_name?: string;
|
|
4574
|
+
/**
|
|
4575
|
+
* Total details for the lodging.
|
|
4576
|
+
*/
|
|
4577
|
+
total: LodgingDatum.Total;
|
|
4578
|
+
}
|
|
4579
|
+
interface Subscription {
|
|
4580
|
+
/**
|
|
4581
|
+
* Affiliate details for this purchase.
|
|
4582
|
+
*/
|
|
4583
|
+
affiliate?: Subscription.Affiliate;
|
|
4584
|
+
/**
|
|
4585
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
4586
|
+
*/
|
|
4587
|
+
auto_renewal?: boolean;
|
|
4588
|
+
/**
|
|
4589
|
+
* Subscription billing details for this purchase.
|
|
4590
|
+
*/
|
|
4591
|
+
billing_interval?: Subscription.BillingInterval;
|
|
4592
|
+
/**
|
|
4593
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
4594
|
+
*/
|
|
4595
|
+
ends_at?: number;
|
|
4596
|
+
/**
|
|
4597
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
4598
|
+
*/
|
|
4599
|
+
name: string;
|
|
4600
|
+
/**
|
|
4601
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
4602
|
+
*/
|
|
4603
|
+
starts_at?: number;
|
|
4604
|
+
}
|
|
4605
|
+
namespace CarRental {
|
|
4606
|
+
interface Affiliate {
|
|
4607
|
+
/**
|
|
4608
|
+
* The name of the affiliate that originated the purchase.
|
|
4609
|
+
*/
|
|
4610
|
+
name: string;
|
|
4611
|
+
}
|
|
4612
|
+
interface Delivery {
|
|
4613
|
+
/**
|
|
4614
|
+
* The delivery method for the payment
|
|
4615
|
+
*/
|
|
4616
|
+
mode?: Delivery.Mode;
|
|
4617
|
+
/**
|
|
4618
|
+
* Details of the recipient.
|
|
4619
|
+
*/
|
|
4620
|
+
recipient?: Delivery.Recipient;
|
|
4621
|
+
}
|
|
4622
|
+
interface Distance {
|
|
4623
|
+
/**
|
|
4624
|
+
* Distance traveled.
|
|
4625
|
+
*/
|
|
4626
|
+
amount?: number;
|
|
4627
|
+
/**
|
|
4628
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4629
|
+
*/
|
|
4630
|
+
unit?: Distance.Unit;
|
|
4631
|
+
}
|
|
4632
|
+
interface Driver {
|
|
4633
|
+
/**
|
|
4634
|
+
* Driver's identification number.
|
|
4635
|
+
*/
|
|
4636
|
+
driver_identification_number?: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* Driver's tax number.
|
|
4639
|
+
*/
|
|
4640
|
+
driver_tax_number?: string;
|
|
4641
|
+
/**
|
|
4642
|
+
* Full name of the person or entity on the car reservation.
|
|
4643
|
+
*/
|
|
4644
|
+
name: string;
|
|
4645
|
+
}
|
|
4646
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation';
|
|
4647
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
4648
|
+
namespace Delivery {
|
|
4649
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
4650
|
+
interface Recipient {
|
|
4651
|
+
/**
|
|
4652
|
+
* The email of the recipient the ticket is delivered to.
|
|
4653
|
+
*/
|
|
4654
|
+
email?: string;
|
|
4655
|
+
/**
|
|
4656
|
+
* The name of the recipient the ticket is delivered to.
|
|
4657
|
+
*/
|
|
4658
|
+
name?: string;
|
|
4659
|
+
/**
|
|
4660
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4661
|
+
*/
|
|
4662
|
+
phone?: string;
|
|
4663
|
+
}
|
|
4664
|
+
}
|
|
4665
|
+
namespace Distance {
|
|
4666
|
+
type Unit = 'kilometers' | 'miles';
|
|
4667
|
+
}
|
|
4668
|
+
}
|
|
4669
|
+
namespace CarRentalDatum {
|
|
4670
|
+
interface Affiliate {
|
|
4671
|
+
/**
|
|
4672
|
+
* Affiliate partner code.
|
|
4673
|
+
*/
|
|
4674
|
+
code?: string;
|
|
4675
|
+
/**
|
|
4676
|
+
* Name of affiliate partner.
|
|
4677
|
+
*/
|
|
4678
|
+
name?: string;
|
|
4679
|
+
}
|
|
4680
|
+
interface Distance {
|
|
4681
|
+
/**
|
|
4682
|
+
* Distance traveled.
|
|
4683
|
+
*/
|
|
4684
|
+
amount: number;
|
|
4685
|
+
/**
|
|
4686
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
4687
|
+
*/
|
|
4688
|
+
unit: Distance.Unit;
|
|
4689
|
+
}
|
|
4690
|
+
interface Driver {
|
|
4691
|
+
/**
|
|
4692
|
+
* Driver's date of birth.
|
|
4693
|
+
*/
|
|
4694
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
4695
|
+
/**
|
|
4696
|
+
* Driver's identification number.
|
|
4697
|
+
*/
|
|
4698
|
+
driver_identification_number?: string;
|
|
4699
|
+
/**
|
|
4700
|
+
* Driver's tax number.
|
|
4701
|
+
*/
|
|
4702
|
+
driver_tax_number?: string;
|
|
4703
|
+
/**
|
|
4704
|
+
* Driver's full name.
|
|
4705
|
+
*/
|
|
4706
|
+
name: string;
|
|
4707
|
+
}
|
|
4708
|
+
interface DropOff {
|
|
4709
|
+
/**
|
|
4710
|
+
* Address of the rental location.
|
|
4711
|
+
*/
|
|
4712
|
+
address: DropOff.Address;
|
|
4713
|
+
/**
|
|
4714
|
+
* Location name.
|
|
4715
|
+
*/
|
|
4716
|
+
location_name?: string;
|
|
4717
|
+
/**
|
|
4718
|
+
* Timestamp for the location.
|
|
4719
|
+
*/
|
|
4720
|
+
time: number;
|
|
4721
|
+
}
|
|
4722
|
+
interface Insurance {
|
|
4723
|
+
/**
|
|
4724
|
+
* Amount of the insurance coverage in cents.
|
|
4725
|
+
*/
|
|
4726
|
+
amount: number;
|
|
4727
|
+
/**
|
|
4728
|
+
* Currency of the insurance amount.
|
|
4729
|
+
*/
|
|
4730
|
+
currency?: string;
|
|
4731
|
+
/**
|
|
4732
|
+
* Name of the insurance company.
|
|
4733
|
+
*/
|
|
4734
|
+
insurance_company_name?: string;
|
|
4735
|
+
/**
|
|
4736
|
+
* Type of insurance coverage.
|
|
4737
|
+
*/
|
|
4738
|
+
insurance_type: Insurance.InsuranceType;
|
|
4739
|
+
}
|
|
4740
|
+
interface Pickup {
|
|
4741
|
+
/**
|
|
4742
|
+
* Address of the rental location.
|
|
4743
|
+
*/
|
|
4744
|
+
address: Pickup.Address;
|
|
4745
|
+
/**
|
|
4746
|
+
* Location name.
|
|
4747
|
+
*/
|
|
4748
|
+
location_name?: string;
|
|
4749
|
+
/**
|
|
4750
|
+
* Timestamp for the location.
|
|
4751
|
+
*/
|
|
4752
|
+
time: number;
|
|
4753
|
+
}
|
|
4754
|
+
interface Total {
|
|
4755
|
+
/**
|
|
4756
|
+
* Total amount in cents.
|
|
4757
|
+
*/
|
|
4758
|
+
amount: number;
|
|
4759
|
+
/**
|
|
4760
|
+
* Currency of the amount.
|
|
4761
|
+
*/
|
|
4762
|
+
currency?: string;
|
|
4763
|
+
/**
|
|
4764
|
+
* Discount details for the rental.
|
|
4765
|
+
*/
|
|
4766
|
+
discounts?: Total.Discounts;
|
|
4767
|
+
/**
|
|
4768
|
+
* Additional charges for the rental.
|
|
4769
|
+
*/
|
|
4770
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4771
|
+
/**
|
|
4772
|
+
* Rate per unit for the rental.
|
|
4773
|
+
*/
|
|
4774
|
+
rate_per_unit?: number;
|
|
4775
|
+
/**
|
|
4776
|
+
* Unit of measurement for the rate.
|
|
4777
|
+
*/
|
|
4778
|
+
rate_unit?: Total.RateUnit;
|
|
4779
|
+
/**
|
|
4780
|
+
* Tax breakdown for the rental.
|
|
4781
|
+
*/
|
|
4782
|
+
tax?: Total.Tax;
|
|
4783
|
+
}
|
|
4784
|
+
interface Vehicle {
|
|
4785
|
+
/**
|
|
4786
|
+
* Make of the rental vehicle.
|
|
4787
|
+
*/
|
|
4788
|
+
make?: string;
|
|
4789
|
+
/**
|
|
4790
|
+
* Model of the rental vehicle.
|
|
4791
|
+
*/
|
|
4792
|
+
model?: string;
|
|
4793
|
+
/**
|
|
4794
|
+
* Odometer reading at the time of rental.
|
|
4795
|
+
*/
|
|
4796
|
+
odometer?: number;
|
|
4797
|
+
/**
|
|
4798
|
+
* Type of the rental vehicle.
|
|
4799
|
+
*/
|
|
4800
|
+
type?: Vehicle.Type;
|
|
4801
|
+
/**
|
|
4802
|
+
* Class of the rental vehicle.
|
|
4803
|
+
*/
|
|
4804
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
4805
|
+
/**
|
|
4806
|
+
* Vehicle identification number (VIN).
|
|
4807
|
+
*/
|
|
4808
|
+
vehicle_identification_number?: string;
|
|
4809
|
+
}
|
|
4810
|
+
namespace Distance {
|
|
4811
|
+
type Unit = 'kilometers' | 'miles';
|
|
4812
|
+
}
|
|
4813
|
+
namespace Driver {
|
|
4814
|
+
interface DateOfBirth {
|
|
4815
|
+
/**
|
|
4816
|
+
* Day of birth (1-31).
|
|
4817
|
+
*/
|
|
4818
|
+
day: number;
|
|
4819
|
+
/**
|
|
4820
|
+
* Month of birth (1-12).
|
|
4821
|
+
*/
|
|
4822
|
+
month: number;
|
|
4823
|
+
/**
|
|
4824
|
+
* Year of birth (must be greater than 1900).
|
|
4825
|
+
*/
|
|
4826
|
+
year: number;
|
|
4827
|
+
}
|
|
4828
|
+
}
|
|
4829
|
+
namespace DropOff {
|
|
4830
|
+
interface Address {
|
|
4831
|
+
/**
|
|
4832
|
+
* City, district, suburb, town, or village.
|
|
4833
|
+
*/
|
|
4834
|
+
city: string;
|
|
4835
|
+
/**
|
|
4836
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4837
|
+
*/
|
|
4838
|
+
country: string;
|
|
4839
|
+
/**
|
|
4840
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4841
|
+
*/
|
|
4842
|
+
line1: string;
|
|
4843
|
+
/**
|
|
4844
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4845
|
+
*/
|
|
4846
|
+
line2?: string;
|
|
4847
|
+
/**
|
|
4848
|
+
* ZIP or postal code.
|
|
4849
|
+
*/
|
|
4850
|
+
postal_code: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4853
|
+
*/
|
|
4854
|
+
state?: string;
|
|
4855
|
+
}
|
|
4856
|
+
}
|
|
4857
|
+
namespace Insurance {
|
|
4858
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects';
|
|
4859
|
+
}
|
|
4860
|
+
namespace Pickup {
|
|
4861
|
+
interface Address {
|
|
4862
|
+
/**
|
|
4863
|
+
* City, district, suburb, town, or village.
|
|
4864
|
+
*/
|
|
4865
|
+
city: string;
|
|
4866
|
+
/**
|
|
4867
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4868
|
+
*/
|
|
4869
|
+
country: string;
|
|
4870
|
+
/**
|
|
4871
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4872
|
+
*/
|
|
4873
|
+
line1: string;
|
|
4874
|
+
/**
|
|
4875
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4876
|
+
*/
|
|
4877
|
+
line2?: string;
|
|
4878
|
+
/**
|
|
4879
|
+
* ZIP or postal code.
|
|
4880
|
+
*/
|
|
4881
|
+
postal_code: string;
|
|
4882
|
+
/**
|
|
4883
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4884
|
+
*/
|
|
4885
|
+
state?: string;
|
|
4886
|
+
}
|
|
4887
|
+
}
|
|
4888
|
+
namespace Total {
|
|
4889
|
+
interface Discounts {
|
|
4890
|
+
/**
|
|
4891
|
+
* Corporate client discount code.
|
|
4892
|
+
*/
|
|
4893
|
+
corporate_client_code?: string;
|
|
4894
|
+
/**
|
|
4895
|
+
* Coupon code applied to the rental.
|
|
4896
|
+
*/
|
|
4897
|
+
coupon?: string;
|
|
4898
|
+
/**
|
|
4899
|
+
* Maximum number of free miles or kilometers included.
|
|
4900
|
+
*/
|
|
4901
|
+
maximum_free_miles_or_kilometers?: number;
|
|
4902
|
+
}
|
|
4903
|
+
interface ExtraCharge {
|
|
4904
|
+
/**
|
|
4905
|
+
* Amount of the extra charge in cents.
|
|
4906
|
+
*/
|
|
4907
|
+
amount: number;
|
|
4908
|
+
/**
|
|
4909
|
+
* Type of extra charge.
|
|
4910
|
+
*/
|
|
4911
|
+
type: ExtraCharge.Type;
|
|
4912
|
+
}
|
|
4913
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks';
|
|
4914
|
+
interface Tax {
|
|
4915
|
+
/**
|
|
4916
|
+
* Indicates if the transaction is tax exempt.
|
|
4917
|
+
*/
|
|
4918
|
+
tax_exempt_indicator?: boolean;
|
|
4919
|
+
/**
|
|
4920
|
+
* Array of tax details.
|
|
4921
|
+
*/
|
|
4922
|
+
taxes?: Array<Tax.Tax>;
|
|
4923
|
+
}
|
|
4924
|
+
namespace ExtraCharge {
|
|
4925
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing';
|
|
4926
|
+
}
|
|
4927
|
+
namespace Tax {
|
|
4928
|
+
interface Tax {
|
|
4929
|
+
/**
|
|
4930
|
+
* Tax amount.
|
|
4931
|
+
*/
|
|
4932
|
+
amount?: number;
|
|
4933
|
+
/**
|
|
4934
|
+
* Tax rate applied.
|
|
4935
|
+
*/
|
|
4936
|
+
rate?: number;
|
|
4937
|
+
/**
|
|
4938
|
+
* Type of tax applied.
|
|
4939
|
+
*/
|
|
4940
|
+
type?: string;
|
|
4941
|
+
}
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4944
|
+
namespace Vehicle {
|
|
4945
|
+
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';
|
|
4946
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
4947
|
+
}
|
|
4948
|
+
}
|
|
4949
|
+
namespace EventDetails {
|
|
4950
|
+
interface Affiliate {
|
|
4951
|
+
/**
|
|
4952
|
+
* The name of the affiliate that originated the purchase.
|
|
4953
|
+
*/
|
|
4954
|
+
name: string;
|
|
4955
|
+
}
|
|
4956
|
+
interface Delivery {
|
|
4957
|
+
/**
|
|
4958
|
+
* The delivery method for the payment
|
|
4959
|
+
*/
|
|
4960
|
+
mode?: Delivery.Mode;
|
|
4961
|
+
/**
|
|
4962
|
+
* Details of the recipient.
|
|
4963
|
+
*/
|
|
4964
|
+
recipient?: Delivery.Recipient;
|
|
4965
|
+
}
|
|
4966
|
+
namespace Delivery {
|
|
4967
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
4968
|
+
interface Recipient {
|
|
4969
|
+
/**
|
|
4970
|
+
* The email of the recipient the ticket is delivered to.
|
|
4971
|
+
*/
|
|
4972
|
+
email?: string;
|
|
4973
|
+
/**
|
|
4974
|
+
* The name of the recipient the ticket is delivered to.
|
|
4975
|
+
*/
|
|
4976
|
+
name?: string;
|
|
4977
|
+
/**
|
|
4978
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4979
|
+
*/
|
|
4980
|
+
phone?: string;
|
|
4981
|
+
}
|
|
4982
|
+
}
|
|
4983
|
+
}
|
|
4984
|
+
namespace FleetDatum {
|
|
4985
|
+
interface PrimaryFuelFields {
|
|
4986
|
+
/**
|
|
4987
|
+
* The fuel brand.
|
|
4988
|
+
*/
|
|
4989
|
+
brand?: PrimaryFuelFields.Brand;
|
|
4990
|
+
}
|
|
4991
|
+
interface Station {
|
|
4992
|
+
/**
|
|
4993
|
+
* Additional contact information for the station.
|
|
4994
|
+
*/
|
|
4995
|
+
additional_contact_info?: string;
|
|
4996
|
+
/**
|
|
4997
|
+
* The customer service phone number of the station.
|
|
4998
|
+
*/
|
|
4999
|
+
customer_service_phone_number?: string;
|
|
5000
|
+
/**
|
|
5001
|
+
* The partner ID code of the station.
|
|
5002
|
+
*/
|
|
5003
|
+
partner_id_code?: string;
|
|
5004
|
+
/**
|
|
5005
|
+
* The phone number of the station.
|
|
5006
|
+
*/
|
|
5007
|
+
phone_number?: string;
|
|
5008
|
+
/**
|
|
5009
|
+
* The physical location of the station.
|
|
5010
|
+
*/
|
|
5011
|
+
service_location?: ShippingAddressParam;
|
|
5012
|
+
/**
|
|
5013
|
+
* The URL of the station.
|
|
5014
|
+
*/
|
|
5015
|
+
url?: string;
|
|
5016
|
+
}
|
|
5017
|
+
interface Vat {
|
|
5018
|
+
/**
|
|
5019
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
5020
|
+
*/
|
|
5021
|
+
iob_indicator: Vat.IobIndicator;
|
|
5022
|
+
}
|
|
5023
|
+
namespace PrimaryFuelFields {
|
|
5024
|
+
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';
|
|
5025
|
+
}
|
|
5026
|
+
namespace Vat {
|
|
5027
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob';
|
|
5028
|
+
}
|
|
5029
|
+
}
|
|
5030
|
+
namespace Flight {
|
|
5031
|
+
interface Affiliate {
|
|
5032
|
+
/**
|
|
5033
|
+
* The name of the affiliate that originated the purchase.
|
|
5034
|
+
*/
|
|
5035
|
+
name: string;
|
|
5036
|
+
}
|
|
5037
|
+
interface Delivery {
|
|
5038
|
+
/**
|
|
5039
|
+
* The delivery method for the payment
|
|
5040
|
+
*/
|
|
5041
|
+
mode?: Delivery.Mode;
|
|
5042
|
+
/**
|
|
5043
|
+
* Details of the recipient.
|
|
5044
|
+
*/
|
|
5045
|
+
recipient?: Delivery.Recipient;
|
|
5046
|
+
}
|
|
5047
|
+
interface Passenger {
|
|
5048
|
+
/**
|
|
5049
|
+
* Full name of the person or entity on the flight reservation.
|
|
5050
|
+
*/
|
|
5051
|
+
name: string;
|
|
5052
|
+
}
|
|
5053
|
+
interface Segment {
|
|
5054
|
+
/**
|
|
5055
|
+
* The flight segment amount.
|
|
5056
|
+
*/
|
|
5057
|
+
amount?: number;
|
|
5058
|
+
/**
|
|
5059
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
5060
|
+
*/
|
|
5061
|
+
arrival_airport?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5064
|
+
*/
|
|
5065
|
+
arrives_at?: number;
|
|
5066
|
+
/**
|
|
5067
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
5068
|
+
*/
|
|
5069
|
+
carrier?: string;
|
|
5070
|
+
/**
|
|
5071
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5072
|
+
*/
|
|
5073
|
+
departs_at: number;
|
|
5074
|
+
/**
|
|
5075
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
5076
|
+
*/
|
|
5077
|
+
departure_airport?: string;
|
|
5078
|
+
/**
|
|
5079
|
+
* The flight number associated with the segment
|
|
5080
|
+
*/
|
|
5081
|
+
flight_number?: string;
|
|
5082
|
+
/**
|
|
5083
|
+
* The fare class for the segment.
|
|
5084
|
+
*/
|
|
5085
|
+
service_class?: Segment.ServiceClass;
|
|
5086
|
+
}
|
|
5087
|
+
namespace Delivery {
|
|
5088
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5089
|
+
interface Recipient {
|
|
5090
|
+
/**
|
|
5091
|
+
* The email of the recipient the ticket is delivered to.
|
|
5092
|
+
*/
|
|
5093
|
+
email?: string;
|
|
5094
|
+
/**
|
|
5095
|
+
* The name of the recipient the ticket is delivered to.
|
|
5096
|
+
*/
|
|
5097
|
+
name?: string;
|
|
5098
|
+
/**
|
|
5099
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5100
|
+
*/
|
|
5101
|
+
phone?: string;
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
namespace Segment {
|
|
5105
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy';
|
|
5106
|
+
}
|
|
5107
|
+
}
|
|
5108
|
+
namespace FlightDatum {
|
|
5109
|
+
interface Affiliate {
|
|
5110
|
+
/**
|
|
5111
|
+
* Affiliate partner code.
|
|
5112
|
+
*/
|
|
5113
|
+
code?: string;
|
|
5114
|
+
/**
|
|
5115
|
+
* Name of affiliate partner.
|
|
5116
|
+
*/
|
|
5117
|
+
name?: string;
|
|
5118
|
+
/**
|
|
5119
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
5120
|
+
*/
|
|
5121
|
+
travel_authorization_code?: string;
|
|
5122
|
+
}
|
|
5123
|
+
interface Insurance {
|
|
5124
|
+
/**
|
|
5125
|
+
* Insurance cost.
|
|
5126
|
+
*/
|
|
5127
|
+
amount: number;
|
|
5128
|
+
/**
|
|
5129
|
+
* Insurance currency.
|
|
5130
|
+
*/
|
|
5131
|
+
currency?: string;
|
|
5132
|
+
/**
|
|
5133
|
+
* Insurance company name.
|
|
5134
|
+
*/
|
|
5135
|
+
insurance_company_name?: string;
|
|
5136
|
+
/**
|
|
5137
|
+
* Type of insurance.
|
|
5138
|
+
*/
|
|
5139
|
+
insurance_type: Insurance.InsuranceType;
|
|
5140
|
+
}
|
|
5141
|
+
interface Passenger {
|
|
5142
|
+
/**
|
|
5143
|
+
* Passenger's full name.
|
|
5144
|
+
*/
|
|
5145
|
+
name: string;
|
|
5146
|
+
}
|
|
5147
|
+
interface Segment {
|
|
5148
|
+
/**
|
|
5149
|
+
* Segment fare amount.
|
|
5150
|
+
*/
|
|
5151
|
+
amount?: number;
|
|
5152
|
+
/**
|
|
5153
|
+
* Arrival details.
|
|
5154
|
+
*/
|
|
5155
|
+
arrival: Segment.Arrival;
|
|
5156
|
+
/**
|
|
5157
|
+
* Airline carrier code.
|
|
5158
|
+
*/
|
|
5159
|
+
carrier_code: string;
|
|
5160
|
+
/**
|
|
5161
|
+
* Carrier name.
|
|
5162
|
+
*/
|
|
5163
|
+
carrier_name?: string;
|
|
5164
|
+
/**
|
|
5165
|
+
* Segment currency.
|
|
5166
|
+
*/
|
|
5167
|
+
currency?: string;
|
|
5168
|
+
/**
|
|
5169
|
+
* Departure details.
|
|
5170
|
+
*/
|
|
5171
|
+
departure: Segment.Departure;
|
|
5172
|
+
/**
|
|
5173
|
+
* Exchange ticket number.
|
|
5174
|
+
*/
|
|
5175
|
+
exchange_ticket_number?: string;
|
|
5176
|
+
/**
|
|
5177
|
+
* Fare basis code.
|
|
5178
|
+
*/
|
|
5179
|
+
fare_basis_code?: string;
|
|
5180
|
+
/**
|
|
5181
|
+
* Additional fees.
|
|
5182
|
+
*/
|
|
5183
|
+
fees?: number;
|
|
5184
|
+
/**
|
|
5185
|
+
* Flight number.
|
|
5186
|
+
*/
|
|
5187
|
+
flight_number?: string;
|
|
5188
|
+
/**
|
|
5189
|
+
* Stopover indicator.
|
|
5190
|
+
*/
|
|
5191
|
+
is_stop_over_indicator?: boolean;
|
|
5192
|
+
/**
|
|
5193
|
+
* Refundable ticket indicator.
|
|
5194
|
+
*/
|
|
5195
|
+
refundable?: boolean;
|
|
5196
|
+
/**
|
|
5197
|
+
* Class of service.
|
|
5198
|
+
*/
|
|
5199
|
+
service_class: Segment.ServiceClass;
|
|
5200
|
+
/**
|
|
5201
|
+
* Tax amount for segment.
|
|
5202
|
+
*/
|
|
5203
|
+
tax_amount?: number;
|
|
5204
|
+
/**
|
|
5205
|
+
* Ticket number.
|
|
5206
|
+
*/
|
|
5207
|
+
ticket_number?: string;
|
|
5208
|
+
}
|
|
5209
|
+
interface Total {
|
|
5210
|
+
/**
|
|
5211
|
+
* Total flight amount.
|
|
5212
|
+
*/
|
|
5213
|
+
amount: number;
|
|
5214
|
+
/**
|
|
5215
|
+
* Reason for credit.
|
|
5216
|
+
*/
|
|
5217
|
+
credit_reason?: Total.CreditReason;
|
|
5218
|
+
/**
|
|
5219
|
+
* Total currency.
|
|
5220
|
+
*/
|
|
5221
|
+
currency?: string;
|
|
5222
|
+
/**
|
|
5223
|
+
* Discount details.
|
|
5224
|
+
*/
|
|
5225
|
+
discounts?: Total.Discounts;
|
|
5226
|
+
/**
|
|
5227
|
+
* Additional charges.
|
|
5228
|
+
*/
|
|
5229
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5230
|
+
/**
|
|
5231
|
+
* Tax breakdown.
|
|
5232
|
+
*/
|
|
5233
|
+
tax?: Total.Tax;
|
|
5234
|
+
}
|
|
5235
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase';
|
|
5236
|
+
namespace Insurance {
|
|
5237
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5238
|
+
}
|
|
5239
|
+
namespace Segment {
|
|
5240
|
+
interface Arrival {
|
|
5241
|
+
/**
|
|
5242
|
+
* Arrival airport IATA code.
|
|
5243
|
+
*/
|
|
5244
|
+
airport: string;
|
|
5245
|
+
/**
|
|
5246
|
+
* Arrival date/time.
|
|
5247
|
+
*/
|
|
5248
|
+
arrives_at?: number;
|
|
5249
|
+
/**
|
|
5250
|
+
* Arrival city.
|
|
5251
|
+
*/
|
|
5252
|
+
city?: string;
|
|
5253
|
+
/**
|
|
5254
|
+
* Arrival country.
|
|
5255
|
+
*/
|
|
5256
|
+
country?: string;
|
|
5257
|
+
}
|
|
5258
|
+
interface Departure {
|
|
5259
|
+
/**
|
|
5260
|
+
* Departure airport IATA code.
|
|
5261
|
+
*/
|
|
5262
|
+
airport: string;
|
|
5263
|
+
/**
|
|
5264
|
+
* Departure city.
|
|
5265
|
+
*/
|
|
5266
|
+
city?: string;
|
|
5267
|
+
/**
|
|
5268
|
+
* Departure country.
|
|
5269
|
+
*/
|
|
5270
|
+
country?: string;
|
|
5271
|
+
/**
|
|
5272
|
+
* Departure date/time.
|
|
5273
|
+
*/
|
|
5274
|
+
departs_at: number;
|
|
5275
|
+
}
|
|
5276
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy';
|
|
5277
|
+
}
|
|
5278
|
+
namespace Total {
|
|
5279
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation';
|
|
5280
|
+
interface Discounts {
|
|
5281
|
+
/**
|
|
5282
|
+
* Corporate client discount code.
|
|
5283
|
+
*/
|
|
5284
|
+
corporate_client_code?: string;
|
|
5285
|
+
}
|
|
5286
|
+
interface ExtraCharge {
|
|
5287
|
+
/**
|
|
5288
|
+
* Amount of additional charges.
|
|
5289
|
+
*/
|
|
5290
|
+
amount?: number;
|
|
5291
|
+
/**
|
|
5292
|
+
* Type of additional charges.
|
|
5293
|
+
*/
|
|
5294
|
+
type?: ExtraCharge.Type;
|
|
5295
|
+
}
|
|
5296
|
+
interface Tax {
|
|
5297
|
+
/**
|
|
5298
|
+
* Array of tax details.
|
|
5299
|
+
*/
|
|
5300
|
+
taxes?: Array<Tax.Tax>;
|
|
5301
|
+
}
|
|
5302
|
+
namespace ExtraCharge {
|
|
5303
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee';
|
|
5304
|
+
}
|
|
5305
|
+
namespace Tax {
|
|
5306
|
+
interface Tax {
|
|
5307
|
+
/**
|
|
5308
|
+
* Tax amount.
|
|
5309
|
+
*/
|
|
5310
|
+
amount?: number;
|
|
5311
|
+
/**
|
|
5312
|
+
* Tax rate.
|
|
5313
|
+
*/
|
|
5314
|
+
rate?: number;
|
|
5315
|
+
/**
|
|
5316
|
+
* Type of tax.
|
|
5317
|
+
*/
|
|
5318
|
+
type?: string;
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5323
|
+
namespace Lodging {
|
|
5324
|
+
interface Affiliate {
|
|
5325
|
+
/**
|
|
5326
|
+
* The name of the affiliate that originated the purchase.
|
|
5327
|
+
*/
|
|
5328
|
+
name: string;
|
|
5329
|
+
}
|
|
5330
|
+
type Category = 'hotel' | 'vacation_rental';
|
|
5331
|
+
interface Delivery {
|
|
5332
|
+
/**
|
|
5333
|
+
* The delivery method for the payment
|
|
5334
|
+
*/
|
|
5335
|
+
mode?: Delivery.Mode;
|
|
5336
|
+
/**
|
|
5337
|
+
* Details of the recipient.
|
|
5338
|
+
*/
|
|
5339
|
+
recipient?: Delivery.Recipient;
|
|
5340
|
+
}
|
|
5341
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone';
|
|
5342
|
+
interface Passenger {
|
|
5343
|
+
/**
|
|
5344
|
+
* Full name of the person or entity on the lodging reservation.
|
|
5345
|
+
*/
|
|
5346
|
+
name: string;
|
|
5347
|
+
}
|
|
5348
|
+
namespace Delivery {
|
|
5349
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
5350
|
+
interface Recipient {
|
|
5351
|
+
/**
|
|
5352
|
+
* The email of the recipient the ticket is delivered to.
|
|
5353
|
+
*/
|
|
5354
|
+
email?: string;
|
|
5355
|
+
/**
|
|
5356
|
+
* The name of the recipient the ticket is delivered to.
|
|
5357
|
+
*/
|
|
5358
|
+
name?: string;
|
|
5359
|
+
/**
|
|
5360
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5361
|
+
*/
|
|
5362
|
+
phone?: string;
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
}
|
|
5366
|
+
namespace LodgingDatum {
|
|
5367
|
+
interface Accommodation {
|
|
5368
|
+
/**
|
|
5369
|
+
* Type of accommodation.
|
|
5370
|
+
*/
|
|
5371
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
5372
|
+
/**
|
|
5373
|
+
* Bed type.
|
|
5374
|
+
*/
|
|
5375
|
+
bed_type?: string;
|
|
5376
|
+
/**
|
|
5377
|
+
* Daily accommodation rate in cents.
|
|
5378
|
+
*/
|
|
5379
|
+
daily_rate_amount?: number;
|
|
5380
|
+
/**
|
|
5381
|
+
* Number of nights.
|
|
5382
|
+
*/
|
|
5383
|
+
nights?: number;
|
|
5384
|
+
/**
|
|
5385
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
5386
|
+
*/
|
|
5387
|
+
number_of_rooms?: number;
|
|
5388
|
+
/**
|
|
5389
|
+
* Rate type.
|
|
5390
|
+
*/
|
|
5391
|
+
rate_type?: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* Whether smoking is allowed.
|
|
5394
|
+
*/
|
|
5395
|
+
smoking_indicator?: boolean;
|
|
5396
|
+
}
|
|
5397
|
+
interface Affiliate {
|
|
5398
|
+
/**
|
|
5399
|
+
* Affiliate partner code.
|
|
5400
|
+
*/
|
|
5401
|
+
code?: string;
|
|
5402
|
+
/**
|
|
5403
|
+
* Affiliate partner name.
|
|
5404
|
+
*/
|
|
5405
|
+
name?: string;
|
|
5406
|
+
}
|
|
5407
|
+
interface Guest {
|
|
5408
|
+
/**
|
|
5409
|
+
* Guest's full name.
|
|
5410
|
+
*/
|
|
5411
|
+
name: string;
|
|
5412
|
+
}
|
|
5413
|
+
interface Host {
|
|
5414
|
+
/**
|
|
5415
|
+
* Address of the host.
|
|
5416
|
+
*/
|
|
5417
|
+
address?: Host.Address;
|
|
5418
|
+
/**
|
|
5419
|
+
* Host's country of domicile.
|
|
5420
|
+
*/
|
|
5421
|
+
country_of_domicile?: string;
|
|
5422
|
+
/**
|
|
5423
|
+
* Reference number for the host.
|
|
5424
|
+
*/
|
|
5425
|
+
host_reference?: string;
|
|
5426
|
+
/**
|
|
5427
|
+
* Type of host.
|
|
5428
|
+
*/
|
|
5429
|
+
host_type?: Host.HostType;
|
|
5430
|
+
/**
|
|
5431
|
+
* Name of the lodging property or host.
|
|
5432
|
+
*/
|
|
5433
|
+
name?: string;
|
|
5434
|
+
/**
|
|
5435
|
+
* Total number of reservations for the host.
|
|
5436
|
+
*/
|
|
5437
|
+
number_of_reservations?: number;
|
|
5438
|
+
/**
|
|
5439
|
+
* Property phone number.
|
|
5440
|
+
*/
|
|
5441
|
+
property_phone_number?: string;
|
|
5442
|
+
/**
|
|
5443
|
+
* Host's registration date.
|
|
5444
|
+
*/
|
|
5445
|
+
registered_at?: number;
|
|
5446
|
+
}
|
|
5447
|
+
interface Insurance {
|
|
5448
|
+
/**
|
|
5449
|
+
* Price of the insurance coverage in cents.
|
|
5450
|
+
*/
|
|
5451
|
+
amount: number;
|
|
5452
|
+
/**
|
|
5453
|
+
* Currency of the insurance amount.
|
|
5454
|
+
*/
|
|
5455
|
+
currency?: string;
|
|
5456
|
+
/**
|
|
5457
|
+
* Name of the insurance company.
|
|
5458
|
+
*/
|
|
5459
|
+
insurance_company_name?: string;
|
|
5460
|
+
/**
|
|
5461
|
+
* Type of insurance coverage.
|
|
5462
|
+
*/
|
|
5463
|
+
insurance_type: Insurance.InsuranceType;
|
|
5464
|
+
}
|
|
5465
|
+
interface Total {
|
|
5466
|
+
/**
|
|
5467
|
+
* Total price of the lodging reservation in cents.
|
|
5468
|
+
*/
|
|
5469
|
+
amount: number;
|
|
5470
|
+
/**
|
|
5471
|
+
* Cash advances in cents.
|
|
5472
|
+
*/
|
|
5473
|
+
cash_advances?: number;
|
|
5474
|
+
/**
|
|
5475
|
+
* Currency of the total amount.
|
|
5476
|
+
*/
|
|
5477
|
+
currency?: string;
|
|
5478
|
+
/**
|
|
5479
|
+
* Discount details for the lodging.
|
|
5480
|
+
*/
|
|
5481
|
+
discounts?: Total.Discounts;
|
|
5482
|
+
/**
|
|
5483
|
+
* Additional charges for the lodging.
|
|
5484
|
+
*/
|
|
5485
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5486
|
+
/**
|
|
5487
|
+
* Prepaid amount in cents.
|
|
5488
|
+
*/
|
|
5489
|
+
prepaid_amount?: number;
|
|
5490
|
+
/**
|
|
5491
|
+
* Tax breakdown for the lodging reservation.
|
|
5492
|
+
*/
|
|
5493
|
+
tax?: Total.Tax;
|
|
5494
|
+
}
|
|
5495
|
+
namespace Accommodation {
|
|
5496
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa';
|
|
5497
|
+
}
|
|
5498
|
+
namespace Host {
|
|
5499
|
+
interface Address {
|
|
5500
|
+
/**
|
|
5501
|
+
* City, district, suburb, town, or village.
|
|
5502
|
+
*/
|
|
5503
|
+
city: string;
|
|
5504
|
+
/**
|
|
5505
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5506
|
+
*/
|
|
5507
|
+
country: string;
|
|
5508
|
+
/**
|
|
5509
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5510
|
+
*/
|
|
5511
|
+
line1: string;
|
|
5512
|
+
/**
|
|
5513
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5514
|
+
*/
|
|
5515
|
+
line2?: string;
|
|
5516
|
+
/**
|
|
5517
|
+
* ZIP or postal code.
|
|
5518
|
+
*/
|
|
5519
|
+
postal_code: string;
|
|
5520
|
+
/**
|
|
5521
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5522
|
+
*/
|
|
5523
|
+
state?: string;
|
|
5524
|
+
}
|
|
5525
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency';
|
|
5526
|
+
}
|
|
5527
|
+
namespace Insurance {
|
|
5528
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical';
|
|
5529
|
+
}
|
|
5530
|
+
namespace Total {
|
|
5531
|
+
interface Discounts {
|
|
5532
|
+
/**
|
|
5533
|
+
* Corporate client discount code.
|
|
5534
|
+
*/
|
|
5535
|
+
corporate_client_code?: string;
|
|
5536
|
+
/**
|
|
5537
|
+
* Coupon code.
|
|
5538
|
+
*/
|
|
5539
|
+
coupon?: string;
|
|
5540
|
+
}
|
|
5541
|
+
interface ExtraCharge {
|
|
5542
|
+
/**
|
|
5543
|
+
* Amount of the extra charge in cents.
|
|
5544
|
+
*/
|
|
5545
|
+
amount?: number;
|
|
5546
|
+
/**
|
|
5547
|
+
* Type of extra charge.
|
|
5548
|
+
*/
|
|
5549
|
+
type?: ExtraCharge.Type;
|
|
5550
|
+
}
|
|
5551
|
+
interface Tax {
|
|
5552
|
+
/**
|
|
5553
|
+
* Indicates whether the transaction is tax exempt.
|
|
5554
|
+
*/
|
|
5555
|
+
tax_exempt_indicator?: boolean;
|
|
5556
|
+
/**
|
|
5557
|
+
* Tax details.
|
|
5558
|
+
*/
|
|
5559
|
+
taxes?: Array<Tax.Tax>;
|
|
5560
|
+
}
|
|
5561
|
+
namespace ExtraCharge {
|
|
5562
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant';
|
|
5563
|
+
}
|
|
5564
|
+
namespace Tax {
|
|
5565
|
+
interface Tax {
|
|
5566
|
+
/**
|
|
5567
|
+
* Tax amount in cents.
|
|
5568
|
+
*/
|
|
5569
|
+
amount?: number;
|
|
5570
|
+
/**
|
|
5571
|
+
* Tax rate.
|
|
5572
|
+
*/
|
|
5573
|
+
rate?: number;
|
|
5574
|
+
/**
|
|
5575
|
+
* Type of tax applied.
|
|
5576
|
+
*/
|
|
5577
|
+
type?: string;
|
|
5578
|
+
}
|
|
5579
|
+
}
|
|
5580
|
+
}
|
|
5581
|
+
}
|
|
5582
|
+
namespace Subscription {
|
|
5583
|
+
interface Affiliate {
|
|
5584
|
+
/**
|
|
5585
|
+
* The name of the affiliate that originated the purchase.
|
|
5586
|
+
*/
|
|
5587
|
+
name: string;
|
|
5588
|
+
}
|
|
5589
|
+
interface BillingInterval {
|
|
5590
|
+
/**
|
|
5591
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
5592
|
+
*/
|
|
5593
|
+
count: number;
|
|
5594
|
+
/**
|
|
5595
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
5596
|
+
*/
|
|
5597
|
+
interval: BillingInterval.Interval;
|
|
5598
|
+
}
|
|
5599
|
+
namespace BillingInterval {
|
|
5600
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
2321
5603
|
}
|
|
2322
5604
|
}
|
|
2323
5605
|
export interface ChargeSearchParams {
|