@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
|
@@ -193,6 +193,14 @@ class PackrunModel extends BaseModel
|
|
|
193
193
|
*/
|
|
194
194
|
this.freshPackInitialTippedBins = null;
|
|
195
195
|
|
|
196
|
+
/**
|
|
197
|
+
* The FreshPack Scheduled Timestamp for this Packrun
|
|
198
|
+
*
|
|
199
|
+
* @type {?Date}
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
this.freshPackScheduledTimestamp = null;
|
|
203
|
+
|
|
196
204
|
/**
|
|
197
205
|
* Whether the Packrun has been deleted
|
|
198
206
|
*
|
|
@@ -592,6 +600,23 @@ class PackrunModel extends BaseModel
|
|
|
592
600
|
}());
|
|
593
601
|
}
|
|
594
602
|
|
|
603
|
+
if('freshPackScheduledTimestamp' in jsonObject)
|
|
604
|
+
{
|
|
605
|
+
model.freshPackScheduledTimestamp = (function(){
|
|
606
|
+
if(jsonObject['freshPackScheduledTimestamp'] === null)
|
|
607
|
+
{
|
|
608
|
+
return null;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
if(typeof jsonObject['freshPackScheduledTimestamp'] !== 'string')
|
|
612
|
+
{
|
|
613
|
+
return new Date(String(jsonObject['freshPackScheduledTimestamp']));
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
return new Date(jsonObject['freshPackScheduledTimestamp']);
|
|
617
|
+
}());
|
|
618
|
+
}
|
|
619
|
+
|
|
595
620
|
if('deleted' in jsonObject)
|
|
596
621
|
{
|
|
597
622
|
model.deleted = (function(){
|
|
@@ -31,6 +31,7 @@ import MAFSizerOutletArticleChangeModel from './MAFSizerOutletArticleChangeModel
|
|
|
31
31
|
import MAFSizerPackrunSummaryModel from './MAFSizerPackrunSummaryModel';
|
|
32
32
|
import PackTypeModel from './PackTypeModel';
|
|
33
33
|
import PackingLineModel from './PackingLineModel';
|
|
34
|
+
import PackrunGrowerNotificationModel from './PackrunGrowerNotificationModel';
|
|
34
35
|
import PackrunModel from './PackrunModel';
|
|
35
36
|
import PrePackSampleModel from './PrePackSampleModel';
|
|
36
37
|
import ReemoonSizerBatchModel from './ReemoonSizerBatchModel';
|
|
@@ -76,6 +77,7 @@ const Site = {
|
|
|
76
77
|
MAFSizerPackrunSummaryModel,
|
|
77
78
|
PackTypeModel,
|
|
78
79
|
PackingLineModel,
|
|
80
|
+
PackrunGrowerNotificationModel,
|
|
79
81
|
PackrunModel,
|
|
80
82
|
PrePackSampleModel,
|
|
81
83
|
ReemoonSizerBatchModel,
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.7.
|
|
2
|
+
export const version = '2.7.8';
|