increase 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1286) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +11 -6
  3. package/_shims/agent.d.ts +9 -0
  4. package/_shims/agent.d.ts.map +1 -0
  5. package/_shims/agent.js.map +1 -0
  6. package/_shims/agent.mjs +10 -0
  7. package/_shims/agent.mjs.map +1 -0
  8. package/_shims/agent.node.d.ts +7 -0
  9. package/_shims/agent.node.d.ts.map +1 -0
  10. package/_shims/agent.node.js.map +1 -0
  11. package/_shims/agent.node.mjs +16 -0
  12. package/_shims/agent.node.mjs.map +1 -0
  13. package/_shims/fetch.d.ts +52 -0
  14. package/_shims/fetch.js +13 -0
  15. package/_shims/fetch.mjs +15 -0
  16. package/_shims/fetch.node.d.ts +53 -0
  17. package/_shims/fetch.node.js +12 -0
  18. package/_shims/fetch.node.mjs +14 -0
  19. package/_shims/fileFromPath.d.ts +22 -0
  20. package/_shims/fileFromPath.d.ts.map +1 -0
  21. package/_shims/fileFromPath.js +16 -0
  22. package/_shims/fileFromPath.js.map +1 -0
  23. package/_shims/fileFromPath.mjs +12 -0
  24. package/_shims/fileFromPath.mjs.map +1 -0
  25. package/_shims/fileFromPath.node.d.ts +17 -0
  26. package/_shims/fileFromPath.node.d.ts.map +1 -0
  27. package/_shims/fileFromPath.node.js +17 -0
  28. package/_shims/fileFromPath.node.js.map +1 -0
  29. package/_shims/fileFromPath.node.mjs +13 -0
  30. package/_shims/fileFromPath.node.mjs.map +1 -0
  31. package/_shims/formdata.d.ts +43 -0
  32. package/_shims/formdata.js +9 -0
  33. package/_shims/formdata.mjs +11 -0
  34. package/_shims/formdata.node.d.ts +44 -0
  35. package/_shims/formdata.node.js +11 -0
  36. package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
  37. package/_shims/getMultipartRequestOptions.js +12 -0
  38. package/_shims/getMultipartRequestOptions.js.map +1 -0
  39. package/_shims/getMultipartRequestOptions.mjs +8 -0
  40. package/_shims/getMultipartRequestOptions.mjs.map +1 -0
  41. package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
  42. package/_shims/getMultipartRequestOptions.node.js +22 -0
  43. package/_shims/getMultipartRequestOptions.node.js.map +1 -0
  44. package/_shims/getMultipartRequestOptions.node.mjs +18 -0
  45. package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
  46. package/_shims/node-readable.d.ts +23 -0
  47. package/_shims/node-readable.d.ts.map +1 -0
  48. package/_shims/node-readable.js +11 -0
  49. package/_shims/node-readable.js.map +1 -0
  50. package/_shims/node-readable.mjs +7 -0
  51. package/_shims/node-readable.mjs.map +1 -0
  52. package/_shims/node-readable.node.d.ts +8 -0
  53. package/_shims/node-readable.node.d.ts.map +1 -0
  54. package/_shims/node-readable.node.js +9 -0
  55. package/_shims/node-readable.node.js.map +1 -0
  56. package/_shims/node-readable.node.mjs +5 -0
  57. package/_shims/node-readable.node.mjs.map +1 -0
  58. package/core.d.ts +230 -0
  59. package/core.d.ts.map +1 -0
  60. package/core.js +717 -0
  61. package/core.js.map +1 -0
  62. package/core.mjs +621 -0
  63. package/core.mjs.map +1 -0
  64. package/error.d.ts +225 -0
  65. package/error.d.ts.map +1 -0
  66. package/error.js +350 -0
  67. package/error.js.map +1 -0
  68. package/error.mjs +297 -0
  69. package/error.mjs.map +1 -0
  70. package/index.d.mts +355 -0
  71. package/index.d.ts +355 -0
  72. package/index.d.ts.map +1 -0
  73. package/index.js +292 -0
  74. package/index.js.map +1 -0
  75. package/index.mjs +221 -0
  76. package/index.mjs.map +1 -0
  77. package/package.json +34 -77
  78. package/pagination.d.ts.map +1 -0
  79. package/pagination.js +30 -0
  80. package/pagination.js.map +1 -0
  81. package/pagination.mjs +26 -0
  82. package/pagination.mjs.map +1 -0
  83. package/resource.d.ts.map +1 -0
  84. package/resource.js.map +1 -0
  85. package/resource.mjs +13 -0
  86. package/resource.mjs.map +1 -0
  87. package/resources/account-numbers.d.ts +151 -0
  88. package/resources/account-numbers.d.ts.map +1 -0
  89. package/resources/account-numbers.js +38 -0
  90. package/resources/account-numbers.js.map +1 -0
  91. package/resources/account-numbers.mjs +33 -0
  92. package/resources/account-numbers.mjs.map +1 -0
  93. package/resources/account-statements.d.ts +108 -0
  94. package/resources/account-statements.d.ts.map +1 -0
  95. package/resources/account-statements.js +28 -0
  96. package/resources/account-statements.js.map +1 -0
  97. package/resources/account-statements.mjs +21 -0
  98. package/resources/account-statements.mjs.map +1 -0
  99. package/resources/account-transfers.d.ts +232 -0
  100. package/resources/account-transfers.d.ts.map +1 -0
  101. package/resources/account-transfers.js +46 -0
  102. package/resources/account-transfers.js.map +1 -0
  103. package/resources/account-transfers.mjs +39 -0
  104. package/resources/account-transfers.mjs.map +1 -0
  105. package/resources/accounts.d.ts +178 -0
  106. package/resources/accounts.d.ts.map +1 -0
  107. package/resources/accounts.js +44 -0
  108. package/resources/accounts.js.map +1 -0
  109. package/resources/accounts.mjs +39 -0
  110. package/resources/accounts.mjs.map +1 -0
  111. package/resources/ach-prenotifications.d.ts +216 -0
  112. package/resources/ach-prenotifications.d.ts.map +1 -0
  113. package/resources/ach-prenotifications.js +34 -0
  114. package/resources/ach-prenotifications.js.map +1 -0
  115. package/resources/ach-prenotifications.mjs +27 -0
  116. package/resources/ach-prenotifications.mjs.map +1 -0
  117. package/resources/ach-transfers.d.ts +681 -0
  118. package/resources/ach-transfers.d.ts.map +1 -0
  119. package/resources/ach-transfers.js +44 -0
  120. package/resources/ach-transfers.js.map +1 -0
  121. package/resources/ach-transfers.mjs +39 -0
  122. package/resources/ach-transfers.mjs.map +1 -0
  123. package/resources/balance-lookups.d.ts +52 -0
  124. package/resources/balance-lookups.d.ts.map +1 -0
  125. package/resources/balance-lookups.js +16 -0
  126. package/resources/balance-lookups.js.map +1 -0
  127. package/resources/balance-lookups.mjs +12 -0
  128. package/resources/balance-lookups.mjs.map +1 -0
  129. package/resources/bookkeeping-accounts.d.ts +86 -0
  130. package/resources/bookkeeping-accounts.d.ts.map +1 -0
  131. package/resources/bookkeeping-accounts.js +28 -0
  132. package/resources/bookkeeping-accounts.js.map +1 -0
  133. package/resources/bookkeeping-accounts.mjs +21 -0
  134. package/resources/bookkeeping-accounts.mjs.map +1 -0
  135. package/resources/bookkeeping-entries.d.ts +51 -0
  136. package/resources/bookkeeping-entries.d.ts.map +1 -0
  137. package/resources/bookkeeping-entries.js +22 -0
  138. package/resources/bookkeeping-entries.js.map +1 -0
  139. package/resources/bookkeeping-entries.mjs +15 -0
  140. package/resources/bookkeeping-entries.mjs.map +1 -0
  141. package/resources/bookkeeping-entry-sets.d.ts +88 -0
  142. package/resources/bookkeeping-entry-sets.d.ts.map +1 -0
  143. package/resources/bookkeeping-entry-sets.js +18 -0
  144. package/resources/bookkeeping-entry-sets.js.map +1 -0
  145. package/resources/bookkeeping-entry-sets.mjs +12 -0
  146. package/resources/bookkeeping-entry-sets.mjs.map +1 -0
  147. package/resources/card-disputes.d.ts +167 -0
  148. package/resources/card-disputes.d.ts.map +1 -0
  149. package/resources/card-disputes.js +32 -0
  150. package/resources/card-disputes.js.map +1 -0
  151. package/resources/card-disputes.mjs +27 -0
  152. package/resources/card-disputes.mjs.map +1 -0
  153. package/resources/card-profiles.d.ts +260 -0
  154. package/resources/card-profiles.d.ts.map +1 -0
  155. package/resources/card-profiles.js +32 -0
  156. package/resources/card-profiles.js.map +1 -0
  157. package/resources/card-profiles.mjs +27 -0
  158. package/resources/card-profiles.mjs.map +1 -0
  159. package/resources/cards.d.ts +364 -0
  160. package/resources/cards.d.ts.map +1 -0
  161. package/resources/cards.js +44 -0
  162. package/resources/cards.js.map +1 -0
  163. package/resources/cards.mjs +39 -0
  164. package/resources/cards.mjs.map +1 -0
  165. package/resources/check-deposits.d.ts +324 -0
  166. package/resources/check-deposits.d.ts.map +1 -0
  167. package/resources/check-deposits.js +32 -0
  168. package/resources/check-deposits.js.map +1 -0
  169. package/resources/check-deposits.mjs +27 -0
  170. package/resources/check-deposits.mjs.map +1 -0
  171. package/resources/check-transfers.d.ts +468 -0
  172. package/resources/check-transfers.d.ts.map +1 -0
  173. package/resources/check-transfers.js +50 -0
  174. package/resources/check-transfers.js.map +1 -0
  175. package/resources/check-transfers.mjs +45 -0
  176. package/resources/check-transfers.mjs.map +1 -0
  177. package/resources/declined-transactions.d.ts +633 -0
  178. package/resources/declined-transactions.d.ts.map +1 -0
  179. package/resources/declined-transactions.js +28 -0
  180. package/resources/declined-transactions.js.map +1 -0
  181. package/resources/declined-transactions.mjs +21 -0
  182. package/resources/declined-transactions.mjs.map +1 -0
  183. package/resources/digital-wallet-tokens.d.ts +103 -0
  184. package/resources/digital-wallet-tokens.d.ts.map +1 -0
  185. package/resources/digital-wallet-tokens.js +28 -0
  186. package/resources/digital-wallet-tokens.js.map +1 -0
  187. package/resources/digital-wallet-tokens.mjs +21 -0
  188. package/resources/digital-wallet-tokens.mjs.map +1 -0
  189. package/resources/documents.d.ts +103 -0
  190. package/resources/documents.d.ts.map +1 -0
  191. package/resources/documents.js +26 -0
  192. package/resources/documents.js.map +1 -0
  193. package/resources/documents.mjs +21 -0
  194. package/resources/documents.mjs.map +1 -0
  195. package/resources/entities/entities.d.ts +1779 -0
  196. package/resources/entities/entities.d.ts.map +1 -0
  197. package/resources/entities/entities.js +81 -0
  198. package/resources/entities/entities.js.map +1 -0
  199. package/resources/entities/entities.mjs +36 -0
  200. package/resources/entities/entities.mjs.map +1 -0
  201. package/resources/entities/index.d.ts.map +1 -0
  202. package/resources/entities/index.js +35 -0
  203. package/resources/entities/index.js.map +1 -0
  204. package/resources/entities/index.mjs +4 -0
  205. package/resources/entities/index.mjs.map +1 -0
  206. package/resources/entities/supplemental-documents.d.ts +64 -0
  207. package/resources/entities/supplemental-documents.d.ts.map +1 -0
  208. package/resources/entities/supplemental-documents.js +30 -0
  209. package/resources/entities/supplemental-documents.js.map +1 -0
  210. package/resources/entities/supplemental-documents.mjs +23 -0
  211. package/resources/entities/supplemental-documents.mjs.map +1 -0
  212. package/resources/event-subscriptions.d.ts +373 -0
  213. package/resources/event-subscriptions.d.ts.map +1 -0
  214. package/resources/event-subscriptions.js +40 -0
  215. package/resources/event-subscriptions.js.map +1 -0
  216. package/resources/event-subscriptions.mjs +33 -0
  217. package/resources/event-subscriptions.mjs.map +1 -0
  218. package/resources/events.d.ts +271 -0
  219. package/resources/events.d.ts.map +1 -0
  220. package/resources/events.js +26 -0
  221. package/resources/events.js.map +1 -0
  222. package/resources/events.mjs +21 -0
  223. package/resources/events.mjs.map +1 -0
  224. package/resources/exports.d.ts +182 -0
  225. package/resources/exports.d.ts.map +1 -0
  226. package/resources/exports.js +32 -0
  227. package/resources/exports.js.map +1 -0
  228. package/resources/exports.mjs +27 -0
  229. package/resources/exports.mjs.map +1 -0
  230. package/resources/external-accounts.d.ts +153 -0
  231. package/resources/external-accounts.d.ts.map +1 -0
  232. package/resources/external-accounts.js +40 -0
  233. package/resources/external-accounts.js.map +1 -0
  234. package/resources/external-accounts.mjs +33 -0
  235. package/resources/external-accounts.mjs.map +1 -0
  236. package/resources/files.d.ts +218 -0
  237. package/resources/files.d.ts.map +1 -0
  238. package/resources/files.js +35 -0
  239. package/resources/files.js.map +1 -0
  240. package/resources/files.mjs +30 -0
  241. package/resources/files.mjs.map +1 -0
  242. package/resources/groups.d.ts +48 -0
  243. package/resources/groups.d.ts.map +1 -0
  244. package/resources/groups.js +16 -0
  245. package/resources/groups.js.map +1 -0
  246. package/resources/groups.mjs +12 -0
  247. package/resources/groups.mjs.map +1 -0
  248. package/resources/inbound-ach-transfer-returns.d.ts +159 -0
  249. package/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
  250. package/resources/inbound-ach-transfer-returns.js +37 -0
  251. package/resources/inbound-ach-transfer-returns.js.map +1 -0
  252. package/resources/inbound-ach-transfer-returns.mjs +30 -0
  253. package/resources/inbound-ach-transfer-returns.mjs.map +1 -0
  254. package/resources/inbound-wire-drawdown-requests.d.ts +133 -0
  255. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
  256. package/resources/inbound-wire-drawdown-requests.js +32 -0
  257. package/resources/inbound-wire-drawdown-requests.js.map +1 -0
  258. package/resources/inbound-wire-drawdown-requests.mjs +26 -0
  259. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -0
  260. package/resources/index.d.ts +200 -0
  261. package/resources/index.d.ts.map +1 -0
  262. package/resources/index.js +569 -0
  263. package/resources/index.js.map +1 -0
  264. package/resources/index.mjs +44 -0
  265. package/resources/index.mjs.map +1 -0
  266. package/resources/limits.d.ts +152 -0
  267. package/resources/limits.d.ts.map +1 -0
  268. package/resources/limits.js +38 -0
  269. package/resources/limits.js.map +1 -0
  270. package/resources/limits.mjs +33 -0
  271. package/resources/limits.mjs.map +1 -0
  272. package/resources/oauth-connections.d.ts +62 -0
  273. package/resources/oauth-connections.d.ts.map +1 -0
  274. package/resources/oauth-connections.js +28 -0
  275. package/resources/oauth-connections.js.map +1 -0
  276. package/resources/oauth-connections.mjs +21 -0
  277. package/resources/oauth-connections.mjs.map +1 -0
  278. package/resources/pending-transactions.d.ts +599 -0
  279. package/resources/pending-transactions.d.ts.map +1 -0
  280. package/resources/pending-transactions.js +28 -0
  281. package/resources/pending-transactions.js.map +1 -0
  282. package/resources/pending-transactions.mjs +21 -0
  283. package/resources/pending-transactions.mjs.map +1 -0
  284. package/resources/programs.d.ts +56 -0
  285. package/resources/programs.d.ts.map +1 -0
  286. package/resources/programs.js +26 -0
  287. package/resources/programs.js.map +1 -0
  288. package/resources/programs.mjs +21 -0
  289. package/resources/programs.mjs.map +1 -0
  290. package/resources/real-time-decisions.d.ts +400 -0
  291. package/resources/real-time-decisions.d.ts.map +1 -0
  292. package/resources/real-time-decisions.js +24 -0
  293. package/resources/real-time-decisions.js.map +1 -0
  294. package/resources/real-time-decisions.mjs +18 -0
  295. package/resources/real-time-decisions.mjs.map +1 -0
  296. package/resources/real-time-payments-transfers.d.ts +377 -0
  297. package/resources/real-time-payments-transfers.d.ts.map +1 -0
  298. package/resources/real-time-payments-transfers.js +37 -0
  299. package/resources/real-time-payments-transfers.js.map +1 -0
  300. package/resources/real-time-payments-transfers.mjs +30 -0
  301. package/resources/real-time-payments-transfers.mjs.map +1 -0
  302. package/resources/routing-numbers.d.ts +67 -0
  303. package/resources/routing-numbers.d.ts.map +1 -0
  304. package/resources/routing-numbers.js +22 -0
  305. package/resources/routing-numbers.js.map +1 -0
  306. package/resources/routing-numbers.mjs +17 -0
  307. package/resources/routing-numbers.mjs.map +1 -0
  308. package/resources/shared.d.ts +29 -0
  309. package/resources/shared.d.ts.map +1 -0
  310. package/resources/shared.js.map +1 -0
  311. package/resources/shared.mjs +3 -0
  312. package/resources/shared.mjs.map +1 -0
  313. package/resources/simulations/account-statements.d.ts +24 -0
  314. package/resources/simulations/account-statements.d.ts.map +1 -0
  315. package/resources/simulations/account-statements.js +19 -0
  316. package/resources/simulations/account-statements.js.map +1 -0
  317. package/resources/simulations/account-statements.mjs +13 -0
  318. package/resources/simulations/account-statements.mjs.map +1 -0
  319. package/resources/simulations/account-transfers.d.ts +16 -0
  320. package/resources/simulations/account-transfers.d.ts.map +1 -0
  321. package/resources/simulations/account-transfers.js +18 -0
  322. package/resources/simulations/account-transfers.js.map +1 -0
  323. package/resources/simulations/account-transfers.mjs +14 -0
  324. package/resources/simulations/account-transfers.mjs.map +1 -0
  325. package/resources/simulations/ach-transfers.d.ts +2439 -0
  326. package/resources/simulations/ach-transfers.d.ts.map +1 -0
  327. package/resources/simulations/ach-transfers.js +40 -0
  328. package/resources/simulations/ach-transfers.js.map +1 -0
  329. package/resources/simulations/ach-transfers.mjs +36 -0
  330. package/resources/simulations/ach-transfers.mjs.map +1 -0
  331. package/resources/simulations/card-disputes.d.ts +35 -0
  332. package/resources/simulations/card-disputes.d.ts.map +1 -0
  333. package/resources/simulations/card-disputes.js +19 -0
  334. package/resources/simulations/card-disputes.js.map +1 -0
  335. package/resources/simulations/card-disputes.mjs +15 -0
  336. package/resources/simulations/card-disputes.mjs.map +1 -0
  337. package/resources/simulations/card-profiles.d.ts +17 -0
  338. package/resources/simulations/card-profiles.d.ts.map +1 -0
  339. package/resources/simulations/card-profiles.js +19 -0
  340. package/resources/simulations/card-profiles.js.map +1 -0
  341. package/resources/simulations/card-profiles.mjs +15 -0
  342. package/resources/simulations/card-profiles.mjs.map +1 -0
  343. package/resources/simulations/card-refunds.d.ts +25 -0
  344. package/resources/simulations/card-refunds.d.ts.map +1 -0
  345. package/resources/simulations/card-refunds.js +17 -0
  346. package/resources/simulations/card-refunds.js.map +1 -0
  347. package/resources/simulations/card-refunds.mjs +13 -0
  348. package/resources/simulations/card-refunds.mjs.map +1 -0
  349. package/resources/simulations/cards.d.ts +1185 -0
  350. package/resources/simulations/cards.d.ts.map +1 -0
  351. package/resources/simulations/cards.js +32 -0
  352. package/resources/simulations/cards.js.map +1 -0
  353. package/resources/simulations/cards.mjs +28 -0
  354. package/resources/simulations/cards.mjs.map +1 -0
  355. package/resources/simulations/check-deposits.d.ts +31 -0
  356. package/resources/simulations/check-deposits.d.ts.map +1 -0
  357. package/resources/simulations/check-deposits.js +31 -0
  358. package/resources/simulations/check-deposits.js.map +1 -0
  359. package/resources/simulations/check-deposits.mjs +27 -0
  360. package/resources/simulations/check-deposits.mjs.map +1 -0
  361. package/resources/simulations/check-transfers.d.ts +23 -0
  362. package/resources/simulations/check-transfers.d.ts.map +1 -0
  363. package/resources/simulations/check-transfers.js +24 -0
  364. package/resources/simulations/check-transfers.js.map +1 -0
  365. package/resources/simulations/check-transfers.mjs +20 -0
  366. package/resources/simulations/check-transfers.mjs.map +1 -0
  367. package/resources/simulations/digital-wallet-token-requests.d.ts +56 -0
  368. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
  369. package/resources/simulations/digital-wallet-token-requests.js +20 -0
  370. package/resources/simulations/digital-wallet-token-requests.js.map +1 -0
  371. package/resources/simulations/digital-wallet-token-requests.mjs +13 -0
  372. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -0
  373. package/resources/simulations/documents.d.ts +23 -0
  374. package/resources/simulations/documents.d.ts.map +1 -0
  375. package/resources/simulations/documents.js +16 -0
  376. package/resources/simulations/documents.js.map +1 -0
  377. package/resources/simulations/documents.mjs +12 -0
  378. package/resources/simulations/documents.mjs.map +1 -0
  379. package/resources/simulations/inbound-funds-holds.d.ts +74 -0
  380. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
  381. package/resources/simulations/inbound-funds-holds.js +19 -0
  382. package/resources/simulations/inbound-funds-holds.js.map +1 -0
  383. package/resources/simulations/inbound-funds-holds.mjs +13 -0
  384. package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
  385. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
  386. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
  387. package/resources/simulations/inbound-wire-drawdown-requests.js +20 -0
  388. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
  389. package/resources/simulations/inbound-wire-drawdown-requests.mjs +15 -0
  390. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -0
  391. package/resources/simulations/index.d.ts +40 -0
  392. package/resources/simulations/index.d.ts.map +1 -0
  393. package/resources/simulations/index.js +149 -0
  394. package/resources/simulations/index.js.map +1 -0
  395. package/resources/simulations/index.mjs +20 -0
  396. package/resources/simulations/index.mjs.map +1 -0
  397. package/resources/simulations/interest-payments.d.ts +1591 -0
  398. package/resources/simulations/interest-payments.d.ts.map +1 -0
  399. package/resources/simulations/interest-payments.js +19 -0
  400. package/resources/simulations/interest-payments.js.map +1 -0
  401. package/resources/simulations/interest-payments.mjs +13 -0
  402. package/resources/simulations/interest-payments.mjs.map +1 -0
  403. package/resources/simulations/programs.d.ts +25 -0
  404. package/resources/simulations/programs.d.ts.map +1 -0
  405. package/resources/simulations/programs.js +18 -0
  406. package/resources/simulations/programs.js.map +1 -0
  407. package/resources/simulations/programs.mjs +14 -0
  408. package/resources/simulations/programs.mjs.map +1 -0
  409. package/resources/simulations/real-time-payments-transfers.d.ts +2289 -0
  410. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
  411. package/resources/simulations/real-time-payments-transfers.js +30 -0
  412. package/resources/simulations/real-time-payments-transfers.js.map +1 -0
  413. package/resources/simulations/real-time-payments-transfers.mjs +24 -0
  414. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -0
  415. package/resources/simulations/simulations.d.ts +80 -0
  416. package/resources/simulations/simulations.d.ts.map +1 -0
  417. package/resources/simulations/simulations.js +112 -0
  418. package/resources/simulations/simulations.js.map +1 -0
  419. package/resources/simulations/simulations.mjs +62 -0
  420. package/resources/simulations/simulations.mjs.map +1 -0
  421. package/resources/simulations/wire-transfers.d.ts +1657 -0
  422. package/resources/simulations/wire-transfers.d.ts.map +1 -0
  423. package/resources/simulations/wire-transfers.js +16 -0
  424. package/resources/simulations/wire-transfers.js.map +1 -0
  425. package/resources/simulations/wire-transfers.mjs +12 -0
  426. package/resources/simulations/wire-transfers.mjs.map +1 -0
  427. package/resources/transactions.d.ts +1646 -0
  428. package/resources/transactions.d.ts.map +1 -0
  429. package/resources/transactions.js +26 -0
  430. package/resources/transactions.js.map +1 -0
  431. package/resources/transactions.mjs +21 -0
  432. package/resources/transactions.mjs.map +1 -0
  433. package/resources/wire-drawdown-requests.d.ts +169 -0
  434. package/resources/wire-drawdown-requests.d.ts.map +1 -0
  435. package/resources/wire-drawdown-requests.js +34 -0
  436. package/resources/wire-drawdown-requests.js.map +1 -0
  437. package/resources/wire-drawdown-requests.mjs +27 -0
  438. package/resources/wire-drawdown-requests.mjs.map +1 -0
  439. package/resources/wire-transfers.d.ts +384 -0
  440. package/resources/wire-transfers.d.ts.map +1 -0
  441. package/resources/wire-transfers.js +61 -0
  442. package/resources/wire-transfers.js.map +1 -0
  443. package/resources/wire-transfers.mjs +56 -0
  444. package/resources/wire-transfers.mjs.map +1 -0
  445. package/src/_shims/agent.node.ts +22 -0
  446. package/src/_shims/agent.ts +12 -0
  447. package/src/_shims/fetch.d.ts +52 -0
  448. package/src/_shims/fetch.js +13 -0
  449. package/src/_shims/fetch.mjs +15 -0
  450. package/src/_shims/fetch.node.d.ts +53 -0
  451. package/src/_shims/fetch.node.js +12 -0
  452. package/src/_shims/fetch.node.mjs +14 -0
  453. package/src/_shims/fileFromPath.node.ts +29 -0
  454. package/src/_shims/fileFromPath.ts +29 -0
  455. package/src/_shims/formdata.d.ts +43 -0
  456. package/src/_shims/formdata.js +9 -0
  457. package/src/_shims/formdata.mjs +11 -0
  458. package/src/_shims/formdata.node.d.ts +44 -0
  459. package/src/_shims/formdata.node.js +11 -0
  460. package/src/_shims/formdata.node.mjs +9 -0
  461. package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
  462. package/src/_shims/getMultipartRequestOptions.ts +14 -0
  463. package/src/_shims/node-readable.node.ts +10 -0
  464. package/src/_shims/node-readable.ts +30 -0
  465. package/src/core.ts +819 -0
  466. package/src/error.ts +545 -0
  467. package/src/index.ts +456 -0
  468. package/src/resources/account-numbers.ts +193 -0
  469. package/src/resources/account-statements.ts +140 -0
  470. package/src/resources/account-transfers.ts +290 -0
  471. package/src/resources/accounts.ts +228 -0
  472. package/src/resources/ach-prenotifications.ts +269 -0
  473. package/src/resources/ach-transfers.ts +776 -0
  474. package/src/resources/balance-lookups.ts +63 -0
  475. package/src/resources/bookkeeping-accounts.ts +114 -0
  476. package/src/resources/bookkeeping-entries.ts +71 -0
  477. package/src/resources/bookkeeping-entry-sets.ts +106 -0
  478. package/src/resources/card-disputes.ts +210 -0
  479. package/src/resources/card-profiles.ts +321 -0
  480. package/src/resources/cards.ts +445 -0
  481. package/src/resources/check-deposits.ts +385 -0
  482. package/src/resources/check-transfers.ts +573 -0
  483. package/src/resources/declined-transactions.ts +764 -0
  484. package/src/resources/digital-wallet-tokens.ts +132 -0
  485. package/src/resources/documents.ts +134 -0
  486. package/src/resources/entities/entities.ts +2080 -0
  487. package/src/resources/entities/supplemental-documents.ts +81 -0
  488. package/src/resources/event-subscriptions.ts +408 -0
  489. package/src/resources/events.ts +302 -0
  490. package/src/resources/exports.ts +225 -0
  491. package/src/resources/external-accounts.ts +193 -0
  492. package/src/resources/files.ts +256 -0
  493. package/src/resources/groups.ts +58 -0
  494. package/src/resources/inbound-ach-transfer-returns.ts +194 -0
  495. package/src/resources/inbound-wire-drawdown-requests.ts +176 -0
  496. package/src/resources/index.ts +194 -0
  497. package/src/resources/limits.ts +190 -0
  498. package/src/resources/oauth-connections.ts +85 -0
  499. package/src/resources/pending-transactions.ts +694 -0
  500. package/src/resources/programs.ts +79 -0
  501. package/src/resources/real-time-decisions.ts +456 -0
  502. package/src/resources/real-time-payments-transfers.ts +445 -0
  503. package/src/resources/routing-numbers.ts +80 -0
  504. package/src/resources/shared.ts +30 -0
  505. package/src/resources/simulations/account-statements.ts +30 -0
  506. package/src/resources/simulations/account-transfers.ts +20 -0
  507. package/src/resources/simulations/ach-transfers.ts +2826 -0
  508. package/src/resources/simulations/card-disputes.ts +42 -0
  509. package/src/resources/simulations/card-profiles.ts +21 -0
  510. package/src/resources/simulations/card-refunds.ts +31 -0
  511. package/src/resources/simulations/cards.ts +1378 -0
  512. package/src/resources/simulations/check-deposits.ts +41 -0
  513. package/src/resources/simulations/check-transfers.ts +30 -0
  514. package/src/resources/simulations/digital-wallet-token-requests.ts +65 -0
  515. package/src/resources/simulations/documents.ts +29 -0
  516. package/src/resources/simulations/inbound-funds-holds.ts +88 -0
  517. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +131 -0
  518. package/src/resources/simulations/index.ts +41 -0
  519. package/src/resources/simulations/interest-payments.ts +1858 -0
  520. package/src/resources/simulations/programs.ts +31 -0
  521. package/src/resources/simulations/real-time-payments-transfers.ts +2677 -0
  522. package/src/resources/simulations/simulations.ts +99 -0
  523. package/src/resources/simulations/wire-transfers.ts +1937 -0
  524. package/src/resources/transactions.ts +1930 -0
  525. package/src/resources/wire-drawdown-requests.ts +215 -0
  526. package/src/resources/wire-transfers.ts +479 -0
  527. package/src/streaming.ts +274 -0
  528. package/src/uploads.ts +249 -0
  529. package/src/version.ts +1 -0
  530. package/streaming.d.ts +14 -0
  531. package/streaming.d.ts.map +1 -0
  532. package/streaming.js +213 -0
  533. package/streaming.js.map +1 -0
  534. package/streaming.mjs +209 -0
  535. package/streaming.mjs.map +1 -0
  536. package/uploads.d.ts +90 -0
  537. package/uploads.d.ts.map +1 -0
  538. package/uploads.js +208 -0
  539. package/uploads.js.map +1 -0
  540. package/uploads.mjs +175 -0
  541. package/uploads.mjs.map +1 -0
  542. package/version.d.ts +2 -0
  543. package/version.d.ts.map +1 -0
  544. package/version.js +5 -0
  545. package/version.js.map +1 -0
  546. package/version.mjs +2 -0
  547. package/version.mjs.map +1 -0
  548. package/_shims/agent.node.ts +0 -20
  549. package/_shims/agent.ts +0 -12
  550. package/_shims/fetch.node.ts +0 -11
  551. package/_shims/fetch.ts +0 -32
  552. package/_shims/fileFromPath.node.ts +0 -30
  553. package/_shims/fileFromPath.ts +0 -30
  554. package/_shims/formdata.ts +0 -22
  555. package/_shims/getMultipartRequestOptions.node.ts +0 -24
  556. package/_shims/getMultipartRequestOptions.ts +0 -13
  557. package/_shims/newFileArgs.ts +0 -94
  558. package/_shims/toFile.node.ts +0 -25
  559. package/_shims/toFile.ts +0 -26
  560. package/_shims/uploadable.node.ts +0 -21
  561. package/_shims/uploadable.ts +0 -82
  562. package/check-version.ts +0 -18
  563. package/core.ts +0 -761
  564. package/dist/cjs/_shims/agent.d.ts +0 -9
  565. package/dist/cjs/_shims/agent.d.ts.map +0 -1
  566. package/dist/cjs/_shims/agent.js.map +0 -1
  567. package/dist/cjs/_shims/agent.node.d.ts +0 -6
  568. package/dist/cjs/_shims/agent.node.d.ts.map +0 -1
  569. package/dist/cjs/_shims/agent.node.js.map +0 -1
  570. package/dist/cjs/_shims/fetch.d.ts +0 -19
  571. package/dist/cjs/_shims/fetch.d.ts.map +0 -1
  572. package/dist/cjs/_shims/fetch.js +0 -24
  573. package/dist/cjs/_shims/fetch.js.map +0 -1
  574. package/dist/cjs/_shims/fetch.node.d.ts +0 -9
  575. package/dist/cjs/_shims/fetch.node.d.ts.map +0 -1
  576. package/dist/cjs/_shims/fetch.node.js +0 -68
  577. package/dist/cjs/_shims/fetch.node.js.map +0 -1
  578. package/dist/cjs/_shims/fileFromPath.d.ts +0 -23
  579. package/dist/cjs/_shims/fileFromPath.d.ts.map +0 -1
  580. package/dist/cjs/_shims/fileFromPath.js +0 -49
  581. package/dist/cjs/_shims/fileFromPath.js.map +0 -1
  582. package/dist/cjs/_shims/fileFromPath.node.d.ts +0 -18
  583. package/dist/cjs/_shims/fileFromPath.node.d.ts.map +0 -1
  584. package/dist/cjs/_shims/fileFromPath.node.js +0 -50
  585. package/dist/cjs/_shims/fileFromPath.node.js.map +0 -1
  586. package/dist/cjs/_shims/formdata.d.ts +0 -13
  587. package/dist/cjs/_shims/formdata.d.ts.map +0 -1
  588. package/dist/cjs/_shims/formdata.js +0 -20
  589. package/dist/cjs/_shims/formdata.js.map +0 -1
  590. package/dist/cjs/_shims/formdata.node.d.ts +0 -7
  591. package/dist/cjs/_shims/formdata.node.d.ts.map +0 -1
  592. package/dist/cjs/_shims/formdata.node.js +0 -27
  593. package/dist/cjs/_shims/formdata.node.js.map +0 -1
  594. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +0 -10
  595. package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  596. package/dist/cjs/_shims/getMultipartRequestOptions.js +0 -44
  597. package/dist/cjs/_shims/getMultipartRequestOptions.js.map +0 -1
  598. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +0 -10
  599. package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  600. package/dist/cjs/_shims/getMultipartRequestOptions.node.js +0 -52
  601. package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +0 -1
  602. package/dist/cjs/_shims/newFileArgs.d.ts +0 -19
  603. package/dist/cjs/_shims/newFileArgs.d.ts.map +0 -1
  604. package/dist/cjs/_shims/newFileArgs.js +0 -169
  605. package/dist/cjs/_shims/newFileArgs.js.map +0 -1
  606. package/dist/cjs/_shims/toFile.d.ts +0 -21
  607. package/dist/cjs/_shims/toFile.d.ts.map +0 -1
  608. package/dist/cjs/_shims/toFile.js +0 -56
  609. package/dist/cjs/_shims/toFile.js.map +0 -1
  610. package/dist/cjs/_shims/toFile.node.d.ts +0 -20
  611. package/dist/cjs/_shims/toFile.node.d.ts.map +0 -1
  612. package/dist/cjs/_shims/toFile.node.js +0 -56
  613. package/dist/cjs/_shims/toFile.node.js.map +0 -1
  614. package/dist/cjs/_shims/uploadable.d.ts +0 -56
  615. package/dist/cjs/_shims/uploadable.d.ts.map +0 -1
  616. package/dist/cjs/_shims/uploadable.js +0 -37
  617. package/dist/cjs/_shims/uploadable.js.map +0 -1
  618. package/dist/cjs/_shims/uploadable.node.d.ts +0 -7
  619. package/dist/cjs/_shims/uploadable.node.d.ts.map +0 -1
  620. package/dist/cjs/_shims/uploadable.node.js +0 -23
  621. package/dist/cjs/_shims/uploadable.node.js.map +0 -1
  622. package/dist/cjs/check-version.d.ts +0 -2
  623. package/dist/cjs/check-version.d.ts.map +0 -1
  624. package/dist/cjs/check-version.js +0 -23
  625. package/dist/cjs/check-version.js.map +0 -1
  626. package/dist/cjs/core.d.ts +0 -221
  627. package/dist/cjs/core.d.ts.map +0 -1
  628. package/dist/cjs/core.js +0 -825
  629. package/dist/cjs/core.js.map +0 -1
  630. package/dist/cjs/error.d.ts +0 -208
  631. package/dist/cjs/error.d.ts.map +0 -1
  632. package/dist/cjs/error.js +0 -326
  633. package/dist/cjs/error.js.map +0 -1
  634. package/dist/cjs/index.d.ts +0 -301
  635. package/dist/cjs/index.d.ts.map +0 -1
  636. package/dist/cjs/index.js +0 -281
  637. package/dist/cjs/index.js.map +0 -1
  638. package/dist/cjs/pagination.d.ts +0 -34
  639. package/dist/cjs/pagination.d.ts.map +0 -1
  640. package/dist/cjs/pagination.js +0 -30
  641. package/dist/cjs/pagination.js.map +0 -1
  642. package/dist/cjs/resource.d.ts +0 -12
  643. package/dist/cjs/resource.d.ts.map +0 -1
  644. package/dist/cjs/resource.js.map +0 -1
  645. package/dist/cjs/resources/account-numbers.d.ts +0 -137
  646. package/dist/cjs/resources/account-numbers.d.ts.map +0 -1
  647. package/dist/cjs/resources/account-numbers.js +0 -81
  648. package/dist/cjs/resources/account-numbers.js.map +0 -1
  649. package/dist/cjs/resources/account-statements.d.ts +0 -106
  650. package/dist/cjs/resources/account-statements.d.ts.map +0 -1
  651. package/dist/cjs/resources/account-statements.js +0 -69
  652. package/dist/cjs/resources/account-statements.js.map +0 -1
  653. package/dist/cjs/resources/account-transfers.d.ts +0 -205
  654. package/dist/cjs/resources/account-transfers.d.ts.map +0 -1
  655. package/dist/cjs/resources/account-transfers.js +0 -87
  656. package/dist/cjs/resources/account-transfers.js.map +0 -1
  657. package/dist/cjs/resources/accounts.d.ts +0 -163
  658. package/dist/cjs/resources/accounts.d.ts.map +0 -1
  659. package/dist/cjs/resources/accounts.js +0 -87
  660. package/dist/cjs/resources/accounts.js.map +0 -1
  661. package/dist/cjs/resources/ach-prenotifications.d.ts +0 -199
  662. package/dist/cjs/resources/ach-prenotifications.d.ts.map +0 -1
  663. package/dist/cjs/resources/ach-prenotifications.js +0 -79
  664. package/dist/cjs/resources/ach-prenotifications.js.map +0 -1
  665. package/dist/cjs/resources/ach-transfers.d.ts +0 -461
  666. package/dist/cjs/resources/ach-transfers.d.ts.map +0 -1
  667. package/dist/cjs/resources/ach-transfers.js +0 -87
  668. package/dist/cjs/resources/ach-transfers.js.map +0 -1
  669. package/dist/cjs/resources/balance-lookups.d.ts +0 -52
  670. package/dist/cjs/resources/balance-lookups.d.ts.map +0 -1
  671. package/dist/cjs/resources/balance-lookups.js +0 -16
  672. package/dist/cjs/resources/balance-lookups.js.map +0 -1
  673. package/dist/cjs/resources/bookkeeping-accounts.d.ts +0 -78
  674. package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +0 -1
  675. package/dist/cjs/resources/bookkeeping-accounts.js +0 -73
  676. package/dist/cjs/resources/bookkeeping-accounts.js.map +0 -1
  677. package/dist/cjs/resources/bookkeeping-entries.d.ts +0 -49
  678. package/dist/cjs/resources/bookkeeping-entries.d.ts.map +0 -1
  679. package/dist/cjs/resources/bookkeeping-entries.js +0 -63
  680. package/dist/cjs/resources/bookkeeping-entries.js.map +0 -1
  681. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +0 -88
  682. package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  683. package/dist/cjs/resources/bookkeeping-entry-sets.js +0 -18
  684. package/dist/cjs/resources/bookkeeping-entry-sets.js.map +0 -1
  685. package/dist/cjs/resources/card-disputes.d.ts +0 -160
  686. package/dist/cjs/resources/card-disputes.d.ts.map +0 -1
  687. package/dist/cjs/resources/card-disputes.js +0 -75
  688. package/dist/cjs/resources/card-disputes.js.map +0 -1
  689. package/dist/cjs/resources/card-profiles.d.ts +0 -206
  690. package/dist/cjs/resources/card-profiles.d.ts.map +0 -1
  691. package/dist/cjs/resources/card-profiles.js +0 -75
  692. package/dist/cjs/resources/card-profiles.js.map +0 -1
  693. package/dist/cjs/resources/cards.d.ts +0 -354
  694. package/dist/cjs/resources/cards.d.ts.map +0 -1
  695. package/dist/cjs/resources/cards.js +0 -87
  696. package/dist/cjs/resources/cards.js.map +0 -1
  697. package/dist/cjs/resources/check-deposits.d.ts +0 -263
  698. package/dist/cjs/resources/check-deposits.d.ts.map +0 -1
  699. package/dist/cjs/resources/check-deposits.js +0 -75
  700. package/dist/cjs/resources/check-deposits.js.map +0 -1
  701. package/dist/cjs/resources/check-transfers.d.ts +0 -438
  702. package/dist/cjs/resources/check-transfers.d.ts.map +0 -1
  703. package/dist/cjs/resources/check-transfers.js +0 -93
  704. package/dist/cjs/resources/check-transfers.js.map +0 -1
  705. package/dist/cjs/resources/declined-transactions.d.ts +0 -492
  706. package/dist/cjs/resources/declined-transactions.d.ts.map +0 -1
  707. package/dist/cjs/resources/declined-transactions.js +0 -73
  708. package/dist/cjs/resources/declined-transactions.js.map +0 -1
  709. package/dist/cjs/resources/digital-wallet-tokens.d.ts +0 -92
  710. package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +0 -1
  711. package/dist/cjs/resources/digital-wallet-tokens.js +0 -73
  712. package/dist/cjs/resources/digital-wallet-tokens.js.map +0 -1
  713. package/dist/cjs/resources/documents.d.ts +0 -95
  714. package/dist/cjs/resources/documents.d.ts.map +0 -1
  715. package/dist/cjs/resources/documents.js +0 -69
  716. package/dist/cjs/resources/documents.js.map +0 -1
  717. package/dist/cjs/resources/entities/entities.d.ts +0 -1622
  718. package/dist/cjs/resources/entities/entities.d.ts.map +0 -1
  719. package/dist/cjs/resources/entities/entities.js +0 -82
  720. package/dist/cjs/resources/entities/entities.js.map +0 -1
  721. package/dist/cjs/resources/entities/index.d.ts +0 -9
  722. package/dist/cjs/resources/entities/index.d.ts.map +0 -1
  723. package/dist/cjs/resources/entities/index.js +0 -35
  724. package/dist/cjs/resources/entities/index.js.map +0 -1
  725. package/dist/cjs/resources/entities/supplemental-documents.d.ts +0 -62
  726. package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +0 -1
  727. package/dist/cjs/resources/entities/supplemental-documents.js +0 -72
  728. package/dist/cjs/resources/entities/supplemental-documents.js.map +0 -1
  729. package/dist/cjs/resources/event-subscriptions.d.ts +0 -209
  730. package/dist/cjs/resources/event-subscriptions.d.ts.map +0 -1
  731. package/dist/cjs/resources/event-subscriptions.js +0 -81
  732. package/dist/cjs/resources/event-subscriptions.js.map +0 -1
  733. package/dist/cjs/resources/events.d.ts +0 -195
  734. package/dist/cjs/resources/events.d.ts.map +0 -1
  735. package/dist/cjs/resources/events.js +0 -69
  736. package/dist/cjs/resources/events.js.map +0 -1
  737. package/dist/cjs/resources/exports.d.ts +0 -169
  738. package/dist/cjs/resources/exports.d.ts.map +0 -1
  739. package/dist/cjs/resources/exports.js +0 -75
  740. package/dist/cjs/resources/exports.js.map +0 -1
  741. package/dist/cjs/resources/external-accounts.d.ts +0 -131
  742. package/dist/cjs/resources/external-accounts.d.ts.map +0 -1
  743. package/dist/cjs/resources/external-accounts.js +0 -81
  744. package/dist/cjs/resources/external-accounts.js.map +0 -1
  745. package/dist/cjs/resources/files.d.ts +0 -167
  746. package/dist/cjs/resources/files.d.ts.map +0 -1
  747. package/dist/cjs/resources/files.js +0 -114
  748. package/dist/cjs/resources/files.js.map +0 -1
  749. package/dist/cjs/resources/groups.d.ts +0 -42
  750. package/dist/cjs/resources/groups.d.ts.map +0 -1
  751. package/dist/cjs/resources/groups.js +0 -16
  752. package/dist/cjs/resources/groups.js.map +0 -1
  753. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +0 -117
  754. package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  755. package/dist/cjs/resources/inbound-ach-transfer-returns.js +0 -81
  756. package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +0 -1
  757. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  758. package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  759. package/dist/cjs/resources/inbound-wire-drawdown-requests.js +0 -76
  760. package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +0 -1
  761. package/dist/cjs/resources/index.d.ts +0 -192
  762. package/dist/cjs/resources/index.d.ts.map +0 -1
  763. package/dist/cjs/resources/index.js +0 -569
  764. package/dist/cjs/resources/index.js.map +0 -1
  765. package/dist/cjs/resources/limits.d.ts +0 -114
  766. package/dist/cjs/resources/limits.d.ts.map +0 -1
  767. package/dist/cjs/resources/limits.js +0 -81
  768. package/dist/cjs/resources/limits.js.map +0 -1
  769. package/dist/cjs/resources/oauth-connections.d.ts +0 -57
  770. package/dist/cjs/resources/oauth-connections.d.ts.map +0 -1
  771. package/dist/cjs/resources/oauth-connections.js +0 -69
  772. package/dist/cjs/resources/oauth-connections.js.map +0 -1
  773. package/dist/cjs/resources/pending-transactions.d.ts +0 -482
  774. package/dist/cjs/resources/pending-transactions.d.ts.map +0 -1
  775. package/dist/cjs/resources/pending-transactions.js +0 -73
  776. package/dist/cjs/resources/pending-transactions.js.map +0 -1
  777. package/dist/cjs/resources/programs.d.ts +0 -54
  778. package/dist/cjs/resources/programs.d.ts.map +0 -1
  779. package/dist/cjs/resources/programs.js +0 -69
  780. package/dist/cjs/resources/programs.js.map +0 -1
  781. package/dist/cjs/resources/real-time-decisions.d.ts +0 -330
  782. package/dist/cjs/resources/real-time-decisions.d.ts.map +0 -1
  783. package/dist/cjs/resources/real-time-decisions.js +0 -24
  784. package/dist/cjs/resources/real-time-decisions.js.map +0 -1
  785. package/dist/cjs/resources/real-time-payments-transfers.d.ts +0 -294
  786. package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +0 -1
  787. package/dist/cjs/resources/real-time-payments-transfers.js +0 -81
  788. package/dist/cjs/resources/real-time-payments-transfers.js.map +0 -1
  789. package/dist/cjs/resources/routing-numbers.d.ts +0 -56
  790. package/dist/cjs/resources/routing-numbers.d.ts.map +0 -1
  791. package/dist/cjs/resources/routing-numbers.js +0 -65
  792. package/dist/cjs/resources/routing-numbers.js.map +0 -1
  793. package/dist/cjs/resources/shared.d.ts +0 -16
  794. package/dist/cjs/resources/shared.d.ts.map +0 -1
  795. package/dist/cjs/resources/shared.js.map +0 -1
  796. package/dist/cjs/resources/simulations/account-statements.d.ts +0 -24
  797. package/dist/cjs/resources/simulations/account-statements.d.ts.map +0 -1
  798. package/dist/cjs/resources/simulations/account-statements.js +0 -19
  799. package/dist/cjs/resources/simulations/account-statements.js.map +0 -1
  800. package/dist/cjs/resources/simulations/account-transfers.d.ts +0 -16
  801. package/dist/cjs/resources/simulations/account-transfers.d.ts.map +0 -1
  802. package/dist/cjs/resources/simulations/account-transfers.js +0 -18
  803. package/dist/cjs/resources/simulations/account-transfers.js.map +0 -1
  804. package/dist/cjs/resources/simulations/ach-transfers.d.ts +0 -1836
  805. package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +0 -1
  806. package/dist/cjs/resources/simulations/ach-transfers.js +0 -40
  807. package/dist/cjs/resources/simulations/ach-transfers.js.map +0 -1
  808. package/dist/cjs/resources/simulations/card-disputes.d.ts +0 -31
  809. package/dist/cjs/resources/simulations/card-disputes.d.ts.map +0 -1
  810. package/dist/cjs/resources/simulations/card-disputes.js +0 -19
  811. package/dist/cjs/resources/simulations/card-disputes.js.map +0 -1
  812. package/dist/cjs/resources/simulations/card-refunds.d.ts +0 -25
  813. package/dist/cjs/resources/simulations/card-refunds.d.ts.map +0 -1
  814. package/dist/cjs/resources/simulations/card-refunds.js +0 -17
  815. package/dist/cjs/resources/simulations/card-refunds.js.map +0 -1
  816. package/dist/cjs/resources/simulations/cards.d.ts +0 -931
  817. package/dist/cjs/resources/simulations/cards.d.ts.map +0 -1
  818. package/dist/cjs/resources/simulations/cards.js +0 -32
  819. package/dist/cjs/resources/simulations/cards.js.map +0 -1
  820. package/dist/cjs/resources/simulations/check-deposits.d.ts +0 -31
  821. package/dist/cjs/resources/simulations/check-deposits.d.ts.map +0 -1
  822. package/dist/cjs/resources/simulations/check-deposits.js +0 -31
  823. package/dist/cjs/resources/simulations/check-deposits.js.map +0 -1
  824. package/dist/cjs/resources/simulations/check-transfers.d.ts +0 -42
  825. package/dist/cjs/resources/simulations/check-transfers.d.ts.map +0 -1
  826. package/dist/cjs/resources/simulations/check-transfers.js +0 -35
  827. package/dist/cjs/resources/simulations/check-transfers.js.map +0 -1
  828. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  829. package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  830. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +0 -20
  831. package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  832. package/dist/cjs/resources/simulations/documents.d.ts +0 -23
  833. package/dist/cjs/resources/simulations/documents.d.ts.map +0 -1
  834. package/dist/cjs/resources/simulations/documents.js +0 -16
  835. package/dist/cjs/resources/simulations/documents.js.map +0 -1
  836. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  837. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  838. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +0 -20
  839. package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  840. package/dist/cjs/resources/simulations/index.d.ts +0 -38
  841. package/dist/cjs/resources/simulations/index.d.ts.map +0 -1
  842. package/dist/cjs/resources/simulations/index.js +0 -133
  843. package/dist/cjs/resources/simulations/index.js.map +0 -1
  844. package/dist/cjs/resources/simulations/interest-payments.d.ts +0 -1272
  845. package/dist/cjs/resources/simulations/interest-payments.d.ts.map +0 -1
  846. package/dist/cjs/resources/simulations/interest-payments.js +0 -19
  847. package/dist/cjs/resources/simulations/interest-payments.js.map +0 -1
  848. package/dist/cjs/resources/simulations/programs.d.ts +0 -25
  849. package/dist/cjs/resources/simulations/programs.d.ts.map +0 -1
  850. package/dist/cjs/resources/simulations/programs.js +0 -18
  851. package/dist/cjs/resources/simulations/programs.js.map +0 -1
  852. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  853. package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  854. package/dist/cjs/resources/simulations/real-time-payments-transfers.js +0 -30
  855. package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +0 -1
  856. package/dist/cjs/resources/simulations/simulations.d.ts +0 -74
  857. package/dist/cjs/resources/simulations/simulations.d.ts.map +0 -1
  858. package/dist/cjs/resources/simulations/simulations.js +0 -106
  859. package/dist/cjs/resources/simulations/simulations.js.map +0 -1
  860. package/dist/cjs/resources/simulations/wire-transfers.d.ts +0 -1338
  861. package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +0 -1
  862. package/dist/cjs/resources/simulations/wire-transfers.js +0 -16
  863. package/dist/cjs/resources/simulations/wire-transfers.js.map +0 -1
  864. package/dist/cjs/resources/transactions.d.ts +0 -1326
  865. package/dist/cjs/resources/transactions.d.ts.map +0 -1
  866. package/dist/cjs/resources/transactions.js +0 -69
  867. package/dist/cjs/resources/transactions.js.map +0 -1
  868. package/dist/cjs/resources/wire-drawdown-requests.d.ts +0 -160
  869. package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +0 -1
  870. package/dist/cjs/resources/wire-drawdown-requests.js +0 -79
  871. package/dist/cjs/resources/wire-drawdown-requests.js.map +0 -1
  872. package/dist/cjs/resources/wire-transfers.d.ts +0 -352
  873. package/dist/cjs/resources/wire-transfers.d.ts.map +0 -1
  874. package/dist/cjs/resources/wire-transfers.js +0 -104
  875. package/dist/cjs/resources/wire-transfers.js.map +0 -1
  876. package/dist/cjs/streaming.d.ts +0 -12
  877. package/dist/cjs/streaming.d.ts.map +0 -1
  878. package/dist/cjs/streaming.js +0 -284
  879. package/dist/cjs/streaming.js.map +0 -1
  880. package/dist/cjs/uploads.d.ts +0 -24
  881. package/dist/cjs/uploads.d.ts.map +0 -1
  882. package/dist/cjs/uploads.js +0 -121
  883. package/dist/cjs/uploads.js.map +0 -1
  884. package/dist/cjs/version.d.ts +0 -2
  885. package/dist/cjs/version.d.ts.map +0 -1
  886. package/dist/cjs/version.js +0 -5
  887. package/dist/cjs/version.js.map +0 -1
  888. package/dist/esm/_shims/agent.d.ts +0 -9
  889. package/dist/esm/_shims/agent.d.ts.map +0 -1
  890. package/dist/esm/_shims/agent.js +0 -10
  891. package/dist/esm/_shims/agent.js.map +0 -1
  892. package/dist/esm/_shims/agent.node.d.ts +0 -6
  893. package/dist/esm/_shims/agent.node.d.ts.map +0 -1
  894. package/dist/esm/_shims/agent.node.js +0 -16
  895. package/dist/esm/_shims/agent.node.js.map +0 -1
  896. package/dist/esm/_shims/fetch.d.ts +0 -19
  897. package/dist/esm/_shims/fetch.d.ts.map +0 -1
  898. package/dist/esm/_shims/fetch.js +0 -18
  899. package/dist/esm/_shims/fetch.js.map +0 -1
  900. package/dist/esm/_shims/fetch.node.d.ts +0 -9
  901. package/dist/esm/_shims/fetch.node.d.ts.map +0 -1
  902. package/dist/esm/_shims/fetch.node.js +0 -7
  903. package/dist/esm/_shims/fetch.node.js.map +0 -1
  904. package/dist/esm/_shims/fileFromPath.d.ts +0 -23
  905. package/dist/esm/_shims/fileFromPath.d.ts.map +0 -1
  906. package/dist/esm/_shims/fileFromPath.js +0 -12
  907. package/dist/esm/_shims/fileFromPath.js.map +0 -1
  908. package/dist/esm/_shims/fileFromPath.node.d.ts +0 -18
  909. package/dist/esm/_shims/fileFromPath.node.d.ts.map +0 -1
  910. package/dist/esm/_shims/fileFromPath.node.js +0 -13
  911. package/dist/esm/_shims/fileFromPath.node.js.map +0 -1
  912. package/dist/esm/_shims/formdata.d.ts +0 -13
  913. package/dist/esm/_shims/formdata.d.ts.map +0 -1
  914. package/dist/esm/_shims/formdata.js +0 -15
  915. package/dist/esm/_shims/formdata.js.map +0 -1
  916. package/dist/esm/_shims/formdata.node.d.ts +0 -7
  917. package/dist/esm/_shims/formdata.node.d.ts.map +0 -1
  918. package/dist/esm/_shims/formdata.node.js +0 -7
  919. package/dist/esm/_shims/formdata.node.js.map +0 -1
  920. package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +0 -1
  921. package/dist/esm/_shims/getMultipartRequestOptions.js +0 -7
  922. package/dist/esm/_shims/getMultipartRequestOptions.js.map +0 -1
  923. package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
  924. package/dist/esm/_shims/getMultipartRequestOptions.node.js +0 -17
  925. package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +0 -1
  926. package/dist/esm/_shims/newFileArgs.d.ts +0 -19
  927. package/dist/esm/_shims/newFileArgs.d.ts.map +0 -1
  928. package/dist/esm/_shims/newFileArgs.js +0 -66
  929. package/dist/esm/_shims/newFileArgs.js.map +0 -1
  930. package/dist/esm/_shims/toFile.d.ts +0 -21
  931. package/dist/esm/_shims/toFile.d.ts.map +0 -1
  932. package/dist/esm/_shims/toFile.js +0 -19
  933. package/dist/esm/_shims/toFile.js.map +0 -1
  934. package/dist/esm/_shims/toFile.node.d.ts +0 -20
  935. package/dist/esm/_shims/toFile.node.d.ts.map +0 -1
  936. package/dist/esm/_shims/toFile.node.js +0 -19
  937. package/dist/esm/_shims/toFile.node.js.map +0 -1
  938. package/dist/esm/_shims/uploadable.d.ts +0 -56
  939. package/dist/esm/_shims/uploadable.d.ts.map +0 -1
  940. package/dist/esm/_shims/uploadable.js +0 -30
  941. package/dist/esm/_shims/uploadable.js.map +0 -1
  942. package/dist/esm/_shims/uploadable.node.d.ts +0 -7
  943. package/dist/esm/_shims/uploadable.node.d.ts.map +0 -1
  944. package/dist/esm/_shims/uploadable.node.js +0 -10
  945. package/dist/esm/_shims/uploadable.node.js.map +0 -1
  946. package/dist/esm/check-version.d.ts +0 -2
  947. package/dist/esm/check-version.d.ts.map +0 -1
  948. package/dist/esm/check-version.js +0 -16
  949. package/dist/esm/check-version.js.map +0 -1
  950. package/dist/esm/core.d.ts +0 -221
  951. package/dist/esm/core.d.ts.map +0 -1
  952. package/dist/esm/core.js +0 -556
  953. package/dist/esm/core.js.map +0 -1
  954. package/dist/esm/error.d.ts +0 -208
  955. package/dist/esm/error.d.ts.map +0 -1
  956. package/dist/esm/error.js +0 -275
  957. package/dist/esm/error.js.map +0 -1
  958. package/dist/esm/index.d.ts +0 -301
  959. package/dist/esm/index.d.ts.map +0 -1
  960. package/dist/esm/index.js +0 -213
  961. package/dist/esm/index.js.map +0 -1
  962. package/dist/esm/package.json +0 -3
  963. package/dist/esm/pagination.d.ts.map +0 -1
  964. package/dist/esm/pagination.js +0 -26
  965. package/dist/esm/pagination.js.map +0 -1
  966. package/dist/esm/resource.d.ts.map +0 -1
  967. package/dist/esm/resource.js +0 -13
  968. package/dist/esm/resource.js.map +0 -1
  969. package/dist/esm/resources/account-numbers.d.ts +0 -137
  970. package/dist/esm/resources/account-numbers.d.ts.map +0 -1
  971. package/dist/esm/resources/account-numbers.js +0 -36
  972. package/dist/esm/resources/account-numbers.js.map +0 -1
  973. package/dist/esm/resources/account-statements.d.ts +0 -106
  974. package/dist/esm/resources/account-statements.d.ts.map +0 -1
  975. package/dist/esm/resources/account-statements.js +0 -24
  976. package/dist/esm/resources/account-statements.js.map +0 -1
  977. package/dist/esm/resources/account-transfers.d.ts +0 -205
  978. package/dist/esm/resources/account-transfers.d.ts.map +0 -1
  979. package/dist/esm/resources/account-transfers.js +0 -42
  980. package/dist/esm/resources/account-transfers.js.map +0 -1
  981. package/dist/esm/resources/accounts.d.ts +0 -163
  982. package/dist/esm/resources/accounts.d.ts.map +0 -1
  983. package/dist/esm/resources/accounts.js +0 -42
  984. package/dist/esm/resources/accounts.js.map +0 -1
  985. package/dist/esm/resources/ach-prenotifications.d.ts +0 -199
  986. package/dist/esm/resources/ach-prenotifications.d.ts.map +0 -1
  987. package/dist/esm/resources/ach-prenotifications.js +0 -30
  988. package/dist/esm/resources/ach-prenotifications.js.map +0 -1
  989. package/dist/esm/resources/ach-transfers.d.ts +0 -461
  990. package/dist/esm/resources/ach-transfers.d.ts.map +0 -1
  991. package/dist/esm/resources/ach-transfers.js +0 -42
  992. package/dist/esm/resources/ach-transfers.js.map +0 -1
  993. package/dist/esm/resources/balance-lookups.d.ts +0 -52
  994. package/dist/esm/resources/balance-lookups.d.ts.map +0 -1
  995. package/dist/esm/resources/balance-lookups.js +0 -12
  996. package/dist/esm/resources/balance-lookups.js.map +0 -1
  997. package/dist/esm/resources/bookkeeping-accounts.d.ts +0 -78
  998. package/dist/esm/resources/bookkeeping-accounts.d.ts.map +0 -1
  999. package/dist/esm/resources/bookkeeping-accounts.js +0 -24
  1000. package/dist/esm/resources/bookkeeping-accounts.js.map +0 -1
  1001. package/dist/esm/resources/bookkeeping-entries.d.ts +0 -49
  1002. package/dist/esm/resources/bookkeeping-entries.d.ts.map +0 -1
  1003. package/dist/esm/resources/bookkeeping-entries.js +0 -18
  1004. package/dist/esm/resources/bookkeeping-entries.js.map +0 -1
  1005. package/dist/esm/resources/bookkeeping-entry-sets.d.ts +0 -88
  1006. package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +0 -1
  1007. package/dist/esm/resources/bookkeeping-entry-sets.js +0 -12
  1008. package/dist/esm/resources/bookkeeping-entry-sets.js.map +0 -1
  1009. package/dist/esm/resources/card-disputes.d.ts +0 -160
  1010. package/dist/esm/resources/card-disputes.d.ts.map +0 -1
  1011. package/dist/esm/resources/card-disputes.js +0 -30
  1012. package/dist/esm/resources/card-disputes.js.map +0 -1
  1013. package/dist/esm/resources/card-profiles.d.ts +0 -206
  1014. package/dist/esm/resources/card-profiles.d.ts.map +0 -1
  1015. package/dist/esm/resources/card-profiles.js +0 -30
  1016. package/dist/esm/resources/card-profiles.js.map +0 -1
  1017. package/dist/esm/resources/cards.d.ts +0 -354
  1018. package/dist/esm/resources/cards.d.ts.map +0 -1
  1019. package/dist/esm/resources/cards.js +0 -42
  1020. package/dist/esm/resources/cards.js.map +0 -1
  1021. package/dist/esm/resources/check-deposits.d.ts +0 -263
  1022. package/dist/esm/resources/check-deposits.d.ts.map +0 -1
  1023. package/dist/esm/resources/check-deposits.js +0 -30
  1024. package/dist/esm/resources/check-deposits.js.map +0 -1
  1025. package/dist/esm/resources/check-transfers.d.ts +0 -438
  1026. package/dist/esm/resources/check-transfers.d.ts.map +0 -1
  1027. package/dist/esm/resources/check-transfers.js +0 -48
  1028. package/dist/esm/resources/check-transfers.js.map +0 -1
  1029. package/dist/esm/resources/declined-transactions.d.ts +0 -492
  1030. package/dist/esm/resources/declined-transactions.d.ts.map +0 -1
  1031. package/dist/esm/resources/declined-transactions.js +0 -24
  1032. package/dist/esm/resources/declined-transactions.js.map +0 -1
  1033. package/dist/esm/resources/digital-wallet-tokens.d.ts +0 -92
  1034. package/dist/esm/resources/digital-wallet-tokens.d.ts.map +0 -1
  1035. package/dist/esm/resources/digital-wallet-tokens.js +0 -24
  1036. package/dist/esm/resources/digital-wallet-tokens.js.map +0 -1
  1037. package/dist/esm/resources/documents.d.ts +0 -95
  1038. package/dist/esm/resources/documents.d.ts.map +0 -1
  1039. package/dist/esm/resources/documents.js +0 -24
  1040. package/dist/esm/resources/documents.js.map +0 -1
  1041. package/dist/esm/resources/entities/entities.d.ts +0 -1622
  1042. package/dist/esm/resources/entities/entities.d.ts.map +0 -1
  1043. package/dist/esm/resources/entities/entities.js +0 -37
  1044. package/dist/esm/resources/entities/entities.js.map +0 -1
  1045. package/dist/esm/resources/entities/index.d.ts.map +0 -1
  1046. package/dist/esm/resources/entities/index.js +0 -4
  1047. package/dist/esm/resources/entities/index.js.map +0 -1
  1048. package/dist/esm/resources/entities/supplemental-documents.d.ts +0 -62
  1049. package/dist/esm/resources/entities/supplemental-documents.d.ts.map +0 -1
  1050. package/dist/esm/resources/entities/supplemental-documents.js +0 -26
  1051. package/dist/esm/resources/entities/supplemental-documents.js.map +0 -1
  1052. package/dist/esm/resources/event-subscriptions.d.ts +0 -209
  1053. package/dist/esm/resources/event-subscriptions.d.ts.map +0 -1
  1054. package/dist/esm/resources/event-subscriptions.js +0 -36
  1055. package/dist/esm/resources/event-subscriptions.js.map +0 -1
  1056. package/dist/esm/resources/events.d.ts +0 -195
  1057. package/dist/esm/resources/events.d.ts.map +0 -1
  1058. package/dist/esm/resources/events.js +0 -24
  1059. package/dist/esm/resources/events.js.map +0 -1
  1060. package/dist/esm/resources/exports.d.ts +0 -169
  1061. package/dist/esm/resources/exports.d.ts.map +0 -1
  1062. package/dist/esm/resources/exports.js +0 -30
  1063. package/dist/esm/resources/exports.js.map +0 -1
  1064. package/dist/esm/resources/external-accounts.d.ts +0 -131
  1065. package/dist/esm/resources/external-accounts.d.ts.map +0 -1
  1066. package/dist/esm/resources/external-accounts.js +0 -36
  1067. package/dist/esm/resources/external-accounts.js.map +0 -1
  1068. package/dist/esm/resources/files.d.ts +0 -167
  1069. package/dist/esm/resources/files.d.ts.map +0 -1
  1070. package/dist/esm/resources/files.js +0 -33
  1071. package/dist/esm/resources/files.js.map +0 -1
  1072. package/dist/esm/resources/groups.d.ts +0 -42
  1073. package/dist/esm/resources/groups.d.ts.map +0 -1
  1074. package/dist/esm/resources/groups.js +0 -12
  1075. package/dist/esm/resources/groups.js.map +0 -1
  1076. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +0 -117
  1077. package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  1078. package/dist/esm/resources/inbound-ach-transfer-returns.js +0 -33
  1079. package/dist/esm/resources/inbound-ach-transfer-returns.js.map +0 -1
  1080. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +0 -131
  1081. package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1082. package/dist/esm/resources/inbound-wire-drawdown-requests.js +0 -27
  1083. package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +0 -1
  1084. package/dist/esm/resources/index.d.ts +0 -199
  1085. package/dist/esm/resources/index.d.ts.map +0 -1
  1086. package/dist/esm/resources/index.js +0 -44
  1087. package/dist/esm/resources/index.js.map +0 -1
  1088. package/dist/esm/resources/limits.d.ts +0 -114
  1089. package/dist/esm/resources/limits.d.ts.map +0 -1
  1090. package/dist/esm/resources/limits.js +0 -36
  1091. package/dist/esm/resources/limits.js.map +0 -1
  1092. package/dist/esm/resources/oauth-connections.d.ts +0 -57
  1093. package/dist/esm/resources/oauth-connections.d.ts.map +0 -1
  1094. package/dist/esm/resources/oauth-connections.js +0 -24
  1095. package/dist/esm/resources/oauth-connections.js.map +0 -1
  1096. package/dist/esm/resources/pending-transactions.d.ts +0 -482
  1097. package/dist/esm/resources/pending-transactions.d.ts.map +0 -1
  1098. package/dist/esm/resources/pending-transactions.js +0 -24
  1099. package/dist/esm/resources/pending-transactions.js.map +0 -1
  1100. package/dist/esm/resources/programs.d.ts +0 -54
  1101. package/dist/esm/resources/programs.d.ts.map +0 -1
  1102. package/dist/esm/resources/programs.js +0 -24
  1103. package/dist/esm/resources/programs.js.map +0 -1
  1104. package/dist/esm/resources/real-time-decisions.d.ts +0 -330
  1105. package/dist/esm/resources/real-time-decisions.d.ts.map +0 -1
  1106. package/dist/esm/resources/real-time-decisions.js +0 -18
  1107. package/dist/esm/resources/real-time-decisions.js.map +0 -1
  1108. package/dist/esm/resources/real-time-payments-transfers.d.ts +0 -294
  1109. package/dist/esm/resources/real-time-payments-transfers.d.ts.map +0 -1
  1110. package/dist/esm/resources/real-time-payments-transfers.js +0 -33
  1111. package/dist/esm/resources/real-time-payments-transfers.js.map +0 -1
  1112. package/dist/esm/resources/routing-numbers.d.ts +0 -56
  1113. package/dist/esm/resources/routing-numbers.d.ts.map +0 -1
  1114. package/dist/esm/resources/routing-numbers.js +0 -20
  1115. package/dist/esm/resources/routing-numbers.js.map +0 -1
  1116. package/dist/esm/resources/shared.d.ts +0 -16
  1117. package/dist/esm/resources/shared.d.ts.map +0 -1
  1118. package/dist/esm/resources/shared.js +0 -3
  1119. package/dist/esm/resources/shared.js.map +0 -1
  1120. package/dist/esm/resources/simulations/account-statements.d.ts +0 -24
  1121. package/dist/esm/resources/simulations/account-statements.d.ts.map +0 -1
  1122. package/dist/esm/resources/simulations/account-statements.js +0 -13
  1123. package/dist/esm/resources/simulations/account-statements.js.map +0 -1
  1124. package/dist/esm/resources/simulations/account-transfers.d.ts +0 -16
  1125. package/dist/esm/resources/simulations/account-transfers.d.ts.map +0 -1
  1126. package/dist/esm/resources/simulations/account-transfers.js +0 -14
  1127. package/dist/esm/resources/simulations/account-transfers.js.map +0 -1
  1128. package/dist/esm/resources/simulations/ach-transfers.d.ts +0 -1836
  1129. package/dist/esm/resources/simulations/ach-transfers.d.ts.map +0 -1
  1130. package/dist/esm/resources/simulations/ach-transfers.js +0 -36
  1131. package/dist/esm/resources/simulations/ach-transfers.js.map +0 -1
  1132. package/dist/esm/resources/simulations/card-disputes.d.ts +0 -31
  1133. package/dist/esm/resources/simulations/card-disputes.d.ts.map +0 -1
  1134. package/dist/esm/resources/simulations/card-disputes.js +0 -15
  1135. package/dist/esm/resources/simulations/card-disputes.js.map +0 -1
  1136. package/dist/esm/resources/simulations/card-refunds.d.ts +0 -25
  1137. package/dist/esm/resources/simulations/card-refunds.d.ts.map +0 -1
  1138. package/dist/esm/resources/simulations/card-refunds.js +0 -13
  1139. package/dist/esm/resources/simulations/card-refunds.js.map +0 -1
  1140. package/dist/esm/resources/simulations/cards.d.ts +0 -931
  1141. package/dist/esm/resources/simulations/cards.d.ts.map +0 -1
  1142. package/dist/esm/resources/simulations/cards.js +0 -28
  1143. package/dist/esm/resources/simulations/cards.js.map +0 -1
  1144. package/dist/esm/resources/simulations/check-deposits.d.ts +0 -31
  1145. package/dist/esm/resources/simulations/check-deposits.d.ts.map +0 -1
  1146. package/dist/esm/resources/simulations/check-deposits.js +0 -27
  1147. package/dist/esm/resources/simulations/check-deposits.js.map +0 -1
  1148. package/dist/esm/resources/simulations/check-transfers.d.ts +0 -42
  1149. package/dist/esm/resources/simulations/check-transfers.d.ts.map +0 -1
  1150. package/dist/esm/resources/simulations/check-transfers.js +0 -28
  1151. package/dist/esm/resources/simulations/check-transfers.js.map +0 -1
  1152. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
  1153. package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
  1154. package/dist/esm/resources/simulations/digital-wallet-token-requests.js +0 -13
  1155. package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +0 -1
  1156. package/dist/esm/resources/simulations/documents.d.ts +0 -23
  1157. package/dist/esm/resources/simulations/documents.d.ts.map +0 -1
  1158. package/dist/esm/resources/simulations/documents.js +0 -12
  1159. package/dist/esm/resources/simulations/documents.js.map +0 -1
  1160. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
  1161. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
  1162. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +0 -15
  1163. package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
  1164. package/dist/esm/resources/simulations/index.d.ts +0 -38
  1165. package/dist/esm/resources/simulations/index.d.ts.map +0 -1
  1166. package/dist/esm/resources/simulations/index.js +0 -18
  1167. package/dist/esm/resources/simulations/index.js.map +0 -1
  1168. package/dist/esm/resources/simulations/interest-payments.d.ts +0 -1272
  1169. package/dist/esm/resources/simulations/interest-payments.d.ts.map +0 -1
  1170. package/dist/esm/resources/simulations/interest-payments.js +0 -13
  1171. package/dist/esm/resources/simulations/interest-payments.js.map +0 -1
  1172. package/dist/esm/resources/simulations/programs.d.ts +0 -25
  1173. package/dist/esm/resources/simulations/programs.d.ts.map +0 -1
  1174. package/dist/esm/resources/simulations/programs.js +0 -14
  1175. package/dist/esm/resources/simulations/programs.js.map +0 -1
  1176. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
  1177. package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
  1178. package/dist/esm/resources/simulations/real-time-payments-transfers.js +0 -24
  1179. package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +0 -1
  1180. package/dist/esm/resources/simulations/simulations.d.ts +0 -74
  1181. package/dist/esm/resources/simulations/simulations.d.ts.map +0 -1
  1182. package/dist/esm/resources/simulations/simulations.js +0 -56
  1183. package/dist/esm/resources/simulations/simulations.js.map +0 -1
  1184. package/dist/esm/resources/simulations/wire-transfers.d.ts +0 -1338
  1185. package/dist/esm/resources/simulations/wire-transfers.d.ts.map +0 -1
  1186. package/dist/esm/resources/simulations/wire-transfers.js +0 -12
  1187. package/dist/esm/resources/simulations/wire-transfers.js.map +0 -1
  1188. package/dist/esm/resources/transactions.d.ts +0 -1326
  1189. package/dist/esm/resources/transactions.d.ts.map +0 -1
  1190. package/dist/esm/resources/transactions.js +0 -24
  1191. package/dist/esm/resources/transactions.js.map +0 -1
  1192. package/dist/esm/resources/wire-drawdown-requests.d.ts +0 -160
  1193. package/dist/esm/resources/wire-drawdown-requests.d.ts.map +0 -1
  1194. package/dist/esm/resources/wire-drawdown-requests.js +0 -30
  1195. package/dist/esm/resources/wire-drawdown-requests.js.map +0 -1
  1196. package/dist/esm/resources/wire-transfers.d.ts +0 -352
  1197. package/dist/esm/resources/wire-transfers.d.ts.map +0 -1
  1198. package/dist/esm/resources/wire-transfers.js +0 -59
  1199. package/dist/esm/resources/wire-transfers.js.map +0 -1
  1200. package/dist/esm/streaming.d.ts +0 -12
  1201. package/dist/esm/streaming.d.ts.map +0 -1
  1202. package/dist/esm/streaming.js +0 -150
  1203. package/dist/esm/streaming.js.map +0 -1
  1204. package/dist/esm/uploads.d.ts +0 -24
  1205. package/dist/esm/uploads.d.ts.map +0 -1
  1206. package/dist/esm/uploads.js +0 -61
  1207. package/dist/esm/uploads.js.map +0 -1
  1208. package/dist/esm/version.d.ts +0 -2
  1209. package/dist/esm/version.d.ts.map +0 -1
  1210. package/dist/esm/version.js +0 -2
  1211. package/dist/esm/version.js.map +0 -1
  1212. package/error.ts +0 -505
  1213. package/index.ts +0 -388
  1214. package/resources/account-numbers.ts +0 -179
  1215. package/resources/account-statements.ts +0 -138
  1216. package/resources/account-transfers.ts +0 -260
  1217. package/resources/accounts.ts +0 -213
  1218. package/resources/ach-prenotifications.ts +0 -252
  1219. package/resources/ach-transfers.ts +0 -553
  1220. package/resources/balance-lookups.ts +0 -63
  1221. package/resources/bookkeeping-accounts.ts +0 -106
  1222. package/resources/bookkeeping-entries.ts +0 -69
  1223. package/resources/bookkeeping-entry-sets.ts +0 -106
  1224. package/resources/card-disputes.ts +0 -203
  1225. package/resources/card-profiles.ts +0 -258
  1226. package/resources/cards.ts +0 -435
  1227. package/resources/check-deposits.ts +0 -324
  1228. package/resources/check-transfers.ts +0 -541
  1229. package/resources/declined-transactions.ts +0 -623
  1230. package/resources/digital-wallet-tokens.ts +0 -121
  1231. package/resources/documents.ts +0 -126
  1232. package/resources/entities/entities.ts +0 -1913
  1233. package/resources/entities/supplemental-documents.ts +0 -79
  1234. package/resources/event-subscriptions.ts +0 -244
  1235. package/resources/events.ts +0 -226
  1236. package/resources/exports.ts +0 -212
  1237. package/resources/external-accounts.ts +0 -171
  1238. package/resources/files.ts +0 -205
  1239. package/resources/groups.ts +0 -52
  1240. package/resources/inbound-ach-transfer-returns.ts +0 -152
  1241. package/resources/inbound-wire-drawdown-requests.ts +0 -174
  1242. package/resources/index.ts +0 -193
  1243. package/resources/limits.ts +0 -152
  1244. package/resources/oauth-connections.ts +0 -80
  1245. package/resources/pending-transactions.ts +0 -576
  1246. package/resources/programs.ts +0 -77
  1247. package/resources/real-time-decisions.ts +0 -386
  1248. package/resources/real-time-payments-transfers.ts +0 -359
  1249. package/resources/routing-numbers.ts +0 -69
  1250. package/resources/shared.ts +0 -17
  1251. package/resources/simulations/account-statements.ts +0 -30
  1252. package/resources/simulations/account-transfers.ts +0 -20
  1253. package/resources/simulations/ach-transfers.ts +0 -2226
  1254. package/resources/simulations/card-disputes.ts +0 -38
  1255. package/resources/simulations/card-refunds.ts +0 -31
  1256. package/resources/simulations/cards.ts +0 -1123
  1257. package/resources/simulations/check-deposits.ts +0 -41
  1258. package/resources/simulations/check-transfers.ts +0 -54
  1259. package/resources/simulations/digital-wallet-token-requests.ts +0 -58
  1260. package/resources/simulations/documents.ts +0 -29
  1261. package/resources/simulations/inbound-wire-drawdown-requests.ts +0 -131
  1262. package/resources/simulations/index.ts +0 -39
  1263. package/resources/simulations/interest-payments.ts +0 -1542
  1264. package/resources/simulations/programs.ts +0 -31
  1265. package/resources/simulations/real-time-payments-transfers.ts +0 -2173
  1266. package/resources/simulations/simulations.ts +0 -91
  1267. package/resources/simulations/wire-transfers.ts +0 -1621
  1268. package/resources/transactions.ts +0 -1613
  1269. package/resources/wire-drawdown-requests.ts +0 -206
  1270. package/resources/wire-transfers.ts +0 -444
  1271. package/streaming.ts +0 -201
  1272. package/uploads.ts +0 -81
  1273. package/version.ts +0 -1
  1274. /package/{dist/cjs/_shims → _shims}/agent.js +0 -0
  1275. /package/{dist/cjs/_shims → _shims}/agent.node.js +0 -0
  1276. /package/_shims/{formdata.node.ts → formdata.node.mjs} +0 -0
  1277. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.d.ts +0 -0
  1278. /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.node.d.ts +0 -0
  1279. /package/{dist/esm/pagination.d.ts → pagination.d.ts} +0 -0
  1280. /package/{dist/esm/resource.d.ts → resource.d.ts} +0 -0
  1281. /package/{dist/cjs/resource.js → resource.js} +0 -0
  1282. /package/{dist/esm/resources → resources}/entities/index.d.ts +0 -0
  1283. /package/{dist/cjs/resources → resources}/shared.js +0 -0
  1284. /package/{pagination.ts → src/pagination.ts} +0 -0
  1285. /package/{resource.ts → src/resource.ts} +0 -0
  1286. /package/{resources → src/resources}/entities/index.ts +0 -0
@@ -0,0 +1,1378 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from '../../core';
4
+ import { APIResource } from '../../resource';
5
+ import * as Transactions from '../transactions';
6
+ import * as Shared from '../shared';
7
+ import * as API from '.';
8
+
9
+ export class Cards extends APIResource {
10
+ /**
11
+ * Simulates a purchase authorization on a [Card](#cards). Depending on the balance
12
+ * available to the card and the `amount` submitted, the authorization activity
13
+ * will result in a [Pending Transaction](#pending-transactions) of type
14
+ * `card_authorization` or a [Declined Transaction](#declined-transactions) of type
15
+ * `card_decline`. You can pass either a Card id or a
16
+ * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
17
+ * ways purchases can be made.
18
+ */
19
+ authorize(
20
+ body: CardAuthorizeParams,
21
+ options?: Core.RequestOptions,
22
+ ): Promise<Core.APIResponse<CardAuthorizationSimulation>> {
23
+ return this.post('/simulations/card_authorizations', { body, ...options });
24
+ }
25
+
26
+ /**
27
+ * Simulates the settlement of an authorization by a card acquirer. After a card
28
+ * authorization is created, the merchant will eventually send a settlement. This
29
+ * simulates that event, which may occur many days after the purchase in
30
+ * production. The amount settled can be different from the amount originally
31
+ * authorized, for example, when adding a tip to a restaurant bill.
32
+ */
33
+ settlement(
34
+ body: CardSettlementParams,
35
+ options?: Core.RequestOptions,
36
+ ): Promise<Core.APIResponse<Transactions.Transaction>> {
37
+ return this.post('/simulations/card_settlements', { body, ...options });
38
+ }
39
+ }
40
+
41
+ /**
42
+ * The results of a Card Authorization simulation.
43
+ */
44
+ export interface CardAuthorizationSimulation {
45
+ /**
46
+ * If the authorization attempt fails, this will contain the resulting
47
+ * [Declined Transaction](#declined-transactions) object. The Declined
48
+ * Transaction's `source` will be of `category: card_decline`.
49
+ */
50
+ declined_transaction: CardAuthorizationSimulation.DeclinedTransaction | null;
51
+
52
+ /**
53
+ * If the authorization attempt succeeds, this will contain the resulting Pending
54
+ * Transaction object. The Pending Transaction's `source` will be of
55
+ * `category: card_authorization`.
56
+ */
57
+ pending_transaction: CardAuthorizationSimulation.PendingTransaction | null;
58
+
59
+ /**
60
+ * A constant representing the object's type. For this resource it will always be
61
+ * `inbound_card_authorization_simulation_result`.
62
+ */
63
+ type: 'inbound_card_authorization_simulation_result';
64
+ }
65
+
66
+ export namespace CardAuthorizationSimulation {
67
+ /**
68
+ * If the authorization attempt fails, this will contain the resulting
69
+ * [Declined Transaction](#declined-transactions) object. The Declined
70
+ * Transaction's `source` will be of `category: card_decline`.
71
+ */
72
+ export interface DeclinedTransaction {
73
+ /**
74
+ * The Declined Transaction identifier.
75
+ */
76
+ id: string;
77
+
78
+ /**
79
+ * The identifier for the Account the Declined Transaction belongs to.
80
+ */
81
+ account_id: string;
82
+
83
+ /**
84
+ * The Declined Transaction amount in the minor unit of its currency. For dollars,
85
+ * for example, this is cents.
86
+ */
87
+ amount: number;
88
+
89
+ /**
90
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
91
+ * Transaction occured.
92
+ */
93
+ created_at: string;
94
+
95
+ /**
96
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
97
+ * Transaction's currency. This will match the currency on the Declined
98
+ * Transcation's Account.
99
+ *
100
+ * - `CAD` - Canadian Dollar (CAD)
101
+ * - `CHF` - Swiss Franc (CHF)
102
+ * - `EUR` - Euro (EUR)
103
+ * - `GBP` - British Pound (GBP)
104
+ * - `JPY` - Japanese Yen (JPY)
105
+ * - `USD` - US Dollar (USD)
106
+ */
107
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
108
+
109
+ /**
110
+ * This is the description the vendor provides.
111
+ */
112
+ description: string;
113
+
114
+ /**
115
+ * The identifier for the route this Declined Transaction came through. Routes are
116
+ * things like cards and ACH details.
117
+ */
118
+ route_id: string | null;
119
+
120
+ /**
121
+ * The type of the route this Declined Transaction came through.
122
+ *
123
+ * - `account_number` - An Account Number.
124
+ * - `card` - A Card.
125
+ */
126
+ route_type: 'account_number' | 'card' | null;
127
+
128
+ /**
129
+ * This is an object giving more details on the network-level event that caused the
130
+ * Declined Transaction. For example, for a card transaction this lists the
131
+ * merchant's industry and location. Note that for backwards compatibility reasons,
132
+ * additional undocumented keys may appear in this object. These should be treated
133
+ * as deprecated and will be removed in the future.
134
+ */
135
+ source: DeclinedTransaction.Source;
136
+
137
+ /**
138
+ * A constant representing the object's type. For this resource it will always be
139
+ * `declined_transaction`.
140
+ */
141
+ type: 'declined_transaction';
142
+ }
143
+
144
+ export namespace DeclinedTransaction {
145
+ /**
146
+ * This is an object giving more details on the network-level event that caused the
147
+ * Declined Transaction. For example, for a card transaction this lists the
148
+ * merchant's industry and location. Note that for backwards compatibility reasons,
149
+ * additional undocumented keys may appear in this object. These should be treated
150
+ * as deprecated and will be removed in the future.
151
+ */
152
+ export interface Source {
153
+ /**
154
+ * A ACH Decline object. This field will be present in the JSON response if and
155
+ * only if `category` is equal to `ach_decline`.
156
+ */
157
+ ach_decline: Source.ACHDecline | null;
158
+
159
+ /**
160
+ * A Card Decline object. This field will be present in the JSON response if and
161
+ * only if `category` is equal to `card_decline`.
162
+ */
163
+ card_decline: Source.CardDecline | null;
164
+
165
+ /**
166
+ * The type of decline that took place. We may add additional possible values for
167
+ * this enum over time; your application should be able to handle such additions
168
+ * gracefully.
169
+ *
170
+ * - `ach_decline` - The Declined Transaction was created by a ACH Decline object.
171
+ * Details will be under the `ach_decline` object.
172
+ * - `card_decline` - The Declined Transaction was created by a Card Decline
173
+ * object. Details will be under the `card_decline` object.
174
+ * - `check_decline` - The Declined Transaction was created by a Check Decline
175
+ * object. Details will be under the `check_decline` object.
176
+ * - `inbound_real_time_payments_transfer_decline` - The Declined Transaction was
177
+ * created by a Inbound Real Time Payments Transfer Decline object. Details will
178
+ * be under the `inbound_real_time_payments_transfer_decline` object.
179
+ * - `international_ach_decline` - The Declined Transaction was created by a
180
+ * International ACH Decline object. Details will be under the
181
+ * `international_ach_decline` object.
182
+ * - `wire_decline` - The Declined Transaction was created by a Wire Decline
183
+ * object. Details will be under the `wire_decline` object.
184
+ * - `other` - The Declined Transaction was made for an undocumented or deprecated
185
+ * reason.
186
+ */
187
+ category:
188
+ | 'ach_decline'
189
+ | 'card_decline'
190
+ | 'check_decline'
191
+ | 'inbound_real_time_payments_transfer_decline'
192
+ | 'international_ach_decline'
193
+ | 'wire_decline'
194
+ | 'other';
195
+
196
+ /**
197
+ * A Check Decline object. This field will be present in the JSON response if and
198
+ * only if `category` is equal to `check_decline`.
199
+ */
200
+ check_decline: Source.CheckDecline | null;
201
+
202
+ /**
203
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
204
+ * in the JSON response if and only if `category` is equal to
205
+ * `inbound_real_time_payments_transfer_decline`.
206
+ */
207
+ inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
208
+
209
+ /**
210
+ * A International ACH Decline object. This field will be present in the JSON
211
+ * response if and only if `category` is equal to `international_ach_decline`.
212
+ */
213
+ international_ach_decline: Source.InternationalACHDecline | null;
214
+
215
+ /**
216
+ * A Wire Decline object. This field will be present in the JSON response if and
217
+ * only if `category` is equal to `wire_decline`.
218
+ */
219
+ wire_decline: Source.WireDecline | null;
220
+ }
221
+
222
+ export namespace Source {
223
+ /**
224
+ * A ACH Decline object. This field will be present in the JSON response if and
225
+ * only if `category` is equal to `ach_decline`.
226
+ */
227
+ export interface ACHDecline {
228
+ /**
229
+ * The declined amount in the minor unit of the destination account currency. For
230
+ * dollars, for example, this is cents.
231
+ */
232
+ amount: number;
233
+
234
+ originator_company_descriptive_date: string | null;
235
+
236
+ originator_company_discretionary_data: string | null;
237
+
238
+ originator_company_id: string;
239
+
240
+ originator_company_name: string;
241
+
242
+ /**
243
+ * Why the ACH transfer was declined.
244
+ *
245
+ * - `ach_route_canceled` - The account number is canceled.
246
+ * - `ach_route_disabled` - The account number is disabled.
247
+ * - `breaches_limit` - The transaction would cause a limit to be exceeded.
248
+ * - `credit_entry_refused_by_receiver` - A credit was refused.
249
+ * - `duplicate_return` - Other.
250
+ * - `entity_not_active` - The account's entity is not active.
251
+ * - `group_locked` - Your account is inactive.
252
+ * - `insufficient_funds` - Your account contains insufficient funds.
253
+ * - `misrouted_return` - Other.
254
+ * - `no_ach_route` - The account number that was debited does not exist.
255
+ * - `originator_request` - Other.
256
+ * - `transaction_not_allowed` - The transaction is not allowed per Increase's
257
+ * terms.
258
+ */
259
+ reason:
260
+ | 'ach_route_canceled'
261
+ | 'ach_route_disabled'
262
+ | 'breaches_limit'
263
+ | 'credit_entry_refused_by_receiver'
264
+ | 'duplicate_return'
265
+ | 'entity_not_active'
266
+ | 'group_locked'
267
+ | 'insufficient_funds'
268
+ | 'misrouted_return'
269
+ | 'no_ach_route'
270
+ | 'originator_request'
271
+ | 'transaction_not_allowed';
272
+
273
+ receiver_id_number: string | null;
274
+
275
+ receiver_name: string | null;
276
+
277
+ trace_number: string;
278
+ }
279
+
280
+ /**
281
+ * A Card Decline object. This field will be present in the JSON response if and
282
+ * only if `category` is equal to `card_decline`.
283
+ */
284
+ export interface CardDecline {
285
+ /**
286
+ * The declined amount in the minor unit of the destination account currency. For
287
+ * dollars, for example, this is cents.
288
+ */
289
+ amount: number;
290
+
291
+ /**
292
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
293
+ * account currency.
294
+ *
295
+ * - `CAD` - Canadian Dollar (CAD)
296
+ * - `CHF` - Swiss Franc (CHF)
297
+ * - `EUR` - Euro (EUR)
298
+ * - `GBP` - British Pound (GBP)
299
+ * - `JPY` - Japanese Yen (JPY)
300
+ * - `USD` - US Dollar (USD)
301
+ */
302
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
303
+
304
+ /**
305
+ * If the authorization was attempted using a Digital Wallet Token (such as an
306
+ * Apple Pay purchase), the identifier of the token that was used.
307
+ */
308
+ digital_wallet_token_id: string | null;
309
+
310
+ /**
311
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
312
+ * is transacting with.
313
+ */
314
+ merchant_acceptor_id: string;
315
+
316
+ /**
317
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
318
+ * card is transacting with.
319
+ */
320
+ merchant_category_code: string | null;
321
+
322
+ /**
323
+ * The city the merchant resides in.
324
+ */
325
+ merchant_city: string | null;
326
+
327
+ /**
328
+ * The country the merchant resides in.
329
+ */
330
+ merchant_country: string | null;
331
+
332
+ /**
333
+ * The merchant descriptor of the merchant the card is transacting with.
334
+ */
335
+ merchant_descriptor: string;
336
+
337
+ /**
338
+ * The state the merchant resides in.
339
+ */
340
+ merchant_state: string | null;
341
+
342
+ /**
343
+ * The payment network used to process this card authorization
344
+ *
345
+ * - `visa` - Visa
346
+ */
347
+ network: 'visa';
348
+
349
+ /**
350
+ * Fields specific to the `network`
351
+ */
352
+ network_details: CardDecline.NetworkDetails;
353
+
354
+ /**
355
+ * The identifier of the Real-Time Decision sent to approve or decline this
356
+ * transaction.
357
+ */
358
+ real_time_decision_id: string | null;
359
+
360
+ /**
361
+ * Why the transaction was declined.
362
+ *
363
+ * - `card_not_active` - The Card was not active.
364
+ * - `entity_not_active` - The account's entity was not active.
365
+ * - `group_locked` - The account was inactive.
366
+ * - `insufficient_funds` - The Card's Account did not have a sufficient available
367
+ * balance.
368
+ * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
369
+ * - `transaction_not_allowed` - The attempted card transaction is not allowed per
370
+ * Increase's terms.
371
+ * - `breaches_internal_limit` - The transaction was blocked by an internal limit
372
+ * for new Increase accounts.
373
+ * - `breaches_limit` - The transaction was blocked by a Limit.
374
+ * - `webhook_declined` - Your application declined the transaction via webhook.
375
+ * - `webhook_timed_out` - Your application webhook did not respond without the
376
+ * required timeout.
377
+ * - `declined_by_stand_in_processing` - Declined by stand-in processing.
378
+ * - `invalid_physical_card` - The card read had an invalid CVV, dCVV, or
379
+ * authorization request cryptogram.
380
+ * - `missing_original_authorization` - The original card authorization for this
381
+ * incremental authorization does not exist.
382
+ */
383
+ reason:
384
+ | 'card_not_active'
385
+ | 'entity_not_active'
386
+ | 'group_locked'
387
+ | 'insufficient_funds'
388
+ | 'cvv2_mismatch'
389
+ | 'transaction_not_allowed'
390
+ | 'breaches_internal_limit'
391
+ | 'breaches_limit'
392
+ | 'webhook_declined'
393
+ | 'webhook_timed_out'
394
+ | 'declined_by_stand_in_processing'
395
+ | 'invalid_physical_card'
396
+ | 'missing_original_authorization';
397
+ }
398
+
399
+ export namespace CardDecline {
400
+ /**
401
+ * Fields specific to the `network`
402
+ */
403
+ export interface NetworkDetails {
404
+ /**
405
+ * Fields specific to the `visa` network
406
+ */
407
+ visa: NetworkDetails.Visa;
408
+ }
409
+
410
+ export namespace NetworkDetails {
411
+ /**
412
+ * Fields specific to the `visa` network
413
+ */
414
+ export interface Visa {
415
+ /**
416
+ * For electronic commerce transactions, this identifies the level of security used
417
+ * in obtaining the customer's payment credential. For mail or telephone order
418
+ * transactions, identifies the type of mail or telephone order.
419
+ *
420
+ * - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
421
+ * that the transaction is a mail/phone order purchase, not a recurring
422
+ * transaction or installment payment. For domestic transactions in the US
423
+ * region, this value may also indicate one bill payment transaction in the
424
+ * card-present or card-absent environments.
425
+ * - `recurring` - Recurring transaction: Payment indicator used to indicate a
426
+ * recurring transaction that originates from an acquirer in the US region.
427
+ * - `installment` - Installment payment: Payment indicator used to indicate one
428
+ * purchase of goods or services that is billed to the account in multiple
429
+ * charges over a period of time agreed upon by the cardholder and merchant from
430
+ * transactions that originate from an acquirer in the US region.
431
+ * - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
432
+ * indicate that the type of mail/telephone order is unknown.
433
+ * - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
434
+ * indicate that the electronic commerce transaction has been authenticated using
435
+ * e.g., 3-D Secure
436
+ * - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
437
+ * Non-authenticated security transaction at a 3-D Secure-capable merchant, and
438
+ * merchant attempted to authenticate the cardholder using 3-D Secure: Use to
439
+ * identify an electronic commerce transaction where the merchant attempted to
440
+ * authenticate the cardholder using 3-D Secure, but was unable to complete the
441
+ * authentication because the issuer or cardholder does not participate in the
442
+ * 3-D Secure program.
443
+ * - `non_authenticated_security_transaction` - Non-authenticated security
444
+ * transaction: Use to identify an electronic commerce transaction that uses data
445
+ * encryption for security however , cardholder authentication is not performed
446
+ * using 3-D Secure.
447
+ * - `non_secure_transaction` - Non-secure transaction: Use to identify an
448
+ * electronic commerce transaction that has no data protection.
449
+ */
450
+ electronic_commerce_indicator:
451
+ | 'mail_phone_order'
452
+ | 'recurring'
453
+ | 'installment'
454
+ | 'unknown_mail_phone_order'
455
+ | 'secure_electronic_commerce'
456
+ | 'non_authenticated_security_transaction_at_3ds_capable_merchant'
457
+ | 'non_authenticated_security_transaction'
458
+ | 'non_secure_transaction'
459
+ | null;
460
+
461
+ /**
462
+ * The method used to enter the cardholder's primary account number and card
463
+ * expiration date
464
+ */
465
+ point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
466
+ }
467
+ }
468
+ }
469
+
470
+ /**
471
+ * A Check Decline object. This field will be present in the JSON response if and
472
+ * only if `category` is equal to `check_decline`.
473
+ */
474
+ export interface CheckDecline {
475
+ /**
476
+ * The declined amount in the minor unit of the destination account currency. For
477
+ * dollars, for example, this is cents.
478
+ */
479
+ amount: number;
480
+
481
+ auxiliary_on_us: string | null;
482
+
483
+ /**
484
+ * Why the check was declined.
485
+ *
486
+ * - `ach_route_canceled` - The account number is canceled.
487
+ * - `ach_route_disabled` - The account number is disabled.
488
+ * - `breaches_limit` - The transaction would cause a limit to be exceeded.
489
+ * - `entity_not_active` - The account's entity is not active.
490
+ * - `group_locked` - Your account is inactive.
491
+ * - `insufficient_funds` - Your account contains insufficient funds.
492
+ * - `unable_to_locate_account` - Unable to locate account.
493
+ * - `not_our_item` - Routing number on the check is not ours.
494
+ * - `unable_to_process` - Unable to process.
495
+ * - `refer_to_image` - Refer to image.
496
+ * - `stop_payment_requested` - Stop payment requested for this check.
497
+ * - `returned` - Check was returned to sender.
498
+ * - `duplicate_presentment` - The check was a duplicate deposit.
499
+ * - `not_authorized` - The transaction is not allowed.
500
+ * - `altered_or_fictitious` - The check was altered or fictitious.
501
+ */
502
+ reason:
503
+ | 'ach_route_canceled'
504
+ | 'ach_route_disabled'
505
+ | 'breaches_limit'
506
+ | 'entity_not_active'
507
+ | 'group_locked'
508
+ | 'insufficient_funds'
509
+ | 'unable_to_locate_account'
510
+ | 'not_our_item'
511
+ | 'unable_to_process'
512
+ | 'refer_to_image'
513
+ | 'stop_payment_requested'
514
+ | 'returned'
515
+ | 'duplicate_presentment'
516
+ | 'not_authorized'
517
+ | 'altered_or_fictitious';
518
+ }
519
+
520
+ /**
521
+ * A Inbound Real Time Payments Transfer Decline object. This field will be present
522
+ * in the JSON response if and only if `category` is equal to
523
+ * `inbound_real_time_payments_transfer_decline`.
524
+ */
525
+ export interface InboundRealTimePaymentsTransferDecline {
526
+ /**
527
+ * The declined amount in the minor unit of the destination account currency. For
528
+ * dollars, for example, this is cents.
529
+ */
530
+ amount: number;
531
+
532
+ /**
533
+ * The name the sender of the transfer specified as the recipient of the transfer.
534
+ */
535
+ creditor_name: string;
536
+
537
+ /**
538
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
539
+ * transfer's currency. This will always be "USD" for a Real Time Payments
540
+ * transfer.
541
+ *
542
+ * - `CAD` - Canadian Dollar (CAD)
543
+ * - `CHF` - Swiss Franc (CHF)
544
+ * - `EUR` - Euro (EUR)
545
+ * - `GBP` - British Pound (GBP)
546
+ * - `JPY` - Japanese Yen (JPY)
547
+ * - `USD` - US Dollar (USD)
548
+ */
549
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
550
+
551
+ /**
552
+ * The account number of the account that sent the transfer.
553
+ */
554
+ debtor_account_number: string;
555
+
556
+ /**
557
+ * The name provided by the sender of the transfer.
558
+ */
559
+ debtor_name: string;
560
+
561
+ /**
562
+ * The routing number of the account that sent the transfer.
563
+ */
564
+ debtor_routing_number: string;
565
+
566
+ /**
567
+ * Why the transfer was declined.
568
+ *
569
+ * - `account_number_canceled` - The account number is canceled.
570
+ * - `account_number_disabled` - The account number is disabled.
571
+ * - `account_restricted` - Your account is restricted.
572
+ * - `group_locked` - Your account is inactive.
573
+ * - `entity_not_active` - The account's entity is not active.
574
+ * - `real_time_payments_not_enabled` - Your account is not enabled to receive Real
575
+ * Time Payments transfers.
576
+ */
577
+ reason:
578
+ | 'account_number_canceled'
579
+ | 'account_number_disabled'
580
+ | 'account_restricted'
581
+ | 'group_locked'
582
+ | 'entity_not_active'
583
+ | 'real_time_payments_not_enabled';
584
+
585
+ /**
586
+ * Additional information included with the transfer.
587
+ */
588
+ remittance_information: string | null;
589
+
590
+ /**
591
+ * The Real Time Payments network identification of the declined transfer.
592
+ */
593
+ transaction_identification: string;
594
+ }
595
+
596
+ /**
597
+ * A International ACH Decline object. This field will be present in the JSON
598
+ * response if and only if `category` is equal to `international_ach_decline`.
599
+ */
600
+ export interface InternationalACHDecline {
601
+ /**
602
+ * The declined amount in the minor unit of the destination account currency. For
603
+ * dollars, for example, this is cents.
604
+ */
605
+ amount: number;
606
+
607
+ destination_country_code: string;
608
+
609
+ destination_currency_code: string;
610
+
611
+ foreign_exchange_indicator: string;
612
+
613
+ foreign_exchange_reference: string | null;
614
+
615
+ foreign_exchange_reference_indicator: string;
616
+
617
+ foreign_payment_amount: number;
618
+
619
+ foreign_trace_number: string | null;
620
+
621
+ international_transaction_type_code: string;
622
+
623
+ originating_currency_code: string;
624
+
625
+ originating_depository_financial_institution_branch_country: string;
626
+
627
+ originating_depository_financial_institution_id: string;
628
+
629
+ originating_depository_financial_institution_id_qualifier: string;
630
+
631
+ originating_depository_financial_institution_name: string;
632
+
633
+ originator_city: string;
634
+
635
+ originator_company_entry_description: string;
636
+
637
+ originator_country: string;
638
+
639
+ originator_identification: string;
640
+
641
+ originator_name: string;
642
+
643
+ originator_postal_code: string | null;
644
+
645
+ originator_state_or_province: string | null;
646
+
647
+ originator_street_address: string;
648
+
649
+ payment_related_information: string | null;
650
+
651
+ payment_related_information2: string | null;
652
+
653
+ receiver_city: string;
654
+
655
+ receiver_country: string;
656
+
657
+ receiver_identification_number: string | null;
658
+
659
+ receiver_postal_code: string | null;
660
+
661
+ receiver_state_or_province: string | null;
662
+
663
+ receiver_street_address: string;
664
+
665
+ receiving_company_or_individual_name: string;
666
+
667
+ receiving_depository_financial_institution_country: string;
668
+
669
+ receiving_depository_financial_institution_id: string;
670
+
671
+ receiving_depository_financial_institution_id_qualifier: string;
672
+
673
+ receiving_depository_financial_institution_name: string;
674
+
675
+ trace_number: string;
676
+ }
677
+
678
+ /**
679
+ * A Wire Decline object. This field will be present in the JSON response if and
680
+ * only if `category` is equal to `wire_decline`.
681
+ */
682
+ export interface WireDecline {
683
+ /**
684
+ * The declined amount in the minor unit of the destination account currency. For
685
+ * dollars, for example, this is cents.
686
+ */
687
+ amount: number;
688
+
689
+ beneficiary_address_line1: string | null;
690
+
691
+ beneficiary_address_line2: string | null;
692
+
693
+ beneficiary_address_line3: string | null;
694
+
695
+ beneficiary_name: string | null;
696
+
697
+ beneficiary_reference: string | null;
698
+
699
+ description: string;
700
+
701
+ input_message_accountability_data: string | null;
702
+
703
+ originator_address_line1: string | null;
704
+
705
+ originator_address_line2: string | null;
706
+
707
+ originator_address_line3: string | null;
708
+
709
+ originator_name: string | null;
710
+
711
+ originator_to_beneficiary_information_line1: string | null;
712
+
713
+ originator_to_beneficiary_information_line2: string | null;
714
+
715
+ originator_to_beneficiary_information_line3: string | null;
716
+
717
+ originator_to_beneficiary_information_line4: string | null;
718
+
719
+ /**
720
+ * Why the wire transfer was declined.
721
+ *
722
+ * - `account_number_canceled` - The account number is canceled.
723
+ * - `account_number_disabled` - The account number is disabled.
724
+ * - `entity_not_active` - The account's entity is not active.
725
+ * - `group_locked` - Your account is inactive.
726
+ * - `no_account_number` - The beneficiary account number does not exist.
727
+ * - `transaction_not_allowed` - The transaction is not allowed per Increase's
728
+ * terms.
729
+ */
730
+ reason:
731
+ | 'account_number_canceled'
732
+ | 'account_number_disabled'
733
+ | 'entity_not_active'
734
+ | 'group_locked'
735
+ | 'no_account_number'
736
+ | 'transaction_not_allowed';
737
+ }
738
+ }
739
+ }
740
+
741
+ /**
742
+ * If the authorization attempt succeeds, this will contain the resulting Pending
743
+ * Transaction object. The Pending Transaction's `source` will be of
744
+ * `category: card_authorization`.
745
+ */
746
+ export interface PendingTransaction {
747
+ /**
748
+ * The Pending Transaction identifier.
749
+ */
750
+ id: string;
751
+
752
+ /**
753
+ * The identifier for the account this Pending Transaction belongs to.
754
+ */
755
+ account_id: string;
756
+
757
+ /**
758
+ * The Pending Transaction amount in the minor unit of its currency. For dollars,
759
+ * for example, this is cents.
760
+ */
761
+ amount: number;
762
+
763
+ /**
764
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
765
+ * Transaction was completed.
766
+ */
767
+ completed_at: string | null;
768
+
769
+ /**
770
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
771
+ * Transaction occured.
772
+ */
773
+ created_at: string;
774
+
775
+ /**
776
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
777
+ * Transaction's currency. This will match the currency on the Pending
778
+ * Transcation's Account.
779
+ *
780
+ * - `CAD` - Canadian Dollar (CAD)
781
+ * - `CHF` - Swiss Franc (CHF)
782
+ * - `EUR` - Euro (EUR)
783
+ * - `GBP` - British Pound (GBP)
784
+ * - `JPY` - Japanese Yen (JPY)
785
+ * - `USD` - US Dollar (USD)
786
+ */
787
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
788
+
789
+ /**
790
+ * For a Pending Transaction related to a transfer, this is the description you
791
+ * provide. For a Pending Transaction related to a payment, this is the description
792
+ * the vendor provides.
793
+ */
794
+ description: string;
795
+
796
+ /**
797
+ * The identifier for the route this Pending Transaction came through. Routes are
798
+ * things like cards and ACH details.
799
+ */
800
+ route_id: string | null;
801
+
802
+ /**
803
+ * The type of the route this Pending Transaction came through.
804
+ *
805
+ * - `account_number` - An Account Number.
806
+ * - `card` - A Card.
807
+ */
808
+ route_type: 'account_number' | 'card' | null;
809
+
810
+ /**
811
+ * This is an object giving more details on the network-level event that caused the
812
+ * Pending Transaction. For example, for a card transaction this lists the
813
+ * merchant's industry and location.
814
+ */
815
+ source: PendingTransaction.Source;
816
+
817
+ /**
818
+ * Whether the Pending Transaction has been confirmed and has an associated
819
+ * Transaction.
820
+ *
821
+ * - `pending` - The Pending Transaction is still awaiting confirmation.
822
+ * - `complete` - The Pending Transaction is confirmed. An associated Transaction
823
+ * exists for this object. The Pending Transaction will no longer count against
824
+ * your balance and can generally be hidden from UIs, etc.
825
+ */
826
+ status: 'pending' | 'complete';
827
+
828
+ /**
829
+ * A constant representing the object's type. For this resource it will always be
830
+ * `pending_transaction`.
831
+ */
832
+ type: 'pending_transaction';
833
+ }
834
+
835
+ export namespace PendingTransaction {
836
+ /**
837
+ * This is an object giving more details on the network-level event that caused the
838
+ * Pending Transaction. For example, for a card transaction this lists the
839
+ * merchant's industry and location.
840
+ */
841
+ export interface Source {
842
+ /**
843
+ * A Account Transfer Instruction object. This field will be present in the JSON
844
+ * response if and only if `category` is equal to `account_transfer_instruction`.
845
+ */
846
+ account_transfer_instruction: Source.AccountTransferInstruction | null;
847
+
848
+ /**
849
+ * A ACH Transfer Instruction object. This field will be present in the JSON
850
+ * response if and only if `category` is equal to `ach_transfer_instruction`.
851
+ */
852
+ ach_transfer_instruction: Source.ACHTransferInstruction | null;
853
+
854
+ /**
855
+ * A Card Authorization object. This field will be present in the JSON response if
856
+ * and only if `category` is equal to `card_authorization`.
857
+ */
858
+ card_authorization: Source.CardAuthorization | null;
859
+
860
+ /**
861
+ * The type of transaction that took place. We may add additional possible values
862
+ * for this enum over time; your application should be able to handle such
863
+ * additions gracefully.
864
+ *
865
+ * - `account_transfer_instruction` - The Pending Transaction was created by a
866
+ * Account Transfer Instruction object. Details will be under the
867
+ * `account_transfer_instruction` object.
868
+ * - `ach_transfer_instruction` - The Pending Transaction was created by a ACH
869
+ * Transfer Instruction object. Details will be under the
870
+ * `ach_transfer_instruction` object.
871
+ * - `card_authorization` - The Pending Transaction was created by a Card
872
+ * Authorization object. Details will be under the `card_authorization` object.
873
+ * - `check_deposit_instruction` - The Pending Transaction was created by a Check
874
+ * Deposit Instruction object. Details will be under the
875
+ * `check_deposit_instruction` object.
876
+ * - `check_transfer_instruction` - The Pending Transaction was created by a Check
877
+ * Transfer Instruction object. Details will be under the
878
+ * `check_transfer_instruction` object.
879
+ * - `inbound_funds_hold` - The Pending Transaction was created by a Inbound Funds
880
+ * Hold object. Details will be under the `inbound_funds_hold` object.
881
+ * - `real_time_payments_transfer_instruction` - The Pending Transaction was
882
+ * created by a Real Time Payments Transfer Instruction object. Details will be
883
+ * under the `real_time_payments_transfer_instruction` object.
884
+ * - `wire_transfer_instruction` - The Pending Transaction was created by a Wire
885
+ * Transfer Instruction object. Details will be under the
886
+ * `wire_transfer_instruction` object.
887
+ * - `other` - The Pending Transaction was made for an undocumented or deprecated
888
+ * reason.
889
+ */
890
+ category:
891
+ | 'account_transfer_instruction'
892
+ | 'ach_transfer_instruction'
893
+ | 'card_authorization'
894
+ | 'check_deposit_instruction'
895
+ | 'check_transfer_instruction'
896
+ | 'inbound_funds_hold'
897
+ | 'real_time_payments_transfer_instruction'
898
+ | 'wire_transfer_instruction'
899
+ | 'other';
900
+
901
+ /**
902
+ * A Check Deposit Instruction object. This field will be present in the JSON
903
+ * response if and only if `category` is equal to `check_deposit_instruction`.
904
+ */
905
+ check_deposit_instruction: Source.CheckDepositInstruction | null;
906
+
907
+ /**
908
+ * A Check Transfer Instruction object. This field will be present in the JSON
909
+ * response if and only if `category` is equal to `check_transfer_instruction`.
910
+ */
911
+ check_transfer_instruction: Source.CheckTransferInstruction | null;
912
+
913
+ /**
914
+ * A Inbound Funds Hold object. This field will be present in the JSON response if
915
+ * and only if `category` is equal to `inbound_funds_hold`.
916
+ */
917
+ inbound_funds_hold: Source.InboundFundsHold | null;
918
+
919
+ /**
920
+ * A Real Time Payments Transfer Instruction object. This field will be present in
921
+ * the JSON response if and only if `category` is equal to
922
+ * `real_time_payments_transfer_instruction`.
923
+ */
924
+ real_time_payments_transfer_instruction: Source.RealTimePaymentsTransferInstruction | null;
925
+
926
+ /**
927
+ * A Wire Transfer Instruction object. This field will be present in the JSON
928
+ * response if and only if `category` is equal to `wire_transfer_instruction`.
929
+ */
930
+ wire_transfer_instruction: Source.WireTransferInstruction | null;
931
+ }
932
+
933
+ export namespace Source {
934
+ /**
935
+ * A Account Transfer Instruction object. This field will be present in the JSON
936
+ * response if and only if `category` is equal to `account_transfer_instruction`.
937
+ */
938
+ export interface AccountTransferInstruction {
939
+ /**
940
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
941
+ * for example, this is cents.
942
+ */
943
+ amount: number;
944
+
945
+ /**
946
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
947
+ * account currency.
948
+ *
949
+ * - `CAD` - Canadian Dollar (CAD)
950
+ * - `CHF` - Swiss Franc (CHF)
951
+ * - `EUR` - Euro (EUR)
952
+ * - `GBP` - British Pound (GBP)
953
+ * - `JPY` - Japanese Yen (JPY)
954
+ * - `USD` - US Dollar (USD)
955
+ */
956
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
957
+
958
+ /**
959
+ * The identifier of the Account Transfer that led to this Pending Transaction.
960
+ */
961
+ transfer_id: string;
962
+ }
963
+
964
+ /**
965
+ * A ACH Transfer Instruction object. This field will be present in the JSON
966
+ * response if and only if `category` is equal to `ach_transfer_instruction`.
967
+ */
968
+ export interface ACHTransferInstruction {
969
+ /**
970
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
971
+ * for example, this is cents.
972
+ */
973
+ amount: number;
974
+
975
+ /**
976
+ * The identifier of the ACH Transfer that led to this Pending Transaction.
977
+ */
978
+ transfer_id: string;
979
+ }
980
+
981
+ /**
982
+ * A Card Authorization object. This field will be present in the JSON response if
983
+ * and only if `category` is equal to `card_authorization`.
984
+ */
985
+ export interface CardAuthorization {
986
+ /**
987
+ * The Card Authorization identifier.
988
+ */
989
+ id: string;
990
+
991
+ /**
992
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
993
+ * for example, this is cents.
994
+ */
995
+ amount: number;
996
+
997
+ /**
998
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
999
+ * transaction's currency.
1000
+ *
1001
+ * - `CAD` - Canadian Dollar (CAD)
1002
+ * - `CHF` - Swiss Franc (CHF)
1003
+ * - `EUR` - Euro (EUR)
1004
+ * - `GBP` - British Pound (GBP)
1005
+ * - `JPY` - Japanese Yen (JPY)
1006
+ * - `USD` - US Dollar (USD)
1007
+ */
1008
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1009
+
1010
+ /**
1011
+ * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
1012
+ * purchase), the identifier of the token that was used.
1013
+ */
1014
+ digital_wallet_token_id: string | null;
1015
+
1016
+ /**
1017
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
1018
+ * will expire and the pending transaction will be released.
1019
+ */
1020
+ expires_at: string;
1021
+
1022
+ /**
1023
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
1024
+ * is transacting with.
1025
+ */
1026
+ merchant_acceptor_id: string;
1027
+
1028
+ /**
1029
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
1030
+ * card is transacting with.
1031
+ */
1032
+ merchant_category_code: string | null;
1033
+
1034
+ /**
1035
+ * The city the merchant resides in.
1036
+ */
1037
+ merchant_city: string | null;
1038
+
1039
+ /**
1040
+ * The country the merchant resides in.
1041
+ */
1042
+ merchant_country: string | null;
1043
+
1044
+ /**
1045
+ * The merchant descriptor of the merchant the card is transacting with.
1046
+ */
1047
+ merchant_descriptor: string;
1048
+
1049
+ /**
1050
+ * The payment network used to process this card authorization
1051
+ *
1052
+ * - `visa` - Visa
1053
+ */
1054
+ network: 'visa';
1055
+
1056
+ /**
1057
+ * Fields specific to the `network`
1058
+ */
1059
+ network_details: CardAuthorization.NetworkDetails;
1060
+
1061
+ /**
1062
+ * The identifier of the Pending Transaction associated with this Transaction.
1063
+ */
1064
+ pending_transaction_id: string | null;
1065
+
1066
+ /**
1067
+ * The identifier of the Real-Time Decision sent to approve or decline this
1068
+ * transaction.
1069
+ */
1070
+ real_time_decision_id: string | null;
1071
+
1072
+ /**
1073
+ * A constant representing the object's type. For this resource it will always be
1074
+ * `card_authorization`.
1075
+ */
1076
+ type: 'card_authorization';
1077
+ }
1078
+
1079
+ export namespace CardAuthorization {
1080
+ /**
1081
+ * Fields specific to the `network`
1082
+ */
1083
+ export interface NetworkDetails {
1084
+ /**
1085
+ * Fields specific to the `visa` network
1086
+ */
1087
+ visa: NetworkDetails.Visa;
1088
+ }
1089
+
1090
+ export namespace NetworkDetails {
1091
+ /**
1092
+ * Fields specific to the `visa` network
1093
+ */
1094
+ export interface Visa {
1095
+ /**
1096
+ * For electronic commerce transactions, this identifies the level of security used
1097
+ * in obtaining the customer's payment credential. For mail or telephone order
1098
+ * transactions, identifies the type of mail or telephone order.
1099
+ *
1100
+ * - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
1101
+ * that the transaction is a mail/phone order purchase, not a recurring
1102
+ * transaction or installment payment. For domestic transactions in the US
1103
+ * region, this value may also indicate one bill payment transaction in the
1104
+ * card-present or card-absent environments.
1105
+ * - `recurring` - Recurring transaction: Payment indicator used to indicate a
1106
+ * recurring transaction that originates from an acquirer in the US region.
1107
+ * - `installment` - Installment payment: Payment indicator used to indicate one
1108
+ * purchase of goods or services that is billed to the account in multiple
1109
+ * charges over a period of time agreed upon by the cardholder and merchant from
1110
+ * transactions that originate from an acquirer in the US region.
1111
+ * - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
1112
+ * indicate that the type of mail/telephone order is unknown.
1113
+ * - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
1114
+ * indicate that the electronic commerce transaction has been authenticated using
1115
+ * e.g., 3-D Secure
1116
+ * - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
1117
+ * Non-authenticated security transaction at a 3-D Secure-capable merchant, and
1118
+ * merchant attempted to authenticate the cardholder using 3-D Secure: Use to
1119
+ * identify an electronic commerce transaction where the merchant attempted to
1120
+ * authenticate the cardholder using 3-D Secure, but was unable to complete the
1121
+ * authentication because the issuer or cardholder does not participate in the
1122
+ * 3-D Secure program.
1123
+ * - `non_authenticated_security_transaction` - Non-authenticated security
1124
+ * transaction: Use to identify an electronic commerce transaction that uses data
1125
+ * encryption for security however , cardholder authentication is not performed
1126
+ * using 3-D Secure.
1127
+ * - `non_secure_transaction` - Non-secure transaction: Use to identify an
1128
+ * electronic commerce transaction that has no data protection.
1129
+ */
1130
+ electronic_commerce_indicator:
1131
+ | 'mail_phone_order'
1132
+ | 'recurring'
1133
+ | 'installment'
1134
+ | 'unknown_mail_phone_order'
1135
+ | 'secure_electronic_commerce'
1136
+ | 'non_authenticated_security_transaction_at_3ds_capable_merchant'
1137
+ | 'non_authenticated_security_transaction'
1138
+ | 'non_secure_transaction'
1139
+ | null;
1140
+
1141
+ /**
1142
+ * The method used to enter the cardholder's primary account number and card
1143
+ * expiration date
1144
+ */
1145
+ point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
1146
+ }
1147
+ }
1148
+ }
1149
+
1150
+ /**
1151
+ * A Check Deposit Instruction object. This field will be present in the JSON
1152
+ * response if and only if `category` is equal to `check_deposit_instruction`.
1153
+ */
1154
+ export interface CheckDepositInstruction {
1155
+ /**
1156
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
1157
+ * for example, this is cents.
1158
+ */
1159
+ amount: number;
1160
+
1161
+ /**
1162
+ * The identifier of the File containing the image of the back of the check that
1163
+ * was deposited.
1164
+ */
1165
+ back_image_file_id: string | null;
1166
+
1167
+ /**
1168
+ * The identifier of the Check Deposit.
1169
+ */
1170
+ check_deposit_id: string | null;
1171
+
1172
+ /**
1173
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1174
+ * transaction's currency.
1175
+ *
1176
+ * - `CAD` - Canadian Dollar (CAD)
1177
+ * - `CHF` - Swiss Franc (CHF)
1178
+ * - `EUR` - Euro (EUR)
1179
+ * - `GBP` - British Pound (GBP)
1180
+ * - `JPY` - Japanese Yen (JPY)
1181
+ * - `USD` - US Dollar (USD)
1182
+ */
1183
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1184
+
1185
+ /**
1186
+ * The identifier of the File containing the image of the front of the check that
1187
+ * was deposited.
1188
+ */
1189
+ front_image_file_id: string;
1190
+ }
1191
+
1192
+ /**
1193
+ * A Check Transfer Instruction object. This field will be present in the JSON
1194
+ * response if and only if `category` is equal to `check_transfer_instruction`.
1195
+ */
1196
+ export interface CheckTransferInstruction {
1197
+ /**
1198
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
1199
+ * for example, this is cents.
1200
+ */
1201
+ amount: number;
1202
+
1203
+ /**
1204
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
1205
+ * currency.
1206
+ *
1207
+ * - `CAD` - Canadian Dollar (CAD)
1208
+ * - `CHF` - Swiss Franc (CHF)
1209
+ * - `EUR` - Euro (EUR)
1210
+ * - `GBP` - British Pound (GBP)
1211
+ * - `JPY` - Japanese Yen (JPY)
1212
+ * - `USD` - US Dollar (USD)
1213
+ */
1214
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1215
+
1216
+ /**
1217
+ * The identifier of the Check Transfer that led to this Pending Transaction.
1218
+ */
1219
+ transfer_id: string;
1220
+ }
1221
+
1222
+ /**
1223
+ * A Inbound Funds Hold object. This field will be present in the JSON response if
1224
+ * and only if `category` is equal to `inbound_funds_hold`.
1225
+ */
1226
+ export interface InboundFundsHold {
1227
+ /**
1228
+ * The held amount in the minor unit of the account's currency. For dollars, for
1229
+ * example, this is cents.
1230
+ */
1231
+ amount: number;
1232
+
1233
+ /**
1234
+ * When the hold will be released automatically. Certain conditions may cause it to
1235
+ * be released before this time.
1236
+ */
1237
+ automatically_releases_at: string;
1238
+
1239
+ /**
1240
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
1241
+ * was created.
1242
+ */
1243
+ created_at: string;
1244
+
1245
+ /**
1246
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
1247
+ * currency.
1248
+ *
1249
+ * - `CAD` - Canadian Dollar (CAD)
1250
+ * - `CHF` - Swiss Franc (CHF)
1251
+ * - `EUR` - Euro (EUR)
1252
+ * - `GBP` - British Pound (GBP)
1253
+ * - `JPY` - Japanese Yen (JPY)
1254
+ * - `USD` - US Dollar (USD)
1255
+ */
1256
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
1257
+
1258
+ /**
1259
+ * The ID of the Transaction for which funds were held.
1260
+ */
1261
+ held_transaction_id: string | null;
1262
+
1263
+ /**
1264
+ * The ID of the Pending Transaction representing the held funds.
1265
+ */
1266
+ pending_transaction_id: string | null;
1267
+
1268
+ /**
1269
+ * When the hold was released (if it has been released).
1270
+ */
1271
+ released_at: string | null;
1272
+
1273
+ /**
1274
+ * The status of the hold.
1275
+ *
1276
+ * - `held` - Funds are still being held.
1277
+ * - `complete` - Funds have been released.
1278
+ */
1279
+ status: 'held' | 'complete';
1280
+
1281
+ /**
1282
+ * A constant representing the object's type. For this resource it will always be
1283
+ * `inbound_funds_hold`.
1284
+ */
1285
+ type: 'inbound_funds_hold';
1286
+ }
1287
+
1288
+ /**
1289
+ * A Real Time Payments Transfer Instruction object. This field will be present in
1290
+ * the JSON response if and only if `category` is equal to
1291
+ * `real_time_payments_transfer_instruction`.
1292
+ */
1293
+ export interface RealTimePaymentsTransferInstruction {
1294
+ /**
1295
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
1296
+ * for example, this is cents.
1297
+ */
1298
+ amount: number;
1299
+
1300
+ /**
1301
+ * The identifier of the Real Time Payments Transfer that led to this Pending
1302
+ * Transaction.
1303
+ */
1304
+ transfer_id: string;
1305
+ }
1306
+
1307
+ /**
1308
+ * A Wire Transfer Instruction object. This field will be present in the JSON
1309
+ * response if and only if `category` is equal to `wire_transfer_instruction`.
1310
+ */
1311
+ export interface WireTransferInstruction {
1312
+ account_number: string;
1313
+
1314
+ /**
1315
+ * The pending amount in the minor unit of the transaction's currency. For dollars,
1316
+ * for example, this is cents.
1317
+ */
1318
+ amount: number;
1319
+
1320
+ message_to_recipient: string;
1321
+
1322
+ routing_number: string;
1323
+
1324
+ transfer_id: string;
1325
+ }
1326
+ }
1327
+ }
1328
+ }
1329
+
1330
+ export interface CardAuthorizeParams {
1331
+ /**
1332
+ * The authorization amount in cents.
1333
+ */
1334
+ amount: number;
1335
+
1336
+ /**
1337
+ * The identifier of the Card to be authorized.
1338
+ */
1339
+ card_id?: string;
1340
+
1341
+ /**
1342
+ * The identifier of the Digital Wallet Token to be authorized.
1343
+ */
1344
+ digital_wallet_token_id?: string;
1345
+
1346
+ /**
1347
+ * The identifier of the Event Subscription to use. If provided, will override the
1348
+ * default real time event subscription. Because you can only create one real time
1349
+ * decision event subscription, you can use this field to route events to any
1350
+ * specified event subscription for testing purposes.
1351
+ */
1352
+ event_subscription_id?: string;
1353
+ }
1354
+
1355
+ export interface CardSettlementParams {
1356
+ /**
1357
+ * The identifier of the Card to create a settlement on.
1358
+ */
1359
+ card_id: string;
1360
+
1361
+ /**
1362
+ * The identifier of the Pending Transaction for the Card Authorization you wish to
1363
+ * settle.
1364
+ */
1365
+ pending_transaction_id: string;
1366
+
1367
+ /**
1368
+ * The amount to be settled. This defaults to the amount of the Pending Transaction
1369
+ * being settled.
1370
+ */
1371
+ amount?: number;
1372
+ }
1373
+
1374
+ export namespace Cards {
1375
+ export import CardAuthorizationSimulation = API.CardAuthorizationSimulation;
1376
+ export import CardAuthorizeParams = API.CardAuthorizeParams;
1377
+ export import CardSettlementParams = API.CardSettlementParams;
1378
+ }