increase 0.433.0 → 0.435.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 +26 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +7 -0
- package/client.js.map +1 -1
- package/client.mjs +7 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-statements.d.mts +1 -1
- package/resources/account-statements.d.ts +1 -1
- package/resources/ach-transfers.d.mts +2 -2
- package/resources/ach-transfers.d.ts +2 -2
- package/resources/bookkeeping-accounts.d.mts +1 -1
- package/resources/bookkeeping-accounts.d.ts +1 -1
- package/resources/bookkeeping-entries.d.mts +1 -1
- package/resources/bookkeeping-entries.d.ts +1 -1
- package/resources/card-payments.d.mts +10 -10
- package/resources/card-payments.d.ts +10 -10
- package/resources/card-push-transfers.d.mts +1 -1
- package/resources/card-push-transfers.d.ts +1 -1
- package/resources/cards.d.mts +1 -0
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +1 -0
- package/resources/cards.d.ts.map +1 -1
- package/resources/digital-card-profiles.d.mts +1 -1
- package/resources/digital-card-profiles.d.ts +1 -1
- package/resources/file-links.d.mts +1 -1
- package/resources/file-links.d.ts +1 -1
- package/resources/inbound-ach-transfers.d.mts +1 -1
- package/resources/inbound-ach-transfers.d.ts +1 -1
- package/resources/inbound-mail-items.d.mts +1 -1
- package/resources/inbound-mail-items.d.ts +1 -1
- package/resources/inbound-mail-items.js +1 -1
- package/resources/inbound-mail-items.mjs +1 -1
- package/resources/inbound-wire-drawdown-requests.d.mts +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/pending-transactions.d.mts +2 -2
- package/resources/pending-transactions.d.ts +2 -2
- package/resources/physical-card-profiles.d.mts +1 -1
- package/resources/physical-card-profiles.d.ts +1 -1
- package/resources/simulations/ach-transfers.d.mts +2 -2
- package/resources/simulations/ach-transfers.d.ts +2 -2
- package/resources/simulations/ach-transfers.js +2 -2
- package/resources/simulations/ach-transfers.mjs +2 -2
- package/resources/simulations/card-increments.d.mts +1 -1
- package/resources/simulations/card-increments.d.ts +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.mts +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
- package/resources/transactions.d.mts +8 -8
- package/resources/transactions.d.ts +8 -8
- package/src/client.ts +9 -1
- package/src/resources/account-statements.ts +1 -1
- package/src/resources/ach-transfers.ts +2 -2
- package/src/resources/bookkeeping-accounts.ts +1 -1
- package/src/resources/bookkeeping-entries.ts +1 -1
- package/src/resources/card-payments.ts +10 -10
- package/src/resources/card-push-transfers.ts +1 -1
- package/src/resources/cards.ts +2 -0
- package/src/resources/digital-card-profiles.ts +1 -1
- package/src/resources/file-links.ts +1 -1
- package/src/resources/inbound-ach-transfers.ts +1 -1
- package/src/resources/inbound-mail-items.ts +1 -1
- package/src/resources/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/pending-transactions.ts +2 -2
- package/src/resources/physical-card-profiles.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +2 -2
- package/src/resources/simulations/card-increments.ts +1 -1
- package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
- package/src/resources/transactions.ts +8 -8
- 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
|
@@ -256,7 +256,7 @@ export declare namespace Transaction {
|
|
|
256
256
|
/**
|
|
257
257
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
258
258
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
259
|
-
* holds placed on a
|
|
259
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
260
260
|
*/
|
|
261
261
|
card_financial?: Source.CardFinancial | null;
|
|
262
262
|
/**
|
|
@@ -269,7 +269,7 @@ export declare namespace Transaction {
|
|
|
269
269
|
/**
|
|
270
270
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
271
271
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
272
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
272
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
273
273
|
* acquirer can also refund money directly to a card without relation to a
|
|
274
274
|
* transaction.
|
|
275
275
|
*/
|
|
@@ -876,7 +876,7 @@ export declare namespace Transaction {
|
|
|
876
876
|
/**
|
|
877
877
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
878
878
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
879
|
-
* holds placed on a
|
|
879
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
880
880
|
*/
|
|
881
881
|
interface CardFinancial {
|
|
882
882
|
/**
|
|
@@ -1497,7 +1497,7 @@ export declare namespace Transaction {
|
|
|
1497
1497
|
/**
|
|
1498
1498
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
1499
1499
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
1500
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
1500
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
1501
1501
|
* acquirer can also refund money directly to a card without relation to a
|
|
1502
1502
|
* transaction.
|
|
1503
1503
|
*/
|
|
@@ -1528,7 +1528,7 @@ export declare namespace Transaction {
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
currency: 'USD';
|
|
1530
1530
|
/**
|
|
1531
|
-
* Interchange assessed as a part of this
|
|
1531
|
+
* Interchange assessed as a part of this transaction.
|
|
1532
1532
|
*/
|
|
1533
1533
|
interchange: CardRefund.Interchange | null;
|
|
1534
1534
|
/**
|
|
@@ -1609,7 +1609,7 @@ export declare namespace Transaction {
|
|
|
1609
1609
|
currency: 'USD';
|
|
1610
1610
|
}
|
|
1611
1611
|
/**
|
|
1612
|
-
* Interchange assessed as a part of this
|
|
1612
|
+
* Interchange assessed as a part of this transaction.
|
|
1613
1613
|
*/
|
|
1614
1614
|
interface Interchange {
|
|
1615
1615
|
/**
|
|
@@ -2192,7 +2192,7 @@ export declare namespace Transaction {
|
|
|
2192
2192
|
purchase_details: CardSettlement.PurchaseDetails | null;
|
|
2193
2193
|
/**
|
|
2194
2194
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
2195
|
-
* is added to
|
|
2195
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
2196
2196
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
2197
2197
|
*/
|
|
2198
2198
|
surcharge: CardSettlement.Surcharge | null;
|
|
@@ -2677,7 +2677,7 @@ export declare namespace Transaction {
|
|
|
2677
2677
|
}
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
2680
|
-
* is added to
|
|
2680
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
2681
2681
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
2682
2682
|
*/
|
|
2683
2683
|
interface Surcharge {
|
|
@@ -256,7 +256,7 @@ export declare namespace Transaction {
|
|
|
256
256
|
/**
|
|
257
257
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
258
258
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
259
|
-
* holds placed on a
|
|
259
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
260
260
|
*/
|
|
261
261
|
card_financial?: Source.CardFinancial | null;
|
|
262
262
|
/**
|
|
@@ -269,7 +269,7 @@ export declare namespace Transaction {
|
|
|
269
269
|
/**
|
|
270
270
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
271
271
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
272
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
272
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
273
273
|
* acquirer can also refund money directly to a card without relation to a
|
|
274
274
|
* transaction.
|
|
275
275
|
*/
|
|
@@ -876,7 +876,7 @@ export declare namespace Transaction {
|
|
|
876
876
|
/**
|
|
877
877
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
878
878
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
879
|
-
* holds placed on a
|
|
879
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
880
880
|
*/
|
|
881
881
|
interface CardFinancial {
|
|
882
882
|
/**
|
|
@@ -1497,7 +1497,7 @@ export declare namespace Transaction {
|
|
|
1497
1497
|
/**
|
|
1498
1498
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
1499
1499
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
1500
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
1500
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
1501
1501
|
* acquirer can also refund money directly to a card without relation to a
|
|
1502
1502
|
* transaction.
|
|
1503
1503
|
*/
|
|
@@ -1528,7 +1528,7 @@ export declare namespace Transaction {
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
currency: 'USD';
|
|
1530
1530
|
/**
|
|
1531
|
-
* Interchange assessed as a part of this
|
|
1531
|
+
* Interchange assessed as a part of this transaction.
|
|
1532
1532
|
*/
|
|
1533
1533
|
interchange: CardRefund.Interchange | null;
|
|
1534
1534
|
/**
|
|
@@ -1609,7 +1609,7 @@ export declare namespace Transaction {
|
|
|
1609
1609
|
currency: 'USD';
|
|
1610
1610
|
}
|
|
1611
1611
|
/**
|
|
1612
|
-
* Interchange assessed as a part of this
|
|
1612
|
+
* Interchange assessed as a part of this transaction.
|
|
1613
1613
|
*/
|
|
1614
1614
|
interface Interchange {
|
|
1615
1615
|
/**
|
|
@@ -2192,7 +2192,7 @@ export declare namespace Transaction {
|
|
|
2192
2192
|
purchase_details: CardSettlement.PurchaseDetails | null;
|
|
2193
2193
|
/**
|
|
2194
2194
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
2195
|
-
* is added to
|
|
2195
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
2196
2196
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
2197
2197
|
*/
|
|
2198
2198
|
surcharge: CardSettlement.Surcharge | null;
|
|
@@ -2677,7 +2677,7 @@ export declare namespace Transaction {
|
|
|
2677
2677
|
}
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
2680
|
-
* is added to
|
|
2680
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
2681
2681
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
2682
2682
|
*/
|
|
2683
2683
|
interface Surcharge {
|
package/src/client.ts
CHANGED
|
@@ -825,7 +825,7 @@ export class Increase {
|
|
|
825
825
|
loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
|
|
826
826
|
|
|
827
827
|
const errText = await response.text().catch((err: any) => castToError(err).message);
|
|
828
|
-
const errJSON = safeJSON(errText);
|
|
828
|
+
const errJSON = safeJSON(errText) as any;
|
|
829
829
|
const errMessage = errJSON ? undefined : errText;
|
|
830
830
|
|
|
831
831
|
loggerFor(this).debug(
|
|
@@ -1098,6 +1098,14 @@ export class Increase {
|
|
|
1098
1098
|
(Symbol.iterator in body && 'next' in body && typeof body.next === 'function'))
|
|
1099
1099
|
) {
|
|
1100
1100
|
return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body as AsyncIterable<Uint8Array>) };
|
|
1101
|
+
} else if (
|
|
1102
|
+
typeof body === 'object' &&
|
|
1103
|
+
headers.values.get('content-type') === 'application/x-www-form-urlencoded'
|
|
1104
|
+
) {
|
|
1105
|
+
return {
|
|
1106
|
+
bodyHeaders: { 'content-type': 'application/x-www-form-urlencoded' },
|
|
1107
|
+
body: this.stringifyQuery(body as Record<string, unknown>),
|
|
1108
|
+
};
|
|
1101
1109
|
} else {
|
|
1102
1110
|
return this.#encoder({ body, headers });
|
|
1103
1111
|
}
|
|
@@ -224,7 +224,7 @@ export interface ACHTransfer {
|
|
|
224
224
|
individual_id: string | null;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
|
-
* The name of the transfer recipient. This value is
|
|
227
|
+
* The name of the transfer recipient. This value is informational and not verified
|
|
228
228
|
* by the recipient's bank.
|
|
229
229
|
*/
|
|
230
230
|
individual_name: string | null;
|
|
@@ -1009,7 +1009,7 @@ export namespace ACHTransfer {
|
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* When the transfer is expected to settle in the recipient's account. Credits may
|
|
1012
|
-
* be available sooner, at the receiving
|
|
1012
|
+
* be available sooner, at the receiving bank's discretion. The FedACH schedule is
|
|
1013
1013
|
* published
|
|
1014
1014
|
* [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
|
|
1015
1015
|
*/
|
|
@@ -134,7 +134,7 @@ export interface BookkeepingAccount {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* Represents a request to lookup the balance of
|
|
137
|
+
* Represents a request to lookup the balance of a Bookkeeping Account at a given
|
|
138
138
|
* point in time.
|
|
139
139
|
*/
|
|
140
140
|
export interface BookkeepingBalanceLookup {
|
|
@@ -157,7 +157,7 @@ export namespace CardPayment {
|
|
|
157
157
|
/**
|
|
158
158
|
* A Card Authorization object. This field will be present in the JSON response if
|
|
159
159
|
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
160
|
-
* temporary holds placed on a
|
|
160
|
+
* temporary holds placed on a customer's funds with the intent to later clear a
|
|
161
161
|
* transaction.
|
|
162
162
|
*/
|
|
163
163
|
card_authorization?: Element.CardAuthorization | null;
|
|
@@ -188,7 +188,7 @@ export namespace CardPayment {
|
|
|
188
188
|
/**
|
|
189
189
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
190
190
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
191
|
-
* holds placed on a
|
|
191
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
192
192
|
*/
|
|
193
193
|
card_financial?: Element.CardFinancial | null;
|
|
194
194
|
|
|
@@ -210,7 +210,7 @@ export namespace CardPayment {
|
|
|
210
210
|
/**
|
|
211
211
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
212
212
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
213
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
213
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
214
214
|
* acquirer can also refund money directly to a card without relation to a
|
|
215
215
|
* transaction.
|
|
216
216
|
*/
|
|
@@ -453,7 +453,7 @@ export namespace CardPayment {
|
|
|
453
453
|
/**
|
|
454
454
|
* A Card Authorization object. This field will be present in the JSON response if
|
|
455
455
|
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
456
|
-
* temporary holds placed on a
|
|
456
|
+
* temporary holds placed on a customer's funds with the intent to later clear a
|
|
457
457
|
* transaction.
|
|
458
458
|
*/
|
|
459
459
|
export interface CardAuthorization {
|
|
@@ -2700,7 +2700,7 @@ export namespace CardPayment {
|
|
|
2700
2700
|
/**
|
|
2701
2701
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
2702
2702
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
2703
|
-
* holds placed on a
|
|
2703
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
2704
2704
|
*/
|
|
2705
2705
|
export interface CardFinancial {
|
|
2706
2706
|
/**
|
|
@@ -3895,7 +3895,7 @@ export namespace CardPayment {
|
|
|
3895
3895
|
/**
|
|
3896
3896
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
3897
3897
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
3898
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
3898
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
3899
3899
|
* acquirer can also refund money directly to a card without relation to a
|
|
3900
3900
|
* transaction.
|
|
3901
3901
|
*/
|
|
@@ -3931,7 +3931,7 @@ export namespace CardPayment {
|
|
|
3931
3931
|
currency: 'USD';
|
|
3932
3932
|
|
|
3933
3933
|
/**
|
|
3934
|
-
* Interchange assessed as a part of this
|
|
3934
|
+
* Interchange assessed as a part of this transaction.
|
|
3935
3935
|
*/
|
|
3936
3936
|
interchange: CardRefund.Interchange | null;
|
|
3937
3937
|
|
|
@@ -4029,7 +4029,7 @@ export namespace CardPayment {
|
|
|
4029
4029
|
}
|
|
4030
4030
|
|
|
4031
4031
|
/**
|
|
4032
|
-
* Interchange assessed as a part of this
|
|
4032
|
+
* Interchange assessed as a part of this transaction.
|
|
4033
4033
|
*/
|
|
4034
4034
|
export interface Interchange {
|
|
4035
4035
|
/**
|
|
@@ -4907,7 +4907,7 @@ export namespace CardPayment {
|
|
|
4907
4907
|
|
|
4908
4908
|
/**
|
|
4909
4909
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
4910
|
-
* is added to
|
|
4910
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
4911
4911
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
4912
4912
|
*/
|
|
4913
4913
|
surcharge: CardSettlement.Surcharge | null;
|
|
@@ -5530,7 +5530,7 @@ export namespace CardPayment {
|
|
|
5530
5530
|
|
|
5531
5531
|
/**
|
|
5532
5532
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
5533
|
-
* is added to
|
|
5533
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
5534
5534
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
5535
5535
|
*/
|
|
5536
5536
|
export interface Surcharge {
|
|
@@ -949,7 +949,7 @@ export namespace CardPushTransfer {
|
|
|
949
949
|
|
|
950
950
|
/**
|
|
951
951
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
952
|
-
* the transfer was submitted to card network.
|
|
952
|
+
* the transfer was submitted to the card network.
|
|
953
953
|
*/
|
|
954
954
|
submitted_at: string;
|
|
955
955
|
|
package/src/resources/cards.ts
CHANGED
|
@@ -75,7 +75,7 @@ export interface FileLinkCreateParams {
|
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* The time at which the File Link will expire. The default is 1 hour from the time
|
|
78
|
-
* of the request. The
|
|
78
|
+
* of the request. The maximum is 1 day from the time of the request.
|
|
79
79
|
*/
|
|
80
80
|
expires_at?: string;
|
|
81
81
|
|
|
@@ -701,7 +701,7 @@ export namespace InboundACHTransfer {
|
|
|
701
701
|
updated_account_number: string | null;
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
|
-
* The new
|
|
704
|
+
* The new routing number provided in the notification of change.
|
|
705
705
|
*/
|
|
706
706
|
updated_routing_number: string | null;
|
|
707
707
|
}
|
|
@@ -67,7 +67,7 @@ export interface InboundWireDrawdownRequest {
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
70
|
-
* the inbound wire drawdown
|
|
70
|
+
* the inbound wire drawdown request was created.
|
|
71
71
|
*/
|
|
72
72
|
created_at: string;
|
|
73
73
|
|
|
@@ -275,7 +275,7 @@ export namespace PendingTransaction {
|
|
|
275
275
|
/**
|
|
276
276
|
* A Card Authorization object. This field will be present in the JSON response if
|
|
277
277
|
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
278
|
-
* temporary holds placed on a
|
|
278
|
+
* temporary holds placed on a customer's funds with the intent to later clear a
|
|
279
279
|
* transaction.
|
|
280
280
|
*/
|
|
281
281
|
card_authorization?: Source.CardAuthorization | null;
|
|
@@ -446,7 +446,7 @@ export namespace PendingTransaction {
|
|
|
446
446
|
/**
|
|
447
447
|
* A Card Authorization object. This field will be present in the JSON response if
|
|
448
448
|
* and only if `category` is equal to `card_authorization`. Card Authorizations are
|
|
449
|
-
* temporary holds placed on a
|
|
449
|
+
* temporary holds placed on a customer's funds with the intent to later clear a
|
|
450
450
|
* transaction.
|
|
451
451
|
*/
|
|
452
452
|
export interface CardAuthorization {
|
|
@@ -9,10 +9,10 @@ import { path } from '../../internal/utils/path';
|
|
|
9
9
|
export class ACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
|
|
12
|
-
* Federal Reserve. This transfer must first have a `status` of `submitted
|
|
12
|
+
* Federal Reserve. This transfer must first have a `status` of `submitted`. In
|
|
13
13
|
* production, the Federal Reserve generally acknowledges submitted ACH files
|
|
14
14
|
* within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
|
|
15
|
-
* Reserve, this endpoint allows you to skip that delay and add the
|
|
15
|
+
* Reserve, this endpoint allows you to skip that delay and add the acknowledgement
|
|
16
16
|
* subresource to the ACH Transfer.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -6,7 +6,7 @@ import { RequestOptions } from '../../internal/request-options';
|
|
|
6
6
|
|
|
7
7
|
export class DigitalWalletTokenRequests extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Simulates a user attempting add a [Card](#cards) to a digital wallet such as
|
|
9
|
+
* Simulates a user attempting to add a [Card](#cards) to a digital wallet such as
|
|
10
10
|
* Apple Pay.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
@@ -330,7 +330,7 @@ export namespace Transaction {
|
|
|
330
330
|
/**
|
|
331
331
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
332
332
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
333
|
-
* holds placed on a
|
|
333
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
334
334
|
*/
|
|
335
335
|
card_financial?: Source.CardFinancial | null;
|
|
336
336
|
|
|
@@ -345,7 +345,7 @@ export namespace Transaction {
|
|
|
345
345
|
/**
|
|
346
346
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
347
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
|
|
348
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
349
349
|
* acquirer can also refund money directly to a card without relation to a
|
|
350
350
|
* transaction.
|
|
351
351
|
*/
|
|
@@ -1101,7 +1101,7 @@ export namespace Transaction {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* A Card Financial object. This field will be present in the JSON response if and
|
|
1103
1103
|
* only if `category` is equal to `card_financial`. Card Financials are temporary
|
|
1104
|
-
* holds placed on a
|
|
1104
|
+
* holds placed on a customer's funds with the intent to later clear a transaction.
|
|
1105
1105
|
*/
|
|
1106
1106
|
export interface CardFinancial {
|
|
1107
1107
|
/**
|
|
@@ -1849,7 +1849,7 @@ export namespace Transaction {
|
|
|
1849
1849
|
/**
|
|
1850
1850
|
* A Card Refund object. This field will be present in the JSON response if and
|
|
1851
1851
|
* only if `category` is equal to `card_refund`. Card Refunds move money back to
|
|
1852
|
-
* the cardholder. While they are usually connected to a Card Settlement an
|
|
1852
|
+
* the cardholder. While they are usually connected to a Card Settlement, an
|
|
1853
1853
|
* acquirer can also refund money directly to a card without relation to a
|
|
1854
1854
|
* transaction.
|
|
1855
1855
|
*/
|
|
@@ -1885,7 +1885,7 @@ export namespace Transaction {
|
|
|
1885
1885
|
currency: 'USD';
|
|
1886
1886
|
|
|
1887
1887
|
/**
|
|
1888
|
-
* Interchange assessed as a part of this
|
|
1888
|
+
* Interchange assessed as a part of this transaction.
|
|
1889
1889
|
*/
|
|
1890
1890
|
interchange: CardRefund.Interchange | null;
|
|
1891
1891
|
|
|
@@ -1983,7 +1983,7 @@ export namespace Transaction {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
1985
|
/**
|
|
1986
|
-
* Interchange assessed as a part of this
|
|
1986
|
+
* Interchange assessed as a part of this transaction.
|
|
1987
1987
|
*/
|
|
1988
1988
|
export interface Interchange {
|
|
1989
1989
|
/**
|
|
@@ -2724,7 +2724,7 @@ export namespace Transaction {
|
|
|
2724
2724
|
|
|
2725
2725
|
/**
|
|
2726
2726
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
2727
|
-
* is added to
|
|
2727
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
2728
2728
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
2729
2729
|
*/
|
|
2730
2730
|
surcharge: CardSettlement.Surcharge | null;
|
|
@@ -3347,7 +3347,7 @@ export namespace Transaction {
|
|
|
3347
3347
|
|
|
3348
3348
|
/**
|
|
3349
3349
|
* Surcharge amount details, if applicable. The amount is positive if the surcharge
|
|
3350
|
-
* is added to
|
|
3350
|
+
* is added to the overall transaction amount (surcharge), and negative if the
|
|
3351
3351
|
* surcharge is deducted from the overall transaction amount (discount).
|
|
3352
3352
|
*/
|
|
3353
3353
|
export interface Surcharge {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.435.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.435.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.435.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.435.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|