@ricado/api-client 2.0.2 → 2.2.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.
Files changed (155) hide show
  1. package/README.md +5 -7
  2. package/dist/ricado.api.client.js +1 -1
  3. package/lib/Controllers/Packhouse/Site/BinTipBinController.js +622 -0
  4. package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  5. package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  6. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +7 -7
  7. package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  8. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  9. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  10. package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  11. package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  12. package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  13. package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +657 -0
  14. package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  15. package/lib/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  16. package/lib/Controllers/Packhouse/Site/PackingLineController.js +29 -5
  17. package/lib/Controllers/Packhouse/Site/PackrunController.js +46 -4
  18. package/lib/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  19. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +28 -6
  20. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  21. package/lib/Controllers/Packhouse/Site/ShiftController.js +4 -4
  22. package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  23. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +19 -4
  24. package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +661 -0
  25. package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +628 -0
  26. package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +453 -0
  27. package/lib/Controllers/Packhouse/Site/VarietyController.js +4 -4
  28. package/lib/Controllers/Packhouse/Site/index.js +15 -0
  29. package/lib/Controllers/Site/AlarmController.js +4 -4
  30. package/lib/Controllers/Site/AlarmGroupController.js +4 -4
  31. package/lib/Controllers/Site/DefinitionController.js +4 -4
  32. package/lib/Controllers/Site/PermanentObjectController.js +4 -4
  33. package/lib/Controllers/Site/PermanentObjectDataController.js +4 -4
  34. package/lib/Controllers/Site/PointController.js +4 -4
  35. package/lib/Controllers/Site/TemporaryObjectController.js +4 -4
  36. package/lib/Errors/BadRequestError.js +1 -1
  37. package/lib/Errors/ForbiddenError.js +1 -1
  38. package/lib/Errors/NetworkError.js +1 -1
  39. package/lib/Errors/NotAllowedError.js +1 -1
  40. package/lib/Errors/NotFoundError.js +1 -1
  41. package/lib/Errors/ServerError.js +1 -1
  42. package/lib/Errors/UnauthorizedError.js +1 -1
  43. package/lib/Models/AccountPolicyModel.js +1 -1
  44. package/lib/Models/ApiAccountModel.js +1 -1
  45. package/lib/Models/CompanyModel.js +1 -1
  46. package/lib/Models/FirebaseTokenModel.js +1 -1
  47. package/lib/Models/Packhouse/Site/BinTipBinModel.js +367 -0
  48. package/lib/Models/Packhouse/Site/BinTipWeightModel.js +14 -4
  49. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +14 -4
  50. package/lib/Models/Packhouse/Site/CompacSizerModel.js +15 -5
  51. package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +14 -4
  52. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +14 -4
  53. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +14 -4
  54. package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +14 -4
  55. package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -4
  56. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +14 -4
  57. package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +481 -0
  58. package/lib/Models/Packhouse/Site/GrowingMethodModel.js +14 -4
  59. package/lib/Models/Packhouse/Site/PackTypeModel.js +14 -4
  60. package/lib/Models/Packhouse/Site/PackingLineModel.js +538 -5
  61. package/lib/Models/Packhouse/Site/PackrunModel.js +80 -4
  62. package/lib/Models/Packhouse/Site/RejectBinModel.js +14 -4
  63. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +274 -8
  64. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +14 -4
  65. package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +14 -4
  66. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +181 -5
  67. package/lib/Models/Packhouse/Site/ShiftModel.js +14 -4
  68. package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +599 -0
  69. package/lib/Models/Packhouse/Site/ShiftTaskModel.js +373 -0
  70. package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +235 -0
  71. package/lib/Models/Packhouse/Site/VarietyModel.js +14 -4
  72. package/lib/Models/Packhouse/Site/index.js +15 -0
  73. package/lib/Models/RTUModel.js +1 -1
  74. package/lib/Models/RTUPluginModel.js +1 -1
  75. package/lib/Models/Site/AlarmGroupModel.js +14 -4
  76. package/lib/Models/Site/AlarmModel.js +14 -4
  77. package/lib/Models/Site/DefinitionModel.js +14 -4
  78. package/lib/Models/Site/PermanentObjectDataModel.js +14 -4
  79. package/lib/Models/Site/PermanentObjectModel.js +14 -4
  80. package/lib/Models/Site/PointModel.js +14 -4
  81. package/lib/Models/Site/TemporaryObjectModel.js +14 -4
  82. package/lib/Models/SiteModel.js +1 -1
  83. package/lib/Models/TokenModel.js +1 -1
  84. package/lib/Models/UserAccountActionTokenModel.js +1 -1
  85. package/lib/Models/UserAccountModel.js +1 -1
  86. package/lib/PackageVersion.js +1 -1
  87. package/lib/index.d.ts +4039 -1071
  88. package/package.json +1 -1
  89. package/src/Controllers/Packhouse/Site/BinTipBinController.js +665 -0
  90. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  91. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  92. package/src/Controllers/Packhouse/Site/CompacSizerController.js +7 -7
  93. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  94. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  95. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  96. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  97. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  98. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  99. package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +700 -0
  100. package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  101. package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  102. package/src/Controllers/Packhouse/Site/PackingLineController.js +29 -5
  103. package/src/Controllers/Packhouse/Site/PackrunController.js +56 -4
  104. package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  105. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +28 -6
  106. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  107. package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
  108. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  109. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +19 -4
  110. package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +704 -0
  111. package/src/Controllers/Packhouse/Site/ShiftTaskController.js +671 -0
  112. package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +474 -0
  113. package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
  114. package/src/Controllers/Packhouse/Site/index.js +10 -0
  115. package/src/Controllers/Site/AlarmController.js +4 -4
  116. package/src/Controllers/Site/AlarmGroupController.js +4 -4
  117. package/src/Controllers/Site/DefinitionController.js +4 -4
  118. package/src/Controllers/Site/PermanentObjectController.js +4 -4
  119. package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
  120. package/src/Controllers/Site/PointController.js +4 -4
  121. package/src/Controllers/Site/TemporaryObjectController.js +4 -4
  122. package/src/Models/Packhouse/Site/BinTipBinModel.js +365 -0
  123. package/src/Models/Packhouse/Site/BinTipWeightModel.js +13 -3
  124. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +13 -3
  125. package/src/Models/Packhouse/Site/CompacSizerModel.js +14 -4
  126. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +13 -3
  127. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +13 -3
  128. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +13 -3
  129. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +13 -3
  130. package/src/Models/Packhouse/Site/DowntimeEventModel.js +13 -3
  131. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +13 -3
  132. package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +523 -0
  133. package/src/Models/Packhouse/Site/GrowingMethodModel.js +13 -3
  134. package/src/Models/Packhouse/Site/PackTypeModel.js +13 -3
  135. package/src/Models/Packhouse/Site/PackingLineModel.js +718 -4
  136. package/src/Models/Packhouse/Site/PackrunModel.js +88 -3
  137. package/src/Models/Packhouse/Site/RejectBinModel.js +13 -3
  138. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +310 -7
  139. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +13 -3
  140. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +13 -3
  141. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +205 -4
  142. package/src/Models/Packhouse/Site/ShiftModel.js +13 -3
  143. package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +664 -0
  144. package/src/Models/Packhouse/Site/ShiftTaskModel.js +369 -0
  145. package/src/Models/Packhouse/Site/SoftSortBeltModel.js +215 -0
  146. package/src/Models/Packhouse/Site/VarietyModel.js +13 -3
  147. package/src/Models/Packhouse/Site/index.js +10 -0
  148. package/src/Models/Site/AlarmGroupModel.js +13 -3
  149. package/src/Models/Site/AlarmModel.js +13 -3
  150. package/src/Models/Site/DefinitionModel.js +13 -3
  151. package/src/Models/Site/PermanentObjectDataModel.js +13 -3
  152. package/src/Models/Site/PermanentObjectModel.js +13 -3
  153. package/src/Models/Site/PointModel.js +13 -3
  154. package/src/Models/Site/TemporaryObjectModel.js +13 -3
  155. package/src/PackageVersion.js +1 -1
@@ -29,7 +29,7 @@ class GrowingMethodController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/growing-methods/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return GrowingMethodModel.fromJSON(result);
32
+ return GrowingMethodModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class GrowingMethodController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/growing-methods/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return GrowingMethodModel.fromJSON(result);
57
+ return GrowingMethodModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -105,7 +105,7 @@ class GrowingMethodController
105
105
 
106
106
  return result.map((resultItem) => {
107
107
  return (function(){
108
- return GrowingMethodModel.fromJSON(resultItem);
108
+ return GrowingMethodModel.fromJSON(resultItem, siteId);
109
109
  }());
110
110
  });
111
111
  }());
@@ -131,7 +131,7 @@ class GrowingMethodController
131
131
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/growing-methods`, createData)
132
132
  .then((result) => {
133
133
  let resolveValue = (function(){
134
- return GrowingMethodModel.fromJSON(result);
134
+ return GrowingMethodModel.fromJSON(result, siteId);
135
135
  }());
136
136
 
137
137
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class PackTypeController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/pack-types/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return PackTypeModel.fromJSON(result);
32
+ return PackTypeModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class PackTypeController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/pack-types/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return PackTypeModel.fromJSON(result);
57
+ return PackTypeModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -105,7 +105,7 @@ class PackTypeController
105
105
 
106
106
  return result.map((resultItem) => {
107
107
  return (function(){
108
- return PackTypeModel.fromJSON(resultItem);
108
+ return PackTypeModel.fromJSON(resultItem, siteId);
109
109
  }());
110
110
  });
111
111
  }());
@@ -131,7 +131,7 @@ class PackTypeController
131
131
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/pack-types`, createData)
132
132
  .then((result) => {
133
133
  let resolveValue = (function(){
134
- return PackTypeModel.fromJSON(result);
134
+ return PackTypeModel.fromJSON(result, siteId);
135
135
  }());
136
136
 
137
137
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class PackingLineController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/packing-lines/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return PackingLineModel.fromJSON(result);
32
+ return PackingLineModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class PackingLineController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/packing-lines/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return PackingLineModel.fromJSON(result);
57
+ return PackingLineModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -105,7 +105,7 @@ class PackingLineController
105
105
 
106
106
  return result.map((resultItem) => {
107
107
  return (function(){
108
- return PackingLineModel.fromJSON(resultItem);
108
+ return PackingLineModel.fromJSON(resultItem, siteId);
109
109
  }());
110
110
  });
111
111
  }());
@@ -131,7 +131,7 @@ class PackingLineController
131
131
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/packing-lines`, createData)
132
132
  .then((result) => {
133
133
  let resolveValue = (function(){
134
- return PackingLineModel.fromJSON(result);
134
+ return PackingLineModel.fromJSON(result, siteId);
135
135
  }());
136
136
 
137
137
  resolve(resolveValue);
@@ -162,6 +162,7 @@ export default PackingLineController;
162
162
  * @property {Object[]} [sizers] The Sizer Objects that belong to this Packing Line
163
163
  * @property {Object[]} [binTips] The Bin Tip Objects that belong to this this Packing Line
164
164
  * @property {Object[]} [rejectBinScales] The Reject Bin Scale Objects that belong to this Packing Line
165
+ * @property {?Object} [secondaryPackingLine] An Optional Secondary Packing Line Reference
165
166
  * @property {?Object} [automation] The Automation Object for this Packing Line
166
167
  * @property {string[]} [alarmGroups] The Alarm Groups that are used by this Packing Line
167
168
  * @property {Object[]} [classTypes] The Class Types that are defined for this Packing Line
@@ -180,6 +181,7 @@ export default PackingLineController;
180
181
  * @property {Object[]} [sizers] The Sizer Objects that belong to this Packing Line
181
182
  * @property {Object[]} [binTips] The Bin Tip Objects that belong to this this Packing Line
182
183
  * @property {Object[]} [rejectBinScales] The Reject Bin Scale Objects that belong to this Packing Line
184
+ * @property {?Object} [secondaryPackingLine] An Optional Secondary Packing Line Reference
183
185
  * @property {?Object} [automation] The Automation Object for this Packing Line
184
186
  * @property {string[]} [alarmGroups] The Alarm Groups that are used by this Packing Line
185
187
  * @property {Object[]} [classTypes] The Class Types that are defined for this Packing Line
@@ -189,11 +191,33 @@ export default PackingLineController;
189
191
  * @memberof Controllers.Packhouse.Site
190
192
  */
191
193
 
194
+ /**
195
+ * A **ShiftTaskTagDefinition** Type
196
+ *
197
+ * @typedef {Object} PackingLineController.ShiftTaskTagDefinition
198
+ * @property {string} id The Unique Tag ID
199
+ * @property {string} name The Tag Display Name
200
+ * @property {string} color The Tag Display Color
201
+ * @property {boolean} deleted Whether the Tag has been Deleted
202
+ * @memberof Controllers.Packhouse.Site
203
+ */
204
+
205
+ /**
206
+ * A **ShiftTaskDefinition** Type
207
+ *
208
+ * @typedef {Object} PackingLineController.ShiftTaskDefinition
209
+ * @property {string} type The Task Type
210
+ * @property {Array<PackingLineController.ShiftTaskTagDefinition>} tags An Array of Tags defined for the Task Type
211
+ * @memberof Controllers.Packhouse.Site
212
+ */
213
+
192
214
  /**
193
215
  * A **ShiftManagement** Type
194
216
  *
195
217
  * @typedef {Object} PackingLineController.ShiftManagement
196
- * @property {{currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, shiftSchedules: number}} points The Points used for Shift Management
218
+ * @property {{currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, currentShiftStatus: number, currentShiftModifyHourlyEntryRequest: number, shiftSchedules: number, currentShiftClass1TraysPerHourTarget: number, currentShiftClass1TraysPerHourAdjustedTarget: number, currentShiftClass1TraysPerHour: number, currentShiftCostPerTrayTarget: number, currentShiftCostPerTrayAdjustedTarget: number, currentShiftCostPerTray: number, currentShiftManningTarget: number, currentShiftClass1Manning: number, currentShiftClass2Manning: number, currentShiftQualityR600IdealTarget: number, currentShiftQualityR600Ideal: number, currentShiftScorePercentage: number, class1TraysPerHourTargets: number, costPerTrayTargets: number, manningTargets: number, qualityR600IdealTargets: number, costPerManningUnitHour: number, class1TraysPerHourScoreWeighting: number, costPerTrayScoreWeighting: number, qualityR600IdealScoreWeighting: number}} points The Points used for Shift Management
219
+ * @property {Array<{id: string, name: string, type: string, points: {currentShiftCustomQualityTarget: number, currentShiftCustomQualityValue: number, customQualityTargets: number, customQualityScoreWeighting: number}}>} customQualityConfiguration An Optional Array of Configuration Data for Custom Qualities in Shift Management
197
220
  * @property {boolean} enabled Whether Shift Management is Enabled on this Packing Line
221
+ * @property {Array<PackingLineController.ShiftTaskDefinition>} taskDefinitions An Array of Shift Task Types for this Packing Line
198
222
  * @memberof Controllers.Packhouse.Site
199
223
  */
@@ -29,7 +29,7 @@ class PackrunController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/packruns/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return PackrunModel.fromJSON(result);
32
+ return PackrunModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class PackrunController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/packruns/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return PackrunModel.fromJSON(result);
57
+ return PackrunModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -1915,6 +1915,48 @@ class PackrunController
1915
1915
  {
1916
1916
  resultObject.totalSoftSortEventsDuration = 0;
1917
1917
  }
1918
+
1919
+ if(typeof result === 'object' && 'softSortEventsIsAccurate' in result)
1920
+ {
1921
+ resultObject.softSortEventsIsAccurate = (function(){
1922
+ if(result.softSortEventsIsAccurate === null)
1923
+ {
1924
+ return null;
1925
+ }
1926
+
1927
+ if(typeof result.softSortEventsIsAccurate !== 'boolean')
1928
+ {
1929
+ return Boolean(result.softSortEventsIsAccurate);
1930
+ }
1931
+
1932
+ return result.softSortEventsIsAccurate;
1933
+ }());
1934
+ }
1935
+ else
1936
+ {
1937
+ resultObject.softSortEventsIsAccurate = null;
1938
+ }
1939
+
1940
+ if(typeof result === 'object' && 'softSortEventsNotAccurateReason' in result)
1941
+ {
1942
+ resultObject.softSortEventsNotAccurateReason = (function(){
1943
+ if(result.softSortEventsNotAccurateReason === null)
1944
+ {
1945
+ return null;
1946
+ }
1947
+
1948
+ if(typeof result.softSortEventsNotAccurateReason !== 'string')
1949
+ {
1950
+ return String(result.softSortEventsNotAccurateReason);
1951
+ }
1952
+
1953
+ return result.softSortEventsNotAccurateReason;
1954
+ }());
1955
+ }
1956
+ else
1957
+ {
1958
+ resultObject.softSortEventsNotAccurateReason = null;
1959
+ }
1918
1960
 
1919
1961
  return resultObject;
1920
1962
  }());
@@ -1947,7 +1989,7 @@ class PackrunController
1947
1989
 
1948
1990
  return result.map((resultItem) => {
1949
1991
  return (function(){
1950
- return PackrunModel.fromJSON(resultItem);
1992
+ return PackrunModel.fromJSON(resultItem, siteId);
1951
1993
  }());
1952
1994
  });
1953
1995
  }());
@@ -1973,7 +2015,7 @@ class PackrunController
1973
2015
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/packruns`, createData)
1974
2016
  .then((result) => {
1975
2017
  let resolveValue = (function(){
1976
- return PackrunModel.fromJSON(result);
2018
+ return PackrunModel.fromJSON(result, siteId);
1977
2019
  }());
1978
2020
 
1979
2021
  resolve(resolveValue);
@@ -1996,6 +2038,8 @@ export default PackrunController;
1996
2038
  * @property {string} [maturityArea] The Maturity Area for this Packrun
1997
2039
  * @property {string} [varietyId] The Variety for this Packrun
1998
2040
  * @property {?string} [growingMethodId] The Growing Method for this Packrun
2041
+ * @property {?number} [freshPackGraderId] The FreshPack Grader ID associated with this Packrun
2042
+ * @property {?string} [freshPackBinLotCode] The FreshPack Bin Lot Code associated with this Packrun
1999
2043
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when this Packrun was Created. Results Greater than or Equal to Timestamp
2000
2044
  * @property {Date} [createdTimestampEnd] Filter by the Timestamp when this Packrun was Created. Results Less than or Equal to Timestamp
2001
2045
  * @property {Date} [startTimestampBegin] Filter by the Timestamp when this Packrun was Started. Results Greater than or Equal to Timestamp
@@ -2021,6 +2065,9 @@ export default PackrunController;
2021
2065
  * @property {?string} [growingMethodId] The Growing Method for this Packrun
2022
2066
  * @property {number} [allocatedBins] The Number of Allocated Bins for this Packrun
2023
2067
  * @property {Object[]} [timeBatches] The Time Batches for this Packrun
2068
+ * @property {?number} [freshPackGraderId] The FreshPack Grader ID associated with this Packrun
2069
+ * @property {?string} [freshPackBinLotCode] The FreshPack Bin Lot Code associated with this Packrun
2070
+ * @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
2024
2071
  * @memberof Controllers.Packhouse.Site
2025
2072
  */
2026
2073
 
@@ -2039,6 +2086,9 @@ export default PackrunController;
2039
2086
  * @property {?string} [growingMethodId] The Growing Method for this Packrun
2040
2087
  * @property {number} [allocatedBins] The Number of Allocated Bins for this Packrun
2041
2088
  * @property {Object[]} [timeBatches] The Time Batches for this Packrun
2089
+ * @property {?number} [freshPackGraderId] The FreshPack Grader ID associated with this Packrun
2090
+ * @property {?string} [freshPackBinLotCode] The FreshPack Bin Lot Code associated with this Packrun
2091
+ * @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
2042
2092
  * @memberof Controllers.Packhouse.Site
2043
2093
  */
2044
2094
 
@@ -2180,5 +2230,7 @@ export default PackrunController;
2180
2230
  * @property {number} totalSoftSortEventsCount The Number of Soft-Sort Events that occurred for the Packrun
2181
2231
  * @property {number} averageSoftSortEventsDuration The Average Duration of Soft-Sort Events for the Packrun expressed in Seconds
2182
2232
  * @property {number} totalSoftSortEventsDuration The Total Duration of all Soft-Sort Events for the Packrun expressed in Seconds
2233
+ * @property {?boolean} softSortEventsIsAccurate Whether the Soft-Sort Events Data is considered accurate or not
2234
+ * @property {?string} softSortEventsNotAccurateReason A Reason for why the Soft-Sort Events Data is not accurate. Applies when `softSortEventsIsAccurate` is false
2183
2235
  * @memberof Controllers.Packhouse.Site
2184
2236
  */
@@ -29,7 +29,7 @@ class RejectBinController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/reject-bins/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return RejectBinModel.fromJSON(result);
32
+ return RejectBinModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class RejectBinController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/reject-bins/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return RejectBinModel.fromJSON(result);
57
+ return RejectBinModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -569,7 +569,7 @@ class RejectBinController
569
569
 
570
570
  return result.map((resultItem) => {
571
571
  return (function(){
572
- return RejectBinModel.fromJSON(resultItem);
572
+ return RejectBinModel.fromJSON(resultItem, siteId);
573
573
  }());
574
574
  });
575
575
  }());
@@ -595,7 +595,7 @@ class RejectBinController
595
595
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/reject-bins`, createData)
596
596
  .then((result) => {
597
597
  let resolveValue = (function(){
598
- return RejectBinModel.fromJSON(result);
598
+ return RejectBinModel.fromJSON(result, siteId);
599
599
  }());
600
600
 
601
601
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class RejectBinScaleController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/reject-bin-scales/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return RejectBinScaleModel.fromJSON(result);
32
+ return RejectBinScaleModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class RejectBinScaleController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/reject-bin-scales/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return RejectBinScaleModel.fromJSON(result);
57
+ return RejectBinScaleModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -105,7 +105,7 @@ class RejectBinScaleController
105
105
 
106
106
  return result.map((resultItem) => {
107
107
  return (function(){
108
- return RejectBinScaleModel.fromJSON(resultItem);
108
+ return RejectBinScaleModel.fromJSON(resultItem, siteId);
109
109
  }());
110
110
  });
111
111
  }());
@@ -131,7 +131,7 @@ class RejectBinScaleController
131
131
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/reject-bin-scales`, createData)
132
132
  .then((result) => {
133
133
  let resolveValue = (function(){
134
- return RejectBinScaleModel.fromJSON(result);
134
+ return RejectBinScaleModel.fromJSON(result, siteId);
135
135
  }());
136
136
 
137
137
  resolve(resolveValue);
@@ -166,7 +166,18 @@ export default RejectBinScaleController;
166
166
  * @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
167
167
  * @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
168
168
  * @property {Object[]} [sources] An Array of Sources that deliver Fruit to this Reject Bin Scale
169
- * @property {?number} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
169
+ * @property {?{delay: ?number}} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
170
+ * @property {?boolean} [supportsLiveWeighing] Whether this Reject Bin Scale supports Live Weighing
171
+ * @property {?number} [autoWeighingStartThreshold] The Minimum Weight Change Required to Automatically Start Live Weighing
172
+ * @property {?number} [autoWeighingStartDelay] The Delay in Milliseconds before Auto Live Weighing would Start
173
+ * @property {?number} [autoWeighingFinishThreshold] The Minimum Weight Change Required to Automatically Finish Live Weighing
174
+ * @property {?number} [autoWeighingFinishDelay] The Delay in Milliseconds before Auto Live Weighing would Finish
175
+ * @property {?number} [manualInterventionMaximumDuration] The Maximum Duration in Milliseconds before a Manual Intervention would end
176
+ * @property {?number} [liveWeighingIncreaseTolerance] The Maximum Weight Increase allowed within a single Live Weighing Update Interval
177
+ * @property {?number} [liveWeighingDecreaseTolerance] The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
178
+ * @property {?number} [liveWeighingUpdateInterval] The Interval in Milliseconds between Live Weighing Updates
179
+ * @property {?boolean} [liveWeighingUsesStableStatus] Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
180
+ * @property {?number} [incorrectOperationTolerance] The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
170
181
  * @property {?Object} [freshPackIntegration] The FreshPack Integration Configuration for this Reject Bin Scale
171
182
  * @memberof Controllers.Packhouse.Site
172
183
  */
@@ -181,7 +192,18 @@ export default RejectBinScaleController;
181
192
  * @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
182
193
  * @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
183
194
  * @property {Object[]} [sources] An Array of Sources that deliver Fruit to this Reject Bin Scale
184
- * @property {?number} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
195
+ * @property {?{delay: ?number}} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
196
+ * @property {?boolean} [supportsLiveWeighing] Whether this Reject Bin Scale supports Live Weighing
197
+ * @property {?number} [autoWeighingStartThreshold] The Minimum Weight Change Required to Automatically Start Live Weighing
198
+ * @property {?number} [autoWeighingStartDelay] The Delay in Milliseconds before Auto Live Weighing would Start
199
+ * @property {?number} [autoWeighingFinishThreshold] The Minimum Weight Change Required to Automatically Finish Live Weighing
200
+ * @property {?number} [autoWeighingFinishDelay] The Delay in Milliseconds before Auto Live Weighing would Finish
201
+ * @property {?number} [manualInterventionMaximumDuration] The Maximum Duration in Milliseconds before a Manual Intervention would end
202
+ * @property {?number} [liveWeighingIncreaseTolerance] The Maximum Weight Increase allowed within a single Live Weighing Update Interval
203
+ * @property {?number} [liveWeighingDecreaseTolerance] The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
204
+ * @property {?number} [liveWeighingUpdateInterval] The Interval in Milliseconds between Live Weighing Updates
205
+ * @property {?boolean} [liveWeighingUsesStableStatus] Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
206
+ * @property {?number} [incorrectOperationTolerance] The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
185
207
  * @property {?Object} [freshPackIntegration] The FreshPack Integration Configuration for this Reject Bin Scale
186
208
  * @memberof Controllers.Packhouse.Site
187
209
  */
@@ -29,7 +29,7 @@ class RejectBinWeightController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/reject-bin-weights/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return RejectBinWeightModel.fromJSON(result);
32
+ return RejectBinWeightModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class RejectBinWeightController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/reject-bin-weights/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return RejectBinWeightModel.fromJSON(result);
57
+ return RejectBinWeightModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -569,7 +569,7 @@ class RejectBinWeightController
569
569
 
570
570
  return result.map((resultItem) => {
571
571
  return (function(){
572
- return RejectBinWeightModel.fromJSON(resultItem);
572
+ return RejectBinWeightModel.fromJSON(resultItem, siteId);
573
573
  }());
574
574
  });
575
575
  }());
@@ -595,7 +595,7 @@ class RejectBinWeightController
595
595
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/reject-bin-weights`, createData)
596
596
  .then((result) => {
597
597
  let resolveValue = (function(){
598
- return RejectBinWeightModel.fromJSON(result);
598
+ return RejectBinWeightModel.fromJSON(result, siteId);
599
599
  }());
600
600
 
601
601
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class ShiftController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/shifts/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return ShiftModel.fromJSON(result);
32
+ return ShiftModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class ShiftController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/shifts/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return ShiftModel.fromJSON(result);
57
+ return ShiftModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -569,7 +569,7 @@ class ShiftController
569
569
 
570
570
  return result.map((resultItem) => {
571
571
  return (function(){
572
- return ShiftModel.fromJSON(resultItem);
572
+ return ShiftModel.fromJSON(resultItem, siteId);
573
573
  }());
574
574
  });
575
575
  }());
@@ -595,7 +595,7 @@ class ShiftController
595
595
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/shifts`, createData)
596
596
  .then((result) => {
597
597
  let resolveValue = (function(){
598
- return ShiftModel.fromJSON(result);
598
+ return ShiftModel.fromJSON(result, siteId);
599
599
  }());
600
600
 
601
601
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class ShiftFocusMeetingController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/shift-focus-meetings/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return ShiftFocusMeetingModel.fromJSON(result);
32
+ return ShiftFocusMeetingModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class ShiftFocusMeetingController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/shift-focus-meetings/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return ShiftFocusMeetingModel.fromJSON(result);
57
+ return ShiftFocusMeetingModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -569,7 +569,7 @@ class ShiftFocusMeetingController
569
569
 
570
570
  return result.map((resultItem) => {
571
571
  return (function(){
572
- return ShiftFocusMeetingModel.fromJSON(resultItem);
572
+ return ShiftFocusMeetingModel.fromJSON(resultItem, siteId);
573
573
  }());
574
574
  });
575
575
  }());
@@ -595,7 +595,7 @@ class ShiftFocusMeetingController
595
595
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/shift-focus-meetings`, createData)
596
596
  .then((result) => {
597
597
  let resolveValue = (function(){
598
- return ShiftFocusMeetingModel.fromJSON(result);
598
+ return ShiftFocusMeetingModel.fromJSON(result, siteId);
599
599
  }());
600
600
 
601
601
  resolve(resolveValue);
@@ -29,7 +29,7 @@ class ShiftHourlyEntryController
29
29
  RequestHelper.getRequest(`/packhouse/sites/${siteId}/shift-hourly-entries/${id}`)
30
30
  .then((result) => {
31
31
  let resolveValue = (function(){
32
- return ShiftHourlyEntryModel.fromJSON(result);
32
+ return ShiftHourlyEntryModel.fromJSON(result, siteId);
33
33
  }());
34
34
 
35
35
  resolve(resolveValue);
@@ -54,7 +54,7 @@ class ShiftHourlyEntryController
54
54
  RequestHelper.patchRequest(`/packhouse/sites/${siteId}/shift-hourly-entries/${id}`, updateData)
55
55
  .then((result) => {
56
56
  let resolveValue = (function(){
57
- return ShiftHourlyEntryModel.fromJSON(result);
57
+ return ShiftHourlyEntryModel.fromJSON(result, siteId);
58
58
  }());
59
59
 
60
60
  resolve(resolveValue);
@@ -569,7 +569,7 @@ class ShiftHourlyEntryController
569
569
 
570
570
  return result.map((resultItem) => {
571
571
  return (function(){
572
- return ShiftHourlyEntryModel.fromJSON(resultItem);
572
+ return ShiftHourlyEntryModel.fromJSON(resultItem, siteId);
573
573
  }());
574
574
  });
575
575
  }());
@@ -595,7 +595,7 @@ class ShiftHourlyEntryController
595
595
  RequestHelper.postRequest(`/packhouse/sites/${siteId}/shift-hourly-entries`, createData)
596
596
  .then((result) => {
597
597
  let resolveValue = (function(){
598
- return ShiftHourlyEntryModel.fromJSON(result);
598
+ return ShiftHourlyEntryModel.fromJSON(result, siteId);
599
599
  }());
600
600
 
601
601
  resolve(resolveValue);
@@ -641,9 +641,11 @@ export default ShiftHourlyEntryController;
641
641
  * @property {?number} [class1Manning] The Number of People working in all Areas except Class 2 for this Hour
642
642
  * @property {?number} [class2Manning] The Number of People working in the Class 2 Area for this Hour
643
643
  * @property {?number} [averageManningTarget] The Average Target Number of People that should be working for this Hour
644
+ * @property {?number} [averageCostPerManningUnit] The Average Cost per Person working in all Areas for this Hour
644
645
  * @property {?number} [layeredTrayPercentage] The Percentage of Total Tray Equivalents that are Layered for this Hour
645
646
  * @property {?number} [averageClass1Percentage] The Average Class 1 Percentage for this Hour
646
647
  * @property {?number} [qualityR600IdealSamplesPercentage] The Number of Quality R600 Samples that were Ideal for this Hour
648
+ * @property {?number} [averageQualityR600IdealSamplesTarget] The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
647
649
  * @property {Array<ShiftHourlyEntryController.CustomQualityDataItem>} [customQualityData] An Array of Custom Quality Data Items for this Hour
648
650
  * @property {number} [totalBinsTipped] The Total Number of Bins Tipped for this Hour
649
651
  * @property {number} [binsTippedTarget] The Target Number of Bins to Tip for this Hour
@@ -652,10 +654,15 @@ export default ShiftHourlyEntryController;
652
654
  * @property {number} [totalClass1Trays] The Total Number of Class 1 Tray Equivalents Packed for this Hour
653
655
  * @property {number} [totalClass2Trays] The Total Number of Class 2 Tray Equivalents Packed for this Hour
654
656
  * @property {number} [class1TraysPerHourExcludingDowntimeTarget] The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
657
+ * @property {?number} [averageClass1TraysPerHourAdjustedTarget] The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
658
+ * @property {?number} [averageCostPerTray] The Average Cost per Tray Equivalent for this Hour
659
+ * @property {?number} [averageCostPerTrayTarget] The Average Cost per Tray Equivalent Target for this Hour
655
660
  * @property {?string} [primaryIssueCategory] The Primary Issue Category for this Hourly Entry
656
661
  * @property {?string} [primaryIssueTag] The Primary Issue Tag for this Hourly Entry
662
+ * @property {?number} [primaryIssuePercentage] A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
657
663
  * @property {?string} [secondaryIssueCategory] The Secondary Issue Category for this Hourly Entry
658
664
  * @property {?string} [secondaryIssueTag] The Secondary Issue Tag for this Hourly Entry
665
+ * @property {?number} [secondaryIssuePercentage] A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
659
666
  * @property {?string} [nextHourFocus] An Optional Focus for the Next Hour
660
667
  * @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
661
668
  * @property {string} [status] The Status of this Hourly Entry
@@ -673,9 +680,11 @@ export default ShiftHourlyEntryController;
673
680
  * @property {?number} [class1Manning] The Number of People working in all Areas except Class 2 for this Hour
674
681
  * @property {?number} [class2Manning] The Number of People working in the Class 2 Area for this Hour
675
682
  * @property {?number} [averageManningTarget] The Average Target Number of People that should be working for this Hour
683
+ * @property {?number} [averageCostPerManningUnit] The Average Cost per Person working in all Areas for this Hour
676
684
  * @property {?number} [layeredTrayPercentage] The Percentage of Total Tray Equivalents that are Layered for this Hour
677
685
  * @property {?number} [averageClass1Percentage] The Average Class 1 Percentage for this Hour
678
686
  * @property {?number} [qualityR600IdealSamplesPercentage] The Number of Quality R600 Samples that were Ideal for this Hour
687
+ * @property {?number} [averageQualityR600IdealSamplesTarget] The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
679
688
  * @property {Array<ShiftHourlyEntryController.CustomQualityDataItem>} [customQualityData] An Array of Custom Quality Data Items for this Hour
680
689
  * @property {number} [totalBinsTipped] The Total Number of Bins Tipped for this Hour
681
690
  * @property {number} [binsTippedTarget] The Target Number of Bins to Tip for this Hour
@@ -684,10 +693,15 @@ export default ShiftHourlyEntryController;
684
693
  * @property {number} [totalClass1Trays] The Total Number of Class 1 Tray Equivalents Packed for this Hour
685
694
  * @property {number} [totalClass2Trays] The Total Number of Class 2 Tray Equivalents Packed for this Hour
686
695
  * @property {number} [class1TraysPerHourExcludingDowntimeTarget] The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
696
+ * @property {?number} [averageClass1TraysPerHourAdjustedTarget] The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
697
+ * @property {?number} [averageCostPerTray] The Average Cost per Tray Equivalent for this Hour
698
+ * @property {?number} [averageCostPerTrayTarget] The Average Cost per Tray Equivalent Target for this Hour
687
699
  * @property {?string} [primaryIssueCategory] The Primary Issue Category for this Hourly Entry
688
700
  * @property {?string} [primaryIssueTag] The Primary Issue Tag for this Hourly Entry
701
+ * @property {?number} [primaryIssuePercentage] A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
689
702
  * @property {?string} [secondaryIssueCategory] The Secondary Issue Category for this Hourly Entry
690
703
  * @property {?string} [secondaryIssueTag] The Secondary Issue Tag for this Hourly Entry
704
+ * @property {?number} [secondaryIssuePercentage] A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
691
705
  * @property {?string} [nextHourFocus] An Optional Focus for the Next Hour
692
706
  * @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
693
707
  * @property {string} [status] The Status of this Hourly Entry
@@ -713,5 +727,6 @@ export default ShiftHourlyEntryController;
713
727
  * @property {string} name The Name of this Custom Quality Data Item
714
728
  * @property {string} type The Display Type for this Custom Quality Data Item
715
729
  * @property {number} value The Number Value for this Custom Quality Data Item
730
+ * @property {number} averageTarget The Average Target for this Custom Quality Data Item
716
731
  * @memberof Controllers.Packhouse.Site
717
732
  */