camstreamerlib 4.0.5 → 4.0.7

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.
@@ -1,6 +1,10 @@
1
1
  import { z } from 'zod';
2
- declare const apiFlightDataSchema: z.ZodObject<{
2
+ declare const wsApiFlightDataSchema: z.ZodObject<{
3
+ targetId: z.ZodString;
3
4
  icao: z.ZodString;
5
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
6
+ categoryId: z.ZodString;
7
+ groupId: z.ZodOptional<z.ZodString>;
4
8
  lat: z.ZodNumber;
5
9
  lon: z.ZodNumber;
6
10
  heading: z.ZodNumber;
@@ -11,7 +15,6 @@ declare const apiFlightDataSchema: z.ZodObject<{
11
15
  whiteListed: z.ZodBoolean;
12
16
  blackListed: z.ZodBoolean;
13
17
  priorityListed: z.ZodBoolean;
14
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
15
18
  autoSelectionIgnored: z.ZodBoolean;
16
19
  signalQuality: z.ZodNumber;
17
20
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -20,8 +23,11 @@ declare const apiFlightDataSchema: z.ZodObject<{
20
23
  emergencyStatusMessage: z.ZodString;
21
24
  }, "strip", z.ZodTypeAny, {
22
25
  icao: string;
26
+ domain: "adsb" | "remoteId";
23
27
  lat: number;
24
28
  lon: number;
29
+ targetId: string;
30
+ categoryId: string;
25
31
  heading: number;
26
32
  groundSpeed: number;
27
33
  altitudeAMSL: number;
@@ -30,17 +36,20 @@ declare const apiFlightDataSchema: z.ZodObject<{
30
36
  whiteListed: boolean;
31
37
  blackListed: boolean;
32
38
  priorityListed: boolean;
33
- typePriorityListed: boolean;
34
39
  autoSelectionIgnored: boolean;
35
40
  signalQuality: number;
36
41
  emitterCategorySet: number;
37
42
  emitterCategory: number;
38
43
  emergencyState: boolean;
39
44
  emergencyStatusMessage: string;
45
+ groupId?: string | undefined;
40
46
  }, {
41
47
  icao: string;
48
+ domain: "adsb" | "remoteId";
42
49
  lat: number;
43
50
  lon: number;
51
+ targetId: string;
52
+ categoryId: string;
44
53
  heading: number;
45
54
  groundSpeed: number;
46
55
  altitudeAMSL: number;
@@ -53,10 +62,29 @@ declare const apiFlightDataSchema: z.ZodObject<{
53
62
  signalQuality: number;
54
63
  emergencyState: boolean;
55
64
  emergencyStatusMessage: string;
56
- typePriorityListed?: boolean | undefined;
65
+ groupId?: string | undefined;
57
66
  emitterCategorySet?: number | undefined;
58
67
  emitterCategory?: number | undefined;
59
68
  }>;
69
+ declare const wsCameraPositionDataSchema: z.ZodObject<{
70
+ lat: z.ZodNumber;
71
+ lon: z.ZodNumber;
72
+ azimuth: z.ZodNumber;
73
+ elevation: z.ZodNumber;
74
+ fov: z.ZodNumber;
75
+ }, "strip", z.ZodTypeAny, {
76
+ lat: number;
77
+ lon: number;
78
+ azimuth: number;
79
+ elevation: number;
80
+ fov: number;
81
+ }, {
82
+ lat: number;
83
+ lon: number;
84
+ azimuth: number;
85
+ elevation: number;
86
+ fov: number;
87
+ }>;
60
88
  declare const apiUserSchema: z.ZodObject<{
61
89
  userId: z.ZodString;
62
90
  userName: z.ZodString;
@@ -73,33 +101,11 @@ declare const apiUserSchema: z.ZodObject<{
73
101
  userName: string;
74
102
  userPriority: number;
75
103
  }>;
76
- declare const apiStringUserSchema: z.ZodObject<{
77
- userId: z.ZodString;
78
- userName: z.ZodString;
79
- userPriority: z.ZodString;
80
- }, "strip", z.ZodTypeAny, {
81
- userId: string;
82
- userName: string;
83
- userPriority: string;
84
- }, {
85
- userId: string;
86
- userName: string;
87
- userPriority: string;
88
- }>;
89
- export declare enum PlaneTrackerWsEvents {
90
- FLIGHT_LIST = "FLIGHT_LIST",
91
- CAMERA_POSITION = "CAMERA_POSITION",
92
- TRACKING_START = "TRACKING_START",
93
- TRACKING_STOP = "TRACKING_STOP",
94
- USER_ACTION = "USER_ACTION",
95
- CONNECTED_USERS = "CONNECTED_USERS",
96
- FORCE_TRACKING_STATUS = "FORCE_TRACKING_STATUS"
97
- }
98
- export declare enum PlaneTrackerUserActions {
104
+ export type TEventType = 'CAMERA_POSITION' | 'TRACKING_START' | 'TRACKING_STOP' | 'FLIGHT_LIST' | 'USER_ACTION' | 'CONNECTED_USERS' | 'FORCE_TRACKING_STATUS' | 'API_LOCK_STATUS';
105
+ export declare enum EUserActions {
99
106
  TRACK_ICAO = "trackIcao.cgi",
100
107
  RESET_ICAO = "resetIcao.cgi",
101
108
  SET_PRIORITY_LIST = "setPriorityList.cgi",
102
- SET_TYPE_PRIORITY_LIST = "setTypePriorityList.cgi",
103
109
  SET_BLACK_LIST = "setBlackList.cgi",
104
110
  SET_WHITE_LIST = "setWhiteList.cgi",
105
111
  GO_TO_COORDINATES = "goToCoordinates.cgi",
@@ -109,8 +115,8 @@ export declare enum PlaneTrackerUserActions {
109
115
  LOCK_API = "lockApi.cgi",
110
116
  UNLOCK_API = "unlockApi.cgi"
111
117
  }
112
- export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObject<{
113
- cgi: z.ZodLiteral<PlaneTrackerUserActions.TRACK_ICAO>;
118
+ export declare const wsUserActionData: z.ZodDiscriminatedUnion<"cgi", [z.ZodObject<{
119
+ cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
114
120
  ip: z.ZodString;
115
121
  params: z.ZodObject<{
116
122
  userId: z.ZodString;
@@ -137,7 +143,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
137
143
  userPriority: string;
138
144
  };
139
145
  ip: string;
140
- cgi: PlaneTrackerUserActions.TRACK_ICAO;
146
+ cgi: EUserActions.TRACK_ICAO;
141
147
  }, {
142
148
  params: {
143
149
  icao: string;
@@ -146,9 +152,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
146
152
  userPriority: string;
147
153
  };
148
154
  ip: string;
149
- cgi: PlaneTrackerUserActions.TRACK_ICAO;
155
+ cgi: EUserActions.TRACK_ICAO;
150
156
  }>, z.ZodObject<{
151
- cgi: z.ZodLiteral<PlaneTrackerUserActions.RESET_ICAO>;
157
+ cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
152
158
  ip: z.ZodString;
153
159
  params: z.ZodObject<{
154
160
  userId: z.ZodString;
@@ -170,7 +176,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
170
176
  userPriority: string;
171
177
  };
172
178
  ip: string;
173
- cgi: PlaneTrackerUserActions.RESET_ICAO;
179
+ cgi: EUserActions.RESET_ICAO;
174
180
  }, {
175
181
  params: {
176
182
  userId: string;
@@ -178,9 +184,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
178
184
  userPriority: string;
179
185
  };
180
186
  ip: string;
181
- cgi: PlaneTrackerUserActions.RESET_ICAO;
187
+ cgi: EUserActions.RESET_ICAO;
182
188
  }>, z.ZodObject<{
183
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_PRIORITY_LIST>;
189
+ cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
184
190
  ip: z.ZodString;
185
191
  params: z.ZodObject<{
186
192
  userId: z.ZodString;
@@ -196,56 +202,37 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
196
202
  userPriority: string;
197
203
  }>;
198
204
  postJsonBody: z.ZodObject<{
199
- priorityList: z.ZodArray<z.ZodString, "many">;
200
- }, "strip", z.ZodTypeAny, {
201
- priorityList: string[];
202
- }, {
203
- priorityList: string[];
204
- }>;
205
- }, "strip", z.ZodTypeAny, {
206
- params: {
207
- userId: string;
208
- userName: string;
209
- userPriority: string;
210
- };
211
- ip: string;
212
- cgi: PlaneTrackerUserActions.SET_PRIORITY_LIST;
213
- postJsonBody: {
214
- priorityList: string[];
215
- };
216
- }, {
217
- params: {
218
- userId: string;
219
- userName: string;
220
- userPriority: string;
221
- };
222
- ip: string;
223
- cgi: PlaneTrackerUserActions.SET_PRIORITY_LIST;
224
- postJsonBody: {
225
- priorityList: string[];
226
- };
227
- }>, z.ZodObject<{
228
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST>;
229
- ip: z.ZodString;
230
- params: z.ZodObject<{
231
- userId: z.ZodString;
232
- userName: z.ZodString;
233
- userPriority: z.ZodString;
234
- }, "strip", z.ZodTypeAny, {
235
- userId: string;
236
- userName: string;
237
- userPriority: string;
238
- }, {
239
- userId: string;
240
- userName: string;
241
- userPriority: string;
242
- }>;
243
- postJsonBody: z.ZodObject<{
244
- typePriorityList: z.ZodArray<z.ZodString, "many">;
205
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
206
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
207
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
208
+ idValue: z.ZodString;
209
+ } & {
210
+ priority: z.ZodNumber;
211
+ }, "strip", z.ZodTypeAny, {
212
+ priority: number;
213
+ domain: "adsb" | "remoteId";
214
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
215
+ idValue: string;
216
+ }, {
217
+ priority: number;
218
+ domain: "adsb" | "remoteId";
219
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
220
+ idValue: string;
221
+ }>, "many">>;
245
222
  }, "strip", z.ZodTypeAny, {
246
- typePriorityList: string[];
223
+ list: {
224
+ priority: number;
225
+ domain: "adsb" | "remoteId";
226
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
227
+ idValue: string;
228
+ }[];
247
229
  }, {
248
- typePriorityList: string[];
230
+ list?: {
231
+ priority: number;
232
+ domain: "adsb" | "remoteId";
233
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
234
+ idValue: string;
235
+ }[] | undefined;
249
236
  }>;
250
237
  }, "strip", z.ZodTypeAny, {
251
238
  params: {
@@ -254,9 +241,14 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
254
241
  userPriority: string;
255
242
  };
256
243
  ip: string;
257
- cgi: PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST;
244
+ cgi: EUserActions.SET_PRIORITY_LIST;
258
245
  postJsonBody: {
259
- typePriorityList: string[];
246
+ list: {
247
+ priority: number;
248
+ domain: "adsb" | "remoteId";
249
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
250
+ idValue: string;
251
+ }[];
260
252
  };
261
253
  }, {
262
254
  params: {
@@ -265,12 +257,17 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
265
257
  userPriority: string;
266
258
  };
267
259
  ip: string;
268
- cgi: PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST;
260
+ cgi: EUserActions.SET_PRIORITY_LIST;
269
261
  postJsonBody: {
270
- typePriorityList: string[];
262
+ list?: {
263
+ priority: number;
264
+ domain: "adsb" | "remoteId";
265
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
266
+ idValue: string;
267
+ }[] | undefined;
271
268
  };
272
269
  }>, z.ZodObject<{
273
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_BLACK_LIST>;
270
+ cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
274
271
  ip: z.ZodString;
275
272
  params: z.ZodObject<{
276
273
  userId: z.ZodString;
@@ -286,11 +283,31 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
286
283
  userPriority: string;
287
284
  }>;
288
285
  postJsonBody: z.ZodObject<{
289
- blackList: z.ZodArray<z.ZodString, "many">;
286
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
287
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
288
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
289
+ idValue: z.ZodString;
290
+ }, "strip", z.ZodTypeAny, {
291
+ domain: "adsb" | "remoteId";
292
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
293
+ idValue: string;
294
+ }, {
295
+ domain: "adsb" | "remoteId";
296
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
297
+ idValue: string;
298
+ }>, "many">>;
290
299
  }, "strip", z.ZodTypeAny, {
291
- blackList: string[];
300
+ list: {
301
+ domain: "adsb" | "remoteId";
302
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
303
+ idValue: string;
304
+ }[];
292
305
  }, {
293
- blackList: string[];
306
+ list?: {
307
+ domain: "adsb" | "remoteId";
308
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
309
+ idValue: string;
310
+ }[] | undefined;
294
311
  }>;
295
312
  }, "strip", z.ZodTypeAny, {
296
313
  params: {
@@ -299,9 +316,13 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
299
316
  userPriority: string;
300
317
  };
301
318
  ip: string;
302
- cgi: PlaneTrackerUserActions.SET_BLACK_LIST;
319
+ cgi: EUserActions.SET_BLACK_LIST;
303
320
  postJsonBody: {
304
- blackList: string[];
321
+ list: {
322
+ domain: "adsb" | "remoteId";
323
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
324
+ idValue: string;
325
+ }[];
305
326
  };
306
327
  }, {
307
328
  params: {
@@ -310,12 +331,16 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
310
331
  userPriority: string;
311
332
  };
312
333
  ip: string;
313
- cgi: PlaneTrackerUserActions.SET_BLACK_LIST;
334
+ cgi: EUserActions.SET_BLACK_LIST;
314
335
  postJsonBody: {
315
- blackList: string[];
336
+ list?: {
337
+ domain: "adsb" | "remoteId";
338
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
339
+ idValue: string;
340
+ }[] | undefined;
316
341
  };
317
342
  }>, z.ZodObject<{
318
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_WHITE_LIST>;
343
+ cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
319
344
  ip: z.ZodString;
320
345
  params: z.ZodObject<{
321
346
  userId: z.ZodString;
@@ -331,11 +356,31 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
331
356
  userPriority: string;
332
357
  }>;
333
358
  postJsonBody: z.ZodObject<{
334
- whiteList: z.ZodArray<z.ZodString, "many">;
359
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
360
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
361
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
362
+ idValue: z.ZodString;
363
+ }, "strip", z.ZodTypeAny, {
364
+ domain: "adsb" | "remoteId";
365
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
366
+ idValue: string;
367
+ }, {
368
+ domain: "adsb" | "remoteId";
369
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
370
+ idValue: string;
371
+ }>, "many">>;
335
372
  }, "strip", z.ZodTypeAny, {
336
- whiteList: string[];
373
+ list: {
374
+ domain: "adsb" | "remoteId";
375
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
376
+ idValue: string;
377
+ }[];
337
378
  }, {
338
- whiteList: string[];
379
+ list?: {
380
+ domain: "adsb" | "remoteId";
381
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
382
+ idValue: string;
383
+ }[] | undefined;
339
384
  }>;
340
385
  }, "strip", z.ZodTypeAny, {
341
386
  params: {
@@ -344,9 +389,13 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
344
389
  userPriority: string;
345
390
  };
346
391
  ip: string;
347
- cgi: PlaneTrackerUserActions.SET_WHITE_LIST;
392
+ cgi: EUserActions.SET_WHITE_LIST;
348
393
  postJsonBody: {
349
- whiteList: string[];
394
+ list: {
395
+ domain: "adsb" | "remoteId";
396
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
397
+ idValue: string;
398
+ }[];
350
399
  };
351
400
  }, {
352
401
  params: {
@@ -355,12 +404,16 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
355
404
  userPriority: string;
356
405
  };
357
406
  ip: string;
358
- cgi: PlaneTrackerUserActions.SET_WHITE_LIST;
407
+ cgi: EUserActions.SET_WHITE_LIST;
359
408
  postJsonBody: {
360
- whiteList: string[];
409
+ list?: {
410
+ domain: "adsb" | "remoteId";
411
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
412
+ idValue: string;
413
+ }[] | undefined;
361
414
  };
362
415
  }>, z.ZodObject<{
363
- cgi: z.ZodLiteral<PlaneTrackerUserActions.GO_TO_COORDINATES>;
416
+ cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
364
417
  ip: z.ZodString;
365
418
  params: z.ZodObject<{
366
419
  userId: z.ZodString;
@@ -391,7 +444,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
391
444
  userPriority: string;
392
445
  };
393
446
  ip: string;
394
- cgi: PlaneTrackerUserActions.GO_TO_COORDINATES;
447
+ cgi: EUserActions.GO_TO_COORDINATES;
395
448
  }, {
396
449
  params: {
397
450
  lat: string;
@@ -401,9 +454,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
401
454
  userPriority: string;
402
455
  };
403
456
  ip: string;
404
- cgi: PlaneTrackerUserActions.GO_TO_COORDINATES;
457
+ cgi: EUserActions.GO_TO_COORDINATES;
405
458
  }>, z.ZodObject<{
406
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_TRACKING_MODE>;
459
+ cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
407
460
  ip: z.ZodString;
408
461
  params: z.ZodObject<{
409
462
  userId: z.ZodString;
@@ -432,7 +485,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
432
485
  userPriority: string;
433
486
  };
434
487
  ip: string;
435
- cgi: PlaneTrackerUserActions.SET_TRACKING_MODE;
488
+ cgi: EUserActions.SET_TRACKING_MODE;
436
489
  postJsonBody: {
437
490
  mode: "MANUAL" | "AUTOMATIC";
438
491
  };
@@ -443,12 +496,12 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
443
496
  userPriority: string;
444
497
  };
445
498
  ip: string;
446
- cgi: PlaneTrackerUserActions.SET_TRACKING_MODE;
499
+ cgi: EUserActions.SET_TRACKING_MODE;
447
500
  postJsonBody: {
448
501
  mode?: "MANUAL" | "AUTOMATIC" | undefined;
449
502
  };
450
503
  }>, z.ZodObject<{
451
- cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_ZONES>;
504
+ cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
452
505
  ip: z.ZodString;
453
506
  params: z.ZodObject<{
454
507
  userId: z.ZodString;
@@ -560,7 +613,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
560
613
  userPriority: string;
561
614
  };
562
615
  ip: string;
563
- cgi: PlaneTrackerUserActions.SET_ZONES;
616
+ cgi: EUserActions.SET_ZONES;
564
617
  postJsonBody: {
565
618
  zones: {
566
619
  enabled: boolean;
@@ -587,7 +640,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
587
640
  userPriority: string;
588
641
  };
589
642
  ip: string;
590
- cgi: PlaneTrackerUserActions.SET_ZONES;
643
+ cgi: EUserActions.SET_ZONES;
591
644
  postJsonBody: {
592
645
  zones?: {
593
646
  area: [{
@@ -608,7 +661,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
608
661
  }[] | undefined;
609
662
  };
610
663
  }>, z.ZodObject<{
611
- cgi: z.ZodLiteral<PlaneTrackerUserActions.RESET_PTZ_CALIBRATION>;
664
+ cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
612
665
  ip: z.ZodString;
613
666
  params: z.ZodObject<{
614
667
  userId: z.ZodString;
@@ -630,7 +683,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
630
683
  userPriority: string;
631
684
  };
632
685
  ip: string;
633
- cgi: PlaneTrackerUserActions.RESET_PTZ_CALIBRATION;
686
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
634
687
  }, {
635
688
  params: {
636
689
  userId: string;
@@ -638,9 +691,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
638
691
  userPriority: string;
639
692
  };
640
693
  ip: string;
641
- cgi: PlaneTrackerUserActions.RESET_PTZ_CALIBRATION;
694
+ cgi: EUserActions.RESET_PTZ_CALIBRATION;
642
695
  }>, z.ZodObject<{
643
- cgi: z.ZodLiteral<PlaneTrackerUserActions.LOCK_API>;
696
+ cgi: z.ZodLiteral<EUserActions.LOCK_API>;
644
697
  ip: z.ZodString;
645
698
  params: z.ZodObject<{
646
699
  userId: z.ZodString;
@@ -667,7 +720,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
667
720
  userPriority: string;
668
721
  };
669
722
  ip: string;
670
- cgi: PlaneTrackerUserActions.LOCK_API;
723
+ cgi: EUserActions.LOCK_API;
671
724
  }, {
672
725
  params: {
673
726
  timeout: string;
@@ -676,9 +729,9 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
676
729
  userPriority: string;
677
730
  };
678
731
  ip: string;
679
- cgi: PlaneTrackerUserActions.LOCK_API;
732
+ cgi: EUserActions.LOCK_API;
680
733
  }>, z.ZodObject<{
681
- cgi: z.ZodLiteral<PlaneTrackerUserActions.UNLOCK_API>;
734
+ cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
682
735
  ip: z.ZodString;
683
736
  params: z.ZodObject<{
684
737
  userId: z.ZodString;
@@ -700,7 +753,7 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
700
753
  userPriority: string;
701
754
  };
702
755
  ip: string;
703
- cgi: PlaneTrackerUserActions.UNLOCK_API;
756
+ cgi: EUserActions.UNLOCK_API;
704
757
  }, {
705
758
  params: {
706
759
  userId: string;
@@ -708,10 +761,12 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
708
761
  userPriority: string;
709
762
  };
710
763
  ip: string;
711
- cgi: PlaneTrackerUserActions.UNLOCK_API;
764
+ cgi: EUserActions.UNLOCK_API;
712
765
  }>]>;
713
- declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
766
+ export type TWsUserActionData = z.infer<typeof wsUserActionData>;
767
+ declare const eventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
714
768
  type: z.ZodLiteral<"CAMERA_POSITION">;
769
+ } & {
715
770
  lat: z.ZodNumber;
716
771
  lon: z.ZodNumber;
717
772
  azimuth: z.ZodNumber;
@@ -749,7 +804,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
749
804
  }>, z.ZodObject<{
750
805
  type: z.ZodLiteral<"FLIGHT_LIST">;
751
806
  list: z.ZodArray<z.ZodObject<{
807
+ targetId: z.ZodString;
752
808
  icao: z.ZodString;
809
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
810
+ categoryId: z.ZodString;
811
+ groupId: z.ZodOptional<z.ZodString>;
753
812
  lat: z.ZodNumber;
754
813
  lon: z.ZodNumber;
755
814
  heading: z.ZodNumber;
@@ -760,7 +819,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
760
819
  whiteListed: z.ZodBoolean;
761
820
  blackListed: z.ZodBoolean;
762
821
  priorityListed: z.ZodBoolean;
763
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
764
822
  autoSelectionIgnored: z.ZodBoolean;
765
823
  signalQuality: z.ZodNumber;
766
824
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -769,8 +827,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
769
827
  emergencyStatusMessage: z.ZodString;
770
828
  }, "strip", z.ZodTypeAny, {
771
829
  icao: string;
830
+ domain: "adsb" | "remoteId";
772
831
  lat: number;
773
832
  lon: number;
833
+ targetId: string;
834
+ categoryId: string;
774
835
  heading: number;
775
836
  groundSpeed: number;
776
837
  altitudeAMSL: number;
@@ -779,17 +840,20 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
779
840
  whiteListed: boolean;
780
841
  blackListed: boolean;
781
842
  priorityListed: boolean;
782
- typePriorityListed: boolean;
783
843
  autoSelectionIgnored: boolean;
784
844
  signalQuality: number;
785
845
  emitterCategorySet: number;
786
846
  emitterCategory: number;
787
847
  emergencyState: boolean;
788
848
  emergencyStatusMessage: string;
849
+ groupId?: string | undefined;
789
850
  }, {
790
851
  icao: string;
852
+ domain: "adsb" | "remoteId";
791
853
  lat: number;
792
854
  lon: number;
855
+ targetId: string;
856
+ categoryId: string;
793
857
  heading: number;
794
858
  groundSpeed: number;
795
859
  altitudeAMSL: number;
@@ -802,7 +866,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
802
866
  signalQuality: number;
803
867
  emergencyState: boolean;
804
868
  emergencyStatusMessage: string;
805
- typePriorityListed?: boolean | undefined;
869
+ groupId?: string | undefined;
806
870
  emitterCategorySet?: number | undefined;
807
871
  emitterCategory?: number | undefined;
808
872
  }>, "many">;
@@ -810,8 +874,11 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
810
874
  type: "FLIGHT_LIST";
811
875
  list: {
812
876
  icao: string;
877
+ domain: "adsb" | "remoteId";
813
878
  lat: number;
814
879
  lon: number;
880
+ targetId: string;
881
+ categoryId: string;
815
882
  heading: number;
816
883
  groundSpeed: number;
817
884
  altitudeAMSL: number;
@@ -820,20 +887,23 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
820
887
  whiteListed: boolean;
821
888
  blackListed: boolean;
822
889
  priorityListed: boolean;
823
- typePriorityListed: boolean;
824
890
  autoSelectionIgnored: boolean;
825
891
  signalQuality: number;
826
892
  emitterCategorySet: number;
827
893
  emitterCategory: number;
828
894
  emergencyState: boolean;
829
895
  emergencyStatusMessage: string;
896
+ groupId?: string | undefined;
830
897
  }[];
831
898
  }, {
832
899
  type: "FLIGHT_LIST";
833
900
  list: {
834
901
  icao: string;
902
+ domain: "adsb" | "remoteId";
835
903
  lat: number;
836
904
  lon: number;
905
+ targetId: string;
906
+ categoryId: string;
837
907
  heading: number;
838
908
  groundSpeed: number;
839
909
  altitudeAMSL: number;
@@ -846,7 +916,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
846
916
  signalQuality: number;
847
917
  emergencyState: boolean;
848
918
  emergencyStatusMessage: string;
849
- typePriorityListed?: boolean | undefined;
919
+ groupId?: string | undefined;
850
920
  emitterCategorySet?: number | undefined;
851
921
  emitterCategory?: number | undefined;
852
922
  }[];
@@ -876,7 +946,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
876
946
  lat?: string | undefined;
877
947
  lon?: string | undefined;
878
948
  }>;
879
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
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]>;
880
950
  postJsonBody: z.ZodAny;
881
951
  }, "strip", z.ZodTypeAny, {
882
952
  params: {
@@ -889,7 +959,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
889
959
  };
890
960
  type: "USER_ACTION";
891
961
  ip: string;
892
- cgi: PlaneTrackerUserActions;
962
+ cgi: EUserActions;
893
963
  postJsonBody?: any;
894
964
  }, {
895
965
  params: {
@@ -902,7 +972,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
902
972
  };
903
973
  type: "USER_ACTION";
904
974
  ip: string;
905
- cgi: PlaneTrackerUserActions;
975
+ cgi: EUserActions;
906
976
  postJsonBody?: any;
907
977
  }>, z.ZodObject<{
908
978
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -992,6 +1062,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
992
1062
  type: z.ZodLiteral<"init">;
993
1063
  data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
994
1064
  type: z.ZodLiteral<"CAMERA_POSITION">;
1065
+ } & {
995
1066
  lat: z.ZodNumber;
996
1067
  lon: z.ZodNumber;
997
1068
  azimuth: z.ZodNumber;
@@ -1029,7 +1100,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1029
1100
  }>, z.ZodObject<{
1030
1101
  type: z.ZodLiteral<"FLIGHT_LIST">;
1031
1102
  list: z.ZodArray<z.ZodObject<{
1103
+ targetId: z.ZodString;
1032
1104
  icao: z.ZodString;
1105
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1106
+ categoryId: z.ZodString;
1107
+ groupId: z.ZodOptional<z.ZodString>;
1033
1108
  lat: z.ZodNumber;
1034
1109
  lon: z.ZodNumber;
1035
1110
  heading: z.ZodNumber;
@@ -1040,7 +1115,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1040
1115
  whiteListed: z.ZodBoolean;
1041
1116
  blackListed: z.ZodBoolean;
1042
1117
  priorityListed: z.ZodBoolean;
1043
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
1044
1118
  autoSelectionIgnored: z.ZodBoolean;
1045
1119
  signalQuality: z.ZodNumber;
1046
1120
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -1049,8 +1123,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1049
1123
  emergencyStatusMessage: z.ZodString;
1050
1124
  }, "strip", z.ZodTypeAny, {
1051
1125
  icao: string;
1126
+ domain: "adsb" | "remoteId";
1052
1127
  lat: number;
1053
1128
  lon: number;
1129
+ targetId: string;
1130
+ categoryId: string;
1054
1131
  heading: number;
1055
1132
  groundSpeed: number;
1056
1133
  altitudeAMSL: number;
@@ -1059,17 +1136,20 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1059
1136
  whiteListed: boolean;
1060
1137
  blackListed: boolean;
1061
1138
  priorityListed: boolean;
1062
- typePriorityListed: boolean;
1063
1139
  autoSelectionIgnored: boolean;
1064
1140
  signalQuality: number;
1065
1141
  emitterCategorySet: number;
1066
1142
  emitterCategory: number;
1067
1143
  emergencyState: boolean;
1068
1144
  emergencyStatusMessage: string;
1145
+ groupId?: string | undefined;
1069
1146
  }, {
1070
1147
  icao: string;
1148
+ domain: "adsb" | "remoteId";
1071
1149
  lat: number;
1072
1150
  lon: number;
1151
+ targetId: string;
1152
+ categoryId: string;
1073
1153
  heading: number;
1074
1154
  groundSpeed: number;
1075
1155
  altitudeAMSL: number;
@@ -1082,7 +1162,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1082
1162
  signalQuality: number;
1083
1163
  emergencyState: boolean;
1084
1164
  emergencyStatusMessage: string;
1085
- typePriorityListed?: boolean | undefined;
1165
+ groupId?: string | undefined;
1086
1166
  emitterCategorySet?: number | undefined;
1087
1167
  emitterCategory?: number | undefined;
1088
1168
  }>, "many">;
@@ -1090,8 +1170,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1090
1170
  type: "FLIGHT_LIST";
1091
1171
  list: {
1092
1172
  icao: string;
1173
+ domain: "adsb" | "remoteId";
1093
1174
  lat: number;
1094
1175
  lon: number;
1176
+ targetId: string;
1177
+ categoryId: string;
1095
1178
  heading: number;
1096
1179
  groundSpeed: number;
1097
1180
  altitudeAMSL: number;
@@ -1100,20 +1183,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1100
1183
  whiteListed: boolean;
1101
1184
  blackListed: boolean;
1102
1185
  priorityListed: boolean;
1103
- typePriorityListed: boolean;
1104
1186
  autoSelectionIgnored: boolean;
1105
1187
  signalQuality: number;
1106
1188
  emitterCategorySet: number;
1107
1189
  emitterCategory: number;
1108
1190
  emergencyState: boolean;
1109
1191
  emergencyStatusMessage: string;
1192
+ groupId?: string | undefined;
1110
1193
  }[];
1111
1194
  }, {
1112
1195
  type: "FLIGHT_LIST";
1113
1196
  list: {
1114
1197
  icao: string;
1198
+ domain: "adsb" | "remoteId";
1115
1199
  lat: number;
1116
1200
  lon: number;
1201
+ targetId: string;
1202
+ categoryId: string;
1117
1203
  heading: number;
1118
1204
  groundSpeed: number;
1119
1205
  altitudeAMSL: number;
@@ -1126,7 +1212,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1126
1212
  signalQuality: number;
1127
1213
  emergencyState: boolean;
1128
1214
  emergencyStatusMessage: string;
1129
- typePriorityListed?: boolean | undefined;
1215
+ groupId?: string | undefined;
1130
1216
  emitterCategorySet?: number | undefined;
1131
1217
  emitterCategory?: number | undefined;
1132
1218
  }[];
@@ -1156,7 +1242,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1156
1242
  lat?: string | undefined;
1157
1243
  lon?: string | undefined;
1158
1244
  }>;
1159
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
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]>;
1160
1246
  postJsonBody: z.ZodAny;
1161
1247
  }, "strip", z.ZodTypeAny, {
1162
1248
  params: {
@@ -1169,7 +1255,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1169
1255
  };
1170
1256
  type: "USER_ACTION";
1171
1257
  ip: string;
1172
- cgi: PlaneTrackerUserActions;
1258
+ cgi: EUserActions;
1173
1259
  postJsonBody?: any;
1174
1260
  }, {
1175
1261
  params: {
@@ -1182,7 +1268,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1182
1268
  };
1183
1269
  type: "USER_ACTION";
1184
1270
  ip: string;
1185
- cgi: PlaneTrackerUserActions;
1271
+ cgi: EUserActions;
1186
1272
  postJsonBody?: any;
1187
1273
  }>, z.ZodObject<{
1188
1274
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -1286,8 +1372,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1286
1372
  type: "FLIGHT_LIST";
1287
1373
  list: {
1288
1374
  icao: string;
1375
+ domain: "adsb" | "remoteId";
1289
1376
  lat: number;
1290
1377
  lon: number;
1378
+ targetId: string;
1379
+ categoryId: string;
1291
1380
  heading: number;
1292
1381
  groundSpeed: number;
1293
1382
  altitudeAMSL: number;
@@ -1296,13 +1385,13 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1296
1385
  whiteListed: boolean;
1297
1386
  blackListed: boolean;
1298
1387
  priorityListed: boolean;
1299
- typePriorityListed: boolean;
1300
1388
  autoSelectionIgnored: boolean;
1301
1389
  signalQuality: number;
1302
1390
  emitterCategorySet: number;
1303
1391
  emitterCategory: number;
1304
1392
  emergencyState: boolean;
1305
1393
  emergencyStatusMessage: string;
1394
+ groupId?: string | undefined;
1306
1395
  }[];
1307
1396
  } | {
1308
1397
  params: {
@@ -1315,7 +1404,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1315
1404
  };
1316
1405
  type: "USER_ACTION";
1317
1406
  ip: string;
1318
- cgi: PlaneTrackerUserActions;
1407
+ cgi: EUserActions;
1319
1408
  postJsonBody?: any;
1320
1409
  } | {
1321
1410
  type: "CONNECTED_USERS";
@@ -1357,8 +1446,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1357
1446
  type: "FLIGHT_LIST";
1358
1447
  list: {
1359
1448
  icao: string;
1449
+ domain: "adsb" | "remoteId";
1360
1450
  lat: number;
1361
1451
  lon: number;
1452
+ targetId: string;
1453
+ categoryId: string;
1362
1454
  heading: number;
1363
1455
  groundSpeed: number;
1364
1456
  altitudeAMSL: number;
@@ -1371,7 +1463,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1371
1463
  signalQuality: number;
1372
1464
  emergencyState: boolean;
1373
1465
  emergencyStatusMessage: string;
1374
- typePriorityListed?: boolean | undefined;
1466
+ groupId?: string | undefined;
1375
1467
  emitterCategorySet?: number | undefined;
1376
1468
  emitterCategory?: number | undefined;
1377
1469
  }[];
@@ -1386,7 +1478,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1386
1478
  };
1387
1479
  type: "USER_ACTION";
1388
1480
  ip: string;
1389
- cgi: PlaneTrackerUserActions;
1481
+ cgi: EUserActions;
1390
1482
  postJsonBody?: any;
1391
1483
  } | {
1392
1484
  type: "CONNECTED_USERS";
@@ -1412,6 +1504,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1412
1504
  };
1413
1505
  }>, z.ZodObject<{
1414
1506
  type: z.ZodLiteral<"CAMERA_POSITION">;
1507
+ } & {
1415
1508
  lat: z.ZodNumber;
1416
1509
  lon: z.ZodNumber;
1417
1510
  azimuth: z.ZodNumber;
@@ -1449,7 +1542,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1449
1542
  }>, z.ZodObject<{
1450
1543
  type: z.ZodLiteral<"FLIGHT_LIST">;
1451
1544
  list: z.ZodArray<z.ZodObject<{
1545
+ targetId: z.ZodString;
1452
1546
  icao: z.ZodString;
1547
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1548
+ categoryId: z.ZodString;
1549
+ groupId: z.ZodOptional<z.ZodString>;
1453
1550
  lat: z.ZodNumber;
1454
1551
  lon: z.ZodNumber;
1455
1552
  heading: z.ZodNumber;
@@ -1460,7 +1557,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1460
1557
  whiteListed: z.ZodBoolean;
1461
1558
  blackListed: z.ZodBoolean;
1462
1559
  priorityListed: z.ZodBoolean;
1463
- typePriorityListed: z.ZodDefault<z.ZodBoolean>;
1464
1560
  autoSelectionIgnored: z.ZodBoolean;
1465
1561
  signalQuality: z.ZodNumber;
1466
1562
  emitterCategorySet: z.ZodDefault<z.ZodNumber>;
@@ -1469,8 +1565,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1469
1565
  emergencyStatusMessage: z.ZodString;
1470
1566
  }, "strip", z.ZodTypeAny, {
1471
1567
  icao: string;
1568
+ domain: "adsb" | "remoteId";
1472
1569
  lat: number;
1473
1570
  lon: number;
1571
+ targetId: string;
1572
+ categoryId: string;
1474
1573
  heading: number;
1475
1574
  groundSpeed: number;
1476
1575
  altitudeAMSL: number;
@@ -1479,17 +1578,20 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1479
1578
  whiteListed: boolean;
1480
1579
  blackListed: boolean;
1481
1580
  priorityListed: boolean;
1482
- typePriorityListed: boolean;
1483
1581
  autoSelectionIgnored: boolean;
1484
1582
  signalQuality: number;
1485
1583
  emitterCategorySet: number;
1486
1584
  emitterCategory: number;
1487
1585
  emergencyState: boolean;
1488
1586
  emergencyStatusMessage: string;
1587
+ groupId?: string | undefined;
1489
1588
  }, {
1490
1589
  icao: string;
1590
+ domain: "adsb" | "remoteId";
1491
1591
  lat: number;
1492
1592
  lon: number;
1593
+ targetId: string;
1594
+ categoryId: string;
1493
1595
  heading: number;
1494
1596
  groundSpeed: number;
1495
1597
  altitudeAMSL: number;
@@ -1502,7 +1604,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1502
1604
  signalQuality: number;
1503
1605
  emergencyState: boolean;
1504
1606
  emergencyStatusMessage: string;
1505
- typePriorityListed?: boolean | undefined;
1607
+ groupId?: string | undefined;
1506
1608
  emitterCategorySet?: number | undefined;
1507
1609
  emitterCategory?: number | undefined;
1508
1610
  }>, "many">;
@@ -1510,8 +1612,11 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1510
1612
  type: "FLIGHT_LIST";
1511
1613
  list: {
1512
1614
  icao: string;
1615
+ domain: "adsb" | "remoteId";
1513
1616
  lat: number;
1514
1617
  lon: number;
1618
+ targetId: string;
1619
+ categoryId: string;
1515
1620
  heading: number;
1516
1621
  groundSpeed: number;
1517
1622
  altitudeAMSL: number;
@@ -1520,20 +1625,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1520
1625
  whiteListed: boolean;
1521
1626
  blackListed: boolean;
1522
1627
  priorityListed: boolean;
1523
- typePriorityListed: boolean;
1524
1628
  autoSelectionIgnored: boolean;
1525
1629
  signalQuality: number;
1526
1630
  emitterCategorySet: number;
1527
1631
  emitterCategory: number;
1528
1632
  emergencyState: boolean;
1529
1633
  emergencyStatusMessage: string;
1634
+ groupId?: string | undefined;
1530
1635
  }[];
1531
1636
  }, {
1532
1637
  type: "FLIGHT_LIST";
1533
1638
  list: {
1534
1639
  icao: string;
1640
+ domain: "adsb" | "remoteId";
1535
1641
  lat: number;
1536
1642
  lon: number;
1643
+ targetId: string;
1644
+ categoryId: string;
1537
1645
  heading: number;
1538
1646
  groundSpeed: number;
1539
1647
  altitudeAMSL: number;
@@ -1546,7 +1654,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1546
1654
  signalQuality: number;
1547
1655
  emergencyState: boolean;
1548
1656
  emergencyStatusMessage: string;
1549
- typePriorityListed?: boolean | undefined;
1657
+ groupId?: string | undefined;
1550
1658
  emitterCategorySet?: number | undefined;
1551
1659
  emitterCategory?: number | undefined;
1552
1660
  }[];
@@ -1576,7 +1684,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1576
1684
  lat?: string | undefined;
1577
1685
  lon?: string | undefined;
1578
1686
  }>;
1579
- cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
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]>;
1580
1688
  postJsonBody: z.ZodAny;
1581
1689
  }, "strip", z.ZodTypeAny, {
1582
1690
  params: {
@@ -1589,7 +1697,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1589
1697
  };
1590
1698
  type: "USER_ACTION";
1591
1699
  ip: string;
1592
- cgi: PlaneTrackerUserActions;
1700
+ cgi: EUserActions;
1593
1701
  postJsonBody?: any;
1594
1702
  }, {
1595
1703
  params: {
@@ -1602,7 +1710,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1602
1710
  };
1603
1711
  type: "USER_ACTION";
1604
1712
  ip: string;
1605
- cgi: PlaneTrackerUserActions;
1713
+ cgi: EUserActions;
1606
1714
  postJsonBody?: any;
1607
1715
  }>, z.ZodObject<{
1608
1716
  type: z.ZodLiteral<"CONNECTED_USERS">;
@@ -1688,16 +1796,12 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
1688
1796
  userPriority: number;
1689
1797
  } | undefined;
1690
1798
  }>]>;
1691
- export type TPlaneTrackerEvent = z.infer<typeof ptrEventsDataSchema>;
1692
- export type TPlaneTrackerEventType = TPlaneTrackerEvent['type'];
1693
- export type TPlaneTrackerEventOfType<T extends TPlaneTrackerEventType> = Extract<TPlaneTrackerEvent, {
1694
- type: T;
1695
- }>;
1696
- export type TPlaneTrackerApiFlightData = z.infer<typeof apiFlightDataSchema>;
1697
- export type TPlaneTrackerApiUser = z.infer<typeof apiUserSchema>;
1698
- export type TPlaneTrackerStringApiUser = z.infer<typeof apiStringUserSchema>;
1699
- export type TPlaneTrackerUserActionData = z.infer<typeof planeTrackerUserActionData>;
1700
- export type TPlaneTrackerUserActionDataOfCgi<T extends PlaneTrackerUserActions> = Extract<TPlaneTrackerUserActionData, {
1799
+ export type TEventData = z.infer<typeof eventsDataSchema>;
1800
+ export type TWsApiFlightData = z.infer<typeof wsApiFlightDataSchema>;
1801
+ export type TWsApiCameraData = z.infer<typeof wsCameraPositionDataSchema>;
1802
+ export type TApiUser = z.infer<typeof apiUserSchema>;
1803
+ export type TUserActionData = z.infer<typeof wsUserActionData>;
1804
+ export type TUserActionDataOfCgi<T extends EUserActions> = Extract<TUserActionData, {
1701
1805
  cgi: T;
1702
1806
  }>;
1703
1807
  export {};