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