tango-api-schema 2.6.36 → 2.6.37

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.6.36",
3
+ "version": "2.6.37",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -30,6 +30,13 @@ let pricingSchema = new mongoose.Schema(
30
30
  },
31
31
  groupName:{
32
32
  type:String
33
+ },
34
+ // Price type (standard/step) for THIS doc. For group-wise pricing each
35
+ // group can have its own price type; the brand-level doc may leave it
36
+ // unset (falls back to the client's priceType).
37
+ priceType:{
38
+ type:String,
39
+ enum:['standard','step']
33
40
  }
34
41
  },
35
42
  {