@ricado/api-client 2.3.1 → 2.3.4

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 (43) 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/PackrunController.js +269 -0
  12. package/lib/Controllers/Packhouse/Site/RejectBinController.js +267 -0
  13. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +267 -0
  14. package/lib/Controllers/Packhouse/Site/ShiftController.js +271 -0
  15. package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +267 -0
  16. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +267 -0
  17. package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +267 -0
  18. package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +268 -0
  19. package/lib/Controllers/Site/PermanentObjectDataController.js +267 -0
  20. package/lib/Models/Packhouse/Site/ShiftModel.js +44 -0
  21. package/lib/PackageVersion.js +1 -1
  22. package/lib/index.d.ts +366 -0
  23. package/package.json +1 -1
  24. package/src/Controllers/Packhouse/Site/BinTipBinController.js +355 -0
  25. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +355 -0
  26. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +355 -0
  27. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +355 -0
  28. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +355 -0
  29. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +355 -0
  30. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +355 -0
  31. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +355 -0
  32. package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +355 -0
  33. package/src/Controllers/Packhouse/Site/PackrunController.js +357 -0
  34. package/src/Controllers/Packhouse/Site/RejectBinController.js +355 -0
  35. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +355 -0
  36. package/src/Controllers/Packhouse/Site/ShiftController.js +359 -0
  37. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +355 -0
  38. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +355 -0
  39. package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +355 -0
  40. package/src/Controllers/Packhouse/Site/ShiftTaskController.js +356 -0
  41. package/src/Controllers/Site/PermanentObjectDataController.js +355 -0
  42. package/src/Models/Packhouse/Site/ShiftModel.js +50 -0
  43. package/src/PackageVersion.js +1 -1
@@ -139,6 +139,70 @@ var ShiftTaskController = /*#__PURE__*/function () {
139
139
  resultItemObject.id = "";
140
140
  }
141
141
 
142
+ if (_typeof(resultItem) === 'object' && 'userAccount' in resultItem) {
143
+ resultItemObject.userAccount = function () {
144
+ var userAccountObject = {};
145
+
146
+ if (_typeof(resultItem.userAccount) === 'object' && 'id' in resultItem.userAccount) {
147
+ userAccountObject.id = function () {
148
+ if (resultItem.userAccount.id === null) {
149
+ return null;
150
+ }
151
+
152
+ if (typeof resultItem.userAccount.id !== 'string') {
153
+ return String(resultItem.userAccount.id);
154
+ }
155
+
156
+ return resultItem.userAccount.id;
157
+ }();
158
+ } else {
159
+ userAccountObject.id = null;
160
+ }
161
+
162
+ if (_typeof(resultItem.userAccount) === 'object' && 'firstName' in resultItem.userAccount) {
163
+ userAccountObject.firstName = function () {
164
+ if (resultItem.userAccount.firstName === null) {
165
+ return null;
166
+ }
167
+
168
+ if (typeof resultItem.userAccount.firstName !== 'string') {
169
+ return String(resultItem.userAccount.firstName);
170
+ }
171
+
172
+ return resultItem.userAccount.firstName;
173
+ }();
174
+ } else {
175
+ userAccountObject.firstName = null;
176
+ }
177
+
178
+ if (_typeof(resultItem.userAccount) === 'object' && 'lastName' in resultItem.userAccount) {
179
+ userAccountObject.lastName = function () {
180
+ if (resultItem.userAccount.lastName === null) {
181
+ return null;
182
+ }
183
+
184
+ if (typeof resultItem.userAccount.lastName !== 'string') {
185
+ return String(resultItem.userAccount.lastName);
186
+ }
187
+
188
+ return resultItem.userAccount.lastName;
189
+ }();
190
+ } else {
191
+ userAccountObject.lastName = null;
192
+ }
193
+
194
+ return userAccountObject;
195
+ }();
196
+ } else {
197
+ resultItemObject.userAccount = function () {
198
+ var userAccountDefaultValue = {};
199
+ userAccountDefaultValue.id = null;
200
+ userAccountDefaultValue.firstName = null;
201
+ userAccountDefaultValue.lastName = null;
202
+ return userAccountDefaultValue;
203
+ }();
204
+ }
205
+
142
206
  if (_typeof(resultItem) === 'object' && 'content' in resultItem) {
143
207
  resultItemObject.content = function () {
144
208
  if (resultItem.content === null) {
@@ -233,6 +297,70 @@ var ShiftTaskController = /*#__PURE__*/function () {
233
297
  resultObject.id = "";
234
298
  }
235
299
 
300
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
301
+ resultObject.userAccount = function () {
302
+ var userAccountObject = {};
303
+
304
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
305
+ userAccountObject.id = function () {
306
+ if (result.userAccount.id === null) {
307
+ return null;
308
+ }
309
+
310
+ if (typeof result.userAccount.id !== 'string') {
311
+ return String(result.userAccount.id);
312
+ }
313
+
314
+ return result.userAccount.id;
315
+ }();
316
+ } else {
317
+ userAccountObject.id = null;
318
+ }
319
+
320
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
321
+ userAccountObject.firstName = function () {
322
+ if (result.userAccount.firstName === null) {
323
+ return null;
324
+ }
325
+
326
+ if (typeof result.userAccount.firstName !== 'string') {
327
+ return String(result.userAccount.firstName);
328
+ }
329
+
330
+ return result.userAccount.firstName;
331
+ }();
332
+ } else {
333
+ userAccountObject.firstName = null;
334
+ }
335
+
336
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
337
+ userAccountObject.lastName = function () {
338
+ if (result.userAccount.lastName === null) {
339
+ return null;
340
+ }
341
+
342
+ if (typeof result.userAccount.lastName !== 'string') {
343
+ return String(result.userAccount.lastName);
344
+ }
345
+
346
+ return result.userAccount.lastName;
347
+ }();
348
+ } else {
349
+ userAccountObject.lastName = null;
350
+ }
351
+
352
+ return userAccountObject;
353
+ }();
354
+ } else {
355
+ resultObject.userAccount = function () {
356
+ var userAccountDefaultValue = {};
357
+ userAccountDefaultValue.id = null;
358
+ userAccountDefaultValue.firstName = null;
359
+ userAccountDefaultValue.lastName = null;
360
+ return userAccountDefaultValue;
361
+ }();
362
+ }
363
+
236
364
  if (_typeof(result) === 'object' && 'content' in result) {
237
365
  resultObject.content = function () {
238
366
  if (result.content === null) {
@@ -323,6 +451,70 @@ var ShiftTaskController = /*#__PURE__*/function () {
323
451
  resultObject.id = "";
324
452
  }
325
453
 
454
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
455
+ resultObject.userAccount = function () {
456
+ var userAccountObject = {};
457
+
458
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
459
+ userAccountObject.id = function () {
460
+ if (result.userAccount.id === null) {
461
+ return null;
462
+ }
463
+
464
+ if (typeof result.userAccount.id !== 'string') {
465
+ return String(result.userAccount.id);
466
+ }
467
+
468
+ return result.userAccount.id;
469
+ }();
470
+ } else {
471
+ userAccountObject.id = null;
472
+ }
473
+
474
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
475
+ userAccountObject.firstName = function () {
476
+ if (result.userAccount.firstName === null) {
477
+ return null;
478
+ }
479
+
480
+ if (typeof result.userAccount.firstName !== 'string') {
481
+ return String(result.userAccount.firstName);
482
+ }
483
+
484
+ return result.userAccount.firstName;
485
+ }();
486
+ } else {
487
+ userAccountObject.firstName = null;
488
+ }
489
+
490
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
491
+ userAccountObject.lastName = function () {
492
+ if (result.userAccount.lastName === null) {
493
+ return null;
494
+ }
495
+
496
+ if (typeof result.userAccount.lastName !== 'string') {
497
+ return String(result.userAccount.lastName);
498
+ }
499
+
500
+ return result.userAccount.lastName;
501
+ }();
502
+ } else {
503
+ userAccountObject.lastName = null;
504
+ }
505
+
506
+ return userAccountObject;
507
+ }();
508
+ } else {
509
+ resultObject.userAccount = function () {
510
+ var userAccountDefaultValue = {};
511
+ userAccountDefaultValue.id = null;
512
+ userAccountDefaultValue.firstName = null;
513
+ userAccountDefaultValue.lastName = null;
514
+ return userAccountDefaultValue;
515
+ }();
516
+ }
517
+
326
518
  if (_typeof(result) === 'object' && 'content' in result) {
327
519
  resultObject.content = function () {
328
520
  if (result.content === null) {
@@ -416,6 +608,70 @@ var ShiftTaskController = /*#__PURE__*/function () {
416
608
  resultObject.id = "";
417
609
  }
418
610
 
611
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
612
+ resultObject.userAccount = function () {
613
+ var userAccountObject = {};
614
+
615
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
616
+ userAccountObject.id = function () {
617
+ if (result.userAccount.id === null) {
618
+ return null;
619
+ }
620
+
621
+ if (typeof result.userAccount.id !== 'string') {
622
+ return String(result.userAccount.id);
623
+ }
624
+
625
+ return result.userAccount.id;
626
+ }();
627
+ } else {
628
+ userAccountObject.id = null;
629
+ }
630
+
631
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
632
+ userAccountObject.firstName = function () {
633
+ if (result.userAccount.firstName === null) {
634
+ return null;
635
+ }
636
+
637
+ if (typeof result.userAccount.firstName !== 'string') {
638
+ return String(result.userAccount.firstName);
639
+ }
640
+
641
+ return result.userAccount.firstName;
642
+ }();
643
+ } else {
644
+ userAccountObject.firstName = null;
645
+ }
646
+
647
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
648
+ userAccountObject.lastName = function () {
649
+ if (result.userAccount.lastName === null) {
650
+ return null;
651
+ }
652
+
653
+ if (typeof result.userAccount.lastName !== 'string') {
654
+ return String(result.userAccount.lastName);
655
+ }
656
+
657
+ return result.userAccount.lastName;
658
+ }();
659
+ } else {
660
+ userAccountObject.lastName = null;
661
+ }
662
+
663
+ return userAccountObject;
664
+ }();
665
+ } else {
666
+ resultObject.userAccount = function () {
667
+ var userAccountDefaultValue = {};
668
+ userAccountDefaultValue.id = null;
669
+ userAccountDefaultValue.firstName = null;
670
+ userAccountDefaultValue.lastName = null;
671
+ return userAccountDefaultValue;
672
+ }();
673
+ }
674
+
419
675
  if (_typeof(result) === 'object' && 'content' in result) {
420
676
  resultObject.content = function () {
421
677
  if (result.content === null) {
@@ -568,6 +824,7 @@ var _default = ShiftTaskController;
568
824
  * @typedef {Object} ShiftTaskController.GetAllQueryParameters
569
825
  * @property {string} [packingLineId] The Packing Line ID this Task is associated with
570
826
  * @property {string} [shiftId] The Shift ID this Task is asssociated with
827
+ * @property {?Date} [completedTimestamp] When this Task was Completed
571
828
  * @property {?string} [authorUserId] The User ID of the Author for this Task
572
829
  * @property {string} [authorName] The Name of the Author for this Task
573
830
  * @property {string} [type] The Task Type
@@ -614,11 +871,22 @@ var _default = ShiftTaskController;
614
871
  * @memberof Controllers.Packhouse.Site
615
872
  */
616
873
 
874
+ /**
875
+ * A **UserAccount** Type
876
+ *
877
+ * @typedef {Object} ShiftTaskController.UserAccount
878
+ * @property {?string} id The User Account ID
879
+ * @property {?string} firstName The User's First Name
880
+ * @property {?string} lastName The User's Last Name
881
+ * @memberof Controllers.Packhouse.Site
882
+ */
883
+
617
884
  /**
618
885
  * A **CommentItem** Type
619
886
  *
620
887
  * @typedef {Object} ShiftTaskController.CommentItem
621
888
  * @property {string} id The Comment ID
889
+ * @property {ShiftTaskController.UserAccount} userAccount
622
890
  * @property {?string} content The Content of the Comment
623
891
  * @property {?Date} createdTimestamp When the Comment was Created
624
892
  * @property {?Date} updatedTimestamp When the Comment was last Updated
@@ -139,6 +139,70 @@ var PermanentObjectDataController = /*#__PURE__*/function () {
139
139
  resultItemObject.id = "";
140
140
  }
141
141
 
142
+ if (_typeof(resultItem) === 'object' && 'userAccount' in resultItem) {
143
+ resultItemObject.userAccount = function () {
144
+ var userAccountObject = {};
145
+
146
+ if (_typeof(resultItem.userAccount) === 'object' && 'id' in resultItem.userAccount) {
147
+ userAccountObject.id = function () {
148
+ if (resultItem.userAccount.id === null) {
149
+ return null;
150
+ }
151
+
152
+ if (typeof resultItem.userAccount.id !== 'string') {
153
+ return String(resultItem.userAccount.id);
154
+ }
155
+
156
+ return resultItem.userAccount.id;
157
+ }();
158
+ } else {
159
+ userAccountObject.id = null;
160
+ }
161
+
162
+ if (_typeof(resultItem.userAccount) === 'object' && 'firstName' in resultItem.userAccount) {
163
+ userAccountObject.firstName = function () {
164
+ if (resultItem.userAccount.firstName === null) {
165
+ return null;
166
+ }
167
+
168
+ if (typeof resultItem.userAccount.firstName !== 'string') {
169
+ return String(resultItem.userAccount.firstName);
170
+ }
171
+
172
+ return resultItem.userAccount.firstName;
173
+ }();
174
+ } else {
175
+ userAccountObject.firstName = null;
176
+ }
177
+
178
+ if (_typeof(resultItem.userAccount) === 'object' && 'lastName' in resultItem.userAccount) {
179
+ userAccountObject.lastName = function () {
180
+ if (resultItem.userAccount.lastName === null) {
181
+ return null;
182
+ }
183
+
184
+ if (typeof resultItem.userAccount.lastName !== 'string') {
185
+ return String(resultItem.userAccount.lastName);
186
+ }
187
+
188
+ return resultItem.userAccount.lastName;
189
+ }();
190
+ } else {
191
+ userAccountObject.lastName = null;
192
+ }
193
+
194
+ return userAccountObject;
195
+ }();
196
+ } else {
197
+ resultItemObject.userAccount = function () {
198
+ var userAccountDefaultValue = {};
199
+ userAccountDefaultValue.id = null;
200
+ userAccountDefaultValue.firstName = null;
201
+ userAccountDefaultValue.lastName = null;
202
+ return userAccountDefaultValue;
203
+ }();
204
+ }
205
+
142
206
  if (_typeof(resultItem) === 'object' && 'content' in resultItem) {
143
207
  resultItemObject.content = function () {
144
208
  if (resultItem.content === null) {
@@ -233,6 +297,70 @@ var PermanentObjectDataController = /*#__PURE__*/function () {
233
297
  resultObject.id = "";
234
298
  }
235
299
 
300
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
301
+ resultObject.userAccount = function () {
302
+ var userAccountObject = {};
303
+
304
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
305
+ userAccountObject.id = function () {
306
+ if (result.userAccount.id === null) {
307
+ return null;
308
+ }
309
+
310
+ if (typeof result.userAccount.id !== 'string') {
311
+ return String(result.userAccount.id);
312
+ }
313
+
314
+ return result.userAccount.id;
315
+ }();
316
+ } else {
317
+ userAccountObject.id = null;
318
+ }
319
+
320
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
321
+ userAccountObject.firstName = function () {
322
+ if (result.userAccount.firstName === null) {
323
+ return null;
324
+ }
325
+
326
+ if (typeof result.userAccount.firstName !== 'string') {
327
+ return String(result.userAccount.firstName);
328
+ }
329
+
330
+ return result.userAccount.firstName;
331
+ }();
332
+ } else {
333
+ userAccountObject.firstName = null;
334
+ }
335
+
336
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
337
+ userAccountObject.lastName = function () {
338
+ if (result.userAccount.lastName === null) {
339
+ return null;
340
+ }
341
+
342
+ if (typeof result.userAccount.lastName !== 'string') {
343
+ return String(result.userAccount.lastName);
344
+ }
345
+
346
+ return result.userAccount.lastName;
347
+ }();
348
+ } else {
349
+ userAccountObject.lastName = null;
350
+ }
351
+
352
+ return userAccountObject;
353
+ }();
354
+ } else {
355
+ resultObject.userAccount = function () {
356
+ var userAccountDefaultValue = {};
357
+ userAccountDefaultValue.id = null;
358
+ userAccountDefaultValue.firstName = null;
359
+ userAccountDefaultValue.lastName = null;
360
+ return userAccountDefaultValue;
361
+ }();
362
+ }
363
+
236
364
  if (_typeof(result) === 'object' && 'content' in result) {
237
365
  resultObject.content = function () {
238
366
  if (result.content === null) {
@@ -323,6 +451,70 @@ var PermanentObjectDataController = /*#__PURE__*/function () {
323
451
  resultObject.id = "";
324
452
  }
325
453
 
454
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
455
+ resultObject.userAccount = function () {
456
+ var userAccountObject = {};
457
+
458
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
459
+ userAccountObject.id = function () {
460
+ if (result.userAccount.id === null) {
461
+ return null;
462
+ }
463
+
464
+ if (typeof result.userAccount.id !== 'string') {
465
+ return String(result.userAccount.id);
466
+ }
467
+
468
+ return result.userAccount.id;
469
+ }();
470
+ } else {
471
+ userAccountObject.id = null;
472
+ }
473
+
474
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
475
+ userAccountObject.firstName = function () {
476
+ if (result.userAccount.firstName === null) {
477
+ return null;
478
+ }
479
+
480
+ if (typeof result.userAccount.firstName !== 'string') {
481
+ return String(result.userAccount.firstName);
482
+ }
483
+
484
+ return result.userAccount.firstName;
485
+ }();
486
+ } else {
487
+ userAccountObject.firstName = null;
488
+ }
489
+
490
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
491
+ userAccountObject.lastName = function () {
492
+ if (result.userAccount.lastName === null) {
493
+ return null;
494
+ }
495
+
496
+ if (typeof result.userAccount.lastName !== 'string') {
497
+ return String(result.userAccount.lastName);
498
+ }
499
+
500
+ return result.userAccount.lastName;
501
+ }();
502
+ } else {
503
+ userAccountObject.lastName = null;
504
+ }
505
+
506
+ return userAccountObject;
507
+ }();
508
+ } else {
509
+ resultObject.userAccount = function () {
510
+ var userAccountDefaultValue = {};
511
+ userAccountDefaultValue.id = null;
512
+ userAccountDefaultValue.firstName = null;
513
+ userAccountDefaultValue.lastName = null;
514
+ return userAccountDefaultValue;
515
+ }();
516
+ }
517
+
326
518
  if (_typeof(result) === 'object' && 'content' in result) {
327
519
  resultObject.content = function () {
328
520
  if (result.content === null) {
@@ -416,6 +608,70 @@ var PermanentObjectDataController = /*#__PURE__*/function () {
416
608
  resultObject.id = "";
417
609
  }
418
610
 
611
+ if (_typeof(result) === 'object' && 'userAccount' in result) {
612
+ resultObject.userAccount = function () {
613
+ var userAccountObject = {};
614
+
615
+ if (_typeof(result.userAccount) === 'object' && 'id' in result.userAccount) {
616
+ userAccountObject.id = function () {
617
+ if (result.userAccount.id === null) {
618
+ return null;
619
+ }
620
+
621
+ if (typeof result.userAccount.id !== 'string') {
622
+ return String(result.userAccount.id);
623
+ }
624
+
625
+ return result.userAccount.id;
626
+ }();
627
+ } else {
628
+ userAccountObject.id = null;
629
+ }
630
+
631
+ if (_typeof(result.userAccount) === 'object' && 'firstName' in result.userAccount) {
632
+ userAccountObject.firstName = function () {
633
+ if (result.userAccount.firstName === null) {
634
+ return null;
635
+ }
636
+
637
+ if (typeof result.userAccount.firstName !== 'string') {
638
+ return String(result.userAccount.firstName);
639
+ }
640
+
641
+ return result.userAccount.firstName;
642
+ }();
643
+ } else {
644
+ userAccountObject.firstName = null;
645
+ }
646
+
647
+ if (_typeof(result.userAccount) === 'object' && 'lastName' in result.userAccount) {
648
+ userAccountObject.lastName = function () {
649
+ if (result.userAccount.lastName === null) {
650
+ return null;
651
+ }
652
+
653
+ if (typeof result.userAccount.lastName !== 'string') {
654
+ return String(result.userAccount.lastName);
655
+ }
656
+
657
+ return result.userAccount.lastName;
658
+ }();
659
+ } else {
660
+ userAccountObject.lastName = null;
661
+ }
662
+
663
+ return userAccountObject;
664
+ }();
665
+ } else {
666
+ resultObject.userAccount = function () {
667
+ var userAccountDefaultValue = {};
668
+ userAccountDefaultValue.id = null;
669
+ userAccountDefaultValue.firstName = null;
670
+ userAccountDefaultValue.lastName = null;
671
+ return userAccountDefaultValue;
672
+ }();
673
+ }
674
+
419
675
  if (_typeof(result) === 'object' && 'content' in result) {
420
676
  resultObject.content = function () {
421
677
  if (result.content === null) {
@@ -597,11 +853,22 @@ var _default = PermanentObjectDataController;
597
853
  * @memberof Controllers.Site
598
854
  */
599
855
 
856
+ /**
857
+ * A **UserAccount** Type
858
+ *
859
+ * @typedef {Object} PermanentObjectDataController.UserAccount
860
+ * @property {?string} id The User Account ID
861
+ * @property {?string} firstName The User's First Name
862
+ * @property {?string} lastName The User's Last Name
863
+ * @memberof Controllers.Site
864
+ */
865
+
600
866
  /**
601
867
  * A **CommentItem** Type
602
868
  *
603
869
  * @typedef {Object} PermanentObjectDataController.CommentItem
604
870
  * @property {string} id The Comment ID
871
+ * @property {PermanentObjectDataController.UserAccount} userAccount
605
872
  * @property {?string} content The Content of the Comment
606
873
  * @property {?Date} createdTimestamp When the Comment was Created
607
874
  * @property {?Date} updatedTimestamp When the Comment was last Updated
@@ -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 {?string}
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'] !== 'string') {
445
+ return String(jsonObject['keyCelebration']);
446
+ }
447
+
448
+ return 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.1';
8
+ var version = '2.3.4';
9
9
  exports.version = version;