@ricado/api-client 1.3.0 → 2.0.1

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