@riocrypto/common 1.0.497 → 1.0.499
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.
|
@@ -48,7 +48,6 @@ export declare class RioClient {
|
|
|
48
48
|
createBrokerCustomer(businessUser: BusinessUserInput): Promise<BusinessUser>;
|
|
49
49
|
sendPhoneAuthCode(phoneNumber: string): Promise<void>;
|
|
50
50
|
authExists(phoneNumber: string): Promise<boolean>;
|
|
51
|
-
addSecurityQuestion(question: SecurityQuestion, answer: string): Promise<void>;
|
|
52
51
|
uploadCOI(businessUserId: string, formData: FormData): Promise<BusinessUser>;
|
|
53
52
|
uploadKYCReport(businessUserId: string, formData: FormData): Promise<BusinessUser>;
|
|
54
53
|
getSecurityQuestion(): Promise<SecurityQuestion>;
|
|
@@ -142,14 +142,6 @@ class RioClient {
|
|
|
142
142
|
return response.data.exists;
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
addSecurityQuestion(question, answer) {
|
|
146
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
yield this.axios.post("/api/auth/security-question", {
|
|
148
|
-
question,
|
|
149
|
-
answer,
|
|
150
|
-
});
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
145
|
uploadCOI(businessUserId, formData) {
|
|
154
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
155
147
|
const { data } = yield this.axios.patch(`/api/business/users/${businessUserId}/coi`, formData);
|