@riocrypto/common 1.0.952 → 1.0.954

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.
@@ -103,7 +103,7 @@ export declare class RioAdminClient {
103
103
  getBankPayout(orderId: string): Promise<BankPayout>;
104
104
  getCryptoAddresses(page: number, limit?: number, query?: CryptoAddressQuery): Promise<CryptoAddress[]>;
105
105
  createCryptoAddress(address: string, crypto: Crypto, userId: string, label?: string): Promise<CryptoAddress>;
106
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
106
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CCI?: string, notes?: string): Promise<BankAccount>;
107
107
  updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
108
108
  deleteBankAccount(id: string): Promise<void>;
109
109
  getFeesByVolume(): Promise<{
@@ -357,7 +357,7 @@ class RioAdminClient {
357
357
  return response.data;
358
358
  });
359
359
  }
360
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes) {
360
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CCI, notes) {
361
361
  return __awaiter(this, void 0, void 0, function* () {
362
362
  const response = yield this.axios.post(`/api/bank/accounts`, {
363
363
  userId,
@@ -367,6 +367,7 @@ class RioAdminClient {
367
367
  accountHolderName,
368
368
  accountNumber,
369
369
  swiftCode,
370
+ CCI,
370
371
  notes,
371
372
  });
372
373
  return response.data;
@@ -78,7 +78,7 @@ export declare class RioClient {
78
78
  getCryptoAddresses(page: number, limit?: number, query?: CryptoAddressQuery): Promise<CryptoAddress[]>;
79
79
  createCryptoAddress(address: string, crypto: Crypto, userId?: string, label?: string): Promise<CryptoAddress>;
80
80
  createBridgePlaidLink(userId: string): Promise<string>;
81
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, notes?: string): Promise<BankAccount>;
81
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CCI?: string, notes?: string): Promise<BankAccount>;
82
82
  updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
83
83
  getFeesByVolume(): Promise<{
84
84
  days: number;
@@ -257,7 +257,7 @@ class RioClient {
257
257
  return response.data.url;
258
258
  });
259
259
  }
260
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, notes) {
260
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CCI, notes) {
261
261
  return __awaiter(this, void 0, void 0, function* () {
262
262
  const response = yield this.axios.post(`/api/bank/accounts`, {
263
263
  userId,
@@ -267,6 +267,7 @@ class RioClient {
267
267
  accountHolderName,
268
268
  accountNumber,
269
269
  swiftCode,
270
+ CCI,
270
271
  notes,
271
272
  });
272
273
  return response.data;
@@ -11,5 +11,6 @@ export interface BankAccount {
11
11
  accountNumber: string;
12
12
  approved: boolean;
13
13
  swiftCode?: string;
14
+ CCI?: string;
14
15
  notes?: string;
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.952",
3
+ "version": "1.0.954",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",