increase 0.59.1 → 0.60.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 +18 -0
- package/README.md +41 -17
- package/error.d.ts.map +1 -1
- package/error.js +0 -3
- package/error.js.map +1 -1
- package/error.mjs +0 -3
- package/error.mjs.map +1 -1
- package/index.d.mts +190 -172
- package/index.d.ts +190 -172
- package/index.d.ts.map +1 -1
- package/index.js +96 -87
- package/index.js.map +1 -1
- package/index.mjs +96 -87
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/cards.d.ts +1 -1
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +2 -231
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/{entities/entities.d.ts → entities.d.ts} +276 -46
- package/resources/entities.d.ts.map +1 -0
- package/resources/{entities/entities.js → entities.js} +28 -17
- package/resources/entities.js.map +1 -0
- package/resources/{entities/entities.mjs → entities.mjs} +28 -17
- package/resources/entities.mjs.map +1 -0
- package/resources/groups.d.ts +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/groups.js +1 -1
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +1 -1
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +218 -7
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +8 -8
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +8 -8
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.ts +25 -1
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +6 -0
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +6 -0
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-mail-items.d.ts +0 -14
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -0
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.ts +11 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -6
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -4
- package/resources/index.mjs.map +1 -1
- package/resources/{intrafi/account-enrollments.d.ts → intrafi-account-enrollments.d.ts} +17 -17
- package/resources/intrafi-account-enrollments.d.ts.map +1 -0
- package/resources/{intrafi/account-enrollments.js → intrafi-account-enrollments.js} +11 -11
- package/resources/intrafi-account-enrollments.js.map +1 -0
- package/resources/{intrafi/account-enrollments.mjs → intrafi-account-enrollments.mjs} +9 -9
- package/resources/intrafi-account-enrollments.mjs.map +1 -0
- package/resources/{intrafi/balances.d.ts → intrafi-balances.d.ts} +7 -7
- package/resources/intrafi-balances.d.ts.map +1 -0
- package/resources/{intrafi/balances.js → intrafi-balances.js} +7 -7
- package/resources/intrafi-balances.js.map +1 -0
- package/resources/{intrafi/balances.mjs → intrafi-balances.mjs} +5 -5
- package/resources/intrafi-balances.mjs.map +1 -0
- package/resources/{intrafi/exclusions.d.ts → intrafi-exclusions.d.ts} +15 -15
- package/resources/intrafi-exclusions.d.ts.map +1 -0
- package/resources/{intrafi/exclusions.js → intrafi-exclusions.js} +11 -11
- package/resources/intrafi-exclusions.js.map +1 -0
- package/resources/{intrafi/exclusions.mjs → intrafi-exclusions.mjs} +9 -9
- package/resources/intrafi-exclusions.mjs.map +1 -0
- package/resources/lockboxes.d.ts +0 -14
- package/resources/lockboxes.d.ts.map +1 -1
- package/resources/lockboxes.js.map +1 -1
- package/resources/lockboxes.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +5 -5
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +5 -5
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +3 -3
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +10 -61
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +10 -14
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +10 -14
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-authorization-expirations.d.ts +20 -0
- package/resources/simulations/card-authorization-expirations.d.ts.map +1 -0
- package/resources/simulations/card-authorization-expirations.js +17 -0
- package/resources/simulations/card-authorization-expirations.js.map +1 -0
- package/resources/simulations/card-authorization-expirations.mjs +13 -0
- package/resources/simulations/card-authorization-expirations.mjs.map +1 -0
- package/resources/simulations/card-authorizations.d.ts +91 -0
- package/resources/simulations/card-authorizations.d.ts.map +1 -0
- package/resources/simulations/{cards.js → card-authorizations.js} +7 -17
- package/resources/simulations/card-authorizations.js.map +1 -0
- package/resources/simulations/{cards.mjs → card-authorizations.mjs} +5 -15
- package/resources/simulations/card-authorizations.mjs.map +1 -0
- package/resources/simulations/card-fuel-confirmations.d.ts +27 -0
- package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -0
- package/resources/simulations/card-fuel-confirmations.js +19 -0
- package/resources/simulations/card-fuel-confirmations.js.map +1 -0
- package/resources/simulations/card-fuel-confirmations.mjs +15 -0
- package/resources/simulations/card-fuel-confirmations.mjs.map +1 -0
- package/resources/simulations/card-increments.d.ts +32 -0
- package/resources/simulations/card-increments.d.ts.map +1 -0
- package/resources/simulations/card-increments.js +18 -0
- package/resources/simulations/card-increments.js.map +1 -0
- package/resources/simulations/card-increments.mjs +14 -0
- package/resources/simulations/card-increments.mjs.map +1 -0
- package/resources/simulations/card-reversals.d.ts +28 -0
- package/resources/simulations/card-reversals.d.ts.map +1 -0
- package/resources/simulations/card-reversals.js +20 -0
- package/resources/simulations/card-reversals.js.map +1 -0
- package/resources/simulations/card-reversals.mjs +16 -0
- package/resources/simulations/card-reversals.mjs.map +1 -0
- package/resources/simulations/card-settlements.d.ts +34 -0
- package/resources/simulations/card-settlements.d.ts.map +1 -0
- package/resources/simulations/card-settlements.js +21 -0
- package/resources/simulations/card-settlements.js.map +1 -0
- package/resources/simulations/card-settlements.mjs +17 -0
- package/resources/simulations/card-settlements.mjs.map +1 -0
- package/resources/simulations/inbound-ach-transfers.d.ts +89 -0
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-ach-transfers.js +26 -0
- package/resources/simulations/inbound-ach-transfers.js.map +1 -0
- package/resources/simulations/inbound-ach-transfers.mjs +22 -0
- package/resources/simulations/inbound-ach-transfers.mjs.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts +71 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.js +18 -0
- package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.mjs +14 -0
- package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -0
- package/resources/simulations/inbound-wire-transfers.d.ts +99 -0
- package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-wire-transfers.js +17 -0
- package/resources/simulations/inbound-wire-transfers.js.map +1 -0
- package/resources/simulations/inbound-wire-transfers.mjs +13 -0
- package/resources/simulations/inbound-wire-transfers.mjs.map +1 -0
- package/resources/simulations/index.d.ts +14 -7
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +21 -7
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +11 -4
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts +3 -3
- package/resources/simulations/physical-cards.js +2 -2
- package/resources/simulations/physical-cards.mjs +2 -2
- package/resources/simulations/real-time-payments-transfers.d.ts +0 -3686
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +0 -7
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +0 -7
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +67 -118
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +45 -54
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +45 -54
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +10 -85
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +14 -5
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +14 -5
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/{entities/supplemental-documents.d.ts → supplemental-documents.d.ts} +17 -10
- package/resources/supplemental-documents.d.ts.map +1 -0
- package/resources/{entities/supplemental-documents.js → supplemental-documents.js} +9 -9
- package/resources/supplemental-documents.js.map +1 -0
- package/resources/{entities/supplemental-documents.mjs → supplemental-documents.mjs} +7 -7
- package/resources/supplemental-documents.mjs.map +1 -0
- package/resources/transactions.d.ts +6 -276
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +4 -13
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +0 -17
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +0 -17
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/error.ts +0 -8
- package/src/index.ts +210 -189
- package/src/resources/cards.ts +1 -1
- package/src/resources/declined-transactions.ts +0 -297
- package/src/resources/{entities/entities.ts → entities.ts} +351 -56
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfers.ts +288 -13
- package/src/resources/inbound-check-deposits.ts +34 -1
- package/src/resources/inbound-mail-items.ts +0 -16
- package/src/resources/inbound-wire-transfers.ts +5 -0
- package/src/resources/index.ts +32 -14
- package/src/resources/{intrafi/account-enrollments.ts → intrafi-account-enrollments.ts} +18 -18
- package/src/resources/{intrafi/balances.ts → intrafi-balances.ts} +6 -6
- package/src/resources/{intrafi/exclusions.ts → intrafi-exclusions.ts} +19 -16
- package/src/resources/lockboxes.ts +0 -16
- package/src/resources/routing-numbers.ts +6 -6
- package/src/resources/simulations/ach-transfers.ts +15 -76
- package/src/resources/simulations/card-authorization-expirations.ts +29 -0
- package/src/resources/simulations/card-authorizations.ts +112 -0
- package/src/resources/simulations/card-fuel-confirmations.ts +37 -0
- package/src/resources/simulations/card-increments.ts +43 -0
- package/src/resources/simulations/card-reversals.ts +38 -0
- package/src/resources/simulations/card-settlements.ts +45 -0
- package/src/resources/simulations/inbound-ach-transfers.ts +124 -0
- package/src/resources/simulations/inbound-real-time-payments-transfers.ts +89 -0
- package/src/resources/simulations/inbound-wire-transfers.ts +124 -0
- package/src/resources/simulations/index.ts +26 -21
- package/src/resources/simulations/interest-payments.ts +1 -1
- package/src/resources/simulations/physical-cards.ts +5 -5
- package/src/resources/simulations/real-time-payments-transfers.ts +0 -4659
- package/src/resources/simulations/simulations.ts +80 -157
- package/src/resources/simulations/wire-transfers.ts +18 -104
- package/src/resources/{entities/supplemental-documents.ts → supplemental-documents.ts} +21 -13
- package/src/resources/transactions.ts +5 -350
- package/src/resources/wire-transfers.ts +5 -19
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/entities/beneficial-owners.d.ts +0 -279
- package/resources/entities/beneficial-owners.d.ts.map +0 -1
- package/resources/entities/beneficial-owners.js +0 -29
- package/resources/entities/beneficial-owners.js.map +0 -1
- package/resources/entities/beneficial-owners.mjs +0 -25
- package/resources/entities/beneficial-owners.mjs.map +0 -1
- package/resources/entities/entities.d.ts.map +0 -1
- package/resources/entities/entities.js.map +0 -1
- package/resources/entities/entities.mjs.map +0 -1
- package/resources/entities/index.d.ts +0 -5
- package/resources/entities/index.d.ts.map +0 -1
- package/resources/entities/index.js +0 -15
- package/resources/entities/index.js.map +0 -1
- package/resources/entities/index.mjs +0 -6
- package/resources/entities/index.mjs.map +0 -1
- package/resources/entities/industry-code.d.ts +0 -23
- package/resources/entities/industry-code.d.ts.map +0 -1
- package/resources/entities/industry-code.js +0 -17
- package/resources/entities/industry-code.js.map +0 -1
- package/resources/entities/industry-code.mjs +0 -13
- package/resources/entities/industry-code.mjs.map +0 -1
- package/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/resources/entities/supplemental-documents.js.map +0 -1
- package/resources/entities/supplemental-documents.mjs.map +0 -1
- package/resources/intrafi/account-enrollments.d.ts.map +0 -1
- package/resources/intrafi/account-enrollments.js.map +0 -1
- package/resources/intrafi/account-enrollments.mjs.map +0 -1
- package/resources/intrafi/balances.d.ts.map +0 -1
- package/resources/intrafi/balances.js.map +0 -1
- package/resources/intrafi/balances.mjs.map +0 -1
- package/resources/intrafi/exclusions.d.ts.map +0 -1
- package/resources/intrafi/exclusions.js.map +0 -1
- package/resources/intrafi/exclusions.mjs.map +0 -1
- package/resources/intrafi/index.d.ts +0 -5
- package/resources/intrafi/index.d.ts.map +0 -1
- package/resources/intrafi/index.js +0 -15
- package/resources/intrafi/index.js.map +0 -1
- package/resources/intrafi/index.mjs +0 -6
- package/resources/intrafi/index.mjs.map +0 -1
- package/resources/intrafi/intrafi.d.ts +0 -24
- package/resources/intrafi/intrafi.d.ts.map +0 -1
- package/resources/intrafi/intrafi.js +0 -48
- package/resources/intrafi/intrafi.js.map +0 -1
- package/resources/intrafi/intrafi.mjs +0 -21
- package/resources/intrafi/intrafi.mjs.map +0 -1
- package/resources/simulations/cards.d.ts +0 -1763
- package/resources/simulations/cards.d.ts.map +0 -1
- package/resources/simulations/cards.js.map +0 -1
- package/resources/simulations/cards.mjs.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.d.ts +0 -285
- package/resources/simulations/inbound-international-ach-transfers.d.ts.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.js +0 -21
- package/resources/simulations/inbound-international-ach-transfers.js.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.mjs +0 -17
- package/resources/simulations/inbound-international-ach-transfers.mjs.map +0 -1
- package/src/resources/entities/beneficial-owners.ts +0 -346
- package/src/resources/entities/index.ts +0 -25
- package/src/resources/entities/industry-code.ts +0 -33
- package/src/resources/intrafi/index.ts +0 -18
- package/src/resources/intrafi/intrafi.ts +0 -29
- package/src/resources/simulations/cards.ts +0 -2188
- package/src/resources/simulations/inbound-international-ach-transfers.ts +0 -367
package/resources/lockboxes.d.ts
CHANGED
|
@@ -99,19 +99,6 @@ export declare namespace Lockbox {
|
|
|
99
99
|
state: string;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
/**
|
|
103
|
-
* A list of Lockbox objects.
|
|
104
|
-
*/
|
|
105
|
-
export interface LockboxList {
|
|
106
|
-
/**
|
|
107
|
-
* The contents of the list.
|
|
108
|
-
*/
|
|
109
|
-
data: Array<Lockbox>;
|
|
110
|
-
/**
|
|
111
|
-
* A pointer to a place in the list.
|
|
112
|
-
*/
|
|
113
|
-
next_cursor: string | null;
|
|
114
|
-
}
|
|
115
102
|
export interface LockboxCreateParams {
|
|
116
103
|
/**
|
|
117
104
|
* The Account checks sent to this Lockbox should be deposited into.
|
|
@@ -177,7 +164,6 @@ export declare namespace LockboxListParams {
|
|
|
177
164
|
}
|
|
178
165
|
export declare namespace Lockboxes {
|
|
179
166
|
export import Lockbox = LockboxesAPI.Lockbox;
|
|
180
|
-
export import LockboxList = LockboxesAPI.LockboxList;
|
|
181
167
|
export import LockboxesPage = LockboxesAPI.LockboxesPage;
|
|
182
168
|
export import LockboxCreateParams = LockboxesAPI.LockboxCreateParams;
|
|
183
169
|
export import LockboxUpdateParams = LockboxesAPI.LockboxUpdateParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lockboxes.d.ts","sourceRoot":"","sources":["../src/resources/lockboxes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAIpF;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAI3B;;OAEG;IACH,IAAI,CAAC,KAAK,CAAC,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,CAAC;IACxG,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW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1 @@
|
|
|
1
|
-
{"version":3,"file":"lockboxes.js","sourceRoot":"","sources":["../src/resources/lockboxes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,6DAA4C;AAC5C,iDAAsD;AAEtD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAA6B;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAOD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAxCD,8BAwCC;AAED,MAAa,aAAc,SAAQ,iBAAa;CAAG;AAAnD,sCAAmD;
|
|
1
|
+
{"version":3,"file":"lockboxes.js","sourceRoot":"","sources":["../src/resources/lockboxes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;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EhC,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAA6B;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAOD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAED,MAAM,OAAO,aAAc,SAAQ,IAAa;CAAG;AAqKnD,WAAiB,SAAS;IAEV,uBAAa,GAAG,YAAY,CAAC,aAAa,CAAC;AAI3D,CAAC,EANgB,SAAS,KAAT,SAAS,QAMzB"}
|
|
@@ -9,14 +9,14 @@ export declare class RoutingNumbers extends APIResource {
|
|
|
9
9
|
* identify a bank, this will always return 0 or 1 entry. In Sandbox, the only
|
|
10
10
|
* valid routing number for this method is 110000000.
|
|
11
11
|
*/
|
|
12
|
-
list(query: RoutingNumberListParams, options?: Core.RequestOptions): Core.PagePromise<
|
|
12
|
+
list(query: RoutingNumberListParams, options?: Core.RequestOptions): Core.PagePromise<RoutingNumberListResponsesPage, RoutingNumberListResponse>;
|
|
13
13
|
}
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class RoutingNumberListResponsesPage extends Page<RoutingNumberListResponse> {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Routing numbers are used to identify your bank in a financial transaction.
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface RoutingNumberListResponse {
|
|
20
20
|
/**
|
|
21
21
|
* This routing number's support for ACH Transfers.
|
|
22
22
|
*
|
|
@@ -59,8 +59,8 @@ export interface RoutingNumberListParams extends PageParams {
|
|
|
59
59
|
routing_number: string;
|
|
60
60
|
}
|
|
61
61
|
export declare namespace RoutingNumbers {
|
|
62
|
-
export import
|
|
63
|
-
export import
|
|
62
|
+
export import RoutingNumberListResponse = RoutingNumbersAPI.RoutingNumberListResponse;
|
|
63
|
+
export import RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
|
|
64
64
|
export import RoutingNumberListParams = RoutingNumbersAPI.RoutingNumberListParams;
|
|
65
65
|
}
|
|
66
66
|
//# sourceMappingURL=routing-numbers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-numbers.d.ts","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,iBAAiB,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,
|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24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
return result;
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.
|
|
27
|
+
exports.RoutingNumberListResponsesPage = exports.RoutingNumbers = void 0;
|
|
28
28
|
const resource_1 = require("../resource.js");
|
|
29
29
|
const RoutingNumbersAPI = __importStar(require("./routing-numbers.js"));
|
|
30
30
|
const pagination_1 = require("../pagination.js");
|
|
@@ -36,14 +36,14 @@ class RoutingNumbers extends resource_1.APIResource {
|
|
|
36
36
|
* valid routing number for this method is 110000000.
|
|
37
37
|
*/
|
|
38
38
|
list(query, options) {
|
|
39
|
-
return this._client.getAPIList('/routing_numbers',
|
|
39
|
+
return this._client.getAPIList('/routing_numbers', RoutingNumberListResponsesPage, { query, ...options });
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.RoutingNumbers = RoutingNumbers;
|
|
43
|
-
class
|
|
43
|
+
class RoutingNumberListResponsesPage extends pagination_1.Page {
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
45
|
+
exports.RoutingNumberListResponsesPage = RoutingNumberListResponsesPage;
|
|
46
46
|
(function (RoutingNumbers) {
|
|
47
|
-
RoutingNumbers.
|
|
47
|
+
RoutingNumbers.RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
|
|
48
48
|
})(RoutingNumbers = exports.RoutingNumbers || (exports.RoutingNumbers = {}));
|
|
49
49
|
//# sourceMappingURL=routing-numbers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-numbers.js","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAE1C,wEAAuD;AACvD,iDAAsD;AAEtD,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"routing-numbers.js","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAE1C,wEAAuD;AACvD,iDAAsD;AAEtD,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAbD,wCAaC;AAED,MAAa,8BAA+B,SAAQ,iBAA+B;CAAG;AAAtF,wEAAsF;AAsDtF,WAAiB,cAAc;IAEf,6CAA8B,GAAG,iBAAiB,CAAC,8BAA8B,CAAC;AAElG,CAAC,EAJgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAI9B"}
|
|
@@ -10,12 +10,12 @@ export class RoutingNumbers extends APIResource {
|
|
|
10
10
|
* valid routing number for this method is 110000000.
|
|
11
11
|
*/
|
|
12
12
|
list(query, options) {
|
|
13
|
-
return this._client.getAPIList('/routing_numbers',
|
|
13
|
+
return this._client.getAPIList('/routing_numbers', RoutingNumberListResponsesPage, { query, ...options });
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
export class
|
|
16
|
+
export class RoutingNumberListResponsesPage extends Page {
|
|
17
17
|
}
|
|
18
18
|
(function (RoutingNumbers) {
|
|
19
|
-
RoutingNumbers.
|
|
19
|
+
RoutingNumbers.RoutingNumberListResponsesPage = RoutingNumbersAPI.RoutingNumberListResponsesPage;
|
|
20
20
|
})(RoutingNumbers || (RoutingNumbers = {}));
|
|
21
21
|
//# sourceMappingURL=routing-numbers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-numbers.mjs","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,iBAAiB;OACtB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"routing-numbers.mjs","sourceRoot":"","sources":["../src/resources/routing-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,iBAAiB;OACtB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAED,MAAM,OAAO,8BAA+B,SAAQ,IAA+B;CAAG;AAsDtF,WAAiB,cAAc;IAEf,6CAA8B,GAAG,iBAAiB,CAAC,8BAA8B,CAAC;AAElG,CAAC,EAJgB,cAAc,KAAd,cAAc,QAI9B"}
|
|
@@ -2,26 +2,21 @@ import { APIResource } from "../../resource.js";
|
|
|
2
2
|
import * as Core from "../../core.js";
|
|
3
3
|
import * as SimulationsACHTransfersAPI from "./ach-transfers.js";
|
|
4
4
|
import * as ACHTransfersAPI from "../ach-transfers.js";
|
|
5
|
-
import * as InboundACHTransfersAPI from "../inbound-ach-transfers.js";
|
|
6
5
|
export declare class ACHTransfers extends APIResource {
|
|
7
6
|
/**
|
|
8
|
-
* Simulates
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Alternatively, if you don't pass the `resolve_at` parameter the result will
|
|
15
|
-
* contain either a [Transaction](#transactions) or a
|
|
16
|
-
* [Declined Transaction](#declined-transactions) depending on whether or not the
|
|
17
|
-
* transfer is allowed.
|
|
7
|
+
* Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
|
|
8
|
+
* Federal Reserve. This transfer must first have a `status` of `submitted` . In
|
|
9
|
+
* production, the Federal Reserve generally acknowledges submitted ACH files
|
|
10
|
+
* within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
|
|
11
|
+
* Reserve, this endpoint allows you to skip that delay and add the acknowledgment
|
|
12
|
+
* subresource to the ACH Transfer.
|
|
18
13
|
*/
|
|
19
|
-
|
|
14
|
+
acknowledge(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
|
|
20
15
|
/**
|
|
21
16
|
* Simulates receiving a Notification of Change for an
|
|
22
17
|
* [ACH Transfer](#ach-transfers).
|
|
23
18
|
*/
|
|
24
|
-
|
|
19
|
+
createNotificationOfChange(achTransferId: string, body: ACHTransferCreateNotificationOfChangeParams, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
|
|
25
20
|
/**
|
|
26
21
|
* Simulates the return of an [ACH Transfer](#ach-transfers) by the Federal Reserve
|
|
27
22
|
* due to an error condition. This will also create a Transaction to account for
|
|
@@ -38,52 +33,7 @@ export declare class ACHTransfers extends APIResource {
|
|
|
38
33
|
*/
|
|
39
34
|
submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer>;
|
|
40
35
|
}
|
|
41
|
-
export interface
|
|
42
|
-
/**
|
|
43
|
-
* The identifier of the Account Number the inbound ACH Transfer is for.
|
|
44
|
-
*/
|
|
45
|
-
account_number_id: string;
|
|
46
|
-
/**
|
|
47
|
-
* The transfer amount in cents. A positive amount originates a credit transfer
|
|
48
|
-
* pushing funds to the receiving account. A negative amount originates a debit
|
|
49
|
-
* transfer pulling funds from the receiving account.
|
|
50
|
-
*/
|
|
51
|
-
amount: number;
|
|
52
|
-
/**
|
|
53
|
-
* The description of the date of the transfer.
|
|
54
|
-
*/
|
|
55
|
-
company_descriptive_date?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Data associated with the transfer set by the sender.
|
|
58
|
-
*/
|
|
59
|
-
company_discretionary_data?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The description of the transfer set by the sender.
|
|
62
|
-
*/
|
|
63
|
-
company_entry_description?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The sender's company ID.
|
|
66
|
-
*/
|
|
67
|
-
company_id?: string;
|
|
68
|
-
/**
|
|
69
|
-
* The name of the sender.
|
|
70
|
-
*/
|
|
71
|
-
company_name?: string;
|
|
72
|
-
/**
|
|
73
|
-
* The ID of the receiver of the transfer.
|
|
74
|
-
*/
|
|
75
|
-
receiver_id_number?: string;
|
|
76
|
-
/**
|
|
77
|
-
* The name of the receiver of the transfer.
|
|
78
|
-
*/
|
|
79
|
-
receiver_name?: string;
|
|
80
|
-
/**
|
|
81
|
-
* The time at which the transfer should be resolved. If not provided will resolve
|
|
82
|
-
* immediately.
|
|
83
|
-
*/
|
|
84
|
-
resolve_at?: string;
|
|
85
|
-
}
|
|
86
|
-
export interface ACHTransferNotificationOfChangeParams {
|
|
36
|
+
export interface ACHTransferCreateNotificationOfChangeParams {
|
|
87
37
|
/**
|
|
88
38
|
* The reason for the notification of change.
|
|
89
39
|
*
|
|
@@ -284,8 +234,7 @@ export interface ACHTransferReturnParams {
|
|
|
284
234
|
reason?: 'insufficient_fund' | 'no_account' | 'account_closed' | 'invalid_account_number_structure' | 'account_frozen_entry_returned_per_ofac_instruction' | 'credit_entry_refused_by_receiver' | 'unauthorized_debit_to_consumer_account_using_corporate_sec_code' | 'corporate_customer_advised_not_authorized' | 'payment_stopped' | 'non_transaction_account' | 'uncollected_funds' | 'routing_number_check_digit_error' | 'customer_advised_unauthorized_improper_ineligible_or_incomplete' | 'amount_field_error' | 'authorization_revoked_by_customer' | 'invalid_ach_routing_number' | 'file_record_edit_criteria' | 'enr_invalid_individual_name' | 'returned_per_odfi_request' | 'limited_participation_dfi' | 'incorrectly_coded_outbound_international_payment' | 'account_sold_to_another_dfi' | 'addenda_error' | 'beneficiary_or_account_holder_deceased' | 'customer_advised_not_within_authorization_terms' | 'corrected_return' | 'duplicate_entry' | 'duplicate_return' | 'enr_duplicate_enrollment' | 'enr_invalid_dfi_account_number' | 'enr_invalid_individual_id_number' | 'enr_invalid_representative_payee_indicator' | 'enr_invalid_transaction_code' | 'enr_return_of_enr_entry' | 'enr_routing_number_check_digit_error' | 'entry_not_processed_by_gateway' | 'field_error' | 'foreign_receiving_dfi_unable_to_settle' | 'iat_entry_coding_error' | 'improper_effective_entry_date' | 'improper_source_document_source_document_presented' | 'invalid_company_id' | 'invalid_foreign_receiving_dfi_identification' | 'invalid_individual_id_number' | 'item_and_rck_entry_presented_for_payment' | 'item_related_to_rck_entry_is_ineligible' | 'mandatory_field_error' | 'misrouted_dishonored_return' | 'misrouted_return' | 'no_errors_found' | 'non_acceptance_of_r62_dishonored_return' | 'non_participant_in_iat_program' | 'permissible_return_entry' | 'permissible_return_entry_not_accepted' | 'rdfi_non_settlement' | 'rdfi_participant_in_check_truncation_program' | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity' | 'return_not_a_duplicate' | 'return_of_erroneous_or_reversing_debit' | 'return_of_improper_credit_entry' | 'return_of_improper_debit_entry' | 'return_of_xck_entry' | 'source_document_presented_for_payment' | 'state_law_affecting_rck_acceptance' | 'stop_payment_on_item_related_to_rck_entry' | 'stop_payment_on_source_document' | 'timely_original_return' | 'trace_number_error' | 'untimely_dishonored_return' | 'untimely_return';
|
|
285
235
|
}
|
|
286
236
|
export declare namespace ACHTransfers {
|
|
287
|
-
export import
|
|
288
|
-
export import ACHTransferNotificationOfChangeParams = SimulationsACHTransfersAPI.ACHTransferNotificationOfChangeParams;
|
|
237
|
+
export import ACHTransferCreateNotificationOfChangeParams = SimulationsACHTransfersAPI.ACHTransferCreateNotificationOfChangeParams;
|
|
289
238
|
export import ACHTransferReturnParams = SimulationsACHTransfersAPI.ACHTransferReturnParams;
|
|
290
239
|
}
|
|
291
240
|
//# sourceMappingURL=ach-transfers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,0BAA0B,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,0BAA0B,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;OAOG;IACH,WAAW,CACT,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAI/C;;;OAGG;IACH,0BAA0B,CACxB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,2CAA2C,EACjD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAO/C;;;;OAIG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EA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3B,kDAAkD,GAClD,6BAA6B,GAC7B,eAAe,GACf,wCAAwC,GACxC,iDAAiD,GACjD,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,0BAA0B,GAC1B,gCAAgC,GAChC,kCAAkC,GAClC,4CAA4C,GAC5C,8BAA8B,GAC9B,yBAAyB,GACzB,sCAAsC,GACtC,gCAAgC,GAChC,aAAa,GACb,wCAAwC,GACxC,wBAAwB,GACxB,+BAA+B,GAC/B,oDAAoD,GACpD,oBAAoB,GACpB,8CAA8C,GAC9C,8BAA8B,GAC9B,0CAA0C,GAC1C,yCAAyC,GACzC,uBAAuB,GACvB,6BAA6B,GAC7B,kBAAkB,GAClB,iBAAiB,GACjB,yCAAyC,GACzC,gCAAgC,GAChC,0BAA0B,GAC1B,uCAAuC,GACvC,qBAAqB,GACrB,8CAA8C,GAC9C,sEAAsE,GACtE,wBAAwB,GACxB,wCAAwC,GACxC,iCAAiC,GACjC,gCAAgC,GAChC,qBAAqB,GACrB,uCAAuC,GACvC,oCAAoC,GACpC,2CAA2C,GAC3C,iCAAiC,GACjC,wBAAwB,GACxB,oBAAoB,GACpB,4BAA4B,GAC5B,iBAAiB,CAAC;CACvB;AAED,yBAAiB,YAAY,CAAC;IAC5B,MAAM,QAAQ,2CAA2C,GAAG,0BAA0B,CAAC,2CAA2C,CAAC;IACnI,MAAM,QAAQ,uBAAuB,GAAG,0BAA0B,CAAC,uBAAuB,CAAC;CAC5F"}
|
|
@@ -5,26 +5,22 @@ exports.ACHTransfers = void 0;
|
|
|
5
5
|
const resource_1 = require("../../resource.js");
|
|
6
6
|
class ACHTransfers extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Simulates
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Alternatively, if you don't pass the `resolve_at` parameter the result will
|
|
15
|
-
* contain either a [Transaction](#transactions) or a
|
|
16
|
-
* [Declined Transaction](#declined-transactions) depending on whether or not the
|
|
17
|
-
* transfer is allowed.
|
|
8
|
+
* Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
|
|
9
|
+
* Federal Reserve. This transfer must first have a `status` of `submitted` . In
|
|
10
|
+
* production, the Federal Reserve generally acknowledges submitted ACH files
|
|
11
|
+
* within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
|
|
12
|
+
* Reserve, this endpoint allows you to skip that delay and add the acknowledgment
|
|
13
|
+
* subresource to the ACH Transfer.
|
|
18
14
|
*/
|
|
19
|
-
|
|
20
|
-
return this._client.post(
|
|
15
|
+
acknowledge(achTransferId, options) {
|
|
16
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/acknowledge`, options);
|
|
21
17
|
}
|
|
22
18
|
/**
|
|
23
19
|
* Simulates receiving a Notification of Change for an
|
|
24
20
|
* [ACH Transfer](#ach-transfers).
|
|
25
21
|
*/
|
|
26
|
-
|
|
27
|
-
return this._client.post(`/simulations/ach_transfers/${achTransferId}/
|
|
22
|
+
createNotificationOfChange(achTransferId, body, options) {
|
|
23
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/create_notification_of_change`, {
|
|
28
24
|
body,
|
|
29
25
|
...options,
|
|
30
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;
|
|
1
|
+
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAK7C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;OAOG;IACH,WAAW,CACT,aAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAED;;;OAGG;IACH,0BAA0B,CACxB,aAAqB,EACrB,IAAiD,EACjD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,gCAAgC,EAAE;YACpG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAvDD,oCAuDC;AAsSD,WAAiB,YAAY;AAG7B,CAAC,EAHgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAG5B"}
|
|
@@ -2,26 +2,22 @@
|
|
|
2
2
|
import { APIResource } from "../../resource.mjs";
|
|
3
3
|
export class ACHTransfers extends APIResource {
|
|
4
4
|
/**
|
|
5
|
-
* Simulates
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Alternatively, if you don't pass the `resolve_at` parameter the result will
|
|
12
|
-
* contain either a [Transaction](#transactions) or a
|
|
13
|
-
* [Declined Transaction](#declined-transactions) depending on whether or not the
|
|
14
|
-
* transfer is allowed.
|
|
5
|
+
* Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
|
|
6
|
+
* Federal Reserve. This transfer must first have a `status` of `submitted` . In
|
|
7
|
+
* production, the Federal Reserve generally acknowledges submitted ACH files
|
|
8
|
+
* within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
|
|
9
|
+
* Reserve, this endpoint allows you to skip that delay and add the acknowledgment
|
|
10
|
+
* subresource to the ACH Transfer.
|
|
15
11
|
*/
|
|
16
|
-
|
|
17
|
-
return this._client.post(
|
|
12
|
+
acknowledge(achTransferId, options) {
|
|
13
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/acknowledge`, options);
|
|
18
14
|
}
|
|
19
15
|
/**
|
|
20
16
|
* Simulates receiving a Notification of Change for an
|
|
21
17
|
* [ACH Transfer](#ach-transfers).
|
|
22
18
|
*/
|
|
23
|
-
|
|
24
|
-
return this._client.post(`/simulations/ach_transfers/${achTransferId}/
|
|
19
|
+
createNotificationOfChange(achTransferId, body, options) {
|
|
20
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/create_notification_of_change`, {
|
|
25
21
|
body,
|
|
26
22
|
...options,
|
|
27
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;OAOG;IACH,WAAW,CACT,aAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAED;;;OAGG;IACH,0BAA0B,CACxB,aAAqB,EACrB,IAAiD,EACjD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,gCAAgC,EAAE;YACpG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAsSD,WAAiB,YAAY;AAG7B,CAAC,EAHgB,YAAY,KAAZ,YAAY,QAG5B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
import * as CardAuthorizationExpirationsAPI from "./card-authorization-expirations.js";
|
|
4
|
+
import * as CardPaymentsAPI from "../card-payments.js";
|
|
5
|
+
export declare class CardAuthorizationExpirations extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Simulates expiring a card authorization immediately.
|
|
8
|
+
*/
|
|
9
|
+
create(body: CardAuthorizationExpirationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
|
|
10
|
+
}
|
|
11
|
+
export interface CardAuthorizationExpirationCreateParams {
|
|
12
|
+
/**
|
|
13
|
+
* The identifier of the Card Payment to expire.
|
|
14
|
+
*/
|
|
15
|
+
card_payment_id: string;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace CardAuthorizationExpirations {
|
|
18
|
+
export import CardAuthorizationExpirationCreateParams = CardAuthorizationExpirationsAPI.CardAuthorizationExpirationCreateParams;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=card-authorization-expirations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-authorization-expirations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,+BAA+B,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,MAAM,QAAQ,uCAAuC,GAAG,+BAA+B,CAAC,uCAAuC,CAAC;CACjI"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CardAuthorizationExpirations = void 0;
|
|
5
|
+
const resource_1 = require("../../resource.js");
|
|
6
|
+
class CardAuthorizationExpirations extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates expiring a card authorization immediately.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.CardAuthorizationExpirations = CardAuthorizationExpirations;
|
|
15
|
+
(function (CardAuthorizationExpirations) {
|
|
16
|
+
})(CardAuthorizationExpirations = exports.CardAuthorizationExpirations || (exports.CardAuthorizationExpirations = {}));
|
|
17
|
+
//# sourceMappingURL=card-authorization-expirations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-authorization-expirations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAK7C,MAAa,4BAA6B,SAAQ,sBAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAVD,oEAUC;AASD,WAAiB,4BAA4B;AAE7C,CAAC,EAFgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAE5C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
export class CardAuthorizationExpirations extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Simulates expiring a card authorization immediately.
|
|
6
|
+
*/
|
|
7
|
+
create(body, options) {
|
|
8
|
+
return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
(function (CardAuthorizationExpirations) {
|
|
12
|
+
})(CardAuthorizationExpirations || (CardAuthorizationExpirations = {}));
|
|
13
|
+
//# sourceMappingURL=card-authorization-expirations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-authorization-expirations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AASD,WAAiB,4BAA4B;AAE7C,CAAC,EAFgB,4BAA4B,KAA5B,4BAA4B,QAE5C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
import * as CardAuthorizationsAPI from "./card-authorizations.js";
|
|
4
|
+
import * as DeclinedTransactionsAPI from "../declined-transactions.js";
|
|
5
|
+
import * as PendingTransactionsAPI from "../pending-transactions.js";
|
|
6
|
+
export declare class CardAuthorizations extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates a purchase authorization on a [Card](#cards). Depending on the balance
|
|
9
|
+
* available to the card and the `amount` submitted, the authorization activity
|
|
10
|
+
* will result in a [Pending Transaction](#pending-transactions) of type
|
|
11
|
+
* `card_authorization` or a [Declined Transaction](#declined-transactions) of type
|
|
12
|
+
* `card_decline`. You can pass either a Card id or a
|
|
13
|
+
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
14
|
+
* ways purchases can be made.
|
|
15
|
+
*/
|
|
16
|
+
create(body: CardAuthorizationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardAuthorizationCreateResponse>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The results of a Card Authorization simulation.
|
|
20
|
+
*/
|
|
21
|
+
export interface CardAuthorizationCreateResponse {
|
|
22
|
+
/**
|
|
23
|
+
* If the authorization attempt fails, this will contain the resulting
|
|
24
|
+
* [Declined Transaction](#declined-transactions) object. The Declined
|
|
25
|
+
* Transaction's `source` will be of `category: card_decline`.
|
|
26
|
+
*/
|
|
27
|
+
declined_transaction: DeclinedTransactionsAPI.DeclinedTransaction | null;
|
|
28
|
+
/**
|
|
29
|
+
* If the authorization attempt succeeds, this will contain the resulting Pending
|
|
30
|
+
* Transaction object. The Pending Transaction's `source` will be of
|
|
31
|
+
* `category: card_authorization`.
|
|
32
|
+
*/
|
|
33
|
+
pending_transaction: PendingTransactionsAPI.PendingTransaction | null;
|
|
34
|
+
/**
|
|
35
|
+
* A constant representing the object's type. For this resource it will always be
|
|
36
|
+
* `inbound_card_authorization_simulation_result`.
|
|
37
|
+
*/
|
|
38
|
+
type: 'inbound_card_authorization_simulation_result';
|
|
39
|
+
}
|
|
40
|
+
export interface CardAuthorizationCreateParams {
|
|
41
|
+
/**
|
|
42
|
+
* The authorization amount in cents.
|
|
43
|
+
*/
|
|
44
|
+
amount: number;
|
|
45
|
+
/**
|
|
46
|
+
* The identifier of the Card to be authorized.
|
|
47
|
+
*/
|
|
48
|
+
card_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The identifier of the Digital Wallet Token to be authorized.
|
|
51
|
+
*/
|
|
52
|
+
digital_wallet_token_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The identifier of the Event Subscription to use. If provided, will override the
|
|
55
|
+
* default real time event subscription. Because you can only create one real time
|
|
56
|
+
* decision event subscription, you can use this field to route events to any
|
|
57
|
+
* specified event subscription for testing purposes.
|
|
58
|
+
*/
|
|
59
|
+
event_subscription_id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
62
|
+
* is transacting with.
|
|
63
|
+
*/
|
|
64
|
+
merchant_acceptor_id?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
|
67
|
+
* card is transacting with.
|
|
68
|
+
*/
|
|
69
|
+
merchant_category_code?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The city the merchant resides in.
|
|
72
|
+
*/
|
|
73
|
+
merchant_city?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The country the merchant resides in.
|
|
76
|
+
*/
|
|
77
|
+
merchant_country?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The merchant descriptor of the merchant the card is transacting with.
|
|
80
|
+
*/
|
|
81
|
+
merchant_descriptor?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The identifier of the Physical Card to be authorized.
|
|
84
|
+
*/
|
|
85
|
+
physical_card_id?: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace CardAuthorizations {
|
|
88
|
+
export import CardAuthorizationCreateResponse = CardAuthorizationsAPI.CardAuthorizationCreateResponse;
|
|
89
|
+
export import CardAuthorizationCreateParams = CardAuthorizationsAPI.CardAuthorizationCreateParams;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=card-authorizations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,qBAAqB,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,MAAM,QAAQ,+BAA+B,GAAG,qBAAqB,CAAC,+BAA+B,CAAC;IACtG,MAAM,QAAQ,6BAA6B,GAAG,qBAAqB,CAAC,6BAA6B,CAAC;CACnG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.CardAuthorizations = void 0;
|
|
5
5
|
const resource_1 = require("../../resource.js");
|
|
6
|
-
class
|
|
6
|
+
class CardAuthorizations extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Simulates a purchase authorization on a [Card](#cards). Depending on the balance
|
|
9
9
|
* available to the card and the `amount` submitted, the authorization activity
|
|
@@ -13,21 +13,11 @@ class Cards extends resource_1.APIResource {
|
|
|
13
13
|
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
14
14
|
* ways purchases can be made.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
create(body, options) {
|
|
17
17
|
return this._client.post('/simulations/card_authorizations', { body, ...options });
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Simulates the settlement of an authorization by a card acquirer. After a card
|
|
21
|
-
* authorization is created, the merchant will eventually send a settlement. This
|
|
22
|
-
* simulates that event, which may occur many days after the purchase in
|
|
23
|
-
* production. The amount settled can be different from the amount originally
|
|
24
|
-
* authorized, for example, when adding a tip to a restaurant bill.
|
|
25
|
-
*/
|
|
26
|
-
settlement(body, options) {
|
|
27
|
-
return this._client.post('/simulations/card_settlements', { body, ...options });
|
|
28
|
-
}
|
|
29
19
|
}
|
|
30
|
-
exports.
|
|
31
|
-
(function (
|
|
32
|
-
})(
|
|
33
|
-
//# sourceMappingURL=
|
|
20
|
+
exports.CardAuthorizations = CardAuthorizations;
|
|
21
|
+
(function (CardAuthorizations) {
|
|
22
|
+
})(CardAuthorizations = exports.CardAuthorizations || (exports.CardAuthorizations = {}));
|
|
23
|
+
//# sourceMappingURL=card-authorizations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAM7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhBD,gDAgBC;AAoFD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAGlC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../resource.mjs";
|
|
3
|
-
export class
|
|
3
|
+
export class CardAuthorizations extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* Simulates a purchase authorization on a [Card](#cards). Depending on the balance
|
|
6
6
|
* available to the card and the `amount` submitted, the authorization activity
|
|
@@ -10,20 +10,10 @@ export class Cards extends APIResource {
|
|
|
10
10
|
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
11
11
|
* ways purchases can be made.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
create(body, options) {
|
|
14
14
|
return this._client.post('/simulations/card_authorizations', { body, ...options });
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* Simulates the settlement of an authorization by a card acquirer. After a card
|
|
18
|
-
* authorization is created, the merchant will eventually send a settlement. This
|
|
19
|
-
* simulates that event, which may occur many days after the purchase in
|
|
20
|
-
* production. The amount settled can be different from the amount originally
|
|
21
|
-
* authorized, for example, when adding a tip to a restaurant bill.
|
|
22
|
-
*/
|
|
23
|
-
settlement(body, options) {
|
|
24
|
-
return this._client.post('/simulations/card_settlements', { body, ...options });
|
|
25
|
-
}
|
|
26
16
|
}
|
|
27
|
-
(function (
|
|
28
|
-
})(
|
|
29
|
-
//# sourceMappingURL=
|
|
17
|
+
(function (CardAuthorizations) {
|
|
18
|
+
})(CardAuthorizations || (CardAuthorizations = {}));
|
|
19
|
+
//# sourceMappingURL=card-authorizations.mjs.map
|