increase 0.10.2 → 0.10.4

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 (281) hide show
  1. package/CHANGELOG.md +50 -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 +3 -2
  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 -5
  55. package/index.d.ts +2 -5
  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/ach-prenotifications.d.ts +219 -3
  64. package/resources/ach-prenotifications.d.ts.map +1 -1
  65. package/resources/ach-prenotifications.js.map +1 -1
  66. package/resources/ach-prenotifications.mjs.map +1 -1
  67. package/resources/ach-transfers.d.ts +14 -9
  68. package/resources/ach-transfers.d.ts.map +1 -1
  69. package/resources/ach-transfers.js.map +1 -1
  70. package/resources/ach-transfers.mjs.map +1 -1
  71. package/resources/bookkeeping-entry-sets.d.ts +1 -1
  72. package/resources/card-profiles.d.ts +1 -1
  73. package/resources/card-purchase-supplements.d.ts +2 -2
  74. package/resources/check-deposits.d.ts +3 -0
  75. package/resources/check-deposits.d.ts.map +1 -1
  76. package/resources/check-deposits.js.map +1 -1
  77. package/resources/check-deposits.mjs.map +1 -1
  78. package/resources/check-transfers.d.ts +6 -0
  79. package/resources/check-transfers.d.ts.map +1 -1
  80. package/resources/check-transfers.js.map +1 -1
  81. package/resources/check-transfers.mjs.map +1 -1
  82. package/resources/declined-transactions.d.ts +282 -19
  83. package/resources/declined-transactions.d.ts.map +1 -1
  84. package/resources/declined-transactions.js.map +1 -1
  85. package/resources/declined-transactions.mjs.map +1 -1
  86. package/resources/digital-wallet-tokens.d.ts +2 -1
  87. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  88. package/resources/digital-wallet-tokens.js.map +1 -1
  89. package/resources/digital-wallet-tokens.mjs.map +1 -1
  90. package/resources/entities/beneficial-owners.d.ts +51 -0
  91. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  92. package/resources/entities/beneficial-owners.js +6 -0
  93. package/resources/entities/beneficial-owners.js.map +1 -1
  94. package/resources/entities/beneficial-owners.mjs +6 -0
  95. package/resources/entities/beneficial-owners.mjs.map +1 -1
  96. package/resources/entities/entities.d.ts +45 -1
  97. package/resources/entities/entities.d.ts.map +1 -1
  98. package/resources/entities/entities.js +6 -0
  99. package/resources/entities/entities.js.map +1 -1
  100. package/resources/entities/entities.mjs +6 -0
  101. package/resources/entities/entities.mjs.map +1 -1
  102. package/resources/entities/index.d.ts +9 -1
  103. package/resources/entities/index.d.ts.map +1 -1
  104. package/resources/entities/index.js.map +1 -1
  105. package/resources/entities/index.mjs.map +1 -1
  106. package/resources/external-accounts.d.ts +4 -0
  107. package/resources/external-accounts.d.ts.map +1 -1
  108. package/resources/external-accounts.js.map +1 -1
  109. package/resources/external-accounts.mjs.map +1 -1
  110. package/resources/inbound-ach-transfers.d.ts +57 -9
  111. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  112. package/resources/inbound-ach-transfers.js +11 -2
  113. package/resources/inbound-ach-transfers.js.map +1 -1
  114. package/resources/inbound-ach-transfers.mjs +11 -2
  115. package/resources/inbound-ach-transfers.mjs.map +1 -1
  116. package/resources/index.d.ts +9 -7
  117. package/resources/index.d.ts.map +1 -1
  118. package/resources/index.js +0 -15
  119. package/resources/index.js.map +1 -1
  120. package/resources/index.mjs +0 -1
  121. package/resources/index.mjs.map +1 -1
  122. package/resources/pending-transactions.d.ts +19 -6
  123. package/resources/pending-transactions.d.ts.map +1 -1
  124. package/resources/pending-transactions.js.map +1 -1
  125. package/resources/pending-transactions.mjs.map +1 -1
  126. package/resources/real-time-decisions.d.ts +16 -9
  127. package/resources/real-time-decisions.d.ts.map +1 -1
  128. package/resources/real-time-decisions.js.map +1 -1
  129. package/resources/real-time-decisions.mjs.map +1 -1
  130. package/resources/simulations/ach-transfers.d.ts +686 -35
  131. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  132. package/resources/simulations/ach-transfers.js.map +1 -1
  133. package/resources/simulations/ach-transfers.mjs.map +1 -1
  134. package/resources/simulations/cards.d.ts +301 -25
  135. package/resources/simulations/cards.d.ts.map +1 -1
  136. package/resources/simulations/cards.js.map +1 -1
  137. package/resources/simulations/cards.mjs.map +1 -1
  138. package/resources/simulations/interest-payments.d.ts +402 -14
  139. package/resources/simulations/interest-payments.d.ts.map +1 -1
  140. package/resources/simulations/interest-payments.js.map +1 -1
  141. package/resources/simulations/interest-payments.mjs.map +1 -1
  142. package/resources/simulations/real-time-payments-transfers.d.ts +684 -33
  143. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  144. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  145. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  146. package/resources/simulations/wire-transfers.d.ts +402 -14
  147. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  148. package/resources/simulations/wire-transfers.js.map +1 -1
  149. package/resources/simulations/wire-transfers.mjs.map +1 -1
  150. package/resources/transactions.d.ts +402 -14
  151. package/resources/transactions.d.ts.map +1 -1
  152. package/resources/transactions.js.map +1 -1
  153. package/resources/transactions.mjs.map +1 -1
  154. package/resources/wire-transfers.d.ts +7 -5
  155. package/resources/wire-transfers.d.ts.map +1 -1
  156. package/resources/wire-transfers.js +1 -1
  157. package/resources/wire-transfers.js.map +1 -1
  158. package/resources/wire-transfers.mjs +1 -1
  159. package/resources/wire-transfers.mjs.map +1 -1
  160. package/src/_shims/ReadableStream.d.ts +5 -5
  161. package/src/_shims/agent.ts +1 -1
  162. package/src/_shims/{fetch.node.d.ts → fetch-node.d.ts} +8 -8
  163. package/src/_shims/fetch.d.ts +10 -10
  164. package/src/_shims/{fileFromPath.node.ts → fileFromPath-node.ts} +1 -1
  165. package/src/_shims/fileFromPath.ts +2 -2
  166. package/src/_shims/{formdata.node.d.ts → form-data-node.d.ts} +4 -4
  167. package/src/_shims/{formdata.d.ts → form-data.d.ts} +4 -4
  168. package/src/_shims/{getMultipartRequestOptions.node.ts → getMultipartRequestOptions-node.ts} +3 -3
  169. package/src/_shims/getMultipartRequestOptions.ts +3 -3
  170. package/src/core.ts +12 -11
  171. package/src/error.ts +3 -3
  172. package/src/index.ts +9 -13
  173. package/src/pagination.ts +2 -2
  174. package/src/resource.ts +1 -1
  175. package/src/resources/account-numbers.ts +5 -5
  176. package/src/resources/account-statements.ts +5 -5
  177. package/src/resources/account-transfers.ts +5 -5
  178. package/src/resources/accounts.ts +5 -5
  179. package/src/resources/ach-prenotifications.ts +224 -8
  180. package/src/resources/ach-transfers.ts +19 -14
  181. package/src/resources/balance-lookups.ts +3 -3
  182. package/src/resources/bookkeeping-accounts.ts +5 -5
  183. package/src/resources/bookkeeping-entries.ts +5 -5
  184. package/src/resources/bookkeeping-entry-sets.ts +4 -4
  185. package/src/resources/card-disputes.ts +5 -5
  186. package/src/resources/card-profiles.ts +6 -6
  187. package/src/resources/card-purchase-supplements.ts +7 -7
  188. package/src/resources/cards.ts +5 -5
  189. package/src/resources/check-deposits.ts +8 -5
  190. package/src/resources/check-transfers.ts +12 -5
  191. package/src/resources/declined-transactions.ts +287 -24
  192. package/src/resources/digital-wallet-tokens.ts +7 -6
  193. package/src/resources/documents.ts +5 -5
  194. package/src/resources/entities/beneficial-owners.ts +66 -4
  195. package/src/resources/entities/entities.ts +61 -8
  196. package/src/resources/entities/index.ts +11 -3
  197. package/src/resources/entities/supplemental-documents.ts +5 -5
  198. package/src/resources/event-subscriptions.ts +5 -5
  199. package/src/resources/events.ts +5 -5
  200. package/src/resources/exports.ts +5 -5
  201. package/src/resources/external-accounts.ts +10 -5
  202. package/src/resources/files.ts +6 -6
  203. package/src/resources/groups.ts +3 -3
  204. package/src/resources/inbound-ach-transfers.ts +75 -15
  205. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  206. package/src/resources/index.ts +54 -45
  207. package/src/resources/limits.ts +5 -5
  208. package/src/resources/oauth-connections.ts +5 -5
  209. package/src/resources/pending-transactions.ts +24 -11
  210. package/src/resources/programs.ts +5 -5
  211. package/src/resources/real-time-decisions.ts +20 -12
  212. package/src/resources/real-time-payments-transfers.ts +5 -5
  213. package/src/resources/routing-numbers.ts +4 -4
  214. package/src/resources/simulations/account-statements.ts +4 -4
  215. package/src/resources/simulations/account-transfers.ts +3 -3
  216. package/src/resources/simulations/ach-transfers.ts +699 -41
  217. package/src/resources/simulations/card-disputes.ts +4 -4
  218. package/src/resources/simulations/card-profiles.ts +3 -3
  219. package/src/resources/simulations/card-refunds.ts +4 -4
  220. package/src/resources/simulations/cards.ts +306 -30
  221. package/src/resources/simulations/check-deposits.ts +3 -3
  222. package/src/resources/simulations/check-transfers.ts +3 -3
  223. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  224. package/src/resources/simulations/documents.ts +4 -4
  225. package/src/resources/simulations/inbound-funds-holds.ts +3 -3
  226. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  227. package/src/resources/simulations/index.ts +18 -18
  228. package/src/resources/simulations/interest-payments.ts +413 -18
  229. package/src/resources/simulations/programs.ts +4 -4
  230. package/src/resources/simulations/real-time-payments-transfers.ts +697 -39
  231. package/src/resources/simulations/simulations.ts +19 -19
  232. package/src/resources/simulations/wire-transfers.ts +413 -18
  233. package/src/resources/transactions.ts +415 -20
  234. package/src/resources/wire-drawdown-requests.ts +5 -5
  235. package/src/resources/wire-transfers.ts +12 -10
  236. package/src/tsconfig.json +11 -0
  237. package/src/uploads.ts +6 -6
  238. package/src/version.ts +1 -1
  239. package/uploads.d.ts +1 -1
  240. package/uploads.d.ts.map +1 -1
  241. package/uploads.js +4 -4
  242. package/uploads.js.map +1 -1
  243. package/uploads.mjs +1 -1
  244. package/uploads.mjs.map +1 -1
  245. package/version.d.ts +1 -1
  246. package/version.js +1 -1
  247. package/version.mjs +1 -1
  248. package/_shims/ReadableStream.node.d.ts.map +0 -1
  249. package/_shims/ReadableStream.node.js.map +0 -1
  250. package/_shims/ReadableStream.node.mjs.map +0 -1
  251. package/_shims/agent.node.d.ts.map +0 -1
  252. package/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  253. package/_shims/node-readable.node.js.map +0 -1
  254. package/_shims/node-readable.node.mjs.map +0 -1
  255. package/resources/inbound-ach-transfer-returns.d.ts +0 -115
  256. package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  257. package/resources/inbound-ach-transfer-returns.js +0 -31
  258. package/resources/inbound-ach-transfer-returns.js.map +0 -1
  259. package/resources/inbound-ach-transfer-returns.mjs +0 -24
  260. package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
  261. package/src/_shims/fetch.deno.ts +0 -23
  262. package/src/_shims/formdata.deno.ts +0 -16
  263. package/src/resources/inbound-ach-transfer-returns.ts +0 -145
  264. /package/_shims/{fetch.node.d.ts → fetch-node.d.ts} +0 -0
  265. /package/_shims/{fetch.node.js → fetch-node.js} +0 -0
  266. /package/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  267. /package/_shims/{formdata.node.d.ts → form-data-node.d.ts} +0 -0
  268. /package/_shims/{formdata.node.js → form-data-node.js} +0 -0
  269. /package/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  270. /package/_shims/{formdata.d.ts → form-data.d.ts} +0 -0
  271. /package/_shims/{formdata.js → form-data.js} +0 -0
  272. /package/_shims/{formdata.mjs → form-data.mjs} +0 -0
  273. /package/src/_shims/{ReadableStream.node.ts → ReadableStream-node.ts} +0 -0
  274. /package/src/_shims/{agent.node.ts → agent-node.ts} +0 -0
  275. /package/src/_shims/{fetch.node.js → fetch-node.js} +0 -0
  276. /package/src/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
  277. /package/src/_shims/{formdata.node.js → form-data-node.js} +0 -0
  278. /package/src/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
  279. /package/src/_shims/{formdata.js → form-data.js} +0 -0
  280. /package/src/_shims/{formdata.mjs → form-data.mjs} +0 -0
  281. /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 CardDisputes_ from '../card-disputes';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as CardDisputes_ from '../card-disputes.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class CardDisputes extends APIResource {
9
9
  /**
@@ -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 CardProfiles_ from '../card-profiles';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as CardProfiles_ from '../card-profiles.js';
6
6
 
7
7
  export class CardProfiles extends APIResource {
8
8
  /**
@@ -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 Transactions from '../transactions';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as Transactions from '../transactions.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class CardRefunds extends APIResource {
9
9
  /**
@@ -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 Transactions from '../transactions';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as Transactions from '../transactions.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class Cards extends APIResource {
9
9
  /**
@@ -257,16 +257,22 @@ export namespace CardAuthorizationSimulation {
257
257
  *
258
258
  * - `ach_route_canceled` - The account number is canceled.
259
259
  * - `ach_route_disabled` - The account number is disabled.
260
- * - `breaches_limit` - The transaction would cause a limit to be exceeded.
261
- * - `credit_entry_refused_by_receiver` - A credit was refused.
262
- * - `duplicate_return` - Other.
260
+ * - `breaches_limit` - The transaction would cause an Increase limit to be
261
+ * exceeded.
262
+ * - `credit_entry_refused_by_receiver` - A credit was refused. This is a
263
+ * reasonable default reason for decline of credits.
264
+ * - `duplicate_return` - A rare return reason. The return this message refers to
265
+ * was a duplicate.
263
266
  * - `entity_not_active` - The account's entity is not active.
264
267
  * - `group_locked` - Your account is inactive.
265
268
  * - `insufficient_funds` - Your account contains insufficient funds.
266
- * - `misrouted_return` - Other.
267
- * - `return_of_erroneous_or_reversing_debit` - Other.
269
+ * - `misrouted_return` - A rare return reason. The return this message refers to
270
+ * was misrouted.
271
+ * - `return_of_erroneous_or_reversing_debit` - The originating financial
272
+ * institution made a mistake and this return corrects it.
268
273
  * - `no_ach_route` - The account number that was debited does not exist.
269
- * - `originator_request` - Other.
274
+ * - `originator_request` - The originating financial institution asked for this
275
+ * transfer to be returned.
270
276
  * - `transaction_not_allowed` - The transaction is not allowed per Increase's
271
277
  * terms.
272
278
  * - `user_initiated` - The user initiated the decline.
@@ -334,8 +340,8 @@ export namespace CardAuthorizationSimulation {
334
340
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
335
341
 
336
342
  /**
337
- * If the authorization was attempted using a Digital Wallet Token (such as an
338
- * Apple Pay purchase), the identifier of the token that was used.
343
+ * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
344
+ * purchase), the identifier of the token that was used.
339
345
  */
340
346
  digital_wallet_token_id: string | null;
341
347
 
@@ -372,7 +378,7 @@ export namespace CardAuthorizationSimulation {
372
378
  merchant_state: string | null;
373
379
 
374
380
  /**
375
- * Fields specific to the `network`
381
+ * Fields specific to the `network`.
376
382
  */
377
383
  network_details: CardDecline.NetworkDetails;
378
384
 
@@ -431,25 +437,25 @@ export namespace CardAuthorizationSimulation {
431
437
 
432
438
  export namespace CardDecline {
433
439
  /**
434
- * Fields specific to the `network`
440
+ * Fields specific to the `network`.
435
441
  */
436
442
  export interface NetworkDetails {
437
443
  /**
438
- * The payment network used to process this card authorization
444
+ * The payment network used to process this card authorization.
439
445
  *
440
446
  * - `visa` - Visa
441
447
  */
442
448
  category: 'visa';
443
449
 
444
450
  /**
445
- * Fields specific to the `visa` network
451
+ * Fields specific to the `visa` network.
446
452
  */
447
453
  visa: NetworkDetails.Visa | null;
448
454
  }
449
455
 
450
456
  export namespace NetworkDetails {
451
457
  /**
452
- * Fields specific to the `visa` network
458
+ * Fields specific to the `visa` network.
453
459
  */
454
460
  export interface Visa {
455
461
  /**
@@ -500,7 +506,7 @@ export namespace CardAuthorizationSimulation {
500
506
 
501
507
  /**
502
508
  * The method used to enter the cardholder's primary account number and card
503
- * expiration date
509
+ * expiration date.
504
510
  *
505
511
  * - `unknown` - Unknown
506
512
  * - `manual` - Manual key entry
@@ -543,6 +549,11 @@ export namespace CardAuthorizationSimulation {
543
549
  */
544
550
  amount: number;
545
551
 
552
+ /**
553
+ * A computer-readable number printed on the MICR line of business checks, usually
554
+ * the check number. This is useful for positive pay checks, but can be unreliably
555
+ * transmitted by the bank of first deposit.
556
+ */
546
557
  auxiliary_on_us: string | null;
547
558
 
548
559
  /**
@@ -669,74 +680,279 @@ export namespace CardAuthorizationSimulation {
669
680
  */
670
681
  amount: number;
671
682
 
683
+ /**
684
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
685
+ * country code of the destination country.
686
+ */
672
687
  destination_country_code: string;
673
688
 
689
+ /**
690
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
691
+ * destination bank account.
692
+ */
674
693
  destination_currency_code: string;
675
694
 
676
- foreign_exchange_indicator: string;
695
+ /**
696
+ * A description of how the foreign exchange rate was calculated.
697
+ *
698
+ * - `fixed_to_variable` - The originator chose an amount in their own currency.
699
+ * The settled amount in USD was converted using the exchange rate.
700
+ * - `variable_to_fixed` - The originator chose an amount to settle in USD. The
701
+ * originator's amount was variable; known only after the foreign exchange
702
+ * conversion.
703
+ * - `fixed_to_fixed` - The amount was originated and settled as a fixed amount in
704
+ * USD. There is no foreign exchange conversion.
705
+ */
706
+ foreign_exchange_indicator: 'fixed_to_variable' | 'variable_to_fixed' | 'fixed_to_fixed';
677
707
 
708
+ /**
709
+ * Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a
710
+ * reference to a well-known rate.
711
+ */
678
712
  foreign_exchange_reference: string | null;
679
713
 
680
- foreign_exchange_reference_indicator: string;
714
+ /**
715
+ * An instruction of how to interpret the `foreign_exchange_reference` field for
716
+ * this Transaction.
717
+ *
718
+ * - `foreign_exchange_rate` - The ACH file contains a foreign exchange rate.
719
+ * - `foreign_exchange_reference_number` - The ACH file contains a reference to a
720
+ * well-known foreign exchange rate.
721
+ * - `blank` - There is no foreign exchange for this transfer, so the
722
+ * `foreign_exchange_reference` field is blank.
723
+ */
724
+ foreign_exchange_reference_indicator:
725
+ | 'foreign_exchange_rate'
726
+ | 'foreign_exchange_reference_number'
727
+ | 'blank';
681
728
 
729
+ /**
730
+ * The amount in the minor unit of the foreign payment currency. For dollars, for
731
+ * example, this is cents.
732
+ */
682
733
  foreign_payment_amount: number;
683
734
 
735
+ /**
736
+ * A reference number in the foreign banking infrastructure.
737
+ */
684
738
  foreign_trace_number: string | null;
685
739
 
686
- international_transaction_type_code: string;
687
-
740
+ /**
741
+ * The type of transfer. Set by the originator.
742
+ *
743
+ * - `annuity` - Sent as `ANN` in the Nacha file.
744
+ * - `business_or_commercial` - Sent as `BUS` in the Nacha file.
745
+ * - `deposit` - Sent as `DEP` in the Nacha file.
746
+ * - `loan` - Sent as `LOA` in the Nacha file.
747
+ * - `miscellaneous` - Sent as `MIS` in the Nacha file.
748
+ * - `mortgage` - Sent as `MOR` in the Nacha file.
749
+ * - `pension` - Sent as `PEN` in the Nacha file.
750
+ * - `remittance` - Sent as `REM` in the Nacha file.
751
+ * - `rent_or_lease` - Sent as `RLS` in the Nacha file.
752
+ * - `salary_or_payroll` - Sent as `SAL` in the Nacha file.
753
+ * - `tax` - Sent as `TAX` in the Nacha file.
754
+ * - `accounts_receivable` - Sent as `ARC` in the Nacha file.
755
+ * - `back_office_conversion` - Sent as `BOC` in the Nacha file.
756
+ * - `machine_transfer` - Sent as `MTE` in the Nacha file.
757
+ * - `point_of_purchase` - Sent as `POP` in the Nacha file.
758
+ * - `point_of_sale` - Sent as `POS` in the Nacha file.
759
+ * - `represented_check` - Sent as `RCK` in the Nacha file.
760
+ * - `shared_network_transaction` - Sent as `SHR` in the Nacha file.
761
+ * - `telphone_initiated` - Sent as `TEL` in the Nacha file.
762
+ * - `internet_initiated` - Sent as `WEB` in the Nacha file.
763
+ */
764
+ international_transaction_type_code:
765
+ | 'annuity'
766
+ | 'business_or_commercial'
767
+ | 'deposit'
768
+ | 'loan'
769
+ | 'miscellaneous'
770
+ | 'mortgage'
771
+ | 'pension'
772
+ | 'remittance'
773
+ | 'rent_or_lease'
774
+ | 'salary_or_payroll'
775
+ | 'tax'
776
+ | 'accounts_receivable'
777
+ | 'back_office_conversion'
778
+ | 'machine_transfer'
779
+ | 'point_of_purchase'
780
+ | 'point_of_sale'
781
+ | 'represented_check'
782
+ | 'shared_network_transaction'
783
+ | 'telphone_initiated'
784
+ | 'internet_initiated';
785
+
786
+ /**
787
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
788
+ * originating bank account.
789
+ */
688
790
  originating_currency_code: string;
689
791
 
792
+ /**
793
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
794
+ * country code of the originating branch country.
795
+ */
690
796
  originating_depository_financial_institution_branch_country: string;
691
797
 
798
+ /**
799
+ * An identifier for the originating bank. One of an International Bank Account
800
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
801
+ * domestic identifier like a US Routing Number.
802
+ */
692
803
  originating_depository_financial_institution_id: string;
693
804
 
694
- originating_depository_financial_institution_id_qualifier: string;
805
+ /**
806
+ * An instruction of how to interpret the
807
+ * `originating_depository_financial_institution_id` field for this Transaction.
808
+ *
809
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
810
+ * US, for example, this is the American Banking Association (ABA) routing
811
+ * number.
812
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
813
+ * - `iban` - An International Bank Account Number.
814
+ */
815
+ originating_depository_financial_institution_id_qualifier:
816
+ | 'national_clearing_system_number'
817
+ | 'bic_code'
818
+ | 'iban';
695
819
 
820
+ /**
821
+ * The name of the originating bank. Sometimes this will refer to an American bank
822
+ * and obscure the correspondent foreign bank.
823
+ */
696
824
  originating_depository_financial_institution_name: string;
697
825
 
826
+ /**
827
+ * A portion of the originator address. This may be incomplete.
828
+ */
698
829
  originator_city: string;
699
830
 
831
+ /**
832
+ * A description field set by the originator.
833
+ */
700
834
  originator_company_entry_description: string;
701
835
 
836
+ /**
837
+ * A portion of the originator address. The
838
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
839
+ * code of the originator country.
840
+ */
702
841
  originator_country: string;
703
842
 
843
+ /**
844
+ * An identifier for the originating company. This is generally stable across
845
+ * multiple ACH transfers.
846
+ */
704
847
  originator_identification: string;
705
848
 
849
+ /**
850
+ * Either the name of the originator or an intermediary money transmitter.
851
+ */
706
852
  originator_name: string;
707
853
 
854
+ /**
855
+ * A portion of the originator address. This may be incomplete.
856
+ */
708
857
  originator_postal_code: string | null;
709
858
 
859
+ /**
860
+ * A portion of the originator address. This may be incomplete.
861
+ */
710
862
  originator_state_or_province: string | null;
711
863
 
864
+ /**
865
+ * A portion of the originator address. This may be incomplete.
866
+ */
712
867
  originator_street_address: string;
713
868
 
869
+ /**
870
+ * A description field set by the originator.
871
+ */
714
872
  payment_related_information: string | null;
715
873
 
874
+ /**
875
+ * A description field set by the originator.
876
+ */
716
877
  payment_related_information2: string | null;
717
878
 
879
+ /**
880
+ * A portion of the receiver address. This may be incomplete.
881
+ */
718
882
  receiver_city: string;
719
883
 
884
+ /**
885
+ * A portion of the receiver address. The
886
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
887
+ * code of the receiver country.
888
+ */
720
889
  receiver_country: string;
721
890
 
891
+ /**
892
+ * An identification number the originator uses for the receiver.
893
+ */
722
894
  receiver_identification_number: string | null;
723
895
 
896
+ /**
897
+ * A portion of the receiver address. This may be incomplete.
898
+ */
724
899
  receiver_postal_code: string | null;
725
900
 
901
+ /**
902
+ * A portion of the receiver address. This may be incomplete.
903
+ */
726
904
  receiver_state_or_province: string | null;
727
905
 
906
+ /**
907
+ * A portion of the receiver address. This may be incomplete.
908
+ */
728
909
  receiver_street_address: string;
729
910
 
911
+ /**
912
+ * The name of the receiver of the transfer. This is not verified by Increase.
913
+ */
730
914
  receiving_company_or_individual_name: string;
731
915
 
916
+ /**
917
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
918
+ * country code of the receiving bank country.
919
+ */
732
920
  receiving_depository_financial_institution_country: string;
733
921
 
922
+ /**
923
+ * An identifier for the receiving bank. One of an International Bank Account
924
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
925
+ * domestic identifier like a US Routing Number.
926
+ */
734
927
  receiving_depository_financial_institution_id: string;
735
928
 
736
- receiving_depository_financial_institution_id_qualifier: string;
929
+ /**
930
+ * An instruction of how to interpret the
931
+ * `receiving_depository_financial_institution_id` field for this Transaction.
932
+ *
933
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
934
+ * US, for example, this is the American Banking Association (ABA) routing
935
+ * number.
936
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
937
+ * - `iban` - An International Bank Account Number.
938
+ */
939
+ receiving_depository_financial_institution_id_qualifier:
940
+ | 'national_clearing_system_number'
941
+ | 'bic_code'
942
+ | 'iban';
737
943
 
944
+ /**
945
+ * The name of the receiving bank, as set by the sending financial institution.
946
+ */
738
947
  receiving_depository_financial_institution_name: string;
739
948
 
949
+ /**
950
+ * A 15 digit number recorded in the Nacha file and available to both the
951
+ * originating and receiving bank. Along with the amount, date, and originating
952
+ * routing number, this can be used to identify the ACH transfer at either bank.
953
+ * ACH trace numbers are not unique, but are
954
+ * [used to correlate returns](https://increase.com/documentation/ach#returns).
955
+ */
740
956
  trace_number: string;
741
957
  }
742
958
 
@@ -751,34 +967,81 @@ export namespace CardAuthorizationSimulation {
751
967
  */
752
968
  amount: number;
753
969
 
970
+ /**
971
+ * A free-form address field set by the sender.
972
+ */
754
973
  beneficiary_address_line1: string | null;
755
974
 
975
+ /**
976
+ * A free-form address field set by the sender.
977
+ */
756
978
  beneficiary_address_line2: string | null;
757
979
 
980
+ /**
981
+ * A free-form address field set by the sender.
982
+ */
758
983
  beneficiary_address_line3: string | null;
759
984
 
985
+ /**
986
+ * A name set by the sender.
987
+ */
760
988
  beneficiary_name: string | null;
761
989
 
990
+ /**
991
+ * A free-form reference string set by the sender, to help identify the transfer.
992
+ */
762
993
  beneficiary_reference: string | null;
763
994
 
995
+ /**
996
+ * An Increase-constructed description of the declined transaction.
997
+ */
764
998
  description: string;
765
999
 
1000
+ /**
1001
+ * A unique identifier available to the originating and receiving banks, commonly
1002
+ * abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
1003
+ * service and is helpful when debugging wires with the originating bank.
1004
+ */
766
1005
  input_message_accountability_data: string | null;
767
1006
 
1007
+ /**
1008
+ * The address of the wire originator, set by the sending bank.
1009
+ */
768
1010
  originator_address_line1: string | null;
769
1011
 
1012
+ /**
1013
+ * The address of the wire originator, set by the sending bank.
1014
+ */
770
1015
  originator_address_line2: string | null;
771
1016
 
1017
+ /**
1018
+ * The address of the wire originator, set by the sending bank.
1019
+ */
772
1020
  originator_address_line3: string | null;
773
1021
 
1022
+ /**
1023
+ * The originator of the wire, set by the sending bank.
1024
+ */
774
1025
  originator_name: string | null;
775
1026
 
1027
+ /**
1028
+ * A free-form message set by the wire originator.
1029
+ */
776
1030
  originator_to_beneficiary_information_line1: string | null;
777
1031
 
1032
+ /**
1033
+ * A free-form message set by the wire originator.
1034
+ */
778
1035
  originator_to_beneficiary_information_line2: string | null;
779
1036
 
1037
+ /**
1038
+ * A free-form message set by the wire originator.
1039
+ */
780
1040
  originator_to_beneficiary_information_line3: string | null;
781
1041
 
1042
+ /**
1043
+ * A free-form message set by the wire originator.
1044
+ */
782
1045
  originator_to_beneficiary_information_line4: string | null;
783
1046
 
784
1047
  /**
@@ -1106,7 +1369,7 @@ export namespace CardAuthorizationSimulation {
1106
1369
  merchant_descriptor: string;
1107
1370
 
1108
1371
  /**
1109
- * Fields specific to the `network`
1372
+ * Fields specific to the `network`.
1110
1373
  */
1111
1374
  network_details: CardAuthorization.NetworkDetails;
1112
1375
 
@@ -1136,25 +1399,25 @@ export namespace CardAuthorizationSimulation {
1136
1399
 
1137
1400
  export namespace CardAuthorization {
1138
1401
  /**
1139
- * Fields specific to the `network`
1402
+ * Fields specific to the `network`.
1140
1403
  */
1141
1404
  export interface NetworkDetails {
1142
1405
  /**
1143
- * The payment network used to process this card authorization
1406
+ * The payment network used to process this card authorization.
1144
1407
  *
1145
1408
  * - `visa` - Visa
1146
1409
  */
1147
1410
  category: 'visa';
1148
1411
 
1149
1412
  /**
1150
- * Fields specific to the `visa` network
1413
+ * Fields specific to the `visa` network.
1151
1414
  */
1152
1415
  visa: NetworkDetails.Visa | null;
1153
1416
  }
1154
1417
 
1155
1418
  export namespace NetworkDetails {
1156
1419
  /**
1157
- * Fields specific to the `visa` network
1420
+ * Fields specific to the `visa` network.
1158
1421
  */
1159
1422
  export interface Visa {
1160
1423
  /**
@@ -1205,7 +1468,7 @@ export namespace CardAuthorizationSimulation {
1205
1468
 
1206
1469
  /**
1207
1470
  * The method used to enter the cardholder's primary account number and card
1208
- * expiration date
1471
+ * expiration date.
1209
1472
  *
1210
1473
  * - `unknown` - Unknown
1211
1474
  * - `manual` - Manual key entry
@@ -1404,6 +1667,9 @@ export namespace CardAuthorizationSimulation {
1404
1667
  * response if and only if `category` is equal to `wire_transfer_instruction`.
1405
1668
  */
1406
1669
  export interface WireTransferInstruction {
1670
+ /**
1671
+ * The account number for the destination account.
1672
+ */
1407
1673
  account_number: string;
1408
1674
 
1409
1675
  /**
@@ -1412,10 +1678,20 @@ export namespace CardAuthorizationSimulation {
1412
1678
  */
1413
1679
  amount: number;
1414
1680
 
1681
+ /**
1682
+ * The message that will show on the recipient's bank statement.
1683
+ */
1415
1684
  message_to_recipient: string;
1416
1685
 
1686
+ /**
1687
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
1688
+ * destination account.
1689
+ */
1417
1690
  routing_number: string;
1418
1691
 
1692
+ /**
1693
+ * The identifier of the Wire Transfer that led to this Pending Transaction.
1694
+ */
1419
1695
  transfer_id: string;
1420
1696
  }
1421
1697
  }
@@ -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 CheckDeposits_ from '../check-deposits';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as CheckDeposits_ from '../check-deposits.js';
6
6
 
7
7
  export class CheckDeposits extends APIResource {
8
8
  /**
@@ -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 CheckTransfers_ from '../check-transfers';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as CheckTransfers_ from '../check-transfers.js';
6
6
 
7
7
  export class CheckTransfers extends APIResource {
8
8
  /**
@@ -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 DigitalWalletTokenRequests extends APIResource {
8
8
  /**
@@ -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 Documents_ from '../documents';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as Documents_ from '../documents.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class Documents extends APIResource {
9
9
  /**
@@ -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 InboundFundsHolds extends APIResource {
8
8
  /**
@@ -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 InboundWireDrawdownRequests_ from '../inbound-wire-drawdown-requests';
6
- import * as API from './index';
3
+ import * as Core from '../../core.js';
4
+ import { APIResource } from '../../resource.js';
5
+ import * as InboundWireDrawdownRequests_ from '../inbound-wire-drawdown-requests.js';
6
+ import * as API from './index.js';
7
7
 
8
8
  export class InboundWireDrawdownRequests extends APIResource {
9
9
  /**