@riocrypto/common 1.0.1410 → 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.
|
@@ -168,15 +168,6 @@ export declare class RioAdminClient {
|
|
|
168
168
|
}>;
|
|
169
169
|
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
|
|
170
170
|
updateBankAccount(id: string, data: {
|
|
171
|
-
userId?: string;
|
|
172
|
-
country?: Country;
|
|
173
|
-
fiat?: Fiat;
|
|
174
|
-
bankName?: string;
|
|
175
|
-
accountHolderName?: string;
|
|
176
|
-
accountNumber?: string;
|
|
177
|
-
swiftCode?: string;
|
|
178
|
-
CCI?: string;
|
|
179
|
-
CLABE?: string;
|
|
180
171
|
notes?: string;
|
|
181
172
|
approved?: boolean;
|
|
182
173
|
}): Promise<BankAccount>;
|
|
@@ -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>;
|
|
@@ -141,14 +142,6 @@ export declare class RioClient {
|
|
|
141
142
|
}): Promise<string>;
|
|
142
143
|
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
|
|
143
144
|
updateBankAccount(id: string, data: {
|
|
144
|
-
country?: Country;
|
|
145
|
-
fiat?: Fiat;
|
|
146
|
-
bankName?: string;
|
|
147
|
-
accountHolderName?: string;
|
|
148
|
-
accountNumber?: string;
|
|
149
|
-
swiftCode?: string;
|
|
150
|
-
CCI?: string;
|
|
151
|
-
CLABE?: string;
|
|
152
145
|
notes?: string;
|
|
153
146
|
}): Promise<BankAccount>;
|
|
154
147
|
getFeesByVolume(): Promise<{
|
|
@@ -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}`);
|