increase 0.8.0 → 0.9.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 +63 -0
- package/README.md +37 -13
- package/_shims/ReadableStream.d.ts +38 -0
- package/_shims/ReadableStream.js +5 -0
- package/_shims/ReadableStream.mjs +7 -0
- package/_shims/ReadableStream.node.d.ts +6 -0
- package/_shims/ReadableStream.node.d.ts.map +1 -0
- package/_shims/ReadableStream.node.js +14 -0
- package/_shims/ReadableStream.node.js.map +1 -0
- package/_shims/ReadableStream.node.mjs +3 -0
- package/_shims/ReadableStream.node.mjs.map +1 -0
- package/_shims/fetch.d.ts +8 -1
- package/_shims/fetch.node.d.ts +11 -1
- package/core.d.ts +85 -27
- package/core.d.ts.map +1 -1
- package/core.js +208 -51
- package/core.js.map +1 -1
- package/core.mjs +194 -51
- package/core.mjs.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.js +12 -3
- package/error.js.map +1 -1
- package/error.mjs +12 -3
- package/error.mjs.map +1 -1
- package/index.d.mts +6 -1
- package/index.d.ts +6 -1
- package/index.d.ts.map +1 -1
- package/index.js +11 -8
- package/index.js.map +1 -1
- package/index.mjs +11 -8
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.ts +2 -2
- package/pagination.d.ts.map +1 -1
- package/pagination.js +4 -4
- package/pagination.js.map +1 -1
- package/pagination.mjs +4 -4
- package/pagination.mjs.map +1 -1
- package/resources/account-numbers.d.ts +8 -8
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +3 -6
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +6 -18
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +6 -6
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-prenotifications.d.ts +51 -7
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +16 -9
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/balance-lookups.d.ts +1 -1
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +3 -3
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-entries.d.ts +2 -2
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +1 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/card-disputes.d.ts +7 -7
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-profiles.d.ts +32 -11
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js +6 -0
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +6 -0
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +270 -0
- package/resources/card-purchase-supplements.d.ts.map +1 -0
- package/resources/card-purchase-supplements.js +28 -0
- package/resources/card-purchase-supplements.js.map +1 -0
- package/resources/card-purchase-supplements.mjs +21 -0
- package/resources/card-purchase-supplements.mjs.map +1 -0
- package/resources/cards.d.ts +6 -13
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +7 -7
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +18 -11
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +25 -28
- 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/digital-wallet-tokens.d.ts +3 -6
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +3 -3
- package/resources/documents.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +215 -0
- package/resources/entities/beneficial-owners.d.ts.map +1 -0
- package/resources/entities/beneficial-owners.js +18 -0
- package/resources/entities/beneficial-owners.js.map +1 -0
- package/resources/entities/beneficial-owners.mjs +12 -0
- package/resources/entities/beneficial-owners.mjs.map +1 -0
- package/resources/entities/entities.d.ts +15 -11
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +9 -0
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +9 -0
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/index.d.ts +1 -0
- package/resources/entities/index.d.ts.map +1 -1
- package/resources/entities/index.js +8 -0
- package/resources/entities/index.js.map +1 -1
- package/resources/entities/index.mjs +1 -0
- package/resources/entities/index.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +2 -2
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/event-subscriptions.d.ts +5 -8
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +7 -5
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +4 -4
- package/resources/exports.d.ts.map +1 -1
- package/resources/external-accounts.d.ts +5 -11
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +9 -4
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -2
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts +6 -4
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/resources/inbound-ach-transfer-returns.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +5 -3
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/index.d.ts +6 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/limits.d.ts +5 -9
- package/resources/limits.d.ts.map +1 -1
- package/resources/limits.js.map +1 -1
- package/resources/limits.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +3 -6
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +32 -37
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/programs.d.ts +3 -3
- package/resources/programs.d.ts.map +1 -1
- package/resources/real-time-decisions.d.ts +2 -5
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -4
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +4 -1
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +1 -1
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-transfers.d.ts +1 -1
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +1063 -157
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +1 -1
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-profiles.d.ts +1 -4
- package/resources/simulations/card-profiles.d.ts.map +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.ts +1 -1
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/cards.d.ts +53 -58
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +3 -12
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-transfers.d.ts +2 -2
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/documents.d.ts +1 -4
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +5 -1
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.ts +1047 -127
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +1 -4
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +1062 -153
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +1039 -127
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +1044 -130
- 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-drawdown-requests.d.ts +4 -4
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts +11 -11
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/ReadableStream.d.ts +38 -0
- package/src/_shims/ReadableStream.js +5 -0
- package/src/_shims/ReadableStream.mjs +7 -0
- package/src/_shims/ReadableStream.node.ts +6 -0
- package/src/_shims/fetch.d.ts +8 -1
- package/src/_shims/fetch.deno.ts +23 -0
- package/src/_shims/fetch.node.d.ts +11 -1
- package/src/_shims/formdata.deno.ts +16 -0
- package/src/core.ts +270 -74
- package/src/error.ts +11 -1
- package/src/index.ts +16 -9
- package/src/pagination.ts +5 -5
- package/src/resources/account-numbers.ts +10 -10
- package/src/resources/account-statements.ts +5 -8
- package/src/resources/account-transfers.ts +8 -20
- package/src/resources/accounts.ts +8 -8
- package/src/resources/ach-prenotifications.ts +57 -9
- package/src/resources/ach-transfers.ts +19 -11
- package/src/resources/balance-lookups.ts +2 -2
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +4 -4
- package/src/resources/bookkeeping-entry-sets.ts +2 -2
- package/src/resources/card-disputes.ts +9 -9
- package/src/resources/card-profiles.ts +39 -13
- package/src/resources/card-purchase-supplements.ts +331 -0
- package/src/resources/cards.ts +8 -15
- package/src/resources/check-deposits.ts +9 -9
- package/src/resources/check-transfers.ts +21 -13
- package/src/resources/declined-transactions.ts +27 -30
- package/src/resources/digital-wallet-tokens.ts +5 -8
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/beneficial-owners.ts +251 -0
- package/src/resources/entities/entities.ts +21 -13
- package/src/resources/entities/index.ts +1 -0
- package/src/resources/entities/supplemental-documents.ts +3 -3
- package/src/resources/event-subscriptions.ts +7 -10
- package/src/resources/events.ts +9 -7
- package/src/resources/exports.ts +6 -6
- package/src/resources/external-accounts.ts +7 -13
- package/src/resources/files.ts +12 -7
- package/src/resources/groups.ts +2 -2
- package/src/resources/inbound-ach-transfer-returns.ts +8 -6
- package/src/resources/inbound-wire-drawdown-requests.ts +7 -5
- package/src/resources/index.ts +6 -0
- package/src/resources/limits.ts +7 -11
- package/src/resources/oauth-connections.ts +5 -8
- package/src/resources/pending-transactions.ts +35 -39
- package/src/resources/programs.ts +5 -5
- package/src/resources/real-time-decisions.ts +3 -6
- package/src/resources/real-time-payments-transfers.ts +8 -6
- package/src/resources/routing-numbers.ts +5 -2
- package/src/resources/simulations/account-statements.ts +2 -2
- package/src/resources/simulations/account-transfers.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +1200 -160
- package/src/resources/simulations/card-disputes.ts +2 -2
- package/src/resources/simulations/card-profiles.ts +1 -4
- package/src/resources/simulations/card-refunds.ts +2 -2
- package/src/resources/simulations/cards.ts +55 -59
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +2 -2
- package/src/resources/simulations/digital-wallet-token-requests.ts +2 -2
- package/src/resources/simulations/documents.ts +2 -5
- package/src/resources/simulations/inbound-funds-holds.ts +7 -2
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +2 -2
- package/src/resources/simulations/interest-payments.ts +1186 -130
- package/src/resources/simulations/programs.ts +2 -5
- package/src/resources/simulations/real-time-payments-transfers.ts +1199 -156
- package/src/resources/simulations/simulations.ts +1 -1
- package/src/resources/simulations/wire-transfers.ts +1176 -130
- package/src/resources/transactions.ts +1182 -134
- package/src/resources/wire-drawdown-requests.ts +6 -6
- package/src/resources/wire-transfers.ts +13 -13
- package/src/uploads.ts +7 -6
- package/src/version.ts +1 -1
- package/uploads.d.ts +5 -4
- package/uploads.d.ts.map +1 -1
- package/uploads.js +2 -2
- package/uploads.js.map +1 -1
- package/uploads.mjs +2 -2
- package/uploads.mjs.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-transfers.mjs","sourceRoot":"","sources":["../src/resources/check-transfers.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAEzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"check-transfers.mjs","sourceRoot":"","sources":["../src/resources/check-transfers.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAA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B,SAAQ,IAAmB;CAAG;AAwlB9D,WAAiB,cAAc;AAM/B,CAAC,EANgB,cAAc,KAAd,cAAc,QAM9B"}
|
|
@@ -10,15 +10,15 @@ export declare class DeclinedTransactions extends APIResource {
|
|
|
10
10
|
retrieve(
|
|
11
11
|
declinedTransactionId: string,
|
|
12
12
|
options?: Core.RequestOptions,
|
|
13
|
-
):
|
|
13
|
+
): Core.APIPromise<DeclinedTransaction>;
|
|
14
14
|
/**
|
|
15
15
|
* List Declined Transactions
|
|
16
16
|
*/
|
|
17
17
|
list(
|
|
18
18
|
query?: DeclinedTransactionListParams,
|
|
19
19
|
options?: Core.RequestOptions,
|
|
20
|
-
): Core.PagePromise<DeclinedTransactionsPage>;
|
|
21
|
-
list(options?: Core.RequestOptions): Core.PagePromise<DeclinedTransactionsPage>;
|
|
20
|
+
): Core.PagePromise<DeclinedTransactionsPage, DeclinedTransaction>;
|
|
21
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DeclinedTransactionsPage, DeclinedTransaction>;
|
|
22
22
|
}
|
|
23
23
|
export declare class DeclinedTransactionsPage extends Page<DeclinedTransaction> {}
|
|
24
24
|
type _DeclinedTransactionsPage = DeclinedTransactionsPage;
|
|
@@ -99,7 +99,7 @@ export declare namespace DeclinedTransaction {
|
|
|
99
99
|
*/
|
|
100
100
|
interface Source {
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* An ACH Decline object. This field will be present in the JSON response if and
|
|
103
103
|
* only if `category` is equal to `ach_decline`.
|
|
104
104
|
*/
|
|
105
105
|
ach_decline: Source.ACHDecline | null;
|
|
@@ -109,24 +109,21 @@ export declare namespace DeclinedTransaction {
|
|
|
109
109
|
*/
|
|
110
110
|
card_decline: Source.CardDecline | null;
|
|
111
111
|
/**
|
|
112
|
-
* The type of
|
|
113
|
-
*
|
|
114
|
-
* gracefully.
|
|
112
|
+
* The type of the resource. We may add additional possible values for this enum
|
|
113
|
+
* over time; your application should be able to handle such additions gracefully.
|
|
115
114
|
*
|
|
116
|
-
* - `ach_decline` -
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* - `wire_decline` - The Declined Transaction was created by a Wire Decline
|
|
129
|
-
* object. Details will be under the `wire_decline` object.
|
|
115
|
+
* - `ach_decline` - ACH Decline: details will be under the `ach_decline` object.
|
|
116
|
+
* - `card_decline` - Card Decline: details will be under the `card_decline`
|
|
117
|
+
* object.
|
|
118
|
+
* - `check_decline` - Check Decline: details will be under the `check_decline`
|
|
119
|
+
* object.
|
|
120
|
+
* - `inbound_real_time_payments_transfer_decline` - Inbound Real Time Payments
|
|
121
|
+
* Transfer Decline: details will be under the
|
|
122
|
+
* `inbound_real_time_payments_transfer_decline` object.
|
|
123
|
+
* - `international_ach_decline` - International ACH Decline: details will be under
|
|
124
|
+
* the `international_ach_decline` object.
|
|
125
|
+
* - `wire_decline` - Wire Decline: details will be under the `wire_decline`
|
|
126
|
+
* object.
|
|
130
127
|
* - `other` - The Declined Transaction was made for an undocumented or deprecated
|
|
131
128
|
* reason.
|
|
132
129
|
*/
|
|
@@ -144,13 +141,13 @@ export declare namespace DeclinedTransaction {
|
|
|
144
141
|
*/
|
|
145
142
|
check_decline: Source.CheckDecline | null;
|
|
146
143
|
/**
|
|
147
|
-
*
|
|
148
|
-
* in the JSON response if and only if `category` is equal to
|
|
144
|
+
* An Inbound Real Time Payments Transfer Decline object. This field will be
|
|
145
|
+
* present in the JSON response if and only if `category` is equal to
|
|
149
146
|
* `inbound_real_time_payments_transfer_decline`.
|
|
150
147
|
*/
|
|
151
148
|
inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
|
|
152
149
|
/**
|
|
153
|
-
*
|
|
150
|
+
* An International ACH Decline object. This field will be present in the JSON
|
|
154
151
|
* response if and only if `category` is equal to `international_ach_decline`.
|
|
155
152
|
*/
|
|
156
153
|
international_ach_decline: Source.InternationalACHDecline | null;
|
|
@@ -162,7 +159,7 @@ export declare namespace DeclinedTransaction {
|
|
|
162
159
|
}
|
|
163
160
|
namespace Source {
|
|
164
161
|
/**
|
|
165
|
-
*
|
|
162
|
+
* An ACH Decline object. This field will be present in the JSON response if and
|
|
166
163
|
* only if `category` is equal to `ach_decline`.
|
|
167
164
|
*/
|
|
168
165
|
interface ACHDecline {
|
|
@@ -438,8 +435,8 @@ export declare namespace DeclinedTransaction {
|
|
|
438
435
|
| 'altered_or_fictitious';
|
|
439
436
|
}
|
|
440
437
|
/**
|
|
441
|
-
*
|
|
442
|
-
* in the JSON response if and only if `category` is equal to
|
|
438
|
+
* An Inbound Real Time Payments Transfer Decline object. This field will be
|
|
439
|
+
* present in the JSON response if and only if `category` is equal to
|
|
443
440
|
* `inbound_real_time_payments_transfer_decline`.
|
|
444
441
|
*/
|
|
445
442
|
interface InboundRealTimePaymentsTransferDecline {
|
|
@@ -505,7 +502,7 @@ export declare namespace DeclinedTransaction {
|
|
|
505
502
|
transaction_identification: string;
|
|
506
503
|
}
|
|
507
504
|
/**
|
|
508
|
-
*
|
|
505
|
+
* An International ACH Decline object. This field will be present in the JSON
|
|
509
506
|
* response if and only if `category` is equal to `international_ach_decline`.
|
|
510
507
|
*/
|
|
511
508
|
interface InternationalACHDecline {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined-transactions.d.ts","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,KAAK,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"declined-transactions.d.ts","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mapp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AE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AA5BD,oDA4BC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;
|
|
1
|
+
{"version":3,"file":"declined-transactions.js","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAGjD,oDAAuD;AAEvD,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,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,UAAU,CAAC,wBAAwB,EAAE,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AA5BD,oDA4BC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;AAqtB1E,WAAiB,oBAAoB;AAIrC,CAAC,EAJgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAIpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined-transactions.mjs","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAGzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAE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qtB1E,WAAiB,oBAAoB;AAIrC,CAAC,EAJgB,oBAAoB,KAApB,oBAAoB,QAIpC"}
|
|
@@ -6,18 +6,15 @@ export declare class DigitalWalletTokens extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Retrieve a Digital Wallet Token
|
|
8
8
|
*/
|
|
9
|
-
retrieve(
|
|
10
|
-
digitalWalletTokenId: string,
|
|
11
|
-
options?: Core.RequestOptions,
|
|
12
|
-
): Promise<Core.APIResponse<DigitalWalletToken>>;
|
|
9
|
+
retrieve(digitalWalletTokenId: string, options?: Core.RequestOptions): Core.APIPromise<DigitalWalletToken>;
|
|
13
10
|
/**
|
|
14
11
|
* List Digital Wallet Tokens
|
|
15
12
|
*/
|
|
16
13
|
list(
|
|
17
14
|
query?: DigitalWalletTokenListParams,
|
|
18
15
|
options?: Core.RequestOptions,
|
|
19
|
-
): Core.PagePromise<DigitalWalletTokensPage>;
|
|
20
|
-
list(options?: Core.RequestOptions): Core.PagePromise<DigitalWalletTokensPage>;
|
|
16
|
+
): Core.PagePromise<DigitalWalletTokensPage, DigitalWalletToken>;
|
|
17
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DigitalWalletTokensPage, DigitalWalletToken>;
|
|
21
18
|
}
|
|
22
19
|
export declare class DigitalWalletTokensPage extends Page<DigitalWalletToken> {}
|
|
23
20
|
type _DigitalWalletTokensPage = DigitalWalletTokensPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digital-wallet-tokens.d.ts","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"digital-wallet-tokens.d.ts","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI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AS,CAAC;CACrD;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,yBAAiB,mBAAmB,CAAC;IACnC,MAAM,QAAQ,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC;IAC1D,KAAY,uBAAuB,GAAG,wBAAwB,CAAC;IAC/D,MAAM,QAAQ,4BAA4B,GAAG,GAAG,CAAC,4BAA4B,CAAC;CAC/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digital-wallet-tokens.js","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAEjD,oDAAuD;AAEvD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;IACH,QAAQ,
|
|
1
|
+
{"version":3,"file":"digital-wallet-tokens.js","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAEjD,oDAAuD;AAEvD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAUD,IAAI,CACF,QAA4D,EAAE,EAC9D,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,UAAU,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AAzBD,kDAyBC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AAyFxE,WAAiB,mBAAmB;AAIpC,CAAC,EAJgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAInC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digital-wallet-tokens.mjs","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAEzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,QAAQ,
|
|
1
|
+
{"version":3,"file":"digital-wallet-tokens.mjs","sourceRoot":"","sources":["../src/resources/digital-wallet-tokens.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAEzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAUD,IAAI,CACF,QAA4D,EAAE,EAC9D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AAED,MAAM,OAAO,uBAAwB,SAAQ,IAAwB;CAAG;AAyFxE,WAAiB,mBAAmB;AAIpC,CAAC,EAJgB,mBAAmB,KAAnB,mBAAmB,QAInC"}
|
package/resources/documents.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export declare class Documents extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Retrieve a Document
|
|
8
8
|
*/
|
|
9
|
-
retrieve(documentId: string, options?: Core.RequestOptions):
|
|
9
|
+
retrieve(documentId: string, options?: Core.RequestOptions): Core.APIPromise<Document>;
|
|
10
10
|
/**
|
|
11
11
|
* List Documents
|
|
12
12
|
*/
|
|
13
|
-
list(query?: DocumentListParams, options?: Core.RequestOptions): Core.PagePromise<DocumentsPage>;
|
|
14
|
-
list(options?: Core.RequestOptions): Core.PagePromise<DocumentsPage>;
|
|
13
|
+
list(query?: DocumentListParams, options?: Core.RequestOptions): Core.PagePromise<DocumentsPage, Document>;
|
|
14
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DocumentsPage, Document>;
|
|
15
15
|
}
|
|
16
16
|
export declare class DocumentsPage extends Page<Document> {}
|
|
17
17
|
type _DocumentsPage = DocumentsPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../src/resources/documents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,G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;WAIG;QACH,EAAE,CAAC,EAAE,KAAK,CAAC,eAAe,GAAG,wBAAwB,GAAG,qBAAqB,CAAC,CAAC;KAChF;IAED,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,yBAAiB,SAAS,CAAC;IACzB,MAAM,QAAQ,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;IACtC,KAAY,aAAa,GAAG,cAAc,CAAC;IAC3C,MAAM,QAAQ,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC;CAC3D"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import * as Core from 'increase/core';
|
|
2
|
+
import { APIResource } from 'increase/resource';
|
|
3
|
+
import * as Entities from 'increase/resources/entities/index';
|
|
4
|
+
import * as API from './index.js';
|
|
5
|
+
export declare class BeneficialOwners extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a beneficial owner for a corporate Entity
|
|
8
|
+
*/
|
|
9
|
+
create(
|
|
10
|
+
entityId: string,
|
|
11
|
+
body: BeneficialOwnerCreateParams,
|
|
12
|
+
options?: Core.RequestOptions,
|
|
13
|
+
): Core.APIPromise<Entities.Entity>;
|
|
14
|
+
}
|
|
15
|
+
export interface BeneficialOwnerCreateParams {
|
|
16
|
+
/**
|
|
17
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
18
|
+
* corporation.
|
|
19
|
+
*/
|
|
20
|
+
beneficial_owner: BeneficialOwnerCreateParams.BeneficialOwner;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace BeneficialOwnerCreateParams {
|
|
23
|
+
/**
|
|
24
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
25
|
+
* corporation.
|
|
26
|
+
*/
|
|
27
|
+
interface BeneficialOwner {
|
|
28
|
+
/**
|
|
29
|
+
* Personal details for the beneficial owner.
|
|
30
|
+
*/
|
|
31
|
+
individual: BeneficialOwner.Individual;
|
|
32
|
+
/**
|
|
33
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
34
|
+
* option is required.
|
|
35
|
+
*/
|
|
36
|
+
prongs: Array<'ownership' | 'control'>;
|
|
37
|
+
/**
|
|
38
|
+
* This person's role or title within the entity.
|
|
39
|
+
*/
|
|
40
|
+
company_title?: string;
|
|
41
|
+
}
|
|
42
|
+
namespace BeneficialOwner {
|
|
43
|
+
/**
|
|
44
|
+
* Personal details for the beneficial owner.
|
|
45
|
+
*/
|
|
46
|
+
interface Individual {
|
|
47
|
+
/**
|
|
48
|
+
* The individual's address.
|
|
49
|
+
*/
|
|
50
|
+
address: Individual.Address;
|
|
51
|
+
/**
|
|
52
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
53
|
+
*/
|
|
54
|
+
date_of_birth: string;
|
|
55
|
+
/**
|
|
56
|
+
* A means of verifying the person's identity.
|
|
57
|
+
*/
|
|
58
|
+
identification: Individual.Identification;
|
|
59
|
+
/**
|
|
60
|
+
* The person's legal name.
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The identification method for an individual can only be a passport, driver's
|
|
65
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
66
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
67
|
+
* Number).
|
|
68
|
+
*/
|
|
69
|
+
confirmed_no_us_tax_id?: boolean;
|
|
70
|
+
}
|
|
71
|
+
namespace Individual {
|
|
72
|
+
/**
|
|
73
|
+
* The individual's address.
|
|
74
|
+
*/
|
|
75
|
+
interface Address {
|
|
76
|
+
/**
|
|
77
|
+
* The city of the address.
|
|
78
|
+
*/
|
|
79
|
+
city: string;
|
|
80
|
+
/**
|
|
81
|
+
* The first line of the address. This is usually the street number and street.
|
|
82
|
+
*/
|
|
83
|
+
line1: string;
|
|
84
|
+
/**
|
|
85
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
86
|
+
* the address.
|
|
87
|
+
*/
|
|
88
|
+
state: string;
|
|
89
|
+
/**
|
|
90
|
+
* The ZIP code of the address.
|
|
91
|
+
*/
|
|
92
|
+
zip: string;
|
|
93
|
+
/**
|
|
94
|
+
* The second line of the address. This might be the floor or room number.
|
|
95
|
+
*/
|
|
96
|
+
line2?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A means of verifying the person's identity.
|
|
100
|
+
*/
|
|
101
|
+
interface Identification {
|
|
102
|
+
/**
|
|
103
|
+
* A method that can be used to verify the individual's identity.
|
|
104
|
+
*
|
|
105
|
+
* - `social_security_number` - A social security number.
|
|
106
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
107
|
+
* identification number (ITIN).
|
|
108
|
+
* - `passport` - A passport number.
|
|
109
|
+
* - `drivers_license` - A driver's license number.
|
|
110
|
+
* - `other` - Another identifying document.
|
|
111
|
+
*/
|
|
112
|
+
method:
|
|
113
|
+
| 'social_security_number'
|
|
114
|
+
| 'individual_taxpayer_identification_number'
|
|
115
|
+
| 'passport'
|
|
116
|
+
| 'drivers_license'
|
|
117
|
+
| 'other';
|
|
118
|
+
/**
|
|
119
|
+
* An identification number that can be used to verify the individual's identity,
|
|
120
|
+
* such as a social security number.
|
|
121
|
+
*/
|
|
122
|
+
number: string;
|
|
123
|
+
/**
|
|
124
|
+
* Information about the United States driver's license used for identification.
|
|
125
|
+
* Required if `method` is equal to `drivers_license`.
|
|
126
|
+
*/
|
|
127
|
+
drivers_license?: Identification.DriversLicense;
|
|
128
|
+
/**
|
|
129
|
+
* Information about the identification document provided. Required if `method` is
|
|
130
|
+
* equal to `other`.
|
|
131
|
+
*/
|
|
132
|
+
other?: Identification.Other;
|
|
133
|
+
/**
|
|
134
|
+
* Information about the passport used for identification. Required if `method` is
|
|
135
|
+
* equal to `passport`.
|
|
136
|
+
*/
|
|
137
|
+
passport?: Identification.Passport;
|
|
138
|
+
}
|
|
139
|
+
namespace Identification {
|
|
140
|
+
/**
|
|
141
|
+
* Information about the United States driver's license used for identification.
|
|
142
|
+
* Required if `method` is equal to `drivers_license`.
|
|
143
|
+
*/
|
|
144
|
+
interface DriversLicense {
|
|
145
|
+
/**
|
|
146
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
147
|
+
*/
|
|
148
|
+
expiration_date: string;
|
|
149
|
+
/**
|
|
150
|
+
* The identifier of the File containing the front of the driver's license.
|
|
151
|
+
*/
|
|
152
|
+
file_id: string;
|
|
153
|
+
/**
|
|
154
|
+
* The state that issued the provided driver's license.
|
|
155
|
+
*/
|
|
156
|
+
state: string;
|
|
157
|
+
/**
|
|
158
|
+
* The identifier of the File containing the back of the driver's license.
|
|
159
|
+
*/
|
|
160
|
+
back_file_id?: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Information about the identification document provided. Required if `method` is
|
|
164
|
+
* equal to `other`.
|
|
165
|
+
*/
|
|
166
|
+
interface Other {
|
|
167
|
+
/**
|
|
168
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
169
|
+
* document.
|
|
170
|
+
*/
|
|
171
|
+
country: string;
|
|
172
|
+
/**
|
|
173
|
+
* A description of the document submitted.
|
|
174
|
+
*/
|
|
175
|
+
description: string;
|
|
176
|
+
/**
|
|
177
|
+
* The identifier of the File containing the front of the document.
|
|
178
|
+
*/
|
|
179
|
+
file_id: string;
|
|
180
|
+
/**
|
|
181
|
+
* The identifier of the File containing the back of the document. Not every
|
|
182
|
+
* document has a reverse side.
|
|
183
|
+
*/
|
|
184
|
+
back_file_id?: string;
|
|
185
|
+
/**
|
|
186
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
187
|
+
*/
|
|
188
|
+
expiration_date?: string;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Information about the passport used for identification. Required if `method` is
|
|
192
|
+
* equal to `passport`.
|
|
193
|
+
*/
|
|
194
|
+
interface Passport {
|
|
195
|
+
/**
|
|
196
|
+
* The country that issued the passport.
|
|
197
|
+
*/
|
|
198
|
+
country: string;
|
|
199
|
+
/**
|
|
200
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
201
|
+
*/
|
|
202
|
+
expiration_date: string;
|
|
203
|
+
/**
|
|
204
|
+
* The identifier of the File containing the passport.
|
|
205
|
+
*/
|
|
206
|
+
file_id: string;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
export declare namespace BeneficialOwners {
|
|
213
|
+
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
214
|
+
}
|
|
215
|
+
//# sourceMappingURL=beneficial-owners.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficial-owners.d.ts","sourceRoot":"","sources":["../../src/resources/entities/beneficial-owners.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,mCAAmC,CAAC;AAC9D,OAAO,KAAK,GAAG,MAAM,SAAS,CAAC;AAE/B,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC;CAGpC;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,gBAAgB,EAAE,2BAA2B,CAAC,eAAe,CAAC;CAC/D;AAED,yBAAiB,2BAA2B,CAAC;IAC3C;;;OAGG;IACH,UAAiB,eAAe;QAC9B;;WAEG;QACH,UAAU,EAAE,eAAe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oBACH,eAAe,EAAE,MAAM,CAAC;oBAExB;;uBAEG;oBACH,OAAO,EAAE,MAAM,CAAC;oBAEhB;;uBAEG;oBACH,KAAK,EAAE,MAAM,CAAC;oBAEd;;uBAEG;oBACH,YAAY,CAAC,EAAE,MAAM,CAAC;iBACvB;gBAED;;;mBAGG;gBACH,UAAiB,KAAK;oBACpB;;;uBAGG;oBACH,OAAO,EAAE,MAAM,CAAC;oBAEhB;;uBAEG;oBACH,WAAW,EAAE,MAAM,CAAC;oBAEpB;;uBAEG;oBACH,OAAO,EAAE,MAAM,CAAC;oBAEhB;;;uBAGG;oBACH,YAAY,CAAC,EAAE,MAAM,CAAC;oBAEtB;;uBAEG;oBACH,eAAe,CAAC,EAAE,MAAM,CAAC;iBAC1B;gBAED;;;mBAGG;gBACH,UAAiB,QAAQ;oBACvB;;uBAEG;oBACH,OAAO,EAAE,MAAM,CAAC;oBAEhB;;uBAEG;oBACH,eAAe,EAAE,MAAM,CAAC;oBAExB;;uBAEG;oBACH,OAAO,EAAE,MAAM,CAAC;iBACjB;aACF;SACF;KACF;CACF;AAED,yBAAiB,gBAAgB,CAAC;IAChC,MAAM,QAAQ,2BAA2B,GAAG,GAAG,CAAC,2BAA2B,CAAC;CAC7E"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.BeneficialOwners = void 0;
|
|
5
|
+
const resource_1 = require('increase/resource');
|
|
6
|
+
class BeneficialOwners extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create a beneficial owner for a corporate Entity
|
|
9
|
+
*/
|
|
10
|
+
create(entityId, body, options) {
|
|
11
|
+
return this.post(`/entities/${entityId}/beneficial_owners`, { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.BeneficialOwners = BeneficialOwners;
|
|
15
|
+
(function (BeneficialOwners) {})(
|
|
16
|
+
(BeneficialOwners = exports.BeneficialOwners || (exports.BeneficialOwners = {})),
|
|
17
|
+
);
|
|
18
|
+
//# sourceMappingURL=beneficial-owners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficial-owners.js","sourceRoot":"","sources":["../../src/resources/entities/beneficial-owners.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAIhD,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,QAAgB,EAChB,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,QAAQ,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAXD,4CAWC;AAsOD,WAAiB,gBAAgB;AAEjC,CAAC,EAFgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAEhC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
import { APIResource } from 'increase/resource';
|
|
3
|
+
export class BeneficialOwners extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Create a beneficial owner for a corporate Entity
|
|
6
|
+
*/
|
|
7
|
+
create(entityId, body, options) {
|
|
8
|
+
return this.post(`/entities/${entityId}/beneficial_owners`, { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
(function (BeneficialOwners) {})(BeneficialOwners || (BeneficialOwners = {}));
|
|
12
|
+
//# sourceMappingURL=beneficial-owners.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficial-owners.mjs","sourceRoot":"","sources":["../../src/resources/entities/beneficial-owners.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;AAI/C,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,QAAgB,EAChB,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,QAAQ,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAsOD,WAAiB,gBAAgB;AAEjC,CAAC,EAFgB,gBAAgB,KAAhB,gBAAgB,QAEhC"}
|
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import * as Core from 'increase/core';
|
|
2
2
|
import { APIResource } from 'increase/resource';
|
|
3
|
+
import { BeneficialOwners } from './beneficial-owners.js';
|
|
3
4
|
import { SupplementalDocuments } from './supplemental-documents.js';
|
|
4
5
|
import * as API from './index.js';
|
|
5
6
|
import { Page, PageParams } from 'increase/pagination';
|
|
6
7
|
export declare class Entities extends APIResource {
|
|
8
|
+
beneficialOwners: BeneficialOwners;
|
|
7
9
|
supplementalDocuments: SupplementalDocuments;
|
|
8
10
|
/**
|
|
9
11
|
* Create an Entity
|
|
10
12
|
*/
|
|
11
|
-
create(body: EntityCreateParams, options?: Core.RequestOptions):
|
|
13
|
+
create(body: EntityCreateParams, options?: Core.RequestOptions): Core.APIPromise<Entity>;
|
|
12
14
|
/**
|
|
13
15
|
* Retrieve an Entity
|
|
14
16
|
*/
|
|
15
|
-
retrieve(entityId: string, options?: Core.RequestOptions):
|
|
17
|
+
retrieve(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity>;
|
|
16
18
|
/**
|
|
17
19
|
* List Entities
|
|
18
20
|
*/
|
|
19
|
-
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
20
|
-
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
21
|
+
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage, Entity>;
|
|
22
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage, Entity>;
|
|
23
|
+
/**
|
|
24
|
+
* Archive an Entity
|
|
25
|
+
*/
|
|
26
|
+
archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity>;
|
|
21
27
|
}
|
|
22
28
|
export declare class EntitiesPage extends Page<Entity> {}
|
|
23
29
|
type _EntitiesPage = EntitiesPage;
|
|
@@ -774,14 +780,10 @@ export declare namespace EntityCreateParams {
|
|
|
774
780
|
*/
|
|
775
781
|
individual: BeneficialOwner.Individual;
|
|
776
782
|
/**
|
|
777
|
-
* Why this person is considered a beneficial owner of the entity.
|
|
778
|
-
*
|
|
779
|
-
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
780
|
-
* entity.
|
|
781
|
-
* - `control` - A person who manages, directs, or has significant control of the
|
|
782
|
-
* entity.
|
|
783
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
784
|
+
* option is required.
|
|
783
785
|
*/
|
|
784
|
-
|
|
786
|
+
prongs: Array<'ownership' | 'control'>;
|
|
785
787
|
/**
|
|
786
788
|
* This person's role or title within the entity.
|
|
787
789
|
*/
|
|
@@ -1769,6 +1771,8 @@ export declare namespace Entities {
|
|
|
1769
1771
|
type EntitiesPage = _EntitiesPage;
|
|
1770
1772
|
export import EntityCreateParams = API.EntityCreateParams;
|
|
1771
1773
|
export import EntityListParams = API.EntityListParams;
|
|
1774
|
+
export import BeneficialOwners = API.BeneficialOwners;
|
|
1775
|
+
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
1772
1776
|
export import SupplementalDocuments = API.SupplementalDocuments;
|
|
1773
1777
|
export import SupplementalDocument = API.SupplementalDocument;
|
|
1774
1778
|
export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
|