tango-api-schema 2.5.70 → 2.5.71

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.70",
3
+ "version": "2.5.71",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -88,6 +88,10 @@ const billingSchema = new mongoose.Schema(
88
88
  },
89
89
  isPrimary: {
90
90
  type: Boolean
91
+ },
92
+ advanceInvoice: {
93
+ type: Boolean,
94
+ default: false
91
95
  }
92
96
  },
93
97
  {
@@ -65,6 +65,11 @@ const client = new mongoose.Schema(
65
65
  type: String,
66
66
  enum: ['trial', 'live'],
67
67
  default: 'trial'
68
+ },
69
+ billingType: {
70
+ type: String,
71
+ enum: ['perStore', 'perCamera', 'perZone'],
72
+ default: 'perStore'
68
73
  }
69
74
  }
70
75
  ],
@@ -95,6 +95,10 @@ const invoiceSchema = new mongoose.Schema(
95
95
  default:'unpaid',
96
96
  enum: ['paid','unpaid']
97
97
  },
98
+ advanceInvoice:{
99
+ type:Boolean,
100
+ default:false
101
+ },
98
102
  },{
99
103
  strict: true,
100
104
  versionKey: false,