increase 0.11.7 → 0.12.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 (406) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +3 -3
  3. package/_shims/auto/types.d.ts +3 -1
  4. package/_shims/index.d.ts +2 -0
  5. package/_shims/node-runtime.d.ts.map +1 -1
  6. package/_shims/node-runtime.js +3 -0
  7. package/_shims/node-runtime.js.map +1 -1
  8. package/_shims/node-runtime.mjs +2 -0
  9. package/_shims/node-runtime.mjs.map +1 -1
  10. package/_shims/node-types.d.ts +1 -1
  11. package/_shims/registry.d.ts +2 -0
  12. package/_shims/registry.d.ts.map +1 -1
  13. package/_shims/registry.js +3 -1
  14. package/_shims/registry.js.map +1 -1
  15. package/_shims/registry.mjs +2 -0
  16. package/_shims/registry.mjs.map +1 -1
  17. package/_shims/web-runtime.d.ts.map +1 -1
  18. package/_shims/web-runtime.js +8 -0
  19. package/_shims/web-runtime.js.map +1 -1
  20. package/_shims/web-runtime.mjs +8 -0
  21. package/_shims/web-runtime.mjs.map +1 -1
  22. package/_shims/web-types.d.ts +2 -1
  23. package/core.d.ts +1 -1
  24. package/core.d.ts.map +1 -1
  25. package/core.js +26 -13
  26. package/core.js.map +1 -1
  27. package/core.mjs +24 -11
  28. package/core.mjs.map +1 -1
  29. package/error.d.ts.map +1 -1
  30. package/error.js +14 -4
  31. package/error.js.map +1 -1
  32. package/error.mjs +14 -4
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts +4 -3
  35. package/index.d.ts +4 -3
  36. package/index.d.ts.map +1 -1
  37. package/index.js +3 -3
  38. package/index.js.map +1 -1
  39. package/index.mjs +3 -3
  40. package/index.mjs.map +1 -1
  41. package/package.json +3 -2
  42. package/resources/account-numbers.d.ts +7 -9
  43. package/resources/account-numbers.d.ts.map +1 -1
  44. package/resources/account-numbers.js +25 -0
  45. package/resources/account-numbers.js.map +1 -1
  46. package/resources/account-numbers.mjs +2 -0
  47. package/resources/account-numbers.mjs.map +1 -1
  48. package/resources/account-statements.d.ts +5 -7
  49. package/resources/account-statements.d.ts.map +1 -1
  50. package/resources/account-statements.js +25 -0
  51. package/resources/account-statements.js.map +1 -1
  52. package/resources/account-statements.mjs +2 -0
  53. package/resources/account-statements.mjs.map +1 -1
  54. package/resources/account-transfers.d.ts +6 -8
  55. package/resources/account-transfers.d.ts.map +1 -1
  56. package/resources/account-transfers.js +25 -0
  57. package/resources/account-transfers.js.map +1 -1
  58. package/resources/account-transfers.mjs +2 -0
  59. package/resources/account-transfers.mjs.map +1 -1
  60. package/resources/accounts.d.ts +7 -9
  61. package/resources/accounts.d.ts.map +1 -1
  62. package/resources/accounts.js +25 -0
  63. package/resources/accounts.js.map +1 -1
  64. package/resources/accounts.mjs +2 -0
  65. package/resources/accounts.mjs.map +1 -1
  66. package/resources/ach-prenotifications.d.ts +6 -8
  67. package/resources/ach-prenotifications.d.ts.map +1 -1
  68. package/resources/ach-prenotifications.js +25 -0
  69. package/resources/ach-prenotifications.js.map +1 -1
  70. package/resources/ach-prenotifications.mjs +2 -0
  71. package/resources/ach-prenotifications.mjs.map +1 -1
  72. package/resources/ach-transfers.d.ts +6 -8
  73. package/resources/ach-transfers.d.ts.map +1 -1
  74. package/resources/ach-transfers.js +25 -0
  75. package/resources/ach-transfers.js.map +1 -1
  76. package/resources/ach-transfers.mjs +2 -0
  77. package/resources/ach-transfers.mjs.map +1 -1
  78. package/resources/balance-lookups.d.ts +3 -3
  79. package/resources/balance-lookups.d.ts.map +1 -1
  80. package/resources/bookkeeping-accounts.d.ts +17 -8
  81. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  82. package/resources/bookkeeping-accounts.js +31 -0
  83. package/resources/bookkeeping-accounts.js.map +1 -1
  84. package/resources/bookkeeping-accounts.mjs +8 -0
  85. package/resources/bookkeeping-accounts.mjs.map +1 -1
  86. package/resources/bookkeeping-entries.d.ts +5 -7
  87. package/resources/bookkeeping-entries.d.ts.map +1 -1
  88. package/resources/bookkeeping-entries.js +25 -0
  89. package/resources/bookkeeping-entries.js.map +1 -1
  90. package/resources/bookkeeping-entries.mjs +2 -0
  91. package/resources/bookkeeping-entries.mjs.map +1 -1
  92. package/resources/bookkeeping-entry-sets.d.ts +3 -3
  93. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  94. package/resources/card-disputes.d.ts +6 -8
  95. package/resources/card-disputes.d.ts.map +1 -1
  96. package/resources/card-disputes.js +25 -0
  97. package/resources/card-disputes.js.map +1 -1
  98. package/resources/card-disputes.mjs +2 -0
  99. package/resources/card-disputes.mjs.map +1 -1
  100. package/resources/card-payments.d.ts +5 -7
  101. package/resources/card-payments.d.ts.map +1 -1
  102. package/resources/card-payments.js +25 -0
  103. package/resources/card-payments.js.map +1 -1
  104. package/resources/card-payments.mjs +2 -0
  105. package/resources/card-payments.mjs.map +1 -1
  106. package/resources/card-profiles.d.ts +6 -8
  107. package/resources/card-profiles.d.ts.map +1 -1
  108. package/resources/card-profiles.js +25 -0
  109. package/resources/card-profiles.js.map +1 -1
  110. package/resources/card-profiles.mjs +2 -0
  111. package/resources/card-profiles.mjs.map +1 -1
  112. package/resources/card-purchase-supplements.d.ts +5 -7
  113. package/resources/card-purchase-supplements.d.ts.map +1 -1
  114. package/resources/card-purchase-supplements.js +25 -0
  115. package/resources/card-purchase-supplements.js.map +1 -1
  116. package/resources/card-purchase-supplements.mjs +2 -0
  117. package/resources/card-purchase-supplements.mjs.map +1 -1
  118. package/resources/cards.d.ts +8 -10
  119. package/resources/cards.d.ts.map +1 -1
  120. package/resources/cards.js +25 -0
  121. package/resources/cards.js.map +1 -1
  122. package/resources/cards.mjs +2 -0
  123. package/resources/cards.mjs.map +1 -1
  124. package/resources/check-deposits.d.ts +6 -8
  125. package/resources/check-deposits.d.ts.map +1 -1
  126. package/resources/check-deposits.js +25 -0
  127. package/resources/check-deposits.js.map +1 -1
  128. package/resources/check-deposits.mjs +2 -0
  129. package/resources/check-deposits.mjs.map +1 -1
  130. package/resources/check-transfers.d.ts +11 -9
  131. package/resources/check-transfers.d.ts.map +1 -1
  132. package/resources/check-transfers.js +25 -0
  133. package/resources/check-transfers.js.map +1 -1
  134. package/resources/check-transfers.mjs +2 -0
  135. package/resources/check-transfers.mjs.map +1 -1
  136. package/resources/declined-transactions.d.ts +5 -7
  137. package/resources/declined-transactions.d.ts.map +1 -1
  138. package/resources/declined-transactions.js +25 -0
  139. package/resources/declined-transactions.js.map +1 -1
  140. package/resources/declined-transactions.mjs +2 -0
  141. package/resources/declined-transactions.mjs.map +1 -1
  142. package/resources/digital-wallet-tokens.d.ts +5 -7
  143. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  144. package/resources/digital-wallet-tokens.js +25 -0
  145. package/resources/digital-wallet-tokens.js.map +1 -1
  146. package/resources/digital-wallet-tokens.mjs +2 -0
  147. package/resources/digital-wallet-tokens.mjs.map +1 -1
  148. package/resources/documents.d.ts +5 -7
  149. package/resources/documents.d.ts.map +1 -1
  150. package/resources/documents.js +25 -0
  151. package/resources/documents.js.map +1 -1
  152. package/resources/documents.mjs +2 -0
  153. package/resources/documents.mjs.map +1 -1
  154. package/resources/entities/beneficial-owners.d.ts +10 -9
  155. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  156. package/resources/entities/beneficial-owners.js.map +1 -1
  157. package/resources/entities/beneficial-owners.mjs.map +1 -1
  158. package/resources/entities/entities.d.ts +22 -23
  159. package/resources/entities/entities.d.ts.map +1 -1
  160. package/resources/entities/entities.js +9 -8
  161. package/resources/entities/entities.js.map +1 -1
  162. package/resources/entities/entities.mjs +9 -8
  163. package/resources/entities/entities.mjs.map +1 -1
  164. package/resources/entities/supplemental-documents.d.ts +8 -10
  165. package/resources/entities/supplemental-documents.d.ts.map +1 -1
  166. package/resources/entities/supplemental-documents.js +25 -0
  167. package/resources/entities/supplemental-documents.js.map +1 -1
  168. package/resources/entities/supplemental-documents.mjs +2 -0
  169. package/resources/entities/supplemental-documents.mjs.map +1 -1
  170. package/resources/event-subscriptions.d.ts +13 -11
  171. package/resources/event-subscriptions.d.ts.map +1 -1
  172. package/resources/event-subscriptions.js +25 -0
  173. package/resources/event-subscriptions.js.map +1 -1
  174. package/resources/event-subscriptions.mjs +2 -0
  175. package/resources/event-subscriptions.mjs.map +1 -1
  176. package/resources/events.d.ts +9 -9
  177. package/resources/events.d.ts.map +1 -1
  178. package/resources/events.js +25 -0
  179. package/resources/events.js.map +1 -1
  180. package/resources/events.mjs +2 -0
  181. package/resources/events.mjs.map +1 -1
  182. package/resources/exports.d.ts +6 -8
  183. package/resources/exports.d.ts.map +1 -1
  184. package/resources/exports.js +25 -0
  185. package/resources/exports.js.map +1 -1
  186. package/resources/exports.mjs +2 -0
  187. package/resources/exports.mjs.map +1 -1
  188. package/resources/external-accounts.d.ts +7 -9
  189. package/resources/external-accounts.d.ts.map +1 -1
  190. package/resources/external-accounts.js +25 -0
  191. package/resources/external-accounts.js.map +1 -1
  192. package/resources/external-accounts.mjs +2 -0
  193. package/resources/external-accounts.mjs.map +1 -1
  194. package/resources/files.d.ts +6 -8
  195. package/resources/files.d.ts.map +1 -1
  196. package/resources/files.js +25 -0
  197. package/resources/files.js.map +1 -1
  198. package/resources/files.mjs +2 -0
  199. package/resources/files.mjs.map +1 -1
  200. package/resources/groups.d.ts +2 -2
  201. package/resources/groups.d.ts.map +1 -1
  202. package/resources/inbound-ach-transfers.d.ts +45 -9
  203. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  204. package/resources/inbound-ach-transfers.js +25 -0
  205. package/resources/inbound-ach-transfers.js.map +1 -1
  206. package/resources/inbound-ach-transfers.mjs +2 -0
  207. package/resources/inbound-ach-transfers.mjs.map +1 -1
  208. package/resources/inbound-wire-drawdown-requests.d.ts +5 -7
  209. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  210. package/resources/inbound-wire-drawdown-requests.js +25 -0
  211. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  212. package/resources/inbound-wire-drawdown-requests.mjs +2 -0
  213. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  214. package/resources/index.d.ts +1 -1
  215. package/resources/index.d.ts.map +1 -1
  216. package/resources/index.js.map +1 -1
  217. package/resources/index.mjs.map +1 -1
  218. package/resources/oauth-connections.d.ts +5 -7
  219. package/resources/oauth-connections.d.ts.map +1 -1
  220. package/resources/oauth-connections.js +25 -0
  221. package/resources/oauth-connections.js.map +1 -1
  222. package/resources/oauth-connections.mjs +2 -0
  223. package/resources/oauth-connections.mjs.map +1 -1
  224. package/resources/pending-transactions.d.ts +5 -7
  225. package/resources/pending-transactions.d.ts.map +1 -1
  226. package/resources/pending-transactions.js +25 -0
  227. package/resources/pending-transactions.js.map +1 -1
  228. package/resources/pending-transactions.mjs +2 -0
  229. package/resources/pending-transactions.mjs.map +1 -1
  230. package/resources/physical-cards.d.ts +8 -10
  231. package/resources/physical-cards.d.ts.map +1 -1
  232. package/resources/physical-cards.js +25 -0
  233. package/resources/physical-cards.js.map +1 -1
  234. package/resources/physical-cards.mjs +2 -0
  235. package/resources/physical-cards.mjs.map +1 -1
  236. package/resources/programs.d.ts +5 -7
  237. package/resources/programs.d.ts.map +1 -1
  238. package/resources/programs.js +25 -0
  239. package/resources/programs.js.map +1 -1
  240. package/resources/programs.mjs +2 -0
  241. package/resources/programs.mjs.map +1 -1
  242. package/resources/real-time-decisions.d.ts +3 -3
  243. package/resources/real-time-decisions.d.ts.map +1 -1
  244. package/resources/real-time-payments-transfers.d.ts +6 -8
  245. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  246. package/resources/real-time-payments-transfers.js +25 -0
  247. package/resources/real-time-payments-transfers.js.map +1 -1
  248. package/resources/real-time-payments-transfers.mjs +2 -0
  249. package/resources/real-time-payments-transfers.mjs.map +1 -1
  250. package/resources/routing-numbers.d.ts +5 -7
  251. package/resources/routing-numbers.d.ts.map +1 -1
  252. package/resources/routing-numbers.js +25 -0
  253. package/resources/routing-numbers.js.map +1 -1
  254. package/resources/routing-numbers.mjs +2 -0
  255. package/resources/routing-numbers.mjs.map +1 -1
  256. package/resources/simulations/account-statements.d.ts +4 -4
  257. package/resources/simulations/account-statements.d.ts.map +1 -1
  258. package/resources/simulations/account-transfers.d.ts +2 -2
  259. package/resources/simulations/account-transfers.d.ts.map +1 -1
  260. package/resources/simulations/ach-transfers.d.ts +49 -7
  261. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  262. package/resources/simulations/ach-transfers.js.map +1 -1
  263. package/resources/simulations/ach-transfers.mjs.map +1 -1
  264. package/resources/simulations/card-disputes.d.ts +4 -4
  265. package/resources/simulations/card-disputes.d.ts.map +1 -1
  266. package/resources/simulations/card-profiles.d.ts +2 -2
  267. package/resources/simulations/card-profiles.d.ts.map +1 -1
  268. package/resources/simulations/card-profiles.js.map +1 -1
  269. package/resources/simulations/card-profiles.mjs.map +1 -1
  270. package/resources/simulations/card-refunds.d.ts +4 -4
  271. package/resources/simulations/card-refunds.d.ts.map +1 -1
  272. package/resources/simulations/cards.d.ts +6 -6
  273. package/resources/simulations/cards.d.ts.map +1 -1
  274. package/resources/simulations/check-deposits.d.ts +4 -4
  275. package/resources/simulations/check-deposits.d.ts.map +1 -1
  276. package/resources/simulations/check-transfers.d.ts +3 -3
  277. package/resources/simulations/check-transfers.d.ts.map +1 -1
  278. package/resources/simulations/digital-wallet-token-requests.d.ts +3 -3
  279. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  280. package/resources/simulations/documents.d.ts +4 -4
  281. package/resources/simulations/documents.d.ts.map +1 -1
  282. package/resources/simulations/inbound-funds-holds.d.ts +2 -2
  283. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
  284. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -4
  285. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  286. package/resources/simulations/interest-payments.d.ts +7 -3
  287. package/resources/simulations/interest-payments.d.ts.map +1 -1
  288. package/resources/simulations/interest-payments.js.map +1 -1
  289. package/resources/simulations/interest-payments.mjs.map +1 -1
  290. package/resources/simulations/physical-cards.d.ts +4 -4
  291. package/resources/simulations/physical-cards.d.ts.map +1 -1
  292. package/resources/simulations/programs.d.ts +4 -4
  293. package/resources/simulations/programs.d.ts.map +1 -1
  294. package/resources/simulations/real-time-payments-transfers.d.ts +10 -6
  295. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  296. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  297. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  298. package/resources/simulations/simulations.d.ts +77 -78
  299. package/resources/simulations/simulations.d.ts.map +1 -1
  300. package/resources/simulations/simulations.js +54 -55
  301. package/resources/simulations/simulations.js.map +1 -1
  302. package/resources/simulations/simulations.mjs +54 -55
  303. package/resources/simulations/simulations.mjs.map +1 -1
  304. package/resources/simulations/wire-transfers.d.ts +7 -3
  305. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  306. package/resources/simulations/wire-transfers.js.map +1 -1
  307. package/resources/simulations/wire-transfers.mjs.map +1 -1
  308. package/resources/transactions.d.ts +9 -7
  309. package/resources/transactions.d.ts.map +1 -1
  310. package/resources/transactions.js +25 -0
  311. package/resources/transactions.js.map +1 -1
  312. package/resources/transactions.mjs +2 -0
  313. package/resources/transactions.mjs.map +1 -1
  314. package/resources/wire-drawdown-requests.d.ts +6 -8
  315. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  316. package/resources/wire-drawdown-requests.js +25 -0
  317. package/resources/wire-drawdown-requests.js.map +1 -1
  318. package/resources/wire-drawdown-requests.mjs +2 -0
  319. package/resources/wire-drawdown-requests.mjs.map +1 -1
  320. package/resources/wire-transfers.d.ts +6 -8
  321. package/resources/wire-transfers.d.ts.map +1 -1
  322. package/resources/wire-transfers.js +25 -0
  323. package/resources/wire-transfers.js.map +1 -1
  324. package/resources/wire-transfers.mjs +2 -0
  325. package/resources/wire-transfers.mjs.map +1 -1
  326. package/shims/node.d.ts +1 -1
  327. package/shims/node.d.ts.map +1 -1
  328. package/shims/web.d.ts +1 -1
  329. package/shims/web.d.ts.map +1 -1
  330. package/src/_shims/auto/types.d.ts +3 -1
  331. package/src/_shims/index.d.ts +2 -0
  332. package/src/_shims/node-runtime.ts +4 -0
  333. package/src/_shims/node-types.d.ts +1 -1
  334. package/src/_shims/registry.ts +3 -0
  335. package/src/_shims/web-runtime.ts +12 -0
  336. package/src/_shims/web-types.d.ts +2 -1
  337. package/src/core.ts +26 -9
  338. package/src/error.ts +15 -5
  339. package/src/index.ts +5 -4
  340. package/src/resources/account-numbers.ts +7 -9
  341. package/src/resources/account-statements.ts +5 -7
  342. package/src/resources/account-transfers.ts +6 -8
  343. package/src/resources/accounts.ts +7 -9
  344. package/src/resources/ach-prenotifications.ts +6 -8
  345. package/src/resources/ach-transfers.ts +6 -8
  346. package/src/resources/balance-lookups.ts +3 -3
  347. package/src/resources/bookkeeping-accounts.ts +25 -8
  348. package/src/resources/bookkeeping-entries.ts +5 -7
  349. package/src/resources/bookkeeping-entry-sets.ts +3 -3
  350. package/src/resources/card-disputes.ts +6 -8
  351. package/src/resources/card-payments.ts +5 -7
  352. package/src/resources/card-profiles.ts +6 -8
  353. package/src/resources/card-purchase-supplements.ts +5 -7
  354. package/src/resources/cards.ts +8 -10
  355. package/src/resources/check-deposits.ts +6 -8
  356. package/src/resources/check-transfers.ts +12 -9
  357. package/src/resources/declined-transactions.ts +5 -7
  358. package/src/resources/digital-wallet-tokens.ts +5 -7
  359. package/src/resources/documents.ts +5 -7
  360. package/src/resources/entities/beneficial-owners.ts +13 -9
  361. package/src/resources/entities/entities.ts +25 -25
  362. package/src/resources/entities/supplemental-documents.ts +8 -10
  363. package/src/resources/event-subscriptions.ts +13 -9
  364. package/src/resources/events.ts +9 -7
  365. package/src/resources/exports.ts +6 -8
  366. package/src/resources/external-accounts.ts +7 -9
  367. package/src/resources/files.ts +6 -8
  368. package/src/resources/groups.ts +2 -2
  369. package/src/resources/inbound-ach-transfers.ts +50 -9
  370. package/src/resources/inbound-wire-drawdown-requests.ts +5 -7
  371. package/src/resources/index.ts +1 -0
  372. package/src/resources/oauth-connections.ts +5 -7
  373. package/src/resources/pending-transactions.ts +5 -7
  374. package/src/resources/physical-cards.ts +8 -10
  375. package/src/resources/programs.ts +5 -7
  376. package/src/resources/real-time-decisions.ts +3 -3
  377. package/src/resources/real-time-payments-transfers.ts +6 -8
  378. package/src/resources/routing-numbers.ts +5 -7
  379. package/src/resources/simulations/account-statements.ts +4 -4
  380. package/src/resources/simulations/account-transfers.ts +2 -2
  381. package/src/resources/simulations/ach-transfers.ts +55 -7
  382. package/src/resources/simulations/card-disputes.ts +4 -4
  383. package/src/resources/simulations/card-profiles.ts +5 -2
  384. package/src/resources/simulations/card-refunds.ts +4 -4
  385. package/src/resources/simulations/cards.ts +6 -6
  386. package/src/resources/simulations/check-deposits.ts +4 -4
  387. package/src/resources/simulations/check-transfers.ts +3 -3
  388. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  389. package/src/resources/simulations/documents.ts +4 -4
  390. package/src/resources/simulations/inbound-funds-holds.ts +2 -2
  391. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  392. package/src/resources/simulations/interest-payments.ts +8 -3
  393. package/src/resources/simulations/physical-cards.ts +4 -4
  394. package/src/resources/simulations/programs.ts +4 -4
  395. package/src/resources/simulations/real-time-payments-transfers.ts +11 -6
  396. package/src/resources/simulations/simulations.ts +88 -95
  397. package/src/resources/simulations/wire-transfers.ts +8 -3
  398. package/src/resources/transactions.ts +10 -7
  399. package/src/resources/wire-drawdown-requests.ts +6 -8
  400. package/src/resources/wire-transfers.ts +6 -8
  401. package/src/shims/node.ts +1 -1
  402. package/src/shims/web.ts +1 -1
  403. package/src/version.ts +1 -1
  404. package/version.d.ts +1 -1
  405. package/version.js +1 -1
  406. package/version.mjs +1 -1
@@ -3,14 +3,17 @@
3
3
  import * as Core from "../../e/core";
4
4
  import { APIResource } from "../../e/resource";
5
5
  import { isRequestOptions } from "../../e/core";
6
- import { BeneficialOwners } from './beneficial-owners';
7
- import { SupplementalDocuments } from './supplemental-documents';
8
- import * as API from './index';
9
- import { Page, PageParams } from "../../e/pagination";
6
+ import * as EntitiesAPI from "../../e/resources/entities/entities";
7
+ import * as BeneficialOwnersAPI from "../../e/resources/entities/beneficial-owners";
8
+ import * as SupplementalDocumentsAPI from "../../e/resources/entities/supplemental-documents";
9
+ import { Page, type PageParams } from "../../e/pagination";
10
10
 
11
11
  export class Entities extends APIResource {
12
- beneficialOwners: BeneficialOwners = new BeneficialOwners(this.client);
13
- supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
12
+ beneficialOwners: BeneficialOwnersAPI.BeneficialOwners = new BeneficialOwnersAPI.BeneficialOwners(
13
+ this.client,
14
+ );
15
+ supplementalDocuments: SupplementalDocumentsAPI.SupplementalDocuments =
16
+ new SupplementalDocumentsAPI.SupplementalDocuments(this.client);
14
17
 
15
18
  /**
16
19
  * Create an Entity
@@ -61,8 +64,6 @@ export class Entities extends APIResource {
61
64
  }
62
65
 
63
66
  export class EntitiesPage extends Page<Entity> {}
64
- // alias so we can export it in the namespace
65
- type _EntitiesPage = EntitiesPage;
66
67
 
67
68
  /**
68
69
  * Entities are the legal entities that own accounts. They can be people,
@@ -943,7 +944,8 @@ export namespace EntityCreateParams {
943
944
 
944
945
  /**
945
946
  * Why this person is considered a beneficial owner of the entity. At least one
946
- * option is required.
947
+ * option is required, if a person is both a control person and owner, submit an
948
+ * array containing both.
947
949
  */
948
950
  prongs: Array<'ownership' | 'control'>;
949
951
 
@@ -2140,20 +2142,18 @@ export namespace EntityUpdateAddressParams {
2140
2142
  }
2141
2143
 
2142
2144
  export namespace Entities {
2143
- export import Entity = API.Entity;
2144
- export type EntitiesPage = _EntitiesPage;
2145
- export import EntityCreateParams = API.EntityCreateParams;
2146
- export import EntityListParams = API.EntityListParams;
2147
- export import EntityUpdateAddressParams = API.EntityUpdateAddressParams;
2148
-
2149
- export import BeneficialOwners = API.BeneficialOwners;
2150
- export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
2151
- export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
2152
- export import BeneficialOwnerUpdateAddressParams = API.BeneficialOwnerUpdateAddressParams;
2153
-
2154
- export import SupplementalDocuments = API.SupplementalDocuments;
2155
- export import SupplementalDocument = API.SupplementalDocument;
2156
- export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
2157
- export import SupplementalDocumentCreateParams = API.SupplementalDocumentCreateParams;
2158
- export import SupplementalDocumentListParams = API.SupplementalDocumentListParams;
2145
+ export import Entity = EntitiesAPI.Entity;
2146
+ export import EntitiesPage = EntitiesAPI.EntitiesPage;
2147
+ export import EntityCreateParams = EntitiesAPI.EntityCreateParams;
2148
+ export import EntityListParams = EntitiesAPI.EntityListParams;
2149
+ export import EntityUpdateAddressParams = EntitiesAPI.EntityUpdateAddressParams;
2150
+ export import BeneficialOwners = BeneficialOwnersAPI.BeneficialOwners;
2151
+ export import BeneficialOwnerCreateParams = BeneficialOwnersAPI.BeneficialOwnerCreateParams;
2152
+ export import BeneficialOwnerArchiveParams = BeneficialOwnersAPI.BeneficialOwnerArchiveParams;
2153
+ export import BeneficialOwnerUpdateAddressParams = BeneficialOwnersAPI.BeneficialOwnerUpdateAddressParams;
2154
+ export import SupplementalDocuments = SupplementalDocumentsAPI.SupplementalDocuments;
2155
+ export import SupplementalDocument = SupplementalDocumentsAPI.SupplementalDocument;
2156
+ export import SupplementalDocumentsPage = SupplementalDocumentsAPI.SupplementalDocumentsPage;
2157
+ export import SupplementalDocumentCreateParams = SupplementalDocumentsAPI.SupplementalDocumentCreateParams;
2158
+ export import SupplementalDocumentListParams = SupplementalDocumentsAPI.SupplementalDocumentListParams;
2159
2159
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  import * as Core from "../../e/core";
4
4
  import { APIResource } from "../../e/resource";
5
- import * as Entities from "../../e/resources/entities/index";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../../e/pagination";
5
+ import * as SupplementalDocumentsAPI from "../../e/resources/entities/supplemental-documents";
6
+ import * as EntitiesAPI from "../../e/resources/entities/entities";
7
+ import { Page, type PageParams } from "../../e/pagination";
8
8
 
9
9
  export class SupplementalDocuments extends APIResource {
10
10
  /**
@@ -14,7 +14,7 @@ export class SupplementalDocuments extends APIResource {
14
14
  entityId: string,
15
15
  body: SupplementalDocumentCreateParams,
16
16
  options?: Core.RequestOptions,
17
- ): Core.APIPromise<Entities.Entity> {
17
+ ): Core.APIPromise<EntitiesAPI.Entity> {
18
18
  return this.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
19
19
  }
20
20
 
@@ -33,8 +33,6 @@ export class SupplementalDocuments extends APIResource {
33
33
  }
34
34
 
35
35
  export class SupplementalDocumentsPage extends Page<SupplementalDocument> {}
36
- // alias so we can export it in the namespace
37
- type _SupplementalDocumentsPage = SupplementalDocumentsPage;
38
36
 
39
37
  /**
40
38
  * Supplemental Documents are uploaded files connected to an Entity during
@@ -74,8 +72,8 @@ export interface SupplementalDocumentListParams extends PageParams {
74
72
  }
75
73
 
76
74
  export namespace SupplementalDocuments {
77
- export import SupplementalDocument = API.SupplementalDocument;
78
- export type SupplementalDocumentsPage = _SupplementalDocumentsPage;
79
- export import SupplementalDocumentCreateParams = API.SupplementalDocumentCreateParams;
80
- export import SupplementalDocumentListParams = API.SupplementalDocumentListParams;
75
+ export import SupplementalDocument = SupplementalDocumentsAPI.SupplementalDocument;
76
+ export import SupplementalDocumentsPage = SupplementalDocumentsAPI.SupplementalDocumentsPage;
77
+ export import SupplementalDocumentCreateParams = SupplementalDocumentsAPI.SupplementalDocumentCreateParams;
78
+ export import SupplementalDocumentListParams = SupplementalDocumentsAPI.SupplementalDocumentListParams;
81
79
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as EventSubscriptionsAPI from "../e/resources/event-subscriptions";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class EventSubscriptions extends APIResource {
10
10
  /**
@@ -55,8 +55,6 @@ export class EventSubscriptions extends APIResource {
55
55
  }
56
56
 
57
57
  export class EventSubscriptionsPage extends Page<EventSubscription> {}
58
- // alias so we can export it in the namespace
59
- type _EventSubscriptionsPage = EventSubscriptionsPage;
60
58
 
61
59
  /**
62
60
  * Webhooks are event notifications we send to you by HTTPS POST requests. Event
@@ -96,6 +94,8 @@ export interface EventSubscription {
96
94
  * - `ach_transfer.updated` - Occurs whenever an ACH Transfer is updated.
97
95
  * - `bookkeeping_account.created` - Occurs whenever a Bookkeeping Account is
98
96
  * created.
97
+ * - `bookkeeping_account.updated` - Occurs whenever a Bookkeeping Account is
98
+ * updated.
99
99
  * - `bookkeeping_entry_set.updated` - Occurs whenever a Bookkeeping Entry Set is
100
100
  * created.
101
101
  * - `card.created` - Occurs whenever a Card is created.
@@ -193,6 +193,7 @@ export interface EventSubscription {
193
193
  | 'ach_transfer.created'
194
194
  | 'ach_transfer.updated'
195
195
  | 'bookkeeping_account.created'
196
+ | 'bookkeeping_account.updated'
196
197
  | 'bookkeeping_entry_set.updated'
197
198
  | 'card.created'
198
199
  | 'card.updated'
@@ -300,6 +301,8 @@ export interface EventSubscriptionCreateParams {
300
301
  * - `ach_transfer.updated` - Occurs whenever an ACH Transfer is updated.
301
302
  * - `bookkeeping_account.created` - Occurs whenever a Bookkeeping Account is
302
303
  * created.
304
+ * - `bookkeeping_account.updated` - Occurs whenever a Bookkeeping Account is
305
+ * updated.
303
306
  * - `bookkeeping_entry_set.updated` - Occurs whenever a Bookkeeping Entry Set is
304
307
  * created.
305
308
  * - `card.created` - Occurs whenever a Card is created.
@@ -397,6 +400,7 @@ export interface EventSubscriptionCreateParams {
397
400
  | 'ach_transfer.created'
398
401
  | 'ach_transfer.updated'
399
402
  | 'bookkeeping_account.created'
403
+ | 'bookkeeping_account.updated'
400
404
  | 'bookkeeping_entry_set.updated'
401
405
  | 'card.created'
402
406
  | 'card.updated'
@@ -476,9 +480,9 @@ export interface EventSubscriptionUpdateParams {
476
480
  export interface EventSubscriptionListParams extends PageParams {}
477
481
 
478
482
  export namespace EventSubscriptions {
479
- export import EventSubscription = API.EventSubscription;
480
- export type EventSubscriptionsPage = _EventSubscriptionsPage;
481
- export import EventSubscriptionCreateParams = API.EventSubscriptionCreateParams;
482
- export import EventSubscriptionUpdateParams = API.EventSubscriptionUpdateParams;
483
- export import EventSubscriptionListParams = API.EventSubscriptionListParams;
483
+ export import EventSubscription = EventSubscriptionsAPI.EventSubscription;
484
+ export import EventSubscriptionsPage = EventSubscriptionsAPI.EventSubscriptionsPage;
485
+ export import EventSubscriptionCreateParams = EventSubscriptionsAPI.EventSubscriptionCreateParams;
486
+ export import EventSubscriptionUpdateParams = EventSubscriptionsAPI.EventSubscriptionUpdateParams;
487
+ export import EventSubscriptionListParams = EventSubscriptionsAPI.EventSubscriptionListParams;
484
488
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as EventsAPI from "../e/resources/events";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class Events extends APIResource {
10
10
  /**
@@ -31,8 +31,6 @@ export class Events extends APIResource {
31
31
  }
32
32
 
33
33
  export class EventsPage extends Page<Event> {}
34
- // alias so we can export it in the namespace
35
- type _EventsPage = EventsPage;
36
34
 
37
35
  /**
38
36
  * Events are records of things that happened to objects at Increase. Events are
@@ -75,6 +73,8 @@ export interface Event {
75
73
  * - `ach_transfer.updated` - Occurs whenever an ACH Transfer is updated.
76
74
  * - `bookkeeping_account.created` - Occurs whenever a Bookkeeping Account is
77
75
  * created.
76
+ * - `bookkeeping_account.updated` - Occurs whenever a Bookkeeping Account is
77
+ * updated.
78
78
  * - `bookkeeping_entry_set.updated` - Occurs whenever a Bookkeeping Entry Set is
79
79
  * created.
80
80
  * - `card.created` - Occurs whenever a Card is created.
@@ -172,6 +172,7 @@ export interface Event {
172
172
  | 'ach_transfer.created'
173
173
  | 'ach_transfer.updated'
174
174
  | 'bookkeeping_account.created'
175
+ | 'bookkeeping_account.updated'
175
176
  | 'bookkeeping_entry_set.updated'
176
177
  | 'card.created'
177
178
  | 'card.updated'
@@ -271,6 +272,7 @@ export namespace EventListParams {
271
272
  | 'ach_transfer.created'
272
273
  | 'ach_transfer.updated'
273
274
  | 'bookkeeping_account.created'
275
+ | 'bookkeeping_account.updated'
274
276
  | 'bookkeeping_entry_set.updated'
275
277
  | 'card.created'
276
278
  | 'card.updated'
@@ -357,7 +359,7 @@ export namespace EventListParams {
357
359
  }
358
360
 
359
361
  export namespace Events {
360
- export import Event = API.Event;
361
- export type EventsPage = _EventsPage;
362
- export import EventListParams = API.EventListParams;
362
+ export import Event = EventsAPI.Event;
363
+ export import EventsPage = EventsAPI.EventsPage;
364
+ export import EventListParams = EventsAPI.EventListParams;
363
365
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as ExportsAPI from "../e/resources/exports";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class Exports extends APIResource {
10
10
  /**
@@ -38,8 +38,6 @@ export class Exports extends APIResource {
38
38
  }
39
39
 
40
40
  export class ExportsPage extends Page<Export> {}
41
- // alias so we can export it in the namespace
42
- type _ExportsPage = ExportsPage;
43
41
 
44
42
  /**
45
43
  * Exports are batch summaries of your Increase data. You can make them from the
@@ -275,8 +273,8 @@ export namespace ExportCreateParams {
275
273
  export interface ExportListParams extends PageParams {}
276
274
 
277
275
  export namespace Exports {
278
- export import Export = API.Export;
279
- export type ExportsPage = _ExportsPage;
280
- export import ExportCreateParams = API.ExportCreateParams;
281
- export import ExportListParams = API.ExportListParams;
276
+ export import Export = ExportsAPI.Export;
277
+ export import ExportsPage = ExportsAPI.ExportsPage;
278
+ export import ExportCreateParams = ExportsAPI.ExportCreateParams;
279
+ export import ExportListParams = ExportsAPI.ExportListParams;
282
280
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as ExternalAccountsAPI from "../e/resources/external-accounts";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class ExternalAccounts extends APIResource {
10
10
  /**
@@ -52,8 +52,6 @@ export class ExternalAccounts extends APIResource {
52
52
  }
53
53
 
54
54
  export class ExternalAccountsPage extends Page<ExternalAccount> {}
55
- // alias so we can export it in the namespace
56
- type _ExternalAccountsPage = ExternalAccountsPage;
57
55
 
58
56
  /**
59
57
  * External Accounts represent accounts at financial institutions other than
@@ -184,9 +182,9 @@ export namespace ExternalAccountListParams {
184
182
  }
185
183
 
186
184
  export namespace ExternalAccounts {
187
- export import ExternalAccount = API.ExternalAccount;
188
- export type ExternalAccountsPage = _ExternalAccountsPage;
189
- export import ExternalAccountCreateParams = API.ExternalAccountCreateParams;
190
- export import ExternalAccountUpdateParams = API.ExternalAccountUpdateParams;
191
- export import ExternalAccountListParams = API.ExternalAccountListParams;
185
+ export import ExternalAccount = ExternalAccountsAPI.ExternalAccount;
186
+ export import ExternalAccountsPage = ExternalAccountsAPI.ExternalAccountsPage;
187
+ export import ExternalAccountCreateParams = ExternalAccountsAPI.ExternalAccountCreateParams;
188
+ export import ExternalAccountUpdateParams = ExternalAccountsAPI.ExternalAccountUpdateParams;
189
+ export import ExternalAccountListParams = ExternalAccountsAPI.ExternalAccountListParams;
192
190
  }
@@ -3,9 +3,9 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
6
+ import * as FilesAPI from "../e/resources/files";
7
7
  import { type Uploadable, multipartFormRequestOptions } from "../e/core";
8
- import { Page, PageParams } from "../e/pagination";
8
+ import { Page, type PageParams } from "../e/pagination";
9
9
 
10
10
  export class Files extends APIResource {
11
11
  /**
@@ -41,8 +41,6 @@ export class Files extends APIResource {
41
41
  }
42
42
 
43
43
  export class FilesPage extends Page<File> {}
44
- // alias so we can export it in the namespace
45
- type _FilesPage = FilesPage;
46
44
 
47
45
  /**
48
46
  * Files are objects that represent a file hosted on Increase's servers. The file
@@ -259,8 +257,8 @@ export namespace FileListParams {
259
257
  }
260
258
 
261
259
  export namespace Files {
262
- export import File = API.File;
263
- export type FilesPage = _FilesPage;
264
- export import FileCreateParams = API.FileCreateParams;
265
- export import FileListParams = API.FileListParams;
260
+ export import File = FilesAPI.File;
261
+ export import FilesPage = FilesAPI.FilesPage;
262
+ export import FileCreateParams = FilesAPI.FileCreateParams;
263
+ export import FileListParams = FilesAPI.FileListParams;
266
264
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
- import * as API from './index';
5
+ import * as GroupsAPI from "../e/resources/groups";
6
6
 
7
7
  export class Groups extends APIResource {
8
8
  /**
@@ -54,5 +54,5 @@ export interface Group {
54
54
  }
55
55
 
56
56
  export namespace Groups {
57
- export import Group = API.Group;
57
+ export import Group = GroupsAPI.Group;
58
58
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as InboundACHTransfersAPI from "../e/resources/inbound-ach-transfers";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class InboundACHTransfers extends APIResource {
10
10
  /**
@@ -66,8 +66,6 @@ export class InboundACHTransfers extends APIResource {
66
66
  }
67
67
 
68
68
  export class InboundACHTransfersPage extends Page<InboundACHTransfer> {}
69
- // alias so we can export it in the namespace
70
- type _InboundACHTransfersPage = InboundACHTransfersPage;
71
69
 
72
70
  /**
73
71
  * An Inbound ACH Transfer is an ACH transfer initiated outside of Increase to your
@@ -89,6 +87,11 @@ export interface InboundACHTransfer {
89
87
  */
90
88
  account_number_id: string;
91
89
 
90
+ /**
91
+ * Additional information sent from the originator.
92
+ */
93
+ addenda: InboundACHTransfer.Addenda | null;
94
+
92
95
  /**
93
96
  * The transfer amount in USD cents.
94
97
  */
@@ -203,6 +206,44 @@ export namespace InboundACHTransfer {
203
206
  transaction_id: string;
204
207
  }
205
208
 
209
+ /**
210
+ * Additional information sent from the originator.
211
+ */
212
+ export interface Addenda {
213
+ /**
214
+ * The type of addendum.
215
+ *
216
+ * - `freeform` - Unstructured addendum.
217
+ */
218
+ category: 'freeform';
219
+
220
+ /**
221
+ * Unstructured `payment_related_information` passed through by the originator.
222
+ */
223
+ freeform: Addenda.Freeform | null;
224
+ }
225
+
226
+ export namespace Addenda {
227
+ /**
228
+ * Unstructured `payment_related_information` passed through by the originator.
229
+ */
230
+ export interface Freeform {
231
+ /**
232
+ * Each entry represents an addendum received from the originator.
233
+ */
234
+ entries: Array<Freeform.Entry>;
235
+ }
236
+
237
+ export namespace Freeform {
238
+ export interface Entry {
239
+ /**
240
+ * The payment related information passed in the addendum.
241
+ */
242
+ payment_related_information: string;
243
+ }
244
+ }
245
+ }
246
+
206
247
  /**
207
248
  * If your transfer is declined, this will contain details of the decline.
208
249
  */
@@ -417,9 +458,9 @@ export interface InboundACHTransferTransferReturnParams {
417
458
  }
418
459
 
419
460
  export namespace InboundACHTransfers {
420
- export import InboundACHTransfer = API.InboundACHTransfer;
421
- export type InboundACHTransfersPage = _InboundACHTransfersPage;
422
- export import InboundACHTransferListParams = API.InboundACHTransferListParams;
423
- export import InboundACHTransferNotificationOfChangeParams = API.InboundACHTransferNotificationOfChangeParams;
424
- export import InboundACHTransferTransferReturnParams = API.InboundACHTransferTransferReturnParams;
461
+ export import InboundACHTransfer = InboundACHTransfersAPI.InboundACHTransfer;
462
+ export import InboundACHTransfersPage = InboundACHTransfersAPI.InboundACHTransfersPage;
463
+ export import InboundACHTransferListParams = InboundACHTransfersAPI.InboundACHTransferListParams;
464
+ export import InboundACHTransferNotificationOfChangeParams = InboundACHTransfersAPI.InboundACHTransferNotificationOfChangeParams;
465
+ export import InboundACHTransferTransferReturnParams = InboundACHTransfersAPI.InboundACHTransferTransferReturnParams;
425
466
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as InboundWireDrawdownRequestsAPI from "../e/resources/inbound-wire-drawdown-requests";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class InboundWireDrawdownRequests extends APIResource {
10
10
  /**
@@ -42,8 +42,6 @@ export class InboundWireDrawdownRequests extends APIResource {
42
42
  }
43
43
 
44
44
  export class InboundWireDrawdownRequestsPage extends Page<InboundWireDrawdownRequest> {}
45
- // alias so we can export it in the namespace
46
- type _InboundWireDrawdownRequestsPage = InboundWireDrawdownRequestsPage;
47
45
 
48
46
  /**
49
47
  * Inbound wire drawdown requests are requests from someone else to send them a
@@ -172,7 +170,7 @@ export interface InboundWireDrawdownRequest {
172
170
  export interface InboundWireDrawdownRequestListParams extends PageParams {}
173
171
 
174
172
  export namespace InboundWireDrawdownRequests {
175
- export import InboundWireDrawdownRequest = API.InboundWireDrawdownRequest;
176
- export type InboundWireDrawdownRequestsPage = _InboundWireDrawdownRequestsPage;
177
- export import InboundWireDrawdownRequestListParams = API.InboundWireDrawdownRequestListParams;
173
+ export import InboundWireDrawdownRequest = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequest;
174
+ export import InboundWireDrawdownRequestsPage = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestsPage;
175
+ export import InboundWireDrawdownRequestListParams = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestListParams;
178
176
  }
@@ -47,6 +47,7 @@ export { BalanceLookupLookupResponse, BalanceLookupLookupParams, BalanceLookups
47
47
  export {
48
48
  BookkeepingAccount,
49
49
  BookkeepingAccountCreateParams,
50
+ BookkeepingAccountUpdateParams,
50
51
  BookkeepingAccountListParams,
51
52
  BookkeepingAccountsPage,
52
53
  BookkeepingAccounts,
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as OauthConnectionsAPI from "../e/resources/oauth-connections";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class OauthConnections extends APIResource {
10
10
  /**
@@ -34,8 +34,6 @@ export class OauthConnections extends APIResource {
34
34
  }
35
35
 
36
36
  export class OauthConnectionsPage extends Page<OauthConnection> {}
37
- // alias so we can export it in the namespace
38
- type _OauthConnectionsPage = OauthConnectionsPage;
39
37
 
40
38
  /**
41
39
  * When a user authorizes your OAuth application, an OAuth Connection object is
@@ -76,7 +74,7 @@ export interface OauthConnection {
76
74
  export interface OauthConnectionListParams extends PageParams {}
77
75
 
78
76
  export namespace OauthConnections {
79
- export import OauthConnection = API.OauthConnection;
80
- export type OauthConnectionsPage = _OauthConnectionsPage;
81
- export import OauthConnectionListParams = API.OauthConnectionListParams;
77
+ export import OauthConnection = OauthConnectionsAPI.OauthConnection;
78
+ export import OauthConnectionsPage = OauthConnectionsAPI.OauthConnectionsPage;
79
+ export import OauthConnectionListParams = OauthConnectionsAPI.OauthConnectionListParams;
82
80
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as PendingTransactionsAPI from "../e/resources/pending-transactions";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class PendingTransactions extends APIResource {
10
10
  /**
@@ -34,8 +34,6 @@ export class PendingTransactions extends APIResource {
34
34
  }
35
35
 
36
36
  export class PendingTransactionsPage extends Page<PendingTransaction> {}
37
- // alias so we can export it in the namespace
38
- type _PendingTransactionsPage = PendingTransactionsPage;
39
37
 
40
38
  /**
41
39
  * Pending Transactions are potential future additions and removals of money from
@@ -763,7 +761,7 @@ export namespace PendingTransactionListParams {
763
761
  }
764
762
 
765
763
  export namespace PendingTransactions {
766
- export import PendingTransaction = API.PendingTransaction;
767
- export type PendingTransactionsPage = _PendingTransactionsPage;
768
- export import PendingTransactionListParams = API.PendingTransactionListParams;
764
+ export import PendingTransaction = PendingTransactionsAPI.PendingTransaction;
765
+ export import PendingTransactionsPage = PendingTransactionsAPI.PendingTransactionsPage;
766
+ export import PendingTransactionListParams = PendingTransactionsAPI.PendingTransactionListParams;
769
767
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as PhysicalCardsAPI from "../e/resources/physical-cards";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class PhysicalCards extends APIResource {
10
10
  /**
@@ -52,8 +52,6 @@ export class PhysicalCards extends APIResource {
52
52
  }
53
53
 
54
54
  export class PhysicalCardsPage extends Page<PhysicalCard> {}
55
- // alias so we can export it in the namespace
56
- type _PhysicalCardsPage = PhysicalCardsPage;
57
55
 
58
56
  /**
59
57
  * Custom physical Visa cards that are shipped to your customers. The artwork is
@@ -330,7 +328,7 @@ export namespace PhysicalCardCreateParams {
330
328
  line3?: string;
331
329
 
332
330
  /**
333
- * The phone number of the receipient.
331
+ * The phone number of the recipient.
334
332
  */
335
333
  phone_number?: string;
336
334
  }
@@ -386,9 +384,9 @@ export namespace PhysicalCardListParams {
386
384
  }
387
385
 
388
386
  export namespace PhysicalCards {
389
- export import PhysicalCard = API.PhysicalCard;
390
- export type PhysicalCardsPage = _PhysicalCardsPage;
391
- export import PhysicalCardCreateParams = API.PhysicalCardCreateParams;
392
- export import PhysicalCardUpdateParams = API.PhysicalCardUpdateParams;
393
- export import PhysicalCardListParams = API.PhysicalCardListParams;
387
+ export import PhysicalCard = PhysicalCardsAPI.PhysicalCard;
388
+ export import PhysicalCardsPage = PhysicalCardsAPI.PhysicalCardsPage;
389
+ export import PhysicalCardCreateParams = PhysicalCardsAPI.PhysicalCardCreateParams;
390
+ export import PhysicalCardUpdateParams = PhysicalCardsAPI.PhysicalCardUpdateParams;
391
+ export import PhysicalCardListParams = PhysicalCardsAPI.PhysicalCardListParams;
394
392
  }
@@ -3,8 +3,8 @@
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
5
  import { isRequestOptions } from "../e/core";
6
- import * as API from './index';
7
- import { Page, PageParams } from "../e/pagination";
6
+ import * as ProgramsAPI from "../e/resources/programs";
7
+ import { Page, type PageParams } from "../e/pagination";
8
8
 
9
9
  export class Programs extends APIResource {
10
10
  /**
@@ -31,8 +31,6 @@ export class Programs extends APIResource {
31
31
  }
32
32
 
33
33
  export class ProgramsPage extends Page<Program> {}
34
- // alias so we can export it in the namespace
35
- type _ProgramsPage = ProgramsPage;
36
34
 
37
35
  /**
38
36
  * Programs determine the compliance and commercial terms of Accounts. By default,
@@ -73,7 +71,7 @@ export interface Program {
73
71
  export interface ProgramListParams extends PageParams {}
74
72
 
75
73
  export namespace Programs {
76
- export import Program = API.Program;
77
- export type ProgramsPage = _ProgramsPage;
78
- export import ProgramListParams = API.ProgramListParams;
74
+ export import Program = ProgramsAPI.Program;
75
+ export import ProgramsPage = ProgramsAPI.ProgramsPage;
76
+ export import ProgramListParams = ProgramsAPI.ProgramListParams;
79
77
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as Core from "../e/core";
4
4
  import { APIResource } from "../e/resource";
5
- import * as API from './index';
5
+ import * as RealTimeDecisionsAPI from "../e/resources/real-time-decisions";
6
6
 
7
7
  export class RealTimeDecisions extends APIResource {
8
8
  /**
@@ -534,6 +534,6 @@ export namespace RealTimeDecisionActionParams {
534
534
  }
535
535
 
536
536
  export namespace RealTimeDecisions {
537
- export import RealTimeDecision = API.RealTimeDecision;
538
- export import RealTimeDecisionActionParams = API.RealTimeDecisionActionParams;
537
+ export import RealTimeDecision = RealTimeDecisionsAPI.RealTimeDecision;
538
+ export import RealTimeDecisionActionParams = RealTimeDecisionsAPI.RealTimeDecisionActionParams;
539
539
  }