increase 0.418.0 → 0.430.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 (126) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/client.d.mts +3 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/account-transfers.d.mts +6 -6
  12. package/resources/account-transfers.d.mts.map +1 -1
  13. package/resources/account-transfers.d.ts +6 -6
  14. package/resources/account-transfers.d.ts.map +1 -1
  15. package/resources/ach-prenotifications.d.mts +45 -24
  16. package/resources/ach-prenotifications.d.mts.map +1 -1
  17. package/resources/ach-prenotifications.d.ts +45 -24
  18. package/resources/ach-prenotifications.d.ts.map +1 -1
  19. package/resources/ach-transfers.d.mts +56 -34
  20. package/resources/ach-transfers.d.mts.map +1 -1
  21. package/resources/ach-transfers.d.ts +56 -34
  22. package/resources/ach-transfers.d.ts.map +1 -1
  23. package/resources/card-disputes.d.mts +37 -37
  24. package/resources/card-disputes.d.mts.map +1 -1
  25. package/resources/card-disputes.d.ts +37 -37
  26. package/resources/card-disputes.d.ts.map +1 -1
  27. package/resources/card-payments.d.mts +48 -48
  28. package/resources/card-payments.d.mts.map +1 -1
  29. package/resources/card-payments.d.ts +48 -48
  30. package/resources/card-payments.d.ts.map +1 -1
  31. package/resources/card-push-transfers.d.mts +6 -6
  32. package/resources/card-push-transfers.d.mts.map +1 -1
  33. package/resources/card-push-transfers.d.ts +6 -6
  34. package/resources/card-push-transfers.d.ts.map +1 -1
  35. package/resources/card-validations.d.mts +6 -6
  36. package/resources/card-validations.d.mts.map +1 -1
  37. package/resources/card-validations.d.ts +6 -6
  38. package/resources/card-validations.d.ts.map +1 -1
  39. package/resources/check-transfers.d.mts +6 -6
  40. package/resources/check-transfers.d.mts.map +1 -1
  41. package/resources/check-transfers.d.ts +6 -6
  42. package/resources/check-transfers.d.ts.map +1 -1
  43. package/resources/declined-transactions.d.mts +16 -16
  44. package/resources/declined-transactions.d.mts.map +1 -1
  45. package/resources/declined-transactions.d.ts +16 -16
  46. package/resources/declined-transactions.d.ts.map +1 -1
  47. package/resources/digital-card-profiles.d.mts +1 -0
  48. package/resources/digital-card-profiles.d.mts.map +1 -1
  49. package/resources/digital-card-profiles.d.ts +1 -0
  50. package/resources/digital-card-profiles.d.ts.map +1 -1
  51. package/resources/entities.d.mts +3 -2
  52. package/resources/entities.d.mts.map +1 -1
  53. package/resources/entities.d.ts +3 -2
  54. package/resources/entities.d.ts.map +1 -1
  55. package/resources/exports.d.mts +327 -15
  56. package/resources/exports.d.mts.map +1 -1
  57. package/resources/exports.d.ts +327 -15
  58. package/resources/exports.d.ts.map +1 -1
  59. package/resources/fednow-transfers.d.mts +6 -6
  60. package/resources/fednow-transfers.d.mts.map +1 -1
  61. package/resources/fednow-transfers.d.ts +6 -6
  62. package/resources/fednow-transfers.d.ts.map +1 -1
  63. package/resources/inbound-ach-transfers.d.mts +1 -0
  64. package/resources/inbound-ach-transfers.d.mts.map +1 -1
  65. package/resources/inbound-ach-transfers.d.ts +1 -0
  66. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  67. package/resources/lockboxes.d.mts +2 -0
  68. package/resources/lockboxes.d.mts.map +1 -1
  69. package/resources/lockboxes.d.ts +2 -0
  70. package/resources/lockboxes.d.ts.map +1 -1
  71. package/resources/pending-transactions.d.mts +52 -52
  72. package/resources/pending-transactions.d.mts.map +1 -1
  73. package/resources/pending-transactions.d.ts +52 -52
  74. package/resources/pending-transactions.d.ts.map +1 -1
  75. package/resources/real-time-payments-transfers.d.mts +6 -6
  76. package/resources/real-time-payments-transfers.d.mts.map +1 -1
  77. package/resources/real-time-payments-transfers.d.ts +6 -6
  78. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  79. package/resources/simulations/ach-transfers.d.mts +17 -14
  80. package/resources/simulations/ach-transfers.d.mts.map +1 -1
  81. package/resources/simulations/ach-transfers.d.ts +17 -14
  82. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  83. package/resources/simulations/programs.d.mts +1 -3
  84. package/resources/simulations/programs.d.mts.map +1 -1
  85. package/resources/simulations/programs.d.ts +1 -3
  86. package/resources/simulations/programs.d.ts.map +1 -1
  87. package/resources/swift-transfers.d.mts +6 -6
  88. package/resources/swift-transfers.d.mts.map +1 -1
  89. package/resources/swift-transfers.d.ts +6 -6
  90. package/resources/swift-transfers.d.ts.map +1 -1
  91. package/resources/transactions.d.mts +140 -137
  92. package/resources/transactions.d.mts.map +1 -1
  93. package/resources/transactions.d.ts +140 -137
  94. package/resources/transactions.d.ts.map +1 -1
  95. package/resources/wire-transfers.d.mts +8 -8
  96. package/resources/wire-transfers.d.mts.map +1 -1
  97. package/resources/wire-transfers.d.ts +8 -8
  98. package/resources/wire-transfers.d.ts.map +1 -1
  99. package/src/client.ts +15 -4
  100. package/src/resources/account-transfers.ts +7 -7
  101. package/src/resources/ach-prenotifications.ts +45 -24
  102. package/src/resources/ach-transfers.ts +57 -35
  103. package/src/resources/card-disputes.ts +41 -41
  104. package/src/resources/card-payments.ts +63 -63
  105. package/src/resources/card-push-transfers.ts +7 -7
  106. package/src/resources/card-validations.ts +7 -7
  107. package/src/resources/check-transfers.ts +7 -7
  108. package/src/resources/declined-transactions.ts +18 -18
  109. package/src/resources/digital-card-profiles.ts +2 -0
  110. package/src/resources/entities.ts +4 -2
  111. package/src/resources/exports.ts +385 -29
  112. package/src/resources/fednow-transfers.ts +7 -7
  113. package/src/resources/inbound-ach-transfers.ts +2 -0
  114. package/src/resources/lockboxes.ts +4 -0
  115. package/src/resources/pending-transactions.ts +58 -58
  116. package/src/resources/real-time-payments-transfers.ts +7 -7
  117. package/src/resources/simulations/ach-transfers.ts +17 -14
  118. package/src/resources/simulations/programs.ts +1 -9
  119. package/src/resources/swift-transfers.ts +7 -7
  120. package/src/resources/transactions.ts +164 -161
  121. package/src/resources/wire-transfers.ts +9 -9
  122. package/src/version.ts +1 -1
  123. package/version.d.mts +1 -1
  124. package/version.d.ts +1 -1
  125. package/version.js +1 -1
  126. package/version.mjs +1 -1
@@ -337,11 +337,6 @@ export namespace CheckTransfer {
337
337
  * What object created the transfer, either via the API or the dashboard.
338
338
  */
339
339
  export interface CreatedBy {
340
- /**
341
- * If present, details about the API key that created the transfer.
342
- */
343
- api_key: CreatedBy.APIKey | null;
344
-
345
340
  /**
346
341
  * The type of object that created this transfer.
347
342
  *
@@ -353,15 +348,20 @@ export namespace CheckTransfer {
353
348
  */
354
349
  category: 'api_key' | 'oauth_application' | 'user';
355
350
 
351
+ /**
352
+ * If present, details about the API key that created the transfer.
353
+ */
354
+ api_key?: CreatedBy.APIKey | null;
355
+
356
356
  /**
357
357
  * If present, details about the OAuth Application that created the transfer.
358
358
  */
359
- oauth_application: CreatedBy.OAuthApplication | null;
359
+ oauth_application?: CreatedBy.OAuthApplication | null;
360
360
 
361
361
  /**
362
362
  * If present, details about the User that created the transfer.
363
363
  */
364
- user: CreatedBy.User | null;
364
+ user?: CreatedBy.User | null;
365
365
  }
366
366
 
367
367
  export namespace CreatedBy {
@@ -130,18 +130,6 @@ export namespace DeclinedTransaction {
130
130
  * as deprecated and will be removed in the future.
131
131
  */
132
132
  export interface Source {
133
- /**
134
- * An ACH Decline object. This field will be present in the JSON response if and
135
- * only if `category` is equal to `ach_decline`.
136
- */
137
- ach_decline: Source.ACHDecline | null;
138
-
139
- /**
140
- * A Card Decline object. This field will be present in the JSON response if and
141
- * only if `category` is equal to `card_decline`.
142
- */
143
- card_decline: Source.CardDecline | null;
144
-
145
133
  /**
146
134
  * The type of the resource. We may add additional possible values for this enum
147
135
  * over time; your application should be able to handle such additions gracefully.
@@ -173,43 +161,55 @@ export namespace DeclinedTransaction {
173
161
  | 'check_deposit_rejection'
174
162
  | 'other';
175
163
 
164
+ /**
165
+ * An ACH Decline object. This field will be present in the JSON response if and
166
+ * only if `category` is equal to `ach_decline`.
167
+ */
168
+ ach_decline?: Source.ACHDecline | null;
169
+
170
+ /**
171
+ * A Card Decline object. This field will be present in the JSON response if and
172
+ * only if `category` is equal to `card_decline`.
173
+ */
174
+ card_decline?: Source.CardDecline | null;
175
+
176
176
  /**
177
177
  * A Check Decline object. This field will be present in the JSON response if and
178
178
  * only if `category` is equal to `check_decline`.
179
179
  */
180
- check_decline: Source.CheckDecline | null;
180
+ check_decline?: Source.CheckDecline | null;
181
181
 
182
182
  /**
183
183
  * A Check Deposit Rejection object. This field will be present in the JSON
184
184
  * response if and only if `category` is equal to `check_deposit_rejection`.
185
185
  */
186
- check_deposit_rejection: Source.CheckDepositRejection | null;
186
+ check_deposit_rejection?: Source.CheckDepositRejection | null;
187
187
 
188
188
  /**
189
189
  * An Inbound FedNow Transfer Decline object. This field will be present in the
190
190
  * JSON response if and only if `category` is equal to
191
191
  * `inbound_fednow_transfer_decline`.
192
192
  */
193
- inbound_fednow_transfer_decline: Source.InboundFednowTransferDecline | null;
193
+ inbound_fednow_transfer_decline?: Source.InboundFednowTransferDecline | null;
194
194
 
195
195
  /**
196
196
  * An Inbound Real-Time Payments Transfer Decline object. This field will be
197
197
  * present in the JSON response if and only if `category` is equal to
198
198
  * `inbound_real_time_payments_transfer_decline`.
199
199
  */
200
- inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
200
+ inbound_real_time_payments_transfer_decline?: Source.InboundRealTimePaymentsTransferDecline | null;
201
201
 
202
202
  /**
203
203
  * If the category of this Transaction source is equal to `other`, this field will
204
204
  * contain an empty object, otherwise it will contain null.
205
205
  */
206
- other: Source.Other | null;
206
+ other?: Source.Other | null;
207
207
 
208
208
  /**
209
209
  * A Wire Decline object. This field will be present in the JSON response if and
210
210
  * only if `category` is equal to `wire_decline`.
211
211
  */
212
- wire_decline: Source.WireDecline | null;
212
+ wire_decline?: Source.WireDecline | null;
213
213
 
214
214
  [k: string]: unknown;
215
215
  }
@@ -184,6 +184,8 @@ export interface DigitalCardProfile {
184
184
  * `digital_card_profile`.
185
185
  */
186
186
  type: 'digital_card_profile';
187
+
188
+ [k: string]: unknown;
187
189
  }
188
190
 
189
191
  export namespace DigitalCardProfile {
@@ -350,6 +350,8 @@ export interface Entity {
350
350
  * `entity`.
351
351
  */
352
352
  type: 'entity';
353
+
354
+ [k: string]: unknown;
353
355
  }
354
356
 
355
357
  export namespace Entity {
@@ -1215,7 +1217,7 @@ export interface EntityCreateParams {
1215
1217
  natural_person?: EntityCreateParams.NaturalPerson;
1216
1218
 
1217
1219
  /**
1218
- * An assessment of the entitys potential risk of involvement in financial crimes,
1220
+ * An assessment of the entity's potential risk of involvement in financial crimes,
1219
1221
  * such as money laundering.
1220
1222
  */
1221
1223
  risk_rating?: EntityCreateParams.RiskRating;
@@ -2077,7 +2079,7 @@ export namespace EntityCreateParams {
2077
2079
  }
2078
2080
 
2079
2081
  /**
2080
- * An assessment of the entitys potential risk of involvement in financial crimes,
2082
+ * An assessment of the entity's potential risk of involvement in financial crimes,
2081
2083
  * such as money laundering.
2082
2084
  */
2083
2085
  export interface RiskRating {
@@ -69,6 +69,36 @@ export interface Export {
69
69
  */
70
70
  id: string;
71
71
 
72
+ /**
73
+ * Details of the account statement BAI2 export. This field will be present when
74
+ * the `category` is equal to `account_statement_bai2`.
75
+ */
76
+ account_statement_bai2: Export.AccountStatementBai2 | null;
77
+
78
+ /**
79
+ * Details of the account statement OFX export. This field will be present when the
80
+ * `category` is equal to `account_statement_ofx`.
81
+ */
82
+ account_statement_ofx: Export.AccountStatementOfx | null;
83
+
84
+ /**
85
+ * Details of the account verification letter export. This field will be present
86
+ * when the `category` is equal to `account_verification_letter`.
87
+ */
88
+ account_verification_letter: Export.AccountVerificationLetter | null;
89
+
90
+ /**
91
+ * Details of the balance CSV export. This field will be present when the
92
+ * `category` is equal to `balance_csv`.
93
+ */
94
+ balance_csv: Export.BalanceCsv | null;
95
+
96
+ /**
97
+ * Details of the bookkeeping account balance CSV export. This field will be
98
+ * present when the `category` is equal to `bookkeeping_account_balance_csv`.
99
+ */
100
+ bookkeeping_account_balance_csv: Export.BookkeepingAccountBalanceCsv | null;
101
+
72
102
  /**
73
103
  * The category of the Export. We may add additional possible values for this enum
74
104
  * over time; your application should be able to handle that gracefully.
@@ -112,16 +142,34 @@ export interface Export {
112
142
  created_at: string;
113
143
 
114
144
  /**
115
- * A URL at which the Export's file can be downloaded. This will be present when
116
- * the Export's status transitions to `complete`.
145
+ * Details of the dashboard table CSV export. This field will be present when the
146
+ * `category` is equal to `dashboard_table_csv`.
117
147
  */
118
- file_download_url: string | null;
148
+ dashboard_table_csv: Export.DashboardTableCsv | null;
119
149
 
120
150
  /**
121
- * The File containing the contents of the Export. This will be present when the
122
- * Export's status transitions to `complete`.
151
+ * Details of the entity CSV export. This field will be present when the `category`
152
+ * is equal to `entity_csv`.
123
153
  */
124
- file_id: string | null;
154
+ entity_csv: Export.EntityCsv | null;
155
+
156
+ /**
157
+ * Details of the Form 1099-INT export. This field will be present when the
158
+ * `category` is equal to `form_1099_int`.
159
+ */
160
+ form_1099_int: Export.Form1099Int | null;
161
+
162
+ /**
163
+ * Details of the Form 1099-MISC export. This field will be present when the
164
+ * `category` is equal to `form_1099_misc`.
165
+ */
166
+ form_1099_misc: Export.Form1099Misc | null;
167
+
168
+ /**
169
+ * Details of the funding instructions export. This field will be present when the
170
+ * `category` is equal to `funding_instructions`.
171
+ */
172
+ funding_instructions: Export.FundingInstructions | null;
125
173
 
126
174
  /**
127
175
  * The idempotency key you chose for this object. This value is unique across
@@ -130,6 +178,12 @@ export interface Export {
130
178
  */
131
179
  idempotency_key: string | null;
132
180
 
181
+ /**
182
+ * The result of the Export. This will be present when the Export's status
183
+ * transitions to `complete`.
184
+ */
185
+ result: Export.Result | null;
186
+
133
187
  /**
134
188
  * The status of the Export.
135
189
  *
@@ -140,11 +194,283 @@ export interface Export {
140
194
  */
141
195
  status: 'pending' | 'complete' | 'failed';
142
196
 
197
+ /**
198
+ * Details of the transaction CSV export. This field will be present when the
199
+ * `category` is equal to `transaction_csv`.
200
+ */
201
+ transaction_csv: Export.TransactionCsv | null;
202
+
143
203
  /**
144
204
  * A constant representing the object's type. For this resource it will always be
145
205
  * `export`.
146
206
  */
147
207
  type: 'export';
208
+
209
+ /**
210
+ * Details of the vendor CSV export. This field will be present when the `category`
211
+ * is equal to `vendor_csv`.
212
+ */
213
+ vendor_csv: Export.VendorCsv | null;
214
+
215
+ [k: string]: unknown;
216
+ }
217
+
218
+ export namespace Export {
219
+ /**
220
+ * Details of the account statement BAI2 export. This field will be present when
221
+ * the `category` is equal to `account_statement_bai2`.
222
+ */
223
+ export interface AccountStatementBai2 {
224
+ /**
225
+ * Filter results by Account.
226
+ */
227
+ account_id: string | null;
228
+
229
+ /**
230
+ * The date for which to retrieve the balance.
231
+ */
232
+ effective_date: string | null;
233
+
234
+ /**
235
+ * Filter results by Program.
236
+ */
237
+ program_id: string | null;
238
+ }
239
+
240
+ /**
241
+ * Details of the account statement OFX export. This field will be present when the
242
+ * `category` is equal to `account_statement_ofx`.
243
+ */
244
+ export interface AccountStatementOfx {
245
+ /**
246
+ * The Account to create a statement for.
247
+ */
248
+ account_id: string;
249
+
250
+ /**
251
+ * Filter transactions by their created date.
252
+ */
253
+ created_at: AccountStatementOfx.CreatedAt | null;
254
+ }
255
+
256
+ export namespace AccountStatementOfx {
257
+ /**
258
+ * Filter transactions by their created date.
259
+ */
260
+ export interface CreatedAt {
261
+ /**
262
+ * Filter results to transactions created after this time.
263
+ */
264
+ after: string | null;
265
+
266
+ /**
267
+ * Filter results to transactions created before this time.
268
+ */
269
+ before: string | null;
270
+ }
271
+ }
272
+
273
+ /**
274
+ * Details of the account verification letter export. This field will be present
275
+ * when the `category` is equal to `account_verification_letter`.
276
+ */
277
+ export interface AccountVerificationLetter {
278
+ /**
279
+ * The Account Number to create a letter for.
280
+ */
281
+ account_number_id: string;
282
+
283
+ /**
284
+ * The date of the balance to include in the letter.
285
+ */
286
+ balance_date: string | null;
287
+ }
288
+
289
+ /**
290
+ * Details of the balance CSV export. This field will be present when the
291
+ * `category` is equal to `balance_csv`.
292
+ */
293
+ export interface BalanceCsv {
294
+ /**
295
+ * Filter results by Account.
296
+ */
297
+ account_id: string | null;
298
+
299
+ /**
300
+ * Filter balances by their created date.
301
+ */
302
+ created_at: BalanceCsv.CreatedAt | null;
303
+ }
304
+
305
+ export namespace BalanceCsv {
306
+ /**
307
+ * Filter balances by their created date.
308
+ */
309
+ export interface CreatedAt {
310
+ /**
311
+ * Filter balances created after this time.
312
+ */
313
+ after: string | null;
314
+
315
+ /**
316
+ * Filter balances created before this time.
317
+ */
318
+ before: string | null;
319
+ }
320
+ }
321
+
322
+ /**
323
+ * Details of the bookkeeping account balance CSV export. This field will be
324
+ * present when the `category` is equal to `bookkeeping_account_balance_csv`.
325
+ */
326
+ export interface BookkeepingAccountBalanceCsv {
327
+ /**
328
+ * Filter results by Bookkeeping Account.
329
+ */
330
+ bookkeeping_account_id: string | null;
331
+
332
+ /**
333
+ * Filter balances by their created date.
334
+ */
335
+ created_at: BookkeepingAccountBalanceCsv.CreatedAt | null;
336
+ }
337
+
338
+ export namespace BookkeepingAccountBalanceCsv {
339
+ /**
340
+ * Filter balances by their created date.
341
+ */
342
+ export interface CreatedAt {
343
+ /**
344
+ * Filter balances created after this time.
345
+ */
346
+ after: string | null;
347
+
348
+ /**
349
+ * Filter balances created before this time.
350
+ */
351
+ before: string | null;
352
+ }
353
+ }
354
+
355
+ /**
356
+ * Details of the dashboard table CSV export. This field will be present when the
357
+ * `category` is equal to `dashboard_table_csv`.
358
+ */
359
+ export interface DashboardTableCsv {}
360
+
361
+ /**
362
+ * Details of the entity CSV export. This field will be present when the `category`
363
+ * is equal to `entity_csv`.
364
+ */
365
+ export interface EntityCsv {}
366
+
367
+ /**
368
+ * Details of the Form 1099-INT export. This field will be present when the
369
+ * `category` is equal to `form_1099_int`.
370
+ */
371
+ export interface Form1099Int {
372
+ /**
373
+ * The Account the tax form is for.
374
+ */
375
+ account_id: string;
376
+
377
+ /**
378
+ * Whether the tax form is a corrected form.
379
+ */
380
+ corrected: boolean;
381
+
382
+ /**
383
+ * A description of the tax form.
384
+ */
385
+ description: string;
386
+
387
+ /**
388
+ * The tax year for the tax form.
389
+ */
390
+ year: number;
391
+ }
392
+
393
+ /**
394
+ * Details of the Form 1099-MISC export. This field will be present when the
395
+ * `category` is equal to `form_1099_misc`.
396
+ */
397
+ export interface Form1099Misc {
398
+ /**
399
+ * The Account the tax form is for.
400
+ */
401
+ account_id: string;
402
+
403
+ /**
404
+ * Whether the tax form is a corrected form.
405
+ */
406
+ corrected: boolean;
407
+
408
+ /**
409
+ * The tax year for the tax form.
410
+ */
411
+ year: number;
412
+ }
413
+
414
+ /**
415
+ * Details of the funding instructions export. This field will be present when the
416
+ * `category` is equal to `funding_instructions`.
417
+ */
418
+ export interface FundingInstructions {
419
+ /**
420
+ * The Account Number to create funding instructions for.
421
+ */
422
+ account_number_id: string;
423
+ }
424
+
425
+ /**
426
+ * The result of the Export. This will be present when the Export's status
427
+ * transitions to `complete`.
428
+ */
429
+ export interface Result {
430
+ /**
431
+ * The File containing the contents of the Export.
432
+ */
433
+ file_id: string;
434
+ }
435
+
436
+ /**
437
+ * Details of the transaction CSV export. This field will be present when the
438
+ * `category` is equal to `transaction_csv`.
439
+ */
440
+ export interface TransactionCsv {
441
+ /**
442
+ * Filter results by Account.
443
+ */
444
+ account_id: string | null;
445
+
446
+ /**
447
+ * Filter transactions by their created date.
448
+ */
449
+ created_at: TransactionCsv.CreatedAt | null;
450
+ }
451
+
452
+ export namespace TransactionCsv {
453
+ /**
454
+ * Filter transactions by their created date.
455
+ */
456
+ export interface CreatedAt {
457
+ /**
458
+ * Filter transactions created after this time.
459
+ */
460
+ after: string | null;
461
+
462
+ /**
463
+ * Filter transactions created before this time.
464
+ */
465
+ before: string | null;
466
+ }
467
+ }
468
+
469
+ /**
470
+ * Details of the vendor CSV export. This field will be present when the `category`
471
+ * is equal to `vendor_csv`.
472
+ */
473
+ export interface VendorCsv {}
148
474
  }
149
475
 
150
476
  export interface ExportCreateParams {
@@ -487,10 +813,48 @@ export namespace ExportCreateParams {
487
813
  }
488
814
 
489
815
  export interface ExportListParams extends PageParams {
490
- category?: ExportListParams.Category;
816
+ /**
817
+ * Filter Exports for those with the specified category.
818
+ *
819
+ * - `account_statement_ofx` - Export an Open Financial Exchange (OFX) file of
820
+ * transactions and balances for a given time range and Account.
821
+ * - `account_statement_bai2` - Export a BAI2 file of transactions and balances for
822
+ * a given date and optional Account.
823
+ * - `transaction_csv` - Export a CSV of all transactions for a given time range.
824
+ * - `balance_csv` - Export a CSV of account balances for the dates in a given
825
+ * range.
826
+ * - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account
827
+ * balances for the dates in a given range.
828
+ * - `entity_csv` - Export a CSV of entities with a given status.
829
+ * - `vendor_csv` - Export a CSV of vendors added to the third-party risk
830
+ * management dashboard.
831
+ * - `dashboard_table_csv` - Certain dashboard tables are available as CSV exports.
832
+ * This export cannot be created via the API.
833
+ * - `account_verification_letter` - A PDF of an account verification letter.
834
+ * - `funding_instructions` - A PDF of funding instructions.
835
+ * - `form_1099_int` - A PDF of an Internal Revenue Service Form 1099-INT.
836
+ * - `form_1099_misc` - A PDF of an Internal Revenue Service Form 1099-MISC.
837
+ */
838
+ category?:
839
+ | 'account_statement_ofx'
840
+ | 'account_statement_bai2'
841
+ | 'transaction_csv'
842
+ | 'balance_csv'
843
+ | 'bookkeeping_account_balance_csv'
844
+ | 'entity_csv'
845
+ | 'vendor_csv'
846
+ | 'dashboard_table_csv'
847
+ | 'account_verification_letter'
848
+ | 'funding_instructions'
849
+ | 'form_1099_int'
850
+ | 'form_1099_misc';
491
851
 
492
852
  created_at?: ExportListParams.CreatedAt;
493
853
 
854
+ form_1099_int?: ExportListParams.Form1099Int;
855
+
856
+ form_1099_misc?: ExportListParams.Form1099Misc;
857
+
494
858
  /**
495
859
  * Filter records to the one with the specified `idempotency_key` you chose for
496
860
  * that object. This value is unique across Increase and is used to ensure that a
@@ -503,28 +867,6 @@ export interface ExportListParams extends PageParams {
503
867
  }
504
868
 
505
869
  export namespace ExportListParams {
506
- export interface Category {
507
- /**
508
- * Filter Exports for those with the specified category or categories. For GET
509
- * requests, this should be encoded as a comma-delimited string, such as
510
- * `?in=one,two,three`.
511
- */
512
- in?: Array<
513
- | 'account_statement_ofx'
514
- | 'account_statement_bai2'
515
- | 'transaction_csv'
516
- | 'balance_csv'
517
- | 'bookkeeping_account_balance_csv'
518
- | 'entity_csv'
519
- | 'vendor_csv'
520
- | 'dashboard_table_csv'
521
- | 'account_verification_letter'
522
- | 'funding_instructions'
523
- | 'form_1099_int'
524
- | 'form_1099_misc'
525
- >;
526
- }
527
-
528
870
  export interface CreatedAt {
529
871
  /**
530
872
  * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
@@ -551,6 +893,20 @@ export namespace ExportListParams {
551
893
  on_or_before?: string;
552
894
  }
553
895
 
896
+ export interface Form1099Int {
897
+ /**
898
+ * Filter Form 1099-INT Exports to those for the specified Account.
899
+ */
900
+ account_id?: string;
901
+ }
902
+
903
+ export interface Form1099Misc {
904
+ /**
905
+ * Filter Form 1099-MISC Exports to those for the specified Account.
906
+ */
907
+ account_id?: string;
908
+ }
909
+
554
910
  export interface Status {
555
911
  /**
556
912
  * Filter Exports for those with the specified status or statuses. For GET
@@ -259,11 +259,6 @@ export namespace FednowTransfer {
259
259
  * What object created the transfer, either via the API or the dashboard.
260
260
  */
261
261
  export interface CreatedBy {
262
- /**
263
- * If present, details about the API key that created the transfer.
264
- */
265
- api_key: CreatedBy.APIKey | null;
266
-
267
262
  /**
268
263
  * The type of object that created this transfer.
269
264
  *
@@ -275,15 +270,20 @@ export namespace FednowTransfer {
275
270
  */
276
271
  category: 'api_key' | 'oauth_application' | 'user';
277
272
 
273
+ /**
274
+ * If present, details about the API key that created the transfer.
275
+ */
276
+ api_key?: CreatedBy.APIKey | null;
277
+
278
278
  /**
279
279
  * If present, details about the OAuth Application that created the transfer.
280
280
  */
281
- oauth_application: CreatedBy.OAuthApplication | null;
281
+ oauth_application?: CreatedBy.OAuthApplication | null;
282
282
 
283
283
  /**
284
284
  * If present, details about the User that created the transfer.
285
285
  */
286
- user: CreatedBy.User | null;
286
+ user?: CreatedBy.User | null;
287
287
  }
288
288
 
289
289
  export namespace CreatedBy {
@@ -301,6 +301,8 @@ export interface InboundACHTransfer {
301
301
  * `inbound_ach_transfer`.
302
302
  */
303
303
  type: 'inbound_ach_transfer';
304
+
305
+ [k: string]: unknown;
304
306
  }
305
307
 
306
308
  export namespace InboundACHTransfer {
@@ -129,6 +129,8 @@ export interface Lockbox {
129
129
  * `lockbox`.
130
130
  */
131
131
  type: 'lockbox';
132
+
133
+ [k: string]: unknown;
132
134
  }
133
135
 
134
136
  export namespace Lockbox {
@@ -211,6 +213,8 @@ export interface LockboxUpdateParams {
211
213
  * The recipient name you choose for the Lockbox.
212
214
  */
213
215
  recipient_name?: string;
216
+
217
+ [k: string]: unknown;
214
218
  }
215
219
 
216
220
  export interface LockboxListParams extends PageParams {