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
@@ -126,131 +126,6 @@ export namespace Transaction {
126
126
  * deprecated and will be removed in the future.
127
127
  */
128
128
  export interface Source {
129
- /**
130
- * An Account Revenue Payment object. This field will be present in the JSON
131
- * response if and only if `category` is equal to `account_revenue_payment`. An
132
- * Account Revenue Payment represents a payment made to an account from the bank.
133
- * Account revenue is a type of non-interest income.
134
- */
135
- account_revenue_payment: Source.AccountRevenuePayment | null;
136
-
137
- /**
138
- * An Account Transfer Intention object. This field will be present in the JSON
139
- * response if and only if `category` is equal to `account_transfer_intention`. Two
140
- * Account Transfer Intentions are created from each Account Transfer. One
141
- * decrements the source account, and the other increments the destination account.
142
- */
143
- account_transfer_intention: Source.AccountTransferIntention | null;
144
-
145
- /**
146
- * An ACH Transfer Intention object. This field will be present in the JSON
147
- * response if and only if `category` is equal to `ach_transfer_intention`. An ACH
148
- * Transfer Intention is created from an ACH Transfer. It reflects the intention to
149
- * move money into or out of an Increase account via the ACH network.
150
- */
151
- ach_transfer_intention: Source.ACHTransferIntention | null;
152
-
153
- /**
154
- * An ACH Transfer Rejection object. This field will be present in the JSON
155
- * response if and only if `category` is equal to `ach_transfer_rejection`. An ACH
156
- * Transfer Rejection is created when an ACH Transfer is rejected by Increase. It
157
- * offsets the ACH Transfer Intention. These rejections are rare.
158
- */
159
- ach_transfer_rejection: Source.ACHTransferRejection | null;
160
-
161
- /**
162
- * An ACH Transfer Return object. This field will be present in the JSON response
163
- * if and only if `category` is equal to `ach_transfer_return`. An ACH Transfer
164
- * Return is created when an ACH Transfer is returned by the receiving bank. It
165
- * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
166
- * the first two business days after the transfer is initiated, but can occur much
167
- * later.
168
- */
169
- ach_transfer_return: Source.ACHTransferReturn | null;
170
-
171
- /**
172
- * A Blockchain Off-Ramp Transfer Settlement object. This field will be present in
173
- * the JSON response if and only if `category` is equal to
174
- * `blockchain_offramp_transfer_settlement`.
175
- */
176
- blockchain_offramp_transfer_settlement: Source.BlockchainOfframpTransferSettlement | null;
177
-
178
- /**
179
- * A Blockchain On-Ramp Transfer Intention object. This field will be present in
180
- * the JSON response if and only if `category` is equal to
181
- * `blockchain_onramp_transfer_intention`.
182
- */
183
- blockchain_onramp_transfer_intention: Source.BlockchainOnrampTransferIntention | null;
184
-
185
- /**
186
- * A Legacy Card Dispute Acceptance object. This field will be present in the JSON
187
- * response if and only if `category` is equal to `card_dispute_acceptance`.
188
- * Contains the details of a successful Card Dispute.
189
- */
190
- card_dispute_acceptance: Source.CardDisputeAcceptance | null;
191
-
192
- /**
193
- * A Card Dispute Financial object. This field will be present in the JSON response
194
- * if and only if `category` is equal to `card_dispute_financial`. Financial event
195
- * related to a Card Dispute.
196
- */
197
- card_dispute_financial: Source.CardDisputeFinancial | null;
198
-
199
- /**
200
- * A Legacy Card Dispute Loss object. This field will be present in the JSON
201
- * response if and only if `category` is equal to `card_dispute_loss`. Contains the
202
- * details of a lost Card Dispute.
203
- */
204
- card_dispute_loss: Source.CardDisputeLoss | null;
205
-
206
- /**
207
- * A Card Financial object. This field will be present in the JSON response if and
208
- * only if `category` is equal to `card_financial`. Card Financials are temporary
209
- * holds placed on a customers funds with the intent to later clear a transaction.
210
- */
211
- card_financial: Source.CardFinancial | null;
212
-
213
- /**
214
- * A Card Push Transfer Acceptance object. This field will be present in the JSON
215
- * response if and only if `category` is equal to `card_push_transfer_acceptance`.
216
- * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
217
- * sent from Increase is accepted by the receiving bank.
218
- */
219
- card_push_transfer_acceptance: Source.CardPushTransferAcceptance | null;
220
-
221
- /**
222
- * A Card Refund object. This field will be present in the JSON response if and
223
- * only if `category` is equal to `card_refund`. Card Refunds move money back to
224
- * the cardholder. While they are usually connected to a Card Settlement an
225
- * acquirer can also refund money directly to a card without relation to a
226
- * transaction.
227
- */
228
- card_refund: Source.CardRefund | null;
229
-
230
- /**
231
- * A Card Revenue Payment object. This field will be present in the JSON response
232
- * if and only if `category` is equal to `card_revenue_payment`. Card Revenue
233
- * Payments reflect earnings from fees on card transactions.
234
- */
235
- card_revenue_payment: Source.CardRevenuePayment | null;
236
-
237
- /**
238
- * A Card Settlement object. This field will be present in the JSON response if and
239
- * only if `category` is equal to `card_settlement`. Card Settlements are card
240
- * transactions that have cleared and settled. While a settlement is usually
241
- * preceded by an authorization, an acquirer can also directly clear a transaction
242
- * without first authorizing it.
243
- */
244
- card_settlement: Source.CardSettlement | null;
245
-
246
- /**
247
- * A Cashback Payment object. This field will be present in the JSON response if
248
- * and only if `category` is equal to `cashback_payment`. A Cashback Payment
249
- * represents the cashback paid to a cardholder for a given period. Cashback is
250
- * usually paid monthly for the prior month's transactions.
251
- */
252
- cashback_payment: Source.CashbackPayment | null;
253
-
254
129
  /**
255
130
  * The type of the resource. We may add additional possible values for this enum
256
131
  * over time; your application should be able to handle such additions gracefully.
@@ -375,6 +250,131 @@ export namespace Transaction {
375
250
  | 'blockchain_offramp_transfer_settlement'
376
251
  | 'other';
377
252
 
253
+ /**
254
+ * An Account Revenue Payment object. This field will be present in the JSON
255
+ * response if and only if `category` is equal to `account_revenue_payment`. An
256
+ * Account Revenue Payment represents a payment made to an account from the bank.
257
+ * Account revenue is a type of non-interest income.
258
+ */
259
+ account_revenue_payment?: Source.AccountRevenuePayment | null;
260
+
261
+ /**
262
+ * An Account Transfer Intention object. This field will be present in the JSON
263
+ * response if and only if `category` is equal to `account_transfer_intention`. Two
264
+ * Account Transfer Intentions are created from each Account Transfer. One
265
+ * decrements the source account, and the other increments the destination account.
266
+ */
267
+ account_transfer_intention?: Source.AccountTransferIntention | null;
268
+
269
+ /**
270
+ * An ACH Transfer Intention object. This field will be present in the JSON
271
+ * response if and only if `category` is equal to `ach_transfer_intention`. An ACH
272
+ * Transfer Intention is created from an ACH Transfer. It reflects the intention to
273
+ * move money into or out of an Increase account via the ACH network.
274
+ */
275
+ ach_transfer_intention?: Source.ACHTransferIntention | null;
276
+
277
+ /**
278
+ * An ACH Transfer Rejection object. This field will be present in the JSON
279
+ * response if and only if `category` is equal to `ach_transfer_rejection`. An ACH
280
+ * Transfer Rejection is created when an ACH Transfer is rejected by Increase. It
281
+ * offsets the ACH Transfer Intention. These rejections are rare.
282
+ */
283
+ ach_transfer_rejection?: Source.ACHTransferRejection | null;
284
+
285
+ /**
286
+ * An ACH Transfer Return object. This field will be present in the JSON response
287
+ * if and only if `category` is equal to `ach_transfer_return`. An ACH Transfer
288
+ * Return is created when an ACH Transfer is returned by the receiving bank. It
289
+ * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
290
+ * the first two business days after the transfer is initiated, but can occur much
291
+ * later.
292
+ */
293
+ ach_transfer_return?: Source.ACHTransferReturn | null;
294
+
295
+ /**
296
+ * A Blockchain Off-Ramp Transfer Settlement object. This field will be present in
297
+ * the JSON response if and only if `category` is equal to
298
+ * `blockchain_offramp_transfer_settlement`.
299
+ */
300
+ blockchain_offramp_transfer_settlement?: Source.BlockchainOfframpTransferSettlement | null;
301
+
302
+ /**
303
+ * A Blockchain On-Ramp Transfer Intention object. This field will be present in
304
+ * the JSON response if and only if `category` is equal to
305
+ * `blockchain_onramp_transfer_intention`.
306
+ */
307
+ blockchain_onramp_transfer_intention?: Source.BlockchainOnrampTransferIntention | null;
308
+
309
+ /**
310
+ * A Legacy Card Dispute Acceptance object. This field will be present in the JSON
311
+ * response if and only if `category` is equal to `card_dispute_acceptance`.
312
+ * Contains the details of a successful Card Dispute.
313
+ */
314
+ card_dispute_acceptance?: Source.CardDisputeAcceptance | null;
315
+
316
+ /**
317
+ * A Card Dispute Financial object. This field will be present in the JSON response
318
+ * if and only if `category` is equal to `card_dispute_financial`. Financial event
319
+ * related to a Card Dispute.
320
+ */
321
+ card_dispute_financial?: Source.CardDisputeFinancial | null;
322
+
323
+ /**
324
+ * A Legacy Card Dispute Loss object. This field will be present in the JSON
325
+ * response if and only if `category` is equal to `card_dispute_loss`. Contains the
326
+ * details of a lost Card Dispute.
327
+ */
328
+ card_dispute_loss?: Source.CardDisputeLoss | null;
329
+
330
+ /**
331
+ * A Card Financial object. This field will be present in the JSON response if and
332
+ * only if `category` is equal to `card_financial`. Card Financials are temporary
333
+ * holds placed on a customers funds with the intent to later clear a transaction.
334
+ */
335
+ card_financial?: Source.CardFinancial | null;
336
+
337
+ /**
338
+ * A Card Push Transfer Acceptance object. This field will be present in the JSON
339
+ * response if and only if `category` is equal to `card_push_transfer_acceptance`.
340
+ * A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
341
+ * sent from Increase is accepted by the receiving bank.
342
+ */
343
+ card_push_transfer_acceptance?: Source.CardPushTransferAcceptance | null;
344
+
345
+ /**
346
+ * A Card Refund object. This field will be present in the JSON response if and
347
+ * only if `category` is equal to `card_refund`. Card Refunds move money back to
348
+ * the cardholder. While they are usually connected to a Card Settlement an
349
+ * acquirer can also refund money directly to a card without relation to a
350
+ * transaction.
351
+ */
352
+ card_refund?: Source.CardRefund | null;
353
+
354
+ /**
355
+ * A Card Revenue Payment object. This field will be present in the JSON response
356
+ * if and only if `category` is equal to `card_revenue_payment`. Card Revenue
357
+ * Payments reflect earnings from fees on card transactions.
358
+ */
359
+ card_revenue_payment?: Source.CardRevenuePayment | null;
360
+
361
+ /**
362
+ * A Card Settlement object. This field will be present in the JSON response if and
363
+ * only if `category` is equal to `card_settlement`. Card Settlements are card
364
+ * transactions that have cleared and settled. While a settlement is usually
365
+ * preceded by an authorization, an acquirer can also directly clear a transaction
366
+ * without first authorizing it.
367
+ */
368
+ card_settlement?: Source.CardSettlement | null;
369
+
370
+ /**
371
+ * A Cashback Payment object. This field will be present in the JSON response if
372
+ * and only if `category` is equal to `cashback_payment`. A Cashback Payment
373
+ * represents the cashback paid to a cardholder for a given period. Cashback is
374
+ * usually paid monthly for the prior month's transactions.
375
+ */
376
+ cashback_payment?: Source.CashbackPayment | null;
377
+
378
378
  /**
379
379
  * A Check Deposit Acceptance object. This field will be present in the JSON
380
380
  * response if and only if `category` is equal to `check_deposit_acceptance`. A
@@ -382,7 +382,7 @@ export namespace Transaction {
382
382
  * details confirmed. Check Deposits may be returned by the receiving bank, which
383
383
  * will appear as a Check Deposit Return.
384
384
  */
385
- check_deposit_acceptance: Source.CheckDepositAcceptance | null;
385
+ check_deposit_acceptance?: Source.CheckDepositAcceptance | null;
386
386
 
387
387
  /**
388
388
  * A Check Deposit Return object. This field will be present in the JSON response
@@ -392,7 +392,7 @@ export namespace Transaction {
392
392
  * reasons, including insufficient funds or a mismatched account number. Usually,
393
393
  * checks are returned within the first 7 days after the deposit is made.
394
394
  */
395
- check_deposit_return: Source.CheckDepositReturn | null;
395
+ check_deposit_return?: Source.CheckDepositReturn | null;
396
396
 
397
397
  /**
398
398
  * A Check Transfer Deposit object. This field will be present in the JSON response
@@ -400,7 +400,7 @@ export namespace Transaction {
400
400
  * is a check drawn on an Increase account that has been deposited by an external
401
401
  * bank account. These types of checks are not pre-registered.
402
402
  */
403
- check_transfer_deposit: Source.CheckTransferDeposit | null;
403
+ check_transfer_deposit?: Source.CheckTransferDeposit | null;
404
404
 
405
405
  /**
406
406
  * A FedNow Transfer Acknowledgement object. This field will be present in the JSON
@@ -408,14 +408,14 @@ export namespace Transaction {
408
408
  * `fednow_transfer_acknowledgement`. A FedNow Transfer Acknowledgement is created
409
409
  * when a FedNow Transfer sent from Increase is acknowledged by the receiving bank.
410
410
  */
411
- fednow_transfer_acknowledgement: Source.FednowTransferAcknowledgement | null;
411
+ fednow_transfer_acknowledgement?: Source.FednowTransferAcknowledgement | null;
412
412
 
413
413
  /**
414
414
  * A Fee Payment object. This field will be present in the JSON response if and
415
415
  * only if `category` is equal to `fee_payment`. A Fee Payment represents a payment
416
416
  * made to Increase.
417
417
  */
418
- fee_payment: Source.FeePayment | null;
418
+ fee_payment?: Source.FeePayment | null;
419
419
 
420
420
  /**
421
421
  * An Inbound ACH Transfer Intention object. This field will be present in the JSON
@@ -423,7 +423,7 @@ export namespace Transaction {
423
423
  * Inbound ACH Transfer Intention is created when an ACH transfer is initiated at
424
424
  * another bank and received by Increase.
425
425
  */
426
- inbound_ach_transfer: Source.InboundACHTransfer | null;
426
+ inbound_ach_transfer?: Source.InboundACHTransfer | null;
427
427
 
428
428
  /**
429
429
  * An Inbound ACH Transfer Return Intention object. This field will be present in
@@ -432,7 +432,7 @@ export namespace Transaction {
432
432
  * Intention is created when an ACH transfer is initiated at another bank and
433
433
  * returned by Increase.
434
434
  */
435
- inbound_ach_transfer_return_intention: Source.InboundACHTransferReturnIntention | null;
435
+ inbound_ach_transfer_return_intention?: Source.InboundACHTransferReturnIntention | null;
436
436
 
437
437
  /**
438
438
  * An Inbound Check Adjustment object. This field will be present in the JSON
@@ -440,7 +440,7 @@ export namespace Transaction {
440
440
  * Inbound Check Adjustment is created when Increase receives an adjustment for a
441
441
  * check or return deposited through Check21.
442
442
  */
443
- inbound_check_adjustment: Source.InboundCheckAdjustment | null;
443
+ inbound_check_adjustment?: Source.InboundCheckAdjustment | null;
444
444
 
445
445
  /**
446
446
  * An Inbound Check Deposit Return Intention object. This field will be present in
@@ -449,7 +449,7 @@ export namespace Transaction {
449
449
  * Intention is created when Increase receives an Inbound Check and the User
450
450
  * requests that it be returned.
451
451
  */
452
- inbound_check_deposit_return_intention: Source.InboundCheckDepositReturnIntention | null;
452
+ inbound_check_deposit_return_intention?: Source.InboundCheckDepositReturnIntention | null;
453
453
 
454
454
  /**
455
455
  * An Inbound FedNow Transfer Confirmation object. This field will be present in
@@ -458,7 +458,7 @@ export namespace Transaction {
458
458
  * is created when a FedNow transfer is initiated at another bank and received by
459
459
  * Increase.
460
460
  */
461
- inbound_fednow_transfer_confirmation: Source.InboundFednowTransferConfirmation | null;
461
+ inbound_fednow_transfer_confirmation?: Source.InboundFednowTransferConfirmation | null;
462
462
 
463
463
  /**
464
464
  * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
@@ -467,7 +467,7 @@ export namespace Transaction {
467
467
  * Payments Transfer Confirmation is created when a Real-Time Payments transfer is
468
468
  * initiated at another bank and received by Increase.
469
469
  */
470
- inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
470
+ inbound_real_time_payments_transfer_confirmation?: Source.InboundRealTimePaymentsTransferConfirmation | null;
471
471
 
472
472
  /**
473
473
  * An Inbound Wire Reversal object. This field will be present in the JSON response
@@ -476,7 +476,7 @@ export namespace Transaction {
476
476
  * Increase. The other bank is sending the money back. This most often happens when
477
477
  * the original destination account details were incorrect.
478
478
  */
479
- inbound_wire_reversal: Source.InboundWireReversal | null;
479
+ inbound_wire_reversal?: Source.InboundWireReversal | null;
480
480
 
481
481
  /**
482
482
  * An Inbound Wire Transfer Intention object. This field will be present in the
@@ -484,7 +484,7 @@ export namespace Transaction {
484
484
  * Inbound Wire Transfer Intention is created when a wire transfer is initiated at
485
485
  * another bank and received by Increase.
486
486
  */
487
- inbound_wire_transfer: Source.InboundWireTransfer | null;
487
+ inbound_wire_transfer?: Source.InboundWireTransfer | null;
488
488
 
489
489
  /**
490
490
  * An Inbound Wire Transfer Reversal Intention object. This field will be present
@@ -493,7 +493,7 @@ export namespace Transaction {
493
493
  * created when Increase has received a wire and the User requests that it be
494
494
  * reversed.
495
495
  */
496
- inbound_wire_transfer_reversal: Source.InboundWireTransferReversal | null;
496
+ inbound_wire_transfer_reversal?: Source.InboundWireTransferReversal | null;
497
497
 
498
498
  /**
499
499
  * An Interest Payment object. This field will be present in the JSON response if
@@ -501,20 +501,20 @@ export namespace Transaction {
501
501
  * represents a payment of interest on an account. Interest is usually paid
502
502
  * monthly.
503
503
  */
504
- interest_payment: Source.InterestPayment | null;
504
+ interest_payment?: Source.InterestPayment | null;
505
505
 
506
506
  /**
507
507
  * An Internal Source object. This field will be present in the JSON response if
508
508
  * and only if `category` is equal to `internal_source`. A transaction between the
509
509
  * user and Increase. See the `reason` attribute for more information.
510
510
  */
511
- internal_source: Source.InternalSource | null;
511
+ internal_source?: Source.InternalSource | null;
512
512
 
513
513
  /**
514
514
  * If the category of this Transaction source is equal to `other`, this field will
515
515
  * contain an empty object, otherwise it will contain null.
516
516
  */
517
- other: Source.Other | null;
517
+ other?: Source.Other | null;
518
518
 
519
519
  /**
520
520
  * A Real-Time Payments Transfer Acknowledgement object. This field will be present
@@ -523,35 +523,35 @@ export namespace Transaction {
523
523
  * Acknowledgement is created when a Real-Time Payments Transfer sent from Increase
524
524
  * is acknowledged by the receiving bank.
525
525
  */
526
- real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
526
+ real_time_payments_transfer_acknowledgement?: Source.RealTimePaymentsTransferAcknowledgement | null;
527
527
 
528
528
  /**
529
529
  * A Sample Funds object. This field will be present in the JSON response if and
530
530
  * only if `category` is equal to `sample_funds`. Sample funds for testing
531
531
  * purposes.
532
532
  */
533
- sample_funds: Source.SampleFunds | null;
533
+ sample_funds?: Source.SampleFunds | null;
534
534
 
535
535
  /**
536
536
  * A Swift Transfer Intention object. This field will be present in the JSON
537
537
  * response if and only if `category` is equal to `swift_transfer_intention`. A
538
538
  * Swift Transfer initiated via Increase.
539
539
  */
540
- swift_transfer_intention: Source.SwiftTransferIntention | null;
540
+ swift_transfer_intention?: Source.SwiftTransferIntention | null;
541
541
 
542
542
  /**
543
543
  * A Swift Transfer Return object. This field will be present in the JSON response
544
544
  * if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
545
545
  * Return is created when a Swift Transfer is returned by the receiving bank.
546
546
  */
547
- swift_transfer_return: Source.SwiftTransferReturn | null;
547
+ swift_transfer_return?: Source.SwiftTransferReturn | null;
548
548
 
549
549
  /**
550
550
  * A Wire Transfer Intention object. This field will be present in the JSON
551
551
  * response if and only if `category` is equal to `wire_transfer_intention`. A Wire
552
552
  * Transfer initiated via Increase and sent to a different bank.
553
553
  */
554
- wire_transfer_intention: Source.WireTransferIntention | null;
554
+ wire_transfer_intention?: Source.WireTransferIntention | null;
555
555
 
556
556
  [k: string]: unknown;
557
557
  }
@@ -703,24 +703,28 @@ export namespace Transaction {
703
703
  * bank back to Increase.
704
704
  *
705
705
  * - `insufficient_fund` - Code R01. Insufficient funds in the receiving account.
706
- * Sometimes abbreviated to NSF.
706
+ * Sometimes abbreviated to "NSF."
707
707
  * - `no_account` - Code R03. The account does not exist or the receiving bank was
708
708
  * unable to locate it.
709
709
  * - `account_closed` - Code R02. The account is closed at the receiving bank.
710
710
  * - `invalid_account_number_structure` - Code R04. The account number is invalid
711
711
  * at the receiving bank.
712
- * - `account_frozen_entry_returned_per_ofac_instruction` - Code R16. The account
713
- * at the receiving bank was frozen per the Office of Foreign Assets Control.
714
- * - `credit_entry_refused_by_receiver` - Code R23. The receiving bank account
715
- * refused a credit transfer.
712
+ * - `account_frozen_entry_returned_per_ofac_instruction` - Code R16. This return
713
+ * code has two separate meanings. (1) The receiving bank froze the account or
714
+ * (2) the Office of Foreign Assets Control (OFAC) instructed the receiving bank
715
+ * to return the entry.
716
+ * - `credit_entry_refused_by_receiver` - Code R23. The receiving bank refused the
717
+ * credit transfer.
716
718
  * - `unauthorized_debit_to_consumer_account_using_corporate_sec_code` - Code R05.
717
719
  * The receiving bank rejected because of an incorrect Standard Entry Class code.
720
+ * Consumer accounts cannot be debited as `corporate_credit_or_debit` or
721
+ * `corporate_trade_exchange`.
718
722
  * - `corporate_customer_advised_not_authorized` - Code R29. The corporate customer
719
723
  * at the receiving bank reversed the transfer.
720
724
  * - `payment_stopped` - Code R08. The receiving bank stopped payment on this
721
725
  * transfer.
722
- * - `non_transaction_account` - Code R20. The receiving bank account does not
723
- * perform transfers.
726
+ * - `non_transaction_account` - Code R20. The account is not eligible for ACH,
727
+ * such as a savings account with transaction limits.
724
728
  * - `uncollected_funds` - Code R09. The receiving bank account does not have
725
729
  * enough available balance for the transfer.
726
730
  * - `routing_number_check_digit_error` - Code R28. The routing number is
@@ -728,14 +732,13 @@ export namespace Transaction {
728
732
  * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - Code R10.
729
733
  * The customer at the receiving bank reversed the transfer.
730
734
  * - `amount_field_error` - Code R19. The amount field is incorrect or too large.
731
- * - `authorization_revoked_by_customer` - Code R07. The customer at the receiving
732
- * institution informed their bank that they have revoked authorization for a
733
- * previously authorized transfer.
735
+ * - `authorization_revoked_by_customer` - Code R07. The customer revoked their
736
+ * authorization for a previously authorized transfer.
734
737
  * - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
735
738
  * - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
736
739
  * process a field in the transfer.
737
- * - `enr_invalid_individual_name` - Code R45. The individual name field was
738
- * invalid.
740
+ * - `enr_invalid_individual_name` - Code R45. A rare return reason. The individual
741
+ * name field was invalid.
739
742
  * - `returned_per_odfi_request` - Code R06. The originating financial institution
740
743
  * asked for this transfer to be returned. The receiving bank is complying with
741
744
  * the request.
@@ -830,8 +833,8 @@ export namespace Transaction {
830
833
  * a malformed credit entry.
831
834
  * - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
832
835
  * malformed debit entry.
833
- * - `return_of_xck_entry` - Code R33. A rare return reason. Return of a Destroyed
834
- * Check ("XKC") entry.
836
+ * - `return_of_xck_entry` - Code R33. A rare return reason. Return of a destroyed
837
+ * check ("XCK") entry.
835
838
  * - `source_document_presented_for_payment` - Code R37. A rare return reason. The
836
839
  * source document related to this ACH, usually an ACH check conversion, was
837
840
  * presented to the bank.
@@ -291,11 +291,6 @@ export namespace WireTransfer {
291
291
  * What object created the transfer, either via the API or the dashboard.
292
292
  */
293
293
  export interface CreatedBy {
294
- /**
295
- * If present, details about the API key that created the transfer.
296
- */
297
- api_key: CreatedBy.APIKey | null;
298
-
299
294
  /**
300
295
  * The type of object that created this transfer.
301
296
  *
@@ -307,15 +302,20 @@ export namespace WireTransfer {
307
302
  */
308
303
  category: 'api_key' | 'oauth_application' | 'user';
309
304
 
305
+ /**
306
+ * If present, details about the API key that created the transfer.
307
+ */
308
+ api_key?: CreatedBy.APIKey | null;
309
+
310
310
  /**
311
311
  * If present, details about the OAuth Application that created the transfer.
312
312
  */
313
- oauth_application: CreatedBy.OAuthApplication | null;
313
+ oauth_application?: CreatedBy.OAuthApplication | null;
314
314
 
315
315
  /**
316
316
  * If present, details about the User that created the transfer.
317
317
  */
318
- user: CreatedBy.User | null;
318
+ user?: CreatedBy.User | null;
319
319
  }
320
320
 
321
321
  export namespace CreatedBy {
@@ -466,13 +466,13 @@ export namespace WireTransfer {
466
466
  * Internal Revenue Service (IRS) tax repayment information. Required if `category`
467
467
  * is equal to `tax`.
468
468
  */
469
- tax: Remittance.Tax | null;
469
+ tax?: Remittance.Tax | null;
470
470
 
471
471
  /**
472
472
  * Unstructured remittance information. Required if `category` is equal to
473
473
  * `unstructured`.
474
474
  */
475
- unstructured: Remittance.Unstructured | null;
475
+ unstructured?: Remittance.Unstructured | null;
476
476
  }
477
477
 
478
478
  export namespace Remittance {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.418.0'; // x-release-please-version
1
+ export const VERSION = '0.430.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.418.0";
1
+ export declare const VERSION = "0.430.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.418.0";
1
+ export declare const VERSION = "0.430.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.418.0'; // x-release-please-version
4
+ exports.VERSION = '0.430.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.418.0'; // x-release-please-version
1
+ export const VERSION = '0.430.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map