@ricado/api-client 2.3.17 → 2.3.19

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 (73) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Packhouse/Site/BinTipBarcodeScannerController.js +198 -0
  3. package/lib/Controllers/Packhouse/Site/BinTipBinController.js +14 -2
  4. package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +186 -2
  5. package/lib/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +959 -0
  6. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +89 -15
  7. package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +1 -1
  8. package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +35 -4
  9. package/lib/Controllers/Packhouse/Site/MAFSizerController.js +101 -19
  10. package/lib/Controllers/Packhouse/Site/PackingLineController.js +435 -23
  11. package/lib/Controllers/Packhouse/Site/PackrunController.js +11 -2
  12. package/lib/Controllers/Packhouse/Site/RejectBinController.js +38 -2
  13. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +52 -6
  14. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +70 -4
  15. package/lib/Controllers/Packhouse/Site/ShiftController.js +1 -1
  16. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
  17. package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +2 -2
  18. package/lib/Controllers/Packhouse/Site/SoftSortPackrunSummaryController.js +14 -2
  19. package/lib/Controllers/Packhouse/Site/index.js +6 -0
  20. package/lib/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +263 -0
  21. package/lib/Models/Packhouse/Site/BinTipBinModel.js +75 -5
  22. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +1276 -5
  23. package/lib/Models/Packhouse/Site/CompacSizerBinWeightModel.js +627 -0
  24. package/lib/Models/Packhouse/Site/CompacSizerModel.js +966 -72
  25. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +260 -8
  26. package/lib/Models/Packhouse/Site/MAFSizerModel.js +660 -85
  27. package/lib/Models/Packhouse/Site/PackingLineModel.js +3860 -551
  28. package/lib/Models/Packhouse/Site/PackrunModel.js +26 -4
  29. package/lib/Models/Packhouse/Site/RejectBinModel.js +214 -4
  30. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +576 -14
  31. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +113 -9
  32. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +98 -0
  33. package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +50 -5
  34. package/lib/Models/Packhouse/Site/SoftSortPackrunSummaryModel.js +75 -5
  35. package/lib/Models/Packhouse/Site/index.js +6 -0
  36. package/lib/PackageVersion.js +1 -1
  37. package/lib/index.d.ts +6004 -2037
  38. package/package.json +1 -1
  39. package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerController.js +175 -0
  40. package/src/Controllers/Packhouse/Site/BinTipBinController.js +14 -2
  41. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +186 -2
  42. package/src/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +1090 -0
  43. package/src/Controllers/Packhouse/Site/CompacSizerController.js +89 -15
  44. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +1 -1
  45. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +35 -4
  46. package/src/Controllers/Packhouse/Site/MAFSizerController.js +101 -19
  47. package/src/Controllers/Packhouse/Site/PackingLineController.js +435 -23
  48. package/src/Controllers/Packhouse/Site/PackrunController.js +11 -2
  49. package/src/Controllers/Packhouse/Site/RejectBinController.js +38 -2
  50. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +52 -6
  51. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +70 -4
  52. package/src/Controllers/Packhouse/Site/ShiftController.js +1 -1
  53. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
  54. package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +2 -2
  55. package/src/Controllers/Packhouse/Site/SoftSortPackrunSummaryController.js +14 -2
  56. package/src/Controllers/Packhouse/Site/index.js +4 -0
  57. package/src/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +252 -0
  58. package/src/Models/Packhouse/Site/BinTipBinModel.js +97 -5
  59. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +1682 -5
  60. package/src/Models/Packhouse/Site/CompacSizerBinWeightModel.js +715 -0
  61. package/src/Models/Packhouse/Site/CompacSizerModel.js +1319 -109
  62. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +339 -8
  63. package/src/Models/Packhouse/Site/MAFSizerModel.js +869 -92
  64. package/src/Models/Packhouse/Site/PackingLineModel.js +5086 -671
  65. package/src/Models/Packhouse/Site/PackrunModel.js +33 -4
  66. package/src/Models/Packhouse/Site/RejectBinModel.js +280 -4
  67. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +775 -15
  68. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +147 -10
  69. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +120 -0
  70. package/src/Models/Packhouse/Site/SoftSortBeltModel.js +65 -5
  71. package/src/Models/Packhouse/Site/SoftSortPackrunSummaryModel.js +97 -5
  72. package/src/Models/Packhouse/Site/index.js +4 -0
  73. package/src/PackageVersion.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.17",
3
+ "version": "2.3.19",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -0,0 +1,175 @@
1
+ /**
2
+ * File Auto-Generated by the RICADO Gen 4 PHP API Project
3
+ *
4
+ * Do Not Edit this File Manually!
5
+ */
6
+
7
+ import RequestHelper from '../../../RequestHelper';
8
+ import BinTipBarcodeScannerModel from '../../../Models/Packhouse/Site/BinTipBarcodeScannerModel';
9
+
10
+ /**
11
+ * Controller Class for Bin Tip Barcode Scanners
12
+ *
13
+ * @class
14
+ */
15
+ class BinTipBarcodeScannerController
16
+ {
17
+ /**
18
+ * Retrieve a Bin Tip Barcode Scanner [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
19
+ *
20
+ * @static
21
+ * @public
22
+ * @param {number} siteId The Site ID
23
+ * @param {string} id The Bin Tip Barcode Scanner ID
24
+ * @return {Promise<BinTipBarcodeScannerModel>}
25
+ */
26
+ static getOne(siteId, id)
27
+ {
28
+ return new Promise((resolve, reject) => {
29
+ RequestHelper.getRequest(`/packhouse/sites/${siteId}/bin-tip-barcode-scanners/${id}`)
30
+ .then((result) => {
31
+ let resolveValue = (function(){
32
+ return BinTipBarcodeScannerModel.fromJSON(result, siteId);
33
+ }());
34
+
35
+ resolve(resolveValue);
36
+ })
37
+ .catch(error => reject(error));
38
+ });
39
+ }
40
+
41
+ /**
42
+ * Update a Bin Tip Barcode Scanner [PATCH /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
43
+ *
44
+ * @static
45
+ * @public
46
+ * @param {number} siteId The Site ID
47
+ * @param {string} id The Bin Tip Barcode Scanner ID
48
+ * @param {BinTipBarcodeScannerController.UpdateData} updateData The Bin Tip Barcode Scanner Update Data
49
+ * @return {Promise<BinTipBarcodeScannerModel>}
50
+ */
51
+ static update(siteId, id, updateData)
52
+ {
53
+ return new Promise((resolve, reject) => {
54
+ RequestHelper.patchRequest(`/packhouse/sites/${siteId}/bin-tip-barcode-scanners/${id}`, updateData)
55
+ .then((result) => {
56
+ let resolveValue = (function(){
57
+ return BinTipBarcodeScannerModel.fromJSON(result, siteId);
58
+ }());
59
+
60
+ resolve(resolveValue);
61
+ })
62
+ .catch(error => reject(error));
63
+ });
64
+ }
65
+
66
+ /**
67
+ * Delete a Bin Tip Barcode Scanner [DELETE /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
68
+ *
69
+ * @static
70
+ * @public
71
+ * @param {number} siteId The Site ID
72
+ * @param {string} id The Bin Tip Barcode Scanner ID
73
+ * @return {Promise<boolean>}
74
+ */
75
+ static delete(siteId, id)
76
+ {
77
+ return new Promise((resolve, reject) => {
78
+ RequestHelper.deleteRequest(`/packhouse/sites/${siteId}/bin-tip-barcode-scanners/${id}`)
79
+ .then((result) => {
80
+ resolve(result ?? true);
81
+ })
82
+ .catch(error => reject(error));
83
+ });
84
+ }
85
+
86
+ /**
87
+ * List all Bin Tip Barcode Scanners [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanners]
88
+ *
89
+ * @static
90
+ * @public
91
+ * @param {number} siteId The Site ID
92
+ * @param {BinTipBarcodeScannerController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
93
+ * @return {Promise<BinTipBarcodeScannerModel[]>}
94
+ */
95
+ static getAll(siteId, queryParameters = {})
96
+ {
97
+ return new Promise((resolve, reject) => {
98
+ RequestHelper.getRequest(`/packhouse/sites/${siteId}/bin-tip-barcode-scanners`, queryParameters)
99
+ .then((result) => {
100
+ let resolveValue = (function(){
101
+ if(Array.isArray(result) !== true)
102
+ {
103
+ return [];
104
+ }
105
+
106
+ return result.map((resultItem) => {
107
+ return (function(){
108
+ return BinTipBarcodeScannerModel.fromJSON(resultItem, siteId);
109
+ }());
110
+ });
111
+ }());
112
+
113
+ resolve(resolveValue);
114
+ })
115
+ .catch(error => reject(error));
116
+ });
117
+ }
118
+
119
+ /**
120
+ * Create a Bin Tip Barcode Scanner [POST /packhouse/sites/{siteId}/bin-tip-barcode-scanners]
121
+ *
122
+ * @static
123
+ * @public
124
+ * @param {number} siteId The Site ID
125
+ * @param {BinTipBarcodeScannerController.CreateData} createData The Bin Tip Barcode Scanner Create Data
126
+ * @return {Promise<BinTipBarcodeScannerModel>}
127
+ */
128
+ static create(siteId, createData)
129
+ {
130
+ return new Promise((resolve, reject) => {
131
+ RequestHelper.postRequest(`/packhouse/sites/${siteId}/bin-tip-barcode-scanners`, createData)
132
+ .then((result) => {
133
+ let resolveValue = (function(){
134
+ return BinTipBarcodeScannerModel.fromJSON(result, siteId);
135
+ }());
136
+
137
+ resolve(resolveValue);
138
+ })
139
+ .catch(error => reject(error));
140
+ });
141
+ }
142
+ }
143
+
144
+ export default BinTipBarcodeScannerController;
145
+
146
+ /**
147
+ * The Optional Query Parameters for the getAll Function
148
+ *
149
+ * @typedef {Object} BinTipBarcodeScannerController.GetAllQueryParameters
150
+ * @property {?number} [rtuId] The RTU this Bin Tip Barcode Scanner Belt belongs to
151
+ * @property {string} [name] The Name of this Bin Tip Barcode Scanner
152
+ * @property {string} [binTipId] The Bin Tip that owns this Barcode Scanner
153
+ * @memberof Controllers.Packhouse.Site
154
+ */
155
+
156
+ /**
157
+ * The Create Data for a Bin Tip Barcode Scanner
158
+ *
159
+ * @typedef {Object} BinTipBarcodeScannerController.CreateData
160
+ * @property {?number} [rtuId] The RTU this Bin Tip Barcode Scanner Belt belongs to
161
+ * @property {string} name The Name of this Bin Tip Barcode Scanner
162
+ * @property {{scannerErrorBeepRequest: number, restartServiceRequest: number}} points The Points used by this Bin Tip Barcode Scanner
163
+ * @property {string} binTipId The Bin Tip that owns this Barcode Scanner
164
+ * @memberof Controllers.Packhouse.Site
165
+ */
166
+
167
+ /**
168
+ * The Update Data for a Bin Tip Barcode Scanner
169
+ *
170
+ * @typedef {Object} BinTipBarcodeScannerController.UpdateData
171
+ * @property {string} [name] The Name of this Bin Tip Barcode Scanner
172
+ * @property {{scannerErrorBeepRequest: number, restartServiceRequest: number}} [points] The Points used by this Bin Tip Barcode Scanner
173
+ * @property {string} [binTipId] The Bin Tip that owns this Barcode Scanner
174
+ * @memberof Controllers.Packhouse.Site
175
+ */
@@ -980,7 +980,7 @@ export default BinTipBinController;
980
980
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
981
981
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
982
982
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
983
- * @property {?Object} [freshPackFieldBinWeightApi] The FreshPack Field Bin Weight API Data
983
+ * @property {?BinTipBinController.FieldBinWeightApiStatus} [freshPackFieldBinWeightApi] Results from Interacting with the FreshPack API to Send Field Bin Weights
984
984
  * @memberof Controllers.Packhouse.Site
985
985
  */
986
986
 
@@ -997,7 +997,7 @@ export default BinTipBinController;
997
997
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
998
998
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
999
999
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
1000
- * @property {?Object} [freshPackFieldBinWeightApi] The FreshPack Field Bin Weight API Data
1000
+ * @property {?BinTipBinController.FieldBinWeightApiStatus} [freshPackFieldBinWeightApi] Results from Interacting with the FreshPack API to Send Field Bin Weights
1001
1001
  * @memberof Controllers.Packhouse.Site
1002
1002
  */
1003
1003
 
@@ -1021,4 +1021,16 @@ export default BinTipBinController;
1021
1021
  * @property {?Date} createdTimestamp When the Comment was Created
1022
1022
  * @property {?Date} updatedTimestamp When the Comment was last Updated
1023
1023
  * @memberof Controllers.Packhouse.Site
1024
+ */
1025
+
1026
+ /**
1027
+ * A **FieldBinWeightApiStatus** Type
1028
+ *
1029
+ * @typedef {Object} BinTipBinController.FieldBinWeightApiStatus
1030
+ * @property {number} requestCount Number of Requests made to the FreshPack API
1031
+ * @property {?Date} requestTimestamp Timestamp of the last Request made to the FreshPack API
1032
+ * @property {?number} responseCode Response Code from the last FreshPack API Request
1033
+ * @property {?string} responseMessage Response Message from the last FreshPack API Request
1034
+ * @property {boolean} completed Whether Interaction with the FreshPack API has been Completed
1035
+ * @memberof Controllers.Packhouse.Site
1024
1036
  */
@@ -972,7 +972,7 @@ export default CompacSizerBatchController;
972
972
  * @property {string} [batchId] The Numeric Compac Batch ID
973
973
  * @property {Date} [createdTimestamp] When this Batch was Created
974
974
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
975
- * @property {Object} batch The Compac Sizer Batch Data
975
+ * @property {CompacSizerBatchController.CompacSizerBatch} batch The Compac Sizer Batch Data
976
976
  * @memberof Controllers.Packhouse.Site
977
977
  */
978
978
 
@@ -983,7 +983,7 @@ export default CompacSizerBatchController;
983
983
  * @property {string} [compacSizerId] The Compac Sizer ID this Batch is associated with
984
984
  * @property {Date} [createdTimestamp] When this Batch was Created
985
985
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
986
- * @property {Object} [batch] The Compac Sizer Batch Data
986
+ * @property {CompacSizerBatchController.CompacSizerBatch} [batch] The Compac Sizer Batch Data
987
987
  * @memberof Controllers.Packhouse.Site
988
988
  */
989
989
 
@@ -1007,4 +1007,188 @@ export default CompacSizerBatchController;
1007
1007
  * @property {?Date} createdTimestamp When the Comment was Created
1008
1008
  * @property {?Date} updatedTimestamp When the Comment was last Updated
1009
1009
  * @memberof Controllers.Packhouse.Site
1010
+ */
1011
+
1012
+ /**
1013
+ * A **BatchEvent** Type
1014
+ *
1015
+ * @typedef {Object} CompacSizerBatchController.BatchEvent
1016
+ * @property {number} id ID of this Event
1017
+ * @property {number} batchId The Batch ID this Event is associated with
1018
+ * @property {string} type The Event Type
1019
+ * @property {string} details Details of this Event
1020
+ * @property {Date} timestamp When this Event Occurred
1021
+ * @property {number} runningSeconds Total Seconds the Sizer was Running during this Event
1022
+ * @property {number} fruitRunningSeconds Total Seconds the Sizer was Running with Fruit during this Event
1023
+ * @memberof Controllers.Packhouse.Site
1024
+ */
1025
+
1026
+ /**
1027
+ * A **BatchSizingMapFruitSize** Type
1028
+ *
1029
+ * @typedef {Object} CompacSizerBatchController.BatchSizingMapFruitSize
1030
+ * @property {number} id ID of this Fruit Size
1031
+ * @property {number} eventId The Event ID this Fruit Size is associated with
1032
+ * @property {number} index Index of this Fruit Size
1033
+ * @property {?string} name Name of this Fruit Size
1034
+ * @property {number} minimumFruitWeight The Minimum Weight in Grams for this Fruit Size
1035
+ * @property {number} fruitCount The Fruit Count for this Fruit Size
1036
+ * @property {number} minimumTrayWeight The Minimum Tray Weight in Grams for this Fruit Size
1037
+ * @property {number} varietySizingMapId ID of the Variety Sizing Map
1038
+ * @memberof Controllers.Packhouse.Site
1039
+ */
1040
+
1041
+ /**
1042
+ * A **BatchSizingMap** Type
1043
+ *
1044
+ * @typedef {Object} CompacSizerBatchController.BatchSizingMap
1045
+ * @property {number} id ID of this Sizing Map
1046
+ * @property {number} eventId The Event ID this Sizing Map is associated with
1047
+ * @property {number} varietySizingMapId ID of the Variety Sizing Map
1048
+ * @property {?string} name Name of this Sizing Map
1049
+ * @property {Array<CompacSizerBatchController.BatchSizingMapFruitSize>} fruitSizes An Array of Fruit Sizes defined in this Sizing Map
1050
+ * @memberof Controllers.Packhouse.Site
1051
+ */
1052
+
1053
+ /**
1054
+ * A **BatchGrade** Type
1055
+ *
1056
+ * @typedef {Object} CompacSizerBatchController.BatchGrade
1057
+ * @property {number} id ID of this Grade
1058
+ * @property {number} eventId The Event ID this Grade is associated with
1059
+ * @property {number} index Index of this Grade
1060
+ * @property {?string} name Name of this Grade
1061
+ * @memberof Controllers.Packhouse.Site
1062
+ */
1063
+
1064
+ /**
1065
+ * A **BatchQuality** Type
1066
+ *
1067
+ * @typedef {Object} CompacSizerBatchController.BatchQuality
1068
+ * @property {number} id ID of this Quality
1069
+ * @property {number} eventId The Event ID this Quality is associated with
1070
+ * @property {number} index Index of this Quality
1071
+ * @property {?string} name Name of this Quality
1072
+ * @memberof Controllers.Packhouse.Site
1073
+ */
1074
+
1075
+ /**
1076
+ * A **BatchProduct** Type
1077
+ *
1078
+ * @typedef {Object} CompacSizerBatchController.BatchProduct
1079
+ * @property {number} id ID of this Product
1080
+ * @property {number} eventId The Event ID this Product is associated with
1081
+ * @property {string} guid UUID of this Product
1082
+ * @property {?string} name Name of this Product
1083
+ * @memberof Controllers.Packhouse.Site
1084
+ */
1085
+
1086
+ /**
1087
+ * A **BatchPack** Type
1088
+ *
1089
+ * @typedef {Object} CompacSizerBatchController.BatchPack
1090
+ * @property {number} id ID of this Pack
1091
+ * @property {number} eventId The Event ID this Pack is associated with
1092
+ * @property {string} guid UUID of this Pack
1093
+ * @property {?string} name Name of this Pack
1094
+ * @memberof Controllers.Packhouse.Site
1095
+ */
1096
+
1097
+ /**
1098
+ * A **BatchSummaryGroup** Type
1099
+ *
1100
+ * @typedef {Object} CompacSizerBatchController.BatchSummaryGroup
1101
+ * @property {number} id ID of this Summary Group
1102
+ * @property {?string} name Name of this Summary Group
1103
+ * @property {boolean} isReject Whether this Summary Group is classes as Reject
1104
+ * @property {number} orderIndex The Display Order Index for this Summary Group
1105
+ * @memberof Controllers.Packhouse.Site
1106
+ */
1107
+
1108
+ /**
1109
+ * A **BatchDropSummary** Type
1110
+ *
1111
+ * @typedef {Object} CompacSizerBatchController.BatchDropSummary
1112
+ * @property {number} id ID of this Drop Summary
1113
+ * @property {number} eventId The Event ID this Drop Summary is associated with
1114
+ * @property {number} summaryGroupId ID of the Summary Group for this Drop Summary
1115
+ * @property {number} productId ID of the Product for this Drop Summary
1116
+ * @property {number} dropId ID of the Drop for this Drop Summary
1117
+ * @property {number} gradeIndex Index of the Grade for this Drop Summary
1118
+ * @property {number} sizeIndex Index of the Fruit Size for this Drop Summary
1119
+ * @property {number} qualityIndex Index of the Quality for this Drop Summary
1120
+ * @property {number} fruitWeight Fruit Weight in Grams for this Drop Summary
1121
+ * @property {number} fruitCount Fruit Count for this Drop Summary
1122
+ * @property {number} varietySizingMapId Variety Sizing Map ID for this Drop Summary
1123
+ * @memberof Controllers.Packhouse.Site
1124
+ */
1125
+
1126
+ /**
1127
+ * A **BatchRecycleSummary** Type
1128
+ *
1129
+ * @typedef {Object} CompacSizerBatchController.BatchRecycleSummary
1130
+ * @property {number} id ID of this Recycle Summary
1131
+ * @property {number} eventId The Event ID this Recycle Summary is associated with
1132
+ * @property {number} productId ID of the Product for this Recycle Summary
1133
+ * @property {number} dropId ID of the Drop for this Recycle Summary
1134
+ * @property {number} gradeIndex Index of the Grade for this Recycle Summary
1135
+ * @property {number} sizeIndex Index of the Fruit Size for this Recycle Summary
1136
+ * @property {number} qualityIndex Index of the Quality for this Recycle Summary
1137
+ * @property {number} fruitWeight Fruit Weight in Grams for this Recycle Summary
1138
+ * @property {number} fruitCount Fruit Count for this Recycle Summary
1139
+ * @property {number} varietySizingMapId Variety Sizing Map ID for this Recycle Summary
1140
+ * @memberof Controllers.Packhouse.Site
1141
+ */
1142
+
1143
+ /**
1144
+ * A **BatchPackSummary** Type
1145
+ *
1146
+ * @typedef {Object} CompacSizerBatchController.BatchPackSummary
1147
+ * @property {number} id ID of this Pack Summary
1148
+ * @property {number} eventId The Event ID this Pack Summary is associated with
1149
+ * @property {number} summaryGroupId ID of the Summary Group for this Pack Summary
1150
+ * @property {number} productId ID of the Product for this Pack Summary
1151
+ * @property {number} packId ID of the Pack for this Pack Summary
1152
+ * @property {number} packCount Pack Count for this Pack Summary
1153
+ * @property {number} fruitWeight Fruit Weight in Grams for this Drop Summary
1154
+ * @property {number} fruitCount Fruit Count for this Drop Summary
1155
+ * @memberof Controllers.Packhouse.Site
1156
+ */
1157
+
1158
+ /**
1159
+ * A **BatchDrop** Type
1160
+ *
1161
+ * @typedef {Object} CompacSizerBatchController.BatchDrop
1162
+ * @property {number} id ID of this Drop (Outlet)
1163
+ * @property {?string} name Name of this Drop (Outlet)
1164
+ * @property {boolean} totallingEnabled Whether Fruit sent to this Drop (Outlet) should be recorded in the Drop Summary
1165
+ * @memberof Controllers.Packhouse.Site
1166
+ */
1167
+
1168
+ /**
1169
+ * A **CompacSizerBatch** Type
1170
+ *
1171
+ * @typedef {Object} CompacSizerBatchController.CompacSizerBatch
1172
+ * @property {number} id ID of this Batch
1173
+ * @property {?string} name Name of this Batch
1174
+ * @property {?string} growerCode Code of the Grower for this Batch
1175
+ * @property {?string} growerName Name of the Grower for this Batch
1176
+ * @property {?Date} startTimestamp When this Batch was Started
1177
+ * @property {?Date} endTimestamp When this Batch was Finished
1178
+ * @property {string[]} comments An Array of Comments for this Batch
1179
+ * @property {string} varietyId ID of the Variety for this Batch
1180
+ * @property {string} varietyName Name of the Variety for this Batch
1181
+ * @property {boolean} finished Whether this Batch has been Finished
1182
+ * @property {Array<CompacSizerBatchController.BatchEvent>} events An Array of Events for this Batch
1183
+ * @property {Array<CompacSizerBatchController.BatchSizingMap>} sizingMaps An Array of Sizing Maps for this Batch
1184
+ * @property {Array<CompacSizerBatchController.BatchGrade>} grades An Array of Grades for this Batch
1185
+ * @property {Array<CompacSizerBatchController.BatchQuality>} qualities An Array of Qualities for this Batch
1186
+ * @property {Array<CompacSizerBatchController.BatchProduct>} products An Array of Products for this Batch
1187
+ * @property {Array<CompacSizerBatchController.BatchPack>} packs An Array of Packs for this Batch
1188
+ * @property {Array<CompacSizerBatchController.BatchSummaryGroup>} summaryGroups An Array of Summary Groups for this Batch
1189
+ * @property {Array<CompacSizerBatchController.BatchDropSummary>} dropSummaries An Array of Drop Summaries for this Batch
1190
+ * @property {Array<CompacSizerBatchController.BatchRecycleSummary>} recycleSummaries An Array of Recycle Summaries for this Batch
1191
+ * @property {Array<CompacSizerBatchController.BatchPackSummary>} packSummaries An Array of Pack Summaries for this Batch
1192
+ * @property {Array<CompacSizerBatchController.BatchDrop>} drops An Array of Drops (Outlets) for this Batch
1193
+ * @memberof Controllers.Packhouse.Site
1010
1194
  */