tango-api-schema 2.5.72 → 2.5.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.5.72",
3
+ "version": "2.5.73",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -92,7 +92,19 @@ const billingSchema = new mongoose.Schema(
92
92
  advanceInvoice: {
93
93
  type: Boolean,
94
94
  default: false
95
- }
95
+ },
96
+ products: [
97
+ {
98
+ productName: {
99
+ type: String,
100
+ },
101
+ billingMethod: {
102
+ type: String,
103
+ enum: ['eachStore', 'overallStore'],
104
+ default: 'overallStore'
105
+ }
106
+ }
107
+ ]
96
108
  },
97
109
  {
98
110
  strict: true,
@@ -43,6 +43,12 @@ let pricingSchema = new mongoose.Schema(
43
43
  cameraCount:{
44
44
  type:Number
45
45
  },
46
+ zoneCount:{
47
+ type:Number
48
+ },
49
+ zoneName:{
50
+ type:Array
51
+ },
46
52
  products: [
47
53
  {
48
54
  productName: {