@riocrypto/common 1.0.1263 → 1.0.1265
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.
|
@@ -76,6 +76,7 @@ export declare class RioAdminClient {
|
|
|
76
76
|
uploadProofOfAddress(id: string, formData: FormData): Promise<User>;
|
|
77
77
|
createVerificationLink(userId: string, firstName: string, lastName: string): Promise<string>;
|
|
78
78
|
sendVerificationEmail(userId: string, country: Country): Promise<void>;
|
|
79
|
+
sendUBOVerificationEmail(uboId: string, country: Country): Promise<void>;
|
|
79
80
|
sendBridgeOnboardingEmail(userId: string): Promise<void>;
|
|
80
81
|
createUBO(user: UBOInput): Promise<UBO>;
|
|
81
82
|
updateAdmin(update: {
|
|
@@ -194,6 +194,14 @@ class RioAdminClient {
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
+
sendUBOVerificationEmail(uboId, country) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
+
yield this.axios.post("/api/kyc/email/ubo", {
|
|
200
|
+
uboId,
|
|
201
|
+
country,
|
|
202
|
+
});
|
|
203
|
+
});
|
|
204
|
+
}
|
|
197
205
|
sendBridgeOnboardingEmail(userId) {
|
|
198
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
199
207
|
yield this.axios.post(`/api/users/${userId}/us/onboarding-email`);
|
|
@@ -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
|
+
sendUBOVerificationEmail(uboId: string, country: Country): Promise<void>;
|
|
58
59
|
sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
|
|
59
60
|
sendBridgeOnboardingEmail(userId: string): Promise<void>;
|
|
60
61
|
getOnboardingRequirements(userType: UserType, country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
|
|
@@ -131,6 +131,14 @@ class RioClient {
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
+
sendUBOVerificationEmail(uboId, country) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
yield this.axios.post("/api/kyc/email/ubo", {
|
|
137
|
+
uboId,
|
|
138
|
+
country,
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
}
|
|
134
142
|
sendUBOOnboardingEmail(associatedUserId, country) {
|
|
135
143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
144
|
yield this.axios.post("/api/ubos/onboarding-email", {
|