@ricado/api-client 2.3.4 → 2.3.5

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.
@@ -824,7 +824,7 @@ var _default = ShiftQualitySummaryController;
824
824
  * @typedef {Object} ShiftQualitySummaryController.GetAllQueryParameters
825
825
  * @property {string} [packingLineId] The Packing Line ID this Quality Summary is associated with
826
826
  * @property {string} [shiftId] The Shift ID this Quality Summary is asssociated with
827
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
827
+ * @property {string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
828
828
  * @property {string} [qualityManagerName] The Name of the Quality Manager for this Summary
829
829
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when Quality Summaries were Created. Results Greater than or Equal to Timestamp
830
830
  * @property {Date} [createdTimestampEnd] Filter by the Timestamp when Quality Summaries were Created. Results Less than or Equal to Timestamp
@@ -841,7 +841,7 @@ var _default = ShiftQualitySummaryController;
841
841
  * @property {string} [shiftId] The Shift ID this Quality Summary is asssociated with
842
842
  * @property {Date} [createdTimestamp] When this Quality Summary was Created
843
843
  * @property {?Date} [publishTimestamp] When this Quality Summary was Published
844
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
844
+ * @property {string} qualityManagerUserId The User ID of the Quality Manager for this Summary
845
845
  * @property {string} qualityManagerName The Name of the Quality Manager for this Summary
846
846
  * @property {Array<ShiftQualitySummaryController.AccuracyResult>} [accuracyResults] An Array of Accuracy Results for this Summary
847
847
  * @property {Array<ShiftQualitySummaryController.AuditResult>} [auditResults] An Array of Audit Results for this Summary
@@ -857,7 +857,7 @@ var _default = ShiftQualitySummaryController;
857
857
  * @property {string} [packingLineId] The Packing Line ID this Quality Summary is associated with
858
858
  * @property {Date} [createdTimestamp] When this Quality Summary was Created
859
859
  * @property {?Date} [publishTimestamp] When this Quality Summary was Published
860
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
860
+ * @property {string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
861
861
  * @property {string} [qualityManagerName] The Name of the Quality Manager for this Summary
862
862
  * @property {Array<ShiftQualitySummaryController.AccuracyResult>} [accuracyResults] An Array of Accuracy Results for this Summary
863
863
  * @property {Array<ShiftQualitySummaryController.AuditResult>} [auditResults] An Array of Audit Results for this Summary
@@ -98,11 +98,11 @@ var ShiftQualitySummaryModel = /*#__PURE__*/function (_BaseModel) {
98
98
  /**
99
99
  * The User ID of the Quality Manager for this Summary
100
100
  *
101
- * @type {?string}
101
+ * @type {string}
102
102
  * @public
103
103
  */
104
104
 
105
- _this.qualityManagerUserId = null;
105
+ _this.qualityManagerUserId = "";
106
106
  /**
107
107
  * The Name of the Quality Manager for this Summary
108
108
  *
@@ -262,10 +262,6 @@ var ShiftQualitySummaryModel = /*#__PURE__*/function (_BaseModel) {
262
262
 
263
263
  if ('qualityManagerUserId' in jsonObject) {
264
264
  model.qualityManagerUserId = function () {
265
- if (jsonObject['qualityManagerUserId'] === null) {
266
- return null;
267
- }
268
-
269
265
  if (typeof jsonObject['qualityManagerUserId'] !== 'string') {
270
266
  return String(jsonObject['qualityManagerUserId']);
271
267
  }
@@ -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.4';
8
+ var version = '2.3.5';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -11686,7 +11686,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummar
11686
11686
  /**
11687
11687
  * The User ID of the Quality Manager for this Summary
11688
11688
  */
11689
- qualityManagerUserId?: string | null;
11689
+ qualityManagerUserId?: string;
11690
11690
  /**
11691
11691
  * The Name of the Quality Manager for this Summary
11692
11692
  */
@@ -11731,7 +11731,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummar
11731
11731
  /**
11732
11732
  * The User ID of the Quality Manager for this Summary
11733
11733
  */
11734
- qualityManagerUserId?: string | null;
11734
+ qualityManagerUserId: string;
11735
11735
  /**
11736
11736
  * The Name of the Quality Manager for this Summary
11737
11737
  */
@@ -11772,7 +11772,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummar
11772
11772
  /**
11773
11773
  * The User ID of the Quality Manager for this Summary
11774
11774
  */
11775
- qualityManagerUserId?: string | null;
11775
+ qualityManagerUserId?: string;
11776
11776
  /**
11777
11777
  * The Name of the Quality Manager for this Summary
11778
11778
  */
@@ -15567,10 +15567,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryMode
15567
15567
  /**
15568
15568
  * The User ID of the Quality Manager for this Summary
15569
15569
  *
15570
- * @type {?string}
15570
+ * @type {string}
15571
15571
  * @public
15572
15572
  */
15573
- qualityManagerUserId: string | null;
15573
+ qualityManagerUserId: string;
15574
15574
  /**
15575
15575
  * The Name of the Quality Manager for this Summary
15576
15576
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -957,7 +957,7 @@ export default ShiftQualitySummaryController;
957
957
  * @typedef {Object} ShiftQualitySummaryController.GetAllQueryParameters
958
958
  * @property {string} [packingLineId] The Packing Line ID this Quality Summary is associated with
959
959
  * @property {string} [shiftId] The Shift ID this Quality Summary is asssociated with
960
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
960
+ * @property {string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
961
961
  * @property {string} [qualityManagerName] The Name of the Quality Manager for this Summary
962
962
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when Quality Summaries were Created. Results Greater than or Equal to Timestamp
963
963
  * @property {Date} [createdTimestampEnd] Filter by the Timestamp when Quality Summaries were Created. Results Less than or Equal to Timestamp
@@ -974,7 +974,7 @@ export default ShiftQualitySummaryController;
974
974
  * @property {string} [shiftId] The Shift ID this Quality Summary is asssociated with
975
975
  * @property {Date} [createdTimestamp] When this Quality Summary was Created
976
976
  * @property {?Date} [publishTimestamp] When this Quality Summary was Published
977
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
977
+ * @property {string} qualityManagerUserId The User ID of the Quality Manager for this Summary
978
978
  * @property {string} qualityManagerName The Name of the Quality Manager for this Summary
979
979
  * @property {Array<ShiftQualitySummaryController.AccuracyResult>} [accuracyResults] An Array of Accuracy Results for this Summary
980
980
  * @property {Array<ShiftQualitySummaryController.AuditResult>} [auditResults] An Array of Audit Results for this Summary
@@ -990,7 +990,7 @@ export default ShiftQualitySummaryController;
990
990
  * @property {string} [packingLineId] The Packing Line ID this Quality Summary is associated with
991
991
  * @property {Date} [createdTimestamp] When this Quality Summary was Created
992
992
  * @property {?Date} [publishTimestamp] When this Quality Summary was Published
993
- * @property {?string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
993
+ * @property {string} [qualityManagerUserId] The User ID of the Quality Manager for this Summary
994
994
  * @property {string} [qualityManagerName] The Name of the Quality Manager for this Summary
995
995
  * @property {Array<ShiftQualitySummaryController.AccuracyResult>} [accuracyResults] An Array of Accuracy Results for this Summary
996
996
  * @property {Array<ShiftQualitySummaryController.AuditResult>} [auditResults] An Array of Audit Results for this Summary
@@ -68,10 +68,10 @@ class ShiftQualitySummaryModel extends BaseModel
68
68
  /**
69
69
  * The User ID of the Quality Manager for this Summary
70
70
  *
71
- * @type {?string}
71
+ * @type {string}
72
72
  * @public
73
73
  */
74
- this.qualityManagerUserId = null;
74
+ this.qualityManagerUserId = "";
75
75
 
76
76
  /**
77
77
  * The Name of the Quality Manager for this Summary
@@ -243,11 +243,6 @@ class ShiftQualitySummaryModel extends BaseModel
243
243
  if('qualityManagerUserId' in jsonObject)
244
244
  {
245
245
  model.qualityManagerUserId = (function(){
246
- if(jsonObject['qualityManagerUserId'] === null)
247
- {
248
- return null;
249
- }
250
-
251
246
  if(typeof jsonObject['qualityManagerUserId'] !== 'string')
252
247
  {
253
248
  return String(jsonObject['qualityManagerUserId']);
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '2.3.4';
2
+ export const version = '2.3.5';