Comparing version 17.7.0-beta.1 to 17.7.0
@@ -5,2 +5,2 @@ "use strict"; | ||
exports.ApiVersion = void 0; | ||
exports.ApiVersion = '2025-01-27.acacia'; | ||
exports.ApiVersion = '2025-02-24.acacia'; |
"use strict"; | ||
// File generated from our OpenAPI spec | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoiceItems = exports.Files = exports.FileLinks = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0; | ||
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Issuing = exports.Identity = exports.GiftCards = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = void 0; | ||
exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.OAuth = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoiceItems = exports.Files = exports.FileLinks = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountLinks = exports.Account = void 0; | ||
exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = void 0; | ||
const ResourceNamespace_js_1 = require("./ResourceNamespace.js"); | ||
@@ -10,3 +10,2 @@ const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js"); | ||
const Alerts_js_1 = require("./resources/Billing/Alerts.js"); | ||
const Associations_js_1 = require("./resources/Tax/Associations.js"); | ||
const Authorizations_js_1 = require("./resources/TestHelpers/Issuing/Authorizations.js"); | ||
@@ -17,4 +16,3 @@ const Authorizations_js_2 = require("./resources/Issuing/Authorizations.js"); | ||
const Cards_js_1 = require("./resources/TestHelpers/Issuing/Cards.js"); | ||
const Cards_js_2 = require("./resources/GiftCards/Cards.js"); | ||
const Cards_js_3 = require("./resources/Issuing/Cards.js"); | ||
const Cards_js_2 = require("./resources/Issuing/Cards.js"); | ||
const Configurations_js_1 = require("./resources/BillingPortal/Configurations.js"); | ||
@@ -28,6 +26,4 @@ const Configurations_js_2 = require("./resources/Terminal/Configurations.js"); | ||
const CreditReversals_js_1 = require("./resources/Treasury/CreditReversals.js"); | ||
const CreditUnderwritingRecords_js_1 = require("./resources/Issuing/CreditUnderwritingRecords.js"); | ||
const Customers_js_1 = require("./resources/TestHelpers/Customers.js"); | ||
const DebitReversals_js_1 = require("./resources/Treasury/DebitReversals.js"); | ||
const DisputeSettlementDetails_js_1 = require("./resources/Issuing/DisputeSettlementDetails.js"); | ||
const Disputes_js_1 = require("./resources/Issuing/Disputes.js"); | ||
@@ -39,10 +35,4 @@ const EarlyFraudWarnings_js_1 = require("./resources/Radar/EarlyFraudWarnings.js"); | ||
const FinancialAccounts_js_1 = require("./resources/Treasury/FinancialAccounts.js"); | ||
const FinancingOffers_js_1 = require("./resources/Capital/FinancingOffers.js"); | ||
const FinancingSummary_js_1 = require("./resources/Capital/FinancingSummary.js"); | ||
const FinancingTransactions_js_1 = require("./resources/Capital/FinancingTransactions.js"); | ||
const Forms_js_1 = require("./resources/Tax/Forms.js"); | ||
const FraudLiabilityDebits_js_1 = require("./resources/Issuing/FraudLiabilityDebits.js"); | ||
const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundTransfers.js"); | ||
const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js"); | ||
const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js"); | ||
const Locations_js_1 = require("./resources/Terminal/Locations.js"); | ||
@@ -65,3 +55,2 @@ const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js"); | ||
const Products_js_1 = require("./resources/Climate/Products.js"); | ||
const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js"); | ||
const Readers_js_1 = require("./resources/TestHelpers/Terminal/Readers.js"); | ||
@@ -90,6 +79,5 @@ const Readers_js_2 = require("./resources/Terminal/Readers.js"); | ||
const Transactions_js_2 = require("./resources/FinancialConnections/Transactions.js"); | ||
const Transactions_js_3 = require("./resources/GiftCards/Transactions.js"); | ||
const Transactions_js_4 = require("./resources/Issuing/Transactions.js"); | ||
const Transactions_js_5 = require("./resources/Tax/Transactions.js"); | ||
const Transactions_js_6 = require("./resources/Treasury/Transactions.js"); | ||
const Transactions_js_3 = require("./resources/Issuing/Transactions.js"); | ||
const Transactions_js_4 = require("./resources/Tax/Transactions.js"); | ||
const Transactions_js_5 = require("./resources/Treasury/Transactions.js"); | ||
const ValueListItems_js_1 = require("./resources/Radar/ValueListItems.js"); | ||
@@ -103,4 +91,2 @@ const ValueLists_js_1 = require("./resources/Radar/ValueLists.js"); | ||
Object.defineProperty(exports, "AccountLinks", { enumerable: true, get: function () { return AccountLinks_js_1.AccountLinks; } }); | ||
var AccountNotices_js_1 = require("./resources/AccountNotices.js"); | ||
Object.defineProperty(exports, "AccountNotices", { enumerable: true, get: function () { return AccountNotices_js_1.AccountNotices; } }); | ||
var AccountSessions_js_1 = require("./resources/AccountSessions.js"); | ||
@@ -152,10 +138,4 @@ Object.defineProperty(exports, "AccountSessions", { enumerable: true, get: function () { return AccountSessions_js_1.AccountSessions; } }); | ||
Object.defineProperty(exports, "Mandates", { enumerable: true, get: function () { return Mandates_js_1.Mandates; } }); | ||
var Margins_js_1 = require("./resources/Margins.js"); | ||
Object.defineProperty(exports, "Margins", { enumerable: true, get: function () { return Margins_js_1.Margins; } }); | ||
var OAuth_js_1 = require("./resources/OAuth.js"); | ||
Object.defineProperty(exports, "OAuth", { enumerable: true, get: function () { return OAuth_js_1.OAuth; } }); | ||
var Orders_js_2 = require("./resources/Orders.js"); | ||
Object.defineProperty(exports, "Orders", { enumerable: true, get: function () { return Orders_js_2.Orders; } }); | ||
var PaymentAttemptRecords_js_1 = require("./resources/PaymentAttemptRecords.js"); | ||
Object.defineProperty(exports, "PaymentAttemptRecords", { enumerable: true, get: function () { return PaymentAttemptRecords_js_1.PaymentAttemptRecords; } }); | ||
var PaymentIntents_js_1 = require("./resources/PaymentIntents.js"); | ||
@@ -171,4 +151,2 @@ Object.defineProperty(exports, "PaymentIntents", { enumerable: true, get: function () { return PaymentIntents_js_1.PaymentIntents; } }); | ||
Object.defineProperty(exports, "PaymentMethods", { enumerable: true, get: function () { return PaymentMethods_js_1.PaymentMethods; } }); | ||
var PaymentRecords_js_1 = require("./resources/PaymentRecords.js"); | ||
Object.defineProperty(exports, "PaymentRecords", { enumerable: true, get: function () { return PaymentRecords_js_1.PaymentRecords; } }); | ||
var Payouts_js_1 = require("./resources/Payouts.js"); | ||
@@ -232,7 +210,2 @@ Object.defineProperty(exports, "Payouts", { enumerable: true, get: function () { return Payouts_js_1.Payouts; } }); | ||
}); | ||
exports.Capital = (0, ResourceNamespace_js_1.resourceNamespace)('capital', { | ||
FinancingOffers: FinancingOffers_js_1.FinancingOffers, | ||
FinancingSummary: FinancingSummary_js_1.FinancingSummary, | ||
FinancingTransactions: FinancingTransactions_js_1.FinancingTransactions, | ||
}); | ||
exports.Checkout = (0, ResourceNamespace_js_1.resourceNamespace)('checkout', { | ||
@@ -252,3 +225,2 @@ Sessions: Sessions_js_2.Sessions, | ||
Accounts: Accounts_js_1.Accounts, | ||
Institutions: Institutions_js_1.Institutions, | ||
Sessions: Sessions_js_3.Sessions, | ||
@@ -260,6 +232,2 @@ Transactions: Transactions_js_2.Transactions, | ||
}); | ||
exports.GiftCards = (0, ResourceNamespace_js_1.resourceNamespace)('giftCards', { | ||
Cards: Cards_js_2.Cards, | ||
Transactions: Transactions_js_3.Transactions, | ||
}); | ||
exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', { | ||
@@ -272,11 +240,8 @@ VerificationReports: VerificationReports_js_1.VerificationReports, | ||
Cardholders: Cardholders_js_1.Cardholders, | ||
Cards: Cards_js_3.Cards, | ||
CreditUnderwritingRecords: CreditUnderwritingRecords_js_1.CreditUnderwritingRecords, | ||
DisputeSettlementDetails: DisputeSettlementDetails_js_1.DisputeSettlementDetails, | ||
Cards: Cards_js_2.Cards, | ||
Disputes: Disputes_js_1.Disputes, | ||
FraudLiabilityDebits: FraudLiabilityDebits_js_1.FraudLiabilityDebits, | ||
PersonalizationDesigns: PersonalizationDesigns_js_2.PersonalizationDesigns, | ||
PhysicalBundles: PhysicalBundles_js_1.PhysicalBundles, | ||
Tokens: Tokens_js_1.Tokens, | ||
Transactions: Transactions_js_4.Transactions, | ||
Transactions: Transactions_js_3.Transactions, | ||
}); | ||
@@ -296,8 +261,6 @@ exports.Radar = (0, ResourceNamespace_js_1.resourceNamespace)('radar', { | ||
exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', { | ||
Associations: Associations_js_1.Associations, | ||
Calculations: Calculations_js_1.Calculations, | ||
Forms: Forms_js_1.Forms, | ||
Registrations: Registrations_js_1.Registrations, | ||
Settings: Settings_js_1.Settings, | ||
Transactions: Transactions_js_5.Transactions, | ||
Transactions: Transactions_js_4.Transactions, | ||
}); | ||
@@ -308,3 +271,2 @@ exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', { | ||
Locations: Locations_js_1.Locations, | ||
ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData, | ||
Readers: Readers_js_2.Readers, | ||
@@ -344,3 +306,3 @@ }); | ||
TransactionEntries: TransactionEntries_js_1.TransactionEntries, | ||
Transactions: Transactions_js_6.Transactions, | ||
Transactions: Transactions_js_5.Transactions, | ||
}); | ||
@@ -347,0 +309,0 @@ exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', { |
@@ -21,7 +21,2 @@ "use strict"; | ||
}), | ||
listInferredBalances: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/financial_connections/accounts/{account}/inferred_balances', | ||
methodType: 'list', | ||
}), | ||
listOwners: stripeMethod({ | ||
@@ -28,0 +23,0 @@ method: 'GET', |
@@ -21,10 +21,2 @@ "use strict"; | ||
}), | ||
attachPayment: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/invoices/{invoice}/attach_payment', | ||
}), | ||
attachPaymentIntent: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/invoices/{invoice}/attach_payment_intent', | ||
}), | ||
createPreview: stripeMethod({ | ||
@@ -43,7 +35,2 @@ method: 'POST', | ||
}), | ||
listPayments: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/invoices/{invoice}/payments', | ||
methodType: 'list', | ||
}), | ||
listUpcomingLines: stripeMethod({ | ||
@@ -63,6 +50,2 @@ method: 'GET', | ||
}), | ||
retrievePayment: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}', | ||
}), | ||
retrieveUpcoming: stripeMethod({ | ||
@@ -69,0 +52,0 @@ method: 'GET', |
@@ -38,6 +38,2 @@ "use strict"; | ||
}), | ||
decrementAuthorization: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/payment_intents/{intent}/decrement_authorization', | ||
}), | ||
incrementAuthorization: stripeMethod({ | ||
@@ -52,6 +48,2 @@ method: 'POST', | ||
}), | ||
triggerAction: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/test/payment_intents/{intent}/trigger_action', | ||
}), | ||
verifyMicrodeposits: stripeMethod({ | ||
@@ -58,0 +50,0 @@ method: 'POST', |
@@ -22,7 +22,2 @@ "use strict"; | ||
}), | ||
listPreviewInvoiceLines: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines', | ||
methodType: 'list', | ||
}), | ||
listComputedUpfrontLineItems: stripeMethod({ | ||
@@ -38,25 +33,2 @@ method: 'GET', | ||
}), | ||
listLines: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/lines', | ||
methodType: 'list', | ||
}), | ||
listPreviewInvoices: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_invoices', | ||
methodType: 'list', | ||
}), | ||
listPreviewSubscriptionSchedules: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_subscription_schedules', | ||
methodType: 'list', | ||
}), | ||
markDraft: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/mark_draft', | ||
}), | ||
markStale: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/mark_stale', | ||
}), | ||
pdf: stripeMethod({ | ||
@@ -68,6 +40,2 @@ method: 'GET', | ||
}), | ||
reestimate: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/reestimate', | ||
}), | ||
}); |
@@ -25,6 +25,2 @@ "use strict"; | ||
}), | ||
amend: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/subscription_schedules/{schedule}/amend', | ||
}), | ||
cancel: stripeMethod({ | ||
@@ -31,0 +27,0 @@ method: 'POST', |
@@ -30,14 +30,2 @@ "use strict"; | ||
}), | ||
collectInputs: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/collect_inputs', | ||
}), | ||
collectPaymentMethod: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/collect_payment_method', | ||
}), | ||
confirmPaymentIntent: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/confirm_payment_intent', | ||
}), | ||
processPaymentIntent: stripeMethod({ | ||
@@ -44,0 +32,0 @@ method: 'POST', |
@@ -39,3 +39,3 @@ "use strict"; | ||
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) { | ||
Stripe.PACKAGE_VERSION = '17.7.0-beta.1'; | ||
Stripe.PACKAGE_VERSION = '17.7.0'; | ||
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)()); | ||
@@ -42,0 +42,0 @@ Stripe.StripeResource = StripeResource_js_1.StripeResource; |
// File generated from our OpenAPI spec | ||
export const ApiVersion = '2025-01-27.acacia'; | ||
export const ApiVersion = '2025-02-24.acacia'; |
@@ -6,3 +6,2 @@ // File generated from our OpenAPI spec | ||
import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js'; | ||
import { Associations as TaxAssociations } from './resources/Tax/Associations.js'; | ||
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js'; | ||
@@ -13,3 +12,2 @@ import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js'; | ||
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js'; | ||
import { Cards as GiftCardsCards } from './resources/GiftCards/Cards.js'; | ||
import { Cards as IssuingCards } from './resources/Issuing/Cards.js'; | ||
@@ -24,6 +22,4 @@ import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js'; | ||
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js'; | ||
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js'; | ||
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js'; | ||
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js'; | ||
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js'; | ||
import { Disputes as IssuingDisputes } from './resources/Issuing/Disputes.js'; | ||
@@ -35,10 +31,4 @@ import { EarlyFraudWarnings as RadarEarlyFraudWarnings } from './resources/Radar/EarlyFraudWarnings.js'; | ||
import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js'; | ||
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js'; | ||
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js'; | ||
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js'; | ||
import { Forms as TaxForms } from './resources/Tax/Forms.js'; | ||
import { FraudLiabilityDebits as IssuingFraudLiabilityDebits } from './resources/Issuing/FraudLiabilityDebits.js'; | ||
import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js'; | ||
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js'; | ||
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js'; | ||
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js'; | ||
@@ -61,3 +51,2 @@ import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js'; | ||
import { Products as ClimateProducts } from './resources/Climate/Products.js'; | ||
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js'; | ||
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js'; | ||
@@ -86,3 +75,2 @@ import { Readers as TerminalReaders } from './resources/Terminal/Readers.js'; | ||
import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js'; | ||
import { Transactions as GiftCardsTransactions } from './resources/GiftCards/Transactions.js'; | ||
import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js'; | ||
@@ -97,3 +85,2 @@ import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js'; | ||
export { AccountLinks } from './resources/AccountLinks.js'; | ||
export { AccountNotices } from './resources/AccountNotices.js'; | ||
export { AccountSessions } from './resources/AccountSessions.js'; | ||
@@ -122,6 +109,3 @@ export { Accounts } from './resources/Accounts.js'; | ||
export { Mandates } from './resources/Mandates.js'; | ||
export { Margins } from './resources/Margins.js'; | ||
export { OAuth } from './resources/OAuth.js'; | ||
export { Orders } from './resources/Orders.js'; | ||
export { PaymentAttemptRecords } from './resources/PaymentAttemptRecords.js'; | ||
export { PaymentIntents } from './resources/PaymentIntents.js'; | ||
@@ -132,3 +116,2 @@ export { PaymentLinks } from './resources/PaymentLinks.js'; | ||
export { PaymentMethods } from './resources/PaymentMethods.js'; | ||
export { PaymentRecords } from './resources/PaymentRecords.js'; | ||
export { Payouts } from './resources/Payouts.js'; | ||
@@ -170,7 +153,2 @@ export { Plans } from './resources/Plans.js'; | ||
}); | ||
export const Capital = resourceNamespace('capital', { | ||
FinancingOffers: CapitalFinancingOffers, | ||
FinancingSummary: CapitalFinancingSummary, | ||
FinancingTransactions: CapitalFinancingTransactions, | ||
}); | ||
export const Checkout = resourceNamespace('checkout', { | ||
@@ -190,3 +168,2 @@ Sessions: CheckoutSessions, | ||
Accounts: FinancialConnectionsAccounts, | ||
Institutions: FinancialConnectionsInstitutions, | ||
Sessions: FinancialConnectionsSessions, | ||
@@ -198,6 +175,2 @@ Transactions: FinancialConnectionsTransactions, | ||
}); | ||
export const GiftCards = resourceNamespace('giftCards', { | ||
Cards: GiftCardsCards, | ||
Transactions: GiftCardsTransactions, | ||
}); | ||
export const Identity = resourceNamespace('identity', { | ||
@@ -211,6 +184,3 @@ VerificationReports: IdentityVerificationReports, | ||
Cards: IssuingCards, | ||
CreditUnderwritingRecords: IssuingCreditUnderwritingRecords, | ||
DisputeSettlementDetails: IssuingDisputeSettlementDetails, | ||
Disputes: IssuingDisputes, | ||
FraudLiabilityDebits: IssuingFraudLiabilityDebits, | ||
PersonalizationDesigns: IssuingPersonalizationDesigns, | ||
@@ -234,5 +204,3 @@ PhysicalBundles: IssuingPhysicalBundles, | ||
export const Tax = resourceNamespace('tax', { | ||
Associations: TaxAssociations, | ||
Calculations: TaxCalculations, | ||
Forms: TaxForms, | ||
Registrations: TaxRegistrations, | ||
@@ -246,3 +214,2 @@ Settings: TaxSettings, | ||
Locations: TerminalLocations, | ||
ReaderCollectedData: TerminalReaderCollectedData, | ||
Readers: TerminalReaders, | ||
@@ -249,0 +216,0 @@ }); |
@@ -18,7 +18,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
listInferredBalances: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/financial_connections/accounts/{account}/inferred_balances', | ||
methodType: 'list', | ||
}), | ||
listOwners: stripeMethod({ | ||
@@ -25,0 +20,0 @@ method: 'GET', |
@@ -18,10 +18,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
attachPayment: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/invoices/{invoice}/attach_payment', | ||
}), | ||
attachPaymentIntent: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/invoices/{invoice}/attach_payment_intent', | ||
}), | ||
createPreview: stripeMethod({ | ||
@@ -40,7 +32,2 @@ method: 'POST', | ||
}), | ||
listPayments: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/invoices/{invoice}/payments', | ||
methodType: 'list', | ||
}), | ||
listUpcomingLines: stripeMethod({ | ||
@@ -60,6 +47,2 @@ method: 'GET', | ||
}), | ||
retrievePayment: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/invoices/{invoice}/payments/{invoice_payment}', | ||
}), | ||
retrieveUpcoming: stripeMethod({ | ||
@@ -66,0 +49,0 @@ method: 'GET', |
@@ -35,6 +35,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
decrementAuthorization: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/payment_intents/{intent}/decrement_authorization', | ||
}), | ||
incrementAuthorization: stripeMethod({ | ||
@@ -49,6 +45,2 @@ method: 'POST', | ||
}), | ||
triggerAction: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/test/payment_intents/{intent}/trigger_action', | ||
}), | ||
verifyMicrodeposits: stripeMethod({ | ||
@@ -55,0 +47,0 @@ method: 'POST', |
@@ -19,7 +19,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
listPreviewInvoiceLines: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_invoices/{preview_invoice}/lines', | ||
methodType: 'list', | ||
}), | ||
listComputedUpfrontLineItems: stripeMethod({ | ||
@@ -35,25 +30,2 @@ method: 'GET', | ||
}), | ||
listLines: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/lines', | ||
methodType: 'list', | ||
}), | ||
listPreviewInvoices: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_invoices', | ||
methodType: 'list', | ||
}), | ||
listPreviewSubscriptionSchedules: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v1/quotes/{quote}/preview_subscription_schedules', | ||
methodType: 'list', | ||
}), | ||
markDraft: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/mark_draft', | ||
}), | ||
markStale: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/mark_stale', | ||
}), | ||
pdf: stripeMethod({ | ||
@@ -65,6 +37,2 @@ method: 'GET', | ||
}), | ||
reestimate: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/quotes/{quote}/reestimate', | ||
}), | ||
}); |
@@ -22,6 +22,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
amend: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/subscription_schedules/{schedule}/amend', | ||
}), | ||
cancel: stripeMethod({ | ||
@@ -28,0 +24,0 @@ method: 'POST', |
@@ -27,14 +27,2 @@ // File generated from our OpenAPI spec | ||
}), | ||
collectInputs: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/collect_inputs', | ||
}), | ||
collectPaymentMethod: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/collect_payment_method', | ||
}), | ||
confirmPaymentIntent: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v1/terminal/readers/{reader}/confirm_payment_intent', | ||
}), | ||
processPaymentIntent: stripeMethod({ | ||
@@ -41,0 +29,0 @@ method: 'POST', |
@@ -36,3 +36,3 @@ import * as _Error from './Error.js'; | ||
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) { | ||
Stripe.PACKAGE_VERSION = '17.7.0-beta.1'; | ||
Stripe.PACKAGE_VERSION = '17.7.0'; | ||
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties()); | ||
@@ -39,0 +39,0 @@ Stripe.StripeResource = StripeResource; |
{ | ||
"name": "stripe", | ||
"version": "17.7.0-beta.1", | ||
"version": "17.7.0", | ||
"description": "Stripe API wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -557,3 +557,2 @@ # Stripe Node.js Library | ||
```javascript | ||
import Stripe from 'stripe'; | ||
const client = new Stripe('sk_test_...'); | ||
@@ -560,0 +559,0 @@ |
@@ -63,7 +63,3 @@ // File generated from our OpenAPI spec | ||
type Type = | ||
| 'account_onboarding' | ||
| 'account_update' | ||
| 'capital_financing_offer' | ||
| 'capital_financing_reporting'; | ||
type Type = 'account_onboarding' | 'account_update'; | ||
} | ||
@@ -70,0 +66,0 @@ |
@@ -55,8 +55,2 @@ // File generated from our OpenAPI spec | ||
capital_financing?: Components.CapitalFinancing | null; | ||
capital_financing_application?: Components.CapitalFinancingApplication | null; | ||
capital_financing_promotion?: Components.CapitalFinancingPromotion | null; | ||
documents: Components.Documents; | ||
@@ -172,41 +166,2 @@ | ||
interface CapitalFinancing { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
features: CapitalFinancing.Features; | ||
} | ||
namespace CapitalFinancing { | ||
interface Features {} | ||
} | ||
interface CapitalFinancingApplication { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
features: CapitalFinancingApplication.Features; | ||
} | ||
namespace CapitalFinancingApplication { | ||
interface Features {} | ||
} | ||
interface CapitalFinancingPromotion { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
features: CapitalFinancingPromotion.Features; | ||
} | ||
namespace CapitalFinancingPromotion { | ||
interface Features {} | ||
} | ||
interface Documents { | ||
@@ -213,0 +168,0 @@ /** |
@@ -35,12 +35,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Configuration for the app install component. | ||
*/ | ||
app_install?: Components.AppInstall; | ||
/** | ||
* Configuration for the app viewport component. | ||
*/ | ||
app_viewport?: Components.AppViewport; | ||
/** | ||
* Configuration for the balances embedded component. | ||
@@ -51,22 +41,2 @@ */ | ||
/** | ||
* Configuration for the capital financing embedded component. | ||
*/ | ||
capital_financing?: Components.CapitalFinancing; | ||
/** | ||
* Configuration for the capital financing application embedded component. | ||
*/ | ||
capital_financing_application?: Components.CapitalFinancingApplication; | ||
/** | ||
* Configuration for the capital financing promotion embedded component. | ||
*/ | ||
capital_financing_promotion?: Components.CapitalFinancingPromotion; | ||
/** | ||
* Configuration for the capital overview embedded component. | ||
*/ | ||
capital_overview?: Components.CapitalOverview; | ||
/** | ||
* Configuration for the documents embedded component. | ||
@@ -107,7 +77,2 @@ */ | ||
/** | ||
* Configuration for the payment method settings embedded component. | ||
*/ | ||
payment_method_settings?: Components.PaymentMethodSettings; | ||
/** | ||
* Configuration for the payments embedded component. | ||
@@ -128,17 +93,2 @@ */ | ||
/** | ||
* Configuration for the product tax code selector embedded component. | ||
*/ | ||
product_tax_code_selector?: Components.ProductTaxCodeSelector; | ||
/** | ||
* Configuration for the recipients component. | ||
*/ | ||
recipients?: Components.Recipients; | ||
/** | ||
* Configuration for the reporting chart embedded component. | ||
*/ | ||
reporting_chart?: Components.ReportingChart; | ||
/** | ||
* Configuration for the tax registrations embedded component. | ||
@@ -152,7 +102,2 @@ */ | ||
tax_settings?: Components.TaxSettings; | ||
/** | ||
* Configuration for the tax threshold monitoring embedded component. | ||
*/ | ||
tax_threshold_monitoring?: Components.TaxThresholdMonitoring; | ||
} | ||
@@ -213,44 +158,2 @@ | ||
interface AppInstall { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: AppInstall.Features; | ||
} | ||
namespace AppInstall { | ||
interface Features { | ||
/** | ||
* List of apps allowed to be enabled for this account session. | ||
*/ | ||
allowed_apps?: Stripe.Emptyable<Array<string>>; | ||
} | ||
} | ||
interface AppViewport { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: AppViewport.Features; | ||
} | ||
namespace AppViewport { | ||
interface Features { | ||
/** | ||
* List of apps allowed to be enabled for this account session. | ||
*/ | ||
allowed_apps?: Stripe.Emptyable<Array<string>>; | ||
} | ||
} | ||
interface Balances { | ||
@@ -297,66 +200,2 @@ /** | ||
interface CapitalFinancing { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: CapitalFinancing.Features; | ||
} | ||
namespace CapitalFinancing { | ||
interface Features {} | ||
} | ||
interface CapitalFinancingApplication { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: CapitalFinancingApplication.Features; | ||
} | ||
namespace CapitalFinancingApplication { | ||
interface Features {} | ||
} | ||
interface CapitalFinancingPromotion { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: CapitalFinancingPromotion.Features; | ||
} | ||
namespace CapitalFinancingPromotion { | ||
interface Features {} | ||
} | ||
interface CapitalOverview { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: CapitalOverview.Features; | ||
} | ||
namespace CapitalOverview { | ||
interface Features {} | ||
} | ||
interface Documents { | ||
@@ -574,18 +413,2 @@ /** | ||
interface PaymentMethodSettings { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: PaymentMethodSettings.Features; | ||
} | ||
namespace PaymentMethodSettings { | ||
interface Features {} | ||
} | ||
interface Payments { | ||
@@ -684,52 +507,2 @@ /** | ||
interface ProductTaxCodeSelector { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: ProductTaxCodeSelector.Features; | ||
} | ||
namespace ProductTaxCodeSelector { | ||
interface Features {} | ||
} | ||
interface Recipients { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
features?: Recipients.Features; | ||
} | ||
namespace Recipients { | ||
interface Features { | ||
/** | ||
* Whether to allow sending money. | ||
*/ | ||
send_money?: boolean; | ||
} | ||
} | ||
interface ReportingChart { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: ReportingChart.Features; | ||
} | ||
namespace ReportingChart { | ||
interface Features {} | ||
} | ||
interface TaxRegistrations { | ||
@@ -766,18 +539,2 @@ /** | ||
} | ||
interface TaxThresholdMonitoring { | ||
/** | ||
* Whether the embedded component is enabled. | ||
*/ | ||
enabled: boolean; | ||
/** | ||
* The list of features enabled in the embedded component. | ||
*/ | ||
features?: TaxThresholdMonitoring.Features; | ||
} | ||
namespace TaxThresholdMonitoring { | ||
interface Features {} | ||
} | ||
} | ||
@@ -784,0 +541,0 @@ } |
@@ -46,3 +46,3 @@ // File generated from our OpenAPI spec | ||
*/ | ||
price_type: 'metered'; | ||
price_type?: 'metered'; | ||
@@ -49,0 +49,0 @@ /** |
@@ -67,2 +67,7 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100. | ||
*/ | ||
priority?: number | null; | ||
/** | ||
* ID of the test clock this credit grant belongs to. | ||
@@ -69,0 +74,0 @@ */ |
@@ -13,3 +13,3 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Configuration specifying what this credit grant applies to. | ||
* Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. | ||
*/ | ||
@@ -52,2 +52,7 @@ applicability_config: CreditGrantCreateParams.ApplicabilityConfig; | ||
name?: string; | ||
/** | ||
* The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100. | ||
*/ | ||
priority?: number; | ||
} | ||
@@ -94,3 +99,3 @@ | ||
*/ | ||
price_type: 'metered'; | ||
price_type?: 'metered'; | ||
@@ -97,0 +102,0 @@ /** |
@@ -84,7 +84,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.) | ||
*/ | ||
brand_product?: string | null; | ||
/** | ||
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. | ||
@@ -91,0 +86,0 @@ */ |
@@ -192,7 +192,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Provides industry-specific information about the charge. | ||
*/ | ||
payment_details?: ChargeUpdateParams.PaymentDetails; | ||
/** | ||
* This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address. | ||
@@ -225,644 +220,2 @@ */ | ||
interface PaymentDetails { | ||
/** | ||
* Car rental details for this PaymentIntent. | ||
*/ | ||
car_rental?: PaymentDetails.CarRental; | ||
/** | ||
* Event details for this PaymentIntent | ||
*/ | ||
event_details?: PaymentDetails.EventDetails; | ||
/** | ||
* Flight reservation details for this PaymentIntent | ||
*/ | ||
flight?: PaymentDetails.Flight; | ||
/** | ||
* Lodging reservation details for this PaymentIntent | ||
*/ | ||
lodging?: PaymentDetails.Lodging; | ||
/** | ||
* Subscription details for this PaymentIntent | ||
*/ | ||
subscription?: PaymentDetails.Subscription; | ||
} | ||
namespace PaymentDetails { | ||
interface CarRental { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: CarRental.Affiliate; | ||
/** | ||
* The booking number associated with the car rental. | ||
*/ | ||
booking_number: string; | ||
/** | ||
* Class code of the car. | ||
*/ | ||
car_class_code?: string; | ||
/** | ||
* Make of the car. | ||
*/ | ||
car_make?: string; | ||
/** | ||
* Model of the car. | ||
*/ | ||
car_model?: string; | ||
/** | ||
* The name of the rental car company. | ||
*/ | ||
company?: string; | ||
/** | ||
* The customer service phone number of the car rental company. | ||
*/ | ||
customer_service_phone_number?: string; | ||
/** | ||
* Number of days the car is being rented. | ||
*/ | ||
days_rented: number; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: CarRental.Delivery; | ||
/** | ||
* The details of the passengers in the travel reservation | ||
*/ | ||
drivers?: Array<CarRental.Driver>; | ||
/** | ||
* List of additional charges being billed. | ||
*/ | ||
extra_charges?: Array<CarRental.ExtraCharge>; | ||
/** | ||
* Indicates if the customer did not keep nor cancel their booking. | ||
*/ | ||
no_show?: boolean; | ||
/** | ||
* Car pick-up address. | ||
*/ | ||
pickup_address?: Stripe.AddressParam; | ||
/** | ||
* Car pick-up time. Measured in seconds since the Unix epoch. | ||
*/ | ||
pickup_at: number; | ||
/** | ||
* Rental rate. | ||
*/ | ||
rate_amount?: number; | ||
/** | ||
* The frequency at which the rate amount is applied. One of `day`, `week` or `month` | ||
*/ | ||
rate_interval?: CarRental.RateInterval; | ||
/** | ||
* The name of the person or entity renting the car. | ||
*/ | ||
renter_name?: string; | ||
/** | ||
* Car return address. | ||
*/ | ||
return_address?: Stripe.AddressParam; | ||
/** | ||
* Car return time. Measured in seconds since the Unix epoch. | ||
*/ | ||
return_at: number; | ||
/** | ||
* Indicates whether the goods or services are tax-exempt or tax is not collected. | ||
*/ | ||
tax_exempt?: boolean; | ||
} | ||
namespace CarRental { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
interface Driver { | ||
/** | ||
* Full name of the person or entity on the car reservation. | ||
*/ | ||
name: string; | ||
} | ||
type ExtraCharge = | ||
| 'extra_mileage' | ||
| 'gas' | ||
| 'late_return' | ||
| 'one_way_service' | ||
| 'parking_violation'; | ||
type RateInterval = 'day' | 'month' | 'week'; | ||
} | ||
interface EventDetails { | ||
/** | ||
* Indicates if the tickets are digitally checked when entering the venue. | ||
*/ | ||
access_controlled_venue?: boolean; | ||
/** | ||
* The event location's address. | ||
*/ | ||
address?: Stripe.AddressParam; | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: EventDetails.Affiliate; | ||
/** | ||
* The name of the company | ||
*/ | ||
company?: string; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: EventDetails.Delivery; | ||
/** | ||
* Event end time. Measured in seconds since the Unix epoch. | ||
*/ | ||
ends_at?: number; | ||
/** | ||
* Type of the event entertainment (concert, sports event etc) | ||
*/ | ||
genre?: string; | ||
/** | ||
* The name of the event. | ||
*/ | ||
name: string; | ||
/** | ||
* Event start time. Measured in seconds since the Unix epoch. | ||
*/ | ||
starts_at?: number; | ||
} | ||
namespace EventDetails { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
} | ||
interface Flight { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Flight.Affiliate; | ||
/** | ||
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. | ||
*/ | ||
agency_number?: string; | ||
/** | ||
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. | ||
*/ | ||
carrier?: string; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: Flight.Delivery; | ||
/** | ||
* The name of the person or entity on the reservation. | ||
*/ | ||
passenger_name?: string; | ||
/** | ||
* The details of the passengers in the travel reservation. | ||
*/ | ||
passengers?: Array<Flight.Passenger>; | ||
/** | ||
* The individual flight segments associated with the trip. | ||
*/ | ||
segments: Array<Flight.Segment>; | ||
/** | ||
* The ticket number associated with the travel reservation. | ||
*/ | ||
ticket_number?: string; | ||
} | ||
namespace Flight { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
interface Passenger { | ||
/** | ||
* Full name of the person or entity on the flight reservation. | ||
*/ | ||
name: string; | ||
} | ||
interface Segment { | ||
/** | ||
* The flight segment amount. | ||
*/ | ||
amount?: number; | ||
/** | ||
* The International Air Transport Association (IATA) airport code for the arrival airport. | ||
*/ | ||
arrival_airport?: string; | ||
/** | ||
* The arrival time for the flight segment. Measured in seconds since the Unix epoch. | ||
*/ | ||
arrives_at?: number; | ||
/** | ||
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. | ||
*/ | ||
carrier?: string; | ||
/** | ||
* The departure time for the flight segment. Measured in seconds since the Unix epoch. | ||
*/ | ||
departs_at: number; | ||
/** | ||
* The International Air Transport Association (IATA) airport code for the departure airport. | ||
*/ | ||
departure_airport?: string; | ||
/** | ||
* The flight number associated with the segment | ||
*/ | ||
flight_number?: string; | ||
/** | ||
* The fare class for the segment. | ||
*/ | ||
service_class?: Segment.ServiceClass; | ||
} | ||
namespace Segment { | ||
type ServiceClass = | ||
| 'business' | ||
| 'economy' | ||
| 'first' | ||
| 'premium_economy'; | ||
} | ||
} | ||
interface Lodging { | ||
/** | ||
* The lodging location's address. | ||
*/ | ||
address?: Stripe.AddressParam; | ||
/** | ||
* The number of adults on the booking | ||
*/ | ||
adults?: number; | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Lodging.Affiliate; | ||
/** | ||
* The booking number associated with the lodging reservation. | ||
*/ | ||
booking_number?: string; | ||
/** | ||
* The lodging category | ||
*/ | ||
category?: Lodging.Category; | ||
/** | ||
* Loding check-in time. Measured in seconds since the Unix epoch. | ||
*/ | ||
checkin_at: number; | ||
/** | ||
* Lodging check-out time. Measured in seconds since the Unix epoch. | ||
*/ | ||
checkout_at: number; | ||
/** | ||
* The customer service phone number of the lodging company. | ||
*/ | ||
customer_service_phone_number?: string; | ||
/** | ||
* The daily lodging room rate. | ||
*/ | ||
daily_room_rate_amount?: number; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: Lodging.Delivery; | ||
/** | ||
* List of additional charges being billed. | ||
*/ | ||
extra_charges?: Array<Lodging.ExtraCharge>; | ||
/** | ||
* Indicates whether the lodging location is compliant with the Fire Safety Act. | ||
*/ | ||
fire_safety_act_compliance?: boolean; | ||
/** | ||
* The name of the lodging location. | ||
*/ | ||
name?: string; | ||
/** | ||
* Indicates if the customer did not keep their booking while failing to cancel the reservation. | ||
*/ | ||
no_show?: boolean; | ||
/** | ||
* The number of rooms on the booking | ||
*/ | ||
number_of_rooms?: number; | ||
/** | ||
* The details of the passengers in the travel reservation | ||
*/ | ||
passengers?: Array<Lodging.Passenger>; | ||
/** | ||
* The phone number of the lodging location. | ||
*/ | ||
property_phone_number?: string; | ||
/** | ||
* The room class for this purchase. | ||
*/ | ||
room_class?: string; | ||
/** | ||
* The number of room nights | ||
*/ | ||
room_nights?: number; | ||
/** | ||
* The total tax amount associating with the room reservation. | ||
*/ | ||
total_room_tax_amount?: number; | ||
/** | ||
* The total tax amount | ||
*/ | ||
total_tax_amount?: number; | ||
} | ||
namespace Lodging { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
type Category = 'hotel' | 'vacation_rental'; | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
type ExtraCharge = | ||
| 'gift_shop' | ||
| 'laundry' | ||
| 'mini_bar' | ||
| 'other' | ||
| 'restaurant' | ||
| 'telephone'; | ||
interface Passenger { | ||
/** | ||
* Full name of the person or entity on the lodging reservation. | ||
*/ | ||
name: string; | ||
} | ||
} | ||
interface Subscription { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Subscription.Affiliate; | ||
/** | ||
* Info whether the subscription will be auto renewed upon expiry. | ||
*/ | ||
auto_renewal?: boolean; | ||
/** | ||
* Subscription billing details for this purchase. | ||
*/ | ||
billing_interval?: Subscription.BillingInterval; | ||
/** | ||
* Subscription end time. Measured in seconds since the Unix epoch. | ||
*/ | ||
ends_at?: number; | ||
/** | ||
* Name of the product on subscription. e.g. Apple Music Subscription | ||
*/ | ||
name: string; | ||
/** | ||
* Subscription start time. Measured in seconds since the Unix epoch. | ||
*/ | ||
starts_at?: number; | ||
} | ||
namespace Subscription { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface BillingInterval { | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
count: number; | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: BillingInterval.Interval; | ||
} | ||
namespace BillingInterval { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
} | ||
} | ||
interface Shipping { | ||
@@ -945,7 +298,2 @@ /** | ||
/** | ||
* Provides industry-specific information about the charge. | ||
*/ | ||
payment_details?: ChargeCaptureParams.PaymentDetails; | ||
/** | ||
* The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode. | ||
@@ -979,644 +327,2 @@ */ | ||
namespace ChargeCaptureParams { | ||
interface PaymentDetails { | ||
/** | ||
* Car rental details for this PaymentIntent. | ||
*/ | ||
car_rental?: PaymentDetails.CarRental; | ||
/** | ||
* Event details for this PaymentIntent | ||
*/ | ||
event_details?: PaymentDetails.EventDetails; | ||
/** | ||
* Flight reservation details for this PaymentIntent | ||
*/ | ||
flight?: PaymentDetails.Flight; | ||
/** | ||
* Lodging reservation details for this PaymentIntent | ||
*/ | ||
lodging?: PaymentDetails.Lodging; | ||
/** | ||
* Subscription details for this PaymentIntent | ||
*/ | ||
subscription?: PaymentDetails.Subscription; | ||
} | ||
namespace PaymentDetails { | ||
interface CarRental { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: CarRental.Affiliate; | ||
/** | ||
* The booking number associated with the car rental. | ||
*/ | ||
booking_number: string; | ||
/** | ||
* Class code of the car. | ||
*/ | ||
car_class_code?: string; | ||
/** | ||
* Make of the car. | ||
*/ | ||
car_make?: string; | ||
/** | ||
* Model of the car. | ||
*/ | ||
car_model?: string; | ||
/** | ||
* The name of the rental car company. | ||
*/ | ||
company?: string; | ||
/** | ||
* The customer service phone number of the car rental company. | ||
*/ | ||
customer_service_phone_number?: string; | ||
/** | ||
* Number of days the car is being rented. | ||
*/ | ||
days_rented: number; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: CarRental.Delivery; | ||
/** | ||
* The details of the passengers in the travel reservation | ||
*/ | ||
drivers?: Array<CarRental.Driver>; | ||
/** | ||
* List of additional charges being billed. | ||
*/ | ||
extra_charges?: Array<CarRental.ExtraCharge>; | ||
/** | ||
* Indicates if the customer did not keep nor cancel their booking. | ||
*/ | ||
no_show?: boolean; | ||
/** | ||
* Car pick-up address. | ||
*/ | ||
pickup_address?: Stripe.AddressParam; | ||
/** | ||
* Car pick-up time. Measured in seconds since the Unix epoch. | ||
*/ | ||
pickup_at: number; | ||
/** | ||
* Rental rate. | ||
*/ | ||
rate_amount?: number; | ||
/** | ||
* The frequency at which the rate amount is applied. One of `day`, `week` or `month` | ||
*/ | ||
rate_interval?: CarRental.RateInterval; | ||
/** | ||
* The name of the person or entity renting the car. | ||
*/ | ||
renter_name?: string; | ||
/** | ||
* Car return address. | ||
*/ | ||
return_address?: Stripe.AddressParam; | ||
/** | ||
* Car return time. Measured in seconds since the Unix epoch. | ||
*/ | ||
return_at: number; | ||
/** | ||
* Indicates whether the goods or services are tax-exempt or tax is not collected. | ||
*/ | ||
tax_exempt?: boolean; | ||
} | ||
namespace CarRental { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
interface Driver { | ||
/** | ||
* Full name of the person or entity on the car reservation. | ||
*/ | ||
name: string; | ||
} | ||
type ExtraCharge = | ||
| 'extra_mileage' | ||
| 'gas' | ||
| 'late_return' | ||
| 'one_way_service' | ||
| 'parking_violation'; | ||
type RateInterval = 'day' | 'month' | 'week'; | ||
} | ||
interface EventDetails { | ||
/** | ||
* Indicates if the tickets are digitally checked when entering the venue. | ||
*/ | ||
access_controlled_venue?: boolean; | ||
/** | ||
* The event location's address. | ||
*/ | ||
address?: Stripe.AddressParam; | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: EventDetails.Affiliate; | ||
/** | ||
* The name of the company | ||
*/ | ||
company?: string; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: EventDetails.Delivery; | ||
/** | ||
* Event end time. Measured in seconds since the Unix epoch. | ||
*/ | ||
ends_at?: number; | ||
/** | ||
* Type of the event entertainment (concert, sports event etc) | ||
*/ | ||
genre?: string; | ||
/** | ||
* The name of the event. | ||
*/ | ||
name: string; | ||
/** | ||
* Event start time. Measured in seconds since the Unix epoch. | ||
*/ | ||
starts_at?: number; | ||
} | ||
namespace EventDetails { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
} | ||
interface Flight { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Flight.Affiliate; | ||
/** | ||
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. | ||
*/ | ||
agency_number?: string; | ||
/** | ||
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. | ||
*/ | ||
carrier?: string; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: Flight.Delivery; | ||
/** | ||
* The name of the person or entity on the reservation. | ||
*/ | ||
passenger_name?: string; | ||
/** | ||
* The details of the passengers in the travel reservation. | ||
*/ | ||
passengers?: Array<Flight.Passenger>; | ||
/** | ||
* The individual flight segments associated with the trip. | ||
*/ | ||
segments: Array<Flight.Segment>; | ||
/** | ||
* The ticket number associated with the travel reservation. | ||
*/ | ||
ticket_number?: string; | ||
} | ||
namespace Flight { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
interface Passenger { | ||
/** | ||
* Full name of the person or entity on the flight reservation. | ||
*/ | ||
name: string; | ||
} | ||
interface Segment { | ||
/** | ||
* The flight segment amount. | ||
*/ | ||
amount?: number; | ||
/** | ||
* The International Air Transport Association (IATA) airport code for the arrival airport. | ||
*/ | ||
arrival_airport?: string; | ||
/** | ||
* The arrival time for the flight segment. Measured in seconds since the Unix epoch. | ||
*/ | ||
arrives_at?: number; | ||
/** | ||
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. | ||
*/ | ||
carrier?: string; | ||
/** | ||
* The departure time for the flight segment. Measured in seconds since the Unix epoch. | ||
*/ | ||
departs_at: number; | ||
/** | ||
* The International Air Transport Association (IATA) airport code for the departure airport. | ||
*/ | ||
departure_airport?: string; | ||
/** | ||
* The flight number associated with the segment | ||
*/ | ||
flight_number?: string; | ||
/** | ||
* The fare class for the segment. | ||
*/ | ||
service_class?: Segment.ServiceClass; | ||
} | ||
namespace Segment { | ||
type ServiceClass = | ||
| 'business' | ||
| 'economy' | ||
| 'first' | ||
| 'premium_economy'; | ||
} | ||
} | ||
interface Lodging { | ||
/** | ||
* The lodging location's address. | ||
*/ | ||
address?: Stripe.AddressParam; | ||
/** | ||
* The number of adults on the booking | ||
*/ | ||
adults?: number; | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Lodging.Affiliate; | ||
/** | ||
* The booking number associated with the lodging reservation. | ||
*/ | ||
booking_number?: string; | ||
/** | ||
* The lodging category | ||
*/ | ||
category?: Lodging.Category; | ||
/** | ||
* Loding check-in time. Measured in seconds since the Unix epoch. | ||
*/ | ||
checkin_at: number; | ||
/** | ||
* Lodging check-out time. Measured in seconds since the Unix epoch. | ||
*/ | ||
checkout_at: number; | ||
/** | ||
* The customer service phone number of the lodging company. | ||
*/ | ||
customer_service_phone_number?: string; | ||
/** | ||
* The daily lodging room rate. | ||
*/ | ||
daily_room_rate_amount?: number; | ||
/** | ||
* Delivery details for this purchase. | ||
*/ | ||
delivery?: Lodging.Delivery; | ||
/** | ||
* List of additional charges being billed. | ||
*/ | ||
extra_charges?: Array<Lodging.ExtraCharge>; | ||
/** | ||
* Indicates whether the lodging location is compliant with the Fire Safety Act. | ||
*/ | ||
fire_safety_act_compliance?: boolean; | ||
/** | ||
* The name of the lodging location. | ||
*/ | ||
name?: string; | ||
/** | ||
* Indicates if the customer did not keep their booking while failing to cancel the reservation. | ||
*/ | ||
no_show?: boolean; | ||
/** | ||
* The number of rooms on the booking | ||
*/ | ||
number_of_rooms?: number; | ||
/** | ||
* The details of the passengers in the travel reservation | ||
*/ | ||
passengers?: Array<Lodging.Passenger>; | ||
/** | ||
* The phone number of the lodging location. | ||
*/ | ||
property_phone_number?: string; | ||
/** | ||
* The room class for this purchase. | ||
*/ | ||
room_class?: string; | ||
/** | ||
* The number of room nights | ||
*/ | ||
room_nights?: number; | ||
/** | ||
* The total tax amount associating with the room reservation. | ||
*/ | ||
total_room_tax_amount?: number; | ||
/** | ||
* The total tax amount | ||
*/ | ||
total_tax_amount?: number; | ||
} | ||
namespace Lodging { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
type Category = 'hotel' | 'vacation_rental'; | ||
interface Delivery { | ||
/** | ||
* The delivery method for the payment | ||
*/ | ||
mode?: Delivery.Mode; | ||
/** | ||
* Details of the recipient. | ||
*/ | ||
recipient?: Delivery.Recipient; | ||
} | ||
namespace Delivery { | ||
type Mode = 'email' | 'phone' | 'pickup' | 'post'; | ||
interface Recipient { | ||
/** | ||
* The email of the recipient the ticket is delivered to. | ||
*/ | ||
email?: string; | ||
/** | ||
* The name of the recipient the ticket is delivered to. | ||
*/ | ||
name?: string; | ||
/** | ||
* The phone number of the recipient the ticket is delivered to. | ||
*/ | ||
phone?: string; | ||
} | ||
} | ||
type ExtraCharge = | ||
| 'gift_shop' | ||
| 'laundry' | ||
| 'mini_bar' | ||
| 'other' | ||
| 'restaurant' | ||
| 'telephone'; | ||
interface Passenger { | ||
/** | ||
* Full name of the person or entity on the lodging reservation. | ||
*/ | ||
name: string; | ||
} | ||
} | ||
interface Subscription { | ||
/** | ||
* Affiliate details for this purchase. | ||
*/ | ||
affiliate?: Subscription.Affiliate; | ||
/** | ||
* Info whether the subscription will be auto renewed upon expiry. | ||
*/ | ||
auto_renewal?: boolean; | ||
/** | ||
* Subscription billing details for this purchase. | ||
*/ | ||
billing_interval?: Subscription.BillingInterval; | ||
/** | ||
* Subscription end time. Measured in seconds since the Unix epoch. | ||
*/ | ||
ends_at?: number; | ||
/** | ||
* Name of the product on subscription. e.g. Apple Music Subscription | ||
*/ | ||
name: string; | ||
/** | ||
* Subscription start time. Measured in seconds since the Unix epoch. | ||
*/ | ||
starts_at?: number; | ||
} | ||
namespace Subscription { | ||
interface Affiliate { | ||
/** | ||
* The name of the affiliate that originated the purchase. | ||
*/ | ||
name: string; | ||
} | ||
interface BillingInterval { | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
count: number; | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: BillingInterval.Interval; | ||
} | ||
namespace BillingInterval { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
} | ||
} | ||
interface TransferData { | ||
@@ -1623,0 +329,0 @@ /** |
@@ -189,8 +189,4 @@ // File generated from our OpenAPI spec | ||
gopay?: PaymentMethodPreview.Gopay; | ||
grabpay?: PaymentMethodPreview.Grabpay; | ||
id_bank_transfer?: PaymentMethodPreview.IdBankTransfer; | ||
ideal?: PaymentMethodPreview.Ideal; | ||
@@ -210,4 +206,2 @@ | ||
mb_way?: PaymentMethodPreview.MbWay; | ||
mobilepay?: PaymentMethodPreview.Mobilepay; | ||
@@ -231,4 +225,2 @@ | ||
payto?: PaymentMethodPreview.Payto; | ||
pix?: PaymentMethodPreview.Pix; | ||
@@ -238,6 +230,2 @@ | ||
qris?: PaymentMethodPreview.Qris; | ||
rechnung?: PaymentMethodPreview.Rechnung; | ||
revolut_pay?: PaymentMethodPreview.RevolutPay; | ||
@@ -249,4 +237,2 @@ | ||
shopeepay?: PaymentMethodPreview.Shopeepay; | ||
sofort?: PaymentMethodPreview.Sofort; | ||
@@ -1069,20 +1055,4 @@ | ||
interface Gopay {} | ||
interface Grabpay {} | ||
interface IdBankTransfer { | ||
bank: IdBankTransfer.Bank | null; | ||
bank_code: string | null; | ||
bank_name: string | null; | ||
display_name: string | null; | ||
} | ||
namespace IdBankTransfer { | ||
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; | ||
} | ||
interface Ideal { | ||
@@ -1315,4 +1285,2 @@ /** | ||
interface MbWay {} | ||
interface Mobilepay {} | ||
@@ -1385,7 +1353,2 @@ | ||
/** | ||
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. | ||
*/ | ||
fingerprint?: string | null; | ||
/** | ||
* Owner's email. Values are provided by PayPal directly | ||
@@ -1400,27 +1363,4 @@ * (if supported) at the time of authorization or settlement. They cannot be set or mutated. | ||
payer_id: string | null; | ||
/** | ||
* Owner's verified email. Values are verified or provided by PayPal directly | ||
* (if supported) at the time of authorization or settlement. They cannot be set or mutated. | ||
*/ | ||
verified_email?: string | null; | ||
} | ||
interface Payto { | ||
/** | ||
* Bank-State-Branch number of the bank account. | ||
*/ | ||
bsb_number: string | null; | ||
/** | ||
* Last four digits of the bank account number. | ||
*/ | ||
last4: string | null; | ||
/** | ||
* The PayID alias for the bank account. | ||
*/ | ||
pay_id: string | null; | ||
} | ||
interface Pix {} | ||
@@ -1430,27 +1370,2 @@ | ||
interface Qris {} | ||
interface Rechnung { | ||
dob?: Rechnung.Dob; | ||
} | ||
namespace Rechnung { | ||
interface Dob { | ||
/** | ||
* The day of birth, between 1 and 31. | ||
*/ | ||
day: number; | ||
/** | ||
* The month of birth, between 1 and 12. | ||
*/ | ||
month: number; | ||
/** | ||
* The four-digit year of birth. | ||
*/ | ||
year: number; | ||
} | ||
} | ||
interface RevolutPay {} | ||
@@ -1506,4 +1421,2 @@ | ||
interface Shopeepay {} | ||
interface Sofort { | ||
@@ -1539,5 +1452,3 @@ /** | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -1550,3 +1461,2 @@ | 'interac_present' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -1561,11 +1471,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -1585,7 +1491,2 @@ | 'swish' | ||
/** | ||
* Account number of the bank account. | ||
*/ | ||
account_number?: string | null; | ||
/** | ||
* Account type: checkings or savings. Defaults to checking if omitted. | ||
@@ -1592,0 +1493,0 @@ */ |
@@ -116,3 +116,3 @@ // File generated from our OpenAPI spec | ||
type Duration = 'forever' | 'once' | 'repeating' | 'variable'; | ||
type Duration = 'forever' | 'once' | 'repeating'; | ||
} | ||
@@ -119,0 +119,0 @@ |
@@ -89,3 +89,3 @@ // File generated from our OpenAPI spec | ||
type Duration = 'forever' | 'once' | 'repeating' | 'variable'; | ||
type Duration = 'forever' | 'once' | 'repeating'; | ||
} | ||
@@ -92,0 +92,0 @@ |
@@ -109,6 +109,2 @@ // File generated from our OpenAPI spec | ||
post_payment_amount?: number; | ||
pre_payment_amount?: number; | ||
/** | ||
@@ -130,7 +126,2 @@ * The pretax credit amounts (ex: discount, credit grants, etc) for all line items. | ||
/** | ||
* Refunds related to this credit note. | ||
*/ | ||
refunds?: Array<CreditNote.Refund>; | ||
/** | ||
* The details of the cost of shipping, including the ShippingRate applied to the invoice. | ||
@@ -228,14 +219,2 @@ */ | ||
interface Refund { | ||
/** | ||
* Amount of the refund that applies to this credit note, in cents (or local equivalent). | ||
*/ | ||
amount_refunded: number; | ||
/** | ||
* ID of the refund. | ||
*/ | ||
refund: string | Stripe.Refund; | ||
} | ||
interface ShippingCost { | ||
@@ -242,0 +221,0 @@ /** |
@@ -72,7 +72,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Refunds to link to this credit note. | ||
*/ | ||
refunds?: Array<CreditNoteCreateParams.Refund>; | ||
/** | ||
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. | ||
@@ -160,14 +155,2 @@ */ | ||
interface Refund { | ||
/** | ||
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. | ||
*/ | ||
amount_refunded?: number; | ||
/** | ||
* ID of an existing refund to link this credit note to. | ||
*/ | ||
refund?: string; | ||
} | ||
interface ShippingCost { | ||
@@ -301,7 +284,2 @@ /** | ||
/** | ||
* Refunds to link to this credit note. | ||
*/ | ||
refunds?: Array<CreditNoteListPreviewLineItemsParams.Refund>; | ||
/** | ||
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. | ||
@@ -389,14 +367,2 @@ */ | ||
interface Refund { | ||
/** | ||
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. | ||
*/ | ||
amount_refunded?: number; | ||
/** | ||
* ID of an existing refund to link this credit note to. | ||
*/ | ||
refund?: string; | ||
} | ||
interface ShippingCost { | ||
@@ -477,7 +443,2 @@ /** | ||
/** | ||
* Refunds to link to this credit note. | ||
*/ | ||
refunds?: Array<CreditNotePreviewParams.Refund>; | ||
/** | ||
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. | ||
@@ -565,14 +526,2 @@ */ | ||
interface Refund { | ||
/** | ||
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount. | ||
*/ | ||
amount_refunded?: number; | ||
/** | ||
* ID of an existing refund to link this credit note to. | ||
*/ | ||
refund?: string; | ||
} | ||
interface ShippingCost { | ||
@@ -579,0 +528,0 @@ /** |
@@ -875,5 +875,3 @@ // File generated from our OpenAPI spec | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -885,3 +883,2 @@ | 'kakao_pay' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -896,11 +893,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -907,0 +900,0 @@ | 'swish' |
@@ -24,55 +24,2 @@ // File generated from our OpenAPI spec | ||
interface Reason { | ||
automation_action?: Reason.AutomationAction; | ||
request?: Reason.Request; | ||
/** | ||
* The type of the reason for the event. | ||
*/ | ||
type: Reason.Type; | ||
} | ||
namespace Reason { | ||
interface AutomationAction { | ||
stripe_send_webhook_custom_event?: AutomationAction.StripeSendWebhookCustomEvent; | ||
/** | ||
* The trigger name of the automation that triggered this action. | ||
* Please visit [Revenue and retention automations](https://docs.stripe.com/billing/automations#choose-a-trigger) for all possible trigger names. | ||
*/ | ||
trigger: string; | ||
/** | ||
* The type of the `automation_action`. | ||
*/ | ||
type: 'stripe_send_webhook_custom_event'; | ||
} | ||
namespace AutomationAction { | ||
interface StripeSendWebhookCustomEvent { | ||
/** | ||
* Set of key-value pairs attached to the action when creating an Automation. | ||
*/ | ||
custom_data: { | ||
[key: string]: string; | ||
} | null; | ||
} | ||
} | ||
interface Request { | ||
/** | ||
* ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. | ||
*/ | ||
id: string | null; | ||
/** | ||
* The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. | ||
*/ | ||
idempotency_key: string | null; | ||
} | ||
type Type = 'automation_action' | 'request'; | ||
} | ||
interface Request { | ||
@@ -97,4 +44,2 @@ /** | ||
| 'account.updated' | ||
| 'account_notice.created' | ||
| 'account_notice.updated' | ||
| 'application_fee.created' | ||
@@ -105,3 +50,2 @@ | 'application_fee.refund.updated' | ||
| 'billing.alert.triggered' | ||
| 'billing.meter_error_report.triggered' | ||
| 'billing_portal.configuration.created' | ||
@@ -111,11 +55,2 @@ | 'billing_portal.configuration.updated' | ||
| 'capability.updated' | ||
| 'capital.financing_offer.accepted' | ||
| 'capital.financing_offer.canceled' | ||
| 'capital.financing_offer.created' | ||
| 'capital.financing_offer.expired' | ||
| 'capital.financing_offer.fully_repaid' | ||
| 'capital.financing_offer.paid_out' | ||
| 'capital.financing_offer.rejected' | ||
| 'capital.financing_offer.replacement_created' | ||
| 'capital.financing_transaction.created' | ||
| 'cash_balance.funds_available' | ||
@@ -161,6 +96,3 @@ | 'charge.captured' | ||
| 'customer.source.updated' | ||
| 'customer.subscription.collection_paused' | ||
| 'customer.subscription.collection_resumed' | ||
| 'customer.subscription.created' | ||
| 'customer.subscription.custom_event' | ||
| 'customer.subscription.deleted' | ||
@@ -170,3 +102,2 @@ | 'customer.subscription.paused' | ||
| 'customer.subscription.pending_update_expired' | ||
| 'customer.subscription.price_migration_failed' | ||
| 'customer.subscription.resumed' | ||
@@ -187,6 +118,4 @@ | 'customer.subscription.trial_will_end' | ||
| 'financial_connections.account.refreshed_balance' | ||
| 'financial_connections.account.refreshed_inferred_balances' | ||
| 'financial_connections.account.refreshed_ownership' | ||
| 'financial_connections.account.refreshed_transactions' | ||
| 'financial_connections.session.updated' | ||
| 'identity.verification_session.canceled' | ||
@@ -204,7 +133,4 @@ | 'identity.verification_session.created' | ||
| 'invoice.overdue' | ||
| 'invoice.overpaid' | ||
| 'invoice.paid' | ||
| 'invoice.payment.overpaid' | ||
| 'invoice.payment_action_required' | ||
| 'invoice.payment_attempt_required' | ||
| 'invoice.payment_failed' | ||
@@ -232,5 +158,2 @@ | 'invoice.payment_succeeded' | ||
| 'issuing_dispute.updated' | ||
| 'issuing_dispute_settlement_detail.created' | ||
| 'issuing_dispute_settlement_detail.updated' | ||
| 'issuing_fraud_liability_debit.created' | ||
| 'issuing_personalization_design.activated' | ||
@@ -240,4 +163,2 @@ | 'issuing_personalization_design.deactivated' | ||
| 'issuing_personalization_design.updated' | ||
| 'issuing_settlement.created' | ||
| 'issuing_settlement.updated' | ||
| 'issuing_token.created' | ||
@@ -283,12 +204,6 @@ | 'issuing_token.updated' | ||
| 'promotion_code.updated' | ||
| 'quote.accept_failed' | ||
| 'quote.accepted' | ||
| 'quote.accepting' | ||
| 'quote.canceled' | ||
| 'quote.created' | ||
| 'quote.draft' | ||
| 'quote.finalized' | ||
| 'quote.reestimate_failed' | ||
| 'quote.reestimated' | ||
| 'quote.stale' | ||
| 'radar.early_fraud_warning.created' | ||
@@ -322,6 +237,4 @@ | 'radar.early_fraud_warning.updated' | ||
| 'subscription_schedule.expiring' | ||
| 'subscription_schedule.price_migration_failed' | ||
| 'subscription_schedule.released' | ||
| 'subscription_schedule.updated' | ||
| 'tax.form.updated' | ||
| 'tax.settings.updated' | ||
@@ -332,3 +245,2 @@ | 'tax_rate.created' | ||
| 'terminal.reader.action_succeeded' | ||
| 'terminal.reader.action_updated' | ||
| 'test_helpers.test_clock.advancing' | ||
@@ -450,7 +362,2 @@ | 'test_helpers.test_clock.created' | ||
/** | ||
* Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://docs.stripe.com/billing/automations) action. | ||
*/ | ||
reason?: Event.Reason | null; | ||
/** | ||
* Information on the API request that triggers the event. | ||
@@ -457,0 +364,0 @@ */ |
@@ -51,7 +51,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The state of the most recent attempt to refresh the account's inferred balance history. | ||
*/ | ||
inferred_balances_refresh?: Account.InferredBalancesRefresh | null; | ||
/** | ||
* The name of the institution that holds this account. | ||
@@ -112,3 +107,3 @@ */ | ||
*/ | ||
subscriptions: Array<Account.Subscription> | null; | ||
subscriptions: Array<'transactions'> | null; | ||
@@ -230,23 +225,2 @@ /** | ||
interface InferredBalancesRefresh { | ||
/** | ||
* The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch. | ||
*/ | ||
last_attempted_at: number; | ||
/** | ||
* Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch. | ||
*/ | ||
next_refresh_available_at: number | null; | ||
/** | ||
* The status of the last refresh attempt. | ||
*/ | ||
status: InferredBalancesRefresh.Status; | ||
} | ||
namespace InferredBalancesRefresh { | ||
type Status = 'failed' | 'pending' | 'succeeded'; | ||
} | ||
interface OwnershipRefresh { | ||
@@ -289,4 +263,2 @@ /** | ||
type Subscription = 'balance' | 'inferred_balances' | 'transactions'; | ||
type SupportedPaymentMethodType = 'link' | 'us_bank_account'; | ||
@@ -293,0 +265,0 @@ |
@@ -51,9 +51,2 @@ // File generated from our OpenAPI spec | ||
interface AccountListInferredBalancesParams extends PaginationParams { | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
*/ | ||
expand?: Array<string>; | ||
} | ||
interface AccountListOwnersParams extends PaginationParams { | ||
@@ -84,7 +77,3 @@ /** | ||
namespace AccountRefreshParams { | ||
type Feature = | ||
| 'balance' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Feature = 'balance' | 'ownership' | 'transactions'; | ||
} | ||
@@ -96,3 +85,3 @@ | ||
*/ | ||
features: Array<AccountSubscribeParams.Feature>; | ||
features: Array<'transactions'>; | ||
@@ -105,6 +94,2 @@ /** | ||
namespace AccountSubscribeParams { | ||
type Feature = 'balance' | 'inferred_balances' | 'transactions'; | ||
} | ||
interface AccountUnsubscribeParams { | ||
@@ -114,3 +99,3 @@ /** | ||
*/ | ||
features: Array<AccountUnsubscribeParams.Feature>; | ||
features: Array<'transactions'>; | ||
@@ -123,6 +108,2 @@ /** | ||
namespace AccountUnsubscribeParams { | ||
type Feature = 'balance' | 'inferred_balances' | 'transactions'; | ||
} | ||
class AccountsResource { | ||
@@ -167,15 +148,2 @@ /** | ||
/** | ||
* Lists the recorded inferred balances for a Financial Connections Account. | ||
*/ | ||
listInferredBalances( | ||
id: string, | ||
params?: AccountListInferredBalancesParams, | ||
options?: RequestOptions | ||
): ApiListPromise<Stripe.FinancialConnections.AccountInferredBalance>; | ||
listInferredBalances( | ||
id: string, | ||
options?: RequestOptions | ||
): ApiListPromise<Stripe.FinancialConnections.AccountInferredBalance>; | ||
/** | ||
* Lists all owners for a given Account | ||
@@ -182,0 +150,0 @@ */ |
@@ -37,4 +37,2 @@ // File generated from our OpenAPI spec | ||
limits?: Session.Limits; | ||
/** | ||
@@ -45,4 +43,2 @@ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. | ||
manual_entry?: Session.ManualEntry; | ||
/** | ||
@@ -62,9 +58,2 @@ * Permissions requested for accounts collected during this session. | ||
return_url?: string; | ||
/** | ||
* The current state of the session. | ||
*/ | ||
status?: Session.Status; | ||
status_details?: Session.StatusDetails; | ||
} | ||
@@ -104,7 +93,2 @@ | ||
countries: Array<string> | null; | ||
/** | ||
* Stripe ID of the institution with which the customer should be directed to log in. | ||
*/ | ||
institution?: string; | ||
} | ||
@@ -121,11 +105,2 @@ | ||
interface Limits { | ||
/** | ||
* The number of accounts that can be linked in this Session. | ||
*/ | ||
accounts: number; | ||
} | ||
interface ManualEntry {} | ||
type Permission = | ||
@@ -137,26 +112,3 @@ | 'balances' | ||
type Prefetch = | ||
| 'balances' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Status = 'cancelled' | 'failed' | 'pending' | 'succeeded'; | ||
interface StatusDetails { | ||
cancelled?: StatusDetails.Cancelled; | ||
} | ||
namespace StatusDetails { | ||
interface Cancelled { | ||
/** | ||
* The reason for the Session being cancelled. | ||
*/ | ||
reason: Cancelled.Reason; | ||
} | ||
namespace Cancelled { | ||
type Reason = 'custom_manual_entry' | 'other'; | ||
} | ||
} | ||
type Prefetch = 'balances' | 'ownership' | 'transactions'; | ||
} | ||
@@ -163,0 +115,0 @@ } |
@@ -30,12 +30,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Settings for configuring Session-specific limits. | ||
*/ | ||
limits?: SessionCreateParams.Limits; | ||
/** | ||
* Customize manual entry behavior | ||
*/ | ||
manual_entry?: SessionCreateParams.ManualEntry; | ||
/** | ||
* List of data features that you would like to retrieve upon account creation. | ||
@@ -83,7 +73,2 @@ */ | ||
countries?: Array<string>; | ||
/** | ||
* Stripe ID of the institution with which the customer should be directed to log in. | ||
*/ | ||
institution?: string; | ||
} | ||
@@ -100,20 +85,2 @@ | ||
interface Limits { | ||
/** | ||
* The number of accounts that can be linked in this Session. | ||
*/ | ||
accounts: number; | ||
} | ||
interface ManualEntry { | ||
/** | ||
* Whether manual entry will be handled by Stripe during the Session. | ||
*/ | ||
mode?: ManualEntry.Mode; | ||
} | ||
namespace ManualEntry { | ||
type Mode = 'automatic' | 'custom'; | ||
} | ||
type Permission = | ||
@@ -125,7 +92,3 @@ | 'balances' | ||
type Prefetch = | ||
| 'balances' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Prefetch = 'balances' | 'ownership' | 'transactions'; | ||
} | ||
@@ -132,0 +95,0 @@ |
@@ -15,3 +15,2 @@ ///<reference path='./lib.d.ts' /> | ||
///<reference path='./AccountLinksResource.d.ts' /> | ||
///<reference path='./AccountNoticesResource.d.ts' /> | ||
///<reference path='./AccountSessionsResource.d.ts' /> | ||
@@ -33,5 +32,2 @@ ///<reference path='./AccountsResource.d.ts' /> | ||
///<reference path='./BillingPortal/SessionsResource.d.ts' /> | ||
///<reference path='./Capital/FinancingOffersResource.d.ts' /> | ||
///<reference path='./Capital/FinancingSummaryResource.d.ts' /> | ||
///<reference path='./Capital/FinancingTransactionsResource.d.ts' /> | ||
///<reference path='./ChargesResource.d.ts' /> | ||
@@ -57,8 +53,5 @@ ///<reference path='./Checkout/SessionsResource.d.ts' /> | ||
///<reference path='./FinancialConnections/AccountsResource.d.ts' /> | ||
///<reference path='./FinancialConnections/InstitutionsResource.d.ts' /> | ||
///<reference path='./FinancialConnections/SessionsResource.d.ts' /> | ||
///<reference path='./FinancialConnections/TransactionsResource.d.ts' /> | ||
///<reference path='./Forwarding/RequestsResource.d.ts' /> | ||
///<reference path='./GiftCards/CardsResource.d.ts' /> | ||
///<reference path='./GiftCards/TransactionsResource.d.ts' /> | ||
///<reference path='./Identity/VerificationReportsResource.d.ts' /> | ||
@@ -72,6 +65,3 @@ ///<reference path='./Identity/VerificationSessionsResource.d.ts' /> | ||
///<reference path='./Issuing/CardsResource.d.ts' /> | ||
///<reference path='./Issuing/CreditUnderwritingRecordsResource.d.ts' /> | ||
///<reference path='./Issuing/DisputeSettlementDetailsResource.d.ts' /> | ||
///<reference path='./Issuing/DisputesResource.d.ts' /> | ||
///<reference path='./Issuing/FraudLiabilityDebitsResource.d.ts' /> | ||
///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' /> | ||
@@ -82,5 +72,2 @@ ///<reference path='./Issuing/PhysicalBundlesResource.d.ts' /> | ||
///<reference path='./MandatesResource.d.ts' /> | ||
///<reference path='./MarginsResource.d.ts' /> | ||
///<reference path='./OrdersResource.d.ts' /> | ||
///<reference path='./PaymentAttemptRecordsResource.d.ts' /> | ||
///<reference path='./PaymentIntentsResource.d.ts' /> | ||
@@ -91,3 +78,2 @@ ///<reference path='./PaymentLinksResource.d.ts' /> | ||
///<reference path='./PaymentMethodsResource.d.ts' /> | ||
///<reference path='./PaymentRecordsResource.d.ts' /> | ||
///<reference path='./PayoutsResource.d.ts' /> | ||
@@ -114,5 +100,3 @@ ///<reference path='./PlansResource.d.ts' /> | ||
///<reference path='./SubscriptionsResource.d.ts' /> | ||
///<reference path='./Tax/AssociationsResource.d.ts' /> | ||
///<reference path='./Tax/CalculationsResource.d.ts' /> | ||
///<reference path='./Tax/FormsResource.d.ts' /> | ||
///<reference path='./Tax/RegistrationsResource.d.ts' /> | ||
@@ -127,3 +111,2 @@ ///<reference path='./Tax/SettingsResource.d.ts' /> | ||
///<reference path='./Terminal/LocationsResource.d.ts' /> | ||
///<reference path='./Terminal/ReaderCollectedDataResource.d.ts' /> | ||
///<reference path='./Terminal/ReadersResource.d.ts' /> | ||
@@ -165,3 +148,2 @@ ///<reference path='./TestHelpers/ConfirmationTokensResource.d.ts' /> | ||
///<reference path='./AccountLinks.d.ts' /> | ||
///<reference path='./AccountNotices.d.ts' /> | ||
///<reference path='./AccountSessions.d.ts' /> | ||
@@ -182,3 +164,2 @@ ///<reference path='./Accounts.d.ts' /> | ||
///<reference path='./Billing/CreditGrants.d.ts' /> | ||
///<reference path='./Billing/MeterErrorReports.d.ts' /> | ||
///<reference path='./Billing/MeterEventAdjustments.d.ts' /> | ||
@@ -191,5 +172,2 @@ ///<reference path='./Billing/MeterEventSummaries.d.ts' /> | ||
///<reference path='./Capabilities.d.ts' /> | ||
///<reference path='./Capital/FinancingOffers.d.ts' /> | ||
///<reference path='./Capital/FinancingSummary.d.ts' /> | ||
///<reference path='./Capital/FinancingTransactions.d.ts' /> | ||
///<reference path='./Cards.d.ts' /> | ||
@@ -225,7 +203,5 @@ ///<reference path='./CashBalances.d.ts' /> | ||
///<reference path='./Files.d.ts' /> | ||
///<reference path='./FinancialConnections/AccountInferredBalances.d.ts' /> | ||
///<reference path='./FinancialConnections/AccountOwners.d.ts' /> | ||
///<reference path='./FinancialConnections/AccountOwnerships.d.ts' /> | ||
///<reference path='./FinancialConnections/Accounts.d.ts' /> | ||
///<reference path='./FinancialConnections/Institutions.d.ts' /> | ||
///<reference path='./FinancialConnections/Sessions.d.ts' /> | ||
@@ -235,4 +211,2 @@ ///<reference path='./FinancialConnections/Transactions.d.ts' /> | ||
///<reference path='./FundingInstructions.d.ts' /> | ||
///<reference path='./GiftCards/Cards.d.ts' /> | ||
///<reference path='./GiftCards/Transactions.d.ts' /> | ||
///<reference path='./Identity/VerificationReports.d.ts' /> | ||
@@ -242,3 +216,2 @@ ///<reference path='./Identity/VerificationSessions.d.ts' /> | ||
///<reference path='./InvoiceLineItems.d.ts' /> | ||
///<reference path='./InvoicePayments.d.ts' /> | ||
///<reference path='./InvoiceRenderingTemplates.d.ts' /> | ||
@@ -249,9 +222,5 @@ ///<reference path='./Invoices.d.ts' /> | ||
///<reference path='./Issuing/Cards.d.ts' /> | ||
///<reference path='./Issuing/CreditUnderwritingRecords.d.ts' /> | ||
///<reference path='./Issuing/DisputeSettlementDetails.d.ts' /> | ||
///<reference path='./Issuing/Disputes.d.ts' /> | ||
///<reference path='./Issuing/FraudLiabilityDebits.d.ts' /> | ||
///<reference path='./Issuing/PersonalizationDesigns.d.ts' /> | ||
///<reference path='./Issuing/PhysicalBundles.d.ts' /> | ||
///<reference path='./Issuing/Settlements.d.ts' /> | ||
///<reference path='./Issuing/Tokens.d.ts' /> | ||
@@ -262,5 +231,2 @@ ///<reference path='./Issuing/Transactions.d.ts' /> | ||
///<reference path='./Mandates.d.ts' /> | ||
///<reference path='./Margins.d.ts' /> | ||
///<reference path='./Orders.d.ts' /> | ||
///<reference path='./PaymentAttemptRecords.d.ts' /> | ||
///<reference path='./PaymentIntents.d.ts' /> | ||
@@ -271,3 +237,2 @@ ///<reference path='./PaymentLinks.d.ts' /> | ||
///<reference path='./PaymentMethods.d.ts' /> | ||
///<reference path='./PaymentRecords.d.ts' /> | ||
///<reference path='./Payouts.d.ts' /> | ||
@@ -280,5 +245,2 @@ ///<reference path='./Persons.d.ts' /> | ||
///<reference path='./PromotionCodes.d.ts' /> | ||
///<reference path='./QuoteLines.d.ts' /> | ||
///<reference path='./QuotePreviewInvoices.d.ts' /> | ||
///<reference path='./QuotePreviewSubscriptionSchedules.d.ts' /> | ||
///<reference path='./Quotes.d.ts' /> | ||
@@ -303,6 +265,4 @@ ///<reference path='./Radar/EarlyFraudWarnings.d.ts' /> | ||
///<reference path='./Subscriptions.d.ts' /> | ||
///<reference path='./Tax/Associations.d.ts' /> | ||
///<reference path='./Tax/CalculationLineItems.d.ts' /> | ||
///<reference path='./Tax/Calculations.d.ts' /> | ||
///<reference path='./Tax/Forms.d.ts' /> | ||
///<reference path='./Tax/Registrations.d.ts' /> | ||
@@ -319,3 +279,2 @@ ///<reference path='./Tax/Settings.d.ts' /> | ||
///<reference path='./Terminal/Locations.d.ts' /> | ||
///<reference path='./Terminal/ReaderCollectedData.d.ts' /> | ||
///<reference path='./Terminal/Readers.d.ts' /> | ||
@@ -367,3 +326,2 @@ ///<reference path='./TestHelpers/TestClocks.d.ts' /> | ||
accountLinks: Stripe.AccountLinksResource; | ||
accountNotices: Stripe.AccountNoticesResource; | ||
accountSessions: Stripe.AccountSessionsResource; | ||
@@ -392,5 +350,2 @@ accounts: Stripe.AccountsResource; | ||
mandates: Stripe.MandatesResource; | ||
margins: Stripe.MarginsResource; | ||
orders: Stripe.OrdersResource; | ||
paymentAttemptRecords: Stripe.PaymentAttemptRecordsResource; | ||
paymentIntents: Stripe.PaymentIntentsResource; | ||
@@ -401,3 +356,2 @@ paymentLinks: Stripe.PaymentLinksResource; | ||
paymentMethods: Stripe.PaymentMethodsResource; | ||
paymentRecords: Stripe.PaymentRecordsResource; | ||
payouts: Stripe.PayoutsResource; | ||
@@ -441,7 +395,2 @@ plans: Stripe.PlansResource; | ||
}; | ||
capital: { | ||
financingOffers: Stripe.Capital.FinancingOffersResource; | ||
financingSummary: Stripe.Capital.FinancingSummaryResource; | ||
financingTransactions: Stripe.Capital.FinancingTransactionsResource; | ||
}; | ||
checkout: { | ||
@@ -461,3 +410,2 @@ sessions: Stripe.Checkout.SessionsResource; | ||
accounts: Stripe.FinancialConnections.AccountsResource; | ||
institutions: Stripe.FinancialConnections.InstitutionsResource; | ||
sessions: Stripe.FinancialConnections.SessionsResource; | ||
@@ -469,6 +417,2 @@ transactions: Stripe.FinancialConnections.TransactionsResource; | ||
}; | ||
giftCards: { | ||
cards: Stripe.GiftCards.CardsResource; | ||
transactions: Stripe.GiftCards.TransactionsResource; | ||
}; | ||
identity: { | ||
@@ -482,6 +426,3 @@ verificationReports: Stripe.Identity.VerificationReportsResource; | ||
cardholders: Stripe.Issuing.CardholdersResource; | ||
creditUnderwritingRecords: Stripe.Issuing.CreditUnderwritingRecordsResource; | ||
disputes: Stripe.Issuing.DisputesResource; | ||
disputeSettlementDetails: Stripe.Issuing.DisputeSettlementDetailsResource; | ||
fraudLiabilityDebits: Stripe.Issuing.FraudLiabilityDebitsResource; | ||
personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource; | ||
@@ -505,5 +446,3 @@ physicalBundles: Stripe.Issuing.PhysicalBundlesResource; | ||
tax: { | ||
associations: Stripe.Tax.AssociationsResource; | ||
calculations: Stripe.Tax.CalculationsResource; | ||
forms: Stripe.Tax.FormsResource; | ||
registrations: Stripe.Tax.RegistrationsResource; | ||
@@ -518,3 +457,2 @@ settings: Stripe.Tax.SettingsResource; | ||
readers: Stripe.Terminal.ReadersResource; | ||
readerCollectedData: Stripe.Terminal.ReaderCollectedDataResource; | ||
}; | ||
@@ -521,0 +459,0 @@ testHelpers: { |
@@ -100,7 +100,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The margins which apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item. | ||
*/ | ||
margins?: Array<string | Stripe.Margin> | null; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | ||
@@ -107,0 +102,0 @@ */ |
@@ -47,7 +47,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item. | ||
*/ | ||
margins?: Array<string>; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
@@ -121,7 +116,2 @@ */ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -132,41 +122,2 @@ */ | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* Time span for the redeemed discount. | ||
*/ | ||
duration?: DiscountEnd.Duration; | ||
/** | ||
* A precise Unix timestamp for the discount to end. Must be in the future. | ||
*/ | ||
timestamp?: number; | ||
/** | ||
* The type of calculation made to determine when the discount ends. | ||
*/ | ||
type: DiscountEnd.Type; | ||
} | ||
namespace DiscountEnd { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
type Type = 'duration' | 'timestamp'; | ||
} | ||
} | ||
interface Period { | ||
@@ -252,7 +203,2 @@ /** | ||
/** | ||
* The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item. | ||
*/ | ||
margins?: Stripe.Emptyable<Array<string>>; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
@@ -321,7 +267,2 @@ */ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -332,41 +273,2 @@ */ | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* Time span for the redeemed discount. | ||
*/ | ||
duration?: DiscountEnd.Duration; | ||
/** | ||
* A precise Unix timestamp for the discount to end. Must be in the future. | ||
*/ | ||
timestamp?: number; | ||
/** | ||
* The type of calculation made to determine when the discount ends. | ||
*/ | ||
type: DiscountEnd.Type; | ||
} | ||
namespace DiscountEnd { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
type Type = 'duration' | 'timestamp'; | ||
} | ||
} | ||
interface Period { | ||
@@ -373,0 +275,0 @@ /** |
@@ -72,12 +72,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The amount of margin calculated per margin for this line item. | ||
*/ | ||
margin_amounts?: Array<InvoiceLineItem.MarginAmount> | null; | ||
/** | ||
* The margins applied to the line item. When set, the `default_margins` on the invoice do not apply to the line item. Use `expand[]=margins` to expand each margin. | ||
*/ | ||
margins?: Array<string | Stripe.Margin> | null; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation. | ||
@@ -163,14 +153,2 @@ */ | ||
interface MarginAmount { | ||
/** | ||
* The amount, in cents (or local equivalent), of the reduction in line item amount. | ||
*/ | ||
amount: number; | ||
/** | ||
* The margin that was applied to get this margin amount. | ||
*/ | ||
margin: string | Stripe.Margin; | ||
} | ||
interface Period { | ||
@@ -208,7 +186,2 @@ /** | ||
/** | ||
* The margin that was applied to get this pretax credit amount. | ||
*/ | ||
margin?: string | Stripe.Margin; | ||
/** | ||
* Type of the pretax credit amount referenced. | ||
@@ -220,3 +193,3 @@ */ | ||
namespace PretaxCreditAmount { | ||
type Type = 'credit_balance_transaction' | 'discount' | 'margin'; | ||
type Type = 'credit_balance_transaction' | 'discount'; | ||
} | ||
@@ -223,0 +196,0 @@ |
@@ -93,7 +93,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Amount that was overpaid on the invoice. Overpayments are debited to the customer's credit balance. | ||
*/ | ||
amount_overpaid?: number; | ||
/** | ||
* The amount, in cents (or local equivalent), that was paid. | ||
@@ -114,7 +109,2 @@ */ | ||
/** | ||
* List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically. | ||
*/ | ||
amounts_due?: Array<Invoice.AmountsDue> | null; | ||
/** | ||
* ID of the Connect Application that created the invoice. | ||
@@ -234,7 +224,2 @@ */ | ||
/** | ||
* The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin. | ||
*/ | ||
default_margins?: Array<string | Stripe.Margin> | null; | ||
/** | ||
* ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. | ||
@@ -369,7 +354,2 @@ */ | ||
/** | ||
* Payments for this invoice | ||
*/ | ||
payments?: ApiList<Stripe.InvoicePayment>; | ||
/** | ||
* End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](https://stripe.com/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price. | ||
@@ -489,7 +469,2 @@ */ | ||
/** | ||
* The aggregate amounts calculated per margin across all line items. | ||
*/ | ||
total_margin_amounts?: Array<Invoice.TotalMarginAmount> | null; | ||
/** | ||
* Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items. | ||
@@ -518,48 +493,2 @@ */ | ||
namespace Invoice { | ||
interface AmountsDue { | ||
/** | ||
* Incremental amount due for this payment in cents (or local equivalent). | ||
*/ | ||
amount: number; | ||
/** | ||
* The amount in cents (or local equivalent) that was paid for this payment. | ||
*/ | ||
amount_paid: number; | ||
/** | ||
* The difference between the payment's amount and amount_paid, in cents (or local equivalent). | ||
*/ | ||
amount_remaining: number; | ||
/** | ||
* Number of days from when invoice is finalized until the payment is due. | ||
*/ | ||
days_until_due: number | null; | ||
/** | ||
* An arbitrary string attached to the object. Often useful for displaying to users. | ||
*/ | ||
description: string | null; | ||
/** | ||
* Date on which a payment plan's payment is due. | ||
*/ | ||
due_date: number | null; | ||
/** | ||
* Timestamp when the payment was paid. | ||
*/ | ||
paid_at: number | null; | ||
/** | ||
* The status of the payment, one of `open`, `paid`, or `past_due` | ||
*/ | ||
status: AmountsDue.Status; | ||
} | ||
namespace AmountsDue { | ||
type Status = 'open' | 'paid' | 'past_due'; | ||
} | ||
interface AutomaticTax { | ||
@@ -970,3 +899,2 @@ /** | ||
| 'financial_connections_account_inactive' | ||
| 'financial_connections_institution_unavailable' | ||
| 'financial_connections_no_successful_transaction_refresh' | ||
@@ -977,5 +905,2 @@ | 'forwarding_api_inactive' | ||
| 'forwarding_api_upstream_connection_timeout' | ||
| 'gift_card_balance_insufficient' | ||
| 'gift_card_code_exists' | ||
| 'gift_card_inactive' | ||
| 'idempotency_key_in_use' | ||
@@ -1070,3 +995,2 @@ | 'incorrect_address' | ||
| 'secret_key_required' | ||
| 'sensitive_data_access_expired' | ||
| 'sepa_unsupported_account' | ||
@@ -1089,3 +1013,2 @@ | 'setup_attempt_failed' | ||
| 'terminal_reader_busy' | ||
| 'terminal_reader_collected_data_invalid' | ||
| 'terminal_reader_hardware_fault' | ||
@@ -1152,7 +1075,2 @@ | 'terminal_reader_invalid_location_for_activation' | ||
/** | ||
* If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. | ||
*/ | ||
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null; | ||
/** | ||
* If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. | ||
@@ -1262,4 +1180,2 @@ */ | ||
interface IdBankTransfer {} | ||
interface Konbini {} | ||
@@ -1299,7 +1215,2 @@ | ||
account_subcategories?: Array<Filters.AccountSubcategory>; | ||
/** | ||
* The institution to use to filter for possible accounts to link. | ||
*/ | ||
institution?: string; | ||
} | ||
@@ -1317,7 +1228,3 @@ | ||
type Prefetch = | ||
| 'balances' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Prefetch = 'balances' | 'ownership' | 'transactions'; | ||
} | ||
@@ -1340,3 +1247,2 @@ | ||
| 'cashapp' | ||
| 'custom' | ||
| 'customer_balance' | ||
@@ -1347,3 +1253,2 @@ | 'eps' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -1532,27 +1437,4 @@ | 'jp_credit_transfer' | ||
metadata: Stripe.Metadata | null; | ||
/** | ||
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). | ||
*/ | ||
pause_collection?: SubscriptionDetails.PauseCollection | null; | ||
} | ||
namespace SubscriptionDetails { | ||
interface PauseCollection { | ||
/** | ||
* The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. | ||
*/ | ||
behavior: PauseCollection.Behavior; | ||
/** | ||
* The time after which the subscription will resume collecting payments. | ||
*/ | ||
resumes_at: number | null; | ||
} | ||
namespace PauseCollection { | ||
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void'; | ||
} | ||
} | ||
interface ThresholdReason { | ||
@@ -1596,14 +1478,2 @@ /** | ||
interface TotalMarginAmount { | ||
/** | ||
* The amount, in cents (or local equivalent), of the reduction in line item amount. | ||
*/ | ||
amount: number; | ||
/** | ||
* The margin that was applied to get this margin amount. | ||
*/ | ||
margin: string | Stripe.Margin; | ||
} | ||
interface TotalPretaxCreditAmount { | ||
@@ -1629,7 +1499,2 @@ /** | ||
/** | ||
* The margin that was applied to get this pretax credit amount. | ||
*/ | ||
margin?: string | Stripe.Margin; | ||
/** | ||
* Type of the pretax credit amount referenced. | ||
@@ -1641,3 +1506,3 @@ */ | ||
namespace TotalPretaxCreditAmount { | ||
type Type = 'credit_balance_transaction' | 'discount' | 'margin'; | ||
type Type = 'credit_balance_transaction' | 'discount'; | ||
} | ||
@@ -1644,0 +1509,0 @@ |
@@ -573,3 +573,2 @@ // File generated from our OpenAPI spec | ||
| 'insufficient_funds' | ||
| 'network_fallback' | ||
| 'not_allowed' | ||
@@ -576,0 +575,0 @@ | 'pin_blocked' |
@@ -101,4 +101,2 @@ // File generated from our OpenAPI spec | ||
settlement?: string | Stripe.Issuing.Settlement | null; | ||
/** | ||
@@ -105,0 +103,0 @@ * [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null. |
@@ -47,7 +47,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Only return transactions that are associated with the given settlement. | ||
*/ | ||
settlement?: string; | ||
/** | ||
* Only return transactions that have the given type. One of `capture` or `refund`. | ||
@@ -54,0 +49,0 @@ */ |
@@ -30,3 +30,3 @@ ///<reference lib="esnext.asynciterable" /> | ||
} | ||
export type LatestApiVersion = '2025-01-27.acacia'; | ||
export type LatestApiVersion = '2025-02-24.acacia'; | ||
export type HttpAgent = Agent; | ||
@@ -33,0 +33,0 @@ export type HttpProtocol = 'http' | 'https'; |
@@ -19,4 +19,2 @@ // File generated from our OpenAPI spec | ||
adjustable_quantity?: LineItem.AdjustableQuantity | null; | ||
/** | ||
@@ -57,10 +55,3 @@ * Total discount amount applied. If no discounts were applied, defaults to 0. | ||
display?: LineItem.Display; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | ||
*/ | ||
metadata?: Stripe.Metadata | null; | ||
/** | ||
* The price used to generate the line item. | ||
@@ -71,9 +62,2 @@ */ | ||
/** | ||
* The ID of the product for this line item. | ||
* | ||
* This will always be the same as `price.product`. | ||
*/ | ||
product?: string | Stripe.Product | Stripe.DeletedProduct; | ||
/** | ||
* The quantity of products being purchased. | ||
@@ -90,10 +74,2 @@ */ | ||
namespace LineItem { | ||
interface AdjustableQuantity { | ||
enabled: boolean; | ||
maximum: number | null; | ||
minimum: number | null; | ||
} | ||
interface Discount { | ||
@@ -114,10 +90,2 @@ /** | ||
interface Display { | ||
description: string | null; | ||
images: Array<string>; | ||
name: string; | ||
} | ||
interface Tax { | ||
@@ -124,0 +92,0 @@ /** |
@@ -111,4 +111,2 @@ // File generated from our OpenAPI spec | ||
payto?: PaymentMethodDetails.Payto; | ||
revolut_pay?: PaymentMethodDetails.RevolutPay; | ||
@@ -216,82 +214,7 @@ | ||
/** | ||
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. | ||
*/ | ||
fingerprint?: string | null; | ||
/** | ||
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer. | ||
*/ | ||
payer_id: string | null; | ||
/** | ||
* Owner's verified email. Values are verified or provided by PayPal directly | ||
* (if supported) at the time of authorization or settlement. They cannot be set or mutated. | ||
*/ | ||
verified_email?: string | null; | ||
} | ||
interface Payto { | ||
/** | ||
* Amount that will be collected. It is required when `amount_type` is `fixed`. | ||
*/ | ||
amount: number | null; | ||
/** | ||
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. | ||
*/ | ||
amount_type: Payto.AmountType; | ||
/** | ||
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. | ||
*/ | ||
end_date: string | null; | ||
/** | ||
* The periodicity at which payments will be collected. | ||
*/ | ||
payment_schedule: Payto.PaymentSchedule; | ||
/** | ||
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit. | ||
*/ | ||
payments_per_period: number | null; | ||
/** | ||
* The purpose for which payments are made. Defaults to retail. | ||
*/ | ||
purpose: Payto.Purpose | null; | ||
/** | ||
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. | ||
*/ | ||
start_date: string | null; | ||
} | ||
namespace Payto { | ||
type AmountType = 'fixed' | 'maximum'; | ||
type PaymentSchedule = | ||
| 'adhoc' | ||
| 'annual' | ||
| 'daily' | ||
| 'fortnightly' | ||
| 'monthly' | ||
| 'quarterly' | ||
| 'semi_annual' | ||
| 'weekly'; | ||
type Purpose = | ||
| 'dependant_support' | ||
| 'government' | ||
| 'loan' | ||
| 'mortgage' | ||
| 'other' | ||
| 'pension' | ||
| 'personal' | ||
| 'retail' | ||
| 'salary' | ||
| 'tax' | ||
| 'utility'; | ||
} | ||
interface RevolutPay {} | ||
@@ -298,0 +221,0 @@ |
@@ -556,3 +556,2 @@ // File generated from our OpenAPI spec | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
@@ -563,3 +562,2 @@ | 'ideal' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -572,9 +570,5 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -581,0 +575,0 @@ | 'swish' |
@@ -617,3 +617,2 @@ // File generated from our OpenAPI spec | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
@@ -624,3 +623,2 @@ | 'ideal' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -633,9 +631,5 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -1567,3 +1561,2 @@ | 'swish' | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
@@ -1574,3 +1567,2 @@ | 'ideal' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -1583,9 +1575,5 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -1592,0 +1580,0 @@ | 'swish' |
@@ -82,8 +82,4 @@ // File generated from our OpenAPI spec | ||
gopay?: PaymentMethodConfiguration.Gopay; | ||
grabpay?: PaymentMethodConfiguration.Grabpay; | ||
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer; | ||
ideal?: PaymentMethodConfiguration.Ideal; | ||
@@ -133,8 +129,4 @@ | ||
payto?: PaymentMethodConfiguration.Payto; | ||
promptpay?: PaymentMethodConfiguration.Promptpay; | ||
qris?: PaymentMethodConfiguration.Qris; | ||
revolut_pay?: PaymentMethodConfiguration.RevolutPay; | ||
@@ -144,4 +136,2 @@ | ||
shopeepay?: PaymentMethodConfiguration.Shopeepay; | ||
sofort?: PaymentMethodConfiguration.Sofort; | ||
@@ -841,36 +831,2 @@ | ||
interface Gopay { | ||
/** | ||
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. | ||
*/ | ||
available: boolean; | ||
display_preference: Gopay.DisplayPreference; | ||
} | ||
namespace Gopay { | ||
interface DisplayPreference { | ||
/** | ||
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. | ||
*/ | ||
overridable: boolean | null; | ||
/** | ||
* The account's display preference. | ||
*/ | ||
preference: DisplayPreference.Preference; | ||
/** | ||
* The effective display preference value. | ||
*/ | ||
value: DisplayPreference.Value; | ||
} | ||
namespace DisplayPreference { | ||
type Preference = 'none' | 'off' | 'on'; | ||
type Value = 'off' | 'on'; | ||
} | ||
} | ||
interface Grabpay { | ||
@@ -910,36 +866,2 @@ /** | ||
interface IdBankTransfer { | ||
/** | ||
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. | ||
*/ | ||
available: boolean; | ||
display_preference: IdBankTransfer.DisplayPreference; | ||
} | ||
namespace IdBankTransfer { | ||
interface DisplayPreference { | ||
/** | ||
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. | ||
*/ | ||
overridable: boolean | null; | ||
/** | ||
* The account's display preference. | ||
*/ | ||
preference: DisplayPreference.Preference; | ||
/** | ||
* The effective display preference value. | ||
*/ | ||
value: DisplayPreference.Value; | ||
} | ||
namespace DisplayPreference { | ||
type Preference = 'none' | 'off' | 'on'; | ||
type Value = 'off' | 'on'; | ||
} | ||
} | ||
interface Ideal { | ||
@@ -1353,36 +1275,2 @@ /** | ||
interface Payto { | ||
/** | ||
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. | ||
*/ | ||
available: boolean; | ||
display_preference: Payto.DisplayPreference; | ||
} | ||
namespace Payto { | ||
interface DisplayPreference { | ||
/** | ||
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. | ||
*/ | ||
overridable: boolean | null; | ||
/** | ||
* The account's display preference. | ||
*/ | ||
preference: DisplayPreference.Preference; | ||
/** | ||
* The effective display preference value. | ||
*/ | ||
value: DisplayPreference.Value; | ||
} | ||
namespace DisplayPreference { | ||
type Preference = 'none' | 'off' | 'on'; | ||
type Value = 'off' | 'on'; | ||
} | ||
} | ||
interface Promptpay { | ||
@@ -1422,36 +1310,2 @@ /** | ||
interface Qris { | ||
/** | ||
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. | ||
*/ | ||
available: boolean; | ||
display_preference: Qris.DisplayPreference; | ||
} | ||
namespace Qris { | ||
interface DisplayPreference { | ||
/** | ||
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. | ||
*/ | ||
overridable: boolean | null; | ||
/** | ||
* The account's display preference. | ||
*/ | ||
preference: DisplayPreference.Preference; | ||
/** | ||
* The effective display preference value. | ||
*/ | ||
value: DisplayPreference.Value; | ||
} | ||
namespace DisplayPreference { | ||
type Preference = 'none' | 'off' | 'on'; | ||
type Value = 'off' | 'on'; | ||
} | ||
} | ||
interface RevolutPay { | ||
@@ -1525,36 +1379,2 @@ /** | ||
interface Shopeepay { | ||
/** | ||
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. | ||
*/ | ||
available: boolean; | ||
display_preference: Shopeepay.DisplayPreference; | ||
} | ||
namespace Shopeepay { | ||
interface DisplayPreference { | ||
/** | ||
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. | ||
*/ | ||
overridable: boolean | null; | ||
/** | ||
* The account's display preference. | ||
*/ | ||
preference: DisplayPreference.Preference; | ||
/** | ||
* The effective display preference value. | ||
*/ | ||
value: DisplayPreference.Value; | ||
} | ||
namespace DisplayPreference { | ||
type Preference = 'none' | 'off' | 'on'; | ||
type Value = 'off' | 'on'; | ||
} | ||
} | ||
interface Sofort { | ||
@@ -1561,0 +1381,0 @@ /** |
@@ -76,8 +76,4 @@ // File generated from our OpenAPI spec | ||
gopay?: PaymentMethod.Gopay; | ||
grabpay?: PaymentMethod.Grabpay; | ||
id_bank_transfer?: PaymentMethod.IdBankTransfer; | ||
ideal?: PaymentMethod.Ideal; | ||
@@ -102,4 +98,2 @@ | ||
mb_way?: PaymentMethod.MbWay; | ||
/** | ||
@@ -128,4 +122,2 @@ * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | ||
payto?: PaymentMethod.Payto; | ||
pix?: PaymentMethod.Pix; | ||
@@ -135,4 +127,2 @@ | ||
qris?: PaymentMethod.Qris; | ||
/** | ||
@@ -143,4 +133,2 @@ * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. | ||
rechnung?: PaymentMethod.Rechnung; | ||
revolut_pay?: PaymentMethod.RevolutPay; | ||
@@ -152,4 +140,2 @@ | ||
shopeepay?: PaymentMethod.Shopeepay; | ||
sofort?: PaymentMethod.Sofort; | ||
@@ -972,20 +958,4 @@ | ||
interface Gopay {} | ||
interface Grabpay {} | ||
interface IdBankTransfer { | ||
bank: IdBankTransfer.Bank | null; | ||
bank_code: string | null; | ||
bank_name: string | null; | ||
display_name: string | null; | ||
} | ||
namespace IdBankTransfer { | ||
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; | ||
} | ||
interface Ideal { | ||
@@ -1218,4 +1188,2 @@ /** | ||
interface MbWay {} | ||
interface Mobilepay {} | ||
@@ -1288,7 +1256,2 @@ | ||
/** | ||
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same. | ||
*/ | ||
fingerprint?: string | null; | ||
/** | ||
* Owner's email. Values are provided by PayPal directly | ||
@@ -1303,27 +1266,4 @@ * (if supported) at the time of authorization or settlement. They cannot be set or mutated. | ||
payer_id: string | null; | ||
/** | ||
* Owner's verified email. Values are verified or provided by PayPal directly | ||
* (if supported) at the time of authorization or settlement. They cannot be set or mutated. | ||
*/ | ||
verified_email?: string | null; | ||
} | ||
interface Payto { | ||
/** | ||
* Bank-State-Branch number of the bank account. | ||
*/ | ||
bsb_number: string | null; | ||
/** | ||
* Last four digits of the bank account number. | ||
*/ | ||
last4: string | null; | ||
/** | ||
* The PayID alias for the bank account. | ||
*/ | ||
pay_id: string | null; | ||
} | ||
interface Pix {} | ||
@@ -1333,4 +1273,2 @@ | ||
interface Qris {} | ||
interface RadarOptions { | ||
@@ -1343,25 +1281,2 @@ /** | ||
interface Rechnung { | ||
dob?: Rechnung.Dob; | ||
} | ||
namespace Rechnung { | ||
interface Dob { | ||
/** | ||
* The day of birth, between 1 and 31. | ||
*/ | ||
day: number; | ||
/** | ||
* The month of birth, between 1 and 12. | ||
*/ | ||
month: number; | ||
/** | ||
* The four-digit year of birth. | ||
*/ | ||
year: number; | ||
} | ||
} | ||
interface RevolutPay {} | ||
@@ -1417,4 +1332,2 @@ | ||
interface Shopeepay {} | ||
interface Sofort { | ||
@@ -1450,5 +1363,3 @@ /** | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -1461,3 +1372,2 @@ | 'interac_present' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -1472,11 +1382,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -1496,7 +1402,2 @@ | 'swish' | ||
/** | ||
* Account number of the bank account. | ||
*/ | ||
account_number?: string | null; | ||
/** | ||
* Account type: checkings or savings. Defaults to checking if omitted. | ||
@@ -1503,0 +1404,0 @@ */ |
@@ -112,7 +112,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. | ||
*/ | ||
gopay?: PaymentMethodCreateParams.Gopay; | ||
/** | ||
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. | ||
@@ -123,7 +118,2 @@ */ | ||
/** | ||
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. | ||
*/ | ||
id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer; | ||
/** | ||
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. | ||
@@ -164,7 +154,2 @@ */ | ||
/** | ||
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. | ||
*/ | ||
mb_way?: PaymentMethodCreateParams.MbWay; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
@@ -225,7 +210,2 @@ */ | ||
/** | ||
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. | ||
*/ | ||
payto?: PaymentMethodCreateParams.Payto; | ||
/** | ||
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. | ||
@@ -241,7 +221,2 @@ */ | ||
/** | ||
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. | ||
*/ | ||
qris?: PaymentMethodCreateParams.Qris; | ||
/** | ||
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. | ||
@@ -252,7 +227,2 @@ */ | ||
/** | ||
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. | ||
*/ | ||
rechnung?: PaymentMethodCreateParams.Rechnung; | ||
/** | ||
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. | ||
@@ -273,7 +243,2 @@ */ | ||
/** | ||
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. | ||
*/ | ||
shopeepay?: PaymentMethodCreateParams.Shopeepay; | ||
/** | ||
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. | ||
@@ -531,17 +496,4 @@ */ | ||
interface Gopay {} | ||
interface Grabpay {} | ||
interface IdBankTransfer { | ||
/** | ||
* Bank where the account is held. | ||
*/ | ||
bank?: IdBankTransfer.Bank; | ||
} | ||
namespace IdBankTransfer { | ||
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; | ||
} | ||
interface Ideal { | ||
@@ -610,4 +562,2 @@ /** | ||
interface MbWay {} | ||
interface Mobilepay {} | ||
@@ -675,19 +625,2 @@ | ||
interface Payto { | ||
/** | ||
* The account number for the bank account. | ||
*/ | ||
account_number?: string; | ||
/** | ||
* Bank-State-Branch number of the bank account. | ||
*/ | ||
bsb_number?: string; | ||
/** | ||
* The PayID alias for the bank account. | ||
*/ | ||
pay_id?: string; | ||
} | ||
interface Pix {} | ||
@@ -697,4 +630,2 @@ | ||
interface Qris {} | ||
interface RadarOptions { | ||
@@ -707,28 +638,2 @@ /** | ||
interface Rechnung { | ||
/** | ||
* Customer's date of birth | ||
*/ | ||
dob: Rechnung.Dob; | ||
} | ||
namespace Rechnung { | ||
interface Dob { | ||
/** | ||
* The day of birth, between 1 and 31. | ||
*/ | ||
day: number; | ||
/** | ||
* The month of birth, between 1 and 12. | ||
*/ | ||
month: number; | ||
/** | ||
* The four-digit year of birth. | ||
*/ | ||
year: number; | ||
} | ||
} | ||
interface RevolutPay {} | ||
@@ -745,4 +650,2 @@ | ||
interface Shopeepay {} | ||
interface Sofort { | ||
@@ -781,5 +684,3 @@ /** | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -791,3 +692,2 @@ | 'kakao_pay' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -802,11 +702,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -906,7 +802,2 @@ | 'swish' | ||
/** | ||
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. | ||
*/ | ||
payto?: PaymentMethodUpdateParams.Payto; | ||
/** | ||
* If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. | ||
@@ -987,19 +878,2 @@ */ | ||
interface Payto { | ||
/** | ||
* The account number for the bank account. | ||
*/ | ||
account_number?: string; | ||
/** | ||
* Bank-State-Branch number of the bank account. | ||
*/ | ||
bsb_number?: string; | ||
/** | ||
* The PayID alias for the bank account. | ||
*/ | ||
pay_id?: string; | ||
} | ||
interface UsBankAccount { | ||
@@ -1060,5 +934,3 @@ /** | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -1070,3 +942,2 @@ | 'kakao_pay' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -1081,11 +952,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -1092,0 +959,0 @@ | 'swish' |
@@ -97,7 +97,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Subscriptions using this price will be migrated to use the new referenced price. | ||
*/ | ||
migrate_to?: Price.MigrateTo | null; | ||
/** | ||
* A brief description of the price, hidden from customers. | ||
@@ -248,19 +243,2 @@ */ | ||
interface MigrateTo { | ||
/** | ||
* The behavior controlling at what point in the subscription lifecycle to migrate the price | ||
*/ | ||
behavior: 'at_cycle_end'; | ||
/** | ||
* The unix timestamp after at which subscriptions will start to migrate to the new price. | ||
*/ | ||
effective_after: number; | ||
/** | ||
* The id of the price being migrated to | ||
*/ | ||
price: string; | ||
} | ||
interface Recurring { | ||
@@ -267,0 +245,0 @@ /** |
@@ -376,7 +376,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* If specified, subscriptions using this price will be updated to use the new referenced price. | ||
*/ | ||
migrate_to?: Stripe.Emptyable<PriceUpdateParams.MigrateTo>; | ||
/** | ||
* A brief description of the price, hidden from customers. | ||
@@ -478,19 +473,2 @@ */ | ||
interface MigrateTo { | ||
/** | ||
* The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`. | ||
*/ | ||
behavior: 'at_cycle_end'; | ||
/** | ||
* The time after which subscriptions should start using the new price. | ||
*/ | ||
effective_after?: number; | ||
/** | ||
* The ID of the price object. | ||
*/ | ||
price: string; | ||
} | ||
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified'; | ||
@@ -497,0 +475,0 @@ } |
@@ -102,7 +102,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Provisioning configuration for this product. | ||
*/ | ||
provisioning?: Product.Provisioning | null; | ||
/** | ||
* Whether this product is shipped (i.e., physical goods). | ||
@@ -173,36 +168,2 @@ */ | ||
interface Provisioning { | ||
gift_card: Provisioning.GiftCard | null; | ||
/** | ||
* The type of provisioning, only `gift_card` currently supported. | ||
*/ | ||
type: 'gift_card'; | ||
} | ||
namespace Provisioning { | ||
interface GiftCard { | ||
fixed_amount: GiftCard.FixedAmount | null; | ||
/** | ||
* The specific type of gift_card provisioning, only `fixed_amount` currently supported. | ||
*/ | ||
type: 'fixed_amount'; | ||
} | ||
namespace GiftCard { | ||
interface FixedAmount { | ||
/** | ||
* The initial amount with which the provisioned gift card will be created. | ||
*/ | ||
amount: number; | ||
/** | ||
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). | ||
*/ | ||
currency: string; | ||
} | ||
} | ||
} | ||
type Type = 'good' | 'service'; | ||
@@ -209,0 +170,0 @@ } |
@@ -57,7 +57,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Provisioning configuration for this product. | ||
*/ | ||
provisioning?: ProductCreateParams.Provisioning; | ||
/** | ||
* Whether this product is shipped (i.e., physical goods). | ||
@@ -116,2 +111,7 @@ */ | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
*/ | ||
metadata?: Stripe.MetadataParam; | ||
/** | ||
* The recurring components of a price such as `interval` and `interval_count`. | ||
@@ -288,33 +288,2 @@ */ | ||
interface Provisioning { | ||
gift_card?: Provisioning.GiftCard; | ||
/** | ||
* The type of provisioning, only `gift_card` currently supported. | ||
*/ | ||
type: 'gift_card'; | ||
} | ||
namespace Provisioning { | ||
interface GiftCard { | ||
fixed_amount?: GiftCard.FixedAmount; | ||
/** | ||
* The specific type of gift_card provisioning, only `fixed_amount` currently supported. | ||
*/ | ||
type: 'fixed_amount'; | ||
} | ||
namespace GiftCard { | ||
interface FixedAmount { | ||
/** | ||
* The initial amount with which the provisioned gift card will be created. | ||
*/ | ||
amount: number; | ||
currency: string; | ||
} | ||
} | ||
} | ||
type Type = 'good' | 'service'; | ||
@@ -321,0 +290,0 @@ } |
@@ -21,7 +21,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now. | ||
*/ | ||
allow_backdated_lines?: boolean | null; | ||
/** | ||
* Total before any discounts or taxes are applied. | ||
@@ -127,7 +122,2 @@ */ | ||
/** | ||
* A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted. | ||
*/ | ||
lines?: Array<string> | null; | ||
/** | ||
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. | ||
@@ -157,7 +147,2 @@ */ | ||
/** | ||
* Details on when and why a quote has been marked as stale or canceled. | ||
*/ | ||
status_details?: Quote.StatusDetails | null; | ||
status_transitions: Quote.StatusTransitions; | ||
@@ -173,9 +158,2 @@ | ||
/** | ||
* List representing overrides for `subscription_data` configurations for specific subscription schedules. | ||
*/ | ||
subscription_data_overrides?: Array< | ||
Quote.SubscriptionDataOverride | ||
> | null; | ||
/** | ||
* The subscription schedule that was created or updated from this quote. | ||
@@ -186,7 +164,2 @@ */ | ||
/** | ||
* The subscription schedules that were created or updated from this quote. | ||
*/ | ||
subscription_schedules?: Array<Quote.SubscriptionSchedule> | null; | ||
/** | ||
* ID of the test clock this quote belongs to. | ||
@@ -246,7 +219,2 @@ */ | ||
/** | ||
* Details of the most recent reestimate of the quote's preview schedules and upcoming invoices, including the status of Stripe's calculation. | ||
*/ | ||
last_reestimation_details?: Computed.LastReestimationDetails | null; | ||
/** | ||
* The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts with `duration=forever` coupons only. Defaults to `null` if no inputted line items with recurring prices. | ||
@@ -256,7 +224,2 @@ */ | ||
/** | ||
* The time at which the quote's estimated schedules and upcoming invoices were generated. | ||
*/ | ||
updated_at?: number | null; | ||
upfront: Computed.Upfront; | ||
@@ -266,39 +229,2 @@ } | ||
namespace Computed { | ||
interface LastReestimationDetails { | ||
/** | ||
* When `status` is `failed`, provides details about the quote reestimation failure. | ||
*/ | ||
failed: LastReestimationDetails.Failed | null; | ||
/** | ||
* Latest status of the reestimation. | ||
*/ | ||
status: LastReestimationDetails.Status; | ||
} | ||
namespace LastReestimationDetails { | ||
interface Failed { | ||
/** | ||
* The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field. | ||
*/ | ||
failure_code: string | null; | ||
/** | ||
* Information derived from the `failure_code` or a freeform message that explains the error as a human-readable English string. For example, "margin ID is not a valid ID". | ||
*/ | ||
message: string | null; | ||
/** | ||
* The reason the reestimation failed. | ||
*/ | ||
reason: Failed.Reason; | ||
} | ||
namespace Failed { | ||
type Reason = 'automation_failure' | 'internal_error'; | ||
} | ||
type Status = 'failed' | 'in_progress' | 'succeeded'; | ||
} | ||
interface Recurring { | ||
@@ -579,150 +505,4 @@ /** | ||
type Status = | ||
| 'accepted' | ||
| 'accepting' | ||
| 'canceled' | ||
| 'draft' | ||
| 'open' | ||
| 'stale'; | ||
type Status = 'accepted' | 'canceled' | 'draft' | 'open'; | ||
interface StatusDetails { | ||
canceled?: StatusDetails.Canceled; | ||
stale?: StatusDetails.Stale; | ||
} | ||
namespace StatusDetails { | ||
interface Canceled { | ||
/** | ||
* The reason this quote was marked as canceled. | ||
*/ | ||
reason: Canceled.Reason | null; | ||
/** | ||
* Time at which the quote was marked as canceled. Measured in seconds since the Unix epoch. | ||
*/ | ||
transitioned_at: number | null; | ||
} | ||
namespace Canceled { | ||
type Reason = | ||
| 'canceled' | ||
| 'quote_accepted' | ||
| 'quote_expired' | ||
| 'quote_superseded' | ||
| 'subscription_canceled'; | ||
} | ||
interface Stale { | ||
/** | ||
* Time at which the quote expires. Measured in seconds since the Unix epoch. | ||
*/ | ||
expires_at: number | null; | ||
/** | ||
* The most recent reason this quote was marked as stale. | ||
*/ | ||
last_reason: Stale.LastReason | null; | ||
/** | ||
* Time at which the stale reason was updated. Measured in seconds since the Unix epoch. | ||
*/ | ||
last_updated_at: number | null; | ||
/** | ||
* Time at which the quote was marked as stale. Measured in seconds since the Unix epoch. | ||
*/ | ||
transitioned_at: number | null; | ||
} | ||
namespace Stale { | ||
interface LastReason { | ||
/** | ||
* The ID of the line that is invalid if the stale reason type is `line_invalid`. | ||
*/ | ||
line_invalid?: string; | ||
/** | ||
* The IDs of the lines that are invalid if the stale reason type is `lines_invalid`. | ||
*/ | ||
lines_invalid?: Array<LastReason.LinesInvalid>; | ||
/** | ||
* The user supplied mark stale reason. | ||
*/ | ||
marked_stale?: string | null; | ||
/** | ||
* The ID of the subscription that was canceled. | ||
*/ | ||
subscription_canceled?: string; | ||
subscription_changed?: LastReason.SubscriptionChanged; | ||
/** | ||
* The ID of the subscription that was expired. | ||
*/ | ||
subscription_expired?: string; | ||
/** | ||
* The ID of the subscription schedule that was canceled. | ||
*/ | ||
subscription_schedule_canceled?: string; | ||
subscription_schedule_changed?: LastReason.SubscriptionScheduleChanged; | ||
/** | ||
* The ID of the subscription schedule that was released. | ||
*/ | ||
subscription_schedule_released?: string; | ||
/** | ||
* The reason the quote was marked as stale. | ||
*/ | ||
type: LastReason.Type | null; | ||
} | ||
namespace LastReason { | ||
interface LinesInvalid { | ||
/** | ||
* The timestamp at which the lines were marked as invalid. | ||
*/ | ||
invalid_at: number; | ||
/** | ||
* The list of lines that became invalid at the given timestamp. | ||
*/ | ||
lines: Array<string>; | ||
} | ||
interface SubscriptionChanged { | ||
/** | ||
* The subscription's state before the quote was marked as stale. | ||
*/ | ||
previous_subscription: Stripe.Subscription | null; | ||
} | ||
interface SubscriptionScheduleChanged { | ||
/** | ||
* The subscription schedule's state before the quote was marked as stale. | ||
*/ | ||
previous_subscription_schedule: Stripe.SubscriptionSchedule | null; | ||
} | ||
type Type = | ||
| 'accept_failed_validations' | ||
| 'bill_on_acceptance_invalid' | ||
| 'line_invalid' | ||
| 'lines_invalid' | ||
| 'marked_stale' | ||
| 'subscription_canceled' | ||
| 'subscription_changed' | ||
| 'subscription_expired' | ||
| 'subscription_schedule_canceled' | ||
| 'subscription_schedule_changed' | ||
| 'subscription_schedule_released'; | ||
} | ||
} | ||
} | ||
interface StatusTransitions { | ||
@@ -747,17 +527,2 @@ /** | ||
/** | ||
* Describes the period to bill for upon accepting the quote. | ||
*/ | ||
bill_on_acceptance?: SubscriptionData.BillOnAcceptance | null; | ||
/** | ||
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. | ||
*/ | ||
billing_behavior?: SubscriptionData.BillingBehavior; | ||
/** | ||
* Whether the subscription will always start a new billing period when the quote is accepted. | ||
*/ | ||
billing_cycle_anchor?: 'reset' | null; | ||
/** | ||
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. | ||
@@ -773,12 +538,2 @@ */ | ||
/** | ||
* Behavior of the subscription schedule and underlying subscription when it ends. | ||
*/ | ||
end_behavior?: SubscriptionData.EndBehavior | null; | ||
/** | ||
* The id of the subscription that will be updated when the quote is accepted. | ||
*/ | ||
from_subscription?: string | Stripe.Subscription | null; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. | ||
@@ -789,12 +544,2 @@ */ | ||
/** | ||
* If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`. | ||
*/ | ||
prebilling?: SubscriptionData.Prebilling | null; | ||
/** | ||
* Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted. | ||
*/ | ||
proration_behavior?: SubscriptionData.ProrationBehavior; | ||
/** | ||
* Integer representing the number of trial period days before the customer is charged for the first time. | ||
@@ -805,337 +550,2 @@ */ | ||
namespace SubscriptionData { | ||
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front'; | ||
interface BillOnAcceptance { | ||
/** | ||
* The start of the period to bill from when the Quote is accepted. | ||
*/ | ||
bill_from: BillOnAcceptance.BillFrom | null; | ||
/** | ||
* The end of the period to bill until when the Quote is accepted. | ||
*/ | ||
bill_until: BillOnAcceptance.BillUntil | null; | ||
} | ||
namespace BillOnAcceptance { | ||
interface BillFrom { | ||
/** | ||
* The materialized time. | ||
*/ | ||
computed: number | null; | ||
/** | ||
* The timestamp the given line starts at. | ||
*/ | ||
line_starts_at: BillFrom.LineStartsAt | null; | ||
/** | ||
* A precise Unix timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The type of method to specify the `bill_from` time. | ||
*/ | ||
type: BillFrom.Type; | ||
} | ||
namespace BillFrom { | ||
interface LineStartsAt { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
} | ||
type Type = | ||
| 'line_starts_at' | ||
| 'now' | ||
| 'pause_collection_start' | ||
| 'quote_acceptance_date' | ||
| 'timestamp'; | ||
} | ||
interface BillUntil { | ||
/** | ||
* The materialized time. | ||
*/ | ||
computed: number | null; | ||
/** | ||
* Time span for the quote line starting from the `starts_at` date. | ||
*/ | ||
duration: BillUntil.Duration | null; | ||
/** | ||
* The timestamp the given line ends at. | ||
*/ | ||
line_ends_at: BillUntil.LineEndsAt | null; | ||
/** | ||
* A precise Unix timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The type of method to specify the `bill_until` time. | ||
*/ | ||
type: BillUntil.Type; | ||
} | ||
namespace BillUntil { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
interface LineEndsAt { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
} | ||
type Type = | ||
| 'duration' | ||
| 'line_ends_at' | ||
| 'schedule_end' | ||
| 'timestamp' | ||
| 'upcoming_invoice'; | ||
} | ||
} | ||
type EndBehavior = 'cancel' | 'release'; | ||
interface Prebilling { | ||
iterations: number; | ||
} | ||
type ProrationBehavior = | ||
| 'always_invoice' | ||
| 'create_prorations' | ||
| 'none'; | ||
} | ||
interface SubscriptionDataOverride { | ||
applies_to: SubscriptionDataOverride.AppliesTo; | ||
/** | ||
* Describes the period to bill for upon accepting the quote. | ||
*/ | ||
bill_on_acceptance?: SubscriptionDataOverride.BillOnAcceptance | null; | ||
/** | ||
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. | ||
*/ | ||
billing_behavior?: SubscriptionDataOverride.BillingBehavior; | ||
/** | ||
* The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. | ||
*/ | ||
customer: string | null; | ||
/** | ||
* The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. | ||
*/ | ||
description: string | null; | ||
/** | ||
* Behavior of the subscription schedule and underlying subscription when it ends. | ||
*/ | ||
end_behavior?: SubscriptionDataOverride.EndBehavior | null; | ||
/** | ||
* Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted. | ||
*/ | ||
proration_behavior?: SubscriptionDataOverride.ProrationBehavior | null; | ||
} | ||
namespace SubscriptionDataOverride { | ||
interface AppliesTo { | ||
/** | ||
* A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. | ||
*/ | ||
new_reference: string | null; | ||
/** | ||
* The ID of the schedule the line applies to. | ||
*/ | ||
subscription_schedule: string | null; | ||
/** | ||
* Describes whether the quote line is affecting a new schedule or an existing schedule. | ||
*/ | ||
type: AppliesTo.Type; | ||
} | ||
namespace AppliesTo { | ||
type Type = 'new_reference' | 'subscription_schedule'; | ||
} | ||
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front'; | ||
interface BillOnAcceptance { | ||
/** | ||
* The start of the period to bill from when the Quote is accepted. | ||
*/ | ||
bill_from: BillOnAcceptance.BillFrom | null; | ||
/** | ||
* The end of the period to bill until when the Quote is accepted. | ||
*/ | ||
bill_until: BillOnAcceptance.BillUntil | null; | ||
} | ||
namespace BillOnAcceptance { | ||
interface BillFrom { | ||
/** | ||
* The materialized time. | ||
*/ | ||
computed: number | null; | ||
/** | ||
* The timestamp the given line starts at. | ||
*/ | ||
line_starts_at: BillFrom.LineStartsAt | null; | ||
/** | ||
* A precise Unix timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The type of method to specify the `bill_from` time. | ||
*/ | ||
type: BillFrom.Type; | ||
} | ||
namespace BillFrom { | ||
interface LineStartsAt { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
} | ||
type Type = | ||
| 'line_starts_at' | ||
| 'now' | ||
| 'pause_collection_start' | ||
| 'quote_acceptance_date' | ||
| 'timestamp'; | ||
} | ||
interface BillUntil { | ||
/** | ||
* The materialized time. | ||
*/ | ||
computed: number | null; | ||
/** | ||
* Time span for the quote line starting from the `starts_at` date. | ||
*/ | ||
duration: BillUntil.Duration | null; | ||
/** | ||
* The timestamp the given line ends at. | ||
*/ | ||
line_ends_at: BillUntil.LineEndsAt | null; | ||
/** | ||
* A precise Unix timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The type of method to specify the `bill_until` time. | ||
*/ | ||
type: BillUntil.Type; | ||
} | ||
namespace BillUntil { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
interface LineEndsAt { | ||
/** | ||
* Unique identifier for the object. | ||
*/ | ||
id: string; | ||
} | ||
type Type = | ||
| 'duration' | ||
| 'line_ends_at' | ||
| 'schedule_end' | ||
| 'timestamp' | ||
| 'upcoming_invoice'; | ||
} | ||
} | ||
type EndBehavior = 'cancel' | 'release'; | ||
type ProrationBehavior = | ||
| 'always_invoice' | ||
| 'create_prorations' | ||
| 'none'; | ||
} | ||
interface SubscriptionSchedule { | ||
applies_to: SubscriptionSchedule.AppliesTo; | ||
/** | ||
* The subscription schedule that was created or updated from this quote. | ||
*/ | ||
subscription_schedule: string; | ||
} | ||
namespace SubscriptionSchedule { | ||
interface AppliesTo { | ||
/** | ||
* A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule. | ||
*/ | ||
new_reference: string | null; | ||
/** | ||
* The ID of the schedule the line applies to. | ||
*/ | ||
subscription_schedule: string | null; | ||
/** | ||
* Describes whether the quote line is affecting a new schedule or an existing schedule. | ||
*/ | ||
type: AppliesTo.Type; | ||
} | ||
namespace AppliesTo { | ||
type Type = 'new_reference' | 'subscription_schedule'; | ||
} | ||
} | ||
interface TotalDetails { | ||
@@ -1142,0 +552,0 @@ /** |
@@ -142,4 +142,2 @@ // File generated from our OpenAPI spec | ||
id_bank_transfer?: DestinationDetails.IdBankTransfer; | ||
jp_bank_transfer?: DestinationDetails.JpBankTransfer; | ||
@@ -283,14 +281,2 @@ | ||
interface IdBankTransfer { | ||
/** | ||
* The reference assigned to the refund. | ||
*/ | ||
reference: string | null; | ||
/** | ||
* Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. | ||
*/ | ||
reference_status: string | null; | ||
} | ||
interface JpBankTransfer { | ||
@@ -297,0 +283,0 @@ /** |
@@ -111,4 +111,2 @@ // File generated from our OpenAPI spec | ||
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer; | ||
ideal?: PaymentMethodDetails.Ideal; | ||
@@ -126,4 +124,2 @@ | ||
payto?: PaymentMethodDetails.Payto; | ||
revolut_pay?: PaymentMethodDetails.RevolutPay; | ||
@@ -403,28 +399,2 @@ | ||
interface IdBankTransfer { | ||
/** | ||
* Bank where the account is located. | ||
*/ | ||
bank: IdBankTransfer.Bank | null; | ||
/** | ||
* Local bank code of the bank. | ||
*/ | ||
bank_code: string | null; | ||
/** | ||
* Name of the bank associated with the bank account. | ||
*/ | ||
bank_name: string | null; | ||
/** | ||
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer. | ||
*/ | ||
display_name: string | null; | ||
} | ||
namespace IdBankTransfer { | ||
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; | ||
} | ||
interface Ideal { | ||
@@ -512,4 +482,2 @@ /** | ||
interface Payto {} | ||
interface RevolutPay {} | ||
@@ -733,3 +701,2 @@ | ||
| 'financial_connections_account_inactive' | ||
| 'financial_connections_institution_unavailable' | ||
| 'financial_connections_no_successful_transaction_refresh' | ||
@@ -740,5 +707,2 @@ | 'forwarding_api_inactive' | ||
| 'forwarding_api_upstream_connection_timeout' | ||
| 'gift_card_balance_insufficient' | ||
| 'gift_card_code_exists' | ||
| 'gift_card_inactive' | ||
| 'idempotency_key_in_use' | ||
@@ -833,3 +797,2 @@ | 'incorrect_address' | ||
| 'secret_key_required' | ||
| 'sensitive_data_access_expired' | ||
| 'sepa_unsupported_account' | ||
@@ -852,3 +815,2 @@ | 'setup_attempt_failed' | ||
| 'terminal_reader_busy' | ||
| 'terminal_reader_collected_data_invalid' | ||
| 'terminal_reader_hardware_fault' | ||
@@ -855,0 +817,0 @@ | 'terminal_reader_invalid_location_for_activation' |
@@ -354,3 +354,2 @@ // File generated from our OpenAPI spec | ||
| 'financial_connections_account_inactive' | ||
| 'financial_connections_institution_unavailable' | ||
| 'financial_connections_no_successful_transaction_refresh' | ||
@@ -361,5 +360,2 @@ | 'forwarding_api_inactive' | ||
| 'forwarding_api_upstream_connection_timeout' | ||
| 'gift_card_balance_insufficient' | ||
| 'gift_card_code_exists' | ||
| 'gift_card_inactive' | ||
| 'idempotency_key_in_use' | ||
@@ -454,3 +450,2 @@ | 'incorrect_address' | ||
| 'secret_key_required' | ||
| 'sensitive_data_access_expired' | ||
| 'sepa_unsupported_account' | ||
@@ -473,3 +468,2 @@ | 'setup_attempt_failed' | ||
| 'terminal_reader_busy' | ||
| 'terminal_reader_collected_data_invalid' | ||
| 'terminal_reader_hardware_fault' | ||
@@ -611,4 +605,2 @@ | 'terminal_reader_invalid_location_for_activation' | ||
payto?: PaymentMethodOptions.Payto; | ||
sepa_debit?: PaymentMethodOptions.SepaDebit; | ||
@@ -799,84 +791,4 @@ | ||
billing_agreement_id: string | null; | ||
/** | ||
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). | ||
*/ | ||
currency?: string | null; | ||
/** | ||
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used. | ||
*/ | ||
subsellers?: Array<string>; | ||
} | ||
interface Payto { | ||
mandate_options?: Payto.MandateOptions; | ||
} | ||
namespace Payto { | ||
interface MandateOptions { | ||
/** | ||
* Amount that will be collected. It is required when `amount_type` is `fixed`. | ||
*/ | ||
amount: number | null; | ||
/** | ||
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. | ||
*/ | ||
amount_type: MandateOptions.AmountType | null; | ||
/** | ||
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date. | ||
*/ | ||
end_date: string | null; | ||
/** | ||
* The periodicity at which payments will be collected. | ||
*/ | ||
payment_schedule: MandateOptions.PaymentSchedule | null; | ||
/** | ||
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit. | ||
*/ | ||
payments_per_period: number | null; | ||
/** | ||
* The purpose for which payments are made. Defaults to retail. | ||
*/ | ||
purpose: MandateOptions.Purpose | null; | ||
/** | ||
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time. | ||
*/ | ||
start_date: string | null; | ||
} | ||
namespace MandateOptions { | ||
type AmountType = 'fixed' | 'maximum'; | ||
type PaymentSchedule = | ||
| 'adhoc' | ||
| 'annual' | ||
| 'daily' | ||
| 'fortnightly' | ||
| 'monthly' | ||
| 'quarterly' | ||
| 'semi_annual' | ||
| 'weekly'; | ||
type Purpose = | ||
| 'dependant_support' | ||
| 'government' | ||
| 'loan' | ||
| 'mortgage' | ||
| 'other' | ||
| 'pension' | ||
| 'personal' | ||
| 'retail' | ||
| 'salary' | ||
| 'tax' | ||
| 'utility'; | ||
} | ||
} | ||
interface SepaDebit { | ||
@@ -910,4 +822,2 @@ mandate_options?: SepaDebit.MandateOptions; | ||
manual_entry?: FinancialConnections.ManualEntry; | ||
/** | ||
@@ -935,7 +845,2 @@ * The list of permissions to request. The `payment_method` permission must be included. | ||
account_subcategories?: Array<Filters.AccountSubcategory>; | ||
/** | ||
* The institution to use to filter for possible accounts to link. | ||
*/ | ||
institution?: string; | ||
} | ||
@@ -947,13 +852,2 @@ | ||
interface ManualEntry { | ||
/** | ||
* Settings for configuring manual entry of account details. | ||
*/ | ||
mode?: ManualEntry.Mode; | ||
} | ||
namespace ManualEntry { | ||
type Mode = 'automatic' | 'custom'; | ||
} | ||
type Permission = | ||
@@ -965,7 +859,3 @@ | 'balances' | ||
type Prefetch = | ||
| 'balances' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Prefetch = 'balances' | 'ownership' | 'transactions'; | ||
} | ||
@@ -972,0 +862,0 @@ |
@@ -108,4 +108,2 @@ // File generated from our OpenAPI spec | ||
paypal?: Source.Paypal; | ||
receiver?: Source.Receiver; | ||
@@ -242,4 +240,2 @@ | ||
brand_product?: string | null; | ||
country?: string | null; | ||
@@ -285,4 +281,2 @@ | ||
brand_product?: string | null; | ||
country?: string | null; | ||
@@ -491,22 +485,2 @@ | ||
interface Paypal { | ||
billing_agreement?: string | null; | ||
fingerprint?: string | null; | ||
payer_id?: string | null; | ||
reference_id?: string; | ||
reference_transaction_amount?: string; | ||
reference_transaction_charged?: boolean; | ||
statement_descriptor?: string | null; | ||
transaction_id?: string; | ||
verified_email?: string | null; | ||
} | ||
interface Receiver { | ||
@@ -713,4 +687,2 @@ /** | ||
brand_product?: string | null; | ||
card?: string | null; | ||
@@ -764,3 +736,2 @@ | ||
| 'p24' | ||
| 'paypal' | ||
| 'sepa_credit_transfer' | ||
@@ -767,0 +738,0 @@ | 'sepa_debit' |
@@ -101,7 +101,2 @@ // File generated from our OpenAPI spec | ||
tax_rates: Array<Stripe.TaxRate> | null; | ||
/** | ||
* Options that configure the trial on the subscription item. | ||
*/ | ||
trial?: SubscriptionItem.Trial | null; | ||
} | ||
@@ -116,20 +111,4 @@ | ||
} | ||
interface Trial { | ||
/** | ||
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. | ||
*/ | ||
converts_to?: Array<string> | null; | ||
/** | ||
* Determines the type of trial for this item. | ||
*/ | ||
type: Trial.Type; | ||
} | ||
namespace Trial { | ||
type Type = 'free' | 'paid'; | ||
} | ||
} | ||
} | ||
} |
@@ -80,7 +80,2 @@ // File generated from our OpenAPI spec | ||
tax_rates?: Stripe.Emptyable<Array<string>>; | ||
/** | ||
* Options that configure the trial on the subscription item. | ||
*/ | ||
trial?: SubscriptionItemCreateParams.Trial; | ||
} | ||
@@ -108,7 +103,2 @@ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -119,41 +109,2 @@ */ | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* Time span for the redeemed discount. | ||
*/ | ||
duration?: DiscountEnd.Duration; | ||
/** | ||
* A precise Unix timestamp for the discount to end. Must be in the future. | ||
*/ | ||
timestamp?: number; | ||
/** | ||
* The type of calculation made to determine when the discount ends. | ||
*/ | ||
type: DiscountEnd.Type; | ||
} | ||
namespace DiscountEnd { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
type Type = 'duration' | 'timestamp'; | ||
} | ||
} | ||
type PaymentBehavior = | ||
@@ -218,18 +169,2 @@ | 'allow_incomplete' | ||
type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; | ||
interface Trial { | ||
/** | ||
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID. | ||
*/ | ||
converts_to?: Array<string>; | ||
/** | ||
* Determines the type of trial for this item. | ||
*/ | ||
type: Trial.Type; | ||
} | ||
namespace Trial { | ||
type Type = 'free' | 'paid'; | ||
} | ||
} | ||
@@ -341,7 +276,2 @@ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -352,41 +282,2 @@ */ | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* Time span for the redeemed discount. | ||
*/ | ||
duration?: DiscountEnd.Duration; | ||
/** | ||
* A precise Unix timestamp for the discount to end. Must be in the future. | ||
*/ | ||
timestamp?: number; | ||
/** | ||
* The type of calculation made to determine when the discount ends. | ||
*/ | ||
type: DiscountEnd.Type; | ||
} | ||
namespace DiscountEnd { | ||
interface Duration { | ||
/** | ||
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. | ||
*/ | ||
interval: Duration.Interval; | ||
/** | ||
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. | ||
*/ | ||
interval_count: number; | ||
} | ||
namespace Duration { | ||
type Interval = 'day' | 'month' | 'week' | 'year'; | ||
} | ||
type Type = 'duration' | 'timestamp'; | ||
} | ||
} | ||
type PaymentBehavior = | ||
@@ -393,0 +284,0 @@ | 'allow_incomplete' |
@@ -150,7 +150,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Details of the most recent price migration that failed for the subscription. | ||
*/ | ||
last_price_migration_error?: Subscription.LastPriceMigrationError | null; | ||
/** | ||
* The most recent invoice this subscription has generated. | ||
@@ -206,7 +201,2 @@ */ | ||
/** | ||
* Time period and invoice for a Subscription billed in advance. | ||
*/ | ||
prebilling?: Subscription.Prebilling | null; | ||
/** | ||
* The schedule attached to the subscription | ||
@@ -402,33 +392,2 @@ */ | ||
interface LastPriceMigrationError { | ||
/** | ||
* The time at which the price migration encountered an error. | ||
*/ | ||
errored_at: number; | ||
/** | ||
* The involved price pairs in each failed transition. | ||
*/ | ||
failed_transitions: Array<LastPriceMigrationError.FailedTransition>; | ||
/** | ||
* The type of error encountered by the price migration. | ||
*/ | ||
type: 'price_uniqueness_violation'; | ||
} | ||
namespace LastPriceMigrationError { | ||
interface FailedTransition { | ||
/** | ||
* The original price to be migrated. | ||
*/ | ||
source_price: string; | ||
/** | ||
* The intended resulting price of the migration. | ||
*/ | ||
target_price: string; | ||
} | ||
} | ||
interface PauseCollection { | ||
@@ -490,7 +449,2 @@ /** | ||
/** | ||
* This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription. | ||
*/ | ||
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null; | ||
/** | ||
* This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription. | ||
@@ -634,4 +588,2 @@ */ | ||
interface IdBankTransfer {} | ||
interface Konbini {} | ||
@@ -671,7 +623,2 @@ | ||
account_subcategories?: Array<Filters.AccountSubcategory>; | ||
/** | ||
* The institution to use to filter for possible accounts to link. | ||
*/ | ||
institution?: string; | ||
} | ||
@@ -689,7 +636,3 @@ | ||
type Prefetch = | ||
| 'balances' | ||
| 'inferred_balances' | ||
| 'ownership' | ||
| 'transactions'; | ||
type Prefetch = 'balances' | 'ownership' | 'transactions'; | ||
} | ||
@@ -712,3 +655,2 @@ | ||
| 'cashapp' | ||
| 'custom' | ||
| 'customer_balance' | ||
@@ -719,3 +661,2 @@ | 'eps' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -773,7 +714,2 @@ | 'jp_credit_transfer' | ||
/** | ||
* The number of iterations of prebilling to apply. | ||
*/ | ||
prebilling_iterations?: number | null; | ||
/** | ||
* List of subscription items, each with an attached plan, that will be set if the update is applied. | ||
@@ -794,28 +730,2 @@ */ | ||
interface Prebilling { | ||
/** | ||
* ID of the prebilling invoice. | ||
*/ | ||
invoice: string | Stripe.Invoice; | ||
/** | ||
* The end of the last period for which the invoice pre-bills. | ||
*/ | ||
period_end: number; | ||
/** | ||
* The start of the first period for which the invoice pre-bills. | ||
*/ | ||
period_start: number; | ||
/** | ||
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. | ||
*/ | ||
update_behavior?: Prebilling.UpdateBehavior; | ||
} | ||
namespace Prebilling { | ||
type UpdateBehavior = 'prebill' | 'reset'; | ||
} | ||
type Status = | ||
@@ -822,0 +732,0 @@ | 'active' |
@@ -31,7 +31,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. | ||
*/ | ||
billing_behavior?: SubscriptionSchedule.BillingBehavior; | ||
/** | ||
* Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch. | ||
@@ -69,7 +64,2 @@ */ | ||
/** | ||
* Details of the most recent price migration that failed for the subscription schedule. | ||
*/ | ||
last_price_migration_error?: SubscriptionSchedule.LastPriceMigrationError | null; | ||
/** | ||
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. | ||
@@ -90,7 +80,2 @@ */ | ||
/** | ||
* Time period and invoice for a Subscription billed in advance. | ||
*/ | ||
prebilling?: SubscriptionSchedule.Prebilling | null; | ||
/** | ||
* Time at which the subscription schedule was released. Measured in seconds since the Unix epoch. | ||
@@ -122,4 +107,2 @@ */ | ||
namespace SubscriptionSchedule { | ||
type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front'; | ||
interface CurrentPhase { | ||
@@ -284,33 +267,2 @@ /** | ||
interface LastPriceMigrationError { | ||
/** | ||
* The time at which the price migration encountered an error. | ||
*/ | ||
errored_at: number; | ||
/** | ||
* The involved price pairs in each failed transition. | ||
*/ | ||
failed_transitions: Array<LastPriceMigrationError.FailedTransition>; | ||
/** | ||
* The type of error encountered by the price migration. | ||
*/ | ||
type: 'price_uniqueness_violation'; | ||
} | ||
namespace LastPriceMigrationError { | ||
interface FailedTransition { | ||
/** | ||
* The original price to be migrated. | ||
*/ | ||
source_price: string; | ||
/** | ||
* The intended resulting price of the migration. | ||
*/ | ||
target_price: string; | ||
} | ||
} | ||
interface Phase { | ||
@@ -400,7 +352,2 @@ /** | ||
/** | ||
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment). | ||
*/ | ||
pause_collection?: Phase.PauseCollection | null; | ||
/** | ||
* If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`. | ||
@@ -421,15 +368,5 @@ */ | ||
/** | ||
* Specify behavior of the trial when crossing schedule phase boundaries | ||
*/ | ||
trial_continuation?: Phase.TrialContinuation | null; | ||
/** | ||
* When the trial ends within the phase. | ||
*/ | ||
trial_end: number | null; | ||
/** | ||
* Settings related to any trials on the subscription during this phase. | ||
*/ | ||
trial_settings?: Phase.TrialSettings | null; | ||
} | ||
@@ -473,7 +410,2 @@ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd | null; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -483,16 +415,2 @@ */ | ||
} | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* The discount end timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The discount end type. | ||
*/ | ||
type: 'timestamp'; | ||
} | ||
} | ||
} | ||
@@ -563,7 +481,2 @@ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd | null; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -574,16 +487,2 @@ */ | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* The discount end timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The discount end type. | ||
*/ | ||
type: 'timestamp'; | ||
} | ||
} | ||
interface InvoiceSettings { | ||
@@ -661,7 +560,2 @@ /** | ||
tax_rates?: Array<Stripe.TaxRate> | null; | ||
/** | ||
* Options that configure the trial on the subscription item. | ||
*/ | ||
trial?: Item.Trial | null; | ||
} | ||
@@ -689,7 +583,2 @@ | ||
/** | ||
* Details to determine how long the discount should be applied for. | ||
*/ | ||
discount_end?: Discount.DiscountEnd | null; | ||
/** | ||
* ID of the promotion code to create a new discount for. | ||
@@ -699,45 +588,4 @@ */ | ||
} | ||
namespace Discount { | ||
interface DiscountEnd { | ||
/** | ||
* The discount end timestamp. | ||
*/ | ||
timestamp: number | null; | ||
/** | ||
* The discount end type. | ||
*/ | ||
type: 'timestamp'; | ||
} | ||
} | ||
interface Trial { | ||
/** | ||
* List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. | ||
*/ | ||
converts_to?: Array<string> | null; | ||
/** | ||
* Determines the type of trial for this item. | ||
*/ | ||
type: Trial.Type; | ||
} | ||
namespace Trial { | ||
type Type = 'free' | 'paid'; | ||
} | ||
} | ||
interface PauseCollection { | ||
/** | ||
* The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. | ||
*/ | ||
behavior: PauseCollection.Behavior; | ||
} | ||
namespace PauseCollection { | ||
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void'; | ||
} | ||
type ProrationBehavior = | ||
@@ -759,52 +607,4 @@ | 'always_invoice' | ||
} | ||
type TrialContinuation = 'continue' | 'none'; | ||
interface TrialSettings { | ||
/** | ||
* Defines how the subscription should behave when a trial ends. | ||
*/ | ||
end_behavior: TrialSettings.EndBehavior | null; | ||
} | ||
namespace TrialSettings { | ||
interface EndBehavior { | ||
/** | ||
* Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`. | ||
*/ | ||
prorate_up_front: EndBehavior.ProrateUpFront | null; | ||
} | ||
namespace EndBehavior { | ||
type ProrateUpFront = 'defer' | 'include'; | ||
} | ||
} | ||
} | ||
interface Prebilling { | ||
/** | ||
* ID of the prebilling invoice. | ||
*/ | ||
invoice: string | Stripe.Invoice; | ||
/** | ||
* The end of the last period for which the invoice pre-bills. | ||
*/ | ||
period_end: number; | ||
/** | ||
* The start of the first period for which the invoice pre-bills. | ||
*/ | ||
period_start: number; | ||
/** | ||
* Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. | ||
*/ | ||
update_behavior?: Prebilling.UpdateBehavior; | ||
} | ||
namespace Prebilling { | ||
type UpdateBehavior = 'prebill' | 'reset'; | ||
} | ||
type Status = | ||
@@ -811,0 +611,0 @@ | 'active' |
@@ -101,17 +101,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Represents a reader action to collect customer inputs | ||
*/ | ||
collect_inputs?: Action.CollectInputs; | ||
/** | ||
* Represents a reader action to collect a payment method | ||
*/ | ||
collect_payment_method?: Action.CollectPaymentMethod; | ||
/** | ||
* Represents a reader action to confirm a payment | ||
*/ | ||
confirm_payment_intent?: Action.ConfirmPaymentIntent; | ||
/** | ||
* Failure code, only set if status is `failed`. | ||
@@ -158,271 +143,4 @@ */ | ||
namespace Action { | ||
interface CollectInputs { | ||
/** | ||
* List of inputs to be collected. | ||
*/ | ||
inputs: Array<CollectInputs.Input>; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | ||
*/ | ||
metadata: Stripe.Metadata | null; | ||
} | ||
namespace CollectInputs { | ||
interface Input { | ||
/** | ||
* Default text of input being collected. | ||
*/ | ||
custom_text: Input.CustomText | null; | ||
/** | ||
* Information about a email being collected using a reader | ||
*/ | ||
email?: Input.Email; | ||
/** | ||
* Information about a number being collected using a reader | ||
*/ | ||
numeric?: Input.Numeric; | ||
/** | ||
* Information about a phone number being collected using a reader | ||
*/ | ||
phone?: Input.Phone; | ||
/** | ||
* Indicate that this input is required, disabling the skip button. | ||
*/ | ||
required: boolean | null; | ||
/** | ||
* Information about a selection being collected using a reader | ||
*/ | ||
selection?: Input.Selection; | ||
/** | ||
* Information about a signature being collected using a reader | ||
*/ | ||
signature?: Input.Signature; | ||
/** | ||
* Indicate that this input was skipped by the user. | ||
*/ | ||
skipped?: boolean; | ||
/** | ||
* Information about text being collected using a reader | ||
*/ | ||
text?: Input.Text; | ||
/** | ||
* List of toggles being collected. Values are present if collection is complete. | ||
*/ | ||
toggles: Array<Input.Toggle> | null; | ||
/** | ||
* Type of input being collected. | ||
*/ | ||
type: Input.Type; | ||
} | ||
namespace Input { | ||
interface CustomText { | ||
/** | ||
* Customize the default description for this input | ||
*/ | ||
description: string | null; | ||
/** | ||
* Customize the default label for this input's skip button | ||
*/ | ||
skip_button: string | null; | ||
/** | ||
* Customize the default label for this input's submit button | ||
*/ | ||
submit_button: string | null; | ||
/** | ||
* Customize the default title for this input | ||
*/ | ||
title: string | null; | ||
} | ||
interface Email { | ||
/** | ||
* The collected email address | ||
*/ | ||
value: string | null; | ||
} | ||
interface Numeric { | ||
/** | ||
* The collected number | ||
*/ | ||
value: string | null; | ||
} | ||
interface Phone { | ||
/** | ||
* The collected phone number | ||
*/ | ||
value: string | null; | ||
} | ||
interface Selection { | ||
/** | ||
* List of possible choices to be selected | ||
*/ | ||
choices: Array<Selection.Choice>; | ||
/** | ||
* The value of the selected choice | ||
*/ | ||
value: string | null; | ||
} | ||
namespace Selection { | ||
interface Choice { | ||
/** | ||
* The button style for the choice | ||
*/ | ||
style: Choice.Style | null; | ||
/** | ||
* A value to be selected | ||
*/ | ||
value: string; | ||
} | ||
namespace Choice { | ||
type Style = 'primary' | 'secondary'; | ||
} | ||
} | ||
interface Signature { | ||
/** | ||
* The File ID of a collected signature image | ||
*/ | ||
value: string | null; | ||
} | ||
interface Text { | ||
/** | ||
* The collected text value | ||
*/ | ||
value: string | null; | ||
} | ||
interface Toggle { | ||
/** | ||
* The toggle's default value | ||
*/ | ||
default_value: Toggle.DefaultValue | null; | ||
/** | ||
* The toggle's description text | ||
*/ | ||
description: string | null; | ||
/** | ||
* The toggle's title text | ||
*/ | ||
title: string | null; | ||
/** | ||
* The toggle's collected value | ||
*/ | ||
value: Toggle.Value | null; | ||
} | ||
namespace Toggle { | ||
type DefaultValue = 'disabled' | 'enabled'; | ||
type Value = 'disabled' | 'enabled'; | ||
} | ||
type Type = | ||
| 'email' | ||
| 'numeric' | ||
| 'phone' | ||
| 'selection' | ||
| 'signature' | ||
| 'text'; | ||
} | ||
} | ||
interface CollectPaymentMethod { | ||
/** | ||
* Account the payment intent belongs to. | ||
*/ | ||
account?: string; | ||
/** | ||
* Represents a per-transaction override of a reader configuration | ||
*/ | ||
collect_config?: CollectPaymentMethod.CollectConfig; | ||
/** | ||
* Most recent PaymentIntent processed by the reader. | ||
*/ | ||
payment_intent: string | Stripe.PaymentIntent; | ||
/** | ||
* PaymentMethod objects represent your customer's payment instruments. | ||
* You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to | ||
* Customer objects to store instrument details for future payments. | ||
* | ||
* Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). | ||
*/ | ||
payment_method?: Stripe.PaymentMethod; | ||
} | ||
namespace CollectPaymentMethod { | ||
interface CollectConfig { | ||
/** | ||
* Enable customer initiated cancellation when processing this payment. | ||
*/ | ||
enable_customer_cancellation?: boolean; | ||
/** | ||
* Override showing a tipping selection screen on this transaction. | ||
*/ | ||
skip_tipping?: boolean; | ||
/** | ||
* Represents a per-transaction tipping configuration | ||
*/ | ||
tipping?: CollectConfig.Tipping; | ||
} | ||
namespace CollectConfig { | ||
interface Tipping { | ||
/** | ||
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). | ||
*/ | ||
amount_eligible?: number; | ||
} | ||
} | ||
} | ||
interface ConfirmPaymentIntent { | ||
/** | ||
* Account the payment intent belongs to. | ||
*/ | ||
account?: string; | ||
/** | ||
* Most recent PaymentIntent processed by the reader. | ||
*/ | ||
payment_intent: string | Stripe.PaymentIntent; | ||
} | ||
interface ProcessPaymentIntent { | ||
/** | ||
* Account the payment intent belongs to. | ||
*/ | ||
account?: string; | ||
/** | ||
* Most recent PaymentIntent processed by the reader. | ||
@@ -494,7 +212,2 @@ */ | ||
/** | ||
* Account the payment intent belongs to. | ||
*/ | ||
account?: string; | ||
/** | ||
* The amount being refunded. | ||
@@ -614,5 +327,2 @@ */ | ||
type Type = | ||
| 'collect_inputs' | ||
| 'collect_payment_method' | ||
| 'confirm_payment_intent' | ||
| 'process_payment_intent' | ||
@@ -619,0 +329,0 @@ | 'process_setup_intent' |
@@ -107,190 +107,2 @@ // File generated from our OpenAPI spec | ||
interface ReaderCollectInputsParams { | ||
/** | ||
* List of inputs to be collected using the Reader | ||
*/ | ||
inputs: Array<ReaderCollectInputsParams.Input>; | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
*/ | ||
expand?: Array<string>; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
*/ | ||
metadata?: Stripe.MetadataParam; | ||
} | ||
namespace ReaderCollectInputsParams { | ||
interface Input { | ||
/** | ||
* Customize the text which will be displayed while collecting this input | ||
*/ | ||
custom_text: Input.CustomText; | ||
/** | ||
* Indicate that this input is required, disabling the skip button | ||
*/ | ||
required?: boolean; | ||
/** | ||
* Options for the `selection` input | ||
*/ | ||
selection?: Input.Selection; | ||
/** | ||
* List of toggles to be displayed and customization for the toggles | ||
*/ | ||
toggles?: Array<Input.Toggle>; | ||
/** | ||
* The type of input to collect | ||
*/ | ||
type: Input.Type; | ||
} | ||
namespace Input { | ||
interface CustomText { | ||
/** | ||
* The description which will be displayed when collecting this input | ||
*/ | ||
description?: string; | ||
/** | ||
* The skip button text | ||
*/ | ||
skip_button?: string; | ||
/** | ||
* The submit button text | ||
*/ | ||
submit_button?: string; | ||
/** | ||
* The title which will be displayed when collecting this input | ||
*/ | ||
title: string; | ||
} | ||
interface Selection { | ||
/** | ||
* List of choices for the `selection` input | ||
*/ | ||
choices: Array<Selection.Choice>; | ||
} | ||
namespace Selection { | ||
interface Choice { | ||
/** | ||
* The style of the button which will be shown for this choice | ||
*/ | ||
style?: Choice.Style; | ||
/** | ||
* The text which will be shown on the button for this choice | ||
*/ | ||
value: string; | ||
} | ||
namespace Choice { | ||
type Style = 'primary' | 'secondary'; | ||
} | ||
} | ||
interface Toggle { | ||
/** | ||
* The default value of the toggle | ||
*/ | ||
default_value?: Toggle.DefaultValue; | ||
/** | ||
* The description which will be displayed for the toggle | ||
*/ | ||
description?: string; | ||
/** | ||
* The title which will be displayed for the toggle | ||
*/ | ||
title?: string; | ||
} | ||
namespace Toggle { | ||
type DefaultValue = 'disabled' | 'enabled'; | ||
} | ||
type Type = | ||
| 'email' | ||
| 'numeric' | ||
| 'phone' | ||
| 'selection' | ||
| 'signature' | ||
| 'text'; | ||
} | ||
} | ||
interface ReaderCollectPaymentMethodParams { | ||
/** | ||
* PaymentIntent ID | ||
*/ | ||
payment_intent: string; | ||
/** | ||
* Configuration overrides | ||
*/ | ||
collect_config?: ReaderCollectPaymentMethodParams.CollectConfig; | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
*/ | ||
expand?: Array<string>; | ||
} | ||
namespace ReaderCollectPaymentMethodParams { | ||
interface CollectConfig { | ||
/** | ||
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. | ||
*/ | ||
allow_redisplay?: CollectConfig.AllowRedisplay; | ||
/** | ||
* Enables cancel button on transaction screens. | ||
*/ | ||
enable_customer_cancellation?: boolean; | ||
/** | ||
* Override showing a tipping selection screen on this transaction. | ||
*/ | ||
skip_tipping?: boolean; | ||
/** | ||
* Tipping configuration for this transaction. | ||
*/ | ||
tipping?: CollectConfig.Tipping; | ||
} | ||
namespace CollectConfig { | ||
type AllowRedisplay = 'always' | 'limited' | 'unspecified'; | ||
interface Tipping { | ||
/** | ||
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). | ||
*/ | ||
amount_eligible?: number; | ||
} | ||
} | ||
} | ||
interface ReaderConfirmPaymentIntentParams { | ||
/** | ||
* PaymentIntent ID | ||
*/ | ||
payment_intent: string; | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
*/ | ||
expand?: Array<string>; | ||
} | ||
interface ReaderProcessPaymentIntentParams { | ||
@@ -571,29 +383,2 @@ /** | ||
/** | ||
* Initiates an input collection flow on a Reader. | ||
*/ | ||
collectInputs( | ||
id: string, | ||
params: ReaderCollectInputsParams, | ||
options?: RequestOptions | ||
): Promise<Stripe.Response<Stripe.Terminal.Reader>>; | ||
/** | ||
* Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. | ||
*/ | ||
collectPaymentMethod( | ||
id: string, | ||
params: ReaderCollectPaymentMethodParams, | ||
options?: RequestOptions | ||
): Promise<Stripe.Response<Stripe.Terminal.Reader>>; | ||
/** | ||
* Finalizes a payment on a Reader. | ||
*/ | ||
confirmPaymentIntent( | ||
id: string, | ||
params: ReaderConfirmPaymentIntentParams, | ||
options?: RequestOptions | ||
): Promise<Stripe.Response<Stripe.Terminal.Reader>>; | ||
/** | ||
* Initiates a payment flow on a Reader. | ||
@@ -600,0 +385,0 @@ */ |
@@ -12,3 +12,3 @@ /** | ||
let stripe = new Stripe('sk_test_123', { | ||
apiVersion: '2025-01-27.acacia', | ||
apiVersion: '2025-02-24.acacia', | ||
}); | ||
@@ -30,3 +30,3 @@ | ||
stripe = new Stripe('sk_test_123', { | ||
apiVersion: '2025-01-27.acacia', | ||
apiVersion: '2025-02-24.acacia', | ||
typescript: true, | ||
@@ -49,3 +49,3 @@ maxNetworkRetries: 1, | ||
const opts: Stripe.RequestOptions = { | ||
apiVersion: '2025-01-27.acacia', | ||
apiVersion: '2025-02-24.acacia', | ||
}; | ||
@@ -52,0 +52,0 @@ const customer: Stripe.Customer = await stripe.customers.create(params, opts); |
@@ -133,7 +133,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. | ||
*/ | ||
gopay?: PaymentMethodData.Gopay; | ||
/** | ||
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. | ||
@@ -144,7 +139,2 @@ */ | ||
/** | ||
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. | ||
*/ | ||
id_bank_transfer?: PaymentMethodData.IdBankTransfer; | ||
/** | ||
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. | ||
@@ -185,7 +175,2 @@ */ | ||
/** | ||
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. | ||
*/ | ||
mb_way?: PaymentMethodData.MbWay; | ||
/** | ||
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. | ||
@@ -241,7 +226,2 @@ */ | ||
/** | ||
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. | ||
*/ | ||
payto?: PaymentMethodData.Payto; | ||
/** | ||
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. | ||
@@ -257,7 +237,2 @@ */ | ||
/** | ||
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. | ||
*/ | ||
qris?: PaymentMethodData.Qris; | ||
/** | ||
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. | ||
@@ -268,7 +243,2 @@ */ | ||
/** | ||
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. | ||
*/ | ||
rechnung?: PaymentMethodData.Rechnung; | ||
/** | ||
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. | ||
@@ -289,7 +259,2 @@ */ | ||
/** | ||
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. | ||
*/ | ||
shopeepay?: PaymentMethodData.Shopeepay; | ||
/** | ||
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. | ||
@@ -502,17 +467,4 @@ */ | ||
interface Gopay {} | ||
interface Grabpay {} | ||
interface IdBankTransfer { | ||
/** | ||
* Bank where the account is held. | ||
*/ | ||
bank?: IdBankTransfer.Bank; | ||
} | ||
namespace IdBankTransfer { | ||
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; | ||
} | ||
interface Ideal { | ||
@@ -581,4 +533,2 @@ /** | ||
interface MbWay {} | ||
interface Mobilepay {} | ||
@@ -646,19 +596,2 @@ | ||
interface Payto { | ||
/** | ||
* The account number for the bank account. | ||
*/ | ||
account_number?: string; | ||
/** | ||
* Bank-State-Branch number of the bank account. | ||
*/ | ||
bsb_number?: string; | ||
/** | ||
* The PayID alias for the bank account. | ||
*/ | ||
pay_id?: string; | ||
} | ||
interface Pix {} | ||
@@ -668,4 +601,2 @@ | ||
interface Qris {} | ||
interface RadarOptions { | ||
@@ -678,28 +609,2 @@ /** | ||
interface Rechnung { | ||
/** | ||
* Customer's date of birth | ||
*/ | ||
dob: Rechnung.Dob; | ||
} | ||
namespace Rechnung { | ||
interface Dob { | ||
/** | ||
* The day of birth, between 1 and 31. | ||
*/ | ||
day: number; | ||
/** | ||
* The month of birth, between 1 and 12. | ||
*/ | ||
month: number; | ||
/** | ||
* The four-digit year of birth. | ||
*/ | ||
year: number; | ||
} | ||
} | ||
interface RevolutPay {} | ||
@@ -716,4 +621,2 @@ | ||
interface Shopeepay {} | ||
interface Sofort { | ||
@@ -751,5 +654,3 @@ /** | ||
| 'giropay' | ||
| 'gopay' | ||
| 'grabpay' | ||
| 'id_bank_transfer' | ||
| 'ideal' | ||
@@ -761,3 +662,2 @@ | 'kakao_pay' | ||
| 'link' | ||
| 'mb_way' | ||
| 'mobilepay' | ||
@@ -772,11 +672,7 @@ | 'multibanco' | ||
| 'paypal' | ||
| 'payto' | ||
| 'pix' | ||
| 'promptpay' | ||
| 'qris' | ||
| 'rechnung' | ||
| 'revolut_pay' | ||
| 'samsung_pay' | ||
| 'sepa_debit' | ||
| 'shopeepay' | ||
| 'sofort' | ||
@@ -783,0 +679,0 @@ | 'swish' |
@@ -42,7 +42,2 @@ // File generated from our OpenAPI spec | ||
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails; | ||
/** | ||
* Details about the network used for the ReceivedCredit. | ||
*/ | ||
network_details?: ReceivedCreditCreateParams.NetworkDetails; | ||
} | ||
@@ -83,23 +78,2 @@ | ||
type Network = 'ach' | 'us_domestic_wire'; | ||
interface NetworkDetails { | ||
/** | ||
* Optional fields for `ach`. | ||
*/ | ||
ach?: NetworkDetails.Ach; | ||
/** | ||
* The type of flow that originated the ReceivedCredit. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* ACH Addenda record | ||
*/ | ||
addenda?: string; | ||
} | ||
} | ||
} | ||
@@ -106,0 +80,0 @@ } |
@@ -42,7 +42,2 @@ // File generated from our OpenAPI spec | ||
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails; | ||
/** | ||
* Details about the network used for the ReceivedDebit. | ||
*/ | ||
network_details?: ReceivedDebitCreateParams.NetworkDetails; | ||
} | ||
@@ -81,23 +76,2 @@ | ||
} | ||
interface NetworkDetails { | ||
/** | ||
* Optional fields for `ach`. | ||
*/ | ||
ach?: NetworkDetails.Ach; | ||
/** | ||
* The type of flow that originated the ReceivedDebit. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* Addenda record data associated with this ReceivedDebit. | ||
*/ | ||
addenda?: string; | ||
} | ||
} | ||
} | ||
@@ -104,0 +78,0 @@ } |
@@ -722,3 +722,3 @@ // File generated from our OpenAPI spec | ||
*/ | ||
political_exposure?: Person.PoliticalExposure; | ||
political_exposure?: string; | ||
@@ -830,4 +830,2 @@ /** | ||
type PoliticalExposure = 'existing' | 'none'; | ||
interface Relationship { | ||
@@ -834,0 +832,0 @@ /** |
@@ -179,7 +179,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Requested bank partner for this Financial Account | ||
*/ | ||
bank?: Aba.Bank; | ||
/** | ||
* Whether the FinancialAccount should have the Feature. | ||
@@ -201,4 +196,2 @@ */ | ||
namespace Aba { | ||
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; | ||
type Status = 'active' | 'pending' | 'restricted'; | ||
@@ -205,0 +198,0 @@ |
@@ -42,7 +42,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts. | ||
*/ | ||
display_name?: string | null; | ||
/** | ||
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`. | ||
@@ -49,0 +44,0 @@ * Stripe or the platform can control Features via the requested field. |
@@ -13,7 +13,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts. | ||
*/ | ||
display_name?: Stripe.Emptyable<string>; | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
@@ -107,7 +102,2 @@ */ | ||
/** | ||
* Requested bank partner | ||
*/ | ||
bank?: Aba.Bank; | ||
/** | ||
* Whether the FinancialAccount should have the Feature. | ||
@@ -117,6 +107,2 @@ */ | ||
} | ||
namespace Aba { | ||
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; | ||
} | ||
} | ||
@@ -232,7 +218,2 @@ | ||
/** | ||
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts. | ||
*/ | ||
display_name?: Stripe.Emptyable<string>; | ||
/** | ||
* Specifies which fields in the response should be expanded. | ||
@@ -331,7 +312,2 @@ */ | ||
/** | ||
* Requested bank partner | ||
*/ | ||
bank?: Aba.Bank; | ||
/** | ||
* Whether the FinancialAccount should have the Feature. | ||
@@ -341,6 +317,2 @@ */ | ||
} | ||
namespace Aba { | ||
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; | ||
} | ||
} | ||
@@ -589,7 +561,2 @@ | ||
/** | ||
* Requested bank partner | ||
*/ | ||
bank?: Aba.Bank; | ||
/** | ||
* Whether the FinancialAccount should have the Feature. | ||
@@ -599,6 +566,2 @@ */ | ||
} | ||
namespace Aba { | ||
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs'; | ||
} | ||
} | ||
@@ -605,0 +568,0 @@ |
@@ -82,7 +82,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Details about the network used for the OutboundTransfer. | ||
*/ | ||
network_details?: OutboundTransfer.NetworkDetails | null; | ||
/** | ||
* Details about a returned OutboundTransfer. Only set when the status is `returned`. | ||
@@ -209,23 +204,2 @@ */ | ||
interface NetworkDetails { | ||
/** | ||
* Details about an ACH transaction. | ||
*/ | ||
ach?: NetworkDetails.Ach | null; | ||
/** | ||
* The type of flow that originated the OutboundTransfer. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* ACH Addenda record | ||
*/ | ||
addenda: string | null; | ||
} | ||
} | ||
interface ReturnedDetails { | ||
@@ -232,0 +206,0 @@ /** |
@@ -53,7 +53,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Details about the network used for the OutboundTransfer. | ||
*/ | ||
network_details?: OutboundTransferCreateParams.NetworkDetails; | ||
/** | ||
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer". | ||
@@ -98,23 +93,2 @@ */ | ||
} | ||
interface NetworkDetails { | ||
/** | ||
* Optional fields for `ach`. | ||
*/ | ||
ach?: NetworkDetails.Ach; | ||
/** | ||
* The type of flow that originated the OutboundTransfer. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* Addenda record data associated with this OutboundTransfer. | ||
*/ | ||
addenda?: string; | ||
} | ||
} | ||
} | ||
@@ -121,0 +95,0 @@ |
@@ -70,7 +70,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Details specific to the money movement rails. | ||
*/ | ||
network_details?: ReceivedCredit.NetworkDetails | null; | ||
/** | ||
* Details describing when a ReceivedCredit may be reversed. | ||
@@ -260,23 +255,2 @@ */ | ||
interface NetworkDetails { | ||
/** | ||
* Details about an ACH transaction. | ||
*/ | ||
ach?: NetworkDetails.Ach | null; | ||
/** | ||
* The type of flow that originated the ReceivedCredit. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* ACH Addenda record | ||
*/ | ||
addenda: string | null; | ||
} | ||
} | ||
interface ReversalDetails { | ||
@@ -283,0 +257,0 @@ /** |
@@ -70,7 +70,2 @@ // File generated from our OpenAPI spec | ||
/** | ||
* Details specific to the money movement rails. | ||
*/ | ||
network_details?: ReceivedDebit.NetworkDetails | null; | ||
/** | ||
* Details describing when a ReceivedDebit might be reversed. | ||
@@ -199,7 +194,2 @@ */ | ||
payout: string | null; | ||
/** | ||
* The ReceivedCredit that Capital withheld from | ||
*/ | ||
received_credit_capital_withholding?: string | null; | ||
} | ||
@@ -209,23 +199,2 @@ | ||
interface NetworkDetails { | ||
/** | ||
* Details about an ACH transaction. | ||
*/ | ||
ach?: NetworkDetails.Ach | null; | ||
/** | ||
* The type of flow that originated the ReceivedDebit. | ||
*/ | ||
type: 'ach'; | ||
} | ||
namespace NetworkDetails { | ||
interface Ach { | ||
/** | ||
* ACH Addenda record | ||
*/ | ||
addenda: string | null; | ||
} | ||
} | ||
interface ReversalDetails { | ||
@@ -232,0 +201,0 @@ /** |
@@ -150,3 +150,4 @@ // File generated from our OpenAPI spec | ||
| '2024-12-18.acacia' | ||
| '2025-01-27.acacia'; | ||
| '2025-01-27.acacia' | ||
| '2025-02-24.acacia'; | ||
@@ -161,4 +162,2 @@ type EnabledEvent = | ||
| 'account.updated' | ||
| 'account_notice.created' | ||
| 'account_notice.updated' | ||
| 'application_fee.created' | ||
@@ -169,3 +168,2 @@ | 'application_fee.refund.updated' | ||
| 'billing.alert.triggered' | ||
| 'billing.meter_error_report.triggered' | ||
| 'billing_portal.configuration.created' | ||
@@ -175,11 +173,2 @@ | 'billing_portal.configuration.updated' | ||
| 'capability.updated' | ||
| 'capital.financing_offer.accepted' | ||
| 'capital.financing_offer.canceled' | ||
| 'capital.financing_offer.created' | ||
| 'capital.financing_offer.expired' | ||
| 'capital.financing_offer.fully_repaid' | ||
| 'capital.financing_offer.paid_out' | ||
| 'capital.financing_offer.rejected' | ||
| 'capital.financing_offer.replacement_created' | ||
| 'capital.financing_transaction.created' | ||
| 'cash_balance.funds_available' | ||
@@ -225,6 +214,3 @@ | 'charge.captured' | ||
| 'customer.source.updated' | ||
| 'customer.subscription.collection_paused' | ||
| 'customer.subscription.collection_resumed' | ||
| 'customer.subscription.created' | ||
| 'customer.subscription.custom_event' | ||
| 'customer.subscription.deleted' | ||
@@ -234,3 +220,2 @@ | 'customer.subscription.paused' | ||
| 'customer.subscription.pending_update_expired' | ||
| 'customer.subscription.price_migration_failed' | ||
| 'customer.subscription.resumed' | ||
@@ -251,6 +236,4 @@ | 'customer.subscription.trial_will_end' | ||
| 'financial_connections.account.refreshed_balance' | ||
| 'financial_connections.account.refreshed_inferred_balances' | ||
| 'financial_connections.account.refreshed_ownership' | ||
| 'financial_connections.account.refreshed_transactions' | ||
| 'financial_connections.session.updated' | ||
| 'identity.verification_session.canceled' | ||
@@ -268,7 +251,4 @@ | 'identity.verification_session.created' | ||
| 'invoice.overdue' | ||
| 'invoice.overpaid' | ||
| 'invoice.paid' | ||
| 'invoice.payment.overpaid' | ||
| 'invoice.payment_action_required' | ||
| 'invoice.payment_attempt_required' | ||
| 'invoice.payment_failed' | ||
@@ -296,5 +276,2 @@ | 'invoice.payment_succeeded' | ||
| 'issuing_dispute.updated' | ||
| 'issuing_dispute_settlement_detail.created' | ||
| 'issuing_dispute_settlement_detail.updated' | ||
| 'issuing_fraud_liability_debit.created' | ||
| 'issuing_personalization_design.activated' | ||
@@ -304,4 +281,2 @@ | 'issuing_personalization_design.deactivated' | ||
| 'issuing_personalization_design.updated' | ||
| 'issuing_settlement.created' | ||
| 'issuing_settlement.updated' | ||
| 'issuing_token.created' | ||
@@ -347,12 +322,6 @@ | 'issuing_token.updated' | ||
| 'promotion_code.updated' | ||
| 'quote.accept_failed' | ||
| 'quote.accepted' | ||
| 'quote.accepting' | ||
| 'quote.canceled' | ||
| 'quote.created' | ||
| 'quote.draft' | ||
| 'quote.finalized' | ||
| 'quote.reestimate_failed' | ||
| 'quote.reestimated' | ||
| 'quote.stale' | ||
| 'radar.early_fraud_warning.created' | ||
@@ -386,6 +355,4 @@ | 'radar.early_fraud_warning.updated' | ||
| 'subscription_schedule.expiring' | ||
| 'subscription_schedule.price_migration_failed' | ||
| 'subscription_schedule.released' | ||
| 'subscription_schedule.updated' | ||
| 'tax.form.updated' | ||
| 'tax.settings.updated' | ||
@@ -396,3 +363,2 @@ | 'tax_rate.created' | ||
| 'terminal.reader.action_succeeded' | ||
| 'terminal.reader.action_updated' | ||
| 'test_helpers.test_clock.advancing' | ||
@@ -491,4 +457,2 @@ | 'test_helpers.test_clock.created' | ||
| 'account.updated' | ||
| 'account_notice.created' | ||
| 'account_notice.updated' | ||
| 'application_fee.created' | ||
@@ -499,3 +463,2 @@ | 'application_fee.refund.updated' | ||
| 'billing.alert.triggered' | ||
| 'billing.meter_error_report.triggered' | ||
| 'billing_portal.configuration.created' | ||
@@ -505,11 +468,2 @@ | 'billing_portal.configuration.updated' | ||
| 'capability.updated' | ||
| 'capital.financing_offer.accepted' | ||
| 'capital.financing_offer.canceled' | ||
| 'capital.financing_offer.created' | ||
| 'capital.financing_offer.expired' | ||
| 'capital.financing_offer.fully_repaid' | ||
| 'capital.financing_offer.paid_out' | ||
| 'capital.financing_offer.rejected' | ||
| 'capital.financing_offer.replacement_created' | ||
| 'capital.financing_transaction.created' | ||
| 'cash_balance.funds_available' | ||
@@ -555,6 +509,3 @@ | 'charge.captured' | ||
| 'customer.source.updated' | ||
| 'customer.subscription.collection_paused' | ||
| 'customer.subscription.collection_resumed' | ||
| 'customer.subscription.created' | ||
| 'customer.subscription.custom_event' | ||
| 'customer.subscription.deleted' | ||
@@ -564,3 +515,2 @@ | 'customer.subscription.paused' | ||
| 'customer.subscription.pending_update_expired' | ||
| 'customer.subscription.price_migration_failed' | ||
| 'customer.subscription.resumed' | ||
@@ -581,6 +531,4 @@ | 'customer.subscription.trial_will_end' | ||
| 'financial_connections.account.refreshed_balance' | ||
| 'financial_connections.account.refreshed_inferred_balances' | ||
| 'financial_connections.account.refreshed_ownership' | ||
| 'financial_connections.account.refreshed_transactions' | ||
| 'financial_connections.session.updated' | ||
| 'identity.verification_session.canceled' | ||
@@ -598,7 +546,4 @@ | 'identity.verification_session.created' | ||
| 'invoice.overdue' | ||
| 'invoice.overpaid' | ||
| 'invoice.paid' | ||
| 'invoice.payment.overpaid' | ||
| 'invoice.payment_action_required' | ||
| 'invoice.payment_attempt_required' | ||
| 'invoice.payment_failed' | ||
@@ -626,5 +571,2 @@ | 'invoice.payment_succeeded' | ||
| 'issuing_dispute.updated' | ||
| 'issuing_dispute_settlement_detail.created' | ||
| 'issuing_dispute_settlement_detail.updated' | ||
| 'issuing_fraud_liability_debit.created' | ||
| 'issuing_personalization_design.activated' | ||
@@ -634,4 +576,2 @@ | 'issuing_personalization_design.deactivated' | ||
| 'issuing_personalization_design.updated' | ||
| 'issuing_settlement.created' | ||
| 'issuing_settlement.updated' | ||
| 'issuing_token.created' | ||
@@ -677,12 +617,6 @@ | 'issuing_token.updated' | ||
| 'promotion_code.updated' | ||
| 'quote.accept_failed' | ||
| 'quote.accepted' | ||
| 'quote.accepting' | ||
| 'quote.canceled' | ||
| 'quote.created' | ||
| 'quote.draft' | ||
| 'quote.finalized' | ||
| 'quote.reestimate_failed' | ||
| 'quote.reestimated' | ||
| 'quote.stale' | ||
| 'radar.early_fraud_warning.created' | ||
@@ -716,6 +650,4 @@ | 'radar.early_fraud_warning.updated' | ||
| 'subscription_schedule.expiring' | ||
| 'subscription_schedule.price_migration_failed' | ||
| 'subscription_schedule.released' | ||
| 'subscription_schedule.updated' | ||
| 'tax.form.updated' | ||
| 'tax.settings.updated' | ||
@@ -726,3 +658,2 @@ | 'tax_rate.created' | ||
| 'terminal.reader.action_succeeded' | ||
| 'terminal.reader.action_updated' | ||
| 'test_helpers.test_clock.advancing' | ||
@@ -729,0 +660,0 @@ | 'test_helpers.test_clock.created' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
5356164
596
116761
666