stripe 17.6.0-beta.3 → 17.6.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 +124 -1040
  2. package/README.md +0 -1
  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 -222
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Cards.d.ts +0 -5
  27. package/types/Charges.d.ts +3 -141
  28. package/types/ChargesResource.d.ts +0 -1294
  29. package/types/Checkout/Sessions.d.ts +4 -340
  30. package/types/Checkout/SessionsResource.d.ts +5 -445
  31. package/types/ConfirmationTokens.d.ts +1 -100
  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 -596
  38. package/types/Events.d.ts +0 -93
  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/InvoiceItems.d.ts +0 -5
  44. package/types/InvoiceItemsResource.d.ts +0 -98
  45. package/types/InvoiceLineItems.d.ts +1 -28
  46. package/types/Invoices.d.ts +2 -137
  47. package/types/InvoicesResource.d.ts +1882 -5567
  48. package/types/Issuing/Authorizations.d.ts +0 -1
  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 -32
  53. package/types/Mandates.d.ts +0 -77
  54. package/types/PaymentIntents.d.ts +1 -644
  55. package/types/PaymentIntentsResource.d.ts +3734 -8021
  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 +1 -100
  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 +2 -16
  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 -29
  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 -290
  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 -70
  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 -1179
  154. package/types/OrdersResource.d.ts +0 -2961
  155. package/types/PaymentAttemptRecords.d.ts +0 -242
  156. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  157. package/types/PaymentRecords.d.ts +0 -242
  158. package/types/PaymentRecordsResource.d.ts +0 -455
  159. package/types/QuoteLines.d.ts +0 -634
  160. package/types/QuotePreviewInvoices.d.ts +0 -1658
  161. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  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.6.0-beta.3';
36
+ Stripe.PACKAGE_VERSION = '17.6.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.6.0-beta.3",
3
+ "version": "17.6.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
  financial_account: Components.FinancialAccount;
@@ -168,45 +162,6 @@ declare module 'stripe' {
168
162
  }
169
163
  }
170
164
 
171
- interface CapitalFinancing {
172
- /**
173
- * Whether the embedded component is enabled.
174
- */
175
- enabled: boolean;
176
-
177
- features: CapitalFinancing.Features;
178
- }
179
-
180
- namespace CapitalFinancing {
181
- interface Features {}
182
- }
183
-
184
- interface CapitalFinancingApplication {
185
- /**
186
- * Whether the embedded component is enabled.
187
- */
188
- enabled: boolean;
189
-
190
- features: CapitalFinancingApplication.Features;
191
- }
192
-
193
- namespace CapitalFinancingApplication {
194
- interface Features {}
195
- }
196
-
197
- interface CapitalFinancingPromotion {
198
- /**
199
- * Whether the embedded component is enabled.
200
- */
201
- enabled: boolean;
202
-
203
- features: CapitalFinancingPromotion.Features;
204
- }
205
-
206
- namespace CapitalFinancingPromotion {
207
- interface Features {}
208
- }
209
-
210
165
  interface Documents {
211
166
  /**
212
167
  * Whether the embedded component is enabled.
@@ -31,41 +31,11 @@ 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
  */
@@ -101,11 +71,6 @@ declare module 'stripe' {
101
71
  */
102
72
  payment_details?: Components.PaymentDetails;
103
73
 
104
- /**
105
- * Configuration for the payment method settings embedded component.
106
- */
107
- payment_method_settings?: Components.PaymentMethodSettings;
108
-
109
74
  /**
110
75
  * Configuration for the payments embedded component.
111
76
  */
@@ -121,16 +86,6 @@ declare module 'stripe' {
121
86
  */
122
87
  payouts_list?: Components.PayoutsList;
123
88
 
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
89
  /**
135
90
  * Configuration for the tax registrations embedded component.
136
91
  */
@@ -140,11 +95,6 @@ declare module 'stripe' {
140
95
  * Configuration for the tax settings embedded component.
141
96
  */
142
97
  tax_settings?: Components.TaxSettings;
143
-
144
- /**
145
- * Configuration for the tax threshold monitoring embedded component.
146
- */
147
- tax_threshold_monitoring?: Components.TaxThresholdMonitoring;
148
98
  }
149
99
 
150
100
  namespace Components {
@@ -200,48 +150,6 @@ declare module 'stripe' {
200
150
  }
201
151
  }
202
152
 
203
- interface AppInstall {
204
- /**
205
- * Whether the embedded component is enabled.
206
- */
207
- enabled: boolean;
208
-
209
- /**
210
- * The list of features enabled in the embedded component.
211
- */
212
- features?: AppInstall.Features;
213
- }
214
-
215
- namespace AppInstall {
216
- interface Features {
217
- /**
218
- * List of apps allowed to be enabled for this account session.
219
- */
220
- allowed_apps?: Stripe.Emptyable<Array<string>>;
221
- }
222
- }
223
-
224
- interface AppViewport {
225
- /**
226
- * Whether the embedded component is enabled.
227
- */
228
- enabled: boolean;
229
-
230
- /**
231
- * The list of features enabled in the embedded component.
232
- */
233
- features?: AppViewport.Features;
234
- }
235
-
236
- namespace AppViewport {
237
- interface Features {
238
- /**
239
- * List of apps allowed to be enabled for this account session.
240
- */
241
- allowed_apps?: Stripe.Emptyable<Array<string>>;
242
- }
243
- }
244
-
245
153
  interface Balances {
246
154
  /**
247
155
  * Whether the embedded component is enabled.
@@ -283,70 +191,6 @@ declare module 'stripe' {
283
191
  }
284
192
  }
285
193
 
286
- interface CapitalFinancing {
287
- /**
288
- * Whether the embedded component is enabled.
289
- */
290
- enabled: boolean;
291
-
292
- /**
293
- * The list of features enabled in the embedded component.
294
- */
295
- features?: CapitalFinancing.Features;
296
- }
297
-
298
- namespace CapitalFinancing {
299
- interface Features {}
300
- }
301
-
302
- interface CapitalFinancingApplication {
303
- /**
304
- * Whether the embedded component is enabled.
305
- */
306
- enabled: boolean;
307
-
308
- /**
309
- * The list of features enabled in the embedded component.
310
- */
311
- features?: CapitalFinancingApplication.Features;
312
- }
313
-
314
- namespace CapitalFinancingApplication {
315
- interface Features {}
316
- }
317
-
318
- interface CapitalFinancingPromotion {
319
- /**
320
- * Whether the embedded component is enabled.
321
- */
322
- enabled: boolean;
323
-
324
- /**
325
- * The list of features enabled in the embedded component.
326
- */
327
- features?: CapitalFinancingPromotion.Features;
328
- }
329
-
330
- namespace CapitalFinancingPromotion {
331
- interface Features {}
332
- }
333
-
334
- interface CapitalOverview {
335
- /**
336
- * Whether the embedded component is enabled.
337
- */
338
- enabled: boolean;
339
-
340
- /**
341
- * The list of features enabled in the embedded component.
342
- */
343
- features?: CapitalOverview.Features;
344
- }
345
-
346
- namespace CapitalOverview {
347
- interface Features {}
348
- }
349
-
350
194
  interface Documents {
351
195
  /**
352
196
  * Whether the embedded component is enabled.
@@ -559,22 +403,6 @@ declare module 'stripe' {
559
403
  }
560
404
  }
561
405
 
562
- interface PaymentMethodSettings {
563
- /**
564
- * Whether the embedded component is enabled.
565
- */
566
- enabled: boolean;
567
-
568
- /**
569
- * The list of features enabled in the embedded component.
570
- */
571
- features?: PaymentMethodSettings.Features;
572
- }
573
-
574
- namespace PaymentMethodSettings {
575
- interface Features {}
576
- }
577
-
578
406
  interface Payments {
579
407
  /**
580
408
  * Whether the embedded component is enabled.
@@ -668,40 +496,6 @@ declare module 'stripe' {
668
496
  interface Features {}
669
497
  }
670
498
 
671
- interface Recipients {
672
- /**
673
- * Whether the embedded component is enabled.
674
- */
675
- enabled: boolean;
676
-
677
- features?: Recipients.Features;
678
- }
679
-
680
- namespace Recipients {
681
- interface Features {
682
- /**
683
- * Whether to allow sending money.
684
- */
685
- send_money?: boolean;
686
- }
687
- }
688
-
689
- interface ReportingChart {
690
- /**
691
- * Whether the embedded component is enabled.
692
- */
693
- enabled: boolean;
694
-
695
- /**
696
- * The list of features enabled in the embedded component.
697
- */
698
- features?: ReportingChart.Features;
699
- }
700
-
701
- namespace ReportingChart {
702
- interface Features {}
703
- }
704
-
705
499
  interface TaxRegistrations {
706
500
  /**
707
501
  * Whether the embedded component is enabled.
@@ -733,22 +527,6 @@ declare module 'stripe' {
733
527
  namespace TaxSettings {
734
528
  interface Features {}
735
529
  }
736
-
737
- interface TaxThresholdMonitoring {
738
- /**
739
- * Whether the embedded component is enabled.
740
- */
741
- enabled: boolean;
742
-
743
- /**
744
- * The list of features enabled in the embedded component.
745
- */
746
- features?: TaxThresholdMonitoring.Features;
747
- }
748
-
749
- namespace TaxThresholdMonitoring {
750
- interface Features {}
751
- }
752
530
  }
753
531
  }
754
532