@ricado/api-client 2.7.6 → 2.7.7
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/PackrunController.js +2 -0
- package/lib/Models/Packhouse/Site/PackrunModel.js +22 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +15 -0
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/PackrunController.js +2 -0
- package/src/Models/Packhouse/Site/PackrunModel.js +25 -0
- package/src/PackageVersion.js +1 -1
|
@@ -2739,6 +2739,7 @@ var _default = PackrunController;
|
|
|
2739
2739
|
* @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
|
|
2740
2740
|
* @property {?number} [freshPackPackingScheduleId] The FreshPack Packing Schedule ID associated with this Packrun
|
|
2741
2741
|
* @property {?number} [freshPackInitialTippedBins] The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
2742
|
+
* @property {?Date} [freshPackScheduledTimestamp] The FreshPack Scheduled Timestamp for this Packrun
|
|
2742
2743
|
* @memberof Controllers.Packhouse.Site
|
|
2743
2744
|
*/
|
|
2744
2745
|
|
|
@@ -2765,6 +2766,7 @@ var _default = PackrunController;
|
|
|
2765
2766
|
* @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
|
|
2766
2767
|
* @property {?number} [freshPackPackingScheduleId] The FreshPack Packing Schedule ID associated with this Packrun
|
|
2767
2768
|
* @property {?number} [freshPackInitialTippedBins] The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
2769
|
+
* @property {?Date} [freshPackScheduledTimestamp] The FreshPack Scheduled Timestamp for this Packrun
|
|
2768
2770
|
* @memberof Controllers.Packhouse.Site
|
|
2769
2771
|
*/
|
|
2770
2772
|
|
|
@@ -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') {
|
package/lib/PackageVersion.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -17529,6 +17529,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
17529
17529
|
* The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
17530
17530
|
*/
|
|
17531
17531
|
freshPackInitialTippedBins?: number | null | undefined;
|
|
17532
|
+
/**
|
|
17533
|
+
* The FreshPack Scheduled Timestamp for this Packrun
|
|
17534
|
+
*/
|
|
17535
|
+
freshPackScheduledTimestamp?: Date | null | undefined;
|
|
17532
17536
|
};
|
|
17533
17537
|
/**
|
|
17534
17538
|
* The Update Data for a Packrun
|
|
@@ -17610,6 +17614,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
17610
17614
|
* The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
17611
17615
|
*/
|
|
17612
17616
|
freshPackInitialTippedBins?: number | null | undefined;
|
|
17617
|
+
/**
|
|
17618
|
+
* The FreshPack Scheduled Timestamp for this Packrun
|
|
17619
|
+
*/
|
|
17620
|
+
freshPackScheduledTimestamp?: Date | null | undefined;
|
|
17613
17621
|
};
|
|
17614
17622
|
/**
|
|
17615
17623
|
* A **UserAccount** Type
|
|
@@ -29860,6 +29868,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
|
29860
29868
|
* @public
|
|
29861
29869
|
*/
|
|
29862
29870
|
freshPackInitialTippedBins: number | null;
|
|
29871
|
+
/**
|
|
29872
|
+
* The FreshPack Scheduled Timestamp for this Packrun
|
|
29873
|
+
*
|
|
29874
|
+
* @type {?Date}
|
|
29875
|
+
* @public
|
|
29876
|
+
*/
|
|
29877
|
+
freshPackScheduledTimestamp: Date | null;
|
|
29863
29878
|
/**
|
|
29864
29879
|
* Whether the Packrun has been deleted
|
|
29865
29880
|
*
|
package/package.json
CHANGED
|
@@ -3411,6 +3411,7 @@ export default PackrunController;
|
|
|
3411
3411
|
* @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
|
|
3412
3412
|
* @property {?number} [freshPackPackingScheduleId] The FreshPack Packing Schedule ID associated with this Packrun
|
|
3413
3413
|
* @property {?number} [freshPackInitialTippedBins] The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
3414
|
+
* @property {?Date} [freshPackScheduledTimestamp] The FreshPack Scheduled Timestamp for this Packrun
|
|
3414
3415
|
* @memberof Controllers.Packhouse.Site
|
|
3415
3416
|
*/
|
|
3416
3417
|
|
|
@@ -3437,6 +3438,7 @@ export default PackrunController;
|
|
|
3437
3438
|
* @property {?string} [freshPackProduceCode] The FreshPack Produce Code associated with this Packrun
|
|
3438
3439
|
* @property {?number} [freshPackPackingScheduleId] The FreshPack Packing Schedule ID associated with this Packrun
|
|
3439
3440
|
* @property {?number} [freshPackInitialTippedBins] The Number of Tipped Bins reported in FreshPack when this Packrun was Initially Created
|
|
3441
|
+
* @property {?Date} [freshPackScheduledTimestamp] The FreshPack Scheduled Timestamp for this Packrun
|
|
3440
3442
|
* @memberof Controllers.Packhouse.Site
|
|
3441
3443
|
*/
|
|
3442
3444
|
|
|
@@ -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(){
|
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.7';
|