@ricado/api-client 2.5.10 → 2.5.12
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/PackingLineController.js +2 -1
- package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +1 -1
- package/lib/Models/Packhouse/Site/PackingLineModel.js +38 -1
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +9 -2
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/PackingLineController.js +2 -1
- package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +1 -1
- package/src/Models/Packhouse/Site/PackingLineModel.js +49 -1
- package/src/PackageVersion.js +1 -1
|
@@ -666,13 +666,14 @@ var _default = PackingLineController;
|
|
|
666
666
|
* A **FreshQualityIntegration** Type
|
|
667
667
|
*
|
|
668
668
|
* @typedef {Object} PackingLineController.FreshQualityIntegration
|
|
669
|
-
* @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, sampleTypes: ?number}} points The Points used for this FreshQuality Integration
|
|
669
|
+
* @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, currentPackrunMaturityAreaSamples: ?number, sampleTypes: ?number}} points The Points used for this FreshQuality Integration
|
|
670
670
|
* @property {boolean} enabled Whether the FreshQuality Integration is Enabled on this Packing Line
|
|
671
671
|
* @property {string} username Username for Authenticating with the FreshQuality API
|
|
672
672
|
* @property {string} password Password for Authenticating with the FreshQuality API
|
|
673
673
|
* @property {string} apiBaseUrl Base URL of the FreshQuality API
|
|
674
674
|
* @property {number[]} sampleTypeIds An Array of FreshQuality Sample Type IDs that are used for Class 1 R600 on this Packing Line
|
|
675
675
|
* @property {number[]} rejectAnalysisSampleTypeIds An Array of FreshQuality Sample Type IDs that are used for Reject Analysis on this Packing Line
|
|
676
|
+
* @property {number[]} maturityAreaSampleTypeIds An Array of FreshQuality Sample Type IDs that should be fetched for Maturity Area Samples on this Packing Line
|
|
676
677
|
* @memberof Controllers.Packhouse.Site
|
|
677
678
|
*/
|
|
678
679
|
|
|
@@ -413,7 +413,7 @@ var _default = SoftSortBeltController;
|
|
|
413
413
|
* @property {string[]} [beltIds] A List of Soft-Sort Belt IDs to Filter by
|
|
414
414
|
* @property {Date} [timestampBegin] The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
415
415
|
* @property {Date} [timestampEnd] The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
416
|
-
* @property {
|
|
416
|
+
* @property {string} [packrunId] A Packrun ID to Filter by. Forces `timestampBegin` and `timestampEnd` to be Ignored
|
|
417
417
|
* @memberof Controllers.Packhouse.Site
|
|
418
418
|
*/
|
|
419
419
|
|
|
@@ -221,7 +221,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
221
221
|
/**
|
|
222
222
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
223
223
|
*
|
|
224
|
-
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[]}}
|
|
224
|
+
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, currentPackrunMaturityAreaSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[], maturityAreaSampleTypeIds: number[]}}
|
|
225
225
|
* @public
|
|
226
226
|
*/
|
|
227
227
|
|
|
@@ -4906,6 +4906,22 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
4906
4906
|
pointsObject.currentPackrunRejectAnalysisSamples = null;
|
|
4907
4907
|
}
|
|
4908
4908
|
|
|
4909
|
+
if (_typeof(jsonObject['freshQualityIntegration'].points) === 'object' && 'currentPackrunMaturityAreaSamples' in jsonObject['freshQualityIntegration'].points) {
|
|
4910
|
+
pointsObject.currentPackrunMaturityAreaSamples = function () {
|
|
4911
|
+
if (jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples === null) {
|
|
4912
|
+
return null;
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
if (typeof jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples !== 'number') {
|
|
4916
|
+
return Number.isInteger(Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples)) ? Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples) : Math.floor(Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples));
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4919
|
+
return Number.isInteger(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples) ? jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples : Math.floor(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples);
|
|
4920
|
+
}();
|
|
4921
|
+
} else {
|
|
4922
|
+
pointsObject.currentPackrunMaturityAreaSamples = null;
|
|
4923
|
+
}
|
|
4924
|
+
|
|
4909
4925
|
if (_typeof(jsonObject['freshQualityIntegration'].points) === 'object' && 'sampleTypes' in jsonObject['freshQualityIntegration'].points) {
|
|
4910
4926
|
pointsObject.sampleTypes = function () {
|
|
4911
4927
|
if (jsonObject['freshQualityIntegration'].points.sampleTypes === null) {
|
|
@@ -4938,6 +4954,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
4938
4954
|
pointsDefaultValue.currentPackrunTotalPackingDefectsCount = 0;
|
|
4939
4955
|
pointsDefaultValue.currentPackrunFutureStorageDefectsCount = 0;
|
|
4940
4956
|
pointsDefaultValue.currentPackrunRejectAnalysisSamples = null;
|
|
4957
|
+
pointsDefaultValue.currentPackrunMaturityAreaSamples = null;
|
|
4941
4958
|
pointsDefaultValue.sampleTypes = null;
|
|
4942
4959
|
return pointsDefaultValue;
|
|
4943
4960
|
}();
|
|
@@ -5031,6 +5048,26 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
5031
5048
|
freshQualityIntegrationObject.rejectAnalysisSampleTypeIds = [];
|
|
5032
5049
|
}
|
|
5033
5050
|
|
|
5051
|
+
if (_typeof(jsonObject['freshQualityIntegration']) === 'object' && 'maturityAreaSampleTypeIds' in jsonObject['freshQualityIntegration']) {
|
|
5052
|
+
freshQualityIntegrationObject.maturityAreaSampleTypeIds = function () {
|
|
5053
|
+
if (Array.isArray(jsonObject['freshQualityIntegration'].maturityAreaSampleTypeIds) !== true) {
|
|
5054
|
+
return [];
|
|
5055
|
+
}
|
|
5056
|
+
|
|
5057
|
+
return jsonObject['freshQualityIntegration'].maturityAreaSampleTypeIds.map(function (maturityAreaSampleTypeIdsItem) {
|
|
5058
|
+
return function () {
|
|
5059
|
+
if (typeof maturityAreaSampleTypeIdsItem !== 'number') {
|
|
5060
|
+
return Number.isInteger(Number(maturityAreaSampleTypeIdsItem)) ? Number(maturityAreaSampleTypeIdsItem) : Math.floor(Number(maturityAreaSampleTypeIdsItem));
|
|
5061
|
+
}
|
|
5062
|
+
|
|
5063
|
+
return Number.isInteger(maturityAreaSampleTypeIdsItem) ? maturityAreaSampleTypeIdsItem : Math.floor(maturityAreaSampleTypeIdsItem);
|
|
5064
|
+
}();
|
|
5065
|
+
});
|
|
5066
|
+
}();
|
|
5067
|
+
} else {
|
|
5068
|
+
freshQualityIntegrationObject.maturityAreaSampleTypeIds = [];
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5034
5071
|
return freshQualityIntegrationObject;
|
|
5035
5072
|
}();
|
|
5036
5073
|
}
|
package/lib/PackageVersion.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -16743,6 +16743,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
16743
16743
|
currentPackrunTotalPackingDefectsCount: number;
|
|
16744
16744
|
currentPackrunFutureStorageDefectsCount: number;
|
|
16745
16745
|
currentPackrunRejectAnalysisSamples: number | null;
|
|
16746
|
+
currentPackrunMaturityAreaSamples: number | null;
|
|
16746
16747
|
sampleTypes: number | null;
|
|
16747
16748
|
};
|
|
16748
16749
|
/**
|
|
@@ -16769,6 +16770,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
16769
16770
|
* An Array of FreshQuality Sample Type IDs that are used for Reject Analysis on this Packing Line
|
|
16770
16771
|
*/
|
|
16771
16772
|
rejectAnalysisSampleTypeIds: number[];
|
|
16773
|
+
/**
|
|
16774
|
+
* An Array of FreshQuality Sample Type IDs that should be fetched for Maturity Area Samples on this Packing Line
|
|
16775
|
+
*/
|
|
16776
|
+
maturityAreaSampleTypeIds: number[];
|
|
16772
16777
|
};
|
|
16773
16778
|
}
|
|
16774
16779
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
@@ -21958,7 +21963,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
21958
21963
|
/**
|
|
21959
21964
|
* A Packrun ID to Filter by. Forces `timestampBegin` and `timestampEnd` to be Ignored
|
|
21960
21965
|
*/
|
|
21961
|
-
packrunId?:
|
|
21966
|
+
packrunId?: string;
|
|
21962
21967
|
};
|
|
21963
21968
|
/**
|
|
21964
21969
|
* The Create Data for a Soft Sort Belt
|
|
@@ -27124,7 +27129,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
27124
27129
|
/**
|
|
27125
27130
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
27126
27131
|
*
|
|
27127
|
-
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[]}}
|
|
27132
|
+
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, currentPackrunMaturityAreaSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[], maturityAreaSampleTypeIds: number[]}}
|
|
27128
27133
|
* @public
|
|
27129
27134
|
*/
|
|
27130
27135
|
freshQualityIntegration: {
|
|
@@ -27140,6 +27145,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
27140
27145
|
currentPackrunTotalPackingDefectsCount: number;
|
|
27141
27146
|
currentPackrunFutureStorageDefectsCount: number;
|
|
27142
27147
|
currentPackrunRejectAnalysisSamples: number | null;
|
|
27148
|
+
currentPackrunMaturityAreaSamples: number | null;
|
|
27143
27149
|
sampleTypes: number | null;
|
|
27144
27150
|
};
|
|
27145
27151
|
enabled: boolean;
|
|
@@ -27148,6 +27154,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
27148
27154
|
apiBaseUrl: string;
|
|
27149
27155
|
sampleTypeIds: number[];
|
|
27150
27156
|
rejectAnalysisSampleTypeIds: number[];
|
|
27157
|
+
maturityAreaSampleTypeIds: number[];
|
|
27151
27158
|
} | null;
|
|
27152
27159
|
/**
|
|
27153
27160
|
* Whether the Packing Line has been deleted
|
package/package.json
CHANGED
|
@@ -645,12 +645,13 @@ export default PackingLineController;
|
|
|
645
645
|
* A **FreshQualityIntegration** Type
|
|
646
646
|
*
|
|
647
647
|
* @typedef {Object} PackingLineController.FreshQualityIntegration
|
|
648
|
-
* @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, sampleTypes: ?number}} points The Points used for this FreshQuality Integration
|
|
648
|
+
* @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, currentPackrunMaturityAreaSamples: ?number, sampleTypes: ?number}} points The Points used for this FreshQuality Integration
|
|
649
649
|
* @property {boolean} enabled Whether the FreshQuality Integration is Enabled on this Packing Line
|
|
650
650
|
* @property {string} username Username for Authenticating with the FreshQuality API
|
|
651
651
|
* @property {string} password Password for Authenticating with the FreshQuality API
|
|
652
652
|
* @property {string} apiBaseUrl Base URL of the FreshQuality API
|
|
653
653
|
* @property {number[]} sampleTypeIds An Array of FreshQuality Sample Type IDs that are used for Class 1 R600 on this Packing Line
|
|
654
654
|
* @property {number[]} rejectAnalysisSampleTypeIds An Array of FreshQuality Sample Type IDs that are used for Reject Analysis on this Packing Line
|
|
655
|
+
* @property {number[]} maturityAreaSampleTypeIds An Array of FreshQuality Sample Type IDs that should be fetched for Maturity Area Samples on this Packing Line
|
|
655
656
|
* @memberof Controllers.Packhouse.Site
|
|
656
657
|
*/
|
|
@@ -436,7 +436,7 @@ export default SoftSortBeltController;
|
|
|
436
436
|
* @property {string[]} [beltIds] A List of Soft-Sort Belt IDs to Filter by
|
|
437
437
|
* @property {Date} [timestampBegin] The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
438
438
|
* @property {Date} [timestampEnd] The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
439
|
-
* @property {
|
|
439
|
+
* @property {string} [packrunId] A Packrun ID to Filter by. Forces `timestampBegin` and `timestampEnd` to be Ignored
|
|
440
440
|
* @memberof Controllers.Packhouse.Site
|
|
441
441
|
*/
|
|
442
442
|
|
|
@@ -222,7 +222,7 @@ class PackingLineModel extends BaseModel
|
|
|
222
222
|
/**
|
|
223
223
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
224
224
|
*
|
|
225
|
-
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[]}}
|
|
225
|
+
* @type {?{points: {currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number, currentPackrunRejectAnalysisSamples: ?number, currentPackrunMaturityAreaSamples: ?number, sampleTypes: ?number}, enabled: boolean, username: string, password: string, apiBaseUrl: string, sampleTypeIds: number[], rejectAnalysisSampleTypeIds: number[], maturityAreaSampleTypeIds: number[]}}
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
228
|
this.freshQualityIntegration = null;
|
|
@@ -6426,6 +6426,27 @@ class PackingLineModel extends BaseModel
|
|
|
6426
6426
|
pointsObject.currentPackrunRejectAnalysisSamples = null;
|
|
6427
6427
|
}
|
|
6428
6428
|
|
|
6429
|
+
if(typeof jsonObject['freshQualityIntegration'].points === 'object' && 'currentPackrunMaturityAreaSamples' in jsonObject['freshQualityIntegration'].points)
|
|
6430
|
+
{
|
|
6431
|
+
pointsObject.currentPackrunMaturityAreaSamples = (function(){
|
|
6432
|
+
if(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples === null)
|
|
6433
|
+
{
|
|
6434
|
+
return null;
|
|
6435
|
+
}
|
|
6436
|
+
|
|
6437
|
+
if(typeof jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples !== 'number')
|
|
6438
|
+
{
|
|
6439
|
+
return Number.isInteger(Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples)) ? Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples) : Math.floor(Number(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples));
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
return Number.isInteger(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples) ? jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples : Math.floor(jsonObject['freshQualityIntegration'].points.currentPackrunMaturityAreaSamples);
|
|
6443
|
+
}());
|
|
6444
|
+
}
|
|
6445
|
+
else
|
|
6446
|
+
{
|
|
6447
|
+
pointsObject.currentPackrunMaturityAreaSamples = null;
|
|
6448
|
+
}
|
|
6449
|
+
|
|
6429
6450
|
if(typeof jsonObject['freshQualityIntegration'].points === 'object' && 'sampleTypes' in jsonObject['freshQualityIntegration'].points)
|
|
6430
6451
|
{
|
|
6431
6452
|
pointsObject.sampleTypes = (function(){
|
|
@@ -6477,6 +6498,8 @@ class PackingLineModel extends BaseModel
|
|
|
6477
6498
|
|
|
6478
6499
|
pointsDefaultValue.currentPackrunRejectAnalysisSamples = null;
|
|
6479
6500
|
|
|
6501
|
+
pointsDefaultValue.currentPackrunMaturityAreaSamples = null;
|
|
6502
|
+
|
|
6480
6503
|
pointsDefaultValue.sampleTypes = null;
|
|
6481
6504
|
|
|
6482
6505
|
return pointsDefaultValue;
|
|
@@ -6596,6 +6619,31 @@ class PackingLineModel extends BaseModel
|
|
|
6596
6619
|
{
|
|
6597
6620
|
freshQualityIntegrationObject.rejectAnalysisSampleTypeIds = [];
|
|
6598
6621
|
}
|
|
6622
|
+
|
|
6623
|
+
if(typeof jsonObject['freshQualityIntegration'] === 'object' && 'maturityAreaSampleTypeIds' in jsonObject['freshQualityIntegration'])
|
|
6624
|
+
{
|
|
6625
|
+
freshQualityIntegrationObject.maturityAreaSampleTypeIds = (function(){
|
|
6626
|
+
if(Array.isArray(jsonObject['freshQualityIntegration'].maturityAreaSampleTypeIds) !== true)
|
|
6627
|
+
{
|
|
6628
|
+
return [];
|
|
6629
|
+
}
|
|
6630
|
+
|
|
6631
|
+
return jsonObject['freshQualityIntegration'].maturityAreaSampleTypeIds.map((maturityAreaSampleTypeIdsItem) => {
|
|
6632
|
+
return (function(){
|
|
6633
|
+
if(typeof maturityAreaSampleTypeIdsItem !== 'number')
|
|
6634
|
+
{
|
|
6635
|
+
return Number.isInteger(Number(maturityAreaSampleTypeIdsItem)) ? Number(maturityAreaSampleTypeIdsItem) : Math.floor(Number(maturityAreaSampleTypeIdsItem));
|
|
6636
|
+
}
|
|
6637
|
+
|
|
6638
|
+
return Number.isInteger(maturityAreaSampleTypeIdsItem) ? maturityAreaSampleTypeIdsItem : Math.floor(maturityAreaSampleTypeIdsItem);
|
|
6639
|
+
}());
|
|
6640
|
+
});
|
|
6641
|
+
}());
|
|
6642
|
+
}
|
|
6643
|
+
else
|
|
6644
|
+
{
|
|
6645
|
+
freshQualityIntegrationObject.maturityAreaSampleTypeIds = [];
|
|
6646
|
+
}
|
|
6599
6647
|
|
|
6600
6648
|
return freshQualityIntegrationObject;
|
|
6601
6649
|
}());
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.5.
|
|
2
|
+
export const version = '2.5.12';
|