stripe 19.2.0-alpha.1 → 19.2.0-beta.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 (123) hide show
  1. package/CHANGELOG.md +1 -106
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources.js +0 -30
  5. package/cjs/stripe.core.js +1 -1
  6. package/esm/resources.js +0 -30
  7. package/esm/stripe.core.js +1 -1
  8. package/package.json +1 -1
  9. package/types/Billing/AlertTriggereds.d.ts +0 -15
  10. package/types/Billing/Alerts.d.ts +1 -116
  11. package/types/Billing/AlertsResource.d.ts +2 -149
  12. package/types/Billing/CreditBalanceSummary.d.ts +2 -118
  13. package/types/Billing/CreditBalanceSummaryResource.d.ts +0 -12
  14. package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
  15. package/types/Billing/CreditGrants.d.ts +1 -71
  16. package/types/Billing/CreditGrantsResource.d.ts +1 -32
  17. package/types/Checkout/Sessions.d.ts +0 -58
  18. package/types/Checkout/SessionsResource.d.ts +0 -50
  19. package/types/CreditNotes.d.ts +0 -26
  20. package/types/CreditNotesResource.d.ts +0 -78
  21. package/types/InvoiceItems.d.ts +2 -104
  22. package/types/InvoiceLineItems.d.ts +2 -113
  23. package/types/InvoicesResource.d.ts +0 -5
  24. package/types/V2/Billing/Cadences.d.ts +0 -45
  25. package/types/V2/Billing/CadencesResource.d.ts +3 -32
  26. package/types/V2/Core/Accounts.d.ts +0 -59
  27. package/types/V2/Core/AccountsResource.d.ts +0 -24
  28. package/types/V2/Core/EventTypes.d.ts +375 -7180
  29. package/types/V2/Core/Events.d.ts +0 -12
  30. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -14
  31. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -5
  32. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -5
  33. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -34
  34. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -5
  35. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -5
  36. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -41
  37. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -5
  38. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +1 -6
  39. package/types/Webhooks.d.ts +0 -2
  40. package/types/index.d.ts +0 -58
  41. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
  42. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
  43. package/cjs/resources/V2/Billing/Intents.js +0 -36
  44. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
  45. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
  46. package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
  47. package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
  48. package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
  49. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -21
  50. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
  51. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
  52. package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
  53. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
  54. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
  55. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
  56. package/cjs/resources/V2/Billing/RateCards.js +0 -29
  57. package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
  58. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
  59. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
  60. package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
  61. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
  62. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
  63. package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
  64. package/esm/resources/V2/Billing/Intents.js +0 -33
  65. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
  66. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
  67. package/esm/resources/V2/Billing/LicenseFees.js +0 -24
  68. package/esm/resources/V2/Billing/LicensedItems.js +0 -22
  69. package/esm/resources/V2/Billing/MeteredItems.js +0 -19
  70. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -18
  71. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
  72. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
  73. package/esm/resources/V2/Billing/PricingPlans.js +0 -26
  74. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
  75. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
  76. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
  77. package/esm/resources/V2/Billing/RateCards.js +0 -26
  78. package/esm/resources/V2/Billing/ServiceActions.js +0 -17
  79. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
  80. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
  81. package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
  82. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
  83. package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
  84. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
  85. package/types/V2/Billing/IntentActions.d.ts +0 -459
  86. package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
  87. package/types/V2/Billing/Intents.d.ts +0 -117
  88. package/types/V2/Billing/IntentsResource.d.ts +0 -575
  89. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
  90. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
  91. package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
  92. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
  93. package/types/V2/Billing/LicenseFees.d.ts +0 -164
  94. package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
  95. package/types/V2/Billing/LicensedItems.d.ts +0 -73
  96. package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
  97. package/types/V2/Billing/MeteredItems.d.ts +0 -101
  98. package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
  99. package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
  100. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
  101. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -118
  102. package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
  103. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
  104. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
  105. package/types/V2/Billing/PricingPlans.d.ts +0 -84
  106. package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
  107. package/types/V2/Billing/RateCardRates.d.ts +0 -144
  108. package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
  109. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
  110. package/types/V2/Billing/RateCardVersions.d.ts +0 -39
  111. package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
  112. package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
  113. package/types/V2/Billing/RateCards.d.ts +0 -98
  114. package/types/V2/Billing/RateCardsResource.d.ts +0 -162
  115. package/types/V2/Billing/ServiceActions.d.ts +0 -274
  116. package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
  117. package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
  118. package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
  119. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
  120. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
  121. package/types/V2/Tax/AutomaticRules.d.ts +0 -53
  122. package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
  123. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -48
@@ -5,8 +5,6 @@ declare module 'stripe' {
5
5
  namespace V2 {
6
6
  namespace Core {
7
7
  namespace Event {
8
- interface Changes {}
9
-
10
8
  interface Reason {
11
9
  /**
12
10
  * Event reason type.
@@ -48,11 +46,6 @@ declare module 'stripe' {
48
46
  */
49
47
  object: 'v2.core.event';
50
48
 
51
- /**
52
- * Before and after changes for the primary related object.
53
- */
54
- changes?: Event.Changes;
55
-
56
49
  /**
57
50
  * Authentication context needed to fetch the event or related object.
58
51
  */
@@ -77,11 +70,6 @@ declare module 'stripe' {
77
70
  * The type of the event.
78
71
  */
79
72
  type: string;
80
-
81
- /**
82
- * For interop events, this is the snapshot event ID.
83
- */
84
- v1_event_id?: string;
85
73
  }
86
74
  }
87
75
  }
@@ -14,21 +14,9 @@ declare module 'stripe' {
14
14
  * The type of FinancialAddress details to provision.
15
15
  */
16
16
  type: FinancialAddressCreateParams.Type;
17
-
18
- /**
19
- * Optional SEPA Bank account options, used to configure the type of SEPA Bank account to create, such as the originating country.
20
- */
21
- sepa_bank_account?: FinancialAddressCreateParams.SepaBankAccount;
22
17
  }
23
18
 
24
19
  namespace FinancialAddressCreateParams {
25
- interface SepaBankAccount {
26
- /**
27
- * The originating country of the SEPA Bank account.
28
- */
29
- country: string;
30
- }
31
-
32
20
  type Type =
33
21
  | 'gb_bank_account'
34
22
  | 'sepa_bank_account'
@@ -47,7 +35,6 @@ declare module 'stripe' {
47
35
  namespace FinancialAddressRetrieveParams {
48
36
  type Include =
49
37
  | 'credentials.gb_bank_account.account_number'
50
- | 'credentials.sepa_bank_account.iban'
51
38
  | 'credentials.us_bank_account.account_number';
52
39
  }
53
40
  }
@@ -73,7 +60,6 @@ declare module 'stripe' {
73
60
  namespace FinancialAddressListParams {
74
61
  type Include =
75
62
  | 'credentials.gb_bank_account.account_number'
76
- | 'credentials.sepa_bank_account.iban'
77
63
  | 'credentials.us_bank_account.account_number';
78
64
  }
79
65
  }
@@ -80,11 +80,6 @@ declare module 'stripe' {
80
80
  */
81
81
  recipient_notification: OutboundPayment.RecipientNotification;
82
82
 
83
- /**
84
- * The recipient verification id for this OutboundPayment. Only required for countries with regulatory mandates to verify recipient names before OutboundPayment creation.
85
- */
86
- recipient_verification?: string;
87
-
88
83
  /**
89
84
  * The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
90
85
  */
@@ -44,11 +44,6 @@ declare module 'stripe' {
44
44
  * Details about the notification settings for the OutboundPayment recipient.
45
45
  */
46
46
  recipient_notification?: OutboundPaymentCreateParams.RecipientNotification;
47
-
48
- /**
49
- * The recipient verification id for this OutboundPayment. Only required for countries with regulatory mandates to verify recipient names before OutboundPayment creation.
50
- */
51
- recipient_verification?: string;
52
47
  }
53
48
 
54
49
  namespace OutboundPaymentCreateParams {
@@ -40,11 +40,6 @@ declare module 'stripe' {
40
40
  * The type specific details of the card payout method.
41
41
  */
42
42
  card?: PayoutMethodData.Card;
43
-
44
- /**
45
- * The type specific details of the crypto wallet payout method.
46
- */
47
- crypto_wallet?: PayoutMethodData.CryptoWallet;
48
43
  }
49
44
 
50
45
  namespace PayoutMethodData {
@@ -101,35 +96,6 @@ declare module 'stripe' {
101
96
  number: string;
102
97
  }
103
98
 
104
- interface CryptoWallet {
105
- /**
106
- * Crypto wallet address.
107
- */
108
- address: string;
109
-
110
- /**
111
- * Optional field, required if network supports memos (only "stellar" currently).
112
- */
113
- memo?: string;
114
-
115
- /**
116
- * Which rail we should use to make an Outbound money movement to this wallet.
117
- */
118
- network: CryptoWallet.Network;
119
- }
120
-
121
- namespace CryptoWallet {
122
- type Network =
123
- | 'arbitrum'
124
- | 'avalanche_c_chain'
125
- | 'base'
126
- | 'ethereum'
127
- | 'optimism'
128
- | 'polygon'
129
- | 'solana'
130
- | 'stellar';
131
- }
132
-
133
99
  type Type = 'bank_account' | 'card' | 'crypto_wallet';
134
100
  }
135
101
 
@@ -70,11 +70,6 @@ declare module 'stripe' {
70
70
  */
71
71
  receipt_url?: string;
72
72
 
73
- /**
74
- * The recipient verification id for this OutboundTransfer. Only required for countries with regulatory mandates to verify recipient names before OutboundTransfer creation.
75
- */
76
- recipient_verification?: string;
77
-
78
73
  /**
79
74
  * The description that appears on the receiving end for an OutboundTransfer (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
80
75
  */
@@ -34,11 +34,6 @@ declare module 'stripe' {
34
34
  * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
35
35
  */
36
36
  metadata?: Stripe.MetadataParam;
37
-
38
- /**
39
- * The recipient verification id for this OutboundTransfer. Only required for countries with regulatory mandates to verify recipient names before OutboundTransfer creation.
40
- */
41
- recipient_verification?: string;
42
37
  }
43
38
 
44
39
  namespace OutboundTransferCreateParams {
@@ -38,11 +38,6 @@ declare module 'stripe' {
38
38
  */
39
39
  created: string;
40
40
 
41
- /**
42
- * The PayoutMethodCryptoWallet object details.
43
- */
44
- crypto_wallet?: PayoutMethod.CryptoWallet;
45
-
46
41
  /**
47
42
  * ID of the underlying active OutboundSetupIntent object, if any.
48
43
  */
@@ -139,42 +134,6 @@ declare module 'stripe' {
139
134
  last4: string;
140
135
  }
141
136
 
142
- interface CryptoWallet {
143
- /**
144
- * Destination wallet address.
145
- */
146
- address: string;
147
-
148
- /**
149
- * Whether the crypto wallet was archived. Crypto wallets can be archived through the /archive API,
150
- * and they will not be automatically archived by Stripe. Archived crypto wallets cannot be used as
151
- * payout method and will not appear in the payout method list.
152
- */
153
- archived: boolean;
154
-
155
- /**
156
- * Optional field, required if network supports memos (only "stellar" currently).
157
- */
158
- memo?: string;
159
-
160
- /**
161
- * Which rail is being used to make an outbound money movement to this wallet.
162
- */
163
- network: CryptoWallet.Network;
164
- }
165
-
166
- namespace CryptoWallet {
167
- type Network =
168
- | 'arbitrum'
169
- | 'avalanche_c_chain'
170
- | 'base'
171
- | 'ethereum'
172
- | 'optimism'
173
- | 'polygon'
174
- | 'solana'
175
- | 'stellar';
176
- }
177
-
178
137
  type Type = 'bank_account' | 'card' | 'crypto_wallet';
179
138
 
180
139
  interface UsageStatus {
@@ -82,11 +82,6 @@ declare module 'stripe' {
82
82
  */
83
83
  financial_address: string;
84
84
 
85
- /**
86
- * Open Enum. Indicates the origin type through which this debit was initiated.
87
- */
88
- origin_type: 'us_bank_account';
89
-
90
85
  /**
91
86
  * Open Enum. The type of the payment method used to originate the debit.
92
87
  */
@@ -22,12 +22,7 @@ declare module 'stripe' {
22
22
  }
23
23
 
24
24
  namespace FinancialAddressCreditParams {
25
- type Network =
26
- | 'ach'
27
- | 'fps'
28
- | 'rtp'
29
- | 'sepa_credit_transfer'
30
- | 'wire';
25
+ type Network = 'ach' | 'fps' | 'rtp' | 'wire';
31
26
  }
32
27
  }
33
28
 
@@ -2,8 +2,6 @@
2
2
 
3
3
  declare module 'stripe' {
4
4
  namespace Stripe {
5
- export type WebhookEvent = Record<string, unknown>;
6
-
7
5
  export class Webhooks {
8
6
  /**
9
7
  * Constructs and verifies the signature of an Event from the provided details.
package/types/index.d.ts CHANGED
@@ -155,32 +155,14 @@
155
155
  ///<reference path='./V2/Billing/CadencesResource.d.ts' />
156
156
  ///<reference path='./V2/Billing/CollectionSettings/VersionsResource.d.ts' />
157
157
  ///<reference path='./V2/Billing/CollectionSettingsResource.d.ts' />
158
- ///<reference path='./V2/Billing/CustomPricingUnitsResource.d.ts' />
159
- ///<reference path='./V2/Billing/Intents/ActionsResource.d.ts' />
160
- ///<reference path='./V2/Billing/IntentsResource.d.ts' />
161
- ///<reference path='./V2/Billing/LicenseFeeSubscriptionsResource.d.ts' />
162
- ///<reference path='./V2/Billing/LicenseFees/VersionsResource.d.ts' />
163
- ///<reference path='./V2/Billing/LicenseFeesResource.d.ts' />
164
- ///<reference path='./V2/Billing/LicensedItemsResource.d.ts' />
165
158
  ///<reference path='./V2/Billing/MeterEventAdjustmentsResource.d.ts' />
166
159
  ///<reference path='./V2/Billing/MeterEventSessionResource.d.ts' />
167
160
  ///<reference path='./V2/Billing/MeterEventStreamResource.d.ts' />
168
161
  ///<reference path='./V2/Billing/MeterEventsResource.d.ts' />
169
- ///<reference path='./V2/Billing/MeteredItemsResource.d.ts' />
170
- ///<reference path='./V2/Billing/PricingPlanSubscriptionsResource.d.ts' />
171
- ///<reference path='./V2/Billing/PricingPlans/ComponentsResource.d.ts' />
172
- ///<reference path='./V2/Billing/PricingPlans/VersionsResource.d.ts' />
173
- ///<reference path='./V2/Billing/PricingPlansResource.d.ts' />
174
162
  ///<reference path='./V2/Billing/ProfilesResource.d.ts' />
175
- ///<reference path='./V2/Billing/RateCardSubscriptionsResource.d.ts' />
176
- ///<reference path='./V2/Billing/RateCards/RatesResource.d.ts' />
177
- ///<reference path='./V2/Billing/RateCards/VersionsResource.d.ts' />
178
- ///<reference path='./V2/Billing/RateCardsResource.d.ts' />
179
- ///<reference path='./V2/Billing/ServiceActionsResource.d.ts' />
180
163
  ///<reference path='./V2/Core/AccountLinksResource.d.ts' />
181
164
  ///<reference path='./V2/Core/Accounts/PersonsResource.d.ts' />
182
165
  ///<reference path='./V2/Core/AccountsResource.d.ts' />
183
- ///<reference path='./V2/Core/ClaimableSandboxesResource.d.ts' />
184
166
  ///<reference path='./V2/Core/EventDestinationsResource.d.ts' />
185
167
  ///<reference path='./V2/Core/EventsResource.d.ts' />
186
168
  ///<reference path='./V2/Core/Vault/GbBankAccountsResource.d.ts' />
@@ -197,13 +179,10 @@
197
179
  ///<reference path='./V2/MoneyManagement/PayoutMethodsResource.d.ts' />
198
180
  ///<reference path='./V2/MoneyManagement/ReceivedCreditsResource.d.ts' />
199
181
  ///<reference path='./V2/MoneyManagement/ReceivedDebitsResource.d.ts' />
200
- ///<reference path='./V2/MoneyManagement/RecipientVerificationsResource.d.ts' />
201
182
  ///<reference path='./V2/MoneyManagement/TransactionEntriesResource.d.ts' />
202
183
  ///<reference path='./V2/MoneyManagement/TransactionsResource.d.ts' />
203
184
  ///<reference path='./V2/Payments/OffSessionPaymentsResource.d.ts' />
204
- ///<reference path='./V2/Tax/AutomaticRulesResource.d.ts' />
205
185
  ///<reference path='./V2/TestHelpers/FinancialAddressesResource.d.ts' />
206
- ///<reference path='./V2/TestHelpers/MoneyManagementResource.d.ts' />
207
186
  ///<reference path='./WebhookEndpointsResource.d.ts' />
208
187
  ///<reference path='./AccountLinks.d.ts' />
209
188
  ///<reference path='./AccountNotices.d.ts' />
@@ -377,31 +356,13 @@
377
356
  ///<reference path='./V2/Billing/Cadences.d.ts' />
378
357
  ///<reference path='./V2/Billing/CollectionSettingVersions.d.ts' />
379
358
  ///<reference path='./V2/Billing/CollectionSettings.d.ts' />
380
- ///<reference path='./V2/Billing/CustomPricingUnits.d.ts' />
381
- ///<reference path='./V2/Billing/IntentActions.d.ts' />
382
- ///<reference path='./V2/Billing/Intents.d.ts' />
383
- ///<reference path='./V2/Billing/LicenseFeeSubscriptions.d.ts' />
384
- ///<reference path='./V2/Billing/LicenseFeeVersions.d.ts' />
385
- ///<reference path='./V2/Billing/LicenseFees.d.ts' />
386
- ///<reference path='./V2/Billing/LicensedItems.d.ts' />
387
359
  ///<reference path='./V2/Billing/MeterEventAdjustments.d.ts' />
388
360
  ///<reference path='./V2/Billing/MeterEventSessions.d.ts' />
389
361
  ///<reference path='./V2/Billing/MeterEvents.d.ts' />
390
- ///<reference path='./V2/Billing/MeteredItems.d.ts' />
391
- ///<reference path='./V2/Billing/PricingPlanComponents.d.ts' />
392
- ///<reference path='./V2/Billing/PricingPlanSubscriptions.d.ts' />
393
- ///<reference path='./V2/Billing/PricingPlanVersions.d.ts' />
394
- ///<reference path='./V2/Billing/PricingPlans.d.ts' />
395
362
  ///<reference path='./V2/Billing/Profiles.d.ts' />
396
- ///<reference path='./V2/Billing/RateCardRates.d.ts' />
397
- ///<reference path='./V2/Billing/RateCardSubscriptions.d.ts' />
398
- ///<reference path='./V2/Billing/RateCardVersions.d.ts' />
399
- ///<reference path='./V2/Billing/RateCards.d.ts' />
400
- ///<reference path='./V2/Billing/ServiceActions.d.ts' />
401
363
  ///<reference path='./V2/Core/AccountLinks.d.ts' />
402
364
  ///<reference path='./V2/Core/AccountPersons.d.ts' />
403
365
  ///<reference path='./V2/Core/Accounts.d.ts' />
404
- ///<reference path='./V2/Core/ClaimableSandboxes.d.ts' />
405
366
  ///<reference path='./V2/Core/EventDestinations.d.ts' />
406
367
  ///<reference path='./V2/Core/Events.d.ts' />
407
368
  ///<reference path='./V2/Core/Vault/GbBankAccounts.d.ts' />
@@ -421,11 +382,9 @@
421
382
  ///<reference path='./V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts' />
422
383
  ///<reference path='./V2/MoneyManagement/ReceivedCredits.d.ts' />
423
384
  ///<reference path='./V2/MoneyManagement/ReceivedDebits.d.ts' />
424
- ///<reference path='./V2/MoneyManagement/RecipientVerifications.d.ts' />
425
385
  ///<reference path='./V2/MoneyManagement/TransactionEntries.d.ts' />
426
386
  ///<reference path='./V2/MoneyManagement/Transactions.d.ts' />
427
387
  ///<reference path='./V2/Payments/OffSessionPayments.d.ts' />
428
- ///<reference path='./V2/Tax/AutomaticRules.d.ts' />
429
388
  ///<reference path='./WebhookEndpoints.d.ts' />
430
389
  // Imports: The end of the section generated from our OpenAPI spec
431
390
 
@@ -639,27 +598,15 @@ declare module 'stripe' {
639
598
  billSettings: Stripe.V2.Billing.BillSettingsResource;
640
599
  cadences: Stripe.V2.Billing.CadencesResource;
641
600
  collectionSettings: Stripe.V2.Billing.CollectionSettingsResource;
642
- customPricingUnits: Stripe.V2.Billing.CustomPricingUnitsResource;
643
- intents: Stripe.V2.Billing.IntentsResource;
644
- licenseFees: Stripe.V2.Billing.LicenseFeesResource;
645
- licenseFeeSubscriptions: Stripe.V2.Billing.LicenseFeeSubscriptionsResource;
646
- licensedItems: Stripe.V2.Billing.LicensedItemsResource;
647
601
  meterEvents: Stripe.V2.Billing.MeterEventsResource;
648
602
  meterEventAdjustments: Stripe.V2.Billing.MeterEventAdjustmentsResource;
649
603
  meterEventSession: Stripe.V2.Billing.MeterEventSessionResource;
650
604
  meterEventStream: Stripe.V2.Billing.MeterEventStreamResource;
651
- meteredItems: Stripe.V2.Billing.MeteredItemsResource;
652
- pricingPlans: Stripe.V2.Billing.PricingPlansResource;
653
- pricingPlanSubscriptions: Stripe.V2.Billing.PricingPlanSubscriptionsResource;
654
605
  profiles: Stripe.V2.Billing.ProfilesResource;
655
- rateCards: Stripe.V2.Billing.RateCardsResource;
656
- rateCardSubscriptions: Stripe.V2.Billing.RateCardSubscriptionsResource;
657
- serviceActions: Stripe.V2.Billing.ServiceActionsResource;
658
606
  };
659
607
  core: {
660
608
  accounts: Stripe.V2.Core.AccountsResource;
661
609
  accountLinks: Stripe.V2.Core.AccountLinksResource;
662
- claimableSandboxes: Stripe.V2.Core.ClaimableSandboxesResource;
663
610
  events: Stripe.V2.Core.EventsResource;
664
611
  eventDestinations: Stripe.V2.Core.EventDestinationsResource;
665
612
  vault: {
@@ -680,19 +627,14 @@ declare module 'stripe' {
680
627
  payoutMethodsBankAccountSpec: Stripe.V2.MoneyManagement.PayoutMethodsBankAccountSpecResource;
681
628
  receivedCredits: Stripe.V2.MoneyManagement.ReceivedCreditsResource;
682
629
  receivedDebits: Stripe.V2.MoneyManagement.ReceivedDebitsResource;
683
- recipientVerifications: Stripe.V2.MoneyManagement.RecipientVerificationsResource;
684
630
  transactions: Stripe.V2.MoneyManagement.TransactionsResource;
685
631
  transactionEntries: Stripe.V2.MoneyManagement.TransactionEntriesResource;
686
632
  };
687
633
  payment: {
688
634
  offSessionPayments: Stripe.V2.Payments.OffSessionPaymentsResource;
689
635
  };
690
- tax: {
691
- automaticRules: Stripe.V2.Tax.AutomaticRulesResource;
692
- };
693
636
  testHelper: {
694
637
  financialAddresses: Stripe.V2.TestHelpers.FinancialAddressesResource;
695
- moneyManagement: Stripe.V2.TestHelpers.MoneyManagementResource;
696
638
  };
697
639
  };
698
640
  // Fields: The end of the section generated from our OpenAPI spec
@@ -1,25 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CustomPricingUnits = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.CustomPricingUnits = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({
9
- method: 'POST',
10
- fullPath: '/v2/billing/custom_pricing_units',
11
- }),
12
- retrieve: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v2/billing/custom_pricing_units/{id}',
15
- }),
16
- update: stripeMethod({
17
- method: 'POST',
18
- fullPath: '/v2/billing/custom_pricing_units/{id}',
19
- }),
20
- list: stripeMethod({
21
- method: 'GET',
22
- fullPath: '/v2/billing/custom_pricing_units',
23
- methodType: 'list',
24
- }),
25
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Actions = void 0;
5
- const StripeResource_js_1 = require("../../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Actions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v2/billing/intents/{intent_id}/actions/{id}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v2/billing/intents/{intent_id}/actions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,36 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Intents = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const Actions_js_1 = require("./Intents/Actions.js");
7
- const stripeMethod = StripeResource_js_1.StripeResource.method;
8
- exports.Intents = StripeResource_js_1.StripeResource.extend({
9
- constructor: function (...args) {
10
- StripeResource_js_1.StripeResource.apply(this, args);
11
- this.actions = new Actions_js_1.Actions(...args);
12
- },
13
- create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/intents' }),
14
- retrieve: stripeMethod({ method: 'GET', fullPath: '/v2/billing/intents/{id}' }),
15
- list: stripeMethod({
16
- method: 'GET',
17
- fullPath: '/v2/billing/intents',
18
- methodType: 'list',
19
- }),
20
- cancel: stripeMethod({
21
- method: 'POST',
22
- fullPath: '/v2/billing/intents/{id}/cancel',
23
- }),
24
- commit: stripeMethod({
25
- method: 'POST',
26
- fullPath: '/v2/billing/intents/{id}/commit',
27
- }),
28
- releaseReservation: stripeMethod({
29
- method: 'POST',
30
- fullPath: '/v2/billing/intents/{id}/release_reservation',
31
- }),
32
- reserve: stripeMethod({
33
- method: 'POST',
34
- fullPath: '/v2/billing/intents/{id}/reserve',
35
- }),
36
- });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.LicenseFeeSubscriptions = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.LicenseFeeSubscriptions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v2/billing/license_fee_subscriptions/{id}',
11
- }),
12
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Versions = void 0;
5
- const StripeResource_js_1 = require("../../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Versions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v2/billing/license_fees/{license_fee_id}/versions/{id}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v2/billing/license_fees/{license_fee_id}/versions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,27 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.LicenseFees = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const Versions_js_1 = require("./LicenseFees/Versions.js");
7
- const stripeMethod = StripeResource_js_1.StripeResource.method;
8
- exports.LicenseFees = StripeResource_js_1.StripeResource.extend({
9
- constructor: function (...args) {
10
- StripeResource_js_1.StripeResource.apply(this, args);
11
- this.versions = new Versions_js_1.Versions(...args);
12
- },
13
- create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/license_fees' }),
14
- retrieve: stripeMethod({
15
- method: 'GET',
16
- fullPath: '/v2/billing/license_fees/{id}',
17
- }),
18
- update: stripeMethod({
19
- method: 'POST',
20
- fullPath: '/v2/billing/license_fees/{id}',
21
- }),
22
- list: stripeMethod({
23
- method: 'GET',
24
- fullPath: '/v2/billing/license_fees',
25
- methodType: 'list',
26
- }),
27
- });
@@ -1,25 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.LicensedItems = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.LicensedItems = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({
9
- method: 'POST',
10
- fullPath: '/v2/billing/licensed_items',
11
- }),
12
- retrieve: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v2/billing/licensed_items/{id}',
15
- }),
16
- update: stripeMethod({
17
- method: 'POST',
18
- fullPath: '/v2/billing/licensed_items/{id}',
19
- }),
20
- list: stripeMethod({
21
- method: 'GET',
22
- fullPath: '/v2/billing/licensed_items',
23
- methodType: 'list',
24
- }),
25
- });
@@ -1,22 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MeteredItems = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.MeteredItems = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/metered_items' }),
9
- retrieve: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v2/billing/metered_items/{id}',
12
- }),
13
- update: stripeMethod({
14
- method: 'POST',
15
- fullPath: '/v2/billing/metered_items/{id}',
16
- }),
17
- list: stripeMethod({
18
- method: 'GET',
19
- fullPath: '/v2/billing/metered_items',
20
- methodType: 'list',
21
- }),
22
- });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.PricingPlanSubscriptions = void 0;
5
- const StripeResource_js_1 = require("../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.PricingPlanSubscriptions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
11
- }),
12
- update: stripeMethod({
13
- method: 'POST',
14
- fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
15
- }),
16
- list: stripeMethod({
17
- method: 'GET',
18
- fullPath: '/v2/billing/pricing_plan_subscriptions',
19
- methodType: 'list',
20
- }),
21
- });
@@ -1,29 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Components = void 0;
5
- const StripeResource_js_1 = require("../../../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Components = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({
9
- method: 'POST',
10
- fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
11
- }),
12
- retrieve: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
15
- }),
16
- update: stripeMethod({
17
- method: 'POST',
18
- fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
19
- }),
20
- list: stripeMethod({
21
- method: 'GET',
22
- fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
23
- methodType: 'list',
24
- }),
25
- del: stripeMethod({
26
- method: 'DELETE',
27
- fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
28
- }),
29
- });