@sedni/cloud_common 3.0.3 → 3.0.4

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 (104) hide show
  1. package/.idea/cloud_common.iml +8 -0
  2. package/.idea/copilot.data.migration.agent.xml +6 -0
  3. package/.idea/copilot.data.migration.ask.xml +6 -0
  4. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  5. package/.idea/copilot.data.migration.edit.xml +6 -0
  6. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  7. package/.idea/modules.xml +8 -0
  8. package/.idea/shelf/Changes/shelved.patch +30 -0
  9. package/.idea/shelf/Changes.xml +4 -0
  10. package/.idea/shelf/Changes1/shelved.patch +229 -0
  11. package/.idea/shelf/Changes1.xml +4 -0
  12. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_2_26,_10_07_[Changes]/shelved.patch +229 -0
  13. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_2_26,_10_20_[Changes]/shelved.patch +23 -0
  14. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_2_26__10_07__Changes_.xml +4 -0
  15. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_2_26__10_20__Changes_.xml +4 -0
  16. package/.idea/vcs.xml +6 -0
  17. package/.idea/workspace.xml +245 -0
  18. package/deno.lock +1204 -0
  19. package/dist/browser-index.cjs +30 -0
  20. package/dist/browser-index.d.cts +38 -17
  21. package/dist/browser-index.d.ts +38 -17
  22. package/dist/browser-index.js +7 -1
  23. package/dist/{chunk-VQWCQ4E2.js → chunk-XZJXANPO.js} +539 -2
  24. package/dist/index.cjs +42 -10
  25. package/dist/index.d.cts +45 -24
  26. package/dist/index.d.ts +45 -24
  27. package/dist/index.js +13 -7
  28. package/dist/models/Channel.d.ts +53 -0
  29. package/dist/models/Channel.js +65 -0
  30. package/dist/models/ChannelDataBucket.d.ts +81 -0
  31. package/dist/models/ChannelDataBucket.js +93 -0
  32. package/dist/models/ChannelDataPoint.d.ts +21 -0
  33. package/dist/models/ChannelDataPoint.js +75 -0
  34. package/dist/models/Event.d.ts +28 -0
  35. package/dist/models/Event.js +84 -0
  36. package/dist/models/History.d.ts +30 -0
  37. package/dist/models/History.js +96 -0
  38. package/dist/models/Unit.d.ts +50 -0
  39. package/dist/models/Unit.js +58 -0
  40. package/dist/models/docs/Channel.json +58 -0
  41. package/dist/models/docs/ChannelDataBucket.json +77 -0
  42. package/dist/models/docs/ChannelDataPoint.json +39 -0
  43. package/dist/models/docs/ChannelWithData.json +58 -0
  44. package/dist/models/docs/Event.json +78 -0
  45. package/dist/models/docs/History.json +103 -0
  46. package/dist/models/docs/Unit.json +67 -0
  47. package/dist/models/docs/index.d.ts +448 -0
  48. package/dist/models/docs/index.js +27 -0
  49. package/dist/models/mimics/AuxiliaryElements.d.ts +39 -0
  50. package/dist/models/mimics/AuxiliaryElements.js +33 -0
  51. package/dist/models/mimics/ChannelMimic.d.ts +9 -0
  52. package/dist/models/mimics/ChannelMimic.js +8 -0
  53. package/dist/models/mimics/ControlElements.d.ts +123 -0
  54. package/dist/models/mimics/ControlElements.js +114 -0
  55. package/dist/models/mimics/Elements.d.ts +109 -0
  56. package/dist/models/mimics/Elements.js +99 -0
  57. package/dist/models/mimics/IasElements.d.ts +25 -0
  58. package/dist/models/mimics/IasElements.js +21 -0
  59. package/dist/models/mimics/MimicSupport.d.ts +77 -0
  60. package/dist/models/mimics/MimicSupport.js +59 -0
  61. package/dist/models/mimics/MimicTraits.d.ts +58 -0
  62. package/dist/models/mimics/MimicTraits.js +48 -0
  63. package/dist/models/mimics/PmsElements.d.ts +74 -0
  64. package/dist/models/mimics/PmsElements.js +66 -0
  65. package/dist/network/requests/mimics/AuxiliaryElements.d.ts +29 -0
  66. package/dist/network/requests/mimics/AuxiliaryElements.js +23 -0
  67. package/dist/network/requests/mimics/ChannelMimic.d.ts +9 -0
  68. package/dist/network/requests/mimics/ChannelMimic.js +8 -0
  69. package/dist/network/requests/mimics/ControlElements.d.ts +68 -0
  70. package/dist/network/requests/mimics/ControlElements.js +59 -0
  71. package/dist/network/requests/mimics/Elements.d.ts +46 -0
  72. package/dist/network/requests/mimics/Elements.js +36 -0
  73. package/dist/network/requests/mimics/IasElements.d.ts +16 -0
  74. package/dist/network/requests/mimics/IasElements.js +12 -0
  75. package/dist/network/requests/mimics/MimicSupport.d.ts +77 -0
  76. package/dist/network/requests/mimics/MimicSupport.js +59 -0
  77. package/dist/network/requests/mimics/MimicTraits.d.ts +55 -0
  78. package/dist/network/requests/mimics/MimicTraits.js +45 -0
  79. package/dist/network/requests/mimics/PmsElements.d.ts +58 -0
  80. package/dist/network/requests/mimics/PmsElements.js +50 -0
  81. package/dist/network/responses/mimics/AuxiliaryElements.d.ts +23 -0
  82. package/dist/network/responses/mimics/AuxiliaryElements.js +17 -0
  83. package/dist/network/responses/mimics/ControlElements.d.ts +63 -0
  84. package/dist/network/responses/mimics/ControlElements.js +54 -0
  85. package/dist/network/responses/mimics/Elements.d.ts +58 -0
  86. package/dist/network/responses/mimics/Elements.js +48 -0
  87. package/dist/network/responses/mimics/IasElements.d.ts +17 -0
  88. package/dist/network/responses/mimics/IasElements.js +13 -0
  89. package/dist/network/responses/mimics/PmsElements.d.ts +44 -0
  90. package/dist/network/responses/mimics/PmsElements.js +37 -0
  91. package/dist/types/alarm.types.d.ts +42 -0
  92. package/dist/types/alarm.types.js +38 -0
  93. package/dist/types/channel.types.d.ts +27 -0
  94. package/dist/types/channel.types.js +30 -0
  95. package/dist/types/event.types.d.ts +19 -0
  96. package/dist/types/event.types.js +17 -0
  97. package/dist/types/mimics.types.d.ts +254 -0
  98. package/dist/types/mimics.types.js +325 -0
  99. package/dist/types/unit.types.d.ts +11 -0
  100. package/dist/types/unit.types.js +10 -0
  101. package/dist/{unit.types-4ZD9ivHi.d.cts → user.types-DaVBScqh.d.cts} +493 -17
  102. package/dist/{unit.types-4ZD9ivHi.d.ts → user.types-DaVBScqh.d.ts} +493 -17
  103. package/package.json +1 -1
  104. package/tsconfig.tsbuildinfo +1 -0
@@ -78,24 +78,24 @@ declare const AlarmStates: {
78
78
  };
79
79
  type AlarmState = (typeof AlarmStates)[keyof typeof AlarmStates];
80
80
  declare const MimicAlarmStates: {
81
- ALARM: string;
82
- WARNING: string;
83
- UNACKNOWLEDGED_ALARM: string;
84
- UNACKNOWLEDGED_WARNING: string;
85
- ACKNOWLEDGED_ALARM: string;
86
- ACKNOWLEDGED_WARNING: string;
87
- INHIBITED: string;
88
- OFF_SCAN: string;
89
- NORMAL: string;
90
- OFFLINE: string;
81
+ readonly ALARM: "Alarm";
82
+ readonly WARNING: "Warning";
83
+ readonly UNACKNOWLEDGED_ALARM: "UnacknowledgedAlarm";
84
+ readonly UNACKNOWLEDGED_WARNING: "UnacknowledgedWarning";
85
+ readonly ACKNOWLEDGED_ALARM: "AcknowledgedAlarm";
86
+ readonly ACKNOWLEDGED_WARNING: "AcknowledgedWarning";
87
+ readonly INHIBITED: "Inhibited";
88
+ readonly OFF_SCAN: "OffScan";
89
+ readonly NORMAL: "Normal";
90
+ readonly OFFLINE: "Offline";
91
91
  };
92
92
  type MimicAlarmState = (typeof MimicAlarmStates)[keyof typeof MimicAlarmStates];
93
93
  declare const MimicControlStates: {
94
- NO_VALUE: string;
95
- LOCAL: string;
96
- AUTOMATIC: string;
97
- SEMI_AUTOMATIC: string;
98
- UNDEFINED: string;
94
+ readonly NO_VALUE: "NoValue";
95
+ readonly LOCAL: "Local";
96
+ readonly AUTOMATIC: "Automatic";
97
+ readonly SEMI_AUTOMATIC: "SemiAuto";
98
+ readonly UNDEFINED: "Undefined";
99
99
  };
100
100
  type MimicControlState = (typeof MimicControlStates)[keyof typeof MimicControlStates];
101
101
  declare const ActivationModes: {
@@ -503,7 +503,7 @@ type GeneratorPmsRequestSchema = {
503
503
  PowerChannel: string | null;
504
504
  FrequencyChannel: string | null;
505
505
  PriorityChannel: string | null;
506
- AutomaticSemiAutoTrait: AutomaticSemiAutoRequestSchema;
506
+ AutomaticSemiAuto: AutomaticSemiAutoRequestSchema;
507
507
  FeedbackRunningStopped: FeedbackRunningStoppedRequestSchema;
508
508
  RemoteLocal: RemoteLocalRequestSchema;
509
509
  TripResetTrait: TripResetRequestSchema;
@@ -691,6 +691,455 @@ type SquareAuxiliaryRequestSchema = {
691
691
  };
692
692
  type TextAuxiliaryRequestSchema = {};
693
693
 
694
+ type AddedAlarmsJsonSchema = {
695
+ Channels: {
696
+ ChannelId: string;
697
+ }[];
698
+ };
699
+ type BackgroundJsonSchema = {
700
+ Show: boolean;
701
+ };
702
+ type LineJsonSchema = {
703
+ Color: string;
704
+ Width: number;
705
+ Start: {
706
+ X: number;
707
+ Y: number;
708
+ };
709
+ End: {
710
+ X: number;
711
+ Y: number;
712
+ };
713
+ };
714
+ type LocalizedTextJsonSchema = {
715
+ English: string;
716
+ Spanish: string;
717
+ French: string;
718
+ German: string;
719
+ };
720
+ type LocationJsonSchema = {
721
+ X: number;
722
+ Y: number;
723
+ Z: number;
724
+ Rotation: number;
725
+ };
726
+ type LogicExpressionJsonSchema = {
727
+ Expression: string;
728
+ Value: undefined;
729
+ Variables: string[];
730
+ };
731
+ type LogicExpressionsJsonSchema = {
732
+ LogicExpressions: LogicExpressionJsonSchema[];
733
+ };
734
+ type ScaleJsonSchema = {
735
+ Show: boolean;
736
+ TextHeight: number;
737
+ Color: string;
738
+ Position: string;
739
+ LineWidth: number;
740
+ DivisionsNumber: number;
741
+ SubdivisionsNumber: number;
742
+ };
743
+ type TextAttributesJsonSchema = {
744
+ AnchorPoint: TextAnchorPoint;
745
+ Color: string;
746
+ HasUnderline: boolean;
747
+ UnderlineColor: string;
748
+ UnderlineLength: number;
749
+ UnderlineWidth: number;
750
+ };
751
+ type TitleJsonSchema = {
752
+ Show: boolean;
753
+ Height: number;
754
+ Padding: number;
755
+ Align: TitleAlign;
756
+ Color: string;
757
+ Text: LocalizedTextJsonSchema;
758
+ Location: LocationJsonSchema;
759
+ };
760
+
761
+ type ChannelJsonSchema = {
762
+ WithBackup: boolean;
763
+ Main: string | null;
764
+ Backup: string | null;
765
+ Max: number;
766
+ Min: number;
767
+ Units: string;
768
+ };
769
+
770
+ type AutomaticSemiAutoJsonSchema = {
771
+ withAutomatic: boolean;
772
+ automaticCommand: ChannelJsonSchema;
773
+ semiAutoCommand: ChannelJsonSchema;
774
+ automaticFeedback: ChannelJsonSchema;
775
+ hasSemiAutoFeedback: boolean;
776
+ semiAutoFeedback: ChannelJsonSchema;
777
+ };
778
+ type CommandsOpClJsonSchema = {
779
+ commandOpen: ChannelJsonSchema;
780
+ commandClose: ChannelJsonSchema;
781
+ };
782
+ type CommandsStartStopJsonSchema = {
783
+ commandStart: ChannelJsonSchema;
784
+ commandStop: ChannelJsonSchema;
785
+ };
786
+ type ControlLockJsonSchema = {
787
+ hasControlLock: boolean;
788
+ controlLock: ChannelJsonSchema;
789
+ };
790
+ type FeedbackOpClJsonSchema = {
791
+ openFeedback: ChannelJsonSchema;
792
+ closeFeedback: ChannelJsonSchema;
793
+ };
794
+ type FeedbackRunningStoppedJsonSchema = {
795
+ runFeedback: ChannelJsonSchema;
796
+ hasStoppedFeedback: boolean;
797
+ stoppedFeedback: ChannelJsonSchema;
798
+ };
799
+ type OrderOpClJsonSchema = {
800
+ openOrder: ChannelJsonSchema;
801
+ closeOrder: ChannelJsonSchema;
802
+ };
803
+ type OrderStartStopJsonSchema = {
804
+ startOrder: ChannelJsonSchema;
805
+ stopOrder: ChannelJsonSchema;
806
+ };
807
+ type RemoteLocalJsonSchema = {
808
+ remoteFeedback: ChannelJsonSchema;
809
+ hasLocalFeedback: boolean;
810
+ localFeedback: ChannelJsonSchema;
811
+ };
812
+ type TripResetJsonSchema = {
813
+ tripFeedback: ChannelJsonSchema;
814
+ withCommandReset: boolean;
815
+ resetCommand: ChannelJsonSchema;
816
+ };
817
+
818
+ type BreakerJsonSchema = {
819
+ FeedbackOpCl: FeedbackOpClJsonSchema;
820
+ CommandsOpCl: CommandsOpClJsonSchema;
821
+ ControlLock: ControlLockJsonSchema;
822
+ OrderOpCl: OrderOpClJsonSchema;
823
+ RemoteLocal: RemoteLocalJsonSchema;
824
+ TripReset: TripResetJsonSchema;
825
+ AutomaticManual: AutomaticSemiAutoJsonSchema;
826
+ IsControl: boolean;
827
+ RemoteIconSize: number;
828
+ };
829
+ type BreakerPmsJsonSchema = {
830
+ Breaker: string;
831
+ RemoteIconSize: number;
832
+ FeedbackOpCl: FeedbackOpClJsonSchema;
833
+ RemoteLocal: RemoteLocalJsonSchema;
834
+ TripReset: TripResetJsonSchema;
835
+ };
836
+ type GeneratorJsonSchema = {
837
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
838
+ CommandsStartStop: CommandsStartStopJsonSchema;
839
+ FeedbackRunningStopped: FeedbackRunningStoppedJsonSchema;
840
+ OrderStartStop: OrderStartStopJsonSchema;
841
+ RemoteLocal: RemoteLocalJsonSchema;
842
+ TripReset: TripResetJsonSchema;
843
+ OrderAuto: ChannelJsonSchema;
844
+ OrderSemiAuto: ChannelJsonSchema;
845
+ IsControl: boolean;
846
+ };
847
+ type GeneratorPmsJsonSchema = {
848
+ Generator: string;
849
+ GeneratorNameColor: string;
850
+ PowerChannel: ChannelJsonSchema;
851
+ FrequencyChannel: ChannelJsonSchema;
852
+ PriorityChannel: ChannelJsonSchema;
853
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
854
+ FeedbackRunningStopped: FeedbackRunningStoppedJsonSchema;
855
+ RemoteLocal: RemoteLocalJsonSchema;
856
+ TripReset: TripResetJsonSchema;
857
+ };
858
+ type OperationModesJsonSchema = {
859
+ TextHeight: number;
860
+ ModeToReach: string;
861
+ Messages: LocalizedTextJsonSchema;
862
+ };
863
+ type PriorityDataJsonSchema = {
864
+ Name: string;
865
+ ChannelPriority: string;
866
+ ChannelPriorityFeedback: string;
867
+ };
868
+ type PrioritiesJsonSchema = {
869
+ TextHeight: number;
870
+ HasPassword: boolean;
871
+ Texts: LocalizedTextJsonSchema;
872
+ Priorities: PriorityDataJsonSchema[];
873
+ };
874
+ type ShaftJsonSchema = {
875
+ WithFeedbackOpen: boolean;
876
+ ActivationMode: string;
877
+ ActivationValue: boolean;
878
+ OpenFeedback: ChannelJsonSchema;
879
+ CloseFeedback: ChannelJsonSchema;
880
+ };
881
+
882
+ type CabinetJsonSchema = {
883
+ Design: CabinetDesign;
884
+ ImageName: string;
885
+ CabinetId: string;
886
+ };
887
+ type RepeaterJsonSchema = {
888
+ Design: RepeaterDesign;
889
+ ImageName: string;
890
+ RepeaterId: string;
891
+ };
892
+ type StationJsonSchema = {
893
+ Design: StationDesign;
894
+ ImageName: string;
895
+ StationId: string;
896
+ };
897
+ type UnitJsonSchema = {
898
+ Design: UnitDesign;
899
+ ImageName: string;
900
+ UnitId: string;
901
+ };
902
+
903
+ type AlarmIndicatorJsonSchema = {
904
+ TextHeight: number;
905
+ TextColor: string;
906
+ Texts: LocalizedTextJsonSchema;
907
+ AlarmFeedback: ChannelJsonSchema;
908
+ };
909
+ type CommandJsonSchema = {
910
+ TextHeight: number;
911
+ MessageColor: string;
912
+ TimeoutCommandCheck: number;
913
+ CommandCheckColor: string;
914
+ TimeoutCommandResult: number;
915
+ CommandOkColor: string;
916
+ CommandErrorColor: string;
917
+ HasConfirmation: boolean;
918
+ HasPassword: boolean;
919
+ CommandChannel: ChannelJsonSchema;
920
+ CloseChannel: ChannelJsonSchema;
921
+ Messages: LocalizedTextJsonSchema;
922
+ ConfirmationMessages: LocalizedTextJsonSchema;
923
+ };
924
+ type DialJsonSchema = {
925
+ Color: string;
926
+ ShowTextValue: boolean;
927
+ Factor: number;
928
+ ShowAlarmLimits: boolean;
929
+ ShowFactor: boolean;
930
+ DivisionsNumber: number;
931
+ SubdivisionsNumber: number;
932
+ Channel: ChannelJsonSchema;
933
+ };
934
+ type DigitalJsonSchema = {
935
+ TextHeight: number;
936
+ LedType: LedType;
937
+ OpenLedColor: string;
938
+ CloseLedColor: string;
939
+ OpenTexts: LocalizedTextJsonSchema;
940
+ CloseTexts: LocalizedTextJsonSchema;
941
+ FeedbackOpCl: FeedbackOpClJsonSchema;
942
+ };
943
+ type DisplayJsonSchema = {
944
+ HeightText: number;
945
+ TextColor: string;
946
+ ShowMeasureUnit: boolean;
947
+ NumCharactersDisplay: number;
948
+ Channel: ChannelJsonSchema;
949
+ };
950
+ type DynamicTextJsonSchema = {
951
+ TextAttributes: TextAttributesJsonSchema;
952
+ DefaultTextColor: string;
953
+ DefaultText: LocalizedTextJsonSchema;
954
+ TextLogic: LogicExpressionsJsonSchema;
955
+ };
956
+ type LevelBarJsonSchema = {
957
+ Orientation: LevelBarOrientation;
958
+ BackgroundColor: string;
959
+ ForegroundColor: string;
960
+ ShowTextValue: boolean;
961
+ TextValueHeight: number;
962
+ ValueType: ValueType;
963
+ ShowAlarmLimits: boolean;
964
+ MarkType: MarkType;
965
+ Scale: ScaleJsonSchema;
966
+ LevelChannel: ChannelJsonSchema;
967
+ };
968
+ type SliderJsonSchema = {
969
+ Orientation: SliderOrientation;
970
+ Steps: number;
971
+ ColorBackground: string;
972
+ ColorValue: string;
973
+ ColorValueCircle: string;
974
+ HasTextValue: boolean;
975
+ ColorTextValue: string;
976
+ TextValueFontSize: number;
977
+ IsVisualizationOnly: boolean;
978
+ Channel: ChannelJsonSchema;
979
+ };
980
+ type TextChannelJsonSchema = {
981
+ TextAttributes: TextAttributesJsonSchema;
982
+ Channel: ChannelJsonSchema;
983
+ };
984
+ type ToggleJsonSchema = {
985
+ ColorCircle: string;
986
+ ColorOnBackground: string;
987
+ ColorOffBackground: string;
988
+ DisplayValue: boolean;
989
+ OnTextValue: string;
990
+ OnTextValueColor: string;
991
+ OffTextValue: string;
992
+ OffTextValueColor: string;
993
+ IsVisualizationOnly: boolean;
994
+ Channel: ChannelJsonSchema;
995
+ CommandOnChannel: ChannelJsonSchema;
996
+ CommandOffChannel: ChannelJsonSchema;
997
+ };
998
+
999
+ type CompressorJsonSchema = {
1000
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
1001
+ CommandsStartStop: CommandsStartStopJsonSchema;
1002
+ ControlLock: ControlLockJsonSchema;
1003
+ FeedbackRunningStopped: FeedbackRunningStoppedJsonSchema;
1004
+ OrderStartStop: OrderStartStopJsonSchema;
1005
+ RemoteLocal: RemoteLocalJsonSchema;
1006
+ TripReset: TripResetJsonSchema;
1007
+ IsControl: boolean;
1008
+ CompressorDesign: CompressorDesign;
1009
+ };
1010
+ type DamperJsonSchema = {
1011
+ FeedbackAutoSemiAuto: AutomaticSemiAutoJsonSchema;
1012
+ FeedbackOpCl: FeedbackOpClJsonSchema;
1013
+ CommandsOpCl: CommandsOpClJsonSchema;
1014
+ ControlLock: ControlLockJsonSchema;
1015
+ OrderOpCl: OrderOpClJsonSchema;
1016
+ RemoteLocal: RemoteLocalJsonSchema;
1017
+ TripReset: TripResetJsonSchema;
1018
+ IsControl: boolean;
1019
+ };
1020
+ type DamperAutomatedJsonSchema = {
1021
+ Damper: string;
1022
+ FeedbackOpCl: FeedbackOpClJsonSchema;
1023
+ TripReset: TripResetJsonSchema;
1024
+ };
1025
+ type FanJsonSchema = {
1026
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
1027
+ ControlLock: ControlLockJsonSchema;
1028
+ RemoteLocal: RemoteLocalJsonSchema;
1029
+ TripReset: TripResetJsonSchema;
1030
+ FanMode: FanType;
1031
+ FanDesign: FanDesign;
1032
+ SpeedFeedback: ChannelJsonSchema;
1033
+ ConsignedSpeed: ChannelJsonSchema;
1034
+ UserConsignedSpeed: ChannelJsonSchema;
1035
+ RunFeedbackSupply: ChannelJsonSchema;
1036
+ RunFeedbackSupplyFast: ChannelJsonSchema;
1037
+ RunFeedbackExhaust: ChannelJsonSchema;
1038
+ RunFeedbackExhaustFast: ChannelJsonSchema;
1039
+ StoppedFeedback: ChannelJsonSchema;
1040
+ StartOrderSupply: ChannelJsonSchema;
1041
+ StartOrderSupplyFast: ChannelJsonSchema;
1042
+ StartOrderExhaust: ChannelJsonSchema;
1043
+ StartOrderExhaustFast: ChannelJsonSchema;
1044
+ StopOrder: ChannelJsonSchema;
1045
+ StartCommandSupply: ChannelJsonSchema;
1046
+ StartCommandSupplyFast: ChannelJsonSchema;
1047
+ StartCommandExhaust: ChannelJsonSchema;
1048
+ StartCommandExhaustFast: ChannelJsonSchema;
1049
+ StopCommand: ChannelJsonSchema;
1050
+ StartCommandSupplyConfirmation: LocalizedTextJsonSchema;
1051
+ StartCommandSupplyFastConfirmation: LocalizedTextJsonSchema;
1052
+ StartCommandExhaustConfirmation: LocalizedTextJsonSchema;
1053
+ StartCommandExhaustFastConfirmation: LocalizedTextJsonSchema;
1054
+ StopCommandConfirmation: LocalizedTextJsonSchema;
1055
+ };
1056
+ type PumpJsonSchema = {
1057
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
1058
+ ControlLock: ControlLockJsonSchema;
1059
+ CommandsStartStop: CommandsStartStopJsonSchema;
1060
+ FeedbackRunningStopped: FeedbackRunningStoppedJsonSchema;
1061
+ OrderStartStop: OrderStartStopJsonSchema;
1062
+ RemoteLocal: RemoteLocalJsonSchema;
1063
+ TripReset: TripResetJsonSchema;
1064
+ IsControl: boolean;
1065
+ PumpDesign: CompressorDesign;
1066
+ };
1067
+ type PumpAutomatedJsonSchema = {
1068
+ Pump: string;
1069
+ PumpDesign: CompressorDesign;
1070
+ AutomaticSemiAuto: AutomaticSemiAutoJsonSchema;
1071
+ FeedbackRunningStopped: FeedbackRunningStoppedJsonSchema;
1072
+ RemoteLocal: RemoteLocalJsonSchema;
1073
+ TripReset: TripResetJsonSchema;
1074
+ };
1075
+ type TankJsonSchema = {
1076
+ TankName: string;
1077
+ VolumeChannel: ChannelJsonSchema;
1078
+ LocationInfo: InfoLocation;
1079
+ ShowVolume: boolean;
1080
+ ShowVolumeInPercent: boolean;
1081
+ ShowVolumeInMeters: boolean;
1082
+ ShowVolumeInLitres: boolean;
1083
+ ShowWeight: boolean;
1084
+ ShowSounding: boolean;
1085
+ TextValueHeight: number;
1086
+ TextValuePadding: number;
1087
+ BackgroundColor: string;
1088
+ ContentColor: string;
1089
+ ShowAlarmLimits: boolean;
1090
+ MarkType: MarkType;
1091
+ Scale: ScaleJsonSchema;
1092
+ };
1093
+ type ValveJsonSchema = {
1094
+ IsControl: boolean;
1095
+ ValveDesign: ValveDesign;
1096
+ FeedbackOpCl: FeedbackOpClJsonSchema;
1097
+ CommandsOpCl: CommandsOpClJsonSchema;
1098
+ OrderOpCl: OrderOpClJsonSchema;
1099
+ ControlLock: ControlLockJsonSchema;
1100
+ RemoteLocal: RemoteLocalJsonSchema;
1101
+ TripReset: TripResetJsonSchema;
1102
+ };
1103
+ type ValveAutomatedJsonSchema = {
1104
+ Valve: string;
1105
+ ValveDesign: ValveDesign;
1106
+ FeedbackOpCl: FeedbackOpClJsonSchema;
1107
+ TripReset: TripResetJsonSchema;
1108
+ };
1109
+
1110
+ type ImageAuxiliaryJsonSchema = {
1111
+ DefaultImageName: string;
1112
+ ImageLogic: LogicExpressionsJsonSchema;
1113
+ };
1114
+ type LineAuxiliaryJsonSchema = {
1115
+ Line: LineJsonSchema;
1116
+ LineColorLogic: LogicExpressionsJsonSchema;
1117
+ };
1118
+ type LinkAuxiliaryJsonSchema = {
1119
+ DefaultImageName: string;
1120
+ MimicId: string;
1121
+ ImageLogic: LogicExpressionsJsonSchema;
1122
+ Design: string;
1123
+ ButtonColor: string;
1124
+ TextColor: string;
1125
+ TextHeight: number;
1126
+ ButtonTexts: LocalizedTextJsonSchema;
1127
+ };
1128
+ type PolylineAuxiliaryJsonSchema = {
1129
+ Lines: LineJsonSchema[];
1130
+ LineColorLogic: LogicExpressionsJsonSchema;
1131
+ };
1132
+ type SquareAuxiliaryJsonSchema = {
1133
+ Lines: LineJsonSchema[];
1134
+ ColorBorder: string;
1135
+ ColorFill: string;
1136
+ LineColorLogic: LogicExpressionsJsonSchema;
1137
+ };
1138
+ type TextAuxiliaryJsonSchema = {
1139
+ TextAttributes: TextAttributesJsonSchema;
1140
+ Text: LocalizedTextJsonSchema;
1141
+ };
1142
+
694
1143
  declare const AlarmPriorities: {
695
1144
  readonly CRITICAL: "Critical";
696
1145
  readonly ALARM: "Alarm";
@@ -782,6 +1231,26 @@ declare const EventCriticalities: {
782
1231
  };
783
1232
  type EventCriticality = (typeof EventCriticalities)[keyof typeof EventCriticalities];
784
1233
 
1234
+ declare const ChartTypes: {
1235
+ readonly VERTICAL_BAR: "VerticalBar";
1236
+ readonly LINES: "Lines";
1237
+ readonly CURVES: "Curves";
1238
+ readonly LINES_SOLID: "LinesSolid";
1239
+ readonly CURVES_SOLID: "CurvesSolid";
1240
+ };
1241
+ type ChartType = (typeof ChartTypes)[keyof typeof ChartTypes];
1242
+
1243
+ declare const ShipTypes: {
1244
+ readonly CARGO: "Cargo";
1245
+ readonly FISHING: "Fishing";
1246
+ readonly PASSENGER: "Passenger";
1247
+ readonly OCEANOGRAPHIC: "Oceanographic";
1248
+ readonly MILITARY: "Military";
1249
+ readonly LIFEBOAT: "Lifeboat";
1250
+ readonly TUG: "Tug";
1251
+ };
1252
+ type ShipType = (typeof ShipTypes)[keyof typeof ShipTypes];
1253
+
785
1254
  declare const UnitTypes: {
786
1255
  readonly AIM18: "Aim18";
787
1256
  readonly DIM36: "Dim36";
@@ -794,4 +1263,11 @@ declare const UnitTypes: {
794
1263
  };
795
1264
  type UnitType = (typeof UnitTypes)[keyof typeof UnitTypes];
796
1265
 
797
- export { type OrderStartStopRequestSchema as $, type AlarmIndicatorRequestSchema as A, type SliderRequestSchema as B, type CabinetDesign as C, type DamperRequestSchema as D, type TextChannelRequestSchema as E, type FanType as F, type ToggleRequestSchema as G, type CabinetRequestSchema as H, type InfoLocation as I, type RepeaterRequestSchema as J, type StationRequestSchema as K, type LedType as L, type MarkType as M, type UnitRequestSchema as N, type AutomaticSemiAutoRequestSchema as O, type PolylineAuxiliaryRequestSchema as P, type CommandsOpClRequestSchema as Q, type RepeaterDesign as R, type StationDesign as S, type TextAnchorPoint as T, type UnitDesign as U, type ValueType as V, type CommandsStartStopRequestSchema as W, type ControlLockRequestSchema as X, type FeedbackOpClRequestSchema as Y, type FeedbackRunningStoppedRequestSchema as Z, type OrderOpClRequestSchema as _, type TitleAlign as a, type MimicAlarmState as a$, type RemoteLocalRequestSchema as a0, type TripResetRequestSchema as a1, type BreakerRequestSchema as a2, type BreakerPmsRequestSchema as a3, type GeneratorRequestSchema as a4, type GeneratorPmsRequestSchema as a5, type OperationModesRequestSchema as a6, type PriorityDataRequestSchema as a7, type PrioritiesRequestSchema as a8, type ShaftRequestSchema as a9, type RepeaterResponseSchema as aA, type StationResponseSchema as aB, type UnitResponseSchema as aC, type BreakerResponseSchema as aD, type BreakerPmsResponseSchema as aE, type GeneratorResponseSchema as aF, type GeneratorPmsResponseSchema as aG, type OperationModesResponseSchema as aH, type PrioritiesResponseSchema as aI, type ShaftResponseSchema as aJ, type ActivationMode as aK, type AlarmPriority as aL, type AlarmState as aM, type AlarmType as aN, type AutoSemiAutoState as aO, type ChannelBaseType as aP, type ChannelSpecificType as aQ, type CloudAlarmState as aR, type DiamarAlarmState as aS, type DigitalAlarmState as aT, type DigitalState as aU, type EventCategory as aV, type EventCriticality as aW, type FanDirection as aX, type FanRunState as aY, type LineRequestSchema as aZ, type LinkDesign as a_, type ImageAuxiliaryResponseSchema as aa, type LineAuxiliaryResponseSchema as ab, type LinkAuxiliaryResponseSchema as ac, type PolylineAuxiliaryResponseSchema as ad, type SquareAuxiliaryResponseSchema as ae, type TextAuxiliaryResponseSchema as af, type CompressorResponseSchema as ag, type DamperResponseSchema as ah, type DamperAutomatedResponseSchema as ai, type FanResponseSchema as aj, type PumpResponseSchema as ak, type PumpAutomatedResponseSchema as al, type TankResponseSchema as am, type ValveResponseSchema as an, type ValveAutomatedResponseSchema as ao, type AlarmIndicatorResponseSchema as ap, type CommandResponseSchema as aq, type DialResponseSchema as ar, type DigitalResponseSchema as as, type DisplayResponseSchema as at, type DynamicTextResponseSchema as au, type LevelBarResponseSchema as av, type SliderResponseSchema as aw, type TextChannelResponseSchema as ax, type ToggleResponseSchema as ay, type CabinetResponseSchema as az, type LevelBarOrientation as b, type MimicControlState as b0, type MimicElementType as b1, type OpClState as b2, type OperationModeState as b3, type RemoteLocalState as b4, type RunningStoppedState as b5, type ScalePosition as b6, type UnitType as b7, type ZDepth as b8, UnitTypes as b9, AlarmPriorities as ba, DiamarAlarmStates as bb, CloudAlarmStates as bc, AlarmTypes as bd, EventCategories as be, EventCriticalities as bf, type SliderOrientation as c, type CompressorDesign as d, type FanDesign as e, type ValveDesign as f, type ImageAuxiliaryRequestSchema as g, type LineAuxiliaryRequestSchema as h, type LinkAuxiliaryRequestSchema as i, type SquareAuxiliaryRequestSchema as j, type TextAuxiliaryRequestSchema as k, type ChannelRequestSchema as l, type CompressorRequestSchema as m, type DamperAutomatedRequestSchema as n, type FanRequestSchema as o, type PumpRequestSchema as p, type PumpAutomatedRequestSchema as q, type TankRequestSchema as r, type ValveRequestSchema as s, type ValveAutomatedRequestSchema as t, type CommandRequestSchema as u, type DialRequestSchema as v, type DigitalRequestSchema as w, type DisplayRequestSchema as x, type DynamicTextRequestSchema as y, type LevelBarRequestSchema as z };
1266
+ declare const UserTypes: {
1267
+ readonly SEDNI_ADMIN: "sedni_admin";
1268
+ readonly FLEET_ADMIN: "fleet_admin";
1269
+ readonly USER: "user";
1270
+ };
1271
+ type UserType = (typeof UserTypes)[keyof typeof UserTypes];
1272
+
1273
+ export { type GeneratorPmsJsonSchema as $, type AlarmIndicatorJsonSchema as A, type BackgroundJsonSchema as B, type ChannelJsonSchema as C, type DamperJsonSchema as D, type TitleJsonSchema as E, type FanJsonSchema as F, type AutomaticSemiAutoJsonSchema as G, type CommandsOpClJsonSchema as H, type ImageAuxiliaryJsonSchema as I, type CommandsStartStopJsonSchema as J, type ControlLockJsonSchema as K, type LineAuxiliaryJsonSchema as L, type FeedbackOpClJsonSchema as M, type FeedbackRunningStoppedJsonSchema as N, type OrderOpClJsonSchema as O, type PolylineAuxiliaryJsonSchema as P, type OrderStartStopJsonSchema as Q, type RepeaterJsonSchema as R, type SquareAuxiliaryJsonSchema as S, type TextAuxiliaryJsonSchema as T, type UnitJsonSchema as U, type ValveJsonSchema as V, type RemoteLocalJsonSchema as W, type TripResetJsonSchema as X, type BreakerJsonSchema as Y, type BreakerPmsJsonSchema as Z, type GeneratorJsonSchema as _, type LinkAuxiliaryJsonSchema as a, type PumpAutomatedResponseSchema as a$, type OperationModesJsonSchema as a0, type PriorityDataJsonSchema as a1, type PrioritiesJsonSchema as a2, type ShaftJsonSchema as a3, type ImageAuxiliaryRequestSchema as a4, type LineAuxiliaryRequestSchema as a5, type LinkAuxiliaryRequestSchema as a6, type PolylineAuxiliaryRequestSchema as a7, type SquareAuxiliaryRequestSchema as a8, type TextAuxiliaryRequestSchema as a9, type CommandsStartStopRequestSchema as aA, type ControlLockRequestSchema as aB, type FeedbackOpClRequestSchema as aC, type FeedbackRunningStoppedRequestSchema as aD, type OrderOpClRequestSchema as aE, type OrderStartStopRequestSchema as aF, type RemoteLocalRequestSchema as aG, type TripResetRequestSchema as aH, type BreakerRequestSchema as aI, type BreakerPmsRequestSchema as aJ, type GeneratorRequestSchema as aK, type GeneratorPmsRequestSchema as aL, type OperationModesRequestSchema as aM, type PriorityDataRequestSchema as aN, type PrioritiesRequestSchema as aO, type ShaftRequestSchema as aP, type ImageAuxiliaryResponseSchema as aQ, type LineAuxiliaryResponseSchema as aR, type LinkAuxiliaryResponseSchema as aS, type PolylineAuxiliaryResponseSchema as aT, type SquareAuxiliaryResponseSchema as aU, type TextAuxiliaryResponseSchema as aV, type CompressorResponseSchema as aW, type DamperResponseSchema as aX, type DamperAutomatedResponseSchema as aY, type FanResponseSchema as aZ, type PumpResponseSchema as a_, type ChannelRequestSchema as aa, type CompressorRequestSchema as ab, type DamperRequestSchema as ac, type DamperAutomatedRequestSchema as ad, type FanRequestSchema as ae, type PumpRequestSchema as af, type PumpAutomatedRequestSchema as ag, type TankRequestSchema as ah, type ValveRequestSchema as ai, type ValveAutomatedRequestSchema as aj, type AlarmIndicatorRequestSchema as ak, type CommandRequestSchema as al, type DialRequestSchema as am, type DigitalRequestSchema as an, type DisplayRequestSchema as ao, type DynamicTextRequestSchema as ap, type LevelBarRequestSchema as aq, type SliderRequestSchema as ar, type TextChannelRequestSchema as as, type ToggleRequestSchema as at, type CabinetRequestSchema as au, type RepeaterRequestSchema as av, type StationRequestSchema as aw, type UnitRequestSchema as ax, type AutomaticSemiAutoRequestSchema as ay, type CommandsOpClRequestSchema as az, type CompressorJsonSchema as b, type TitleAlign as b$, type TankResponseSchema as b0, type ValveResponseSchema as b1, type ValveAutomatedResponseSchema as b2, type AlarmIndicatorResponseSchema as b3, type CommandResponseSchema as b4, type DialResponseSchema as b5, type DigitalResponseSchema as b6, type DisplayResponseSchema as b7, type DynamicTextResponseSchema as b8, type LevelBarResponseSchema as b9, type DigitalAlarmState as bA, type DigitalState as bB, type EventCategory as bC, type EventCriticality as bD, type FanDesign as bE, type FanDirection as bF, type FanRunState as bG, type FanType as bH, type InfoLocation as bI, type LedType as bJ, type LevelBarOrientation as bK, type LineRequestSchema as bL, type LinkDesign as bM, type MarkType as bN, type MimicAlarmState as bO, type MimicControlState as bP, type MimicElementType as bQ, type OpClState as bR, type OperationModeState as bS, type RemoteLocalState as bT, type RepeaterDesign as bU, type RunningStoppedState as bV, type ScalePosition as bW, type ShipType as bX, type SliderOrientation as bY, type StationDesign as bZ, type TextAnchorPoint as b_, type SliderResponseSchema as ba, type TextChannelResponseSchema as bb, type ToggleResponseSchema as bc, type CabinetResponseSchema as bd, type RepeaterResponseSchema as be, type StationResponseSchema as bf, type UnitResponseSchema as bg, type BreakerResponseSchema as bh, type BreakerPmsResponseSchema as bi, type GeneratorResponseSchema as bj, type GeneratorPmsResponseSchema as bk, type OperationModesResponseSchema as bl, type PrioritiesResponseSchema as bm, type ShaftResponseSchema as bn, type ActivationMode as bo, type AlarmPriority as bp, type AlarmState as bq, type AlarmType as br, type AutoSemiAutoState as bs, type CabinetDesign as bt, type ChannelBaseType as bu, type ChannelSpecificType as bv, type ChartType as bw, type CloudAlarmState as bx, type CompressorDesign as by, type DiamarAlarmState as bz, type DamperAutomatedJsonSchema as c, type UnitDesign as c0, type UnitType as c1, type UserType as c2, type ValueType as c3, type ValveDesign as c4, type ZDepth as c5, UnitTypes as c6, AlarmPriorities as c7, DiamarAlarmStates as c8, CloudAlarmStates as c9, AlarmTypes as ca, EventCategories as cb, EventCriticalities as cc, type PumpJsonSchema as d, type PumpAutomatedJsonSchema as e, type TankJsonSchema as f, type ValveAutomatedJsonSchema as g, type CommandJsonSchema as h, type DialJsonSchema as i, type DigitalJsonSchema as j, type DisplayJsonSchema as k, type DynamicTextJsonSchema as l, type LevelBarJsonSchema as m, type SliderJsonSchema as n, type TextChannelJsonSchema as o, type ToggleJsonSchema as p, type CabinetJsonSchema as q, type StationJsonSchema as r, type AddedAlarmsJsonSchema as s, type LineJsonSchema as t, type LocalizedTextJsonSchema as u, type LocationJsonSchema as v, type LogicExpressionJsonSchema as w, type LogicExpressionsJsonSchema as x, type ScaleJsonSchema as y, type TextAttributesJsonSchema as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sedni/cloud_common",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Common package for all types, resources and tools of Diamar Cloud",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1 @@
1
+ {"root":["./app/browser-index.ts","./app/index.ts","./app/models/Channel.ts","./app/models/ChannelDataBucket.ts","./app/models/ChannelDataPoint.ts","./app/models/Event.ts","./app/models/History.ts","./app/models/Unit.ts","./app/models/docs/index.ts","./app/models/mimics/AuxiliaryElements.ts","./app/models/mimics/ChannelMimic.ts","./app/models/mimics/ControlElements.ts","./app/models/mimics/Elements.ts","./app/models/mimics/IasElements.ts","./app/models/mimics/MimicSupport.ts","./app/models/mimics/MimicTraits.ts","./app/models/mimics/PmsElements.ts","./app/network/requests/mimics/AuxiliaryElements.ts","./app/network/requests/mimics/ChannelMimic.ts","./app/network/requests/mimics/ControlElements.ts","./app/network/requests/mimics/Elements.ts","./app/network/requests/mimics/IasElements.ts","./app/network/requests/mimics/MimicSupport.ts","./app/network/requests/mimics/MimicTraits.ts","./app/network/requests/mimics/PmsElements.ts","./app/network/responses/mimics/AuxiliaryElements.ts","./app/network/responses/mimics/ControlElements.ts","./app/network/responses/mimics/Elements.ts","./app/network/responses/mimics/IasElements.ts","./app/network/responses/mimics/PmsElements.ts","./app/types/alarm.types.ts","./app/types/channel.types.ts","./app/types/event.types.ts","./app/types/mimics.types.ts","./app/types/unit.types.ts"],"errors":true,"version":"5.9.3"}