increase 0.4.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 +41 -0
  2. package/README.md +20 -5
  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 +34 -87
  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/programs.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/documents.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/card-refunds.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 +6 -17
  80. package/dist/cjs/core.d.ts.map +1 -1
  81. package/dist/cjs/core.js +45 -74
  82. package/dist/cjs/core.js.map +1 -1
  83. package/dist/cjs/error.js +28 -28
  84. package/dist/cjs/error.js.map +1 -1
  85. package/dist/cjs/index.d.ts +43 -3
  86. package/dist/cjs/index.d.ts.map +1 -1
  87. package/dist/cjs/index.js +48 -4
  88. package/dist/cjs/index.js.map +1 -1
  89. package/dist/cjs/pagination.d.ts +3 -1
  90. package/dist/cjs/pagination.d.ts.map +1 -1
  91. package/dist/cjs/pagination.js.map +1 -1
  92. package/dist/cjs/resources/account-numbers.d.ts +12 -4
  93. package/dist/cjs/resources/account-numbers.d.ts.map +1 -1
  94. package/dist/cjs/resources/account-numbers.js +44 -0
  95. package/dist/cjs/resources/account-numbers.js.map +1 -1
  96. package/dist/cjs/resources/account-statements.d.ts +10 -4
  97. package/dist/cjs/resources/account-statements.d.ts.map +1 -1
  98. package/dist/cjs/resources/account-statements.js +44 -0
  99. package/dist/cjs/resources/account-statements.js.map +1 -1
  100. package/dist/cjs/resources/account-transfers.d.ts +11 -4
  101. package/dist/cjs/resources/account-transfers.d.ts.map +1 -1
  102. package/dist/cjs/resources/account-transfers.js +44 -0
  103. package/dist/cjs/resources/account-transfers.js.map +1 -1
  104. package/dist/cjs/resources/accounts.d.ts +12 -4
  105. package/dist/cjs/resources/accounts.d.ts.map +1 -1
  106. package/dist/cjs/resources/accounts.js +44 -0
  107. package/dist/cjs/resources/accounts.js.map +1 -1
  108. package/dist/cjs/resources/ach-prenotifications.d.ts +11 -4
  109. package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -1
  110. package/dist/cjs/resources/ach-prenotifications.js +44 -0
  111. package/dist/cjs/resources/ach-prenotifications.js.map +1 -1
  112. package/dist/cjs/resources/ach-transfers.d.ts +11 -5
  113. package/dist/cjs/resources/ach-transfers.d.ts.map +1 -1
  114. package/dist/cjs/resources/ach-transfers.js +44 -0
  115. package/dist/cjs/resources/ach-transfers.js.map +1 -1
  116. package/dist/cjs/resources/balance-lookups.d.ts +5 -0
  117. package/dist/cjs/resources/balance-lookups.d.ts.map +1 -1
  118. package/dist/cjs/resources/balance-lookups.js +1 -0
  119. package/dist/cjs/resources/balance-lookups.js.map +1 -1
  120. package/dist/cjs/resources/bookkeeping-accounts.d.ts +11 -4
  121. package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -1
  122. package/dist/cjs/resources/bookkeeping-accounts.js +44 -0
  123. package/dist/cjs/resources/bookkeeping-accounts.js.map +1 -1
  124. package/dist/cjs/resources/bookkeeping-entries.d.ts +10 -4
  125. package/dist/cjs/resources/bookkeeping-entries.d.ts.map +1 -1
  126. package/dist/cjs/resources/bookkeeping-entries.js +44 -0
  127. package/dist/cjs/resources/bookkeeping-entries.js.map +1 -1
  128. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +17 -12
  129. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  130. package/dist/cjs/resources/bookkeeping-entry-sets.js +3 -0
  131. package/dist/cjs/resources/bookkeeping-entry-sets.js.map +1 -1
  132. package/dist/cjs/resources/card-disputes.d.ts +11 -4
  133. package/dist/cjs/resources/card-disputes.d.ts.map +1 -1
  134. package/dist/cjs/resources/card-disputes.js +44 -0
  135. package/dist/cjs/resources/card-disputes.js.map +1 -1
  136. package/dist/cjs/resources/card-profiles.d.ts +11 -4
  137. package/dist/cjs/resources/card-profiles.d.ts.map +1 -1
  138. package/dist/cjs/resources/card-profiles.js +44 -0
  139. package/dist/cjs/resources/card-profiles.js.map +1 -1
  140. package/dist/cjs/resources/cards.d.ts +15 -6
  141. package/dist/cjs/resources/cards.d.ts.map +1 -1
  142. package/dist/cjs/resources/cards.js +44 -0
  143. package/dist/cjs/resources/cards.js.map +1 -1
  144. package/dist/cjs/resources/check-deposits.d.ts +11 -4
  145. package/dist/cjs/resources/check-deposits.d.ts.map +1 -1
  146. package/dist/cjs/resources/check-deposits.js +44 -0
  147. package/dist/cjs/resources/check-deposits.js.map +1 -1
  148. package/dist/cjs/resources/check-transfers.d.ts +83 -75
  149. package/dist/cjs/resources/check-transfers.d.ts.map +1 -1
  150. package/dist/cjs/resources/check-transfers.js +44 -0
  151. package/dist/cjs/resources/check-transfers.js.map +1 -1
  152. package/dist/cjs/resources/declined-transactions.d.ts +10 -4
  153. package/dist/cjs/resources/declined-transactions.d.ts.map +1 -1
  154. package/dist/cjs/resources/declined-transactions.js +44 -0
  155. package/dist/cjs/resources/declined-transactions.js.map +1 -1
  156. package/dist/cjs/resources/digital-wallet-tokens.d.ts +10 -4
  157. package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -1
  158. package/dist/cjs/resources/digital-wallet-tokens.js +44 -0
  159. package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -1
  160. package/dist/cjs/resources/documents.d.ts +12 -105
  161. package/dist/cjs/resources/documents.d.ts.map +1 -1
  162. package/dist/cjs/resources/documents.js +44 -0
  163. package/dist/cjs/resources/documents.js.map +1 -1
  164. package/dist/cjs/resources/entities/entities.d.ts +291 -279
  165. package/dist/cjs/resources/entities/entities.d.ts.map +1 -1
  166. package/dist/cjs/resources/entities/entities.js +46 -0
  167. package/dist/cjs/resources/entities/entities.js.map +1 -1
  168. package/dist/cjs/resources/entities/index.d.ts +2 -1
  169. package/dist/cjs/resources/entities/index.d.ts.map +1 -1
  170. package/dist/cjs/resources/entities/index.js +17 -1
  171. package/dist/cjs/resources/entities/index.js.map +1 -1
  172. package/dist/cjs/resources/entities/supplemental-documents.d.ts +7 -0
  173. package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
  174. package/dist/cjs/resources/entities/supplemental-documents.js +44 -0
  175. package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
  176. package/dist/cjs/resources/event-subscriptions.d.ts +12 -4
  177. package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -1
  178. package/dist/cjs/resources/event-subscriptions.js +44 -0
  179. package/dist/cjs/resources/event-subscriptions.js.map +1 -1
  180. package/dist/cjs/resources/events.d.ts +10 -4
  181. package/dist/cjs/resources/events.d.ts.map +1 -1
  182. package/dist/cjs/resources/events.js +44 -0
  183. package/dist/cjs/resources/events.js.map +1 -1
  184. package/dist/cjs/resources/exports.d.ts +11 -4
  185. package/dist/cjs/resources/exports.d.ts.map +1 -1
  186. package/dist/cjs/resources/exports.js +44 -0
  187. package/dist/cjs/resources/exports.js.map +1 -1
  188. package/dist/cjs/resources/external-accounts.d.ts +12 -4
  189. package/dist/cjs/resources/external-accounts.d.ts.map +1 -1
  190. package/dist/cjs/resources/external-accounts.js +44 -0
  191. package/dist/cjs/resources/external-accounts.js.map +1 -1
  192. package/dist/cjs/resources/files.d.ts +19 -6
  193. package/dist/cjs/resources/files.d.ts.map +1 -1
  194. package/dist/cjs/resources/files.js +82 -2
  195. package/dist/cjs/resources/files.js.map +1 -1
  196. package/dist/cjs/resources/groups.d.ts +8 -4
  197. package/dist/cjs/resources/groups.d.ts.map +1 -1
  198. package/dist/cjs/resources/groups.js +1 -0
  199. package/dist/cjs/resources/groups.js.map +1 -1
  200. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +7 -0
  201. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
  202. package/dist/cjs/resources/inbound-ach-transfer-returns.js +46 -0
  203. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -1
  204. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +10 -4
  205. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  206. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +47 -0
  207. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -1
  208. package/dist/cjs/resources/limits.d.ts +8 -0
  209. package/dist/cjs/resources/limits.d.ts.map +1 -1
  210. package/dist/cjs/resources/limits.js +44 -0
  211. package/dist/cjs/resources/limits.js.map +1 -1
  212. package/dist/cjs/resources/oauth-connections.d.ts +10 -4
  213. package/dist/cjs/resources/oauth-connections.d.ts.map +1 -1
  214. package/dist/cjs/resources/oauth-connections.js +44 -0
  215. package/dist/cjs/resources/oauth-connections.js.map +1 -1
  216. package/dist/cjs/resources/pending-transactions.d.ts +14 -8
  217. package/dist/cjs/resources/pending-transactions.d.ts.map +1 -1
  218. package/dist/cjs/resources/pending-transactions.js +44 -0
  219. package/dist/cjs/resources/pending-transactions.js.map +1 -1
  220. package/dist/cjs/resources/programs.d.ts +10 -4
  221. package/dist/cjs/resources/programs.d.ts.map +1 -1
  222. package/dist/cjs/resources/programs.js +44 -0
  223. package/dist/cjs/resources/programs.js.map +1 -1
  224. package/dist/cjs/resources/real-time-decisions.d.ts +33 -28
  225. package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -1
  226. package/dist/cjs/resources/real-time-decisions.js +3 -0
  227. package/dist/cjs/resources/real-time-decisions.js.map +1 -1
  228. package/dist/cjs/resources/real-time-payments-transfers.d.ts +26 -19
  229. package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -1
  230. package/dist/cjs/resources/real-time-payments-transfers.js +46 -0
  231. package/dist/cjs/resources/real-time-payments-transfers.js.map +1 -1
  232. package/dist/cjs/resources/routing-numbers.d.ts +6 -0
  233. package/dist/cjs/resources/routing-numbers.d.ts.map +1 -1
  234. package/dist/cjs/resources/routing-numbers.js +44 -0
  235. package/dist/cjs/resources/routing-numbers.js.map +1 -1
  236. package/dist/cjs/resources/simulations/account-statements.d.ts +4 -0
  237. package/dist/cjs/resources/simulations/account-statements.d.ts.map +1 -1
  238. package/dist/cjs/resources/simulations/account-statements.js +3 -0
  239. package/dist/cjs/resources/simulations/account-statements.js.map +1 -1
  240. package/dist/cjs/resources/simulations/ach-transfers.d.ts +1236 -1201
  241. package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -1
  242. package/dist/cjs/resources/simulations/ach-transfers.js +1 -0
  243. package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -1
  244. package/dist/cjs/resources/simulations/card-disputes.d.ts +4 -0
  245. package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -1
  246. package/dist/cjs/resources/simulations/card-disputes.js +1 -0
  247. package/dist/cjs/resources/simulations/card-disputes.js.map +1 -1
  248. package/dist/cjs/resources/simulations/card-refunds.d.ts +4 -0
  249. package/dist/cjs/resources/simulations/card-refunds.d.ts.map +1 -1
  250. package/dist/cjs/resources/simulations/card-refunds.js +1 -0
  251. package/dist/cjs/resources/simulations/card-refunds.js.map +1 -1
  252. package/dist/cjs/resources/simulations/cards.d.ts +453 -447
  253. package/dist/cjs/resources/simulations/cards.d.ts.map +1 -1
  254. package/dist/cjs/resources/simulations/cards.js +1 -0
  255. package/dist/cjs/resources/simulations/cards.js.map +1 -1
  256. package/dist/cjs/resources/simulations/check-transfers.d.ts +4 -0
  257. package/dist/cjs/resources/simulations/check-transfers.d.ts.map +1 -1
  258. package/dist/cjs/resources/simulations/check-transfers.js +1 -0
  259. package/dist/cjs/resources/simulations/check-transfers.js.map +1 -1
  260. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +5 -0
  261. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  262. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +4 -0
  263. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  264. package/dist/cjs/resources/simulations/documents.d.ts +4 -0
  265. package/dist/cjs/resources/simulations/documents.d.ts.map +1 -1
  266. package/dist/cjs/resources/simulations/documents.js +1 -0
  267. package/dist/cjs/resources/simulations/documents.js.map +1 -1
  268. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -0
  269. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  270. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +4 -0
  271. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  272. package/dist/cjs/resources/simulations/index.d.ts +23 -10
  273. package/dist/cjs/resources/simulations/index.d.ts.map +1 -1
  274. package/dist/cjs/resources/simulations/index.js +129 -0
  275. package/dist/cjs/resources/simulations/index.js.map +1 -1
  276. package/dist/cjs/resources/simulations/interest-payments.d.ts +117 -82
  277. package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -1
  278. package/dist/cjs/resources/simulations/interest-payments.js +3 -0
  279. package/dist/cjs/resources/simulations/interest-payments.js.map +1 -1
  280. package/dist/cjs/resources/simulations/programs.d.ts +4 -0
  281. package/dist/cjs/resources/simulations/programs.d.ts.map +1 -1
  282. package/dist/cjs/resources/simulations/programs.js +1 -0
  283. package/dist/cjs/resources/simulations/programs.js.map +1 -1
  284. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1236 -1200
  285. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  286. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +3 -0
  287. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -1
  288. package/dist/cjs/resources/simulations/simulations.d.ts +40 -0
  289. package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
  290. package/dist/cjs/resources/simulations/simulations.js +58 -0
  291. package/dist/cjs/resources/simulations/simulations.js.map +1 -1
  292. package/dist/cjs/resources/simulations/wire-transfers.d.ts +117 -82
  293. package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -1
  294. package/dist/cjs/resources/simulations/wire-transfers.js +1 -0
  295. package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -1
  296. package/dist/cjs/resources/transactions.d.ts +122 -85
  297. package/dist/cjs/resources/transactions.d.ts.map +1 -1
  298. package/dist/cjs/resources/transactions.js +44 -0
  299. package/dist/cjs/resources/transactions.js.map +1 -1
  300. package/dist/cjs/resources/wire-drawdown-requests.d.ts +11 -4
  301. package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -1
  302. package/dist/cjs/resources/wire-drawdown-requests.js +44 -0
  303. package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -1
  304. package/dist/cjs/resources/wire-transfers.d.ts +11 -4
  305. package/dist/cjs/resources/wire-transfers.d.ts.map +1 -1
  306. package/dist/cjs/resources/wire-transfers.js +44 -0
  307. package/dist/cjs/resources/wire-transfers.js.map +1 -1
  308. package/dist/cjs/streaming.d.ts +1 -2
  309. package/dist/cjs/streaming.d.ts.map +1 -1
  310. package/dist/cjs/streaming.js +2 -0
  311. package/dist/cjs/streaming.js.map +1 -1
  312. package/dist/cjs/uploads.d.ts +24 -0
  313. package/dist/cjs/uploads.d.ts.map +1 -0
  314. package/dist/cjs/uploads.js +121 -0
  315. package/dist/cjs/uploads.js.map +1 -0
  316. package/dist/cjs/version.d.ts +1 -1
  317. package/dist/cjs/version.js +1 -1
  318. package/dist/esm/_shims/agent.d.ts +9 -0
  319. package/dist/esm/_shims/agent.d.ts.map +1 -0
  320. package/dist/esm/_shims/agent.js +10 -0
  321. package/dist/esm/_shims/agent.js.map +1 -0
  322. package/dist/esm/_shims/agent.node.d.ts +6 -0
  323. package/dist/esm/_shims/agent.node.d.ts.map +1 -0
  324. package/dist/esm/_shims/agent.node.js +16 -0
  325. package/dist/esm/_shims/agent.node.js.map +1 -0
  326. package/dist/esm/_shims/fetch.d.ts +19 -0
  327. package/dist/esm/_shims/fetch.d.ts.map +1 -0
  328. package/dist/esm/_shims/fetch.js +18 -0
  329. package/dist/esm/_shims/fetch.js.map +1 -0
  330. package/dist/esm/_shims/fetch.node.d.ts +9 -0
  331. package/dist/esm/_shims/fetch.node.d.ts.map +1 -0
  332. package/dist/esm/_shims/fetch.node.js +7 -0
  333. package/dist/esm/_shims/fetch.node.js.map +1 -0
  334. package/dist/esm/_shims/fileFromPath.d.ts +23 -0
  335. package/dist/esm/_shims/fileFromPath.d.ts.map +1 -0
  336. package/dist/esm/_shims/fileFromPath.js +12 -0
  337. package/dist/esm/_shims/fileFromPath.js.map +1 -0
  338. package/dist/esm/_shims/fileFromPath.node.d.ts +18 -0
  339. package/dist/esm/_shims/fileFromPath.node.d.ts.map +1 -0
  340. package/dist/esm/_shims/fileFromPath.node.js +13 -0
  341. package/dist/esm/_shims/fileFromPath.node.js.map +1 -0
  342. package/dist/esm/_shims/formdata.d.ts +13 -0
  343. package/dist/esm/_shims/formdata.d.ts.map +1 -0
  344. package/dist/esm/_shims/formdata.js +15 -0
  345. package/dist/esm/_shims/formdata.js.map +1 -0
  346. package/dist/esm/_shims/formdata.node.d.ts +7 -0
  347. package/dist/esm/_shims/formdata.node.d.ts.map +1 -0
  348. package/dist/esm/_shims/formdata.node.js +7 -0
  349. package/dist/esm/_shims/formdata.node.js.map +1 -0
  350. package/dist/esm/_shims/getMultipartRequestOptions.d.ts +10 -0
  351. package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  352. package/dist/esm/_shims/getMultipartRequestOptions.js +7 -0
  353. package/dist/esm/_shims/getMultipartRequestOptions.js.map +1 -0
  354. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts +10 -0
  355. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  356. package/dist/esm/_shims/getMultipartRequestOptions.node.js +17 -0
  357. package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +1 -0
  358. package/dist/esm/_shims/newFileArgs.d.ts +19 -0
  359. package/dist/esm/_shims/newFileArgs.d.ts.map +1 -0
  360. package/dist/esm/_shims/newFileArgs.js +66 -0
  361. package/dist/esm/_shims/newFileArgs.js.map +1 -0
  362. package/dist/esm/_shims/toFile.d.ts +21 -0
  363. package/dist/esm/_shims/toFile.d.ts.map +1 -0
  364. package/dist/esm/_shims/toFile.js +19 -0
  365. package/dist/esm/_shims/toFile.js.map +1 -0
  366. package/dist/esm/_shims/toFile.node.d.ts +20 -0
  367. package/dist/esm/_shims/toFile.node.d.ts.map +1 -0
  368. package/dist/esm/_shims/toFile.node.js +19 -0
  369. package/dist/esm/_shims/toFile.node.js.map +1 -0
  370. package/dist/esm/_shims/uploadable.d.ts +56 -0
  371. package/dist/esm/_shims/uploadable.d.ts.map +1 -0
  372. package/dist/esm/_shims/uploadable.js +30 -0
  373. package/dist/esm/_shims/uploadable.js.map +1 -0
  374. package/dist/esm/_shims/uploadable.node.d.ts +7 -0
  375. package/dist/esm/_shims/uploadable.node.d.ts.map +1 -0
  376. package/dist/esm/_shims/uploadable.node.js +10 -0
  377. package/dist/esm/_shims/uploadable.node.js.map +1 -0
  378. package/dist/esm/check-version.d.ts +2 -0
  379. package/dist/esm/check-version.d.ts.map +1 -0
  380. package/dist/esm/check-version.js +16 -0
  381. package/dist/esm/check-version.js.map +1 -0
  382. package/dist/esm/core.d.ts +221 -0
  383. package/dist/esm/core.d.ts.map +1 -0
  384. package/dist/esm/core.js +556 -0
  385. package/dist/esm/core.js.map +1 -0
  386. package/dist/esm/error.d.ts +208 -0
  387. package/dist/esm/error.d.ts.map +1 -0
  388. package/dist/esm/error.js +275 -0
  389. package/dist/esm/error.js.map +1 -0
  390. package/dist/esm/index.d.ts +301 -0
  391. package/dist/esm/index.d.ts.map +1 -0
  392. package/dist/esm/index.js +213 -0
  393. package/dist/esm/index.js.map +1 -0
  394. package/dist/esm/package.json +3 -0
  395. package/dist/esm/pagination.d.ts +34 -0
  396. package/dist/esm/pagination.d.ts.map +1 -0
  397. package/dist/esm/pagination.js +26 -0
  398. package/dist/esm/pagination.js.map +1 -0
  399. package/dist/esm/resource.d.ts +12 -0
  400. package/dist/esm/resource.d.ts.map +1 -0
  401. package/dist/esm/resource.js +13 -0
  402. package/dist/esm/resource.js.map +1 -0
  403. package/dist/esm/resources/account-numbers.d.ts +137 -0
  404. package/dist/esm/resources/account-numbers.d.ts.map +1 -0
  405. package/dist/esm/resources/account-numbers.js +36 -0
  406. package/dist/esm/resources/account-numbers.js.map +1 -0
  407. package/dist/esm/resources/account-statements.d.ts +106 -0
  408. package/dist/esm/resources/account-statements.d.ts.map +1 -0
  409. package/dist/esm/resources/account-statements.js +24 -0
  410. package/dist/esm/resources/account-statements.js.map +1 -0
  411. package/dist/esm/resources/account-transfers.d.ts +205 -0
  412. package/dist/esm/resources/account-transfers.d.ts.map +1 -0
  413. package/dist/esm/resources/account-transfers.js +42 -0
  414. package/dist/esm/resources/account-transfers.js.map +1 -0
  415. package/dist/esm/resources/accounts.d.ts +163 -0
  416. package/dist/esm/resources/accounts.d.ts.map +1 -0
  417. package/dist/esm/resources/accounts.js +42 -0
  418. package/dist/esm/resources/accounts.js.map +1 -0
  419. package/dist/esm/resources/ach-prenotifications.d.ts +199 -0
  420. package/dist/esm/resources/ach-prenotifications.d.ts.map +1 -0
  421. package/dist/esm/resources/ach-prenotifications.js +30 -0
  422. package/dist/esm/resources/ach-prenotifications.js.map +1 -0
  423. package/dist/esm/resources/ach-transfers.d.ts +461 -0
  424. package/dist/esm/resources/ach-transfers.d.ts.map +1 -0
  425. package/dist/esm/resources/ach-transfers.js +42 -0
  426. package/dist/esm/resources/ach-transfers.js.map +1 -0
  427. package/dist/esm/resources/balance-lookups.d.ts +52 -0
  428. package/dist/esm/resources/balance-lookups.d.ts.map +1 -0
  429. package/dist/esm/resources/balance-lookups.js +12 -0
  430. package/dist/esm/resources/balance-lookups.js.map +1 -0
  431. package/dist/esm/resources/bookkeeping-accounts.d.ts +78 -0
  432. package/dist/esm/resources/bookkeeping-accounts.d.ts.map +1 -0
  433. package/dist/esm/resources/bookkeeping-accounts.js +24 -0
  434. package/dist/esm/resources/bookkeeping-accounts.js.map +1 -0
  435. package/dist/esm/resources/bookkeeping-entries.d.ts +49 -0
  436. package/dist/esm/resources/bookkeeping-entries.d.ts.map +1 -0
  437. package/dist/esm/resources/bookkeeping-entries.js +18 -0
  438. package/dist/esm/resources/bookkeeping-entries.js.map +1 -0
  439. package/dist/esm/resources/bookkeeping-entry-sets.d.ts +88 -0
  440. package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +1 -0
  441. package/dist/esm/resources/bookkeeping-entry-sets.js +12 -0
  442. package/dist/esm/resources/bookkeeping-entry-sets.js.map +1 -0
  443. package/dist/esm/resources/card-disputes.d.ts +160 -0
  444. package/dist/esm/resources/card-disputes.d.ts.map +1 -0
  445. package/dist/esm/resources/card-disputes.js +30 -0
  446. package/dist/esm/resources/card-disputes.js.map +1 -0
  447. package/dist/esm/resources/card-profiles.d.ts +206 -0
  448. package/dist/esm/resources/card-profiles.d.ts.map +1 -0
  449. package/dist/esm/resources/card-profiles.js +30 -0
  450. package/dist/esm/resources/card-profiles.js.map +1 -0
  451. package/dist/esm/resources/cards.d.ts +354 -0
  452. package/dist/esm/resources/cards.d.ts.map +1 -0
  453. package/dist/esm/resources/cards.js +42 -0
  454. package/dist/esm/resources/cards.js.map +1 -0
  455. package/dist/esm/resources/check-deposits.d.ts +263 -0
  456. package/dist/esm/resources/check-deposits.d.ts.map +1 -0
  457. package/dist/esm/resources/check-deposits.js +30 -0
  458. package/dist/esm/resources/check-deposits.js.map +1 -0
  459. package/dist/esm/resources/check-transfers.d.ts +438 -0
  460. package/dist/esm/resources/check-transfers.d.ts.map +1 -0
  461. package/dist/esm/resources/check-transfers.js +48 -0
  462. package/dist/esm/resources/check-transfers.js.map +1 -0
  463. package/dist/esm/resources/declined-transactions.d.ts +492 -0
  464. package/dist/esm/resources/declined-transactions.d.ts.map +1 -0
  465. package/dist/esm/resources/declined-transactions.js +24 -0
  466. package/dist/esm/resources/declined-transactions.js.map +1 -0
  467. package/dist/esm/resources/digital-wallet-tokens.d.ts +92 -0
  468. package/dist/esm/resources/digital-wallet-tokens.d.ts.map +1 -0
  469. package/dist/esm/resources/digital-wallet-tokens.js +24 -0
  470. package/dist/esm/resources/digital-wallet-tokens.js.map +1 -0
  471. package/dist/esm/resources/documents.d.ts +95 -0
  472. package/dist/esm/resources/documents.d.ts.map +1 -0
  473. package/dist/esm/resources/documents.js +24 -0
  474. package/dist/esm/resources/documents.js.map +1 -0
  475. package/dist/esm/resources/entities/entities.d.ts +1622 -0
  476. package/dist/esm/resources/entities/entities.d.ts.map +1 -0
  477. package/dist/esm/resources/entities/entities.js +37 -0
  478. package/dist/esm/resources/entities/entities.js.map +1 -0
  479. package/dist/esm/resources/entities/index.d.ts +9 -0
  480. package/dist/esm/resources/entities/index.d.ts.map +1 -0
  481. package/dist/esm/resources/entities/index.js +4 -0
  482. package/dist/esm/resources/entities/index.js.map +1 -0
  483. package/dist/esm/resources/entities/supplemental-documents.d.ts +62 -0
  484. package/dist/esm/resources/entities/supplemental-documents.d.ts.map +1 -0
  485. package/dist/esm/resources/entities/supplemental-documents.js +26 -0
  486. package/dist/esm/resources/entities/supplemental-documents.js.map +1 -0
  487. package/dist/esm/resources/event-subscriptions.d.ts +209 -0
  488. package/dist/esm/resources/event-subscriptions.d.ts.map +1 -0
  489. package/dist/esm/resources/event-subscriptions.js +36 -0
  490. package/dist/esm/resources/event-subscriptions.js.map +1 -0
  491. package/dist/esm/resources/events.d.ts +195 -0
  492. package/dist/esm/resources/events.d.ts.map +1 -0
  493. package/dist/esm/resources/events.js +24 -0
  494. package/dist/esm/resources/events.js.map +1 -0
  495. package/dist/esm/resources/exports.d.ts +169 -0
  496. package/dist/esm/resources/exports.d.ts.map +1 -0
  497. package/dist/esm/resources/exports.js +30 -0
  498. package/dist/esm/resources/exports.js.map +1 -0
  499. package/dist/esm/resources/external-accounts.d.ts +131 -0
  500. package/dist/esm/resources/external-accounts.d.ts.map +1 -0
  501. package/dist/esm/resources/external-accounts.js +36 -0
  502. package/dist/esm/resources/external-accounts.js.map +1 -0
  503. package/dist/esm/resources/files.d.ts +167 -0
  504. package/dist/esm/resources/files.d.ts.map +1 -0
  505. package/dist/esm/resources/files.js +33 -0
  506. package/dist/esm/resources/files.js.map +1 -0
  507. package/dist/esm/resources/groups.d.ts +42 -0
  508. package/dist/esm/resources/groups.d.ts.map +1 -0
  509. package/dist/esm/resources/groups.js +12 -0
  510. package/dist/esm/resources/groups.js.map +1 -0
  511. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +117 -0
  512. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
  513. package/dist/esm/resources/inbound-ach-transfer-returns.js +33 -0
  514. package/dist/esm/resources/inbound-ach-transfer-returns.js.map +1 -0
  515. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +131 -0
  516. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
  517. package/dist/esm/resources/inbound-wire-drawdown-requests.js +27 -0
  518. package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +1 -0
  519. package/dist/esm/resources/index.d.ts +199 -0
  520. package/dist/esm/resources/index.d.ts.map +1 -0
  521. package/dist/esm/resources/index.js +44 -0
  522. package/dist/esm/resources/index.js.map +1 -0
  523. package/dist/esm/resources/limits.d.ts +114 -0
  524. package/dist/esm/resources/limits.d.ts.map +1 -0
  525. package/dist/esm/resources/limits.js +36 -0
  526. package/dist/esm/resources/limits.js.map +1 -0
  527. package/dist/esm/resources/oauth-connections.d.ts +57 -0
  528. package/dist/esm/resources/oauth-connections.d.ts.map +1 -0
  529. package/dist/esm/resources/oauth-connections.js +24 -0
  530. package/dist/esm/resources/oauth-connections.js.map +1 -0
  531. package/dist/esm/resources/pending-transactions.d.ts +482 -0
  532. package/dist/esm/resources/pending-transactions.d.ts.map +1 -0
  533. package/dist/esm/resources/pending-transactions.js +24 -0
  534. package/dist/esm/resources/pending-transactions.js.map +1 -0
  535. package/dist/esm/resources/programs.d.ts +54 -0
  536. package/dist/esm/resources/programs.d.ts.map +1 -0
  537. package/dist/esm/resources/programs.js +24 -0
  538. package/dist/esm/resources/programs.js.map +1 -0
  539. package/dist/esm/resources/real-time-decisions.d.ts +330 -0
  540. package/dist/esm/resources/real-time-decisions.d.ts.map +1 -0
  541. package/dist/esm/resources/real-time-decisions.js +18 -0
  542. package/dist/esm/resources/real-time-decisions.js.map +1 -0
  543. package/dist/esm/resources/real-time-payments-transfers.d.ts +294 -0
  544. package/dist/esm/resources/real-time-payments-transfers.d.ts.map +1 -0
  545. package/dist/esm/resources/real-time-payments-transfers.js +33 -0
  546. package/dist/esm/resources/real-time-payments-transfers.js.map +1 -0
  547. package/dist/esm/resources/routing-numbers.d.ts +56 -0
  548. package/dist/esm/resources/routing-numbers.d.ts.map +1 -0
  549. package/dist/esm/resources/routing-numbers.js +20 -0
  550. package/dist/esm/resources/routing-numbers.js.map +1 -0
  551. package/dist/esm/resources/shared.d.ts +16 -0
  552. package/dist/esm/resources/shared.d.ts.map +1 -0
  553. package/dist/esm/resources/shared.js +3 -0
  554. package/dist/esm/resources/shared.js.map +1 -0
  555. package/dist/esm/resources/simulations/account-statements.d.ts +24 -0
  556. package/dist/esm/resources/simulations/account-statements.d.ts.map +1 -0
  557. package/dist/esm/resources/simulations/account-statements.js +13 -0
  558. package/dist/esm/resources/simulations/account-statements.js.map +1 -0
  559. package/dist/esm/resources/simulations/account-transfers.d.ts +16 -0
  560. package/dist/esm/resources/simulations/account-transfers.d.ts.map +1 -0
  561. package/dist/esm/resources/simulations/account-transfers.js +14 -0
  562. package/dist/esm/resources/simulations/account-transfers.js.map +1 -0
  563. package/dist/esm/resources/simulations/ach-transfers.d.ts +1836 -0
  564. package/dist/esm/resources/simulations/ach-transfers.d.ts.map +1 -0
  565. package/dist/esm/resources/simulations/ach-transfers.js +36 -0
  566. package/dist/esm/resources/simulations/ach-transfers.js.map +1 -0
  567. package/dist/esm/resources/simulations/card-disputes.d.ts +31 -0
  568. package/dist/esm/resources/simulations/card-disputes.d.ts.map +1 -0
  569. package/dist/esm/resources/simulations/card-disputes.js +15 -0
  570. package/dist/esm/resources/simulations/card-disputes.js.map +1 -0
  571. package/dist/esm/resources/simulations/card-refunds.d.ts +25 -0
  572. package/dist/esm/resources/simulations/card-refunds.d.ts.map +1 -0
  573. package/dist/esm/resources/simulations/card-refunds.js +13 -0
  574. package/dist/esm/resources/simulations/card-refunds.js.map +1 -0
  575. package/dist/esm/resources/simulations/cards.d.ts +931 -0
  576. package/dist/esm/resources/simulations/cards.d.ts.map +1 -0
  577. package/dist/esm/resources/simulations/cards.js +28 -0
  578. package/dist/esm/resources/simulations/cards.js.map +1 -0
  579. package/dist/esm/resources/simulations/check-deposits.d.ts +31 -0
  580. package/dist/esm/resources/simulations/check-deposits.d.ts.map +1 -0
  581. package/dist/esm/resources/simulations/check-deposits.js +27 -0
  582. package/dist/esm/resources/simulations/check-deposits.js.map +1 -0
  583. package/dist/esm/resources/simulations/check-transfers.d.ts +42 -0
  584. package/dist/esm/resources/simulations/check-transfers.d.ts.map +1 -0
  585. package/dist/esm/resources/simulations/check-transfers.js +28 -0
  586. package/dist/esm/resources/simulations/check-transfers.js.map +1 -0
  587. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +49 -0
  588. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
  589. package/dist/esm/resources/simulations/digital-wallet-token-requests.js +13 -0
  590. package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  591. package/dist/esm/resources/simulations/documents.d.ts +23 -0
  592. package/dist/esm/resources/simulations/documents.d.ts.map +1 -0
  593. package/dist/esm/resources/simulations/documents.js +12 -0
  594. package/dist/esm/resources/simulations/documents.js.map +1 -0
  595. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
  596. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
  597. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +15 -0
  598. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  599. package/dist/esm/resources/simulations/index.d.ts +38 -0
  600. package/dist/esm/resources/simulations/index.d.ts.map +1 -0
  601. package/dist/esm/resources/simulations/index.js +18 -0
  602. package/dist/esm/resources/simulations/index.js.map +1 -0
  603. package/dist/esm/resources/simulations/interest-payments.d.ts +1272 -0
  604. package/dist/esm/resources/simulations/interest-payments.d.ts.map +1 -0
  605. package/dist/esm/resources/simulations/interest-payments.js +13 -0
  606. package/dist/esm/resources/simulations/interest-payments.js.map +1 -0
  607. package/dist/esm/resources/simulations/programs.d.ts +25 -0
  608. package/dist/esm/resources/simulations/programs.d.ts.map +1 -0
  609. package/dist/esm/resources/simulations/programs.js +14 -0
  610. package/dist/esm/resources/simulations/programs.js.map +1 -0
  611. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +1782 -0
  612. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
  613. package/dist/esm/resources/simulations/real-time-payments-transfers.js +24 -0
  614. package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +1 -0
  615. package/dist/esm/resources/simulations/simulations.d.ts +74 -0
  616. package/dist/esm/resources/simulations/simulations.d.ts.map +1 -0
  617. package/dist/esm/resources/simulations/simulations.js +56 -0
  618. package/dist/esm/resources/simulations/simulations.js.map +1 -0
  619. package/dist/esm/resources/simulations/wire-transfers.d.ts +1338 -0
  620. package/dist/esm/resources/simulations/wire-transfers.d.ts.map +1 -0
  621. package/dist/esm/resources/simulations/wire-transfers.js +12 -0
  622. package/dist/esm/resources/simulations/wire-transfers.js.map +1 -0
  623. package/dist/esm/resources/transactions.d.ts +1326 -0
  624. package/dist/esm/resources/transactions.d.ts.map +1 -0
  625. package/dist/esm/resources/transactions.js +24 -0
  626. package/dist/esm/resources/transactions.js.map +1 -0
  627. package/dist/esm/resources/wire-drawdown-requests.d.ts +160 -0
  628. package/dist/esm/resources/wire-drawdown-requests.d.ts.map +1 -0
  629. package/dist/esm/resources/wire-drawdown-requests.js +30 -0
  630. package/dist/esm/resources/wire-drawdown-requests.js.map +1 -0
  631. package/dist/esm/resources/wire-transfers.d.ts +352 -0
  632. package/dist/esm/resources/wire-transfers.d.ts.map +1 -0
  633. package/dist/esm/resources/wire-transfers.js +59 -0
  634. package/dist/esm/resources/wire-transfers.js.map +1 -0
  635. package/dist/esm/streaming.d.ts +12 -0
  636. package/dist/esm/streaming.d.ts.map +1 -0
  637. package/dist/esm/streaming.js +150 -0
  638. package/dist/esm/streaming.js.map +1 -0
  639. package/dist/esm/uploads.d.ts +24 -0
  640. package/dist/esm/uploads.d.ts.map +1 -0
  641. package/dist/esm/uploads.js +61 -0
  642. package/dist/esm/uploads.js.map +1 -0
  643. package/dist/esm/version.d.ts +2 -0
  644. package/dist/esm/version.d.ts.map +1 -0
  645. package/dist/esm/version.js +2 -0
  646. package/dist/esm/version.js.map +1 -0
  647. package/error.ts +29 -29
  648. package/index.ts +46 -7
  649. package/package.json +85 -5
  650. package/pagination.ts +4 -1
  651. package/resources/account-numbers.ts +14 -5
  652. package/resources/account-statements.ts +12 -5
  653. package/resources/account-transfers.ts +13 -5
  654. package/resources/accounts.ts +14 -5
  655. package/resources/ach-prenotifications.ts +13 -5
  656. package/resources/ach-transfers.ts +13 -6
  657. package/resources/balance-lookups.ts +6 -0
  658. package/resources/bookkeeping-accounts.ts +13 -5
  659. package/resources/bookkeeping-entries.ts +12 -5
  660. package/resources/bookkeeping-entry-sets.ts +20 -14
  661. package/resources/card-disputes.ts +13 -5
  662. package/resources/card-profiles.ts +13 -5
  663. package/resources/cards.ts +17 -7
  664. package/resources/check-deposits.ts +13 -5
  665. package/resources/check-transfers.ts +91 -82
  666. package/resources/declined-transactions.ts +12 -5
  667. package/resources/digital-wallet-tokens.ts +12 -5
  668. package/resources/documents.ts +14 -106
  669. package/resources/entities/entities.ts +349 -335
  670. package/resources/entities/index.ts +2 -1
  671. package/resources/entities/supplemental-documents.ts +8 -0
  672. package/resources/event-subscriptions.ts +13 -4
  673. package/resources/events.ts +12 -5
  674. package/resources/exports.ts +13 -5
  675. package/resources/external-accounts.ts +14 -5
  676. package/resources/files.ts +23 -10
  677. package/resources/groups.ts +10 -5
  678. package/resources/inbound-ach-transfer-returns.ts +8 -0
  679. package/resources/inbound-wire-drawdown-requests.ts +12 -5
  680. package/resources/limits.ts +9 -0
  681. package/resources/oauth-connections.ts +12 -5
  682. package/resources/pending-transactions.ts +17 -10
  683. package/resources/programs.ts +12 -5
  684. package/resources/real-time-decisions.ts +39 -33
  685. package/resources/real-time-payments-transfers.ts +30 -22
  686. package/resources/routing-numbers.ts +7 -0
  687. package/resources/simulations/account-statements.ts +5 -0
  688. package/resources/simulations/ach-transfers.ts +1372 -1331
  689. package/resources/simulations/card-disputes.ts +5 -0
  690. package/resources/simulations/card-refunds.ts +5 -0
  691. package/resources/simulations/cards.ts +530 -523
  692. package/resources/simulations/check-transfers.ts +5 -0
  693. package/resources/simulations/digital-wallet-token-requests.ts +6 -0
  694. package/resources/simulations/documents.ts +5 -0
  695. package/resources/simulations/inbound-wire-drawdown-requests.ts +5 -0
  696. package/resources/simulations/index.ts +23 -10
  697. package/resources/simulations/interest-payments.ts +145 -104
  698. package/resources/simulations/programs.ts +5 -0
  699. package/resources/simulations/real-time-payments-transfers.ts +1373 -1331
  700. package/resources/simulations/simulations.ts +55 -0
  701. package/resources/simulations/wire-transfers.ts +145 -104
  702. package/resources/transactions.ts +150 -107
  703. package/resources/wire-drawdown-requests.ts +13 -5
  704. package/resources/wire-transfers.ts +13 -5
  705. package/streaming.ts +3 -1
  706. package/uploads.ts +81 -0
  707. package/version.ts +1 -1
  708. package/.eslintrc.js +0 -10
  709. package/.prettierignore +0 -1
  710. package/.prettierrc +0 -6
  711. package/.release-please-manifest.json +0 -3
  712. package/.stats.yml +0 -1
  713. package/api.md +0 -576
  714. package/bin/check-release-environment +0 -25
  715. package/bin/check-test-server +0 -50
  716. package/bin/publish-npm +0 -6
  717. package/build +0 -12
  718. package/dist/cjs/examples/api-error.d.ts +0 -3
  719. package/dist/cjs/examples/api-error.d.ts.map +0 -1
  720. package/dist/cjs/examples/api-error.js +0 -92
  721. package/dist/cjs/examples/api-error.js.map +0 -1
  722. package/dist/cjs/fetch-polyfill.d.ts +0 -6
  723. package/dist/cjs/fetch-polyfill.d.ts.map +0 -1
  724. package/dist/cjs/fetch-polyfill.js +0 -57
  725. package/dist/cjs/fetch-polyfill.js.map +0 -1
  726. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +0 -2
  727. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts.map +0 -1
  728. package/dist/cjs/tests/api-resources/account-numbers.test.js +0 -101
  729. package/dist/cjs/tests/api-resources/account-numbers.test.js.map +0 -1
  730. package/dist/cjs/tests/api-resources/account-statements.test.d.ts +0 -2
  731. package/dist/cjs/tests/api-resources/account-statements.test.d.ts.map +0 -1
  732. package/dist/cjs/tests/api-resources/account-statements.test.js +0 -88
  733. package/dist/cjs/tests/api-resources/account-statements.test.js.map +0 -1
  734. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +0 -2
  735. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts.map +0 -1
  736. package/dist/cjs/tests/api-resources/account-transfers.test.js +0 -133
  737. package/dist/cjs/tests/api-resources/account-transfers.test.js.map +0 -1
  738. package/dist/cjs/tests/api-resources/accounts.test.d.ts +0 -2
  739. package/dist/cjs/tests/api-resources/accounts.test.d.ts.map +0 -1
  740. package/dist/cjs/tests/api-resources/accounts.test.js +0 -118
  741. package/dist/cjs/tests/api-resources/accounts.test.js.map +0 -1
  742. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +0 -2
  743. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts.map +0 -1
  744. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +0 -113
  745. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +0 -1
  746. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +0 -2
  747. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts.map +0 -1
  748. package/dist/cjs/tests/api-resources/ach-transfers.test.js +0 -145
  749. package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +0 -1
  750. package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts +0 -2
  751. package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts.map +0 -1
  752. package/dist/cjs/tests/api-resources/balance-lookups.test.js +0 -55
  753. package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +0 -1
  754. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts +0 -2
  755. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts.map +0 -1
  756. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +0 -78
  757. package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +0 -1
  758. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts +0 -2
  759. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts.map +0 -1
  760. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js +0 -65
  761. package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js.map +0 -1
  762. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts +0 -2
  763. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts.map +0 -1
  764. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +0 -66
  765. package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +0 -1
  766. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +0 -2
  767. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts.map +0 -1
  768. package/dist/cjs/tests/api-resources/card-disputes.test.js +0 -102
  769. package/dist/cjs/tests/api-resources/card-disputes.test.js.map +0 -1
  770. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +0 -2
  771. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts.map +0 -1
  772. package/dist/cjs/tests/api-resources/card-profiles.test.js +0 -106
  773. package/dist/cjs/tests/api-resources/card-profiles.test.js.map +0 -1
  774. package/dist/cjs/tests/api-resources/cards.test.d.ts +0 -2
  775. package/dist/cjs/tests/api-resources/cards.test.d.ts.map +0 -1
  776. package/dist/cjs/tests/api-resources/cards.test.js +0 -116
  777. package/dist/cjs/tests/api-resources/cards.test.js.map +0 -1
  778. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +0 -2
  779. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts.map +0 -1
  780. package/dist/cjs/tests/api-resources/check-deposits.test.js +0 -110
  781. package/dist/cjs/tests/api-resources/check-deposits.test.js.map +0 -1
  782. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +0 -2
  783. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts.map +0 -1
  784. package/dist/cjs/tests/api-resources/check-transfers.test.js +0 -159
  785. package/dist/cjs/tests/api-resources/check-transfers.test.js.map +0 -1
  786. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +0 -2
  787. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts.map +0 -1
  788. package/dist/cjs/tests/api-resources/declined-transactions.test.js +0 -91
  789. package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +0 -1
  790. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +0 -2
  791. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts.map +0 -1
  792. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +0 -90
  793. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +0 -1
  794. package/dist/cjs/tests/api-resources/documents.test.d.ts +0 -2
  795. package/dist/cjs/tests/api-resources/documents.test.d.ts.map +0 -1
  796. package/dist/cjs/tests/api-resources/documents.test.js +0 -93
  797. package/dist/cjs/tests/api-resources/documents.test.js.map +0 -1
  798. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +0 -2
  799. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts.map +0 -1
  800. package/dist/cjs/tests/api-resources/entities/entities.test.js +0 -289
  801. package/dist/cjs/tests/api-resources/entities/entities.test.js.map +0 -1
  802. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +0 -2
  803. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts.map +0 -1
  804. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +0 -68
  805. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +0 -1
  806. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +0 -2
  807. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts.map +0 -1
  808. package/dist/cjs/tests/api-resources/event-subscriptions.test.js +0 -99
  809. package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +0 -1
  810. package/dist/cjs/tests/api-resources/events.test.d.ts +0 -2
  811. package/dist/cjs/tests/api-resources/events.test.d.ts.map +0 -1
  812. package/dist/cjs/tests/api-resources/events.test.js +0 -87
  813. package/dist/cjs/tests/api-resources/events.test.js.map +0 -1
  814. package/dist/cjs/tests/api-resources/exports.test.d.ts +0 -2
  815. package/dist/cjs/tests/api-resources/exports.test.d.ts.map +0 -1
  816. package/dist/cjs/tests/api-resources/exports.test.js +0 -101
  817. package/dist/cjs/tests/api-resources/exports.test.js.map +0 -1
  818. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +0 -2
  819. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts.map +0 -1
  820. package/dist/cjs/tests/api-resources/external-accounts.test.js +0 -99
  821. package/dist/cjs/tests/api-resources/external-accounts.test.js.map +0 -1
  822. package/dist/cjs/tests/api-resources/files.test.d.ts +0 -2
  823. package/dist/cjs/tests/api-resources/files.test.d.ts.map +0 -1
  824. package/dist/cjs/tests/api-resources/files.test.js +0 -104
  825. package/dist/cjs/tests/api-resources/files.test.js.map +0 -1
  826. package/dist/cjs/tests/api-resources/groups.test.d.ts +0 -2
  827. package/dist/cjs/tests/api-resources/groups.test.d.ts.map +0 -1
  828. package/dist/cjs/tests/api-resources/groups.test.js +0 -55
  829. package/dist/cjs/tests/api-resources/groups.test.js.map +0 -1
  830. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +0 -2
  831. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts.map +0 -1
  832. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +0 -94
  833. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +0 -1
  834. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +0 -2
  835. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
  836. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +0 -80
  837. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +0 -1
  838. package/dist/cjs/tests/api-resources/limits.test.d.ts +0 -2
  839. package/dist/cjs/tests/api-resources/limits.test.d.ts.map +0 -1
  840. package/dist/cjs/tests/api-resources/limits.test.js +0 -97
  841. package/dist/cjs/tests/api-resources/limits.test.js.map +0 -1
  842. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +0 -2
  843. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts.map +0 -1
  844. package/dist/cjs/tests/api-resources/oauth-connections.test.js +0 -75
  845. package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +0 -1
  846. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +0 -2
  847. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts.map +0 -1
  848. package/dist/cjs/tests/api-resources/pending-transactions.test.js +0 -93
  849. package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +0 -1
  850. package/dist/cjs/tests/api-resources/programs.test.d.ts +0 -2
  851. package/dist/cjs/tests/api-resources/programs.test.d.ts.map +0 -1
  852. package/dist/cjs/tests/api-resources/programs.test.js +0 -73
  853. package/dist/cjs/tests/api-resources/programs.test.js.map +0 -1
  854. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +0 -2
  855. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts.map +0 -1
  856. package/dist/cjs/tests/api-resources/real-time-decisions.test.js +0 -61
  857. package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +0 -1
  858. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts +0 -2
  859. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts.map +0 -1
  860. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +0 -113
  861. package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +0 -1
  862. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +0 -2
  863. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts.map +0 -1
  864. package/dist/cjs/tests/api-resources/routing-numbers.test.js +0 -56
  865. package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +0 -1
  866. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +0 -2
  867. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts.map +0 -1
  868. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +0 -52
  869. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +0 -1
  870. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +0 -2
  871. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts.map +0 -1
  872. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +0 -61
  873. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +0 -1
  874. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +0 -2
  875. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts.map +0 -1
  876. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +0 -86
  877. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +0 -1
  878. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +0 -2
  879. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts.map +0 -1
  880. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +0 -57
  881. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +0 -1
  882. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +0 -2
  883. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts.map +0 -1
  884. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +0 -1
  885. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +0 -2
  886. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts.map +0 -1
  887. package/dist/cjs/tests/api-resources/simulations/cards.test.js +0 -72
  888. package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +0 -1
  889. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +0 -2
  890. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts.map +0 -1
  891. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +0 -87
  892. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +0 -1
  893. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +0 -2
  894. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts.map +0 -1
  895. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +0 -92
  896. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +0 -1
  897. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +0 -2
  898. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts.map +0 -1
  899. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +0 -52
  900. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +0 -1
  901. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +0 -2
  902. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts.map +0 -1
  903. package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +0 -1
  904. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +0 -2
  905. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
  906. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +0 -82
  907. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +0 -1
  908. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts +0 -2
  909. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts.map +0 -1
  910. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js +0 -58
  911. package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js.map +0 -1
  912. package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts +0 -2
  913. package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts.map +0 -1
  914. package/dist/cjs/tests/api-resources/simulations/programs.test.js.map +0 -1
  915. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +0 -2
  916. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts.map +0 -1
  917. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +0 -70
  918. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +0 -1
  919. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +0 -2
  920. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts.map +0 -1
  921. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +0 -71
  922. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +0 -1
  923. package/dist/cjs/tests/api-resources/transactions.test.d.ts +0 -2
  924. package/dist/cjs/tests/api-resources/transactions.test.d.ts.map +0 -1
  925. package/dist/cjs/tests/api-resources/transactions.test.js +0 -92
  926. package/dist/cjs/tests/api-resources/transactions.test.js.map +0 -1
  927. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +0 -2
  928. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts.map +0 -1
  929. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +0 -107
  930. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +0 -1
  931. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +0 -2
  932. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts.map +0 -1
  933. package/dist/cjs/tests/api-resources/wire-transfers.test.js +0 -170
  934. package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +0 -1
  935. package/dist/cjs/tests/form.test.d.ts +0 -2
  936. package/dist/cjs/tests/form.test.d.ts.map +0 -1
  937. package/dist/cjs/tests/form.test.js.map +0 -1
  938. package/dist/cjs/tests/index.test.d.ts +0 -2
  939. package/dist/cjs/tests/index.test.d.ts.map +0 -1
  940. package/dist/cjs/tests/index.test.js +0 -113
  941. package/dist/cjs/tests/index.test.js.map +0 -1
  942. package/dist/cjs/tests/responses.test.d.ts +0 -2
  943. package/dist/cjs/tests/responses.test.d.ts.map +0 -1
  944. package/dist/cjs/tests/responses.test.js +0 -60
  945. package/dist/cjs/tests/responses.test.js.map +0 -1
  946. package/examples/api-error.ts +0 -21
  947. package/fetch-polyfill.ts +0 -69
  948. package/jest.config.js +0 -8
  949. package/release-please-config.json +0 -61
  950. package/tests/api-resources/account-numbers.test.ts +0 -64
  951. package/tests/api-resources/account-statements.test.ts +0 -51
  952. package/tests/api-resources/account-transfers.test.ts +0 -96
  953. package/tests/api-resources/accounts.test.ts +0 -81
  954. package/tests/api-resources/ach-prenotifications.test.ts +0 -74
  955. package/tests/api-resources/ach-transfers.test.ts +0 -106
  956. package/tests/api-resources/balance-lookups.test.ts +0 -18
  957. package/tests/api-resources/bookkeeping-accounts.test.ts +0 -38
  958. package/tests/api-resources/bookkeeping-entries.test.ts +0 -25
  959. package/tests/api-resources/bookkeeping-entry-sets.test.ts +0 -29
  960. package/tests/api-resources/card-disputes.test.ts +0 -65
  961. package/tests/api-resources/card-profiles.test.ts +0 -69
  962. package/tests/api-resources/cards.test.ts +0 -79
  963. package/tests/api-resources/check-deposits.test.ts +0 -71
  964. package/tests/api-resources/check-transfers.test.ts +0 -122
  965. package/tests/api-resources/declined-transactions.test.ts +0 -54
  966. package/tests/api-resources/digital-wallet-tokens.test.ts +0 -51
  967. package/tests/api-resources/documents.test.ts +0 -52
  968. package/tests/api-resources/entities/entities.test.ts +0 -249
  969. package/tests/api-resources/entities/supplemental-documents.test.ts +0 -31
  970. package/tests/api-resources/event-subscriptions.test.ts +0 -59
  971. package/tests/api-resources/events.test.ts +0 -50
  972. package/tests/api-resources/exports.test.ts +0 -64
  973. package/tests/api-resources/external-accounts.test.ts +0 -62
  974. package/tests/api-resources/files.test.ts +0 -67
  975. package/tests/api-resources/groups.test.ts +0 -18
  976. package/tests/api-resources/inbound-ach-transfer-returns.test.ts +0 -57
  977. package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +0 -43
  978. package/tests/api-resources/limits.test.ts +0 -60
  979. package/tests/api-resources/oauth-connections.test.ts +0 -38
  980. package/tests/api-resources/pending-transactions.test.ts +0 -54
  981. package/tests/api-resources/programs.test.ts +0 -36
  982. package/tests/api-resources/real-time-decisions.test.ts +0 -24
  983. package/tests/api-resources/real-time-payments-transfers.test.ts +0 -76
  984. package/tests/api-resources/routing-numbers.test.ts +0 -19
  985. package/tests/api-resources/simulations/account-statements.test.ts +0 -15
  986. package/tests/api-resources/simulations/account-transfers.test.ts +0 -24
  987. package/tests/api-resources/simulations/ach-transfers.test.ts +0 -46
  988. package/tests/api-resources/simulations/card-disputes.test.ts +0 -20
  989. package/tests/api-resources/simulations/card-refunds.test.ts +0 -15
  990. package/tests/api-resources/simulations/cards.test.ts +0 -35
  991. package/tests/api-resources/simulations/check-deposits.test.ts +0 -50
  992. package/tests/api-resources/simulations/check-transfers.test.ts +0 -47
  993. package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +0 -15
  994. package/tests/api-resources/simulations/documents.test.ts +0 -15
  995. package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +0 -45
  996. package/tests/api-resources/simulations/interest-payments.test.ts +0 -15
  997. package/tests/api-resources/simulations/programs.test.ts +0 -15
  998. package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +0 -33
  999. package/tests/api-resources/simulations/wire-transfers.test.ts +0 -34
  1000. package/tests/api-resources/transactions.test.ts +0 -53
  1001. package/tests/api-resources/wire-drawdown-requests.test.ts +0 -70
  1002. package/tests/api-resources/wire-transfers.test.ts +0 -133
  1003. package/tests/form.test.ts +0 -27
  1004. package/tests/index.test.ts +0 -83
  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,1272 @@
1
+ import * as Core from '../../core.js';
2
+ import { APIResource } from '../../resource.js';
3
+ import * as API from './index.js';
4
+ export declare class InterestPayments extends APIResource {
5
+ /**
6
+ * Simulates an interest payment to your account. In production, this happens
7
+ * automatically on the first of each month.
8
+ */
9
+ create(
10
+ body: InterestPaymentCreateParams,
11
+ options?: Core.RequestOptions,
12
+ ): Promise<Core.APIResponse<InterestPaymentSimulationResult>>;
13
+ }
14
+ /**
15
+ * The results of an Interest Payment simulation.
16
+ */
17
+ export interface InterestPaymentSimulationResult {
18
+ /**
19
+ * This will contain the resulting [Transaction](#transactions) object. The
20
+ * Transaction's `source` will be of `category: interest_payment`.
21
+ */
22
+ transaction: InterestPaymentSimulationResult.Transaction;
23
+ /**
24
+ * A constant representing the object's type. For this resource it will always be
25
+ * `interest_payment_simulation_result`.
26
+ */
27
+ type: 'interest_payment_simulation_result';
28
+ }
29
+ export declare namespace InterestPaymentSimulationResult {
30
+ /**
31
+ * This will contain the resulting [Transaction](#transactions) object. The
32
+ * Transaction's `source` will be of `category: interest_payment`.
33
+ */
34
+ interface Transaction {
35
+ /**
36
+ * The Transaction identifier.
37
+ */
38
+ id: string;
39
+ /**
40
+ * The identifier for the Account the Transaction belongs to.
41
+ */
42
+ account_id: string;
43
+ /**
44
+ * The Transaction amount in the minor unit of its currency. For dollars, for
45
+ * example, this is cents.
46
+ */
47
+ amount: number;
48
+ /**
49
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
50
+ * Transaction occured.
51
+ */
52
+ created_at: string;
53
+ /**
54
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
55
+ * Transaction's currency. This will match the currency on the Transcation's
56
+ * Account.
57
+ */
58
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
59
+ /**
60
+ * For a Transaction related to a transfer, this is the description you provide.
61
+ * For a Transaction related to a payment, this is the description the vendor
62
+ * provides.
63
+ */
64
+ description: string;
65
+ /**
66
+ * The identifier for the route this Transaction came through. Routes are things
67
+ * like cards and ACH details.
68
+ */
69
+ route_id: string | null;
70
+ /**
71
+ * The type of the route this Transaction came through.
72
+ */
73
+ route_type: 'account_number' | 'card' | null;
74
+ /**
75
+ * This is an object giving more details on the network-level event that caused the
76
+ * Transaction. Note that for backwards compatibility reasons, additional
77
+ * undocumented keys may appear in this object. These should be treated as
78
+ * deprecated and will be removed in the future.
79
+ */
80
+ source: Transaction.Source;
81
+ /**
82
+ * A constant representing the object's type. For this resource it will always be
83
+ * `transaction`.
84
+ */
85
+ type: 'transaction';
86
+ }
87
+ namespace Transaction {
88
+ /**
89
+ * This is an object giving more details on the network-level event that caused the
90
+ * Transaction. Note that for backwards compatibility reasons, additional
91
+ * undocumented keys may appear in this object. These should be treated as
92
+ * deprecated and will be removed in the future.
93
+ */
94
+ interface Source {
95
+ /**
96
+ * A Account Transfer Intention object. This field will be present in the JSON
97
+ * response if and only if `category` is equal to `account_transfer_intention`.
98
+ */
99
+ account_transfer_intention: Source.AccountTransferIntention | null;
100
+ /**
101
+ * A ACH Transfer Intention object. This field will be present in the JSON response
102
+ * if and only if `category` is equal to `ach_transfer_intention`.
103
+ */
104
+ ach_transfer_intention: Source.ACHTransferIntention | null;
105
+ /**
106
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
107
+ * if and only if `category` is equal to `ach_transfer_rejection`.
108
+ */
109
+ ach_transfer_rejection: Source.ACHTransferRejection | null;
110
+ /**
111
+ * A ACH Transfer Return object. This field will be present in the JSON response if
112
+ * and only if `category` is equal to `ach_transfer_return`.
113
+ */
114
+ ach_transfer_return: Source.ACHTransferReturn | null;
115
+ /**
116
+ * A Card Dispute Acceptance object. This field will be present in the JSON
117
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
118
+ */
119
+ card_dispute_acceptance: Source.CardDisputeAcceptance | null;
120
+ /**
121
+ * A Card Refund object. This field will be present in the JSON response if and
122
+ * only if `category` is equal to `card_refund`.
123
+ */
124
+ card_refund: Source.CardRefund | null;
125
+ /**
126
+ * A Card Revenue Payment object. This field will be present in the JSON response
127
+ * if and only if `category` is equal to `card_revenue_payment`.
128
+ */
129
+ card_revenue_payment: Source.CardRevenuePayment | null;
130
+ /**
131
+ * A Card Settlement object. This field will be present in the JSON response if and
132
+ * only if `category` is equal to `card_settlement`.
133
+ */
134
+ card_settlement: Source.CardSettlement | null;
135
+ /**
136
+ * The type of transaction that took place. We may add additional possible values
137
+ * for this enum over time; your application should be able to handle such
138
+ * additions gracefully.
139
+ */
140
+ category:
141
+ | 'account_transfer_intention'
142
+ | 'ach_transfer_intention'
143
+ | 'ach_transfer_rejection'
144
+ | 'ach_transfer_return'
145
+ | 'card_dispute_acceptance'
146
+ | 'card_refund'
147
+ | 'card_revenue_payment'
148
+ | 'card_settlement'
149
+ | 'check_deposit_acceptance'
150
+ | 'check_deposit_return'
151
+ | 'check_transfer_deposit'
152
+ | 'check_transfer_intention'
153
+ | 'check_transfer_rejection'
154
+ | 'check_transfer_return'
155
+ | 'check_transfer_stop_payment_request'
156
+ | 'fee_payment'
157
+ | 'inbound_ach_transfer'
158
+ | 'inbound_ach_transfer_return_intention'
159
+ | 'inbound_check'
160
+ | 'inbound_international_ach_transfer'
161
+ | 'inbound_real_time_payments_transfer_confirmation'
162
+ | 'inbound_wire_drawdown_payment'
163
+ | 'inbound_wire_drawdown_payment_reversal'
164
+ | 'inbound_wire_reversal'
165
+ | 'inbound_wire_transfer'
166
+ | 'interest_payment'
167
+ | 'internal_source'
168
+ | 'real_time_payments_transfer_acknowledgement'
169
+ | 'sample_funds'
170
+ | 'wire_transfer_intention'
171
+ | 'wire_transfer_rejection'
172
+ | 'other';
173
+ /**
174
+ * A Check Deposit Acceptance object. This field will be present in the JSON
175
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
176
+ */
177
+ check_deposit_acceptance: Source.CheckDepositAcceptance | null;
178
+ /**
179
+ * A Check Deposit Return object. This field will be present in the JSON response
180
+ * if and only if `category` is equal to `check_deposit_return`.
181
+ */
182
+ check_deposit_return: Source.CheckDepositReturn | null;
183
+ /**
184
+ * A Check Transfer Deposit object. This field will be present in the JSON response
185
+ * if and only if `category` is equal to `check_transfer_deposit`.
186
+ */
187
+ check_transfer_deposit: Source.CheckTransferDeposit | null;
188
+ /**
189
+ * A Check Transfer Intention object. This field will be present in the JSON
190
+ * response if and only if `category` is equal to `check_transfer_intention`.
191
+ */
192
+ check_transfer_intention: Source.CheckTransferIntention | null;
193
+ /**
194
+ * A Check Transfer Rejection object. This field will be present in the JSON
195
+ * response if and only if `category` is equal to `check_transfer_rejection`.
196
+ */
197
+ check_transfer_rejection: Source.CheckTransferRejection | null;
198
+ /**
199
+ * A Check Transfer Return object. This field will be present in the JSON response
200
+ * if and only if `category` is equal to `check_transfer_return`.
201
+ */
202
+ check_transfer_return: Source.CheckTransferReturn | null;
203
+ /**
204
+ * A Check Transfer Stop Payment Request object. This field will be present in the
205
+ * JSON response if and only if `category` is equal to
206
+ * `check_transfer_stop_payment_request`.
207
+ */
208
+ check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
209
+ /**
210
+ * A Fee Payment object. This field will be present in the JSON response if and
211
+ * only if `category` is equal to `fee_payment`.
212
+ */
213
+ fee_payment: Source.FeePayment | null;
214
+ /**
215
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
216
+ * if and only if `category` is equal to `inbound_ach_transfer`.
217
+ */
218
+ inbound_ach_transfer: Source.InboundACHTransfer | null;
219
+ /**
220
+ * A Inbound Check object. This field will be present in the JSON response if and
221
+ * only if `category` is equal to `inbound_check`.
222
+ */
223
+ inbound_check: Source.InboundCheck | null;
224
+ /**
225
+ * A Inbound International ACH Transfer object. This field will be present in the
226
+ * JSON response if and only if `category` is equal to
227
+ * `inbound_international_ach_transfer`.
228
+ */
229
+ inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
230
+ /**
231
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
232
+ * present in the JSON response if and only if `category` is equal to
233
+ * `inbound_real_time_payments_transfer_confirmation`.
234
+ */
235
+ inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
236
+ /**
237
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
238
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
239
+ */
240
+ inbound_wire_drawdown_payment: Source.InboundWireDrawdownPayment | null;
241
+ /**
242
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
243
+ * the JSON response if and only if `category` is equal to
244
+ * `inbound_wire_drawdown_payment_reversal`.
245
+ */
246
+ inbound_wire_drawdown_payment_reversal: Source.InboundWireDrawdownPaymentReversal | null;
247
+ /**
248
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
249
+ * if and only if `category` is equal to `inbound_wire_reversal`.
250
+ */
251
+ inbound_wire_reversal: Source.InboundWireReversal | null;
252
+ /**
253
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
254
+ * if and only if `category` is equal to `inbound_wire_transfer`.
255
+ */
256
+ inbound_wire_transfer: Source.InboundWireTransfer | null;
257
+ /**
258
+ * A Interest Payment object. This field will be present in the JSON response if
259
+ * and only if `category` is equal to `interest_payment`.
260
+ */
261
+ interest_payment: Source.InterestPayment | null;
262
+ /**
263
+ * A Internal Source object. This field will be present in the JSON response if and
264
+ * only if `category` is equal to `internal_source`.
265
+ */
266
+ internal_source: Source.InternalSource | null;
267
+ /**
268
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
269
+ * in the JSON response if and only if `category` is equal to
270
+ * `real_time_payments_transfer_acknowledgement`.
271
+ */
272
+ real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
273
+ /**
274
+ * A Sample Funds object. This field will be present in the JSON response if and
275
+ * only if `category` is equal to `sample_funds`.
276
+ */
277
+ sample_funds: Source.SampleFunds | null;
278
+ /**
279
+ * A Wire Transfer Intention object. This field will be present in the JSON
280
+ * response if and only if `category` is equal to `wire_transfer_intention`.
281
+ */
282
+ wire_transfer_intention: Source.WireTransferIntention | null;
283
+ /**
284
+ * A Wire Transfer Rejection object. This field will be present in the JSON
285
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
286
+ */
287
+ wire_transfer_rejection: Source.WireTransferRejection | null;
288
+ }
289
+ namespace Source {
290
+ /**
291
+ * A Account Transfer Intention object. This field will be present in the JSON
292
+ * response if and only if `category` is equal to `account_transfer_intention`.
293
+ */
294
+ interface AccountTransferIntention {
295
+ /**
296
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
297
+ * for example, this is cents.
298
+ */
299
+ amount: number;
300
+ /**
301
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
302
+ * account currency.
303
+ */
304
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
305
+ /**
306
+ * The description you chose to give the transfer.
307
+ */
308
+ description: string;
309
+ /**
310
+ * The identifier of the Account to where the Account Transfer was sent.
311
+ */
312
+ destination_account_id: string;
313
+ /**
314
+ * The identifier of the Account from where the Account Transfer was sent.
315
+ */
316
+ source_account_id: string;
317
+ /**
318
+ * The identifier of the Account Transfer that led to this Pending Transaction.
319
+ */
320
+ transfer_id: string;
321
+ }
322
+ /**
323
+ * A ACH Transfer Intention object. This field will be present in the JSON response
324
+ * if and only if `category` is equal to `ach_transfer_intention`.
325
+ */
326
+ interface ACHTransferIntention {
327
+ account_number: string;
328
+ /**
329
+ * The amount in the minor unit of the transaction's currency. For dollars, for
330
+ * example, this is cents.
331
+ */
332
+ amount: number;
333
+ routing_number: string;
334
+ statement_descriptor: string;
335
+ /**
336
+ * The identifier of the ACH Transfer that led to this Transaction.
337
+ */
338
+ transfer_id: string;
339
+ }
340
+ /**
341
+ * A ACH Transfer Rejection object. This field will be present in the JSON response
342
+ * if and only if `category` is equal to `ach_transfer_rejection`.
343
+ */
344
+ interface ACHTransferRejection {
345
+ /**
346
+ * The identifier of the ACH Transfer that led to this Transaction.
347
+ */
348
+ transfer_id: string;
349
+ }
350
+ /**
351
+ * A ACH Transfer Return object. This field will be present in the JSON response if
352
+ * and only if `category` is equal to `ach_transfer_return`.
353
+ */
354
+ interface ACHTransferReturn {
355
+ /**
356
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
357
+ * the transfer was created.
358
+ */
359
+ created_at: string;
360
+ /**
361
+ * The three character ACH return code, in the range R01 to R85.
362
+ */
363
+ raw_return_reason_code: string;
364
+ /**
365
+ * Why the ACH Transfer was returned.
366
+ */
367
+ return_reason_code:
368
+ | 'insufficient_fund'
369
+ | 'no_account'
370
+ | 'account_closed'
371
+ | 'invalid_account_number_structure'
372
+ | 'account_frozen_entry_returned_per_ofac_instruction'
373
+ | 'credit_entry_refused_by_receiver'
374
+ | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
375
+ | 'corporate_customer_advised_not_authorized'
376
+ | 'payment_stopped'
377
+ | 'non_transaction_account'
378
+ | 'uncollected_funds'
379
+ | 'routing_number_check_digit_error'
380
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
381
+ | 'amount_field_error'
382
+ | 'authorization_revoked_by_customer'
383
+ | 'invalid_ach_routing_number'
384
+ | 'file_record_edit_criteria'
385
+ | 'enr_invalid_individual_name'
386
+ | 'returned_per_odfi_request'
387
+ | 'limited_participation_dfi'
388
+ | 'incorrectly_coded_outbound_international_payment'
389
+ | 'account_sold_to_another_dfi'
390
+ | 'addenda_error'
391
+ | 'beneficiary_or_account_holder_deceased'
392
+ | 'customer_advised_not_within_authorization_terms'
393
+ | 'corrected_return'
394
+ | 'duplicate_entry'
395
+ | 'duplicate_return'
396
+ | 'enr_duplicate_enrollment'
397
+ | 'enr_invalid_dfi_account_number'
398
+ | 'enr_invalid_individual_id_number'
399
+ | 'enr_invalid_representative_payee_indicator'
400
+ | 'enr_invalid_transaction_code'
401
+ | 'enr_return_of_enr_entry'
402
+ | 'enr_routing_number_check_digit_error'
403
+ | 'entry_not_processed_by_gateway'
404
+ | 'field_error'
405
+ | 'foreign_receiving_dfi_unable_to_settle'
406
+ | 'iat_entry_coding_error'
407
+ | 'improper_effective_entry_date'
408
+ | 'improper_source_document_source_document_presented'
409
+ | 'invalid_company_id'
410
+ | 'invalid_foreign_receiving_dfi_identification'
411
+ | 'invalid_individual_id_number'
412
+ | 'item_and_rck_entry_presented_for_payment'
413
+ | 'item_related_to_rck_entry_is_ineligible'
414
+ | 'mandatory_field_error'
415
+ | 'misrouted_dishonored_return'
416
+ | 'misrouted_return'
417
+ | 'no_errors_found'
418
+ | 'non_acceptance_of_r62_dishonored_return'
419
+ | 'non_participant_in_iat_program'
420
+ | 'permissible_return_entry'
421
+ | 'permissible_return_entry_not_accepted'
422
+ | 'rdfi_non_settlement'
423
+ | 'rdfi_participant_in_check_truncation_program'
424
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
425
+ | 'return_not_a_duplicate'
426
+ | 'return_of_erroneous_or_reversing_debit'
427
+ | 'return_of_improper_credit_entry'
428
+ | 'return_of_improper_debit_entry'
429
+ | 'return_of_xck_entry'
430
+ | 'source_document_presented_for_payment'
431
+ | 'state_law_affecting_rck_acceptance'
432
+ | 'stop_payment_on_item_related_to_rck_entry'
433
+ | 'stop_payment_on_source_document'
434
+ | 'timely_original_return'
435
+ | 'trace_number_error'
436
+ | 'untimely_dishonored_return'
437
+ | 'untimely_return';
438
+ /**
439
+ * The identifier of the Tranasaction associated with this return.
440
+ */
441
+ transaction_id: string;
442
+ /**
443
+ * The identifier of the ACH Transfer associated with this return.
444
+ */
445
+ transfer_id: string;
446
+ }
447
+ /**
448
+ * A Card Dispute Acceptance object. This field will be present in the JSON
449
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
450
+ */
451
+ interface CardDisputeAcceptance {
452
+ /**
453
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
454
+ * the Card Dispute was accepted.
455
+ */
456
+ accepted_at: string;
457
+ /**
458
+ * The identifier of the Card Dispute that was accepted.
459
+ */
460
+ card_dispute_id: string;
461
+ /**
462
+ * The identifier of the Transaction that was created to return the disputed funds
463
+ * to your account.
464
+ */
465
+ transaction_id: string;
466
+ }
467
+ /**
468
+ * A Card Refund object. This field will be present in the JSON response if and
469
+ * only if `category` is equal to `card_refund`.
470
+ */
471
+ interface CardRefund {
472
+ /**
473
+ * The Card Refund identifier.
474
+ */
475
+ id: string;
476
+ /**
477
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
478
+ * for example, this is cents.
479
+ */
480
+ amount: number;
481
+ /**
482
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
483
+ * transaction's currency.
484
+ */
485
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
486
+ /**
487
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
488
+ * is transacting with.
489
+ */
490
+ merchant_acceptor_id: string | null;
491
+ /**
492
+ * The 4-digit MCC describing the merchant's business.
493
+ */
494
+ merchant_category_code: string;
495
+ /**
496
+ * The city the merchant resides in.
497
+ */
498
+ merchant_city: string | null;
499
+ /**
500
+ * The country the merchant resides in.
501
+ */
502
+ merchant_country: string;
503
+ /**
504
+ * The name of the merchant.
505
+ */
506
+ merchant_name: string | null;
507
+ /**
508
+ * The state the merchant resides in.
509
+ */
510
+ merchant_state: string | null;
511
+ /**
512
+ * A constant representing the object's type. For this resource it will always be
513
+ * `card_refund`.
514
+ */
515
+ type: 'card_refund';
516
+ }
517
+ /**
518
+ * A Card Revenue Payment object. This field will be present in the JSON response
519
+ * if and only if `category` is equal to `card_revenue_payment`.
520
+ */
521
+ interface CardRevenuePayment {
522
+ /**
523
+ * The amount in the minor unit of the transaction's currency. For dollars, for
524
+ * example, this is cents.
525
+ */
526
+ amount: number;
527
+ /**
528
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
529
+ * currency.
530
+ */
531
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
532
+ /**
533
+ * The end of the period for which this transaction paid interest.
534
+ */
535
+ period_end: string;
536
+ /**
537
+ * The start of the period for which this transaction paid interest.
538
+ */
539
+ period_start: string;
540
+ /**
541
+ * The account the card belonged to.
542
+ */
543
+ transacted_on_account_id: string | null;
544
+ }
545
+ /**
546
+ * A Card Settlement object. This field will be present in the JSON response if and
547
+ * only if `category` is equal to `card_settlement`.
548
+ */
549
+ interface CardSettlement {
550
+ /**
551
+ * The Card Settlement identifier.
552
+ */
553
+ id: string;
554
+ /**
555
+ * The amount in the minor unit of the transaction's settlement currency. For
556
+ * dollars, for example, this is cents.
557
+ */
558
+ amount: number;
559
+ /**
560
+ * The Card Authorization that was created prior to this Card Settlement, if on
561
+ * exists.
562
+ */
563
+ card_authorization: string | null;
564
+ /**
565
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
566
+ * transaction's settlement currency.
567
+ */
568
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
569
+ /**
570
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
571
+ * is transacting with.
572
+ */
573
+ merchant_acceptor_id: string | null;
574
+ /**
575
+ * The 4-digit MCC describing the merchant's business.
576
+ */
577
+ merchant_category_code: string;
578
+ /**
579
+ * The city the merchant resides in.
580
+ */
581
+ merchant_city: string | null;
582
+ /**
583
+ * The country the merchant resides in.
584
+ */
585
+ merchant_country: string;
586
+ /**
587
+ * The name of the merchant.
588
+ */
589
+ merchant_name: string | null;
590
+ /**
591
+ * The state the merchant resides in.
592
+ */
593
+ merchant_state: string | null;
594
+ /**
595
+ * The identifier of the Pending Transaction associated with this Transaction.
596
+ */
597
+ pending_transaction_id: string | null;
598
+ /**
599
+ * The amount in the minor unit of the transaction's presentment currency.
600
+ */
601
+ presentment_amount: number;
602
+ /**
603
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
604
+ * transaction's presentment currency.
605
+ */
606
+ presentment_currency: string;
607
+ /**
608
+ * A constant representing the object's type. For this resource it will always be
609
+ * `card_settlement`.
610
+ */
611
+ type: 'card_settlement';
612
+ }
613
+ /**
614
+ * A Check Deposit Acceptance object. This field will be present in the JSON
615
+ * response if and only if `category` is equal to `check_deposit_acceptance`.
616
+ */
617
+ interface CheckDepositAcceptance {
618
+ /**
619
+ * The account number printed on the check.
620
+ */
621
+ account_number: string;
622
+ /**
623
+ * The amount to be deposited in the minor unit of the transaction's currency. For
624
+ * dollars, for example, this is cents.
625
+ */
626
+ amount: number;
627
+ /**
628
+ * An additional line of metadata printed on the check. This typically includes the
629
+ * check number for business checks.
630
+ */
631
+ auxiliary_on_us: string | null;
632
+ /**
633
+ * The ID of the Check Deposit that was accepted.
634
+ */
635
+ check_deposit_id: string;
636
+ /**
637
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
638
+ * transaction's currency.
639
+ */
640
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
641
+ /**
642
+ * The routing number printed on the check.
643
+ */
644
+ routing_number: string;
645
+ /**
646
+ * The check serial number, if present, for consumer checks. For business checks,
647
+ * the serial number is usually in the `auxiliary_on_us` field.
648
+ */
649
+ serial_number: string | null;
650
+ }
651
+ /**
652
+ * A Check Deposit Return object. This field will be present in the JSON response
653
+ * if and only if `category` is equal to `check_deposit_return`.
654
+ */
655
+ interface CheckDepositReturn {
656
+ /**
657
+ * The amount in the minor unit of the transaction's currency. For dollars, for
658
+ * example, this is cents.
659
+ */
660
+ amount: number;
661
+ /**
662
+ * The identifier of the Check Deposit that was returned.
663
+ */
664
+ check_deposit_id: string;
665
+ /**
666
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
667
+ * transaction's currency.
668
+ */
669
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
670
+ return_reason:
671
+ | 'ach_conversion_not_supported'
672
+ | 'closed_account'
673
+ | 'duplicate_submission'
674
+ | 'insufficient_funds'
675
+ | 'no_account'
676
+ | 'not_authorized'
677
+ | 'stale_dated'
678
+ | 'stop_payment'
679
+ | 'unknown_reason'
680
+ | 'unmatched_details'
681
+ | 'unreadable_image'
682
+ | 'endorsement_irregular';
683
+ /**
684
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
685
+ * the check deposit was returned.
686
+ */
687
+ returned_at: string;
688
+ /**
689
+ * The identifier of the transaction that reversed the original check deposit
690
+ * transaction.
691
+ */
692
+ transaction_id: string;
693
+ }
694
+ /**
695
+ * A Check Transfer Deposit object. This field will be present in the JSON response
696
+ * if and only if `category` is equal to `check_transfer_deposit`.
697
+ */
698
+ interface CheckTransferDeposit {
699
+ /**
700
+ * The identifier of the API File object containing an image of the back of the
701
+ * deposited check.
702
+ */
703
+ back_image_file_id: string | null;
704
+ /**
705
+ * When the check was deposited.
706
+ */
707
+ deposited_at: string;
708
+ /**
709
+ * The identifier of the API File object containing an image of the front of the
710
+ * deposited check.
711
+ */
712
+ front_image_file_id: string | null;
713
+ /**
714
+ * A constant representing the object's type. For this resource it will always be
715
+ * `check_transfer_deposit`.
716
+ */
717
+ type: 'check_transfer_deposit';
718
+ }
719
+ /**
720
+ * A Check Transfer Intention object. This field will be present in the JSON
721
+ * response if and only if `category` is equal to `check_transfer_intention`.
722
+ */
723
+ interface CheckTransferIntention {
724
+ /**
725
+ * The city of the check's destination.
726
+ */
727
+ address_city: string | null;
728
+ /**
729
+ * The street address of the check's destination.
730
+ */
731
+ address_line1: string | null;
732
+ /**
733
+ * The second line of the address of the check's destination.
734
+ */
735
+ address_line2: string | null;
736
+ /**
737
+ * The state of the check's destination.
738
+ */
739
+ address_state: string | null;
740
+ /**
741
+ * The postal code of the check's destination.
742
+ */
743
+ address_zip: string | null;
744
+ /**
745
+ * The transfer amount in USD cents.
746
+ */
747
+ amount: number;
748
+ /**
749
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
750
+ * currency.
751
+ */
752
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
753
+ /**
754
+ * The name that will be printed on the check.
755
+ */
756
+ recipient_name: string | null;
757
+ /**
758
+ * The identifier of the Check Transfer with which this is associated.
759
+ */
760
+ transfer_id: string;
761
+ }
762
+ /**
763
+ * A Check Transfer Rejection object. This field will be present in the JSON
764
+ * response if and only if `category` is equal to `check_transfer_rejection`.
765
+ */
766
+ interface CheckTransferRejection {
767
+ /**
768
+ * The identifier of the Check Transfer that led to this Transaction.
769
+ */
770
+ transfer_id: string;
771
+ }
772
+ /**
773
+ * A Check Transfer Return object. This field will be present in the JSON response
774
+ * if and only if `category` is equal to `check_transfer_return`.
775
+ */
776
+ interface CheckTransferReturn {
777
+ /**
778
+ * If available, a document with additional information about the return.
779
+ */
780
+ file_id: string | null;
781
+ /**
782
+ * The reason why the check was returned.
783
+ */
784
+ reason: 'mail_delivery_failure' | 'refused_by_recipient' | 'returned_not_authorized';
785
+ /**
786
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
787
+ * the check was returned.
788
+ */
789
+ returned_at: string;
790
+ /**
791
+ * The identifier of the Transaction that was created to credit you for the
792
+ * returned check.
793
+ */
794
+ transaction_id: string | null;
795
+ /**
796
+ * The identifier of the returned Check Transfer.
797
+ */
798
+ transfer_id: string;
799
+ }
800
+ /**
801
+ * A Check Transfer Stop Payment Request object. This field will be present in the
802
+ * JSON response if and only if `category` is equal to
803
+ * `check_transfer_stop_payment_request`.
804
+ */
805
+ interface CheckTransferStopPaymentRequest {
806
+ /**
807
+ * The time the stop-payment was requested.
808
+ */
809
+ requested_at: string;
810
+ /**
811
+ * The transaction ID of the corresponding credit transaction.
812
+ */
813
+ transaction_id: string;
814
+ /**
815
+ * The ID of the check transfer that was stopped.
816
+ */
817
+ transfer_id: string;
818
+ /**
819
+ * A constant representing the object's type. For this resource it will always be
820
+ * `check_transfer_stop_payment_request`.
821
+ */
822
+ type: 'check_transfer_stop_payment_request';
823
+ }
824
+ /**
825
+ * A Fee Payment object. This field will be present in the JSON response if and
826
+ * only if `category` is equal to `fee_payment`.
827
+ */
828
+ interface FeePayment {
829
+ /**
830
+ * The amount in the minor unit of the transaction's currency. For dollars, for
831
+ * example, this is cents.
832
+ */
833
+ amount: number;
834
+ /**
835
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
836
+ * currency.
837
+ */
838
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
839
+ }
840
+ /**
841
+ * A Inbound ACH Transfer object. This field will be present in the JSON response
842
+ * if and only if `category` is equal to `inbound_ach_transfer`.
843
+ */
844
+ interface InboundACHTransfer {
845
+ /**
846
+ * The amount in the minor unit of the destination account currency. For dollars,
847
+ * for example, this is cents.
848
+ */
849
+ amount: number;
850
+ originator_company_descriptive_date: string | null;
851
+ originator_company_discretionary_data: string | null;
852
+ originator_company_entry_description: string;
853
+ originator_company_id: string;
854
+ originator_company_name: string;
855
+ receiver_id_number: string | null;
856
+ receiver_name: string | null;
857
+ trace_number: string;
858
+ }
859
+ /**
860
+ * A Inbound Check object. This field will be present in the JSON response if and
861
+ * only if `category` is equal to `inbound_check`.
862
+ */
863
+ interface InboundCheck {
864
+ /**
865
+ * The amount in the minor unit of the destination account currency. For dollars,
866
+ * for example, this is cents.
867
+ */
868
+ amount: number;
869
+ check_front_image_file_id: string | null;
870
+ check_number: string | null;
871
+ check_rear_image_file_id: string | null;
872
+ /**
873
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
874
+ * transaction's currency.
875
+ */
876
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
877
+ }
878
+ /**
879
+ * A Inbound International ACH Transfer object. This field will be present in the
880
+ * JSON response if and only if `category` is equal to
881
+ * `inbound_international_ach_transfer`.
882
+ */
883
+ interface InboundInternationalACHTransfer {
884
+ /**
885
+ * The amount in the minor unit of the destination account currency. For dollars,
886
+ * for example, this is cents.
887
+ */
888
+ amount: number;
889
+ destination_country_code: string;
890
+ destination_currency_code: string;
891
+ foreign_exchange_indicator: string;
892
+ foreign_exchange_reference: string | null;
893
+ foreign_exchange_reference_indicator: string;
894
+ foreign_payment_amount: number;
895
+ foreign_trace_number: string | null;
896
+ international_transaction_type_code: string;
897
+ originating_currency_code: string;
898
+ originating_depository_financial_institution_branch_country: string;
899
+ originating_depository_financial_institution_id: string;
900
+ originating_depository_financial_institution_id_qualifier: string;
901
+ originating_depository_financial_institution_name: string;
902
+ originator_city: string;
903
+ originator_company_entry_description: string;
904
+ originator_country: string;
905
+ originator_identification: string;
906
+ originator_name: string;
907
+ originator_postal_code: string | null;
908
+ originator_state_or_province: string | null;
909
+ originator_street_address: string;
910
+ payment_related_information: string | null;
911
+ payment_related_information2: string | null;
912
+ receiver_city: string;
913
+ receiver_country: string;
914
+ receiver_identification_number: string | null;
915
+ receiver_postal_code: string | null;
916
+ receiver_state_or_province: string | null;
917
+ receiver_street_address: string;
918
+ receiving_company_or_individual_name: string;
919
+ receiving_depository_financial_institution_country: string;
920
+ receiving_depository_financial_institution_id: string;
921
+ receiving_depository_financial_institution_id_qualifier: string;
922
+ receiving_depository_financial_institution_name: string;
923
+ trace_number: string;
924
+ }
925
+ /**
926
+ * A Inbound Real Time Payments Transfer Confirmation object. This field will be
927
+ * present in the JSON response if and only if `category` is equal to
928
+ * `inbound_real_time_payments_transfer_confirmation`.
929
+ */
930
+ interface InboundRealTimePaymentsTransferConfirmation {
931
+ /**
932
+ * The amount in the minor unit of the transfer's currency. For dollars, for
933
+ * example, this is cents.
934
+ */
935
+ amount: number;
936
+ /**
937
+ * The name the sender of the transfer specified as the recipient of the transfer.
938
+ */
939
+ creditor_name: string;
940
+ /**
941
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
942
+ * currency. This will always be "USD" for a Real Time Payments transfer.
943
+ */
944
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
945
+ /**
946
+ * The account number of the account that sent the transfer.
947
+ */
948
+ debtor_account_number: string;
949
+ /**
950
+ * The name provided by the sender of the transfer.
951
+ */
952
+ debtor_name: string;
953
+ /**
954
+ * The routing number of the account that sent the transfer.
955
+ */
956
+ debtor_routing_number: string;
957
+ /**
958
+ * Additional information included with the transfer.
959
+ */
960
+ remittance_information: string | null;
961
+ /**
962
+ * The Real Time Payments network identification of the transfer
963
+ */
964
+ transaction_identification: string;
965
+ }
966
+ /**
967
+ * A Inbound Wire Drawdown Payment object. This field will be present in the JSON
968
+ * response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
969
+ */
970
+ interface InboundWireDrawdownPayment {
971
+ /**
972
+ * The amount in the minor unit of the transaction's currency. For dollars, for
973
+ * example, this is cents.
974
+ */
975
+ amount: number;
976
+ beneficiary_address_line1: string | null;
977
+ beneficiary_address_line2: string | null;
978
+ beneficiary_address_line3: string | null;
979
+ beneficiary_name: string | null;
980
+ beneficiary_reference: string | null;
981
+ description: string;
982
+ input_message_accountability_data: string | null;
983
+ originator_address_line1: string | null;
984
+ originator_address_line2: string | null;
985
+ originator_address_line3: string | null;
986
+ originator_name: string | null;
987
+ originator_to_beneficiary_information: string | null;
988
+ }
989
+ /**
990
+ * A Inbound Wire Drawdown Payment Reversal object. This field will be present in
991
+ * the JSON response if and only if `category` is equal to
992
+ * `inbound_wire_drawdown_payment_reversal`.
993
+ */
994
+ interface InboundWireDrawdownPaymentReversal {
995
+ /**
996
+ * The amount that was reversed.
997
+ */
998
+ amount: number;
999
+ /**
1000
+ * The description on the reversal message from Fedwire.
1001
+ */
1002
+ description: string;
1003
+ /**
1004
+ * The Fedwire cycle date for the wire reversal.
1005
+ */
1006
+ input_cycle_date: string;
1007
+ /**
1008
+ * The Fedwire transaction identifier.
1009
+ */
1010
+ input_message_accountability_data: string;
1011
+ /**
1012
+ * The Fedwire sequence number.
1013
+ */
1014
+ input_sequence_number: string;
1015
+ /**
1016
+ * The Fedwire input source identifier.
1017
+ */
1018
+ input_source: string;
1019
+ /**
1020
+ * The Fedwire cycle date for the wire transfer that was reversed.
1021
+ */
1022
+ previous_message_input_cycle_date: string;
1023
+ /**
1024
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1025
+ */
1026
+ previous_message_input_message_accountability_data: string;
1027
+ /**
1028
+ * The Fedwire sequence number for the wire transfer that was reversed.
1029
+ */
1030
+ previous_message_input_sequence_number: string;
1031
+ /**
1032
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1033
+ */
1034
+ previous_message_input_source: string;
1035
+ }
1036
+ /**
1037
+ * A Inbound Wire Reversal object. This field will be present in the JSON response
1038
+ * if and only if `category` is equal to `inbound_wire_reversal`.
1039
+ */
1040
+ interface InboundWireReversal {
1041
+ /**
1042
+ * The amount that was reversed.
1043
+ */
1044
+ amount: number;
1045
+ /**
1046
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1047
+ * the reversal was created.
1048
+ */
1049
+ created_at: string;
1050
+ /**
1051
+ * The description on the reversal message from Fedwire.
1052
+ */
1053
+ description: string;
1054
+ /**
1055
+ * Additional financial institution information included in the wire reversal.
1056
+ */
1057
+ financial_institution_to_financial_institution_information: string | null;
1058
+ /**
1059
+ * The Fedwire cycle date for the wire reversal.
1060
+ */
1061
+ input_cycle_date: string;
1062
+ /**
1063
+ * The Fedwire transaction identifier.
1064
+ */
1065
+ input_message_accountability_data: string;
1066
+ /**
1067
+ * The Fedwire sequence number.
1068
+ */
1069
+ input_sequence_number: string;
1070
+ /**
1071
+ * The Fedwire input source identifier.
1072
+ */
1073
+ input_source: string;
1074
+ /**
1075
+ * The Fedwire cycle date for the wire transfer that was reversed.
1076
+ */
1077
+ previous_message_input_cycle_date: string;
1078
+ /**
1079
+ * The Fedwire transaction identifier for the wire transfer that was reversed.
1080
+ */
1081
+ previous_message_input_message_accountability_data: string;
1082
+ /**
1083
+ * The Fedwire sequence number for the wire transfer that was reversed.
1084
+ */
1085
+ previous_message_input_sequence_number: string;
1086
+ /**
1087
+ * The Fedwire input source identifier for the wire transfer that was reversed.
1088
+ */
1089
+ previous_message_input_source: string;
1090
+ /**
1091
+ * Information included in the wire reversal for the receiving financial
1092
+ * institution.
1093
+ */
1094
+ receiver_financial_institution_information: string | null;
1095
+ /**
1096
+ * The ID for the Transaction associated with the transfer reversal.
1097
+ */
1098
+ transaction_id: string | null;
1099
+ /**
1100
+ * The ID for the Wire Transfer that is being reversed.
1101
+ */
1102
+ wire_transfer_id: string;
1103
+ }
1104
+ /**
1105
+ * A Inbound Wire Transfer object. This field will be present in the JSON response
1106
+ * if and only if `category` is equal to `inbound_wire_transfer`.
1107
+ */
1108
+ interface InboundWireTransfer {
1109
+ /**
1110
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1111
+ * example, this is cents.
1112
+ */
1113
+ amount: number;
1114
+ beneficiary_address_line1: string | null;
1115
+ beneficiary_address_line2: string | null;
1116
+ beneficiary_address_line3: string | null;
1117
+ beneficiary_name: string | null;
1118
+ beneficiary_reference: string | null;
1119
+ description: string;
1120
+ input_message_accountability_data: string | null;
1121
+ originator_address_line1: string | null;
1122
+ originator_address_line2: string | null;
1123
+ originator_address_line3: string | null;
1124
+ originator_name: string | null;
1125
+ originator_to_beneficiary_information: string | null;
1126
+ originator_to_beneficiary_information_line1: string | null;
1127
+ originator_to_beneficiary_information_line2: string | null;
1128
+ originator_to_beneficiary_information_line3: string | null;
1129
+ originator_to_beneficiary_information_line4: string | null;
1130
+ }
1131
+ /**
1132
+ * A Interest Payment object. This field will be present in the JSON response if
1133
+ * and only if `category` is equal to `interest_payment`.
1134
+ */
1135
+ interface InterestPayment {
1136
+ /**
1137
+ * The account on which the interest was accrued.
1138
+ */
1139
+ accrued_on_account_id: string | null;
1140
+ /**
1141
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1142
+ * example, this is cents.
1143
+ */
1144
+ amount: number;
1145
+ /**
1146
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1147
+ * currency.
1148
+ */
1149
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1150
+ /**
1151
+ * The end of the period for which this transaction paid interest.
1152
+ */
1153
+ period_end: string;
1154
+ /**
1155
+ * The start of the period for which this transaction paid interest.
1156
+ */
1157
+ period_start: string;
1158
+ }
1159
+ /**
1160
+ * A Internal Source object. This field will be present in the JSON response if and
1161
+ * only if `category` is equal to `internal_source`.
1162
+ */
1163
+ interface InternalSource {
1164
+ /**
1165
+ * The amount in the minor unit of the transaction's currency. For dollars, for
1166
+ * example, this is cents.
1167
+ */
1168
+ amount: number;
1169
+ /**
1170
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
1171
+ * currency.
1172
+ */
1173
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1174
+ reason:
1175
+ | 'account_closure'
1176
+ | 'bank_migration'
1177
+ | 'cashback'
1178
+ | 'collection_receivable'
1179
+ | 'empyreal_adjustment'
1180
+ | 'error'
1181
+ | 'error_correction'
1182
+ | 'fees'
1183
+ | 'interest'
1184
+ | 'negative_balance_forgiveness'
1185
+ | 'sample_funds'
1186
+ | 'sample_funds_return';
1187
+ }
1188
+ /**
1189
+ * A Real Time Payments Transfer Acknowledgement object. This field will be present
1190
+ * in the JSON response if and only if `category` is equal to
1191
+ * `real_time_payments_transfer_acknowledgement`.
1192
+ */
1193
+ interface RealTimePaymentsTransferAcknowledgement {
1194
+ /**
1195
+ * The transfer amount in USD cents.
1196
+ */
1197
+ amount: number;
1198
+ /**
1199
+ * The destination account number.
1200
+ */
1201
+ destination_account_number: string;
1202
+ /**
1203
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
1204
+ */
1205
+ destination_routing_number: string;
1206
+ /**
1207
+ * Unstructured information that will show on the recipient's bank statement.
1208
+ */
1209
+ remittance_information: string;
1210
+ /**
1211
+ * The identifier of the Real Time Payments Transfer that led to this Transaction.
1212
+ */
1213
+ transfer_id: string;
1214
+ }
1215
+ /**
1216
+ * A Sample Funds object. This field will be present in the JSON response if and
1217
+ * only if `category` is equal to `sample_funds`.
1218
+ */
1219
+ interface SampleFunds {
1220
+ /**
1221
+ * Where the sample funds came from.
1222
+ */
1223
+ originator: string;
1224
+ }
1225
+ /**
1226
+ * A Wire Transfer Intention object. This field will be present in the JSON
1227
+ * response if and only if `category` is equal to `wire_transfer_intention`.
1228
+ */
1229
+ interface WireTransferIntention {
1230
+ /**
1231
+ * The destination account number.
1232
+ */
1233
+ account_number: string;
1234
+ /**
1235
+ * The transfer amount in USD cents.
1236
+ */
1237
+ amount: number;
1238
+ /**
1239
+ * The message that will show on the recipient's bank statement.
1240
+ */
1241
+ message_to_recipient: string;
1242
+ /**
1243
+ * The American Bankers' Association (ABA) Routing Transit Number (RTN).
1244
+ */
1245
+ routing_number: string;
1246
+ transfer_id: string;
1247
+ }
1248
+ /**
1249
+ * A Wire Transfer Rejection object. This field will be present in the JSON
1250
+ * response if and only if `category` is equal to `wire_transfer_rejection`.
1251
+ */
1252
+ interface WireTransferRejection {
1253
+ transfer_id: string;
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ export interface InterestPaymentCreateParams {
1259
+ /**
1260
+ * The identifier of the Account Number the Interest Payment is for.
1261
+ */
1262
+ account_id: string;
1263
+ /**
1264
+ * The interest amount in cents. Must be positive.
1265
+ */
1266
+ amount: number;
1267
+ }
1268
+ export declare namespace InterestPayments {
1269
+ export import InterestPaymentSimulationResult = API.InterestPaymentSimulationResult;
1270
+ export import InterestPaymentCreateParams = API.InterestPaymentCreateParams;
1271
+ }
1272
+ //# sourceMappingURL=interest-payments.d.ts.map