increase 0.54.0 → 0.58.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 +69 -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 +25 -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 +29 -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 CardPaymentsAPI from "./card-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 CardPaymentsAPI from './card-payments';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class CardPayments extends APIResource {
10
10
  /**
@@ -61,11 +61,21 @@ export interface CardPayment {
61
61
  */
62
62
  created_at: string;
63
63
 
64
+ /**
65
+ * The Digital Wallet Token identifier for this payment.
66
+ */
67
+ digital_wallet_token_id: string | null;
68
+
64
69
  /**
65
70
  * The interactions related to this card payment.
66
71
  */
67
72
  elements: Array<CardPayment.Element>;
68
73
 
74
+ /**
75
+ * The Physical Card identifier for this payment.
76
+ */
77
+ physical_card_id: string | null;
78
+
69
79
  /**
70
80
  * The summarized state of this card payment.
71
81
  */
@@ -207,7 +217,7 @@ export namespace CardPayment {
207
217
  /**
208
218
  * The ID of the Card Payment this transaction belongs to.
209
219
  */
210
- card_payment_id: string | null;
220
+ card_payment_id: string;
211
221
 
212
222
  /**
213
223
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
@@ -299,6 +309,17 @@ export namespace CardPayment {
299
309
  */
300
310
  physical_card_id: string | null;
301
311
 
312
+ /**
313
+ * The pending amount in the minor unit of the transaction's presentment currency.
314
+ */
315
+ presentment_amount: number;
316
+
317
+ /**
318
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
319
+ * transaction's presentment currency.
320
+ */
321
+ presentment_currency: string;
322
+
302
323
  /**
303
324
  * The processing category describes the intent behind the authorization, such as
304
325
  * whether it was used for bill payments or an automatic fuel dispenser.
@@ -630,7 +651,7 @@ export namespace CardPayment {
630
651
  /**
631
652
  * The ID of the Card Payment this transaction belongs to.
632
653
  */
633
- card_payment_id: string | null;
654
+ card_payment_id: string;
634
655
 
635
656
  /**
636
657
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
@@ -645,6 +666,11 @@ export namespace CardPayment {
645
666
  */
646
667
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
647
668
 
669
+ /**
670
+ * The identifier of the declined transaction created for this Card Decline.
671
+ */
672
+ declined_transaction_id: string;
673
+
648
674
  /**
649
675
  * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
650
676
  * purchase), the identifier of the token that was used.
@@ -705,6 +731,17 @@ export namespace CardPayment {
705
731
  */
706
732
  physical_card_id: string | null;
707
733
 
734
+ /**
735
+ * The declined amount in the minor unit of the transaction's presentment currency.
736
+ */
737
+ presentment_amount: number;
738
+
739
+ /**
740
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
741
+ * transaction's presentment currency.
742
+ */
743
+ presentment_currency: string;
744
+
708
745
  /**
709
746
  * The processing category describes the intent behind the authorization, such as
710
747
  * whether it was used for bill payments or an automatic fuel dispenser.
@@ -746,6 +783,8 @@ export namespace CardPayment {
746
783
  * - `insufficient_funds` - The Card's Account did not have a sufficient available
747
784
  * balance.
748
785
  * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
786
+ * - `card_expiration_mismatch` - The given expiration date did not match the
787
+ * card's value. Only applies when a CVV2 is present.
749
788
  * - `transaction_not_allowed` - The attempted card transaction is not allowed per
750
789
  * Increase's terms.
751
790
  * - `breaches_limit` - The transaction was blocked by a Limit.
@@ -767,6 +806,7 @@ export namespace CardPayment {
767
806
  | 'group_locked'
768
807
  | 'insufficient_funds'
769
808
  | 'cvv2_mismatch'
809
+ | 'card_expiration_mismatch'
770
810
  | 'transaction_not_allowed'
771
811
  | 'breaches_limit'
772
812
  | 'webhook_declined'
@@ -1201,19 +1241,19 @@ export namespace CardPayment {
1201
1241
  id: string;
1202
1242
 
1203
1243
  /**
1204
- * The pending amount in the minor unit of the transaction's currency. For dollars,
1205
- * for example, this is cents.
1244
+ * The amount in the minor unit of the transaction's settlement currency. For
1245
+ * dollars, for example, this is cents.
1206
1246
  */
1207
1247
  amount: number;
1208
1248
 
1209
1249
  /**
1210
1250
  * The ID of the Card Payment this transaction belongs to.
1211
1251
  */
1212
- card_payment_id: string | null;
1252
+ card_payment_id: string;
1213
1253
 
1214
1254
  /**
1215
1255
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1216
- * transaction's currency.
1256
+ * transaction's settlement currency.
1217
1257
  *
1218
1258
  * - `CAD` - Canadian Dollar (CAD)
1219
1259
  * - `CHF` - Swiss Franc (CHF)
@@ -1260,6 +1300,17 @@ export namespace CardPayment {
1260
1300
  */
1261
1301
  network_identifiers: CardRefund.NetworkIdentifiers;
1262
1302
 
1303
+ /**
1304
+ * The amount in the minor unit of the transaction's presentment currency.
1305
+ */
1306
+ presentment_amount: number;
1307
+
1308
+ /**
1309
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
1310
+ * transaction's presentment currency.
1311
+ */
1312
+ presentment_currency: string;
1313
+
1263
1314
  /**
1264
1315
  * Additional details about the card purchase, such as tax and industry-specific
1265
1316
  * fields.
@@ -1944,7 +1995,7 @@ export namespace CardPayment {
1944
1995
  /**
1945
1996
  * The ID of the Card Payment this transaction belongs to.
1946
1997
  */
1947
- card_payment_id: string | null;
1998
+ card_payment_id: string;
1948
1999
 
1949
2000
  /**
1950
2001
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
@@ -2604,7 +2655,7 @@ export namespace CardPayment {
2604
2655
  /**
2605
2656
  * The ID of the Card Payment this transaction belongs to.
2606
2657
  */
2607
- card_payment_id: string | null;
2658
+ card_payment_id: string;
2608
2659
 
2609
2660
  /**
2610
2661
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
@@ -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 CardPurchaseSupplementsAPI from "./card-purchase-supplements";
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 CardPurchaseSupplementsAPI from './card-purchase-supplements';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class CardPurchaseSupplements extends APIResource {
10
10
  /**
@@ -189,6 +189,11 @@ export namespace CardPurchaseSupplement {
189
189
  }
190
190
 
191
191
  export interface LineItem {
192
+ /**
193
+ * The Card Purchase Supplement Line Item identifier.
194
+ */
195
+ id: string;
196
+
192
197
  /**
193
198
  * Indicates the type of line item.
194
199
  *
@@ -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 CardsAPI from "./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 CardsAPI from './cards';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class Cards 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 CheckDepositsAPI from "./check-deposits";
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 CheckDepositsAPI from './check-deposits';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class CheckDeposits extends APIResource {
10
10
  /**
@@ -73,18 +73,6 @@ export interface CheckDeposit {
73
73
  */
74
74
  created_at: string;
75
75
 
76
- /**
77
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit.
78
- *
79
- * - `CAD` - Canadian Dollar (CAD)
80
- * - `CHF` - Swiss Franc (CHF)
81
- * - `EUR` - Euro (EUR)
82
- * - `GBP` - British Pound (GBP)
83
- * - `JPY` - Japanese Yen (JPY)
84
- * - `USD` - US Dollar (USD)
85
- */
86
- currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
87
-
88
76
  /**
89
77
  * If your deposit is successfully parsed and accepted by Increase, this will
90
78
  * contain details of the parsed check.
@@ -109,6 +97,11 @@ export interface CheckDeposit {
109
97
  */
110
98
  deposit_submission: CheckDeposit.DepositSubmission | null;
111
99
 
100
+ /**
101
+ * The description of the Check Deposit, for display purposes only.
102
+ */
103
+ description: string | null;
104
+
112
105
  /**
113
106
  * The ID for the File containing the image of the front of the check.
114
107
  */
@@ -121,6 +114,18 @@ export interface CheckDeposit {
121
114
  */
122
115
  idempotency_key: string | null;
123
116
 
117
+ /**
118
+ * If the Check Deposit was the result of an Inbound Mail Item, this will contain
119
+ * the identifier of the Inbound Mail Item.
120
+ */
121
+ inbound_mail_item_id: string | null;
122
+
123
+ /**
124
+ * If the Check Deposit was the result of an Inbound Mail Item, this will contain
125
+ * the identifier of the Lockbox that received it.
126
+ */
127
+ lockbox_id: string | null;
128
+
124
129
  /**
125
130
  * The status of the Check Deposit.
126
131
  *
@@ -207,6 +212,11 @@ export namespace CheckDeposit {
207
212
  */
208
213
  amount: number;
209
214
 
215
+ /**
216
+ * The identifier of the Check Deposit that was rejected.
217
+ */
218
+ check_deposit_id: string;
219
+
210
220
  /**
211
221
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
212
222
  * currency.
@@ -365,6 +375,18 @@ export namespace CheckDeposit {
365
375
  * processing. This will contain details of the submission.
366
376
  */
367
377
  export interface DepositSubmission {
378
+ /**
379
+ * The ID for the File containing the check back image that was submitted to the
380
+ * Check21 network.
381
+ */
382
+ back_file_id: string;
383
+
384
+ /**
385
+ * The ID for the File containing the check front image that was submitted to the
386
+ * Check21 network.
387
+ */
388
+ front_file_id: string;
389
+
368
390
  /**
369
391
  * When the check deposit was submitted to the Check21 network for processing.
370
392
  * During business days, this happens within a few hours of the check being
@@ -392,14 +414,14 @@ export interface CheckDepositCreateParams {
392
414
  back_image_file_id: string;
393
415
 
394
416
  /**
395
- * The currency to use for the deposit.
417
+ * The File containing the check's front image.
396
418
  */
397
- currency: string;
419
+ front_image_file_id: string;
398
420
 
399
421
  /**
400
- * The File containing the check's front image.
422
+ * The description you choose to give the Check Deposit, for display purposes only.
401
423
  */
402
- front_image_file_id: string;
424
+ description?: string;
403
425
  }
404
426
 
405
427
  export interface CheckDepositListParams extends PageParams {
@@ -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 CheckTransfersAPI from "./check-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 CheckTransfersAPI from './check-transfers';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class CheckTransfers extends APIResource {
10
10
  /**
@@ -121,6 +121,11 @@ export interface CheckTransfer {
121
121
  */
122
122
  created_at: string;
123
123
 
124
+ /**
125
+ * What object created the transfer, either via the API or the dashboard.
126
+ */
127
+ created_by: CheckTransfer.CreatedBy | null;
128
+
124
129
  /**
125
130
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
126
131
  * currency.
@@ -270,6 +275,69 @@ export namespace CheckTransfer {
270
275
  canceled_by: string | null;
271
276
  }
272
277
 
278
+ /**
279
+ * What object created the transfer, either via the API or the dashboard.
280
+ */
281
+ export interface CreatedBy {
282
+ /**
283
+ * If present, details about the API key that created the transfer.
284
+ */
285
+ api_key: CreatedBy.APIKey | null;
286
+
287
+ /**
288
+ * The type of object that created this transfer.
289
+ *
290
+ * - `api_key` - An API key. Details will be under the `api_key` object.
291
+ * - `oauth_application` - An OAuth application you connected to Increase. Details
292
+ * will be under the `oauth_application` object.
293
+ * - `user` - A User in the Increase dashboard. Details will be under the `user`
294
+ * object.
295
+ */
296
+ category: 'api_key' | 'oauth_application' | 'user';
297
+
298
+ /**
299
+ * If present, details about the OAuth Application that created the transfer.
300
+ */
301
+ oauth_application: CreatedBy.OAuthApplication | null;
302
+
303
+ /**
304
+ * If present, details about the User that created the transfer.
305
+ */
306
+ user: CreatedBy.User | null;
307
+ }
308
+
309
+ export namespace CreatedBy {
310
+ /**
311
+ * If present, details about the API key that created the transfer.
312
+ */
313
+ export interface APIKey {
314
+ /**
315
+ * The description set for the API key when it was created.
316
+ */
317
+ description: string | null;
318
+ }
319
+
320
+ /**
321
+ * If present, details about the OAuth Application that created the transfer.
322
+ */
323
+ export interface OAuthApplication {
324
+ /**
325
+ * The name of the OAuth Application.
326
+ */
327
+ name: string;
328
+ }
329
+
330
+ /**
331
+ * If present, details about the User that created the transfer.
332
+ */
333
+ export interface User {
334
+ /**
335
+ * The email address of the User.
336
+ */
337
+ email: string;
338
+ }
339
+ }
340
+
273
341
  /**
274
342
  * If the check has been mailed by Increase, this will contain details of the
275
343
  * shipment.
@@ -317,6 +385,12 @@ export namespace CheckTransfer {
317
385
  * The return address to be printed on the check.
318
386
  */
319
387
  return_address: PhysicalCheck.ReturnAddress | null;
388
+
389
+ /**
390
+ * The text that will appear as the signature on the check in cursive font. If
391
+ * blank, the check will be printed with 'No signature required'.
392
+ */
393
+ signature_text: string | null;
320
394
  }
321
395
 
322
396
  export namespace PhysicalCheck {
@@ -525,6 +599,12 @@ export namespace CheckTransferCreateParams {
525
599
  * the address of the Entity of the Account used to make the Check Transfer.
526
600
  */
527
601
  return_address?: PhysicalCheck.ReturnAddress;
602
+
603
+ /**
604
+ * The text that will appear as the signature on the check in cursive font. If not
605
+ * provided, the check will be printed with 'No signature required'.
606
+ */
607
+ signature_text?: string;
528
608
  }
529
609
 
530
610
  export namespace PhysicalCheck {
@@ -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 DeclinedTransactionsAPI from "./declined-transactions";
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 DeclinedTransactionsAPI from './declined-transactions';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class DeclinedTransactions extends APIResource {
10
10
  /**
@@ -96,8 +96,9 @@ export interface DeclinedTransaction {
96
96
  *
97
97
  * - `account_number` - An Account Number.
98
98
  * - `card` - A Card.
99
+ * - `lockbox` - A Lockbox.
99
100
  */
100
- route_type: 'account_number' | 'card' | null;
101
+ route_type: 'account_number' | 'card' | 'lockbox' | null;
101
102
 
102
103
  /**
103
104
  * This is an object giving more details on the network-level event that caused the
@@ -152,6 +153,8 @@ export namespace DeclinedTransaction {
152
153
  * the `international_ach_decline` object.
153
154
  * - `wire_decline` - Wire Decline: details will be under the `wire_decline`
154
155
  * object.
156
+ * - `check_deposit_rejection` - Check Deposit Rejection: details will be under the
157
+ * `check_deposit_rejection` object.
155
158
  * - `other` - The Declined Transaction was made for an undocumented or deprecated
156
159
  * reason.
157
160
  */
@@ -162,6 +165,7 @@ export namespace DeclinedTransaction {
162
165
  | 'inbound_real_time_payments_transfer_decline'
163
166
  | 'international_ach_decline'
164
167
  | 'wire_decline'
168
+ | 'check_deposit_rejection'
165
169
  | 'other';
166
170
 
167
171
  /**
@@ -170,6 +174,12 @@ export namespace DeclinedTransaction {
170
174
  */
171
175
  check_decline: Source.CheckDecline | null;
172
176
 
177
+ /**
178
+ * A Check Deposit Rejection object. This field will be present in the JSON
179
+ * response if and only if `category` is equal to `check_deposit_rejection`.
180
+ */
181
+ check_deposit_rejection: Source.CheckDepositRejection | null;
182
+
173
183
  /**
174
184
  * An Inbound Real-Time Payments Transfer Decline object. This field will be
175
185
  * present in the JSON response if and only if `category` is equal to
@@ -244,6 +254,7 @@ export namespace DeclinedTransaction {
244
254
  * - `duplicate_return` - A rare return reason. The return this message refers to
245
255
  * was a duplicate.
246
256
  * - `entity_not_active` - The account's entity is not active.
257
+ * - `field_error` - There was an error with one of the required fields.
247
258
  * - `group_locked` - Your account is inactive.
248
259
  * - `insufficient_funds` - Your account contains insufficient funds.
249
260
  * - `misrouted_return` - A rare return reason. The return this message refers to
@@ -264,6 +275,7 @@ export namespace DeclinedTransaction {
264
275
  | 'credit_entry_refused_by_receiver'
265
276
  | 'duplicate_return'
266
277
  | 'entity_not_active'
278
+ | 'field_error'
267
279
  | 'group_locked'
268
280
  | 'insufficient_funds'
269
281
  | 'misrouted_return'
@@ -325,7 +337,7 @@ export namespace DeclinedTransaction {
325
337
  /**
326
338
  * The ID of the Card Payment this transaction belongs to.
327
339
  */
328
- card_payment_id: string | null;
340
+ card_payment_id: string;
329
341
 
330
342
  /**
331
343
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
@@ -340,6 +352,11 @@ export namespace DeclinedTransaction {
340
352
  */
341
353
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
342
354
 
355
+ /**
356
+ * The identifier of the declined transaction created for this Card Decline.
357
+ */
358
+ declined_transaction_id: string;
359
+
343
360
  /**
344
361
  * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
345
362
  * purchase), the identifier of the token that was used.
@@ -400,6 +417,17 @@ export namespace DeclinedTransaction {
400
417
  */
401
418
  physical_card_id: string | null;
402
419
 
420
+ /**
421
+ * The declined amount in the minor unit of the transaction's presentment currency.
422
+ */
423
+ presentment_amount: number;
424
+
425
+ /**
426
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
427
+ * transaction's presentment currency.
428
+ */
429
+ presentment_currency: string;
430
+
403
431
  /**
404
432
  * The processing category describes the intent behind the authorization, such as
405
433
  * whether it was used for bill payments or an automatic fuel dispenser.
@@ -441,6 +469,8 @@ export namespace DeclinedTransaction {
441
469
  * - `insufficient_funds` - The Card's Account did not have a sufficient available
442
470
  * balance.
443
471
  * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
472
+ * - `card_expiration_mismatch` - The given expiration date did not match the
473
+ * card's value. Only applies when a CVV2 is present.
444
474
  * - `transaction_not_allowed` - The attempted card transaction is not allowed per
445
475
  * Increase's terms.
446
476
  * - `breaches_limit` - The transaction was blocked by a Limit.
@@ -462,6 +492,7 @@ export namespace DeclinedTransaction {
462
492
  | 'group_locked'
463
493
  | 'insufficient_funds'
464
494
  | 'cvv2_mismatch'
495
+ | 'card_expiration_mismatch'
465
496
  | 'transaction_not_allowed'
466
497
  | 'breaches_limit'
467
498
  | 'webhook_declined'
@@ -770,6 +801,71 @@ export namespace DeclinedTransaction {
770
801
  | 'user_initiated';
771
802
  }
772
803
 
804
+ /**
805
+ * A Check Deposit Rejection object. This field will be present in the JSON
806
+ * response if and only if `category` is equal to `check_deposit_rejection`.
807
+ */
808
+ export interface CheckDepositRejection {
809
+ /**
810
+ * The rejected amount in the minor unit of check's currency. For dollars, for
811
+ * example, this is cents.
812
+ */
813
+ amount: number;
814
+
815
+ /**
816
+ * The identifier of the Check Deposit that was rejected.
817
+ */
818
+ check_deposit_id: string;
819
+
820
+ /**
821
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
822
+ * currency.
823
+ *
824
+ * - `CAD` - Canadian Dollar (CAD)
825
+ * - `CHF` - Swiss Franc (CHF)
826
+ * - `EUR` - Euro (EUR)
827
+ * - `GBP` - British Pound (GBP)
828
+ * - `JPY` - Japanese Yen (JPY)
829
+ * - `USD` - US Dollar (USD)
830
+ */
831
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
832
+
833
+ /**
834
+ * Why the check deposit was rejected.
835
+ *
836
+ * - `incomplete_image` - The check's image is incomplete.
837
+ * - `duplicate` - This is a duplicate check submission.
838
+ * - `poor_image_quality` - This check has poor image quality.
839
+ * - `incorrect_amount` - The check was deposited with the incorrect amount.
840
+ * - `incorrect_recipient` - The check is made out to someone other than the
841
+ * account holder.
842
+ * - `not_eligible_for_mobile_deposit` - This check was not eligible for mobile
843
+ * deposit.
844
+ * - `missing_required_data_elements` - This check is missing at least one required
845
+ * field.
846
+ * - `suspected_fraud` - This check is suspected to be fraudulent.
847
+ * - `deposit_window_expired` - This check's deposit window has expired.
848
+ * - `unknown` - The check was rejected for an unknown reason.
849
+ */
850
+ reason:
851
+ | 'incomplete_image'
852
+ | 'duplicate'
853
+ | 'poor_image_quality'
854
+ | 'incorrect_amount'
855
+ | 'incorrect_recipient'
856
+ | 'not_eligible_for_mobile_deposit'
857
+ | 'missing_required_data_elements'
858
+ | 'suspected_fraud'
859
+ | 'deposit_window_expired'
860
+ | 'unknown';
861
+
862
+ /**
863
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
864
+ * the check deposit was rejected.
865
+ */
866
+ rejected_at: string;
867
+ }
868
+
773
869
  /**
774
870
  * An Inbound Real-Time Payments Transfer Decline object. This field will be
775
871
  * present in the JSON response if and only if `category` is equal to
@@ -1194,6 +1290,7 @@ export namespace DeclinedTransactionListParams {
1194
1290
  | 'inbound_real_time_payments_transfer_decline'
1195
1291
  | 'international_ach_decline'
1196
1292
  | 'wire_decline'
1293
+ | 'check_deposit_rejection'
1197
1294
  | 'other'
1198
1295
  >;
1199
1296
  }