increase 0.5.0 → 0.6.0

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