increase 0.59.1 → 0.61.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 (299) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +41 -17
  3. package/error.d.ts.map +1 -1
  4. package/error.js +0 -3
  5. package/error.js.map +1 -1
  6. package/error.mjs +0 -3
  7. package/error.mjs.map +1 -1
  8. package/index.d.mts +190 -172
  9. package/index.d.ts +190 -172
  10. package/index.d.ts.map +1 -1
  11. package/index.js +96 -87
  12. package/index.js.map +1 -1
  13. package/index.mjs +96 -87
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/cards.d.ts +1 -1
  17. package/resources/cards.d.ts.map +1 -1
  18. package/resources/cards.js +1 -1
  19. package/resources/cards.js.map +1 -1
  20. package/resources/cards.mjs +1 -1
  21. package/resources/cards.mjs.map +1 -1
  22. package/resources/declined-transactions.d.ts +2 -231
  23. package/resources/declined-transactions.d.ts.map +1 -1
  24. package/resources/declined-transactions.js.map +1 -1
  25. package/resources/declined-transactions.mjs.map +1 -1
  26. package/resources/{entities/entities.d.ts → entities.d.ts} +276 -46
  27. package/resources/entities.d.ts.map +1 -0
  28. package/resources/{entities/entities.js → entities.js} +28 -17
  29. package/resources/entities.js.map +1 -0
  30. package/resources/{entities/entities.mjs → entities.mjs} +28 -17
  31. package/resources/entities.mjs.map +1 -0
  32. package/resources/groups.d.ts +1 -1
  33. package/resources/groups.d.ts.map +1 -1
  34. package/resources/groups.js +1 -1
  35. package/resources/groups.js.map +1 -1
  36. package/resources/groups.mjs +1 -1
  37. package/resources/groups.mjs.map +1 -1
  38. package/resources/inbound-ach-transfers.d.ts +218 -7
  39. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  40. package/resources/inbound-ach-transfers.js +8 -8
  41. package/resources/inbound-ach-transfers.js.map +1 -1
  42. package/resources/inbound-ach-transfers.mjs +8 -8
  43. package/resources/inbound-ach-transfers.mjs.map +1 -1
  44. package/resources/inbound-check-deposits.d.ts +25 -1
  45. package/resources/inbound-check-deposits.d.ts.map +1 -1
  46. package/resources/inbound-check-deposits.js +6 -0
  47. package/resources/inbound-check-deposits.js.map +1 -1
  48. package/resources/inbound-check-deposits.mjs +6 -0
  49. package/resources/inbound-check-deposits.mjs.map +1 -1
  50. package/resources/inbound-mail-items.d.ts +0 -14
  51. package/resources/inbound-mail-items.d.ts.map +1 -1
  52. package/resources/inbound-mail-items.js.map +1 -1
  53. package/resources/inbound-mail-items.mjs.map +1 -1
  54. package/resources/inbound-wire-transfers.d.ts +4 -0
  55. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  56. package/resources/inbound-wire-transfers.js.map +1 -1
  57. package/resources/inbound-wire-transfers.mjs.map +1 -1
  58. package/resources/index.d.ts +11 -8
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +15 -6
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +7 -4
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/{intrafi/account-enrollments.d.ts → intrafi-account-enrollments.d.ts} +17 -17
  65. package/resources/intrafi-account-enrollments.d.ts.map +1 -0
  66. package/resources/{intrafi/account-enrollments.js → intrafi-account-enrollments.js} +11 -11
  67. package/resources/intrafi-account-enrollments.js.map +1 -0
  68. package/resources/{intrafi/account-enrollments.mjs → intrafi-account-enrollments.mjs} +9 -9
  69. package/resources/intrafi-account-enrollments.mjs.map +1 -0
  70. package/resources/{intrafi/balances.d.ts → intrafi-balances.d.ts} +7 -7
  71. package/resources/intrafi-balances.d.ts.map +1 -0
  72. package/resources/{intrafi/balances.js → intrafi-balances.js} +7 -7
  73. package/resources/intrafi-balances.js.map +1 -0
  74. package/resources/{intrafi/balances.mjs → intrafi-balances.mjs} +5 -5
  75. package/resources/intrafi-balances.mjs.map +1 -0
  76. package/resources/{intrafi/exclusions.d.ts → intrafi-exclusions.d.ts} +15 -15
  77. package/resources/intrafi-exclusions.d.ts.map +1 -0
  78. package/resources/{intrafi/exclusions.js → intrafi-exclusions.js} +11 -11
  79. package/resources/intrafi-exclusions.js.map +1 -0
  80. package/resources/{intrafi/exclusions.mjs → intrafi-exclusions.mjs} +9 -9
  81. package/resources/intrafi-exclusions.mjs.map +1 -0
  82. package/resources/lockboxes.d.ts +0 -14
  83. package/resources/lockboxes.d.ts.map +1 -1
  84. package/resources/lockboxes.js.map +1 -1
  85. package/resources/lockboxes.mjs.map +1 -1
  86. package/resources/routing-numbers.d.ts +5 -5
  87. package/resources/routing-numbers.d.ts.map +1 -1
  88. package/resources/routing-numbers.js +5 -5
  89. package/resources/routing-numbers.js.map +1 -1
  90. package/resources/routing-numbers.mjs +3 -3
  91. package/resources/routing-numbers.mjs.map +1 -1
  92. package/resources/simulations/ach-transfers.d.ts +10 -61
  93. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  94. package/resources/simulations/ach-transfers.js +10 -14
  95. package/resources/simulations/ach-transfers.js.map +1 -1
  96. package/resources/simulations/ach-transfers.mjs +10 -14
  97. package/resources/simulations/ach-transfers.mjs.map +1 -1
  98. package/resources/simulations/card-authorization-expirations.d.ts +20 -0
  99. package/resources/simulations/card-authorization-expirations.d.ts.map +1 -0
  100. package/resources/simulations/card-authorization-expirations.js +17 -0
  101. package/resources/simulations/card-authorization-expirations.js.map +1 -0
  102. package/resources/simulations/card-authorization-expirations.mjs +13 -0
  103. package/resources/simulations/card-authorization-expirations.mjs.map +1 -0
  104. package/resources/simulations/card-authorizations.d.ts +91 -0
  105. package/resources/simulations/card-authorizations.d.ts.map +1 -0
  106. package/resources/simulations/{cards.js → card-authorizations.js} +7 -17
  107. package/resources/simulations/card-authorizations.js.map +1 -0
  108. package/resources/simulations/{cards.mjs → card-authorizations.mjs} +5 -15
  109. package/resources/simulations/card-authorizations.mjs.map +1 -0
  110. package/resources/simulations/card-fuel-confirmations.d.ts +27 -0
  111. package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -0
  112. package/resources/simulations/card-fuel-confirmations.js +19 -0
  113. package/resources/simulations/card-fuel-confirmations.js.map +1 -0
  114. package/resources/simulations/card-fuel-confirmations.mjs +15 -0
  115. package/resources/simulations/card-fuel-confirmations.mjs.map +1 -0
  116. package/resources/simulations/card-increments.d.ts +32 -0
  117. package/resources/simulations/card-increments.d.ts.map +1 -0
  118. package/resources/simulations/card-increments.js +18 -0
  119. package/resources/simulations/card-increments.js.map +1 -0
  120. package/resources/simulations/card-increments.mjs +14 -0
  121. package/resources/simulations/card-increments.mjs.map +1 -0
  122. package/resources/simulations/card-reversals.d.ts +28 -0
  123. package/resources/simulations/card-reversals.d.ts.map +1 -0
  124. package/resources/simulations/card-reversals.js +20 -0
  125. package/resources/simulations/card-reversals.js.map +1 -0
  126. package/resources/simulations/card-reversals.mjs +16 -0
  127. package/resources/simulations/card-reversals.mjs.map +1 -0
  128. package/resources/simulations/card-settlements.d.ts +34 -0
  129. package/resources/simulations/card-settlements.d.ts.map +1 -0
  130. package/resources/simulations/card-settlements.js +21 -0
  131. package/resources/simulations/card-settlements.js.map +1 -0
  132. package/resources/simulations/card-settlements.mjs +17 -0
  133. package/resources/simulations/card-settlements.mjs.map +1 -0
  134. package/resources/simulations/inbound-ach-transfers.d.ts +89 -0
  135. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -0
  136. package/resources/simulations/inbound-ach-transfers.js +26 -0
  137. package/resources/simulations/inbound-ach-transfers.js.map +1 -0
  138. package/resources/simulations/inbound-ach-transfers.mjs +22 -0
  139. package/resources/simulations/inbound-ach-transfers.mjs.map +1 -0
  140. package/resources/simulations/inbound-real-time-payments-transfers.d.ts +71 -0
  141. package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -0
  142. package/resources/simulations/inbound-real-time-payments-transfers.js +18 -0
  143. package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -0
  144. package/resources/simulations/inbound-real-time-payments-transfers.mjs +14 -0
  145. package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -0
  146. package/resources/simulations/inbound-wire-transfers.d.ts +99 -0
  147. package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -0
  148. package/resources/simulations/inbound-wire-transfers.js +17 -0
  149. package/resources/simulations/inbound-wire-transfers.js.map +1 -0
  150. package/resources/simulations/inbound-wire-transfers.mjs +13 -0
  151. package/resources/simulations/inbound-wire-transfers.mjs.map +1 -0
  152. package/resources/simulations/index.d.ts +14 -7
  153. package/resources/simulations/index.d.ts.map +1 -1
  154. package/resources/simulations/index.js +21 -7
  155. package/resources/simulations/index.js.map +1 -1
  156. package/resources/simulations/index.mjs +11 -4
  157. package/resources/simulations/index.mjs.map +1 -1
  158. package/resources/simulations/interest-payments.js +1 -1
  159. package/resources/simulations/interest-payments.js.map +1 -1
  160. package/resources/simulations/interest-payments.mjs +1 -1
  161. package/resources/simulations/interest-payments.mjs.map +1 -1
  162. package/resources/simulations/physical-cards.d.ts +3 -3
  163. package/resources/simulations/physical-cards.js +2 -2
  164. package/resources/simulations/physical-cards.mjs +2 -2
  165. package/resources/simulations/real-time-payments-transfers.d.ts +0 -3686
  166. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  167. package/resources/simulations/real-time-payments-transfers.js +0 -7
  168. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  169. package/resources/simulations/real-time-payments-transfers.mjs +0 -7
  170. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  171. package/resources/simulations/simulations.d.ts +67 -118
  172. package/resources/simulations/simulations.d.ts.map +1 -1
  173. package/resources/simulations/simulations.js +45 -54
  174. package/resources/simulations/simulations.js.map +1 -1
  175. package/resources/simulations/simulations.mjs +45 -54
  176. package/resources/simulations/simulations.mjs.map +1 -1
  177. package/resources/simulations/wire-transfers.d.ts +10 -85
  178. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  179. package/resources/simulations/wire-transfers.js +14 -5
  180. package/resources/simulations/wire-transfers.js.map +1 -1
  181. package/resources/simulations/wire-transfers.mjs +14 -5
  182. package/resources/simulations/wire-transfers.mjs.map +1 -1
  183. package/resources/{entities/supplemental-documents.d.ts → supplemental-documents.d.ts} +17 -10
  184. package/resources/supplemental-documents.d.ts.map +1 -0
  185. package/resources/{entities/supplemental-documents.js → supplemental-documents.js} +9 -9
  186. package/resources/supplemental-documents.js.map +1 -0
  187. package/resources/{entities/supplemental-documents.mjs → supplemental-documents.mjs} +7 -7
  188. package/resources/supplemental-documents.mjs.map +1 -0
  189. package/resources/transactions.d.ts +6 -276
  190. package/resources/transactions.d.ts.map +1 -1
  191. package/resources/transactions.js.map +1 -1
  192. package/resources/transactions.mjs.map +1 -1
  193. package/resources/wire-transfers.d.ts +4 -13
  194. package/resources/wire-transfers.d.ts.map +1 -1
  195. package/resources/wire-transfers.js +0 -17
  196. package/resources/wire-transfers.js.map +1 -1
  197. package/resources/wire-transfers.mjs +0 -17
  198. package/resources/wire-transfers.mjs.map +1 -1
  199. package/src/error.ts +0 -8
  200. package/src/index.ts +210 -189
  201. package/src/resources/cards.ts +1 -1
  202. package/src/resources/declined-transactions.ts +0 -297
  203. package/src/resources/{entities/entities.ts → entities.ts} +351 -56
  204. package/src/resources/groups.ts +1 -1
  205. package/src/resources/inbound-ach-transfers.ts +288 -13
  206. package/src/resources/inbound-check-deposits.ts +34 -1
  207. package/src/resources/inbound-mail-items.ts +0 -16
  208. package/src/resources/inbound-wire-transfers.ts +5 -0
  209. package/src/resources/index.ts +32 -14
  210. package/src/resources/{intrafi/account-enrollments.ts → intrafi-account-enrollments.ts} +18 -18
  211. package/src/resources/{intrafi/balances.ts → intrafi-balances.ts} +6 -6
  212. package/src/resources/{intrafi/exclusions.ts → intrafi-exclusions.ts} +19 -16
  213. package/src/resources/lockboxes.ts +0 -16
  214. package/src/resources/routing-numbers.ts +6 -6
  215. package/src/resources/simulations/ach-transfers.ts +15 -76
  216. package/src/resources/simulations/card-authorization-expirations.ts +29 -0
  217. package/src/resources/simulations/card-authorizations.ts +112 -0
  218. package/src/resources/simulations/card-fuel-confirmations.ts +37 -0
  219. package/src/resources/simulations/card-increments.ts +43 -0
  220. package/src/resources/simulations/card-reversals.ts +38 -0
  221. package/src/resources/simulations/card-settlements.ts +45 -0
  222. package/src/resources/simulations/inbound-ach-transfers.ts +124 -0
  223. package/src/resources/simulations/inbound-real-time-payments-transfers.ts +89 -0
  224. package/src/resources/simulations/inbound-wire-transfers.ts +124 -0
  225. package/src/resources/simulations/index.ts +26 -21
  226. package/src/resources/simulations/interest-payments.ts +1 -1
  227. package/src/resources/simulations/physical-cards.ts +5 -5
  228. package/src/resources/simulations/real-time-payments-transfers.ts +0 -4659
  229. package/src/resources/simulations/simulations.ts +80 -157
  230. package/src/resources/simulations/wire-transfers.ts +18 -104
  231. package/src/resources/{entities/supplemental-documents.ts → supplemental-documents.ts} +21 -13
  232. package/src/resources/transactions.ts +5 -350
  233. package/src/resources/wire-transfers.ts +5 -19
  234. package/src/version.ts +1 -1
  235. package/version.d.ts +1 -1
  236. package/version.js +1 -1
  237. package/version.mjs +1 -1
  238. package/resources/entities/beneficial-owners.d.ts +0 -279
  239. package/resources/entities/beneficial-owners.d.ts.map +0 -1
  240. package/resources/entities/beneficial-owners.js +0 -29
  241. package/resources/entities/beneficial-owners.js.map +0 -1
  242. package/resources/entities/beneficial-owners.mjs +0 -25
  243. package/resources/entities/beneficial-owners.mjs.map +0 -1
  244. package/resources/entities/entities.d.ts.map +0 -1
  245. package/resources/entities/entities.js.map +0 -1
  246. package/resources/entities/entities.mjs.map +0 -1
  247. package/resources/entities/index.d.ts +0 -5
  248. package/resources/entities/index.d.ts.map +0 -1
  249. package/resources/entities/index.js +0 -15
  250. package/resources/entities/index.js.map +0 -1
  251. package/resources/entities/index.mjs +0 -6
  252. package/resources/entities/index.mjs.map +0 -1
  253. package/resources/entities/industry-code.d.ts +0 -23
  254. package/resources/entities/industry-code.d.ts.map +0 -1
  255. package/resources/entities/industry-code.js +0 -17
  256. package/resources/entities/industry-code.js.map +0 -1
  257. package/resources/entities/industry-code.mjs +0 -13
  258. package/resources/entities/industry-code.mjs.map +0 -1
  259. package/resources/entities/supplemental-documents.d.ts.map +0 -1
  260. package/resources/entities/supplemental-documents.js.map +0 -1
  261. package/resources/entities/supplemental-documents.mjs.map +0 -1
  262. package/resources/intrafi/account-enrollments.d.ts.map +0 -1
  263. package/resources/intrafi/account-enrollments.js.map +0 -1
  264. package/resources/intrafi/account-enrollments.mjs.map +0 -1
  265. package/resources/intrafi/balances.d.ts.map +0 -1
  266. package/resources/intrafi/balances.js.map +0 -1
  267. package/resources/intrafi/balances.mjs.map +0 -1
  268. package/resources/intrafi/exclusions.d.ts.map +0 -1
  269. package/resources/intrafi/exclusions.js.map +0 -1
  270. package/resources/intrafi/exclusions.mjs.map +0 -1
  271. package/resources/intrafi/index.d.ts +0 -5
  272. package/resources/intrafi/index.d.ts.map +0 -1
  273. package/resources/intrafi/index.js +0 -15
  274. package/resources/intrafi/index.js.map +0 -1
  275. package/resources/intrafi/index.mjs +0 -6
  276. package/resources/intrafi/index.mjs.map +0 -1
  277. package/resources/intrafi/intrafi.d.ts +0 -24
  278. package/resources/intrafi/intrafi.d.ts.map +0 -1
  279. package/resources/intrafi/intrafi.js +0 -48
  280. package/resources/intrafi/intrafi.js.map +0 -1
  281. package/resources/intrafi/intrafi.mjs +0 -21
  282. package/resources/intrafi/intrafi.mjs.map +0 -1
  283. package/resources/simulations/cards.d.ts +0 -1763
  284. package/resources/simulations/cards.d.ts.map +0 -1
  285. package/resources/simulations/cards.js.map +0 -1
  286. package/resources/simulations/cards.mjs.map +0 -1
  287. package/resources/simulations/inbound-international-ach-transfers.d.ts +0 -285
  288. package/resources/simulations/inbound-international-ach-transfers.d.ts.map +0 -1
  289. package/resources/simulations/inbound-international-ach-transfers.js +0 -21
  290. package/resources/simulations/inbound-international-ach-transfers.js.map +0 -1
  291. package/resources/simulations/inbound-international-ach-transfers.mjs +0 -17
  292. package/resources/simulations/inbound-international-ach-transfers.mjs.map +0 -1
  293. package/src/resources/entities/beneficial-owners.ts +0 -346
  294. package/src/resources/entities/index.ts +0 -25
  295. package/src/resources/entities/industry-code.ts +0 -33
  296. package/src/resources/intrafi/index.ts +0 -18
  297. package/src/resources/intrafi/intrafi.ts +0 -29
  298. package/src/resources/simulations/cards.ts +0 -2188
  299. package/src/resources/simulations/inbound-international-ach-transfers.ts +0 -367
@@ -210,8 +210,6 @@ export namespace Transaction {
210
210
  * `check_deposit_return` object.
211
211
  * - `check_transfer_deposit` - Check Transfer Deposit: details will be under the
212
212
  * `check_transfer_deposit` object.
213
- * - `check_transfer_stop_payment_request` - Check Transfer Stop Payment Request:
214
- * details will be under the `check_transfer_stop_payment_request` object.
215
213
  * - `fee_payment` - Fee Payment: details will be under the `fee_payment` object.
216
214
  * - `inbound_ach_transfer` - Inbound ACH Transfer Intention: details will be under
217
215
  * the `inbound_ach_transfer` object.
@@ -221,8 +219,6 @@ export namespace Transaction {
221
219
  * - `inbound_check_deposit_return_intention` - Inbound Check Deposit Return
222
220
  * Intention: details will be under the `inbound_check_deposit_return_intention`
223
221
  * object.
224
- * - `inbound_international_ach_transfer` - Inbound International ACH Transfer:
225
- * details will be under the `inbound_international_ach_transfer` object.
226
222
  * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real-Time
227
223
  * Payments Transfer Confirmation: details will be under the
228
224
  * `inbound_real_time_payments_transfer_confirmation` object.
@@ -263,12 +259,10 @@ export namespace Transaction {
263
259
  | 'check_deposit_acceptance'
264
260
  | 'check_deposit_return'
265
261
  | 'check_transfer_deposit'
266
- | 'check_transfer_stop_payment_request'
267
262
  | 'fee_payment'
268
263
  | 'inbound_ach_transfer'
269
264
  | 'inbound_ach_transfer_return_intention'
270
265
  | 'inbound_check_deposit_return_intention'
271
- | 'inbound_international_ach_transfer'
272
266
  | 'inbound_real_time_payments_transfer_confirmation'
273
267
  | 'inbound_wire_drawdown_payment'
274
268
  | 'inbound_wire_reversal'
@@ -300,13 +294,6 @@ export namespace Transaction {
300
294
  */
301
295
  check_transfer_deposit: Source.CheckTransferDeposit | null;
302
296
 
303
- /**
304
- * A Check Transfer Stop Payment Request object. This field will be present in the
305
- * JSON response if and only if `category` is equal to
306
- * `check_transfer_stop_payment_request`.
307
- */
308
- check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
309
-
310
297
  /**
311
298
  * A Fee Payment object. This field will be present in the JSON response if and
312
299
  * only if `category` is equal to `fee_payment`.
@@ -319,13 +306,6 @@ export namespace Transaction {
319
306
  */
320
307
  inbound_ach_transfer: Source.InboundACHTransfer | null;
321
308
 
322
- /**
323
- * An Inbound International ACH Transfer object. This field will be present in the
324
- * JSON response if and only if `category` is equal to
325
- * `inbound_international_ach_transfer`.
326
- */
327
- inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
328
-
329
309
  /**
330
310
  * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
331
311
  * present in the JSON response if and only if `category` is equal to
@@ -2388,40 +2368,6 @@ export namespace Transaction {
2388
2368
  type: 'check_transfer_deposit';
2389
2369
  }
2390
2370
 
2391
- /**
2392
- * A Check Transfer Stop Payment Request object. This field will be present in the
2393
- * JSON response if and only if `category` is equal to
2394
- * `check_transfer_stop_payment_request`.
2395
- */
2396
- export interface CheckTransferStopPaymentRequest {
2397
- /**
2398
- * The reason why this transfer was stopped.
2399
- *
2400
- * - `mail_delivery_failed` - The check could not be delivered.
2401
- * - `rejected_by_increase` - The check was canceled by an Increase operator who
2402
- * will provide details out-of-band.
2403
- * - `not_authorized` - The check was not authorized.
2404
- * - `unknown` - The check was stopped for another reason.
2405
- */
2406
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
2407
-
2408
- /**
2409
- * The time the stop-payment was requested.
2410
- */
2411
- requested_at: string;
2412
-
2413
- /**
2414
- * The ID of the check transfer that was stopped.
2415
- */
2416
- transfer_id: string;
2417
-
2418
- /**
2419
- * A constant representing the object's type. For this resource it will always be
2420
- * `check_transfer_stop_payment_request`.
2421
- */
2422
- type: 'check_transfer_stop_payment_request';
2423
- }
2424
-
2425
2371
  /**
2426
2372
  * A Fee Payment object. This field will be present in the JSON response if and
2427
2373
  * only if `category` is equal to `fee_payment`.
@@ -2560,300 +2506,6 @@ export namespace Transaction {
2560
2506
  }
2561
2507
  }
2562
2508
 
2563
- /**
2564
- * An Inbound International ACH Transfer object. This field will be present in the
2565
- * JSON response if and only if `category` is equal to
2566
- * `inbound_international_ach_transfer`.
2567
- */
2568
- export interface InboundInternationalACHTransfer {
2569
- /**
2570
- * The amount in the minor unit of the destination account currency. For dollars,
2571
- * for example, this is cents.
2572
- */
2573
- amount: number;
2574
-
2575
- /**
2576
- * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
2577
- * country code of the destination country.
2578
- */
2579
- destination_country_code: string;
2580
-
2581
- /**
2582
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
2583
- * destination bank account.
2584
- */
2585
- destination_currency_code: string;
2586
-
2587
- /**
2588
- * A description of how the foreign exchange rate was calculated.
2589
- *
2590
- * - `fixed_to_variable` - The originator chose an amount in their own currency.
2591
- * The settled amount in USD was converted using the exchange rate.
2592
- * - `variable_to_fixed` - The originator chose an amount to settle in USD. The
2593
- * originator's amount was variable; known only after the foreign exchange
2594
- * conversion.
2595
- * - `fixed_to_fixed` - The amount was originated and settled as a fixed amount in
2596
- * USD. There is no foreign exchange conversion.
2597
- */
2598
- foreign_exchange_indicator: 'fixed_to_variable' | 'variable_to_fixed' | 'fixed_to_fixed';
2599
-
2600
- /**
2601
- * Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a
2602
- * reference to a well-known rate.
2603
- */
2604
- foreign_exchange_reference: string | null;
2605
-
2606
- /**
2607
- * An instruction of how to interpret the `foreign_exchange_reference` field for
2608
- * this Transaction.
2609
- *
2610
- * - `foreign_exchange_rate` - The ACH file contains a foreign exchange rate.
2611
- * - `foreign_exchange_reference_number` - The ACH file contains a reference to a
2612
- * well-known foreign exchange rate.
2613
- * - `blank` - There is no foreign exchange for this transfer, so the
2614
- * `foreign_exchange_reference` field is blank.
2615
- */
2616
- foreign_exchange_reference_indicator:
2617
- | 'foreign_exchange_rate'
2618
- | 'foreign_exchange_reference_number'
2619
- | 'blank';
2620
-
2621
- /**
2622
- * The amount in the minor unit of the foreign payment currency. For dollars, for
2623
- * example, this is cents.
2624
- */
2625
- foreign_payment_amount: number;
2626
-
2627
- /**
2628
- * A reference number in the foreign banking infrastructure.
2629
- */
2630
- foreign_trace_number: string | null;
2631
-
2632
- /**
2633
- * The type of transfer. Set by the originator.
2634
- *
2635
- * - `annuity` - Sent as `ANN` in the Nacha file.
2636
- * - `business_or_commercial` - Sent as `BUS` in the Nacha file.
2637
- * - `deposit` - Sent as `DEP` in the Nacha file.
2638
- * - `loan` - Sent as `LOA` in the Nacha file.
2639
- * - `miscellaneous` - Sent as `MIS` in the Nacha file.
2640
- * - `mortgage` - Sent as `MOR` in the Nacha file.
2641
- * - `pension` - Sent as `PEN` in the Nacha file.
2642
- * - `remittance` - Sent as `REM` in the Nacha file.
2643
- * - `rent_or_lease` - Sent as `RLS` in the Nacha file.
2644
- * - `salary_or_payroll` - Sent as `SAL` in the Nacha file.
2645
- * - `tax` - Sent as `TAX` in the Nacha file.
2646
- * - `accounts_receivable` - Sent as `ARC` in the Nacha file.
2647
- * - `back_office_conversion` - Sent as `BOC` in the Nacha file.
2648
- * - `machine_transfer` - Sent as `MTE` in the Nacha file.
2649
- * - `point_of_purchase` - Sent as `POP` in the Nacha file.
2650
- * - `point_of_sale` - Sent as `POS` in the Nacha file.
2651
- * - `represented_check` - Sent as `RCK` in the Nacha file.
2652
- * - `shared_network_transaction` - Sent as `SHR` in the Nacha file.
2653
- * - `telphone_initiated` - Sent as `TEL` in the Nacha file.
2654
- * - `internet_initiated` - Sent as `WEB` in the Nacha file.
2655
- */
2656
- international_transaction_type_code:
2657
- | 'annuity'
2658
- | 'business_or_commercial'
2659
- | 'deposit'
2660
- | 'loan'
2661
- | 'miscellaneous'
2662
- | 'mortgage'
2663
- | 'pension'
2664
- | 'remittance'
2665
- | 'rent_or_lease'
2666
- | 'salary_or_payroll'
2667
- | 'tax'
2668
- | 'accounts_receivable'
2669
- | 'back_office_conversion'
2670
- | 'machine_transfer'
2671
- | 'point_of_purchase'
2672
- | 'point_of_sale'
2673
- | 'represented_check'
2674
- | 'shared_network_transaction'
2675
- | 'telphone_initiated'
2676
- | 'internet_initiated';
2677
-
2678
- /**
2679
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
2680
- * originating bank account.
2681
- */
2682
- originating_currency_code: string;
2683
-
2684
- /**
2685
- * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
2686
- * country code of the originating branch country.
2687
- */
2688
- originating_depository_financial_institution_branch_country: string;
2689
-
2690
- /**
2691
- * An identifier for the originating bank. One of an International Bank Account
2692
- * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
2693
- * domestic identifier like a US Routing Number.
2694
- */
2695
- originating_depository_financial_institution_id: string;
2696
-
2697
- /**
2698
- * An instruction of how to interpret the
2699
- * `originating_depository_financial_institution_id` field for this Transaction.
2700
- *
2701
- * - `national_clearing_system_number` - A domestic clearing system number. In the
2702
- * US, for example, this is the American Banking Association (ABA) routing
2703
- * number.
2704
- * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
2705
- * - `iban` - An International Bank Account Number.
2706
- */
2707
- originating_depository_financial_institution_id_qualifier:
2708
- | 'national_clearing_system_number'
2709
- | 'bic_code'
2710
- | 'iban';
2711
-
2712
- /**
2713
- * The name of the originating bank. Sometimes this will refer to an American bank
2714
- * and obscure the correspondent foreign bank.
2715
- */
2716
- originating_depository_financial_institution_name: string;
2717
-
2718
- /**
2719
- * A portion of the originator address. This may be incomplete.
2720
- */
2721
- originator_city: string;
2722
-
2723
- /**
2724
- * A description field set by the originator.
2725
- */
2726
- originator_company_entry_description: string;
2727
-
2728
- /**
2729
- * A portion of the originator address. The
2730
- * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
2731
- * code of the originator country.
2732
- */
2733
- originator_country: string;
2734
-
2735
- /**
2736
- * An identifier for the originating company. This is generally stable across
2737
- * multiple ACH transfers.
2738
- */
2739
- originator_identification: string;
2740
-
2741
- /**
2742
- * Either the name of the originator or an intermediary money transmitter.
2743
- */
2744
- originator_name: string;
2745
-
2746
- /**
2747
- * A portion of the originator address. This may be incomplete.
2748
- */
2749
- originator_postal_code: string | null;
2750
-
2751
- /**
2752
- * A portion of the originator address. This may be incomplete.
2753
- */
2754
- originator_state_or_province: string | null;
2755
-
2756
- /**
2757
- * A portion of the originator address. This may be incomplete.
2758
- */
2759
- originator_street_address: string;
2760
-
2761
- /**
2762
- * A description field set by the originator.
2763
- */
2764
- payment_related_information: string | null;
2765
-
2766
- /**
2767
- * A description field set by the originator.
2768
- */
2769
- payment_related_information2: string | null;
2770
-
2771
- /**
2772
- * A portion of the receiver address. This may be incomplete.
2773
- */
2774
- receiver_city: string;
2775
-
2776
- /**
2777
- * A portion of the receiver address. The
2778
- * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
2779
- * code of the receiver country.
2780
- */
2781
- receiver_country: string;
2782
-
2783
- /**
2784
- * An identification number the originator uses for the receiver.
2785
- */
2786
- receiver_identification_number: string | null;
2787
-
2788
- /**
2789
- * A portion of the receiver address. This may be incomplete.
2790
- */
2791
- receiver_postal_code: string | null;
2792
-
2793
- /**
2794
- * A portion of the receiver address. This may be incomplete.
2795
- */
2796
- receiver_state_or_province: string | null;
2797
-
2798
- /**
2799
- * A portion of the receiver address. This may be incomplete.
2800
- */
2801
- receiver_street_address: string;
2802
-
2803
- /**
2804
- * The name of the receiver of the transfer. This is not verified by Increase.
2805
- */
2806
- receiving_company_or_individual_name: string;
2807
-
2808
- /**
2809
- * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
2810
- * country code of the receiving bank country.
2811
- */
2812
- receiving_depository_financial_institution_country: string;
2813
-
2814
- /**
2815
- * An identifier for the receiving bank. One of an International Bank Account
2816
- * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
2817
- * domestic identifier like a US Routing Number.
2818
- */
2819
- receiving_depository_financial_institution_id: string;
2820
-
2821
- /**
2822
- * An instruction of how to interpret the
2823
- * `receiving_depository_financial_institution_id` field for this Transaction.
2824
- *
2825
- * - `national_clearing_system_number` - A domestic clearing system number. In the
2826
- * US, for example, this is the American Banking Association (ABA) routing
2827
- * number.
2828
- * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
2829
- * - `iban` - An International Bank Account Number.
2830
- */
2831
- receiving_depository_financial_institution_id_qualifier:
2832
- | 'national_clearing_system_number'
2833
- | 'bic_code'
2834
- | 'iban';
2835
-
2836
- /**
2837
- * The name of the receiving bank, as set by the sending financial institution.
2838
- */
2839
- receiving_depository_financial_institution_name: string;
2840
-
2841
- /**
2842
- * A 15 digit number recorded in the Nacha file and available to both the
2843
- * originating and receiving bank. Along with the amount, date, and originating
2844
- * routing number, this can be used to identify the ACH transfer at either bank.
2845
- * ACH trace numbers are not unique, but are
2846
- * [used to correlate returns](https://increase.com/documentation/ach-returns#ach-returns).
2847
- */
2848
- trace_number: string;
2849
-
2850
- /**
2851
- * A constant representing the object's type. For this resource it will always be
2852
- * `inbound_international_ach_transfer`.
2853
- */
2854
- type: 'inbound_international_ach_transfer';
2855
- }
2856
-
2857
2509
  /**
2858
2510
  * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
2859
2511
  * present in the JSON response if and only if `category` is equal to
@@ -3090,6 +2742,11 @@ export namespace Transaction {
3090
2742
  */
3091
2743
  receiver_financial_institution_information: string | null;
3092
2744
 
2745
+ /**
2746
+ * The sending bank's reference number for the wire reversal.
2747
+ */
2748
+ sender_reference: string | null;
2749
+
3093
2750
  /**
3094
2751
  * The ID for the Transaction associated with the transfer reversal.
3095
2752
  */
@@ -3427,12 +3084,10 @@ export namespace TransactionListParams {
3427
3084
  | 'check_deposit_acceptance'
3428
3085
  | 'check_deposit_return'
3429
3086
  | 'check_transfer_deposit'
3430
- | 'check_transfer_stop_payment_request'
3431
3087
  | 'fee_payment'
3432
3088
  | 'inbound_ach_transfer'
3433
3089
  | 'inbound_ach_transfer_return_intention'
3434
3090
  | 'inbound_check_deposit_return_intention'
3435
- | 'inbound_international_ach_transfer'
3436
3091
  | 'inbound_real_time_payments_transfer_confirmation'
3437
3092
  | 'inbound_wire_drawdown_payment'
3438
3093
  | 'inbound_wire_reversal'
@@ -52,25 +52,6 @@ export class WireTransfers extends APIResource {
52
52
  cancel(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
53
53
  return this._client.post(`/wire_transfers/${wireTransferId}/cancel`, options);
54
54
  }
55
-
56
- /**
57
- * Simulates the reversal of a [Wire Transfer](#wire-transfers) by the Federal
58
- * Reserve due to error conditions. This will also create a
59
- * [Transaction](#transaction) to account for the returned funds. This Wire
60
- * Transfer must first have a `status` of `complete`.
61
- */
62
- reverse(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
63
- return this._client.post(`/simulations/wire_transfers/${wireTransferId}/reverse`, options);
64
- }
65
-
66
- /**
67
- * Simulates the submission of a [Wire Transfer](#wire-transfers) to the Federal
68
- * Reserve. This transfer must first have a `status` of `pending_approval` or
69
- * `pending_creating`.
70
- */
71
- submit(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
72
- return this._client.post(`/simulations/wire_transfers/${wireTransferId}/submit`, options);
73
- }
74
55
  }
75
56
 
76
57
  export class WireTransfersPage extends Page<WireTransfer> {}
@@ -436,6 +417,11 @@ export namespace WireTransfer {
436
417
  */
437
418
  receiver_financial_institution_information: string | null;
438
419
 
420
+ /**
421
+ * The sending bank's reference number for the wire reversal.
422
+ */
423
+ sender_reference: string | null;
424
+
439
425
  /**
440
426
  * The ID for the Transaction associated with the transfer reversal.
441
427
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.59.1'; // x-release-please-version
1
+ export const VERSION = '0.61.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.59.1";
1
+ export declare const VERSION = "0.61.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.59.1'; // x-release-please-version
4
+ exports.VERSION = '0.61.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.59.1'; // x-release-please-version
1
+ export const VERSION = '0.61.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map