@riocrypto/common 1.0.681 → 1.0.682
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.
|
@@ -86,7 +86,7 @@ export declare class RioAdminClient {
|
|
|
86
86
|
revenue: number;
|
|
87
87
|
}>;
|
|
88
88
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
89
|
-
getBankAccounts(): Promise<BankAccount[]>;
|
|
89
|
+
getBankAccounts(page: number, limit: number): Promise<BankAccount[]>;
|
|
90
90
|
getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
|
|
91
91
|
getPartner(partnerId: string): Promise<Partner>;
|
|
92
92
|
createKushkiPayment(orderId: string, token: string): Promise<{
|
|
@@ -330,9 +330,11 @@ class RioAdminClient {
|
|
|
330
330
|
return response.data;
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
|
-
getBankAccounts() {
|
|
333
|
+
getBankAccounts(page, limit) {
|
|
334
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
-
const response = yield this.axios.get(`/api/bank/accounts
|
|
335
|
+
const response = yield this.axios.get(`/api/bank/accounts`, {
|
|
336
|
+
params: { page, limit },
|
|
337
|
+
});
|
|
336
338
|
return response.data;
|
|
337
339
|
});
|
|
338
340
|
}
|