@ricado/api-client 2.2.0 → 2.3.2

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 (136) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Packhouse/Site/BinTipBinController.js +267 -0
  3. package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +267 -0
  4. package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +267 -0
  5. package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +267 -0
  6. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +267 -0
  7. package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +267 -0
  8. package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +267 -0
  9. package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +267 -0
  10. package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +267 -0
  11. package/lib/Controllers/Packhouse/Site/PackingLineController.js +4 -0
  12. package/lib/Controllers/Packhouse/Site/PackrunController.js +267 -0
  13. package/lib/Controllers/Packhouse/Site/RejectBinController.js +267 -0
  14. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +267 -0
  15. package/lib/Controllers/Packhouse/Site/ShiftController.js +267 -0
  16. package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +267 -0
  17. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +267 -0
  18. package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +267 -0
  19. package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +267 -0
  20. package/lib/Controllers/Site/PermanentObjectDataController.js +267 -0
  21. package/lib/DataItems/PointValueItem.js +3 -3
  22. package/lib/Models/AccountPolicyModel.js +7 -7
  23. package/lib/Models/ApiAccountModel.js +7 -7
  24. package/lib/Models/CompanyModel.js +5 -5
  25. package/lib/Models/FirebaseTokenModel.js +8 -8
  26. package/lib/Models/Packhouse/Site/BinTipBinModel.js +13 -13
  27. package/lib/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
  28. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
  29. package/lib/Models/Packhouse/Site/CompacSizerModel.js +14 -14
  30. package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
  31. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
  32. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
  33. package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
  34. package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
  35. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
  36. package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +10 -10
  37. package/lib/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
  38. package/lib/Models/Packhouse/Site/PackTypeModel.js +8 -8
  39. package/lib/Models/Packhouse/Site/PackingLineModel.js +60 -16
  40. package/lib/Models/Packhouse/Site/PackrunModel.js +18 -18
  41. package/lib/Models/Packhouse/Site/RejectBinModel.js +9 -9
  42. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
  43. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
  44. package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
  45. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +44 -44
  46. package/lib/Models/Packhouse/Site/ShiftModel.js +26 -19
  47. package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +14 -14
  48. package/lib/Models/Packhouse/Site/ShiftTaskModel.js +14 -14
  49. package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
  50. package/lib/Models/Packhouse/Site/VarietyModel.js +8 -8
  51. package/lib/Models/RTUModel.js +6 -6
  52. package/lib/Models/RTUPluginModel.js +5 -5
  53. package/lib/Models/Site/AlarmGroupModel.js +7 -7
  54. package/lib/Models/Site/AlarmModel.js +17 -17
  55. package/lib/Models/Site/DefinitionModel.js +6 -6
  56. package/lib/Models/Site/PermanentObjectDataModel.js +8 -8
  57. package/lib/Models/Site/PermanentObjectModel.js +7 -7
  58. package/lib/Models/Site/PointModel.js +11 -11
  59. package/lib/Models/Site/TemporaryObjectModel.js +6 -6
  60. package/lib/Models/SiteModel.js +6 -6
  61. package/lib/Models/TokenModel.js +10 -10
  62. package/lib/Models/UserAccountActionTokenModel.js +11 -11
  63. package/lib/Models/UserAccountModel.js +10 -10
  64. package/lib/PackageVersion.js +1 -1
  65. package/lib/Points.js +22 -12
  66. package/lib/WebSocketHelper.js +29 -13
  67. package/lib/index.d.ts +715 -361
  68. package/lib/index.js +3 -3
  69. package/package.json +1 -1
  70. package/src/Controllers/Packhouse/Site/BinTipBinController.js +355 -0
  71. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +355 -0
  72. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +355 -0
  73. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +355 -0
  74. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +355 -0
  75. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +355 -0
  76. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +355 -0
  77. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +355 -0
  78. package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +355 -0
  79. package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -0
  80. package/src/Controllers/Packhouse/Site/PackrunController.js +355 -0
  81. package/src/Controllers/Packhouse/Site/RejectBinController.js +355 -0
  82. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +355 -0
  83. package/src/Controllers/Packhouse/Site/ShiftController.js +355 -0
  84. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +355 -0
  85. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +355 -0
  86. package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +355 -0
  87. package/src/Controllers/Packhouse/Site/ShiftTaskController.js +355 -0
  88. package/src/Controllers/Site/PermanentObjectDataController.js +355 -0
  89. package/src/DataItems/PointValueItem.js +3 -3
  90. package/src/Models/AccountPolicyModel.js +7 -7
  91. package/src/Models/ApiAccountModel.js +7 -7
  92. package/src/Models/CompanyModel.js +5 -5
  93. package/src/Models/FirebaseTokenModel.js +8 -8
  94. package/src/Models/Packhouse/Site/BinTipBinModel.js +13 -13
  95. package/src/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
  96. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
  97. package/src/Models/Packhouse/Site/CompacSizerModel.js +14 -14
  98. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
  99. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
  100. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
  101. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
  102. package/src/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
  103. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
  104. package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +10 -10
  105. package/src/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
  106. package/src/Models/Packhouse/Site/PackTypeModel.js +8 -8
  107. package/src/Models/Packhouse/Site/PackingLineModel.js +66 -16
  108. package/src/Models/Packhouse/Site/PackrunModel.js +18 -18
  109. package/src/Models/Packhouse/Site/RejectBinModel.js +9 -9
  110. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
  111. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
  112. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
  113. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +44 -44
  114. package/src/Models/Packhouse/Site/ShiftModel.js +29 -19
  115. package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +14 -14
  116. package/src/Models/Packhouse/Site/ShiftTaskModel.js +14 -14
  117. package/src/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
  118. package/src/Models/Packhouse/Site/VarietyModel.js +8 -8
  119. package/src/Models/RTUModel.js +6 -6
  120. package/src/Models/RTUPluginModel.js +5 -5
  121. package/src/Models/Site/AlarmGroupModel.js +7 -7
  122. package/src/Models/Site/AlarmModel.js +17 -17
  123. package/src/Models/Site/DefinitionModel.js +6 -6
  124. package/src/Models/Site/PermanentObjectDataModel.js +8 -8
  125. package/src/Models/Site/PermanentObjectModel.js +7 -7
  126. package/src/Models/Site/PointModel.js +11 -11
  127. package/src/Models/Site/TemporaryObjectModel.js +6 -6
  128. package/src/Models/SiteModel.js +6 -6
  129. package/src/Models/TokenModel.js +10 -10
  130. package/src/Models/UserAccountActionTokenModel.js +11 -11
  131. package/src/Models/UserAccountModel.js +10 -10
  132. package/src/PackageVersion.js +1 -1
  133. package/src/Points.js +24 -12
  134. package/src/WebSocketHelper.js +34 -13
  135. package/src/index.js +3 -3
  136. package/types/tslint.json +2 -1
@@ -62,7 +62,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Reject Bin Scale ID this Reject Weight is associated with
68
68
  *
@@ -70,7 +70,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.rejectBinScaleId = undefined;
73
+ _this.rejectBinScaleId = "";
74
74
  /**
75
75
  * The Reject Bin ID this Reject Weight is associated with
76
76
  *
@@ -78,7 +78,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.rejectBinId = undefined;
81
+ _this.rejectBinId = "";
82
82
  /**
83
83
  * When this Reject Bin Weight was Created
84
84
  *
@@ -86,7 +86,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The Packrun this Reject Weight is associated with
92
92
  *
@@ -94,7 +94,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.packrunId = undefined;
97
+ _this.packrunId = null;
98
98
  /**
99
99
  * The Net Weight Captured by the Reject Bin Scale
100
100
  *
@@ -102,7 +102,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.netWeight = undefined;
105
+ _this.netWeight = 0;
106
106
  /**
107
107
  * The Source Weights that make up the Net Weight
108
108
  *
@@ -110,7 +110,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.sources = undefined;
113
+ _this.sources = [];
114
114
  /**
115
115
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
116
116
  *
@@ -118,7 +118,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.freshPackMultiGrowerBinWeights = undefined;
121
+ _this.freshPackMultiGrowerBinWeights = [];
122
122
  /**
123
123
  * Whether the Reject Bin Weight has been deleted
124
124
  *
@@ -126,7 +126,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.deleted = undefined;
129
+ _this.deleted = false;
130
130
  /**
131
131
  * When the Reject Bin Weight was last updated
132
132
  *
@@ -134,7 +134,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
134
134
  * @public
135
135
  */
136
136
 
137
- _this.updateTimestamp = undefined;
137
+ _this.updateTimestamp = new Date();
138
138
  /**
139
139
  * The Site ID associated with this Reject Bin Weight
140
140
  *
@@ -62,7 +62,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Packing Line ID this Focus Meeting is associated with
68
68
  *
@@ -70,7 +70,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.packingLineId = undefined;
73
+ _this.packingLineId = "";
74
74
  /**
75
75
  * The Shift ID this Focus Meeting is asssociated with
76
76
  *
@@ -78,7 +78,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.shiftId = undefined;
81
+ _this.shiftId = "";
82
82
  /**
83
83
  * When this Focus Meeting was Created
84
84
  *
@@ -86,7 +86,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * When this Focus Meeting is Scheduled to Begin
92
92
  *
@@ -94,7 +94,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.scheduledTimestamp = undefined;
97
+ _this.scheduledTimestamp = new Date();
98
98
  /**
99
99
  * When this Focus Meeting was Started
100
100
  *
@@ -102,7 +102,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.startTimestamp = undefined;
105
+ _this.startTimestamp = null;
106
106
  /**
107
107
  * When this Focus Meeting was Completed
108
108
  *
@@ -110,7 +110,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.finishTimestamp = undefined;
113
+ _this.finishTimestamp = null;
114
114
  /**
115
115
  * An Optional Key Focus until the Next Meeting
116
116
  *
@@ -118,7 +118,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.nextKeyFocus = undefined;
121
+ _this.nextKeyFocus = null;
122
122
  /**
123
123
  * An Optional Rating between 1 and 10 on how Successful the Focus Meeting was
124
124
  *
@@ -126,7 +126,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.successRating = undefined;
129
+ _this.successRating = null;
130
130
  /**
131
131
  * The Status of this Focus Meeting
132
132
  *
@@ -134,7 +134,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
134
134
  * @public
135
135
  */
136
136
 
137
- _this.status = undefined;
137
+ _this.status = "";
138
138
  /**
139
139
  * Whether the Shift Focus Meeting has been deleted
140
140
  *
@@ -142,7 +142,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
142
142
  * @public
143
143
  */
144
144
 
145
- _this.deleted = undefined;
145
+ _this.deleted = false;
146
146
  /**
147
147
  * When the Shift Focus Meeting was last updated
148
148
  *
@@ -150,7 +150,7 @@ var ShiftFocusMeetingModel = /*#__PURE__*/function (_BaseModel) {
150
150
  * @public
151
151
  */
152
152
 
153
- _this.updateTimestamp = undefined;
153
+ _this.updateTimestamp = new Date();
154
154
  /**
155
155
  * The Site ID associated with this Shift Focus Meeting
156
156
  *
@@ -62,7 +62,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Packing Line ID this Hourly Entry is associated with
68
68
  *
@@ -70,7 +70,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.packingLineId = undefined;
73
+ _this.packingLineId = "";
74
74
  /**
75
75
  * The Shift ID this Hourly Entry is asssociated with
76
76
  *
@@ -78,7 +78,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.shiftId = undefined;
81
+ _this.shiftId = "";
82
82
  /**
83
83
  * When this Hourly Entry was Created
84
84
  *
@@ -86,7 +86,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The Start Timestamp of this Hourly Entry
92
92
  *
@@ -94,7 +94,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.startTimestamp = undefined;
97
+ _this.startTimestamp = new Date();
98
98
  /**
99
99
  * The End Timestamp of this Hourly Entry
100
100
  *
@@ -102,7 +102,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.endTimestamp = undefined;
105
+ _this.endTimestamp = new Date();
106
106
  /**
107
107
  * The Number of People working in all Areas except Class 2 for this Hour
108
108
  *
@@ -110,7 +110,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.class1Manning = undefined;
113
+ _this.class1Manning = null;
114
114
  /**
115
115
  * The Number of People working in the Class 2 Area for this Hour
116
116
  *
@@ -118,7 +118,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.class2Manning = undefined;
121
+ _this.class2Manning = null;
122
122
  /**
123
123
  * The Average Target Number of People that should be working for this Hour
124
124
  *
@@ -126,7 +126,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.averageManningTarget = undefined;
129
+ _this.averageManningTarget = null;
130
130
  /**
131
131
  * The Average Cost per Person working in all Areas for this Hour
132
132
  *
@@ -134,7 +134,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
134
134
  * @public
135
135
  */
136
136
 
137
- _this.averageCostPerManningUnit = undefined;
137
+ _this.averageCostPerManningUnit = null;
138
138
  /**
139
139
  * The Percentage of Total Tray Equivalents that are Layered for this Hour
140
140
  *
@@ -142,7 +142,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
142
142
  * @public
143
143
  */
144
144
 
145
- _this.layeredTrayPercentage = undefined;
145
+ _this.layeredTrayPercentage = null;
146
146
  /**
147
147
  * The Average Class 1 Percentage for this Hour
148
148
  *
@@ -150,7 +150,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
150
150
  * @public
151
151
  */
152
152
 
153
- _this.averageClass1Percentage = undefined;
153
+ _this.averageClass1Percentage = null;
154
154
  /**
155
155
  * The Number of Quality R600 Samples that were Ideal for this Hour
156
156
  *
@@ -158,7 +158,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
158
158
  * @public
159
159
  */
160
160
 
161
- _this.qualityR600IdealSamplesPercentage = undefined;
161
+ _this.qualityR600IdealSamplesPercentage = null;
162
162
  /**
163
163
  * The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
164
164
  *
@@ -166,7 +166,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
166
166
  * @public
167
167
  */
168
168
 
169
- _this.averageQualityR600IdealSamplesTarget = undefined;
169
+ _this.averageQualityR600IdealSamplesTarget = null;
170
170
  /**
171
171
  * An Array of Custom Quality Data Items for this Hour
172
172
  *
@@ -174,7 +174,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
174
174
  * @public
175
175
  */
176
176
 
177
- _this.customQualityData = undefined;
177
+ _this.customQualityData = [];
178
178
  /**
179
179
  * The Total Number of Bins Tipped for this Hour
180
180
  *
@@ -182,7 +182,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
182
182
  * @public
183
183
  */
184
184
 
185
- _this.totalBinsTipped = undefined;
185
+ _this.totalBinsTipped = 0;
186
186
  /**
187
187
  * The Target Number of Bins to Tip for this Hour
188
188
  *
@@ -190,7 +190,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
190
190
  * @public
191
191
  */
192
192
 
193
- _this.binsTippedTarget = undefined;
193
+ _this.binsTippedTarget = 0;
194
194
  /**
195
195
  * The Total Downtime for this Hour expressed in Seconds
196
196
  *
@@ -198,7 +198,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
198
198
  * @public
199
199
  */
200
200
 
201
- _this.totalDowntime = undefined;
201
+ _this.totalDowntime = 0;
202
202
  /**
203
203
  * The Total Time that could be Utilized for Packing Fruit (excludes Planned Downtime such as Smoko Breaks) for this Hour expressed in Seconds
204
204
  *
@@ -206,7 +206,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
206
206
  * @public
207
207
  */
208
208
 
209
- _this.totalProductionTime = undefined;
209
+ _this.totalProductionTime = 0;
210
210
  /**
211
211
  * The Total Number of Class 1 Tray Equivalents Packed for this Hour
212
212
  *
@@ -214,7 +214,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
214
214
  * @public
215
215
  */
216
216
 
217
- _this.totalClass1Trays = undefined;
217
+ _this.totalClass1Trays = 0;
218
218
  /**
219
219
  * The Total Number of Class 2 Tray Equivalents Packed for this Hour
220
220
  *
@@ -222,7 +222,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
222
222
  * @public
223
223
  */
224
224
 
225
- _this.totalClass2Trays = undefined;
225
+ _this.totalClass2Trays = 0;
226
226
  /**
227
227
  * The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
228
228
  *
@@ -230,7 +230,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
230
230
  * @public
231
231
  */
232
232
 
233
- _this.class1TraysPerHourExcludingDowntimeTarget = undefined;
233
+ _this.class1TraysPerHourExcludingDowntimeTarget = 0;
234
234
  /**
235
235
  * The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
236
236
  *
@@ -238,7 +238,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
238
238
  * @public
239
239
  */
240
240
 
241
- _this.averageClass1TraysPerHourAdjustedTarget = undefined;
241
+ _this.averageClass1TraysPerHourAdjustedTarget = null;
242
242
  /**
243
243
  * The Average Cost per Tray Equivalent for this Hour
244
244
  *
@@ -246,7 +246,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
246
246
  * @public
247
247
  */
248
248
 
249
- _this.averageCostPerTray = undefined;
249
+ _this.averageCostPerTray = null;
250
250
  /**
251
251
  * The Average Cost per Tray Equivalent Target for this Hour
252
252
  *
@@ -254,7 +254,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
254
254
  * @public
255
255
  */
256
256
 
257
- _this.averageCostPerTrayTarget = undefined;
257
+ _this.averageCostPerTrayTarget = null;
258
258
  /**
259
259
  * The Primary Issue Category for this Hourly Entry
260
260
  *
@@ -262,7 +262,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
262
262
  * @public
263
263
  */
264
264
 
265
- _this.primaryIssueCategory = undefined;
265
+ _this.primaryIssueCategory = null;
266
266
  /**
267
267
  * The Primary Issue Tag for this Hourly Entry
268
268
  *
@@ -270,7 +270,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
270
270
  * @public
271
271
  */
272
272
 
273
- _this.primaryIssueTag = undefined;
273
+ _this.primaryIssueTag = null;
274
274
  /**
275
275
  * A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
276
276
  *
@@ -278,7 +278,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
278
278
  * @public
279
279
  */
280
280
 
281
- _this.primaryIssuePercentage = undefined;
281
+ _this.primaryIssuePercentage = null;
282
282
  /**
283
283
  * The Secondary Issue Category for this Hourly Entry
284
284
  *
@@ -286,7 +286,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
286
286
  * @public
287
287
  */
288
288
 
289
- _this.secondaryIssueCategory = undefined;
289
+ _this.secondaryIssueCategory = null;
290
290
  /**
291
291
  * The Secondary Issue Tag for this Hourly Entry
292
292
  *
@@ -294,7 +294,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
294
294
  * @public
295
295
  */
296
296
 
297
- _this.secondaryIssueTag = undefined;
297
+ _this.secondaryIssueTag = null;
298
298
  /**
299
299
  * A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
300
300
  *
@@ -302,7 +302,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
302
302
  * @public
303
303
  */
304
304
 
305
- _this.secondaryIssuePercentage = undefined;
305
+ _this.secondaryIssuePercentage = null;
306
306
  /**
307
307
  * An Optional Focus for the Next Hour
308
308
  *
@@ -310,7 +310,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
310
310
  * @public
311
311
  */
312
312
 
313
- _this.nextHourFocus = undefined;
313
+ _this.nextHourFocus = null;
314
314
  /**
315
315
  * An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
316
316
  *
@@ -318,7 +318,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
318
318
  * @public
319
319
  */
320
320
 
321
- _this.satisfactionRating = undefined;
321
+ _this.satisfactionRating = null;
322
322
  /**
323
323
  * The Status of this Hourly Entry
324
324
  *
@@ -326,7 +326,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
326
326
  * @public
327
327
  */
328
328
 
329
- _this.status = undefined;
329
+ _this.status = "";
330
330
  /**
331
331
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour without Planned Downtime (e.g. Smoko Breaks)
332
332
  *
@@ -334,7 +334,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
334
334
  * @public
335
335
  */
336
336
 
337
- _this.class1TraysPerHourPotential = undefined;
337
+ _this.class1TraysPerHourPotential = 0;
338
338
  /**
339
339
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour with Zero Downtime
340
340
  *
@@ -342,7 +342,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
342
342
  * @public
343
343
  */
344
344
 
345
- _this.class1TraysPerHourExcludingDowntime = undefined;
345
+ _this.class1TraysPerHourExcludingDowntime = 0;
346
346
  /**
347
347
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour without Planned Downtime (e.g. Smoko Breaks)
348
348
  *
@@ -350,7 +350,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
350
350
  * @public
351
351
  */
352
352
 
353
- _this.class1TraysPerManHourPotential = undefined;
353
+ _this.class1TraysPerManHourPotential = null;
354
354
  /**
355
355
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour with Zero Downtime
356
356
  *
@@ -358,7 +358,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
358
358
  * @public
359
359
  */
360
360
 
361
- _this.class1TraysPerManHourExcludingDowntime = undefined;
361
+ _this.class1TraysPerManHourExcludingDowntime = null;
362
362
  /**
363
363
  * The Manning Percentage based on the Average Target for this Hour
364
364
  *
@@ -366,7 +366,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
366
366
  * @public
367
367
  */
368
368
 
369
- _this.manningPercentage = undefined;
369
+ _this.manningPercentage = null;
370
370
  /**
371
371
  * The Total Number of People working for this Hour
372
372
  *
@@ -374,7 +374,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
374
374
  * @public
375
375
  */
376
376
 
377
- _this.totalManning = undefined;
377
+ _this.totalManning = null;
378
378
  /**
379
379
  * The Percentage of Production Time without Downtime for this Hour
380
380
  *
@@ -382,7 +382,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
382
382
  * @public
383
383
  */
384
384
 
385
- _this.uptimePercentage = undefined;
385
+ _this.uptimePercentage = 0;
386
386
  /**
387
387
  * The Percentage of Downtime for this Hour
388
388
  *
@@ -390,7 +390,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
390
390
  * @public
391
391
  */
392
392
 
393
- _this.downtimePercentage = undefined;
393
+ _this.downtimePercentage = 0;
394
394
  /**
395
395
  * Whether the Shift Hourly Entry has been deleted
396
396
  *
@@ -398,7 +398,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
398
398
  * @public
399
399
  */
400
400
 
401
- _this.deleted = undefined;
401
+ _this.deleted = false;
402
402
  /**
403
403
  * When the Shift Hourly Entry was last updated
404
404
  *
@@ -406,7 +406,7 @@ var ShiftHourlyEntryModel = /*#__PURE__*/function (_BaseModel) {
406
406
  * @public
407
407
  */
408
408
 
409
- _this.updateTimestamp = undefined;
409
+ _this.updateTimestamp = new Date();
410
410
  /**
411
411
  * The Site ID associated with this Shift Hourly Entry
412
412
  *