increase 0.54.0 → 0.57.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 (554) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +1 -1
  3. package/core.d.ts +4 -2
  4. package/core.d.ts.map +1 -1
  5. package/core.js +17 -4
  6. package/core.js.map +1 -1
  7. package/core.mjs +18 -5
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +22 -6
  10. package/index.d.ts +22 -6
  11. package/index.d.ts.map +1 -1
  12. package/index.js +13 -5
  13. package/index.js.map +1 -1
  14. package/index.mjs +13 -5
  15. package/index.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/account-numbers.d.ts +4 -4
  18. package/resources/account-numbers.d.ts.map +1 -1
  19. package/resources/account-numbers.js +4 -4
  20. package/resources/account-numbers.js.map +1 -1
  21. package/resources/account-numbers.mjs +4 -4
  22. package/resources/account-numbers.mjs.map +1 -1
  23. package/resources/account-statements.d.ts +4 -4
  24. package/resources/account-statements.d.ts.map +1 -1
  25. package/resources/account-statements.js +4 -4
  26. package/resources/account-statements.js.map +1 -1
  27. package/resources/account-statements.mjs +4 -4
  28. package/resources/account-statements.mjs.map +1 -1
  29. package/resources/account-transfers.d.ts +64 -4
  30. package/resources/account-transfers.d.ts.map +1 -1
  31. package/resources/account-transfers.js +4 -4
  32. package/resources/account-transfers.js.map +1 -1
  33. package/resources/account-transfers.mjs +4 -4
  34. package/resources/account-transfers.mjs.map +1 -1
  35. package/resources/accounts.d.ts +9 -4
  36. package/resources/accounts.d.ts.map +1 -1
  37. package/resources/accounts.js +4 -4
  38. package/resources/accounts.js.map +1 -1
  39. package/resources/accounts.mjs +4 -4
  40. package/resources/accounts.mjs.map +1 -1
  41. package/resources/ach-prenotifications.d.ts +4 -4
  42. package/resources/ach-prenotifications.d.ts.map +1 -1
  43. package/resources/ach-prenotifications.js +4 -4
  44. package/resources/ach-prenotifications.js.map +1 -1
  45. package/resources/ach-prenotifications.mjs +4 -4
  46. package/resources/ach-prenotifications.mjs.map +1 -1
  47. package/resources/ach-transfers.d.ts +151 -16
  48. package/resources/ach-transfers.d.ts.map +1 -1
  49. package/resources/ach-transfers.js +4 -4
  50. package/resources/ach-transfers.js.map +1 -1
  51. package/resources/ach-transfers.mjs +4 -4
  52. package/resources/ach-transfers.mjs.map +1 -1
  53. package/resources/bookkeeping-accounts.d.ts +4 -4
  54. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  55. package/resources/bookkeeping-accounts.js +4 -4
  56. package/resources/bookkeeping-accounts.js.map +1 -1
  57. package/resources/bookkeeping-accounts.mjs +4 -4
  58. package/resources/bookkeeping-accounts.mjs.map +1 -1
  59. package/resources/bookkeeping-entries.d.ts +4 -4
  60. package/resources/bookkeeping-entries.d.ts.map +1 -1
  61. package/resources/bookkeeping-entries.js +4 -4
  62. package/resources/bookkeeping-entries.js.map +1 -1
  63. package/resources/bookkeeping-entries.mjs +4 -4
  64. package/resources/bookkeeping-entries.mjs.map +1 -1
  65. package/resources/bookkeeping-entry-sets.d.ts +4 -4
  66. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  67. package/resources/bookkeeping-entry-sets.js +4 -4
  68. package/resources/bookkeeping-entry-sets.js.map +1 -1
  69. package/resources/bookkeeping-entry-sets.mjs +4 -4
  70. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  71. package/resources/card-disputes.d.ts +60 -7
  72. package/resources/card-disputes.d.ts.map +1 -1
  73. package/resources/card-disputes.js +4 -4
  74. package/resources/card-disputes.js.map +1 -1
  75. package/resources/card-disputes.mjs +4 -4
  76. package/resources/card-disputes.mjs.map +1 -1
  77. package/resources/card-payments.d.ts +54 -13
  78. package/resources/card-payments.d.ts.map +1 -1
  79. package/resources/card-payments.js +4 -4
  80. package/resources/card-payments.js.map +1 -1
  81. package/resources/card-payments.mjs +4 -4
  82. package/resources/card-payments.mjs.map +1 -1
  83. package/resources/card-purchase-supplements.d.ts +8 -4
  84. package/resources/card-purchase-supplements.d.ts.map +1 -1
  85. package/resources/card-purchase-supplements.js +4 -4
  86. package/resources/card-purchase-supplements.js.map +1 -1
  87. package/resources/card-purchase-supplements.mjs +4 -4
  88. package/resources/card-purchase-supplements.mjs.map +1 -1
  89. package/resources/cards.d.ts +4 -4
  90. package/resources/cards.d.ts.map +1 -1
  91. package/resources/cards.js +4 -4
  92. package/resources/cards.js.map +1 -1
  93. package/resources/cards.mjs +4 -4
  94. package/resources/cards.mjs.map +1 -1
  95. package/resources/check-deposits.d.ts +36 -19
  96. package/resources/check-deposits.d.ts.map +1 -1
  97. package/resources/check-deposits.js +4 -4
  98. package/resources/check-deposits.js.map +1 -1
  99. package/resources/check-deposits.mjs +4 -4
  100. package/resources/check-deposits.mjs.map +1 -1
  101. package/resources/check-transfers.d.ts +74 -4
  102. package/resources/check-transfers.d.ts.map +1 -1
  103. package/resources/check-transfers.js +4 -4
  104. package/resources/check-transfers.js.map +1 -1
  105. package/resources/check-transfers.mjs +4 -4
  106. package/resources/check-transfers.mjs.map +1 -1
  107. package/resources/declined-transactions.d.ts +84 -10
  108. package/resources/declined-transactions.d.ts.map +1 -1
  109. package/resources/declined-transactions.js +4 -4
  110. package/resources/declined-transactions.js.map +1 -1
  111. package/resources/declined-transactions.mjs +4 -4
  112. package/resources/declined-transactions.mjs.map +1 -1
  113. package/resources/digital-card-profiles.d.ts +4 -9
  114. package/resources/digital-card-profiles.d.ts.map +1 -1
  115. package/resources/digital-card-profiles.js +4 -4
  116. package/resources/digital-card-profiles.js.map +1 -1
  117. package/resources/digital-card-profiles.mjs +4 -4
  118. package/resources/digital-card-profiles.mjs.map +1 -1
  119. package/resources/digital-wallet-tokens.d.ts +4 -4
  120. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  121. package/resources/digital-wallet-tokens.js +4 -4
  122. package/resources/digital-wallet-tokens.js.map +1 -1
  123. package/resources/digital-wallet-tokens.mjs +4 -4
  124. package/resources/digital-wallet-tokens.mjs.map +1 -1
  125. package/resources/documents.d.ts +4 -4
  126. package/resources/documents.d.ts.map +1 -1
  127. package/resources/documents.js +4 -4
  128. package/resources/documents.js.map +1 -1
  129. package/resources/documents.mjs +4 -4
  130. package/resources/documents.mjs.map +1 -1
  131. package/resources/entities/beneficial-owners.d.ts +4 -4
  132. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  133. package/resources/entities/beneficial-owners.js +1 -1
  134. package/resources/entities/beneficial-owners.js.map +1 -1
  135. package/resources/entities/beneficial-owners.mjs +1 -1
  136. package/resources/entities/beneficial-owners.mjs.map +1 -1
  137. package/resources/entities/entities.d.ts +160 -10
  138. package/resources/entities/entities.d.ts.map +1 -1
  139. package/resources/entities/entities.js +7 -7
  140. package/resources/entities/entities.js.map +1 -1
  141. package/resources/entities/entities.mjs +7 -7
  142. package/resources/entities/entities.mjs.map +1 -1
  143. package/resources/entities/industry-code.d.ts +4 -4
  144. package/resources/entities/industry-code.d.ts.map +1 -1
  145. package/resources/entities/industry-code.js +1 -1
  146. package/resources/entities/industry-code.js.map +1 -1
  147. package/resources/entities/industry-code.mjs +1 -1
  148. package/resources/entities/industry-code.mjs.map +1 -1
  149. package/resources/entities/supplemental-documents.d.ts +5 -5
  150. package/resources/entities/supplemental-documents.d.ts.map +1 -1
  151. package/resources/entities/supplemental-documents.js +3 -3
  152. package/resources/entities/supplemental-documents.js.map +1 -1
  153. package/resources/entities/supplemental-documents.mjs +3 -3
  154. package/resources/entities/supplemental-documents.mjs.map +1 -1
  155. package/resources/event-subscriptions.d.ts +10 -6
  156. package/resources/event-subscriptions.d.ts.map +1 -1
  157. package/resources/event-subscriptions.js +4 -4
  158. package/resources/event-subscriptions.js.map +1 -1
  159. package/resources/event-subscriptions.mjs +4 -4
  160. package/resources/event-subscriptions.mjs.map +1 -1
  161. package/resources/events.d.ts +8 -6
  162. package/resources/events.d.ts.map +1 -1
  163. package/resources/events.js +4 -4
  164. package/resources/events.js.map +1 -1
  165. package/resources/events.mjs +4 -4
  166. package/resources/events.mjs.map +1 -1
  167. package/resources/exports.d.ts +15 -7
  168. package/resources/exports.d.ts.map +1 -1
  169. package/resources/exports.js +4 -4
  170. package/resources/exports.js.map +1 -1
  171. package/resources/exports.mjs +4 -4
  172. package/resources/exports.mjs.map +1 -1
  173. package/resources/external-accounts.d.ts +4 -4
  174. package/resources/external-accounts.d.ts.map +1 -1
  175. package/resources/external-accounts.js +4 -4
  176. package/resources/external-accounts.js.map +1 -1
  177. package/resources/external-accounts.mjs +4 -4
  178. package/resources/external-accounts.mjs.map +1 -1
  179. package/resources/files.d.ts +11 -8
  180. package/resources/files.d.ts.map +1 -1
  181. package/resources/files.js +6 -6
  182. package/resources/files.js.map +1 -1
  183. package/resources/files.mjs +6 -6
  184. package/resources/files.mjs.map +1 -1
  185. package/resources/groups.d.ts +3 -3
  186. package/resources/groups.d.ts.map +1 -1
  187. package/resources/groups.js +1 -1
  188. package/resources/groups.js.map +1 -1
  189. package/resources/groups.mjs +1 -1
  190. package/resources/groups.mjs.map +1 -1
  191. package/resources/inbound-ach-transfers.d.ts +26 -5
  192. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  193. package/resources/inbound-ach-transfers.js +4 -4
  194. package/resources/inbound-ach-transfers.js.map +1 -1
  195. package/resources/inbound-ach-transfers.mjs +4 -4
  196. package/resources/inbound-ach-transfers.mjs.map +1 -1
  197. package/resources/inbound-check-deposits.d.ts +4 -4
  198. package/resources/inbound-check-deposits.d.ts.map +1 -1
  199. package/resources/inbound-check-deposits.js +4 -4
  200. package/resources/inbound-check-deposits.js.map +1 -1
  201. package/resources/inbound-check-deposits.mjs +4 -4
  202. package/resources/inbound-check-deposits.mjs.map +1 -1
  203. package/resources/inbound-mail-items.d.ts +151 -0
  204. package/resources/inbound-mail-items.d.ts.map +1 -0
  205. package/resources/inbound-mail-items.js +53 -0
  206. package/resources/inbound-mail-items.js.map +1 -0
  207. package/resources/inbound-mail-items.mjs +25 -0
  208. package/resources/inbound-mail-items.mjs.map +1 -0
  209. package/resources/inbound-wire-drawdown-requests.d.ts +4 -4
  210. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  211. package/resources/inbound-wire-drawdown-requests.js +4 -4
  212. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  213. package/resources/inbound-wire-drawdown-requests.mjs +4 -4
  214. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  215. package/resources/inbound-wire-transfers.d.ts +4 -4
  216. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  217. package/resources/inbound-wire-transfers.js +4 -4
  218. package/resources/inbound-wire-transfers.js.map +1 -1
  219. package/resources/inbound-wire-transfers.mjs +4 -4
  220. package/resources/inbound-wire-transfers.mjs.map +1 -1
  221. package/resources/index.d.ts +2 -0
  222. package/resources/index.d.ts.map +1 -1
  223. package/resources/index.js +7 -1
  224. package/resources/index.js.map +1 -1
  225. package/resources/index.mjs +2 -0
  226. package/resources/index.mjs.map +1 -1
  227. package/resources/intrafi/account-enrollments.d.ts +4 -4
  228. package/resources/intrafi/account-enrollments.d.ts.map +1 -1
  229. package/resources/intrafi/account-enrollments.js +4 -4
  230. package/resources/intrafi/account-enrollments.js.map +1 -1
  231. package/resources/intrafi/account-enrollments.mjs +4 -4
  232. package/resources/intrafi/account-enrollments.mjs.map +1 -1
  233. package/resources/intrafi/balances.d.ts +11 -3
  234. package/resources/intrafi/balances.d.ts.map +1 -1
  235. package/resources/intrafi/balances.js +1 -1
  236. package/resources/intrafi/balances.js.map +1 -1
  237. package/resources/intrafi/balances.mjs +1 -1
  238. package/resources/intrafi/balances.mjs.map +1 -1
  239. package/resources/intrafi/exclusions.d.ts +4 -4
  240. package/resources/intrafi/exclusions.d.ts.map +1 -1
  241. package/resources/intrafi/exclusions.js +4 -4
  242. package/resources/intrafi/exclusions.js.map +1 -1
  243. package/resources/intrafi/exclusions.mjs +4 -4
  244. package/resources/intrafi/exclusions.mjs.map +1 -1
  245. package/resources/intrafi/intrafi.d.ts +4 -4
  246. package/resources/intrafi/intrafi.d.ts.map +1 -1
  247. package/resources/intrafi/intrafi.js +4 -4
  248. package/resources/intrafi/intrafi.js.map +1 -1
  249. package/resources/intrafi/intrafi.mjs +4 -4
  250. package/resources/intrafi/intrafi.mjs.map +1 -1
  251. package/resources/lockboxes.d.ts +186 -0
  252. package/resources/lockboxes.d.ts.map +1 -0
  253. package/resources/lockboxes.js +65 -0
  254. package/resources/lockboxes.js.map +1 -0
  255. package/resources/lockboxes.mjs +37 -0
  256. package/resources/lockboxes.mjs.map +1 -0
  257. package/resources/oauth-connections.d.ts +4 -4
  258. package/resources/oauth-connections.d.ts.map +1 -1
  259. package/resources/oauth-connections.js +4 -4
  260. package/resources/oauth-connections.js.map +1 -1
  261. package/resources/oauth-connections.mjs +4 -4
  262. package/resources/oauth-connections.mjs.map +1 -1
  263. package/resources/oauth-tokens.d.ts +3 -3
  264. package/resources/oauth-tokens.d.ts.map +1 -1
  265. package/resources/oauth-tokens.js +1 -1
  266. package/resources/oauth-tokens.js.map +1 -1
  267. package/resources/oauth-tokens.mjs +1 -1
  268. package/resources/oauth-tokens.mjs.map +1 -1
  269. package/resources/pending-transactions.d.ts +16 -6
  270. package/resources/pending-transactions.d.ts.map +1 -1
  271. package/resources/pending-transactions.js +4 -4
  272. package/resources/pending-transactions.js.map +1 -1
  273. package/resources/pending-transactions.mjs +4 -4
  274. package/resources/pending-transactions.mjs.map +1 -1
  275. package/resources/physical-card-profiles.d.ts +4 -4
  276. package/resources/physical-card-profiles.d.ts.map +1 -1
  277. package/resources/physical-card-profiles.js +4 -4
  278. package/resources/physical-card-profiles.js.map +1 -1
  279. package/resources/physical-card-profiles.mjs +4 -4
  280. package/resources/physical-card-profiles.mjs.map +1 -1
  281. package/resources/physical-cards.d.ts +4 -4
  282. package/resources/physical-cards.d.ts.map +1 -1
  283. package/resources/physical-cards.js +4 -4
  284. package/resources/physical-cards.js.map +1 -1
  285. package/resources/physical-cards.mjs +4 -4
  286. package/resources/physical-cards.mjs.map +1 -1
  287. package/resources/programs.d.ts +14 -4
  288. package/resources/programs.d.ts.map +1 -1
  289. package/resources/programs.js +4 -4
  290. package/resources/programs.js.map +1 -1
  291. package/resources/programs.mjs +4 -4
  292. package/resources/programs.mjs.map +1 -1
  293. package/resources/proof-of-authorization-request-submissions.d.ts +4 -4
  294. package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -1
  295. package/resources/proof-of-authorization-request-submissions.js +4 -4
  296. package/resources/proof-of-authorization-request-submissions.js.map +1 -1
  297. package/resources/proof-of-authorization-request-submissions.mjs +4 -4
  298. package/resources/proof-of-authorization-request-submissions.mjs.map +1 -1
  299. package/resources/proof-of-authorization-requests.d.ts +4 -4
  300. package/resources/proof-of-authorization-requests.d.ts.map +1 -1
  301. package/resources/proof-of-authorization-requests.js +4 -4
  302. package/resources/proof-of-authorization-requests.js.map +1 -1
  303. package/resources/proof-of-authorization-requests.mjs +4 -4
  304. package/resources/proof-of-authorization-requests.mjs.map +1 -1
  305. package/resources/real-time-decisions.d.ts +8 -3
  306. package/resources/real-time-decisions.d.ts.map +1 -1
  307. package/resources/real-time-decisions.js +1 -1
  308. package/resources/real-time-decisions.js.map +1 -1
  309. package/resources/real-time-decisions.mjs +1 -1
  310. package/resources/real-time-decisions.mjs.map +1 -1
  311. package/resources/real-time-payments-request-for-payments.d.ts +4 -4
  312. package/resources/real-time-payments-request-for-payments.d.ts.map +1 -1
  313. package/resources/real-time-payments-request-for-payments.js +4 -4
  314. package/resources/real-time-payments-request-for-payments.js.map +1 -1
  315. package/resources/real-time-payments-request-for-payments.mjs +4 -4
  316. package/resources/real-time-payments-request-for-payments.mjs.map +1 -1
  317. package/resources/real-time-payments-transfers.d.ts +78 -13
  318. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  319. package/resources/real-time-payments-transfers.js +4 -4
  320. package/resources/real-time-payments-transfers.js.map +1 -1
  321. package/resources/real-time-payments-transfers.mjs +4 -4
  322. package/resources/real-time-payments-transfers.mjs.map +1 -1
  323. package/resources/routing-numbers.d.ts +4 -4
  324. package/resources/routing-numbers.d.ts.map +1 -1
  325. package/resources/routing-numbers.js +3 -3
  326. package/resources/routing-numbers.js.map +1 -1
  327. package/resources/routing-numbers.mjs +3 -3
  328. package/resources/routing-numbers.mjs.map +1 -1
  329. package/resources/simulations/account-statements.d.ts +4 -4
  330. package/resources/simulations/account-statements.d.ts.map +1 -1
  331. package/resources/simulations/account-statements.js +1 -1
  332. package/resources/simulations/account-statements.js.map +1 -1
  333. package/resources/simulations/account-statements.mjs +1 -1
  334. package/resources/simulations/account-statements.mjs.map +1 -1
  335. package/resources/simulations/account-transfers.d.ts +3 -3
  336. package/resources/simulations/account-transfers.d.ts.map +1 -1
  337. package/resources/simulations/account-transfers.js +1 -1
  338. package/resources/simulations/account-transfers.js.map +1 -1
  339. package/resources/simulations/account-transfers.mjs +1 -1
  340. package/resources/simulations/account-transfers.mjs.map +1 -1
  341. package/resources/simulations/ach-transfers.d.ts +5 -5
  342. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  343. package/resources/simulations/ach-transfers.js +1 -1
  344. package/resources/simulations/ach-transfers.js.map +1 -1
  345. package/resources/simulations/ach-transfers.mjs +1 -1
  346. package/resources/simulations/ach-transfers.mjs.map +1 -1
  347. package/resources/simulations/card-disputes.d.ts +10 -6
  348. package/resources/simulations/card-disputes.d.ts.map +1 -1
  349. package/resources/simulations/card-disputes.js +1 -1
  350. package/resources/simulations/card-disputes.js.map +1 -1
  351. package/resources/simulations/card-disputes.mjs +1 -1
  352. package/resources/simulations/card-disputes.mjs.map +1 -1
  353. package/resources/simulations/card-refunds.d.ts +4 -4
  354. package/resources/simulations/card-refunds.d.ts.map +1 -1
  355. package/resources/simulations/card-refunds.js +1 -1
  356. package/resources/simulations/card-refunds.js.map +1 -1
  357. package/resources/simulations/card-refunds.mjs +1 -1
  358. package/resources/simulations/card-refunds.mjs.map +1 -1
  359. package/resources/simulations/cards.d.ts +95 -11
  360. package/resources/simulations/cards.d.ts.map +1 -1
  361. package/resources/simulations/cards.js +1 -1
  362. package/resources/simulations/cards.js.map +1 -1
  363. package/resources/simulations/cards.mjs +1 -1
  364. package/resources/simulations/cards.mjs.map +1 -1
  365. package/resources/simulations/check-deposits.d.ts +3 -3
  366. package/resources/simulations/check-deposits.d.ts.map +1 -1
  367. package/resources/simulations/check-deposits.js +1 -1
  368. package/resources/simulations/check-deposits.js.map +1 -1
  369. package/resources/simulations/check-deposits.mjs +1 -1
  370. package/resources/simulations/check-deposits.mjs.map +1 -1
  371. package/resources/simulations/check-transfers.d.ts +3 -3
  372. package/resources/simulations/check-transfers.d.ts.map +1 -1
  373. package/resources/simulations/check-transfers.js +1 -1
  374. package/resources/simulations/check-transfers.js.map +1 -1
  375. package/resources/simulations/check-transfers.mjs +1 -1
  376. package/resources/simulations/check-transfers.mjs.map +1 -1
  377. package/resources/simulations/digital-wallet-token-requests.d.ts +3 -3
  378. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  379. package/resources/simulations/digital-wallet-token-requests.js +1 -1
  380. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  381. package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
  382. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  383. package/resources/simulations/documents.d.ts +4 -4
  384. package/resources/simulations/documents.d.ts.map +1 -1
  385. package/resources/simulations/documents.js +1 -1
  386. package/resources/simulations/documents.js.map +1 -1
  387. package/resources/simulations/documents.mjs +1 -1
  388. package/resources/simulations/documents.mjs.map +1 -1
  389. package/resources/simulations/inbound-check-deposits.d.ts +4 -4
  390. package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
  391. package/resources/simulations/inbound-check-deposits.js +1 -1
  392. package/resources/simulations/inbound-check-deposits.js.map +1 -1
  393. package/resources/simulations/inbound-check-deposits.mjs +1 -1
  394. package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
  395. package/resources/simulations/inbound-funds-holds.d.ts +3 -3
  396. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
  397. package/resources/simulations/inbound-funds-holds.js +1 -1
  398. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  399. package/resources/simulations/inbound-funds-holds.mjs +1 -1
  400. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  401. package/resources/simulations/inbound-international-ach-transfers.d.ts +281 -0
  402. package/resources/simulations/inbound-international-ach-transfers.d.ts.map +1 -0
  403. package/resources/simulations/inbound-international-ach-transfers.js +21 -0
  404. package/resources/simulations/inbound-international-ach-transfers.js.map +1 -0
  405. package/resources/simulations/inbound-international-ach-transfers.mjs +17 -0
  406. package/resources/simulations/inbound-international-ach-transfers.mjs.map +1 -0
  407. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -4
  408. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  409. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  410. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  411. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  412. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  413. package/resources/simulations/index.d.ts +1 -0
  414. package/resources/simulations/index.d.ts.map +1 -1
  415. package/resources/simulations/index.js +3 -1
  416. package/resources/simulations/index.js.map +1 -1
  417. package/resources/simulations/index.mjs +1 -0
  418. package/resources/simulations/index.mjs.map +1 -1
  419. package/resources/simulations/interest-payments.d.ts +4 -4
  420. package/resources/simulations/interest-payments.d.ts.map +1 -1
  421. package/resources/simulations/interest-payments.js +1 -1
  422. package/resources/simulations/interest-payments.js.map +1 -1
  423. package/resources/simulations/interest-payments.mjs +1 -1
  424. package/resources/simulations/interest-payments.mjs.map +1 -1
  425. package/resources/simulations/physical-cards.d.ts +4 -4
  426. package/resources/simulations/physical-cards.d.ts.map +1 -1
  427. package/resources/simulations/physical-cards.js +1 -1
  428. package/resources/simulations/physical-cards.js.map +1 -1
  429. package/resources/simulations/physical-cards.mjs +1 -1
  430. package/resources/simulations/physical-cards.mjs.map +1 -1
  431. package/resources/simulations/programs.d.ts +4 -4
  432. package/resources/simulations/programs.d.ts.map +1 -1
  433. package/resources/simulations/programs.js +1 -1
  434. package/resources/simulations/programs.js.map +1 -1
  435. package/resources/simulations/programs.mjs +1 -1
  436. package/resources/simulations/programs.mjs.map +1 -1
  437. package/resources/simulations/real-time-payments-transfers.d.ts +143 -16
  438. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  439. package/resources/simulations/real-time-payments-transfers.js +1 -1
  440. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  441. package/resources/simulations/real-time-payments-transfers.mjs +1 -1
  442. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  443. package/resources/simulations/simulations.d.ts +27 -22
  444. package/resources/simulations/simulations.d.ts.map +1 -1
  445. package/resources/simulations/simulations.js +22 -19
  446. package/resources/simulations/simulations.js.map +1 -1
  447. package/resources/simulations/simulations.mjs +22 -19
  448. package/resources/simulations/simulations.mjs.map +1 -1
  449. package/resources/simulations/wire-transfers.d.ts +4 -4
  450. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  451. package/resources/simulations/wire-transfers.js +1 -1
  452. package/resources/simulations/wire-transfers.js.map +1 -1
  453. package/resources/simulations/wire-transfers.mjs +1 -1
  454. package/resources/simulations/wire-transfers.mjs.map +1 -1
  455. package/resources/transactions.d.ts +65 -12
  456. package/resources/transactions.d.ts.map +1 -1
  457. package/resources/transactions.js +4 -4
  458. package/resources/transactions.js.map +1 -1
  459. package/resources/transactions.mjs +4 -4
  460. package/resources/transactions.mjs.map +1 -1
  461. package/resources/wire-drawdown-requests.d.ts +4 -4
  462. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  463. package/resources/wire-drawdown-requests.js +4 -4
  464. package/resources/wire-drawdown-requests.js.map +1 -1
  465. package/resources/wire-drawdown-requests.mjs +4 -4
  466. package/resources/wire-drawdown-requests.mjs.map +1 -1
  467. package/resources/wire-transfers.d.ts +64 -4
  468. package/resources/wire-transfers.d.ts.map +1 -1
  469. package/resources/wire-transfers.js +4 -4
  470. package/resources/wire-transfers.js.map +1 -1
  471. package/resources/wire-transfers.mjs +4 -4
  472. package/resources/wire-transfers.mjs.map +1 -1
  473. package/src/core.ts +27 -8
  474. package/src/index.ts +25 -6
  475. package/src/resources/account-numbers.ts +5 -5
  476. package/src/resources/account-statements.ts +5 -5
  477. package/src/resources/account-transfers.ts +73 -5
  478. package/src/resources/accounts.ts +11 -5
  479. package/src/resources/ach-prenotifications.ts +5 -5
  480. package/src/resources/ach-transfers.ts +168 -18
  481. package/src/resources/bookkeeping-accounts.ts +5 -5
  482. package/src/resources/bookkeeping-entries.ts +5 -5
  483. package/src/resources/bookkeeping-entry-sets.ts +5 -5
  484. package/src/resources/card-disputes.ts +69 -8
  485. package/src/resources/card-payments.ts +64 -13
  486. package/src/resources/card-purchase-supplements.ts +10 -5
  487. package/src/resources/cards.ts +5 -5
  488. package/src/resources/check-deposits.ts +43 -21
  489. package/src/resources/check-transfers.ts +85 -5
  490. package/src/resources/declined-transactions.ts +104 -7
  491. package/src/resources/digital-card-profiles.ts +5 -11
  492. package/src/resources/digital-wallet-tokens.ts +5 -5
  493. package/src/resources/documents.ts +5 -5
  494. package/src/resources/entities/beneficial-owners.ts +4 -4
  495. package/src/resources/entities/entities.ts +188 -11
  496. package/src/resources/entities/industry-code.ts +4 -4
  497. package/src/resources/entities/supplemental-documents.ts +5 -5
  498. package/src/resources/event-subscriptions.ts +13 -5
  499. package/src/resources/events.ts +11 -5
  500. package/src/resources/exports.ts +19 -7
  501. package/src/resources/external-accounts.ts +5 -5
  502. package/src/resources/files.ts +15 -8
  503. package/src/resources/groups.ts +3 -3
  504. package/src/resources/inbound-ach-transfers.ts +43 -5
  505. package/src/resources/inbound-check-deposits.ts +5 -5
  506. package/src/resources/inbound-mail-items.ts +193 -0
  507. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  508. package/src/resources/inbound-wire-transfers.ts +5 -5
  509. package/src/resources/index.ts +16 -0
  510. package/src/resources/intrafi/account-enrollments.ts +5 -5
  511. package/src/resources/intrafi/balances.ts +13 -3
  512. package/src/resources/intrafi/exclusions.ts +5 -5
  513. package/src/resources/intrafi/intrafi.ts +4 -4
  514. package/src/resources/lockboxes.ts +238 -0
  515. package/src/resources/oauth-connections.ts +5 -5
  516. package/src/resources/oauth-tokens.ts +3 -3
  517. package/src/resources/pending-transactions.ts +19 -7
  518. package/src/resources/physical-card-profiles.ts +5 -5
  519. package/src/resources/physical-cards.ts +5 -5
  520. package/src/resources/programs.ts +17 -5
  521. package/src/resources/proof-of-authorization-request-submissions.ts +5 -5
  522. package/src/resources/proof-of-authorization-requests.ts +5 -5
  523. package/src/resources/real-time-decisions.ts +9 -3
  524. package/src/resources/real-time-payments-request-for-payments.ts +5 -5
  525. package/src/resources/real-time-payments-transfers.ts +87 -14
  526. package/src/resources/routing-numbers.ts +4 -4
  527. package/src/resources/simulations/account-statements.ts +4 -4
  528. package/src/resources/simulations/account-transfers.ts +3 -3
  529. package/src/resources/simulations/ach-transfers.ts +5 -5
  530. package/src/resources/simulations/card-disputes.ts +10 -6
  531. package/src/resources/simulations/card-refunds.ts +4 -4
  532. package/src/resources/simulations/cards.ts +116 -8
  533. package/src/resources/simulations/check-deposits.ts +3 -3
  534. package/src/resources/simulations/check-transfers.ts +3 -3
  535. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  536. package/src/resources/simulations/documents.ts +4 -4
  537. package/src/resources/simulations/inbound-check-deposits.ts +4 -4
  538. package/src/resources/simulations/inbound-funds-holds.ts +3 -3
  539. package/src/resources/simulations/inbound-international-ach-transfers.ts +362 -0
  540. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  541. package/src/resources/simulations/index.ts +5 -0
  542. package/src/resources/simulations/interest-payments.ts +4 -4
  543. package/src/resources/simulations/physical-cards.ts +4 -4
  544. package/src/resources/simulations/programs.ts +4 -4
  545. package/src/resources/simulations/real-time-payments-transfers.ts +171 -12
  546. package/src/resources/simulations/simulations.ts +28 -22
  547. package/src/resources/simulations/wire-transfers.ts +4 -4
  548. package/src/resources/transactions.ts +75 -11
  549. package/src/resources/wire-drawdown-requests.ts +5 -5
  550. package/src/resources/wire-transfers.ts +73 -5
  551. package/src/version.ts +1 -1
  552. package/version.d.ts +1 -1
  553. package/version.js +1 -1
  554. package/version.mjs +1 -1
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as PhysicalCardsAPI from "./physical-cards";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as PhysicalCardsAPI from './physical-cards';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class PhysicalCards extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as ProgramsAPI from "./programs";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as ProgramsAPI from './programs';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class Programs extends APIResource {
10
10
  /**
@@ -55,6 +55,18 @@ export interface Program {
55
55
  */
56
56
  created_at: string;
57
57
 
58
+ /**
59
+ * The default configuration for digital cards attached to this Program.
60
+ */
61
+ default_digital_card_profile_id: string | null;
62
+
63
+ /**
64
+ * The Interest Rate currently being earned on the accounts in this program, as a
65
+ * string containing a decimal number. For example, a 1% interest rate would be
66
+ * represented as "0.01".
67
+ */
68
+ interest_rate: string;
69
+
58
70
  /**
59
71
  * The name of the Program.
60
72
  */
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as ProofOfAuthorizationRequestSubmissionsAPI from "./proof-of-authorization-request-submissions";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as ProofOfAuthorizationRequestSubmissionsAPI from './proof-of-authorization-request-submissions';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class ProofOfAuthorizationRequestSubmissions extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as ProofOfAuthorizationRequestsAPI from "./proof-of-authorization-requests";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as ProofOfAuthorizationRequestsAPI from './proof-of-authorization-requests';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class ProofOfAuthorizationRequests extends APIResource {
10
10
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import * as RealTimeDecisionsAPI from "./real-time-decisions";
3
+ import { APIResource } from '../resource';
4
+ import * as Core from '../core';
5
+ import * as RealTimeDecisionsAPI from './real-time-decisions';
6
6
 
7
7
  export class RealTimeDecisions extends APIResource {
8
8
  /**
@@ -226,6 +226,12 @@ export namespace RealTimeDecision {
226
226
  */
227
227
  settlement_currency: string;
228
228
 
229
+ /**
230
+ * The identifier of the Card Payment this authorization will belong to. Available
231
+ * in the API once the card authorization has completed.
232
+ */
233
+ upcoming_card_payment_id: string;
234
+
229
235
  /**
230
236
  * Fields related to verification of cardholder-provided values.
231
237
  */
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as RealTimePaymentsRequestForPaymentsAPI from "./real-time-payments-request-for-payments";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as RealTimePaymentsRequestForPaymentsAPI from './real-time-payments-request-for-payments';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class RealTimePaymentsRequestForPayments extends APIResource {
10
10
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import { isRequestOptions } from "../core";
6
- import * as RealTimePaymentsTransfersAPI from "./real-time-payments-transfers";
7
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as RealTimePaymentsTransfersAPI from './real-time-payments-transfers';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class RealTimePaymentsTransfers extends APIResource {
10
10
  /**
@@ -92,7 +92,13 @@ export interface RealTimePaymentsTransfer {
92
92
  created_at: string;
93
93
 
94
94
  /**
95
- * The name of the transfer's recipient as provided by the sender.
95
+ * What object created the transfer, either via the API or the dashboard.
96
+ */
97
+ created_by: RealTimePaymentsTransfer.CreatedBy | null;
98
+
99
+ /**
100
+ * The name of the transfer's recipient. This is set by the sender when creating
101
+ * the transfer.
96
102
  */
97
103
  creditor_name: string;
98
104
 
@@ -110,8 +116,8 @@ export interface RealTimePaymentsTransfer {
110
116
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
111
117
 
112
118
  /**
113
- * The name of the transfer's sender. If not provided, the account's entity name
114
- * will be used.
119
+ * The name of the transfer's sender. If not provided, defaults to the name of the
120
+ * account's entity.
115
121
  */
116
122
  debtor_name: string | null;
117
123
 
@@ -205,12 +211,14 @@ export interface RealTimePaymentsTransfer {
205
211
  type: 'real_time_payments_transfer';
206
212
 
207
213
  /**
208
- * The name of the party on whose behalf the creditor is receiving the payment.
214
+ * The name of the ultimate recipient of the transfer. Set this if the creditor is
215
+ * an intermediary receiving the payment for someone else.
209
216
  */
210
217
  ultimate_creditor_name: string | null;
211
218
 
212
219
  /**
213
- * The name of the the party on whose behalf the debtor is instructing the payment.
220
+ * The name of the ultimate sender of the transfer. Set this if the funds are being
221
+ * sent on behalf of someone who is not the account holder at Increase.
214
222
  */
215
223
  ultimate_debtor_name: string | null;
216
224
  }
@@ -252,6 +260,69 @@ export namespace RealTimePaymentsTransfer {
252
260
  canceled_by: string | null;
253
261
  }
254
262
 
263
+ /**
264
+ * What object created the transfer, either via the API or the dashboard.
265
+ */
266
+ export interface CreatedBy {
267
+ /**
268
+ * If present, details about the API key that created the transfer.
269
+ */
270
+ api_key: CreatedBy.APIKey | null;
271
+
272
+ /**
273
+ * The type of object that created this transfer.
274
+ *
275
+ * - `api_key` - An API key. Details will be under the `api_key` object.
276
+ * - `oauth_application` - An OAuth application you connected to Increase. Details
277
+ * will be under the `oauth_application` object.
278
+ * - `user` - A User in the Increase dashboard. Details will be under the `user`
279
+ * object.
280
+ */
281
+ category: 'api_key' | 'oauth_application' | 'user';
282
+
283
+ /**
284
+ * If present, details about the OAuth Application that created the transfer.
285
+ */
286
+ oauth_application: CreatedBy.OAuthApplication | null;
287
+
288
+ /**
289
+ * If present, details about the User that created the transfer.
290
+ */
291
+ user: CreatedBy.User | null;
292
+ }
293
+
294
+ export namespace CreatedBy {
295
+ /**
296
+ * If present, details about the API key that created the transfer.
297
+ */
298
+ export interface APIKey {
299
+ /**
300
+ * The description set for the API key when it was created.
301
+ */
302
+ description: string | null;
303
+ }
304
+
305
+ /**
306
+ * If present, details about the OAuth Application that created the transfer.
307
+ */
308
+ export interface OAuthApplication {
309
+ /**
310
+ * The name of the OAuth Application.
311
+ */
312
+ name: string;
313
+ }
314
+
315
+ /**
316
+ * If present, details about the User that created the transfer.
317
+ */
318
+ export interface User {
319
+ /**
320
+ * The email address of the User.
321
+ */
322
+ email: string;
323
+ }
324
+ }
325
+
255
326
  /**
256
327
  * If the transfer is rejected by Real-Time Payments or the destination financial
257
328
  * institution, this will contain supplemental details.
@@ -387,8 +458,8 @@ export interface RealTimePaymentsTransferCreateParams {
387
458
  source_account_number_id: string;
388
459
 
389
460
  /**
390
- * The name of the transfer's sender. If not provided, the account's entity name
391
- * will be used.
461
+ * The name of the transfer's sender. If not provided, defaults to the name of the
462
+ * account's entity.
392
463
  */
393
464
  debtor_name?: string;
394
465
 
@@ -416,12 +487,14 @@ export interface RealTimePaymentsTransferCreateParams {
416
487
  require_approval?: boolean;
417
488
 
418
489
  /**
419
- * The name of the party on whose behalf the creditor is receiving the payment.
490
+ * The name of the ultimate recipient of the transfer. Set this if the creditor is
491
+ * an intermediary receiving the payment for someone else.
420
492
  */
421
493
  ultimate_creditor_name?: string;
422
494
 
423
495
  /**
424
- * The name of the the party on whose behalf the debtor is instructing the payment.
496
+ * The name of the ultimate sender of the transfer. Set this if the funds are being
497
+ * sent on behalf of someone who is not the account holder at Increase.
425
498
  */
426
499
  ultimate_debtor_name?: string;
427
500
  }
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../core";
4
- import { APIResource } from "../resource";
5
- import * as RoutingNumbersAPI from "./routing-numbers";
6
- import { Page, type PageParams } from "../pagination";
3
+ import { APIResource } from '../resource';
4
+ import * as Core from '../core';
5
+ import * as RoutingNumbersAPI from './routing-numbers';
6
+ import { Page, type PageParams } from '../pagination';
7
7
 
8
8
  export class RoutingNumbers extends APIResource {
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as SimulationsAccountStatementsAPI from "./account-statements";
6
- import * as AccountStatementsAPI from "../account-statements";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as SimulationsAccountStatementsAPI from './account-statements';
6
+ import * as AccountStatementsAPI from '../account-statements';
7
7
 
8
8
  export class AccountStatements extends APIResource {
9
9
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as AccountTransfersAPI from "../account-transfers";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as AccountTransfersAPI from '../account-transfers';
6
6
 
7
7
  export class AccountTransfers extends APIResource {
8
8
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as SimulationsACHTransfersAPI from "./ach-transfers";
6
- import * as ACHTransfersAPI from "../ach-transfers";
7
- import * as InboundACHTransfersAPI from "../inbound-ach-transfers";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as SimulationsACHTransfersAPI from './ach-transfers';
6
+ import * as ACHTransfersAPI from '../ach-transfers';
7
+ import * as InboundACHTransfersAPI from '../inbound-ach-transfers';
8
8
 
9
9
  export class ACHTransfers extends APIResource {
10
10
  /**
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as SimulationsCardDisputesAPI from "./card-disputes";
6
- import * as CardDisputesAPI from "../card-disputes";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as SimulationsCardDisputesAPI from './card-disputes';
6
+ import * as CardDisputesAPI from '../card-disputes';
7
7
 
8
8
  export class CardDisputes extends APIResource {
9
9
  /**
@@ -26,10 +26,14 @@ export interface CardDisputeActionParams {
26
26
  * The status to move the dispute to.
27
27
  *
28
28
  * - `accepted` - The Card Dispute has been accepted and your funds have been
29
- * returned.
29
+ * returned. The card dispute will eventually transition into `won` or `lost`
30
+ * depending on the outcome.
30
31
  * - `rejected` - The Card Dispute has been rejected.
32
+ * - `lost` - The Card Dispute has been lost and funds previously credited from the
33
+ * acceptance have been debited.
34
+ * - `won` - The Card Dispute has been won and no further action can be taken.
31
35
  */
32
- status: 'accepted' | 'rejected';
36
+ status: 'accepted' | 'rejected' | 'lost' | 'won';
33
37
 
34
38
  /**
35
39
  * Why the dispute was rejected. Not required for accepting disputes.
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as CardRefundsAPI from "./card-refunds";
6
- import * as TransactionsAPI from "../transactions";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as CardRefundsAPI from './card-refunds';
6
+ import * as TransactionsAPI from '../transactions';
7
7
 
8
8
  export class CardRefunds extends APIResource {
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as CardsAPI from "./cards";
6
- import * as TransactionsAPI from "../transactions";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as CardsAPI from './cards';
6
+ import * as TransactionsAPI from '../transactions';
7
7
 
8
8
  export class Cards extends APIResource {
9
9
  /**
@@ -121,8 +121,9 @@ export namespace CardAuthorizationSimulation {
121
121
  *
122
122
  * - `account_number` - An Account Number.
123
123
  * - `card` - A Card.
124
+ * - `lockbox` - A Lockbox.
124
125
  */
125
- route_type: 'account_number' | 'card' | null;
126
+ route_type: 'account_number' | 'card' | 'lockbox' | null;
126
127
 
127
128
  /**
128
129
  * This is an object giving more details on the network-level event that caused the
@@ -177,6 +178,8 @@ export namespace CardAuthorizationSimulation {
177
178
  * the `international_ach_decline` object.
178
179
  * - `wire_decline` - Wire Decline: details will be under the `wire_decline`
179
180
  * object.
181
+ * - `check_deposit_rejection` - Check Deposit Rejection: details will be under the
182
+ * `check_deposit_rejection` object.
180
183
  * - `other` - The Declined Transaction was made for an undocumented or deprecated
181
184
  * reason.
182
185
  */
@@ -187,6 +190,7 @@ export namespace CardAuthorizationSimulation {
187
190
  | 'inbound_real_time_payments_transfer_decline'
188
191
  | 'international_ach_decline'
189
192
  | 'wire_decline'
193
+ | 'check_deposit_rejection'
190
194
  | 'other';
191
195
 
192
196
  /**
@@ -195,6 +199,12 @@ export namespace CardAuthorizationSimulation {
195
199
  */
196
200
  check_decline: Source.CheckDecline | null;
197
201
 
202
+ /**
203
+ * A Check Deposit Rejection object. This field will be present in the JSON
204
+ * response if and only if `category` is equal to `check_deposit_rejection`.
205
+ */
206
+ check_deposit_rejection: Source.CheckDepositRejection | null;
207
+
198
208
  /**
199
209
  * An Inbound Real-Time Payments Transfer Decline object. This field will be
200
210
  * present in the JSON response if and only if `category` is equal to
@@ -269,6 +279,7 @@ export namespace CardAuthorizationSimulation {
269
279
  * - `duplicate_return` - A rare return reason. The return this message refers to
270
280
  * was a duplicate.
271
281
  * - `entity_not_active` - The account's entity is not active.
282
+ * - `field_error` - There was an error with one of the required fields.
272
283
  * - `group_locked` - Your account is inactive.
273
284
  * - `insufficient_funds` - Your account contains insufficient funds.
274
285
  * - `misrouted_return` - A rare return reason. The return this message refers to
@@ -289,6 +300,7 @@ export namespace CardAuthorizationSimulation {
289
300
  | 'credit_entry_refused_by_receiver'
290
301
  | 'duplicate_return'
291
302
  | 'entity_not_active'
303
+ | 'field_error'
292
304
  | 'group_locked'
293
305
  | 'insufficient_funds'
294
306
  | 'misrouted_return'
@@ -350,7 +362,7 @@ export namespace CardAuthorizationSimulation {
350
362
  /**
351
363
  * The ID of the Card Payment this transaction belongs to.
352
364
  */
353
- card_payment_id: string | null;
365
+ card_payment_id: string;
354
366
 
355
367
  /**
356
368
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
@@ -365,6 +377,11 @@ export namespace CardAuthorizationSimulation {
365
377
  */
366
378
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
367
379
 
380
+ /**
381
+ * The identifier of the declined transaction created for this Card Decline.
382
+ */
383
+ declined_transaction_id: string;
384
+
368
385
  /**
369
386
  * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
370
387
  * purchase), the identifier of the token that was used.
@@ -425,6 +442,17 @@ export namespace CardAuthorizationSimulation {
425
442
  */
426
443
  physical_card_id: string | null;
427
444
 
445
+ /**
446
+ * The declined amount in the minor unit of the transaction's presentment currency.
447
+ */
448
+ presentment_amount: number;
449
+
450
+ /**
451
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
452
+ * transaction's presentment currency.
453
+ */
454
+ presentment_currency: string;
455
+
428
456
  /**
429
457
  * The processing category describes the intent behind the authorization, such as
430
458
  * whether it was used for bill payments or an automatic fuel dispenser.
@@ -466,6 +494,8 @@ export namespace CardAuthorizationSimulation {
466
494
  * - `insufficient_funds` - The Card's Account did not have a sufficient available
467
495
  * balance.
468
496
  * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
497
+ * - `card_expiration_mismatch` - The given expiration date did not match the
498
+ * card's value. Only applies when a CVV2 is present.
469
499
  * - `transaction_not_allowed` - The attempted card transaction is not allowed per
470
500
  * Increase's terms.
471
501
  * - `breaches_limit` - The transaction was blocked by a Limit.
@@ -487,6 +517,7 @@ export namespace CardAuthorizationSimulation {
487
517
  | 'group_locked'
488
518
  | 'insufficient_funds'
489
519
  | 'cvv2_mismatch'
520
+ | 'card_expiration_mismatch'
490
521
  | 'transaction_not_allowed'
491
522
  | 'breaches_limit'
492
523
  | 'webhook_declined'
@@ -795,6 +826,71 @@ export namespace CardAuthorizationSimulation {
795
826
  | 'user_initiated';
796
827
  }
797
828
 
829
+ /**
830
+ * A Check Deposit Rejection object. This field will be present in the JSON
831
+ * response if and only if `category` is equal to `check_deposit_rejection`.
832
+ */
833
+ export interface CheckDepositRejection {
834
+ /**
835
+ * The rejected amount in the minor unit of check's currency. For dollars, for
836
+ * example, this is cents.
837
+ */
838
+ amount: number;
839
+
840
+ /**
841
+ * The identifier of the Check Deposit that was rejected.
842
+ */
843
+ check_deposit_id: string;
844
+
845
+ /**
846
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
847
+ * currency.
848
+ *
849
+ * - `CAD` - Canadian Dollar (CAD)
850
+ * - `CHF` - Swiss Franc (CHF)
851
+ * - `EUR` - Euro (EUR)
852
+ * - `GBP` - British Pound (GBP)
853
+ * - `JPY` - Japanese Yen (JPY)
854
+ * - `USD` - US Dollar (USD)
855
+ */
856
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
857
+
858
+ /**
859
+ * Why the check deposit was rejected.
860
+ *
861
+ * - `incomplete_image` - The check's image is incomplete.
862
+ * - `duplicate` - This is a duplicate check submission.
863
+ * - `poor_image_quality` - This check has poor image quality.
864
+ * - `incorrect_amount` - The check was deposited with the incorrect amount.
865
+ * - `incorrect_recipient` - The check is made out to someone other than the
866
+ * account holder.
867
+ * - `not_eligible_for_mobile_deposit` - This check was not eligible for mobile
868
+ * deposit.
869
+ * - `missing_required_data_elements` - This check is missing at least one required
870
+ * field.
871
+ * - `suspected_fraud` - This check is suspected to be fraudulent.
872
+ * - `deposit_window_expired` - This check's deposit window has expired.
873
+ * - `unknown` - The check was rejected for an unknown reason.
874
+ */
875
+ reason:
876
+ | 'incomplete_image'
877
+ | 'duplicate'
878
+ | 'poor_image_quality'
879
+ | 'incorrect_amount'
880
+ | 'incorrect_recipient'
881
+ | 'not_eligible_for_mobile_deposit'
882
+ | 'missing_required_data_elements'
883
+ | 'suspected_fraud'
884
+ | 'deposit_window_expired'
885
+ | 'unknown';
886
+
887
+ /**
888
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
889
+ * the check deposit was rejected.
890
+ */
891
+ rejected_at: string;
892
+ }
893
+
798
894
  /**
799
895
  * An Inbound Real-Time Payments Transfer Decline object. This field will be
800
896
  * present in the JSON response if and only if `category` is equal to
@@ -1256,8 +1352,9 @@ export namespace CardAuthorizationSimulation {
1256
1352
  *
1257
1353
  * - `account_number` - An Account Number.
1258
1354
  * - `card` - A Card.
1355
+ * - `lockbox` - A Lockbox.
1259
1356
  */
1260
- route_type: 'account_number' | 'card' | null;
1357
+ route_type: 'account_number' | 'card' | 'lockbox' | null;
1261
1358
 
1262
1359
  /**
1263
1360
  * This is an object giving more details on the network-level event that caused the
@@ -1454,7 +1551,7 @@ export namespace CardAuthorizationSimulation {
1454
1551
  /**
1455
1552
  * The ID of the Card Payment this transaction belongs to.
1456
1553
  */
1457
- card_payment_id: string | null;
1554
+ card_payment_id: string;
1458
1555
 
1459
1556
  /**
1460
1557
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
@@ -1546,6 +1643,17 @@ export namespace CardAuthorizationSimulation {
1546
1643
  */
1547
1644
  physical_card_id: string | null;
1548
1645
 
1646
+ /**
1647
+ * The pending amount in the minor unit of the transaction's presentment currency.
1648
+ */
1649
+ presentment_amount: number;
1650
+
1651
+ /**
1652
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1653
+ * transaction's presentment currency.
1654
+ */
1655
+ presentment_currency: string;
1656
+
1549
1657
  /**
1550
1658
  * The processing category describes the intent behind the authorization, such as
1551
1659
  * whether it was used for bill payments or an automatic fuel dispenser.
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as CheckDepositsAPI from "../check-deposits";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as CheckDepositsAPI from '../check-deposits';
6
6
 
7
7
  export class CheckDeposits extends APIResource {
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from "../../core";
4
- import { APIResource } from "../../resource";
5
- import * as CheckTransfersAPI from "../check-transfers";
3
+ import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as CheckTransfersAPI from '../check-transfers';
6
6
 
7
7
  export class CheckTransfers extends APIResource {
8
8
  /**