@bluedot-innovation/models 1.0.8 → 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.
- package/.npmignore +3 -3
- package/Models.js +13 -13
- package/models/AdminPortalUser.js +26 -26
- package/models/AdminUser.js +9 -9
- package/models/Application.js +38 -38
- package/models/ApplicationNotificationAction.js +29 -29
- package/models/ApplicationUsage.js +10 -10
- package/models/Beacon.js +36 -36
- package/models/BeaconFilter.js +23 -23
- package/models/BearingFilter.js +18 -18
- package/models/BoundingBox.js +16 -16
- package/models/Circle.js +20 -20
- package/models/Contract.js +41 -41
- package/models/Customer.js +38 -38
- package/models/DBEvent.js +21 -21
- package/models/DateRangeFilter.js +19 -19
- package/models/Fence.js +21 -21
- package/models/FormattedBeacon.js +15 -15
- package/models/FormattedCircle.js +11 -11
- package/models/FormattedConditions.js +10 -10
- package/models/FormattedDateRange.js +10 -10
- package/models/FormattedPercentageCrossed.js +11 -11
- package/models/FormattedPoint.js +9 -9
- package/models/FormattedPolygon.js +10 -10
- package/models/FormattedPolyline.js +10 -10
- package/models/FormattedRectangle.js +11 -11
- package/models/FormattedTimeActive.js +16 -16
- package/models/FormattedZone.js +27 -27
- package/models/GeoFence.js +23 -23
- package/models/Geofeature.js +26 -26
- package/models/MessageAction.js +28 -28
- package/models/NotificationLogEntry.js +19 -19
- package/models/POILocation.js +20 -20
- package/models/POILookup.js +30 -30
- package/models/POIResult.js +20 -20
- package/models/PartnerCustomer.js +35 -35
- package/models/PartnerPasswordReset.js +20 -20
- package/models/PartnerUser.js +30 -30
- package/models/Partners.js +18 -18
- package/models/PercentageCrossedFilter.js +18 -18
- package/models/Point.js +20 -20
- package/models/Polygon.js +17 -17
- package/models/Polyline.js +17 -17
- package/models/PropertyMapping.js +17 -17
- package/models/Reference.js +19 -19
- package/models/SequenceFilter.js +17 -17
- package/models/SimpleCheckInZone.js +29 -29
- package/models/SingleUseToken.js +19 -19
- package/models/SoundAction.js +27 -27
- package/models/SpeedFilter.js +18 -18
- package/models/TestDevice.js +35 -35
- package/models/TestDeviceCluster.js +24 -24
- package/models/TestInstance.js +33 -33
- package/models/TestScenario.js +29 -28
- package/models/TimeOfDayRange.js +21 -21
- package/models/TimeOfDayRangeFilter.js +18 -18
- package/models/URLAction.js +30 -30
- package/models/VibrationAction.js +27 -27
- package/models/ZoneUIState.js +24 -24
- package/models/property.js +25 -25
- 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;
|
package/models/ZoneUIState.js
CHANGED
|
@@ -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;
|
package/models/property.js
CHANGED
|
@@ -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.
|
|
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.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
|
+
}
|