@ricado/api-client 2.7.6 → 2.7.8
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/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +14 -3
- package/lib/Controllers/Packhouse/Site/PackrunController.js +2 -0
- package/lib/Controllers/Packhouse/Site/PackrunGrowerNotificationController.js +940 -0
- package/lib/Controllers/Packhouse/Site/index.js +3 -0
- package/lib/Models/Packhouse/Site/PackingLineModel.js +283 -2
- package/lib/Models/Packhouse/Site/PackrunGrowerNotificationModel.js +669 -0
- package/lib/Models/Packhouse/Site/PackrunModel.js +22 -0
- package/lib/Models/Packhouse/Site/index.js +3 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +635 -2
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/PackingLineController.js +14 -3
- package/src/Controllers/Packhouse/Site/PackrunController.js +2 -0
- package/src/Controllers/Packhouse/Site/PackrunGrowerNotificationController.js +1071 -0
- package/src/Controllers/Packhouse/Site/index.js +2 -0
- package/src/Models/Packhouse/Site/PackingLineModel.js +380 -2
- package/src/Models/Packhouse/Site/PackrunGrowerNotificationModel.js +763 -0
- package/src/Models/Packhouse/Site/PackrunModel.js +25 -0
- package/src/Models/Packhouse/Site/index.js +2 -0
- package/src/PackageVersion.js +1 -1
|
@@ -223,6 +223,14 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
223
223
|
*/
|
|
224
224
|
|
|
225
225
|
_this.freshPackInitialTippedBins = null;
|
|
226
|
+
/**
|
|
227
|
+
* The FreshPack Scheduled Timestamp for this Packrun
|
|
228
|
+
*
|
|
229
|
+
* @type {?Date}
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
|
|
233
|
+
_this.freshPackScheduledTimestamp = null;
|
|
226
234
|
/**
|
|
227
235
|
* Whether the Packrun has been deleted
|
|
228
236
|
*
|
|
@@ -562,6 +570,20 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
562
570
|
}();
|
|
563
571
|
}
|
|
564
572
|
|
|
573
|
+
if ('freshPackScheduledTimestamp' in jsonObject) {
|
|
574
|
+
model.freshPackScheduledTimestamp = function () {
|
|
575
|
+
if (jsonObject['freshPackScheduledTimestamp'] === null) {
|
|
576
|
+
return null;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
if (typeof jsonObject['freshPackScheduledTimestamp'] !== 'string') {
|
|
580
|
+
return new Date(String(jsonObject['freshPackScheduledTimestamp']));
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
return new Date(jsonObject['freshPackScheduledTimestamp']);
|
|
584
|
+
}();
|
|
585
|
+
}
|
|
586
|
+
|
|
565
587
|
if ('deleted' in jsonObject) {
|
|
566
588
|
model.deleted = function () {
|
|
567
589
|
if (typeof jsonObject['deleted'] !== 'boolean') {
|
|
@@ -53,6 +53,8 @@ var _PackTypeModel = _interopRequireDefault(require("./PackTypeModel"));
|
|
|
53
53
|
|
|
54
54
|
var _PackingLineModel = _interopRequireDefault(require("./PackingLineModel"));
|
|
55
55
|
|
|
56
|
+
var _PackrunGrowerNotificationModel = _interopRequireDefault(require("./PackrunGrowerNotificationModel"));
|
|
57
|
+
|
|
56
58
|
var _PackrunModel = _interopRequireDefault(require("./PackrunModel"));
|
|
57
59
|
|
|
58
60
|
var _PrePackSampleModel = _interopRequireDefault(require("./PrePackSampleModel"));
|
|
@@ -127,6 +129,7 @@ var Site = {
|
|
|
127
129
|
MAFSizerPackrunSummaryModel: _MAFSizerPackrunSummaryModel.default,
|
|
128
130
|
PackTypeModel: _PackTypeModel.default,
|
|
129
131
|
PackingLineModel: _PackingLineModel.default,
|
|
132
|
+
PackrunGrowerNotificationModel: _PackrunGrowerNotificationModel.default,
|
|
130
133
|
PackrunModel: _PackrunModel.default,
|
|
131
134
|
PrePackSampleModel: _PrePackSampleModel.default,
|
|
132
135
|
ReemoonSizerBatchModel: _ReemoonSizerBatchModel.default,
|
package/lib/PackageVersion.js
CHANGED