increase 0.573.0 → 0.575.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 +14 -0
  2. package/package.json +1 -1
  3. package/resources/accounts.d.mts +3 -2
  4. package/resources/accounts.d.mts.map +1 -1
  5. package/resources/accounts.d.ts +3 -2
  6. package/resources/accounts.d.ts.map +1 -1
  7. package/resources/ach-transfers.d.mts +47 -31
  8. package/resources/ach-transfers.d.mts.map +1 -1
  9. package/resources/ach-transfers.d.ts +47 -31
  10. package/resources/ach-transfers.d.ts.map +1 -1
  11. package/resources/beneficial-owners.d.mts +6 -3
  12. package/resources/beneficial-owners.d.mts.map +1 -1
  13. package/resources/beneficial-owners.d.ts +6 -3
  14. package/resources/beneficial-owners.d.ts.map +1 -1
  15. package/resources/card-push-transfers.d.mts +4 -4
  16. package/resources/card-push-transfers.d.mts.map +1 -1
  17. package/resources/card-push-transfers.d.ts +4 -4
  18. package/resources/card-push-transfers.d.ts.map +1 -1
  19. package/resources/check-transfers.d.mts +7 -5
  20. package/resources/check-transfers.d.mts.map +1 -1
  21. package/resources/check-transfers.d.ts +7 -5
  22. package/resources/check-transfers.d.ts.map +1 -1
  23. package/resources/entities.d.mts +28 -16
  24. package/resources/entities.d.mts.map +1 -1
  25. package/resources/entities.d.ts +28 -16
  26. package/resources/entities.d.ts.map +1 -1
  27. package/resources/fednow-transfers.d.mts +3 -3
  28. package/resources/fednow-transfers.d.mts.map +1 -1
  29. package/resources/fednow-transfers.d.ts +3 -3
  30. package/resources/fednow-transfers.d.ts.map +1 -1
  31. package/resources/inbound-mail-items.d.mts +6 -2
  32. package/resources/inbound-mail-items.d.mts.map +1 -1
  33. package/resources/inbound-mail-items.d.ts +6 -2
  34. package/resources/inbound-mail-items.d.ts.map +1 -1
  35. package/resources/inbound-mail-items.js +3 -1
  36. package/resources/inbound-mail-items.js.map +1 -1
  37. package/resources/inbound-mail-items.mjs +3 -1
  38. package/resources/inbound-mail-items.mjs.map +1 -1
  39. package/resources/inbound-real-time-payments-transfers.d.mts +2 -1
  40. package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -1
  41. package/resources/inbound-real-time-payments-transfers.d.ts +2 -1
  42. package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
  43. package/resources/lockbox-addresses.d.mts +9 -2
  44. package/resources/lockbox-addresses.d.mts.map +1 -1
  45. package/resources/lockbox-addresses.d.ts +9 -2
  46. package/resources/lockbox-addresses.d.ts.map +1 -1
  47. package/resources/lockbox-addresses.js +4 -1
  48. package/resources/lockbox-addresses.js.map +1 -1
  49. package/resources/lockbox-addresses.mjs +4 -1
  50. package/resources/lockbox-addresses.mjs.map +1 -1
  51. package/resources/lockbox-recipients.d.mts +2 -1
  52. package/resources/lockbox-recipients.d.mts.map +1 -1
  53. package/resources/lockbox-recipients.d.ts +2 -1
  54. package/resources/lockbox-recipients.d.ts.map +1 -1
  55. package/resources/pending-transactions.d.mts +7 -2
  56. package/resources/pending-transactions.d.mts.map +1 -1
  57. package/resources/pending-transactions.d.ts +7 -2
  58. package/resources/pending-transactions.d.ts.map +1 -1
  59. package/resources/physical-cards.d.mts +6 -4
  60. package/resources/physical-cards.d.mts.map +1 -1
  61. package/resources/physical-cards.d.ts +6 -4
  62. package/resources/physical-cards.d.ts.map +1 -1
  63. package/resources/real-time-payments-transfers.d.mts +4 -4
  64. package/resources/real-time-payments-transfers.d.mts.map +1 -1
  65. package/resources/real-time-payments-transfers.d.ts +4 -4
  66. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  67. package/resources/simulations/card-authorizations.d.mts +4 -1
  68. package/resources/simulations/card-authorizations.d.mts.map +1 -1
  69. package/resources/simulations/card-authorizations.d.ts +4 -1
  70. package/resources/simulations/card-authorizations.d.ts.map +1 -1
  71. package/resources/simulations/card-authorizations.js +4 -1
  72. package/resources/simulations/card-authorizations.js.map +1 -1
  73. package/resources/simulations/card-authorizations.mjs +4 -1
  74. package/resources/simulations/card-authorizations.mjs.map +1 -1
  75. package/resources/simulations/inbound-ach-transfers.d.mts +2 -1
  76. package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -1
  77. package/resources/simulations/inbound-ach-transfers.d.ts +2 -1
  78. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
  79. package/resources/simulations/inbound-mail-items.d.mts +8 -3
  80. package/resources/simulations/inbound-mail-items.d.mts.map +1 -1
  81. package/resources/simulations/inbound-mail-items.d.ts +8 -3
  82. package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
  83. package/resources/simulations/inbound-mail-items.js +4 -1
  84. package/resources/simulations/inbound-mail-items.js.map +1 -1
  85. package/resources/simulations/inbound-mail-items.mjs +4 -1
  86. package/resources/simulations/inbound-mail-items.mjs.map +1 -1
  87. package/resources/simulations/physical-cards.d.mts +6 -4
  88. package/resources/simulations/physical-cards.d.mts.map +1 -1
  89. package/resources/simulations/physical-cards.d.ts +6 -4
  90. package/resources/simulations/physical-cards.d.ts.map +1 -1
  91. package/resources/supplemental-documents.d.mts +1 -1
  92. package/resources/supplemental-documents.d.ts +1 -1
  93. package/resources/swift-transfers.d.mts +3 -3
  94. package/resources/swift-transfers.d.mts.map +1 -1
  95. package/resources/swift-transfers.d.ts +3 -3
  96. package/resources/swift-transfers.d.ts.map +1 -1
  97. package/resources/transactions.d.mts +6 -3
  98. package/resources/transactions.d.mts.map +1 -1
  99. package/resources/transactions.d.ts +6 -3
  100. package/resources/transactions.d.ts.map +1 -1
  101. package/resources/wire-transfers.d.mts +3 -3
  102. package/resources/wire-transfers.d.mts.map +1 -1
  103. package/resources/wire-transfers.d.ts +3 -3
  104. package/resources/wire-transfers.d.ts.map +1 -1
  105. package/src/resources/accounts.ts +3 -2
  106. package/src/resources/ach-transfers.ts +47 -31
  107. package/src/resources/beneficial-owners.ts +6 -3
  108. package/src/resources/card-push-transfers.ts +4 -4
  109. package/src/resources/check-transfers.ts +7 -2
  110. package/src/resources/entities.ts +28 -16
  111. package/src/resources/fednow-transfers.ts +3 -3
  112. package/src/resources/inbound-mail-items.ts +6 -2
  113. package/src/resources/inbound-real-time-payments-transfers.ts +2 -1
  114. package/src/resources/lockbox-addresses.ts +9 -2
  115. package/src/resources/lockbox-recipients.ts +2 -1
  116. package/src/resources/pending-transactions.ts +7 -2
  117. package/src/resources/physical-cards.ts +6 -3
  118. package/src/resources/real-time-payments-transfers.ts +4 -4
  119. package/src/resources/simulations/card-authorizations.ts +4 -1
  120. package/src/resources/simulations/inbound-ach-transfers.ts +2 -1
  121. package/src/resources/simulations/inbound-mail-items.ts +8 -3
  122. package/src/resources/simulations/physical-cards.ts +12 -4
  123. package/src/resources/supplemental-documents.ts +1 -1
  124. package/src/resources/swift-transfers.ts +3 -3
  125. package/src/resources/transactions.ts +6 -3
  126. package/src/resources/wire-transfers.ts +3 -3
  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
@@ -75,7 +75,8 @@ export interface InboundACHTransferCreateParams {
75
75
  company_id?: string;
76
76
 
77
77
  /**
78
- * The name of the sender.
78
+ * The name of the sender. This corresponds to the `originator_company_name` field
79
+ * on the resulting Inbound ACH Transfer.
79
80
  */
80
81
  company_name?: string;
81
82
 
@@ -8,7 +8,10 @@ import { RequestOptions } from '../../internal/request-options';
8
8
  export class InboundMailItems extends APIResource {
9
9
  /**
10
10
  * Simulates an Inbound Mail Item to one of your Lockbox Addresses or Lockbox
11
- * Recipients, as if someone had mailed a physical check.
11
+ * Recipients, as if someone had mailed a physical check. Increase automatically
12
+ * deposits a check mailed to a Lockbox Recipient into the recipient's Account. A
13
+ * check mailed to a Lockbox Address must be deposited or ignored with the
14
+ * [Action an Inbound Mail Item](#inbound-mail-items) endpoint.
12
15
  *
13
16
  * @example
14
17
  * ```ts
@@ -39,12 +42,14 @@ export interface InboundMailItemCreateParams {
39
42
  contents_file_id?: string;
40
43
 
41
44
  /**
42
- * The identifier of the Lockbox Address to simulate inbound mail to.
45
+ * The identifier of the Lockbox Address to simulate inbound mail to. Exactly one
46
+ * lockbox identifier parameter must be provided.
43
47
  */
44
48
  lockbox_address_id?: string;
45
49
 
46
50
  /**
47
- * The identifier of the Lockbox Recipient to simulate inbound mail to.
51
+ * The identifier of the Lockbox Recipient to simulate inbound mail to. Exactly one
52
+ * lockbox identifier parameter must be provided.
48
53
  */
49
54
  lockbox_recipient_id?: string;
50
55
 
@@ -69,11 +69,19 @@ export interface PhysicalCardCreateParams {
69
69
  * event.
70
70
  * - `delivery_issue` - There is an issue preventing delivery. The delivery will be
71
71
  * attempted again if possible. If the issue cannot be resolved, the physical
72
- * card will be returned to sender.
73
- * - `returned_to_sender` - Delivery failed and the physical card was returned to
74
- * sender.
72
+ * card will be rerouted to the return address.
73
+ * - `returning_to_sender` - The physical card has been rerouted to the return
74
+ * address.
75
+ * - `returned_to_sender` - The physical card has been delivered to the return
76
+ * address.
75
77
  */
76
- category: 'in_transit' | 'processed_for_delivery' | 'delivered' | 'delivery_issue' | 'returned_to_sender';
78
+ category:
79
+ | 'in_transit'
80
+ | 'processed_for_delivery'
81
+ | 'delivered'
82
+ | 'delivery_issue'
83
+ | 'returning_to_sender'
84
+ | 'returned_to_sender';
77
85
 
78
86
  /**
79
87
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the
@@ -53,7 +53,7 @@ export type EntitySupplementalDocumentsPage = Page<EntitySupplementalDocument>;
53
53
 
54
54
  /**
55
55
  * Supplemental Documents are uploaded files connected to an Entity during
56
- * onboarding.
56
+ * onboarding. Not all programs require supplemental documents.
57
57
  */
58
58
  export interface EntitySupplementalDocument {
59
59
  /**
@@ -205,10 +205,10 @@ export interface SwiftTransfer {
205
205
  *
206
206
  * - `pending_approval` - The transfer is pending approval.
207
207
  * - `canceled` - The transfer has been canceled.
208
+ * - `pending_initiating` - The transfer is pending initiation.
208
209
  * - `pending_reviewing` - The transfer is pending review by Increase.
209
210
  * - `requires_attention` - The transfer requires attention from an Increase
210
211
  * operator.
211
- * - `pending_initiating` - The transfer is pending initiation.
212
212
  * - `initiated` - The transfer has been initiated.
213
213
  * - `rejected` - The transfer has been rejected by Increase.
214
214
  * - `returned` - The transfer has been returned.
@@ -216,9 +216,9 @@ export interface SwiftTransfer {
216
216
  status:
217
217
  | 'pending_approval'
218
218
  | 'canceled'
219
+ | 'pending_initiating'
219
220
  | 'pending_reviewing'
220
221
  | 'requires_attention'
221
- | 'pending_initiating'
222
222
  | 'initiated'
223
223
  | 'rejected'
224
224
  | 'returned';
@@ -592,9 +592,9 @@ export namespace SwiftTransferListParams {
592
592
  in?: Array<
593
593
  | 'pending_approval'
594
594
  | 'canceled'
595
+ | 'pending_initiating'
595
596
  | 'pending_reviewing'
596
597
  | 'requires_attention'
597
- | 'pending_initiating'
598
598
  | 'initiated'
599
599
  | 'rejected'
600
600
  | 'returned'
@@ -288,7 +288,8 @@ export namespace Transaction {
288
288
  * Return is created when an ACH Transfer is returned by the receiving bank. It
289
289
  * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
290
290
  * the first two business days after the transfer is initiated, but can occur much
291
- * later.
291
+ * later. The return appears as a new posted Transaction; no Pending Transaction is
292
+ * created.
292
293
  */
293
294
  ach_transfer_return?: Source.ACHTransferReturn | null;
294
295
 
@@ -686,7 +687,8 @@ export namespace Transaction {
686
687
  * Return is created when an ACH Transfer is returned by the receiving bank. It
687
688
  * offsets the ACH Transfer Intention. ACH Transfer Returns usually occur within
688
689
  * the first two business days after the transfer is initiated, but can occur much
689
- * later.
690
+ * later. The return appears as a new posted Transaction; no Pending Transaction is
691
+ * created.
690
692
  */
691
693
  export interface ACHTransferReturn {
692
694
  /**
@@ -941,7 +943,8 @@ export namespace Transaction {
941
943
  transaction_id: string;
942
944
 
943
945
  /**
944
- * The identifier of the ACH Transfer associated with this return.
946
+ * The identifier of the ACH Transfer associated with this return. This matches the
947
+ * original Transaction's `source.ach_transfer_intention.transfer_id`.
945
948
  */
946
949
  transfer_id: string;
947
950
 
@@ -209,11 +209,11 @@ export interface WireTransfer {
209
209
  *
210
210
  * - `pending_approval` - The transfer is pending approval.
211
211
  * - `canceled` - The transfer has been canceled.
212
+ * - `pending_creating` - The transfer is pending creation.
212
213
  * - `pending_reviewing` - The transfer is pending review by Increase.
213
214
  * - `rejected` - The transfer has been rejected by Increase.
214
215
  * - `requires_attention` - The transfer requires attention from an Increase
215
216
  * operator.
216
- * - `pending_creating` - The transfer is pending creation.
217
217
  * - `reversed` - The transfer has been reversed.
218
218
  * - `submitted` - The transfer has been submitted to Fedwire.
219
219
  * - `complete` - The transfer has been acknowledged by Fedwire and can be
@@ -222,10 +222,10 @@ export interface WireTransfer {
222
222
  status:
223
223
  | 'pending_approval'
224
224
  | 'canceled'
225
+ | 'pending_creating'
225
226
  | 'pending_reviewing'
226
227
  | 'rejected'
227
228
  | 'requires_attention'
228
- | 'pending_creating'
229
229
  | 'reversed'
230
230
  | 'submitted'
231
231
  | 'complete';
@@ -904,10 +904,10 @@ export namespace WireTransferListParams {
904
904
  in?: Array<
905
905
  | 'pending_approval'
906
906
  | 'canceled'
907
+ | 'pending_creating'
907
908
  | 'pending_reviewing'
908
909
  | 'rejected'
909
910
  | 'requires_attention'
910
- | 'pending_creating'
911
911
  | 'reversed'
912
912
  | 'submitted'
913
913
  | 'complete'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.573.0'; // x-release-please-version
1
+ export const VERSION = '0.575.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.573.0";
1
+ export declare const VERSION = "0.575.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.573.0";
1
+ export declare const VERSION = "0.575.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.573.0'; // x-release-please-version
4
+ exports.VERSION = '0.575.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.573.0'; // x-release-please-version
1
+ export const VERSION = '0.575.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map