increase 0.419.0 → 0.431.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 (131) 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 +53 -19
  56. package/resources/exports.d.mts.map +1 -1
  57. package/resources/exports.d.ts +53 -19
  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/inbound-wire-transfers.d.mts +20 -4
  68. package/resources/inbound-wire-transfers.d.mts.map +1 -1
  69. package/resources/inbound-wire-transfers.d.ts +20 -4
  70. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  71. package/resources/lockboxes.d.mts +2 -0
  72. package/resources/lockboxes.d.mts.map +1 -1
  73. package/resources/lockboxes.d.ts +2 -0
  74. package/resources/lockboxes.d.ts.map +1 -1
  75. package/resources/pending-transactions.d.mts +52 -52
  76. package/resources/pending-transactions.d.mts.map +1 -1
  77. package/resources/pending-transactions.d.ts +52 -52
  78. package/resources/pending-transactions.d.ts.map +1 -1
  79. package/resources/real-time-payments-transfers.d.mts +6 -6
  80. package/resources/real-time-payments-transfers.d.mts.map +1 -1
  81. package/resources/real-time-payments-transfers.d.ts +6 -6
  82. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  83. package/resources/simulations/ach-transfers.d.mts +17 -14
  84. package/resources/simulations/ach-transfers.d.mts.map +1 -1
  85. package/resources/simulations/ach-transfers.d.ts +17 -14
  86. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  87. package/resources/simulations/programs.d.mts +1 -3
  88. package/resources/simulations/programs.d.mts.map +1 -1
  89. package/resources/simulations/programs.d.ts +1 -3
  90. package/resources/simulations/programs.d.ts.map +1 -1
  91. package/resources/swift-transfers.d.mts +6 -6
  92. package/resources/swift-transfers.d.mts.map +1 -1
  93. package/resources/swift-transfers.d.ts +6 -6
  94. package/resources/swift-transfers.d.ts.map +1 -1
  95. package/resources/transactions.d.mts +140 -137
  96. package/resources/transactions.d.mts.map +1 -1
  97. package/resources/transactions.d.ts +140 -137
  98. package/resources/transactions.d.ts.map +1 -1
  99. package/resources/wire-transfers.d.mts +8 -8
  100. package/resources/wire-transfers.d.mts.map +1 -1
  101. package/resources/wire-transfers.d.ts +8 -8
  102. package/resources/wire-transfers.d.ts.map +1 -1
  103. package/src/client.ts +15 -4
  104. package/src/resources/account-transfers.ts +7 -7
  105. package/src/resources/ach-prenotifications.ts +45 -24
  106. package/src/resources/ach-transfers.ts +57 -35
  107. package/src/resources/card-disputes.ts +41 -41
  108. package/src/resources/card-payments.ts +63 -63
  109. package/src/resources/card-push-transfers.ts +7 -7
  110. package/src/resources/card-validations.ts +7 -7
  111. package/src/resources/check-transfers.ts +7 -7
  112. package/src/resources/declined-transactions.ts +18 -18
  113. package/src/resources/digital-card-profiles.ts +2 -0
  114. package/src/resources/entities.ts +4 -2
  115. package/src/resources/exports.ts +72 -35
  116. package/src/resources/fednow-transfers.ts +7 -7
  117. package/src/resources/inbound-ach-transfers.ts +2 -0
  118. package/src/resources/inbound-wire-transfers.ts +23 -4
  119. package/src/resources/lockboxes.ts +4 -0
  120. package/src/resources/pending-transactions.ts +58 -58
  121. package/src/resources/real-time-payments-transfers.ts +7 -7
  122. package/src/resources/simulations/ach-transfers.ts +17 -14
  123. package/src/resources/simulations/programs.ts +1 -9
  124. package/src/resources/swift-transfers.ts +7 -7
  125. package/src/resources/transactions.ts +164 -161
  126. package/src/resources/wire-transfers.ts +9 -9
  127. package/src/version.ts +1 -1
  128. package/version.d.mts +1 -1
  129. package/version.d.ts +1 -1
  130. package/version.js +1 -1
  131. 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 {
@@ -153,18 +153,6 @@ export interface Export {
153
153
  */
154
154
  entity_csv: Export.EntityCsv | null;
155
155
 
156
- /**
157
- * A URL at which the Export's file can be downloaded. This will be present when
158
- * the Export's status transitions to `complete`.
159
- */
160
- file_download_url: string | null;
161
-
162
- /**
163
- * The File containing the contents of the Export. This will be present when the
164
- * Export's status transitions to `complete`.
165
- */
166
- file_id: string | null;
167
-
168
156
  /**
169
157
  * Details of the Form 1099-INT export. This field will be present when the
170
158
  * `category` is equal to `form_1099_int`.
@@ -190,6 +178,12 @@ export interface Export {
190
178
  */
191
179
  idempotency_key: string | null;
192
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
+
193
187
  /**
194
188
  * The status of the Export.
195
189
  *
@@ -217,6 +211,8 @@ export interface Export {
217
211
  * is equal to `vendor_csv`.
218
212
  */
219
213
  vendor_csv: Export.VendorCsv | null;
214
+
215
+ [k: string]: unknown;
220
216
  }
221
217
 
222
218
  export namespace Export {
@@ -426,6 +422,17 @@ export namespace Export {
426
422
  account_number_id: string;
427
423
  }
428
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
+
429
436
  /**
430
437
  * Details of the transaction CSV export. This field will be present when the
431
438
  * `category` is equal to `transaction_csv`.
@@ -806,10 +813,48 @@ export namespace ExportCreateParams {
806
813
  }
807
814
 
808
815
  export interface ExportListParams extends PageParams {
809
- 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';
810
851
 
811
852
  created_at?: ExportListParams.CreatedAt;
812
853
 
854
+ form_1099_int?: ExportListParams.Form1099Int;
855
+
856
+ form_1099_misc?: ExportListParams.Form1099Misc;
857
+
813
858
  /**
814
859
  * Filter records to the one with the specified `idempotency_key` you chose for
815
860
  * that object. This value is unique across Increase and is used to ensure that a
@@ -822,28 +867,6 @@ export interface ExportListParams extends PageParams {
822
867
  }
823
868
 
824
869
  export namespace ExportListParams {
825
- export interface Category {
826
- /**
827
- * Filter Exports for those with the specified category or categories. For GET
828
- * requests, this should be encoded as a comma-delimited string, such as
829
- * `?in=one,two,three`.
830
- */
831
- in?: Array<
832
- | 'account_statement_ofx'
833
- | 'account_statement_bai2'
834
- | 'transaction_csv'
835
- | 'balance_csv'
836
- | 'bookkeeping_account_balance_csv'
837
- | 'entity_csv'
838
- | 'vendor_csv'
839
- | 'dashboard_table_csv'
840
- | 'account_verification_letter'
841
- | 'funding_instructions'
842
- | 'form_1099_int'
843
- | 'form_1099_misc'
844
- >;
845
- }
846
-
847
870
  export interface CreatedAt {
848
871
  /**
849
872
  * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
@@ -870,6 +893,20 @@ export namespace ExportListParams {
870
893
  on_or_before?: string;
871
894
  }
872
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
+
873
910
  export interface Status {
874
911
  /**
875
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 {
@@ -79,6 +79,11 @@ export interface InboundWireTransfer {
79
79
  */
80
80
  id: string;
81
81
 
82
+ /**
83
+ * If the transfer is accepted, this will contain details of the acceptance.
84
+ */
85
+ acceptance: InboundWireTransfer.Acceptance | null;
86
+
82
87
  /**
83
88
  * The Account to which the transfer belongs.
84
89
  */
@@ -169,8 +174,7 @@ export interface InboundWireTransfer {
169
174
  instruction_identification: string | null;
170
175
 
171
176
  /**
172
- * Information about the reversal of the inbound wire transfer if it has been
173
- * reversed.
177
+ * If the transfer is reversed, this will contain details of the reversal.
174
178
  */
175
179
  reversal: InboundWireTransfer.Reversal | null;
176
180
 
@@ -213,8 +217,23 @@ export interface InboundWireTransfer {
213
217
 
214
218
  export namespace InboundWireTransfer {
215
219
  /**
216
- * Information about the reversal of the inbound wire transfer if it has been
217
- * reversed.
220
+ * If the transfer is accepted, this will contain details of the acceptance.
221
+ */
222
+ export interface Acceptance {
223
+ /**
224
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
225
+ * the transfer was accepted.
226
+ */
227
+ accepted_at: string;
228
+
229
+ /**
230
+ * The identifier of the transaction for the accepted transfer.
231
+ */
232
+ transaction_id: string;
233
+ }
234
+
235
+ /**
236
+ * If the transfer is reversed, this will contain details of the reversal.
218
237
  */
219
238
  export interface Reversal {
220
239
  /**
@@ -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 {
@@ -188,46 +188,6 @@ export namespace PendingTransaction {
188
188
  * merchant's industry and location.
189
189
  */
190
190
  export interface Source {
191
- /**
192
- * An Account Transfer Instruction object. This field will be present in the JSON
193
- * response if and only if `category` is equal to `account_transfer_instruction`.
194
- */
195
- account_transfer_instruction: Source.AccountTransferInstruction | null;
196
-
197
- /**
198
- * An ACH Transfer Instruction object. This field will be present in the JSON
199
- * response if and only if `category` is equal to `ach_transfer_instruction`.
200
- */
201
- ach_transfer_instruction: Source.ACHTransferInstruction | null;
202
-
203
- /**
204
- * A Blockchain Off-Ramp Transfer Intention object. This field will be present in
205
- * the JSON response if and only if `category` is equal to
206
- * `blockchain_offramp_transfer_intention`.
207
- */
208
- blockchain_offramp_transfer_intention: Source.BlockchainOfframpTransferIntention | null;
209
-
210
- /**
211
- * A Blockchain On-Ramp Transfer Instruction object. This field will be present in
212
- * the JSON response if and only if `category` is equal to
213
- * `blockchain_onramp_transfer_instruction`.
214
- */
215
- blockchain_onramp_transfer_instruction: Source.BlockchainOnrampTransferInstruction | null;
216
-
217
- /**
218
- * A Card Authorization object. This field will be present in the JSON response if
219
- * and only if `category` is equal to `card_authorization`. Card Authorizations are
220
- * temporary holds placed on a customers funds with the intent to later clear a
221
- * transaction.
222
- */
223
- card_authorization: Source.CardAuthorization | null;
224
-
225
- /**
226
- * A Card Push Transfer Instruction object. This field will be present in the JSON
227
- * response if and only if `category` is equal to `card_push_transfer_instruction`.
228
- */
229
- card_push_transfer_instruction: Source.CardPushTransferInstruction | null;
230
-
231
191
  /**
232
192
  * The type of the resource. We may add additional possible values for this enum
233
193
  * over time; your application should be able to handle such additions gracefully.
@@ -262,9 +222,9 @@ export namespace PendingTransaction {
262
222
  * - `blockchain_onramp_transfer_instruction` - Blockchain On-Ramp Transfer
263
223
  * Instruction: details will be under the
264
224
  * `blockchain_onramp_transfer_instruction` object.
265
- * - `blockchain_offramp_transfer_intention` - Blockchain Off-Ramp Transfer
266
- * Intention: details will be under the `blockchain_offramp_transfer_intention`
267
- * object.
225
+ * - `blockchain_offramp_transfer_instruction` - Blockchain Off-Ramp Transfer
226
+ * Instruction: details will be under the
227
+ * `blockchain_offramp_transfer_instruction` object.
268
228
  * - `other` - The Pending Transaction was made for an undocumented or deprecated
269
229
  * reason.
270
230
  */
@@ -283,26 +243,66 @@ export namespace PendingTransaction {
283
243
  | 'swift_transfer_instruction'
284
244
  | 'card_push_transfer_instruction'
285
245
  | 'blockchain_onramp_transfer_instruction'
286
- | 'blockchain_offramp_transfer_intention'
246
+ | 'blockchain_offramp_transfer_instruction'
287
247
  | 'other';
288
248
 
249
+ /**
250
+ * An Account Transfer Instruction object. This field will be present in the JSON
251
+ * response if and only if `category` is equal to `account_transfer_instruction`.
252
+ */
253
+ account_transfer_instruction?: Source.AccountTransferInstruction | null;
254
+
255
+ /**
256
+ * An ACH Transfer Instruction object. This field will be present in the JSON
257
+ * response if and only if `category` is equal to `ach_transfer_instruction`.
258
+ */
259
+ ach_transfer_instruction?: Source.ACHTransferInstruction | null;
260
+
261
+ /**
262
+ * A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
263
+ * the JSON response if and only if `category` is equal to
264
+ * `blockchain_offramp_transfer_instruction`.
265
+ */
266
+ blockchain_offramp_transfer_instruction?: Source.BlockchainOfframpTransferInstruction | null;
267
+
268
+ /**
269
+ * A Blockchain On-Ramp Transfer Instruction object. This field will be present in
270
+ * the JSON response if and only if `category` is equal to
271
+ * `blockchain_onramp_transfer_instruction`.
272
+ */
273
+ blockchain_onramp_transfer_instruction?: Source.BlockchainOnrampTransferInstruction | null;
274
+
275
+ /**
276
+ * A Card Authorization object. This field will be present in the JSON response if
277
+ * and only if `category` is equal to `card_authorization`. Card Authorizations are
278
+ * temporary holds placed on a customers funds with the intent to later clear a
279
+ * transaction.
280
+ */
281
+ card_authorization?: Source.CardAuthorization | null;
282
+
283
+ /**
284
+ * A Card Push Transfer Instruction object. This field will be present in the JSON
285
+ * response if and only if `category` is equal to `card_push_transfer_instruction`.
286
+ */
287
+ card_push_transfer_instruction?: Source.CardPushTransferInstruction | null;
288
+
289
289
  /**
290
290
  * A Check Deposit Instruction object. This field will be present in the JSON
291
291
  * response if and only if `category` is equal to `check_deposit_instruction`.
292
292
  */
293
- check_deposit_instruction: Source.CheckDepositInstruction | null;
293
+ check_deposit_instruction?: Source.CheckDepositInstruction | null;
294
294
 
295
295
  /**
296
296
  * A Check Transfer Instruction object. This field will be present in the JSON
297
297
  * response if and only if `category` is equal to `check_transfer_instruction`.
298
298
  */
299
- check_transfer_instruction: Source.CheckTransferInstruction | null;
299
+ check_transfer_instruction?: Source.CheckTransferInstruction | null;
300
300
 
301
301
  /**
302
302
  * A FedNow Transfer Instruction object. This field will be present in the JSON
303
303
  * response if and only if `category` is equal to `fednow_transfer_instruction`.
304
304
  */
305
- fednow_transfer_instruction: Source.FednowTransferInstruction | null;
305
+ fednow_transfer_instruction?: Source.FednowTransferInstruction | null;
306
306
 
307
307
  /**
308
308
  * An Inbound Funds Hold object. This field will be present in the JSON response if
@@ -310,7 +310,7 @@ export namespace PendingTransaction {
310
310
  * certain transaction types to account for return windows where funds might still
311
311
  * be clawed back by the sending institution.
312
312
  */
313
- inbound_funds_hold: Source.InboundFundsHold | null;
313
+ inbound_funds_hold?: Source.InboundFundsHold | null;
314
314
 
315
315
  /**
316
316
  * An Inbound Wire Transfer Reversal object. This field will be present in the JSON
@@ -318,39 +318,39 @@ export namespace PendingTransaction {
318
318
  * An Inbound Wire Transfer Reversal is created when Increase has received a wire
319
319
  * and the User requests that it be reversed.
320
320
  */
321
- inbound_wire_transfer_reversal: Source.InboundWireTransferReversal | null;
321
+ inbound_wire_transfer_reversal?: Source.InboundWireTransferReversal | null;
322
322
 
323
323
  /**
324
324
  * If the category of this Transaction source is equal to `other`, this field will
325
325
  * contain an empty object, otherwise it will contain null.
326
326
  */
327
- other: Source.Other | null;
327
+ other?: Source.Other | null;
328
328
 
329
329
  /**
330
330
  * A Real-Time Payments Transfer Instruction object. This field will be present in
331
331
  * the JSON response if and only if `category` is equal to
332
332
  * `real_time_payments_transfer_instruction`.
333
333
  */
334
- real_time_payments_transfer_instruction: Source.RealTimePaymentsTransferInstruction | null;
334
+ real_time_payments_transfer_instruction?: Source.RealTimePaymentsTransferInstruction | null;
335
335
 
336
336
  /**
337
337
  * A Swift Transfer Instruction object. This field will be present in the JSON
338
338
  * response if and only if `category` is equal to `swift_transfer_instruction`.
339
339
  */
340
- swift_transfer_instruction: Source.SwiftTransferInstruction | null;
340
+ swift_transfer_instruction?: Source.SwiftTransferInstruction | null;
341
341
 
342
342
  /**
343
343
  * An User Initiated Hold object. This field will be present in the JSON response
344
344
  * if and only if `category` is equal to `user_initiated_hold`. Created when a user
345
345
  * initiates a hold on funds in their account.
346
346
  */
347
- user_initiated_hold: { [key: string]: unknown } | null;
347
+ user_initiated_hold?: { [key: string]: unknown } | null;
348
348
 
349
349
  /**
350
350
  * A Wire Transfer Instruction object. This field will be present in the JSON
351
351
  * response if and only if `category` is equal to `wire_transfer_instruction`.
352
352
  */
353
- wire_transfer_instruction: Source.WireTransferInstruction | null;
353
+ wire_transfer_instruction?: Source.WireTransferInstruction | null;
354
354
 
355
355
  [k: string]: unknown;
356
356
  }
@@ -402,11 +402,11 @@ export namespace PendingTransaction {
402
402
  }
403
403
 
404
404
  /**
405
- * A Blockchain Off-Ramp Transfer Intention object. This field will be present in
405
+ * A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
406
406
  * the JSON response if and only if `category` is equal to
407
- * `blockchain_offramp_transfer_intention`.
407
+ * `blockchain_offramp_transfer_instruction`.
408
408
  */
409
- export interface BlockchainOfframpTransferIntention {
409
+ export interface BlockchainOfframpTransferInstruction {
410
410
  /**
411
411
  * The identifier of the Blockchain Address the funds were received at.
412
412
  */
@@ -1484,7 +1484,7 @@ export namespace PendingTransactionListParams {
1484
1484
  | 'swift_transfer_instruction'
1485
1485
  | 'card_push_transfer_instruction'
1486
1486
  | 'blockchain_onramp_transfer_instruction'
1487
- | 'blockchain_offramp_transfer_intention'
1487
+ | 'blockchain_offramp_transfer_instruction'
1488
1488
  | 'other'
1489
1489
  >;
1490
1490
  }
@@ -335,11 +335,6 @@ export namespace RealTimePaymentsTransfer {
335
335
  * What object created the transfer, either via the API or the dashboard.
336
336
  */
337
337
  export interface CreatedBy {
338
- /**
339
- * If present, details about the API key that created the transfer.
340
- */
341
- api_key: CreatedBy.APIKey | null;
342
-
343
338
  /**
344
339
  * The type of object that created this transfer.
345
340
  *
@@ -351,15 +346,20 @@ export namespace RealTimePaymentsTransfer {
351
346
  */
352
347
  category: 'api_key' | 'oauth_application' | 'user';
353
348
 
349
+ /**
350
+ * If present, details about the API key that created the transfer.
351
+ */
352
+ api_key?: CreatedBy.APIKey | null;
353
+
354
354
  /**
355
355
  * If present, details about the OAuth Application that created the transfer.
356
356
  */
357
- oauth_application: CreatedBy.OAuthApplication | null;
357
+ oauth_application?: CreatedBy.OAuthApplication | null;
358
358
 
359
359
  /**
360
360
  * If present, details about the User that created the transfer.
361
361
  */
362
- user: CreatedBy.User | null;
362
+ user?: CreatedBy.User | null;
363
363
  }
364
364
 
365
365
  export namespace CreatedBy {