increase 0.572.0 → 0.574.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.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +3 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +3 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-transfers.d.mts +47 -31
- package/resources/ach-transfers.d.mts.map +1 -1
- package/resources/ach-transfers.d.ts +47 -31
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/beneficial-owners.d.mts +4 -2
- package/resources/beneficial-owners.d.mts.map +1 -1
- package/resources/beneficial-owners.d.ts +4 -2
- package/resources/beneficial-owners.d.ts.map +1 -1
- package/resources/card-push-transfers.d.mts +4 -4
- package/resources/card-push-transfers.d.mts.map +1 -1
- package/resources/card-push-transfers.d.ts +4 -4
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/check-transfers.d.mts +4 -3
- package/resources/check-transfers.d.mts.map +1 -1
- package/resources/check-transfers.d.ts +4 -3
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/entities.d.mts +18 -9
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +18 -9
- package/resources/entities.d.ts.map +1 -1
- package/resources/fednow-transfers.d.mts +3 -3
- package/resources/fednow-transfers.d.mts.map +1 -1
- package/resources/fednow-transfers.d.ts +3 -3
- package/resources/fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-fednow-transfers.d.mts +6 -0
- package/resources/inbound-fednow-transfers.d.mts.map +1 -1
- package/resources/inbound-fednow-transfers.d.ts +6 -0
- package/resources/inbound-fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-mail-items.d.mts +6 -2
- package/resources/inbound-mail-items.d.mts.map +1 -1
- package/resources/inbound-mail-items.d.ts +6 -2
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js +3 -1
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs +3 -1
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.mts +2 -1
- package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.ts +2 -1
- package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/lockbox-addresses.d.mts +9 -2
- package/resources/lockbox-addresses.d.mts.map +1 -1
- package/resources/lockbox-addresses.d.ts +9 -2
- package/resources/lockbox-addresses.d.ts.map +1 -1
- package/resources/lockbox-addresses.js +4 -1
- package/resources/lockbox-addresses.js.map +1 -1
- package/resources/lockbox-addresses.mjs +4 -1
- package/resources/lockbox-addresses.mjs.map +1 -1
- package/resources/lockbox-recipients.d.mts +2 -1
- package/resources/lockbox-recipients.d.mts.map +1 -1
- package/resources/lockbox-recipients.d.ts +2 -1
- package/resources/lockbox-recipients.d.ts.map +1 -1
- package/resources/pending-transactions.d.mts +7 -2
- package/resources/pending-transactions.d.mts.map +1 -1
- package/resources/pending-transactions.d.ts +7 -2
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/physical-cards.d.mts +6 -4
- package/resources/physical-cards.d.mts.map +1 -1
- package/resources/physical-cards.d.ts +6 -4
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.d.mts +4 -4
- package/resources/real-time-payments-transfers.d.mts.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +4 -4
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.d.mts +4 -1
- package/resources/simulations/card-authorizations.d.mts.map +1 -1
- package/resources/simulations/card-authorizations.d.ts +4 -1
- package/resources/simulations/card-authorizations.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.js +4 -1
- package/resources/simulations/card-authorizations.js.map +1 -1
- package/resources/simulations/card-authorizations.mjs +4 -1
- package/resources/simulations/card-authorizations.mjs.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.mts +2 -1
- package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.ts +2 -1
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.mts +8 -3
- package/resources/simulations/inbound-mail-items.d.mts.map +1 -1
- package/resources/simulations/inbound-mail-items.d.ts +8 -3
- package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.js +4 -1
- package/resources/simulations/inbound-mail-items.js.map +1 -1
- package/resources/simulations/inbound-mail-items.mjs +4 -1
- package/resources/simulations/inbound-mail-items.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.mts +6 -4
- package/resources/simulations/physical-cards.d.mts.map +1 -1
- package/resources/simulations/physical-cards.d.ts +6 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/swift-transfers.d.mts +3 -3
- package/resources/swift-transfers.d.mts.map +1 -1
- package/resources/swift-transfers.d.ts +3 -3
- package/resources/swift-transfers.d.ts.map +1 -1
- package/resources/transactions.d.mts +6 -3
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +6 -3
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-transfers.d.mts +3 -3
- package/resources/wire-transfers.d.mts.map +1 -1
- package/resources/wire-transfers.d.ts +3 -3
- package/resources/wire-transfers.d.ts.map +1 -1
- package/src/resources/accounts.ts +3 -2
- package/src/resources/ach-transfers.ts +47 -31
- package/src/resources/beneficial-owners.ts +4 -2
- package/src/resources/card-push-transfers.ts +4 -4
- package/src/resources/check-transfers.ts +4 -2
- package/src/resources/entities.ts +18 -9
- package/src/resources/fednow-transfers.ts +3 -3
- package/src/resources/inbound-fednow-transfers.ts +7 -0
- package/src/resources/inbound-mail-items.ts +6 -2
- package/src/resources/inbound-real-time-payments-transfers.ts +2 -1
- package/src/resources/lockbox-addresses.ts +9 -2
- package/src/resources/lockbox-recipients.ts +2 -1
- package/src/resources/pending-transactions.ts +7 -2
- package/src/resources/physical-cards.ts +6 -3
- package/src/resources/real-time-payments-transfers.ts +4 -4
- package/src/resources/simulations/card-authorizations.ts +4 -1
- package/src/resources/simulations/inbound-ach-transfers.ts +2 -1
- package/src/resources/simulations/inbound-mail-items.ts +8 -3
- package/src/resources/simulations/physical-cards.ts +12 -4
- package/src/resources/swift-transfers.ts +3 -3
- package/src/resources/transactions.ts +6 -3
- package/src/resources/wire-transfers.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1325,7 +1325,8 @@ export namespace EntityCreateParams {
|
|
|
1325
1325
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
* The legal identifier of the corporation. This is usually the Employer
|
|
1328
|
-
* Identification Number (EIN).
|
|
1328
|
+
* Identification Number (EIN). This replaces the deprecated `tax_identifier`
|
|
1329
|
+
* field.
|
|
1329
1330
|
*/
|
|
1330
1331
|
legal_identifier: Corporation.LegalIdentifier;
|
|
1331
1332
|
|
|
@@ -1539,7 +1540,8 @@ export namespace EntityCreateParams {
|
|
|
1539
1540
|
* An identification number that can be used to verify the individual's identity,
|
|
1540
1541
|
* such as a social security number. For Social Security Numbers and Individual
|
|
1541
1542
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
1542
|
-
* separators.
|
|
1543
|
+
* separators. When testing in sandbox, use one of our
|
|
1544
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1543
1545
|
*/
|
|
1544
1546
|
number: string;
|
|
1545
1547
|
|
|
@@ -1651,12 +1653,14 @@ export namespace EntityCreateParams {
|
|
|
1651
1653
|
|
|
1652
1654
|
/**
|
|
1653
1655
|
* The legal identifier of the corporation. This is usually the Employer
|
|
1654
|
-
* Identification Number (EIN).
|
|
1656
|
+
* Identification Number (EIN). This replaces the deprecated `tax_identifier`
|
|
1657
|
+
* field.
|
|
1655
1658
|
*/
|
|
1656
1659
|
export interface LegalIdentifier {
|
|
1657
1660
|
/**
|
|
1658
1661
|
* The legal identifier. For US Employer Identification Numbers, submit nine digits
|
|
1659
|
-
* with no dashes or other separators.
|
|
1662
|
+
* with no dashes or other separators. When testing in sandbox, use one of our
|
|
1663
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1660
1664
|
*/
|
|
1661
1665
|
value: string;
|
|
1662
1666
|
|
|
@@ -1865,7 +1869,8 @@ export namespace EntityCreateParams {
|
|
|
1865
1869
|
* An identification number that can be used to verify the individual's identity,
|
|
1866
1870
|
* such as a social security number. For Social Security Numbers and Individual
|
|
1867
1871
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
1868
|
-
* separators.
|
|
1872
|
+
* separators. When testing in sandbox, use one of our
|
|
1873
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
1869
1874
|
*/
|
|
1870
1875
|
number: string;
|
|
1871
1876
|
|
|
@@ -2075,7 +2080,8 @@ export namespace EntityCreateParams {
|
|
|
2075
2080
|
* An identification number that can be used to verify the individual's identity,
|
|
2076
2081
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2077
2082
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2078
|
-
* separators.
|
|
2083
|
+
* separators. When testing in sandbox, use one of our
|
|
2084
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2079
2085
|
*/
|
|
2080
2086
|
number: string;
|
|
2081
2087
|
|
|
@@ -2453,7 +2459,8 @@ export namespace EntityCreateParams {
|
|
|
2453
2459
|
* An identification number that can be used to verify the individual's identity,
|
|
2454
2460
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2455
2461
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2456
|
-
* separators.
|
|
2462
|
+
* separators. When testing in sandbox, use one of our
|
|
2463
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2457
2464
|
*/
|
|
2458
2465
|
number: string;
|
|
2459
2466
|
|
|
@@ -2660,7 +2667,8 @@ export namespace EntityCreateParams {
|
|
|
2660
2667
|
* An identification number that can be used to verify the individual's identity,
|
|
2661
2668
|
* such as a social security number. For Social Security Numbers and Individual
|
|
2662
2669
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
2663
|
-
* separators.
|
|
2670
|
+
* separators. When testing in sandbox, use one of our
|
|
2671
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
2664
2672
|
*/
|
|
2665
2673
|
number: string;
|
|
2666
2674
|
|
|
@@ -3081,7 +3089,8 @@ export namespace EntityUpdateParams {
|
|
|
3081
3089
|
* An identification number that can be used to verify the individual's identity,
|
|
3082
3090
|
* such as a social security number. For Social Security Numbers and Individual
|
|
3083
3091
|
* Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
3084
|
-
* separators.
|
|
3092
|
+
* separators. When testing in sandbox, use one of our
|
|
3093
|
+
* [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
3085
3094
|
*/
|
|
3086
3095
|
number: string;
|
|
3087
3096
|
|
|
@@ -199,25 +199,25 @@ export interface FednowTransfer {
|
|
|
199
199
|
/**
|
|
200
200
|
* The lifecycle status of the transfer.
|
|
201
201
|
*
|
|
202
|
+
* - `pending_submitting` - The transfer is queued to be submitted to FedNow.
|
|
202
203
|
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
203
204
|
* - `canceled` - The transfer has been canceled.
|
|
204
205
|
* - `reviewing_rejected` - The transfer has been rejected by Increase.
|
|
205
206
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
206
207
|
* operator.
|
|
207
208
|
* - `pending_approval` - The transfer is pending approval.
|
|
208
|
-
* - `pending_submitting` - The transfer is queued to be submitted to FedNow.
|
|
209
209
|
* - `pending_response` - The transfer has been submitted and is pending a response
|
|
210
210
|
* from FedNow.
|
|
211
211
|
* - `complete` - The transfer has been sent successfully and is complete.
|
|
212
212
|
* - `rejected` - The transfer was rejected by the network or the recipient's bank.
|
|
213
213
|
*/
|
|
214
214
|
status:
|
|
215
|
+
| 'pending_submitting'
|
|
215
216
|
| 'pending_reviewing'
|
|
216
217
|
| 'canceled'
|
|
217
218
|
| 'reviewing_rejected'
|
|
218
219
|
| 'requires_attention'
|
|
219
220
|
| 'pending_approval'
|
|
220
|
-
| 'pending_submitting'
|
|
221
221
|
| 'pending_response'
|
|
222
222
|
| 'complete'
|
|
223
223
|
| 'rejected';
|
|
@@ -632,12 +632,12 @@ export namespace FednowTransferListParams {
|
|
|
632
632
|
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
633
633
|
*/
|
|
634
634
|
in?: Array<
|
|
635
|
+
| 'pending_submitting'
|
|
635
636
|
| 'pending_reviewing'
|
|
636
637
|
| 'canceled'
|
|
637
638
|
| 'reviewing_rejected'
|
|
638
639
|
| 'requires_attention'
|
|
639
640
|
| 'pending_approval'
|
|
640
|
-
| 'pending_submitting'
|
|
641
641
|
| 'pending_response'
|
|
642
642
|
| 'complete'
|
|
643
643
|
| 'rejected'
|
|
@@ -139,6 +139,13 @@ export interface InboundFednowTransfer {
|
|
|
139
139
|
*/
|
|
140
140
|
type: 'inbound_fednow_transfer';
|
|
141
141
|
|
|
142
|
+
/**
|
|
143
|
+
* The Unique End-to-end Transaction Reference
|
|
144
|
+
* ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
|
|
145
|
+
* of the transfer.
|
|
146
|
+
*/
|
|
147
|
+
unique_end_to_end_transaction_reference: string | null;
|
|
148
|
+
|
|
142
149
|
/**
|
|
143
150
|
* Additional information included with the transfer.
|
|
144
151
|
*/
|
|
@@ -41,7 +41,9 @@ export class InboundMailItems extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Deposits or ignores each check contained in a pending Inbound Mail Item.
|
|
45
|
+
* Depositing a check creates a [Check Deposit](#check-deposits) into the Account
|
|
46
|
+
* you specify.
|
|
45
47
|
*
|
|
46
48
|
* @example
|
|
47
49
|
* ```ts
|
|
@@ -67,7 +69,9 @@ export type InboundMailItemsPage = Page<InboundMailItem>;
|
|
|
67
69
|
|
|
68
70
|
/**
|
|
69
71
|
* Inbound Mail Items represent pieces of physical mail delivered to a Lockbox
|
|
70
|
-
* Address.
|
|
72
|
+
* Address. Increase automatically deposits checks mailed to a Lockbox Recipient
|
|
73
|
+
* into the recipient's Account. Checks that are not matched to a Lockbox Recipient
|
|
74
|
+
* must be deposited or ignored using the Action an Inbound Mail Item endpoint.
|
|
71
75
|
*/
|
|
72
76
|
export interface InboundMailItem {
|
|
73
77
|
/**
|
|
@@ -126,7 +126,8 @@ export interface InboundRealTimePaymentsTransfer {
|
|
|
126
126
|
* The lifecycle status of the transfer.
|
|
127
127
|
*
|
|
128
128
|
* - `pending_confirming` - The transfer is pending confirmation.
|
|
129
|
-
* - `timed_out` - The transfer was not responded to in time.
|
|
129
|
+
* - `timed_out` - The transfer was not responded to in time. This is rare and
|
|
130
|
+
* represents an error at Increase.
|
|
130
131
|
* - `confirmed` - The transfer has been received successfully and is confirmed.
|
|
131
132
|
* - `declined` - The transfer has been declined.
|
|
132
133
|
*/
|
|
@@ -8,7 +8,10 @@ import { path } from '../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class LockboxAddresses extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* The Lockbox Address starts with a `pending` status and a null `address`. Shortly
|
|
12
|
+
* after creation, Increase generates the mailing address and the status becomes
|
|
13
|
+
* `active`. You can only create Lockbox Recipients for an `active` Lockbox
|
|
14
|
+
* Address.
|
|
12
15
|
*
|
|
13
16
|
* @example
|
|
14
17
|
* ```ts
|
|
@@ -76,7 +79,11 @@ export type LockboxAddressesPage = Page<LockboxAddress>;
|
|
|
76
79
|
|
|
77
80
|
/**
|
|
78
81
|
* Lockbox Addresses are physical locations that can receive mail containing paper
|
|
79
|
-
* checks.
|
|
82
|
+
* checks. A Lockbox Address is not itself linked to an Account; Lockbox Recipients
|
|
83
|
+
* determine where checks received at the address are deposited. Lockbox Addresses
|
|
84
|
+
* are created with a `pending` status and a null `address`. Increase generates the
|
|
85
|
+
* mailing address shortly after creation, at which point the status becomes
|
|
86
|
+
* `active`.
|
|
80
87
|
*/
|
|
81
88
|
export interface LockboxAddress {
|
|
82
89
|
/**
|
|
@@ -156,7 +156,8 @@ export interface LockboxRecipientCreateParams {
|
|
|
156
156
|
account_id: string;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The Lockbox Address where this Lockbox Recipient may receive mail.
|
|
159
|
+
* The Lockbox Address where this Lockbox Recipient may receive mail. The Lockbox
|
|
160
|
+
* Address must have a `status` of `active`.
|
|
160
161
|
*/
|
|
161
162
|
lockbox_address_id: string;
|
|
162
163
|
|
|
@@ -100,7 +100,10 @@ export interface PendingTransaction {
|
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
103
|
-
* for example, this is cents.
|
|
103
|
+
* for example, this is cents. This amount does not change after the Pending
|
|
104
|
+
* Transaction is created. If a card authorization settles for a different amount,
|
|
105
|
+
* the settled amount is available on the resulting Transaction and on the Card
|
|
106
|
+
* Payment's `state.settled_amount`.
|
|
104
107
|
*/
|
|
105
108
|
amount: number;
|
|
106
109
|
|
|
@@ -168,7 +171,9 @@ export interface PendingTransaction {
|
|
|
168
171
|
* - `pending` - The Pending Transaction is still awaiting confirmation.
|
|
169
172
|
* - `complete` - The Pending Transaction is confirmed. An associated Transaction
|
|
170
173
|
* exists for this object. The Pending Transaction will no longer count against
|
|
171
|
-
* your balance and can generally be hidden from UIs, etc.
|
|
174
|
+
* your balance and can generally be hidden from UIs, etc. The Pending
|
|
175
|
+
* Transaction's `amount` is not updated if the associated Transaction settles
|
|
176
|
+
* for a different amount.
|
|
172
177
|
*/
|
|
173
178
|
status: 'pending' | 'complete';
|
|
174
179
|
|
|
@@ -329,15 +329,18 @@ export namespace PhysicalCard {
|
|
|
329
329
|
* event.
|
|
330
330
|
* - `delivery_issue` - There is an issue preventing delivery. The delivery will be
|
|
331
331
|
* attempted again if possible. If the issue cannot be resolved, the physical
|
|
332
|
-
* card will be
|
|
333
|
-
* - `
|
|
334
|
-
*
|
|
332
|
+
* card will be rerouted to the return address.
|
|
333
|
+
* - `returning_to_sender` - The physical card has been rerouted to the return
|
|
334
|
+
* address.
|
|
335
|
+
* - `returned_to_sender` - The physical card has been delivered to the return
|
|
336
|
+
* address.
|
|
335
337
|
*/
|
|
336
338
|
category:
|
|
337
339
|
| 'in_transit'
|
|
338
340
|
| 'processed_for_delivery'
|
|
339
341
|
| 'delivered'
|
|
340
342
|
| 'delivery_issue'
|
|
343
|
+
| 'returning_to_sender'
|
|
341
344
|
| 'returned_to_sender';
|
|
342
345
|
|
|
343
346
|
/**
|
|
@@ -226,12 +226,12 @@ export interface RealTimePaymentsTransfer {
|
|
|
226
226
|
*
|
|
227
227
|
* - `pending_approval` - The transfer is pending approval.
|
|
228
228
|
* - `canceled` - The transfer has been canceled.
|
|
229
|
+
* - `pending_submission` - The transfer is queued to be submitted to Real-Time
|
|
230
|
+
* Payments.
|
|
229
231
|
* - `pending_reviewing` - The transfer is pending review by Increase.
|
|
230
232
|
* - `requires_attention` - The transfer requires attention from an Increase
|
|
231
233
|
* operator.
|
|
232
234
|
* - `rejected` - The transfer was rejected by the network or the recipient's bank.
|
|
233
|
-
* - `pending_submission` - The transfer is queued to be submitted to Real-Time
|
|
234
|
-
* Payments.
|
|
235
235
|
* - `submitted` - The transfer has been submitted and is pending a response from
|
|
236
236
|
* Real-Time Payments.
|
|
237
237
|
* - `complete` - The transfer has been sent successfully and is complete.
|
|
@@ -239,10 +239,10 @@ export interface RealTimePaymentsTransfer {
|
|
|
239
239
|
status:
|
|
240
240
|
| 'pending_approval'
|
|
241
241
|
| 'canceled'
|
|
242
|
+
| 'pending_submission'
|
|
242
243
|
| 'pending_reviewing'
|
|
243
244
|
| 'requires_attention'
|
|
244
245
|
| 'rejected'
|
|
245
|
-
| 'pending_submission'
|
|
246
246
|
| 'submitted'
|
|
247
247
|
| 'complete';
|
|
248
248
|
|
|
@@ -631,10 +631,10 @@ export namespace RealTimePaymentsTransferListParams {
|
|
|
631
631
|
in?: Array<
|
|
632
632
|
| 'pending_approval'
|
|
633
633
|
| 'canceled'
|
|
634
|
+
| 'pending_submission'
|
|
634
635
|
| 'pending_reviewing'
|
|
635
636
|
| 'requires_attention'
|
|
636
637
|
| 'rejected'
|
|
637
|
-
| 'pending_submission'
|
|
638
638
|
| 'submitted'
|
|
639
639
|
| 'complete'
|
|
640
640
|
>;
|
|
@@ -14,7 +14,10 @@ export class CardAuthorizations extends APIResource {
|
|
|
14
14
|
* `card_authorization` or a [Declined Transaction](#declined-transactions) of type
|
|
15
15
|
* `card_decline`. You can pass either a Card id or a
|
|
16
16
|
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
17
|
-
* ways purchases can be made.
|
|
17
|
+
* ways purchases can be made. The response will contain either a
|
|
18
|
+
* `pending_transaction` or a `declined_transaction`; the other attribute will be
|
|
19
|
+
* null. If the authorization is declined, the reason is available on the Declined
|
|
20
|
+
* Transaction at `source.card_decline.reason`.
|
|
18
21
|
*
|
|
19
22
|
* @example
|
|
20
23
|
* ```ts
|
|
@@ -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
|
|
73
|
-
* - `
|
|
74
|
-
*
|
|
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:
|
|
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
|
|
@@ -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.
|
|
1
|
+
export const VERSION = '0.574.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.574.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.574.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.574.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|