stripe 18.5.0-beta.2 → 18.6.0-alpha.1

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 (200) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +5 -3
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +63 -55
  6. package/cjs/RequestSender.js +7 -4
  7. package/cjs/apiVersion.js +1 -1
  8. package/cjs/resources/Mandates.js +5 -0
  9. package/cjs/resources/Subscriptions.js +4 -0
  10. package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
  11. package/cjs/resources/V2/Billing/BillSettings.js +27 -0
  12. package/cjs/resources/V2/Billing/Cadences.js +23 -0
  13. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
  14. package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
  15. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  16. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  17. package/cjs/resources/V2/Billing/Intents.js +36 -0
  18. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  19. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  20. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  21. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  22. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  23. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +17 -0
  24. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  25. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  26. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  27. package/cjs/resources/V2/Billing/Profiles.js +19 -0
  28. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  29. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  30. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  31. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  32. package/cjs/resources/V2/Billing/ServiceActions.js +16 -0
  33. package/cjs/resources/V2/Core/ClaimableSandboxes.js +12 -0
  34. package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
  35. package/cjs/resources/V2/Reporting/Reports.js +12 -0
  36. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  37. package/cjs/resources.js +64 -24
  38. package/cjs/stripe.core.js +27 -1
  39. package/esm/Error.js +50 -43
  40. package/esm/RequestSender.js +7 -4
  41. package/esm/apiVersion.js +1 -1
  42. package/esm/resources/Mandates.js +5 -0
  43. package/esm/resources/Subscriptions.js +4 -0
  44. package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
  45. package/esm/resources/V2/Billing/BillSettings.js +24 -0
  46. package/esm/resources/V2/Billing/Cadences.js +20 -0
  47. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
  48. package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
  49. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  50. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  51. package/esm/resources/V2/Billing/Intents.js +33 -0
  52. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  53. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  54. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  55. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  56. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  57. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +14 -0
  58. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  59. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  60. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  61. package/esm/resources/V2/Billing/Profiles.js +16 -0
  62. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  63. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  64. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  65. package/esm/resources/V2/Billing/RateCards.js +26 -0
  66. package/esm/resources/V2/Billing/ServiceActions.js +13 -0
  67. package/esm/resources/V2/Core/ClaimableSandboxes.js +9 -0
  68. package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
  69. package/esm/resources/V2/Reporting/Reports.js +9 -0
  70. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  71. package/esm/resources.js +45 -5
  72. package/esm/stripe.core.js +27 -1
  73. package/package.json +1 -1
  74. package/types/AccountSessions.d.ts +45 -0
  75. package/types/AccountSessionsResource.d.ts +76 -13
  76. package/types/Accounts.d.ts +2 -2
  77. package/types/Balance.d.ts +2 -7
  78. package/types/BalanceSettings.d.ts +52 -46
  79. package/types/BalanceSettingsResource.d.ts +55 -46
  80. package/types/Billing/AlertTriggereds.d.ts +16 -1
  81. package/types/Billing/Alerts.d.ts +116 -1
  82. package/types/Billing/AlertsResource.d.ts +93 -2
  83. package/types/Billing/CreditBalanceSummary.d.ts +118 -2
  84. package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
  85. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  86. package/types/Billing/CreditGrants.d.ts +71 -1
  87. package/types/Billing/CreditGrantsResource.d.ts +32 -1
  88. package/types/Billing/MeterUsageRows.d.ts +1 -1
  89. package/types/Billing/Meters.d.ts +1 -1
  90. package/types/Billing/MetersResource.d.ts +1 -1
  91. package/types/BillingPortal/Configurations.d.ts +5 -0
  92. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  93. package/types/Charges.d.ts +71 -5
  94. package/types/Checkout/Sessions.d.ts +128 -2
  95. package/types/Checkout/SessionsResource.d.ts +167 -3
  96. package/types/CreditNotesResource.d.ts +3 -3
  97. package/types/Disputes.d.ts +7 -2
  98. package/types/Errors.d.ts +51 -45
  99. package/types/FileLinksResource.d.ts +1 -1
  100. package/types/Files.d.ts +1 -0
  101. package/types/FilesResource.d.ts +3 -1
  102. package/types/InvoiceItems.d.ts +104 -2
  103. package/types/InvoiceLineItems.d.ts +113 -2
  104. package/types/InvoicePaymentsResource.d.ts +3 -0
  105. package/types/Invoices.d.ts +19 -2
  106. package/types/InvoicesResource.d.ts +64 -0
  107. package/types/Mandates.d.ts +58 -1
  108. package/types/MandatesResource.d.ts +31 -0
  109. package/types/PaymentAttemptRecords.d.ts +154 -9
  110. package/types/PaymentAttemptRecordsResource.d.ts +5 -0
  111. package/types/PaymentIntents.d.ts +136 -2
  112. package/types/PaymentIntentsResource.d.ts +280 -3
  113. package/types/PaymentLinksResource.d.ts +1 -1
  114. package/types/PaymentMethods.d.ts +5 -0
  115. package/types/PaymentRecords.d.ts +154 -9
  116. package/types/PaymentRecordsResource.d.ts +24 -3
  117. package/types/Payouts.d.ts +1 -1
  118. package/types/PromotionCodes.d.ts +5 -2
  119. package/types/QuotePreviewInvoices.d.ts +19 -2
  120. package/types/QuotePreviewSubscriptionSchedules.d.ts +47 -0
  121. package/types/SetupAttempts.d.ts +7 -1
  122. package/types/SetupIntents.d.ts +95 -1
  123. package/types/SetupIntentsResource.d.ts +207 -0
  124. package/types/SubscriptionSchedules.d.ts +47 -0
  125. package/types/SubscriptionSchedulesResource.d.ts +112 -0
  126. package/types/Subscriptions.d.ts +5 -0
  127. package/types/SubscriptionsResource.d.ts +145 -7
  128. package/types/Terminal/Configurations.d.ts +28 -0
  129. package/types/Terminal/ConfigurationsResource.d.ts +72 -0
  130. package/types/TestHelpers/Terminal/ReadersResource.d.ts +28 -1
  131. package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
  132. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
  133. package/types/V2/Billing/BillSettings.d.ts +120 -0
  134. package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
  135. package/types/V2/Billing/Cadences.d.ts +354 -0
  136. package/types/V2/Billing/CadencesResource.d.ts +489 -0
  137. package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
  138. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
  139. package/types/V2/Billing/CollectionSettings.d.ts +337 -0
  140. package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
  141. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  142. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  143. package/types/V2/Billing/IntentActions.d.ts +458 -0
  144. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  145. package/types/V2/Billing/Intents.d.ts +117 -0
  146. package/types/V2/Billing/IntentsResource.d.ts +574 -0
  147. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  148. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  149. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  150. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  151. package/types/V2/Billing/LicenseFees.d.ts +163 -0
  152. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  153. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  154. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  155. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  156. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  157. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  158. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +134 -0
  159. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +93 -0
  160. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  161. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  162. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  163. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  164. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  165. package/types/V2/Billing/Profiles.d.ts +70 -0
  166. package/types/V2/Billing/ProfilesResource.d.ts +150 -0
  167. package/types/V2/Billing/RateCardRates.d.ts +138 -0
  168. package/types/V2/Billing/RateCardSubscriptions.d.ts +134 -0
  169. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  170. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  171. package/types/V2/Billing/RateCards/RatesResource.d.ts +209 -0
  172. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  173. package/types/V2/Billing/RateCards.d.ts +98 -0
  174. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  175. package/types/V2/Billing/ServiceActions.d.ts +240 -0
  176. package/types/V2/Billing/ServiceActionsResource.d.ts +302 -0
  177. package/types/V2/Core/Accounts/PersonsResource.d.ts +32 -0
  178. package/types/V2/Core/Accounts.d.ts +49 -0
  179. package/types/V2/Core/AccountsResource.d.ts +78 -0
  180. package/types/V2/Core/ClaimableSandboxes.d.ts +349 -0
  181. package/types/V2/Core/ClaimableSandboxesResource.d.ts +310 -0
  182. package/types/V2/Core/Persons.d.ts +16 -0
  183. package/types/V2/EventTypes.d.ts +3682 -632
  184. package/types/V2/Events.d.ts +7 -0
  185. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +7 -2
  186. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +5 -0
  187. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +1 -1
  188. package/types/V2/MoneyManagement/TransactionEntries.d.ts +7 -0
  189. package/types/V2/MoneyManagement/Transactions.d.ts +7 -0
  190. package/types/V2/Reporting/ReportRuns.d.ts +178 -0
  191. package/types/V2/Reporting/ReportRunsResource.d.ts +99 -0
  192. package/types/V2/Reporting/Reports.d.ts +120 -0
  193. package/types/V2/Reporting/ReportsResource.d.ts +30 -0
  194. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  195. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  196. package/types/WebhookEndpointsResource.d.ts +2 -1
  197. package/types/Webhooks.d.ts +2 -0
  198. package/types/index.d.ts +125 -5
  199. package/types/lib.d.ts +1 -1
  200. package/types/test/typescriptTest.ts +3 -3
@@ -0,0 +1,302 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace V2 {
6
+ namespace Billing {
7
+ interface ServiceActionCreateParams {
8
+ /**
9
+ * The interval for assessing service.
10
+ */
11
+ service_interval: ServiceActionCreateParams.ServiceInterval;
12
+
13
+ /**
14
+ * The length of the interval for assessing service.
15
+ */
16
+ service_interval_count: number;
17
+
18
+ /**
19
+ * The type of the service action.
20
+ */
21
+ type: ServiceActionCreateParams.Type;
22
+
23
+ /**
24
+ * Details for the credit grant. Required if `type` is `credit_grant`.
25
+ */
26
+ credit_grant?: ServiceActionCreateParams.CreditGrant;
27
+
28
+ /**
29
+ * Details for the credit grant per tenant. Required if `type` is `credit_grant_per_tenant`.
30
+ */
31
+ credit_grant_per_tenant?: ServiceActionCreateParams.CreditGrantPerTenant;
32
+
33
+ /**
34
+ * An internal key you can use to search for this service action. Maximum length of 200 characters.
35
+ */
36
+ lookup_key?: string;
37
+ }
38
+
39
+ namespace ServiceActionCreateParams {
40
+ interface CreditGrant {
41
+ /**
42
+ * The amount of the credit grant.
43
+ */
44
+ amount: CreditGrant.Amount;
45
+
46
+ /**
47
+ * Defines the scope where the credit grant is applicable.
48
+ */
49
+ applicability_config: CreditGrant.ApplicabilityConfig;
50
+
51
+ /**
52
+ * The expiry configuration for the credit grant.
53
+ */
54
+ expiry_config: CreditGrant.ExpiryConfig;
55
+
56
+ /**
57
+ * A descriptive name shown in dashboard.
58
+ */
59
+ name: string;
60
+ }
61
+
62
+ namespace CreditGrant {
63
+ interface Amount {
64
+ /**
65
+ * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits.
66
+ */
67
+ type: Amount.Type;
68
+
69
+ /**
70
+ * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`.
71
+ */
72
+ custom_pricing_unit?: Amount.CustomPricingUnit;
73
+
74
+ /**
75
+ * The monetary amount of the credit grant. Required if `type` is `monetary`.
76
+ */
77
+ monetary?: V2.Amount;
78
+ }
79
+
80
+ namespace Amount {
81
+ interface CustomPricingUnit {
82
+ /**
83
+ * The id of the custom pricing unit.
84
+ */
85
+ id: string;
86
+
87
+ /**
88
+ * The value of the credit grant, decimal value represented as a string.
89
+ */
90
+ value: string;
91
+ }
92
+
93
+ type Type = 'custom_pricing_unit' | 'monetary';
94
+ }
95
+
96
+ interface ApplicabilityConfig {
97
+ /**
98
+ * The applicability scope of the credit grant.
99
+ */
100
+ scope: ApplicabilityConfig.Scope;
101
+ }
102
+
103
+ namespace ApplicabilityConfig {
104
+ interface Scope {
105
+ /**
106
+ * The billable items to apply the credit grant to.
107
+ */
108
+ billable_items?: Array<string>;
109
+
110
+ /**
111
+ * The price type that credit grants can apply to. We currently only support the `metered` price type. This will apply to metered prices and rate cards. Cannot be used in combination with `billable_items`.
112
+ */
113
+ price_type?: 'metered';
114
+ }
115
+ }
116
+
117
+ interface ExpiryConfig {
118
+ /**
119
+ * The type of the expiry configuration. We currently support `end_of_service_period`.
120
+ */
121
+ type: 'end_of_service_period';
122
+ }
123
+ }
124
+
125
+ interface CreditGrantPerTenant {
126
+ /**
127
+ * The amount of the credit grant.
128
+ */
129
+ amount: CreditGrantPerTenant.Amount;
130
+
131
+ /**
132
+ * Defines the scope where the credit grant is applicable.
133
+ */
134
+ applicability_config: CreditGrantPerTenant.ApplicabilityConfig;
135
+
136
+ /**
137
+ * The expiry configuration for the credit grant.
138
+ */
139
+ expiry_config: CreditGrantPerTenant.ExpiryConfig;
140
+
141
+ /**
142
+ * The grant condition for the credit grant.
143
+ */
144
+ grant_condition: CreditGrantPerTenant.GrantCondition;
145
+
146
+ /**
147
+ * Customer-facing name for the credit grant.
148
+ */
149
+ name: string;
150
+ }
151
+
152
+ namespace CreditGrantPerTenant {
153
+ interface Amount {
154
+ /**
155
+ * The type of the credit grant amount. We currently support `monetary` and `custom_pricing_unit` billing credits.
156
+ */
157
+ type: Amount.Type;
158
+
159
+ /**
160
+ * The custom pricing unit amount of the credit grant. Required if `type` is `custom_pricing_unit`.
161
+ */
162
+ custom_pricing_unit?: Amount.CustomPricingUnit;
163
+
164
+ /**
165
+ * The monetary amount of the credit grant. Required if `type` is `monetary`.
166
+ */
167
+ monetary?: V2.Amount;
168
+ }
169
+
170
+ namespace Amount {
171
+ interface CustomPricingUnit {
172
+ /**
173
+ * The id of the custom pricing unit.
174
+ */
175
+ id: string;
176
+
177
+ /**
178
+ * The value of the credit grant, decimal value represented as a string.
179
+ */
180
+ value: string;
181
+ }
182
+
183
+ type Type = 'custom_pricing_unit' | 'monetary';
184
+ }
185
+
186
+ interface ApplicabilityConfig {
187
+ /**
188
+ * The applicability scope of the credit grant.
189
+ */
190
+ scope: ApplicabilityConfig.Scope;
191
+ }
192
+
193
+ namespace ApplicabilityConfig {
194
+ interface Scope {
195
+ /**
196
+ * The billable items to apply the credit grant to.
197
+ */
198
+ billable_items?: Array<string>;
199
+
200
+ /**
201
+ * The price type that credit grants can apply to. We currently only support the `metered` price type. This will apply to metered prices and rate cards. Cannot be used in combination with `billable_items`.
202
+ */
203
+ price_type?: 'metered';
204
+ }
205
+ }
206
+
207
+ interface ExpiryConfig {
208
+ /**
209
+ * The type of the expiry configuration. We currently support `end_of_service_period`.
210
+ */
211
+ type: 'end_of_service_period';
212
+ }
213
+
214
+ interface GrantCondition {
215
+ /**
216
+ * The type of the grant condition. We currently support `meter_event_first_per_period`.
217
+ */
218
+ type: 'meter_event_first_per_period';
219
+
220
+ /**
221
+ * The grant condition for the meter event first per period.
222
+ */
223
+ meter_event_first_per_period?: GrantCondition.MeterEventFirstPerPeriod;
224
+ }
225
+
226
+ namespace GrantCondition {
227
+ interface MeterEventFirstPerPeriod {
228
+ /**
229
+ * The meter segment conditions for the grant condition.
230
+ */
231
+ meter_segment_conditions: Array<
232
+ MeterEventFirstPerPeriod.MeterSegmentCondition
233
+ >;
234
+ }
235
+
236
+ namespace MeterEventFirstPerPeriod {
237
+ interface MeterSegmentCondition {
238
+ /**
239
+ * The type of the meter segment condition. We currently support `dimension`.
240
+ */
241
+ type: 'dimension';
242
+
243
+ /**
244
+ * Dimension-based meter segment condition.
245
+ */
246
+ dimension?: MeterSegmentCondition.Dimension;
247
+ }
248
+
249
+ namespace MeterSegmentCondition {
250
+ interface Dimension {
251
+ /**
252
+ * The payload key for the dimension.
253
+ */
254
+ payload_key: string;
255
+
256
+ /**
257
+ * The value for the dimension.
258
+ */
259
+ value: string;
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+
266
+ type ServiceInterval = 'day' | 'month' | 'week' | 'year';
267
+
268
+ type Type = 'credit_grant' | 'credit_grant_per_tenant';
269
+ }
270
+ }
271
+
272
+ namespace Billing {
273
+ interface ServiceActionRetrieveParams {}
274
+ }
275
+
276
+ namespace Billing {
277
+ class ServiceActionsResource {
278
+ /**
279
+ * Create a Service Action object.
280
+ */
281
+ create(
282
+ params: ServiceActionCreateParams,
283
+ options?: RequestOptions
284
+ ): Promise<Stripe.Response<Stripe.V2.Billing.ServiceAction>>;
285
+
286
+ /**
287
+ * Retrieve a Service Action object.
288
+ */
289
+ retrieve(
290
+ id: string,
291
+ params?: ServiceActionRetrieveParams,
292
+ options?: RequestOptions
293
+ ): Promise<Stripe.Response<Stripe.V2.Billing.ServiceAction>>;
294
+ retrieve(
295
+ id: string,
296
+ options?: RequestOptions
297
+ ): Promise<Stripe.Response<Stripe.V2.Billing.ServiceAction>>;
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
@@ -888,12 +888,28 @@ declare module 'stripe' {
888
888
  namespace IdNumber {
889
889
  type Type =
890
890
  | 'ae_eid'
891
+ | 'ao_nif'
892
+ | 'az_tin'
893
+ | 'bd_brc'
894
+ | 'bd_etin'
895
+ | 'bd_nid'
891
896
  | 'br_cpf'
897
+ | 'cr_cpf'
898
+ | 'cr_dimex'
899
+ | 'cr_nite'
892
900
  | 'de_stn'
901
+ | 'do_rcn'
902
+ | 'gt_nit'
893
903
  | 'hk_id'
904
+ | 'kz_iin'
894
905
  | 'mx_rfc'
895
906
  | 'my_nric'
907
+ | 'mz_nuit'
896
908
  | 'nl_bsn'
909
+ | 'pe_dni'
910
+ | 'pk_cnic'
911
+ | 'pk_snic'
912
+ | 'sa_tin'
897
913
  | 'sg_fin'
898
914
  | 'sg_nric'
899
915
  | 'th_lc'
@@ -2733,12 +2749,28 @@ declare module 'stripe' {
2733
2749
  namespace IdNumber {
2734
2750
  type Type =
2735
2751
  | 'ae_eid'
2752
+ | 'ao_nif'
2753
+ | 'az_tin'
2754
+ | 'bd_brc'
2755
+ | 'bd_etin'
2756
+ | 'bd_nid'
2736
2757
  | 'br_cpf'
2758
+ | 'cr_cpf'
2759
+ | 'cr_dimex'
2760
+ | 'cr_nite'
2737
2761
  | 'de_stn'
2762
+ | 'do_rcn'
2763
+ | 'gt_nit'
2738
2764
  | 'hk_id'
2765
+ | 'kz_iin'
2739
2766
  | 'mx_rfc'
2740
2767
  | 'my_nric'
2768
+ | 'mz_nuit'
2741
2769
  | 'nl_bsn'
2770
+ | 'pe_dni'
2771
+ | 'pk_cnic'
2772
+ | 'pk_snic'
2773
+ | 'sa_tin'
2742
2774
  | 'sg_fin'
2743
2775
  | 'sg_nric'
2744
2776
  | 'th_lc'
@@ -105,6 +105,11 @@ declare module 'stripe' {
105
105
 
106
106
  namespace Configuration {
107
107
  interface Customer {
108
+ /**
109
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
110
+ */
111
+ applied: boolean;
112
+
108
113
  /**
109
114
  * Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
110
115
  */
@@ -584,6 +589,11 @@ declare module 'stripe' {
584
589
  }
585
590
 
586
591
  interface Merchant {
592
+ /**
593
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
594
+ */
595
+ applied: boolean;
596
+
587
597
  /**
588
598
  * Settings used for Bacs debit payments.
589
599
  */
@@ -3641,6 +3651,11 @@ declare module 'stripe' {
3641
3651
  }
3642
3652
 
3643
3653
  interface Recipient {
3654
+ /**
3655
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3656
+ */
3657
+ applied: boolean;
3658
+
3644
3659
  /**
3645
3660
  * Capabilities that have been requested on the Recipient Configuration.
3646
3661
  */
@@ -4043,6 +4058,11 @@ declare module 'stripe' {
4043
4058
  }
4044
4059
 
4045
4060
  interface Storer {
4061
+ /**
4062
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
4063
+ */
4064
+ applied: boolean;
4065
+
4046
4066
  /**
4047
4067
  * Capabilities that have been requested on the Storer Configuration.
4048
4068
  */
@@ -5615,10 +5635,13 @@ declare module 'stripe' {
5615
5635
  type Type =
5616
5636
  | 'ae_crn'
5617
5637
  | 'ae_vat'
5638
+ | 'ao_nif'
5618
5639
  | 'at_fn'
5619
5640
  | 'au_abn'
5620
5641
  | 'au_acn'
5621
5642
  | 'au_in'
5643
+ | 'az_tin'
5644
+ | 'bd_etin'
5622
5645
  | 'be_cbe'
5623
5646
  | 'bg_uic'
5624
5647
  | 'br_cnpj'
@@ -5628,11 +5651,14 @@ declare module 'stripe' {
5628
5651
  | 'ca_rid'
5629
5652
  | 'ch_chid'
5630
5653
  | 'ch_uid'
5654
+ | 'cr_cpj'
5655
+ | 'cr_nite'
5631
5656
  | 'cy_tic'
5632
5657
  | 'cz_ico'
5633
5658
  | 'de_hrn'
5634
5659
  | 'de_vat'
5635
5660
  | 'dk_cvr'
5661
+ | 'do_rcn'
5636
5662
  | 'ee_rk'
5637
5663
  | 'es_cif'
5638
5664
  | 'fi_yt'
@@ -5641,6 +5667,7 @@ declare module 'stripe' {
5641
5667
  | 'gb_crn'
5642
5668
  | 'gi_crn'
5643
5669
  | 'gr_gemi'
5670
+ | 'gt_nit'
5644
5671
  | 'hk_br'
5645
5672
  | 'hk_cr'
5646
5673
  | 'hk_mbs'
@@ -5649,6 +5676,7 @@ declare module 'stripe' {
5649
5676
  | 'it_rea'
5650
5677
  | 'it_vat'
5651
5678
  | 'jp_cn'
5679
+ | 'kz_bin'
5652
5680
  | 'li_uid'
5653
5681
  | 'lt_ccrn'
5654
5682
  | 'lu_rcs'
@@ -5658,12 +5686,17 @@ declare module 'stripe' {
5658
5686
  | 'my_brn'
5659
5687
  | 'my_coid'
5660
5688
  | 'my_sst'
5689
+ | 'mz_nuit'
5661
5690
  | 'nl_kvk'
5662
5691
  | 'no_orgnr'
5663
5692
  | 'nz_bn'
5693
+ | 'pe_ruc'
5694
+ | 'pk_ntn'
5664
5695
  | 'pl_regon'
5665
5696
  | 'pt_vat'
5666
5697
  | 'ro_cui'
5698
+ | 'sa_crn'
5699
+ | 'sa_tin'
5667
5700
  | 'se_orgnr'
5668
5701
  | 'sg_uen'
5669
5702
  | 'si_msp'
@@ -7499,12 +7532,28 @@ declare module 'stripe' {
7499
7532
  namespace IdNumber {
7500
7533
  type Type =
7501
7534
  | 'ae_eid'
7535
+ | 'ao_nif'
7536
+ | 'az_tin'
7537
+ | 'bd_brc'
7538
+ | 'bd_etin'
7539
+ | 'bd_nid'
7502
7540
  | 'br_cpf'
7541
+ | 'cr_cpf'
7542
+ | 'cr_dimex'
7543
+ | 'cr_nite'
7503
7544
  | 'de_stn'
7545
+ | 'do_rcn'
7546
+ | 'gt_nit'
7504
7547
  | 'hk_id'
7548
+ | 'kz_iin'
7505
7549
  | 'mx_rfc'
7506
7550
  | 'my_nric'
7551
+ | 'mz_nuit'
7507
7552
  | 'nl_bsn'
7553
+ | 'pe_dni'
7554
+ | 'pk_cnic'
7555
+ | 'pk_snic'
7556
+ | 'sa_tin'
7508
7557
  | 'sg_fin'
7509
7558
  | 'sg_nric'
7510
7559
  | 'th_lc'