increase 0.59.1 → 0.60.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 (299) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +41 -17
  3. package/error.d.ts.map +1 -1
  4. package/error.js +0 -3
  5. package/error.js.map +1 -1
  6. package/error.mjs +0 -3
  7. package/error.mjs.map +1 -1
  8. package/index.d.mts +190 -172
  9. package/index.d.ts +190 -172
  10. package/index.d.ts.map +1 -1
  11. package/index.js +96 -87
  12. package/index.js.map +1 -1
  13. package/index.mjs +96 -87
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/cards.d.ts +1 -1
  17. package/resources/cards.d.ts.map +1 -1
  18. package/resources/cards.js +1 -1
  19. package/resources/cards.js.map +1 -1
  20. package/resources/cards.mjs +1 -1
  21. package/resources/cards.mjs.map +1 -1
  22. package/resources/declined-transactions.d.ts +2 -231
  23. package/resources/declined-transactions.d.ts.map +1 -1
  24. package/resources/declined-transactions.js.map +1 -1
  25. package/resources/declined-transactions.mjs.map +1 -1
  26. package/resources/{entities/entities.d.ts → entities.d.ts} +276 -46
  27. package/resources/entities.d.ts.map +1 -0
  28. package/resources/{entities/entities.js → entities.js} +28 -17
  29. package/resources/entities.js.map +1 -0
  30. package/resources/{entities/entities.mjs → entities.mjs} +28 -17
  31. package/resources/entities.mjs.map +1 -0
  32. package/resources/groups.d.ts +1 -1
  33. package/resources/groups.d.ts.map +1 -1
  34. package/resources/groups.js +1 -1
  35. package/resources/groups.js.map +1 -1
  36. package/resources/groups.mjs +1 -1
  37. package/resources/groups.mjs.map +1 -1
  38. package/resources/inbound-ach-transfers.d.ts +218 -7
  39. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  40. package/resources/inbound-ach-transfers.js +8 -8
  41. package/resources/inbound-ach-transfers.js.map +1 -1
  42. package/resources/inbound-ach-transfers.mjs +8 -8
  43. package/resources/inbound-ach-transfers.mjs.map +1 -1
  44. package/resources/inbound-check-deposits.d.ts +25 -1
  45. package/resources/inbound-check-deposits.d.ts.map +1 -1
  46. package/resources/inbound-check-deposits.js +6 -0
  47. package/resources/inbound-check-deposits.js.map +1 -1
  48. package/resources/inbound-check-deposits.mjs +6 -0
  49. package/resources/inbound-check-deposits.mjs.map +1 -1
  50. package/resources/inbound-mail-items.d.ts +0 -14
  51. package/resources/inbound-mail-items.d.ts.map +1 -1
  52. package/resources/inbound-mail-items.js.map +1 -1
  53. package/resources/inbound-mail-items.mjs.map +1 -1
  54. package/resources/inbound-wire-transfers.d.ts +4 -0
  55. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  56. package/resources/inbound-wire-transfers.js.map +1 -1
  57. package/resources/inbound-wire-transfers.mjs.map +1 -1
  58. package/resources/index.d.ts +11 -8
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +15 -6
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +7 -4
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/{intrafi/account-enrollments.d.ts → intrafi-account-enrollments.d.ts} +17 -17
  65. package/resources/intrafi-account-enrollments.d.ts.map +1 -0
  66. package/resources/{intrafi/account-enrollments.js → intrafi-account-enrollments.js} +11 -11
  67. package/resources/intrafi-account-enrollments.js.map +1 -0
  68. package/resources/{intrafi/account-enrollments.mjs → intrafi-account-enrollments.mjs} +9 -9
  69. package/resources/intrafi-account-enrollments.mjs.map +1 -0
  70. package/resources/{intrafi/balances.d.ts → intrafi-balances.d.ts} +7 -7
  71. package/resources/intrafi-balances.d.ts.map +1 -0
  72. package/resources/{intrafi/balances.js → intrafi-balances.js} +7 -7
  73. package/resources/intrafi-balances.js.map +1 -0
  74. package/resources/{intrafi/balances.mjs → intrafi-balances.mjs} +5 -5
  75. package/resources/intrafi-balances.mjs.map +1 -0
  76. package/resources/{intrafi/exclusions.d.ts → intrafi-exclusions.d.ts} +15 -15
  77. package/resources/intrafi-exclusions.d.ts.map +1 -0
  78. package/resources/{intrafi/exclusions.js → intrafi-exclusions.js} +11 -11
  79. package/resources/intrafi-exclusions.js.map +1 -0
  80. package/resources/{intrafi/exclusions.mjs → intrafi-exclusions.mjs} +9 -9
  81. package/resources/intrafi-exclusions.mjs.map +1 -0
  82. package/resources/lockboxes.d.ts +0 -14
  83. package/resources/lockboxes.d.ts.map +1 -1
  84. package/resources/lockboxes.js.map +1 -1
  85. package/resources/lockboxes.mjs.map +1 -1
  86. package/resources/routing-numbers.d.ts +5 -5
  87. package/resources/routing-numbers.d.ts.map +1 -1
  88. package/resources/routing-numbers.js +5 -5
  89. package/resources/routing-numbers.js.map +1 -1
  90. package/resources/routing-numbers.mjs +3 -3
  91. package/resources/routing-numbers.mjs.map +1 -1
  92. package/resources/simulations/ach-transfers.d.ts +10 -61
  93. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  94. package/resources/simulations/ach-transfers.js +10 -14
  95. package/resources/simulations/ach-transfers.js.map +1 -1
  96. package/resources/simulations/ach-transfers.mjs +10 -14
  97. package/resources/simulations/ach-transfers.mjs.map +1 -1
  98. package/resources/simulations/card-authorization-expirations.d.ts +20 -0
  99. package/resources/simulations/card-authorization-expirations.d.ts.map +1 -0
  100. package/resources/simulations/card-authorization-expirations.js +17 -0
  101. package/resources/simulations/card-authorization-expirations.js.map +1 -0
  102. package/resources/simulations/card-authorization-expirations.mjs +13 -0
  103. package/resources/simulations/card-authorization-expirations.mjs.map +1 -0
  104. package/resources/simulations/card-authorizations.d.ts +91 -0
  105. package/resources/simulations/card-authorizations.d.ts.map +1 -0
  106. package/resources/simulations/{cards.js → card-authorizations.js} +7 -17
  107. package/resources/simulations/card-authorizations.js.map +1 -0
  108. package/resources/simulations/{cards.mjs → card-authorizations.mjs} +5 -15
  109. package/resources/simulations/card-authorizations.mjs.map +1 -0
  110. package/resources/simulations/card-fuel-confirmations.d.ts +27 -0
  111. package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -0
  112. package/resources/simulations/card-fuel-confirmations.js +19 -0
  113. package/resources/simulations/card-fuel-confirmations.js.map +1 -0
  114. package/resources/simulations/card-fuel-confirmations.mjs +15 -0
  115. package/resources/simulations/card-fuel-confirmations.mjs.map +1 -0
  116. package/resources/simulations/card-increments.d.ts +32 -0
  117. package/resources/simulations/card-increments.d.ts.map +1 -0
  118. package/resources/simulations/card-increments.js +18 -0
  119. package/resources/simulations/card-increments.js.map +1 -0
  120. package/resources/simulations/card-increments.mjs +14 -0
  121. package/resources/simulations/card-increments.mjs.map +1 -0
  122. package/resources/simulations/card-reversals.d.ts +28 -0
  123. package/resources/simulations/card-reversals.d.ts.map +1 -0
  124. package/resources/simulations/card-reversals.js +20 -0
  125. package/resources/simulations/card-reversals.js.map +1 -0
  126. package/resources/simulations/card-reversals.mjs +16 -0
  127. package/resources/simulations/card-reversals.mjs.map +1 -0
  128. package/resources/simulations/card-settlements.d.ts +34 -0
  129. package/resources/simulations/card-settlements.d.ts.map +1 -0
  130. package/resources/simulations/card-settlements.js +21 -0
  131. package/resources/simulations/card-settlements.js.map +1 -0
  132. package/resources/simulations/card-settlements.mjs +17 -0
  133. package/resources/simulations/card-settlements.mjs.map +1 -0
  134. package/resources/simulations/inbound-ach-transfers.d.ts +89 -0
  135. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -0
  136. package/resources/simulations/inbound-ach-transfers.js +26 -0
  137. package/resources/simulations/inbound-ach-transfers.js.map +1 -0
  138. package/resources/simulations/inbound-ach-transfers.mjs +22 -0
  139. package/resources/simulations/inbound-ach-transfers.mjs.map +1 -0
  140. package/resources/simulations/inbound-real-time-payments-transfers.d.ts +71 -0
  141. package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -0
  142. package/resources/simulations/inbound-real-time-payments-transfers.js +18 -0
  143. package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -0
  144. package/resources/simulations/inbound-real-time-payments-transfers.mjs +14 -0
  145. package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -0
  146. package/resources/simulations/inbound-wire-transfers.d.ts +99 -0
  147. package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -0
  148. package/resources/simulations/inbound-wire-transfers.js +17 -0
  149. package/resources/simulations/inbound-wire-transfers.js.map +1 -0
  150. package/resources/simulations/inbound-wire-transfers.mjs +13 -0
  151. package/resources/simulations/inbound-wire-transfers.mjs.map +1 -0
  152. package/resources/simulations/index.d.ts +14 -7
  153. package/resources/simulations/index.d.ts.map +1 -1
  154. package/resources/simulations/index.js +21 -7
  155. package/resources/simulations/index.js.map +1 -1
  156. package/resources/simulations/index.mjs +11 -4
  157. package/resources/simulations/index.mjs.map +1 -1
  158. package/resources/simulations/interest-payments.js +1 -1
  159. package/resources/simulations/interest-payments.js.map +1 -1
  160. package/resources/simulations/interest-payments.mjs +1 -1
  161. package/resources/simulations/interest-payments.mjs.map +1 -1
  162. package/resources/simulations/physical-cards.d.ts +3 -3
  163. package/resources/simulations/physical-cards.js +2 -2
  164. package/resources/simulations/physical-cards.mjs +2 -2
  165. package/resources/simulations/real-time-payments-transfers.d.ts +0 -3686
  166. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  167. package/resources/simulations/real-time-payments-transfers.js +0 -7
  168. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  169. package/resources/simulations/real-time-payments-transfers.mjs +0 -7
  170. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  171. package/resources/simulations/simulations.d.ts +67 -118
  172. package/resources/simulations/simulations.d.ts.map +1 -1
  173. package/resources/simulations/simulations.js +45 -54
  174. package/resources/simulations/simulations.js.map +1 -1
  175. package/resources/simulations/simulations.mjs +45 -54
  176. package/resources/simulations/simulations.mjs.map +1 -1
  177. package/resources/simulations/wire-transfers.d.ts +10 -85
  178. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  179. package/resources/simulations/wire-transfers.js +14 -5
  180. package/resources/simulations/wire-transfers.js.map +1 -1
  181. package/resources/simulations/wire-transfers.mjs +14 -5
  182. package/resources/simulations/wire-transfers.mjs.map +1 -1
  183. package/resources/{entities/supplemental-documents.d.ts → supplemental-documents.d.ts} +17 -10
  184. package/resources/supplemental-documents.d.ts.map +1 -0
  185. package/resources/{entities/supplemental-documents.js → supplemental-documents.js} +9 -9
  186. package/resources/supplemental-documents.js.map +1 -0
  187. package/resources/{entities/supplemental-documents.mjs → supplemental-documents.mjs} +7 -7
  188. package/resources/supplemental-documents.mjs.map +1 -0
  189. package/resources/transactions.d.ts +6 -276
  190. package/resources/transactions.d.ts.map +1 -1
  191. package/resources/transactions.js.map +1 -1
  192. package/resources/transactions.mjs.map +1 -1
  193. package/resources/wire-transfers.d.ts +4 -13
  194. package/resources/wire-transfers.d.ts.map +1 -1
  195. package/resources/wire-transfers.js +0 -17
  196. package/resources/wire-transfers.js.map +1 -1
  197. package/resources/wire-transfers.mjs +0 -17
  198. package/resources/wire-transfers.mjs.map +1 -1
  199. package/src/error.ts +0 -8
  200. package/src/index.ts +210 -189
  201. package/src/resources/cards.ts +1 -1
  202. package/src/resources/declined-transactions.ts +0 -297
  203. package/src/resources/{entities/entities.ts → entities.ts} +351 -56
  204. package/src/resources/groups.ts +1 -1
  205. package/src/resources/inbound-ach-transfers.ts +288 -13
  206. package/src/resources/inbound-check-deposits.ts +34 -1
  207. package/src/resources/inbound-mail-items.ts +0 -16
  208. package/src/resources/inbound-wire-transfers.ts +5 -0
  209. package/src/resources/index.ts +32 -14
  210. package/src/resources/{intrafi/account-enrollments.ts → intrafi-account-enrollments.ts} +18 -18
  211. package/src/resources/{intrafi/balances.ts → intrafi-balances.ts} +6 -6
  212. package/src/resources/{intrafi/exclusions.ts → intrafi-exclusions.ts} +19 -16
  213. package/src/resources/lockboxes.ts +0 -16
  214. package/src/resources/routing-numbers.ts +6 -6
  215. package/src/resources/simulations/ach-transfers.ts +15 -76
  216. package/src/resources/simulations/card-authorization-expirations.ts +29 -0
  217. package/src/resources/simulations/card-authorizations.ts +112 -0
  218. package/src/resources/simulations/card-fuel-confirmations.ts +37 -0
  219. package/src/resources/simulations/card-increments.ts +43 -0
  220. package/src/resources/simulations/card-reversals.ts +38 -0
  221. package/src/resources/simulations/card-settlements.ts +45 -0
  222. package/src/resources/simulations/inbound-ach-transfers.ts +124 -0
  223. package/src/resources/simulations/inbound-real-time-payments-transfers.ts +89 -0
  224. package/src/resources/simulations/inbound-wire-transfers.ts +124 -0
  225. package/src/resources/simulations/index.ts +26 -21
  226. package/src/resources/simulations/interest-payments.ts +1 -1
  227. package/src/resources/simulations/physical-cards.ts +5 -5
  228. package/src/resources/simulations/real-time-payments-transfers.ts +0 -4659
  229. package/src/resources/simulations/simulations.ts +80 -157
  230. package/src/resources/simulations/wire-transfers.ts +18 -104
  231. package/src/resources/{entities/supplemental-documents.ts → supplemental-documents.ts} +21 -13
  232. package/src/resources/transactions.ts +5 -350
  233. package/src/resources/wire-transfers.ts +5 -19
  234. package/src/version.ts +1 -1
  235. package/version.d.ts +1 -1
  236. package/version.js +1 -1
  237. package/version.mjs +1 -1
  238. package/resources/entities/beneficial-owners.d.ts +0 -279
  239. package/resources/entities/beneficial-owners.d.ts.map +0 -1
  240. package/resources/entities/beneficial-owners.js +0 -29
  241. package/resources/entities/beneficial-owners.js.map +0 -1
  242. package/resources/entities/beneficial-owners.mjs +0 -25
  243. package/resources/entities/beneficial-owners.mjs.map +0 -1
  244. package/resources/entities/entities.d.ts.map +0 -1
  245. package/resources/entities/entities.js.map +0 -1
  246. package/resources/entities/entities.mjs.map +0 -1
  247. package/resources/entities/index.d.ts +0 -5
  248. package/resources/entities/index.d.ts.map +0 -1
  249. package/resources/entities/index.js +0 -15
  250. package/resources/entities/index.js.map +0 -1
  251. package/resources/entities/index.mjs +0 -6
  252. package/resources/entities/index.mjs.map +0 -1
  253. package/resources/entities/industry-code.d.ts +0 -23
  254. package/resources/entities/industry-code.d.ts.map +0 -1
  255. package/resources/entities/industry-code.js +0 -17
  256. package/resources/entities/industry-code.js.map +0 -1
  257. package/resources/entities/industry-code.mjs +0 -13
  258. package/resources/entities/industry-code.mjs.map +0 -1
  259. package/resources/entities/supplemental-documents.d.ts.map +0 -1
  260. package/resources/entities/supplemental-documents.js.map +0 -1
  261. package/resources/entities/supplemental-documents.mjs.map +0 -1
  262. package/resources/intrafi/account-enrollments.d.ts.map +0 -1
  263. package/resources/intrafi/account-enrollments.js.map +0 -1
  264. package/resources/intrafi/account-enrollments.mjs.map +0 -1
  265. package/resources/intrafi/balances.d.ts.map +0 -1
  266. package/resources/intrafi/balances.js.map +0 -1
  267. package/resources/intrafi/balances.mjs.map +0 -1
  268. package/resources/intrafi/exclusions.d.ts.map +0 -1
  269. package/resources/intrafi/exclusions.js.map +0 -1
  270. package/resources/intrafi/exclusions.mjs.map +0 -1
  271. package/resources/intrafi/index.d.ts +0 -5
  272. package/resources/intrafi/index.d.ts.map +0 -1
  273. package/resources/intrafi/index.js +0 -15
  274. package/resources/intrafi/index.js.map +0 -1
  275. package/resources/intrafi/index.mjs +0 -6
  276. package/resources/intrafi/index.mjs.map +0 -1
  277. package/resources/intrafi/intrafi.d.ts +0 -24
  278. package/resources/intrafi/intrafi.d.ts.map +0 -1
  279. package/resources/intrafi/intrafi.js +0 -48
  280. package/resources/intrafi/intrafi.js.map +0 -1
  281. package/resources/intrafi/intrafi.mjs +0 -21
  282. package/resources/intrafi/intrafi.mjs.map +0 -1
  283. package/resources/simulations/cards.d.ts +0 -1763
  284. package/resources/simulations/cards.d.ts.map +0 -1
  285. package/resources/simulations/cards.js.map +0 -1
  286. package/resources/simulations/cards.mjs.map +0 -1
  287. package/resources/simulations/inbound-international-ach-transfers.d.ts +0 -285
  288. package/resources/simulations/inbound-international-ach-transfers.d.ts.map +0 -1
  289. package/resources/simulations/inbound-international-ach-transfers.js +0 -21
  290. package/resources/simulations/inbound-international-ach-transfers.js.map +0 -1
  291. package/resources/simulations/inbound-international-ach-transfers.mjs +0 -17
  292. package/resources/simulations/inbound-international-ach-transfers.mjs.map +0 -1
  293. package/src/resources/entities/beneficial-owners.ts +0 -346
  294. package/src/resources/entities/index.ts +0 -25
  295. package/src/resources/entities/industry-code.ts +0 -33
  296. package/src/resources/intrafi/index.ts +0 -18
  297. package/src/resources/intrafi/intrafi.ts +0 -29
  298. package/src/resources/simulations/cards.ts +0 -2188
  299. package/src/resources/simulations/inbound-international-ach-transfers.ts +0 -367
@@ -99,19 +99,6 @@ export declare namespace Lockbox {
99
99
  state: string;
100
100
  }
101
101
  }
102
- /**
103
- * A list of Lockbox objects.
104
- */
105
- export interface LockboxList {
106
- /**
107
- * The contents of the list.
108
- */
109
- data: Array<Lockbox>;
110
- /**
111
- * A pointer to a place in the list.
112
- */
113
- next_cursor: string | null;
114
- }
115
102
  export interface LockboxCreateParams {
116
103
  /**
117
104
  * The Account checks sent to this Lockbox should be deposited into.
@@ -177,7 +164,6 @@ export declare namespace LockboxListParams {
177
164
  }
178
165
  export declare namespace Lockboxes {
179
166
  export import Lockbox = LockboxesAPI.Lockbox;
180
- export import LockboxList = LockboxesAPI.LockboxList;
181
167
  export import LockboxesPage = LockboxesAPI.LockboxesPage;
182
168
  export import LockboxCreateParams = LockboxesAPI.LockboxCreateParams;
183
169
  export import LockboxUpdateParams = LockboxesAPI.LockboxUpdateParams;
@@ -1 +1 @@
1
- {"version":3,"file":"lockboxes.d.ts","sourceRoot":"","sources":["../src/resources/lockboxes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,SAAS,EAA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CAAC,CAAC;IAC7E,CAAC;IAOD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAED,MAAM,OAAO,aAAc,SAAQ,IAAa;CAAG;AAqKnD,WAAiB,SAAS;IAEV,uBAAa,GAAG,YAAY,CAAC,aAAa,CAAC;AAI3D,CAAC,EANgB,SAAS,KAAT,SAAS,QAMzB"}
@@ -9,14 +9,14 @@ export declare class RoutingNumbers extends APIResource {
9
9
  * identify a bank, this will always return 0 or 1 entry. In Sandbox, the only
10
10
  * valid routing number for this method is 110000000.
11
11
  */
12
- list(query: RoutingNumberListParams, options?: Core.RequestOptions): Core.PagePromise<RoutingNumbersPage, RoutingNumber>;
12
+ list(query: RoutingNumberListParams, options?: Core.RequestOptions): Core.PagePromise<RoutingNumberListResponsesPage, RoutingNumberListResponse>;
13
13
  }
14
- export declare class RoutingNumbersPage extends Page<RoutingNumber> {
14
+ export declare class RoutingNumberListResponsesPage extends Page<RoutingNumberListResponse> {
15
15
  }
16
16
  /**
17
17
  * Routing numbers are used to identify your bank in a financial transaction.
18
18
  */
19
- export interface RoutingNumber {
19
+ export interface RoutingNumberListResponse {
20
20
  /**
21
21
  * This routing number's support for ACH Transfers.
22
22
  *
@@ -59,8 +59,8 @@ export interface RoutingNumberListParams extends PageParams {
59
59
  routing_number: string;
60
60
  }
61
61
  export declare namespace RoutingNumbers {
62
- export import RoutingNumber = RoutingNumbersAPI.RoutingNumber;
63
- export import RoutingNumbersPage = RoutingNumbersAPI.RoutingNumbersPage;
62
+ export import RoutingNumberListResponse = RoutingNumbersAPI.RoutingNumberListResponse;
63
+ export import RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
64
64
  export import RoutingNumberListParams = RoutingNumbersAPI.RoutingNumberListParams;
65
65
  }
66
66
  //# sourceMappingURL=routing-numbers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing-numbers.d.ts","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,iBAAiB,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,aAAa,CAAC;CAGvD;AAED,qBAAa,kBAAmB,SAAQ,IAAI,CAAC,aAAa,CAAC;CAAG;AAE9D;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,aAAa,EAAE,WAAW,GAAG,eAAe,CAAC;IAE7C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,4BAA4B,EAAE,WAAW,GAAG,eAAe,CAAC;IAE5D;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;;;;OAKG;IACH,cAAc,EAAE,WAAW,GAAG,eAAe,CAAC;CAC/C;AAED,MAAM,WAAW,uBAAwB,SAAQ,UAAU;IACzD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,yBAAiB,cAAc,CAAC;IAC9B,MAAM,QAAQ,aAAa,GAAG,iBAAiB,CAAC,aAAa,C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Q,8BAA8B,GAAG,iBAAiB,CAAC,8BAA8B,CAAC;IAChG,MAAM,QAAQ,uBAAuB,GAAG,iBAAiB,CAAC,uBAAuB,CAAC;CACnF"}
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  return result;
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.RoutingNumbersPage = exports.RoutingNumbers = void 0;
27
+ exports.RoutingNumberListResponsesPage = exports.RoutingNumbers = void 0;
28
28
  const resource_1 = require("../resource.js");
29
29
  const RoutingNumbersAPI = __importStar(require("./routing-numbers.js"));
30
30
  const pagination_1 = require("../pagination.js");
@@ -36,14 +36,14 @@ class RoutingNumbers extends resource_1.APIResource {
36
36
  * valid routing number for this method is 110000000.
37
37
  */
38
38
  list(query, options) {
39
- return this._client.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
39
+ return this._client.getAPIList('/routing_numbers', RoutingNumberListResponsesPage, { query, ...options });
40
40
  }
41
41
  }
42
42
  exports.RoutingNumbers = RoutingNumbers;
43
- class RoutingNumbersPage extends pagination_1.Page {
43
+ class RoutingNumberListResponsesPage extends pagination_1.Page {
44
44
  }
45
- exports.RoutingNumbersPage = RoutingNumbersPage;
45
+ exports.RoutingNumberListResponsesPage = RoutingNumberListResponsesPage;
46
46
  (function (RoutingNumbers) {
47
- RoutingNumbers.RoutingNumbersPage = RoutingNumbersAPI.RoutingNumbersPage;
47
+ RoutingNumbers.RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
48
48
  })(RoutingNumbers = exports.RoutingNumbers || (exports.RoutingNumbers = {}));
49
49
  //# sourceMappingURL=routing-numbers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing-numbers.js","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAE1C,wEAAuD;AACvD,iDAAsD;AAEtD,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAbD,wCAaC;AAED,MAAa,kBAAmB,SAAQ,iBAAmB;CAAG;AAA9D,gDAA8D;AAsD9D,WAAiB,cAAc;IAEf,iCAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AAE1E,CAAC,EAJgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAI9B"}
1
+ {"version":3,"file":"routing-numbers.js","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAE1C,wEAAuD;AACvD,iDAAsD;AAEtD,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAbD,wCAaC;AAED,MAAa,8BAA+B,SAAQ,iBAA+B;CAAG;AAAtF,wEAAsF;AAsDtF,WAAiB,cAAc;IAEf,6CAA8B,GAAG,iBAAiB,CAAC,8BAA8B,CAAC;AAElG,CAAC,EAJgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAI9B"}
@@ -10,12 +10,12 @@ export class RoutingNumbers extends APIResource {
10
10
  * valid routing number for this method is 110000000.
11
11
  */
12
12
  list(query, options) {
13
- return this._client.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
13
+ return this._client.getAPIList('/routing_numbers', RoutingNumberListResponsesPage, { query, ...options });
14
14
  }
15
15
  }
16
- export class RoutingNumbersPage extends Page {
16
+ export class RoutingNumberListResponsesPage extends Page {
17
17
  }
18
18
  (function (RoutingNumbers) {
19
- RoutingNumbers.RoutingNumbersPage = RoutingNumbersAPI.RoutingNumbersPage;
19
+ RoutingNumbers.RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
20
20
  })(RoutingNumbers || (RoutingNumbers = {}));
21
21
  //# sourceMappingURL=routing-numbers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing-numbers.mjs","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,iBAAiB;OACtB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAED,MAAM,OAAO,kBAAmB,SAAQ,IAAmB;CAAG;AAsD9D,WAAiB,cAAc;IAEf,iCAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AAE1E,CAAC,EAJgB,cAAc,KAAd,cAAc,QAI9B"}
1
+ {"version":3,"file":"routing-numbers.mjs","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,iBAAiB;OACtB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAED,MAAM,OAAO,8BAA+B,SAAQ,IAA+B;CAAG;AAsDtF,WAAiB,cAAc;IAEf,6CAA8B,GAAG,iBAAiB,CAAC,8BAA8B,CAAC;AAElG,CAAC,EAJgB,cAAc,KAAd,cAAc,QAI9B"}
@@ -2,26 +2,21 @@ import { APIResource } from "../../resource.js";
2
2
  import * as Core from "../../core.js";
3
3
  import * as SimulationsACHTransfersAPI from "./ach-transfers.js";
4
4
  import * as ACHTransfersAPI from "../ach-transfers.js";
5
- import * as InboundACHTransfersAPI from "../inbound-ach-transfers.js";
6
5
  export declare class ACHTransfers extends APIResource {
7
6
  /**
8
- * Simulates an inbound ACH transfer to your account. This imitates initiating a
9
- * transfer to an Increase account from a different financial institution. The
10
- * transfer may be either a credit or a debit depending on if the `amount` is
11
- * positive or negative. The result of calling this API will contain the created
12
- * transfer. You can pass a `resolve_at` parameter to allow for a window to
13
- * [action on the Inbound ACH Transfer](https://increase.com/documentation/receiving-ach-transfers).
14
- * Alternatively, if you don't pass the `resolve_at` parameter the result will
15
- * contain either a [Transaction](#transactions) or a
16
- * [Declined Transaction](#declined-transactions) depending on whether or not the
17
- * transfer is allowed.
7
+ * Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
8
+ * Federal Reserve. This transfer must first have a `status` of `submitted` . In
9
+ * production, the Federal Reserve generally acknowledges submitted ACH files
10
+ * within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
11
+ * Reserve, this endpoint allows you to skip that delay and add the acknowledgment
12
+ * subresource to the ACH Transfer.
18
13
  */
19
- createInbound(body: ACHTransferCreateInboundParams, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfersAPI.InboundACHTransfer>;
14
+ acknowledge(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
20
15
  /**
21
16
  * Simulates receiving a Notification of Change for an
22
17
  * [ACH Transfer](#ach-transfers).
23
18
  */
24
- notificationOfChange(achTransferId: string, body: ACHTransferNotificationOfChangeParams, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
19
+ createNotificationOfChange(achTransferId: string, body: ACHTransferCreateNotificationOfChangeParams, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
25
20
  /**
26
21
  * Simulates the return of an [ACH Transfer](#ach-transfers) by the Federal Reserve
27
22
  * due to an error condition. This will also create a Transaction to account for
@@ -38,52 +33,7 @@ export declare class ACHTransfers extends APIResource {
38
33
  */
39
34
  submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
40
35
  }
41
- export interface ACHTransferCreateInboundParams {
42
- /**
43
- * The identifier of the Account Number the inbound ACH Transfer is for.
44
- */
45
- account_number_id: string;
46
- /**
47
- * The transfer amount in cents. A positive amount originates a credit transfer
48
- * pushing funds to the receiving account. A negative amount originates a debit
49
- * transfer pulling funds from the receiving account.
50
- */
51
- amount: number;
52
- /**
53
- * The description of the date of the transfer.
54
- */
55
- company_descriptive_date?: string;
56
- /**
57
- * Data associated with the transfer set by the sender.
58
- */
59
- company_discretionary_data?: string;
60
- /**
61
- * The description of the transfer set by the sender.
62
- */
63
- company_entry_description?: string;
64
- /**
65
- * The sender's company ID.
66
- */
67
- company_id?: string;
68
- /**
69
- * The name of the sender.
70
- */
71
- company_name?: string;
72
- /**
73
- * The ID of the receiver of the transfer.
74
- */
75
- receiver_id_number?: string;
76
- /**
77
- * The name of the receiver of the transfer.
78
- */
79
- receiver_name?: string;
80
- /**
81
- * The time at which the transfer should be resolved. If not provided will resolve
82
- * immediately.
83
- */
84
- resolve_at?: string;
85
- }
86
- export interface ACHTransferNotificationOfChangeParams {
36
+ export interface ACHTransferCreateNotificationOfChangeParams {
87
37
  /**
88
38
  * The reason for the notification of change.
89
39
  *
@@ -284,8 +234,7 @@ export interface ACHTransferReturnParams {
284
234
  reason?: 'insufficient_fund' | 'no_account' | 'account_closed' | 'invalid_account_number_structure' | 'account_frozen_entry_returned_per_ofac_instruction' | 'credit_entry_refused_by_receiver' | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code' | 'corporate_customer_advised_not_authorized' | 'payment_stopped' | 'non_transaction_account' | 'uncollected_funds' | 'routing_number_check_digit_error' | 'customer_advised_unauthorized_improper_ineligible_or_incomplete' | 'amount_field_error' | 'authorization_revoked_by_customer' | 'invalid_ach_routing_number' | 'file_record_edit_criteria' | 'enr_invalid_individual_name' | 'returned_per_odfi_request' | 'limited_participation_dfi' | 'incorrectly_coded_outbound_international_payment' | 'account_sold_to_another_dfi' | 'addenda_error' | 'beneficiary_or_account_holder_deceased' | 'customer_advised_not_within_authorization_terms' | 'corrected_return' | 'duplicate_entry' | 'duplicate_return' | 'enr_duplicate_enrollment' | 'enr_invalid_dfi_account_number' | 'enr_invalid_individual_id_number' | 'enr_invalid_representative_payee_indicator' | 'enr_invalid_transaction_code' | 'enr_return_of_enr_entry' | 'enr_routing_number_check_digit_error' | 'entry_not_processed_by_gateway' | 'field_error' | 'foreign_receiving_dfi_unable_to_settle' | 'iat_entry_coding_error' | 'improper_effective_entry_date' | 'improper_source_document_source_document_presented' | 'invalid_company_id' | 'invalid_foreign_receiving_dfi_identification' | 'invalid_individual_id_number' | 'item_and_rck_entry_presented_for_payment' | 'item_related_to_rck_entry_is_ineligible' | 'mandatory_field_error' | 'misrouted_dishonored_return' | 'misrouted_return' | 'no_errors_found' | 'non_acceptance_of_r62_dishonored_return' | 'non_participant_in_iat_program' | 'permissible_return_entry' | 'permissible_return_entry_not_accepted' | 'rdfi_non_settlement' | 'rdfi_participant_in_check_truncation_program' | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity' | 'return_not_a_duplicate' | 'return_of_erroneous_or_reversing_debit' | 'return_of_improper_credit_entry' | 'return_of_improper_debit_entry' | 'return_of_xck_entry' | 'source_document_presented_for_payment' | 'state_law_affecting_rck_acceptance' | 'stop_payment_on_item_related_to_rck_entry' | 'stop_payment_on_source_document' | 'timely_original_return' | 'trace_number_error' | 'untimely_dishonored_return' | 'untimely_return';
285
235
  }
286
236
  export declare namespace ACHTransfers {
287
- export import ACHTransferCreateInboundParams = SimulationsACHTransfersAPI.ACHTransferCreateInboundParams;
288
- export import ACHTransferNotificationOfChangeParams = SimulationsACHTransfersAPI.ACHTransferNotificationOfChangeParams;
237
+ export import ACHTransferCreateNotificationOfChangeParams = SimulationsACHTransfersAPI.ACHTransferCreateNotificationOfChangeParams;
289
238
  export import ACHTransferReturnParams = SimulationsACHTransfersAPI.ACHTransferReturnParams;
290
239
  }
291
240
  //# sourceMappingURL=ach-transfers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,0BAA0B,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;AAEnE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,kBAAkB,CAAC;IAI7D;;;OAGG;IACH,oBAAoB,CAClB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,qCAAqC,EAC3C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAO/C;;;;OAIG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CA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8CAA8C,GAC9C,8BAA8B,GAC9B,0CAA0C,GAC1C,yCAAyC,GACzC,uBAAuB,GACvB,6BAA6B,GAC7B,kBAAkB,GAClB,iBAAiB,GACjB,yCAAyC,GACzC,gCAAgC,GAChC,0BAA0B,GAC1B,uCAAuC,GACvC,qBAAqB,GACrB,8CAA8C,GAC9C,sEAAsE,GACtE,wBAAwB,GACxB,wCAAwC,GACxC,iCAAiC,GACjC,gCAAgC,GAChC,qBAAqB,GACrB,uCAAuC,GACvC,oCAAoC,GACpC,2CAA2C,GAC3C,iCAAiC,GACjC,wBAAwB,GACxB,oBAAoB,GACpB,4BAA4B,GAC5B,iBAAiB,CAAC;CACvB;AAED,yBAAiB,YAAY,CAAC;IAC5B,MAAM,QAAQ,2CAA2C,GAAG,0BAA0B,CAAC,2CAA2C,CAAC;IACnI,MAAM,QAAQ,uBAAuB,GAAG,0BAA0B,CAAC,uBAAuB,CAAC;CAC5F"}
@@ -5,26 +5,22 @@ exports.ACHTransfers = void 0;
5
5
  const resource_1 = require("../../resource.js");
6
6
  class ACHTransfers extends resource_1.APIResource {
7
7
  /**
8
- * Simulates an inbound ACH transfer to your account. This imitates initiating a
9
- * transfer to an Increase account from a different financial institution. The
10
- * transfer may be either a credit or a debit depending on if the `amount` is
11
- * positive or negative. The result of calling this API will contain the created
12
- * transfer. You can pass a `resolve_at` parameter to allow for a window to
13
- * [action on the Inbound ACH Transfer](https://increase.com/documentation/receiving-ach-transfers).
14
- * Alternatively, if you don't pass the `resolve_at` parameter the result will
15
- * contain either a [Transaction](#transactions) or a
16
- * [Declined Transaction](#declined-transactions) depending on whether or not the
17
- * transfer is allowed.
8
+ * Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
9
+ * Federal Reserve. This transfer must first have a `status` of `submitted` . In
10
+ * production, the Federal Reserve generally acknowledges submitted ACH files
11
+ * within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
12
+ * Reserve, this endpoint allows you to skip that delay and add the acknowledgment
13
+ * subresource to the ACH Transfer.
18
14
  */
19
- createInbound(body, options) {
20
- return this._client.post('/simulations/inbound_ach_transfers', { body, ...options });
15
+ acknowledge(achTransferId, options) {
16
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/acknowledge`, options);
21
17
  }
22
18
  /**
23
19
  * Simulates receiving a Notification of Change for an
24
20
  * [ACH Transfer](#ach-transfers).
25
21
  */
26
- notificationOfChange(achTransferId, body, options) {
27
- return this._client.post(`/simulations/ach_transfers/${achTransferId}/notification_of_change`, {
22
+ createNotificationOfChange(achTransferId, body, options) {
23
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/create_notification_of_change`, {
28
24
  body,
29
25
  ...options,
30
26
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAM7C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAClB,aAAqB,EACrB,IAA2C,EAC3C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,yBAAyB,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE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APIResource } from "../../resource.mjs";
3
3
  export class ACHTransfers extends APIResource {
4
4
  /**
5
- * Simulates an inbound ACH transfer to your account. This imitates initiating a
6
- * transfer to an Increase account from a different financial institution. The
7
- * transfer may be either a credit or a debit depending on if the `amount` is
8
- * positive or negative. The result of calling this API will contain the created
9
- * transfer. You can pass a `resolve_at` parameter to allow for a window to
10
- * [action on the Inbound ACH Transfer](https://increase.com/documentation/receiving-ach-transfers).
11
- * Alternatively, if you don't pass the `resolve_at` parameter the result will
12
- * contain either a [Transaction](#transactions) or a
13
- * [Declined Transaction](#declined-transactions) depending on whether or not the
14
- * transfer is allowed.
5
+ * Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
6
+ * Federal Reserve. This transfer must first have a `status` of `submitted` . In
7
+ * production, the Federal Reserve generally acknowledges submitted ACH files
8
+ * within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
9
+ * Reserve, this endpoint allows you to skip that delay and add the acknowledgment
10
+ * subresource to the ACH Transfer.
15
11
  */
16
- createInbound(body, options) {
17
- return this._client.post('/simulations/inbound_ach_transfers', { body, ...options });
12
+ acknowledge(achTransferId, options) {
13
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/acknowledge`, options);
18
14
  }
19
15
  /**
20
16
  * Simulates receiving a Notification of Change for an
21
17
  * [ACH Transfer](#ach-transfers).
22
18
  */
23
- notificationOfChange(achTransferId, body, options) {
24
- return this._client.post(`/simulations/ach_transfers/${achTransferId}/notification_of_change`, {
19
+ createNotificationOfChange(achTransferId, body, options) {
20
+ return this._client.post(`/simulations/ach_transfers/${achTransferId}/create_notification_of_change`, {
25
21
  body,
26
22
  ...options,
27
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAW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AC,IAAI,CAAC,8BAA8B,aAAa,gCAAgC,EAAE;YACpG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAsSD,WAAiB,YAAY;AAG7B,CAAC,EAHgB,YAAY,KAAZ,YAAY,QAG5B"}
@@ -0,0 +1,20 @@
1
+ import { APIResource } from "../../resource.js";
2
+ import * as Core from "../../core.js";
3
+ import * as CardAuthorizationExpirationsAPI from "./card-authorization-expirations.js";
4
+ import * as CardPaymentsAPI from "../card-payments.js";
5
+ export declare class CardAuthorizationExpirations extends APIResource {
6
+ /**
7
+ * Simulates expiring a card authorization immediately.
8
+ */
9
+ create(body: CardAuthorizationExpirationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
10
+ }
11
+ export interface CardAuthorizationExpirationCreateParams {
12
+ /**
13
+ * The identifier of the Card Payment to expire.
14
+ */
15
+ card_payment_id: string;
16
+ }
17
+ export declare namespace CardAuthorizationExpirations {
18
+ export import CardAuthorizationExpirationCreateParams = CardAuthorizationExpirationsAPI.CardAuthorizationExpirationCreateParams;
19
+ }
20
+ //# sourceMappingURL=card-authorization-expirations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-authorization-expirations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,+BAA+B,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,MAAM,QAAQ,uCAAuC,GAAG,+BAA+B,CAAC,uCAAuC,CAAC;CACjI"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CardAuthorizationExpirations = void 0;
5
+ const resource_1 = require("../../resource.js");
6
+ class CardAuthorizationExpirations extends resource_1.APIResource {
7
+ /**
8
+ * Simulates expiring a card authorization immediately.
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
12
+ }
13
+ }
14
+ exports.CardAuthorizationExpirations = CardAuthorizationExpirations;
15
+ (function (CardAuthorizationExpirations) {
16
+ })(CardAuthorizationExpirations = exports.CardAuthorizationExpirations || (exports.CardAuthorizationExpirations = {}));
17
+ //# sourceMappingURL=card-authorization-expirations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-authorization-expirations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAK7C,MAAa,4BAA6B,SAAQ,sBAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAVD,oEAUC;AASD,WAAiB,4BAA4B;AAE7C,CAAC,EAFgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAE5C"}
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../resource.mjs";
3
+ export class CardAuthorizationExpirations extends APIResource {
4
+ /**
5
+ * Simulates expiring a card authorization immediately.
6
+ */
7
+ create(body, options) {
8
+ return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
9
+ }
10
+ }
11
+ (function (CardAuthorizationExpirations) {
12
+ })(CardAuthorizationExpirations || (CardAuthorizationExpirations = {}));
13
+ //# sourceMappingURL=card-authorization-expirations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-authorization-expirations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AASD,WAAiB,4BAA4B;AAE7C,CAAC,EAFgB,4BAA4B,KAA5B,4BAA4B,QAE5C"}
@@ -0,0 +1,91 @@
1
+ import { APIResource } from "../../resource.js";
2
+ import * as Core from "../../core.js";
3
+ import * as CardAuthorizationsAPI from "./card-authorizations.js";
4
+ import * as DeclinedTransactionsAPI from "../declined-transactions.js";
5
+ import * as PendingTransactionsAPI from "../pending-transactions.js";
6
+ export declare class CardAuthorizations extends APIResource {
7
+ /**
8
+ * Simulates a purchase authorization on a [Card](#cards). Depending on the balance
9
+ * available to the card and the `amount` submitted, the authorization activity
10
+ * will result in a [Pending Transaction](#pending-transactions) of type
11
+ * `card_authorization` or a [Declined Transaction](#declined-transactions) of type
12
+ * `card_decline`. You can pass either a Card id or a
13
+ * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
14
+ * ways purchases can be made.
15
+ */
16
+ create(body: CardAuthorizationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardAuthorizationCreateResponse>;
17
+ }
18
+ /**
19
+ * The results of a Card Authorization simulation.
20
+ */
21
+ export interface CardAuthorizationCreateResponse {
22
+ /**
23
+ * If the authorization attempt fails, this will contain the resulting
24
+ * [Declined Transaction](#declined-transactions) object. The Declined
25
+ * Transaction's `source` will be of `category: card_decline`.
26
+ */
27
+ declined_transaction: DeclinedTransactionsAPI.DeclinedTransaction | null;
28
+ /**
29
+ * If the authorization attempt succeeds, this will contain the resulting Pending
30
+ * Transaction object. The Pending Transaction's `source` will be of
31
+ * `category: card_authorization`.
32
+ */
33
+ pending_transaction: PendingTransactionsAPI.PendingTransaction | null;
34
+ /**
35
+ * A constant representing the object's type. For this resource it will always be
36
+ * `inbound_card_authorization_simulation_result`.
37
+ */
38
+ type: 'inbound_card_authorization_simulation_result';
39
+ }
40
+ export interface CardAuthorizationCreateParams {
41
+ /**
42
+ * The authorization amount in cents.
43
+ */
44
+ amount: number;
45
+ /**
46
+ * The identifier of the Card to be authorized.
47
+ */
48
+ card_id?: string;
49
+ /**
50
+ * The identifier of the Digital Wallet Token to be authorized.
51
+ */
52
+ digital_wallet_token_id?: string;
53
+ /**
54
+ * The identifier of the Event Subscription to use. If provided, will override the
55
+ * default real time event subscription. Because you can only create one real time
56
+ * decision event subscription, you can use this field to route events to any
57
+ * specified event subscription for testing purposes.
58
+ */
59
+ event_subscription_id?: string;
60
+ /**
61
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
62
+ * is transacting with.
63
+ */
64
+ merchant_acceptor_id?: string;
65
+ /**
66
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
67
+ * card is transacting with.
68
+ */
69
+ merchant_category_code?: string;
70
+ /**
71
+ * The city the merchant resides in.
72
+ */
73
+ merchant_city?: string;
74
+ /**
75
+ * The country the merchant resides in.
76
+ */
77
+ merchant_country?: string;
78
+ /**
79
+ * The merchant descriptor of the merchant the card is transacting with.
80
+ */
81
+ merchant_descriptor?: string;
82
+ /**
83
+ * The identifier of the Physical Card to be authorized.
84
+ */
85
+ physical_card_id?: string;
86
+ }
87
+ export declare namespace CardAuthorizations {
88
+ export import CardAuthorizationCreateResponse = CardAuthorizationsAPI.CardAuthorizationCreateResponse;
89
+ export import CardAuthorizationCreateParams = CardAuthorizationsAPI.CardAuthorizationCreateParams;
90
+ }
91
+ //# sourceMappingURL=card-authorizations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,qBAAqB,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,MAAM,QAAQ,+BAA+B,GAAG,qBAAqB,CAAC,+BAA+B,CAAC;IACtG,MAAM,QAAQ,6BAA6B,GAAG,qBAAqB,CAAC,6BAA6B,CAAC;CACnG"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Cards = void 0;
4
+ exports.CardAuthorizations = void 0;
5
5
  const resource_1 = require("../../resource.js");
6
- class Cards extends resource_1.APIResource {
6
+ class CardAuthorizations extends resource_1.APIResource {
7
7
  /**
8
8
  * Simulates a purchase authorization on a [Card](#cards). Depending on the balance
9
9
  * available to the card and the `amount` submitted, the authorization activity
@@ -13,21 +13,11 @@ class Cards extends resource_1.APIResource {
13
13
  * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
14
14
  * ways purchases can be made.
15
15
  */
16
- authorize(body, options) {
16
+ create(body, options) {
17
17
  return this._client.post('/simulations/card_authorizations', { body, ...options });
18
18
  }
19
- /**
20
- * Simulates the settlement of an authorization by a card acquirer. After a card
21
- * authorization is created, the merchant will eventually send a settlement. This
22
- * simulates that event, which may occur many days after the purchase in
23
- * production. The amount settled can be different from the amount originally
24
- * authorized, for example, when adding a tip to a restaurant bill.
25
- */
26
- settlement(body, options) {
27
- return this._client.post('/simulations/card_settlements', { body, ...options });
28
- }
29
19
  }
30
- exports.Cards = Cards;
31
- (function (Cards) {
32
- })(Cards = exports.Cards || (exports.Cards = {}));
33
- //# sourceMappingURL=cards.js.map
20
+ exports.CardAuthorizations = CardAuthorizations;
21
+ (function (CardAuthorizations) {
22
+ })(CardAuthorizations = exports.CardAuthorizations || (exports.CardAuthorizations = {}));
23
+ //# sourceMappingURL=card-authorizations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAM7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhBD,gDAgBC;AAoFD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAGlC"}
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../resource.mjs";
3
- export class Cards extends APIResource {
3
+ export class CardAuthorizations extends APIResource {
4
4
  /**
5
5
  * Simulates a purchase authorization on a [Card](#cards). Depending on the balance
6
6
  * available to the card and the `amount` submitted, the authorization activity
@@ -10,20 +10,10 @@ export class Cards extends APIResource {
10
10
  * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
11
11
  * ways purchases can be made.
12
12
  */
13
- authorize(body, options) {
13
+ create(body, options) {
14
14
  return this._client.post('/simulations/card_authorizations', { body, ...options });
15
15
  }
16
- /**
17
- * Simulates the settlement of an authorization by a card acquirer. After a card
18
- * authorization is created, the merchant will eventually send a settlement. This
19
- * simulates that event, which may occur many days after the purchase in
20
- * production. The amount settled can be different from the amount originally
21
- * authorized, for example, when adding a tip to a restaurant bill.
22
- */
23
- settlement(body, options) {
24
- return this._client.post('/simulations/card_settlements', { body, ...options });
25
- }
26
16
  }
27
- (function (Cards) {
28
- })(Cards || (Cards = {}));
29
- //# sourceMappingURL=cards.mjs.map
17
+ (function (CardAuthorizations) {
18
+ })(CardAuthorizations || (CardAuthorizations = {}));
19
+ //# sourceMappingURL=card-authorizations.mjs.map