@ricado/api-client 2.3.0 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/BinTipBinController.js +267 -0
- package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +267 -0
- package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +4 -0
- package/lib/Controllers/Packhouse/Site/PackrunController.js +269 -0
- package/lib/Controllers/Packhouse/Site/RejectBinController.js +267 -0
- package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftController.js +271 -0
- package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +268 -0
- package/lib/Controllers/Site/PermanentObjectDataController.js +267 -0
- package/lib/Models/Packhouse/Site/PackingLineModel.js +44 -0
- package/lib/Models/Packhouse/Site/ShiftModel.js +44 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +396 -0
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBinController.js +355 -0
- package/src/Controllers/Packhouse/Site/BinTipWeightController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/DowntimeEventController.js +355 -0
- package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -0
- package/src/Controllers/Packhouse/Site/PackrunController.js +357 -0
- package/src/Controllers/Packhouse/Site/RejectBinController.js +355 -0
- package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftController.js +359 -0
- package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftTaskController.js +356 -0
- package/src/Controllers/Site/PermanentObjectDataController.js +355 -0
- package/src/Models/Packhouse/Site/PackingLineModel.js +50 -0
- package/src/Models/Packhouse/Site/ShiftModel.js +50 -0
- package/src/PackageVersion.js +1 -1
|
@@ -159,6 +159,22 @@ var ShiftModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
159
159
|
*/
|
|
160
160
|
|
|
161
161
|
_this.satisfactionRating = null;
|
|
162
|
+
/**
|
|
163
|
+
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
164
|
+
*
|
|
165
|
+
* @type {?number}
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
_this.keyCelebration = null;
|
|
170
|
+
/**
|
|
171
|
+
* An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
172
|
+
*
|
|
173
|
+
* @type {?string}
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
_this.keyChallenge = null;
|
|
162
178
|
/**
|
|
163
179
|
* *DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
164
180
|
*
|
|
@@ -419,6 +435,34 @@ var ShiftModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
419
435
|
}();
|
|
420
436
|
}
|
|
421
437
|
|
|
438
|
+
if ('keyCelebration' in jsonObject) {
|
|
439
|
+
model.keyCelebration = function () {
|
|
440
|
+
if (jsonObject['keyCelebration'] === null) {
|
|
441
|
+
return null;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
if (typeof jsonObject['keyCelebration'] !== 'number') {
|
|
445
|
+
return Number.isInteger(Number(jsonObject['keyCelebration'])) ? Number(jsonObject['keyCelebration']) : Math.floor(Number(jsonObject['keyCelebration']));
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
return Number.isInteger(jsonObject['keyCelebration']) ? jsonObject['keyCelebration'] : Math.floor(jsonObject['keyCelebration']);
|
|
449
|
+
}();
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if ('keyChallenge' in jsonObject) {
|
|
453
|
+
model.keyChallenge = function () {
|
|
454
|
+
if (jsonObject['keyChallenge'] === null) {
|
|
455
|
+
return null;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (typeof jsonObject['keyChallenge'] !== 'string') {
|
|
459
|
+
return String(jsonObject['keyChallenge']);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
return jsonObject['keyChallenge'];
|
|
463
|
+
}();
|
|
464
|
+
}
|
|
465
|
+
|
|
422
466
|
if ('handoverNotes' in jsonObject) {
|
|
423
467
|
model.handoverNotes = function () {
|
|
424
468
|
if (Array.isArray(jsonObject['handoverNotes']) !== true) {
|
package/lib/PackageVersion.js
CHANGED