@riocrypto/common 1.0.1439 → 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.
|
@@ -178,7 +178,7 @@ 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>;
|
|
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, 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>;
|
|
@@ -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,
|