@riocrypto/common-server 1.0.1768 → 1.0.1769

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.
@@ -96,6 +96,7 @@ interface UserAttrs {
96
96
  shouldInvoice: boolean;
97
97
  fiscalName?: string;
98
98
  fiscalRegimenCode?: number;
99
+ taxId?: string;
99
100
  };
100
101
  };
101
102
  quotationTime?: number;
@@ -209,6 +210,7 @@ interface UserDoc extends Document {
209
210
  MX: {
210
211
  shouldInvoice: boolean;
211
212
  fiscalName?: string;
213
+ taxId?: string;
212
214
  fiscalRegimenCode?: number;
213
215
  };
214
216
  };
@@ -251,6 +251,9 @@ const buildUser = (mongoose) => {
251
251
  fiscalName: {
252
252
  type: String,
253
253
  },
254
+ taxId: {
255
+ type: String,
256
+ },
254
257
  fiscalRegimenCode: {
255
258
  type: Number,
256
259
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1768",
3
+ "version": "1.0.1769",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@google-cloud/secret-manager": "^5.3.0",
27
27
  "@google-cloud/storage": "^6.9.5",
28
28
  "@hyperdx/node-opentelemetry": "^0.4.2",
29
- "@riocrypto/common": "^1.0.1551",
29
+ "@riocrypto/common": "^1.0.1552",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",