@ricado/api-client 2.3.18 → 2.3.20

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.
Files changed (41) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Packhouse/Site/BinTipBarcodeScannerController.js +4 -2
  3. package/lib/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController.js +207 -0
  4. package/lib/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +2 -2
  5. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
  6. package/lib/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
  7. package/lib/Controllers/Packhouse/Site/PackingLineController.js +2 -2
  8. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
  9. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +2 -2
  10. package/lib/Controllers/Packhouse/Site/index.js +3 -0
  11. package/lib/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +156 -8
  12. package/lib/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +315 -0
  13. package/lib/Models/Packhouse/Site/CompacSizerBinWeightModel.js +1 -1
  14. package/lib/Models/Packhouse/Site/CompacSizerModel.js +1 -1
  15. package/lib/Models/Packhouse/Site/MAFSizerModel.js +1 -1
  16. package/lib/Models/Packhouse/Site/PackingLineModel.js +2 -2
  17. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +1 -1
  18. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +1 -1
  19. package/lib/Models/Packhouse/Site/index.js +3 -0
  20. package/lib/PackageVersion.js +1 -1
  21. package/lib/index.d.ts +362 -40
  22. package/package.json +1 -1
  23. package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerController.js +4 -2
  24. package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController.js +184 -0
  25. package/src/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +2 -2
  26. package/src/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
  27. package/src/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
  28. package/src/Controllers/Packhouse/Site/PackingLineController.js +2 -2
  29. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
  30. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +2 -2
  31. package/src/Controllers/Packhouse/Site/index.js +2 -0
  32. package/src/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +208 -8
  33. package/src/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +305 -0
  34. package/src/Models/Packhouse/Site/CompacSizerBinWeightModel.js +1 -1
  35. package/src/Models/Packhouse/Site/CompacSizerModel.js +1 -1
  36. package/src/Models/Packhouse/Site/MAFSizerModel.js +1 -1
  37. package/src/Models/Packhouse/Site/PackingLineModel.js +2 -2
  38. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +1 -1
  39. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +1 -1
  40. package/src/Models/Packhouse/Site/index.js +2 -0
  41. package/src/PackageVersion.js +1 -1
package/lib/index.d.ts CHANGED
@@ -4309,6 +4309,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
4309
4309
  export default Site;
4310
4310
  namespace Site {
4311
4311
  export { BinTipBarcodeScannerController };
4312
+ export { BinTipBarcodeScannerResultController };
4312
4313
  export { BinTipBinCardController };
4313
4314
  export { BinTipBinController };
4314
4315
  export { BinTipWeightController };
@@ -4344,6 +4345,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
4344
4345
  export { VarietyController };
4345
4346
  }
4346
4347
  import BinTipBarcodeScannerController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScannerController";
4348
+ import BinTipBarcodeScannerResultController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController";
4347
4349
  import BinTipBinCardController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinCardController";
4348
4350
  import BinTipBinController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController";
4349
4351
  import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
@@ -5918,6 +5920,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
5918
5920
  export default Site;
5919
5921
  namespace Site {
5920
5922
  export { BinTipBarcodeScannerModel };
5923
+ export { BinTipBarcodeScannerResultModel };
5921
5924
  export { BinTipBinCardModel };
5922
5925
  export { BinTipBinModel };
5923
5926
  export { BinTipWeightModel };
@@ -5953,6 +5956,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
5953
5956
  export { VarietyModel };
5954
5957
  }
5955
5958
  import BinTipBarcodeScannerModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerModel";
5959
+ import BinTipBarcodeScannerResultModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerResultModel";
5956
5960
  import BinTipBinCardModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinCardModel";
5957
5961
  import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
5958
5962
  import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
@@ -6736,17 +6740,31 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
6736
6740
  * The Name of this Bin Tip Barcode Scanner
6737
6741
  */
6738
6742
  name: string;
6743
+ /**
6744
+ * The Bin Tip that owns this Barcode Scanner
6745
+ */
6746
+ binTipId: string;
6739
6747
  /**
6740
6748
  * The Points used by this Bin Tip Barcode Scanner
6741
6749
  */
6742
6750
  points: {
6751
+ scannerCommunicationStatus: number;
6752
+ scannerChargingStatus: number;
6753
+ scannerChargingTimeRemaining: number;
6754
+ scannerBatteryTemperature: number;
6755
+ scannerBatteryPercentage: number;
6756
+ scannerBatteryCurrent: number;
6757
+ scannerBatteryVoltage: number;
6743
6758
  scannerErrorBeepRequest: number;
6759
+ serviceCommunicationStatus: number;
6760
+ serviceCommunicationLatency: number;
6744
6761
  restartServiceRequest: number;
6762
+ recentScanResults: number;
6745
6763
  };
6746
6764
  /**
6747
- * The Bin Tip that owns this Barcode Scanner
6765
+ * The Mode for this Bin Tip Barcode Scanner
6748
6766
  */
6749
- binTipId: string;
6767
+ mode: string;
6750
6768
  };
6751
6769
  /**
6752
6770
  * The Update Data for a Bin Tip Barcode Scanner
@@ -6756,22 +6774,192 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
6756
6774
  * The Name of this Bin Tip Barcode Scanner
6757
6775
  */
6758
6776
  name?: string;
6777
+ /**
6778
+ * The Bin Tip that owns this Barcode Scanner
6779
+ */
6780
+ binTipId?: string;
6759
6781
  /**
6760
6782
  * The Points used by this Bin Tip Barcode Scanner
6761
6783
  */
6762
6784
  points?: {
6785
+ scannerCommunicationStatus: number;
6786
+ scannerChargingStatus: number;
6787
+ scannerChargingTimeRemaining: number;
6788
+ scannerBatteryTemperature: number;
6789
+ scannerBatteryPercentage: number;
6790
+ scannerBatteryCurrent: number;
6791
+ scannerBatteryVoltage: number;
6763
6792
  scannerErrorBeepRequest: number;
6793
+ serviceCommunicationStatus: number;
6794
+ serviceCommunicationLatency: number;
6764
6795
  restartServiceRequest: number;
6796
+ recentScanResults: number;
6765
6797
  };
6766
6798
  /**
6767
- * The Bin Tip that owns this Barcode Scanner
6799
+ * The Mode for this Bin Tip Barcode Scanner
6768
6800
  */
6769
- binTipId?: string;
6801
+ mode?: string;
6770
6802
  };
6771
6803
  }
6772
6804
  import BinTipBarcodeScannerModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerModel";
6773
6805
  }
6774
6806
 
6807
+ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController' {
6808
+ export default BinTipBarcodeScannerResultController;
6809
+ /**
6810
+ * Controller Class for Bin Tip Barcode Scanner Results
6811
+ *
6812
+ * @class
6813
+ */
6814
+ class BinTipBarcodeScannerResultController {
6815
+ /**
6816
+ * Retrieve a Bin Tip Barcode Scanner Result [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanner-results/{id}]
6817
+ *
6818
+ * @static
6819
+ * @public
6820
+ * @param {number} siteId The Site ID
6821
+ * @param {string} id The Bin Tip Barcode Scanner Result ID
6822
+ * @return {Promise<BinTipBarcodeScannerResultModel>}
6823
+ */
6824
+ static getOne(siteId: number, id: string): Promise<BinTipBarcodeScannerResultModel>;
6825
+ /**
6826
+ * Update a Bin Tip Barcode Scanner Result [PATCH /packhouse/sites/{siteId}/bin-tip-barcode-scanner-results/{id}]
6827
+ *
6828
+ * @static
6829
+ * @public
6830
+ * @param {number} siteId The Site ID
6831
+ * @param {string} id The Bin Tip Barcode Scanner Result ID
6832
+ * @param {BinTipBarcodeScannerResultController.UpdateData} updateData The Bin Tip Barcode Scanner Result Update Data
6833
+ * @return {Promise<BinTipBarcodeScannerResultModel>}
6834
+ */
6835
+ static update(siteId: number, id: string, updateData: BinTipBarcodeScannerResultController.UpdateData): Promise<BinTipBarcodeScannerResultModel>;
6836
+ /**
6837
+ * Delete a Bin Tip Barcode Scanner Result [DELETE /packhouse/sites/{siteId}/bin-tip-barcode-scanner-results/{id}]
6838
+ *
6839
+ * @static
6840
+ * @public
6841
+ * @param {number} siteId The Site ID
6842
+ * @param {string} id The Bin Tip Barcode Scanner Result ID
6843
+ * @return {Promise<boolean>}
6844
+ */
6845
+ static delete(siteId: number, id: string): Promise<boolean>;
6846
+ /**
6847
+ * List all Bin Tip Barcode Scanner Results [GET /packhouse/sites/{siteId}/bin-tip-barcode-scanner-results]
6848
+ *
6849
+ * @static
6850
+ * @public
6851
+ * @param {number} siteId The Site ID
6852
+ * @param {BinTipBarcodeScannerResultController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
6853
+ * @return {Promise<BinTipBarcodeScannerResultModel[]>}
6854
+ */
6855
+ static getAll(siteId: number, queryParameters?: BinTipBarcodeScannerResultController.GetAllQueryParameters | undefined): Promise<BinTipBarcodeScannerResultModel[]>;
6856
+ /**
6857
+ * Create a Bin Tip Barcode Scanner Result [POST /packhouse/sites/{siteId}/bin-tip-barcode-scanner-results]
6858
+ *
6859
+ * @static
6860
+ * @public
6861
+ * @param {number} siteId The Site ID
6862
+ * @param {BinTipBarcodeScannerResultController.CreateData} createData The Bin Tip Barcode Scanner Result Create Data
6863
+ * @return {Promise<BinTipBarcodeScannerResultModel>}
6864
+ */
6865
+ static create(siteId: number, createData: BinTipBarcodeScannerResultController.CreateData): Promise<BinTipBarcodeScannerResultModel>;
6866
+ }
6867
+ namespace BinTipBarcodeScannerResultController {
6868
+ /**
6869
+ * The Optional Query Parameters for the getAll Function
6870
+ */
6871
+ export type GetAllQueryParameters = {
6872
+ /**
6873
+ * The Bin Tip Barcode Scanner ID associated with this Result
6874
+ */
6875
+ barcodeScannerId?: string;
6876
+ /**
6877
+ * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
6878
+ */
6879
+ binNumber?: string;
6880
+ /**
6881
+ * The Type of this Barcode Scanner Result
6882
+ */
6883
+ type?: string;
6884
+ /**
6885
+ * The Packrun ID associated with this Barcode Scanner Result
6886
+ */
6887
+ packrunId?: string | null;
6888
+ /**
6889
+ * Filter by the Timestamp when this Barcode Scanner Result was Created. Results Greater than or Equal to Timestamp
6890
+ */
6891
+ createdTimestampBegin?: Date;
6892
+ /**
6893
+ * Filter by the Timestamp when this Barcode Scanner Result was Created. Results Less than or Equal to Timestamp
6894
+ */
6895
+ createdTimestampEnd?: Date;
6896
+ };
6897
+ /**
6898
+ * The Create Data for a Bin Tip Barcode Scanner Result
6899
+ */
6900
+ export type CreateData = {
6901
+ /**
6902
+ * The Bin Tip Barcode Scanner ID associated with this Result
6903
+ */
6904
+ barcodeScannerId: string;
6905
+ /**
6906
+ * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
6907
+ */
6908
+ binNumber?: string;
6909
+ /**
6910
+ * When this Barcode Scanner Result was Created
6911
+ */
6912
+ createdTimestamp?: Date;
6913
+ /**
6914
+ * The Type of this Barcode Scanner Result
6915
+ */
6916
+ type: string;
6917
+ /**
6918
+ * The Packrun ID associated with this Barcode Scanner Result
6919
+ */
6920
+ packrunId?: string | null;
6921
+ /**
6922
+ * Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
6923
+ */
6924
+ result: boolean;
6925
+ /**
6926
+ * An Optional Message to accompany the Result. Typically only present when the Result is **false**
6927
+ */
6928
+ resultMessage: string | null;
6929
+ };
6930
+ /**
6931
+ * The Update Data for a Bin Tip Barcode Scanner Result
6932
+ */
6933
+ export type UpdateData = {
6934
+ /**
6935
+ * The Bin Tip Barcode Scanner ID associated with this Result
6936
+ */
6937
+ barcodeScannerId?: string;
6938
+ /**
6939
+ * When this Barcode Scanner Result was Created
6940
+ */
6941
+ createdTimestamp?: Date;
6942
+ /**
6943
+ * The Type of this Barcode Scanner Result
6944
+ */
6945
+ type?: string;
6946
+ /**
6947
+ * The Packrun ID associated with this Barcode Scanner Result
6948
+ */
6949
+ packrunId?: string | null;
6950
+ /**
6951
+ * Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
6952
+ */
6953
+ result?: boolean;
6954
+ /**
6955
+ * An Optional Message to accompany the Result. Typically only present when the Result is **false**
6956
+ */
6957
+ resultMessage?: string | null;
6958
+ };
6959
+ }
6960
+ import BinTipBarcodeScannerResultModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerResultModel";
6961
+ }
6962
+
6775
6963
  declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinCardController' {
6776
6964
  export default BinTipBinCardController;
6777
6965
  /**
@@ -8428,7 +8616,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBinWeig
8428
8616
  /**
8429
8617
  * The Sources and Weights that make up this Bin Weight
8430
8618
  */
8431
- sources?: OutletSource | SizerBulkSource[];
8619
+ sources?: (OutletSource | SizerBulkSource)[];
8432
8620
  /**
8433
8621
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
8434
8622
  */
@@ -8457,7 +8645,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBinWeig
8457
8645
  /**
8458
8646
  * The Sources and Weights that make up this Bin Weight
8459
8647
  */
8460
- sources?: OutletSource | SizerBulkSource[];
8648
+ sources?: (OutletSource | SizerBulkSource)[];
8461
8649
  /**
8462
8650
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
8463
8651
  */
@@ -8838,7 +9026,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
8838
9026
  /**
8839
9027
  * An Array of Sources that deliver Fruit to this Compac Sizer
8840
9028
  */
8841
- sources?: RiserSource | SizerSource[];
9029
+ sources?: (RiserSource | SizerSource)[];
8842
9030
  };
8843
9031
  /**
8844
9032
  * The Update Data for a Compac Sizer
@@ -8923,7 +9111,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
8923
9111
  /**
8924
9112
  * An Array of Sources that deliver Fruit to this Compac Sizer
8925
9113
  */
8926
- sources?: RiserSource | SizerSource[];
9114
+ sources?: (RiserSource | SizerSource)[];
8927
9115
  };
8928
9116
  /**
8929
9117
  * A **CompacSizerLane** Type
@@ -11694,7 +11882,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerController
11694
11882
  /**
11695
11883
  * An Array of Sources that deliver Fruit to this MAF Sizer
11696
11884
  */
11697
- sources?: RiserSource | SizerSource[];
11885
+ sources?: (RiserSource | SizerSource)[];
11698
11886
  /**
11699
11887
  * An Array of Article to Class Type Maps for this MAF Sizer
11700
11888
  */
@@ -11764,7 +11952,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerController
11764
11952
  /**
11765
11953
  * An Array of Sources that deliver Fruit to this MAF Sizer
11766
11954
  */
11767
- sources?: RiserSource | SizerSource[];
11955
+ sources?: (RiserSource | SizerSource)[];
11768
11956
  /**
11769
11957
  * An Array of Article to Class Type Maps for this MAF Sizer
11770
11958
  */
@@ -13346,7 +13534,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
13346
13534
  /**
13347
13535
  * An Array of Configuration Points to be displayed in this Configuration Group
13348
13536
  */
13349
- configurationPoints: ConfigurationPoint | ConfigurationPoint[];
13537
+ configurationPoints: ConfigurationPoint[];
13350
13538
  };
13351
13539
  /**
13352
13540
  * A **ConfigurationSection** Type
@@ -13812,7 +14000,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
13812
14000
  /**
13813
14001
  * An Array of Steps that define the Advanced Packrun Management process
13814
14002
  */
13815
- steps: ManualStep | ClearSizersStep | CreateSizerBatchesStep | CheckFruitSizeProfileStep | AutoMAFActionStep | ManualMAFActionStep[];
14003
+ steps: (ManualStep | ClearSizersStep | CreateSizerBatchesStep | CheckFruitSizeProfileStep | AutoMAFActionStep | ManualMAFActionStep)[];
13816
14004
  /**
13817
14005
  * Whether Advanced Packrun Managed is Enabled on this Packing Line
13818
14006
  */
@@ -15139,7 +15327,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
15139
15327
  /**
15140
15328
  * An Array of Sources that deliver Fruit to this Reject Bin Scale
15141
15329
  */
15142
- sources?: SortingTableSource | BeltSource | SizerOutletSource[];
15330
+ sources?: (SortingTableSource | BeltSource | SizerOutletSource)[];
15143
15331
  /**
15144
15332
  * The Auto Packrun Change Configuration for this Reject Bin Scale
15145
15333
  */
@@ -15253,7 +15441,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
15253
15441
  /**
15254
15442
  * An Array of Sources that deliver Fruit to this Reject Bin Scale
15255
15443
  */
15256
- sources?: SortingTableSource | BeltSource | SizerOutletSource[];
15444
+ sources?: (SortingTableSource | BeltSource | SizerOutletSource)[];
15257
15445
  /**
15258
15446
  * The Auto Packrun Change Configuration for this Reject Bin Scale
15259
15447
  */
@@ -15589,7 +15777,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
15589
15777
  /**
15590
15778
  * The Source Weights that make up the Net Weight
15591
15779
  */
15592
- sources?: SortingTableSource | BeltSource | SizerOutletSource | MixedSource[];
15780
+ sources?: (SortingTableSource | BeltSource | SizerOutletSource | MixedSource)[];
15593
15781
  /**
15594
15782
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
15595
15783
  */
@@ -15618,7 +15806,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
15618
15806
  /**
15619
15807
  * The Source Weights that make up the Net Weight
15620
15808
  */
15621
- sources?: SortingTableSource | BeltSource | SizerOutletSource | MixedSource[];
15809
+ sources?: (SortingTableSource | BeltSource | SizerOutletSource | MixedSource)[];
15622
15810
  /**
15623
15811
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
15624
15812
  */
@@ -18844,23 +19032,40 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerMod
18844
19032
  * @public
18845
19033
  */
18846
19034
  name: string;
19035
+ /**
19036
+ * The Bin Tip that owns this Barcode Scanner
19037
+ *
19038
+ * @type {string}
19039
+ * @public
19040
+ */
19041
+ binTipId: string;
18847
19042
  /**
18848
19043
  * The Points used by this Bin Tip Barcode Scanner
18849
19044
  *
18850
- * @type {{scannerErrorBeepRequest: number, restartServiceRequest: number}}
19045
+ * @type {{scannerCommunicationStatus: number, scannerChargingStatus: number, scannerChargingTimeRemaining: number, scannerBatteryTemperature: number, scannerBatteryPercentage: number, scannerBatteryCurrent: number, scannerBatteryVoltage: number, scannerErrorBeepRequest: number, serviceCommunicationStatus: number, serviceCommunicationLatency: number, restartServiceRequest: number, recentScanResults: number}}
18851
19046
  * @public
18852
19047
  */
18853
19048
  points: {
19049
+ scannerCommunicationStatus: number;
19050
+ scannerChargingStatus: number;
19051
+ scannerChargingTimeRemaining: number;
19052
+ scannerBatteryTemperature: number;
19053
+ scannerBatteryPercentage: number;
19054
+ scannerBatteryCurrent: number;
19055
+ scannerBatteryVoltage: number;
18854
19056
  scannerErrorBeepRequest: number;
19057
+ serviceCommunicationStatus: number;
19058
+ serviceCommunicationLatency: number;
18855
19059
  restartServiceRequest: number;
19060
+ recentScanResults: number;
18856
19061
  };
18857
19062
  /**
18858
- * The Bin Tip that owns this Barcode Scanner
19063
+ * The Mode for this Bin Tip Barcode Scanner
18859
19064
  *
18860
19065
  * @type {string}
18861
19066
  * @public
18862
19067
  */
18863
- binTipId: string;
19068
+ mode: string;
18864
19069
  /**
18865
19070
  * Whether the Bin Tip Barcode Scanner has been deleted
18866
19071
  *
@@ -18886,6 +19091,123 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerMod
18886
19091
  import BaseModel from "@ricado/api-client/Models/BaseModel";
18887
19092
  }
18888
19093
 
19094
+ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerResultModel' {
19095
+ export default BinTipBarcodeScannerResultModel;
19096
+ /**
19097
+ * Model Class for a Bin Tip Barcode Scanner Result
19098
+ *
19099
+ * @class
19100
+ * @hideconstructor
19101
+ * @extends BaseModel
19102
+ */
19103
+ class BinTipBarcodeScannerResultModel extends BaseModel {
19104
+ /**
19105
+ * Create a new **BinTipBarcodeScannerResultModel** from a JSON Object or JSON String
19106
+ *
19107
+ * @static
19108
+ * @public
19109
+ * @param {Object<string, any>|string} json A JSON Object or JSON String
19110
+ * @param {number} siteId The Site ID associated with this Bin Tip Barcode Scanner Result
19111
+ * @return {BinTipBarcodeScannerResultModel}
19112
+ */
19113
+ static fromJSON(json: {
19114
+ [x: string]: any;
19115
+ } | string, siteId: number): BinTipBarcodeScannerResultModel;
19116
+ /**
19117
+ * BinTipBarcodeScannerResultModel Constructor
19118
+ *
19119
+ * @protected
19120
+ * @param {number} siteId The Site ID associated with this Bin Tip Barcode Scanner Result
19121
+ */
19122
+ protected constructor();
19123
+ /**
19124
+ * The Bin Tip Barcode Scanner Result ID
19125
+ *
19126
+ * @type {string}
19127
+ * @public
19128
+ */
19129
+ id: string;
19130
+ /**
19131
+ * The Bin Tip Barcode Scanner ID associated with this Result
19132
+ *
19133
+ * @type {string}
19134
+ * @public
19135
+ */
19136
+ barcodeScannerId: string;
19137
+ /**
19138
+ * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
19139
+ *
19140
+ * @type {string}
19141
+ * @public
19142
+ */
19143
+ binNumber: string;
19144
+ /**
19145
+ * When this Barcode Scanner Result was Created
19146
+ *
19147
+ * @type {Date}
19148
+ * @public
19149
+ */
19150
+ createdTimestamp: Date;
19151
+ /**
19152
+ * The Type of this Barcode Scanner Result
19153
+ *
19154
+ * @type {string}
19155
+ * @public
19156
+ */
19157
+ type: string;
19158
+ /**
19159
+ * The Packrun ID associated with this Barcode Scanner Result
19160
+ *
19161
+ * @type {?string}
19162
+ * @public
19163
+ */
19164
+ packrunId: string | null;
19165
+ /**
19166
+ * Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
19167
+ *
19168
+ * @type {boolean}
19169
+ * @public
19170
+ */
19171
+ result: boolean;
19172
+ /**
19173
+ * An Optional Message to accompany the Result. Typically only present when the Result is **false**
19174
+ *
19175
+ * @type {?string}
19176
+ * @public
19177
+ */
19178
+ resultMessage: string | null;
19179
+ /**
19180
+ * The Bin Lot Code of this Barcode Scanner Result
19181
+ *
19182
+ * @type {?string}
19183
+ * @public
19184
+ */
19185
+ binLotCode: string | null;
19186
+ /**
19187
+ * Whether the Bin Tip Barcode Scanner Result has been deleted
19188
+ *
19189
+ * @type {boolean}
19190
+ * @public
19191
+ */
19192
+ deleted: boolean;
19193
+ /**
19194
+ * When the Bin Tip Barcode Scanner Result was last updated
19195
+ *
19196
+ * @type {Date}
19197
+ * @public
19198
+ */
19199
+ updateTimestamp: Date;
19200
+ /**
19201
+ * The Site ID associated with this Bin Tip Barcode Scanner Result
19202
+ *
19203
+ * @type {number}
19204
+ * @public
19205
+ */
19206
+ siteId: number;
19207
+ }
19208
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
19209
+ }
19210
+
18889
19211
  declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinCardModel' {
18890
19212
  export default BinTipBinCardModel;
18891
19213
  /**
@@ -19491,10 +19813,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBinWeightMod
19491
19813
  /**
19492
19814
  * The Sources and Weights that make up this Bin Weight
19493
19815
  *
19494
- * @type {{type: string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}[]}
19816
+ * @type {Array<{type: string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}>}
19495
19817
  * @public
19496
19818
  */
19497
- sources: {
19819
+ sources: ({
19498
19820
  type: string;
19499
19821
  outletNumber: number;
19500
19822
  outletName: string | null;
@@ -19510,7 +19832,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBinWeightMod
19510
19832
  weight: number;
19511
19833
  fruitCount: number | null;
19512
19834
  }[];
19513
- }[];
19835
+ })[];
19514
19836
  /**
19515
19837
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
19516
19838
  *
@@ -19770,17 +20092,17 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
19770
20092
  /**
19771
20093
  * An Array of Sources that deliver Fruit to this Compac Sizer
19772
20094
  *
19773
- * @type {{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}[]}
20095
+ * @type {Array<{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}>}
19774
20096
  * @public
19775
20097
  */
19776
- sources: {
20098
+ sources: ({
19777
20099
  type: string;
19778
20100
  riserId: string;
19779
20101
  } | {
19780
20102
  type: string;
19781
20103
  sizerId: string;
19782
20104
  outletNumbers: number[];
19783
- }[];
20105
+ })[];
19784
20106
  /**
19785
20107
  * Whether the Compac Sizer has been deleted
19786
20108
  *
@@ -21053,17 +21375,17 @@ declare module '@ricado/api-client/Models/Packhouse/Site/MAFSizerModel' {
21053
21375
  /**
21054
21376
  * An Array of Sources that deliver Fruit to this MAF Sizer
21055
21377
  *
21056
- * @type {{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}[]}
21378
+ * @type {Array<{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}>}
21057
21379
  * @public
21058
21380
  */
21059
- sources: {
21381
+ sources: ({
21060
21382
  type: string;
21061
21383
  riserId: string;
21062
21384
  } | {
21063
21385
  type: string;
21064
21386
  sizerId: string;
21065
21387
  outletNumbers: number[];
21066
- }[];
21388
+ })[];
21067
21389
  /**
21068
21390
  * An Array of Article to Class Type Maps for this MAF Sizer
21069
21391
  *
@@ -21559,7 +21881,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21559
21881
  /**
21560
21882
  * The Automation Object for this Packing Line
21561
21883
  *
21562
- * @type {?{points: {controlMode: number, autoStartAllRequest: number, stopAllRequest: number, status: number, startWarningSiren: number, safetySystemHealthy: ?number}, autoControlGroups: Array<{id: string, name: string, points: {runControl: number, startRequest: number, stopRequest: number, status: number, disabled: number}, startDelay: ?number, userStartWithoutDependencies: boolean, startSequences: Array<{startDelay: number, startOrder: number, vsds: string[], contactors: string[], basicControls: Array<{points: {status: number, control: number}, name: string}>}>, downstreamDependencyGroups: string[], neighbourDependencyGroups: string[], shutdownAlarms: string[]}>, autoSpeedGroups: Array<{id: string, name: string, vsds: string[], points: {autoSetpoint: number, overrideSetpoint: number, overrideMode: number}, sectionId: string, displayOrder: number, supportsAutoMode: boolean}>, autoTargets: Array<{id: string, name: string, description: string, type: string, units: ?string, minValue: number, maxValue: number, points: {setpoint: number, actual: number}}>, vsds: Array<{id: string, displayOrder: number}>, contactors: Array<{id: string, displayOrder: number}>, basicControls: Array<{points: {status: number, control: number}, name: string, displayOrder: number}>, shutdownAlarms: string[], lightControls: Array<{name: string, points: {status: number, control: number}}>, infeedManagement: Array<{id: string, name: string, points: {infeedFruitPerMinuteTarget: number, infeedFruitPerMinuteActual: number, sizerFruitPerMinuteActual: number, sizerRecycleFruitPerMinute: number, riser1FruitPerMinuteActual: ?number, riser1LightsControlMode: ?number, riser1LightsManualControl: ?number, riser1LightsStatus: ?number, riser2FruitPerMinuteActual: ?number, riser2LightsControlMode: ?number, riser2LightsManualControl: ?number, riser2LightsStatus: ?number}, riserCount: number, displayOrder: number, riser1AutoControlGroupId: ?string, riser2AutoControlGroupId: ?string}>, autoSpeedSections: Array<{id: string, name: string, displayOrder: number, buttonControls: Array<{icon: string, name: string, type: string, points: {control: number, disable: number}, resetDelay: number, displayOrder: number}>, splitGroupId: ?string, splitGroupPosition: ?string}>, configurationGroups: Array<{id: string, name: string, sectionId: string, displayOrder: number, configurationPoints: {name: string, type: string, point: number}|{name: string, type: string, point: number, units: ?string, minValue: number, maxValue: number}[]}>, configurationSections: Array<{id: string, name: string, displayOrder: number}>, momentaryControlGroups: Array<{name: string, momentaryControls: Array<{name: string, points: Array<{name: string, point: number}>, displayOrder: number}>}>}}
21884
+ * @type {?{points: {controlMode: number, autoStartAllRequest: number, stopAllRequest: number, status: number, startWarningSiren: number, safetySystemHealthy: ?number}, autoControlGroups: Array<{id: string, name: string, points: {runControl: number, startRequest: number, stopRequest: number, status: number, disabled: number}, startDelay: ?number, userStartWithoutDependencies: boolean, startSequences: Array<{startDelay: number, startOrder: number, vsds: string[], contactors: string[], basicControls: Array<{points: {status: number, control: number}, name: string}>}>, downstreamDependencyGroups: string[], neighbourDependencyGroups: string[], shutdownAlarms: string[]}>, autoSpeedGroups: Array<{id: string, name: string, vsds: string[], points: {autoSetpoint: number, overrideSetpoint: number, overrideMode: number}, sectionId: string, displayOrder: number, supportsAutoMode: boolean}>, autoTargets: Array<{id: string, name: string, description: string, type: string, units: ?string, minValue: number, maxValue: number, points: {setpoint: number, actual: number}}>, vsds: Array<{id: string, displayOrder: number}>, contactors: Array<{id: string, displayOrder: number}>, basicControls: Array<{points: {status: number, control: number}, name: string, displayOrder: number}>, shutdownAlarms: string[], lightControls: Array<{name: string, points: {status: number, control: number}}>, infeedManagement: Array<{id: string, name: string, points: {infeedFruitPerMinuteTarget: number, infeedFruitPerMinuteActual: number, sizerFruitPerMinuteActual: number, sizerRecycleFruitPerMinute: number, riser1FruitPerMinuteActual: ?number, riser1LightsControlMode: ?number, riser1LightsManualControl: ?number, riser1LightsStatus: ?number, riser2FruitPerMinuteActual: ?number, riser2LightsControlMode: ?number, riser2LightsManualControl: ?number, riser2LightsStatus: ?number}, riserCount: number, displayOrder: number, riser1AutoControlGroupId: ?string, riser2AutoControlGroupId: ?string}>, autoSpeedSections: Array<{id: string, name: string, displayOrder: number, buttonControls: Array<{icon: string, name: string, type: string, points: {control: number, disable: number}, resetDelay: number, displayOrder: number}>, splitGroupId: ?string, splitGroupPosition: ?string}>, configurationGroups: Array<{id: string, name: string, sectionId: string, displayOrder: number, configurationPoints: Array<{name: string, type: string, point: number}|{name: string, type: string, point: number, units: ?string, minValue: number, maxValue: number}>}>, configurationSections: Array<{id: string, name: string, displayOrder: number}>, momentaryControlGroups: Array<{name: string, momentaryControls: Array<{name: string, points: Array<{name: string, point: number}>, displayOrder: number}>}>}}
21563
21885
  * @public
21564
21886
  */
21565
21887
  automation: {
@@ -21695,7 +22017,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21695
22017
  name: string;
21696
22018
  sectionId: string;
21697
22019
  displayOrder: number;
21698
- configurationPoints: {
22020
+ configurationPoints: ({
21699
22021
  name: string;
21700
22022
  type: string;
21701
22023
  point: number;
@@ -21706,7 +22028,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21706
22028
  units: string | null;
21707
22029
  minValue: number;
21708
22030
  maxValue: number;
21709
- }[];
22031
+ })[];
21710
22032
  }[];
21711
22033
  configurationSections: {
21712
22034
  id: string;
@@ -21820,7 +22142,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21820
22142
  /**
21821
22143
  * The Advanced Packrun Management Configuration for this Packing Line
21822
22144
  *
21823
- * @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: {index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}[], enabled: boolean}}
22145
+ * @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: Array<{index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}>, enabled: boolean}}
21824
22146
  * @public
21825
22147
  */
21826
22148
  advancedPackrunManagement: {
@@ -21832,7 +22154,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21832
22154
  packrunChangeCurrentStep: number;
21833
22155
  packrunChangeAutomationActionsEnabled: number;
21834
22156
  };
21835
- steps: {
22157
+ steps: ({
21836
22158
  index: number;
21837
22159
  type: string;
21838
22160
  title: string;
@@ -21878,7 +22200,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
21878
22200
  actionType: string;
21879
22201
  trigger: string;
21880
22202
  actionReference: any | null;
21881
- }[];
22203
+ })[];
21882
22204
  enabled: boolean;
21883
22205
  } | null;
21884
22206
  /**
@@ -22391,10 +22713,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
22391
22713
  /**
22392
22714
  * An Array of Sources that deliver Fruit to this Reject Bin Scale
22393
22715
  *
22394
- * @type {{type: string, sortingTableId: string, classType: string, varietyClassTypes: Array<{varietyId: string, classType: string}>}|{type: string, beltName: ?string, classType: string, varietyClassTypes: Array<{varietyId: string, classType: string}>}|{type: string, sizerId: string, outletNumber: number}[]}
22716
+ * @type {Array<{type: string, sortingTableId: string, classType: string, varietyClassTypes: Array<{varietyId: string, classType: string}>}|{type: string, beltName: ?string, classType: string, varietyClassTypes: Array<{varietyId: string, classType: string}>}|{type: string, sizerId: string, outletNumber: number}>}
22395
22717
  * @public
22396
22718
  */
22397
- sources: {
22719
+ sources: ({
22398
22720
  type: string;
22399
22721
  sortingTableId: string;
22400
22722
  classType: string;
@@ -22414,7 +22736,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
22414
22736
  type: string;
22415
22737
  sizerId: string;
22416
22738
  outletNumber: number;
22417
- }[];
22739
+ })[];
22418
22740
  /**
22419
22741
  * The Auto Packrun Change Configuration for this Reject Bin Scale
22420
22742
  *
@@ -22615,10 +22937,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
22615
22937
  /**
22616
22938
  * The Source Weights that make up the Net Weight
22617
22939
  *
22618
- * @type {{type: string, sortingTableId: string, sortingTableName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, beltName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, sizerId: string, sizerName: ?string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, mixedNames: string[], weights: Array<{classType: string, weight: number, fruitCount: ?number}>}[]}
22940
+ * @type {Array<{type: string, sortingTableId: string, sortingTableName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, beltName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, sizerId: string, sizerName: ?string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, mixedNames: string[], weights: Array<{classType: string, weight: number, fruitCount: ?number}>}>}
22619
22941
  * @public
22620
22942
  */
22621
- sources: {
22943
+ sources: ({
22622
22944
  type: string;
22623
22945
  sortingTableId: string;
22624
22946
  sortingTableName: string | null;
@@ -22654,7 +22976,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
22654
22976
  weight: number;
22655
22977
  fruitCount: number | null;
22656
22978
  }[];
22657
- }[];
22979
+ })[];
22658
22980
  /**
22659
22981
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
22660
22982
  *