@ricado/api-client 2.3.21 → 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/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";
@@ -10603,6 +10611,515 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
10603
10611
  import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
10604
10612
  }
10605
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
10978
+ */
10979
+ export type GetAllQueryParameters = {
10980
+ /**
10981
+ * The Bin Tip ID this Fruit Temperature is associated with
10982
+ */
10983
+ binTipId?: string;
10984
+ /**
10985
+ * The Fresh Pack Bin Lot ID this Fruit Temperature is associated with
10986
+ */
10987
+ freshPackBinLotId?: string;
10988
+ /**
10989
+ * The Packrun ID associated with this Fruit Temperature
10990
+ */
10991
+ packrunId?: string;
10992
+ /**
10993
+ * Filter by the Timestamp when this FreshPack Fruit Temperature was Created. Results Greater than or Equal to Timestamp
10994
+ */
10995
+ createdTimestampBegin?: Date;
10996
+ /**
10997
+ * Filter by the Timestamp when this FreshPack Fruit Temperature was Created. Results Less than or Equal to Timestamp
10998
+ */
10999
+ createdTimestampEnd?: Date;
11000
+ };
11001
+ /**
11002
+ * The Create Data for a FreshPack Fruit Temperature
11003
+ */
11004
+ export type CreateData = {
11005
+ /**
11006
+ * The Bin Tip ID this Fruit Temperature is associated with
11007
+ */
11008
+ binTipId: string;
11009
+ /**
11010
+ * The Fresh Pack Bin Lot ID this Fruit Temperature is associated with
11011
+ */
11012
+ freshPackBinLotId?: string;
11013
+ /**
11014
+ * When this Fruit Temperature was Created
11015
+ */
11016
+ createdTimestamp?: Date;
11017
+ /**
11018
+ * The Temperature of the Fruit
11019
+ */
11020
+ temperature: number;
11021
+ /**
11022
+ * The Packrun ID associated with this Fruit Temperature
11023
+ */
11024
+ packrunId: string;
11025
+ /**
11026
+ * Result from Interacting with the FreshPack API to Send this Fruit Temperature
11027
+ */
11028
+ freshPackFruitTemperatureApi?: FruitTemperatureApiStatus | null;
11029
+ };
11030
+ /**
11031
+ * The Update Data for a FreshPack Fruit Temperature
11032
+ */
11033
+ export type UpdateData = {
11034
+ /**
11035
+ * The Bin Tip ID this Fruit Temperature is associated with
11036
+ */
11037
+ binTipId?: string;
11038
+ /**
11039
+ * When this Fruit Temperature was Created
11040
+ */
11041
+ createdTimestamp?: Date;
11042
+ /**
11043
+ * The Temperature of the Fruit
11044
+ */
11045
+ temperature?: number;
11046
+ /**
11047
+ * The Packrun ID associated with this Fruit Temperature
11048
+ */
11049
+ packrunId?: string;
11050
+ /**
11051
+ * Result from Interacting with the FreshPack API to Send this Fruit Temperature
11052
+ */
11053
+ freshPackFruitTemperatureApi?: FruitTemperatureApiStatus | null;
11054
+ };
11055
+ /**
11056
+ * A **UserAccount** Type
11057
+ */
11058
+ export type UserAccount = {
11059
+ /**
11060
+ * The User Account ID
11061
+ */
11062
+ id: string | null;
11063
+ /**
11064
+ * The User's First Name
11065
+ */
11066
+ firstName: string | null;
11067
+ /**
11068
+ * The User's Last Name
11069
+ */
11070
+ lastName: string | null;
11071
+ };
11072
+ /**
11073
+ * A **CommentItem** Type
11074
+ */
11075
+ export type CommentItem = {
11076
+ /**
11077
+ * The Comment ID
11078
+ */
11079
+ id: string;
11080
+ userAccount: UserAccount;
11081
+ /**
11082
+ * The Content of the Comment
11083
+ */
11084
+ content: string | null;
11085
+ /**
11086
+ * When the Comment was Created
11087
+ */
11088
+ createdTimestamp: Date | null;
11089
+ /**
11090
+ * When the Comment was last Updated
11091
+ */
11092
+ updatedTimestamp: Date | null;
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
+ };
11119
+ }
11120
+ import FreshPackFruitTemperatureModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackFruitTemperatureModel";
11121
+ }
11122
+
10606
11123
  declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSummaryController' {
10607
11124
  export default FreshPackPackrunSummaryController;
10608
11125
  /**
@@ -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
  /**