tango-api-schema 2.0.77 → 2.0.78

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.77",
3
+ "version": "2.0.78",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -9,9 +9,6 @@ const invoiceSchema = new mongoose.Schema(
9
9
  invoice: {
10
10
  type:String,
11
11
  },
12
- billingDate:{
13
- type:Date
14
- },
15
12
  stores: {
16
13
  type:Number
17
14
  },
@@ -32,7 +29,23 @@ const invoiceSchema = new mongoose.Schema(
32
29
  },
33
30
  status:{
34
31
  type:String
35
- }
32
+ },
33
+ receivedAmount:{
34
+ type:Number
35
+ },
36
+ billingDate:{
37
+ type:Date
38
+ },
39
+ dueDate:{
40
+ type:Date
41
+ },
42
+ paidDate:{
43
+ type:Date
44
+ },
45
+ paymentType: {
46
+ type:String,
47
+ enum: ['online','banktransfer']
48
+ },
36
49
  },{
37
50
  strict: true,
38
51
  versionKey: false,