@riocrypto/common 1.0.828 → 1.0.829
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.
|
@@ -89,7 +89,7 @@ export declare class RioAdminClient {
|
|
|
89
89
|
getBankPayout(orderId: string): Promise<BankPayout>;
|
|
90
90
|
createCheckedAddress(address: string, crypto: Crypto): Promise<CheckedAddress>;
|
|
91
91
|
createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
|
|
92
|
-
updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
|
|
92
|
+
updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
|
|
93
93
|
deleteBankAccount(id: string): Promise<void>;
|
|
94
94
|
getFeesByVolume(): Promise<{
|
|
95
95
|
days: number;
|
|
@@ -311,12 +311,14 @@ class RioAdminClient {
|
|
|
311
311
|
return response.data;
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
updateBankAccount(id, userId, country, fiat, accountNumber, swiftCode, notes, approved) {
|
|
314
|
+
updateBankAccount(id, userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes, approved) {
|
|
315
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
316
316
|
const response = yield this.axios.patch(`/api/bank/accounts/${id}`, {
|
|
317
317
|
userId,
|
|
318
318
|
country,
|
|
319
319
|
fiat,
|
|
320
|
+
bankName,
|
|
321
|
+
accountHolderName,
|
|
320
322
|
accountNumber,
|
|
321
323
|
swiftCode,
|
|
322
324
|
notes,
|