@ricado/api-client 2.3.17 → 2.3.18

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 +6132 -2165
  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
@@ -0,0 +1,198 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _RequestHelper = _interopRequireDefault(require("../../../RequestHelper"));
9
+
10
+ var _BinTipBarcodeScannerModel = _interopRequireDefault(require("../../../Models/Packhouse/Site/BinTipBarcodeScannerModel"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
+
16
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
+
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+
20
+ /**
21
+ * Controller Class for Bin Tip Barcode Scanners
22
+ *
23
+ * @class
24
+ */
25
+ var BinTipBarcodeScannerController = /*#__PURE__*/function () {
26
+ function BinTipBarcodeScannerController() {
27
+ _classCallCheck(this, BinTipBarcodeScannerController);
28
+ }
29
+
30
+ _createClass(BinTipBarcodeScannerController, null, [{
31
+ key: "getOne",
32
+ value:
33
+ /**
34
+ * Retrieve a Bin Tip Barcode Scanner [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
35
+ *
36
+ * @static
37
+ * @public
38
+ * @param {number} siteId The Site ID
39
+ * @param {string} id The Bin Tip Barcode Scanner ID
40
+ * @return {Promise<BinTipBarcodeScannerModel>}
41
+ */
42
+ function getOne(siteId, id) {
43
+ return new Promise(function (resolve, reject) {
44
+ _RequestHelper.default.getRequest("/packhouse/sites/".concat(siteId, "/bin-tip-barcode-scanners/").concat(id)).then(function (result) {
45
+ var resolveValue = function () {
46
+ return _BinTipBarcodeScannerModel.default.fromJSON(result, siteId);
47
+ }();
48
+
49
+ resolve(resolveValue);
50
+ }).catch(function (error) {
51
+ return reject(error);
52
+ });
53
+ });
54
+ }
55
+ /**
56
+ * Update a Bin Tip Barcode Scanner [PATCH /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
57
+ *
58
+ * @static
59
+ * @public
60
+ * @param {number} siteId The Site ID
61
+ * @param {string} id The Bin Tip Barcode Scanner ID
62
+ * @param {BinTipBarcodeScannerController.UpdateData} updateData The Bin Tip Barcode Scanner Update Data
63
+ * @return {Promise<BinTipBarcodeScannerModel>}
64
+ */
65
+
66
+ }, {
67
+ key: "update",
68
+ value: function update(siteId, id, updateData) {
69
+ return new Promise(function (resolve, reject) {
70
+ _RequestHelper.default.patchRequest("/packhouse/sites/".concat(siteId, "/bin-tip-barcode-scanners/").concat(id), updateData).then(function (result) {
71
+ var resolveValue = function () {
72
+ return _BinTipBarcodeScannerModel.default.fromJSON(result, siteId);
73
+ }();
74
+
75
+ resolve(resolveValue);
76
+ }).catch(function (error) {
77
+ return reject(error);
78
+ });
79
+ });
80
+ }
81
+ /**
82
+ * Delete a Bin Tip Barcode Scanner [DELETE /packhouse/sites/{siteId}/bin-tip-barcode-scanners/{id}]
83
+ *
84
+ * @static
85
+ * @public
86
+ * @param {number} siteId The Site ID
87
+ * @param {string} id The Bin Tip Barcode Scanner ID
88
+ * @return {Promise<boolean>}
89
+ */
90
+
91
+ }, {
92
+ key: "delete",
93
+ value: function _delete(siteId, id) {
94
+ return new Promise(function (resolve, reject) {
95
+ _RequestHelper.default.deleteRequest("/packhouse/sites/".concat(siteId, "/bin-tip-barcode-scanners/").concat(id)).then(function (result) {
96
+ resolve(result !== null && result !== void 0 ? result : true);
97
+ }).catch(function (error) {
98
+ return reject(error);
99
+ });
100
+ });
101
+ }
102
+ /**
103
+ * List all Bin Tip Barcode Scanners [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanners]
104
+ *
105
+ * @static
106
+ * @public
107
+ * @param {number} siteId The Site ID
108
+ * @param {BinTipBarcodeScannerController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
109
+ * @return {Promise<BinTipBarcodeScannerModel[]>}
110
+ */
111
+
112
+ }, {
113
+ key: "getAll",
114
+ value: function getAll(siteId) {
115
+ var queryParameters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
116
+ return new Promise(function (resolve, reject) {
117
+ _RequestHelper.default.getRequest("/packhouse/sites/".concat(siteId, "/bin-tip-barcode-scanners"), queryParameters).then(function (result) {
118
+ var resolveValue = function () {
119
+ if (Array.isArray(result) !== true) {
120
+ return [];
121
+ }
122
+
123
+ return result.map(function (resultItem) {
124
+ return function () {
125
+ return _BinTipBarcodeScannerModel.default.fromJSON(resultItem, siteId);
126
+ }();
127
+ });
128
+ }();
129
+
130
+ resolve(resolveValue);
131
+ }).catch(function (error) {
132
+ return reject(error);
133
+ });
134
+ });
135
+ }
136
+ /**
137
+ * Create a Bin Tip Barcode Scanner [POST /packhouse/sites/{siteId}/bin-tip-barcode-scanners]
138
+ *
139
+ * @static
140
+ * @public
141
+ * @param {number} siteId The Site ID
142
+ * @param {BinTipBarcodeScannerController.CreateData} createData The Bin Tip Barcode Scanner Create Data
143
+ * @return {Promise<BinTipBarcodeScannerModel>}
144
+ */
145
+
146
+ }, {
147
+ key: "create",
148
+ value: function create(siteId, createData) {
149
+ return new Promise(function (resolve, reject) {
150
+ _RequestHelper.default.postRequest("/packhouse/sites/".concat(siteId, "/bin-tip-barcode-scanners"), createData).then(function (result) {
151
+ var resolveValue = function () {
152
+ return _BinTipBarcodeScannerModel.default.fromJSON(result, siteId);
153
+ }();
154
+
155
+ resolve(resolveValue);
156
+ }).catch(function (error) {
157
+ return reject(error);
158
+ });
159
+ });
160
+ }
161
+ }]);
162
+
163
+ return BinTipBarcodeScannerController;
164
+ }();
165
+
166
+ var _default = BinTipBarcodeScannerController;
167
+ /**
168
+ * The Optional Query Parameters for the getAll Function
169
+ *
170
+ * @typedef {Object} BinTipBarcodeScannerController.GetAllQueryParameters
171
+ * @property {?number} [rtuId] The RTU this Bin Tip Barcode Scanner Belt belongs to
172
+ * @property {string} [name] The Name of this Bin Tip Barcode Scanner
173
+ * @property {string} [binTipId] The Bin Tip that owns this Barcode Scanner
174
+ * @memberof Controllers.Packhouse.Site
175
+ */
176
+
177
+ /**
178
+ * The Create Data for a Bin Tip Barcode Scanner
179
+ *
180
+ * @typedef {Object} BinTipBarcodeScannerController.CreateData
181
+ * @property {?number} [rtuId] The RTU this Bin Tip Barcode Scanner Belt belongs to
182
+ * @property {string} name The Name of this Bin Tip Barcode Scanner
183
+ * @property {{scannerErrorBeepRequest: number, restartServiceRequest: number}} points The Points used by this Bin Tip Barcode Scanner
184
+ * @property {string} binTipId The Bin Tip that owns this Barcode Scanner
185
+ * @memberof Controllers.Packhouse.Site
186
+ */
187
+
188
+ /**
189
+ * The Update Data for a Bin Tip Barcode Scanner
190
+ *
191
+ * @typedef {Object} BinTipBarcodeScannerController.UpdateData
192
+ * @property {string} [name] The Name of this Bin Tip Barcode Scanner
193
+ * @property {{scannerErrorBeepRequest: number, restartServiceRequest: number}} [points] The Points used by this Bin Tip Barcode Scanner
194
+ * @property {string} [binTipId] The Bin Tip that owns this Barcode Scanner
195
+ * @memberof Controllers.Packhouse.Site
196
+ */
197
+
198
+ exports.default = _default;
@@ -847,7 +847,7 @@ var _default = BinTipBinController;
847
847
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
848
848
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
849
849
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
850
- * @property {?Object} [freshPackFieldBinWeightApi] The FreshPack Field Bin Weight API Data
850
+ * @property {?BinTipBinController.FieldBinWeightApiStatus} [freshPackFieldBinWeightApi] Results from Interacting with the FreshPack API to Send Field Bin Weights
851
851
  * @memberof Controllers.Packhouse.Site
852
852
  */
853
853
 
@@ -864,7 +864,7 @@ var _default = BinTipBinController;
864
864
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
865
865
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
866
866
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
867
- * @property {?Object} [freshPackFieldBinWeightApi] The FreshPack Field Bin Weight API Data
867
+ * @property {?BinTipBinController.FieldBinWeightApiStatus} [freshPackFieldBinWeightApi] Results from Interacting with the FreshPack API to Send Field Bin Weights
868
868
  * @memberof Controllers.Packhouse.Site
869
869
  */
870
870
 
@@ -890,4 +890,16 @@ var _default = BinTipBinController;
890
890
  * @memberof Controllers.Packhouse.Site
891
891
  */
892
892
 
893
+ /**
894
+ * A **FieldBinWeightApiStatus** Type
895
+ *
896
+ * @typedef {Object} BinTipBinController.FieldBinWeightApiStatus
897
+ * @property {number} requestCount Number of Requests made to the FreshPack API
898
+ * @property {?Date} requestTimestamp Timestamp of the last Request made to the FreshPack API
899
+ * @property {?number} responseCode Response Code from the last FreshPack API Request
900
+ * @property {?string} responseMessage Response Message from the last FreshPack API Request
901
+ * @property {boolean} completed Whether Interaction with the FreshPack API has been Completed
902
+ * @memberof Controllers.Packhouse.Site
903
+ */
904
+
893
905
  exports.default = _default;
@@ -839,7 +839,7 @@ var _default = CompacSizerBatchController;
839
839
  * @property {string} [batchId] The Numeric Compac Batch ID
840
840
  * @property {Date} [createdTimestamp] When this Batch was Created
841
841
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
842
- * @property {Object} batch The Compac Sizer Batch Data
842
+ * @property {CompacSizerBatchController.CompacSizerBatch} batch The Compac Sizer Batch Data
843
843
  * @memberof Controllers.Packhouse.Site
844
844
  */
845
845
 
@@ -850,7 +850,7 @@ var _default = CompacSizerBatchController;
850
850
  * @property {string} [compacSizerId] The Compac Sizer ID this Batch is associated with
851
851
  * @property {Date} [createdTimestamp] When this Batch was Created
852
852
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
853
- * @property {Object} [batch] The Compac Sizer Batch Data
853
+ * @property {CompacSizerBatchController.CompacSizerBatch} [batch] The Compac Sizer Batch Data
854
854
  * @memberof Controllers.Packhouse.Site
855
855
  */
856
856
 
@@ -876,4 +876,188 @@ var _default = CompacSizerBatchController;
876
876
  * @memberof Controllers.Packhouse.Site
877
877
  */
878
878
 
879
+ /**
880
+ * A **BatchEvent** Type
881
+ *
882
+ * @typedef {Object} CompacSizerBatchController.BatchEvent
883
+ * @property {number} id ID of this Event
884
+ * @property {number} batchId The Batch ID this Event is associated with
885
+ * @property {string} type The Event Type
886
+ * @property {string} details Details of this Event
887
+ * @property {Date} timestamp When this Event Occurred
888
+ * @property {number} runningSeconds Total Seconds the Sizer was Running during this Event
889
+ * @property {number} fruitRunningSeconds Total Seconds the Sizer was Running with Fruit during this Event
890
+ * @memberof Controllers.Packhouse.Site
891
+ */
892
+
893
+ /**
894
+ * A **BatchSizingMapFruitSize** Type
895
+ *
896
+ * @typedef {Object} CompacSizerBatchController.BatchSizingMapFruitSize
897
+ * @property {number} id ID of this Fruit Size
898
+ * @property {number} eventId The Event ID this Fruit Size is associated with
899
+ * @property {number} index Index of this Fruit Size
900
+ * @property {?string} name Name of this Fruit Size
901
+ * @property {number} minimumFruitWeight The Minimum Weight in Grams for this Fruit Size
902
+ * @property {number} fruitCount The Fruit Count for this Fruit Size
903
+ * @property {number} minimumTrayWeight The Minimum Tray Weight in Grams for this Fruit Size
904
+ * @property {number} varietySizingMapId ID of the Variety Sizing Map
905
+ * @memberof Controllers.Packhouse.Site
906
+ */
907
+
908
+ /**
909
+ * A **BatchSizingMap** Type
910
+ *
911
+ * @typedef {Object} CompacSizerBatchController.BatchSizingMap
912
+ * @property {number} id ID of this Sizing Map
913
+ * @property {number} eventId The Event ID this Sizing Map is associated with
914
+ * @property {number} varietySizingMapId ID of the Variety Sizing Map
915
+ * @property {?string} name Name of this Sizing Map
916
+ * @property {Array<CompacSizerBatchController.BatchSizingMapFruitSize>} fruitSizes An Array of Fruit Sizes defined in this Sizing Map
917
+ * @memberof Controllers.Packhouse.Site
918
+ */
919
+
920
+ /**
921
+ * A **BatchGrade** Type
922
+ *
923
+ * @typedef {Object} CompacSizerBatchController.BatchGrade
924
+ * @property {number} id ID of this Grade
925
+ * @property {number} eventId The Event ID this Grade is associated with
926
+ * @property {number} index Index of this Grade
927
+ * @property {?string} name Name of this Grade
928
+ * @memberof Controllers.Packhouse.Site
929
+ */
930
+
931
+ /**
932
+ * A **BatchQuality** Type
933
+ *
934
+ * @typedef {Object} CompacSizerBatchController.BatchQuality
935
+ * @property {number} id ID of this Quality
936
+ * @property {number} eventId The Event ID this Quality is associated with
937
+ * @property {number} index Index of this Quality
938
+ * @property {?string} name Name of this Quality
939
+ * @memberof Controllers.Packhouse.Site
940
+ */
941
+
942
+ /**
943
+ * A **BatchProduct** Type
944
+ *
945
+ * @typedef {Object} CompacSizerBatchController.BatchProduct
946
+ * @property {number} id ID of this Product
947
+ * @property {number} eventId The Event ID this Product is associated with
948
+ * @property {string} guid UUID of this Product
949
+ * @property {?string} name Name of this Product
950
+ * @memberof Controllers.Packhouse.Site
951
+ */
952
+
953
+ /**
954
+ * A **BatchPack** Type
955
+ *
956
+ * @typedef {Object} CompacSizerBatchController.BatchPack
957
+ * @property {number} id ID of this Pack
958
+ * @property {number} eventId The Event ID this Pack is associated with
959
+ * @property {string} guid UUID of this Pack
960
+ * @property {?string} name Name of this Pack
961
+ * @memberof Controllers.Packhouse.Site
962
+ */
963
+
964
+ /**
965
+ * A **BatchSummaryGroup** Type
966
+ *
967
+ * @typedef {Object} CompacSizerBatchController.BatchSummaryGroup
968
+ * @property {number} id ID of this Summary Group
969
+ * @property {?string} name Name of this Summary Group
970
+ * @property {boolean} isReject Whether this Summary Group is classes as Reject
971
+ * @property {number} orderIndex The Display Order Index for this Summary Group
972
+ * @memberof Controllers.Packhouse.Site
973
+ */
974
+
975
+ /**
976
+ * A **BatchDropSummary** Type
977
+ *
978
+ * @typedef {Object} CompacSizerBatchController.BatchDropSummary
979
+ * @property {number} id ID of this Drop Summary
980
+ * @property {number} eventId The Event ID this Drop Summary is associated with
981
+ * @property {number} summaryGroupId ID of the Summary Group for this Drop Summary
982
+ * @property {number} productId ID of the Product for this Drop Summary
983
+ * @property {number} dropId ID of the Drop for this Drop Summary
984
+ * @property {number} gradeIndex Index of the Grade for this Drop Summary
985
+ * @property {number} sizeIndex Index of the Fruit Size for this Drop Summary
986
+ * @property {number} qualityIndex Index of the Quality for this Drop Summary
987
+ * @property {number} fruitWeight Fruit Weight in Grams for this Drop Summary
988
+ * @property {number} fruitCount Fruit Count for this Drop Summary
989
+ * @property {number} varietySizingMapId Variety Sizing Map ID for this Drop Summary
990
+ * @memberof Controllers.Packhouse.Site
991
+ */
992
+
993
+ /**
994
+ * A **BatchRecycleSummary** Type
995
+ *
996
+ * @typedef {Object} CompacSizerBatchController.BatchRecycleSummary
997
+ * @property {number} id ID of this Recycle Summary
998
+ * @property {number} eventId The Event ID this Recycle Summary is associated with
999
+ * @property {number} productId ID of the Product for this Recycle Summary
1000
+ * @property {number} dropId ID of the Drop for this Recycle Summary
1001
+ * @property {number} gradeIndex Index of the Grade for this Recycle Summary
1002
+ * @property {number} sizeIndex Index of the Fruit Size for this Recycle Summary
1003
+ * @property {number} qualityIndex Index of the Quality for this Recycle Summary
1004
+ * @property {number} fruitWeight Fruit Weight in Grams for this Recycle Summary
1005
+ * @property {number} fruitCount Fruit Count for this Recycle Summary
1006
+ * @property {number} varietySizingMapId Variety Sizing Map ID for this Recycle Summary
1007
+ * @memberof Controllers.Packhouse.Site
1008
+ */
1009
+
1010
+ /**
1011
+ * A **BatchPackSummary** Type
1012
+ *
1013
+ * @typedef {Object} CompacSizerBatchController.BatchPackSummary
1014
+ * @property {number} id ID of this Pack Summary
1015
+ * @property {number} eventId The Event ID this Pack Summary is associated with
1016
+ * @property {number} summaryGroupId ID of the Summary Group for this Pack Summary
1017
+ * @property {number} productId ID of the Product for this Pack Summary
1018
+ * @property {number} packId ID of the Pack for this Pack Summary
1019
+ * @property {number} packCount Pack Count for this Pack Summary
1020
+ * @property {number} fruitWeight Fruit Weight in Grams for this Drop Summary
1021
+ * @property {number} fruitCount Fruit Count for this Drop Summary
1022
+ * @memberof Controllers.Packhouse.Site
1023
+ */
1024
+
1025
+ /**
1026
+ * A **BatchDrop** Type
1027
+ *
1028
+ * @typedef {Object} CompacSizerBatchController.BatchDrop
1029
+ * @property {number} id ID of this Drop (Outlet)
1030
+ * @property {?string} name Name of this Drop (Outlet)
1031
+ * @property {boolean} totallingEnabled Whether Fruit sent to this Drop (Outlet) should be recorded in the Drop Summary
1032
+ * @memberof Controllers.Packhouse.Site
1033
+ */
1034
+
1035
+ /**
1036
+ * A **CompacSizerBatch** Type
1037
+ *
1038
+ * @typedef {Object} CompacSizerBatchController.CompacSizerBatch
1039
+ * @property {number} id ID of this Batch
1040
+ * @property {?string} name Name of this Batch
1041
+ * @property {?string} growerCode Code of the Grower for this Batch
1042
+ * @property {?string} growerName Name of the Grower for this Batch
1043
+ * @property {?Date} startTimestamp When this Batch was Started
1044
+ * @property {?Date} endTimestamp When this Batch was Finished
1045
+ * @property {string[]} comments An Array of Comments for this Batch
1046
+ * @property {string} varietyId ID of the Variety for this Batch
1047
+ * @property {string} varietyName Name of the Variety for this Batch
1048
+ * @property {boolean} finished Whether this Batch has been Finished
1049
+ * @property {Array<CompacSizerBatchController.BatchEvent>} events An Array of Events for this Batch
1050
+ * @property {Array<CompacSizerBatchController.BatchSizingMap>} sizingMaps An Array of Sizing Maps for this Batch
1051
+ * @property {Array<CompacSizerBatchController.BatchGrade>} grades An Array of Grades for this Batch
1052
+ * @property {Array<CompacSizerBatchController.BatchQuality>} qualities An Array of Qualities for this Batch
1053
+ * @property {Array<CompacSizerBatchController.BatchProduct>} products An Array of Products for this Batch
1054
+ * @property {Array<CompacSizerBatchController.BatchPack>} packs An Array of Packs for this Batch
1055
+ * @property {Array<CompacSizerBatchController.BatchSummaryGroup>} summaryGroups An Array of Summary Groups for this Batch
1056
+ * @property {Array<CompacSizerBatchController.BatchDropSummary>} dropSummaries An Array of Drop Summaries for this Batch
1057
+ * @property {Array<CompacSizerBatchController.BatchRecycleSummary>} recycleSummaries An Array of Recycle Summaries for this Batch
1058
+ * @property {Array<CompacSizerBatchController.BatchPackSummary>} packSummaries An Array of Pack Summaries for this Batch
1059
+ * @property {Array<CompacSizerBatchController.BatchDrop>} drops An Array of Drops (Outlets) for this Batch
1060
+ * @memberof Controllers.Packhouse.Site
1061
+ */
1062
+
879
1063
  exports.default = _default;