@ricado/api-client 2.1.1 → 2.3.1

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 (118) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Packhouse/Site/BinTipBinController.js +622 -0
  3. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
  4. package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +657 -0
  5. package/lib/Controllers/Packhouse/Site/PackingLineController.js +29 -1
  6. package/lib/Controllers/Packhouse/Site/PackrunController.js +42 -0
  7. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
  8. package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +661 -0
  9. package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +628 -0
  10. package/lib/Controllers/Packhouse/Site/index.js +12 -0
  11. package/lib/DataItems/PointValueItem.js +3 -3
  12. package/lib/Models/AccountPolicyModel.js +7 -7
  13. package/lib/Models/ApiAccountModel.js +7 -7
  14. package/lib/Models/CompanyModel.js +5 -5
  15. package/lib/Models/FirebaseTokenModel.js +8 -8
  16. package/lib/Models/Packhouse/Site/BinTipBinModel.js +367 -0
  17. package/lib/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
  18. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
  19. package/lib/Models/Packhouse/Site/CompacSizerModel.js +15 -15
  20. package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
  21. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
  22. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
  23. package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
  24. package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
  25. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
  26. package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +481 -0
  27. package/lib/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
  28. package/lib/Models/Packhouse/Site/PackTypeModel.js +8 -8
  29. package/lib/Models/Packhouse/Site/PackingLineModel.js +583 -16
  30. package/lib/Models/Packhouse/Site/PackrunModel.js +81 -15
  31. package/lib/Models/Packhouse/Site/RejectBinModel.js +9 -9
  32. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
  33. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
  34. package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
  35. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +204 -38
  36. package/lib/Models/Packhouse/Site/ShiftModel.js +26 -19
  37. package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +599 -0
  38. package/lib/Models/Packhouse/Site/ShiftTaskModel.js +373 -0
  39. package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
  40. package/lib/Models/Packhouse/Site/VarietyModel.js +8 -8
  41. package/lib/Models/Packhouse/Site/index.js +12 -0
  42. package/lib/Models/RTUModel.js +6 -6
  43. package/lib/Models/RTUPluginModel.js +5 -5
  44. package/lib/Models/Site/AlarmGroupModel.js +7 -7
  45. package/lib/Models/Site/AlarmModel.js +17 -17
  46. package/lib/Models/Site/DefinitionModel.js +6 -6
  47. package/lib/Models/Site/PermanentObjectDataModel.js +8 -8
  48. package/lib/Models/Site/PermanentObjectModel.js +7 -7
  49. package/lib/Models/Site/PointModel.js +11 -11
  50. package/lib/Models/Site/TemporaryObjectModel.js +6 -6
  51. package/lib/Models/SiteModel.js +6 -6
  52. package/lib/Models/TokenModel.js +10 -10
  53. package/lib/Models/UserAccountActionTokenModel.js +11 -11
  54. package/lib/Models/UserAccountModel.js +10 -10
  55. package/lib/PackageVersion.js +1 -1
  56. package/lib/Points.js +22 -12
  57. package/lib/WebSocketHelper.js +29 -13
  58. package/lib/index.d.ts +2473 -348
  59. package/lib/index.js +3 -3
  60. package/package.json +1 -1
  61. package/src/Controllers/Packhouse/Site/BinTipBinController.js +665 -0
  62. package/src/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
  63. package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +700 -0
  64. package/src/Controllers/Packhouse/Site/PackingLineController.js +29 -1
  65. package/src/Controllers/Packhouse/Site/PackrunController.js +52 -0
  66. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
  67. package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +704 -0
  68. package/src/Controllers/Packhouse/Site/ShiftTaskController.js +671 -0
  69. package/src/Controllers/Packhouse/Site/index.js +8 -0
  70. package/src/DataItems/PointValueItem.js +3 -3
  71. package/src/Models/AccountPolicyModel.js +7 -7
  72. package/src/Models/ApiAccountModel.js +7 -7
  73. package/src/Models/CompanyModel.js +5 -5
  74. package/src/Models/FirebaseTokenModel.js +8 -8
  75. package/src/Models/Packhouse/Site/BinTipBinModel.js +365 -0
  76. package/src/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
  77. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
  78. package/src/Models/Packhouse/Site/CompacSizerModel.js +15 -15
  79. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
  80. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
  81. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
  82. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
  83. package/src/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
  84. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
  85. package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +523 -0
  86. package/src/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
  87. package/src/Models/Packhouse/Site/PackTypeModel.js +8 -8
  88. package/src/Models/Packhouse/Site/PackingLineModel.js +770 -16
  89. package/src/Models/Packhouse/Site/PackrunModel.js +90 -15
  90. package/src/Models/Packhouse/Site/RejectBinModel.js +9 -9
  91. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
  92. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
  93. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
  94. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +229 -38
  95. package/src/Models/Packhouse/Site/ShiftModel.js +29 -19
  96. package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +664 -0
  97. package/src/Models/Packhouse/Site/ShiftTaskModel.js +369 -0
  98. package/src/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
  99. package/src/Models/Packhouse/Site/VarietyModel.js +8 -8
  100. package/src/Models/Packhouse/Site/index.js +8 -0
  101. package/src/Models/RTUModel.js +6 -6
  102. package/src/Models/RTUPluginModel.js +5 -5
  103. package/src/Models/Site/AlarmGroupModel.js +7 -7
  104. package/src/Models/Site/AlarmModel.js +17 -17
  105. package/src/Models/Site/DefinitionModel.js +6 -6
  106. package/src/Models/Site/PermanentObjectDataModel.js +8 -8
  107. package/src/Models/Site/PermanentObjectModel.js +7 -7
  108. package/src/Models/Site/PointModel.js +11 -11
  109. package/src/Models/Site/TemporaryObjectModel.js +6 -6
  110. package/src/Models/SiteModel.js +6 -6
  111. package/src/Models/TokenModel.js +10 -10
  112. package/src/Models/UserAccountActionTokenModel.js +11 -11
  113. package/src/Models/UserAccountModel.js +10 -10
  114. package/src/PackageVersion.js +1 -1
  115. package/src/Points.js +24 -12
  116. package/src/WebSocketHelper.js +34 -13
  117. package/src/index.js +3 -3
  118. package/types/tslint.json +2 -1
@@ -62,7 +62,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Compac Sizer ID this Batch is associated with
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.compacSizerId = undefined;
73
+ _this.compacSizerId = "";
74
74
  /**
75
75
  * The Numeric Compac Batch ID
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.batchId = undefined;
81
+ _this.batchId = "";
82
82
  /**
83
83
  * When this Batch was Created
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerBatchModel = /*#__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 ID associated with this Batch
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.packrunId = undefined;
97
+ _this.packrunId = null;
98
98
  /**
99
99
  * The Compac Sizer Batch Data
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.batch = undefined;
105
+ _this.batch = {};
106
106
  /**
107
107
  * Whether the Compac Sizer Batch has been deleted
108
108
  *
@@ -110,7 +110,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.deleted = undefined;
113
+ _this.deleted = false;
114
114
  /**
115
115
  * When the Compac Sizer Batch was last updated
116
116
  *
@@ -118,7 +118,7 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.updateTimestamp = undefined;
121
+ _this.updateTimestamp = new Date();
122
122
  /**
123
123
  * The Site ID associated with this Compac Sizer Batch
124
124
  *
@@ -62,7 +62,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The RTU this Compac Sizer belongs to
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.rtuId = undefined;
73
+ _this.rtuId = null;
74
74
  /**
75
75
  * The Compac Sizer Name
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.name = undefined;
81
+ _this.name = "";
82
82
  /**
83
83
  * The Lanes defined for this Compac Sizer
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.lanes = undefined;
89
+ _this.lanes = [];
90
90
  /**
91
91
  * The Points used by this Compac Sizer
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.points = undefined;
97
+ _this.points = {};
98
98
  /**
99
99
  * The Outlets defined for this Compac Sizer
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.outlets = undefined;
105
+ _this.outlets = [];
106
106
  /**
107
107
  * The Sizer Type
108
108
  *
@@ -110,7 +110,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.sizerType = undefined;
113
+ _this.sizerType = "";
114
114
  /**
115
115
  * The Auto Create Batch Delay in Seconds for this Compac Sizer
116
116
  *
@@ -118,7 +118,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.autoCreateBatchDelay = undefined;
121
+ _this.autoCreateBatchDelay = 0;
122
122
  /**
123
123
  * The Fruit Sizes defined and handled by this Compac Sizer
124
124
  *
@@ -126,15 +126,15 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.fruitSizes = undefined;
129
+ _this.fruitSizes = [];
130
130
  /**
131
- * The Packing Line ID this Compac Sizer belongs to
131
+ * The Packing Line ID that manages this Compac Sizer
132
132
  *
133
133
  * @type {string}
134
134
  * @public
135
135
  */
136
136
 
137
- _this.packingLineId = undefined;
137
+ _this.packingLineId = "";
138
138
  /**
139
139
  * The FreshPack Integration Configuration for this Compac Sizer
140
140
  *
@@ -142,7 +142,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
142
142
  * @public
143
143
  */
144
144
 
145
- _this.freshPackIntegration = undefined;
145
+ _this.freshPackIntegration = null;
146
146
  /**
147
147
  * An Array of Sources that deliver Fruit to this Compac Sizer
148
148
  *
@@ -150,7 +150,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
150
150
  * @public
151
151
  */
152
152
 
153
- _this.sources = undefined;
153
+ _this.sources = [];
154
154
  /**
155
155
  * Whether the Compac Sizer has been deleted
156
156
  *
@@ -158,7 +158,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
158
158
  * @public
159
159
  */
160
160
 
161
- _this.deleted = undefined;
161
+ _this.deleted = false;
162
162
  /**
163
163
  * When the Compac Sizer was last updated
164
164
  *
@@ -166,7 +166,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
166
166
  * @public
167
167
  */
168
168
 
169
- _this.updateTimestamp = undefined;
169
+ _this.updateTimestamp = new Date();
170
170
  /**
171
171
  * The Site ID associated with this Compac Sizer
172
172
  *
@@ -62,7 +62,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Compac Sizer ID this Outlet Change is associated with
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.compacSizerId = undefined;
73
+ _this.compacSizerId = "";
74
74
  /**
75
75
  * The Sizer Outlet Number this Outlet Change is associated with
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.outletNumber = undefined;
81
+ _this.outletNumber = "";
82
82
  /**
83
83
  * When this Outlet Change occurred
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The ID of the Previous Product that was active on the Outlet
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.previousProductId = undefined;
97
+ _this.previousProductId = null;
98
98
  /**
99
99
  * The Name of the Previous Product that was active on the Outlet
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.previousProductName = undefined;
105
+ _this.previousProductName = null;
106
106
  /**
107
107
  * The ID of the New Product that is now active on the Outlet
108
108
  *
@@ -110,7 +110,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.newProductId = undefined;
113
+ _this.newProductId = "";
114
114
  /**
115
115
  * The Name of the New Product that is now active on the Outlet
116
116
  *
@@ -118,7 +118,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.newProductName = undefined;
121
+ _this.newProductName = "";
122
122
  /**
123
123
  * Whether the Compac Sizer Outlet Product Change has been deleted
124
124
  *
@@ -126,7 +126,7 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.deleted = undefined;
129
+ _this.deleted = false;
130
130
  /**
131
131
  * When the Compac Sizer Outlet Product Change was last updated
132
132
  *
@@ -134,7 +134,7 @@ var CompacSizerOutletProductChangeModel = /*#__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 Compac Sizer Outlet Product Change
140
140
  *
@@ -62,7 +62,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Compac Sizer ID this Outlet Type Change is associated with
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.compacSizerId = undefined;
73
+ _this.compacSizerId = "";
74
74
  /**
75
75
  * The Sizer Outlet Number this Outlet Type Change is associated with
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.outletNumber = undefined;
81
+ _this.outletNumber = "";
82
82
  /**
83
83
  * When this Outlet Type Change occurred
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The ID of the Previous Type that was active on the Outlet
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.previousTypeId = undefined;
97
+ _this.previousTypeId = null;
98
98
  /**
99
99
  * The ID of the New Type that is now active on the Outlet
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.newTypeId = undefined;
105
+ _this.newTypeId = "";
106
106
  /**
107
107
  * Whether the Compac Sizer Outlet Type Change has been deleted
108
108
  *
@@ -110,7 +110,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.deleted = undefined;
113
+ _this.deleted = false;
114
114
  /**
115
115
  * When the Compac Sizer Outlet Type Change was last updated
116
116
  *
@@ -118,7 +118,7 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.updateTimestamp = undefined;
121
+ _this.updateTimestamp = new Date();
122
122
  /**
123
123
  * The Site ID associated with this Compac Sizer Outlet Type Change
124
124
  *
@@ -62,7 +62,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Name for this Dynamic Outlet Type
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.name = undefined;
73
+ _this.name = "";
74
74
  /**
75
75
  * The Generic Outlet Type
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.type = undefined;
81
+ _this.type = "";
82
82
  /**
83
83
  * An Optional Description for this Dynamic Outlet Type
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.description = undefined;
89
+ _this.description = "";
90
90
  /**
91
91
  * Whether the Compac Sizer Outlet Type has been deleted
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.deleted = undefined;
97
+ _this.deleted = false;
98
98
  /**
99
99
  * When the Compac Sizer Outlet Type was last updated
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.updateTimestamp = undefined;
105
+ _this.updateTimestamp = new Date();
106
106
  /**
107
107
  * The Site ID associated with this Compac Sizer Outlet Type
108
108
  *
@@ -62,7 +62,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
62
62
  * @public
63
63
  */
64
64
 
65
- _this.id = undefined;
65
+ _this.id = "";
66
66
  /**
67
67
  * The Compac Sizer ID this Summary is associated with
68
68
  *
@@ -70,7 +70,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.compacSizerId = undefined;
73
+ _this.compacSizerId = "";
74
74
  /**
75
75
  * The Packrun ID this Summary is associated with
76
76
  *
@@ -78,7 +78,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.packrunId = undefined;
81
+ _this.packrunId = "";
82
82
  /**
83
83
  * When this Summary was Created
84
84
  *
@@ -86,7 +86,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The Time Batch this Summary is associated with
92
92
  *
@@ -94,7 +94,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.timeBatchId = undefined;
97
+ _this.timeBatchId = null;
98
98
  /**
99
99
  * An Array of Packrun Summary Data Objects for each Outlet
100
100
  *
@@ -102,7 +102,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.outletSummaries = undefined;
105
+ _this.outletSummaries = [];
106
106
  /**
107
107
  * An Array that contains the Products initially Assigned to each Outlet
108
108
  *
@@ -110,7 +110,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.initialOutletProducts = undefined;
113
+ _this.initialOutletProducts = [];
114
114
  /**
115
115
  * An Array of Outlet Product Changes
116
116
  *
@@ -118,7 +118,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.outletProductChanges = undefined;
121
+ _this.outletProductChanges = [];
122
122
  /**
123
123
  * An Array that contains the Types initially configured for each Outlet
124
124
  *
@@ -126,7 +126,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.initialOutletTypes = undefined;
129
+ _this.initialOutletTypes = [];
130
130
  /**
131
131
  * An Array of Outlet Type Changes. Only applies to Outlets configured as *Dynamic*
132
132
  *
@@ -134,7 +134,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
134
134
  * @public
135
135
  */
136
136
 
137
- _this.outletTypeChanges = undefined;
137
+ _this.outletTypeChanges = [];
138
138
  /**
139
139
  * Whether the Compac Sizer Packrun Summary has been deleted
140
140
  *
@@ -142,7 +142,7 @@ var CompacSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
142
142
  * @public
143
143
  */
144
144
 
145
- _this.deleted = undefined;
145
+ _this.deleted = false;
146
146
  /**
147
147
  * When the Compac Sizer Packrun Summary was last updated
148
148
  *
@@ -150,7 +150,7 @@ var CompacSizerPackrunSummaryModel = /*#__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 Compac Sizer Packrun Summary
156
156
  *
@@ -62,7 +62,7 @@ var DowntimeEventModel = /*#__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 Downtime Event is associated with
68
68
  *
@@ -70,7 +70,7 @@ var DowntimeEventModel = /*#__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 Downtime Event is asssociated with
76
76
  *
@@ -78,7 +78,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.shiftId = undefined;
81
+ _this.shiftId = "";
82
82
  /**
83
83
  * When this Downtime Event was Created
84
84
  *
@@ -86,7 +86,7 @@ var DowntimeEventModel = /*#__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 Downtime Event Started
92
92
  *
@@ -94,7 +94,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.startTimestamp = undefined;
97
+ _this.startTimestamp = new Date();
98
98
  /**
99
99
  * When this Downtime Event Ended
100
100
  *
@@ -102,7 +102,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.endTimestamp = undefined;
105
+ _this.endTimestamp = null;
106
106
  /**
107
107
  * The Reason Category for this Downtime Event
108
108
  *
@@ -110,7 +110,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.reasonCategory = undefined;
113
+ _this.reasonCategory = null;
114
114
  /**
115
115
  * The Reason Tag for this Downtime Event
116
116
  *
@@ -118,7 +118,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.reasonTag = undefined;
121
+ _this.reasonTag = null;
122
122
  /**
123
123
  * An Optional Summary of the Action taken to Remedy this Downtime Event
124
124
  *
@@ -126,7 +126,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
126
126
  * @public
127
127
  */
128
128
 
129
- _this.remedyAction = undefined;
129
+ _this.remedyAction = null;
130
130
  /**
131
131
  * An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
132
132
  *
@@ -134,7 +134,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
134
134
  * @public
135
135
  */
136
136
 
137
- _this.avoidableRating = undefined;
137
+ _this.avoidableRating = null;
138
138
  /**
139
139
  * The Source which Created this Downtime Event
140
140
  *
@@ -142,7 +142,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
142
142
  * @public
143
143
  */
144
144
 
145
- _this.source = undefined;
145
+ _this.source = "";
146
146
  /**
147
147
  * The Status of this Downtime Event
148
148
  *
@@ -150,7 +150,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
150
150
  * @public
151
151
  */
152
152
 
153
- _this.status = undefined;
153
+ _this.status = "";
154
154
  /**
155
155
  * Whether the Downtime Event has been deleted
156
156
  *
@@ -158,7 +158,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
158
158
  * @public
159
159
  */
160
160
 
161
- _this.deleted = undefined;
161
+ _this.deleted = false;
162
162
  /**
163
163
  * When the Downtime Event was last updated
164
164
  *
@@ -166,7 +166,7 @@ var DowntimeEventModel = /*#__PURE__*/function (_BaseModel) {
166
166
  * @public
167
167
  */
168
168
 
169
- _this.updateTimestamp = undefined;
169
+ _this.updateTimestamp = new Date();
170
170
  /**
171
171
  * The Site ID associated with this Downtime Event
172
172
  *
@@ -62,7 +62,7 @@ var FreshPackPackrunSummaryModel = /*#__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 Summary is associated with
68
68
  *
@@ -70,7 +70,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
70
70
  * @public
71
71
  */
72
72
 
73
- _this.packingLineId = undefined;
73
+ _this.packingLineId = "";
74
74
  /**
75
75
  * The Packrun ID this Summary is associated with
76
76
  *
@@ -78,7 +78,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
78
78
  * @public
79
79
  */
80
80
 
81
- _this.packrunId = undefined;
81
+ _this.packrunId = "";
82
82
  /**
83
83
  * When this Summary was Created
84
84
  *
@@ -86,7 +86,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
86
86
  * @public
87
87
  */
88
88
 
89
- _this.createdTimestamp = undefined;
89
+ _this.createdTimestamp = new Date();
90
90
  /**
91
91
  * The Time Batch this Summary is associated with
92
92
  *
@@ -94,7 +94,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
94
94
  * @public
95
95
  */
96
96
 
97
- _this.timeBatchId = undefined;
97
+ _this.timeBatchId = null;
98
98
  /**
99
99
  * An Array of Tray Summary Data Objects for all Sizes and Class Types
100
100
  *
@@ -102,7 +102,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
102
102
  * @public
103
103
  */
104
104
 
105
- _this.traySummaries = undefined;
105
+ _this.traySummaries = [];
106
106
  /**
107
107
  * Whether the FreshPack Packrun Summary has been deleted
108
108
  *
@@ -110,7 +110,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
110
110
  * @public
111
111
  */
112
112
 
113
- _this.deleted = undefined;
113
+ _this.deleted = false;
114
114
  /**
115
115
  * When the FreshPack Packrun Summary was last updated
116
116
  *
@@ -118,7 +118,7 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
118
118
  * @public
119
119
  */
120
120
 
121
- _this.updateTimestamp = undefined;
121
+ _this.updateTimestamp = new Date();
122
122
  /**
123
123
  * The Site ID associated with this FreshPack Packrun Summary
124
124
  *