@ricado/api-client 2.0.2 → 2.1.0
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/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
- package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
- package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
- package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
- package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
- package/lib/Controllers/Packhouse/Site/PackTypeController.js +4 -4
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +4 -4
- package/lib/Controllers/Packhouse/Site/PackrunController.js +4 -4
- package/lib/Controllers/Packhouse/Site/RejectBinController.js +4 -4
- package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +4 -4
- package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
- package/lib/Controllers/Packhouse/Site/ShiftController.js +4 -4
- package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
- package/lib/Controllers/Packhouse/Site/VarietyController.js +4 -4
- package/lib/Controllers/Site/AlarmController.js +4 -4
- package/lib/Controllers/Site/AlarmGroupController.js +4 -4
- package/lib/Controllers/Site/DefinitionController.js +4 -4
- package/lib/Controllers/Site/PermanentObjectController.js +4 -4
- package/lib/Controllers/Site/PermanentObjectDataController.js +4 -4
- package/lib/Controllers/Site/PointController.js +4 -4
- package/lib/Controllers/Site/TemporaryObjectController.js +4 -4
- package/lib/Errors/BadRequestError.js +1 -1
- package/lib/Errors/ForbiddenError.js +1 -1
- package/lib/Errors/NetworkError.js +1 -1
- package/lib/Errors/NotAllowedError.js +1 -1
- package/lib/Errors/NotFoundError.js +1 -1
- package/lib/Errors/ServerError.js +1 -1
- package/lib/Errors/UnauthorizedError.js +1 -1
- package/lib/Models/AccountPolicyModel.js +1 -1
- package/lib/Models/ApiAccountModel.js +1 -1
- package/lib/Models/CompanyModel.js +1 -1
- package/lib/Models/FirebaseTokenModel.js +1 -1
- package/lib/Models/Packhouse/Site/BinTipWeightModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +14 -4
- package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +14 -4
- package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -4
- package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +14 -4
- package/lib/Models/Packhouse/Site/GrowingMethodModel.js +14 -4
- package/lib/Models/Packhouse/Site/PackTypeModel.js +14 -4
- package/lib/Models/Packhouse/Site/PackingLineModel.js +14 -4
- package/lib/Models/Packhouse/Site/PackrunModel.js +14 -4
- package/lib/Models/Packhouse/Site/RejectBinModel.js +14 -4
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +14 -4
- package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +14 -4
- package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +14 -4
- package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +14 -4
- package/lib/Models/Packhouse/Site/ShiftModel.js +14 -4
- package/lib/Models/Packhouse/Site/VarietyModel.js +14 -4
- package/lib/Models/RTUModel.js +1 -1
- package/lib/Models/RTUPluginModel.js +1 -1
- package/lib/Models/Site/AlarmGroupModel.js +14 -4
- package/lib/Models/Site/AlarmModel.js +14 -4
- package/lib/Models/Site/DefinitionModel.js +14 -4
- package/lib/Models/Site/PermanentObjectDataModel.js +14 -4
- package/lib/Models/Site/PermanentObjectModel.js +14 -4
- package/lib/Models/Site/PointModel.js +14 -4
- package/lib/Models/Site/TemporaryObjectModel.js +14 -4
- package/lib/Models/SiteModel.js +1 -1
- package/lib/Models/TokenModel.js +1 -1
- package/lib/Models/UserAccountActionTokenModel.js +1 -1
- package/lib/Models/UserAccountModel.js +1 -1
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +432 -27
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
- package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
- package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
- package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackrunController.js +4 -4
- package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
- package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +4 -4
- package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
- package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
- package/src/Controllers/Site/AlarmController.js +4 -4
- package/src/Controllers/Site/AlarmGroupController.js +4 -4
- package/src/Controllers/Site/DefinitionController.js +4 -4
- package/src/Controllers/Site/PermanentObjectController.js +4 -4
- package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
- package/src/Controllers/Site/PointController.js +4 -4
- package/src/Controllers/Site/TemporaryObjectController.js +4 -4
- package/src/Models/Packhouse/Site/BinTipWeightModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +13 -3
- package/src/Models/Packhouse/Site/DowntimeEventModel.js +13 -3
- package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +13 -3
- package/src/Models/Packhouse/Site/GrowingMethodModel.js +13 -3
- package/src/Models/Packhouse/Site/PackTypeModel.js +13 -3
- package/src/Models/Packhouse/Site/PackingLineModel.js +13 -3
- package/src/Models/Packhouse/Site/PackrunModel.js +13 -3
- package/src/Models/Packhouse/Site/RejectBinModel.js +13 -3
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +13 -3
- package/src/Models/Packhouse/Site/RejectBinWeightModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftModel.js +13 -3
- package/src/Models/Packhouse/Site/VarietyModel.js +13 -3
- package/src/Models/Site/AlarmGroupModel.js +13 -3
- package/src/Models/Site/AlarmModel.js +13 -3
- package/src/Models/Site/DefinitionModel.js +13 -3
- package/src/Models/Site/PermanentObjectDataModel.js +13 -3
- package/src/Models/Site/PermanentObjectModel.js +13 -3
- package/src/Models/Site/PointModel.js +13 -3
- package/src/Models/Site/TemporaryObjectModel.js +13 -3
- package/src/PackageVersion.js +1 -1
|
@@ -19,8 +19,9 @@ class FreshPackPackrunSummaryModel extends BaseModel
|
|
|
19
19
|
* FreshPackPackrunSummaryModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -87,6 +88,14 @@ class FreshPackPackrunSummaryModel extends BaseModel
|
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
this.updateTimestamp = undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The Site ID associated with this FreshPack Packrun Summary
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
this.siteId = siteId;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
/**
|
|
@@ -95,11 +104,12 @@ class FreshPackPackrunSummaryModel extends BaseModel
|
|
|
95
104
|
* @static
|
|
96
105
|
* @public
|
|
97
106
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
107
|
+
* @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
|
|
98
108
|
* @return {FreshPackPackrunSummaryModel}
|
|
99
109
|
*/
|
|
100
|
-
static fromJSON(json)
|
|
110
|
+
static fromJSON(json, siteId)
|
|
101
111
|
{
|
|
102
|
-
let model = new FreshPackPackrunSummaryModel();
|
|
112
|
+
let model = new FreshPackPackrunSummaryModel(siteId);
|
|
103
113
|
|
|
104
114
|
/**
|
|
105
115
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class GrowingMethodModel extends BaseModel
|
|
|
19
19
|
* GrowingMethodModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Growing Method
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -71,6 +72,14 @@ class GrowingMethodModel extends BaseModel
|
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
this.updateTimestamp = undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The Site ID associated with this Growing Method
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
this.siteId = siteId;
|
|
74
83
|
}
|
|
75
84
|
|
|
76
85
|
/**
|
|
@@ -79,11 +88,12 @@ class GrowingMethodModel extends BaseModel
|
|
|
79
88
|
* @static
|
|
80
89
|
* @public
|
|
81
90
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
91
|
+
* @param {number} siteId The Site ID associated with this Growing Method
|
|
82
92
|
* @return {GrowingMethodModel}
|
|
83
93
|
*/
|
|
84
|
-
static fromJSON(json)
|
|
94
|
+
static fromJSON(json, siteId)
|
|
85
95
|
{
|
|
86
|
-
let model = new GrowingMethodModel();
|
|
96
|
+
let model = new GrowingMethodModel(siteId);
|
|
87
97
|
|
|
88
98
|
/**
|
|
89
99
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class PackTypeModel extends BaseModel
|
|
|
19
19
|
* PackTypeModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Pack Type
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -87,6 +88,14 @@ class PackTypeModel extends BaseModel
|
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
this.updateTimestamp = undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The Site ID associated with this Pack Type
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
this.siteId = siteId;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
/**
|
|
@@ -95,11 +104,12 @@ class PackTypeModel extends BaseModel
|
|
|
95
104
|
* @static
|
|
96
105
|
* @public
|
|
97
106
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
107
|
+
* @param {number} siteId The Site ID associated with this Pack Type
|
|
98
108
|
* @return {PackTypeModel}
|
|
99
109
|
*/
|
|
100
|
-
static fromJSON(json)
|
|
110
|
+
static fromJSON(json, siteId)
|
|
101
111
|
{
|
|
102
|
-
let model = new PackTypeModel();
|
|
112
|
+
let model = new PackTypeModel(siteId);
|
|
103
113
|
|
|
104
114
|
/**
|
|
105
115
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class PackingLineModel extends BaseModel
|
|
|
19
19
|
* PackingLineModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Packing Line
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -143,6 +144,14 @@ class PackingLineModel extends BaseModel
|
|
|
143
144
|
* @public
|
|
144
145
|
*/
|
|
145
146
|
this.updateTimestamp = undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The Site ID associated with this Packing Line
|
|
150
|
+
*
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
this.siteId = siteId;
|
|
146
155
|
}
|
|
147
156
|
|
|
148
157
|
/**
|
|
@@ -151,11 +160,12 @@ class PackingLineModel extends BaseModel
|
|
|
151
160
|
* @static
|
|
152
161
|
* @public
|
|
153
162
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
163
|
+
* @param {number} siteId The Site ID associated with this Packing Line
|
|
154
164
|
* @return {PackingLineModel}
|
|
155
165
|
*/
|
|
156
|
-
static fromJSON(json)
|
|
166
|
+
static fromJSON(json, siteId)
|
|
157
167
|
{
|
|
158
|
-
let model = new PackingLineModel();
|
|
168
|
+
let model = new PackingLineModel(siteId);
|
|
159
169
|
|
|
160
170
|
/**
|
|
161
171
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class PackrunModel extends BaseModel
|
|
|
19
19
|
* PackrunModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Packrun
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -143,6 +144,14 @@ class PackrunModel extends BaseModel
|
|
|
143
144
|
* @public
|
|
144
145
|
*/
|
|
145
146
|
this.updateTimestamp = undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The Site ID associated with this Packrun
|
|
150
|
+
*
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
this.siteId = siteId;
|
|
146
155
|
}
|
|
147
156
|
|
|
148
157
|
/**
|
|
@@ -151,11 +160,12 @@ class PackrunModel extends BaseModel
|
|
|
151
160
|
* @static
|
|
152
161
|
* @public
|
|
153
162
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
163
|
+
* @param {number} siteId The Site ID associated with this Packrun
|
|
154
164
|
* @return {PackrunModel}
|
|
155
165
|
*/
|
|
156
|
-
static fromJSON(json)
|
|
166
|
+
static fromJSON(json, siteId)
|
|
157
167
|
{
|
|
158
|
-
let model = new PackrunModel();
|
|
168
|
+
let model = new PackrunModel(siteId);
|
|
159
169
|
|
|
160
170
|
/**
|
|
161
171
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class RejectBinModel extends BaseModel
|
|
|
19
19
|
* RejectBinModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Reject Bin
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -95,6 +96,14 @@ class RejectBinModel extends BaseModel
|
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
97
98
|
this.updateTimestamp = undefined;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The Site ID associated with this Reject Bin
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
this.siteId = siteId;
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
/**
|
|
@@ -103,11 +112,12 @@ class RejectBinModel extends BaseModel
|
|
|
103
112
|
* @static
|
|
104
113
|
* @public
|
|
105
114
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
115
|
+
* @param {number} siteId The Site ID associated with this Reject Bin
|
|
106
116
|
* @return {RejectBinModel}
|
|
107
117
|
*/
|
|
108
|
-
static fromJSON(json)
|
|
118
|
+
static fromJSON(json, siteId)
|
|
109
119
|
{
|
|
110
|
-
let model = new RejectBinModel();
|
|
120
|
+
let model = new RejectBinModel(siteId);
|
|
111
121
|
|
|
112
122
|
/**
|
|
113
123
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class RejectBinScaleModel extends BaseModel
|
|
|
19
19
|
* RejectBinScaleModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Scale
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -119,6 +120,14 @@ class RejectBinScaleModel extends BaseModel
|
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
this.updateTimestamp = undefined;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The Site ID associated with this Reject Bin Scale
|
|
126
|
+
*
|
|
127
|
+
* @type {number}
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
this.siteId = siteId;
|
|
122
131
|
}
|
|
123
132
|
|
|
124
133
|
/**
|
|
@@ -127,11 +136,12 @@ class RejectBinScaleModel extends BaseModel
|
|
|
127
136
|
* @static
|
|
128
137
|
* @public
|
|
129
138
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
139
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Scale
|
|
130
140
|
* @return {RejectBinScaleModel}
|
|
131
141
|
*/
|
|
132
|
-
static fromJSON(json)
|
|
142
|
+
static fromJSON(json, siteId)
|
|
133
143
|
{
|
|
134
|
-
let model = new RejectBinScaleModel();
|
|
144
|
+
let model = new RejectBinScaleModel(siteId);
|
|
135
145
|
|
|
136
146
|
/**
|
|
137
147
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class RejectBinWeightModel extends BaseModel
|
|
|
19
19
|
* RejectBinWeightModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Weight
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -103,6 +104,14 @@ class RejectBinWeightModel extends BaseModel
|
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
this.updateTimestamp = undefined;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The Site ID associated with this Reject Bin Weight
|
|
110
|
+
*
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
this.siteId = siteId;
|
|
106
115
|
}
|
|
107
116
|
|
|
108
117
|
/**
|
|
@@ -111,11 +120,12 @@ class RejectBinWeightModel extends BaseModel
|
|
|
111
120
|
* @static
|
|
112
121
|
* @public
|
|
113
122
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
123
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Weight
|
|
114
124
|
* @return {RejectBinWeightModel}
|
|
115
125
|
*/
|
|
116
|
-
static fromJSON(json)
|
|
126
|
+
static fromJSON(json, siteId)
|
|
117
127
|
{
|
|
118
|
-
let model = new RejectBinWeightModel();
|
|
128
|
+
let model = new RejectBinWeightModel(siteId);
|
|
119
129
|
|
|
120
130
|
/**
|
|
121
131
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class ShiftFocusMeetingModel extends BaseModel
|
|
|
19
19
|
* ShiftFocusMeetingModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Shift Focus Meeting
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -119,6 +120,14 @@ class ShiftFocusMeetingModel extends BaseModel
|
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
this.updateTimestamp = undefined;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The Site ID associated with this Shift Focus Meeting
|
|
126
|
+
*
|
|
127
|
+
* @type {number}
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
this.siteId = siteId;
|
|
122
131
|
}
|
|
123
132
|
|
|
124
133
|
/**
|
|
@@ -127,11 +136,12 @@ class ShiftFocusMeetingModel extends BaseModel
|
|
|
127
136
|
* @static
|
|
128
137
|
* @public
|
|
129
138
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
139
|
+
* @param {number} siteId The Site ID associated with this Shift Focus Meeting
|
|
130
140
|
* @return {ShiftFocusMeetingModel}
|
|
131
141
|
*/
|
|
132
|
-
static fromJSON(json)
|
|
142
|
+
static fromJSON(json, siteId)
|
|
133
143
|
{
|
|
134
|
-
let model = new ShiftFocusMeetingModel();
|
|
144
|
+
let model = new ShiftFocusMeetingModel(siteId);
|
|
135
145
|
|
|
136
146
|
/**
|
|
137
147
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class ShiftHourlyEntryModel extends BaseModel
|
|
|
19
19
|
* ShiftHourlyEntryModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Shift Hourly Entry
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -319,6 +320,14 @@ class ShiftHourlyEntryModel extends BaseModel
|
|
|
319
320
|
* @public
|
|
320
321
|
*/
|
|
321
322
|
this.updateTimestamp = undefined;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The Site ID associated with this Shift Hourly Entry
|
|
326
|
+
*
|
|
327
|
+
* @type {number}
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
this.siteId = siteId;
|
|
322
331
|
}
|
|
323
332
|
|
|
324
333
|
/**
|
|
@@ -327,11 +336,12 @@ class ShiftHourlyEntryModel extends BaseModel
|
|
|
327
336
|
* @static
|
|
328
337
|
* @public
|
|
329
338
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
339
|
+
* @param {number} siteId The Site ID associated with this Shift Hourly Entry
|
|
330
340
|
* @return {ShiftHourlyEntryModel}
|
|
331
341
|
*/
|
|
332
|
-
static fromJSON(json)
|
|
342
|
+
static fromJSON(json, siteId)
|
|
333
343
|
{
|
|
334
|
-
let model = new ShiftHourlyEntryModel();
|
|
344
|
+
let model = new ShiftHourlyEntryModel(siteId);
|
|
335
345
|
|
|
336
346
|
/**
|
|
337
347
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class ShiftModel extends BaseModel
|
|
|
19
19
|
* ShiftModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Shift
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -175,6 +176,14 @@ class ShiftModel extends BaseModel
|
|
|
175
176
|
* @public
|
|
176
177
|
*/
|
|
177
178
|
this.updateTimestamp = undefined;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* The Site ID associated with this Shift
|
|
182
|
+
*
|
|
183
|
+
* @type {number}
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
this.siteId = siteId;
|
|
178
187
|
}
|
|
179
188
|
|
|
180
189
|
/**
|
|
@@ -183,11 +192,12 @@ class ShiftModel extends BaseModel
|
|
|
183
192
|
* @static
|
|
184
193
|
* @public
|
|
185
194
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
195
|
+
* @param {number} siteId The Site ID associated with this Shift
|
|
186
196
|
* @return {ShiftModel}
|
|
187
197
|
*/
|
|
188
|
-
static fromJSON(json)
|
|
198
|
+
static fromJSON(json, siteId)
|
|
189
199
|
{
|
|
190
|
-
let model = new ShiftModel();
|
|
200
|
+
let model = new ShiftModel(siteId);
|
|
191
201
|
|
|
192
202
|
/**
|
|
193
203
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class VarietyModel extends BaseModel
|
|
|
19
19
|
* VarietyModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Variety
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -87,6 +88,14 @@ class VarietyModel extends BaseModel
|
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
this.updateTimestamp = undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The Site ID associated with this Variety
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
this.siteId = siteId;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
/**
|
|
@@ -95,11 +104,12 @@ class VarietyModel extends BaseModel
|
|
|
95
104
|
* @static
|
|
96
105
|
* @public
|
|
97
106
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
107
|
+
* @param {number} siteId The Site ID associated with this Variety
|
|
98
108
|
* @return {VarietyModel}
|
|
99
109
|
*/
|
|
100
|
-
static fromJSON(json)
|
|
110
|
+
static fromJSON(json, siteId)
|
|
101
111
|
{
|
|
102
|
-
let model = new VarietyModel();
|
|
112
|
+
let model = new VarietyModel(siteId);
|
|
103
113
|
|
|
104
114
|
/**
|
|
105
115
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class AlarmGroupModel extends BaseModel
|
|
|
19
19
|
* AlarmGroupModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Alarm Group
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -79,6 +80,14 @@ class AlarmGroupModel extends BaseModel
|
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
this.updateTimestamp = undefined;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The Site ID associated with this Alarm Group
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
this.siteId = siteId;
|
|
82
91
|
}
|
|
83
92
|
|
|
84
93
|
/**
|
|
@@ -87,11 +96,12 @@ class AlarmGroupModel extends BaseModel
|
|
|
87
96
|
* @static
|
|
88
97
|
* @public
|
|
89
98
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
99
|
+
* @param {number} siteId The Site ID associated with this Alarm Group
|
|
90
100
|
* @return {AlarmGroupModel}
|
|
91
101
|
*/
|
|
92
|
-
static fromJSON(json)
|
|
102
|
+
static fromJSON(json, siteId)
|
|
93
103
|
{
|
|
94
|
-
let model = new AlarmGroupModel();
|
|
104
|
+
let model = new AlarmGroupModel(siteId);
|
|
95
105
|
|
|
96
106
|
/**
|
|
97
107
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class AlarmModel extends BaseModel
|
|
|
19
19
|
* AlarmModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Alarm
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -159,6 +160,14 @@ class AlarmModel extends BaseModel
|
|
|
159
160
|
* @public
|
|
160
161
|
*/
|
|
161
162
|
this.updateTimestamp = undefined;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The Site ID associated with this Alarm
|
|
166
|
+
*
|
|
167
|
+
* @type {number}
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
this.siteId = siteId;
|
|
162
171
|
}
|
|
163
172
|
|
|
164
173
|
/**
|
|
@@ -167,11 +176,12 @@ class AlarmModel extends BaseModel
|
|
|
167
176
|
* @static
|
|
168
177
|
* @public
|
|
169
178
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
179
|
+
* @param {number} siteId The Site ID associated with this Alarm
|
|
170
180
|
* @return {AlarmModel}
|
|
171
181
|
*/
|
|
172
|
-
static fromJSON(json)
|
|
182
|
+
static fromJSON(json, siteId)
|
|
173
183
|
{
|
|
174
|
-
let model = new AlarmModel();
|
|
184
|
+
let model = new AlarmModel(siteId);
|
|
175
185
|
|
|
176
186
|
/**
|
|
177
187
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class DefinitionModel extends BaseModel
|
|
|
19
19
|
* DefinitionModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Definition
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -71,6 +72,14 @@ class DefinitionModel extends BaseModel
|
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
this.updateTimestamp = undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The Site ID associated with this Definition
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
this.siteId = siteId;
|
|
74
83
|
}
|
|
75
84
|
|
|
76
85
|
/**
|
|
@@ -79,11 +88,12 @@ class DefinitionModel extends BaseModel
|
|
|
79
88
|
* @static
|
|
80
89
|
* @public
|
|
81
90
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
91
|
+
* @param {number} siteId The Site ID associated with this Definition
|
|
82
92
|
* @return {DefinitionModel}
|
|
83
93
|
*/
|
|
84
|
-
static fromJSON(json)
|
|
94
|
+
static fromJSON(json, siteId)
|
|
85
95
|
{
|
|
86
|
-
let model = new DefinitionModel();
|
|
96
|
+
let model = new DefinitionModel(siteId);
|
|
87
97
|
|
|
88
98
|
/**
|
|
89
99
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class PermanentObjectDataModel extends BaseModel
|
|
|
19
19
|
* PermanentObjectDataModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Permanent Object Data
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -87,6 +88,14 @@ class PermanentObjectDataModel extends BaseModel
|
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
this.updateTimestamp = undefined;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The Site ID associated with this Permanent Object Data
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
this.siteId = siteId;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
/**
|
|
@@ -95,11 +104,12 @@ class PermanentObjectDataModel extends BaseModel
|
|
|
95
104
|
* @static
|
|
96
105
|
* @public
|
|
97
106
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
107
|
+
* @param {number} siteId The Site ID associated with this Permanent Object Data
|
|
98
108
|
* @return {PermanentObjectDataModel}
|
|
99
109
|
*/
|
|
100
|
-
static fromJSON(json)
|
|
110
|
+
static fromJSON(json, siteId)
|
|
101
111
|
{
|
|
102
|
-
let model = new PermanentObjectDataModel();
|
|
112
|
+
let model = new PermanentObjectDataModel(siteId);
|
|
103
113
|
|
|
104
114
|
/**
|
|
105
115
|
* The JSON Object
|
|
@@ -19,8 +19,9 @@ class PermanentObjectModel extends BaseModel
|
|
|
19
19
|
* PermanentObjectModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
+
* @param {number} siteId The Site ID associated with this Permanent Object
|
|
22
23
|
*/
|
|
23
|
-
constructor()
|
|
24
|
+
constructor(siteId)
|
|
24
25
|
{
|
|
25
26
|
super();
|
|
26
27
|
|
|
@@ -79,6 +80,14 @@ class PermanentObjectModel extends BaseModel
|
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
this.updateTimestamp = undefined;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The Site ID associated with this Permanent Object
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
this.siteId = siteId;
|
|
82
91
|
}
|
|
83
92
|
|
|
84
93
|
/**
|
|
@@ -87,11 +96,12 @@ class PermanentObjectModel extends BaseModel
|
|
|
87
96
|
* @static
|
|
88
97
|
* @public
|
|
89
98
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
99
|
+
* @param {number} siteId The Site ID associated with this Permanent Object
|
|
90
100
|
* @return {PermanentObjectModel}
|
|
91
101
|
*/
|
|
92
|
-
static fromJSON(json)
|
|
102
|
+
static fromJSON(json, siteId)
|
|
93
103
|
{
|
|
94
|
-
let model = new PermanentObjectModel();
|
|
104
|
+
let model = new PermanentObjectModel(siteId);
|
|
95
105
|
|
|
96
106
|
/**
|
|
97
107
|
* The JSON Object
|