@ricado/api-client 2.3.20 → 2.3.22
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/BinTipBarcodeScannerResultController.js +3 -3
- package/lib/Controllers/Packhouse/Site/FreshPackBinLotController.js +877 -0
- package/lib/Controllers/Packhouse/Site/FreshPackFruitTemperatureController.js +892 -0
- package/lib/Controllers/Packhouse/Site/index.js +6 -0
- package/lib/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +7 -7
- package/lib/Models/Packhouse/Site/FreshPackBinLotModel.js +265 -0
- package/lib/Models/Packhouse/Site/FreshPackFruitTemperatureModel.js +341 -0
- package/lib/Models/Packhouse/Site/index.js +6 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +785 -63
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController.js +3 -3
- package/src/Controllers/Packhouse/Site/FreshPackBinLotController.js +1008 -0
- package/src/Controllers/Packhouse/Site/FreshPackFruitTemperatureController.js +1023 -0
- package/src/Controllers/Packhouse/Site/index.js +4 -0
- package/src/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +7 -7
- package/src/Models/Packhouse/Site/FreshPackBinLotModel.js +248 -0
- package/src/Models/Packhouse/Site/FreshPackFruitTemperatureModel.js +347 -0
- package/src/Models/Packhouse/Site/index.js +4 -0
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4321,6 +4321,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
4321
4321
|
export { CompacSizerOutletTypeController };
|
|
4322
4322
|
export { CompacSizerPackrunSummaryController };
|
|
4323
4323
|
export { DowntimeEventController };
|
|
4324
|
+
export { FreshPackBinLotController };
|
|
4325
|
+
export { FreshPackFruitTemperatureController };
|
|
4324
4326
|
export { FreshPackPackrunSummaryController };
|
|
4325
4327
|
export { FreshQualityPackrunSummaryController };
|
|
4326
4328
|
export { GrowingMethodController };
|
|
@@ -4357,6 +4359,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
4357
4359
|
import CompacSizerOutletTypeController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletTypeController";
|
|
4358
4360
|
import CompacSizerPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController";
|
|
4359
4361
|
import DowntimeEventController from "@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventController";
|
|
4362
|
+
import FreshPackBinLotController from "@ricado/api-client/Controllers/Packhouse/Site/FreshPackBinLotController";
|
|
4363
|
+
import FreshPackFruitTemperatureController from "@ricado/api-client/Controllers/Packhouse/Site/FreshPackFruitTemperatureController";
|
|
4360
4364
|
import FreshPackPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSummaryController";
|
|
4361
4365
|
import FreshQualityPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController";
|
|
4362
4366
|
import GrowingMethodController from "@ricado/api-client/Controllers/Packhouse/Site/GrowingMethodController";
|
|
@@ -5932,6 +5936,8 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
5932
5936
|
export { CompacSizerOutletTypeModel };
|
|
5933
5937
|
export { CompacSizerPackrunSummaryModel };
|
|
5934
5938
|
export { DowntimeEventModel };
|
|
5939
|
+
export { FreshPackBinLotModel };
|
|
5940
|
+
export { FreshPackFruitTemperatureModel };
|
|
5935
5941
|
export { FreshPackPackrunSummaryModel };
|
|
5936
5942
|
export { FreshQualityPackrunSummaryModel };
|
|
5937
5943
|
export { GrowingMethodModel };
|
|
@@ -5968,6 +5974,8 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
5968
5974
|
import CompacSizerOutletTypeModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeModel";
|
|
5969
5975
|
import CompacSizerPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel";
|
|
5970
5976
|
import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
|
|
5977
|
+
import FreshPackBinLotModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackBinLotModel";
|
|
5978
|
+
import FreshPackFruitTemperatureModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackFruitTemperatureModel";
|
|
5971
5979
|
import FreshPackPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel";
|
|
5972
5980
|
import FreshQualityPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel";
|
|
5973
5981
|
import GrowingMethodModel from "@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel";
|
|
@@ -6878,9 +6886,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
|
|
|
6878
6886
|
*/
|
|
6879
6887
|
binNumber?: string;
|
|
6880
6888
|
/**
|
|
6881
|
-
* The
|
|
6889
|
+
* The Mode of the Barcode Scanner when creating this Barcode Scanner Result
|
|
6882
6890
|
*/
|
|
6883
|
-
|
|
6891
|
+
scanMode?: string;
|
|
6884
6892
|
/**
|
|
6885
6893
|
* The Packrun ID associated with this Barcode Scanner Result
|
|
6886
6894
|
*/
|
|
@@ -6911,9 +6919,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
|
|
|
6911
6919
|
*/
|
|
6912
6920
|
createdTimestamp?: Date;
|
|
6913
6921
|
/**
|
|
6914
|
-
* The
|
|
6922
|
+
* The Mode of the Barcode Scanner when creating this Barcode Scanner Result
|
|
6915
6923
|
*/
|
|
6916
|
-
|
|
6924
|
+
scanMode: string;
|
|
6917
6925
|
/**
|
|
6918
6926
|
* The Packrun ID associated with this Barcode Scanner Result
|
|
6919
6927
|
*/
|
|
@@ -6940,9 +6948,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
|
|
|
6940
6948
|
*/
|
|
6941
6949
|
createdTimestamp?: Date;
|
|
6942
6950
|
/**
|
|
6943
|
-
* The
|
|
6951
|
+
* The Mode of the Barcode Scanner when creating this Barcode Scanner Result
|
|
6944
6952
|
*/
|
|
6945
|
-
|
|
6953
|
+
scanMode?: string;
|
|
6946
6954
|
/**
|
|
6947
6955
|
* The Packrun ID associated with this Barcode Scanner Result
|
|
6948
6956
|
*/
|
|
@@ -10467,98 +10475,582 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
10467
10475
|
updateTimestampEnd?: Date;
|
|
10468
10476
|
};
|
|
10469
10477
|
/**
|
|
10470
|
-
* The Create Data for a Downtime Event
|
|
10478
|
+
* The Create Data for a Downtime Event
|
|
10479
|
+
*/
|
|
10480
|
+
export type CreateData = {
|
|
10481
|
+
/**
|
|
10482
|
+
* The Packing Line ID this Downtime Event is associated with
|
|
10483
|
+
*/
|
|
10484
|
+
packingLineId: string;
|
|
10485
|
+
/**
|
|
10486
|
+
* The Shift ID this Downtime Event is asssociated with
|
|
10487
|
+
*/
|
|
10488
|
+
shiftId?: string;
|
|
10489
|
+
/**
|
|
10490
|
+
* When this Downtime Event was Created
|
|
10491
|
+
*/
|
|
10492
|
+
createdTimestamp?: Date;
|
|
10493
|
+
/**
|
|
10494
|
+
* When this Downtime Event Started
|
|
10495
|
+
*/
|
|
10496
|
+
startTimestamp: Date;
|
|
10497
|
+
/**
|
|
10498
|
+
* When this Downtime Event Ended
|
|
10499
|
+
*/
|
|
10500
|
+
endTimestamp?: Date | null;
|
|
10501
|
+
/**
|
|
10502
|
+
* The Reason Category for this Downtime Event
|
|
10503
|
+
*/
|
|
10504
|
+
reasonCategory?: string | null;
|
|
10505
|
+
/**
|
|
10506
|
+
* The Reason Tag for this Downtime Event
|
|
10507
|
+
*/
|
|
10508
|
+
reasonTag?: string | null;
|
|
10509
|
+
/**
|
|
10510
|
+
* An Optional Summary of the Action taken to Remedy this Downtime Event
|
|
10511
|
+
*/
|
|
10512
|
+
remedyAction?: string | null;
|
|
10513
|
+
/**
|
|
10514
|
+
* An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
|
|
10515
|
+
*/
|
|
10516
|
+
avoidableRating?: number | null;
|
|
10517
|
+
/**
|
|
10518
|
+
* The Source which Created this Downtime Event
|
|
10519
|
+
*/
|
|
10520
|
+
source?: string;
|
|
10521
|
+
/**
|
|
10522
|
+
* The Status of this Downtime Event
|
|
10523
|
+
*/
|
|
10524
|
+
status?: string;
|
|
10525
|
+
};
|
|
10526
|
+
/**
|
|
10527
|
+
* The Update Data for a Downtime Event
|
|
10528
|
+
*/
|
|
10529
|
+
export type UpdateData = {
|
|
10530
|
+
/**
|
|
10531
|
+
* The Packing Line ID this Downtime Event is associated with
|
|
10532
|
+
*/
|
|
10533
|
+
packingLineId?: string;
|
|
10534
|
+
/**
|
|
10535
|
+
* When this Downtime Event was Created
|
|
10536
|
+
*/
|
|
10537
|
+
createdTimestamp?: Date;
|
|
10538
|
+
/**
|
|
10539
|
+
* When this Downtime Event Started
|
|
10540
|
+
*/
|
|
10541
|
+
startTimestamp?: Date;
|
|
10542
|
+
/**
|
|
10543
|
+
* When this Downtime Event Ended
|
|
10544
|
+
*/
|
|
10545
|
+
endTimestamp?: Date | null;
|
|
10546
|
+
/**
|
|
10547
|
+
* The Reason Category for this Downtime Event
|
|
10548
|
+
*/
|
|
10549
|
+
reasonCategory?: string | null;
|
|
10550
|
+
/**
|
|
10551
|
+
* The Reason Tag for this Downtime Event
|
|
10552
|
+
*/
|
|
10553
|
+
reasonTag?: string | null;
|
|
10554
|
+
/**
|
|
10555
|
+
* An Optional Summary of the Action taken to Remedy this Downtime Event
|
|
10556
|
+
*/
|
|
10557
|
+
remedyAction?: string | null;
|
|
10558
|
+
/**
|
|
10559
|
+
* An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
|
|
10560
|
+
*/
|
|
10561
|
+
avoidableRating?: number | null;
|
|
10562
|
+
/**
|
|
10563
|
+
* The Source which Created this Downtime Event
|
|
10564
|
+
*/
|
|
10565
|
+
source?: string;
|
|
10566
|
+
/**
|
|
10567
|
+
* The Status of this Downtime Event
|
|
10568
|
+
*/
|
|
10569
|
+
status?: string;
|
|
10570
|
+
};
|
|
10571
|
+
/**
|
|
10572
|
+
* A **UserAccount** Type
|
|
10573
|
+
*/
|
|
10574
|
+
export type UserAccount = {
|
|
10575
|
+
/**
|
|
10576
|
+
* The User Account ID
|
|
10577
|
+
*/
|
|
10578
|
+
id: string | null;
|
|
10579
|
+
/**
|
|
10580
|
+
* The User's First Name
|
|
10581
|
+
*/
|
|
10582
|
+
firstName: string | null;
|
|
10583
|
+
/**
|
|
10584
|
+
* The User's Last Name
|
|
10585
|
+
*/
|
|
10586
|
+
lastName: string | null;
|
|
10587
|
+
};
|
|
10588
|
+
/**
|
|
10589
|
+
* A **CommentItem** Type
|
|
10590
|
+
*/
|
|
10591
|
+
export type CommentItem = {
|
|
10592
|
+
/**
|
|
10593
|
+
* The Comment ID
|
|
10594
|
+
*/
|
|
10595
|
+
id: string;
|
|
10596
|
+
userAccount: UserAccount;
|
|
10597
|
+
/**
|
|
10598
|
+
* The Content of the Comment
|
|
10599
|
+
*/
|
|
10600
|
+
content: string | null;
|
|
10601
|
+
/**
|
|
10602
|
+
* When the Comment was Created
|
|
10603
|
+
*/
|
|
10604
|
+
createdTimestamp: Date | null;
|
|
10605
|
+
/**
|
|
10606
|
+
* When the Comment was last Updated
|
|
10607
|
+
*/
|
|
10608
|
+
updatedTimestamp: Date | null;
|
|
10609
|
+
};
|
|
10610
|
+
}
|
|
10611
|
+
import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
|
|
10612
|
+
}
|
|
10613
|
+
|
|
10614
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackBinLotController' {
|
|
10615
|
+
export default FreshPackBinLotController;
|
|
10616
|
+
/**
|
|
10617
|
+
* Controller Class for FreshPack Bin Lots
|
|
10618
|
+
*
|
|
10619
|
+
* @class
|
|
10620
|
+
*/
|
|
10621
|
+
class FreshPackBinLotController {
|
|
10622
|
+
/**
|
|
10623
|
+
* Retrieve a FreshPack Bin Lot [GET /packhouse/sites/{siteId}/freshpack-bin-lots/{id}]
|
|
10624
|
+
*
|
|
10625
|
+
* @static
|
|
10626
|
+
* @public
|
|
10627
|
+
* @param {number} siteId The Site ID
|
|
10628
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10629
|
+
* @return {Promise<FreshPackBinLotModel>}
|
|
10630
|
+
*/
|
|
10631
|
+
static getOne(siteId: number, id: string): Promise<FreshPackBinLotModel>;
|
|
10632
|
+
/**
|
|
10633
|
+
* Update a FreshPack Bin Lot [PATCH /packhouse/sites/{siteId}/freshpack-bin-lots/{id}]
|
|
10634
|
+
*
|
|
10635
|
+
* @static
|
|
10636
|
+
* @public
|
|
10637
|
+
* @param {number} siteId The Site ID
|
|
10638
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10639
|
+
* @param {FreshPackBinLotController.UpdateData} updateData The FreshPack Bin Lot Update Data
|
|
10640
|
+
* @return {Promise<FreshPackBinLotModel>}
|
|
10641
|
+
*/
|
|
10642
|
+
static update(siteId: number, id: string, updateData: FreshPackBinLotController.UpdateData): Promise<FreshPackBinLotModel>;
|
|
10643
|
+
/**
|
|
10644
|
+
* Delete a FreshPack Bin Lot [DELETE /packhouse/sites/{siteId}/freshpack-bin-lots/{id}]
|
|
10645
|
+
*
|
|
10646
|
+
* @static
|
|
10647
|
+
* @public
|
|
10648
|
+
* @param {number} siteId The Site ID
|
|
10649
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10650
|
+
* @return {Promise<boolean>}
|
|
10651
|
+
*/
|
|
10652
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10653
|
+
/**
|
|
10654
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/freshpack-bin-lots/{id}/comments]
|
|
10655
|
+
*
|
|
10656
|
+
* Retrieves Comments for a FreshPack Bin Lot
|
|
10657
|
+
*
|
|
10658
|
+
* @static
|
|
10659
|
+
* @public
|
|
10660
|
+
* @param {number} siteId The Site ID
|
|
10661
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10662
|
+
* @return {Promise<Array<FreshPackBinLotController.CommentItem>>}
|
|
10663
|
+
*/
|
|
10664
|
+
static getComments(siteId: number, id: string): Promise<Array<FreshPackBinLotController.CommentItem>>;
|
|
10665
|
+
/**
|
|
10666
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/freshpack-bin-lots/{id}/comments]
|
|
10667
|
+
*
|
|
10668
|
+
* Create a Comment for a FreshPack Bin Lot
|
|
10669
|
+
*
|
|
10670
|
+
* @static
|
|
10671
|
+
* @public
|
|
10672
|
+
* @param {number} siteId The Site ID
|
|
10673
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10674
|
+
* @param {string} content The Content of the New Comment
|
|
10675
|
+
* @return {Promise<FreshPackBinLotController.CommentItem>}
|
|
10676
|
+
*/
|
|
10677
|
+
static createComment(siteId: number, id: string, content: string): Promise<FreshPackBinLotController.CommentItem>;
|
|
10678
|
+
/**
|
|
10679
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/freshpack-bin-lots/{id}/comments/{commentId}]
|
|
10680
|
+
*
|
|
10681
|
+
* Retrieves Comments for a FreshPack Bin Lot
|
|
10682
|
+
*
|
|
10683
|
+
* @static
|
|
10684
|
+
* @public
|
|
10685
|
+
* @param {number} siteId The Site ID
|
|
10686
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10687
|
+
* @param {string} commentId The Comment ID
|
|
10688
|
+
* @return {Promise<FreshPackBinLotController.CommentItem>}
|
|
10689
|
+
*/
|
|
10690
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<FreshPackBinLotController.CommentItem>;
|
|
10691
|
+
/**
|
|
10692
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/freshpack-bin-lots/{id}/comments/{commentId}]
|
|
10693
|
+
*
|
|
10694
|
+
* Update a Comment for a FreshPack Bin Lot
|
|
10695
|
+
*
|
|
10696
|
+
* @static
|
|
10697
|
+
* @public
|
|
10698
|
+
* @param {number} siteId The Site ID
|
|
10699
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10700
|
+
* @param {string} commentId The Comment ID
|
|
10701
|
+
* @param {string} content The Updated Content for the Comment
|
|
10702
|
+
* @return {Promise<FreshPackBinLotController.CommentItem>}
|
|
10703
|
+
*/
|
|
10704
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<FreshPackBinLotController.CommentItem>;
|
|
10705
|
+
/**
|
|
10706
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/freshpack-bin-lots/{id}/comments/{commentId}]
|
|
10707
|
+
*
|
|
10708
|
+
* Delete a Comment for a FreshPack Bin Lot
|
|
10709
|
+
*
|
|
10710
|
+
* @static
|
|
10711
|
+
* @public
|
|
10712
|
+
* @param {number} siteId The Site ID
|
|
10713
|
+
* @param {string} id The FreshPack Bin Lot ID
|
|
10714
|
+
* @param {string} commentId The Comment ID
|
|
10715
|
+
* @return {Promise<boolean>}
|
|
10716
|
+
*/
|
|
10717
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
10718
|
+
/**
|
|
10719
|
+
* List all FreshPack Bin Lots [GET /packhouse/sites/{siteId}/freshpack-bin-lots]
|
|
10720
|
+
*
|
|
10721
|
+
* @static
|
|
10722
|
+
* @public
|
|
10723
|
+
* @param {number} siteId The Site ID
|
|
10724
|
+
* @param {FreshPackBinLotController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10725
|
+
* @return {Promise<FreshPackBinLotModel[]>}
|
|
10726
|
+
*/
|
|
10727
|
+
static getAll(siteId: number, queryParameters?: FreshPackBinLotController.GetAllQueryParameters | undefined): Promise<FreshPackBinLotModel[]>;
|
|
10728
|
+
/**
|
|
10729
|
+
* Create a FreshPack Bin Lot [POST /packhouse/sites/{siteId}/freshpack-bin-lots]
|
|
10730
|
+
*
|
|
10731
|
+
* @static
|
|
10732
|
+
* @public
|
|
10733
|
+
* @param {number} siteId The Site ID
|
|
10734
|
+
* @param {FreshPackBinLotController.CreateData} createData The FreshPack Bin Lot Create Data
|
|
10735
|
+
* @return {Promise<FreshPackBinLotModel>}
|
|
10736
|
+
*/
|
|
10737
|
+
static create(siteId: number, createData: FreshPackBinLotController.CreateData): Promise<FreshPackBinLotModel>;
|
|
10738
|
+
}
|
|
10739
|
+
namespace FreshPackBinLotController {
|
|
10740
|
+
/**
|
|
10741
|
+
* The Optional Query Parameters for the getAll Function
|
|
10742
|
+
*/
|
|
10743
|
+
export type GetAllQueryParameters = {
|
|
10744
|
+
/**
|
|
10745
|
+
* The Bin Tip ID this Bin Lot is associated with
|
|
10746
|
+
*/
|
|
10747
|
+
binTipId?: string;
|
|
10748
|
+
/**
|
|
10749
|
+
* The Bin Lot Code
|
|
10750
|
+
*/
|
|
10751
|
+
binLotCode?: string;
|
|
10752
|
+
/**
|
|
10753
|
+
* Filter by the Timestamp when this FreshPack Bin Lot was Created. Results Greater than or Equal to Timestamp
|
|
10754
|
+
*/
|
|
10755
|
+
createdTimestampBegin?: Date;
|
|
10756
|
+
/**
|
|
10757
|
+
* Filter by the Timestamp when this FreshPack Bin Lot was Created. Results Less than or Equal to Timestamp
|
|
10758
|
+
*/
|
|
10759
|
+
createdTimestampEnd?: Date;
|
|
10760
|
+
};
|
|
10761
|
+
/**
|
|
10762
|
+
* The Create Data for a FreshPack Bin Lot
|
|
10763
|
+
*/
|
|
10764
|
+
export type CreateData = {
|
|
10765
|
+
/**
|
|
10766
|
+
* The Bin Tip ID this Bin Lot is associated with
|
|
10767
|
+
*/
|
|
10768
|
+
binTipId: string;
|
|
10769
|
+
/**
|
|
10770
|
+
* The Bin Lot Code
|
|
10771
|
+
*/
|
|
10772
|
+
binLotCode?: string;
|
|
10773
|
+
/**
|
|
10774
|
+
* When this Bin Lot was Created
|
|
10775
|
+
*/
|
|
10776
|
+
createdTimestamp?: Date;
|
|
10777
|
+
/**
|
|
10778
|
+
* An Array of Packrun IDs associated with this Bin Lot
|
|
10779
|
+
*/
|
|
10780
|
+
packrunIds?: string[];
|
|
10781
|
+
/**
|
|
10782
|
+
* An Array of Bin Numbers for this Bin Lot
|
|
10783
|
+
*/
|
|
10784
|
+
binNumbers?: string[];
|
|
10785
|
+
};
|
|
10786
|
+
/**
|
|
10787
|
+
* The Update Data for a FreshPack Bin Lot
|
|
10788
|
+
*/
|
|
10789
|
+
export type UpdateData = {
|
|
10790
|
+
/**
|
|
10791
|
+
* The Bin Tip ID this Bin Lot is associated with
|
|
10792
|
+
*/
|
|
10793
|
+
binTipId?: string;
|
|
10794
|
+
/**
|
|
10795
|
+
* When this Bin Lot was Created
|
|
10796
|
+
*/
|
|
10797
|
+
createdTimestamp?: Date;
|
|
10798
|
+
/**
|
|
10799
|
+
* An Array of Packrun IDs associated with this Bin Lot
|
|
10800
|
+
*/
|
|
10801
|
+
packrunIds?: string[];
|
|
10802
|
+
/**
|
|
10803
|
+
* An Array of Bin Numbers for this Bin Lot
|
|
10804
|
+
*/
|
|
10805
|
+
binNumbers?: string[];
|
|
10806
|
+
};
|
|
10807
|
+
/**
|
|
10808
|
+
* A **UserAccount** Type
|
|
10809
|
+
*/
|
|
10810
|
+
export type UserAccount = {
|
|
10811
|
+
/**
|
|
10812
|
+
* The User Account ID
|
|
10813
|
+
*/
|
|
10814
|
+
id: string | null;
|
|
10815
|
+
/**
|
|
10816
|
+
* The User's First Name
|
|
10817
|
+
*/
|
|
10818
|
+
firstName: string | null;
|
|
10819
|
+
/**
|
|
10820
|
+
* The User's Last Name
|
|
10821
|
+
*/
|
|
10822
|
+
lastName: string | null;
|
|
10823
|
+
};
|
|
10824
|
+
/**
|
|
10825
|
+
* A **CommentItem** Type
|
|
10826
|
+
*/
|
|
10827
|
+
export type CommentItem = {
|
|
10828
|
+
/**
|
|
10829
|
+
* The Comment ID
|
|
10830
|
+
*/
|
|
10831
|
+
id: string;
|
|
10832
|
+
userAccount: UserAccount;
|
|
10833
|
+
/**
|
|
10834
|
+
* The Content of the Comment
|
|
10835
|
+
*/
|
|
10836
|
+
content: string | null;
|
|
10837
|
+
/**
|
|
10838
|
+
* When the Comment was Created
|
|
10839
|
+
*/
|
|
10840
|
+
createdTimestamp: Date | null;
|
|
10841
|
+
/**
|
|
10842
|
+
* When the Comment was last Updated
|
|
10843
|
+
*/
|
|
10844
|
+
updatedTimestamp: Date | null;
|
|
10845
|
+
};
|
|
10846
|
+
}
|
|
10847
|
+
import FreshPackBinLotModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackBinLotModel";
|
|
10848
|
+
}
|
|
10849
|
+
|
|
10850
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackFruitTemperatureController' {
|
|
10851
|
+
export default FreshPackFruitTemperatureController;
|
|
10852
|
+
/**
|
|
10853
|
+
* Controller Class for FreshPack Fruit Temperatures
|
|
10854
|
+
*
|
|
10855
|
+
* @class
|
|
10856
|
+
*/
|
|
10857
|
+
class FreshPackFruitTemperatureController {
|
|
10858
|
+
/**
|
|
10859
|
+
* Retrieve a FreshPack Fruit Temperature [GET /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}]
|
|
10860
|
+
*
|
|
10861
|
+
* @static
|
|
10862
|
+
* @public
|
|
10863
|
+
* @param {number} siteId The Site ID
|
|
10864
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10865
|
+
* @return {Promise<FreshPackFruitTemperatureModel>}
|
|
10866
|
+
*/
|
|
10867
|
+
static getOne(siteId: number, id: string): Promise<FreshPackFruitTemperatureModel>;
|
|
10868
|
+
/**
|
|
10869
|
+
* Update a FreshPack Fruit Temperature [PATCH /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}]
|
|
10870
|
+
*
|
|
10871
|
+
* @static
|
|
10872
|
+
* @public
|
|
10873
|
+
* @param {number} siteId The Site ID
|
|
10874
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10875
|
+
* @param {FreshPackFruitTemperatureController.UpdateData} updateData The FreshPack Fruit Temperature Update Data
|
|
10876
|
+
* @return {Promise<FreshPackFruitTemperatureModel>}
|
|
10877
|
+
*/
|
|
10878
|
+
static update(siteId: number, id: string, updateData: FreshPackFruitTemperatureController.UpdateData): Promise<FreshPackFruitTemperatureModel>;
|
|
10879
|
+
/**
|
|
10880
|
+
* Delete a FreshPack Fruit Temperature [DELETE /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}]
|
|
10881
|
+
*
|
|
10882
|
+
* @static
|
|
10883
|
+
* @public
|
|
10884
|
+
* @param {number} siteId The Site ID
|
|
10885
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10886
|
+
* @return {Promise<boolean>}
|
|
10887
|
+
*/
|
|
10888
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
10889
|
+
/**
|
|
10890
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}/comments]
|
|
10891
|
+
*
|
|
10892
|
+
* Retrieves Comments for a FreshPack Fruit Temperature
|
|
10893
|
+
*
|
|
10894
|
+
* @static
|
|
10895
|
+
* @public
|
|
10896
|
+
* @param {number} siteId The Site ID
|
|
10897
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10898
|
+
* @return {Promise<Array<FreshPackFruitTemperatureController.CommentItem>>}
|
|
10899
|
+
*/
|
|
10900
|
+
static getComments(siteId: number, id: string): Promise<Array<FreshPackFruitTemperatureController.CommentItem>>;
|
|
10901
|
+
/**
|
|
10902
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}/comments]
|
|
10903
|
+
*
|
|
10904
|
+
* Create a Comment for a FreshPack Fruit Temperature
|
|
10905
|
+
*
|
|
10906
|
+
* @static
|
|
10907
|
+
* @public
|
|
10908
|
+
* @param {number} siteId The Site ID
|
|
10909
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10910
|
+
* @param {string} content The Content of the New Comment
|
|
10911
|
+
* @return {Promise<FreshPackFruitTemperatureController.CommentItem>}
|
|
10912
|
+
*/
|
|
10913
|
+
static createComment(siteId: number, id: string, content: string): Promise<FreshPackFruitTemperatureController.CommentItem>;
|
|
10914
|
+
/**
|
|
10915
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}/comments/{commentId}]
|
|
10916
|
+
*
|
|
10917
|
+
* Retrieves Comments for a FreshPack Fruit Temperature
|
|
10918
|
+
*
|
|
10919
|
+
* @static
|
|
10920
|
+
* @public
|
|
10921
|
+
* @param {number} siteId The Site ID
|
|
10922
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10923
|
+
* @param {string} commentId The Comment ID
|
|
10924
|
+
* @return {Promise<FreshPackFruitTemperatureController.CommentItem>}
|
|
10925
|
+
*/
|
|
10926
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<FreshPackFruitTemperatureController.CommentItem>;
|
|
10927
|
+
/**
|
|
10928
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}/comments/{commentId}]
|
|
10929
|
+
*
|
|
10930
|
+
* Update a Comment for a FreshPack Fruit Temperature
|
|
10931
|
+
*
|
|
10932
|
+
* @static
|
|
10933
|
+
* @public
|
|
10934
|
+
* @param {number} siteId The Site ID
|
|
10935
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10936
|
+
* @param {string} commentId The Comment ID
|
|
10937
|
+
* @param {string} content The Updated Content for the Comment
|
|
10938
|
+
* @return {Promise<FreshPackFruitTemperatureController.CommentItem>}
|
|
10939
|
+
*/
|
|
10940
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<FreshPackFruitTemperatureController.CommentItem>;
|
|
10941
|
+
/**
|
|
10942
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/freshpack-fruit-temperatures/{id}/comments/{commentId}]
|
|
10943
|
+
*
|
|
10944
|
+
* Delete a Comment for a FreshPack Fruit Temperature
|
|
10945
|
+
*
|
|
10946
|
+
* @static
|
|
10947
|
+
* @public
|
|
10948
|
+
* @param {number} siteId The Site ID
|
|
10949
|
+
* @param {string} id The FreshPack Fruit Temperature ID
|
|
10950
|
+
* @param {string} commentId The Comment ID
|
|
10951
|
+
* @return {Promise<boolean>}
|
|
10952
|
+
*/
|
|
10953
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
10954
|
+
/**
|
|
10955
|
+
* List all FreshPack Fruit Temperatures [GET /packhouse/sites/{siteId}/freshpack-fruit-temperatures]
|
|
10956
|
+
*
|
|
10957
|
+
* @static
|
|
10958
|
+
* @public
|
|
10959
|
+
* @param {number} siteId The Site ID
|
|
10960
|
+
* @param {FreshPackFruitTemperatureController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10961
|
+
* @return {Promise<FreshPackFruitTemperatureModel[]>}
|
|
10962
|
+
*/
|
|
10963
|
+
static getAll(siteId: number, queryParameters?: FreshPackFruitTemperatureController.GetAllQueryParameters | undefined): Promise<FreshPackFruitTemperatureModel[]>;
|
|
10964
|
+
/**
|
|
10965
|
+
* Create a FreshPack Fruit Temperature [POST /packhouse/sites/{siteId}/freshpack-fruit-temperatures]
|
|
10966
|
+
*
|
|
10967
|
+
* @static
|
|
10968
|
+
* @public
|
|
10969
|
+
* @param {number} siteId The Site ID
|
|
10970
|
+
* @param {FreshPackFruitTemperatureController.CreateData} createData The FreshPack Fruit Temperature Create Data
|
|
10971
|
+
* @return {Promise<FreshPackFruitTemperatureModel>}
|
|
10972
|
+
*/
|
|
10973
|
+
static create(siteId: number, createData: FreshPackFruitTemperatureController.CreateData): Promise<FreshPackFruitTemperatureModel>;
|
|
10974
|
+
}
|
|
10975
|
+
namespace FreshPackFruitTemperatureController {
|
|
10976
|
+
/**
|
|
10977
|
+
* The Optional Query Parameters for the getAll Function
|
|
10471
10978
|
*/
|
|
10472
|
-
export type
|
|
10979
|
+
export type GetAllQueryParameters = {
|
|
10473
10980
|
/**
|
|
10474
|
-
* The
|
|
10981
|
+
* The Bin Tip ID this Fruit Temperature is associated with
|
|
10475
10982
|
*/
|
|
10476
|
-
|
|
10983
|
+
binTipId?: string;
|
|
10477
10984
|
/**
|
|
10478
|
-
* The
|
|
10985
|
+
* The Fresh Pack Bin Lot ID this Fruit Temperature is associated with
|
|
10479
10986
|
*/
|
|
10480
|
-
|
|
10987
|
+
freshPackBinLotId?: string;
|
|
10481
10988
|
/**
|
|
10482
|
-
*
|
|
10989
|
+
* The Packrun ID associated with this Fruit Temperature
|
|
10483
10990
|
*/
|
|
10484
|
-
|
|
10991
|
+
packrunId?: string;
|
|
10485
10992
|
/**
|
|
10486
|
-
*
|
|
10993
|
+
* Filter by the Timestamp when this FreshPack Fruit Temperature was Created. Results Greater than or Equal to Timestamp
|
|
10487
10994
|
*/
|
|
10488
|
-
|
|
10995
|
+
createdTimestampBegin?: Date;
|
|
10489
10996
|
/**
|
|
10490
|
-
*
|
|
10997
|
+
* Filter by the Timestamp when this FreshPack Fruit Temperature was Created. Results Less than or Equal to Timestamp
|
|
10491
10998
|
*/
|
|
10492
|
-
|
|
10999
|
+
createdTimestampEnd?: Date;
|
|
11000
|
+
};
|
|
11001
|
+
/**
|
|
11002
|
+
* The Create Data for a FreshPack Fruit Temperature
|
|
11003
|
+
*/
|
|
11004
|
+
export type CreateData = {
|
|
10493
11005
|
/**
|
|
10494
|
-
* The
|
|
11006
|
+
* The Bin Tip ID this Fruit Temperature is associated with
|
|
10495
11007
|
*/
|
|
10496
|
-
|
|
11008
|
+
binTipId: string;
|
|
10497
11009
|
/**
|
|
10498
|
-
* The
|
|
11010
|
+
* The Fresh Pack Bin Lot ID this Fruit Temperature is associated with
|
|
10499
11011
|
*/
|
|
10500
|
-
|
|
11012
|
+
freshPackBinLotId?: string;
|
|
10501
11013
|
/**
|
|
10502
|
-
*
|
|
11014
|
+
* When this Fruit Temperature was Created
|
|
10503
11015
|
*/
|
|
10504
|
-
|
|
11016
|
+
createdTimestamp?: Date;
|
|
10505
11017
|
/**
|
|
10506
|
-
*
|
|
11018
|
+
* The Temperature of the Fruit
|
|
10507
11019
|
*/
|
|
10508
|
-
|
|
11020
|
+
temperature: number;
|
|
10509
11021
|
/**
|
|
10510
|
-
* The
|
|
11022
|
+
* The Packrun ID associated with this Fruit Temperature
|
|
10511
11023
|
*/
|
|
10512
|
-
|
|
11024
|
+
packrunId: string;
|
|
10513
11025
|
/**
|
|
10514
|
-
*
|
|
11026
|
+
* Result from Interacting with the FreshPack API to Send this Fruit Temperature
|
|
10515
11027
|
*/
|
|
10516
|
-
|
|
11028
|
+
freshPackFruitTemperatureApi?: FruitTemperatureApiStatus | null;
|
|
10517
11029
|
};
|
|
10518
11030
|
/**
|
|
10519
|
-
* The Update Data for a
|
|
11031
|
+
* The Update Data for a FreshPack Fruit Temperature
|
|
10520
11032
|
*/
|
|
10521
11033
|
export type UpdateData = {
|
|
10522
11034
|
/**
|
|
10523
|
-
* The
|
|
11035
|
+
* The Bin Tip ID this Fruit Temperature is associated with
|
|
10524
11036
|
*/
|
|
10525
|
-
|
|
11037
|
+
binTipId?: string;
|
|
10526
11038
|
/**
|
|
10527
|
-
* When this
|
|
11039
|
+
* When this Fruit Temperature was Created
|
|
10528
11040
|
*/
|
|
10529
11041
|
createdTimestamp?: Date;
|
|
10530
11042
|
/**
|
|
10531
|
-
*
|
|
10532
|
-
*/
|
|
10533
|
-
startTimestamp?: Date;
|
|
10534
|
-
/**
|
|
10535
|
-
* When this Downtime Event Ended
|
|
10536
|
-
*/
|
|
10537
|
-
endTimestamp?: Date | null;
|
|
10538
|
-
/**
|
|
10539
|
-
* The Reason Category for this Downtime Event
|
|
10540
|
-
*/
|
|
10541
|
-
reasonCategory?: string | null;
|
|
10542
|
-
/**
|
|
10543
|
-
* The Reason Tag for this Downtime Event
|
|
10544
|
-
*/
|
|
10545
|
-
reasonTag?: string | null;
|
|
10546
|
-
/**
|
|
10547
|
-
* An Optional Summary of the Action taken to Remedy this Downtime Event
|
|
10548
|
-
*/
|
|
10549
|
-
remedyAction?: string | null;
|
|
10550
|
-
/**
|
|
10551
|
-
* An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
|
|
11043
|
+
* The Temperature of the Fruit
|
|
10552
11044
|
*/
|
|
10553
|
-
|
|
11045
|
+
temperature?: number;
|
|
10554
11046
|
/**
|
|
10555
|
-
* The
|
|
11047
|
+
* The Packrun ID associated with this Fruit Temperature
|
|
10556
11048
|
*/
|
|
10557
|
-
|
|
11049
|
+
packrunId?: string;
|
|
10558
11050
|
/**
|
|
10559
|
-
*
|
|
11051
|
+
* Result from Interacting with the FreshPack API to Send this Fruit Temperature
|
|
10560
11052
|
*/
|
|
10561
|
-
|
|
11053
|
+
freshPackFruitTemperatureApi?: FruitTemperatureApiStatus | null;
|
|
10562
11054
|
};
|
|
10563
11055
|
/**
|
|
10564
11056
|
* A **UserAccount** Type
|
|
@@ -10599,8 +11091,33 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
10599
11091
|
*/
|
|
10600
11092
|
updatedTimestamp: Date | null;
|
|
10601
11093
|
};
|
|
11094
|
+
/**
|
|
11095
|
+
* A **FruitTemperatureApiStatus** Type
|
|
11096
|
+
*/
|
|
11097
|
+
export type FruitTemperatureApiStatus = {
|
|
11098
|
+
/**
|
|
11099
|
+
* Number of Requests made to the FreshPack API
|
|
11100
|
+
*/
|
|
11101
|
+
requestCount: number;
|
|
11102
|
+
/**
|
|
11103
|
+
* Timestamp of the last Request made to the FreshPack API
|
|
11104
|
+
*/
|
|
11105
|
+
requestTimestamp: Date | null;
|
|
11106
|
+
/**
|
|
11107
|
+
* Response Code from the last FreshPack API Request
|
|
11108
|
+
*/
|
|
11109
|
+
responseCode: number | null;
|
|
11110
|
+
/**
|
|
11111
|
+
* Response Message from the last FreshPack API Request
|
|
11112
|
+
*/
|
|
11113
|
+
responseMessage: string | null;
|
|
11114
|
+
/**
|
|
11115
|
+
* Whether Interaction with the FreshPack API has been Completed
|
|
11116
|
+
*/
|
|
11117
|
+
completed: boolean;
|
|
11118
|
+
};
|
|
10602
11119
|
}
|
|
10603
|
-
import
|
|
11120
|
+
import FreshPackFruitTemperatureModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackFruitTemperatureModel";
|
|
10604
11121
|
}
|
|
10605
11122
|
|
|
10606
11123
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSummaryController' {
|
|
@@ -19149,12 +19666,12 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerRes
|
|
|
19149
19666
|
*/
|
|
19150
19667
|
createdTimestamp: Date;
|
|
19151
19668
|
/**
|
|
19152
|
-
* The
|
|
19669
|
+
* The Mode of the Barcode Scanner when creating this Barcode Scanner Result
|
|
19153
19670
|
*
|
|
19154
19671
|
* @type {string}
|
|
19155
19672
|
* @public
|
|
19156
19673
|
*/
|
|
19157
|
-
|
|
19674
|
+
scanMode: string;
|
|
19158
19675
|
/**
|
|
19159
19676
|
* The Packrun ID associated with this Barcode Scanner Result
|
|
19160
19677
|
*
|
|
@@ -20708,6 +21225,211 @@ declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
|
|
|
20708
21225
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
20709
21226
|
}
|
|
20710
21227
|
|
|
21228
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackBinLotModel' {
|
|
21229
|
+
export default FreshPackBinLotModel;
|
|
21230
|
+
/**
|
|
21231
|
+
* Model Class for a FreshPack Bin Lot
|
|
21232
|
+
*
|
|
21233
|
+
* @class
|
|
21234
|
+
* @hideconstructor
|
|
21235
|
+
* @extends BaseModel
|
|
21236
|
+
*/
|
|
21237
|
+
class FreshPackBinLotModel extends BaseModel {
|
|
21238
|
+
/**
|
|
21239
|
+
* Create a new **FreshPackBinLotModel** from a JSON Object or JSON String
|
|
21240
|
+
*
|
|
21241
|
+
* @static
|
|
21242
|
+
* @public
|
|
21243
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
21244
|
+
* @param {number} siteId The Site ID associated with this FreshPack Bin Lot
|
|
21245
|
+
* @return {FreshPackBinLotModel}
|
|
21246
|
+
*/
|
|
21247
|
+
static fromJSON(json: {
|
|
21248
|
+
[x: string]: any;
|
|
21249
|
+
} | string, siteId: number): FreshPackBinLotModel;
|
|
21250
|
+
/**
|
|
21251
|
+
* FreshPackBinLotModel Constructor
|
|
21252
|
+
*
|
|
21253
|
+
* @protected
|
|
21254
|
+
* @param {number} siteId The Site ID associated with this FreshPack Bin Lot
|
|
21255
|
+
*/
|
|
21256
|
+
protected constructor();
|
|
21257
|
+
/**
|
|
21258
|
+
* The FreshPack Bin Lot ID
|
|
21259
|
+
*
|
|
21260
|
+
* @type {string}
|
|
21261
|
+
* @public
|
|
21262
|
+
*/
|
|
21263
|
+
id: string;
|
|
21264
|
+
/**
|
|
21265
|
+
* The Bin Tip ID this Bin Lot is associated with
|
|
21266
|
+
*
|
|
21267
|
+
* @type {string}
|
|
21268
|
+
* @public
|
|
21269
|
+
*/
|
|
21270
|
+
binTipId: string;
|
|
21271
|
+
/**
|
|
21272
|
+
* The Bin Lot Code
|
|
21273
|
+
*
|
|
21274
|
+
* @type {string}
|
|
21275
|
+
* @public
|
|
21276
|
+
*/
|
|
21277
|
+
binLotCode: string;
|
|
21278
|
+
/**
|
|
21279
|
+
* When this Bin Lot was Created
|
|
21280
|
+
*
|
|
21281
|
+
* @type {Date}
|
|
21282
|
+
* @public
|
|
21283
|
+
*/
|
|
21284
|
+
createdTimestamp: Date;
|
|
21285
|
+
/**
|
|
21286
|
+
* An Array of Packrun IDs associated with this Bin Lot
|
|
21287
|
+
*
|
|
21288
|
+
* @type {string[]}
|
|
21289
|
+
* @public
|
|
21290
|
+
*/
|
|
21291
|
+
packrunIds: string[];
|
|
21292
|
+
/**
|
|
21293
|
+
* An Array of Bin Numbers for this Bin Lot
|
|
21294
|
+
*
|
|
21295
|
+
* @type {string[]}
|
|
21296
|
+
* @public
|
|
21297
|
+
*/
|
|
21298
|
+
binNumbers: string[];
|
|
21299
|
+
/**
|
|
21300
|
+
* Whether the FreshPack Bin Lot has been deleted
|
|
21301
|
+
*
|
|
21302
|
+
* @type {boolean}
|
|
21303
|
+
* @public
|
|
21304
|
+
*/
|
|
21305
|
+
deleted: boolean;
|
|
21306
|
+
/**
|
|
21307
|
+
* When the FreshPack Bin Lot was last updated
|
|
21308
|
+
*
|
|
21309
|
+
* @type {Date}
|
|
21310
|
+
* @public
|
|
21311
|
+
*/
|
|
21312
|
+
updateTimestamp: Date;
|
|
21313
|
+
/**
|
|
21314
|
+
* The Site ID associated with this FreshPack Bin Lot
|
|
21315
|
+
*
|
|
21316
|
+
* @type {number}
|
|
21317
|
+
* @public
|
|
21318
|
+
*/
|
|
21319
|
+
siteId: number;
|
|
21320
|
+
}
|
|
21321
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
21322
|
+
}
|
|
21323
|
+
|
|
21324
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackFruitTemperatureModel' {
|
|
21325
|
+
export default FreshPackFruitTemperatureModel;
|
|
21326
|
+
/**
|
|
21327
|
+
* Model Class for a FreshPack Fruit Temperature
|
|
21328
|
+
*
|
|
21329
|
+
* @class
|
|
21330
|
+
* @hideconstructor
|
|
21331
|
+
* @extends BaseModel
|
|
21332
|
+
*/
|
|
21333
|
+
class FreshPackFruitTemperatureModel extends BaseModel {
|
|
21334
|
+
/**
|
|
21335
|
+
* Create a new **FreshPackFruitTemperatureModel** from a JSON Object or JSON String
|
|
21336
|
+
*
|
|
21337
|
+
* @static
|
|
21338
|
+
* @public
|
|
21339
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
21340
|
+
* @param {number} siteId The Site ID associated with this FreshPack Fruit Temperature
|
|
21341
|
+
* @return {FreshPackFruitTemperatureModel}
|
|
21342
|
+
*/
|
|
21343
|
+
static fromJSON(json: {
|
|
21344
|
+
[x: string]: any;
|
|
21345
|
+
} | string, siteId: number): FreshPackFruitTemperatureModel;
|
|
21346
|
+
/**
|
|
21347
|
+
* FreshPackFruitTemperatureModel Constructor
|
|
21348
|
+
*
|
|
21349
|
+
* @protected
|
|
21350
|
+
* @param {number} siteId The Site ID associated with this FreshPack Fruit Temperature
|
|
21351
|
+
*/
|
|
21352
|
+
protected constructor();
|
|
21353
|
+
/**
|
|
21354
|
+
* The FreshPack Fruit Temperature ID
|
|
21355
|
+
*
|
|
21356
|
+
* @type {string}
|
|
21357
|
+
* @public
|
|
21358
|
+
*/
|
|
21359
|
+
id: string;
|
|
21360
|
+
/**
|
|
21361
|
+
* The Bin Tip ID this Fruit Temperature is associated with
|
|
21362
|
+
*
|
|
21363
|
+
* @type {string}
|
|
21364
|
+
* @public
|
|
21365
|
+
*/
|
|
21366
|
+
binTipId: string;
|
|
21367
|
+
/**
|
|
21368
|
+
* The Fresh Pack Bin Lot ID this Fruit Temperature is associated with
|
|
21369
|
+
*
|
|
21370
|
+
* @type {string}
|
|
21371
|
+
* @public
|
|
21372
|
+
*/
|
|
21373
|
+
freshPackBinLotId: string;
|
|
21374
|
+
/**
|
|
21375
|
+
* When this Fruit Temperature was Created
|
|
21376
|
+
*
|
|
21377
|
+
* @type {Date}
|
|
21378
|
+
* @public
|
|
21379
|
+
*/
|
|
21380
|
+
createdTimestamp: Date;
|
|
21381
|
+
/**
|
|
21382
|
+
* The Temperature of the Fruit
|
|
21383
|
+
*
|
|
21384
|
+
* @type {number}
|
|
21385
|
+
* @public
|
|
21386
|
+
*/
|
|
21387
|
+
temperature: number;
|
|
21388
|
+
/**
|
|
21389
|
+
* The Packrun ID associated with this Fruit Temperature
|
|
21390
|
+
*
|
|
21391
|
+
* @type {string}
|
|
21392
|
+
* @public
|
|
21393
|
+
*/
|
|
21394
|
+
packrunId: string;
|
|
21395
|
+
/**
|
|
21396
|
+
* Result from Interacting with the FreshPack API to Send this Fruit Temperature
|
|
21397
|
+
*
|
|
21398
|
+
* @type {?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}}
|
|
21399
|
+
* @public
|
|
21400
|
+
*/
|
|
21401
|
+
freshPackFruitTemperatureApi: {
|
|
21402
|
+
requestCount: number;
|
|
21403
|
+
requestTimestamp: Date | null;
|
|
21404
|
+
responseCode: number | null;
|
|
21405
|
+
responseMessage: string | null;
|
|
21406
|
+
completed: boolean;
|
|
21407
|
+
} | null;
|
|
21408
|
+
/**
|
|
21409
|
+
* Whether the FreshPack Fruit Temperature has been deleted
|
|
21410
|
+
*
|
|
21411
|
+
* @type {boolean}
|
|
21412
|
+
* @public
|
|
21413
|
+
*/
|
|
21414
|
+
deleted: boolean;
|
|
21415
|
+
/**
|
|
21416
|
+
* When the FreshPack Fruit Temperature was last updated
|
|
21417
|
+
*
|
|
21418
|
+
* @type {Date}
|
|
21419
|
+
* @public
|
|
21420
|
+
*/
|
|
21421
|
+
updateTimestamp: Date;
|
|
21422
|
+
/**
|
|
21423
|
+
* The Site ID associated with this FreshPack Fruit Temperature
|
|
21424
|
+
*
|
|
21425
|
+
* @type {number}
|
|
21426
|
+
* @public
|
|
21427
|
+
*/
|
|
21428
|
+
siteId: number;
|
|
21429
|
+
}
|
|
21430
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
21431
|
+
}
|
|
21432
|
+
|
|
20711
21433
|
declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel' {
|
|
20712
21434
|
export default FreshPackPackrunSummaryModel;
|
|
20713
21435
|
/**
|