increase 0.16.0 → 0.18.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 (368) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +41 -2
  3. package/core.d.ts +1 -10
  4. package/core.d.ts.map +1 -1
  5. package/core.js +6 -14
  6. package/core.js.map +1 -1
  7. package/core.mjs +5 -12
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +12 -8
  10. package/index.d.ts +12 -8
  11. package/index.d.ts.map +1 -1
  12. package/index.js +8 -5
  13. package/index.js.map +1 -1
  14. package/index.mjs +8 -5
  15. package/index.mjs.map +1 -1
  16. package/package.json +27 -23
  17. package/resource.d.ts +1 -7
  18. package/resource.d.ts.map +1 -1
  19. package/resource.js +1 -7
  20. package/resource.js.map +1 -1
  21. package/resource.mjs +1 -7
  22. package/resource.mjs.map +1 -1
  23. package/resources/account-numbers.js +4 -4
  24. package/resources/account-numbers.js.map +1 -1
  25. package/resources/account-numbers.mjs +4 -4
  26. package/resources/account-numbers.mjs.map +1 -1
  27. package/resources/account-statements.js +2 -2
  28. package/resources/account-statements.js.map +1 -1
  29. package/resources/account-statements.mjs +2 -2
  30. package/resources/account-statements.mjs.map +1 -1
  31. package/resources/account-transfers.js +5 -5
  32. package/resources/account-transfers.js.map +1 -1
  33. package/resources/account-transfers.mjs +5 -5
  34. package/resources/account-transfers.mjs.map +1 -1
  35. package/resources/accounts.d.ts +38 -0
  36. package/resources/accounts.d.ts.map +1 -1
  37. package/resources/accounts.js +11 -5
  38. package/resources/accounts.js.map +1 -1
  39. package/resources/accounts.mjs +11 -5
  40. package/resources/accounts.mjs.map +1 -1
  41. package/resources/ach-prenotifications.js +3 -3
  42. package/resources/ach-prenotifications.js.map +1 -1
  43. package/resources/ach-prenotifications.mjs +3 -3
  44. package/resources/ach-prenotifications.mjs.map +1 -1
  45. package/resources/ach-transfers.js +5 -5
  46. package/resources/ach-transfers.js.map +1 -1
  47. package/resources/ach-transfers.mjs +5 -5
  48. package/resources/ach-transfers.mjs.map +1 -1
  49. package/resources/bookkeeping-accounts.d.ts +36 -1
  50. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  51. package/resources/bookkeeping-accounts.js +9 -3
  52. package/resources/bookkeeping-accounts.js.map +1 -1
  53. package/resources/bookkeeping-accounts.mjs +9 -3
  54. package/resources/bookkeeping-accounts.mjs.map +1 -1
  55. package/resources/bookkeeping-entries.d.ts +11 -1
  56. package/resources/bookkeeping-entries.d.ts.map +1 -1
  57. package/resources/bookkeeping-entries.js +7 -1
  58. package/resources/bookkeeping-entries.js.map +1 -1
  59. package/resources/bookkeeping-entries.mjs +7 -1
  60. package/resources/bookkeeping-entries.mjs.map +1 -1
  61. package/resources/bookkeeping-entry-sets.d.ts +28 -1
  62. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  63. package/resources/bookkeeping-entry-sets.js +47 -2
  64. package/resources/bookkeeping-entry-sets.js.map +1 -1
  65. package/resources/bookkeeping-entry-sets.mjs +22 -1
  66. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  67. package/resources/card-disputes.js +3 -3
  68. package/resources/card-disputes.js.map +1 -1
  69. package/resources/card-disputes.mjs +3 -3
  70. package/resources/card-disputes.mjs.map +1 -1
  71. package/resources/card-payments.d.ts +36 -0
  72. package/resources/card-payments.d.ts.map +1 -1
  73. package/resources/card-payments.js +2 -2
  74. package/resources/card-payments.js.map +1 -1
  75. package/resources/card-payments.mjs +2 -2
  76. package/resources/card-payments.mjs.map +1 -1
  77. package/resources/card-profiles.js +4 -4
  78. package/resources/card-profiles.js.map +1 -1
  79. package/resources/card-profiles.mjs +4 -4
  80. package/resources/card-profiles.mjs.map +1 -1
  81. package/resources/card-purchase-supplements.d.ts.map +1 -1
  82. package/resources/card-purchase-supplements.js +5 -2
  83. package/resources/card-purchase-supplements.js.map +1 -1
  84. package/resources/card-purchase-supplements.mjs +5 -2
  85. package/resources/card-purchase-supplements.mjs.map +1 -1
  86. package/resources/cards.js +5 -5
  87. package/resources/cards.js.map +1 -1
  88. package/resources/cards.mjs +5 -5
  89. package/resources/cards.mjs.map +1 -1
  90. package/resources/check-deposits.js +3 -3
  91. package/resources/check-deposits.js.map +1 -1
  92. package/resources/check-deposits.mjs +3 -3
  93. package/resources/check-deposits.mjs.map +1 -1
  94. package/resources/check-transfers.js +6 -6
  95. package/resources/check-transfers.js.map +1 -1
  96. package/resources/check-transfers.mjs +6 -6
  97. package/resources/check-transfers.mjs.map +1 -1
  98. package/resources/declined-transactions.d.ts +28 -0
  99. package/resources/declined-transactions.d.ts.map +1 -1
  100. package/resources/declined-transactions.js +2 -2
  101. package/resources/declined-transactions.js.map +1 -1
  102. package/resources/declined-transactions.mjs +2 -2
  103. package/resources/declined-transactions.mjs.map +1 -1
  104. package/resources/digital-wallet-tokens.js +2 -2
  105. package/resources/digital-wallet-tokens.js.map +1 -1
  106. package/resources/digital-wallet-tokens.mjs +2 -2
  107. package/resources/digital-wallet-tokens.mjs.map +1 -1
  108. package/resources/documents.js +2 -2
  109. package/resources/documents.js.map +1 -1
  110. package/resources/documents.mjs +2 -2
  111. package/resources/documents.mjs.map +1 -1
  112. package/resources/entities/beneficial-owners.js +3 -3
  113. package/resources/entities/beneficial-owners.js.map +1 -1
  114. package/resources/entities/beneficial-owners.mjs +3 -3
  115. package/resources/entities/beneficial-owners.mjs.map +1 -1
  116. package/resources/entities/entities.d.ts.map +1 -1
  117. package/resources/entities/entities.js +7 -7
  118. package/resources/entities/entities.js.map +1 -1
  119. package/resources/entities/entities.mjs +7 -7
  120. package/resources/entities/entities.mjs.map +1 -1
  121. package/resources/entities/supplemental-documents.js +2 -2
  122. package/resources/entities/supplemental-documents.js.map +1 -1
  123. package/resources/entities/supplemental-documents.mjs +2 -2
  124. package/resources/entities/supplemental-documents.mjs.map +1 -1
  125. package/resources/event-subscriptions.js +4 -4
  126. package/resources/event-subscriptions.js.map +1 -1
  127. package/resources/event-subscriptions.mjs +4 -4
  128. package/resources/event-subscriptions.mjs.map +1 -1
  129. package/resources/events.js +2 -2
  130. package/resources/events.js.map +1 -1
  131. package/resources/events.mjs +2 -2
  132. package/resources/events.mjs.map +1 -1
  133. package/resources/exports.d.ts +29 -2
  134. package/resources/exports.d.ts.map +1 -1
  135. package/resources/exports.js +3 -3
  136. package/resources/exports.js.map +1 -1
  137. package/resources/exports.mjs +3 -3
  138. package/resources/exports.mjs.map +1 -1
  139. package/resources/external-accounts.js +4 -4
  140. package/resources/external-accounts.js.map +1 -1
  141. package/resources/external-accounts.mjs +4 -4
  142. package/resources/external-accounts.mjs.map +1 -1
  143. package/resources/files.js +3 -3
  144. package/resources/files.js.map +1 -1
  145. package/resources/files.mjs +3 -3
  146. package/resources/files.mjs.map +1 -1
  147. package/resources/groups.js +1 -1
  148. package/resources/groups.js.map +1 -1
  149. package/resources/groups.mjs +1 -1
  150. package/resources/groups.mjs.map +1 -1
  151. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  152. package/resources/inbound-ach-transfers.js +8 -5
  153. package/resources/inbound-ach-transfers.js.map +1 -1
  154. package/resources/inbound-ach-transfers.mjs +8 -5
  155. package/resources/inbound-ach-transfers.mjs.map +1 -1
  156. package/resources/inbound-wire-drawdown-requests.js +2 -2
  157. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  158. package/resources/inbound-wire-drawdown-requests.mjs +2 -2
  159. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  160. package/resources/index.d.ts +3 -4
  161. package/resources/index.d.ts.map +1 -1
  162. package/resources/index.js +2 -3
  163. package/resources/index.js.map +1 -1
  164. package/resources/index.mjs +1 -2
  165. package/resources/index.mjs.map +1 -1
  166. package/resources/oauth-connections.js +2 -2
  167. package/resources/oauth-connections.js.map +1 -1
  168. package/resources/oauth-connections.mjs +2 -2
  169. package/resources/oauth-connections.mjs.map +1 -1
  170. package/resources/pending-transactions.d.ts +18 -0
  171. package/resources/pending-transactions.d.ts.map +1 -1
  172. package/resources/pending-transactions.js +2 -2
  173. package/resources/pending-transactions.js.map +1 -1
  174. package/resources/pending-transactions.mjs +2 -2
  175. package/resources/pending-transactions.mjs.map +1 -1
  176. package/resources/physical-cards.js +4 -4
  177. package/resources/physical-cards.js.map +1 -1
  178. package/resources/physical-cards.mjs +4 -4
  179. package/resources/physical-cards.mjs.map +1 -1
  180. package/resources/programs.js +2 -2
  181. package/resources/programs.js.map +1 -1
  182. package/resources/programs.mjs +2 -2
  183. package/resources/programs.mjs.map +1 -1
  184. package/resources/real-time-decisions.d.ts +18 -0
  185. package/resources/real-time-decisions.d.ts.map +1 -1
  186. package/resources/real-time-decisions.js +2 -2
  187. package/resources/real-time-decisions.js.map +1 -1
  188. package/resources/real-time-decisions.mjs +2 -2
  189. package/resources/real-time-decisions.mjs.map +1 -1
  190. package/resources/real-time-payments-transfers.js +3 -3
  191. package/resources/real-time-payments-transfers.js.map +1 -1
  192. package/resources/real-time-payments-transfers.mjs +3 -3
  193. package/resources/real-time-payments-transfers.mjs.map +1 -1
  194. package/resources/routing-numbers.js +1 -1
  195. package/resources/routing-numbers.js.map +1 -1
  196. package/resources/routing-numbers.mjs +1 -1
  197. package/resources/routing-numbers.mjs.map +1 -1
  198. package/resources/simulations/account-statements.js +1 -1
  199. package/resources/simulations/account-statements.js.map +1 -1
  200. package/resources/simulations/account-statements.mjs +1 -1
  201. package/resources/simulations/account-statements.mjs.map +1 -1
  202. package/resources/simulations/account-transfers.js +1 -1
  203. package/resources/simulations/account-transfers.js.map +1 -1
  204. package/resources/simulations/account-transfers.mjs +1 -1
  205. package/resources/simulations/account-transfers.mjs.map +1 -1
  206. package/resources/simulations/ach-transfers.d.ts +28 -0
  207. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  208. package/resources/simulations/ach-transfers.js +3 -3
  209. package/resources/simulations/ach-transfers.js.map +1 -1
  210. package/resources/simulations/ach-transfers.mjs +3 -3
  211. package/resources/simulations/ach-transfers.mjs.map +1 -1
  212. package/resources/simulations/card-disputes.js +1 -1
  213. package/resources/simulations/card-disputes.js.map +1 -1
  214. package/resources/simulations/card-disputes.mjs +1 -1
  215. package/resources/simulations/card-disputes.mjs.map +1 -1
  216. package/resources/simulations/card-profiles.js +1 -1
  217. package/resources/simulations/card-profiles.js.map +1 -1
  218. package/resources/simulations/card-profiles.mjs +1 -1
  219. package/resources/simulations/card-profiles.mjs.map +1 -1
  220. package/resources/simulations/card-refunds.js +1 -1
  221. package/resources/simulations/card-refunds.js.map +1 -1
  222. package/resources/simulations/card-refunds.mjs +1 -1
  223. package/resources/simulations/card-refunds.mjs.map +1 -1
  224. package/resources/simulations/cards.d.ts +46 -0
  225. package/resources/simulations/cards.d.ts.map +1 -1
  226. package/resources/simulations/cards.js +2 -2
  227. package/resources/simulations/cards.js.map +1 -1
  228. package/resources/simulations/cards.mjs +2 -2
  229. package/resources/simulations/cards.mjs.map +1 -1
  230. package/resources/simulations/check-deposits.js +3 -3
  231. package/resources/simulations/check-deposits.js.map +1 -1
  232. package/resources/simulations/check-deposits.mjs +3 -3
  233. package/resources/simulations/check-deposits.mjs.map +1 -1
  234. package/resources/simulations/check-transfers.js +2 -2
  235. package/resources/simulations/check-transfers.js.map +1 -1
  236. package/resources/simulations/check-transfers.mjs +2 -2
  237. package/resources/simulations/check-transfers.mjs.map +1 -1
  238. package/resources/simulations/digital-wallet-token-requests.js +1 -1
  239. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  240. package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
  241. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  242. package/resources/simulations/documents.js +1 -1
  243. package/resources/simulations/documents.js.map +1 -1
  244. package/resources/simulations/documents.mjs +1 -1
  245. package/resources/simulations/documents.mjs.map +1 -1
  246. package/resources/simulations/inbound-funds-holds.js +1 -1
  247. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  248. package/resources/simulations/inbound-funds-holds.mjs +1 -1
  249. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  250. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  251. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  252. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  253. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  254. package/resources/simulations/interest-payments.js +1 -1
  255. package/resources/simulations/interest-payments.js.map +1 -1
  256. package/resources/simulations/interest-payments.mjs +1 -1
  257. package/resources/simulations/interest-payments.mjs.map +1 -1
  258. package/resources/simulations/physical-cards.d.ts.map +1 -1
  259. package/resources/simulations/physical-cards.js +4 -1
  260. package/resources/simulations/physical-cards.js.map +1 -1
  261. package/resources/simulations/physical-cards.mjs +4 -1
  262. package/resources/simulations/physical-cards.mjs.map +1 -1
  263. package/resources/simulations/programs.js +1 -1
  264. package/resources/simulations/programs.js.map +1 -1
  265. package/resources/simulations/programs.mjs +1 -1
  266. package/resources/simulations/programs.mjs.map +1 -1
  267. package/resources/simulations/real-time-payments-transfers.d.ts +28 -0
  268. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  269. package/resources/simulations/real-time-payments-transfers.js +2 -5
  270. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  271. package/resources/simulations/real-time-payments-transfers.mjs +2 -5
  272. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  273. package/resources/simulations/simulations.d.ts.map +1 -1
  274. package/resources/simulations/simulations.js +18 -18
  275. package/resources/simulations/simulations.js.map +1 -1
  276. package/resources/simulations/simulations.mjs +18 -18
  277. package/resources/simulations/simulations.mjs.map +1 -1
  278. package/resources/simulations/wire-transfers.js +1 -1
  279. package/resources/simulations/wire-transfers.js.map +1 -1
  280. package/resources/simulations/wire-transfers.mjs +1 -1
  281. package/resources/simulations/wire-transfers.mjs.map +1 -1
  282. package/resources/transactions.js +2 -2
  283. package/resources/transactions.js.map +1 -1
  284. package/resources/transactions.mjs +2 -2
  285. package/resources/transactions.mjs.map +1 -1
  286. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  287. package/resources/wire-drawdown-requests.js +6 -3
  288. package/resources/wire-drawdown-requests.js.map +1 -1
  289. package/resources/wire-drawdown-requests.mjs +6 -3
  290. package/resources/wire-drawdown-requests.mjs.map +1 -1
  291. package/resources/wire-transfers.js +7 -7
  292. package/resources/wire-transfers.js.map +1 -1
  293. package/resources/wire-transfers.mjs +7 -7
  294. package/resources/wire-transfers.mjs.map +1 -1
  295. package/src/core.ts +11 -23
  296. package/src/index.ts +23 -9
  297. package/src/resource.ts +3 -16
  298. package/src/resources/account-numbers.ts +4 -4
  299. package/src/resources/account-statements.ts +2 -2
  300. package/src/resources/account-transfers.ts +5 -5
  301. package/src/resources/accounts.ts +63 -5
  302. package/src/resources/ach-prenotifications.ts +3 -3
  303. package/src/resources/ach-transfers.ts +5 -5
  304. package/src/resources/bookkeeping-accounts.ts +61 -4
  305. package/src/resources/bookkeeping-entries.ts +16 -2
  306. package/src/resources/bookkeeping-entry-sets.ts +54 -2
  307. package/src/resources/card-disputes.ts +3 -3
  308. package/src/resources/card-payments.ts +52 -2
  309. package/src/resources/card-profiles.ts +4 -4
  310. package/src/resources/card-purchase-supplements.ts +5 -2
  311. package/src/resources/cards.ts +5 -5
  312. package/src/resources/check-deposits.ts +3 -3
  313. package/src/resources/check-transfers.ts +6 -6
  314. package/src/resources/declined-transactions.ts +39 -2
  315. package/src/resources/digital-wallet-tokens.ts +2 -2
  316. package/src/resources/documents.ts +2 -2
  317. package/src/resources/entities/beneficial-owners.ts +3 -3
  318. package/src/resources/entities/entities.ts +7 -7
  319. package/src/resources/entities/supplemental-documents.ts +2 -2
  320. package/src/resources/event-subscriptions.ts +4 -4
  321. package/src/resources/events.ts +2 -2
  322. package/src/resources/exports.ts +45 -5
  323. package/src/resources/external-accounts.ts +4 -4
  324. package/src/resources/files.ts +3 -3
  325. package/src/resources/groups.ts +1 -1
  326. package/src/resources/inbound-ach-transfers.ts +8 -5
  327. package/src/resources/inbound-wire-drawdown-requests.ts +2 -2
  328. package/src/resources/index.ts +6 -1
  329. package/src/resources/oauth-connections.ts +2 -2
  330. package/src/resources/pending-transactions.ts +27 -2
  331. package/src/resources/physical-cards.ts +4 -4
  332. package/src/resources/programs.ts +2 -2
  333. package/src/resources/real-time-decisions.ts +27 -2
  334. package/src/resources/real-time-payments-transfers.ts +3 -3
  335. package/src/resources/routing-numbers.ts +1 -1
  336. package/src/resources/simulations/account-statements.ts +1 -1
  337. package/src/resources/simulations/account-transfers.ts +1 -1
  338. package/src/resources/simulations/ach-transfers.ts +40 -3
  339. package/src/resources/simulations/card-disputes.ts +1 -1
  340. package/src/resources/simulations/card-profiles.ts +1 -1
  341. package/src/resources/simulations/card-refunds.ts +1 -1
  342. package/src/resources/simulations/cards.ts +64 -2
  343. package/src/resources/simulations/check-deposits.ts +3 -3
  344. package/src/resources/simulations/check-transfers.ts +2 -2
  345. package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
  346. package/src/resources/simulations/documents.ts +1 -1
  347. package/src/resources/simulations/inbound-funds-holds.ts +1 -1
  348. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  349. package/src/resources/simulations/interest-payments.ts +1 -1
  350. package/src/resources/simulations/physical-cards.ts +4 -1
  351. package/src/resources/simulations/programs.ts +1 -1
  352. package/src/resources/simulations/real-time-payments-transfers.ts +42 -5
  353. package/src/resources/simulations/simulations.ts +18 -18
  354. package/src/resources/simulations/wire-transfers.ts +1 -1
  355. package/src/resources/transactions.ts +2 -2
  356. package/src/resources/wire-drawdown-requests.ts +6 -3
  357. package/src/resources/wire-transfers.ts +7 -7
  358. package/src/version.ts +1 -1
  359. package/version.d.ts +1 -1
  360. package/version.js +1 -1
  361. package/version.mjs +1 -1
  362. package/resources/balance-lookups.d.ts +0 -49
  363. package/resources/balance-lookups.d.ts.map +0 -1
  364. package/resources/balance-lookups.js +0 -17
  365. package/resources/balance-lookups.js.map +0 -1
  366. package/resources/balance-lookups.mjs +0 -13
  367. package/resources/balance-lookups.mjs.map +0 -1
  368. package/src/resources/balance-lookups.ts +0 -63
@@ -14,7 +14,7 @@ export class CardPurchaseSupplements extends APIResource {
14
14
  cardPurchaseSupplementId: string,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<CardPurchaseSupplement> {
17
- return this.get(`/card_purchase_supplements/${cardPurchaseSupplementId}`, options);
17
+ return this._client.get(`/card_purchase_supplements/${cardPurchaseSupplementId}`, options);
18
18
  }
19
19
 
20
20
  /**
@@ -32,7 +32,10 @@ export class CardPurchaseSupplements extends APIResource {
32
32
  if (isRequestOptions(query)) {
33
33
  return this.list({}, query);
34
34
  }
35
- return this.getAPIList('/card_purchase_supplements', CardPurchaseSupplementsPage, { query, ...options });
35
+ return this._client.getAPIList('/card_purchase_supplements', CardPurchaseSupplementsPage, {
36
+ query,
37
+ ...options,
38
+ });
36
39
  }
37
40
  }
38
41
 
@@ -11,21 +11,21 @@ export class Cards extends APIResource {
11
11
  * Create a Card
12
12
  */
13
13
  create(body: CardCreateParams, options?: Core.RequestOptions): Core.APIPromise<Card> {
14
- return this.post('/cards', { body, ...options });
14
+ return this._client.post('/cards', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve a Card
19
19
  */
20
20
  retrieve(cardId: string, options?: Core.RequestOptions): Core.APIPromise<Card> {
21
- return this.get(`/cards/${cardId}`, options);
21
+ return this._client.get(`/cards/${cardId}`, options);
22
22
  }
23
23
 
24
24
  /**
25
25
  * Update a Card
26
26
  */
27
27
  update(cardId: string, body: CardUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Card> {
28
- return this.patch(`/cards/${cardId}`, { body, ...options });
28
+ return this._client.patch(`/cards/${cardId}`, { body, ...options });
29
29
  }
30
30
 
31
31
  /**
@@ -40,14 +40,14 @@ export class Cards extends APIResource {
40
40
  if (isRequestOptions(query)) {
41
41
  return this.list({}, query);
42
42
  }
43
- return this.getAPIList('/cards', CardsPage, { query, ...options });
43
+ return this._client.getAPIList('/cards', CardsPage, { query, ...options });
44
44
  }
45
45
 
46
46
  /**
47
47
  * Retrieve sensitive details for a Card
48
48
  */
49
49
  retrieveSensitiveDetails(cardId: string, options?: Core.RequestOptions): Core.APIPromise<CardDetails> {
50
- return this.get(`/cards/${cardId}/details`, options);
50
+ return this._client.get(`/cards/${cardId}/details`, options);
51
51
  }
52
52
  }
53
53
 
@@ -11,14 +11,14 @@ export class CheckDeposits extends APIResource {
11
11
  * Create a Check Deposit
12
12
  */
13
13
  create(body: CheckDepositCreateParams, options?: Core.RequestOptions): Core.APIPromise<CheckDeposit> {
14
- return this.post('/check_deposits', { body, ...options });
14
+ return this._client.post('/check_deposits', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve a Check Deposit
19
19
  */
20
20
  retrieve(checkDepositId: string, options?: Core.RequestOptions): Core.APIPromise<CheckDeposit> {
21
- return this.get(`/check_deposits/${checkDepositId}`, options);
21
+ return this._client.get(`/check_deposits/${checkDepositId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -36,7 +36,7 @@ export class CheckDeposits extends APIResource {
36
36
  if (isRequestOptions(query)) {
37
37
  return this.list({}, query);
38
38
  }
39
- return this.getAPIList('/check_deposits', CheckDepositsPage, { query, ...options });
39
+ return this._client.getAPIList('/check_deposits', CheckDepositsPage, { query, ...options });
40
40
  }
41
41
  }
42
42
 
@@ -11,14 +11,14 @@ export class CheckTransfers extends APIResource {
11
11
  * Create a Check Transfer
12
12
  */
13
13
  create(body: CheckTransferCreateParams, options?: Core.RequestOptions): Core.APIPromise<CheckTransfer> {
14
- return this.post('/check_transfers', { body, ...options });
14
+ return this._client.post('/check_transfers', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve a Check Transfer
19
19
  */
20
20
  retrieve(checkTransferId: string, options?: Core.RequestOptions): Core.APIPromise<CheckTransfer> {
21
- return this.get(`/check_transfers/${checkTransferId}`, options);
21
+ return this._client.get(`/check_transfers/${checkTransferId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -36,21 +36,21 @@ export class CheckTransfers extends APIResource {
36
36
  if (isRequestOptions(query)) {
37
37
  return this.list({}, query);
38
38
  }
39
- return this.getAPIList('/check_transfers', CheckTransfersPage, { query, ...options });
39
+ return this._client.getAPIList('/check_transfers', CheckTransfersPage, { query, ...options });
40
40
  }
41
41
 
42
42
  /**
43
43
  * Approve a Check Transfer
44
44
  */
45
45
  approve(checkTransferId: string, options?: Core.RequestOptions): Core.APIPromise<CheckTransfer> {
46
- return this.post(`/check_transfers/${checkTransferId}/approve`, options);
46
+ return this._client.post(`/check_transfers/${checkTransferId}/approve`, options);
47
47
  }
48
48
 
49
49
  /**
50
50
  * Cancel a pending Check Transfer
51
51
  */
52
52
  cancel(checkTransferId: string, options?: Core.RequestOptions): Core.APIPromise<CheckTransfer> {
53
- return this.post(`/check_transfers/${checkTransferId}/cancel`, options);
53
+ return this._client.post(`/check_transfers/${checkTransferId}/cancel`, options);
54
54
  }
55
55
 
56
56
  /**
@@ -61,7 +61,7 @@ export class CheckTransfers extends APIResource {
61
61
  body: CheckTransferStopPaymentParams,
62
62
  options?: Core.RequestOptions,
63
63
  ): Core.APIPromise<CheckTransfer> {
64
- return this.post(`/check_transfers/${checkTransferId}/stop_payment`, { body, ...options });
64
+ return this._client.post(`/check_transfers/${checkTransferId}/stop_payment`, { body, ...options });
65
65
  }
66
66
  }
67
67
 
@@ -14,7 +14,7 @@ export class DeclinedTransactions extends APIResource {
14
14
  declinedTransactionId: string,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<DeclinedTransaction> {
17
- return this.get(`/declined_transactions/${declinedTransactionId}`, options);
17
+ return this._client.get(`/declined_transactions/${declinedTransactionId}`, options);
18
18
  }
19
19
 
20
20
  /**
@@ -32,7 +32,7 @@ export class DeclinedTransactions extends APIResource {
32
32
  if (isRequestOptions(query)) {
33
33
  return this.list({}, query);
34
34
  }
35
- return this.getAPIList('/declined_transactions', DeclinedTransactionsPage, { query, ...options });
35
+ return this._client.getAPIList('/declined_transactions', DeclinedTransactionsPage, { query, ...options });
36
36
  }
37
37
  }
38
38
 
@@ -378,6 +378,31 @@ export namespace DeclinedTransaction {
378
378
  */
379
379
  physical_card_id: string | null;
380
380
 
381
+ /**
382
+ * The processing category describes the intent behind the authorization, such as
383
+ * whether it was used for bill payments or an automatic fuel dispenser.
384
+ *
385
+ * - `account_funding` - Account funding transactions are transactions used to
386
+ * e.g., fund an account or transfer funds between accounts.
387
+ * - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
388
+ * when a card is used at a gas pump, prior to the actual transaction amount
389
+ * being known. They are followed by an advice message that updates the amount of
390
+ * the pending transaction.
391
+ * - `bill_payment` - A transaction used to pay a bill.
392
+ * - `purchase` - A regular purchase.
393
+ * - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
394
+ * be convertible to cash.
395
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
396
+ * voucher authorization, where funds are credited to the cardholder.
397
+ */
398
+ processing_category:
399
+ | 'account_funding'
400
+ | 'automatic_fuel_dispenser'
401
+ | 'bill_payment'
402
+ | 'purchase'
403
+ | 'quasi_cash'
404
+ | 'refund';
405
+
381
406
  /**
382
407
  * The identifier of the Real-Time Decision sent to approve or decline this
383
408
  * transaction.
@@ -658,6 +683,18 @@ export namespace DeclinedTransaction {
658
683
  */
659
684
  auxiliary_on_us: string | null;
660
685
 
686
+ /**
687
+ * The identifier of the API File object containing an image of the back of the
688
+ * declined check.
689
+ */
690
+ back_image_file_id: string | null;
691
+
692
+ /**
693
+ * The identifier of the API File object containing an image of the front of the
694
+ * declined check.
695
+ */
696
+ front_image_file_id: string | null;
697
+
661
698
  /**
662
699
  * Why the check was declined.
663
700
  *
@@ -11,7 +11,7 @@ export class DigitalWalletTokens extends APIResource {
11
11
  * Retrieve a Digital Wallet Token
12
12
  */
13
13
  retrieve(digitalWalletTokenId: string, options?: Core.RequestOptions): Core.APIPromise<DigitalWalletToken> {
14
- return this.get(`/digital_wallet_tokens/${digitalWalletTokenId}`, options);
14
+ return this._client.get(`/digital_wallet_tokens/${digitalWalletTokenId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -29,7 +29,7 @@ export class DigitalWalletTokens extends APIResource {
29
29
  if (isRequestOptions(query)) {
30
30
  return this.list({}, query);
31
31
  }
32
- return this.getAPIList('/digital_wallet_tokens', DigitalWalletTokensPage, { query, ...options });
32
+ return this._client.getAPIList('/digital_wallet_tokens', DigitalWalletTokensPage, { query, ...options });
33
33
  }
34
34
  }
35
35
 
@@ -11,7 +11,7 @@ export class Documents extends APIResource {
11
11
  * Retrieve a Document
12
12
  */
13
13
  retrieve(documentId: string, options?: Core.RequestOptions): Core.APIPromise<Document> {
14
- return this.get(`/documents/${documentId}`, options);
14
+ return this._client.get(`/documents/${documentId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -26,7 +26,7 @@ export class Documents extends APIResource {
26
26
  if (isRequestOptions(query)) {
27
27
  return this.list({}, query);
28
28
  }
29
- return this.getAPIList('/documents', DocumentsPage, { query, ...options });
29
+ return this._client.getAPIList('/documents', DocumentsPage, { query, ...options });
30
30
  }
31
31
  }
32
32
 
@@ -13,7 +13,7 @@ export class BeneficialOwners extends APIResource {
13
13
  body: BeneficialOwnerCreateParams,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<EntitiesAPI.Entity> {
16
- return this.post('/entity_beneficial_owners', { body, ...options });
16
+ return this._client.post('/entity_beneficial_owners', { body, ...options });
17
17
  }
18
18
 
19
19
  /**
@@ -23,7 +23,7 @@ export class BeneficialOwners extends APIResource {
23
23
  body: BeneficialOwnerArchiveParams,
24
24
  options?: Core.RequestOptions,
25
25
  ): Core.APIPromise<EntitiesAPI.Entity> {
26
- return this.post('/entity_beneficial_owners/archive', { body, ...options });
26
+ return this._client.post('/entity_beneficial_owners/archive', { body, ...options });
27
27
  }
28
28
 
29
29
  /**
@@ -33,7 +33,7 @@ export class BeneficialOwners extends APIResource {
33
33
  body: BeneficialOwnerUpdateAddressParams,
34
34
  options?: Core.RequestOptions,
35
35
  ): Core.APIPromise<EntitiesAPI.Entity> {
36
- return this.post('/entity_beneficial_owners/address', { body, ...options });
36
+ return this._client.post('/entity_beneficial_owners/address', { body, ...options });
37
37
  }
38
38
  }
39
39
 
@@ -10,23 +10,23 @@ import { Page, type PageParams } from "../../pagination";
10
10
 
11
11
  export class Entities extends APIResource {
12
12
  beneficialOwners: BeneficialOwnersAPI.BeneficialOwners = new BeneficialOwnersAPI.BeneficialOwners(
13
- this.client,
13
+ this._client,
14
14
  );
15
15
  supplementalDocuments: SupplementalDocumentsAPI.SupplementalDocuments =
16
- new SupplementalDocumentsAPI.SupplementalDocuments(this.client);
16
+ new SupplementalDocumentsAPI.SupplementalDocuments(this._client);
17
17
 
18
18
  /**
19
19
  * Create an Entity
20
20
  */
21
21
  create(body: EntityCreateParams, options?: Core.RequestOptions): Core.APIPromise<Entity> {
22
- return this.post('/entities', { body, ...options });
22
+ return this._client.post('/entities', { body, ...options });
23
23
  }
24
24
 
25
25
  /**
26
26
  * Retrieve an Entity
27
27
  */
28
28
  retrieve(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
29
- return this.get(`/entities/${entityId}`, options);
29
+ return this._client.get(`/entities/${entityId}`, options);
30
30
  }
31
31
 
32
32
  /**
@@ -41,14 +41,14 @@ export class Entities extends APIResource {
41
41
  if (isRequestOptions(query)) {
42
42
  return this.list({}, query);
43
43
  }
44
- return this.getAPIList('/entities', EntitiesPage, { query, ...options });
44
+ return this._client.getAPIList('/entities', EntitiesPage, { query, ...options });
45
45
  }
46
46
 
47
47
  /**
48
48
  * Archive an Entity
49
49
  */
50
50
  archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
51
- return this.post(`/entities/${entityId}/archive`, options);
51
+ return this._client.post(`/entities/${entityId}/archive`, options);
52
52
  }
53
53
 
54
54
  /**
@@ -59,7 +59,7 @@ export class Entities extends APIResource {
59
59
  body: EntityUpdateAddressParams,
60
60
  options?: Core.RequestOptions,
61
61
  ): Core.APIPromise<Entity> {
62
- return this.post(`/entities/${entityId}/address`, { body, ...options });
62
+ return this._client.post(`/entities/${entityId}/address`, { body, ...options });
63
63
  }
64
64
  }
65
65
 
@@ -15,7 +15,7 @@ export class SupplementalDocuments extends APIResource {
15
15
  body: SupplementalDocumentCreateParams,
16
16
  options?: Core.RequestOptions,
17
17
  ): Core.APIPromise<EntitiesAPI.Entity> {
18
- return this.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
18
+ return this._client.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
19
19
  }
20
20
 
21
21
  /**
@@ -25,7 +25,7 @@ export class SupplementalDocuments extends APIResource {
25
25
  query: SupplementalDocumentListParams,
26
26
  options?: Core.RequestOptions,
27
27
  ): Core.PagePromise<SupplementalDocumentsPage, SupplementalDocument> {
28
- return this.getAPIList('/entity_supplemental_documents', SupplementalDocumentsPage, {
28
+ return this._client.getAPIList('/entity_supplemental_documents', SupplementalDocumentsPage, {
29
29
  query,
30
30
  ...options,
31
31
  });
@@ -14,14 +14,14 @@ export class EventSubscriptions extends APIResource {
14
14
  body: EventSubscriptionCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<EventSubscription> {
17
- return this.post('/event_subscriptions', { body, ...options });
17
+ return this._client.post('/event_subscriptions', { body, ...options });
18
18
  }
19
19
 
20
20
  /**
21
21
  * Retrieve an Event Subscription
22
22
  */
23
23
  retrieve(eventSubscriptionId: string, options?: Core.RequestOptions): Core.APIPromise<EventSubscription> {
24
- return this.get(`/event_subscriptions/${eventSubscriptionId}`, options);
24
+ return this._client.get(`/event_subscriptions/${eventSubscriptionId}`, options);
25
25
  }
26
26
 
27
27
  /**
@@ -32,7 +32,7 @@ export class EventSubscriptions extends APIResource {
32
32
  body: EventSubscriptionUpdateParams,
33
33
  options?: Core.RequestOptions,
34
34
  ): Core.APIPromise<EventSubscription> {
35
- return this.patch(`/event_subscriptions/${eventSubscriptionId}`, { body, ...options });
35
+ return this._client.patch(`/event_subscriptions/${eventSubscriptionId}`, { body, ...options });
36
36
  }
37
37
 
38
38
  /**
@@ -50,7 +50,7 @@ export class EventSubscriptions extends APIResource {
50
50
  if (isRequestOptions(query)) {
51
51
  return this.list({}, query);
52
52
  }
53
- return this.getAPIList('/event_subscriptions', EventSubscriptionsPage, { query, ...options });
53
+ return this._client.getAPIList('/event_subscriptions', EventSubscriptionsPage, { query, ...options });
54
54
  }
55
55
  }
56
56
 
@@ -11,7 +11,7 @@ export class Events extends APIResource {
11
11
  * Retrieve an Event
12
12
  */
13
13
  retrieve(eventId: string, options?: Core.RequestOptions): Core.APIPromise<Event> {
14
- return this.get(`/events/${eventId}`, options);
14
+ return this._client.get(`/events/${eventId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -26,7 +26,7 @@ export class Events extends APIResource {
26
26
  if (isRequestOptions(query)) {
27
27
  return this.list({}, query);
28
28
  }
29
- return this.getAPIList('/events', EventsPage, { query, ...options });
29
+ return this._client.getAPIList('/events', EventsPage, { query, ...options });
30
30
  }
31
31
  }
32
32
 
@@ -11,14 +11,14 @@ export class Exports extends APIResource {
11
11
  * Create an Export
12
12
  */
13
13
  create(body: ExportCreateParams, options?: Core.RequestOptions): Core.APIPromise<Export> {
14
- return this.post('/exports', { body, ...options });
14
+ return this._client.post('/exports', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve an Export
19
19
  */
20
20
  retrieve(exportId: string, options?: Core.RequestOptions): Core.APIPromise<Export> {
21
- return this.get(`/exports/${exportId}`, options);
21
+ return this._client.get(`/exports/${exportId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -33,7 +33,7 @@ export class Exports extends APIResource {
33
33
  if (isRequestOptions(query)) {
34
34
  return this.list({}, query);
35
35
  }
36
- return this.getAPIList('/exports', ExportsPage, { query, ...options });
36
+ return this._client.getAPIList('/exports', ExportsPage, { query, ...options });
37
37
  }
38
38
  }
39
39
 
@@ -63,8 +63,14 @@ export interface Export {
63
63
  * range.
64
64
  * - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account
65
65
  * balances for the dates in a given range.
66
+ * - `entity_csv` - Export a CSV of entities with a given status.
66
67
  */
67
- category: 'account_statement_ofx' | 'transaction_csv' | 'balance_csv' | 'bookkeeping_account_balance_csv';
68
+ category:
69
+ | 'account_statement_ofx'
70
+ | 'transaction_csv'
71
+ | 'balance_csv'
72
+ | 'bookkeeping_account_balance_csv'
73
+ | 'entity_csv';
68
74
 
69
75
  /**
70
76
  * The time the Export was created.
@@ -111,8 +117,14 @@ export interface ExportCreateParams {
111
117
  * range.
112
118
  * - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account
113
119
  * balances for the dates in a given range.
120
+ * - `entity_csv` - Export a CSV of entities with a given status.
114
121
  */
115
- category: 'account_statement_ofx' | 'transaction_csv' | 'balance_csv' | 'bookkeeping_account_balance_csv';
122
+ category:
123
+ | 'account_statement_ofx'
124
+ | 'transaction_csv'
125
+ | 'balance_csv'
126
+ | 'bookkeeping_account_balance_csv'
127
+ | 'entity_csv';
116
128
 
117
129
  /**
118
130
  * Options for the created export. Required if `category` is equal to
@@ -132,6 +144,11 @@ export interface ExportCreateParams {
132
144
  */
133
145
  bookkeeping_account_balance_csv?: ExportCreateParams.BookkeepingAccountBalanceCsv;
134
146
 
147
+ /**
148
+ * Options for the created export. Required if `category` is equal to `entity_csv`.
149
+ */
150
+ entity_csv?: ExportCreateParams.EntityCsv;
151
+
135
152
  /**
136
153
  * Options for the created export. Required if `category` is equal to
137
154
  * `transaction_csv`.
@@ -281,6 +298,29 @@ export namespace ExportCreateParams {
281
298
  }
282
299
  }
283
300
 
301
+ /**
302
+ * Options for the created export. Required if `category` is equal to `entity_csv`.
303
+ */
304
+ export interface EntityCsv {
305
+ /**
306
+ * Entity statuses to filter by.
307
+ */
308
+ status?: EntityCsv.Status;
309
+ }
310
+
311
+ export namespace EntityCsv {
312
+ /**
313
+ * Entity statuses to filter by.
314
+ */
315
+ export interface Status {
316
+ /**
317
+ * Entity statuses to filter by. For GET requests, this should be encoded as a
318
+ * comma-delimited string, such as `?in=one,two,three`.
319
+ */
320
+ in: Array<'active' | 'archived' | 'disabled'>;
321
+ }
322
+ }
323
+
284
324
  /**
285
325
  * Options for the created export. Required if `category` is equal to
286
326
  * `transaction_csv`.
@@ -11,14 +11,14 @@ export class ExternalAccounts extends APIResource {
11
11
  * Create an External Account
12
12
  */
13
13
  create(body: ExternalAccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
14
- return this.post('/external_accounts', { body, ...options });
14
+ return this._client.post('/external_accounts', { body, ...options });
15
15
  }
16
16
 
17
17
  /**
18
18
  * Retrieve an External Account
19
19
  */
20
20
  retrieve(externalAccountId: string, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
21
- return this.get(`/external_accounts/${externalAccountId}`, options);
21
+ return this._client.get(`/external_accounts/${externalAccountId}`, options);
22
22
  }
23
23
 
24
24
  /**
@@ -29,7 +29,7 @@ export class ExternalAccounts extends APIResource {
29
29
  body: ExternalAccountUpdateParams,
30
30
  options?: Core.RequestOptions,
31
31
  ): Core.APIPromise<ExternalAccount> {
32
- return this.patch(`/external_accounts/${externalAccountId}`, { body, ...options });
32
+ return this._client.patch(`/external_accounts/${externalAccountId}`, { body, ...options });
33
33
  }
34
34
 
35
35
  /**
@@ -47,7 +47,7 @@ export class ExternalAccounts extends APIResource {
47
47
  if (isRequestOptions(query)) {
48
48
  return this.list({}, query);
49
49
  }
50
- return this.getAPIList('/external_accounts', ExternalAccountsPage, { query, ...options });
50
+ return this._client.getAPIList('/external_accounts', ExternalAccountsPage, { query, ...options });
51
51
  }
52
52
  }
53
53
 
@@ -14,14 +14,14 @@ export class Files extends APIResource {
14
14
  * upload, as well as the parameters for creating a file.
15
15
  */
16
16
  create(body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<File> {
17
- return this.post('/files', multipartFormRequestOptions({ body, ...options }));
17
+ return this._client.post('/files', multipartFormRequestOptions({ body, ...options }));
18
18
  }
19
19
 
20
20
  /**
21
21
  * Retrieve a File
22
22
  */
23
23
  retrieve(fileId: string, options?: Core.RequestOptions): Core.APIPromise<File> {
24
- return this.get(`/files/${fileId}`, options);
24
+ return this._client.get(`/files/${fileId}`, options);
25
25
  }
26
26
 
27
27
  /**
@@ -36,7 +36,7 @@ export class Files extends APIResource {
36
36
  if (isRequestOptions(query)) {
37
37
  return this.list({}, query);
38
38
  }
39
- return this.getAPIList('/files', FilesPage, { query, ...options });
39
+ return this._client.getAPIList('/files', FilesPage, { query, ...options });
40
40
  }
41
41
  }
42
42
 
@@ -9,7 +9,7 @@ export class Groups extends APIResource {
9
9
  * Returns details for the currently authenticated Group.
10
10
  */
11
11
  retrieveDetails(options?: Core.RequestOptions): Core.APIPromise<Group> {
12
- return this.get('/groups/current', options);
12
+ return this._client.get('/groups/current', options);
13
13
  }
14
14
  }
15
15
 
@@ -11,7 +11,7 @@ export class InboundACHTransfers extends APIResource {
11
11
  * Retrieve an Inbound ACH Transfer
12
12
  */
13
13
  retrieve(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
14
- return this.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
14
+ return this._client.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
15
15
  }
16
16
 
17
17
  /**
@@ -29,14 +29,14 @@ export class InboundACHTransfers extends APIResource {
29
29
  if (isRequestOptions(query)) {
30
30
  return this.list({}, query);
31
31
  }
32
- return this.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
32
+ return this._client.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
33
33
  }
34
34
 
35
35
  /**
36
36
  * Decline an Inbound ACH Transfer
37
37
  */
38
38
  decline(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
39
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
39
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
40
40
  }
41
41
 
42
42
  /**
@@ -47,7 +47,7 @@ export class InboundACHTransfers extends APIResource {
47
47
  body: InboundACHTransferNotificationOfChangeParams,
48
48
  options?: Core.RequestOptions,
49
49
  ): Core.APIPromise<InboundACHTransfer> {
50
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
50
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
51
51
  body,
52
52
  ...options,
53
53
  });
@@ -61,7 +61,10 @@ export class InboundACHTransfers extends APIResource {
61
61
  body: InboundACHTransferTransferReturnParams,
62
62
  options?: Core.RequestOptions,
63
63
  ): Core.APIPromise<InboundACHTransfer> {
64
- return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/transfer_return`, { body, ...options });
64
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/transfer_return`, {
65
+ body,
66
+ ...options,
67
+ });
65
68
  }
66
69
  }
67
70
 
@@ -14,7 +14,7 @@ export class InboundWireDrawdownRequests extends APIResource {
14
14
  inboundWireDrawdownRequestId: string,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<InboundWireDrawdownRequest> {
17
- return this.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
17
+ return this._client.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
18
18
  }
19
19
 
20
20
  /**
@@ -34,7 +34,7 @@ export class InboundWireDrawdownRequests extends APIResource {
34
34
  if (isRequestOptions(query)) {
35
35
  return this.list({}, query);
36
36
  }
37
- return this.getAPIList('/inbound_wire_drawdown_requests', InboundWireDrawdownRequestsPage, {
37
+ return this._client.getAPIList('/inbound_wire_drawdown_requests', InboundWireDrawdownRequestsPage, {
38
38
  query,
39
39
  ...options,
40
40
  });