@riocrypto/common 1.0.1262 → 1.0.1264
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.
|
@@ -63,6 +63,7 @@ export declare class RioAdminClient {
|
|
|
63
63
|
}>;
|
|
64
64
|
uploadFile(id: string, country: CountryOfOrigin, fileType: KYCFileType, formData: FormData): Promise<User>;
|
|
65
65
|
getUBO(id: string): Promise<UBO>;
|
|
66
|
+
sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
|
|
66
67
|
getUBOS(page: number, limit?: number): Promise<UBO[]>;
|
|
67
68
|
updateUBO(update: UBOUpdate, uboId?: string): Promise<UBO>;
|
|
68
69
|
getUBOOnboardingRequirements(country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
|
|
@@ -116,6 +116,14 @@ class RioAdminClient {
|
|
|
116
116
|
return data;
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
+
sendUBOOnboardingEmail(associatedUserId, country) {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
yield this.axios.post("/api/ubos/onboarding-email", {
|
|
122
|
+
associatedUserId,
|
|
123
|
+
country,
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
}
|
|
119
127
|
getUBOS(page, limit) {
|
|
120
128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
121
129
|
const { data } = yield this.axios.get(`/api/ubos?`, {
|
|
@@ -55,6 +55,7 @@ export declare class RioClient {
|
|
|
55
55
|
uploadCSF(id: string, formData: FormData): Promise<User>;
|
|
56
56
|
getRioSettings(): Promise<RioSettings>;
|
|
57
57
|
sendVerificationEmail(userId: string, country: Country): Promise<void>;
|
|
58
|
+
sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
|
|
58
59
|
sendBridgeOnboardingEmail(userId: string): Promise<void>;
|
|
59
60
|
getOnboardingRequirements(userType: UserType, country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
|
|
60
61
|
textRequirements: ("personalId" | "taxId")[];
|
|
@@ -131,6 +131,14 @@ class RioClient {
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
+
sendUBOOnboardingEmail(associatedUserId, country) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
yield this.axios.post("/api/ubos/onboarding-email", {
|
|
137
|
+
associatedUserId,
|
|
138
|
+
country,
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
}
|
|
134
142
|
sendBridgeOnboardingEmail(userId) {
|
|
135
143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
144
|
yield this.axios.post(`/api/users/${userId}/us/onboarding-email`);
|