@riocrypto/common 1.0.1078 → 1.0.1080

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.
@@ -125,7 +125,7 @@ export declare class RioAdminClient {
125
125
  chainedQuote: ChainedQuote;
126
126
  sufficientLiquidity: boolean;
127
127
  }>;
128
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CCI?: string, notes?: string): Promise<BankAccount>;
128
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
129
129
  updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, bankName?: string, accountHolderName?: string, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
130
130
  deleteBankAccount(id: string): Promise<void>;
131
131
  getFeesByVolume(): Promise<{
@@ -461,7 +461,7 @@ class RioAdminClient {
461
461
  return data;
462
462
  });
463
463
  }
464
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CCI, notes) {
464
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CLABE, CCI, notes) {
465
465
  return __awaiter(this, void 0, void 0, function* () {
466
466
  const response = yield this.axios.post(`/api/bank/accounts`, {
467
467
  userId,
@@ -471,6 +471,7 @@ class RioAdminClient {
471
471
  accountHolderName,
472
472
  accountNumber,
473
473
  swiftCode,
474
+ CLABE,
474
475
  CCI,
475
476
  notes,
476
477
  });
@@ -90,7 +90,7 @@ export declare class RioClient {
90
90
  createCryptoAddress(address: string, crypto: Crypto, userId?: string, label?: string): Promise<CryptoAddress>;
91
91
  createBridgePlaidLink(userId: string): Promise<string>;
92
92
  createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: CountryOfOrigin): Promise<string>;
93
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CCI?: string, notes?: string): Promise<BankAccount>;
93
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CLABE?: string, CCI?: string, notes?: string): Promise<BankAccount>;
94
94
  updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
95
95
  getFeesByVolume(): Promise<{
96
96
  days: number;
@@ -311,7 +311,7 @@ class RioClient {
311
311
  return response.data.id;
312
312
  });
313
313
  }
314
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CCI, notes) {
314
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, swiftCode, CLABE, CCI, notes) {
315
315
  return __awaiter(this, void 0, void 0, function* () {
316
316
  const response = yield this.axios.post(`/api/bank/accounts`, {
317
317
  userId,
@@ -321,6 +321,7 @@ class RioClient {
321
321
  accountHolderName,
322
322
  accountNumber,
323
323
  swiftCode,
324
+ CLABE,
324
325
  CCI,
325
326
  notes,
326
327
  });
@@ -12,5 +12,6 @@ export interface BankAccount {
12
12
  approved: boolean;
13
13
  swiftCode?: string;
14
14
  CCI?: string;
15
+ CLABE?: string;
15
16
  notes?: string;
16
17
  }
@@ -18,4 +18,6 @@ export interface ChainedQuoteInput {
18
18
  netPrice?: number;
19
19
  orderId?: string;
20
20
  noMarkups?: boolean;
21
+ originUSBankTransferMethod?: "wire" | "ach_push";
22
+ destinationUSBankTransferMethod?: "wire" | "ach_push";
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1078",
3
+ "version": "1.0.1080",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",