@riocrypto/common 1.0.1438 → 1.0.1440

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.
@@ -44,6 +44,7 @@ import { IdentityVerificationType } from "../types/IdentityVerificationType";
44
44
  import { AdminAuth } from "../types/admin-auth";
45
45
  import { AdminAuthInput } from "../types/admin-auth-input";
46
46
  import { BidInput } from "../types/bid-input";
47
+ import { RioBankAccount } from "../types/rio-bank-account";
47
48
  export declare class RioAdminClient {
48
49
  private axios;
49
50
  constructor(axios: AxiosStatic | AxiosInstance);
@@ -177,9 +178,9 @@ export declare class RioAdminClient {
177
178
  approved?: boolean;
178
179
  }): Promise<BankAccount>;
179
180
  deleteBankAccount(id: string): Promise<void>;
180
- createRioBankAccount(country: Country, fiat: Fiat, bankName?: string, companyName?: string, companyAddress?: string, accountNumber?: string, CLABE?: string, CCI?: string, RUC?: string, RFC?: string): Promise<BankAccount>;
181
- updateRioBankAccount(id: string, country?: Country, fiat?: Fiat, bankName?: string, companyName?: string, companyAddress?: string, accountNumber?: string, CLABE?: string, CCI?: string, RUC?: string, RFC?: string): Promise<BankAccount>;
182
- getRioBankAccounts(page: number, limit: number, query?: BankAccountQuery): Promise<BankAccount[]>;
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
+ updateRioBankAccount(id: string, country?: Country, fiat?: Fiat, bankName?: string, companyName?: string, companyAddress?: string, accountNumber?: string, CLABE?: string, CCI?: string, RUC?: string, RFC?: string): Promise<RioBankAccount>;
183
+ getRioBankAccounts(page: number, limit: number, query?: BankAccountQuery): Promise<RioBankAccount[]>;
183
184
  deleteAddress(id: string): Promise<void>;
184
185
  getFeesByVolume(): Promise<{
185
186
  days: number;
@@ -671,12 +671,13 @@ class RioAdminClient {
671
671
  yield this.axios.delete(`/api/bank/accounts/${id}`);
672
672
  });
673
673
  }
674
- createRioBankAccount(country, fiat, bankName, companyName, companyAddress, accountNumber, CLABE, CCI, RUC, RFC) {
674
+ createRioBankAccount(country, fiat, bankName, bankAddress, companyName, companyAddress, accountNumber, CLABE, CCI, RUC, RFC) {
675
675
  return __awaiter(this, void 0, void 0, function* () {
676
676
  const response = yield this.axios.post(`/api/bank/accounts/rio`, {
677
677
  country,
678
678
  fiat,
679
679
  bankName,
680
+ bankAddress,
680
681
  accountNumber,
681
682
  CLABE,
682
683
  CCI,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1438",
3
+ "version": "1.0.1440",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",