increase 0.348.0 → 0.350.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 (139) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/error.d.ts +3 -1
  3. package/error.d.ts.map +1 -1
  4. package/package.json +1 -1
  5. package/resources/account-numbers.d.ts +1 -0
  6. package/resources/account-numbers.d.ts.map +1 -1
  7. package/resources/account-numbers.js.map +1 -1
  8. package/resources/account-numbers.mjs.map +1 -1
  9. package/resources/account-transfers.d.ts +1 -0
  10. package/resources/account-transfers.d.ts.map +1 -1
  11. package/resources/account-transfers.js.map +1 -1
  12. package/resources/account-transfers.mjs.map +1 -1
  13. package/resources/accounts.d.ts +1 -0
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/accounts.js.map +1 -1
  16. package/resources/accounts.mjs.map +1 -1
  17. package/resources/ach-transfers.d.ts +3 -0
  18. package/resources/ach-transfers.d.ts.map +1 -1
  19. package/resources/ach-transfers.js.map +1 -1
  20. package/resources/ach-transfers.mjs.map +1 -1
  21. package/resources/card-disputes.d.ts +2 -14
  22. package/resources/card-disputes.d.ts.map +1 -1
  23. package/resources/card-disputes.js.map +1 -1
  24. package/resources/card-disputes.mjs.map +1 -1
  25. package/resources/card-payments.d.ts +11 -0
  26. package/resources/card-payments.d.ts.map +1 -1
  27. package/resources/card-payments.js.map +1 -1
  28. package/resources/card-payments.mjs.map +1 -1
  29. package/resources/card-purchase-supplements.d.ts +1 -0
  30. package/resources/card-purchase-supplements.d.ts.map +1 -1
  31. package/resources/card-purchase-supplements.js.map +1 -1
  32. package/resources/card-purchase-supplements.mjs.map +1 -1
  33. package/resources/card-push-transfers.d.ts +1 -0
  34. package/resources/card-push-transfers.d.ts.map +1 -1
  35. package/resources/card-push-transfers.js.map +1 -1
  36. package/resources/card-push-transfers.mjs.map +1 -1
  37. package/resources/card-validations.d.ts +1 -0
  38. package/resources/card-validations.d.ts.map +1 -1
  39. package/resources/card-validations.js.map +1 -1
  40. package/resources/card-validations.mjs.map +1 -1
  41. package/resources/cards.d.ts +1 -0
  42. package/resources/cards.d.ts.map +1 -1
  43. package/resources/cards.js.map +1 -1
  44. package/resources/cards.mjs.map +1 -1
  45. package/resources/check-deposits.d.ts +5 -0
  46. package/resources/check-deposits.d.ts.map +1 -1
  47. package/resources/check-deposits.js.map +1 -1
  48. package/resources/check-deposits.mjs.map +1 -1
  49. package/resources/check-transfers.d.ts +16 -0
  50. package/resources/check-transfers.d.ts.map +1 -1
  51. package/resources/check-transfers.js.map +1 -1
  52. package/resources/check-transfers.mjs.map +1 -1
  53. package/resources/declined-transactions.d.ts +8 -0
  54. package/resources/declined-transactions.d.ts.map +1 -1
  55. package/resources/declined-transactions.js.map +1 -1
  56. package/resources/declined-transactions.mjs.map +1 -1
  57. package/resources/entities.d.ts +5 -0
  58. package/resources/entities.d.ts.map +1 -1
  59. package/resources/entities.js.map +1 -1
  60. package/resources/entities.mjs.map +1 -1
  61. package/resources/external-accounts.d.ts +1 -0
  62. package/resources/external-accounts.d.ts.map +1 -1
  63. package/resources/external-accounts.js.map +1 -1
  64. package/resources/external-accounts.mjs.map +1 -1
  65. package/resources/files.d.ts +1 -0
  66. package/resources/files.d.ts.map +1 -1
  67. package/resources/files.js.map +1 -1
  68. package/resources/files.mjs.map +1 -1
  69. package/resources/inbound-fednow-transfers.d.ts +2 -0
  70. package/resources/inbound-fednow-transfers.d.ts.map +1 -1
  71. package/resources/inbound-fednow-transfers.js.map +1 -1
  72. package/resources/inbound-fednow-transfers.mjs.map +1 -1
  73. package/resources/inbound-mail-items.d.ts +1 -0
  74. package/resources/inbound-mail-items.d.ts.map +1 -1
  75. package/resources/inbound-mail-items.js.map +1 -1
  76. package/resources/inbound-mail-items.mjs.map +1 -1
  77. package/resources/inbound-wire-drawdown-requests.d.ts +1 -0
  78. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  79. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  80. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  81. package/resources/inbound-wire-transfers.d.ts +1 -0
  82. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  83. package/resources/inbound-wire-transfers.js.map +1 -1
  84. package/resources/inbound-wire-transfers.mjs.map +1 -1
  85. package/resources/pending-transactions.d.ts +15 -1
  86. package/resources/pending-transactions.d.ts.map +1 -1
  87. package/resources/pending-transactions.js.map +1 -1
  88. package/resources/pending-transactions.mjs.map +1 -1
  89. package/resources/physical-card-profiles.d.ts +1 -0
  90. package/resources/physical-card-profiles.d.ts.map +1 -1
  91. package/resources/physical-card-profiles.js.map +1 -1
  92. package/resources/physical-card-profiles.mjs.map +1 -1
  93. package/resources/real-time-decisions.d.ts +1 -0
  94. package/resources/real-time-decisions.d.ts.map +1 -1
  95. package/resources/real-time-payments-transfers.d.ts +1 -0
  96. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  97. package/resources/real-time-payments-transfers.js.map +1 -1
  98. package/resources/real-time-payments-transfers.mjs.map +1 -1
  99. package/resources/transactions.d.ts +37 -0
  100. package/resources/transactions.d.ts.map +1 -1
  101. package/resources/transactions.js.map +1 -1
  102. package/resources/transactions.mjs.map +1 -1
  103. package/resources/wire-transfers.d.ts +197 -74
  104. package/resources/wire-transfers.d.ts.map +1 -1
  105. package/resources/wire-transfers.js +2 -1
  106. package/resources/wire-transfers.js.map +1 -1
  107. package/resources/wire-transfers.mjs +2 -1
  108. package/resources/wire-transfers.mjs.map +1 -1
  109. package/src/error.ts +1 -1
  110. package/src/resources/account-numbers.ts +2 -0
  111. package/src/resources/account-transfers.ts +2 -0
  112. package/src/resources/accounts.ts +2 -0
  113. package/src/resources/ach-transfers.ts +6 -0
  114. package/src/resources/card-disputes.ts +2 -14
  115. package/src/resources/card-payments.ts +22 -0
  116. package/src/resources/card-purchase-supplements.ts +2 -0
  117. package/src/resources/card-push-transfers.ts +2 -0
  118. package/src/resources/card-validations.ts +2 -0
  119. package/src/resources/cards.ts +2 -0
  120. package/src/resources/check-deposits.ts +10 -0
  121. package/src/resources/check-transfers.ts +22 -0
  122. package/src/resources/declined-transactions.ts +16 -0
  123. package/src/resources/entities.ts +10 -0
  124. package/src/resources/external-accounts.ts +2 -0
  125. package/src/resources/files.ts +2 -0
  126. package/src/resources/inbound-fednow-transfers.ts +4 -0
  127. package/src/resources/inbound-mail-items.ts +2 -0
  128. package/src/resources/inbound-wire-drawdown-requests.ts +2 -0
  129. package/src/resources/inbound-wire-transfers.ts +2 -0
  130. package/src/resources/pending-transactions.ts +25 -1
  131. package/src/resources/physical-card-profiles.ts +2 -0
  132. package/src/resources/real-time-decisions.ts +2 -0
  133. package/src/resources/real-time-payments-transfers.ts +2 -0
  134. package/src/resources/transactions.ts +74 -0
  135. package/src/resources/wire-transfers.ts +225 -89
  136. package/src/version.ts +1 -1
  137. package/version.d.ts +1 -1
  138. package/version.js +1 -1
  139. package/version.mjs +1 -1
@@ -210,6 +210,8 @@ export interface Card {
210
210
  * `card`.
211
211
  */
212
212
  type: 'card';
213
+
214
+ [k: string]: unknown;
213
215
  }
214
216
 
215
217
  export namespace Card {
@@ -175,6 +175,8 @@ export interface CheckDeposit {
175
175
  * `check_deposit`.
176
176
  */
177
177
  type: 'check_deposit';
178
+
179
+ [k: string]: unknown;
178
180
  }
179
181
 
180
182
  export namespace CheckDeposit {
@@ -230,6 +232,8 @@ export namespace CheckDeposit {
230
232
  * the serial number is usually in the `auxiliary_on_us` field.
231
233
  */
232
234
  serial_number: string | null;
235
+
236
+ [k: string]: unknown;
233
237
  }
234
238
 
235
239
  /**
@@ -302,6 +306,8 @@ export namespace CheckDeposit {
302
306
  * the check deposit was rejected.
303
307
  */
304
308
  rejected_at: string;
309
+
310
+ [k: string]: unknown;
305
311
  }
306
312
 
307
313
  /**
@@ -417,6 +423,8 @@ export namespace CheckDeposit {
417
423
  * transaction.
418
424
  */
419
425
  transaction_id: string;
426
+
427
+ [k: string]: unknown;
420
428
  }
421
429
 
422
430
  /**
@@ -508,6 +516,8 @@ export namespace CheckDeposit {
508
516
  * `inbound_funds_hold`.
509
517
  */
510
518
  type: 'inbound_funds_hold';
519
+
520
+ [k: string]: unknown;
511
521
  }
512
522
  }
513
523
 
@@ -294,6 +294,8 @@ export interface CheckTransfer {
294
294
  * `check_transfer`.
295
295
  */
296
296
  type: 'check_transfer';
297
+
298
+ [k: string]: unknown;
297
299
  }
298
300
 
299
301
  export namespace CheckTransfer {
@@ -478,6 +480,8 @@ export namespace CheckTransfer {
478
480
  * Tracking updates relating to the physical check's delivery.
479
481
  */
480
482
  tracking_updates: Array<PhysicalCheck.TrackingUpdate>;
483
+
484
+ [k: string]: unknown;
481
485
  }
482
486
 
483
487
  export namespace PhysicalCheck {
@@ -613,6 +617,8 @@ export namespace CheckTransfer {
613
617
  * `check_transfer_stop_payment_request`.
614
618
  */
615
619
  type: 'check_transfer_stop_payment_request';
620
+
621
+ [k: string]: unknown;
616
622
  }
617
623
 
618
624
  /**
@@ -644,6 +650,8 @@ export namespace CheckTransfer {
644
650
  * When this check transfer was submitted to our check printer.
645
651
  */
646
652
  submitted_at: string;
653
+
654
+ [k: string]: unknown;
647
655
  }
648
656
 
649
657
  export namespace Submission {
@@ -693,6 +701,8 @@ export namespace CheckTransfer {
693
701
  * The name that you will print on the check.
694
702
  */
695
703
  recipient_name: string | null;
704
+
705
+ [k: string]: unknown;
696
706
  }
697
707
  }
698
708
 
@@ -723,6 +733,18 @@ export interface CheckTransferCreateParams {
723
733
  */
724
734
  source_account_number_id: string;
725
735
 
736
+ /**
737
+ * How the account's available balance should be checked. Please contact
738
+ * [support@increase.com](mailto:support@increase.com) to enable this parameter.
739
+ *
740
+ * - `full` - The available balance of the account must be at least the amount of
741
+ * the check, and a Pending Transaction will be created for the full amount.
742
+ * - `none` - No balance check will performed when the check transfer is initiated.
743
+ * A zero-dollar Pending Transaction will be created. The balance will still be
744
+ * checked when the Inbound Check Deposit is created.
745
+ */
746
+ balance_check?: 'full' | 'none';
747
+
726
748
  /**
727
749
  * The check number Increase should use for the check. This should not contain
728
750
  * leading zeroes and must be unique across the `source_account_number`. If this is
@@ -129,6 +129,8 @@ export interface DeclinedTransaction {
129
129
  * `declined_transaction`.
130
130
  */
131
131
  type: 'declined_transaction';
132
+
133
+ [k: string]: unknown;
132
134
  }
133
135
 
134
136
  export namespace DeclinedTransaction {
@@ -220,6 +222,8 @@ export namespace DeclinedTransaction {
220
222
  * only if `category` is equal to `wire_decline`.
221
223
  */
222
224
  wire_decline: Source.WireDecline | null;
225
+
226
+ [k: string]: unknown;
223
227
  }
224
228
 
225
229
  export namespace Source {
@@ -332,6 +336,8 @@ export namespace DeclinedTransaction {
332
336
  * `ach_decline`.
333
337
  */
334
338
  type: 'ach_decline';
339
+
340
+ [k: string]: unknown;
335
341
  }
336
342
 
337
343
  /**
@@ -616,6 +622,8 @@ export namespace DeclinedTransaction {
616
622
  * Fields related to verification of cardholder-provided values.
617
623
  */
618
624
  verification: CardDecline.Verification;
625
+
626
+ [k: string]: unknown;
619
627
  }
620
628
 
621
629
  export namespace CardDecline {
@@ -1196,6 +1204,8 @@ export namespace DeclinedTransaction {
1196
1204
  | 'unable_to_process'
1197
1205
  | 'unusable_image'
1198
1206
  | 'user_initiated';
1207
+
1208
+ [k: string]: unknown;
1199
1209
  }
1200
1210
 
1201
1211
  /**
@@ -1268,6 +1278,8 @@ export namespace DeclinedTransaction {
1268
1278
  * the check deposit was rejected.
1269
1279
  */
1270
1280
  rejected_at: string;
1281
+
1282
+ [k: string]: unknown;
1271
1283
  }
1272
1284
 
1273
1285
  /**
@@ -1299,6 +1311,8 @@ export namespace DeclinedTransaction {
1299
1311
  * The identifier of the FedNow Transfer that led to this declined transaction.
1300
1312
  */
1301
1313
  transfer_id: string;
1314
+
1315
+ [k: string]: unknown;
1302
1316
  }
1303
1317
 
1304
1318
  /**
@@ -1410,6 +1424,8 @@ export namespace DeclinedTransaction {
1410
1424
  | 'group_locked'
1411
1425
  | 'no_account_number'
1412
1426
  | 'transaction_not_allowed';
1427
+
1428
+ [k: string]: unknown;
1413
1429
  }
1414
1430
  }
1415
1431
  }
@@ -544,6 +544,8 @@ export namespace Entity {
544
544
  * individual's identity.
545
545
  */
546
546
  number_last4: string;
547
+
548
+ [k: string]: unknown;
547
549
  }
548
550
  }
549
551
  }
@@ -731,6 +733,8 @@ export namespace Entity {
731
733
  * individual's identity.
732
734
  */
733
735
  number_last4: string;
736
+
737
+ [k: string]: unknown;
734
738
  }
735
739
  }
736
740
  }
@@ -819,6 +823,8 @@ export namespace Entity {
819
823
  * individual's identity.
820
824
  */
821
825
  number_last4: string;
826
+
827
+ [k: string]: unknown;
822
828
  }
823
829
  }
824
830
 
@@ -1028,6 +1034,8 @@ export namespace Entity {
1028
1034
  * individual's identity.
1029
1035
  */
1030
1036
  number_last4: string;
1037
+
1038
+ [k: string]: unknown;
1031
1039
  }
1032
1040
  }
1033
1041
 
@@ -1131,6 +1139,8 @@ export namespace Entity {
1131
1139
  * individual's identity.
1132
1140
  */
1133
1141
  number_last4: string;
1142
+
1143
+ [k: string]: unknown;
1134
1144
  }
1135
1145
  }
1136
1146
  }
@@ -157,6 +157,8 @@ export interface ExternalAccount {
157
157
  * `external_account`.
158
158
  */
159
159
  type: 'external_account';
160
+
161
+ [k: string]: unknown;
160
162
  }
161
163
 
162
164
  export interface ExternalAccountCreateParams {
@@ -194,6 +194,8 @@ export interface File {
194
194
  * `file`.
195
195
  */
196
196
  type: 'file';
197
+
198
+ [k: string]: unknown;
197
199
  }
198
200
 
199
201
  export interface FileCreateParams {
@@ -169,6 +169,8 @@ export namespace InboundFednowTransfer {
169
169
  * The identifier of the FedNow Transfer that led to this Transaction.
170
170
  */
171
171
  transfer_id: string;
172
+
173
+ [k: string]: unknown;
172
174
  }
173
175
 
174
176
  /**
@@ -198,6 +200,8 @@ export namespace InboundFednowTransfer {
198
200
  * The identifier of the FedNow Transfer that led to this declined transaction.
199
201
  */
200
202
  transfer_id: string;
203
+
204
+ [k: string]: unknown;
201
205
  }
202
206
  }
203
207
 
@@ -109,6 +109,8 @@ export interface InboundMailItem {
109
109
  * `inbound_mail_item`.
110
110
  */
111
111
  type: 'inbound_mail_item';
112
+
113
+ [k: string]: unknown;
112
114
  }
113
115
 
114
116
  export namespace InboundMailItem {
@@ -177,6 +177,8 @@ export interface InboundWireDrawdownRequest {
177
177
  * A free-form message set by the sender.
178
178
  */
179
179
  unstructured_remittance_information: string | null;
180
+
181
+ [k: string]: unknown;
180
182
  }
181
183
 
182
184
  export interface InboundWireDrawdownRequestListParams extends PageParams {}
@@ -217,6 +217,8 @@ export interface InboundWireTransfer {
217
217
  * The wire drawdown request the inbound wire transfer is fulfilling.
218
218
  */
219
219
  wire_drawdown_request_id: string | null;
220
+
221
+ [k: string]: unknown;
220
222
  }
221
223
 
222
224
  export namespace InboundWireTransfer {
@@ -195,6 +195,8 @@ export interface PendingTransaction {
195
195
  * `pending_transaction`.
196
196
  */
197
197
  type: 'pending_transaction';
198
+
199
+ [k: string]: unknown;
198
200
  }
199
201
 
200
202
  export namespace PendingTransaction {
@@ -338,13 +340,15 @@ export namespace PendingTransaction {
338
340
  * if and only if `category` is equal to `user_initiated_hold`. Created when a user
339
341
  * initiates a hold on funds in their account.
340
342
  */
341
- user_initiated_hold: unknown | null;
343
+ user_initiated_hold: { [key: string]: unknown } | null;
342
344
 
343
345
  /**
344
346
  * A Wire Transfer Instruction object. This field will be present in the JSON
345
347
  * response if and only if `category` is equal to `wire_transfer_instruction`.
346
348
  */
347
349
  wire_transfer_instruction: Source.WireTransferInstruction | null;
350
+
351
+ [k: string]: unknown;
348
352
  }
349
353
 
350
354
  export namespace Source {
@@ -376,6 +380,8 @@ export namespace PendingTransaction {
376
380
  * The identifier of the Account Transfer that led to this Pending Transaction.
377
381
  */
378
382
  transfer_id: string;
383
+
384
+ [k: string]: unknown;
379
385
  }
380
386
 
381
387
  /**
@@ -392,6 +398,8 @@ export namespace PendingTransaction {
392
398
  * The identifier of the ACH Transfer that led to this Pending Transaction.
393
399
  */
394
400
  transfer_id: string;
401
+
402
+ [k: string]: unknown;
395
403
  }
396
404
 
397
405
  /**
@@ -603,6 +611,8 @@ export namespace PendingTransaction {
603
611
  * Fields related to verification of cardholder-provided values.
604
612
  */
605
613
  verification: CardAuthorization.Verification;
614
+
615
+ [k: string]: unknown;
606
616
  }
607
617
 
608
618
  export namespace CardAuthorization {
@@ -1154,6 +1164,8 @@ export namespace PendingTransaction {
1154
1164
  * was deposited.
1155
1165
  */
1156
1166
  front_image_file_id: string;
1167
+
1168
+ [k: string]: unknown;
1157
1169
  }
1158
1170
 
1159
1171
  /**
@@ -1183,6 +1195,8 @@ export namespace PendingTransaction {
1183
1195
  * The identifier of the Check Transfer that led to this Pending Transaction.
1184
1196
  */
1185
1197
  transfer_id: string;
1198
+
1199
+ [k: string]: unknown;
1186
1200
  }
1187
1201
 
1188
1202
  /**
@@ -1194,6 +1208,8 @@ export namespace PendingTransaction {
1194
1208
  * The identifier of the FedNow Transfer that led to this Pending Transaction.
1195
1209
  */
1196
1210
  transfer_id: string;
1211
+
1212
+ [k: string]: unknown;
1197
1213
  }
1198
1214
 
1199
1215
  /**
@@ -1262,6 +1278,8 @@ export namespace PendingTransaction {
1262
1278
  * `inbound_funds_hold`.
1263
1279
  */
1264
1280
  type: 'inbound_funds_hold';
1281
+
1282
+ [k: string]: unknown;
1265
1283
  }
1266
1284
 
1267
1285
  /**
@@ -1275,6 +1293,8 @@ export namespace PendingTransaction {
1275
1293
  * The ID of the Inbound Wire Transfer that is being reversed.
1276
1294
  */
1277
1295
  inbound_wire_transfer_id: string;
1296
+
1297
+ [k: string]: unknown;
1278
1298
  }
1279
1299
 
1280
1300
  /**
@@ -1304,6 +1324,8 @@ export namespace PendingTransaction {
1304
1324
  * The identifier of the Swift Transfer that led to this Pending Transaction.
1305
1325
  */
1306
1326
  transfer_id: string;
1327
+
1328
+ [k: string]: unknown;
1307
1329
  }
1308
1330
 
1309
1331
  /**
@@ -1336,6 +1358,8 @@ export namespace PendingTransaction {
1336
1358
  * The identifier of the Wire Transfer that led to this Pending Transaction.
1337
1359
  */
1338
1360
  transfer_id: string;
1361
+
1362
+ [k: string]: unknown;
1339
1363
  }
1340
1364
  }
1341
1365
  }
@@ -209,6 +209,8 @@ export interface PhysicalCardProfile {
209
209
  * `physical_card_profile`.
210
210
  */
211
211
  type: 'physical_card_profile';
212
+
213
+ [k: string]: unknown;
212
214
  }
213
215
 
214
216
  export interface PhysicalCardProfileCreateParams {
@@ -383,6 +383,8 @@ export namespace RealTimeDecision {
383
383
  * Fields related to verification of cardholder-provided values.
384
384
  */
385
385
  verification: CardAuthorization.Verification;
386
+
387
+ [k: string]: unknown;
386
388
  }
387
389
 
388
390
  export namespace CardAuthorization {
@@ -290,6 +290,8 @@ export interface RealTimePaymentsTransfer {
290
290
  * sent on behalf of someone who is not the account holder at Increase.
291
291
  */
292
292
  ultimate_debtor_name: string | null;
293
+
294
+ [k: string]: unknown;
293
295
  }
294
296
 
295
297
  export namespace RealTimePaymentsTransfer {