@riocrypto/common 1.0.1327 → 1.0.1329
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.
|
@@ -213,5 +213,6 @@ export declare class RioAdminClient {
|
|
|
213
213
|
deleteAuthorizedPhoneNumber(phoneNumber: string): Promise<User>;
|
|
214
214
|
createKushkiBankPayment(orderId: string): Promise<any>;
|
|
215
215
|
updateAuth(update: AuthUpdate, id: string): Promise<Auth>;
|
|
216
|
+
deleteAuth(id: string): Promise<void>;
|
|
216
217
|
getInvoice(orderId: string): Promise<Invoice>;
|
|
217
218
|
}
|
|
@@ -731,6 +731,11 @@ class RioAdminClient {
|
|
|
731
731
|
return data;
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
|
+
deleteAuth(id) {
|
|
735
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
736
|
+
yield this.axios.delete(`/api/auth/${id}`);
|
|
737
|
+
});
|
|
738
|
+
}
|
|
734
739
|
getInvoice(orderId) {
|
|
735
740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
736
741
|
const response = yield this.axios.get(`/api/invoices?orderId=${orderId}`);
|
|
@@ -91,6 +91,7 @@ export declare class RioClient {
|
|
|
91
91
|
getAuth(id: string): Promise<Auth>;
|
|
92
92
|
getAuthWithoutId(): Promise<Auth>;
|
|
93
93
|
getAuths(): Promise<Auth[]>;
|
|
94
|
+
deleteAuth(id: string): Promise<void>;
|
|
94
95
|
getSecurityQuestion(): Promise<SecurityQuestion>;
|
|
95
96
|
authHasSecurityQuestion(): Promise<Boolean>;
|
|
96
97
|
signout(): Promise<void>;
|
|
@@ -299,6 +299,11 @@ class RioClient {
|
|
|
299
299
|
return response.data;
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
|
+
deleteAuth(id) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
304
|
+
yield this.axios.delete(`/api/auth/${id}`);
|
|
305
|
+
});
|
|
306
|
+
}
|
|
302
307
|
getSecurityQuestion() {
|
|
303
308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
304
309
|
const response = yield this.axios.get(`/api/auth/security-question`, {
|