stripe 17.3.0-beta.1 → 17.3.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 (164) hide show
  1. package/CHANGELOG.md +152 -925
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -4
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources/V2/Core/EventDestinations.js +41 -0
  12. package/cjs/resources/V2/Core.js +2 -0
  13. package/cjs/resources.js +10 -42
  14. package/cjs/stripe.core.js +1 -1
  15. package/esm/apiVersion.js +1 -1
  16. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  17. package/esm/resources/Invoices.js +0 -17
  18. package/esm/resources/PaymentIntents.js +0 -4
  19. package/esm/resources/Quotes.js +0 -32
  20. package/esm/resources/SubscriptionSchedules.js +0 -4
  21. package/esm/resources/Terminal/Readers.js +0 -12
  22. package/esm/resources/V2/Core/EventDestinations.js +38 -0
  23. package/esm/resources/V2/Core.js +2 -0
  24. package/esm/resources.js +0 -29
  25. package/esm/stripe.core.js +1 -1
  26. package/package.json +1 -1
  27. package/types/AccountLinksResource.d.ts +1 -5
  28. package/types/AccountSessions.d.ts +0 -45
  29. package/types/AccountSessionsResource.d.ts +0 -324
  30. package/types/Accounts.d.ts +1 -155
  31. package/types/AccountsResource.d.ts +1 -415
  32. package/types/Charges.d.ts +0 -83
  33. package/types/ChargesResource.d.ts +0 -1294
  34. package/types/Checkout/Sessions.d.ts +79 -302
  35. package/types/Checkout/SessionsResource.d.ts +85 -354
  36. package/types/ConfirmationTokens.d.ts +0 -82
  37. package/types/Coupons.d.ts +1 -1
  38. package/types/CouponsResource.d.ts +1 -1
  39. package/types/CreditNotes.d.ts +0 -21
  40. package/types/CreditNotesResource.d.ts +0 -51
  41. package/types/CustomersResource.d.ts +0 -6
  42. package/types/Disputes.d.ts +3 -3
  43. package/types/EventTypes.d.ts +18 -545
  44. package/types/Events.d.ts +1 -90
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/InvoiceItems.d.ts +0 -5
  50. package/types/InvoiceItemsResource.d.ts +0 -98
  51. package/types/InvoiceLineItems.d.ts +1 -28
  52. package/types/Invoices.d.ts +2 -124
  53. package/types/InvoicesResource.d.ts +1855 -5503
  54. package/types/Issuing/CardholdersResource.d.ts +1 -2
  55. package/types/Issuing/Transactions.d.ts +0 -2
  56. package/types/Issuing/TransactionsResource.d.ts +0 -5
  57. package/types/LineItems.d.ts +0 -7
  58. package/types/Mandates.d.ts +0 -77
  59. package/types/PaymentIntents.d.ts +1 -613
  60. package/types/PaymentIntentsResource.d.ts +3687 -7740
  61. package/types/PaymentLinks.d.ts +0 -6
  62. package/types/PaymentLinksResource.d.ts +0 -12
  63. package/types/PaymentMethodConfigurations.d.ts +0 -36
  64. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  65. package/types/PaymentMethods.d.ts +0 -82
  66. package/types/PaymentMethodsResource.d.ts +0 -115
  67. package/types/Prices.d.ts +0 -22
  68. package/types/PricesResource.d.ts +0 -22
  69. package/types/Products.d.ts +0 -39
  70. package/types/ProductsResource.d.ts +0 -36
  71. package/types/Quotes.d.ts +1 -591
  72. package/types/QuotesResource.d.ts +199 -2531
  73. package/types/Refunds.d.ts +1 -4
  74. package/types/SetupAttempts.d.ts +0 -11
  75. package/types/SetupIntents.d.ts +1 -112
  76. package/types/SetupIntentsResource.d.ts +3 -594
  77. package/types/Sources.d.ts +0 -23
  78. package/types/SubscriptionItems.d.ts +0 -21
  79. package/types/SubscriptionItemsResource.d.ts +0 -109
  80. package/types/SubscriptionSchedules.d.ts +0 -200
  81. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  82. package/types/Subscriptions.d.ts +1 -82
  83. package/types/SubscriptionsResource.d.ts +2 -347
  84. package/types/Terminal/Readers.d.ts +0 -278
  85. package/types/Terminal/ReadersResource.d.ts +0 -215
  86. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -87
  87. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  88. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  89. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  90. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  91. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  92. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  93. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  94. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  95. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  96. package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
  97. package/types/V2/Core/EventsResource.d.ts +1 -1
  98. package/types/V2/CoreResource.d.ts +1 -0
  99. package/types/V2/EventDestinations.d.ts +164 -0
  100. package/types/WebhookEndpointsResource.d.ts +4 -65
  101. package/types/index.d.ts +2 -53
  102. package/cjs/resources/AccountNotices.js +0 -21
  103. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  104. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  105. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  106. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  107. package/cjs/resources/GiftCards/Cards.js +0 -23
  108. package/cjs/resources/GiftCards/Transactions.js +0 -33
  109. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  110. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/Tax/Associations.js +0 -9
  114. package/cjs/resources/Tax/Forms.js +0 -20
  115. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  116. package/esm/resources/AccountNotices.js +0 -18
  117. package/esm/resources/Capital/FinancingOffers.js +0 -18
  118. package/esm/resources/Capital/FinancingSummary.js +0 -9
  119. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  120. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  121. package/esm/resources/GiftCards/Cards.js +0 -20
  122. package/esm/resources/GiftCards/Transactions.js +0 -30
  123. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  124. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  125. package/esm/resources/Margins.js +0 -19
  126. package/esm/resources/Orders.js +0 -21
  127. package/esm/resources/Tax/Associations.js +0 -6
  128. package/esm/resources/Tax/Forms.js +0 -17
  129. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  130. package/types/AccountNotices.d.ts +0 -113
  131. package/types/AccountNoticesResource.d.ts +0 -98
  132. package/types/Billing/MeterErrorReports.d.ts +0 -106
  133. package/types/Capital/FinancingOffers.d.ts +0 -188
  134. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  135. package/types/Capital/FinancingSummary.d.ts +0 -106
  136. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  137. package/types/Capital/FinancingTransactions.d.ts +0 -135
  138. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  139. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  140. package/types/FinancialConnections/Institutions.d.ts +0 -93
  141. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  142. package/types/GiftCards/Cards.d.ts +0 -118
  143. package/types/GiftCards/CardsResource.d.ts +0 -159
  144. package/types/GiftCards/Transactions.d.ts +0 -129
  145. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  146. package/types/InvoicePayments.d.ts +0 -138
  147. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  148. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  149. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  150. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  151. package/types/Issuing/Settlements.d.ts +0 -103
  152. package/types/Margins.d.ts +0 -56
  153. package/types/MarginsResource.d.ts +0 -114
  154. package/types/Orders.d.ts +0 -1154
  155. package/types/OrdersResource.d.ts +0 -2911
  156. package/types/QuoteLines.d.ts +0 -634
  157. package/types/QuotePreviewInvoices.d.ts +0 -1601
  158. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  159. package/types/Tax/Associations.d.ts +0 -126
  160. package/types/Tax/AssociationsResource.d.ts +0 -29
  161. package/types/Tax/Forms.d.ts +0 -220
  162. package/types/Tax/FormsResource.d.ts +0 -107
  163. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  164. 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', {
@@ -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.3.0-beta.1';
36
+ Stripe.PACKAGE_VERSION = '17.3.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.3.0-beta.1",
3
+ "version": "17.3.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,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
  */
@@ -192,48 +130,6 @@ declare module 'stripe' {
192
130
  }
193
131
  }
194
132
 
195
- interface AppInstall {
196
- /**
197
- * Whether the embedded component is enabled.
198
- */
199
- enabled: boolean;
200
-
201
- /**
202
- * The list of features enabled in the embedded component.
203
- */
204
- features?: AppInstall.Features;
205
- }
206
-
207
- namespace AppInstall {
208
- interface Features {
209
- /**
210
- * List of apps allowed to be enabled for this account session.
211
- */
212
- allowed_apps?: Stripe.Emptyable<Array<string>>;
213
- }
214
- }
215
-
216
- interface AppViewport {
217
- /**
218
- * Whether the embedded component is enabled.
219
- */
220
- enabled: boolean;
221
-
222
- /**
223
- * The list of features enabled in the embedded component.
224
- */
225
- features?: AppViewport.Features;
226
- }
227
-
228
- namespace AppViewport {
229
- interface Features {
230
- /**
231
- * List of apps allowed to be enabled for this account session.
232
- */
233
- allowed_apps?: Stripe.Emptyable<Array<string>>;
234
- }
235
- }
236
-
237
133
  interface Balances {
238
134
  /**
239
135
  * Whether the embedded component is enabled.
@@ -275,70 +171,6 @@ declare module 'stripe' {
275
171
  }
276
172
  }
277
173
 
278
- interface CapitalFinancing {
279
- /**
280
- * Whether the embedded component is enabled.
281
- */
282
- enabled: boolean;
283
-
284
- /**
285
- * The list of features enabled in the embedded component.
286
- */
287
- features?: CapitalFinancing.Features;
288
- }
289
-
290
- namespace CapitalFinancing {
291
- interface Features {}
292
- }
293
-
294
- interface CapitalFinancingApplication {
295
- /**
296
- * Whether the embedded component is enabled.
297
- */
298
- enabled: boolean;
299
-
300
- /**
301
- * The list of features enabled in the embedded component.
302
- */
303
- features?: CapitalFinancingApplication.Features;
304
- }
305
-
306
- namespace CapitalFinancingApplication {
307
- interface Features {}
308
- }
309
-
310
- interface CapitalFinancingPromotion {
311
- /**
312
- * Whether the embedded component is enabled.
313
- */
314
- enabled: boolean;
315
-
316
- /**
317
- * The list of features enabled in the embedded component.
318
- */
319
- features?: CapitalFinancingPromotion.Features;
320
- }
321
-
322
- namespace CapitalFinancingPromotion {
323
- interface Features {}
324
- }
325
-
326
- interface CapitalOverview {
327
- /**
328
- * Whether the embedded component is enabled.
329
- */
330
- enabled: boolean;
331
-
332
- /**
333
- * The list of features enabled in the embedded component.
334
- */
335
- features?: CapitalOverview.Features;
336
- }
337
-
338
- namespace CapitalOverview {
339
- interface Features {}
340
- }
341
-
342
174
  interface Documents {
343
175
  /**
344
176
  * Whether the embedded component is enabled.
@@ -355,114 +187,6 @@ declare module 'stripe' {
355
187
  interface Features {}
356
188
  }
357
189
 
358
- interface FinancialAccount {
359
- /**
360
- * Whether the embedded component is enabled.
361
- */
362
- enabled: boolean;
363
-
364
- features?: FinancialAccount.Features;
365
- }
366
-
367
- namespace FinancialAccount {
368
- interface Features {
369
- /**
370
- * 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.
371
- */
372
- disable_stripe_user_authentication?: boolean;
373
-
374
- /**
375
- * Whether to allow external accounts to be linked for money transfer.
376
- */
377
- external_account_collection?: boolean;
378
-
379
- /**
380
- * Whether to allow money movement features.
381
- */
382
- money_movement?: boolean;
383
-
384
- /**
385
- * Whether to allow sending money.
386
- */
387
- send_money?: boolean;
388
-
389
- /**
390
- * Whether to allow transferring balance.
391
- */
392
- transfer_balance?: boolean;
393
- }
394
- }
395
-
396
- interface FinancialAccountTransactions {
397
- /**
398
- * Whether the embedded component is enabled.
399
- */
400
- enabled: boolean;
401
-
402
- features?: FinancialAccountTransactions.Features;
403
- }
404
-
405
- namespace FinancialAccountTransactions {
406
- interface Features {
407
- /**
408
- * Whether to allow card spend dispute management features.
409
- */
410
- card_spend_dispute_management?: boolean;
411
- }
412
- }
413
-
414
- interface IssuingCard {
415
- /**
416
- * Whether the embedded component is enabled.
417
- */
418
- enabled: boolean;
419
-
420
- /**
421
- * The list of features enabled in the embedded component.
422
- */
423
- features?: IssuingCard.Features;
424
- }
425
-
426
- namespace IssuingCard {
427
- interface Features {}
428
- }
429
-
430
- interface IssuingCardsList {
431
- /**
432
- * Whether the embedded component is enabled.
433
- */
434
- enabled: boolean;
435
-
436
- /**
437
- * The list of features enabled in the embedded component.
438
- */
439
- features?: IssuingCardsList.Features;
440
- }
441
-
442
- namespace IssuingCardsList {
443
- interface Features {
444
- /**
445
- * Whether to allow card management features.
446
- */
447
- card_management?: boolean;
448
-
449
- /**
450
- * Whether to allow card spend dispute management features.
451
- */
452
- card_spend_dispute_management?: boolean;
453
-
454
- /**
455
- * Whether to allow cardholder management features.
456
- */
457
- cardholder_management?: boolean;
458
-
459
- /**
460
- * Whether to allow spend control management features.
461
- */
462
- spend_control_management?: boolean;
463
- }
464
- }
465
-
466
190
  interface NotificationBanner {
467
191
  /**
468
192
  * Whether the embedded component is enabled.
@@ -525,22 +249,6 @@ declare module 'stripe' {
525
249
  }
526
250
  }
527
251
 
528
- interface PaymentMethodSettings {
529
- /**
530
- * Whether the embedded component is enabled.
531
- */
532
- enabled: boolean;
533
-
534
- /**
535
- * The list of features enabled in the embedded component.
536
- */
537
- features?: PaymentMethodSettings.Features;
538
- }
539
-
540
- namespace PaymentMethodSettings {
541
- interface Features {}
542
- }
543
-
544
252
  interface Payments {
545
253
  /**
546
254
  * Whether the embedded component is enabled.
@@ -634,38 +342,6 @@ declare module 'stripe' {
634
342
  interface Features {}
635
343
  }
636
344
 
637
- interface Recipients {
638
- /**
639
- * Whether the embedded component is enabled.
640
- */
641
- enabled: boolean;
642
-
643
- /**
644
- * The list of features enabled in the embedded component.
645
- */
646
- features?: Recipients.Features;
647
- }
648
-
649
- namespace Recipients {
650
- interface Features {}
651
- }
652
-
653
- interface ReportingChart {
654
- /**
655
- * Whether the embedded component is enabled.
656
- */
657
- enabled: boolean;
658
-
659
- /**
660
- * The list of features enabled in the embedded component.
661
- */
662
- features?: ReportingChart.Features;
663
- }
664
-
665
- namespace ReportingChart {
666
- interface Features {}
667
- }
668
-
669
345
  interface TaxRegistrations {
670
346
  /**
671
347
  * Whether the embedded component is enabled.