increase 0.1.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 (425) hide show
  1. package/.eslintrc.js +10 -0
  2. package/.prettierrc +6 -0
  3. package/.stats.yml +1 -0
  4. package/LICENSE +201 -0
  5. package/README.md +211 -0
  6. package/api.md +477 -0
  7. package/bin/check-test-server +50 -0
  8. package/build +12 -0
  9. package/check-version.ts +15 -0
  10. package/core.ts +908 -0
  11. package/dist/cjs/check-version.d.ts +1 -0
  12. package/dist/cjs/check-version.js +21 -0
  13. package/dist/cjs/check-version.js.map +1 -0
  14. package/dist/cjs/core.d.ts +262 -0
  15. package/dist/cjs/core.js +978 -0
  16. package/dist/cjs/core.js.map +1 -0
  17. package/dist/cjs/fetch-polyfill.d.ts +5 -0
  18. package/dist/cjs/fetch-polyfill.js +55 -0
  19. package/dist/cjs/fetch-polyfill.js.map +1 -0
  20. package/dist/cjs/index.d.ts +201 -0
  21. package/dist/cjs/index.js +180 -0
  22. package/dist/cjs/index.js.map +1 -0
  23. package/dist/cjs/pagination.d.ts +28 -0
  24. package/dist/cjs/pagination.js +30 -0
  25. package/dist/cjs/pagination.js.map +1 -0
  26. package/dist/cjs/resource.d.ts +11 -0
  27. package/dist/cjs/resource.js +17 -0
  28. package/dist/cjs/resource.js.map +1 -0
  29. package/dist/cjs/resources/account-numbers.d.ts +103 -0
  30. package/dist/cjs/resources/account-numbers.js +37 -0
  31. package/dist/cjs/resources/account-numbers.js.map +1 -0
  32. package/dist/cjs/resources/account-statements.d.ts +99 -0
  33. package/dist/cjs/resources/account-statements.js +25 -0
  34. package/dist/cjs/resources/account-statements.js.map +1 -0
  35. package/dist/cjs/resources/account-transfers.d.ts +189 -0
  36. package/dist/cjs/resources/account-transfers.js +43 -0
  37. package/dist/cjs/resources/account-transfers.js.map +1 -0
  38. package/dist/cjs/resources/accounts.d.ts +133 -0
  39. package/dist/cjs/resources/accounts.js +43 -0
  40. package/dist/cjs/resources/accounts.js.map +1 -0
  41. package/dist/cjs/resources/ach-prenotifications.d.ts +188 -0
  42. package/dist/cjs/resources/ach-prenotifications.js +35 -0
  43. package/dist/cjs/resources/ach-prenotifications.js.map +1 -0
  44. package/dist/cjs/resources/ach-transfers.d.ts +375 -0
  45. package/dist/cjs/resources/ach-transfers.js +43 -0
  46. package/dist/cjs/resources/ach-transfers.js.map +1 -0
  47. package/dist/cjs/resources/card-disputes.d.ts +143 -0
  48. package/dist/cjs/resources/card-disputes.js +31 -0
  49. package/dist/cjs/resources/card-disputes.js.map +1 -0
  50. package/dist/cjs/resources/card-profiles.d.ts +183 -0
  51. package/dist/cjs/resources/card-profiles.js +31 -0
  52. package/dist/cjs/resources/card-profiles.js.map +1 -0
  53. package/dist/cjs/resources/cards.d.ts +316 -0
  54. package/dist/cjs/resources/cards.js +43 -0
  55. package/dist/cjs/resources/cards.js.map +1 -0
  56. package/dist/cjs/resources/check-deposits.d.ts +241 -0
  57. package/dist/cjs/resources/check-deposits.js +31 -0
  58. package/dist/cjs/resources/check-deposits.js.map +1 -0
  59. package/dist/cjs/resources/check-transfers.d.ts +331 -0
  60. package/dist/cjs/resources/check-transfers.js +49 -0
  61. package/dist/cjs/resources/check-transfers.js.map +1 -0
  62. package/dist/cjs/resources/declined-transactions.d.ts +424 -0
  63. package/dist/cjs/resources/declined-transactions.js +29 -0
  64. package/dist/cjs/resources/declined-transactions.js.map +1 -0
  65. package/dist/cjs/resources/digital-wallet-tokens.d.ts +85 -0
  66. package/dist/cjs/resources/digital-wallet-tokens.js +29 -0
  67. package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -0
  68. package/dist/cjs/resources/documents.d.ts +87 -0
  69. package/dist/cjs/resources/documents.js +25 -0
  70. package/dist/cjs/resources/documents.js.map +1 -0
  71. package/dist/cjs/resources/entities/entities.d.ts +1383 -0
  72. package/dist/cjs/resources/entities/entities.js +36 -0
  73. package/dist/cjs/resources/entities/entities.js.map +1 -0
  74. package/dist/cjs/resources/entities/index.d.ts +2 -0
  75. package/dist/cjs/resources/entities/index.js +12 -0
  76. package/dist/cjs/resources/entities/index.js.map +1 -0
  77. package/dist/cjs/resources/entities/supplemental-documents.d.ts +19 -0
  78. package/dist/cjs/resources/entities/supplemental-documents.js +15 -0
  79. package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -0
  80. package/dist/cjs/resources/event-subscriptions.d.ts +196 -0
  81. package/dist/cjs/resources/event-subscriptions.js +37 -0
  82. package/dist/cjs/resources/event-subscriptions.js.map +1 -0
  83. package/dist/cjs/resources/events.d.ts +183 -0
  84. package/dist/cjs/resources/events.js +25 -0
  85. package/dist/cjs/resources/events.js.map +1 -0
  86. package/dist/cjs/resources/external-accounts.d.ts +121 -0
  87. package/dist/cjs/resources/external-accounts.js +37 -0
  88. package/dist/cjs/resources/external-accounts.js.map +1 -0
  89. package/dist/cjs/resources/files.d.ts +148 -0
  90. package/dist/cjs/resources/files.js +34 -0
  91. package/dist/cjs/resources/files.js.map +1 -0
  92. package/dist/cjs/resources/groups.d.ts +37 -0
  93. package/dist/cjs/resources/groups.js +15 -0
  94. package/dist/cjs/resources/groups.js.map +1 -0
  95. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +106 -0
  96. package/dist/cjs/resources/inbound-ach-transfer-returns.js +35 -0
  97. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -0
  98. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +124 -0
  99. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +29 -0
  100. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -0
  101. package/dist/cjs/resources/index.d.ts +163 -0
  102. package/dist/cjs/resources/index.js +478 -0
  103. package/dist/cjs/resources/index.js.map +1 -0
  104. package/dist/cjs/resources/limits.d.ts +105 -0
  105. package/dist/cjs/resources/limits.js +37 -0
  106. package/dist/cjs/resources/limits.js.map +1 -0
  107. package/dist/cjs/resources/oauth-connections.d.ts +50 -0
  108. package/dist/cjs/resources/oauth-connections.js +25 -0
  109. package/dist/cjs/resources/oauth-connections.js.map +1 -0
  110. package/dist/cjs/resources/pending-transactions.d.ts +397 -0
  111. package/dist/cjs/resources/pending-transactions.js +29 -0
  112. package/dist/cjs/resources/pending-transactions.js.map +1 -0
  113. package/dist/cjs/resources/real-time-decisions.d.ts +289 -0
  114. package/dist/cjs/resources/real-time-decisions.js +21 -0
  115. package/dist/cjs/resources/real-time-decisions.js.map +1 -0
  116. package/dist/cjs/resources/routing-numbers.d.ts +49 -0
  117. package/dist/cjs/resources/routing-numbers.js +21 -0
  118. package/dist/cjs/resources/routing-numbers.js.map +1 -0
  119. package/dist/cjs/resources/shared.d.ts +15 -0
  120. package/dist/cjs/resources/shared.js +4 -0
  121. package/dist/cjs/resources/shared.js.map +1 -0
  122. package/dist/cjs/resources/simulations/account-statements.d.ts +19 -0
  123. package/dist/cjs/resources/simulations/account-statements.js +16 -0
  124. package/dist/cjs/resources/simulations/account-statements.js.map +1 -0
  125. package/dist/cjs/resources/simulations/account-transfers.d.ts +15 -0
  126. package/dist/cjs/resources/simulations/account-transfers.js +18 -0
  127. package/dist/cjs/resources/simulations/account-transfers.js.map +1 -0
  128. package/dist/cjs/resources/simulations/ach-transfers.d.ts +1488 -0
  129. package/dist/cjs/resources/simulations/ach-transfers.js +39 -0
  130. package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -0
  131. package/dist/cjs/resources/simulations/card-disputes.d.ts +26 -0
  132. package/dist/cjs/resources/simulations/card-disputes.js +18 -0
  133. package/dist/cjs/resources/simulations/card-disputes.js.map +1 -0
  134. package/dist/cjs/resources/simulations/card-refunds.d.ts +20 -0
  135. package/dist/cjs/resources/simulations/card-refunds.js +16 -0
  136. package/dist/cjs/resources/simulations/card-refunds.js.map +1 -0
  137. package/dist/cjs/resources/simulations/cards.d.ts +793 -0
  138. package/dist/cjs/resources/simulations/cards.js +31 -0
  139. package/dist/cjs/resources/simulations/cards.js.map +1 -0
  140. package/dist/cjs/resources/simulations/check-deposits.d.ts +30 -0
  141. package/dist/cjs/resources/simulations/check-deposits.js +31 -0
  142. package/dist/cjs/resources/simulations/check-deposits.js.map +1 -0
  143. package/dist/cjs/resources/simulations/check-transfers.d.ts +22 -0
  144. package/dist/cjs/resources/simulations/check-transfers.js +24 -0
  145. package/dist/cjs/resources/simulations/check-transfers.js.map +1 -0
  146. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +43 -0
  147. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +16 -0
  148. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  149. package/dist/cjs/resources/simulations/documents.d.ts +18 -0
  150. package/dist/cjs/resources/simulations/documents.js +15 -0
  151. package/dist/cjs/resources/simulations/documents.js.map +1 -0
  152. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +101 -0
  153. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +16 -0
  154. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  155. package/dist/cjs/resources/simulations/index.d.ts +20 -0
  156. package/dist/cjs/resources/simulations/index.js +4 -0
  157. package/dist/cjs/resources/simulations/index.js.map +1 -0
  158. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1431 -0
  159. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +16 -0
  160. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -0
  161. package/dist/cjs/resources/simulations/simulations.d.ts +29 -0
  162. package/dist/cjs/resources/simulations/simulations.js +44 -0
  163. package/dist/cjs/resources/simulations/simulations.js.map +1 -0
  164. package/dist/cjs/resources/simulations/wire-transfers.d.ts +1104 -0
  165. package/dist/cjs/resources/simulations/wire-transfers.js +15 -0
  166. package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -0
  167. package/dist/cjs/resources/transactions.d.ts +1101 -0
  168. package/dist/cjs/resources/transactions.js +25 -0
  169. package/dist/cjs/resources/transactions.js.map +1 -0
  170. package/dist/cjs/resources/wire-drawdown-requests.d.ts +148 -0
  171. package/dist/cjs/resources/wire-drawdown-requests.js +35 -0
  172. package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -0
  173. package/dist/cjs/resources/wire-transfers.d.ts +310 -0
  174. package/dist/cjs/resources/wire-transfers.js +60 -0
  175. package/dist/cjs/resources/wire-transfers.js.map +1 -0
  176. package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +1 -0
  177. package/dist/cjs/tests/api-resources/account-numbers.test.js +104 -0
  178. package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -0
  179. package/dist/cjs/tests/api-resources/account-statements.test.d.ts +1 -0
  180. package/dist/cjs/tests/api-resources/account-statements.test.js +101 -0
  181. package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -0
  182. package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +1 -0
  183. package/dist/cjs/tests/api-resources/account-transfers.test.js +146 -0
  184. package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -0
  185. package/dist/cjs/tests/api-resources/accounts.test.d.ts +1 -0
  186. package/dist/cjs/tests/api-resources/accounts.test.js +119 -0
  187. package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -0
  188. package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +1 -0
  189. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +125 -0
  190. package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -0
  191. package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +1 -0
  192. package/dist/cjs/tests/api-resources/ach-transfers.test.js +159 -0
  193. package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -0
  194. package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +1 -0
  195. package/dist/cjs/tests/api-resources/card-disputes.test.js +108 -0
  196. package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -0
  197. package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +1 -0
  198. package/dist/cjs/tests/api-resources/card-profiles.test.js +97 -0
  199. package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -0
  200. package/dist/cjs/tests/api-resources/cards.test.d.ts +1 -0
  201. package/dist/cjs/tests/api-resources/cards.test.js +138 -0
  202. package/dist/cjs/tests/api-resources/cards.test.js.map +1 -0
  203. package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +1 -0
  204. package/dist/cjs/tests/api-resources/check-deposits.test.js +113 -0
  205. package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -0
  206. package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +1 -0
  207. package/dist/cjs/tests/api-resources/check-transfers.test.js +172 -0
  208. package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -0
  209. package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +1 -0
  210. package/dist/cjs/tests/api-resources/declined-transactions.test.js +105 -0
  211. package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -0
  212. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +1 -0
  213. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +103 -0
  214. package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -0
  215. package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
  216. package/dist/cjs/tests/api-resources/documents.test.js +101 -0
  217. package/dist/cjs/tests/api-resources/documents.test.js.map +1 -0
  218. package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +1 -0
  219. package/dist/cjs/tests/api-resources/entities/entities.test.js +280 -0
  220. package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -0
  221. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +1 -0
  222. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +49 -0
  223. package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -0
  224. package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +1 -0
  225. package/dist/cjs/tests/api-resources/event-subscriptions.test.js +109 -0
  226. package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -0
  227. package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
  228. package/dist/cjs/tests/api-resources/events.test.js +101 -0
  229. package/dist/cjs/tests/api-resources/events.test.js.map +1 -0
  230. package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
  231. package/dist/cjs/tests/api-resources/external-accounts.test.js +113 -0
  232. package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -0
  233. package/dist/cjs/tests/api-resources/files.test.d.ts +1 -0
  234. package/dist/cjs/tests/api-resources/files.test.js +117 -0
  235. package/dist/cjs/tests/api-resources/files.test.js.map +1 -0
  236. package/dist/cjs/tests/api-resources/groups.test.d.ts +1 -0
  237. package/dist/cjs/tests/api-resources/groups.test.js +54 -0
  238. package/dist/cjs/tests/api-resources/groups.test.js.map +1 -0
  239. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +1 -0
  240. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +90 -0
  241. package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +1 -0
  242. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +1 -0
  243. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +83 -0
  244. package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +1 -0
  245. package/dist/cjs/tests/api-resources/limits.test.d.ts +1 -0
  246. package/dist/cjs/tests/api-resources/limits.test.js +100 -0
  247. package/dist/cjs/tests/api-resources/limits.test.js.map +1 -0
  248. package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +1 -0
  249. package/dist/cjs/tests/api-resources/oauth-connections.test.js +78 -0
  250. package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +1 -0
  251. package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +1 -0
  252. package/dist/cjs/tests/api-resources/pending-transactions.test.js +97 -0
  253. package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -0
  254. package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +1 -0
  255. package/dist/cjs/tests/api-resources/real-time-decisions.test.js +71 -0
  256. package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +1 -0
  257. package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +1 -0
  258. package/dist/cjs/tests/api-resources/routing-numbers.test.js +55 -0
  259. package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -0
  260. package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +1 -0
  261. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +49 -0
  262. package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +1 -0
  263. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +1 -0
  264. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +60 -0
  265. package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +1 -0
  266. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +1 -0
  267. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +92 -0
  268. package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -0
  269. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +1 -0
  270. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +56 -0
  271. package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -0
  272. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +1 -0
  273. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js +49 -0
  274. package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +1 -0
  275. package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +1 -0
  276. package/dist/cjs/tests/api-resources/simulations/cards.test.js +70 -0
  277. package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -0
  278. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +1 -0
  279. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +86 -0
  280. package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +1 -0
  281. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +1 -0
  282. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +73 -0
  283. package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +1 -0
  284. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +1 -0
  285. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +49 -0
  286. package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +1 -0
  287. package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +1 -0
  288. package/dist/cjs/tests/api-resources/simulations/documents.test.js +49 -0
  289. package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +1 -0
  290. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +1 -0
  291. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +81 -0
  292. package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -0
  293. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +1 -0
  294. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +62 -0
  295. package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +1 -0
  296. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +1 -0
  297. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +70 -0
  298. package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -0
  299. package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
  300. package/dist/cjs/tests/api-resources/transactions.test.js +109 -0
  301. package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -0
  302. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +1 -0
  303. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +110 -0
  304. package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -0
  305. package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +1 -0
  306. package/dist/cjs/tests/api-resources/wire-transfers.test.js +184 -0
  307. package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -0
  308. package/dist/cjs/tests/form.test.d.ts +1 -0
  309. package/dist/cjs/tests/form.test.js +60 -0
  310. package/dist/cjs/tests/form.test.js.map +1 -0
  311. package/dist/cjs/tests/index.test.d.ts +1 -0
  312. package/dist/cjs/tests/index.test.js +44 -0
  313. package/dist/cjs/tests/index.test.js.map +1 -0
  314. package/dist/cjs/tests/responses.test.d.ts +1 -0
  315. package/dist/cjs/tests/responses.test.js +59 -0
  316. package/dist/cjs/tests/responses.test.js.map +1 -0
  317. package/dist/cjs/version.d.ts +1 -0
  318. package/dist/cjs/version.js +5 -0
  319. package/dist/cjs/version.js.map +1 -0
  320. package/fetch-polyfill.ts +69 -0
  321. package/index.ts +276 -0
  322. package/jest.config.js +8 -0
  323. package/package.json +47 -0
  324. package/pagination.ts +58 -0
  325. package/resource.ts +24 -0
  326. package/resources/account-numbers.ts +141 -0
  327. package/resources/account-statements.ts +132 -0
  328. package/resources/account-transfers.ts +244 -0
  329. package/resources/accounts.ts +179 -0
  330. package/resources/ach-prenotifications.ts +242 -0
  331. package/resources/ach-transfers.ts +465 -0
  332. package/resources/card-disputes.ts +187 -0
  333. package/resources/card-profiles.ts +236 -0
  334. package/resources/cards.ts +398 -0
  335. package/resources/check-deposits.ts +303 -0
  336. package/resources/check-transfers.ts +422 -0
  337. package/resources/declined-transactions.ts +547 -0
  338. package/resources/digital-wallet-tokens.ts +115 -0
  339. package/resources/documents.ts +119 -0
  340. package/resources/entities/entities.ts +1668 -0
  341. package/resources/entities/index.ts +4 -0
  342. package/resources/entities/supplemental-documents.ts +25 -0
  343. package/resources/event-subscriptions.ts +232 -0
  344. package/resources/events.ts +215 -0
  345. package/resources/external-accounts.ts +162 -0
  346. package/resources/files.ts +188 -0
  347. package/resources/groups.ts +47 -0
  348. package/resources/inbound-ach-transfer-returns.ts +142 -0
  349. package/resources/inbound-wire-drawdown-requests.ts +168 -0
  350. package/resources/index.ts +165 -0
  351. package/resources/limits.ts +144 -0
  352. package/resources/oauth-connections.ts +74 -0
  353. package/resources/pending-transactions.ts +491 -0
  354. package/resources/real-time-decisions.ts +345 -0
  355. package/resources/routing-numbers.ts +62 -0
  356. package/resources/shared.ts +17 -0
  357. package/resources/simulations/account-statements.ts +25 -0
  358. package/resources/simulations/account-transfers.ts +20 -0
  359. package/resources/simulations/ach-transfers.ts +1873 -0
  360. package/resources/simulations/card-disputes.ts +33 -0
  361. package/resources/simulations/card-refunds.ts +26 -0
  362. package/resources/simulations/cards.ts +979 -0
  363. package/resources/simulations/check-deposits.ts +41 -0
  364. package/resources/simulations/check-transfers.ts +30 -0
  365. package/resources/simulations/digital-wallet-token-requests.ts +52 -0
  366. package/resources/simulations/documents.ts +24 -0
  367. package/resources/simulations/inbound-wire-drawdown-requests.ts +126 -0
  368. package/resources/simulations/index.ts +22 -0
  369. package/resources/simulations/real-time-payments-transfers.ts +1809 -0
  370. package/resources/simulations/simulations.ts +32 -0
  371. package/resources/simulations/wire-transfers.ts +1391 -0
  372. package/resources/transactions.ts +1393 -0
  373. package/resources/wire-drawdown-requests.ts +195 -0
  374. package/resources/wire-transfers.ts +399 -0
  375. package/tests/api-resources/account-numbers.test.ts +67 -0
  376. package/tests/api-resources/account-statements.test.ts +64 -0
  377. package/tests/api-resources/account-transfers.test.ts +109 -0
  378. package/tests/api-resources/accounts.test.ts +82 -0
  379. package/tests/api-resources/ach-prenotifications.test.ts +86 -0
  380. package/tests/api-resources/ach-transfers.test.ts +120 -0
  381. package/tests/api-resources/card-disputes.test.ts +71 -0
  382. package/tests/api-resources/card-profiles.test.ts +60 -0
  383. package/tests/api-resources/cards.test.ts +101 -0
  384. package/tests/api-resources/check-deposits.test.ts +74 -0
  385. package/tests/api-resources/check-transfers.test.ts +135 -0
  386. package/tests/api-resources/declined-transactions.test.ts +68 -0
  387. package/tests/api-resources/digital-wallet-tokens.test.ts +64 -0
  388. package/tests/api-resources/documents.test.ts +64 -0
  389. package/tests/api-resources/entities/entities.test.ts +243 -0
  390. package/tests/api-resources/entities/supplemental-documents.test.ts +12 -0
  391. package/tests/api-resources/event-subscriptions.test.ts +69 -0
  392. package/tests/api-resources/events.test.ts +64 -0
  393. package/tests/api-resources/external-accounts.test.ts +76 -0
  394. package/tests/api-resources/files.test.ts +81 -0
  395. package/tests/api-resources/groups.test.ts +17 -0
  396. package/tests/api-resources/inbound-ach-transfer-returns.test.ts +53 -0
  397. package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +46 -0
  398. package/tests/api-resources/limits.test.ts +63 -0
  399. package/tests/api-resources/oauth-connections.test.ts +41 -0
  400. package/tests/api-resources/pending-transactions.test.ts +58 -0
  401. package/tests/api-resources/real-time-decisions.test.ts +34 -0
  402. package/tests/api-resources/routing-numbers.test.ts +18 -0
  403. package/tests/api-resources/simulations/account-statements.test.ts +12 -0
  404. package/tests/api-resources/simulations/account-transfers.test.ts +23 -0
  405. package/tests/api-resources/simulations/ach-transfers.test.ts +52 -0
  406. package/tests/api-resources/simulations/card-disputes.test.ts +19 -0
  407. package/tests/api-resources/simulations/card-refunds.test.ts +12 -0
  408. package/tests/api-resources/simulations/cards.test.ts +33 -0
  409. package/tests/api-resources/simulations/check-deposits.test.ts +49 -0
  410. package/tests/api-resources/simulations/check-transfers.test.ts +34 -0
  411. package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +12 -0
  412. package/tests/api-resources/simulations/documents.test.ts +12 -0
  413. package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +44 -0
  414. package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +25 -0
  415. package/tests/api-resources/simulations/wire-transfers.test.ts +33 -0
  416. package/tests/api-resources/transactions.test.ts +70 -0
  417. package/tests/api-resources/wire-drawdown-requests.test.ts +73 -0
  418. package/tests/api-resources/wire-transfers.test.ts +147 -0
  419. package/tests/form.test.ts +27 -0
  420. package/tests/index.test.ts +47 -0
  421. package/tests/responses.test.ts +25 -0
  422. package/tsconfig.cjs.json +8 -0
  423. package/tsconfig.json +37 -0
  424. package/typings/digest-fetch/index.d.ts +33 -0
  425. package/version.ts +1 -0
@@ -0,0 +1,188 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '~/core';
4
+ import { APIResource } from '~/resource';
5
+ import { isRequestOptions } from '~/core';
6
+ import { Page, PageParams } from '~/pagination';
7
+ import type * as FormData from 'formdata-node';
8
+ import { multipartFormRequestOptions } from '~/core';
9
+
10
+ export class Files extends APIResource {
11
+ /**
12
+ * To upload a file to Increase, you'll need to send a request of Content-Type
13
+ * `multipart/form-data`. The request should contain the file you would like to
14
+ * upload, as well as the parameters for creating a file.
15
+ */
16
+ create(body: FileCreateParams, options?: Core.RequestOptions): Promise<Core.APIResponse<File>> {
17
+ return this.post('/files', multipartFormRequestOptions({ body, ...options }));
18
+ }
19
+
20
+ /**
21
+ * Retrieve a File
22
+ */
23
+ retrieve(fileId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<File>> {
24
+ return this.get(`/files/${fileId}`, options);
25
+ }
26
+
27
+ /**
28
+ * List Files
29
+ */
30
+ list(query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<FilesPage>;
31
+ list(options?: Core.RequestOptions): Core.PagePromise<FilesPage>;
32
+ list(
33
+ query: FileListParams | Core.RequestOptions = {},
34
+ options?: Core.RequestOptions,
35
+ ): Core.PagePromise<FilesPage> {
36
+ if (isRequestOptions(query)) {
37
+ return this.list({}, query);
38
+ }
39
+
40
+ return this.getAPIList('/files', FilesPage, { query, ...options });
41
+ }
42
+ }
43
+
44
+ export class FilesPage extends Page<File> {}
45
+
46
+ /**
47
+ * Files are objects that represent a file hosted on Increase's servers. The file
48
+ * may have been uploaded by you (for example, when uploading a check image) or it
49
+ * may have been created by Increase (for example, an autogenerated statement PDF).
50
+ */
51
+ export interface File {
52
+ /**
53
+ * The time the File was created.
54
+ */
55
+ created_at: string;
56
+
57
+ /**
58
+ * A description of the File.
59
+ */
60
+ description: string | null;
61
+
62
+ /**
63
+ * Whether the File was generated by Increase or by you and sent to Increase.
64
+ */
65
+ direction: 'to_increase' | 'from_increase';
66
+
67
+ /**
68
+ * A URL from where the File can be downloaded at this point in time. The location
69
+ * of this URL may change over time.
70
+ */
71
+ download_url: string | null;
72
+
73
+ /**
74
+ * The filename that was provided upon upload or generated by Increase.
75
+ */
76
+ filename: string | null;
77
+
78
+ /**
79
+ * The File's identifier.
80
+ */
81
+ id: string;
82
+
83
+ /**
84
+ * What the File will be used for. We may add additional possible values for this
85
+ * enum over time; your application should be able to handle such additions
86
+ * gracefully.
87
+ */
88
+ purpose:
89
+ | 'check_image_front'
90
+ | 'check_image_back'
91
+ | 'form_1099_int'
92
+ | 'form_ss_4'
93
+ | 'identity_document'
94
+ | 'increase_statement'
95
+ | 'other'
96
+ | 'trust_formation_document'
97
+ | 'digital_wallet_artwork'
98
+ | 'digital_wallet_app_icon'
99
+ | 'entity_supplemental_document';
100
+
101
+ /**
102
+ * A constant representing the object's type. For this resource it will always be
103
+ * `file`.
104
+ */
105
+ type: 'file';
106
+ }
107
+
108
+ export interface FileCreateParams {
109
+ /**
110
+ * The file contents. This should follow the specifications of
111
+ * [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578) which defines file
112
+ * transfers for the multipart/form-data protocol.
113
+ */
114
+ file: FormData.Blob | FormData.File;
115
+
116
+ /**
117
+ * What the File will be used for in Increase's systems.
118
+ */
119
+ purpose:
120
+ | 'check_image_front'
121
+ | 'check_image_back'
122
+ | 'form_ss_4'
123
+ | 'identity_document'
124
+ | 'other'
125
+ | 'trust_formation_document'
126
+ | 'digital_wallet_artwork'
127
+ | 'digital_wallet_app_icon'
128
+ | 'entity_supplemental_document';
129
+
130
+ /**
131
+ * The description you choose to give the File.
132
+ */
133
+ description?: string;
134
+ }
135
+
136
+ export interface FileListParams extends PageParams {
137
+ created_at?: FileListParams.CreatedAt;
138
+
139
+ purpose?: FileListParams.Purpose;
140
+ }
141
+
142
+ export namespace FileListParams {
143
+ export interface CreatedAt {
144
+ /**
145
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
146
+ * timestamp.
147
+ */
148
+ after?: string;
149
+
150
+ /**
151
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
152
+ * timestamp.
153
+ */
154
+ before?: string;
155
+
156
+ /**
157
+ * Return results on or after this
158
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
159
+ */
160
+ on_or_after?: string;
161
+
162
+ /**
163
+ * Return results on or before this
164
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
165
+ */
166
+ on_or_before?: string;
167
+ }
168
+
169
+ export interface Purpose {
170
+ /**
171
+ * Return results whose value is in the provided list. For GET requests, this
172
+ * should be encoded as a comma-delimited string, such as `?in=one,two,three`.
173
+ */
174
+ in?: Array<
175
+ | 'check_image_front'
176
+ | 'check_image_back'
177
+ | 'form_1099_int'
178
+ | 'form_ss_4'
179
+ | 'identity_document'
180
+ | 'increase_statement'
181
+ | 'other'
182
+ | 'trust_formation_document'
183
+ | 'digital_wallet_artwork'
184
+ | 'digital_wallet_app_icon'
185
+ | 'entity_supplemental_document'
186
+ >;
187
+ }
188
+ }
@@ -0,0 +1,47 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '~/core';
4
+ import { APIResource } from '~/resource';
5
+
6
+ export class Groups extends APIResource {
7
+ /**
8
+ * Returns details for the currently authenticated Group.
9
+ */
10
+ retrieveDetails(options?: Core.RequestOptions): Promise<Core.APIResponse<Group>> {
11
+ return this.get('/groups/current', options);
12
+ }
13
+ }
14
+
15
+ /**
16
+ * Groups represent organizations using Increase. You can retrieve information
17
+ * about your own organization via the API, or (more commonly) OAuth platforms can
18
+ * retrieve information about the organizations that have granted them access.
19
+ */
20
+ export interface Group {
21
+ /**
22
+ * If the Group is allowed to create ACH debits.
23
+ */
24
+ ach_debit_status: 'disabled' | 'enabled';
25
+
26
+ /**
27
+ * If the Group is activated or not.
28
+ */
29
+ activation_status: 'unactivated' | 'activated';
30
+
31
+ /**
32
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group
33
+ * was created.
34
+ */
35
+ created_at: string;
36
+
37
+ /**
38
+ * The Group identifier.
39
+ */
40
+ id: string;
41
+
42
+ /**
43
+ * A constant representing the object's type. For this resource it will always be
44
+ * `group`.
45
+ */
46
+ type: 'group';
47
+ }
@@ -0,0 +1,142 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '~/core';
4
+ import { APIResource } from '~/resource';
5
+ import { isRequestOptions } from '~/core';
6
+ import { Page, PageParams } from '~/pagination';
7
+
8
+ export class InboundACHTransferReturns extends APIResource {
9
+ /**
10
+ * Create an ACH Return
11
+ */
12
+ create(
13
+ body: InboundACHTransferReturnCreateParams,
14
+ options?: Core.RequestOptions,
15
+ ): Promise<Core.APIResponse<InboundACHTransferReturn>> {
16
+ return this.post('/inbound_ach_transfer_returns', { body, ...options });
17
+ }
18
+
19
+ /**
20
+ * Retrieve an Inbound ACH Transfer Return
21
+ */
22
+ retrieve(
23
+ inboundACHTransferReturnId: string,
24
+ options?: Core.RequestOptions,
25
+ ): Promise<Core.APIResponse<InboundACHTransferReturn>> {
26
+ return this.get(`/inbound_ach_transfer_returns/${inboundACHTransferReturnId}`, options);
27
+ }
28
+
29
+ /**
30
+ * List Inbound ACH Transfer Returns
31
+ */
32
+ list(
33
+ query?: InboundACHTransferReturnListParams,
34
+ options?: Core.RequestOptions,
35
+ ): Core.PagePromise<InboundACHTransferReturnsPage>;
36
+ list(options?: Core.RequestOptions): Core.PagePromise<InboundACHTransferReturnsPage>;
37
+ list(
38
+ query: InboundACHTransferReturnListParams | Core.RequestOptions = {},
39
+ options?: Core.RequestOptions,
40
+ ): Core.PagePromise<InboundACHTransferReturnsPage> {
41
+ if (isRequestOptions(query)) {
42
+ return this.list({}, query);
43
+ }
44
+
45
+ return this.getAPIList('/inbound_ach_transfer_returns', InboundACHTransferReturnsPage, {
46
+ query,
47
+ ...options,
48
+ });
49
+ }
50
+ }
51
+
52
+ export class InboundACHTransferReturnsPage extends Page<InboundACHTransferReturn> {}
53
+
54
+ /**
55
+ * If unauthorized activity occurs via ACH, you can create an Inbound ACH Transfer
56
+ * Return and we'll reverse the transaction. You can create an Inbound ACH Transfer
57
+ * return the first two days after receiving an Inbound ACH Transfer.
58
+ */
59
+ export interface InboundACHTransferReturn {
60
+ /**
61
+ * The ID of the Inbound ACH Transfer Return.
62
+ */
63
+ id: string;
64
+
65
+ /**
66
+ * The ID for the Transaction that is being returned.
67
+ */
68
+ inbound_ach_transfer_transaction_id: string;
69
+
70
+ /**
71
+ * The reason why this transfer will be returned. This is sent to the initiating
72
+ * bank.
73
+ */
74
+ reason:
75
+ | 'authorization_revoked_by_customer'
76
+ | 'payment_stopped'
77
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
78
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
79
+ | 'beneficiary_or_account_holder_deceased'
80
+ | 'credit_entry_refused_by_receiver'
81
+ | 'duplicate_entry'
82
+ | 'corporate_customer_advised_not_authorized';
83
+
84
+ /**
85
+ * The lifecycle status of the transfer.
86
+ */
87
+ status: 'pending_submitting' | 'submitted';
88
+
89
+ /**
90
+ * After the return is submitted to FedACH, this will contain supplemental details.
91
+ */
92
+ submission: InboundACHTransferReturn.Submission | null;
93
+
94
+ /**
95
+ * The ID for the transaction refunding the transfer.
96
+ */
97
+ transaction_id: string | null;
98
+
99
+ /**
100
+ * A constant representing the object's type. For this resource it will always be
101
+ * `inbound_ach_transfer_return`.
102
+ */
103
+ type: 'inbound_ach_transfer_return';
104
+ }
105
+
106
+ export namespace InboundACHTransferReturn {
107
+ export interface Submission {
108
+ /**
109
+ * When the ACH transfer return was sent to FedACH.
110
+ */
111
+ submitted_at: string;
112
+
113
+ /**
114
+ * The trace number for the submission.
115
+ */
116
+ trace_number: string;
117
+ }
118
+ }
119
+
120
+ export interface InboundACHTransferReturnCreateParams {
121
+ /**
122
+ * The reason why this transfer will be returned. The most usual return codes are
123
+ * `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
124
+ */
125
+ reason:
126
+ | 'authorization_revoked_by_customer'
127
+ | 'payment_stopped'
128
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
129
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
130
+ | 'beneficiary_or_account_holder_deceased'
131
+ | 'credit_entry_refused_by_receiver'
132
+ | 'duplicate_entry'
133
+ | 'corporate_customer_advised_not_authorized';
134
+
135
+ /**
136
+ * The transaction identifier of the Inbound ACH Transfer to return to the
137
+ * originating financial institution.
138
+ */
139
+ transaction_id: string;
140
+ }
141
+
142
+ export interface InboundACHTransferReturnListParams extends PageParams {}
@@ -0,0 +1,168 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '~/core';
4
+ import { APIResource } from '~/resource';
5
+ import { isRequestOptions } from '~/core';
6
+ import { Page, PageParams } from '~/pagination';
7
+
8
+ export class InboundWireDrawdownRequests extends APIResource {
9
+ /**
10
+ * Retrieve an Inbound Wire Drawdown Request
11
+ */
12
+ retrieve(
13
+ inboundWireDrawdownRequestId: string,
14
+ options?: Core.RequestOptions,
15
+ ): Promise<Core.APIResponse<InboundWireDrawdownRequest>> {
16
+ return this.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
17
+ }
18
+
19
+ /**
20
+ * List Inbound Wire Drawdown Requests
21
+ */
22
+ list(
23
+ query?: InboundWireDrawdownRequestListParams,
24
+ options?: Core.RequestOptions,
25
+ ): Core.PagePromise<InboundWireDrawdownRequestsPage>;
26
+ list(options?: Core.RequestOptions): Core.PagePromise<InboundWireDrawdownRequestsPage>;
27
+ list(
28
+ query: InboundWireDrawdownRequestListParams | Core.RequestOptions = {},
29
+ options?: Core.RequestOptions,
30
+ ): Core.PagePromise<InboundWireDrawdownRequestsPage> {
31
+ if (isRequestOptions(query)) {
32
+ return this.list({}, query);
33
+ }
34
+
35
+ return this.getAPIList('/inbound_wire_drawdown_requests', InboundWireDrawdownRequestsPage, {
36
+ query,
37
+ ...options,
38
+ });
39
+ }
40
+ }
41
+
42
+ export class InboundWireDrawdownRequestsPage extends Page<InboundWireDrawdownRequest> {}
43
+
44
+ /**
45
+ * Inbound wire drawdown requests are requests from someone else to send them a
46
+ * wire. This feature is in beta; reach out to
47
+ * [support@increase.com](mailto:support@increase.com) to learn more.
48
+ */
49
+ export interface InboundWireDrawdownRequest {
50
+ /**
51
+ * The amount being requested in cents.
52
+ */
53
+ amount: number;
54
+
55
+ /**
56
+ * The drawdown request's beneficiary's account number.
57
+ */
58
+ beneficiary_account_number: string;
59
+
60
+ /**
61
+ * Line 1 of the drawdown request's beneficiary's address.
62
+ */
63
+ beneficiary_address_line1: string | null;
64
+
65
+ /**
66
+ * Line 2 of the drawdown request's beneficiary's address.
67
+ */
68
+ beneficiary_address_line2: string | null;
69
+
70
+ /**
71
+ * Line 3 of the drawdown request's beneficiary's address.
72
+ */
73
+ beneficiary_address_line3: string | null;
74
+
75
+ /**
76
+ * The drawdown request's beneficiary's name.
77
+ */
78
+ beneficiary_name: string | null;
79
+
80
+ /**
81
+ * The drawdown request's beneficiary's routing number.
82
+ */
83
+ beneficiary_routing_number: string;
84
+
85
+ /**
86
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
87
+ * requested. Will always be "USD".
88
+ */
89
+ currency: string;
90
+
91
+ /**
92
+ * The Wire drawdown request identifier.
93
+ */
94
+ id: string;
95
+
96
+ /**
97
+ * A message from the drawdown request's originator.
98
+ */
99
+ message_to_recipient: string | null;
100
+
101
+ /**
102
+ * The drawdown request's originator's account number.
103
+ */
104
+ originator_account_number: string;
105
+
106
+ /**
107
+ * Line 1 of the drawdown request's originator's address.
108
+ */
109
+ originator_address_line1: string | null;
110
+
111
+ /**
112
+ * Line 2 of the drawdown request's originator's address.
113
+ */
114
+ originator_address_line2: string | null;
115
+
116
+ /**
117
+ * Line 3 of the drawdown request's originator's address.
118
+ */
119
+ originator_address_line3: string | null;
120
+
121
+ /**
122
+ * The drawdown request's originator's name.
123
+ */
124
+ originator_name: string | null;
125
+
126
+ /**
127
+ * The drawdown request's originator's routing number.
128
+ */
129
+ originator_routing_number: string;
130
+
131
+ /**
132
+ * Line 1 of the information conveyed from the originator of the message to the
133
+ * beneficiary.
134
+ */
135
+ originator_to_beneficiary_information_line1: string | null;
136
+
137
+ /**
138
+ * Line 2 of the information conveyed from the originator of the message to the
139
+ * beneficiary.
140
+ */
141
+ originator_to_beneficiary_information_line2: string | null;
142
+
143
+ /**
144
+ * Line 3 of the information conveyed from the originator of the message to the
145
+ * beneficiary.
146
+ */
147
+ originator_to_beneficiary_information_line3: string | null;
148
+
149
+ /**
150
+ * Line 4 of the information conveyed from the originator of the message to the
151
+ * beneficiary.
152
+ */
153
+ originator_to_beneficiary_information_line4: string | null;
154
+
155
+ /**
156
+ * The Account Number from which the recipient of this request is being requested
157
+ * to send funds.
158
+ */
159
+ recipient_account_number_id: string;
160
+
161
+ /**
162
+ * A constant representing the object's type. For this resource it will always be
163
+ * `inbound_wire_drawdown_request`.
164
+ */
165
+ type: 'inbound_wire_drawdown_request';
166
+ }
167
+
168
+ export interface InboundWireDrawdownRequestListParams extends PageParams {}
@@ -0,0 +1,165 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ export * from './shared';
4
+ export {
5
+ ACHPrenotification,
6
+ ACHPrenotificationCreateParams,
7
+ ACHPrenotificationListParams,
8
+ ACHPrenotificationsPage,
9
+ ACHPrenotifications,
10
+ } from './ach-prenotifications';
11
+ export {
12
+ ACHTransfer,
13
+ ACHTransferCreateParams,
14
+ ACHTransferListParams,
15
+ ACHTransfersPage,
16
+ ACHTransfers,
17
+ } from './ach-transfers';
18
+ export {
19
+ Account,
20
+ AccountCreateParams,
21
+ AccountUpdateParams,
22
+ AccountListParams,
23
+ AccountsPage,
24
+ Accounts,
25
+ } from './accounts';
26
+ export {
27
+ AccountNumber,
28
+ AccountNumberCreateParams,
29
+ AccountNumberUpdateParams,
30
+ AccountNumberListParams,
31
+ AccountNumbersPage,
32
+ AccountNumbers,
33
+ } from './account-numbers';
34
+ export {
35
+ AccountStatement,
36
+ AccountStatementListParams,
37
+ AccountStatementsPage,
38
+ AccountStatements,
39
+ } from './account-statements';
40
+ export {
41
+ AccountTransfer,
42
+ AccountTransferCreateParams,
43
+ AccountTransferListParams,
44
+ AccountTransfersPage,
45
+ AccountTransfers,
46
+ } from './account-transfers';
47
+ export {
48
+ Card,
49
+ CardDetails,
50
+ CardCreateParams,
51
+ CardUpdateParams,
52
+ CardListParams,
53
+ CardsPage,
54
+ Cards,
55
+ } from './cards';
56
+ export {
57
+ CardDispute,
58
+ CardDisputeCreateParams,
59
+ CardDisputeListParams,
60
+ CardDisputesPage,
61
+ CardDisputes,
62
+ } from './card-disputes';
63
+ export {
64
+ CardProfile,
65
+ CardProfileCreateParams,
66
+ CardProfileListParams,
67
+ CardProfilesPage,
68
+ CardProfiles,
69
+ } from './card-profiles';
70
+ export {
71
+ CheckDeposit,
72
+ CheckDepositCreateParams,
73
+ CheckDepositListParams,
74
+ CheckDepositsPage,
75
+ CheckDeposits,
76
+ } from './check-deposits';
77
+ export {
78
+ CheckTransfer,
79
+ CheckTransferCreateParams,
80
+ CheckTransferListParams,
81
+ CheckTransfersPage,
82
+ CheckTransfers,
83
+ } from './check-transfers';
84
+ export {
85
+ DeclinedTransaction,
86
+ DeclinedTransactionListParams,
87
+ DeclinedTransactionsPage,
88
+ DeclinedTransactions,
89
+ } from './declined-transactions';
90
+ export {
91
+ DigitalWalletToken,
92
+ DigitalWalletTokenListParams,
93
+ DigitalWalletTokensPage,
94
+ DigitalWalletTokens,
95
+ } from './digital-wallet-tokens';
96
+ export { Document, DocumentListParams, DocumentsPage, Documents } from './documents';
97
+ export { Entity, EntityCreateParams, EntityListParams, EntitiesPage, Entities } from './entities/entities';
98
+ export { Event, EventListParams, EventsPage, Events } from './events';
99
+ export {
100
+ EventSubscription,
101
+ EventSubscriptionCreateParams,
102
+ EventSubscriptionUpdateParams,
103
+ EventSubscriptionListParams,
104
+ EventSubscriptionsPage,
105
+ EventSubscriptions,
106
+ } from './event-subscriptions';
107
+ export {
108
+ ExternalAccount,
109
+ ExternalAccountCreateParams,
110
+ ExternalAccountUpdateParams,
111
+ ExternalAccountListParams,
112
+ ExternalAccountsPage,
113
+ ExternalAccounts,
114
+ } from './external-accounts';
115
+ export { File, FileCreateParams, FileListParams, FilesPage, Files } from './files';
116
+ export { Group, Groups } from './groups';
117
+ export {
118
+ InboundACHTransferReturn,
119
+ InboundACHTransferReturnCreateParams,
120
+ InboundACHTransferReturnListParams,
121
+ InboundACHTransferReturnsPage,
122
+ InboundACHTransferReturns,
123
+ } from './inbound-ach-transfer-returns';
124
+ export {
125
+ InboundWireDrawdownRequest,
126
+ InboundWireDrawdownRequestListParams,
127
+ InboundWireDrawdownRequestsPage,
128
+ InboundWireDrawdownRequests,
129
+ } from './inbound-wire-drawdown-requests';
130
+ export { Limit, LimitCreateParams, LimitUpdateParams, LimitListParams, LimitsPage, Limits } from './limits';
131
+ export {
132
+ OauthConnection,
133
+ OauthConnectionListParams,
134
+ OauthConnectionsPage,
135
+ OauthConnections,
136
+ } from './oauth-connections';
137
+ export {
138
+ PendingTransaction,
139
+ PendingTransactionListParams,
140
+ PendingTransactionsPage,
141
+ PendingTransactions,
142
+ } from './pending-transactions';
143
+ export { RealTimeDecision, RealTimeDecisionActionParams, RealTimeDecisions } from './real-time-decisions';
144
+ export {
145
+ RoutingNumber,
146
+ RoutingNumberListParams,
147
+ RoutingNumbersPage,
148
+ RoutingNumbers,
149
+ } from './routing-numbers';
150
+ export { Simulations } from './simulations/simulations';
151
+ export { Transaction, TransactionListParams, TransactionsPage, Transactions } from './transactions';
152
+ export {
153
+ WireDrawdownRequest,
154
+ WireDrawdownRequestCreateParams,
155
+ WireDrawdownRequestListParams,
156
+ WireDrawdownRequestsPage,
157
+ WireDrawdownRequests,
158
+ } from './wire-drawdown-requests';
159
+ export {
160
+ WireTransfer,
161
+ WireTransferCreateParams,
162
+ WireTransferListParams,
163
+ WireTransfersPage,
164
+ WireTransfers,
165
+ } from './wire-transfers';