stripe 17.4.0-beta.3 → 17.4.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.
Files changed (167) hide show
  1. package/CHANGELOG.md +123 -962
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -8
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -355
  24. package/types/Accounts.d.ts +2 -184
  25. package/types/AccountsResource.d.ts +0 -496
  26. package/types/Capabilities.d.ts +1 -1
  27. package/types/Charges.d.ts +0 -116
  28. package/types/ChargesResource.d.ts +0 -1294
  29. package/types/Checkout/Sessions.d.ts +4 -310
  30. package/types/Checkout/SessionsResource.d.ts +5 -361
  31. package/types/ConfirmationTokens.d.ts +0 -99
  32. package/types/Coupons.d.ts +1 -1
  33. package/types/CouponsResource.d.ts +1 -1
  34. package/types/CreditNotes.d.ts +0 -21
  35. package/types/CreditNotesResource.d.ts +0 -51
  36. package/types/CustomersResource.d.ts +0 -7
  37. package/types/EventTypes.d.ts +0 -579
  38. package/types/Events.d.ts +0 -92
  39. package/types/FinancialConnections/Accounts.d.ts +1 -29
  40. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  41. package/types/FinancialConnections/Sessions.d.ts +1 -49
  42. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  43. package/types/FundingInstructions.d.ts +0 -21
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +2 -137
  48. package/types/InvoicesResource.d.ts +1846 -5531
  49. package/types/Issuing/CardholdersResource.d.ts +1 -2
  50. package/types/Issuing/Transactions.d.ts +0 -2
  51. package/types/Issuing/TransactionsResource.d.ts +0 -5
  52. package/types/LineItems.d.ts +0 -7
  53. package/types/Mandates.d.ts +0 -77
  54. package/types/PaymentIntents.d.ts +2 -659
  55. package/types/PaymentIntentsResource.d.ts +3695 -7936
  56. package/types/PaymentLinks.d.ts +0 -6
  57. package/types/PaymentLinksResource.d.ts +0 -12
  58. package/types/PaymentMethodConfigurations.d.ts +0 -180
  59. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  60. package/types/PaymentMethods.d.ts +0 -99
  61. package/types/PaymentMethodsResource.d.ts +0 -133
  62. package/types/Prices.d.ts +0 -22
  63. package/types/PricesResource.d.ts +0 -22
  64. package/types/Products.d.ts +0 -39
  65. package/types/ProductsResource.d.ts +0 -36
  66. package/types/Quotes.d.ts +1 -591
  67. package/types/QuotesResource.d.ts +199 -2531
  68. package/types/Refunds.d.ts +0 -14
  69. package/types/SetupAttempts.d.ts +0 -38
  70. package/types/SetupIntents.d.ts +1 -111
  71. package/types/SetupIntentsResource.d.ts +3 -645
  72. package/types/Sources.d.ts +0 -23
  73. package/types/SubscriptionItems.d.ts +0 -21
  74. package/types/SubscriptionItemsResource.d.ts +0 -109
  75. package/types/SubscriptionSchedules.d.ts +0 -200
  76. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  77. package/types/Subscriptions.d.ts +1 -91
  78. package/types/SubscriptionsResource.d.ts +2 -369
  79. package/types/Terminal/Readers.d.ts +0 -278
  80. package/types/Terminal/ReadersResource.d.ts +0 -215
  81. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  82. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  83. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  84. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  85. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  86. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  87. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  88. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  89. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  90. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  91. package/types/WebhookEndpointsResource.d.ts +0 -68
  92. package/types/index.d.ts +0 -62
  93. package/cjs/resources/AccountNotices.js +0 -21
  94. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  95. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  96. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  97. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  98. package/cjs/resources/GiftCards/Cards.js +0 -23
  99. package/cjs/resources/GiftCards/Transactions.js +0 -33
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  101. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  102. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  103. package/cjs/resources/Margins.js +0 -22
  104. package/cjs/resources/Orders.js +0 -24
  105. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  106. package/cjs/resources/PaymentRecords.js +0 -29
  107. package/cjs/resources/Tax/Associations.js +0 -9
  108. package/cjs/resources/Tax/Forms.js +0 -20
  109. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  110. package/esm/resources/AccountNotices.js +0 -18
  111. package/esm/resources/Capital/FinancingOffers.js +0 -18
  112. package/esm/resources/Capital/FinancingSummary.js +0 -9
  113. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  114. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  115. package/esm/resources/GiftCards/Cards.js +0 -20
  116. package/esm/resources/GiftCards/Transactions.js +0 -30
  117. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  118. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  119. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  120. package/esm/resources/Margins.js +0 -19
  121. package/esm/resources/Orders.js +0 -21
  122. package/esm/resources/PaymentAttemptRecords.js +0 -14
  123. package/esm/resources/PaymentRecords.js +0 -26
  124. package/esm/resources/Tax/Associations.js +0 -6
  125. package/esm/resources/Tax/Forms.js +0 -17
  126. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  127. package/types/AccountNotices.d.ts +0 -113
  128. package/types/AccountNoticesResource.d.ts +0 -98
  129. package/types/Billing/MeterErrorReports.d.ts +0 -106
  130. package/types/Capital/FinancingOffers.d.ts +0 -188
  131. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  132. package/types/Capital/FinancingSummary.d.ts +0 -106
  133. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  134. package/types/Capital/FinancingTransactions.d.ts +0 -135
  135. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  136. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  137. package/types/FinancialConnections/Institutions.d.ts +0 -93
  138. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  139. package/types/GiftCards/Cards.d.ts +0 -118
  140. package/types/GiftCards/CardsResource.d.ts +0 -159
  141. package/types/GiftCards/Transactions.d.ts +0 -129
  142. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  143. package/types/InvoicePayments.d.ts +0 -113
  144. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  145. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  146. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  147. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  148. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  149. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  150. package/types/Issuing/Settlements.d.ts +0 -103
  151. package/types/Margins.d.ts +0 -56
  152. package/types/MarginsResource.d.ts +0 -114
  153. package/types/Orders.d.ts +0 -1155
  154. package/types/OrdersResource.d.ts +0 -2913
  155. package/types/PaymentAttemptRecords.d.ts +0 -242
  156. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  157. package/types/PaymentRecords.d.ts +0 -259
  158. package/types/PaymentRecordsResource.d.ts +0 -455
  159. package/types/QuoteLines.d.ts +0 -634
  160. package/types/QuotePreviewInvoices.d.ts +0 -1615
  161. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  162. package/types/Tax/Associations.d.ts +0 -126
  163. package/types/Tax/AssociationsResource.d.ts +0 -29
  164. package/types/Tax/Forms.d.ts +0 -220
  165. package/types/Tax/FormsResource.d.ts +0 -107
  166. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  167. 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,24 +17,16 @@ 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 { EventDestinations as V2CoreEventDestinations } from './resources/V2/Core/EventDestinations.js';
29
25
  import { Events as V2CoreEvents } from './resources/V2/Core/Events.js';
30
26
  import { Features as EntitlementsFeatures } from './resources/Entitlements/Features.js';
31
27
  import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js';
32
- import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
33
- import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
34
- import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
35
- import { Forms as TaxForms } from './resources/Tax/Forms.js';
36
- import { FraudLiabilityDebits as IssuingFraudLiabilityDebits } from './resources/Issuing/FraudLiabilityDebits.js';
37
28
  import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js';
38
29
  import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
39
- import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
40
30
  import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
41
31
  import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
42
32
  import { MeterEventAdjustments as V2BillingMeterEventAdjustments } from './resources/V2/Billing/MeterEventAdjustments.js';
@@ -54,7 +44,6 @@ import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } fr
54
44
  import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
55
45
  import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
56
46
  import { Products as ClimateProducts } from './resources/Climate/Products.js';
57
- import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
58
47
  import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
59
48
  import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
60
49
  import { ReceivedCredits as TestHelpersTreasuryReceivedCredits } from './resources/TestHelpers/Treasury/ReceivedCredits.js';
@@ -78,7 +67,6 @@ import { Tokens as IssuingTokens } from './resources/Issuing/Tokens.js';
78
67
  import { TransactionEntries as TreasuryTransactionEntries } from './resources/Treasury/TransactionEntries.js';
79
68
  import { Transactions as TestHelpersIssuingTransactions } from './resources/TestHelpers/Issuing/Transactions.js';
80
69
  import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js';
81
- import { Transactions as GiftCardsTransactions } from './resources/GiftCards/Transactions.js';
82
70
  import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js';
83
71
  import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js';
84
72
  import { Transactions as TreasuryTransactions } from './resources/Treasury/Transactions.js';
@@ -88,7 +76,6 @@ import { VerificationReports as IdentityVerificationReports } from './resources/
88
76
  import { VerificationSessions as IdentityVerificationSessions } from './resources/Identity/VerificationSessions.js';
89
77
  export { Accounts as Account } from './resources/Accounts.js';
90
78
  export { AccountLinks } from './resources/AccountLinks.js';
91
- export { AccountNotices } from './resources/AccountNotices.js';
92
79
  export { AccountSessions } from './resources/AccountSessions.js';
93
80
  export { Accounts } from './resources/Accounts.js';
94
81
  export { ApplePayDomains } from './resources/ApplePayDomains.js';
@@ -112,16 +99,12 @@ export { InvoiceItems } from './resources/InvoiceItems.js';
112
99
  export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
113
100
  export { Invoices } from './resources/Invoices.js';
114
101
  export { Mandates } from './resources/Mandates.js';
115
- export { Margins } from './resources/Margins.js';
116
102
  export { OAuth } from './resources/OAuth.js';
117
- export { Orders } from './resources/Orders.js';
118
- export { PaymentAttemptRecords } from './resources/PaymentAttemptRecords.js';
119
103
  export { PaymentIntents } from './resources/PaymentIntents.js';
120
104
  export { PaymentLinks } from './resources/PaymentLinks.js';
121
105
  export { PaymentMethodConfigurations } from './resources/PaymentMethodConfigurations.js';
122
106
  export { PaymentMethodDomains } from './resources/PaymentMethodDomains.js';
123
107
  export { PaymentMethods } from './resources/PaymentMethods.js';
124
- export { PaymentRecords } from './resources/PaymentRecords.js';
125
108
  export { Payouts } from './resources/Payouts.js';
126
109
  export { Plans } from './resources/Plans.js';
127
110
  export { Prices } from './resources/Prices.js';
@@ -158,11 +141,6 @@ export const BillingPortal = resourceNamespace('billingPortal', {
158
141
  Configurations: BillingPortalConfigurations,
159
142
  Sessions: BillingPortalSessions,
160
143
  });
161
- export const Capital = resourceNamespace('capital', {
162
- FinancingOffers: CapitalFinancingOffers,
163
- FinancingSummary: CapitalFinancingSummary,
164
- FinancingTransactions: CapitalFinancingTransactions,
165
- });
166
144
  export const Checkout = resourceNamespace('checkout', {
167
145
  Sessions: CheckoutSessions,
168
146
  });
@@ -177,17 +155,12 @@ export const Entitlements = resourceNamespace('entitlements', {
177
155
  });
178
156
  export const FinancialConnections = resourceNamespace('financialConnections', {
179
157
  Accounts: FinancialConnectionsAccounts,
180
- Institutions: FinancialConnectionsInstitutions,
181
158
  Sessions: FinancialConnectionsSessions,
182
159
  Transactions: FinancialConnectionsTransactions,
183
160
  });
184
161
  export const Forwarding = resourceNamespace('forwarding', {
185
162
  Requests: ForwardingRequests,
186
163
  });
187
- export const GiftCards = resourceNamespace('giftCards', {
188
- Cards: GiftCardsCards,
189
- Transactions: GiftCardsTransactions,
190
- });
191
164
  export const Identity = resourceNamespace('identity', {
192
165
  VerificationReports: IdentityVerificationReports,
193
166
  VerificationSessions: IdentityVerificationSessions,
@@ -196,10 +169,7 @@ export const Issuing = resourceNamespace('issuing', {
196
169
  Authorizations: IssuingAuthorizations,
197
170
  Cardholders: IssuingCardholders,
198
171
  Cards: IssuingCards,
199
- CreditUnderwritingRecords: IssuingCreditUnderwritingRecords,
200
- DisputeSettlementDetails: IssuingDisputeSettlementDetails,
201
172
  Disputes: IssuingDisputes,
202
- FraudLiabilityDebits: IssuingFraudLiabilityDebits,
203
173
  PersonalizationDesigns: IssuingPersonalizationDesigns,
204
174
  PhysicalBundles: IssuingPhysicalBundles,
205
175
  Tokens: IssuingTokens,
@@ -218,9 +188,7 @@ export const Sigma = resourceNamespace('sigma', {
218
188
  ScheduledQueryRuns: SigmaScheduledQueryRuns,
219
189
  });
220
190
  export const Tax = resourceNamespace('tax', {
221
- Associations: TaxAssociations,
222
191
  Calculations: TaxCalculations,
223
- Forms: TaxForms,
224
192
  Registrations: TaxRegistrations,
225
193
  Settings: TaxSettings,
226
194
  Transactions: TaxTransactions,
@@ -229,7 +197,6 @@ export const Terminal = resourceNamespace('terminal', {
229
197
  Configurations: TerminalConfigurations,
230
198
  ConnectionTokens: TerminalConnectionTokens,
231
199
  Locations: TerminalLocations,
232
- ReaderCollectedData: TerminalReaderCollectedData,
233
200
  Readers: TerminalReaders,
234
201
  });
235
202
  export const TestHelpers = resourceNamespace('testHelpers', {
@@ -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.4.0-beta.3';
36
+ Stripe.PACKAGE_VERSION = '17.4.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "17.4.0-beta.3",
3
+ "version": "17.4.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -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;
@@ -160,45 +154,6 @@ declare module 'stripe' {
160
154
  }
161
155
  }
162
156
 
163
- interface CapitalFinancing {
164
- /**
165
- * Whether the embedded component is enabled.
166
- */
167
- enabled: boolean;
168
-
169
- features: CapitalFinancing.Features;
170
- }
171
-
172
- namespace CapitalFinancing {
173
- interface Features {}
174
- }
175
-
176
- interface CapitalFinancingApplication {
177
- /**
178
- * Whether the embedded component is enabled.
179
- */
180
- enabled: boolean;
181
-
182
- features: CapitalFinancingApplication.Features;
183
- }
184
-
185
- namespace CapitalFinancingApplication {
186
- interface Features {}
187
- }
188
-
189
- interface CapitalFinancingPromotion {
190
- /**
191
- * Whether the embedded component is enabled.
192
- */
193
- enabled: boolean;
194
-
195
- features: CapitalFinancingPromotion.Features;
196
- }
197
-
198
- namespace CapitalFinancingPromotion {
199
- interface Features {}
200
- }
201
-
202
157
  interface Documents {
203
158
  /**
204
159
  * 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,16 +66,6 @@ declare module 'stripe' {
121
66
  */
122
67
  payouts_list?: Components.PayoutsList;
123
68
 
124
- /**
125
- * Configuration for the recipients component.
126
- */
127
- recipients?: Components.Recipients;
128
-
129
- /**
130
- * Configuration for the reporting chart embedded component.
131
- */
132
- reporting_chart?: Components.ReportingChart;
133
-
134
69
  /**
135
70
  * Configuration for the tax registrations embedded component.
136
71
  */
@@ -195,48 +130,6 @@ declare module 'stripe' {
195
130
  }
196
131
  }
197
132
 
198
- interface AppInstall {
199
- /**
200
- * Whether the embedded component is enabled.
201
- */
202
- enabled: boolean;
203
-
204
- /**
205
- * The list of features enabled in the embedded component.
206
- */
207
- features?: AppInstall.Features;
208
- }
209
-
210
- namespace AppInstall {
211
- interface Features {
212
- /**
213
- * List of apps allowed to be enabled for this account session.
214
- */
215
- allowed_apps?: Stripe.Emptyable<Array<string>>;
216
- }
217
- }
218
-
219
- interface AppViewport {
220
- /**
221
- * Whether the embedded component is enabled.
222
- */
223
- enabled: boolean;
224
-
225
- /**
226
- * The list of features enabled in the embedded component.
227
- */
228
- features?: AppViewport.Features;
229
- }
230
-
231
- namespace AppViewport {
232
- interface Features {
233
- /**
234
- * List of apps allowed to be enabled for this account session.
235
- */
236
- allowed_apps?: Stripe.Emptyable<Array<string>>;
237
- }
238
- }
239
-
240
133
  interface Balances {
241
134
  /**
242
135
  * Whether the embedded component is enabled.
@@ -278,70 +171,6 @@ declare module 'stripe' {
278
171
  }
279
172
  }
280
173
 
281
- interface CapitalFinancing {
282
- /**
283
- * Whether the embedded component is enabled.
284
- */
285
- enabled: boolean;
286
-
287
- /**
288
- * The list of features enabled in the embedded component.
289
- */
290
- features?: CapitalFinancing.Features;
291
- }
292
-
293
- namespace CapitalFinancing {
294
- interface Features {}
295
- }
296
-
297
- interface CapitalFinancingApplication {
298
- /**
299
- * Whether the embedded component is enabled.
300
- */
301
- enabled: boolean;
302
-
303
- /**
304
- * The list of features enabled in the embedded component.
305
- */
306
- features?: CapitalFinancingApplication.Features;
307
- }
308
-
309
- namespace CapitalFinancingApplication {
310
- interface Features {}
311
- }
312
-
313
- interface CapitalFinancingPromotion {
314
- /**
315
- * Whether the embedded component is enabled.
316
- */
317
- enabled: boolean;
318
-
319
- /**
320
- * The list of features enabled in the embedded component.
321
- */
322
- features?: CapitalFinancingPromotion.Features;
323
- }
324
-
325
- namespace CapitalFinancingPromotion {
326
- interface Features {}
327
- }
328
-
329
- interface CapitalOverview {
330
- /**
331
- * Whether the embedded component is enabled.
332
- */
333
- enabled: boolean;
334
-
335
- /**
336
- * The list of features enabled in the embedded component.
337
- */
338
- features?: CapitalOverview.Features;
339
- }
340
-
341
- namespace CapitalOverview {
342
- interface Features {}
343
- }
344
-
345
174
  interface Documents {
346
175
  /**
347
176
  * Whether the embedded component is enabled.
@@ -358,140 +187,6 @@ declare module 'stripe' {
358
187
  interface Features {}
359
188
  }
360
189
 
361
- interface FinancialAccount {
362
- /**
363
- * Whether the embedded component is enabled.
364
- */
365
- enabled: boolean;
366
-
367
- /**
368
- * The list of features enabled in the embedded component.
369
- */
370
- features?: FinancialAccount.Features;
371
- }
372
-
373
- namespace FinancialAccount {
374
- interface Features {
375
- /**
376
- * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
377
- */
378
- disable_stripe_user_authentication?: boolean;
379
-
380
- /**
381
- * Whether to allow external accounts to be linked for money transfer.
382
- */
383
- external_account_collection?: boolean;
384
-
385
- /**
386
- * Whether to allow sending money.
387
- */
388
- send_money?: boolean;
389
-
390
- /**
391
- * Whether to allow transferring balance.
392
- */
393
- transfer_balance?: boolean;
394
- }
395
- }
396
-
397
- interface FinancialAccountTransactions {
398
- /**
399
- * Whether the embedded component is enabled.
400
- */
401
- enabled: boolean;
402
-
403
- /**
404
- * The list of features enabled in the embedded component.
405
- */
406
- features?: FinancialAccountTransactions.Features;
407
- }
408
-
409
- namespace FinancialAccountTransactions {
410
- interface Features {
411
- /**
412
- * Whether to allow card spend dispute management features.
413
- */
414
- card_spend_dispute_management?: boolean;
415
- }
416
- }
417
-
418
- interface IssuingCard {
419
- /**
420
- * Whether the embedded component is enabled.
421
- */
422
- enabled: boolean;
423
-
424
- /**
425
- * The list of features enabled in the embedded component.
426
- */
427
- features?: IssuingCard.Features;
428
- }
429
-
430
- namespace IssuingCard {
431
- interface Features {
432
- /**
433
- * Whether to allow card management features.
434
- */
435
- card_management?: boolean;
436
-
437
- /**
438
- * Whether to allow card spend dispute management features.
439
- */
440
- card_spend_dispute_management?: boolean;
441
-
442
- /**
443
- * Whether to allow cardholder management features.
444
- */
445
- cardholder_management?: boolean;
446
-
447
- /**
448
- * Whether to allow spend control management features.
449
- */
450
- spend_control_management?: boolean;
451
- }
452
- }
453
-
454
- interface IssuingCardsList {
455
- /**
456
- * Whether the embedded component is enabled.
457
- */
458
- enabled: boolean;
459
-
460
- /**
461
- * The list of features enabled in the embedded component.
462
- */
463
- features?: IssuingCardsList.Features;
464
- }
465
-
466
- namespace IssuingCardsList {
467
- interface Features {
468
- /**
469
- * Whether to allow card management features.
470
- */
471
- card_management?: boolean;
472
-
473
- /**
474
- * Whether to allow card spend dispute management features.
475
- */
476
- card_spend_dispute_management?: boolean;
477
-
478
- /**
479
- * Whether to allow cardholder management features.
480
- */
481
- cardholder_management?: boolean;
482
-
483
- /**
484
- * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts.
485
- */
486
- disable_stripe_user_authentication?: boolean;
487
-
488
- /**
489
- * Whether to allow spend control management features.
490
- */
491
- spend_control_management?: boolean;
492
- }
493
- }
494
-
495
190
  interface NotificationBanner {
496
191
  /**
497
192
  * Whether the embedded component is enabled.
@@ -554,22 +249,6 @@ declare module 'stripe' {
554
249
  }
555
250
  }
556
251
 
557
- interface PaymentMethodSettings {
558
- /**
559
- * Whether the embedded component is enabled.
560
- */
561
- enabled: boolean;
562
-
563
- /**
564
- * The list of features enabled in the embedded component.
565
- */
566
- features?: PaymentMethodSettings.Features;
567
- }
568
-
569
- namespace PaymentMethodSettings {
570
- interface Features {}
571
- }
572
-
573
252
  interface Payments {
574
253
  /**
575
254
  * Whether the embedded component is enabled.
@@ -663,40 +342,6 @@ declare module 'stripe' {
663
342
  interface Features {}
664
343
  }
665
344
 
666
- interface Recipients {
667
- /**
668
- * Whether the embedded component is enabled.
669
- */
670
- enabled: boolean;
671
-
672
- features?: Recipients.Features;
673
- }
674
-
675
- namespace Recipients {
676
- interface Features {
677
- /**
678
- * Whether to allow sending money.
679
- */
680
- send_money?: boolean;
681
- }
682
- }
683
-
684
- interface ReportingChart {
685
- /**
686
- * Whether the embedded component is enabled.
687
- */
688
- enabled: boolean;
689
-
690
- /**
691
- * The list of features enabled in the embedded component.
692
- */
693
- features?: ReportingChart.Features;
694
- }
695
-
696
- namespace ReportingChart {
697
- interface Features {}
698
- }
699
-
700
345
  interface TaxRegistrations {
701
346
  /**
702
347
  * Whether the embedded component is enabled.