@bluedot-innovation/models 1.0.9 → 1.0.11

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 (62) hide show
  1. package/.npmignore +3 -3
  2. package/Models.js +13 -13
  3. package/models/AdminPortalUser.js +26 -26
  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/CustomerLogin.js +30 -0
  16. package/models/DBEvent.js +21 -21
  17. package/models/DateRangeFilter.js +19 -19
  18. package/models/Fence.js +21 -21
  19. package/models/FormattedBeacon.js +15 -15
  20. package/models/FormattedCircle.js +11 -11
  21. package/models/FormattedConditions.js +10 -10
  22. package/models/FormattedDateRange.js +10 -10
  23. package/models/FormattedPercentageCrossed.js +11 -11
  24. package/models/FormattedPoint.js +9 -9
  25. package/models/FormattedPolygon.js +10 -10
  26. package/models/FormattedPolyline.js +10 -10
  27. package/models/FormattedRectangle.js +11 -11
  28. package/models/FormattedTimeActive.js +16 -16
  29. package/models/FormattedZone.js +27 -27
  30. package/models/GeoFence.js +23 -23
  31. package/models/Geofeature.js +26 -26
  32. package/models/MessageAction.js +28 -28
  33. package/models/NotificationLogEntry.js +19 -19
  34. package/models/POILocation.js +20 -20
  35. package/models/POILookup.js +30 -30
  36. package/models/POIResult.js +20 -20
  37. package/models/PartnerCustomer.js +35 -35
  38. package/models/PartnerPasswordReset.js +20 -20
  39. package/models/PartnerUser.js +30 -30
  40. package/models/Partners.js +18 -18
  41. package/models/PercentageCrossedFilter.js +18 -18
  42. package/models/Point.js +20 -20
  43. package/models/Polygon.js +17 -17
  44. package/models/Polyline.js +17 -17
  45. package/models/PropertyMapping.js +17 -17
  46. package/models/Reference.js +19 -19
  47. package/models/SequenceFilter.js +17 -17
  48. package/models/SimpleCheckInZone.js +29 -29
  49. package/models/SingleUseToken.js +20 -19
  50. package/models/SoundAction.js +27 -27
  51. package/models/SpeedFilter.js +18 -18
  52. package/models/TestDevice.js +35 -35
  53. package/models/TestDeviceCluster.js +24 -24
  54. package/models/TestInstance.js +33 -33
  55. package/models/TestScenario.js +29 -29
  56. package/models/TimeOfDayRange.js +21 -21
  57. package/models/TimeOfDayRangeFilter.js +18 -18
  58. package/models/URLAction.js +30 -30
  59. package/models/VibrationAction.js +27 -27
  60. package/models/ZoneUIState.js +24 -24
  61. package/models/property.js +25 -25
  62. package/package.json +15 -15
@@ -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;
@@ -1,25 +1,25 @@
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 ZoneUIStateSchema = new mongoose.Schema({
11
- _id : {type: String},
12
- signature : {type: String},
13
- center : Schema.Types.Mixed,
14
- dataSource: {type:String, select: false, default : 'openApi'},
15
- zoom : {type: Number, default : 4},
16
- lastUpdateTime : {type: Date, default: Date.now},
17
- creationTime : {type: Date, default: Date.now},
18
- state: {type: String, default : StateEnum.active, select: false},
19
- zoneId: String
20
- },
21
- { collection : 'zoneUIState' }
22
- );
23
-
24
- var ZoneUIState = mongoose.model('ZoneUIState', ZoneUIStateSchema);
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 ZoneUIStateSchema = new mongoose.Schema({
11
+ _id : {type: String},
12
+ signature : {type: String},
13
+ center : Schema.Types.Mixed,
14
+ dataSource: {type:String, select: false, default : 'openApi'},
15
+ zoom : {type: Number, default : 4},
16
+ lastUpdateTime : {type: Date, default: Date.now},
17
+ creationTime : {type: Date, default: Date.now},
18
+ state: {type: String, default : StateEnum.active, select: false},
19
+ zoneId: String
20
+ },
21
+ { collection : 'zoneUIState' }
22
+ );
23
+
24
+ var ZoneUIState = mongoose.model('ZoneUIState', ZoneUIStateSchema);
25
25
  module.exports = ZoneUIState;
@@ -1,25 +1,25 @@
1
- /**
2
- * Created by Arun on 10/09/2014.
3
- * Copyright : Bluedot Innovations.
4
- * Owner :
5
- */
6
- var mongoose = require('mongoose');
7
- var property = new mongoose.Schema({
8
- _id : String,
9
- Agent : String,
10
- StreetNumber : Number,
11
- Address : String,
12
- Suburb : String,
13
- NumberOfBedrooms: Number,
14
- GarageCount: Number,
15
- CarportCount: Number,
16
- NumberBathrooms: Number,
17
- OpenForInspection: String,
18
- Latitude: Number,
19
- Longitude: Number,
20
- filename: String
21
- }, { collection : 'property' });
22
-
23
- var property = mongoose.model('property', property);
24
-
25
- module.exports = property;
1
+ /**
2
+ * Created by Arun on 10/09/2014.
3
+ * Copyright : Bluedot Innovations.
4
+ * Owner :
5
+ */
6
+ var mongoose = require('mongoose');
7
+ var property = new mongoose.Schema({
8
+ _id : String,
9
+ Agent : String,
10
+ StreetNumber : Number,
11
+ Address : String,
12
+ Suburb : String,
13
+ NumberOfBedrooms: Number,
14
+ GarageCount: Number,
15
+ CarportCount: Number,
16
+ NumberBathrooms: Number,
17
+ OpenForInspection: String,
18
+ Latitude: Number,
19
+ Longitude: Number,
20
+ filename: String
21
+ }, { collection : 'property' });
22
+
23
+ var property = mongoose.model('property', property);
24
+
25
+ module.exports = property;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "name": "@bluedot-innovation/models",
3
- "version": "1.0.9",
4
- "description": "",
5
- "main": "Models.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "author": "",
10
- "license": "UNLICENSED",
11
- "dependencies": {
12
- "mongoose": "4.7.6",
13
- "@bluedot-innovation/enums": "*"
14
- }
15
- }
1
+ {
2
+ "name": "@bluedot-innovation/models",
3
+ "version": "1.0.11",
4
+ "description": "",
5
+ "main": "Models.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "UNLICENSED",
11
+ "dependencies": {
12
+ "mongoose": "4.7.6",
13
+ "@bluedot-innovation/enums": "*"
14
+ }
15
+ }