increase 0.10.1 → 0.10.3
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 +32 -0
- package/core.d.ts +7 -4
- package/core.d.ts.map +1 -1
- package/core.js +13 -6
- package/core.js.map +1 -1
- package/core.mjs +13 -6
- package/core.mjs.map +1 -1
- package/index.d.mts +8 -9
- package/index.d.ts +8 -9
- package/index.d.ts.map +1 -1
- package/index.js +6 -6
- package/index.js.map +1 -1
- package/index.mjs +6 -6
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-transfers.d.ts +8 -1
- 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/ach-prenotifications.d.ts +2 -2
- package/resources/ach-transfers.d.ts +11 -4
- 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/card-purchase-supplements.d.ts +1 -1
- package/resources/check-transfers.d.ts +6 -3
- 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 +92 -18
- 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 +1 -1
- package/resources/entities/beneficial-owners.d.ts +24 -5
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +8 -2
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +8 -2
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +19 -14
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/index.d.ts +5 -1
- package/resources/entities/index.d.ts.map +1 -1
- package/resources/entities/index.js.map +1 -1
- package/resources/entities/index.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +1 -1
- package/resources/entities/supplemental-documents.js +1 -1
- package/resources/entities/supplemental-documents.mjs +1 -1
- package/resources/event-subscriptions.d.ts +22 -10
- 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 +13 -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/external-accounts.d.ts +2 -2
- package/resources/inbound-ach-transfers.d.ts +303 -0
- package/resources/inbound-ach-transfers.d.ts.map +1 -0
- package/resources/inbound-ach-transfers.js +40 -0
- package/resources/inbound-ach-transfers.js.map +1 -0
- package/resources/inbound-ach-transfers.mjs +33 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -0
- package/resources/index.d.ts +6 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -35
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- package/resources/index.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +50 -8
- 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/real-time-decisions.d.ts +33 -4
- 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 +49 -42
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +2 -2
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +2 -2
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +1 -1
- package/resources/simulations/ach-transfers.d.ts +93 -35
- 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/cards.d.ts +108 -25
- 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/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/interest-payments.d.ts +16 -16
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +124 -66
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +2 -2
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +2 -2
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +16 -16
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/transactions.d.ts +16 -16
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts +9 -2
- 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/core.ts +19 -7
- package/src/index.ts +10 -12
- package/src/resources/account-transfers.ts +9 -1
- package/src/resources/ach-prenotifications.ts +2 -2
- package/src/resources/ach-transfers.ts +12 -4
- package/src/resources/card-purchase-supplements.ts +1 -1
- package/src/resources/check-transfers.ts +6 -3
- package/src/resources/declined-transactions.ts +96 -18
- package/src/resources/digital-wallet-tokens.ts +1 -1
- package/src/resources/entities/beneficial-owners.ts +31 -6
- package/src/resources/entities/entities.ts +20 -14
- package/src/resources/entities/index.ts +5 -1
- package/src/resources/entities/supplemental-documents.ts +1 -1
- package/src/resources/event-subscriptions.ts +22 -10
- package/src/resources/events.ts +13 -5
- package/src/resources/external-accounts.ts +2 -2
- package/src/resources/inbound-ach-transfers.ts +359 -0
- package/src/resources/index.ts +6 -7
- package/src/resources/pending-transactions.ts +52 -8
- package/src/resources/real-time-decisions.ts +34 -4
- package/src/resources/real-time-payments-transfers.ts +50 -42
- package/src/resources/routing-numbers.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +95 -35
- package/src/resources/simulations/cards.ts +110 -25
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/simulations/interest-payments.ts +16 -16
- package/src/resources/simulations/real-time-payments-transfers.ts +126 -66
- package/src/resources/simulations/wire-transfers.ts +16 -16
- package/src/resources/transactions.ts +16 -16
- package/src/resources/wire-transfers.ts +10 -2
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts +0 -161
- package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/resources/inbound-ach-transfer-returns.js +0 -37
- package/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/resources/inbound-ach-transfer-returns.mjs +0 -30
- package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
- package/resources/shared.d.ts +0 -31
- package/resources/shared.d.ts.map +0 -1
- package/resources/shared.js +0 -4
- package/resources/shared.js.map +0 -1
- package/resources/shared.mjs +0 -3
- package/resources/shared.mjs.map +0 -1
- package/src/resources/inbound-ach-transfer-returns.ts +0 -196
- package/src/resources/shared.ts +0 -32
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as Core from 'increase/core';
|
|
2
2
|
import { APIResource } from 'increase/resource';
|
|
3
|
-
import * as Shared from 'increase/resources/shared';
|
|
4
3
|
import * as API from './index.js';
|
|
5
4
|
import { Page, PageParams } from 'increase/pagination';
|
|
6
5
|
export declare class DeclinedTransactions extends APIResource {
|
|
@@ -43,13 +42,13 @@ export interface DeclinedTransaction {
|
|
|
43
42
|
amount: number;
|
|
44
43
|
/**
|
|
45
44
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
|
46
|
-
* Transaction
|
|
45
|
+
* Transaction occurred.
|
|
47
46
|
*/
|
|
48
47
|
created_at: string;
|
|
49
48
|
/**
|
|
50
49
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
|
|
51
50
|
* Transaction's currency. This will match the currency on the Declined
|
|
52
|
-
*
|
|
51
|
+
* Transaction's Account.
|
|
53
52
|
*
|
|
54
53
|
* - `CAD` - Canadian Dollar (CAD)
|
|
55
54
|
* - `CHF` - Swiss Franc (CHF)
|
|
@@ -117,7 +116,7 @@ export declare namespace DeclinedTransaction {
|
|
|
117
116
|
* object.
|
|
118
117
|
* - `check_decline` - Check Decline: details will be under the `check_decline`
|
|
119
118
|
* object.
|
|
120
|
-
* - `inbound_real_time_payments_transfer_decline` - Inbound Real
|
|
119
|
+
* - `inbound_real_time_payments_transfer_decline` - Inbound Real-Time Payments
|
|
121
120
|
* Transfer Decline: details will be under the
|
|
122
121
|
* `inbound_real_time_payments_transfer_decline` object.
|
|
123
122
|
* - `international_ach_decline` - International ACH Decline: details will be under
|
|
@@ -141,7 +140,7 @@ export declare namespace DeclinedTransaction {
|
|
|
141
140
|
*/
|
|
142
141
|
check_decline: Source.CheckDecline | null;
|
|
143
142
|
/**
|
|
144
|
-
* An Inbound Real
|
|
143
|
+
* An Inbound Real-Time Payments Transfer Decline object. This field will be
|
|
145
144
|
* present in the JSON response if and only if `category` is equal to
|
|
146
145
|
* `inbound_real_time_payments_transfer_decline`.
|
|
147
146
|
*/
|
|
@@ -163,14 +162,30 @@ export declare namespace DeclinedTransaction {
|
|
|
163
162
|
* only if `category` is equal to `ach_decline`.
|
|
164
163
|
*/
|
|
165
164
|
interface ACHDecline {
|
|
165
|
+
/**
|
|
166
|
+
* The ACH Decline's identifier.
|
|
167
|
+
*/
|
|
168
|
+
id: string;
|
|
166
169
|
/**
|
|
167
170
|
* The declined amount in the minor unit of the destination account currency. For
|
|
168
171
|
* dollars, for example, this is cents.
|
|
169
172
|
*/
|
|
170
173
|
amount: number;
|
|
174
|
+
/**
|
|
175
|
+
* The descriptive date of the transfer.
|
|
176
|
+
*/
|
|
171
177
|
originator_company_descriptive_date: string | null;
|
|
178
|
+
/**
|
|
179
|
+
* The additional information included with the transfer.
|
|
180
|
+
*/
|
|
172
181
|
originator_company_discretionary_data: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* The identifier of the company that initiated the transfer.
|
|
184
|
+
*/
|
|
173
185
|
originator_company_id: string;
|
|
186
|
+
/**
|
|
187
|
+
* The name of the company that initiated the transfer.
|
|
188
|
+
*/
|
|
174
189
|
originator_company_name: string;
|
|
175
190
|
/**
|
|
176
191
|
* Why the ACH transfer was declined.
|
|
@@ -189,6 +204,7 @@ export declare namespace DeclinedTransaction {
|
|
|
189
204
|
* - `originator_request` - Other.
|
|
190
205
|
* - `transaction_not_allowed` - The transaction is not allowed per Increase's
|
|
191
206
|
* terms.
|
|
207
|
+
* - `user_initiated` - The user initiated the decline.
|
|
192
208
|
*/
|
|
193
209
|
reason:
|
|
194
210
|
| 'ach_route_canceled'
|
|
@@ -203,10 +219,25 @@ export declare namespace DeclinedTransaction {
|
|
|
203
219
|
| 'return_of_erroneous_or_reversing_debit'
|
|
204
220
|
| 'no_ach_route'
|
|
205
221
|
| 'originator_request'
|
|
206
|
-
| 'transaction_not_allowed'
|
|
222
|
+
| 'transaction_not_allowed'
|
|
223
|
+
| 'user_initiated';
|
|
224
|
+
/**
|
|
225
|
+
* The id of the receiver of the transfer.
|
|
226
|
+
*/
|
|
207
227
|
receiver_id_number: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* The name of the receiver of the transfer.
|
|
230
|
+
*/
|
|
208
231
|
receiver_name: string | null;
|
|
232
|
+
/**
|
|
233
|
+
* The trace number of the transfer.
|
|
234
|
+
*/
|
|
209
235
|
trace_number: string;
|
|
236
|
+
/**
|
|
237
|
+
* A constant representing the object's type. For this resource it will always be
|
|
238
|
+
* `ach_decline`.
|
|
239
|
+
*/
|
|
240
|
+
type: 'ach_decline';
|
|
210
241
|
}
|
|
211
242
|
/**
|
|
212
243
|
* A Card Decline object. This field will be present in the JSON response if and
|
|
@@ -231,8 +262,8 @@ export declare namespace DeclinedTransaction {
|
|
|
231
262
|
*/
|
|
232
263
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
233
264
|
/**
|
|
234
|
-
* If the authorization was
|
|
235
|
-
*
|
|
265
|
+
* If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
|
266
|
+
* purchase), the identifier of the token that was used.
|
|
236
267
|
*/
|
|
237
268
|
digital_wallet_token_id: string | null;
|
|
238
269
|
/**
|
|
@@ -279,6 +310,7 @@ export declare namespace DeclinedTransaction {
|
|
|
279
310
|
* Why the transaction was declined.
|
|
280
311
|
*
|
|
281
312
|
* - `card_not_active` - The Card was not active.
|
|
313
|
+
* - `physical_card_not_active` - The Physical Card was not active.
|
|
282
314
|
* - `entity_not_active` - The account's entity was not active.
|
|
283
315
|
* - `group_locked` - The account was inactive.
|
|
284
316
|
* - `insufficient_funds` - The Card's Account did not have a sufficient available
|
|
@@ -286,8 +318,6 @@ export declare namespace DeclinedTransaction {
|
|
|
286
318
|
* - `cvv2_mismatch` - The given CVV2 did not match the card's value.
|
|
287
319
|
* - `transaction_not_allowed` - The attempted card transaction is not allowed per
|
|
288
320
|
* Increase's terms.
|
|
289
|
-
* - `breaches_internal_limit` - The transaction was blocked by an internal limit
|
|
290
|
-
* for new Increase accounts.
|
|
291
321
|
* - `breaches_limit` - The transaction was blocked by a Limit.
|
|
292
322
|
* - `webhook_declined` - Your application declined the transaction via webhook.
|
|
293
323
|
* - `webhook_timed_out` - Your application webhook did not respond without the
|
|
@@ -297,21 +327,24 @@ export declare namespace DeclinedTransaction {
|
|
|
297
327
|
* authorization request cryptogram.
|
|
298
328
|
* - `missing_original_authorization` - The original card authorization for this
|
|
299
329
|
* incremental authorization does not exist.
|
|
330
|
+
* - `suspected_fraud` - The transaction was suspected to be fraudulent. Please
|
|
331
|
+
* reach out to support@increase.com for more information.
|
|
300
332
|
*/
|
|
301
333
|
reason:
|
|
302
334
|
| 'card_not_active'
|
|
335
|
+
| 'physical_card_not_active'
|
|
303
336
|
| 'entity_not_active'
|
|
304
337
|
| 'group_locked'
|
|
305
338
|
| 'insufficient_funds'
|
|
306
339
|
| 'cvv2_mismatch'
|
|
307
340
|
| 'transaction_not_allowed'
|
|
308
|
-
| 'breaches_internal_limit'
|
|
309
341
|
| 'breaches_limit'
|
|
310
342
|
| 'webhook_declined'
|
|
311
343
|
| 'webhook_timed_out'
|
|
312
344
|
| 'declined_by_stand_in_processing'
|
|
313
345
|
| 'invalid_physical_card'
|
|
314
|
-
| 'missing_original_authorization'
|
|
346
|
+
| 'missing_original_authorization'
|
|
347
|
+
| 'suspected_fraud';
|
|
315
348
|
}
|
|
316
349
|
namespace CardDecline {
|
|
317
350
|
/**
|
|
@@ -382,8 +415,33 @@ export declare namespace DeclinedTransaction {
|
|
|
382
415
|
/**
|
|
383
416
|
* The method used to enter the cardholder's primary account number and card
|
|
384
417
|
* expiration date
|
|
418
|
+
*
|
|
419
|
+
* - `unknown` - Unknown
|
|
420
|
+
* - `manual` - Manual key entry
|
|
421
|
+
* - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
|
|
422
|
+
* value
|
|
423
|
+
* - `optical_code` - Optical code
|
|
424
|
+
* - `integrated_circuit_card` - Contact chip card
|
|
425
|
+
* - `contactless` - Contactless read of chip card
|
|
426
|
+
* - `credential_on_file` - Transaction initiated using a credential that has
|
|
427
|
+
* previously been stored on file
|
|
428
|
+
* - `magnetic_stripe` - Magnetic stripe read
|
|
429
|
+
* - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
|
|
430
|
+
* - `integrated_circuit_card_no_cvv` - Contact chip card, without card
|
|
431
|
+
* verification value
|
|
385
432
|
*/
|
|
386
|
-
point_of_service_entry_mode:
|
|
433
|
+
point_of_service_entry_mode:
|
|
434
|
+
| 'unknown'
|
|
435
|
+
| 'manual'
|
|
436
|
+
| 'magnetic_stripe_no_cvv'
|
|
437
|
+
| 'optical_code'
|
|
438
|
+
| 'integrated_circuit_card'
|
|
439
|
+
| 'contactless'
|
|
440
|
+
| 'credential_on_file'
|
|
441
|
+
| 'magnetic_stripe'
|
|
442
|
+
| 'contactless_magnetic_stripe'
|
|
443
|
+
| 'integrated_circuit_card_no_cvv'
|
|
444
|
+
| null;
|
|
387
445
|
}
|
|
388
446
|
}
|
|
389
447
|
}
|
|
@@ -435,7 +493,7 @@ export declare namespace DeclinedTransaction {
|
|
|
435
493
|
| 'altered_or_fictitious';
|
|
436
494
|
}
|
|
437
495
|
/**
|
|
438
|
-
* An Inbound Real
|
|
496
|
+
* An Inbound Real-Time Payments Transfer Decline object. This field will be
|
|
439
497
|
* present in the JSON response if and only if `category` is equal to
|
|
440
498
|
* `inbound_real_time_payments_transfer_decline`.
|
|
441
499
|
*/
|
|
@@ -451,7 +509,7 @@ export declare namespace DeclinedTransaction {
|
|
|
451
509
|
creditor_name: string;
|
|
452
510
|
/**
|
|
453
511
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
|
454
|
-
* transfer's currency. This will always be "USD" for a Real
|
|
512
|
+
* transfer's currency. This will always be "USD" for a Real-Time Payments
|
|
455
513
|
* transfer.
|
|
456
514
|
*
|
|
457
515
|
* - `CAD` - Canadian Dollar (CAD)
|
|
@@ -482,8 +540,8 @@ export declare namespace DeclinedTransaction {
|
|
|
482
540
|
* - `account_restricted` - Your account is restricted.
|
|
483
541
|
* - `group_locked` - Your account is inactive.
|
|
484
542
|
* - `entity_not_active` - The account's entity is not active.
|
|
485
|
-
* - `real_time_payments_not_enabled` - Your account is not enabled to receive
|
|
486
|
-
* Time Payments transfers.
|
|
543
|
+
* - `real_time_payments_not_enabled` - Your account is not enabled to receive
|
|
544
|
+
* Real-Time Payments transfers.
|
|
487
545
|
*/
|
|
488
546
|
reason:
|
|
489
547
|
| 'account_number_canceled'
|
|
@@ -497,7 +555,7 @@ export declare namespace DeclinedTransaction {
|
|
|
497
555
|
*/
|
|
498
556
|
remittance_information: string | null;
|
|
499
557
|
/**
|
|
500
|
-
* The Real
|
|
558
|
+
* The Real-Time Payments network identification of the declined transfer.
|
|
501
559
|
*/
|
|
502
560
|
transaction_identification: string;
|
|
503
561
|
}
|
|
@@ -598,6 +656,7 @@ export interface DeclinedTransactionListParams extends PageParams {
|
|
|
598
656
|
* Filter Declined Transactions to ones belonging to the specified Account.
|
|
599
657
|
*/
|
|
600
658
|
account_id?: string;
|
|
659
|
+
category?: DeclinedTransactionListParams.Category;
|
|
601
660
|
created_at?: DeclinedTransactionListParams.CreatedAt;
|
|
602
661
|
/**
|
|
603
662
|
* Filter Declined Transactions to those belonging to the specified route.
|
|
@@ -605,6 +664,21 @@ export interface DeclinedTransactionListParams extends PageParams {
|
|
|
605
664
|
route_id?: string;
|
|
606
665
|
}
|
|
607
666
|
export declare namespace DeclinedTransactionListParams {
|
|
667
|
+
interface Category {
|
|
668
|
+
/**
|
|
669
|
+
* Return results whose value is in the provided list. For GET requests, this
|
|
670
|
+
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
671
|
+
*/
|
|
672
|
+
in?: Array<
|
|
673
|
+
| 'ach_decline'
|
|
674
|
+
| 'card_decline'
|
|
675
|
+
| 'check_decline'
|
|
676
|
+
| 'inbound_real_time_payments_transfer_decline'
|
|
677
|
+
| 'international_ach_decline'
|
|
678
|
+
| 'wire_decline'
|
|
679
|
+
| 'other'
|
|
680
|
+
>;
|
|
681
|
+
}
|
|
608
682
|
interface CreatedAt {
|
|
609
683
|
/**
|
|
610
684
|
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined-transactions.d.ts","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":"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5D,KAAY,wBAAwB,GAAG,yBAAyB,CAAC;IACjE,MAAM,QAAQ,6BAA6B,GAAG,GAAG,CAAC,6BAA6B,CAAC;CACjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined-transactions.js","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;
|
|
1
|
+
{"version":3,"file":"declined-transactions.js","sourceRoot":"","sources":["../src/resources/declined-transactions.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAEjD,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;AAoyB1E,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;
|
|
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;OAEzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,oBAAqB,SAAQ,WAAW;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,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,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,IAAyB;CAAG;AAoyB1E,WAAiB,oBAAoB;AAIrC,CAAC,EAJgB,oBAAoB,KAApB,oBAAoB,QAIpC"}
|
|
@@ -44,7 +44,7 @@ export interface DigitalWalletToken {
|
|
|
44
44
|
* - `inactive` - The digital wallet token has been created but not successfully
|
|
45
45
|
* activated via two-factor authentication yet.
|
|
46
46
|
* - `suspended` - The digital wallet token has been temporarily paused.
|
|
47
|
-
* - `deactivated` - The digital wallet token has been permanently
|
|
47
|
+
* - `deactivated` - The digital wallet token has been permanently canceled.
|
|
48
48
|
*/
|
|
49
49
|
status: 'active' | 'inactive' | 'suspended' | 'deactivated';
|
|
50
50
|
/**
|
|
@@ -6,9 +6,12 @@ export declare class BeneficialOwners extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Create a beneficial owner for a corporate Entity
|
|
8
8
|
*/
|
|
9
|
-
create(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
create(body: BeneficialOwnerCreateParams, options?: Core.RequestOptions): Core.APIPromise<Entities.Entity>;
|
|
10
|
+
/**
|
|
11
|
+
* Archive a beneficial owner belonging to a corporate Entity
|
|
12
|
+
*/
|
|
13
|
+
archive(
|
|
14
|
+
body: BeneficialOwnerArchiveParams,
|
|
12
15
|
options?: Core.RequestOptions,
|
|
13
16
|
): Core.APIPromise<Entities.Entity>;
|
|
14
17
|
}
|
|
@@ -18,6 +21,10 @@ export interface BeneficialOwnerCreateParams {
|
|
|
18
21
|
* corporation.
|
|
19
22
|
*/
|
|
20
23
|
beneficial_owner: BeneficialOwnerCreateParams.BeneficialOwner;
|
|
24
|
+
/**
|
|
25
|
+
* The identifier of the Entity to associate with the new Beneficial Owner.
|
|
26
|
+
*/
|
|
27
|
+
entity_id: string;
|
|
21
28
|
}
|
|
22
29
|
export declare namespace BeneficialOwnerCreateParams {
|
|
23
30
|
/**
|
|
@@ -45,7 +52,7 @@ export declare namespace BeneficialOwnerCreateParams {
|
|
|
45
52
|
*/
|
|
46
53
|
interface Individual {
|
|
47
54
|
/**
|
|
48
|
-
* The individual's address.
|
|
55
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
49
56
|
*/
|
|
50
57
|
address: Individual.Address;
|
|
51
58
|
/**
|
|
@@ -70,7 +77,7 @@ export declare namespace BeneficialOwnerCreateParams {
|
|
|
70
77
|
}
|
|
71
78
|
namespace Individual {
|
|
72
79
|
/**
|
|
73
|
-
* The individual's address.
|
|
80
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
74
81
|
*/
|
|
75
82
|
interface Address {
|
|
76
83
|
/**
|
|
@@ -209,7 +216,19 @@ export declare namespace BeneficialOwnerCreateParams {
|
|
|
209
216
|
}
|
|
210
217
|
}
|
|
211
218
|
}
|
|
219
|
+
export interface BeneficialOwnerArchiveParams {
|
|
220
|
+
/**
|
|
221
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
222
|
+
* corporation.
|
|
223
|
+
*/
|
|
224
|
+
beneficial_owner_id: string;
|
|
225
|
+
/**
|
|
226
|
+
* The identifier of the Entity to retrieve.
|
|
227
|
+
*/
|
|
228
|
+
entity_id: string;
|
|
229
|
+
}
|
|
212
230
|
export declare namespace BeneficialOwners {
|
|
213
231
|
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
232
|
+
export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
|
|
214
233
|
}
|
|
215
234
|
//# sourceMappingURL=beneficial-owners.d.ts.map
|
|
@@ -1 +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,
|
|
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,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,Q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AAC;IAChC,MAAM,QAAQ,2BAA2B,GAAG,GAAG,CAAC,2BAA2B,CAAC;IAC5E,MAAM,QAAQ,4BAA4B,GAAG,GAAG,CAAC,4BAA4B,CAAC;CAC/E"}
|
|
@@ -7,8 +7,14 @@ class BeneficialOwners extends resource_1.APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* Create a beneficial owner for a corporate Entity
|
|
9
9
|
*/
|
|
10
|
-
create(
|
|
11
|
-
return this.post(
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this.post('/entity_beneficial_owners', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Archive a beneficial owner belonging to a corporate Entity
|
|
15
|
+
*/
|
|
16
|
+
archive(body, options) {
|
|
17
|
+
return this.post('/entity_beneficial_owners/archive', { body, ...options });
|
|
12
18
|
}
|
|
13
19
|
}
|
|
14
20
|
exports.BeneficialOwners = BeneficialOwners;
|
|
@@ -1 +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,
|
|
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,CAAC,IAAiC,EAAE,OAA6B;QACrE,OAAO,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,OAAO,CACL,IAAkC,EAClC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAjBD,4CAiBC;AAwPD,WAAiB,gBAAgB;AAGjC,CAAC,EAHgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAGhC"}
|
|
@@ -4,8 +4,14 @@ export class BeneficialOwners extends APIResource {
|
|
|
4
4
|
/**
|
|
5
5
|
* Create a beneficial owner for a corporate Entity
|
|
6
6
|
*/
|
|
7
|
-
create(
|
|
8
|
-
return this.post(
|
|
7
|
+
create(body, options) {
|
|
8
|
+
return this.post('/entity_beneficial_owners', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Archive a beneficial owner belonging to a corporate Entity
|
|
12
|
+
*/
|
|
13
|
+
archive(body, options) {
|
|
14
|
+
return this.post('/entity_beneficial_owners/archive', { body, ...options });
|
|
9
15
|
}
|
|
10
16
|
}
|
|
11
17
|
(function (BeneficialOwners) {})(BeneficialOwners || (BeneficialOwners = {}));
|
|
@@ -1 +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,
|
|
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,CAAC,IAAiC,EAAE,OAA6B;QACrE,OAAO,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,OAAO,CACL,IAAkC,EAClC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAwPD,WAAiB,gBAAgB;AAGjC,CAAC,EAHgB,gBAAgB,KAAhB,gBAAgB,QAGhC"}
|
|
@@ -149,6 +149,10 @@ export declare namespace Entity {
|
|
|
149
149
|
zip: string;
|
|
150
150
|
}
|
|
151
151
|
interface BeneficialOwner {
|
|
152
|
+
/**
|
|
153
|
+
* The identifier of this beneficial owner.
|
|
154
|
+
*/
|
|
155
|
+
beneficial_owner_id: string;
|
|
152
156
|
/**
|
|
153
157
|
* This person's role or title within the entity.
|
|
154
158
|
*/
|
|
@@ -721,7 +725,7 @@ export declare namespace EntityCreateParams {
|
|
|
721
725
|
*/
|
|
722
726
|
interface Corporation {
|
|
723
727
|
/**
|
|
724
|
-
* The corporation's address.
|
|
728
|
+
* The corporation's physical address. Post Office Boxes are disallowed.
|
|
725
729
|
*/
|
|
726
730
|
address: Corporation.Address;
|
|
727
731
|
/**
|
|
@@ -749,7 +753,7 @@ export declare namespace EntityCreateParams {
|
|
|
749
753
|
}
|
|
750
754
|
namespace Corporation {
|
|
751
755
|
/**
|
|
752
|
-
* The corporation's address.
|
|
756
|
+
* The corporation's physical address. Post Office Boxes are disallowed.
|
|
753
757
|
*/
|
|
754
758
|
interface Address {
|
|
755
759
|
/**
|
|
@@ -795,7 +799,7 @@ export declare namespace EntityCreateParams {
|
|
|
795
799
|
*/
|
|
796
800
|
interface Individual {
|
|
797
801
|
/**
|
|
798
|
-
* The individual's address.
|
|
802
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
799
803
|
*/
|
|
800
804
|
address: Individual.Address;
|
|
801
805
|
/**
|
|
@@ -820,7 +824,7 @@ export declare namespace EntityCreateParams {
|
|
|
820
824
|
}
|
|
821
825
|
namespace Individual {
|
|
822
826
|
/**
|
|
823
|
-
* The individual's address.
|
|
827
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
824
828
|
*/
|
|
825
829
|
interface Address {
|
|
826
830
|
/**
|
|
@@ -976,7 +980,7 @@ export declare namespace EntityCreateParams {
|
|
|
976
980
|
namespace Joint {
|
|
977
981
|
interface Individual {
|
|
978
982
|
/**
|
|
979
|
-
* The individual's address.
|
|
983
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
980
984
|
*/
|
|
981
985
|
address: Individual.Address;
|
|
982
986
|
/**
|
|
@@ -1001,7 +1005,7 @@ export declare namespace EntityCreateParams {
|
|
|
1001
1005
|
}
|
|
1002
1006
|
namespace Individual {
|
|
1003
1007
|
/**
|
|
1004
|
-
* The individual's address.
|
|
1008
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1005
1009
|
*/
|
|
1006
1010
|
interface Address {
|
|
1007
1011
|
/**
|
|
@@ -1147,7 +1151,7 @@ export declare namespace EntityCreateParams {
|
|
|
1147
1151
|
*/
|
|
1148
1152
|
interface NaturalPerson {
|
|
1149
1153
|
/**
|
|
1150
|
-
* The individual's address.
|
|
1154
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1151
1155
|
*/
|
|
1152
1156
|
address: NaturalPerson.Address;
|
|
1153
1157
|
/**
|
|
@@ -1172,7 +1176,7 @@ export declare namespace EntityCreateParams {
|
|
|
1172
1176
|
}
|
|
1173
1177
|
namespace NaturalPerson {
|
|
1174
1178
|
/**
|
|
1175
|
-
* The individual's address.
|
|
1179
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1176
1180
|
*/
|
|
1177
1181
|
interface Address {
|
|
1178
1182
|
/**
|
|
@@ -1321,7 +1325,7 @@ export declare namespace EntityCreateParams {
|
|
|
1321
1325
|
*/
|
|
1322
1326
|
interface Trust {
|
|
1323
1327
|
/**
|
|
1324
|
-
* The trust's address.
|
|
1328
|
+
* The trust's physical address. Post Office Boxes are disallowed.
|
|
1325
1329
|
*/
|
|
1326
1330
|
address: Trust.Address;
|
|
1327
1331
|
/**
|
|
@@ -1362,7 +1366,7 @@ export declare namespace EntityCreateParams {
|
|
|
1362
1366
|
}
|
|
1363
1367
|
namespace Trust {
|
|
1364
1368
|
/**
|
|
1365
|
-
* The trust's address.
|
|
1369
|
+
* The trust's physical address. Post Office Boxes are disallowed.
|
|
1366
1370
|
*/
|
|
1367
1371
|
interface Address {
|
|
1368
1372
|
/**
|
|
@@ -1407,7 +1411,7 @@ export declare namespace EntityCreateParams {
|
|
|
1407
1411
|
*/
|
|
1408
1412
|
interface Individual {
|
|
1409
1413
|
/**
|
|
1410
|
-
* The individual's address.
|
|
1414
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1411
1415
|
*/
|
|
1412
1416
|
address: Individual.Address;
|
|
1413
1417
|
/**
|
|
@@ -1432,7 +1436,7 @@ export declare namespace EntityCreateParams {
|
|
|
1432
1436
|
}
|
|
1433
1437
|
namespace Individual {
|
|
1434
1438
|
/**
|
|
1435
|
-
* The individual's address.
|
|
1439
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1436
1440
|
*/
|
|
1437
1441
|
interface Address {
|
|
1438
1442
|
/**
|
|
@@ -1575,7 +1579,7 @@ export declare namespace EntityCreateParams {
|
|
|
1575
1579
|
*/
|
|
1576
1580
|
interface Grantor {
|
|
1577
1581
|
/**
|
|
1578
|
-
* The individual's address.
|
|
1582
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1579
1583
|
*/
|
|
1580
1584
|
address: Grantor.Address;
|
|
1581
1585
|
/**
|
|
@@ -1600,7 +1604,7 @@ export declare namespace EntityCreateParams {
|
|
|
1600
1604
|
}
|
|
1601
1605
|
namespace Grantor {
|
|
1602
1606
|
/**
|
|
1603
|
-
* The individual's address.
|
|
1607
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
1604
1608
|
*/
|
|
1605
1609
|
interface Address {
|
|
1606
1610
|
/**
|
|
@@ -1773,6 +1777,7 @@ export declare namespace Entities {
|
|
|
1773
1777
|
export import EntityListParams = API.EntityListParams;
|
|
1774
1778
|
export import BeneficialOwners = API.BeneficialOwners;
|
|
1775
1779
|
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
1780
|
+
export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
|
|
1776
1781
|
export import SupplementalDocuments = API.SupplementalDocuments;
|
|
1777
1782
|
export import SupplementalDocument = API.SupplementalDocument;
|
|
1778
1783
|
export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
|