@riocrypto/common 1.0.1441 → 1.0.1442

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.
@@ -181,6 +181,7 @@ export declare class RioAdminClient {
181
181
  createRioBankAccount(country: Country, fiat: Fiat, bankName?: string, bankAddress?: string, companyName?: string, companyAddress?: string, accountNumber?: string, CLABE?: string, CCI?: string, RUC?: string, RFC?: string): Promise<RioBankAccount>;
182
182
  updateRioBankAccount(id: string, country?: Country, fiat?: Fiat, bankName?: string, bankAddress?: string, companyName?: string, companyAddress?: string, accountNumber?: string, CLABE?: string, CCI?: string, RUC?: string, RFC?: string): Promise<RioBankAccount>;
183
183
  getRioBankAccounts(page: number, limit: number, query?: BankAccountQuery): Promise<RioBankAccount[]>;
184
+ deleteRioBankAccount(id: string): Promise<void>;
184
185
  deleteAddress(id: string): Promise<void>;
185
186
  getFeesByVolume(): Promise<{
186
187
  days: number;
@@ -716,6 +716,11 @@ class RioAdminClient {
716
716
  return response.data;
717
717
  });
718
718
  }
719
+ deleteRioBankAccount(id) {
720
+ return __awaiter(this, void 0, void 0, function* () {
721
+ yield this.axios.delete(`/api/bank/accounts/rio/${id}`);
722
+ });
723
+ }
719
724
  deleteAddress(id) {
720
725
  return __awaiter(this, void 0, void 0, function* () {
721
726
  yield this.axios.delete(`/api/addresses/${id}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1441",
3
+ "version": "1.0.1442",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",