@ricado/api-client 2.3.3 → 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.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/ShiftController.js +2 -2
- package/lib/Models/Packhouse/Site/ShiftModel.js +4 -4
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/ShiftController.js +2 -2
- package/src/Models/Packhouse/Site/ShiftModel.js +4 -4
- package/src/PackageVersion.js +1 -1
|
@@ -852,7 +852,7 @@ var _default = ShiftController;
|
|
|
852
852
|
* @property {?Date} [finishTimestamp] When this Shift was Finished
|
|
853
853
|
* @property {?Date} [publishTimestamp] When this Shift was Published
|
|
854
854
|
* @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
855
|
-
* @property {?
|
|
855
|
+
* @property {?string} [keyCelebration] An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
856
856
|
* @property {?string} [keyChallenge] An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
857
857
|
* @property {Array<ShiftController.ShiftHandoverNote>} [handoverNotes] *DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
858
858
|
* @property {Array<ShiftController.ShiftAreaNote>} [areaNotes] An Optional Array of Notes for this Shift
|
|
@@ -876,7 +876,7 @@ var _default = ShiftController;
|
|
|
876
876
|
* @property {?Date} [finishTimestamp] When this Shift was Finished
|
|
877
877
|
* @property {?Date} [publishTimestamp] When this Shift was Published
|
|
878
878
|
* @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
879
|
-
* @property {?
|
|
879
|
+
* @property {?string} [keyCelebration] An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
880
880
|
* @property {?string} [keyChallenge] An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
881
881
|
* @property {Array<ShiftController.ShiftHandoverNote>} [handoverNotes] *DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
882
882
|
* @property {Array<ShiftController.ShiftAreaNote>} [areaNotes] An Optional Array of Notes for this Shift
|
|
@@ -162,7 +162,7 @@ var ShiftModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
162
162
|
/**
|
|
163
163
|
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
164
164
|
*
|
|
165
|
-
* @type {?
|
|
165
|
+
* @type {?string}
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
168
|
|
|
@@ -441,11 +441,11 @@ var ShiftModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
441
441
|
return null;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
if (typeof jsonObject['keyCelebration'] !== '
|
|
445
|
-
return
|
|
444
|
+
if (typeof jsonObject['keyCelebration'] !== 'string') {
|
|
445
|
+
return String(jsonObject['keyCelebration']);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
return
|
|
448
|
+
return jsonObject['keyCelebration'];
|
|
449
449
|
}();
|
|
450
450
|
}
|
|
451
451
|
|
package/lib/PackageVersion.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -10530,7 +10530,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
10530
10530
|
/**
|
|
10531
10531
|
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
10532
10532
|
*/
|
|
10533
|
-
keyCelebration?:
|
|
10533
|
+
keyCelebration?: string | null;
|
|
10534
10534
|
/**
|
|
10535
10535
|
* An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
10536
10536
|
*/
|
|
@@ -10603,7 +10603,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
10603
10603
|
/**
|
|
10604
10604
|
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
10605
10605
|
*/
|
|
10606
|
-
keyCelebration?:
|
|
10606
|
+
keyCelebration?: string | null;
|
|
10607
10607
|
/**
|
|
10608
10608
|
* An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
10609
10609
|
*/
|
|
@@ -15422,10 +15422,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
15422
15422
|
/**
|
|
15423
15423
|
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
15424
15424
|
*
|
|
15425
|
-
* @type {?
|
|
15425
|
+
* @type {?string}
|
|
15426
15426
|
* @public
|
|
15427
15427
|
*/
|
|
15428
|
-
keyCelebration:
|
|
15428
|
+
keyCelebration: string | null;
|
|
15429
15429
|
/**
|
|
15430
15430
|
* An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
15431
15431
|
*
|
package/package.json
CHANGED
|
@@ -985,7 +985,7 @@ export default ShiftController;
|
|
|
985
985
|
* @property {?Date} [finishTimestamp] When this Shift was Finished
|
|
986
986
|
* @property {?Date} [publishTimestamp] When this Shift was Published
|
|
987
987
|
* @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
988
|
-
* @property {?
|
|
988
|
+
* @property {?string} [keyCelebration] An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
989
989
|
* @property {?string} [keyChallenge] An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
990
990
|
* @property {Array<ShiftController.ShiftHandoverNote>} [handoverNotes] *DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
991
991
|
* @property {Array<ShiftController.ShiftAreaNote>} [areaNotes] An Optional Array of Notes for this Shift
|
|
@@ -1009,7 +1009,7 @@ export default ShiftController;
|
|
|
1009
1009
|
* @property {?Date} [finishTimestamp] When this Shift was Finished
|
|
1010
1010
|
* @property {?Date} [publishTimestamp] When this Shift was Published
|
|
1011
1011
|
* @property {?number} [satisfactionRating] An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
1012
|
-
* @property {?
|
|
1012
|
+
* @property {?string} [keyCelebration] An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
1013
1013
|
* @property {?string} [keyChallenge] An Optional Key Challenge the Line Manager and Team experienced during this Shift
|
|
1014
1014
|
* @property {Array<ShiftController.ShiftHandoverNote>} [handoverNotes] *DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
1015
1015
|
* @property {Array<ShiftController.ShiftAreaNote>} [areaNotes] An Optional Array of Notes for this Shift
|
|
@@ -132,7 +132,7 @@ class ShiftModel extends BaseModel
|
|
|
132
132
|
/**
|
|
133
133
|
* An Optional Key Celebration the Line Manager and Team experienced during this Shift
|
|
134
134
|
*
|
|
135
|
-
* @type {?
|
|
135
|
+
* @type {?string}
|
|
136
136
|
* @public
|
|
137
137
|
*/
|
|
138
138
|
this.keyCelebration = null;
|
|
@@ -450,12 +450,12 @@ class ShiftModel extends BaseModel
|
|
|
450
450
|
return null;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
if(typeof jsonObject['keyCelebration'] !== '
|
|
453
|
+
if(typeof jsonObject['keyCelebration'] !== 'string')
|
|
454
454
|
{
|
|
455
|
-
return
|
|
455
|
+
return String(jsonObject['keyCelebration']);
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
return
|
|
458
|
+
return jsonObject['keyCelebration'];
|
|
459
459
|
}());
|
|
460
460
|
}
|
|
461
461
|
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by genversion
|
|
2
|
-
export const version = '2.3.
|
|
2
|
+
export const version = '2.3.4';
|