increase 0.17.0 → 0.19.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 +30 -0
  2. package/README.md +2 -2
  3. package/core.d.ts +0 -10
  4. package/core.d.ts.map +1 -1
  5. package/core.js +1 -13
  6. package/core.js.map +1 -1
  7. package/core.mjs +0 -11
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +17 -4
  10. package/index.d.ts +17 -4
  11. package/index.d.ts.map +1 -1
  12. package/index.js +13 -3
  13. package/index.js.map +1 -1
  14. package/index.mjs +13 -3
  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.js +6 -6
  36. package/resources/accounts.js.map +1 -1
  37. package/resources/accounts.mjs +6 -6
  38. package/resources/accounts.mjs.map +1 -1
  39. package/resources/ach-prenotifications.js +3 -3
  40. package/resources/ach-prenotifications.js.map +1 -1
  41. package/resources/ach-prenotifications.mjs +3 -3
  42. package/resources/ach-prenotifications.mjs.map +1 -1
  43. package/resources/ach-transfers.js +5 -5
  44. package/resources/ach-transfers.js.map +1 -1
  45. package/resources/ach-transfers.mjs +5 -5
  46. package/resources/ach-transfers.mjs.map +1 -1
  47. package/resources/bookkeeping-accounts.js +4 -4
  48. package/resources/bookkeeping-accounts.js.map +1 -1
  49. package/resources/bookkeeping-accounts.mjs +4 -4
  50. package/resources/bookkeeping-accounts.mjs.map +1 -1
  51. package/resources/bookkeeping-entries.js +2 -2
  52. package/resources/bookkeeping-entries.js.map +1 -1
  53. package/resources/bookkeeping-entries.mjs +2 -2
  54. package/resources/bookkeeping-entries.mjs.map +1 -1
  55. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  56. package/resources/bookkeeping-entry-sets.js +6 -3
  57. package/resources/bookkeeping-entry-sets.js.map +1 -1
  58. package/resources/bookkeeping-entry-sets.mjs +6 -3
  59. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  60. package/resources/card-disputes.js +3 -3
  61. package/resources/card-disputes.js.map +1 -1
  62. package/resources/card-disputes.mjs +3 -3
  63. package/resources/card-disputes.mjs.map +1 -1
  64. package/resources/card-payments.js +2 -2
  65. package/resources/card-payments.js.map +1 -1
  66. package/resources/card-payments.mjs +2 -2
  67. package/resources/card-payments.mjs.map +1 -1
  68. package/resources/card-profiles.js +4 -4
  69. package/resources/card-profiles.js.map +1 -1
  70. package/resources/card-profiles.mjs +4 -4
  71. package/resources/card-profiles.mjs.map +1 -1
  72. package/resources/card-purchase-supplements.d.ts.map +1 -1
  73. package/resources/card-purchase-supplements.js +5 -2
  74. package/resources/card-purchase-supplements.js.map +1 -1
  75. package/resources/card-purchase-supplements.mjs +5 -2
  76. package/resources/card-purchase-supplements.mjs.map +1 -1
  77. package/resources/cards.js +5 -5
  78. package/resources/cards.js.map +1 -1
  79. package/resources/cards.mjs +5 -5
  80. package/resources/cards.mjs.map +1 -1
  81. package/resources/check-deposits.d.ts +18 -1
  82. package/resources/check-deposits.d.ts.map +1 -1
  83. package/resources/check-deposits.js +3 -3
  84. package/resources/check-deposits.js.map +1 -1
  85. package/resources/check-deposits.mjs +3 -3
  86. package/resources/check-deposits.mjs.map +1 -1
  87. package/resources/check-transfers.js +6 -6
  88. package/resources/check-transfers.js.map +1 -1
  89. package/resources/check-transfers.mjs +6 -6
  90. package/resources/check-transfers.mjs.map +1 -1
  91. package/resources/declined-transactions.js +2 -2
  92. package/resources/declined-transactions.js.map +1 -1
  93. package/resources/declined-transactions.mjs +2 -2
  94. package/resources/declined-transactions.mjs.map +1 -1
  95. package/resources/digital-wallet-tokens.js +2 -2
  96. package/resources/digital-wallet-tokens.js.map +1 -1
  97. package/resources/digital-wallet-tokens.mjs +2 -2
  98. package/resources/digital-wallet-tokens.mjs.map +1 -1
  99. package/resources/documents.js +2 -2
  100. package/resources/documents.js.map +1 -1
  101. package/resources/documents.mjs +2 -2
  102. package/resources/documents.mjs.map +1 -1
  103. package/resources/entities/beneficial-owners.js +3 -3
  104. package/resources/entities/beneficial-owners.js.map +1 -1
  105. package/resources/entities/beneficial-owners.mjs +3 -3
  106. package/resources/entities/beneficial-owners.mjs.map +1 -1
  107. package/resources/entities/entities.d.ts.map +1 -1
  108. package/resources/entities/entities.js +7 -7
  109. package/resources/entities/entities.js.map +1 -1
  110. package/resources/entities/entities.mjs +7 -7
  111. package/resources/entities/entities.mjs.map +1 -1
  112. package/resources/entities/supplemental-documents.js +2 -2
  113. package/resources/entities/supplemental-documents.js.map +1 -1
  114. package/resources/entities/supplemental-documents.mjs +2 -2
  115. package/resources/entities/supplemental-documents.mjs.map +1 -1
  116. package/resources/event-subscriptions.d.ts +18 -2
  117. package/resources/event-subscriptions.d.ts.map +1 -1
  118. package/resources/event-subscriptions.js +4 -4
  119. package/resources/event-subscriptions.js.map +1 -1
  120. package/resources/event-subscriptions.mjs +4 -4
  121. package/resources/event-subscriptions.mjs.map +1 -1
  122. package/resources/events.d.ts +10 -2
  123. package/resources/events.d.ts.map +1 -1
  124. package/resources/events.js +2 -2
  125. package/resources/events.js.map +1 -1
  126. package/resources/events.mjs +2 -2
  127. package/resources/events.mjs.map +1 -1
  128. package/resources/exports.js +3 -3
  129. package/resources/exports.js.map +1 -1
  130. package/resources/exports.mjs +3 -3
  131. package/resources/exports.mjs.map +1 -1
  132. package/resources/external-accounts.js +4 -4
  133. package/resources/external-accounts.js.map +1 -1
  134. package/resources/external-accounts.mjs +4 -4
  135. package/resources/external-accounts.mjs.map +1 -1
  136. package/resources/files.js +3 -3
  137. package/resources/files.js.map +1 -1
  138. package/resources/files.mjs +3 -3
  139. package/resources/files.mjs.map +1 -1
  140. package/resources/groups.js +1 -1
  141. package/resources/groups.js.map +1 -1
  142. package/resources/groups.mjs +1 -1
  143. package/resources/groups.mjs.map +1 -1
  144. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  145. package/resources/inbound-ach-transfers.js +8 -5
  146. package/resources/inbound-ach-transfers.js.map +1 -1
  147. package/resources/inbound-ach-transfers.mjs +8 -5
  148. package/resources/inbound-ach-transfers.mjs.map +1 -1
  149. package/resources/inbound-wire-drawdown-requests.js +2 -2
  150. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  151. package/resources/inbound-wire-drawdown-requests.mjs +2 -2
  152. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  153. package/resources/index.d.ts +2 -0
  154. package/resources/index.d.ts.map +1 -1
  155. package/resources/index.js +7 -1
  156. package/resources/index.js.map +1 -1
  157. package/resources/index.mjs +2 -0
  158. package/resources/index.mjs.map +1 -1
  159. package/resources/oauth-connections.js +2 -2
  160. package/resources/oauth-connections.js.map +1 -1
  161. package/resources/oauth-connections.mjs +2 -2
  162. package/resources/oauth-connections.mjs.map +1 -1
  163. package/resources/pending-transactions.js +2 -2
  164. package/resources/pending-transactions.js.map +1 -1
  165. package/resources/pending-transactions.mjs +2 -2
  166. package/resources/pending-transactions.mjs.map +1 -1
  167. package/resources/physical-cards.js +4 -4
  168. package/resources/physical-cards.js.map +1 -1
  169. package/resources/physical-cards.mjs +4 -4
  170. package/resources/physical-cards.mjs.map +1 -1
  171. package/resources/programs.js +2 -2
  172. package/resources/programs.js.map +1 -1
  173. package/resources/programs.mjs +2 -2
  174. package/resources/programs.mjs.map +1 -1
  175. package/resources/proof-of-authorization-request-submissions.d.ts +129 -0
  176. package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -0
  177. package/resources/proof-of-authorization-request-submissions.js +59 -0
  178. package/resources/proof-of-authorization-request-submissions.js.map +1 -0
  179. package/resources/proof-of-authorization-request-submissions.mjs +31 -0
  180. package/resources/proof-of-authorization-request-submissions.mjs.map +1 -0
  181. package/resources/proof-of-authorization-requests.d.ts +84 -0
  182. package/resources/proof-of-authorization-requests.d.ts.map +1 -0
  183. package/resources/proof-of-authorization-requests.js +56 -0
  184. package/resources/proof-of-authorization-requests.js.map +1 -0
  185. package/resources/proof-of-authorization-requests.mjs +28 -0
  186. package/resources/proof-of-authorization-requests.mjs.map +1 -0
  187. package/resources/real-time-decisions.js +2 -2
  188. package/resources/real-time-decisions.js.map +1 -1
  189. package/resources/real-time-decisions.mjs +2 -2
  190. package/resources/real-time-decisions.mjs.map +1 -1
  191. package/resources/real-time-payments-transfers.js +3 -3
  192. package/resources/real-time-payments-transfers.js.map +1 -1
  193. package/resources/real-time-payments-transfers.mjs +3 -3
  194. package/resources/real-time-payments-transfers.mjs.map +1 -1
  195. package/resources/routing-numbers.js +1 -1
  196. package/resources/routing-numbers.js.map +1 -1
  197. package/resources/routing-numbers.mjs +1 -1
  198. package/resources/routing-numbers.mjs.map +1 -1
  199. package/resources/simulations/account-statements.js +1 -1
  200. package/resources/simulations/account-statements.js.map +1 -1
  201. package/resources/simulations/account-statements.mjs +1 -1
  202. package/resources/simulations/account-statements.mjs.map +1 -1
  203. package/resources/simulations/account-transfers.js +1 -1
  204. package/resources/simulations/account-transfers.js.map +1 -1
  205. package/resources/simulations/account-transfers.mjs +1 -1
  206. package/resources/simulations/account-transfers.mjs.map +1 -1
  207. package/resources/simulations/ach-transfers.d.ts +19 -2
  208. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  209. package/resources/simulations/ach-transfers.js +3 -3
  210. package/resources/simulations/ach-transfers.js.map +1 -1
  211. package/resources/simulations/ach-transfers.mjs +3 -3
  212. package/resources/simulations/ach-transfers.mjs.map +1 -1
  213. package/resources/simulations/card-disputes.js +1 -1
  214. package/resources/simulations/card-disputes.js.map +1 -1
  215. package/resources/simulations/card-disputes.mjs +1 -1
  216. package/resources/simulations/card-disputes.mjs.map +1 -1
  217. package/resources/simulations/card-profiles.js +1 -1
  218. package/resources/simulations/card-profiles.js.map +1 -1
  219. package/resources/simulations/card-profiles.mjs +1 -1
  220. package/resources/simulations/card-profiles.mjs.map +1 -1
  221. package/resources/simulations/card-refunds.js +1 -1
  222. package/resources/simulations/card-refunds.js.map +1 -1
  223. package/resources/simulations/card-refunds.mjs +1 -1
  224. package/resources/simulations/card-refunds.mjs.map +1 -1
  225. package/resources/simulations/cards.js +2 -2
  226. package/resources/simulations/cards.js.map +1 -1
  227. package/resources/simulations/cards.mjs +2 -2
  228. package/resources/simulations/cards.mjs.map +1 -1
  229. package/resources/simulations/check-deposits.js +3 -3
  230. package/resources/simulations/check-deposits.js.map +1 -1
  231. package/resources/simulations/check-deposits.mjs +3 -3
  232. package/resources/simulations/check-deposits.mjs.map +1 -1
  233. package/resources/simulations/check-transfers.js +2 -2
  234. package/resources/simulations/check-transfers.js.map +1 -1
  235. package/resources/simulations/check-transfers.mjs +2 -2
  236. package/resources/simulations/check-transfers.mjs.map +1 -1
  237. package/resources/simulations/digital-wallet-token-requests.js +1 -1
  238. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  239. package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
  240. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  241. package/resources/simulations/documents.js +1 -1
  242. package/resources/simulations/documents.js.map +1 -1
  243. package/resources/simulations/documents.mjs +1 -1
  244. package/resources/simulations/documents.mjs.map +1 -1
  245. package/resources/simulations/inbound-funds-holds.js +1 -1
  246. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  247. package/resources/simulations/inbound-funds-holds.mjs +1 -1
  248. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  249. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  250. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  251. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  252. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  253. package/resources/simulations/interest-payments.d.ts +19 -2
  254. package/resources/simulations/interest-payments.d.ts.map +1 -1
  255. package/resources/simulations/interest-payments.js +1 -1
  256. package/resources/simulations/interest-payments.js.map +1 -1
  257. package/resources/simulations/interest-payments.mjs +1 -1
  258. package/resources/simulations/interest-payments.mjs.map +1 -1
  259. package/resources/simulations/physical-cards.d.ts.map +1 -1
  260. package/resources/simulations/physical-cards.js +4 -1
  261. package/resources/simulations/physical-cards.js.map +1 -1
  262. package/resources/simulations/physical-cards.mjs +4 -1
  263. package/resources/simulations/physical-cards.mjs.map +1 -1
  264. package/resources/simulations/programs.js +1 -1
  265. package/resources/simulations/programs.js.map +1 -1
  266. package/resources/simulations/programs.mjs +1 -1
  267. package/resources/simulations/programs.mjs.map +1 -1
  268. package/resources/simulations/real-time-payments-transfers.d.ts +19 -2
  269. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  270. package/resources/simulations/real-time-payments-transfers.js +2 -5
  271. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  272. package/resources/simulations/real-time-payments-transfers.mjs +2 -5
  273. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  274. package/resources/simulations/simulations.d.ts.map +1 -1
  275. package/resources/simulations/simulations.js +18 -18
  276. package/resources/simulations/simulations.js.map +1 -1
  277. package/resources/simulations/simulations.mjs +18 -18
  278. package/resources/simulations/simulations.mjs.map +1 -1
  279. package/resources/simulations/wire-transfers.d.ts +19 -2
  280. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  281. package/resources/simulations/wire-transfers.js +1 -1
  282. package/resources/simulations/wire-transfers.js.map +1 -1
  283. package/resources/simulations/wire-transfers.mjs +1 -1
  284. package/resources/simulations/wire-transfers.mjs.map +1 -1
  285. package/resources/transactions.d.ts +19 -2
  286. package/resources/transactions.d.ts.map +1 -1
  287. package/resources/transactions.js +2 -2
  288. package/resources/transactions.js.map +1 -1
  289. package/resources/transactions.mjs +2 -2
  290. package/resources/transactions.mjs.map +1 -1
  291. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  292. package/resources/wire-drawdown-requests.js +6 -3
  293. package/resources/wire-drawdown-requests.js.map +1 -1
  294. package/resources/wire-drawdown-requests.mjs +6 -3
  295. package/resources/wire-drawdown-requests.mjs.map +1 -1
  296. package/resources/wire-transfers.js +7 -7
  297. package/resources/wire-transfers.js.map +1 -1
  298. package/resources/wire-transfers.mjs +7 -7
  299. package/resources/wire-transfers.mjs.map +1 -1
  300. package/src/core.ts +0 -21
  301. package/src/index.ts +31 -4
  302. package/src/resource.ts +3 -16
  303. package/src/resources/account-numbers.ts +4 -4
  304. package/src/resources/account-statements.ts +2 -2
  305. package/src/resources/account-transfers.ts +5 -5
  306. package/src/resources/accounts.ts +6 -6
  307. package/src/resources/ach-prenotifications.ts +3 -3
  308. package/src/resources/ach-transfers.ts +5 -5
  309. package/src/resources/bookkeeping-accounts.ts +4 -4
  310. package/src/resources/bookkeeping-entries.ts +2 -2
  311. package/src/resources/bookkeeping-entry-sets.ts +6 -3
  312. package/src/resources/card-disputes.ts +3 -3
  313. package/src/resources/card-payments.ts +2 -2
  314. package/src/resources/card-profiles.ts +4 -4
  315. package/src/resources/card-purchase-supplements.ts +5 -2
  316. package/src/resources/cards.ts +5 -5
  317. package/src/resources/check-deposits.ts +35 -4
  318. package/src/resources/check-transfers.ts +6 -6
  319. package/src/resources/declined-transactions.ts +2 -2
  320. package/src/resources/digital-wallet-tokens.ts +2 -2
  321. package/src/resources/documents.ts +2 -2
  322. package/src/resources/entities/beneficial-owners.ts +3 -3
  323. package/src/resources/entities/entities.ts +7 -7
  324. package/src/resources/entities/supplemental-documents.ts +2 -2
  325. package/src/resources/event-subscriptions.ts +28 -4
  326. package/src/resources/events.ts +18 -2
  327. package/src/resources/exports.ts +3 -3
  328. package/src/resources/external-accounts.ts +4 -4
  329. package/src/resources/files.ts +3 -3
  330. package/src/resources/groups.ts +1 -1
  331. package/src/resources/inbound-ach-transfers.ts +8 -5
  332. package/src/resources/inbound-wire-drawdown-requests.ts +2 -2
  333. package/src/resources/index.ts +13 -0
  334. package/src/resources/oauth-connections.ts +2 -2
  335. package/src/resources/pending-transactions.ts +2 -2
  336. package/src/resources/physical-cards.ts +4 -4
  337. package/src/resources/programs.ts +2 -2
  338. package/src/resources/proof-of-authorization-request-submissions.ts +186 -0
  339. package/src/resources/proof-of-authorization-requests.ts +122 -0
  340. package/src/resources/real-time-decisions.ts +2 -2
  341. package/src/resources/real-time-payments-transfers.ts +3 -3
  342. package/src/resources/routing-numbers.ts +1 -1
  343. package/src/resources/simulations/account-statements.ts +1 -1
  344. package/src/resources/simulations/account-transfers.ts +1 -1
  345. package/src/resources/simulations/ach-transfers.ts +35 -4
  346. package/src/resources/simulations/card-disputes.ts +1 -1
  347. package/src/resources/simulations/card-profiles.ts +1 -1
  348. package/src/resources/simulations/card-refunds.ts +1 -1
  349. package/src/resources/simulations/cards.ts +2 -2
  350. package/src/resources/simulations/check-deposits.ts +3 -3
  351. package/src/resources/simulations/check-transfers.ts +2 -2
  352. package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
  353. package/src/resources/simulations/documents.ts +1 -1
  354. package/src/resources/simulations/inbound-funds-holds.ts +1 -1
  355. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  356. package/src/resources/simulations/interest-payments.ts +33 -2
  357. package/src/resources/simulations/physical-cards.ts +4 -1
  358. package/src/resources/simulations/programs.ts +1 -1
  359. package/src/resources/simulations/real-time-payments-transfers.ts +37 -6
  360. package/src/resources/simulations/simulations.ts +18 -18
  361. package/src/resources/simulations/wire-transfers.ts +33 -2
  362. package/src/resources/transactions.ts +34 -3
  363. package/src/resources/wire-drawdown-requests.ts +6 -3
  364. package/src/resources/wire-transfers.ts +7 -7
  365. package/src/version.ts +1 -1
  366. package/version.d.ts +1 -1
  367. package/version.js +1 -1
  368. package/version.mjs +1 -1
@@ -0,0 +1,122 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from "../core";
4
+ import { APIResource } from "../resource";
5
+ import { isRequestOptions } from "../core";
6
+ import * as ProofOfAuthorizationRequestsAPI from "./proof-of-authorization-requests";
7
+ import { Page, type PageParams } from "../pagination";
8
+
9
+ export class ProofOfAuthorizationRequests extends APIResource {
10
+ /**
11
+ * Retrieve a Proof of Authorization Request
12
+ */
13
+ retrieve(
14
+ proofOfAuthorizationRequestId: string,
15
+ options?: Core.RequestOptions,
16
+ ): Core.APIPromise<ProofOfAuthorizationRequest> {
17
+ return this._client.get(`/proof_of_authorization_requests/${proofOfAuthorizationRequestId}`, options);
18
+ }
19
+
20
+ /**
21
+ * List Proof of Authorization Requests
22
+ */
23
+ list(
24
+ query?: ProofOfAuthorizationRequestListParams,
25
+ options?: Core.RequestOptions,
26
+ ): Core.PagePromise<ProofOfAuthorizationRequestsPage, ProofOfAuthorizationRequest>;
27
+ list(
28
+ options?: Core.RequestOptions,
29
+ ): Core.PagePromise<ProofOfAuthorizationRequestsPage, ProofOfAuthorizationRequest>;
30
+ list(
31
+ query: ProofOfAuthorizationRequestListParams | Core.RequestOptions = {},
32
+ options?: Core.RequestOptions,
33
+ ): Core.PagePromise<ProofOfAuthorizationRequestsPage, ProofOfAuthorizationRequest> {
34
+ if (isRequestOptions(query)) {
35
+ return this.list({}, query);
36
+ }
37
+ return this._client.getAPIList('/proof_of_authorization_requests', ProofOfAuthorizationRequestsPage, {
38
+ query,
39
+ ...options,
40
+ });
41
+ }
42
+ }
43
+
44
+ export class ProofOfAuthorizationRequestsPage extends Page<ProofOfAuthorizationRequest> {}
45
+
46
+ /**
47
+ * A request for proof of authorization for one or more ACH debit transfers.
48
+ */
49
+ export interface ProofOfAuthorizationRequest {
50
+ /**
51
+ * The Proof of Authorization Request identifier.
52
+ */
53
+ id: string;
54
+
55
+ /**
56
+ * The ACH Transfers associated with the request.
57
+ */
58
+ ach_transfers: Array<ProofOfAuthorizationRequest.ACHTransfer>;
59
+
60
+ /**
61
+ * The time the Proof of Authorization Request was created.
62
+ */
63
+ created_at: string;
64
+
65
+ /**
66
+ * A constant representing the object's type. For this resource it will always be
67
+ * `proof_of_authorization_request`.
68
+ */
69
+ type: 'proof_of_authorization_request';
70
+
71
+ /**
72
+ * The time the Proof of Authorization Request was last updated.
73
+ */
74
+ updated_at: string;
75
+ }
76
+
77
+ export namespace ProofOfAuthorizationRequest {
78
+ export interface ACHTransfer {
79
+ /**
80
+ * The ACH Transfer identifier.
81
+ */
82
+ id: string;
83
+ }
84
+ }
85
+
86
+ export interface ProofOfAuthorizationRequestListParams extends PageParams {
87
+ created_at?: ProofOfAuthorizationRequestListParams.CreatedAt;
88
+ }
89
+
90
+ export namespace ProofOfAuthorizationRequestListParams {
91
+ export interface CreatedAt {
92
+ /**
93
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
94
+ * timestamp.
95
+ */
96
+ after?: string;
97
+
98
+ /**
99
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
100
+ * timestamp.
101
+ */
102
+ before?: string;
103
+
104
+ /**
105
+ * Return results on or after this
106
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
107
+ */
108
+ on_or_after?: string;
109
+
110
+ /**
111
+ * Return results on or before this
112
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
113
+ */
114
+ on_or_before?: string;
115
+ }
116
+ }
117
+
118
+ export namespace ProofOfAuthorizationRequests {
119
+ export import ProofOfAuthorizationRequest = ProofOfAuthorizationRequestsAPI.ProofOfAuthorizationRequest;
120
+ export import ProofOfAuthorizationRequestsPage = ProofOfAuthorizationRequestsAPI.ProofOfAuthorizationRequestsPage;
121
+ export import ProofOfAuthorizationRequestListParams = ProofOfAuthorizationRequestsAPI.ProofOfAuthorizationRequestListParams;
122
+ }
@@ -9,7 +9,7 @@ export class RealTimeDecisions extends APIResource {
9
9
  * Retrieve a Real-Time Decision
10
10
  */
11
11
  retrieve(realTimeDecisionId: string, options?: Core.RequestOptions): Core.APIPromise<RealTimeDecision> {
12
- return this.get(`/real_time_decisions/${realTimeDecisionId}`, options);
12
+ return this._client.get(`/real_time_decisions/${realTimeDecisionId}`, options);
13
13
  }
14
14
 
15
15
  /**
@@ -20,7 +20,7 @@ export class RealTimeDecisions extends APIResource {
20
20
  body: RealTimeDecisionActionParams,
21
21
  options?: Core.RequestOptions,
22
22
  ): Core.APIPromise<RealTimeDecision> {
23
- return this.post(`/real_time_decisions/${realTimeDecisionId}/action`, { body, ...options });
23
+ return this._client.post(`/real_time_decisions/${realTimeDecisionId}/action`, { body, ...options });
24
24
  }
25
25
  }
26
26
 
@@ -14,7 +14,7 @@ export class RealTimePaymentsTransfers extends APIResource {
14
14
  body: RealTimePaymentsTransferCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<RealTimePaymentsTransfer> {
17
- return this.post('/real_time_payments_transfers', { body, ...options });
17
+ return this._client.post('/real_time_payments_transfers', { body, ...options });
18
18
  }
19
19
 
20
20
  /**
@@ -24,7 +24,7 @@ export class RealTimePaymentsTransfers extends APIResource {
24
24
  realTimePaymentsTransferId: string,
25
25
  options?: Core.RequestOptions,
26
26
  ): Core.APIPromise<RealTimePaymentsTransfer> {
27
- return this.get(`/real_time_payments_transfers/${realTimePaymentsTransferId}`, options);
27
+ return this._client.get(`/real_time_payments_transfers/${realTimePaymentsTransferId}`, options);
28
28
  }
29
29
 
30
30
  /**
@@ -44,7 +44,7 @@ export class RealTimePaymentsTransfers extends APIResource {
44
44
  if (isRequestOptions(query)) {
45
45
  return this.list({}, query);
46
46
  }
47
- return this.getAPIList('/real_time_payments_transfers', RealTimePaymentsTransfersPage, {
47
+ return this._client.getAPIList('/real_time_payments_transfers', RealTimePaymentsTransfersPage, {
48
48
  query,
49
49
  ...options,
50
50
  });
@@ -16,7 +16,7 @@ export class RoutingNumbers extends APIResource {
16
16
  query: RoutingNumberListParams,
17
17
  options?: Core.RequestOptions,
18
18
  ): Core.PagePromise<RoutingNumbersPage, RoutingNumber> {
19
- return this.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
19
+ return this._client.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
20
20
  }
21
21
  }
22
22
 
@@ -14,7 +14,7 @@ export class AccountStatements extends APIResource {
14
14
  body: AccountStatementCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<AccountStatementsAPI.AccountStatement> {
17
- return this.post('/simulations/account_statements', { body, ...options });
17
+ return this._client.post('/simulations/account_statements', { body, ...options });
18
18
  }
19
19
  }
20
20
 
@@ -15,6 +15,6 @@ export class AccountTransfers extends APIResource {
15
15
  accountTransferId: string,
16
16
  options?: Core.RequestOptions,
17
17
  ): Core.APIPromise<AccountTransfersAPI.AccountTransfer> {
18
- return this.post(`/simulations/account_transfers/${accountTransferId}/complete`, options);
18
+ return this._client.post(`/simulations/account_transfers/${accountTransferId}/complete`, options);
19
19
  }
20
20
  }
@@ -22,7 +22,7 @@ export class ACHTransfers extends APIResource {
22
22
  body: ACHTransferCreateInboundParams,
23
23
  options?: Core.RequestOptions,
24
24
  ): Core.APIPromise<ACHTransferSimulation> {
25
- return this.post('/simulations/inbound_ach_transfers', { body, ...options });
25
+ return this._client.post('/simulations/inbound_ach_transfers', { body, ...options });
26
26
  }
27
27
 
28
28
  /**
@@ -35,7 +35,7 @@ export class ACHTransfers extends APIResource {
35
35
  body: ACHTransferReturnParams,
36
36
  options?: Core.RequestOptions,
37
37
  ): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
38
- return this.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
38
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
39
39
  }
40
40
 
41
41
  /**
@@ -47,7 +47,7 @@ export class ACHTransfers extends APIResource {
47
47
  * delay and transition the ACH Transfer to a status of `submitted`.
48
48
  */
49
49
  submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
50
- return this.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
50
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
51
51
  }
52
52
  }
53
53
 
@@ -3411,6 +3411,23 @@ export namespace ACHTransferSimulation {
3411
3411
  * - `unmatched_details` - The image doesn't match the details submitted.
3412
3412
  * - `unreadable_image` - The image could not be read.
3413
3413
  * - `endorsement_irregular` - The check endorsement was irregular.
3414
+ * - `altered_or_fictitious_item` - The check present was either altered or fake.
3415
+ * - `frozen_or_blocked_account` - The account this check is drawn on is frozen.
3416
+ * - `post_dated` - The check is post dated.
3417
+ * - `endorsement_missing` - The endorsement was missing.
3418
+ * - `signature_missing` - The check signature was missing.
3419
+ * - `stop_payment_suspect` - The bank suspects a stop payment will be placed.
3420
+ * - `unusable_image` - The bank cannot read the image.
3421
+ * - `image_fails_security_check` - The check image fails the bank's security
3422
+ * check.
3423
+ * - `cannot_determine_amount` - The bank cannot determine the amount.
3424
+ * - `signature_irregular` - The signature is inconsistent with prior signatures.
3425
+ * - `non_cash_item` - The check is a non-cash item and cannot be drawn against the
3426
+ * account.
3427
+ * - `unable_to_process` - The bank is unable to process this check.
3428
+ * - `item_exceeds_dollar_limit` - The check exceeds the bank or customer's limit.
3429
+ * - `branch_or_account_sold` - The bank sold this account and no longer services
3430
+ * this customer.
3414
3431
  */
3415
3432
  return_reason:
3416
3433
  | 'ach_conversion_not_supported'
@@ -3424,7 +3441,21 @@ export namespace ACHTransferSimulation {
3424
3441
  | 'unknown_reason'
3425
3442
  | 'unmatched_details'
3426
3443
  | 'unreadable_image'
3427
- | 'endorsement_irregular';
3444
+ | 'endorsement_irregular'
3445
+ | 'altered_or_fictitious_item'
3446
+ | 'frozen_or_blocked_account'
3447
+ | 'post_dated'
3448
+ | 'endorsement_missing'
3449
+ | 'signature_missing'
3450
+ | 'stop_payment_suspect'
3451
+ | 'unusable_image'
3452
+ | 'image_fails_security_check'
3453
+ | 'cannot_determine_amount'
3454
+ | 'signature_irregular'
3455
+ | 'non_cash_item'
3456
+ | 'unable_to_process'
3457
+ | 'item_exceeds_dollar_limit'
3458
+ | 'branch_or_account_sold';
3428
3459
 
3429
3460
  /**
3430
3461
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -17,7 +17,7 @@ export class CardDisputes extends APIResource {
17
17
  body: CardDisputeActionParams,
18
18
  options?: Core.RequestOptions,
19
19
  ): Core.APIPromise<CardDisputesAPI.CardDispute> {
20
- return this.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
20
+ return this._client.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
21
21
  }
22
22
  }
23
23
 
@@ -16,6 +16,6 @@ export class CardProfiles extends APIResource {
16
16
  cardProfileId: string,
17
17
  options?: Core.RequestOptions,
18
18
  ): Core.APIPromise<CardProfilesAPI.CardProfile> {
19
- return this.post(`/simulations/card_profiles/${cardProfileId}/approve`, options);
19
+ return this._client.post(`/simulations/card_profiles/${cardProfileId}/approve`, options);
20
20
  }
21
21
  }
@@ -14,7 +14,7 @@ export class CardRefunds extends APIResource {
14
14
  body: CardRefundCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<TransactionsAPI.Transaction> {
17
- return this.post('/simulations/card_refunds', { body, ...options });
17
+ return this._client.post('/simulations/card_refunds', { body, ...options });
18
18
  }
19
19
  }
20
20
 
@@ -19,7 +19,7 @@ export class Cards extends APIResource {
19
19
  body: CardAuthorizeParams,
20
20
  options?: Core.RequestOptions,
21
21
  ): Core.APIPromise<CardAuthorizationSimulation> {
22
- return this.post('/simulations/card_authorizations', { body, ...options });
22
+ return this._client.post('/simulations/card_authorizations', { body, ...options });
23
23
  }
24
24
 
25
25
  /**
@@ -33,7 +33,7 @@ export class Cards extends APIResource {
33
33
  body: CardSettlementParams,
34
34
  options?: Core.RequestOptions,
35
35
  ): Core.APIPromise<TransactionsAPI.Transaction> {
36
- return this.post('/simulations/card_settlements', { body, ...options });
36
+ return this._client.post('/simulations/card_settlements', { body, ...options });
37
37
  }
38
38
  }
39
39
 
@@ -14,7 +14,7 @@ export class CheckDeposits extends APIResource {
14
14
  checkDepositId: string,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
17
- return this.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
17
+ return this._client.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
18
18
  }
19
19
 
20
20
  /**
@@ -25,7 +25,7 @@ export class CheckDeposits extends APIResource {
25
25
  checkDepositId: string,
26
26
  options?: Core.RequestOptions,
27
27
  ): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
28
- return this.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
28
+ return this._client.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
29
29
  }
30
30
 
31
31
  /**
@@ -36,6 +36,6 @@ export class CheckDeposits extends APIResource {
36
36
  checkDepositId: string,
37
37
  options?: Core.RequestOptions,
38
38
  ): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
39
- return this.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
39
+ return this._client.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
40
40
  }
41
41
  }
@@ -13,7 +13,7 @@ export class CheckTransfers extends APIResource {
13
13
  checkTransferId: string,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
16
- return this.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
16
+ return this._client.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
17
17
  }
18
18
 
19
19
  /**
@@ -25,6 +25,6 @@ export class CheckTransfers extends APIResource {
25
25
  checkTransferId: string,
26
26
  options?: Core.RequestOptions,
27
27
  ): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
28
- return this.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
28
+ return this._client.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
29
29
  }
30
30
  }
@@ -13,7 +13,7 @@ export class DigitalWalletTokenRequests extends APIResource {
13
13
  body: DigitalWalletTokenRequestCreateParams,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<DigitalWalletTokenRequestCreateResponse> {
16
- return this.post('/simulations/digital_wallet_token_requests', { body, ...options });
16
+ return this._client.post('/simulations/digital_wallet_token_requests', { body, ...options });
17
17
  }
18
18
  }
19
19
 
@@ -10,7 +10,7 @@ export class Documents extends APIResource {
10
10
  * Simulates an tax document being created for an account.
11
11
  */
12
12
  create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<DocumentsAPI.Document> {
13
- return this.post('/simulations/documents', { body, ...options });
13
+ return this._client.post('/simulations/documents', { body, ...options });
14
14
  }
15
15
  }
16
16
 
@@ -13,7 +13,7 @@ export class InboundFundsHolds extends APIResource {
13
13
  inboundFundsHoldId: string,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<InboundFundsHoldReleaseResponse> {
16
- return this.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
16
+ return this._client.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
17
17
  }
18
18
  }
19
19
 
@@ -14,7 +14,7 @@ export class InboundWireDrawdownRequests extends APIResource {
14
14
  body: InboundWireDrawdownRequestCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequest> {
17
- return this.post('/simulations/inbound_wire_drawdown_requests', { body, ...options });
17
+ return this._client.post('/simulations/inbound_wire_drawdown_requests', { body, ...options });
18
18
  }
19
19
  }
20
20
 
@@ -13,7 +13,7 @@ export class InterestPayments extends APIResource {
13
13
  body: InterestPaymentCreateParams,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<InterestPaymentSimulationResult> {
16
- return this.post('/simulations/interest_payment', { body, ...options });
16
+ return this._client.post('/simulations/interest_payment', { body, ...options });
17
17
  }
18
18
  }
19
19
 
@@ -2193,6 +2193,23 @@ export namespace InterestPaymentSimulationResult {
2193
2193
  * - `unmatched_details` - The image doesn't match the details submitted.
2194
2194
  * - `unreadable_image` - The image could not be read.
2195
2195
  * - `endorsement_irregular` - The check endorsement was irregular.
2196
+ * - `altered_or_fictitious_item` - The check present was either altered or fake.
2197
+ * - `frozen_or_blocked_account` - The account this check is drawn on is frozen.
2198
+ * - `post_dated` - The check is post dated.
2199
+ * - `endorsement_missing` - The endorsement was missing.
2200
+ * - `signature_missing` - The check signature was missing.
2201
+ * - `stop_payment_suspect` - The bank suspects a stop payment will be placed.
2202
+ * - `unusable_image` - The bank cannot read the image.
2203
+ * - `image_fails_security_check` - The check image fails the bank's security
2204
+ * check.
2205
+ * - `cannot_determine_amount` - The bank cannot determine the amount.
2206
+ * - `signature_irregular` - The signature is inconsistent with prior signatures.
2207
+ * - `non_cash_item` - The check is a non-cash item and cannot be drawn against the
2208
+ * account.
2209
+ * - `unable_to_process` - The bank is unable to process this check.
2210
+ * - `item_exceeds_dollar_limit` - The check exceeds the bank or customer's limit.
2211
+ * - `branch_or_account_sold` - The bank sold this account and no longer services
2212
+ * this customer.
2196
2213
  */
2197
2214
  return_reason:
2198
2215
  | 'ach_conversion_not_supported'
@@ -2206,7 +2223,21 @@ export namespace InterestPaymentSimulationResult {
2206
2223
  | 'unknown_reason'
2207
2224
  | 'unmatched_details'
2208
2225
  | 'unreadable_image'
2209
- | 'endorsement_irregular';
2226
+ | 'endorsement_irregular'
2227
+ | 'altered_or_fictitious_item'
2228
+ | 'frozen_or_blocked_account'
2229
+ | 'post_dated'
2230
+ | 'endorsement_missing'
2231
+ | 'signature_missing'
2232
+ | 'stop_payment_suspect'
2233
+ | 'unusable_image'
2234
+ | 'image_fails_security_check'
2235
+ | 'cannot_determine_amount'
2236
+ | 'signature_irregular'
2237
+ | 'non_cash_item'
2238
+ | 'unable_to_process'
2239
+ | 'item_exceeds_dollar_limit'
2240
+ | 'branch_or_account_sold';
2210
2241
 
2211
2242
  /**
2212
2243
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -16,7 +16,10 @@ export class PhysicalCards extends APIResource {
16
16
  body: PhysicalCardShipmentAdvanceParams,
17
17
  options?: Core.RequestOptions,
18
18
  ): Core.APIPromise<PhysicalCardsAPI.PhysicalCard> {
19
- return this.post(`/simulations/physical_cards/${physicalCardId}/shipment_advance`, { body, ...options });
19
+ return this._client.post(`/simulations/physical_cards/${physicalCardId}/shipment_advance`, {
20
+ body,
21
+ ...options,
22
+ });
20
23
  }
21
24
  }
22
25
 
@@ -12,7 +12,7 @@ export class Programs extends APIResource {
12
12
  * one program, `program_id` is a required field when creating accounts.
13
13
  */
14
14
  create(body: ProgramCreateParams, options?: Core.RequestOptions): Core.APIPromise<ProgramsAPI.Program> {
15
- return this.post('/simulations/programs', { body, ...options });
15
+ return this._client.post('/simulations/programs', { body, ...options });
16
16
  }
17
17
  }
18
18
 
@@ -16,10 +16,10 @@ export class RealTimePaymentsTransfers extends APIResource {
16
16
  body: RealTimePaymentsTransferCompleteParams,
17
17
  options?: Core.RequestOptions,
18
18
  ): Core.APIPromise<RealTimePaymentsTransfersAPI.RealTimePaymentsTransfer> {
19
- return this.post(`/simulations/real_time_payments_transfers/${realTimePaymentsTransferId}/complete`, {
20
- body,
21
- ...options,
22
- });
19
+ return this._client.post(
20
+ `/simulations/real_time_payments_transfers/${realTimePaymentsTransferId}/complete`,
21
+ { body, ...options },
22
+ );
23
23
  }
24
24
 
25
25
  /**
@@ -30,7 +30,7 @@ export class RealTimePaymentsTransfers extends APIResource {
30
30
  body: RealTimePaymentsTransferCreateInboundParams,
31
31
  options?: Core.RequestOptions,
32
32
  ): Core.APIPromise<InboundRealTimePaymentsTransferSimulationResult> {
33
- return this.post('/simulations/inbound_real_time_payments_transfers', { body, ...options });
33
+ return this._client.post('/simulations/inbound_real_time_payments_transfers', { body, ...options });
34
34
  }
35
35
  }
36
36
 
@@ -3391,6 +3391,23 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
3391
3391
  * - `unmatched_details` - The image doesn't match the details submitted.
3392
3392
  * - `unreadable_image` - The image could not be read.
3393
3393
  * - `endorsement_irregular` - The check endorsement was irregular.
3394
+ * - `altered_or_fictitious_item` - The check present was either altered or fake.
3395
+ * - `frozen_or_blocked_account` - The account this check is drawn on is frozen.
3396
+ * - `post_dated` - The check is post dated.
3397
+ * - `endorsement_missing` - The endorsement was missing.
3398
+ * - `signature_missing` - The check signature was missing.
3399
+ * - `stop_payment_suspect` - The bank suspects a stop payment will be placed.
3400
+ * - `unusable_image` - The bank cannot read the image.
3401
+ * - `image_fails_security_check` - The check image fails the bank's security
3402
+ * check.
3403
+ * - `cannot_determine_amount` - The bank cannot determine the amount.
3404
+ * - `signature_irregular` - The signature is inconsistent with prior signatures.
3405
+ * - `non_cash_item` - The check is a non-cash item and cannot be drawn against the
3406
+ * account.
3407
+ * - `unable_to_process` - The bank is unable to process this check.
3408
+ * - `item_exceeds_dollar_limit` - The check exceeds the bank or customer's limit.
3409
+ * - `branch_or_account_sold` - The bank sold this account and no longer services
3410
+ * this customer.
3394
3411
  */
3395
3412
  return_reason:
3396
3413
  | 'ach_conversion_not_supported'
@@ -3404,7 +3421,21 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
3404
3421
  | 'unknown_reason'
3405
3422
  | 'unmatched_details'
3406
3423
  | 'unreadable_image'
3407
- | 'endorsement_irregular';
3424
+ | 'endorsement_irregular'
3425
+ | 'altered_or_fictitious_item'
3426
+ | 'frozen_or_blocked_account'
3427
+ | 'post_dated'
3428
+ | 'endorsement_missing'
3429
+ | 'signature_missing'
3430
+ | 'stop_payment_suspect'
3431
+ | 'unusable_image'
3432
+ | 'image_fails_security_check'
3433
+ | 'cannot_determine_amount'
3434
+ | 'signature_irregular'
3435
+ | 'non_cash_item'
3436
+ | 'unable_to_process'
3437
+ | 'item_exceeds_dollar_limit'
3438
+ | 'branch_or_account_sold';
3408
3439
 
3409
3440
  /**
3410
3441
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -22,34 +22,34 @@ import * as WireTransfersAPI from "./wire-transfers";
22
22
 
23
23
  export class Simulations extends APIResource {
24
24
  accountTransfers: AccountTransfersAPI.AccountTransfers = new AccountTransfersAPI.AccountTransfers(
25
- this.client,
25
+ this._client,
26
26
  );
27
27
  accountStatements: AccountStatementsAPI.AccountStatements = new AccountStatementsAPI.AccountStatements(
28
- this.client,
28
+ this._client,
29
29
  );
30
- achTransfers: ACHTransfersAPI.ACHTransfers = new ACHTransfersAPI.ACHTransfers(this.client);
31
- cardDisputes: CardDisputesAPI.CardDisputes = new CardDisputesAPI.CardDisputes(this.client);
32
- cardProfiles: CardProfilesAPI.CardProfiles = new CardProfilesAPI.CardProfiles(this.client);
33
- cardRefunds: CardRefundsAPI.CardRefunds = new CardRefundsAPI.CardRefunds(this.client);
34
- checkTransfers: CheckTransfersAPI.CheckTransfers = new CheckTransfersAPI.CheckTransfers(this.client);
35
- documents: DocumentsAPI.Documents = new DocumentsAPI.Documents(this.client);
30
+ achTransfers: ACHTransfersAPI.ACHTransfers = new ACHTransfersAPI.ACHTransfers(this._client);
31
+ cardDisputes: CardDisputesAPI.CardDisputes = new CardDisputesAPI.CardDisputes(this._client);
32
+ cardProfiles: CardProfilesAPI.CardProfiles = new CardProfilesAPI.CardProfiles(this._client);
33
+ cardRefunds: CardRefundsAPI.CardRefunds = new CardRefundsAPI.CardRefunds(this._client);
34
+ checkTransfers: CheckTransfersAPI.CheckTransfers = new CheckTransfersAPI.CheckTransfers(this._client);
35
+ documents: DocumentsAPI.Documents = new DocumentsAPI.Documents(this._client);
36
36
  digitalWalletTokenRequests: DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests =
37
- new DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests(this.client);
38
- checkDeposits: CheckDepositsAPI.CheckDeposits = new CheckDepositsAPI.CheckDeposits(this.client);
39
- programs: ProgramsAPI.Programs = new ProgramsAPI.Programs(this.client);
37
+ new DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests(this._client);
38
+ checkDeposits: CheckDepositsAPI.CheckDeposits = new CheckDepositsAPI.CheckDeposits(this._client);
39
+ programs: ProgramsAPI.Programs = new ProgramsAPI.Programs(this._client);
40
40
  inboundWireDrawdownRequests: InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequests =
41
- new InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequests(this.client);
41
+ new InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequests(this._client);
42
42
  inboundFundsHolds: InboundFundsHoldsAPI.InboundFundsHolds = new InboundFundsHoldsAPI.InboundFundsHolds(
43
- this.client,
43
+ this._client,
44
44
  );
45
45
  interestPayments: InterestPaymentsAPI.InterestPayments = new InterestPaymentsAPI.InterestPayments(
46
- this.client,
46
+ this._client,
47
47
  );
48
- wireTransfers: WireTransfersAPI.WireTransfers = new WireTransfersAPI.WireTransfers(this.client);
49
- cards: CardsAPI.Cards = new CardsAPI.Cards(this.client);
48
+ wireTransfers: WireTransfersAPI.WireTransfers = new WireTransfersAPI.WireTransfers(this._client);
49
+ cards: CardsAPI.Cards = new CardsAPI.Cards(this._client);
50
50
  realTimePaymentsTransfers: RealTimePaymentsTransfersAPI.RealTimePaymentsTransfers =
51
- new RealTimePaymentsTransfersAPI.RealTimePaymentsTransfers(this.client);
52
- physicalCards: PhysicalCardsAPI.PhysicalCards = new PhysicalCardsAPI.PhysicalCards(this.client);
51
+ new RealTimePaymentsTransfersAPI.RealTimePaymentsTransfers(this._client);
52
+ physicalCards: PhysicalCardsAPI.PhysicalCards = new PhysicalCardsAPI.PhysicalCards(this._client);
53
53
  }
54
54
 
55
55
  export namespace Simulations {