@riocrypto/common 1.0.1329 → 1.0.1330
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.
|
@@ -209,7 +209,7 @@ export declare class RioAdminClient {
|
|
|
209
209
|
createKushkiPayment(orderId: string, token: string): Promise<{
|
|
210
210
|
paymentId: string;
|
|
211
211
|
}>;
|
|
212
|
-
addAuthorizedPhoneNumber(phoneNumber: string): Promise<User>;
|
|
212
|
+
addAuthorizedPhoneNumber(id: string, phoneNumber: string): Promise<User>;
|
|
213
213
|
deleteAuthorizedPhoneNumber(phoneNumber: string): Promise<User>;
|
|
214
214
|
createKushkiBankPayment(orderId: string): Promise<any>;
|
|
215
215
|
updateAuth(update: AuthUpdate, id: string): Promise<Auth>;
|
|
@@ -703,9 +703,9 @@ class RioAdminClient {
|
|
|
703
703
|
return data;
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
-
addAuthorizedPhoneNumber(phoneNumber) {
|
|
706
|
+
addAuthorizedPhoneNumber(id, phoneNumber) {
|
|
707
707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
708
|
-
const { data } = yield this.axios.post(`/api/users/authorized-phone-numbers`, {
|
|
708
|
+
const { data } = yield this.axios.post(`/api/users/${id}/authorized-phone-numbers`, {
|
|
709
709
|
phoneNumber,
|
|
710
710
|
});
|
|
711
711
|
return data;
|