@riocrypto/common 1.0.1411 → 1.0.1412
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.
|
@@ -79,6 +79,7 @@ export declare class RioClient {
|
|
|
79
79
|
value: string;
|
|
80
80
|
label: string;
|
|
81
81
|
}>;
|
|
82
|
+
deleteBankAccount(id: string): Promise<void>;
|
|
82
83
|
deleteAPIKey(id: string): Promise<void>;
|
|
83
84
|
confirmBankPayout(orderId: string): Promise<any>;
|
|
84
85
|
getUser(userId?: string): Promise<User>;
|
|
@@ -226,6 +226,11 @@ class RioClient {
|
|
|
226
226
|
return data;
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
|
+
deleteBankAccount(id) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
yield this.axios.delete(`/api/bank/accounts/${id}`);
|
|
232
|
+
});
|
|
233
|
+
}
|
|
229
234
|
deleteAPIKey(id) {
|
|
230
235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
231
236
|
yield this.axios.delete(`/api/auth/api-key/${id}`);
|