@ricado/api-client 2.3.14 → 2.3.15

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.
@@ -2538,11 +2538,11 @@ var ProductionDataExportController = /*#__PURE__*/function () {
2538
2538
  return null;
2539
2539
  }
2540
2540
 
2541
- if (typeof shiftsItem.keyCelebration !== 'number') {
2542
- return Number.isInteger(Number(shiftsItem.keyCelebration)) ? Number(shiftsItem.keyCelebration) : Math.floor(Number(shiftsItem.keyCelebration));
2541
+ if (typeof shiftsItem.keyCelebration !== 'string') {
2542
+ return String(shiftsItem.keyCelebration);
2543
2543
  }
2544
2544
 
2545
- return Number.isInteger(shiftsItem.keyCelebration) ? shiftsItem.keyCelebration : Math.floor(shiftsItem.keyCelebration);
2545
+ return shiftsItem.keyCelebration;
2546
2546
  }();
2547
2547
  } else {
2548
2548
  shiftsItemObject.keyCelebration = null;
@@ -2554,11 +2554,11 @@ var ProductionDataExportController = /*#__PURE__*/function () {
2554
2554
  return null;
2555
2555
  }
2556
2556
 
2557
- if (typeof shiftsItem.keyChallenge !== 'number') {
2558
- return Number.isInteger(Number(shiftsItem.keyChallenge)) ? Number(shiftsItem.keyChallenge) : Math.floor(Number(shiftsItem.keyChallenge));
2557
+ if (typeof shiftsItem.keyChallenge !== 'string') {
2558
+ return String(shiftsItem.keyChallenge);
2559
2559
  }
2560
2560
 
2561
- return Number.isInteger(shiftsItem.keyChallenge) ? shiftsItem.keyChallenge : Math.floor(shiftsItem.keyChallenge);
2561
+ return shiftsItem.keyChallenge;
2562
2562
  }();
2563
2563
  } else {
2564
2564
  shiftsItemObject.keyChallenge = null;
@@ -3990,8 +3990,8 @@ var _default = ProductionDataExportController;
3990
3990
  * @property {?number} qualityR600IdealSamplesTarget Target Percentage of R600 Samples that should be in the Ideal Range for this Shift
3991
3991
  * @property {?number} qualityR600IdealSamplesActual Actual Percentage of R600 Samples that were in the Ideal Range during this Shift
3992
3992
  * @property {?number} satisfactionRating An Optional Satisfaction Rating between 1 and 10 from the Line Manager of this Shift
3993
- * @property {?number} keyCelebration An Optional Key Celebration the Line Manager observed during this Shift
3994
- * @property {?number} keyChallenge An Optional Key Challenge the Line Manager observed during this Shift
3993
+ * @property {?string} keyCelebration An Optional Key Celebration the Line Manager observed during this Shift
3994
+ * @property {?string} keyChallenge An Optional Key Challenge the Line Manager observed during this Shift
3995
3995
  * @memberof Controllers.Packhouse
3996
3996
  */
3997
3997
 
@@ -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.14';
8
+ var version = '2.3.15';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -3898,11 +3898,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/ProductionDataExportCon
3898
3898
  /**
3899
3899
  * An Optional Key Celebration the Line Manager observed during this Shift
3900
3900
  */
3901
- keyCelebration: number | null;
3901
+ keyCelebration: string | null;
3902
3902
  /**
3903
3903
  * An Optional Key Challenge the Line Manager observed during this Shift
3904
3904
  */
3905
- keyChallenge: number | null;
3905
+ keyChallenge: string | null;
3906
3906
  };
3907
3907
  /**
3908
3908
  * A **ShiftHourlyData** Type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.14",
3
+ "version": "2.3.15",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -3307,12 +3307,12 @@ class ProductionDataExportController
3307
3307
  return null;
3308
3308
  }
3309
3309
 
3310
- if(typeof shiftsItem.keyCelebration !== 'number')
3310
+ if(typeof shiftsItem.keyCelebration !== 'string')
3311
3311
  {
3312
- return Number.isInteger(Number(shiftsItem.keyCelebration)) ? Number(shiftsItem.keyCelebration) : Math.floor(Number(shiftsItem.keyCelebration));
3312
+ return String(shiftsItem.keyCelebration);
3313
3313
  }
3314
3314
 
3315
- return Number.isInteger(shiftsItem.keyCelebration) ? shiftsItem.keyCelebration : Math.floor(shiftsItem.keyCelebration);
3315
+ return shiftsItem.keyCelebration;
3316
3316
  }());
3317
3317
  }
3318
3318
  else
@@ -3328,12 +3328,12 @@ class ProductionDataExportController
3328
3328
  return null;
3329
3329
  }
3330
3330
 
3331
- if(typeof shiftsItem.keyChallenge !== 'number')
3331
+ if(typeof shiftsItem.keyChallenge !== 'string')
3332
3332
  {
3333
- return Number.isInteger(Number(shiftsItem.keyChallenge)) ? Number(shiftsItem.keyChallenge) : Math.floor(Number(shiftsItem.keyChallenge));
3333
+ return String(shiftsItem.keyChallenge);
3334
3334
  }
3335
3335
 
3336
- return Number.isInteger(shiftsItem.keyChallenge) ? shiftsItem.keyChallenge : Math.floor(shiftsItem.keyChallenge);
3336
+ return shiftsItem.keyChallenge;
3337
3337
  }());
3338
3338
  }
3339
3339
  else
@@ -5129,8 +5129,8 @@ export default ProductionDataExportController;
5129
5129
  * @property {?number} qualityR600IdealSamplesTarget Target Percentage of R600 Samples that should be in the Ideal Range for this Shift
5130
5130
  * @property {?number} qualityR600IdealSamplesActual Actual Percentage of R600 Samples that were in the Ideal Range during this Shift
5131
5131
  * @property {?number} satisfactionRating An Optional Satisfaction Rating between 1 and 10 from the Line Manager of this Shift
5132
- * @property {?number} keyCelebration An Optional Key Celebration the Line Manager observed during this Shift
5133
- * @property {?number} keyChallenge An Optional Key Challenge the Line Manager observed during this Shift
5132
+ * @property {?string} keyCelebration An Optional Key Celebration the Line Manager observed during this Shift
5133
+ * @property {?string} keyChallenge An Optional Key Challenge the Line Manager observed during this Shift
5134
5134
  * @memberof Controllers.Packhouse
5135
5135
  */
5136
5136
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.3.14';
2
+ export const version = '2.3.15';