increase 0.59.1 → 0.61.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 +31 -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
@@ -32,27 +32,27 @@ export class InboundACHTransfers extends APIResource {
32
32
  return this._client.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
33
33
  }
34
34
 
35
- /**
36
- * Decline an Inbound ACH Transfer
37
- */
38
- decline(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
39
- return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
40
- }
41
-
42
35
  /**
43
36
  * Create a notification of change for an Inbound ACH Transfer
44
37
  */
45
- notificationOfChange(
38
+ createNotificationOfChange(
46
39
  inboundACHTransferId: string,
47
- body: InboundACHTransferNotificationOfChangeParams,
40
+ body: InboundACHTransferCreateNotificationOfChangeParams,
48
41
  options?: Core.RequestOptions,
49
42
  ): Core.APIPromise<InboundACHTransfer> {
50
- return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
43
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/create_notification_of_change`, {
51
44
  body,
52
45
  ...options,
53
46
  });
54
47
  }
55
48
 
49
+ /**
50
+ * Decline an Inbound ACH Transfer
51
+ */
52
+ decline(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer> {
53
+ return this._client.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
54
+ }
55
+
56
56
  /**
57
57
  * Return an Inbound ACH Transfer
58
58
  */
@@ -123,6 +123,12 @@ export interface InboundACHTransfer {
123
123
  */
124
124
  direction: 'credit' | 'debit';
125
125
 
126
+ /**
127
+ * If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will
128
+ * contain fields pertaining to the International ACH Transaction.
129
+ */
130
+ international_addenda: InboundACHTransfer.InternationalAddenda | null;
131
+
126
132
  /**
127
133
  * If you initiate a notification of change in response to the transfer, this will
128
134
  * contain its details.
@@ -188,6 +194,7 @@ export interface InboundACHTransfer {
188
194
  * - `point_of_purchase` - Point of Purchase (POP).
189
195
  * - `check_truncation` - Check Truncation (TRC).
190
196
  * - `destroyed_check` - Destroyed Check (XCK).
197
+ * - `international_ach_transaction` - International ACH Transaction (IAT).
191
198
  */
192
199
  standard_entry_class_code:
193
200
  | 'corporate_credit_or_debit'
@@ -204,7 +211,8 @@ export interface InboundACHTransfer {
204
211
  | 'back_office_conversion'
205
212
  | 'point_of_purchase'
206
213
  | 'check_truncation'
207
- | 'destroyed_check';
214
+ | 'destroyed_check'
215
+ | 'international_ach_transaction';
208
216
 
209
217
  /**
210
218
  * The status of the transfer.
@@ -346,6 +354,273 @@ export namespace InboundACHTransfer {
346
354
  | 'user_initiated';
347
355
  }
348
356
 
357
+ /**
358
+ * If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will
359
+ * contain fields pertaining to the International ACH Transaction.
360
+ */
361
+ export interface InternationalAddenda {
362
+ /**
363
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
364
+ * country code of the destination country.
365
+ */
366
+ destination_country_code: string;
367
+
368
+ /**
369
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
370
+ * destination bank account.
371
+ */
372
+ destination_currency_code: string;
373
+
374
+ /**
375
+ * A description of how the foreign exchange rate was calculated.
376
+ *
377
+ * - `fixed_to_variable` - The originator chose an amount in their own currency.
378
+ * The settled amount in USD was converted using the exchange rate.
379
+ * - `variable_to_fixed` - The originator chose an amount to settle in USD. The
380
+ * originator's amount was variable; known only after the foreign exchange
381
+ * conversion.
382
+ * - `fixed_to_fixed` - The amount was originated and settled as a fixed amount in
383
+ * USD. There is no foreign exchange conversion.
384
+ */
385
+ foreign_exchange_indicator: 'fixed_to_variable' | 'variable_to_fixed' | 'fixed_to_fixed';
386
+
387
+ /**
388
+ * Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a
389
+ * reference to a well-known rate.
390
+ */
391
+ foreign_exchange_reference: string | null;
392
+
393
+ /**
394
+ * An instruction of how to interpret the `foreign_exchange_reference` field for
395
+ * this Transaction.
396
+ *
397
+ * - `foreign_exchange_rate` - The ACH file contains a foreign exchange rate.
398
+ * - `foreign_exchange_reference_number` - The ACH file contains a reference to a
399
+ * well-known foreign exchange rate.
400
+ * - `blank` - There is no foreign exchange for this transfer, so the
401
+ * `foreign_exchange_reference` field is blank.
402
+ */
403
+ foreign_exchange_reference_indicator:
404
+ | 'foreign_exchange_rate'
405
+ | 'foreign_exchange_reference_number'
406
+ | 'blank';
407
+
408
+ /**
409
+ * The amount in the minor unit of the foreign payment currency. For dollars, for
410
+ * example, this is cents.
411
+ */
412
+ foreign_payment_amount: number;
413
+
414
+ /**
415
+ * A reference number in the foreign banking infrastructure.
416
+ */
417
+ foreign_trace_number: string | null;
418
+
419
+ /**
420
+ * The type of transfer. Set by the originator.
421
+ *
422
+ * - `annuity` - Sent as `ANN` in the Nacha file.
423
+ * - `business_or_commercial` - Sent as `BUS` in the Nacha file.
424
+ * - `deposit` - Sent as `DEP` in the Nacha file.
425
+ * - `loan` - Sent as `LOA` in the Nacha file.
426
+ * - `miscellaneous` - Sent as `MIS` in the Nacha file.
427
+ * - `mortgage` - Sent as `MOR` in the Nacha file.
428
+ * - `pension` - Sent as `PEN` in the Nacha file.
429
+ * - `remittance` - Sent as `REM` in the Nacha file.
430
+ * - `rent_or_lease` - Sent as `RLS` in the Nacha file.
431
+ * - `salary_or_payroll` - Sent as `SAL` in the Nacha file.
432
+ * - `tax` - Sent as `TAX` in the Nacha file.
433
+ * - `accounts_receivable` - Sent as `ARC` in the Nacha file.
434
+ * - `back_office_conversion` - Sent as `BOC` in the Nacha file.
435
+ * - `machine_transfer` - Sent as `MTE` in the Nacha file.
436
+ * - `point_of_purchase` - Sent as `POP` in the Nacha file.
437
+ * - `point_of_sale` - Sent as `POS` in the Nacha file.
438
+ * - `represented_check` - Sent as `RCK` in the Nacha file.
439
+ * - `shared_network_transaction` - Sent as `SHR` in the Nacha file.
440
+ * - `telphone_initiated` - Sent as `TEL` in the Nacha file.
441
+ * - `internet_initiated` - Sent as `WEB` in the Nacha file.
442
+ */
443
+ international_transaction_type_code:
444
+ | 'annuity'
445
+ | 'business_or_commercial'
446
+ | 'deposit'
447
+ | 'loan'
448
+ | 'miscellaneous'
449
+ | 'mortgage'
450
+ | 'pension'
451
+ | 'remittance'
452
+ | 'rent_or_lease'
453
+ | 'salary_or_payroll'
454
+ | 'tax'
455
+ | 'accounts_receivable'
456
+ | 'back_office_conversion'
457
+ | 'machine_transfer'
458
+ | 'point_of_purchase'
459
+ | 'point_of_sale'
460
+ | 'represented_check'
461
+ | 'shared_network_transaction'
462
+ | 'telphone_initiated'
463
+ | 'internet_initiated';
464
+
465
+ /**
466
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the
467
+ * originating bank account.
468
+ */
469
+ originating_currency_code: string;
470
+
471
+ /**
472
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
473
+ * country code of the originating branch country.
474
+ */
475
+ originating_depository_financial_institution_branch_country: string;
476
+
477
+ /**
478
+ * An identifier for the originating bank. One of an International Bank Account
479
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
480
+ * domestic identifier like a US Routing Number.
481
+ */
482
+ originating_depository_financial_institution_id: string;
483
+
484
+ /**
485
+ * An instruction of how to interpret the
486
+ * `originating_depository_financial_institution_id` field for this Transaction.
487
+ *
488
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
489
+ * US, for example, this is the American Banking Association (ABA) routing
490
+ * number.
491
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
492
+ * - `iban` - An International Bank Account Number.
493
+ */
494
+ originating_depository_financial_institution_id_qualifier:
495
+ | 'national_clearing_system_number'
496
+ | 'bic_code'
497
+ | 'iban';
498
+
499
+ /**
500
+ * The name of the originating bank. Sometimes this will refer to an American bank
501
+ * and obscure the correspondent foreign bank.
502
+ */
503
+ originating_depository_financial_institution_name: string;
504
+
505
+ /**
506
+ * A portion of the originator address. This may be incomplete.
507
+ */
508
+ originator_city: string;
509
+
510
+ /**
511
+ * A portion of the originator address. The
512
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
513
+ * code of the originator country.
514
+ */
515
+ originator_country: string;
516
+
517
+ /**
518
+ * An identifier for the originating company. This is generally stable across
519
+ * multiple ACH transfers.
520
+ */
521
+ originator_identification: string;
522
+
523
+ /**
524
+ * Either the name of the originator or an intermediary money transmitter.
525
+ */
526
+ originator_name: string;
527
+
528
+ /**
529
+ * A portion of the originator address. This may be incomplete.
530
+ */
531
+ originator_postal_code: string | null;
532
+
533
+ /**
534
+ * A portion of the originator address. This may be incomplete.
535
+ */
536
+ originator_state_or_province: string | null;
537
+
538
+ /**
539
+ * A portion of the originator address. This may be incomplete.
540
+ */
541
+ originator_street_address: string;
542
+
543
+ /**
544
+ * A description field set by the originator.
545
+ */
546
+ payment_related_information: string | null;
547
+
548
+ /**
549
+ * A description field set by the originator.
550
+ */
551
+ payment_related_information2: string | null;
552
+
553
+ /**
554
+ * A portion of the receiver address. This may be incomplete.
555
+ */
556
+ receiver_city: string;
557
+
558
+ /**
559
+ * A portion of the receiver address. The
560
+ * [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 country
561
+ * code of the receiver country.
562
+ */
563
+ receiver_country: string;
564
+
565
+ /**
566
+ * An identification number the originator uses for the receiver.
567
+ */
568
+ receiver_identification_number: string | null;
569
+
570
+ /**
571
+ * A portion of the receiver address. This may be incomplete.
572
+ */
573
+ receiver_postal_code: string | null;
574
+
575
+ /**
576
+ * A portion of the receiver address. This may be incomplete.
577
+ */
578
+ receiver_state_or_province: string | null;
579
+
580
+ /**
581
+ * A portion of the receiver address. This may be incomplete.
582
+ */
583
+ receiver_street_address: string;
584
+
585
+ /**
586
+ * The name of the receiver of the transfer. This is not verified by Increase.
587
+ */
588
+ receiving_company_or_individual_name: string;
589
+
590
+ /**
591
+ * The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2
592
+ * country code of the receiving bank country.
593
+ */
594
+ receiving_depository_financial_institution_country: string;
595
+
596
+ /**
597
+ * An identifier for the receiving bank. One of an International Bank Account
598
+ * Number (IBAN) bank identifier, SWIFT Bank Identification Code (BIC), or a
599
+ * domestic identifier like a US Routing Number.
600
+ */
601
+ receiving_depository_financial_institution_id: string;
602
+
603
+ /**
604
+ * An instruction of how to interpret the
605
+ * `receiving_depository_financial_institution_id` field for this Transaction.
606
+ *
607
+ * - `national_clearing_system_number` - A domestic clearing system number. In the
608
+ * US, for example, this is the American Banking Association (ABA) routing
609
+ * number.
610
+ * - `bic_code` - The SWIFT Bank Identifier Code (BIC) of the bank.
611
+ * - `iban` - An International Bank Account Number.
612
+ */
613
+ receiving_depository_financial_institution_id_qualifier:
614
+ | 'national_clearing_system_number'
615
+ | 'bic_code'
616
+ | 'iban';
617
+
618
+ /**
619
+ * The name of the receiving bank, as set by the sending financial institution.
620
+ */
621
+ receiving_depository_financial_institution_name: string;
622
+ }
623
+
349
624
  /**
350
625
  * If you initiate a notification of change in response to the transfer, this will
351
626
  * contain its details.
@@ -469,7 +744,7 @@ export namespace InboundACHTransferListParams {
469
744
  }
470
745
  }
471
746
 
472
- export interface InboundACHTransferNotificationOfChangeParams {
747
+ export interface InboundACHTransferCreateNotificationOfChangeParams {
473
748
  /**
474
749
  * The updated account number to send in the notification of change.
475
750
  */
@@ -526,6 +801,6 @@ export namespace InboundACHTransfers {
526
801
  export import InboundACHTransfer = InboundACHTransfersAPI.InboundACHTransfer;
527
802
  export import InboundACHTransfersPage = InboundACHTransfersAPI.InboundACHTransfersPage;
528
803
  export import InboundACHTransferListParams = InboundACHTransfersAPI.InboundACHTransferListParams;
529
- export import InboundACHTransferNotificationOfChangeParams = InboundACHTransfersAPI.InboundACHTransferNotificationOfChangeParams;
804
+ export import InboundACHTransferCreateNotificationOfChangeParams = InboundACHTransfersAPI.InboundACHTransferCreateNotificationOfChangeParams;
530
805
  export import InboundACHTransferTransferReturnParams = InboundACHTransfersAPI.InboundACHTransferTransferReturnParams;
531
806
  }
@@ -47,6 +47,17 @@ export class InboundCheckDeposits extends APIResource {
47
47
  ): Core.APIPromise<InboundCheckDeposit> {
48
48
  return this._client.post(`/inbound_check_deposits/${inboundCheckDepositId}/decline`, options);
49
49
  }
50
+
51
+ /**
52
+ * Return an Inbound Check Deposit
53
+ */
54
+ return(
55
+ inboundCheckDepositId: string,
56
+ body: InboundCheckDepositReturnParams,
57
+ options?: Core.RequestOptions,
58
+ ): Core.APIPromise<InboundCheckDeposit> {
59
+ return this._client.post(`/inbound_check_deposits/${inboundCheckDepositId}/return`, { body, ...options });
60
+ }
50
61
  }
51
62
 
52
63
  export class InboundCheckDepositsPage extends Page<InboundCheckDeposit> {}
@@ -155,8 +166,9 @@ export interface InboundCheckDeposit {
155
166
  * - `pending` - The Inbound Check Deposit is pending.
156
167
  * - `accepted` - The Inbound Check Deposit was accepted.
157
168
  * - `declined` - The Inbound Check Deposit was rejected.
169
+ * - `returned` - The Inbound Check Deposit was returned.
158
170
  */
159
- status: 'pending' | 'accepted' | 'declined';
171
+ status: 'pending' | 'accepted' | 'declined' | 'returned';
160
172
 
161
173
  /**
162
174
  * If the deposit attempt has been accepted, the identifier of the Transaction
@@ -177,6 +189,15 @@ export namespace InboundCheckDeposit {
177
189
  * return.
178
190
  */
179
191
  export interface DepositReturn {
192
+ /**
193
+ * The reason the deposit was returned.
194
+ *
195
+ * - `altered_or_fictitious` - The check was altered or fictitious.
196
+ * - `not_authorized` - The check was not authorized.
197
+ * - `duplicate_presentment` - The check was a duplicate presentment.
198
+ */
199
+ reason: 'altered_or_fictitious' | 'not_authorized' | 'duplicate_presentment';
200
+
180
201
  /**
181
202
  * The time at which the deposit was returned.
182
203
  */
@@ -232,8 +253,20 @@ export namespace InboundCheckDepositListParams {
232
253
  }
233
254
  }
234
255
 
256
+ export interface InboundCheckDepositReturnParams {
257
+ /**
258
+ * The reason to return the Inbound Check Deposit.
259
+ *
260
+ * - `altered_or_fictitious` - The check was altered or fictitious.
261
+ * - `not_authorized` - The check was not authorized.
262
+ * - `duplicate_presentment` - The check was a duplicate presentment.
263
+ */
264
+ reason: 'altered_or_fictitious' | 'not_authorized' | 'duplicate_presentment';
265
+ }
266
+
235
267
  export namespace InboundCheckDeposits {
236
268
  export import InboundCheckDeposit = InboundCheckDepositsAPI.InboundCheckDeposit;
237
269
  export import InboundCheckDepositsPage = InboundCheckDepositsAPI.InboundCheckDepositsPage;
238
270
  export import InboundCheckDepositListParams = InboundCheckDepositsAPI.InboundCheckDepositListParams;
271
+ export import InboundCheckDepositReturnParams = InboundCheckDepositsAPI.InboundCheckDepositReturnParams;
239
272
  }
@@ -133,21 +133,6 @@ export namespace InboundMailItem {
133
133
  }
134
134
  }
135
135
 
136
- /**
137
- * A list of Inbound Mail Item objects.
138
- */
139
- export interface InboundMailItemList {
140
- /**
141
- * The contents of the list.
142
- */
143
- data: Array<InboundMailItem>;
144
-
145
- /**
146
- * A pointer to a place in the list.
147
- */
148
- next_cursor: string | null;
149
- }
150
-
151
136
  export interface InboundMailItemListParams extends PageParams {
152
137
  created_at?: InboundMailItemListParams.CreatedAt;
153
138
 
@@ -187,7 +172,6 @@ export namespace InboundMailItemListParams {
187
172
 
188
173
  export namespace InboundMailItems {
189
174
  export import InboundMailItem = InboundMailItemsAPI.InboundMailItem;
190
- export import InboundMailItemList = InboundMailItemsAPI.InboundMailItemList;
191
175
  export import InboundMailItemsPage = InboundMailItemsAPI.InboundMailItemsPage;
192
176
  export import InboundMailItemListParams = InboundMailItemsAPI.InboundMailItemListParams;
193
177
  }
@@ -154,6 +154,11 @@ export interface InboundWireTransfer {
154
154
  */
155
155
  originator_to_beneficiary_information_line4: string | null;
156
156
 
157
+ /**
158
+ * The sending bank's reference number for the wire transfer.
159
+ */
160
+ sender_reference: string | null;
161
+
157
162
  /**
158
163
  * The status of the transfer.
159
164
  *
@@ -131,11 +131,22 @@ export {
131
131
  Entity,
132
132
  EntityCreateParams,
133
133
  EntityListParams,
134
+ EntityArchiveBeneficialOwnerParams,
134
135
  EntityConfirmParams,
136
+ EntityCreateBeneficialOwnerParams,
135
137
  EntityUpdateAddressParams,
138
+ EntityUpdateBeneficialOwnerAddressParams,
139
+ EntityUpdateIndustryCodeParams,
136
140
  EntitiesPage,
137
141
  Entities,
138
- } from './entities/entities';
142
+ } from './entities';
143
+ export {
144
+ EntitySupplementalDocument,
145
+ SupplementalDocumentCreateParams,
146
+ SupplementalDocumentListParams,
147
+ EntitySupplementalDocumentsPage,
148
+ SupplementalDocuments,
149
+ } from './supplemental-documents';
139
150
  export { Event, EventListParams, EventsPage, Events } from './events';
140
151
  export {
141
152
  EventSubscription,
@@ -159,7 +170,7 @@ export { Group, Groups } from './groups';
159
170
  export {
160
171
  InboundACHTransfer,
161
172
  InboundACHTransferListParams,
162
- InboundACHTransferNotificationOfChangeParams,
173
+ InboundACHTransferCreateNotificationOfChangeParams,
163
174
  InboundACHTransferTransferReturnParams,
164
175
  InboundACHTransfersPage,
165
176
  InboundACHTransfers,
@@ -167,12 +178,12 @@ export {
167
178
  export {
168
179
  InboundCheckDeposit,
169
180
  InboundCheckDepositListParams,
181
+ InboundCheckDepositReturnParams,
170
182
  InboundCheckDepositsPage,
171
183
  InboundCheckDeposits,
172
184
  } from './inbound-check-deposits';
173
185
  export {
174
186
  InboundMailItem,
175
- InboundMailItemList,
176
187
  InboundMailItemListParams,
177
188
  InboundMailItemsPage,
178
189
  InboundMailItems,
@@ -189,10 +200,23 @@ export {
189
200
  InboundWireTransfersPage,
190
201
  InboundWireTransfers,
191
202
  } from './inbound-wire-transfers';
192
- export { Intrafi } from './intrafi/intrafi';
203
+ export {
204
+ IntrafiAccountEnrollment,
205
+ IntrafiAccountEnrollmentCreateParams,
206
+ IntrafiAccountEnrollmentListParams,
207
+ IntrafiAccountEnrollmentsPage,
208
+ IntrafiAccountEnrollments,
209
+ } from './intrafi-account-enrollments';
210
+ export { IntrafiBalance, IntrafiBalances } from './intrafi-balances';
211
+ export {
212
+ IntrafiExclusion,
213
+ IntrafiExclusionCreateParams,
214
+ IntrafiExclusionListParams,
215
+ IntrafiExclusionsPage,
216
+ IntrafiExclusions,
217
+ } from './intrafi-exclusions';
193
218
  export {
194
219
  Lockbox,
195
- LockboxList,
196
220
  LockboxCreateParams,
197
221
  LockboxUpdateParams,
198
222
  LockboxListParams,
@@ -258,18 +282,12 @@ export {
258
282
  RealTimePaymentsTransfers,
259
283
  } from './real-time-payments-transfers';
260
284
  export {
261
- RoutingNumber,
285
+ RoutingNumberListResponse,
262
286
  RoutingNumberListParams,
263
- RoutingNumbersPage,
287
+ RoutingNumberListResponsesPage,
264
288
  RoutingNumbers,
265
289
  } from './routing-numbers';
266
- export {
267
- SimulationCardAuthorizationExpirationsParams,
268
- SimulationCardFuelConfirmationsParams,
269
- SimulationCardIncrementsParams,
270
- SimulationCardReversalsParams,
271
- Simulations,
272
- } from './simulations/simulations';
290
+ export { Simulations } from './simulations/simulations';
273
291
  export { Transaction, TransactionListParams, TransactionsPage, Transactions } from './transactions';
274
292
  export { Webhooks } from './webhooks';
275
293
  export {
@@ -1,17 +1,17 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../resource';
4
- import { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
- import * as AccountEnrollmentsAPI from './account-enrollments';
7
- import { Page, type PageParams } from '../../pagination';
3
+ import { APIResource } from '../resource';
4
+ import { isRequestOptions } from '../core';
5
+ import * as Core from '../core';
6
+ import * as IntrafiAccountEnrollmentsAPI from './intrafi-account-enrollments';
7
+ import { Page, type PageParams } from '../pagination';
8
8
 
9
- export class AccountEnrollments extends APIResource {
9
+ export class IntrafiAccountEnrollments extends APIResource {
10
10
  /**
11
11
  * Enroll an account in the IntraFi deposit sweep network.
12
12
  */
13
13
  create(
14
- body: AccountEnrollmentCreateParams,
14
+ body: IntrafiAccountEnrollmentCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<IntrafiAccountEnrollment> {
17
17
  return this._client.post('/intrafi_account_enrollments', { body, ...options });
@@ -31,14 +31,14 @@ export class AccountEnrollments extends APIResource {
31
31
  * List IntraFi Account Enrollments
32
32
  */
33
33
  list(
34
- query?: AccountEnrollmentListParams,
34
+ query?: IntrafiAccountEnrollmentListParams,
35
35
  options?: Core.RequestOptions,
36
36
  ): Core.PagePromise<IntrafiAccountEnrollmentsPage, IntrafiAccountEnrollment>;
37
37
  list(
38
38
  options?: Core.RequestOptions,
39
39
  ): Core.PagePromise<IntrafiAccountEnrollmentsPage, IntrafiAccountEnrollment>;
40
40
  list(
41
- query: AccountEnrollmentListParams | Core.RequestOptions = {},
41
+ query: IntrafiAccountEnrollmentListParams | Core.RequestOptions = {},
42
42
  options?: Core.RequestOptions,
43
43
  ): Core.PagePromise<IntrafiAccountEnrollmentsPage, IntrafiAccountEnrollment> {
44
44
  if (isRequestOptions(query)) {
@@ -117,7 +117,7 @@ export interface IntrafiAccountEnrollment {
117
117
  type: 'intrafi_account_enrollment';
118
118
  }
119
119
 
120
- export interface AccountEnrollmentCreateParams {
120
+ export interface IntrafiAccountEnrollmentCreateParams {
121
121
  /**
122
122
  * The identifier for the account to be added to IntraFi.
123
123
  */
@@ -129,7 +129,7 @@ export interface AccountEnrollmentCreateParams {
129
129
  email_address: string;
130
130
  }
131
131
 
132
- export interface AccountEnrollmentListParams extends PageParams {
132
+ export interface IntrafiAccountEnrollmentListParams extends PageParams {
133
133
  /**
134
134
  * Filter IntraFi Account Enrollments to the one belonging to an account.
135
135
  */
@@ -143,10 +143,10 @@ export interface AccountEnrollmentListParams extends PageParams {
143
143
  */
144
144
  idempotency_key?: string;
145
145
 
146
- status?: AccountEnrollmentListParams.Status;
146
+ status?: IntrafiAccountEnrollmentListParams.Status;
147
147
  }
148
148
 
149
- export namespace AccountEnrollmentListParams {
149
+ export namespace IntrafiAccountEnrollmentListParams {
150
150
  export interface Status {
151
151
  /**
152
152
  * Filter IntraFi Account Enrollments for those with the specified status or
@@ -159,9 +159,9 @@ export namespace AccountEnrollmentListParams {
159
159
  }
160
160
  }
161
161
 
162
- export namespace AccountEnrollments {
163
- export import IntrafiAccountEnrollment = AccountEnrollmentsAPI.IntrafiAccountEnrollment;
164
- export import IntrafiAccountEnrollmentsPage = AccountEnrollmentsAPI.IntrafiAccountEnrollmentsPage;
165
- export import AccountEnrollmentCreateParams = AccountEnrollmentsAPI.AccountEnrollmentCreateParams;
166
- export import AccountEnrollmentListParams = AccountEnrollmentsAPI.AccountEnrollmentListParams;
162
+ export namespace IntrafiAccountEnrollments {
163
+ export import IntrafiAccountEnrollment = IntrafiAccountEnrollmentsAPI.IntrafiAccountEnrollment;
164
+ export import IntrafiAccountEnrollmentsPage = IntrafiAccountEnrollmentsAPI.IntrafiAccountEnrollmentsPage;
165
+ export import IntrafiAccountEnrollmentCreateParams = IntrafiAccountEnrollmentsAPI.IntrafiAccountEnrollmentCreateParams;
166
+ export import IntrafiAccountEnrollmentListParams = IntrafiAccountEnrollmentsAPI.IntrafiAccountEnrollmentListParams;
167
167
  }
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../resource';
4
- import * as Core from '../../core';
5
- import * as BalancesAPI from './balances';
3
+ import { APIResource } from '../resource';
4
+ import * as Core from '../core';
5
+ import * as IntrafiBalancesAPI from './intrafi-balances';
6
6
 
7
- export class Balances extends APIResource {
7
+ export class IntrafiBalances extends APIResource {
8
8
  /**
9
9
  * Get IntraFi balances by bank
10
10
  */
@@ -109,6 +109,6 @@ export namespace IntrafiBalance {
109
109
  }
110
110
  }
111
111
 
112
- export namespace Balances {
113
- export import IntrafiBalance = BalancesAPI.IntrafiBalance;
112
+ export namespace IntrafiBalances {
113
+ export import IntrafiBalance = IntrafiBalancesAPI.IntrafiBalance;
114
114
  }