@ricado/api-client 2.0.0 → 2.1.1
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/README.md +5 -7
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/AccountPolicyController.js +1 -1
- package/lib/Controllers/ApiAccountController.js +2 -2
- package/lib/Controllers/CompanyController.js +1 -1
- package/lib/Controllers/FirebaseTokenController.js +1 -1
- package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +6 -6
- package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +6 -6
- package/lib/Controllers/Packhouse/Site/CompacSizerController.js +5 -5
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +6 -6
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +6 -6
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +5 -5
- package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +6 -6
- package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +6 -6
- package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +6 -6
- package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +5 -5
- package/lib/Controllers/Packhouse/Site/PackTypeController.js +5 -5
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +5 -5
- package/lib/Controllers/Packhouse/Site/PackrunController.js +292 -6
- package/lib/Controllers/Packhouse/Site/RejectBinController.js +6 -6
- package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +29 -7
- package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +6 -6
- package/lib/Controllers/Packhouse/Site/ShiftController.js +6 -6
- package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +6 -6
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +6 -6
- package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +453 -0
- package/lib/Controllers/Packhouse/Site/VarietyController.js +5 -5
- package/lib/Controllers/Packhouse/Site/index.js +3 -0
- package/lib/Controllers/RTU/GlobalSettingsController.js +2 -2
- package/lib/Controllers/RTU/PluginSettingsController.js +2 -2
- package/lib/Controllers/RTUController.js +1 -1
- package/lib/Controllers/RTUPluginController.js +1 -1
- package/lib/Controllers/Site/AlarmController.js +6 -6
- package/lib/Controllers/Site/AlarmGroupController.js +5 -5
- package/lib/Controllers/Site/DefinitionController.js +5 -5
- package/lib/Controllers/Site/PermanentObjectController.js +5 -5
- package/lib/Controllers/Site/PermanentObjectDataController.js +6 -6
- package/lib/Controllers/Site/PointController.js +6 -6
- package/lib/Controllers/Site/TemporaryObjectController.js +5 -5
- package/lib/Controllers/SiteController.js +1 -1
- package/lib/Controllers/TokenController.js +2 -2
- package/lib/Controllers/ToolsController.js +1 -1
- package/lib/Controllers/UserAccountActionTokenController.js +2 -2
- package/lib/Controllers/UserAccountController.js +2 -2
- package/lib/DataItems/PointValueItem.js +2 -2
- package/lib/Errors/BadRequestError.js +7 -3
- package/lib/Errors/ForbiddenError.js +7 -3
- package/lib/Errors/NetworkError.js +7 -3
- package/lib/Errors/NotAllowedError.js +7 -3
- package/lib/Errors/NotFoundError.js +7 -3
- package/lib/Errors/ServerError.js +7 -3
- package/lib/Errors/UnauthorizedError.js +7 -3
- package/lib/Models/AccountPolicyModel.js +3 -3
- package/lib/Models/ApiAccountModel.js +3 -3
- package/lib/Models/BaseModel.js +6 -2
- package/lib/Models/CompanyModel.js +3 -3
- package/lib/Models/FirebaseTokenModel.js +3 -3
- package/lib/Models/Packhouse/Site/BinTipWeightModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +16 -6
- package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +16 -6
- package/lib/Models/Packhouse/Site/DowntimeEventModel.js +16 -6
- package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +16 -6
- package/lib/Models/Packhouse/Site/GrowingMethodModel.js +16 -6
- package/lib/Models/Packhouse/Site/PackTypeModel.js +16 -6
- package/lib/Models/Packhouse/Site/PackingLineModel.js +16 -6
- package/lib/Models/Packhouse/Site/PackrunModel.js +16 -6
- package/lib/Models/Packhouse/Site/RejectBinModel.js +16 -6
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +276 -10
- package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +16 -6
- package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +16 -6
- package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +16 -6
- package/lib/Models/Packhouse/Site/ShiftModel.js +16 -6
- package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +235 -0
- package/lib/Models/Packhouse/Site/VarietyModel.js +16 -6
- package/lib/Models/Packhouse/Site/index.js +3 -0
- package/lib/Models/RTUModel.js +3 -3
- package/lib/Models/RTUPluginModel.js +3 -3
- package/lib/Models/Site/AlarmGroupModel.js +16 -6
- package/lib/Models/Site/AlarmModel.js +16 -6
- package/lib/Models/Site/DefinitionModel.js +16 -6
- package/lib/Models/Site/PermanentObjectDataModel.js +16 -6
- package/lib/Models/Site/PermanentObjectModel.js +16 -6
- package/lib/Models/Site/PointModel.js +16 -6
- package/lib/Models/Site/TemporaryObjectModel.js +16 -6
- package/lib/Models/SiteModel.js +3 -3
- package/lib/Models/TokenModel.js +3 -3
- package/lib/Models/UserAccountActionTokenModel.js +3 -3
- package/lib/Models/UserAccountModel.js +3 -3
- package/lib/PackageVersion.js +1 -1
- package/lib/Points.js +1 -1
- package/lib/RequestHelper.js +2 -2
- package/lib/WebSocketHelper.js +1 -1
- package/lib/index.d.ts +1038 -76
- package/package.json +3 -3
- package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
- package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
- package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
- package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
- package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -4
- package/src/Controllers/Packhouse/Site/PackrunController.js +365 -4
- package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
- package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +28 -6
- package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
- package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +474 -0
- package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
- package/src/Controllers/Packhouse/Site/index.js +2 -0
- package/src/Controllers/Site/AlarmController.js +4 -4
- package/src/Controllers/Site/AlarmGroupController.js +4 -4
- package/src/Controllers/Site/DefinitionController.js +4 -4
- package/src/Controllers/Site/PermanentObjectController.js +4 -4
- package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
- package/src/Controllers/Site/PointController.js +4 -4
- package/src/Controllers/Site/TemporaryObjectController.js +4 -4
- package/src/Models/Packhouse/Site/BinTipWeightModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +13 -3
- package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +13 -3
- package/src/Models/Packhouse/Site/DowntimeEventModel.js +13 -3
- package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +13 -3
- package/src/Models/Packhouse/Site/GrowingMethodModel.js +13 -3
- package/src/Models/Packhouse/Site/PackTypeModel.js +13 -3
- package/src/Models/Packhouse/Site/PackingLineModel.js +13 -3
- package/src/Models/Packhouse/Site/PackrunModel.js +13 -3
- package/src/Models/Packhouse/Site/RejectBinModel.js +13 -3
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +310 -7
- package/src/Models/Packhouse/Site/RejectBinWeightModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +13 -3
- package/src/Models/Packhouse/Site/ShiftModel.js +13 -3
- package/src/Models/Packhouse/Site/SoftSortBeltModel.js +215 -0
- package/src/Models/Packhouse/Site/VarietyModel.js +13 -3
- package/src/Models/Packhouse/Site/index.js +2 -0
- package/src/Models/Site/AlarmGroupModel.js +13 -3
- package/src/Models/Site/AlarmModel.js +13 -3
- package/src/Models/Site/DefinitionModel.js +13 -3
- package/src/Models/Site/PermanentObjectDataModel.js +13 -3
- package/src/Models/Site/PermanentObjectModel.js +13 -3
- package/src/Models/Site/PointModel.js +13 -3
- package/src/Models/Site/TemporaryObjectModel.js +13 -3
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -620,11 +620,19 @@ declare module '@ricado/api-client/Models/Site/PointModel' {
|
|
|
620
620
|
* @static
|
|
621
621
|
* @public
|
|
622
622
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
623
|
+
* @param {number} siteId The Site ID associated with this Point
|
|
623
624
|
* @return {PointModel}
|
|
624
625
|
*/
|
|
625
626
|
static fromJSON(json: {
|
|
626
627
|
[x: string]: any;
|
|
627
|
-
} | string): PointModel;
|
|
628
|
+
} | string, siteId: number): PointModel;
|
|
629
|
+
/**
|
|
630
|
+
* PointModel Constructor
|
|
631
|
+
*
|
|
632
|
+
* @protected
|
|
633
|
+
* @param {number} siteId The Site ID associated with this Point
|
|
634
|
+
*/
|
|
635
|
+
protected constructor();
|
|
628
636
|
/**
|
|
629
637
|
* The Point ID
|
|
630
638
|
*
|
|
@@ -702,6 +710,13 @@ declare module '@ricado/api-client/Models/Site/PointModel' {
|
|
|
702
710
|
* @public
|
|
703
711
|
*/
|
|
704
712
|
updateTimestamp: Date;
|
|
713
|
+
/**
|
|
714
|
+
* The Site ID associated with this Point
|
|
715
|
+
*
|
|
716
|
+
* @type {number}
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
siteId: number;
|
|
705
720
|
}
|
|
706
721
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
707
722
|
}
|
|
@@ -3135,6 +3150,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3135
3150
|
export { ShiftController };
|
|
3136
3151
|
export { ShiftFocusMeetingController };
|
|
3137
3152
|
export { ShiftHourlyEntryController };
|
|
3153
|
+
export { SoftSortBeltController };
|
|
3138
3154
|
export { VarietyController };
|
|
3139
3155
|
}
|
|
3140
3156
|
import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
|
|
@@ -3156,6 +3172,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3156
3172
|
import ShiftController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftController";
|
|
3157
3173
|
import ShiftFocusMeetingController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingController";
|
|
3158
3174
|
import ShiftHourlyEntryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryController";
|
|
3175
|
+
import SoftSortBeltController from "@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController";
|
|
3159
3176
|
import VarietyController from "@ricado/api-client/Controllers/Packhouse/Site/VarietyController";
|
|
3160
3177
|
}
|
|
3161
3178
|
|
|
@@ -4698,6 +4715,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4698
4715
|
export { ShiftFocusMeetingModel };
|
|
4699
4716
|
export { ShiftHourlyEntryModel };
|
|
4700
4717
|
export { ShiftModel };
|
|
4718
|
+
export { SoftSortBeltModel };
|
|
4701
4719
|
export { VarietyModel };
|
|
4702
4720
|
}
|
|
4703
4721
|
import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
|
|
@@ -4719,6 +4737,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4719
4737
|
import ShiftFocusMeetingModel from "@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel";
|
|
4720
4738
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
4721
4739
|
import ShiftModel from "@ricado/api-client/Models/Packhouse/Site/ShiftModel";
|
|
4740
|
+
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
4722
4741
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
4723
4742
|
}
|
|
4724
4743
|
|
|
@@ -4738,11 +4757,19 @@ declare module '@ricado/api-client/Models/Site/AlarmGroupModel' {
|
|
|
4738
4757
|
* @static
|
|
4739
4758
|
* @public
|
|
4740
4759
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
4760
|
+
* @param {number} siteId The Site ID associated with this Alarm Group
|
|
4741
4761
|
* @return {AlarmGroupModel}
|
|
4742
4762
|
*/
|
|
4743
4763
|
static fromJSON(json: {
|
|
4744
4764
|
[x: string]: any;
|
|
4745
|
-
} | string): AlarmGroupModel;
|
|
4765
|
+
} | string, siteId: number): AlarmGroupModel;
|
|
4766
|
+
/**
|
|
4767
|
+
* AlarmGroupModel Constructor
|
|
4768
|
+
*
|
|
4769
|
+
* @protected
|
|
4770
|
+
* @param {number} siteId The Site ID associated with this Alarm Group
|
|
4771
|
+
*/
|
|
4772
|
+
protected constructor();
|
|
4746
4773
|
/**
|
|
4747
4774
|
* The Alarm Group ID
|
|
4748
4775
|
*
|
|
@@ -4795,6 +4822,13 @@ declare module '@ricado/api-client/Models/Site/AlarmGroupModel' {
|
|
|
4795
4822
|
* @public
|
|
4796
4823
|
*/
|
|
4797
4824
|
updateTimestamp: Date;
|
|
4825
|
+
/**
|
|
4826
|
+
* The Site ID associated with this Alarm Group
|
|
4827
|
+
*
|
|
4828
|
+
* @type {number}
|
|
4829
|
+
* @public
|
|
4830
|
+
*/
|
|
4831
|
+
siteId: number;
|
|
4798
4832
|
}
|
|
4799
4833
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
4800
4834
|
}
|
|
@@ -4815,11 +4849,19 @@ declare module '@ricado/api-client/Models/Site/AlarmModel' {
|
|
|
4815
4849
|
* @static
|
|
4816
4850
|
* @public
|
|
4817
4851
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
4852
|
+
* @param {number} siteId The Site ID associated with this Alarm
|
|
4818
4853
|
* @return {AlarmModel}
|
|
4819
4854
|
*/
|
|
4820
4855
|
static fromJSON(json: {
|
|
4821
4856
|
[x: string]: any;
|
|
4822
|
-
} | string): AlarmModel;
|
|
4857
|
+
} | string, siteId: number): AlarmModel;
|
|
4858
|
+
/**
|
|
4859
|
+
* AlarmModel Constructor
|
|
4860
|
+
*
|
|
4861
|
+
* @protected
|
|
4862
|
+
* @param {number} siteId The Site ID associated with this Alarm
|
|
4863
|
+
*/
|
|
4864
|
+
protected constructor();
|
|
4823
4865
|
/**
|
|
4824
4866
|
* The Alarm ID
|
|
4825
4867
|
*
|
|
@@ -4939,6 +4981,13 @@ declare module '@ricado/api-client/Models/Site/AlarmModel' {
|
|
|
4939
4981
|
* @public
|
|
4940
4982
|
*/
|
|
4941
4983
|
updateTimestamp: Date;
|
|
4984
|
+
/**
|
|
4985
|
+
* The Site ID associated with this Alarm
|
|
4986
|
+
*
|
|
4987
|
+
* @type {number}
|
|
4988
|
+
* @public
|
|
4989
|
+
*/
|
|
4990
|
+
siteId: number;
|
|
4942
4991
|
}
|
|
4943
4992
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
4944
4993
|
}
|
|
@@ -4959,11 +5008,19 @@ declare module '@ricado/api-client/Models/Site/DefinitionModel' {
|
|
|
4959
5008
|
* @static
|
|
4960
5009
|
* @public
|
|
4961
5010
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
5011
|
+
* @param {number} siteId The Site ID associated with this Definition
|
|
4962
5012
|
* @return {DefinitionModel}
|
|
4963
5013
|
*/
|
|
4964
5014
|
static fromJSON(json: {
|
|
4965
5015
|
[x: string]: any;
|
|
4966
|
-
} | string): DefinitionModel;
|
|
5016
|
+
} | string, siteId: number): DefinitionModel;
|
|
5017
|
+
/**
|
|
5018
|
+
* DefinitionModel Constructor
|
|
5019
|
+
*
|
|
5020
|
+
* @protected
|
|
5021
|
+
* @param {number} siteId The Site ID associated with this Definition
|
|
5022
|
+
*/
|
|
5023
|
+
protected constructor();
|
|
4967
5024
|
/**
|
|
4968
5025
|
* The Definition ID
|
|
4969
5026
|
*
|
|
@@ -5006,6 +5063,13 @@ declare module '@ricado/api-client/Models/Site/DefinitionModel' {
|
|
|
5006
5063
|
* @public
|
|
5007
5064
|
*/
|
|
5008
5065
|
updateTimestamp: Date;
|
|
5066
|
+
/**
|
|
5067
|
+
* The Site ID associated with this Definition
|
|
5068
|
+
*
|
|
5069
|
+
* @type {number}
|
|
5070
|
+
* @public
|
|
5071
|
+
*/
|
|
5072
|
+
siteId: number;
|
|
5009
5073
|
}
|
|
5010
5074
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5011
5075
|
}
|
|
@@ -5026,11 +5090,19 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
|
|
|
5026
5090
|
* @static
|
|
5027
5091
|
* @public
|
|
5028
5092
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
5093
|
+
* @param {number} siteId The Site ID associated with this Permanent Object Data
|
|
5029
5094
|
* @return {PermanentObjectDataModel}
|
|
5030
5095
|
*/
|
|
5031
5096
|
static fromJSON(json: {
|
|
5032
5097
|
[x: string]: any;
|
|
5033
|
-
} | string): PermanentObjectDataModel;
|
|
5098
|
+
} | string, siteId: number): PermanentObjectDataModel;
|
|
5099
|
+
/**
|
|
5100
|
+
* PermanentObjectDataModel Constructor
|
|
5101
|
+
*
|
|
5102
|
+
* @protected
|
|
5103
|
+
* @param {number} siteId The Site ID associated with this Permanent Object Data
|
|
5104
|
+
*/
|
|
5105
|
+
protected constructor();
|
|
5034
5106
|
/**
|
|
5035
5107
|
* The Permanent Object Data ID
|
|
5036
5108
|
*
|
|
@@ -5087,6 +5159,13 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
|
|
|
5087
5159
|
* @public
|
|
5088
5160
|
*/
|
|
5089
5161
|
updateTimestamp: Date;
|
|
5162
|
+
/**
|
|
5163
|
+
* The Site ID associated with this Permanent Object Data
|
|
5164
|
+
*
|
|
5165
|
+
* @type {number}
|
|
5166
|
+
* @public
|
|
5167
|
+
*/
|
|
5168
|
+
siteId: number;
|
|
5090
5169
|
}
|
|
5091
5170
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5092
5171
|
}
|
|
@@ -5107,11 +5186,19 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
|
|
|
5107
5186
|
* @static
|
|
5108
5187
|
* @public
|
|
5109
5188
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
5189
|
+
* @param {number} siteId The Site ID associated with this Permanent Object
|
|
5110
5190
|
* @return {PermanentObjectModel}
|
|
5111
5191
|
*/
|
|
5112
5192
|
static fromJSON(json: {
|
|
5113
5193
|
[x: string]: any;
|
|
5114
|
-
} | string): PermanentObjectModel;
|
|
5194
|
+
} | string, siteId: number): PermanentObjectModel;
|
|
5195
|
+
/**
|
|
5196
|
+
* PermanentObjectModel Constructor
|
|
5197
|
+
*
|
|
5198
|
+
* @protected
|
|
5199
|
+
* @param {number} siteId The Site ID associated with this Permanent Object
|
|
5200
|
+
*/
|
|
5201
|
+
protected constructor();
|
|
5115
5202
|
/**
|
|
5116
5203
|
* The Permanent Object ID
|
|
5117
5204
|
*
|
|
@@ -5161,6 +5248,13 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
|
|
|
5161
5248
|
* @public
|
|
5162
5249
|
*/
|
|
5163
5250
|
updateTimestamp: Date;
|
|
5251
|
+
/**
|
|
5252
|
+
* The Site ID associated with this Permanent Object
|
|
5253
|
+
*
|
|
5254
|
+
* @type {number}
|
|
5255
|
+
* @public
|
|
5256
|
+
*/
|
|
5257
|
+
siteId: number;
|
|
5164
5258
|
}
|
|
5165
5259
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5166
5260
|
}
|
|
@@ -5181,11 +5275,19 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
|
|
|
5181
5275
|
* @static
|
|
5182
5276
|
* @public
|
|
5183
5277
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
5278
|
+
* @param {number} siteId The Site ID associated with this Temporary Object
|
|
5184
5279
|
* @return {TemporaryObjectModel}
|
|
5185
5280
|
*/
|
|
5186
5281
|
static fromJSON(json: {
|
|
5187
5282
|
[x: string]: any;
|
|
5188
|
-
} | string): TemporaryObjectModel;
|
|
5283
|
+
} | string, siteId: number): TemporaryObjectModel;
|
|
5284
|
+
/**
|
|
5285
|
+
* TemporaryObjectModel Constructor
|
|
5286
|
+
*
|
|
5287
|
+
* @protected
|
|
5288
|
+
* @param {number} siteId The Site ID associated with this Temporary Object
|
|
5289
|
+
*/
|
|
5290
|
+
protected constructor();
|
|
5189
5291
|
/**
|
|
5190
5292
|
* The Temporary Object ID
|
|
5191
5293
|
*
|
|
@@ -5228,6 +5330,13 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
|
|
|
5228
5330
|
* @public
|
|
5229
5331
|
*/
|
|
5230
5332
|
updateTimestamp: Date;
|
|
5333
|
+
/**
|
|
5334
|
+
* The Site ID associated with this Temporary Object
|
|
5335
|
+
*
|
|
5336
|
+
* @type {number}
|
|
5337
|
+
* @public
|
|
5338
|
+
*/
|
|
5339
|
+
siteId: number;
|
|
5231
5340
|
}
|
|
5232
5341
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5233
5342
|
}
|
|
@@ -7928,6 +8037,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
7928
8037
|
* @return {Promise<PackrunController.PackrunSummaryReport>}
|
|
7929
8038
|
*/
|
|
7930
8039
|
static getSummaryReport(siteId: number, id: string): Promise<PackrunController.PackrunSummaryReport>;
|
|
8040
|
+
/**
|
|
8041
|
+
* Retrieve a Packrun Infeed Report [GET /packhouse/sites/{siteId}/packruns/{id}/infeedReport]
|
|
8042
|
+
*
|
|
8043
|
+
* Retrieves an Infeed Report for a Packrun
|
|
8044
|
+
*
|
|
8045
|
+
* @static
|
|
8046
|
+
* @public
|
|
8047
|
+
* @param {number} siteId The Site ID
|
|
8048
|
+
* @param {string} id The Packrun ID
|
|
8049
|
+
* @return {Promise<PackrunController.PackrunInfeedReport>}
|
|
8050
|
+
*/
|
|
8051
|
+
static getInfeedReport(siteId: number, id: string): Promise<PackrunController.PackrunInfeedReport>;
|
|
7931
8052
|
/**
|
|
7932
8053
|
* List all Packruns [GET /packhouse/sites/{siteId}/packruns]
|
|
7933
8054
|
*
|
|
@@ -8386,6 +8507,83 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8386
8507
|
*/
|
|
8387
8508
|
class2FreshPackSummary: any[];
|
|
8388
8509
|
};
|
|
8510
|
+
/**
|
|
8511
|
+
* A **PackrunInfeedReport** Type
|
|
8512
|
+
*/
|
|
8513
|
+
export type PackrunInfeedReport = {
|
|
8514
|
+
/**
|
|
8515
|
+
* The Packrun ID
|
|
8516
|
+
*/
|
|
8517
|
+
id: string;
|
|
8518
|
+
/**
|
|
8519
|
+
* The Packrun Name
|
|
8520
|
+
*/
|
|
8521
|
+
name: string;
|
|
8522
|
+
/**
|
|
8523
|
+
* When the Packrun was Created
|
|
8524
|
+
*/
|
|
8525
|
+
createdTimestamp: Date;
|
|
8526
|
+
/**
|
|
8527
|
+
* When the Packrun was Started
|
|
8528
|
+
*/
|
|
8529
|
+
startTimestamp: Date;
|
|
8530
|
+
/**
|
|
8531
|
+
* When the Packrun was Finished
|
|
8532
|
+
*/
|
|
8533
|
+
finishTimestamp: Date;
|
|
8534
|
+
/**
|
|
8535
|
+
* The Packing Line ID
|
|
8536
|
+
*/
|
|
8537
|
+
packingLineId: string;
|
|
8538
|
+
/**
|
|
8539
|
+
* The Packing Line Name
|
|
8540
|
+
*/
|
|
8541
|
+
packingLineName: string;
|
|
8542
|
+
/**
|
|
8543
|
+
* The Grower Name
|
|
8544
|
+
*/
|
|
8545
|
+
growerName: string;
|
|
8546
|
+
/**
|
|
8547
|
+
* The Grower Code
|
|
8548
|
+
*/
|
|
8549
|
+
growerCode: string;
|
|
8550
|
+
/**
|
|
8551
|
+
* The Maturity Area
|
|
8552
|
+
*/
|
|
8553
|
+
maturityArea: string;
|
|
8554
|
+
/**
|
|
8555
|
+
* The Number of Bins Allocated for the Packrun
|
|
8556
|
+
*/
|
|
8557
|
+
allocatedBins: number;
|
|
8558
|
+
/**
|
|
8559
|
+
* The Number of Bins Tipped for the Packrun
|
|
8560
|
+
*/
|
|
8561
|
+
tippedBins: number;
|
|
8562
|
+
/**
|
|
8563
|
+
* The Total Reject Weight for the Soft-Sort category expressed in kilograms
|
|
8564
|
+
*/
|
|
8565
|
+
softSortRejectWeight: number;
|
|
8566
|
+
/**
|
|
8567
|
+
* The Percentage of Packrun Weight categorized as Soft-Sort
|
|
8568
|
+
*/
|
|
8569
|
+
softSortRejectPercentage: number;
|
|
8570
|
+
/**
|
|
8571
|
+
* The Number of Soft-Sort Events per Bin
|
|
8572
|
+
*/
|
|
8573
|
+
softSortEventsPerBin: number;
|
|
8574
|
+
/**
|
|
8575
|
+
* The Number of Soft-Sort Events that occurred for the Packrun
|
|
8576
|
+
*/
|
|
8577
|
+
totalSoftSortEventsCount: number;
|
|
8578
|
+
/**
|
|
8579
|
+
* The Average Duration of Soft-Sort Events for the Packrun expressed in Seconds
|
|
8580
|
+
*/
|
|
8581
|
+
averageSoftSortEventsDuration: number;
|
|
8582
|
+
/**
|
|
8583
|
+
* The Total Duration of all Soft-Sort Events for the Packrun expressed in Seconds
|
|
8584
|
+
*/
|
|
8585
|
+
totalSoftSortEventsDuration: number;
|
|
8586
|
+
};
|
|
8389
8587
|
}
|
|
8390
8588
|
import PackrunModel from "@ricado/api-client/Models/Packhouse/Site/PackrunModel";
|
|
8391
8589
|
}
|
|
@@ -8749,7 +8947,53 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8749
8947
|
/**
|
|
8750
8948
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
8751
8949
|
*/
|
|
8752
|
-
autoPackrunChange?:
|
|
8950
|
+
autoPackrunChange?: {
|
|
8951
|
+
delay: number;
|
|
8952
|
+
};
|
|
8953
|
+
/**
|
|
8954
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
8955
|
+
*/
|
|
8956
|
+
supportsLiveWeighing?: boolean;
|
|
8957
|
+
/**
|
|
8958
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
8959
|
+
*/
|
|
8960
|
+
autoWeighingStartThreshold?: number;
|
|
8961
|
+
/**
|
|
8962
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
8963
|
+
*/
|
|
8964
|
+
autoWeighingStartDelay?: number;
|
|
8965
|
+
/**
|
|
8966
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
8967
|
+
*/
|
|
8968
|
+
autoWeighingFinishThreshold?: number;
|
|
8969
|
+
/**
|
|
8970
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
8971
|
+
*/
|
|
8972
|
+
autoWeighingFinishDelay?: number;
|
|
8973
|
+
/**
|
|
8974
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
8975
|
+
*/
|
|
8976
|
+
manualInterventionMaximumDuration?: number;
|
|
8977
|
+
/**
|
|
8978
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
8979
|
+
*/
|
|
8980
|
+
liveWeighingIncreaseTolerance?: number;
|
|
8981
|
+
/**
|
|
8982
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
8983
|
+
*/
|
|
8984
|
+
liveWeighingDecreaseTolerance?: number;
|
|
8985
|
+
/**
|
|
8986
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
8987
|
+
*/
|
|
8988
|
+
liveWeighingUpdateInterval?: number;
|
|
8989
|
+
/**
|
|
8990
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
8991
|
+
*/
|
|
8992
|
+
liveWeighingUsesStableStatus?: boolean;
|
|
8993
|
+
/**
|
|
8994
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
8995
|
+
*/
|
|
8996
|
+
incorrectOperationTolerance?: number;
|
|
8753
8997
|
/**
|
|
8754
8998
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
8755
8999
|
*/
|
|
@@ -8786,7 +9030,53 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8786
9030
|
/**
|
|
8787
9031
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
8788
9032
|
*/
|
|
8789
|
-
autoPackrunChange?:
|
|
9033
|
+
autoPackrunChange?: {
|
|
9034
|
+
delay: number;
|
|
9035
|
+
};
|
|
9036
|
+
/**
|
|
9037
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
9038
|
+
*/
|
|
9039
|
+
supportsLiveWeighing?: boolean;
|
|
9040
|
+
/**
|
|
9041
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
9042
|
+
*/
|
|
9043
|
+
autoWeighingStartThreshold?: number;
|
|
9044
|
+
/**
|
|
9045
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
9046
|
+
*/
|
|
9047
|
+
autoWeighingStartDelay?: number;
|
|
9048
|
+
/**
|
|
9049
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
9050
|
+
*/
|
|
9051
|
+
autoWeighingFinishThreshold?: number;
|
|
9052
|
+
/**
|
|
9053
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
9054
|
+
*/
|
|
9055
|
+
autoWeighingFinishDelay?: number;
|
|
9056
|
+
/**
|
|
9057
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
9058
|
+
*/
|
|
9059
|
+
manualInterventionMaximumDuration?: number;
|
|
9060
|
+
/**
|
|
9061
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
9062
|
+
*/
|
|
9063
|
+
liveWeighingIncreaseTolerance?: number;
|
|
9064
|
+
/**
|
|
9065
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
9066
|
+
*/
|
|
9067
|
+
liveWeighingDecreaseTolerance?: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
9070
|
+
*/
|
|
9071
|
+
liveWeighingUpdateInterval?: number;
|
|
9072
|
+
/**
|
|
9073
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
9074
|
+
*/
|
|
9075
|
+
liveWeighingUsesStableStatus?: boolean;
|
|
9076
|
+
/**
|
|
9077
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
9078
|
+
*/
|
|
9079
|
+
incorrectOperationTolerance?: number;
|
|
8790
9080
|
/**
|
|
8791
9081
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
8792
9082
|
*/
|
|
@@ -10149,113 +10439,317 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10149
10439
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
10150
10440
|
}
|
|
10151
10441
|
|
|
10152
|
-
declare module '@ricado/api-client/Controllers/Packhouse/Site/
|
|
10153
|
-
export default
|
|
10442
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController' {
|
|
10443
|
+
export default SoftSortBeltController;
|
|
10154
10444
|
/**
|
|
10155
|
-
* Controller Class for
|
|
10445
|
+
* Controller Class for Soft Sort Belts
|
|
10156
10446
|
*
|
|
10157
10447
|
* @class
|
|
10158
10448
|
*/
|
|
10159
|
-
class
|
|
10449
|
+
class SoftSortBeltController {
|
|
10160
10450
|
/**
|
|
10161
|
-
* Retrieve a
|
|
10451
|
+
* Retrieve a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10162
10452
|
*
|
|
10163
10453
|
* @static
|
|
10164
10454
|
* @public
|
|
10165
10455
|
* @param {number} siteId The Site ID
|
|
10166
|
-
* @param {string} id The
|
|
10167
|
-
* @return {Promise<
|
|
10456
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10457
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10168
10458
|
*/
|
|
10169
|
-
static getOne(siteId: number, id: string): Promise<
|
|
10459
|
+
static getOne(siteId: number, id: string): Promise<SoftSortBeltModel>;
|
|
10170
10460
|
/**
|
|
10171
|
-
* Update a
|
|
10461
|
+
* Update a Soft Sort Belt [PATCH /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10172
10462
|
*
|
|
10173
10463
|
* @static
|
|
10174
10464
|
* @public
|
|
10175
10465
|
* @param {number} siteId The Site ID
|
|
10176
|
-
* @param {string} id The
|
|
10177
|
-
* @param {
|
|
10178
|
-
* @return {Promise<
|
|
10466
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10467
|
+
* @param {SoftSortBeltController.UpdateData} updateData The Soft Sort Belt Update Data
|
|
10468
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10179
10469
|
*/
|
|
10180
|
-
static update(siteId: number, id: string, updateData:
|
|
10470
|
+
static update(siteId: number, id: string, updateData: SoftSortBeltController.UpdateData): Promise<SoftSortBeltModel>;
|
|
10181
10471
|
/**
|
|
10182
|
-
* Delete a
|
|
10472
|
+
* Delete a Soft Sort Belt [DELETE /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10183
10473
|
*
|
|
10184
10474
|
* @static
|
|
10185
10475
|
* @public
|
|
10186
10476
|
* @param {number} siteId The Site ID
|
|
10187
|
-
* @param {string} id The
|
|
10477
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10188
10478
|
* @return {Promise<boolean>}
|
|
10189
10479
|
*/
|
|
10190
10480
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10191
10481
|
/**
|
|
10192
|
-
*
|
|
10482
|
+
* Retrieve the Events of a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}/events]
|
|
10483
|
+
*
|
|
10484
|
+
* Retrieves Events for a Single Soft Sort Belt
|
|
10193
10485
|
*
|
|
10194
10486
|
* @static
|
|
10195
10487
|
* @public
|
|
10196
10488
|
* @param {number} siteId The Site ID
|
|
10197
|
-
* @param {
|
|
10198
|
-
* @
|
|
10489
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10490
|
+
* @param {SoftSortBeltController.GetOneEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10491
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10199
10492
|
*/
|
|
10200
|
-
static
|
|
10493
|
+
static getOneEvents(siteId: number, id: string, queryParameters?: SoftSortBeltController.GetOneEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10201
10494
|
/**
|
|
10202
|
-
*
|
|
10495
|
+
* List all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10203
10496
|
*
|
|
10204
10497
|
* @static
|
|
10205
10498
|
* @public
|
|
10206
10499
|
* @param {number} siteId The Site ID
|
|
10207
|
-
* @param {
|
|
10208
|
-
* @return {Promise<
|
|
10500
|
+
* @param {SoftSortBeltController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10501
|
+
* @return {Promise<SoftSortBeltModel[]>}
|
|
10209
10502
|
*/
|
|
10210
|
-
static
|
|
10503
|
+
static getAll(siteId: number, queryParameters?: SoftSortBeltController.GetAllQueryParameters): Promise<SoftSortBeltModel[]>;
|
|
10504
|
+
/**
|
|
10505
|
+
* Create a Soft Sort Belt [POST /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10506
|
+
*
|
|
10507
|
+
* @static
|
|
10508
|
+
* @public
|
|
10509
|
+
* @param {number} siteId The Site ID
|
|
10510
|
+
* @param {SoftSortBeltController.CreateData} createData The Soft Sort Belt Create Data
|
|
10511
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10512
|
+
*/
|
|
10513
|
+
static create(siteId: number, createData: SoftSortBeltController.CreateData): Promise<SoftSortBeltModel>;
|
|
10514
|
+
/**
|
|
10515
|
+
* Retrieve the Events of all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts/events]
|
|
10516
|
+
*
|
|
10517
|
+
* Retrieves Events for all Soft Sort Belts
|
|
10518
|
+
*
|
|
10519
|
+
* @static
|
|
10520
|
+
* @public
|
|
10521
|
+
* @param {number} siteId The Site ID
|
|
10522
|
+
* @param {SoftSortBeltController.GetAllEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10523
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10524
|
+
*/
|
|
10525
|
+
static getAllEvents(siteId: number, queryParameters?: SoftSortBeltController.GetAllEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10211
10526
|
}
|
|
10212
|
-
namespace
|
|
10527
|
+
namespace SoftSortBeltController {
|
|
10213
10528
|
/**
|
|
10214
|
-
* The Optional Query Parameters for the
|
|
10529
|
+
* The Optional Query Parameters for the getOneEvents Function
|
|
10215
10530
|
*/
|
|
10216
|
-
export type
|
|
10531
|
+
export type GetOneEventsQueryParameters = {
|
|
10217
10532
|
/**
|
|
10218
|
-
* The
|
|
10533
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
10219
10534
|
*/
|
|
10220
|
-
|
|
10535
|
+
timestampBegin?: Date;
|
|
10221
10536
|
/**
|
|
10222
|
-
* The
|
|
10537
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
10223
10538
|
*/
|
|
10224
|
-
|
|
10539
|
+
timestampEnd?: Date;
|
|
10225
10540
|
};
|
|
10226
10541
|
/**
|
|
10227
|
-
* The
|
|
10542
|
+
* The Optional Query Parameters for the getAll Function
|
|
10228
10543
|
*/
|
|
10229
|
-
export type
|
|
10544
|
+
export type GetAllQueryParameters = {
|
|
10230
10545
|
/**
|
|
10231
|
-
* The
|
|
10546
|
+
* The RTU this Soft Sort Belt belongs to
|
|
10232
10547
|
*/
|
|
10233
|
-
|
|
10548
|
+
rtuId?: number;
|
|
10234
10549
|
/**
|
|
10235
|
-
* The
|
|
10550
|
+
* The Name of this Soft Sort Belt
|
|
10236
10551
|
*/
|
|
10237
|
-
name
|
|
10552
|
+
name?: string;
|
|
10238
10553
|
/**
|
|
10239
|
-
* The
|
|
10554
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10240
10555
|
*/
|
|
10241
|
-
|
|
10556
|
+
packingLineId?: string;
|
|
10557
|
+
};
|
|
10558
|
+
/**
|
|
10559
|
+
* The Optional Query Parameters for the getAllEvents Function
|
|
10560
|
+
*/
|
|
10561
|
+
export type GetAllEventsQueryParameters = {
|
|
10242
10562
|
/**
|
|
10243
|
-
*
|
|
10563
|
+
* A List of Soft-Sort Belt IDs to Filter by
|
|
10244
10564
|
*/
|
|
10245
|
-
|
|
10565
|
+
beltIds?: string[];
|
|
10246
10566
|
/**
|
|
10247
|
-
*
|
|
10567
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
10248
10568
|
*/
|
|
10249
|
-
|
|
10569
|
+
timestampBegin?: Date;
|
|
10570
|
+
/**
|
|
10571
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
10572
|
+
*/
|
|
10573
|
+
timestampEnd?: Date;
|
|
10250
10574
|
};
|
|
10251
10575
|
/**
|
|
10252
|
-
* The
|
|
10576
|
+
* The Create Data for a Soft Sort Belt
|
|
10253
10577
|
*/
|
|
10254
|
-
export type
|
|
10578
|
+
export type CreateData = {
|
|
10255
10579
|
/**
|
|
10256
|
-
* The
|
|
10580
|
+
* The RTU this Soft Sort Belt belongs to
|
|
10257
10581
|
*/
|
|
10258
|
-
|
|
10582
|
+
rtuId?: number;
|
|
10583
|
+
/**
|
|
10584
|
+
* The Name of this Soft Sort Belt
|
|
10585
|
+
*/
|
|
10586
|
+
name: string;
|
|
10587
|
+
/**
|
|
10588
|
+
* The Points used by this Soft Sort Belt
|
|
10589
|
+
*/
|
|
10590
|
+
points: any;
|
|
10591
|
+
/**
|
|
10592
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10593
|
+
*/
|
|
10594
|
+
packingLineId: string;
|
|
10595
|
+
};
|
|
10596
|
+
/**
|
|
10597
|
+
* The Update Data for a Soft Sort Belt
|
|
10598
|
+
*/
|
|
10599
|
+
export type UpdateData = {
|
|
10600
|
+
/**
|
|
10601
|
+
* The Name of this Soft Sort Belt
|
|
10602
|
+
*/
|
|
10603
|
+
name?: string;
|
|
10604
|
+
/**
|
|
10605
|
+
* The Points used by this Soft Sort Belt
|
|
10606
|
+
*/
|
|
10607
|
+
points?: any;
|
|
10608
|
+
/**
|
|
10609
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10610
|
+
*/
|
|
10611
|
+
packingLineId?: string;
|
|
10612
|
+
};
|
|
10613
|
+
/**
|
|
10614
|
+
* A **SoftSortEventItem** Type
|
|
10615
|
+
*/
|
|
10616
|
+
export type SoftSortEventItem = {
|
|
10617
|
+
/**
|
|
10618
|
+
* The Soft-Sort Belt ID
|
|
10619
|
+
*/
|
|
10620
|
+
beltId: string;
|
|
10621
|
+
/**
|
|
10622
|
+
* The ID of the associated Packrun
|
|
10623
|
+
*/
|
|
10624
|
+
packrunId: string;
|
|
10625
|
+
/**
|
|
10626
|
+
* The Name of the associated Packrun
|
|
10627
|
+
*/
|
|
10628
|
+
packrunName: string;
|
|
10629
|
+
/**
|
|
10630
|
+
* When the Event Started
|
|
10631
|
+
*/
|
|
10632
|
+
startTimestamp: Date;
|
|
10633
|
+
/**
|
|
10634
|
+
* When the Event Ended
|
|
10635
|
+
*/
|
|
10636
|
+
endTimestamp: Date;
|
|
10637
|
+
/**
|
|
10638
|
+
* The Duration in Seconds of the Event
|
|
10639
|
+
*/
|
|
10640
|
+
duration: number;
|
|
10641
|
+
};
|
|
10642
|
+
}
|
|
10643
|
+
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController' {
|
|
10647
|
+
export default VarietyController;
|
|
10648
|
+
/**
|
|
10649
|
+
* Controller Class for Varieties
|
|
10650
|
+
*
|
|
10651
|
+
* @class
|
|
10652
|
+
*/
|
|
10653
|
+
class VarietyController {
|
|
10654
|
+
/**
|
|
10655
|
+
* Retrieve a Variety [GET /packhouse/sites/{siteId}/varieties/{id}]
|
|
10656
|
+
*
|
|
10657
|
+
* @static
|
|
10658
|
+
* @public
|
|
10659
|
+
* @param {number} siteId The Site ID
|
|
10660
|
+
* @param {string} id The Variety ID
|
|
10661
|
+
* @return {Promise<VarietyModel>}
|
|
10662
|
+
*/
|
|
10663
|
+
static getOne(siteId: number, id: string): Promise<VarietyModel>;
|
|
10664
|
+
/**
|
|
10665
|
+
* Update a Variety [PATCH /packhouse/sites/{siteId}/varieties/{id}]
|
|
10666
|
+
*
|
|
10667
|
+
* @static
|
|
10668
|
+
* @public
|
|
10669
|
+
* @param {number} siteId The Site ID
|
|
10670
|
+
* @param {string} id The Variety ID
|
|
10671
|
+
* @param {VarietyController.UpdateData} updateData The Variety Update Data
|
|
10672
|
+
* @return {Promise<VarietyModel>}
|
|
10673
|
+
*/
|
|
10674
|
+
static update(siteId: number, id: string, updateData: VarietyController.UpdateData): Promise<VarietyModel>;
|
|
10675
|
+
/**
|
|
10676
|
+
* Delete a Variety [DELETE /packhouse/sites/{siteId}/varieties/{id}]
|
|
10677
|
+
*
|
|
10678
|
+
* @static
|
|
10679
|
+
* @public
|
|
10680
|
+
* @param {number} siteId The Site ID
|
|
10681
|
+
* @param {string} id The Variety ID
|
|
10682
|
+
* @return {Promise<boolean>}
|
|
10683
|
+
*/
|
|
10684
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10685
|
+
/**
|
|
10686
|
+
* List all Varieties [GET /packhouse/sites/{siteId}/varieties]
|
|
10687
|
+
*
|
|
10688
|
+
* @static
|
|
10689
|
+
* @public
|
|
10690
|
+
* @param {number} siteId The Site ID
|
|
10691
|
+
* @param {VarietyController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10692
|
+
* @return {Promise<VarietyModel[]>}
|
|
10693
|
+
*/
|
|
10694
|
+
static getAll(siteId: number, queryParameters?: VarietyController.GetAllQueryParameters): Promise<VarietyModel[]>;
|
|
10695
|
+
/**
|
|
10696
|
+
* Create a Variety [POST /packhouse/sites/{siteId}/varieties]
|
|
10697
|
+
*
|
|
10698
|
+
* @static
|
|
10699
|
+
* @public
|
|
10700
|
+
* @param {number} siteId The Site ID
|
|
10701
|
+
* @param {VarietyController.CreateData} createData The Variety Create Data
|
|
10702
|
+
* @return {Promise<VarietyModel>}
|
|
10703
|
+
*/
|
|
10704
|
+
static create(siteId: number, createData: VarietyController.CreateData): Promise<VarietyModel>;
|
|
10705
|
+
}
|
|
10706
|
+
namespace VarietyController {
|
|
10707
|
+
/**
|
|
10708
|
+
* The Optional Query Parameters for the getAll Function
|
|
10709
|
+
*/
|
|
10710
|
+
export type GetAllQueryParameters = {
|
|
10711
|
+
/**
|
|
10712
|
+
* The Variety Code
|
|
10713
|
+
*/
|
|
10714
|
+
code?: string;
|
|
10715
|
+
/**
|
|
10716
|
+
* The Variety Name
|
|
10717
|
+
*/
|
|
10718
|
+
name?: string;
|
|
10719
|
+
};
|
|
10720
|
+
/**
|
|
10721
|
+
* The Create Data for a Variety
|
|
10722
|
+
*/
|
|
10723
|
+
export type CreateData = {
|
|
10724
|
+
/**
|
|
10725
|
+
* The Variety Code
|
|
10726
|
+
*/
|
|
10727
|
+
code?: string;
|
|
10728
|
+
/**
|
|
10729
|
+
* The Variety Name
|
|
10730
|
+
*/
|
|
10731
|
+
name: string;
|
|
10732
|
+
/**
|
|
10733
|
+
* The Variety Description
|
|
10734
|
+
*/
|
|
10735
|
+
description: string;
|
|
10736
|
+
/**
|
|
10737
|
+
* The Variety Image Source
|
|
10738
|
+
*/
|
|
10739
|
+
image: string;
|
|
10740
|
+
/**
|
|
10741
|
+
* An Array of Fruit Sizes Defined for this Variety
|
|
10742
|
+
*/
|
|
10743
|
+
fruitSizes: VarietyFruitSize[];
|
|
10744
|
+
};
|
|
10745
|
+
/**
|
|
10746
|
+
* The Update Data for a Variety
|
|
10747
|
+
*/
|
|
10748
|
+
export type UpdateData = {
|
|
10749
|
+
/**
|
|
10750
|
+
* The Variety Name
|
|
10751
|
+
*/
|
|
10752
|
+
name?: string;
|
|
10259
10753
|
/**
|
|
10260
10754
|
* The Variety Description
|
|
10261
10755
|
*/
|
|
@@ -10298,11 +10792,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
|
|
|
10298
10792
|
* @static
|
|
10299
10793
|
* @public
|
|
10300
10794
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
10795
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Weight
|
|
10301
10796
|
* @return {BinTipWeightModel}
|
|
10302
10797
|
*/
|
|
10303
10798
|
static fromJSON(json: {
|
|
10304
10799
|
[x: string]: any;
|
|
10305
|
-
} | string): BinTipWeightModel;
|
|
10800
|
+
} | string, siteId: number): BinTipWeightModel;
|
|
10801
|
+
/**
|
|
10802
|
+
* BinTipWeightModel Constructor
|
|
10803
|
+
*
|
|
10804
|
+
* @protected
|
|
10805
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Weight
|
|
10806
|
+
*/
|
|
10807
|
+
protected constructor();
|
|
10306
10808
|
/**
|
|
10307
10809
|
* The Bin Tip Weight ID
|
|
10308
10810
|
*
|
|
@@ -10366,6 +10868,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
|
|
|
10366
10868
|
* @public
|
|
10367
10869
|
*/
|
|
10368
10870
|
updateTimestamp: Date;
|
|
10871
|
+
/**
|
|
10872
|
+
* The Site ID associated with this Bin Tip Weight
|
|
10873
|
+
*
|
|
10874
|
+
* @type {number}
|
|
10875
|
+
* @public
|
|
10876
|
+
*/
|
|
10877
|
+
siteId: number;
|
|
10369
10878
|
}
|
|
10370
10879
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10371
10880
|
}
|
|
@@ -10386,11 +10895,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel'
|
|
|
10386
10895
|
* @static
|
|
10387
10896
|
* @public
|
|
10388
10897
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
10898
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Batch
|
|
10389
10899
|
* @return {CompacSizerBatchModel}
|
|
10390
10900
|
*/
|
|
10391
10901
|
static fromJSON(json: {
|
|
10392
10902
|
[x: string]: any;
|
|
10393
|
-
} | string): CompacSizerBatchModel;
|
|
10903
|
+
} | string, siteId: number): CompacSizerBatchModel;
|
|
10904
|
+
/**
|
|
10905
|
+
* CompacSizerBatchModel Constructor
|
|
10906
|
+
*
|
|
10907
|
+
* @protected
|
|
10908
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Batch
|
|
10909
|
+
*/
|
|
10910
|
+
protected constructor();
|
|
10394
10911
|
/**
|
|
10395
10912
|
* The Compac Sizer Batch ID
|
|
10396
10913
|
*
|
|
@@ -10447,6 +10964,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel'
|
|
|
10447
10964
|
* @public
|
|
10448
10965
|
*/
|
|
10449
10966
|
updateTimestamp: Date;
|
|
10967
|
+
/**
|
|
10968
|
+
* The Site ID associated with this Compac Sizer Batch
|
|
10969
|
+
*
|
|
10970
|
+
* @type {number}
|
|
10971
|
+
* @public
|
|
10972
|
+
*/
|
|
10973
|
+
siteId: number;
|
|
10450
10974
|
}
|
|
10451
10975
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10452
10976
|
}
|
|
@@ -10467,11 +10991,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
|
|
|
10467
10991
|
* @static
|
|
10468
10992
|
* @public
|
|
10469
10993
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
10994
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer
|
|
10470
10995
|
* @return {CompacSizerModel}
|
|
10471
10996
|
*/
|
|
10472
10997
|
static fromJSON(json: {
|
|
10473
10998
|
[x: string]: any;
|
|
10474
|
-
} | string): CompacSizerModel;
|
|
10999
|
+
} | string, siteId: number): CompacSizerModel;
|
|
11000
|
+
/**
|
|
11001
|
+
* CompacSizerModel Constructor
|
|
11002
|
+
*
|
|
11003
|
+
* @protected
|
|
11004
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer
|
|
11005
|
+
*/
|
|
11006
|
+
protected constructor();
|
|
10475
11007
|
/**
|
|
10476
11008
|
* The Compac Sizer ID
|
|
10477
11009
|
*
|
|
@@ -10570,6 +11102,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
|
|
|
10570
11102
|
* @public
|
|
10571
11103
|
*/
|
|
10572
11104
|
updateTimestamp: Date;
|
|
11105
|
+
/**
|
|
11106
|
+
* The Site ID associated with this Compac Sizer
|
|
11107
|
+
*
|
|
11108
|
+
* @type {number}
|
|
11109
|
+
* @public
|
|
11110
|
+
*/
|
|
11111
|
+
siteId: number;
|
|
10573
11112
|
}
|
|
10574
11113
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10575
11114
|
}
|
|
@@ -10590,11 +11129,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProduc
|
|
|
10590
11129
|
* @static
|
|
10591
11130
|
* @public
|
|
10592
11131
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11132
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
|
|
10593
11133
|
* @return {CompacSizerOutletProductChangeModel}
|
|
10594
11134
|
*/
|
|
10595
11135
|
static fromJSON(json: {
|
|
10596
11136
|
[x: string]: any;
|
|
10597
|
-
} | string): CompacSizerOutletProductChangeModel;
|
|
11137
|
+
} | string, siteId: number): CompacSizerOutletProductChangeModel;
|
|
11138
|
+
/**
|
|
11139
|
+
* CompacSizerOutletProductChangeModel Constructor
|
|
11140
|
+
*
|
|
11141
|
+
* @protected
|
|
11142
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
|
|
11143
|
+
*/
|
|
11144
|
+
protected constructor();
|
|
10598
11145
|
/**
|
|
10599
11146
|
* The Compac Sizer Outlet Product Change ID
|
|
10600
11147
|
*
|
|
@@ -10665,6 +11212,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProduc
|
|
|
10665
11212
|
* @public
|
|
10666
11213
|
*/
|
|
10667
11214
|
updateTimestamp: Date;
|
|
11215
|
+
/**
|
|
11216
|
+
* The Site ID associated with this Compac Sizer Outlet Product Change
|
|
11217
|
+
*
|
|
11218
|
+
* @type {number}
|
|
11219
|
+
* @public
|
|
11220
|
+
*/
|
|
11221
|
+
siteId: number;
|
|
10668
11222
|
}
|
|
10669
11223
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10670
11224
|
}
|
|
@@ -10685,11 +11239,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeCh
|
|
|
10685
11239
|
* @static
|
|
10686
11240
|
* @public
|
|
10687
11241
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11242
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
|
|
10688
11243
|
* @return {CompacSizerOutletTypeChangeModel}
|
|
10689
11244
|
*/
|
|
10690
11245
|
static fromJSON(json: {
|
|
10691
11246
|
[x: string]: any;
|
|
10692
|
-
} | string): CompacSizerOutletTypeChangeModel;
|
|
11247
|
+
} | string, siteId: number): CompacSizerOutletTypeChangeModel;
|
|
11248
|
+
/**
|
|
11249
|
+
* CompacSizerOutletTypeChangeModel Constructor
|
|
11250
|
+
*
|
|
11251
|
+
* @protected
|
|
11252
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
|
|
11253
|
+
*/
|
|
11254
|
+
protected constructor();
|
|
10693
11255
|
/**
|
|
10694
11256
|
* The Compac Sizer Outlet Type Change ID
|
|
10695
11257
|
*
|
|
@@ -10746,6 +11308,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeCh
|
|
|
10746
11308
|
* @public
|
|
10747
11309
|
*/
|
|
10748
11310
|
updateTimestamp: Date;
|
|
11311
|
+
/**
|
|
11312
|
+
* The Site ID associated with this Compac Sizer Outlet Type Change
|
|
11313
|
+
*
|
|
11314
|
+
* @type {number}
|
|
11315
|
+
* @public
|
|
11316
|
+
*/
|
|
11317
|
+
siteId: number;
|
|
10749
11318
|
}
|
|
10750
11319
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10751
11320
|
}
|
|
@@ -10766,11 +11335,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeMo
|
|
|
10766
11335
|
* @static
|
|
10767
11336
|
* @public
|
|
10768
11337
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11338
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
|
|
10769
11339
|
* @return {CompacSizerOutletTypeModel}
|
|
10770
11340
|
*/
|
|
10771
11341
|
static fromJSON(json: {
|
|
10772
11342
|
[x: string]: any;
|
|
10773
|
-
} | string): CompacSizerOutletTypeModel;
|
|
11343
|
+
} | string, siteId: number): CompacSizerOutletTypeModel;
|
|
11344
|
+
/**
|
|
11345
|
+
* CompacSizerOutletTypeModel Constructor
|
|
11346
|
+
*
|
|
11347
|
+
* @protected
|
|
11348
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
|
|
11349
|
+
*/
|
|
11350
|
+
protected constructor();
|
|
10774
11351
|
/**
|
|
10775
11352
|
* The Compac Sizer Outlet Type ID
|
|
10776
11353
|
*
|
|
@@ -10813,6 +11390,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeMo
|
|
|
10813
11390
|
* @public
|
|
10814
11391
|
*/
|
|
10815
11392
|
updateTimestamp: Date;
|
|
11393
|
+
/**
|
|
11394
|
+
* The Site ID associated with this Compac Sizer Outlet Type
|
|
11395
|
+
*
|
|
11396
|
+
* @type {number}
|
|
11397
|
+
* @public
|
|
11398
|
+
*/
|
|
11399
|
+
siteId: number;
|
|
10816
11400
|
}
|
|
10817
11401
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10818
11402
|
}
|
|
@@ -10833,11 +11417,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
|
|
|
10833
11417
|
* @static
|
|
10834
11418
|
* @public
|
|
10835
11419
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11420
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
|
|
10836
11421
|
* @return {CompacSizerPackrunSummaryModel}
|
|
10837
11422
|
*/
|
|
10838
11423
|
static fromJSON(json: {
|
|
10839
11424
|
[x: string]: any;
|
|
10840
|
-
} | string): CompacSizerPackrunSummaryModel;
|
|
11425
|
+
} | string, siteId: number): CompacSizerPackrunSummaryModel;
|
|
11426
|
+
/**
|
|
11427
|
+
* CompacSizerPackrunSummaryModel Constructor
|
|
11428
|
+
*
|
|
11429
|
+
* @protected
|
|
11430
|
+
* @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
|
|
11431
|
+
*/
|
|
11432
|
+
protected constructor();
|
|
10841
11433
|
/**
|
|
10842
11434
|
* The Compac Sizer Packrun Summary ID
|
|
10843
11435
|
*
|
|
@@ -10952,6 +11544,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
|
|
|
10952
11544
|
* @public
|
|
10953
11545
|
*/
|
|
10954
11546
|
updateTimestamp: Date;
|
|
11547
|
+
/**
|
|
11548
|
+
* The Site ID associated with this Compac Sizer Packrun Summary
|
|
11549
|
+
*
|
|
11550
|
+
* @type {number}
|
|
11551
|
+
* @public
|
|
11552
|
+
*/
|
|
11553
|
+
siteId: number;
|
|
10955
11554
|
}
|
|
10956
11555
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
10957
11556
|
}
|
|
@@ -10972,11 +11571,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
|
|
|
10972
11571
|
* @static
|
|
10973
11572
|
* @public
|
|
10974
11573
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11574
|
+
* @param {number} siteId The Site ID associated with this Downtime Event
|
|
10975
11575
|
* @return {DowntimeEventModel}
|
|
10976
11576
|
*/
|
|
10977
11577
|
static fromJSON(json: {
|
|
10978
11578
|
[x: string]: any;
|
|
10979
|
-
} | string): DowntimeEventModel;
|
|
11579
|
+
} | string, siteId: number): DowntimeEventModel;
|
|
11580
|
+
/**
|
|
11581
|
+
* DowntimeEventModel Constructor
|
|
11582
|
+
*
|
|
11583
|
+
* @protected
|
|
11584
|
+
* @param {number} siteId The Site ID associated with this Downtime Event
|
|
11585
|
+
*/
|
|
11586
|
+
protected constructor();
|
|
10980
11587
|
/**
|
|
10981
11588
|
* The Downtime Event ID
|
|
10982
11589
|
*
|
|
@@ -11075,6 +11682,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
|
|
|
11075
11682
|
* @public
|
|
11076
11683
|
*/
|
|
11077
11684
|
updateTimestamp: Date;
|
|
11685
|
+
/**
|
|
11686
|
+
* The Site ID associated with this Downtime Event
|
|
11687
|
+
*
|
|
11688
|
+
* @type {number}
|
|
11689
|
+
* @public
|
|
11690
|
+
*/
|
|
11691
|
+
siteId: number;
|
|
11078
11692
|
}
|
|
11079
11693
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11080
11694
|
}
|
|
@@ -11095,11 +11709,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
|
|
|
11095
11709
|
* @static
|
|
11096
11710
|
* @public
|
|
11097
11711
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11712
|
+
* @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
|
|
11098
11713
|
* @return {FreshPackPackrunSummaryModel}
|
|
11099
11714
|
*/
|
|
11100
11715
|
static fromJSON(json: {
|
|
11101
11716
|
[x: string]: any;
|
|
11102
|
-
} | string): FreshPackPackrunSummaryModel;
|
|
11717
|
+
} | string, siteId: number): FreshPackPackrunSummaryModel;
|
|
11718
|
+
/**
|
|
11719
|
+
* FreshPackPackrunSummaryModel Constructor
|
|
11720
|
+
*
|
|
11721
|
+
* @protected
|
|
11722
|
+
* @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
|
|
11723
|
+
*/
|
|
11724
|
+
protected constructor();
|
|
11103
11725
|
/**
|
|
11104
11726
|
* The FreshPack Packrun Summary ID
|
|
11105
11727
|
*
|
|
@@ -11156,6 +11778,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
|
|
|
11156
11778
|
* @public
|
|
11157
11779
|
*/
|
|
11158
11780
|
updateTimestamp: Date;
|
|
11781
|
+
/**
|
|
11782
|
+
* The Site ID associated with this FreshPack Packrun Summary
|
|
11783
|
+
*
|
|
11784
|
+
* @type {number}
|
|
11785
|
+
* @public
|
|
11786
|
+
*/
|
|
11787
|
+
siteId: number;
|
|
11159
11788
|
}
|
|
11160
11789
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11161
11790
|
}
|
|
@@ -11176,11 +11805,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
|
|
|
11176
11805
|
* @static
|
|
11177
11806
|
* @public
|
|
11178
11807
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11808
|
+
* @param {number} siteId The Site ID associated with this Growing Method
|
|
11179
11809
|
* @return {GrowingMethodModel}
|
|
11180
11810
|
*/
|
|
11181
11811
|
static fromJSON(json: {
|
|
11182
11812
|
[x: string]: any;
|
|
11183
|
-
} | string): GrowingMethodModel;
|
|
11813
|
+
} | string, siteId: number): GrowingMethodModel;
|
|
11814
|
+
/**
|
|
11815
|
+
* GrowingMethodModel Constructor
|
|
11816
|
+
*
|
|
11817
|
+
* @protected
|
|
11818
|
+
* @param {number} siteId The Site ID associated with this Growing Method
|
|
11819
|
+
*/
|
|
11820
|
+
protected constructor();
|
|
11184
11821
|
/**
|
|
11185
11822
|
* The Growing Method ID
|
|
11186
11823
|
*
|
|
@@ -11223,6 +11860,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
|
|
|
11223
11860
|
* @public
|
|
11224
11861
|
*/
|
|
11225
11862
|
updateTimestamp: Date;
|
|
11863
|
+
/**
|
|
11864
|
+
* The Site ID associated with this Growing Method
|
|
11865
|
+
*
|
|
11866
|
+
* @type {number}
|
|
11867
|
+
* @public
|
|
11868
|
+
*/
|
|
11869
|
+
siteId: number;
|
|
11226
11870
|
}
|
|
11227
11871
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11228
11872
|
}
|
|
@@ -11243,11 +11887,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
|
|
|
11243
11887
|
* @static
|
|
11244
11888
|
* @public
|
|
11245
11889
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11890
|
+
* @param {number} siteId The Site ID associated with this Pack Type
|
|
11246
11891
|
* @return {PackTypeModel}
|
|
11247
11892
|
*/
|
|
11248
11893
|
static fromJSON(json: {
|
|
11249
11894
|
[x: string]: any;
|
|
11250
|
-
} | string): PackTypeModel;
|
|
11895
|
+
} | string, siteId: number): PackTypeModel;
|
|
11896
|
+
/**
|
|
11897
|
+
* PackTypeModel Constructor
|
|
11898
|
+
*
|
|
11899
|
+
* @protected
|
|
11900
|
+
* @param {number} siteId The Site ID associated with this Pack Type
|
|
11901
|
+
*/
|
|
11902
|
+
protected constructor();
|
|
11251
11903
|
/**
|
|
11252
11904
|
* The Pack Type ID
|
|
11253
11905
|
*
|
|
@@ -11307,6 +11959,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
|
|
|
11307
11959
|
* @public
|
|
11308
11960
|
*/
|
|
11309
11961
|
updateTimestamp: Date;
|
|
11962
|
+
/**
|
|
11963
|
+
* The Site ID associated with this Pack Type
|
|
11964
|
+
*
|
|
11965
|
+
* @type {number}
|
|
11966
|
+
* @public
|
|
11967
|
+
*/
|
|
11968
|
+
siteId: number;
|
|
11310
11969
|
}
|
|
11311
11970
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11312
11971
|
}
|
|
@@ -11327,11 +11986,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
11327
11986
|
* @static
|
|
11328
11987
|
* @public
|
|
11329
11988
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
11989
|
+
* @param {number} siteId The Site ID associated with this Packing Line
|
|
11330
11990
|
* @return {PackingLineModel}
|
|
11331
11991
|
*/
|
|
11332
11992
|
static fromJSON(json: {
|
|
11333
11993
|
[x: string]: any;
|
|
11334
|
-
} | string): PackingLineModel;
|
|
11994
|
+
} | string, siteId: number): PackingLineModel;
|
|
11995
|
+
/**
|
|
11996
|
+
* PackingLineModel Constructor
|
|
11997
|
+
*
|
|
11998
|
+
* @protected
|
|
11999
|
+
* @param {number} siteId The Site ID associated with this Packing Line
|
|
12000
|
+
*/
|
|
12001
|
+
protected constructor();
|
|
11335
12002
|
/**
|
|
11336
12003
|
* The Packing Line ID
|
|
11337
12004
|
*
|
|
@@ -11450,6 +12117,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
11450
12117
|
* @public
|
|
11451
12118
|
*/
|
|
11452
12119
|
updateTimestamp: Date;
|
|
12120
|
+
/**
|
|
12121
|
+
* The Site ID associated with this Packing Line
|
|
12122
|
+
*
|
|
12123
|
+
* @type {number}
|
|
12124
|
+
* @public
|
|
12125
|
+
*/
|
|
12126
|
+
siteId: number;
|
|
11453
12127
|
}
|
|
11454
12128
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11455
12129
|
}
|
|
@@ -11470,11 +12144,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
|
11470
12144
|
* @static
|
|
11471
12145
|
* @public
|
|
11472
12146
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12147
|
+
* @param {number} siteId The Site ID associated with this Packrun
|
|
11473
12148
|
* @return {PackrunModel}
|
|
11474
12149
|
*/
|
|
11475
12150
|
static fromJSON(json: {
|
|
11476
12151
|
[x: string]: any;
|
|
11477
|
-
} | string): PackrunModel;
|
|
12152
|
+
} | string, siteId: number): PackrunModel;
|
|
12153
|
+
/**
|
|
12154
|
+
* PackrunModel Constructor
|
|
12155
|
+
*
|
|
12156
|
+
* @protected
|
|
12157
|
+
* @param {number} siteId The Site ID associated with this Packrun
|
|
12158
|
+
*/
|
|
12159
|
+
protected constructor();
|
|
11478
12160
|
/**
|
|
11479
12161
|
* The Packrun ID
|
|
11480
12162
|
*
|
|
@@ -11580,6 +12262,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
|
11580
12262
|
* @public
|
|
11581
12263
|
*/
|
|
11582
12264
|
updateTimestamp: Date;
|
|
12265
|
+
/**
|
|
12266
|
+
* The Site ID associated with this Packrun
|
|
12267
|
+
*
|
|
12268
|
+
* @type {number}
|
|
12269
|
+
* @public
|
|
12270
|
+
*/
|
|
12271
|
+
siteId: number;
|
|
11583
12272
|
}
|
|
11584
12273
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11585
12274
|
}
|
|
@@ -11600,11 +12289,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
|
|
|
11600
12289
|
* @static
|
|
11601
12290
|
* @public
|
|
11602
12291
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12292
|
+
* @param {number} siteId The Site ID associated with this Reject Bin
|
|
11603
12293
|
* @return {RejectBinModel}
|
|
11604
12294
|
*/
|
|
11605
12295
|
static fromJSON(json: {
|
|
11606
12296
|
[x: string]: any;
|
|
11607
|
-
} | string): RejectBinModel;
|
|
12297
|
+
} | string, siteId: number): RejectBinModel;
|
|
12298
|
+
/**
|
|
12299
|
+
* RejectBinModel Constructor
|
|
12300
|
+
*
|
|
12301
|
+
* @protected
|
|
12302
|
+
* @param {number} siteId The Site ID associated with this Reject Bin
|
|
12303
|
+
*/
|
|
12304
|
+
protected constructor();
|
|
11608
12305
|
/**
|
|
11609
12306
|
* The Reject Bin ID
|
|
11610
12307
|
*
|
|
@@ -11668,6 +12365,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
|
|
|
11668
12365
|
* @public
|
|
11669
12366
|
*/
|
|
11670
12367
|
updateTimestamp: Date;
|
|
12368
|
+
/**
|
|
12369
|
+
* The Site ID associated with this Reject Bin
|
|
12370
|
+
*
|
|
12371
|
+
* @type {number}
|
|
12372
|
+
* @public
|
|
12373
|
+
*/
|
|
12374
|
+
siteId: number;
|
|
11671
12375
|
}
|
|
11672
12376
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11673
12377
|
}
|
|
@@ -11688,11 +12392,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
|
|
|
11688
12392
|
* @static
|
|
11689
12393
|
* @public
|
|
11690
12394
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12395
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Scale
|
|
11691
12396
|
* @return {RejectBinScaleModel}
|
|
11692
12397
|
*/
|
|
11693
12398
|
static fromJSON(json: {
|
|
11694
12399
|
[x: string]: any;
|
|
11695
|
-
} | string): RejectBinScaleModel;
|
|
12400
|
+
} | string, siteId: number): RejectBinScaleModel;
|
|
12401
|
+
/**
|
|
12402
|
+
* RejectBinScaleModel Constructor
|
|
12403
|
+
*
|
|
12404
|
+
* @protected
|
|
12405
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Scale
|
|
12406
|
+
*/
|
|
12407
|
+
protected constructor();
|
|
11696
12408
|
/**
|
|
11697
12409
|
* The Reject Bin Scale ID
|
|
11698
12410
|
*
|
|
@@ -11752,10 +12464,89 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
|
|
|
11752
12464
|
/**
|
|
11753
12465
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
11754
12466
|
*
|
|
12467
|
+
* @type {?{delay: ?number}}
|
|
12468
|
+
* @public
|
|
12469
|
+
*/
|
|
12470
|
+
autoPackrunChange: {
|
|
12471
|
+
delay: number | null;
|
|
12472
|
+
};
|
|
12473
|
+
/**
|
|
12474
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
12475
|
+
*
|
|
12476
|
+
* @type {?boolean}
|
|
12477
|
+
* @public
|
|
12478
|
+
*/
|
|
12479
|
+
supportsLiveWeighing: boolean | null;
|
|
12480
|
+
/**
|
|
12481
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
12482
|
+
*
|
|
12483
|
+
* @type {?number}
|
|
12484
|
+
* @public
|
|
12485
|
+
*/
|
|
12486
|
+
autoWeighingStartThreshold: number | null;
|
|
12487
|
+
/**
|
|
12488
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
12489
|
+
*
|
|
12490
|
+
* @type {?number}
|
|
12491
|
+
* @public
|
|
12492
|
+
*/
|
|
12493
|
+
autoWeighingStartDelay: number | null;
|
|
12494
|
+
/**
|
|
12495
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
12496
|
+
*
|
|
12497
|
+
* @type {?number}
|
|
12498
|
+
* @public
|
|
12499
|
+
*/
|
|
12500
|
+
autoWeighingFinishThreshold: number | null;
|
|
12501
|
+
/**
|
|
12502
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
12503
|
+
*
|
|
12504
|
+
* @type {?number}
|
|
12505
|
+
* @public
|
|
12506
|
+
*/
|
|
12507
|
+
autoWeighingFinishDelay: number | null;
|
|
12508
|
+
/**
|
|
12509
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
12510
|
+
*
|
|
12511
|
+
* @type {?number}
|
|
12512
|
+
* @public
|
|
12513
|
+
*/
|
|
12514
|
+
manualInterventionMaximumDuration: number | null;
|
|
12515
|
+
/**
|
|
12516
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
12517
|
+
*
|
|
12518
|
+
* @type {?number}
|
|
12519
|
+
* @public
|
|
12520
|
+
*/
|
|
12521
|
+
liveWeighingIncreaseTolerance: number | null;
|
|
12522
|
+
/**
|
|
12523
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
12524
|
+
*
|
|
12525
|
+
* @type {?number}
|
|
12526
|
+
* @public
|
|
12527
|
+
*/
|
|
12528
|
+
liveWeighingDecreaseTolerance: number | null;
|
|
12529
|
+
/**
|
|
12530
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
12531
|
+
*
|
|
12532
|
+
* @type {?number}
|
|
12533
|
+
* @public
|
|
12534
|
+
*/
|
|
12535
|
+
liveWeighingUpdateInterval: number | null;
|
|
12536
|
+
/**
|
|
12537
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
12538
|
+
*
|
|
12539
|
+
* @type {?boolean}
|
|
12540
|
+
* @public
|
|
12541
|
+
*/
|
|
12542
|
+
liveWeighingUsesStableStatus: boolean | null;
|
|
12543
|
+
/**
|
|
12544
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
12545
|
+
*
|
|
11755
12546
|
* @type {?number}
|
|
11756
12547
|
* @public
|
|
11757
12548
|
*/
|
|
11758
|
-
|
|
12549
|
+
incorrectOperationTolerance: number | null;
|
|
11759
12550
|
/**
|
|
11760
12551
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
11761
12552
|
*
|
|
@@ -11777,6 +12568,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
|
|
|
11777
12568
|
* @public
|
|
11778
12569
|
*/
|
|
11779
12570
|
updateTimestamp: Date;
|
|
12571
|
+
/**
|
|
12572
|
+
* The Site ID associated with this Reject Bin Scale
|
|
12573
|
+
*
|
|
12574
|
+
* @type {number}
|
|
12575
|
+
* @public
|
|
12576
|
+
*/
|
|
12577
|
+
siteId: number;
|
|
11780
12578
|
}
|
|
11781
12579
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11782
12580
|
}
|
|
@@ -11797,11 +12595,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
|
|
|
11797
12595
|
* @static
|
|
11798
12596
|
* @public
|
|
11799
12597
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12598
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Weight
|
|
11800
12599
|
* @return {RejectBinWeightModel}
|
|
11801
12600
|
*/
|
|
11802
12601
|
static fromJSON(json: {
|
|
11803
12602
|
[x: string]: any;
|
|
11804
|
-
} | string): RejectBinWeightModel;
|
|
12603
|
+
} | string, siteId: number): RejectBinWeightModel;
|
|
12604
|
+
/**
|
|
12605
|
+
* RejectBinWeightModel Constructor
|
|
12606
|
+
*
|
|
12607
|
+
* @protected
|
|
12608
|
+
* @param {number} siteId The Site ID associated with this Reject Bin Weight
|
|
12609
|
+
*/
|
|
12610
|
+
protected constructor();
|
|
11805
12611
|
/**
|
|
11806
12612
|
* The Reject Bin Weight ID
|
|
11807
12613
|
*
|
|
@@ -11872,6 +12678,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
|
|
|
11872
12678
|
* @public
|
|
11873
12679
|
*/
|
|
11874
12680
|
updateTimestamp: Date;
|
|
12681
|
+
/**
|
|
12682
|
+
* The Site ID associated with this Reject Bin Weight
|
|
12683
|
+
*
|
|
12684
|
+
* @type {number}
|
|
12685
|
+
* @public
|
|
12686
|
+
*/
|
|
12687
|
+
siteId: number;
|
|
11875
12688
|
}
|
|
11876
12689
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11877
12690
|
}
|
|
@@ -11892,11 +12705,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel'
|
|
|
11892
12705
|
* @static
|
|
11893
12706
|
* @public
|
|
11894
12707
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12708
|
+
* @param {number} siteId The Site ID associated with this Shift Focus Meeting
|
|
11895
12709
|
* @return {ShiftFocusMeetingModel}
|
|
11896
12710
|
*/
|
|
11897
12711
|
static fromJSON(json: {
|
|
11898
12712
|
[x: string]: any;
|
|
11899
|
-
} | string): ShiftFocusMeetingModel;
|
|
12713
|
+
} | string, siteId: number): ShiftFocusMeetingModel;
|
|
12714
|
+
/**
|
|
12715
|
+
* ShiftFocusMeetingModel Constructor
|
|
12716
|
+
*
|
|
12717
|
+
* @protected
|
|
12718
|
+
* @param {number} siteId The Site ID associated with this Shift Focus Meeting
|
|
12719
|
+
*/
|
|
12720
|
+
protected constructor();
|
|
11900
12721
|
/**
|
|
11901
12722
|
* The Shift Focus Meeting ID
|
|
11902
12723
|
*
|
|
@@ -11981,6 +12802,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel'
|
|
|
11981
12802
|
* @public
|
|
11982
12803
|
*/
|
|
11983
12804
|
updateTimestamp: Date;
|
|
12805
|
+
/**
|
|
12806
|
+
* The Site ID associated with this Shift Focus Meeting
|
|
12807
|
+
*
|
|
12808
|
+
* @type {number}
|
|
12809
|
+
* @public
|
|
12810
|
+
*/
|
|
12811
|
+
siteId: number;
|
|
11984
12812
|
}
|
|
11985
12813
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11986
12814
|
}
|
|
@@ -12001,11 +12829,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12001
12829
|
* @static
|
|
12002
12830
|
* @public
|
|
12003
12831
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12832
|
+
* @param {number} siteId The Site ID associated with this Shift Hourly Entry
|
|
12004
12833
|
* @return {ShiftHourlyEntryModel}
|
|
12005
12834
|
*/
|
|
12006
12835
|
static fromJSON(json: {
|
|
12007
12836
|
[x: string]: any;
|
|
12008
|
-
} | string): ShiftHourlyEntryModel;
|
|
12837
|
+
} | string, siteId: number): ShiftHourlyEntryModel;
|
|
12838
|
+
/**
|
|
12839
|
+
* ShiftHourlyEntryModel Constructor
|
|
12840
|
+
*
|
|
12841
|
+
* @protected
|
|
12842
|
+
* @param {number} siteId The Site ID associated with this Shift Hourly Entry
|
|
12843
|
+
*/
|
|
12844
|
+
protected constructor();
|
|
12009
12845
|
/**
|
|
12010
12846
|
* The Shift Hourly Entry ID
|
|
12011
12847
|
*
|
|
@@ -12270,6 +13106,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12270
13106
|
* @public
|
|
12271
13107
|
*/
|
|
12272
13108
|
updateTimestamp: Date;
|
|
13109
|
+
/**
|
|
13110
|
+
* The Site ID associated with this Shift Hourly Entry
|
|
13111
|
+
*
|
|
13112
|
+
* @type {number}
|
|
13113
|
+
* @public
|
|
13114
|
+
*/
|
|
13115
|
+
siteId: number;
|
|
12273
13116
|
}
|
|
12274
13117
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12275
13118
|
}
|
|
@@ -12290,11 +13133,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
12290
13133
|
* @static
|
|
12291
13134
|
* @public
|
|
12292
13135
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13136
|
+
* @param {number} siteId The Site ID associated with this Shift
|
|
12293
13137
|
* @return {ShiftModel}
|
|
12294
13138
|
*/
|
|
12295
13139
|
static fromJSON(json: {
|
|
12296
13140
|
[x: string]: any;
|
|
12297
|
-
} | string): ShiftModel;
|
|
13141
|
+
} | string, siteId: number): ShiftModel;
|
|
13142
|
+
/**
|
|
13143
|
+
* ShiftModel Constructor
|
|
13144
|
+
*
|
|
13145
|
+
* @protected
|
|
13146
|
+
* @param {number} siteId The Site ID associated with this Shift
|
|
13147
|
+
*/
|
|
13148
|
+
protected constructor();
|
|
12298
13149
|
/**
|
|
12299
13150
|
* The Shift ID
|
|
12300
13151
|
*
|
|
@@ -12442,6 +13293,102 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
12442
13293
|
* @public
|
|
12443
13294
|
*/
|
|
12444
13295
|
updateTimestamp: Date;
|
|
13296
|
+
/**
|
|
13297
|
+
* The Site ID associated with this Shift
|
|
13298
|
+
*
|
|
13299
|
+
* @type {number}
|
|
13300
|
+
* @public
|
|
13301
|
+
*/
|
|
13302
|
+
siteId: number;
|
|
13303
|
+
}
|
|
13304
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13305
|
+
}
|
|
13306
|
+
|
|
13307
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel' {
|
|
13308
|
+
export default SoftSortBeltModel;
|
|
13309
|
+
/**
|
|
13310
|
+
* Model Class for a Soft Sort Belt
|
|
13311
|
+
*
|
|
13312
|
+
* @class
|
|
13313
|
+
* @hideconstructor
|
|
13314
|
+
* @extends BaseModel
|
|
13315
|
+
*/
|
|
13316
|
+
class SoftSortBeltModel extends BaseModel {
|
|
13317
|
+
/**
|
|
13318
|
+
* Create a new **SoftSortBeltModel** from a JSON Object or JSON String
|
|
13319
|
+
*
|
|
13320
|
+
* @static
|
|
13321
|
+
* @public
|
|
13322
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13323
|
+
* @param {number} siteId The Site ID associated with this Soft Sort Belt
|
|
13324
|
+
* @return {SoftSortBeltModel}
|
|
13325
|
+
*/
|
|
13326
|
+
static fromJSON(json: {
|
|
13327
|
+
[x: string]: any;
|
|
13328
|
+
} | string, siteId: number): SoftSortBeltModel;
|
|
13329
|
+
/**
|
|
13330
|
+
* SoftSortBeltModel Constructor
|
|
13331
|
+
*
|
|
13332
|
+
* @protected
|
|
13333
|
+
* @param {number} siteId The Site ID associated with this Soft Sort Belt
|
|
13334
|
+
*/
|
|
13335
|
+
protected constructor();
|
|
13336
|
+
/**
|
|
13337
|
+
* The Soft Sort Belt ID
|
|
13338
|
+
*
|
|
13339
|
+
* @type {string}
|
|
13340
|
+
* @public
|
|
13341
|
+
*/
|
|
13342
|
+
id: string;
|
|
13343
|
+
/**
|
|
13344
|
+
* The RTU this Soft Sort Belt belongs to
|
|
13345
|
+
*
|
|
13346
|
+
* @type {?number}
|
|
13347
|
+
* @public
|
|
13348
|
+
*/
|
|
13349
|
+
rtuId: number | null;
|
|
13350
|
+
/**
|
|
13351
|
+
* The Name of this Soft Sort Belt
|
|
13352
|
+
*
|
|
13353
|
+
* @type {string}
|
|
13354
|
+
* @public
|
|
13355
|
+
*/
|
|
13356
|
+
name: string;
|
|
13357
|
+
/**
|
|
13358
|
+
* The Points used by this Soft Sort Belt
|
|
13359
|
+
*
|
|
13360
|
+
* @type {Object}
|
|
13361
|
+
* @public
|
|
13362
|
+
*/
|
|
13363
|
+
points: any;
|
|
13364
|
+
/**
|
|
13365
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
13366
|
+
*
|
|
13367
|
+
* @type {string}
|
|
13368
|
+
* @public
|
|
13369
|
+
*/
|
|
13370
|
+
packingLineId: string;
|
|
13371
|
+
/**
|
|
13372
|
+
* Whether the Soft Sort Belt has been deleted
|
|
13373
|
+
*
|
|
13374
|
+
* @type {boolean}
|
|
13375
|
+
* @public
|
|
13376
|
+
*/
|
|
13377
|
+
deleted: boolean;
|
|
13378
|
+
/**
|
|
13379
|
+
* When the Soft Sort Belt was last updated
|
|
13380
|
+
*
|
|
13381
|
+
* @type {Date}
|
|
13382
|
+
* @public
|
|
13383
|
+
*/
|
|
13384
|
+
updateTimestamp: Date;
|
|
13385
|
+
/**
|
|
13386
|
+
* The Site ID associated with this Soft Sort Belt
|
|
13387
|
+
*
|
|
13388
|
+
* @type {number}
|
|
13389
|
+
* @public
|
|
13390
|
+
*/
|
|
13391
|
+
siteId: number;
|
|
12445
13392
|
}
|
|
12446
13393
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12447
13394
|
}
|
|
@@ -12462,11 +13409,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
|
|
|
12462
13409
|
* @static
|
|
12463
13410
|
* @public
|
|
12464
13411
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13412
|
+
* @param {number} siteId The Site ID associated with this Variety
|
|
12465
13413
|
* @return {VarietyModel}
|
|
12466
13414
|
*/
|
|
12467
13415
|
static fromJSON(json: {
|
|
12468
13416
|
[x: string]: any;
|
|
12469
|
-
} | string): VarietyModel;
|
|
13417
|
+
} | string, siteId: number): VarietyModel;
|
|
13418
|
+
/**
|
|
13419
|
+
* VarietyModel Constructor
|
|
13420
|
+
*
|
|
13421
|
+
* @protected
|
|
13422
|
+
* @param {number} siteId The Site ID associated with this Variety
|
|
13423
|
+
*/
|
|
13424
|
+
protected constructor();
|
|
12470
13425
|
/**
|
|
12471
13426
|
* The Variety ID
|
|
12472
13427
|
*
|
|
@@ -12525,6 +13480,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
|
|
|
12525
13480
|
* @public
|
|
12526
13481
|
*/
|
|
12527
13482
|
updateTimestamp: Date;
|
|
13483
|
+
/**
|
|
13484
|
+
* The Site ID associated with this Variety
|
|
13485
|
+
*
|
|
13486
|
+
* @type {number}
|
|
13487
|
+
* @public
|
|
13488
|
+
*/
|
|
13489
|
+
siteId: number;
|
|
12528
13490
|
}
|
|
12529
13491
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12530
13492
|
}
|