increase 0.11.8 → 0.13.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 (338) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +3 -3
  3. package/_shims/auto/types.d.ts +3 -1
  4. package/_shims/index.d.ts +2 -0
  5. package/_shims/node-runtime.d.ts.map +1 -1
  6. package/_shims/node-runtime.js +3 -0
  7. package/_shims/node-runtime.js.map +1 -1
  8. package/_shims/node-runtime.mjs +2 -0
  9. package/_shims/node-runtime.mjs.map +1 -1
  10. package/_shims/node-types.d.ts +1 -1
  11. package/_shims/registry.d.ts +2 -0
  12. package/_shims/registry.d.ts.map +1 -1
  13. package/_shims/registry.js +3 -1
  14. package/_shims/registry.js.map +1 -1
  15. package/_shims/registry.mjs +2 -0
  16. package/_shims/registry.mjs.map +1 -1
  17. package/_shims/web-runtime.d.ts.map +1 -1
  18. package/_shims/web-runtime.js +8 -0
  19. package/_shims/web-runtime.js.map +1 -1
  20. package/_shims/web-runtime.mjs +8 -0
  21. package/_shims/web-runtime.mjs.map +1 -1
  22. package/_shims/web-types.d.ts +2 -1
  23. package/core.d.ts +1 -1
  24. package/core.d.ts.map +1 -1
  25. package/core.js +38 -23
  26. package/core.js.map +1 -1
  27. package/core.mjs +36 -21
  28. package/core.mjs.map +1 -1
  29. package/error.d.ts.map +1 -1
  30. package/error.js +14 -4
  31. package/error.js.map +1 -1
  32. package/error.mjs +14 -4
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts +111 -110
  35. package/index.d.ts +111 -110
  36. package/index.d.ts.map +1 -1
  37. package/index.js +2 -2
  38. package/index.js.map +1 -1
  39. package/index.mjs +2 -2
  40. package/index.mjs.map +1 -1
  41. package/package.json +3 -2
  42. package/resources/account-numbers.d.ts +4 -4
  43. package/resources/account-numbers.d.ts.map +1 -1
  44. package/resources/account-statements.d.ts +2 -2
  45. package/resources/account-statements.d.ts.map +1 -1
  46. package/resources/account-transfers.d.ts +3 -3
  47. package/resources/account-transfers.d.ts.map +1 -1
  48. package/resources/accounts.d.ts +4 -4
  49. package/resources/accounts.d.ts.map +1 -1
  50. package/resources/ach-prenotifications.d.ts +3 -3
  51. package/resources/ach-prenotifications.d.ts.map +1 -1
  52. package/resources/ach-transfers.d.ts +3 -3
  53. package/resources/ach-transfers.d.ts.map +1 -1
  54. package/resources/balance-lookups.d.ts +2 -2
  55. package/resources/balance-lookups.d.ts.map +1 -1
  56. package/resources/balance-lookups.js +2 -0
  57. package/resources/balance-lookups.js.map +1 -1
  58. package/resources/balance-lookups.mjs +2 -0
  59. package/resources/balance-lookups.mjs.map +1 -1
  60. package/resources/bookkeeping-accounts.d.ts +14 -3
  61. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  62. package/resources/bookkeeping-accounts.js +6 -0
  63. package/resources/bookkeeping-accounts.js.map +1 -1
  64. package/resources/bookkeeping-accounts.mjs +6 -0
  65. package/resources/bookkeeping-accounts.mjs.map +1 -1
  66. package/resources/bookkeeping-entries.d.ts +2 -2
  67. package/resources/bookkeeping-entries.d.ts.map +1 -1
  68. package/resources/bookkeeping-entry-sets.d.ts +2 -2
  69. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  70. package/resources/bookkeeping-entry-sets.js +2 -0
  71. package/resources/bookkeeping-entry-sets.js.map +1 -1
  72. package/resources/bookkeeping-entry-sets.mjs +2 -0
  73. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  74. package/resources/card-disputes.d.ts +3 -3
  75. package/resources/card-disputes.d.ts.map +1 -1
  76. package/resources/card-payments.d.ts +277 -4
  77. package/resources/card-payments.d.ts.map +1 -1
  78. package/resources/card-payments.js.map +1 -1
  79. package/resources/card-payments.mjs.map +1 -1
  80. package/resources/card-profiles.d.ts +3 -3
  81. package/resources/card-profiles.d.ts.map +1 -1
  82. package/resources/card-purchase-supplements.d.ts +2 -2
  83. package/resources/card-purchase-supplements.d.ts.map +1 -1
  84. package/resources/cards.d.ts +5 -5
  85. package/resources/cards.d.ts.map +1 -1
  86. package/resources/check-deposits.d.ts +3 -3
  87. package/resources/check-deposits.d.ts.map +1 -1
  88. package/resources/check-transfers.d.ts +8 -4
  89. package/resources/check-transfers.d.ts.map +1 -1
  90. package/resources/check-transfers.js.map +1 -1
  91. package/resources/check-transfers.mjs.map +1 -1
  92. package/resources/declined-transactions.d.ts +78 -3
  93. package/resources/declined-transactions.d.ts.map +1 -1
  94. package/resources/declined-transactions.js.map +1 -1
  95. package/resources/declined-transactions.mjs.map +1 -1
  96. package/resources/digital-wallet-tokens.d.ts +2 -2
  97. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  98. package/resources/documents.d.ts +2 -2
  99. package/resources/documents.d.ts.map +1 -1
  100. package/resources/entities/beneficial-owners.d.ts +5 -4
  101. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  102. package/resources/entities/beneficial-owners.js +2 -0
  103. package/resources/entities/beneficial-owners.js.map +1 -1
  104. package/resources/entities/beneficial-owners.mjs +2 -0
  105. package/resources/entities/beneficial-owners.mjs.map +1 -1
  106. package/resources/entities/entities.d.ts +12 -11
  107. package/resources/entities/entities.d.ts.map +1 -1
  108. package/resources/entities/entities.js.map +1 -1
  109. package/resources/entities/entities.mjs.map +1 -1
  110. package/resources/entities/supplemental-documents.d.ts +3 -3
  111. package/resources/entities/supplemental-documents.d.ts.map +1 -1
  112. package/resources/event-subscriptions.d.ts +10 -6
  113. package/resources/event-subscriptions.d.ts.map +1 -1
  114. package/resources/event-subscriptions.js.map +1 -1
  115. package/resources/event-subscriptions.mjs.map +1 -1
  116. package/resources/events.d.ts +6 -4
  117. package/resources/events.d.ts.map +1 -1
  118. package/resources/events.js.map +1 -1
  119. package/resources/events.mjs.map +1 -1
  120. package/resources/exports.d.ts +3 -3
  121. package/resources/exports.d.ts.map +1 -1
  122. package/resources/external-accounts.d.ts +4 -4
  123. package/resources/external-accounts.d.ts.map +1 -1
  124. package/resources/files.d.ts +3 -3
  125. package/resources/files.d.ts.map +1 -1
  126. package/resources/groups.d.ts +1 -1
  127. package/resources/groups.d.ts.map +1 -1
  128. package/resources/groups.js +2 -0
  129. package/resources/groups.js.map +1 -1
  130. package/resources/groups.mjs +2 -0
  131. package/resources/groups.mjs.map +1 -1
  132. package/resources/inbound-ach-transfers.d.ts +50 -6
  133. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  134. package/resources/inbound-ach-transfers.js.map +1 -1
  135. package/resources/inbound-ach-transfers.mjs.map +1 -1
  136. package/resources/inbound-wire-drawdown-requests.d.ts +2 -2
  137. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  138. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  139. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  140. package/resources/index.d.ts +1 -1
  141. package/resources/index.d.ts.map +1 -1
  142. package/resources/index.js.map +1 -1
  143. package/resources/index.mjs.map +1 -1
  144. package/resources/oauth-connections.d.ts +2 -2
  145. package/resources/oauth-connections.d.ts.map +1 -1
  146. package/resources/pending-transactions.d.ts +75 -2
  147. package/resources/pending-transactions.d.ts.map +1 -1
  148. package/resources/pending-transactions.js.map +1 -1
  149. package/resources/pending-transactions.mjs.map +1 -1
  150. package/resources/physical-cards.d.ts +5 -5
  151. package/resources/physical-cards.d.ts.map +1 -1
  152. package/resources/programs.d.ts +2 -2
  153. package/resources/programs.d.ts.map +1 -1
  154. package/resources/real-time-decisions.d.ts +75 -2
  155. package/resources/real-time-decisions.d.ts.map +1 -1
  156. package/resources/real-time-decisions.js +2 -0
  157. package/resources/real-time-decisions.js.map +1 -1
  158. package/resources/real-time-decisions.mjs +2 -0
  159. package/resources/real-time-decisions.mjs.map +1 -1
  160. package/resources/real-time-payments-transfers.d.ts +3 -3
  161. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  162. package/resources/real-time-payments-transfers.js.map +1 -1
  163. package/resources/real-time-payments-transfers.mjs.map +1 -1
  164. package/resources/routing-numbers.d.ts +2 -2
  165. package/resources/routing-numbers.d.ts.map +1 -1
  166. package/resources/simulations/account-statements.d.ts +1 -1
  167. package/resources/simulations/account-statements.d.ts.map +1 -1
  168. package/resources/simulations/account-statements.js +2 -0
  169. package/resources/simulations/account-statements.js.map +1 -1
  170. package/resources/simulations/account-statements.mjs +2 -0
  171. package/resources/simulations/account-statements.mjs.map +1 -1
  172. package/resources/simulations/ach-transfers.d.ts +125 -5
  173. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  174. package/resources/simulations/ach-transfers.js +2 -0
  175. package/resources/simulations/ach-transfers.js.map +1 -1
  176. package/resources/simulations/ach-transfers.mjs +2 -0
  177. package/resources/simulations/ach-transfers.mjs.map +1 -1
  178. package/resources/simulations/card-disputes.d.ts +1 -1
  179. package/resources/simulations/card-disputes.d.ts.map +1 -1
  180. package/resources/simulations/card-disputes.js +2 -0
  181. package/resources/simulations/card-disputes.js.map +1 -1
  182. package/resources/simulations/card-disputes.mjs +2 -0
  183. package/resources/simulations/card-disputes.mjs.map +1 -1
  184. package/resources/simulations/card-refunds.d.ts +1 -1
  185. package/resources/simulations/card-refunds.d.ts.map +1 -1
  186. package/resources/simulations/card-refunds.js +2 -0
  187. package/resources/simulations/card-refunds.js.map +1 -1
  188. package/resources/simulations/card-refunds.mjs +2 -0
  189. package/resources/simulations/card-refunds.mjs.map +1 -1
  190. package/resources/simulations/cards.d.ts +152 -4
  191. package/resources/simulations/cards.d.ts.map +1 -1
  192. package/resources/simulations/cards.js +2 -0
  193. package/resources/simulations/cards.js.map +1 -1
  194. package/resources/simulations/cards.mjs +2 -0
  195. package/resources/simulations/cards.mjs.map +1 -1
  196. package/resources/simulations/digital-wallet-token-requests.d.ts +2 -2
  197. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  198. package/resources/simulations/digital-wallet-token-requests.js +2 -0
  199. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  200. package/resources/simulations/digital-wallet-token-requests.mjs +2 -0
  201. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  202. package/resources/simulations/documents.d.ts +1 -1
  203. package/resources/simulations/documents.d.ts.map +1 -1
  204. package/resources/simulations/documents.js +2 -0
  205. package/resources/simulations/documents.js.map +1 -1
  206. package/resources/simulations/documents.mjs +2 -0
  207. package/resources/simulations/documents.mjs.map +1 -1
  208. package/resources/simulations/inbound-funds-holds.d.ts +1 -1
  209. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
  210. package/resources/simulations/inbound-funds-holds.js +2 -0
  211. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  212. package/resources/simulations/inbound-funds-holds.mjs +2 -0
  213. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  214. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
  215. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  216. package/resources/simulations/inbound-wire-drawdown-requests.js +2 -0
  217. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  218. package/resources/simulations/inbound-wire-drawdown-requests.mjs +2 -0
  219. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  220. package/resources/simulations/interest-payments.d.ts +6 -2
  221. package/resources/simulations/interest-payments.d.ts.map +1 -1
  222. package/resources/simulations/interest-payments.js +2 -0
  223. package/resources/simulations/interest-payments.js.map +1 -1
  224. package/resources/simulations/interest-payments.mjs +2 -0
  225. package/resources/simulations/interest-payments.mjs.map +1 -1
  226. package/resources/simulations/physical-cards.d.ts +1 -1
  227. package/resources/simulations/physical-cards.d.ts.map +1 -1
  228. package/resources/simulations/physical-cards.js +2 -0
  229. package/resources/simulations/physical-cards.js.map +1 -1
  230. package/resources/simulations/physical-cards.mjs +2 -0
  231. package/resources/simulations/physical-cards.mjs.map +1 -1
  232. package/resources/simulations/programs.d.ts +1 -1
  233. package/resources/simulations/programs.d.ts.map +1 -1
  234. package/resources/simulations/programs.js +2 -0
  235. package/resources/simulations/programs.js.map +1 -1
  236. package/resources/simulations/programs.mjs +2 -0
  237. package/resources/simulations/programs.mjs.map +1 -1
  238. package/resources/simulations/real-time-payments-transfers.d.ts +83 -4
  239. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  240. package/resources/simulations/real-time-payments-transfers.js +2 -0
  241. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  242. package/resources/simulations/real-time-payments-transfers.mjs +2 -0
  243. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  244. package/resources/simulations/simulations.d.ts +23 -23
  245. package/resources/simulations/simulations.d.ts.map +1 -1
  246. package/resources/simulations/simulations.js.map +1 -1
  247. package/resources/simulations/simulations.mjs.map +1 -1
  248. package/resources/simulations/wire-transfers.d.ts +6 -2
  249. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  250. package/resources/simulations/wire-transfers.js +2 -0
  251. package/resources/simulations/wire-transfers.js.map +1 -1
  252. package/resources/simulations/wire-transfers.mjs +2 -0
  253. package/resources/simulations/wire-transfers.mjs.map +1 -1
  254. package/resources/transactions.d.ts +6 -2
  255. package/resources/transactions.d.ts.map +1 -1
  256. package/resources/transactions.js.map +1 -1
  257. package/resources/transactions.mjs.map +1 -1
  258. package/resources/wire-drawdown-requests.d.ts +3 -3
  259. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  260. package/resources/wire-transfers.d.ts +3 -3
  261. package/resources/wire-transfers.d.ts.map +1 -1
  262. package/shims/node.d.ts +1 -1
  263. package/shims/node.d.ts.map +1 -1
  264. package/shims/web.d.ts +1 -1
  265. package/shims/web.d.ts.map +1 -1
  266. package/src/_shims/auto/types.d.ts +3 -1
  267. package/src/_shims/index.d.ts +2 -0
  268. package/src/_shims/node-runtime.ts +4 -0
  269. package/src/_shims/node-types.d.ts +1 -1
  270. package/src/_shims/registry.ts +3 -0
  271. package/src/_shims/web-runtime.ts +12 -0
  272. package/src/_shims/web-types.d.ts +2 -1
  273. package/src/core.ts +39 -21
  274. package/src/error.ts +15 -5
  275. package/src/index.ts +112 -111
  276. package/src/resources/account-numbers.ts +4 -4
  277. package/src/resources/account-statements.ts +2 -2
  278. package/src/resources/account-transfers.ts +3 -3
  279. package/src/resources/accounts.ts +4 -4
  280. package/src/resources/ach-prenotifications.ts +3 -3
  281. package/src/resources/ach-transfers.ts +3 -3
  282. package/src/resources/balance-lookups.ts +2 -2
  283. package/src/resources/bookkeeping-accounts.ts +22 -3
  284. package/src/resources/bookkeeping-entries.ts +2 -2
  285. package/src/resources/bookkeeping-entry-sets.ts +2 -2
  286. package/src/resources/card-disputes.ts +3 -3
  287. package/src/resources/card-payments.ts +330 -3
  288. package/src/resources/card-profiles.ts +3 -3
  289. package/src/resources/card-purchase-supplements.ts +2 -2
  290. package/src/resources/cards.ts +5 -5
  291. package/src/resources/check-deposits.ts +3 -3
  292. package/src/resources/check-transfers.ts +9 -4
  293. package/src/resources/declined-transactions.ts +94 -3
  294. package/src/resources/digital-wallet-tokens.ts +2 -2
  295. package/src/resources/documents.ts +2 -2
  296. package/src/resources/entities/beneficial-owners.ts +5 -4
  297. package/src/resources/entities/entities.ts +12 -11
  298. package/src/resources/entities/supplemental-documents.ts +3 -3
  299. package/src/resources/event-subscriptions.ts +10 -4
  300. package/src/resources/events.ts +6 -2
  301. package/src/resources/exports.ts +3 -3
  302. package/src/resources/external-accounts.ts +4 -4
  303. package/src/resources/files.ts +3 -3
  304. package/src/resources/groups.ts +1 -1
  305. package/src/resources/inbound-ach-transfers.ts +55 -6
  306. package/src/resources/inbound-wire-drawdown-requests.ts +2 -3
  307. package/src/resources/index.ts +1 -0
  308. package/src/resources/oauth-connections.ts +2 -2
  309. package/src/resources/pending-transactions.ts +90 -2
  310. package/src/resources/physical-cards.ts +5 -5
  311. package/src/resources/programs.ts +2 -2
  312. package/src/resources/real-time-decisions.ts +90 -2
  313. package/src/resources/real-time-payments-transfers.ts +3 -5
  314. package/src/resources/routing-numbers.ts +2 -2
  315. package/src/resources/simulations/account-statements.ts +1 -1
  316. package/src/resources/simulations/ach-transfers.ts +147 -4
  317. package/src/resources/simulations/card-disputes.ts +1 -1
  318. package/src/resources/simulations/card-refunds.ts +1 -1
  319. package/src/resources/simulations/cards.ts +183 -4
  320. package/src/resources/simulations/digital-wallet-token-requests.ts +2 -4
  321. package/src/resources/simulations/documents.ts +1 -1
  322. package/src/resources/simulations/inbound-funds-holds.ts +1 -1
  323. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -2
  324. package/src/resources/simulations/interest-payments.ts +7 -2
  325. package/src/resources/simulations/physical-cards.ts +1 -2
  326. package/src/resources/simulations/programs.ts +1 -1
  327. package/src/resources/simulations/real-time-payments-transfers.ts +100 -7
  328. package/src/resources/simulations/simulations.ts +23 -29
  329. package/src/resources/simulations/wire-transfers.ts +7 -2
  330. package/src/resources/transactions.ts +7 -2
  331. package/src/resources/wire-drawdown-requests.ts +3 -3
  332. package/src/resources/wire-transfers.ts +3 -3
  333. package/src/shims/node.ts +1 -1
  334. package/src/shims/web.ts +1 -1
  335. package/src/version.ts +1 -1
  336. package/version.d.ts +1 -1
  337. package/version.js +1 -1
  338. package/version.mjs +1 -1
@@ -189,6 +189,11 @@ export namespace RealTimeDecision {
189
189
  * transaction will be settled in.
190
190
  */
191
191
  settlement_currency: string;
192
+
193
+ /**
194
+ * Fields related to verification of cardholder-provided values.
195
+ */
196
+ verification: CardAuthorization.Verification;
192
197
  }
193
198
 
194
199
  export namespace CardAuthorization {
@@ -335,6 +340,89 @@ export namespace RealTimeDecision {
335
340
  original_card_authorization_id: string;
336
341
  }
337
342
  }
343
+
344
+ /**
345
+ * Fields related to verification of cardholder-provided values.
346
+ */
347
+ export interface Verification {
348
+ /**
349
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
350
+ * the back of the card.
351
+ */
352
+ card_verification_code: Verification.CardVerificationCode;
353
+
354
+ /**
355
+ * Cardholder address provided in the authorization request and the address on file
356
+ * we verified it against.
357
+ */
358
+ cardholder_address: Verification.CardholderAddress;
359
+ }
360
+
361
+ export namespace Verification {
362
+ /**
363
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
364
+ * the back of the card.
365
+ */
366
+ export interface CardVerificationCode {
367
+ /**
368
+ * The result of verifying the Card Verification Code.
369
+ *
370
+ * - `not_checked` - No card verification code was provided in the authorization
371
+ * request.
372
+ * - `match` - The card verification code matched the one on file.
373
+ * - `no_match` - The card verification code did not match the one on file.
374
+ */
375
+ result: 'not_checked' | 'match' | 'no_match';
376
+ }
377
+
378
+ /**
379
+ * Cardholder address provided in the authorization request and the address on file
380
+ * we verified it against.
381
+ */
382
+ export interface CardholderAddress {
383
+ /**
384
+ * Line 1 of the address on file for the cardholder.
385
+ */
386
+ actual_line1: string | null;
387
+
388
+ /**
389
+ * The postal code of the address on file for the cardholder.
390
+ */
391
+ actual_postal_code: string | null;
392
+
393
+ /**
394
+ * The cardholder address line 1 provided for verification in the authorization
395
+ * request.
396
+ */
397
+ provided_line1: string | null;
398
+
399
+ /**
400
+ * The postal code provided for verification in the authorization request.
401
+ */
402
+ provided_postal_code: string | null;
403
+
404
+ /**
405
+ * The address verification result returned to the card network.
406
+ *
407
+ * - `not_checked` - No adress was provided in the authorization request.
408
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
409
+ * address was not verified.
410
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
411
+ * address does not match.
412
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
413
+ * street address matches.
414
+ * - `match` - Postal code and street address match.
415
+ * - `no_match` - Postal code and street address do not match.
416
+ */
417
+ result:
418
+ | 'not_checked'
419
+ | 'postal_code_match_address_not_checked'
420
+ | 'postal_code_match_address_no_match'
421
+ | 'postal_code_no_match_address_match'
422
+ | 'match'
423
+ | 'no_match';
424
+ }
425
+ }
338
426
  }
339
427
 
340
428
  /**
@@ -534,6 +622,6 @@ export namespace RealTimeDecisionActionParams {
534
622
  }
535
623
 
536
624
  export namespace RealTimeDecisions {
537
- export type RealTimeDecision = RealTimeDecisionsAPI.RealTimeDecision;
538
- export type RealTimeDecisionActionParams = RealTimeDecisionsAPI.RealTimeDecisionActionParams;
625
+ export import RealTimeDecision = RealTimeDecisionsAPI.RealTimeDecision;
626
+ export import RealTimeDecisionActionParams = RealTimeDecisionsAPI.RealTimeDecisionActionParams;
539
627
  }
@@ -446,10 +446,8 @@ export namespace RealTimePaymentsTransferListParams {
446
446
  }
447
447
 
448
448
  export namespace RealTimePaymentsTransfers {
449
- export type RealTimePaymentsTransfer = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfer;
449
+ export import RealTimePaymentsTransfer = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfer;
450
450
  export import RealTimePaymentsTransfersPage = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfersPage;
451
- export type RealTimePaymentsTransferCreateParams =
452
- RealTimePaymentsTransfersAPI.RealTimePaymentsTransferCreateParams;
453
- export type RealTimePaymentsTransferListParams =
454
- RealTimePaymentsTransfersAPI.RealTimePaymentsTransferListParams;
451
+ export import RealTimePaymentsTransferCreateParams = RealTimePaymentsTransfersAPI.RealTimePaymentsTransferCreateParams;
452
+ export import RealTimePaymentsTransferListParams = RealTimePaymentsTransfersAPI.RealTimePaymentsTransferListParams;
455
453
  }
@@ -75,7 +75,7 @@ export interface RoutingNumberListParams extends PageParams {
75
75
  }
76
76
 
77
77
  export namespace RoutingNumbers {
78
- export type RoutingNumber = RoutingNumbersAPI.RoutingNumber;
78
+ export import RoutingNumber = RoutingNumbersAPI.RoutingNumber;
79
79
  export import RoutingNumbersPage = RoutingNumbersAPI.RoutingNumbersPage;
80
- export type RoutingNumberListParams = RoutingNumbersAPI.RoutingNumberListParams;
80
+ export import RoutingNumberListParams = RoutingNumbersAPI.RoutingNumberListParams;
81
81
  }
@@ -26,5 +26,5 @@ export interface AccountStatementCreateParams {
26
26
  }
27
27
 
28
28
  export namespace AccountStatements {
29
- export type AccountStatementCreateParams = SimulationsAccountStatementsAPI.AccountStatementCreateParams;
29
+ export import AccountStatementCreateParams = SimulationsAccountStatementsAPI.AccountStatementCreateParams;
30
30
  }
@@ -462,6 +462,11 @@ export namespace ACHTransferSimulation {
462
462
  | 'invalid_physical_card'
463
463
  | 'missing_original_authorization'
464
464
  | 'suspected_fraud';
465
+
466
+ /**
467
+ * Fields related to verification of cardholder-provided values.
468
+ */
469
+ verification: CardDecline.Verification;
465
470
  }
466
471
 
467
472
  export namespace CardDecline {
@@ -565,6 +570,89 @@ export namespace ACHTransferSimulation {
565
570
  | null;
566
571
  }
567
572
  }
573
+
574
+ /**
575
+ * Fields related to verification of cardholder-provided values.
576
+ */
577
+ export interface Verification {
578
+ /**
579
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
580
+ * the back of the card.
581
+ */
582
+ card_verification_code: Verification.CardVerificationCode;
583
+
584
+ /**
585
+ * Cardholder address provided in the authorization request and the address on file
586
+ * we verified it against.
587
+ */
588
+ cardholder_address: Verification.CardholderAddress;
589
+ }
590
+
591
+ export namespace Verification {
592
+ /**
593
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
594
+ * the back of the card.
595
+ */
596
+ export interface CardVerificationCode {
597
+ /**
598
+ * The result of verifying the Card Verification Code.
599
+ *
600
+ * - `not_checked` - No card verification code was provided in the authorization
601
+ * request.
602
+ * - `match` - The card verification code matched the one on file.
603
+ * - `no_match` - The card verification code did not match the one on file.
604
+ */
605
+ result: 'not_checked' | 'match' | 'no_match';
606
+ }
607
+
608
+ /**
609
+ * Cardholder address provided in the authorization request and the address on file
610
+ * we verified it against.
611
+ */
612
+ export interface CardholderAddress {
613
+ /**
614
+ * Line 1 of the address on file for the cardholder.
615
+ */
616
+ actual_line1: string | null;
617
+
618
+ /**
619
+ * The postal code of the address on file for the cardholder.
620
+ */
621
+ actual_postal_code: string | null;
622
+
623
+ /**
624
+ * The cardholder address line 1 provided for verification in the authorization
625
+ * request.
626
+ */
627
+ provided_line1: string | null;
628
+
629
+ /**
630
+ * The postal code provided for verification in the authorization request.
631
+ */
632
+ provided_postal_code: string | null;
633
+
634
+ /**
635
+ * The address verification result returned to the card network.
636
+ *
637
+ * - `not_checked` - No adress was provided in the authorization request.
638
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
639
+ * address was not verified.
640
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
641
+ * address does not match.
642
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
643
+ * street address matches.
644
+ * - `match` - Postal code and street address match.
645
+ * - `no_match` - Postal code and street address do not match.
646
+ */
647
+ result:
648
+ | 'not_checked'
649
+ | 'postal_code_match_address_not_checked'
650
+ | 'postal_code_match_address_no_match'
651
+ | 'postal_code_no_match_address_match'
652
+ | 'match'
653
+ | 'no_match';
654
+ }
655
+ }
568
656
  }
569
657
 
570
658
  /**
@@ -601,6 +689,8 @@ export namespace ACHTransferSimulation {
601
689
  * does not match the amount on the check.
602
690
  * - `not_our_item` - The check attempting to be deposited does not belong to
603
691
  * Increase.
692
+ * - `no_account_number_found` - The account number on the check does not exist at
693
+ * Increase.
604
694
  */
605
695
  reason:
606
696
  | 'ach_route_disabled'
@@ -613,7 +703,8 @@ export namespace ACHTransferSimulation {
613
703
  | 'duplicate_presentment'
614
704
  | 'not_authorized'
615
705
  | 'amount_mismatch'
616
- | 'not_our_item';
706
+ | 'not_our_item'
707
+ | 'no_account_number_found';
617
708
  }
618
709
 
619
710
  /**
@@ -3262,6 +3353,11 @@ export namespace ACHTransferSimulation {
3262
3353
  */
3263
3354
  transaction_id: string | null;
3264
3355
 
3356
+ /**
3357
+ * The identifier of the Check Transfer object that was deposited.
3358
+ */
3359
+ transfer_id: string;
3360
+
3265
3361
  /**
3266
3362
  * A constant representing the object's type. For this resource it will always be
3267
3363
  * `check_transfer_deposit`.
@@ -4403,6 +4499,11 @@ export namespace ACHTransferSimulation {
4403
4499
  */
4404
4500
  account_number_id: string;
4405
4501
 
4502
+ /**
4503
+ * Additional information sent from the originator.
4504
+ */
4505
+ addenda: Transfer.Addenda | null;
4506
+
4406
4507
  /**
4407
4508
  * The transfer amount in USD cents.
4408
4509
  */
@@ -4517,6 +4618,44 @@ export namespace ACHTransferSimulation {
4517
4618
  transaction_id: string;
4518
4619
  }
4519
4620
 
4621
+ /**
4622
+ * Additional information sent from the originator.
4623
+ */
4624
+ export interface Addenda {
4625
+ /**
4626
+ * The type of addendum.
4627
+ *
4628
+ * - `freeform` - Unstructured addendum.
4629
+ */
4630
+ category: 'freeform';
4631
+
4632
+ /**
4633
+ * Unstructured `payment_related_information` passed through by the originator.
4634
+ */
4635
+ freeform: Addenda.Freeform | null;
4636
+ }
4637
+
4638
+ export namespace Addenda {
4639
+ /**
4640
+ * Unstructured `payment_related_information` passed through by the originator.
4641
+ */
4642
+ export interface Freeform {
4643
+ /**
4644
+ * Each entry represents an addendum received from the originator.
4645
+ */
4646
+ entries: Array<Freeform.Entry>;
4647
+ }
4648
+
4649
+ export namespace Freeform {
4650
+ export interface Entry {
4651
+ /**
4652
+ * The payment related information passed in the addendum.
4653
+ */
4654
+ payment_related_information: string;
4655
+ }
4656
+ }
4657
+ }
4658
+
4520
4659
  /**
4521
4660
  * If your transfer is declined, this will contain details of the decline.
4522
4661
  */
@@ -4596,6 +4735,9 @@ export namespace ACHTransferSimulation {
4596
4735
  /**
4597
4736
  * The reason for the transfer return.
4598
4737
  *
4738
+ * - `returned_per_odfi_request` - The originating financial institution asked for
4739
+ * this transfer to be returned. The receiving bank is complying with the
4740
+ * request. The Nacha return code is R06.
4599
4741
  * - `authorization_revoked_by_customer` - The customer no longer authorizes this
4600
4742
  * transaction. The Nacha return code is R07.
4601
4743
  * - `payment_stopped` - The customer asked for the payment to be stopped. This
@@ -4615,6 +4757,7 @@ export namespace ACHTransferSimulation {
4615
4757
  * authorizes this transaction. The Nacha return code is R29.
4616
4758
  */
4617
4759
  reason:
4760
+ | 'returned_per_odfi_request'
4618
4761
  | 'authorization_revoked_by_customer'
4619
4762
  | 'payment_stopped'
4620
4763
  | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
@@ -4909,7 +5052,7 @@ export interface ACHTransferReturnParams {
4909
5052
  }
4910
5053
 
4911
5054
  export namespace ACHTransfers {
4912
- export type ACHTransferSimulation = SimulationsACHTransfersAPI.ACHTransferSimulation;
4913
- export type ACHTransferCreateInboundParams = SimulationsACHTransfersAPI.ACHTransferCreateInboundParams;
4914
- export type ACHTransferReturnParams = SimulationsACHTransfersAPI.ACHTransferReturnParams;
5055
+ export import ACHTransferSimulation = SimulationsACHTransfersAPI.ACHTransferSimulation;
5056
+ export import ACHTransferCreateInboundParams = SimulationsACHTransfersAPI.ACHTransferCreateInboundParams;
5057
+ export import ACHTransferReturnParams = SimulationsACHTransfersAPI.ACHTransferReturnParams;
4915
5058
  }
@@ -38,5 +38,5 @@ export interface CardDisputeActionParams {
38
38
  }
39
39
 
40
40
  export namespace CardDisputes {
41
- export type CardDisputeActionParams = SimulationsCardDisputesAPI.CardDisputeActionParams;
41
+ export import CardDisputeActionParams = SimulationsCardDisputesAPI.CardDisputeActionParams;
42
42
  }
@@ -27,5 +27,5 @@ export interface CardRefundCreateParams {
27
27
  }
28
28
 
29
29
  export namespace CardRefunds {
30
- export type CardRefundCreateParams = CardRefundsAPI.CardRefundCreateParams;
30
+ export import CardRefundCreateParams = CardRefundsAPI.CardRefundCreateParams;
31
31
  }
@@ -443,6 +443,11 @@ export namespace CardAuthorizationSimulation {
443
443
  | 'invalid_physical_card'
444
444
  | 'missing_original_authorization'
445
445
  | 'suspected_fraud';
446
+
447
+ /**
448
+ * Fields related to verification of cardholder-provided values.
449
+ */
450
+ verification: CardDecline.Verification;
446
451
  }
447
452
 
448
453
  export namespace CardDecline {
@@ -546,6 +551,89 @@ export namespace CardAuthorizationSimulation {
546
551
  | null;
547
552
  }
548
553
  }
554
+
555
+ /**
556
+ * Fields related to verification of cardholder-provided values.
557
+ */
558
+ export interface Verification {
559
+ /**
560
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
561
+ * the back of the card.
562
+ */
563
+ card_verification_code: Verification.CardVerificationCode;
564
+
565
+ /**
566
+ * Cardholder address provided in the authorization request and the address on file
567
+ * we verified it against.
568
+ */
569
+ cardholder_address: Verification.CardholderAddress;
570
+ }
571
+
572
+ export namespace Verification {
573
+ /**
574
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
575
+ * the back of the card.
576
+ */
577
+ export interface CardVerificationCode {
578
+ /**
579
+ * The result of verifying the Card Verification Code.
580
+ *
581
+ * - `not_checked` - No card verification code was provided in the authorization
582
+ * request.
583
+ * - `match` - The card verification code matched the one on file.
584
+ * - `no_match` - The card verification code did not match the one on file.
585
+ */
586
+ result: 'not_checked' | 'match' | 'no_match';
587
+ }
588
+
589
+ /**
590
+ * Cardholder address provided in the authorization request and the address on file
591
+ * we verified it against.
592
+ */
593
+ export interface CardholderAddress {
594
+ /**
595
+ * Line 1 of the address on file for the cardholder.
596
+ */
597
+ actual_line1: string | null;
598
+
599
+ /**
600
+ * The postal code of the address on file for the cardholder.
601
+ */
602
+ actual_postal_code: string | null;
603
+
604
+ /**
605
+ * The cardholder address line 1 provided for verification in the authorization
606
+ * request.
607
+ */
608
+ provided_line1: string | null;
609
+
610
+ /**
611
+ * The postal code provided for verification in the authorization request.
612
+ */
613
+ provided_postal_code: string | null;
614
+
615
+ /**
616
+ * The address verification result returned to the card network.
617
+ *
618
+ * - `not_checked` - No adress was provided in the authorization request.
619
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
620
+ * address was not verified.
621
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
622
+ * address does not match.
623
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
624
+ * street address matches.
625
+ * - `match` - Postal code and street address match.
626
+ * - `no_match` - Postal code and street address do not match.
627
+ */
628
+ result:
629
+ | 'not_checked'
630
+ | 'postal_code_match_address_not_checked'
631
+ | 'postal_code_match_address_no_match'
632
+ | 'postal_code_no_match_address_match'
633
+ | 'match'
634
+ | 'no_match';
635
+ }
636
+ }
549
637
  }
550
638
 
551
639
  /**
@@ -582,6 +670,8 @@ export namespace CardAuthorizationSimulation {
582
670
  * does not match the amount on the check.
583
671
  * - `not_our_item` - The check attempting to be deposited does not belong to
584
672
  * Increase.
673
+ * - `no_account_number_found` - The account number on the check does not exist at
674
+ * Increase.
585
675
  */
586
676
  reason:
587
677
  | 'ach_route_disabled'
@@ -594,7 +684,8 @@ export namespace CardAuthorizationSimulation {
594
684
  | 'duplicate_presentment'
595
685
  | 'not_authorized'
596
686
  | 'amount_mismatch'
597
- | 'not_our_item';
687
+ | 'not_our_item'
688
+ | 'no_account_number_found';
598
689
  }
599
690
 
600
691
  /**
@@ -1421,6 +1512,11 @@ export namespace CardAuthorizationSimulation {
1421
1512
  * `card_authorization`.
1422
1513
  */
1423
1514
  type: 'card_authorization';
1515
+
1516
+ /**
1517
+ * Fields related to verification of cardholder-provided values.
1518
+ */
1519
+ verification: CardAuthorization.Verification;
1424
1520
  }
1425
1521
 
1426
1522
  export namespace CardAuthorization {
@@ -1524,6 +1620,89 @@ export namespace CardAuthorizationSimulation {
1524
1620
  | null;
1525
1621
  }
1526
1622
  }
1623
+
1624
+ /**
1625
+ * Fields related to verification of cardholder-provided values.
1626
+ */
1627
+ export interface Verification {
1628
+ /**
1629
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1630
+ * the back of the card.
1631
+ */
1632
+ card_verification_code: Verification.CardVerificationCode;
1633
+
1634
+ /**
1635
+ * Cardholder address provided in the authorization request and the address on file
1636
+ * we verified it against.
1637
+ */
1638
+ cardholder_address: Verification.CardholderAddress;
1639
+ }
1640
+
1641
+ export namespace Verification {
1642
+ /**
1643
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1644
+ * the back of the card.
1645
+ */
1646
+ export interface CardVerificationCode {
1647
+ /**
1648
+ * The result of verifying the Card Verification Code.
1649
+ *
1650
+ * - `not_checked` - No card verification code was provided in the authorization
1651
+ * request.
1652
+ * - `match` - The card verification code matched the one on file.
1653
+ * - `no_match` - The card verification code did not match the one on file.
1654
+ */
1655
+ result: 'not_checked' | 'match' | 'no_match';
1656
+ }
1657
+
1658
+ /**
1659
+ * Cardholder address provided in the authorization request and the address on file
1660
+ * we verified it against.
1661
+ */
1662
+ export interface CardholderAddress {
1663
+ /**
1664
+ * Line 1 of the address on file for the cardholder.
1665
+ */
1666
+ actual_line1: string | null;
1667
+
1668
+ /**
1669
+ * The postal code of the address on file for the cardholder.
1670
+ */
1671
+ actual_postal_code: string | null;
1672
+
1673
+ /**
1674
+ * The cardholder address line 1 provided for verification in the authorization
1675
+ * request.
1676
+ */
1677
+ provided_line1: string | null;
1678
+
1679
+ /**
1680
+ * The postal code provided for verification in the authorization request.
1681
+ */
1682
+ provided_postal_code: string | null;
1683
+
1684
+ /**
1685
+ * The address verification result returned to the card network.
1686
+ *
1687
+ * - `not_checked` - No adress was provided in the authorization request.
1688
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
1689
+ * address was not verified.
1690
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
1691
+ * address does not match.
1692
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
1693
+ * street address matches.
1694
+ * - `match` - Postal code and street address match.
1695
+ * - `no_match` - Postal code and street address do not match.
1696
+ */
1697
+ result:
1698
+ | 'not_checked'
1699
+ | 'postal_code_match_address_not_checked'
1700
+ | 'postal_code_match_address_no_match'
1701
+ | 'postal_code_no_match_address_match'
1702
+ | 'match'
1703
+ | 'no_match';
1704
+ }
1705
+ }
1527
1706
  }
1528
1707
 
1529
1708
  /**
@@ -1774,7 +1953,7 @@ export interface CardSettlementParams {
1774
1953
  }
1775
1954
 
1776
1955
  export namespace Cards {
1777
- export type CardAuthorizationSimulation = CardsAPI.CardAuthorizationSimulation;
1778
- export type CardAuthorizeParams = CardsAPI.CardAuthorizeParams;
1779
- export type CardSettlementParams = CardsAPI.CardSettlementParams;
1956
+ export import CardAuthorizationSimulation = CardsAPI.CardAuthorizationSimulation;
1957
+ export import CardAuthorizeParams = CardsAPI.CardAuthorizeParams;
1958
+ export import CardSettlementParams = CardsAPI.CardSettlementParams;
1780
1959
  }
@@ -60,8 +60,6 @@ export interface DigitalWalletTokenRequestCreateParams {
60
60
  }
61
61
 
62
62
  export namespace DigitalWalletTokenRequests {
63
- export type DigitalWalletTokenRequestCreateResponse =
64
- DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateResponse;
65
- export type DigitalWalletTokenRequestCreateParams =
66
- DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateParams;
63
+ export import DigitalWalletTokenRequestCreateResponse = DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateResponse;
64
+ export import DigitalWalletTokenRequestCreateParams = DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateParams;
67
65
  }
@@ -22,5 +22,5 @@ export interface DocumentCreateParams {
22
22
  }
23
23
 
24
24
  export namespace Documents {
25
- export type DocumentCreateParams = SimulationsDocumentsAPI.DocumentCreateParams;
25
+ export import DocumentCreateParams = SimulationsDocumentsAPI.DocumentCreateParams;
26
26
  }
@@ -89,5 +89,5 @@ export interface InboundFundsHoldReleaseResponse {
89
89
  }
90
90
 
91
91
  export namespace InboundFundsHolds {
92
- export type InboundFundsHoldReleaseResponse = InboundFundsHoldsAPI.InboundFundsHoldReleaseResponse;
92
+ export import InboundFundsHoldReleaseResponse = InboundFundsHoldsAPI.InboundFundsHoldReleaseResponse;
93
93
  }
@@ -127,6 +127,5 @@ export interface InboundWireDrawdownRequestCreateParams {
127
127
  }
128
128
 
129
129
  export namespace InboundWireDrawdownRequests {
130
- export type InboundWireDrawdownRequestCreateParams =
131
- SimulationsInboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestCreateParams;
130
+ export import InboundWireDrawdownRequestCreateParams = SimulationsInboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestCreateParams;
132
131
  }
@@ -2201,6 +2201,11 @@ export namespace InterestPaymentSimulationResult {
2201
2201
  */
2202
2202
  transaction_id: string | null;
2203
2203
 
2204
+ /**
2205
+ * The identifier of the Check Transfer object that was deposited.
2206
+ */
2207
+ transfer_id: string;
2208
+
2204
2209
  /**
2205
2210
  * A constant representing the object's type. For this resource it will always be
2206
2211
  * `check_transfer_deposit`.
@@ -3347,6 +3352,6 @@ export interface InterestPaymentCreateParams {
3347
3352
  }
3348
3353
 
3349
3354
  export namespace InterestPayments {
3350
- export type InterestPaymentSimulationResult = InterestPaymentsAPI.InterestPaymentSimulationResult;
3351
- export type InterestPaymentCreateParams = InterestPaymentsAPI.InterestPaymentCreateParams;
3355
+ export import InterestPaymentSimulationResult = InterestPaymentsAPI.InterestPaymentSimulationResult;
3356
+ export import InterestPaymentCreateParams = InterestPaymentsAPI.InterestPaymentCreateParams;
3352
3357
  }
@@ -47,6 +47,5 @@ export interface PhysicalCardShipmentAdvanceParams {
47
47
  }
48
48
 
49
49
  export namespace PhysicalCards {
50
- export type PhysicalCardShipmentAdvanceParams =
51
- SimulationsPhysicalCardsAPI.PhysicalCardShipmentAdvanceParams;
50
+ export import PhysicalCardShipmentAdvanceParams = SimulationsPhysicalCardsAPI.PhysicalCardShipmentAdvanceParams;
52
51
  }
@@ -24,5 +24,5 @@ export interface ProgramCreateParams {
24
24
  }
25
25
 
26
26
  export namespace Programs {
27
- export type ProgramCreateParams = SimulationsProgramsAPI.ProgramCreateParams;
27
+ export import ProgramCreateParams = SimulationsProgramsAPI.ProgramCreateParams;
28
28
  }