@ricado/api-client 2.5.4 → 2.5.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.
@@ -192,7 +192,7 @@ var _default = PackingLineController;
192
192
  * @property {?PackingLineController.AdvancedPackrunManagement} [advancedPackrunManagement] The Advanced Packrun Management Configuration for this Packing Line
193
193
  * @property {?PackingLineController.MafIntegration} [mafIntegration] The MAF Integration Configuration for this Packing Line
194
194
  * @property {?PackingLineController.FreshPackIntegration} [freshPackIntegration] The FreshPack Integration Configuration for this Packing Line
195
- * @property {?PackingLineController.FreshPackIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
195
+ * @property {?PackingLineController.FreshQualityIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
196
196
  * @memberof Controllers.Packhouse.Site
197
197
  */
198
198
 
@@ -214,7 +214,7 @@ var _default = PackingLineController;
214
214
  * @property {?PackingLineController.AdvancedPackrunManagement} [advancedPackrunManagement] The Advanced Packrun Management Configuration for this Packing Line
215
215
  * @property {?PackingLineController.MafIntegration} [mafIntegration] The MAF Integration Configuration for this Packing Line
216
216
  * @property {?PackingLineController.FreshPackIntegration} [freshPackIntegration] The FreshPack Integration Configuration for this Packing Line
217
- * @property {?PackingLineController.FreshPackIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
217
+ * @property {?PackingLineController.FreshQualityIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
218
218
  * @memberof Controllers.Packhouse.Site
219
219
  */
220
220
 
@@ -650,6 +650,21 @@ var _default = PackingLineController;
650
650
  * A **FreshPackIntegration** Type
651
651
  *
652
652
  * @typedef {Object} PackingLineController.FreshPackIntegration
653
+ * @property {{graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: number}} points The Points used for this FreshPack Integration
654
+ * @property {boolean} enabled Whether the FreshPack Integration is Enabled on this Packing Line
655
+ * @property {number[]} graderIds An Array of FreshPack Grader IDs that relate to this Packing Line
656
+ * @property {string} apiBaseUrl Base URL of the FreshPack Web Portal API
657
+ * @property {string} computerName A Computer Name to use when Performing Actions on the FreshPack API
658
+ * @property {number} productionFacilityId FreshPack Production Facility ID this Packing Line is associated with
659
+ * @property {Array<PackingLineController.ClassTypeRejectCategory>} classTypeRejectCategoryIds An Array of FreshPack Reject Category IDs that relate to Class Types on this Packing Line
660
+ * @property {?string[]} [packrunSourceTrayClassTypes] An Optional Array of Class Types that should be collected from FreshPack Tray Totals on this Packing Line
661
+ * @memberof Controllers.Packhouse.Site
662
+ */
663
+
664
+ /**
665
+ * A **FreshQualityIntegration** Type
666
+ *
667
+ * @typedef {Object} PackingLineController.FreshQualityIntegration
653
668
  * @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number}} points The Points used for this FreshQuality Integration
654
669
  * @property {boolean} enabled Whether the FreshQuality Integration is Enabled on this Packing Line
655
670
  * @property {string} username Username for Authenticating with the FreshQuality API
@@ -213,7 +213,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
213
213
  /**
214
214
  * The FreshPack Integration Configuration for this Packing Line
215
215
  *
216
- * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
216
+ * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
217
217
  * @public
218
218
  */
219
219
 
@@ -4093,6 +4093,50 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4093
4093
  pointsObject.nextPackrunClearanceSummary = 0;
4094
4094
  }
4095
4095
 
4096
+ if (_typeof(jsonObject['freshPackIntegration'].points) === 'object' && 'currentPackrunMarketHolds' in jsonObject['freshPackIntegration'].points) {
4097
+ pointsObject.currentPackrunMarketHolds = function () {
4098
+ if (jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds === null) {
4099
+ return null;
4100
+ }
4101
+
4102
+ if (typeof jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds !== 'number') {
4103
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds)) ? Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds) : Math.floor(Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds));
4104
+ }
4105
+
4106
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds) ? jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds : Math.floor(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds);
4107
+ }();
4108
+ } else {
4109
+ pointsObject.currentPackrunMarketHolds = null;
4110
+ }
4111
+
4112
+ if (_typeof(jsonObject['freshPackIntegration'].points) === 'object' && 'nextPackrunMarketHolds' in jsonObject['freshPackIntegration'].points) {
4113
+ pointsObject.nextPackrunMarketHolds = function () {
4114
+ if (jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds === null) {
4115
+ return null;
4116
+ }
4117
+
4118
+ if (typeof jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds !== 'number') {
4119
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds)) ? Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds) : Math.floor(Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds));
4120
+ }
4121
+
4122
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds) ? jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds : Math.floor(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds);
4123
+ }();
4124
+ } else {
4125
+ pointsObject.nextPackrunMarketHolds = null;
4126
+ }
4127
+
4128
+ if (_typeof(jsonObject['freshPackIntegration'].points) === 'object' && 'apiVersion' in jsonObject['freshPackIntegration'].points) {
4129
+ pointsObject.apiVersion = function () {
4130
+ if (typeof jsonObject['freshPackIntegration'].points.apiVersion !== 'number') {
4131
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.apiVersion)) ? Number(jsonObject['freshPackIntegration'].points.apiVersion) : Math.floor(Number(jsonObject['freshPackIntegration'].points.apiVersion));
4132
+ }
4133
+
4134
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.apiVersion) ? jsonObject['freshPackIntegration'].points.apiVersion : Math.floor(jsonObject['freshPackIntegration'].points.apiVersion);
4135
+ }();
4136
+ } else {
4137
+ pointsObject.apiVersion = 0;
4138
+ }
4139
+
4096
4140
  return pointsObject;
4097
4141
  }();
4098
4142
  } else {
@@ -4107,6 +4151,9 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4107
4151
  pointsDefaultValue.apiCommunicationStatus = 0;
4108
4152
  pointsDefaultValue.currentPackrunClearanceSummary = 0;
4109
4153
  pointsDefaultValue.nextPackrunClearanceSummary = 0;
4154
+ pointsDefaultValue.currentPackrunMarketHolds = null;
4155
+ pointsDefaultValue.nextPackrunMarketHolds = null;
4156
+ pointsDefaultValue.apiVersion = 0;
4110
4157
  return pointsDefaultValue;
4111
4158
  }();
4112
4159
  }
@@ -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.5.4';
8
+ var version = '2.5.5';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -15575,7 +15575,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
15575
15575
  /**
15576
15576
  * The FreshQuality Integration Configuration for this Packing Line
15577
15577
  */
15578
- freshQualityIntegration?: FreshPackIntegration | null;
15578
+ freshQualityIntegration?: FreshQualityIntegration | null;
15579
15579
  };
15580
15580
  /**
15581
15581
  * The Update Data for a Packing Line
@@ -15672,7 +15672,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
15672
15672
  /**
15673
15673
  * The FreshQuality Integration Configuration for this Packing Line
15674
15674
  */
15675
- freshQualityIntegration?: FreshPackIntegration | null;
15675
+ freshQualityIntegration?: FreshQualityIntegration | null;
15676
15676
  };
15677
15677
  /**
15678
15678
  * A **SizerReference** Type
@@ -16640,6 +16640,56 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
16640
16640
  * A **FreshPackIntegration** Type
16641
16641
  */
16642
16642
  export type FreshPackIntegration = {
16643
+ /**
16644
+ * The Points used for this FreshPack Integration
16645
+ */
16646
+ points: {
16647
+ graders: number;
16648
+ binTypes: number;
16649
+ printerGroups: number;
16650
+ materialGroups: number;
16651
+ rejectCategories: number;
16652
+ productionFacilities: number;
16653
+ apiCommunicationStatus: number;
16654
+ currentPackrunClearanceSummary: number;
16655
+ nextPackrunClearanceSummary: number;
16656
+ currentPackrunMarketHolds: number | null;
16657
+ nextPackrunMarketHolds: number | null;
16658
+ apiVersion: number;
16659
+ };
16660
+ /**
16661
+ * Whether the FreshPack Integration is Enabled on this Packing Line
16662
+ */
16663
+ enabled: boolean;
16664
+ /**
16665
+ * An Array of FreshPack Grader IDs that relate to this Packing Line
16666
+ */
16667
+ graderIds: number[];
16668
+ /**
16669
+ * Base URL of the FreshPack Web Portal API
16670
+ */
16671
+ apiBaseUrl: string;
16672
+ /**
16673
+ * A Computer Name to use when Performing Actions on the FreshPack API
16674
+ */
16675
+ computerName: string;
16676
+ /**
16677
+ * FreshPack Production Facility ID this Packing Line is associated with
16678
+ */
16679
+ productionFacilityId: number;
16680
+ /**
16681
+ * An Array of FreshPack Reject Category IDs that relate to Class Types on this Packing Line
16682
+ */
16683
+ classTypeRejectCategoryIds: ClassTypeRejectCategory[];
16684
+ /**
16685
+ * An Optional Array of Class Types that should be collected from FreshPack Tray Totals on this Packing Line
16686
+ */
16687
+ packrunSourceTrayClassTypes?: string[] | null;
16688
+ };
16689
+ /**
16690
+ * A **FreshQualityIntegration** Type
16691
+ */
16692
+ export type FreshQualityIntegration = {
16643
16693
  /**
16644
16694
  * The Points used for this FreshQuality Integration
16645
16695
  */
@@ -26818,7 +26868,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
26818
26868
  /**
26819
26869
  * The FreshPack Integration Configuration for this Packing Line
26820
26870
  *
26821
- * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
26871
+ * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
26822
26872
  * @public
26823
26873
  */
26824
26874
  freshPackIntegration: {
@@ -26832,6 +26882,9 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
26832
26882
  apiCommunicationStatus: number;
26833
26883
  currentPackrunClearanceSummary: number;
26834
26884
  nextPackrunClearanceSummary: number;
26885
+ currentPackrunMarketHolds: number | null;
26886
+ nextPackrunMarketHolds: number | null;
26887
+ apiVersion: number;
26835
26888
  };
26836
26889
  enabled: boolean;
26837
26890
  graderIds: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -171,7 +171,7 @@ export default PackingLineController;
171
171
  * @property {?PackingLineController.AdvancedPackrunManagement} [advancedPackrunManagement] The Advanced Packrun Management Configuration for this Packing Line
172
172
  * @property {?PackingLineController.MafIntegration} [mafIntegration] The MAF Integration Configuration for this Packing Line
173
173
  * @property {?PackingLineController.FreshPackIntegration} [freshPackIntegration] The FreshPack Integration Configuration for this Packing Line
174
- * @property {?PackingLineController.FreshPackIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
174
+ * @property {?PackingLineController.FreshQualityIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
175
175
  * @memberof Controllers.Packhouse.Site
176
176
  */
177
177
 
@@ -193,7 +193,7 @@ export default PackingLineController;
193
193
  * @property {?PackingLineController.AdvancedPackrunManagement} [advancedPackrunManagement] The Advanced Packrun Management Configuration for this Packing Line
194
194
  * @property {?PackingLineController.MafIntegration} [mafIntegration] The MAF Integration Configuration for this Packing Line
195
195
  * @property {?PackingLineController.FreshPackIntegration} [freshPackIntegration] The FreshPack Integration Configuration for this Packing Line
196
- * @property {?PackingLineController.FreshPackIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
196
+ * @property {?PackingLineController.FreshQualityIntegration} [freshQualityIntegration] The FreshQuality Integration Configuration for this Packing Line
197
197
  * @memberof Controllers.Packhouse.Site
198
198
  */
199
199
 
@@ -629,6 +629,21 @@ export default PackingLineController;
629
629
  * A **FreshPackIntegration** Type
630
630
  *
631
631
  * @typedef {Object} PackingLineController.FreshPackIntegration
632
+ * @property {{graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: number}} points The Points used for this FreshPack Integration
633
+ * @property {boolean} enabled Whether the FreshPack Integration is Enabled on this Packing Line
634
+ * @property {number[]} graderIds An Array of FreshPack Grader IDs that relate to this Packing Line
635
+ * @property {string} apiBaseUrl Base URL of the FreshPack Web Portal API
636
+ * @property {string} computerName A Computer Name to use when Performing Actions on the FreshPack API
637
+ * @property {number} productionFacilityId FreshPack Production Facility ID this Packing Line is associated with
638
+ * @property {Array<PackingLineController.ClassTypeRejectCategory>} classTypeRejectCategoryIds An Array of FreshPack Reject Category IDs that relate to Class Types on this Packing Line
639
+ * @property {?string[]} [packrunSourceTrayClassTypes] An Optional Array of Class Types that should be collected from FreshPack Tray Totals on this Packing Line
640
+ * @memberof Controllers.Packhouse.Site
641
+ */
642
+
643
+ /**
644
+ * A **FreshQualityIntegration** Type
645
+ *
646
+ * @typedef {Object} PackingLineController.FreshQualityIntegration
632
647
  * @property {{currentPackrunSamples: number, apiCommunicationStatus: number, currentPackrunMajorPackingDefects: number, currentPackrunMinorPackingDefects: number, currentPackrunTotalPackingDefects: number, currentPackrunFutureStorageDefects: number, currentPackrunMajorPackingDefectsCount: number, currentPackrunMinorPackingDefectsCount: number, currentPackrunTotalPackingDefectsCount: number, currentPackrunFutureStorageDefectsCount: number}} points The Points used for this FreshQuality Integration
633
648
  * @property {boolean} enabled Whether the FreshQuality Integration is Enabled on this Packing Line
634
649
  * @property {string} username Username for Authenticating with the FreshQuality API
@@ -214,7 +214,7 @@ class PackingLineModel extends BaseModel
214
214
  /**
215
215
  * The FreshPack Integration Configuration for this Packing Line
216
216
  *
217
- * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
217
+ * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
218
218
  * @public
219
219
  */
220
220
  this.freshPackIntegration = null;
@@ -5334,6 +5334,64 @@ class PackingLineModel extends BaseModel
5334
5334
  {
5335
5335
  pointsObject.nextPackrunClearanceSummary = 0;
5336
5336
  }
5337
+
5338
+ if(typeof jsonObject['freshPackIntegration'].points === 'object' && 'currentPackrunMarketHolds' in jsonObject['freshPackIntegration'].points)
5339
+ {
5340
+ pointsObject.currentPackrunMarketHolds = (function(){
5341
+ if(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds === null)
5342
+ {
5343
+ return null;
5344
+ }
5345
+
5346
+ if(typeof jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds !== 'number')
5347
+ {
5348
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds)) ? Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds) : Math.floor(Number(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds));
5349
+ }
5350
+
5351
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds) ? jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds : Math.floor(jsonObject['freshPackIntegration'].points.currentPackrunMarketHolds);
5352
+ }());
5353
+ }
5354
+ else
5355
+ {
5356
+ pointsObject.currentPackrunMarketHolds = null;
5357
+ }
5358
+
5359
+ if(typeof jsonObject['freshPackIntegration'].points === 'object' && 'nextPackrunMarketHolds' in jsonObject['freshPackIntegration'].points)
5360
+ {
5361
+ pointsObject.nextPackrunMarketHolds = (function(){
5362
+ if(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds === null)
5363
+ {
5364
+ return null;
5365
+ }
5366
+
5367
+ if(typeof jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds !== 'number')
5368
+ {
5369
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds)) ? Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds) : Math.floor(Number(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds));
5370
+ }
5371
+
5372
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds) ? jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds : Math.floor(jsonObject['freshPackIntegration'].points.nextPackrunMarketHolds);
5373
+ }());
5374
+ }
5375
+ else
5376
+ {
5377
+ pointsObject.nextPackrunMarketHolds = null;
5378
+ }
5379
+
5380
+ if(typeof jsonObject['freshPackIntegration'].points === 'object' && 'apiVersion' in jsonObject['freshPackIntegration'].points)
5381
+ {
5382
+ pointsObject.apiVersion = (function(){
5383
+ if(typeof jsonObject['freshPackIntegration'].points.apiVersion !== 'number')
5384
+ {
5385
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.apiVersion)) ? Number(jsonObject['freshPackIntegration'].points.apiVersion) : Math.floor(Number(jsonObject['freshPackIntegration'].points.apiVersion));
5386
+ }
5387
+
5388
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.apiVersion) ? jsonObject['freshPackIntegration'].points.apiVersion : Math.floor(jsonObject['freshPackIntegration'].points.apiVersion);
5389
+ }());
5390
+ }
5391
+ else
5392
+ {
5393
+ pointsObject.apiVersion = 0;
5394
+ }
5337
5395
 
5338
5396
  return pointsObject;
5339
5397
  }());
@@ -5361,6 +5419,12 @@ class PackingLineModel extends BaseModel
5361
5419
 
5362
5420
  pointsDefaultValue.nextPackrunClearanceSummary = 0;
5363
5421
 
5422
+ pointsDefaultValue.currentPackrunMarketHolds = null;
5423
+
5424
+ pointsDefaultValue.nextPackrunMarketHolds = null;
5425
+
5426
+ pointsDefaultValue.apiVersion = 0;
5427
+
5364
5428
  return pointsDefaultValue;
5365
5429
  }());
5366
5430
  }
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.5.4';
2
+ export const version = '2.5.5';