increase 0.7.1 → 0.8.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 (231) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +8 -4
  3. package/_shims/ReadableStream.d.ts +38 -0
  4. package/_shims/ReadableStream.js +5 -0
  5. package/_shims/ReadableStream.mjs +7 -0
  6. package/_shims/ReadableStream.node.d.ts +6 -0
  7. package/_shims/ReadableStream.node.d.ts.map +1 -0
  8. package/_shims/ReadableStream.node.js +14 -0
  9. package/_shims/ReadableStream.node.js.map +1 -0
  10. package/_shims/ReadableStream.node.mjs +3 -0
  11. package/_shims/ReadableStream.node.mjs.map +1 -0
  12. package/_shims/fetch.js +1 -1
  13. package/core.d.ts +11 -10
  14. package/core.d.ts.map +1 -1
  15. package/core.js +123 -60
  16. package/core.js.map +1 -1
  17. package/core.mjs +113 -20
  18. package/core.mjs.map +1 -1
  19. package/error.d.ts +1 -0
  20. package/error.d.ts.map +1 -1
  21. package/error.js +12 -3
  22. package/error.js.map +1 -1
  23. package/error.mjs +12 -3
  24. package/error.mjs.map +1 -1
  25. package/index.d.mts +9 -5
  26. package/index.d.ts +9 -5
  27. package/index.d.ts.map +1 -1
  28. package/index.js +15 -11
  29. package/index.js.map +1 -1
  30. package/index.mjs +15 -11
  31. package/index.mjs.map +1 -1
  32. package/package.json +4 -4
  33. package/resources/account-numbers.d.ts.map +1 -1
  34. package/resources/account-statements.d.ts.map +1 -1
  35. package/resources/account-transfers.d.ts.map +1 -1
  36. package/resources/accounts.d.ts.map +1 -1
  37. package/resources/ach-prenotifications.d.ts.map +1 -1
  38. package/resources/ach-transfers.d.ts.map +1 -1
  39. package/resources/balance-lookups.d.ts.map +1 -1
  40. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  41. package/resources/bookkeeping-entries.d.ts.map +1 -1
  42. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  43. package/resources/card-disputes.d.ts.map +1 -1
  44. package/resources/card-profiles.d.ts +17 -4
  45. package/resources/card-profiles.d.ts.map +1 -1
  46. package/resources/card-profiles.js.map +1 -1
  47. package/resources/card-profiles.mjs.map +1 -1
  48. package/resources/card-purchase-supplements.d.ts +270 -0
  49. package/resources/card-purchase-supplements.d.ts.map +1 -0
  50. package/resources/card-purchase-supplements.js +28 -0
  51. package/resources/card-purchase-supplements.js.map +1 -0
  52. package/resources/card-purchase-supplements.mjs +21 -0
  53. package/resources/card-purchase-supplements.mjs.map +1 -0
  54. package/resources/cards.d.ts.map +1 -1
  55. package/resources/check-deposits.d.ts.map +1 -1
  56. package/resources/check-transfers.d.ts +184 -98
  57. package/resources/check-transfers.d.ts.map +1 -1
  58. package/resources/check-transfers.js.map +1 -1
  59. package/resources/check-transfers.mjs.map +1 -1
  60. package/resources/declined-transactions.d.ts +9 -7
  61. package/resources/declined-transactions.d.ts.map +1 -1
  62. package/resources/declined-transactions.js.map +1 -1
  63. package/resources/declined-transactions.mjs.map +1 -1
  64. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  65. package/resources/documents.d.ts.map +1 -1
  66. package/resources/entities/beneficial-owners.d.ts +219 -0
  67. package/resources/entities/beneficial-owners.d.ts.map +1 -0
  68. package/resources/entities/beneficial-owners.js +18 -0
  69. package/resources/entities/beneficial-owners.js.map +1 -0
  70. package/resources/entities/beneficial-owners.mjs +12 -0
  71. package/resources/entities/beneficial-owners.mjs.map +1 -0
  72. package/resources/entities/entities.d.ts +4 -0
  73. package/resources/entities/entities.d.ts.map +1 -1
  74. package/resources/entities/entities.js +3 -0
  75. package/resources/entities/entities.js.map +1 -1
  76. package/resources/entities/entities.mjs +3 -0
  77. package/resources/entities/entities.mjs.map +1 -1
  78. package/resources/entities/index.d.ts +1 -0
  79. package/resources/entities/index.d.ts.map +1 -1
  80. package/resources/entities/index.js +8 -0
  81. package/resources/entities/index.js.map +1 -1
  82. package/resources/entities/index.mjs +1 -0
  83. package/resources/entities/index.mjs.map +1 -1
  84. package/resources/entities/supplemental-documents.d.ts.map +1 -1
  85. package/resources/event-subscriptions.d.ts.map +1 -1
  86. package/resources/events.d.ts.map +1 -1
  87. package/resources/exports.d.ts.map +1 -1
  88. package/resources/external-accounts.d.ts.map +1 -1
  89. package/resources/files.d.ts.map +1 -1
  90. package/resources/groups.d.ts.map +1 -1
  91. package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
  92. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  93. package/resources/index.d.ts +6 -0
  94. package/resources/index.d.ts.map +1 -1
  95. package/resources/index.js +18 -3
  96. package/resources/index.js.map +1 -1
  97. package/resources/index.mjs +1 -0
  98. package/resources/index.mjs.map +1 -1
  99. package/resources/limits.d.ts +2 -2
  100. package/resources/limits.d.ts.map +1 -1
  101. package/resources/oauth-connections.d.ts.map +1 -1
  102. package/resources/pending-transactions.d.ts +11 -7
  103. package/resources/pending-transactions.d.ts.map +1 -1
  104. package/resources/pending-transactions.js.map +1 -1
  105. package/resources/pending-transactions.mjs.map +1 -1
  106. package/resources/programs.d.ts.map +1 -1
  107. package/resources/real-time-decisions.d.ts +49 -7
  108. package/resources/real-time-decisions.d.ts.map +1 -1
  109. package/resources/real-time-decisions.js.map +1 -1
  110. package/resources/real-time-decisions.mjs.map +1 -1
  111. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  112. package/resources/routing-numbers.d.ts.map +1 -1
  113. package/resources/shared.d.ts +2 -0
  114. package/resources/shared.d.ts.map +1 -1
  115. package/resources/simulations/account-statements.d.ts.map +1 -1
  116. package/resources/simulations/ach-transfers.d.ts +952 -26
  117. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  118. package/resources/simulations/ach-transfers.js.map +1 -1
  119. package/resources/simulations/ach-transfers.mjs.map +1 -1
  120. package/resources/simulations/card-disputes.d.ts.map +1 -1
  121. package/resources/simulations/card-refunds.d.ts.map +1 -1
  122. package/resources/simulations/cards.d.ts +20 -14
  123. package/resources/simulations/cards.d.ts.map +1 -1
  124. package/resources/simulations/cards.js.map +1 -1
  125. package/resources/simulations/cards.mjs.map +1 -1
  126. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  127. package/resources/simulations/documents.d.ts.map +1 -1
  128. package/resources/simulations/inbound-funds-holds.d.ts +4 -0
  129. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
  130. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  131. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  132. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  133. package/resources/simulations/interest-payments.d.ts +951 -19
  134. package/resources/simulations/interest-payments.d.ts.map +1 -1
  135. package/resources/simulations/interest-payments.js.map +1 -1
  136. package/resources/simulations/interest-payments.mjs.map +1 -1
  137. package/resources/simulations/programs.d.ts.map +1 -1
  138. package/resources/simulations/real-time-payments-transfers.d.ts +952 -26
  139. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  140. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  141. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  142. package/resources/simulations/simulations.d.ts.map +1 -1
  143. package/resources/simulations/simulations.js.map +1 -1
  144. package/resources/simulations/wire-transfers.d.ts +943 -19
  145. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  146. package/resources/simulations/wire-transfers.js.map +1 -1
  147. package/resources/simulations/wire-transfers.mjs.map +1 -1
  148. package/resources/transactions.d.ts +943 -20
  149. package/resources/transactions.d.ts.map +1 -1
  150. package/resources/transactions.js.map +1 -1
  151. package/resources/transactions.mjs.map +1 -1
  152. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  153. package/resources/wire-transfers.d.ts.map +1 -1
  154. package/src/_shims/ReadableStream.d.ts +38 -0
  155. package/src/_shims/ReadableStream.js +5 -0
  156. package/src/_shims/ReadableStream.mjs +7 -0
  157. package/src/_shims/ReadableStream.node.ts +6 -0
  158. package/src/_shims/fetch.deno.ts +23 -0
  159. package/src/_shims/fetch.js +1 -1
  160. package/src/_shims/formdata.deno.ts +16 -0
  161. package/src/core.ts +130 -21
  162. package/src/error.ts +11 -1
  163. package/src/index.ts +23 -16
  164. package/src/resources/account-numbers.ts +1 -1
  165. package/src/resources/account-statements.ts +1 -1
  166. package/src/resources/account-transfers.ts +1 -1
  167. package/src/resources/accounts.ts +1 -1
  168. package/src/resources/ach-prenotifications.ts +1 -1
  169. package/src/resources/ach-transfers.ts +1 -1
  170. package/src/resources/balance-lookups.ts +1 -1
  171. package/src/resources/bookkeeping-accounts.ts +1 -1
  172. package/src/resources/bookkeeping-entries.ts +1 -1
  173. package/src/resources/bookkeeping-entry-sets.ts +1 -1
  174. package/src/resources/card-disputes.ts +1 -1
  175. package/src/resources/card-profiles.ts +19 -5
  176. package/src/resources/card-purchase-supplements.ts +331 -0
  177. package/src/resources/cards.ts +1 -1
  178. package/src/resources/check-deposits.ts +1 -1
  179. package/src/resources/check-transfers.ts +208 -113
  180. package/src/resources/declined-transactions.ts +11 -9
  181. package/src/resources/digital-wallet-tokens.ts +1 -1
  182. package/src/resources/documents.ts +1 -1
  183. package/src/resources/entities/beneficial-owners.ts +255 -0
  184. package/src/resources/entities/entities.ts +6 -1
  185. package/src/resources/entities/index.ts +1 -0
  186. package/src/resources/entities/supplemental-documents.ts +1 -1
  187. package/src/resources/event-subscriptions.ts +1 -1
  188. package/src/resources/events.ts +1 -1
  189. package/src/resources/exports.ts +1 -1
  190. package/src/resources/external-accounts.ts +1 -1
  191. package/src/resources/files.ts +1 -1
  192. package/src/resources/groups.ts +1 -1
  193. package/src/resources/inbound-ach-transfer-returns.ts +1 -1
  194. package/src/resources/inbound-wire-drawdown-requests.ts +1 -1
  195. package/src/resources/index.ts +6 -0
  196. package/src/resources/limits.ts +3 -3
  197. package/src/resources/oauth-connections.ts +1 -1
  198. package/src/resources/pending-transactions.ts +14 -9
  199. package/src/resources/programs.ts +1 -1
  200. package/src/resources/real-time-decisions.ts +57 -9
  201. package/src/resources/real-time-payments-transfers.ts +1 -1
  202. package/src/resources/routing-numbers.ts +1 -1
  203. package/src/resources/shared.ts +2 -0
  204. package/src/resources/simulations/account-statements.ts +1 -1
  205. package/src/resources/simulations/ach-transfers.ts +1091 -30
  206. package/src/resources/simulations/card-disputes.ts +1 -1
  207. package/src/resources/simulations/card-refunds.ts +1 -1
  208. package/src/resources/simulations/cards.ts +24 -17
  209. package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
  210. package/src/resources/simulations/documents.ts +1 -1
  211. package/src/resources/simulations/inbound-funds-holds.ts +6 -1
  212. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  213. package/src/resources/simulations/interest-payments.ts +1091 -22
  214. package/src/resources/simulations/programs.ts +1 -1
  215. package/src/resources/simulations/real-time-payments-transfers.ts +1091 -30
  216. package/src/resources/simulations/simulations.ts +1 -1
  217. package/src/resources/simulations/wire-transfers.ts +1081 -22
  218. package/src/resources/transactions.ts +1081 -23
  219. package/src/resources/wire-drawdown-requests.ts +1 -1
  220. package/src/resources/wire-transfers.ts +1 -1
  221. package/src/uploads.ts +7 -6
  222. package/src/version.ts +1 -1
  223. package/uploads.d.ts +5 -4
  224. package/uploads.d.ts.map +1 -1
  225. package/uploads.js +2 -2
  226. package/uploads.js.map +1 -1
  227. package/uploads.mjs +2 -2
  228. package/uploads.mjs.map +1 -1
  229. package/version.d.ts +1 -1
  230. package/version.js +1 -1
  231. package/version.mjs +1 -1
@@ -0,0 +1,255 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Entities from './index';
6
+ import * as API from './index';
7
+
8
+ export class BeneficialOwners extends APIResource {
9
+ /**
10
+ * Create a beneficial owner for a corporate Entity
11
+ */
12
+ create(
13
+ entityId: string,
14
+ body: BeneficialOwnerCreateParams,
15
+ options?: Core.RequestOptions,
16
+ ): Promise<Core.APIResponse<Entities.Entity>> {
17
+ return this.post(`/entities/${entityId}/beneficial_owners`, { body, ...options });
18
+ }
19
+ }
20
+
21
+ export interface BeneficialOwnerCreateParams {
22
+ /**
23
+ * The identifying details of anyone controlling or owning 25% or more of the
24
+ * corporation.
25
+ */
26
+ beneficial_owner: BeneficialOwnerCreateParams.BeneficialOwner;
27
+ }
28
+
29
+ export namespace BeneficialOwnerCreateParams {
30
+ /**
31
+ * The identifying details of anyone controlling or owning 25% or more of the
32
+ * corporation.
33
+ */
34
+ export interface BeneficialOwner {
35
+ /**
36
+ * Personal details for the beneficial owner.
37
+ */
38
+ individual: BeneficialOwner.Individual;
39
+
40
+ /**
41
+ * Why this person is considered a beneficial owner of the entity.
42
+ *
43
+ * - `ownership` - A person with 25% or greater direct or indirect ownership of the
44
+ * entity.
45
+ * - `control` - A person who manages, directs, or has significant control of the
46
+ * entity.
47
+ */
48
+ prong: 'ownership' | 'control';
49
+
50
+ /**
51
+ * This person's role or title within the entity.
52
+ */
53
+ company_title?: string;
54
+ }
55
+
56
+ export namespace BeneficialOwner {
57
+ /**
58
+ * Personal details for the beneficial owner.
59
+ */
60
+ export interface Individual {
61
+ /**
62
+ * The individual's address.
63
+ */
64
+ address: Individual.Address;
65
+
66
+ /**
67
+ * The person's date of birth in YYYY-MM-DD format.
68
+ */
69
+ date_of_birth: string;
70
+
71
+ /**
72
+ * A means of verifying the person's identity.
73
+ */
74
+ identification: Individual.Identification;
75
+
76
+ /**
77
+ * The person's legal name.
78
+ */
79
+ name: string;
80
+
81
+ /**
82
+ * The identification method for an individual can only be a passport, driver's
83
+ * license, or other document if you've confirmed the individual does not have a US
84
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
85
+ * Number).
86
+ */
87
+ confirmed_no_us_tax_id?: boolean;
88
+ }
89
+
90
+ export namespace Individual {
91
+ /**
92
+ * The individual's address.
93
+ */
94
+ export interface Address {
95
+ /**
96
+ * The city of the address.
97
+ */
98
+ city: string;
99
+
100
+ /**
101
+ * The first line of the address. This is usually the street number and street.
102
+ */
103
+ line1: string;
104
+
105
+ /**
106
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
107
+ * the address.
108
+ */
109
+ state: string;
110
+
111
+ /**
112
+ * The ZIP code of the address.
113
+ */
114
+ zip: string;
115
+
116
+ /**
117
+ * The second line of the address. This might be the floor or room number.
118
+ */
119
+ line2?: string;
120
+ }
121
+
122
+ /**
123
+ * A means of verifying the person's identity.
124
+ */
125
+ export interface Identification {
126
+ /**
127
+ * A method that can be used to verify the individual's identity.
128
+ *
129
+ * - `social_security_number` - A social security number.
130
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
131
+ * identification number (ITIN).
132
+ * - `passport` - A passport number.
133
+ * - `drivers_license` - A driver's license number.
134
+ * - `other` - Another identifying document.
135
+ */
136
+ method:
137
+ | 'social_security_number'
138
+ | 'individual_taxpayer_identification_number'
139
+ | 'passport'
140
+ | 'drivers_license'
141
+ | 'other';
142
+
143
+ /**
144
+ * An identification number that can be used to verify the individual's identity,
145
+ * such as a social security number.
146
+ */
147
+ number: string;
148
+
149
+ /**
150
+ * Information about the United States driver's license used for identification.
151
+ * Required if `method` is equal to `drivers_license`.
152
+ */
153
+ drivers_license?: Identification.DriversLicense;
154
+
155
+ /**
156
+ * Information about the identification document provided. Required if `method` is
157
+ * equal to `other`.
158
+ */
159
+ other?: Identification.Other;
160
+
161
+ /**
162
+ * Information about the passport used for identification. Required if `method` is
163
+ * equal to `passport`.
164
+ */
165
+ passport?: Identification.Passport;
166
+ }
167
+
168
+ export namespace Identification {
169
+ /**
170
+ * Information about the United States driver's license used for identification.
171
+ * Required if `method` is equal to `drivers_license`.
172
+ */
173
+ export interface DriversLicense {
174
+ /**
175
+ * The driver's license's expiration date in YYYY-MM-DD format.
176
+ */
177
+ expiration_date: string;
178
+
179
+ /**
180
+ * The identifier of the File containing the front of the driver's license.
181
+ */
182
+ file_id: string;
183
+
184
+ /**
185
+ * The state that issued the provided driver's license.
186
+ */
187
+ state: string;
188
+
189
+ /**
190
+ * The identifier of the File containing the back of the driver's license.
191
+ */
192
+ back_file_id?: string;
193
+ }
194
+
195
+ /**
196
+ * Information about the identification document provided. Required if `method` is
197
+ * equal to `other`.
198
+ */
199
+ export interface Other {
200
+ /**
201
+ * The two-character ISO 3166-1 code representing the country that issued the
202
+ * document.
203
+ */
204
+ country: string;
205
+
206
+ /**
207
+ * A description of the document submitted.
208
+ */
209
+ description: string;
210
+
211
+ /**
212
+ * The identifier of the File containing the front of the document.
213
+ */
214
+ file_id: string;
215
+
216
+ /**
217
+ * The identifier of the File containing the back of the document. Not every
218
+ * document has a reverse side.
219
+ */
220
+ back_file_id?: string;
221
+
222
+ /**
223
+ * The document's expiration date in YYYY-MM-DD format.
224
+ */
225
+ expiration_date?: string;
226
+ }
227
+
228
+ /**
229
+ * Information about the passport used for identification. Required if `method` is
230
+ * equal to `passport`.
231
+ */
232
+ export interface Passport {
233
+ /**
234
+ * The country that issued the passport.
235
+ */
236
+ country: string;
237
+
238
+ /**
239
+ * The passport's expiration date in YYYY-MM-DD format.
240
+ */
241
+ expiration_date: string;
242
+
243
+ /**
244
+ * The identifier of the File containing the passport.
245
+ */
246
+ file_id: string;
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+
253
+ export namespace BeneficialOwners {
254
+ export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
255
+ }
@@ -3,11 +3,13 @@
3
3
  import * as Core from '../../core';
4
4
  import { APIResource } from '../../resource';
5
5
  import { isRequestOptions } from '../../core';
6
+ import { BeneficialOwners } from './beneficial-owners';
6
7
  import { SupplementalDocuments } from './supplemental-documents';
7
- import * as API from '.';
8
+ import * as API from './index';
8
9
  import { Page, PageParams } from '../../pagination';
9
10
 
10
11
  export class Entities extends APIResource {
12
+ beneficialOwners: BeneficialOwners = new BeneficialOwners(this.client);
11
13
  supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
12
14
 
13
15
  /**
@@ -2072,6 +2074,9 @@ export namespace Entities {
2072
2074
  export import EntityCreateParams = API.EntityCreateParams;
2073
2075
  export import EntityListParams = API.EntityListParams;
2074
2076
 
2077
+ export import BeneficialOwners = API.BeneficialOwners;
2078
+ export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
2079
+
2075
2080
  export import SupplementalDocuments = API.SupplementalDocuments;
2076
2081
  export import SupplementalDocument = API.SupplementalDocument;
2077
2082
  export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
@@ -1,5 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
+ export { BeneficialOwnerCreateParams, BeneficialOwners } from './beneficial-owners';
3
4
  export { Entity, EntityCreateParams, EntityListParams, EntitiesPage, Entities } from './entities';
4
5
  export {
5
6
  SupplementalDocument,
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../../core';
4
4
  import { APIResource } from '../../resource';
5
5
  import * as Entities from './index';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../../pagination';
8
8
 
9
9
  export class SupplementalDocuments extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class EventSubscriptions extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class Events extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class Exports extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class ExternalAccounts extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { type Uploadable, multipartFormRequestOptions } from '../core';
8
8
  import { Page, PageParams } from '../pagination';
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
- import * as API from '.';
5
+ import * as API from './index';
6
6
 
7
7
  export class Groups extends APIResource {
8
8
  /**
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class InboundACHTransferReturns extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class InboundWireDrawdownRequests extends APIResource {
@@ -86,6 +86,12 @@ export {
86
86
  CardProfilesPage,
87
87
  CardProfiles,
88
88
  } from './card-profiles';
89
+ export {
90
+ CardPurchaseSupplement,
91
+ CardPurchaseSupplementListParams,
92
+ CardPurchaseSupplementsPage,
93
+ CardPurchaseSupplements,
94
+ } from './card-purchase-supplements';
89
95
  export {
90
96
  CheckDeposit,
91
97
  CheckDepositCreateParams,
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class Limits extends APIResource {
@@ -134,8 +134,8 @@ export interface LimitCreateParams {
134
134
  metric: 'count' | 'volume';
135
135
 
136
136
  /**
137
- * The identifier of the Account or Account Number you wish to associate the limit
138
- * with.
137
+ * The identifier of the Account, Account Number, or Card you wish to associate the
138
+ * limit with.
139
139
  */
140
140
  model_id: string;
141
141
 
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class OauthConnections extends APIResource {
@@ -4,7 +4,7 @@ import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
6
  import * as Shared from './shared';
7
- import * as API from '.';
7
+ import * as API from './index';
8
8
  import { Page, PageParams } from '../pagination';
9
9
 
10
10
  export class PendingTransactions extends APIResource {
@@ -348,13 +348,6 @@ export namespace PendingTransaction {
348
348
  */
349
349
  merchant_descriptor: string;
350
350
 
351
- /**
352
- * The payment network used to process this card authorization
353
- *
354
- * - `visa` - Visa
355
- */
356
- network: 'visa';
357
-
358
351
  /**
359
352
  * Fields specific to the `network`
360
353
  */
@@ -389,10 +382,17 @@ export namespace PendingTransaction {
389
382
  * Fields specific to the `network`
390
383
  */
391
384
  export interface NetworkDetails {
385
+ /**
386
+ * The payment network used to process this card authorization
387
+ *
388
+ * - `visa` - Visa
389
+ */
390
+ category: 'visa';
391
+
392
392
  /**
393
393
  * Fields specific to the `visa` network
394
394
  */
395
- visa: NetworkDetails.Visa;
395
+ visa: NetworkDetails.Visa | null;
396
396
  }
397
397
 
398
398
  export namespace NetworkDetails {
@@ -532,6 +532,11 @@ export namespace PendingTransaction {
532
532
  * and only if `category` is equal to `inbound_funds_hold`.
533
533
  */
534
534
  export interface InboundFundsHold {
535
+ /**
536
+ * The Inbound Funds Hold identifier.
537
+ */
538
+ id: string;
539
+
535
540
  /**
536
541
  * The held amount in the minor unit of the account's currency. For dollars, for
537
542
  * example, this is cents.
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class Programs extends APIResource {
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import * as Shared from './shared';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
 
8
8
  export class RealTimeDecisions extends APIResource {
9
9
  /**
@@ -147,13 +147,6 @@ export namespace RealTimeDecision {
147
147
  */
148
148
  merchant_descriptor: string;
149
149
 
150
- /**
151
- * The payment network used to process this card authorization
152
- *
153
- * - `visa` - Visa
154
- */
155
- network: 'visa';
156
-
157
150
  /**
158
151
  * Fields specific to the `network`
159
152
  */
@@ -178,6 +171,11 @@ export namespace RealTimeDecision {
178
171
  */
179
172
  presentment_currency: string;
180
173
 
174
+ /**
175
+ * Fields specific to the type of request, such as an incremental authorization.
176
+ */
177
+ request_details: CardAuthorization.RequestDetails;
178
+
181
179
  /**
182
180
  * The amount of the attempted authorization in the currency it will be settled in.
183
181
  * This currency is the same as that of the Account the card belongs to.
@@ -196,10 +194,17 @@ export namespace RealTimeDecision {
196
194
  * Fields specific to the `network`
197
195
  */
198
196
  export interface NetworkDetails {
197
+ /**
198
+ * The payment network used to process this card authorization
199
+ *
200
+ * - `visa` - Visa
201
+ */
202
+ category: 'visa';
203
+
199
204
  /**
200
205
  * Fields specific to the `visa` network
201
206
  */
202
- visa: NetworkDetails.Visa;
207
+ visa: NetworkDetails.Visa | null;
203
208
  }
204
209
 
205
210
  export namespace NetworkDetails {
@@ -260,6 +265,49 @@ export namespace RealTimeDecision {
260
265
  point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
261
266
  }
262
267
  }
268
+
269
+ /**
270
+ * Fields specific to the type of request, such as an incremental authorization.
271
+ */
272
+ export interface RequestDetails {
273
+ /**
274
+ * The type of this request (e.g., an initial authorization or an incremental
275
+ * authorization.)
276
+ *
277
+ * - `initial_authorization` - A regular, standalone authorization.
278
+ * - `incremental_authorization` - An incremental request to increase the amount of
279
+ * an existing authorization.
280
+ */
281
+ category: 'initial_authorization' | 'incremental_authorization';
282
+
283
+ /**
284
+ * Fields specific to the categorty `incremental_authorization`.
285
+ */
286
+ incremental_authorization: RequestDetails.IncrementalAuthorization | null;
287
+
288
+ /**
289
+ * Fields specific to the category `initial_authorization`.
290
+ */
291
+ initial_authorization: unknown | null;
292
+ }
293
+
294
+ export namespace RequestDetails {
295
+ /**
296
+ * Fields specific to the categorty `incremental_authorization`.
297
+ */
298
+ export interface IncrementalAuthorization {
299
+ /**
300
+ * The card payment for this authorization and increment.
301
+ */
302
+ card_payment_id: string;
303
+
304
+ /**
305
+ * The identifier of the card authorization this request is attempting to
306
+ * increment.
307
+ */
308
+ original_card_authorization_id: string;
309
+ }
310
+ }
263
311
  }
264
312
 
265
313
  /**
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
5
  import { isRequestOptions } from '../core';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
  import { Page, PageParams } from '../pagination';
8
8
 
9
9
  export class RealTimePaymentsTransfers extends APIResource {
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Core from '../core';
4
4
  import { APIResource } from '../resource';
5
- import * as API from '.';
5
+ import * as API from './index';
6
6
  import { Page, PageParams } from '../pagination';
7
7
 
8
8
  export class RoutingNumbers extends APIResource {
@@ -4,6 +4,7 @@
4
4
  * The method used to enter the cardholder's primary account number and card
5
5
  * expiration date
6
6
  *
7
+ * - `unknown` - Unknown
7
8
  * - `manual` - Manual key entry
8
9
  * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
9
10
  * value
@@ -18,6 +19,7 @@
18
19
  * verification value
19
20
  */
20
21
  export type PointOfServiceEntryMode =
22
+ | 'unknown'
21
23
  | 'manual'
22
24
  | 'magnetic_stripe_no_cvv'
23
25
  | 'optical_code'
@@ -3,7 +3,7 @@
3
3
  import * as Core from '../../core';
4
4
  import { APIResource } from '../../resource';
5
5
  import * as AccountStatements_ from '../account-statements';
6
- import * as API from '.';
6
+ import * as API from './index';
7
7
 
8
8
  export class AccountStatements extends APIResource {
9
9
  /**