@riocrypto/common-server 1.0.958 → 1.0.959

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.
@@ -35,6 +35,7 @@ interface UserAttrs {
35
35
  rfc?: string;
36
36
  mexicoFiscalRegimenCode?: number;
37
37
  mexicoFiscalName?: string;
38
+ taxId?: string;
38
39
  usKYCStatus?: "none" | "pending" | "failed" | "approved";
39
40
  }
40
41
  interface UserModel extends Model<UserDoc> {
@@ -76,6 +77,7 @@ interface UserDoc extends Document {
76
77
  rfc?: string;
77
78
  mexicoFiscalRegimenCode?: number;
78
79
  mexicoFiscalName?: string;
80
+ taxId?: string;
79
81
  usKYCStatus?: "none" | "pending" | "failed" | "approved";
80
82
  }
81
83
  declare const buildUser: (mongoose: Mongoose) => UserModel;
@@ -138,6 +138,9 @@ const buildUser = (mongoose) => {
138
138
  mexicoFiscalName: {
139
139
  type: String,
140
140
  },
141
+ taxId: {
142
+ type: String,
143
+ },
141
144
  usKYCStatus: {
142
145
  type: String,
143
146
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.958",
3
+ "version": "1.0.959",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@everapi/currencyapi-js": "^1.0.6",
26
26
  "@google-cloud/storage": "^6.9.5",
27
- "@riocrypto/common": "^1.0.822",
27
+ "@riocrypto/common": "^1.0.823",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",