increase 0.10.3 → 0.11.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 (287) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +4 -0
  3. package/_shims/{ReadableStream.node.d.ts → ReadableStream-node.d.ts} +1 -1
  4. package/_shims/ReadableStream-node.d.ts.map +1 -0
  5. package/_shims/{ReadableStream.node.js → ReadableStream-node.js} +1 -1
  6. package/_shims/ReadableStream-node.js.map +1 -0
  7. package/_shims/{ReadableStream.node.mjs → ReadableStream-node.mjs} +1 -1
  8. package/_shims/ReadableStream-node.mjs.map +1 -0
  9. package/_shims/{agent.node.d.ts → agent-node.d.ts} +1 -1
  10. package/_shims/agent-node.d.ts.map +1 -0
  11. package/_shims/{agent.node.js → agent-node.js} +1 -1
  12. package/_shims/{agent.node.js.map → agent-node.js.map} +1 -1
  13. package/_shims/{agent.node.mjs → agent-node.mjs} +1 -1
  14. package/_shims/{agent.node.mjs.map → agent-node.mjs.map} +1 -1
  15. package/_shims/agent.d.ts +1 -1
  16. package/_shims/agent.js +1 -1
  17. package/_shims/agent.mjs +1 -1
  18. package/_shims/{fileFromPath.node.d.ts → fileFromPath-node.d.ts} +2 -2
  19. package/_shims/{fileFromPath.node.d.ts.map → fileFromPath-node.d.ts.map} +1 -1
  20. package/_shims/{fileFromPath.node.js → fileFromPath-node.js} +1 -1
  21. package/_shims/{fileFromPath.node.js.map → fileFromPath-node.js.map} +1 -1
  22. package/_shims/{fileFromPath.node.mjs → fileFromPath-node.mjs} +1 -1
  23. package/_shims/{fileFromPath.node.mjs.map → fileFromPath-node.mjs.map} +1 -1
  24. package/_shims/fileFromPath.d.ts +2 -2
  25. package/_shims/fileFromPath.d.ts.map +1 -1
  26. package/_shims/fileFromPath.js +1 -1
  27. package/_shims/fileFromPath.mjs +1 -1
  28. package/_shims/{getMultipartRequestOptions.node.d.ts → getMultipartRequestOptions-node.d.ts} +2 -2
  29. package/_shims/getMultipartRequestOptions-node.d.ts.map +1 -0
  30. package/_shims/{getMultipartRequestOptions.node.js → getMultipartRequestOptions-node.js} +1 -1
  31. package/_shims/{getMultipartRequestOptions.node.js.map → getMultipartRequestOptions-node.js.map} +1 -1
  32. package/_shims/{getMultipartRequestOptions.node.mjs → getMultipartRequestOptions-node.mjs} +1 -1
  33. package/_shims/{getMultipartRequestOptions.node.mjs.map → getMultipartRequestOptions-node.mjs.map} +1 -1
  34. package/_shims/getMultipartRequestOptions.d.ts +1 -1
  35. package/_shims/getMultipartRequestOptions.d.ts.map +1 -1
  36. package/_shims/{node-readable.node.d.ts → node-readable-node.d.ts} +1 -1
  37. package/_shims/{node-readable.node.d.ts.map → node-readable-node.d.ts.map} +1 -1
  38. package/_shims/{node-readable.node.js → node-readable-node.js} +1 -1
  39. package/_shims/node-readable-node.js.map +1 -0
  40. package/_shims/{node-readable.node.mjs → node-readable-node.mjs} +1 -1
  41. package/_shims/node-readable-node.mjs.map +1 -0
  42. package/core.d.ts +2 -1
  43. package/core.d.ts.map +1 -1
  44. package/core.js +3 -1
  45. package/core.js.map +1 -1
  46. package/core.mjs +1 -1
  47. package/core.mjs.map +1 -1
  48. package/error.d.ts +1 -1
  49. package/error.d.ts.map +1 -1
  50. package/error.js +2 -2
  51. package/error.js.map +1 -1
  52. package/error.mjs +2 -2
  53. package/error.mjs.map +1 -1
  54. package/index.d.mts +2 -7
  55. package/index.d.ts +2 -7
  56. package/index.d.ts.map +1 -1
  57. package/index.js +3 -6
  58. package/index.js.map +1 -1
  59. package/index.mjs +3 -6
  60. package/index.mjs.map +1 -1
  61. package/package.json +9 -4
  62. package/pagination.d.ts +1 -1
  63. package/resources/account-numbers.d.ts +57 -0
  64. package/resources/account-numbers.d.ts.map +1 -1
  65. package/resources/account-numbers.js.map +1 -1
  66. package/resources/account-numbers.mjs.map +1 -1
  67. package/resources/ach-prenotifications.d.ts +219 -3
  68. package/resources/ach-prenotifications.d.ts.map +1 -1
  69. package/resources/ach-prenotifications.js.map +1 -1
  70. package/resources/ach-prenotifications.mjs.map +1 -1
  71. package/resources/ach-transfers.d.ts +14 -9
  72. package/resources/ach-transfers.d.ts.map +1 -1
  73. package/resources/ach-transfers.js.map +1 -1
  74. package/resources/ach-transfers.mjs.map +1 -1
  75. package/resources/bookkeeping-entry-sets.d.ts +1 -1
  76. package/resources/card-profiles.d.ts +12 -3
  77. package/resources/card-profiles.d.ts.map +1 -1
  78. package/resources/card-profiles.js.map +1 -1
  79. package/resources/card-profiles.mjs.map +1 -1
  80. package/resources/card-purchase-supplements.d.ts +2 -2
  81. package/resources/check-deposits.d.ts +3 -0
  82. package/resources/check-deposits.d.ts.map +1 -1
  83. package/resources/check-deposits.js.map +1 -1
  84. package/resources/check-deposits.mjs.map +1 -1
  85. package/resources/check-transfers.d.ts +6 -0
  86. package/resources/check-transfers.d.ts.map +1 -1
  87. package/resources/check-transfers.js.map +1 -1
  88. package/resources/check-transfers.mjs.map +1 -1
  89. package/resources/declined-transactions.d.ts +289 -32
  90. package/resources/declined-transactions.d.ts.map +1 -1
  91. package/resources/declined-transactions.js.map +1 -1
  92. package/resources/declined-transactions.mjs.map +1 -1
  93. package/resources/digital-wallet-tokens.d.ts +2 -1
  94. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  95. package/resources/digital-wallet-tokens.js.map +1 -1
  96. package/resources/digital-wallet-tokens.mjs.map +1 -1
  97. package/resources/entities/beneficial-owners.d.ts +51 -0
  98. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  99. package/resources/entities/beneficial-owners.js +6 -0
  100. package/resources/entities/beneficial-owners.js.map +1 -1
  101. package/resources/entities/beneficial-owners.mjs +6 -0
  102. package/resources/entities/beneficial-owners.mjs.map +1 -1
  103. package/resources/entities/entities.d.ts +45 -1
  104. package/resources/entities/entities.d.ts.map +1 -1
  105. package/resources/entities/entities.js +6 -0
  106. package/resources/entities/entities.js.map +1 -1
  107. package/resources/entities/entities.mjs +6 -0
  108. package/resources/entities/entities.mjs.map +1 -1
  109. package/resources/entities/index.d.ts +9 -1
  110. package/resources/entities/index.d.ts.map +1 -1
  111. package/resources/entities/index.js.map +1 -1
  112. package/resources/entities/index.mjs.map +1 -1
  113. package/resources/external-accounts.d.ts +4 -0
  114. package/resources/external-accounts.d.ts.map +1 -1
  115. package/resources/external-accounts.js.map +1 -1
  116. package/resources/external-accounts.mjs.map +1 -1
  117. package/resources/inbound-ach-transfers.d.ts +56 -8
  118. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  119. package/resources/inbound-ach-transfers.js +9 -0
  120. package/resources/inbound-ach-transfers.js.map +1 -1
  121. package/resources/inbound-ach-transfers.mjs +9 -0
  122. package/resources/inbound-ach-transfers.mjs.map +1 -1
  123. package/resources/index.d.ts +9 -9
  124. package/resources/index.d.ts.map +1 -1
  125. package/resources/index.js +0 -15
  126. package/resources/index.js.map +1 -1
  127. package/resources/index.mjs +0 -1
  128. package/resources/index.mjs.map +1 -1
  129. package/resources/pending-transactions.d.ts +19 -6
  130. package/resources/pending-transactions.d.ts.map +1 -1
  131. package/resources/pending-transactions.js.map +1 -1
  132. package/resources/pending-transactions.mjs.map +1 -1
  133. package/resources/real-time-decisions.d.ts +11 -9
  134. package/resources/real-time-decisions.d.ts.map +1 -1
  135. package/resources/real-time-decisions.js.map +1 -1
  136. package/resources/real-time-decisions.mjs.map +1 -1
  137. package/resources/simulations/ach-transfers.d.ts +693 -48
  138. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  139. package/resources/simulations/ach-transfers.js.map +1 -1
  140. package/resources/simulations/ach-transfers.mjs.map +1 -1
  141. package/resources/simulations/cards.d.ts +308 -38
  142. package/resources/simulations/cards.d.ts.map +1 -1
  143. package/resources/simulations/cards.js.map +1 -1
  144. package/resources/simulations/cards.mjs.map +1 -1
  145. package/resources/simulations/interest-payments.d.ts +402 -14
  146. package/resources/simulations/interest-payments.d.ts.map +1 -1
  147. package/resources/simulations/interest-payments.js.map +1 -1
  148. package/resources/simulations/interest-payments.mjs.map +1 -1
  149. package/resources/simulations/real-time-payments-transfers.d.ts +691 -46
  150. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  151. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  152. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  153. package/resources/simulations/wire-transfers.d.ts +402 -14
  154. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  155. package/resources/simulations/wire-transfers.js.map +1 -1
  156. package/resources/simulations/wire-transfers.mjs.map +1 -1
  157. package/resources/transactions.d.ts +402 -14
  158. package/resources/transactions.d.ts.map +1 -1
  159. package/resources/transactions.js.map +1 -1
  160. package/resources/transactions.mjs.map +1 -1
  161. package/resources/wire-transfers.d.ts +7 -5
  162. package/resources/wire-transfers.d.ts.map +1 -1
  163. package/resources/wire-transfers.js +1 -1
  164. package/resources/wire-transfers.js.map +1 -1
  165. package/resources/wire-transfers.mjs +1 -1
  166. package/resources/wire-transfers.mjs.map +1 -1
  167. package/src/_shims/ReadableStream.d.ts +5 -5
  168. package/src/_shims/agent.ts +1 -1
  169. package/src/_shims/{fetch.node.d.ts → fetch-node.d.ts} +8 -8
  170. package/src/_shims/fetch.d.ts +10 -10
  171. package/src/_shims/{fileFromPath.node.ts → fileFromPath-node.ts} +1 -1
  172. package/src/_shims/fileFromPath.ts +2 -2
  173. package/src/_shims/{formdata.node.d.ts → form-data-node.d.ts} +4 -4
  174. package/src/_shims/{formdata.d.ts → form-data.d.ts} +4 -4
  175. package/src/_shims/{getMultipartRequestOptions.node.ts → getMultipartRequestOptions-node.ts} +3 -3
  176. package/src/_shims/getMultipartRequestOptions.ts +3 -3
  177. package/src/core.ts +11 -10
  178. package/src/error.ts +3 -3
  179. package/src/index.ts +9 -15
  180. package/src/pagination.ts +2 -2
  181. package/src/resource.ts +1 -1
  182. package/src/resources/account-numbers.ts +68 -5
  183. package/src/resources/account-statements.ts +5 -5
  184. package/src/resources/account-transfers.ts +5 -5
  185. package/src/resources/accounts.ts +5 -5
  186. package/src/resources/ach-prenotifications.ts +224 -8
  187. package/src/resources/ach-transfers.ts +19 -14
  188. package/src/resources/balance-lookups.ts +3 -3
  189. package/src/resources/bookkeeping-accounts.ts +5 -5
  190. package/src/resources/bookkeeping-entries.ts +5 -5
  191. package/src/resources/bookkeeping-entry-sets.ts +4 -4
  192. package/src/resources/card-disputes.ts +5 -5
  193. package/src/resources/card-profiles.ts +17 -8
  194. package/src/resources/card-purchase-supplements.ts +7 -7
  195. package/src/resources/cards.ts +5 -5
  196. package/src/resources/check-deposits.ts +8 -5
  197. package/src/resources/check-transfers.ts +12 -5
  198. package/src/resources/declined-transactions.ts +294 -37
  199. package/src/resources/digital-wallet-tokens.ts +7 -6
  200. package/src/resources/documents.ts +5 -5
  201. package/src/resources/entities/beneficial-owners.ts +66 -4
  202. package/src/resources/entities/entities.ts +61 -8
  203. package/src/resources/entities/index.ts +11 -3
  204. package/src/resources/entities/supplemental-documents.ts +5 -5
  205. package/src/resources/event-subscriptions.ts +5 -5
  206. package/src/resources/events.ts +5 -5
  207. package/src/resources/exports.ts +5 -5
  208. package/src/resources/external-accounts.ts +10 -5
  209. package/src/resources/files.ts +6 -6
  210. package/src/resources/groups.ts +3 -3
  211. package/src/resources/inbound-ach-transfers.ts +73 -13
  212. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  213. package/src/resources/index.ts +46 -39
  214. package/src/resources/oauth-connections.ts +5 -5
  215. package/src/resources/pending-transactions.ts +24 -11
  216. package/src/resources/programs.ts +5 -5
  217. package/src/resources/real-time-decisions.ts +14 -12
  218. package/src/resources/real-time-payments-transfers.ts +5 -5
  219. package/src/resources/routing-numbers.ts +4 -4
  220. package/src/resources/simulations/account-statements.ts +4 -4
  221. package/src/resources/simulations/account-transfers.ts +3 -3
  222. package/src/resources/simulations/ach-transfers.ts +706 -54
  223. package/src/resources/simulations/card-disputes.ts +4 -4
  224. package/src/resources/simulations/card-profiles.ts +3 -3
  225. package/src/resources/simulations/card-refunds.ts +4 -4
  226. package/src/resources/simulations/cards.ts +313 -43
  227. package/src/resources/simulations/check-deposits.ts +3 -3
  228. package/src/resources/simulations/check-transfers.ts +3 -3
  229. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  230. package/src/resources/simulations/documents.ts +4 -4
  231. package/src/resources/simulations/inbound-funds-holds.ts +3 -3
  232. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  233. package/src/resources/simulations/index.ts +18 -18
  234. package/src/resources/simulations/interest-payments.ts +413 -18
  235. package/src/resources/simulations/programs.ts +4 -4
  236. package/src/resources/simulations/real-time-payments-transfers.ts +704 -52
  237. package/src/resources/simulations/simulations.ts +19 -19
  238. package/src/resources/simulations/wire-transfers.ts +413 -18
  239. package/src/resources/transactions.ts +415 -20
  240. package/src/resources/wire-drawdown-requests.ts +5 -5
  241. package/src/resources/wire-transfers.ts +12 -10
  242. package/src/tsconfig.json +11 -0
  243. package/src/uploads.ts +6 -6
  244. package/src/version.ts +1 -1
  245. package/uploads.d.ts +1 -1
  246. package/uploads.d.ts.map +1 -1
  247. package/uploads.js +4 -4
  248. package/uploads.js.map +1 -1
  249. package/uploads.mjs +1 -1
  250. package/uploads.mjs.map +1 -1
  251. package/version.d.ts +1 -1
  252. package/version.js +1 -1
  253. package/version.mjs +1 -1
  254. package/_shims/ReadableStream.node.d.ts.map +0 -1
  255. package/_shims/ReadableStream.node.js.map +0 -1
  256. package/_shims/ReadableStream.node.mjs.map +0 -1
  257. package/_shims/agent.node.d.ts.map +0 -1
  258. package/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  259. package/_shims/node-readable.node.js.map +0 -1
  260. package/_shims/node-readable.node.mjs.map +0 -1
  261. package/resources/limits.d.ts +0 -148
  262. package/resources/limits.d.ts.map +0 -1
  263. package/resources/limits.js +0 -38
  264. package/resources/limits.js.map +0 -1
  265. package/resources/limits.mjs +0 -33
  266. package/resources/limits.mjs.map +0 -1
  267. package/src/_shims/fetch.deno.ts +0 -23
  268. package/src/_shims/formdata.deno.ts +0 -16
  269. package/src/resources/limits.ts +0 -186
  270. /package/_shims/{fetch.node.d.ts → fetch-node.d.ts} +0 -0
  271. /package/_shims/{fetch.node.js → fetch-node.js} +0 -0
  272. /package/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  273. /package/_shims/{formdata.node.d.ts → form-data-node.d.ts} +0 -0
  274. /package/_shims/{formdata.node.js → form-data-node.js} +0 -0
  275. /package/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  276. /package/_shims/{formdata.d.ts → form-data.d.ts} +0 -0
  277. /package/_shims/{formdata.js → form-data.js} +0 -0
  278. /package/_shims/{formdata.mjs → form-data.mjs} +0 -0
  279. /package/src/_shims/{ReadableStream.node.ts → ReadableStream-node.ts} +0 -0
  280. /package/src/_shims/{agent.node.ts → agent-node.ts} +0 -0
  281. /package/src/_shims/{fetch.node.js → fetch-node.js} +0 -0
  282. /package/src/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  283. /package/src/_shims/{formdata.node.js → form-data-node.js} +0 -0
  284. /package/src/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  285. /package/src/_shims/{formdata.js → form-data.js} +0 -0
  286. /package/src/_shims/{formdata.mjs → form-data.mjs} +0 -0
  287. /package/src/_shims/{node-readable.node.ts → node-readable-node.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../../core';
4
- import { APIResource } from '../../resource';
5
- import * as Entities from './index';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as Entities from './index.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class BeneficialOwners extends APIResource {
9
9
  /**
@@ -22,6 +22,16 @@ export class BeneficialOwners extends APIResource {
22
22
  ): Core.APIPromise<Entities.Entity> {
23
23
  return this.post('/entity_beneficial_owners/archive', { body, ...options });
24
24
  }
25
+
26
+ /**
27
+ * Update the address for a beneficial owner belonging to a corporate Entity
28
+ */
29
+ updateAddress(
30
+ body: BeneficialOwnerUpdateAddressParams,
31
+ options?: Core.RequestOptions,
32
+ ): Core.APIPromise<Entities.Entity> {
33
+ return this.post('/entity_beneficial_owners/address', { body, ...options });
34
+ }
25
35
  }
26
36
 
27
37
  export interface BeneficialOwnerCreateParams {
@@ -270,7 +280,59 @@ export interface BeneficialOwnerArchiveParams {
270
280
  entity_id: string;
271
281
  }
272
282
 
283
+ export interface BeneficialOwnerUpdateAddressParams {
284
+ /**
285
+ * The individual's physical address. Post Office Boxes are disallowed.
286
+ */
287
+ address: BeneficialOwnerUpdateAddressParams.Address;
288
+
289
+ /**
290
+ * The identifying details of anyone controlling or owning 25% or more of the
291
+ * corporation.
292
+ */
293
+ beneficial_owner_id: string;
294
+
295
+ /**
296
+ * The identifier of the Entity to retrieve.
297
+ */
298
+ entity_id: string;
299
+ }
300
+
301
+ export namespace BeneficialOwnerUpdateAddressParams {
302
+ /**
303
+ * The individual's physical address. Post Office Boxes are disallowed.
304
+ */
305
+ export interface Address {
306
+ /**
307
+ * The city of the address.
308
+ */
309
+ city: string;
310
+
311
+ /**
312
+ * The first line of the address. This is usually the street number and street.
313
+ */
314
+ line1: string;
315
+
316
+ /**
317
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
318
+ * the address.
319
+ */
320
+ state: string;
321
+
322
+ /**
323
+ * The ZIP code of the address.
324
+ */
325
+ zip: string;
326
+
327
+ /**
328
+ * The second line of the address. This might be the floor or room number.
329
+ */
330
+ line2?: string;
331
+ }
332
+ }
333
+
273
334
  export namespace BeneficialOwners {
274
335
  export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
275
336
  export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
337
+ export import BeneficialOwnerUpdateAddressParams = API.BeneficialOwnerUpdateAddressParams;
276
338
  }
@@ -1,12 +1,12 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../../core';
4
- import { APIResource } from '../../resource';
5
- import { isRequestOptions } from '../../core';
6
- import { BeneficialOwners } from './beneficial-owners';
7
- import { SupplementalDocuments } from './supplemental-documents';
8
- import * as API from './index';
9
- import { Page, PageParams } from '../../pagination';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import { isRequestOptions } from '../../core.js';
6
+ import { BeneficialOwners } from './beneficial-owners.js';
7
+ import { SupplementalDocuments } from './supplemental-documents.js';
8
+ import * as API from './index.js';
9
+ import { Page, PageParams } from '../../pagination.js';
10
10
 
11
11
  export class Entities extends APIResource {
12
12
  beneficialOwners: BeneficialOwners = new BeneficialOwners(this.client);
@@ -47,6 +47,17 @@ export class Entities extends APIResource {
47
47
  archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
48
48
  return this.post(`/entities/${entityId}/archive`, options);
49
49
  }
50
+
51
+ /**
52
+ * Update a Natural Person or Corporation's address
53
+ */
54
+ updateAddress(
55
+ entityId: string,
56
+ body: EntityUpdateAddressParams,
57
+ options?: Core.RequestOptions,
58
+ ): Core.APIPromise<Entity> {
59
+ return this.post(`/entities/${entityId}/address`, { body, ...options });
60
+ }
50
61
  }
51
62
 
52
63
  export class EntitiesPage extends Page<Entity> {}
@@ -555,7 +566,7 @@ export namespace Entity {
555
566
  grantor: Trust.Grantor | null;
556
567
 
557
568
  /**
558
- * The trust's name
569
+ * The trust's name.
559
570
  */
560
571
  name: string;
561
572
 
@@ -2076,15 +2087,57 @@ export namespace EntityListParams {
2076
2087
  }
2077
2088
  }
2078
2089
 
2090
+ export interface EntityUpdateAddressParams {
2091
+ /**
2092
+ * The entity's physical address. Post Office Boxes are disallowed.
2093
+ */
2094
+ address: EntityUpdateAddressParams.Address;
2095
+ }
2096
+
2097
+ export namespace EntityUpdateAddressParams {
2098
+ /**
2099
+ * The entity's physical address. Post Office Boxes are disallowed.
2100
+ */
2101
+ export interface Address {
2102
+ /**
2103
+ * The city of the address.
2104
+ */
2105
+ city: string;
2106
+
2107
+ /**
2108
+ * The first line of the address. This is usually the street number and street.
2109
+ */
2110
+ line1: string;
2111
+
2112
+ /**
2113
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
2114
+ * the address.
2115
+ */
2116
+ state: string;
2117
+
2118
+ /**
2119
+ * The ZIP code of the address.
2120
+ */
2121
+ zip: string;
2122
+
2123
+ /**
2124
+ * The second line of the address. This might be the floor or room number.
2125
+ */
2126
+ line2?: string;
2127
+ }
2128
+ }
2129
+
2079
2130
  export namespace Entities {
2080
2131
  export import Entity = API.Entity;
2081
2132
  export type EntitiesPage = _EntitiesPage;
2082
2133
  export import EntityCreateParams = API.EntityCreateParams;
2083
2134
  export import EntityListParams = API.EntityListParams;
2135
+ export import EntityUpdateAddressParams = API.EntityUpdateAddressParams;
2084
2136
 
2085
2137
  export import BeneficialOwners = API.BeneficialOwners;
2086
2138
  export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
2087
2139
  export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
2140
+ export import BeneficialOwnerUpdateAddressParams = API.BeneficialOwnerUpdateAddressParams;
2088
2141
 
2089
2142
  export import SupplementalDocuments = API.SupplementalDocuments;
2090
2143
  export import SupplementalDocument = API.SupplementalDocument;
@@ -3,13 +3,21 @@
3
3
  export {
4
4
  BeneficialOwnerCreateParams,
5
5
  BeneficialOwnerArchiveParams,
6
+ BeneficialOwnerUpdateAddressParams,
6
7
  BeneficialOwners,
7
- } from './beneficial-owners';
8
- export { Entity, EntityCreateParams, EntityListParams, EntitiesPage, Entities } from './entities';
8
+ } from './beneficial-owners.js';
9
+ export {
10
+ Entity,
11
+ EntityCreateParams,
12
+ EntityListParams,
13
+ EntityUpdateAddressParams,
14
+ EntitiesPage,
15
+ Entities,
16
+ } from './entities.js';
9
17
  export {
10
18
  SupplementalDocument,
11
19
  SupplementalDocumentCreateParams,
12
20
  SupplementalDocumentListParams,
13
21
  SupplementalDocumentsPage,
14
22
  SupplementalDocuments,
15
- } from './supplemental-documents';
23
+ } from './supplemental-documents.js';
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
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
- import { Page, PageParams } from '../../pagination';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as Entities from './index.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../../pagination.js';
8
8
 
9
9
  export class SupplementalDocuments extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class EventSubscriptions extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class Events extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class Exports extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class ExternalAccounts extends APIResource {
10
10
  /**
@@ -164,6 +164,11 @@ export interface ExternalAccountUpdateParams {
164
164
  }
165
165
 
166
166
  export interface ExternalAccountListParams extends PageParams {
167
+ /**
168
+ * Filter External Accounts to those with the specified Routing Number.
169
+ */
170
+ routing_number?: string;
171
+
167
172
  status?: ExternalAccountListParams.Status;
168
173
  }
169
174
 
@@ -1,11 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { type Uploadable, multipartFormRequestOptions } from '../core';
8
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { type Uploadable, multipartFormRequestOptions } from '../core.js';
8
+ import { Page, PageParams } from '../pagination.js';
9
9
 
10
10
  export class Files extends APIResource {
11
11
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import * as API from './index';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import * as API from './index.js';
6
6
 
7
7
  export class Groups extends APIResource {
8
8
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class InboundACHTransfers extends APIResource {
10
10
  /**
@@ -39,6 +39,20 @@ export class InboundACHTransfers extends APIResource {
39
39
  return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
40
40
  }
41
41
 
42
+ /**
43
+ * Create a notification of change for an Inbound ACH Transfer
44
+ */
45
+ notificationOfChange(
46
+ inboundACHTransferId: string,
47
+ body: InboundACHTransferNotificationOfChangeParams,
48
+ options?: Core.RequestOptions,
49
+ ): Core.APIPromise<InboundACHTransfer> {
50
+ return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
51
+ body,
52
+ ...options,
53
+ });
54
+ }
55
+
42
56
  /**
43
57
  * Return an Inbound ACH Transfer
44
58
  */
@@ -70,6 +84,11 @@ export interface InboundACHTransfer {
70
84
  */
71
85
  acceptance: InboundACHTransfer.Acceptance | null;
72
86
 
87
+ /**
88
+ * The identifier of the Account Number to which this transfer was sent.
89
+ */
90
+ account_number_id: string;
91
+
73
92
  /**
74
93
  * The transfer amount in USD cents.
75
94
  */
@@ -93,6 +112,12 @@ export interface InboundACHTransfer {
93
112
  */
94
113
  direction: 'credit' | 'debit';
95
114
 
115
+ /**
116
+ * If you initiate a notification of change in response to the transfer, this will
117
+ * contain its details.
118
+ */
119
+ notification_of_change: InboundACHTransfer.NotificationOfChange | null;
120
+
96
121
  /**
97
122
  * The descriptive date of the transfer.
98
123
  */
@@ -187,20 +212,26 @@ export namespace InboundACHTransfer {
187
212
  declined_transaction_id: string;
188
213
 
189
214
  /**
190
- * The reason for the transfer decline
215
+ * The reason for the transfer decline.
191
216
  *
192
217
  * - `ach_route_canceled` - The account number is canceled.
193
218
  * - `ach_route_disabled` - The account number is disabled.
194
- * - `breaches_limit` - The transaction would cause a limit to be exceeded.
195
- * - `credit_entry_refused_by_receiver` - A credit was refused.
196
- * - `duplicate_return` - Other.
219
+ * - `breaches_limit` - The transaction would cause an Increase limit to be
220
+ * exceeded.
221
+ * - `credit_entry_refused_by_receiver` - A credit was refused. This is a
222
+ * reasonable default reason for decline of credits.
223
+ * - `duplicate_return` - A rare return reason. The return this message refers to
224
+ * was a duplicate.
197
225
  * - `entity_not_active` - The account's entity is not active.
198
226
  * - `group_locked` - Your account is inactive.
199
227
  * - `insufficient_funds` - Your account contains insufficient funds.
200
- * - `misrouted_return` - Other.
201
- * - `return_of_erroneous_or_reversing_debit` - Other.
228
+ * - `misrouted_return` - A rare return reason. The return this message refers to
229
+ * was misrouted.
230
+ * - `return_of_erroneous_or_reversing_debit` - The originating financial
231
+ * institution made a mistake and this return corrects it.
202
232
  * - `no_ach_route` - The account number that was debited does not exist.
203
- * - `originator_request` - Other.
233
+ * - `originator_request` - The originating financial institution asked for this
234
+ * transfer to be returned.
204
235
  * - `transaction_not_allowed` - The transaction is not allowed per Increase's
205
236
  * terms.
206
237
  * - `user_initiated` - The user initiated the decline.
@@ -222,12 +253,28 @@ export namespace InboundACHTransfer {
222
253
  | 'user_initiated';
223
254
  }
224
255
 
256
+ /**
257
+ * If you initiate a notification of change in response to the transfer, this will
258
+ * contain its details.
259
+ */
260
+ export interface NotificationOfChange {
261
+ /**
262
+ * The new account number provided in the notification of change.
263
+ */
264
+ updated_account_number: string | null;
265
+
266
+ /**
267
+ * The new account number provided in the notification of change.
268
+ */
269
+ updated_routing_number: string | null;
270
+ }
271
+
225
272
  /**
226
273
  * If your transfer is returned, this will contain details of the return.
227
274
  */
228
275
  export interface TransferReturn {
229
276
  /**
230
- * The reason for the transfer return
277
+ * The reason for the transfer return.
231
278
  *
232
279
  * - `authorization_revoked_by_customer` - The customer no longer authorizes this
233
280
  * transaction. The Nacha return code is R07.
@@ -317,6 +364,18 @@ export namespace InboundACHTransferListParams {
317
364
  }
318
365
  }
319
366
 
367
+ export interface InboundACHTransferNotificationOfChangeParams {
368
+ /**
369
+ * The updated account number to send in the notification of change.
370
+ */
371
+ updated_account_number?: string;
372
+
373
+ /**
374
+ * The updated routing number to send in the notification of change.
375
+ */
376
+ updated_routing_number?: string;
377
+ }
378
+
320
379
  export interface InboundACHTransferTransferReturnParams {
321
380
  /**
322
381
  * The reason why this transfer will be returned. The most usual return codes are
@@ -355,5 +414,6 @@ export namespace InboundACHTransfers {
355
414
  export import InboundACHTransfer = API.InboundACHTransfer;
356
415
  export type InboundACHTransfersPage = _InboundACHTransfersPage;
357
416
  export import InboundACHTransferListParams = API.InboundACHTransferListParams;
417
+ export import InboundACHTransferNotificationOfChangeParams = API.InboundACHTransferNotificationOfChangeParams;
358
418
  export import InboundACHTransferTransferReturnParams = API.InboundACHTransferTransferReturnParams;
359
419
  }
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from '../core';
4
- import { APIResource } from '../resource';
5
- import { isRequestOptions } from '../core';
6
- import * as API from './index';
7
- import { Page, PageParams } from '../pagination';
3
+ import * as Core from '../core.js';
4
+ import { APIResource } from '../resource.js';
5
+ import { isRequestOptions } from '../core.js';
6
+ import * as API from './index.js';
7
+ import { Page, PageParams } from '../pagination.js';
8
8
 
9
9
  export class InboundWireDrawdownRequests extends APIResource {
10
10
  /**