@riocrypto/common 1.0.2092 → 1.0.2098
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/build/events/user-updated-event.d.ts +19 -49
- package/build/index.d.ts +0 -8
- package/build/index.js +0 -8
- package/build/types/import-order-input.d.ts +0 -2
- package/build/types/order.d.ts +0 -2
- package/build/types/user-input.d.ts +18 -42
- package/build/types/user-update.d.ts +18 -51
- package/build/types/user.d.ts +0 -8
- package/package.json +1 -1
- package/build/classes/PartnerClass.d.ts +0 -6
- package/build/classes/PartnerClass.js +0 -17
- package/build/types/UBO-input.d.ts +0 -47
- package/build/types/UBO-input.js +0 -2
- package/build/types/UBO-onboarding-status.d.ts +0 -5
- package/build/types/UBO-onboarding-status.js +0 -9
- package/build/types/UBO-update.d.ts +0 -47
- package/build/types/UBO-update.js +0 -2
- package/build/types/UBO.d.ts +0 -49
- package/build/types/UBO.js +0 -2
- package/build/types/bridge-customer.d.ts +0 -7
- package/build/types/bridge-customer.js +0 -2
- package/build/types/partner.d.ts +0 -3
- package/build/types/partner.js +0 -7
- package/build/types/risk-tier.d.ts +0 -5
- package/build/types/risk-tier.js +0 -9
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { Country } from "../types/country";
|
|
1
2
|
import { CountryOfOrigin } from "../types/country-of-origin";
|
|
2
|
-
import { ImmigrationStatus } from "../types/immigration-status";
|
|
3
3
|
import { OnboardingStatus } from "../types/onboarding-status";
|
|
4
4
|
import { PlatformFeeRange } from "../types/platform-fee-range";
|
|
5
|
-
import { RiskTier } from "../types/risk-tier";
|
|
6
5
|
import { UserAttribute } from "../types/user-attribute";
|
|
7
6
|
import { Subjects } from "./subjects";
|
|
8
7
|
export interface UserUpdatedEvent {
|
|
@@ -13,8 +12,6 @@ export interface UserUpdatedEvent {
|
|
|
13
12
|
brokerId?: string;
|
|
14
13
|
phoneNumber?: string;
|
|
15
14
|
email?: string;
|
|
16
|
-
risk?: RiskTier;
|
|
17
|
-
hasPassedEDD?: boolean;
|
|
18
15
|
cosignerGroupId?: string;
|
|
19
16
|
attributes?: UserAttribute[];
|
|
20
17
|
authorizedPhoneNumbers?: string[];
|
|
@@ -32,53 +29,26 @@ export interface UserUpdatedEvent {
|
|
|
32
29
|
buy?: PlatformFeeRange[];
|
|
33
30
|
sell?: PlatformFeeRange[];
|
|
34
31
|
};
|
|
35
|
-
BR?: {
|
|
36
|
-
buy?: PlatformFeeRange[];
|
|
37
|
-
sell?: PlatformFeeRange[];
|
|
38
|
-
};
|
|
39
|
-
US?: {
|
|
40
|
-
buy?: PlatformFeeRange[];
|
|
41
|
-
sell?: PlatformFeeRange[];
|
|
42
|
-
};
|
|
43
32
|
};
|
|
44
33
|
onboarding?: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
certificateOfIncorporation?: string;
|
|
64
|
-
KYCReport?: string;
|
|
65
|
-
taxTranscript?: string;
|
|
66
|
-
proofOfAddress?: string;
|
|
67
|
-
businessRegistration?: string;
|
|
68
|
-
taxIdentificationCertificate?: string;
|
|
69
|
-
legalRepresentativeIdPowerOfAttorney?: string;
|
|
70
|
-
personalIdentificationCertificate?: string;
|
|
71
|
-
extraFiles?: string[];
|
|
72
|
-
};
|
|
73
|
-
address?: {
|
|
74
|
-
street1?: string;
|
|
75
|
-
street2?: string;
|
|
76
|
-
city?: string;
|
|
77
|
-
state?: string;
|
|
78
|
-
postalCode?: string;
|
|
79
|
-
country?: CountryOfOrigin;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
34
|
+
country?: Country;
|
|
35
|
+
aipriseBusinessProfileId?: string;
|
|
36
|
+
aipriseUserProfileId?: string;
|
|
37
|
+
aipriseBusinessVerificationSessionUrl?: string;
|
|
38
|
+
aipriseUserVerificationSessionUrl?: string;
|
|
39
|
+
aipriseUserVerificationSessionId?: string;
|
|
40
|
+
bridgeCustomerId?: string;
|
|
41
|
+
bridgeKYCLinkId?: string;
|
|
42
|
+
status?: OnboardingStatus;
|
|
43
|
+
hasAcceptedTerms?: boolean;
|
|
44
|
+
};
|
|
45
|
+
address: {
|
|
46
|
+
street1?: string;
|
|
47
|
+
street2?: string;
|
|
48
|
+
city?: string;
|
|
49
|
+
state?: string;
|
|
50
|
+
postalCode?: string;
|
|
51
|
+
country?: CountryOfOrigin;
|
|
82
52
|
};
|
|
83
53
|
invoicing?: {
|
|
84
54
|
MX?: {
|
package/build/index.d.ts
CHANGED
|
@@ -247,14 +247,12 @@ export * from "./types/crypto-address-query";
|
|
|
247
247
|
export * from "./types/bank-account-query";
|
|
248
248
|
export * from "./types/mexico-fiscal-regimen";
|
|
249
249
|
export * from "./types/mexico-fiscal-regimen-code";
|
|
250
|
-
export * from "./types/bridge-customer";
|
|
251
250
|
export * from "./types/bridge-transfer";
|
|
252
251
|
export * from "./types/bridge-external-account";
|
|
253
252
|
export * from "./types/bridge-liquidation-address";
|
|
254
253
|
export * from "./types/admin-task-type";
|
|
255
254
|
export * from "./types/admin-task-status";
|
|
256
255
|
export * from "./types/admin-task";
|
|
257
|
-
export * from "./types/partner";
|
|
258
256
|
export * from "./types/import-order-input";
|
|
259
257
|
export * from "./types/master-order-record";
|
|
260
258
|
export * from "./types/invoice";
|
|
@@ -270,15 +268,10 @@ export * from "./types/webhook-type";
|
|
|
270
268
|
export * from "./types/bitso-mxn-withdrawal";
|
|
271
269
|
export * from "./types/circle-chain";
|
|
272
270
|
export * from "./types/circle-payout";
|
|
273
|
-
export * from "./types/risk-tier";
|
|
274
271
|
export * from "./types/market-data";
|
|
275
272
|
export * from "./types/kyc-file-type";
|
|
276
273
|
export * from "./types/kyc-file-index";
|
|
277
274
|
export * from "./types/identity-verification-status";
|
|
278
|
-
export * from "./types/UBO-onboarding-status";
|
|
279
|
-
export * from "./types/UBO";
|
|
280
|
-
export * from "./types/UBO-input";
|
|
281
|
-
export * from "./types/UBO-update";
|
|
282
275
|
export * from "./types/immigration-status";
|
|
283
276
|
export * from "./types/bid";
|
|
284
277
|
export * from "./types/bid-status";
|
|
@@ -381,7 +374,6 @@ export * from "./classes/SecurityQuestionClass";
|
|
|
381
374
|
export * from "./classes/AdminTaskTypeClass";
|
|
382
375
|
export * from "./classes/ProcessorClass";
|
|
383
376
|
export * from "./classes/LiquidityProviderClass";
|
|
384
|
-
export * from "./classes/PartnerClass";
|
|
385
377
|
export * from "./classes/ImmigrationStatusClass";
|
|
386
378
|
export * from "./helpers/validate-address";
|
|
387
379
|
export * from "./helpers/humanize-order-status";
|
package/build/index.js
CHANGED
|
@@ -263,14 +263,12 @@ __exportStar(require("./types/crypto-address-query"), exports);
|
|
|
263
263
|
__exportStar(require("./types/bank-account-query"), exports);
|
|
264
264
|
__exportStar(require("./types/mexico-fiscal-regimen"), exports);
|
|
265
265
|
__exportStar(require("./types/mexico-fiscal-regimen-code"), exports);
|
|
266
|
-
__exportStar(require("./types/bridge-customer"), exports);
|
|
267
266
|
__exportStar(require("./types/bridge-transfer"), exports);
|
|
268
267
|
__exportStar(require("./types/bridge-external-account"), exports);
|
|
269
268
|
__exportStar(require("./types/bridge-liquidation-address"), exports);
|
|
270
269
|
__exportStar(require("./types/admin-task-type"), exports);
|
|
271
270
|
__exportStar(require("./types/admin-task-status"), exports);
|
|
272
271
|
__exportStar(require("./types/admin-task"), exports);
|
|
273
|
-
__exportStar(require("./types/partner"), exports);
|
|
274
272
|
__exportStar(require("./types/import-order-input"), exports);
|
|
275
273
|
__exportStar(require("./types/master-order-record"), exports);
|
|
276
274
|
__exportStar(require("./types/invoice"), exports);
|
|
@@ -286,15 +284,10 @@ __exportStar(require("./types/webhook-type"), exports);
|
|
|
286
284
|
__exportStar(require("./types/bitso-mxn-withdrawal"), exports);
|
|
287
285
|
__exportStar(require("./types/circle-chain"), exports);
|
|
288
286
|
__exportStar(require("./types/circle-payout"), exports);
|
|
289
|
-
__exportStar(require("./types/risk-tier"), exports);
|
|
290
287
|
__exportStar(require("./types/market-data"), exports);
|
|
291
288
|
__exportStar(require("./types/kyc-file-type"), exports);
|
|
292
289
|
__exportStar(require("./types/kyc-file-index"), exports);
|
|
293
290
|
__exportStar(require("./types/identity-verification-status"), exports);
|
|
294
|
-
__exportStar(require("./types/UBO-onboarding-status"), exports);
|
|
295
|
-
__exportStar(require("./types/UBO"), exports);
|
|
296
|
-
__exportStar(require("./types/UBO-input"), exports);
|
|
297
|
-
__exportStar(require("./types/UBO-update"), exports);
|
|
298
291
|
__exportStar(require("./types/immigration-status"), exports);
|
|
299
292
|
__exportStar(require("./types/bid"), exports);
|
|
300
293
|
__exportStar(require("./types/bid-status"), exports);
|
|
@@ -397,7 +390,6 @@ __exportStar(require("./classes/SecurityQuestionClass"), exports);
|
|
|
397
390
|
__exportStar(require("./classes/AdminTaskTypeClass"), exports);
|
|
398
391
|
__exportStar(require("./classes/ProcessorClass"), exports);
|
|
399
392
|
__exportStar(require("./classes/LiquidityProviderClass"), exports);
|
|
400
|
-
__exportStar(require("./classes/PartnerClass"), exports);
|
|
401
393
|
__exportStar(require("./classes/ImmigrationStatusClass"), exports);
|
|
402
394
|
__exportStar(require("./helpers/validate-address"), exports);
|
|
403
395
|
__exportStar(require("./helpers/humanize-order-status"), exports);
|
|
@@ -6,7 +6,6 @@ import { PayoutMethod } from "./payout-method";
|
|
|
6
6
|
import { Processor } from "./processor";
|
|
7
7
|
import { Side } from "./side";
|
|
8
8
|
import { Crypto } from "./crypto";
|
|
9
|
-
import { Partner } from "./partner";
|
|
10
9
|
export interface ImportOrderInput {
|
|
11
10
|
quoteId?: string;
|
|
12
11
|
userId: string;
|
|
@@ -36,7 +35,6 @@ export interface ImportOrderInput {
|
|
|
36
35
|
transferFeeFiat?: number;
|
|
37
36
|
platformFeeFiat?: number;
|
|
38
37
|
platformFeeFiatTax?: number;
|
|
39
|
-
partner?: Partner;
|
|
40
38
|
noRecords?: Boolean;
|
|
41
39
|
createdAt?: Date;
|
|
42
40
|
}
|
package/build/types/order.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import { Processor } from "./processor";
|
|
|
8
8
|
import { Side } from "./side";
|
|
9
9
|
import { Fees } from "./fees";
|
|
10
10
|
import { PayoutMethod } from "./payout-method";
|
|
11
|
-
import { Partner } from "./partner";
|
|
12
11
|
import { OrderSubstatus } from "./order-substatus";
|
|
13
12
|
import { OrderAttribute } from "./order-attribute";
|
|
14
13
|
import { SettlementTime } from "./settlement-time";
|
|
@@ -50,7 +49,6 @@ export interface Order {
|
|
|
50
49
|
wireMessage?: string;
|
|
51
50
|
expiredQuotes?: string[];
|
|
52
51
|
externalAccountId?: string;
|
|
53
|
-
partner?: Partner;
|
|
54
52
|
imported?: boolean;
|
|
55
53
|
managedWallet?: boolean;
|
|
56
54
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Country } from "./country";
|
|
2
2
|
import { CountryOfOrigin } from "./country-of-origin";
|
|
3
3
|
import { Fiat } from "./fiat";
|
|
4
|
-
import { ImmigrationStatus } from "./immigration-status";
|
|
5
4
|
import { OnboardingStatus } from "./onboarding-status";
|
|
6
5
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
7
6
|
import { UserAttribute } from "./user-attribute";
|
|
@@ -13,16 +12,11 @@ declare type IndividualUser = {
|
|
|
13
12
|
lastName?: string;
|
|
14
13
|
secondLastName?: string;
|
|
15
14
|
birthday?: Date;
|
|
16
|
-
countryOfOrigin?: CountryOfOrigin;
|
|
17
15
|
};
|
|
18
16
|
};
|
|
19
17
|
declare type BusinessUser = {
|
|
20
18
|
businessData?: {
|
|
21
19
|
businessName?: string;
|
|
22
|
-
UBO?: {
|
|
23
|
-
id?: string;
|
|
24
|
-
email?: string;
|
|
25
|
-
};
|
|
26
20
|
};
|
|
27
21
|
};
|
|
28
22
|
export declare type UserInput = {
|
|
@@ -57,42 +51,24 @@ export declare type UserInput = {
|
|
|
57
51
|
};
|
|
58
52
|
};
|
|
59
53
|
onboarding?: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
KYCReport?: string;
|
|
79
|
-
taxTranscript?: string;
|
|
80
|
-
proofOfAddress?: string;
|
|
81
|
-
businessRegistration?: string;
|
|
82
|
-
taxIdentificationCertificate?: string;
|
|
83
|
-
legalRepresentativeIdPowerOfAttorney?: string;
|
|
84
|
-
personalIdentificationCertificate?: string;
|
|
85
|
-
extraFiles?: string[];
|
|
86
|
-
};
|
|
87
|
-
address?: {
|
|
88
|
-
street1?: string;
|
|
89
|
-
street2?: string;
|
|
90
|
-
city?: string;
|
|
91
|
-
state?: string;
|
|
92
|
-
postalCode?: string;
|
|
93
|
-
country?: CountryOfOrigin;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
54
|
+
country?: Country;
|
|
55
|
+
aipriseBusinessProfileId?: string;
|
|
56
|
+
aipriseUserProfileId?: string;
|
|
57
|
+
aipriseBusinessVerificationSessionUrl?: string;
|
|
58
|
+
aipriseUserVerificationSessionUrl?: string;
|
|
59
|
+
aipriseUserVerificationSessionId?: string;
|
|
60
|
+
bridgeCustomerId?: string;
|
|
61
|
+
bridgeKYCLinkId?: string;
|
|
62
|
+
status?: OnboardingStatus;
|
|
63
|
+
hasAcceptedTerms?: boolean;
|
|
64
|
+
};
|
|
65
|
+
address?: {
|
|
66
|
+
street1?: string;
|
|
67
|
+
street2?: string;
|
|
68
|
+
city?: string;
|
|
69
|
+
state?: string;
|
|
70
|
+
postalCode?: string;
|
|
71
|
+
country?: CountryOfOrigin;
|
|
96
72
|
};
|
|
97
73
|
invoicing?: {
|
|
98
74
|
MX?: {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { RiskTier } from "./risk-tier";
|
|
2
1
|
import { CountryOfOrigin } from "./country-of-origin";
|
|
3
2
|
import { OnboardingStatus } from "./onboarding-status";
|
|
4
3
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
5
4
|
import { UserAttribute } from "./user-attribute";
|
|
6
5
|
import { UserType } from "./user-type";
|
|
7
|
-
import { ImmigrationStatus } from "./immigration-status";
|
|
8
6
|
import { Country } from "./country";
|
|
9
7
|
import { Fiat } from "./fiat";
|
|
10
8
|
import { Crypto } from "./crypto";
|
|
@@ -20,10 +18,6 @@ declare type IndividualUser = {
|
|
|
20
18
|
declare type BusinessUser = {
|
|
21
19
|
businessData?: {
|
|
22
20
|
businessName?: string;
|
|
23
|
-
UBO?: {
|
|
24
|
-
id?: string;
|
|
25
|
-
email?: string;
|
|
26
|
-
};
|
|
27
21
|
};
|
|
28
22
|
};
|
|
29
23
|
export declare type UserUpdate = {
|
|
@@ -34,11 +28,8 @@ export declare type UserUpdate = {
|
|
|
34
28
|
type?: UserType;
|
|
35
29
|
phoneNumber?: string;
|
|
36
30
|
email?: string;
|
|
37
|
-
risk?: RiskTier;
|
|
38
|
-
hasPassedEDD?: boolean;
|
|
39
31
|
cosignerGroupId?: string;
|
|
40
32
|
attributes?: UserAttribute[];
|
|
41
|
-
authorizedPhoneNumbers?: string[];
|
|
42
33
|
platformFeeRanges?: {
|
|
43
34
|
MX?: {
|
|
44
35
|
buy?: PlatformFeeRange[];
|
|
@@ -62,43 +53,24 @@ export declare type UserUpdate = {
|
|
|
62
53
|
};
|
|
63
54
|
};
|
|
64
55
|
onboarding?: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
extraFiles?: string[];
|
|
84
|
-
};
|
|
85
|
-
legalRepresentative?: {
|
|
86
|
-
firstName?: string;
|
|
87
|
-
middleName?: string;
|
|
88
|
-
lastName?: string;
|
|
89
|
-
secondLastName?: string;
|
|
90
|
-
verificationStatus?: "passed" | "failed" | "review";
|
|
91
|
-
email?: string;
|
|
92
|
-
};
|
|
93
|
-
address?: {
|
|
94
|
-
street1?: string;
|
|
95
|
-
street2?: string;
|
|
96
|
-
city?: string;
|
|
97
|
-
state?: string;
|
|
98
|
-
postalCode?: string;
|
|
99
|
-
country?: CountryOfOrigin;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
56
|
+
country?: Country;
|
|
57
|
+
aipriseBusinessProfileId?: string;
|
|
58
|
+
aipriseUserProfileId?: string;
|
|
59
|
+
aipriseBusinessVerificationSessionUrl?: string;
|
|
60
|
+
aipriseUserVerificationSessionUrl?: string;
|
|
61
|
+
aipriseUserVerificationSessionId?: string;
|
|
62
|
+
bridgeCustomerId?: string;
|
|
63
|
+
bridgeKYCLinkId?: string;
|
|
64
|
+
status?: OnboardingStatus;
|
|
65
|
+
hasAcceptedTerms?: boolean;
|
|
66
|
+
};
|
|
67
|
+
address?: {
|
|
68
|
+
street1?: string;
|
|
69
|
+
street2?: string;
|
|
70
|
+
city?: string;
|
|
71
|
+
state?: string;
|
|
72
|
+
postalCode?: string;
|
|
73
|
+
country?: CountryOfOrigin;
|
|
102
74
|
};
|
|
103
75
|
invoicing?: {
|
|
104
76
|
MX?: {
|
|
@@ -125,10 +97,5 @@ export declare type UserUpdate = {
|
|
|
125
97
|
overrideOvernightAndWeekendVault: boolean;
|
|
126
98
|
};
|
|
127
99
|
};
|
|
128
|
-
preSettlementAmount?: {
|
|
129
|
-
[country in Country]?: {
|
|
130
|
-
[currency in Fiat | Crypto]?: number;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
100
|
} & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
|
|
134
101
|
export {};
|
package/build/types/user.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RiskTier } from "./risk-tier";
|
|
2
1
|
import { CountryOfOrigin } from "./country-of-origin";
|
|
3
2
|
import { OnboardingStatus } from "./onboarding-status";
|
|
4
3
|
import { PlatformFeeRange } from "./platform-fee-range";
|
|
@@ -21,10 +20,6 @@ declare type IndividualUser = {
|
|
|
21
20
|
declare type BusinessUser = {
|
|
22
21
|
businessData?: {
|
|
23
22
|
businessName: string;
|
|
24
|
-
UBO?: {
|
|
25
|
-
id?: string;
|
|
26
|
-
email?: string;
|
|
27
|
-
};
|
|
28
23
|
};
|
|
29
24
|
};
|
|
30
25
|
export declare type User = {
|
|
@@ -35,11 +30,8 @@ export declare type User = {
|
|
|
35
30
|
type: UserType;
|
|
36
31
|
phoneNumber?: string;
|
|
37
32
|
email: string;
|
|
38
|
-
risk: RiskTier;
|
|
39
|
-
hasPassedEDD: boolean;
|
|
40
33
|
cosignerGroupId?: string;
|
|
41
34
|
attributes?: UserAttribute[];
|
|
42
|
-
authorizedPhoneNumbers?: string[];
|
|
43
35
|
platformFeeRanges?: {
|
|
44
36
|
MX?: {
|
|
45
37
|
buy?: PlatformFeeRange[];
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PartnerClass = void 0;
|
|
4
|
-
const partner_1 = require("../types/partner");
|
|
5
|
-
class PartnerClass {
|
|
6
|
-
constructor(key) {
|
|
7
|
-
this.key = key;
|
|
8
|
-
}
|
|
9
|
-
getName() {
|
|
10
|
-
if (this.key === partner_1.Partner.KillB) {
|
|
11
|
-
return "KillB";
|
|
12
|
-
}
|
|
13
|
-
else
|
|
14
|
-
return "ERR";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.PartnerClass = PartnerClass;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
|
-
import { ImmigrationStatus } from "./immigration-status";
|
|
3
|
-
import { OnboardingStatus } from "./onboarding-status";
|
|
4
|
-
export declare type UBOInput = {
|
|
5
|
-
individualData?: {
|
|
6
|
-
firstName?: string;
|
|
7
|
-
middleName?: string;
|
|
8
|
-
lastName?: string;
|
|
9
|
-
secondLastName?: string;
|
|
10
|
-
birthday?: Date;
|
|
11
|
-
countryOfOrigin?: CountryOfOrigin;
|
|
12
|
-
};
|
|
13
|
-
phoneNumber?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
birthday?: Date;
|
|
16
|
-
associatedUserId?: string;
|
|
17
|
-
onboarding?: {
|
|
18
|
-
[country in CountryOfOrigin]?: {
|
|
19
|
-
status?: OnboardingStatus;
|
|
20
|
-
personalId?: string;
|
|
21
|
-
taxId?: string;
|
|
22
|
-
immigrationStatus?: ImmigrationStatus;
|
|
23
|
-
individualIdentityVerification?: {
|
|
24
|
-
status?: "passed" | "failed" | "review";
|
|
25
|
-
};
|
|
26
|
-
files?: {
|
|
27
|
-
certificateOfIncorporation?: string;
|
|
28
|
-
KYCReport?: string;
|
|
29
|
-
taxTranscript?: string;
|
|
30
|
-
proofOfAddress?: string;
|
|
31
|
-
businessRegistration?: string;
|
|
32
|
-
taxIdentificationCertificate?: string;
|
|
33
|
-
legalRepresentativeIdPowerOfAttorney?: string;
|
|
34
|
-
personalIdentificationCertificate?: string;
|
|
35
|
-
extraFiles?: string[];
|
|
36
|
-
};
|
|
37
|
-
address?: {
|
|
38
|
-
street1?: string;
|
|
39
|
-
street2?: string;
|
|
40
|
-
city?: string;
|
|
41
|
-
state?: string;
|
|
42
|
-
postalCode?: string;
|
|
43
|
-
country: CountryOfOrigin;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
package/build/types/UBO-input.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UBOOnboardingStatus = void 0;
|
|
4
|
-
var UBOOnboardingStatus;
|
|
5
|
-
(function (UBOOnboardingStatus) {
|
|
6
|
-
UBOOnboardingStatus["Approved"] = "approved";
|
|
7
|
-
UBOOnboardingStatus["Failed"] = "failed";
|
|
8
|
-
UBOOnboardingStatus["Review"] = "review";
|
|
9
|
-
})(UBOOnboardingStatus = exports.UBOOnboardingStatus || (exports.UBOOnboardingStatus = {}));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
|
-
import { ImmigrationStatus } from "./immigration-status";
|
|
3
|
-
import { OnboardingStatus } from "./onboarding-status";
|
|
4
|
-
export declare type UBOUpdate = {
|
|
5
|
-
individualData?: {
|
|
6
|
-
firstName?: string;
|
|
7
|
-
middleName?: string;
|
|
8
|
-
lastName?: string;
|
|
9
|
-
secondLastName?: string;
|
|
10
|
-
birthday?: Date;
|
|
11
|
-
countryOfOrigin?: CountryOfOrigin;
|
|
12
|
-
};
|
|
13
|
-
phoneNumber?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
birthday?: Date;
|
|
16
|
-
associatedUserId?: string;
|
|
17
|
-
onboarding?: {
|
|
18
|
-
[country in CountryOfOrigin]?: {
|
|
19
|
-
status?: OnboardingStatus;
|
|
20
|
-
personalId?: string;
|
|
21
|
-
taxId?: string;
|
|
22
|
-
immigrationStatus?: ImmigrationStatus;
|
|
23
|
-
individualIdentityVerification?: {
|
|
24
|
-
status?: "passed" | "failed" | "review";
|
|
25
|
-
};
|
|
26
|
-
files?: {
|
|
27
|
-
certificateOfIncorporation?: string;
|
|
28
|
-
KYCReport?: string;
|
|
29
|
-
taxTranscript?: string;
|
|
30
|
-
proofOfAddress?: string;
|
|
31
|
-
businessRegistration?: string;
|
|
32
|
-
taxIdentificationCertificate?: string;
|
|
33
|
-
legalRepresentativeIdPowerOfAttorney?: string;
|
|
34
|
-
personalIdentificationCertificate?: string;
|
|
35
|
-
extraFiles?: string[];
|
|
36
|
-
};
|
|
37
|
-
address?: {
|
|
38
|
-
street1?: string;
|
|
39
|
-
street2?: string;
|
|
40
|
-
city?: string;
|
|
41
|
-
state?: string;
|
|
42
|
-
postalCode?: string;
|
|
43
|
-
country: CountryOfOrigin;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
package/build/types/UBO.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { CountryOfOrigin } from "./country-of-origin";
|
|
2
|
-
import { ImmigrationStatus } from "./immigration-status";
|
|
3
|
-
import { OnboardingStatus } from "./onboarding-status";
|
|
4
|
-
export declare type UBO = {
|
|
5
|
-
id: string;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
individualData?: {
|
|
8
|
-
firstName: string;
|
|
9
|
-
middleName?: string;
|
|
10
|
-
lastName: string;
|
|
11
|
-
secondLastName?: string;
|
|
12
|
-
birthday: Date;
|
|
13
|
-
countryOfOrigin: CountryOfOrigin;
|
|
14
|
-
};
|
|
15
|
-
phoneNumber: string;
|
|
16
|
-
email: string;
|
|
17
|
-
birthday?: Date;
|
|
18
|
-
associatedUserId?: string;
|
|
19
|
-
onboarding?: {
|
|
20
|
-
[country in CountryOfOrigin]?: {
|
|
21
|
-
status?: OnboardingStatus;
|
|
22
|
-
personalId?: string;
|
|
23
|
-
taxId?: string;
|
|
24
|
-
immigrationStatus?: ImmigrationStatus;
|
|
25
|
-
individualIdentityVerification?: {
|
|
26
|
-
status?: "passed" | "failed" | "review";
|
|
27
|
-
};
|
|
28
|
-
files?: {
|
|
29
|
-
certificateOfIncorporation?: string;
|
|
30
|
-
KYCReport?: string;
|
|
31
|
-
taxTranscript?: string;
|
|
32
|
-
proofOfAddress?: string;
|
|
33
|
-
businessRegistration?: string;
|
|
34
|
-
taxIdentificationCertificate?: string;
|
|
35
|
-
legalRepresentativeIdPowerOfAttorney?: string;
|
|
36
|
-
personalIdentificationCertificate?: string;
|
|
37
|
-
extraFiles?: string[];
|
|
38
|
-
};
|
|
39
|
-
address?: {
|
|
40
|
-
street1?: string;
|
|
41
|
-
street2?: string;
|
|
42
|
-
city?: string;
|
|
43
|
-
state?: string;
|
|
44
|
-
postalCode?: string;
|
|
45
|
-
country: CountryOfOrigin;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
package/build/types/UBO.js
DELETED
package/build/types/partner.d.ts
DELETED
package/build/types/partner.js
DELETED
package/build/types/risk-tier.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RiskTier = void 0;
|
|
4
|
-
var RiskTier;
|
|
5
|
-
(function (RiskTier) {
|
|
6
|
-
RiskTier["High"] = "high";
|
|
7
|
-
RiskTier["Medium"] = "medium";
|
|
8
|
-
RiskTier["Low"] = "low";
|
|
9
|
-
})(RiskTier = exports.RiskTier || (exports.RiskTier = {}));
|