increase 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1286) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +11 -6
  3. package/_shims/agent.d.ts +9 -0
  4. package/_shims/agent.d.ts.map +1 -0
  5. package/_shims/agent.js.map +1 -0
  6. package/_shims/agent.mjs +10 -0
  7. package/_shims/agent.mjs.map +1 -0
  8. package/_shims/agent.node.d.ts +7 -0
  9. package/_shims/agent.node.d.ts.map +1 -0
  10. package/_shims/agent.node.js.map +1 -0
  11. package/_shims/agent.node.mjs +16 -0
  12. package/_shims/agent.node.mjs.map +1 -0
  13. package/_shims/fetch.d.ts +52 -0
  14. package/_shims/fetch.js +13 -0
  15. package/_shims/fetch.mjs +15 -0
  16. package/_shims/fetch.node.d.ts +53 -0
  17. package/_shims/fetch.node.js +12 -0
  18. package/_shims/fetch.node.mjs +14 -0
  19. package/_shims/fileFromPath.d.ts +22 -0
  20. package/_shims/fileFromPath.d.ts.map +1 -0
  21. package/_shims/fileFromPath.js +16 -0
  22. package/_shims/fileFromPath.js.map +1 -0
  23. package/_shims/fileFromPath.mjs +12 -0
  24. package/_shims/fileFromPath.mjs.map +1 -0
  25. package/_shims/fileFromPath.node.d.ts +17 -0
  26. package/_shims/fileFromPath.node.d.ts.map +1 -0
  27. package/_shims/fileFromPath.node.js +17 -0
  28. package/_shims/fileFromPath.node.js.map +1 -0
  29. package/_shims/fileFromPath.node.mjs +13 -0
  30. package/_shims/fileFromPath.node.mjs.map +1 -0
  31. package/_shims/formdata.d.ts +43 -0
  32. package/_shims/formdata.js +9 -0
  33. package/_shims/formdata.mjs +11 -0
  34. package/_shims/formdata.node.d.ts +44 -0
  35. package/_shims/formdata.node.js +11 -0
  36. package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  37. package/_shims/getMultipartRequestOptions.js +12 -0
  38. package/_shims/getMultipartRequestOptions.js.map +1 -0
  39. package/_shims/getMultipartRequestOptions.mjs +8 -0
  40. package/_shims/getMultipartRequestOptions.mjs.map +1 -0
  41. package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  42. package/_shims/getMultipartRequestOptions.node.js +22 -0
  43. package/_shims/getMultipartRequestOptions.node.js.map +1 -0
  44. package/_shims/getMultipartRequestOptions.node.mjs +18 -0
  45. package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
  46. package/_shims/node-readable.d.ts +23 -0
  47. package/_shims/node-readable.d.ts.map +1 -0
  48. package/_shims/node-readable.js +11 -0
  49. package/_shims/node-readable.js.map +1 -0
  50. package/_shims/node-readable.mjs +7 -0
  51. package/_shims/node-readable.mjs.map +1 -0
  52. package/_shims/node-readable.node.d.ts +8 -0
  53. package/_shims/node-readable.node.d.ts.map +1 -0
  54. package/_shims/node-readable.node.js +9 -0
  55. package/_shims/node-readable.node.js.map +1 -0
  56. package/_shims/node-readable.node.mjs +5 -0
  57. package/_shims/node-readable.node.mjs.map +1 -0
  58. package/core.d.ts +230 -0
  59. package/core.d.ts.map +1 -0
  60. package/core.js +717 -0
  61. package/core.js.map +1 -0
  62. package/core.mjs +621 -0
  63. package/core.mjs.map +1 -0
  64. package/error.d.ts +225 -0
  65. package/error.d.ts.map +1 -0
  66. package/error.js +350 -0
  67. package/error.js.map +1 -0
  68. package/error.mjs +297 -0
  69. package/error.mjs.map +1 -0
  70. package/index.d.mts +355 -0
  71. package/index.d.ts +355 -0
  72. package/index.d.ts.map +1 -0
  73. package/index.js +292 -0
  74. package/index.js.map +1 -0
  75. package/index.mjs +221 -0
  76. package/index.mjs.map +1 -0
  77. package/package.json +34 -77
  78. package/pagination.d.ts.map +1 -0
  79. package/pagination.js +30 -0
  80. package/pagination.js.map +1 -0
  81. package/pagination.mjs +26 -0
  82. package/pagination.mjs.map +1 -0
  83. package/resource.d.ts.map +1 -0
  84. package/resource.js.map +1 -0
  85. package/resource.mjs +13 -0
  86. package/resource.mjs.map +1 -0
  87. package/resources/account-numbers.d.ts +151 -0
  88. package/resources/account-numbers.d.ts.map +1 -0
  89. package/resources/account-numbers.js +38 -0
  90. package/resources/account-numbers.js.map +1 -0
  91. package/resources/account-numbers.mjs +33 -0
  92. package/resources/account-numbers.mjs.map +1 -0
  93. package/resources/account-statements.d.ts +108 -0
  94. package/resources/account-statements.d.ts.map +1 -0
  95. package/resources/account-statements.js +28 -0
  96. package/resources/account-statements.js.map +1 -0
  97. package/resources/account-statements.mjs +21 -0
  98. package/resources/account-statements.mjs.map +1 -0
  99. package/resources/account-transfers.d.ts +232 -0
  100. package/resources/account-transfers.d.ts.map +1 -0
  101. package/resources/account-transfers.js +46 -0
  102. package/resources/account-transfers.js.map +1 -0
  103. package/resources/account-transfers.mjs +39 -0
  104. package/resources/account-transfers.mjs.map +1 -0
  105. package/resources/accounts.d.ts +178 -0
  106. package/resources/accounts.d.ts.map +1 -0
  107. package/resources/accounts.js +44 -0
  108. package/resources/accounts.js.map +1 -0
  109. package/resources/accounts.mjs +39 -0
  110. package/resources/accounts.mjs.map +1 -0
  111. package/resources/ach-prenotifications.d.ts +216 -0
  112. package/resources/ach-prenotifications.d.ts.map +1 -0
  113. package/resources/ach-prenotifications.js +34 -0
  114. package/resources/ach-prenotifications.js.map +1 -0
  115. package/resources/ach-prenotifications.mjs +27 -0
  116. package/resources/ach-prenotifications.mjs.map +1 -0
  117. package/resources/ach-transfers.d.ts +681 -0
  118. package/resources/ach-transfers.d.ts.map +1 -0
  119. package/resources/ach-transfers.js +44 -0
  120. package/resources/ach-transfers.js.map +1 -0
  121. package/resources/ach-transfers.mjs +39 -0
  122. package/resources/ach-transfers.mjs.map +1 -0
  123. package/resources/balance-lookups.d.ts +52 -0
  124. package/resources/balance-lookups.d.ts.map +1 -0
  125. package/resources/balance-lookups.js +16 -0
  126. package/resources/balance-lookups.js.map +1 -0
  127. package/resources/balance-lookups.mjs +12 -0
  128. package/resources/balance-lookups.mjs.map +1 -0
  129. package/resources/bookkeeping-accounts.d.ts +86 -0
  130. package/resources/bookkeeping-accounts.d.ts.map +1 -0
  131. package/resources/bookkeeping-accounts.js +28 -0
  132. package/resources/bookkeeping-accounts.js.map +1 -0
  133. package/resources/bookkeeping-accounts.mjs +21 -0
  134. package/resources/bookkeeping-accounts.mjs.map +1 -0
  135. package/resources/bookkeeping-entries.d.ts +51 -0
  136. package/resources/bookkeeping-entries.d.ts.map +1 -0
  137. package/resources/bookkeeping-entries.js +22 -0
  138. package/resources/bookkeeping-entries.js.map +1 -0
  139. package/resources/bookkeeping-entries.mjs +15 -0
  140. package/resources/bookkeeping-entries.mjs.map +1 -0
  141. package/resources/bookkeeping-entry-sets.d.ts +88 -0
  142. package/resources/bookkeeping-entry-sets.d.ts.map +1 -0
  143. package/resources/bookkeeping-entry-sets.js +18 -0
  144. package/resources/bookkeeping-entry-sets.js.map +1 -0
  145. package/resources/bookkeeping-entry-sets.mjs +12 -0
  146. package/resources/bookkeeping-entry-sets.mjs.map +1 -0
  147. package/resources/card-disputes.d.ts +167 -0
  148. package/resources/card-disputes.d.ts.map +1 -0
  149. package/resources/card-disputes.js +32 -0
  150. package/resources/card-disputes.js.map +1 -0
  151. package/resources/card-disputes.mjs +27 -0
  152. package/resources/card-disputes.mjs.map +1 -0
  153. package/resources/card-profiles.d.ts +260 -0
  154. package/resources/card-profiles.d.ts.map +1 -0
  155. package/resources/card-profiles.js +32 -0
  156. package/resources/card-profiles.js.map +1 -0
  157. package/resources/card-profiles.mjs +27 -0
  158. package/resources/card-profiles.mjs.map +1 -0
  159. package/resources/cards.d.ts +364 -0
  160. package/resources/cards.d.ts.map +1 -0
  161. package/resources/cards.js +44 -0
  162. package/resources/cards.js.map +1 -0
  163. package/resources/cards.mjs +39 -0
  164. package/resources/cards.mjs.map +1 -0
  165. package/resources/check-deposits.d.ts +324 -0
  166. package/resources/check-deposits.d.ts.map +1 -0
  167. package/resources/check-deposits.js +32 -0
  168. package/resources/check-deposits.js.map +1 -0
  169. package/resources/check-deposits.mjs +27 -0
  170. package/resources/check-deposits.mjs.map +1 -0
  171. package/resources/check-transfers.d.ts +468 -0
  172. package/resources/check-transfers.d.ts.map +1 -0
  173. package/resources/check-transfers.js +50 -0
  174. package/resources/check-transfers.js.map +1 -0
  175. package/resources/check-transfers.mjs +45 -0
  176. package/resources/check-transfers.mjs.map +1 -0
  177. package/resources/declined-transactions.d.ts +633 -0
  178. package/resources/declined-transactions.d.ts.map +1 -0
  179. package/resources/declined-transactions.js +28 -0
  180. package/resources/declined-transactions.js.map +1 -0
  181. package/resources/declined-transactions.mjs +21 -0
  182. package/resources/declined-transactions.mjs.map +1 -0
  183. package/resources/digital-wallet-tokens.d.ts +103 -0
  184. package/resources/digital-wallet-tokens.d.ts.map +1 -0
  185. package/resources/digital-wallet-tokens.js +28 -0
  186. package/resources/digital-wallet-tokens.js.map +1 -0
  187. package/resources/digital-wallet-tokens.mjs +21 -0
  188. package/resources/digital-wallet-tokens.mjs.map +1 -0
  189. package/resources/documents.d.ts +103 -0
  190. package/resources/documents.d.ts.map +1 -0
  191. package/resources/documents.js +26 -0
  192. package/resources/documents.js.map +1 -0
  193. package/resources/documents.mjs +21 -0
  194. package/resources/documents.mjs.map +1 -0
  195. package/resources/entities/entities.d.ts +1779 -0
  196. package/resources/entities/entities.d.ts.map +1 -0
  197. package/resources/entities/entities.js +81 -0
  198. package/resources/entities/entities.js.map +1 -0
  199. package/resources/entities/entities.mjs +36 -0
  200. package/resources/entities/entities.mjs.map +1 -0
  201. package/resources/entities/index.d.ts.map +1 -0
  202. package/resources/entities/index.js +35 -0
  203. package/resources/entities/index.js.map +1 -0
  204. package/resources/entities/index.mjs +4 -0
  205. package/resources/entities/index.mjs.map +1 -0
  206. package/resources/entities/supplemental-documents.d.ts +64 -0
  207. package/resources/entities/supplemental-documents.d.ts.map +1 -0
  208. package/resources/entities/supplemental-documents.js +30 -0
  209. package/resources/entities/supplemental-documents.js.map +1 -0
  210. package/resources/entities/supplemental-documents.mjs +23 -0
  211. package/resources/entities/supplemental-documents.mjs.map +1 -0
  212. package/resources/event-subscriptions.d.ts +373 -0
  213. package/resources/event-subscriptions.d.ts.map +1 -0
  214. package/resources/event-subscriptions.js +40 -0
  215. package/resources/event-subscriptions.js.map +1 -0
  216. package/resources/event-subscriptions.mjs +33 -0
  217. package/resources/event-subscriptions.mjs.map +1 -0
  218. package/resources/events.d.ts +271 -0
  219. package/resources/events.d.ts.map +1 -0
  220. package/resources/events.js +26 -0
  221. package/resources/events.js.map +1 -0
  222. package/resources/events.mjs +21 -0
  223. package/resources/events.mjs.map +1 -0
  224. package/resources/exports.d.ts +182 -0
  225. package/resources/exports.d.ts.map +1 -0
  226. package/resources/exports.js +32 -0
  227. package/resources/exports.js.map +1 -0
  228. package/resources/exports.mjs +27 -0
  229. package/resources/exports.mjs.map +1 -0
  230. package/resources/external-accounts.d.ts +153 -0
  231. package/resources/external-accounts.d.ts.map +1 -0
  232. package/resources/external-accounts.js +40 -0
  233. package/resources/external-accounts.js.map +1 -0
  234. package/resources/external-accounts.mjs +33 -0
  235. package/resources/external-accounts.mjs.map +1 -0
  236. package/resources/files.d.ts +218 -0
  237. package/resources/files.d.ts.map +1 -0
  238. package/resources/files.js +35 -0
  239. package/resources/files.js.map +1 -0
  240. package/resources/files.mjs +30 -0
  241. package/resources/files.mjs.map +1 -0
  242. package/resources/groups.d.ts +48 -0
  243. package/resources/groups.d.ts.map +1 -0
  244. package/resources/groups.js +16 -0
  245. package/resources/groups.js.map +1 -0
  246. package/resources/groups.mjs +12 -0
  247. package/resources/groups.mjs.map +1 -0
  248. package/resources/inbound-ach-transfer-returns.d.ts +159 -0
  249. package/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
  250. package/resources/inbound-ach-transfer-returns.js +37 -0
  251. package/resources/inbound-ach-transfer-returns.js.map +1 -0
  252. package/resources/inbound-ach-transfer-returns.mjs +30 -0
  253. package/resources/inbound-ach-transfer-returns.mjs.map +1 -0
  254. package/resources/inbound-wire-drawdown-requests.d.ts +133 -0
  255. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
  256. package/resources/inbound-wire-drawdown-requests.js +32 -0
  257. package/resources/inbound-wire-drawdown-requests.js.map +1 -0
  258. package/resources/inbound-wire-drawdown-requests.mjs +26 -0
  259. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -0
  260. package/resources/index.d.ts +200 -0
  261. package/resources/index.d.ts.map +1 -0
  262. package/resources/index.js +569 -0
  263. package/resources/index.js.map +1 -0
  264. package/resources/index.mjs +44 -0
  265. package/resources/index.mjs.map +1 -0
  266. package/resources/limits.d.ts +152 -0
  267. package/resources/limits.d.ts.map +1 -0
  268. package/resources/limits.js +38 -0
  269. package/resources/limits.js.map +1 -0
  270. package/resources/limits.mjs +33 -0
  271. package/resources/limits.mjs.map +1 -0
  272. package/resources/oauth-connections.d.ts +62 -0
  273. package/resources/oauth-connections.d.ts.map +1 -0
  274. package/resources/oauth-connections.js +28 -0
  275. package/resources/oauth-connections.js.map +1 -0
  276. package/resources/oauth-connections.mjs +21 -0
  277. package/resources/oauth-connections.mjs.map +1 -0
  278. package/resources/pending-transactions.d.ts +599 -0
  279. package/resources/pending-transactions.d.ts.map +1 -0
  280. package/resources/pending-transactions.js +28 -0
  281. package/resources/pending-transactions.js.map +1 -0
  282. package/resources/pending-transactions.mjs +21 -0
  283. package/resources/pending-transactions.mjs.map +1 -0
  284. package/resources/programs.d.ts +56 -0
  285. package/resources/programs.d.ts.map +1 -0
  286. package/resources/programs.js +26 -0
  287. package/resources/programs.js.map +1 -0
  288. package/resources/programs.mjs +21 -0
  289. package/resources/programs.mjs.map +1 -0
  290. package/resources/real-time-decisions.d.ts +400 -0
  291. package/resources/real-time-decisions.d.ts.map +1 -0
  292. package/resources/real-time-decisions.js +24 -0
  293. package/resources/real-time-decisions.js.map +1 -0
  294. package/resources/real-time-decisions.mjs +18 -0
  295. package/resources/real-time-decisions.mjs.map +1 -0
  296. package/resources/real-time-payments-transfers.d.ts +377 -0
  297. package/resources/real-time-payments-transfers.d.ts.map +1 -0
  298. package/resources/real-time-payments-transfers.js +37 -0
  299. package/resources/real-time-payments-transfers.js.map +1 -0
  300. package/resources/real-time-payments-transfers.mjs +30 -0
  301. package/resources/real-time-payments-transfers.mjs.map +1 -0
  302. package/resources/routing-numbers.d.ts +67 -0
  303. package/resources/routing-numbers.d.ts.map +1 -0
  304. package/resources/routing-numbers.js +22 -0
  305. package/resources/routing-numbers.js.map +1 -0
  306. package/resources/routing-numbers.mjs +17 -0
  307. package/resources/routing-numbers.mjs.map +1 -0
  308. package/resources/shared.d.ts +29 -0
  309. package/resources/shared.d.ts.map +1 -0
  310. package/resources/shared.js.map +1 -0
  311. package/resources/shared.mjs +3 -0
  312. package/resources/shared.mjs.map +1 -0
  313. package/resources/simulations/account-statements.d.ts +24 -0
  314. package/resources/simulations/account-statements.d.ts.map +1 -0
  315. package/resources/simulations/account-statements.js +19 -0
  316. package/resources/simulations/account-statements.js.map +1 -0
  317. package/resources/simulations/account-statements.mjs +13 -0
  318. package/resources/simulations/account-statements.mjs.map +1 -0
  319. package/resources/simulations/account-transfers.d.ts +16 -0
  320. package/resources/simulations/account-transfers.d.ts.map +1 -0
  321. package/resources/simulations/account-transfers.js +18 -0
  322. package/resources/simulations/account-transfers.js.map +1 -0
  323. package/resources/simulations/account-transfers.mjs +14 -0
  324. package/resources/simulations/account-transfers.mjs.map +1 -0
  325. package/resources/simulations/ach-transfers.d.ts +2439 -0
  326. package/resources/simulations/ach-transfers.d.ts.map +1 -0
  327. package/resources/simulations/ach-transfers.js +40 -0
  328. package/resources/simulations/ach-transfers.js.map +1 -0
  329. package/resources/simulations/ach-transfers.mjs +36 -0
  330. package/resources/simulations/ach-transfers.mjs.map +1 -0
  331. package/resources/simulations/card-disputes.d.ts +35 -0
  332. package/resources/simulations/card-disputes.d.ts.map +1 -0
  333. package/resources/simulations/card-disputes.js +19 -0
  334. package/resources/simulations/card-disputes.js.map +1 -0
  335. package/resources/simulations/card-disputes.mjs +15 -0
  336. package/resources/simulations/card-disputes.mjs.map +1 -0
  337. package/resources/simulations/card-profiles.d.ts +17 -0
  338. package/resources/simulations/card-profiles.d.ts.map +1 -0
  339. package/resources/simulations/card-profiles.js +19 -0
  340. package/resources/simulations/card-profiles.js.map +1 -0
  341. package/resources/simulations/card-profiles.mjs +15 -0
  342. package/resources/simulations/card-profiles.mjs.map +1 -0
  343. package/resources/simulations/card-refunds.d.ts +25 -0
  344. package/resources/simulations/card-refunds.d.ts.map +1 -0
  345. package/resources/simulations/card-refunds.js +17 -0
  346. package/resources/simulations/card-refunds.js.map +1 -0
  347. package/resources/simulations/card-refunds.mjs +13 -0
  348. package/resources/simulations/card-refunds.mjs.map +1 -0
  349. package/resources/simulations/cards.d.ts +1185 -0
  350. package/resources/simulations/cards.d.ts.map +1 -0
  351. package/resources/simulations/cards.js +32 -0
  352. package/resources/simulations/cards.js.map +1 -0
  353. package/resources/simulations/cards.mjs +28 -0
  354. package/resources/simulations/cards.mjs.map +1 -0
  355. package/resources/simulations/check-deposits.d.ts +31 -0
  356. package/resources/simulations/check-deposits.d.ts.map +1 -0
  357. package/resources/simulations/check-deposits.js +31 -0
  358. package/resources/simulations/check-deposits.js.map +1 -0
  359. package/resources/simulations/check-deposits.mjs +27 -0
  360. package/resources/simulations/check-deposits.mjs.map +1 -0
  361. package/resources/simulations/check-transfers.d.ts +23 -0
  362. package/resources/simulations/check-transfers.d.ts.map +1 -0
  363. package/resources/simulations/check-transfers.js +24 -0
  364. package/resources/simulations/check-transfers.js.map +1 -0
  365. package/resources/simulations/check-transfers.mjs +20 -0
  366. package/resources/simulations/check-transfers.mjs.map +1 -0
  367. package/resources/simulations/digital-wallet-token-requests.d.ts +56 -0
  368. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
  369. package/resources/simulations/digital-wallet-token-requests.js +20 -0
  370. package/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  371. package/resources/simulations/digital-wallet-token-requests.mjs +13 -0
  372. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -0
  373. package/resources/simulations/documents.d.ts +23 -0
  374. package/resources/simulations/documents.d.ts.map +1 -0
  375. package/resources/simulations/documents.js +16 -0
  376. package/resources/simulations/documents.js.map +1 -0
  377. package/resources/simulations/documents.mjs +12 -0
  378. package/resources/simulations/documents.mjs.map +1 -0
  379. package/resources/simulations/inbound-funds-holds.d.ts +74 -0
  380. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
  381. package/resources/simulations/inbound-funds-holds.js +19 -0
  382. package/resources/simulations/inbound-funds-holds.js.map +1 -0
  383. package/resources/simulations/inbound-funds-holds.mjs +13 -0
  384. package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
  385. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
  386. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
  387. package/resources/simulations/inbound-wire-drawdown-requests.js +20 -0
  388. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  389. package/resources/simulations/inbound-wire-drawdown-requests.mjs +15 -0
  390. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -0
  391. package/resources/simulations/index.d.ts +40 -0
  392. package/resources/simulations/index.d.ts.map +1 -0
  393. package/resources/simulations/index.js +149 -0
  394. package/resources/simulations/index.js.map +1 -0
  395. package/resources/simulations/index.mjs +20 -0
  396. package/resources/simulations/index.mjs.map +1 -0
  397. package/resources/simulations/interest-payments.d.ts +1591 -0
  398. package/resources/simulations/interest-payments.d.ts.map +1 -0
  399. package/resources/simulations/interest-payments.js +19 -0
  400. package/resources/simulations/interest-payments.js.map +1 -0
  401. package/resources/simulations/interest-payments.mjs +13 -0
  402. package/resources/simulations/interest-payments.mjs.map +1 -0
  403. package/resources/simulations/programs.d.ts +25 -0
  404. package/resources/simulations/programs.d.ts.map +1 -0
  405. package/resources/simulations/programs.js +18 -0
  406. package/resources/simulations/programs.js.map +1 -0
  407. package/resources/simulations/programs.mjs +14 -0
  408. package/resources/simulations/programs.mjs.map +1 -0
  409. package/resources/simulations/real-time-payments-transfers.d.ts +2289 -0
  410. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
  411. package/resources/simulations/real-time-payments-transfers.js +30 -0
  412. package/resources/simulations/real-time-payments-transfers.js.map +1 -0
  413. package/resources/simulations/real-time-payments-transfers.mjs +24 -0
  414. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -0
  415. package/resources/simulations/simulations.d.ts +80 -0
  416. package/resources/simulations/simulations.d.ts.map +1 -0
  417. package/resources/simulations/simulations.js +112 -0
  418. package/resources/simulations/simulations.js.map +1 -0
  419. package/resources/simulations/simulations.mjs +62 -0
  420. package/resources/simulations/simulations.mjs.map +1 -0
  421. package/resources/simulations/wire-transfers.d.ts +1657 -0
  422. package/resources/simulations/wire-transfers.d.ts.map +1 -0
  423. package/resources/simulations/wire-transfers.js +16 -0
  424. package/resources/simulations/wire-transfers.js.map +1 -0
  425. package/resources/simulations/wire-transfers.mjs +12 -0
  426. package/resources/simulations/wire-transfers.mjs.map +1 -0
  427. package/resources/transactions.d.ts +1646 -0
  428. package/resources/transactions.d.ts.map +1 -0
  429. package/resources/transactions.js +26 -0
  430. package/resources/transactions.js.map +1 -0
  431. package/resources/transactions.mjs +21 -0
  432. package/resources/transactions.mjs.map +1 -0
  433. package/resources/wire-drawdown-requests.d.ts +169 -0
  434. package/resources/wire-drawdown-requests.d.ts.map +1 -0
  435. package/resources/wire-drawdown-requests.js +34 -0
  436. package/resources/wire-drawdown-requests.js.map +1 -0
  437. package/resources/wire-drawdown-requests.mjs +27 -0
  438. package/resources/wire-drawdown-requests.mjs.map +1 -0
  439. package/resources/wire-transfers.d.ts +384 -0
  440. package/resources/wire-transfers.d.ts.map +1 -0
  441. package/resources/wire-transfers.js +61 -0
  442. package/resources/wire-transfers.js.map +1 -0
  443. package/resources/wire-transfers.mjs +56 -0
  444. package/resources/wire-transfers.mjs.map +1 -0
  445. package/src/_shims/agent.node.ts +22 -0
  446. package/src/_shims/agent.ts +12 -0
  447. package/src/_shims/fetch.d.ts +52 -0
  448. package/src/_shims/fetch.js +13 -0
  449. package/src/_shims/fetch.mjs +15 -0
  450. package/src/_shims/fetch.node.d.ts +53 -0
  451. package/src/_shims/fetch.node.js +12 -0
  452. package/src/_shims/fetch.node.mjs +14 -0
  453. package/src/_shims/fileFromPath.node.ts +29 -0
  454. package/src/_shims/fileFromPath.ts +29 -0
  455. package/src/_shims/formdata.d.ts +43 -0
  456. package/src/_shims/formdata.js +9 -0
  457. package/src/_shims/formdata.mjs +11 -0
  458. package/src/_shims/formdata.node.d.ts +44 -0
  459. package/src/_shims/formdata.node.js +11 -0
  460. package/src/_shims/formdata.node.mjs +9 -0
  461. package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
  462. package/src/_shims/getMultipartRequestOptions.ts +14 -0
  463. package/src/_shims/node-readable.node.ts +10 -0
  464. package/src/_shims/node-readable.ts +30 -0
  465. package/src/core.ts +819 -0
  466. package/src/error.ts +545 -0
  467. package/src/index.ts +456 -0
  468. package/src/resources/account-numbers.ts +193 -0
  469. package/src/resources/account-statements.ts +140 -0
  470. package/src/resources/account-transfers.ts +290 -0
  471. package/src/resources/accounts.ts +228 -0
  472. package/src/resources/ach-prenotifications.ts +269 -0
  473. package/src/resources/ach-transfers.ts +776 -0
  474. package/src/resources/balance-lookups.ts +63 -0
  475. package/src/resources/bookkeeping-accounts.ts +114 -0
  476. package/src/resources/bookkeeping-entries.ts +71 -0
  477. package/src/resources/bookkeeping-entry-sets.ts +106 -0
  478. package/src/resources/card-disputes.ts +210 -0
  479. package/src/resources/card-profiles.ts +321 -0
  480. package/src/resources/cards.ts +445 -0
  481. package/src/resources/check-deposits.ts +385 -0
  482. package/src/resources/check-transfers.ts +573 -0
  483. package/src/resources/declined-transactions.ts +764 -0
  484. package/src/resources/digital-wallet-tokens.ts +132 -0
  485. package/src/resources/documents.ts +134 -0
  486. package/src/resources/entities/entities.ts +2080 -0
  487. package/src/resources/entities/supplemental-documents.ts +81 -0
  488. package/src/resources/event-subscriptions.ts +408 -0
  489. package/src/resources/events.ts +302 -0
  490. package/src/resources/exports.ts +225 -0
  491. package/src/resources/external-accounts.ts +193 -0
  492. package/src/resources/files.ts +256 -0
  493. package/src/resources/groups.ts +58 -0
  494. package/src/resources/inbound-ach-transfer-returns.ts +194 -0
  495. package/src/resources/inbound-wire-drawdown-requests.ts +176 -0
  496. package/src/resources/index.ts +194 -0
  497. package/src/resources/limits.ts +190 -0
  498. package/src/resources/oauth-connections.ts +85 -0
  499. package/src/resources/pending-transactions.ts +694 -0
  500. package/src/resources/programs.ts +79 -0
  501. package/src/resources/real-time-decisions.ts +456 -0
  502. package/src/resources/real-time-payments-transfers.ts +445 -0
  503. package/src/resources/routing-numbers.ts +80 -0
  504. package/src/resources/shared.ts +30 -0
  505. package/src/resources/simulations/account-statements.ts +30 -0
  506. package/src/resources/simulations/account-transfers.ts +20 -0
  507. package/src/resources/simulations/ach-transfers.ts +2826 -0
  508. package/src/resources/simulations/card-disputes.ts +42 -0
  509. package/src/resources/simulations/card-profiles.ts +21 -0
  510. package/src/resources/simulations/card-refunds.ts +31 -0
  511. package/src/resources/simulations/cards.ts +1378 -0
  512. package/src/resources/simulations/check-deposits.ts +41 -0
  513. package/src/resources/simulations/check-transfers.ts +30 -0
  514. package/src/resources/simulations/digital-wallet-token-requests.ts +65 -0
  515. package/src/resources/simulations/documents.ts +29 -0
  516. package/src/resources/simulations/inbound-funds-holds.ts +88 -0
  517. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +131 -0
  518. package/src/resources/simulations/index.ts +41 -0
  519. package/src/resources/simulations/interest-payments.ts +1858 -0
  520. package/src/resources/simulations/programs.ts +31 -0
  521. package/src/resources/simulations/real-time-payments-transfers.ts +2677 -0
  522. package/src/resources/simulations/simulations.ts +99 -0
  523. package/src/resources/simulations/wire-transfers.ts +1937 -0
  524. package/src/resources/transactions.ts +1930 -0
  525. package/src/resources/wire-drawdown-requests.ts +215 -0
  526. package/src/resources/wire-transfers.ts +479 -0
  527. package/src/streaming.ts +274 -0
  528. package/src/uploads.ts +249 -0
  529. package/src/version.ts +1 -0
  530. package/streaming.d.ts +14 -0
  531. package/streaming.d.ts.map +1 -0
  532. package/streaming.js +213 -0
  533. package/streaming.js.map +1 -0
  534. package/streaming.mjs +209 -0
  535. package/streaming.mjs.map +1 -0
  536. package/uploads.d.ts +90 -0
  537. package/uploads.d.ts.map +1 -0
  538. package/uploads.js +208 -0
  539. package/uploads.js.map +1 -0
  540. package/uploads.mjs +175 -0
  541. package/uploads.mjs.map +1 -0
  542. package/version.d.ts +2 -0
  543. package/version.d.ts.map +1 -0
  544. package/version.js +5 -0
  545. package/version.js.map +1 -0
  546. package/version.mjs +2 -0
  547. package/version.mjs.map +1 -0
  548. package/_shims/agent.node.ts +0 -20
  549. package/_shims/agent.ts +0 -12
  550. package/_shims/fetch.node.ts +0 -11
  551. package/_shims/fetch.ts +0 -32
  552. package/_shims/fileFromPath.node.ts +0 -30
  553. package/_shims/fileFromPath.ts +0 -30
  554. package/_shims/formdata.ts +0 -22
  555. package/_shims/getMultipartRequestOptions.node.ts +0 -24
  556. package/_shims/getMultipartRequestOptions.ts +0 -13
  557. package/_shims/newFileArgs.ts +0 -94
  558. package/_shims/toFile.node.ts +0 -25
  559. package/_shims/toFile.ts +0 -26
  560. package/_shims/uploadable.node.ts +0 -21
  561. package/_shims/uploadable.ts +0 -82
  562. package/check-version.ts +0 -18
  563. package/core.ts +0 -761
  564. package/dist/cjs/_shims/agent.d.ts +0 -9
  565. package/dist/cjs/_shims/agent.d.ts.map +0 -1
  566. package/dist/cjs/_shims/agent.js.map +0 -1
  567. package/dist/cjs/_shims/agent.node.d.ts +0 -6
  568. package/dist/cjs/_shims/agent.node.d.ts.map +0 -1
  569. package/dist/cjs/_shims/agent.node.js.map +0 -1
  570. package/dist/cjs/_shims/fetch.d.ts +0 -19
  571. package/dist/cjs/_shims/fetch.d.ts.map +0 -1
  572. package/dist/cjs/_shims/fetch.js +0 -24
  573. package/dist/cjs/_shims/fetch.js.map +0 -1
  574. package/dist/cjs/_shims/fetch.node.d.ts +0 -9
  575. package/dist/cjs/_shims/fetch.node.d.ts.map +0 -1
  576. package/dist/cjs/_shims/fetch.node.js +0 -68
  577. package/dist/cjs/_shims/fetch.node.js.map +0 -1
  578. package/dist/cjs/_shims/fileFromPath.d.ts +0 -23
  579. package/dist/cjs/_shims/fileFromPath.d.ts.map +0 -1
  580. package/dist/cjs/_shims/fileFromPath.js +0 -49
  581. package/dist/cjs/_shims/fileFromPath.js.map +0 -1
  582. package/dist/cjs/_shims/fileFromPath.node.d.ts +0 -18
  583. package/dist/cjs/_shims/fileFromPath.node.d.ts.map +0 -1
  584. package/dist/cjs/_shims/fileFromPath.node.js +0 -50
  585. package/dist/cjs/_shims/fileFromPath.node.js.map +0 -1
  586. package/dist/cjs/_shims/formdata.d.ts +0 -13
  587. package/dist/cjs/_shims/formdata.d.ts.map +0 -1
  588. package/dist/cjs/_shims/formdata.js +0 -20
  589. package/dist/cjs/_shims/formdata.js.map +0 -1
  590. package/dist/cjs/_shims/formdata.node.d.ts +0 -7
  591. package/dist/cjs/_shims/formdata.node.d.ts.map +0 -1
  592. package/dist/cjs/_shims/formdata.node.js +0 -27
  593. package/dist/cjs/_shims/formdata.node.js.map +0 -1
  594. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +0 -10
  595. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  596. package/dist/cjs/_shims/getMultipartRequestOptions.js +0 -44
  597. package/dist/cjs/_shims/getMultipartRequestOptions.js.map +0 -1
  598. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +0 -10
  599. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  600. package/dist/cjs/_shims/getMultipartRequestOptions.node.js +0 -52
  601. package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +0 -1
  602. package/dist/cjs/_shims/newFileArgs.d.ts +0 -19
  603. package/dist/cjs/_shims/newFileArgs.d.ts.map +0 -1
  604. package/dist/cjs/_shims/newFileArgs.js +0 -169
  605. package/dist/cjs/_shims/newFileArgs.js.map +0 -1
  606. package/dist/cjs/_shims/toFile.d.ts +0 -21
  607. package/dist/cjs/_shims/toFile.d.ts.map +0 -1
  608. package/dist/cjs/_shims/toFile.js +0 -56
  609. package/dist/cjs/_shims/toFile.js.map +0 -1
  610. package/dist/cjs/_shims/toFile.node.d.ts +0 -20
  611. package/dist/cjs/_shims/toFile.node.d.ts.map +0 -1
  612. package/dist/cjs/_shims/toFile.node.js +0 -56
  613. package/dist/cjs/_shims/toFile.node.js.map +0 -1
  614. package/dist/cjs/_shims/uploadable.d.ts +0 -56
  615. package/dist/cjs/_shims/uploadable.d.ts.map +0 -1
  616. package/dist/cjs/_shims/uploadable.js +0 -37
  617. package/dist/cjs/_shims/uploadable.js.map +0 -1
  618. package/dist/cjs/_shims/uploadable.node.d.ts +0 -7
  619. package/dist/cjs/_shims/uploadable.node.d.ts.map +0 -1
  620. package/dist/cjs/_shims/uploadable.node.js +0 -23
  621. package/dist/cjs/_shims/uploadable.node.js.map +0 -1
  622. package/dist/cjs/check-version.d.ts +0 -2
  623. package/dist/cjs/check-version.d.ts.map +0 -1
  624. package/dist/cjs/check-version.js +0 -23
  625. package/dist/cjs/check-version.js.map +0 -1
  626. package/dist/cjs/core.d.ts +0 -221
  627. package/dist/cjs/core.d.ts.map +0 -1
  628. package/dist/cjs/core.js +0 -825
  629. package/dist/cjs/core.js.map +0 -1
  630. package/dist/cjs/error.d.ts +0 -208
  631. package/dist/cjs/error.d.ts.map +0 -1
  632. package/dist/cjs/error.js +0 -326
  633. package/dist/cjs/error.js.map +0 -1
  634. package/dist/cjs/index.d.ts +0 -301
  635. package/dist/cjs/index.d.ts.map +0 -1
  636. package/dist/cjs/index.js +0 -281
  637. package/dist/cjs/index.js.map +0 -1
  638. package/dist/cjs/pagination.d.ts +0 -34
  639. package/dist/cjs/pagination.d.ts.map +0 -1
  640. package/dist/cjs/pagination.js +0 -30
  641. package/dist/cjs/pagination.js.map +0 -1
  642. package/dist/cjs/resource.d.ts +0 -12
  643. package/dist/cjs/resource.d.ts.map +0 -1
  644. package/dist/cjs/resource.js.map +0 -1
  645. package/dist/cjs/resources/account-numbers.d.ts +0 -137
  646. package/dist/cjs/resources/account-numbers.d.ts.map +0 -1
  647. package/dist/cjs/resources/account-numbers.js +0 -81
  648. package/dist/cjs/resources/account-numbers.js.map +0 -1
  649. package/dist/cjs/resources/account-statements.d.ts +0 -106
  650. package/dist/cjs/resources/account-statements.d.ts.map +0 -1
  651. package/dist/cjs/resources/account-statements.js +0 -69
  652. package/dist/cjs/resources/account-statements.js.map +0 -1
  653. package/dist/cjs/resources/account-transfers.d.ts +0 -205
  654. package/dist/cjs/resources/account-transfers.d.ts.map +0 -1
  655. package/dist/cjs/resources/account-transfers.js +0 -87
  656. package/dist/cjs/resources/account-transfers.js.map +0 -1
  657. package/dist/cjs/resources/accounts.d.ts +0 -163
  658. package/dist/cjs/resources/accounts.d.ts.map +0 -1
  659. package/dist/cjs/resources/accounts.js +0 -87
  660. package/dist/cjs/resources/accounts.js.map +0 -1
  661. package/dist/cjs/resources/ach-prenotifications.d.ts +0 -199
  662. package/dist/cjs/resources/ach-prenotifications.d.ts.map +0 -1
  663. package/dist/cjs/resources/ach-prenotifications.js +0 -79
  664. package/dist/cjs/resources/ach-prenotifications.js.map +0 -1
  665. package/dist/cjs/resources/ach-transfers.d.ts +0 -461
  666. package/dist/cjs/resources/ach-transfers.d.ts.map +0 -1
  667. package/dist/cjs/resources/ach-transfers.js +0 -87
  668. package/dist/cjs/resources/ach-transfers.js.map +0 -1
  669. package/dist/cjs/resources/balance-lookups.d.ts +0 -52
  670. package/dist/cjs/resources/balance-lookups.d.ts.map +0 -1
  671. package/dist/cjs/resources/balance-lookups.js +0 -16
  672. package/dist/cjs/resources/balance-lookups.js.map +0 -1
  673. package/dist/cjs/resources/bookkeeping-accounts.d.ts +0 -78
  674. package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +0 -1
  675. package/dist/cjs/resources/bookkeeping-accounts.js +0 -73
  676. package/dist/cjs/resources/bookkeeping-accounts.js.map +0 -1
  677. package/dist/cjs/resources/bookkeeping-entries.d.ts +0 -49
  678. package/dist/cjs/resources/bookkeeping-entries.d.ts.map +0 -1
  679. package/dist/cjs/resources/bookkeeping-entries.js +0 -63
  680. package/dist/cjs/resources/bookkeeping-entries.js.map +0 -1
  681. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +0 -88
  682. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  683. package/dist/cjs/resources/bookkeeping-entry-sets.js +0 -18
  684. package/dist/cjs/resources/bookkeeping-entry-sets.js.map +0 -1
  685. package/dist/cjs/resources/card-disputes.d.ts +0 -160
  686. package/dist/cjs/resources/card-disputes.d.ts.map +0 -1
  687. package/dist/cjs/resources/card-disputes.js +0 -75
  688. package/dist/cjs/resources/card-disputes.js.map +0 -1
  689. package/dist/cjs/resources/card-profiles.d.ts +0 -206
  690. package/dist/cjs/resources/card-profiles.d.ts.map +0 -1
  691. package/dist/cjs/resources/card-profiles.js +0 -75
  692. package/dist/cjs/resources/card-profiles.js.map +0 -1
  693. package/dist/cjs/resources/cards.d.ts +0 -354
  694. package/dist/cjs/resources/cards.d.ts.map +0 -1
  695. package/dist/cjs/resources/cards.js +0 -87
  696. package/dist/cjs/resources/cards.js.map +0 -1
  697. package/dist/cjs/resources/check-deposits.d.ts +0 -263
  698. package/dist/cjs/resources/check-deposits.d.ts.map +0 -1
  699. package/dist/cjs/resources/check-deposits.js +0 -75
  700. package/dist/cjs/resources/check-deposits.js.map +0 -1
  701. package/dist/cjs/resources/check-transfers.d.ts +0 -438
  702. package/dist/cjs/resources/check-transfers.d.ts.map +0 -1
  703. package/dist/cjs/resources/check-transfers.js +0 -93
  704. package/dist/cjs/resources/check-transfers.js.map +0 -1
  705. package/dist/cjs/resources/declined-transactions.d.ts +0 -492
  706. package/dist/cjs/resources/declined-transactions.d.ts.map +0 -1
  707. package/dist/cjs/resources/declined-transactions.js +0 -73
  708. package/dist/cjs/resources/declined-transactions.js.map +0 -1
  709. package/dist/cjs/resources/digital-wallet-tokens.d.ts +0 -92
  710. package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +0 -1
  711. package/dist/cjs/resources/digital-wallet-tokens.js +0 -73
  712. package/dist/cjs/resources/digital-wallet-tokens.js.map +0 -1
  713. package/dist/cjs/resources/documents.d.ts +0 -95
  714. package/dist/cjs/resources/documents.d.ts.map +0 -1
  715. package/dist/cjs/resources/documents.js +0 -69
  716. package/dist/cjs/resources/documents.js.map +0 -1
  717. package/dist/cjs/resources/entities/entities.d.ts +0 -1622
  718. package/dist/cjs/resources/entities/entities.d.ts.map +0 -1
  719. package/dist/cjs/resources/entities/entities.js +0 -82
  720. package/dist/cjs/resources/entities/entities.js.map +0 -1
  721. package/dist/cjs/resources/entities/index.d.ts +0 -9
  722. package/dist/cjs/resources/entities/index.d.ts.map +0 -1
  723. package/dist/cjs/resources/entities/index.js +0 -35
  724. package/dist/cjs/resources/entities/index.js.map +0 -1
  725. package/dist/cjs/resources/entities/supplemental-documents.d.ts +0 -62
  726. package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +0 -1
  727. package/dist/cjs/resources/entities/supplemental-documents.js +0 -72
  728. package/dist/cjs/resources/entities/supplemental-documents.js.map +0 -1
  729. package/dist/cjs/resources/event-subscriptions.d.ts +0 -209
  730. package/dist/cjs/resources/event-subscriptions.d.ts.map +0 -1
  731. package/dist/cjs/resources/event-subscriptions.js +0 -81
  732. package/dist/cjs/resources/event-subscriptions.js.map +0 -1
  733. package/dist/cjs/resources/events.d.ts +0 -195
  734. package/dist/cjs/resources/events.d.ts.map +0 -1
  735. package/dist/cjs/resources/events.js +0 -69
  736. package/dist/cjs/resources/events.js.map +0 -1
  737. package/dist/cjs/resources/exports.d.ts +0 -169
  738. package/dist/cjs/resources/exports.d.ts.map +0 -1
  739. package/dist/cjs/resources/exports.js +0 -75
  740. package/dist/cjs/resources/exports.js.map +0 -1
  741. package/dist/cjs/resources/external-accounts.d.ts +0 -131
  742. package/dist/cjs/resources/external-accounts.d.ts.map +0 -1
  743. package/dist/cjs/resources/external-accounts.js +0 -81
  744. package/dist/cjs/resources/external-accounts.js.map +0 -1
  745. package/dist/cjs/resources/files.d.ts +0 -167
  746. package/dist/cjs/resources/files.d.ts.map +0 -1
  747. package/dist/cjs/resources/files.js +0 -114
  748. package/dist/cjs/resources/files.js.map +0 -1
  749. package/dist/cjs/resources/groups.d.ts +0 -42
  750. package/dist/cjs/resources/groups.d.ts.map +0 -1
  751. package/dist/cjs/resources/groups.js +0 -16
  752. package/dist/cjs/resources/groups.js.map +0 -1
  753. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +0 -117
  754. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  755. package/dist/cjs/resources/inbound-ach-transfer-returns.js +0 -81
  756. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +0 -1
  757. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  758. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  759. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +0 -76
  760. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +0 -1
  761. package/dist/cjs/resources/index.d.ts +0 -192
  762. package/dist/cjs/resources/index.d.ts.map +0 -1
  763. package/dist/cjs/resources/index.js +0 -569
  764. package/dist/cjs/resources/index.js.map +0 -1
  765. package/dist/cjs/resources/limits.d.ts +0 -114
  766. package/dist/cjs/resources/limits.d.ts.map +0 -1
  767. package/dist/cjs/resources/limits.js +0 -81
  768. package/dist/cjs/resources/limits.js.map +0 -1
  769. package/dist/cjs/resources/oauth-connections.d.ts +0 -57
  770. package/dist/cjs/resources/oauth-connections.d.ts.map +0 -1
  771. package/dist/cjs/resources/oauth-connections.js +0 -69
  772. package/dist/cjs/resources/oauth-connections.js.map +0 -1
  773. package/dist/cjs/resources/pending-transactions.d.ts +0 -482
  774. package/dist/cjs/resources/pending-transactions.d.ts.map +0 -1
  775. package/dist/cjs/resources/pending-transactions.js +0 -73
  776. package/dist/cjs/resources/pending-transactions.js.map +0 -1
  777. package/dist/cjs/resources/programs.d.ts +0 -54
  778. package/dist/cjs/resources/programs.d.ts.map +0 -1
  779. package/dist/cjs/resources/programs.js +0 -69
  780. package/dist/cjs/resources/programs.js.map +0 -1
  781. package/dist/cjs/resources/real-time-decisions.d.ts +0 -330
  782. package/dist/cjs/resources/real-time-decisions.d.ts.map +0 -1
  783. package/dist/cjs/resources/real-time-decisions.js +0 -24
  784. package/dist/cjs/resources/real-time-decisions.js.map +0 -1
  785. package/dist/cjs/resources/real-time-payments-transfers.d.ts +0 -294
  786. package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +0 -1
  787. package/dist/cjs/resources/real-time-payments-transfers.js +0 -81
  788. package/dist/cjs/resources/real-time-payments-transfers.js.map +0 -1
  789. package/dist/cjs/resources/routing-numbers.d.ts +0 -56
  790. package/dist/cjs/resources/routing-numbers.d.ts.map +0 -1
  791. package/dist/cjs/resources/routing-numbers.js +0 -65
  792. package/dist/cjs/resources/routing-numbers.js.map +0 -1
  793. package/dist/cjs/resources/shared.d.ts +0 -16
  794. package/dist/cjs/resources/shared.d.ts.map +0 -1
  795. package/dist/cjs/resources/shared.js.map +0 -1
  796. package/dist/cjs/resources/simulations/account-statements.d.ts +0 -24
  797. package/dist/cjs/resources/simulations/account-statements.d.ts.map +0 -1
  798. package/dist/cjs/resources/simulations/account-statements.js +0 -19
  799. package/dist/cjs/resources/simulations/account-statements.js.map +0 -1
  800. package/dist/cjs/resources/simulations/account-transfers.d.ts +0 -16
  801. package/dist/cjs/resources/simulations/account-transfers.d.ts.map +0 -1
  802. package/dist/cjs/resources/simulations/account-transfers.js +0 -18
  803. package/dist/cjs/resources/simulations/account-transfers.js.map +0 -1
  804. package/dist/cjs/resources/simulations/ach-transfers.d.ts +0 -1836
  805. package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +0 -1
  806. package/dist/cjs/resources/simulations/ach-transfers.js +0 -40
  807. package/dist/cjs/resources/simulations/ach-transfers.js.map +0 -1
  808. package/dist/cjs/resources/simulations/card-disputes.d.ts +0 -31
  809. package/dist/cjs/resources/simulations/card-disputes.d.ts.map +0 -1
  810. package/dist/cjs/resources/simulations/card-disputes.js +0 -19
  811. package/dist/cjs/resources/simulations/card-disputes.js.map +0 -1
  812. package/dist/cjs/resources/simulations/card-refunds.d.ts +0 -25
  813. package/dist/cjs/resources/simulations/card-refunds.d.ts.map +0 -1
  814. package/dist/cjs/resources/simulations/card-refunds.js +0 -17
  815. package/dist/cjs/resources/simulations/card-refunds.js.map +0 -1
  816. package/dist/cjs/resources/simulations/cards.d.ts +0 -931
  817. package/dist/cjs/resources/simulations/cards.d.ts.map +0 -1
  818. package/dist/cjs/resources/simulations/cards.js +0 -32
  819. package/dist/cjs/resources/simulations/cards.js.map +0 -1
  820. package/dist/cjs/resources/simulations/check-deposits.d.ts +0 -31
  821. package/dist/cjs/resources/simulations/check-deposits.d.ts.map +0 -1
  822. package/dist/cjs/resources/simulations/check-deposits.js +0 -31
  823. package/dist/cjs/resources/simulations/check-deposits.js.map +0 -1
  824. package/dist/cjs/resources/simulations/check-transfers.d.ts +0 -42
  825. package/dist/cjs/resources/simulations/check-transfers.d.ts.map +0 -1
  826. package/dist/cjs/resources/simulations/check-transfers.js +0 -35
  827. package/dist/cjs/resources/simulations/check-transfers.js.map +0 -1
  828. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  829. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  830. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +0 -20
  831. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  832. package/dist/cjs/resources/simulations/documents.d.ts +0 -23
  833. package/dist/cjs/resources/simulations/documents.d.ts.map +0 -1
  834. package/dist/cjs/resources/simulations/documents.js +0 -16
  835. package/dist/cjs/resources/simulations/documents.js.map +0 -1
  836. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  837. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  838. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +0 -20
  839. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  840. package/dist/cjs/resources/simulations/index.d.ts +0 -38
  841. package/dist/cjs/resources/simulations/index.d.ts.map +0 -1
  842. package/dist/cjs/resources/simulations/index.js +0 -133
  843. package/dist/cjs/resources/simulations/index.js.map +0 -1
  844. package/dist/cjs/resources/simulations/interest-payments.d.ts +0 -1272
  845. package/dist/cjs/resources/simulations/interest-payments.d.ts.map +0 -1
  846. package/dist/cjs/resources/simulations/interest-payments.js +0 -19
  847. package/dist/cjs/resources/simulations/interest-payments.js.map +0 -1
  848. package/dist/cjs/resources/simulations/programs.d.ts +0 -25
  849. package/dist/cjs/resources/simulations/programs.d.ts.map +0 -1
  850. package/dist/cjs/resources/simulations/programs.js +0 -18
  851. package/dist/cjs/resources/simulations/programs.js.map +0 -1
  852. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  853. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  854. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +0 -30
  855. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +0 -1
  856. package/dist/cjs/resources/simulations/simulations.d.ts +0 -74
  857. package/dist/cjs/resources/simulations/simulations.d.ts.map +0 -1
  858. package/dist/cjs/resources/simulations/simulations.js +0 -106
  859. package/dist/cjs/resources/simulations/simulations.js.map +0 -1
  860. package/dist/cjs/resources/simulations/wire-transfers.d.ts +0 -1338
  861. package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +0 -1
  862. package/dist/cjs/resources/simulations/wire-transfers.js +0 -16
  863. package/dist/cjs/resources/simulations/wire-transfers.js.map +0 -1
  864. package/dist/cjs/resources/transactions.d.ts +0 -1326
  865. package/dist/cjs/resources/transactions.d.ts.map +0 -1
  866. package/dist/cjs/resources/transactions.js +0 -69
  867. package/dist/cjs/resources/transactions.js.map +0 -1
  868. package/dist/cjs/resources/wire-drawdown-requests.d.ts +0 -160
  869. package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +0 -1
  870. package/dist/cjs/resources/wire-drawdown-requests.js +0 -79
  871. package/dist/cjs/resources/wire-drawdown-requests.js.map +0 -1
  872. package/dist/cjs/resources/wire-transfers.d.ts +0 -352
  873. package/dist/cjs/resources/wire-transfers.d.ts.map +0 -1
  874. package/dist/cjs/resources/wire-transfers.js +0 -104
  875. package/dist/cjs/resources/wire-transfers.js.map +0 -1
  876. package/dist/cjs/streaming.d.ts +0 -12
  877. package/dist/cjs/streaming.d.ts.map +0 -1
  878. package/dist/cjs/streaming.js +0 -284
  879. package/dist/cjs/streaming.js.map +0 -1
  880. package/dist/cjs/uploads.d.ts +0 -24
  881. package/dist/cjs/uploads.d.ts.map +0 -1
  882. package/dist/cjs/uploads.js +0 -121
  883. package/dist/cjs/uploads.js.map +0 -1
  884. package/dist/cjs/version.d.ts +0 -2
  885. package/dist/cjs/version.d.ts.map +0 -1
  886. package/dist/cjs/version.js +0 -5
  887. package/dist/cjs/version.js.map +0 -1
  888. package/dist/esm/_shims/agent.d.ts +0 -9
  889. package/dist/esm/_shims/agent.d.ts.map +0 -1
  890. package/dist/esm/_shims/agent.js +0 -10
  891. package/dist/esm/_shims/agent.js.map +0 -1
  892. package/dist/esm/_shims/agent.node.d.ts +0 -6
  893. package/dist/esm/_shims/agent.node.d.ts.map +0 -1
  894. package/dist/esm/_shims/agent.node.js +0 -16
  895. package/dist/esm/_shims/agent.node.js.map +0 -1
  896. package/dist/esm/_shims/fetch.d.ts +0 -19
  897. package/dist/esm/_shims/fetch.d.ts.map +0 -1
  898. package/dist/esm/_shims/fetch.js +0 -18
  899. package/dist/esm/_shims/fetch.js.map +0 -1
  900. package/dist/esm/_shims/fetch.node.d.ts +0 -9
  901. package/dist/esm/_shims/fetch.node.d.ts.map +0 -1
  902. package/dist/esm/_shims/fetch.node.js +0 -7
  903. package/dist/esm/_shims/fetch.node.js.map +0 -1
  904. package/dist/esm/_shims/fileFromPath.d.ts +0 -23
  905. package/dist/esm/_shims/fileFromPath.d.ts.map +0 -1
  906. package/dist/esm/_shims/fileFromPath.js +0 -12
  907. package/dist/esm/_shims/fileFromPath.js.map +0 -1
  908. package/dist/esm/_shims/fileFromPath.node.d.ts +0 -18
  909. package/dist/esm/_shims/fileFromPath.node.d.ts.map +0 -1
  910. package/dist/esm/_shims/fileFromPath.node.js +0 -13
  911. package/dist/esm/_shims/fileFromPath.node.js.map +0 -1
  912. package/dist/esm/_shims/formdata.d.ts +0 -13
  913. package/dist/esm/_shims/formdata.d.ts.map +0 -1
  914. package/dist/esm/_shims/formdata.js +0 -15
  915. package/dist/esm/_shims/formdata.js.map +0 -1
  916. package/dist/esm/_shims/formdata.node.d.ts +0 -7
  917. package/dist/esm/_shims/formdata.node.d.ts.map +0 -1
  918. package/dist/esm/_shims/formdata.node.js +0 -7
  919. package/dist/esm/_shims/formdata.node.js.map +0 -1
  920. package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  921. package/dist/esm/_shims/getMultipartRequestOptions.js +0 -7
  922. package/dist/esm/_shims/getMultipartRequestOptions.js.map +0 -1
  923. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  924. package/dist/esm/_shims/getMultipartRequestOptions.node.js +0 -17
  925. package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +0 -1
  926. package/dist/esm/_shims/newFileArgs.d.ts +0 -19
  927. package/dist/esm/_shims/newFileArgs.d.ts.map +0 -1
  928. package/dist/esm/_shims/newFileArgs.js +0 -66
  929. package/dist/esm/_shims/newFileArgs.js.map +0 -1
  930. package/dist/esm/_shims/toFile.d.ts +0 -21
  931. package/dist/esm/_shims/toFile.d.ts.map +0 -1
  932. package/dist/esm/_shims/toFile.js +0 -19
  933. package/dist/esm/_shims/toFile.js.map +0 -1
  934. package/dist/esm/_shims/toFile.node.d.ts +0 -20
  935. package/dist/esm/_shims/toFile.node.d.ts.map +0 -1
  936. package/dist/esm/_shims/toFile.node.js +0 -19
  937. package/dist/esm/_shims/toFile.node.js.map +0 -1
  938. package/dist/esm/_shims/uploadable.d.ts +0 -56
  939. package/dist/esm/_shims/uploadable.d.ts.map +0 -1
  940. package/dist/esm/_shims/uploadable.js +0 -30
  941. package/dist/esm/_shims/uploadable.js.map +0 -1
  942. package/dist/esm/_shims/uploadable.node.d.ts +0 -7
  943. package/dist/esm/_shims/uploadable.node.d.ts.map +0 -1
  944. package/dist/esm/_shims/uploadable.node.js +0 -10
  945. package/dist/esm/_shims/uploadable.node.js.map +0 -1
  946. package/dist/esm/check-version.d.ts +0 -2
  947. package/dist/esm/check-version.d.ts.map +0 -1
  948. package/dist/esm/check-version.js +0 -16
  949. package/dist/esm/check-version.js.map +0 -1
  950. package/dist/esm/core.d.ts +0 -221
  951. package/dist/esm/core.d.ts.map +0 -1
  952. package/dist/esm/core.js +0 -556
  953. package/dist/esm/core.js.map +0 -1
  954. package/dist/esm/error.d.ts +0 -208
  955. package/dist/esm/error.d.ts.map +0 -1
  956. package/dist/esm/error.js +0 -275
  957. package/dist/esm/error.js.map +0 -1
  958. package/dist/esm/index.d.ts +0 -301
  959. package/dist/esm/index.d.ts.map +0 -1
  960. package/dist/esm/index.js +0 -213
  961. package/dist/esm/index.js.map +0 -1
  962. package/dist/esm/package.json +0 -3
  963. package/dist/esm/pagination.d.ts.map +0 -1
  964. package/dist/esm/pagination.js +0 -26
  965. package/dist/esm/pagination.js.map +0 -1
  966. package/dist/esm/resource.d.ts.map +0 -1
  967. package/dist/esm/resource.js +0 -13
  968. package/dist/esm/resource.js.map +0 -1
  969. package/dist/esm/resources/account-numbers.d.ts +0 -137
  970. package/dist/esm/resources/account-numbers.d.ts.map +0 -1
  971. package/dist/esm/resources/account-numbers.js +0 -36
  972. package/dist/esm/resources/account-numbers.js.map +0 -1
  973. package/dist/esm/resources/account-statements.d.ts +0 -106
  974. package/dist/esm/resources/account-statements.d.ts.map +0 -1
  975. package/dist/esm/resources/account-statements.js +0 -24
  976. package/dist/esm/resources/account-statements.js.map +0 -1
  977. package/dist/esm/resources/account-transfers.d.ts +0 -205
  978. package/dist/esm/resources/account-transfers.d.ts.map +0 -1
  979. package/dist/esm/resources/account-transfers.js +0 -42
  980. package/dist/esm/resources/account-transfers.js.map +0 -1
  981. package/dist/esm/resources/accounts.d.ts +0 -163
  982. package/dist/esm/resources/accounts.d.ts.map +0 -1
  983. package/dist/esm/resources/accounts.js +0 -42
  984. package/dist/esm/resources/accounts.js.map +0 -1
  985. package/dist/esm/resources/ach-prenotifications.d.ts +0 -199
  986. package/dist/esm/resources/ach-prenotifications.d.ts.map +0 -1
  987. package/dist/esm/resources/ach-prenotifications.js +0 -30
  988. package/dist/esm/resources/ach-prenotifications.js.map +0 -1
  989. package/dist/esm/resources/ach-transfers.d.ts +0 -461
  990. package/dist/esm/resources/ach-transfers.d.ts.map +0 -1
  991. package/dist/esm/resources/ach-transfers.js +0 -42
  992. package/dist/esm/resources/ach-transfers.js.map +0 -1
  993. package/dist/esm/resources/balance-lookups.d.ts +0 -52
  994. package/dist/esm/resources/balance-lookups.d.ts.map +0 -1
  995. package/dist/esm/resources/balance-lookups.js +0 -12
  996. package/dist/esm/resources/balance-lookups.js.map +0 -1
  997. package/dist/esm/resources/bookkeeping-accounts.d.ts +0 -78
  998. package/dist/esm/resources/bookkeeping-accounts.d.ts.map +0 -1
  999. package/dist/esm/resources/bookkeeping-accounts.js +0 -24
  1000. package/dist/esm/resources/bookkeeping-accounts.js.map +0 -1
  1001. package/dist/esm/resources/bookkeeping-entries.d.ts +0 -49
  1002. package/dist/esm/resources/bookkeeping-entries.d.ts.map +0 -1
  1003. package/dist/esm/resources/bookkeeping-entries.js +0 -18
  1004. package/dist/esm/resources/bookkeeping-entries.js.map +0 -1
  1005. package/dist/esm/resources/bookkeeping-entry-sets.d.ts +0 -88
  1006. package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  1007. package/dist/esm/resources/bookkeeping-entry-sets.js +0 -12
  1008. package/dist/esm/resources/bookkeeping-entry-sets.js.map +0 -1
  1009. package/dist/esm/resources/card-disputes.d.ts +0 -160
  1010. package/dist/esm/resources/card-disputes.d.ts.map +0 -1
  1011. package/dist/esm/resources/card-disputes.js +0 -30
  1012. package/dist/esm/resources/card-disputes.js.map +0 -1
  1013. package/dist/esm/resources/card-profiles.d.ts +0 -206
  1014. package/dist/esm/resources/card-profiles.d.ts.map +0 -1
  1015. package/dist/esm/resources/card-profiles.js +0 -30
  1016. package/dist/esm/resources/card-profiles.js.map +0 -1
  1017. package/dist/esm/resources/cards.d.ts +0 -354
  1018. package/dist/esm/resources/cards.d.ts.map +0 -1
  1019. package/dist/esm/resources/cards.js +0 -42
  1020. package/dist/esm/resources/cards.js.map +0 -1
  1021. package/dist/esm/resources/check-deposits.d.ts +0 -263
  1022. package/dist/esm/resources/check-deposits.d.ts.map +0 -1
  1023. package/dist/esm/resources/check-deposits.js +0 -30
  1024. package/dist/esm/resources/check-deposits.js.map +0 -1
  1025. package/dist/esm/resources/check-transfers.d.ts +0 -438
  1026. package/dist/esm/resources/check-transfers.d.ts.map +0 -1
  1027. package/dist/esm/resources/check-transfers.js +0 -48
  1028. package/dist/esm/resources/check-transfers.js.map +0 -1
  1029. package/dist/esm/resources/declined-transactions.d.ts +0 -492
  1030. package/dist/esm/resources/declined-transactions.d.ts.map +0 -1
  1031. package/dist/esm/resources/declined-transactions.js +0 -24
  1032. package/dist/esm/resources/declined-transactions.js.map +0 -1
  1033. package/dist/esm/resources/digital-wallet-tokens.d.ts +0 -92
  1034. package/dist/esm/resources/digital-wallet-tokens.d.ts.map +0 -1
  1035. package/dist/esm/resources/digital-wallet-tokens.js +0 -24
  1036. package/dist/esm/resources/digital-wallet-tokens.js.map +0 -1
  1037. package/dist/esm/resources/documents.d.ts +0 -95
  1038. package/dist/esm/resources/documents.d.ts.map +0 -1
  1039. package/dist/esm/resources/documents.js +0 -24
  1040. package/dist/esm/resources/documents.js.map +0 -1
  1041. package/dist/esm/resources/entities/entities.d.ts +0 -1622
  1042. package/dist/esm/resources/entities/entities.d.ts.map +0 -1
  1043. package/dist/esm/resources/entities/entities.js +0 -37
  1044. package/dist/esm/resources/entities/entities.js.map +0 -1
  1045. package/dist/esm/resources/entities/index.d.ts.map +0 -1
  1046. package/dist/esm/resources/entities/index.js +0 -4
  1047. package/dist/esm/resources/entities/index.js.map +0 -1
  1048. package/dist/esm/resources/entities/supplemental-documents.d.ts +0 -62
  1049. package/dist/esm/resources/entities/supplemental-documents.d.ts.map +0 -1
  1050. package/dist/esm/resources/entities/supplemental-documents.js +0 -26
  1051. package/dist/esm/resources/entities/supplemental-documents.js.map +0 -1
  1052. package/dist/esm/resources/event-subscriptions.d.ts +0 -209
  1053. package/dist/esm/resources/event-subscriptions.d.ts.map +0 -1
  1054. package/dist/esm/resources/event-subscriptions.js +0 -36
  1055. package/dist/esm/resources/event-subscriptions.js.map +0 -1
  1056. package/dist/esm/resources/events.d.ts +0 -195
  1057. package/dist/esm/resources/events.d.ts.map +0 -1
  1058. package/dist/esm/resources/events.js +0 -24
  1059. package/dist/esm/resources/events.js.map +0 -1
  1060. package/dist/esm/resources/exports.d.ts +0 -169
  1061. package/dist/esm/resources/exports.d.ts.map +0 -1
  1062. package/dist/esm/resources/exports.js +0 -30
  1063. package/dist/esm/resources/exports.js.map +0 -1
  1064. package/dist/esm/resources/external-accounts.d.ts +0 -131
  1065. package/dist/esm/resources/external-accounts.d.ts.map +0 -1
  1066. package/dist/esm/resources/external-accounts.js +0 -36
  1067. package/dist/esm/resources/external-accounts.js.map +0 -1
  1068. package/dist/esm/resources/files.d.ts +0 -167
  1069. package/dist/esm/resources/files.d.ts.map +0 -1
  1070. package/dist/esm/resources/files.js +0 -33
  1071. package/dist/esm/resources/files.js.map +0 -1
  1072. package/dist/esm/resources/groups.d.ts +0 -42
  1073. package/dist/esm/resources/groups.d.ts.map +0 -1
  1074. package/dist/esm/resources/groups.js +0 -12
  1075. package/dist/esm/resources/groups.js.map +0 -1
  1076. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +0 -117
  1077. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  1078. package/dist/esm/resources/inbound-ach-transfer-returns.js +0 -33
  1079. package/dist/esm/resources/inbound-ach-transfer-returns.js.map +0 -1
  1080. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  1081. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1082. package/dist/esm/resources/inbound-wire-drawdown-requests.js +0 -27
  1083. package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +0 -1
  1084. package/dist/esm/resources/index.d.ts +0 -199
  1085. package/dist/esm/resources/index.d.ts.map +0 -1
  1086. package/dist/esm/resources/index.js +0 -44
  1087. package/dist/esm/resources/index.js.map +0 -1
  1088. package/dist/esm/resources/limits.d.ts +0 -114
  1089. package/dist/esm/resources/limits.d.ts.map +0 -1
  1090. package/dist/esm/resources/limits.js +0 -36
  1091. package/dist/esm/resources/limits.js.map +0 -1
  1092. package/dist/esm/resources/oauth-connections.d.ts +0 -57
  1093. package/dist/esm/resources/oauth-connections.d.ts.map +0 -1
  1094. package/dist/esm/resources/oauth-connections.js +0 -24
  1095. package/dist/esm/resources/oauth-connections.js.map +0 -1
  1096. package/dist/esm/resources/pending-transactions.d.ts +0 -482
  1097. package/dist/esm/resources/pending-transactions.d.ts.map +0 -1
  1098. package/dist/esm/resources/pending-transactions.js +0 -24
  1099. package/dist/esm/resources/pending-transactions.js.map +0 -1
  1100. package/dist/esm/resources/programs.d.ts +0 -54
  1101. package/dist/esm/resources/programs.d.ts.map +0 -1
  1102. package/dist/esm/resources/programs.js +0 -24
  1103. package/dist/esm/resources/programs.js.map +0 -1
  1104. package/dist/esm/resources/real-time-decisions.d.ts +0 -330
  1105. package/dist/esm/resources/real-time-decisions.d.ts.map +0 -1
  1106. package/dist/esm/resources/real-time-decisions.js +0 -18
  1107. package/dist/esm/resources/real-time-decisions.js.map +0 -1
  1108. package/dist/esm/resources/real-time-payments-transfers.d.ts +0 -294
  1109. package/dist/esm/resources/real-time-payments-transfers.d.ts.map +0 -1
  1110. package/dist/esm/resources/real-time-payments-transfers.js +0 -33
  1111. package/dist/esm/resources/real-time-payments-transfers.js.map +0 -1
  1112. package/dist/esm/resources/routing-numbers.d.ts +0 -56
  1113. package/dist/esm/resources/routing-numbers.d.ts.map +0 -1
  1114. package/dist/esm/resources/routing-numbers.js +0 -20
  1115. package/dist/esm/resources/routing-numbers.js.map +0 -1
  1116. package/dist/esm/resources/shared.d.ts +0 -16
  1117. package/dist/esm/resources/shared.d.ts.map +0 -1
  1118. package/dist/esm/resources/shared.js +0 -3
  1119. package/dist/esm/resources/shared.js.map +0 -1
  1120. package/dist/esm/resources/simulations/account-statements.d.ts +0 -24
  1121. package/dist/esm/resources/simulations/account-statements.d.ts.map +0 -1
  1122. package/dist/esm/resources/simulations/account-statements.js +0 -13
  1123. package/dist/esm/resources/simulations/account-statements.js.map +0 -1
  1124. package/dist/esm/resources/simulations/account-transfers.d.ts +0 -16
  1125. package/dist/esm/resources/simulations/account-transfers.d.ts.map +0 -1
  1126. package/dist/esm/resources/simulations/account-transfers.js +0 -14
  1127. package/dist/esm/resources/simulations/account-transfers.js.map +0 -1
  1128. package/dist/esm/resources/simulations/ach-transfers.d.ts +0 -1836
  1129. package/dist/esm/resources/simulations/ach-transfers.d.ts.map +0 -1
  1130. package/dist/esm/resources/simulations/ach-transfers.js +0 -36
  1131. package/dist/esm/resources/simulations/ach-transfers.js.map +0 -1
  1132. package/dist/esm/resources/simulations/card-disputes.d.ts +0 -31
  1133. package/dist/esm/resources/simulations/card-disputes.d.ts.map +0 -1
  1134. package/dist/esm/resources/simulations/card-disputes.js +0 -15
  1135. package/dist/esm/resources/simulations/card-disputes.js.map +0 -1
  1136. package/dist/esm/resources/simulations/card-refunds.d.ts +0 -25
  1137. package/dist/esm/resources/simulations/card-refunds.d.ts.map +0 -1
  1138. package/dist/esm/resources/simulations/card-refunds.js +0 -13
  1139. package/dist/esm/resources/simulations/card-refunds.js.map +0 -1
  1140. package/dist/esm/resources/simulations/cards.d.ts +0 -931
  1141. package/dist/esm/resources/simulations/cards.d.ts.map +0 -1
  1142. package/dist/esm/resources/simulations/cards.js +0 -28
  1143. package/dist/esm/resources/simulations/cards.js.map +0 -1
  1144. package/dist/esm/resources/simulations/check-deposits.d.ts +0 -31
  1145. package/dist/esm/resources/simulations/check-deposits.d.ts.map +0 -1
  1146. package/dist/esm/resources/simulations/check-deposits.js +0 -27
  1147. package/dist/esm/resources/simulations/check-deposits.js.map +0 -1
  1148. package/dist/esm/resources/simulations/check-transfers.d.ts +0 -42
  1149. package/dist/esm/resources/simulations/check-transfers.d.ts.map +0 -1
  1150. package/dist/esm/resources/simulations/check-transfers.js +0 -28
  1151. package/dist/esm/resources/simulations/check-transfers.js.map +0 -1
  1152. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  1153. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  1154. package/dist/esm/resources/simulations/digital-wallet-token-requests.js +0 -13
  1155. package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  1156. package/dist/esm/resources/simulations/documents.d.ts +0 -23
  1157. package/dist/esm/resources/simulations/documents.d.ts.map +0 -1
  1158. package/dist/esm/resources/simulations/documents.js +0 -12
  1159. package/dist/esm/resources/simulations/documents.js.map +0 -1
  1160. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  1161. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1162. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +0 -15
  1163. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  1164. package/dist/esm/resources/simulations/index.d.ts +0 -38
  1165. package/dist/esm/resources/simulations/index.d.ts.map +0 -1
  1166. package/dist/esm/resources/simulations/index.js +0 -18
  1167. package/dist/esm/resources/simulations/index.js.map +0 -1
  1168. package/dist/esm/resources/simulations/interest-payments.d.ts +0 -1272
  1169. package/dist/esm/resources/simulations/interest-payments.d.ts.map +0 -1
  1170. package/dist/esm/resources/simulations/interest-payments.js +0 -13
  1171. package/dist/esm/resources/simulations/interest-payments.js.map +0 -1
  1172. package/dist/esm/resources/simulations/programs.d.ts +0 -25
  1173. package/dist/esm/resources/simulations/programs.d.ts.map +0 -1
  1174. package/dist/esm/resources/simulations/programs.js +0 -14
  1175. package/dist/esm/resources/simulations/programs.js.map +0 -1
  1176. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  1177. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  1178. package/dist/esm/resources/simulations/real-time-payments-transfers.js +0 -24
  1179. package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +0 -1
  1180. package/dist/esm/resources/simulations/simulations.d.ts +0 -74
  1181. package/dist/esm/resources/simulations/simulations.d.ts.map +0 -1
  1182. package/dist/esm/resources/simulations/simulations.js +0 -56
  1183. package/dist/esm/resources/simulations/simulations.js.map +0 -1
  1184. package/dist/esm/resources/simulations/wire-transfers.d.ts +0 -1338
  1185. package/dist/esm/resources/simulations/wire-transfers.d.ts.map +0 -1
  1186. package/dist/esm/resources/simulations/wire-transfers.js +0 -12
  1187. package/dist/esm/resources/simulations/wire-transfers.js.map +0 -1
  1188. package/dist/esm/resources/transactions.d.ts +0 -1326
  1189. package/dist/esm/resources/transactions.d.ts.map +0 -1
  1190. package/dist/esm/resources/transactions.js +0 -24
  1191. package/dist/esm/resources/transactions.js.map +0 -1
  1192. package/dist/esm/resources/wire-drawdown-requests.d.ts +0 -160
  1193. package/dist/esm/resources/wire-drawdown-requests.d.ts.map +0 -1
  1194. package/dist/esm/resources/wire-drawdown-requests.js +0 -30
  1195. package/dist/esm/resources/wire-drawdown-requests.js.map +0 -1
  1196. package/dist/esm/resources/wire-transfers.d.ts +0 -352
  1197. package/dist/esm/resources/wire-transfers.d.ts.map +0 -1
  1198. package/dist/esm/resources/wire-transfers.js +0 -59
  1199. package/dist/esm/resources/wire-transfers.js.map +0 -1
  1200. package/dist/esm/streaming.d.ts +0 -12
  1201. package/dist/esm/streaming.d.ts.map +0 -1
  1202. package/dist/esm/streaming.js +0 -150
  1203. package/dist/esm/streaming.js.map +0 -1
  1204. package/dist/esm/uploads.d.ts +0 -24
  1205. package/dist/esm/uploads.d.ts.map +0 -1
  1206. package/dist/esm/uploads.js +0 -61
  1207. package/dist/esm/uploads.js.map +0 -1
  1208. package/dist/esm/version.d.ts +0 -2
  1209. package/dist/esm/version.d.ts.map +0 -1
  1210. package/dist/esm/version.js +0 -2
  1211. package/dist/esm/version.js.map +0 -1
  1212. package/error.ts +0 -505
  1213. package/index.ts +0 -388
  1214. package/resources/account-numbers.ts +0 -179
  1215. package/resources/account-statements.ts +0 -138
  1216. package/resources/account-transfers.ts +0 -260
  1217. package/resources/accounts.ts +0 -213
  1218. package/resources/ach-prenotifications.ts +0 -252
  1219. package/resources/ach-transfers.ts +0 -553
  1220. package/resources/balance-lookups.ts +0 -63
  1221. package/resources/bookkeeping-accounts.ts +0 -106
  1222. package/resources/bookkeeping-entries.ts +0 -69
  1223. package/resources/bookkeeping-entry-sets.ts +0 -106
  1224. package/resources/card-disputes.ts +0 -203
  1225. package/resources/card-profiles.ts +0 -258
  1226. package/resources/cards.ts +0 -435
  1227. package/resources/check-deposits.ts +0 -324
  1228. package/resources/check-transfers.ts +0 -541
  1229. package/resources/declined-transactions.ts +0 -623
  1230. package/resources/digital-wallet-tokens.ts +0 -121
  1231. package/resources/documents.ts +0 -126
  1232. package/resources/entities/entities.ts +0 -1913
  1233. package/resources/entities/supplemental-documents.ts +0 -79
  1234. package/resources/event-subscriptions.ts +0 -244
  1235. package/resources/events.ts +0 -226
  1236. package/resources/exports.ts +0 -212
  1237. package/resources/external-accounts.ts +0 -171
  1238. package/resources/files.ts +0 -205
  1239. package/resources/groups.ts +0 -52
  1240. package/resources/inbound-ach-transfer-returns.ts +0 -152
  1241. package/resources/inbound-wire-drawdown-requests.ts +0 -174
  1242. package/resources/index.ts +0 -193
  1243. package/resources/limits.ts +0 -152
  1244. package/resources/oauth-connections.ts +0 -80
  1245. package/resources/pending-transactions.ts +0 -576
  1246. package/resources/programs.ts +0 -77
  1247. package/resources/real-time-decisions.ts +0 -386
  1248. package/resources/real-time-payments-transfers.ts +0 -359
  1249. package/resources/routing-numbers.ts +0 -69
  1250. package/resources/shared.ts +0 -17
  1251. package/resources/simulations/account-statements.ts +0 -30
  1252. package/resources/simulations/account-transfers.ts +0 -20
  1253. package/resources/simulations/ach-transfers.ts +0 -2226
  1254. package/resources/simulations/card-disputes.ts +0 -38
  1255. package/resources/simulations/card-refunds.ts +0 -31
  1256. package/resources/simulations/cards.ts +0 -1123
  1257. package/resources/simulations/check-deposits.ts +0 -41
  1258. package/resources/simulations/check-transfers.ts +0 -54
  1259. package/resources/simulations/digital-wallet-token-requests.ts +0 -58
  1260. package/resources/simulations/documents.ts +0 -29
  1261. package/resources/simulations/inbound-wire-drawdown-requests.ts +0 -131
  1262. package/resources/simulations/index.ts +0 -39
  1263. package/resources/simulations/interest-payments.ts +0 -1542
  1264. package/resources/simulations/programs.ts +0 -31
  1265. package/resources/simulations/real-time-payments-transfers.ts +0 -2173
  1266. package/resources/simulations/simulations.ts +0 -91
  1267. package/resources/simulations/wire-transfers.ts +0 -1621
  1268. package/resources/transactions.ts +0 -1613
  1269. package/resources/wire-drawdown-requests.ts +0 -206
  1270. package/resources/wire-transfers.ts +0 -444
  1271. package/streaming.ts +0 -201
  1272. package/uploads.ts +0 -81
  1273. package/version.ts +0 -1
  1274. /package/{dist/cjs/_shims → _shims}/agent.js +0 -0
  1275. /package/{dist/cjs/_shims → _shims}/agent.node.js +0 -0
  1276. /package/_shims/{formdata.node.ts → formdata.node.mjs} +0 -0
  1277. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.d.ts +0 -0
  1278. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.node.d.ts +0 -0
  1279. /package/{dist/esm/pagination.d.ts → pagination.d.ts} +0 -0
  1280. /package/{dist/esm/resource.d.ts → resource.d.ts} +0 -0
  1281. /package/{dist/cjs/resource.js → resource.js} +0 -0
  1282. /package/{dist/esm/resources → resources}/entities/index.d.ts +0 -0
  1283. /package/{dist/cjs/resources → resources}/shared.js +0 -0
  1284. /package/{pagination.ts → src/pagination.ts} +0 -0
  1285. /package/{resource.ts → src/resource.ts} +0 -0
  1286. /package/{resources → src/resources}/entities/index.ts +0 -0
@@ -0,0 +1,2080 @@
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 { SupplementalDocuments } from './supplemental-documents';
7
+ import * as API from '.';
8
+ import { Page, PageParams } from '../../pagination';
9
+
10
+ export class Entities extends APIResource {
11
+ supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
12
+
13
+ /**
14
+ * Create an Entity
15
+ */
16
+ create(body: EntityCreateParams, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
17
+ return this.post('/entities', { body, ...options });
18
+ }
19
+
20
+ /**
21
+ * Retrieve an Entity
22
+ */
23
+ retrieve(entityId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
24
+ return this.get(`/entities/${entityId}`, options);
25
+ }
26
+
27
+ /**
28
+ * List Entities
29
+ */
30
+ list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
31
+ list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
32
+ list(
33
+ query: EntityListParams | Core.RequestOptions = {},
34
+ options?: Core.RequestOptions,
35
+ ): Core.PagePromise<EntitiesPage> {
36
+ if (isRequestOptions(query)) {
37
+ return this.list({}, query);
38
+ }
39
+ return this.getAPIList('/entities', EntitiesPage, { query, ...options });
40
+ }
41
+ }
42
+
43
+ export class EntitiesPage extends Page<Entity> {}
44
+ // alias so we can export it in the namespace
45
+ type _EntitiesPage = EntitiesPage;
46
+
47
+ /**
48
+ * Entities are the legal entities that own accounts. They can be people,
49
+ * corporations, partnerships, or trusts.
50
+ */
51
+ export interface Entity {
52
+ /**
53
+ * The entity's identifier.
54
+ */
55
+ id: string;
56
+
57
+ /**
58
+ * Details of the corporation entity. Will be present if `structure` is equal to
59
+ * `corporation`.
60
+ */
61
+ corporation: Entity.Corporation | null;
62
+
63
+ /**
64
+ * The entity's description for display purposes.
65
+ */
66
+ description: string | null;
67
+
68
+ /**
69
+ * Details of the joint entity. Will be present if `structure` is equal to `joint`.
70
+ */
71
+ joint: Entity.Joint | null;
72
+
73
+ /**
74
+ * Details of the natural person entity. Will be present if `structure` is equal to
75
+ * `natural_person`.
76
+ */
77
+ natural_person: Entity.NaturalPerson | null;
78
+
79
+ /**
80
+ * The relationship between your group and the entity.
81
+ *
82
+ * - `affiliated` - The entity is controlled by your group.
83
+ * - `informational` - The entity is for informational purposes only.
84
+ * - `unaffiliated` - The entity is not controlled by your group, but can still
85
+ * directly open accounts.
86
+ */
87
+ relationship: 'affiliated' | 'informational' | 'unaffiliated';
88
+
89
+ /**
90
+ * The entity's legal structure.
91
+ *
92
+ * - `corporation` - A corporation.
93
+ * - `natural_person` - An individual person.
94
+ * - `joint` - Multiple individual people.
95
+ * - `trust` - A trust.
96
+ */
97
+ structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
98
+
99
+ /**
100
+ * Additional documentation associated with the entity. This is limited to the
101
+ * first 10 documents for an entity. If an entity has more than 10 documents, use
102
+ * the GET /entity_supplemental_documents list endpoint to retrieve them.
103
+ */
104
+ supplemental_documents: Array<Entity.SupplementalDocument>;
105
+
106
+ /**
107
+ * Details of the trust entity. Will be present if `structure` is equal to `trust`.
108
+ */
109
+ trust: Entity.Trust | null;
110
+
111
+ /**
112
+ * A constant representing the object's type. For this resource it will always be
113
+ * `entity`.
114
+ */
115
+ type: 'entity';
116
+ }
117
+
118
+ export namespace Entity {
119
+ /**
120
+ * Details of the corporation entity. Will be present if `structure` is equal to
121
+ * `corporation`.
122
+ */
123
+ export interface Corporation {
124
+ /**
125
+ * The corporation's address.
126
+ */
127
+ address: Corporation.Address;
128
+
129
+ /**
130
+ * The identifying details of anyone controlling or owning 25% or more of the
131
+ * corporation.
132
+ */
133
+ beneficial_owners: Array<Corporation.BeneficialOwner>;
134
+
135
+ /**
136
+ * The two-letter United States Postal Service (USPS) abbreviation for the
137
+ * corporation's state of incorporation.
138
+ */
139
+ incorporation_state: string | null;
140
+
141
+ /**
142
+ * The legal name of the corporation.
143
+ */
144
+ name: string;
145
+
146
+ /**
147
+ * The Employer Identification Number (EIN) for the corporation.
148
+ */
149
+ tax_identifier: string | null;
150
+
151
+ /**
152
+ * The website of the corporation.
153
+ */
154
+ website: string | null;
155
+ }
156
+
157
+ export namespace Corporation {
158
+ /**
159
+ * The corporation's address.
160
+ */
161
+ export interface Address {
162
+ /**
163
+ * The city of the address.
164
+ */
165
+ city: string;
166
+
167
+ /**
168
+ * The first line of the address.
169
+ */
170
+ line1: string;
171
+
172
+ /**
173
+ * The second line of the address.
174
+ */
175
+ line2: string | null;
176
+
177
+ /**
178
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
179
+ * the address.
180
+ */
181
+ state: string;
182
+
183
+ /**
184
+ * The ZIP code of the address.
185
+ */
186
+ zip: string;
187
+ }
188
+
189
+ export interface BeneficialOwner {
190
+ /**
191
+ * This person's role or title within the entity.
192
+ */
193
+ company_title: string | null;
194
+
195
+ /**
196
+ * Personal details for the beneficial owner.
197
+ */
198
+ individual: BeneficialOwner.Individual;
199
+
200
+ /**
201
+ * Why this person is considered a beneficial owner of the entity.
202
+ *
203
+ * - `ownership` - A person with 25% or greater direct or indirect ownership of the
204
+ * entity.
205
+ * - `control` - A person who manages, directs, or has significant control of the
206
+ * entity.
207
+ */
208
+ prong: 'ownership' | 'control';
209
+ }
210
+
211
+ export namespace BeneficialOwner {
212
+ /**
213
+ * Personal details for the beneficial owner.
214
+ */
215
+ export interface Individual {
216
+ /**
217
+ * The person's address.
218
+ */
219
+ address: Individual.Address;
220
+
221
+ /**
222
+ * The person's date of birth in YYYY-MM-DD format.
223
+ */
224
+ date_of_birth: string;
225
+
226
+ /**
227
+ * A means of verifying the person's identity.
228
+ */
229
+ identification: Individual.Identification;
230
+
231
+ /**
232
+ * The person's legal name.
233
+ */
234
+ name: string;
235
+ }
236
+
237
+ export namespace Individual {
238
+ /**
239
+ * The person's address.
240
+ */
241
+ export interface Address {
242
+ /**
243
+ * The city of the address.
244
+ */
245
+ city: string;
246
+
247
+ /**
248
+ * The first line of the address.
249
+ */
250
+ line1: string;
251
+
252
+ /**
253
+ * The second line of the address.
254
+ */
255
+ line2: string | null;
256
+
257
+ /**
258
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
259
+ * the address.
260
+ */
261
+ state: string;
262
+
263
+ /**
264
+ * The ZIP code of the address.
265
+ */
266
+ zip: string;
267
+ }
268
+
269
+ /**
270
+ * A means of verifying the person's identity.
271
+ */
272
+ export interface Identification {
273
+ /**
274
+ * A method that can be used to verify the individual's identity.
275
+ *
276
+ * - `social_security_number` - A social security number.
277
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
278
+ * identification number (ITIN).
279
+ * - `passport` - A passport number.
280
+ * - `drivers_license` - A driver's license number.
281
+ * - `other` - Another identifying document.
282
+ */
283
+ method:
284
+ | 'social_security_number'
285
+ | 'individual_taxpayer_identification_number'
286
+ | 'passport'
287
+ | 'drivers_license'
288
+ | 'other';
289
+
290
+ /**
291
+ * The last 4 digits of the identification number that can be used to verify the
292
+ * individual's identity.
293
+ */
294
+ number_last4: string;
295
+ }
296
+ }
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Details of the joint entity. Will be present if `structure` is equal to `joint`.
302
+ */
303
+ export interface Joint {
304
+ /**
305
+ * The two individuals that share control of the entity.
306
+ */
307
+ individuals: Array<Joint.Individual>;
308
+
309
+ /**
310
+ * The entity's name.
311
+ */
312
+ name: string;
313
+ }
314
+
315
+ export namespace Joint {
316
+ export interface Individual {
317
+ /**
318
+ * The person's address.
319
+ */
320
+ address: Individual.Address;
321
+
322
+ /**
323
+ * The person's date of birth in YYYY-MM-DD format.
324
+ */
325
+ date_of_birth: string;
326
+
327
+ /**
328
+ * A means of verifying the person's identity.
329
+ */
330
+ identification: Individual.Identification;
331
+
332
+ /**
333
+ * The person's legal name.
334
+ */
335
+ name: string;
336
+ }
337
+
338
+ export namespace Individual {
339
+ /**
340
+ * The person's address.
341
+ */
342
+ export interface Address {
343
+ /**
344
+ * The city of the address.
345
+ */
346
+ city: string;
347
+
348
+ /**
349
+ * The first line of the address.
350
+ */
351
+ line1: string;
352
+
353
+ /**
354
+ * The second line of the address.
355
+ */
356
+ line2: string | null;
357
+
358
+ /**
359
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
360
+ * the address.
361
+ */
362
+ state: string;
363
+
364
+ /**
365
+ * The ZIP code of the address.
366
+ */
367
+ zip: string;
368
+ }
369
+
370
+ /**
371
+ * A means of verifying the person's identity.
372
+ */
373
+ export interface Identification {
374
+ /**
375
+ * A method that can be used to verify the individual's identity.
376
+ *
377
+ * - `social_security_number` - A social security number.
378
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
379
+ * identification number (ITIN).
380
+ * - `passport` - A passport number.
381
+ * - `drivers_license` - A driver's license number.
382
+ * - `other` - Another identifying document.
383
+ */
384
+ method:
385
+ | 'social_security_number'
386
+ | 'individual_taxpayer_identification_number'
387
+ | 'passport'
388
+ | 'drivers_license'
389
+ | 'other';
390
+
391
+ /**
392
+ * The last 4 digits of the identification number that can be used to verify the
393
+ * individual's identity.
394
+ */
395
+ number_last4: string;
396
+ }
397
+ }
398
+ }
399
+
400
+ /**
401
+ * Details of the natural person entity. Will be present if `structure` is equal to
402
+ * `natural_person`.
403
+ */
404
+ export interface NaturalPerson {
405
+ /**
406
+ * The person's address.
407
+ */
408
+ address: NaturalPerson.Address;
409
+
410
+ /**
411
+ * The person's date of birth in YYYY-MM-DD format.
412
+ */
413
+ date_of_birth: string;
414
+
415
+ /**
416
+ * A means of verifying the person's identity.
417
+ */
418
+ identification: NaturalPerson.Identification;
419
+
420
+ /**
421
+ * The person's legal name.
422
+ */
423
+ name: string;
424
+ }
425
+
426
+ export namespace NaturalPerson {
427
+ /**
428
+ * The person's address.
429
+ */
430
+ export interface Address {
431
+ /**
432
+ * The city of the address.
433
+ */
434
+ city: string;
435
+
436
+ /**
437
+ * The first line of the address.
438
+ */
439
+ line1: string;
440
+
441
+ /**
442
+ * The second line of the address.
443
+ */
444
+ line2: string | null;
445
+
446
+ /**
447
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
448
+ * the address.
449
+ */
450
+ state: string;
451
+
452
+ /**
453
+ * The ZIP code of the address.
454
+ */
455
+ zip: string;
456
+ }
457
+
458
+ /**
459
+ * A means of verifying the person's identity.
460
+ */
461
+ export interface Identification {
462
+ /**
463
+ * A method that can be used to verify the individual's identity.
464
+ *
465
+ * - `social_security_number` - A social security number.
466
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
467
+ * identification number (ITIN).
468
+ * - `passport` - A passport number.
469
+ * - `drivers_license` - A driver's license number.
470
+ * - `other` - Another identifying document.
471
+ */
472
+ method:
473
+ | 'social_security_number'
474
+ | 'individual_taxpayer_identification_number'
475
+ | 'passport'
476
+ | 'drivers_license'
477
+ | 'other';
478
+
479
+ /**
480
+ * The last 4 digits of the identification number that can be used to verify the
481
+ * individual's identity.
482
+ */
483
+ number_last4: string;
484
+ }
485
+ }
486
+
487
+ /**
488
+ * Supplemental Documents are uploaded files connected to an Entity during
489
+ * onboarding.
490
+ */
491
+ export interface SupplementalDocument {
492
+ /**
493
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
494
+ * Supplemental Document was created.
495
+ */
496
+ created_at: string;
497
+
498
+ /**
499
+ * The File containing the document.
500
+ */
501
+ file_id: string;
502
+
503
+ /**
504
+ * A constant representing the object's type. For this resource it will always be
505
+ * `entity_supplemental_document`.
506
+ */
507
+ type: 'entity_supplemental_document';
508
+ }
509
+
510
+ /**
511
+ * Details of the trust entity. Will be present if `structure` is equal to `trust`.
512
+ */
513
+ export interface Trust {
514
+ /**
515
+ * The trust's address.
516
+ */
517
+ address: Trust.Address;
518
+
519
+ /**
520
+ * Whether the trust is `revocable` or `irrevocable`.
521
+ *
522
+ * - `revocable` - The trust is revocable by the grantor.
523
+ * - `irrevocable` - The trust cannot be revoked.
524
+ */
525
+ category: 'revocable' | 'irrevocable';
526
+
527
+ /**
528
+ * The ID for the File containing the formation document of the trust.
529
+ */
530
+ formation_document_file_id: string | null;
531
+
532
+ /**
533
+ * The two-letter United States Postal Service (USPS) abbreviation for the state in
534
+ * which the trust was formed.
535
+ */
536
+ formation_state: string | null;
537
+
538
+ /**
539
+ * The grantor of the trust. Will be present if the `category` is `revocable`.
540
+ */
541
+ grantor: Trust.Grantor | null;
542
+
543
+ /**
544
+ * The trust's name
545
+ */
546
+ name: string;
547
+
548
+ /**
549
+ * The Employer Identification Number (EIN) of the trust itself.
550
+ */
551
+ tax_identifier: string | null;
552
+
553
+ /**
554
+ * The trustees of the trust.
555
+ */
556
+ trustees: Array<Trust.Trustee>;
557
+ }
558
+
559
+ export namespace Trust {
560
+ /**
561
+ * The trust's address.
562
+ */
563
+ export interface Address {
564
+ /**
565
+ * The city of the address.
566
+ */
567
+ city: string;
568
+
569
+ /**
570
+ * The first line of the address.
571
+ */
572
+ line1: string;
573
+
574
+ /**
575
+ * The second line of the address.
576
+ */
577
+ line2: string | null;
578
+
579
+ /**
580
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
581
+ * the address.
582
+ */
583
+ state: string;
584
+
585
+ /**
586
+ * The ZIP code of the address.
587
+ */
588
+ zip: string;
589
+ }
590
+
591
+ /**
592
+ * The grantor of the trust. Will be present if the `category` is `revocable`.
593
+ */
594
+ export interface Grantor {
595
+ /**
596
+ * The person's address.
597
+ */
598
+ address: Grantor.Address;
599
+
600
+ /**
601
+ * The person's date of birth in YYYY-MM-DD format.
602
+ */
603
+ date_of_birth: string;
604
+
605
+ /**
606
+ * A means of verifying the person's identity.
607
+ */
608
+ identification: Grantor.Identification;
609
+
610
+ /**
611
+ * The person's legal name.
612
+ */
613
+ name: string;
614
+ }
615
+
616
+ export namespace Grantor {
617
+ /**
618
+ * The person's address.
619
+ */
620
+ export interface Address {
621
+ /**
622
+ * The city of the address.
623
+ */
624
+ city: string;
625
+
626
+ /**
627
+ * The first line of the address.
628
+ */
629
+ line1: string;
630
+
631
+ /**
632
+ * The second line of the address.
633
+ */
634
+ line2: string | null;
635
+
636
+ /**
637
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
638
+ * the address.
639
+ */
640
+ state: string;
641
+
642
+ /**
643
+ * The ZIP code of the address.
644
+ */
645
+ zip: string;
646
+ }
647
+
648
+ /**
649
+ * A means of verifying the person's identity.
650
+ */
651
+ export interface Identification {
652
+ /**
653
+ * A method that can be used to verify the individual's identity.
654
+ *
655
+ * - `social_security_number` - A social security number.
656
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
657
+ * identification number (ITIN).
658
+ * - `passport` - A passport number.
659
+ * - `drivers_license` - A driver's license number.
660
+ * - `other` - Another identifying document.
661
+ */
662
+ method:
663
+ | 'social_security_number'
664
+ | 'individual_taxpayer_identification_number'
665
+ | 'passport'
666
+ | 'drivers_license'
667
+ | 'other';
668
+
669
+ /**
670
+ * The last 4 digits of the identification number that can be used to verify the
671
+ * individual's identity.
672
+ */
673
+ number_last4: string;
674
+ }
675
+ }
676
+
677
+ export interface Trustee {
678
+ /**
679
+ * The individual trustee of the trust. Will be present if the trustee's
680
+ * `structure` is equal to `individual`.
681
+ */
682
+ individual: Trustee.Individual | null;
683
+
684
+ /**
685
+ * The structure of the trustee. Will always be equal to `individual`.
686
+ *
687
+ * - `individual` - The trustee is an individual.
688
+ */
689
+ structure: 'individual';
690
+ }
691
+
692
+ export namespace Trustee {
693
+ /**
694
+ * The individual trustee of the trust. Will be present if the trustee's
695
+ * `structure` is equal to `individual`.
696
+ */
697
+ export interface Individual {
698
+ /**
699
+ * The person's address.
700
+ */
701
+ address: Individual.Address;
702
+
703
+ /**
704
+ * The person's date of birth in YYYY-MM-DD format.
705
+ */
706
+ date_of_birth: string;
707
+
708
+ /**
709
+ * A means of verifying the person's identity.
710
+ */
711
+ identification: Individual.Identification;
712
+
713
+ /**
714
+ * The person's legal name.
715
+ */
716
+ name: string;
717
+ }
718
+
719
+ export namespace Individual {
720
+ /**
721
+ * The person's address.
722
+ */
723
+ export interface Address {
724
+ /**
725
+ * The city of the address.
726
+ */
727
+ city: string;
728
+
729
+ /**
730
+ * The first line of the address.
731
+ */
732
+ line1: string;
733
+
734
+ /**
735
+ * The second line of the address.
736
+ */
737
+ line2: string | null;
738
+
739
+ /**
740
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
741
+ * the address.
742
+ */
743
+ state: string;
744
+
745
+ /**
746
+ * The ZIP code of the address.
747
+ */
748
+ zip: string;
749
+ }
750
+
751
+ /**
752
+ * A means of verifying the person's identity.
753
+ */
754
+ export interface Identification {
755
+ /**
756
+ * A method that can be used to verify the individual's identity.
757
+ *
758
+ * - `social_security_number` - A social security number.
759
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
760
+ * identification number (ITIN).
761
+ * - `passport` - A passport number.
762
+ * - `drivers_license` - A driver's license number.
763
+ * - `other` - Another identifying document.
764
+ */
765
+ method:
766
+ | 'social_security_number'
767
+ | 'individual_taxpayer_identification_number'
768
+ | 'passport'
769
+ | 'drivers_license'
770
+ | 'other';
771
+
772
+ /**
773
+ * The last 4 digits of the identification number that can be used to verify the
774
+ * individual's identity.
775
+ */
776
+ number_last4: string;
777
+ }
778
+ }
779
+ }
780
+ }
781
+ }
782
+
783
+ export interface EntityCreateParams {
784
+ /**
785
+ * The relationship between your group and the entity.
786
+ *
787
+ * - `affiliated` - The entity is controlled by your group.
788
+ * - `informational` - The entity is for informational purposes only.
789
+ * - `unaffiliated` - The entity is not controlled by your group, but can still
790
+ * directly open accounts.
791
+ */
792
+ relationship: 'affiliated' | 'informational' | 'unaffiliated';
793
+
794
+ /**
795
+ * The type of Entity to create.
796
+ *
797
+ * - `corporation` - A corporation.
798
+ * - `natural_person` - An individual person.
799
+ * - `joint` - Multiple individual people.
800
+ * - `trust` - A trust.
801
+ */
802
+ structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
803
+
804
+ /**
805
+ * Details of the corporation entity to create. Required if `structure` is equal to
806
+ * `corporation`.
807
+ */
808
+ corporation?: EntityCreateParams.Corporation;
809
+
810
+ /**
811
+ * The description you choose to give the entity.
812
+ */
813
+ description?: string;
814
+
815
+ /**
816
+ * Details of the joint entity to create. Required if `structure` is equal to
817
+ * `joint`.
818
+ */
819
+ joint?: EntityCreateParams.Joint;
820
+
821
+ /**
822
+ * Details of the natural person entity to create. Required if `structure` is equal
823
+ * to `natural_person`. Natural people entities should be submitted with
824
+ * `social_security_number` or `individual_taxpayer_identification_number`
825
+ * identification methods.
826
+ */
827
+ natural_person?: EntityCreateParams.NaturalPerson;
828
+
829
+ /**
830
+ * Additional documentation associated with the entity.
831
+ */
832
+ supplemental_documents?: Array<EntityCreateParams.SupplementalDocument>;
833
+
834
+ /**
835
+ * Details of the trust entity to create. Required if `structure` is equal to
836
+ * `trust`.
837
+ */
838
+ trust?: EntityCreateParams.Trust;
839
+ }
840
+
841
+ export namespace EntityCreateParams {
842
+ /**
843
+ * Details of the corporation entity to create. Required if `structure` is equal to
844
+ * `corporation`.
845
+ */
846
+ export interface Corporation {
847
+ /**
848
+ * The corporation's address.
849
+ */
850
+ address: Corporation.Address;
851
+
852
+ /**
853
+ * The identifying details of anyone controlling or owning 25% or more of the
854
+ * corporation.
855
+ */
856
+ beneficial_owners: Array<Corporation.BeneficialOwner>;
857
+
858
+ /**
859
+ * The legal name of the corporation.
860
+ */
861
+ name: string;
862
+
863
+ /**
864
+ * The Employer Identification Number (EIN) for the corporation.
865
+ */
866
+ tax_identifier: string;
867
+
868
+ /**
869
+ * The two-letter United States Postal Service (USPS) abbreviation for the
870
+ * corporation's state of incorporation.
871
+ */
872
+ incorporation_state?: string;
873
+
874
+ /**
875
+ * The website of the corporation.
876
+ */
877
+ website?: string;
878
+ }
879
+
880
+ export namespace Corporation {
881
+ /**
882
+ * The corporation's address.
883
+ */
884
+ export interface Address {
885
+ /**
886
+ * The city of the address.
887
+ */
888
+ city: string;
889
+
890
+ /**
891
+ * The first line of the address. This is usually the street number and street.
892
+ */
893
+ line1: string;
894
+
895
+ /**
896
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
897
+ * the address.
898
+ */
899
+ state: string;
900
+
901
+ /**
902
+ * The ZIP code of the address.
903
+ */
904
+ zip: string;
905
+
906
+ /**
907
+ * The second line of the address. This might be the floor or room number.
908
+ */
909
+ line2?: string;
910
+ }
911
+
912
+ export interface BeneficialOwner {
913
+ /**
914
+ * Personal details for the beneficial owner.
915
+ */
916
+ individual: BeneficialOwner.Individual;
917
+
918
+ /**
919
+ * Why this person is considered a beneficial owner of the entity.
920
+ *
921
+ * - `ownership` - A person with 25% or greater direct or indirect ownership of the
922
+ * entity.
923
+ * - `control` - A person who manages, directs, or has significant control of the
924
+ * entity.
925
+ */
926
+ prong: 'ownership' | 'control';
927
+
928
+ /**
929
+ * This person's role or title within the entity.
930
+ */
931
+ company_title?: string;
932
+ }
933
+
934
+ export namespace BeneficialOwner {
935
+ /**
936
+ * Personal details for the beneficial owner.
937
+ */
938
+ export interface Individual {
939
+ /**
940
+ * The individual's address.
941
+ */
942
+ address: Individual.Address;
943
+
944
+ /**
945
+ * The person's date of birth in YYYY-MM-DD format.
946
+ */
947
+ date_of_birth: string;
948
+
949
+ /**
950
+ * A means of verifying the person's identity.
951
+ */
952
+ identification: Individual.Identification;
953
+
954
+ /**
955
+ * The person's legal name.
956
+ */
957
+ name: string;
958
+
959
+ /**
960
+ * The identification method for an individual can only be a passport, driver's
961
+ * license, or other document if you've confirmed the individual does not have a US
962
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
963
+ * Number).
964
+ */
965
+ confirmed_no_us_tax_id?: boolean;
966
+ }
967
+
968
+ export namespace Individual {
969
+ /**
970
+ * The individual's address.
971
+ */
972
+ export interface Address {
973
+ /**
974
+ * The city of the address.
975
+ */
976
+ city: string;
977
+
978
+ /**
979
+ * The first line of the address. This is usually the street number and street.
980
+ */
981
+ line1: string;
982
+
983
+ /**
984
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
985
+ * the address.
986
+ */
987
+ state: string;
988
+
989
+ /**
990
+ * The ZIP code of the address.
991
+ */
992
+ zip: string;
993
+
994
+ /**
995
+ * The second line of the address. This might be the floor or room number.
996
+ */
997
+ line2?: string;
998
+ }
999
+
1000
+ /**
1001
+ * A means of verifying the person's identity.
1002
+ */
1003
+ export interface Identification {
1004
+ /**
1005
+ * A method that can be used to verify the individual's identity.
1006
+ *
1007
+ * - `social_security_number` - A social security number.
1008
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
1009
+ * identification number (ITIN).
1010
+ * - `passport` - A passport number.
1011
+ * - `drivers_license` - A driver's license number.
1012
+ * - `other` - Another identifying document.
1013
+ */
1014
+ method:
1015
+ | 'social_security_number'
1016
+ | 'individual_taxpayer_identification_number'
1017
+ | 'passport'
1018
+ | 'drivers_license'
1019
+ | 'other';
1020
+
1021
+ /**
1022
+ * An identification number that can be used to verify the individual's identity,
1023
+ * such as a social security number.
1024
+ */
1025
+ number: string;
1026
+
1027
+ /**
1028
+ * Information about the United States driver's license used for identification.
1029
+ * Required if `method` is equal to `drivers_license`.
1030
+ */
1031
+ drivers_license?: Identification.DriversLicense;
1032
+
1033
+ /**
1034
+ * Information about the identification document provided. Required if `method` is
1035
+ * equal to `other`.
1036
+ */
1037
+ other?: Identification.Other;
1038
+
1039
+ /**
1040
+ * Information about the passport used for identification. Required if `method` is
1041
+ * equal to `passport`.
1042
+ */
1043
+ passport?: Identification.Passport;
1044
+ }
1045
+
1046
+ export namespace Identification {
1047
+ /**
1048
+ * Information about the United States driver's license used for identification.
1049
+ * Required if `method` is equal to `drivers_license`.
1050
+ */
1051
+ export interface DriversLicense {
1052
+ /**
1053
+ * The driver's license's expiration date in YYYY-MM-DD format.
1054
+ */
1055
+ expiration_date: string;
1056
+
1057
+ /**
1058
+ * The identifier of the File containing the front of the driver's license.
1059
+ */
1060
+ file_id: string;
1061
+
1062
+ /**
1063
+ * The state that issued the provided driver's license.
1064
+ */
1065
+ state: string;
1066
+
1067
+ /**
1068
+ * The identifier of the File containing the back of the driver's license.
1069
+ */
1070
+ back_file_id?: string;
1071
+ }
1072
+
1073
+ /**
1074
+ * Information about the identification document provided. Required if `method` is
1075
+ * equal to `other`.
1076
+ */
1077
+ export interface Other {
1078
+ /**
1079
+ * The two-character ISO 3166-1 code representing the country that issued the
1080
+ * document.
1081
+ */
1082
+ country: string;
1083
+
1084
+ /**
1085
+ * A description of the document submitted.
1086
+ */
1087
+ description: string;
1088
+
1089
+ /**
1090
+ * The identifier of the File containing the front of the document.
1091
+ */
1092
+ file_id: string;
1093
+
1094
+ /**
1095
+ * The identifier of the File containing the back of the document. Not every
1096
+ * document has a reverse side.
1097
+ */
1098
+ back_file_id?: string;
1099
+
1100
+ /**
1101
+ * The document's expiration date in YYYY-MM-DD format.
1102
+ */
1103
+ expiration_date?: string;
1104
+ }
1105
+
1106
+ /**
1107
+ * Information about the passport used for identification. Required if `method` is
1108
+ * equal to `passport`.
1109
+ */
1110
+ export interface Passport {
1111
+ /**
1112
+ * The country that issued the passport.
1113
+ */
1114
+ country: string;
1115
+
1116
+ /**
1117
+ * The passport's expiration date in YYYY-MM-DD format.
1118
+ */
1119
+ expiration_date: string;
1120
+
1121
+ /**
1122
+ * The identifier of the File containing the passport.
1123
+ */
1124
+ file_id: string;
1125
+ }
1126
+ }
1127
+ }
1128
+ }
1129
+ }
1130
+
1131
+ /**
1132
+ * Details of the joint entity to create. Required if `structure` is equal to
1133
+ * `joint`.
1134
+ */
1135
+ export interface Joint {
1136
+ /**
1137
+ * The two individuals that share control of the entity.
1138
+ */
1139
+ individuals: Array<Joint.Individual>;
1140
+
1141
+ /**
1142
+ * The name of the joint entity.
1143
+ */
1144
+ name?: string;
1145
+ }
1146
+
1147
+ export namespace Joint {
1148
+ export interface Individual {
1149
+ /**
1150
+ * The individual's address.
1151
+ */
1152
+ address: Individual.Address;
1153
+
1154
+ /**
1155
+ * The person's date of birth in YYYY-MM-DD format.
1156
+ */
1157
+ date_of_birth: string;
1158
+
1159
+ /**
1160
+ * A means of verifying the person's identity.
1161
+ */
1162
+ identification: Individual.Identification;
1163
+
1164
+ /**
1165
+ * The person's legal name.
1166
+ */
1167
+ name: string;
1168
+
1169
+ /**
1170
+ * The identification method for an individual can only be a passport, driver's
1171
+ * license, or other document if you've confirmed the individual does not have a US
1172
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
1173
+ * Number).
1174
+ */
1175
+ confirmed_no_us_tax_id?: boolean;
1176
+ }
1177
+
1178
+ export namespace Individual {
1179
+ /**
1180
+ * The individual's address.
1181
+ */
1182
+ export interface Address {
1183
+ /**
1184
+ * The city of the address.
1185
+ */
1186
+ city: string;
1187
+
1188
+ /**
1189
+ * The first line of the address. This is usually the street number and street.
1190
+ */
1191
+ line1: string;
1192
+
1193
+ /**
1194
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
1195
+ * the address.
1196
+ */
1197
+ state: string;
1198
+
1199
+ /**
1200
+ * The ZIP code of the address.
1201
+ */
1202
+ zip: string;
1203
+
1204
+ /**
1205
+ * The second line of the address. This might be the floor or room number.
1206
+ */
1207
+ line2?: string;
1208
+ }
1209
+
1210
+ /**
1211
+ * A means of verifying the person's identity.
1212
+ */
1213
+ export interface Identification {
1214
+ /**
1215
+ * A method that can be used to verify the individual's identity.
1216
+ *
1217
+ * - `social_security_number` - A social security number.
1218
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
1219
+ * identification number (ITIN).
1220
+ * - `passport` - A passport number.
1221
+ * - `drivers_license` - A driver's license number.
1222
+ * - `other` - Another identifying document.
1223
+ */
1224
+ method:
1225
+ | 'social_security_number'
1226
+ | 'individual_taxpayer_identification_number'
1227
+ | 'passport'
1228
+ | 'drivers_license'
1229
+ | 'other';
1230
+
1231
+ /**
1232
+ * An identification number that can be used to verify the individual's identity,
1233
+ * such as a social security number.
1234
+ */
1235
+ number: string;
1236
+
1237
+ /**
1238
+ * Information about the United States driver's license used for identification.
1239
+ * Required if `method` is equal to `drivers_license`.
1240
+ */
1241
+ drivers_license?: Identification.DriversLicense;
1242
+
1243
+ /**
1244
+ * Information about the identification document provided. Required if `method` is
1245
+ * equal to `other`.
1246
+ */
1247
+ other?: Identification.Other;
1248
+
1249
+ /**
1250
+ * Information about the passport used for identification. Required if `method` is
1251
+ * equal to `passport`.
1252
+ */
1253
+ passport?: Identification.Passport;
1254
+ }
1255
+
1256
+ export namespace Identification {
1257
+ /**
1258
+ * Information about the United States driver's license used for identification.
1259
+ * Required if `method` is equal to `drivers_license`.
1260
+ */
1261
+ export interface DriversLicense {
1262
+ /**
1263
+ * The driver's license's expiration date in YYYY-MM-DD format.
1264
+ */
1265
+ expiration_date: string;
1266
+
1267
+ /**
1268
+ * The identifier of the File containing the front of the driver's license.
1269
+ */
1270
+ file_id: string;
1271
+
1272
+ /**
1273
+ * The state that issued the provided driver's license.
1274
+ */
1275
+ state: string;
1276
+
1277
+ /**
1278
+ * The identifier of the File containing the back of the driver's license.
1279
+ */
1280
+ back_file_id?: string;
1281
+ }
1282
+
1283
+ /**
1284
+ * Information about the identification document provided. Required if `method` is
1285
+ * equal to `other`.
1286
+ */
1287
+ export interface Other {
1288
+ /**
1289
+ * The two-character ISO 3166-1 code representing the country that issued the
1290
+ * document.
1291
+ */
1292
+ country: string;
1293
+
1294
+ /**
1295
+ * A description of the document submitted.
1296
+ */
1297
+ description: string;
1298
+
1299
+ /**
1300
+ * The identifier of the File containing the front of the document.
1301
+ */
1302
+ file_id: string;
1303
+
1304
+ /**
1305
+ * The identifier of the File containing the back of the document. Not every
1306
+ * document has a reverse side.
1307
+ */
1308
+ back_file_id?: string;
1309
+
1310
+ /**
1311
+ * The document's expiration date in YYYY-MM-DD format.
1312
+ */
1313
+ expiration_date?: string;
1314
+ }
1315
+
1316
+ /**
1317
+ * Information about the passport used for identification. Required if `method` is
1318
+ * equal to `passport`.
1319
+ */
1320
+ export interface Passport {
1321
+ /**
1322
+ * The country that issued the passport.
1323
+ */
1324
+ country: string;
1325
+
1326
+ /**
1327
+ * The passport's expiration date in YYYY-MM-DD format.
1328
+ */
1329
+ expiration_date: string;
1330
+
1331
+ /**
1332
+ * The identifier of the File containing the passport.
1333
+ */
1334
+ file_id: string;
1335
+ }
1336
+ }
1337
+ }
1338
+ }
1339
+
1340
+ /**
1341
+ * Details of the natural person entity to create. Required if `structure` is equal
1342
+ * to `natural_person`. Natural people entities should be submitted with
1343
+ * `social_security_number` or `individual_taxpayer_identification_number`
1344
+ * identification methods.
1345
+ */
1346
+ export interface NaturalPerson {
1347
+ /**
1348
+ * The individual's address.
1349
+ */
1350
+ address: NaturalPerson.Address;
1351
+
1352
+ /**
1353
+ * The person's date of birth in YYYY-MM-DD format.
1354
+ */
1355
+ date_of_birth: string;
1356
+
1357
+ /**
1358
+ * A means of verifying the person's identity.
1359
+ */
1360
+ identification: NaturalPerson.Identification;
1361
+
1362
+ /**
1363
+ * The person's legal name.
1364
+ */
1365
+ name: string;
1366
+
1367
+ /**
1368
+ * The identification method for an individual can only be a passport, driver's
1369
+ * license, or other document if you've confirmed the individual does not have a US
1370
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
1371
+ * Number).
1372
+ */
1373
+ confirmed_no_us_tax_id?: boolean;
1374
+ }
1375
+
1376
+ export namespace NaturalPerson {
1377
+ /**
1378
+ * The individual's address.
1379
+ */
1380
+ export interface Address {
1381
+ /**
1382
+ * The city of the address.
1383
+ */
1384
+ city: string;
1385
+
1386
+ /**
1387
+ * The first line of the address. This is usually the street number and street.
1388
+ */
1389
+ line1: string;
1390
+
1391
+ /**
1392
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
1393
+ * the address.
1394
+ */
1395
+ state: string;
1396
+
1397
+ /**
1398
+ * The ZIP code of the address.
1399
+ */
1400
+ zip: string;
1401
+
1402
+ /**
1403
+ * The second line of the address. This might be the floor or room number.
1404
+ */
1405
+ line2?: string;
1406
+ }
1407
+
1408
+ /**
1409
+ * A means of verifying the person's identity.
1410
+ */
1411
+ export interface Identification {
1412
+ /**
1413
+ * A method that can be used to verify the individual's identity.
1414
+ *
1415
+ * - `social_security_number` - A social security number.
1416
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
1417
+ * identification number (ITIN).
1418
+ * - `passport` - A passport number.
1419
+ * - `drivers_license` - A driver's license number.
1420
+ * - `other` - Another identifying document.
1421
+ */
1422
+ method:
1423
+ | 'social_security_number'
1424
+ | 'individual_taxpayer_identification_number'
1425
+ | 'passport'
1426
+ | 'drivers_license'
1427
+ | 'other';
1428
+
1429
+ /**
1430
+ * An identification number that can be used to verify the individual's identity,
1431
+ * such as a social security number.
1432
+ */
1433
+ number: string;
1434
+
1435
+ /**
1436
+ * Information about the United States driver's license used for identification.
1437
+ * Required if `method` is equal to `drivers_license`.
1438
+ */
1439
+ drivers_license?: Identification.DriversLicense;
1440
+
1441
+ /**
1442
+ * Information about the identification document provided. Required if `method` is
1443
+ * equal to `other`.
1444
+ */
1445
+ other?: Identification.Other;
1446
+
1447
+ /**
1448
+ * Information about the passport used for identification. Required if `method` is
1449
+ * equal to `passport`.
1450
+ */
1451
+ passport?: Identification.Passport;
1452
+ }
1453
+
1454
+ export namespace Identification {
1455
+ /**
1456
+ * Information about the United States driver's license used for identification.
1457
+ * Required if `method` is equal to `drivers_license`.
1458
+ */
1459
+ export interface DriversLicense {
1460
+ /**
1461
+ * The driver's license's expiration date in YYYY-MM-DD format.
1462
+ */
1463
+ expiration_date: string;
1464
+
1465
+ /**
1466
+ * The identifier of the File containing the front of the driver's license.
1467
+ */
1468
+ file_id: string;
1469
+
1470
+ /**
1471
+ * The state that issued the provided driver's license.
1472
+ */
1473
+ state: string;
1474
+
1475
+ /**
1476
+ * The identifier of the File containing the back of the driver's license.
1477
+ */
1478
+ back_file_id?: string;
1479
+ }
1480
+
1481
+ /**
1482
+ * Information about the identification document provided. Required if `method` is
1483
+ * equal to `other`.
1484
+ */
1485
+ export interface Other {
1486
+ /**
1487
+ * The two-character ISO 3166-1 code representing the country that issued the
1488
+ * document.
1489
+ */
1490
+ country: string;
1491
+
1492
+ /**
1493
+ * A description of the document submitted.
1494
+ */
1495
+ description: string;
1496
+
1497
+ /**
1498
+ * The identifier of the File containing the front of the document.
1499
+ */
1500
+ file_id: string;
1501
+
1502
+ /**
1503
+ * The identifier of the File containing the back of the document. Not every
1504
+ * document has a reverse side.
1505
+ */
1506
+ back_file_id?: string;
1507
+
1508
+ /**
1509
+ * The document's expiration date in YYYY-MM-DD format.
1510
+ */
1511
+ expiration_date?: string;
1512
+ }
1513
+
1514
+ /**
1515
+ * Information about the passport used for identification. Required if `method` is
1516
+ * equal to `passport`.
1517
+ */
1518
+ export interface Passport {
1519
+ /**
1520
+ * The country that issued the passport.
1521
+ */
1522
+ country: string;
1523
+
1524
+ /**
1525
+ * The passport's expiration date in YYYY-MM-DD format.
1526
+ */
1527
+ expiration_date: string;
1528
+
1529
+ /**
1530
+ * The identifier of the File containing the passport.
1531
+ */
1532
+ file_id: string;
1533
+ }
1534
+ }
1535
+ }
1536
+
1537
+ export interface SupplementalDocument {
1538
+ /**
1539
+ * The identifier of the File containing the document.
1540
+ */
1541
+ file_id: string;
1542
+ }
1543
+
1544
+ /**
1545
+ * Details of the trust entity to create. Required if `structure` is equal to
1546
+ * `trust`.
1547
+ */
1548
+ export interface Trust {
1549
+ /**
1550
+ * The trust's address.
1551
+ */
1552
+ address: Trust.Address;
1553
+
1554
+ /**
1555
+ * Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require
1556
+ * their own Employer Identification Number. Revocable trusts require information
1557
+ * about the individual `grantor` who created the trust.
1558
+ *
1559
+ * - `revocable` - The trust is revocable by the grantor.
1560
+ * - `irrevocable` - The trust cannot be revoked.
1561
+ */
1562
+ category: 'revocable' | 'irrevocable';
1563
+
1564
+ /**
1565
+ * The legal name of the trust.
1566
+ */
1567
+ name: string;
1568
+
1569
+ /**
1570
+ * The trustees of the trust.
1571
+ */
1572
+ trustees: Array<Trust.Trustee>;
1573
+
1574
+ /**
1575
+ * The identifier of the File containing the formation document of the trust.
1576
+ */
1577
+ formation_document_file_id?: string;
1578
+
1579
+ /**
1580
+ * The two-letter United States Postal Service (USPS) abbreviation for the state in
1581
+ * which the trust was formed.
1582
+ */
1583
+ formation_state?: string;
1584
+
1585
+ /**
1586
+ * The grantor of the trust. Required if `category` is equal to `revocable`.
1587
+ */
1588
+ grantor?: Trust.Grantor;
1589
+
1590
+ /**
1591
+ * The Employer Identification Number (EIN) for the trust. Required if `category`
1592
+ * is equal to `irrevocable`.
1593
+ */
1594
+ tax_identifier?: string;
1595
+ }
1596
+
1597
+ export namespace Trust {
1598
+ /**
1599
+ * The trust's address.
1600
+ */
1601
+ export interface Address {
1602
+ /**
1603
+ * The city of the address.
1604
+ */
1605
+ city: string;
1606
+
1607
+ /**
1608
+ * The first line of the address. This is usually the street number and street.
1609
+ */
1610
+ line1: string;
1611
+
1612
+ /**
1613
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
1614
+ * the address.
1615
+ */
1616
+ state: string;
1617
+
1618
+ /**
1619
+ * The ZIP code of the address.
1620
+ */
1621
+ zip: string;
1622
+
1623
+ /**
1624
+ * The second line of the address. This might be the floor or room number.
1625
+ */
1626
+ line2?: string;
1627
+ }
1628
+
1629
+ export interface Trustee {
1630
+ /**
1631
+ * The structure of the trustee.
1632
+ *
1633
+ * - `individual` - The trustee is an individual.
1634
+ */
1635
+ structure: 'individual';
1636
+
1637
+ /**
1638
+ * Details of the individual trustee. Required when the trustee `structure` is
1639
+ * equal to `individual`.
1640
+ */
1641
+ individual?: Trustee.Individual;
1642
+ }
1643
+
1644
+ export namespace Trustee {
1645
+ /**
1646
+ * Details of the individual trustee. Required when the trustee `structure` is
1647
+ * equal to `individual`.
1648
+ */
1649
+ export interface Individual {
1650
+ /**
1651
+ * The individual's address.
1652
+ */
1653
+ address: Individual.Address;
1654
+
1655
+ /**
1656
+ * The person's date of birth in YYYY-MM-DD format.
1657
+ */
1658
+ date_of_birth: string;
1659
+
1660
+ /**
1661
+ * A means of verifying the person's identity.
1662
+ */
1663
+ identification: Individual.Identification;
1664
+
1665
+ /**
1666
+ * The person's legal name.
1667
+ */
1668
+ name: string;
1669
+
1670
+ /**
1671
+ * The identification method for an individual can only be a passport, driver's
1672
+ * license, or other document if you've confirmed the individual does not have a US
1673
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
1674
+ * Number).
1675
+ */
1676
+ confirmed_no_us_tax_id?: boolean;
1677
+ }
1678
+
1679
+ export namespace Individual {
1680
+ /**
1681
+ * The individual's address.
1682
+ */
1683
+ export interface Address {
1684
+ /**
1685
+ * The city of the address.
1686
+ */
1687
+ city: string;
1688
+
1689
+ /**
1690
+ * The first line of the address. This is usually the street number and street.
1691
+ */
1692
+ line1: string;
1693
+
1694
+ /**
1695
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
1696
+ * the address.
1697
+ */
1698
+ state: string;
1699
+
1700
+ /**
1701
+ * The ZIP code of the address.
1702
+ */
1703
+ zip: string;
1704
+
1705
+ /**
1706
+ * The second line of the address. This might be the floor or room number.
1707
+ */
1708
+ line2?: string;
1709
+ }
1710
+
1711
+ /**
1712
+ * A means of verifying the person's identity.
1713
+ */
1714
+ export interface Identification {
1715
+ /**
1716
+ * A method that can be used to verify the individual's identity.
1717
+ *
1718
+ * - `social_security_number` - A social security number.
1719
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
1720
+ * identification number (ITIN).
1721
+ * - `passport` - A passport number.
1722
+ * - `drivers_license` - A driver's license number.
1723
+ * - `other` - Another identifying document.
1724
+ */
1725
+ method:
1726
+ | 'social_security_number'
1727
+ | 'individual_taxpayer_identification_number'
1728
+ | 'passport'
1729
+ | 'drivers_license'
1730
+ | 'other';
1731
+
1732
+ /**
1733
+ * An identification number that can be used to verify the individual's identity,
1734
+ * such as a social security number.
1735
+ */
1736
+ number: string;
1737
+
1738
+ /**
1739
+ * Information about the United States driver's license used for identification.
1740
+ * Required if `method` is equal to `drivers_license`.
1741
+ */
1742
+ drivers_license?: Identification.DriversLicense;
1743
+
1744
+ /**
1745
+ * Information about the identification document provided. Required if `method` is
1746
+ * equal to `other`.
1747
+ */
1748
+ other?: Identification.Other;
1749
+
1750
+ /**
1751
+ * Information about the passport used for identification. Required if `method` is
1752
+ * equal to `passport`.
1753
+ */
1754
+ passport?: Identification.Passport;
1755
+ }
1756
+
1757
+ export namespace Identification {
1758
+ /**
1759
+ * Information about the United States driver's license used for identification.
1760
+ * Required if `method` is equal to `drivers_license`.
1761
+ */
1762
+ export interface DriversLicense {
1763
+ /**
1764
+ * The driver's license's expiration date in YYYY-MM-DD format.
1765
+ */
1766
+ expiration_date: string;
1767
+
1768
+ /**
1769
+ * The identifier of the File containing the front of the driver's license.
1770
+ */
1771
+ file_id: string;
1772
+
1773
+ /**
1774
+ * The state that issued the provided driver's license.
1775
+ */
1776
+ state: string;
1777
+
1778
+ /**
1779
+ * The identifier of the File containing the back of the driver's license.
1780
+ */
1781
+ back_file_id?: string;
1782
+ }
1783
+
1784
+ /**
1785
+ * Information about the identification document provided. Required if `method` is
1786
+ * equal to `other`.
1787
+ */
1788
+ export interface Other {
1789
+ /**
1790
+ * The two-character ISO 3166-1 code representing the country that issued the
1791
+ * document.
1792
+ */
1793
+ country: string;
1794
+
1795
+ /**
1796
+ * A description of the document submitted.
1797
+ */
1798
+ description: string;
1799
+
1800
+ /**
1801
+ * The identifier of the File containing the front of the document.
1802
+ */
1803
+ file_id: string;
1804
+
1805
+ /**
1806
+ * The identifier of the File containing the back of the document. Not every
1807
+ * document has a reverse side.
1808
+ */
1809
+ back_file_id?: string;
1810
+
1811
+ /**
1812
+ * The document's expiration date in YYYY-MM-DD format.
1813
+ */
1814
+ expiration_date?: string;
1815
+ }
1816
+
1817
+ /**
1818
+ * Information about the passport used for identification. Required if `method` is
1819
+ * equal to `passport`.
1820
+ */
1821
+ export interface Passport {
1822
+ /**
1823
+ * The country that issued the passport.
1824
+ */
1825
+ country: string;
1826
+
1827
+ /**
1828
+ * The passport's expiration date in YYYY-MM-DD format.
1829
+ */
1830
+ expiration_date: string;
1831
+
1832
+ /**
1833
+ * The identifier of the File containing the passport.
1834
+ */
1835
+ file_id: string;
1836
+ }
1837
+ }
1838
+ }
1839
+ }
1840
+
1841
+ /**
1842
+ * The grantor of the trust. Required if `category` is equal to `revocable`.
1843
+ */
1844
+ export interface Grantor {
1845
+ /**
1846
+ * The individual's address.
1847
+ */
1848
+ address: Grantor.Address;
1849
+
1850
+ /**
1851
+ * The person's date of birth in YYYY-MM-DD format.
1852
+ */
1853
+ date_of_birth: string;
1854
+
1855
+ /**
1856
+ * A means of verifying the person's identity.
1857
+ */
1858
+ identification: Grantor.Identification;
1859
+
1860
+ /**
1861
+ * The person's legal name.
1862
+ */
1863
+ name: string;
1864
+
1865
+ /**
1866
+ * The identification method for an individual can only be a passport, driver's
1867
+ * license, or other document if you've confirmed the individual does not have a US
1868
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
1869
+ * Number).
1870
+ */
1871
+ confirmed_no_us_tax_id?: boolean;
1872
+ }
1873
+
1874
+ export namespace Grantor {
1875
+ /**
1876
+ * The individual's address.
1877
+ */
1878
+ export interface Address {
1879
+ /**
1880
+ * The city of the address.
1881
+ */
1882
+ city: string;
1883
+
1884
+ /**
1885
+ * The first line of the address. This is usually the street number and street.
1886
+ */
1887
+ line1: string;
1888
+
1889
+ /**
1890
+ * The two-letter United States Postal Service (USPS) abbreviation for the state of
1891
+ * the address.
1892
+ */
1893
+ state: string;
1894
+
1895
+ /**
1896
+ * The ZIP code of the address.
1897
+ */
1898
+ zip: string;
1899
+
1900
+ /**
1901
+ * The second line of the address. This might be the floor or room number.
1902
+ */
1903
+ line2?: string;
1904
+ }
1905
+
1906
+ /**
1907
+ * A means of verifying the person's identity.
1908
+ */
1909
+ export interface Identification {
1910
+ /**
1911
+ * A method that can be used to verify the individual's identity.
1912
+ *
1913
+ * - `social_security_number` - A social security number.
1914
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
1915
+ * identification number (ITIN).
1916
+ * - `passport` - A passport number.
1917
+ * - `drivers_license` - A driver's license number.
1918
+ * - `other` - Another identifying document.
1919
+ */
1920
+ method:
1921
+ | 'social_security_number'
1922
+ | 'individual_taxpayer_identification_number'
1923
+ | 'passport'
1924
+ | 'drivers_license'
1925
+ | 'other';
1926
+
1927
+ /**
1928
+ * An identification number that can be used to verify the individual's identity,
1929
+ * such as a social security number.
1930
+ */
1931
+ number: string;
1932
+
1933
+ /**
1934
+ * Information about the United States driver's license used for identification.
1935
+ * Required if `method` is equal to `drivers_license`.
1936
+ */
1937
+ drivers_license?: Identification.DriversLicense;
1938
+
1939
+ /**
1940
+ * Information about the identification document provided. Required if `method` is
1941
+ * equal to `other`.
1942
+ */
1943
+ other?: Identification.Other;
1944
+
1945
+ /**
1946
+ * Information about the passport used for identification. Required if `method` is
1947
+ * equal to `passport`.
1948
+ */
1949
+ passport?: Identification.Passport;
1950
+ }
1951
+
1952
+ export namespace Identification {
1953
+ /**
1954
+ * Information about the United States driver's license used for identification.
1955
+ * Required if `method` is equal to `drivers_license`.
1956
+ */
1957
+ export interface DriversLicense {
1958
+ /**
1959
+ * The driver's license's expiration date in YYYY-MM-DD format.
1960
+ */
1961
+ expiration_date: string;
1962
+
1963
+ /**
1964
+ * The identifier of the File containing the front of the driver's license.
1965
+ */
1966
+ file_id: string;
1967
+
1968
+ /**
1969
+ * The state that issued the provided driver's license.
1970
+ */
1971
+ state: string;
1972
+
1973
+ /**
1974
+ * The identifier of the File containing the back of the driver's license.
1975
+ */
1976
+ back_file_id?: string;
1977
+ }
1978
+
1979
+ /**
1980
+ * Information about the identification document provided. Required if `method` is
1981
+ * equal to `other`.
1982
+ */
1983
+ export interface Other {
1984
+ /**
1985
+ * The two-character ISO 3166-1 code representing the country that issued the
1986
+ * document.
1987
+ */
1988
+ country: string;
1989
+
1990
+ /**
1991
+ * A description of the document submitted.
1992
+ */
1993
+ description: string;
1994
+
1995
+ /**
1996
+ * The identifier of the File containing the front of the document.
1997
+ */
1998
+ file_id: string;
1999
+
2000
+ /**
2001
+ * The identifier of the File containing the back of the document. Not every
2002
+ * document has a reverse side.
2003
+ */
2004
+ back_file_id?: string;
2005
+
2006
+ /**
2007
+ * The document's expiration date in YYYY-MM-DD format.
2008
+ */
2009
+ expiration_date?: string;
2010
+ }
2011
+
2012
+ /**
2013
+ * Information about the passport used for identification. Required if `method` is
2014
+ * equal to `passport`.
2015
+ */
2016
+ export interface Passport {
2017
+ /**
2018
+ * The country that issued the passport.
2019
+ */
2020
+ country: string;
2021
+
2022
+ /**
2023
+ * The passport's expiration date in YYYY-MM-DD format.
2024
+ */
2025
+ expiration_date: string;
2026
+
2027
+ /**
2028
+ * The identifier of the File containing the passport.
2029
+ */
2030
+ file_id: string;
2031
+ }
2032
+ }
2033
+ }
2034
+ }
2035
+ }
2036
+
2037
+ export interface EntityListParams extends PageParams {
2038
+ created_at?: EntityListParams.CreatedAt;
2039
+ }
2040
+
2041
+ export namespace EntityListParams {
2042
+ export interface CreatedAt {
2043
+ /**
2044
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
2045
+ * timestamp.
2046
+ */
2047
+ after?: string;
2048
+
2049
+ /**
2050
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
2051
+ * timestamp.
2052
+ */
2053
+ before?: string;
2054
+
2055
+ /**
2056
+ * Return results on or after this
2057
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
2058
+ */
2059
+ on_or_after?: string;
2060
+
2061
+ /**
2062
+ * Return results on or before this
2063
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
2064
+ */
2065
+ on_or_before?: string;
2066
+ }
2067
+ }
2068
+
2069
+ export namespace Entities {
2070
+ export import Entity = API.Entity;
2071
+ export type EntitiesPage = _EntitiesPage;
2072
+ export import EntityCreateParams = API.EntityCreateParams;
2073
+ export import EntityListParams = API.EntityListParams;
2074
+
2075
+ export import SupplementalDocuments = API.SupplementalDocuments;
2076
+ export import SupplementalDocument = API.SupplementalDocument;
2077
+ export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
2078
+ export import SupplementalDocumentCreateParams = API.SupplementalDocumentCreateParams;
2079
+ export import SupplementalDocumentListParams = API.SupplementalDocumentListParams;
2080
+ }