@ricado/api-client 2.1.1 → 2.2.0
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/BinTipBinController.js +622 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
- package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +657 -0
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +25 -1
- package/lib/Controllers/Packhouse/Site/PackrunController.js +42 -0
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
- package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +661 -0
- package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +628 -0
- package/lib/Controllers/Packhouse/Site/index.js +12 -0
- package/lib/Models/Packhouse/Site/BinTipBinModel.js +367 -0
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +1 -1
- package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +481 -0
- package/lib/Models/Packhouse/Site/PackingLineModel.js +524 -1
- package/lib/Models/Packhouse/Site/PackrunModel.js +66 -0
- package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +167 -1
- package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +599 -0
- package/lib/Models/Packhouse/Site/ShiftTaskModel.js +373 -0
- package/lib/Models/Packhouse/Site/index.js +12 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +2241 -146
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBinController.js +665 -0
- package/src/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
- package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +700 -0
- package/src/Controllers/Packhouse/Site/PackingLineController.js +25 -1
- package/src/Controllers/Packhouse/Site/PackrunController.js +52 -0
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
- package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +704 -0
- package/src/Controllers/Packhouse/Site/ShiftTaskController.js +671 -0
- package/src/Controllers/Packhouse/Site/index.js +8 -0
- package/src/Models/Packhouse/Site/BinTipBinModel.js +365 -0
- package/src/Models/Packhouse/Site/CompacSizerModel.js +1 -1
- package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +523 -0
- package/src/Models/Packhouse/Site/PackingLineModel.js +705 -1
- package/src/Models/Packhouse/Site/PackrunModel.js +75 -0
- package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +192 -1
- package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +664 -0
- package/src/Models/Packhouse/Site/ShiftTaskModel.js +369 -0
- package/src/Models/Packhouse/Site/index.js +8 -0
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3131,6 +3131,7 @@ declare module '@ricado/api-client/Models/Site' {
|
|
|
3131
3131
|
declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
3132
3132
|
export default Site;
|
|
3133
3133
|
namespace Site {
|
|
3134
|
+
export { BinTipBinController };
|
|
3134
3135
|
export { BinTipWeightController };
|
|
3135
3136
|
export { CompacSizerBatchController };
|
|
3136
3137
|
export { CompacSizerController };
|
|
@@ -3140,6 +3141,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3140
3141
|
export { CompacSizerPackrunSummaryController };
|
|
3141
3142
|
export { DowntimeEventController };
|
|
3142
3143
|
export { FreshPackPackrunSummaryController };
|
|
3144
|
+
export { FreshQualityPackrunSummaryController };
|
|
3143
3145
|
export { GrowingMethodController };
|
|
3144
3146
|
export { PackTypeController };
|
|
3145
3147
|
export { PackingLineController };
|
|
@@ -3150,9 +3152,12 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3150
3152
|
export { ShiftController };
|
|
3151
3153
|
export { ShiftFocusMeetingController };
|
|
3152
3154
|
export { ShiftHourlyEntryController };
|
|
3155
|
+
export { ShiftQualitySummaryController };
|
|
3156
|
+
export { ShiftTaskController };
|
|
3153
3157
|
export { SoftSortBeltController };
|
|
3154
3158
|
export { VarietyController };
|
|
3155
3159
|
}
|
|
3160
|
+
import BinTipBinController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController";
|
|
3156
3161
|
import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
|
|
3157
3162
|
import CompacSizerBatchController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchController";
|
|
3158
3163
|
import CompacSizerController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerController";
|
|
@@ -3162,6 +3167,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3162
3167
|
import CompacSizerPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController";
|
|
3163
3168
|
import DowntimeEventController from "@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventController";
|
|
3164
3169
|
import FreshPackPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSummaryController";
|
|
3170
|
+
import FreshQualityPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController";
|
|
3165
3171
|
import GrowingMethodController from "@ricado/api-client/Controllers/Packhouse/Site/GrowingMethodController";
|
|
3166
3172
|
import PackTypeController from "@ricado/api-client/Controllers/Packhouse/Site/PackTypeController";
|
|
3167
3173
|
import PackingLineController from "@ricado/api-client/Controllers/Packhouse/Site/PackingLineController";
|
|
@@ -3172,6 +3178,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3172
3178
|
import ShiftController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftController";
|
|
3173
3179
|
import ShiftFocusMeetingController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingController";
|
|
3174
3180
|
import ShiftHourlyEntryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryController";
|
|
3181
|
+
import ShiftQualitySummaryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummaryController";
|
|
3182
|
+
import ShiftTaskController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftTaskController";
|
|
3175
3183
|
import SoftSortBeltController from "@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController";
|
|
3176
3184
|
import VarietyController from "@ricado/api-client/Controllers/Packhouse/Site/VarietyController";
|
|
3177
3185
|
}
|
|
@@ -4696,6 +4704,7 @@ declare module '@ricado/api-client/Controllers/Site/TemporaryObjectController' {
|
|
|
4696
4704
|
declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
4697
4705
|
export default Site;
|
|
4698
4706
|
namespace Site {
|
|
4707
|
+
export { BinTipBinModel };
|
|
4699
4708
|
export { BinTipWeightModel };
|
|
4700
4709
|
export { CompacSizerBatchModel };
|
|
4701
4710
|
export { CompacSizerModel };
|
|
@@ -4705,6 +4714,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4705
4714
|
export { CompacSizerPackrunSummaryModel };
|
|
4706
4715
|
export { DowntimeEventModel };
|
|
4707
4716
|
export { FreshPackPackrunSummaryModel };
|
|
4717
|
+
export { FreshQualityPackrunSummaryModel };
|
|
4708
4718
|
export { GrowingMethodModel };
|
|
4709
4719
|
export { PackTypeModel };
|
|
4710
4720
|
export { PackingLineModel };
|
|
@@ -4715,9 +4725,12 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4715
4725
|
export { ShiftFocusMeetingModel };
|
|
4716
4726
|
export { ShiftHourlyEntryModel };
|
|
4717
4727
|
export { ShiftModel };
|
|
4728
|
+
export { ShiftQualitySummaryModel };
|
|
4729
|
+
export { ShiftTaskModel };
|
|
4718
4730
|
export { SoftSortBeltModel };
|
|
4719
4731
|
export { VarietyModel };
|
|
4720
4732
|
}
|
|
4733
|
+
import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
|
|
4721
4734
|
import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
|
|
4722
4735
|
import CompacSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel";
|
|
4723
4736
|
import CompacSizerModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerModel";
|
|
@@ -4727,6 +4740,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4727
4740
|
import CompacSizerPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel";
|
|
4728
4741
|
import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
|
|
4729
4742
|
import FreshPackPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel";
|
|
4743
|
+
import FreshQualityPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel";
|
|
4730
4744
|
import GrowingMethodModel from "@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel";
|
|
4731
4745
|
import PackTypeModel from "@ricado/api-client/Models/Packhouse/Site/PackTypeModel";
|
|
4732
4746
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
@@ -4737,6 +4751,8 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4737
4751
|
import ShiftFocusMeetingModel from "@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel";
|
|
4738
4752
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
4739
4753
|
import ShiftModel from "@ricado/api-client/Models/Packhouse/Site/ShiftModel";
|
|
4754
|
+
import ShiftQualitySummaryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel";
|
|
4755
|
+
import ShiftTaskModel from "@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel";
|
|
4740
4756
|
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
4741
4757
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
4742
4758
|
}
|
|
@@ -5341,6 +5357,272 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
|
|
|
5341
5357
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5342
5358
|
}
|
|
5343
5359
|
|
|
5360
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController' {
|
|
5361
|
+
export default BinTipBinController;
|
|
5362
|
+
/**
|
|
5363
|
+
* Controller Class for Bin Tip Bins
|
|
5364
|
+
*
|
|
5365
|
+
* @class
|
|
5366
|
+
*/
|
|
5367
|
+
class BinTipBinController {
|
|
5368
|
+
/**
|
|
5369
|
+
* Retrieve a Bin Tip Bin [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5370
|
+
*
|
|
5371
|
+
* @static
|
|
5372
|
+
* @public
|
|
5373
|
+
* @param {number} siteId The Site ID
|
|
5374
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5375
|
+
* @return {Promise<BinTipBinModel>}
|
|
5376
|
+
*/
|
|
5377
|
+
static getOne(siteId: number, id: string): Promise<BinTipBinModel>;
|
|
5378
|
+
/**
|
|
5379
|
+
* Update a Bin Tip Bin [PATCH /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5380
|
+
*
|
|
5381
|
+
* @static
|
|
5382
|
+
* @public
|
|
5383
|
+
* @param {number} siteId The Site ID
|
|
5384
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5385
|
+
* @param {BinTipBinController.UpdateData} updateData The Bin Tip Bin Update Data
|
|
5386
|
+
* @return {Promise<BinTipBinModel>}
|
|
5387
|
+
*/
|
|
5388
|
+
static update(siteId: number, id: string, updateData: BinTipBinController.UpdateData): Promise<BinTipBinModel>;
|
|
5389
|
+
/**
|
|
5390
|
+
* Delete a Bin Tip Bin [DELETE /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5391
|
+
*
|
|
5392
|
+
* @static
|
|
5393
|
+
* @public
|
|
5394
|
+
* @param {number} siteId The Site ID
|
|
5395
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5396
|
+
* @return {Promise<boolean>}
|
|
5397
|
+
*/
|
|
5398
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
5399
|
+
/**
|
|
5400
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments]
|
|
5401
|
+
*
|
|
5402
|
+
* Retrieves Comments for a Bin Tip Bin
|
|
5403
|
+
*
|
|
5404
|
+
* @static
|
|
5405
|
+
* @public
|
|
5406
|
+
* @param {number} siteId The Site ID
|
|
5407
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5408
|
+
* @return {Promise<Array<BinTipBinController.CommentItem>>}
|
|
5409
|
+
*/
|
|
5410
|
+
static getComments(siteId: number, id: string): Promise<Array<BinTipBinController.CommentItem>>;
|
|
5411
|
+
/**
|
|
5412
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments]
|
|
5413
|
+
*
|
|
5414
|
+
* Create a Comment for a Bin Tip Bin
|
|
5415
|
+
*
|
|
5416
|
+
* @static
|
|
5417
|
+
* @public
|
|
5418
|
+
* @param {number} siteId The Site ID
|
|
5419
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5420
|
+
* @param {string} content The Content of the New Comment
|
|
5421
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5422
|
+
*/
|
|
5423
|
+
static createComment(siteId: number, id: string, content: string): Promise<BinTipBinController.CommentItem>;
|
|
5424
|
+
/**
|
|
5425
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5426
|
+
*
|
|
5427
|
+
* Retrieves Comments for a Bin Tip Bin
|
|
5428
|
+
*
|
|
5429
|
+
* @static
|
|
5430
|
+
* @public
|
|
5431
|
+
* @param {number} siteId The Site ID
|
|
5432
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5433
|
+
* @param {string} commentId The Comment ID
|
|
5434
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5435
|
+
*/
|
|
5436
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<BinTipBinController.CommentItem>;
|
|
5437
|
+
/**
|
|
5438
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5439
|
+
*
|
|
5440
|
+
* Update a Comment for a Bin Tip Bin
|
|
5441
|
+
*
|
|
5442
|
+
* @static
|
|
5443
|
+
* @public
|
|
5444
|
+
* @param {number} siteId The Site ID
|
|
5445
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5446
|
+
* @param {string} commentId The Comment ID
|
|
5447
|
+
* @param {string} content The Updated Content for the Comment
|
|
5448
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5449
|
+
*/
|
|
5450
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<BinTipBinController.CommentItem>;
|
|
5451
|
+
/**
|
|
5452
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5453
|
+
*
|
|
5454
|
+
* Delete a Comment for a Bin Tip Bin
|
|
5455
|
+
*
|
|
5456
|
+
* @static
|
|
5457
|
+
* @public
|
|
5458
|
+
* @param {number} siteId The Site ID
|
|
5459
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5460
|
+
* @param {string} commentId The Comment ID
|
|
5461
|
+
* @return {Promise<boolean>}
|
|
5462
|
+
*/
|
|
5463
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
5464
|
+
/**
|
|
5465
|
+
* List all Bin Tip Bins [GET /packhouse/sites/{siteId}/bin-tip-bins]
|
|
5466
|
+
*
|
|
5467
|
+
* @static
|
|
5468
|
+
* @public
|
|
5469
|
+
* @param {number} siteId The Site ID
|
|
5470
|
+
* @param {BinTipBinController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
5471
|
+
* @return {Promise<BinTipBinModel[]>}
|
|
5472
|
+
*/
|
|
5473
|
+
static getAll(siteId: number, queryParameters?: BinTipBinController.GetAllQueryParameters): Promise<BinTipBinModel[]>;
|
|
5474
|
+
/**
|
|
5475
|
+
* Create a Bin Tip Bin [POST /packhouse/sites/{siteId}/bin-tip-bins]
|
|
5476
|
+
*
|
|
5477
|
+
* @static
|
|
5478
|
+
* @public
|
|
5479
|
+
* @param {number} siteId The Site ID
|
|
5480
|
+
* @param {BinTipBinController.CreateData} createData The Bin Tip Bin Create Data
|
|
5481
|
+
* @return {Promise<BinTipBinModel>}
|
|
5482
|
+
*/
|
|
5483
|
+
static create(siteId: number, createData: BinTipBinController.CreateData): Promise<BinTipBinModel>;
|
|
5484
|
+
}
|
|
5485
|
+
namespace BinTipBinController {
|
|
5486
|
+
/**
|
|
5487
|
+
* The Optional Query Parameters for the getAll Function
|
|
5488
|
+
*/
|
|
5489
|
+
export type GetAllQueryParameters = {
|
|
5490
|
+
/**
|
|
5491
|
+
* The Bin Tip ID associated with this Bin
|
|
5492
|
+
*/
|
|
5493
|
+
binTipId?: string;
|
|
5494
|
+
/**
|
|
5495
|
+
* The Packrun ID associated with this Bin
|
|
5496
|
+
*/
|
|
5497
|
+
packrunId?: string;
|
|
5498
|
+
/**
|
|
5499
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5500
|
+
*/
|
|
5501
|
+
fullBinWeightId?: string;
|
|
5502
|
+
/**
|
|
5503
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5504
|
+
*/
|
|
5505
|
+
emptyBinWeightId?: string;
|
|
5506
|
+
/**
|
|
5507
|
+
* Filter by the Timestamp when this Bin was Created. Results Greater than or Equal to Timestamp
|
|
5508
|
+
*/
|
|
5509
|
+
createdTimestampBegin?: Date;
|
|
5510
|
+
/**
|
|
5511
|
+
* Filter by the Timestamp when this Bin was Created. Results Less than or Equal to Timestamp
|
|
5512
|
+
*/
|
|
5513
|
+
createdTimestampEnd?: Date;
|
|
5514
|
+
};
|
|
5515
|
+
/**
|
|
5516
|
+
* The Create Data for a Bin Tip Bin
|
|
5517
|
+
*/
|
|
5518
|
+
export type CreateData = {
|
|
5519
|
+
/**
|
|
5520
|
+
* The Bin Tip ID associated with this Bin
|
|
5521
|
+
*/
|
|
5522
|
+
binTipId: string;
|
|
5523
|
+
/**
|
|
5524
|
+
* The Packrun ID associated with this Bin
|
|
5525
|
+
*/
|
|
5526
|
+
packrunId?: string;
|
|
5527
|
+
/**
|
|
5528
|
+
* When this Bin was Created
|
|
5529
|
+
*/
|
|
5530
|
+
createdTimestamp?: Date;
|
|
5531
|
+
/**
|
|
5532
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
5533
|
+
*/
|
|
5534
|
+
binNumber?: string;
|
|
5535
|
+
/**
|
|
5536
|
+
* The Time Batch ID associated with this Bin
|
|
5537
|
+
*/
|
|
5538
|
+
timeBatchId?: string;
|
|
5539
|
+
/**
|
|
5540
|
+
* The Full Weight for this Bin
|
|
5541
|
+
*/
|
|
5542
|
+
fullWeight?: number;
|
|
5543
|
+
/**
|
|
5544
|
+
* The Empty Weight for this Bin
|
|
5545
|
+
*/
|
|
5546
|
+
emptyWeight?: number;
|
|
5547
|
+
/**
|
|
5548
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5549
|
+
*/
|
|
5550
|
+
fullBinWeightId?: string;
|
|
5551
|
+
/**
|
|
5552
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5553
|
+
*/
|
|
5554
|
+
emptyBinWeightId?: string;
|
|
5555
|
+
/**
|
|
5556
|
+
* The FreshPack Field Bin Weight API Data
|
|
5557
|
+
*/
|
|
5558
|
+
freshPackFieldBinWeightApi?: any;
|
|
5559
|
+
};
|
|
5560
|
+
/**
|
|
5561
|
+
* The Update Data for a Bin Tip Bin
|
|
5562
|
+
*/
|
|
5563
|
+
export type UpdateData = {
|
|
5564
|
+
/**
|
|
5565
|
+
* The Bin Tip ID associated with this Bin
|
|
5566
|
+
*/
|
|
5567
|
+
binTipId?: string;
|
|
5568
|
+
/**
|
|
5569
|
+
* When this Bin was Created
|
|
5570
|
+
*/
|
|
5571
|
+
createdTimestamp?: Date;
|
|
5572
|
+
/**
|
|
5573
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
5574
|
+
*/
|
|
5575
|
+
binNumber?: string;
|
|
5576
|
+
/**
|
|
5577
|
+
* The Time Batch ID associated with this Bin
|
|
5578
|
+
*/
|
|
5579
|
+
timeBatchId?: string;
|
|
5580
|
+
/**
|
|
5581
|
+
* The Full Weight for this Bin
|
|
5582
|
+
*/
|
|
5583
|
+
fullWeight?: number;
|
|
5584
|
+
/**
|
|
5585
|
+
* The Empty Weight for this Bin
|
|
5586
|
+
*/
|
|
5587
|
+
emptyWeight?: number;
|
|
5588
|
+
/**
|
|
5589
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5590
|
+
*/
|
|
5591
|
+
fullBinWeightId?: string;
|
|
5592
|
+
/**
|
|
5593
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5594
|
+
*/
|
|
5595
|
+
emptyBinWeightId?: string;
|
|
5596
|
+
/**
|
|
5597
|
+
* The FreshPack Field Bin Weight API Data
|
|
5598
|
+
*/
|
|
5599
|
+
freshPackFieldBinWeightApi?: any;
|
|
5600
|
+
};
|
|
5601
|
+
/**
|
|
5602
|
+
* A **CommentItem** Type
|
|
5603
|
+
*/
|
|
5604
|
+
export type CommentItem = {
|
|
5605
|
+
/**
|
|
5606
|
+
* The Comment ID
|
|
5607
|
+
*/
|
|
5608
|
+
id: string;
|
|
5609
|
+
/**
|
|
5610
|
+
* The Content of the Comment
|
|
5611
|
+
*/
|
|
5612
|
+
content: string;
|
|
5613
|
+
/**
|
|
5614
|
+
* When the Comment was Created
|
|
5615
|
+
*/
|
|
5616
|
+
createdTimestamp: Date;
|
|
5617
|
+
/**
|
|
5618
|
+
* When the Comment was last Updated
|
|
5619
|
+
*/
|
|
5620
|
+
updatedTimestamp: Date;
|
|
5621
|
+
};
|
|
5622
|
+
}
|
|
5623
|
+
import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5344
5626
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController' {
|
|
5345
5627
|
export default BinTipWeightController;
|
|
5346
5628
|
/**
|
|
@@ -5879,7 +6161,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5879
6161
|
*/
|
|
5880
6162
|
sizerType?: string;
|
|
5881
6163
|
/**
|
|
5882
|
-
* The Packing Line ID this Compac Sizer
|
|
6164
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5883
6165
|
*/
|
|
5884
6166
|
packingLineId?: string;
|
|
5885
6167
|
};
|
|
@@ -5920,7 +6202,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5920
6202
|
*/
|
|
5921
6203
|
fruitSizes?: any[];
|
|
5922
6204
|
/**
|
|
5923
|
-
* The Packing Line ID this Compac Sizer
|
|
6205
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5924
6206
|
*/
|
|
5925
6207
|
packingLineId: string;
|
|
5926
6208
|
/**
|
|
@@ -5965,7 +6247,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5965
6247
|
*/
|
|
5966
6248
|
fruitSizes?: any[];
|
|
5967
6249
|
/**
|
|
5968
|
-
* The Packing Line ID this Compac Sizer
|
|
6250
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5969
6251
|
*/
|
|
5970
6252
|
packingLineId?: string;
|
|
5971
6253
|
/**
|
|
@@ -7473,84 +7755,398 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7473
7755
|
import FreshPackPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel";
|
|
7474
7756
|
}
|
|
7475
7757
|
|
|
7476
|
-
declare module '@ricado/api-client/Controllers/Packhouse/Site/
|
|
7477
|
-
export default
|
|
7758
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController' {
|
|
7759
|
+
export default FreshQualityPackrunSummaryController;
|
|
7478
7760
|
/**
|
|
7479
|
-
* Controller Class for
|
|
7761
|
+
* Controller Class for FreshQuality Packrun Summaries
|
|
7480
7762
|
*
|
|
7481
7763
|
* @class
|
|
7482
7764
|
*/
|
|
7483
|
-
class
|
|
7765
|
+
class FreshQualityPackrunSummaryController {
|
|
7484
7766
|
/**
|
|
7485
|
-
* Retrieve a
|
|
7767
|
+
* Retrieve a FreshQuality Packrun Summary [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7486
7768
|
*
|
|
7487
7769
|
* @static
|
|
7488
7770
|
* @public
|
|
7489
7771
|
* @param {number} siteId The Site ID
|
|
7490
|
-
* @param {string} id The
|
|
7491
|
-
* @return {Promise<
|
|
7772
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7773
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7492
7774
|
*/
|
|
7493
|
-
static getOne(siteId: number, id: string): Promise<
|
|
7775
|
+
static getOne(siteId: number, id: string): Promise<FreshQualityPackrunSummaryModel>;
|
|
7494
7776
|
/**
|
|
7495
|
-
* Update a
|
|
7777
|
+
* Update a FreshQuality Packrun Summary [PATCH /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7496
7778
|
*
|
|
7497
7779
|
* @static
|
|
7498
7780
|
* @public
|
|
7499
7781
|
* @param {number} siteId The Site ID
|
|
7500
|
-
* @param {string} id The
|
|
7501
|
-
* @param {
|
|
7502
|
-
* @return {Promise<
|
|
7782
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7783
|
+
* @param {FreshQualityPackrunSummaryController.UpdateData} updateData The FreshQuality Packrun Summary Update Data
|
|
7784
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7503
7785
|
*/
|
|
7504
|
-
static update(siteId: number, id: string, updateData:
|
|
7786
|
+
static update(siteId: number, id: string, updateData: FreshQualityPackrunSummaryController.UpdateData): Promise<FreshQualityPackrunSummaryModel>;
|
|
7505
7787
|
/**
|
|
7506
|
-
* Delete a
|
|
7788
|
+
* Delete a FreshQuality Packrun Summary [DELETE /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7507
7789
|
*
|
|
7508
7790
|
* @static
|
|
7509
7791
|
* @public
|
|
7510
7792
|
* @param {number} siteId The Site ID
|
|
7511
|
-
* @param {string} id The
|
|
7793
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7512
7794
|
* @return {Promise<boolean>}
|
|
7513
7795
|
*/
|
|
7514
7796
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
7515
7797
|
/**
|
|
7516
|
-
*
|
|
7798
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments]
|
|
7799
|
+
*
|
|
7800
|
+
* Retrieves Comments for a FreshQuality Packrun Summary
|
|
7517
7801
|
*
|
|
7518
7802
|
* @static
|
|
7519
7803
|
* @public
|
|
7520
7804
|
* @param {number} siteId The Site ID
|
|
7521
|
-
* @param {
|
|
7522
|
-
* @return {Promise<
|
|
7805
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7806
|
+
* @return {Promise<Array<FreshQualityPackrunSummaryController.CommentItem>>}
|
|
7523
7807
|
*/
|
|
7524
|
-
static
|
|
7808
|
+
static getComments(siteId: number, id: string): Promise<Array<FreshQualityPackrunSummaryController.CommentItem>>;
|
|
7525
7809
|
/**
|
|
7526
|
-
* Create a
|
|
7810
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments]
|
|
7811
|
+
*
|
|
7812
|
+
* Create a Comment for a FreshQuality Packrun Summary
|
|
7527
7813
|
*
|
|
7528
7814
|
* @static
|
|
7529
7815
|
* @public
|
|
7530
7816
|
* @param {number} siteId The Site ID
|
|
7531
|
-
* @param {
|
|
7532
|
-
* @
|
|
7817
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7818
|
+
* @param {string} content The Content of the New Comment
|
|
7819
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7533
7820
|
*/
|
|
7534
|
-
static
|
|
7821
|
+
static createComment(siteId: number, id: string, content: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7822
|
+
/**
|
|
7823
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7824
|
+
*
|
|
7825
|
+
* Retrieves Comments for a FreshQuality Packrun Summary
|
|
7826
|
+
*
|
|
7827
|
+
* @static
|
|
7828
|
+
* @public
|
|
7829
|
+
* @param {number} siteId The Site ID
|
|
7830
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7831
|
+
* @param {string} commentId The Comment ID
|
|
7832
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7833
|
+
*/
|
|
7834
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7835
|
+
/**
|
|
7836
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7837
|
+
*
|
|
7838
|
+
* Update a Comment for a FreshQuality Packrun Summary
|
|
7839
|
+
*
|
|
7840
|
+
* @static
|
|
7841
|
+
* @public
|
|
7842
|
+
* @param {number} siteId The Site ID
|
|
7843
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7844
|
+
* @param {string} commentId The Comment ID
|
|
7845
|
+
* @param {string} content The Updated Content for the Comment
|
|
7846
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7847
|
+
*/
|
|
7848
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7849
|
+
/**
|
|
7850
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7851
|
+
*
|
|
7852
|
+
* Delete a Comment for a FreshQuality Packrun Summary
|
|
7853
|
+
*
|
|
7854
|
+
* @static
|
|
7855
|
+
* @public
|
|
7856
|
+
* @param {number} siteId The Site ID
|
|
7857
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7858
|
+
* @param {string} commentId The Comment ID
|
|
7859
|
+
* @return {Promise<boolean>}
|
|
7860
|
+
*/
|
|
7861
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
7862
|
+
/**
|
|
7863
|
+
* List all FreshQuality Packrun Summaries [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries]
|
|
7864
|
+
*
|
|
7865
|
+
* @static
|
|
7866
|
+
* @public
|
|
7867
|
+
* @param {number} siteId The Site ID
|
|
7868
|
+
* @param {FreshQualityPackrunSummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7869
|
+
* @return {Promise<FreshQualityPackrunSummaryModel[]>}
|
|
7870
|
+
*/
|
|
7871
|
+
static getAll(siteId: number, queryParameters?: FreshQualityPackrunSummaryController.GetAllQueryParameters): Promise<FreshQualityPackrunSummaryModel[]>;
|
|
7872
|
+
/**
|
|
7873
|
+
* Create a FreshQuality Packrun Summary [POST /packhouse/sites/{siteId}/freshquality-packrun-summaries]
|
|
7874
|
+
*
|
|
7875
|
+
* @static
|
|
7876
|
+
* @public
|
|
7877
|
+
* @param {number} siteId The Site ID
|
|
7878
|
+
* @param {FreshQualityPackrunSummaryController.CreateData} createData The FreshQuality Packrun Summary Create Data
|
|
7879
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7880
|
+
*/
|
|
7881
|
+
static create(siteId: number, createData: FreshQualityPackrunSummaryController.CreateData): Promise<FreshQualityPackrunSummaryModel>;
|
|
7535
7882
|
}
|
|
7536
|
-
namespace
|
|
7883
|
+
namespace FreshQualityPackrunSummaryController {
|
|
7537
7884
|
/**
|
|
7538
7885
|
* The Optional Query Parameters for the getAll Function
|
|
7539
7886
|
*/
|
|
7540
7887
|
export type GetAllQueryParameters = {
|
|
7541
7888
|
/**
|
|
7542
|
-
* The
|
|
7889
|
+
* The Packing Line ID this Summary is associated with
|
|
7543
7890
|
*/
|
|
7544
|
-
|
|
7891
|
+
packingLineId?: string;
|
|
7545
7892
|
/**
|
|
7546
|
-
* The
|
|
7893
|
+
* The Packrun ID this Summary is associated with
|
|
7547
7894
|
*/
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7895
|
+
packrunId?: string;
|
|
7896
|
+
/**
|
|
7897
|
+
* The Time Batch this Summary is associated with
|
|
7898
|
+
*/
|
|
7899
|
+
timeBatchId?: string;
|
|
7900
|
+
/**
|
|
7901
|
+
* Filter by the Timestamp when this FreshQuality Packrun Summary was Created. Results Greater than or Equal to Timestamp
|
|
7902
|
+
*/
|
|
7903
|
+
createdTimestampBegin?: Date;
|
|
7904
|
+
/**
|
|
7905
|
+
* Filter by the Timestamp when this FreshQuality Packrun Summary was Created. Results Less than or Equal to Timestamp
|
|
7906
|
+
*/
|
|
7907
|
+
createdTimestampEnd?: Date;
|
|
7908
|
+
};
|
|
7909
|
+
/**
|
|
7910
|
+
* The Create Data for a FreshQuality Packrun Summary
|
|
7911
|
+
*/
|
|
7912
|
+
export type CreateData = {
|
|
7913
|
+
/**
|
|
7914
|
+
* The Packing Line ID this Summary is associated with
|
|
7915
|
+
*/
|
|
7916
|
+
packingLineId: string;
|
|
7917
|
+
/**
|
|
7918
|
+
* The Packrun ID this Summary is associated with
|
|
7919
|
+
*/
|
|
7920
|
+
packrunId?: string;
|
|
7921
|
+
/**
|
|
7922
|
+
* When this Summary was Created
|
|
7923
|
+
*/
|
|
7924
|
+
createdTimestamp?: Date;
|
|
7925
|
+
/**
|
|
7926
|
+
* The Time Batch this Summary is associated with
|
|
7927
|
+
*/
|
|
7928
|
+
timeBatchId?: string;
|
|
7929
|
+
/**
|
|
7930
|
+
* An Array of Class 1 R600 Samples
|
|
7931
|
+
*/
|
|
7932
|
+
class1R600Samples?: Sample[];
|
|
7933
|
+
/**
|
|
7934
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
7935
|
+
*/
|
|
7936
|
+
categorySummaries?: CategorySummary[];
|
|
7937
|
+
/**
|
|
7938
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
7939
|
+
*/
|
|
7940
|
+
totalFruitSampled?: number;
|
|
7941
|
+
};
|
|
7942
|
+
/**
|
|
7943
|
+
* The Update Data for a FreshQuality Packrun Summary
|
|
7944
|
+
*/
|
|
7945
|
+
export type UpdateData = {
|
|
7946
|
+
/**
|
|
7947
|
+
* The Packing Line ID this Summary is associated with
|
|
7948
|
+
*/
|
|
7949
|
+
packingLineId?: string;
|
|
7950
|
+
/**
|
|
7951
|
+
* When this Summary was Created
|
|
7952
|
+
*/
|
|
7953
|
+
createdTimestamp?: Date;
|
|
7954
|
+
/**
|
|
7955
|
+
* The Time Batch this Summary is associated with
|
|
7956
|
+
*/
|
|
7957
|
+
timeBatchId?: string;
|
|
7958
|
+
/**
|
|
7959
|
+
* An Array of Class 1 R600 Samples
|
|
7960
|
+
*/
|
|
7961
|
+
class1R600Samples?: Sample[];
|
|
7962
|
+
/**
|
|
7963
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
7964
|
+
*/
|
|
7965
|
+
categorySummaries?: CategorySummary[];
|
|
7966
|
+
/**
|
|
7967
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
7968
|
+
*/
|
|
7969
|
+
totalFruitSampled?: number;
|
|
7970
|
+
};
|
|
7971
|
+
/**
|
|
7972
|
+
* A **CommentItem** Type
|
|
7973
|
+
*/
|
|
7974
|
+
export type CommentItem = {
|
|
7975
|
+
/**
|
|
7976
|
+
* The Comment ID
|
|
7977
|
+
*/
|
|
7978
|
+
id: string;
|
|
7979
|
+
/**
|
|
7980
|
+
* The Content of the Comment
|
|
7981
|
+
*/
|
|
7982
|
+
content: string;
|
|
7983
|
+
/**
|
|
7984
|
+
* When the Comment was Created
|
|
7985
|
+
*/
|
|
7986
|
+
createdTimestamp: Date;
|
|
7987
|
+
/**
|
|
7988
|
+
* When the Comment was last Updated
|
|
7989
|
+
*/
|
|
7990
|
+
updatedTimestamp: Date;
|
|
7991
|
+
};
|
|
7992
|
+
/**
|
|
7993
|
+
* A **SampleDefect** Type
|
|
7994
|
+
*/
|
|
7995
|
+
export type SampleDefect = {
|
|
7996
|
+
/**
|
|
7997
|
+
* The Defect Name
|
|
7998
|
+
*/
|
|
7999
|
+
name: string;
|
|
8000
|
+
/**
|
|
8001
|
+
* The Defect Group
|
|
8002
|
+
*/
|
|
8003
|
+
group: string;
|
|
8004
|
+
/**
|
|
8005
|
+
* The Number of Fruit with this Defect
|
|
8006
|
+
*/
|
|
8007
|
+
fruitCount: number;
|
|
8008
|
+
};
|
|
8009
|
+
/**
|
|
8010
|
+
* A **Sample** Type
|
|
8011
|
+
*/
|
|
8012
|
+
export type Sample = {
|
|
8013
|
+
/**
|
|
8014
|
+
* The Fruit Size for this Sample
|
|
8015
|
+
*/
|
|
8016
|
+
fruitSize: string;
|
|
8017
|
+
/**
|
|
8018
|
+
* The Pack Type for this Sample
|
|
8019
|
+
*/
|
|
8020
|
+
packType: string;
|
|
8021
|
+
/**
|
|
8022
|
+
* When this Sample was taken
|
|
8023
|
+
*/
|
|
8024
|
+
timestamp: Date;
|
|
8025
|
+
/**
|
|
8026
|
+
* The Total Number of Fruit Sampled
|
|
8027
|
+
*/
|
|
8028
|
+
fruitCount: number;
|
|
8029
|
+
/**
|
|
8030
|
+
* An Array of Defects found in this Sample
|
|
8031
|
+
*/
|
|
8032
|
+
defects: SampleDefect[];
|
|
8033
|
+
};
|
|
8034
|
+
/**
|
|
8035
|
+
* A **CategorySummaryDefect** Type
|
|
8036
|
+
*/
|
|
8037
|
+
export type CategorySummaryDefect = {
|
|
8038
|
+
/**
|
|
8039
|
+
* The Defect Name
|
|
8040
|
+
*/
|
|
8041
|
+
name: string;
|
|
8042
|
+
/**
|
|
8043
|
+
* The Number of Fruit with this Defect
|
|
8044
|
+
*/
|
|
8045
|
+
fruitCount: number;
|
|
8046
|
+
/**
|
|
8047
|
+
* The Percentage of Fruit with this Defect
|
|
8048
|
+
*/
|
|
8049
|
+
percentage: number;
|
|
8050
|
+
};
|
|
8051
|
+
/**
|
|
8052
|
+
* A **CategorySummary** Type
|
|
8053
|
+
*/
|
|
8054
|
+
export type CategorySummary = {
|
|
8055
|
+
/**
|
|
8056
|
+
* The Category Name (e.g. Minor Packing Defects, Softs)
|
|
8057
|
+
*/
|
|
8058
|
+
name: string;
|
|
8059
|
+
/**
|
|
8060
|
+
* The Percentage of all Fruit Sampled that have Defects in this Category
|
|
8061
|
+
*/
|
|
8062
|
+
percentage: number;
|
|
8063
|
+
/**
|
|
8064
|
+
* An Array of Defects within this Category Summary
|
|
8065
|
+
*/
|
|
8066
|
+
defects: CategorySummaryDefect[];
|
|
8067
|
+
};
|
|
8068
|
+
}
|
|
8069
|
+
import FreshQualityPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel";
|
|
8070
|
+
}
|
|
8071
|
+
|
|
8072
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/GrowingMethodController' {
|
|
8073
|
+
export default GrowingMethodController;
|
|
8074
|
+
/**
|
|
8075
|
+
* Controller Class for Growing Methods
|
|
8076
|
+
*
|
|
8077
|
+
* @class
|
|
8078
|
+
*/
|
|
8079
|
+
class GrowingMethodController {
|
|
8080
|
+
/**
|
|
8081
|
+
* Retrieve a Growing Method [GET /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8082
|
+
*
|
|
8083
|
+
* @static
|
|
8084
|
+
* @public
|
|
8085
|
+
* @param {number} siteId The Site ID
|
|
8086
|
+
* @param {string} id The Growing Method ID
|
|
8087
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8088
|
+
*/
|
|
8089
|
+
static getOne(siteId: number, id: string): Promise<GrowingMethodModel>;
|
|
8090
|
+
/**
|
|
8091
|
+
* Update a Growing Method [PATCH /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8092
|
+
*
|
|
8093
|
+
* @static
|
|
8094
|
+
* @public
|
|
8095
|
+
* @param {number} siteId The Site ID
|
|
8096
|
+
* @param {string} id The Growing Method ID
|
|
8097
|
+
* @param {GrowingMethodController.UpdateData} updateData The Growing Method Update Data
|
|
8098
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8099
|
+
*/
|
|
8100
|
+
static update(siteId: number, id: string, updateData: GrowingMethodController.UpdateData): Promise<GrowingMethodModel>;
|
|
8101
|
+
/**
|
|
8102
|
+
* Delete a Growing Method [DELETE /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8103
|
+
*
|
|
8104
|
+
* @static
|
|
8105
|
+
* @public
|
|
8106
|
+
* @param {number} siteId The Site ID
|
|
8107
|
+
* @param {string} id The Growing Method ID
|
|
8108
|
+
* @return {Promise<boolean>}
|
|
8109
|
+
*/
|
|
8110
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
8111
|
+
/**
|
|
8112
|
+
* List all Growing Methods [GET /packhouse/sites/{siteId}/growing-methods]
|
|
8113
|
+
*
|
|
8114
|
+
* @static
|
|
8115
|
+
* @public
|
|
8116
|
+
* @param {number} siteId The Site ID
|
|
8117
|
+
* @param {GrowingMethodController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8118
|
+
* @return {Promise<GrowingMethodModel[]>}
|
|
8119
|
+
*/
|
|
8120
|
+
static getAll(siteId: number, queryParameters?: GrowingMethodController.GetAllQueryParameters): Promise<GrowingMethodModel[]>;
|
|
8121
|
+
/**
|
|
8122
|
+
* Create a Growing Method [POST /packhouse/sites/{siteId}/growing-methods]
|
|
8123
|
+
*
|
|
8124
|
+
* @static
|
|
8125
|
+
* @public
|
|
8126
|
+
* @param {number} siteId The Site ID
|
|
8127
|
+
* @param {GrowingMethodController.CreateData} createData The Growing Method Create Data
|
|
8128
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8129
|
+
*/
|
|
8130
|
+
static create(siteId: number, createData: GrowingMethodController.CreateData): Promise<GrowingMethodModel>;
|
|
8131
|
+
}
|
|
8132
|
+
namespace GrowingMethodController {
|
|
8133
|
+
/**
|
|
8134
|
+
* The Optional Query Parameters for the getAll Function
|
|
8135
|
+
*/
|
|
8136
|
+
export type GetAllQueryParameters = {
|
|
8137
|
+
/**
|
|
8138
|
+
* The Growing Method Code
|
|
8139
|
+
*/
|
|
8140
|
+
code?: string;
|
|
8141
|
+
/**
|
|
8142
|
+
* The Growing Method Name
|
|
8143
|
+
*/
|
|
8144
|
+
name?: string;
|
|
8145
|
+
};
|
|
8146
|
+
/**
|
|
8147
|
+
* The Create Data for a Growing Method
|
|
8148
|
+
*/
|
|
8149
|
+
export type CreateData = {
|
|
7554
8150
|
/**
|
|
7555
8151
|
* The Growing Method Code
|
|
7556
8152
|
*/
|
|
@@ -7820,6 +8416,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7820
8416
|
* The Reject Bin Scale Objects that belong to this Packing Line
|
|
7821
8417
|
*/
|
|
7822
8418
|
rejectBinScales?: any[];
|
|
8419
|
+
/**
|
|
8420
|
+
* An Optional Secondary Packing Line Reference
|
|
8421
|
+
*/
|
|
8422
|
+
secondaryPackingLine?: any;
|
|
7823
8423
|
/**
|
|
7824
8424
|
* The Automation Object for this Packing Line
|
|
7825
8425
|
*/
|
|
@@ -7869,6 +8469,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7869
8469
|
* The Reject Bin Scale Objects that belong to this Packing Line
|
|
7870
8470
|
*/
|
|
7871
8471
|
rejectBinScales?: any[];
|
|
8472
|
+
/**
|
|
8473
|
+
* An Optional Secondary Packing Line Reference
|
|
8474
|
+
*/
|
|
8475
|
+
secondaryPackingLine?: any;
|
|
7872
8476
|
/**
|
|
7873
8477
|
* The Automation Object for this Packing Line
|
|
7874
8478
|
*/
|
|
@@ -7894,6 +8498,40 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7894
8498
|
*/
|
|
7895
8499
|
freshQualityIntegration?: any;
|
|
7896
8500
|
};
|
|
8501
|
+
/**
|
|
8502
|
+
* A **ShiftTaskTagDefinition** Type
|
|
8503
|
+
*/
|
|
8504
|
+
export type ShiftTaskTagDefinition = {
|
|
8505
|
+
/**
|
|
8506
|
+
* The Unique Tag ID
|
|
8507
|
+
*/
|
|
8508
|
+
id: string;
|
|
8509
|
+
/**
|
|
8510
|
+
* The Tag Display Name
|
|
8511
|
+
*/
|
|
8512
|
+
name: string;
|
|
8513
|
+
/**
|
|
8514
|
+
* The Tag Display Color
|
|
8515
|
+
*/
|
|
8516
|
+
color: string;
|
|
8517
|
+
/**
|
|
8518
|
+
* Whether the Tag has been Deleted
|
|
8519
|
+
*/
|
|
8520
|
+
deleted: boolean;
|
|
8521
|
+
};
|
|
8522
|
+
/**
|
|
8523
|
+
* A **ShiftTaskDefinition** Type
|
|
8524
|
+
*/
|
|
8525
|
+
export type ShiftTaskDefinition = {
|
|
8526
|
+
/**
|
|
8527
|
+
* The Task Type
|
|
8528
|
+
*/
|
|
8529
|
+
type: string;
|
|
8530
|
+
/**
|
|
8531
|
+
* An Array of Tags defined for the Task Type
|
|
8532
|
+
*/
|
|
8533
|
+
tags: ShiftTaskTagDefinition[];
|
|
8534
|
+
};
|
|
7897
8535
|
/**
|
|
7898
8536
|
* A **ShiftManagement** Type
|
|
7899
8537
|
*/
|
|
@@ -7910,12 +8548,52 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7910
8548
|
currentFocusMeetingId: number;
|
|
7911
8549
|
startFocusMeetingRequest: number;
|
|
7912
8550
|
finishFocusMeetingRequest: number;
|
|
8551
|
+
currentShiftStatus: number;
|
|
8552
|
+
currentShiftModifyHourlyEntryRequest: number;
|
|
7913
8553
|
shiftSchedules: number;
|
|
8554
|
+
currentShiftClass1TraysPerHourTarget: number;
|
|
8555
|
+
currentShiftClass1TraysPerHourAdjustedTarget: number;
|
|
8556
|
+
currentShiftClass1TraysPerHour: number;
|
|
8557
|
+
currentShiftCostPerTrayTarget: number;
|
|
8558
|
+
currentShiftCostPerTrayAdjustedTarget: number;
|
|
8559
|
+
currentShiftCostPerTray: number;
|
|
8560
|
+
currentShiftManningTarget: number;
|
|
8561
|
+
currentShiftClass1Manning: number;
|
|
8562
|
+
currentShiftClass2Manning: number;
|
|
8563
|
+
currentShiftQualityR600IdealTarget: number;
|
|
8564
|
+
currentShiftQualityR600Ideal: number;
|
|
8565
|
+
currentShiftScorePercentage: number;
|
|
8566
|
+
class1TraysPerHourTargets: number;
|
|
8567
|
+
costPerTrayTargets: number;
|
|
8568
|
+
manningTargets: number;
|
|
8569
|
+
qualityR600IdealTargets: number;
|
|
8570
|
+
costPerManningUnitHour: number;
|
|
8571
|
+
class1TraysPerHourScoreWeighting: number;
|
|
8572
|
+
costPerTrayScoreWeighting: number;
|
|
8573
|
+
qualityR600IdealScoreWeighting: number;
|
|
7914
8574
|
};
|
|
8575
|
+
/**
|
|
8576
|
+
* An Optional Array of Configuration Data for Custom Qualities in Shift Management
|
|
8577
|
+
*/
|
|
8578
|
+
customQualityConfiguration: {
|
|
8579
|
+
id: string;
|
|
8580
|
+
name: string;
|
|
8581
|
+
type: string;
|
|
8582
|
+
points: {
|
|
8583
|
+
currentShiftCustomQualityTarget: number;
|
|
8584
|
+
currentShiftCustomQualityValue: number;
|
|
8585
|
+
customQualityTargets: number;
|
|
8586
|
+
customQualityScoreWeighting: number;
|
|
8587
|
+
};
|
|
8588
|
+
}[];
|
|
7915
8589
|
/**
|
|
7916
8590
|
* Whether Shift Management is Enabled on this Packing Line
|
|
7917
8591
|
*/
|
|
7918
8592
|
enabled: boolean;
|
|
8593
|
+
/**
|
|
8594
|
+
* An Array of Shift Task Types for this Packing Line
|
|
8595
|
+
*/
|
|
8596
|
+
taskDefinitions: ShiftTaskDefinition[];
|
|
7919
8597
|
};
|
|
7920
8598
|
}
|
|
7921
8599
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
@@ -8103,6 +8781,14 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8103
8781
|
* The Growing Method for this Packrun
|
|
8104
8782
|
*/
|
|
8105
8783
|
growingMethodId?: string;
|
|
8784
|
+
/**
|
|
8785
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8786
|
+
*/
|
|
8787
|
+
freshPackGraderId?: number;
|
|
8788
|
+
/**
|
|
8789
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8790
|
+
*/
|
|
8791
|
+
freshPackBinLotCode?: string;
|
|
8106
8792
|
/**
|
|
8107
8793
|
* Filter by the Timestamp when this Packrun was Created. Results Greater than or Equal to Timestamp
|
|
8108
8794
|
*/
|
|
@@ -8180,6 +8866,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8180
8866
|
* The Time Batches for this Packrun
|
|
8181
8867
|
*/
|
|
8182
8868
|
timeBatches?: any[];
|
|
8869
|
+
/**
|
|
8870
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8871
|
+
*/
|
|
8872
|
+
freshPackGraderId?: number;
|
|
8873
|
+
/**
|
|
8874
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8875
|
+
*/
|
|
8876
|
+
freshPackBinLotCode?: string;
|
|
8877
|
+
/**
|
|
8878
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
8879
|
+
*/
|
|
8880
|
+
freshPackProduceCode?: string;
|
|
8183
8881
|
};
|
|
8184
8882
|
/**
|
|
8185
8883
|
* The Update Data for a Packrun
|
|
@@ -8229,6 +8927,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8229
8927
|
* The Time Batches for this Packrun
|
|
8230
8928
|
*/
|
|
8231
8929
|
timeBatches?: any[];
|
|
8930
|
+
/**
|
|
8931
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8932
|
+
*/
|
|
8933
|
+
freshPackGraderId?: number;
|
|
8934
|
+
/**
|
|
8935
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8936
|
+
*/
|
|
8937
|
+
freshPackBinLotCode?: string;
|
|
8938
|
+
/**
|
|
8939
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
8940
|
+
*/
|
|
8941
|
+
freshPackProduceCode?: string;
|
|
8232
8942
|
};
|
|
8233
8943
|
/**
|
|
8234
8944
|
* A **CommentItem** Type
|
|
@@ -8583,7 +9293,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8583
9293
|
* The Total Duration of all Soft-Sort Events for the Packrun expressed in Seconds
|
|
8584
9294
|
*/
|
|
8585
9295
|
totalSoftSortEventsDuration: number;
|
|
8586
|
-
|
|
9296
|
+
/**
|
|
9297
|
+
* Whether the Soft-Sort Events Data is considered accurate or not
|
|
9298
|
+
*/
|
|
9299
|
+
softSortEventsIsAccurate: boolean;
|
|
9300
|
+
/**
|
|
9301
|
+
* A Reason for why the Soft-Sort Events Data is not accurate. Applies when `softSortEventsIsAccurate` is false
|
|
9302
|
+
*/
|
|
9303
|
+
softSortEventsNotAccurateReason: string;
|
|
9304
|
+
};
|
|
8587
9305
|
}
|
|
8588
9306
|
import PackrunModel from "@ricado/api-client/Models/Packhouse/Site/PackrunModel";
|
|
8589
9307
|
}
|
|
@@ -10215,6 +10933,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10215
10933
|
* The Average Target Number of People that should be working for this Hour
|
|
10216
10934
|
*/
|
|
10217
10935
|
averageManningTarget?: number;
|
|
10936
|
+
/**
|
|
10937
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
10938
|
+
*/
|
|
10939
|
+
averageCostPerManningUnit?: number;
|
|
10218
10940
|
/**
|
|
10219
10941
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
10220
10942
|
*/
|
|
@@ -10227,6 +10949,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10227
10949
|
* The Number of Quality R600 Samples that were Ideal for this Hour
|
|
10228
10950
|
*/
|
|
10229
10951
|
qualityR600IdealSamplesPercentage?: number;
|
|
10952
|
+
/**
|
|
10953
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
10954
|
+
*/
|
|
10955
|
+
averageQualityR600IdealSamplesTarget?: number;
|
|
10230
10956
|
/**
|
|
10231
10957
|
* An Array of Custom Quality Data Items for this Hour
|
|
10232
10958
|
*/
|
|
@@ -10259,6 +10985,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10259
10985
|
* The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
|
|
10260
10986
|
*/
|
|
10261
10987
|
class1TraysPerHourExcludingDowntimeTarget?: number;
|
|
10988
|
+
/**
|
|
10989
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
10990
|
+
*/
|
|
10991
|
+
averageClass1TraysPerHourAdjustedTarget?: number;
|
|
10992
|
+
/**
|
|
10993
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
10994
|
+
*/
|
|
10995
|
+
averageCostPerTray?: number;
|
|
10996
|
+
/**
|
|
10997
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
10998
|
+
*/
|
|
10999
|
+
averageCostPerTrayTarget?: number;
|
|
10262
11000
|
/**
|
|
10263
11001
|
* The Primary Issue Category for this Hourly Entry
|
|
10264
11002
|
*/
|
|
@@ -10267,6 +11005,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10267
11005
|
* The Primary Issue Tag for this Hourly Entry
|
|
10268
11006
|
*/
|
|
10269
11007
|
primaryIssueTag?: string;
|
|
11008
|
+
/**
|
|
11009
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
11010
|
+
*/
|
|
11011
|
+
primaryIssuePercentage?: number;
|
|
10270
11012
|
/**
|
|
10271
11013
|
* The Secondary Issue Category for this Hourly Entry
|
|
10272
11014
|
*/
|
|
@@ -10275,6 +11017,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10275
11017
|
* The Secondary Issue Tag for this Hourly Entry
|
|
10276
11018
|
*/
|
|
10277
11019
|
secondaryIssueTag?: string;
|
|
11020
|
+
/**
|
|
11021
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
11022
|
+
*/
|
|
11023
|
+
secondaryIssuePercentage?: number;
|
|
10278
11024
|
/**
|
|
10279
11025
|
* An Optional Focus for the Next Hour
|
|
10280
11026
|
*/
|
|
@@ -10320,6 +11066,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10320
11066
|
* The Average Target Number of People that should be working for this Hour
|
|
10321
11067
|
*/
|
|
10322
11068
|
averageManningTarget?: number;
|
|
11069
|
+
/**
|
|
11070
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
11071
|
+
*/
|
|
11072
|
+
averageCostPerManningUnit?: number;
|
|
10323
11073
|
/**
|
|
10324
11074
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
10325
11075
|
*/
|
|
@@ -10332,6 +11082,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10332
11082
|
* The Number of Quality R600 Samples that were Ideal for this Hour
|
|
10333
11083
|
*/
|
|
10334
11084
|
qualityR600IdealSamplesPercentage?: number;
|
|
11085
|
+
/**
|
|
11086
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
11087
|
+
*/
|
|
11088
|
+
averageQualityR600IdealSamplesTarget?: number;
|
|
10335
11089
|
/**
|
|
10336
11090
|
* An Array of Custom Quality Data Items for this Hour
|
|
10337
11091
|
*/
|
|
@@ -10364,6 +11118,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10364
11118
|
* The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
|
|
10365
11119
|
*/
|
|
10366
11120
|
class1TraysPerHourExcludingDowntimeTarget?: number;
|
|
11121
|
+
/**
|
|
11122
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
11123
|
+
*/
|
|
11124
|
+
averageClass1TraysPerHourAdjustedTarget?: number;
|
|
11125
|
+
/**
|
|
11126
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
11127
|
+
*/
|
|
11128
|
+
averageCostPerTray?: number;
|
|
11129
|
+
/**
|
|
11130
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
11131
|
+
*/
|
|
11132
|
+
averageCostPerTrayTarget?: number;
|
|
10367
11133
|
/**
|
|
10368
11134
|
* The Primary Issue Category for this Hourly Entry
|
|
10369
11135
|
*/
|
|
@@ -10372,6 +11138,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10372
11138
|
* The Primary Issue Tag for this Hourly Entry
|
|
10373
11139
|
*/
|
|
10374
11140
|
primaryIssueTag?: string;
|
|
11141
|
+
/**
|
|
11142
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
11143
|
+
*/
|
|
11144
|
+
primaryIssuePercentage?: number;
|
|
10375
11145
|
/**
|
|
10376
11146
|
* The Secondary Issue Category for this Hourly Entry
|
|
10377
11147
|
*/
|
|
@@ -10380,6 +11150,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10380
11150
|
* The Secondary Issue Tag for this Hourly Entry
|
|
10381
11151
|
*/
|
|
10382
11152
|
secondaryIssueTag?: string;
|
|
11153
|
+
/**
|
|
11154
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
11155
|
+
*/
|
|
11156
|
+
secondaryIssuePercentage?: number;
|
|
10383
11157
|
/**
|
|
10384
11158
|
* An Optional Focus for the Next Hour
|
|
10385
11159
|
*/
|
|
@@ -10434,190 +11208,315 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10434
11208
|
* The Number Value for this Custom Quality Data Item
|
|
10435
11209
|
*/
|
|
10436
11210
|
value: number;
|
|
11211
|
+
/**
|
|
11212
|
+
* The Average Target for this Custom Quality Data Item
|
|
11213
|
+
*/
|
|
11214
|
+
averageTarget: number;
|
|
10437
11215
|
};
|
|
10438
11216
|
}
|
|
10439
11217
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
10440
11218
|
}
|
|
10441
11219
|
|
|
10442
|
-
declare module '@ricado/api-client/Controllers/Packhouse/Site/
|
|
10443
|
-
export default
|
|
11220
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummaryController' {
|
|
11221
|
+
export default ShiftQualitySummaryController;
|
|
10444
11222
|
/**
|
|
10445
|
-
* Controller Class for
|
|
11223
|
+
* Controller Class for Shift Quality Summaries
|
|
10446
11224
|
*
|
|
10447
11225
|
* @class
|
|
10448
11226
|
*/
|
|
10449
|
-
class
|
|
11227
|
+
class ShiftQualitySummaryController {
|
|
10450
11228
|
/**
|
|
10451
|
-
* Retrieve a
|
|
11229
|
+
* Retrieve a Shift Quality Summary [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
10452
11230
|
*
|
|
10453
11231
|
* @static
|
|
10454
11232
|
* @public
|
|
10455
11233
|
* @param {number} siteId The Site ID
|
|
10456
|
-
* @param {string} id The
|
|
10457
|
-
* @return {Promise<
|
|
11234
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11235
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
10458
11236
|
*/
|
|
10459
|
-
static getOne(siteId: number, id: string): Promise<
|
|
11237
|
+
static getOne(siteId: number, id: string): Promise<ShiftQualitySummaryModel>;
|
|
10460
11238
|
/**
|
|
10461
|
-
* Update a
|
|
11239
|
+
* Update a Shift Quality Summary [PATCH /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
10462
11240
|
*
|
|
10463
11241
|
* @static
|
|
10464
11242
|
* @public
|
|
10465
11243
|
* @param {number} siteId The Site ID
|
|
10466
|
-
* @param {string} id The
|
|
10467
|
-
* @param {
|
|
10468
|
-
* @return {Promise<
|
|
11244
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11245
|
+
* @param {ShiftQualitySummaryController.UpdateData} updateData The Shift Quality Summary Update Data
|
|
11246
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
10469
11247
|
*/
|
|
10470
|
-
static update(siteId: number, id: string, updateData:
|
|
11248
|
+
static update(siteId: number, id: string, updateData: ShiftQualitySummaryController.UpdateData): Promise<ShiftQualitySummaryModel>;
|
|
10471
11249
|
/**
|
|
10472
|
-
* Delete a
|
|
11250
|
+
* Delete a Shift Quality Summary [DELETE /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
10473
11251
|
*
|
|
10474
11252
|
* @static
|
|
10475
11253
|
* @public
|
|
10476
11254
|
* @param {number} siteId The Site ID
|
|
10477
|
-
* @param {string} id The
|
|
11255
|
+
* @param {string} id The Shift Quality Summary ID
|
|
10478
11256
|
* @return {Promise<boolean>}
|
|
10479
11257
|
*/
|
|
10480
11258
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10481
11259
|
/**
|
|
10482
|
-
* Retrieve
|
|
11260
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments]
|
|
10483
11261
|
*
|
|
10484
|
-
* Retrieves
|
|
11262
|
+
* Retrieves Comments for a Shift Quality Summary
|
|
10485
11263
|
*
|
|
10486
11264
|
* @static
|
|
10487
11265
|
* @public
|
|
10488
11266
|
* @param {number} siteId The Site ID
|
|
10489
|
-
* @param {string} id The
|
|
10490
|
-
* @
|
|
10491
|
-
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
11267
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11268
|
+
* @return {Promise<Array<ShiftQualitySummaryController.CommentItem>>}
|
|
10492
11269
|
*/
|
|
10493
|
-
static
|
|
11270
|
+
static getComments(siteId: number, id: string): Promise<Array<ShiftQualitySummaryController.CommentItem>>;
|
|
10494
11271
|
/**
|
|
10495
|
-
*
|
|
11272
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments]
|
|
11273
|
+
*
|
|
11274
|
+
* Create a Comment for a Shift Quality Summary
|
|
10496
11275
|
*
|
|
10497
11276
|
* @static
|
|
10498
11277
|
* @public
|
|
10499
11278
|
* @param {number} siteId The Site ID
|
|
10500
|
-
* @param {
|
|
10501
|
-
* @
|
|
11279
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11280
|
+
* @param {string} content The Content of the New Comment
|
|
11281
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
10502
11282
|
*/
|
|
10503
|
-
static
|
|
11283
|
+
static createComment(siteId: number, id: string, content: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
10504
11284
|
/**
|
|
10505
|
-
*
|
|
11285
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
11286
|
+
*
|
|
11287
|
+
* Retrieves Comments for a Shift Quality Summary
|
|
10506
11288
|
*
|
|
10507
11289
|
* @static
|
|
10508
11290
|
* @public
|
|
10509
11291
|
* @param {number} siteId The Site ID
|
|
10510
|
-
* @param {
|
|
10511
|
-
* @
|
|
11292
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11293
|
+
* @param {string} commentId The Comment ID
|
|
11294
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
10512
11295
|
*/
|
|
10513
|
-
static
|
|
11296
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
10514
11297
|
/**
|
|
10515
|
-
*
|
|
11298
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
10516
11299
|
*
|
|
10517
|
-
*
|
|
11300
|
+
* Update a Comment for a Shift Quality Summary
|
|
10518
11301
|
*
|
|
10519
11302
|
* @static
|
|
10520
11303
|
* @public
|
|
10521
11304
|
* @param {number} siteId The Site ID
|
|
10522
|
-
* @param {
|
|
10523
|
-
* @
|
|
11305
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11306
|
+
* @param {string} commentId The Comment ID
|
|
11307
|
+
* @param {string} content The Updated Content for the Comment
|
|
11308
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
10524
11309
|
*/
|
|
10525
|
-
static
|
|
11310
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
11311
|
+
/**
|
|
11312
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
11313
|
+
*
|
|
11314
|
+
* Delete a Comment for a Shift Quality Summary
|
|
11315
|
+
*
|
|
11316
|
+
* @static
|
|
11317
|
+
* @public
|
|
11318
|
+
* @param {number} siteId The Site ID
|
|
11319
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11320
|
+
* @param {string} commentId The Comment ID
|
|
11321
|
+
* @return {Promise<boolean>}
|
|
11322
|
+
*/
|
|
11323
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
11324
|
+
/**
|
|
11325
|
+
* List all Shift Quality Summaries [GET /packhouse/sites/{siteId}/shift-quality-summaries]
|
|
11326
|
+
*
|
|
11327
|
+
* @static
|
|
11328
|
+
* @public
|
|
11329
|
+
* @param {number} siteId The Site ID
|
|
11330
|
+
* @param {ShiftQualitySummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11331
|
+
* @return {Promise<ShiftQualitySummaryModel[]>}
|
|
11332
|
+
*/
|
|
11333
|
+
static getAll(siteId: number, queryParameters?: ShiftQualitySummaryController.GetAllQueryParameters): Promise<ShiftQualitySummaryModel[]>;
|
|
11334
|
+
/**
|
|
11335
|
+
* Create a Shift Quality Summary [POST /packhouse/sites/{siteId}/shift-quality-summaries]
|
|
11336
|
+
*
|
|
11337
|
+
* @static
|
|
11338
|
+
* @public
|
|
11339
|
+
* @param {number} siteId The Site ID
|
|
11340
|
+
* @param {ShiftQualitySummaryController.CreateData} createData The Shift Quality Summary Create Data
|
|
11341
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
11342
|
+
*/
|
|
11343
|
+
static create(siteId: number, createData: ShiftQualitySummaryController.CreateData): Promise<ShiftQualitySummaryModel>;
|
|
10526
11344
|
}
|
|
10527
|
-
namespace
|
|
11345
|
+
namespace ShiftQualitySummaryController {
|
|
10528
11346
|
/**
|
|
10529
|
-
* The Optional Query Parameters for the
|
|
11347
|
+
* The Optional Query Parameters for the getAll Function
|
|
10530
11348
|
*/
|
|
10531
|
-
export type
|
|
11349
|
+
export type GetAllQueryParameters = {
|
|
10532
11350
|
/**
|
|
10533
|
-
* The
|
|
11351
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
10534
11352
|
*/
|
|
10535
|
-
|
|
11353
|
+
packingLineId?: string;
|
|
10536
11354
|
/**
|
|
10537
|
-
* The
|
|
11355
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
10538
11356
|
*/
|
|
10539
|
-
|
|
11357
|
+
shiftId?: string;
|
|
11358
|
+
/**
|
|
11359
|
+
* The User ID of the Quality Manager for this Summary
|
|
11360
|
+
*/
|
|
11361
|
+
qualityManagerUserId?: string;
|
|
11362
|
+
/**
|
|
11363
|
+
* The Name of the Quality Manager for this Summary
|
|
11364
|
+
*/
|
|
11365
|
+
qualityManagerName?: string;
|
|
11366
|
+
/**
|
|
11367
|
+
* Filter by the Timestamp when Quality Summaries were Created. Results Greater than or Equal to Timestamp
|
|
11368
|
+
*/
|
|
11369
|
+
createdTimestampBegin?: Date;
|
|
11370
|
+
/**
|
|
11371
|
+
* Filter by the Timestamp when Quality Summaries were Created. Results Less than or Equal to Timestamp
|
|
11372
|
+
*/
|
|
11373
|
+
createdTimestampEnd?: Date;
|
|
11374
|
+
/**
|
|
11375
|
+
* Filter by the Timestamp when Quality Summaries were last Updated. Results Greater than or Equal to Timestamp
|
|
11376
|
+
*/
|
|
11377
|
+
updateTimestampBegin?: Date;
|
|
11378
|
+
/**
|
|
11379
|
+
* Filter by the Timestamp when Quality Summaries were last Updated. Results Less than or Equal to Timestamp
|
|
11380
|
+
*/
|
|
11381
|
+
updateTimestampEnd?: Date;
|
|
10540
11382
|
};
|
|
10541
11383
|
/**
|
|
10542
|
-
* The
|
|
11384
|
+
* The Create Data for a Shift Quality Summary
|
|
10543
11385
|
*/
|
|
10544
|
-
export type
|
|
11386
|
+
export type CreateData = {
|
|
10545
11387
|
/**
|
|
10546
|
-
* The
|
|
11388
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
10547
11389
|
*/
|
|
10548
|
-
|
|
11390
|
+
packingLineId: string;
|
|
10549
11391
|
/**
|
|
10550
|
-
* The
|
|
11392
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
10551
11393
|
*/
|
|
10552
|
-
|
|
11394
|
+
shiftId?: string;
|
|
10553
11395
|
/**
|
|
10554
|
-
*
|
|
11396
|
+
* When this Quality Summary was Created
|
|
10555
11397
|
*/
|
|
10556
|
-
|
|
11398
|
+
createdTimestamp?: Date;
|
|
11399
|
+
/**
|
|
11400
|
+
* When this Quality Summary was Published
|
|
11401
|
+
*/
|
|
11402
|
+
publishTimestamp?: Date;
|
|
11403
|
+
/**
|
|
11404
|
+
* The User ID of the Quality Manager for this Summary
|
|
11405
|
+
*/
|
|
11406
|
+
qualityManagerUserId?: string;
|
|
11407
|
+
/**
|
|
11408
|
+
* The Name of the Quality Manager for this Summary
|
|
11409
|
+
*/
|
|
11410
|
+
qualityManagerName: string;
|
|
11411
|
+
/**
|
|
11412
|
+
* An Array of Accuracy Results for this Summary
|
|
11413
|
+
*/
|
|
11414
|
+
accuracyResults?: AccuracyResult[];
|
|
11415
|
+
/**
|
|
11416
|
+
* An Array of Audit Results for this Summary
|
|
11417
|
+
*/
|
|
11418
|
+
auditResults?: AuditResult[];
|
|
11419
|
+
/**
|
|
11420
|
+
* An Array of Packrun Results for this Summary
|
|
11421
|
+
*/
|
|
11422
|
+
packrunResults?: PackrunResult[];
|
|
11423
|
+
/**
|
|
11424
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
11425
|
+
*/
|
|
11426
|
+
satisfactionRating?: number;
|
|
10557
11427
|
};
|
|
10558
11428
|
/**
|
|
10559
|
-
* The
|
|
11429
|
+
* The Update Data for a Shift Quality Summary
|
|
10560
11430
|
*/
|
|
10561
|
-
export type
|
|
11431
|
+
export type UpdateData = {
|
|
10562
11432
|
/**
|
|
10563
|
-
*
|
|
11433
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
10564
11434
|
*/
|
|
10565
|
-
|
|
11435
|
+
packingLineId?: string;
|
|
10566
11436
|
/**
|
|
10567
|
-
*
|
|
11437
|
+
* When this Quality Summary was Created
|
|
10568
11438
|
*/
|
|
10569
|
-
|
|
11439
|
+
createdTimestamp?: Date;
|
|
10570
11440
|
/**
|
|
10571
|
-
*
|
|
11441
|
+
* When this Quality Summary was Published
|
|
10572
11442
|
*/
|
|
10573
|
-
|
|
11443
|
+
publishTimestamp?: Date;
|
|
11444
|
+
/**
|
|
11445
|
+
* The User ID of the Quality Manager for this Summary
|
|
11446
|
+
*/
|
|
11447
|
+
qualityManagerUserId?: string;
|
|
11448
|
+
/**
|
|
11449
|
+
* The Name of the Quality Manager for this Summary
|
|
11450
|
+
*/
|
|
11451
|
+
qualityManagerName?: string;
|
|
11452
|
+
/**
|
|
11453
|
+
* An Array of Accuracy Results for this Summary
|
|
11454
|
+
*/
|
|
11455
|
+
accuracyResults?: AccuracyResult[];
|
|
11456
|
+
/**
|
|
11457
|
+
* An Array of Audit Results for this Summary
|
|
11458
|
+
*/
|
|
11459
|
+
auditResults?: AuditResult[];
|
|
11460
|
+
/**
|
|
11461
|
+
* An Array of Packrun Results for this Summary
|
|
11462
|
+
*/
|
|
11463
|
+
packrunResults?: PackrunResult[];
|
|
11464
|
+
/**
|
|
11465
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
11466
|
+
*/
|
|
11467
|
+
satisfactionRating?: number;
|
|
10574
11468
|
};
|
|
10575
11469
|
/**
|
|
10576
|
-
*
|
|
11470
|
+
* A **CommentItem** Type
|
|
10577
11471
|
*/
|
|
10578
|
-
export type
|
|
11472
|
+
export type CommentItem = {
|
|
10579
11473
|
/**
|
|
10580
|
-
* The
|
|
11474
|
+
* The Comment ID
|
|
10581
11475
|
*/
|
|
10582
|
-
|
|
11476
|
+
id: string;
|
|
10583
11477
|
/**
|
|
10584
|
-
* The
|
|
11478
|
+
* The Content of the Comment
|
|
10585
11479
|
*/
|
|
10586
|
-
|
|
11480
|
+
content: string;
|
|
10587
11481
|
/**
|
|
10588
|
-
*
|
|
11482
|
+
* When the Comment was Created
|
|
10589
11483
|
*/
|
|
10590
|
-
|
|
11484
|
+
createdTimestamp: Date;
|
|
10591
11485
|
/**
|
|
10592
|
-
*
|
|
11486
|
+
* When the Comment was last Updated
|
|
10593
11487
|
*/
|
|
10594
|
-
|
|
11488
|
+
updatedTimestamp: Date;
|
|
10595
11489
|
};
|
|
10596
11490
|
/**
|
|
10597
|
-
*
|
|
11491
|
+
* A **AccuracyResult** Type
|
|
10598
11492
|
*/
|
|
10599
|
-
export type
|
|
10600
|
-
/**
|
|
10601
|
-
* The Name of this Soft Sort Belt
|
|
10602
|
-
*/
|
|
10603
|
-
name?: string;
|
|
11493
|
+
export type AccuracyResult = {
|
|
10604
11494
|
/**
|
|
10605
|
-
* The
|
|
11495
|
+
* The Accuracy Type
|
|
10606
11496
|
*/
|
|
10607
|
-
|
|
11497
|
+
type: string;
|
|
10608
11498
|
/**
|
|
10609
|
-
* The
|
|
11499
|
+
* The Accuracy Result Value
|
|
10610
11500
|
*/
|
|
10611
|
-
|
|
11501
|
+
value: number;
|
|
10612
11502
|
};
|
|
10613
11503
|
/**
|
|
10614
|
-
* A **
|
|
11504
|
+
* A **AuditResult** Type
|
|
10615
11505
|
*/
|
|
10616
|
-
export type
|
|
11506
|
+
export type AuditResult = {
|
|
10617
11507
|
/**
|
|
10618
|
-
* The
|
|
11508
|
+
* The Audit Type
|
|
10619
11509
|
*/
|
|
10620
|
-
|
|
11510
|
+
type: string;
|
|
11511
|
+
/**
|
|
11512
|
+
* The Audit Result Value
|
|
11513
|
+
*/
|
|
11514
|
+
value: number;
|
|
11515
|
+
};
|
|
11516
|
+
/**
|
|
11517
|
+
* A **PackrunResult** Type
|
|
11518
|
+
*/
|
|
11519
|
+
export type PackrunResult = {
|
|
10621
11520
|
/**
|
|
10622
11521
|
* The ID of the associated Packrun
|
|
10623
11522
|
*/
|
|
@@ -10627,58 +11526,580 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10627
11526
|
*/
|
|
10628
11527
|
packrunName: string;
|
|
10629
11528
|
/**
|
|
10630
|
-
*
|
|
11529
|
+
* The R600 Minor Defects Percentage
|
|
10631
11530
|
*/
|
|
10632
|
-
|
|
11531
|
+
minorPackingDefects: number;
|
|
10633
11532
|
/**
|
|
10634
|
-
*
|
|
11533
|
+
* The R600 Major Defects Percentage
|
|
10635
11534
|
*/
|
|
10636
|
-
|
|
11535
|
+
majorPackingDefects: number;
|
|
10637
11536
|
/**
|
|
10638
|
-
* The
|
|
11537
|
+
* The R600 Softs Percentage
|
|
10639
11538
|
*/
|
|
10640
|
-
|
|
11539
|
+
softs: number;
|
|
11540
|
+
/**
|
|
11541
|
+
* The R600 Cuts (e.g. Flesh Damage) Percentage
|
|
11542
|
+
*/
|
|
11543
|
+
cuts: number;
|
|
11544
|
+
/**
|
|
11545
|
+
* The R600 Rots Percentage
|
|
11546
|
+
*/
|
|
11547
|
+
rots: number;
|
|
11548
|
+
/**
|
|
11549
|
+
* The Softs Line Average Sample Size
|
|
11550
|
+
*/
|
|
11551
|
+
softsLineAverageSampleSize: number;
|
|
11552
|
+
/**
|
|
11553
|
+
* The Softs Line Average Value
|
|
11554
|
+
*/
|
|
11555
|
+
softsLineAverageValue: number;
|
|
11556
|
+
/**
|
|
11557
|
+
* The Percentage of Export (Class 1) Fruit found in Class 2
|
|
11558
|
+
*/
|
|
11559
|
+
exportFruitInClass2: number;
|
|
11560
|
+
/**
|
|
11561
|
+
* The Percentage of Export (Class 1) Fruit found in Local Market
|
|
11562
|
+
*/
|
|
11563
|
+
exportFruitInLocalMarket: number;
|
|
11564
|
+
/**
|
|
11565
|
+
* The Percentage of Export (Class 1) Fruit found in Waste
|
|
11566
|
+
*/
|
|
11567
|
+
exportFruitInWaste: number;
|
|
10641
11568
|
};
|
|
10642
11569
|
}
|
|
10643
|
-
import
|
|
11570
|
+
import ShiftQualitySummaryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel";
|
|
10644
11571
|
}
|
|
10645
11572
|
|
|
10646
|
-
declare module '@ricado/api-client/Controllers/Packhouse/Site/
|
|
10647
|
-
export default
|
|
11573
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftTaskController' {
|
|
11574
|
+
export default ShiftTaskController;
|
|
10648
11575
|
/**
|
|
10649
|
-
* Controller Class for
|
|
11576
|
+
* Controller Class for Shift Tasks
|
|
10650
11577
|
*
|
|
10651
11578
|
* @class
|
|
10652
11579
|
*/
|
|
10653
|
-
class
|
|
11580
|
+
class ShiftTaskController {
|
|
10654
11581
|
/**
|
|
10655
|
-
* Retrieve a
|
|
11582
|
+
* Retrieve a Shift Task [GET /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
10656
11583
|
*
|
|
10657
11584
|
* @static
|
|
10658
11585
|
* @public
|
|
10659
11586
|
* @param {number} siteId The Site ID
|
|
10660
|
-
* @param {string} id The
|
|
10661
|
-
* @return {Promise<
|
|
11587
|
+
* @param {string} id The Shift Task ID
|
|
11588
|
+
* @return {Promise<ShiftTaskModel>}
|
|
10662
11589
|
*/
|
|
10663
|
-
static getOne(siteId: number, id: string): Promise<
|
|
11590
|
+
static getOne(siteId: number, id: string): Promise<ShiftTaskModel>;
|
|
10664
11591
|
/**
|
|
10665
|
-
* Update a
|
|
11592
|
+
* Update a Shift Task [PATCH /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
10666
11593
|
*
|
|
10667
11594
|
* @static
|
|
10668
11595
|
* @public
|
|
10669
11596
|
* @param {number} siteId The Site ID
|
|
10670
|
-
* @param {string} id The
|
|
10671
|
-
* @param {
|
|
10672
|
-
* @return {Promise<
|
|
11597
|
+
* @param {string} id The Shift Task ID
|
|
11598
|
+
* @param {ShiftTaskController.UpdateData} updateData The Shift Task Update Data
|
|
11599
|
+
* @return {Promise<ShiftTaskModel>}
|
|
10673
11600
|
*/
|
|
10674
|
-
static update(siteId: number, id: string, updateData:
|
|
11601
|
+
static update(siteId: number, id: string, updateData: ShiftTaskController.UpdateData): Promise<ShiftTaskModel>;
|
|
10675
11602
|
/**
|
|
10676
|
-
* Delete a
|
|
11603
|
+
* Delete a Shift Task [DELETE /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
10677
11604
|
*
|
|
10678
11605
|
* @static
|
|
10679
11606
|
* @public
|
|
10680
11607
|
* @param {number} siteId The Site ID
|
|
10681
|
-
* @param {string} id The
|
|
11608
|
+
* @param {string} id The Shift Task ID
|
|
11609
|
+
* @return {Promise<boolean>}
|
|
11610
|
+
*/
|
|
11611
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
11612
|
+
/**
|
|
11613
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/shift-tasks/{id}/comments]
|
|
11614
|
+
*
|
|
11615
|
+
* Retrieves Comments for a Shift Task
|
|
11616
|
+
*
|
|
11617
|
+
* @static
|
|
11618
|
+
* @public
|
|
11619
|
+
* @param {number} siteId The Site ID
|
|
11620
|
+
* @param {string} id The Shift Task ID
|
|
11621
|
+
* @return {Promise<Array<ShiftTaskController.CommentItem>>}
|
|
11622
|
+
*/
|
|
11623
|
+
static getComments(siteId: number, id: string): Promise<Array<ShiftTaskController.CommentItem>>;
|
|
11624
|
+
/**
|
|
11625
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/shift-tasks/{id}/comments]
|
|
11626
|
+
*
|
|
11627
|
+
* Create a Comment for a Shift Task
|
|
11628
|
+
*
|
|
11629
|
+
* @static
|
|
11630
|
+
* @public
|
|
11631
|
+
* @param {number} siteId The Site ID
|
|
11632
|
+
* @param {string} id The Shift Task ID
|
|
11633
|
+
* @param {string} content The Content of the New Comment
|
|
11634
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11635
|
+
*/
|
|
11636
|
+
static createComment(siteId: number, id: string, content: string): Promise<ShiftTaskController.CommentItem>;
|
|
11637
|
+
/**
|
|
11638
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11639
|
+
*
|
|
11640
|
+
* Retrieves Comments for a Shift Task
|
|
11641
|
+
*
|
|
11642
|
+
* @static
|
|
11643
|
+
* @public
|
|
11644
|
+
* @param {number} siteId The Site ID
|
|
11645
|
+
* @param {string} id The Shift Task ID
|
|
11646
|
+
* @param {string} commentId The Comment ID
|
|
11647
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11648
|
+
*/
|
|
11649
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ShiftTaskController.CommentItem>;
|
|
11650
|
+
/**
|
|
11651
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11652
|
+
*
|
|
11653
|
+
* Update a Comment for a Shift Task
|
|
11654
|
+
*
|
|
11655
|
+
* @static
|
|
11656
|
+
* @public
|
|
11657
|
+
* @param {number} siteId The Site ID
|
|
11658
|
+
* @param {string} id The Shift Task ID
|
|
11659
|
+
* @param {string} commentId The Comment ID
|
|
11660
|
+
* @param {string} content The Updated Content for the Comment
|
|
11661
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11662
|
+
*/
|
|
11663
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ShiftTaskController.CommentItem>;
|
|
11664
|
+
/**
|
|
11665
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11666
|
+
*
|
|
11667
|
+
* Delete a Comment for a Shift Task
|
|
11668
|
+
*
|
|
11669
|
+
* @static
|
|
11670
|
+
* @public
|
|
11671
|
+
* @param {number} siteId The Site ID
|
|
11672
|
+
* @param {string} id The Shift Task ID
|
|
11673
|
+
* @param {string} commentId The Comment ID
|
|
11674
|
+
* @return {Promise<boolean>}
|
|
11675
|
+
*/
|
|
11676
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
11677
|
+
/**
|
|
11678
|
+
* List all Shift Tasks [GET /packhouse/sites/{siteId}/shift-tasks]
|
|
11679
|
+
*
|
|
11680
|
+
* @static
|
|
11681
|
+
* @public
|
|
11682
|
+
* @param {number} siteId The Site ID
|
|
11683
|
+
* @param {ShiftTaskController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11684
|
+
* @return {Promise<ShiftTaskModel[]>}
|
|
11685
|
+
*/
|
|
11686
|
+
static getAll(siteId: number, queryParameters?: ShiftTaskController.GetAllQueryParameters): Promise<ShiftTaskModel[]>;
|
|
11687
|
+
/**
|
|
11688
|
+
* Create a Shift Task [POST /packhouse/sites/{siteId}/shift-tasks]
|
|
11689
|
+
*
|
|
11690
|
+
* @static
|
|
11691
|
+
* @public
|
|
11692
|
+
* @param {number} siteId The Site ID
|
|
11693
|
+
* @param {ShiftTaskController.CreateData} createData The Shift Task Create Data
|
|
11694
|
+
* @return {Promise<ShiftTaskModel>}
|
|
11695
|
+
*/
|
|
11696
|
+
static create(siteId: number, createData: ShiftTaskController.CreateData): Promise<ShiftTaskModel>;
|
|
11697
|
+
}
|
|
11698
|
+
namespace ShiftTaskController {
|
|
11699
|
+
/**
|
|
11700
|
+
* The Optional Query Parameters for the getAll Function
|
|
11701
|
+
*/
|
|
11702
|
+
export type GetAllQueryParameters = {
|
|
11703
|
+
/**
|
|
11704
|
+
* The Packing Line ID this Task is associated with
|
|
11705
|
+
*/
|
|
11706
|
+
packingLineId?: string;
|
|
11707
|
+
/**
|
|
11708
|
+
* The Shift ID this Task is asssociated with
|
|
11709
|
+
*/
|
|
11710
|
+
shiftId?: string;
|
|
11711
|
+
/**
|
|
11712
|
+
* The User ID of the Author for this Task
|
|
11713
|
+
*/
|
|
11714
|
+
authorUserId?: string;
|
|
11715
|
+
/**
|
|
11716
|
+
* The Name of the Author for this Task
|
|
11717
|
+
*/
|
|
11718
|
+
authorName?: string;
|
|
11719
|
+
/**
|
|
11720
|
+
* The Task Type
|
|
11721
|
+
*/
|
|
11722
|
+
type?: string;
|
|
11723
|
+
/**
|
|
11724
|
+
* An Array of Tag IDs for this Task
|
|
11725
|
+
*/
|
|
11726
|
+
tags?: string[];
|
|
11727
|
+
/**
|
|
11728
|
+
* Filter by the Timestamp when Tasks were Created. Results Greater than or Equal to Timestamp
|
|
11729
|
+
*/
|
|
11730
|
+
createdTimestampBegin?: Date;
|
|
11731
|
+
/**
|
|
11732
|
+
* Filter by the Timestamp when Tasks were Created. Results Less than or Equal to Timestamp
|
|
11733
|
+
*/
|
|
11734
|
+
createdTimestampEnd?: Date;
|
|
11735
|
+
/**
|
|
11736
|
+
* Filter by the Timestamp when Tasks were Completed. Results Greater than or Equal to Timestamp
|
|
11737
|
+
*/
|
|
11738
|
+
completedTimestampBegin?: Date;
|
|
11739
|
+
/**
|
|
11740
|
+
* Filter by the Timestamp when Tasks were Completed. Results Less than or Equal to Timestamp
|
|
11741
|
+
*/
|
|
11742
|
+
completedTimestampEnd?: Date;
|
|
11743
|
+
/**
|
|
11744
|
+
* Filter by the Timestamp when Tasks were last Updated. Results Greater than or Equal to Timestamp
|
|
11745
|
+
*/
|
|
11746
|
+
updateTimestampBegin?: Date;
|
|
11747
|
+
/**
|
|
11748
|
+
* Filter by the Timestamp when Tasks were last Updated. Results Less than or Equal to Timestamp
|
|
11749
|
+
*/
|
|
11750
|
+
updateTimestampEnd?: Date;
|
|
11751
|
+
};
|
|
11752
|
+
/**
|
|
11753
|
+
* The Create Data for a Shift Task
|
|
11754
|
+
*/
|
|
11755
|
+
export type CreateData = {
|
|
11756
|
+
/**
|
|
11757
|
+
* The Packing Line ID this Task is associated with
|
|
11758
|
+
*/
|
|
11759
|
+
packingLineId: string;
|
|
11760
|
+
/**
|
|
11761
|
+
* The Shift ID this Task is asssociated with
|
|
11762
|
+
*/
|
|
11763
|
+
shiftId?: string;
|
|
11764
|
+
/**
|
|
11765
|
+
* When this Task was Created
|
|
11766
|
+
*/
|
|
11767
|
+
createdTimestamp?: Date;
|
|
11768
|
+
/**
|
|
11769
|
+
* When this Task was Completed
|
|
11770
|
+
*/
|
|
11771
|
+
completedTimestamp?: Date;
|
|
11772
|
+
/**
|
|
11773
|
+
* The User ID of the Author for this Task
|
|
11774
|
+
*/
|
|
11775
|
+
authorUserId?: string;
|
|
11776
|
+
/**
|
|
11777
|
+
* The Name of the Author for this Task
|
|
11778
|
+
*/
|
|
11779
|
+
authorName: string;
|
|
11780
|
+
/**
|
|
11781
|
+
* The Task Type
|
|
11782
|
+
*/
|
|
11783
|
+
type: string;
|
|
11784
|
+
/**
|
|
11785
|
+
* An Array of Tag IDs for this Task
|
|
11786
|
+
*/
|
|
11787
|
+
tags?: string[];
|
|
11788
|
+
/**
|
|
11789
|
+
* The Title of this Task
|
|
11790
|
+
*/
|
|
11791
|
+
title: string;
|
|
11792
|
+
/**
|
|
11793
|
+
* The Content of this Task
|
|
11794
|
+
*/
|
|
11795
|
+
content?: string;
|
|
11796
|
+
};
|
|
11797
|
+
/**
|
|
11798
|
+
* The Update Data for a Shift Task
|
|
11799
|
+
*/
|
|
11800
|
+
export type UpdateData = {
|
|
11801
|
+
/**
|
|
11802
|
+
* The Packing Line ID this Task is associated with
|
|
11803
|
+
*/
|
|
11804
|
+
packingLineId?: string;
|
|
11805
|
+
/**
|
|
11806
|
+
* When this Task was Created
|
|
11807
|
+
*/
|
|
11808
|
+
createdTimestamp?: Date;
|
|
11809
|
+
/**
|
|
11810
|
+
* When this Task was Completed
|
|
11811
|
+
*/
|
|
11812
|
+
completedTimestamp?: Date;
|
|
11813
|
+
/**
|
|
11814
|
+
* The User ID of the Author for this Task
|
|
11815
|
+
*/
|
|
11816
|
+
authorUserId?: string;
|
|
11817
|
+
/**
|
|
11818
|
+
* The Name of the Author for this Task
|
|
11819
|
+
*/
|
|
11820
|
+
authorName?: string;
|
|
11821
|
+
/**
|
|
11822
|
+
* The Task Type
|
|
11823
|
+
*/
|
|
11824
|
+
type?: string;
|
|
11825
|
+
/**
|
|
11826
|
+
* An Array of Tag IDs for this Task
|
|
11827
|
+
*/
|
|
11828
|
+
tags?: string[];
|
|
11829
|
+
/**
|
|
11830
|
+
* The Title of this Task
|
|
11831
|
+
*/
|
|
11832
|
+
title?: string;
|
|
11833
|
+
/**
|
|
11834
|
+
* The Content of this Task
|
|
11835
|
+
*/
|
|
11836
|
+
content?: string;
|
|
11837
|
+
};
|
|
11838
|
+
/**
|
|
11839
|
+
* A **CommentItem** Type
|
|
11840
|
+
*/
|
|
11841
|
+
export type CommentItem = {
|
|
11842
|
+
/**
|
|
11843
|
+
* The Comment ID
|
|
11844
|
+
*/
|
|
11845
|
+
id: string;
|
|
11846
|
+
/**
|
|
11847
|
+
* The Content of the Comment
|
|
11848
|
+
*/
|
|
11849
|
+
content: string;
|
|
11850
|
+
/**
|
|
11851
|
+
* When the Comment was Created
|
|
11852
|
+
*/
|
|
11853
|
+
createdTimestamp: Date;
|
|
11854
|
+
/**
|
|
11855
|
+
* When the Comment was last Updated
|
|
11856
|
+
*/
|
|
11857
|
+
updatedTimestamp: Date;
|
|
11858
|
+
};
|
|
11859
|
+
}
|
|
11860
|
+
import ShiftTaskModel from "@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel";
|
|
11861
|
+
}
|
|
11862
|
+
|
|
11863
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController' {
|
|
11864
|
+
export default SoftSortBeltController;
|
|
11865
|
+
/**
|
|
11866
|
+
* Controller Class for Soft Sort Belts
|
|
11867
|
+
*
|
|
11868
|
+
* @class
|
|
11869
|
+
*/
|
|
11870
|
+
class SoftSortBeltController {
|
|
11871
|
+
/**
|
|
11872
|
+
* Retrieve a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
11873
|
+
*
|
|
11874
|
+
* @static
|
|
11875
|
+
* @public
|
|
11876
|
+
* @param {number} siteId The Site ID
|
|
11877
|
+
* @param {string} id The Soft Sort Belt ID
|
|
11878
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
11879
|
+
*/
|
|
11880
|
+
static getOne(siteId: number, id: string): Promise<SoftSortBeltModel>;
|
|
11881
|
+
/**
|
|
11882
|
+
* Update a Soft Sort Belt [PATCH /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
11883
|
+
*
|
|
11884
|
+
* @static
|
|
11885
|
+
* @public
|
|
11886
|
+
* @param {number} siteId The Site ID
|
|
11887
|
+
* @param {string} id The Soft Sort Belt ID
|
|
11888
|
+
* @param {SoftSortBeltController.UpdateData} updateData The Soft Sort Belt Update Data
|
|
11889
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
11890
|
+
*/
|
|
11891
|
+
static update(siteId: number, id: string, updateData: SoftSortBeltController.UpdateData): Promise<SoftSortBeltModel>;
|
|
11892
|
+
/**
|
|
11893
|
+
* Delete a Soft Sort Belt [DELETE /packhouse/sites/{siteId}/soft-sort-belts/{id}]
|
|
11894
|
+
*
|
|
11895
|
+
* @static
|
|
11896
|
+
* @public
|
|
11897
|
+
* @param {number} siteId The Site ID
|
|
11898
|
+
* @param {string} id The Soft Sort Belt ID
|
|
11899
|
+
* @return {Promise<boolean>}
|
|
11900
|
+
*/
|
|
11901
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
11902
|
+
/**
|
|
11903
|
+
* Retrieve the Events of a Soft Sort Belt [GET /packhouse/sites/{siteId}/soft-sort-belts/{id}/events]
|
|
11904
|
+
*
|
|
11905
|
+
* Retrieves Events for a Single Soft Sort Belt
|
|
11906
|
+
*
|
|
11907
|
+
* @static
|
|
11908
|
+
* @public
|
|
11909
|
+
* @param {number} siteId The Site ID
|
|
11910
|
+
* @param {string} id The Soft Sort Belt ID
|
|
11911
|
+
* @param {SoftSortBeltController.GetOneEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11912
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
11913
|
+
*/
|
|
11914
|
+
static getOneEvents(siteId: number, id: string, queryParameters?: SoftSortBeltController.GetOneEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
11915
|
+
/**
|
|
11916
|
+
* List all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts]
|
|
11917
|
+
*
|
|
11918
|
+
* @static
|
|
11919
|
+
* @public
|
|
11920
|
+
* @param {number} siteId The Site ID
|
|
11921
|
+
* @param {SoftSortBeltController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11922
|
+
* @return {Promise<SoftSortBeltModel[]>}
|
|
11923
|
+
*/
|
|
11924
|
+
static getAll(siteId: number, queryParameters?: SoftSortBeltController.GetAllQueryParameters): Promise<SoftSortBeltModel[]>;
|
|
11925
|
+
/**
|
|
11926
|
+
* Create a Soft Sort Belt [POST /packhouse/sites/{siteId}/soft-sort-belts]
|
|
11927
|
+
*
|
|
11928
|
+
* @static
|
|
11929
|
+
* @public
|
|
11930
|
+
* @param {number} siteId The Site ID
|
|
11931
|
+
* @param {SoftSortBeltController.CreateData} createData The Soft Sort Belt Create Data
|
|
11932
|
+
* @return {Promise<SoftSortBeltModel>}
|
|
11933
|
+
*/
|
|
11934
|
+
static create(siteId: number, createData: SoftSortBeltController.CreateData): Promise<SoftSortBeltModel>;
|
|
11935
|
+
/**
|
|
11936
|
+
* Retrieve the Events of all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts/events]
|
|
11937
|
+
*
|
|
11938
|
+
* Retrieves Events for all Soft Sort Belts
|
|
11939
|
+
*
|
|
11940
|
+
* @static
|
|
11941
|
+
* @public
|
|
11942
|
+
* @param {number} siteId The Site ID
|
|
11943
|
+
* @param {SoftSortBeltController.GetAllEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11944
|
+
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
11945
|
+
*/
|
|
11946
|
+
static getAllEvents(siteId: number, queryParameters?: SoftSortBeltController.GetAllEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
11947
|
+
}
|
|
11948
|
+
namespace SoftSortBeltController {
|
|
11949
|
+
/**
|
|
11950
|
+
* The Optional Query Parameters for the getOneEvents Function
|
|
11951
|
+
*/
|
|
11952
|
+
export type GetOneEventsQueryParameters = {
|
|
11953
|
+
/**
|
|
11954
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
11955
|
+
*/
|
|
11956
|
+
timestampBegin?: Date;
|
|
11957
|
+
/**
|
|
11958
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
11959
|
+
*/
|
|
11960
|
+
timestampEnd?: Date;
|
|
11961
|
+
};
|
|
11962
|
+
/**
|
|
11963
|
+
* The Optional Query Parameters for the getAll Function
|
|
11964
|
+
*/
|
|
11965
|
+
export type GetAllQueryParameters = {
|
|
11966
|
+
/**
|
|
11967
|
+
* The RTU this Soft Sort Belt belongs to
|
|
11968
|
+
*/
|
|
11969
|
+
rtuId?: number;
|
|
11970
|
+
/**
|
|
11971
|
+
* The Name of this Soft Sort Belt
|
|
11972
|
+
*/
|
|
11973
|
+
name?: string;
|
|
11974
|
+
/**
|
|
11975
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
11976
|
+
*/
|
|
11977
|
+
packingLineId?: string;
|
|
11978
|
+
};
|
|
11979
|
+
/**
|
|
11980
|
+
* The Optional Query Parameters for the getAllEvents Function
|
|
11981
|
+
*/
|
|
11982
|
+
export type GetAllEventsQueryParameters = {
|
|
11983
|
+
/**
|
|
11984
|
+
* A List of Soft-Sort Belt IDs to Filter by
|
|
11985
|
+
*/
|
|
11986
|
+
beltIds?: string[];
|
|
11987
|
+
/**
|
|
11988
|
+
* The Beginning Timestamp of the Soft-Sort Event Results. Defaults to 24 Hours ago
|
|
11989
|
+
*/
|
|
11990
|
+
timestampBegin?: Date;
|
|
11991
|
+
/**
|
|
11992
|
+
* The End Timestamp of the Soft-Sort Event Results. Defaults to Now
|
|
11993
|
+
*/
|
|
11994
|
+
timestampEnd?: Date;
|
|
11995
|
+
};
|
|
11996
|
+
/**
|
|
11997
|
+
* The Create Data for a Soft Sort Belt
|
|
11998
|
+
*/
|
|
11999
|
+
export type CreateData = {
|
|
12000
|
+
/**
|
|
12001
|
+
* The RTU this Soft Sort Belt belongs to
|
|
12002
|
+
*/
|
|
12003
|
+
rtuId?: number;
|
|
12004
|
+
/**
|
|
12005
|
+
* The Name of this Soft Sort Belt
|
|
12006
|
+
*/
|
|
12007
|
+
name: string;
|
|
12008
|
+
/**
|
|
12009
|
+
* The Points used by this Soft Sort Belt
|
|
12010
|
+
*/
|
|
12011
|
+
points: any;
|
|
12012
|
+
/**
|
|
12013
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
12014
|
+
*/
|
|
12015
|
+
packingLineId: string;
|
|
12016
|
+
};
|
|
12017
|
+
/**
|
|
12018
|
+
* The Update Data for a Soft Sort Belt
|
|
12019
|
+
*/
|
|
12020
|
+
export type UpdateData = {
|
|
12021
|
+
/**
|
|
12022
|
+
* The Name of this Soft Sort Belt
|
|
12023
|
+
*/
|
|
12024
|
+
name?: string;
|
|
12025
|
+
/**
|
|
12026
|
+
* The Points used by this Soft Sort Belt
|
|
12027
|
+
*/
|
|
12028
|
+
points?: any;
|
|
12029
|
+
/**
|
|
12030
|
+
* The Packing Line that owns this Soft Sort Belt
|
|
12031
|
+
*/
|
|
12032
|
+
packingLineId?: string;
|
|
12033
|
+
};
|
|
12034
|
+
/**
|
|
12035
|
+
* A **SoftSortEventItem** Type
|
|
12036
|
+
*/
|
|
12037
|
+
export type SoftSortEventItem = {
|
|
12038
|
+
/**
|
|
12039
|
+
* The Soft-Sort Belt ID
|
|
12040
|
+
*/
|
|
12041
|
+
beltId: string;
|
|
12042
|
+
/**
|
|
12043
|
+
* The ID of the associated Packrun
|
|
12044
|
+
*/
|
|
12045
|
+
packrunId: string;
|
|
12046
|
+
/**
|
|
12047
|
+
* The Name of the associated Packrun
|
|
12048
|
+
*/
|
|
12049
|
+
packrunName: string;
|
|
12050
|
+
/**
|
|
12051
|
+
* When the Event Started
|
|
12052
|
+
*/
|
|
12053
|
+
startTimestamp: Date;
|
|
12054
|
+
/**
|
|
12055
|
+
* When the Event Ended
|
|
12056
|
+
*/
|
|
12057
|
+
endTimestamp: Date;
|
|
12058
|
+
/**
|
|
12059
|
+
* The Duration in Seconds of the Event
|
|
12060
|
+
*/
|
|
12061
|
+
duration: number;
|
|
12062
|
+
};
|
|
12063
|
+
}
|
|
12064
|
+
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
12065
|
+
}
|
|
12066
|
+
|
|
12067
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController' {
|
|
12068
|
+
export default VarietyController;
|
|
12069
|
+
/**
|
|
12070
|
+
* Controller Class for Varieties
|
|
12071
|
+
*
|
|
12072
|
+
* @class
|
|
12073
|
+
*/
|
|
12074
|
+
class VarietyController {
|
|
12075
|
+
/**
|
|
12076
|
+
* Retrieve a Variety [GET /packhouse/sites/{siteId}/varieties/{id}]
|
|
12077
|
+
*
|
|
12078
|
+
* @static
|
|
12079
|
+
* @public
|
|
12080
|
+
* @param {number} siteId The Site ID
|
|
12081
|
+
* @param {string} id The Variety ID
|
|
12082
|
+
* @return {Promise<VarietyModel>}
|
|
12083
|
+
*/
|
|
12084
|
+
static getOne(siteId: number, id: string): Promise<VarietyModel>;
|
|
12085
|
+
/**
|
|
12086
|
+
* Update a Variety [PATCH /packhouse/sites/{siteId}/varieties/{id}]
|
|
12087
|
+
*
|
|
12088
|
+
* @static
|
|
12089
|
+
* @public
|
|
12090
|
+
* @param {number} siteId The Site ID
|
|
12091
|
+
* @param {string} id The Variety ID
|
|
12092
|
+
* @param {VarietyController.UpdateData} updateData The Variety Update Data
|
|
12093
|
+
* @return {Promise<VarietyModel>}
|
|
12094
|
+
*/
|
|
12095
|
+
static update(siteId: number, id: string, updateData: VarietyController.UpdateData): Promise<VarietyModel>;
|
|
12096
|
+
/**
|
|
12097
|
+
* Delete a Variety [DELETE /packhouse/sites/{siteId}/varieties/{id}]
|
|
12098
|
+
*
|
|
12099
|
+
* @static
|
|
12100
|
+
* @public
|
|
12101
|
+
* @param {number} siteId The Site ID
|
|
12102
|
+
* @param {string} id The Variety ID
|
|
10682
12103
|
* @return {Promise<boolean>}
|
|
10683
12104
|
*/
|
|
10684
12105
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
@@ -10776,6 +12197,137 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController'
|
|
|
10776
12197
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
10777
12198
|
}
|
|
10778
12199
|
|
|
12200
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinModel' {
|
|
12201
|
+
export default BinTipBinModel;
|
|
12202
|
+
/**
|
|
12203
|
+
* Model Class for a Bin Tip Bin
|
|
12204
|
+
*
|
|
12205
|
+
* @class
|
|
12206
|
+
* @hideconstructor
|
|
12207
|
+
* @extends BaseModel
|
|
12208
|
+
*/
|
|
12209
|
+
class BinTipBinModel extends BaseModel {
|
|
12210
|
+
/**
|
|
12211
|
+
* Create a new **BinTipBinModel** from a JSON Object or JSON String
|
|
12212
|
+
*
|
|
12213
|
+
* @static
|
|
12214
|
+
* @public
|
|
12215
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12216
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Bin
|
|
12217
|
+
* @return {BinTipBinModel}
|
|
12218
|
+
*/
|
|
12219
|
+
static fromJSON(json: {
|
|
12220
|
+
[x: string]: any;
|
|
12221
|
+
} | string, siteId: number): BinTipBinModel;
|
|
12222
|
+
/**
|
|
12223
|
+
* BinTipBinModel Constructor
|
|
12224
|
+
*
|
|
12225
|
+
* @protected
|
|
12226
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Bin
|
|
12227
|
+
*/
|
|
12228
|
+
protected constructor();
|
|
12229
|
+
/**
|
|
12230
|
+
* The Bin Tip Bin ID
|
|
12231
|
+
*
|
|
12232
|
+
* @type {string}
|
|
12233
|
+
* @public
|
|
12234
|
+
*/
|
|
12235
|
+
id: string;
|
|
12236
|
+
/**
|
|
12237
|
+
* The Bin Tip ID associated with this Bin
|
|
12238
|
+
*
|
|
12239
|
+
* @type {string}
|
|
12240
|
+
* @public
|
|
12241
|
+
*/
|
|
12242
|
+
binTipId: string;
|
|
12243
|
+
/**
|
|
12244
|
+
* The Packrun ID associated with this Bin
|
|
12245
|
+
*
|
|
12246
|
+
* @type {string}
|
|
12247
|
+
* @public
|
|
12248
|
+
*/
|
|
12249
|
+
packrunId: string;
|
|
12250
|
+
/**
|
|
12251
|
+
* When this Bin was Created
|
|
12252
|
+
*
|
|
12253
|
+
* @type {Date}
|
|
12254
|
+
* @public
|
|
12255
|
+
*/
|
|
12256
|
+
createdTimestamp: Date;
|
|
12257
|
+
/**
|
|
12258
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
12259
|
+
*
|
|
12260
|
+
* @type {?string}
|
|
12261
|
+
* @public
|
|
12262
|
+
*/
|
|
12263
|
+
binNumber: string | null;
|
|
12264
|
+
/**
|
|
12265
|
+
* The Time Batch ID associated with this Bin
|
|
12266
|
+
*
|
|
12267
|
+
* @type {?string}
|
|
12268
|
+
* @public
|
|
12269
|
+
*/
|
|
12270
|
+
timeBatchId: string | null;
|
|
12271
|
+
/**
|
|
12272
|
+
* The Full Weight for this Bin
|
|
12273
|
+
*
|
|
12274
|
+
* @type {?number}
|
|
12275
|
+
* @public
|
|
12276
|
+
*/
|
|
12277
|
+
fullWeight: number | null;
|
|
12278
|
+
/**
|
|
12279
|
+
* The Empty Weight for this Bin
|
|
12280
|
+
*
|
|
12281
|
+
* @type {?number}
|
|
12282
|
+
* @public
|
|
12283
|
+
*/
|
|
12284
|
+
emptyWeight: number | null;
|
|
12285
|
+
/**
|
|
12286
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
12287
|
+
*
|
|
12288
|
+
* @type {?string}
|
|
12289
|
+
* @public
|
|
12290
|
+
*/
|
|
12291
|
+
fullBinWeightId: string | null;
|
|
12292
|
+
/**
|
|
12293
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
12294
|
+
*
|
|
12295
|
+
* @type {?string}
|
|
12296
|
+
* @public
|
|
12297
|
+
*/
|
|
12298
|
+
emptyBinWeightId: string | null;
|
|
12299
|
+
/**
|
|
12300
|
+
* The FreshPack Field Bin Weight API Data
|
|
12301
|
+
*
|
|
12302
|
+
* @type {?Object}
|
|
12303
|
+
* @public
|
|
12304
|
+
*/
|
|
12305
|
+
freshPackFieldBinWeightApi: any | null;
|
|
12306
|
+
/**
|
|
12307
|
+
* Whether the Bin Tip Bin has been deleted
|
|
12308
|
+
*
|
|
12309
|
+
* @type {boolean}
|
|
12310
|
+
* @public
|
|
12311
|
+
*/
|
|
12312
|
+
deleted: boolean;
|
|
12313
|
+
/**
|
|
12314
|
+
* When the Bin Tip Bin was last updated
|
|
12315
|
+
*
|
|
12316
|
+
* @type {Date}
|
|
12317
|
+
* @public
|
|
12318
|
+
*/
|
|
12319
|
+
updateTimestamp: Date;
|
|
12320
|
+
/**
|
|
12321
|
+
* The Site ID associated with this Bin Tip Bin
|
|
12322
|
+
*
|
|
12323
|
+
* @type {number}
|
|
12324
|
+
* @public
|
|
12325
|
+
*/
|
|
12326
|
+
siteId: number;
|
|
12327
|
+
}
|
|
12328
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12329
|
+
}
|
|
12330
|
+
|
|
10779
12331
|
declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
|
|
10780
12332
|
export default BinTipWeightModel;
|
|
10781
12333
|
/**
|
|
@@ -11068,7 +12620,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
|
|
|
11068
12620
|
*/
|
|
11069
12621
|
fruitSizes: any[];
|
|
11070
12622
|
/**
|
|
11071
|
-
* The Packing Line ID this Compac Sizer
|
|
12623
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
11072
12624
|
*
|
|
11073
12625
|
* @type {string}
|
|
11074
12626
|
* @public
|
|
@@ -11789,6 +13341,134 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
|
|
|
11789
13341
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11790
13342
|
}
|
|
11791
13343
|
|
|
13344
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel' {
|
|
13345
|
+
export default FreshQualityPackrunSummaryModel;
|
|
13346
|
+
/**
|
|
13347
|
+
* Model Class for a FreshQuality Packrun Summary
|
|
13348
|
+
*
|
|
13349
|
+
* @class
|
|
13350
|
+
* @hideconstructor
|
|
13351
|
+
* @extends BaseModel
|
|
13352
|
+
*/
|
|
13353
|
+
class FreshQualityPackrunSummaryModel extends BaseModel {
|
|
13354
|
+
/**
|
|
13355
|
+
* Create a new **FreshQualityPackrunSummaryModel** from a JSON Object or JSON String
|
|
13356
|
+
*
|
|
13357
|
+
* @static
|
|
13358
|
+
* @public
|
|
13359
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13360
|
+
* @param {number} siteId The Site ID associated with this FreshQuality Packrun Summary
|
|
13361
|
+
* @return {FreshQualityPackrunSummaryModel}
|
|
13362
|
+
*/
|
|
13363
|
+
static fromJSON(json: {
|
|
13364
|
+
[x: string]: any;
|
|
13365
|
+
} | string, siteId: number): FreshQualityPackrunSummaryModel;
|
|
13366
|
+
/**
|
|
13367
|
+
* FreshQualityPackrunSummaryModel Constructor
|
|
13368
|
+
*
|
|
13369
|
+
* @protected
|
|
13370
|
+
* @param {number} siteId The Site ID associated with this FreshQuality Packrun Summary
|
|
13371
|
+
*/
|
|
13372
|
+
protected constructor();
|
|
13373
|
+
/**
|
|
13374
|
+
* The FreshQuality Packrun Summary ID
|
|
13375
|
+
*
|
|
13376
|
+
* @type {string}
|
|
13377
|
+
* @public
|
|
13378
|
+
*/
|
|
13379
|
+
id: string;
|
|
13380
|
+
/**
|
|
13381
|
+
* The Packing Line ID this Summary is associated with
|
|
13382
|
+
*
|
|
13383
|
+
* @type {string}
|
|
13384
|
+
* @public
|
|
13385
|
+
*/
|
|
13386
|
+
packingLineId: string;
|
|
13387
|
+
/**
|
|
13388
|
+
* The Packrun ID this Summary is associated with
|
|
13389
|
+
*
|
|
13390
|
+
* @type {string}
|
|
13391
|
+
* @public
|
|
13392
|
+
*/
|
|
13393
|
+
packrunId: string;
|
|
13394
|
+
/**
|
|
13395
|
+
* When this Summary was Created
|
|
13396
|
+
*
|
|
13397
|
+
* @type {Date}
|
|
13398
|
+
* @public
|
|
13399
|
+
*/
|
|
13400
|
+
createdTimestamp: Date;
|
|
13401
|
+
/**
|
|
13402
|
+
* The Time Batch this Summary is associated with
|
|
13403
|
+
*
|
|
13404
|
+
* @type {?string}
|
|
13405
|
+
* @public
|
|
13406
|
+
*/
|
|
13407
|
+
timeBatchId: string | null;
|
|
13408
|
+
/**
|
|
13409
|
+
* An Array of Class 1 R600 Samples
|
|
13410
|
+
*
|
|
13411
|
+
* @type {Array<{fruitSize: string, packType: string, timestamp: Date, fruitCount: number, defects: Array<{name: string, group: string, fruitCount: number}>}>}
|
|
13412
|
+
* @public
|
|
13413
|
+
*/
|
|
13414
|
+
class1R600Samples: {
|
|
13415
|
+
fruitSize: string;
|
|
13416
|
+
packType: string;
|
|
13417
|
+
timestamp: Date;
|
|
13418
|
+
fruitCount: number;
|
|
13419
|
+
defects: {
|
|
13420
|
+
name: string;
|
|
13421
|
+
group: string;
|
|
13422
|
+
fruitCount: number;
|
|
13423
|
+
}[];
|
|
13424
|
+
}[];
|
|
13425
|
+
/**
|
|
13426
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
13427
|
+
*
|
|
13428
|
+
* @type {Array<{name: string, percentage: number, defects: Array<{name: string, fruitCount: number, percentage: number}>}>}
|
|
13429
|
+
* @public
|
|
13430
|
+
*/
|
|
13431
|
+
categorySummaries: {
|
|
13432
|
+
name: string;
|
|
13433
|
+
percentage: number;
|
|
13434
|
+
defects: {
|
|
13435
|
+
name: string;
|
|
13436
|
+
fruitCount: number;
|
|
13437
|
+
percentage: number;
|
|
13438
|
+
}[];
|
|
13439
|
+
}[];
|
|
13440
|
+
/**
|
|
13441
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
13442
|
+
*
|
|
13443
|
+
* @type {number}
|
|
13444
|
+
* @public
|
|
13445
|
+
*/
|
|
13446
|
+
totalFruitSampled: number;
|
|
13447
|
+
/**
|
|
13448
|
+
* Whether the FreshQuality Packrun Summary has been deleted
|
|
13449
|
+
*
|
|
13450
|
+
* @type {boolean}
|
|
13451
|
+
* @public
|
|
13452
|
+
*/
|
|
13453
|
+
deleted: boolean;
|
|
13454
|
+
/**
|
|
13455
|
+
* When the FreshQuality Packrun Summary was last updated
|
|
13456
|
+
*
|
|
13457
|
+
* @type {Date}
|
|
13458
|
+
* @public
|
|
13459
|
+
*/
|
|
13460
|
+
updateTimestamp: Date;
|
|
13461
|
+
/**
|
|
13462
|
+
* The Site ID associated with this FreshQuality Packrun Summary
|
|
13463
|
+
*
|
|
13464
|
+
* @type {number}
|
|
13465
|
+
* @public
|
|
13466
|
+
*/
|
|
13467
|
+
siteId: number;
|
|
13468
|
+
}
|
|
13469
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13470
|
+
}
|
|
13471
|
+
|
|
11792
13472
|
declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
|
|
11793
13473
|
export default GrowingMethodModel;
|
|
11794
13474
|
/**
|
|
@@ -12048,6 +13728,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12048
13728
|
* @public
|
|
12049
13729
|
*/
|
|
12050
13730
|
rejectBinScales: any[];
|
|
13731
|
+
/**
|
|
13732
|
+
* An Optional Secondary Packing Line Reference
|
|
13733
|
+
*
|
|
13734
|
+
* @type {?Object}
|
|
13735
|
+
* @public
|
|
13736
|
+
*/
|
|
13737
|
+
secondaryPackingLine: any | null;
|
|
12051
13738
|
/**
|
|
12052
13739
|
* The Automation Object for this Packing Line
|
|
12053
13740
|
*
|
|
@@ -12072,7 +13759,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12072
13759
|
/**
|
|
12073
13760
|
* The Optional Shift Management Object for this Packing Line
|
|
12074
13761
|
*
|
|
12075
|
-
* @type {?{points: {currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, shiftSchedules: number}, enabled: boolean}}
|
|
13762
|
+
* @type {?{points: {currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, currentShiftStatus: number, currentShiftModifyHourlyEntryRequest: number, shiftSchedules: number, currentShiftClass1TraysPerHourTarget: number, currentShiftClass1TraysPerHourAdjustedTarget: number, currentShiftClass1TraysPerHour: number, currentShiftCostPerTrayTarget: number, currentShiftCostPerTrayAdjustedTarget: number, currentShiftCostPerTray: number, currentShiftManningTarget: number, currentShiftClass1Manning: number, currentShiftClass2Manning: number, currentShiftQualityR600IdealTarget: number, currentShiftQualityR600Ideal: number, currentShiftScorePercentage: number, class1TraysPerHourTargets: number, costPerTrayTargets: number, manningTargets: number, qualityR600IdealTargets: number, costPerManningUnitHour: number, class1TraysPerHourScoreWeighting: number, costPerTrayScoreWeighting: number, qualityR600IdealScoreWeighting: number}, customQualityConfiguration: Array<{id: string, name: string, type: string, points: {currentShiftCustomQualityTarget: number, currentShiftCustomQualityValue: number, customQualityTargets: number, customQualityScoreWeighting: number}}>, enabled: boolean, taskDefinitions: Array<{type: string, tags: Array<{id: string, name: string, color: string, deleted: boolean}>}>}}
|
|
12076
13763
|
* @public
|
|
12077
13764
|
*/
|
|
12078
13765
|
shiftManagement: {
|
|
@@ -12085,9 +13772,51 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12085
13772
|
currentFocusMeetingId: number;
|
|
12086
13773
|
startFocusMeetingRequest: number;
|
|
12087
13774
|
finishFocusMeetingRequest: number;
|
|
13775
|
+
currentShiftStatus: number;
|
|
13776
|
+
currentShiftModifyHourlyEntryRequest: number;
|
|
12088
13777
|
shiftSchedules: number;
|
|
13778
|
+
currentShiftClass1TraysPerHourTarget: number;
|
|
13779
|
+
currentShiftClass1TraysPerHourAdjustedTarget: number;
|
|
13780
|
+
currentShiftClass1TraysPerHour: number;
|
|
13781
|
+
currentShiftCostPerTrayTarget: number;
|
|
13782
|
+
currentShiftCostPerTrayAdjustedTarget: number;
|
|
13783
|
+
currentShiftCostPerTray: number;
|
|
13784
|
+
currentShiftManningTarget: number;
|
|
13785
|
+
currentShiftClass1Manning: number;
|
|
13786
|
+
currentShiftClass2Manning: number;
|
|
13787
|
+
currentShiftQualityR600IdealTarget: number;
|
|
13788
|
+
currentShiftQualityR600Ideal: number;
|
|
13789
|
+
currentShiftScorePercentage: number;
|
|
13790
|
+
class1TraysPerHourTargets: number;
|
|
13791
|
+
costPerTrayTargets: number;
|
|
13792
|
+
manningTargets: number;
|
|
13793
|
+
qualityR600IdealTargets: number;
|
|
13794
|
+
costPerManningUnitHour: number;
|
|
13795
|
+
class1TraysPerHourScoreWeighting: number;
|
|
13796
|
+
costPerTrayScoreWeighting: number;
|
|
13797
|
+
qualityR600IdealScoreWeighting: number;
|
|
12089
13798
|
};
|
|
13799
|
+
customQualityConfiguration: {
|
|
13800
|
+
id: string;
|
|
13801
|
+
name: string;
|
|
13802
|
+
type: string;
|
|
13803
|
+
points: {
|
|
13804
|
+
currentShiftCustomQualityTarget: number;
|
|
13805
|
+
currentShiftCustomQualityValue: number;
|
|
13806
|
+
customQualityTargets: number;
|
|
13807
|
+
customQualityScoreWeighting: number;
|
|
13808
|
+
};
|
|
13809
|
+
}[];
|
|
12090
13810
|
enabled: boolean;
|
|
13811
|
+
taskDefinitions: {
|
|
13812
|
+
type: string;
|
|
13813
|
+
tags: {
|
|
13814
|
+
id: string;
|
|
13815
|
+
name: string;
|
|
13816
|
+
color: string;
|
|
13817
|
+
deleted: boolean;
|
|
13818
|
+
}[];
|
|
13819
|
+
}[];
|
|
12091
13820
|
};
|
|
12092
13821
|
/**
|
|
12093
13822
|
* The FreshPack Integration Configuration for this Packing Line
|
|
@@ -12248,6 +13977,27 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
|
12248
13977
|
* @public
|
|
12249
13978
|
*/
|
|
12250
13979
|
timeBatches: any[];
|
|
13980
|
+
/**
|
|
13981
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
13982
|
+
*
|
|
13983
|
+
* @type {?number}
|
|
13984
|
+
* @public
|
|
13985
|
+
*/
|
|
13986
|
+
freshPackGraderId: number | null;
|
|
13987
|
+
/**
|
|
13988
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
13989
|
+
*
|
|
13990
|
+
* @type {?string}
|
|
13991
|
+
* @public
|
|
13992
|
+
*/
|
|
13993
|
+
freshPackBinLotCode: string | null;
|
|
13994
|
+
/**
|
|
13995
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
13996
|
+
*
|
|
13997
|
+
* @type {?string}
|
|
13998
|
+
* @public
|
|
13999
|
+
*/
|
|
14000
|
+
freshPackProduceCode: string | null;
|
|
12251
14001
|
/**
|
|
12252
14002
|
* Whether the Packrun has been deleted
|
|
12253
14003
|
*
|
|
@@ -12897,14 +14647,21 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12897
14647
|
* @type {?number}
|
|
12898
14648
|
* @public
|
|
12899
14649
|
*/
|
|
12900
|
-
class2Manning: number | null;
|
|
14650
|
+
class2Manning: number | null;
|
|
14651
|
+
/**
|
|
14652
|
+
* The Average Target Number of People that should be working for this Hour
|
|
14653
|
+
*
|
|
14654
|
+
* @type {?number}
|
|
14655
|
+
* @public
|
|
14656
|
+
*/
|
|
14657
|
+
averageManningTarget: number | null;
|
|
12901
14658
|
/**
|
|
12902
|
-
* The Average
|
|
14659
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
12903
14660
|
*
|
|
12904
14661
|
* @type {?number}
|
|
12905
14662
|
* @public
|
|
12906
14663
|
*/
|
|
12907
|
-
|
|
14664
|
+
averageCostPerManningUnit: number | null;
|
|
12908
14665
|
/**
|
|
12909
14666
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
12910
14667
|
*
|
|
@@ -12926,10 +14683,17 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12926
14683
|
* @public
|
|
12927
14684
|
*/
|
|
12928
14685
|
qualityR600IdealSamplesPercentage: number | null;
|
|
14686
|
+
/**
|
|
14687
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
14688
|
+
*
|
|
14689
|
+
* @type {?number}
|
|
14690
|
+
* @public
|
|
14691
|
+
*/
|
|
14692
|
+
averageQualityR600IdealSamplesTarget: number | null;
|
|
12929
14693
|
/**
|
|
12930
14694
|
* An Array of Custom Quality Data Items for this Hour
|
|
12931
14695
|
*
|
|
12932
|
-
* @type {Array<{id: string, name: string, type: string, value: number}>}
|
|
14696
|
+
* @type {Array<{id: string, name: string, type: string, value: number, averageTarget: number}>}
|
|
12933
14697
|
* @public
|
|
12934
14698
|
*/
|
|
12935
14699
|
customQualityData: {
|
|
@@ -12937,6 +14701,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12937
14701
|
name: string;
|
|
12938
14702
|
type: string;
|
|
12939
14703
|
value: number;
|
|
14704
|
+
averageTarget: number;
|
|
12940
14705
|
}[];
|
|
12941
14706
|
/**
|
|
12942
14707
|
* The Total Number of Bins Tipped for this Hour
|
|
@@ -12987,6 +14752,27 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12987
14752
|
* @public
|
|
12988
14753
|
*/
|
|
12989
14754
|
class1TraysPerHourExcludingDowntimeTarget: number;
|
|
14755
|
+
/**
|
|
14756
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
14757
|
+
*
|
|
14758
|
+
* @type {?number}
|
|
14759
|
+
* @public
|
|
14760
|
+
*/
|
|
14761
|
+
averageClass1TraysPerHourAdjustedTarget: number | null;
|
|
14762
|
+
/**
|
|
14763
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
14764
|
+
*
|
|
14765
|
+
* @type {?number}
|
|
14766
|
+
* @public
|
|
14767
|
+
*/
|
|
14768
|
+
averageCostPerTray: number | null;
|
|
14769
|
+
/**
|
|
14770
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
14771
|
+
*
|
|
14772
|
+
* @type {?number}
|
|
14773
|
+
* @public
|
|
14774
|
+
*/
|
|
14775
|
+
averageCostPerTrayTarget: number | null;
|
|
12990
14776
|
/**
|
|
12991
14777
|
* The Primary Issue Category for this Hourly Entry
|
|
12992
14778
|
*
|
|
@@ -13001,6 +14787,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
13001
14787
|
* @public
|
|
13002
14788
|
*/
|
|
13003
14789
|
primaryIssueTag: string | null;
|
|
14790
|
+
/**
|
|
14791
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
14792
|
+
*
|
|
14793
|
+
* @type {?number}
|
|
14794
|
+
* @public
|
|
14795
|
+
*/
|
|
14796
|
+
primaryIssuePercentage: number | null;
|
|
13004
14797
|
/**
|
|
13005
14798
|
* The Secondary Issue Category for this Hourly Entry
|
|
13006
14799
|
*
|
|
@@ -13015,6 +14808,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
13015
14808
|
* @public
|
|
13016
14809
|
*/
|
|
13017
14810
|
secondaryIssueTag: string | null;
|
|
14811
|
+
/**
|
|
14812
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
14813
|
+
*
|
|
14814
|
+
* @type {?number}
|
|
14815
|
+
* @public
|
|
14816
|
+
*/
|
|
14817
|
+
secondaryIssuePercentage: number | null;
|
|
13018
14818
|
/**
|
|
13019
14819
|
* An Optional Focus for the Next Hour
|
|
13020
14820
|
*
|
|
@@ -13304,6 +15104,301 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
13304
15104
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13305
15105
|
}
|
|
13306
15106
|
|
|
15107
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel' {
|
|
15108
|
+
export default ShiftQualitySummaryModel;
|
|
15109
|
+
/**
|
|
15110
|
+
* Model Class for a Shift Quality Summary
|
|
15111
|
+
*
|
|
15112
|
+
* @class
|
|
15113
|
+
* @hideconstructor
|
|
15114
|
+
* @extends BaseModel
|
|
15115
|
+
*/
|
|
15116
|
+
class ShiftQualitySummaryModel extends BaseModel {
|
|
15117
|
+
/**
|
|
15118
|
+
* Create a new **ShiftQualitySummaryModel** from a JSON Object or JSON String
|
|
15119
|
+
*
|
|
15120
|
+
* @static
|
|
15121
|
+
* @public
|
|
15122
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
15123
|
+
* @param {number} siteId The Site ID associated with this Shift Quality Summary
|
|
15124
|
+
* @return {ShiftQualitySummaryModel}
|
|
15125
|
+
*/
|
|
15126
|
+
static fromJSON(json: {
|
|
15127
|
+
[x: string]: any;
|
|
15128
|
+
} | string, siteId: number): ShiftQualitySummaryModel;
|
|
15129
|
+
/**
|
|
15130
|
+
* ShiftQualitySummaryModel Constructor
|
|
15131
|
+
*
|
|
15132
|
+
* @protected
|
|
15133
|
+
* @param {number} siteId The Site ID associated with this Shift Quality Summary
|
|
15134
|
+
*/
|
|
15135
|
+
protected constructor();
|
|
15136
|
+
/**
|
|
15137
|
+
* The Shift Quality Summary ID
|
|
15138
|
+
*
|
|
15139
|
+
* @type {string}
|
|
15140
|
+
* @public
|
|
15141
|
+
*/
|
|
15142
|
+
id: string;
|
|
15143
|
+
/**
|
|
15144
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
15145
|
+
*
|
|
15146
|
+
* @type {string}
|
|
15147
|
+
* @public
|
|
15148
|
+
*/
|
|
15149
|
+
packingLineId: string;
|
|
15150
|
+
/**
|
|
15151
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
15152
|
+
*
|
|
15153
|
+
* @type {string}
|
|
15154
|
+
* @public
|
|
15155
|
+
*/
|
|
15156
|
+
shiftId: string;
|
|
15157
|
+
/**
|
|
15158
|
+
* When this Quality Summary was Created
|
|
15159
|
+
*
|
|
15160
|
+
* @type {Date}
|
|
15161
|
+
* @public
|
|
15162
|
+
*/
|
|
15163
|
+
createdTimestamp: Date;
|
|
15164
|
+
/**
|
|
15165
|
+
* When this Quality Summary was Published
|
|
15166
|
+
*
|
|
15167
|
+
* @type {?Date}
|
|
15168
|
+
* @public
|
|
15169
|
+
*/
|
|
15170
|
+
publishTimestamp: Date | null;
|
|
15171
|
+
/**
|
|
15172
|
+
* The User ID of the Quality Manager for this Summary
|
|
15173
|
+
*
|
|
15174
|
+
* @type {?string}
|
|
15175
|
+
* @public
|
|
15176
|
+
*/
|
|
15177
|
+
qualityManagerUserId: string | null;
|
|
15178
|
+
/**
|
|
15179
|
+
* The Name of the Quality Manager for this Summary
|
|
15180
|
+
*
|
|
15181
|
+
* @type {string}
|
|
15182
|
+
* @public
|
|
15183
|
+
*/
|
|
15184
|
+
qualityManagerName: string;
|
|
15185
|
+
/**
|
|
15186
|
+
* An Array of Accuracy Results for this Summary
|
|
15187
|
+
*
|
|
15188
|
+
* @type {Array<{type: string, value: number}>}
|
|
15189
|
+
* @public
|
|
15190
|
+
*/
|
|
15191
|
+
accuracyResults: {
|
|
15192
|
+
type: string;
|
|
15193
|
+
value: number;
|
|
15194
|
+
}[];
|
|
15195
|
+
/**
|
|
15196
|
+
* An Array of Audit Results for this Summary
|
|
15197
|
+
*
|
|
15198
|
+
* @type {Array<{type: string, value: number}>}
|
|
15199
|
+
* @public
|
|
15200
|
+
*/
|
|
15201
|
+
auditResults: {
|
|
15202
|
+
type: string;
|
|
15203
|
+
value: number;
|
|
15204
|
+
}[];
|
|
15205
|
+
/**
|
|
15206
|
+
* An Array of Packrun Results for this Summary
|
|
15207
|
+
*
|
|
15208
|
+
* @type {Array<{packrunId: string, packrunName: string, minorPackingDefects: number, majorPackingDefects: number, softs: number, cuts: number, rots: number, softsLineAverageSampleSize: ?number, softsLineAverageValue: ?number, exportFruitInClass2: ?number, exportFruitInLocalMarket: ?number, exportFruitInWaste: ?number}>}
|
|
15209
|
+
* @public
|
|
15210
|
+
*/
|
|
15211
|
+
packrunResults: {
|
|
15212
|
+
packrunId: string;
|
|
15213
|
+
packrunName: string;
|
|
15214
|
+
minorPackingDefects: number;
|
|
15215
|
+
majorPackingDefects: number;
|
|
15216
|
+
softs: number;
|
|
15217
|
+
cuts: number;
|
|
15218
|
+
rots: number;
|
|
15219
|
+
softsLineAverageSampleSize: number | null;
|
|
15220
|
+
softsLineAverageValue: number | null;
|
|
15221
|
+
exportFruitInClass2: number | null;
|
|
15222
|
+
exportFruitInLocalMarket: number | null;
|
|
15223
|
+
exportFruitInWaste: number | null;
|
|
15224
|
+
}[];
|
|
15225
|
+
/**
|
|
15226
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
15227
|
+
*
|
|
15228
|
+
* @type {?number}
|
|
15229
|
+
* @public
|
|
15230
|
+
*/
|
|
15231
|
+
satisfactionRating: number | null;
|
|
15232
|
+
/**
|
|
15233
|
+
* The Status of this Quality Summary
|
|
15234
|
+
*
|
|
15235
|
+
* @type {string}
|
|
15236
|
+
* @public
|
|
15237
|
+
*/
|
|
15238
|
+
status: string;
|
|
15239
|
+
/**
|
|
15240
|
+
* Whether the Shift Quality Summary has been deleted
|
|
15241
|
+
*
|
|
15242
|
+
* @type {boolean}
|
|
15243
|
+
* @public
|
|
15244
|
+
*/
|
|
15245
|
+
deleted: boolean;
|
|
15246
|
+
/**
|
|
15247
|
+
* When the Shift Quality Summary was last updated
|
|
15248
|
+
*
|
|
15249
|
+
* @type {Date}
|
|
15250
|
+
* @public
|
|
15251
|
+
*/
|
|
15252
|
+
updateTimestamp: Date;
|
|
15253
|
+
/**
|
|
15254
|
+
* The Site ID associated with this Shift Quality Summary
|
|
15255
|
+
*
|
|
15256
|
+
* @type {number}
|
|
15257
|
+
* @public
|
|
15258
|
+
*/
|
|
15259
|
+
siteId: number;
|
|
15260
|
+
}
|
|
15261
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
15262
|
+
}
|
|
15263
|
+
|
|
15264
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel' {
|
|
15265
|
+
export default ShiftTaskModel;
|
|
15266
|
+
/**
|
|
15267
|
+
* Model Class for a Shift Task
|
|
15268
|
+
*
|
|
15269
|
+
* @class
|
|
15270
|
+
* @hideconstructor
|
|
15271
|
+
* @extends BaseModel
|
|
15272
|
+
*/
|
|
15273
|
+
class ShiftTaskModel extends BaseModel {
|
|
15274
|
+
/**
|
|
15275
|
+
* Create a new **ShiftTaskModel** from a JSON Object or JSON String
|
|
15276
|
+
*
|
|
15277
|
+
* @static
|
|
15278
|
+
* @public
|
|
15279
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
15280
|
+
* @param {number} siteId The Site ID associated with this Shift Task
|
|
15281
|
+
* @return {ShiftTaskModel}
|
|
15282
|
+
*/
|
|
15283
|
+
static fromJSON(json: {
|
|
15284
|
+
[x: string]: any;
|
|
15285
|
+
} | string, siteId: number): ShiftTaskModel;
|
|
15286
|
+
/**
|
|
15287
|
+
* ShiftTaskModel Constructor
|
|
15288
|
+
*
|
|
15289
|
+
* @protected
|
|
15290
|
+
* @param {number} siteId The Site ID associated with this Shift Task
|
|
15291
|
+
*/
|
|
15292
|
+
protected constructor();
|
|
15293
|
+
/**
|
|
15294
|
+
* The Shift Task ID
|
|
15295
|
+
*
|
|
15296
|
+
* @type {string}
|
|
15297
|
+
* @public
|
|
15298
|
+
*/
|
|
15299
|
+
id: string;
|
|
15300
|
+
/**
|
|
15301
|
+
* The Packing Line ID this Task is associated with
|
|
15302
|
+
*
|
|
15303
|
+
* @type {string}
|
|
15304
|
+
* @public
|
|
15305
|
+
*/
|
|
15306
|
+
packingLineId: string;
|
|
15307
|
+
/**
|
|
15308
|
+
* The Shift ID this Task is asssociated with
|
|
15309
|
+
*
|
|
15310
|
+
* @type {string}
|
|
15311
|
+
* @public
|
|
15312
|
+
*/
|
|
15313
|
+
shiftId: string;
|
|
15314
|
+
/**
|
|
15315
|
+
* When this Task was Created
|
|
15316
|
+
*
|
|
15317
|
+
* @type {Date}
|
|
15318
|
+
* @public
|
|
15319
|
+
*/
|
|
15320
|
+
createdTimestamp: Date;
|
|
15321
|
+
/**
|
|
15322
|
+
* When this Task was Completed
|
|
15323
|
+
*
|
|
15324
|
+
* @type {?Date}
|
|
15325
|
+
* @public
|
|
15326
|
+
*/
|
|
15327
|
+
completedTimestamp: Date | null;
|
|
15328
|
+
/**
|
|
15329
|
+
* The User ID of the Author for this Task
|
|
15330
|
+
*
|
|
15331
|
+
* @type {?string}
|
|
15332
|
+
* @public
|
|
15333
|
+
*/
|
|
15334
|
+
authorUserId: string | null;
|
|
15335
|
+
/**
|
|
15336
|
+
* The Name of the Author for this Task
|
|
15337
|
+
*
|
|
15338
|
+
* @type {string}
|
|
15339
|
+
* @public
|
|
15340
|
+
*/
|
|
15341
|
+
authorName: string;
|
|
15342
|
+
/**
|
|
15343
|
+
* The Task Type
|
|
15344
|
+
*
|
|
15345
|
+
* @type {string}
|
|
15346
|
+
* @public
|
|
15347
|
+
*/
|
|
15348
|
+
type: string;
|
|
15349
|
+
/**
|
|
15350
|
+
* An Array of Tag IDs for this Task
|
|
15351
|
+
*
|
|
15352
|
+
* @type {string[]}
|
|
15353
|
+
* @public
|
|
15354
|
+
*/
|
|
15355
|
+
tags: string[];
|
|
15356
|
+
/**
|
|
15357
|
+
* The Title of this Task
|
|
15358
|
+
*
|
|
15359
|
+
* @type {string}
|
|
15360
|
+
* @public
|
|
15361
|
+
*/
|
|
15362
|
+
title: string;
|
|
15363
|
+
/**
|
|
15364
|
+
* The Content of this Task
|
|
15365
|
+
*
|
|
15366
|
+
* @type {string}
|
|
15367
|
+
* @public
|
|
15368
|
+
*/
|
|
15369
|
+
content: string;
|
|
15370
|
+
/**
|
|
15371
|
+
* The Status of this Task
|
|
15372
|
+
*
|
|
15373
|
+
* @type {string}
|
|
15374
|
+
* @public
|
|
15375
|
+
*/
|
|
15376
|
+
status: string;
|
|
15377
|
+
/**
|
|
15378
|
+
* Whether the Shift Task has been deleted
|
|
15379
|
+
*
|
|
15380
|
+
* @type {boolean}
|
|
15381
|
+
* @public
|
|
15382
|
+
*/
|
|
15383
|
+
deleted: boolean;
|
|
15384
|
+
/**
|
|
15385
|
+
* When the Shift Task was last updated
|
|
15386
|
+
*
|
|
15387
|
+
* @type {Date}
|
|
15388
|
+
* @public
|
|
15389
|
+
*/
|
|
15390
|
+
updateTimestamp: Date;
|
|
15391
|
+
/**
|
|
15392
|
+
* The Site ID associated with this Shift Task
|
|
15393
|
+
*
|
|
15394
|
+
* @type {number}
|
|
15395
|
+
* @public
|
|
15396
|
+
*/
|
|
15397
|
+
siteId: number;
|
|
15398
|
+
}
|
|
15399
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
15400
|
+
}
|
|
15401
|
+
|
|
13307
15402
|
declare module '@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel' {
|
|
13308
15403
|
export default SoftSortBeltModel;
|
|
13309
15404
|
/**
|