@ricado/api-client 2.1.0 → 2.1.1
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/README.md +5 -7
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +24 -2
- package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +453 -0
- package/lib/Controllers/Packhouse/Site/index.js +3 -0
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +260 -4
- package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +235 -0
- package/lib/Models/Packhouse/Site/index.js +3 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +471 -3
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +24 -2
- package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +474 -0
- package/src/Controllers/Packhouse/Site/index.js +2 -0
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +297 -4
- package/src/Models/Packhouse/Site/SoftSortBeltModel.js +215 -0
- package/src/Models/Packhouse/Site/index.js +2 -0
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3150,6 +3150,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3150
3150
|
export { ShiftController };
|
|
3151
3151
|
export { ShiftFocusMeetingController };
|
|
3152
3152
|
export { ShiftHourlyEntryController };
|
|
3153
|
+
export { SoftSortBeltController };
|
|
3153
3154
|
export { VarietyController };
|
|
3154
3155
|
}
|
|
3155
3156
|
import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
|
|
@@ -3171,6 +3172,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3171
3172
|
import ShiftController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftController";
|
|
3172
3173
|
import ShiftFocusMeetingController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingController";
|
|
3173
3174
|
import ShiftHourlyEntryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryController";
|
|
3175
|
+
import SoftSortBeltController from "@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController";
|
|
3174
3176
|
import VarietyController from "@ricado/api-client/Controllers/Packhouse/Site/VarietyController";
|
|
3175
3177
|
}
|
|
3176
3178
|
|
|
@@ -4713,6 +4715,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4713
4715
|
export { ShiftFocusMeetingModel };
|
|
4714
4716
|
export { ShiftHourlyEntryModel };
|
|
4715
4717
|
export { ShiftModel };
|
|
4718
|
+
export { SoftSortBeltModel };
|
|
4716
4719
|
export { VarietyModel };
|
|
4717
4720
|
}
|
|
4718
4721
|
import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
|
|
@@ -4734,6 +4737,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4734
4737
|
import ShiftFocusMeetingModel from "@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel";
|
|
4735
4738
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
4736
4739
|
import ShiftModel from "@ricado/api-client/Models/Packhouse/Site/ShiftModel";
|
|
4740
|
+
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
4737
4741
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
4738
4742
|
}
|
|
4739
4743
|
|
|
@@ -8943,7 +8947,53 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8943
8947
|
/**
|
|
8944
8948
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
8945
8949
|
*/
|
|
8946
|
-
autoPackrunChange?:
|
|
8950
|
+
autoPackrunChange?: {
|
|
8951
|
+
delay: number;
|
|
8952
|
+
};
|
|
8953
|
+
/**
|
|
8954
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
8955
|
+
*/
|
|
8956
|
+
supportsLiveWeighing?: boolean;
|
|
8957
|
+
/**
|
|
8958
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
8959
|
+
*/
|
|
8960
|
+
autoWeighingStartThreshold?: number;
|
|
8961
|
+
/**
|
|
8962
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
8963
|
+
*/
|
|
8964
|
+
autoWeighingStartDelay?: number;
|
|
8965
|
+
/**
|
|
8966
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
8967
|
+
*/
|
|
8968
|
+
autoWeighingFinishThreshold?: number;
|
|
8969
|
+
/**
|
|
8970
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
8971
|
+
*/
|
|
8972
|
+
autoWeighingFinishDelay?: number;
|
|
8973
|
+
/**
|
|
8974
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
8975
|
+
*/
|
|
8976
|
+
manualInterventionMaximumDuration?: number;
|
|
8977
|
+
/**
|
|
8978
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
8979
|
+
*/
|
|
8980
|
+
liveWeighingIncreaseTolerance?: number;
|
|
8981
|
+
/**
|
|
8982
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
8983
|
+
*/
|
|
8984
|
+
liveWeighingDecreaseTolerance?: number;
|
|
8985
|
+
/**
|
|
8986
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
8987
|
+
*/
|
|
8988
|
+
liveWeighingUpdateInterval?: number;
|
|
8989
|
+
/**
|
|
8990
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
8991
|
+
*/
|
|
8992
|
+
liveWeighingUsesStableStatus?: boolean;
|
|
8993
|
+
/**
|
|
8994
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
8995
|
+
*/
|
|
8996
|
+
incorrectOperationTolerance?: number;
|
|
8947
8997
|
/**
|
|
8948
8998
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
8949
8999
|
*/
|
|
@@ -8980,7 +9030,53 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8980
9030
|
/**
|
|
8981
9031
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
8982
9032
|
*/
|
|
8983
|
-
autoPackrunChange?:
|
|
9033
|
+
autoPackrunChange?: {
|
|
9034
|
+
delay: number;
|
|
9035
|
+
};
|
|
9036
|
+
/**
|
|
9037
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
9038
|
+
*/
|
|
9039
|
+
supportsLiveWeighing?: boolean;
|
|
9040
|
+
/**
|
|
9041
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
9042
|
+
*/
|
|
9043
|
+
autoWeighingStartThreshold?: number;
|
|
9044
|
+
/**
|
|
9045
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
9046
|
+
*/
|
|
9047
|
+
autoWeighingStartDelay?: number;
|
|
9048
|
+
/**
|
|
9049
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
9050
|
+
*/
|
|
9051
|
+
autoWeighingFinishThreshold?: number;
|
|
9052
|
+
/**
|
|
9053
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
9054
|
+
*/
|
|
9055
|
+
autoWeighingFinishDelay?: number;
|
|
9056
|
+
/**
|
|
9057
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
9058
|
+
*/
|
|
9059
|
+
manualInterventionMaximumDuration?: number;
|
|
9060
|
+
/**
|
|
9061
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
9062
|
+
*/
|
|
9063
|
+
liveWeighingIncreaseTolerance?: number;
|
|
9064
|
+
/**
|
|
9065
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
9066
|
+
*/
|
|
9067
|
+
liveWeighingDecreaseTolerance?: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
9070
|
+
*/
|
|
9071
|
+
liveWeighingUpdateInterval?: number;
|
|
9072
|
+
/**
|
|
9073
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
9074
|
+
*/
|
|
9075
|
+
liveWeighingUsesStableStatus?: boolean;
|
|
9076
|
+
/**
|
|
9077
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
9078
|
+
*/
|
|
9079
|
+
incorrectOperationTolerance?: number;
|
|
8984
9080
|
/**
|
|
8985
9081
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
8986
9082
|
*/
|
|
@@ -10343,6 +10439,210 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10343
10439
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
10344
10440
|
}
|
|
10345
10441
|
|
|
10442
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController' {
|
|
10443
|
+
export default SoftSortBeltController;
|
|
10444
|
+
/**
|
|
10445
|
+
* Controller Class for Soft Sort Belts
|
|
10446
|
+
*
|
|
10447
|
+
* @class
|
|
10448
|
+
*/
|
|
10449
|
+
class SoftSortBeltController {
|
|
10450
|
+
/**
|
|
10451
|
+
* Retrieve a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10452
|
+
*
|
|
10453
|
+
* @static
|
|
10454
|
+
* @public
|
|
10455
|
+
* @param {number} siteId The Site ID
|
|
10456
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10457
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10458
|
+
*/
|
|
10459
|
+
static getOne(siteId: number, id: string): Promise<SoftSortBeltModel>;
|
|
10460
|
+
/**
|
|
10461
|
+
* Update a Soft Sort Belt [PATCH /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10462
|
+
*
|
|
10463
|
+
* @static
|
|
10464
|
+
* @public
|
|
10465
|
+
* @param {number} siteId The Site ID
|
|
10466
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10467
|
+
* @param {SoftSortBeltController.UpdateData} updateData The Soft Sort Belt Update Data
|
|
10468
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10469
|
+
*/
|
|
10470
|
+
static update(siteId: number, id: string, updateData: SoftSortBeltController.UpdateData): Promise<SoftSortBeltModel>;
|
|
10471
|
+
/**
|
|
10472
|
+
* Delete a Soft Sort Belt [DELETE /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
10473
|
+
*
|
|
10474
|
+
* @static
|
|
10475
|
+
* @public
|
|
10476
|
+
* @param {number} siteId The Site ID
|
|
10477
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10478
|
+
* @return {Promise<boolean>}
|
|
10479
|
+
*/
|
|
10480
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10481
|
+
/**
|
|
10482
|
+
* Retrieve the Events of a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}/events]
|
|
10483
|
+
*
|
|
10484
|
+
* Retrieves Events for a Single Soft Sort Belt
|
|
10485
|
+
*
|
|
10486
|
+
* @static
|
|
10487
|
+
* @public
|
|
10488
|
+
* @param {number} siteId The Site ID
|
|
10489
|
+
* @param {string} id The Soft Sort Belt ID
|
|
10490
|
+
* @param {SoftSortBeltController.GetOneEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10491
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10492
|
+
*/
|
|
10493
|
+
static getOneEvents(siteId: number, id: string, queryParameters?: SoftSortBeltController.GetOneEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10494
|
+
/**
|
|
10495
|
+
* List all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10496
|
+
*
|
|
10497
|
+
* @static
|
|
10498
|
+
* @public
|
|
10499
|
+
* @param {number} siteId The Site ID
|
|
10500
|
+
* @param {SoftSortBeltController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10501
|
+
* @return {Promise<SoftSortBeltModel[]>}
|
|
10502
|
+
*/
|
|
10503
|
+
static getAll(siteId: number, queryParameters?: SoftSortBeltController.GetAllQueryParameters): Promise<SoftSortBeltModel[]>;
|
|
10504
|
+
/**
|
|
10505
|
+
* Create a Soft Sort Belt [POST /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10506
|
+
*
|
|
10507
|
+
* @static
|
|
10508
|
+
* @public
|
|
10509
|
+
* @param {number} siteId The Site ID
|
|
10510
|
+
* @param {SoftSortBeltController.CreateData} createData The Soft Sort Belt Create Data
|
|
10511
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
10512
|
+
*/
|
|
10513
|
+
static create(siteId: number, createData: SoftSortBeltController.CreateData): Promise<SoftSortBeltModel>;
|
|
10514
|
+
/**
|
|
10515
|
+
* Retrieve the Events of all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts/events]
|
|
10516
|
+
*
|
|
10517
|
+
* Retrieves Events for all Soft Sort Belts
|
|
10518
|
+
*
|
|
10519
|
+
* @static
|
|
10520
|
+
* @public
|
|
10521
|
+
* @param {number} siteId The Site ID
|
|
10522
|
+
* @param {SoftSortBeltController.GetAllEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10523
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10524
|
+
*/
|
|
10525
|
+
static getAllEvents(siteId: number, queryParameters?: SoftSortBeltController.GetAllEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10526
|
+
}
|
|
10527
|
+
namespace SoftSortBeltController {
|
|
10528
|
+
/**
|
|
10529
|
+
* The Optional Query Parameters for the getOneEvents Function
|
|
10530
|
+
*/
|
|
10531
|
+
export type GetOneEventsQueryParameters = {
|
|
10532
|
+
/**
|
|
10533
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
10534
|
+
*/
|
|
10535
|
+
timestampBegin?: Date;
|
|
10536
|
+
/**
|
|
10537
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
10538
|
+
*/
|
|
10539
|
+
timestampEnd?: Date;
|
|
10540
|
+
};
|
|
10541
|
+
/**
|
|
10542
|
+
* The Optional Query Parameters for the getAll Function
|
|
10543
|
+
*/
|
|
10544
|
+
export type GetAllQueryParameters = {
|
|
10545
|
+
/**
|
|
10546
|
+
* The RTU this Soft Sort Belt belongs to
|
|
10547
|
+
*/
|
|
10548
|
+
rtuId?: number;
|
|
10549
|
+
/**
|
|
10550
|
+
* The Name of this Soft Sort Belt
|
|
10551
|
+
*/
|
|
10552
|
+
name?: string;
|
|
10553
|
+
/**
|
|
10554
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10555
|
+
*/
|
|
10556
|
+
packingLineId?: string;
|
|
10557
|
+
};
|
|
10558
|
+
/**
|
|
10559
|
+
* The Optional Query Parameters for the getAllEvents Function
|
|
10560
|
+
*/
|
|
10561
|
+
export type GetAllEventsQueryParameters = {
|
|
10562
|
+
/**
|
|
10563
|
+
* A List of Soft-Sort Belt IDs to Filter by
|
|
10564
|
+
*/
|
|
10565
|
+
beltIds?: string[];
|
|
10566
|
+
/**
|
|
10567
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
10568
|
+
*/
|
|
10569
|
+
timestampBegin?: Date;
|
|
10570
|
+
/**
|
|
10571
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
10572
|
+
*/
|
|
10573
|
+
timestampEnd?: Date;
|
|
10574
|
+
};
|
|
10575
|
+
/**
|
|
10576
|
+
* The Create Data for a Soft Sort Belt
|
|
10577
|
+
*/
|
|
10578
|
+
export type CreateData = {
|
|
10579
|
+
/**
|
|
10580
|
+
* The RTU this Soft Sort Belt belongs to
|
|
10581
|
+
*/
|
|
10582
|
+
rtuId?: number;
|
|
10583
|
+
/**
|
|
10584
|
+
* The Name of this Soft Sort Belt
|
|
10585
|
+
*/
|
|
10586
|
+
name: string;
|
|
10587
|
+
/**
|
|
10588
|
+
* The Points used by this Soft Sort Belt
|
|
10589
|
+
*/
|
|
10590
|
+
points: any;
|
|
10591
|
+
/**
|
|
10592
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10593
|
+
*/
|
|
10594
|
+
packingLineId: string;
|
|
10595
|
+
};
|
|
10596
|
+
/**
|
|
10597
|
+
* The Update Data for a Soft Sort Belt
|
|
10598
|
+
*/
|
|
10599
|
+
export type UpdateData = {
|
|
10600
|
+
/**
|
|
10601
|
+
* The Name of this Soft Sort Belt
|
|
10602
|
+
*/
|
|
10603
|
+
name?: string;
|
|
10604
|
+
/**
|
|
10605
|
+
* The Points used by this Soft Sort Belt
|
|
10606
|
+
*/
|
|
10607
|
+
points?: any;
|
|
10608
|
+
/**
|
|
10609
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
10610
|
+
*/
|
|
10611
|
+
packingLineId?: string;
|
|
10612
|
+
};
|
|
10613
|
+
/**
|
|
10614
|
+
* A **SoftSortEventItem** Type
|
|
10615
|
+
*/
|
|
10616
|
+
export type SoftSortEventItem = {
|
|
10617
|
+
/**
|
|
10618
|
+
* The Soft-Sort Belt ID
|
|
10619
|
+
*/
|
|
10620
|
+
beltId: string;
|
|
10621
|
+
/**
|
|
10622
|
+
* The ID of the associated Packrun
|
|
10623
|
+
*/
|
|
10624
|
+
packrunId: string;
|
|
10625
|
+
/**
|
|
10626
|
+
* The Name of the associated Packrun
|
|
10627
|
+
*/
|
|
10628
|
+
packrunName: string;
|
|
10629
|
+
/**
|
|
10630
|
+
* When the Event Started
|
|
10631
|
+
*/
|
|
10632
|
+
startTimestamp: Date;
|
|
10633
|
+
/**
|
|
10634
|
+
* When the Event Ended
|
|
10635
|
+
*/
|
|
10636
|
+
endTimestamp: Date;
|
|
10637
|
+
/**
|
|
10638
|
+
* The Duration in Seconds of the Event
|
|
10639
|
+
*/
|
|
10640
|
+
duration: number;
|
|
10641
|
+
};
|
|
10642
|
+
}
|
|
10643
|
+
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10346
10646
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController' {
|
|
10347
10647
|
export default VarietyController;
|
|
10348
10648
|
/**
|
|
@@ -12164,10 +12464,89 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
|
|
|
12164
12464
|
/**
|
|
12165
12465
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
12166
12466
|
*
|
|
12467
|
+
* @type {?{delay: ?number}}
|
|
12468
|
+
* @public
|
|
12469
|
+
*/
|
|
12470
|
+
autoPackrunChange: {
|
|
12471
|
+
delay: number | null;
|
|
12472
|
+
};
|
|
12473
|
+
/**
|
|
12474
|
+
* Whether this Reject Bin Scale supports Live Weighing
|
|
12475
|
+
*
|
|
12476
|
+
* @type {?boolean}
|
|
12477
|
+
* @public
|
|
12478
|
+
*/
|
|
12479
|
+
supportsLiveWeighing: boolean | null;
|
|
12480
|
+
/**
|
|
12481
|
+
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
12482
|
+
*
|
|
12167
12483
|
* @type {?number}
|
|
12168
12484
|
* @public
|
|
12169
12485
|
*/
|
|
12170
|
-
|
|
12486
|
+
autoWeighingStartThreshold: number | null;
|
|
12487
|
+
/**
|
|
12488
|
+
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
12489
|
+
*
|
|
12490
|
+
* @type {?number}
|
|
12491
|
+
* @public
|
|
12492
|
+
*/
|
|
12493
|
+
autoWeighingStartDelay: number | null;
|
|
12494
|
+
/**
|
|
12495
|
+
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
12496
|
+
*
|
|
12497
|
+
* @type {?number}
|
|
12498
|
+
* @public
|
|
12499
|
+
*/
|
|
12500
|
+
autoWeighingFinishThreshold: number | null;
|
|
12501
|
+
/**
|
|
12502
|
+
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
12503
|
+
*
|
|
12504
|
+
* @type {?number}
|
|
12505
|
+
* @public
|
|
12506
|
+
*/
|
|
12507
|
+
autoWeighingFinishDelay: number | null;
|
|
12508
|
+
/**
|
|
12509
|
+
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
12510
|
+
*
|
|
12511
|
+
* @type {?number}
|
|
12512
|
+
* @public
|
|
12513
|
+
*/
|
|
12514
|
+
manualInterventionMaximumDuration: number | null;
|
|
12515
|
+
/**
|
|
12516
|
+
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
12517
|
+
*
|
|
12518
|
+
* @type {?number}
|
|
12519
|
+
* @public
|
|
12520
|
+
*/
|
|
12521
|
+
liveWeighingIncreaseTolerance: number | null;
|
|
12522
|
+
/**
|
|
12523
|
+
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
12524
|
+
*
|
|
12525
|
+
* @type {?number}
|
|
12526
|
+
* @public
|
|
12527
|
+
*/
|
|
12528
|
+
liveWeighingDecreaseTolerance: number | null;
|
|
12529
|
+
/**
|
|
12530
|
+
* The Interval in Milliseconds between Live Weighing Updates
|
|
12531
|
+
*
|
|
12532
|
+
* @type {?number}
|
|
12533
|
+
* @public
|
|
12534
|
+
*/
|
|
12535
|
+
liveWeighingUpdateInterval: number | null;
|
|
12536
|
+
/**
|
|
12537
|
+
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
12538
|
+
*
|
|
12539
|
+
* @type {?boolean}
|
|
12540
|
+
* @public
|
|
12541
|
+
*/
|
|
12542
|
+
liveWeighingUsesStableStatus: boolean | null;
|
|
12543
|
+
/**
|
|
12544
|
+
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
12545
|
+
*
|
|
12546
|
+
* @type {?number}
|
|
12547
|
+
* @public
|
|
12548
|
+
*/
|
|
12549
|
+
incorrectOperationTolerance: number | null;
|
|
12171
12550
|
/**
|
|
12172
12551
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
12173
12552
|
*
|
|
@@ -12925,6 +13304,95 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
12925
13304
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12926
13305
|
}
|
|
12927
13306
|
|
|
13307
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel' {
|
|
13308
|
+
export default SoftSortBeltModel;
|
|
13309
|
+
/**
|
|
13310
|
+
* Model Class for a Soft Sort Belt
|
|
13311
|
+
*
|
|
13312
|
+
* @class
|
|
13313
|
+
* @hideconstructor
|
|
13314
|
+
* @extends BaseModel
|
|
13315
|
+
*/
|
|
13316
|
+
class SoftSortBeltModel extends BaseModel {
|
|
13317
|
+
/**
|
|
13318
|
+
* Create a new **SoftSortBeltModel** from a JSON Object or JSON String
|
|
13319
|
+
*
|
|
13320
|
+
* @static
|
|
13321
|
+
* @public
|
|
13322
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13323
|
+
* @param {number} siteId The Site ID associated with this Soft Sort Belt
|
|
13324
|
+
* @return {SoftSortBeltModel}
|
|
13325
|
+
*/
|
|
13326
|
+
static fromJSON(json: {
|
|
13327
|
+
[x: string]: any;
|
|
13328
|
+
} | string, siteId: number): SoftSortBeltModel;
|
|
13329
|
+
/**
|
|
13330
|
+
* SoftSortBeltModel Constructor
|
|
13331
|
+
*
|
|
13332
|
+
* @protected
|
|
13333
|
+
* @param {number} siteId The Site ID associated with this Soft Sort Belt
|
|
13334
|
+
*/
|
|
13335
|
+
protected constructor();
|
|
13336
|
+
/**
|
|
13337
|
+
* The Soft Sort Belt ID
|
|
13338
|
+
*
|
|
13339
|
+
* @type {string}
|
|
13340
|
+
* @public
|
|
13341
|
+
*/
|
|
13342
|
+
id: string;
|
|
13343
|
+
/**
|
|
13344
|
+
* The RTU this Soft Sort Belt belongs to
|
|
13345
|
+
*
|
|
13346
|
+
* @type {?number}
|
|
13347
|
+
* @public
|
|
13348
|
+
*/
|
|
13349
|
+
rtuId: number | null;
|
|
13350
|
+
/**
|
|
13351
|
+
* The Name of this Soft Sort Belt
|
|
13352
|
+
*
|
|
13353
|
+
* @type {string}
|
|
13354
|
+
* @public
|
|
13355
|
+
*/
|
|
13356
|
+
name: string;
|
|
13357
|
+
/**
|
|
13358
|
+
* The Points used by this Soft Sort Belt
|
|
13359
|
+
*
|
|
13360
|
+
* @type {Object}
|
|
13361
|
+
* @public
|
|
13362
|
+
*/
|
|
13363
|
+
points: any;
|
|
13364
|
+
/**
|
|
13365
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
13366
|
+
*
|
|
13367
|
+
* @type {string}
|
|
13368
|
+
* @public
|
|
13369
|
+
*/
|
|
13370
|
+
packingLineId: string;
|
|
13371
|
+
/**
|
|
13372
|
+
* Whether the Soft Sort Belt has been deleted
|
|
13373
|
+
*
|
|
13374
|
+
* @type {boolean}
|
|
13375
|
+
* @public
|
|
13376
|
+
*/
|
|
13377
|
+
deleted: boolean;
|
|
13378
|
+
/**
|
|
13379
|
+
* When the Soft Sort Belt was last updated
|
|
13380
|
+
*
|
|
13381
|
+
* @type {Date}
|
|
13382
|
+
* @public
|
|
13383
|
+
*/
|
|
13384
|
+
updateTimestamp: Date;
|
|
13385
|
+
/**
|
|
13386
|
+
* The Site ID associated with this Soft Sort Belt
|
|
13387
|
+
*
|
|
13388
|
+
* @type {number}
|
|
13389
|
+
* @public
|
|
13390
|
+
*/
|
|
13391
|
+
siteId: number;
|
|
13392
|
+
}
|
|
13393
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13394
|
+
}
|
|
13395
|
+
|
|
12928
13396
|
declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
|
|
12929
13397
|
export default VarietyModel;
|
|
12930
13398
|
/**
|
package/package.json
CHANGED
|
@@ -166,7 +166,18 @@ export default RejectBinScaleController;
|
|
|
166
166
|
* @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
167
167
|
* @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
|
|
168
168
|
* @property {Object[]} [sources] An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
169
|
-
* @property {?number} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
169
|
+
* @property {?{delay: ?number}} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
170
|
+
* @property {?boolean} [supportsLiveWeighing] Whether this Reject Bin Scale supports Live Weighing
|
|
171
|
+
* @property {?number} [autoWeighingStartThreshold] The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
172
|
+
* @property {?number} [autoWeighingStartDelay] The Delay in Milliseconds before Auto Live Weighing would Start
|
|
173
|
+
* @property {?number} [autoWeighingFinishThreshold] The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
174
|
+
* @property {?number} [autoWeighingFinishDelay] The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
175
|
+
* @property {?number} [manualInterventionMaximumDuration] The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
176
|
+
* @property {?number} [liveWeighingIncreaseTolerance] The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
177
|
+
* @property {?number} [liveWeighingDecreaseTolerance] The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
178
|
+
* @property {?number} [liveWeighingUpdateInterval] The Interval in Milliseconds between Live Weighing Updates
|
|
179
|
+
* @property {?boolean} [liveWeighingUsesStableStatus] Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
180
|
+
* @property {?number} [incorrectOperationTolerance] The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
170
181
|
* @property {?Object} [freshPackIntegration] The FreshPack Integration Configuration for this Reject Bin Scale
|
|
171
182
|
* @memberof Controllers.Packhouse.Site
|
|
172
183
|
*/
|
|
@@ -181,7 +192,18 @@ export default RejectBinScaleController;
|
|
|
181
192
|
* @property {?string} [packrunSourceId] The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
182
193
|
* @property {?number} [packrunGroup] The Packrun Group this Reject Bin Scale is a part of
|
|
183
194
|
* @property {Object[]} [sources] An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
184
|
-
* @property {?number} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
195
|
+
* @property {?{delay: ?number}} [autoPackrunChange] The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
196
|
+
* @property {?boolean} [supportsLiveWeighing] Whether this Reject Bin Scale supports Live Weighing
|
|
197
|
+
* @property {?number} [autoWeighingStartThreshold] The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
198
|
+
* @property {?number} [autoWeighingStartDelay] The Delay in Milliseconds before Auto Live Weighing would Start
|
|
199
|
+
* @property {?number} [autoWeighingFinishThreshold] The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
200
|
+
* @property {?number} [autoWeighingFinishDelay] The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
201
|
+
* @property {?number} [manualInterventionMaximumDuration] The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
202
|
+
* @property {?number} [liveWeighingIncreaseTolerance] The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
203
|
+
* @property {?number} [liveWeighingDecreaseTolerance] The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
204
|
+
* @property {?number} [liveWeighingUpdateInterval] The Interval in Milliseconds between Live Weighing Updates
|
|
205
|
+
* @property {?boolean} [liveWeighingUsesStableStatus] Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
206
|
+
* @property {?number} [incorrectOperationTolerance] The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
185
207
|
* @property {?Object} [freshPackIntegration] The FreshPack Integration Configuration for this Reject Bin Scale
|
|
186
208
|
* @memberof Controllers.Packhouse.Site
|
|
187
209
|
*/
|