stripe 17.2.0-beta.1 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +115 -873
- package/README.md +7 -6
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/V2/Core/Events.js +50 -7
- package/cjs/resources.js +10 -42
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/V2/Core/Events.js +50 -7
- package/esm/resources.js +0 -29
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -309
- package/types/Accounts.d.ts +1 -113
- package/types/AccountsResource.d.ts +0 -270
- package/types/Charges.d.ts +0 -71
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -296
- package/types/Checkout/SessionsResource.d.ts +5 -351
- package/types/ConfirmationTokens.d.ts +0 -67
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -3
- package/types/Disputes.d.ts +0 -152
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -545
- package/types/Events.d.ts +0 -90
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -123
- package/types/InvoicesResource.d.ts +1835 -5493
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -503
- package/types/PaymentIntentsResource.d.ts +3464 -7064
- package/types/PaymentLinks.d.ts +0 -3
- package/types/PaymentLinksResource.d.ts +0 -6
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -67
- package/types/PaymentMethodsResource.d.ts +0 -88
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/SetupAttempts.d.ts +0 -10
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -522
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +3 -1
- package/types/WebhookEndpointsResource.d.ts +0 -64
- package/types/index.d.ts +0 -53
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1084
- package/types/OrdersResource.d.ts +0 -2765
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1586
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/esm/resources.js
CHANGED
|
@@ -3,13 +3,11 @@ import { resourceNamespace } from './ResourceNamespace.js';
|
|
|
3
3
|
import { Accounts as FinancialConnectionsAccounts } from './resources/FinancialConnections/Accounts.js';
|
|
4
4
|
import { ActiveEntitlements as EntitlementsActiveEntitlements } from './resources/Entitlements/ActiveEntitlements.js';
|
|
5
5
|
import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js';
|
|
6
|
-
import { Associations as TaxAssociations } from './resources/Tax/Associations.js';
|
|
7
6
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
8
7
|
import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js';
|
|
9
8
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
10
9
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
11
10
|
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js';
|
|
12
|
-
import { Cards as GiftCardsCards } from './resources/GiftCards/Cards.js';
|
|
13
11
|
import { Cards as IssuingCards } from './resources/Issuing/Cards.js';
|
|
14
12
|
import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js';
|
|
15
13
|
import { Configurations as TerminalConfigurations } from './resources/Terminal/Configurations.js';
|
|
@@ -19,21 +17,14 @@ import { CreditBalanceSummary as BillingCreditBalanceSummary } from './resources
|
|
|
19
17
|
import { CreditBalanceTransactions as BillingCreditBalanceTransactions } from './resources/Billing/CreditBalanceTransactions.js';
|
|
20
18
|
import { CreditGrants as BillingCreditGrants } from './resources/Billing/CreditGrants.js';
|
|
21
19
|
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js';
|
|
22
|
-
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js';
|
|
23
20
|
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js';
|
|
24
21
|
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js';
|
|
25
|
-
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js';
|
|
26
22
|
import { Disputes as IssuingDisputes } from './resources/Issuing/Disputes.js';
|
|
27
23
|
import { EarlyFraudWarnings as RadarEarlyFraudWarnings } from './resources/Radar/EarlyFraudWarnings.js';
|
|
28
24
|
import { Features as EntitlementsFeatures } from './resources/Entitlements/Features.js';
|
|
29
25
|
import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js';
|
|
30
|
-
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
|
|
31
|
-
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
|
|
32
|
-
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
|
|
33
|
-
import { Forms as TaxForms } from './resources/Tax/Forms.js';
|
|
34
26
|
import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js';
|
|
35
27
|
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
|
|
36
|
-
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
|
|
37
28
|
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
|
|
38
29
|
import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
|
|
39
30
|
import { MeterEvents as BillingMeterEvents } from './resources/Billing/MeterEvents.js';
|
|
@@ -47,7 +38,6 @@ import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } fr
|
|
|
47
38
|
import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
|
|
48
39
|
import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
|
|
49
40
|
import { Products as ClimateProducts } from './resources/Climate/Products.js';
|
|
50
|
-
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
|
|
51
41
|
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
|
|
52
42
|
import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
|
|
53
43
|
import { ReceivedCredits as TestHelpersTreasuryReceivedCredits } from './resources/TestHelpers/Treasury/ReceivedCredits.js';
|
|
@@ -71,7 +61,6 @@ import { Tokens as IssuingTokens } from './resources/Issuing/Tokens.js';
|
|
|
71
61
|
import { TransactionEntries as TreasuryTransactionEntries } from './resources/Treasury/TransactionEntries.js';
|
|
72
62
|
import { Transactions as TestHelpersIssuingTransactions } from './resources/TestHelpers/Issuing/Transactions.js';
|
|
73
63
|
import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js';
|
|
74
|
-
import { Transactions as GiftCardsTransactions } from './resources/GiftCards/Transactions.js';
|
|
75
64
|
import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js';
|
|
76
65
|
import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js';
|
|
77
66
|
import { Transactions as TreasuryTransactions } from './resources/Treasury/Transactions.js';
|
|
@@ -81,7 +70,6 @@ import { VerificationReports as IdentityVerificationReports } from './resources/
|
|
|
81
70
|
import { VerificationSessions as IdentityVerificationSessions } from './resources/Identity/VerificationSessions.js';
|
|
82
71
|
export { Accounts as Account } from './resources/Accounts.js';
|
|
83
72
|
export { AccountLinks } from './resources/AccountLinks.js';
|
|
84
|
-
export { AccountNotices } from './resources/AccountNotices.js';
|
|
85
73
|
export { AccountSessions } from './resources/AccountSessions.js';
|
|
86
74
|
export { Accounts } from './resources/Accounts.js';
|
|
87
75
|
export { ApplePayDomains } from './resources/ApplePayDomains.js';
|
|
@@ -105,9 +93,7 @@ export { InvoiceItems } from './resources/InvoiceItems.js';
|
|
|
105
93
|
export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
|
|
106
94
|
export { Invoices } from './resources/Invoices.js';
|
|
107
95
|
export { Mandates } from './resources/Mandates.js';
|
|
108
|
-
export { Margins } from './resources/Margins.js';
|
|
109
96
|
export { OAuth } from './resources/OAuth.js';
|
|
110
|
-
export { Orders } from './resources/Orders.js';
|
|
111
97
|
export { PaymentIntents } from './resources/PaymentIntents.js';
|
|
112
98
|
export { PaymentLinks } from './resources/PaymentLinks.js';
|
|
113
99
|
export { PaymentMethodConfigurations } from './resources/PaymentMethodConfigurations.js';
|
|
@@ -150,11 +136,6 @@ export const BillingPortal = resourceNamespace('billingPortal', {
|
|
|
150
136
|
Configurations: BillingPortalConfigurations,
|
|
151
137
|
Sessions: BillingPortalSessions,
|
|
152
138
|
});
|
|
153
|
-
export const Capital = resourceNamespace('capital', {
|
|
154
|
-
FinancingOffers: CapitalFinancingOffers,
|
|
155
|
-
FinancingSummary: CapitalFinancingSummary,
|
|
156
|
-
FinancingTransactions: CapitalFinancingTransactions,
|
|
157
|
-
});
|
|
158
139
|
export const Checkout = resourceNamespace('checkout', {
|
|
159
140
|
Sessions: CheckoutSessions,
|
|
160
141
|
});
|
|
@@ -169,17 +150,12 @@ export const Entitlements = resourceNamespace('entitlements', {
|
|
|
169
150
|
});
|
|
170
151
|
export const FinancialConnections = resourceNamespace('financialConnections', {
|
|
171
152
|
Accounts: FinancialConnectionsAccounts,
|
|
172
|
-
Institutions: FinancialConnectionsInstitutions,
|
|
173
153
|
Sessions: FinancialConnectionsSessions,
|
|
174
154
|
Transactions: FinancialConnectionsTransactions,
|
|
175
155
|
});
|
|
176
156
|
export const Forwarding = resourceNamespace('forwarding', {
|
|
177
157
|
Requests: ForwardingRequests,
|
|
178
158
|
});
|
|
179
|
-
export const GiftCards = resourceNamespace('giftCards', {
|
|
180
|
-
Cards: GiftCardsCards,
|
|
181
|
-
Transactions: GiftCardsTransactions,
|
|
182
|
-
});
|
|
183
159
|
export const Identity = resourceNamespace('identity', {
|
|
184
160
|
VerificationReports: IdentityVerificationReports,
|
|
185
161
|
VerificationSessions: IdentityVerificationSessions,
|
|
@@ -188,8 +164,6 @@ export const Issuing = resourceNamespace('issuing', {
|
|
|
188
164
|
Authorizations: IssuingAuthorizations,
|
|
189
165
|
Cardholders: IssuingCardholders,
|
|
190
166
|
Cards: IssuingCards,
|
|
191
|
-
CreditUnderwritingRecords: IssuingCreditUnderwritingRecords,
|
|
192
|
-
DisputeSettlementDetails: IssuingDisputeSettlementDetails,
|
|
193
167
|
Disputes: IssuingDisputes,
|
|
194
168
|
PersonalizationDesigns: IssuingPersonalizationDesigns,
|
|
195
169
|
PhysicalBundles: IssuingPhysicalBundles,
|
|
@@ -209,9 +183,7 @@ export const Sigma = resourceNamespace('sigma', {
|
|
|
209
183
|
ScheduledQueryRuns: SigmaScheduledQueryRuns,
|
|
210
184
|
});
|
|
211
185
|
export const Tax = resourceNamespace('tax', {
|
|
212
|
-
Associations: TaxAssociations,
|
|
213
186
|
Calculations: TaxCalculations,
|
|
214
|
-
Forms: TaxForms,
|
|
215
187
|
Registrations: TaxRegistrations,
|
|
216
188
|
Settings: TaxSettings,
|
|
217
189
|
Transactions: TaxTransactions,
|
|
@@ -220,7 +192,6 @@ export const Terminal = resourceNamespace('terminal', {
|
|
|
220
192
|
Configurations: TerminalConfigurations,
|
|
221
193
|
ConnectionTokens: TerminalConnectionTokens,
|
|
222
194
|
Locations: TerminalLocations,
|
|
223
|
-
ReaderCollectedData: TerminalReaderCollectedData,
|
|
224
195
|
Readers: TerminalReaders,
|
|
225
196
|
});
|
|
226
197
|
export const TestHelpers = resourceNamespace('testHelpers', {
|
package/esm/stripe.core.js
CHANGED
|
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
33
33
|
];
|
|
34
34
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
35
35
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
36
|
-
Stripe.PACKAGE_VERSION = '17.2.0
|
|
36
|
+
Stripe.PACKAGE_VERSION = '17.2.0';
|
|
37
37
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
38
38
|
Stripe.StripeResource = StripeResource;
|
|
39
39
|
Stripe.resources = resources;
|
package/package.json
CHANGED
|
@@ -60,11 +60,7 @@ declare module 'stripe' {
|
|
|
60
60
|
type FutureRequirements = 'include' | 'omit';
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
type Type =
|
|
64
|
-
| 'account_onboarding'
|
|
65
|
-
| 'account_update'
|
|
66
|
-
| 'capital_financing_offer'
|
|
67
|
-
| 'capital_financing_reporting';
|
|
63
|
+
type Type = 'account_onboarding' | 'account_update';
|
|
68
64
|
}
|
|
69
65
|
|
|
70
66
|
class AccountLinksResource {
|
|
@@ -52,12 +52,6 @@ declare module 'stripe' {
|
|
|
52
52
|
|
|
53
53
|
balances: Components.Balances;
|
|
54
54
|
|
|
55
|
-
capital_financing?: Components.CapitalFinancing | null;
|
|
56
|
-
|
|
57
|
-
capital_financing_application?: Components.CapitalFinancingApplication | null;
|
|
58
|
-
|
|
59
|
-
capital_financing_promotion?: Components.CapitalFinancingPromotion | null;
|
|
60
|
-
|
|
61
55
|
documents: Components.Documents;
|
|
62
56
|
|
|
63
57
|
notification_banner: Components.NotificationBanner;
|
|
@@ -145,45 +139,6 @@ declare module 'stripe' {
|
|
|
145
139
|
}
|
|
146
140
|
}
|
|
147
141
|
|
|
148
|
-
interface CapitalFinancing {
|
|
149
|
-
/**
|
|
150
|
-
* Whether the embedded component is enabled.
|
|
151
|
-
*/
|
|
152
|
-
enabled: boolean;
|
|
153
|
-
|
|
154
|
-
features: CapitalFinancing.Features;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
namespace CapitalFinancing {
|
|
158
|
-
interface Features {}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface CapitalFinancingApplication {
|
|
162
|
-
/**
|
|
163
|
-
* Whether the embedded component is enabled.
|
|
164
|
-
*/
|
|
165
|
-
enabled: boolean;
|
|
166
|
-
|
|
167
|
-
features: CapitalFinancingApplication.Features;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
namespace CapitalFinancingApplication {
|
|
171
|
-
interface Features {}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
interface CapitalFinancingPromotion {
|
|
175
|
-
/**
|
|
176
|
-
* Whether the embedded component is enabled.
|
|
177
|
-
*/
|
|
178
|
-
enabled: boolean;
|
|
179
|
-
|
|
180
|
-
features: CapitalFinancingPromotion.Features;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
namespace CapitalFinancingPromotion {
|
|
184
|
-
interface Features {}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
142
|
interface Documents {
|
|
188
143
|
/**
|
|
189
144
|
* Whether the embedded component is enabled.
|
|
@@ -31,66 +31,16 @@ declare module 'stripe' {
|
|
|
31
31
|
*/
|
|
32
32
|
account_onboarding?: Components.AccountOnboarding;
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* Configuration for the app install component.
|
|
36
|
-
*/
|
|
37
|
-
app_install?: Components.AppInstall;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Configuration for the app viewport component.
|
|
41
|
-
*/
|
|
42
|
-
app_viewport?: Components.AppViewport;
|
|
43
|
-
|
|
44
34
|
/**
|
|
45
35
|
* Configuration for the balances embedded component.
|
|
46
36
|
*/
|
|
47
37
|
balances?: Components.Balances;
|
|
48
38
|
|
|
49
|
-
/**
|
|
50
|
-
* Configuration for the capital financing embedded component.
|
|
51
|
-
*/
|
|
52
|
-
capital_financing?: Components.CapitalFinancing;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Configuration for the capital financing application embedded component.
|
|
56
|
-
*/
|
|
57
|
-
capital_financing_application?: Components.CapitalFinancingApplication;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Configuration for the capital financing promotion embedded component.
|
|
61
|
-
*/
|
|
62
|
-
capital_financing_promotion?: Components.CapitalFinancingPromotion;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Configuration for the capital overview embedded component.
|
|
66
|
-
*/
|
|
67
|
-
capital_overview?: Components.CapitalOverview;
|
|
68
|
-
|
|
69
39
|
/**
|
|
70
40
|
* Configuration for the documents embedded component.
|
|
71
41
|
*/
|
|
72
42
|
documents?: Components.Documents;
|
|
73
43
|
|
|
74
|
-
/**
|
|
75
|
-
* Configuration for the financial account component.
|
|
76
|
-
*/
|
|
77
|
-
financial_account?: Components.FinancialAccount;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Configuration for the financial account transactions component.
|
|
81
|
-
*/
|
|
82
|
-
financial_account_transactions?: Components.FinancialAccountTransactions;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Configuration for the issuing card component.
|
|
86
|
-
*/
|
|
87
|
-
issuing_card?: Components.IssuingCard;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Configuration for the issuing cards list component.
|
|
91
|
-
*/
|
|
92
|
-
issuing_cards_list?: Components.IssuingCardsList;
|
|
93
|
-
|
|
94
44
|
/**
|
|
95
45
|
* Configuration for the notification banner embedded component.
|
|
96
46
|
*/
|
|
@@ -101,11 +51,6 @@ declare module 'stripe' {
|
|
|
101
51
|
*/
|
|
102
52
|
payment_details?: Components.PaymentDetails;
|
|
103
53
|
|
|
104
|
-
/**
|
|
105
|
-
* Configuration for the payment method settings embedded component.
|
|
106
|
-
*/
|
|
107
|
-
payment_method_settings?: Components.PaymentMethodSettings;
|
|
108
|
-
|
|
109
54
|
/**
|
|
110
55
|
* Configuration for the payments embedded component.
|
|
111
56
|
*/
|
|
@@ -121,13 +66,6 @@ declare module 'stripe' {
|
|
|
121
66
|
*/
|
|
122
67
|
payouts_list?: Components.PayoutsList;
|
|
123
68
|
|
|
124
|
-
recipients?: Components.Recipients;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Configuration for the reporting chart embedded component.
|
|
128
|
-
*/
|
|
129
|
-
reporting_chart?: Components.ReportingChart;
|
|
130
|
-
|
|
131
69
|
/**
|
|
132
70
|
* Configuration for the tax registrations embedded component.
|
|
133
71
|
*/
|
|
@@ -182,48 +120,6 @@ declare module 'stripe' {
|
|
|
182
120
|
}
|
|
183
121
|
}
|
|
184
122
|
|
|
185
|
-
interface AppInstall {
|
|
186
|
-
/**
|
|
187
|
-
* Whether the embedded component is enabled.
|
|
188
|
-
*/
|
|
189
|
-
enabled: boolean;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The list of features enabled in the embedded component.
|
|
193
|
-
*/
|
|
194
|
-
features?: AppInstall.Features;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
namespace AppInstall {
|
|
198
|
-
interface Features {
|
|
199
|
-
/**
|
|
200
|
-
* List of apps allowed to be enabled for this account session.
|
|
201
|
-
*/
|
|
202
|
-
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
interface AppViewport {
|
|
207
|
-
/**
|
|
208
|
-
* Whether the embedded component is enabled.
|
|
209
|
-
*/
|
|
210
|
-
enabled: boolean;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The list of features enabled in the embedded component.
|
|
214
|
-
*/
|
|
215
|
-
features?: AppViewport.Features;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
namespace AppViewport {
|
|
219
|
-
interface Features {
|
|
220
|
-
/**
|
|
221
|
-
* List of apps allowed to be enabled for this account session.
|
|
222
|
-
*/
|
|
223
|
-
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
123
|
interface Balances {
|
|
228
124
|
/**
|
|
229
125
|
* Whether the embedded component is enabled.
|
|
@@ -260,70 +156,6 @@ declare module 'stripe' {
|
|
|
260
156
|
}
|
|
261
157
|
}
|
|
262
158
|
|
|
263
|
-
interface CapitalFinancing {
|
|
264
|
-
/**
|
|
265
|
-
* Whether the embedded component is enabled.
|
|
266
|
-
*/
|
|
267
|
-
enabled: boolean;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* The list of features enabled in the embedded component.
|
|
271
|
-
*/
|
|
272
|
-
features?: CapitalFinancing.Features;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
namespace CapitalFinancing {
|
|
276
|
-
interface Features {}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
interface CapitalFinancingApplication {
|
|
280
|
-
/**
|
|
281
|
-
* Whether the embedded component is enabled.
|
|
282
|
-
*/
|
|
283
|
-
enabled: boolean;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* The list of features enabled in the embedded component.
|
|
287
|
-
*/
|
|
288
|
-
features?: CapitalFinancingApplication.Features;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
namespace CapitalFinancingApplication {
|
|
292
|
-
interface Features {}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
interface CapitalFinancingPromotion {
|
|
296
|
-
/**
|
|
297
|
-
* Whether the embedded component is enabled.
|
|
298
|
-
*/
|
|
299
|
-
enabled: boolean;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* The list of features enabled in the embedded component.
|
|
303
|
-
*/
|
|
304
|
-
features?: CapitalFinancingPromotion.Features;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
namespace CapitalFinancingPromotion {
|
|
308
|
-
interface Features {}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
interface CapitalOverview {
|
|
312
|
-
/**
|
|
313
|
-
* Whether the embedded component is enabled.
|
|
314
|
-
*/
|
|
315
|
-
enabled: boolean;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* The list of features enabled in the embedded component.
|
|
319
|
-
*/
|
|
320
|
-
features?: CapitalOverview.Features;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
namespace CapitalOverview {
|
|
324
|
-
interface Features {}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
159
|
interface Documents {
|
|
328
160
|
/**
|
|
329
161
|
* Whether the embedded component is enabled.
|
|
@@ -340,99 +172,6 @@ declare module 'stripe' {
|
|
|
340
172
|
interface Features {}
|
|
341
173
|
}
|
|
342
174
|
|
|
343
|
-
interface FinancialAccount {
|
|
344
|
-
/**
|
|
345
|
-
* Whether the embedded component is enabled.
|
|
346
|
-
*/
|
|
347
|
-
enabled: boolean;
|
|
348
|
-
|
|
349
|
-
features?: FinancialAccount.Features;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
namespace FinancialAccount {
|
|
353
|
-
interface Features {
|
|
354
|
-
/**
|
|
355
|
-
* Whether to allow external accounts to be linked for money transfer.
|
|
356
|
-
*/
|
|
357
|
-
external_account_collection?: boolean;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Whether to allow money movement features.
|
|
361
|
-
*/
|
|
362
|
-
money_movement?: boolean;
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Whether to allow sending money.
|
|
366
|
-
*/
|
|
367
|
-
send_money?: boolean;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Whether to allow transferring balance.
|
|
371
|
-
*/
|
|
372
|
-
transfer_balance?: boolean;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
interface FinancialAccountTransactions {
|
|
377
|
-
/**
|
|
378
|
-
* Whether the embedded component is enabled.
|
|
379
|
-
*/
|
|
380
|
-
enabled: boolean;
|
|
381
|
-
|
|
382
|
-
features?: FinancialAccountTransactions.Features;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
namespace FinancialAccountTransactions {
|
|
386
|
-
interface Features {
|
|
387
|
-
/**
|
|
388
|
-
* Whether to allow card spend dispute features.
|
|
389
|
-
*/
|
|
390
|
-
card_spend_dispute_management?: boolean;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
interface IssuingCard {
|
|
395
|
-
/**
|
|
396
|
-
* Whether the embedded component is enabled.
|
|
397
|
-
*/
|
|
398
|
-
enabled: boolean;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* The list of features enabled in the embedded component.
|
|
402
|
-
*/
|
|
403
|
-
features?: IssuingCard.Features;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
namespace IssuingCard {
|
|
407
|
-
interface Features {}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
interface IssuingCardsList {
|
|
411
|
-
/**
|
|
412
|
-
* Whether the embedded component is enabled.
|
|
413
|
-
*/
|
|
414
|
-
enabled: boolean;
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* The list of features enabled in the embedded component.
|
|
418
|
-
*/
|
|
419
|
-
features?: IssuingCardsList.Features;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
namespace IssuingCardsList {
|
|
423
|
-
interface Features {
|
|
424
|
-
/**
|
|
425
|
-
* Whether to allow card management features.
|
|
426
|
-
*/
|
|
427
|
-
card_management?: boolean;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Whether to allow cardholder management features.
|
|
431
|
-
*/
|
|
432
|
-
cardholder_management?: boolean;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
175
|
interface NotificationBanner {
|
|
437
176
|
/**
|
|
438
177
|
* Whether the embedded component is enabled.
|
|
@@ -490,22 +229,6 @@ declare module 'stripe' {
|
|
|
490
229
|
}
|
|
491
230
|
}
|
|
492
231
|
|
|
493
|
-
interface PaymentMethodSettings {
|
|
494
|
-
/**
|
|
495
|
-
* Whether the embedded component is enabled.
|
|
496
|
-
*/
|
|
497
|
-
enabled: boolean;
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* The list of features enabled in the embedded component.
|
|
501
|
-
*/
|
|
502
|
-
features?: PaymentMethodSettings.Features;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
namespace PaymentMethodSettings {
|
|
506
|
-
interface Features {}
|
|
507
|
-
}
|
|
508
|
-
|
|
509
232
|
interface Payments {
|
|
510
233
|
/**
|
|
511
234
|
* Whether the embedded component is enabled.
|
|
@@ -594,38 +317,6 @@ declare module 'stripe' {
|
|
|
594
317
|
interface Features {}
|
|
595
318
|
}
|
|
596
319
|
|
|
597
|
-
interface Recipients {
|
|
598
|
-
/**
|
|
599
|
-
* Whether the embedded component is enabled.
|
|
600
|
-
*/
|
|
601
|
-
enabled: boolean;
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* The list of features enabled in the embedded component.
|
|
605
|
-
*/
|
|
606
|
-
features?: Recipients.Features;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
namespace Recipients {
|
|
610
|
-
interface Features {}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
interface ReportingChart {
|
|
614
|
-
/**
|
|
615
|
-
* Whether the embedded component is enabled.
|
|
616
|
-
*/
|
|
617
|
-
enabled: boolean;
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* The list of features enabled in the embedded component.
|
|
621
|
-
*/
|
|
622
|
-
features?: ReportingChart.Features;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
namespace ReportingChart {
|
|
626
|
-
interface Features {}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
320
|
interface TaxRegistrations {
|
|
630
321
|
/**
|
|
631
322
|
* Whether the embedded component is enabled.
|