@riocrypto/common 1.0.1439 → 1.0.1441

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.
@@ -178,8 +178,8 @@ export declare class RioAdminClient {
178
178
  approved?: boolean;
179
179
  }): Promise<BankAccount>;
180
180
  deleteBankAccount(id: string): Promise<void>;
181
- createRioBankAccount(country: Country, fiat: Fiat, bankName?: 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>;
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, 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
184
  deleteAddress(id: string): Promise<void>;
185
185
  getFeesByVolume(): Promise<{
@@ -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,
@@ -688,12 +689,13 @@ class RioAdminClient {
688
689
  return response.data;
689
690
  });
690
691
  }
691
- updateRioBankAccount(id, country, fiat, bankName, companyName, companyAddress, accountNumber, CLABE, CCI, RUC, RFC) {
692
+ updateRioBankAccount(id, country, fiat, bankName, bankAddress, companyName, companyAddress, accountNumber, CLABE, CCI, RUC, RFC) {
692
693
  return __awaiter(this, void 0, void 0, function* () {
693
694
  const response = yield this.axios.patch(`/api/bank/accounts/rio/${id}`, {
694
695
  country,
695
696
  fiat,
696
697
  bankName,
698
+ bankAddress,
697
699
  accountNumber,
698
700
  CLABE,
699
701
  CCI,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1439",
3
+ "version": "1.0.1441",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",