@riocrypto/common 1.0.1291 → 1.0.1293
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/clients/rio-admin-client.d.ts +1 -1
- package/build/clients/rio-admin-client.js +2 -1
- package/build/clients/rio-client.d.ts +1 -1
- package/build/clients/rio-client.js +2 -1
- package/build/types/user-input.d.ts +0 -1
- package/build/types/user-update.d.ts +0 -1
- package/build/types/user.d.ts +0 -1
- package/package.json +1 -1
|
@@ -63,7 +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
|
+
sendUBOOnboardingEmail(email: string, associatedUserId: string, country: Country): Promise<void>;
|
|
67
67
|
getUBOS(page: number, limit?: number): Promise<UBO[]>;
|
|
68
68
|
updateUBO(update: UBOUpdate, uboId?: string): Promise<UBO>;
|
|
69
69
|
getUBOOnboardingRequirements(country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
|
|
@@ -116,11 +116,12 @@ class RioAdminClient {
|
|
|
116
116
|
return data;
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
sendUBOOnboardingEmail(associatedUserId, country) {
|
|
119
|
+
sendUBOOnboardingEmail(email, associatedUserId, country) {
|
|
120
120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
121
121
|
yield this.axios.post("/api/ubos/onboarding-email", {
|
|
122
122
|
associatedUserId,
|
|
123
123
|
country,
|
|
124
|
+
email,
|
|
124
125
|
});
|
|
125
126
|
});
|
|
126
127
|
}
|
|
@@ -56,7 +56,7 @@ export declare class RioClient {
|
|
|
56
56
|
getRioSettings(): Promise<RioSettings>;
|
|
57
57
|
sendVerificationEmail(userId: string, country: Country): Promise<void>;
|
|
58
58
|
sendUBOVerificationEmail(uboId: string, country: Country): Promise<void>;
|
|
59
|
-
sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
|
|
59
|
+
sendUBOOnboardingEmail(email: string, associatedUserId: string, country: Country): Promise<void>;
|
|
60
60
|
sendBridgeOnboardingEmail(userId: string): Promise<void>;
|
|
61
61
|
getOnboardingRequirements(userType: UserType, country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
|
|
62
62
|
textRequirements: ("personalId" | "taxId")[];
|
|
@@ -139,11 +139,12 @@ class RioClient {
|
|
|
139
139
|
});
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
sendUBOOnboardingEmail(associatedUserId, country) {
|
|
142
|
+
sendUBOOnboardingEmail(email, associatedUserId, country) {
|
|
143
143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
144
144
|
yield this.axios.post("/api/ubos/onboarding-email", {
|
|
145
145
|
associatedUserId,
|
|
146
146
|
country,
|
|
147
|
+
email,
|
|
147
148
|
});
|
|
148
149
|
});
|
|
149
150
|
}
|
package/build/types/user.d.ts
CHANGED