camstreamerlib 4.0.7 → 4.0.8

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.
@@ -23,10 +23,10 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
23
23
  emergencyStatusMessage: z.ZodString;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  icao: string;
26
+ targetId: string;
26
27
  domain: "adsb" | "remoteId";
27
28
  lat: number;
28
29
  lon: number;
29
- targetId: string;
30
30
  categoryId: string;
31
31
  heading: number;
32
32
  groundSpeed: number;
@@ -45,10 +45,10 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
45
45
  groupId?: string | undefined;
46
46
  }, {
47
47
  icao: string;
48
+ targetId: string;
48
49
  domain: "adsb" | "remoteId";
49
50
  lat: number;
50
51
  lon: number;
51
- targetId: string;
52
52
  categoryId: string;
53
53
  heading: number;
54
54
  groundSpeed: number;
@@ -88,8 +88,9 @@ declare const wsCameraPositionDataSchema: z.ZodObject<{
88
88
  declare const apiUserSchema: z.ZodObject<{
89
89
  userId: z.ZodString;
90
90
  userName: z.ZodString;
91
- userPriority: z.ZodNumber;
91
+ } & {
92
92
  ip: z.ZodString;
93
+ userPriority: z.ZodNumber;
93
94
  }, "strip", z.ZodTypeAny, {
94
95
  ip: string;
95
96
  userId: string;
@@ -115,7 +116,173 @@ export declare enum EUserActions {
115
116
  LOCK_API = "lockApi.cgi",
116
117
  UNLOCK_API = "unlockApi.cgi"
117
118
  }
118
- export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObject<{
119
+ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
120
+ type: z.ZodLiteral<"CAMERA_POSITION">;
121
+ } & {
122
+ lat: z.ZodNumber;
123
+ lon: z.ZodNumber;
124
+ azimuth: z.ZodNumber;
125
+ elevation: z.ZodNumber;
126
+ fov: z.ZodNumber;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: "CAMERA_POSITION";
129
+ lat: number;
130
+ lon: number;
131
+ azimuth: number;
132
+ elevation: number;
133
+ fov: number;
134
+ }, {
135
+ type: "CAMERA_POSITION";
136
+ lat: number;
137
+ lon: number;
138
+ azimuth: number;
139
+ elevation: number;
140
+ fov: number;
141
+ }>, z.ZodObject<{
142
+ type: z.ZodLiteral<"TRACKING_START">;
143
+ icao: z.ZodString;
144
+ targetId: z.ZodString;
145
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
146
+ categoryId: z.ZodString;
147
+ }, "strip", z.ZodTypeAny, {
148
+ type: "TRACKING_START";
149
+ icao: string;
150
+ targetId: string;
151
+ domain: "adsb" | "remoteId";
152
+ categoryId: string;
153
+ }, {
154
+ type: "TRACKING_START";
155
+ icao: string;
156
+ targetId: string;
157
+ domain: "adsb" | "remoteId";
158
+ categoryId: string;
159
+ }>, z.ZodObject<{
160
+ type: z.ZodLiteral<"TRACKING_STOP">;
161
+ }, "strip", z.ZodTypeAny, {
162
+ type: "TRACKING_STOP";
163
+ }, {
164
+ type: "TRACKING_STOP";
165
+ }>, z.ZodObject<{
166
+ type: z.ZodLiteral<"FLIGHT_LIST">;
167
+ list: z.ZodArray<z.ZodObject<{
168
+ targetId: z.ZodString;
169
+ icao: z.ZodString;
170
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
171
+ categoryId: z.ZodString;
172
+ groupId: z.ZodOptional<z.ZodString>;
173
+ lat: z.ZodNumber;
174
+ lon: z.ZodNumber;
175
+ heading: z.ZodNumber;
176
+ groundSpeed: z.ZodNumber;
177
+ altitudeAMSL: z.ZodNumber;
178
+ cameraDistance: z.ZodNumber;
179
+ autoTrackingOrder: z.ZodNumber;
180
+ whiteListed: z.ZodBoolean;
181
+ blackListed: z.ZodBoolean;
182
+ priorityListed: z.ZodBoolean;
183
+ autoSelectionIgnored: z.ZodBoolean;
184
+ signalQuality: z.ZodNumber;
185
+ emitterCategorySet: z.ZodDefault<z.ZodNumber>;
186
+ emitterCategory: z.ZodDefault<z.ZodNumber>;
187
+ emergencyState: z.ZodBoolean;
188
+ emergencyStatusMessage: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ icao: string;
191
+ targetId: string;
192
+ domain: "adsb" | "remoteId";
193
+ lat: number;
194
+ lon: number;
195
+ categoryId: string;
196
+ heading: number;
197
+ groundSpeed: number;
198
+ altitudeAMSL: number;
199
+ cameraDistance: number;
200
+ autoTrackingOrder: number;
201
+ whiteListed: boolean;
202
+ blackListed: boolean;
203
+ priorityListed: boolean;
204
+ autoSelectionIgnored: boolean;
205
+ signalQuality: number;
206
+ emitterCategorySet: number;
207
+ emitterCategory: number;
208
+ emergencyState: boolean;
209
+ emergencyStatusMessage: string;
210
+ groupId?: string | undefined;
211
+ }, {
212
+ icao: string;
213
+ targetId: string;
214
+ domain: "adsb" | "remoteId";
215
+ lat: number;
216
+ lon: number;
217
+ categoryId: string;
218
+ heading: number;
219
+ groundSpeed: number;
220
+ altitudeAMSL: number;
221
+ cameraDistance: number;
222
+ autoTrackingOrder: number;
223
+ whiteListed: boolean;
224
+ blackListed: boolean;
225
+ priorityListed: boolean;
226
+ autoSelectionIgnored: boolean;
227
+ signalQuality: number;
228
+ emergencyState: boolean;
229
+ emergencyStatusMessage: string;
230
+ groupId?: string | undefined;
231
+ emitterCategorySet?: number | undefined;
232
+ emitterCategory?: number | undefined;
233
+ }>, "many">;
234
+ }, "strip", z.ZodTypeAny, {
235
+ type: "FLIGHT_LIST";
236
+ list: {
237
+ icao: string;
238
+ targetId: string;
239
+ domain: "adsb" | "remoteId";
240
+ lat: number;
241
+ lon: number;
242
+ categoryId: string;
243
+ heading: number;
244
+ groundSpeed: number;
245
+ altitudeAMSL: number;
246
+ cameraDistance: number;
247
+ autoTrackingOrder: number;
248
+ whiteListed: boolean;
249
+ blackListed: boolean;
250
+ priorityListed: boolean;
251
+ autoSelectionIgnored: boolean;
252
+ signalQuality: number;
253
+ emitterCategorySet: number;
254
+ emitterCategory: number;
255
+ emergencyState: boolean;
256
+ emergencyStatusMessage: string;
257
+ groupId?: string | undefined;
258
+ }[];
259
+ }, {
260
+ type: "FLIGHT_LIST";
261
+ list: {
262
+ icao: string;
263
+ targetId: string;
264
+ domain: "adsb" | "remoteId";
265
+ lat: number;
266
+ lon: number;
267
+ categoryId: string;
268
+ heading: number;
269
+ groundSpeed: number;
270
+ altitudeAMSL: number;
271
+ cameraDistance: number;
272
+ autoTrackingOrder: number;
273
+ whiteListed: boolean;
274
+ blackListed: boolean;
275
+ priorityListed: boolean;
276
+ autoSelectionIgnored: boolean;
277
+ signalQuality: number;
278
+ emergencyState: boolean;
279
+ emergencyStatusMessage: string;
280
+ groupId?: string | undefined;
281
+ emitterCategorySet?: number | undefined;
282
+ emitterCategory?: number | undefined;
283
+ }[];
284
+ }>, z.ZodObject<{
285
+ type: z.ZodLiteral<"USER_ACTION">;
119
286
  cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
120
287
  ip: z.ZodString;
121
288
  params: z.ZodObject<{
@@ -135,6 +302,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
135
302
  userName: string;
136
303
  userPriority: string;
137
304
  }>;
305
+ postJsonBody: z.ZodAny;
138
306
  }, "strip", z.ZodTypeAny, {
139
307
  params: {
140
308
  icao: string;
@@ -142,8 +310,10 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
142
310
  userName: string;
143
311
  userPriority: string;
144
312
  };
313
+ type: "USER_ACTION";
145
314
  ip: string;
146
315
  cgi: EUserActions.TRACK_ICAO;
316
+ postJsonBody?: any;
147
317
  }, {
148
318
  params: {
149
319
  icao: string;
@@ -151,9 +321,12 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
151
321
  userName: string;
152
322
  userPriority: string;
153
323
  };
324
+ type: "USER_ACTION";
154
325
  ip: string;
155
326
  cgi: EUserActions.TRACK_ICAO;
327
+ postJsonBody?: any;
156
328
  }>, z.ZodObject<{
329
+ type: z.ZodLiteral<"USER_ACTION">;
157
330
  cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
158
331
  ip: z.ZodString;
159
332
  params: z.ZodObject<{
@@ -169,23 +342,29 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
169
342
  userName: string;
170
343
  userPriority: string;
171
344
  }>;
345
+ postJsonBody: z.ZodAny;
172
346
  }, "strip", z.ZodTypeAny, {
173
347
  params: {
174
348
  userId: string;
175
349
  userName: string;
176
350
  userPriority: string;
177
351
  };
352
+ type: "USER_ACTION";
178
353
  ip: string;
179
354
  cgi: EUserActions.RESET_ICAO;
355
+ postJsonBody?: any;
180
356
  }, {
181
357
  params: {
182
358
  userId: string;
183
359
  userName: string;
184
360
  userPriority: string;
185
361
  };
362
+ type: "USER_ACTION";
186
363
  ip: string;
187
364
  cgi: EUserActions.RESET_ICAO;
365
+ postJsonBody?: any;
188
366
  }>, z.ZodObject<{
367
+ type: z.ZodLiteral<"USER_ACTION">;
189
368
  cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
190
369
  ip: z.ZodString;
191
370
  params: z.ZodObject<{
@@ -240,6 +419,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
240
419
  userName: string;
241
420
  userPriority: string;
242
421
  };
422
+ type: "USER_ACTION";
243
423
  ip: string;
244
424
  cgi: EUserActions.SET_PRIORITY_LIST;
245
425
  postJsonBody: {
@@ -256,6 +436,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
256
436
  userName: string;
257
437
  userPriority: string;
258
438
  };
439
+ type: "USER_ACTION";
259
440
  ip: string;
260
441
  cgi: EUserActions.SET_PRIORITY_LIST;
261
442
  postJsonBody: {
@@ -267,6 +448,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
267
448
  }[] | undefined;
268
449
  };
269
450
  }>, z.ZodObject<{
451
+ type: z.ZodLiteral<"USER_ACTION">;
270
452
  cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
271
453
  ip: z.ZodString;
272
454
  params: z.ZodObject<{
@@ -315,6 +497,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
315
497
  userName: string;
316
498
  userPriority: string;
317
499
  };
500
+ type: "USER_ACTION";
318
501
  ip: string;
319
502
  cgi: EUserActions.SET_BLACK_LIST;
320
503
  postJsonBody: {
@@ -330,6 +513,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
330
513
  userName: string;
331
514
  userPriority: string;
332
515
  };
516
+ type: "USER_ACTION";
333
517
  ip: string;
334
518
  cgi: EUserActions.SET_BLACK_LIST;
335
519
  postJsonBody: {
@@ -340,6 +524,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
340
524
  }[] | undefined;
341
525
  };
342
526
  }>, z.ZodObject<{
527
+ type: z.ZodLiteral<"USER_ACTION">;
343
528
  cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
344
529
  ip: z.ZodString;
345
530
  params: z.ZodObject<{
@@ -388,6 +573,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
388
573
  userName: string;
389
574
  userPriority: string;
390
575
  };
576
+ type: "USER_ACTION";
391
577
  ip: string;
392
578
  cgi: EUserActions.SET_WHITE_LIST;
393
579
  postJsonBody: {
@@ -403,6 +589,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
403
589
  userName: string;
404
590
  userPriority: string;
405
591
  };
592
+ type: "USER_ACTION";
406
593
  ip: string;
407
594
  cgi: EUserActions.SET_WHITE_LIST;
408
595
  postJsonBody: {
@@ -413,6 +600,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
413
600
  }[] | undefined;
414
601
  };
415
602
  }>, z.ZodObject<{
603
+ type: z.ZodLiteral<"USER_ACTION">;
416
604
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
417
605
  ip: z.ZodString;
418
606
  params: z.ZodObject<{
@@ -435,6 +623,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
435
623
  userName: string;
436
624
  userPriority: string;
437
625
  }>;
626
+ postJsonBody: z.ZodAny;
438
627
  }, "strip", z.ZodTypeAny, {
439
628
  params: {
440
629
  lat: string;
@@ -443,8 +632,10 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
443
632
  userName: string;
444
633
  userPriority: string;
445
634
  };
635
+ type: "USER_ACTION";
446
636
  ip: string;
447
637
  cgi: EUserActions.GO_TO_COORDINATES;
638
+ postJsonBody?: any;
448
639
  }, {
449
640
  params: {
450
641
  lat: string;
@@ -453,9 +644,12 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
453
644
  userName: string;
454
645
  userPriority: string;
455
646
  };
647
+ type: "USER_ACTION";
456
648
  ip: string;
457
649
  cgi: EUserActions.GO_TO_COORDINATES;
650
+ postJsonBody?: any;
458
651
  }>, z.ZodObject<{
652
+ type: z.ZodLiteral<"USER_ACTION">;
459
653
  cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
460
654
  ip: z.ZodString;
461
655
  params: z.ZodObject<{
@@ -484,6 +678,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
484
678
  userName: string;
485
679
  userPriority: string;
486
680
  };
681
+ type: "USER_ACTION";
487
682
  ip: string;
488
683
  cgi: EUserActions.SET_TRACKING_MODE;
489
684
  postJsonBody: {
@@ -495,12 +690,14 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
495
690
  userName: string;
496
691
  userPriority: string;
497
692
  };
693
+ type: "USER_ACTION";
498
694
  ip: string;
499
695
  cgi: EUserActions.SET_TRACKING_MODE;
500
696
  postJsonBody: {
501
697
  mode?: "MANUAL" | "AUTOMATIC" | undefined;
502
698
  };
503
699
  }>, z.ZodObject<{
700
+ type: z.ZodLiteral<"USER_ACTION">;
504
701
  cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
505
702
  ip: z.ZodString;
506
703
  params: z.ZodObject<{
@@ -612,6 +809,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
612
809
  userName: string;
613
810
  userPriority: string;
614
811
  };
812
+ type: "USER_ACTION";
615
813
  ip: string;
616
814
  cgi: EUserActions.SET_ZONES;
617
815
  postJsonBody: {
@@ -639,6 +837,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
639
837
  userName: string;
640
838
  userPriority: string;
641
839
  };
840
+ type: "USER_ACTION";
642
841
  ip: string;
643
842
  cgi: EUserActions.SET_ZONES;
644
843
  postJsonBody: {
@@ -661,6 +860,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
661
860
  }[] | undefined;
662
861
  };
663
862
  }>, z.ZodObject<{
863
+ type: z.ZodLiteral<"USER_ACTION">;
664
864
  cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
665
865
  ip: z.ZodString;
666
866
  params: z.ZodObject<{
@@ -676,23 +876,29 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
676
876
  userName: string;
677
877
  userPriority: string;
678
878
  }>;
879
+ postJsonBody: z.ZodAny;
679
880
  }, "strip", z.ZodTypeAny, {
680
881
  params: {
681
882
  userId: string;
682
883
  userName: string;
683
884
  userPriority: string;
684
885
  };
886
+ type: "USER_ACTION";
685
887
  ip: string;
686
888
  cgi: EUserActions.RESET_PTZ_CALIBRATION;
889
+ postJsonBody?: any;
687
890
  }, {
688
891
  params: {
689
892
  userId: string;
690
893
  userName: string;
691
894
  userPriority: string;
692
895
  };
896
+ type: "USER_ACTION";
693
897
  ip: string;
694
898
  cgi: EUserActions.RESET_PTZ_CALIBRATION;
899
+ postJsonBody?: any;
695
900
  }>, z.ZodObject<{
901
+ type: z.ZodLiteral<"USER_ACTION">;
696
902
  cgi: z.ZodLiteral<EUserActions.LOCK_API>;
697
903
  ip: z.ZodString;
698
904
  params: z.ZodObject<{
@@ -712,6 +918,7 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
712
918
  userName: string;
713
919
  userPriority: string;
714
920
  }>;
921
+ postJsonBody: z.ZodAny;
715
922
  }, "strip", z.ZodTypeAny, {
716
923
  params: {
717
924
  timeout: string;
@@ -719,8 +926,10 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
719
926
  userName: string;
720
927
  userPriority: string;
721
928
  };
929
+ type: "USER_ACTION";
722
930
  ip: string;
723
931
  cgi: EUserActions.LOCK_API;
932
+ postJsonBody?: any;
724
933
  }, {
725
934
  params: {
726
935
  timeout: string;
@@ -728,9 +937,12 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
728
937
  userName: string;
729
938
  userPriority: string;
730
939
  };
940
+ type: "USER_ACTION";
731
941
  ip: string;
732
942
  cgi: EUserActions.LOCK_API;
943
+ postJsonBody?: any;
733
944
  }>, z.ZodObject<{
945
+ type: z.ZodLiteral<"USER_ACTION">;
734
946
  cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
735
947
  ip: z.ZodString;
736
948
  params: z.ZodObject<{
@@ -746,241 +958,35 @@ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObje
746
958
  userName: string;
747
959
  userPriority: string;
748
960
  }>;
961
+ postJsonBody: z.ZodAny;
749
962
  }, "strip", z.ZodTypeAny, {
750
963
  params: {
751
964
  userId: string;
752
965
  userName: string;
753
966
  userPriority: string;
754
967
  };
968
+ type: "USER_ACTION";
755
969
  ip: string;
756
970
  cgi: EUserActions.UNLOCK_API;
971
+ postJsonBody?: any;
757
972
  }, {
758
973
  params: {
759
974
  userId: string;
760
975
  userName: string;
761
976
  userPriority: string;
762
977
  };
978
+ type: "USER_ACTION";
763
979
  ip: string;
764
980
  cgi: EUserActions.UNLOCK_API;
765
- }>]>;
766
- export type TWsUserActionData = z.infer<typeof wsUserActionData>;
767
- declare const eventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
768
- type: z.ZodLiteral<"CAMERA_POSITION">;
769
- } & {
770
- lat: z.ZodNumber;
771
- lon: z.ZodNumber;
772
- azimuth: z.ZodNumber;
773
- elevation: z.ZodNumber;
774
- fov: z.ZodNumber;
775
- }, "strip", z.ZodTypeAny, {
776
- type: "CAMERA_POSITION";
777
- lat: number;
778
- lon: number;
779
- azimuth: number;
780
- elevation: number;
781
- fov: number;
782
- }, {
783
- type: "CAMERA_POSITION";
784
- lat: number;
785
- lon: number;
786
- azimuth: number;
787
- elevation: number;
788
- fov: number;
789
- }>, z.ZodObject<{
790
- type: z.ZodLiteral<"TRACKING_START">;
791
- icao: z.ZodString;
792
- }, "strip", z.ZodTypeAny, {
793
- type: "TRACKING_START";
794
- icao: string;
795
- }, {
796
- type: "TRACKING_START";
797
- icao: string;
798
- }>, z.ZodObject<{
799
- type: z.ZodLiteral<"TRACKING_STOP">;
800
- }, "strip", z.ZodTypeAny, {
801
- type: "TRACKING_STOP";
802
- }, {
803
- type: "TRACKING_STOP";
804
- }>, z.ZodObject<{
805
- type: z.ZodLiteral<"FLIGHT_LIST">;
806
- list: z.ZodArray<z.ZodObject<{
807
- targetId: z.ZodString;
808
- icao: z.ZodString;
809
- domain: z.ZodEnum<["adsb", "remoteId"]>;
810
- categoryId: z.ZodString;
811
- groupId: z.ZodOptional<z.ZodString>;
812
- lat: z.ZodNumber;
813
- lon: z.ZodNumber;
814
- heading: z.ZodNumber;
815
- groundSpeed: z.ZodNumber;
816
- altitudeAMSL: z.ZodNumber;
817
- cameraDistance: z.ZodNumber;
818
- autoTrackingOrder: z.ZodNumber;
819
- whiteListed: z.ZodBoolean;
820
- blackListed: z.ZodBoolean;
821
- priorityListed: z.ZodBoolean;
822
- autoSelectionIgnored: z.ZodBoolean;
823
- signalQuality: z.ZodNumber;
824
- emitterCategorySet: z.ZodDefault<z.ZodNumber>;
825
- emitterCategory: z.ZodDefault<z.ZodNumber>;
826
- emergencyState: z.ZodBoolean;
827
- emergencyStatusMessage: z.ZodString;
828
- }, "strip", z.ZodTypeAny, {
829
- icao: string;
830
- domain: "adsb" | "remoteId";
831
- lat: number;
832
- lon: number;
833
- targetId: string;
834
- categoryId: string;
835
- heading: number;
836
- groundSpeed: number;
837
- altitudeAMSL: number;
838
- cameraDistance: number;
839
- autoTrackingOrder: number;
840
- whiteListed: boolean;
841
- blackListed: boolean;
842
- priorityListed: boolean;
843
- autoSelectionIgnored: boolean;
844
- signalQuality: number;
845
- emitterCategorySet: number;
846
- emitterCategory: number;
847
- emergencyState: boolean;
848
- emergencyStatusMessage: string;
849
- groupId?: string | undefined;
850
- }, {
851
- icao: string;
852
- domain: "adsb" | "remoteId";
853
- lat: number;
854
- lon: number;
855
- targetId: string;
856
- categoryId: string;
857
- heading: number;
858
- groundSpeed: number;
859
- altitudeAMSL: number;
860
- cameraDistance: number;
861
- autoTrackingOrder: number;
862
- whiteListed: boolean;
863
- blackListed: boolean;
864
- priorityListed: boolean;
865
- autoSelectionIgnored: boolean;
866
- signalQuality: number;
867
- emergencyState: boolean;
868
- emergencyStatusMessage: string;
869
- groupId?: string | undefined;
870
- emitterCategorySet?: number | undefined;
871
- emitterCategory?: number | undefined;
872
- }>, "many">;
873
- }, "strip", z.ZodTypeAny, {
874
- type: "FLIGHT_LIST";
875
- list: {
876
- icao: string;
877
- domain: "adsb" | "remoteId";
878
- lat: number;
879
- lon: number;
880
- targetId: string;
881
- categoryId: string;
882
- heading: number;
883
- groundSpeed: number;
884
- altitudeAMSL: number;
885
- cameraDistance: number;
886
- autoTrackingOrder: number;
887
- whiteListed: boolean;
888
- blackListed: boolean;
889
- priorityListed: boolean;
890
- autoSelectionIgnored: boolean;
891
- signalQuality: number;
892
- emitterCategorySet: number;
893
- emitterCategory: number;
894
- emergencyState: boolean;
895
- emergencyStatusMessage: string;
896
- groupId?: string | undefined;
897
- }[];
898
- }, {
899
- type: "FLIGHT_LIST";
900
- list: {
901
- icao: string;
902
- domain: "adsb" | "remoteId";
903
- lat: number;
904
- lon: number;
905
- targetId: string;
906
- categoryId: string;
907
- heading: number;
908
- groundSpeed: number;
909
- altitudeAMSL: number;
910
- cameraDistance: number;
911
- autoTrackingOrder: number;
912
- whiteListed: boolean;
913
- blackListed: boolean;
914
- priorityListed: boolean;
915
- autoSelectionIgnored: boolean;
916
- signalQuality: number;
917
- emergencyState: boolean;
918
- emergencyStatusMessage: string;
919
- groupId?: string | undefined;
920
- emitterCategorySet?: number | undefined;
921
- emitterCategory?: number | undefined;
922
- }[];
923
- }>, z.ZodObject<{
924
- type: z.ZodLiteral<"USER_ACTION">;
925
- ip: z.ZodString;
926
- params: z.ZodObject<{
927
- userId: z.ZodString;
928
- userName: z.ZodString;
929
- userPriority: z.ZodString;
930
- } & {
931
- lat: z.ZodOptional<z.ZodString>;
932
- lon: z.ZodOptional<z.ZodString>;
933
- timeout: z.ZodOptional<z.ZodString>;
934
- }, "strip", z.ZodTypeAny, {
935
- userId: string;
936
- userName: string;
937
- userPriority: string;
938
- timeout?: string | undefined;
939
- lat?: string | undefined;
940
- lon?: string | undefined;
941
- }, {
942
- userId: string;
943
- userName: string;
944
- userPriority: string;
945
- timeout?: string | undefined;
946
- lat?: string | undefined;
947
- lon?: string | undefined;
948
- }>;
949
- cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
950
- postJsonBody: z.ZodAny;
951
- }, "strip", z.ZodTypeAny, {
952
- params: {
953
- userId: string;
954
- userName: string;
955
- userPriority: string;
956
- timeout?: string | undefined;
957
- lat?: string | undefined;
958
- lon?: string | undefined;
959
- };
960
- type: "USER_ACTION";
961
- ip: string;
962
- cgi: EUserActions;
963
- postJsonBody?: any;
964
- }, {
965
- params: {
966
- userId: string;
967
- userName: string;
968
- userPriority: string;
969
- timeout?: string | undefined;
970
- lat?: string | undefined;
971
- lon?: string | undefined;
972
- };
973
- type: "USER_ACTION";
974
- ip: string;
975
- cgi: EUserActions;
976
- postJsonBody?: any;
981
+ postJsonBody?: any;
977
982
  }>, z.ZodObject<{
978
983
  type: z.ZodLiteral<"CONNECTED_USERS">;
979
984
  users: z.ZodArray<z.ZodObject<{
980
985
  userId: z.ZodString;
981
986
  userName: z.ZodString;
982
- userPriority: z.ZodNumber;
987
+ } & {
983
988
  ip: z.ZodString;
989
+ userPriority: z.ZodNumber;
984
990
  }, "strip", z.ZodTypeAny, {
985
991
  ip: string;
986
992
  userId: string;
@@ -1012,22 +1018,26 @@ declare const eventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1012
1018
  type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
1013
1019
  enabled: z.ZodBoolean;
1014
1020
  icao: z.ZodOptional<z.ZodString>;
1021
+ targetId: z.ZodOptional<z.ZodString>;
1015
1022
  }, "strip", z.ZodTypeAny, {
1016
1023
  type: "FORCE_TRACKING_STATUS";
1017
1024
  enabled: boolean;
1018
1025
  icao?: string | undefined;
1026
+ targetId?: string | undefined;
1019
1027
  }, {
1020
1028
  type: "FORCE_TRACKING_STATUS";
1021
1029
  enabled: boolean;
1022
1030
  icao?: string | undefined;
1031
+ targetId?: string | undefined;
1023
1032
  }>, z.ZodObject<{
1024
1033
  type: z.ZodLiteral<"API_LOCK_STATUS">;
1025
1034
  isLocked: z.ZodBoolean;
1026
1035
  user: z.ZodOptional<z.ZodObject<{
1027
1036
  userId: z.ZodString;
1028
1037
  userName: z.ZodString;
1029
- userPriority: z.ZodNumber;
1038
+ } & {
1030
1039
  ip: z.ZodString;
1040
+ userPriority: z.ZodNumber;
1031
1041
  }, "strip", z.ZodTypeAny, {
1032
1042
  ip: string;
1033
1043
  userId: string;
@@ -1058,9 +1068,9 @@ declare const eventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1058
1068
  userPriority: number;
1059
1069
  } | undefined;
1060
1070
  }>]>;
1061
- export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1071
+ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1062
1072
  type: z.ZodLiteral<"init">;
1063
- data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1073
+ data: z.ZodUnion<readonly [z.ZodObject<{
1064
1074
  type: z.ZodLiteral<"CAMERA_POSITION">;
1065
1075
  } & {
1066
1076
  lat: z.ZodNumber;
@@ -1085,12 +1095,21 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1085
1095
  }>, z.ZodObject<{
1086
1096
  type: z.ZodLiteral<"TRACKING_START">;
1087
1097
  icao: z.ZodString;
1098
+ targetId: z.ZodString;
1099
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1100
+ categoryId: z.ZodString;
1088
1101
  }, "strip", z.ZodTypeAny, {
1089
1102
  type: "TRACKING_START";
1090
1103
  icao: string;
1104
+ targetId: string;
1105
+ domain: "adsb" | "remoteId";
1106
+ categoryId: string;
1091
1107
  }, {
1092
1108
  type: "TRACKING_START";
1093
1109
  icao: string;
1110
+ targetId: string;
1111
+ domain: "adsb" | "remoteId";
1112
+ categoryId: string;
1094
1113
  }>, z.ZodObject<{
1095
1114
  type: z.ZodLiteral<"TRACKING_STOP">;
1096
1115
  }, "strip", z.ZodTypeAny, {
@@ -1123,10 +1142,10 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1123
1142
  emergencyStatusMessage: z.ZodString;
1124
1143
  }, "strip", z.ZodTypeAny, {
1125
1144
  icao: string;
1145
+ targetId: string;
1126
1146
  domain: "adsb" | "remoteId";
1127
1147
  lat: number;
1128
1148
  lon: number;
1129
- targetId: string;
1130
1149
  categoryId: string;
1131
1150
  heading: number;
1132
1151
  groundSpeed: number;
@@ -1145,10 +1164,10 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1145
1164
  groupId?: string | undefined;
1146
1165
  }, {
1147
1166
  icao: string;
1167
+ targetId: string;
1148
1168
  domain: "adsb" | "remoteId";
1149
1169
  lat: number;
1150
1170
  lon: number;
1151
- targetId: string;
1152
1171
  categoryId: string;
1153
1172
  heading: number;
1154
1173
  groundSpeed: number;
@@ -1170,10 +1189,10 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1170
1189
  type: "FLIGHT_LIST";
1171
1190
  list: {
1172
1191
  icao: string;
1192
+ targetId: string;
1173
1193
  domain: "adsb" | "remoteId";
1174
1194
  lat: number;
1175
1195
  lon: number;
1176
- targetId: string;
1177
1196
  categoryId: string;
1178
1197
  heading: number;
1179
1198
  groundSpeed: number;
@@ -1195,10 +1214,10 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1195
1214
  type: "FLIGHT_LIST";
1196
1215
  list: {
1197
1216
  icao: string;
1217
+ targetId: string;
1198
1218
  domain: "adsb" | "remoteId";
1199
1219
  lat: number;
1200
1220
  lon: number;
1201
- targetId: string;
1202
1221
  categoryId: string;
1203
1222
  heading: number;
1204
1223
  groundSpeed: number;
@@ -1218,507 +1237,2098 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1218
1237
  }[];
1219
1238
  }>, z.ZodObject<{
1220
1239
  type: z.ZodLiteral<"USER_ACTION">;
1240
+ cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
1221
1241
  ip: z.ZodString;
1222
1242
  params: z.ZodObject<{
1223
1243
  userId: z.ZodString;
1224
1244
  userName: z.ZodString;
1225
1245
  userPriority: z.ZodString;
1226
1246
  } & {
1227
- lat: z.ZodOptional<z.ZodString>;
1228
- lon: z.ZodOptional<z.ZodString>;
1229
- timeout: z.ZodOptional<z.ZodString>;
1247
+ icao: z.ZodString;
1230
1248
  }, "strip", z.ZodTypeAny, {
1249
+ icao: string;
1231
1250
  userId: string;
1232
1251
  userName: string;
1233
1252
  userPriority: string;
1234
- timeout?: string | undefined;
1235
- lat?: string | undefined;
1236
- lon?: string | undefined;
1237
1253
  }, {
1254
+ icao: string;
1238
1255
  userId: string;
1239
1256
  userName: string;
1240
1257
  userPriority: string;
1241
- timeout?: string | undefined;
1242
- lat?: string | undefined;
1243
- lon?: string | undefined;
1244
1258
  }>;
1245
- cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
1246
1259
  postJsonBody: z.ZodAny;
1247
1260
  }, "strip", z.ZodTypeAny, {
1248
1261
  params: {
1262
+ icao: string;
1249
1263
  userId: string;
1250
1264
  userName: string;
1251
1265
  userPriority: string;
1252
- timeout?: string | undefined;
1253
- lat?: string | undefined;
1254
- lon?: string | undefined;
1255
1266
  };
1256
1267
  type: "USER_ACTION";
1257
1268
  ip: string;
1258
- cgi: EUserActions;
1269
+ cgi: EUserActions.TRACK_ICAO;
1259
1270
  postJsonBody?: any;
1260
1271
  }, {
1261
1272
  params: {
1273
+ icao: string;
1262
1274
  userId: string;
1263
1275
  userName: string;
1264
1276
  userPriority: string;
1265
- timeout?: string | undefined;
1266
- lat?: string | undefined;
1267
- lon?: string | undefined;
1268
1277
  };
1269
1278
  type: "USER_ACTION";
1270
1279
  ip: string;
1271
- cgi: EUserActions;
1280
+ cgi: EUserActions.TRACK_ICAO;
1272
1281
  postJsonBody?: any;
1273
1282
  }>, z.ZodObject<{
1274
- type: z.ZodLiteral<"CONNECTED_USERS">;
1275
- users: z.ZodArray<z.ZodObject<{
1283
+ type: z.ZodLiteral<"USER_ACTION">;
1284
+ cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
1285
+ ip: z.ZodString;
1286
+ params: z.ZodObject<{
1276
1287
  userId: z.ZodString;
1277
1288
  userName: z.ZodString;
1278
- userPriority: z.ZodNumber;
1279
- ip: z.ZodString;
1289
+ userPriority: z.ZodString;
1280
1290
  }, "strip", z.ZodTypeAny, {
1281
- ip: string;
1282
1291
  userId: string;
1283
1292
  userName: string;
1284
- userPriority: number;
1293
+ userPriority: string;
1285
1294
  }, {
1286
- ip: string;
1287
1295
  userId: string;
1288
1296
  userName: string;
1289
- userPriority: number;
1290
- }>, "many">;
1297
+ userPriority: string;
1298
+ }>;
1299
+ postJsonBody: z.ZodAny;
1291
1300
  }, "strip", z.ZodTypeAny, {
1292
- type: "CONNECTED_USERS";
1293
- users: {
1294
- ip: string;
1301
+ params: {
1295
1302
  userId: string;
1296
1303
  userName: string;
1297
- userPriority: number;
1298
- }[];
1304
+ userPriority: string;
1305
+ };
1306
+ type: "USER_ACTION";
1307
+ ip: string;
1308
+ cgi: EUserActions.RESET_ICAO;
1309
+ postJsonBody?: any;
1299
1310
  }, {
1300
- type: "CONNECTED_USERS";
1301
- users: {
1302
- ip: string;
1311
+ params: {
1303
1312
  userId: string;
1304
1313
  userName: string;
1305
- userPriority: number;
1306
- }[];
1307
- }>, z.ZodObject<{
1308
- type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
1309
- enabled: z.ZodBoolean;
1310
- icao: z.ZodOptional<z.ZodString>;
1311
- }, "strip", z.ZodTypeAny, {
1312
- type: "FORCE_TRACKING_STATUS";
1313
- enabled: boolean;
1314
- icao?: string | undefined;
1315
- }, {
1316
- type: "FORCE_TRACKING_STATUS";
1317
- enabled: boolean;
1318
- icao?: string | undefined;
1314
+ userPriority: string;
1315
+ };
1316
+ type: "USER_ACTION";
1317
+ ip: string;
1318
+ cgi: EUserActions.RESET_ICAO;
1319
+ postJsonBody?: any;
1319
1320
  }>, z.ZodObject<{
1320
- type: z.ZodLiteral<"API_LOCK_STATUS">;
1321
- isLocked: z.ZodBoolean;
1322
- user: z.ZodOptional<z.ZodObject<{
1321
+ type: z.ZodLiteral<"USER_ACTION">;
1322
+ cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
1323
+ ip: z.ZodString;
1324
+ params: z.ZodObject<{
1323
1325
  userId: z.ZodString;
1324
1326
  userName: z.ZodString;
1325
- userPriority: z.ZodNumber;
1326
- ip: z.ZodString;
1327
+ userPriority: z.ZodString;
1327
1328
  }, "strip", z.ZodTypeAny, {
1328
- ip: string;
1329
1329
  userId: string;
1330
1330
  userName: string;
1331
- userPriority: number;
1331
+ userPriority: string;
1332
1332
  }, {
1333
- ip: string;
1334
1333
  userId: string;
1335
1334
  userName: string;
1336
- userPriority: number;
1337
- }>>;
1338
- }, "strip", z.ZodTypeAny, {
1339
- type: "API_LOCK_STATUS";
1340
- isLocked: boolean;
1341
- user?: {
1342
- ip: string;
1335
+ userPriority: string;
1336
+ }>;
1337
+ postJsonBody: z.ZodObject<{
1338
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1339
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1340
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
1341
+ idValue: z.ZodString;
1342
+ } & {
1343
+ priority: z.ZodNumber;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ priority: number;
1346
+ domain: "adsb" | "remoteId";
1347
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1348
+ idValue: string;
1349
+ }, {
1350
+ priority: number;
1351
+ domain: "adsb" | "remoteId";
1352
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1353
+ idValue: string;
1354
+ }>, "many">>;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ list: {
1357
+ priority: number;
1358
+ domain: "adsb" | "remoteId";
1359
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1360
+ idValue: string;
1361
+ }[];
1362
+ }, {
1363
+ list?: {
1364
+ priority: number;
1365
+ domain: "adsb" | "remoteId";
1366
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1367
+ idValue: string;
1368
+ }[] | undefined;
1369
+ }>;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ params: {
1343
1372
  userId: string;
1344
1373
  userName: string;
1345
- userPriority: number;
1346
- } | undefined;
1374
+ userPriority: string;
1375
+ };
1376
+ type: "USER_ACTION";
1377
+ ip: string;
1378
+ cgi: EUserActions.SET_PRIORITY_LIST;
1379
+ postJsonBody: {
1380
+ list: {
1381
+ priority: number;
1382
+ domain: "adsb" | "remoteId";
1383
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1384
+ idValue: string;
1385
+ }[];
1386
+ };
1347
1387
  }, {
1348
- type: "API_LOCK_STATUS";
1349
- isLocked: boolean;
1350
- user?: {
1351
- ip: string;
1388
+ params: {
1352
1389
  userId: string;
1353
1390
  userName: string;
1354
- userPriority: number;
1355
- } | undefined;
1356
- }>]>;
1357
- }, "strip", z.ZodTypeAny, {
1358
- type: "init";
1359
- data: {
1360
- type: "CAMERA_POSITION";
1361
- lat: number;
1362
- lon: number;
1363
- azimuth: number;
1364
- elevation: number;
1365
- fov: number;
1366
- } | {
1367
- type: "TRACKING_START";
1368
- icao: string;
1369
- } | {
1370
- type: "TRACKING_STOP";
1371
- } | {
1372
- type: "FLIGHT_LIST";
1373
- list: {
1374
- icao: string;
1375
- domain: "adsb" | "remoteId";
1376
- lat: number;
1377
- lon: number;
1378
- targetId: string;
1379
- categoryId: string;
1380
- heading: number;
1381
- groundSpeed: number;
1382
- altitudeAMSL: number;
1383
- cameraDistance: number;
1384
- autoTrackingOrder: number;
1385
- whiteListed: boolean;
1386
- blackListed: boolean;
1387
- priorityListed: boolean;
1388
- autoSelectionIgnored: boolean;
1389
- signalQuality: number;
1390
- emitterCategorySet: number;
1391
- emitterCategory: number;
1392
- emergencyState: boolean;
1393
- emergencyStatusMessage: string;
1394
- groupId?: string | undefined;
1395
- }[];
1396
- } | {
1391
+ userPriority: string;
1392
+ };
1393
+ type: "USER_ACTION";
1394
+ ip: string;
1395
+ cgi: EUserActions.SET_PRIORITY_LIST;
1396
+ postJsonBody: {
1397
+ list?: {
1398
+ priority: number;
1399
+ domain: "adsb" | "remoteId";
1400
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1401
+ idValue: string;
1402
+ }[] | undefined;
1403
+ };
1404
+ }>, z.ZodObject<{
1405
+ type: z.ZodLiteral<"USER_ACTION">;
1406
+ cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
1407
+ ip: z.ZodString;
1408
+ params: z.ZodObject<{
1409
+ userId: z.ZodString;
1410
+ userName: z.ZodString;
1411
+ userPriority: z.ZodString;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ userId: string;
1414
+ userName: string;
1415
+ userPriority: string;
1416
+ }, {
1417
+ userId: string;
1418
+ userName: string;
1419
+ userPriority: string;
1420
+ }>;
1421
+ postJsonBody: z.ZodObject<{
1422
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1423
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1424
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
1425
+ idValue: z.ZodString;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ domain: "adsb" | "remoteId";
1428
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1429
+ idValue: string;
1430
+ }, {
1431
+ domain: "adsb" | "remoteId";
1432
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1433
+ idValue: string;
1434
+ }>, "many">>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ list: {
1437
+ domain: "adsb" | "remoteId";
1438
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1439
+ idValue: string;
1440
+ }[];
1441
+ }, {
1442
+ list?: {
1443
+ domain: "adsb" | "remoteId";
1444
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1445
+ idValue: string;
1446
+ }[] | undefined;
1447
+ }>;
1448
+ }, "strip", z.ZodTypeAny, {
1397
1449
  params: {
1398
1450
  userId: string;
1399
1451
  userName: string;
1400
1452
  userPriority: string;
1401
- timeout?: string | undefined;
1402
- lat?: string | undefined;
1403
- lon?: string | undefined;
1404
1453
  };
1405
1454
  type: "USER_ACTION";
1406
1455
  ip: string;
1407
- cgi: EUserActions;
1408
- postJsonBody?: any;
1409
- } | {
1410
- type: "CONNECTED_USERS";
1411
- users: {
1412
- ip: string;
1456
+ cgi: EUserActions.SET_BLACK_LIST;
1457
+ postJsonBody: {
1458
+ list: {
1459
+ domain: "adsb" | "remoteId";
1460
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1461
+ idValue: string;
1462
+ }[];
1463
+ };
1464
+ }, {
1465
+ params: {
1413
1466
  userId: string;
1414
1467
  userName: string;
1415
- userPriority: number;
1416
- }[];
1417
- } | {
1418
- type: "FORCE_TRACKING_STATUS";
1419
- enabled: boolean;
1420
- icao?: string | undefined;
1421
- } | {
1422
- type: "API_LOCK_STATUS";
1423
- isLocked: boolean;
1424
- user?: {
1425
- ip: string;
1468
+ userPriority: string;
1469
+ };
1470
+ type: "USER_ACTION";
1471
+ ip: string;
1472
+ cgi: EUserActions.SET_BLACK_LIST;
1473
+ postJsonBody: {
1474
+ list?: {
1475
+ domain: "adsb" | "remoteId";
1476
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1477
+ idValue: string;
1478
+ }[] | undefined;
1479
+ };
1480
+ }>, z.ZodObject<{
1481
+ type: z.ZodLiteral<"USER_ACTION">;
1482
+ cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
1483
+ ip: z.ZodString;
1484
+ params: z.ZodObject<{
1485
+ userId: z.ZodString;
1486
+ userName: z.ZodString;
1487
+ userPriority: z.ZodString;
1488
+ }, "strip", z.ZodTypeAny, {
1426
1489
  userId: string;
1427
1490
  userName: string;
1428
- userPriority: number;
1429
- } | undefined;
1430
- };
1431
- }, {
1432
- type: "init";
1433
- data: {
1434
- type: "CAMERA_POSITION";
1435
- lat: number;
1436
- lon: number;
1437
- azimuth: number;
1438
- elevation: number;
1439
- fov: number;
1440
- } | {
1441
- type: "TRACKING_START";
1442
- icao: string;
1443
- } | {
1444
- type: "TRACKING_STOP";
1445
- } | {
1446
- type: "FLIGHT_LIST";
1447
- list: {
1448
- icao: string;
1449
- domain: "adsb" | "remoteId";
1450
- lat: number;
1451
- lon: number;
1452
- targetId: string;
1453
- categoryId: string;
1454
- heading: number;
1455
- groundSpeed: number;
1456
- altitudeAMSL: number;
1457
- cameraDistance: number;
1458
- autoTrackingOrder: number;
1459
- whiteListed: boolean;
1460
- blackListed: boolean;
1461
- priorityListed: boolean;
1462
- autoSelectionIgnored: boolean;
1463
- signalQuality: number;
1464
- emergencyState: boolean;
1465
- emergencyStatusMessage: string;
1466
- groupId?: string | undefined;
1467
- emitterCategorySet?: number | undefined;
1468
- emitterCategory?: number | undefined;
1469
- }[];
1470
- } | {
1491
+ userPriority: string;
1492
+ }, {
1493
+ userId: string;
1494
+ userName: string;
1495
+ userPriority: string;
1496
+ }>;
1497
+ postJsonBody: z.ZodObject<{
1498
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1499
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1500
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
1501
+ idValue: z.ZodString;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ domain: "adsb" | "remoteId";
1504
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1505
+ idValue: string;
1506
+ }, {
1507
+ domain: "adsb" | "remoteId";
1508
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1509
+ idValue: string;
1510
+ }>, "many">>;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ list: {
1513
+ domain: "adsb" | "remoteId";
1514
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1515
+ idValue: string;
1516
+ }[];
1517
+ }, {
1518
+ list?: {
1519
+ domain: "adsb" | "remoteId";
1520
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1521
+ idValue: string;
1522
+ }[] | undefined;
1523
+ }>;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ params: {
1526
+ userId: string;
1527
+ userName: string;
1528
+ userPriority: string;
1529
+ };
1530
+ type: "USER_ACTION";
1531
+ ip: string;
1532
+ cgi: EUserActions.SET_WHITE_LIST;
1533
+ postJsonBody: {
1534
+ list: {
1535
+ domain: "adsb" | "remoteId";
1536
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1537
+ idValue: string;
1538
+ }[];
1539
+ };
1540
+ }, {
1541
+ params: {
1542
+ userId: string;
1543
+ userName: string;
1544
+ userPriority: string;
1545
+ };
1546
+ type: "USER_ACTION";
1547
+ ip: string;
1548
+ cgi: EUserActions.SET_WHITE_LIST;
1549
+ postJsonBody: {
1550
+ list?: {
1551
+ domain: "adsb" | "remoteId";
1552
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1553
+ idValue: string;
1554
+ }[] | undefined;
1555
+ };
1556
+ }>, z.ZodObject<{
1557
+ type: z.ZodLiteral<"USER_ACTION">;
1558
+ cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
1559
+ ip: z.ZodString;
1560
+ params: z.ZodObject<{
1561
+ userId: z.ZodString;
1562
+ userName: z.ZodString;
1563
+ userPriority: z.ZodString;
1564
+ } & {
1565
+ lat: z.ZodString;
1566
+ lon: z.ZodString;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ lat: string;
1569
+ lon: string;
1570
+ userId: string;
1571
+ userName: string;
1572
+ userPriority: string;
1573
+ }, {
1574
+ lat: string;
1575
+ lon: string;
1576
+ userId: string;
1577
+ userName: string;
1578
+ userPriority: string;
1579
+ }>;
1580
+ postJsonBody: z.ZodAny;
1581
+ }, "strip", z.ZodTypeAny, {
1471
1582
  params: {
1583
+ lat: string;
1584
+ lon: string;
1472
1585
  userId: string;
1473
1586
  userName: string;
1474
1587
  userPriority: string;
1475
- timeout?: string | undefined;
1476
- lat?: string | undefined;
1477
- lon?: string | undefined;
1478
1588
  };
1479
1589
  type: "USER_ACTION";
1480
1590
  ip: string;
1481
- cgi: EUserActions;
1591
+ cgi: EUserActions.GO_TO_COORDINATES;
1482
1592
  postJsonBody?: any;
1483
- } | {
1484
- type: "CONNECTED_USERS";
1485
- users: {
1486
- ip: string;
1593
+ }, {
1594
+ params: {
1595
+ lat: string;
1596
+ lon: string;
1487
1597
  userId: string;
1488
1598
  userName: string;
1489
- userPriority: number;
1490
- }[];
1491
- } | {
1492
- type: "FORCE_TRACKING_STATUS";
1493
- enabled: boolean;
1494
- icao?: string | undefined;
1495
- } | {
1496
- type: "API_LOCK_STATUS";
1497
- isLocked: boolean;
1498
- user?: {
1499
- ip: string;
1599
+ userPriority: string;
1600
+ };
1601
+ type: "USER_ACTION";
1602
+ ip: string;
1603
+ cgi: EUserActions.GO_TO_COORDINATES;
1604
+ postJsonBody?: any;
1605
+ }>, z.ZodObject<{
1606
+ type: z.ZodLiteral<"USER_ACTION">;
1607
+ cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
1608
+ ip: z.ZodString;
1609
+ params: z.ZodObject<{
1610
+ userId: z.ZodString;
1611
+ userName: z.ZodString;
1612
+ userPriority: z.ZodString;
1613
+ }, "strip", z.ZodTypeAny, {
1500
1614
  userId: string;
1501
1615
  userName: string;
1502
- userPriority: number;
1503
- } | undefined;
1504
- };
1505
- }>, z.ZodObject<{
1506
- type: z.ZodLiteral<"CAMERA_POSITION">;
1507
- } & {
1508
- lat: z.ZodNumber;
1509
- lon: z.ZodNumber;
1510
- azimuth: z.ZodNumber;
1511
- elevation: z.ZodNumber;
1616
+ userPriority: string;
1617
+ }, {
1618
+ userId: string;
1619
+ userName: string;
1620
+ userPriority: string;
1621
+ }>;
1622
+ postJsonBody: z.ZodObject<{
1623
+ mode: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ mode: "MANUAL" | "AUTOMATIC";
1626
+ }, {
1627
+ mode?: "MANUAL" | "AUTOMATIC" | undefined;
1628
+ }>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ params: {
1631
+ userId: string;
1632
+ userName: string;
1633
+ userPriority: string;
1634
+ };
1635
+ type: "USER_ACTION";
1636
+ ip: string;
1637
+ cgi: EUserActions.SET_TRACKING_MODE;
1638
+ postJsonBody: {
1639
+ mode: "MANUAL" | "AUTOMATIC";
1640
+ };
1641
+ }, {
1642
+ params: {
1643
+ userId: string;
1644
+ userName: string;
1645
+ userPriority: string;
1646
+ };
1647
+ type: "USER_ACTION";
1648
+ ip: string;
1649
+ cgi: EUserActions.SET_TRACKING_MODE;
1650
+ postJsonBody: {
1651
+ mode?: "MANUAL" | "AUTOMATIC" | undefined;
1652
+ };
1653
+ }>, z.ZodObject<{
1654
+ type: z.ZodLiteral<"USER_ACTION">;
1655
+ cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
1656
+ ip: z.ZodString;
1657
+ params: z.ZodObject<{
1658
+ userId: z.ZodString;
1659
+ userName: z.ZodString;
1660
+ userPriority: z.ZodString;
1661
+ }, "strip", z.ZodTypeAny, {
1662
+ userId: string;
1663
+ userName: string;
1664
+ userPriority: string;
1665
+ }, {
1666
+ userId: string;
1667
+ userName: string;
1668
+ userPriority: string;
1669
+ }>;
1670
+ postJsonBody: z.ZodObject<{
1671
+ zones: z.ZodDefault<z.ZodArray<z.ZodObject<{
1672
+ enabled: z.ZodDefault<z.ZodBoolean>;
1673
+ name: z.ZodOptional<z.ZodString>;
1674
+ area: z.ZodArray<z.ZodObject<{
1675
+ lat: z.ZodNumber;
1676
+ lon: z.ZodNumber;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ lat: number;
1679
+ lon: number;
1680
+ }, {
1681
+ lat: number;
1682
+ lon: number;
1683
+ }>, "atleastone">;
1684
+ minAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
1685
+ maxAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
1686
+ minSpeedKmph: z.ZodOptional<z.ZodNumber>;
1687
+ maxSpeedKmph: z.ZodOptional<z.ZodNumber>;
1688
+ flightDirection: z.ZodDefault<z.ZodEnum<["all", "arrival", "departure"]>>;
1689
+ weight: z.ZodNumber;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ enabled: boolean;
1692
+ area: [{
1693
+ lat: number;
1694
+ lon: number;
1695
+ }, ...{
1696
+ lat: number;
1697
+ lon: number;
1698
+ }[]];
1699
+ flightDirection: "all" | "arrival" | "departure";
1700
+ weight: number;
1701
+ name?: string | undefined;
1702
+ minAltitudeAmsl?: number | undefined;
1703
+ maxAltitudeAmsl?: number | undefined;
1704
+ minSpeedKmph?: number | undefined;
1705
+ maxSpeedKmph?: number | undefined;
1706
+ }, {
1707
+ area: [{
1708
+ lat: number;
1709
+ lon: number;
1710
+ }, ...{
1711
+ lat: number;
1712
+ lon: number;
1713
+ }[]];
1714
+ weight: number;
1715
+ name?: string | undefined;
1716
+ enabled?: boolean | undefined;
1717
+ minAltitudeAmsl?: number | undefined;
1718
+ maxAltitudeAmsl?: number | undefined;
1719
+ minSpeedKmph?: number | undefined;
1720
+ maxSpeedKmph?: number | undefined;
1721
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
1722
+ }>, "many">>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ zones: {
1725
+ enabled: boolean;
1726
+ area: [{
1727
+ lat: number;
1728
+ lon: number;
1729
+ }, ...{
1730
+ lat: number;
1731
+ lon: number;
1732
+ }[]];
1733
+ flightDirection: "all" | "arrival" | "departure";
1734
+ weight: number;
1735
+ name?: string | undefined;
1736
+ minAltitudeAmsl?: number | undefined;
1737
+ maxAltitudeAmsl?: number | undefined;
1738
+ minSpeedKmph?: number | undefined;
1739
+ maxSpeedKmph?: number | undefined;
1740
+ }[];
1741
+ }, {
1742
+ zones?: {
1743
+ area: [{
1744
+ lat: number;
1745
+ lon: number;
1746
+ }, ...{
1747
+ lat: number;
1748
+ lon: number;
1749
+ }[]];
1750
+ weight: number;
1751
+ name?: string | undefined;
1752
+ enabled?: boolean | undefined;
1753
+ minAltitudeAmsl?: number | undefined;
1754
+ maxAltitudeAmsl?: number | undefined;
1755
+ minSpeedKmph?: number | undefined;
1756
+ maxSpeedKmph?: number | undefined;
1757
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
1758
+ }[] | undefined;
1759
+ }>;
1760
+ }, "strip", z.ZodTypeAny, {
1761
+ params: {
1762
+ userId: string;
1763
+ userName: string;
1764
+ userPriority: string;
1765
+ };
1766
+ type: "USER_ACTION";
1767
+ ip: string;
1768
+ cgi: EUserActions.SET_ZONES;
1769
+ postJsonBody: {
1770
+ zones: {
1771
+ enabled: boolean;
1772
+ area: [{
1773
+ lat: number;
1774
+ lon: number;
1775
+ }, ...{
1776
+ lat: number;
1777
+ lon: number;
1778
+ }[]];
1779
+ flightDirection: "all" | "arrival" | "departure";
1780
+ weight: number;
1781
+ name?: string | undefined;
1782
+ minAltitudeAmsl?: number | undefined;
1783
+ maxAltitudeAmsl?: number | undefined;
1784
+ minSpeedKmph?: number | undefined;
1785
+ maxSpeedKmph?: number | undefined;
1786
+ }[];
1787
+ };
1788
+ }, {
1789
+ params: {
1790
+ userId: string;
1791
+ userName: string;
1792
+ userPriority: string;
1793
+ };
1794
+ type: "USER_ACTION";
1795
+ ip: string;
1796
+ cgi: EUserActions.SET_ZONES;
1797
+ postJsonBody: {
1798
+ zones?: {
1799
+ area: [{
1800
+ lat: number;
1801
+ lon: number;
1802
+ }, ...{
1803
+ lat: number;
1804
+ lon: number;
1805
+ }[]];
1806
+ weight: number;
1807
+ name?: string | undefined;
1808
+ enabled?: boolean | undefined;
1809
+ minAltitudeAmsl?: number | undefined;
1810
+ maxAltitudeAmsl?: number | undefined;
1811
+ minSpeedKmph?: number | undefined;
1812
+ maxSpeedKmph?: number | undefined;
1813
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
1814
+ }[] | undefined;
1815
+ };
1816
+ }>, z.ZodObject<{
1817
+ type: z.ZodLiteral<"USER_ACTION">;
1818
+ cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
1819
+ ip: z.ZodString;
1820
+ params: z.ZodObject<{
1821
+ userId: z.ZodString;
1822
+ userName: z.ZodString;
1823
+ userPriority: z.ZodString;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ userId: string;
1826
+ userName: string;
1827
+ userPriority: string;
1828
+ }, {
1829
+ userId: string;
1830
+ userName: string;
1831
+ userPriority: string;
1832
+ }>;
1833
+ postJsonBody: z.ZodAny;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ params: {
1836
+ userId: string;
1837
+ userName: string;
1838
+ userPriority: string;
1839
+ };
1840
+ type: "USER_ACTION";
1841
+ ip: string;
1842
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
1843
+ postJsonBody?: any;
1844
+ }, {
1845
+ params: {
1846
+ userId: string;
1847
+ userName: string;
1848
+ userPriority: string;
1849
+ };
1850
+ type: "USER_ACTION";
1851
+ ip: string;
1852
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
1853
+ postJsonBody?: any;
1854
+ }>, z.ZodObject<{
1855
+ type: z.ZodLiteral<"USER_ACTION">;
1856
+ cgi: z.ZodLiteral<EUserActions.LOCK_API>;
1857
+ ip: z.ZodString;
1858
+ params: z.ZodObject<{
1859
+ userId: z.ZodString;
1860
+ userName: z.ZodString;
1861
+ userPriority: z.ZodString;
1862
+ } & {
1863
+ timeout: z.ZodString;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ timeout: string;
1866
+ userId: string;
1867
+ userName: string;
1868
+ userPriority: string;
1869
+ }, {
1870
+ timeout: string;
1871
+ userId: string;
1872
+ userName: string;
1873
+ userPriority: string;
1874
+ }>;
1875
+ postJsonBody: z.ZodAny;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ params: {
1878
+ timeout: string;
1879
+ userId: string;
1880
+ userName: string;
1881
+ userPriority: string;
1882
+ };
1883
+ type: "USER_ACTION";
1884
+ ip: string;
1885
+ cgi: EUserActions.LOCK_API;
1886
+ postJsonBody?: any;
1887
+ }, {
1888
+ params: {
1889
+ timeout: string;
1890
+ userId: string;
1891
+ userName: string;
1892
+ userPriority: string;
1893
+ };
1894
+ type: "USER_ACTION";
1895
+ ip: string;
1896
+ cgi: EUserActions.LOCK_API;
1897
+ postJsonBody?: any;
1898
+ }>, z.ZodObject<{
1899
+ type: z.ZodLiteral<"USER_ACTION">;
1900
+ cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
1901
+ ip: z.ZodString;
1902
+ params: z.ZodObject<{
1903
+ userId: z.ZodString;
1904
+ userName: z.ZodString;
1905
+ userPriority: z.ZodString;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ userId: string;
1908
+ userName: string;
1909
+ userPriority: string;
1910
+ }, {
1911
+ userId: string;
1912
+ userName: string;
1913
+ userPriority: string;
1914
+ }>;
1915
+ postJsonBody: z.ZodAny;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ params: {
1918
+ userId: string;
1919
+ userName: string;
1920
+ userPriority: string;
1921
+ };
1922
+ type: "USER_ACTION";
1923
+ ip: string;
1924
+ cgi: EUserActions.UNLOCK_API;
1925
+ postJsonBody?: any;
1926
+ }, {
1927
+ params: {
1928
+ userId: string;
1929
+ userName: string;
1930
+ userPriority: string;
1931
+ };
1932
+ type: "USER_ACTION";
1933
+ ip: string;
1934
+ cgi: EUserActions.UNLOCK_API;
1935
+ postJsonBody?: any;
1936
+ }>, z.ZodObject<{
1937
+ type: z.ZodLiteral<"CONNECTED_USERS">;
1938
+ users: z.ZodArray<z.ZodObject<{
1939
+ userId: z.ZodString;
1940
+ userName: z.ZodString;
1941
+ } & {
1942
+ ip: z.ZodString;
1943
+ userPriority: z.ZodNumber;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ ip: string;
1946
+ userId: string;
1947
+ userName: string;
1948
+ userPriority: number;
1949
+ }, {
1950
+ ip: string;
1951
+ userId: string;
1952
+ userName: string;
1953
+ userPriority: number;
1954
+ }>, "many">;
1955
+ }, "strip", z.ZodTypeAny, {
1956
+ type: "CONNECTED_USERS";
1957
+ users: {
1958
+ ip: string;
1959
+ userId: string;
1960
+ userName: string;
1961
+ userPriority: number;
1962
+ }[];
1963
+ }, {
1964
+ type: "CONNECTED_USERS";
1965
+ users: {
1966
+ ip: string;
1967
+ userId: string;
1968
+ userName: string;
1969
+ userPriority: number;
1970
+ }[];
1971
+ }>, z.ZodObject<{
1972
+ type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
1973
+ enabled: z.ZodBoolean;
1974
+ icao: z.ZodOptional<z.ZodString>;
1975
+ targetId: z.ZodOptional<z.ZodString>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ type: "FORCE_TRACKING_STATUS";
1978
+ enabled: boolean;
1979
+ icao?: string | undefined;
1980
+ targetId?: string | undefined;
1981
+ }, {
1982
+ type: "FORCE_TRACKING_STATUS";
1983
+ enabled: boolean;
1984
+ icao?: string | undefined;
1985
+ targetId?: string | undefined;
1986
+ }>, z.ZodObject<{
1987
+ type: z.ZodLiteral<"API_LOCK_STATUS">;
1988
+ isLocked: z.ZodBoolean;
1989
+ user: z.ZodOptional<z.ZodObject<{
1990
+ userId: z.ZodString;
1991
+ userName: z.ZodString;
1992
+ } & {
1993
+ ip: z.ZodString;
1994
+ userPriority: z.ZodNumber;
1995
+ }, "strip", z.ZodTypeAny, {
1996
+ ip: string;
1997
+ userId: string;
1998
+ userName: string;
1999
+ userPriority: number;
2000
+ }, {
2001
+ ip: string;
2002
+ userId: string;
2003
+ userName: string;
2004
+ userPriority: number;
2005
+ }>>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ type: "API_LOCK_STATUS";
2008
+ isLocked: boolean;
2009
+ user?: {
2010
+ ip: string;
2011
+ userId: string;
2012
+ userName: string;
2013
+ userPriority: number;
2014
+ } | undefined;
2015
+ }, {
2016
+ type: "API_LOCK_STATUS";
2017
+ isLocked: boolean;
2018
+ user?: {
2019
+ ip: string;
2020
+ userId: string;
2021
+ userName: string;
2022
+ userPriority: number;
2023
+ } | undefined;
2024
+ }>]>;
2025
+ }, "strip", z.ZodTypeAny, {
2026
+ type: "init";
2027
+ data: {
2028
+ type: "CAMERA_POSITION";
2029
+ lat: number;
2030
+ lon: number;
2031
+ azimuth: number;
2032
+ elevation: number;
2033
+ fov: number;
2034
+ } | {
2035
+ type: "TRACKING_START";
2036
+ icao: string;
2037
+ targetId: string;
2038
+ domain: "adsb" | "remoteId";
2039
+ categoryId: string;
2040
+ } | {
2041
+ type: "TRACKING_STOP";
2042
+ } | {
2043
+ type: "FLIGHT_LIST";
2044
+ list: {
2045
+ icao: string;
2046
+ targetId: string;
2047
+ domain: "adsb" | "remoteId";
2048
+ lat: number;
2049
+ lon: number;
2050
+ categoryId: string;
2051
+ heading: number;
2052
+ groundSpeed: number;
2053
+ altitudeAMSL: number;
2054
+ cameraDistance: number;
2055
+ autoTrackingOrder: number;
2056
+ whiteListed: boolean;
2057
+ blackListed: boolean;
2058
+ priorityListed: boolean;
2059
+ autoSelectionIgnored: boolean;
2060
+ signalQuality: number;
2061
+ emitterCategorySet: number;
2062
+ emitterCategory: number;
2063
+ emergencyState: boolean;
2064
+ emergencyStatusMessage: string;
2065
+ groupId?: string | undefined;
2066
+ }[];
2067
+ } | {
2068
+ params: {
2069
+ icao: string;
2070
+ userId: string;
2071
+ userName: string;
2072
+ userPriority: string;
2073
+ };
2074
+ type: "USER_ACTION";
2075
+ ip: string;
2076
+ cgi: EUserActions.TRACK_ICAO;
2077
+ postJsonBody?: any;
2078
+ } | {
2079
+ params: {
2080
+ userId: string;
2081
+ userName: string;
2082
+ userPriority: string;
2083
+ };
2084
+ type: "USER_ACTION";
2085
+ ip: string;
2086
+ cgi: EUserActions.RESET_ICAO;
2087
+ postJsonBody?: any;
2088
+ } | {
2089
+ params: {
2090
+ userId: string;
2091
+ userName: string;
2092
+ userPriority: string;
2093
+ };
2094
+ type: "USER_ACTION";
2095
+ ip: string;
2096
+ cgi: EUserActions.SET_PRIORITY_LIST;
2097
+ postJsonBody: {
2098
+ list: {
2099
+ priority: number;
2100
+ domain: "adsb" | "remoteId";
2101
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2102
+ idValue: string;
2103
+ }[];
2104
+ };
2105
+ } | {
2106
+ params: {
2107
+ userId: string;
2108
+ userName: string;
2109
+ userPriority: string;
2110
+ };
2111
+ type: "USER_ACTION";
2112
+ ip: string;
2113
+ cgi: EUserActions.SET_BLACK_LIST;
2114
+ postJsonBody: {
2115
+ list: {
2116
+ domain: "adsb" | "remoteId";
2117
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2118
+ idValue: string;
2119
+ }[];
2120
+ };
2121
+ } | {
2122
+ params: {
2123
+ userId: string;
2124
+ userName: string;
2125
+ userPriority: string;
2126
+ };
2127
+ type: "USER_ACTION";
2128
+ ip: string;
2129
+ cgi: EUserActions.SET_WHITE_LIST;
2130
+ postJsonBody: {
2131
+ list: {
2132
+ domain: "adsb" | "remoteId";
2133
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2134
+ idValue: string;
2135
+ }[];
2136
+ };
2137
+ } | {
2138
+ params: {
2139
+ lat: string;
2140
+ lon: string;
2141
+ userId: string;
2142
+ userName: string;
2143
+ userPriority: string;
2144
+ };
2145
+ type: "USER_ACTION";
2146
+ ip: string;
2147
+ cgi: EUserActions.GO_TO_COORDINATES;
2148
+ postJsonBody?: any;
2149
+ } | {
2150
+ params: {
2151
+ userId: string;
2152
+ userName: string;
2153
+ userPriority: string;
2154
+ };
2155
+ type: "USER_ACTION";
2156
+ ip: string;
2157
+ cgi: EUserActions.SET_TRACKING_MODE;
2158
+ postJsonBody: {
2159
+ mode: "MANUAL" | "AUTOMATIC";
2160
+ };
2161
+ } | {
2162
+ params: {
2163
+ userId: string;
2164
+ userName: string;
2165
+ userPriority: string;
2166
+ };
2167
+ type: "USER_ACTION";
2168
+ ip: string;
2169
+ cgi: EUserActions.SET_ZONES;
2170
+ postJsonBody: {
2171
+ zones: {
2172
+ enabled: boolean;
2173
+ area: [{
2174
+ lat: number;
2175
+ lon: number;
2176
+ }, ...{
2177
+ lat: number;
2178
+ lon: number;
2179
+ }[]];
2180
+ flightDirection: "all" | "arrival" | "departure";
2181
+ weight: number;
2182
+ name?: string | undefined;
2183
+ minAltitudeAmsl?: number | undefined;
2184
+ maxAltitudeAmsl?: number | undefined;
2185
+ minSpeedKmph?: number | undefined;
2186
+ maxSpeedKmph?: number | undefined;
2187
+ }[];
2188
+ };
2189
+ } | {
2190
+ params: {
2191
+ userId: string;
2192
+ userName: string;
2193
+ userPriority: string;
2194
+ };
2195
+ type: "USER_ACTION";
2196
+ ip: string;
2197
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
2198
+ postJsonBody?: any;
2199
+ } | {
2200
+ params: {
2201
+ timeout: string;
2202
+ userId: string;
2203
+ userName: string;
2204
+ userPriority: string;
2205
+ };
2206
+ type: "USER_ACTION";
2207
+ ip: string;
2208
+ cgi: EUserActions.LOCK_API;
2209
+ postJsonBody?: any;
2210
+ } | {
2211
+ params: {
2212
+ userId: string;
2213
+ userName: string;
2214
+ userPriority: string;
2215
+ };
2216
+ type: "USER_ACTION";
2217
+ ip: string;
2218
+ cgi: EUserActions.UNLOCK_API;
2219
+ postJsonBody?: any;
2220
+ } | {
2221
+ type: "CONNECTED_USERS";
2222
+ users: {
2223
+ ip: string;
2224
+ userId: string;
2225
+ userName: string;
2226
+ userPriority: number;
2227
+ }[];
2228
+ } | {
2229
+ type: "FORCE_TRACKING_STATUS";
2230
+ enabled: boolean;
2231
+ icao?: string | undefined;
2232
+ targetId?: string | undefined;
2233
+ } | {
2234
+ type: "API_LOCK_STATUS";
2235
+ isLocked: boolean;
2236
+ user?: {
2237
+ ip: string;
2238
+ userId: string;
2239
+ userName: string;
2240
+ userPriority: number;
2241
+ } | undefined;
2242
+ };
2243
+ }, {
2244
+ type: "init";
2245
+ data: {
2246
+ type: "CAMERA_POSITION";
2247
+ lat: number;
2248
+ lon: number;
2249
+ azimuth: number;
2250
+ elevation: number;
2251
+ fov: number;
2252
+ } | {
2253
+ type: "TRACKING_START";
2254
+ icao: string;
2255
+ targetId: string;
2256
+ domain: "adsb" | "remoteId";
2257
+ categoryId: string;
2258
+ } | {
2259
+ type: "TRACKING_STOP";
2260
+ } | {
2261
+ type: "FLIGHT_LIST";
2262
+ list: {
2263
+ icao: string;
2264
+ targetId: string;
2265
+ domain: "adsb" | "remoteId";
2266
+ lat: number;
2267
+ lon: number;
2268
+ categoryId: string;
2269
+ heading: number;
2270
+ groundSpeed: number;
2271
+ altitudeAMSL: number;
2272
+ cameraDistance: number;
2273
+ autoTrackingOrder: number;
2274
+ whiteListed: boolean;
2275
+ blackListed: boolean;
2276
+ priorityListed: boolean;
2277
+ autoSelectionIgnored: boolean;
2278
+ signalQuality: number;
2279
+ emergencyState: boolean;
2280
+ emergencyStatusMessage: string;
2281
+ groupId?: string | undefined;
2282
+ emitterCategorySet?: number | undefined;
2283
+ emitterCategory?: number | undefined;
2284
+ }[];
2285
+ } | {
2286
+ params: {
2287
+ icao: string;
2288
+ userId: string;
2289
+ userName: string;
2290
+ userPriority: string;
2291
+ };
2292
+ type: "USER_ACTION";
2293
+ ip: string;
2294
+ cgi: EUserActions.TRACK_ICAO;
2295
+ postJsonBody?: any;
2296
+ } | {
2297
+ params: {
2298
+ userId: string;
2299
+ userName: string;
2300
+ userPriority: string;
2301
+ };
2302
+ type: "USER_ACTION";
2303
+ ip: string;
2304
+ cgi: EUserActions.RESET_ICAO;
2305
+ postJsonBody?: any;
2306
+ } | {
2307
+ params: {
2308
+ userId: string;
2309
+ userName: string;
2310
+ userPriority: string;
2311
+ };
2312
+ type: "USER_ACTION";
2313
+ ip: string;
2314
+ cgi: EUserActions.SET_PRIORITY_LIST;
2315
+ postJsonBody: {
2316
+ list?: {
2317
+ priority: number;
2318
+ domain: "adsb" | "remoteId";
2319
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2320
+ idValue: string;
2321
+ }[] | undefined;
2322
+ };
2323
+ } | {
2324
+ params: {
2325
+ userId: string;
2326
+ userName: string;
2327
+ userPriority: string;
2328
+ };
2329
+ type: "USER_ACTION";
2330
+ ip: string;
2331
+ cgi: EUserActions.SET_BLACK_LIST;
2332
+ postJsonBody: {
2333
+ list?: {
2334
+ domain: "adsb" | "remoteId";
2335
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2336
+ idValue: string;
2337
+ }[] | undefined;
2338
+ };
2339
+ } | {
2340
+ params: {
2341
+ userId: string;
2342
+ userName: string;
2343
+ userPriority: string;
2344
+ };
2345
+ type: "USER_ACTION";
2346
+ ip: string;
2347
+ cgi: EUserActions.SET_WHITE_LIST;
2348
+ postJsonBody: {
2349
+ list?: {
2350
+ domain: "adsb" | "remoteId";
2351
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2352
+ idValue: string;
2353
+ }[] | undefined;
2354
+ };
2355
+ } | {
2356
+ params: {
2357
+ lat: string;
2358
+ lon: string;
2359
+ userId: string;
2360
+ userName: string;
2361
+ userPriority: string;
2362
+ };
2363
+ type: "USER_ACTION";
2364
+ ip: string;
2365
+ cgi: EUserActions.GO_TO_COORDINATES;
2366
+ postJsonBody?: any;
2367
+ } | {
2368
+ params: {
2369
+ userId: string;
2370
+ userName: string;
2371
+ userPriority: string;
2372
+ };
2373
+ type: "USER_ACTION";
2374
+ ip: string;
2375
+ cgi: EUserActions.SET_TRACKING_MODE;
2376
+ postJsonBody: {
2377
+ mode?: "MANUAL" | "AUTOMATIC" | undefined;
2378
+ };
2379
+ } | {
2380
+ params: {
2381
+ userId: string;
2382
+ userName: string;
2383
+ userPriority: string;
2384
+ };
2385
+ type: "USER_ACTION";
2386
+ ip: string;
2387
+ cgi: EUserActions.SET_ZONES;
2388
+ postJsonBody: {
2389
+ zones?: {
2390
+ area: [{
2391
+ lat: number;
2392
+ lon: number;
2393
+ }, ...{
2394
+ lat: number;
2395
+ lon: number;
2396
+ }[]];
2397
+ weight: number;
2398
+ name?: string | undefined;
2399
+ enabled?: boolean | undefined;
2400
+ minAltitudeAmsl?: number | undefined;
2401
+ maxAltitudeAmsl?: number | undefined;
2402
+ minSpeedKmph?: number | undefined;
2403
+ maxSpeedKmph?: number | undefined;
2404
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
2405
+ }[] | undefined;
2406
+ };
2407
+ } | {
2408
+ params: {
2409
+ userId: string;
2410
+ userName: string;
2411
+ userPriority: string;
2412
+ };
2413
+ type: "USER_ACTION";
2414
+ ip: string;
2415
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
2416
+ postJsonBody?: any;
2417
+ } | {
2418
+ params: {
2419
+ timeout: string;
2420
+ userId: string;
2421
+ userName: string;
2422
+ userPriority: string;
2423
+ };
2424
+ type: "USER_ACTION";
2425
+ ip: string;
2426
+ cgi: EUserActions.LOCK_API;
2427
+ postJsonBody?: any;
2428
+ } | {
2429
+ params: {
2430
+ userId: string;
2431
+ userName: string;
2432
+ userPriority: string;
2433
+ };
2434
+ type: "USER_ACTION";
2435
+ ip: string;
2436
+ cgi: EUserActions.UNLOCK_API;
2437
+ postJsonBody?: any;
2438
+ } | {
2439
+ type: "CONNECTED_USERS";
2440
+ users: {
2441
+ ip: string;
2442
+ userId: string;
2443
+ userName: string;
2444
+ userPriority: number;
2445
+ }[];
2446
+ } | {
2447
+ type: "FORCE_TRACKING_STATUS";
2448
+ enabled: boolean;
2449
+ icao?: string | undefined;
2450
+ targetId?: string | undefined;
2451
+ } | {
2452
+ type: "API_LOCK_STATUS";
2453
+ isLocked: boolean;
2454
+ user?: {
2455
+ ip: string;
2456
+ userId: string;
2457
+ userName: string;
2458
+ userPriority: number;
2459
+ } | undefined;
2460
+ };
2461
+ }>, z.ZodObject<{
2462
+ type: z.ZodLiteral<"CAMERA_POSITION">;
2463
+ } & {
2464
+ lat: z.ZodNumber;
2465
+ lon: z.ZodNumber;
2466
+ azimuth: z.ZodNumber;
2467
+ elevation: z.ZodNumber;
1512
2468
  fov: z.ZodNumber;
1513
2469
  }, "strip", z.ZodTypeAny, {
1514
- type: "CAMERA_POSITION";
1515
- lat: number;
1516
- lon: number;
1517
- azimuth: number;
1518
- elevation: number;
1519
- fov: number;
2470
+ type: "CAMERA_POSITION";
2471
+ lat: number;
2472
+ lon: number;
2473
+ azimuth: number;
2474
+ elevation: number;
2475
+ fov: number;
2476
+ }, {
2477
+ type: "CAMERA_POSITION";
2478
+ lat: number;
2479
+ lon: number;
2480
+ azimuth: number;
2481
+ elevation: number;
2482
+ fov: number;
2483
+ }>, z.ZodObject<{
2484
+ type: z.ZodLiteral<"TRACKING_START">;
2485
+ icao: z.ZodString;
2486
+ targetId: z.ZodString;
2487
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
2488
+ categoryId: z.ZodString;
2489
+ }, "strip", z.ZodTypeAny, {
2490
+ type: "TRACKING_START";
2491
+ icao: string;
2492
+ targetId: string;
2493
+ domain: "adsb" | "remoteId";
2494
+ categoryId: string;
2495
+ }, {
2496
+ type: "TRACKING_START";
2497
+ icao: string;
2498
+ targetId: string;
2499
+ domain: "adsb" | "remoteId";
2500
+ categoryId: string;
2501
+ }>, z.ZodObject<{
2502
+ type: z.ZodLiteral<"TRACKING_STOP">;
2503
+ }, "strip", z.ZodTypeAny, {
2504
+ type: "TRACKING_STOP";
2505
+ }, {
2506
+ type: "TRACKING_STOP";
2507
+ }>, z.ZodObject<{
2508
+ type: z.ZodLiteral<"FLIGHT_LIST">;
2509
+ list: z.ZodArray<z.ZodObject<{
2510
+ targetId: z.ZodString;
2511
+ icao: z.ZodString;
2512
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
2513
+ categoryId: z.ZodString;
2514
+ groupId: z.ZodOptional<z.ZodString>;
2515
+ lat: z.ZodNumber;
2516
+ lon: z.ZodNumber;
2517
+ heading: z.ZodNumber;
2518
+ groundSpeed: z.ZodNumber;
2519
+ altitudeAMSL: z.ZodNumber;
2520
+ cameraDistance: z.ZodNumber;
2521
+ autoTrackingOrder: z.ZodNumber;
2522
+ whiteListed: z.ZodBoolean;
2523
+ blackListed: z.ZodBoolean;
2524
+ priorityListed: z.ZodBoolean;
2525
+ autoSelectionIgnored: z.ZodBoolean;
2526
+ signalQuality: z.ZodNumber;
2527
+ emitterCategorySet: z.ZodDefault<z.ZodNumber>;
2528
+ emitterCategory: z.ZodDefault<z.ZodNumber>;
2529
+ emergencyState: z.ZodBoolean;
2530
+ emergencyStatusMessage: z.ZodString;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ icao: string;
2533
+ targetId: string;
2534
+ domain: "adsb" | "remoteId";
2535
+ lat: number;
2536
+ lon: number;
2537
+ categoryId: string;
2538
+ heading: number;
2539
+ groundSpeed: number;
2540
+ altitudeAMSL: number;
2541
+ cameraDistance: number;
2542
+ autoTrackingOrder: number;
2543
+ whiteListed: boolean;
2544
+ blackListed: boolean;
2545
+ priorityListed: boolean;
2546
+ autoSelectionIgnored: boolean;
2547
+ signalQuality: number;
2548
+ emitterCategorySet: number;
2549
+ emitterCategory: number;
2550
+ emergencyState: boolean;
2551
+ emergencyStatusMessage: string;
2552
+ groupId?: string | undefined;
2553
+ }, {
2554
+ icao: string;
2555
+ targetId: string;
2556
+ domain: "adsb" | "remoteId";
2557
+ lat: number;
2558
+ lon: number;
2559
+ categoryId: string;
2560
+ heading: number;
2561
+ groundSpeed: number;
2562
+ altitudeAMSL: number;
2563
+ cameraDistance: number;
2564
+ autoTrackingOrder: number;
2565
+ whiteListed: boolean;
2566
+ blackListed: boolean;
2567
+ priorityListed: boolean;
2568
+ autoSelectionIgnored: boolean;
2569
+ signalQuality: number;
2570
+ emergencyState: boolean;
2571
+ emergencyStatusMessage: string;
2572
+ groupId?: string | undefined;
2573
+ emitterCategorySet?: number | undefined;
2574
+ emitterCategory?: number | undefined;
2575
+ }>, "many">;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ type: "FLIGHT_LIST";
2578
+ list: {
2579
+ icao: string;
2580
+ targetId: string;
2581
+ domain: "adsb" | "remoteId";
2582
+ lat: number;
2583
+ lon: number;
2584
+ categoryId: string;
2585
+ heading: number;
2586
+ groundSpeed: number;
2587
+ altitudeAMSL: number;
2588
+ cameraDistance: number;
2589
+ autoTrackingOrder: number;
2590
+ whiteListed: boolean;
2591
+ blackListed: boolean;
2592
+ priorityListed: boolean;
2593
+ autoSelectionIgnored: boolean;
2594
+ signalQuality: number;
2595
+ emitterCategorySet: number;
2596
+ emitterCategory: number;
2597
+ emergencyState: boolean;
2598
+ emergencyStatusMessage: string;
2599
+ groupId?: string | undefined;
2600
+ }[];
2601
+ }, {
2602
+ type: "FLIGHT_LIST";
2603
+ list: {
2604
+ icao: string;
2605
+ targetId: string;
2606
+ domain: "adsb" | "remoteId";
2607
+ lat: number;
2608
+ lon: number;
2609
+ categoryId: string;
2610
+ heading: number;
2611
+ groundSpeed: number;
2612
+ altitudeAMSL: number;
2613
+ cameraDistance: number;
2614
+ autoTrackingOrder: number;
2615
+ whiteListed: boolean;
2616
+ blackListed: boolean;
2617
+ priorityListed: boolean;
2618
+ autoSelectionIgnored: boolean;
2619
+ signalQuality: number;
2620
+ emergencyState: boolean;
2621
+ emergencyStatusMessage: string;
2622
+ groupId?: string | undefined;
2623
+ emitterCategorySet?: number | undefined;
2624
+ emitterCategory?: number | undefined;
2625
+ }[];
2626
+ }>, z.ZodObject<{
2627
+ type: z.ZodLiteral<"USER_ACTION">;
2628
+ cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
2629
+ ip: z.ZodString;
2630
+ params: z.ZodObject<{
2631
+ userId: z.ZodString;
2632
+ userName: z.ZodString;
2633
+ userPriority: z.ZodString;
2634
+ } & {
2635
+ icao: z.ZodString;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ icao: string;
2638
+ userId: string;
2639
+ userName: string;
2640
+ userPriority: string;
2641
+ }, {
2642
+ icao: string;
2643
+ userId: string;
2644
+ userName: string;
2645
+ userPriority: string;
2646
+ }>;
2647
+ postJsonBody: z.ZodAny;
2648
+ }, "strip", z.ZodTypeAny, {
2649
+ params: {
2650
+ icao: string;
2651
+ userId: string;
2652
+ userName: string;
2653
+ userPriority: string;
2654
+ };
2655
+ type: "USER_ACTION";
2656
+ ip: string;
2657
+ cgi: EUserActions.TRACK_ICAO;
2658
+ postJsonBody?: any;
2659
+ }, {
2660
+ params: {
2661
+ icao: string;
2662
+ userId: string;
2663
+ userName: string;
2664
+ userPriority: string;
2665
+ };
2666
+ type: "USER_ACTION";
2667
+ ip: string;
2668
+ cgi: EUserActions.TRACK_ICAO;
2669
+ postJsonBody?: any;
2670
+ }>, z.ZodObject<{
2671
+ type: z.ZodLiteral<"USER_ACTION">;
2672
+ cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
2673
+ ip: z.ZodString;
2674
+ params: z.ZodObject<{
2675
+ userId: z.ZodString;
2676
+ userName: z.ZodString;
2677
+ userPriority: z.ZodString;
2678
+ }, "strip", z.ZodTypeAny, {
2679
+ userId: string;
2680
+ userName: string;
2681
+ userPriority: string;
2682
+ }, {
2683
+ userId: string;
2684
+ userName: string;
2685
+ userPriority: string;
2686
+ }>;
2687
+ postJsonBody: z.ZodAny;
2688
+ }, "strip", z.ZodTypeAny, {
2689
+ params: {
2690
+ userId: string;
2691
+ userName: string;
2692
+ userPriority: string;
2693
+ };
2694
+ type: "USER_ACTION";
2695
+ ip: string;
2696
+ cgi: EUserActions.RESET_ICAO;
2697
+ postJsonBody?: any;
2698
+ }, {
2699
+ params: {
2700
+ userId: string;
2701
+ userName: string;
2702
+ userPriority: string;
2703
+ };
2704
+ type: "USER_ACTION";
2705
+ ip: string;
2706
+ cgi: EUserActions.RESET_ICAO;
2707
+ postJsonBody?: any;
2708
+ }>, z.ZodObject<{
2709
+ type: z.ZodLiteral<"USER_ACTION">;
2710
+ cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
2711
+ ip: z.ZodString;
2712
+ params: z.ZodObject<{
2713
+ userId: z.ZodString;
2714
+ userName: z.ZodString;
2715
+ userPriority: z.ZodString;
2716
+ }, "strip", z.ZodTypeAny, {
2717
+ userId: string;
2718
+ userName: string;
2719
+ userPriority: string;
2720
+ }, {
2721
+ userId: string;
2722
+ userName: string;
2723
+ userPriority: string;
2724
+ }>;
2725
+ postJsonBody: z.ZodObject<{
2726
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
2727
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
2728
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
2729
+ idValue: z.ZodString;
2730
+ } & {
2731
+ priority: z.ZodNumber;
2732
+ }, "strip", z.ZodTypeAny, {
2733
+ priority: number;
2734
+ domain: "adsb" | "remoteId";
2735
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2736
+ idValue: string;
2737
+ }, {
2738
+ priority: number;
2739
+ domain: "adsb" | "remoteId";
2740
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2741
+ idValue: string;
2742
+ }>, "many">>;
2743
+ }, "strip", z.ZodTypeAny, {
2744
+ list: {
2745
+ priority: number;
2746
+ domain: "adsb" | "remoteId";
2747
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2748
+ idValue: string;
2749
+ }[];
2750
+ }, {
2751
+ list?: {
2752
+ priority: number;
2753
+ domain: "adsb" | "remoteId";
2754
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2755
+ idValue: string;
2756
+ }[] | undefined;
2757
+ }>;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ params: {
2760
+ userId: string;
2761
+ userName: string;
2762
+ userPriority: string;
2763
+ };
2764
+ type: "USER_ACTION";
2765
+ ip: string;
2766
+ cgi: EUserActions.SET_PRIORITY_LIST;
2767
+ postJsonBody: {
2768
+ list: {
2769
+ priority: number;
2770
+ domain: "adsb" | "remoteId";
2771
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2772
+ idValue: string;
2773
+ }[];
2774
+ };
2775
+ }, {
2776
+ params: {
2777
+ userId: string;
2778
+ userName: string;
2779
+ userPriority: string;
2780
+ };
2781
+ type: "USER_ACTION";
2782
+ ip: string;
2783
+ cgi: EUserActions.SET_PRIORITY_LIST;
2784
+ postJsonBody: {
2785
+ list?: {
2786
+ priority: number;
2787
+ domain: "adsb" | "remoteId";
2788
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2789
+ idValue: string;
2790
+ }[] | undefined;
2791
+ };
2792
+ }>, z.ZodObject<{
2793
+ type: z.ZodLiteral<"USER_ACTION">;
2794
+ cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
2795
+ ip: z.ZodString;
2796
+ params: z.ZodObject<{
2797
+ userId: z.ZodString;
2798
+ userName: z.ZodString;
2799
+ userPriority: z.ZodString;
2800
+ }, "strip", z.ZodTypeAny, {
2801
+ userId: string;
2802
+ userName: string;
2803
+ userPriority: string;
2804
+ }, {
2805
+ userId: string;
2806
+ userName: string;
2807
+ userPriority: string;
2808
+ }>;
2809
+ postJsonBody: z.ZodObject<{
2810
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
2811
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
2812
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
2813
+ idValue: z.ZodString;
2814
+ }, "strip", z.ZodTypeAny, {
2815
+ domain: "adsb" | "remoteId";
2816
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2817
+ idValue: string;
2818
+ }, {
2819
+ domain: "adsb" | "remoteId";
2820
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2821
+ idValue: string;
2822
+ }>, "many">>;
2823
+ }, "strip", z.ZodTypeAny, {
2824
+ list: {
2825
+ domain: "adsb" | "remoteId";
2826
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2827
+ idValue: string;
2828
+ }[];
2829
+ }, {
2830
+ list?: {
2831
+ domain: "adsb" | "remoteId";
2832
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2833
+ idValue: string;
2834
+ }[] | undefined;
2835
+ }>;
2836
+ }, "strip", z.ZodTypeAny, {
2837
+ params: {
2838
+ userId: string;
2839
+ userName: string;
2840
+ userPriority: string;
2841
+ };
2842
+ type: "USER_ACTION";
2843
+ ip: string;
2844
+ cgi: EUserActions.SET_BLACK_LIST;
2845
+ postJsonBody: {
2846
+ list: {
2847
+ domain: "adsb" | "remoteId";
2848
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2849
+ idValue: string;
2850
+ }[];
2851
+ };
2852
+ }, {
2853
+ params: {
2854
+ userId: string;
2855
+ userName: string;
2856
+ userPriority: string;
2857
+ };
2858
+ type: "USER_ACTION";
2859
+ ip: string;
2860
+ cgi: EUserActions.SET_BLACK_LIST;
2861
+ postJsonBody: {
2862
+ list?: {
2863
+ domain: "adsb" | "remoteId";
2864
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2865
+ idValue: string;
2866
+ }[] | undefined;
2867
+ };
2868
+ }>, z.ZodObject<{
2869
+ type: z.ZodLiteral<"USER_ACTION">;
2870
+ cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
2871
+ ip: z.ZodString;
2872
+ params: z.ZodObject<{
2873
+ userId: z.ZodString;
2874
+ userName: z.ZodString;
2875
+ userPriority: z.ZodString;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ userId: string;
2878
+ userName: string;
2879
+ userPriority: string;
2880
+ }, {
2881
+ userId: string;
2882
+ userName: string;
2883
+ userPriority: string;
2884
+ }>;
2885
+ postJsonBody: z.ZodObject<{
2886
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
2887
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
2888
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
2889
+ idValue: z.ZodString;
2890
+ }, "strip", z.ZodTypeAny, {
2891
+ domain: "adsb" | "remoteId";
2892
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2893
+ idValue: string;
2894
+ }, {
2895
+ domain: "adsb" | "remoteId";
2896
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2897
+ idValue: string;
2898
+ }>, "many">>;
2899
+ }, "strip", z.ZodTypeAny, {
2900
+ list: {
2901
+ domain: "adsb" | "remoteId";
2902
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2903
+ idValue: string;
2904
+ }[];
2905
+ }, {
2906
+ list?: {
2907
+ domain: "adsb" | "remoteId";
2908
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2909
+ idValue: string;
2910
+ }[] | undefined;
2911
+ }>;
2912
+ }, "strip", z.ZodTypeAny, {
2913
+ params: {
2914
+ userId: string;
2915
+ userName: string;
2916
+ userPriority: string;
2917
+ };
2918
+ type: "USER_ACTION";
2919
+ ip: string;
2920
+ cgi: EUserActions.SET_WHITE_LIST;
2921
+ postJsonBody: {
2922
+ list: {
2923
+ domain: "adsb" | "remoteId";
2924
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2925
+ idValue: string;
2926
+ }[];
2927
+ };
1520
2928
  }, {
1521
- type: "CAMERA_POSITION";
1522
- lat: number;
1523
- lon: number;
1524
- azimuth: number;
1525
- elevation: number;
1526
- fov: number;
2929
+ params: {
2930
+ userId: string;
2931
+ userName: string;
2932
+ userPriority: string;
2933
+ };
2934
+ type: "USER_ACTION";
2935
+ ip: string;
2936
+ cgi: EUserActions.SET_WHITE_LIST;
2937
+ postJsonBody: {
2938
+ list?: {
2939
+ domain: "adsb" | "remoteId";
2940
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2941
+ idValue: string;
2942
+ }[] | undefined;
2943
+ };
1527
2944
  }>, z.ZodObject<{
1528
- type: z.ZodLiteral<"TRACKING_START">;
1529
- icao: z.ZodString;
2945
+ type: z.ZodLiteral<"USER_ACTION">;
2946
+ cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
2947
+ ip: z.ZodString;
2948
+ params: z.ZodObject<{
2949
+ userId: z.ZodString;
2950
+ userName: z.ZodString;
2951
+ userPriority: z.ZodString;
2952
+ } & {
2953
+ lat: z.ZodString;
2954
+ lon: z.ZodString;
2955
+ }, "strip", z.ZodTypeAny, {
2956
+ lat: string;
2957
+ lon: string;
2958
+ userId: string;
2959
+ userName: string;
2960
+ userPriority: string;
2961
+ }, {
2962
+ lat: string;
2963
+ lon: string;
2964
+ userId: string;
2965
+ userName: string;
2966
+ userPriority: string;
2967
+ }>;
2968
+ postJsonBody: z.ZodAny;
1530
2969
  }, "strip", z.ZodTypeAny, {
1531
- type: "TRACKING_START";
1532
- icao: string;
2970
+ params: {
2971
+ lat: string;
2972
+ lon: string;
2973
+ userId: string;
2974
+ userName: string;
2975
+ userPriority: string;
2976
+ };
2977
+ type: "USER_ACTION";
2978
+ ip: string;
2979
+ cgi: EUserActions.GO_TO_COORDINATES;
2980
+ postJsonBody?: any;
2981
+ }, {
2982
+ params: {
2983
+ lat: string;
2984
+ lon: string;
2985
+ userId: string;
2986
+ userName: string;
2987
+ userPriority: string;
2988
+ };
2989
+ type: "USER_ACTION";
2990
+ ip: string;
2991
+ cgi: EUserActions.GO_TO_COORDINATES;
2992
+ postJsonBody?: any;
2993
+ }>, z.ZodObject<{
2994
+ type: z.ZodLiteral<"USER_ACTION">;
2995
+ cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
2996
+ ip: z.ZodString;
2997
+ params: z.ZodObject<{
2998
+ userId: z.ZodString;
2999
+ userName: z.ZodString;
3000
+ userPriority: z.ZodString;
3001
+ }, "strip", z.ZodTypeAny, {
3002
+ userId: string;
3003
+ userName: string;
3004
+ userPriority: string;
3005
+ }, {
3006
+ userId: string;
3007
+ userName: string;
3008
+ userPriority: string;
3009
+ }>;
3010
+ postJsonBody: z.ZodObject<{
3011
+ mode: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
3012
+ }, "strip", z.ZodTypeAny, {
3013
+ mode: "MANUAL" | "AUTOMATIC";
3014
+ }, {
3015
+ mode?: "MANUAL" | "AUTOMATIC" | undefined;
3016
+ }>;
3017
+ }, "strip", z.ZodTypeAny, {
3018
+ params: {
3019
+ userId: string;
3020
+ userName: string;
3021
+ userPriority: string;
3022
+ };
3023
+ type: "USER_ACTION";
3024
+ ip: string;
3025
+ cgi: EUserActions.SET_TRACKING_MODE;
3026
+ postJsonBody: {
3027
+ mode: "MANUAL" | "AUTOMATIC";
3028
+ };
3029
+ }, {
3030
+ params: {
3031
+ userId: string;
3032
+ userName: string;
3033
+ userPriority: string;
3034
+ };
3035
+ type: "USER_ACTION";
3036
+ ip: string;
3037
+ cgi: EUserActions.SET_TRACKING_MODE;
3038
+ postJsonBody: {
3039
+ mode?: "MANUAL" | "AUTOMATIC" | undefined;
3040
+ };
3041
+ }>, z.ZodObject<{
3042
+ type: z.ZodLiteral<"USER_ACTION">;
3043
+ cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
3044
+ ip: z.ZodString;
3045
+ params: z.ZodObject<{
3046
+ userId: z.ZodString;
3047
+ userName: z.ZodString;
3048
+ userPriority: z.ZodString;
3049
+ }, "strip", z.ZodTypeAny, {
3050
+ userId: string;
3051
+ userName: string;
3052
+ userPriority: string;
3053
+ }, {
3054
+ userId: string;
3055
+ userName: string;
3056
+ userPriority: string;
3057
+ }>;
3058
+ postJsonBody: z.ZodObject<{
3059
+ zones: z.ZodDefault<z.ZodArray<z.ZodObject<{
3060
+ enabled: z.ZodDefault<z.ZodBoolean>;
3061
+ name: z.ZodOptional<z.ZodString>;
3062
+ area: z.ZodArray<z.ZodObject<{
3063
+ lat: z.ZodNumber;
3064
+ lon: z.ZodNumber;
3065
+ }, "strip", z.ZodTypeAny, {
3066
+ lat: number;
3067
+ lon: number;
3068
+ }, {
3069
+ lat: number;
3070
+ lon: number;
3071
+ }>, "atleastone">;
3072
+ minAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
3073
+ maxAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
3074
+ minSpeedKmph: z.ZodOptional<z.ZodNumber>;
3075
+ maxSpeedKmph: z.ZodOptional<z.ZodNumber>;
3076
+ flightDirection: z.ZodDefault<z.ZodEnum<["all", "arrival", "departure"]>>;
3077
+ weight: z.ZodNumber;
3078
+ }, "strip", z.ZodTypeAny, {
3079
+ enabled: boolean;
3080
+ area: [{
3081
+ lat: number;
3082
+ lon: number;
3083
+ }, ...{
3084
+ lat: number;
3085
+ lon: number;
3086
+ }[]];
3087
+ flightDirection: "all" | "arrival" | "departure";
3088
+ weight: number;
3089
+ name?: string | undefined;
3090
+ minAltitudeAmsl?: number | undefined;
3091
+ maxAltitudeAmsl?: number | undefined;
3092
+ minSpeedKmph?: number | undefined;
3093
+ maxSpeedKmph?: number | undefined;
3094
+ }, {
3095
+ area: [{
3096
+ lat: number;
3097
+ lon: number;
3098
+ }, ...{
3099
+ lat: number;
3100
+ lon: number;
3101
+ }[]];
3102
+ weight: number;
3103
+ name?: string | undefined;
3104
+ enabled?: boolean | undefined;
3105
+ minAltitudeAmsl?: number | undefined;
3106
+ maxAltitudeAmsl?: number | undefined;
3107
+ minSpeedKmph?: number | undefined;
3108
+ maxSpeedKmph?: number | undefined;
3109
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
3110
+ }>, "many">>;
3111
+ }, "strip", z.ZodTypeAny, {
3112
+ zones: {
3113
+ enabled: boolean;
3114
+ area: [{
3115
+ lat: number;
3116
+ lon: number;
3117
+ }, ...{
3118
+ lat: number;
3119
+ lon: number;
3120
+ }[]];
3121
+ flightDirection: "all" | "arrival" | "departure";
3122
+ weight: number;
3123
+ name?: string | undefined;
3124
+ minAltitudeAmsl?: number | undefined;
3125
+ maxAltitudeAmsl?: number | undefined;
3126
+ minSpeedKmph?: number | undefined;
3127
+ maxSpeedKmph?: number | undefined;
3128
+ }[];
3129
+ }, {
3130
+ zones?: {
3131
+ area: [{
3132
+ lat: number;
3133
+ lon: number;
3134
+ }, ...{
3135
+ lat: number;
3136
+ lon: number;
3137
+ }[]];
3138
+ weight: number;
3139
+ name?: string | undefined;
3140
+ enabled?: boolean | undefined;
3141
+ minAltitudeAmsl?: number | undefined;
3142
+ maxAltitudeAmsl?: number | undefined;
3143
+ minSpeedKmph?: number | undefined;
3144
+ maxSpeedKmph?: number | undefined;
3145
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
3146
+ }[] | undefined;
3147
+ }>;
3148
+ }, "strip", z.ZodTypeAny, {
3149
+ params: {
3150
+ userId: string;
3151
+ userName: string;
3152
+ userPriority: string;
3153
+ };
3154
+ type: "USER_ACTION";
3155
+ ip: string;
3156
+ cgi: EUserActions.SET_ZONES;
3157
+ postJsonBody: {
3158
+ zones: {
3159
+ enabled: boolean;
3160
+ area: [{
3161
+ lat: number;
3162
+ lon: number;
3163
+ }, ...{
3164
+ lat: number;
3165
+ lon: number;
3166
+ }[]];
3167
+ flightDirection: "all" | "arrival" | "departure";
3168
+ weight: number;
3169
+ name?: string | undefined;
3170
+ minAltitudeAmsl?: number | undefined;
3171
+ maxAltitudeAmsl?: number | undefined;
3172
+ minSpeedKmph?: number | undefined;
3173
+ maxSpeedKmph?: number | undefined;
3174
+ }[];
3175
+ };
1533
3176
  }, {
1534
- type: "TRACKING_START";
1535
- icao: string;
3177
+ params: {
3178
+ userId: string;
3179
+ userName: string;
3180
+ userPriority: string;
3181
+ };
3182
+ type: "USER_ACTION";
3183
+ ip: string;
3184
+ cgi: EUserActions.SET_ZONES;
3185
+ postJsonBody: {
3186
+ zones?: {
3187
+ area: [{
3188
+ lat: number;
3189
+ lon: number;
3190
+ }, ...{
3191
+ lat: number;
3192
+ lon: number;
3193
+ }[]];
3194
+ weight: number;
3195
+ name?: string | undefined;
3196
+ enabled?: boolean | undefined;
3197
+ minAltitudeAmsl?: number | undefined;
3198
+ maxAltitudeAmsl?: number | undefined;
3199
+ minSpeedKmph?: number | undefined;
3200
+ maxSpeedKmph?: number | undefined;
3201
+ flightDirection?: "all" | "arrival" | "departure" | undefined;
3202
+ }[] | undefined;
3203
+ };
1536
3204
  }>, z.ZodObject<{
1537
- type: z.ZodLiteral<"TRACKING_STOP">;
3205
+ type: z.ZodLiteral<"USER_ACTION">;
3206
+ cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
3207
+ ip: z.ZodString;
3208
+ params: z.ZodObject<{
3209
+ userId: z.ZodString;
3210
+ userName: z.ZodString;
3211
+ userPriority: z.ZodString;
3212
+ }, "strip", z.ZodTypeAny, {
3213
+ userId: string;
3214
+ userName: string;
3215
+ userPriority: string;
3216
+ }, {
3217
+ userId: string;
3218
+ userName: string;
3219
+ userPriority: string;
3220
+ }>;
3221
+ postJsonBody: z.ZodAny;
1538
3222
  }, "strip", z.ZodTypeAny, {
1539
- type: "TRACKING_STOP";
3223
+ params: {
3224
+ userId: string;
3225
+ userName: string;
3226
+ userPriority: string;
3227
+ };
3228
+ type: "USER_ACTION";
3229
+ ip: string;
3230
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
3231
+ postJsonBody?: any;
1540
3232
  }, {
1541
- type: "TRACKING_STOP";
3233
+ params: {
3234
+ userId: string;
3235
+ userName: string;
3236
+ userPriority: string;
3237
+ };
3238
+ type: "USER_ACTION";
3239
+ ip: string;
3240
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
3241
+ postJsonBody?: any;
1542
3242
  }>, z.ZodObject<{
1543
- type: z.ZodLiteral<"FLIGHT_LIST">;
1544
- list: z.ZodArray<z.ZodObject<{
1545
- targetId: z.ZodString;
1546
- icao: z.ZodString;
1547
- domain: z.ZodEnum<["adsb", "remoteId"]>;
1548
- categoryId: z.ZodString;
1549
- groupId: z.ZodOptional<z.ZodString>;
1550
- lat: z.ZodNumber;
1551
- lon: z.ZodNumber;
1552
- heading: z.ZodNumber;
1553
- groundSpeed: z.ZodNumber;
1554
- altitudeAMSL: z.ZodNumber;
1555
- cameraDistance: z.ZodNumber;
1556
- autoTrackingOrder: z.ZodNumber;
1557
- whiteListed: z.ZodBoolean;
1558
- blackListed: z.ZodBoolean;
1559
- priorityListed: z.ZodBoolean;
1560
- autoSelectionIgnored: z.ZodBoolean;
1561
- signalQuality: z.ZodNumber;
1562
- emitterCategorySet: z.ZodDefault<z.ZodNumber>;
1563
- emitterCategory: z.ZodDefault<z.ZodNumber>;
1564
- emergencyState: z.ZodBoolean;
1565
- emergencyStatusMessage: z.ZodString;
3243
+ type: z.ZodLiteral<"USER_ACTION">;
3244
+ cgi: z.ZodLiteral<EUserActions.LOCK_API>;
3245
+ ip: z.ZodString;
3246
+ params: z.ZodObject<{
3247
+ userId: z.ZodString;
3248
+ userName: z.ZodString;
3249
+ userPriority: z.ZodString;
3250
+ } & {
3251
+ timeout: z.ZodString;
1566
3252
  }, "strip", z.ZodTypeAny, {
1567
- icao: string;
1568
- domain: "adsb" | "remoteId";
1569
- lat: number;
1570
- lon: number;
1571
- targetId: string;
1572
- categoryId: string;
1573
- heading: number;
1574
- groundSpeed: number;
1575
- altitudeAMSL: number;
1576
- cameraDistance: number;
1577
- autoTrackingOrder: number;
1578
- whiteListed: boolean;
1579
- blackListed: boolean;
1580
- priorityListed: boolean;
1581
- autoSelectionIgnored: boolean;
1582
- signalQuality: number;
1583
- emitterCategorySet: number;
1584
- emitterCategory: number;
1585
- emergencyState: boolean;
1586
- emergencyStatusMessage: string;
1587
- groupId?: string | undefined;
3253
+ timeout: string;
3254
+ userId: string;
3255
+ userName: string;
3256
+ userPriority: string;
1588
3257
  }, {
1589
- icao: string;
1590
- domain: "adsb" | "remoteId";
1591
- lat: number;
1592
- lon: number;
1593
- targetId: string;
1594
- categoryId: string;
1595
- heading: number;
1596
- groundSpeed: number;
1597
- altitudeAMSL: number;
1598
- cameraDistance: number;
1599
- autoTrackingOrder: number;
1600
- whiteListed: boolean;
1601
- blackListed: boolean;
1602
- priorityListed: boolean;
1603
- autoSelectionIgnored: boolean;
1604
- signalQuality: number;
1605
- emergencyState: boolean;
1606
- emergencyStatusMessage: string;
1607
- groupId?: string | undefined;
1608
- emitterCategorySet?: number | undefined;
1609
- emitterCategory?: number | undefined;
1610
- }>, "many">;
3258
+ timeout: string;
3259
+ userId: string;
3260
+ userName: string;
3261
+ userPriority: string;
3262
+ }>;
3263
+ postJsonBody: z.ZodAny;
1611
3264
  }, "strip", z.ZodTypeAny, {
1612
- type: "FLIGHT_LIST";
1613
- list: {
1614
- icao: string;
1615
- domain: "adsb" | "remoteId";
1616
- lat: number;
1617
- lon: number;
1618
- targetId: string;
1619
- categoryId: string;
1620
- heading: number;
1621
- groundSpeed: number;
1622
- altitudeAMSL: number;
1623
- cameraDistance: number;
1624
- autoTrackingOrder: number;
1625
- whiteListed: boolean;
1626
- blackListed: boolean;
1627
- priorityListed: boolean;
1628
- autoSelectionIgnored: boolean;
1629
- signalQuality: number;
1630
- emitterCategorySet: number;
1631
- emitterCategory: number;
1632
- emergencyState: boolean;
1633
- emergencyStatusMessage: string;
1634
- groupId?: string | undefined;
1635
- }[];
3265
+ params: {
3266
+ timeout: string;
3267
+ userId: string;
3268
+ userName: string;
3269
+ userPriority: string;
3270
+ };
3271
+ type: "USER_ACTION";
3272
+ ip: string;
3273
+ cgi: EUserActions.LOCK_API;
3274
+ postJsonBody?: any;
1636
3275
  }, {
1637
- type: "FLIGHT_LIST";
1638
- list: {
1639
- icao: string;
1640
- domain: "adsb" | "remoteId";
1641
- lat: number;
1642
- lon: number;
1643
- targetId: string;
1644
- categoryId: string;
1645
- heading: number;
1646
- groundSpeed: number;
1647
- altitudeAMSL: number;
1648
- cameraDistance: number;
1649
- autoTrackingOrder: number;
1650
- whiteListed: boolean;
1651
- blackListed: boolean;
1652
- priorityListed: boolean;
1653
- autoSelectionIgnored: boolean;
1654
- signalQuality: number;
1655
- emergencyState: boolean;
1656
- emergencyStatusMessage: string;
1657
- groupId?: string | undefined;
1658
- emitterCategorySet?: number | undefined;
1659
- emitterCategory?: number | undefined;
1660
- }[];
3276
+ params: {
3277
+ timeout: string;
3278
+ userId: string;
3279
+ userName: string;
3280
+ userPriority: string;
3281
+ };
3282
+ type: "USER_ACTION";
3283
+ ip: string;
3284
+ cgi: EUserActions.LOCK_API;
3285
+ postJsonBody?: any;
1661
3286
  }>, z.ZodObject<{
1662
3287
  type: z.ZodLiteral<"USER_ACTION">;
3288
+ cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
1663
3289
  ip: z.ZodString;
1664
3290
  params: z.ZodObject<{
1665
3291
  userId: z.ZodString;
1666
3292
  userName: z.ZodString;
1667
3293
  userPriority: z.ZodString;
1668
- } & {
1669
- lat: z.ZodOptional<z.ZodString>;
1670
- lon: z.ZodOptional<z.ZodString>;
1671
- timeout: z.ZodOptional<z.ZodString>;
1672
3294
  }, "strip", z.ZodTypeAny, {
1673
3295
  userId: string;
1674
3296
  userName: string;
1675
3297
  userPriority: string;
1676
- timeout?: string | undefined;
1677
- lat?: string | undefined;
1678
- lon?: string | undefined;
1679
3298
  }, {
1680
3299
  userId: string;
1681
3300
  userName: string;
1682
3301
  userPriority: string;
1683
- timeout?: string | undefined;
1684
- lat?: string | undefined;
1685
- lon?: string | undefined;
1686
3302
  }>;
1687
- cgi: z.ZodEnum<[EUserActions.TRACK_ICAO, EUserActions.RESET_ICAO, EUserActions.SET_PRIORITY_LIST, EUserActions.SET_BLACK_LIST, EUserActions.SET_WHITE_LIST, EUserActions.GO_TO_COORDINATES, EUserActions.SET_TRACKING_MODE, EUserActions.SET_ZONES, EUserActions.RESET_PTZ_CALIBRATION, EUserActions.LOCK_API, EUserActions.UNLOCK_API]>;
1688
3303
  postJsonBody: z.ZodAny;
1689
3304
  }, "strip", z.ZodTypeAny, {
1690
3305
  params: {
1691
3306
  userId: string;
1692
3307
  userName: string;
1693
3308
  userPriority: string;
1694
- timeout?: string | undefined;
1695
- lat?: string | undefined;
1696
- lon?: string | undefined;
1697
3309
  };
1698
3310
  type: "USER_ACTION";
1699
3311
  ip: string;
1700
- cgi: EUserActions;
3312
+ cgi: EUserActions.UNLOCK_API;
1701
3313
  postJsonBody?: any;
1702
3314
  }, {
1703
3315
  params: {
1704
3316
  userId: string;
1705
3317
  userName: string;
1706
3318
  userPriority: string;
1707
- timeout?: string | undefined;
1708
- lat?: string | undefined;
1709
- lon?: string | undefined;
1710
3319
  };
1711
3320
  type: "USER_ACTION";
1712
3321
  ip: string;
1713
- cgi: EUserActions;
3322
+ cgi: EUserActions.UNLOCK_API;
1714
3323
  postJsonBody?: any;
1715
3324
  }>, z.ZodObject<{
1716
3325
  type: z.ZodLiteral<"CONNECTED_USERS">;
1717
3326
  users: z.ZodArray<z.ZodObject<{
1718
3327
  userId: z.ZodString;
1719
3328
  userName: z.ZodString;
1720
- userPriority: z.ZodNumber;
3329
+ } & {
1721
3330
  ip: z.ZodString;
3331
+ userPriority: z.ZodNumber;
1722
3332
  }, "strip", z.ZodTypeAny, {
1723
3333
  ip: string;
1724
3334
  userId: string;
@@ -1750,22 +3360,26 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1750
3360
  type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
1751
3361
  enabled: z.ZodBoolean;
1752
3362
  icao: z.ZodOptional<z.ZodString>;
3363
+ targetId: z.ZodOptional<z.ZodString>;
1753
3364
  }, "strip", z.ZodTypeAny, {
1754
3365
  type: "FORCE_TRACKING_STATUS";
1755
3366
  enabled: boolean;
1756
3367
  icao?: string | undefined;
3368
+ targetId?: string | undefined;
1757
3369
  }, {
1758
3370
  type: "FORCE_TRACKING_STATUS";
1759
3371
  enabled: boolean;
1760
3372
  icao?: string | undefined;
3373
+ targetId?: string | undefined;
1761
3374
  }>, z.ZodObject<{
1762
3375
  type: z.ZodLiteral<"API_LOCK_STATUS">;
1763
3376
  isLocked: z.ZodBoolean;
1764
3377
  user: z.ZodOptional<z.ZodObject<{
1765
3378
  userId: z.ZodString;
1766
3379
  userName: z.ZodString;
1767
- userPriority: z.ZodNumber;
3380
+ } & {
1768
3381
  ip: z.ZodString;
3382
+ userPriority: z.ZodNumber;
1769
3383
  }, "strip", z.ZodTypeAny, {
1770
3384
  ip: string;
1771
3385
  userId: string;
@@ -1797,11 +3411,13 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1797
3411
  } | undefined;
1798
3412
  }>]>;
1799
3413
  export type TEventData = z.infer<typeof eventsDataSchema>;
3414
+ export type TWsUserActionData = Extract<TEventData, {
3415
+ type: 'USER_ACTION';
3416
+ }>;
3417
+ export type TUserActionDataOfCgi<T extends EUserActions> = Extract<TWsUserActionData, {
3418
+ cgi: T;
3419
+ }>;
1800
3420
  export type TWsApiFlightData = z.infer<typeof wsApiFlightDataSchema>;
1801
3421
  export type TWsApiCameraData = z.infer<typeof wsCameraPositionDataSchema>;
1802
3422
  export type TApiUser = z.infer<typeof apiUserSchema>;
1803
- export type TUserActionData = z.infer<typeof wsUserActionData>;
1804
- export type TUserActionDataOfCgi<T extends EUserActions> = Extract<TUserActionData, {
1805
- cgi: T;
1806
- }>;
1807
3423
  export {};