increase 0.3.0 → 0.5.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 (1008) hide show
  1. package/CHANGELOG.md +87 -0
  2. package/README.md +22 -8
  3. package/_shims/agent.node.ts +20 -0
  4. package/_shims/agent.ts +12 -0
  5. package/_shims/fetch.node.ts +11 -0
  6. package/_shims/fetch.ts +32 -0
  7. package/_shims/fileFromPath.node.ts +30 -0
  8. package/_shims/fileFromPath.ts +30 -0
  9. package/_shims/formdata.node.ts +9 -0
  10. package/_shims/formdata.ts +22 -0
  11. package/_shims/getMultipartRequestOptions.node.ts +24 -0
  12. package/_shims/getMultipartRequestOptions.ts +13 -0
  13. package/_shims/newFileArgs.ts +94 -0
  14. package/_shims/toFile.node.ts +25 -0
  15. package/_shims/toFile.ts +26 -0
  16. package/_shims/uploadable.node.ts +21 -0
  17. package/_shims/uploadable.ts +82 -0
  18. package/core.ts +38 -227
  19. package/dist/cjs/_shims/agent.d.ts +9 -0
  20. package/dist/cjs/_shims/agent.d.ts.map +1 -0
  21. package/dist/cjs/_shims/agent.js +14 -0
  22. package/dist/cjs/_shims/agent.js.map +1 -0
  23. package/dist/cjs/_shims/agent.node.d.ts +6 -0
  24. package/dist/cjs/_shims/agent.node.d.ts.map +1 -0
  25. package/dist/cjs/_shims/agent.node.js +28 -0
  26. package/dist/cjs/_shims/agent.node.js.map +1 -0
  27. package/dist/cjs/_shims/fetch.d.ts +19 -0
  28. package/dist/cjs/_shims/fetch.d.ts.map +1 -0
  29. package/dist/cjs/_shims/fetch.js +24 -0
  30. package/dist/cjs/_shims/fetch.js.map +1 -0
  31. package/dist/cjs/_shims/fetch.node.d.ts +9 -0
  32. package/dist/cjs/_shims/fetch.node.d.ts.map +1 -0
  33. package/dist/cjs/_shims/fetch.node.js +68 -0
  34. package/dist/cjs/_shims/fetch.node.js.map +1 -0
  35. package/dist/cjs/_shims/fileFromPath.d.ts +23 -0
  36. package/dist/cjs/_shims/fileFromPath.d.ts.map +1 -0
  37. package/dist/cjs/{tests/api-resources/simulations/documents.test.js → _shims/fileFromPath.js} +16 -19
  38. package/dist/cjs/_shims/fileFromPath.js.map +1 -0
  39. package/dist/cjs/_shims/fileFromPath.node.d.ts +18 -0
  40. package/dist/cjs/_shims/fileFromPath.node.d.ts.map +1 -0
  41. package/dist/cjs/{tests/form.test.js → _shims/fileFromPath.node.js} +16 -27
  42. package/dist/cjs/_shims/fileFromPath.node.js.map +1 -0
  43. package/dist/cjs/_shims/formdata.d.ts +13 -0
  44. package/dist/cjs/_shims/formdata.d.ts.map +1 -0
  45. package/dist/cjs/_shims/formdata.js +20 -0
  46. package/dist/cjs/_shims/formdata.js.map +1 -0
  47. package/dist/cjs/_shims/formdata.node.d.ts +7 -0
  48. package/dist/cjs/_shims/formdata.node.d.ts.map +1 -0
  49. package/dist/cjs/_shims/formdata.node.js +27 -0
  50. package/dist/cjs/_shims/formdata.node.js.map +1 -0
  51. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +10 -0
  52. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  53. package/dist/cjs/{tests/api-resources/simulations/card-refunds.test.js → _shims/getMultipartRequestOptions.js} +11 -19
  54. package/dist/cjs/_shims/getMultipartRequestOptions.js.map +1 -0
  55. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +10 -0
  56. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  57. package/dist/cjs/{tests/api-resources/simulations/account-statements.test.js → _shims/getMultipartRequestOptions.node.js} +19 -19
  58. package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +1 -0
  59. package/dist/cjs/_shims/newFileArgs.d.ts +19 -0
  60. package/dist/cjs/_shims/newFileArgs.d.ts.map +1 -0
  61. package/dist/cjs/_shims/newFileArgs.js +169 -0
  62. package/dist/cjs/_shims/newFileArgs.js.map +1 -0
  63. package/dist/cjs/_shims/toFile.d.ts +21 -0
  64. package/dist/cjs/_shims/toFile.d.ts.map +1 -0
  65. package/dist/cjs/_shims/toFile.js +56 -0
  66. package/dist/cjs/_shims/toFile.js.map +1 -0
  67. package/dist/cjs/_shims/toFile.node.d.ts +20 -0
  68. package/dist/cjs/_shims/toFile.node.d.ts.map +1 -0
  69. package/dist/cjs/_shims/toFile.node.js +56 -0
  70. package/dist/cjs/_shims/toFile.node.js.map +1 -0
  71. package/dist/cjs/_shims/uploadable.d.ts +56 -0
  72. package/dist/cjs/_shims/uploadable.d.ts.map +1 -0
  73. package/dist/cjs/_shims/uploadable.js +37 -0
  74. package/dist/cjs/_shims/uploadable.js.map +1 -0
  75. package/dist/cjs/_shims/uploadable.node.d.ts +7 -0
  76. package/dist/cjs/_shims/uploadable.node.d.ts.map +1 -0
  77. package/dist/cjs/_shims/uploadable.node.js +23 -0
  78. package/dist/cjs/_shims/uploadable.node.js.map +1 -0
  79. package/dist/cjs/core.d.ts +9 -70
  80. package/dist/cjs/core.d.ts.map +1 -1
  81. package/dist/cjs/core.js +57 -253
  82. package/dist/cjs/core.js.map +1 -1
  83. package/dist/cjs/error.d.ts +72 -27
  84. package/dist/cjs/error.d.ts.map +1 -1
  85. package/dist/cjs/error.js +203 -81
  86. package/dist/cjs/error.js.map +1 -1
  87. package/dist/cjs/index.d.ts +68 -31
  88. package/dist/cjs/index.d.ts.map +1 -1
  89. package/dist/cjs/index.js +77 -80
  90. package/dist/cjs/index.js.map +1 -1
  91. package/dist/cjs/pagination.d.ts +3 -1
  92. package/dist/cjs/pagination.d.ts.map +1 -1
  93. package/dist/cjs/pagination.js.map +1 -1
  94. package/dist/cjs/resources/account-numbers.d.ts +13 -24
  95. package/dist/cjs/resources/account-numbers.d.ts.map +1 -1
  96. package/dist/cjs/resources/account-numbers.js +44 -0
  97. package/dist/cjs/resources/account-numbers.js.map +1 -1
  98. package/dist/cjs/resources/account-statements.d.ts +11 -24
  99. package/dist/cjs/resources/account-statements.d.ts.map +1 -1
  100. package/dist/cjs/resources/account-statements.js +44 -0
  101. package/dist/cjs/resources/account-statements.js.map +1 -1
  102. package/dist/cjs/resources/account-transfers.d.ts +12 -24
  103. package/dist/cjs/resources/account-transfers.d.ts.map +1 -1
  104. package/dist/cjs/resources/account-transfers.js +44 -0
  105. package/dist/cjs/resources/account-transfers.js.map +1 -1
  106. package/dist/cjs/resources/accounts.d.ts +29 -29
  107. package/dist/cjs/resources/accounts.d.ts.map +1 -1
  108. package/dist/cjs/resources/accounts.js +44 -0
  109. package/dist/cjs/resources/accounts.js.map +1 -1
  110. package/dist/cjs/resources/ach-prenotifications.d.ts +17 -29
  111. package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -1
  112. package/dist/cjs/resources/ach-prenotifications.js +44 -0
  113. package/dist/cjs/resources/ach-prenotifications.js.map +1 -1
  114. package/dist/cjs/resources/ach-transfers.d.ts +80 -41
  115. package/dist/cjs/resources/ach-transfers.d.ts.map +1 -1
  116. package/dist/cjs/resources/ach-transfers.js +44 -0
  117. package/dist/cjs/resources/ach-transfers.js.map +1 -1
  118. package/dist/cjs/resources/balance-lookups.d.ts +5 -0
  119. package/dist/cjs/resources/balance-lookups.d.ts.map +1 -1
  120. package/dist/cjs/resources/balance-lookups.js +1 -0
  121. package/dist/cjs/resources/balance-lookups.js.map +1 -1
  122. package/dist/cjs/resources/bookkeeping-accounts.d.ts +15 -8
  123. package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -1
  124. package/dist/cjs/resources/bookkeeping-accounts.js +44 -0
  125. package/dist/cjs/resources/bookkeeping-accounts.js.map +1 -1
  126. package/dist/cjs/resources/bookkeeping-entries.d.ts +10 -4
  127. package/dist/cjs/resources/bookkeeping-entries.d.ts.map +1 -1
  128. package/dist/cjs/resources/bookkeeping-entries.js +44 -0
  129. package/dist/cjs/resources/bookkeeping-entries.js.map +1 -1
  130. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +20 -27
  131. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  132. package/dist/cjs/resources/bookkeeping-entry-sets.js +3 -0
  133. package/dist/cjs/resources/bookkeeping-entry-sets.js.map +1 -1
  134. package/dist/cjs/resources/card-disputes.d.ts +13 -30
  135. package/dist/cjs/resources/card-disputes.d.ts.map +1 -1
  136. package/dist/cjs/resources/card-disputes.js +44 -0
  137. package/dist/cjs/resources/card-disputes.js.map +1 -1
  138. package/dist/cjs/resources/card-profiles.d.ts +12 -67
  139. package/dist/cjs/resources/card-profiles.d.ts.map +1 -1
  140. package/dist/cjs/resources/card-profiles.js +44 -0
  141. package/dist/cjs/resources/card-profiles.js.map +1 -1
  142. package/dist/cjs/resources/cards.d.ts +16 -122
  143. package/dist/cjs/resources/cards.d.ts.map +1 -1
  144. package/dist/cjs/resources/cards.js +44 -0
  145. package/dist/cjs/resources/cards.js.map +1 -1
  146. package/dist/cjs/resources/check-deposits.d.ts +14 -25
  147. package/dist/cjs/resources/check-deposits.d.ts.map +1 -1
  148. package/dist/cjs/resources/check-deposits.js +44 -0
  149. package/dist/cjs/resources/check-deposits.js.map +1 -1
  150. package/dist/cjs/resources/check-transfers.d.ts +92 -132
  151. package/dist/cjs/resources/check-transfers.d.ts.map +1 -1
  152. package/dist/cjs/resources/check-transfers.js +44 -0
  153. package/dist/cjs/resources/check-transfers.js.map +1 -1
  154. package/dist/cjs/resources/declined-transactions.d.ts +12 -52
  155. package/dist/cjs/resources/declined-transactions.d.ts.map +1 -1
  156. package/dist/cjs/resources/declined-transactions.js +44 -0
  157. package/dist/cjs/resources/declined-transactions.js.map +1 -1
  158. package/dist/cjs/resources/digital-wallet-tokens.d.ts +11 -24
  159. package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -1
  160. package/dist/cjs/resources/digital-wallet-tokens.js +44 -0
  161. package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -1
  162. package/dist/cjs/resources/documents.d.ts +14 -181
  163. package/dist/cjs/resources/documents.d.ts.map +1 -1
  164. package/dist/cjs/resources/documents.js +44 -0
  165. package/dist/cjs/resources/documents.js.map +1 -1
  166. package/dist/cjs/resources/entities/entities.d.ts +297 -1225
  167. package/dist/cjs/resources/entities/entities.d.ts.map +1 -1
  168. package/dist/cjs/resources/entities/entities.js +46 -0
  169. package/dist/cjs/resources/entities/entities.js.map +1 -1
  170. package/dist/cjs/resources/entities/index.d.ts +8 -2
  171. package/dist/cjs/resources/entities/index.d.ts.map +1 -1
  172. package/dist/cjs/resources/entities/index.js +24 -1
  173. package/dist/cjs/resources/entities/index.js.map +1 -1
  174. package/dist/cjs/resources/entities/supplemental-documents.d.ts +42 -0
  175. package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
  176. package/dist/cjs/resources/entities/supplemental-documents.js +58 -1
  177. package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
  178. package/dist/cjs/resources/event-subscriptions.d.ts +16 -8
  179. package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -1
  180. package/dist/cjs/resources/event-subscriptions.js +44 -0
  181. package/dist/cjs/resources/event-subscriptions.js.map +1 -1
  182. package/dist/cjs/resources/events.d.ts +34 -103
  183. package/dist/cjs/resources/events.d.ts.map +1 -1
  184. package/dist/cjs/resources/events.js +44 -0
  185. package/dist/cjs/resources/events.js.map +1 -1
  186. package/dist/cjs/resources/exports.d.ts +15 -90
  187. package/dist/cjs/resources/exports.d.ts.map +1 -1
  188. package/dist/cjs/resources/exports.js +44 -0
  189. package/dist/cjs/resources/exports.js.map +1 -1
  190. package/dist/cjs/resources/external-accounts.d.ts +17 -14
  191. package/dist/cjs/resources/external-accounts.d.ts.map +1 -1
  192. package/dist/cjs/resources/external-accounts.js +44 -0
  193. package/dist/cjs/resources/external-accounts.js.map +1 -1
  194. package/dist/cjs/resources/files.d.ts +25 -49
  195. package/dist/cjs/resources/files.d.ts.map +1 -1
  196. package/dist/cjs/resources/files.js +82 -2
  197. package/dist/cjs/resources/files.js.map +1 -1
  198. package/dist/cjs/resources/groups.d.ts +8 -4
  199. package/dist/cjs/resources/groups.d.ts.map +1 -1
  200. package/dist/cjs/resources/groups.js +1 -0
  201. package/dist/cjs/resources/groups.js.map +1 -1
  202. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +7 -0
  203. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
  204. package/dist/cjs/resources/inbound-ach-transfer-returns.js +46 -0
  205. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -1
  206. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +10 -4
  207. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  208. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +47 -0
  209. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -1
  210. package/dist/cjs/resources/limits.d.ts +12 -4
  211. package/dist/cjs/resources/limits.d.ts.map +1 -1
  212. package/dist/cjs/resources/limits.js +44 -0
  213. package/dist/cjs/resources/limits.js.map +1 -1
  214. package/dist/cjs/resources/oauth-connections.d.ts +10 -4
  215. package/dist/cjs/resources/oauth-connections.d.ts.map +1 -1
  216. package/dist/cjs/resources/oauth-connections.js +44 -0
  217. package/dist/cjs/resources/oauth-connections.js.map +1 -1
  218. package/dist/cjs/resources/pending-transactions.d.ts +25 -94
  219. package/dist/cjs/resources/pending-transactions.d.ts.map +1 -1
  220. package/dist/cjs/resources/pending-transactions.js +44 -0
  221. package/dist/cjs/resources/pending-transactions.js.map +1 -1
  222. package/dist/cjs/resources/programs.d.ts +10 -4
  223. package/dist/cjs/resources/programs.d.ts.map +1 -1
  224. package/dist/cjs/resources/programs.js +44 -0
  225. package/dist/cjs/resources/programs.js.map +1 -1
  226. package/dist/cjs/resources/real-time-decisions.d.ts +33 -97
  227. package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -1
  228. package/dist/cjs/resources/real-time-decisions.js +3 -0
  229. package/dist/cjs/resources/real-time-decisions.js.map +1 -1
  230. package/dist/cjs/resources/real-time-payments-transfers.d.ts +35 -47
  231. package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -1
  232. package/dist/cjs/resources/real-time-payments-transfers.js +46 -0
  233. package/dist/cjs/resources/real-time-payments-transfers.js.map +1 -1
  234. package/dist/cjs/resources/routing-numbers.d.ts +6 -0
  235. package/dist/cjs/resources/routing-numbers.d.ts.map +1 -1
  236. package/dist/cjs/resources/routing-numbers.js +44 -0
  237. package/dist/cjs/resources/routing-numbers.js.map +1 -1
  238. package/dist/cjs/resources/simulations/account-statements.d.ts +4 -0
  239. package/dist/cjs/resources/simulations/account-statements.d.ts.map +1 -1
  240. package/dist/cjs/resources/simulations/account-statements.js +3 -0
  241. package/dist/cjs/resources/simulations/account-statements.js.map +1 -1
  242. package/dist/cjs/resources/simulations/ach-transfers.d.ts +1264 -1335
  243. package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -1
  244. package/dist/cjs/resources/simulations/ach-transfers.js +1 -0
  245. package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -1
  246. package/dist/cjs/resources/simulations/card-disputes.d.ts +8 -4
  247. package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -1
  248. package/dist/cjs/resources/simulations/card-disputes.js +1 -0
  249. package/dist/cjs/resources/simulations/card-disputes.js.map +1 -1
  250. package/dist/cjs/resources/simulations/card-refunds.d.ts +4 -0
  251. package/dist/cjs/resources/simulations/card-refunds.d.ts.map +1 -1
  252. package/dist/cjs/resources/simulations/card-refunds.js +1 -0
  253. package/dist/cjs/resources/simulations/card-refunds.js.map +1 -1
  254. package/dist/cjs/resources/simulations/cards.d.ts +449 -520
  255. package/dist/cjs/resources/simulations/cards.d.ts.map +1 -1
  256. package/dist/cjs/resources/simulations/cards.js +1 -0
  257. package/dist/cjs/resources/simulations/cards.js.map +1 -1
  258. package/dist/cjs/resources/simulations/check-transfers.d.ts +4 -0
  259. package/dist/cjs/resources/simulations/check-transfers.d.ts.map +1 -1
  260. package/dist/cjs/resources/simulations/check-transfers.js +1 -0
  261. package/dist/cjs/resources/simulations/check-transfers.js.map +1 -1
  262. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +5 -0
  263. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  264. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +4 -0
  265. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  266. package/dist/cjs/resources/simulations/documents.d.ts +4 -0
  267. package/dist/cjs/resources/simulations/documents.d.ts.map +1 -1
  268. package/dist/cjs/resources/simulations/documents.js +1 -0
  269. package/dist/cjs/resources/simulations/documents.js.map +1 -1
  270. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +29 -25
  271. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  272. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +4 -0
  273. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  274. package/dist/cjs/resources/simulations/index.d.ts +23 -9
  275. package/dist/cjs/resources/simulations/index.d.ts.map +1 -1
  276. package/dist/cjs/resources/simulations/index.js +129 -0
  277. package/dist/cjs/resources/simulations/index.js.map +1 -1
  278. package/dist/cjs/resources/simulations/interest-payments.d.ts +173 -265
  279. package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -1
  280. package/dist/cjs/resources/simulations/interest-payments.js +3 -0
  281. package/dist/cjs/resources/simulations/interest-payments.js.map +1 -1
  282. package/dist/cjs/resources/simulations/programs.d.ts +25 -0
  283. package/dist/cjs/resources/simulations/programs.d.ts.map +1 -0
  284. package/dist/cjs/resources/simulations/programs.js +18 -0
  285. package/dist/cjs/resources/simulations/programs.js.map +1 -0
  286. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1225 -1373
  287. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  288. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +3 -0
  289. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -1
  290. package/dist/cjs/resources/simulations/simulations.d.ts +42 -0
  291. package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
  292. package/dist/cjs/resources/simulations/simulations.js +60 -0
  293. package/dist/cjs/resources/simulations/simulations.js.map +1 -1
  294. package/dist/cjs/resources/simulations/wire-transfers.d.ts +173 -265
  295. package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -1
  296. package/dist/cjs/resources/simulations/wire-transfers.js +1 -0
  297. package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -1
  298. package/dist/cjs/resources/transactions.d.ts +202 -365
  299. package/dist/cjs/resources/transactions.d.ts.map +1 -1
  300. package/dist/cjs/resources/transactions.js +44 -0
  301. package/dist/cjs/resources/transactions.js.map +1 -1
  302. package/dist/cjs/resources/wire-drawdown-requests.d.ts +19 -12
  303. package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -1
  304. package/dist/cjs/resources/wire-drawdown-requests.js +44 -0
  305. package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -1
  306. package/dist/cjs/resources/wire-transfers.d.ts +24 -36
  307. package/dist/cjs/resources/wire-transfers.d.ts.map +1 -1
  308. package/dist/cjs/resources/wire-transfers.js +44 -0
  309. package/dist/cjs/resources/wire-transfers.js.map +1 -1
  310. package/dist/cjs/streaming.d.ts +12 -0
  311. package/dist/cjs/streaming.d.ts.map +1 -0
  312. package/dist/cjs/streaming.js +284 -0
  313. package/dist/cjs/streaming.js.map +1 -0
  314. package/dist/cjs/uploads.d.ts +24 -0
  315. package/dist/cjs/uploads.d.ts.map +1 -0
  316. package/dist/cjs/uploads.js +121 -0
  317. package/dist/cjs/uploads.js.map +1 -0
  318. package/dist/cjs/version.d.ts +1 -1
  319. package/dist/cjs/version.js +1 -1
  320. package/dist/esm/_shims/agent.d.ts +9 -0
  321. package/dist/esm/_shims/agent.d.ts.map +1 -0
  322. package/dist/esm/_shims/agent.js +10 -0
  323. package/dist/esm/_shims/agent.js.map +1 -0
  324. package/dist/esm/_shims/agent.node.d.ts +6 -0
  325. package/dist/esm/_shims/agent.node.d.ts.map +1 -0
  326. package/dist/esm/_shims/agent.node.js +16 -0
  327. package/dist/esm/_shims/agent.node.js.map +1 -0
  328. package/dist/esm/_shims/fetch.d.ts +19 -0
  329. package/dist/esm/_shims/fetch.d.ts.map +1 -0
  330. package/dist/esm/_shims/fetch.js +18 -0
  331. package/dist/esm/_shims/fetch.js.map +1 -0
  332. package/dist/esm/_shims/fetch.node.d.ts +9 -0
  333. package/dist/esm/_shims/fetch.node.d.ts.map +1 -0
  334. package/dist/esm/_shims/fetch.node.js +7 -0
  335. package/dist/esm/_shims/fetch.node.js.map +1 -0
  336. package/dist/esm/_shims/fileFromPath.d.ts +23 -0
  337. package/dist/esm/_shims/fileFromPath.d.ts.map +1 -0
  338. package/dist/esm/_shims/fileFromPath.js +12 -0
  339. package/dist/esm/_shims/fileFromPath.js.map +1 -0
  340. package/dist/esm/_shims/fileFromPath.node.d.ts +18 -0
  341. package/dist/esm/_shims/fileFromPath.node.d.ts.map +1 -0
  342. package/dist/esm/_shims/fileFromPath.node.js +13 -0
  343. package/dist/esm/_shims/fileFromPath.node.js.map +1 -0
  344. package/dist/esm/_shims/formdata.d.ts +13 -0
  345. package/dist/esm/_shims/formdata.d.ts.map +1 -0
  346. package/dist/esm/_shims/formdata.js +15 -0
  347. package/dist/esm/_shims/formdata.js.map +1 -0
  348. package/dist/esm/_shims/formdata.node.d.ts +7 -0
  349. package/dist/esm/_shims/formdata.node.d.ts.map +1 -0
  350. package/dist/esm/_shims/formdata.node.js +7 -0
  351. package/dist/esm/_shims/formdata.node.js.map +1 -0
  352. package/dist/esm/_shims/getMultipartRequestOptions.d.ts +10 -0
  353. package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  354. package/dist/esm/_shims/getMultipartRequestOptions.js +7 -0
  355. package/dist/esm/_shims/getMultipartRequestOptions.js.map +1 -0
  356. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts +10 -0
  357. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  358. package/dist/esm/_shims/getMultipartRequestOptions.node.js +17 -0
  359. package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +1 -0
  360. package/dist/esm/_shims/newFileArgs.d.ts +19 -0
  361. package/dist/esm/_shims/newFileArgs.d.ts.map +1 -0
  362. package/dist/esm/_shims/newFileArgs.js +66 -0
  363. package/dist/esm/_shims/newFileArgs.js.map +1 -0
  364. package/dist/esm/_shims/toFile.d.ts +21 -0
  365. package/dist/esm/_shims/toFile.d.ts.map +1 -0
  366. package/dist/esm/_shims/toFile.js +19 -0
  367. package/dist/esm/_shims/toFile.js.map +1 -0
  368. package/dist/esm/_shims/toFile.node.d.ts +20 -0
  369. package/dist/esm/_shims/toFile.node.d.ts.map +1 -0
  370. package/dist/esm/_shims/toFile.node.js +19 -0
  371. package/dist/esm/_shims/toFile.node.js.map +1 -0
  372. package/dist/esm/_shims/uploadable.d.ts +56 -0
  373. package/dist/esm/_shims/uploadable.d.ts.map +1 -0
  374. package/dist/esm/_shims/uploadable.js +30 -0
  375. package/dist/esm/_shims/uploadable.js.map +1 -0
  376. package/dist/esm/_shims/uploadable.node.d.ts +7 -0
  377. package/dist/esm/_shims/uploadable.node.d.ts.map +1 -0
  378. package/dist/esm/_shims/uploadable.node.js +10 -0
  379. package/dist/esm/_shims/uploadable.node.js.map +1 -0
  380. package/dist/esm/check-version.d.ts +2 -0
  381. package/dist/esm/check-version.d.ts.map +1 -0
  382. package/dist/esm/check-version.js +16 -0
  383. package/dist/esm/check-version.js.map +1 -0
  384. package/dist/esm/core.d.ts +221 -0
  385. package/dist/esm/core.d.ts.map +1 -0
  386. package/dist/esm/core.js +556 -0
  387. package/dist/esm/core.js.map +1 -0
  388. package/dist/esm/error.d.ts +208 -0
  389. package/dist/esm/error.d.ts.map +1 -0
  390. package/dist/esm/error.js +275 -0
  391. package/dist/esm/error.js.map +1 -0
  392. package/dist/esm/index.d.ts +301 -0
  393. package/dist/esm/index.d.ts.map +1 -0
  394. package/dist/esm/index.js +213 -0
  395. package/dist/esm/index.js.map +1 -0
  396. package/dist/esm/package.json +3 -0
  397. package/dist/esm/pagination.d.ts +34 -0
  398. package/dist/esm/pagination.d.ts.map +1 -0
  399. package/dist/esm/pagination.js +26 -0
  400. package/dist/esm/pagination.js.map +1 -0
  401. package/dist/esm/resource.d.ts +12 -0
  402. package/dist/esm/resource.d.ts.map +1 -0
  403. package/dist/esm/resource.js +13 -0
  404. package/dist/esm/resource.js.map +1 -0
  405. package/dist/esm/resources/account-numbers.d.ts +137 -0
  406. package/dist/esm/resources/account-numbers.d.ts.map +1 -0
  407. package/dist/esm/resources/account-numbers.js +36 -0
  408. package/dist/esm/resources/account-numbers.js.map +1 -0
  409. package/dist/esm/resources/account-statements.d.ts +106 -0
  410. package/dist/esm/resources/account-statements.d.ts.map +1 -0
  411. package/dist/esm/resources/account-statements.js +24 -0
  412. package/dist/esm/resources/account-statements.js.map +1 -0
  413. package/dist/esm/resources/account-transfers.d.ts +205 -0
  414. package/dist/esm/resources/account-transfers.d.ts.map +1 -0
  415. package/dist/esm/resources/account-transfers.js +42 -0
  416. package/dist/esm/resources/account-transfers.js.map +1 -0
  417. package/dist/esm/resources/accounts.d.ts +163 -0
  418. package/dist/esm/resources/accounts.d.ts.map +1 -0
  419. package/dist/esm/resources/accounts.js +42 -0
  420. package/dist/esm/resources/accounts.js.map +1 -0
  421. package/dist/esm/resources/ach-prenotifications.d.ts +199 -0
  422. package/dist/esm/resources/ach-prenotifications.d.ts.map +1 -0
  423. package/dist/esm/resources/ach-prenotifications.js +30 -0
  424. package/dist/esm/resources/ach-prenotifications.js.map +1 -0
  425. package/dist/esm/resources/ach-transfers.d.ts +461 -0
  426. package/dist/esm/resources/ach-transfers.d.ts.map +1 -0
  427. package/dist/esm/resources/ach-transfers.js +42 -0
  428. package/dist/esm/resources/ach-transfers.js.map +1 -0
  429. package/dist/esm/resources/balance-lookups.d.ts +52 -0
  430. package/dist/esm/resources/balance-lookups.d.ts.map +1 -0
  431. package/dist/esm/resources/balance-lookups.js +12 -0
  432. package/dist/esm/resources/balance-lookups.js.map +1 -0
  433. package/dist/esm/resources/bookkeeping-accounts.d.ts +78 -0
  434. package/dist/esm/resources/bookkeeping-accounts.d.ts.map +1 -0
  435. package/dist/esm/resources/bookkeeping-accounts.js +24 -0
  436. package/dist/esm/resources/bookkeeping-accounts.js.map +1 -0
  437. package/dist/esm/resources/bookkeeping-entries.d.ts +49 -0
  438. package/dist/esm/resources/bookkeeping-entries.d.ts.map +1 -0
  439. package/dist/esm/resources/bookkeeping-entries.js +18 -0
  440. package/dist/esm/resources/bookkeeping-entries.js.map +1 -0
  441. package/dist/esm/resources/bookkeeping-entry-sets.d.ts +88 -0
  442. package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +1 -0
  443. package/dist/esm/resources/bookkeeping-entry-sets.js +12 -0
  444. package/dist/esm/resources/bookkeeping-entry-sets.js.map +1 -0
  445. package/dist/esm/resources/card-disputes.d.ts +160 -0
  446. package/dist/esm/resources/card-disputes.d.ts.map +1 -0
  447. package/dist/esm/resources/card-disputes.js +30 -0
  448. package/dist/esm/resources/card-disputes.js.map +1 -0
  449. package/dist/esm/resources/card-profiles.d.ts +206 -0
  450. package/dist/esm/resources/card-profiles.d.ts.map +1 -0
  451. package/dist/esm/resources/card-profiles.js +30 -0
  452. package/dist/esm/resources/card-profiles.js.map +1 -0
  453. package/dist/esm/resources/cards.d.ts +354 -0
  454. package/dist/esm/resources/cards.d.ts.map +1 -0
  455. package/dist/esm/resources/cards.js +42 -0
  456. package/dist/esm/resources/cards.js.map +1 -0
  457. package/dist/esm/resources/check-deposits.d.ts +263 -0
  458. package/dist/esm/resources/check-deposits.d.ts.map +1 -0
  459. package/dist/esm/resources/check-deposits.js +30 -0
  460. package/dist/esm/resources/check-deposits.js.map +1 -0
  461. package/dist/esm/resources/check-transfers.d.ts +438 -0
  462. package/dist/esm/resources/check-transfers.d.ts.map +1 -0
  463. package/dist/esm/resources/check-transfers.js +48 -0
  464. package/dist/esm/resources/check-transfers.js.map +1 -0
  465. package/dist/esm/resources/declined-transactions.d.ts +492 -0
  466. package/dist/esm/resources/declined-transactions.d.ts.map +1 -0
  467. package/dist/esm/resources/declined-transactions.js +24 -0
  468. package/dist/esm/resources/declined-transactions.js.map +1 -0
  469. package/dist/esm/resources/digital-wallet-tokens.d.ts +92 -0
  470. package/dist/esm/resources/digital-wallet-tokens.d.ts.map +1 -0
  471. package/dist/esm/resources/digital-wallet-tokens.js +24 -0
  472. package/dist/esm/resources/digital-wallet-tokens.js.map +1 -0
  473. package/dist/esm/resources/documents.d.ts +95 -0
  474. package/dist/esm/resources/documents.d.ts.map +1 -0
  475. package/dist/esm/resources/documents.js +24 -0
  476. package/dist/esm/resources/documents.js.map +1 -0
  477. package/dist/esm/resources/entities/entities.d.ts +1622 -0
  478. package/dist/esm/resources/entities/entities.d.ts.map +1 -0
  479. package/dist/esm/resources/entities/entities.js +37 -0
  480. package/dist/esm/resources/entities/entities.js.map +1 -0
  481. package/dist/esm/resources/entities/index.d.ts +9 -0
  482. package/dist/esm/resources/entities/index.d.ts.map +1 -0
  483. package/dist/esm/resources/entities/index.js +4 -0
  484. package/dist/esm/resources/entities/index.js.map +1 -0
  485. package/dist/esm/resources/entities/supplemental-documents.d.ts +62 -0
  486. package/dist/esm/resources/entities/supplemental-documents.d.ts.map +1 -0
  487. package/dist/esm/resources/entities/supplemental-documents.js +26 -0
  488. package/dist/esm/resources/entities/supplemental-documents.js.map +1 -0
  489. package/dist/esm/resources/event-subscriptions.d.ts +209 -0
  490. package/dist/esm/resources/event-subscriptions.d.ts.map +1 -0
  491. package/dist/esm/resources/event-subscriptions.js +36 -0
  492. package/dist/esm/resources/event-subscriptions.js.map +1 -0
  493. package/dist/esm/resources/events.d.ts +195 -0
  494. package/dist/esm/resources/events.d.ts.map +1 -0
  495. package/dist/esm/resources/events.js +24 -0
  496. package/dist/esm/resources/events.js.map +1 -0
  497. package/dist/esm/resources/exports.d.ts +169 -0
  498. package/dist/esm/resources/exports.d.ts.map +1 -0
  499. package/dist/esm/resources/exports.js +30 -0
  500. package/dist/esm/resources/exports.js.map +1 -0
  501. package/dist/esm/resources/external-accounts.d.ts +131 -0
  502. package/dist/esm/resources/external-accounts.d.ts.map +1 -0
  503. package/dist/esm/resources/external-accounts.js +36 -0
  504. package/dist/esm/resources/external-accounts.js.map +1 -0
  505. package/dist/esm/resources/files.d.ts +167 -0
  506. package/dist/esm/resources/files.d.ts.map +1 -0
  507. package/dist/esm/resources/files.js +33 -0
  508. package/dist/esm/resources/files.js.map +1 -0
  509. package/dist/esm/resources/groups.d.ts +42 -0
  510. package/dist/esm/resources/groups.d.ts.map +1 -0
  511. package/dist/esm/resources/groups.js +12 -0
  512. package/dist/esm/resources/groups.js.map +1 -0
  513. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +117 -0
  514. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
  515. package/dist/esm/resources/inbound-ach-transfer-returns.js +33 -0
  516. package/dist/esm/resources/inbound-ach-transfer-returns.js.map +1 -0
  517. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +131 -0
  518. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
  519. package/dist/esm/resources/inbound-wire-drawdown-requests.js +27 -0
  520. package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +1 -0
  521. package/dist/esm/resources/index.d.ts +199 -0
  522. package/dist/esm/resources/index.d.ts.map +1 -0
  523. package/dist/esm/resources/index.js +44 -0
  524. package/dist/esm/resources/index.js.map +1 -0
  525. package/dist/esm/resources/limits.d.ts +114 -0
  526. package/dist/esm/resources/limits.d.ts.map +1 -0
  527. package/dist/esm/resources/limits.js +36 -0
  528. package/dist/esm/resources/limits.js.map +1 -0
  529. package/dist/esm/resources/oauth-connections.d.ts +57 -0
  530. package/dist/esm/resources/oauth-connections.d.ts.map +1 -0
  531. package/dist/esm/resources/oauth-connections.js +24 -0
  532. package/dist/esm/resources/oauth-connections.js.map +1 -0
  533. package/dist/esm/resources/pending-transactions.d.ts +482 -0
  534. package/dist/esm/resources/pending-transactions.d.ts.map +1 -0
  535. package/dist/esm/resources/pending-transactions.js +24 -0
  536. package/dist/esm/resources/pending-transactions.js.map +1 -0
  537. package/dist/esm/resources/programs.d.ts +54 -0
  538. package/dist/esm/resources/programs.d.ts.map +1 -0
  539. package/dist/esm/resources/programs.js +24 -0
  540. package/dist/esm/resources/programs.js.map +1 -0
  541. package/dist/esm/resources/real-time-decisions.d.ts +330 -0
  542. package/dist/esm/resources/real-time-decisions.d.ts.map +1 -0
  543. package/dist/esm/resources/real-time-decisions.js +18 -0
  544. package/dist/esm/resources/real-time-decisions.js.map +1 -0
  545. package/dist/esm/resources/real-time-payments-transfers.d.ts +294 -0
  546. package/dist/esm/resources/real-time-payments-transfers.d.ts.map +1 -0
  547. package/dist/esm/resources/real-time-payments-transfers.js +33 -0
  548. package/dist/esm/resources/real-time-payments-transfers.js.map +1 -0
  549. package/dist/esm/resources/routing-numbers.d.ts +56 -0
  550. package/dist/esm/resources/routing-numbers.d.ts.map +1 -0
  551. package/dist/esm/resources/routing-numbers.js +20 -0
  552. package/dist/esm/resources/routing-numbers.js.map +1 -0
  553. package/dist/esm/resources/shared.d.ts +16 -0
  554. package/dist/esm/resources/shared.d.ts.map +1 -0
  555. package/dist/esm/resources/shared.js +3 -0
  556. package/dist/esm/resources/shared.js.map +1 -0
  557. package/dist/esm/resources/simulations/account-statements.d.ts +24 -0
  558. package/dist/esm/resources/simulations/account-statements.d.ts.map +1 -0
  559. package/dist/esm/resources/simulations/account-statements.js +13 -0
  560. package/dist/esm/resources/simulations/account-statements.js.map +1 -0
  561. package/dist/esm/resources/simulations/account-transfers.d.ts +16 -0
  562. package/dist/esm/resources/simulations/account-transfers.d.ts.map +1 -0
  563. package/dist/esm/resources/simulations/account-transfers.js +14 -0
  564. package/dist/esm/resources/simulations/account-transfers.js.map +1 -0
  565. package/dist/esm/resources/simulations/ach-transfers.d.ts +1836 -0
  566. package/dist/esm/resources/simulations/ach-transfers.d.ts.map +1 -0
  567. package/dist/esm/resources/simulations/ach-transfers.js +36 -0
  568. package/dist/esm/resources/simulations/ach-transfers.js.map +1 -0
  569. package/dist/esm/resources/simulations/card-disputes.d.ts +31 -0
  570. package/dist/esm/resources/simulations/card-disputes.d.ts.map +1 -0
  571. package/dist/esm/resources/simulations/card-disputes.js +15 -0
  572. package/dist/esm/resources/simulations/card-disputes.js.map +1 -0
  573. package/dist/esm/resources/simulations/card-refunds.d.ts +25 -0
  574. package/dist/esm/resources/simulations/card-refunds.d.ts.map +1 -0
  575. package/dist/esm/resources/simulations/card-refunds.js +13 -0
  576. package/dist/esm/resources/simulations/card-refunds.js.map +1 -0
  577. package/dist/esm/resources/simulations/cards.d.ts +931 -0
  578. package/dist/esm/resources/simulations/cards.d.ts.map +1 -0
  579. package/dist/esm/resources/simulations/cards.js +28 -0
  580. package/dist/esm/resources/simulations/cards.js.map +1 -0
  581. package/dist/esm/resources/simulations/check-deposits.d.ts +31 -0
  582. package/dist/esm/resources/simulations/check-deposits.d.ts.map +1 -0
  583. package/dist/esm/resources/simulations/check-deposits.js +27 -0
  584. package/dist/esm/resources/simulations/check-deposits.js.map +1 -0
  585. package/dist/esm/resources/simulations/check-transfers.d.ts +42 -0
  586. package/dist/esm/resources/simulations/check-transfers.d.ts.map +1 -0
  587. package/dist/esm/resources/simulations/check-transfers.js +28 -0
  588. package/dist/esm/resources/simulations/check-transfers.js.map +1 -0
  589. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +49 -0
  590. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
  591. package/dist/esm/resources/simulations/digital-wallet-token-requests.js +13 -0
  592. package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  593. package/dist/esm/resources/simulations/documents.d.ts +23 -0
  594. package/dist/esm/resources/simulations/documents.d.ts.map +1 -0
  595. package/dist/esm/resources/simulations/documents.js +12 -0
  596. package/dist/esm/resources/simulations/documents.js.map +1 -0
  597. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
  598. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
  599. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +15 -0
  600. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  601. package/dist/esm/resources/simulations/index.d.ts +38 -0
  602. package/dist/esm/resources/simulations/index.d.ts.map +1 -0
  603. package/dist/esm/resources/simulations/index.js +18 -0
  604. package/dist/esm/resources/simulations/index.js.map +1 -0
  605. package/dist/esm/resources/simulations/interest-payments.d.ts +1272 -0
  606. package/dist/esm/resources/simulations/interest-payments.d.ts.map +1 -0
  607. package/dist/esm/resources/simulations/interest-payments.js +13 -0
  608. package/dist/esm/resources/simulations/interest-payments.js.map +1 -0
  609. package/dist/esm/resources/simulations/programs.d.ts +25 -0
  610. package/dist/esm/resources/simulations/programs.d.ts.map +1 -0
  611. package/dist/esm/resources/simulations/programs.js +14 -0
  612. package/dist/esm/resources/simulations/programs.js.map +1 -0
  613. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +1782 -0
  614. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
  615. package/dist/esm/resources/simulations/real-time-payments-transfers.js +24 -0
  616. package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +1 -0
  617. package/dist/esm/resources/simulations/simulations.d.ts +74 -0
  618. package/dist/esm/resources/simulations/simulations.d.ts.map +1 -0
  619. package/dist/esm/resources/simulations/simulations.js +56 -0
  620. package/dist/esm/resources/simulations/simulations.js.map +1 -0
  621. package/dist/esm/resources/simulations/wire-transfers.d.ts +1338 -0
  622. package/dist/esm/resources/simulations/wire-transfers.d.ts.map +1 -0
  623. package/dist/esm/resources/simulations/wire-transfers.js +12 -0
  624. package/dist/esm/resources/simulations/wire-transfers.js.map +1 -0
  625. package/dist/esm/resources/transactions.d.ts +1326 -0
  626. package/dist/esm/resources/transactions.d.ts.map +1 -0
  627. package/dist/esm/resources/transactions.js +24 -0
  628. package/dist/esm/resources/transactions.js.map +1 -0
  629. package/dist/esm/resources/wire-drawdown-requests.d.ts +160 -0
  630. package/dist/esm/resources/wire-drawdown-requests.d.ts.map +1 -0
  631. package/dist/esm/resources/wire-drawdown-requests.js +30 -0
  632. package/dist/esm/resources/wire-drawdown-requests.js.map +1 -0
  633. package/dist/esm/resources/wire-transfers.d.ts +352 -0
  634. package/dist/esm/resources/wire-transfers.d.ts.map +1 -0
  635. package/dist/esm/resources/wire-transfers.js +59 -0
  636. package/dist/esm/resources/wire-transfers.js.map +1 -0
  637. package/dist/esm/streaming.d.ts +12 -0
  638. package/dist/esm/streaming.d.ts.map +1 -0
  639. package/dist/esm/streaming.js +150 -0
  640. package/dist/esm/streaming.js.map +1 -0
  641. package/dist/esm/uploads.d.ts +24 -0
  642. package/dist/esm/uploads.d.ts.map +1 -0
  643. package/dist/esm/uploads.js +61 -0
  644. package/dist/esm/uploads.js.map +1 -0
  645. package/dist/esm/version.d.ts +2 -0
  646. package/dist/esm/version.d.ts.map +1 -0
  647. package/dist/esm/version.js +2 -0
  648. package/dist/esm/version.js.map +1 -0
  649. package/error.ts +222 -54
  650. package/index.ts +71 -100
  651. package/package.json +85 -5
  652. package/pagination.ts +4 -1
  653. package/resources/account-numbers.ts +15 -28
  654. package/resources/account-statements.ts +13 -28
  655. package/resources/account-transfers.ts +14 -28
  656. package/resources/accounts.ts +33 -33
  657. package/resources/ach-prenotifications.ts +20 -34
  658. package/resources/ach-transfers.ts +85 -47
  659. package/resources/balance-lookups.ts +6 -0
  660. package/resources/bookkeeping-accounts.ts +18 -10
  661. package/resources/bookkeeping-entries.ts +12 -5
  662. package/resources/bookkeeping-entry-sets.ts +23 -31
  663. package/resources/card-disputes.ts +15 -34
  664. package/resources/card-profiles.ts +14 -79
  665. package/resources/cards.ts +18 -142
  666. package/resources/check-deposits.ts +16 -29
  667. package/resources/check-transfers.ts +101 -149
  668. package/resources/declined-transactions.ts +14 -65
  669. package/resources/digital-wallet-tokens.ts +13 -28
  670. package/resources/documents.ts +16 -185
  671. package/resources/entities/entities.ts +393 -1477
  672. package/resources/entities/index.ts +8 -2
  673. package/resources/entities/supplemental-documents.ts +54 -0
  674. package/resources/event-subscriptions.ts +18 -9
  675. package/resources/events.ts +40 -111
  676. package/resources/exports.ts +18 -104
  677. package/resources/external-accounts.ts +20 -16
  678. package/resources/files.ts +29 -56
  679. package/resources/groups.ts +10 -5
  680. package/resources/inbound-ach-transfer-returns.ts +8 -0
  681. package/resources/inbound-wire-drawdown-requests.ts +12 -5
  682. package/resources/limits.ts +14 -5
  683. package/resources/oauth-connections.ts +12 -5
  684. package/resources/pending-transactions.ts +29 -114
  685. package/resources/programs.ts +12 -5
  686. package/resources/real-time-decisions.ts +39 -110
  687. package/resources/real-time-payments-transfers.ts +41 -55
  688. package/resources/routing-numbers.ts +7 -0
  689. package/resources/simulations/account-statements.ts +5 -0
  690. package/resources/simulations/ach-transfers.ts +1398 -1511
  691. package/resources/simulations/card-disputes.ts +9 -4
  692. package/resources/simulations/card-refunds.ts +5 -0
  693. package/resources/simulations/cards.ts +542 -635
  694. package/resources/simulations/check-transfers.ts +5 -0
  695. package/resources/simulations/digital-wallet-token-requests.ts +6 -0
  696. package/resources/simulations/documents.ts +5 -0
  697. package/resources/simulations/inbound-wire-drawdown-requests.ts +32 -27
  698. package/resources/simulations/index.ts +23 -9
  699. package/resources/simulations/interest-payments.ts +202 -327
  700. package/resources/simulations/programs.ts +31 -0
  701. package/resources/simulations/real-time-payments-transfers.ts +1400 -1591
  702. package/resources/simulations/simulations.ts +57 -0
  703. package/resources/simulations/wire-transfers.ts +202 -327
  704. package/resources/transactions.ts +235 -434
  705. package/resources/wire-drawdown-requests.ts +23 -15
  706. package/resources/wire-transfers.ts +28 -42
  707. package/streaming.ts +201 -0
  708. package/uploads.ts +81 -0
  709. package/version.ts +1 -1
  710. package/.eslintrc.js +0 -10
  711. package/.github/workflows/publish-npm.yml +0 -28
  712. package/.github/workflows/release-doctor.yml +0 -20
  713. package/.github/workflows/release.yml +0 -38
  714. package/.prettierignore +0 -1
  715. package/.prettierrc +0 -6
  716. package/.release-please-manifest.json +0 -3
  717. package/.stats.yml +0 -1
  718. package/api.md +0 -565
  719. package/bin/check-release-environment +0 -25
  720. package/bin/check-test-server +0 -50
  721. package/bin/publish-npm +0 -6
  722. package/build +0 -12
  723. package/dist/cjs/examples/api-error.d.ts +0 -3
  724. package/dist/cjs/examples/api-error.d.ts.map +0 -1
  725. package/dist/cjs/examples/api-error.js +0 -92
  726. package/dist/cjs/examples/api-error.js.map +0 -1
  727. package/dist/cjs/fetch-polyfill.d.ts +0 -6
  728. package/dist/cjs/fetch-polyfill.d.ts.map +0 -1
  729. package/dist/cjs/fetch-polyfill.js +0 -57
  730. package/dist/cjs/fetch-polyfill.js.map +0 -1
  731. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +0 -2
  732. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts.map +0 -1
  733. package/dist/cjs/tests/api-resources/account-numbers.test.js +0 -102
  734. package/dist/cjs/tests/api-resources/account-numbers.test.js.map +0 -1
  735. package/dist/cjs/tests/api-resources/account-statements.test.d.ts +0 -2
  736. package/dist/cjs/tests/api-resources/account-statements.test.d.ts.map +0 -1
  737. package/dist/cjs/tests/api-resources/account-statements.test.js +0 -86
  738. package/dist/cjs/tests/api-resources/account-statements.test.js.map +0 -1
  739. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +0 -2
  740. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts.map +0 -1
  741. package/dist/cjs/tests/api-resources/account-transfers.test.js +0 -132
  742. package/dist/cjs/tests/api-resources/account-transfers.test.js.map +0 -1
  743. package/dist/cjs/tests/api-resources/accounts.test.d.ts +0 -2
  744. package/dist/cjs/tests/api-resources/accounts.test.d.ts.map +0 -1
  745. package/dist/cjs/tests/api-resources/accounts.test.js +0 -120
  746. package/dist/cjs/tests/api-resources/accounts.test.js.map +0 -1
  747. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +0 -2
  748. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts.map +0 -1
  749. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +0 -121
  750. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +0 -1
  751. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +0 -2
  752. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts.map +0 -1
  753. package/dist/cjs/tests/api-resources/ach-transfers.test.js +0 -157
  754. package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +0 -1
  755. package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts +0 -2
  756. package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts.map +0 -1
  757. package/dist/cjs/tests/api-resources/balance-lookups.test.js +0 -58
  758. package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +0 -1
  759. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts +0 -2
  760. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts.map +0 -1
  761. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +0 -83
  762. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +0 -1
  763. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts +0 -2
  764. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts.map +0 -1
  765. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js +0 -65
  766. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js.map +0 -1
  767. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts +0 -2
  768. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts.map +0 -1
  769. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +0 -68
  770. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +0 -1
  771. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +0 -2
  772. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts.map +0 -1
  773. package/dist/cjs/tests/api-resources/card-disputes.test.js +0 -100
  774. package/dist/cjs/tests/api-resources/card-disputes.test.js.map +0 -1
  775. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +0 -2
  776. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts.map +0 -1
  777. package/dist/cjs/tests/api-resources/card-profiles.test.js +0 -106
  778. package/dist/cjs/tests/api-resources/card-profiles.test.js.map +0 -1
  779. package/dist/cjs/tests/api-resources/cards.test.d.ts +0 -2
  780. package/dist/cjs/tests/api-resources/cards.test.d.ts.map +0 -1
  781. package/dist/cjs/tests/api-resources/cards.test.js +0 -124
  782. package/dist/cjs/tests/api-resources/cards.test.js.map +0 -1
  783. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +0 -2
  784. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts.map +0 -1
  785. package/dist/cjs/tests/api-resources/check-deposits.test.js +0 -108
  786. package/dist/cjs/tests/api-resources/check-deposits.test.js.map +0 -1
  787. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +0 -2
  788. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts.map +0 -1
  789. package/dist/cjs/tests/api-resources/check-transfers.test.js +0 -161
  790. package/dist/cjs/tests/api-resources/check-transfers.test.js.map +0 -1
  791. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +0 -2
  792. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts.map +0 -1
  793. package/dist/cjs/tests/api-resources/declined-transactions.test.js +0 -89
  794. package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +0 -1
  795. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +0 -2
  796. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts.map +0 -1
  797. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +0 -88
  798. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +0 -1
  799. package/dist/cjs/tests/api-resources/documents.test.d.ts +0 -2
  800. package/dist/cjs/tests/api-resources/documents.test.d.ts.map +0 -1
  801. package/dist/cjs/tests/api-resources/documents.test.js +0 -89
  802. package/dist/cjs/tests/api-resources/documents.test.js.map +0 -1
  803. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +0 -2
  804. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts.map +0 -1
  805. package/dist/cjs/tests/api-resources/entities/entities.test.js +0 -357
  806. package/dist/cjs/tests/api-resources/entities/entities.test.js.map +0 -1
  807. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +0 -2
  808. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts.map +0 -1
  809. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +0 -56
  810. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +0 -1
  811. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +0 -2
  812. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts.map +0 -1
  813. package/dist/cjs/tests/api-resources/event-subscriptions.test.js +0 -103
  814. package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +0 -1
  815. package/dist/cjs/tests/api-resources/events.test.d.ts +0 -2
  816. package/dist/cjs/tests/api-resources/events.test.d.ts.map +0 -1
  817. package/dist/cjs/tests/api-resources/events.test.js +0 -85
  818. package/dist/cjs/tests/api-resources/events.test.js.map +0 -1
  819. package/dist/cjs/tests/api-resources/exports.test.d.ts +0 -2
  820. package/dist/cjs/tests/api-resources/exports.test.d.ts.map +0 -1
  821. package/dist/cjs/tests/api-resources/exports.test.js +0 -105
  822. package/dist/cjs/tests/api-resources/exports.test.js.map +0 -1
  823. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +0 -2
  824. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts.map +0 -1
  825. package/dist/cjs/tests/api-resources/external-accounts.test.js +0 -103
  826. package/dist/cjs/tests/api-resources/external-accounts.test.js.map +0 -1
  827. package/dist/cjs/tests/api-resources/files.test.d.ts +0 -2
  828. package/dist/cjs/tests/api-resources/files.test.d.ts.map +0 -1
  829. package/dist/cjs/tests/api-resources/files.test.js +0 -103
  830. package/dist/cjs/tests/api-resources/files.test.js.map +0 -1
  831. package/dist/cjs/tests/api-resources/groups.test.d.ts +0 -2
  832. package/dist/cjs/tests/api-resources/groups.test.d.ts.map +0 -1
  833. package/dist/cjs/tests/api-resources/groups.test.js +0 -55
  834. package/dist/cjs/tests/api-resources/groups.test.js.map +0 -1
  835. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +0 -2
  836. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts.map +0 -1
  837. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +0 -94
  838. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +0 -1
  839. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +0 -2
  840. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
  841. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +0 -80
  842. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +0 -1
  843. package/dist/cjs/tests/api-resources/limits.test.d.ts +0 -2
  844. package/dist/cjs/tests/api-resources/limits.test.d.ts.map +0 -1
  845. package/dist/cjs/tests/api-resources/limits.test.js +0 -102
  846. package/dist/cjs/tests/api-resources/limits.test.js.map +0 -1
  847. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +0 -2
  848. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts.map +0 -1
  849. package/dist/cjs/tests/api-resources/oauth-connections.test.js +0 -75
  850. package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +0 -1
  851. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +0 -2
  852. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts.map +0 -1
  853. package/dist/cjs/tests/api-resources/pending-transactions.test.js +0 -91
  854. package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +0 -1
  855. package/dist/cjs/tests/api-resources/programs.test.d.ts +0 -2
  856. package/dist/cjs/tests/api-resources/programs.test.d.ts.map +0 -1
  857. package/dist/cjs/tests/api-resources/programs.test.js +0 -73
  858. package/dist/cjs/tests/api-resources/programs.test.js.map +0 -1
  859. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +0 -2
  860. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts.map +0 -1
  861. package/dist/cjs/tests/api-resources/real-time-decisions.test.js +0 -65
  862. package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +0 -1
  863. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts +0 -2
  864. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts.map +0 -1
  865. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +0 -115
  866. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +0 -1
  867. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +0 -2
  868. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts.map +0 -1
  869. package/dist/cjs/tests/api-resources/routing-numbers.test.js +0 -60
  870. package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +0 -1
  871. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +0 -2
  872. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts.map +0 -1
  873. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +0 -1
  874. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +0 -2
  875. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts.map +0 -1
  876. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +0 -61
  877. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +0 -1
  878. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +0 -2
  879. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts.map +0 -1
  880. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +0 -90
  881. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +0 -1
  882. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +0 -2
  883. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts.map +0 -1
  884. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +0 -58
  885. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +0 -1
  886. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +0 -2
  887. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts.map +0 -1
  888. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +0 -1
  889. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +0 -2
  890. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts.map +0 -1
  891. package/dist/cjs/tests/api-resources/simulations/cards.test.js +0 -78
  892. package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +0 -1
  893. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +0 -2
  894. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts.map +0 -1
  895. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +0 -87
  896. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +0 -1
  897. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +0 -2
  898. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts.map +0 -1
  899. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +0 -92
  900. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +0 -1
  901. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +0 -2
  902. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts.map +0 -1
  903. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +0 -52
  904. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +0 -1
  905. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +0 -2
  906. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts.map +0 -1
  907. package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +0 -1
  908. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +0 -2
  909. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
  910. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +0 -94
  911. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +0 -1
  912. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts +0 -2
  913. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts.map +0 -1
  914. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js +0 -58
  915. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js.map +0 -1
  916. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +0 -2
  917. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts.map +0 -1
  918. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +0 -75
  919. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +0 -1
  920. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +0 -2
  921. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts.map +0 -1
  922. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +0 -84
  923. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +0 -1
  924. package/dist/cjs/tests/api-resources/transactions.test.d.ts +0 -2
  925. package/dist/cjs/tests/api-resources/transactions.test.d.ts.map +0 -1
  926. package/dist/cjs/tests/api-resources/transactions.test.js +0 -92
  927. package/dist/cjs/tests/api-resources/transactions.test.js.map +0 -1
  928. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +0 -2
  929. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts.map +0 -1
  930. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +0 -110
  931. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +0 -1
  932. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +0 -2
  933. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts.map +0 -1
  934. package/dist/cjs/tests/api-resources/wire-transfers.test.js +0 -175
  935. package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +0 -1
  936. package/dist/cjs/tests/form.test.d.ts +0 -2
  937. package/dist/cjs/tests/form.test.d.ts.map +0 -1
  938. package/dist/cjs/tests/form.test.js.map +0 -1
  939. package/dist/cjs/tests/index.test.d.ts +0 -2
  940. package/dist/cjs/tests/index.test.d.ts.map +0 -1
  941. package/dist/cjs/tests/index.test.js +0 -108
  942. package/dist/cjs/tests/index.test.js.map +0 -1
  943. package/dist/cjs/tests/responses.test.d.ts +0 -2
  944. package/dist/cjs/tests/responses.test.d.ts.map +0 -1
  945. package/dist/cjs/tests/responses.test.js +0 -60
  946. package/dist/cjs/tests/responses.test.js.map +0 -1
  947. package/examples/api-error.ts +0 -21
  948. package/fetch-polyfill.ts +0 -69
  949. package/jest.config.js +0 -8
  950. package/release-please-config.json +0 -64
  951. package/tests/api-resources/account-numbers.test.ts +0 -65
  952. package/tests/api-resources/account-statements.test.ts +0 -49
  953. package/tests/api-resources/account-transfers.test.ts +0 -95
  954. package/tests/api-resources/accounts.test.ts +0 -83
  955. package/tests/api-resources/ach-prenotifications.test.ts +0 -82
  956. package/tests/api-resources/ach-transfers.test.ts +0 -118
  957. package/tests/api-resources/balance-lookups.test.ts +0 -21
  958. package/tests/api-resources/bookkeeping-accounts.test.ts +0 -43
  959. package/tests/api-resources/bookkeeping-entries.test.ts +0 -25
  960. package/tests/api-resources/bookkeeping-entry-sets.test.ts +0 -31
  961. package/tests/api-resources/card-disputes.test.ts +0 -63
  962. package/tests/api-resources/card-profiles.test.ts +0 -69
  963. package/tests/api-resources/cards.test.ts +0 -87
  964. package/tests/api-resources/check-deposits.test.ts +0 -69
  965. package/tests/api-resources/check-transfers.test.ts +0 -124
  966. package/tests/api-resources/declined-transactions.test.ts +0 -52
  967. package/tests/api-resources/digital-wallet-tokens.test.ts +0 -49
  968. package/tests/api-resources/documents.test.ts +0 -52
  969. package/tests/api-resources/entities/entities.test.ts +0 -320
  970. package/tests/api-resources/entities/supplemental-documents.test.ts +0 -19
  971. package/tests/api-resources/event-subscriptions.test.ts +0 -63
  972. package/tests/api-resources/events.test.ts +0 -48
  973. package/tests/api-resources/exports.test.ts +0 -68
  974. package/tests/api-resources/external-accounts.test.ts +0 -66
  975. package/tests/api-resources/files.test.ts +0 -66
  976. package/tests/api-resources/groups.test.ts +0 -18
  977. package/tests/api-resources/inbound-ach-transfer-returns.test.ts +0 -57
  978. package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +0 -43
  979. package/tests/api-resources/limits.test.ts +0 -65
  980. package/tests/api-resources/oauth-connections.test.ts +0 -38
  981. package/tests/api-resources/pending-transactions.test.ts +0 -52
  982. package/tests/api-resources/programs.test.ts +0 -36
  983. package/tests/api-resources/real-time-decisions.test.ts +0 -28
  984. package/tests/api-resources/real-time-payments-transfers.test.ts +0 -78
  985. package/tests/api-resources/routing-numbers.test.ts +0 -23
  986. package/tests/api-resources/simulations/account-statements.test.ts +0 -15
  987. package/tests/api-resources/simulations/account-transfers.test.ts +0 -24
  988. package/tests/api-resources/simulations/ach-transfers.test.ts +0 -53
  989. package/tests/api-resources/simulations/card-disputes.test.ts +0 -21
  990. package/tests/api-resources/simulations/card-refunds.test.ts +0 -15
  991. package/tests/api-resources/simulations/cards.test.ts +0 -41
  992. package/tests/api-resources/simulations/check-deposits.test.ts +0 -50
  993. package/tests/api-resources/simulations/check-transfers.test.ts +0 -47
  994. package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +0 -15
  995. package/tests/api-resources/simulations/documents.test.ts +0 -15
  996. package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +0 -57
  997. package/tests/api-resources/simulations/interest-payments.test.ts +0 -15
  998. package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +0 -38
  999. package/tests/api-resources/simulations/wire-transfers.test.ts +0 -47
  1000. package/tests/api-resources/transactions.test.ts +0 -53
  1001. package/tests/api-resources/wire-drawdown-requests.test.ts +0 -73
  1002. package/tests/api-resources/wire-transfers.test.ts +0 -138
  1003. package/tests/form.test.ts +0 -27
  1004. package/tests/index.test.ts +0 -78
  1005. package/tests/responses.test.ts +0 -25
  1006. package/tsconfig.cjs.json +0 -8
  1007. package/tsconfig.json +0 -39
  1008. package/typings/digest-fetch/index.d.ts +0 -33
@@ -0,0 +1,1836 @@
1
+ import * as Core from '../../core.js';
2
+ import { APIResource } from '../../resource.js';
3
+ import * as ACHTransfers_ from '../../resources/ach-transfers.js';
4
+ import * as Shared from '../../resources/shared.js';
5
+ import * as API from './index.js';
6
+ export declare class ACHTransfers extends APIResource {
7
+ /**
8
+ * Simulates an inbound ACH transfer to your account. This imitates initiating a
9
+ * transaction to an Increase account from a different financial institution. The
10
+ * transfer may be either a credit or a debit depending on if the `amount` is
11
+ * positive or negative. The result of calling this API will be either a
12
+ * [Transaction](#transactions) or a [Declined Transaction](#declined-transactions)
13
+ * depending on whether or not the transfer is allowed.
14
+ */
15
+ createInbound(
16
+ body: ACHTransferCreateInboundParams,
17
+ options?: Core.RequestOptions,
18
+ ): Promise<Core.APIResponse<ACHTransferSimulation>>;
19
+ /**
20
+ * Simulates the return of an [ACH Transfer](#ach-transfers) by the Federal Reserve
21
+ * due to an error condition. This will also create a Transaction to account for
22
+ * the returned funds. This transfer must first have a `status` of `submitted`.
23
+ */
24
+ return(
25
+ achTransferId: string,
26
+ body: ACHTransferReturnParams,
27
+ options?: Core.RequestOptions,
28
+ ): Promise<Core.APIResponse<ACHTransfers_.ACHTransfer>>;
29
+ /**
30
+ * Simulates the submission of an [ACH Transfer](#ach-transfers) to the Federal
31
+ * Reserve. This transfer must first have a `status` of `pending_approval` or
32
+ * `pending_submission`. In production, Increase submits ACH Transfers to the
33
+ * Federal Reserve three times per day on weekdays. Since sandbox ACH Transfers are
34
+ * not submitted to the Federal Reserve, this endpoint allows you to skip that
35
+ * delay and transition the ACH Transfer to a status of `submitted`.
36
+ */
37
+ submit(
38
+ achTransferId: string,
39
+ options?: Core.RequestOptions,
40
+ ): Promise<Core.APIResponse<ACHTransfers_.ACHTransfer>>;
41
+ }
42
+ /**
43
+ * The results of an inbound ACH Transfer simulation.
44
+ */
45
+ export interface ACHTransferSimulation {
46
+ /**
47
+ * If the ACH Transfer attempt fails, this will contain the resulting
48
+ * [Declined Transaction](#declined-transactions) object. The Declined
49
+ * Transaction's `source` will be of `category: inbound_ach_transfer`.
50
+ */
51
+ declined_transaction: ACHTransferSimulation.DeclinedTransaction | null;
52
+ /**
53
+ * If the ACH Transfer attempt succeeds, this will contain the resulting
54
+ * [Transaction](#transactions) object. The Transaction's `source` will be of
55
+ * `category: inbound_ach_transfer`.
56
+ */
57
+ transaction: ACHTransferSimulation.Transaction | null;
58
+ /**
59
+ * A constant representing the object's type. For this resource it will always be
60
+ * `inbound_ach_transfer_simulation_result`.
61
+ */
62
+ type: 'inbound_ach_transfer_simulation_result';
63
+ }
64
+ export declare namespace ACHTransferSimulation {
65
+ /**
66
+ * If the ACH Transfer attempt fails, this will contain the resulting
67
+ * [Declined Transaction](#declined-transactions) object. The Declined
68
+ * Transaction's `source` will be of `category: inbound_ach_transfer`.
69
+ */
70
+ interface DeclinedTransaction {
71
+ /**
72
+ * The Declined Transaction identifier.
73
+ */
74
+ id: string;
75
+ /**
76
+ * The identifier for the Account the Declined Transaction belongs to.
77
+ */
78
+ account_id: string;
79
+ /**
80
+ * The Declined Transaction amount in the minor unit of its currency. For dollars,
81
+ * for example, this is cents.
82
+ */
83
+ amount: number;
84
+ /**
85
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
86
+ * Transaction occured.
87
+ */
88
+ created_at: string;
89
+ /**
90
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
91
+ * Transaction's currency. This will match the currency on the Declined
92
+ * Transcation's Account.
93
+ */
94
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
95
+ /**
96
+ * This is the description the vendor provides.
97
+ */
98
+ description: string;
99
+ /**
100
+ * The identifier for the route this Declined Transaction came through. Routes are
101
+ * things like cards and ACH details.
102
+ */
103
+ route_id: string | null;
104
+ /**
105
+ * The type of the route this Declined Transaction came through.
106
+ */
107
+ route_type: 'account_number' | 'card' | null;
108
+ /**
109
+ * This is an object giving more details on the network-level event that caused the
110
+ * Declined Transaction. For example, for a card transaction this lists the
111
+ * merchant's industry and location. Note that for backwards compatibility reasons,
112
+ * additional undocumented keys may appear in this object. These should be treated
113
+ * as deprecated and will be removed in the future.
114
+ */
115
+ source: DeclinedTransaction.Source;
116
+ /**
117
+ * A constant representing the object's type. For this resource it will always be
118
+ * `declined_transaction`.
119
+ */
120
+ type: 'declined_transaction';
121
+ }
122
+ namespace DeclinedTransaction {
123
+ /**
124
+ * This is an object giving more details on the network-level event that caused the
125
+ * Declined Transaction. For example, for a card transaction this lists the
126
+ * merchant's industry and location. Note that for backwards compatibility reasons,
127
+ * additional undocumented keys may appear in this object. These should be treated
128
+ * as deprecated and will be removed in the future.
129
+ */
130
+ interface Source {
131
+ /**
132
+ * A ACH Decline object. This field will be present in the JSON response if and
133
+ * only if `category` is equal to `ach_decline`.
134
+ */
135
+ ach_decline: Source.ACHDecline | null;
136
+ /**
137
+ * A Card Decline object. This field will be present in the JSON response if and
138
+ * only if `category` is equal to `card_decline`.
139
+ */
140
+ card_decline: Source.CardDecline | null;
141
+ /**
142
+ * The type of decline that took place. We may add additional possible values for
143
+ * this enum over time; your application should be able to handle such additions
144
+ * gracefully.
145
+ */
146
+ category:
147
+ | 'ach_decline'
148
+ | 'card_decline'
149
+ | 'check_decline'
150
+ | 'inbound_real_time_payments_transfer_decline'
151
+ | 'international_ach_decline'
152
+ | 'wire_decline'
153
+ | 'other';
154
+ /**
155
+ * A Check Decline object. This field will be present in the JSON response if and
156
+ * only if `category` is equal to `check_decline`.
157
+ */
158
+ check_decline: Source.CheckDecline | null;
159
+ /**
160
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
161
+ * in the JSON response if and only if `category` is equal to
162
+ * `inbound_real_time_payments_transfer_decline`.
163
+ */
164
+ inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
165
+ /**
166
+ * A International ACH Decline object. This field will be present in the JSON
167
+ * response if and only if `category` is equal to `international_ach_decline`.
168
+ */
169
+ international_ach_decline: Source.InternationalACHDecline | null;
170
+ /**
171
+ * A Wire Decline object. This field will be present in the JSON response if and
172
+ * only if `category` is equal to `wire_decline`.
173
+ */
174
+ wire_decline: Source.WireDecline | null;
175
+ }
176
+ namespace Source {
177
+ /**
178
+ * A ACH Decline object. This field will be present in the JSON response if and
179
+ * only if `category` is equal to `ach_decline`.
180
+ */
181
+ interface ACHDecline {
182
+ /**
183
+ * The declined amount in the minor unit of the destination account currency. For
184
+ * dollars, for example, this is cents.
185
+ */
186
+ amount: number;
187
+ originator_company_descriptive_date: string | null;
188
+ originator_company_discretionary_data: string | null;
189
+ originator_company_id: string;
190
+ originator_company_name: string;
191
+ /**
192
+ * Why the ACH transfer was declined.
193
+ */
194
+ reason:
195
+ | 'ach_route_canceled'
196
+ | 'ach_route_disabled'
197
+ | 'breaches_limit'
198
+ | 'credit_entry_refused_by_receiver'
199
+ | 'duplicate_return'
200
+ | 'entity_not_active'
201
+ | 'group_locked'
202
+ | 'insufficient_funds'
203
+ | 'misrouted_return'
204
+ | 'no_ach_route'
205
+ | 'originator_request'
206
+ | 'transaction_not_allowed';
207
+ receiver_id_number: string | null;
208
+ receiver_name: string | null;
209
+ trace_number: string;
210
+ }
211
+ /**
212
+ * A Card Decline object. This field will be present in the JSON response if and
213
+ * only if `category` is equal to `card_decline`.
214
+ */
215
+ interface CardDecline {
216
+ /**
217
+ * The declined amount in the minor unit of the destination account currency. For
218
+ * dollars, for example, this is cents.
219
+ */
220
+ amount: number;
221
+ /**
222
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
223
+ * account currency.
224
+ */
225
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
226
+ /**
227
+ * If the authorization was attempted using a Digital Wallet Token (such as an
228
+ * Apple Pay purchase), the identifier of the token that was used.
229
+ */
230
+ digital_wallet_token_id: string | null;
231
+ /**
232
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
233
+ * is transacting with.
234
+ */
235
+ merchant_acceptor_id: string;
236
+ /**
237
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
238
+ * card is transacting with.
239
+ */
240
+ merchant_category_code: string | null;
241
+ /**
242
+ * The city the merchant resides in.
243
+ */
244
+ merchant_city: string | null;
245
+ /**
246
+ * The country the merchant resides in.
247
+ */
248
+ merchant_country: string | null;
249
+ /**
250
+ * The merchant descriptor of the merchant the card is transacting with.
251
+ */
252
+ merchant_descriptor: string;
253
+ /**
254
+ * The state the merchant resides in.
255
+ */
256
+ merchant_state: string | null;
257
+ /**
258
+ * The payment network used to process this card authorization
259
+ */
260
+ network: 'visa';
261
+ /**
262
+ * Fields specific to the `network`
263
+ */
264
+ network_details: CardDecline.NetworkDetails;
265
+ /**
266
+ * The identifier of the Real-Time Decision sent to approve or decline this
267
+ * transaction.
268
+ */
269
+ real_time_decision_id: string | null;
270
+ /**
271
+ * Why the transaction was declined.
272
+ */
273
+ reason:
274
+ | 'card_not_active'
275
+ | 'entity_not_active'
276
+ | 'group_locked'
277
+ | 'insufficient_funds'
278
+ | 'cvv2_mismatch'
279
+ | 'transaction_not_allowed'
280
+ | 'breaches_internal_limit'
281
+ | 'breaches_limit'
282
+ | 'webhook_declined'
283
+ | 'webhook_timed_out'
284
+ | 'declined_by_stand_in_processing'
285
+ | 'invalid_physical_card'
286
+ | 'missing_original_authorization';
287
+ }
288
+ namespace CardDecline {
289
+ /**
290
+ * Fields specific to the `network`
291
+ */
292
+ interface NetworkDetails {
293
+ /**
294
+ * Fields specific to the `visa` network
295
+ */
296
+ visa: NetworkDetails.Visa;
297
+ }
298
+ namespace NetworkDetails {
299
+ /**
300
+ * Fields specific to the `visa` network
301
+ */
302
+ interface Visa {
303
+ /**
304
+ * For electronic commerce transactions, this identifies the level of security used
305
+ * in obtaining the customer's payment credential. For mail or telephone order
306
+ * transactions, identifies the type of mail or telephone order.
307
+ */
308
+ electronic_commerce_indicator:
309
+ | 'mail_phone_order'
310
+ | 'recurring'
311
+ | 'installment'
312
+ | 'unknown_mail_phone_order'
313
+ | 'secure_electronic_commerce'
314
+ | 'non_authenticated_security_transaction_at_3ds_capable_merchant'
315
+ | 'non_authenticated_security_transaction'
316
+ | 'non_secure_transaction'
317
+ | null;
318
+ /**
319
+ * The method used to enter the cardholder's primary account number and card
320
+ * expiration date
321
+ */
322
+ point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
323
+ }
324
+ }
325
+ }
326
+ /**
327
+ * A Check Decline object. This field will be present in the JSON response if and
328
+ * only if `category` is equal to `check_decline`.
329
+ */
330
+ interface CheckDecline {
331
+ /**
332
+ * The declined amount in the minor unit of the destination account currency. For
333
+ * dollars, for example, this is cents.
334
+ */
335
+ amount: number;
336
+ auxiliary_on_us: string | null;
337
+ /**
338
+ * Why the check was declined.
339
+ */
340
+ reason:
341
+ | 'ach_route_canceled'
342
+ | 'ach_route_disabled'
343
+ | 'breaches_limit'
344
+ | 'entity_not_active'
345
+ | 'group_locked'
346
+ | 'insufficient_funds'
347
+ | 'unable_to_locate_account'
348
+ | 'not_our_item'
349
+ | 'unable_to_process'
350
+ | 'refer_to_image'
351
+ | 'stop_payment_requested'
352
+ | 'returned'
353
+ | 'duplicate_presentment'
354
+ | 'not_authorized'
355
+ | 'altered_or_fictitious';
356
+ }
357
+ /**
358
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
359
+ * in the JSON response if and only if `category` is equal to
360
+ * `inbound_real_time_payments_transfer_decline`.
361
+ */
362
+ interface InboundRealTimePaymentsTransferDecline {
363
+ /**
364
+ * The declined amount in the minor unit of the destination account currency. For
365
+ * dollars, for example, this is cents.
366
+ */
367
+ amount: number;
368
+ /**
369
+ * The name the sender of the transfer specified as the recipient of the transfer.
370
+ */
371
+ creditor_name: string;
372
+ /**
373
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
374
+ * transfer's currency. This will always be "USD" for a Real Time Payments
375
+ * transfer.
376
+ */
377
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
378
+ /**
379
+ * The account number of the account that sent the transfer.
380
+ */
381
+ debtor_account_number: string;
382
+ /**
383
+ * The name provided by the sender of the transfer.
384
+ */
385
+ debtor_name: string;
386
+ /**
387
+ * The routing number of the account that sent the transfer.
388
+ */
389
+ debtor_routing_number: string;
390
+ /**
391
+ * Why the transfer was declined.
392
+ */
393
+ reason:
394
+ | 'account_number_canceled'
395
+ | 'account_number_disabled'
396
+ | 'account_restricted'
397
+ | 'group_locked'
398
+ | 'entity_not_active'
399
+ | 'real_time_payments_not_enabled';
400
+ /**
401
+ * Additional information included with the transfer.
402
+ */
403
+ remittance_information: string | null;
404
+ /**
405
+ * The Real Time Payments network identification of the declined transfer.
406
+ */
407
+ transaction_identification: string;
408
+ }
409
+ /**
410
+ * A International ACH Decline object. This field will be present in the JSON
411
+ * response if and only if `category` is equal to `international_ach_decline`.
412
+ */
413
+ interface InternationalACHDecline {
414
+ /**
415
+ * The declined amount in the minor unit of the destination account currency. For
416
+ * dollars, for example, this is cents.
417
+ */
418
+ amount: number;
419
+ destination_country_code: string;
420
+ destination_currency_code: string;
421
+ foreign_exchange_indicator: string;
422
+ foreign_exchange_reference: string | null;
423
+ foreign_exchange_reference_indicator: string;
424
+ foreign_payment_amount: number;
425
+ foreign_trace_number: string | null;
426
+ international_transaction_type_code: string;
427
+ originating_currency_code: string;
428
+ originating_depository_financial_institution_branch_country: string;
429
+ originating_depository_financial_institution_id: string;
430
+ originating_depository_financial_institution_id_qualifier: string;
431
+ originating_depository_financial_institution_name: string;
432
+ originator_city: string;
433
+ originator_company_entry_description: string;
434
+ originator_country: string;
435
+ originator_identification: string;
436
+ originator_name: string;
437
+ originator_postal_code: string | null;
438
+ originator_state_or_province: string | null;
439
+ originator_street_address: string;
440
+ payment_related_information: string | null;
441
+ payment_related_information2: string | null;
442
+ receiver_city: string;
443
+ receiver_country: string;
444
+ receiver_identification_number: string | null;
445
+ receiver_postal_code: string | null;
446
+ receiver_state_or_province: string | null;
447
+ receiver_street_address: string;
448
+ receiving_company_or_individual_name: string;
449
+ receiving_depository_financial_institution_country: string;
450
+ receiving_depository_financial_institution_id: string;
451
+ receiving_depository_financial_institution_id_qualifier: string;
452
+ receiving_depository_financial_institution_name: string;
453
+ trace_number: string;
454
+ }
455
+ /**
456
+ * A Wire Decline object. This field will be present in the JSON response if and
457
+ * only if `category` is equal to `wire_decline`.
458
+ */
459
+ interface WireDecline {
460
+ /**
461
+ * The declined amount in the minor unit of the destination account currency. For
462
+ * dollars, for example, this is cents.
463
+ */
464
+ amount: number;
465
+ beneficiary_address_line1: string | null;
466
+ beneficiary_address_line2: string | null;
467
+ beneficiary_address_line3: string | null;
468
+ beneficiary_name: string | null;
469
+ beneficiary_reference: string | null;
470
+ description: string;
471
+ input_message_accountability_data: string | null;
472
+ originator_address_line1: string | null;
473
+ originator_address_line2: string | null;
474
+ originator_address_line3: string | null;
475
+ originator_name: string | null;
476
+ originator_to_beneficiary_information_line1: string | null;
477
+ originator_to_beneficiary_information_line2: string | null;
478
+ originator_to_beneficiary_information_line3: string | null;
479
+ originator_to_beneficiary_information_line4: string | null;
480
+ /**
481
+ * Why the wire transfer was declined.
482
+ */
483
+ reason:
484
+ | 'account_number_canceled'
485
+ | 'account_number_disabled'
486
+ | 'entity_not_active'
487
+ | 'group_locked'
488
+ | 'no_account_number'
489
+ | 'transaction_not_allowed';
490
+ }
491
+ }
492
+ }
493
+ /**
494
+ * If the ACH Transfer attempt succeeds, this will contain the resulting
495
+ * [Transaction](#transactions) object. The Transaction's `source` will be of
496
+ * `category: inbound_ach_transfer`.
497
+ */
498
+ interface Transaction {
499
+ /**
500
+ * The Transaction identifier.
501
+ */
502
+ id: string;
503
+ /**
504
+ * The identifier for the Account the Transaction belongs to.
505
+ */
506
+ account_id: string;
507
+ /**
508
+ * The Transaction amount in the minor unit of its currency. For dollars, for
509
+ * example, this is cents.
510
+ */
511
+ amount: number;
512
+ /**
513
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
514
+ * Transaction occured.
515
+ */
516
+ created_at: string;
517
+ /**
518
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
519
+ * Transaction's currency. This will match the currency on the Transcation's
520
+ * Account.
521
+ */
522
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
523
+ /**
524
+ * For a Transaction related to a transfer, this is the description you provide.
525
+ * For a Transaction related to a payment, this is the description the vendor
526
+ * provides.
527
+ */
528
+ description: string;
529
+ /**
530
+ * The identifier for the route this Transaction came through. Routes are things
531
+ * like cards and ACH details.
532
+ */
533
+ route_id: string | null;
534
+ /**
535
+ * The type of the route this Transaction came through.
536
+ */
537
+ route_type: 'account_number' | 'card' | null;
538
+ /**
539
+ * This is an object giving more details on the network-level event that caused the
540
+ * Transaction. Note that for backwards compatibility reasons, additional
541
+ * undocumented keys may appear in this object. These should be treated as
542
+ * deprecated and will be removed in the future.
543
+ */
544
+ source: Transaction.Source;
545
+ /**
546
+ * A constant representing the object's type. For this resource it will always be
547
+ * `transaction`.
548
+ */
549
+ type: 'transaction';
550
+ }
551
+ namespace Transaction {
552
+ /**
553
+ * This is an object giving more details on the network-level event that caused the
554
+ * Transaction. Note that for backwards compatibility reasons, additional
555
+ * undocumented keys may appear in this object. These should be treated as
556
+ * deprecated and will be removed in the future.
557
+ */
558
+ interface Source {
559
+ /**
560
+ * A Account Transfer Intention object. This field will be present in the JSON
561
+ * response if and only if `category` is equal to `account_transfer_intention`.
562
+ */
563
+ account_transfer_intention: Source.AccountTransferIntention | null;
564
+ /**
565
+ * A ACH Transfer Intention object. This field will be present in the JSON response
566
+ * if and only if `category` is equal to `ach_transfer_intention`.
567
+ */
568
+ ach_transfer_intention: Source.ACHTransferIntention | null;
569
+ /**
570
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
571
+ * if and only if `category` is equal to `ach_transfer_rejection`.
572
+ */
573
+ ach_transfer_rejection: Source.ACHTransferRejection | null;
574
+ /**
575
+ * A ACH Transfer Return object. This field will be present in the JSON response if
576
+ * and only if `category` is equal to `ach_transfer_return`.
577
+ */
578
+ ach_transfer_return: Source.ACHTransferReturn | null;
579
+ /**
580
+ * A Card Dispute Acceptance object. This field will be present in the JSON
581
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
582
+ */
583
+ card_dispute_acceptance: Source.CardDisputeAcceptance | null;
584
+ /**
585
+ * A Card Refund object. This field will be present in the JSON response if and
586
+ * only if `category` is equal to `card_refund`.
587
+ */
588
+ card_refund: Source.CardRefund | null;
589
+ /**
590
+ * A Card Revenue Payment object. This field will be present in the JSON response
591
+ * if and only if `category` is equal to `card_revenue_payment`.
592
+ */
593
+ card_revenue_payment: Source.CardRevenuePayment | null;
594
+ /**
595
+ * A Card Settlement object. This field will be present in the JSON response if and
596
+ * only if `category` is equal to `card_settlement`.
597
+ */
598
+ card_settlement: Source.CardSettlement | null;
599
+ /**
600
+ * The type of transaction that took place. We may add additional possible values
601
+ * for this enum over time; your application should be able to handle such
602
+ * additions gracefully.
603
+ */
604
+ category:
605
+ | 'account_transfer_intention'
606
+ | 'ach_transfer_intention'
607
+ | 'ach_transfer_rejection'
608
+ | 'ach_transfer_return'
609
+ | 'card_dispute_acceptance'
610
+ | 'card_refund'
611
+ | 'card_revenue_payment'
612
+ | 'card_settlement'
613
+ | 'check_deposit_acceptance'
614
+ | 'check_deposit_return'
615
+ | 'check_transfer_deposit'
616
+ | 'check_transfer_intention'
617
+ | 'check_transfer_rejection'
618
+ | 'check_transfer_return'
619
+ | 'check_transfer_stop_payment_request'
620
+ | 'fee_payment'
621
+ | 'inbound_ach_transfer'
622
+ | 'inbound_ach_transfer_return_intention'
623
+ | 'inbound_check'
624
+ | 'inbound_international_ach_transfer'
625
+ | 'inbound_real_time_payments_transfer_confirmation'
626
+ | 'inbound_wire_drawdown_payment'
627
+ | 'inbound_wire_drawdown_payment_reversal'
628
+ | 'inbound_wire_reversal'
629
+ | 'inbound_wire_transfer'
630
+ | 'interest_payment'
631
+ | 'internal_source'
632
+ | 'real_time_payments_transfer_acknowledgement'
633
+ | 'sample_funds'
634
+ | 'wire_transfer_intention'
635
+ | 'wire_transfer_rejection'
636
+ | 'other';
637
+ /**
638
+ * A Check Deposit Acceptance object. This field will be present in the JSON
639
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
640
+ */
641
+ check_deposit_acceptance: Source.CheckDepositAcceptance | null;
642
+ /**
643
+ * A Check Deposit Return object. This field will be present in the JSON response
644
+ * if and only if `category` is equal to `check_deposit_return`.
645
+ */
646
+ check_deposit_return: Source.CheckDepositReturn | null;
647
+ /**
648
+ * A Check Transfer Deposit object. This field will be present in the JSON response
649
+ * if and only if `category` is equal to `check_transfer_deposit`.
650
+ */
651
+ check_transfer_deposit: Source.CheckTransferDeposit | null;
652
+ /**
653
+ * A Check Transfer Intention object. This field will be present in the JSON
654
+ * response if and only if `category` is equal to `check_transfer_intention`.
655
+ */
656
+ check_transfer_intention: Source.CheckTransferIntention | null;
657
+ /**
658
+ * A Check Transfer Rejection object. This field will be present in the JSON
659
+ * response if and only if `category` is equal to `check_transfer_rejection`.
660
+ */
661
+ check_transfer_rejection: Source.CheckTransferRejection | null;
662
+ /**
663
+ * A Check Transfer Return object. This field will be present in the JSON response
664
+ * if and only if `category` is equal to `check_transfer_return`.
665
+ */
666
+ check_transfer_return: Source.CheckTransferReturn | null;
667
+ /**
668
+ * A Check Transfer Stop Payment Request object. This field will be present in the
669
+ * JSON response if and only if `category` is equal to
670
+ * `check_transfer_stop_payment_request`.
671
+ */
672
+ check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
673
+ /**
674
+ * A Fee Payment object. This field will be present in the JSON response if and
675
+ * only if `category` is equal to `fee_payment`.
676
+ */
677
+ fee_payment: Source.FeePayment | null;
678
+ /**
679
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
680
+ * if and only if `category` is equal to `inbound_ach_transfer`.
681
+ */
682
+ inbound_ach_transfer: Source.InboundACHTransfer | null;
683
+ /**
684
+ * A Inbound Check object. This field will be present in the JSON response if and
685
+ * only if `category` is equal to `inbound_check`.
686
+ */
687
+ inbound_check: Source.InboundCheck | null;
688
+ /**
689
+ * A Inbound International ACH Transfer object. This field will be present in the
690
+ * JSON response if and only if `category` is equal to
691
+ * `inbound_international_ach_transfer`.
692
+ */
693
+ inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
694
+ /**
695
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
696
+ * present in the JSON response if and only if `category` is equal to
697
+ * `inbound_real_time_payments_transfer_confirmation`.
698
+ */
699
+ inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
700
+ /**
701
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
702
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
703
+ */
704
+ inbound_wire_drawdown_payment: Source.InboundWireDrawdownPayment | null;
705
+ /**
706
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
707
+ * the JSON response if and only if `category` is equal to
708
+ * `inbound_wire_drawdown_payment_reversal`.
709
+ */
710
+ inbound_wire_drawdown_payment_reversal: Source.InboundWireDrawdownPaymentReversal | null;
711
+ /**
712
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
713
+ * if and only if `category` is equal to `inbound_wire_reversal`.
714
+ */
715
+ inbound_wire_reversal: Source.InboundWireReversal | null;
716
+ /**
717
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
718
+ * if and only if `category` is equal to `inbound_wire_transfer`.
719
+ */
720
+ inbound_wire_transfer: Source.InboundWireTransfer | null;
721
+ /**
722
+ * A Interest Payment object. This field will be present in the JSON response if
723
+ * and only if `category` is equal to `interest_payment`.
724
+ */
725
+ interest_payment: Source.InterestPayment | null;
726
+ /**
727
+ * A Internal Source object. This field will be present in the JSON response if and
728
+ * only if `category` is equal to `internal_source`.
729
+ */
730
+ internal_source: Source.InternalSource | null;
731
+ /**
732
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
733
+ * in the JSON response if and only if `category` is equal to
734
+ * `real_time_payments_transfer_acknowledgement`.
735
+ */
736
+ real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
737
+ /**
738
+ * A Sample Funds object. This field will be present in the JSON response if and
739
+ * only if `category` is equal to `sample_funds`.
740
+ */
741
+ sample_funds: Source.SampleFunds | null;
742
+ /**
743
+ * A Wire Transfer Intention object. This field will be present in the JSON
744
+ * response if and only if `category` is equal to `wire_transfer_intention`.
745
+ */
746
+ wire_transfer_intention: Source.WireTransferIntention | null;
747
+ /**
748
+ * A Wire Transfer Rejection object. This field will be present in the JSON
749
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
750
+ */
751
+ wire_transfer_rejection: Source.WireTransferRejection | null;
752
+ }
753
+ namespace Source {
754
+ /**
755
+ * A Account Transfer Intention object. This field will be present in the JSON
756
+ * response if and only if `category` is equal to `account_transfer_intention`.
757
+ */
758
+ interface AccountTransferIntention {
759
+ /**
760
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
761
+ * for example, this is cents.
762
+ */
763
+ amount: number;
764
+ /**
765
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
766
+ * account currency.
767
+ */
768
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
769
+ /**
770
+ * The description you chose to give the transfer.
771
+ */
772
+ description: string;
773
+ /**
774
+ * The identifier of the Account to where the Account Transfer was sent.
775
+ */
776
+ destination_account_id: string;
777
+ /**
778
+ * The identifier of the Account from where the Account Transfer was sent.
779
+ */
780
+ source_account_id: string;
781
+ /**
782
+ * The identifier of the Account Transfer that led to this Pending Transaction.
783
+ */
784
+ transfer_id: string;
785
+ }
786
+ /**
787
+ * A ACH Transfer Intention object. This field will be present in the JSON response
788
+ * if and only if `category` is equal to `ach_transfer_intention`.
789
+ */
790
+ interface ACHTransferIntention {
791
+ account_number: string;
792
+ /**
793
+ * The amount in the minor unit of the transaction's currency. For dollars, for
794
+ * example, this is cents.
795
+ */
796
+ amount: number;
797
+ routing_number: string;
798
+ statement_descriptor: string;
799
+ /**
800
+ * The identifier of the ACH Transfer that led to this Transaction.
801
+ */
802
+ transfer_id: string;
803
+ }
804
+ /**
805
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
806
+ * if and only if `category` is equal to `ach_transfer_rejection`.
807
+ */
808
+ interface ACHTransferRejection {
809
+ /**
810
+ * The identifier of the ACH Transfer that led to this Transaction.
811
+ */
812
+ transfer_id: string;
813
+ }
814
+ /**
815
+ * A ACH Transfer Return object. This field will be present in the JSON response if
816
+ * and only if `category` is equal to `ach_transfer_return`.
817
+ */
818
+ interface ACHTransferReturn {
819
+ /**
820
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
821
+ * the transfer was created.
822
+ */
823
+ created_at: string;
824
+ /**
825
+ * The three character ACH return code, in the range R01 to R85.
826
+ */
827
+ raw_return_reason_code: string;
828
+ /**
829
+ * Why the ACH Transfer was returned.
830
+ */
831
+ return_reason_code:
832
+ | 'insufficient_fund'
833
+ | 'no_account'
834
+ | 'account_closed'
835
+ | 'invalid_account_number_structure'
836
+ | 'account_frozen_entry_returned_per_ofac_instruction'
837
+ | 'credit_entry_refused_by_receiver'
838
+ | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
839
+ | 'corporate_customer_advised_not_authorized'
840
+ | 'payment_stopped'
841
+ | 'non_transaction_account'
842
+ | 'uncollected_funds'
843
+ | 'routing_number_check_digit_error'
844
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
845
+ | 'amount_field_error'
846
+ | 'authorization_revoked_by_customer'
847
+ | 'invalid_ach_routing_number'
848
+ | 'file_record_edit_criteria'
849
+ | 'enr_invalid_individual_name'
850
+ | 'returned_per_odfi_request'
851
+ | 'limited_participation_dfi'
852
+ | 'incorrectly_coded_outbound_international_payment'
853
+ | 'account_sold_to_another_dfi'
854
+ | 'addenda_error'
855
+ | 'beneficiary_or_account_holder_deceased'
856
+ | 'customer_advised_not_within_authorization_terms'
857
+ | 'corrected_return'
858
+ | 'duplicate_entry'
859
+ | 'duplicate_return'
860
+ | 'enr_duplicate_enrollment'
861
+ | 'enr_invalid_dfi_account_number'
862
+ | 'enr_invalid_individual_id_number'
863
+ | 'enr_invalid_representative_payee_indicator'
864
+ | 'enr_invalid_transaction_code'
865
+ | 'enr_return_of_enr_entry'
866
+ | 'enr_routing_number_check_digit_error'
867
+ | 'entry_not_processed_by_gateway'
868
+ | 'field_error'
869
+ | 'foreign_receiving_dfi_unable_to_settle'
870
+ | 'iat_entry_coding_error'
871
+ | 'improper_effective_entry_date'
872
+ | 'improper_source_document_source_document_presented'
873
+ | 'invalid_company_id'
874
+ | 'invalid_foreign_receiving_dfi_identification'
875
+ | 'invalid_individual_id_number'
876
+ | 'item_and_rck_entry_presented_for_payment'
877
+ | 'item_related_to_rck_entry_is_ineligible'
878
+ | 'mandatory_field_error'
879
+ | 'misrouted_dishonored_return'
880
+ | 'misrouted_return'
881
+ | 'no_errors_found'
882
+ | 'non_acceptance_of_r62_dishonored_return'
883
+ | 'non_participant_in_iat_program'
884
+ | 'permissible_return_entry'
885
+ | 'permissible_return_entry_not_accepted'
886
+ | 'rdfi_non_settlement'
887
+ | 'rdfi_participant_in_check_truncation_program'
888
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
889
+ | 'return_not_a_duplicate'
890
+ | 'return_of_erroneous_or_reversing_debit'
891
+ | 'return_of_improper_credit_entry'
892
+ | 'return_of_improper_debit_entry'
893
+ | 'return_of_xck_entry'
894
+ | 'source_document_presented_for_payment'
895
+ | 'state_law_affecting_rck_acceptance'
896
+ | 'stop_payment_on_item_related_to_rck_entry'
897
+ | 'stop_payment_on_source_document'
898
+ | 'timely_original_return'
899
+ | 'trace_number_error'
900
+ | 'untimely_dishonored_return'
901
+ | 'untimely_return';
902
+ /**
903
+ * The identifier of the Tranasaction associated with this return.
904
+ */
905
+ transaction_id: string;
906
+ /**
907
+ * The identifier of the ACH Transfer associated with this return.
908
+ */
909
+ transfer_id: string;
910
+ }
911
+ /**
912
+ * A Card Dispute Acceptance object. This field will be present in the JSON
913
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
914
+ */
915
+ interface CardDisputeAcceptance {
916
+ /**
917
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
918
+ * the Card Dispute was accepted.
919
+ */
920
+ accepted_at: string;
921
+ /**
922
+ * The identifier of the Card Dispute that was accepted.
923
+ */
924
+ card_dispute_id: string;
925
+ /**
926
+ * The identifier of the Transaction that was created to return the disputed funds
927
+ * to your account.
928
+ */
929
+ transaction_id: string;
930
+ }
931
+ /**
932
+ * A Card Refund object. This field will be present in the JSON response if and
933
+ * only if `category` is equal to `card_refund`.
934
+ */
935
+ interface CardRefund {
936
+ /**
937
+ * The Card Refund identifier.
938
+ */
939
+ id: string;
940
+ /**
941
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
942
+ * for example, this is cents.
943
+ */
944
+ amount: number;
945
+ /**
946
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
947
+ * transaction's currency.
948
+ */
949
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
950
+ /**
951
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
952
+ * is transacting with.
953
+ */
954
+ merchant_acceptor_id: string | null;
955
+ /**
956
+ * The 4-digit MCC describing the merchant's business.
957
+ */
958
+ merchant_category_code: string;
959
+ /**
960
+ * The city the merchant resides in.
961
+ */
962
+ merchant_city: string | null;
963
+ /**
964
+ * The country the merchant resides in.
965
+ */
966
+ merchant_country: string;
967
+ /**
968
+ * The name of the merchant.
969
+ */
970
+ merchant_name: string | null;
971
+ /**
972
+ * The state the merchant resides in.
973
+ */
974
+ merchant_state: string | null;
975
+ /**
976
+ * A constant representing the object's type. For this resource it will always be
977
+ * `card_refund`.
978
+ */
979
+ type: 'card_refund';
980
+ }
981
+ /**
982
+ * A Card Revenue Payment object. This field will be present in the JSON response
983
+ * if and only if `category` is equal to `card_revenue_payment`.
984
+ */
985
+ interface CardRevenuePayment {
986
+ /**
987
+ * The amount in the minor unit of the transaction's currency. For dollars, for
988
+ * example, this is cents.
989
+ */
990
+ amount: number;
991
+ /**
992
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
993
+ * currency.
994
+ */
995
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
996
+ /**
997
+ * The end of the period for which this transaction paid interest.
998
+ */
999
+ period_end: string;
1000
+ /**
1001
+ * The start of the period for which this transaction paid interest.
1002
+ */
1003
+ period_start: string;
1004
+ /**
1005
+ * The account the card belonged to.
1006
+ */
1007
+ transacted_on_account_id: string | null;
1008
+ }
1009
+ /**
1010
+ * A Card Settlement object. This field will be present in the JSON response if and
1011
+ * only if `category` is equal to `card_settlement`.
1012
+ */
1013
+ interface CardSettlement {
1014
+ /**
1015
+ * The Card Settlement identifier.
1016
+ */
1017
+ id: string;
1018
+ /**
1019
+ * The amount in the minor unit of the transaction's settlement currency. For
1020
+ * dollars, for example, this is cents.
1021
+ */
1022
+ amount: number;
1023
+ /**
1024
+ * The Card Authorization that was created prior to this Card Settlement, if on
1025
+ * exists.
1026
+ */
1027
+ card_authorization: string | null;
1028
+ /**
1029
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1030
+ * transaction's settlement currency.
1031
+ */
1032
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1033
+ /**
1034
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
1035
+ * is transacting with.
1036
+ */
1037
+ merchant_acceptor_id: string | null;
1038
+ /**
1039
+ * The 4-digit MCC describing the merchant's business.
1040
+ */
1041
+ merchant_category_code: string;
1042
+ /**
1043
+ * The city the merchant resides in.
1044
+ */
1045
+ merchant_city: string | null;
1046
+ /**
1047
+ * The country the merchant resides in.
1048
+ */
1049
+ merchant_country: string;
1050
+ /**
1051
+ * The name of the merchant.
1052
+ */
1053
+ merchant_name: string | null;
1054
+ /**
1055
+ * The state the merchant resides in.
1056
+ */
1057
+ merchant_state: string | null;
1058
+ /**
1059
+ * The identifier of the Pending Transaction associated with this Transaction.
1060
+ */
1061
+ pending_transaction_id: string | null;
1062
+ /**
1063
+ * The amount in the minor unit of the transaction's presentment currency.
1064
+ */
1065
+ presentment_amount: number;
1066
+ /**
1067
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1068
+ * transaction's presentment currency.
1069
+ */
1070
+ presentment_currency: string;
1071
+ /**
1072
+ * A constant representing the object's type. For this resource it will always be
1073
+ * `card_settlement`.
1074
+ */
1075
+ type: 'card_settlement';
1076
+ }
1077
+ /**
1078
+ * A Check Deposit Acceptance object. This field will be present in the JSON
1079
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
1080
+ */
1081
+ interface CheckDepositAcceptance {
1082
+ /**
1083
+ * The account number printed on the check.
1084
+ */
1085
+ account_number: string;
1086
+ /**
1087
+ * The amount to be deposited in the minor unit of the transaction's currency. For
1088
+ * dollars, for example, this is cents.
1089
+ */
1090
+ amount: number;
1091
+ /**
1092
+ * An additional line of metadata printed on the check. This typically includes the
1093
+ * check number for business checks.
1094
+ */
1095
+ auxiliary_on_us: string | null;
1096
+ /**
1097
+ * The ID of the Check Deposit that was accepted.
1098
+ */
1099
+ check_deposit_id: string;
1100
+ /**
1101
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1102
+ * transaction's currency.
1103
+ */
1104
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1105
+ /**
1106
+ * The routing number printed on the check.
1107
+ */
1108
+ routing_number: string;
1109
+ /**
1110
+ * The check serial number, if present, for consumer checks. For business checks,
1111
+ * the serial number is usually in the `auxiliary_on_us` field.
1112
+ */
1113
+ serial_number: string | null;
1114
+ }
1115
+ /**
1116
+ * A Check Deposit Return object. This field will be present in the JSON response
1117
+ * if and only if `category` is equal to `check_deposit_return`.
1118
+ */
1119
+ interface CheckDepositReturn {
1120
+ /**
1121
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1122
+ * example, this is cents.
1123
+ */
1124
+ amount: number;
1125
+ /**
1126
+ * The identifier of the Check Deposit that was returned.
1127
+ */
1128
+ check_deposit_id: string;
1129
+ /**
1130
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1131
+ * transaction's currency.
1132
+ */
1133
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1134
+ return_reason:
1135
+ | 'ach_conversion_not_supported'
1136
+ | 'closed_account'
1137
+ | 'duplicate_submission'
1138
+ | 'insufficient_funds'
1139
+ | 'no_account'
1140
+ | 'not_authorized'
1141
+ | 'stale_dated'
1142
+ | 'stop_payment'
1143
+ | 'unknown_reason'
1144
+ | 'unmatched_details'
1145
+ | 'unreadable_image'
1146
+ | 'endorsement_irregular';
1147
+ /**
1148
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1149
+ * the check deposit was returned.
1150
+ */
1151
+ returned_at: string;
1152
+ /**
1153
+ * The identifier of the transaction that reversed the original check deposit
1154
+ * transaction.
1155
+ */
1156
+ transaction_id: string;
1157
+ }
1158
+ /**
1159
+ * A Check Transfer Deposit object. This field will be present in the JSON response
1160
+ * if and only if `category` is equal to `check_transfer_deposit`.
1161
+ */
1162
+ interface CheckTransferDeposit {
1163
+ /**
1164
+ * The identifier of the API File object containing an image of the back of the
1165
+ * deposited check.
1166
+ */
1167
+ back_image_file_id: string | null;
1168
+ /**
1169
+ * When the check was deposited.
1170
+ */
1171
+ deposited_at: string;
1172
+ /**
1173
+ * The identifier of the API File object containing an image of the front of the
1174
+ * deposited check.
1175
+ */
1176
+ front_image_file_id: string | null;
1177
+ /**
1178
+ * A constant representing the object's type. For this resource it will always be
1179
+ * `check_transfer_deposit`.
1180
+ */
1181
+ type: 'check_transfer_deposit';
1182
+ }
1183
+ /**
1184
+ * A Check Transfer Intention object. This field will be present in the JSON
1185
+ * response if and only if `category` is equal to `check_transfer_intention`.
1186
+ */
1187
+ interface CheckTransferIntention {
1188
+ /**
1189
+ * The city of the check's destination.
1190
+ */
1191
+ address_city: string | null;
1192
+ /**
1193
+ * The street address of the check's destination.
1194
+ */
1195
+ address_line1: string | null;
1196
+ /**
1197
+ * The second line of the address of the check's destination.
1198
+ */
1199
+ address_line2: string | null;
1200
+ /**
1201
+ * The state of the check's destination.
1202
+ */
1203
+ address_state: string | null;
1204
+ /**
1205
+ * The postal code of the check's destination.
1206
+ */
1207
+ address_zip: string | null;
1208
+ /**
1209
+ * The transfer amount in USD cents.
1210
+ */
1211
+ amount: number;
1212
+ /**
1213
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
1214
+ * currency.
1215
+ */
1216
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1217
+ /**
1218
+ * The name that will be printed on the check.
1219
+ */
1220
+ recipient_name: string | null;
1221
+ /**
1222
+ * The identifier of the Check Transfer with which this is associated.
1223
+ */
1224
+ transfer_id: string;
1225
+ }
1226
+ /**
1227
+ * A Check Transfer Rejection object. This field will be present in the JSON
1228
+ * response if and only if `category` is equal to `check_transfer_rejection`.
1229
+ */
1230
+ interface CheckTransferRejection {
1231
+ /**
1232
+ * The identifier of the Check Transfer that led to this Transaction.
1233
+ */
1234
+ transfer_id: string;
1235
+ }
1236
+ /**
1237
+ * A Check Transfer Return object. This field will be present in the JSON response
1238
+ * if and only if `category` is equal to `check_transfer_return`.
1239
+ */
1240
+ interface CheckTransferReturn {
1241
+ /**
1242
+ * If available, a document with additional information about the return.
1243
+ */
1244
+ file_id: string | null;
1245
+ /**
1246
+ * The reason why the check was returned.
1247
+ */
1248
+ reason: 'mail_delivery_failure' | 'refused_by_recipient' | 'returned_not_authorized';
1249
+ /**
1250
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1251
+ * the check was returned.
1252
+ */
1253
+ returned_at: string;
1254
+ /**
1255
+ * The identifier of the Transaction that was created to credit you for the
1256
+ * returned check.
1257
+ */
1258
+ transaction_id: string | null;
1259
+ /**
1260
+ * The identifier of the returned Check Transfer.
1261
+ */
1262
+ transfer_id: string;
1263
+ }
1264
+ /**
1265
+ * A Check Transfer Stop Payment Request object. This field will be present in the
1266
+ * JSON response if and only if `category` is equal to
1267
+ * `check_transfer_stop_payment_request`.
1268
+ */
1269
+ interface CheckTransferStopPaymentRequest {
1270
+ /**
1271
+ * The time the stop-payment was requested.
1272
+ */
1273
+ requested_at: string;
1274
+ /**
1275
+ * The transaction ID of the corresponding credit transaction.
1276
+ */
1277
+ transaction_id: string;
1278
+ /**
1279
+ * The ID of the check transfer that was stopped.
1280
+ */
1281
+ transfer_id: string;
1282
+ /**
1283
+ * A constant representing the object's type. For this resource it will always be
1284
+ * `check_transfer_stop_payment_request`.
1285
+ */
1286
+ type: 'check_transfer_stop_payment_request';
1287
+ }
1288
+ /**
1289
+ * A Fee Payment object. This field will be present in the JSON response if and
1290
+ * only if `category` is equal to `fee_payment`.
1291
+ */
1292
+ interface FeePayment {
1293
+ /**
1294
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1295
+ * example, this is cents.
1296
+ */
1297
+ amount: number;
1298
+ /**
1299
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1300
+ * currency.
1301
+ */
1302
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1303
+ }
1304
+ /**
1305
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
1306
+ * if and only if `category` is equal to `inbound_ach_transfer`.
1307
+ */
1308
+ interface InboundACHTransfer {
1309
+ /**
1310
+ * The amount in the minor unit of the destination account currency. For dollars,
1311
+ * for example, this is cents.
1312
+ */
1313
+ amount: number;
1314
+ originator_company_descriptive_date: string | null;
1315
+ originator_company_discretionary_data: string | null;
1316
+ originator_company_entry_description: string;
1317
+ originator_company_id: string;
1318
+ originator_company_name: string;
1319
+ receiver_id_number: string | null;
1320
+ receiver_name: string | null;
1321
+ trace_number: string;
1322
+ }
1323
+ /**
1324
+ * A Inbound Check object. This field will be present in the JSON response if and
1325
+ * only if `category` is equal to `inbound_check`.
1326
+ */
1327
+ interface InboundCheck {
1328
+ /**
1329
+ * The amount in the minor unit of the destination account currency. For dollars,
1330
+ * for example, this is cents.
1331
+ */
1332
+ amount: number;
1333
+ check_front_image_file_id: string | null;
1334
+ check_number: string | null;
1335
+ check_rear_image_file_id: string | null;
1336
+ /**
1337
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1338
+ * transaction's currency.
1339
+ */
1340
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1341
+ }
1342
+ /**
1343
+ * A Inbound International ACH Transfer object. This field will be present in the
1344
+ * JSON response if and only if `category` is equal to
1345
+ * `inbound_international_ach_transfer`.
1346
+ */
1347
+ interface InboundInternationalACHTransfer {
1348
+ /**
1349
+ * The amount in the minor unit of the destination account currency. For dollars,
1350
+ * for example, this is cents.
1351
+ */
1352
+ amount: number;
1353
+ destination_country_code: string;
1354
+ destination_currency_code: string;
1355
+ foreign_exchange_indicator: string;
1356
+ foreign_exchange_reference: string | null;
1357
+ foreign_exchange_reference_indicator: string;
1358
+ foreign_payment_amount: number;
1359
+ foreign_trace_number: string | null;
1360
+ international_transaction_type_code: string;
1361
+ originating_currency_code: string;
1362
+ originating_depository_financial_institution_branch_country: string;
1363
+ originating_depository_financial_institution_id: string;
1364
+ originating_depository_financial_institution_id_qualifier: string;
1365
+ originating_depository_financial_institution_name: string;
1366
+ originator_city: string;
1367
+ originator_company_entry_description: string;
1368
+ originator_country: string;
1369
+ originator_identification: string;
1370
+ originator_name: string;
1371
+ originator_postal_code: string | null;
1372
+ originator_state_or_province: string | null;
1373
+ originator_street_address: string;
1374
+ payment_related_information: string | null;
1375
+ payment_related_information2: string | null;
1376
+ receiver_city: string;
1377
+ receiver_country: string;
1378
+ receiver_identification_number: string | null;
1379
+ receiver_postal_code: string | null;
1380
+ receiver_state_or_province: string | null;
1381
+ receiver_street_address: string;
1382
+ receiving_company_or_individual_name: string;
1383
+ receiving_depository_financial_institution_country: string;
1384
+ receiving_depository_financial_institution_id: string;
1385
+ receiving_depository_financial_institution_id_qualifier: string;
1386
+ receiving_depository_financial_institution_name: string;
1387
+ trace_number: string;
1388
+ }
1389
+ /**
1390
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
1391
+ * present in the JSON response if and only if `category` is equal to
1392
+ * `inbound_real_time_payments_transfer_confirmation`.
1393
+ */
1394
+ interface InboundRealTimePaymentsTransferConfirmation {
1395
+ /**
1396
+ * The amount in the minor unit of the transfer's currency. For dollars, for
1397
+ * example, this is cents.
1398
+ */
1399
+ amount: number;
1400
+ /**
1401
+ * The name the sender of the transfer specified as the recipient of the transfer.
1402
+ */
1403
+ creditor_name: string;
1404
+ /**
1405
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
1406
+ * currency. This will always be "USD" for a Real Time Payments transfer.
1407
+ */
1408
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1409
+ /**
1410
+ * The account number of the account that sent the transfer.
1411
+ */
1412
+ debtor_account_number: string;
1413
+ /**
1414
+ * The name provided by the sender of the transfer.
1415
+ */
1416
+ debtor_name: string;
1417
+ /**
1418
+ * The routing number of the account that sent the transfer.
1419
+ */
1420
+ debtor_routing_number: string;
1421
+ /**
1422
+ * Additional information included with the transfer.
1423
+ */
1424
+ remittance_information: string | null;
1425
+ /**
1426
+ * The Real Time Payments network identification of the transfer
1427
+ */
1428
+ transaction_identification: string;
1429
+ }
1430
+ /**
1431
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
1432
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
1433
+ */
1434
+ interface InboundWireDrawdownPayment {
1435
+ /**
1436
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1437
+ * example, this is cents.
1438
+ */
1439
+ amount: number;
1440
+ beneficiary_address_line1: string | null;
1441
+ beneficiary_address_line2: string | null;
1442
+ beneficiary_address_line3: string | null;
1443
+ beneficiary_name: string | null;
1444
+ beneficiary_reference: string | null;
1445
+ description: string;
1446
+ input_message_accountability_data: string | null;
1447
+ originator_address_line1: string | null;
1448
+ originator_address_line2: string | null;
1449
+ originator_address_line3: string | null;
1450
+ originator_name: string | null;
1451
+ originator_to_beneficiary_information: string | null;
1452
+ }
1453
+ /**
1454
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
1455
+ * the JSON response if and only if `category` is equal to
1456
+ * `inbound_wire_drawdown_payment_reversal`.
1457
+ */
1458
+ interface InboundWireDrawdownPaymentReversal {
1459
+ /**
1460
+ * The amount that was reversed.
1461
+ */
1462
+ amount: number;
1463
+ /**
1464
+ * The description on the reversal message from Fedwire.
1465
+ */
1466
+ description: string;
1467
+ /**
1468
+ * The Fedwire cycle date for the wire reversal.
1469
+ */
1470
+ input_cycle_date: string;
1471
+ /**
1472
+ * The Fedwire transaction identifier.
1473
+ */
1474
+ input_message_accountability_data: string;
1475
+ /**
1476
+ * The Fedwire sequence number.
1477
+ */
1478
+ input_sequence_number: string;
1479
+ /**
1480
+ * The Fedwire input source identifier.
1481
+ */
1482
+ input_source: string;
1483
+ /**
1484
+ * The Fedwire cycle date for the wire transfer that was reversed.
1485
+ */
1486
+ previous_message_input_cycle_date: string;
1487
+ /**
1488
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1489
+ */
1490
+ previous_message_input_message_accountability_data: string;
1491
+ /**
1492
+ * The Fedwire sequence number for the wire transfer that was reversed.
1493
+ */
1494
+ previous_message_input_sequence_number: string;
1495
+ /**
1496
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1497
+ */
1498
+ previous_message_input_source: string;
1499
+ }
1500
+ /**
1501
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
1502
+ * if and only if `category` is equal to `inbound_wire_reversal`.
1503
+ */
1504
+ interface InboundWireReversal {
1505
+ /**
1506
+ * The amount that was reversed.
1507
+ */
1508
+ amount: number;
1509
+ /**
1510
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1511
+ * the reversal was created.
1512
+ */
1513
+ created_at: string;
1514
+ /**
1515
+ * The description on the reversal message from Fedwire.
1516
+ */
1517
+ description: string;
1518
+ /**
1519
+ * Additional financial institution information included in the wire reversal.
1520
+ */
1521
+ financial_institution_to_financial_institution_information: string | null;
1522
+ /**
1523
+ * The Fedwire cycle date for the wire reversal.
1524
+ */
1525
+ input_cycle_date: string;
1526
+ /**
1527
+ * The Fedwire transaction identifier.
1528
+ */
1529
+ input_message_accountability_data: string;
1530
+ /**
1531
+ * The Fedwire sequence number.
1532
+ */
1533
+ input_sequence_number: string;
1534
+ /**
1535
+ * The Fedwire input source identifier.
1536
+ */
1537
+ input_source: string;
1538
+ /**
1539
+ * The Fedwire cycle date for the wire transfer that was reversed.
1540
+ */
1541
+ previous_message_input_cycle_date: string;
1542
+ /**
1543
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1544
+ */
1545
+ previous_message_input_message_accountability_data: string;
1546
+ /**
1547
+ * The Fedwire sequence number for the wire transfer that was reversed.
1548
+ */
1549
+ previous_message_input_sequence_number: string;
1550
+ /**
1551
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1552
+ */
1553
+ previous_message_input_source: string;
1554
+ /**
1555
+ * Information included in the wire reversal for the receiving financial
1556
+ * institution.
1557
+ */
1558
+ receiver_financial_institution_information: string | null;
1559
+ /**
1560
+ * The ID for the Transaction associated with the transfer reversal.
1561
+ */
1562
+ transaction_id: string | null;
1563
+ /**
1564
+ * The ID for the Wire Transfer that is being reversed.
1565
+ */
1566
+ wire_transfer_id: string;
1567
+ }
1568
+ /**
1569
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
1570
+ * if and only if `category` is equal to `inbound_wire_transfer`.
1571
+ */
1572
+ interface InboundWireTransfer {
1573
+ /**
1574
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1575
+ * example, this is cents.
1576
+ */
1577
+ amount: number;
1578
+ beneficiary_address_line1: string | null;
1579
+ beneficiary_address_line2: string | null;
1580
+ beneficiary_address_line3: string | null;
1581
+ beneficiary_name: string | null;
1582
+ beneficiary_reference: string | null;
1583
+ description: string;
1584
+ input_message_accountability_data: string | null;
1585
+ originator_address_line1: string | null;
1586
+ originator_address_line2: string | null;
1587
+ originator_address_line3: string | null;
1588
+ originator_name: string | null;
1589
+ originator_to_beneficiary_information: string | null;
1590
+ originator_to_beneficiary_information_line1: string | null;
1591
+ originator_to_beneficiary_information_line2: string | null;
1592
+ originator_to_beneficiary_information_line3: string | null;
1593
+ originator_to_beneficiary_information_line4: string | null;
1594
+ }
1595
+ /**
1596
+ * A Interest Payment object. This field will be present in the JSON response if
1597
+ * and only if `category` is equal to `interest_payment`.
1598
+ */
1599
+ interface InterestPayment {
1600
+ /**
1601
+ * The account on which the interest was accrued.
1602
+ */
1603
+ accrued_on_account_id: string | null;
1604
+ /**
1605
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1606
+ * example, this is cents.
1607
+ */
1608
+ amount: number;
1609
+ /**
1610
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1611
+ * currency.
1612
+ */
1613
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1614
+ /**
1615
+ * The end of the period for which this transaction paid interest.
1616
+ */
1617
+ period_end: string;
1618
+ /**
1619
+ * The start of the period for which this transaction paid interest.
1620
+ */
1621
+ period_start: string;
1622
+ }
1623
+ /**
1624
+ * A Internal Source object. This field will be present in the JSON response if and
1625
+ * only if `category` is equal to `internal_source`.
1626
+ */
1627
+ interface InternalSource {
1628
+ /**
1629
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1630
+ * example, this is cents.
1631
+ */
1632
+ amount: number;
1633
+ /**
1634
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1635
+ * currency.
1636
+ */
1637
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1638
+ reason:
1639
+ | 'account_closure'
1640
+ | 'bank_migration'
1641
+ | 'cashback'
1642
+ | 'collection_receivable'
1643
+ | 'empyreal_adjustment'
1644
+ | 'error'
1645
+ | 'error_correction'
1646
+ | 'fees'
1647
+ | 'interest'
1648
+ | 'negative_balance_forgiveness'
1649
+ | 'sample_funds'
1650
+ | 'sample_funds_return';
1651
+ }
1652
+ /**
1653
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
1654
+ * in the JSON response if and only if `category` is equal to
1655
+ * `real_time_payments_transfer_acknowledgement`.
1656
+ */
1657
+ interface RealTimePaymentsTransferAcknowledgement {
1658
+ /**
1659
+ * The transfer amount in USD cents.
1660
+ */
1661
+ amount: number;
1662
+ /**
1663
+ * The destination account number.
1664
+ */
1665
+ destination_account_number: string;
1666
+ /**
1667
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
1668
+ */
1669
+ destination_routing_number: string;
1670
+ /**
1671
+ * Unstructured information that will show on the recipient's bank statement.
1672
+ */
1673
+ remittance_information: string;
1674
+ /**
1675
+ * The identifier of the Real Time Payments Transfer that led to this Transaction.
1676
+ */
1677
+ transfer_id: string;
1678
+ }
1679
+ /**
1680
+ * A Sample Funds object. This field will be present in the JSON response if and
1681
+ * only if `category` is equal to `sample_funds`.
1682
+ */
1683
+ interface SampleFunds {
1684
+ /**
1685
+ * Where the sample funds came from.
1686
+ */
1687
+ originator: string;
1688
+ }
1689
+ /**
1690
+ * A Wire Transfer Intention object. This field will be present in the JSON
1691
+ * response if and only if `category` is equal to `wire_transfer_intention`.
1692
+ */
1693
+ interface WireTransferIntention {
1694
+ /**
1695
+ * The destination account number.
1696
+ */
1697
+ account_number: string;
1698
+ /**
1699
+ * The transfer amount in USD cents.
1700
+ */
1701
+ amount: number;
1702
+ /**
1703
+ * The message that will show on the recipient's bank statement.
1704
+ */
1705
+ message_to_recipient: string;
1706
+ /**
1707
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
1708
+ */
1709
+ routing_number: string;
1710
+ transfer_id: string;
1711
+ }
1712
+ /**
1713
+ * A Wire Transfer Rejection object. This field will be present in the JSON
1714
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
1715
+ */
1716
+ interface WireTransferRejection {
1717
+ transfer_id: string;
1718
+ }
1719
+ }
1720
+ }
1721
+ }
1722
+ export interface ACHTransferCreateInboundParams {
1723
+ /**
1724
+ * The identifier of the Account Number the inbound ACH Transfer is for.
1725
+ */
1726
+ account_number_id: string;
1727
+ /**
1728
+ * The transfer amount in cents. A positive amount originates a credit transfer
1729
+ * pushing funds to the receiving account. A negative amount originates a debit
1730
+ * transfer pulling funds from the receiving account.
1731
+ */
1732
+ amount: number;
1733
+ /**
1734
+ * The description of the date of the transfer.
1735
+ */
1736
+ company_descriptive_date?: string;
1737
+ /**
1738
+ * Data associated with the transfer set by the sender.
1739
+ */
1740
+ company_discretionary_data?: string;
1741
+ /**
1742
+ * The description of the transfer set by the sender.
1743
+ */
1744
+ company_entry_description?: string;
1745
+ /**
1746
+ * The sender's company id.
1747
+ */
1748
+ company_id?: string;
1749
+ /**
1750
+ * The name of the sender.
1751
+ */
1752
+ company_name?: string;
1753
+ }
1754
+ export interface ACHTransferReturnParams {
1755
+ /**
1756
+ * The reason why the Federal Reserve or destination bank returned this transfer.
1757
+ * Defaults to `no_account`.
1758
+ */
1759
+ reason?:
1760
+ | 'insufficient_fund'
1761
+ | 'no_account'
1762
+ | 'account_closed'
1763
+ | 'invalid_account_number_structure'
1764
+ | 'account_frozen_entry_returned_per_ofac_instruction'
1765
+ | 'credit_entry_refused_by_receiver'
1766
+ | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
1767
+ | 'corporate_customer_advised_not_authorized'
1768
+ | 'payment_stopped'
1769
+ | 'non_transaction_account'
1770
+ | 'uncollected_funds'
1771
+ | 'routing_number_check_digit_error'
1772
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
1773
+ | 'amount_field_error'
1774
+ | 'authorization_revoked_by_customer'
1775
+ | 'invalid_ach_routing_number'
1776
+ | 'file_record_edit_criteria'
1777
+ | 'enr_invalid_individual_name'
1778
+ | 'returned_per_odfi_request'
1779
+ | 'limited_participation_dfi'
1780
+ | 'incorrectly_coded_outbound_international_payment'
1781
+ | 'account_sold_to_another_dfi'
1782
+ | 'addenda_error'
1783
+ | 'beneficiary_or_account_holder_deceased'
1784
+ | 'customer_advised_not_within_authorization_terms'
1785
+ | 'corrected_return'
1786
+ | 'duplicate_entry'
1787
+ | 'duplicate_return'
1788
+ | 'enr_duplicate_enrollment'
1789
+ | 'enr_invalid_dfi_account_number'
1790
+ | 'enr_invalid_individual_id_number'
1791
+ | 'enr_invalid_representative_payee_indicator'
1792
+ | 'enr_invalid_transaction_code'
1793
+ | 'enr_return_of_enr_entry'
1794
+ | 'enr_routing_number_check_digit_error'
1795
+ | 'entry_not_processed_by_gateway'
1796
+ | 'field_error'
1797
+ | 'foreign_receiving_dfi_unable_to_settle'
1798
+ | 'iat_entry_coding_error'
1799
+ | 'improper_effective_entry_date'
1800
+ | 'improper_source_document_source_document_presented'
1801
+ | 'invalid_company_id'
1802
+ | 'invalid_foreign_receiving_dfi_identification'
1803
+ | 'invalid_individual_id_number'
1804
+ | 'item_and_rck_entry_presented_for_payment'
1805
+ | 'item_related_to_rck_entry_is_ineligible'
1806
+ | 'mandatory_field_error'
1807
+ | 'misrouted_dishonored_return'
1808
+ | 'misrouted_return'
1809
+ | 'no_errors_found'
1810
+ | 'non_acceptance_of_r62_dishonored_return'
1811
+ | 'non_participant_in_iat_program'
1812
+ | 'permissible_return_entry'
1813
+ | 'permissible_return_entry_not_accepted'
1814
+ | 'rdfi_non_settlement'
1815
+ | 'rdfi_participant_in_check_truncation_program'
1816
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
1817
+ | 'return_not_a_duplicate'
1818
+ | 'return_of_erroneous_or_reversing_debit'
1819
+ | 'return_of_improper_credit_entry'
1820
+ | 'return_of_improper_debit_entry'
1821
+ | 'return_of_xck_entry'
1822
+ | 'source_document_presented_for_payment'
1823
+ | 'state_law_affecting_rck_acceptance'
1824
+ | 'stop_payment_on_item_related_to_rck_entry'
1825
+ | 'stop_payment_on_source_document'
1826
+ | 'timely_original_return'
1827
+ | 'trace_number_error'
1828
+ | 'untimely_dishonored_return'
1829
+ | 'untimely_return';
1830
+ }
1831
+ export declare namespace ACHTransfers {
1832
+ export import ACHTransferSimulation = API.ACHTransferSimulation;
1833
+ export import ACHTransferCreateInboundParams = API.ACHTransferCreateInboundParams;
1834
+ export import ACHTransferReturnParams = API.ACHTransferReturnParams;
1835
+ }
1836
+ //# sourceMappingURL=ach-transfers.d.ts.map