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