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
|
@@ -0,0 +1,1775 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { V2Amount } from './../V2Amounts.js';
|
|
3
|
+
import { MetadataParam, Decimal, Metadata } from '../../../shared.js';
|
|
4
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
5
|
+
import { DeletedObject } from './../../V2/DeletedObject.js';
|
|
6
|
+
import { PricingLineResource } from './Contracts/PricingLines.js';
|
|
7
|
+
import { Stripe } from '../../../stripe.core.js';
|
|
8
|
+
export declare class ContractResource extends StripeResource {
|
|
9
|
+
private readonly stripe;
|
|
10
|
+
pricingLines: PricingLineResource;
|
|
11
|
+
constructor(stripe: Stripe);
|
|
12
|
+
/**
|
|
13
|
+
* List Contract objects with pagination.
|
|
14
|
+
*/
|
|
15
|
+
list(params?: V2.Billing.ContractListParams, options?: RequestOptions): V2ListPromise<Contract>;
|
|
16
|
+
/**
|
|
17
|
+
* Create a Contract object.
|
|
18
|
+
*/
|
|
19
|
+
create(params: V2.Billing.ContractCreateParams, options?: RequestOptions): Promise<Response<Contract>>;
|
|
20
|
+
/**
|
|
21
|
+
* Delete a draft Contract object by ID.
|
|
22
|
+
*/
|
|
23
|
+
del(id: string, params?: V2.Billing.ContractDeleteParams, options?: RequestOptions): Promise<Response<DeletedObject>>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve a Contract object by ID.
|
|
26
|
+
*/
|
|
27
|
+
retrieve(id: string, params?: V2.Billing.ContractRetrieveParams, options?: RequestOptions): Promise<Response<Contract>>;
|
|
28
|
+
/**
|
|
29
|
+
* Update a Contract object by ID.
|
|
30
|
+
*/
|
|
31
|
+
update(id: string, params?: V2.Billing.ContractUpdateParams, options?: RequestOptions): Promise<Response<Contract>>;
|
|
32
|
+
/**
|
|
33
|
+
* Activate a Draft Contract object by ID.
|
|
34
|
+
*/
|
|
35
|
+
activate(id: string, params?: V2.Billing.ContractActivateParams, options?: RequestOptions): Promise<Response<Contract>>;
|
|
36
|
+
/**
|
|
37
|
+
* Cancel a Contract object by ID.
|
|
38
|
+
*/
|
|
39
|
+
cancel(id: string, params?: V2.Billing.ContractCancelParams, options?: RequestOptions): Promise<Response<Contract>>;
|
|
40
|
+
}
|
|
41
|
+
export interface Contract {
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the contract object.
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
48
|
+
*/
|
|
49
|
+
object: 'v2.billing.contract';
|
|
50
|
+
/**
|
|
51
|
+
* The billing cycle anchor for the contract.
|
|
52
|
+
*/
|
|
53
|
+
billing_cycle_anchor?: Contract.BillingCycleAnchor;
|
|
54
|
+
/**
|
|
55
|
+
* The billing settings for the contract.
|
|
56
|
+
*/
|
|
57
|
+
billing_settings?: Contract.BillingSettings;
|
|
58
|
+
/**
|
|
59
|
+
* A unique user-provided contract number e.g. C-2026-0001.
|
|
60
|
+
*/
|
|
61
|
+
contract_number: string;
|
|
62
|
+
/**
|
|
63
|
+
* Timestamp of when the object was created.
|
|
64
|
+
*/
|
|
65
|
+
created: string;
|
|
66
|
+
/**
|
|
67
|
+
* The currency of the contract.
|
|
68
|
+
*/
|
|
69
|
+
currency: string;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the customer associated with the contract.
|
|
72
|
+
*/
|
|
73
|
+
customer: string;
|
|
74
|
+
/**
|
|
75
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
76
|
+
*/
|
|
77
|
+
livemode: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Set of key-value pairs that you can attach to an object.
|
|
80
|
+
*/
|
|
81
|
+
metadata?: Metadata;
|
|
82
|
+
/**
|
|
83
|
+
* The one-time fees of the contract. Only populated when `one_time_fees` is passed in the `include` parameter.
|
|
84
|
+
*/
|
|
85
|
+
one_time_fees?: Contract.OneTimeFees;
|
|
86
|
+
/**
|
|
87
|
+
* The pricing lines of the contract. Only populated when `pricing_lines` is passed in the `include` parameter.
|
|
88
|
+
*/
|
|
89
|
+
pricing_lines?: Contract.PricingLines;
|
|
90
|
+
/**
|
|
91
|
+
* The pricing overrides of the contract. Only populated when `pricing_overrides` is passed in the `include` parameter.
|
|
92
|
+
*/
|
|
93
|
+
pricing_overrides?: Contract.PricingOverrides;
|
|
94
|
+
/**
|
|
95
|
+
* The current status of the contract.
|
|
96
|
+
*/
|
|
97
|
+
status: Contract.Status;
|
|
98
|
+
/**
|
|
99
|
+
* Information about the contract status transitions.
|
|
100
|
+
*/
|
|
101
|
+
status_details: Contract.StatusDetails;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace Contract {
|
|
104
|
+
interface BillingCycleAnchor {
|
|
105
|
+
/**
|
|
106
|
+
* The billing cycle anchor as a UTC timestamp.
|
|
107
|
+
*/
|
|
108
|
+
timestamp: string;
|
|
109
|
+
}
|
|
110
|
+
interface BillingSettings {
|
|
111
|
+
/**
|
|
112
|
+
* The bill settings details configures invoice and tax settings for the contract.
|
|
113
|
+
*/
|
|
114
|
+
bill_settings_details?: BillingSettings.BillSettingsDetails;
|
|
115
|
+
/**
|
|
116
|
+
* The billing profile details configures who is charged for the contract.
|
|
117
|
+
*/
|
|
118
|
+
billing_profile_details: BillingSettings.BillingProfileDetails;
|
|
119
|
+
/**
|
|
120
|
+
* The collection settings details configures how payments are collected on the contract.
|
|
121
|
+
*/
|
|
122
|
+
collection_settings_details: BillingSettings.CollectionSettingsDetails;
|
|
123
|
+
}
|
|
124
|
+
interface OneTimeFees {
|
|
125
|
+
/**
|
|
126
|
+
* The one-time fees for this page.
|
|
127
|
+
*/
|
|
128
|
+
data: Array<OneTimeFees.Data>;
|
|
129
|
+
}
|
|
130
|
+
interface PricingLines {
|
|
131
|
+
/**
|
|
132
|
+
* The pricing lines for this page.
|
|
133
|
+
*/
|
|
134
|
+
data: Array<PricingLines.Data>;
|
|
135
|
+
}
|
|
136
|
+
interface PricingOverrides {
|
|
137
|
+
/**
|
|
138
|
+
* The pricing overrides for this page.
|
|
139
|
+
*/
|
|
140
|
+
data: Array<PricingOverrides.Data>;
|
|
141
|
+
}
|
|
142
|
+
type Status = 'active' | 'canceled' | 'draft' | 'ended';
|
|
143
|
+
interface StatusDetails {
|
|
144
|
+
/**
|
|
145
|
+
* Details of the active contract status.
|
|
146
|
+
*/
|
|
147
|
+
active?: StatusDetails.Active;
|
|
148
|
+
/**
|
|
149
|
+
* Details of the canceled contract status.
|
|
150
|
+
*/
|
|
151
|
+
canceled?: StatusDetails.Canceled;
|
|
152
|
+
}
|
|
153
|
+
namespace BillingSettings {
|
|
154
|
+
interface BillSettingsDetails {
|
|
155
|
+
/**
|
|
156
|
+
* Calculation settings.
|
|
157
|
+
*/
|
|
158
|
+
calculation?: BillSettingsDetails.Calculation;
|
|
159
|
+
/**
|
|
160
|
+
* Invoice settings.
|
|
161
|
+
*/
|
|
162
|
+
invoice?: BillSettingsDetails.Invoice;
|
|
163
|
+
}
|
|
164
|
+
interface BillingProfileDetails {
|
|
165
|
+
/**
|
|
166
|
+
* The customer who pays for the contract invoice.
|
|
167
|
+
*/
|
|
168
|
+
customer: string;
|
|
169
|
+
/**
|
|
170
|
+
* The default payment method for the contract.
|
|
171
|
+
*/
|
|
172
|
+
default_payment_method?: string;
|
|
173
|
+
}
|
|
174
|
+
interface CollectionSettingsDetails {
|
|
175
|
+
/**
|
|
176
|
+
* The collection method.
|
|
177
|
+
*/
|
|
178
|
+
collection_method: CollectionSettingsDetails.CollectionMethod;
|
|
179
|
+
/**
|
|
180
|
+
* The payment method configuration.
|
|
181
|
+
*/
|
|
182
|
+
payment_method_configuration?: string;
|
|
183
|
+
}
|
|
184
|
+
namespace BillSettingsDetails {
|
|
185
|
+
interface Calculation {
|
|
186
|
+
/**
|
|
187
|
+
* Tax calculation settings.
|
|
188
|
+
*/
|
|
189
|
+
tax?: Calculation.Tax;
|
|
190
|
+
}
|
|
191
|
+
interface Invoice {
|
|
192
|
+
/**
|
|
193
|
+
* The number of time units before the invoice is past due.
|
|
194
|
+
*/
|
|
195
|
+
time_until_due?: Invoice.TimeUntilDue;
|
|
196
|
+
}
|
|
197
|
+
namespace Calculation {
|
|
198
|
+
interface Tax {
|
|
199
|
+
/**
|
|
200
|
+
* The type of tax calculation.
|
|
201
|
+
*/
|
|
202
|
+
type: Tax.Type;
|
|
203
|
+
}
|
|
204
|
+
namespace Tax {
|
|
205
|
+
type Type = 'automatic' | 'manual';
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
namespace Invoice {
|
|
209
|
+
interface TimeUntilDue {
|
|
210
|
+
/**
|
|
211
|
+
* The interval unit.
|
|
212
|
+
*/
|
|
213
|
+
interval: TimeUntilDue.Interval;
|
|
214
|
+
/**
|
|
215
|
+
* The number of intervals.
|
|
216
|
+
*/
|
|
217
|
+
interval_count: number;
|
|
218
|
+
}
|
|
219
|
+
namespace TimeUntilDue {
|
|
220
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
namespace CollectionSettingsDetails {
|
|
225
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
namespace OneTimeFees {
|
|
229
|
+
interface Data {
|
|
230
|
+
/**
|
|
231
|
+
* The amount billed for this fee.
|
|
232
|
+
*/
|
|
233
|
+
amount: V2Amount;
|
|
234
|
+
/**
|
|
235
|
+
* When this fee will be billed. Always contains a concrete timestamp.
|
|
236
|
+
*/
|
|
237
|
+
bill_at: Data.BillAt;
|
|
238
|
+
/**
|
|
239
|
+
* The ID of the one-time fee.
|
|
240
|
+
*/
|
|
241
|
+
id: string;
|
|
242
|
+
/**
|
|
243
|
+
* The user-provided lookup key.
|
|
244
|
+
*/
|
|
245
|
+
lookup_key?: string;
|
|
246
|
+
/**
|
|
247
|
+
* The ID of the v1 Product for this fee.
|
|
248
|
+
*/
|
|
249
|
+
product: string;
|
|
250
|
+
}
|
|
251
|
+
namespace Data {
|
|
252
|
+
interface BillAt {
|
|
253
|
+
/**
|
|
254
|
+
* The timestamp at which the fee will be billed.
|
|
255
|
+
*/
|
|
256
|
+
timestamp: string;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
namespace PricingLines {
|
|
261
|
+
interface Data {
|
|
262
|
+
/**
|
|
263
|
+
* Resolved timestamp when the pricing line ends.
|
|
264
|
+
*/
|
|
265
|
+
ends_at: Data.EndsAt;
|
|
266
|
+
/**
|
|
267
|
+
* The ID of the pricing line.
|
|
268
|
+
*/
|
|
269
|
+
id: string;
|
|
270
|
+
/**
|
|
271
|
+
* The user-provided lookup key for the pricing line.
|
|
272
|
+
*/
|
|
273
|
+
lookup_key?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Set of key-value pairs that you can attach to an object.
|
|
276
|
+
*/
|
|
277
|
+
metadata?: Metadata;
|
|
278
|
+
/**
|
|
279
|
+
* The pricing configuration for the pricing line.
|
|
280
|
+
*/
|
|
281
|
+
pricing: Data.Pricing;
|
|
282
|
+
/**
|
|
283
|
+
* Resolved timestamp when the pricing line starts.
|
|
284
|
+
*/
|
|
285
|
+
starts_at: Data.StartsAt;
|
|
286
|
+
}
|
|
287
|
+
namespace Data {
|
|
288
|
+
interface EndsAt {
|
|
289
|
+
/**
|
|
290
|
+
* The timestamp when the item ends.
|
|
291
|
+
*/
|
|
292
|
+
timestamp: string;
|
|
293
|
+
}
|
|
294
|
+
interface Pricing {
|
|
295
|
+
/**
|
|
296
|
+
* V1 price details. Present when `type` is `price`.
|
|
297
|
+
*/
|
|
298
|
+
price_details?: Pricing.PriceDetails;
|
|
299
|
+
/**
|
|
300
|
+
* The type of pricing.
|
|
301
|
+
*/
|
|
302
|
+
type: 'price';
|
|
303
|
+
}
|
|
304
|
+
interface StartsAt {
|
|
305
|
+
/**
|
|
306
|
+
* The timestamp when the item starts.
|
|
307
|
+
*/
|
|
308
|
+
timestamp: string;
|
|
309
|
+
}
|
|
310
|
+
namespace Pricing {
|
|
311
|
+
interface PriceDetails {
|
|
312
|
+
/**
|
|
313
|
+
* The current quantity on this pricing line.
|
|
314
|
+
*/
|
|
315
|
+
current_quantity: Decimal;
|
|
316
|
+
/**
|
|
317
|
+
* The ID of the V1 price.
|
|
318
|
+
*/
|
|
319
|
+
price: string;
|
|
320
|
+
/**
|
|
321
|
+
* The overwrite_price overrides embedded directly on this pricing line.
|
|
322
|
+
*/
|
|
323
|
+
pricing_overrides?: PriceDetails.PricingOverrides;
|
|
324
|
+
}
|
|
325
|
+
namespace PriceDetails {
|
|
326
|
+
interface PricingOverrides {
|
|
327
|
+
/**
|
|
328
|
+
* The pricing line overrides.
|
|
329
|
+
*/
|
|
330
|
+
data: Array<PricingOverrides.Data>;
|
|
331
|
+
}
|
|
332
|
+
namespace PricingOverrides {
|
|
333
|
+
interface Data {
|
|
334
|
+
/**
|
|
335
|
+
* Resolved timestamp when this override ends.
|
|
336
|
+
*/
|
|
337
|
+
ends_at: Data.EndsAt;
|
|
338
|
+
/**
|
|
339
|
+
* The user-provided lookup key for this override.
|
|
340
|
+
*/
|
|
341
|
+
lookup_key?: string;
|
|
342
|
+
/**
|
|
343
|
+
* Details for an overwrite_price override.
|
|
344
|
+
*/
|
|
345
|
+
overwrite_price?: Data.OverwritePrice;
|
|
346
|
+
/**
|
|
347
|
+
* The ID of the pricing line override.
|
|
348
|
+
*/
|
|
349
|
+
pricing_override: string;
|
|
350
|
+
/**
|
|
351
|
+
* Resolved timestamp when this override starts.
|
|
352
|
+
*/
|
|
353
|
+
starts_at: Data.StartsAt;
|
|
354
|
+
/**
|
|
355
|
+
* The type of override.
|
|
356
|
+
*/
|
|
357
|
+
type: 'overwrite_price';
|
|
358
|
+
}
|
|
359
|
+
namespace Data {
|
|
360
|
+
interface EndsAt {
|
|
361
|
+
/**
|
|
362
|
+
* The timestamp when the item ends.
|
|
363
|
+
*/
|
|
364
|
+
timestamp: string;
|
|
365
|
+
}
|
|
366
|
+
interface OverwritePrice {
|
|
367
|
+
/**
|
|
368
|
+
* Defines whether the tiered price should be graduated or volume-based.
|
|
369
|
+
*/
|
|
370
|
+
tiering_mode?: OverwritePrice.TieringMode;
|
|
371
|
+
/**
|
|
372
|
+
* Each element represents a pricing tier.
|
|
373
|
+
*/
|
|
374
|
+
tiers: Array<OverwritePrice.Tier>;
|
|
375
|
+
/**
|
|
376
|
+
* The per-unit amount to be charged, represented as a decimal string in minor currency units.
|
|
377
|
+
*/
|
|
378
|
+
unit_amount?: string;
|
|
379
|
+
}
|
|
380
|
+
interface StartsAt {
|
|
381
|
+
/**
|
|
382
|
+
* The timestamp when the item starts.
|
|
383
|
+
*/
|
|
384
|
+
timestamp: string;
|
|
385
|
+
}
|
|
386
|
+
namespace OverwritePrice {
|
|
387
|
+
type TieringMode = 'graduated' | 'volume';
|
|
388
|
+
interface Tier {
|
|
389
|
+
/**
|
|
390
|
+
* Price for the entire tier, represented as a decimal string in minor currency units.
|
|
391
|
+
*/
|
|
392
|
+
flat_amount?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Per-unit price for units included in this tier, represented as a decimal string in minor currency units.
|
|
395
|
+
*/
|
|
396
|
+
unit_amount?: string;
|
|
397
|
+
/**
|
|
398
|
+
* Up to and including this quantity will be contained in the tier.
|
|
399
|
+
*/
|
|
400
|
+
up_to_decimal?: Decimal;
|
|
401
|
+
/**
|
|
402
|
+
* No upper bound to this tier.
|
|
403
|
+
*/
|
|
404
|
+
up_to_inf?: 'inf';
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
namespace PricingOverrides {
|
|
414
|
+
interface Data {
|
|
415
|
+
/**
|
|
416
|
+
* Resolved timestamp when the pricing override ends.
|
|
417
|
+
*/
|
|
418
|
+
ends_at: Data.EndsAt;
|
|
419
|
+
/**
|
|
420
|
+
* The ID of the pricing override.
|
|
421
|
+
*/
|
|
422
|
+
id: string;
|
|
423
|
+
/**
|
|
424
|
+
* The user-provided lookup key for the pricing override.
|
|
425
|
+
*/
|
|
426
|
+
lookup_key?: string;
|
|
427
|
+
/**
|
|
428
|
+
* Details for a multiplier override.
|
|
429
|
+
*/
|
|
430
|
+
multiplier?: Data.Multiplier;
|
|
431
|
+
/**
|
|
432
|
+
* The priority of this override relative to others. Lower number = higher priority.
|
|
433
|
+
*/
|
|
434
|
+
priority: number;
|
|
435
|
+
/**
|
|
436
|
+
* Resolved timestamp when the pricing override starts.
|
|
437
|
+
*/
|
|
438
|
+
starts_at: Data.StartsAt;
|
|
439
|
+
/**
|
|
440
|
+
* The type of pricing override.
|
|
441
|
+
*/
|
|
442
|
+
type: 'multiplier';
|
|
443
|
+
}
|
|
444
|
+
namespace Data {
|
|
445
|
+
interface EndsAt {
|
|
446
|
+
/**
|
|
447
|
+
* The timestamp when the item ends.
|
|
448
|
+
*/
|
|
449
|
+
timestamp: string;
|
|
450
|
+
}
|
|
451
|
+
interface Multiplier {
|
|
452
|
+
/**
|
|
453
|
+
* Criteria determining which rates the multiplier applies to.
|
|
454
|
+
*/
|
|
455
|
+
criteria: Array<Multiplier.Criterion>;
|
|
456
|
+
/**
|
|
457
|
+
* The multiplier factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
|
|
458
|
+
*/
|
|
459
|
+
factor: string;
|
|
460
|
+
}
|
|
461
|
+
interface StartsAt {
|
|
462
|
+
/**
|
|
463
|
+
* The timestamp when the item starts.
|
|
464
|
+
*/
|
|
465
|
+
timestamp: string;
|
|
466
|
+
}
|
|
467
|
+
namespace Multiplier {
|
|
468
|
+
interface Criterion {
|
|
469
|
+
/**
|
|
470
|
+
* Filter by pricing line IDs.
|
|
471
|
+
*/
|
|
472
|
+
pricing_line_ids?: Array<string>;
|
|
473
|
+
/**
|
|
474
|
+
* Filter by pricing line lookup keys.
|
|
475
|
+
*/
|
|
476
|
+
pricing_line_lookup_keys?: Array<string>;
|
|
477
|
+
/**
|
|
478
|
+
* Whether to include or exclude items matching these criteria.
|
|
479
|
+
*/
|
|
480
|
+
type: Criterion.Type;
|
|
481
|
+
}
|
|
482
|
+
namespace Criterion {
|
|
483
|
+
type Type = 'exclude' | 'include';
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
namespace StatusDetails {
|
|
489
|
+
interface Active {
|
|
490
|
+
/**
|
|
491
|
+
* The timestamp when the contract was activated.
|
|
492
|
+
*/
|
|
493
|
+
activated_at: string;
|
|
494
|
+
}
|
|
495
|
+
interface Canceled {
|
|
496
|
+
/**
|
|
497
|
+
* The timestamp when the contract was canceled.
|
|
498
|
+
*/
|
|
499
|
+
canceled_at: string;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
export declare namespace V2 {
|
|
504
|
+
namespace Billing {
|
|
505
|
+
interface ContractCreateParams {
|
|
506
|
+
/**
|
|
507
|
+
* A unique user-provided contract number e.g. C-2026-0001.
|
|
508
|
+
*/
|
|
509
|
+
contract_number: string;
|
|
510
|
+
/**
|
|
511
|
+
* Currency of the contract.
|
|
512
|
+
*/
|
|
513
|
+
currency: string;
|
|
514
|
+
/**
|
|
515
|
+
* A list of pricing lines to create with the contract.
|
|
516
|
+
*/
|
|
517
|
+
pricing_lines: Array<ContractCreateParams.PricingLine>;
|
|
518
|
+
/**
|
|
519
|
+
* The billing cycle anchor for the contract. If not provided, defaults to the pricing line start time.
|
|
520
|
+
* It is only at the top-level of the contract with no option to override at the pricing line level.
|
|
521
|
+
*/
|
|
522
|
+
billing_cycle_anchor?: ContractCreateParams.BillingCycleAnchor;
|
|
523
|
+
/**
|
|
524
|
+
* The billing settings for the contract.
|
|
525
|
+
*/
|
|
526
|
+
billing_settings?: ContractCreateParams.BillingSettings;
|
|
527
|
+
/**
|
|
528
|
+
* Additional fields to include in the response.
|
|
529
|
+
*/
|
|
530
|
+
include?: Array<ContractCreateParams.Include>;
|
|
531
|
+
/**
|
|
532
|
+
* Set of key-value pairs that you can attach to an object.
|
|
533
|
+
*/
|
|
534
|
+
metadata?: MetadataParam;
|
|
535
|
+
/**
|
|
536
|
+
* A list of one-time fees to create with the contract. Each fee is billed as individual invoice items per its bill_schedule.
|
|
537
|
+
*/
|
|
538
|
+
one_time_fees?: Array<ContractCreateParams.OneTimeFee>;
|
|
539
|
+
/**
|
|
540
|
+
* A list of pricing overrides to create with the contract.
|
|
541
|
+
*/
|
|
542
|
+
pricing_overrides?: Array<ContractCreateParams.PricingOverride>;
|
|
543
|
+
}
|
|
544
|
+
namespace ContractCreateParams {
|
|
545
|
+
interface PricingLine {
|
|
546
|
+
/**
|
|
547
|
+
* When the pricing line ends.
|
|
548
|
+
*/
|
|
549
|
+
ends_at: PricingLine.EndsAt;
|
|
550
|
+
/**
|
|
551
|
+
* A user-provided lookup key to reference this pricing line.
|
|
552
|
+
*/
|
|
553
|
+
lookup_key?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Set of key-value pairs that you can attach to an object.
|
|
556
|
+
*/
|
|
557
|
+
metadata?: MetadataParam;
|
|
558
|
+
/**
|
|
559
|
+
* The pricing configuration for the pricing line.
|
|
560
|
+
*/
|
|
561
|
+
pricing: PricingLine.Pricing;
|
|
562
|
+
/**
|
|
563
|
+
* When the pricing line starts.
|
|
564
|
+
*/
|
|
565
|
+
starts_at: PricingLine.StartsAt;
|
|
566
|
+
}
|
|
567
|
+
interface BillingCycleAnchor {
|
|
568
|
+
/**
|
|
569
|
+
* Configuration for determining the billing cycle anchor by calendar fields.
|
|
570
|
+
*/
|
|
571
|
+
config?: BillingCycleAnchor.Config;
|
|
572
|
+
/**
|
|
573
|
+
* A specific timestamp to use as the billing cycle anchor.
|
|
574
|
+
*/
|
|
575
|
+
timestamp?: string;
|
|
576
|
+
/**
|
|
577
|
+
* The type of billing cycle anchor.
|
|
578
|
+
*/
|
|
579
|
+
type: BillingCycleAnchor.Type;
|
|
580
|
+
}
|
|
581
|
+
interface BillingSettings {
|
|
582
|
+
/**
|
|
583
|
+
* The bill settings details configures invoice and tax settings for the contract.
|
|
584
|
+
*/
|
|
585
|
+
bill_settings_details?: BillingSettings.BillSettingsDetails;
|
|
586
|
+
/**
|
|
587
|
+
* The billing profile details configures who is charged for the contract.
|
|
588
|
+
*/
|
|
589
|
+
billing_profile_details: BillingSettings.BillingProfileDetails;
|
|
590
|
+
/**
|
|
591
|
+
* The collection settings details configures how payments are collected on the contract.
|
|
592
|
+
*/
|
|
593
|
+
collection_settings_details: BillingSettings.CollectionSettingsDetails;
|
|
594
|
+
}
|
|
595
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
596
|
+
interface OneTimeFee {
|
|
597
|
+
/**
|
|
598
|
+
* The amount to bill.
|
|
599
|
+
*/
|
|
600
|
+
amount: V2Amount;
|
|
601
|
+
/**
|
|
602
|
+
* When this fee should be billed.
|
|
603
|
+
*/
|
|
604
|
+
bill_at: OneTimeFee.BillAt;
|
|
605
|
+
/**
|
|
606
|
+
* A user-provided lookup key.
|
|
607
|
+
*/
|
|
608
|
+
lookup_key?: string;
|
|
609
|
+
/**
|
|
610
|
+
* The ID of the v1 Product for this fee.
|
|
611
|
+
*/
|
|
612
|
+
product: string;
|
|
613
|
+
}
|
|
614
|
+
interface PricingOverride {
|
|
615
|
+
/**
|
|
616
|
+
* When the pricing override ends.
|
|
617
|
+
*/
|
|
618
|
+
ends_at: PricingOverride.EndsAt;
|
|
619
|
+
/**
|
|
620
|
+
* A user-provided lookup key to reference this pricing override.
|
|
621
|
+
*/
|
|
622
|
+
lookup_key?: string;
|
|
623
|
+
/**
|
|
624
|
+
* Parameters for a multiplier override. Required if `type` is `multiplier`.
|
|
625
|
+
*/
|
|
626
|
+
multiplier?: PricingOverride.Multiplier;
|
|
627
|
+
/**
|
|
628
|
+
* The priority of this override relative to others. The highest priority is 0 and the lowest is 100.
|
|
629
|
+
*/
|
|
630
|
+
priority: number;
|
|
631
|
+
/**
|
|
632
|
+
* When the pricing override starts.
|
|
633
|
+
*/
|
|
634
|
+
starts_at: PricingOverride.StartsAt;
|
|
635
|
+
/**
|
|
636
|
+
* The type of pricing override.
|
|
637
|
+
*/
|
|
638
|
+
type: 'multiplier';
|
|
639
|
+
}
|
|
640
|
+
namespace BillingCycleAnchor {
|
|
641
|
+
interface Config {
|
|
642
|
+
/**
|
|
643
|
+
* Day of month (1-31).
|
|
644
|
+
*/
|
|
645
|
+
day_of_month: number;
|
|
646
|
+
/**
|
|
647
|
+
* Hour of day in UTC (0-23).
|
|
648
|
+
*/
|
|
649
|
+
hour?: number;
|
|
650
|
+
/**
|
|
651
|
+
* Minute of hour (0-59).
|
|
652
|
+
*/
|
|
653
|
+
minute?: number;
|
|
654
|
+
/**
|
|
655
|
+
* Month of year (1-12).
|
|
656
|
+
*/
|
|
657
|
+
month_of_year?: number;
|
|
658
|
+
/**
|
|
659
|
+
* Second of minute (0-59).
|
|
660
|
+
*/
|
|
661
|
+
second?: number;
|
|
662
|
+
}
|
|
663
|
+
type Type = 'config' | 'timestamp';
|
|
664
|
+
}
|
|
665
|
+
namespace BillingSettings {
|
|
666
|
+
interface BillSettingsDetails {
|
|
667
|
+
/**
|
|
668
|
+
* Calculation settings.
|
|
669
|
+
*/
|
|
670
|
+
calculation?: BillSettingsDetails.Calculation;
|
|
671
|
+
/**
|
|
672
|
+
* Invoice settings.
|
|
673
|
+
*/
|
|
674
|
+
invoice?: BillSettingsDetails.Invoice;
|
|
675
|
+
}
|
|
676
|
+
interface BillingProfileDetails {
|
|
677
|
+
/**
|
|
678
|
+
* The customer who pays for the contract invoice.
|
|
679
|
+
*/
|
|
680
|
+
customer: string;
|
|
681
|
+
/**
|
|
682
|
+
* The default payment method for the contract.
|
|
683
|
+
*/
|
|
684
|
+
default_payment_method?: string;
|
|
685
|
+
}
|
|
686
|
+
interface CollectionSettingsDetails {
|
|
687
|
+
/**
|
|
688
|
+
* The collection method.
|
|
689
|
+
*/
|
|
690
|
+
collection_method: CollectionSettingsDetails.CollectionMethod;
|
|
691
|
+
/**
|
|
692
|
+
* The payment method configuration.
|
|
693
|
+
*/
|
|
694
|
+
payment_method_configuration?: string;
|
|
695
|
+
}
|
|
696
|
+
namespace BillSettingsDetails {
|
|
697
|
+
interface Calculation {
|
|
698
|
+
/**
|
|
699
|
+
* Tax calculation settings.
|
|
700
|
+
*/
|
|
701
|
+
tax?: Calculation.Tax;
|
|
702
|
+
}
|
|
703
|
+
interface Invoice {
|
|
704
|
+
/**
|
|
705
|
+
* The number of time units before the invoice is past due.
|
|
706
|
+
*/
|
|
707
|
+
time_until_due?: Invoice.TimeUntilDue;
|
|
708
|
+
}
|
|
709
|
+
namespace Calculation {
|
|
710
|
+
interface Tax {
|
|
711
|
+
/**
|
|
712
|
+
* The type of tax calculation.
|
|
713
|
+
*/
|
|
714
|
+
type: Tax.Type;
|
|
715
|
+
}
|
|
716
|
+
namespace Tax {
|
|
717
|
+
type Type = 'automatic' | 'manual';
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
namespace Invoice {
|
|
721
|
+
interface TimeUntilDue {
|
|
722
|
+
/**
|
|
723
|
+
* The interval unit.
|
|
724
|
+
*/
|
|
725
|
+
interval: TimeUntilDue.Interval;
|
|
726
|
+
/**
|
|
727
|
+
* The number of intervals.
|
|
728
|
+
*/
|
|
729
|
+
interval_count: number;
|
|
730
|
+
}
|
|
731
|
+
namespace TimeUntilDue {
|
|
732
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
namespace CollectionSettingsDetails {
|
|
737
|
+
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
namespace OneTimeFee {
|
|
741
|
+
interface BillAt {
|
|
742
|
+
/**
|
|
743
|
+
* The timestamp at which the entry should be billed. Required if `type` is `timestamp`.
|
|
744
|
+
*/
|
|
745
|
+
timestamp?: string;
|
|
746
|
+
/**
|
|
747
|
+
* The type of the bill_at.
|
|
748
|
+
*/
|
|
749
|
+
type: BillAt.Type;
|
|
750
|
+
}
|
|
751
|
+
namespace BillAt {
|
|
752
|
+
type Type = 'now' | 'timestamp';
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
namespace PricingLine {
|
|
756
|
+
interface EndsAt {
|
|
757
|
+
/**
|
|
758
|
+
* The timestamp when the item ends. Required if `type` is `timestamp`.
|
|
759
|
+
*/
|
|
760
|
+
timestamp?: string;
|
|
761
|
+
/**
|
|
762
|
+
* The type of the ends_at.
|
|
763
|
+
*/
|
|
764
|
+
type: EndsAt.Type;
|
|
765
|
+
}
|
|
766
|
+
interface Pricing {
|
|
767
|
+
/**
|
|
768
|
+
* V1 price details. Required if `type` is `price`.
|
|
769
|
+
*/
|
|
770
|
+
price_details?: Pricing.PriceDetails;
|
|
771
|
+
/**
|
|
772
|
+
* The type of pricing.
|
|
773
|
+
*/
|
|
774
|
+
type: 'price';
|
|
775
|
+
}
|
|
776
|
+
interface StartsAt {
|
|
777
|
+
/**
|
|
778
|
+
* The timestamp when the item starts. Required if `type` is `timestamp`.
|
|
779
|
+
*/
|
|
780
|
+
timestamp?: string;
|
|
781
|
+
/**
|
|
782
|
+
* The type of the starts_at.
|
|
783
|
+
*/
|
|
784
|
+
type: StartsAt.Type;
|
|
785
|
+
}
|
|
786
|
+
namespace EndsAt {
|
|
787
|
+
type Type = 'contract_end' | 'timestamp';
|
|
788
|
+
}
|
|
789
|
+
namespace Pricing {
|
|
790
|
+
interface PriceDetails {
|
|
791
|
+
/**
|
|
792
|
+
* The ID of the V1 price.
|
|
793
|
+
*/
|
|
794
|
+
price: string;
|
|
795
|
+
/**
|
|
796
|
+
* Pricing overrides embedded directly on this pricing line.
|
|
797
|
+
*/
|
|
798
|
+
pricing_overrides?: Array<PriceDetails.PricingOverride>;
|
|
799
|
+
/**
|
|
800
|
+
* Quantity changes for the pricing line. For now, at most one entry is allowed.
|
|
801
|
+
* A quantity change clears all future quantity changes on this pricing line.
|
|
802
|
+
*/
|
|
803
|
+
quantity_changes?: Array<PriceDetails.QuantityChange>;
|
|
804
|
+
}
|
|
805
|
+
namespace PriceDetails {
|
|
806
|
+
interface PricingOverride {
|
|
807
|
+
/**
|
|
808
|
+
* When the override ends. Defaults to the pricing line's end if not specified.
|
|
809
|
+
*/
|
|
810
|
+
ends_at?: PricingOverride.EndsAt;
|
|
811
|
+
/**
|
|
812
|
+
* A user-provided lookup key to reference this override.
|
|
813
|
+
*/
|
|
814
|
+
lookup_key?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Set of key-value pairs that you can attach to an object.
|
|
817
|
+
*/
|
|
818
|
+
metadata?: MetadataParam;
|
|
819
|
+
/**
|
|
820
|
+
* Parameters for the overwrite_price override. Required if `type` is `overwrite_price`.
|
|
821
|
+
*/
|
|
822
|
+
overwrite_price?: PricingOverride.OverwritePrice;
|
|
823
|
+
/**
|
|
824
|
+
* The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
|
|
825
|
+
*/
|
|
826
|
+
priority?: number;
|
|
827
|
+
/**
|
|
828
|
+
* When the override starts. Defaults to the pricing line's start if not specified.
|
|
829
|
+
*/
|
|
830
|
+
starts_at?: PricingOverride.StartsAt;
|
|
831
|
+
/**
|
|
832
|
+
* The type of override. Currently only `overwrite_price` is supported.
|
|
833
|
+
*/
|
|
834
|
+
type: 'overwrite_price';
|
|
835
|
+
}
|
|
836
|
+
interface QuantityChange {
|
|
837
|
+
/**
|
|
838
|
+
* When this quantity change takes effect.
|
|
839
|
+
*/
|
|
840
|
+
effective_at: QuantityChange.EffectiveAt;
|
|
841
|
+
/**
|
|
842
|
+
* The quantity to set.
|
|
843
|
+
*/
|
|
844
|
+
set: Decimal;
|
|
845
|
+
}
|
|
846
|
+
namespace PricingOverride {
|
|
847
|
+
interface EndsAt {
|
|
848
|
+
/**
|
|
849
|
+
* The timestamp when the item ends. Required if `type` is `timestamp`.
|
|
850
|
+
*/
|
|
851
|
+
timestamp?: string;
|
|
852
|
+
/**
|
|
853
|
+
* The type of the ends_at.
|
|
854
|
+
*/
|
|
855
|
+
type: EndsAt.Type;
|
|
856
|
+
}
|
|
857
|
+
interface OverwritePrice {
|
|
858
|
+
/**
|
|
859
|
+
* Defines whether the tiered price should be graduated or volume-based.
|
|
860
|
+
*/
|
|
861
|
+
tiering_mode?: OverwritePrice.TieringMode;
|
|
862
|
+
/**
|
|
863
|
+
* Each element represents a pricing tier.
|
|
864
|
+
*/
|
|
865
|
+
tiers?: Array<OverwritePrice.Tier>;
|
|
866
|
+
/**
|
|
867
|
+
* The per-unit amount to be charged, represented as a decimal string in minor currency units.
|
|
868
|
+
*/
|
|
869
|
+
unit_amount?: string;
|
|
870
|
+
}
|
|
871
|
+
interface StartsAt {
|
|
872
|
+
/**
|
|
873
|
+
* The timestamp when the item starts. Required if `type` is `timestamp`.
|
|
874
|
+
*/
|
|
875
|
+
timestamp?: string;
|
|
876
|
+
/**
|
|
877
|
+
* The type of the starts_at.
|
|
878
|
+
*/
|
|
879
|
+
type: StartsAt.Type;
|
|
880
|
+
}
|
|
881
|
+
namespace EndsAt {
|
|
882
|
+
type Type = 'contract_end' | 'timestamp';
|
|
883
|
+
}
|
|
884
|
+
namespace OverwritePrice {
|
|
885
|
+
type TieringMode = 'graduated' | 'volume';
|
|
886
|
+
interface Tier {
|
|
887
|
+
/**
|
|
888
|
+
* Price for the entire tier, represented as a decimal string in minor currency units.
|
|
889
|
+
*/
|
|
890
|
+
flat_amount?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Per-unit price for units included in this tier, represented as a decimal string in minor currency units.
|
|
893
|
+
*/
|
|
894
|
+
unit_amount?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Up to and including this quantity will be contained in the tier.
|
|
897
|
+
*/
|
|
898
|
+
up_to_decimal?: Decimal;
|
|
899
|
+
/**
|
|
900
|
+
* No upper bound to this tier.
|
|
901
|
+
*/
|
|
902
|
+
up_to_inf?: 'inf';
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
namespace StartsAt {
|
|
906
|
+
type Type = 'contract_start' | 'timestamp';
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
namespace QuantityChange {
|
|
910
|
+
interface EffectiveAt {
|
|
911
|
+
/**
|
|
912
|
+
* The timestamp for the effective at.
|
|
913
|
+
*/
|
|
914
|
+
timestamp?: string;
|
|
915
|
+
/**
|
|
916
|
+
* The type of the effective at.
|
|
917
|
+
*/
|
|
918
|
+
type: 'timestamp';
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
namespace StartsAt {
|
|
924
|
+
type Type = 'contract_start' | 'timestamp';
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
namespace PricingOverride {
|
|
928
|
+
interface EndsAt {
|
|
929
|
+
/**
|
|
930
|
+
* The timestamp when the item ends. Required if `type` is `timestamp`.
|
|
931
|
+
*/
|
|
932
|
+
timestamp?: string;
|
|
933
|
+
/**
|
|
934
|
+
* The type of the ends_at.
|
|
935
|
+
*/
|
|
936
|
+
type: EndsAt.Type;
|
|
937
|
+
}
|
|
938
|
+
interface Multiplier {
|
|
939
|
+
/**
|
|
940
|
+
* Criteria determining which rates the multiplier applies to.
|
|
941
|
+
*/
|
|
942
|
+
criteria?: Array<Multiplier.Criterion>;
|
|
943
|
+
/**
|
|
944
|
+
* The multiplier factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
|
|
945
|
+
*/
|
|
946
|
+
factor: string;
|
|
947
|
+
}
|
|
948
|
+
interface StartsAt {
|
|
949
|
+
/**
|
|
950
|
+
* The timestamp when the item starts. Required if `type` is `timestamp`.
|
|
951
|
+
*/
|
|
952
|
+
timestamp?: string;
|
|
953
|
+
/**
|
|
954
|
+
* The type of the starts_at.
|
|
955
|
+
*/
|
|
956
|
+
type: StartsAt.Type;
|
|
957
|
+
}
|
|
958
|
+
namespace EndsAt {
|
|
959
|
+
type Type = 'contract_end' | 'timestamp';
|
|
960
|
+
}
|
|
961
|
+
namespace Multiplier {
|
|
962
|
+
interface Criterion {
|
|
963
|
+
/**
|
|
964
|
+
* Filter by pricing line IDs.
|
|
965
|
+
*/
|
|
966
|
+
pricing_line_ids?: Array<string>;
|
|
967
|
+
/**
|
|
968
|
+
* Filter by pricing line lookup keys.
|
|
969
|
+
*/
|
|
970
|
+
pricing_line_lookup_keys?: Array<string>;
|
|
971
|
+
/**
|
|
972
|
+
* Whether to include or exclude items matching these criteria.
|
|
973
|
+
*/
|
|
974
|
+
type: Criterion.Type;
|
|
975
|
+
}
|
|
976
|
+
namespace Criterion {
|
|
977
|
+
type Type = 'exclude' | 'include';
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
namespace StartsAt {
|
|
981
|
+
type Type = 'contract_start' | 'timestamp';
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
export declare namespace V2 {
|
|
988
|
+
namespace Billing {
|
|
989
|
+
interface ContractRetrieveParams {
|
|
990
|
+
/**
|
|
991
|
+
* Additional fields to include in the response.
|
|
992
|
+
*/
|
|
993
|
+
include?: Array<ContractRetrieveParams.Include>;
|
|
994
|
+
}
|
|
995
|
+
namespace ContractRetrieveParams {
|
|
996
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
export declare namespace V2 {
|
|
1001
|
+
namespace Billing {
|
|
1002
|
+
interface ContractUpdateParams {
|
|
1003
|
+
/**
|
|
1004
|
+
* Additional fields to include in the response.
|
|
1005
|
+
*/
|
|
1006
|
+
include?: Array<ContractUpdateParams.Include>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Pricing line actions to apply.
|
|
1009
|
+
*/
|
|
1010
|
+
pricing_line_actions?: Array<ContractUpdateParams.PricingLineAction>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Pricing override actions to apply.
|
|
1013
|
+
*/
|
|
1014
|
+
pricing_override_actions?: Array<ContractUpdateParams.PricingOverrideAction>;
|
|
1015
|
+
}
|
|
1016
|
+
namespace ContractUpdateParams {
|
|
1017
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
1018
|
+
interface PricingLineAction {
|
|
1019
|
+
/**
|
|
1020
|
+
* Parameters for adding a pricing line.
|
|
1021
|
+
*/
|
|
1022
|
+
add?: PricingLineAction.Add;
|
|
1023
|
+
/**
|
|
1024
|
+
* Parameters for removing a pricing line.
|
|
1025
|
+
*/
|
|
1026
|
+
remove?: PricingLineAction.Remove;
|
|
1027
|
+
/**
|
|
1028
|
+
* The type of pricing line action.
|
|
1029
|
+
*/
|
|
1030
|
+
type: PricingLineAction.Type;
|
|
1031
|
+
/**
|
|
1032
|
+
* Parameters for updating a pricing line.
|
|
1033
|
+
*/
|
|
1034
|
+
update?: PricingLineAction.Update;
|
|
1035
|
+
}
|
|
1036
|
+
interface PricingOverrideAction {
|
|
1037
|
+
/**
|
|
1038
|
+
* Parameters for adding a pricing override.
|
|
1039
|
+
*/
|
|
1040
|
+
add?: PricingOverrideAction.Add;
|
|
1041
|
+
/**
|
|
1042
|
+
* Parameters for removing a pricing override.
|
|
1043
|
+
*/
|
|
1044
|
+
remove?: PricingOverrideAction.Remove;
|
|
1045
|
+
/**
|
|
1046
|
+
* The type of pricing override action.
|
|
1047
|
+
*/
|
|
1048
|
+
type: PricingOverrideAction.Type;
|
|
1049
|
+
/**
|
|
1050
|
+
* Parameters for updating a pricing override.
|
|
1051
|
+
*/
|
|
1052
|
+
update?: PricingOverrideAction.Update;
|
|
1053
|
+
}
|
|
1054
|
+
namespace PricingLineAction {
|
|
1055
|
+
interface Add {
|
|
1056
|
+
/**
|
|
1057
|
+
* The end time for the pricing line.
|
|
1058
|
+
*/
|
|
1059
|
+
ends_at: Add.EndsAt;
|
|
1060
|
+
/**
|
|
1061
|
+
* A lookup key for the pricing line.
|
|
1062
|
+
*/
|
|
1063
|
+
lookup_key?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Metadata for the pricing line.
|
|
1066
|
+
*/
|
|
1067
|
+
metadata?: MetadataParam;
|
|
1068
|
+
/**
|
|
1069
|
+
* The pricing configuration for the pricing line.
|
|
1070
|
+
*/
|
|
1071
|
+
pricing: Add.Pricing;
|
|
1072
|
+
/**
|
|
1073
|
+
* The start time for the pricing line.
|
|
1074
|
+
*/
|
|
1075
|
+
starts_at: Add.StartsAt;
|
|
1076
|
+
}
|
|
1077
|
+
interface Remove {
|
|
1078
|
+
/**
|
|
1079
|
+
* The ID of the pricing line to remove.
|
|
1080
|
+
*/
|
|
1081
|
+
id: string;
|
|
1082
|
+
}
|
|
1083
|
+
type Type = 'add' | 'remove' | 'update';
|
|
1084
|
+
interface Update {
|
|
1085
|
+
/**
|
|
1086
|
+
* The updated end time for the pricing line.
|
|
1087
|
+
*/
|
|
1088
|
+
ends_at?: Update.EndsAt;
|
|
1089
|
+
/**
|
|
1090
|
+
* The ID of the pricing line.
|
|
1091
|
+
*/
|
|
1092
|
+
id: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Pricing updates for the pricing line (quantity changes and pricing override actions).
|
|
1095
|
+
*/
|
|
1096
|
+
pricing?: Update.Pricing;
|
|
1097
|
+
/**
|
|
1098
|
+
* The updated start time for the pricing line.
|
|
1099
|
+
*/
|
|
1100
|
+
starts_at?: Update.StartsAt;
|
|
1101
|
+
}
|
|
1102
|
+
namespace Add {
|
|
1103
|
+
interface EndsAt {
|
|
1104
|
+
/**
|
|
1105
|
+
* The timestamp when the item ends.
|
|
1106
|
+
*/
|
|
1107
|
+
timestamp?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* The type of end time to apply.
|
|
1110
|
+
*/
|
|
1111
|
+
type: EndsAt.Type;
|
|
1112
|
+
}
|
|
1113
|
+
interface Pricing {
|
|
1114
|
+
/**
|
|
1115
|
+
* V1 price details. Required if `type` is `price`.
|
|
1116
|
+
*/
|
|
1117
|
+
price_details?: Pricing.PriceDetails;
|
|
1118
|
+
/**
|
|
1119
|
+
* The type of pricing.
|
|
1120
|
+
*/
|
|
1121
|
+
type: 'price';
|
|
1122
|
+
}
|
|
1123
|
+
interface StartsAt {
|
|
1124
|
+
/**
|
|
1125
|
+
* The timestamp when the item starts.
|
|
1126
|
+
*/
|
|
1127
|
+
timestamp?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* The type of start time to apply.
|
|
1130
|
+
*/
|
|
1131
|
+
type: StartsAt.Type;
|
|
1132
|
+
}
|
|
1133
|
+
namespace EndsAt {
|
|
1134
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1135
|
+
}
|
|
1136
|
+
namespace Pricing {
|
|
1137
|
+
interface PriceDetails {
|
|
1138
|
+
/**
|
|
1139
|
+
* The ID of the V1 price.
|
|
1140
|
+
*/
|
|
1141
|
+
price: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Pricing overrides embedded directly on this pricing line.
|
|
1144
|
+
*/
|
|
1145
|
+
pricing_overrides?: Array<PriceDetails.PricingOverride>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Quantity changes for the pricing line. For now, at most one entry is allowed.
|
|
1148
|
+
* A quantity change clears all future quantity changes on this pricing line.
|
|
1149
|
+
*/
|
|
1150
|
+
quantity_changes?: Array<PriceDetails.QuantityChange>;
|
|
1151
|
+
}
|
|
1152
|
+
namespace PriceDetails {
|
|
1153
|
+
interface PricingOverride {
|
|
1154
|
+
/**
|
|
1155
|
+
* When the override ends. Defaults to the pricing line's end if not specified.
|
|
1156
|
+
*/
|
|
1157
|
+
ends_at?: PricingOverride.EndsAt;
|
|
1158
|
+
/**
|
|
1159
|
+
* A user-provided lookup key to reference this override.
|
|
1160
|
+
*/
|
|
1161
|
+
lookup_key?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Set of key-value pairs that you can attach to an object.
|
|
1164
|
+
*/
|
|
1165
|
+
metadata?: MetadataParam;
|
|
1166
|
+
/**
|
|
1167
|
+
* Parameters for the overwrite_price override. Required if `type` is `overwrite_price`.
|
|
1168
|
+
*/
|
|
1169
|
+
overwrite_price?: PricingOverride.OverwritePrice;
|
|
1170
|
+
/**
|
|
1171
|
+
* The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
|
|
1172
|
+
*/
|
|
1173
|
+
priority?: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* When the override starts. Defaults to the pricing line's start if not specified.
|
|
1176
|
+
*/
|
|
1177
|
+
starts_at?: PricingOverride.StartsAt;
|
|
1178
|
+
/**
|
|
1179
|
+
* The type of override. Currently only `overwrite_price` is supported.
|
|
1180
|
+
*/
|
|
1181
|
+
type: 'overwrite_price';
|
|
1182
|
+
}
|
|
1183
|
+
interface QuantityChange {
|
|
1184
|
+
/**
|
|
1185
|
+
* When this quantity change takes effect.
|
|
1186
|
+
*/
|
|
1187
|
+
effective_at: QuantityChange.EffectiveAt;
|
|
1188
|
+
/**
|
|
1189
|
+
* The quantity to set.
|
|
1190
|
+
*/
|
|
1191
|
+
set: Decimal;
|
|
1192
|
+
}
|
|
1193
|
+
namespace PricingOverride {
|
|
1194
|
+
interface EndsAt {
|
|
1195
|
+
/**
|
|
1196
|
+
* The timestamp when the item ends. Required if `type` is `timestamp`.
|
|
1197
|
+
*/
|
|
1198
|
+
timestamp?: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* The type of the ends_at.
|
|
1201
|
+
*/
|
|
1202
|
+
type: EndsAt.Type;
|
|
1203
|
+
}
|
|
1204
|
+
interface OverwritePrice {
|
|
1205
|
+
/**
|
|
1206
|
+
* Defines whether the tiered price should be graduated or volume-based.
|
|
1207
|
+
*/
|
|
1208
|
+
tiering_mode?: OverwritePrice.TieringMode;
|
|
1209
|
+
/**
|
|
1210
|
+
* Each element represents a pricing tier.
|
|
1211
|
+
*/
|
|
1212
|
+
tiers?: Array<OverwritePrice.Tier>;
|
|
1213
|
+
/**
|
|
1214
|
+
* The per-unit amount to be charged, represented as a decimal string in minor currency units.
|
|
1215
|
+
*/
|
|
1216
|
+
unit_amount?: string;
|
|
1217
|
+
}
|
|
1218
|
+
interface StartsAt {
|
|
1219
|
+
/**
|
|
1220
|
+
* The timestamp when the item starts. Required if `type` is `timestamp`.
|
|
1221
|
+
*/
|
|
1222
|
+
timestamp?: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* The type of the starts_at.
|
|
1225
|
+
*/
|
|
1226
|
+
type: StartsAt.Type;
|
|
1227
|
+
}
|
|
1228
|
+
namespace EndsAt {
|
|
1229
|
+
type Type = 'contract_end' | 'timestamp';
|
|
1230
|
+
}
|
|
1231
|
+
namespace OverwritePrice {
|
|
1232
|
+
type TieringMode = 'graduated' | 'volume';
|
|
1233
|
+
interface Tier {
|
|
1234
|
+
/**
|
|
1235
|
+
* Price for the entire tier, represented as a decimal string in minor currency units.
|
|
1236
|
+
*/
|
|
1237
|
+
flat_amount?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* Per-unit price for units included in this tier, represented as a decimal string in minor currency units.
|
|
1240
|
+
*/
|
|
1241
|
+
unit_amount?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Up to and including this quantity will be contained in the tier.
|
|
1244
|
+
*/
|
|
1245
|
+
up_to_decimal?: Decimal;
|
|
1246
|
+
/**
|
|
1247
|
+
* No upper bound to this tier.
|
|
1248
|
+
*/
|
|
1249
|
+
up_to_inf?: 'inf';
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
namespace StartsAt {
|
|
1253
|
+
type Type = 'contract_start' | 'timestamp';
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
namespace QuantityChange {
|
|
1257
|
+
interface EffectiveAt {
|
|
1258
|
+
/**
|
|
1259
|
+
* The timestamp for the effective at.
|
|
1260
|
+
*/
|
|
1261
|
+
timestamp?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* The type of the effective at.
|
|
1264
|
+
*/
|
|
1265
|
+
type: 'timestamp';
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
namespace StartsAt {
|
|
1271
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
namespace Update {
|
|
1275
|
+
interface EndsAt {
|
|
1276
|
+
/**
|
|
1277
|
+
* The timestamp when the item ends.
|
|
1278
|
+
*/
|
|
1279
|
+
timestamp?: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* The type of end time to apply.
|
|
1282
|
+
*/
|
|
1283
|
+
type: EndsAt.Type;
|
|
1284
|
+
}
|
|
1285
|
+
interface Pricing {
|
|
1286
|
+
/**
|
|
1287
|
+
* V1 price details. Present when the pricing line type is `price`.
|
|
1288
|
+
*/
|
|
1289
|
+
price_details?: Pricing.PriceDetails;
|
|
1290
|
+
}
|
|
1291
|
+
interface StartsAt {
|
|
1292
|
+
/**
|
|
1293
|
+
* The timestamp when the item starts.
|
|
1294
|
+
*/
|
|
1295
|
+
timestamp?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* The type of start time to apply.
|
|
1298
|
+
*/
|
|
1299
|
+
type: StartsAt.Type;
|
|
1300
|
+
}
|
|
1301
|
+
namespace EndsAt {
|
|
1302
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1303
|
+
}
|
|
1304
|
+
namespace Pricing {
|
|
1305
|
+
interface PriceDetails {
|
|
1306
|
+
/**
|
|
1307
|
+
* Pricing override actions to apply to the overrides embedded on this pricing line.
|
|
1308
|
+
*/
|
|
1309
|
+
pricing_override_actions?: Array<PriceDetails.PricingOverrideAction>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Quantity changes for the pricing line. Setting this clears all future quantity changes.
|
|
1312
|
+
*/
|
|
1313
|
+
quantity_changes?: Array<PriceDetails.QuantityChange>;
|
|
1314
|
+
}
|
|
1315
|
+
namespace PriceDetails {
|
|
1316
|
+
interface PricingOverrideAction {
|
|
1317
|
+
/**
|
|
1318
|
+
* Parameters for adding a pricing line override.
|
|
1319
|
+
*/
|
|
1320
|
+
add?: PricingOverrideAction.Add;
|
|
1321
|
+
/**
|
|
1322
|
+
* Parameters for removing a pricing line override.
|
|
1323
|
+
*/
|
|
1324
|
+
remove?: PricingOverrideAction.Remove;
|
|
1325
|
+
/**
|
|
1326
|
+
* The type of pricing line override action.
|
|
1327
|
+
*/
|
|
1328
|
+
type: PricingOverrideAction.Type;
|
|
1329
|
+
/**
|
|
1330
|
+
* Parameters for updating a pricing line override.
|
|
1331
|
+
*/
|
|
1332
|
+
update?: PricingOverrideAction.Update;
|
|
1333
|
+
}
|
|
1334
|
+
interface QuantityChange {
|
|
1335
|
+
/**
|
|
1336
|
+
* When this quantity change takes effect.
|
|
1337
|
+
*/
|
|
1338
|
+
effective_at: QuantityChange.EffectiveAt;
|
|
1339
|
+
/**
|
|
1340
|
+
* The quantity to set.
|
|
1341
|
+
*/
|
|
1342
|
+
set: Decimal;
|
|
1343
|
+
}
|
|
1344
|
+
namespace PricingOverrideAction {
|
|
1345
|
+
interface Add {
|
|
1346
|
+
/**
|
|
1347
|
+
* The end time for the override.
|
|
1348
|
+
*/
|
|
1349
|
+
ends_at: Add.EndsAt;
|
|
1350
|
+
/**
|
|
1351
|
+
* A lookup key for the override.
|
|
1352
|
+
*/
|
|
1353
|
+
lookup_key?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* Set of key-value pairs that you can attach to an object.
|
|
1356
|
+
*/
|
|
1357
|
+
metadata?: MetadataParam;
|
|
1358
|
+
/**
|
|
1359
|
+
* Parameters for an overwrite_price override. Required if `type` is `overwrite_price`.
|
|
1360
|
+
*/
|
|
1361
|
+
overwrite_price?: Add.OverwritePrice;
|
|
1362
|
+
/**
|
|
1363
|
+
* The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
|
|
1364
|
+
*/
|
|
1365
|
+
priority?: number;
|
|
1366
|
+
/**
|
|
1367
|
+
* The start time for the override.
|
|
1368
|
+
*/
|
|
1369
|
+
starts_at: Add.StartsAt;
|
|
1370
|
+
/**
|
|
1371
|
+
* The type of override to add.
|
|
1372
|
+
*/
|
|
1373
|
+
type: 'overwrite_price';
|
|
1374
|
+
}
|
|
1375
|
+
interface Remove {
|
|
1376
|
+
/**
|
|
1377
|
+
* The ID of the pricing line override to remove.
|
|
1378
|
+
*/
|
|
1379
|
+
id?: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* A lookup key for the override to remove.
|
|
1382
|
+
*/
|
|
1383
|
+
lookup_key?: string;
|
|
1384
|
+
}
|
|
1385
|
+
type Type = 'add' | 'remove' | 'update';
|
|
1386
|
+
interface Update {
|
|
1387
|
+
/**
|
|
1388
|
+
* The updated end time for the override.
|
|
1389
|
+
*/
|
|
1390
|
+
ends_at?: Update.EndsAt;
|
|
1391
|
+
/**
|
|
1392
|
+
* The ID of the pricing line override to update.
|
|
1393
|
+
*/
|
|
1394
|
+
id?: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* A lookup key for the override to update.
|
|
1397
|
+
*/
|
|
1398
|
+
lookup_key?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Set of key-value pairs that you can attach to an object.
|
|
1401
|
+
*/
|
|
1402
|
+
metadata?: MetadataParam;
|
|
1403
|
+
/**
|
|
1404
|
+
* The updated start time for the override.
|
|
1405
|
+
*/
|
|
1406
|
+
starts_at?: Update.StartsAt;
|
|
1407
|
+
}
|
|
1408
|
+
namespace Add {
|
|
1409
|
+
interface EndsAt {
|
|
1410
|
+
/**
|
|
1411
|
+
* The timestamp when the item ends.
|
|
1412
|
+
*/
|
|
1413
|
+
timestamp?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* The type of end time to apply.
|
|
1416
|
+
*/
|
|
1417
|
+
type: EndsAt.Type;
|
|
1418
|
+
}
|
|
1419
|
+
interface OverwritePrice {
|
|
1420
|
+
/**
|
|
1421
|
+
* Defines whether the tiered price should be graduated or volume-based.
|
|
1422
|
+
*/
|
|
1423
|
+
tiering_mode?: OverwritePrice.TieringMode;
|
|
1424
|
+
/**
|
|
1425
|
+
* Each element represents a pricing tier.
|
|
1426
|
+
*/
|
|
1427
|
+
tiers?: Array<OverwritePrice.Tier>;
|
|
1428
|
+
/**
|
|
1429
|
+
* The per-unit amount to be charged, represented as a decimal string in minor currency units.
|
|
1430
|
+
*/
|
|
1431
|
+
unit_amount?: string;
|
|
1432
|
+
}
|
|
1433
|
+
interface StartsAt {
|
|
1434
|
+
/**
|
|
1435
|
+
* The timestamp when the item starts.
|
|
1436
|
+
*/
|
|
1437
|
+
timestamp?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* The type of start time to apply.
|
|
1440
|
+
*/
|
|
1441
|
+
type: StartsAt.Type;
|
|
1442
|
+
}
|
|
1443
|
+
namespace EndsAt {
|
|
1444
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1445
|
+
}
|
|
1446
|
+
namespace OverwritePrice {
|
|
1447
|
+
type TieringMode = 'graduated' | 'volume';
|
|
1448
|
+
interface Tier {
|
|
1449
|
+
/**
|
|
1450
|
+
* Price for the entire tier, represented as a decimal string in minor currency units.
|
|
1451
|
+
*/
|
|
1452
|
+
flat_amount?: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* Per-unit price for units included in this tier, represented as a decimal string in minor currency units.
|
|
1455
|
+
*/
|
|
1456
|
+
unit_amount?: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* Up to and including this quantity will be contained in the tier.
|
|
1459
|
+
*/
|
|
1460
|
+
up_to_decimal?: Decimal;
|
|
1461
|
+
/**
|
|
1462
|
+
* No upper bound to this tier.
|
|
1463
|
+
*/
|
|
1464
|
+
up_to_inf?: 'inf';
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
namespace StartsAt {
|
|
1468
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
namespace Update {
|
|
1472
|
+
interface EndsAt {
|
|
1473
|
+
/**
|
|
1474
|
+
* The timestamp when the item ends.
|
|
1475
|
+
*/
|
|
1476
|
+
timestamp?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* The type of end time to apply.
|
|
1479
|
+
*/
|
|
1480
|
+
type: EndsAt.Type;
|
|
1481
|
+
}
|
|
1482
|
+
interface StartsAt {
|
|
1483
|
+
/**
|
|
1484
|
+
* The timestamp when the item starts.
|
|
1485
|
+
*/
|
|
1486
|
+
timestamp?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* The type of start time to apply.
|
|
1489
|
+
*/
|
|
1490
|
+
type: StartsAt.Type;
|
|
1491
|
+
}
|
|
1492
|
+
namespace EndsAt {
|
|
1493
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1494
|
+
}
|
|
1495
|
+
namespace StartsAt {
|
|
1496
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
namespace QuantityChange {
|
|
1501
|
+
interface EffectiveAt {
|
|
1502
|
+
/**
|
|
1503
|
+
* The timestamp for the effective at.
|
|
1504
|
+
*/
|
|
1505
|
+
timestamp?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* The type of the effective at.
|
|
1508
|
+
*/
|
|
1509
|
+
type: 'timestamp';
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
namespace StartsAt {
|
|
1515
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
namespace PricingOverrideAction {
|
|
1520
|
+
interface Add {
|
|
1521
|
+
/**
|
|
1522
|
+
* The end time for the pricing override.
|
|
1523
|
+
*/
|
|
1524
|
+
ends_at: Add.EndsAt;
|
|
1525
|
+
/**
|
|
1526
|
+
* A lookup key for the pricing override.
|
|
1527
|
+
*/
|
|
1528
|
+
lookup_key?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* A multiplier override to add.
|
|
1531
|
+
*/
|
|
1532
|
+
multiplier?: Add.Multiplier;
|
|
1533
|
+
/**
|
|
1534
|
+
* An overwrite price override to add.
|
|
1535
|
+
*/
|
|
1536
|
+
overwrite_price?: Add.OverwritePrice;
|
|
1537
|
+
/**
|
|
1538
|
+
* The priority for the pricing override. The highest priority is 0 and the lowest is 100.
|
|
1539
|
+
*/
|
|
1540
|
+
priority: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* The start time for the pricing override.
|
|
1543
|
+
*/
|
|
1544
|
+
starts_at: Add.StartsAt;
|
|
1545
|
+
/**
|
|
1546
|
+
* The type of pricing override to add.
|
|
1547
|
+
*/
|
|
1548
|
+
type: 'multiplier';
|
|
1549
|
+
}
|
|
1550
|
+
interface Remove {
|
|
1551
|
+
/**
|
|
1552
|
+
* The ID of the pricing override to remove.
|
|
1553
|
+
*/
|
|
1554
|
+
id: string;
|
|
1555
|
+
}
|
|
1556
|
+
type Type = 'add' | 'remove' | 'update';
|
|
1557
|
+
interface Update {
|
|
1558
|
+
/**
|
|
1559
|
+
* The updated end time for the pricing override.
|
|
1560
|
+
*/
|
|
1561
|
+
ends_at?: Update.EndsAt;
|
|
1562
|
+
/**
|
|
1563
|
+
* The ID of the pricing override.
|
|
1564
|
+
*/
|
|
1565
|
+
id: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* The updated start time for the pricing override.
|
|
1568
|
+
*/
|
|
1569
|
+
starts_at?: Update.StartsAt;
|
|
1570
|
+
}
|
|
1571
|
+
namespace Add {
|
|
1572
|
+
interface EndsAt {
|
|
1573
|
+
/**
|
|
1574
|
+
* The timestamp when the item ends.
|
|
1575
|
+
*/
|
|
1576
|
+
timestamp?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* The type of end time to apply.
|
|
1579
|
+
*/
|
|
1580
|
+
type: EndsAt.Type;
|
|
1581
|
+
}
|
|
1582
|
+
interface Multiplier {
|
|
1583
|
+
/**
|
|
1584
|
+
* Criteria determining which rates the multiplier applies to.
|
|
1585
|
+
*/
|
|
1586
|
+
criteria: Array<Multiplier.Criterion>;
|
|
1587
|
+
/**
|
|
1588
|
+
* The multiplier factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
|
|
1589
|
+
*/
|
|
1590
|
+
factor: string;
|
|
1591
|
+
}
|
|
1592
|
+
interface OverwritePrice {
|
|
1593
|
+
/**
|
|
1594
|
+
* Defines whether the tiered price should be graduated or volume-based.
|
|
1595
|
+
*/
|
|
1596
|
+
tiering_mode?: OverwritePrice.TieringMode;
|
|
1597
|
+
/**
|
|
1598
|
+
* Each element represents a pricing tier.
|
|
1599
|
+
*/
|
|
1600
|
+
tiers: Array<OverwritePrice.Tier>;
|
|
1601
|
+
/**
|
|
1602
|
+
* The per-unit amount to be charged, represented as a decimal string in minor currency units.
|
|
1603
|
+
*/
|
|
1604
|
+
unit_amount?: string;
|
|
1605
|
+
}
|
|
1606
|
+
interface StartsAt {
|
|
1607
|
+
/**
|
|
1608
|
+
* The timestamp when the item starts.
|
|
1609
|
+
*/
|
|
1610
|
+
timestamp?: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* The type of start time to apply.
|
|
1613
|
+
*/
|
|
1614
|
+
type: StartsAt.Type;
|
|
1615
|
+
}
|
|
1616
|
+
namespace EndsAt {
|
|
1617
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1618
|
+
}
|
|
1619
|
+
namespace Multiplier {
|
|
1620
|
+
interface Criterion {
|
|
1621
|
+
/**
|
|
1622
|
+
* Filter by pricing line IDs.
|
|
1623
|
+
*/
|
|
1624
|
+
pricing_line_ids?: Array<string>;
|
|
1625
|
+
/**
|
|
1626
|
+
* Filter by pricing line lookup keys.
|
|
1627
|
+
*/
|
|
1628
|
+
pricing_line_lookup_keys?: Array<string>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Whether to include or exclude items matching these criteria.
|
|
1631
|
+
*/
|
|
1632
|
+
type: Criterion.Type;
|
|
1633
|
+
}
|
|
1634
|
+
namespace Criterion {
|
|
1635
|
+
type Type = 'exclude' | 'include';
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
namespace OverwritePrice {
|
|
1639
|
+
type TieringMode = 'graduated' | 'volume';
|
|
1640
|
+
interface Tier {
|
|
1641
|
+
/**
|
|
1642
|
+
* Price for the entire tier, represented as a decimal string in minor currency units.
|
|
1643
|
+
*/
|
|
1644
|
+
flat_amount?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Per-unit price for units included in this tier, represented as a decimal string in minor currency units.
|
|
1647
|
+
*/
|
|
1648
|
+
unit_amount?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Up to and including this quantity will be contained in the tier.
|
|
1651
|
+
*/
|
|
1652
|
+
up_to_decimal?: Decimal;
|
|
1653
|
+
/**
|
|
1654
|
+
* No upper bound to this tier.
|
|
1655
|
+
*/
|
|
1656
|
+
up_to_inf?: 'inf';
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
namespace StartsAt {
|
|
1660
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
namespace Update {
|
|
1664
|
+
interface EndsAt {
|
|
1665
|
+
/**
|
|
1666
|
+
* The timestamp when the item ends.
|
|
1667
|
+
*/
|
|
1668
|
+
timestamp?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* The type of end time to apply.
|
|
1671
|
+
*/
|
|
1672
|
+
type: EndsAt.Type;
|
|
1673
|
+
}
|
|
1674
|
+
interface StartsAt {
|
|
1675
|
+
/**
|
|
1676
|
+
* The timestamp when the item starts.
|
|
1677
|
+
*/
|
|
1678
|
+
timestamp?: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* The type of start time to apply.
|
|
1681
|
+
*/
|
|
1682
|
+
type: StartsAt.Type;
|
|
1683
|
+
}
|
|
1684
|
+
namespace EndsAt {
|
|
1685
|
+
type Type = 'billing_period_end' | 'timestamp';
|
|
1686
|
+
}
|
|
1687
|
+
namespace StartsAt {
|
|
1688
|
+
type Type = 'billing_period_start' | 'timestamp';
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
export declare namespace V2 {
|
|
1696
|
+
namespace Billing {
|
|
1697
|
+
interface ContractListParams {
|
|
1698
|
+
/**
|
|
1699
|
+
* Filter by customer ID.
|
|
1700
|
+
*/
|
|
1701
|
+
customer?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* Additional fields to include in the response.
|
|
1704
|
+
*/
|
|
1705
|
+
include?: Array<ContractListParams.Include>;
|
|
1706
|
+
/**
|
|
1707
|
+
* The limit for the number of results per page.
|
|
1708
|
+
*/
|
|
1709
|
+
limit?: number;
|
|
1710
|
+
}
|
|
1711
|
+
namespace ContractListParams {
|
|
1712
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
export declare namespace V2 {
|
|
1717
|
+
namespace Billing {
|
|
1718
|
+
interface ContractDeleteParams {
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
export declare namespace V2 {
|
|
1723
|
+
namespace Billing {
|
|
1724
|
+
interface ContractActivateParams {
|
|
1725
|
+
/**
|
|
1726
|
+
* Additional fields to include in the response.
|
|
1727
|
+
*/
|
|
1728
|
+
include?: Array<ContractActivateParams.Include>;
|
|
1729
|
+
}
|
|
1730
|
+
namespace ContractActivateParams {
|
|
1731
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
export declare namespace V2 {
|
|
1736
|
+
namespace Billing {
|
|
1737
|
+
interface ContractCancelParams {
|
|
1738
|
+
/**
|
|
1739
|
+
* Per-pricing-line proration behavior overrides. Falls back to `proration_behavior` if
|
|
1740
|
+
* not specified for a given line.
|
|
1741
|
+
*/
|
|
1742
|
+
cancel_pricing_lines?: Array<ContractCancelParams.CancelPricingLine>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Additional fields to include in the response.
|
|
1745
|
+
*/
|
|
1746
|
+
include?: Array<ContractCancelParams.Include>;
|
|
1747
|
+
/**
|
|
1748
|
+
* Top-level proration behavior for the cancellation. Defaults to `prorated` if not set.
|
|
1749
|
+
*/
|
|
1750
|
+
proration_behavior?: ContractCancelParams.ProrationBehavior;
|
|
1751
|
+
}
|
|
1752
|
+
namespace ContractCancelParams {
|
|
1753
|
+
interface CancelPricingLine {
|
|
1754
|
+
/**
|
|
1755
|
+
* The ID of the pricing line.
|
|
1756
|
+
*/
|
|
1757
|
+
id?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* The lookup key of the pricing line.
|
|
1760
|
+
*/
|
|
1761
|
+
lookup_key?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Proration behavior scoped to this pricing line. If not provided, falls back to the
|
|
1764
|
+
* top-level `proration_behavior` on the cancel request. Defaults to `prorated`.
|
|
1765
|
+
*/
|
|
1766
|
+
proration_behavior?: CancelPricingLine.ProrationBehavior;
|
|
1767
|
+
}
|
|
1768
|
+
type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides';
|
|
1769
|
+
type ProrationBehavior = 'none' | 'prorated';
|
|
1770
|
+
namespace CancelPricingLine {
|
|
1771
|
+
type ProrationBehavior = 'none' | 'prorated';
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
}
|