@bluedot-innovation/models 1.0.7 → 1.0.9

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.
Files changed (61) hide show
  1. package/.npmignore +3 -3
  2. package/Models.js +13 -11
  3. package/models/AdminPortalUser.js +26 -24
  4. package/models/AdminUser.js +9 -9
  5. package/models/Application.js +38 -38
  6. package/models/ApplicationNotificationAction.js +29 -29
  7. package/models/ApplicationUsage.js +10 -10
  8. package/models/Beacon.js +36 -36
  9. package/models/BeaconFilter.js +23 -23
  10. package/models/BearingFilter.js +18 -18
  11. package/models/BoundingBox.js +16 -16
  12. package/models/Circle.js +20 -20
  13. package/models/Contract.js +41 -41
  14. package/models/Customer.js +38 -38
  15. package/models/DBEvent.js +21 -21
  16. package/models/DateRangeFilter.js +19 -19
  17. package/models/Fence.js +21 -21
  18. package/models/FormattedBeacon.js +15 -15
  19. package/models/FormattedCircle.js +11 -11
  20. package/models/FormattedConditions.js +10 -10
  21. package/models/FormattedDateRange.js +10 -10
  22. package/models/FormattedPercentageCrossed.js +11 -11
  23. package/models/FormattedPoint.js +9 -9
  24. package/models/FormattedPolygon.js +10 -10
  25. package/models/FormattedPolyline.js +10 -10
  26. package/models/FormattedRectangle.js +11 -11
  27. package/models/FormattedTimeActive.js +16 -16
  28. package/models/FormattedZone.js +27 -27
  29. package/models/GeoFence.js +23 -23
  30. package/models/Geofeature.js +26 -26
  31. package/models/MessageAction.js +28 -28
  32. package/models/NotificationLogEntry.js +19 -19
  33. package/models/POILocation.js +20 -20
  34. package/models/POILookup.js +30 -30
  35. package/models/POIResult.js +20 -20
  36. package/models/PartnerCustomer.js +35 -35
  37. package/models/PartnerPasswordReset.js +20 -20
  38. package/models/PartnerUser.js +30 -30
  39. package/models/Partners.js +18 -18
  40. package/models/PercentageCrossedFilter.js +18 -18
  41. package/models/Point.js +20 -20
  42. package/models/Polygon.js +17 -17
  43. package/models/Polyline.js +17 -17
  44. package/models/PropertyMapping.js +17 -17
  45. package/models/Reference.js +19 -19
  46. package/models/SequenceFilter.js +17 -17
  47. package/models/SimpleCheckInZone.js +29 -29
  48. package/models/SingleUseToken.js +19 -19
  49. package/models/SoundAction.js +27 -27
  50. package/models/SpeedFilter.js +18 -18
  51. package/models/TestDevice.js +35 -35
  52. package/models/TestDeviceCluster.js +24 -24
  53. package/models/TestInstance.js +33 -33
  54. package/models/TestScenario.js +29 -29
  55. package/models/TimeOfDayRange.js +21 -21
  56. package/models/TimeOfDayRangeFilter.js +18 -18
  57. package/models/URLAction.js +30 -30
  58. package/models/VibrationAction.js +27 -27
  59. package/models/ZoneUIState.js +24 -24
  60. package/models/property.js +25 -25
  61. package/package.json +15 -15
@@ -1,29 +1,29 @@
1
- /**
2
- * Created by Arun on 10/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose'),
7
- Schema = mongoose.Schema;
8
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
9
-
10
- var SimpleCheckInZoneSchema = new Schema({
11
- _id: {type:String},
12
- name: String,
13
- description : {type: String, default: ''},
14
- minimumRetriggerTime : {type: Number},
15
- checkout: {type: Boolean, default : false},
16
- dataSource: {type: String, select: false, default : 'openApi'},
17
- conditionalActions: [],
18
- spatialFilters: [],
19
- creationTime : {type: Date, default: Date.now},
20
- lastUpdateTime : {type: Date, default: Date.now},
21
- activeTimeRange: Schema.Types.Mixed,
22
- applicationId: String,
23
- state: {type: String, default : StateEnum.active, select: false}
24
- },
25
- { collection : 'zone' });
26
-
27
- var SimpleCheckInZone = mongoose.model('SimpleCheckInZone', SimpleCheckInZoneSchema);
28
-
29
- module.exports = SimpleCheckInZone;
1
+ /**
2
+ * Created by Arun on 10/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose'),
7
+ Schema = mongoose.Schema;
8
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
9
+
10
+ var SimpleCheckInZoneSchema = new Schema({
11
+ _id: {type:String},
12
+ name: String,
13
+ description : {type: String, default: ''},
14
+ minimumRetriggerTime : {type: Number},
15
+ checkout: {type: Boolean, default : false},
16
+ dataSource: {type: String, select: false, default : 'openApi'},
17
+ conditionalActions: [],
18
+ spatialFilters: [],
19
+ creationTime : {type: Date, default: Date.now},
20
+ lastUpdateTime : {type: Date, default: Date.now},
21
+ activeTimeRange: Schema.Types.Mixed,
22
+ applicationId: String,
23
+ state: {type: String, default : StateEnum.active, select: false}
24
+ },
25
+ { collection : 'zone' });
26
+
27
+ var SimpleCheckInZone = mongoose.model('SimpleCheckInZone', SimpleCheckInZoneSchema);
28
+
29
+ module.exports = SimpleCheckInZone;
@@ -1,19 +1,19 @@
1
- /**
2
- * Copyright : Bluedot Innovations.
3
- */
4
- var mongoose = require('mongoose');
5
-
6
- var SingleUseToken = mongoose.model('SingleUseToken', new mongoose.Schema(
7
- {
8
- tokenString: String,
9
- customerId: String,
10
- integration: {type:String, default : 'admin'},
11
- expiration: Date
12
- },
13
- {
14
- collection : 'singleUseToken'
15
- }
16
- )
17
- );
18
-
19
- module.exports = SingleUseToken;
1
+ /**
2
+ * Copyright : Bluedot Innovations.
3
+ */
4
+ var mongoose = require('mongoose');
5
+
6
+ var SingleUseToken = mongoose.model('SingleUseToken', new mongoose.Schema(
7
+ {
8
+ tokenString: String,
9
+ customerId: String,
10
+ integration: {type:String, default : 'admin'},
11
+ expiration: Date
12
+ },
13
+ {
14
+ collection : 'singleUseToken'
15
+ }
16
+ )
17
+ );
18
+
19
+ module.exports = SingleUseToken;
@@ -1,28 +1,28 @@
1
- /**
2
- * Created by Arun on 10/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var SoundActionSchema = new mongoose.Schema({
10
- guid : {type: String},
11
- creationTime : {type: Date, default: Date.now},
12
- dataSource: {type:String, select: false, default : 'openApi'},
13
- actionName : String,
14
- type: {type: String, default: 'sound'},
15
- _class: {type: String, default: 'au.com.bluedot.application.spring.action.SoundAction'},
16
- description : String,
17
- lastUpdateTime : Date,
18
- state: {type: String, default : StateEnum.active, select: false},
19
- filters: []
20
- },
21
- {
22
- _id: false
23
- }
24
- );
25
-
26
- var SoundAction = mongoose.model('SoundAction', SoundActionSchema);
27
-
1
+ /**
2
+ * Created by Arun on 10/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var SoundActionSchema = new mongoose.Schema({
10
+ guid : {type: String},
11
+ creationTime : {type: Date, default: Date.now},
12
+ dataSource: {type:String, select: false, default : 'openApi'},
13
+ actionName : String,
14
+ type: {type: String, default: 'sound'},
15
+ _class: {type: String, default: 'au.com.bluedot.application.spring.action.SoundAction'},
16
+ description : String,
17
+ lastUpdateTime : Date,
18
+ state: {type: String, default : StateEnum.active, select: false},
19
+ filters: []
20
+ },
21
+ {
22
+ _id: false
23
+ }
24
+ );
25
+
26
+ var SoundAction = mongoose.model('SoundAction', SoundActionSchema);
27
+
28
28
  module.exports = SoundAction;
@@ -1,19 +1,19 @@
1
- /**
2
- * Created by Andrew on 30/01/2017.
3
- * Copyright : Bluedot Innovations.
4
- */
5
-
6
- var mongoose = require('mongoose');
7
-
8
- var SpeedFilter = mongoose.model('SpeedFilter', mongoose.Schema({
9
- guid: {type: String},
10
- _class : {type: String, default:"au.com.bluedot.application.spring.filter.action.SpeedFilter"},
11
- minimumSpeed : Number,
12
- maximumSpeed : Number,
13
- type : {type: String, default:"speedFilter"}
14
- },
15
- {
16
- _id: false
17
- }
18
- ));
1
+ /**
2
+ * Created by Andrew on 30/01/2017.
3
+ * Copyright : Bluedot Innovations.
4
+ */
5
+
6
+ var mongoose = require('mongoose');
7
+
8
+ var SpeedFilter = mongoose.model('SpeedFilter', mongoose.Schema({
9
+ guid: {type: String},
10
+ _class : {type: String, default:"au.com.bluedot.application.spring.filter.action.SpeedFilter"},
11
+ minimumSpeed : Number,
12
+ maximumSpeed : Number,
13
+ type : {type: String, default:"speedFilter"}
14
+ },
15
+ {
16
+ _id: false
17
+ }
18
+ ));
19
19
  module.exports = SpeedFilter;
@@ -1,35 +1,35 @@
1
- /**
2
- * Created by Andrew on 01/03/2017.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var TestDevice = mongoose.model('TestDevice', new mongoose.Schema(
10
- {
11
- name: String,
12
- identifier: String,
13
- os: String,
14
- osVersion: String,
15
- hostToken: String,
16
- batteryToken: String,
17
- model: String,
18
- trackingDevice: {type: Boolean, default : false},
19
- creationTime : {type: Date, default: Date.now},
20
- lastUpdateTime : {type: Date, default: Date.now},
21
- serialNumber: String,
22
- mobileNumber: String,
23
- deviceType: String,
24
- state: {type:String, default: StateEnum.active},
25
- comments: String,
26
- imei: String,
27
- udid: String
28
- },
29
- {
30
- collection : 'testDevice'
31
- }
32
- )
33
- );
34
-
35
- module.exports = TestDevice;
1
+ /**
2
+ * Created by Andrew on 01/03/2017.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var TestDevice = mongoose.model('TestDevice', new mongoose.Schema(
10
+ {
11
+ name: String,
12
+ identifier: String,
13
+ os: String,
14
+ osVersion: String,
15
+ hostToken: String,
16
+ batteryToken: String,
17
+ model: String,
18
+ trackingDevice: {type: Boolean, default : false},
19
+ creationTime : {type: Date, default: Date.now},
20
+ lastUpdateTime : {type: Date, default: Date.now},
21
+ serialNumber: String,
22
+ mobileNumber: String,
23
+ deviceType: String,
24
+ state: {type:String, default: StateEnum.active},
25
+ comments: String,
26
+ imei: String,
27
+ udid: String
28
+ },
29
+ {
30
+ collection : 'testDevice'
31
+ }
32
+ )
33
+ );
34
+
35
+ module.exports = TestDevice;
@@ -1,24 +1,24 @@
1
- /**
2
- * Created by Andrew on 02/03/2017.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var TestDeviceCluster = mongoose.model('TestDeviceCluster', new mongoose.Schema(
10
- {
11
- name: String,
12
- devices: [],
13
- "creationTime" : {type: Date, default: Date.now},
14
- "lastUpdateTime" : {type: Date, default: Date.now},
15
- comments: String,
16
- state: {type: String, default: StateEnum.active}
17
- },
18
- {
19
- collection : 'testDeviceCluster'
20
- }
21
- )
22
- );
23
-
24
- module.exports = TestDeviceCluster;
1
+ /**
2
+ * Created by Andrew on 02/03/2017.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var TestDeviceCluster = mongoose.model('TestDeviceCluster', new mongoose.Schema(
10
+ {
11
+ name: String,
12
+ devices: [],
13
+ "creationTime" : {type: Date, default: Date.now},
14
+ "lastUpdateTime" : {type: Date, default: Date.now},
15
+ comments: String,
16
+ state: {type: String, default: StateEnum.active}
17
+ },
18
+ {
19
+ collection : 'testDeviceCluster'
20
+ }
21
+ )
22
+ );
23
+
24
+ module.exports = TestDeviceCluster;
@@ -1,33 +1,33 @@
1
- /**
2
- * Created by Andrew on 02/03/2017.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var TestInstance = mongoose.model('TestInstance', new mongoose.Schema(
10
- {
11
- name: String,
12
- scenarioId: String,
13
- devices: {},
14
- mode: String,
15
- startTime: Date,
16
- endTime: Date,
17
- endPoint: String,
18
- trackedLocations: {type: Array, default: []},
19
- "creationTime" : {type: Date, default: Date.now},
20
- "lastUpdateTime" : {type: Date, default: Date.now},
21
- state: {type: String, default: StateEnum.active},
22
- comments: String,
23
- isProduction: Boolean,
24
- running: {type: Boolean, default : false},
25
- sdkVersion: String
26
- },
27
- {
28
- collection : 'testInstance'
29
- }
30
- )
31
- );
32
-
33
- module.exports = TestInstance;
1
+ /**
2
+ * Created by Andrew on 02/03/2017.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var TestInstance = mongoose.model('TestInstance', new mongoose.Schema(
10
+ {
11
+ name: String,
12
+ scenarioId: String,
13
+ devices: {},
14
+ mode: String,
15
+ startTime: Date,
16
+ endTime: Date,
17
+ duration: Number,
18
+ endPoint: String,
19
+ trackedLocations: {type: Array, default: []},
20
+ "creationTime" : {type: Date, default: Date.now},
21
+ "lastUpdateTime" : {type: Date, default: Date.now},
22
+ state: {type: String, default: StateEnum.active},
23
+ comments: String,
24
+ isProduction: Boolean,
25
+ sdkVersion: String
26
+ },
27
+ {
28
+ collection : 'testInstance'
29
+ }
30
+ )
31
+ );
32
+
33
+ module.exports = TestInstance;
@@ -1,29 +1,29 @@
1
- /**
2
- * Created by Andrew on 02/03/2017.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var TestScenario = mongoose.model('TestScenario', new mongoose.Schema(
10
- {
11
- name: String,
12
- apiKey: String,
13
- email: String,
14
- package: String,
15
- "creationTime" : {type: Date, default: Date.now},
16
- "lastUpdateTime" : {type: Date, default: Date.now},
17
- state: {type: String, default: StateEnum.active},
18
- testMode: String,
19
- numberZones: String,
20
- comments: String,
21
- environment: String
22
- },
23
- {
24
- collection : 'testScenario'
25
- }
26
- )
27
- );
28
-
29
- module.exports = TestScenario;
1
+ /**
2
+ * Created by Andrew on 02/03/2017.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var TestScenario = mongoose.model('TestScenario', new mongoose.Schema(
10
+ {
11
+ name: String,
12
+ apiKey: String,
13
+ customerApiKey: String,
14
+ email: String,
15
+ package: String,
16
+ "creationTime" : {type: Date, default: Date.now},
17
+ "lastUpdateTime" : {type: Date, default: Date.now},
18
+ state: {type: String, default: StateEnum.active},
19
+ numberZones: String,
20
+ comments: String,
21
+ environment: String
22
+ },
23
+ {
24
+ collection : 'testScenario'
25
+ }
26
+ )
27
+ );
28
+
29
+ module.exports = TestScenario;
@@ -1,22 +1,22 @@
1
- /**
2
- * Created by Arun on 30/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var SchemaTypes = mongoose.Schema.Types;
8
-
9
- var TimeOfDayRange = mongoose.model('TimeOfDayRange', mongoose.Schema({
10
- start: {
11
- "_class": { type: String, default: "au.com.bluedot.schedule.model.value.TimeOfDay"},
12
- hour: Number,
13
- seconds: Number,
14
- minute: Number
15
- },
16
- interval: Number
17
- },
18
- {
19
- _id: false
20
- }
21
- ));
1
+ /**
2
+ * Created by Arun on 30/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var SchemaTypes = mongoose.Schema.Types;
8
+
9
+ var TimeOfDayRange = mongoose.model('TimeOfDayRange', mongoose.Schema({
10
+ start: {
11
+ "_class": { type: String, default: "au.com.bluedot.schedule.model.value.TimeOfDay"},
12
+ hour: Number,
13
+ seconds: Number,
14
+ minute: Number
15
+ },
16
+ interval: Number
17
+ },
18
+ {
19
+ _id: false
20
+ }
21
+ ));
22
22
  module.exports = TimeOfDayRange;
@@ -1,19 +1,19 @@
1
- /**
2
- * Created by Arun on 30/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var SchemaTypes = mongoose.Schema.Types;
8
-
9
- var TimeOfDayRangeFilter = mongoose.model('TimeOfDayRangeFilter', mongoose.Schema({
10
- guid: {type: String},
11
- _class : {type: String, default:"au.com.bluedot.application.spring.filter.action.TimeOfDayRangeFilter"},
12
- type : {type:String, default:"timeOfDayRangeFilter"},
13
- timeOfDayRange : Schema.Types.Mixed,
14
- },
15
- {
16
- _id: false
17
- }
18
- ));
1
+ /**
2
+ * Created by Arun on 30/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var SchemaTypes = mongoose.Schema.Types;
8
+
9
+ var TimeOfDayRangeFilter = mongoose.model('TimeOfDayRangeFilter', mongoose.Schema({
10
+ guid: {type: String},
11
+ _class : {type: String, default:"au.com.bluedot.application.spring.filter.action.TimeOfDayRangeFilter"},
12
+ type : {type:String, default:"timeOfDayRangeFilter"},
13
+ timeOfDayRange : Schema.Types.Mixed,
14
+ },
15
+ {
16
+ _id: false
17
+ }
18
+ ));
19
19
  module.exports = TimeOfDayRangeFilter;
@@ -1,31 +1,31 @@
1
- /**
2
- * Created by Arun on 10/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var URLActionSchema = new mongoose.Schema({
10
- guid : {type: String},
11
- creationTime : {type: Date, default: Date.now},
12
- dataSource: {type:String, select: false, default : 'openApi'},
13
- actionName : String,
14
- type: {type: String, default: 'url'},
15
- _class: {type: String, default: 'au.com.bluedot.application.spring.action.URLAction'},
16
- url: String,
17
- description : String,
18
- lastUpdateTime : Date,
19
- filters: [],
20
- state: {type: String, default : StateEnum.active, select: false}
21
- },
22
- {
23
- _id: false
24
- }
25
- );
26
-
27
- var URLAction = mongoose.model('URLAction', URLActionSchema);
28
-
29
-
30
-
1
+ /**
2
+ * Created by Arun on 10/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var URLActionSchema = new mongoose.Schema({
10
+ guid : {type: String},
11
+ creationTime : {type: Date, default: Date.now},
12
+ dataSource: {type:String, select: false, default : 'openApi'},
13
+ actionName : String,
14
+ type: {type: String, default: 'url'},
15
+ _class: {type: String, default: 'au.com.bluedot.application.spring.action.URLAction'},
16
+ url: String,
17
+ description : String,
18
+ lastUpdateTime : Date,
19
+ filters: [],
20
+ state: {type: String, default : StateEnum.active, select: false}
21
+ },
22
+ {
23
+ _id: false
24
+ }
25
+ );
26
+
27
+ var URLAction = mongoose.model('URLAction', URLActionSchema);
28
+
29
+
30
+
31
31
  module.exports = URLAction;
@@ -1,28 +1,28 @@
1
- /**
2
- * Created by Arun on 10/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
-
9
- var VibrationActionSchema = new mongoose.Schema({
10
- guid : {type: String},
11
- creationTime : {type: Date, default: Date.now},
12
- dataSource: {type:String, select: false, default : 'openApi'},
13
- actionName : String,
14
- type: {type: String, default: 'vibration'},
15
- _class: {type: String, default: 'au.com.bluedot.application.spring.action.VibrationAction'},
16
- description : String,
17
- lastUpdateTime : Date,
18
- filters: [],
19
- state: {type: String, default : StateEnum.active, select: false}
20
- },
21
- {
22
- _id: false
23
- }
24
- );
25
-
26
- var VibrationAction = mongoose.model('VibrationAction', VibrationActionSchema);
27
-
1
+ /**
2
+ * Created by Arun on 10/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var StateEnum = require('@bluedot-innovation/enums').StateEnum;
8
+
9
+ var VibrationActionSchema = new mongoose.Schema({
10
+ guid : {type: String},
11
+ creationTime : {type: Date, default: Date.now},
12
+ dataSource: {type:String, select: false, default : 'openApi'},
13
+ actionName : String,
14
+ type: {type: String, default: 'vibration'},
15
+ _class: {type: String, default: 'au.com.bluedot.application.spring.action.VibrationAction'},
16
+ description : String,
17
+ lastUpdateTime : Date,
18
+ filters: [],
19
+ state: {type: String, default : StateEnum.active, select: false}
20
+ },
21
+ {
22
+ _id: false
23
+ }
24
+ );
25
+
26
+ var VibrationAction = mongoose.model('VibrationAction', VibrationActionSchema);
27
+
28
28
  module.exports = VibrationAction;