@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.
Files changed (47) 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 +269 -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 +271 -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 +268 -0
  20. package/lib/Controllers/Site/PermanentObjectDataController.js +267 -0
  21. package/lib/Models/Packhouse/Site/PackingLineModel.js +44 -0
  22. package/lib/Models/Packhouse/Site/ShiftModel.js +44 -0
  23. package/lib/PackageVersion.js +1 -1
  24. package/lib/index.d.ts +396 -0
  25. package/package.json +1 -1
  26. package/src/Controllers/Packhouse/Site/BinTipBinController.js +355 -0
  27. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +355 -0
  28. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +355 -0
  29. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +355 -0
  30. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +355 -0
  31. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +355 -0
  32. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +355 -0
  33. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +355 -0
  34. package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +355 -0
  35. package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -0
  36. package/src/Controllers/Packhouse/Site/PackrunController.js +357 -0
  37. package/src/Controllers/Packhouse/Site/RejectBinController.js +355 -0
  38. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +355 -0
  39. package/src/Controllers/Packhouse/Site/ShiftController.js +359 -0
  40. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +355 -0
  41. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +355 -0
  42. package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +355 -0
  43. package/src/Controllers/Packhouse/Site/ShiftTaskController.js +356 -0
  44. package/src/Controllers/Site/PermanentObjectDataController.js +355 -0
  45. package/src/Models/Packhouse/Site/PackingLineModel.js +50 -0
  46. package/src/Models/Packhouse/Site/ShiftModel.js +50 -0
  47. 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) {
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = void 0;
7
7
  // generated by genversion
8
- var version = '2.3.0';
8
+ var version = '2.3.3';
9
9
  exports.version = version;