increase 0.228.2 → 0.230.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 (69) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/core.d.ts +5 -2
  3. package/core.d.ts.map +1 -1
  4. package/core.js +11 -6
  5. package/core.js.map +1 -1
  6. package/core.mjs +11 -6
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +1 -0
  9. package/index.d.ts +1 -0
  10. package/index.d.ts.map +1 -1
  11. package/index.js +6 -2
  12. package/index.js.map +1 -1
  13. package/index.mjs +6 -2
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/card-payments.d.ts +11 -11
  17. package/resources/card-payments.d.ts.map +1 -1
  18. package/resources/check-transfers.d.ts +24 -1
  19. package/resources/check-transfers.d.ts.map +1 -1
  20. package/resources/check-transfers.js.map +1 -1
  21. package/resources/check-transfers.mjs.map +1 -1
  22. package/resources/documents.d.ts +31 -3
  23. package/resources/documents.d.ts.map +1 -1
  24. package/resources/documents.js.map +1 -1
  25. package/resources/documents.mjs.map +1 -1
  26. package/resources/event-subscriptions.d.ts +34 -18
  27. package/resources/event-subscriptions.d.ts.map +1 -1
  28. package/resources/event-subscriptions.js.map +1 -1
  29. package/resources/event-subscriptions.mjs.map +1 -1
  30. package/resources/events.d.ts +18 -10
  31. package/resources/events.d.ts.map +1 -1
  32. package/resources/events.js.map +1 -1
  33. package/resources/events.mjs.map +1 -1
  34. package/resources/files.d.ts +3 -2
  35. package/resources/files.d.ts.map +1 -1
  36. package/resources/files.js.map +1 -1
  37. package/resources/files.mjs.map +1 -1
  38. package/resources/inbound-ach-transfers.d.ts +23 -7
  39. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  40. package/resources/inbound-ach-transfers.js.map +1 -1
  41. package/resources/inbound-ach-transfers.mjs.map +1 -1
  42. package/resources/inbound-mail-items.d.ts +23 -0
  43. package/resources/inbound-mail-items.d.ts.map +1 -1
  44. package/resources/inbound-mail-items.js.map +1 -1
  45. package/resources/inbound-mail-items.mjs.map +1 -1
  46. package/resources/pending-transactions.d.ts +23 -27
  47. package/resources/pending-transactions.d.ts.map +1 -1
  48. package/resources/pending-transactions.js.map +1 -1
  49. package/resources/pending-transactions.mjs.map +1 -1
  50. package/resources/transactions.d.ts +27 -30
  51. package/resources/transactions.d.ts.map +1 -1
  52. package/resources/transactions.js.map +1 -1
  53. package/resources/transactions.mjs.map +1 -1
  54. package/src/core.ts +11 -4
  55. package/src/index.ts +8 -0
  56. package/src/resources/card-payments.ts +11 -11
  57. package/src/resources/check-transfers.ts +28 -1
  58. package/src/resources/documents.ts +36 -2
  59. package/src/resources/event-subscriptions.ts +44 -16
  60. package/src/resources/events.ts +28 -8
  61. package/src/resources/files.ts +4 -1
  62. package/src/resources/inbound-ach-transfers.ts +26 -8
  63. package/src/resources/inbound-mail-items.ts +27 -0
  64. package/src/resources/pending-transactions.ts +26 -30
  65. package/src/resources/transactions.ts +30 -33
  66. package/src/version.ts +1 -1
  67. package/version.d.ts +1 -1
  68. package/version.js +1 -1
  69. package/version.mjs +1 -1
@@ -433,6 +433,12 @@ export namespace CheckTransfer {
433
433
  */
434
434
  note: string | null;
435
435
 
436
+ /**
437
+ * The payer of the check. This will be printed on the top-left portion of the
438
+ * check and defaults to the return address if unspecified.
439
+ */
440
+ payer: Array<PhysicalCheck.Payer>;
441
+
436
442
  /**
437
443
  * The name that will be printed on the check.
438
444
  */
@@ -499,6 +505,13 @@ export namespace CheckTransfer {
499
505
  state: string | null;
500
506
  }
501
507
 
508
+ export interface Payer {
509
+ /**
510
+ * The contents of the line.
511
+ */
512
+ contents: string;
513
+ }
514
+
502
515
  /**
503
516
  * The return address to be printed on the check.
504
517
  */
@@ -760,6 +773,13 @@ export namespace CheckTransferCreateParams {
760
773
  */
761
774
  note?: string;
762
775
 
776
+ /**
777
+ * The payer of the check. This will be printed on the top-left portion of the
778
+ * check and defaults to the return address if unspecified. This should be an array
779
+ * of up to 4 elements, each of which represents a line of the payer.
780
+ */
781
+ payer?: Array<PhysicalCheck.Payer>;
782
+
763
783
  /**
764
784
  * The return address to be printed on the check. If omitted this will default to
765
785
  * an Increase-owned address that will mark checks as delivery failed and shred
@@ -814,6 +834,13 @@ export namespace CheckTransferCreateParams {
814
834
  line2?: string;
815
835
  }
816
836
 
837
+ export interface Payer {
838
+ /**
839
+ * The contents of the line.
840
+ */
841
+ contents: string;
842
+ }
843
+
817
844
  /**
818
845
  * The return address to be printed on the check. If omitted this will default to
819
846
  * an Increase-owned address that will mark checks as delivery failed and shred
@@ -861,7 +888,7 @@ export namespace CheckTransferCreateParams {
861
888
  /**
862
889
  * The pay-to name you will print on the check. If provided, this is used for
863
890
  * [Positive Pay](/documentation/positive-pay). If this is omitted, Increase will
864
- * be unable to validate the payee name when the check is deposited.
891
+ * be unable to validate the payer name when the check is deposited.
865
892
  */
866
893
  recipient_name?: string;
867
894
  }
@@ -85,13 +85,15 @@ export interface Document {
85
85
  * - `company_information` - Company information, such a policies or procedures,
86
86
  * typically submitted during our due diligence process.
87
87
  * - `account_verification_letter` - An account verification letter.
88
+ * - `funding_instructions` - Funding instructions.
88
89
  */
89
90
  category:
90
91
  | 'form_1099_int'
91
92
  | 'form_1099_misc'
92
93
  | 'proof_of_authorization'
93
94
  | 'company_information'
94
- | 'account_verification_letter';
95
+ | 'account_verification_letter'
96
+ | 'funding_instructions';
95
97
 
96
98
  /**
97
99
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
@@ -109,6 +111,11 @@ export interface Document {
109
111
  */
110
112
  file_id: string;
111
113
 
114
+ /**
115
+ * Properties of a funding instructions document.
116
+ */
117
+ funding_instructions: Document.FundingInstructions | null;
118
+
112
119
  /**
113
120
  * The idempotency key you chose for this object. This value is unique across
114
121
  * Increase and is used to ensure that a request is only processed once. Learn more
@@ -133,6 +140,16 @@ export namespace Document {
133
140
  */
134
141
  account_number_id: string;
135
142
  }
143
+
144
+ /**
145
+ * Properties of a funding instructions document.
146
+ */
147
+ export interface FundingInstructions {
148
+ /**
149
+ * The identifier of the Account Number the document was generated for.
150
+ */
151
+ account_number_id: string;
152
+ }
136
153
  }
137
154
 
138
155
  export interface DocumentCreateParams {
@@ -140,13 +157,19 @@ export interface DocumentCreateParams {
140
157
  * The type of document to create.
141
158
  *
142
159
  * - `account_verification_letter` - An account verification letter.
160
+ * - `funding_instructions` - Funding instructions.
143
161
  */
144
- category: 'account_verification_letter';
162
+ category: 'account_verification_letter' | 'funding_instructions';
145
163
 
146
164
  /**
147
165
  * An account verification letter.
148
166
  */
149
167
  account_verification_letter?: DocumentCreateParams.AccountVerificationLetter;
168
+
169
+ /**
170
+ * Funding instructions.
171
+ */
172
+ funding_instructions?: DocumentCreateParams.FundingInstructions;
150
173
  }
151
174
 
152
175
  export namespace DocumentCreateParams {
@@ -164,6 +187,16 @@ export namespace DocumentCreateParams {
164
187
  */
165
188
  balance_date?: string;
166
189
  }
190
+
191
+ /**
192
+ * Funding instructions.
193
+ */
194
+ export interface FundingInstructions {
195
+ /**
196
+ * The Account Number the funding instructions should be generated for.
197
+ */
198
+ account_number_id: string;
199
+ }
167
200
  }
168
201
 
169
202
  export interface DocumentListParams extends PageParams {
@@ -198,6 +231,7 @@ export namespace DocumentListParams {
198
231
  | 'proof_of_authorization'
199
232
  | 'company_information'
200
233
  | 'account_verification_letter'
234
+ | 'funding_instructions'
201
235
  >;
202
236
  }
203
237
 
@@ -214,14 +214,20 @@ export interface EventSubscription {
214
214
  * - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
215
215
  * - `oauth_connection.deactivated` - Occurs whenever an OAuth Connection is
216
216
  * deactivated.
217
- * - `outbound_card_push_transfer.created` - Occurs whenever an Outbound Card Push
218
- * Transfer is created.
219
- * - `outbound_card_push_transfer.updated` - Occurs whenever an Outbound Card Push
220
- * Transfer is updated.
221
- * - `outbound_card_validation.created` - Occurs whenever an Outbound Card
222
- * Validation is created.
223
- * - `outbound_card_validation.updated` - Occurs whenever an Outbound Card
224
- * Validation is updated.
217
+ * - `outbound_card_push_transfer.created` - Occurs whenever a Card Push Transfer
218
+ * is created.
219
+ * - `outbound_card_push_transfer.updated` - Occurs whenever a Card Push Transfer
220
+ * is updated.
221
+ * - `outbound_card_validation.created` - Occurs whenever a Card Validation is
222
+ * created.
223
+ * - `outbound_card_validation.updated` - Occurs whenever a Card Validation is
224
+ * updated.
225
+ * - `card_push_transfer.created` - Occurs whenever a Card Push Transfer is
226
+ * created.
227
+ * - `card_push_transfer.updated` - Occurs whenever a Card Push Transfer is
228
+ * updated.
229
+ * - `card_validation.created` - Occurs whenever a Card Validation is created.
230
+ * - `card_validation.updated` - Occurs whenever a Card Validation is updated.
225
231
  * - `pending_transaction.created` - Occurs whenever a Pending Transaction is
226
232
  * created.
227
233
  * - `pending_transaction.updated` - Occurs whenever a Pending Transaction is
@@ -256,6 +262,8 @@ export interface EventSubscription {
256
262
  * Payments Request for Payment is created.
257
263
  * - `real_time_payments_request_for_payment.updated` - Occurs whenever a Real-Time
258
264
  * Payments Request for Payment is updated.
265
+ * - `swift_transfer.created` - Occurs whenever a Swift Transfer is created.
266
+ * - `swift_transfer.updated` - Occurs whenever a Swift Transfer is updated.
259
267
  * - `transaction.created` - Occurs whenever a Transaction is created.
260
268
  * - `wire_drawdown_request.created` - Occurs whenever a Wire Drawdown Request is
261
269
  * created.
@@ -333,6 +341,10 @@ export interface EventSubscription {
333
341
  | 'outbound_card_push_transfer.updated'
334
342
  | 'outbound_card_validation.created'
335
343
  | 'outbound_card_validation.updated'
344
+ | 'card_push_transfer.created'
345
+ | 'card_push_transfer.updated'
346
+ | 'card_validation.created'
347
+ | 'card_validation.updated'
336
348
  | 'pending_transaction.created'
337
349
  | 'pending_transaction.updated'
338
350
  | 'physical_card.created'
@@ -350,6 +362,8 @@ export interface EventSubscription {
350
362
  | 'real_time_payments_transfer.updated'
351
363
  | 'real_time_payments_request_for_payment.created'
352
364
  | 'real_time_payments_request_for_payment.updated'
365
+ | 'swift_transfer.created'
366
+ | 'swift_transfer.updated'
353
367
  | 'transaction.created'
354
368
  | 'wire_drawdown_request.created'
355
369
  | 'wire_drawdown_request.updated'
@@ -489,14 +503,20 @@ export interface EventSubscriptionCreateParams {
489
503
  * - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
490
504
  * - `oauth_connection.deactivated` - Occurs whenever an OAuth Connection is
491
505
  * deactivated.
492
- * - `outbound_card_push_transfer.created` - Occurs whenever an Outbound Card Push
493
- * Transfer is created.
494
- * - `outbound_card_push_transfer.updated` - Occurs whenever an Outbound Card Push
495
- * Transfer is updated.
496
- * - `outbound_card_validation.created` - Occurs whenever an Outbound Card
497
- * Validation is created.
498
- * - `outbound_card_validation.updated` - Occurs whenever an Outbound Card
499
- * Validation is updated.
506
+ * - `outbound_card_push_transfer.created` - Occurs whenever a Card Push Transfer
507
+ * is created.
508
+ * - `outbound_card_push_transfer.updated` - Occurs whenever a Card Push Transfer
509
+ * is updated.
510
+ * - `outbound_card_validation.created` - Occurs whenever a Card Validation is
511
+ * created.
512
+ * - `outbound_card_validation.updated` - Occurs whenever a Card Validation is
513
+ * updated.
514
+ * - `card_push_transfer.created` - Occurs whenever a Card Push Transfer is
515
+ * created.
516
+ * - `card_push_transfer.updated` - Occurs whenever a Card Push Transfer is
517
+ * updated.
518
+ * - `card_validation.created` - Occurs whenever a Card Validation is created.
519
+ * - `card_validation.updated` - Occurs whenever a Card Validation is updated.
500
520
  * - `pending_transaction.created` - Occurs whenever a Pending Transaction is
501
521
  * created.
502
522
  * - `pending_transaction.updated` - Occurs whenever a Pending Transaction is
@@ -531,6 +551,8 @@ export interface EventSubscriptionCreateParams {
531
551
  * Payments Request for Payment is created.
532
552
  * - `real_time_payments_request_for_payment.updated` - Occurs whenever a Real-Time
533
553
  * Payments Request for Payment is updated.
554
+ * - `swift_transfer.created` - Occurs whenever a Swift Transfer is created.
555
+ * - `swift_transfer.updated` - Occurs whenever a Swift Transfer is updated.
534
556
  * - `transaction.created` - Occurs whenever a Transaction is created.
535
557
  * - `wire_drawdown_request.created` - Occurs whenever a Wire Drawdown Request is
536
558
  * created.
@@ -608,6 +630,10 @@ export interface EventSubscriptionCreateParams {
608
630
  | 'outbound_card_push_transfer.updated'
609
631
  | 'outbound_card_validation.created'
610
632
  | 'outbound_card_validation.updated'
633
+ | 'card_push_transfer.created'
634
+ | 'card_push_transfer.updated'
635
+ | 'card_validation.created'
636
+ | 'card_validation.updated'
611
637
  | 'pending_transaction.created'
612
638
  | 'pending_transaction.updated'
613
639
  | 'physical_card.created'
@@ -625,6 +651,8 @@ export interface EventSubscriptionCreateParams {
625
651
  | 'real_time_payments_transfer.updated'
626
652
  | 'real_time_payments_request_for_payment.created'
627
653
  | 'real_time_payments_request_for_payment.updated'
654
+ | 'swift_transfer.created'
655
+ | 'swift_transfer.updated'
628
656
  | 'transaction.created'
629
657
  | 'wire_drawdown_request.created'
630
658
  | 'wire_drawdown_request.updated'
@@ -163,14 +163,20 @@ export interface Event {
163
163
  * - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
164
164
  * - `oauth_connection.deactivated` - Occurs whenever an OAuth Connection is
165
165
  * deactivated.
166
- * - `outbound_card_push_transfer.created` - Occurs whenever an Outbound Card Push
167
- * Transfer is created.
168
- * - `outbound_card_push_transfer.updated` - Occurs whenever an Outbound Card Push
169
- * Transfer is updated.
170
- * - `outbound_card_validation.created` - Occurs whenever an Outbound Card
171
- * Validation is created.
172
- * - `outbound_card_validation.updated` - Occurs whenever an Outbound Card
173
- * Validation is updated.
166
+ * - `outbound_card_push_transfer.created` - Occurs whenever a Card Push Transfer
167
+ * is created.
168
+ * - `outbound_card_push_transfer.updated` - Occurs whenever a Card Push Transfer
169
+ * is updated.
170
+ * - `outbound_card_validation.created` - Occurs whenever a Card Validation is
171
+ * created.
172
+ * - `outbound_card_validation.updated` - Occurs whenever a Card Validation is
173
+ * updated.
174
+ * - `card_push_transfer.created` - Occurs whenever a Card Push Transfer is
175
+ * created.
176
+ * - `card_push_transfer.updated` - Occurs whenever a Card Push Transfer is
177
+ * updated.
178
+ * - `card_validation.created` - Occurs whenever a Card Validation is created.
179
+ * - `card_validation.updated` - Occurs whenever a Card Validation is updated.
174
180
  * - `pending_transaction.created` - Occurs whenever a Pending Transaction is
175
181
  * created.
176
182
  * - `pending_transaction.updated` - Occurs whenever a Pending Transaction is
@@ -205,6 +211,8 @@ export interface Event {
205
211
  * Payments Request for Payment is created.
206
212
  * - `real_time_payments_request_for_payment.updated` - Occurs whenever a Real-Time
207
213
  * Payments Request for Payment is updated.
214
+ * - `swift_transfer.created` - Occurs whenever a Swift Transfer is created.
215
+ * - `swift_transfer.updated` - Occurs whenever a Swift Transfer is updated.
208
216
  * - `transaction.created` - Occurs whenever a Transaction is created.
209
217
  * - `wire_drawdown_request.created` - Occurs whenever a Wire Drawdown Request is
210
218
  * created.
@@ -282,6 +290,10 @@ export interface Event {
282
290
  | 'outbound_card_push_transfer.updated'
283
291
  | 'outbound_card_validation.created'
284
292
  | 'outbound_card_validation.updated'
293
+ | 'card_push_transfer.created'
294
+ | 'card_push_transfer.updated'
295
+ | 'card_validation.created'
296
+ | 'card_validation.updated'
285
297
  | 'pending_transaction.created'
286
298
  | 'pending_transaction.updated'
287
299
  | 'physical_card.created'
@@ -299,6 +311,8 @@ export interface Event {
299
311
  | 'real_time_payments_transfer.updated'
300
312
  | 'real_time_payments_request_for_payment.created'
301
313
  | 'real_time_payments_request_for_payment.updated'
314
+ | 'swift_transfer.created'
315
+ | 'swift_transfer.updated'
302
316
  | 'transaction.created'
303
317
  | 'wire_drawdown_request.created'
304
318
  | 'wire_drawdown_request.updated'
@@ -404,6 +418,10 @@ export namespace EventListParams {
404
418
  | 'outbound_card_push_transfer.updated'
405
419
  | 'outbound_card_validation.created'
406
420
  | 'outbound_card_validation.updated'
421
+ | 'card_push_transfer.created'
422
+ | 'card_push_transfer.updated'
423
+ | 'card_validation.created'
424
+ | 'card_validation.updated'
407
425
  | 'pending_transaction.created'
408
426
  | 'pending_transaction.updated'
409
427
  | 'physical_card.created'
@@ -421,6 +439,8 @@ export namespace EventListParams {
421
439
  | 'real_time_payments_transfer.updated'
422
440
  | 'real_time_payments_request_for_payment.created'
423
441
  | 'real_time_payments_request_for_payment.updated'
442
+ | 'swift_transfer.created'
443
+ | 'swift_transfer.updated'
424
444
  | 'transaction.created'
425
445
  | 'wire_drawdown_request.created'
426
446
  | 'wire_drawdown_request.updated'
@@ -154,6 +154,7 @@ export interface File {
154
154
  * - `proof_of_authorization_request_submission` - A file containing additional
155
155
  * evidence for a Proof of Authorization Request Submission.
156
156
  * - `account_verification_letter` - An account verification letter.
157
+ * - `funding_instructions` - Funding instructions.
157
158
  */
158
159
  purpose:
159
160
  | 'check_image_front'
@@ -181,7 +182,8 @@ export interface File {
181
182
  | 'unusual_activity_report_attachment'
182
183
  | 'deposit_account_control_agreement'
183
184
  | 'proof_of_authorization_request_submission'
184
- | 'account_verification_letter';
185
+ | 'account_verification_letter'
186
+ | 'funding_instructions';
185
187
 
186
188
  /**
187
189
  * A constant representing the object's type. For this resource it will always be
@@ -325,6 +327,7 @@ export namespace FileListParams {
325
327
  | 'deposit_account_control_agreement'
326
328
  | 'proof_of_authorization_request_submission'
327
329
  | 'account_verification_letter'
330
+ | 'funding_instructions'
328
331
  >;
329
332
  }
330
333
  }
@@ -179,14 +179,6 @@ export interface InboundACHTransfer {
179
179
  */
180
180
  effective_date: string;
181
181
 
182
- /**
183
- * The settlement schedule the transfer is expected to follow.
184
- *
185
- * - `same_day` - The transfer is expected to settle same-day.
186
- * - `future_dated` - The transfer is expected to settle on a future date.
187
- */
188
- expected_settlement_schedule: 'same_day' | 'future_dated';
189
-
190
182
  /**
191
183
  * If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will
192
184
  * contain fields pertaining to the International ACH Transaction.
@@ -240,6 +232,12 @@ export interface InboundACHTransfer {
240
232
  */
241
233
  receiver_name: string | null;
242
234
 
235
+ /**
236
+ * A subhash containing information about when and how the transfer settled at the
237
+ * Federal Reserve.
238
+ */
239
+ settlement: InboundACHTransfer.Settlement;
240
+
243
241
  /**
244
242
  * The Standard Entry Class (SEC) code of the transfer.
245
243
  *
@@ -710,6 +708,26 @@ export namespace InboundACHTransfer {
710
708
  updated_routing_number: string | null;
711
709
  }
712
710
 
711
+ /**
712
+ * A subhash containing information about when and how the transfer settled at the
713
+ * Federal Reserve.
714
+ */
715
+ export interface Settlement {
716
+ /**
717
+ * When the funds for this transfer settle at the recipient bank at the Federal
718
+ * Reserve.
719
+ */
720
+ settled_at: string;
721
+
722
+ /**
723
+ * The settlement schedule this transfer follows.
724
+ *
725
+ * - `same_day` - The transfer is expected to settle same-day.
726
+ * - `future_dated` - The transfer is expected to settle on a future date.
727
+ */
728
+ settlement_schedule: 'same_day' | 'future_dated';
729
+ }
730
+
713
731
  /**
714
732
  * If your transfer is returned, this will contain details of the return.
715
733
  */
@@ -59,6 +59,11 @@ export interface InboundMailItem {
59
59
  */
60
60
  id: string;
61
61
 
62
+ /**
63
+ * The checks in the mail item.
64
+ */
65
+ checks: Array<InboundMailItem.Check>;
66
+
62
67
  /**
63
68
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Inbound
64
69
  * Mail Item was created.
@@ -106,6 +111,28 @@ export interface InboundMailItem {
106
111
  type: 'inbound_mail_item';
107
112
  }
108
113
 
114
+ export namespace InboundMailItem {
115
+ /**
116
+ * Inbound Mail Item Checks represent the checks in an Inbound Mail Item.
117
+ */
118
+ export interface Check {
119
+ /**
120
+ * The amount of the check.
121
+ */
122
+ amount: number;
123
+
124
+ /**
125
+ * The identifier for the File containing the back of the check.
126
+ */
127
+ back_file_id: string | null;
128
+
129
+ /**
130
+ * The identifier for the File containing the front of the check.
131
+ */
132
+ front_file_id: string | null;
133
+ }
134
+ }
135
+
109
136
  export interface InboundMailItemListParams extends PageParams {
110
137
  created_at?: InboundMailItemListParams.CreatedAt;
111
138
 
@@ -222,6 +222,12 @@ export namespace PendingTransaction {
222
222
  */
223
223
  card_authorization: Source.CardAuthorization | null;
224
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
+
225
231
  /**
226
232
  * The type of the resource. We may add additional possible values for this enum
227
233
  * over time; your application should be able to handle such additions gracefully.
@@ -249,9 +255,8 @@ export namespace PendingTransaction {
249
255
  * will be under the `inbound_wire_transfer_reversal` object.
250
256
  * - `swift_transfer_instruction` - Swift Transfer Instruction: details will be
251
257
  * under the `swift_transfer_instruction` object.
252
- * - `outbound_card_push_transfer_instruction` - Outbound Card Push Transfer
253
- * Instruction: details will be under the
254
- * `outbound_card_push_transfer_instruction` object.
258
+ * - `card_push_transfer_instruction` - Card Push Transfer Instruction: details
259
+ * will be under the `card_push_transfer_instruction` object.
255
260
  * - `other` - The Pending Transaction was made for an undocumented or deprecated
256
261
  * reason.
257
262
  */
@@ -267,7 +272,7 @@ export namespace PendingTransaction {
267
272
  | 'wire_transfer_instruction'
268
273
  | 'inbound_wire_transfer_reversal'
269
274
  | 'swift_transfer_instruction'
270
- | 'outbound_card_push_transfer_instruction'
275
+ | 'card_push_transfer_instruction'
271
276
  | 'other';
272
277
 
273
278
  /**
@@ -304,13 +309,6 @@ export namespace PendingTransaction {
304
309
  */
305
310
  other: unknown | null;
306
311
 
307
- /**
308
- * An Outbound Card Push Transfer Instruction object. This field will be present in
309
- * the JSON response if and only if `category` is equal to
310
- * `outbound_card_push_transfer_instruction`.
311
- */
312
- outbound_card_push_transfer_instruction: Source.OutboundCardPushTransferInstruction | null;
313
-
314
312
  /**
315
313
  * A Real-Time Payments Transfer Instruction object. This field will be present in
316
314
  * the JSON response if and only if `category` is equal to
@@ -825,6 +823,22 @@ export namespace PendingTransaction {
825
823
  }
826
824
  }
827
825
 
826
+ /**
827
+ * A Card Push Transfer Instruction object. This field will be present in the JSON
828
+ * response if and only if `category` is equal to `card_push_transfer_instruction`.
829
+ */
830
+ export interface CardPushTransferInstruction {
831
+ /**
832
+ * The transfer amount in USD cents.
833
+ */
834
+ amount: number;
835
+
836
+ /**
837
+ * The identifier of the Card Push Transfer that led to this Pending Transaction.
838
+ */
839
+ transfer_id: string;
840
+ }
841
+
828
842
  /**
829
843
  * A Check Deposit Instruction object. This field will be present in the JSON
830
844
  * response if and only if `category` is equal to `check_deposit_instruction`.
@@ -981,24 +995,6 @@ export namespace PendingTransaction {
981
995
  inbound_wire_transfer_id: string;
982
996
  }
983
997
 
984
- /**
985
- * An Outbound Card Push Transfer Instruction object. This field will be present in
986
- * the JSON response if and only if `category` is equal to
987
- * `outbound_card_push_transfer_instruction`.
988
- */
989
- export interface OutboundCardPushTransferInstruction {
990
- /**
991
- * The transfer amount in USD cents.
992
- */
993
- amount: number;
994
-
995
- /**
996
- * The identifier of the Outbound Card Push Transfer that led to this Pending
997
- * Transaction.
998
- */
999
- transfer_id: string;
1000
- }
1001
-
1002
998
  /**
1003
999
  * A Real-Time Payments Transfer Instruction object. This field will be present in
1004
1000
  * the JSON response if and only if `category` is equal to
@@ -1117,7 +1113,7 @@ export namespace PendingTransactionListParams {
1117
1113
  | 'wire_transfer_instruction'
1118
1114
  | 'inbound_wire_transfer_reversal'
1119
1115
  | 'swift_transfer_instruction'
1120
- | 'outbound_card_push_transfer_instruction'
1116
+ | 'card_push_transfer_instruction'
1121
1117
  | 'other'
1122
1118
  >;
1123
1119
  }
@@ -183,6 +183,14 @@ export namespace Transaction {
183
183
  */
184
184
  card_dispute_loss: Source.CardDisputeLoss | null;
185
185
 
186
+ /**
187
+ * A Card Push Transfer Acceptance object. This field will be present in the JSON
188
+ * response if and only if `category` is equal to `card_push_transfer_acceptance`.
189
+ * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
190
+ * sent from Increase is accepted by the receiving bank.
191
+ */
192
+ card_push_transfer_acceptance: Source.CardPushTransferAcceptance | null;
193
+
186
194
  /**
187
195
  * A Card Refund object. This field will be present in the JSON response if and
188
196
  * only if `category` is equal to `card_refund`. Card Refunds move money back to
@@ -281,9 +289,8 @@ export namespace Transaction {
281
289
  * `wire_transfer_intention` object.
282
290
  * - `swift_transfer_intention` - Swift Transfer Intention: details will be under
283
291
  * the `swift_transfer_intention` object.
284
- * - `outbound_card_push_transfer_acceptance` - Outbound Card Push Transfer
285
- * Acceptance: details will be under the `outbound_card_push_transfer_acceptance`
286
- * object.
292
+ * - `card_push_transfer_acceptance` - Card Push Transfer Acceptance: details will
293
+ * be under the `card_push_transfer_acceptance` object.
287
294
  * - `other` - The Transaction was made for an undocumented or deprecated reason.
288
295
  */
289
296
  category:
@@ -316,7 +323,7 @@ export namespace Transaction {
316
323
  | 'sample_funds'
317
324
  | 'wire_transfer_intention'
318
325
  | 'swift_transfer_intention'
319
- | 'outbound_card_push_transfer_acceptance'
326
+ | 'card_push_transfer_acceptance'
320
327
  | 'other';
321
328
 
322
329
  /**
@@ -450,15 +457,6 @@ export namespace Transaction {
450
457
  */
451
458
  other: unknown | null;
452
459
 
453
- /**
454
- * An Outbound Card Push Transfer Acceptance object. This field will be present in
455
- * the JSON response if and only if `category` is equal to
456
- * `outbound_card_push_transfer_acceptance`. An Outbound Card Push Transfer
457
- * Acceptance is created when an Outbound Card Push Transfer sent from Increase is
458
- * accepted by the receiving bank.
459
- */
460
- outbound_card_push_transfer_acceptance: Source.OutboundCardPushTransferAcceptance | null;
461
-
462
460
  /**
463
461
  * A Real-Time Payments Transfer Acknowledgement object. This field will be present
464
462
  * in the JSON response if and only if `category` is equal to
@@ -902,6 +900,24 @@ export namespace Transaction {
902
900
  transaction_id: string;
903
901
  }
904
902
 
903
+ /**
904
+ * A Card Push Transfer Acceptance object. This field will be present in the JSON
905
+ * response if and only if `category` is equal to `card_push_transfer_acceptance`.
906
+ * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
907
+ * sent from Increase is accepted by the receiving bank.
908
+ */
909
+ export interface CardPushTransferAcceptance {
910
+ /**
911
+ * The transfer amount in USD cents.
912
+ */
913
+ amount: number;
914
+
915
+ /**
916
+ * The identifier of the Card Push Transfer that led to this Transaction.
917
+ */
918
+ transfer_id: string;
919
+ }
920
+
905
921
  /**
906
922
  * A Card Refund object. This field will be present in the JSON response if and
907
923
  * only if `category` is equal to `card_refund`. Card Refunds move money back to
@@ -3352,25 +3368,6 @@ export namespace Transaction {
3352
3368
  | 'sample_funds_return';
3353
3369
  }
3354
3370
 
3355
- /**
3356
- * An Outbound Card Push Transfer Acceptance object. This field will be present in
3357
- * the JSON response if and only if `category` is equal to
3358
- * `outbound_card_push_transfer_acceptance`. An Outbound Card Push Transfer
3359
- * Acceptance is created when an Outbound Card Push Transfer sent from Increase is
3360
- * accepted by the receiving bank.
3361
- */
3362
- export interface OutboundCardPushTransferAcceptance {
3363
- /**
3364
- * The transfer amount in USD cents.
3365
- */
3366
- amount: number;
3367
-
3368
- /**
3369
- * The identifier of the Outbound Card Push Transfer that led to this Transaction.
3370
- */
3371
- transfer_id: string;
3372
- }
3373
-
3374
3371
  /**
3375
3372
  * A Real-Time Payments Transfer Acknowledgement object. This field will be present
3376
3373
  * in the JSON response if and only if `category` is equal to
@@ -3516,7 +3513,7 @@ export namespace TransactionListParams {
3516
3513
  | 'sample_funds'
3517
3514
  | 'wire_transfer_intention'
3518
3515
  | 'swift_transfer_intention'
3519
- | 'outbound_card_push_transfer_acceptance'
3516
+ | 'card_push_transfer_acceptance'
3520
3517
  | 'other'
3521
3518
  >;
3522
3519
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.228.2'; // x-release-please-version
1
+ export const VERSION = '0.230.0'; // x-release-please-version