tango-api-schema 2.0.70 → 2.0.72
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.
package/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import edgeappAuthModel from "./schema/edgeappAuth.model.js";
|
|
|
19
19
|
import clientRequestModel from "./schema/clientRequest.model.js";
|
|
20
20
|
import basePricingModel from "./schema/basePricing.model.js";
|
|
21
21
|
import invoiceModel from "./schema/invoice.model.js";
|
|
22
|
+
import workstationModel from "./schema/workstation.model.js";
|
|
22
23
|
|
|
23
24
|
export default {
|
|
24
25
|
leadModel,
|
|
@@ -42,4 +43,5 @@ export default {
|
|
|
42
43
|
clientRequestModel,
|
|
43
44
|
basePricingModel,
|
|
44
45
|
invoiceModel,
|
|
46
|
+
workstationModel
|
|
45
47
|
};
|
package/package.json
CHANGED
package/schema/client.model.js
CHANGED
|
@@ -371,7 +371,21 @@ const client = new mongoose.Schema(
|
|
|
371
371
|
branch:{
|
|
372
372
|
type:String
|
|
373
373
|
}
|
|
374
|
-
}
|
|
374
|
+
},
|
|
375
|
+
clientApi: {
|
|
376
|
+
apiKey: {
|
|
377
|
+
type: String,
|
|
378
|
+
default: null,
|
|
379
|
+
},
|
|
380
|
+
status: {
|
|
381
|
+
type: Boolean,
|
|
382
|
+
default: false,
|
|
383
|
+
},
|
|
384
|
+
allowedIps: {
|
|
385
|
+
type: Array,
|
|
386
|
+
default: [ '*' ],
|
|
387
|
+
},
|
|
388
|
+
},
|
|
375
389
|
},
|
|
376
390
|
{
|
|
377
391
|
strict: true,
|
|
File without changes
|