@riocrypto/common-server 1.0.1112 → 1.0.1114

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.
@@ -10,6 +10,7 @@ interface BankAccountAttrs {
10
10
  accountNumber: string;
11
11
  approved: boolean;
12
12
  swiftCode?: string;
13
+ CCI?: string;
13
14
  notes?: string;
14
15
  }
15
16
  interface BankAccountDoc extends Document {
@@ -22,6 +23,7 @@ interface BankAccountDoc extends Document {
22
23
  accountNumber: string;
23
24
  approved: boolean;
24
25
  swiftCode?: string;
26
+ CCI?: string;
25
27
  notes?: string;
26
28
  }
27
29
  interface BankAccountModel extends Model<BankAccountDoc> {
@@ -43,6 +43,9 @@ const buildBankAccount = (mongoose) => {
43
43
  type: Boolean,
44
44
  required: true,
45
45
  },
46
+ CCI: {
47
+ type: String,
48
+ },
46
49
  notes: {
47
50
  type: String,
48
51
  },
@@ -23,6 +23,7 @@ interface UserAttrs {
23
23
  attributes?: UserAttribute[];
24
24
  brokerId?: string;
25
25
  curp?: string;
26
+ ruc?: string;
26
27
  economicActivity?: string;
27
28
  platformFeeRanges?: PlatformFeeRange[];
28
29
  COIFile?: string;
@@ -60,6 +61,7 @@ interface UserDoc extends Document {
60
61
  legalRepresentative?: string;
61
62
  cpf?: string;
62
63
  curp?: string;
64
+ ruc?: string;
63
65
  economicActivity?: string;
64
66
  birthday?: Date;
65
67
  language?: Language;
@@ -130,6 +130,9 @@ const buildUser = (mongoose) => {
130
130
  rfc: {
131
131
  type: String,
132
132
  },
133
+ ruc: {
134
+ type: String,
135
+ },
133
136
  mexicoFiscalRegimenCode: {
134
137
  type: Number,
135
138
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1112",
3
+ "version": "1.0.1114",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.951",
29
+ "@riocrypto/common": "^1.0.956",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",