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,7 +1,7 @@
1
- import * as Core from 'increase/core';
2
- import { APIResource } from 'increase/resource';
3
- import * as WireDrawdownRequestsAPI from 'increase/resources/wire-drawdown-requests';
4
- import { Page, type PageParams } from 'increase/pagination';
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
+ import * as WireDrawdownRequestsAPI from "./wire-drawdown-requests.js";
4
+ import { Page, type PageParams } from "../pagination.js";
5
5
  export declare class WireDrawdownRequests extends APIResource {
6
6
  /**
7
7
  * Create a Wire Drawdown Request
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.d.ts","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;OAEG;IACH,QAAQ,CACN,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;OAEG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,6BAA6B,EACrC,O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IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,oBAAoB,GAAG,kBAAkB,GAAG,WAAW,GAAG,SAAS,CAAC;CAC9E;AAED,yBAAiB,oBAAoB,CAAC;IACpC,MAAM,QAAQ,mBAAmB,GAAG,uBAAuB,CAAC,mBAAmB,CAAC;IAChF,MAAM,QAAQ,wBAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;IAC1F,MAAM,QAAQ,+BAA+B,GAAG,uBAAuB,CAAC,+BAA+B,CAAC;IACxG,MAAM,QAAQ,6BAA6B,GAAG,uBAAuB,CAAC,6BAA6B,CAAC;CACrG"}
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.WireDrawdownRequestsPage = exports.WireDrawdownRequests = void 0;
28
- const resource_1 = require("increase/resource");
29
- const core_1 = require("increase/core");
30
- const WireDrawdownRequestsAPI = __importStar(require("increase/resources/wire-drawdown-requests"));
31
- const pagination_1 = require("increase/pagination");
28
+ const resource_1 = require("../resource.js");
29
+ const core_1 = require("../core.js");
30
+ const WireDrawdownRequestsAPI = __importStar(require("./wire-drawdown-requests.js"));
31
+ const pagination_1 = require("../pagination.js");
32
32
  class WireDrawdownRequests extends resource_1.APIResource {
33
33
  /**
34
34
  * Create a Wire Drawdown Request
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.js","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAAgD;AAChD,wCAAiD;AACjD,mGAAqF;AACrF,oDAA4D;AAE5D,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAzCD,oDAyCC;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,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAKpC"}
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from 'increase/resource';
3
- import { isRequestOptions } from 'increase/core';
4
- import * as WireDrawdownRequestsAPI from 'increase/resources/wire-drawdown-requests';
5
- import { Page } from 'increase/pagination';
2
+ import { APIResource } from "../resource.mjs";
3
+ import { isRequestOptions } from "../core.mjs";
4
+ import * as WireDrawdownRequestsAPI from "./wire-drawdown-requests.mjs";
5
+ import { Page } from "../pagination.mjs";
6
6
  export class WireDrawdownRequests extends APIResource {
7
7
  /**
8
8
  * Create a Wire Drawdown Request
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.mjs","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,uBAAuB,MAAM,2CAA2C;OAC7E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,C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,IAAyB;CAAG;AA0O1E,WAAiB,oBAAoB;IAErB,6CAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;AAG5F,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC"}
@@ -1,7 +1,7 @@
1
- import * as Core from 'increase/core';
2
- import { APIResource } from 'increase/resource';
3
- import * as WireTransfersAPI from 'increase/resources/wire-transfers';
4
- import { Page, type PageParams } from 'increase/pagination';
1
+ import { APIResource } from "../resource.js";
2
+ import * as Core from "../core.js";
3
+ import * as WireTransfersAPI from "./wire-transfers.js";
4
+ import { Page, type PageParams } from "../pagination.js";
5
5
  export declare class WireTransfers extends APIResource {
6
6
  /**
7
7
  * Create a Wire Transfer
@@ -92,6 +92,10 @@ export interface WireTransfer {
92
92
  * the transfer was created.
93
93
  */
94
94
  created_at: string;
95
+ /**
96
+ * What object created the transfer, either via the API or the dashboard.
97
+ */
98
+ created_by: WireTransfer.CreatedBy | null;
95
99
  /**
96
100
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
97
101
  * currency. For wire transfers this is always equal to `usd`.
@@ -215,6 +219,62 @@ export declare namespace WireTransfer {
215
219
  */
216
220
  canceled_by: string | null;
217
221
  }
222
+ /**
223
+ * What object created the transfer, either via the API or the dashboard.
224
+ */
225
+ interface CreatedBy {
226
+ /**
227
+ * If present, details about the API key that created the transfer.
228
+ */
229
+ api_key: CreatedBy.APIKey | null;
230
+ /**
231
+ * The type of object that created this transfer.
232
+ *
233
+ * - `api_key` - An API key. Details will be under the `api_key` object.
234
+ * - `oauth_application` - An OAuth application you connected to Increase. Details
235
+ * will be under the `oauth_application` object.
236
+ * - `user` - A User in the Increase dashboard. Details will be under the `user`
237
+ * object.
238
+ */
239
+ category: 'api_key' | 'oauth_application' | 'user';
240
+ /**
241
+ * If present, details about the OAuth Application that created the transfer.
242
+ */
243
+ oauth_application: CreatedBy.OAuthApplication | null;
244
+ /**
245
+ * If present, details about the User that created the transfer.
246
+ */
247
+ user: CreatedBy.User | null;
248
+ }
249
+ namespace CreatedBy {
250
+ /**
251
+ * If present, details about the API key that created the transfer.
252
+ */
253
+ interface APIKey {
254
+ /**
255
+ * The description set for the API key when it was created.
256
+ */
257
+ description: string | null;
258
+ }
259
+ /**
260
+ * If present, details about the OAuth Application that created the transfer.
261
+ */
262
+ interface OAuthApplication {
263
+ /**
264
+ * The name of the OAuth Application.
265
+ */
266
+ name: string;
267
+ }
268
+ /**
269
+ * If present, details about the User that created the transfer.
270
+ */
271
+ interface User {
272
+ /**
273
+ * The email address of the User.
274
+ */
275
+ email: string;
276
+ }
277
+ }
218
278
  /**
219
279
  * If your transfer is reversed, this will contain details of the reversal.
220
280
  */
@@ -1 +1 @@
1
- {"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,gBAAgB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAI9F;;OAEG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAE,YAAY,CAAC;IACpD,IAAI,CAAC,OAAO,CAAC,EAAE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IAE9C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,yBAAiB,aAAa,CAAC;IAC7B,MAAM,QAAQ,YAAY,GAAG,gBAAgB,CAAC,YAAY,CAAC;IAC3D,MAAM,QAAQ,iBAAiB,GAAG,gBAAgB,CAAC,iBAAiB,CAAC;IACrE,MAAM,QAAQ,wBAAwB,GAAG,gBAAgB,CAAC,wBAAwB,CAAC;IACnF,MAAM,QAAQ,sBAAsB,GAAG,gBAAgB,CAAC,sBAAsB,CAAC;CAChF"}
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.WireTransfersPage = exports.WireTransfers = void 0;
28
- const resource_1 = require("increase/resource");
29
- const core_1 = require("increase/core");
30
- const WireTransfersAPI = __importStar(require("increase/resources/wire-transfers"));
31
- const pagination_1 = require("increase/pagination");
28
+ const resource_1 = require("../resource.js");
29
+ const core_1 = require("../core.js");
30
+ const WireTransfersAPI = __importStar(require("./wire-transfers.js"));
31
+ const pagination_1 = require("../pagination.js");
32
32
  class WireTransfers extends resource_1.APIResource {
33
33
  /**
34
34
  * Create a Wire Transfer
@@ -1 +1 @@
1
- {"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAAgD;AAChD,wCAAiD;AAC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OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF;AAjED,sCAiEC;AAED,MAAa,iBAAkB,SAAQ,iBAAkB;CAAG;AAA5D,8CAA4D;AA4gB5D,WAAiB,aAAa;IAEd,+BAAiB,GAAG,gBAAgB,CAAC,iBAAiB,CAAC;AAGvE,CAAC,EALgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAK7B"}
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from 'increase/resource';
3
- import { isRequestOptions } from 'increase/core';
4
- import * as WireTransfersAPI from 'increase/resources/wire-transfers';
5
- import { Page } from 'increase/pagination';
2
+ import { APIResource } from "../resource.mjs";
3
+ import { isRequestOptions } from "../core.mjs";
4
+ import * as WireTransfersAPI from "./wire-transfers.mjs";
5
+ import { Page } from "../pagination.mjs";
6
6
  export class WireTransfers extends APIResource {
7
7
  /**
8
8
  * Create a Wire Transfer
@@ -1 +1 @@
1
- {"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,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AC9F,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAkB;CAAG;AA4gB5D,WAAiB,aAAa;IAEd,+BAAiB,GAAG,gBAAgB,CAAC,iBAAiB,CAAC;AAGvE,CAAC,EALgB,aAAa,KAAb,aAAa,QAK7B"}
package/src/core.ts CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  type HeadersInit,
19
19
  } from './_shims/index';
20
20
  export { type Response };
21
- import { isMultipartBody } from './uploads';
21
+ import { BlobLike, isBlobLike, isMultipartBody } from './uploads';
22
22
  export {
23
23
  maybeMultipartFormRequestOptions,
24
24
  multipartFormRequestOptions,
@@ -235,7 +235,17 @@ export abstract class APIClient {
235
235
  path: string,
236
236
  opts?: PromiseOrValue<RequestOptions<Req>>,
237
237
  ): APIPromise<Rsp> {
238
- return this.request(Promise.resolve(opts).then((opts) => ({ method, path, ...opts })));
238
+ return this.request(
239
+ Promise.resolve(opts).then(async (opts) => {
240
+ const body =
241
+ opts && isBlobLike(opts?.body) ? new DataView(await opts.body.arrayBuffer())
242
+ : opts?.body instanceof DataView ? opts.body
243
+ : opts?.body instanceof ArrayBuffer ? new DataView(opts.body)
244
+ : opts && ArrayBuffer.isView(opts?.body) ? new DataView(opts.body.buffer)
245
+ : opts?.body;
246
+ return { method, path, ...opts, body };
247
+ }),
248
+ );
239
249
  }
240
250
 
241
251
  getAPIList<Item, PageClass extends AbstractPage<Item> = AbstractPage<Item>>(
@@ -257,6 +267,8 @@ export abstract class APIClient {
257
267
  const encoded = encoder.encode(body);
258
268
  return encoded.length.toString();
259
269
  }
270
+ } else if (ArrayBuffer.isView(body)) {
271
+ return body.byteLength.toString();
260
272
  }
261
273
 
262
274
  return null;
@@ -266,7 +278,9 @@ export abstract class APIClient {
266
278
  const { method, path, query, headers: headers = {} } = options;
267
279
 
268
280
  const body =
269
- isMultipartBody(options.body) ? options.body.body
281
+ ArrayBuffer.isView(options.body) || (options.__binaryRequest && typeof options.body === 'string') ?
282
+ options.body
283
+ : isMultipartBody(options.body) ? options.body.body
270
284
  : options.body ? JSON.stringify(options.body, null, 2)
271
285
  : null;
272
286
  const contentLength = this.calculateContentLength(body);
@@ -721,7 +735,9 @@ export type Headers = Record<string, string | null | undefined>;
721
735
  export type DefaultQuery = Record<string, string | undefined>;
722
736
  export type KeysEnum<T> = { [P in keyof Required<T>]: true };
723
737
 
724
- export type RequestOptions<Req = unknown | Record<string, unknown> | Readable> = {
738
+ export type RequestOptions<
739
+ Req = unknown | Record<string, unknown> | Readable | BlobLike | ArrayBufferView | ArrayBuffer,
740
+ > = {
725
741
  method?: HTTPMethod;
726
742
  path?: string;
727
743
  query?: Req | undefined;
@@ -735,6 +751,7 @@ export type RequestOptions<Req = unknown | Record<string, unknown> | Readable> =
735
751
  signal?: AbortSignal | undefined | null;
736
752
  idempotencyKey?: string;
737
753
 
754
+ __binaryRequest?: boolean | undefined;
738
755
  __binaryResponse?: boolean | undefined;
739
756
  };
740
757
 
@@ -755,6 +772,7 @@ const requestOptionsKeys: KeysEnum<RequestOptions> = {
755
772
  signal: true,
756
773
  idempotencyKey: true,
757
774
 
775
+ __binaryRequest: true,
758
776
  __binaryResponse: true,
759
777
  };
760
778
 
@@ -767,10 +785,11 @@ export const isRequestOptions = (obj: unknown): obj is RequestOptions => {
767
785
  );
768
786
  };
769
787
 
770
- export type FinalRequestOptions<Req = unknown | Record<string, unknown> | Readable> = RequestOptions<Req> & {
771
- method: HTTPMethod;
772
- path: string;
773
- };
788
+ export type FinalRequestOptions<Req = unknown | Record<string, unknown> | Readable | DataView> =
789
+ RequestOptions<Req> & {
790
+ method: HTTPMethod;
791
+ path: string;
792
+ };
774
793
 
775
794
  declare const Deno: any;
776
795
  declare const EdgeRuntime: any;
package/src/index.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import * as Core from './core';
4
3
  import * as Errors from './error';
5
- import { type Agent } from './_shims/index';
6
4
  import * as Uploads from './uploads';
5
+ import { type Agent } from './_shims/index';
7
6
  import * as qs from 'qs';
8
- import * as Pagination from "./pagination";
9
- import * as API from "./resources/index";
7
+ import * as Core from './core';
8
+ import * as Pagination from './pagination';
9
+ import * as API from './resources/index';
10
10
 
11
11
  const environments = {
12
12
  production: 'https://api.increase.com',
@@ -91,7 +91,9 @@ export interface ClientOptions {
91
91
  defaultQuery?: Core.DefaultQuery;
92
92
  }
93
93
 
94
- /** API Client for interfacing with the Increase API. */
94
+ /**
95
+ * API Client for interfacing with the Increase API.
96
+ */
95
97
  export class Increase extends Core.APIClient {
96
98
  apiKey: string;
97
99
  webhookSecret: string | null;
@@ -145,6 +147,7 @@ export class Increase extends Core.APIClient {
145
147
  maxRetries: options.maxRetries,
146
148
  fetch: options.fetch,
147
149
  });
150
+
148
151
  this._options = options;
149
152
  this.idempotencyHeader = 'Idempotency-Key';
150
153
 
@@ -194,14 +197,16 @@ export class Increase extends Core.APIClient {
194
197
  proofOfAuthorizationRequestSubmissions: API.ProofOfAuthorizationRequestSubmissions =
195
198
  new API.ProofOfAuthorizationRequestSubmissions(this);
196
199
  intrafi: API.Intrafi = new API.Intrafi(this);
200
+ webhooks: API.Webhooks = new API.Webhooks(this);
197
201
  realTimePaymentsRequestForPayments: API.RealTimePaymentsRequestForPayments =
198
202
  new API.RealTimePaymentsRequestForPayments(this);
199
- webhooks: API.Webhooks = new API.Webhooks(this);
200
203
  oauthTokens: API.OAuthTokens = new API.OAuthTokens(this);
201
204
  inboundWireTransfers: API.InboundWireTransfers = new API.InboundWireTransfers(this);
202
205
  digitalCardProfiles: API.DigitalCardProfiles = new API.DigitalCardProfiles(this);
203
206
  physicalCardProfiles: API.PhysicalCardProfiles = new API.PhysicalCardProfiles(this);
204
207
  inboundCheckDeposits: API.InboundCheckDeposits = new API.InboundCheckDeposits(this);
208
+ inboundMailItems: API.InboundMailItems = new API.InboundMailItems(this);
209
+ lockboxes: API.Lockboxes = new API.Lockboxes(this);
205
210
 
206
211
  protected override defaultQuery(): Core.DefaultQuery | undefined {
207
212
  return this._options.defaultQuery;
@@ -563,6 +568,20 @@ export namespace Increase {
563
568
  export import InboundCheckDeposit = API.InboundCheckDeposit;
564
569
  export import InboundCheckDepositsPage = API.InboundCheckDepositsPage;
565
570
  export import InboundCheckDepositListParams = API.InboundCheckDepositListParams;
571
+
572
+ export import InboundMailItems = API.InboundMailItems;
573
+ export import InboundMailItem = API.InboundMailItem;
574
+ export import InboundMailItemList = API.InboundMailItemList;
575
+ export import InboundMailItemsPage = API.InboundMailItemsPage;
576
+ export import InboundMailItemListParams = API.InboundMailItemListParams;
577
+
578
+ export import Lockboxes = API.Lockboxes;
579
+ export import Lockbox = API.Lockbox;
580
+ export import LockboxList = API.LockboxList;
581
+ export import LockboxesPage = API.LockboxesPage;
582
+ export import LockboxCreateParams = API.LockboxCreateParams;
583
+ export import LockboxUpdateParams = API.LockboxUpdateParams;
584
+ export import LockboxListParams = API.LockboxListParams;
566
585
  }
567
586
 
568
587
  export default Increase;
@@ -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 AccountNumbersAPI from "./account-numbers";
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 AccountNumbersAPI from './account-numbers';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class AccountNumbers 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 AccountStatementsAPI from "./account-statements";
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 AccountStatementsAPI from './account-statements';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class AccountStatements 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 AccountTransfersAPI from "./account-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 AccountTransfersAPI from './account-transfers';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class AccountTransfers extends APIResource {
10
10
  /**
@@ -94,6 +94,11 @@ export interface AccountTransfer {
94
94
  */
95
95
  created_at: string;
96
96
 
97
+ /**
98
+ * What object created the transfer, either via the API or the dashboard.
99
+ */
100
+ created_by: AccountTransfer.CreatedBy | null;
101
+
97
102
  /**
98
103
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
99
104
  * account currency.
@@ -199,6 +204,69 @@ export namespace AccountTransfer {
199
204
  */
200
205
  canceled_by: string | null;
201
206
  }
207
+
208
+ /**
209
+ * What object created the transfer, either via the API or the dashboard.
210
+ */
211
+ export interface CreatedBy {
212
+ /**
213
+ * If present, details about the API key that created the transfer.
214
+ */
215
+ api_key: CreatedBy.APIKey | null;
216
+
217
+ /**
218
+ * The type of object that created this transfer.
219
+ *
220
+ * - `api_key` - An API key. Details will be under the `api_key` object.
221
+ * - `oauth_application` - An OAuth application you connected to Increase. Details
222
+ * will be under the `oauth_application` object.
223
+ * - `user` - A User in the Increase dashboard. Details will be under the `user`
224
+ * object.
225
+ */
226
+ category: 'api_key' | 'oauth_application' | 'user';
227
+
228
+ /**
229
+ * If present, details about the OAuth Application that created the transfer.
230
+ */
231
+ oauth_application: CreatedBy.OAuthApplication | null;
232
+
233
+ /**
234
+ * If present, details about the User that created the transfer.
235
+ */
236
+ user: CreatedBy.User | null;
237
+ }
238
+
239
+ export namespace CreatedBy {
240
+ /**
241
+ * If present, details about the API key that created the transfer.
242
+ */
243
+ export interface APIKey {
244
+ /**
245
+ * The description set for the API key when it was created.
246
+ */
247
+ description: string | null;
248
+ }
249
+
250
+ /**
251
+ * If present, details about the OAuth Application that created the transfer.
252
+ */
253
+ export interface OAuthApplication {
254
+ /**
255
+ * The name of the OAuth Application.
256
+ */
257
+ name: string;
258
+ }
259
+
260
+ /**
261
+ * If present, details about the User that created the transfer.
262
+ */
263
+ export interface User {
264
+ /**
265
+ * The email address of the User.
266
+ */
267
+ email: string;
268
+ }
269
+ }
202
270
  }
203
271
 
204
272
  export interface AccountTransferCreateParams {
@@ -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 AccountsAPI from "./accounts";
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 AccountsAPI from './accounts';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class Accounts extends APIResource {
10
10
  /**
@@ -95,6 +95,12 @@ export interface Account {
95
95
  */
96
96
  bank: 'blue_ridge_bank' | 'first_internet_bank';
97
97
 
98
+ /**
99
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
100
+ * was closed.
101
+ */
102
+ closed_at: string | null;
103
+
98
104
  /**
99
105
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
100
106
  * was created.
@@ -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 ACHPrenotificationsAPI from "./ach-prenotifications";
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 ACHPrenotificationsAPI from './ach-prenotifications';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
9
  export class ACHPrenotifications extends APIResource {
10
10
  /**