tango-api-schema 2.0.53 → 2.0.54

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.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,8 @@ const clientRequestSchema = new mongoose.Schema(
22
22
  type:String
23
23
  },
24
24
  status:{
25
- type:String
25
+ type:String,
26
+ enum: [ 'pending','completed' ],
26
27
  },
27
28
  markasRead:{
28
29
  type:Boolean,
@@ -21,6 +21,15 @@ const invoiceSchema = new mongoose.Schema(
21
21
  amount:{
22
22
  type:Number
23
23
  },
24
+ totalAmount:{
25
+ type:Number
26
+ },
27
+ revisedAmount:{
28
+ type:Number
29
+ },
30
+ discount:{
31
+ type:Number
32
+ },
24
33
  status:{
25
34
  type:String
26
35
  }