@riocrypto/common-server 1.0.1768 → 1.0.1770

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,8 @@ interface UserAttrs {
96
96
  shouldInvoice: boolean;
97
97
  fiscalName?: string;
98
98
  fiscalRegimenCode?: number;
99
+ taxId?: string;
100
+ postalCode?: string;
99
101
  };
100
102
  };
101
103
  quotationTime?: number;
@@ -209,7 +211,9 @@ interface UserDoc extends Document {
209
211
  MX: {
210
212
  shouldInvoice: boolean;
211
213
  fiscalName?: string;
214
+ taxId?: string;
212
215
  fiscalRegimenCode?: number;
216
+ postalCode?: string;
213
217
  };
214
218
  };
215
219
  quotationTime?: number;
@@ -251,9 +251,15 @@ 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
  },
260
+ postalCode: {
261
+ type: String,
262
+ },
257
263
  },
258
264
  },
259
265
  businessData: {
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.1770",
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",