@riocrypto/common 1.0.1599 → 1.0.1600

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.
@@ -259,7 +259,7 @@ export declare class RioAdminClient {
259
259
  chainedQuote: ChainedQuote;
260
260
  sufficientLiquidity: boolean;
261
261
  }>;
262
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, CLABE?: string, CCI?: string, notes?: string, address?: {
262
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber?: string, routingNumber?: string, CLABE?: string, CCI?: string, notes?: string, address?: {
263
263
  street1: string;
264
264
  street2?: string;
265
265
  city: string;
@@ -787,7 +787,7 @@ class RioAdminClient {
787
787
  return data;
788
788
  });
789
789
  }
790
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, CLABE, CCI, notes, address) {
790
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, routingNumber, CLABE, CCI, notes, address) {
791
791
  return __awaiter(this, void 0, void 0, function* () {
792
792
  const response = yield this.axios.post(`/api/bank/accounts`, {
793
793
  userId,
@@ -796,6 +796,7 @@ class RioAdminClient {
796
796
  bankName,
797
797
  accountHolderName,
798
798
  accountNumber,
799
+ routingNumber,
799
800
  CLABE,
800
801
  CCI,
801
802
  notes,
@@ -195,7 +195,7 @@ export declare class RioClient {
195
195
  postalCode: string;
196
196
  country: CountryOfOrigin;
197
197
  }): Promise<string>;
198
- createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, CLABE?: string, CCI?: string, notes?: string, address?: {
198
+ createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber?: string, routingNumber?: string, CLABE?: string, CCI?: string, notes?: string, address?: {
199
199
  street1: string;
200
200
  street2?: string;
201
201
  city: string;
@@ -610,7 +610,7 @@ class RioClient {
610
610
  return response.data.id;
611
611
  });
612
612
  }
613
- createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, CLABE, CCI, notes, address) {
613
+ createBankAccount(userId, country, fiat, bankName, accountHolderName, accountNumber, routingNumber, CLABE, CCI, notes, address) {
614
614
  return __awaiter(this, void 0, void 0, function* () {
615
615
  const response = yield this.axios.post(`/api/bank/accounts`, {
616
616
  userId,
@@ -619,6 +619,7 @@ class RioClient {
619
619
  bankName,
620
620
  accountHolderName,
621
621
  accountNumber,
622
+ routingNumber,
622
623
  CLABE,
623
624
  CCI,
624
625
  notes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1599",
3
+ "version": "1.0.1600",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",