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