@ricado/api-client 1.4.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) 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 +4 -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 +834 -1589
  69. package/package.json +1 -1
  70. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  71. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  72. package/src/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
  73. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  74. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  75. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  76. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  77. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  78. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  79. package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  80. package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  81. package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -4
  82. package/src/Controllers/Packhouse/Site/PackrunController.js +4 -4
  83. package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  84. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +4 -4
  85. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  86. package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
  87. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  88. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
  89. package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
  90. package/src/Controllers/Site/AlarmController.js +4 -4
  91. package/src/Controllers/Site/AlarmGroupController.js +4 -4
  92. package/src/Controllers/Site/DefinitionController.js +4 -4
  93. package/src/Controllers/Site/PermanentObjectController.js +4 -4
  94. package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
  95. package/src/Controllers/Site/PointController.js +4 -4
  96. package/src/Controllers/Site/TemporaryObjectController.js +4 -4
  97. package/src/Models/AccountPolicyModel.js +21 -117
  98. package/src/Models/ApiAccountModel.js +21 -117
  99. package/src/Models/CompanyModel.js +15 -87
  100. package/src/Models/FirebaseTokenModel.js +24 -132
  101. package/src/Models/Packhouse/Site/BinTipWeightModel.js +33 -174
  102. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +30 -159
  103. package/src/Models/Packhouse/Site/CompacSizerModel.js +48 -249
  104. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +36 -189
  105. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +30 -159
  106. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +24 -129
  107. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +42 -219
  108. package/src/Models/Packhouse/Site/DowntimeEventModel.js +48 -249
  109. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +30 -159
  110. package/src/Models/Packhouse/Site/GrowingMethodModel.js +24 -129
  111. package/src/Models/Packhouse/Site/PackTypeModel.js +30 -159
  112. package/src/Models/Packhouse/Site/PackingLineModel.js +51 -264
  113. package/src/Models/Packhouse/Site/PackrunModel.js +51 -264
  114. package/src/Models/Packhouse/Site/RejectBinModel.js +33 -174
  115. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +42 -219
  116. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +36 -189
  117. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +42 -219
  118. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +117 -594
  119. package/src/Models/Packhouse/Site/ShiftModel.js +63 -324
  120. package/src/Models/Packhouse/Site/VarietyModel.js +30 -159
  121. package/src/Models/RTUModel.js +18 -102
  122. package/src/Models/RTUPluginModel.js +15 -87
  123. package/src/Models/Site/AlarmGroupModel.js +27 -144
  124. package/src/Models/Site/AlarmModel.js +57 -294
  125. package/src/Models/Site/DefinitionModel.js +24 -129
  126. package/src/Models/Site/PermanentObjectDataModel.js +30 -159
  127. package/src/Models/Site/PermanentObjectModel.js +27 -144
  128. package/src/Models/Site/PointModel.js +39 -204
  129. package/src/Models/Site/TemporaryObjectModel.js +24 -129
  130. package/src/Models/Site/index.js +0 -2
  131. package/src/Models/SiteModel.js +18 -102
  132. package/src/Models/TokenModel.js +30 -162
  133. package/src/Models/UserAccountActionTokenModel.js +33 -177
  134. package/src/Models/UserAccountModel.js +30 -162
  135. package/src/PackageVersion.js +1 -1
  136. package/lib/Models/Site/BaseSiteModel.js +0 -58
  137. 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 {
@@ -4860,98 +4729,74 @@ declare module '@ricado/api-client/Models/Site/AlarmGroupModel' {
4860
4729
  *
4861
4730
  * @class
4862
4731
  * @hideconstructor
4863
- * @extends BaseSiteModel
4732
+ * @extends BaseModel
4864
4733
  */
4865
- class AlarmGroupModel extends BaseSiteModel {
4734
+ class AlarmGroupModel extends BaseModel {
4866
4735
  /**
4867
4736
  * Create a new **AlarmGroupModel** from a JSON Object or JSON String
4868
4737
  *
4869
4738
  * @static
4870
4739
  * @public
4871
4740
  * @param {Object<string, any>|string} json A JSON Object or JSON String
4872
- * @param {number} siteId The Site ID associated with this Alarm Group
4873
4741
  * @return {AlarmGroupModel}
4874
4742
  */
4875
4743
  static fromJSON(json: {
4876
4744
  [x: string]: any;
4877
- } | string, siteId: number): AlarmGroupModel;
4878
- /**
4879
- * AlarmGroupModel Constructor
4880
- *
4881
- * @protected
4882
- * @param {number} siteId The Site ID associated with this Alarm Group
4883
- */
4884
- protected constructor();
4745
+ } | string): AlarmGroupModel;
4885
4746
  /**
4886
4747
  * The Alarm Group ID
4887
4748
  *
4888
- * @public
4889
4749
  * @type {string}
4750
+ * @public
4890
4751
  */
4891
- get id(): string;
4752
+ id: string;
4892
4753
  /**
4893
4754
  * The RTU this Alarm Group belongs to
4894
4755
  *
4895
- * @public
4896
4756
  * @type {?number}
4757
+ * @public
4897
4758
  */
4898
- get rtuId(): number;
4759
+ rtuId: number | null;
4899
4760
  /**
4900
4761
  * The Alarm Group Name
4901
4762
  *
4902
- * @public
4903
4763
  * @type {string}
4764
+ * @public
4904
4765
  */
4905
- get name(): string;
4766
+ name: string;
4906
4767
  /**
4907
4768
  * The Boolean Point used to Reset this Alarm Group
4908
4769
  *
4909
- * @public
4910
4770
  * @type {number}
4771
+ * @public
4911
4772
  */
4912
- get resetPoint(): number;
4773
+ resetPoint: number;
4913
4774
  /**
4914
4775
  * An Array of Points and the States to be Written when this Alarm Group is Reset
4915
4776
  *
4916
- * @public
4917
4777
  * @type {Array<{point: number, value: boolean}>}
4778
+ * @public
4918
4779
  */
4919
- get externalResetPoints(): {
4780
+ externalResetPoints: {
4920
4781
  point: number;
4921
4782
  value: boolean;
4922
4783
  }[];
4923
4784
  /**
4924
4785
  * Whether the Alarm Group has been deleted
4925
4786
  *
4926
- * @public
4927
4787
  * @type {boolean}
4788
+ * @public
4928
4789
  */
4929
- get deleted(): boolean;
4790
+ deleted: boolean;
4930
4791
  /**
4931
4792
  * When the Alarm Group was last updated
4932
4793
  *
4933
- * @public
4934
4794
  * @type {Date}
4935
- */
4936
- get updateTimestamp(): Date;
4937
- /**
4938
- * The Site ID associated with this Alarm Group
4939
- *
4940
- * @public
4941
- * @type {number}
4942
- */
4943
- get siteId(): number;
4944
- /**
4945
- * Convert this **AlarmGroupModel** to a JSON Object
4946
- *
4947
4795
  * @public
4948
- * @return {Object<string, any>}
4949
4796
  */
4950
- toJSON(): {
4951
- [x: string]: any;
4952
- };
4797
+ updateTimestamp: Date;
4953
4798
  }
4954
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
4799
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
4955
4800
  }
4956
4801
 
4957
4802
  declare module '@ricado/api-client/Models/Site/AlarmModel' {
@@ -4961,165 +4806,141 @@ declare module '@ricado/api-client/Models/Site/AlarmModel' {
4961
4806
  *
4962
4807
  * @class
4963
4808
  * @hideconstructor
4964
- * @extends BaseSiteModel
4809
+ * @extends BaseModel
4965
4810
  */
4966
- class AlarmModel extends BaseSiteModel {
4811
+ class AlarmModel extends BaseModel {
4967
4812
  /**
4968
4813
  * Create a new **AlarmModel** from a JSON Object or JSON String
4969
4814
  *
4970
4815
  * @static
4971
4816
  * @public
4972
4817
  * @param {Object<string, any>|string} json A JSON Object or JSON String
4973
- * @param {number} siteId The Site ID associated with this Alarm
4974
4818
  * @return {AlarmModel}
4975
4819
  */
4976
4820
  static fromJSON(json: {
4977
4821
  [x: string]: any;
4978
- } | string, siteId: number): AlarmModel;
4979
- /**
4980
- * AlarmModel Constructor
4981
- *
4982
- * @protected
4983
- * @param {number} siteId The Site ID associated with this Alarm
4984
- */
4985
- protected constructor();
4822
+ } | string): AlarmModel;
4986
4823
  /**
4987
4824
  * The Alarm ID
4988
4825
  *
4989
- * @public
4990
4826
  * @type {string}
4827
+ * @public
4991
4828
  */
4992
- get id(): string;
4829
+ id: string;
4993
4830
  /**
4994
4831
  * The RTU this Alarm belongs to
4995
4832
  *
4996
- * @public
4997
4833
  * @type {?number}
4834
+ * @public
4998
4835
  */
4999
- get rtuId(): number;
4836
+ rtuId: number | null;
5000
4837
  /**
5001
4838
  * The Alarm Group this Alarm is a part of
5002
4839
  *
5003
- * @public
5004
4840
  * @type {string}
4841
+ * @public
5005
4842
  */
5006
- get groupId(): string;
4843
+ groupId: string;
5007
4844
  /**
5008
4845
  * The Alarm Name
5009
4846
  *
5010
- * @public
5011
4847
  * @type {string}
4848
+ * @public
5012
4849
  */
5013
- get name(): string;
4850
+ name: string;
5014
4851
  /**
5015
4852
  * Whether the Alarm is Critical or not
5016
4853
  *
5017
- * @public
5018
4854
  * @type {boolean}
4855
+ * @public
5019
4856
  */
5020
- get critical(): boolean;
4857
+ critical: boolean;
5021
4858
  /**
5022
4859
  * The Python Script with the Conditions to Trip this Alarm
5023
4860
  *
5024
- * @public
5025
4861
  * @type {string}
4862
+ * @public
5026
4863
  */
5027
- get tripScript(): string;
4864
+ tripScript: string;
5028
4865
  /**
5029
4866
  * The Python Script with the Conditions to Reset this Alarm
5030
4867
  *
5031
- * @public
5032
4868
  * @type {?string}
4869
+ * @public
5033
4870
  */
5034
- get resetScript(): string;
4871
+ resetScript: string | null;
5035
4872
  /**
5036
4873
  * The Delay before this Alarm will Trip in Milliseconds
5037
4874
  *
5038
- * @public
5039
4875
  * @type {number}
4876
+ * @public
5040
4877
  */
5041
- get tripDelay(): number;
4878
+ tripDelay: number;
5042
4879
  /**
5043
4880
  * The Delay before this Alarm will Reset in Milliseconds
5044
4881
  *
5045
- * @public
5046
4882
  * @type {number}
4883
+ * @public
5047
4884
  */
5048
- get resetDelay(): number;
4885
+ resetDelay: number;
5049
4886
  /**
5050
4887
  * Whether the Alarm should Automatically Reset
5051
4888
  *
5052
- * @public
5053
4889
  * @type {boolean}
4890
+ * @public
5054
4891
  */
5055
- get autoReset(): boolean;
4892
+ autoReset: boolean;
5056
4893
  /**
5057
4894
  * The Delay before this Alarm should Auto Reset in Milliseconds
5058
4895
  *
5059
- * @public
5060
4896
  * @type {number}
4897
+ * @public
5061
4898
  */
5062
- get autoResetDelay(): number;
4899
+ autoResetDelay: number;
5063
4900
  /**
5064
4901
  * The Point used to store the Alarm Tripped State
5065
4902
  *
5066
- * @public
5067
4903
  * @type {number}
4904
+ * @public
5068
4905
  */
5069
- get trippedStatePoint(): number;
4906
+ trippedStatePoint: number;
5070
4907
  /**
5071
4908
  * The Point used to store the Alarm Tripped Timestamp
5072
4909
  *
5073
- * @public
5074
4910
  * @type {number}
4911
+ * @public
5075
4912
  */
5076
- get trippedTimestampPoint(): number;
4913
+ trippedTimestampPoint: number;
5077
4914
  /**
5078
4915
  * The Point used to store the Alarm's Internal Trip Start
5079
4916
  *
5080
- * @public
5081
4917
  * @type {number}
4918
+ * @public
5082
4919
  */
5083
- get internalTripStartPoint(): number;
4920
+ internalTripStartPoint: number;
5084
4921
  /**
5085
4922
  * The Point used to store the Alarm's Internal Reset Start
5086
4923
  *
5087
- * @public
5088
4924
  * @type {number}
4925
+ * @public
5089
4926
  */
5090
- get internalResetStartPoint(): number;
4927
+ internalResetStartPoint: number;
5091
4928
  /**
5092
4929
  * Whether the Alarm has been deleted
5093
4930
  *
5094
- * @public
5095
4931
  * @type {boolean}
4932
+ * @public
5096
4933
  */
5097
- get deleted(): boolean;
4934
+ deleted: boolean;
5098
4935
  /**
5099
4936
  * When the Alarm was last updated
5100
4937
  *
5101
- * @public
5102
4938
  * @type {Date}
5103
- */
5104
- get updateTimestamp(): Date;
5105
- /**
5106
- * The Site ID associated with this Alarm
5107
- *
5108
- * @public
5109
- * @type {number}
5110
- */
5111
- get siteId(): number;
5112
- /**
5113
- * Convert this **AlarmModel** to a JSON Object
5114
- *
5115
4939
  * @public
5116
- * @return {Object<string, any>}
5117
4940
  */
5118
- toJSON(): {
5119
- [x: string]: any;
5120
- };
4941
+ updateTimestamp: Date;
5121
4942
  }
5122
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
4943
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5123
4944
  }
5124
4945
 
5125
4946
  declare module '@ricado/api-client/Models/Site/DefinitionModel' {
@@ -5129,88 +4950,64 @@ declare module '@ricado/api-client/Models/Site/DefinitionModel' {
5129
4950
  *
5130
4951
  * @class
5131
4952
  * @hideconstructor
5132
- * @extends BaseSiteModel
4953
+ * @extends BaseModel
5133
4954
  */
5134
- class DefinitionModel extends BaseSiteModel {
4955
+ class DefinitionModel extends BaseModel {
5135
4956
  /**
5136
4957
  * Create a new **DefinitionModel** from a JSON Object or JSON String
5137
4958
  *
5138
4959
  * @static
5139
4960
  * @public
5140
4961
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5141
- * @param {number} siteId The Site ID associated with this Definition
5142
4962
  * @return {DefinitionModel}
5143
4963
  */
5144
4964
  static fromJSON(json: {
5145
4965
  [x: string]: any;
5146
- } | string, siteId: number): DefinitionModel;
5147
- /**
5148
- * DefinitionModel Constructor
5149
- *
5150
- * @protected
5151
- * @param {number} siteId The Site ID associated with this Definition
5152
- */
5153
- protected constructor();
4966
+ } | string): DefinitionModel;
5154
4967
  /**
5155
4968
  * The Definition ID
5156
4969
  *
5157
- * @public
5158
4970
  * @type {string}
4971
+ * @public
5159
4972
  */
5160
- get id(): string;
4973
+ id: string;
5161
4974
  /**
5162
4975
  * The Definition Key Index
5163
4976
  *
5164
- * @public
5165
4977
  * @type {string}
4978
+ * @public
5166
4979
  */
5167
- get keyIndex(): string;
4980
+ keyIndex: string;
5168
4981
  /**
5169
4982
  * The Definition Type
5170
4983
  *
5171
- * @public
5172
4984
  * @type {string}
4985
+ * @public
5173
4986
  */
5174
- get type(): string;
4987
+ type: string;
5175
4988
  /**
5176
4989
  * The Definition Data
5177
4990
  *
5178
- * @public
5179
4991
  * @type {Object}
4992
+ * @public
5180
4993
  */
5181
- get data(): any;
4994
+ data: any;
5182
4995
  /**
5183
4996
  * Whether the Definition has been deleted
5184
4997
  *
5185
- * @public
5186
4998
  * @type {boolean}
4999
+ * @public
5187
5000
  */
5188
- get deleted(): boolean;
5001
+ deleted: boolean;
5189
5002
  /**
5190
5003
  * When the Definition was last updated
5191
5004
  *
5192
- * @public
5193
5005
  * @type {Date}
5194
- */
5195
- get updateTimestamp(): Date;
5196
- /**
5197
- * The Site ID associated with this Definition
5198
- *
5199
- * @public
5200
- * @type {number}
5201
- */
5202
- get siteId(): number;
5203
- /**
5204
- * Convert this **DefinitionModel** to a JSON Object
5205
- *
5206
5006
  * @public
5207
- * @return {Object<string, any>}
5208
5007
  */
5209
- toJSON(): {
5210
- [x: string]: any;
5211
- };
5008
+ updateTimestamp: Date;
5212
5009
  }
5213
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5010
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5214
5011
  }
5215
5012
 
5216
5013
  declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
@@ -5220,102 +5017,78 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectDataModel' {
5220
5017
  *
5221
5018
  * @class
5222
5019
  * @hideconstructor
5223
- * @extends BaseSiteModel
5020
+ * @extends BaseModel
5224
5021
  */
5225
- class PermanentObjectDataModel extends BaseSiteModel {
5022
+ class PermanentObjectDataModel extends BaseModel {
5226
5023
  /**
5227
5024
  * Create a new **PermanentObjectDataModel** from a JSON Object or JSON String
5228
5025
  *
5229
5026
  * @static
5230
5027
  * @public
5231
5028
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5232
- * @param {number} siteId The Site ID associated with this Permanent Object Data
5233
5029
  * @return {PermanentObjectDataModel}
5234
5030
  */
5235
5031
  static fromJSON(json: {
5236
5032
  [x: string]: any;
5237
- } | string, siteId: number): PermanentObjectDataModel;
5238
- /**
5239
- * PermanentObjectDataModel Constructor
5240
- *
5241
- * @protected
5242
- * @param {number} siteId The Site ID associated with this Permanent Object Data
5243
- */
5244
- protected constructor();
5033
+ } | string): PermanentObjectDataModel;
5245
5034
  /**
5246
5035
  * The Permanent Object Data ID
5247
5036
  *
5248
- * @public
5249
5037
  * @type {string}
5038
+ * @public
5250
5039
  */
5251
- get id(): string;
5040
+ id: string;
5252
5041
  /**
5253
5042
  * An Optional Key Index for this Data
5254
5043
  *
5255
- * @public
5256
5044
  * @type {string}
5045
+ * @public
5257
5046
  */
5258
- get keyIndex(): string;
5047
+ keyIndex: string;
5259
5048
  /**
5260
5049
  * The Permanent Object this Data is related to
5261
5050
  *
5262
- * @public
5263
5051
  * @type {string}
5052
+ * @public
5264
5053
  */
5265
- get permanentObjectId(): string;
5054
+ permanentObjectId: string;
5266
5055
  /**
5267
5056
  * The Permanent Object Data Type
5268
5057
  *
5269
- * @public
5270
5058
  * @type {string}
5059
+ * @public
5271
5060
  */
5272
- get type(): string;
5061
+ type: string;
5273
5062
  /**
5274
5063
  * The Timestamp when this Data was Created
5275
5064
  *
5276
- * @public
5277
5065
  * @type {Date}
5066
+ * @public
5278
5067
  */
5279
- get timestamp(): Date;
5068
+ timestamp: Date;
5280
5069
  /**
5281
5070
  * The Data Object specific to this Permanent Object Data Type
5282
5071
  *
5283
- * @public
5284
5072
  * @type {Object}
5073
+ * @public
5285
5074
  */
5286
- get data(): any;
5075
+ data: any;
5287
5076
  /**
5288
5077
  * Whether the Permanent Object Data has been deleted
5289
5078
  *
5290
- * @public
5291
5079
  * @type {boolean}
5080
+ * @public
5292
5081
  */
5293
- get deleted(): boolean;
5082
+ deleted: boolean;
5294
5083
  /**
5295
5084
  * When the Permanent Object Data was last updated
5296
5085
  *
5297
- * @public
5298
5086
  * @type {Date}
5299
- */
5300
- get updateTimestamp(): Date;
5301
- /**
5302
- * The Site ID associated with this Permanent Object Data
5303
- *
5304
- * @public
5305
- * @type {number}
5306
- */
5307
- get siteId(): number;
5308
- /**
5309
- * Convert this **PermanentObjectDataModel** to a JSON Object
5310
- *
5311
5087
  * @public
5312
- * @return {Object<string, any>}
5313
5088
  */
5314
- toJSON(): {
5315
- [x: string]: any;
5316
- };
5089
+ updateTimestamp: Date;
5317
5090
  }
5318
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5091
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5319
5092
  }
5320
5093
 
5321
5094
  declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
@@ -5325,95 +5098,71 @@ declare module '@ricado/api-client/Models/Site/PermanentObjectModel' {
5325
5098
  *
5326
5099
  * @class
5327
5100
  * @hideconstructor
5328
- * @extends BaseSiteModel
5101
+ * @extends BaseModel
5329
5102
  */
5330
- class PermanentObjectModel extends BaseSiteModel {
5103
+ class PermanentObjectModel extends BaseModel {
5331
5104
  /**
5332
5105
  * Create a new **PermanentObjectModel** from a JSON Object or JSON String
5333
5106
  *
5334
5107
  * @static
5335
5108
  * @public
5336
5109
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5337
- * @param {number} siteId The Site ID associated with this Permanent Object
5338
5110
  * @return {PermanentObjectModel}
5339
5111
  */
5340
5112
  static fromJSON(json: {
5341
5113
  [x: string]: any;
5342
- } | string, siteId: number): PermanentObjectModel;
5343
- /**
5344
- * PermanentObjectModel Constructor
5345
- *
5346
- * @protected
5347
- * @param {number} siteId The Site ID associated with this Permanent Object
5348
- */
5349
- protected constructor();
5114
+ } | string): PermanentObjectModel;
5350
5115
  /**
5351
5116
  * The Permanent Object ID
5352
5117
  *
5353
- * @public
5354
5118
  * @type {string}
5119
+ * @public
5355
5120
  */
5356
- get id(): string;
5121
+ id: string;
5357
5122
  /**
5358
5123
  * The RTU this Permanent Object belongs to
5359
5124
  *
5360
- * @public
5361
5125
  * @type {?number}
5126
+ * @public
5362
5127
  */
5363
- get rtuId(): number;
5128
+ rtuId: number | null;
5364
5129
  /**
5365
5130
  * The Permanent Object Key Index
5366
5131
  *
5367
- * @public
5368
5132
  * @type {string}
5133
+ * @public
5369
5134
  */
5370
- get keyIndex(): string;
5135
+ keyIndex: string;
5371
5136
  /**
5372
5137
  * The Permanent Object Type
5373
5138
  *
5374
- * @public
5375
5139
  * @type {string}
5140
+ * @public
5376
5141
  */
5377
- get type(): string;
5142
+ type: string;
5378
5143
  /**
5379
5144
  * The Permanent Object Definition
5380
5145
  *
5381
- * @public
5382
5146
  * @type {Object}
5147
+ * @public
5383
5148
  */
5384
- get definition(): any;
5149
+ definition: any;
5385
5150
  /**
5386
5151
  * Whether the Permanent Object has been deleted
5387
5152
  *
5388
- * @public
5389
5153
  * @type {boolean}
5154
+ * @public
5390
5155
  */
5391
- get deleted(): boolean;
5156
+ deleted: boolean;
5392
5157
  /**
5393
5158
  * When the Permanent Object was last updated
5394
5159
  *
5395
- * @public
5396
5160
  * @type {Date}
5397
- */
5398
- get updateTimestamp(): Date;
5399
- /**
5400
- * The Site ID associated with this Permanent Object
5401
- *
5402
- * @public
5403
- * @type {number}
5404
- */
5405
- get siteId(): number;
5406
- /**
5407
- * Convert this **PermanentObjectModel** to a JSON Object
5408
- *
5409
5161
  * @public
5410
- * @return {Object<string, any>}
5411
5162
  */
5412
- toJSON(): {
5413
- [x: string]: any;
5414
- };
5163
+ updateTimestamp: Date;
5415
5164
  }
5416
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5165
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5417
5166
  }
5418
5167
 
5419
5168
  declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
@@ -5423,88 +5172,64 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
5423
5172
  *
5424
5173
  * @class
5425
5174
  * @hideconstructor
5426
- * @extends BaseSiteModel
5175
+ * @extends BaseModel
5427
5176
  */
5428
- class TemporaryObjectModel extends BaseSiteModel {
5177
+ class TemporaryObjectModel extends BaseModel {
5429
5178
  /**
5430
5179
  * Create a new **TemporaryObjectModel** from a JSON Object or JSON String
5431
5180
  *
5432
5181
  * @static
5433
5182
  * @public
5434
5183
  * @param {Object<string, any>|string} json A JSON Object or JSON String
5435
- * @param {number} siteId The Site ID associated with this Temporary Object
5436
5184
  * @return {TemporaryObjectModel}
5437
5185
  */
5438
5186
  static fromJSON(json: {
5439
5187
  [x: string]: any;
5440
- } | string, siteId: number): TemporaryObjectModel;
5441
- /**
5442
- * TemporaryObjectModel Constructor
5443
- *
5444
- * @protected
5445
- * @param {number} siteId The Site ID associated with this Temporary Object
5446
- */
5447
- protected constructor();
5188
+ } | string): TemporaryObjectModel;
5448
5189
  /**
5449
5190
  * The Temporary Object ID
5450
5191
  *
5451
- * @public
5452
5192
  * @type {string}
5193
+ * @public
5453
5194
  */
5454
- get id(): string;
5195
+ id: string;
5455
5196
  /**
5456
5197
  * The Temporary Object Key Index
5457
5198
  *
5458
- * @public
5459
5199
  * @type {string}
5200
+ * @public
5460
5201
  */
5461
- get keyIndex(): string;
5202
+ keyIndex: string;
5462
5203
  /**
5463
5204
  * The Temporary Object Type
5464
5205
  *
5465
- * @public
5466
5206
  * @type {string}
5207
+ * @public
5467
5208
  */
5468
- get type(): string;
5209
+ type: string;
5469
5210
  /**
5470
5211
  * The Temporary Object Definition
5471
5212
  *
5472
- * @public
5473
5213
  * @type {Object}
5214
+ * @public
5474
5215
  */
5475
- get definition(): any;
5216
+ definition: any;
5476
5217
  /**
5477
5218
  * Whether the Temporary Object has been deleted
5478
5219
  *
5479
- * @public
5480
5220
  * @type {boolean}
5221
+ * @public
5481
5222
  */
5482
- get deleted(): boolean;
5223
+ deleted: boolean;
5483
5224
  /**
5484
5225
  * When the Temporary Object was last updated
5485
5226
  *
5486
- * @public
5487
5227
  * @type {Date}
5488
- */
5489
- get updateTimestamp(): Date;
5490
- /**
5491
- * The Site ID associated with this Temporary Object
5492
- *
5493
- * @public
5494
- * @type {number}
5495
- */
5496
- get siteId(): number;
5497
- /**
5498
- * Convert this **TemporaryObjectModel** to a JSON Object
5499
- *
5500
5228
  * @public
5501
- * @return {Object<string, any>}
5502
5229
  */
5503
- toJSON(): {
5504
- [x: string]: any;
5505
- };
5230
+ updateTimestamp: Date;
5506
5231
  }
5507
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
5232
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
5508
5233
  }
5509
5234
 
5510
5235
  declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController' {
@@ -10564,109 +10289,85 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
10564
10289
  *
10565
10290
  * @class
10566
10291
  * @hideconstructor
10567
- * @extends BaseSiteModel
10292
+ * @extends BaseModel
10568
10293
  */
10569
- class BinTipWeightModel extends BaseSiteModel {
10294
+ class BinTipWeightModel extends BaseModel {
10570
10295
  /**
10571
10296
  * Create a new **BinTipWeightModel** from a JSON Object or JSON String
10572
10297
  *
10573
10298
  * @static
10574
10299
  * @public
10575
10300
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10576
- * @param {number} siteId The Site ID associated with this Bin Tip Weight
10577
10301
  * @return {BinTipWeightModel}
10578
10302
  */
10579
10303
  static fromJSON(json: {
10580
10304
  [x: string]: any;
10581
- } | string, siteId: number): BinTipWeightModel;
10582
- /**
10583
- * BinTipWeightModel Constructor
10584
- *
10585
- * @protected
10586
- * @param {number} siteId The Site ID associated with this Bin Tip Weight
10587
- */
10588
- protected constructor();
10305
+ } | string): BinTipWeightModel;
10589
10306
  /**
10590
10307
  * The Bin Tip Weight ID
10591
10308
  *
10592
- * @public
10593
10309
  * @type {string}
10310
+ * @public
10594
10311
  */
10595
- get id(): string;
10312
+ id: string;
10596
10313
  /**
10597
10314
  * The Bin Tip ID associated with this Bin Weight
10598
10315
  *
10599
- * @public
10600
10316
  * @type {string}
10317
+ * @public
10601
10318
  */
10602
- get binTipId(): string;
10319
+ binTipId: string;
10603
10320
  /**
10604
10321
  * The Packrun ID associated with this Bin Weight
10605
10322
  *
10606
- * @public
10607
10323
  * @type {string}
10324
+ * @public
10608
10325
  */
10609
- get packrunId(): string;
10326
+ packrunId: string;
10610
10327
  /**
10611
10328
  * When this Bin Weight was Created
10612
10329
  *
10613
- * @public
10614
10330
  * @type {Date}
10331
+ * @public
10615
10332
  */
10616
- get createdTimestamp(): Date;
10333
+ createdTimestamp: Date;
10617
10334
  /**
10618
10335
  * The Bin Weight Type
10619
10336
  *
10620
- * @public
10621
10337
  * @type {string}
10338
+ * @public
10622
10339
  */
10623
- get weightType(): string;
10340
+ weightType: string;
10624
10341
  /**
10625
10342
  * The Bin Weight
10626
10343
  *
10627
- * @public
10628
10344
  * @type {number}
10345
+ * @public
10629
10346
  */
10630
- get weight(): number;
10347
+ weight: number;
10631
10348
  /**
10632
10349
  * The Bin Scale ID associated with this Bin Weight
10633
10350
  *
10634
- * @public
10635
10351
  * @type {?string}
10352
+ * @public
10636
10353
  */
10637
- get binScaleId(): string;
10354
+ binScaleId: string | null;
10638
10355
  /**
10639
10356
  * Whether the Bin Tip Weight has been deleted
10640
10357
  *
10641
- * @public
10642
10358
  * @type {boolean}
10359
+ * @public
10643
10360
  */
10644
- get deleted(): boolean;
10361
+ deleted: boolean;
10645
10362
  /**
10646
10363
  * When the Bin Tip Weight was last updated
10647
10364
  *
10648
- * @public
10649
10365
  * @type {Date}
10650
- */
10651
- get updateTimestamp(): Date;
10652
- /**
10653
- * The Site ID associated with this Bin Tip Weight
10654
- *
10655
- * @public
10656
- * @type {number}
10657
- */
10658
- get siteId(): number;
10659
- /**
10660
- * Convert this **BinTipWeightModel** to a JSON Object
10661
- *
10662
10366
  * @public
10663
- * @return {Object<string, any>}
10664
10367
  */
10665
- toJSON(): {
10666
- [x: string]: any;
10667
- };
10368
+ updateTimestamp: Date;
10668
10369
  }
10669
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10370
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10670
10371
  }
10671
10372
 
10672
10373
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel' {
@@ -10676,102 +10377,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel'
10676
10377
  *
10677
10378
  * @class
10678
10379
  * @hideconstructor
10679
- * @extends BaseSiteModel
10380
+ * @extends BaseModel
10680
10381
  */
10681
- class CompacSizerBatchModel extends BaseSiteModel {
10382
+ class CompacSizerBatchModel extends BaseModel {
10682
10383
  /**
10683
10384
  * Create a new **CompacSizerBatchModel** from a JSON Object or JSON String
10684
10385
  *
10685
10386
  * @static
10686
10387
  * @public
10687
10388
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10688
- * @param {number} siteId The Site ID associated with this Compac Sizer Batch
10689
10389
  * @return {CompacSizerBatchModel}
10690
10390
  */
10691
10391
  static fromJSON(json: {
10692
10392
  [x: string]: any;
10693
- } | string, siteId: number): CompacSizerBatchModel;
10694
- /**
10695
- * CompacSizerBatchModel Constructor
10696
- *
10697
- * @protected
10698
- * @param {number} siteId The Site ID associated with this Compac Sizer Batch
10699
- */
10700
- protected constructor();
10393
+ } | string): CompacSizerBatchModel;
10701
10394
  /**
10702
10395
  * The Compac Sizer Batch ID
10703
10396
  *
10704
- * @public
10705
10397
  * @type {string}
10398
+ * @public
10706
10399
  */
10707
- get id(): string;
10400
+ id: string;
10708
10401
  /**
10709
10402
  * The Compac Sizer ID this Batch is associated with
10710
10403
  *
10711
- * @public
10712
10404
  * @type {string}
10405
+ * @public
10713
10406
  */
10714
- get compacSizerId(): string;
10407
+ compacSizerId: string;
10715
10408
  /**
10716
10409
  * The Numeric Compac Batch ID
10717
10410
  *
10718
- * @public
10719
10411
  * @type {string}
10412
+ * @public
10720
10413
  */
10721
- get batchId(): string;
10414
+ batchId: string;
10722
10415
  /**
10723
10416
  * When this Batch was Created
10724
10417
  *
10725
- * @public
10726
10418
  * @type {Date}
10419
+ * @public
10727
10420
  */
10728
- get createdTimestamp(): Date;
10421
+ createdTimestamp: Date;
10729
10422
  /**
10730
10423
  * The Packrun ID associated with this Batch
10731
10424
  *
10732
- * @public
10733
10425
  * @type {?string}
10426
+ * @public
10734
10427
  */
10735
- get packrunId(): string;
10428
+ packrunId: string | null;
10736
10429
  /**
10737
10430
  * The Compac Sizer Batch Data
10738
10431
  *
10739
- * @public
10740
10432
  * @type {Object}
10433
+ * @public
10741
10434
  */
10742
- get batch(): any;
10435
+ batch: any;
10743
10436
  /**
10744
10437
  * Whether the Compac Sizer Batch has been deleted
10745
10438
  *
10746
- * @public
10747
10439
  * @type {boolean}
10440
+ * @public
10748
10441
  */
10749
- get deleted(): boolean;
10442
+ deleted: boolean;
10750
10443
  /**
10751
10444
  * When the Compac Sizer Batch was last updated
10752
10445
  *
10753
- * @public
10754
10446
  * @type {Date}
10755
- */
10756
- get updateTimestamp(): Date;
10757
- /**
10758
- * The Site ID associated with this Compac Sizer Batch
10759
- *
10760
- * @public
10761
- * @type {number}
10762
- */
10763
- get siteId(): number;
10764
- /**
10765
- * Convert this **CompacSizerBatchModel** to a JSON Object
10766
- *
10767
10447
  * @public
10768
- * @return {Object<string, any>}
10769
10448
  */
10770
- toJSON(): {
10771
- [x: string]: any;
10772
- };
10449
+ updateTimestamp: Date;
10773
10450
  }
10774
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10451
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10775
10452
  }
10776
10453
 
10777
10454
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
@@ -10781,144 +10458,120 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
10781
10458
  *
10782
10459
  * @class
10783
10460
  * @hideconstructor
10784
- * @extends BaseSiteModel
10461
+ * @extends BaseModel
10785
10462
  */
10786
- class CompacSizerModel extends BaseSiteModel {
10463
+ class CompacSizerModel extends BaseModel {
10787
10464
  /**
10788
10465
  * Create a new **CompacSizerModel** from a JSON Object or JSON String
10789
10466
  *
10790
10467
  * @static
10791
10468
  * @public
10792
10469
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10793
- * @param {number} siteId The Site ID associated with this Compac Sizer
10794
10470
  * @return {CompacSizerModel}
10795
10471
  */
10796
10472
  static fromJSON(json: {
10797
10473
  [x: string]: any;
10798
- } | string, siteId: number): CompacSizerModel;
10799
- /**
10800
- * CompacSizerModel Constructor
10801
- *
10802
- * @protected
10803
- * @param {number} siteId The Site ID associated with this Compac Sizer
10804
- */
10805
- protected constructor();
10474
+ } | string): CompacSizerModel;
10806
10475
  /**
10807
10476
  * The Compac Sizer ID
10808
10477
  *
10809
- * @public
10810
10478
  * @type {string}
10479
+ * @public
10811
10480
  */
10812
- get id(): string;
10481
+ id: string;
10813
10482
  /**
10814
10483
  * The RTU this Compac Sizer belongs to
10815
10484
  *
10816
- * @public
10817
10485
  * @type {?number}
10486
+ * @public
10818
10487
  */
10819
- get rtuId(): number;
10488
+ rtuId: number | null;
10820
10489
  /**
10821
10490
  * The Compac Sizer Name
10822
10491
  *
10823
- * @public
10824
10492
  * @type {string}
10493
+ * @public
10825
10494
  */
10826
- get name(): string;
10495
+ name: string;
10827
10496
  /**
10828
10497
  * The Lanes defined for this Compac Sizer
10829
10498
  *
10830
- * @public
10831
10499
  * @type {Object[]}
10500
+ * @public
10832
10501
  */
10833
- get lanes(): any[];
10502
+ lanes: any[];
10834
10503
  /**
10835
10504
  * The Points used by this Compac Sizer
10836
10505
  *
10837
- * @public
10838
10506
  * @type {Object}
10507
+ * @public
10839
10508
  */
10840
- get points(): any;
10509
+ points: any;
10841
10510
  /**
10842
10511
  * The Outlets defined for this Compac Sizer
10843
10512
  *
10844
- * @public
10845
10513
  * @type {Object[]}
10514
+ * @public
10846
10515
  */
10847
- get outlets(): any[];
10516
+ outlets: any[];
10848
10517
  /**
10849
10518
  * The Sizer Type
10850
10519
  *
10851
- * @public
10852
10520
  * @type {string}
10521
+ * @public
10853
10522
  */
10854
- get sizerType(): string;
10523
+ sizerType: string;
10855
10524
  /**
10856
10525
  * The Auto Create Batch Delay in Seconds for this Compac Sizer
10857
10526
  *
10858
- * @public
10859
10527
  * @type {number}
10528
+ * @public
10860
10529
  */
10861
- get autoCreateBatchDelay(): number;
10530
+ autoCreateBatchDelay: number;
10862
10531
  /**
10863
10532
  * The Fruit Sizes defined and handled by this Compac Sizer
10864
10533
  *
10865
- * @public
10866
10534
  * @type {Object[]}
10535
+ * @public
10867
10536
  */
10868
- get fruitSizes(): any[];
10537
+ fruitSizes: any[];
10869
10538
  /**
10870
10539
  * The Packing Line ID this Compac Sizer belongs to
10871
10540
  *
10872
- * @public
10873
10541
  * @type {string}
10542
+ * @public
10874
10543
  */
10875
- get packingLineId(): string;
10544
+ packingLineId: string;
10876
10545
  /**
10877
10546
  * The FreshPack Integration Configuration for this Compac Sizer
10878
10547
  *
10879
- * @public
10880
10548
  * @type {?Object}
10549
+ * @public
10881
10550
  */
10882
- get freshPackIntegration(): any;
10551
+ freshPackIntegration: any | null;
10883
10552
  /**
10884
10553
  * An Array of Sources that deliver Fruit to this Compac Sizer
10885
10554
  *
10886
- * @public
10887
10555
  * @type {Object[]}
10556
+ * @public
10888
10557
  */
10889
- get sources(): any[];
10558
+ sources: any[];
10890
10559
  /**
10891
10560
  * Whether the Compac Sizer has been deleted
10892
10561
  *
10893
- * @public
10894
10562
  * @type {boolean}
10563
+ * @public
10895
10564
  */
10896
- get deleted(): boolean;
10565
+ deleted: boolean;
10897
10566
  /**
10898
10567
  * When the Compac Sizer was last updated
10899
10568
  *
10900
- * @public
10901
10569
  * @type {Date}
10570
+ * @public
10902
10571
  */
10903
- get updateTimestamp(): Date;
10904
- /**
10905
- * The Site ID associated with this Compac Sizer
10906
- *
10907
- * @public
10908
- * @type {number}
10909
- */
10910
- get siteId(): number;
10911
- /**
10912
- * Convert this **CompacSizerModel** to a JSON Object
10913
- *
10914
- * @public
10915
- * @return {Object<string, any>}
10916
- */
10917
- toJSON(): {
10918
- [x: string]: any;
10919
- };
10572
+ updateTimestamp: Date;
10920
10573
  }
10921
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10574
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
10922
10575
  }
10923
10576
 
10924
10577
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProductChangeModel' {
@@ -10928,116 +10581,92 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProduc
10928
10581
  *
10929
10582
  * @class
10930
10583
  * @hideconstructor
10931
- * @extends BaseSiteModel
10584
+ * @extends BaseModel
10932
10585
  */
10933
- class CompacSizerOutletProductChangeModel extends BaseSiteModel {
10586
+ class CompacSizerOutletProductChangeModel extends BaseModel {
10934
10587
  /**
10935
10588
  * Create a new **CompacSizerOutletProductChangeModel** from a JSON Object or JSON String
10936
10589
  *
10937
10590
  * @static
10938
10591
  * @public
10939
10592
  * @param {Object<string, any>|string} json A JSON Object or JSON String
10940
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
10941
10593
  * @return {CompacSizerOutletProductChangeModel}
10942
10594
  */
10943
10595
  static fromJSON(json: {
10944
10596
  [x: string]: any;
10945
- } | string, siteId: number): CompacSizerOutletProductChangeModel;
10946
- /**
10947
- * CompacSizerOutletProductChangeModel Constructor
10948
- *
10949
- * @protected
10950
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
10951
- */
10952
- protected constructor();
10597
+ } | string): CompacSizerOutletProductChangeModel;
10953
10598
  /**
10954
10599
  * The Compac Sizer Outlet Product Change ID
10955
10600
  *
10956
- * @public
10957
10601
  * @type {string}
10602
+ * @public
10958
10603
  */
10959
- get id(): string;
10604
+ id: string;
10960
10605
  /**
10961
10606
  * The Compac Sizer ID this Outlet Change is associated with
10962
10607
  *
10963
- * @public
10964
10608
  * @type {string}
10609
+ * @public
10965
10610
  */
10966
- get compacSizerId(): string;
10611
+ compacSizerId: string;
10967
10612
  /**
10968
10613
  * The Sizer Outlet Number this Outlet Change is associated with
10969
10614
  *
10970
- * @public
10971
10615
  * @type {string}
10616
+ * @public
10972
10617
  */
10973
- get outletNumber(): string;
10618
+ outletNumber: string;
10974
10619
  /**
10975
10620
  * When this Outlet Change occurred
10976
10621
  *
10977
- * @public
10978
10622
  * @type {Date}
10623
+ * @public
10979
10624
  */
10980
- get createdTimestamp(): Date;
10625
+ createdTimestamp: Date;
10981
10626
  /**
10982
10627
  * The ID of the Previous Product that was active on the Outlet
10983
10628
  *
10984
- * @public
10985
10629
  * @type {?string}
10630
+ * @public
10986
10631
  */
10987
- get previousProductId(): string;
10632
+ previousProductId: string | null;
10988
10633
  /**
10989
10634
  * The Name of the Previous Product that was active on the Outlet
10990
10635
  *
10991
- * @public
10992
10636
  * @type {?string}
10637
+ * @public
10993
10638
  */
10994
- get previousProductName(): string;
10639
+ previousProductName: string | null;
10995
10640
  /**
10996
10641
  * The ID of the New Product that is now active on the Outlet
10997
10642
  *
10998
- * @public
10999
10643
  * @type {string}
10644
+ * @public
11000
10645
  */
11001
- get newProductId(): string;
10646
+ newProductId: string;
11002
10647
  /**
11003
10648
  * The Name of the New Product that is now active on the Outlet
11004
10649
  *
11005
- * @public
11006
10650
  * @type {string}
10651
+ * @public
11007
10652
  */
11008
- get newProductName(): string;
10653
+ newProductName: string;
11009
10654
  /**
11010
10655
  * Whether the Compac Sizer Outlet Product Change has been deleted
11011
10656
  *
11012
- * @public
11013
10657
  * @type {boolean}
10658
+ * @public
11014
10659
  */
11015
- get deleted(): boolean;
10660
+ deleted: boolean;
11016
10661
  /**
11017
10662
  * When the Compac Sizer Outlet Product Change was last updated
11018
10663
  *
11019
- * @public
11020
10664
  * @type {Date}
11021
- */
11022
- get updateTimestamp(): Date;
11023
- /**
11024
- * The Site ID associated with this Compac Sizer Outlet Product Change
11025
- *
11026
- * @public
11027
- * @type {number}
11028
- */
11029
- get siteId(): number;
11030
- /**
11031
- * Convert this **CompacSizerOutletProductChangeModel** to a JSON Object
11032
- *
11033
10665
  * @public
11034
- * @return {Object<string, any>}
11035
10666
  */
11036
- toJSON(): {
11037
- [x: string]: any;
11038
- };
10667
+ updateTimestamp: Date;
11039
10668
  }
11040
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10669
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11041
10670
  }
11042
10671
 
11043
10672
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel' {
@@ -11047,102 +10676,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeCh
11047
10676
  *
11048
10677
  * @class
11049
10678
  * @hideconstructor
11050
- * @extends BaseSiteModel
10679
+ * @extends BaseModel
11051
10680
  */
11052
- class CompacSizerOutletTypeChangeModel extends BaseSiteModel {
10681
+ class CompacSizerOutletTypeChangeModel extends BaseModel {
11053
10682
  /**
11054
10683
  * Create a new **CompacSizerOutletTypeChangeModel** from a JSON Object or JSON String
11055
10684
  *
11056
10685
  * @static
11057
10686
  * @public
11058
10687
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11059
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
11060
10688
  * @return {CompacSizerOutletTypeChangeModel}
11061
10689
  */
11062
10690
  static fromJSON(json: {
11063
10691
  [x: string]: any;
11064
- } | string, siteId: number): CompacSizerOutletTypeChangeModel;
11065
- /**
11066
- * CompacSizerOutletTypeChangeModel Constructor
11067
- *
11068
- * @protected
11069
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
11070
- */
11071
- protected constructor();
10692
+ } | string): CompacSizerOutletTypeChangeModel;
11072
10693
  /**
11073
10694
  * The Compac Sizer Outlet Type Change ID
11074
10695
  *
11075
- * @public
11076
10696
  * @type {string}
10697
+ * @public
11077
10698
  */
11078
- get id(): string;
10699
+ id: string;
11079
10700
  /**
11080
10701
  * The Compac Sizer ID this Outlet Type Change is associated with
11081
10702
  *
11082
- * @public
11083
10703
  * @type {string}
10704
+ * @public
11084
10705
  */
11085
- get compacSizerId(): string;
10706
+ compacSizerId: string;
11086
10707
  /**
11087
10708
  * The Sizer Outlet Number this Outlet Type Change is associated with
11088
10709
  *
11089
- * @public
11090
10710
  * @type {string}
10711
+ * @public
11091
10712
  */
11092
- get outletNumber(): string;
10713
+ outletNumber: string;
11093
10714
  /**
11094
10715
  * When this Outlet Type Change occurred
11095
10716
  *
11096
- * @public
11097
10717
  * @type {Date}
10718
+ * @public
11098
10719
  */
11099
- get createdTimestamp(): Date;
10720
+ createdTimestamp: Date;
11100
10721
  /**
11101
10722
  * The ID of the Previous Type that was active on the Outlet
11102
10723
  *
11103
- * @public
11104
10724
  * @type {?string}
10725
+ * @public
11105
10726
  */
11106
- get previousTypeId(): string;
10727
+ previousTypeId: string | null;
11107
10728
  /**
11108
10729
  * The ID of the New Type that is now active on the Outlet
11109
10730
  *
11110
- * @public
11111
10731
  * @type {string}
10732
+ * @public
11112
10733
  */
11113
- get newTypeId(): string;
10734
+ newTypeId: string;
11114
10735
  /**
11115
10736
  * Whether the Compac Sizer Outlet Type Change has been deleted
11116
10737
  *
11117
- * @public
11118
10738
  * @type {boolean}
10739
+ * @public
11119
10740
  */
11120
- get deleted(): boolean;
10741
+ deleted: boolean;
11121
10742
  /**
11122
10743
  * When the Compac Sizer Outlet Type Change was last updated
11123
10744
  *
11124
- * @public
11125
10745
  * @type {Date}
11126
- */
11127
- get updateTimestamp(): Date;
11128
- /**
11129
- * The Site ID associated with this Compac Sizer Outlet Type Change
11130
- *
11131
10746
  * @public
11132
- * @type {number}
11133
10747
  */
11134
- get siteId(): number;
11135
- /**
11136
- * Convert this **CompacSizerOutletTypeChangeModel** to a JSON Object
11137
- *
11138
- * @public
11139
- * @return {Object<string, any>}
11140
- */
11141
- toJSON(): {
11142
- [x: string]: any;
11143
- };
10748
+ updateTimestamp: Date;
11144
10749
  }
11145
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10750
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11146
10751
  }
11147
10752
 
11148
10753
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeModel' {
@@ -11152,88 +10757,64 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeMo
11152
10757
  *
11153
10758
  * @class
11154
10759
  * @hideconstructor
11155
- * @extends BaseSiteModel
10760
+ * @extends BaseModel
11156
10761
  */
11157
- class CompacSizerOutletTypeModel extends BaseSiteModel {
10762
+ class CompacSizerOutletTypeModel extends BaseModel {
11158
10763
  /**
11159
10764
  * Create a new **CompacSizerOutletTypeModel** from a JSON Object or JSON String
11160
10765
  *
11161
10766
  * @static
11162
10767
  * @public
11163
10768
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11164
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
11165
10769
  * @return {CompacSizerOutletTypeModel}
11166
10770
  */
11167
10771
  static fromJSON(json: {
11168
10772
  [x: string]: any;
11169
- } | string, siteId: number): CompacSizerOutletTypeModel;
11170
- /**
11171
- * CompacSizerOutletTypeModel Constructor
11172
- *
11173
- * @protected
11174
- * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
11175
- */
11176
- protected constructor();
10773
+ } | string): CompacSizerOutletTypeModel;
11177
10774
  /**
11178
10775
  * The Compac Sizer Outlet Type ID
11179
10776
  *
11180
- * @public
11181
10777
  * @type {string}
10778
+ * @public
11182
10779
  */
11183
- get id(): string;
10780
+ id: string;
11184
10781
  /**
11185
10782
  * The Name for this Dynamic Outlet Type
11186
10783
  *
11187
- * @public
11188
10784
  * @type {string}
10785
+ * @public
11189
10786
  */
11190
- get name(): string;
10787
+ name: string;
11191
10788
  /**
11192
10789
  * The Generic Outlet Type
11193
10790
  *
11194
- * @public
11195
10791
  * @type {string}
10792
+ * @public
11196
10793
  */
11197
- get type(): string;
10794
+ type: string;
11198
10795
  /**
11199
10796
  * An Optional Description for this Dynamic Outlet Type
11200
10797
  *
11201
- * @public
11202
10798
  * @type {string}
10799
+ * @public
11203
10800
  */
11204
- get description(): string;
10801
+ description: string;
11205
10802
  /**
11206
10803
  * Whether the Compac Sizer Outlet Type has been deleted
11207
10804
  *
11208
- * @public
11209
10805
  * @type {boolean}
10806
+ * @public
11210
10807
  */
11211
- get deleted(): boolean;
10808
+ deleted: boolean;
11212
10809
  /**
11213
10810
  * When the Compac Sizer Outlet Type was last updated
11214
10811
  *
11215
- * @public
11216
10812
  * @type {Date}
11217
- */
11218
- get updateTimestamp(): Date;
11219
- /**
11220
- * The Site ID associated with this Compac Sizer Outlet Type
11221
- *
11222
10813
  * @public
11223
- * @type {number}
11224
10814
  */
11225
- get siteId(): number;
11226
- /**
11227
- * Convert this **CompacSizerOutletTypeModel** to a JSON Object
11228
- *
11229
- * @public
11230
- * @return {Object<string, any>}
11231
- */
11232
- toJSON(): {
11233
- [x: string]: any;
11234
- };
10815
+ updateTimestamp: Date;
11235
10816
  }
11236
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10817
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11237
10818
  }
11238
10819
 
11239
10820
  declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel' {
@@ -11243,89 +10824,81 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11243
10824
  *
11244
10825
  * @class
11245
10826
  * @hideconstructor
11246
- * @extends BaseSiteModel
10827
+ * @extends BaseModel
11247
10828
  */
11248
- class CompacSizerPackrunSummaryModel extends BaseSiteModel {
10829
+ class CompacSizerPackrunSummaryModel extends BaseModel {
11249
10830
  /**
11250
10831
  * Create a new **CompacSizerPackrunSummaryModel** from a JSON Object or JSON String
11251
10832
  *
11252
10833
  * @static
11253
10834
  * @public
11254
10835
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11255
- * @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
11256
10836
  * @return {CompacSizerPackrunSummaryModel}
11257
10837
  */
11258
10838
  static fromJSON(json: {
11259
10839
  [x: string]: any;
11260
- } | string, siteId: number): CompacSizerPackrunSummaryModel;
11261
- /**
11262
- * CompacSizerPackrunSummaryModel Constructor
11263
- *
11264
- * @protected
11265
- * @param {number} siteId The Site ID associated with this Compac Sizer Packrun Summary
11266
- */
11267
- protected constructor();
10840
+ } | string): CompacSizerPackrunSummaryModel;
11268
10841
  /**
11269
10842
  * The Compac Sizer Packrun Summary ID
11270
10843
  *
11271
- * @public
11272
10844
  * @type {string}
10845
+ * @public
11273
10846
  */
11274
- get id(): string;
10847
+ id: string;
11275
10848
  /**
11276
10849
  * The Compac Sizer ID this Summary is associated with
11277
10850
  *
11278
- * @public
11279
10851
  * @type {string}
10852
+ * @public
11280
10853
  */
11281
- get compacSizerId(): string;
10854
+ compacSizerId: string;
11282
10855
  /**
11283
10856
  * The Packrun ID this Summary is associated with
11284
10857
  *
11285
- * @public
11286
10858
  * @type {string}
10859
+ * @public
11287
10860
  */
11288
- get packrunId(): string;
10861
+ packrunId: string;
11289
10862
  /**
11290
10863
  * When this Summary was Created
11291
10864
  *
11292
- * @public
11293
10865
  * @type {Date}
10866
+ * @public
11294
10867
  */
11295
- get createdTimestamp(): Date;
10868
+ createdTimestamp: Date;
11296
10869
  /**
11297
10870
  * The Time Batch this Summary is associated with
11298
10871
  *
11299
- * @public
11300
10872
  * @type {?string}
10873
+ * @public
11301
10874
  */
11302
- get timeBatchId(): string;
10875
+ timeBatchId: string | null;
11303
10876
  /**
11304
10877
  * An Array of Packrun Summary Data Objects for each Outlet
11305
10878
  *
11306
- * @public
11307
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
11308
10881
  */
11309
- get outletSummaries(): {
10882
+ outletSummaries: {
11310
10883
  name: string;
11311
10884
  type: string;
11312
10885
  number: number;
11313
- totals: Array<{
10886
+ totals: {
11314
10887
  classType: string | null;
11315
10888
  fruitSize: string;
11316
10889
  packType: string | null;
11317
10890
  weight: number;
11318
10891
  fruitCount: number;
11319
10892
  packCount: number | null;
11320
- }>;
10893
+ }[];
11321
10894
  }[];
11322
10895
  /**
11323
10896
  * An Array that contains the Products initially Assigned to each Outlet
11324
10897
  *
11325
- * @public
11326
10898
  * @type {Array<{outletNumber: number, productId: string, productName: ?string}>}
10899
+ * @public
11327
10900
  */
11328
- get initialOutletProducts(): {
10901
+ initialOutletProducts: {
11329
10902
  outletNumber: number;
11330
10903
  productId: string;
11331
10904
  productName: string | null;
@@ -11333,10 +10906,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11333
10906
  /**
11334
10907
  * An Array of Outlet Product Changes
11335
10908
  *
11336
- * @public
11337
10909
  * @type {Array<{timestamp: Date, outletNumber: number, productId: string, productName: ?string, outletProductChangeId: string}>}
10910
+ * @public
11338
10911
  */
11339
- get outletProductChanges(): {
10912
+ outletProductChanges: {
11340
10913
  timestamp: Date;
11341
10914
  outletNumber: number;
11342
10915
  productId: string;
@@ -11346,10 +10919,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11346
10919
  /**
11347
10920
  * An Array that contains the Types initially configured for each Outlet
11348
10921
  *
11349
- * @public
11350
10922
  * @type {Array<{outletNumber: number, type: string, typeId: ?string}>}
10923
+ * @public
11351
10924
  */
11352
- get initialOutletTypes(): {
10925
+ initialOutletTypes: {
11353
10926
  outletNumber: number;
11354
10927
  type: string;
11355
10928
  typeId: string | null;
@@ -11357,10 +10930,10 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11357
10930
  /**
11358
10931
  * An Array of Outlet Type Changes. Only applies to Outlets configured as *Dynamic*
11359
10932
  *
11360
- * @public
11361
10933
  * @type {Array<{timestamp: Date, outletNumber: number, typeId: ?string}>}
10934
+ * @public
11362
10935
  */
11363
- get outletTypeChanges(): {
10936
+ outletTypeChanges: {
11364
10937
  timestamp: Date;
11365
10938
  outletNumber: number;
11366
10939
  typeId: string | null;
@@ -11368,35 +10941,19 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSumma
11368
10941
  /**
11369
10942
  * Whether the Compac Sizer Packrun Summary has been deleted
11370
10943
  *
11371
- * @public
11372
10944
  * @type {boolean}
10945
+ * @public
11373
10946
  */
11374
- get deleted(): boolean;
10947
+ deleted: boolean;
11375
10948
  /**
11376
10949
  * When the Compac Sizer Packrun Summary was last updated
11377
10950
  *
11378
- * @public
11379
10951
  * @type {Date}
11380
- */
11381
- get updateTimestamp(): Date;
11382
- /**
11383
- * The Site ID associated with this Compac Sizer Packrun Summary
11384
- *
11385
10952
  * @public
11386
- * @type {number}
11387
10953
  */
11388
- get siteId(): number;
11389
- /**
11390
- * Convert this **CompacSizerPackrunSummaryModel** to a JSON Object
11391
- *
11392
- * @public
11393
- * @return {Object<string, any>}
11394
- */
11395
- toJSON(): {
11396
- [x: string]: any;
11397
- };
10954
+ updateTimestamp: Date;
11398
10955
  }
11399
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
10956
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11400
10957
  }
11401
10958
 
11402
10959
  declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
@@ -11406,144 +10963,120 @@ declare module '@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel' {
11406
10963
  *
11407
10964
  * @class
11408
10965
  * @hideconstructor
11409
- * @extends BaseSiteModel
10966
+ * @extends BaseModel
11410
10967
  */
11411
- class DowntimeEventModel extends BaseSiteModel {
10968
+ class DowntimeEventModel extends BaseModel {
11412
10969
  /**
11413
10970
  * Create a new **DowntimeEventModel** from a JSON Object or JSON String
11414
10971
  *
11415
10972
  * @static
11416
10973
  * @public
11417
10974
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11418
- * @param {number} siteId The Site ID associated with this Downtime Event
11419
10975
  * @return {DowntimeEventModel}
11420
10976
  */
11421
10977
  static fromJSON(json: {
11422
10978
  [x: string]: any;
11423
- } | string, siteId: number): DowntimeEventModel;
11424
- /**
11425
- * DowntimeEventModel Constructor
11426
- *
11427
- * @protected
11428
- * @param {number} siteId The Site ID associated with this Downtime Event
11429
- */
11430
- protected constructor();
10979
+ } | string): DowntimeEventModel;
11431
10980
  /**
11432
10981
  * The Downtime Event ID
11433
10982
  *
11434
- * @public
11435
10983
  * @type {string}
10984
+ * @public
11436
10985
  */
11437
- get id(): string;
10986
+ id: string;
11438
10987
  /**
11439
10988
  * The Packing Line ID this Downtime Event is associated with
11440
10989
  *
11441
- * @public
11442
10990
  * @type {string}
10991
+ * @public
11443
10992
  */
11444
- get packingLineId(): string;
10993
+ packingLineId: string;
11445
10994
  /**
11446
10995
  * The Shift ID this Downtime Event is asssociated with
11447
10996
  *
11448
- * @public
11449
10997
  * @type {string}
10998
+ * @public
11450
10999
  */
11451
- get shiftId(): string;
11000
+ shiftId: string;
11452
11001
  /**
11453
11002
  * When this Downtime Event was Created
11454
11003
  *
11455
- * @public
11456
11004
  * @type {Date}
11005
+ * @public
11457
11006
  */
11458
- get createdTimestamp(): Date;
11007
+ createdTimestamp: Date;
11459
11008
  /**
11460
11009
  * When this Downtime Event Started
11461
11010
  *
11462
- * @public
11463
11011
  * @type {Date}
11012
+ * @public
11464
11013
  */
11465
- get startTimestamp(): Date;
11014
+ startTimestamp: Date;
11466
11015
  /**
11467
11016
  * When this Downtime Event Ended
11468
11017
  *
11469
- * @public
11470
11018
  * @type {?Date}
11019
+ * @public
11471
11020
  */
11472
- get endTimestamp(): Date;
11021
+ endTimestamp: Date | null;
11473
11022
  /**
11474
11023
  * The Reason Category for this Downtime Event
11475
11024
  *
11476
- * @public
11477
11025
  * @type {?string}
11026
+ * @public
11478
11027
  */
11479
- get reasonCategory(): string;
11028
+ reasonCategory: string | null;
11480
11029
  /**
11481
11030
  * The Reason Tag for this Downtime Event
11482
11031
  *
11483
- * @public
11484
11032
  * @type {?string}
11033
+ * @public
11485
11034
  */
11486
- get reasonTag(): string;
11035
+ reasonTag: string | null;
11487
11036
  /**
11488
11037
  * An Optional Summary of the Action taken to Remedy this Downtime Event
11489
11038
  *
11490
- * @public
11491
11039
  * @type {?string}
11040
+ * @public
11492
11041
  */
11493
- get remedyAction(): string;
11042
+ remedyAction: string | null;
11494
11043
  /**
11495
11044
  * An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
11496
11045
  *
11497
- * @public
11498
11046
  * @type {?number}
11047
+ * @public
11499
11048
  */
11500
- get avoidableRating(): number;
11049
+ avoidableRating: number | null;
11501
11050
  /**
11502
11051
  * The Source which Created this Downtime Event
11503
11052
  *
11504
- * @public
11505
11053
  * @type {string}
11054
+ * @public
11506
11055
  */
11507
- get source(): string;
11056
+ source: string;
11508
11057
  /**
11509
11058
  * The Status of this Downtime Event
11510
11059
  *
11511
- * @public
11512
11060
  * @type {string}
11061
+ * @public
11513
11062
  */
11514
- get status(): string;
11063
+ status: string;
11515
11064
  /**
11516
11065
  * Whether the Downtime Event has been deleted
11517
11066
  *
11518
- * @public
11519
11067
  * @type {boolean}
11068
+ * @public
11520
11069
  */
11521
- get deleted(): boolean;
11070
+ deleted: boolean;
11522
11071
  /**
11523
11072
  * When the Downtime Event was last updated
11524
11073
  *
11525
- * @public
11526
11074
  * @type {Date}
11527
- */
11528
- get updateTimestamp(): Date;
11529
- /**
11530
- * The Site ID associated with this Downtime Event
11531
- *
11532
- * @public
11533
- * @type {number}
11534
- */
11535
- get siteId(): number;
11536
- /**
11537
- * Convert this **DowntimeEventModel** to a JSON Object
11538
- *
11539
11075
  * @public
11540
- * @return {Object<string, any>}
11541
11076
  */
11542
- toJSON(): {
11543
- [x: string]: any;
11544
- };
11077
+ updateTimestamp: Date;
11545
11078
  }
11546
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11079
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11547
11080
  }
11548
11081
 
11549
11082
  declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel' {
@@ -11553,102 +11086,78 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
11553
11086
  *
11554
11087
  * @class
11555
11088
  * @hideconstructor
11556
- * @extends BaseSiteModel
11089
+ * @extends BaseModel
11557
11090
  */
11558
- class FreshPackPackrunSummaryModel extends BaseSiteModel {
11091
+ class FreshPackPackrunSummaryModel extends BaseModel {
11559
11092
  /**
11560
11093
  * Create a new **FreshPackPackrunSummaryModel** from a JSON Object or JSON String
11561
11094
  *
11562
11095
  * @static
11563
11096
  * @public
11564
11097
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11565
- * @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
11566
11098
  * @return {FreshPackPackrunSummaryModel}
11567
11099
  */
11568
11100
  static fromJSON(json: {
11569
11101
  [x: string]: any;
11570
- } | string, siteId: number): FreshPackPackrunSummaryModel;
11571
- /**
11572
- * FreshPackPackrunSummaryModel Constructor
11573
- *
11574
- * @protected
11575
- * @param {number} siteId The Site ID associated with this FreshPack Packrun Summary
11576
- */
11577
- protected constructor();
11102
+ } | string): FreshPackPackrunSummaryModel;
11578
11103
  /**
11579
11104
  * The FreshPack Packrun Summary ID
11580
11105
  *
11581
- * @public
11582
11106
  * @type {string}
11107
+ * @public
11583
11108
  */
11584
- get id(): string;
11109
+ id: string;
11585
11110
  /**
11586
11111
  * The Packing Line ID this Summary is associated with
11587
11112
  *
11588
- * @public
11589
11113
  * @type {string}
11114
+ * @public
11590
11115
  */
11591
- get packingLineId(): string;
11116
+ packingLineId: string;
11592
11117
  /**
11593
11118
  * The Packrun ID this Summary is associated with
11594
11119
  *
11595
- * @public
11596
11120
  * @type {string}
11121
+ * @public
11597
11122
  */
11598
- get packrunId(): string;
11123
+ packrunId: string;
11599
11124
  /**
11600
11125
  * When this Summary was Created
11601
11126
  *
11602
- * @public
11603
11127
  * @type {Date}
11128
+ * @public
11604
11129
  */
11605
- get createdTimestamp(): Date;
11130
+ createdTimestamp: Date;
11606
11131
  /**
11607
11132
  * The Time Batch this Summary is associated with
11608
11133
  *
11609
- * @public
11610
11134
  * @type {?string}
11135
+ * @public
11611
11136
  */
11612
- get timeBatchId(): string;
11137
+ timeBatchId: string | null;
11613
11138
  /**
11614
11139
  * An Array of Tray Summary Data Objects for all Sizes and Class Types
11615
11140
  *
11616
- * @public
11617
11141
  * @type {Object[]}
11142
+ * @public
11618
11143
  */
11619
- get traySummaries(): any[];
11144
+ traySummaries: any[];
11620
11145
  /**
11621
11146
  * Whether the FreshPack Packrun Summary has been deleted
11622
11147
  *
11623
- * @public
11624
11148
  * @type {boolean}
11149
+ * @public
11625
11150
  */
11626
- get deleted(): boolean;
11151
+ deleted: boolean;
11627
11152
  /**
11628
11153
  * When the FreshPack Packrun Summary was last updated
11629
11154
  *
11630
- * @public
11631
11155
  * @type {Date}
11632
- */
11633
- get updateTimestamp(): Date;
11634
- /**
11635
- * The Site ID associated with this FreshPack Packrun Summary
11636
- *
11637
11156
  * @public
11638
- * @type {number}
11639
11157
  */
11640
- get siteId(): number;
11641
- /**
11642
- * Convert this **FreshPackPackrunSummaryModel** to a JSON Object
11643
- *
11644
- * @public
11645
- * @return {Object<string, any>}
11646
- */
11647
- toJSON(): {
11648
- [x: string]: any;
11649
- };
11158
+ updateTimestamp: Date;
11650
11159
  }
11651
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11160
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11652
11161
  }
11653
11162
 
11654
11163
  declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
@@ -11658,88 +11167,64 @@ declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
11658
11167
  *
11659
11168
  * @class
11660
11169
  * @hideconstructor
11661
- * @extends BaseSiteModel
11170
+ * @extends BaseModel
11662
11171
  */
11663
- class GrowingMethodModel extends BaseSiteModel {
11172
+ class GrowingMethodModel extends BaseModel {
11664
11173
  /**
11665
11174
  * Create a new **GrowingMethodModel** from a JSON Object or JSON String
11666
11175
  *
11667
11176
  * @static
11668
11177
  * @public
11669
11178
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11670
- * @param {number} siteId The Site ID associated with this Growing Method
11671
11179
  * @return {GrowingMethodModel}
11672
11180
  */
11673
11181
  static fromJSON(json: {
11674
11182
  [x: string]: any;
11675
- } | string, siteId: number): GrowingMethodModel;
11676
- /**
11677
- * GrowingMethodModel Constructor
11678
- *
11679
- * @protected
11680
- * @param {number} siteId The Site ID associated with this Growing Method
11681
- */
11682
- protected constructor();
11183
+ } | string): GrowingMethodModel;
11683
11184
  /**
11684
11185
  * The Growing Method ID
11685
11186
  *
11686
- * @public
11687
11187
  * @type {string}
11188
+ * @public
11688
11189
  */
11689
- get id(): string;
11190
+ id: string;
11690
11191
  /**
11691
11192
  * The Growing Method Code
11692
11193
  *
11693
- * @public
11694
11194
  * @type {string}
11195
+ * @public
11695
11196
  */
11696
- get code(): string;
11197
+ code: string;
11697
11198
  /**
11698
11199
  * The Growing Method Name
11699
11200
  *
11700
- * @public
11701
11201
  * @type {string}
11202
+ * @public
11702
11203
  */
11703
- get name(): string;
11204
+ name: string;
11704
11205
  /**
11705
11206
  * The Growing Method Description
11706
11207
  *
11707
- * @public
11708
11208
  * @type {string}
11209
+ * @public
11709
11210
  */
11710
- get description(): string;
11211
+ description: string;
11711
11212
  /**
11712
11213
  * Whether the Growing Method has been deleted
11713
11214
  *
11714
- * @public
11715
11215
  * @type {boolean}
11216
+ * @public
11716
11217
  */
11717
- get deleted(): boolean;
11218
+ deleted: boolean;
11718
11219
  /**
11719
11220
  * When the Growing Method was last updated
11720
11221
  *
11721
- * @public
11722
11222
  * @type {Date}
11723
- */
11724
- get updateTimestamp(): Date;
11725
- /**
11726
- * The Site ID associated with this Growing Method
11727
- *
11728
11223
  * @public
11729
- * @type {number}
11730
11224
  */
11731
- get siteId(): number;
11732
- /**
11733
- * Convert this **GrowingMethodModel** to a JSON Object
11734
- *
11735
- * @public
11736
- * @return {Object<string, any>}
11737
- */
11738
- toJSON(): {
11739
- [x: string]: any;
11740
- };
11225
+ updateTimestamp: Date;
11741
11226
  }
11742
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11227
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11743
11228
  }
11744
11229
 
11745
11230
  declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
@@ -11749,105 +11234,81 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackTypeModel' {
11749
11234
  *
11750
11235
  * @class
11751
11236
  * @hideconstructor
11752
- * @extends BaseSiteModel
11237
+ * @extends BaseModel
11753
11238
  */
11754
- class PackTypeModel extends BaseSiteModel {
11239
+ class PackTypeModel extends BaseModel {
11755
11240
  /**
11756
11241
  * Create a new **PackTypeModel** from a JSON Object or JSON String
11757
11242
  *
11758
11243
  * @static
11759
11244
  * @public
11760
11245
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11761
- * @param {number} siteId The Site ID associated with this Pack Type
11762
11246
  * @return {PackTypeModel}
11763
11247
  */
11764
11248
  static fromJSON(json: {
11765
11249
  [x: string]: any;
11766
- } | string, siteId: number): PackTypeModel;
11767
- /**
11768
- * PackTypeModel Constructor
11769
- *
11770
- * @protected
11771
- * @param {number} siteId The Site ID associated with this Pack Type
11772
- */
11773
- protected constructor();
11250
+ } | string): PackTypeModel;
11774
11251
  /**
11775
11252
  * The Pack Type ID
11776
11253
  *
11777
- * @public
11778
11254
  * @type {string}
11255
+ * @public
11779
11256
  */
11780
- get id(): string;
11257
+ id: string;
11781
11258
  /**
11782
11259
  * The Code for this Pack Type
11783
11260
  *
11784
- * @public
11785
11261
  * @type {string}
11262
+ * @public
11786
11263
  */
11787
- get code(): string;
11264
+ code: string;
11788
11265
  /**
11789
11266
  * The Name for this Pack Type
11790
11267
  *
11791
- * @public
11792
11268
  * @type {string}
11269
+ * @public
11793
11270
  */
11794
- get name(): string;
11271
+ name: string;
11795
11272
  /**
11796
11273
  * An Optional Description for this Pack Type
11797
11274
  *
11798
- * @public
11799
11275
  * @type {string}
11276
+ * @public
11800
11277
  */
11801
- get description(): string;
11278
+ description: string;
11802
11279
  /**
11803
11280
  * The Physical Form of this Pack Type
11804
11281
  *
11805
- * @public
11806
11282
  * @type {string}
11283
+ * @public
11807
11284
  */
11808
- get form(): string;
11285
+ form: string;
11809
11286
  /**
11810
11287
  * An Array of Fruit Sizes Defined for this Pack Type
11811
11288
  *
11812
- * @public
11813
11289
  * @type {Array<{size: string, count: number}>}
11290
+ * @public
11814
11291
  */
11815
- get fruitSizes(): {
11292
+ fruitSizes: {
11816
11293
  size: string;
11817
11294
  count: number;
11818
11295
  }[];
11819
11296
  /**
11820
11297
  * Whether the Pack Type has been deleted
11821
11298
  *
11822
- * @public
11823
11299
  * @type {boolean}
11300
+ * @public
11824
11301
  */
11825
- get deleted(): boolean;
11302
+ deleted: boolean;
11826
11303
  /**
11827
11304
  * When the Pack Type was last updated
11828
11305
  *
11829
- * @public
11830
11306
  * @type {Date}
11831
- */
11832
- get updateTimestamp(): Date;
11833
- /**
11834
- * The Site ID associated with this Pack Type
11835
- *
11836
11307
  * @public
11837
- * @type {number}
11838
11308
  */
11839
- get siteId(): number;
11840
- /**
11841
- * Convert this **PackTypeModel** to a JSON Object
11842
- *
11843
- * @public
11844
- * @return {Object<string, any>}
11845
- */
11846
- toJSON(): {
11847
- [x: string]: any;
11848
- };
11309
+ updateTimestamp: Date;
11849
11310
  }
11850
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11311
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
11851
11312
  }
11852
11313
 
11853
11314
  declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
@@ -11857,105 +11318,97 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
11857
11318
  *
11858
11319
  * @class
11859
11320
  * @hideconstructor
11860
- * @extends BaseSiteModel
11321
+ * @extends BaseModel
11861
11322
  */
11862
- class PackingLineModel extends BaseSiteModel {
11323
+ class PackingLineModel extends BaseModel {
11863
11324
  /**
11864
11325
  * Create a new **PackingLineModel** from a JSON Object or JSON String
11865
11326
  *
11866
11327
  * @static
11867
11328
  * @public
11868
11329
  * @param {Object<string, any>|string} json A JSON Object or JSON String
11869
- * @param {number} siteId The Site ID associated with this Packing Line
11870
11330
  * @return {PackingLineModel}
11871
11331
  */
11872
11332
  static fromJSON(json: {
11873
11333
  [x: string]: any;
11874
- } | string, siteId: number): PackingLineModel;
11875
- /**
11876
- * PackingLineModel Constructor
11877
- *
11878
- * @protected
11879
- * @param {number} siteId The Site ID associated with this Packing Line
11880
- */
11881
- protected constructor();
11334
+ } | string): PackingLineModel;
11882
11335
  /**
11883
11336
  * The Packing Line ID
11884
11337
  *
11885
- * @public
11886
11338
  * @type {string}
11339
+ * @public
11887
11340
  */
11888
- get id(): string;
11341
+ id: string;
11889
11342
  /**
11890
11343
  * The RTU this Packing Line belongs to
11891
11344
  *
11892
- * @public
11893
11345
  * @type {?number}
11346
+ * @public
11894
11347
  */
11895
- get rtuId(): number;
11348
+ rtuId: number | null;
11896
11349
  /**
11897
11350
  * The Packing Line Name
11898
11351
  *
11899
- * @public
11900
11352
  * @type {string}
11353
+ * @public
11901
11354
  */
11902
- get name(): string;
11355
+ name: string;
11903
11356
  /**
11904
11357
  * The Points used by this Packing Line
11905
11358
  *
11906
- * @public
11907
11359
  * @type {Object}
11360
+ * @public
11908
11361
  */
11909
- get points(): any;
11362
+ points: any;
11910
11363
  /**
11911
11364
  * The Sizer Objects that belong to this Packing Line
11912
11365
  *
11913
- * @public
11914
11366
  * @type {Object[]}
11367
+ * @public
11915
11368
  */
11916
- get sizers(): any[];
11369
+ sizers: any[];
11917
11370
  /**
11918
11371
  * The Bin Tip Objects that belong to this this Packing Line
11919
11372
  *
11920
- * @public
11921
11373
  * @type {Object[]}
11374
+ * @public
11922
11375
  */
11923
- get binTips(): any[];
11376
+ binTips: any[];
11924
11377
  /**
11925
11378
  * The Reject Bin Scale Objects that belong to this Packing Line
11926
11379
  *
11927
- * @public
11928
11380
  * @type {Object[]}
11381
+ * @public
11929
11382
  */
11930
- get rejectBinScales(): any[];
11383
+ rejectBinScales: any[];
11931
11384
  /**
11932
11385
  * The Automation Object for this Packing Line
11933
11386
  *
11934
- * @public
11935
11387
  * @type {?Object}
11388
+ * @public
11936
11389
  */
11937
- get automation(): any;
11390
+ automation: any | null;
11938
11391
  /**
11939
11392
  * The Alarm Groups that are used by this Packing Line
11940
11393
  *
11941
- * @public
11942
11394
  * @type {string[]}
11395
+ * @public
11943
11396
  */
11944
- get alarmGroups(): string[];
11397
+ alarmGroups: string[];
11945
11398
  /**
11946
11399
  * The Class Types that are defined for this Packing Line
11947
11400
  *
11948
- * @public
11949
11401
  * @type {Object[]}
11402
+ * @public
11950
11403
  */
11951
- get classTypes(): any[];
11404
+ classTypes: any[];
11952
11405
  /**
11953
11406
  * The Optional Shift Management Object for this Packing Line
11954
11407
  *
11955
- * @public
11956
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
11957
11410
  */
11958
- get shiftManagement(): {
11411
+ shiftManagement: {
11959
11412
  points: {
11960
11413
  currentShiftId: number;
11961
11414
  createNewDayShiftRequest: number;
@@ -11972,49 +11425,33 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
11972
11425
  /**
11973
11426
  * The FreshPack Integration Configuration for this Packing Line
11974
11427
  *
11975
- * @public
11976
11428
  * @type {?Object}
11429
+ * @public
11977
11430
  */
11978
- get freshPackIntegration(): any;
11431
+ freshPackIntegration: any | null;
11979
11432
  /**
11980
11433
  * The FreshQuality Integration Configuration for this Packing Line
11981
11434
  *
11982
- * @public
11983
11435
  * @type {?Object}
11436
+ * @public
11984
11437
  */
11985
- get freshQualityIntegration(): any;
11438
+ freshQualityIntegration: any | null;
11986
11439
  /**
11987
11440
  * Whether the Packing Line has been deleted
11988
11441
  *
11989
- * @public
11990
11442
  * @type {boolean}
11443
+ * @public
11991
11444
  */
11992
- get deleted(): boolean;
11445
+ deleted: boolean;
11993
11446
  /**
11994
11447
  * When the Packing Line was last updated
11995
11448
  *
11996
- * @public
11997
11449
  * @type {Date}
11998
- */
11999
- get updateTimestamp(): Date;
12000
- /**
12001
- * The Site ID associated with this Packing Line
12002
- *
12003
11450
  * @public
12004
- * @type {number}
12005
11451
  */
12006
- get siteId(): number;
12007
- /**
12008
- * Convert this **PackingLineModel** to a JSON Object
12009
- *
12010
- * @public
12011
- * @return {Object<string, any>}
12012
- */
12013
- toJSON(): {
12014
- [x: string]: any;
12015
- };
11452
+ updateTimestamp: Date;
12016
11453
  }
12017
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11454
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12018
11455
  }
12019
11456
 
12020
11457
  declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
@@ -12024,151 +11461,127 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
12024
11461
  *
12025
11462
  * @class
12026
11463
  * @hideconstructor
12027
- * @extends BaseSiteModel
11464
+ * @extends BaseModel
12028
11465
  */
12029
- class PackrunModel extends BaseSiteModel {
11466
+ class PackrunModel extends BaseModel {
12030
11467
  /**
12031
11468
  * Create a new **PackrunModel** from a JSON Object or JSON String
12032
11469
  *
12033
11470
  * @static
12034
11471
  * @public
12035
11472
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12036
- * @param {number} siteId The Site ID associated with this Packrun
12037
11473
  * @return {PackrunModel}
12038
11474
  */
12039
11475
  static fromJSON(json: {
12040
11476
  [x: string]: any;
12041
- } | string, siteId: number): PackrunModel;
12042
- /**
12043
- * PackrunModel Constructor
12044
- *
12045
- * @protected
12046
- * @param {number} siteId The Site ID associated with this Packrun
12047
- */
12048
- protected constructor();
11477
+ } | string): PackrunModel;
12049
11478
  /**
12050
11479
  * The Packrun ID
12051
11480
  *
12052
- * @public
12053
11481
  * @type {string}
11482
+ * @public
12054
11483
  */
12055
- get id(): string;
11484
+ id: string;
12056
11485
  /**
12057
11486
  * The Packing Line ID this Packrun is associated with
12058
11487
  *
12059
- * @public
12060
11488
  * @type {string}
11489
+ * @public
12061
11490
  */
12062
- get packingLineId(): string;
11491
+ packingLineId: string;
12063
11492
  /**
12064
11493
  * The Packrun Name
12065
11494
  *
12066
- * @public
12067
11495
  * @type {string}
11496
+ * @public
12068
11497
  */
12069
- get name(): string;
11498
+ name: string;
12070
11499
  /**
12071
11500
  * When this Packrun was Created
12072
11501
  *
12073
- * @public
12074
11502
  * @type {Date}
11503
+ * @public
12075
11504
  */
12076
- get createdTimestamp(): Date;
11505
+ createdTimestamp: Date;
12077
11506
  /**
12078
11507
  * The Grower Name for this Packrun
12079
11508
  *
12080
- * @public
12081
11509
  * @type {string}
11510
+ * @public
12082
11511
  */
12083
- get growerName(): string;
11512
+ growerName: string;
12084
11513
  /**
12085
11514
  * The Grower Code for this Packrun
12086
11515
  *
12087
- * @public
12088
11516
  * @type {string}
11517
+ * @public
12089
11518
  */
12090
- get growerCode(): string;
11519
+ growerCode: string;
12091
11520
  /**
12092
11521
  * The Maturity Area for this Packrun
12093
11522
  *
12094
- * @public
12095
11523
  * @type {string}
11524
+ * @public
12096
11525
  */
12097
- get maturityArea(): string;
11526
+ maturityArea: string;
12098
11527
  /**
12099
11528
  * When this Packrun was Started
12100
11529
  *
12101
- * @public
12102
11530
  * @type {?Date}
11531
+ * @public
12103
11532
  */
12104
- get startTimestamp(): Date;
11533
+ startTimestamp: Date | null;
12105
11534
  /**
12106
11535
  * When this Packrun was Finished
12107
11536
  *
12108
- * @public
12109
11537
  * @type {?Date}
11538
+ * @public
12110
11539
  */
12111
- get finishTimestamp(): Date;
11540
+ finishTimestamp: Date | null;
12112
11541
  /**
12113
11542
  * The Variety for this Packrun
12114
11543
  *
12115
- * @public
12116
11544
  * @type {string}
11545
+ * @public
12117
11546
  */
12118
- get varietyId(): string;
11547
+ varietyId: string;
12119
11548
  /**
12120
11549
  * The Growing Method for this Packrun
12121
11550
  *
12122
- * @public
12123
11551
  * @type {?string}
11552
+ * @public
12124
11553
  */
12125
- get growingMethodId(): string;
11554
+ growingMethodId: string | null;
12126
11555
  /**
12127
11556
  * The Number of Allocated Bins for this Packrun
12128
11557
  *
12129
- * @public
12130
11558
  * @type {number}
11559
+ * @public
12131
11560
  */
12132
- get allocatedBins(): number;
11561
+ allocatedBins: number;
12133
11562
  /**
12134
11563
  * The Time Batches for this Packrun
12135
11564
  *
12136
- * @public
12137
11565
  * @type {Object[]}
11566
+ * @public
12138
11567
  */
12139
- get timeBatches(): any[];
11568
+ timeBatches: any[];
12140
11569
  /**
12141
11570
  * Whether the Packrun has been deleted
12142
11571
  *
12143
- * @public
12144
11572
  * @type {boolean}
11573
+ * @public
12145
11574
  */
12146
- get deleted(): boolean;
11575
+ deleted: boolean;
12147
11576
  /**
12148
11577
  * When the Packrun was last updated
12149
11578
  *
12150
- * @public
12151
11579
  * @type {Date}
12152
- */
12153
- get updateTimestamp(): Date;
12154
- /**
12155
- * The Site ID associated with this Packrun
12156
- *
12157
11580
  * @public
12158
- * @type {number}
12159
11581
  */
12160
- get siteId(): number;
12161
- /**
12162
- * Convert this **PackrunModel** to a JSON Object
12163
- *
12164
- * @public
12165
- * @return {Object<string, any>}
12166
- */
12167
- toJSON(): {
12168
- [x: string]: any;
12169
- };
11582
+ updateTimestamp: Date;
12170
11583
  }
12171
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11584
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12172
11585
  }
12173
11586
 
12174
11587
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
@@ -12178,109 +11591,85 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinModel' {
12178
11591
  *
12179
11592
  * @class
12180
11593
  * @hideconstructor
12181
- * @extends BaseSiteModel
11594
+ * @extends BaseModel
12182
11595
  */
12183
- class RejectBinModel extends BaseSiteModel {
11596
+ class RejectBinModel extends BaseModel {
12184
11597
  /**
12185
11598
  * Create a new **RejectBinModel** from a JSON Object or JSON String
12186
11599
  *
12187
11600
  * @static
12188
11601
  * @public
12189
11602
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12190
- * @param {number} siteId The Site ID associated with this Reject Bin
12191
11603
  * @return {RejectBinModel}
12192
11604
  */
12193
11605
  static fromJSON(json: {
12194
11606
  [x: string]: any;
12195
- } | string, siteId: number): RejectBinModel;
12196
- /**
12197
- * RejectBinModel Constructor
12198
- *
12199
- * @protected
12200
- * @param {number} siteId The Site ID associated with this Reject Bin
12201
- */
12202
- protected constructor();
11607
+ } | string): RejectBinModel;
12203
11608
  /**
12204
11609
  * The Reject Bin ID
12205
11610
  *
12206
- * @public
12207
11611
  * @type {string}
11612
+ * @public
12208
11613
  */
12209
- get id(): string;
11614
+ id: string;
12210
11615
  /**
12211
11616
  * The Reject Bin Scale ID this Reject Bin is associated with
12212
11617
  *
12213
- * @public
12214
11618
  * @type {string}
11619
+ * @public
12215
11620
  */
12216
- get rejectBinScaleId(): string;
11621
+ rejectBinScaleId: string;
12217
11622
  /**
12218
11623
  * When this Reject Bin was Created
12219
11624
  *
12220
- * @public
12221
11625
  * @type {Date}
11626
+ * @public
12222
11627
  */
12223
- get createdTimestamp(): Date;
11628
+ createdTimestamp: Date;
12224
11629
  /**
12225
11630
  * The Name of the Reject Bin Scale where this Bin was Created
12226
11631
  *
12227
- * @public
12228
11632
  * @type {string}
11633
+ * @public
12229
11634
  */
12230
- get rejectBinScaleName(): string;
11635
+ rejectBinScaleName: string;
12231
11636
  /**
12232
11637
  * The Tare Weight Captured by the Reject Bin Scale
12233
11638
  *
12234
- * @public
12235
11639
  * @type {?number}
11640
+ * @public
12236
11641
  */
12237
- get tareWeight(): number;
11642
+ tareWeight: number | null;
12238
11643
  /**
12239
11644
  * When this Reject Bin was Finalized (No new Weights)
12240
11645
  *
12241
- * @public
12242
11646
  * @type {?Date}
11647
+ * @public
12243
11648
  */
12244
- get finalizedTimestamp(): Date;
11649
+ finalizedTimestamp: Date | null;
12245
11650
  /**
12246
11651
  * The Multi-Grower Bins that will be submitted to FreshPack
12247
11652
  *
12248
- * @public
12249
11653
  * @type {Object[]}
11654
+ * @public
12250
11655
  */
12251
- get freshPackMultiGrowerBins(): any[];
11656
+ freshPackMultiGrowerBins: any[];
12252
11657
  /**
12253
11658
  * Whether the Reject Bin has been deleted
12254
11659
  *
12255
- * @public
12256
11660
  * @type {boolean}
11661
+ * @public
12257
11662
  */
12258
- get deleted(): boolean;
11663
+ deleted: boolean;
12259
11664
  /**
12260
11665
  * When the Reject Bin was last updated
12261
11666
  *
12262
- * @public
12263
11667
  * @type {Date}
12264
- */
12265
- get updateTimestamp(): Date;
12266
- /**
12267
- * The Site ID associated with this Reject Bin
12268
- *
12269
- * @public
12270
- * @type {number}
12271
- */
12272
- get siteId(): number;
12273
- /**
12274
- * Convert this **RejectBinModel** to a JSON Object
12275
- *
12276
11668
  * @public
12277
- * @return {Object<string, any>}
12278
11669
  */
12279
- toJSON(): {
12280
- [x: string]: any;
12281
- };
11670
+ updateTimestamp: Date;
12282
11671
  }
12283
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11672
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12284
11673
  }
12285
11674
 
12286
11675
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
@@ -12290,130 +11679,106 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
12290
11679
  *
12291
11680
  * @class
12292
11681
  * @hideconstructor
12293
- * @extends BaseSiteModel
11682
+ * @extends BaseModel
12294
11683
  */
12295
- class RejectBinScaleModel extends BaseSiteModel {
11684
+ class RejectBinScaleModel extends BaseModel {
12296
11685
  /**
12297
11686
  * Create a new **RejectBinScaleModel** from a JSON Object or JSON String
12298
11687
  *
12299
11688
  * @static
12300
11689
  * @public
12301
11690
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12302
- * @param {number} siteId The Site ID associated with this Reject Bin Scale
12303
11691
  * @return {RejectBinScaleModel}
12304
11692
  */
12305
11693
  static fromJSON(json: {
12306
11694
  [x: string]: any;
12307
- } | string, siteId: number): RejectBinScaleModel;
12308
- /**
12309
- * RejectBinScaleModel Constructor
12310
- *
12311
- * @protected
12312
- * @param {number} siteId The Site ID associated with this Reject Bin Scale
12313
- */
12314
- protected constructor();
11695
+ } | string): RejectBinScaleModel;
12315
11696
  /**
12316
11697
  * The Reject Bin Scale ID
12317
11698
  *
12318
- * @public
12319
11699
  * @type {string}
11700
+ * @public
12320
11701
  */
12321
- get id(): string;
11702
+ id: string;
12322
11703
  /**
12323
11704
  * The RTU this Reject Bin Scale belongs to
12324
11705
  *
12325
- * @public
12326
11706
  * @type {?number}
11707
+ * @public
12327
11708
  */
12328
- get rtuId(): number;
11709
+ rtuId: number | null;
12329
11710
  /**
12330
11711
  * The Name of this Reject Bin Scale
12331
11712
  *
12332
- * @public
12333
11713
  * @type {string}
11714
+ * @public
12334
11715
  */
12335
- get name(): string;
11716
+ name: string;
12336
11717
  /**
12337
11718
  * The Points used by this Reject Bin Scale
12338
11719
  *
12339
- * @public
12340
11720
  * @type {Object}
11721
+ * @public
12341
11722
  */
12342
- get points(): any;
11723
+ points: any;
12343
11724
  /**
12344
11725
  * The Packing Line that owns this Reject Bin Scale
12345
11726
  *
12346
- * @public
12347
11727
  * @type {string}
11728
+ * @public
12348
11729
  */
12349
- get packingLineId(): string;
11730
+ packingLineId: string;
12350
11731
  /**
12351
11732
  * The Permanent Object that provides the Next Packrun for this Reject Bin Scale
12352
11733
  *
12353
- * @public
12354
11734
  * @type {?string}
11735
+ * @public
12355
11736
  */
12356
- get packrunSourceId(): string;
11737
+ packrunSourceId: string | null;
12357
11738
  /**
12358
11739
  * The Packrun Group this Reject Bin Scale is a part of
12359
11740
  *
12360
- * @public
12361
11741
  * @type {?number}
11742
+ * @public
12362
11743
  */
12363
- get packrunGroup(): number;
11744
+ packrunGroup: number | null;
12364
11745
  /**
12365
11746
  * An Array of Sources that deliver Fruit to this Reject Bin Scale
12366
11747
  *
12367
- * @public
12368
11748
  * @type {Object[]}
12369
- */
12370
- get sources(): any[];
12371
- /**
12372
- * The Auto Packrun Change Configuration for this Reject Bin Scale
12373
- *
12374
11749
  * @public
12375
- * @type {?number}
12376
11750
  */
12377
- get autoPackrunChange(): number;
11751
+ sources: any[];
12378
11752
  /**
12379
- * The FreshPack Integration Configuration for this Reject Bin Scale
12380
- *
12381
- * @public
12382
- * @type {?Object}
12383
- */
12384
- get freshPackIntegration(): any;
12385
- /**
12386
- * Whether the Reject Bin Scale has been deleted
11753
+ * The Auto Packrun Change Configuration for this Reject Bin Scale
12387
11754
  *
11755
+ * @type {?number}
12388
11756
  * @public
12389
- * @type {boolean}
12390
11757
  */
12391
- get deleted(): boolean;
11758
+ autoPackrunChange: number | null;
12392
11759
  /**
12393
- * When the Reject Bin Scale was last updated
11760
+ * The FreshPack Integration Configuration for this Reject Bin Scale
12394
11761
  *
11762
+ * @type {?Object}
12395
11763
  * @public
12396
- * @type {Date}
12397
11764
  */
12398
- get updateTimestamp(): Date;
11765
+ freshPackIntegration: any | null;
12399
11766
  /**
12400
- * The Site ID associated with this Reject Bin Scale
11767
+ * Whether the Reject Bin Scale has been deleted
12401
11768
  *
11769
+ * @type {boolean}
12402
11770
  * @public
12403
- * @type {number}
12404
11771
  */
12405
- get siteId(): number;
11772
+ deleted: boolean;
12406
11773
  /**
12407
- * Convert this **RejectBinScaleModel** to a JSON Object
11774
+ * When the Reject Bin Scale was last updated
12408
11775
  *
11776
+ * @type {Date}
12409
11777
  * @public
12410
- * @return {Object<string, any>}
12411
11778
  */
12412
- toJSON(): {
12413
- [x: string]: any;
12414
- };
11779
+ updateTimestamp: Date;
12415
11780
  }
12416
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11781
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12417
11782
  }
12418
11783
 
12419
11784
  declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
@@ -12423,116 +11788,92 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel' {
12423
11788
  *
12424
11789
  * @class
12425
11790
  * @hideconstructor
12426
- * @extends BaseSiteModel
11791
+ * @extends BaseModel
12427
11792
  */
12428
- class RejectBinWeightModel extends BaseSiteModel {
11793
+ class RejectBinWeightModel extends BaseModel {
12429
11794
  /**
12430
11795
  * Create a new **RejectBinWeightModel** from a JSON Object or JSON String
12431
11796
  *
12432
11797
  * @static
12433
11798
  * @public
12434
11799
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12435
- * @param {number} siteId The Site ID associated with this Reject Bin Weight
12436
11800
  * @return {RejectBinWeightModel}
12437
11801
  */
12438
11802
  static fromJSON(json: {
12439
11803
  [x: string]: any;
12440
- } | string, siteId: number): RejectBinWeightModel;
12441
- /**
12442
- * RejectBinWeightModel Constructor
12443
- *
12444
- * @protected
12445
- * @param {number} siteId The Site ID associated with this Reject Bin Weight
12446
- */
12447
- protected constructor();
11804
+ } | string): RejectBinWeightModel;
12448
11805
  /**
12449
11806
  * The Reject Bin Weight ID
12450
11807
  *
12451
- * @public
12452
11808
  * @type {string}
11809
+ * @public
12453
11810
  */
12454
- get id(): string;
11811
+ id: string;
12455
11812
  /**
12456
11813
  * The Reject Bin Scale ID this Reject Weight is associated with
12457
11814
  *
12458
- * @public
12459
11815
  * @type {string}
11816
+ * @public
12460
11817
  */
12461
- get rejectBinScaleId(): string;
11818
+ rejectBinScaleId: string;
12462
11819
  /**
12463
11820
  * The Reject Bin ID this Reject Weight is associated with
12464
11821
  *
12465
- * @public
12466
11822
  * @type {string}
11823
+ * @public
12467
11824
  */
12468
- get rejectBinId(): string;
11825
+ rejectBinId: string;
12469
11826
  /**
12470
11827
  * When this Reject Bin Weight was Created
12471
11828
  *
12472
- * @public
12473
11829
  * @type {Date}
11830
+ * @public
12474
11831
  */
12475
- get createdTimestamp(): Date;
11832
+ createdTimestamp: Date;
12476
11833
  /**
12477
11834
  * The Packrun this Reject Weight is associated with
12478
11835
  *
12479
- * @public
12480
11836
  * @type {?string}
11837
+ * @public
12481
11838
  */
12482
- get packrunId(): string;
11839
+ packrunId: string | null;
12483
11840
  /**
12484
11841
  * The Net Weight Captured by the Reject Bin Scale
12485
11842
  *
12486
- * @public
12487
11843
  * @type {number}
11844
+ * @public
12488
11845
  */
12489
- get netWeight(): number;
11846
+ netWeight: number;
12490
11847
  /**
12491
11848
  * The Source Weights that make up the Net Weight
12492
11849
  *
12493
- * @public
12494
11850
  * @type {Object[]}
11851
+ * @public
12495
11852
  */
12496
- get sources(): any[];
11853
+ sources: any[];
12497
11854
  /**
12498
11855
  * The Multi-Grower Bin Weights that will be submitted to FreshPack
12499
11856
  *
12500
- * @public
12501
11857
  * @type {Object[]}
11858
+ * @public
12502
11859
  */
12503
- get freshPackMultiGrowerBinWeights(): any[];
11860
+ freshPackMultiGrowerBinWeights: any[];
12504
11861
  /**
12505
11862
  * Whether the Reject Bin Weight has been deleted
12506
11863
  *
12507
- * @public
12508
11864
  * @type {boolean}
11865
+ * @public
12509
11866
  */
12510
- get deleted(): boolean;
11867
+ deleted: boolean;
12511
11868
  /**
12512
11869
  * When the Reject Bin Weight was last updated
12513
11870
  *
12514
- * @public
12515
11871
  * @type {Date}
12516
- */
12517
- get updateTimestamp(): Date;
12518
- /**
12519
- * The Site ID associated with this Reject Bin Weight
12520
- *
12521
11872
  * @public
12522
- * @type {number}
12523
- */
12524
- get siteId(): number;
12525
- /**
12526
- * Convert this **RejectBinWeightModel** to a JSON Object
12527
- *
12528
- * @public
12529
- * @return {Object<string, any>}
12530
11873
  */
12531
- toJSON(): {
12532
- [x: string]: any;
12533
- };
11874
+ updateTimestamp: Date;
12534
11875
  }
12535
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11876
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12536
11877
  }
12537
11878
 
12538
11879
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel' {
@@ -12542,130 +11883,106 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel'
12542
11883
  *
12543
11884
  * @class
12544
11885
  * @hideconstructor
12545
- * @extends BaseSiteModel
11886
+ * @extends BaseModel
12546
11887
  */
12547
- class ShiftFocusMeetingModel extends BaseSiteModel {
11888
+ class ShiftFocusMeetingModel extends BaseModel {
12548
11889
  /**
12549
11890
  * Create a new **ShiftFocusMeetingModel** from a JSON Object or JSON String
12550
11891
  *
12551
11892
  * @static
12552
11893
  * @public
12553
11894
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12554
- * @param {number} siteId The Site ID associated with this Shift Focus Meeting
12555
11895
  * @return {ShiftFocusMeetingModel}
12556
11896
  */
12557
11897
  static fromJSON(json: {
12558
11898
  [x: string]: any;
12559
- } | string, siteId: number): ShiftFocusMeetingModel;
12560
- /**
12561
- * ShiftFocusMeetingModel Constructor
12562
- *
12563
- * @protected
12564
- * @param {number} siteId The Site ID associated with this Shift Focus Meeting
12565
- */
12566
- protected constructor();
11899
+ } | string): ShiftFocusMeetingModel;
12567
11900
  /**
12568
11901
  * The Shift Focus Meeting ID
12569
11902
  *
12570
- * @public
12571
11903
  * @type {string}
11904
+ * @public
12572
11905
  */
12573
- get id(): string;
11906
+ id: string;
12574
11907
  /**
12575
11908
  * The Packing Line ID this Focus Meeting is associated with
12576
11909
  *
12577
- * @public
12578
11910
  * @type {string}
11911
+ * @public
12579
11912
  */
12580
- get packingLineId(): string;
11913
+ packingLineId: string;
12581
11914
  /**
12582
11915
  * The Shift ID this Focus Meeting is asssociated with
12583
11916
  *
12584
- * @public
12585
11917
  * @type {string}
11918
+ * @public
12586
11919
  */
12587
- get shiftId(): string;
11920
+ shiftId: string;
12588
11921
  /**
12589
11922
  * When this Focus Meeting was Created
12590
11923
  *
12591
- * @public
12592
11924
  * @type {Date}
11925
+ * @public
12593
11926
  */
12594
- get createdTimestamp(): Date;
11927
+ createdTimestamp: Date;
12595
11928
  /**
12596
11929
  * When this Focus Meeting is Scheduled to Begin
12597
11930
  *
12598
- * @public
12599
11931
  * @type {Date}
11932
+ * @public
12600
11933
  */
12601
- get scheduledTimestamp(): Date;
11934
+ scheduledTimestamp: Date;
12602
11935
  /**
12603
11936
  * When this Focus Meeting was Started
12604
11937
  *
12605
- * @public
12606
11938
  * @type {?Date}
11939
+ * @public
12607
11940
  */
12608
- get startTimestamp(): Date;
11941
+ startTimestamp: Date | null;
12609
11942
  /**
12610
11943
  * When this Focus Meeting was Completed
12611
11944
  *
12612
- * @public
12613
11945
  * @type {?Date}
11946
+ * @public
12614
11947
  */
12615
- get finishTimestamp(): Date;
11948
+ finishTimestamp: Date | null;
12616
11949
  /**
12617
11950
  * An Optional Key Focus until the Next Meeting
12618
11951
  *
12619
- * @public
12620
11952
  * @type {?string}
11953
+ * @public
12621
11954
  */
12622
- get nextKeyFocus(): string;
11955
+ nextKeyFocus: string | null;
12623
11956
  /**
12624
11957
  * An Optional Rating between 1 and 10 on how Successful the Focus Meeting was
12625
11958
  *
12626
- * @public
12627
11959
  * @type {?number}
11960
+ * @public
12628
11961
  */
12629
- get successRating(): number;
11962
+ successRating: number | null;
12630
11963
  /**
12631
11964
  * The Status of this Focus Meeting
12632
11965
  *
12633
- * @public
12634
11966
  * @type {string}
11967
+ * @public
12635
11968
  */
12636
- get status(): string;
11969
+ status: string;
12637
11970
  /**
12638
11971
  * Whether the Shift Focus Meeting has been deleted
12639
11972
  *
12640
- * @public
12641
11973
  * @type {boolean}
11974
+ * @public
12642
11975
  */
12643
- get deleted(): boolean;
11976
+ deleted: boolean;
12644
11977
  /**
12645
11978
  * When the Shift Focus Meeting was last updated
12646
11979
  *
12647
- * @public
12648
11980
  * @type {Date}
12649
- */
12650
- get updateTimestamp(): Date;
12651
- /**
12652
- * The Site ID associated with this Shift Focus Meeting
12653
- *
12654
- * @public
12655
- * @type {number}
12656
- */
12657
- get siteId(): number;
12658
- /**
12659
- * Convert this **ShiftFocusMeetingModel** to a JSON Object
12660
- *
12661
11981
  * @public
12662
- * @return {Object<string, any>}
12663
11982
  */
12664
- toJSON(): {
12665
- [x: string]: any;
12666
- };
11983
+ updateTimestamp: Date;
12667
11984
  }
12668
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
11985
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12669
11986
  }
12670
11987
 
12671
11988
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel' {
@@ -12675,119 +11992,111 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
12675
11992
  *
12676
11993
  * @class
12677
11994
  * @hideconstructor
12678
- * @extends BaseSiteModel
11995
+ * @extends BaseModel
12679
11996
  */
12680
- class ShiftHourlyEntryModel extends BaseSiteModel {
11997
+ class ShiftHourlyEntryModel extends BaseModel {
12681
11998
  /**
12682
11999
  * Create a new **ShiftHourlyEntryModel** from a JSON Object or JSON String
12683
12000
  *
12684
12001
  * @static
12685
12002
  * @public
12686
12003
  * @param {Object<string, any>|string} json A JSON Object or JSON String
12687
- * @param {number} siteId The Site ID associated with this Shift Hourly Entry
12688
12004
  * @return {ShiftHourlyEntryModel}
12689
12005
  */
12690
12006
  static fromJSON(json: {
12691
12007
  [x: string]: any;
12692
- } | string, siteId: number): ShiftHourlyEntryModel;
12693
- /**
12694
- * ShiftHourlyEntryModel Constructor
12695
- *
12696
- * @protected
12697
- * @param {number} siteId The Site ID associated with this Shift Hourly Entry
12698
- */
12699
- protected constructor();
12008
+ } | string): ShiftHourlyEntryModel;
12700
12009
  /**
12701
12010
  * The Shift Hourly Entry ID
12702
12011
  *
12703
- * @public
12704
12012
  * @type {string}
12013
+ * @public
12705
12014
  */
12706
- get id(): string;
12015
+ id: string;
12707
12016
  /**
12708
12017
  * The Packing Line ID this Hourly Entry is associated with
12709
12018
  *
12710
- * @public
12711
12019
  * @type {string}
12020
+ * @public
12712
12021
  */
12713
- get packingLineId(): string;
12022
+ packingLineId: string;
12714
12023
  /**
12715
12024
  * The Shift ID this Hourly Entry is asssociated with
12716
12025
  *
12717
- * @public
12718
12026
  * @type {string}
12027
+ * @public
12719
12028
  */
12720
- get shiftId(): string;
12029
+ shiftId: string;
12721
12030
  /**
12722
12031
  * When this Hourly Entry was Created
12723
12032
  *
12724
- * @public
12725
12033
  * @type {Date}
12034
+ * @public
12726
12035
  */
12727
- get createdTimestamp(): Date;
12036
+ createdTimestamp: Date;
12728
12037
  /**
12729
12038
  * The Start Timestamp of this Hourly Entry
12730
12039
  *
12731
- * @public
12732
12040
  * @type {Date}
12041
+ * @public
12733
12042
  */
12734
- get startTimestamp(): Date;
12043
+ startTimestamp: Date;
12735
12044
  /**
12736
12045
  * The End Timestamp of this Hourly Entry
12737
12046
  *
12738
- * @public
12739
12047
  * @type {Date}
12048
+ * @public
12740
12049
  */
12741
- get endTimestamp(): Date;
12050
+ endTimestamp: Date;
12742
12051
  /**
12743
12052
  * The Number of People working in all Areas except Class 2 for this Hour
12744
12053
  *
12745
- * @public
12746
12054
  * @type {?number}
12055
+ * @public
12747
12056
  */
12748
- get class1Manning(): number;
12057
+ class1Manning: number | null;
12749
12058
  /**
12750
12059
  * The Number of People working in the Class 2 Area for this Hour
12751
12060
  *
12752
- * @public
12753
12061
  * @type {?number}
12062
+ * @public
12754
12063
  */
12755
- get class2Manning(): number;
12064
+ class2Manning: number | null;
12756
12065
  /**
12757
12066
  * The Average Target Number of People that should be working for this Hour
12758
12067
  *
12759
- * @public
12760
12068
  * @type {?number}
12069
+ * @public
12761
12070
  */
12762
- get averageManningTarget(): number;
12071
+ averageManningTarget: number | null;
12763
12072
  /**
12764
12073
  * The Percentage of Total Tray Equivalents that are Layered for this Hour
12765
12074
  *
12766
- * @public
12767
12075
  * @type {?number}
12076
+ * @public
12768
12077
  */
12769
- get layeredTrayPercentage(): number;
12078
+ layeredTrayPercentage: number | null;
12770
12079
  /**
12771
12080
  * The Average Class 1 Percentage for this Hour
12772
12081
  *
12773
- * @public
12774
12082
  * @type {?number}
12083
+ * @public
12775
12084
  */
12776
- get averageClass1Percentage(): number;
12085
+ averageClass1Percentage: number | null;
12777
12086
  /**
12778
12087
  * The Number of Quality R600 Samples that were Ideal for this Hour
12779
12088
  *
12780
- * @public
12781
12089
  * @type {?number}
12090
+ * @public
12782
12091
  */
12783
- get qualityR600IdealSamplesPercentage(): number;
12092
+ qualityR600IdealSamplesPercentage: number | null;
12784
12093
  /**
12785
12094
  * An Array of Custom Quality Data Items for this Hour
12786
12095
  *
12787
- * @public
12788
12096
  * @type {Array<{id: string, name: string, type: string, value: number}>}
12097
+ * @public
12789
12098
  */
12790
- get customQualityData(): {
12099
+ customQualityData: {
12791
12100
  id: string;
12792
12101
  name: string;
12793
12102
  type: string;
@@ -12796,189 +12105,173 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
12796
12105
  /**
12797
12106
  * The Total Number of Bins Tipped for this Hour
12798
12107
  *
12799
- * @public
12800
12108
  * @type {number}
12109
+ * @public
12801
12110
  */
12802
- get totalBinsTipped(): number;
12111
+ totalBinsTipped: number;
12803
12112
  /**
12804
12113
  * The Target Number of Bins to Tip for this Hour
12805
12114
  *
12806
- * @public
12807
12115
  * @type {number}
12116
+ * @public
12808
12117
  */
12809
- get binsTippedTarget(): number;
12118
+ binsTippedTarget: number;
12810
12119
  /**
12811
12120
  * The Total Downtime for this Hour expressed in Seconds
12812
12121
  *
12813
- * @public
12814
12122
  * @type {number}
12123
+ * @public
12815
12124
  */
12816
- get totalDowntime(): number;
12125
+ totalDowntime: number;
12817
12126
  /**
12818
12127
  * The Total Time that could be Utilized for Packing Fruit (excludes Planned Downtime such as Smoko Breaks) for this Hour expressed in Seconds
12819
12128
  *
12820
- * @public
12821
12129
  * @type {number}
12130
+ * @public
12822
12131
  */
12823
- get totalProductionTime(): number;
12132
+ totalProductionTime: number;
12824
12133
  /**
12825
12134
  * The Total Number of Class 1 Tray Equivalents Packed for this Hour
12826
12135
  *
12827
- * @public
12828
12136
  * @type {number}
12137
+ * @public
12829
12138
  */
12830
- get totalClass1Trays(): number;
12139
+ totalClass1Trays: number;
12831
12140
  /**
12832
12141
  * The Total Number of Class 2 Tray Equivalents Packed for this Hour
12833
12142
  *
12834
- * @public
12835
12143
  * @type {number}
12144
+ * @public
12836
12145
  */
12837
- get totalClass2Trays(): number;
12146
+ totalClass2Trays: number;
12838
12147
  /**
12839
12148
  * The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
12840
12149
  *
12841
- * @public
12842
12150
  * @type {number}
12151
+ * @public
12843
12152
  */
12844
- get class1TraysPerHourExcludingDowntimeTarget(): number;
12153
+ class1TraysPerHourExcludingDowntimeTarget: number;
12845
12154
  /**
12846
12155
  * The Primary Issue Category for this Hourly Entry
12847
12156
  *
12848
- * @public
12849
12157
  * @type {?string}
12158
+ * @public
12850
12159
  */
12851
- get primaryIssueCategory(): string;
12160
+ primaryIssueCategory: string | null;
12852
12161
  /**
12853
12162
  * The Primary Issue Tag for this Hourly Entry
12854
12163
  *
12855
- * @public
12856
12164
  * @type {?string}
12165
+ * @public
12857
12166
  */
12858
- get primaryIssueTag(): string;
12167
+ primaryIssueTag: string | null;
12859
12168
  /**
12860
12169
  * The Secondary Issue Category for this Hourly Entry
12861
12170
  *
12862
- * @public
12863
12171
  * @type {?string}
12172
+ * @public
12864
12173
  */
12865
- get secondaryIssueCategory(): string;
12174
+ secondaryIssueCategory: string | null;
12866
12175
  /**
12867
12176
  * The Secondary Issue Tag for this Hourly Entry
12868
12177
  *
12869
- * @public
12870
12178
  * @type {?string}
12179
+ * @public
12871
12180
  */
12872
- get secondaryIssueTag(): string;
12181
+ secondaryIssueTag: string | null;
12873
12182
  /**
12874
12183
  * An Optional Focus for the Next Hour
12875
12184
  *
12876
- * @public
12877
12185
  * @type {?string}
12186
+ * @public
12878
12187
  */
12879
- get nextHourFocus(): string;
12188
+ nextHourFocus: string | null;
12880
12189
  /**
12881
12190
  * An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
12882
12191
  *
12883
- * @public
12884
12192
  * @type {?number}
12193
+ * @public
12885
12194
  */
12886
- get satisfactionRating(): number;
12195
+ satisfactionRating: number | null;
12887
12196
  /**
12888
12197
  * The Status of this Hourly Entry
12889
12198
  *
12890
- * @public
12891
12199
  * @type {string}
12200
+ * @public
12892
12201
  */
12893
- get status(): string;
12202
+ status: string;
12894
12203
  /**
12895
12204
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour without Planned Downtime (e.g. Smoko Breaks)
12896
12205
  *
12897
- * @public
12898
12206
  * @type {number}
12207
+ * @public
12899
12208
  */
12900
- get class1TraysPerHourPotential(): number;
12209
+ class1TraysPerHourPotential: number;
12901
12210
  /**
12902
12211
  * The Number of Class 1 Tray Equivalents that would have been Packed this Hour with Zero Downtime
12903
12212
  *
12904
- * @public
12905
12213
  * @type {number}
12214
+ * @public
12906
12215
  */
12907
- get class1TraysPerHourExcludingDowntime(): number;
12216
+ class1TraysPerHourExcludingDowntime: number;
12908
12217
  /**
12909
12218
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour without Planned Downtime (e.g. Smoko Breaks)
12910
12219
  *
12911
- * @public
12912
12220
  * @type {?number}
12221
+ * @public
12913
12222
  */
12914
- get class1TraysPerManHourPotential(): number;
12223
+ class1TraysPerManHourPotential: number | null;
12915
12224
  /**
12916
12225
  * The Number of Class 1 Tray Equivalents that would have been Packed per Person this Hour with Zero Downtime
12917
12226
  *
12918
- * @public
12919
12227
  * @type {?number}
12228
+ * @public
12920
12229
  */
12921
- get class1TraysPerManHourExcludingDowntime(): number;
12230
+ class1TraysPerManHourExcludingDowntime: number | null;
12922
12231
  /**
12923
12232
  * The Manning Percentage based on the Average Target for this Hour
12924
12233
  *
12925
- * @public
12926
12234
  * @type {?number}
12235
+ * @public
12927
12236
  */
12928
- get manningPercentage(): number;
12237
+ manningPercentage: number | null;
12929
12238
  /**
12930
12239
  * The Total Number of People working for this Hour
12931
12240
  *
12932
- * @public
12933
12241
  * @type {?number}
12242
+ * @public
12934
12243
  */
12935
- get totalManning(): number;
12244
+ totalManning: number | null;
12936
12245
  /**
12937
12246
  * The Percentage of Production Time without Downtime for this Hour
12938
12247
  *
12939
- * @public
12940
12248
  * @type {number}
12249
+ * @public
12941
12250
  */
12942
- get uptimePercentage(): number;
12251
+ uptimePercentage: number;
12943
12252
  /**
12944
12253
  * The Percentage of Downtime for this Hour
12945
12254
  *
12946
- * @public
12947
12255
  * @type {number}
12256
+ * @public
12948
12257
  */
12949
- get downtimePercentage(): number;
12258
+ downtimePercentage: number;
12950
12259
  /**
12951
12260
  * Whether the Shift Hourly Entry has been deleted
12952
12261
  *
12953
- * @public
12954
12262
  * @type {boolean}
12263
+ * @public
12955
12264
  */
12956
- get deleted(): boolean;
12265
+ deleted: boolean;
12957
12266
  /**
12958
12267
  * When the Shift Hourly Entry was last updated
12959
12268
  *
12960
- * @public
12961
12269
  * @type {Date}
12962
- */
12963
- get updateTimestamp(): Date;
12964
- /**
12965
- * The Site ID associated with this Shift Hourly Entry
12966
- *
12967
- * @public
12968
- * @type {number}
12969
- */
12970
- get siteId(): number;
12971
- /**
12972
- * Convert this **ShiftHourlyEntryModel** to a JSON Object
12973
- *
12974
12270
  * @public
12975
- * @return {Object<string, any>}
12976
12271
  */
12977
- toJSON(): {
12978
- [x: string]: any;
12979
- };
12272
+ updateTimestamp: Date;
12980
12273
  }
12981
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12274
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
12982
12275
  }
12983
12276
 
12984
12277
  declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
@@ -12988,136 +12281,128 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
12988
12281
  *
12989
12282
  * @class
12990
12283
  * @hideconstructor
12991
- * @extends BaseSiteModel
12284
+ * @extends BaseModel
12992
12285
  */
12993
- class ShiftModel extends BaseSiteModel {
12286
+ class ShiftModel extends BaseModel {
12994
12287
  /**
12995
12288
  * Create a new **ShiftModel** from a JSON Object or JSON String
12996
12289
  *
12997
12290
  * @static
12998
12291
  * @public
12999
12292
  * @param {Object<string, any>|string} json A JSON Object or JSON String
13000
- * @param {number} siteId The Site ID associated with this Shift
13001
12293
  * @return {ShiftModel}
13002
12294
  */
13003
12295
  static fromJSON(json: {
13004
12296
  [x: string]: any;
13005
- } | string, siteId: number): ShiftModel;
13006
- /**
13007
- * ShiftModel Constructor
13008
- *
13009
- * @protected
13010
- * @param {number} siteId The Site ID associated with this Shift
13011
- */
13012
- protected constructor();
12297
+ } | string): ShiftModel;
13013
12298
  /**
13014
12299
  * The Shift ID
13015
12300
  *
13016
- * @public
13017
12301
  * @type {string}
12302
+ * @public
13018
12303
  */
13019
- get id(): string;
12304
+ id: string;
13020
12305
  /**
13021
12306
  * The Packing Line ID this Shift is associated with
13022
12307
  *
13023
- * @public
13024
12308
  * @type {string}
12309
+ * @public
13025
12310
  */
13026
- get packingLineId(): string;
12311
+ packingLineId: string;
13027
12312
  /**
13028
12313
  * When this Shift was Created
13029
12314
  *
13030
- * @public
13031
12315
  * @type {Date}
12316
+ * @public
13032
12317
  */
13033
- get createdTimestamp(): Date;
12318
+ createdTimestamp: Date;
13034
12319
  /**
13035
12320
  * The Type of Shift
13036
12321
  *
13037
- * @public
13038
12322
  * @type {string}
12323
+ * @public
13039
12324
  */
13040
- get type(): string;
12325
+ type: string;
13041
12326
  /**
13042
12327
  * The Name of the Line Manager for this Shift
13043
12328
  *
13044
- * @public
13045
12329
  * @type {?string}
12330
+ * @public
13046
12331
  */
13047
- get lineManagerName(): string;
12332
+ lineManagerName: string | null;
13048
12333
  /**
13049
12334
  * The Target Number of Bins to Tip for this Shift
13050
12335
  *
13051
- * @public
13052
12336
  * @type {?number}
12337
+ * @public
13053
12338
  */
13054
- get binsTippedTarget(): number;
12339
+ binsTippedTarget: number | null;
13055
12340
  /**
13056
12341
  * *DEPRECATED* The Initial Number of People working in all Areas except Class 2 for this Hour
13057
12342
  *
13058
- * @public
13059
12343
  * @type {?number}
12344
+ * @public
13060
12345
  */
13061
- get initialClass1Manning(): number;
12346
+ initialClass1Manning: number | null;
13062
12347
  /**
13063
12348
  * *DEPRECATED* The Initial Number of People working in the Class 2 Area for this Hour
13064
12349
  *
13065
- * @public
13066
12350
  * @type {?number}
12351
+ * @public
13067
12352
  */
13068
- get initialClass2Manning(): number;
12353
+ initialClass2Manning: number | null;
13069
12354
  /**
13070
12355
  * When this Shift was Ready for Packing
13071
12356
  *
13072
- * @public
13073
12357
  * @type {?Date}
12358
+ * @public
13074
12359
  */
13075
- get readyTimestamp(): Date;
12360
+ readyTimestamp: Date | null;
13076
12361
  /**
13077
12362
  * When this Shift was Started
13078
12363
  *
13079
- * @public
13080
12364
  * @type {?Date}
12365
+ * @public
13081
12366
  */
13082
- get startTimestamp(): Date;
12367
+ startTimestamp: Date | null;
13083
12368
  /**
13084
12369
  * When this Shift was Finished
13085
12370
  *
13086
- * @public
13087
12371
  * @type {?Date}
12372
+ * @public
13088
12373
  */
13089
- get finishTimestamp(): Date;
12374
+ finishTimestamp: Date | null;
13090
12375
  /**
13091
12376
  * When this Shift was Published
13092
12377
  *
13093
- * @public
13094
12378
  * @type {?Date}
12379
+ * @public
13095
12380
  */
13096
- get publishTimestamp(): Date;
12381
+ publishTimestamp: Date | null;
13097
12382
  /**
13098
12383
  * An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
13099
12384
  *
13100
- * @public
13101
12385
  * @type {?number}
12386
+ * @public
13102
12387
  */
13103
- get satisfactionRating(): number;
12388
+ satisfactionRating: number | null;
13104
12389
  /**
13105
12390
  * *DEPRECATED* An Optional Array of Handover Notes for this Shift
13106
12391
  *
13107
- * @public
13108
12392
  * @type {Array<{area: string, noteContent: string}>}
12393
+ * @public
13109
12394
  */
13110
- get handoverNotes(): {
12395
+ handoverNotes: {
13111
12396
  area: string;
13112
12397
  noteContent: string;
13113
12398
  }[];
13114
12399
  /**
13115
12400
  * An Optional Array of Notes for this Shift
13116
12401
  *
13117
- * @public
13118
12402
  * @type {Array<{area: string, timestamp: Date, content: string}>}
12403
+ * @public
13119
12404
  */
13120
- get areaNotes(): {
12405
+ areaNotes: {
13121
12406
  area: string;
13122
12407
  timestamp: Date;
13123
12408
  content: string;
@@ -13125,56 +12410,40 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
13125
12410
  /**
13126
12411
  * The Schedule for this Shift
13127
12412
  *
13128
- * @public
13129
12413
  * @type {{startTime: string, endTime: string, breaks: Array<{startTime: string, endTime: string}>}}
12414
+ * @public
13130
12415
  */
13131
- get schedule(): {
12416
+ schedule: {
13132
12417
  startTime: string;
13133
12418
  endTime: string;
13134
- breaks: Array<{
12419
+ breaks: {
13135
12420
  startTime: string;
13136
12421
  endTime: string;
13137
- }>;
12422
+ }[];
13138
12423
  };
13139
12424
  /**
13140
12425
  * The Status of this Shift
13141
12426
  *
13142
- * @public
13143
12427
  * @type {string}
12428
+ * @public
13144
12429
  */
13145
- get status(): string;
12430
+ status: string;
13146
12431
  /**
13147
12432
  * Whether the Shift has been deleted
13148
12433
  *
13149
- * @public
13150
12434
  * @type {boolean}
12435
+ * @public
13151
12436
  */
13152
- get deleted(): boolean;
12437
+ deleted: boolean;
13153
12438
  /**
13154
12439
  * When the Shift was last updated
13155
12440
  *
13156
- * @public
13157
12441
  * @type {Date}
13158
- */
13159
- get updateTimestamp(): Date;
13160
- /**
13161
- * The Site ID associated with this Shift
13162
- *
13163
- * @public
13164
- * @type {number}
13165
- */
13166
- get siteId(): number;
13167
- /**
13168
- * Convert this **ShiftModel** to a JSON Object
13169
- *
13170
12442
  * @public
13171
- * @return {Object<string, any>}
13172
12443
  */
13173
- toJSON(): {
13174
- [x: string]: any;
13175
- };
12444
+ updateTimestamp: Date;
13176
12445
  }
13177
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12446
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
13178
12447
  }
13179
12448
 
13180
12449
  declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
@@ -13184,103 +12453,79 @@ declare module '@ricado/api-client/Models/Packhouse/Site/VarietyModel' {
13184
12453
  *
13185
12454
  * @class
13186
12455
  * @hideconstructor
13187
- * @extends BaseSiteModel
12456
+ * @extends BaseModel
13188
12457
  */
13189
- class VarietyModel extends BaseSiteModel {
12458
+ class VarietyModel extends BaseModel {
13190
12459
  /**
13191
12460
  * Create a new **VarietyModel** from a JSON Object or JSON String
13192
12461
  *
13193
12462
  * @static
13194
12463
  * @public
13195
12464
  * @param {Object<string, any>|string} json A JSON Object or JSON String
13196
- * @param {number} siteId The Site ID associated with this Variety
13197
12465
  * @return {VarietyModel}
13198
12466
  */
13199
12467
  static fromJSON(json: {
13200
12468
  [x: string]: any;
13201
- } | string, siteId: number): VarietyModel;
13202
- /**
13203
- * VarietyModel Constructor
13204
- *
13205
- * @protected
13206
- * @param {number} siteId The Site ID associated with this Variety
13207
- */
13208
- protected constructor();
12469
+ } | string): VarietyModel;
13209
12470
  /**
13210
12471
  * The Variety ID
13211
12472
  *
13212
- * @public
13213
12473
  * @type {string}
12474
+ * @public
13214
12475
  */
13215
- get id(): string;
12476
+ id: string;
13216
12477
  /**
13217
12478
  * The Variety Code
13218
12479
  *
13219
- * @public
13220
12480
  * @type {string}
12481
+ * @public
13221
12482
  */
13222
- get code(): string;
12483
+ code: string;
13223
12484
  /**
13224
12485
  * The Variety Name
13225
12486
  *
13226
- * @public
13227
12487
  * @type {string}
12488
+ * @public
13228
12489
  */
13229
- get name(): string;
12490
+ name: string;
13230
12491
  /**
13231
12492
  * The Variety Description
13232
12493
  *
13233
- * @public
13234
12494
  * @type {string}
12495
+ * @public
13235
12496
  */
13236
- get description(): string;
12497
+ description: string;
13237
12498
  /**
13238
12499
  * The Variety Image Source
13239
12500
  *
13240
- * @public
13241
12501
  * @type {string}
12502
+ * @public
13242
12503
  */
13243
- get image(): string;
12504
+ image: string;
13244
12505
  /**
13245
12506
  * An Array of Fruit Sizes Defined for this Variety
13246
12507
  *
13247
- * @public
13248
12508
  * @type {Array<{size: string}>}
12509
+ * @public
13249
12510
  */
13250
- get fruitSizes(): {
12511
+ fruitSizes: {
13251
12512
  size: string;
13252
12513
  }[];
13253
12514
  /**
13254
12515
  * Whether the Variety has been deleted
13255
12516
  *
13256
- * @public
13257
12517
  * @type {boolean}
12518
+ * @public
13258
12519
  */
13259
- get deleted(): boolean;
12520
+ deleted: boolean;
13260
12521
  /**
13261
12522
  * When the Variety was last updated
13262
12523
  *
13263
- * @public
13264
12524
  * @type {Date}
13265
- */
13266
- get updateTimestamp(): Date;
13267
- /**
13268
- * The Site ID associated with this Variety
13269
- *
13270
12525
  * @public
13271
- * @type {number}
13272
- */
13273
- get siteId(): number;
13274
- /**
13275
- * Convert this **VarietyModel** to a JSON Object
13276
- *
13277
- * @public
13278
- * @return {Object<string, any>}
13279
12526
  */
13280
- toJSON(): {
13281
- [x: string]: any;
13282
- };
12527
+ updateTimestamp: Date;
13283
12528
  }
13284
- import BaseSiteModel from "@ricado/api-client/Models/Site/BaseSiteModel";
12529
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
13285
12530
  }
13286
12531