@ricado/api-client 2.7.10 → 2.8.0

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.
Files changed (35) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Lab/Site/FruitProfileController.js +10 -10
  3. package/lib/Controllers/Lab/Site/LabController.js +1 -1
  4. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
  5. package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +1 -1
  6. package/lib/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
  7. package/lib/Controllers/Packhouse/Site/PackingLineController.js +9 -5
  8. package/lib/Controllers/Packhouse/Site/ReemoonSizerController.js +2 -2
  9. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
  10. package/lib/Controllers/Packhouse/Site/VarietyController.js +2 -2
  11. package/lib/Models/Lab/Site/FruitProfileModel.js +4 -4
  12. package/lib/Models/Packhouse/Site/CompacSizerModel.js +1 -1
  13. package/lib/Models/Packhouse/Site/MAFSizerModel.js +1 -1
  14. package/lib/Models/Packhouse/Site/PackingLineModel.js +86 -4
  15. package/lib/Models/Packhouse/Site/ReemoonSizerModel.js +1 -1
  16. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +18 -1
  17. package/lib/PackageVersion.js +1 -1
  18. package/lib/index.d.ts +71 -36
  19. package/package.json +1 -1
  20. package/src/Controllers/Lab/Site/FruitProfileController.js +10 -10
  21. package/src/Controllers/Lab/Site/LabController.js +1 -1
  22. package/src/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
  23. package/src/Controllers/Packhouse/Site/GrowingMethodController.js +1 -1
  24. package/src/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
  25. package/src/Controllers/Packhouse/Site/PackingLineController.js +9 -5
  26. package/src/Controllers/Packhouse/Site/ReemoonSizerController.js +2 -2
  27. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
  28. package/src/Controllers/Packhouse/Site/VarietyController.js +2 -2
  29. package/src/Models/Lab/Site/FruitProfileModel.js +4 -4
  30. package/src/Models/Packhouse/Site/CompacSizerModel.js +1 -1
  31. package/src/Models/Packhouse/Site/MAFSizerModel.js +1 -1
  32. package/src/Models/Packhouse/Site/PackingLineModel.js +117 -4
  33. package/src/Models/Packhouse/Site/ReemoonSizerModel.js +1 -1
  34. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +24 -1
  35. package/src/PackageVersion.js +1 -1
@@ -177,8 +177,8 @@ var _default = FruitProfileController;
177
177
  *
178
178
  * @typedef {Object} FruitProfileController.CreateData
179
179
  * @property {string} name The Fruit Profile Name
180
- * @property {string} description The Fruit Profile Description
181
- * @property {string} image The Fruit Profile Image Source
180
+ * @property {string} [description] The Fruit Profile Description
181
+ * @property {string} [image] The Fruit Profile Image Source
182
182
  * @property {number} nominalWarmUpDuration The Typical Warm Up Duration (in seconds) for a Sample to reach the Minimum Target Temperature
183
183
  * @property {number} minimumWithinTargetDuration The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
184
184
  * @property {number} minimumTotalDuration The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
@@ -186,13 +186,13 @@ var _default = FruitProfileController;
186
186
  * @property {number} minimumTargetTemperature The Minimum Target Temperature for a Sample to be Compliant
187
187
  * @property {number} maximumTargetTemperature The Maximum Target Temperature for a Sample to be Compliant
188
188
  * @property {number} warmUpStartExpectedTemperature The Warm-Up Temperature for starting the Warm Up alerts
189
- * @property {number} warmUpStartExpectedRateOfChange The Warm-Up Start Expected Rate of Change
189
+ * @property {number} warmUpStartExpectedRateOfChange The Warm-Up Start Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Start Expected Temperature. A Warm Up Warning is raised when the measured Rate of Change falls below the Expected Rate for the current stage
190
190
  * @property {number} warmUpStageTwoExpectedTemperature The Warm-Up Stage Two Expected Temperature
191
- * @property {number} warmUpStageTwoExpectedRateOfChange The Warm-Up Stage Two Expected Rate of Change
191
+ * @property {number} warmUpStageTwoExpectedRateOfChange The Warm-Up Stage Two Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Two Expected Temperature
192
192
  * @property {number} warmUpStageThreeExpectedTemperature The Warm-Up Stage Three Expected Temperature
193
- * @property {number} warmUpStageThreeExpectedRateOfChange The Warm-Up Stage Three Expected Rate of Change
193
+ * @property {number} warmUpStageThreeExpectedRateOfChange The Warm-Up Stage Three Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Three Expected Temperature
194
194
  * @property {number} warmUpEndExpectedTemperature The Warm-Up End Expected Temperature
195
- * @property {number} warmUpEndExpectedRateOfChange The Warm-Up End Expected Rate of Change
195
+ * @property {number} warmUpEndExpectedRateOfChange The Warm-Up End Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the End Expected Temperature
196
196
  * @memberof Controllers.Lab.Site
197
197
  */
198
198
 
@@ -210,13 +210,13 @@ var _default = FruitProfileController;
210
210
  * @property {number} [minimumTargetTemperature] The Minimum Target Temperature for a Sample to be Compliant
211
211
  * @property {number} [maximumTargetTemperature] The Maximum Target Temperature for a Sample to be Compliant
212
212
  * @property {number} [warmUpStartExpectedTemperature] The Warm-Up Temperature for starting the Warm Up alerts
213
- * @property {number} [warmUpStartExpectedRateOfChange] The Warm-Up Start Expected Rate of Change
213
+ * @property {number} [warmUpStartExpectedRateOfChange] The Warm-Up Start Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Start Expected Temperature. A Warm Up Warning is raised when the measured Rate of Change falls below the Expected Rate for the current stage
214
214
  * @property {number} [warmUpStageTwoExpectedTemperature] The Warm-Up Stage Two Expected Temperature
215
- * @property {number} [warmUpStageTwoExpectedRateOfChange] The Warm-Up Stage Two Expected Rate of Change
215
+ * @property {number} [warmUpStageTwoExpectedRateOfChange] The Warm-Up Stage Two Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Two Expected Temperature
216
216
  * @property {number} [warmUpStageThreeExpectedTemperature] The Warm-Up Stage Three Expected Temperature
217
- * @property {number} [warmUpStageThreeExpectedRateOfChange] The Warm-Up Stage Three Expected Rate of Change
217
+ * @property {number} [warmUpStageThreeExpectedRateOfChange] The Warm-Up Stage Three Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Three Expected Temperature
218
218
  * @property {number} [warmUpEndExpectedTemperature] The Warm-Up End Expected Temperature
219
- * @property {number} [warmUpEndExpectedRateOfChange] The Warm-Up End Expected Rate of Change
219
+ * @property {number} [warmUpEndExpectedRateOfChange] The Warm-Up End Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the End Expected Temperature
220
220
  * @memberof Controllers.Lab.Site
221
221
  */
222
222
 
@@ -180,7 +180,7 @@ var _default = LabController;
180
180
  * @property {?number} [rtuId] The RTU this Lab belongs to
181
181
  * @property {string} name The Lab Name
182
182
  * @property {string} [shortName] A Short Name for the Lab Name. Typically used in Reports and Tables showing multiple Labs
183
- * @property {Object} points The Points used by this Lab
183
+ * @property {Object} [points] The Points used by this Lab
184
184
  * @property {Array<LabController.RackReference>} [racks] The Rack Objects that belong to this Lab
185
185
  * @property {string[]} [alarmGroups] The Alarm Groups that are used by this Lab
186
186
  * @property {?LabController.InspectIntegration} [inspectIntegration] The Inspect Integration Configuration for this Lab
@@ -183,7 +183,7 @@ var _default = CompacSizerController;
183
183
  * @property {string} name The Compac Sizer Name
184
184
  * @property {string} packingLineId The Packing Line ID that manages this Compac Sizer
185
185
  * @property {string} sizerType The Sizer Type
186
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this Compac Sizer
186
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this Compac Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
187
187
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchGrowerCode: number, currentBatchVarietyId: number, currentBatchVarietyName: number, currentBatchComments: number, currentBatchStartTimestamp: number, currentBatchLayoutId: number, currentBatchLayoutName: number, currentBatchSizingProfileName: ?number, currentBatchFruitSizeProfile: ?number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineRecycledFruitPerMinute: number, machineTotalFruitPerMinute: number, machineDroppedFruitPerMinute: number, machinePackedFruitPerMinute: number, machineMissedFruitPerMinute: number, machineRejectFruitPerMinute: number, machineTraysPerHour: number, machineTraysPerHourTarget: ?number, machineTonnesPerHour: number, machineRodsPerMinute: number, machineIncomingFruitPerMinuteBySize: ?number, machineRecycleFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteByGrade: ?number, createNewBatchRequest: number, createBatchOnPackrunChange: number, createBatchOnTimeBatchChange: number, restartServiceRequest: number, outletGroupSummaries: number, varieties: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number}} points The Points used by this Compac Sizer
188
188
  * @property {Array<CompacSizerController.CompacSizerLane>} [lanes] The Lanes defined for this Compac Sizer
189
189
  * @property {Array<CompacSizerController.CompacSizerFrame>} [frames] An Optional Array of Frames defined for this Compac Sizer
@@ -201,7 +201,7 @@ var _default = CompacSizerController;
201
201
  * @property {string} [name] The Compac Sizer Name
202
202
  * @property {string} [packingLineId] The Packing Line ID that manages this Compac Sizer
203
203
  * @property {string} [sizerType] The Sizer Type
204
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this Compac Sizer
204
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this Compac Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
205
205
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchGrowerCode: number, currentBatchVarietyId: number, currentBatchVarietyName: number, currentBatchComments: number, currentBatchStartTimestamp: number, currentBatchLayoutId: number, currentBatchLayoutName: number, currentBatchSizingProfileName: ?number, currentBatchFruitSizeProfile: ?number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineRecycledFruitPerMinute: number, machineTotalFruitPerMinute: number, machineDroppedFruitPerMinute: number, machinePackedFruitPerMinute: number, machineMissedFruitPerMinute: number, machineRejectFruitPerMinute: number, machineTraysPerHour: number, machineTraysPerHourTarget: ?number, machineTonnesPerHour: number, machineRodsPerMinute: number, machineIncomingFruitPerMinuteBySize: ?number, machineRecycleFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteByGrade: ?number, createNewBatchRequest: number, createBatchOnPackrunChange: number, createBatchOnTimeBatchChange: number, restartServiceRequest: number, outletGroupSummaries: number, varieties: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number}} [points] The Points used by this Compac Sizer
206
206
  * @property {Array<CompacSizerController.CompacSizerLane>} [lanes] The Lanes defined for this Compac Sizer
207
207
  * @property {Array<CompacSizerController.CompacSizerFrame>} [frames] An Optional Array of Frames defined for this Compac Sizer
@@ -179,7 +179,7 @@ var _default = GrowingMethodController;
179
179
  * @typedef {Object} GrowingMethodController.CreateData
180
180
  * @property {string} [code] The Growing Method Code
181
181
  * @property {string} name The Growing Method Name
182
- * @property {string} description The Growing Method Description
182
+ * @property {string} [description] The Growing Method Description
183
183
  * @memberof Controllers.Packhouse.Site
184
184
  */
185
185
 
@@ -183,7 +183,7 @@ var _default = MAFSizerController;
183
183
  * @property {string} name The MAF Sizer Name
184
184
  * @property {string} packingLineId The Packing Line ID that manages this MAF Sizer
185
185
  * @property {string} sizerType The Sizer Type
186
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this MAF Sizer
186
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this MAF Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
187
187
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchGrowerCode: number, currentBatchGrowerName: number, currentBatchVarietyCode: number, currentBatchVarietyName: number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineRecycledFruitPerMinute: number, machineTotalFruitPerMinute: number, machineTraysPerHour: number, machineTonnesPerHour: number, machineRodsPerMinute: number, outletGroupSummaries: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number, createNewBatchRequest: ?number, createBatchOnPackrunChange: ?number, createBatchOnTimeBatchChange: ?number, restartServiceRequest: ?number}} points The Points used by this MAF Sizer
188
188
  * @property {Array<MAFSizerController.MAFSizerLane>} [lanes] The Lanes defined for this MAF Sizer
189
189
  * @property {Array<MAFSizerController.MAFSizerOutlet>} [outlets] The Outlets defined for this MAF Sizer
@@ -202,7 +202,7 @@ var _default = MAFSizerController;
202
202
  * @property {string} [name] The MAF Sizer Name
203
203
  * @property {string} [packingLineId] The Packing Line ID that manages this MAF Sizer
204
204
  * @property {string} [sizerType] The Sizer Type
205
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this MAF Sizer
205
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this MAF Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
206
206
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchGrowerCode: number, currentBatchGrowerName: number, currentBatchVarietyCode: number, currentBatchVarietyName: number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineRecycledFruitPerMinute: number, machineTotalFruitPerMinute: number, machineTraysPerHour: number, machineTonnesPerHour: number, machineRodsPerMinute: number, outletGroupSummaries: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number, createNewBatchRequest: ?number, createBatchOnPackrunChange: ?number, createBatchOnTimeBatchChange: ?number, restartServiceRequest: ?number}} [points] The Points used by this MAF Sizer
207
207
  * @property {Array<MAFSizerController.MAFSizerLane>} [lanes] The Lanes defined for this MAF Sizer
208
208
  * @property {Array<MAFSizerController.MAFSizerOutlet>} [outlets] The Outlets defined for this MAF Sizer
@@ -567,6 +567,10 @@ var _default = PackingLineController;
567
567
  * @property {number} index An Index used to Order Steps and compare with the Current Step Point value
568
568
  * @property {string} type The Type of Step
569
569
  * @property {string[]} sizerIds An Array of Sizer IDs to be included in this Step
570
+ * @property {?number} [automationRunningPointId] Optional Boolean Point that reports whether Line Automation is running. While this Point is `false` the Auto Advance countdown is held
571
+ * @property {?number} [autoAdvanceTimeRemainingPointId] Optional Integer Point the RTU counts down (in Milliseconds) before Auto Advancing to the next Step. Set to `autoAdvanceDelay` when this Step becomes Active
572
+ * @property {?number} [autoAdvancePausedPointId] Optional Boolean Point that pauses the Auto Advance countdown while `true`. Reset to `false` when this Step becomes Active
573
+ * @property {?number} [autoAdvanceDelay] Optional Auto Advance Delay in Milliseconds written to the Time Remaining Point when this Step becomes Active. Auto Advance only occurs when both this and `autoAdvanceTimeRemainingPointId` are set
570
574
  * @memberof Controllers.Packhouse.Site
571
575
  */
572
576
 
@@ -600,7 +604,7 @@ var _default = PackingLineController;
600
604
  * @property {?string} subtitle An Optional Subtitle for this Auto MAF Action Step
601
605
  * @property {string} description A Description for this Auto MAF Action Step
602
606
  * @property {string} actionType Type of MAF Action to be performed
603
- * @property {string} trigger When this Action should be performed. 'begin' performed once when this Step becomes Active. 'end' performed once when this Step is no longer Active. 'always' performed constantly while this Step is Active
607
+ * @property {string} actionTrigger When this Action should be performed. 'begin' performed once when this Step becomes Active. 'end' performed once when this Step is no longer Active. 'always' performed constantly while this Step is Active
604
608
  * @property {?any} actionReference An Optional Reference for this Action (e.g. The Internal MAF Name of a Sizer or Numeric Sizer ID
605
609
  * @memberof Controllers.Packhouse.Site
606
610
  */
@@ -615,7 +619,7 @@ var _default = PackingLineController;
615
619
  * @property {?string} subtitle An Optional Subtitle for this Manual MAF Action Step
616
620
  * @property {string} description A Description for this Manual MAF Action Step
617
621
  * @property {string} actionType Type of MAF Action to be performed
618
- * @property {string} trigger When this Action should be performed. 'begin' performed once when this Step becomes Active. 'end' performed once when this Step is no longer Active. 'always' performed constantly while this Step is Active
622
+ * @property {string} actionTrigger When this Action should be performed. 'begin' performed once when this Step becomes Active. 'end' performed once when this Step is no longer Active. 'always' performed constantly while this Step is Active
619
623
  * @property {?any} actionReference An Optional Reference for this Action (e.g. The Internal MAF Name of a Sizer or Numeric Sizer ID
620
624
  * @memberof Controllers.Packhouse.Site
621
625
  */
@@ -634,7 +638,7 @@ var _default = PackingLineController;
634
638
  * A **MafIntegration** Type
635
639
  *
636
640
  * @typedef {Object} PackingLineController.MafIntegration
637
- * @property {{apiCommunicationStatus: number, batchManagementStateNumber: number, batchManagementStateMessage: number, batchManagementLineName: number, batchManagementCurrentLot: number, batchManagementEndOfDay: number, skipBrushesSweepRequest: number, finishPackrunBeginRequest: number, finishPackrunCancelRequest: number, finishPackrunAdvanceRequest: number, finishPackrunSkipStepRequest: number, finishPackrunCurrentStep: number, timeBatchChangeBeginRequest: number, timeBatchChangeCancelRequest: number, timeBatchChangeAdvanceRequest: number, timeBatchChangeSkipStepRequest: number, timeBatchChangeCurrentStep: number}} points The Points used for this MAF Integration
641
+ * @property {{apiCommunicationStatus: number, batchManagementStateNumber: number, batchManagementStateMessage: number, batchManagementLineName: number, batchManagementCurrentLot: number, batchManagementEndOfDay: number, batchManagementCurrentBatchName: number, batchManagementCurrentBatchTimeBatch: number, batchManagementCurrentBatchCreatedTimestamp: number, recentLotPackruns: number, skipBrushesSweepRequest: number, finishPackrunBeginRequest: number, finishPackrunCancelRequest: number, finishPackrunAdvanceRequest: number, finishPackrunSkipStepRequest: number, finishPackrunCurrentStep: number, timeBatchChangeBeginRequest: number, timeBatchChangeCancelRequest: number, timeBatchChangeAdvanceRequest: number, timeBatchChangeSkipStepRequest: number, timeBatchChangeCurrentStep: number}} points The Points used for this MAF Integration
638
642
  * @property {boolean} enabled Whether the MAF Integration is Enabled on this Packing Line
639
643
  * @property {string} tracAddress The IP Address or Server Name of the MAF TRAC PC
640
644
  * @memberof Controllers.Packhouse.Site
@@ -653,7 +657,7 @@ var _default = PackingLineController;
653
657
  * A **FreshPackIntegration** Type
654
658
  *
655
659
  * @typedef {Object} PackingLineController.FreshPackIntegration
656
- * @property {{graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, marketHolds: number, varieties: ?number, produces: ?number, growingMethods: ?number, fruitClasses: ?number, fruitSizes: ?number, packStyles: ?number, nssLabelTypes: ?number, multiGrowerBinProducts: ?number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: ?number, activePackrunName: ?number, activeTimeBatch: ?number, classTypeMultiGrowerBinProductIds: ?number}} points The Points used for this FreshPack Integration
660
+ * @property {{graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, marketHolds: number, varieties: ?number, produces: ?number, growingMethods: ?number, fruitClasses: ?number, fruitSizes: ?number, packStyles: ?number, nssLabelTypes: ?number, multiGrowerBinProducts: ?number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: ?number, activePackrunName: ?number, activeTimeBatch: ?number, classTypeMultiGrowerBinProductIds: ?number, packrunAutoImportEnabled: ?number}} points The Points used for this FreshPack Integration
657
661
  * @property {boolean} enabled Whether the FreshPack Integration is Enabled on this Packing Line
658
662
  * @property {number[]} graderIds An Array of FreshPack Grader IDs that relate to this Packing Line
659
663
  * @property {string} apiBaseUrl Base URL of the FreshPack Web Portal API
@@ -685,7 +689,7 @@ var _default = PackingLineController;
685
689
  * A **GrowerNotifications** Type
686
690
  *
687
691
  * @typedef {Object} PackingLineController.GrowerNotifications
688
- * @property {{packingSoonAutoNotificationEnabled: number, packingSoonAutoNotificationSeconds: number, packingTodayAutoNotificationEnabled: number, packingTodayAutoNotificationTime: number, sendPackingTodayNotificationRequest: number, packingTodayNotificationProcessed: number, externalContactsCommunicationStatus: number, externalContactsCommunicationLastAttempt: number, externalContactsCommunicationLastError: number}} points The Points used for Grower Notifications
692
+ * @property {{packingSoonAutoNotificationEnabled: number, packingSoonAutoNotificationSeconds: number, packingTodayAutoNotificationEnabled: number, packingTodayAutoNotificationTime: number, sendPackingTodayNotificationRequest: number, packingTodayNotificationProcessed: number, externalContactsCommunicationStatus: number, externalContactsCommunicationLastAttempt: number, externalContactsCommunicationLastError: number, allowSmsMessagesOvernight: number}} points The Points used for Grower Notifications
689
693
  * @property {boolean} enabled Whether the Grower Notifications Integration is Enabled on this Packing Line
690
694
  * @memberof Controllers.Packhouse.Site
691
695
  */
@@ -183,7 +183,7 @@ var _default = ReemoonSizerController;
183
183
  * @property {string} name The Reemoon Sizer Name
184
184
  * @property {string} packingLineId The Packing Line ID that manages this Reemoon Sizer
185
185
  * @property {string} sizerType The Sizer Type
186
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this Reemoon Sizer
186
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this Reemoon Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
187
187
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchVarietyCode: number, currentBatchStartTimestamp: number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineIncomingFruitPerMinute: number, machineRecycledFruitPerMinute: number, machineTraysPerHour: number, machineTonnesPerHour: number, machineRodsPerMinute: number, machineIncomingFruitPerMinuteBySize: ?number, machineRecycledFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteBySize: ?number, createNewBatchRequest: number, createBatchOnPackrunChange: number, createBatchOnTimeBatchChange: number, outletGroupSummaries: number, products: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number}} points The Points used by this Reemoon Sizer
188
188
  * @property {Array<ReemoonSizerController.ReemoonSizerLane>} [lanes] The Lanes defined for this Reemoon Sizer
189
189
  * @property {Array<ReemoonSizerController.ReemoonSizerOutlet>} [outlets] The Outlets defined for this Reemoon Sizer
@@ -202,7 +202,7 @@ var _default = ReemoonSizerController;
202
202
  * @property {string} [name] The Reemoon Sizer Name
203
203
  * @property {string} [packingLineId] The Packing Line ID that manages this Reemoon Sizer
204
204
  * @property {string} [sizerType] The Sizer Type
205
- * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Seconds for this Reemoon Sizer
205
+ * @property {number} [autoCreateBatchDelay] The Auto Create Batch Delay in Milliseconds for this Reemoon Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
206
206
  * @property {{currentBatchId: number, currentBatchName: number, currentBatchVarietyCode: number, currentBatchStartTimestamp: number, currentBatchPackrunId: number, currentBatchPackrunName: number, machineAverageFruitWeight: number, machineAverageFruitSize: number, machineCupFill: number, machineIncomingFruitPerMinute: number, machineRecycledFruitPerMinute: number, machineTraysPerHour: number, machineTonnesPerHour: number, machineRodsPerMinute: number, machineIncomingFruitPerMinuteBySize: ?number, machineRecycledFruitPerMinuteBySize: ?number, machineLanesFruitPerMinuteBySize: ?number, createNewBatchRequest: number, createBatchOnPackrunChange: number, createBatchOnTimeBatchChange: number, outletGroupSummaries: number, products: number, packTypeOutletUtilizationTargets: number, class1TraysPerHour: ?number}} [points] The Points used by this Reemoon Sizer
207
207
  * @property {Array<ReemoonSizerController.ReemoonSizerLane>} [lanes] The Lanes defined for this Reemoon Sizer
208
208
  * @property {Array<ReemoonSizerController.ReemoonSizerOutlet>} [outlets] The Outlets defined for this Reemoon Sizer
@@ -182,7 +182,7 @@ var _default = RejectBinScaleController;
182
182
  * @typedef {Object} RejectBinScaleController.CreateData
183
183
  * @property {?number} [rtuId] The RTU this Reject Bin Scale belongs to
184
184
  * @property {string} name The Name of this Reject Bin Scale
185
- * @property {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}} points The Points used by this Reject Bin Scale
185
+ * @property {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, resetErrorRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}} points The Points used by this Reject Bin Scale
186
186
  * @property {string} packingLineId The Packing Line that owns this Reject Bin Scale
187
187
  * @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
188
188
  * @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
@@ -209,7 +209,7 @@ var _default = RejectBinScaleController;
209
209
  *
210
210
  * @typedef {Object} RejectBinScaleController.UpdateData
211
211
  * @property {string} [name] The Name of this Reject Bin Scale
212
- * @property {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}} [points] The Points used by this Reject Bin Scale
212
+ * @property {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, resetErrorRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}} [points] The Points used by this Reject Bin Scale
213
213
  * @property {string} [packingLineId] The Packing Line that owns this Reject Bin Scale
214
214
  * @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
215
215
  * @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
@@ -179,8 +179,8 @@ var _default = VarietyController;
179
179
  * @typedef {Object} VarietyController.CreateData
180
180
  * @property {string} [code] The Variety Code
181
181
  * @property {string} name The Variety Name
182
- * @property {string} description The Variety Description
183
- * @property {string} image The Variety Image Source
182
+ * @property {string} [description] The Variety Description
183
+ * @property {string} [image] The Variety Image Source
184
184
  * @property {Array<VarietyController.VarietyFruitSize>} fruitSizes An Array of Fruit Sizes Defined for this Variety
185
185
  * @memberof Controllers.Packhouse.Site
186
186
  */
@@ -144,7 +144,7 @@ var FruitProfileModel = /*#__PURE__*/function (_BaseModel) {
144
144
 
145
145
  _this.warmUpStartExpectedTemperature = 0;
146
146
  /**
147
- * The Warm-Up Start Expected Rate of Change
147
+ * The Warm-Up Start Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Start Expected Temperature. A Warm Up Warning is raised when the measured Rate of Change falls below the Expected Rate for the current stage
148
148
  *
149
149
  * @type {number}
150
150
  * @public
@@ -160,7 +160,7 @@ var FruitProfileModel = /*#__PURE__*/function (_BaseModel) {
160
160
 
161
161
  _this.warmUpStageTwoExpectedTemperature = 0;
162
162
  /**
163
- * The Warm-Up Stage Two Expected Rate of Change
163
+ * The Warm-Up Stage Two Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Two Expected Temperature
164
164
  *
165
165
  * @type {number}
166
166
  * @public
@@ -176,7 +176,7 @@ var FruitProfileModel = /*#__PURE__*/function (_BaseModel) {
176
176
 
177
177
  _this.warmUpStageThreeExpectedTemperature = 0;
178
178
  /**
179
- * The Warm-Up Stage Three Expected Rate of Change
179
+ * The Warm-Up Stage Three Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the Stage Three Expected Temperature
180
180
  *
181
181
  * @type {number}
182
182
  * @public
@@ -192,7 +192,7 @@ var FruitProfileModel = /*#__PURE__*/function (_BaseModel) {
192
192
 
193
193
  _this.warmUpEndExpectedTemperature = 0;
194
194
  /**
195
- * The Warm-Up End Expected Rate of Change
195
+ * The Warm-Up End Expected Rate of Change: the minimum Temperature rise in Degrees Celsius over the trailing 10 minute window expected once the Sample reaches the End Expected Temperature
196
196
  *
197
197
  * @type {number}
198
198
  * @public
@@ -96,7 +96,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
96
96
 
97
97
  _this.sizerType = "";
98
98
  /**
99
- * The Auto Create Batch Delay in Seconds for this Compac Sizer
99
+ * The Auto Create Batch Delay in Milliseconds for this Compac Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
100
100
  *
101
101
  * @type {number}
102
102
  * @public
@@ -96,7 +96,7 @@ var MAFSizerModel = /*#__PURE__*/function (_BaseModel) {
96
96
 
97
97
  _this.sizerType = "";
98
98
  /**
99
- * The Auto Create Batch Delay in Seconds for this MAF Sizer
99
+ * The Auto Create Batch Delay in Milliseconds for this MAF Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
100
100
  *
101
101
  * @type {number}
102
102
  * @public
@@ -199,7 +199,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
199
199
  /**
200
200
  * The Advanced Packrun Management Configuration for this Packing Line
201
201
  *
202
- * @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: Array<{index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}>, enabled: boolean}}
202
+ * @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: Array<{index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[], automationRunningPointId: ?number, autoAdvanceTimeRemainingPointId: ?number, autoAdvancePausedPointId: ?number, autoAdvanceDelay: ?number}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, actionTrigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, actionTrigger: string, actionReference: ?any}>, enabled: boolean}}
203
203
  * @public
204
204
  */
205
205
 
@@ -207,7 +207,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
207
207
  /**
208
208
  * The MAF Integration Configuration for this Packing Line
209
209
  *
210
- * @type {?{points: {apiCommunicationStatus: number, batchManagementStateNumber: number, batchManagementStateMessage: number, batchManagementLineName: number, batchManagementCurrentLot: number, batchManagementEndOfDay: number, skipBrushesSweepRequest: number, finishPackrunBeginRequest: number, finishPackrunCancelRequest: number, finishPackrunAdvanceRequest: number, finishPackrunSkipStepRequest: number, finishPackrunCurrentStep: number, timeBatchChangeBeginRequest: number, timeBatchChangeCancelRequest: number, timeBatchChangeAdvanceRequest: number, timeBatchChangeSkipStepRequest: number, timeBatchChangeCurrentStep: number}, enabled: boolean, tracAddress: string}}
210
+ * @type {?{points: {apiCommunicationStatus: number, batchManagementStateNumber: number, batchManagementStateMessage: number, batchManagementLineName: number, batchManagementCurrentLot: number, batchManagementEndOfDay: number, batchManagementCurrentBatchName: number, batchManagementCurrentBatchTimeBatch: number, batchManagementCurrentBatchCreatedTimestamp: number, recentLotPackruns: number, skipBrushesSweepRequest: number, finishPackrunBeginRequest: number, finishPackrunCancelRequest: number, finishPackrunAdvanceRequest: number, finishPackrunSkipStepRequest: number, finishPackrunCurrentStep: number, timeBatchChangeBeginRequest: number, timeBatchChangeCancelRequest: number, timeBatchChangeAdvanceRequest: number, timeBatchChangeSkipStepRequest: number, timeBatchChangeCurrentStep: number}, enabled: boolean, tracAddress: string}}
211
211
  * @public
212
212
  */
213
213
 
@@ -215,7 +215,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
215
215
  /**
216
216
  * The FreshPack Integration Configuration for this Packing Line
217
217
  *
218
- * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, marketHolds: number, varieties: ?number, produces: ?number, growingMethods: ?number, fruitClasses: ?number, fruitSizes: ?number, packStyles: ?number, nssLabelTypes: ?number, multiGrowerBinProducts: ?number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: ?number, activePackrunName: ?number, activeTimeBatch: ?number, classTypeMultiGrowerBinProductIds: ?number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: ?Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
218
+ * @type {?{points: {graders: number, binTypes: number, printerGroups: number, materialGroups: number, rejectCategories: number, productionFacilities: number, marketHolds: number, varieties: ?number, produces: ?number, growingMethods: ?number, fruitClasses: ?number, fruitSizes: ?number, packStyles: ?number, nssLabelTypes: ?number, multiGrowerBinProducts: ?number, apiCommunicationStatus: number, currentPackrunClearanceSummary: number, nextPackrunClearanceSummary: number, currentPackrunMarketHolds: ?number, nextPackrunMarketHolds: ?number, apiVersion: ?number, activePackrunName: ?number, activeTimeBatch: ?number, classTypeMultiGrowerBinProductIds: ?number, packrunAutoImportEnabled: ?number}, enabled: boolean, graderIds: number[], apiBaseUrl: string, computerName: string, productionFacilityId: number, classTypeRejectCategoryIds: ?Array<{classType: string, rejectCategoryId: number}>, packrunSourceTrayClassTypes: ?string[]}}
219
219
  * @public
220
220
  */
221
221
 
@@ -231,7 +231,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
231
231
  /**
232
232
  * The Optional Grower Notifications Configuration for this Packing Line
233
233
  *
234
- * @type {?{points: {packingSoonAutoNotificationEnabled: number, packingSoonAutoNotificationSeconds: number, packingTodayAutoNotificationEnabled: number, packingTodayAutoNotificationTime: number, sendPackingTodayNotificationRequest: number, packingTodayNotificationProcessed: number, externalContactsCommunicationStatus: number, externalContactsCommunicationLastAttempt: number, externalContactsCommunicationLastError: number}, enabled: boolean}}
234
+ * @type {?{points: {packingSoonAutoNotificationEnabled: number, packingSoonAutoNotificationSeconds: number, packingTodayAutoNotificationEnabled: number, packingTodayAutoNotificationTime: number, sendPackingTodayNotificationRequest: number, packingTodayNotificationProcessed: number, externalContactsCommunicationStatus: number, externalContactsCommunicationLastAttempt: number, externalContactsCommunicationLastError: number, allowSmsMessagesOvernight: number}, enabled: boolean}}
235
235
  * @public
236
236
  */
237
237
 
@@ -4185,6 +4185,54 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4185
4185
  pointsObject.batchManagementEndOfDay = 0;
4186
4186
  }
4187
4187
 
4188
+ if (_typeof(jsonObject['mafIntegration'].points) === 'object' && 'batchManagementCurrentBatchName' in jsonObject['mafIntegration'].points) {
4189
+ pointsObject.batchManagementCurrentBatchName = function () {
4190
+ if (typeof jsonObject['mafIntegration'].points.batchManagementCurrentBatchName !== 'number') {
4191
+ return Number.isInteger(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchName)) ? Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchName) : Math.floor(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchName));
4192
+ }
4193
+
4194
+ return Number.isInteger(jsonObject['mafIntegration'].points.batchManagementCurrentBatchName) ? jsonObject['mafIntegration'].points.batchManagementCurrentBatchName : Math.floor(jsonObject['mafIntegration'].points.batchManagementCurrentBatchName);
4195
+ }();
4196
+ } else {
4197
+ pointsObject.batchManagementCurrentBatchName = 0;
4198
+ }
4199
+
4200
+ if (_typeof(jsonObject['mafIntegration'].points) === 'object' && 'batchManagementCurrentBatchTimeBatch' in jsonObject['mafIntegration'].points) {
4201
+ pointsObject.batchManagementCurrentBatchTimeBatch = function () {
4202
+ if (typeof jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch !== 'number') {
4203
+ return Number.isInteger(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch)) ? Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch) : Math.floor(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch));
4204
+ }
4205
+
4206
+ return Number.isInteger(jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch) ? jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch : Math.floor(jsonObject['mafIntegration'].points.batchManagementCurrentBatchTimeBatch);
4207
+ }();
4208
+ } else {
4209
+ pointsObject.batchManagementCurrentBatchTimeBatch = 0;
4210
+ }
4211
+
4212
+ if (_typeof(jsonObject['mafIntegration'].points) === 'object' && 'batchManagementCurrentBatchCreatedTimestamp' in jsonObject['mafIntegration'].points) {
4213
+ pointsObject.batchManagementCurrentBatchCreatedTimestamp = function () {
4214
+ if (typeof jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp !== 'number') {
4215
+ return Number.isInteger(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp)) ? Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp) : Math.floor(Number(jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp));
4216
+ }
4217
+
4218
+ return Number.isInteger(jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp) ? jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp : Math.floor(jsonObject['mafIntegration'].points.batchManagementCurrentBatchCreatedTimestamp);
4219
+ }();
4220
+ } else {
4221
+ pointsObject.batchManagementCurrentBatchCreatedTimestamp = 0;
4222
+ }
4223
+
4224
+ if (_typeof(jsonObject['mafIntegration'].points) === 'object' && 'recentLotPackruns' in jsonObject['mafIntegration'].points) {
4225
+ pointsObject.recentLotPackruns = function () {
4226
+ if (typeof jsonObject['mafIntegration'].points.recentLotPackruns !== 'number') {
4227
+ return Number.isInteger(Number(jsonObject['mafIntegration'].points.recentLotPackruns)) ? Number(jsonObject['mafIntegration'].points.recentLotPackruns) : Math.floor(Number(jsonObject['mafIntegration'].points.recentLotPackruns));
4228
+ }
4229
+
4230
+ return Number.isInteger(jsonObject['mafIntegration'].points.recentLotPackruns) ? jsonObject['mafIntegration'].points.recentLotPackruns : Math.floor(jsonObject['mafIntegration'].points.recentLotPackruns);
4231
+ }();
4232
+ } else {
4233
+ pointsObject.recentLotPackruns = 0;
4234
+ }
4235
+
4188
4236
  if (_typeof(jsonObject['mafIntegration'].points) === 'object' && 'skipBrushesSweepRequest' in jsonObject['mafIntegration'].points) {
4189
4237
  pointsObject.skipBrushesSweepRequest = function () {
4190
4238
  if (typeof jsonObject['mafIntegration'].points.skipBrushesSweepRequest !== 'number') {
@@ -4328,6 +4376,10 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4328
4376
  pointsDefaultValue.batchManagementLineName = 0;
4329
4377
  pointsDefaultValue.batchManagementCurrentLot = 0;
4330
4378
  pointsDefaultValue.batchManagementEndOfDay = 0;
4379
+ pointsDefaultValue.batchManagementCurrentBatchName = 0;
4380
+ pointsDefaultValue.batchManagementCurrentBatchTimeBatch = 0;
4381
+ pointsDefaultValue.batchManagementCurrentBatchCreatedTimestamp = 0;
4382
+ pointsDefaultValue.recentLotPackruns = 0;
4331
4383
  pointsDefaultValue.skipBrushesSweepRequest = 0;
4332
4384
  pointsDefaultValue.finishPackrunBeginRequest = 0;
4333
4385
  pointsDefaultValue.finishPackrunCancelRequest = 0;
@@ -4727,6 +4779,22 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4727
4779
  pointsObject.classTypeMultiGrowerBinProductIds = null;
4728
4780
  }
4729
4781
 
4782
+ if (_typeof(jsonObject['freshPackIntegration'].points) === 'object' && 'packrunAutoImportEnabled' in jsonObject['freshPackIntegration'].points) {
4783
+ pointsObject.packrunAutoImportEnabled = function () {
4784
+ if (jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled === null) {
4785
+ return null;
4786
+ }
4787
+
4788
+ if (typeof jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled !== 'number') {
4789
+ return Number.isInteger(Number(jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled)) ? Number(jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled) : Math.floor(Number(jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled));
4790
+ }
4791
+
4792
+ return Number.isInteger(jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled) ? jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled : Math.floor(jsonObject['freshPackIntegration'].points.packrunAutoImportEnabled);
4793
+ }();
4794
+ } else {
4795
+ pointsObject.packrunAutoImportEnabled = null;
4796
+ }
4797
+
4730
4798
  return pointsObject;
4731
4799
  }();
4732
4800
  } else {
@@ -4756,6 +4824,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
4756
4824
  pointsDefaultValue.activePackrunName = null;
4757
4825
  pointsDefaultValue.activeTimeBatch = null;
4758
4826
  pointsDefaultValue.classTypeMultiGrowerBinProductIds = null;
4827
+ pointsDefaultValue.packrunAutoImportEnabled = null;
4759
4828
  return pointsDefaultValue;
4760
4829
  }();
4761
4830
  }
@@ -5410,6 +5479,18 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
5410
5479
  pointsObject.externalContactsCommunicationLastError = 0;
5411
5480
  }
5412
5481
 
5482
+ if (_typeof(jsonObject['growerNotifications'].points) === 'object' && 'allowSmsMessagesOvernight' in jsonObject['growerNotifications'].points) {
5483
+ pointsObject.allowSmsMessagesOvernight = function () {
5484
+ if (typeof jsonObject['growerNotifications'].points.allowSmsMessagesOvernight !== 'number') {
5485
+ return Number.isInteger(Number(jsonObject['growerNotifications'].points.allowSmsMessagesOvernight)) ? Number(jsonObject['growerNotifications'].points.allowSmsMessagesOvernight) : Math.floor(Number(jsonObject['growerNotifications'].points.allowSmsMessagesOvernight));
5486
+ }
5487
+
5488
+ return Number.isInteger(jsonObject['growerNotifications'].points.allowSmsMessagesOvernight) ? jsonObject['growerNotifications'].points.allowSmsMessagesOvernight : Math.floor(jsonObject['growerNotifications'].points.allowSmsMessagesOvernight);
5489
+ }();
5490
+ } else {
5491
+ pointsObject.allowSmsMessagesOvernight = 0;
5492
+ }
5493
+
5413
5494
  return pointsObject;
5414
5495
  }();
5415
5496
  } else {
@@ -5424,6 +5505,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
5424
5505
  pointsDefaultValue.externalContactsCommunicationStatus = 0;
5425
5506
  pointsDefaultValue.externalContactsCommunicationLastAttempt = 0;
5426
5507
  pointsDefaultValue.externalContactsCommunicationLastError = 0;
5508
+ pointsDefaultValue.allowSmsMessagesOvernight = 0;
5427
5509
  return pointsDefaultValue;
5428
5510
  }();
5429
5511
  }
@@ -96,7 +96,7 @@ var ReemoonSizerModel = /*#__PURE__*/function (_BaseModel) {
96
96
 
97
97
  _this.sizerType = "";
98
98
  /**
99
- * The Auto Create Batch Delay in Seconds for this Reemoon Sizer
99
+ * The Auto Create Batch Delay in Milliseconds for this Reemoon Sizer. Only honoured when greater than 1200 ms on a Packrun Change or 500 ms on a Time Batch Change, otherwise the RTU default delay applies
100
100
  *
101
101
  * @type {number}
102
102
  * @public
@@ -82,7 +82,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
82
82
  /**
83
83
  * The Points used by this Reject Bin Scale
84
84
  *
85
- * @type {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}}
85
+ * @type {{weighButton: ?number, packrunButton: ?number, manualInterventionButton: ?number, clearIndicator: ?number, busyIndicator: ?number, packrunIndicator: ?number, manualInterventionIndicator: ?number, sirenControl: ?number, scaleTareRequest: ?number, scaleClearTareRequest: ?number, scaleZeroRequest: ?number, scaleStableStatus: number, scaleWeight: ?number, scaleNetWeight: ?number, scaleGrossWeight: ?number, scaleTareWeight: ?number, targetGrossWeight: ?number, currentLiveWeight: ?number, startLiveWeighingRequest: ?number, finishLiveWeighingRequest: ?number, resetErrorRequest: ?number, fruitDeliveryActive: ?number, status: number, currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, incorrectOperationStatus: ?number, currentPackrunIncorrectOperationsCount: ?number, totalIncorrectOperationsCount: ?number, manualInterventionStatus: ?number, currentPackrunManualInterventionsCount: ?number, totalManualInterventionsCount: ?number, currentPackrunBinsWeighedCount: number, totalBinsWeighedCount: number}}
86
86
  * @public
87
87
  */
88
88
 
@@ -108,6 +108,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
108
108
  pointsDefaultValue.currentLiveWeight = null;
109
109
  pointsDefaultValue.startLiveWeighingRequest = null;
110
110
  pointsDefaultValue.finishLiveWeighingRequest = null;
111
+ pointsDefaultValue.resetErrorRequest = null;
111
112
  pointsDefaultValue.fruitDeliveryActive = null;
112
113
  pointsDefaultValue.status = 0;
113
114
  pointsDefaultValue.currentPackrunId = 0;
@@ -678,6 +679,22 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
678
679
  pointsObject.finishLiveWeighingRequest = null;
679
680
  }
680
681
 
682
+ if (_typeof(jsonObject['points']) === 'object' && 'resetErrorRequest' in jsonObject['points']) {
683
+ pointsObject.resetErrorRequest = function () {
684
+ if (jsonObject['points'].resetErrorRequest === null) {
685
+ return null;
686
+ }
687
+
688
+ if (typeof jsonObject['points'].resetErrorRequest !== 'number') {
689
+ return Number.isInteger(Number(jsonObject['points'].resetErrorRequest)) ? Number(jsonObject['points'].resetErrorRequest) : Math.floor(Number(jsonObject['points'].resetErrorRequest));
690
+ }
691
+
692
+ return Number.isInteger(jsonObject['points'].resetErrorRequest) ? jsonObject['points'].resetErrorRequest : Math.floor(jsonObject['points'].resetErrorRequest);
693
+ }();
694
+ } else {
695
+ pointsObject.resetErrorRequest = null;
696
+ }
697
+
681
698
  if (_typeof(jsonObject['points']) === 'object' && 'fruitDeliveryActive' in jsonObject['points']) {
682
699
  pointsObject.fruitDeliveryActive = function () {
683
700
  if (jsonObject['points'].fruitDeliveryActive === null) {
@@ -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.7.10';
8
+ var version = '2.8.0';
9
9
  exports.version = version;