stripe 16.6.0-beta.1 → 16.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 (159) hide show
  1. package/CHANGELOG.md +116 -778
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -13
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -42
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +3 -30
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -13
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -28
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +1 -27
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +1 -5
  34. package/types/AccountSessions.d.ts +0 -15
  35. package/types/AccountSessionsResource.d.ts +0 -163
  36. package/types/Accounts.d.ts +1 -106
  37. package/types/AccountsResource.d.ts +0 -246
  38. package/types/Charges.d.ts +0 -72
  39. package/types/ChargesResource.d.ts +0 -1294
  40. package/types/Checkout/Sessions.d.ts +62 -29
  41. package/types/Checkout/SessionsResource.d.ts +64 -16
  42. package/types/ConfirmationTokens.d.ts +0 -62
  43. package/types/Coupons.d.ts +1 -1
  44. package/types/CouponsResource.d.ts +1 -1
  45. package/types/CreditNotes.d.ts +0 -21
  46. package/types/CreditNotesResource.d.ts +0 -51
  47. package/types/CustomersResource.d.ts +0 -2
  48. package/types/Disputes.d.ts +0 -168
  49. package/types/DisputesResource.d.ts +0 -120
  50. package/types/EventTypes.d.ts +0 -426
  51. package/types/Events.d.ts +0 -83
  52. package/types/FinancialConnections/Accounts.d.ts +3 -31
  53. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  54. package/types/FinancialConnections/Sessions.d.ts +1 -49
  55. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  56. package/types/InvoiceItems.d.ts +0 -5
  57. package/types/InvoiceItemsResource.d.ts +0 -98
  58. package/types/InvoiceLineItems.d.ts +0 -22
  59. package/types/Invoices.d.ts +2 -116
  60. package/types/InvoicesResource.d.ts +1782 -5359
  61. package/types/Issuing/CardholdersResource.d.ts +1 -2
  62. package/types/LineItems.d.ts +0 -7
  63. package/types/Mandates.d.ts +0 -77
  64. package/types/PaymentIntents.d.ts +79 -491
  65. package/types/PaymentIntentsResource.d.ts +3625 -6925
  66. package/types/PaymentMethodConfigurations.d.ts +0 -36
  67. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  68. package/types/PaymentMethods.d.ts +0 -62
  69. package/types/PaymentMethodsResource.d.ts +0 -110
  70. package/types/Prices.d.ts +0 -22
  71. package/types/PricesResource.d.ts +0 -22
  72. package/types/Products.d.ts +0 -39
  73. package/types/ProductsResource.d.ts +0 -36
  74. package/types/Quotes.d.ts +1 -578
  75. package/types/QuotesResource.d.ts +266 -3175
  76. package/types/SetupAttempts.d.ts +1 -9
  77. package/types/SetupIntents.d.ts +3 -111
  78. package/types/SetupIntentsResource.d.ts +4 -499
  79. package/types/Sources.d.ts +0 -23
  80. package/types/SubscriptionItems.d.ts +0 -21
  81. package/types/SubscriptionItemsResource.d.ts +1 -110
  82. package/types/SubscriptionSchedules.d.ts +0 -164
  83. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  84. package/types/Subscriptions.d.ts +1 -46
  85. package/types/SubscriptionsResource.d.ts +4 -349
  86. package/types/Terminal/Readers.d.ts +0 -278
  87. package/types/Terminal/ReadersResource.d.ts +0 -208
  88. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  89. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  90. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  91. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  92. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  93. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  94. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  95. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  96. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  97. package/types/WebhookEndpointsResource.d.ts +0 -50
  98. package/types/index.d.ts +0 -69
  99. package/types/lib.d.ts +0 -12
  100. package/cjs/resources/AccountNotices.js +0 -21
  101. package/cjs/resources/Billing/Alerts.js +0 -27
  102. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  103. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  104. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  105. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  106. package/cjs/resources/GiftCards/Cards.js +0 -23
  107. package/cjs/resources/GiftCards/Transactions.js +0 -33
  108. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  109. package/cjs/resources/Margins.js +0 -22
  110. package/cjs/resources/Orders.js +0 -24
  111. package/cjs/resources/QuotePhases.js +0 -22
  112. package/cjs/resources/Tax/Associations.js +0 -9
  113. package/cjs/resources/Tax/Forms.js +0 -20
  114. package/esm/resources/AccountNotices.js +0 -18
  115. package/esm/resources/Billing/Alerts.js +0 -24
  116. package/esm/resources/Capital/FinancingOffers.js +0 -18
  117. package/esm/resources/Capital/FinancingSummary.js +0 -9
  118. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  119. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  120. package/esm/resources/GiftCards/Cards.js +0 -20
  121. package/esm/resources/GiftCards/Transactions.js +0 -30
  122. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  123. package/esm/resources/Margins.js +0 -19
  124. package/esm/resources/Orders.js +0 -21
  125. package/esm/resources/QuotePhases.js +0 -19
  126. package/esm/resources/Tax/Associations.js +0 -6
  127. package/esm/resources/Tax/Forms.js +0 -17
  128. package/types/AccountNotices.d.ts +0 -113
  129. package/types/AccountNoticesResource.d.ts +0 -98
  130. package/types/Billing/AlertsResource.d.ts +0 -176
  131. package/types/Capital/FinancingOffers.d.ts +0 -188
  132. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  133. package/types/Capital/FinancingSummary.d.ts +0 -106
  134. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  135. package/types/Capital/FinancingTransactions.d.ts +0 -135
  136. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  137. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  138. package/types/FinancialConnections/Institutions.d.ts +0 -93
  139. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  140. package/types/GiftCards/Cards.d.ts +0 -118
  141. package/types/GiftCards/CardsResource.d.ts +0 -159
  142. package/types/GiftCards/Transactions.d.ts +0 -129
  143. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  144. package/types/InvoicePayments.d.ts +0 -138
  145. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  146. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  147. package/types/Margins.d.ts +0 -56
  148. package/types/MarginsResource.d.ts +0 -114
  149. package/types/Orders.d.ts +0 -1057
  150. package/types/OrdersResource.d.ts +0 -2711
  151. package/types/QuoteLines.d.ts +0 -634
  152. package/types/QuotePhases.d.ts +0 -198
  153. package/types/QuotePhasesResource.d.ts +0 -67
  154. package/types/QuotePreviewInvoices.d.ts +0 -1528
  155. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
  156. package/types/Tax/Associations.d.ts +0 -126
  157. package/types/Tax/AssociationsResource.d.ts +0 -29
  158. package/types/Tax/Forms.d.ts +0 -133
  159. package/types/Tax/FormsResource.d.ts +0 -90
@@ -121,8 +121,6 @@ declare module 'stripe' {
121
121
 
122
122
  paypal?: PaymentMethodConfiguration.Paypal;
123
123
 
124
- payto?: PaymentMethodConfiguration.Payto;
125
-
126
124
  promptpay?: PaymentMethodConfiguration.Promptpay;
127
125
 
128
126
  revolut_pay?: PaymentMethodConfiguration.RevolutPay;
@@ -1197,40 +1195,6 @@ declare module 'stripe' {
1197
1195
  }
1198
1196
  }
1199
1197
 
1200
- interface Payto {
1201
- /**
1202
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1203
- */
1204
- available: boolean;
1205
-
1206
- display_preference: Payto.DisplayPreference;
1207
- }
1208
-
1209
- namespace Payto {
1210
- interface DisplayPreference {
1211
- /**
1212
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1213
- */
1214
- overridable: boolean | null;
1215
-
1216
- /**
1217
- * The account's display preference.
1218
- */
1219
- preference: DisplayPreference.Preference;
1220
-
1221
- /**
1222
- * The effective display preference value.
1223
- */
1224
- value: DisplayPreference.Value;
1225
- }
1226
-
1227
- namespace DisplayPreference {
1228
- type Preference = 'none' | 'off' | 'on';
1229
-
1230
- type Value = 'off' | 'on';
1231
- }
1232
- }
1233
-
1234
1198
  interface Promptpay {
1235
1199
  /**
1236
1200
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -178,11 +178,6 @@ declare module 'stripe' {
178
178
  */
179
179
  paypal?: PaymentMethodConfigurationCreateParams.Paypal;
180
180
 
181
- /**
182
- * PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
183
- */
184
- payto?: PaymentMethodConfigurationCreateParams.Payto;
185
-
186
181
  /**
187
182
  * PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
188
183
  */
@@ -870,26 +865,6 @@ declare module 'stripe' {
870
865
  }
871
866
  }
872
867
 
873
- interface Payto {
874
- /**
875
- * Whether or not the payment method should be displayed.
876
- */
877
- display_preference?: Payto.DisplayPreference;
878
- }
879
-
880
- namespace Payto {
881
- interface DisplayPreference {
882
- /**
883
- * The account's preference for whether or not to display this payment method.
884
- */
885
- preference?: DisplayPreference.Preference;
886
- }
887
-
888
- namespace DisplayPreference {
889
- type Preference = 'none' | 'off' | 'on';
890
- }
891
- }
892
-
893
868
  interface Promptpay {
894
869
  /**
895
870
  * Whether or not the payment method should be displayed.
@@ -1254,11 +1229,6 @@ declare module 'stripe' {
1254
1229
  */
1255
1230
  paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
1256
1231
 
1257
- /**
1258
- * PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
1259
- */
1260
- payto?: PaymentMethodConfigurationUpdateParams.Payto;
1261
-
1262
1232
  /**
1263
1233
  * PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1264
1234
  */
@@ -1946,26 +1916,6 @@ declare module 'stripe' {
1946
1916
  }
1947
1917
  }
1948
1918
 
1949
- interface Payto {
1950
- /**
1951
- * Whether or not the payment method should be displayed.
1952
- */
1953
- display_preference?: Payto.DisplayPreference;
1954
- }
1955
-
1956
- namespace Payto {
1957
- interface DisplayPreference {
1958
- /**
1959
- * The account's preference for whether or not to display this payment method.
1960
- */
1961
- preference?: DisplayPreference.Preference;
1962
- }
1963
-
1964
- namespace DisplayPreference {
1965
- type Preference = 'none' | 'off' | 'on';
1966
- }
1967
- }
1968
-
1969
1919
  interface Promptpay {
1970
1920
  /**
1971
1921
  * Whether or not the payment method should be displayed.
@@ -105,8 +105,6 @@ declare module 'stripe' {
105
105
 
106
106
  paypal?: PaymentMethod.Paypal;
107
107
 
108
- payto?: PaymentMethod.Payto;
109
-
110
108
  pix?: PaymentMethod.Pix;
111
109
 
112
110
  promptpay?: PaymentMethod.Promptpay;
@@ -116,8 +114,6 @@ declare module 'stripe' {
116
114
  */
117
115
  radar_options?: PaymentMethod.RadarOptions;
118
116
 
119
- rechnung?: PaymentMethod.Rechnung;
120
-
121
117
  revolut_pay?: PaymentMethod.RevolutPay;
122
118
 
123
119
  sepa_debit?: PaymentMethod.SepaDebit;
@@ -1116,11 +1112,6 @@ declare module 'stripe' {
1116
1112
  interface Paynow {}
1117
1113
 
1118
1114
  interface Paypal {
1119
- /**
1120
- * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1121
- */
1122
- fingerprint?: string | null;
1123
-
1124
1115
  /**
1125
1116
  * Owner's email. Values are provided by PayPal directly
1126
1117
  * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
@@ -1131,29 +1122,6 @@ declare module 'stripe' {
1131
1122
  * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1132
1123
  */
1133
1124
  payer_id: string | null;
1134
-
1135
- /**
1136
- * Owner's verified email. Values are verified or provided by PayPal directly
1137
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1138
- */
1139
- verified_email?: string | null;
1140
- }
1141
-
1142
- interface Payto {
1143
- /**
1144
- * Bank-State-Branch number of the bank account.
1145
- */
1146
- bsb_number: string | null;
1147
-
1148
- /**
1149
- * Last four digits of the bank account number.
1150
- */
1151
- last4: string | null;
1152
-
1153
- /**
1154
- * The PayID alias for the bank account.
1155
- */
1156
- pay_id: string | null;
1157
1125
  }
1158
1126
 
1159
1127
  interface Pix {}
@@ -1167,29 +1135,6 @@ declare module 'stripe' {
1167
1135
  session?: string;
1168
1136
  }
1169
1137
 
1170
- interface Rechnung {
1171
- dob?: Rechnung.Dob;
1172
- }
1173
-
1174
- namespace Rechnung {
1175
- interface Dob {
1176
- /**
1177
- * The day of birth, between 1 and 31.
1178
- */
1179
- day: number;
1180
-
1181
- /**
1182
- * The month of birth, between 1 and 12.
1183
- */
1184
- month: number;
1185
-
1186
- /**
1187
- * The four-digit year of birth.
1188
- */
1189
- year: number;
1190
- }
1191
- }
1192
-
1193
1138
  interface RevolutPay {}
1194
1139
 
1195
1140
  interface SepaDebit {
@@ -1279,10 +1224,8 @@ declare module 'stripe' {
1279
1224
  | 'p24'
1280
1225
  | 'paynow'
1281
1226
  | 'paypal'
1282
- | 'payto'
1283
1227
  | 'pix'
1284
1228
  | 'promptpay'
1285
- | 'rechnung'
1286
1229
  | 'revolut_pay'
1287
1230
  | 'sepa_debit'
1288
1231
  | 'sofort'
@@ -1298,11 +1241,6 @@ declare module 'stripe' {
1298
1241
  */
1299
1242
  account_holder_type: UsBankAccount.AccountHolderType | null;
1300
1243
 
1301
- /**
1302
- * Account number of the bank account.
1303
- */
1304
- account_number?: string | null;
1305
-
1306
1244
  /**
1307
1245
  * Account type: checkings or savings. Defaults to checking if omitted.
1308
1246
  */
@@ -173,11 +173,6 @@ declare module 'stripe' {
173
173
  */
174
174
  paypal?: PaymentMethodCreateParams.Paypal;
175
175
 
176
- /**
177
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
178
- */
179
- payto?: PaymentMethodCreateParams.Payto;
180
-
181
176
  /**
182
177
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
183
178
  */
@@ -193,11 +188,6 @@ declare module 'stripe' {
193
188
  */
194
189
  radar_options?: PaymentMethodCreateParams.RadarOptions;
195
190
 
196
- /**
197
- * If this is a Rechnung PaymentMethod, this hash contains details about the Rechnung payment method.
198
- */
199
- rechnung?: PaymentMethodCreateParams.Rechnung;
200
-
201
191
  /**
202
192
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
203
193
  */
@@ -567,23 +557,6 @@ declare module 'stripe' {
567
557
 
568
558
  interface Paypal {}
569
559
 
570
- interface Payto {
571
- /**
572
- * The account number for the bank account.
573
- */
574
- account_number?: string;
575
-
576
- /**
577
- * Bank-State-Branch number of the bank account.
578
- */
579
- bsb_number?: string;
580
-
581
- /**
582
- * The PayID alias for the bank account.
583
- */
584
- pay_id?: string;
585
- }
586
-
587
560
  interface Pix {}
588
561
 
589
562
  interface Promptpay {}
@@ -595,32 +568,6 @@ declare module 'stripe' {
595
568
  session?: string;
596
569
  }
597
570
 
598
- interface Rechnung {
599
- /**
600
- * Customer's date of birth
601
- */
602
- dob: Rechnung.Dob;
603
- }
604
-
605
- namespace Rechnung {
606
- interface Dob {
607
- /**
608
- * The day of birth, between 1 and 31.
609
- */
610
- day: number;
611
-
612
- /**
613
- * The month of birth, between 1 and 12.
614
- */
615
- month: number;
616
-
617
- /**
618
- * The four-digit year of birth.
619
- */
620
- year: number;
621
- }
622
- }
623
-
624
571
  interface RevolutPay {}
625
572
 
626
573
  interface SepaDebit {
@@ -673,10 +620,8 @@ declare module 'stripe' {
673
620
  | 'p24'
674
621
  | 'paynow'
675
622
  | 'paypal'
676
- | 'payto'
677
623
  | 'pix'
678
624
  | 'promptpay'
679
- | 'rechnung'
680
625
  | 'revolut_pay'
681
626
  | 'sepa_debit'
682
627
  | 'sofort'
@@ -762,16 +707,6 @@ declare module 'stripe' {
762
707
  */
763
708
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
764
709
 
765
- /**
766
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
767
- */
768
- payto?: PaymentMethodUpdateParams.Payto;
769
-
770
- /**
771
- * If this is a Rechnung PaymentMethod, this hash contains details about the Rechnung payment method.
772
- */
773
- rechnung?: PaymentMethodUpdateParams.Rechnung;
774
-
775
710
  /**
776
711
  * If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
777
712
  */
@@ -835,49 +770,6 @@ declare module 'stripe' {
835
770
 
836
771
  interface Link {}
837
772
 
838
- interface Payto {
839
- /**
840
- * The account number for the bank account.
841
- */
842
- account_number?: string;
843
-
844
- /**
845
- * Bank-State-Branch number of the bank account.
846
- */
847
- bsb_number?: string;
848
-
849
- /**
850
- * The PayID alias for the bank account.
851
- */
852
- pay_id?: string;
853
- }
854
-
855
- interface Rechnung {
856
- /**
857
- * Customer's date of birth
858
- */
859
- dob: Rechnung.Dob;
860
- }
861
-
862
- namespace Rechnung {
863
- interface Dob {
864
- /**
865
- * The day of birth, between 1 and 31.
866
- */
867
- day: number;
868
-
869
- /**
870
- * The month of birth, between 1 and 12.
871
- */
872
- month: number;
873
-
874
- /**
875
- * The four-digit year of birth.
876
- */
877
- year: number;
878
- }
879
- }
880
-
881
773
  interface UsBankAccount {
882
774
  /**
883
775
  * Bank account holder type.
@@ -943,10 +835,8 @@ declare module 'stripe' {
943
835
  | 'p24'
944
836
  | 'paynow'
945
837
  | 'paypal'
946
- | 'payto'
947
838
  | 'pix'
948
839
  | 'promptpay'
949
- | 'rechnung'
950
840
  | 'revolut_pay'
951
841
  | 'sepa_debit'
952
842
  | 'sofort'
package/types/Prices.d.ts CHANGED
@@ -93,11 +93,6 @@ declare module 'stripe' {
93
93
  */
94
94
  metadata: Stripe.Metadata;
95
95
 
96
- /**
97
- * Subscriptions using this price will be migrated to use the new referenced price.
98
- */
99
- migrate_to?: Price.MigrateTo | null;
100
-
101
96
  /**
102
97
  * A brief description of the price, hidden from customers.
103
98
  */
@@ -244,23 +239,6 @@ declare module 'stripe' {
244
239
  preset: number | null;
245
240
  }
246
241
 
247
- interface MigrateTo {
248
- /**
249
- * The behavior controlling at what point in the subscription lifecycle to migrate the price
250
- */
251
- behavior: 'at_cycle_end';
252
-
253
- /**
254
- * The unix timestamp after at which subscriptions will start to migrate to the new price.
255
- */
256
- effective_after: number;
257
-
258
- /**
259
- * The id of the price being migrated to
260
- */
261
- price: string;
262
- }
263
-
264
242
  interface Recurring {
265
243
  /**
266
244
  * Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.
@@ -372,11 +372,6 @@ declare module 'stripe' {
372
372
  */
373
373
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
374
374
 
375
- /**
376
- * If specified, subscriptions using this price will be updated to use the new referenced price.
377
- */
378
- migrate_to?: Stripe.Emptyable<PriceUpdateParams.MigrateTo>;
379
-
380
375
  /**
381
376
  * A brief description of the price, hidden from customers.
382
377
  */
@@ -474,23 +469,6 @@ declare module 'stripe' {
474
469
  }
475
470
  }
476
471
 
477
- interface MigrateTo {
478
- /**
479
- * The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`.
480
- */
481
- behavior: 'at_cycle_end';
482
-
483
- /**
484
- * The time after which subscriptions should start using the new price.
485
- */
486
- effective_after?: number;
487
-
488
- /**
489
- * The ID of the price object.
490
- */
491
- price: string;
492
- }
493
-
494
472
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
495
473
  }
496
474
 
@@ -98,11 +98,6 @@ declare module 'stripe' {
98
98
  */
99
99
  package_dimensions: Product.PackageDimensions | null;
100
100
 
101
- /**
102
- * Provisioning configuration for this product.
103
- */
104
- provisioning?: Product.Provisioning | null;
105
-
106
101
  /**
107
102
  * Whether this product is shipped (i.e., physical goods).
108
103
  */
@@ -169,40 +164,6 @@ declare module 'stripe' {
169
164
  width: number;
170
165
  }
171
166
 
172
- interface Provisioning {
173
- gift_card: Provisioning.GiftCard | null;
174
-
175
- /**
176
- * The type of provisioning, only `gift_card` currently supported.
177
- */
178
- type: 'gift_card';
179
- }
180
-
181
- namespace Provisioning {
182
- interface GiftCard {
183
- fixed_amount: GiftCard.FixedAmount | null;
184
-
185
- /**
186
- * The specific type of gift_card provisioning, only `fixed_amount` currently supported.
187
- */
188
- type: 'fixed_amount';
189
- }
190
-
191
- namespace GiftCard {
192
- interface FixedAmount {
193
- /**
194
- * The initial amount with which the provisioned gift card will be created.
195
- */
196
- amount: number;
197
-
198
- /**
199
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
200
- */
201
- currency: string;
202
- }
203
- }
204
- }
205
-
206
167
  type Type = 'good' | 'service';
207
168
  }
208
169
  }
@@ -53,11 +53,6 @@ declare module 'stripe' {
53
53
  */
54
54
  package_dimensions?: ProductCreateParams.PackageDimensions;
55
55
 
56
- /**
57
- * Provisioning configuration for this product.
58
- */
59
- provisioning?: ProductCreateParams.Provisioning;
60
-
61
56
  /**
62
57
  * Whether this product is shipped (i.e., physical goods).
63
58
  */
@@ -256,37 +251,6 @@ declare module 'stripe' {
256
251
  width: number;
257
252
  }
258
253
 
259
- interface Provisioning {
260
- gift_card?: Provisioning.GiftCard;
261
-
262
- /**
263
- * The type of provisioning, only `gift_card` currently supported.
264
- */
265
- type: 'gift_card';
266
- }
267
-
268
- namespace Provisioning {
269
- interface GiftCard {
270
- fixed_amount?: GiftCard.FixedAmount;
271
-
272
- /**
273
- * The specific type of gift_card provisioning, only `fixed_amount` currently supported.
274
- */
275
- type: 'fixed_amount';
276
- }
277
-
278
- namespace GiftCard {
279
- interface FixedAmount {
280
- /**
281
- * The initial amount with which the provisioned gift card will be created.
282
- */
283
- amount: number;
284
-
285
- currency: string;
286
- }
287
- }
288
- }
289
-
290
254
  type Type = 'good' | 'service';
291
255
  }
292
256