@ricado/api-client 1.2.6 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  3. package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  4. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
  5. package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  6. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  7. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  8. package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  9. package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  10. package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  11. package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  12. package/lib/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  13. package/lib/Controllers/Packhouse/Site/PackingLineController.js +4 -4
  14. package/lib/Controllers/Packhouse/Site/PackrunController.js +4 -4
  15. package/lib/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  16. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +4 -4
  17. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  18. package/lib/Controllers/Packhouse/Site/ShiftController.js +4 -4
  19. package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  20. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
  21. package/lib/Controllers/Packhouse/Site/VarietyController.js +4 -4
  22. package/lib/Controllers/Site/AlarmController.js +4 -4
  23. package/lib/Controllers/Site/AlarmGroupController.js +4 -4
  24. package/lib/Controllers/Site/DefinitionController.js +4 -4
  25. package/lib/Controllers/Site/PermanentObjectController.js +4 -4
  26. package/lib/Controllers/Site/PermanentObjectDataController.js +4 -4
  27. package/lib/Controllers/Site/PointController.js +6 -4
  28. package/lib/Controllers/Site/TemporaryObjectController.js +4 -4
  29. package/lib/Models/AccountPolicyModel.js +26 -130
  30. package/lib/Models/ApiAccountModel.js +26 -130
  31. package/lib/Models/CompanyModel.js +20 -98
  32. package/lib/Models/FirebaseTokenModel.js +29 -146
  33. package/lib/Models/Packhouse/Site/BinTipWeightModel.js +40 -192
  34. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +37 -176
  35. package/lib/Models/Packhouse/Site/CompacSizerModel.js +55 -272
  36. package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +43 -208
  37. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +37 -176
  38. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +31 -144
  39. package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +49 -240
  40. package/lib/Models/Packhouse/Site/DowntimeEventModel.js +55 -272
  41. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +37 -176
  42. package/lib/Models/Packhouse/Site/GrowingMethodModel.js +31 -144
  43. package/lib/Models/Packhouse/Site/PackTypeModel.js +37 -176
  44. package/lib/Models/Packhouse/Site/PackingLineModel.js +58 -288
  45. package/lib/Models/Packhouse/Site/PackrunModel.js +58 -288
  46. package/lib/Models/Packhouse/Site/RejectBinModel.js +40 -192
  47. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +49 -240
  48. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +43 -208
  49. package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +49 -240
  50. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +124 -640
  51. package/lib/Models/Packhouse/Site/ShiftModel.js +70 -352
  52. package/lib/Models/Packhouse/Site/VarietyModel.js +37 -176
  53. package/lib/Models/RTUModel.js +23 -114
  54. package/lib/Models/RTUPluginModel.js +20 -98
  55. package/lib/Models/Site/AlarmGroupModel.js +34 -160
  56. package/lib/Models/Site/AlarmModel.js +64 -320
  57. package/lib/Models/Site/DefinitionModel.js +31 -144
  58. package/lib/Models/Site/PermanentObjectDataModel.js +37 -176
  59. package/lib/Models/Site/PermanentObjectModel.js +34 -160
  60. package/lib/Models/Site/PointModel.js +46 -224
  61. package/lib/Models/Site/TemporaryObjectModel.js +31 -144
  62. package/lib/Models/Site/index.js +0 -3
  63. package/lib/Models/SiteModel.js +23 -114
  64. package/lib/Models/TokenModel.js +35 -178
  65. package/lib/Models/UserAccountActionTokenModel.js +38 -194
  66. package/lib/Models/UserAccountModel.js +35 -178
  67. package/lib/PackageVersion.js +1 -1
  68. package/lib/Points.js +9 -1
  69. package/lib/index.d.ts +842 -1591
  70. package/lib/index.js +67 -38
  71. package/package.json +2 -2
  72. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  73. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  74. package/src/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
  75. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  76. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  77. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  78. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  79. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  80. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  81. package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  82. package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  83. package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -4
  84. package/src/Controllers/Packhouse/Site/PackrunController.js +4 -4
  85. package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  86. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +4 -4
  87. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  88. package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
  89. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  90. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
  91. package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
  92. package/src/Controllers/Site/AlarmController.js +4 -4
  93. package/src/Controllers/Site/AlarmGroupController.js +4 -4
  94. package/src/Controllers/Site/DefinitionController.js +4 -4
  95. package/src/Controllers/Site/PermanentObjectController.js +4 -4
  96. package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
  97. package/src/Controllers/Site/PointController.js +6 -4
  98. package/src/Controllers/Site/TemporaryObjectController.js +4 -4
  99. package/src/Models/AccountPolicyModel.js +21 -117
  100. package/src/Models/ApiAccountModel.js +21 -117
  101. package/src/Models/CompanyModel.js +15 -87
  102. package/src/Models/FirebaseTokenModel.js +24 -132
  103. package/src/Models/Packhouse/Site/BinTipWeightModel.js +33 -174
  104. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +30 -159
  105. package/src/Models/Packhouse/Site/CompacSizerModel.js +48 -249
  106. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +36 -189
  107. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +30 -159
  108. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +24 -129
  109. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +42 -219
  110. package/src/Models/Packhouse/Site/DowntimeEventModel.js +48 -249
  111. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +30 -159
  112. package/src/Models/Packhouse/Site/GrowingMethodModel.js +24 -129
  113. package/src/Models/Packhouse/Site/PackTypeModel.js +30 -159
  114. package/src/Models/Packhouse/Site/PackingLineModel.js +51 -264
  115. package/src/Models/Packhouse/Site/PackrunModel.js +51 -264
  116. package/src/Models/Packhouse/Site/RejectBinModel.js +33 -174
  117. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +42 -219
  118. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +36 -189
  119. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +42 -219
  120. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +117 -594
  121. package/src/Models/Packhouse/Site/ShiftModel.js +63 -324
  122. package/src/Models/Packhouse/Site/VarietyModel.js +30 -159
  123. package/src/Models/RTUModel.js +18 -102
  124. package/src/Models/RTUPluginModel.js +15 -87
  125. package/src/Models/Site/AlarmGroupModel.js +27 -144
  126. package/src/Models/Site/AlarmModel.js +57 -294
  127. package/src/Models/Site/DefinitionModel.js +24 -129
  128. package/src/Models/Site/PermanentObjectDataModel.js +30 -159
  129. package/src/Models/Site/PermanentObjectModel.js +27 -144
  130. package/src/Models/Site/PointModel.js +39 -204
  131. package/src/Models/Site/TemporaryObjectModel.js +24 -129
  132. package/src/Models/Site/index.js +0 -2
  133. package/src/Models/SiteModel.js +18 -102
  134. package/src/Models/TokenModel.js +30 -162
  135. package/src/Models/UserAccountActionTokenModel.js +33 -177
  136. package/src/Models/UserAccountModel.js +30 -162
  137. package/src/PackageVersion.js +1 -1
  138. package/src/Points.js +11 -1
  139. package/src/index.js +35 -3
  140. package/lib/Models/Site/BaseSiteModel.js +0 -58
  141. package/src/Models/Site/BaseSiteModel.js +0 -30
package/lib/index.d.ts CHANGED
@@ -486,9 +486,7 @@ declare module '@ricado/api-client/Points' {
486
486
  /**
487
487
  * The Read Points Callback
488
488
  */
489
- export type readPointsCallback = (siteId: number, pointValues: {
490
- [x: number]: PointValueItem;
491
- }) => void;
489
+ export type readPointsCallback = (siteId: number, pointValues: PointValueItem[]) => void;
492
490
  /**
493
491
  * A Point Value Item used in a Read Points Callback
494
492
  */
@@ -613,123 +611,99 @@ declare module '@ricado/api-client/Models/Site/PointModel' {
613
611
  *
614
612
  * @class
615
613
  * @hideconstructor
616
- * @extends BaseSiteModel
614
+ * @extends BaseModel
617
615
  */
618
- class PointModel extends BaseSiteModel {
616
+ class PointModel extends BaseModel {
619
617
  /**
620
618
  * Create a new **PointModel** from a JSON Object or JSON String
621
619
  *
622
620
  * @static
623
621
  * @public
624
622
  * @param {Object<string, any>|string} json A JSON Object or JSON String
625
- * @param {number} siteId The Site ID associated with this Point
626
623
  * @return {PointModel}
627
624
  */
628
625
  static fromJSON(json: {
629
626
  [x: string]: any;
630
- } | string, siteId: number): PointModel;
631
- /**
632
- * PointModel Constructor
633
- *
634
- * @protected
635
- * @param {number} siteId The Site ID associated with this Point
636
- */
637
- protected constructor();
627
+ } | string): PointModel;
638
628
  /**
639
629
  * The Point ID
640
630
  *
641
- * @public
642
631
  * @type {number}
632
+ * @public
643
633
  */
644
- get id(): number;
634
+ id: number;
645
635
  /**
646
636
  * The RTU this Point belongs to
647
637
  *
648
- * @public
649
638
  * @type {?number}
639
+ * @public
650
640
  */
651
- get rtuId(): number;
641
+ rtuId: number | null;
652
642
  /**
653
643
  * The Plugin ID
654
644
  *
655
- * @public
656
645
  * @type {?number}
646
+ * @public
657
647
  */
658
- get pluginId(): number;
648
+ pluginId: number | null;
659
649
  /**
660
650
  * The Point Name
661
651
  *
662
- * @public
663
652
  * @type {string}
653
+ * @public
664
654
  */
665
- get name(): string;
655
+ name: string;
666
656
  /**
667
657
  * The Point Type
668
658
  *
669
- * @public
670
659
  * @type {string}
660
+ * @public
671
661
  */
672
- get type(): string;
662
+ type: string;
673
663
  /**
674
664
  * The Point's Value Type
675
665
  *
676
- * @public
677
666
  * @type {string}
667
+ * @public
678
668
  */
679
- get valueType(): string;
669
+ valueType: string;
680
670
  /**
681
671
  * The Permissions
682
672
  *
683
- * @public
684
673
  * @type {string}
674
+ * @public
685
675
  */
686
- get permissions(): string;
676
+ permissions: string;
687
677
  /**
688
678
  * Whether the Point is Enabled
689
679
  *
690
- * @public
691
680
  * @type {boolean}
681
+ * @public
692
682
  */
693
- get enabled(): boolean;
683
+ enabled: boolean;
694
684
  /**
695
685
  * The Point Settings
696
686
  *
697
- * @public
698
687
  * @type {Object}
688
+ * @public
699
689
  */
700
- get settings(): any;
690
+ settings: any;
701
691
  /**
702
692
  * Whether the Point has been deleted
703
693
  *
704
- * @public
705
694
  * @type {boolean}
695
+ * @public
706
696
  */
707
- get deleted(): boolean;
697
+ deleted: boolean;
708
698
  /**
709
699
  * When the Point was last updated
710
700
  *
711
- * @public
712
701
  * @type {Date}
713
- */
714
- get updateTimestamp(): Date;
715
- /**
716
- * The Site ID associated with this Point
717
- *
718
- * @public
719
- * @type {number}
720
- */
721
- get siteId(): number;
722
- /**
723
- * Convert this **PointModel** to a JSON Object
724
- *
725
702
  * @public
726
- * @return {Object<string, any>}
727
703
  */
728
- toJSON(): {
729
- [x: string]: any;
730
- };
704
+ updateTimestamp: Date;
731
705
  }
732
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
706
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
733
707
  }
734
708
 
735
709
  declare module '@ricado/api-client/Controllers/AccountPolicyController' {
@@ -2342,31 +2316,31 @@ declare module '@ricado/api-client/Models/AccountPolicyModel' {
2342
2316
  /**
2343
2317
  * The Account Policy ID
2344
2318
  *
2345
- * @public
2346
2319
  * @type {string}
2320
+ * @public
2347
2321
  */
2348
- get id(): string;
2322
+ id: string;
2349
2323
  /**
2350
2324
  * The Policy Name
2351
2325
  *
2352
- * @public
2353
2326
  * @type {string}
2327
+ * @public
2354
2328
  */
2355
- get name(): string;
2329
+ name: string;
2356
2330
  /**
2357
2331
  * The Company this Policy belongs to
2358
2332
  *
2359
- * @public
2360
2333
  * @type {string}
2334
+ * @public
2361
2335
  */
2362
- get companyId(): string;
2336
+ companyId: string;
2363
2337
  /**
2364
2338
  * The Resources this Policy provides
2365
2339
  *
2366
- * @public
2367
2340
  * @type {Array<{id: any, type: string, actions: string[], permission: string}>}
2341
+ * @public
2368
2342
  */
2369
- get resources(): {
2343
+ resources: {
2370
2344
  id: any;
2371
2345
  type: string;
2372
2346
  actions: string[];
@@ -2375,33 +2349,24 @@ declare module '@ricado/api-client/Models/AccountPolicyModel' {
2375
2349
  /**
2376
2350
  * The Rules this Policy provides
2377
2351
  *
2378
- * @public
2379
2352
  * @type {Object[]}
2353
+ * @public
2380
2354
  */
2381
- get rules(): any[];
2355
+ rules: any[];
2382
2356
  /**
2383
2357
  * Whether the Account Policy has been deleted
2384
2358
  *
2385
- * @public
2386
2359
  * @type {boolean}
2360
+ * @public
2387
2361
  */
2388
- get deleted(): boolean;
2362
+ deleted: boolean;
2389
2363
  /**
2390
2364
  * When the Account Policy was last updated
2391
2365
  *
2392
- * @public
2393
2366
  * @type {Date}
2394
- */
2395
- get updateTimestamp(): Date;
2396
- /**
2397
- * Convert this **AccountPolicyModel** to a JSON Object
2398
- *
2399
2367
  * @public
2400
- * @return {Object<string, any>}
2401
2368
  */
2402
- toJSON(): {
2403
- [x: string]: any;
2404
- };
2369
+ updateTimestamp: Date;
2405
2370
  }
2406
2371
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2407
2372
  }
@@ -2430,61 +2395,52 @@ declare module '@ricado/api-client/Models/ApiAccountModel' {
2430
2395
  /**
2431
2396
  * The API Account ID
2432
2397
  *
2433
- * @public
2434
2398
  * @type {string}
2399
+ * @public
2435
2400
  */
2436
- get id(): string;
2401
+ id: string;
2437
2402
  /**
2438
2403
  * API Key
2439
2404
  *
2440
- * @public
2441
2405
  * @type {?string}
2406
+ * @public
2442
2407
  */
2443
- get key(): string;
2408
+ key: string | null;
2444
2409
  /**
2445
2410
  * The API Account Name
2446
2411
  *
2447
- * @public
2448
2412
  * @type {string}
2413
+ * @public
2449
2414
  */
2450
- get name(): string;
2415
+ name: string;
2451
2416
  /**
2452
2417
  * The Company this API Account belongs to
2453
2418
  *
2454
- * @public
2455
2419
  * @type {string}
2420
+ * @public
2456
2421
  */
2457
- get companyId(): string;
2422
+ companyId: string;
2458
2423
  /**
2459
2424
  * The Policies that apply to this API Account
2460
2425
  *
2461
- * @public
2462
2426
  * @type {string[]}
2427
+ * @public
2463
2428
  */
2464
- get policies(): string[];
2429
+ policies: string[];
2465
2430
  /**
2466
2431
  * Whether the API Account has been deleted
2467
2432
  *
2468
- * @public
2469
2433
  * @type {boolean}
2434
+ * @public
2470
2435
  */
2471
- get deleted(): boolean;
2436
+ deleted: boolean;
2472
2437
  /**
2473
2438
  * When the API Account was last updated
2474
2439
  *
2475
- * @public
2476
2440
  * @type {Date}
2477
- */
2478
- get updateTimestamp(): Date;
2479
- /**
2480
- * Convert this **ApiAccountModel** to a JSON Object
2481
- *
2482
2441
  * @public
2483
- * @return {Object<string, any>}
2484
2442
  */
2485
- toJSON(): {
2486
- [x: string]: any;
2487
- };
2443
+ updateTimestamp: Date;
2488
2444
  }
2489
2445
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2490
2446
  }
@@ -2526,47 +2482,38 @@ declare module '@ricado/api-client/Models/CompanyModel' {
2526
2482
  /**
2527
2483
  * The Company ID
2528
2484
  *
2529
- * @public
2530
2485
  * @type {string}
2486
+ * @public
2531
2487
  */
2532
- get id(): string;
2488
+ id: string;
2533
2489
  /**
2534
2490
  * The Company Display Name
2535
2491
  *
2536
- * @public
2537
2492
  * @type {string}
2493
+ * @public
2538
2494
  */
2539
- get displayName(): string;
2495
+ displayName: string;
2540
2496
  /**
2541
2497
  * The Company Legal Name
2542
2498
  *
2543
- * @public
2544
2499
  * @type {string}
2500
+ * @public
2545
2501
  */
2546
- get legalName(): string;
2502
+ legalName: string;
2547
2503
  /**
2548
2504
  * Whether the Company has been deleted
2549
2505
  *
2550
- * @public
2551
2506
  * @type {boolean}
2507
+ * @public
2552
2508
  */
2553
- get deleted(): boolean;
2509
+ deleted: boolean;
2554
2510
  /**
2555
2511
  * When the Company was last updated
2556
2512
  *
2557
- * @public
2558
2513
  * @type {Date}
2559
- */
2560
- get updateTimestamp(): Date;
2561
- /**
2562
- * Convert this **CompanyModel** to a JSON Object
2563
- *
2564
2514
  * @public
2565
- * @return {Object<string, any>}
2566
2515
  */
2567
- toJSON(): {
2568
- [x: string]: any;
2569
- };
2516
+ updateTimestamp: Date;
2570
2517
  }
2571
2518
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2572
2519
  }
@@ -2595,68 +2542,59 @@ declare module '@ricado/api-client/Models/FirebaseTokenModel' {
2595
2542
  /**
2596
2543
  * The Firebase Token ID
2597
2544
  *
2598
- * @public
2599
2545
  * @type {string}
2546
+ * @public
2600
2547
  */
2601
- get id(): string;
2548
+ id: string;
2602
2549
  /**
2603
2550
  * The Account this Firebase Token belongs to
2604
2551
  *
2605
- * @public
2606
2552
  * @type {string}
2553
+ * @public
2607
2554
  */
2608
- get accountId(): string;
2555
+ accountId: string;
2609
2556
  /**
2610
2557
  * The Firebase Token
2611
2558
  *
2612
- * @public
2613
2559
  * @type {string}
2560
+ * @public
2614
2561
  */
2615
- get token(): string;
2562
+ token: string;
2616
2563
  /**
2617
2564
  * Whether the Firebase Token should receive Notifications
2618
2565
  *
2619
- * @public
2620
2566
  * @type {boolean}
2567
+ * @public
2621
2568
  */
2622
- get enabled(): boolean;
2569
+ enabled: boolean;
2623
2570
  /**
2624
2571
  * The Device Name
2625
2572
  *
2626
- * @public
2627
2573
  * @type {string}
2574
+ * @public
2628
2575
  */
2629
- get deviceName(): string;
2576
+ deviceName: string;
2630
2577
  /**
2631
2578
  * The Device Platform
2632
2579
  *
2633
- * @public
2634
2580
  * @type {string}
2581
+ * @public
2635
2582
  */
2636
- get devicePlatform(): string;
2583
+ devicePlatform: string;
2637
2584
  /**
2638
2585
  * Whether the Firebase Token has been deleted
2639
2586
  *
2640
- * @public
2641
2587
  * @type {boolean}
2588
+ * @public
2642
2589
  */
2643
- get deleted(): boolean;
2590
+ deleted: boolean;
2644
2591
  /**
2645
2592
  * When the Firebase Token was last updated
2646
2593
  *
2647
- * @public
2648
2594
  * @type {Date}
2649
- */
2650
- get updateTimestamp(): Date;
2651
- /**
2652
- * Convert this **FirebaseTokenModel** to a JSON Object
2653
- *
2654
2595
  * @public
2655
- * @return {Object<string, any>}
2656
2596
  */
2657
- toJSON(): {
2658
- [x: string]: any;
2659
- };
2597
+ updateTimestamp: Date;
2660
2598
  }
2661
2599
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2662
2600
  }
@@ -2685,54 +2623,45 @@ declare module '@ricado/api-client/Models/RTUModel' {
2685
2623
  /**
2686
2624
  * The RTU ID
2687
2625
  *
2688
- * @public
2689
2626
  * @type {number}
2627
+ * @public
2690
2628
  */
2691
- get id(): number;
2629
+ id: number;
2692
2630
  /**
2693
2631
  * The Site this RTU belongs to
2694
2632
  *
2695
- * @public
2696
2633
  * @type {number}
2634
+ * @public
2697
2635
  */
2698
- get siteId(): number;
2636
+ siteId: number;
2699
2637
  /**
2700
2638
  * The RTU Name
2701
2639
  *
2702
- * @public
2703
2640
  * @type {string}
2641
+ * @public
2704
2642
  */
2705
- get name(): string;
2643
+ name: string;
2706
2644
  /**
2707
2645
  * Whether the RTU is Enabled
2708
2646
  *
2709
- * @public
2710
2647
  * @type {boolean}
2648
+ * @public
2711
2649
  */
2712
- get enabled(): boolean;
2650
+ enabled: boolean;
2713
2651
  /**
2714
2652
  * Whether the RTU has been deleted
2715
2653
  *
2716
- * @public
2717
2654
  * @type {boolean}
2655
+ * @public
2718
2656
  */
2719
- get deleted(): boolean;
2657
+ deleted: boolean;
2720
2658
  /**
2721
2659
  * When the RTU was last updated
2722
2660
  *
2723
- * @public
2724
2661
  * @type {Date}
2725
- */
2726
- get updateTimestamp(): Date;
2727
- /**
2728
- * Convert this **RTUModel** to a JSON Object
2729
- *
2730
2662
  * @public
2731
- * @return {Object<string, any>}
2732
2663
  */
2733
- toJSON(): {
2734
- [x: string]: any;
2735
- };
2664
+ updateTimestamp: Date;
2736
2665
  }
2737
2666
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2738
2667
  }
@@ -2761,47 +2690,38 @@ declare module '@ricado/api-client/Models/RTUPluginModel' {
2761
2690
  /**
2762
2691
  * The RTU Plugin ID
2763
2692
  *
2764
- * @public
2765
2693
  * @type {number}
2694
+ * @public
2766
2695
  */
2767
- get id(): number;
2696
+ id: number;
2768
2697
  /**
2769
2698
  * The Plugin Name
2770
2699
  *
2771
- * @public
2772
2700
  * @type {string}
2701
+ * @public
2773
2702
  */
2774
- get name(): string;
2703
+ name: string;
2775
2704
  /**
2776
2705
  * The Company this RTU Plugin belongs to
2777
2706
  *
2778
- * @public
2779
2707
  * @type {string}
2708
+ * @public
2780
2709
  */
2781
- get companyId(): string;
2710
+ companyId: string;
2782
2711
  /**
2783
2712
  * Whether the RTU Plugin has been deleted
2784
2713
  *
2785
- * @public
2786
2714
  * @type {boolean}
2715
+ * @public
2787
2716
  */
2788
- get deleted(): boolean;
2717
+ deleted: boolean;
2789
2718
  /**
2790
2719
  * When the RTU Plugin was last updated
2791
2720
  *
2792
- * @public
2793
2721
  * @type {Date}
2794
- */
2795
- get updateTimestamp(): Date;
2796
- /**
2797
- * Convert this **RTUPluginModel** to a JSON Object
2798
- *
2799
2722
  * @public
2800
- * @return {Object<string, any>}
2801
2723
  */
2802
- toJSON(): {
2803
- [x: string]: any;
2804
- };
2724
+ updateTimestamp: Date;
2805
2725
  }
2806
2726
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2807
2727
  }
@@ -2830,54 +2750,45 @@ declare module '@ricado/api-client/Models/SiteModel' {
2830
2750
  /**
2831
2751
  * The Site ID
2832
2752
  *
2833
- * @public
2834
2753
  * @type {number}
2754
+ * @public
2835
2755
  */
2836
- get id(): number;
2756
+ id: number;
2837
2757
  /**
2838
2758
  * The Site Name
2839
2759
  *
2840
- * @public
2841
2760
  * @type {string}
2761
+ * @public
2842
2762
  */
2843
- get name(): string;
2763
+ name: string;
2844
2764
  /**
2845
2765
  * The Company this Site belongs to
2846
2766
  *
2847
- * @public
2848
2767
  * @type {string}
2768
+ * @public
2849
2769
  */
2850
- get companyId(): string;
2770
+ companyId: string;
2851
2771
  /**
2852
2772
  * Whether the Site is Enabled
2853
2773
  *
2854
- * @public
2855
2774
  * @type {boolean}
2775
+ * @public
2856
2776
  */
2857
- get enabled(): boolean;
2777
+ enabled: boolean;
2858
2778
  /**
2859
2779
  * Whether the Site has been deleted
2860
2780
  *
2861
- * @public
2862
2781
  * @type {boolean}
2782
+ * @public
2863
2783
  */
2864
- get deleted(): boolean;
2784
+ deleted: boolean;
2865
2785
  /**
2866
2786
  * When the Site was last updated
2867
2787
  *
2868
- * @public
2869
2788
  * @type {Date}
2870
- */
2871
- get updateTimestamp(): Date;
2872
- /**
2873
- * Convert this **SiteModel** to a JSON Object
2874
- *
2875
2789
  * @public
2876
- * @return {Object<string, any>}
2877
2790
  */
2878
- toJSON(): {
2879
- [x: string]: any;
2880
- };
2791
+ updateTimestamp: Date;
2881
2792
  }
2882
2793
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2883
2794
  }
@@ -2906,82 +2817,73 @@ declare module '@ricado/api-client/Models/TokenModel' {
2906
2817
  /**
2907
2818
  * The Token ID
2908
2819
  *
2909
- * @public
2910
2820
  * @type {string}
2821
+ * @public
2911
2822
  */
2912
- get id(): string;
2823
+ id: string;
2913
2824
  /**
2914
2825
  * The Account this Token belongs to
2915
2826
  *
2916
- * @public
2917
2827
  * @type {string}
2828
+ * @public
2918
2829
  */
2919
- get accountId(): string;
2830
+ accountId: string;
2920
2831
  /**
2921
2832
  * The Account Type
2922
2833
  *
2923
- * @public
2924
2834
  * @type {string}
2835
+ * @public
2925
2836
  */
2926
- get accountType(): string;
2837
+ accountType: string;
2927
2838
  /**
2928
2839
  * When the Token was issued
2929
2840
  *
2930
- * @public
2931
2841
  * @type {Date}
2842
+ * @public
2932
2843
  */
2933
- get issueTimestamp(): Date;
2844
+ issueTimestamp: Date;
2934
2845
  /**
2935
2846
  * When the Token will expire
2936
2847
  *
2937
- * @public
2938
2848
  * @type {Date}
2849
+ * @public
2939
2850
  */
2940
- get expireTimestamp(): Date;
2851
+ expireTimestamp: Date;
2941
2852
  /**
2942
2853
  * When the last API call using this Token was made
2943
2854
  *
2944
- * @public
2945
2855
  * @type {?Date}
2856
+ * @public
2946
2857
  */
2947
- get activityTimestamp(): Date;
2858
+ activityTimestamp: Date | null;
2948
2859
  /**
2949
2860
  * When the Token was unlocked
2950
2861
  *
2951
- * @public
2952
2862
  * @type {?Date}
2863
+ * @public
2953
2864
  */
2954
- get unlockTimestamp(): Date;
2865
+ unlockTimestamp: Date | null;
2955
2866
  /**
2956
2867
  * When the Token was locked
2957
2868
  *
2958
- * @public
2959
2869
  * @type {?Date}
2870
+ * @public
2960
2871
  */
2961
- get lockTimestamp(): Date;
2872
+ lockTimestamp: Date | null;
2962
2873
  /**
2963
2874
  * Whether the Token has been deleted
2964
2875
  *
2965
- * @public
2966
2876
  * @type {boolean}
2877
+ * @public
2967
2878
  */
2968
- get deleted(): boolean;
2879
+ deleted: boolean;
2969
2880
  /**
2970
2881
  * When the Token was last updated
2971
2882
  *
2972
- * @public
2973
2883
  * @type {Date}
2974
- */
2975
- get updateTimestamp(): Date;
2976
- /**
2977
- * Convert this **TokenModel** to a JSON Object
2978
- *
2979
2884
  * @public
2980
- * @return {Object<string, any>}
2981
2885
  */
2982
- toJSON(): {
2983
- [x: string]: any;
2984
- };
2886
+ updateTimestamp: Date;
2985
2887
  }
2986
2888
  import BaseModel from "@ricado/api-client/Models/BaseModel";
2987
2889
  }
@@ -3010,89 +2912,80 @@ declare module '@ricado/api-client/Models/UserAccountActionTokenModel' {
3010
2912
  /**
3011
2913
  * The User Account Action Token ID
3012
2914
  *
3013
- * @public
3014
2915
  * @type {string}
2916
+ * @public
3015
2917
  */
3016
- get id(): string;
2918
+ id: string;
3017
2919
  /**
3018
2920
  * The Account this Action Token belongs to
3019
2921
  *
3020
- * @public
3021
2922
  * @type {string}
2923
+ * @public
3022
2924
  */
3023
- get accountId(): string;
2925
+ accountId: string;
3024
2926
  /**
3025
2927
  * The Company this Action Token belongs to
3026
2928
  *
3027
- * @public
3028
2929
  * @type {string}
2930
+ * @public
3029
2931
  */
3030
- get companyId(): string;
2932
+ companyId: string;
3031
2933
  /**
3032
2934
  * The Action that can be Performed using this Action Token
3033
2935
  *
3034
- * @public
3035
2936
  * @type {string}
2937
+ * @public
3036
2938
  */
3037
- get action(): string;
2939
+ action: string;
3038
2940
  /**
3039
2941
  * When the Action Token was issued
3040
2942
  *
3041
- * @public
3042
2943
  * @type {Date}
2944
+ * @public
3043
2945
  */
3044
- get issueTimestamp(): Date;
2946
+ issueTimestamp: Date;
3045
2947
  /**
3046
2948
  * When the Action Token will expire
3047
2949
  *
3048
- * @public
3049
2950
  * @type {Date}
2951
+ * @public
3050
2952
  */
3051
- get expireTimestamp(): Date;
2953
+ expireTimestamp: Date;
3052
2954
  /**
3053
2955
  * When the last API call using this Action Token was made
3054
2956
  *
3055
- * @public
3056
2957
  * @type {?Date}
2958
+ * @public
3057
2959
  */
3058
- get activityTimestamp(): Date;
2960
+ activityTimestamp: Date | null;
3059
2961
  /**
3060
2962
  * When the Action was Completed
3061
2963
  *
3062
- * @public
3063
2964
  * @type {?Date}
2965
+ * @public
3064
2966
  */
3065
- get completedTimestamp(): Date;
2967
+ completedTimestamp: Date | null;
3066
2968
  /**
3067
2969
  * When the Action Email was Sent
3068
2970
  *
3069
- * @public
3070
2971
  * @type {?Date}
2972
+ * @public
3071
2973
  */
3072
- get emailTimestamp(): Date;
2974
+ emailTimestamp: Date | null;
3073
2975
  /**
3074
2976
  * Whether the User Account Action Token has been deleted
3075
2977
  *
3076
- * @public
3077
2978
  * @type {boolean}
2979
+ * @public
3078
2980
  */
3079
- get deleted(): boolean;
2981
+ deleted: boolean;
3080
2982
  /**
3081
2983
  * When the User Account Action Token was last updated
3082
2984
  *
3083
- * @public
3084
2985
  * @type {Date}
3085
- */
3086
- get updateTimestamp(): Date;
3087
- /**
3088
- * Convert this **UserAccountActionTokenModel** to a JSON Object
3089
- *
3090
2986
  * @public
3091
- * @return {Object<string, any>}
3092
2987
  */
3093
- toJSON(): {
3094
- [x: string]: any;
3095
- };
2988
+ updateTimestamp: Date;
3096
2989
  }
3097
2990
  import BaseModel from "@ricado/api-client/Models/BaseModel";
3098
2991
  }
@@ -3121,82 +3014,73 @@ declare module '@ricado/api-client/Models/UserAccountModel' {
3121
3014
  /**
3122
3015
  * The User Account ID
3123
3016
  *
3124
- * @public
3125
3017
  * @type {string}
3018
+ * @public
3126
3019
  */
3127
- get id(): string;
3020
+ id: string;
3128
3021
  /**
3129
3022
  * The User's Email Address
3130
3023
  *
3131
- * @public
3132
3024
  * @type {string}
3025
+ * @public
3133
3026
  */
3134
- get email(): string;
3027
+ email: string;
3135
3028
  /**
3136
3029
  * The User's First Name
3137
3030
  *
3138
- * @public
3139
3031
  * @type {?string}
3032
+ * @public
3140
3033
  */
3141
- get firstName(): string;
3034
+ firstName: string | null;
3142
3035
  /**
3143
3036
  * The User's Last Name
3144
3037
  *
3145
- * @public
3146
3038
  * @type {?string}
3039
+ * @public
3147
3040
  */
3148
- get lastName(): string;
3041
+ lastName: string | null;
3149
3042
  /**
3150
3043
  * The Company this User belongs to
3151
3044
  *
3152
- * @public
3153
3045
  * @type {string}
3046
+ * @public
3154
3047
  */
3155
- get companyId(): string;
3048
+ companyId: string;
3156
3049
  /**
3157
3050
  * The Policies that apply to this User Account
3158
3051
  *
3159
- * @public
3160
3052
  * @type {string[]}
3053
+ * @public
3161
3054
  */
3162
- get policies(): string[];
3055
+ policies: string[];
3163
3056
  /**
3164
3057
  * Whether a Password has been Set for the User Account
3165
3058
  *
3166
- * @public
3167
3059
  * @type {boolean}
3060
+ * @public
3168
3061
  */
3169
- get hasPassword(): boolean;
3062
+ hasPassword: boolean;
3170
3063
  /**
3171
3064
  * Whether a Pin Code has been Set for the User Account
3172
3065
  *
3173
- * @public
3174
3066
  * @type {boolean}
3067
+ * @public
3175
3068
  */
3176
- get hasPinCode(): boolean;
3069
+ hasPinCode: boolean;
3177
3070
  /**
3178
3071
  * Whether the User Account has been deleted
3179
3072
  *
3180
- * @public
3181
3073
  * @type {boolean}
3074
+ * @public
3182
3075
  */
3183
- get deleted(): boolean;
3076
+ deleted: boolean;
3184
3077
  /**
3185
3078
  * When the User Account was last updated
3186
3079
  *
3187
- * @public
3188
3080
  * @type {Date}
3189
- */
3190
- get updateTimestamp(): Date;
3191
- /**
3192
- * Convert this **UserAccountModel** to a JSON Object
3193
- *
3194
3081
  * @public
3195
- * @return {Object<string, any>}
3196
3082
  */
3197
- toJSON(): {
3198
- [x: string]: any;
3199
- };
3083
+ updateTimestamp: Date;
3200
3084
  }
3201
3085
  import BaseModel from "@ricado/api-client/Models/BaseModel";
3202
3086
  }
@@ -3214,7 +3098,6 @@ declare module '@ricado/api-client/Models/Site' {
3214
3098
  namespace Site {
3215
3099
  export { AlarmGroupModel };
3216
3100
  export { AlarmModel };
3217
- export { BaseSiteModel };
3218
3101
  export { DefinitionModel };
3219
3102
  export { PermanentObjectDataModel };
3220
3103
  export { PermanentObjectModel };
@@ -3223,7 +3106,6 @@ declare module '@ricado/api-client/Models/Site' {
3223
3106
  }
3224
3107
  import AlarmGroupModel from "@ricado/api-client/Models/Site/AlarmGroupModel";
3225
3108
  import AlarmModel from "@ricado/api-client/Models/Site/AlarmModel";
3226
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
3227
3109
  import DefinitionModel from "@ricado/api-client/Models/Site/DefinitionModel";
3228
3110
  import PermanentObjectDataModel from "@ricado/api-client/Models/Site/PermanentObjectDataModel";
3229
3111
  import PermanentObjectModel from "@ricado/api-client/Models/Site/PermanentObjectModel";
@@ -3231,21 +3113,6 @@ declare module '@ricado/api-client/Models/Site' {
3231
3113
  import TemporaryObjectModel from "@ricado/api-client/Models/Site/TemporaryObjectModel";
3232
3114
  }
3233
3115
 
3234
- declare module '@ricado/api-client/Models/Site/BaseSiteModel' {
3235
- export default BaseSiteModel;
3236
- /**
3237
- * The Abstract **BaseSiteModel** Class
3238
- *
3239
- * @class
3240
- * @abstract
3241
- * @hideconstructor
3242
- * @extends BaseModel
3243
- */
3244
- class BaseSiteModel extends BaseModel {
3245
- }
3246
- import BaseModel from "@ricado/api-client/Models/BaseModel";
3247
- }
3248
-
3249
3116
  declare module '@ricado/api-client/Controllers/Packhouse/Site' {
3250
3117
  export default Site;
3251
3118
  namespace Site {
@@ -4462,6 +4329,14 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
4462
4329
  * The End Timestamp of the Point History Results. Defaults to Now
4463
4330
  */
4464
4331
  timestampEnd?: Date;
4332
+ /**
4333
+ * The Maximum Number of Values that should be returned for each Point ID. Defaults to an Unlimited Number of Values
4334
+ */
4335
+ maximumValues?: number;
4336
+ /**
4337
+ * A Resolution (Interval) in Seconds for the History Results - NOTE: Use of the maximumValues Query Parameter may enforce a higher minimum resolution. Defaults to 30 Seconds
4338
+ */
4339
+ resolution?: number;
4465
4340
  };
4466
4341
  /**
4467
4342
  * The Optional Query Parameters for the getAllEvents Function
@@ -4854,98 +4729,74 @@ declare module '@ricado/api-client/Models/Site/AlarmGroupModel' {
4854
4729
  *
4855
4730
  * @class
4856
4731
  * @hideconstructor
4857
- * @extends BaseSiteModel
4732
+ * @extends BaseModel
4858
4733
  */
4859
- class AlarmGroupModel extends BaseSiteModel {
4734
+ class AlarmGroupModel extends BaseModel {
4860
4735
  /**
4861
4736
  * Create a new **AlarmGroupModel** from a JSON Object or JSON String
4862
4737
  *
4863
4738
  * @static
4864
4739
  * @public
4865
4740
  * @param {Object<string, any>|string} json A JSON Object or JSON String
4866
- * @param {number} siteId The Site ID associated with this Alarm Group
4867
4741
  * @return {AlarmGroupModel}
4868
4742
  */
4869
4743
  static fromJSON(json: {
4870
4744
  [x: string]: any;
4871
- } | string, siteId: number): AlarmGroupModel;
4872
- /**
4873
- * AlarmGroupModel Constructor
4874
- *
4875
- * @protected
4876
- * @param {number} siteId The Site ID associated with this Alarm Group
4877
- */
4878
- protected constructor();
4745
+ } | string): AlarmGroupModel;
4879
4746
  /**
4880
4747
  * The Alarm Group ID
4881
4748
  *
4882
- * @public
4883
4749
  * @type {string}
4750
+ * @public
4884
4751
  */
4885
- get id(): string;
4752
+ id: string;
4886
4753
  /**
4887
4754
  * The RTU this Alarm Group belongs to
4888
4755
  *
4889
- * @public
4890
4756
  * @type {?number}
4757
+ * @public
4891
4758
  */
4892
- get rtuId(): number;
4759
+ rtuId: number | null;
4893
4760
  /**
4894
4761
  * The Alarm Group Name
4895
4762
  *
4896
- * @public
4897
4763
  * @type {string}
4764
+ * @public
4898
4765
  */
4899
- get name(): string;
4766
+ name: string;
4900
4767
  /**
4901
4768
  * The Boolean Point used to Reset this Alarm Group
4902
4769
  *
4903
- * @public
4904
4770
  * @type {number}
4771
+ * @public
4905
4772
  */
4906
- get resetPoint(): number;
4773
+ resetPoint: number;
4907
4774
  /**
4908
4775
  * An Array of Points and the States to be Written when this Alarm Group is Reset
4909
4776
  *
4910
- * @public
4911
4777
  * @type {Array<{point: number, value: boolean}>}
4778
+ * @public
4912
4779
  */
4913
- get externalResetPoints(): {
4780
+ externalResetPoints: {
4914
4781
  point: number;
4915
4782
  value: boolean;
4916
4783
  }[];
4917
4784
  /**
4918
4785
  * Whether the Alarm Group has been deleted
4919
4786
  *
4920
- * @public
4921
4787
  * @type {boolean}
4788
+ * @public
4922
4789
  */
4923
- get deleted(): boolean;
4790
+ deleted: boolean;
4924
4791
  /**
4925
4792
  * When the Alarm Group was last updated
4926
4793
  *
4927
- * @public
4928
4794
  * @type {Date}
4929
- */
4930
- get updateTimestamp(): Date;
4931
- /**
4932
- * The Site ID associated with this Alarm Group
4933
- *
4934
4795
  * @public
4935
- * @type {number}
4936
4796
  */
4937
- get siteId(): number;
4938
- /**
4939
- * Convert this **AlarmGroupModel** to a JSON Object
4940
- *
4941
- * @public
4942
- * @return {Object<string, any>}
4943
- */
4944
- toJSON(): {
4945
- [x: string]: any;
4946
- };
4797
+ updateTimestamp: Date;
4947
4798
  }
4948
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
4799
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
4949
4800
  }
4950
4801
 
4951
4802
  declare module '@ricado/api-client/Models/Site/AlarmModel' {
@@ -4955,165 +4806,141 @@ declare module '@ricado/api-client/Models/Site/AlarmModel' {
4955
4806
  *
4956
4807
  * @class
4957
4808
  * @hideconstructor
4958
- * @extends BaseSiteModel
4809
+ * @extends BaseModel
4959
4810
  */
4960
- class AlarmModel extends BaseSiteModel {
4811
+ class AlarmModel extends BaseModel {
4961
4812
  /**
4962
4813
  * Create a new **AlarmModel** from a JSON Object or JSON String
4963
4814
  *
4964
4815
  * @static
4965
4816
  * @public
4966
4817
  * @param {Object<string, any>|string} json A JSON Object or JSON String
4967
- * @param {number} siteId The Site ID associated with this Alarm
4968
4818
  * @return {AlarmModel}
4969
4819
  */
4970
4820
  static fromJSON(json: {
4971
4821
  [x: string]: any;
4972
- } | string, siteId: number): AlarmModel;
4973
- /**
4974
- * AlarmModel Constructor
4975
- *
4976
- * @protected
4977
- * @param {number} siteId The Site ID associated with this Alarm
4978
- */
4979
- protected constructor();
4822
+ } | string): AlarmModel;
4980
4823
  /**
4981
4824
  * The Alarm ID
4982
4825
  *
4983
- * @public
4984
4826
  * @type {string}
4827
+ * @public
4985
4828
  */
4986
- get id(): string;
4829
+ id: string;
4987
4830
  /**
4988
4831
  * The RTU this Alarm belongs to
4989
4832
  *
4990
- * @public
4991
4833
  * @type {?number}
4834
+ * @public
4992
4835
  */
4993
- get rtuId(): number;
4836
+ rtuId: number | null;
4994
4837
  /**
4995
4838
  * The Alarm Group this Alarm is a part of
4996
4839
  *
4997
- * @public
4998
4840
  * @type {string}
4841
+ * @public
4999
4842
  */
5000
- get groupId(): string;
4843
+ groupId: string;
5001
4844
  /**
5002
4845
  * The Alarm Name
5003
4846
  *
5004
- * @public
5005
4847
  * @type {string}
4848
+ * @public
5006
4849
  */
5007
- get name(): string;
4850
+ name: string;
5008
4851
  /**
5009
4852
  * Whether the Alarm is Critical or not
5010
4853
  *
5011
- * @public
5012
4854
  * @type {boolean}
4855
+ * @public
5013
4856
  */
5014
- get critical(): boolean;
4857
+ critical: boolean;
5015
4858
  /**
5016
4859
  * The Python Script with the Conditions to Trip this Alarm
5017
4860
  *
5018
- * @public
5019
4861
  * @type {string}
4862
+ * @public
5020
4863
  */
5021
- get tripScript(): string;
4864
+ tripScript: string;
5022
4865
  /**
5023
4866
  * The Python Script with the Conditions to Reset this Alarm
5024
4867
  *
5025
- * @public
5026
4868
  * @type {?string}
4869
+ * @public
5027
4870
  */
5028
- get resetScript(): string;
4871
+ resetScript: string | null;
5029
4872
  /**
5030
4873
  * The Delay before this Alarm will Trip in Milliseconds
5031
4874
  *
5032
- * @public
5033
4875
  * @type {number}
4876
+ * @public
5034
4877
  */
5035
- get tripDelay(): number;
4878
+ tripDelay: number;
5036
4879
  /**
5037
4880
  * The Delay before this Alarm will Reset in Milliseconds
5038
4881
  *
5039
- * @public
5040
4882
  * @type {number}
4883
+ * @public
5041
4884
  */
5042
- get resetDelay(): number;
4885
+ resetDelay: number;
5043
4886
  /**
5044
4887
  * Whether the Alarm should Automatically Reset
5045
4888
  *
5046
- * @public
5047
4889
  * @type {boolean}
4890
+ * @public
5048
4891
  */
5049
- get autoReset(): boolean;
4892
+ autoReset: boolean;
5050
4893
  /**
5051
4894
  * The Delay before this Alarm should Auto Reset in Milliseconds
5052
4895
  *
5053
- * @public
5054
4896
  * @type {number}
4897
+ * @public
5055
4898
  */
5056
- get autoResetDelay(): number;
4899
+ autoResetDelay: number;
5057
4900
  /**
5058
4901
  * The Point used to store the Alarm Tripped State
5059
4902
  *
5060
- * @public
5061
4903
  * @type {number}
4904
+ * @public
5062
4905
  */
5063
- get trippedStatePoint(): number;
4906
+ trippedStatePoint: number;
5064
4907
  /**
5065
4908
  * The Point used to store the Alarm Tripped Timestamp
5066
4909
  *
5067
- * @public
5068
4910
  * @type {number}
4911
+ * @public
5069
4912
  */
5070
- get trippedTimestampPoint(): number;
4913
+ trippedTimestampPoint: number;
5071
4914
  /**
5072
4915
  * The Point used to store the Alarm's Internal Trip Start
5073
4916
  *
5074
- * @public
5075
4917
  * @type {number}
4918
+ * @public
5076
4919
  */
5077
- get internalTripStartPoint(): number;
4920
+ internalTripStartPoint: number;
5078
4921
  /**
5079
4922
  * The Point used to store the Alarm's Internal Reset Start
5080
4923
  *
5081
- * @public
5082
4924
  * @type {number}
4925
+ * @public
5083
4926
  */
5084
- get internalResetStartPoint(): number;
4927
+ internalResetStartPoint: number;
5085
4928
  /**
5086
4929
  * Whether the Alarm has been deleted
5087
4930
  *
5088
- * @public
5089
4931
  * @type {boolean}
4932
+ * @public
5090
4933
  */
5091
- get deleted(): boolean;
4934
+ deleted: boolean;
5092
4935
  /**
5093
4936
  * When the Alarm was last updated
5094
4937
  *
5095
- * @public
5096
4938
  * @type {Date}
5097
- */
5098
- get updateTimestamp(): Date;
5099
- /**
5100
- * The Site ID associated with this Alarm
5101
- *
5102
- * @public
5103
- * @type {number}
5104
- */
5105
- get siteId(): number;
5106
- /**
5107
- * Convert this **AlarmModel** to a JSON Object
5108
- *
5109
4939
  * @public
5110
- * @return {Object<string, any>}
5111
4940
  */
5112
- toJSON(): {
5113
- [x: string]: any;
5114
- };
4941
+ updateTimestamp: Date;
5115
4942
  }
5116
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
4943
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5117
4944
  }
5118
4945
 
5119
4946
  declare module '@ricado/api-client/Models/Site/DefinitionModel' {
@@ -5123,88 +4950,64 @@ declare module '@ricado/api-client/Models/Site/DefinitionModel' {
5123
4950
  *
5124
4951
  * @class
5125
4952
  * @hideconstructor
5126
- * @extends BaseSiteModel
4953
+ * @extends BaseModel
5127
4954
  */
5128
- class DefinitionModel extends BaseSiteModel {
4955
+ class DefinitionModel extends BaseModel {
5129
4956
  /**
5130
4957
  * Create a new **DefinitionModel** from a JSON Object or JSON String
5131
4958
  *
5132
4959
  * @static
5133
4960
  * @public
5134
4961
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5135
- * @param {number} siteId The Site ID associated with this Definition
5136
4962
  * @return {DefinitionModel}
5137
4963
  */
5138
4964
  static fromJSON(json: {
5139
4965
  [x: string]: any;
5140
- } | string, siteId: number): DefinitionModel;
5141
- /**
5142
- * DefinitionModel Constructor
5143
- *
5144
- * @protected
5145
- * @param {number} siteId The Site ID associated with this Definition
5146
- */
5147
- protected constructor();
4966
+ } | string): DefinitionModel;
5148
4967
  /**
5149
4968
  * The Definition ID
5150
4969
  *
5151
- * @public
5152
4970
  * @type {string}
4971
+ * @public
5153
4972
  */
5154
- get id(): string;
4973
+ id: string;
5155
4974
  /**
5156
4975
  * The Definition Key Index
5157
4976
  *
5158
- * @public
5159
4977
  * @type {string}
4978
+ * @public
5160
4979
  */
5161
- get keyIndex(): string;
4980
+ keyIndex: string;
5162
4981
  /**
5163
4982
  * The Definition Type
5164
4983
  *
5165
- * @public
5166
4984
  * @type {string}
4985
+ * @public
5167
4986
  */
5168
- get type(): string;
4987
+ type: string;
5169
4988
  /**
5170
4989
  * The Definition Data
5171
4990
  *
5172
- * @public
5173
4991
  * @type {Object}
4992
+ * @public
5174
4993
  */
5175
- get data(): any;
4994
+ data: any;
5176
4995
  /**
5177
4996
  * Whether the Definition has been deleted
5178
4997
  *
5179
- * @public
5180
4998
  * @type {boolean}
4999
+ * @public
5181
5000
  */
5182
- get deleted(): boolean;
5001
+ deleted: boolean;
5183
5002
  /**
5184
5003
  * When the Definition was last updated
5185
5004
  *
5186
- * @public
5187
5005
  * @type {Date}
5188
- */
5189
- get updateTimestamp(): Date;
5190
- /**
5191
- * The Site ID associated with this Definition
5192
- *
5193
- * @public
5194
- * @type {number}
5195
- */
5196
- get siteId(): number;
5197
- /**
5198
- * Convert this **DefinitionModel** to a JSON Object
5199
- *
5200
5006
  * @public
5201
- * @return {Object<string, any>}
5202
5007
  */
5203
- toJSON(): {
5204
- [x: string]: any;
5205
- };
5008
+ updateTimestamp: Date;
5206
5009
  }
5207
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5010
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5208
5011
  }
5209
5012
 
5210
5013
  declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
@@ -5214,102 +5017,78 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
5214
5017
  *
5215
5018
  * @class
5216
5019
  * @hideconstructor
5217
- * @extends BaseSiteModel
5020
+ * @extends BaseModel
5218
5021
  */
5219
- class PermanentObjectDataModel extends BaseSiteModel {
5022
+ class PermanentObjectDataModel extends BaseModel {
5220
5023
  /**
5221
5024
  * Create a new **PermanentObjectDataModel** from a JSON Object or JSON String
5222
5025
  *
5223
5026
  * @static
5224
5027
  * @public
5225
5028
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5226
- * @param {number} siteId The Site ID associated with this Permanent Object Data
5227
5029
  * @return {PermanentObjectDataModel}
5228
5030
  */
5229
5031
  static fromJSON(json: {
5230
5032
  [x: string]: any;
5231
- } | string, siteId: number): PermanentObjectDataModel;
5232
- /**
5233
- * PermanentObjectDataModel Constructor
5234
- *
5235
- * @protected
5236
- * @param {number} siteId The Site ID associated with this Permanent Object Data
5237
- */
5238
- protected constructor();
5033
+ } | string): PermanentObjectDataModel;
5239
5034
  /**
5240
5035
  * The Permanent Object Data ID
5241
5036
  *
5242
- * @public
5243
5037
  * @type {string}
5038
+ * @public
5244
5039
  */
5245
- get id(): string;
5040
+ id: string;
5246
5041
  /**
5247
5042
  * An Optional Key Index for this Data
5248
5043
  *
5249
- * @public
5250
5044
  * @type {string}
5045
+ * @public
5251
5046
  */
5252
- get keyIndex(): string;
5047
+ keyIndex: string;
5253
5048
  /**
5254
5049
  * The Permanent Object this Data is related to
5255
5050
  *
5256
- * @public
5257
5051
  * @type {string}
5052
+ * @public
5258
5053
  */
5259
- get permanentObjectId(): string;
5054
+ permanentObjectId: string;
5260
5055
  /**
5261
5056
  * The Permanent Object Data Type
5262
5057
  *
5263
- * @public
5264
5058
  * @type {string}
5059
+ * @public
5265
5060
  */
5266
- get type(): string;
5061
+ type: string;
5267
5062
  /**
5268
5063
  * The Timestamp when this Data was Created
5269
5064
  *
5270
- * @public
5271
5065
  * @type {Date}
5066
+ * @public
5272
5067
  */
5273
- get timestamp(): Date;
5068
+ timestamp: Date;
5274
5069
  /**
5275
5070
  * The Data Object specific to this Permanent Object Data Type
5276
5071
  *
5277
- * @public
5278
5072
  * @type {Object}
5073
+ * @public
5279
5074
  */
5280
- get data(): any;
5075
+ data: any;
5281
5076
  /**
5282
5077
  * Whether the Permanent Object Data has been deleted
5283
5078
  *
5284
- * @public
5285
5079
  * @type {boolean}
5080
+ * @public
5286
5081
  */
5287
- get deleted(): boolean;
5082
+ deleted: boolean;
5288
5083
  /**
5289
5084
  * When the Permanent Object Data was last updated
5290
5085
  *
5291
- * @public
5292
5086
  * @type {Date}
5293
- */
5294
- get updateTimestamp(): Date;
5295
- /**
5296
- * The Site ID associated with this Permanent Object Data
5297
- *
5298
- * @public
5299
- * @type {number}
5300
- */
5301
- get siteId(): number;
5302
- /**
5303
- * Convert this **PermanentObjectDataModel** to a JSON Object
5304
- *
5305
5087
  * @public
5306
- * @return {Object<string, any>}
5307
5088
  */
5308
- toJSON(): {
5309
- [x: string]: any;
5310
- };
5089
+ updateTimestamp: Date;
5311
5090
  }
5312
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5091
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5313
5092
  }
5314
5093
 
5315
5094
  declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
@@ -5319,95 +5098,71 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
5319
5098
  *
5320
5099
  * @class
5321
5100
  * @hideconstructor
5322
- * @extends BaseSiteModel
5101
+ * @extends BaseModel
5323
5102
  */
5324
- class PermanentObjectModel extends BaseSiteModel {
5103
+ class PermanentObjectModel extends BaseModel {
5325
5104
  /**
5326
5105
  * Create a new **PermanentObjectModel** from a JSON Object or JSON String
5327
5106
  *
5328
5107
  * @static
5329
5108
  * @public
5330
5109
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5331
- * @param {number} siteId The Site ID associated with this Permanent Object
5332
5110
  * @return {PermanentObjectModel}
5333
5111
  */
5334
5112
  static fromJSON(json: {
5335
5113
  [x: string]: any;
5336
- } | string, siteId: number): PermanentObjectModel;
5337
- /**
5338
- * PermanentObjectModel Constructor
5339
- *
5340
- * @protected
5341
- * @param {number} siteId The Site ID associated with this Permanent Object
5342
- */
5343
- protected constructor();
5114
+ } | string): PermanentObjectModel;
5344
5115
  /**
5345
5116
  * The Permanent Object ID
5346
5117
  *
5347
- * @public
5348
5118
  * @type {string}
5119
+ * @public
5349
5120
  */
5350
- get id(): string;
5121
+ id: string;
5351
5122
  /**
5352
5123
  * The RTU this Permanent Object belongs to
5353
5124
  *
5354
- * @public
5355
5125
  * @type {?number}
5126
+ * @public
5356
5127
  */
5357
- get rtuId(): number;
5128
+ rtuId: number | null;
5358
5129
  /**
5359
5130
  * The Permanent Object Key Index
5360
5131
  *
5361
- * @public
5362
5132
  * @type {string}
5133
+ * @public
5363
5134
  */
5364
- get keyIndex(): string;
5135
+ keyIndex: string;
5365
5136
  /**
5366
5137
  * The Permanent Object Type
5367
5138
  *
5368
- * @public
5369
5139
  * @type {string}
5140
+ * @public
5370
5141
  */
5371
- get type(): string;
5142
+ type: string;
5372
5143
  /**
5373
5144
  * The Permanent Object Definition
5374
5145
  *
5375
- * @public
5376
5146
  * @type {Object}
5147
+ * @public
5377
5148
  */
5378
- get definition(): any;
5149
+ definition: any;
5379
5150
  /**
5380
5151
  * Whether the Permanent Object has been deleted
5381
5152
  *
5382
- * @public
5383
5153
  * @type {boolean}
5154
+ * @public
5384
5155
  */
5385
- get deleted(): boolean;
5156
+ deleted: boolean;
5386
5157
  /**
5387
5158
  * When the Permanent Object was last updated
5388
5159
  *
5389
- * @public
5390
5160
  * @type {Date}
5391
- */
5392
- get updateTimestamp(): Date;
5393
- /**
5394
- * The Site ID associated with this Permanent Object
5395
- *
5396
- * @public
5397
- * @type {number}
5398
- */
5399
- get siteId(): number;
5400
- /**
5401
- * Convert this **PermanentObjectModel** to a JSON Object
5402
- *
5403
5161
  * @public
5404
- * @return {Object<string, any>}
5405
5162
  */
5406
- toJSON(): {
5407
- [x: string]: any;
5408
- };
5163
+ updateTimestamp: Date;
5409
5164
  }
5410
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5165
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5411
5166
  }
5412
5167
 
5413
5168
  declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
@@ -5417,88 +5172,64 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
5417
5172
  *
5418
5173
  * @class
5419
5174
  * @hideconstructor
5420
- * @extends BaseSiteModel
5175
+ * @extends BaseModel
5421
5176
  */
5422
- class TemporaryObjectModel extends BaseSiteModel {
5177
+ class TemporaryObjectModel extends BaseModel {
5423
5178
  /**
5424
5179
  * Create a new **TemporaryObjectModel** from a JSON Object or JSON String
5425
5180
  *
5426
5181
  * @static
5427
5182
  * @public
5428
5183
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5429
- * @param {number} siteId The Site ID associated with this Temporary Object
5430
5184
  * @return {TemporaryObjectModel}
5431
5185
  */
5432
5186
  static fromJSON(json: {
5433
5187
  [x: string]: any;
5434
- } | string, siteId: number): TemporaryObjectModel;
5435
- /**
5436
- * TemporaryObjectModel Constructor
5437
- *
5438
- * @protected
5439
- * @param {number} siteId The Site ID associated with this Temporary Object
5440
- */
5441
- protected constructor();
5188
+ } | string): TemporaryObjectModel;
5442
5189
  /**
5443
5190
  * The Temporary Object ID
5444
5191
  *
5445
- * @public
5446
5192
  * @type {string}
5193
+ * @public
5447
5194
  */
5448
- get id(): string;
5195
+ id: string;
5449
5196
  /**
5450
5197
  * The Temporary Object Key Index
5451
5198
  *
5452
- * @public
5453
5199
  * @type {string}
5200
+ * @public
5454
5201
  */
5455
- get keyIndex(): string;
5202
+ keyIndex: string;
5456
5203
  /**
5457
5204
  * The Temporary Object Type
5458
5205
  *
5459
- * @public
5460
5206
  * @type {string}
5207
+ * @public
5461
5208
  */
5462
- get type(): string;
5209
+ type: string;
5463
5210
  /**
5464
5211
  * The Temporary Object Definition
5465
5212
  *
5466
- * @public
5467
5213
  * @type {Object}
5214
+ * @public
5468
5215
  */
5469
- get definition(): any;
5216
+ definition: any;
5470
5217
  /**
5471
5218
  * Whether the Temporary Object has been deleted
5472
5219
  *
5473
- * @public
5474
5220
  * @type {boolean}
5221
+ * @public
5475
5222
  */
5476
- get deleted(): boolean;
5223
+ deleted: boolean;
5477
5224
  /**
5478
5225
  * When the Temporary Object was last updated
5479
5226
  *
5480
- * @public
5481
5227
  * @type {Date}
5482
- */
5483
- get updateTimestamp(): Date;
5484
- /**
5485
- * The Site ID associated with this Temporary Object
5486
- *
5487
- * @public
5488
- * @type {number}
5489
- */
5490
- get siteId(): number;
5491
- /**
5492
- * Convert this **TemporaryObjectModel** to a JSON Object
5493
- *
5494
5228
  * @public
5495
- * @return {Object<string, any>}
5496
5229
  */
5497
- toJSON(): {
5498
- [x: string]: any;
5499
- };
5230
+ updateTimestamp: Date;
5500
5231
  }
5501
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5232
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5502
5233
  }
5503
5234
 
5504
5235
  declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController' {
@@ -10558,109 +10289,85 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
10558
10289
  *
10559
10290
  * @class
10560
10291
  * @hideconstructor
10561
- * @extends BaseSiteModel
10292
+ * @extends BaseModel
10562
10293
  */
10563
- class BinTipWeightModel extends BaseSiteModel {
10294
+ class BinTipWeightModel extends BaseModel {
10564
10295
  /**
10565
10296
  * Create a new **BinTipWeightModel** from a JSON Object or JSON String
10566
10297
  *
10567
10298
  * @static
10568
10299
  * @public
10569
10300
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10570
- * @param {number} siteId The Site ID associated with this Bin Tip Weight
10571
10301
  * @return {BinTipWeightModel}
10572
10302
  */
10573
10303
  static fromJSON(json: {
10574
10304
  [x: string]: any;
10575
- } | string, siteId: number): BinTipWeightModel;
10576
- /**
10577
- * BinTipWeightModel Constructor
10578
- *
10579
- * @protected
10580
- * @param {number} siteId The Site ID associated with this Bin Tip Weight
10581
- */
10582
- protected constructor();
10305
+ } | string): BinTipWeightModel;
10583
10306
  /**
10584
10307
  * The Bin Tip Weight ID
10585
10308
  *
10586
- * @public
10587
10309
  * @type {string}
10310
+ * @public
10588
10311
  */
10589
- get id(): string;
10312
+ id: string;
10590
10313
  /**
10591
10314
  * The Bin Tip ID associated with this Bin Weight
10592
10315
  *
10593
- * @public
10594
10316
  * @type {string}
10317
+ * @public
10595
10318
  */
10596
- get binTipId(): string;
10319
+ binTipId: string;
10597
10320
  /**
10598
10321
  * The Packrun ID associated with this Bin Weight
10599
10322
  *
10600
- * @public
10601
10323
  * @type {string}
10324
+ * @public
10602
10325
  */
10603
- get packrunId(): string;
10326
+ packrunId: string;
10604
10327
  /**
10605
10328
  * When this Bin Weight was Created
10606
10329
  *
10607
- * @public
10608
10330
  * @type {Date}
10331
+ * @public
10609
10332
  */
10610
- get createdTimestamp(): Date;
10333
+ createdTimestamp: Date;
10611
10334
  /**
10612
10335
  * The Bin Weight Type
10613
10336
  *
10614
- * @public
10615
10337
  * @type {string}
10338
+ * @public
10616
10339
  */
10617
- get weightType(): string;
10340
+ weightType: string;
10618
10341
  /**
10619
10342
  * The Bin Weight
10620
10343
  *
10621
- * @public
10622
10344
  * @type {number}
10345
+ * @public
10623
10346
  */
10624
- get weight(): number;
10347
+ weight: number;
10625
10348
  /**
10626
10349
  * The Bin Scale ID associated with this Bin Weight
10627
10350
  *
10628
- * @public
10629
10351
  * @type {?string}
10352
+ * @public
10630
10353
  */
10631
- get binScaleId(): string;
10354
+ binScaleId: string | null;
10632
10355
  /**
10633
10356
  * Whether the Bin Tip Weight has been deleted
10634
10357
  *
10635
- * @public
10636
10358
  * @type {boolean}
10359
+ * @public
10637
10360
  */
10638
- get deleted(): boolean;
10361
+ deleted: boolean;
10639
10362
  /**
10640
10363
  * When the Bin Tip Weight was last updated
10641
10364
  *
10642
- * @public
10643
10365
  * @type {Date}
10644
- */
10645
- get updateTimestamp(): Date;
10646
- /**
10647
- * The Site ID associated with this Bin Tip Weight
10648
- *
10649
- * @public
10650
- * @type {number}
10651
- */
10652
- get siteId(): number;
10653
- /**
10654
- * Convert this **BinTipWeightModel** to a JSON Object
10655
- *
10656
10366
  * @public
10657
- * @return {Object<string, any>}
10658
10367
  */
10659
- toJSON(): {
10660
- [x: string]: any;
10661
- };
10368
+ updateTimestamp: Date;
10662
10369
  }
10663
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10370
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10664
10371
  }
10665
10372
 
10666
10373
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel' {
@@ -10670,102 +10377,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel'
10670
10377
  *
10671
10378
  * @class
10672
10379
  * @hideconstructor
10673
- * @extends BaseSiteModel
10380
+ * @extends BaseModel
10674
10381
  */
10675
- class CompacSizerBatchModel extends BaseSiteModel {
10382
+ class CompacSizerBatchModel extends BaseModel {
10676
10383
  /**
10677
10384
  * Create a new **CompacSizerBatchModel** from a JSON Object or JSON String
10678
10385
  *
10679
10386
  * @static
10680
10387
  * @public
10681
10388
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10682
- * @param {number} siteId The Site ID associated with this Compac Sizer Batch
10683
10389
  * @return {CompacSizerBatchModel}
10684
10390
  */
10685
10391
  static fromJSON(json: {
10686
10392
  [x: string]: any;
10687
- } | string, siteId: number): CompacSizerBatchModel;
10688
- /**
10689
- * CompacSizerBatchModel Constructor
10690
- *
10691
- * @protected
10692
- * @param {number} siteId The Site ID associated with this Compac Sizer Batch
10693
- */
10694
- protected constructor();
10393
+ } | string): CompacSizerBatchModel;
10695
10394
  /**
10696
10395
  * The Compac Sizer Batch ID
10697
10396
  *
10698
- * @public
10699
10397
  * @type {string}
10398
+ * @public
10700
10399
  */
10701
- get id(): string;
10400
+ id: string;
10702
10401
  /**
10703
10402
  * The Compac Sizer ID this Batch is associated with
10704
10403
  *
10705
- * @public
10706
10404
  * @type {string}
10405
+ * @public
10707
10406
  */
10708
- get compacSizerId(): string;
10407
+ compacSizerId: string;
10709
10408
  /**
10710
10409
  * The Numeric Compac Batch ID
10711
10410
  *
10712
- * @public
10713
10411
  * @type {string}
10412
+ * @public
10714
10413
  */
10715
- get batchId(): string;
10414
+ batchId: string;
10716
10415
  /**
10717
10416
  * When this Batch was Created
10718
10417
  *
10719
- * @public
10720
10418
  * @type {Date}
10419
+ * @public
10721
10420
  */
10722
- get createdTimestamp(): Date;
10421
+ createdTimestamp: Date;
10723
10422
  /**
10724
10423
  * The Packrun ID associated with this Batch
10725
10424
  *
10726
- * @public
10727
10425
  * @type {?string}
10426
+ * @public
10728
10427
  */
10729
- get packrunId(): string;
10428
+ packrunId: string | null;
10730
10429
  /**
10731
10430
  * The Compac Sizer Batch Data
10732
10431
  *
10733
- * @public
10734
10432
  * @type {Object}
10433
+ * @public
10735
10434
  */
10736
- get batch(): any;
10435
+ batch: any;
10737
10436
  /**
10738
10437
  * Whether the Compac Sizer Batch has been deleted
10739
10438
  *
10740
- * @public
10741
10439
  * @type {boolean}
10440
+ * @public
10742
10441
  */
10743
- get deleted(): boolean;
10442
+ deleted: boolean;
10744
10443
  /**
10745
10444
  * When the Compac Sizer Batch was last updated
10746
10445
  *
10747
- * @public
10748
10446
  * @type {Date}
10749
- */
10750
- get updateTimestamp(): Date;
10751
- /**
10752
- * The Site ID associated with this Compac Sizer Batch
10753
- *
10754
- * @public
10755
- * @type {number}
10756
- */
10757
- get siteId(): number;
10758
- /**
10759
- * Convert this **CompacSizerBatchModel** to a JSON Object
10760
- *
10761
10447
  * @public
10762
- * @return {Object<string, any>}
10763
10448
  */
10764
- toJSON(): {
10765
- [x: string]: any;
10766
- };
10449
+ updateTimestamp: Date;
10767
10450
  }
10768
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10451
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10769
10452
  }
10770
10453
 
10771
10454
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
@@ -10775,144 +10458,120 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
10775
10458
  *
10776
10459
  * @class
10777
10460
  * @hideconstructor
10778
- * @extends BaseSiteModel
10461
+ * @extends BaseModel
10779
10462
  */
10780
- class CompacSizerModel extends BaseSiteModel {
10463
+ class CompacSizerModel extends BaseModel {
10781
10464
  /**
10782
10465
  * Create a new **CompacSizerModel** from a JSON Object or JSON String
10783
10466
  *
10784
10467
  * @static
10785
10468
  * @public
10786
10469
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10787
- * @param {number} siteId The Site ID associated with this Compac Sizer
10788
10470
  * @return {CompacSizerModel}
10789
10471
  */
10790
10472
  static fromJSON(json: {
10791
10473
  [x: string]: any;
10792
- } | string, siteId: number): CompacSizerModel;
10793
- /**
10794
- * CompacSizerModel Constructor
10795
- *
10796
- * @protected
10797
- * @param {number} siteId The Site ID associated with this Compac Sizer
10798
- */
10799
- protected constructor();
10474
+ } | string): CompacSizerModel;
10800
10475
  /**
10801
10476
  * The Compac Sizer ID
10802
10477
  *
10803
- * @public
10804
10478
  * @type {string}
10479
+ * @public
10805
10480
  */
10806
- get id(): string;
10481
+ id: string;
10807
10482
  /**
10808
10483
  * The RTU this Compac Sizer belongs to
10809
10484
  *
10810
- * @public
10811
10485
  * @type {?number}
10486
+ * @public
10812
10487
  */
10813
- get rtuId(): number;
10488
+ rtuId: number | null;
10814
10489
  /**
10815
10490
  * The Compac Sizer Name
10816
10491
  *
10817
- * @public
10818
10492
  * @type {string}
10493
+ * @public
10819
10494
  */
10820
- get name(): string;
10495
+ name: string;
10821
10496
  /**
10822
10497
  * The Lanes defined for this Compac Sizer
10823
10498
  *
10824
- * @public
10825
10499
  * @type {Object[]}
10500
+ * @public
10826
10501
  */
10827
- get lanes(): any[];
10502
+ lanes: any[];
10828
10503
  /**
10829
10504
  * The Points used by this Compac Sizer
10830
10505
  *
10831
- * @public
10832
10506
  * @type {Object}
10507
+ * @public
10833
10508
  */
10834
- get points(): any;
10509
+ points: any;
10835
10510
  /**
10836
10511
  * The Outlets defined for this Compac Sizer
10837
10512
  *
10838
- * @public
10839
10513
  * @type {Object[]}
10514
+ * @public
10840
10515
  */
10841
- get outlets(): any[];
10516
+ outlets: any[];
10842
10517
  /**
10843
10518
  * The Sizer Type
10844
10519
  *
10845
- * @public
10846
10520
  * @type {string}
10521
+ * @public
10847
10522
  */
10848
- get sizerType(): string;
10523
+ sizerType: string;
10849
10524
  /**
10850
10525
  * The Auto Create Batch Delay in Seconds for this Compac Sizer
10851
10526
  *
10852
- * @public
10853
10527
  * @type {number}
10528
+ * @public
10854
10529
  */
10855
- get autoCreateBatchDelay(): number;
10530
+ autoCreateBatchDelay: number;
10856
10531
  /**
10857
10532
  * The Fruit Sizes defined and handled by this Compac Sizer
10858
10533
  *
10859
- * @public
10860
10534
  * @type {Object[]}
10535
+ * @public
10861
10536
  */
10862
- get fruitSizes(): any[];
10537
+ fruitSizes: any[];
10863
10538
  /**
10864
10539
  * The Packing Line ID this Compac Sizer belongs to
10865
10540
  *
10866
- * @public
10867
10541
  * @type {string}
10542
+ * @public
10868
10543
  */
10869
- get packingLineId(): string;
10544
+ packingLineId: string;
10870
10545
  /**
10871
10546
  * The FreshPack Integration Configuration for this Compac Sizer
10872
10547
  *
10873
- * @public
10874
10548
  * @type {?Object}
10549
+ * @public
10875
10550
  */
10876
- get freshPackIntegration(): any;
10551
+ freshPackIntegration: any | null;
10877
10552
  /**
10878
10553
  * An Array of Sources that deliver Fruit to this Compac Sizer
10879
10554
  *
10880
- * @public
10881
10555
  * @type {Object[]}
10556
+ * @public
10882
10557
  */
10883
- get sources(): any[];
10558
+ sources: any[];
10884
10559
  /**
10885
10560
  * Whether the Compac Sizer has been deleted
10886
10561
  *
10887
- * @public
10888
10562
  * @type {boolean}
10563
+ * @public
10889
10564
  */
10890
- get deleted(): boolean;
10565
+ deleted: boolean;
10891
10566
  /**
10892
10567
  * When the Compac Sizer was last updated
10893
10568
  *
10894
- * @public
10895
10569
  * @type {Date}
10896
- */
10897
- get updateTimestamp(): Date;
10898
- /**
10899
- * The Site ID associated with this Compac Sizer
10900
- *
10901
- * @public
10902
- * @type {number}
10903
- */
10904
- get siteId(): number;
10905
- /**
10906
- * Convert this **CompacSizerModel** to a JSON Object
10907
- *
10908
10570
  * @public
10909
- * @return {Object<string, any>}
10910
10571
  */
10911
- toJSON(): {
10912
- [x: string]: any;
10913
- };
10572
+ updateTimestamp: Date;
10914
10573
  }
10915
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10574
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10916
10575
  }
10917
10576
 
10918
10577
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProductChangeModel' {
@@ -10922,116 +10581,92 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProduc
10922
10581
  *
10923
10582
  * @class
10924
10583
  * @hideconstructor
10925
- * @extends BaseSiteModel
10584
+ * @extends BaseModel
10926
10585
  */
10927
- class CompacSizerOutletProductChangeModel extends BaseSiteModel {
10586
+ class CompacSizerOutletProductChangeModel extends BaseModel {
10928
10587
  /**
10929
10588
  * Create a new **CompacSizerOutletProductChangeModel** from a JSON Object or JSON String
10930
10589
  *
10931
10590
  * @static
10932
10591
  * @public
10933
10592
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10934
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
10935
10593
  * @return {CompacSizerOutletProductChangeModel}
10936
10594
  */
10937
10595
  static fromJSON(json: {
10938
10596
  [x: string]: any;
10939
- } | string, siteId: number): CompacSizerOutletProductChangeModel;
10940
- /**
10941
- * CompacSizerOutletProductChangeModel Constructor
10942
- *
10943
- * @protected
10944
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
10945
- */
10946
- protected constructor();
10597
+ } | string): CompacSizerOutletProductChangeModel;
10947
10598
  /**
10948
10599
  * The Compac Sizer Outlet Product Change ID
10949
10600
  *
10950
- * @public
10951
10601
  * @type {string}
10602
+ * @public
10952
10603
  */
10953
- get id(): string;
10604
+ id: string;
10954
10605
  /**
10955
10606
  * The Compac Sizer ID this Outlet Change is associated with
10956
10607
  *
10957
- * @public
10958
10608
  * @type {string}
10609
+ * @public
10959
10610
  */
10960
- get compacSizerId(): string;
10611
+ compacSizerId: string;
10961
10612
  /**
10962
10613
  * The Sizer Outlet Number this Outlet Change is associated with
10963
10614
  *
10964
- * @public
10965
10615
  * @type {string}
10616
+ * @public
10966
10617
  */
10967
- get outletNumber(): string;
10618
+ outletNumber: string;
10968
10619
  /**
10969
10620
  * When this Outlet Change occurred
10970
10621
  *
10971
- * @public
10972
10622
  * @type {Date}
10623
+ * @public
10973
10624
  */
10974
- get createdTimestamp(): Date;
10625
+ createdTimestamp: Date;
10975
10626
  /**
10976
10627
  * The ID of the Previous Product that was active on the Outlet
10977
10628
  *
10978
- * @public
10979
10629
  * @type {?string}
10630
+ * @public
10980
10631
  */
10981
- get previousProductId(): string;
10632
+ previousProductId: string | null;
10982
10633
  /**
10983
10634
  * The Name of the Previous Product that was active on the Outlet
10984
10635
  *
10985
- * @public
10986
10636
  * @type {?string}
10637
+ * @public
10987
10638
  */
10988
- get previousProductName(): string;
10639
+ previousProductName: string | null;
10989
10640
  /**
10990
10641
  * The ID of the New Product that is now active on the Outlet
10991
10642
  *
10992
- * @public
10993
10643
  * @type {string}
10644
+ * @public
10994
10645
  */
10995
- get newProductId(): string;
10646
+ newProductId: string;
10996
10647
  /**
10997
10648
  * The Name of the New Product that is now active on the Outlet
10998
10649
  *
10999
- * @public
11000
10650
  * @type {string}
10651
+ * @public
11001
10652
  */
11002
- get newProductName(): string;
10653
+ newProductName: string;
11003
10654
  /**
11004
10655
  * Whether the Compac Sizer Outlet Product Change has been deleted
11005
10656
  *
11006
- * @public
11007
10657
  * @type {boolean}
10658
+ * @public
11008
10659
  */
11009
- get deleted(): boolean;
10660
+ deleted: boolean;
11010
10661
  /**
11011
10662
  * When the Compac Sizer Outlet Product Change was last updated
11012
10663
  *
11013
- * @public
11014
10664
  * @type {Date}
11015
- */
11016
- get updateTimestamp(): Date;
11017
- /**
11018
- * The Site ID associated with this Compac Sizer Outlet Product Change
11019
- *
11020
- * @public
11021
- * @type {number}
11022
- */
11023
- get siteId(): number;
11024
- /**
11025
- * Convert this **CompacSizerOutletProductChangeModel** to a JSON Object
11026
- *
11027
10665
  * @public
11028
- * @return {Object<string, any>}
11029
10666
  */
11030
- toJSON(): {
11031
- [x: string]: any;
11032
- };
10667
+ updateTimestamp: Date;
11033
10668
  }
11034
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10669
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11035
10670
  }
11036
10671
 
11037
10672
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel' {
@@ -11041,102 +10676,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeCh
11041
10676
  *
11042
10677
  * @class
11043
10678
  * @hideconstructor
11044
- * @extends BaseSiteModel
10679
+ * @extends BaseModel
11045
10680
  */
11046
- class CompacSizerOutletTypeChangeModel extends BaseSiteModel {
10681
+ class CompacSizerOutletTypeChangeModel extends BaseModel {
11047
10682
  /**
11048
10683
  * Create a new **CompacSizerOutletTypeChangeModel** from a JSON Object or JSON String
11049
10684
  *
11050
10685
  * @static
11051
10686
  * @public
11052
10687
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11053
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
11054
10688
  * @return {CompacSizerOutletTypeChangeModel}
11055
10689
  */
11056
10690
  static fromJSON(json: {
11057
10691
  [x: string]: any;
11058
- } | string, siteId: number): CompacSizerOutletTypeChangeModel;
11059
- /**
11060
- * CompacSizerOutletTypeChangeModel Constructor
11061
- *
11062
- * @protected
11063
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
11064
- */
11065
- protected constructor();
10692
+ } | string): CompacSizerOutletTypeChangeModel;
11066
10693
  /**
11067
10694
  * The Compac Sizer Outlet Type Change ID
11068
10695
  *
11069
- * @public
11070
10696
  * @type {string}
10697
+ * @public
11071
10698
  */
11072
- get id(): string;
10699
+ id: string;
11073
10700
  /**
11074
10701
  * The Compac Sizer ID this Outlet Type Change is associated with
11075
10702
  *
11076
- * @public
11077
10703
  * @type {string}
10704
+ * @public
11078
10705
  */
11079
- get compacSizerId(): string;
10706
+ compacSizerId: string;
11080
10707
  /**
11081
10708
  * The Sizer Outlet Number this Outlet Type Change is associated with
11082
10709
  *
11083
- * @public
11084
10710
  * @type {string}
10711
+ * @public
11085
10712
  */
11086
- get outletNumber(): string;
10713
+ outletNumber: string;
11087
10714
  /**
11088
10715
  * When this Outlet Type Change occurred
11089
10716
  *
11090
- * @public
11091
10717
  * @type {Date}
10718
+ * @public
11092
10719
  */
11093
- get createdTimestamp(): Date;
10720
+ createdTimestamp: Date;
11094
10721
  /**
11095
10722
  * The ID of the Previous Type that was active on the Outlet
11096
10723
  *
11097
- * @public
11098
10724
  * @type {?string}
10725
+ * @public
11099
10726
  */
11100
- get previousTypeId(): string;
10727
+ previousTypeId: string | null;
11101
10728
  /**
11102
10729
  * The ID of the New Type that is now active on the Outlet
11103
10730
  *
11104
- * @public
11105
10731
  * @type {string}
10732
+ * @public
11106
10733
  */
11107
- get newTypeId(): string;
10734
+ newTypeId: string;
11108
10735
  /**
11109
10736
  * Whether the Compac Sizer Outlet Type Change has been deleted
11110
10737
  *
11111
- * @public
11112
10738
  * @type {boolean}
10739
+ * @public
11113
10740
  */
11114
- get deleted(): boolean;
10741
+ deleted: boolean;
11115
10742
  /**
11116
10743
  * When the Compac Sizer Outlet Type Change was last updated
11117
10744
  *
11118
- * @public
11119
10745
  * @type {Date}
11120
- */
11121
- get updateTimestamp(): Date;
11122
- /**
11123
- * The Site ID associated with this Compac Sizer Outlet Type Change
11124
- *
11125
- * @public
11126
- * @type {number}
11127
- */
11128
- get siteId(): number;
11129
- /**
11130
- * Convert this **CompacSizerOutletTypeChangeModel** to a JSON Object
11131
- *
11132
10746
  * @public
11133
- * @return {Object<string, any>}
11134
10747
  */
11135
- toJSON(): {
11136
- [x: string]: any;
11137
- };
10748
+ updateTimestamp: Date;
11138
10749
  }
11139
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10750
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11140
10751
  }
11141
10752
 
11142
10753
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeModel' {
@@ -11146,88 +10757,64 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeMo
11146
10757
  *
11147
10758
  * @class
11148
10759
  * @hideconstructor
11149
- * @extends BaseSiteModel
10760
+ * @extends BaseModel
11150
10761
  */
11151
- class CompacSizerOutletTypeModel extends BaseSiteModel {
10762
+ class CompacSizerOutletTypeModel extends BaseModel {
11152
10763
  /**
11153
10764
  * Create a new **CompacSizerOutletTypeModel** from a JSON Object or JSON String
11154
10765
  *
11155
10766
  * @static
11156
10767
  * @public
11157
10768
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11158
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
11159
10769
  * @return {CompacSizerOutletTypeModel}
11160
10770
  */
11161
10771
  static fromJSON(json: {
11162
10772
  [x: string]: any;
11163
- } | string, siteId: number): CompacSizerOutletTypeModel;
11164
- /**
11165
- * CompacSizerOutletTypeModel Constructor
11166
- *
11167
- * @protected
11168
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
11169
- */
11170
- protected constructor();
10773
+ } | string): CompacSizerOutletTypeModel;
11171
10774
  /**
11172
10775
  * The Compac Sizer Outlet Type ID
11173
10776
  *
11174
- * @public
11175
10777
  * @type {string}
10778
+ * @public
11176
10779
  */
11177
- get id(): string;
10780
+ id: string;
11178
10781
  /**
11179
10782
  * The Name for this Dynamic Outlet Type
11180
10783
  *
11181
- * @public
11182
10784
  * @type {string}
10785
+ * @public
11183
10786
  */
11184
- get name(): string;
10787
+ name: string;
11185
10788
  /**
11186
10789
  * The Generic Outlet Type
11187
10790
  *
11188
- * @public
11189
10791
  * @type {string}
10792
+ * @public
11190
10793
  */
11191
- get type(): string;
10794
+ type: string;
11192
10795
  /**
11193
10796
  * An Optional Description for this Dynamic Outlet Type
11194
10797
  *
11195
- * @public
11196
10798
  * @type {string}
10799
+ * @public
11197
10800
  */
11198
- get description(): string;
10801
+ description: string;
11199
10802
  /**
11200
10803
  * Whether the Compac Sizer Outlet Type has been deleted
11201
10804
  *
11202
- * @public
11203
10805
  * @type {boolean}
10806
+ * @public
11204
10807
  */
11205
- get deleted(): boolean;
10808
+ deleted: boolean;
11206
10809
  /**
11207
10810
  * When the Compac Sizer Outlet Type was last updated
11208
10811
  *
11209
- * @public
11210
10812
  * @type {Date}
11211
- */
11212
- get updateTimestamp(): Date;
11213
- /**
11214
- * The Site ID associated with this Compac Sizer Outlet Type
11215
- *
11216
- * @public
11217
- * @type {number}
11218
- */
11219
- get siteId(): number;
11220
- /**
11221
- * Convert this **CompacSizerOutletTypeModel** to a JSON Object
11222
- *
11223
10813
  * @public
11224
- * @return {Object<string, any>}
11225
10814
  */
11226
- toJSON(): {
11227
- [x: string]: any;
11228
- };
10815
+ updateTimestamp: Date;
11229
10816
  }
11230
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10817
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11231
10818
  }
11232
10819
 
11233
10820
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel' {
@@ -11237,89 +10824,81 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11237
10824
  *
11238
10825
  * @class
11239
10826
  * @hideconstructor
11240
- * @extends BaseSiteModel
10827
+ * @extends BaseModel
11241
10828
  */
11242
- class CompacSizerPackrunSummaryModel extends BaseSiteModel {
10829
+ class CompacSizerPackrunSummaryModel extends BaseModel {
11243
10830
  /**
11244
10831
  * Create a new **CompacSizerPackrunSummaryModel** from a JSON Object or JSON String
11245
10832
  *
11246
10833
  * @static
11247
10834
  * @public
11248
10835
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11249
- * @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
11250
10836
  * @return {CompacSizerPackrunSummaryModel}
11251
10837
  */
11252
10838
  static fromJSON(json: {
11253
10839
  [x: string]: any;
11254
- } | string, siteId: number): CompacSizerPackrunSummaryModel;
11255
- /**
11256
- * CompacSizerPackrunSummaryModel Constructor
11257
- *
11258
- * @protected
11259
- * @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
11260
- */
11261
- protected constructor();
10840
+ } | string): CompacSizerPackrunSummaryModel;
11262
10841
  /**
11263
10842
  * The Compac Sizer Packrun Summary ID
11264
10843
  *
11265
- * @public
11266
10844
  * @type {string}
10845
+ * @public
11267
10846
  */
11268
- get id(): string;
10847
+ id: string;
11269
10848
  /**
11270
10849
  * The Compac Sizer ID this Summary is associated with
11271
10850
  *
11272
- * @public
11273
10851
  * @type {string}
10852
+ * @public
11274
10853
  */
11275
- get compacSizerId(): string;
10854
+ compacSizerId: string;
11276
10855
  /**
11277
10856
  * The Packrun ID this Summary is associated with
11278
10857
  *
11279
- * @public
11280
10858
  * @type {string}
10859
+ * @public
11281
10860
  */
11282
- get packrunId(): string;
10861
+ packrunId: string;
11283
10862
  /**
11284
10863
  * When this Summary was Created
11285
10864
  *
11286
- * @public
11287
10865
  * @type {Date}
10866
+ * @public
11288
10867
  */
11289
- get createdTimestamp(): Date;
10868
+ createdTimestamp: Date;
11290
10869
  /**
11291
10870
  * The Time Batch this Summary is associated with
11292
10871
  *
11293
- * @public
11294
10872
  * @type {?string}
10873
+ * @public
11295
10874
  */
11296
- get timeBatchId(): string;
10875
+ timeBatchId: string | null;
11297
10876
  /**
11298
10877
  * An Array of Packrun Summary Data Objects for each Outlet
11299
10878
  *
11300
- * @public
11301
10879
  * @type {Array<{name: string, type: string, number: number, totals: Array<{classType: ?string, fruitSize: string, packType: ?string, weight: number, fruitCount: number, packCount: ?number}>}>}
10880
+ * @public
11302
10881
  */
11303
- get outletSummaries(): {
10882
+ outletSummaries: {
11304
10883
  name: string;
11305
10884
  type: string;
11306
10885
  number: number;
11307
- totals: Array<{
10886
+ totals: {
11308
10887
  classType: string | null;
11309
10888
  fruitSize: string;
11310
10889
  packType: string | null;
11311
10890
  weight: number;
11312
10891
  fruitCount: number;
11313
10892
  packCount: number | null;
11314
- }>;
10893
+ }[];
11315
10894
  }[];
11316
10895
  /**
11317
10896
  * An Array that contains the Products initially Assigned to each Outlet
11318
10897
  *
11319
- * @public
11320
10898
  * @type {Array<{outletNumber: number, productId: string, productName: ?string}>}
10899
+ * @public
11321
10900
  */
11322
- get initialOutletProducts(): {
10901
+ initialOutletProducts: {
11323
10902
  outletNumber: number;
11324
10903
  productId: string;
11325
10904
  productName: string | null;
@@ -11327,10 +10906,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11327
10906
  /**
11328
10907
  * An Array of Outlet Product Changes
11329
10908
  *
11330
- * @public
11331
10909
  * @type {Array<{timestamp: Date, outletNumber: number, productId: string, productName: ?string, outletProductChangeId: string}>}
10910
+ * @public
11332
10911
  */
11333
- get outletProductChanges(): {
10912
+ outletProductChanges: {
11334
10913
  timestamp: Date;
11335
10914
  outletNumber: number;
11336
10915
  productId: string;
@@ -11340,10 +10919,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11340
10919
  /**
11341
10920
  * An Array that contains the Types initially configured for each Outlet
11342
10921
  *
11343
- * @public
11344
10922
  * @type {Array<{outletNumber: number, type: string, typeId: ?string}>}
10923
+ * @public
11345
10924
  */
11346
- get initialOutletTypes(): {
10925
+ initialOutletTypes: {
11347
10926
  outletNumber: number;
11348
10927
  type: string;
11349
10928
  typeId: string | null;
@@ -11351,10 +10930,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11351
10930
  /**
11352
10931
  * An Array of Outlet Type Changes. Only applies to Outlets configured as *Dynamic*
11353
10932
  *
11354
- * @public
11355
10933
  * @type {Array<{timestamp: Date, outletNumber: number, typeId: ?string}>}
10934
+ * @public
11356
10935
  */
11357
- get outletTypeChanges(): {
10936
+ outletTypeChanges: {
11358
10937
  timestamp: Date;
11359
10938
  outletNumber: number;
11360
10939
  typeId: string | null;
@@ -11362,35 +10941,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11362
10941
  /**
11363
10942
  * Whether the Compac Sizer Packrun Summary has been deleted
11364
10943
  *
11365
- * @public
11366
10944
  * @type {boolean}
10945
+ * @public
11367
10946
  */
11368
- get deleted(): boolean;
10947
+ deleted: boolean;
11369
10948
  /**
11370
10949
  * When the Compac Sizer Packrun Summary was last updated
11371
10950
  *
11372
- * @public
11373
10951
  * @type {Date}
11374
- */
11375
- get updateTimestamp(): Date;
11376
- /**
11377
- * The Site ID associated with this Compac Sizer Packrun Summary
11378
- *
11379
10952
  * @public
11380
- * @type {number}
11381
10953
  */
11382
- get siteId(): number;
11383
- /**
11384
- * Convert this **CompacSizerPackrunSummaryModel** to a JSON Object
11385
- *
11386
- * @public
11387
- * @return {Object<string, any>}
11388
- */
11389
- toJSON(): {
11390
- [x: string]: any;
11391
- };
10954
+ updateTimestamp: Date;
11392
10955
  }
11393
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10956
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11394
10957
  }
11395
10958
 
11396
10959
  declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
@@ -11400,144 +10963,120 @@ declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
11400
10963
  *
11401
10964
  * @class
11402
10965
  * @hideconstructor
11403
- * @extends BaseSiteModel
10966
+ * @extends BaseModel
11404
10967
  */
11405
- class DowntimeEventModel extends BaseSiteModel {
10968
+ class DowntimeEventModel extends BaseModel {
11406
10969
  /**
11407
10970
  * Create a new **DowntimeEventModel** from a JSON Object or JSON String
11408
10971
  *
11409
10972
  * @static
11410
10973
  * @public
11411
10974
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11412
- * @param {number} siteId The Site ID associated with this Downtime Event
11413
10975
  * @return {DowntimeEventModel}
11414
10976
  */
11415
10977
  static fromJSON(json: {
11416
10978
  [x: string]: any;
11417
- } | string, siteId: number): DowntimeEventModel;
11418
- /**
11419
- * DowntimeEventModel Constructor
11420
- *
11421
- * @protected
11422
- * @param {number} siteId The Site ID associated with this Downtime Event
11423
- */
11424
- protected constructor();
10979
+ } | string): DowntimeEventModel;
11425
10980
  /**
11426
10981
  * The Downtime Event ID
11427
10982
  *
11428
- * @public
11429
10983
  * @type {string}
10984
+ * @public
11430
10985
  */
11431
- get id(): string;
10986
+ id: string;
11432
10987
  /**
11433
10988
  * The Packing Line ID this Downtime Event is associated with
11434
10989
  *
11435
- * @public
11436
10990
  * @type {string}
10991
+ * @public
11437
10992
  */
11438
- get packingLineId(): string;
10993
+ packingLineId: string;
11439
10994
  /**
11440
10995
  * The Shift ID this Downtime Event is asssociated with
11441
10996
  *
11442
- * @public
11443
10997
  * @type {string}
10998
+ * @public
11444
10999
  */
11445
- get shiftId(): string;
11000
+ shiftId: string;
11446
11001
  /**
11447
11002
  * When this Downtime Event was Created
11448
11003
  *
11449
- * @public
11450
11004
  * @type {Date}
11005
+ * @public
11451
11006
  */
11452
- get createdTimestamp(): Date;
11007
+ createdTimestamp: Date;
11453
11008
  /**
11454
11009
  * When this Downtime Event Started
11455
11010
  *
11456
- * @public
11457
11011
  * @type {Date}
11012
+ * @public
11458
11013
  */
11459
- get startTimestamp(): Date;
11014
+ startTimestamp: Date;
11460
11015
  /**
11461
11016
  * When this Downtime Event Ended
11462
11017
  *
11463
- * @public
11464
11018
  * @type {?Date}
11019
+ * @public
11465
11020
  */
11466
- get endTimestamp(): Date;
11021
+ endTimestamp: Date | null;
11467
11022
  /**
11468
11023
  * The Reason Category for this Downtime Event
11469
11024
  *
11470
- * @public
11471
11025
  * @type {?string}
11026
+ * @public
11472
11027
  */
11473
- get reasonCategory(): string;
11028
+ reasonCategory: string | null;
11474
11029
  /**
11475
11030
  * The Reason Tag for this Downtime Event
11476
11031
  *
11477
- * @public
11478
11032
  * @type {?string}
11033
+ * @public
11479
11034
  */
11480
- get reasonTag(): string;
11035
+ reasonTag: string | null;
11481
11036
  /**
11482
11037
  * An Optional Summary of the Action taken to Remedy this Downtime Event
11483
11038
  *
11484
- * @public
11485
11039
  * @type {?string}
11040
+ * @public
11486
11041
  */
11487
- get remedyAction(): string;
11042
+ remedyAction: string | null;
11488
11043
  /**
11489
11044
  * An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
11490
11045
  *
11491
- * @public
11492
11046
  * @type {?number}
11047
+ * @public
11493
11048
  */
11494
- get avoidableRating(): number;
11049
+ avoidableRating: number | null;
11495
11050
  /**
11496
11051
  * The Source which Created this Downtime Event
11497
11052
  *
11498
- * @public
11499
11053
  * @type {string}
11054
+ * @public
11500
11055
  */
11501
- get source(): string;
11056
+ source: string;
11502
11057
  /**
11503
11058
  * The Status of this Downtime Event
11504
11059
  *
11505
- * @public
11506
11060
  * @type {string}
11061
+ * @public
11507
11062
  */
11508
- get status(): string;
11063
+ status: string;
11509
11064
  /**
11510
11065
  * Whether the Downtime Event has been deleted
11511
11066
  *
11512
- * @public
11513
11067
  * @type {boolean}
11068
+ * @public
11514
11069
  */
11515
- get deleted(): boolean;
11070
+ deleted: boolean;
11516
11071
  /**
11517
11072
  * When the Downtime Event was last updated
11518
11073
  *
11519
- * @public
11520
11074
  * @type {Date}
11521
- */
11522
- get updateTimestamp(): Date;
11523
- /**
11524
- * The Site ID associated with this Downtime Event
11525
- *
11526
11075
  * @public
11527
- * @type {number}
11528
11076
  */
11529
- get siteId(): number;
11530
- /**
11531
- * Convert this **DowntimeEventModel** to a JSON Object
11532
- *
11533
- * @public
11534
- * @return {Object<string, any>}
11535
- */
11536
- toJSON(): {
11537
- [x: string]: any;
11538
- };
11077
+ updateTimestamp: Date;
11539
11078
  }
11540
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11079
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11541
11080
  }
11542
11081
 
11543
11082
  declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel' {
@@ -11547,102 +11086,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
11547
11086
  *
11548
11087
  * @class
11549
11088
  * @hideconstructor
11550
- * @extends BaseSiteModel
11089
+ * @extends BaseModel
11551
11090
  */
11552
- class FreshPackPackrunSummaryModel extends BaseSiteModel {
11091
+ class FreshPackPackrunSummaryModel extends BaseModel {
11553
11092
  /**
11554
11093
  * Create a new **FreshPackPackrunSummaryModel** from a JSON Object or JSON String
11555
11094
  *
11556
11095
  * @static
11557
11096
  * @public
11558
11097
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11559
- * @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
11560
11098
  * @return {FreshPackPackrunSummaryModel}
11561
11099
  */
11562
11100
  static fromJSON(json: {
11563
11101
  [x: string]: any;
11564
- } | string, siteId: number): FreshPackPackrunSummaryModel;
11565
- /**
11566
- * FreshPackPackrunSummaryModel Constructor
11567
- *
11568
- * @protected
11569
- * @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
11570
- */
11571
- protected constructor();
11102
+ } | string): FreshPackPackrunSummaryModel;
11572
11103
  /**
11573
11104
  * The FreshPack Packrun Summary ID
11574
11105
  *
11575
- * @public
11576
11106
  * @type {string}
11107
+ * @public
11577
11108
  */
11578
- get id(): string;
11109
+ id: string;
11579
11110
  /**
11580
11111
  * The Packing Line ID this Summary is associated with
11581
11112
  *
11582
- * @public
11583
11113
  * @type {string}
11114
+ * @public
11584
11115
  */
11585
- get packingLineId(): string;
11116
+ packingLineId: string;
11586
11117
  /**
11587
11118
  * The Packrun ID this Summary is associated with
11588
11119
  *
11589
- * @public
11590
11120
  * @type {string}
11121
+ * @public
11591
11122
  */
11592
- get packrunId(): string;
11123
+ packrunId: string;
11593
11124
  /**
11594
11125
  * When this Summary was Created
11595
11126
  *
11596
- * @public
11597
11127
  * @type {Date}
11128
+ * @public
11598
11129
  */
11599
- get createdTimestamp(): Date;
11130
+ createdTimestamp: Date;
11600
11131
  /**
11601
11132
  * The Time Batch this Summary is associated with
11602
11133
  *
11603
- * @public
11604
11134
  * @type {?string}
11135
+ * @public
11605
11136
  */
11606
- get timeBatchId(): string;
11137
+ timeBatchId: string | null;
11607
11138
  /**
11608
11139
  * An Array of Tray Summary Data Objects for all Sizes and Class Types
11609
11140
  *
11610
- * @public
11611
11141
  * @type {Object[]}
11142
+ * @public
11612
11143
  */
11613
- get traySummaries(): any[];
11144
+ traySummaries: any[];
11614
11145
  /**
11615
11146
  * Whether the FreshPack Packrun Summary has been deleted
11616
11147
  *
11617
- * @public
11618
11148
  * @type {boolean}
11149
+ * @public
11619
11150
  */
11620
- get deleted(): boolean;
11151
+ deleted: boolean;
11621
11152
  /**
11622
11153
  * When the FreshPack Packrun Summary was last updated
11623
11154
  *
11624
- * @public
11625
11155
  * @type {Date}
11626
- */
11627
- get updateTimestamp(): Date;
11628
- /**
11629
- * The Site ID associated with this FreshPack Packrun Summary
11630
- *
11631
11156
  * @public
11632
- * @type {number}
11633
- */
11634
- get siteId(): number;
11635
- /**
11636
- * Convert this **FreshPackPackrunSummaryModel** to a JSON Object
11637
- *
11638
- * @public
11639
- * @return {Object<string, any>}
11640
11157
  */
11641
- toJSON(): {
11642
- [x: string]: any;
11643
- };
11158
+ updateTimestamp: Date;
11644
11159
  }
11645
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11160
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11646
11161
  }
11647
11162
 
11648
11163
  declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
@@ -11652,88 +11167,64 @@ declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
11652
11167
  *
11653
11168
  * @class
11654
11169
  * @hideconstructor
11655
- * @extends BaseSiteModel
11170
+ * @extends BaseModel
11656
11171
  */
11657
- class GrowingMethodModel extends BaseSiteModel {
11172
+ class GrowingMethodModel extends BaseModel {
11658
11173
  /**
11659
11174
  * Create a new **GrowingMethodModel** from a JSON Object or JSON String
11660
11175
  *
11661
11176
  * @static
11662
11177
  * @public
11663
11178
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11664
- * @param {number} siteId The Site ID associated with this Growing Method
11665
11179
  * @return {GrowingMethodModel}
11666
11180
  */
11667
11181
  static fromJSON(json: {
11668
11182
  [x: string]: any;
11669
- } | string, siteId: number): GrowingMethodModel;
11670
- /**
11671
- * GrowingMethodModel Constructor
11672
- *
11673
- * @protected
11674
- * @param {number} siteId The Site ID associated with this Growing Method
11675
- */
11676
- protected constructor();
11183
+ } | string): GrowingMethodModel;
11677
11184
  /**
11678
11185
  * The Growing Method ID
11679
11186
  *
11680
- * @public
11681
11187
  * @type {string}
11188
+ * @public
11682
11189
  */
11683
- get id(): string;
11190
+ id: string;
11684
11191
  /**
11685
11192
  * The Growing Method Code
11686
11193
  *
11687
- * @public
11688
11194
  * @type {string}
11195
+ * @public
11689
11196
  */
11690
- get code(): string;
11197
+ code: string;
11691
11198
  /**
11692
11199
  * The Growing Method Name
11693
11200
  *
11694
- * @public
11695
11201
  * @type {string}
11202
+ * @public
11696
11203
  */
11697
- get name(): string;
11204
+ name: string;
11698
11205
  /**
11699
11206
  * The Growing Method Description
11700
11207
  *
11701
- * @public
11702
11208
  * @type {string}
11209
+ * @public
11703
11210
  */
11704
- get description(): string;
11211
+ description: string;
11705
11212
  /**
11706
11213
  * Whether the Growing Method has been deleted
11707
11214
  *
11708
- * @public
11709
11215
  * @type {boolean}
11216
+ * @public
11710
11217
  */
11711
- get deleted(): boolean;
11218
+ deleted: boolean;
11712
11219
  /**
11713
11220
  * When the Growing Method was last updated
11714
11221
  *
11715
- * @public
11716
11222
  * @type {Date}
11717
- */
11718
- get updateTimestamp(): Date;
11719
- /**
11720
- * The Site ID associated with this Growing Method
11721
- *
11722
11223
  * @public
11723
- * @type {number}
11724
11224
  */
11725
- get siteId(): number;
11726
- /**
11727
- * Convert this **GrowingMethodModel** to a JSON Object
11728
- *
11729
- * @public
11730
- * @return {Object<string, any>}
11731
- */
11732
- toJSON(): {
11733
- [x: string]: any;
11734
- };
11225
+ updateTimestamp: Date;
11735
11226
  }
11736
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11227
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11737
11228
  }
11738
11229
 
11739
11230
  declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
@@ -11743,105 +11234,81 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
11743
11234
  *
11744
11235
  * @class
11745
11236
  * @hideconstructor
11746
- * @extends BaseSiteModel
11237
+ * @extends BaseModel
11747
11238
  */
11748
- class PackTypeModel extends BaseSiteModel {
11239
+ class PackTypeModel extends BaseModel {
11749
11240
  /**
11750
11241
  * Create a new **PackTypeModel** from a JSON Object or JSON String
11751
11242
  *
11752
11243
  * @static
11753
11244
  * @public
11754
11245
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11755
- * @param {number} siteId The Site ID associated with this Pack Type
11756
11246
  * @return {PackTypeModel}
11757
11247
  */
11758
11248
  static fromJSON(json: {
11759
11249
  [x: string]: any;
11760
- } | string, siteId: number): PackTypeModel;
11761
- /**
11762
- * PackTypeModel Constructor
11763
- *
11764
- * @protected
11765
- * @param {number} siteId The Site ID associated with this Pack Type
11766
- */
11767
- protected constructor();
11250
+ } | string): PackTypeModel;
11768
11251
  /**
11769
11252
  * The Pack Type ID
11770
11253
  *
11771
- * @public
11772
11254
  * @type {string}
11255
+ * @public
11773
11256
  */
11774
- get id(): string;
11257
+ id: string;
11775
11258
  /**
11776
11259
  * The Code for this Pack Type
11777
11260
  *
11778
- * @public
11779
11261
  * @type {string}
11262
+ * @public
11780
11263
  */
11781
- get code(): string;
11264
+ code: string;
11782
11265
  /**
11783
11266
  * The Name for this Pack Type
11784
11267
  *
11785
- * @public
11786
11268
  * @type {string}
11269
+ * @public
11787
11270
  */
11788
- get name(): string;
11271
+ name: string;
11789
11272
  /**
11790
11273
  * An Optional Description for this Pack Type
11791
11274
  *
11792
- * @public
11793
11275
  * @type {string}
11276
+ * @public
11794
11277
  */
11795
- get description(): string;
11278
+ description: string;
11796
11279
  /**
11797
11280
  * The Physical Form of this Pack Type
11798
11281
  *
11799
- * @public
11800
11282
  * @type {string}
11283
+ * @public
11801
11284
  */
11802
- get form(): string;
11285
+ form: string;
11803
11286
  /**
11804
11287
  * An Array of Fruit Sizes Defined for this Pack Type
11805
11288
  *
11806
- * @public
11807
11289
  * @type {Array<{size: string, count: number}>}
11290
+ * @public
11808
11291
  */
11809
- get fruitSizes(): {
11292
+ fruitSizes: {
11810
11293
  size: string;
11811
11294
  count: number;
11812
11295
  }[];
11813
11296
  /**
11814
11297
  * Whether the Pack Type has been deleted
11815
11298
  *
11816
- * @public
11817
11299
  * @type {boolean}
11300
+ * @public
11818
11301
  */
11819
- get deleted(): boolean;
11302
+ deleted: boolean;
11820
11303
  /**
11821
11304
  * When the Pack Type was last updated
11822
11305
  *
11823
- * @public
11824
11306
  * @type {Date}
11825
- */
11826
- get updateTimestamp(): Date;
11827
- /**
11828
- * The Site ID associated with this Pack Type
11829
- *
11830
11307
  * @public
11831
- * @type {number}
11832
11308
  */
11833
- get siteId(): number;
11834
- /**
11835
- * Convert this **PackTypeModel** to a JSON Object
11836
- *
11837
- * @public
11838
- * @return {Object<string, any>}
11839
- */
11840
- toJSON(): {
11841
- [x: string]: any;
11842
- };
11309
+ updateTimestamp: Date;
11843
11310
  }
11844
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11311
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11845
11312
  }
11846
11313
 
11847
11314
  declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
@@ -11851,105 +11318,97 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
11851
11318
  *
11852
11319
  * @class
11853
11320
  * @hideconstructor
11854
- * @extends BaseSiteModel
11321
+ * @extends BaseModel
11855
11322
  */
11856
- class PackingLineModel extends BaseSiteModel {
11323
+ class PackingLineModel extends BaseModel {
11857
11324
  /**
11858
11325
  * Create a new **PackingLineModel** from a JSON Object or JSON String
11859
11326
  *
11860
11327
  * @static
11861
11328
  * @public
11862
11329
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11863
- * @param {number} siteId The Site ID associated with this Packing Line
11864
11330
  * @return {PackingLineModel}
11865
11331
  */
11866
11332
  static fromJSON(json: {
11867
11333
  [x: string]: any;
11868
- } | string, siteId: number): PackingLineModel;
11869
- /**
11870
- * PackingLineModel Constructor
11871
- *
11872
- * @protected
11873
- * @param {number} siteId The Site ID associated with this Packing Line
11874
- */
11875
- protected constructor();
11334
+ } | string): PackingLineModel;
11876
11335
  /**
11877
11336
  * The Packing Line ID
11878
11337
  *
11879
- * @public
11880
11338
  * @type {string}
11339
+ * @public
11881
11340
  */
11882
- get id(): string;
11341
+ id: string;
11883
11342
  /**
11884
11343
  * The RTU this Packing Line belongs to
11885
11344
  *
11886
- * @public
11887
11345
  * @type {?number}
11346
+ * @public
11888
11347
  */
11889
- get rtuId(): number;
11348
+ rtuId: number | null;
11890
11349
  /**
11891
11350
  * The Packing Line Name
11892
11351
  *
11893
- * @public
11894
11352
  * @type {string}
11353
+ * @public
11895
11354
  */
11896
- get name(): string;
11355
+ name: string;
11897
11356
  /**
11898
11357
  * The Points used by this Packing Line
11899
11358
  *
11900
- * @public
11901
11359
  * @type {Object}
11360
+ * @public
11902
11361
  */
11903
- get points(): any;
11362
+ points: any;
11904
11363
  /**
11905
11364
  * The Sizer Objects that belong to this Packing Line
11906
11365
  *
11907
- * @public
11908
11366
  * @type {Object[]}
11367
+ * @public
11909
11368
  */
11910
- get sizers(): any[];
11369
+ sizers: any[];
11911
11370
  /**
11912
11371
  * The Bin Tip Objects that belong to this this Packing Line
11913
11372
  *
11914
- * @public
11915
11373
  * @type {Object[]}
11374
+ * @public
11916
11375
  */
11917
- get binTips(): any[];
11376
+ binTips: any[];
11918
11377
  /**
11919
11378
  * The Reject Bin Scale Objects that belong to this Packing Line
11920
11379
  *
11921
- * @public
11922
11380
  * @type {Object[]}
11381
+ * @public
11923
11382
  */
11924
- get rejectBinScales(): any[];
11383
+ rejectBinScales: any[];
11925
11384
  /**
11926
11385
  * The Automation Object for this Packing Line
11927
11386
  *
11928
- * @public
11929
11387
  * @type {?Object}
11388
+ * @public
11930
11389
  */
11931
- get automation(): any;
11390
+ automation: any | null;
11932
11391
  /**
11933
11392
  * The Alarm Groups that are used by this Packing Line
11934
11393
  *
11935
- * @public
11936
11394
  * @type {string[]}
11395
+ * @public
11937
11396
  */
11938
- get alarmGroups(): string[];
11397
+ alarmGroups: string[];
11939
11398
  /**
11940
11399
  * The Class Types that are defined for this Packing Line
11941
11400
  *
11942
- * @public
11943
11401
  * @type {Object[]}
11402
+ * @public
11944
11403
  */
11945
- get classTypes(): any[];
11404
+ classTypes: any[];
11946
11405
  /**
11947
11406
  * The Optional Shift Management Object for this Packing Line
11948
11407
  *
11949
- * @public
11950
11408
  * @type {?{points: {currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, shiftSchedules: number}, enabled: boolean}}
11409
+ * @public
11951
11410
  */
11952
- get shiftManagement(): {
11411
+ shiftManagement: {
11953
11412
  points: {
11954
11413
  currentShiftId: number;
11955
11414
  createNewDayShiftRequest: number;
@@ -11966,49 +11425,33 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
11966
11425
  /**
11967
11426
  * The FreshPack Integration Configuration for this Packing Line
11968
11427
  *
11969
- * @public
11970
11428
  * @type {?Object}
11429
+ * @public
11971
11430
  */
11972
- get freshPackIntegration(): any;
11431
+ freshPackIntegration: any | null;
11973
11432
  /**
11974
11433
  * The FreshQuality Integration Configuration for this Packing Line
11975
11434
  *
11976
- * @public
11977
11435
  * @type {?Object}
11436
+ * @public
11978
11437
  */
11979
- get freshQualityIntegration(): any;
11438
+ freshQualityIntegration: any | null;
11980
11439
  /**
11981
11440
  * Whether the Packing Line has been deleted
11982
11441
  *
11983
- * @public
11984
11442
  * @type {boolean}
11443
+ * @public
11985
11444
  */
11986
- get deleted(): boolean;
11445
+ deleted: boolean;
11987
11446
  /**
11988
11447
  * When the Packing Line was last updated
11989
11448
  *
11990
- * @public
11991
11449
  * @type {Date}
11992
- */
11993
- get updateTimestamp(): Date;
11994
- /**
11995
- * The Site ID associated with this Packing Line
11996
- *
11997
- * @public
11998
- * @type {number}
11999
- */
12000
- get siteId(): number;
12001
- /**
12002
- * Convert this **PackingLineModel** to a JSON Object
12003
- *
12004
11450
  * @public
12005
- * @return {Object<string, any>}
12006
11451
  */
12007
- toJSON(): {
12008
- [x: string]: any;
12009
- };
11452
+ updateTimestamp: Date;
12010
11453
  }
12011
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11454
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12012
11455
  }
12013
11456
 
12014
11457
  declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
@@ -12018,151 +11461,127 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
12018
11461
  *
12019
11462
  * @class
12020
11463
  * @hideconstructor
12021
- * @extends BaseSiteModel
11464
+ * @extends BaseModel
12022
11465
  */
12023
- class PackrunModel extends BaseSiteModel {
11466
+ class PackrunModel extends BaseModel {
12024
11467
  /**
12025
11468
  * Create a new **PackrunModel** from a JSON Object or JSON String
12026
11469
  *
12027
11470
  * @static
12028
11471
  * @public
12029
11472
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12030
- * @param {number} siteId The Site ID associated with this Packrun
12031
11473
  * @return {PackrunModel}
12032
11474
  */
12033
11475
  static fromJSON(json: {
12034
11476
  [x: string]: any;
12035
- } | string, siteId: number): PackrunModel;
12036
- /**
12037
- * PackrunModel Constructor
12038
- *
12039
- * @protected
12040
- * @param {number} siteId The Site ID associated with this Packrun
12041
- */
12042
- protected constructor();
11477
+ } | string): PackrunModel;
12043
11478
  /**
12044
11479
  * The Packrun ID
12045
11480
  *
12046
- * @public
12047
11481
  * @type {string}
11482
+ * @public
12048
11483
  */
12049
- get id(): string;
11484
+ id: string;
12050
11485
  /**
12051
11486
  * The Packing Line ID this Packrun is associated with
12052
11487
  *
12053
- * @public
12054
11488
  * @type {string}
11489
+ * @public
12055
11490
  */
12056
- get packingLineId(): string;
11491
+ packingLineId: string;
12057
11492
  /**
12058
11493
  * The Packrun Name
12059
11494
  *
12060
- * @public
12061
11495
  * @type {string}
11496
+ * @public
12062
11497
  */
12063
- get name(): string;
11498
+ name: string;
12064
11499
  /**
12065
11500
  * When this Packrun was Created
12066
11501
  *
12067
- * @public
12068
11502
  * @type {Date}
11503
+ * @public
12069
11504
  */
12070
- get createdTimestamp(): Date;
11505
+ createdTimestamp: Date;
12071
11506
  /**
12072
11507
  * The Grower Name for this Packrun
12073
11508
  *
12074
- * @public
12075
11509
  * @type {string}
11510
+ * @public
12076
11511
  */
12077
- get growerName(): string;
11512
+ growerName: string;
12078
11513
  /**
12079
11514
  * The Grower Code for this Packrun
12080
11515
  *
12081
- * @public
12082
11516
  * @type {string}
11517
+ * @public
12083
11518
  */
12084
- get growerCode(): string;
11519
+ growerCode: string;
12085
11520
  /**
12086
11521
  * The Maturity Area for this Packrun
12087
11522
  *
12088
- * @public
12089
11523
  * @type {string}
11524
+ * @public
12090
11525
  */
12091
- get maturityArea(): string;
11526
+ maturityArea: string;
12092
11527
  /**
12093
11528
  * When this Packrun was Started
12094
11529
  *
12095
- * @public
12096
11530
  * @type {?Date}
11531
+ * @public
12097
11532
  */
12098
- get startTimestamp(): Date;
11533
+ startTimestamp: Date | null;
12099
11534
  /**
12100
11535
  * When this Packrun was Finished
12101
11536
  *
12102
- * @public
12103
11537
  * @type {?Date}
11538
+ * @public
12104
11539
  */
12105
- get finishTimestamp(): Date;
11540
+ finishTimestamp: Date | null;
12106
11541
  /**
12107
11542
  * The Variety for this Packrun
12108
11543
  *
12109
- * @public
12110
11544
  * @type {string}
11545
+ * @public
12111
11546
  */
12112
- get varietyId(): string;
11547
+ varietyId: string;
12113
11548
  /**
12114
11549
  * The Growing Method for this Packrun
12115
11550
  *
12116
- * @public
12117
11551
  * @type {?string}
11552
+ * @public
12118
11553
  */
12119
- get growingMethodId(): string;
11554
+ growingMethodId: string | null;
12120
11555
  /**
12121
11556
  * The Number of Allocated Bins for this Packrun
12122
11557
  *
12123
- * @public
12124
11558
  * @type {number}
11559
+ * @public
12125
11560
  */
12126
- get allocatedBins(): number;
11561
+ allocatedBins: number;
12127
11562
  /**
12128
11563
  * The Time Batches for this Packrun
12129
11564
  *
12130
- * @public
12131
11565
  * @type {Object[]}
11566
+ * @public
12132
11567
  */
12133
- get timeBatches(): any[];
11568
+ timeBatches: any[];
12134
11569
  /**
12135
11570
  * Whether the Packrun has been deleted
12136
11571
  *
12137
- * @public
12138
11572
  * @type {boolean}
11573
+ * @public
12139
11574
  */
12140
- get deleted(): boolean;
11575
+ deleted: boolean;
12141
11576
  /**
12142
11577
  * When the Packrun was last updated
12143
11578
  *
12144
- * @public
12145
11579
  * @type {Date}
12146
- */
12147
- get updateTimestamp(): Date;
12148
- /**
12149
- * The Site ID associated with this Packrun
12150
- *
12151
11580
  * @public
12152
- * @type {number}
12153
11581
  */
12154
- get siteId(): number;
12155
- /**
12156
- * Convert this **PackrunModel** to a JSON Object
12157
- *
12158
- * @public
12159
- * @return {Object<string, any>}
12160
- */
12161
- toJSON(): {
12162
- [x: string]: any;
12163
- };
11582
+ updateTimestamp: Date;
12164
11583
  }
12165
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11584
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12166
11585
  }
12167
11586
 
12168
11587
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
@@ -12172,109 +11591,85 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
12172
11591
  *
12173
11592
  * @class
12174
11593
  * @hideconstructor
12175
- * @extends BaseSiteModel
11594
+ * @extends BaseModel
12176
11595
  */
12177
- class RejectBinModel extends BaseSiteModel {
11596
+ class RejectBinModel extends BaseModel {
12178
11597
  /**
12179
11598
  * Create a new **RejectBinModel** from a JSON Object or JSON String
12180
11599
  *
12181
11600
  * @static
12182
11601
  * @public
12183
11602
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12184
- * @param {number} siteId The Site ID associated with this Reject Bin
12185
11603
  * @return {RejectBinModel}
12186
11604
  */
12187
11605
  static fromJSON(json: {
12188
11606
  [x: string]: any;
12189
- } | string, siteId: number): RejectBinModel;
12190
- /**
12191
- * RejectBinModel Constructor
12192
- *
12193
- * @protected
12194
- * @param {number} siteId The Site ID associated with this Reject Bin
12195
- */
12196
- protected constructor();
11607
+ } | string): RejectBinModel;
12197
11608
  /**
12198
11609
  * The Reject Bin ID
12199
11610
  *
12200
- * @public
12201
11611
  * @type {string}
11612
+ * @public
12202
11613
  */
12203
- get id(): string;
11614
+ id: string;
12204
11615
  /**
12205
11616
  * The Reject Bin Scale ID this Reject Bin is associated with
12206
11617
  *
12207
- * @public
12208
11618
  * @type {string}
11619
+ * @public
12209
11620
  */
12210
- get rejectBinScaleId(): string;
11621
+ rejectBinScaleId: string;
12211
11622
  /**
12212
11623
  * When this Reject Bin was Created
12213
11624
  *
12214
- * @public
12215
11625
  * @type {Date}
11626
+ * @public
12216
11627
  */
12217
- get createdTimestamp(): Date;
11628
+ createdTimestamp: Date;
12218
11629
  /**
12219
11630
  * The Name of the Reject Bin Scale where this Bin was Created
12220
11631
  *
12221
- * @public
12222
11632
  * @type {string}
11633
+ * @public
12223
11634
  */
12224
- get rejectBinScaleName(): string;
11635
+ rejectBinScaleName: string;
12225
11636
  /**
12226
11637
  * The Tare Weight Captured by the Reject Bin Scale
12227
11638
  *
12228
- * @public
12229
11639
  * @type {?number}
11640
+ * @public
12230
11641
  */
12231
- get tareWeight(): number;
11642
+ tareWeight: number | null;
12232
11643
  /**
12233
11644
  * When this Reject Bin was Finalized (No new Weights)
12234
11645
  *
12235
- * @public
12236
11646
  * @type {?Date}
11647
+ * @public
12237
11648
  */
12238
- get finalizedTimestamp(): Date;
11649
+ finalizedTimestamp: Date | null;
12239
11650
  /**
12240
11651
  * The Multi-Grower Bins that will be submitted to FreshPack
12241
11652
  *
12242
- * @public
12243
11653
  * @type {Object[]}
11654
+ * @public
12244
11655
  */
12245
- get freshPackMultiGrowerBins(): any[];
11656
+ freshPackMultiGrowerBins: any[];
12246
11657
  /**
12247
11658
  * Whether the Reject Bin has been deleted
12248
11659
  *
12249
- * @public
12250
11660
  * @type {boolean}
11661
+ * @public
12251
11662
  */
12252
- get deleted(): boolean;
11663
+ deleted: boolean;
12253
11664
  /**
12254
11665
  * When the Reject Bin was last updated
12255
11666
  *
12256
- * @public
12257
11667
  * @type {Date}
12258
- */
12259
- get updateTimestamp(): Date;
12260
- /**
12261
- * The Site ID associated with this Reject Bin
12262
- *
12263
- * @public
12264
- * @type {number}
12265
- */
12266
- get siteId(): number;
12267
- /**
12268
- * Convert this **RejectBinModel** to a JSON Object
12269
- *
12270
11668
  * @public
12271
- * @return {Object<string, any>}
12272
11669
  */
12273
- toJSON(): {
12274
- [x: string]: any;
12275
- };
11670
+ updateTimestamp: Date;
12276
11671
  }
12277
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11672
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12278
11673
  }
12279
11674
 
12280
11675
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
@@ -12284,130 +11679,106 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
12284
11679
  *
12285
11680
  * @class
12286
11681
  * @hideconstructor
12287
- * @extends BaseSiteModel
11682
+ * @extends BaseModel
12288
11683
  */
12289
- class RejectBinScaleModel extends BaseSiteModel {
11684
+ class RejectBinScaleModel extends BaseModel {
12290
11685
  /**
12291
11686
  * Create a new **RejectBinScaleModel** from a JSON Object or JSON String
12292
11687
  *
12293
11688
  * @static
12294
11689
  * @public
12295
11690
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12296
- * @param {number} siteId The Site ID associated with this Reject Bin Scale
12297
11691
  * @return {RejectBinScaleModel}
12298
11692
  */
12299
11693
  static fromJSON(json: {
12300
11694
  [x: string]: any;
12301
- } | string, siteId: number): RejectBinScaleModel;
12302
- /**
12303
- * RejectBinScaleModel Constructor
12304
- *
12305
- * @protected
12306
- * @param {number} siteId The Site ID associated with this Reject Bin Scale
12307
- */
12308
- protected constructor();
11695
+ } | string): RejectBinScaleModel;
12309
11696
  /**
12310
11697
  * The Reject Bin Scale ID
12311
11698
  *
12312
- * @public
12313
11699
  * @type {string}
11700
+ * @public
12314
11701
  */
12315
- get id(): string;
11702
+ id: string;
12316
11703
  /**
12317
11704
  * The RTU this Reject Bin Scale belongs to
12318
11705
  *
12319
- * @public
12320
11706
  * @type {?number}
11707
+ * @public
12321
11708
  */
12322
- get rtuId(): number;
11709
+ rtuId: number | null;
12323
11710
  /**
12324
11711
  * The Name of this Reject Bin Scale
12325
11712
  *
12326
- * @public
12327
11713
  * @type {string}
11714
+ * @public
12328
11715
  */
12329
- get name(): string;
11716
+ name: string;
12330
11717
  /**
12331
11718
  * The Points used by this Reject Bin Scale
12332
11719
  *
12333
- * @public
12334
11720
  * @type {Object}
11721
+ * @public
12335
11722
  */
12336
- get points(): any;
11723
+ points: any;
12337
11724
  /**
12338
11725
  * The Packing Line that owns this Reject Bin Scale
12339
11726
  *
12340
- * @public
12341
11727
  * @type {string}
11728
+ * @public
12342
11729
  */
12343
- get packingLineId(): string;
11730
+ packingLineId: string;
12344
11731
  /**
12345
11732
  * The Permanent Object that provides the Next Packrun for this Reject Bin Scale
12346
11733
  *
12347
- * @public
12348
11734
  * @type {?string}
11735
+ * @public
12349
11736
  */
12350
- get packrunSourceId(): string;
11737
+ packrunSourceId: string | null;
12351
11738
  /**
12352
11739
  * The Packrun Group this Reject Bin Scale is a part of
12353
11740
  *
12354
- * @public
12355
11741
  * @type {?number}
11742
+ * @public
12356
11743
  */
12357
- get packrunGroup(): number;
11744
+ packrunGroup: number | null;
12358
11745
  /**
12359
11746
  * An Array of Sources that deliver Fruit to this Reject Bin Scale
12360
11747
  *
12361
- * @public
12362
11748
  * @type {Object[]}
12363
- */
12364
- get sources(): any[];
12365
- /**
12366
- * The Auto Packrun Change Configuration for this Reject Bin Scale
12367
- *
12368
11749
  * @public
12369
- * @type {?number}
12370
11750
  */
12371
- get autoPackrunChange(): number;
11751
+ sources: any[];
12372
11752
  /**
12373
- * The FreshPack Integration Configuration for this Reject Bin Scale
12374
- *
12375
- * @public
12376
- * @type {?Object}
12377
- */
12378
- get freshPackIntegration(): any;
12379
- /**
12380
- * Whether the Reject Bin Scale has been deleted
11753
+ * The Auto Packrun Change Configuration for this Reject Bin Scale
12381
11754
  *
11755
+ * @type {?number}
12382
11756
  * @public
12383
- * @type {boolean}
12384
11757
  */
12385
- get deleted(): boolean;
11758
+ autoPackrunChange: number | null;
12386
11759
  /**
12387
- * When the Reject Bin Scale was last updated
11760
+ * The FreshPack Integration Configuration for this Reject Bin Scale
12388
11761
  *
11762
+ * @type {?Object}
12389
11763
  * @public
12390
- * @type {Date}
12391
11764
  */
12392
- get updateTimestamp(): Date;
11765
+ freshPackIntegration: any | null;
12393
11766
  /**
12394
- * The Site ID associated with this Reject Bin Scale
11767
+ * Whether the Reject Bin Scale has been deleted
12395
11768
  *
11769
+ * @type {boolean}
12396
11770
  * @public
12397
- * @type {number}
12398
11771
  */
12399
- get siteId(): number;
11772
+ deleted: boolean;
12400
11773
  /**
12401
- * Convert this **RejectBinScaleModel** to a JSON Object
11774
+ * When the Reject Bin Scale was last updated
12402
11775
  *
11776
+ * @type {Date}
12403
11777
  * @public
12404
- * @return {Object<string, any>}
12405
11778
  */
12406
- toJSON(): {
12407
- [x: string]: any;
12408
- };
11779
+ updateTimestamp: Date;
12409
11780
  }
12410
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11781
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12411
11782
  }
12412
11783
 
12413
11784
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
@@ -12417,116 +11788,92 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
12417
11788
  *
12418
11789
  * @class
12419
11790
  * @hideconstructor
12420
- * @extends BaseSiteModel
11791
+ * @extends BaseModel
12421
11792
  */
12422
- class RejectBinWeightModel extends BaseSiteModel {
11793
+ class RejectBinWeightModel extends BaseModel {
12423
11794
  /**
12424
11795
  * Create a new **RejectBinWeightModel** from a JSON Object or JSON String
12425
11796
  *
12426
11797
  * @static
12427
11798
  * @public
12428
11799
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12429
- * @param {number} siteId The Site ID associated with this Reject Bin Weight
12430
11800
  * @return {RejectBinWeightModel}
12431
11801
  */
12432
11802
  static fromJSON(json: {
12433
11803
  [x: string]: any;
12434
- } | string, siteId: number): RejectBinWeightModel;
12435
- /**
12436
- * RejectBinWeightModel Constructor
12437
- *
12438
- * @protected
12439
- * @param {number} siteId The Site ID associated with this Reject Bin Weight
12440
- */
12441
- protected constructor();
11804
+ } | string): RejectBinWeightModel;
12442
11805
  /**
12443
11806
  * The Reject Bin Weight ID
12444
11807
  *
12445
- * @public
12446
11808
  * @type {string}
11809
+ * @public
12447
11810
  */
12448
- get id(): string;
11811
+ id: string;
12449
11812
  /**
12450
11813
  * The Reject Bin Scale ID this Reject Weight is associated with
12451
11814
  *
12452
- * @public
12453
11815
  * @type {string}
11816
+ * @public
12454
11817
  */
12455
- get rejectBinScaleId(): string;
11818
+ rejectBinScaleId: string;
12456
11819
  /**
12457
11820
  * The Reject Bin ID this Reject Weight is associated with
12458
11821
  *
12459
- * @public
12460
11822
  * @type {string}
11823
+ * @public
12461
11824
  */
12462
- get rejectBinId(): string;
11825
+ rejectBinId: string;
12463
11826
  /**
12464
11827
  * When this Reject Bin Weight was Created
12465
11828
  *
12466
- * @public
12467
11829
  * @type {Date}
11830
+ * @public
12468
11831
  */
12469
- get createdTimestamp(): Date;
11832
+ createdTimestamp: Date;
12470
11833
  /**
12471
11834
  * The Packrun this Reject Weight is associated with
12472
11835
  *
12473
- * @public
12474
11836
  * @type {?string}
11837
+ * @public
12475
11838
  */
12476
- get packrunId(): string;
11839
+ packrunId: string | null;
12477
11840
  /**
12478
11841
  * The Net Weight Captured by the Reject Bin Scale
12479
11842
  *
12480
- * @public
12481
11843
  * @type {number}
11844
+ * @public
12482
11845
  */
12483
- get netWeight(): number;
11846
+ netWeight: number;
12484
11847
  /**
12485
11848
  * The Source Weights that make up the Net Weight
12486
11849
  *
12487
- * @public
12488
11850
  * @type {Object[]}
11851
+ * @public
12489
11852
  */
12490
- get sources(): any[];
11853
+ sources: any[];
12491
11854
  /**
12492
11855
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
12493
11856
  *
12494
- * @public
12495
11857
  * @type {Object[]}
11858
+ * @public
12496
11859
  */
12497
- get freshPackMultiGrowerBinWeights(): any[];
11860
+ freshPackMultiGrowerBinWeights: any[];
12498
11861
  /**
12499
11862
  * Whether the Reject Bin Weight has been deleted
12500
11863
  *
12501
- * @public
12502
11864
  * @type {boolean}
11865
+ * @public
12503
11866
  */
12504
- get deleted(): boolean;
11867
+ deleted: boolean;
12505
11868
  /**
12506
11869
  * When the Reject Bin Weight was last updated
12507
11870
  *
12508
- * @public
12509
11871
  * @type {Date}
12510
- */
12511
- get updateTimestamp(): Date;
12512
- /**
12513
- * The Site ID associated with this Reject Bin Weight
12514
- *
12515
11872
  * @public
12516
- * @type {number}
12517
- */
12518
- get siteId(): number;
12519
- /**
12520
- * Convert this **RejectBinWeightModel** to a JSON Object
12521
- *
12522
- * @public
12523
- * @return {Object<string, any>}
12524
11873
  */
12525
- toJSON(): {
12526
- [x: string]: any;
12527
- };
11874
+ updateTimestamp: Date;
12528
11875
  }
12529
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11876
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12530
11877
  }
12531
11878
 
12532
11879
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel' {
@@ -12536,130 +11883,106 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel'
12536
11883
  *
12537
11884
  * @class
12538
11885
  * @hideconstructor
12539
- * @extends BaseSiteModel
11886
+ * @extends BaseModel
12540
11887
  */
12541
- class ShiftFocusMeetingModel extends BaseSiteModel {
11888
+ class ShiftFocusMeetingModel extends BaseModel {
12542
11889
  /**
12543
11890
  * Create a new **ShiftFocusMeetingModel** from a JSON Object or JSON String
12544
11891
  *
12545
11892
  * @static
12546
11893
  * @public
12547
11894
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12548
- * @param {number} siteId The Site ID associated with this Shift Focus Meeting
12549
11895
  * @return {ShiftFocusMeetingModel}
12550
11896
  */
12551
11897
  static fromJSON(json: {
12552
11898
  [x: string]: any;
12553
- } | string, siteId: number): ShiftFocusMeetingModel;
12554
- /**
12555
- * ShiftFocusMeetingModel Constructor
12556
- *
12557
- * @protected
12558
- * @param {number} siteId The Site ID associated with this Shift Focus Meeting
12559
- */
12560
- protected constructor();
11899
+ } | string): ShiftFocusMeetingModel;
12561
11900
  /**
12562
11901
  * The Shift Focus Meeting ID
12563
11902
  *
12564
- * @public
12565
11903
  * @type {string}
11904
+ * @public
12566
11905
  */
12567
- get id(): string;
11906
+ id: string;
12568
11907
  /**
12569
11908
  * The Packing Line ID this Focus Meeting is associated with
12570
11909
  *
12571
- * @public
12572
11910
  * @type {string}
11911
+ * @public
12573
11912
  */
12574
- get packingLineId(): string;
11913
+ packingLineId: string;
12575
11914
  /**
12576
11915
  * The Shift ID this Focus Meeting is asssociated with
12577
11916
  *
12578
- * @public
12579
11917
  * @type {string}
11918
+ * @public
12580
11919
  */
12581
- get shiftId(): string;
11920
+ shiftId: string;
12582
11921
  /**
12583
11922
  * When this Focus Meeting was Created
12584
11923
  *
12585
- * @public
12586
11924
  * @type {Date}
11925
+ * @public
12587
11926
  */
12588
- get createdTimestamp(): Date;
11927
+ createdTimestamp: Date;
12589
11928
  /**
12590
11929
  * When this Focus Meeting is Scheduled to Begin
12591
11930
  *
12592
- * @public
12593
11931
  * @type {Date}
11932
+ * @public
12594
11933
  */
12595
- get scheduledTimestamp(): Date;
11934
+ scheduledTimestamp: Date;
12596
11935
  /**
12597
11936
  * When this Focus Meeting was Started
12598
11937
  *
12599
- * @public
12600
11938
  * @type {?Date}
11939
+ * @public
12601
11940
  */
12602
- get startTimestamp(): Date;
11941
+ startTimestamp: Date | null;
12603
11942
  /**
12604
11943
  * When this Focus Meeting was Completed
12605
11944
  *
12606
- * @public
12607
11945
  * @type {?Date}
11946
+ * @public
12608
11947
  */
12609
- get finishTimestamp(): Date;
11948
+ finishTimestamp: Date | null;
12610
11949
  /**
12611
11950
  * An Optional Key Focus until the Next Meeting
12612
11951
  *
12613
- * @public
12614
11952
  * @type {?string}
11953
+ * @public
12615
11954
  */
12616
- get nextKeyFocus(): string;
11955
+ nextKeyFocus: string | null;
12617
11956
  /**
12618
11957
  * An Optional Rating between 1 and 10 on how Successful the Focus Meeting was
12619
11958
  *
12620
- * @public
12621
11959
  * @type {?number}
11960
+ * @public
12622
11961
  */
12623
- get successRating(): number;
11962
+ successRating: number | null;
12624
11963
  /**
12625
11964
  * The Status of this Focus Meeting
12626
11965
  *
12627
- * @public
12628
11966
  * @type {string}
11967
+ * @public
12629
11968
  */
12630
- get status(): string;
11969
+ status: string;
12631
11970
  /**
12632
11971
  * Whether the Shift Focus Meeting has been deleted
12633
11972
  *
12634
- * @public
12635
11973
  * @type {boolean}
11974
+ * @public
12636
11975
  */
12637
- get deleted(): boolean;
11976
+ deleted: boolean;
12638
11977
  /**
12639
11978
  * When the Shift Focus Meeting was last updated
12640
11979
  *
12641
- * @public
12642
11980
  * @type {Date}
12643
- */
12644
- get updateTimestamp(): Date;
12645
- /**
12646
- * The Site ID associated with this Shift Focus Meeting
12647
- *
12648
- * @public
12649
- * @type {number}
12650
- */
12651
- get siteId(): number;
12652
- /**
12653
- * Convert this **ShiftFocusMeetingModel** to a JSON Object
12654
- *
12655
11981
  * @public
12656
- * @return {Object<string, any>}
12657
11982
  */
12658
- toJSON(): {
12659
- [x: string]: any;
12660
- };
11983
+ updateTimestamp: Date;
12661
11984
  }
12662
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11985
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12663
11986
  }
12664
11987
 
12665
11988
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel' {
@@ -12669,119 +11992,111 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
12669
11992
  *
12670
11993
  * @class
12671
11994
  * @hideconstructor
12672
- * @extends BaseSiteModel
11995
+ * @extends BaseModel
12673
11996
  */
12674
- class ShiftHourlyEntryModel extends BaseSiteModel {
11997
+ class ShiftHourlyEntryModel extends BaseModel {
12675
11998
  /**
12676
11999
  * Create a new **ShiftHourlyEntryModel** from a JSON Object or JSON String
12677
12000
  *
12678
12001
  * @static
12679
12002
  * @public
12680
12003
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12681
- * @param {number} siteId The Site ID associated with this Shift Hourly Entry
12682
12004
  * @return {ShiftHourlyEntryModel}
12683
12005
  */
12684
12006
  static fromJSON(json: {
12685
12007
  [x: string]: any;
12686
- } | string, siteId: number): ShiftHourlyEntryModel;
12687
- /**
12688
- * ShiftHourlyEntryModel Constructor
12689
- *
12690
- * @protected
12691
- * @param {number} siteId The Site ID associated with this Shift Hourly Entry
12692
- */
12693
- protected constructor();
12008
+ } | string): ShiftHourlyEntryModel;
12694
12009
  /**
12695
12010
  * The Shift Hourly Entry ID
12696
12011
  *
12697
- * @public
12698
12012
  * @type {string}
12013
+ * @public
12699
12014
  */
12700
- get id(): string;
12015
+ id: string;
12701
12016
  /**
12702
12017
  * The Packing Line ID this Hourly Entry is associated with
12703
12018
  *
12704
- * @public
12705
12019
  * @type {string}
12020
+ * @public
12706
12021
  */
12707
- get packingLineId(): string;
12022
+ packingLineId: string;
12708
12023
  /**
12709
12024
  * The Shift ID this Hourly Entry is asssociated with
12710
12025
  *
12711
- * @public
12712
12026
  * @type {string}
12027
+ * @public
12713
12028
  */
12714
- get shiftId(): string;
12029
+ shiftId: string;
12715
12030
  /**
12716
12031
  * When this Hourly Entry was Created
12717
12032
  *
12718
- * @public
12719
12033
  * @type {Date}
12034
+ * @public
12720
12035
  */
12721
- get createdTimestamp(): Date;
12036
+ createdTimestamp: Date;
12722
12037
  /**
12723
12038
  * The Start Timestamp of this Hourly Entry
12724
12039
  *
12725
- * @public
12726
12040
  * @type {Date}
12041
+ * @public
12727
12042
  */
12728
- get startTimestamp(): Date;
12043
+ startTimestamp: Date;
12729
12044
  /**
12730
12045
  * The End Timestamp of this Hourly Entry
12731
12046
  *
12732
- * @public
12733
12047
  * @type {Date}
12048
+ * @public
12734
12049
  */
12735
- get endTimestamp(): Date;
12050
+ endTimestamp: Date;
12736
12051
  /**
12737
12052
  * The Number of People working in all Areas except Class 2 for this Hour
12738
12053
  *
12739
- * @public
12740
12054
  * @type {?number}
12055
+ * @public
12741
12056
  */
12742
- get class1Manning(): number;
12057
+ class1Manning: number | null;
12743
12058
  /**
12744
12059
  * The Number of People working in the Class 2 Area for this Hour
12745
12060
  *
12746
- * @public
12747
12061
  * @type {?number}
12062
+ * @public
12748
12063
  */
12749
- get class2Manning(): number;
12064
+ class2Manning: number | null;
12750
12065
  /**
12751
12066
  * The Average Target Number of People that should be working for this Hour
12752
12067
  *
12753
- * @public
12754
12068
  * @type {?number}
12069
+ * @public
12755
12070
  */
12756
- get averageManningTarget(): number;
12071
+ averageManningTarget: number | null;
12757
12072
  /**
12758
12073
  * The Percentage of Total Tray Equivalents that are Layered for this Hour
12759
12074
  *
12760
- * @public
12761
12075
  * @type {?number}
12076
+ * @public
12762
12077
  */
12763
- get layeredTrayPercentage(): number;
12078
+ layeredTrayPercentage: number | null;
12764
12079
  /**
12765
12080
  * The Average Class 1 Percentage for this Hour
12766
12081
  *
12767
- * @public
12768
12082
  * @type {?number}
12083
+ * @public
12769
12084
  */
12770
- get averageClass1Percentage(): number;
12085
+ averageClass1Percentage: number | null;
12771
12086
  /**
12772
12087
  * The Number of Quality R600 Samples that were Ideal for this Hour
12773
12088
  *
12774
- * @public
12775
12089
  * @type {?number}
12090
+ * @public
12776
12091
  */
12777
- get qualityR600IdealSamplesPercentage(): number;
12092
+ qualityR600IdealSamplesPercentage: number | null;
12778
12093
  /**
12779
12094
  * An Array of Custom Quality Data Items for this Hour
12780
12095
  *
12781
- * @public
12782
12096
  * @type {Array<{id: string, name: string, type: string, value: number}>}
12097
+ * @public
12783
12098
  */
12784
- get customQualityData(): {
12099
+ customQualityData: {
12785
12100
  id: string;
12786
12101
  name: string;
12787
12102
  type: string;
@@ -12790,189 +12105,173 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
12790
12105
  /**
12791
12106
  * The Total Number of Bins Tipped for this Hour
12792
12107
  *
12793
- * @public
12794
12108
  * @type {number}
12109
+ * @public
12795
12110
  */
12796
- get totalBinsTipped(): number;
12111
+ totalBinsTipped: number;
12797
12112
  /**
12798
12113
  * The Target Number of Bins to Tip for this Hour
12799
12114
  *
12800
- * @public
12801
12115
  * @type {number}
12116
+ * @public
12802
12117
  */
12803
- get binsTippedTarget(): number;
12118
+ binsTippedTarget: number;
12804
12119
  /**
12805
12120
  * The Total Downtime for this Hour expressed in Seconds
12806
12121
  *
12807
- * @public
12808
12122
  * @type {number}
12123
+ * @public
12809
12124
  */
12810
- get totalDowntime(): number;
12125
+ totalDowntime: number;
12811
12126
  /**
12812
12127
  * The Total Time that could be Utilized for Packing Fruit (excludes Planned Downtime such as Smoko Breaks) for this Hour expressed in Seconds
12813
12128
  *
12814
- * @public
12815
12129
  * @type {number}
12130
+ * @public
12816
12131
  */
12817
- get totalProductionTime(): number;
12132
+ totalProductionTime: number;
12818
12133
  /**
12819
12134
  * The Total Number of Class 1 Tray Equivalents Packed for this Hour
12820
12135
  *
12821
- * @public
12822
12136
  * @type {number}
12137
+ * @public
12823
12138
  */
12824
- get totalClass1Trays(): number;
12139
+ totalClass1Trays: number;
12825
12140
  /**
12826
12141
  * The Total Number of Class 2 Tray Equivalents Packed for this Hour
12827
12142
  *
12828
- * @public
12829
12143
  * @type {number}
12144
+ * @public
12830
12145
  */
12831
- get totalClass2Trays(): number;
12146
+ totalClass2Trays: number;
12832
12147
  /**
12833
12148
  * The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
12834
12149
  *
12835
- * @public
12836
12150
  * @type {number}
12151
+ * @public
12837
12152
  */
12838
- get class1TraysPerHourExcludingDowntimeTarget(): number;
12153
+ class1TraysPerHourExcludingDowntimeTarget: number;
12839
12154
  /**
12840
12155
  * The Primary Issue Category for this Hourly Entry
12841
12156
  *
12842
- * @public
12843
12157
  * @type {?string}
12158
+ * @public
12844
12159
  */
12845
- get primaryIssueCategory(): string;
12160
+ primaryIssueCategory: string | null;
12846
12161
  /**
12847
12162
  * The Primary Issue Tag for this Hourly Entry
12848
12163
  *
12849
- * @public
12850
12164
  * @type {?string}
12165
+ * @public
12851
12166
  */
12852
- get primaryIssueTag(): string;
12167
+ primaryIssueTag: string | null;
12853
12168
  /**
12854
12169
  * The Secondary Issue Category for this Hourly Entry
12855
12170
  *
12856
- * @public
12857
12171
  * @type {?string}
12172
+ * @public
12858
12173
  */
12859
- get secondaryIssueCategory(): string;
12174
+ secondaryIssueCategory: string | null;
12860
12175
  /**
12861
12176
  * The Secondary Issue Tag for this Hourly Entry
12862
12177
  *
12863
- * @public
12864
12178
  * @type {?string}
12179
+ * @public
12865
12180
  */
12866
- get secondaryIssueTag(): string;
12181
+ secondaryIssueTag: string | null;
12867
12182
  /**
12868
12183
  * An Optional Focus for the Next Hour
12869
12184
  *
12870
- * @public
12871
12185
  * @type {?string}
12186
+ * @public
12872
12187
  */
12873
- get nextHourFocus(): string;
12188
+ nextHourFocus: string | null;
12874
12189
  /**
12875
12190
  * An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
12876
12191
  *
12877
- * @public
12878
12192
  * @type {?number}
12193
+ * @public
12879
12194
  */
12880
- get satisfactionRating(): number;
12195
+ satisfactionRating: number | null;
12881
12196
  /**
12882
12197
  * The Status of this Hourly Entry
12883
12198
  *
12884
- * @public
12885
12199
  * @type {string}
12200
+ * @public
12886
12201
  */
12887
- get status(): string;
12202
+ status: string;
12888
12203
  /**
12889
12204
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour without Planned Downtime (e.g. Smoko Breaks)
12890
12205
  *
12891
- * @public
12892
12206
  * @type {number}
12207
+ * @public
12893
12208
  */
12894
- get class1TraysPerHourPotential(): number;
12209
+ class1TraysPerHourPotential: number;
12895
12210
  /**
12896
12211
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour with Zero Downtime
12897
12212
  *
12898
- * @public
12899
12213
  * @type {number}
12214
+ * @public
12900
12215
  */
12901
- get class1TraysPerHourExcludingDowntime(): number;
12216
+ class1TraysPerHourExcludingDowntime: number;
12902
12217
  /**
12903
12218
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour without Planned Downtime (e.g. Smoko Breaks)
12904
12219
  *
12905
- * @public
12906
12220
  * @type {?number}
12221
+ * @public
12907
12222
  */
12908
- get class1TraysPerManHourPotential(): number;
12223
+ class1TraysPerManHourPotential: number | null;
12909
12224
  /**
12910
12225
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour with Zero Downtime
12911
12226
  *
12912
- * @public
12913
12227
  * @type {?number}
12228
+ * @public
12914
12229
  */
12915
- get class1TraysPerManHourExcludingDowntime(): number;
12230
+ class1TraysPerManHourExcludingDowntime: number | null;
12916
12231
  /**
12917
12232
  * The Manning Percentage based on the Average Target for this Hour
12918
12233
  *
12919
- * @public
12920
12234
  * @type {?number}
12235
+ * @public
12921
12236
  */
12922
- get manningPercentage(): number;
12237
+ manningPercentage: number | null;
12923
12238
  /**
12924
12239
  * The Total Number of People working for this Hour
12925
12240
  *
12926
- * @public
12927
12241
  * @type {?number}
12242
+ * @public
12928
12243
  */
12929
- get totalManning(): number;
12244
+ totalManning: number | null;
12930
12245
  /**
12931
12246
  * The Percentage of Production Time without Downtime for this Hour
12932
12247
  *
12933
- * @public
12934
12248
  * @type {number}
12249
+ * @public
12935
12250
  */
12936
- get uptimePercentage(): number;
12251
+ uptimePercentage: number;
12937
12252
  /**
12938
12253
  * The Percentage of Downtime for this Hour
12939
12254
  *
12940
- * @public
12941
12255
  * @type {number}
12256
+ * @public
12942
12257
  */
12943
- get downtimePercentage(): number;
12258
+ downtimePercentage: number;
12944
12259
  /**
12945
12260
  * Whether the Shift Hourly Entry has been deleted
12946
12261
  *
12947
- * @public
12948
12262
  * @type {boolean}
12263
+ * @public
12949
12264
  */
12950
- get deleted(): boolean;
12265
+ deleted: boolean;
12951
12266
  /**
12952
12267
  * When the Shift Hourly Entry was last updated
12953
12268
  *
12954
- * @public
12955
12269
  * @type {Date}
12956
- */
12957
- get updateTimestamp(): Date;
12958
- /**
12959
- * The Site ID associated with this Shift Hourly Entry
12960
- *
12961
- * @public
12962
- * @type {number}
12963
- */
12964
- get siteId(): number;
12965
- /**
12966
- * Convert this **ShiftHourlyEntryModel** to a JSON Object
12967
- *
12968
12270
  * @public
12969
- * @return {Object<string, any>}
12970
12271
  */
12971
- toJSON(): {
12972
- [x: string]: any;
12973
- };
12272
+ updateTimestamp: Date;
12974
12273
  }
12975
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12274
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12976
12275
  }
12977
12276
 
12978
12277
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
@@ -12982,136 +12281,128 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
12982
12281
  *
12983
12282
  * @class
12984
12283
  * @hideconstructor
12985
- * @extends BaseSiteModel
12284
+ * @extends BaseModel
12986
12285
  */
12987
- class ShiftModel extends BaseSiteModel {
12286
+ class ShiftModel extends BaseModel {
12988
12287
  /**
12989
12288
  * Create a new **ShiftModel** from a JSON Object or JSON String
12990
12289
  *
12991
12290
  * @static
12992
12291
  * @public
12993
12292
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12994
- * @param {number} siteId The Site ID associated with this Shift
12995
12293
  * @return {ShiftModel}
12996
12294
  */
12997
12295
  static fromJSON(json: {
12998
12296
  [x: string]: any;
12999
- } | string, siteId: number): ShiftModel;
13000
- /**
13001
- * ShiftModel Constructor
13002
- *
13003
- * @protected
13004
- * @param {number} siteId The Site ID associated with this Shift
13005
- */
13006
- protected constructor();
12297
+ } | string): ShiftModel;
13007
12298
  /**
13008
12299
  * The Shift ID
13009
12300
  *
13010
- * @public
13011
12301
  * @type {string}
12302
+ * @public
13012
12303
  */
13013
- get id(): string;
12304
+ id: string;
13014
12305
  /**
13015
12306
  * The Packing Line ID this Shift is associated with
13016
12307
  *
13017
- * @public
13018
12308
  * @type {string}
12309
+ * @public
13019
12310
  */
13020
- get packingLineId(): string;
12311
+ packingLineId: string;
13021
12312
  /**
13022
12313
  * When this Shift was Created
13023
12314
  *
13024
- * @public
13025
12315
  * @type {Date}
12316
+ * @public
13026
12317
  */
13027
- get createdTimestamp(): Date;
12318
+ createdTimestamp: Date;
13028
12319
  /**
13029
12320
  * The Type of Shift
13030
12321
  *
13031
- * @public
13032
12322
  * @type {string}
12323
+ * @public
13033
12324
  */
13034
- get type(): string;
12325
+ type: string;
13035
12326
  /**
13036
12327
  * The Name of the Line Manager for this Shift
13037
12328
  *
13038
- * @public
13039
12329
  * @type {?string}
12330
+ * @public
13040
12331
  */
13041
- get lineManagerName(): string;
12332
+ lineManagerName: string | null;
13042
12333
  /**
13043
12334
  * The Target Number of Bins to Tip for this Shift
13044
12335
  *
13045
- * @public
13046
12336
  * @type {?number}
12337
+ * @public
13047
12338
  */
13048
- get binsTippedTarget(): number;
12339
+ binsTippedTarget: number | null;
13049
12340
  /**
13050
12341
  * *DEPRECATED* The Initial Number of People working in all Areas except Class 2 for this Hour
13051
12342
  *
13052
- * @public
13053
12343
  * @type {?number}
12344
+ * @public
13054
12345
  */
13055
- get initialClass1Manning(): number;
12346
+ initialClass1Manning: number | null;
13056
12347
  /**
13057
12348
  * *DEPRECATED* The Initial Number of People working in the Class 2 Area for this Hour
13058
12349
  *
13059
- * @public
13060
12350
  * @type {?number}
12351
+ * @public
13061
12352
  */
13062
- get initialClass2Manning(): number;
12353
+ initialClass2Manning: number | null;
13063
12354
  /**
13064
12355
  * When this Shift was Ready for Packing
13065
12356
  *
13066
- * @public
13067
12357
  * @type {?Date}
12358
+ * @public
13068
12359
  */
13069
- get readyTimestamp(): Date;
12360
+ readyTimestamp: Date | null;
13070
12361
  /**
13071
12362
  * When this Shift was Started
13072
12363
  *
13073
- * @public
13074
12364
  * @type {?Date}
12365
+ * @public
13075
12366
  */
13076
- get startTimestamp(): Date;
12367
+ startTimestamp: Date | null;
13077
12368
  /**
13078
12369
  * When this Shift was Finished
13079
12370
  *
13080
- * @public
13081
12371
  * @type {?Date}
12372
+ * @public
13082
12373
  */
13083
- get finishTimestamp(): Date;
12374
+ finishTimestamp: Date | null;
13084
12375
  /**
13085
12376
  * When this Shift was Published
13086
12377
  *
13087
- * @public
13088
12378
  * @type {?Date}
12379
+ * @public
13089
12380
  */
13090
- get publishTimestamp(): Date;
12381
+ publishTimestamp: Date | null;
13091
12382
  /**
13092
12383
  * An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
13093
12384
  *
13094
- * @public
13095
12385
  * @type {?number}
12386
+ * @public
13096
12387
  */
13097
- get satisfactionRating(): number;
12388
+ satisfactionRating: number | null;
13098
12389
  /**
13099
12390
  * *DEPRECATED* An Optional Array of Handover Notes for this Shift
13100
12391
  *
13101
- * @public
13102
12392
  * @type {Array<{area: string, noteContent: string}>}
12393
+ * @public
13103
12394
  */
13104
- get handoverNotes(): {
12395
+ handoverNotes: {
13105
12396
  area: string;
13106
12397
  noteContent: string;
13107
12398
  }[];
13108
12399
  /**
13109
12400
  * An Optional Array of Notes for this Shift
13110
12401
  *
13111
- * @public
13112
12402
  * @type {Array<{area: string, timestamp: Date, content: string}>}
12403
+ * @public
13113
12404
  */
13114
- get areaNotes(): {
12405
+ areaNotes: {
13115
12406
  area: string;
13116
12407
  timestamp: Date;
13117
12408
  content: string;
@@ -13119,56 +12410,40 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
13119
12410
  /**
13120
12411
  * The Schedule for this Shift
13121
12412
  *
13122
- * @public
13123
12413
  * @type {{startTime: string, endTime: string, breaks: Array<{startTime: string, endTime: string}>}}
12414
+ * @public
13124
12415
  */
13125
- get schedule(): {
12416
+ schedule: {
13126
12417
  startTime: string;
13127
12418
  endTime: string;
13128
- breaks: Array<{
12419
+ breaks: {
13129
12420
  startTime: string;
13130
12421
  endTime: string;
13131
- }>;
12422
+ }[];
13132
12423
  };
13133
12424
  /**
13134
12425
  * The Status of this Shift
13135
12426
  *
13136
- * @public
13137
12427
  * @type {string}
12428
+ * @public
13138
12429
  */
13139
- get status(): string;
12430
+ status: string;
13140
12431
  /**
13141
12432
  * Whether the Shift has been deleted
13142
12433
  *
13143
- * @public
13144
12434
  * @type {boolean}
12435
+ * @public
13145
12436
  */
13146
- get deleted(): boolean;
12437
+ deleted: boolean;
13147
12438
  /**
13148
12439
  * When the Shift was last updated
13149
12440
  *
13150
- * @public
13151
12441
  * @type {Date}
13152
- */
13153
- get updateTimestamp(): Date;
13154
- /**
13155
- * The Site ID associated with this Shift
13156
- *
13157
- * @public
13158
- * @type {number}
13159
- */
13160
- get siteId(): number;
13161
- /**
13162
- * Convert this **ShiftModel** to a JSON Object
13163
- *
13164
12442
  * @public
13165
- * @return {Object<string, any>}
13166
12443
  */
13167
- toJSON(): {
13168
- [x: string]: any;
13169
- };
12444
+ updateTimestamp: Date;
13170
12445
  }
13171
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12446
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
13172
12447
  }
13173
12448
 
13174
12449
  declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
@@ -13178,103 +12453,79 @@ declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
13178
12453
  *
13179
12454
  * @class
13180
12455
  * @hideconstructor
13181
- * @extends BaseSiteModel
12456
+ * @extends BaseModel
13182
12457
  */
13183
- class VarietyModel extends BaseSiteModel {
12458
+ class VarietyModel extends BaseModel {
13184
12459
  /**
13185
12460
  * Create a new **VarietyModel** from a JSON Object or JSON String
13186
12461
  *
13187
12462
  * @static
13188
12463
  * @public
13189
12464
  * @param {Object<string, any>|string} json A JSON Object or JSON String
13190
- * @param {number} siteId The Site ID associated with this Variety
13191
12465
  * @return {VarietyModel}
13192
12466
  */
13193
12467
  static fromJSON(json: {
13194
12468
  [x: string]: any;
13195
- } | string, siteId: number): VarietyModel;
13196
- /**
13197
- * VarietyModel Constructor
13198
- *
13199
- * @protected
13200
- * @param {number} siteId The Site ID associated with this Variety
13201
- */
13202
- protected constructor();
12469
+ } | string): VarietyModel;
13203
12470
  /**
13204
12471
  * The Variety ID
13205
12472
  *
13206
- * @public
13207
12473
  * @type {string}
12474
+ * @public
13208
12475
  */
13209
- get id(): string;
12476
+ id: string;
13210
12477
  /**
13211
12478
  * The Variety Code
13212
12479
  *
13213
- * @public
13214
12480
  * @type {string}
12481
+ * @public
13215
12482
  */
13216
- get code(): string;
12483
+ code: string;
13217
12484
  /**
13218
12485
  * The Variety Name
13219
12486
  *
13220
- * @public
13221
12487
  * @type {string}
12488
+ * @public
13222
12489
  */
13223
- get name(): string;
12490
+ name: string;
13224
12491
  /**
13225
12492
  * The Variety Description
13226
12493
  *
13227
- * @public
13228
12494
  * @type {string}
12495
+ * @public
13229
12496
  */
13230
- get description(): string;
12497
+ description: string;
13231
12498
  /**
13232
12499
  * The Variety Image Source
13233
12500
  *
13234
- * @public
13235
12501
  * @type {string}
12502
+ * @public
13236
12503
  */
13237
- get image(): string;
12504
+ image: string;
13238
12505
  /**
13239
12506
  * An Array of Fruit Sizes Defined for this Variety
13240
12507
  *
13241
- * @public
13242
12508
  * @type {Array<{size: string}>}
12509
+ * @public
13243
12510
  */
13244
- get fruitSizes(): {
12511
+ fruitSizes: {
13245
12512
  size: string;
13246
12513
  }[];
13247
12514
  /**
13248
12515
  * Whether the Variety has been deleted
13249
12516
  *
13250
- * @public
13251
12517
  * @type {boolean}
12518
+ * @public
13252
12519
  */
13253
- get deleted(): boolean;
12520
+ deleted: boolean;
13254
12521
  /**
13255
12522
  * When the Variety was last updated
13256
12523
  *
13257
- * @public
13258
12524
  * @type {Date}
13259
- */
13260
- get updateTimestamp(): Date;
13261
- /**
13262
- * The Site ID associated with this Variety
13263
- *
13264
12525
  * @public
13265
- * @type {number}
13266
- */
13267
- get siteId(): number;
13268
- /**
13269
- * Convert this **VarietyModel** to a JSON Object
13270
- *
13271
- * @public
13272
- * @return {Object<string, any>}
13273
12526
  */
13274
- toJSON(): {
13275
- [x: string]: any;
13276
- };
12527
+ updateTimestamp: Date;
13277
12528
  }
13278
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12529
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
13279
12530
  }
13280
12531