@riocrypto/common 1.0.639 → 1.0.640
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.
|
@@ -83,6 +83,7 @@ export declare class RioClient {
|
|
|
83
83
|
paymentId: string;
|
|
84
84
|
}>;
|
|
85
85
|
addAuthorizedPhoneNumber(phoneNumber: string): Promise<User>;
|
|
86
|
+
deleteAuthorizedPhoneNumber(phoneNumber: string): Promise<User>;
|
|
86
87
|
createKushkiBankPayment(orderId: string): Promise<any>;
|
|
87
88
|
updateAuth(update: AuthUpdate, id?: string): Promise<Auth>;
|
|
88
89
|
}
|
|
@@ -299,6 +299,12 @@ class RioClient {
|
|
|
299
299
|
return data;
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
|
+
deleteAuthorizedPhoneNumber(phoneNumber) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
304
|
+
const { data } = yield this.axios.delete(`/api/users/authorized-phone-numbers/${phoneNumber}`);
|
|
305
|
+
return data;
|
|
306
|
+
});
|
|
307
|
+
}
|
|
302
308
|
createKushkiBankPayment(orderId) {
|
|
303
309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
304
310
|
const { data } = yield this.axios.post(`/api/payments/bank/kushki`, {
|