camstreamerlib 4.0.37 → 5.0.0-54e362c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +21 -2
  2. package/cjs/CamOverlayAPI.d.ts +223 -208
  3. package/cjs/CamStreamerAPI.d.ts +330 -311
  4. package/cjs/CamStreamerAPI.js +1 -1
  5. package/cjs/CamSwitcherAPI.d.ts +31 -30
  6. package/cjs/CamSwitcherAPI.js +2 -0
  7. package/cjs/PlaneTrackerAPI.d.ts +101 -41
  8. package/cjs/VapixAPI.d.ts +31 -17
  9. package/cjs/VapixAPI.js +1 -1
  10. package/cjs/internal/versionCompare.d.ts +2 -2
  11. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  12. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  13. package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  14. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  15. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  16. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  17. package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  18. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  19. package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  20. package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
  21. package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  22. package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  23. package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  24. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  25. package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  26. package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  27. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  28. package/cjs/types/CamScripterAPI.d.ts +11 -81
  29. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  30. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  31. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  32. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  33. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  34. package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
  35. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  36. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
  37. package/cjs/types/CamSwitcherAPI.d.ts +75 -700
  38. package/cjs/types/CamSwitcherAPI.js +1 -0
  39. package/cjs/types/GenetecAgent.d.ts +12 -132
  40. package/cjs/types/MilestoneAgent.d.ts +4 -46
  41. package/cjs/types/PlaneTrackerAPI.d.ts +265 -1205
  42. package/cjs/types/PlaneTrackerAPI.js +5 -5
  43. package/cjs/types/VapixAPI.d.ts +129 -1653
  44. package/cjs/types/VapixAPI.js +1 -1
  45. package/cjs/types/common.d.ts +11 -35
  46. package/cjs/types/common.js +1 -1
  47. package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
  48. package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
  49. package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
  50. package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
  51. package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
  52. package/esm/CamStreamerAPI.js +1 -1
  53. package/esm/CamSwitcherAPI.js +2 -0
  54. package/esm/VapixAPI.js +1 -1
  55. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  56. package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  57. package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
  58. package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  59. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
  60. package/esm/types/CamSwitcherAPI.js +1 -0
  61. package/esm/types/PlaneTrackerAPI.js +5 -5
  62. package/esm/types/VapixAPI.js +1 -1
  63. package/esm/types/common.js +1 -1
  64. package/esm/types/ws/PlaneTrackerEvents.js +1 -1
  65. package/package.json +107 -107
  66. package/types/CamOverlayAPI.d.ts +223 -208
  67. package/types/CamStreamerAPI.d.ts +330 -311
  68. package/types/CamSwitcherAPI.d.ts +31 -30
  69. package/types/PlaneTrackerAPI.d.ts +101 -41
  70. package/types/VapixAPI.d.ts +31 -17
  71. package/types/internal/versionCompare.d.ts +2 -2
  72. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  73. package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  74. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  75. package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  76. package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  77. package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  78. package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  79. package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  80. package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  81. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  82. package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  83. package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  84. package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  85. package/types/types/CamScripterAPI.d.ts +11 -81
  86. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  87. package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  88. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  89. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  90. package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  91. package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
  92. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  93. package/types/types/CamSwitcherAPI.d.ts +75 -700
  94. package/types/types/GenetecAgent.d.ts +12 -132
  95. package/types/types/MilestoneAgent.d.ts +4 -46
  96. package/types/types/PlaneTrackerAPI.d.ts +265 -1205
  97. package/types/types/VapixAPI.d.ts +129 -1653
  98. package/types/types/common.d.ts +11 -35
  99. package/types/types/ws/CamOverlayEvents.d.ts +9 -69
  100. package/types/types/ws/CamStreamerEvents.d.ts +19 -217
  101. package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
  102. package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
@@ -3,7 +3,10 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
3
3
  targetId: z.ZodString;
4
4
  icao: z.ZodString;
5
5
  callsign: z.ZodOptional<z.ZodString>;
6
- domain: z.ZodEnum<["adsb", "remoteId"]>;
6
+ domain: z.ZodEnum<{
7
+ adsb: "adsb";
8
+ remoteId: "remoteId";
9
+ }>;
7
10
  categoryId: z.ZodString;
8
11
  groupId: z.ZodOptional<z.ZodString>;
9
12
  lat: z.ZodNumber;
@@ -26,61 +29,7 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
26
29
  emitterCategory: z.ZodDefault<z.ZodNumber>;
27
30
  emergencyState: z.ZodBoolean;
28
31
  emergencyStatusMessage: z.ZodString;
29
- }, "strip", z.ZodTypeAny, {
30
- icao: string;
31
- targetId: string;
32
- domain: "adsb" | "remoteId";
33
- lat: number;
34
- lon: number;
35
- categoryId: string;
36
- observedLat: number;
37
- observedLon: number;
38
- positionTimestamp: number;
39
- heading: number;
40
- groundSpeed: number;
41
- altitudeAMSL: number;
42
- cameraDistance: number;
43
- autoTrackingOrder: number | null;
44
- whiteListed: boolean;
45
- blackListed: boolean;
46
- priorityListed: boolean;
47
- friendlyListed: boolean;
48
- autoSelectionIgnored: boolean;
49
- signalQuality: number;
50
- emitterCategorySet: number;
51
- emitterCategory: number;
52
- emergencyState: boolean;
53
- emergencyStatusMessage: string;
54
- callsign?: string | undefined;
55
- groupId?: string | undefined;
56
- }, {
57
- icao: string;
58
- targetId: string;
59
- domain: "adsb" | "remoteId";
60
- lat: number;
61
- lon: number;
62
- categoryId: string;
63
- observedLat: number;
64
- observedLon: number;
65
- positionTimestamp: number;
66
- heading: number;
67
- groundSpeed: number;
68
- altitudeAMSL: number;
69
- cameraDistance: number;
70
- autoTrackingOrder: number | null;
71
- whiteListed: boolean;
72
- blackListed: boolean;
73
- priorityListed: boolean;
74
- friendlyListed: boolean;
75
- autoSelectionIgnored: boolean;
76
- signalQuality: number;
77
- emergencyState: boolean;
78
- emergencyStatusMessage: string;
79
- callsign?: string | undefined;
80
- groupId?: string | undefined;
81
- emitterCategorySet?: number | undefined;
82
- emitterCategory?: number | undefined;
83
- }>;
32
+ }, z.core.$strip>;
84
33
  declare const wsCameraPositionDataSchema: z.ZodObject<{
85
34
  lat: z.ZodNumber;
86
35
  lon: z.ZodNumber;
@@ -88,53 +37,20 @@ declare const wsCameraPositionDataSchema: z.ZodObject<{
88
37
  elevation: z.ZodNumber;
89
38
  fov: z.ZodNumber;
90
39
  sampledAt: z.ZodNumber;
91
- }, "strip", z.ZodTypeAny, {
92
- lat: number;
93
- lon: number;
94
- azimuth: number;
95
- elevation: number;
96
- fov: number;
97
- sampledAt: number;
98
- }, {
99
- lat: number;
100
- lon: number;
101
- azimuth: number;
102
- elevation: number;
103
- fov: number;
104
- sampledAt: number;
105
- }>;
40
+ }, z.core.$strip>;
106
41
  declare const apiUserSchema: z.ZodObject<{
107
42
  userId: z.ZodString;
108
43
  userName: z.ZodString;
109
- } & {
110
44
  ip: z.ZodString;
111
45
  userPriority: z.ZodNumber;
112
- }, "strip", z.ZodTypeAny, {
113
- ip: string;
114
- userId: string;
115
- userName: string;
116
- userPriority: number;
117
- }, {
118
- ip: string;
119
- userId: string;
120
- userName: string;
121
- userPriority: number;
122
- }>;
46
+ }, z.core.$strip>;
123
47
  export declare const USER_PRIORITY_MIN = 1;
124
48
  export declare const USER_PRIORITY_MAX = 255;
125
- export declare const apiUserInputSchema: z.ZodObject<{} & {
49
+ export declare const apiUserInputSchema: z.ZodObject<{
126
50
  userId: z.ZodString;
127
51
  userName: z.ZodString;
128
52
  userPriority: z.ZodNumber;
129
- }, "strip", z.ZodTypeAny, {
130
- userId: string;
131
- userName: string;
132
- userPriority: number;
133
- }, {
134
- userId: string;
135
- userName: string;
136
- userPriority: number;
137
- }>;
53
+ }, z.core.$strip>;
138
54
  export type TEventType = 'CAMERA_POSITION' | 'TRACKING_START' | 'TRACKING_STOP' | 'FLIGHT_LIST' | 'USER_ACTION' | 'CONNECTED_USERS' | 'FORCE_TRACKING_STATUS' | 'API_LOCK_STATUS';
139
55
  export declare enum EUserActions {
140
56
  TRACK_ICAO = "trackIcao.cgi",
@@ -154,63 +70,34 @@ export declare enum EUserActions {
154
70
  }
155
71
  declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
156
72
  type: z.ZodLiteral<"CAMERA_POSITION">;
157
- } & {
158
73
  lat: z.ZodNumber;
159
74
  lon: z.ZodNumber;
160
75
  azimuth: z.ZodNumber;
161
76
  elevation: z.ZodNumber;
162
77
  fov: z.ZodNumber;
163
78
  sampledAt: z.ZodNumber;
164
- }, "strip", z.ZodTypeAny, {
165
- type: "CAMERA_POSITION";
166
- lat: number;
167
- lon: number;
168
- azimuth: number;
169
- elevation: number;
170
- fov: number;
171
- sampledAt: number;
172
- }, {
173
- type: "CAMERA_POSITION";
174
- lat: number;
175
- lon: number;
176
- azimuth: number;
177
- elevation: number;
178
- fov: number;
179
- sampledAt: number;
180
- }>, z.ZodObject<{
79
+ }, z.core.$strip>, z.ZodObject<{
181
80
  type: z.ZodLiteral<"TRACKING_START">;
182
81
  icao: z.ZodString;
183
82
  targetId: z.ZodString;
184
83
  callsign: z.ZodOptional<z.ZodString>;
185
- domain: z.ZodEnum<["adsb", "remoteId"]>;
84
+ domain: z.ZodEnum<{
85
+ adsb: "adsb";
86
+ remoteId: "remoteId";
87
+ }>;
186
88
  categoryId: z.ZodString;
187
- }, "strip", z.ZodTypeAny, {
188
- type: "TRACKING_START";
189
- icao: string;
190
- targetId: string;
191
- domain: "adsb" | "remoteId";
192
- categoryId: string;
193
- callsign?: string | undefined;
194
- }, {
195
- type: "TRACKING_START";
196
- icao: string;
197
- targetId: string;
198
- domain: "adsb" | "remoteId";
199
- categoryId: string;
200
- callsign?: string | undefined;
201
- }>, z.ZodObject<{
89
+ }, z.core.$strip>, z.ZodObject<{
202
90
  type: z.ZodLiteral<"TRACKING_STOP">;
203
- }, "strip", z.ZodTypeAny, {
204
- type: "TRACKING_STOP";
205
- }, {
206
- type: "TRACKING_STOP";
207
- }>, z.ZodObject<{
91
+ }, z.core.$strip>, z.ZodObject<{
208
92
  type: z.ZodLiteral<"FLIGHT_LIST">;
209
93
  list: z.ZodArray<z.ZodObject<{
210
94
  targetId: z.ZodString;
211
95
  icao: z.ZodString;
212
96
  callsign: z.ZodOptional<z.ZodString>;
213
- domain: z.ZodEnum<["adsb", "remoteId"]>;
97
+ domain: z.ZodEnum<{
98
+ adsb: "adsb";
99
+ remoteId: "remoteId";
100
+ }>;
214
101
  categoryId: z.ZodString;
215
102
  groupId: z.ZodOptional<z.ZodString>;
216
103
  lat: z.ZodNumber;
@@ -233,122 +120,8 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
233
120
  emitterCategory: z.ZodDefault<z.ZodNumber>;
234
121
  emergencyState: z.ZodBoolean;
235
122
  emergencyStatusMessage: z.ZodString;
236
- }, "strip", z.ZodTypeAny, {
237
- icao: string;
238
- targetId: string;
239
- domain: "adsb" | "remoteId";
240
- lat: number;
241
- lon: number;
242
- categoryId: string;
243
- observedLat: number;
244
- observedLon: number;
245
- positionTimestamp: number;
246
- heading: number;
247
- groundSpeed: number;
248
- altitudeAMSL: number;
249
- cameraDistance: number;
250
- autoTrackingOrder: number | null;
251
- whiteListed: boolean;
252
- blackListed: boolean;
253
- priorityListed: boolean;
254
- friendlyListed: boolean;
255
- autoSelectionIgnored: boolean;
256
- signalQuality: number;
257
- emitterCategorySet: number;
258
- emitterCategory: number;
259
- emergencyState: boolean;
260
- emergencyStatusMessage: string;
261
- callsign?: string | undefined;
262
- groupId?: string | undefined;
263
- }, {
264
- icao: string;
265
- targetId: string;
266
- domain: "adsb" | "remoteId";
267
- lat: number;
268
- lon: number;
269
- categoryId: string;
270
- observedLat: number;
271
- observedLon: number;
272
- positionTimestamp: number;
273
- heading: number;
274
- groundSpeed: number;
275
- altitudeAMSL: number;
276
- cameraDistance: number;
277
- autoTrackingOrder: number | null;
278
- whiteListed: boolean;
279
- blackListed: boolean;
280
- priorityListed: boolean;
281
- friendlyListed: boolean;
282
- autoSelectionIgnored: boolean;
283
- signalQuality: number;
284
- emergencyState: boolean;
285
- emergencyStatusMessage: string;
286
- callsign?: string | undefined;
287
- groupId?: string | undefined;
288
- emitterCategorySet?: number | undefined;
289
- emitterCategory?: number | undefined;
290
- }>, "many">;
291
- }, "strip", z.ZodTypeAny, {
292
- type: "FLIGHT_LIST";
293
- list: {
294
- icao: string;
295
- targetId: string;
296
- domain: "adsb" | "remoteId";
297
- lat: number;
298
- lon: number;
299
- categoryId: string;
300
- observedLat: number;
301
- observedLon: number;
302
- positionTimestamp: number;
303
- heading: number;
304
- groundSpeed: number;
305
- altitudeAMSL: number;
306
- cameraDistance: number;
307
- autoTrackingOrder: number | null;
308
- whiteListed: boolean;
309
- blackListed: boolean;
310
- priorityListed: boolean;
311
- friendlyListed: boolean;
312
- autoSelectionIgnored: boolean;
313
- signalQuality: number;
314
- emitterCategorySet: number;
315
- emitterCategory: number;
316
- emergencyState: boolean;
317
- emergencyStatusMessage: string;
318
- callsign?: string | undefined;
319
- groupId?: string | undefined;
320
- }[];
321
- }, {
322
- type: "FLIGHT_LIST";
323
- list: {
324
- icao: string;
325
- targetId: string;
326
- domain: "adsb" | "remoteId";
327
- lat: number;
328
- lon: number;
329
- categoryId: string;
330
- observedLat: number;
331
- observedLon: number;
332
- positionTimestamp: number;
333
- heading: number;
334
- groundSpeed: number;
335
- altitudeAMSL: number;
336
- cameraDistance: number;
337
- autoTrackingOrder: number | null;
338
- whiteListed: boolean;
339
- blackListed: boolean;
340
- priorityListed: boolean;
341
- friendlyListed: boolean;
342
- autoSelectionIgnored: boolean;
343
- signalQuality: number;
344
- emergencyState: boolean;
345
- emergencyStatusMessage: string;
346
- callsign?: string | undefined;
347
- groupId?: string | undefined;
348
- emitterCategorySet?: number | undefined;
349
- emitterCategory?: number | undefined;
350
- }[];
351
- }>, z.ZodObject<{
123
+ }, z.core.$strip>>;
124
+ }, z.core.$strip>, z.ZodObject<{
352
125
  type: z.ZodLiteral<"USER_ACTION">;
353
126
  cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
354
127
  ip: z.ZodString;
@@ -356,43 +129,10 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
356
129
  userId: z.ZodString;
357
130
  userName: z.ZodString;
358
131
  userPriority: z.ZodString;
359
- } & {
360
132
  icao: z.ZodString;
361
- }, "strip", z.ZodTypeAny, {
362
- icao: string;
363
- userId: string;
364
- userName: string;
365
- userPriority: string;
366
- }, {
367
- icao: string;
368
- userId: string;
369
- userName: string;
370
- userPriority: string;
371
- }>;
133
+ }, z.core.$strip>;
372
134
  postJsonBody: z.ZodAny;
373
- }, "strip", z.ZodTypeAny, {
374
- params: {
375
- icao: string;
376
- userId: string;
377
- userName: string;
378
- userPriority: string;
379
- };
380
- type: "USER_ACTION";
381
- ip: string;
382
- cgi: EUserActions.TRACK_ICAO;
383
- postJsonBody?: any;
384
- }, {
385
- params: {
386
- icao: string;
387
- userId: string;
388
- userName: string;
389
- userPriority: string;
390
- };
391
- type: "USER_ACTION";
392
- ip: string;
393
- cgi: EUserActions.TRACK_ICAO;
394
- postJsonBody?: any;
395
- }>, z.ZodObject<{
135
+ }, z.core.$strip>, z.ZodObject<{
396
136
  type: z.ZodLiteral<"USER_ACTION">;
397
137
  cgi: z.ZodLiteral<EUserActions.TRACK_TARGET>;
398
138
  ip: z.ZodString;
@@ -400,43 +140,10 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
400
140
  userId: z.ZodString;
401
141
  userName: z.ZodString;
402
142
  userPriority: z.ZodString;
403
- } & {
404
143
  targetId: z.ZodString;
405
- }, "strip", z.ZodTypeAny, {
406
- targetId: string;
407
- userId: string;
408
- userName: string;
409
- userPriority: string;
410
- }, {
411
- targetId: string;
412
- userId: string;
413
- userName: string;
414
- userPriority: string;
415
- }>;
144
+ }, z.core.$strip>;
416
145
  postJsonBody: z.ZodAny;
417
- }, "strip", z.ZodTypeAny, {
418
- params: {
419
- targetId: string;
420
- userId: string;
421
- userName: string;
422
- userPriority: string;
423
- };
424
- type: "USER_ACTION";
425
- ip: string;
426
- cgi: EUserActions.TRACK_TARGET;
427
- postJsonBody?: any;
428
- }, {
429
- params: {
430
- targetId: string;
431
- userId: string;
432
- userName: string;
433
- userPriority: string;
434
- };
435
- type: "USER_ACTION";
436
- ip: string;
437
- cgi: EUserActions.TRACK_TARGET;
438
- postJsonBody?: any;
439
- }>, z.ZodObject<{
146
+ }, z.core.$strip>, z.ZodObject<{
440
147
  type: z.ZodLiteral<"USER_ACTION">;
441
148
  cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
442
149
  ip: z.ZodString;
@@ -444,37 +151,9 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
444
151
  userId: z.ZodString;
445
152
  userName: z.ZodString;
446
153
  userPriority: z.ZodString;
447
- }, "strip", z.ZodTypeAny, {
448
- userId: string;
449
- userName: string;
450
- userPriority: string;
451
- }, {
452
- userId: string;
453
- userName: string;
454
- userPriority: string;
455
- }>;
154
+ }, z.core.$strip>;
456
155
  postJsonBody: z.ZodAny;
457
- }, "strip", z.ZodTypeAny, {
458
- params: {
459
- userId: string;
460
- userName: string;
461
- userPriority: string;
462
- };
463
- type: "USER_ACTION";
464
- ip: string;
465
- cgi: EUserActions.RESET_ICAO;
466
- postJsonBody?: any;
467
- }, {
468
- params: {
469
- userId: string;
470
- userName: string;
471
- userPriority: string;
472
- };
473
- type: "USER_ACTION";
474
- ip: string;
475
- cgi: EUserActions.RESET_ICAO;
476
- postJsonBody?: any;
477
- }>, z.ZodObject<{
156
+ }, z.core.$strip>, z.ZodObject<{
478
157
  type: z.ZodLiteral<"USER_ACTION">;
479
158
  cgi: z.ZodLiteral<EUserActions.RESET_TARGET>;
480
159
  ip: z.ZodString;
@@ -482,37 +161,9 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
482
161
  userId: z.ZodString;
483
162
  userName: z.ZodString;
484
163
  userPriority: z.ZodString;
485
- }, "strip", z.ZodTypeAny, {
486
- userId: string;
487
- userName: string;
488
- userPriority: string;
489
- }, {
490
- userId: string;
491
- userName: string;
492
- userPriority: string;
493
- }>;
164
+ }, z.core.$strip>;
494
165
  postJsonBody: z.ZodAny;
495
- }, "strip", z.ZodTypeAny, {
496
- params: {
497
- userId: string;
498
- userName: string;
499
- userPriority: string;
500
- };
501
- type: "USER_ACTION";
502
- ip: string;
503
- cgi: EUserActions.RESET_TARGET;
504
- postJsonBody?: any;
505
- }, {
506
- params: {
507
- userId: string;
508
- userName: string;
509
- userPriority: string;
510
- };
511
- type: "USER_ACTION";
512
- ip: string;
513
- cgi: EUserActions.RESET_TARGET;
514
- postJsonBody?: any;
515
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
516
167
  type: z.ZodLiteral<"USER_ACTION">;
517
168
  cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
518
169
  ip: z.ZodString;
@@ -520,83 +171,25 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
520
171
  userId: z.ZodString;
521
172
  userName: z.ZodString;
522
173
  userPriority: z.ZodString;
523
- }, "strip", z.ZodTypeAny, {
524
- userId: string;
525
- userName: string;
526
- userPriority: string;
527
- }, {
528
- userId: string;
529
- userName: string;
530
- userPriority: string;
531
- }>;
174
+ }, z.core.$strip>;
532
175
  postJsonBody: z.ZodObject<{
533
176
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
534
- domain: z.ZodEnum<["adsb", "remoteId"]>;
535
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
177
+ domain: z.ZodEnum<{
178
+ adsb: "adsb";
179
+ remoteId: "remoteId";
180
+ }>;
181
+ idType: z.ZodEnum<{
182
+ icao: "icao";
183
+ type_icao: "type_icao";
184
+ drone_mac: "drone_mac";
185
+ operator_mac: "operator_mac";
186
+ category: "category";
187
+ }>;
536
188
  idValue: z.ZodString;
537
- } & {
538
189
  priority: z.ZodNumber;
539
- }, "strip", z.ZodTypeAny, {
540
- priority: number;
541
- domain: "adsb" | "remoteId";
542
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
543
- idValue: string;
544
- }, {
545
- priority: number;
546
- domain: "adsb" | "remoteId";
547
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
548
- idValue: string;
549
- }>, "many">>;
550
- }, "strip", z.ZodTypeAny, {
551
- list: {
552
- priority: number;
553
- domain: "adsb" | "remoteId";
554
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
555
- idValue: string;
556
- }[];
557
- }, {
558
- list?: {
559
- priority: number;
560
- domain: "adsb" | "remoteId";
561
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
562
- idValue: string;
563
- }[] | undefined;
564
- }>;
565
- }, "strip", z.ZodTypeAny, {
566
- params: {
567
- userId: string;
568
- userName: string;
569
- userPriority: string;
570
- };
571
- type: "USER_ACTION";
572
- ip: string;
573
- cgi: EUserActions.SET_PRIORITY_LIST;
574
- postJsonBody: {
575
- list: {
576
- priority: number;
577
- domain: "adsb" | "remoteId";
578
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
579
- idValue: string;
580
- }[];
581
- };
582
- }, {
583
- params: {
584
- userId: string;
585
- userName: string;
586
- userPriority: string;
587
- };
588
- type: "USER_ACTION";
589
- ip: string;
590
- cgi: EUserActions.SET_PRIORITY_LIST;
591
- postJsonBody: {
592
- list?: {
593
- priority: number;
594
- domain: "adsb" | "remoteId";
595
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
596
- idValue: string;
597
- }[] | undefined;
598
- };
599
- }>, z.ZodObject<{
190
+ }, z.core.$strip>>>;
191
+ }, z.core.$strip>;
192
+ }, z.core.$strip>, z.ZodObject<{
600
193
  type: z.ZodLiteral<"USER_ACTION">;
601
194
  cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
602
195
  ip: z.ZodString;
@@ -604,75 +197,24 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
604
197
  userId: z.ZodString;
605
198
  userName: z.ZodString;
606
199
  userPriority: z.ZodString;
607
- }, "strip", z.ZodTypeAny, {
608
- userId: string;
609
- userName: string;
610
- userPriority: string;
611
- }, {
612
- userId: string;
613
- userName: string;
614
- userPriority: string;
615
- }>;
200
+ }, z.core.$strip>;
616
201
  postJsonBody: z.ZodObject<{
617
202
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
618
- domain: z.ZodEnum<["adsb", "remoteId"]>;
619
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
203
+ domain: z.ZodEnum<{
204
+ adsb: "adsb";
205
+ remoteId: "remoteId";
206
+ }>;
207
+ idType: z.ZodEnum<{
208
+ icao: "icao";
209
+ type_icao: "type_icao";
210
+ drone_mac: "drone_mac";
211
+ operator_mac: "operator_mac";
212
+ category: "category";
213
+ }>;
620
214
  idValue: z.ZodString;
621
- }, "strip", z.ZodTypeAny, {
622
- domain: "adsb" | "remoteId";
623
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
624
- idValue: string;
625
- }, {
626
- domain: "adsb" | "remoteId";
627
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
628
- idValue: string;
629
- }>, "many">>;
630
- }, "strip", z.ZodTypeAny, {
631
- list: {
632
- domain: "adsb" | "remoteId";
633
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
634
- idValue: string;
635
- }[];
636
- }, {
637
- list?: {
638
- domain: "adsb" | "remoteId";
639
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
640
- idValue: string;
641
- }[] | undefined;
642
- }>;
643
- }, "strip", z.ZodTypeAny, {
644
- params: {
645
- userId: string;
646
- userName: string;
647
- userPriority: string;
648
- };
649
- type: "USER_ACTION";
650
- ip: string;
651
- cgi: EUserActions.SET_BLACK_LIST;
652
- postJsonBody: {
653
- list: {
654
- domain: "adsb" | "remoteId";
655
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
656
- idValue: string;
657
- }[];
658
- };
659
- }, {
660
- params: {
661
- userId: string;
662
- userName: string;
663
- userPriority: string;
664
- };
665
- type: "USER_ACTION";
666
- ip: string;
667
- cgi: EUserActions.SET_BLACK_LIST;
668
- postJsonBody: {
669
- list?: {
670
- domain: "adsb" | "remoteId";
671
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
672
- idValue: string;
673
- }[] | undefined;
674
- };
675
- }>, z.ZodObject<{
215
+ }, z.core.$strip>>>;
216
+ }, z.core.$strip>;
217
+ }, z.core.$strip>, z.ZodObject<{
676
218
  type: z.ZodLiteral<"USER_ACTION">;
677
219
  cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
678
220
  ip: z.ZodString;
@@ -680,75 +222,24 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
680
222
  userId: z.ZodString;
681
223
  userName: z.ZodString;
682
224
  userPriority: z.ZodString;
683
- }, "strip", z.ZodTypeAny, {
684
- userId: string;
685
- userName: string;
686
- userPriority: string;
687
- }, {
688
- userId: string;
689
- userName: string;
690
- userPriority: string;
691
- }>;
225
+ }, z.core.$strip>;
692
226
  postJsonBody: z.ZodObject<{
693
227
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
694
- domain: z.ZodEnum<["adsb", "remoteId"]>;
695
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
228
+ domain: z.ZodEnum<{
229
+ adsb: "adsb";
230
+ remoteId: "remoteId";
231
+ }>;
232
+ idType: z.ZodEnum<{
233
+ icao: "icao";
234
+ type_icao: "type_icao";
235
+ drone_mac: "drone_mac";
236
+ operator_mac: "operator_mac";
237
+ category: "category";
238
+ }>;
696
239
  idValue: z.ZodString;
697
- }, "strip", z.ZodTypeAny, {
698
- domain: "adsb" | "remoteId";
699
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
700
- idValue: string;
701
- }, {
702
- domain: "adsb" | "remoteId";
703
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
704
- idValue: string;
705
- }>, "many">>;
706
- }, "strip", z.ZodTypeAny, {
707
- list: {
708
- domain: "adsb" | "remoteId";
709
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
710
- idValue: string;
711
- }[];
712
- }, {
713
- list?: {
714
- domain: "adsb" | "remoteId";
715
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
716
- idValue: string;
717
- }[] | undefined;
718
- }>;
719
- }, "strip", z.ZodTypeAny, {
720
- params: {
721
- userId: string;
722
- userName: string;
723
- userPriority: string;
724
- };
725
- type: "USER_ACTION";
726
- ip: string;
727
- cgi: EUserActions.SET_WHITE_LIST;
728
- postJsonBody: {
729
- list: {
730
- domain: "adsb" | "remoteId";
731
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
732
- idValue: string;
733
- }[];
734
- };
735
- }, {
736
- params: {
737
- userId: string;
738
- userName: string;
739
- userPriority: string;
740
- };
741
- type: "USER_ACTION";
742
- ip: string;
743
- cgi: EUserActions.SET_WHITE_LIST;
744
- postJsonBody: {
745
- list?: {
746
- domain: "adsb" | "remoteId";
747
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
748
- idValue: string;
749
- }[] | undefined;
750
- };
751
- }>, z.ZodObject<{
240
+ }, z.core.$strip>>>;
241
+ }, z.core.$strip>;
242
+ }, z.core.$strip>, z.ZodObject<{
752
243
  type: z.ZodLiteral<"USER_ACTION">;
753
244
  cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
754
245
  ip: z.ZodString;
@@ -756,75 +247,24 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
756
247
  userId: z.ZodString;
757
248
  userName: z.ZodString;
758
249
  userPriority: z.ZodString;
759
- }, "strip", z.ZodTypeAny, {
760
- userId: string;
761
- userName: string;
762
- userPriority: string;
763
- }, {
764
- userId: string;
765
- userName: string;
766
- userPriority: string;
767
- }>;
250
+ }, z.core.$strip>;
768
251
  postJsonBody: z.ZodObject<{
769
252
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
770
- domain: z.ZodEnum<["adsb", "remoteId"]>;
771
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
253
+ domain: z.ZodEnum<{
254
+ adsb: "adsb";
255
+ remoteId: "remoteId";
256
+ }>;
257
+ idType: z.ZodEnum<{
258
+ icao: "icao";
259
+ type_icao: "type_icao";
260
+ drone_mac: "drone_mac";
261
+ operator_mac: "operator_mac";
262
+ category: "category";
263
+ }>;
772
264
  idValue: z.ZodString;
773
- }, "strip", z.ZodTypeAny, {
774
- domain: "adsb" | "remoteId";
775
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
776
- idValue: string;
777
- }, {
778
- domain: "adsb" | "remoteId";
779
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
780
- idValue: string;
781
- }>, "many">>;
782
- }, "strip", z.ZodTypeAny, {
783
- list: {
784
- domain: "adsb" | "remoteId";
785
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
786
- idValue: string;
787
- }[];
788
- }, {
789
- list?: {
790
- domain: "adsb" | "remoteId";
791
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
792
- idValue: string;
793
- }[] | undefined;
794
- }>;
795
- }, "strip", z.ZodTypeAny, {
796
- params: {
797
- userId: string;
798
- userName: string;
799
- userPriority: string;
800
- };
801
- type: "USER_ACTION";
802
- ip: string;
803
- cgi: EUserActions.SET_FRIENDLY_LIST;
804
- postJsonBody: {
805
- list: {
806
- domain: "adsb" | "remoteId";
807
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
808
- idValue: string;
809
- }[];
810
- };
811
- }, {
812
- params: {
813
- userId: string;
814
- userName: string;
815
- userPriority: string;
816
- };
817
- type: "USER_ACTION";
818
- ip: string;
819
- cgi: EUserActions.SET_FRIENDLY_LIST;
820
- postJsonBody: {
821
- list?: {
822
- domain: "adsb" | "remoteId";
823
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
824
- idValue: string;
825
- }[] | undefined;
826
- };
827
- }>, z.ZodObject<{
265
+ }, z.core.$strip>>>;
266
+ }, z.core.$strip>;
267
+ }, z.core.$strip>, z.ZodObject<{
828
268
  type: z.ZodLiteral<"USER_ACTION">;
829
269
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
830
270
  ip: z.ZodString;
@@ -832,48 +272,11 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
832
272
  userId: z.ZodString;
833
273
  userName: z.ZodString;
834
274
  userPriority: z.ZodString;
835
- } & {
836
275
  lat: z.ZodString;
837
276
  lon: z.ZodString;
838
- }, "strip", z.ZodTypeAny, {
839
- lat: string;
840
- lon: string;
841
- userId: string;
842
- userName: string;
843
- userPriority: string;
844
- }, {
845
- lat: string;
846
- lon: string;
847
- userId: string;
848
- userName: string;
849
- userPriority: string;
850
- }>;
277
+ }, z.core.$strip>;
851
278
  postJsonBody: z.ZodAny;
852
- }, "strip", z.ZodTypeAny, {
853
- params: {
854
- lat: string;
855
- lon: string;
856
- userId: string;
857
- userName: string;
858
- userPriority: string;
859
- };
860
- type: "USER_ACTION";
861
- ip: string;
862
- cgi: EUserActions.GO_TO_COORDINATES;
863
- postJsonBody?: any;
864
- }, {
865
- params: {
866
- lat: string;
867
- lon: string;
868
- userId: string;
869
- userName: string;
870
- userPriority: string;
871
- };
872
- type: "USER_ACTION";
873
- ip: string;
874
- cgi: EUserActions.GO_TO_COORDINATES;
875
- postJsonBody?: any;
876
- }>, z.ZodObject<{
279
+ }, z.core.$strip>, z.ZodObject<{
877
280
  type: z.ZodLiteral<"USER_ACTION">;
878
281
  cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
879
282
  ip: z.ZodString;
@@ -881,47 +284,11 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
881
284
  userId: z.ZodString;
882
285
  userName: z.ZodString;
883
286
  userPriority: z.ZodString;
884
- }, "strip", z.ZodTypeAny, {
885
- userId: string;
886
- userName: string;
887
- userPriority: string;
888
- }, {
889
- userId: string;
890
- userName: string;
891
- userPriority: string;
892
- }>;
287
+ }, z.core.$strip>;
893
288
  postJsonBody: z.ZodObject<{
894
- mode: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
895
- }, "strip", z.ZodTypeAny, {
896
- mode: "MANUAL" | "AUTOMATIC";
897
- }, {
898
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
899
- }>;
900
- }, "strip", z.ZodTypeAny, {
901
- params: {
902
- userId: string;
903
- userName: string;
904
- userPriority: string;
905
- };
906
- type: "USER_ACTION";
907
- ip: string;
908
- cgi: EUserActions.SET_TRACKING_MODE;
909
- postJsonBody: {
910
- mode: "MANUAL" | "AUTOMATIC";
911
- };
912
- }, {
913
- params: {
914
- userId: string;
915
- userName: string;
916
- userPriority: string;
917
- };
918
- type: "USER_ACTION";
919
- ip: string;
920
- cgi: EUserActions.SET_TRACKING_MODE;
921
- postJsonBody: {
922
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
923
- };
924
- }>, z.ZodObject<{
289
+ mode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
290
+ }, z.core.$strip>;
291
+ }, z.core.$strip>, z.ZodObject<{
925
292
  type: z.ZodLiteral<"USER_ACTION">;
926
293
  cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
927
294
  ip: z.ZodString;
@@ -929,15 +296,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
929
296
  userId: z.ZodString;
930
297
  userName: z.ZodString;
931
298
  userPriority: z.ZodString;
932
- }, "strip", z.ZodTypeAny, {
933
- userId: string;
934
- userName: string;
935
- userPriority: string;
936
- }, {
937
- userId: string;
938
- userName: string;
939
- userPriority: string;
940
- }>;
299
+ }, z.core.$strip>;
941
300
  postJsonBody: z.ZodObject<{
942
301
  zones: z.ZodDefault<z.ZodArray<z.ZodObject<{
943
302
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -945,167 +304,30 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
945
304
  area: z.ZodArray<z.ZodObject<{
946
305
  lat: z.ZodNumber;
947
306
  lon: z.ZodNumber;
948
- }, "strip", z.ZodTypeAny, {
949
- lat: number;
950
- lon: number;
951
- }, {
952
- lat: number;
953
- lon: number;
954
- }>, "atleastone">;
307
+ }, z.core.$strip>>;
955
308
  minAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
956
309
  maxAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
957
310
  minSpeedKmph: z.ZodOptional<z.ZodNumber>;
958
311
  maxSpeedKmph: z.ZodOptional<z.ZodNumber>;
959
- flightDirection: z.ZodDefault<z.ZodEnum<["all", "arrival", "departure"]>>;
312
+ flightDirection: z.ZodDefault<z.ZodEnum<{
313
+ all: "all";
314
+ arrival: "arrival";
315
+ departure: "departure";
316
+ }>>;
960
317
  runwayDirectionDeg: z.ZodOptional<z.ZodNumber>;
961
318
  weight: z.ZodNumber;
962
- perimeter: z.ZodDefault<z.ZodEnum<["none", "outer", "inner"]>>;
963
- trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<["adsb", "remoteId"]>, "many">>;
964
- }, "strip", z.ZodTypeAny, {
965
- enabled: boolean;
966
- area: [{
967
- lat: number;
968
- lon: number;
969
- }, ...{
970
- lat: number;
971
- lon: number;
972
- }[]];
973
- flightDirection: "all" | "arrival" | "departure";
974
- weight: number;
975
- perimeter: "none" | "outer" | "inner";
976
- trackingDomains: ("adsb" | "remoteId")[];
977
- name?: string | undefined;
978
- minAltitudeAmsl?: number | undefined;
979
- maxAltitudeAmsl?: number | undefined;
980
- minSpeedKmph?: number | undefined;
981
- maxSpeedKmph?: number | undefined;
982
- runwayDirectionDeg?: number | undefined;
983
- }, {
984
- area: [{
985
- lat: number;
986
- lon: number;
987
- }, ...{
988
- lat: number;
989
- lon: number;
990
- }[]];
991
- weight: number;
992
- name?: string | undefined;
993
- enabled?: boolean | undefined;
994
- minAltitudeAmsl?: number | undefined;
995
- maxAltitudeAmsl?: number | undefined;
996
- minSpeedKmph?: number | undefined;
997
- maxSpeedKmph?: number | undefined;
998
- flightDirection?: "all" | "arrival" | "departure" | undefined;
999
- runwayDirectionDeg?: number | undefined;
1000
- perimeter?: "none" | "outer" | "inner" | undefined;
1001
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
1002
- }>, "many">>;
1003
- }, "strip", z.ZodTypeAny, {
1004
- zones: {
1005
- enabled: boolean;
1006
- area: [{
1007
- lat: number;
1008
- lon: number;
1009
- }, ...{
1010
- lat: number;
1011
- lon: number;
1012
- }[]];
1013
- flightDirection: "all" | "arrival" | "departure";
1014
- weight: number;
1015
- perimeter: "none" | "outer" | "inner";
1016
- trackingDomains: ("adsb" | "remoteId")[];
1017
- name?: string | undefined;
1018
- minAltitudeAmsl?: number | undefined;
1019
- maxAltitudeAmsl?: number | undefined;
1020
- minSpeedKmph?: number | undefined;
1021
- maxSpeedKmph?: number | undefined;
1022
- runwayDirectionDeg?: number | undefined;
1023
- }[];
1024
- }, {
1025
- zones?: {
1026
- area: [{
1027
- lat: number;
1028
- lon: number;
1029
- }, ...{
1030
- lat: number;
1031
- lon: number;
1032
- }[]];
1033
- weight: number;
1034
- name?: string | undefined;
1035
- enabled?: boolean | undefined;
1036
- minAltitudeAmsl?: number | undefined;
1037
- maxAltitudeAmsl?: number | undefined;
1038
- minSpeedKmph?: number | undefined;
1039
- maxSpeedKmph?: number | undefined;
1040
- flightDirection?: "all" | "arrival" | "departure" | undefined;
1041
- runwayDirectionDeg?: number | undefined;
1042
- perimeter?: "none" | "outer" | "inner" | undefined;
1043
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
1044
- }[] | undefined;
1045
- }>;
1046
- }, "strip", z.ZodTypeAny, {
1047
- params: {
1048
- userId: string;
1049
- userName: string;
1050
- userPriority: string;
1051
- };
1052
- type: "USER_ACTION";
1053
- ip: string;
1054
- cgi: EUserActions.SET_ZONES;
1055
- postJsonBody: {
1056
- zones: {
1057
- enabled: boolean;
1058
- area: [{
1059
- lat: number;
1060
- lon: number;
1061
- }, ...{
1062
- lat: number;
1063
- lon: number;
1064
- }[]];
1065
- flightDirection: "all" | "arrival" | "departure";
1066
- weight: number;
1067
- perimeter: "none" | "outer" | "inner";
1068
- trackingDomains: ("adsb" | "remoteId")[];
1069
- name?: string | undefined;
1070
- minAltitudeAmsl?: number | undefined;
1071
- maxAltitudeAmsl?: number | undefined;
1072
- minSpeedKmph?: number | undefined;
1073
- maxSpeedKmph?: number | undefined;
1074
- runwayDirectionDeg?: number | undefined;
1075
- }[];
1076
- };
1077
- }, {
1078
- params: {
1079
- userId: string;
1080
- userName: string;
1081
- userPriority: string;
1082
- };
1083
- type: "USER_ACTION";
1084
- ip: string;
1085
- cgi: EUserActions.SET_ZONES;
1086
- postJsonBody: {
1087
- zones?: {
1088
- area: [{
1089
- lat: number;
1090
- lon: number;
1091
- }, ...{
1092
- lat: number;
1093
- lon: number;
1094
- }[]];
1095
- weight: number;
1096
- name?: string | undefined;
1097
- enabled?: boolean | undefined;
1098
- minAltitudeAmsl?: number | undefined;
1099
- maxAltitudeAmsl?: number | undefined;
1100
- minSpeedKmph?: number | undefined;
1101
- maxSpeedKmph?: number | undefined;
1102
- flightDirection?: "all" | "arrival" | "departure" | undefined;
1103
- runwayDirectionDeg?: number | undefined;
1104
- perimeter?: "none" | "outer" | "inner" | undefined;
1105
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
1106
- }[] | undefined;
1107
- };
1108
- }>, z.ZodObject<{
319
+ perimeter: z.ZodDefault<z.ZodEnum<{
320
+ none: "none";
321
+ outer: "outer";
322
+ inner: "inner";
323
+ }>>;
324
+ trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<{
325
+ adsb: "adsb";
326
+ remoteId: "remoteId";
327
+ }>>>;
328
+ }, z.core.$strip>>>;
329
+ }, z.core.$strip>;
330
+ }, z.core.$strip>, z.ZodObject<{
1109
331
  type: z.ZodLiteral<"USER_ACTION">;
1110
332
  cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
1111
333
  ip: z.ZodString;
@@ -1113,37 +335,9 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
1113
335
  userId: z.ZodString;
1114
336
  userName: z.ZodString;
1115
337
  userPriority: z.ZodString;
1116
- }, "strip", z.ZodTypeAny, {
1117
- userId: string;
1118
- userName: string;
1119
- userPriority: string;
1120
- }, {
1121
- userId: string;
1122
- userName: string;
1123
- userPriority: string;
1124
- }>;
338
+ }, z.core.$strip>;
1125
339
  postJsonBody: z.ZodAny;
1126
- }, "strip", z.ZodTypeAny, {
1127
- params: {
1128
- userId: string;
1129
- userName: string;
1130
- userPriority: string;
1131
- };
1132
- type: "USER_ACTION";
1133
- ip: string;
1134
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
1135
- postJsonBody?: any;
1136
- }, {
1137
- params: {
1138
- userId: string;
1139
- userName: string;
1140
- userPriority: string;
1141
- };
1142
- type: "USER_ACTION";
1143
- ip: string;
1144
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
1145
- postJsonBody?: any;
1146
- }>, z.ZodObject<{
340
+ }, z.core.$strip>, z.ZodObject<{
1147
341
  type: z.ZodLiteral<"USER_ACTION">;
1148
342
  cgi: z.ZodLiteral<EUserActions.LOCK_API>;
1149
343
  ip: z.ZodString;
@@ -1151,43 +345,10 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
1151
345
  userId: z.ZodString;
1152
346
  userName: z.ZodString;
1153
347
  userPriority: z.ZodString;
1154
- } & {
1155
348
  timeout: z.ZodString;
1156
- }, "strip", z.ZodTypeAny, {
1157
- timeout: string;
1158
- userId: string;
1159
- userName: string;
1160
- userPriority: string;
1161
- }, {
1162
- timeout: string;
1163
- userId: string;
1164
- userName: string;
1165
- userPriority: string;
1166
- }>;
349
+ }, z.core.$strip>;
1167
350
  postJsonBody: z.ZodAny;
1168
- }, "strip", z.ZodTypeAny, {
1169
- params: {
1170
- timeout: string;
1171
- userId: string;
1172
- userName: string;
1173
- userPriority: string;
1174
- };
1175
- type: "USER_ACTION";
1176
- ip: string;
1177
- cgi: EUserActions.LOCK_API;
1178
- postJsonBody?: any;
1179
- }, {
1180
- params: {
1181
- timeout: string;
1182
- userId: string;
1183
- userName: string;
1184
- userPriority: string;
1185
- };
1186
- type: "USER_ACTION";
1187
- ip: string;
1188
- cgi: EUserActions.LOCK_API;
1189
- postJsonBody?: any;
1190
- }>, z.ZodObject<{
351
+ }, z.core.$strip>, z.ZodObject<{
1191
352
  type: z.ZodLiteral<"USER_ACTION">;
1192
353
  cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
1193
354
  ip: z.ZodString;
@@ -1195,186 +356,63 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
1195
356
  userId: z.ZodString;
1196
357
  userName: z.ZodString;
1197
358
  userPriority: z.ZodString;
1198
- }, "strip", z.ZodTypeAny, {
1199
- userId: string;
1200
- userName: string;
1201
- userPriority: string;
1202
- }, {
1203
- userId: string;
1204
- userName: string;
1205
- userPriority: string;
1206
- }>;
359
+ }, z.core.$strip>;
1207
360
  postJsonBody: z.ZodAny;
1208
- }, "strip", z.ZodTypeAny, {
1209
- params: {
1210
- userId: string;
1211
- userName: string;
1212
- userPriority: string;
1213
- };
1214
- type: "USER_ACTION";
1215
- ip: string;
1216
- cgi: EUserActions.UNLOCK_API;
1217
- postJsonBody?: any;
1218
- }, {
1219
- params: {
1220
- userId: string;
1221
- userName: string;
1222
- userPriority: string;
1223
- };
1224
- type: "USER_ACTION";
1225
- ip: string;
1226
- cgi: EUserActions.UNLOCK_API;
1227
- postJsonBody?: any;
1228
- }>, z.ZodObject<{
361
+ }, z.core.$strip>, z.ZodObject<{
1229
362
  type: z.ZodLiteral<"CONNECTED_USERS">;
1230
363
  users: z.ZodArray<z.ZodObject<{
1231
364
  userId: z.ZodString;
1232
365
  userName: z.ZodString;
1233
- } & {
1234
366
  ip: z.ZodString;
1235
367
  userPriority: z.ZodNumber;
1236
- }, "strip", z.ZodTypeAny, {
1237
- ip: string;
1238
- userId: string;
1239
- userName: string;
1240
- userPriority: number;
1241
- }, {
1242
- ip: string;
1243
- userId: string;
1244
- userName: string;
1245
- userPriority: number;
1246
- }>, "many">;
1247
- }, "strip", z.ZodTypeAny, {
1248
- type: "CONNECTED_USERS";
1249
- users: {
1250
- ip: string;
1251
- userId: string;
1252
- userName: string;
1253
- userPriority: number;
1254
- }[];
1255
- }, {
1256
- type: "CONNECTED_USERS";
1257
- users: {
1258
- ip: string;
1259
- userId: string;
1260
- userName: string;
1261
- userPriority: number;
1262
- }[];
1263
- }>, z.ZodObject<{
368
+ }, z.core.$strip>>;
369
+ }, z.core.$strip>, z.ZodObject<{
1264
370
  type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
1265
371
  enabled: z.ZodBoolean;
1266
372
  icao: z.ZodOptional<z.ZodString>;
1267
373
  targetId: z.ZodOptional<z.ZodString>;
1268
- }, "strip", z.ZodTypeAny, {
1269
- type: "FORCE_TRACKING_STATUS";
1270
- enabled: boolean;
1271
- icao?: string | undefined;
1272
- targetId?: string | undefined;
1273
- }, {
1274
- type: "FORCE_TRACKING_STATUS";
1275
- enabled: boolean;
1276
- icao?: string | undefined;
1277
- targetId?: string | undefined;
1278
- }>, z.ZodObject<{
374
+ }, z.core.$strip>, z.ZodObject<{
1279
375
  type: z.ZodLiteral<"API_LOCK_STATUS">;
1280
376
  isLocked: z.ZodBoolean;
1281
377
  user: z.ZodOptional<z.ZodObject<{
1282
378
  userId: z.ZodString;
1283
379
  userName: z.ZodString;
1284
- } & {
1285
380
  ip: z.ZodString;
1286
381
  userPriority: z.ZodNumber;
1287
- }, "strip", z.ZodTypeAny, {
1288
- ip: string;
1289
- userId: string;
1290
- userName: string;
1291
- userPriority: number;
1292
- }, {
1293
- ip: string;
1294
- userId: string;
1295
- userName: string;
1296
- userPriority: number;
1297
- }>>;
1298
- }, "strip", z.ZodTypeAny, {
1299
- type: "API_LOCK_STATUS";
1300
- isLocked: boolean;
1301
- user?: {
1302
- ip: string;
1303
- userId: string;
1304
- userName: string;
1305
- userPriority: number;
1306
- } | undefined;
1307
- }, {
1308
- type: "API_LOCK_STATUS";
1309
- isLocked: boolean;
1310
- user?: {
1311
- ip: string;
1312
- userId: string;
1313
- userName: string;
1314
- userPriority: number;
1315
- } | undefined;
1316
- }>]>;
382
+ }, z.core.$strip>>;
383
+ }, z.core.$strip>]>;
1317
384
  export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1318
385
  type: z.ZodLiteral<"init">;
1319
386
  data: z.ZodUnion<readonly [z.ZodObject<{
1320
387
  type: z.ZodLiteral<"CAMERA_POSITION">;
1321
- } & {
1322
388
  lat: z.ZodNumber;
1323
389
  lon: z.ZodNumber;
1324
390
  azimuth: z.ZodNumber;
1325
391
  elevation: z.ZodNumber;
1326
392
  fov: z.ZodNumber;
1327
393
  sampledAt: z.ZodNumber;
1328
- }, "strip", z.ZodTypeAny, {
1329
- type: "CAMERA_POSITION";
1330
- lat: number;
1331
- lon: number;
1332
- azimuth: number;
1333
- elevation: number;
1334
- fov: number;
1335
- sampledAt: number;
1336
- }, {
1337
- type: "CAMERA_POSITION";
1338
- lat: number;
1339
- lon: number;
1340
- azimuth: number;
1341
- elevation: number;
1342
- fov: number;
1343
- sampledAt: number;
1344
- }>, z.ZodObject<{
394
+ }, z.core.$strip>, z.ZodObject<{
1345
395
  type: z.ZodLiteral<"TRACKING_START">;
1346
396
  icao: z.ZodString;
1347
397
  targetId: z.ZodString;
1348
398
  callsign: z.ZodOptional<z.ZodString>;
1349
- domain: z.ZodEnum<["adsb", "remoteId"]>;
399
+ domain: z.ZodEnum<{
400
+ adsb: "adsb";
401
+ remoteId: "remoteId";
402
+ }>;
1350
403
  categoryId: z.ZodString;
1351
- }, "strip", z.ZodTypeAny, {
1352
- type: "TRACKING_START";
1353
- icao: string;
1354
- targetId: string;
1355
- domain: "adsb" | "remoteId";
1356
- categoryId: string;
1357
- callsign?: string | undefined;
1358
- }, {
1359
- type: "TRACKING_START";
1360
- icao: string;
1361
- targetId: string;
1362
- domain: "adsb" | "remoteId";
1363
- categoryId: string;
1364
- callsign?: string | undefined;
1365
- }>, z.ZodObject<{
404
+ }, z.core.$strip>, z.ZodObject<{
1366
405
  type: z.ZodLiteral<"TRACKING_STOP">;
1367
- }, "strip", z.ZodTypeAny, {
1368
- type: "TRACKING_STOP";
1369
- }, {
1370
- type: "TRACKING_STOP";
1371
- }>, z.ZodObject<{
406
+ }, z.core.$strip>, z.ZodObject<{
1372
407
  type: z.ZodLiteral<"FLIGHT_LIST">;
1373
408
  list: z.ZodArray<z.ZodObject<{
1374
409
  targetId: z.ZodString;
1375
410
  icao: z.ZodString;
1376
411
  callsign: z.ZodOptional<z.ZodString>;
1377
- domain: z.ZodEnum<["adsb", "remoteId"]>;
412
+ domain: z.ZodEnum<{
413
+ adsb: "adsb";
414
+ remoteId: "remoteId";
415
+ }>;
1378
416
  categoryId: z.ZodString;
1379
417
  groupId: z.ZodOptional<z.ZodString>;
1380
418
  lat: z.ZodNumber;
@@ -1397,122 +435,8 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1397
435
  emitterCategory: z.ZodDefault<z.ZodNumber>;
1398
436
  emergencyState: z.ZodBoolean;
1399
437
  emergencyStatusMessage: z.ZodString;
1400
- }, "strip", z.ZodTypeAny, {
1401
- icao: string;
1402
- targetId: string;
1403
- domain: "adsb" | "remoteId";
1404
- lat: number;
1405
- lon: number;
1406
- categoryId: string;
1407
- observedLat: number;
1408
- observedLon: number;
1409
- positionTimestamp: number;
1410
- heading: number;
1411
- groundSpeed: number;
1412
- altitudeAMSL: number;
1413
- cameraDistance: number;
1414
- autoTrackingOrder: number | null;
1415
- whiteListed: boolean;
1416
- blackListed: boolean;
1417
- priorityListed: boolean;
1418
- friendlyListed: boolean;
1419
- autoSelectionIgnored: boolean;
1420
- signalQuality: number;
1421
- emitterCategorySet: number;
1422
- emitterCategory: number;
1423
- emergencyState: boolean;
1424
- emergencyStatusMessage: string;
1425
- callsign?: string | undefined;
1426
- groupId?: string | undefined;
1427
- }, {
1428
- icao: string;
1429
- targetId: string;
1430
- domain: "adsb" | "remoteId";
1431
- lat: number;
1432
- lon: number;
1433
- categoryId: string;
1434
- observedLat: number;
1435
- observedLon: number;
1436
- positionTimestamp: number;
1437
- heading: number;
1438
- groundSpeed: number;
1439
- altitudeAMSL: number;
1440
- cameraDistance: number;
1441
- autoTrackingOrder: number | null;
1442
- whiteListed: boolean;
1443
- blackListed: boolean;
1444
- priorityListed: boolean;
1445
- friendlyListed: boolean;
1446
- autoSelectionIgnored: boolean;
1447
- signalQuality: number;
1448
- emergencyState: boolean;
1449
- emergencyStatusMessage: string;
1450
- callsign?: string | undefined;
1451
- groupId?: string | undefined;
1452
- emitterCategorySet?: number | undefined;
1453
- emitterCategory?: number | undefined;
1454
- }>, "many">;
1455
- }, "strip", z.ZodTypeAny, {
1456
- type: "FLIGHT_LIST";
1457
- list: {
1458
- icao: string;
1459
- targetId: string;
1460
- domain: "adsb" | "remoteId";
1461
- lat: number;
1462
- lon: number;
1463
- categoryId: string;
1464
- observedLat: number;
1465
- observedLon: number;
1466
- positionTimestamp: number;
1467
- heading: number;
1468
- groundSpeed: number;
1469
- altitudeAMSL: number;
1470
- cameraDistance: number;
1471
- autoTrackingOrder: number | null;
1472
- whiteListed: boolean;
1473
- blackListed: boolean;
1474
- priorityListed: boolean;
1475
- friendlyListed: boolean;
1476
- autoSelectionIgnored: boolean;
1477
- signalQuality: number;
1478
- emitterCategorySet: number;
1479
- emitterCategory: number;
1480
- emergencyState: boolean;
1481
- emergencyStatusMessage: string;
1482
- callsign?: string | undefined;
1483
- groupId?: string | undefined;
1484
- }[];
1485
- }, {
1486
- type: "FLIGHT_LIST";
1487
- list: {
1488
- icao: string;
1489
- targetId: string;
1490
- domain: "adsb" | "remoteId";
1491
- lat: number;
1492
- lon: number;
1493
- categoryId: string;
1494
- observedLat: number;
1495
- observedLon: number;
1496
- positionTimestamp: number;
1497
- heading: number;
1498
- groundSpeed: number;
1499
- altitudeAMSL: number;
1500
- cameraDistance: number;
1501
- autoTrackingOrder: number | null;
1502
- whiteListed: boolean;
1503
- blackListed: boolean;
1504
- priorityListed: boolean;
1505
- friendlyListed: boolean;
1506
- autoSelectionIgnored: boolean;
1507
- signalQuality: number;
1508
- emergencyState: boolean;
1509
- emergencyStatusMessage: string;
1510
- callsign?: string | undefined;
1511
- groupId?: string | undefined;
1512
- emitterCategorySet?: number | undefined;
1513
- emitterCategory?: number | undefined;
1514
- }[];
1515
- }>, z.ZodObject<{
438
+ }, z.core.$strip>>;
439
+ }, z.core.$strip>, z.ZodObject<{
1516
440
  type: z.ZodLiteral<"USER_ACTION">;
1517
441
  cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
1518
442
  ip: z.ZodString;
@@ -1520,43 +444,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1520
444
  userId: z.ZodString;
1521
445
  userName: z.ZodString;
1522
446
  userPriority: z.ZodString;
1523
- } & {
1524
447
  icao: z.ZodString;
1525
- }, "strip", z.ZodTypeAny, {
1526
- icao: string;
1527
- userId: string;
1528
- userName: string;
1529
- userPriority: string;
1530
- }, {
1531
- icao: string;
1532
- userId: string;
1533
- userName: string;
1534
- userPriority: string;
1535
- }>;
448
+ }, z.core.$strip>;
1536
449
  postJsonBody: z.ZodAny;
1537
- }, "strip", z.ZodTypeAny, {
1538
- params: {
1539
- icao: string;
1540
- userId: string;
1541
- userName: string;
1542
- userPriority: string;
1543
- };
1544
- type: "USER_ACTION";
1545
- ip: string;
1546
- cgi: EUserActions.TRACK_ICAO;
1547
- postJsonBody?: any;
1548
- }, {
1549
- params: {
1550
- icao: string;
1551
- userId: string;
1552
- userName: string;
1553
- userPriority: string;
1554
- };
1555
- type: "USER_ACTION";
1556
- ip: string;
1557
- cgi: EUserActions.TRACK_ICAO;
1558
- postJsonBody?: any;
1559
- }>, z.ZodObject<{
450
+ }, z.core.$strip>, z.ZodObject<{
1560
451
  type: z.ZodLiteral<"USER_ACTION">;
1561
452
  cgi: z.ZodLiteral<EUserActions.TRACK_TARGET>;
1562
453
  ip: z.ZodString;
@@ -1564,43 +455,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1564
455
  userId: z.ZodString;
1565
456
  userName: z.ZodString;
1566
457
  userPriority: z.ZodString;
1567
- } & {
1568
458
  targetId: z.ZodString;
1569
- }, "strip", z.ZodTypeAny, {
1570
- targetId: string;
1571
- userId: string;
1572
- userName: string;
1573
- userPriority: string;
1574
- }, {
1575
- targetId: string;
1576
- userId: string;
1577
- userName: string;
1578
- userPriority: string;
1579
- }>;
459
+ }, z.core.$strip>;
1580
460
  postJsonBody: z.ZodAny;
1581
- }, "strip", z.ZodTypeAny, {
1582
- params: {
1583
- targetId: string;
1584
- userId: string;
1585
- userName: string;
1586
- userPriority: string;
1587
- };
1588
- type: "USER_ACTION";
1589
- ip: string;
1590
- cgi: EUserActions.TRACK_TARGET;
1591
- postJsonBody?: any;
1592
- }, {
1593
- params: {
1594
- targetId: string;
1595
- userId: string;
1596
- userName: string;
1597
- userPriority: string;
1598
- };
1599
- type: "USER_ACTION";
1600
- ip: string;
1601
- cgi: EUserActions.TRACK_TARGET;
1602
- postJsonBody?: any;
1603
- }>, z.ZodObject<{
461
+ }, z.core.$strip>, z.ZodObject<{
1604
462
  type: z.ZodLiteral<"USER_ACTION">;
1605
463
  cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
1606
464
  ip: z.ZodString;
@@ -1608,37 +466,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1608
466
  userId: z.ZodString;
1609
467
  userName: z.ZodString;
1610
468
  userPriority: z.ZodString;
1611
- }, "strip", z.ZodTypeAny, {
1612
- userId: string;
1613
- userName: string;
1614
- userPriority: string;
1615
- }, {
1616
- userId: string;
1617
- userName: string;
1618
- userPriority: string;
1619
- }>;
469
+ }, z.core.$strip>;
1620
470
  postJsonBody: z.ZodAny;
1621
- }, "strip", z.ZodTypeAny, {
1622
- params: {
1623
- userId: string;
1624
- userName: string;
1625
- userPriority: string;
1626
- };
1627
- type: "USER_ACTION";
1628
- ip: string;
1629
- cgi: EUserActions.RESET_ICAO;
1630
- postJsonBody?: any;
1631
- }, {
1632
- params: {
1633
- userId: string;
1634
- userName: string;
1635
- userPriority: string;
1636
- };
1637
- type: "USER_ACTION";
1638
- ip: string;
1639
- cgi: EUserActions.RESET_ICAO;
1640
- postJsonBody?: any;
1641
- }>, z.ZodObject<{
471
+ }, z.core.$strip>, z.ZodObject<{
1642
472
  type: z.ZodLiteral<"USER_ACTION">;
1643
473
  cgi: z.ZodLiteral<EUserActions.RESET_TARGET>;
1644
474
  ip: z.ZodString;
@@ -1646,37 +476,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1646
476
  userId: z.ZodString;
1647
477
  userName: z.ZodString;
1648
478
  userPriority: z.ZodString;
1649
- }, "strip", z.ZodTypeAny, {
1650
- userId: string;
1651
- userName: string;
1652
- userPriority: string;
1653
- }, {
1654
- userId: string;
1655
- userName: string;
1656
- userPriority: string;
1657
- }>;
479
+ }, z.core.$strip>;
1658
480
  postJsonBody: z.ZodAny;
1659
- }, "strip", z.ZodTypeAny, {
1660
- params: {
1661
- userId: string;
1662
- userName: string;
1663
- userPriority: string;
1664
- };
1665
- type: "USER_ACTION";
1666
- ip: string;
1667
- cgi: EUserActions.RESET_TARGET;
1668
- postJsonBody?: any;
1669
- }, {
1670
- params: {
1671
- userId: string;
1672
- userName: string;
1673
- userPriority: string;
1674
- };
1675
- type: "USER_ACTION";
1676
- ip: string;
1677
- cgi: EUserActions.RESET_TARGET;
1678
- postJsonBody?: any;
1679
- }>, z.ZodObject<{
481
+ }, z.core.$strip>, z.ZodObject<{
1680
482
  type: z.ZodLiteral<"USER_ACTION">;
1681
483
  cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
1682
484
  ip: z.ZodString;
@@ -1684,83 +486,25 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1684
486
  userId: z.ZodString;
1685
487
  userName: z.ZodString;
1686
488
  userPriority: z.ZodString;
1687
- }, "strip", z.ZodTypeAny, {
1688
- userId: string;
1689
- userName: string;
1690
- userPriority: string;
1691
- }, {
1692
- userId: string;
1693
- userName: string;
1694
- userPriority: string;
1695
- }>;
489
+ }, z.core.$strip>;
1696
490
  postJsonBody: z.ZodObject<{
1697
491
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1698
- domain: z.ZodEnum<["adsb", "remoteId"]>;
1699
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
492
+ domain: z.ZodEnum<{
493
+ adsb: "adsb";
494
+ remoteId: "remoteId";
495
+ }>;
496
+ idType: z.ZodEnum<{
497
+ icao: "icao";
498
+ type_icao: "type_icao";
499
+ drone_mac: "drone_mac";
500
+ operator_mac: "operator_mac";
501
+ category: "category";
502
+ }>;
1700
503
  idValue: z.ZodString;
1701
- } & {
1702
504
  priority: z.ZodNumber;
1703
- }, "strip", z.ZodTypeAny, {
1704
- priority: number;
1705
- domain: "adsb" | "remoteId";
1706
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1707
- idValue: string;
1708
- }, {
1709
- priority: number;
1710
- domain: "adsb" | "remoteId";
1711
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1712
- idValue: string;
1713
- }>, "many">>;
1714
- }, "strip", z.ZodTypeAny, {
1715
- list: {
1716
- priority: number;
1717
- domain: "adsb" | "remoteId";
1718
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1719
- idValue: string;
1720
- }[];
1721
- }, {
1722
- list?: {
1723
- priority: number;
1724
- domain: "adsb" | "remoteId";
1725
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1726
- idValue: string;
1727
- }[] | undefined;
1728
- }>;
1729
- }, "strip", z.ZodTypeAny, {
1730
- params: {
1731
- userId: string;
1732
- userName: string;
1733
- userPriority: string;
1734
- };
1735
- type: "USER_ACTION";
1736
- ip: string;
1737
- cgi: EUserActions.SET_PRIORITY_LIST;
1738
- postJsonBody: {
1739
- list: {
1740
- priority: number;
1741
- domain: "adsb" | "remoteId";
1742
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1743
- idValue: string;
1744
- }[];
1745
- };
1746
- }, {
1747
- params: {
1748
- userId: string;
1749
- userName: string;
1750
- userPriority: string;
1751
- };
1752
- type: "USER_ACTION";
1753
- ip: string;
1754
- cgi: EUserActions.SET_PRIORITY_LIST;
1755
- postJsonBody: {
1756
- list?: {
1757
- priority: number;
1758
- domain: "adsb" | "remoteId";
1759
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1760
- idValue: string;
1761
- }[] | undefined;
1762
- };
1763
- }>, z.ZodObject<{
505
+ }, z.core.$strip>>>;
506
+ }, z.core.$strip>;
507
+ }, z.core.$strip>, z.ZodObject<{
1764
508
  type: z.ZodLiteral<"USER_ACTION">;
1765
509
  cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
1766
510
  ip: z.ZodString;
@@ -1768,75 +512,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1768
512
  userId: z.ZodString;
1769
513
  userName: z.ZodString;
1770
514
  userPriority: z.ZodString;
1771
- }, "strip", z.ZodTypeAny, {
1772
- userId: string;
1773
- userName: string;
1774
- userPriority: string;
1775
- }, {
1776
- userId: string;
1777
- userName: string;
1778
- userPriority: string;
1779
- }>;
515
+ }, z.core.$strip>;
1780
516
  postJsonBody: z.ZodObject<{
1781
517
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1782
- domain: z.ZodEnum<["adsb", "remoteId"]>;
1783
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
518
+ domain: z.ZodEnum<{
519
+ adsb: "adsb";
520
+ remoteId: "remoteId";
521
+ }>;
522
+ idType: z.ZodEnum<{
523
+ icao: "icao";
524
+ type_icao: "type_icao";
525
+ drone_mac: "drone_mac";
526
+ operator_mac: "operator_mac";
527
+ category: "category";
528
+ }>;
1784
529
  idValue: z.ZodString;
1785
- }, "strip", z.ZodTypeAny, {
1786
- domain: "adsb" | "remoteId";
1787
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1788
- idValue: string;
1789
- }, {
1790
- domain: "adsb" | "remoteId";
1791
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1792
- idValue: string;
1793
- }>, "many">>;
1794
- }, "strip", z.ZodTypeAny, {
1795
- list: {
1796
- domain: "adsb" | "remoteId";
1797
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1798
- idValue: string;
1799
- }[];
1800
- }, {
1801
- list?: {
1802
- domain: "adsb" | "remoteId";
1803
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1804
- idValue: string;
1805
- }[] | undefined;
1806
- }>;
1807
- }, "strip", z.ZodTypeAny, {
1808
- params: {
1809
- userId: string;
1810
- userName: string;
1811
- userPriority: string;
1812
- };
1813
- type: "USER_ACTION";
1814
- ip: string;
1815
- cgi: EUserActions.SET_BLACK_LIST;
1816
- postJsonBody: {
1817
- list: {
1818
- domain: "adsb" | "remoteId";
1819
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1820
- idValue: string;
1821
- }[];
1822
- };
1823
- }, {
1824
- params: {
1825
- userId: string;
1826
- userName: string;
1827
- userPriority: string;
1828
- };
1829
- type: "USER_ACTION";
1830
- ip: string;
1831
- cgi: EUserActions.SET_BLACK_LIST;
1832
- postJsonBody: {
1833
- list?: {
1834
- domain: "adsb" | "remoteId";
1835
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1836
- idValue: string;
1837
- }[] | undefined;
1838
- };
1839
- }>, z.ZodObject<{
530
+ }, z.core.$strip>>>;
531
+ }, z.core.$strip>;
532
+ }, z.core.$strip>, z.ZodObject<{
1840
533
  type: z.ZodLiteral<"USER_ACTION">;
1841
534
  cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
1842
535
  ip: z.ZodString;
@@ -1844,75 +537,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1844
537
  userId: z.ZodString;
1845
538
  userName: z.ZodString;
1846
539
  userPriority: z.ZodString;
1847
- }, "strip", z.ZodTypeAny, {
1848
- userId: string;
1849
- userName: string;
1850
- userPriority: string;
1851
- }, {
1852
- userId: string;
1853
- userName: string;
1854
- userPriority: string;
1855
- }>;
540
+ }, z.core.$strip>;
1856
541
  postJsonBody: z.ZodObject<{
1857
542
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1858
- domain: z.ZodEnum<["adsb", "remoteId"]>;
1859
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
543
+ domain: z.ZodEnum<{
544
+ adsb: "adsb";
545
+ remoteId: "remoteId";
546
+ }>;
547
+ idType: z.ZodEnum<{
548
+ icao: "icao";
549
+ type_icao: "type_icao";
550
+ drone_mac: "drone_mac";
551
+ operator_mac: "operator_mac";
552
+ category: "category";
553
+ }>;
1860
554
  idValue: z.ZodString;
1861
- }, "strip", z.ZodTypeAny, {
1862
- domain: "adsb" | "remoteId";
1863
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1864
- idValue: string;
1865
- }, {
1866
- domain: "adsb" | "remoteId";
1867
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1868
- idValue: string;
1869
- }>, "many">>;
1870
- }, "strip", z.ZodTypeAny, {
1871
- list: {
1872
- domain: "adsb" | "remoteId";
1873
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1874
- idValue: string;
1875
- }[];
1876
- }, {
1877
- list?: {
1878
- domain: "adsb" | "remoteId";
1879
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1880
- idValue: string;
1881
- }[] | undefined;
1882
- }>;
1883
- }, "strip", z.ZodTypeAny, {
1884
- params: {
1885
- userId: string;
1886
- userName: string;
1887
- userPriority: string;
1888
- };
1889
- type: "USER_ACTION";
1890
- ip: string;
1891
- cgi: EUserActions.SET_WHITE_LIST;
1892
- postJsonBody: {
1893
- list: {
1894
- domain: "adsb" | "remoteId";
1895
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1896
- idValue: string;
1897
- }[];
1898
- };
1899
- }, {
1900
- params: {
1901
- userId: string;
1902
- userName: string;
1903
- userPriority: string;
1904
- };
1905
- type: "USER_ACTION";
1906
- ip: string;
1907
- cgi: EUserActions.SET_WHITE_LIST;
1908
- postJsonBody: {
1909
- list?: {
1910
- domain: "adsb" | "remoteId";
1911
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1912
- idValue: string;
1913
- }[] | undefined;
1914
- };
1915
- }>, z.ZodObject<{
555
+ }, z.core.$strip>>>;
556
+ }, z.core.$strip>;
557
+ }, z.core.$strip>, z.ZodObject<{
1916
558
  type: z.ZodLiteral<"USER_ACTION">;
1917
559
  cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
1918
560
  ip: z.ZodString;
@@ -1920,75 +562,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1920
562
  userId: z.ZodString;
1921
563
  userName: z.ZodString;
1922
564
  userPriority: z.ZodString;
1923
- }, "strip", z.ZodTypeAny, {
1924
- userId: string;
1925
- userName: string;
1926
- userPriority: string;
1927
- }, {
1928
- userId: string;
1929
- userName: string;
1930
- userPriority: string;
1931
- }>;
565
+ }, z.core.$strip>;
1932
566
  postJsonBody: z.ZodObject<{
1933
567
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1934
- domain: z.ZodEnum<["adsb", "remoteId"]>;
1935
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
568
+ domain: z.ZodEnum<{
569
+ adsb: "adsb";
570
+ remoteId: "remoteId";
571
+ }>;
572
+ idType: z.ZodEnum<{
573
+ icao: "icao";
574
+ type_icao: "type_icao";
575
+ drone_mac: "drone_mac";
576
+ operator_mac: "operator_mac";
577
+ category: "category";
578
+ }>;
1936
579
  idValue: z.ZodString;
1937
- }, "strip", z.ZodTypeAny, {
1938
- domain: "adsb" | "remoteId";
1939
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1940
- idValue: string;
1941
- }, {
1942
- domain: "adsb" | "remoteId";
1943
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1944
- idValue: string;
1945
- }>, "many">>;
1946
- }, "strip", z.ZodTypeAny, {
1947
- list: {
1948
- domain: "adsb" | "remoteId";
1949
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1950
- idValue: string;
1951
- }[];
1952
- }, {
1953
- list?: {
1954
- domain: "adsb" | "remoteId";
1955
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1956
- idValue: string;
1957
- }[] | undefined;
1958
- }>;
1959
- }, "strip", z.ZodTypeAny, {
1960
- params: {
1961
- userId: string;
1962
- userName: string;
1963
- userPriority: string;
1964
- };
1965
- type: "USER_ACTION";
1966
- ip: string;
1967
- cgi: EUserActions.SET_FRIENDLY_LIST;
1968
- postJsonBody: {
1969
- list: {
1970
- domain: "adsb" | "remoteId";
1971
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1972
- idValue: string;
1973
- }[];
1974
- };
1975
- }, {
1976
- params: {
1977
- userId: string;
1978
- userName: string;
1979
- userPriority: string;
1980
- };
1981
- type: "USER_ACTION";
1982
- ip: string;
1983
- cgi: EUserActions.SET_FRIENDLY_LIST;
1984
- postJsonBody: {
1985
- list?: {
1986
- domain: "adsb" | "remoteId";
1987
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1988
- idValue: string;
1989
- }[] | undefined;
1990
- };
1991
- }>, z.ZodObject<{
580
+ }, z.core.$strip>>>;
581
+ }, z.core.$strip>;
582
+ }, z.core.$strip>, z.ZodObject<{
1992
583
  type: z.ZodLiteral<"USER_ACTION">;
1993
584
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
1994
585
  ip: z.ZodString;
@@ -1996,48 +587,11 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1996
587
  userId: z.ZodString;
1997
588
  userName: z.ZodString;
1998
589
  userPriority: z.ZodString;
1999
- } & {
2000
590
  lat: z.ZodString;
2001
591
  lon: z.ZodString;
2002
- }, "strip", z.ZodTypeAny, {
2003
- lat: string;
2004
- lon: string;
2005
- userId: string;
2006
- userName: string;
2007
- userPriority: string;
2008
- }, {
2009
- lat: string;
2010
- lon: string;
2011
- userId: string;
2012
- userName: string;
2013
- userPriority: string;
2014
- }>;
592
+ }, z.core.$strip>;
2015
593
  postJsonBody: z.ZodAny;
2016
- }, "strip", z.ZodTypeAny, {
2017
- params: {
2018
- lat: string;
2019
- lon: string;
2020
- userId: string;
2021
- userName: string;
2022
- userPriority: string;
2023
- };
2024
- type: "USER_ACTION";
2025
- ip: string;
2026
- cgi: EUserActions.GO_TO_COORDINATES;
2027
- postJsonBody?: any;
2028
- }, {
2029
- params: {
2030
- lat: string;
2031
- lon: string;
2032
- userId: string;
2033
- userName: string;
2034
- userPriority: string;
2035
- };
2036
- type: "USER_ACTION";
2037
- ip: string;
2038
- cgi: EUserActions.GO_TO_COORDINATES;
2039
- postJsonBody?: any;
2040
- }>, z.ZodObject<{
594
+ }, z.core.$strip>, z.ZodObject<{
2041
595
  type: z.ZodLiteral<"USER_ACTION">;
2042
596
  cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
2043
597
  ip: z.ZodString;
@@ -2045,47 +599,11 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2045
599
  userId: z.ZodString;
2046
600
  userName: z.ZodString;
2047
601
  userPriority: z.ZodString;
2048
- }, "strip", z.ZodTypeAny, {
2049
- userId: string;
2050
- userName: string;
2051
- userPriority: string;
2052
- }, {
2053
- userId: string;
2054
- userName: string;
2055
- userPriority: string;
2056
- }>;
602
+ }, z.core.$strip>;
2057
603
  postJsonBody: z.ZodObject<{
2058
- mode: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
2059
- }, "strip", z.ZodTypeAny, {
2060
- mode: "MANUAL" | "AUTOMATIC";
2061
- }, {
2062
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
2063
- }>;
2064
- }, "strip", z.ZodTypeAny, {
2065
- params: {
2066
- userId: string;
2067
- userName: string;
2068
- userPriority: string;
2069
- };
2070
- type: "USER_ACTION";
2071
- ip: string;
2072
- cgi: EUserActions.SET_TRACKING_MODE;
2073
- postJsonBody: {
2074
- mode: "MANUAL" | "AUTOMATIC";
2075
- };
2076
- }, {
2077
- params: {
2078
- userId: string;
2079
- userName: string;
2080
- userPriority: string;
2081
- };
2082
- type: "USER_ACTION";
2083
- ip: string;
2084
- cgi: EUserActions.SET_TRACKING_MODE;
2085
- postJsonBody: {
2086
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
2087
- };
2088
- }>, z.ZodObject<{
604
+ mode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
605
+ }, z.core.$strip>;
606
+ }, z.core.$strip>, z.ZodObject<{
2089
607
  type: z.ZodLiteral<"USER_ACTION">;
2090
608
  cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
2091
609
  ip: z.ZodString;
@@ -2093,15 +611,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2093
611
  userId: z.ZodString;
2094
612
  userName: z.ZodString;
2095
613
  userPriority: z.ZodString;
2096
- }, "strip", z.ZodTypeAny, {
2097
- userId: string;
2098
- userName: string;
2099
- userPriority: string;
2100
- }, {
2101
- userId: string;
2102
- userName: string;
2103
- userPriority: string;
2104
- }>;
614
+ }, z.core.$strip>;
2105
615
  postJsonBody: z.ZodObject<{
2106
616
  zones: z.ZodDefault<z.ZodArray<z.ZodObject<{
2107
617
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -2109,167 +619,30 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2109
619
  area: z.ZodArray<z.ZodObject<{
2110
620
  lat: z.ZodNumber;
2111
621
  lon: z.ZodNumber;
2112
- }, "strip", z.ZodTypeAny, {
2113
- lat: number;
2114
- lon: number;
2115
- }, {
2116
- lat: number;
2117
- lon: number;
2118
- }>, "atleastone">;
622
+ }, z.core.$strip>>;
2119
623
  minAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
2120
624
  maxAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
2121
625
  minSpeedKmph: z.ZodOptional<z.ZodNumber>;
2122
626
  maxSpeedKmph: z.ZodOptional<z.ZodNumber>;
2123
- flightDirection: z.ZodDefault<z.ZodEnum<["all", "arrival", "departure"]>>;
627
+ flightDirection: z.ZodDefault<z.ZodEnum<{
628
+ all: "all";
629
+ arrival: "arrival";
630
+ departure: "departure";
631
+ }>>;
2124
632
  runwayDirectionDeg: z.ZodOptional<z.ZodNumber>;
2125
633
  weight: z.ZodNumber;
2126
- perimeter: z.ZodDefault<z.ZodEnum<["none", "outer", "inner"]>>;
2127
- trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<["adsb", "remoteId"]>, "many">>;
2128
- }, "strip", z.ZodTypeAny, {
2129
- enabled: boolean;
2130
- area: [{
2131
- lat: number;
2132
- lon: number;
2133
- }, ...{
2134
- lat: number;
2135
- lon: number;
2136
- }[]];
2137
- flightDirection: "all" | "arrival" | "departure";
2138
- weight: number;
2139
- perimeter: "none" | "outer" | "inner";
2140
- trackingDomains: ("adsb" | "remoteId")[];
2141
- name?: string | undefined;
2142
- minAltitudeAmsl?: number | undefined;
2143
- maxAltitudeAmsl?: number | undefined;
2144
- minSpeedKmph?: number | undefined;
2145
- maxSpeedKmph?: number | undefined;
2146
- runwayDirectionDeg?: number | undefined;
2147
- }, {
2148
- area: [{
2149
- lat: number;
2150
- lon: number;
2151
- }, ...{
2152
- lat: number;
2153
- lon: number;
2154
- }[]];
2155
- weight: number;
2156
- name?: string | undefined;
2157
- enabled?: boolean | undefined;
2158
- minAltitudeAmsl?: number | undefined;
2159
- maxAltitudeAmsl?: number | undefined;
2160
- minSpeedKmph?: number | undefined;
2161
- maxSpeedKmph?: number | undefined;
2162
- flightDirection?: "all" | "arrival" | "departure" | undefined;
2163
- runwayDirectionDeg?: number | undefined;
2164
- perimeter?: "none" | "outer" | "inner" | undefined;
2165
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
2166
- }>, "many">>;
2167
- }, "strip", z.ZodTypeAny, {
2168
- zones: {
2169
- enabled: boolean;
2170
- area: [{
2171
- lat: number;
2172
- lon: number;
2173
- }, ...{
2174
- lat: number;
2175
- lon: number;
2176
- }[]];
2177
- flightDirection: "all" | "arrival" | "departure";
2178
- weight: number;
2179
- perimeter: "none" | "outer" | "inner";
2180
- trackingDomains: ("adsb" | "remoteId")[];
2181
- name?: string | undefined;
2182
- minAltitudeAmsl?: number | undefined;
2183
- maxAltitudeAmsl?: number | undefined;
2184
- minSpeedKmph?: number | undefined;
2185
- maxSpeedKmph?: number | undefined;
2186
- runwayDirectionDeg?: number | undefined;
2187
- }[];
2188
- }, {
2189
- zones?: {
2190
- area: [{
2191
- lat: number;
2192
- lon: number;
2193
- }, ...{
2194
- lat: number;
2195
- lon: number;
2196
- }[]];
2197
- weight: number;
2198
- name?: string | undefined;
2199
- enabled?: boolean | undefined;
2200
- minAltitudeAmsl?: number | undefined;
2201
- maxAltitudeAmsl?: number | undefined;
2202
- minSpeedKmph?: number | undefined;
2203
- maxSpeedKmph?: number | undefined;
2204
- flightDirection?: "all" | "arrival" | "departure" | undefined;
2205
- runwayDirectionDeg?: number | undefined;
2206
- perimeter?: "none" | "outer" | "inner" | undefined;
2207
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
2208
- }[] | undefined;
2209
- }>;
2210
- }, "strip", z.ZodTypeAny, {
2211
- params: {
2212
- userId: string;
2213
- userName: string;
2214
- userPriority: string;
2215
- };
2216
- type: "USER_ACTION";
2217
- ip: string;
2218
- cgi: EUserActions.SET_ZONES;
2219
- postJsonBody: {
2220
- zones: {
2221
- enabled: boolean;
2222
- area: [{
2223
- lat: number;
2224
- lon: number;
2225
- }, ...{
2226
- lat: number;
2227
- lon: number;
2228
- }[]];
2229
- flightDirection: "all" | "arrival" | "departure";
2230
- weight: number;
2231
- perimeter: "none" | "outer" | "inner";
2232
- trackingDomains: ("adsb" | "remoteId")[];
2233
- name?: string | undefined;
2234
- minAltitudeAmsl?: number | undefined;
2235
- maxAltitudeAmsl?: number | undefined;
2236
- minSpeedKmph?: number | undefined;
2237
- maxSpeedKmph?: number | undefined;
2238
- runwayDirectionDeg?: number | undefined;
2239
- }[];
2240
- };
2241
- }, {
2242
- params: {
2243
- userId: string;
2244
- userName: string;
2245
- userPriority: string;
2246
- };
2247
- type: "USER_ACTION";
2248
- ip: string;
2249
- cgi: EUserActions.SET_ZONES;
2250
- postJsonBody: {
2251
- zones?: {
2252
- area: [{
2253
- lat: number;
2254
- lon: number;
2255
- }, ...{
2256
- lat: number;
2257
- lon: number;
2258
- }[]];
2259
- weight: number;
2260
- name?: string | undefined;
2261
- enabled?: boolean | undefined;
2262
- minAltitudeAmsl?: number | undefined;
2263
- maxAltitudeAmsl?: number | undefined;
2264
- minSpeedKmph?: number | undefined;
2265
- maxSpeedKmph?: number | undefined;
2266
- flightDirection?: "all" | "arrival" | "departure" | undefined;
2267
- runwayDirectionDeg?: number | undefined;
2268
- perimeter?: "none" | "outer" | "inner" | undefined;
2269
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
2270
- }[] | undefined;
2271
- };
2272
- }>, z.ZodObject<{
634
+ perimeter: z.ZodDefault<z.ZodEnum<{
635
+ none: "none";
636
+ outer: "outer";
637
+ inner: "inner";
638
+ }>>;
639
+ trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<{
640
+ adsb: "adsb";
641
+ remoteId: "remoteId";
642
+ }>>>;
643
+ }, z.core.$strip>>>;
644
+ }, z.core.$strip>;
645
+ }, z.core.$strip>, z.ZodObject<{
2273
646
  type: z.ZodLiteral<"USER_ACTION">;
2274
647
  cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
2275
648
  ip: z.ZodString;
@@ -2277,37 +650,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2277
650
  userId: z.ZodString;
2278
651
  userName: z.ZodString;
2279
652
  userPriority: z.ZodString;
2280
- }, "strip", z.ZodTypeAny, {
2281
- userId: string;
2282
- userName: string;
2283
- userPriority: string;
2284
- }, {
2285
- userId: string;
2286
- userName: string;
2287
- userPriority: string;
2288
- }>;
653
+ }, z.core.$strip>;
2289
654
  postJsonBody: z.ZodAny;
2290
- }, "strip", z.ZodTypeAny, {
2291
- params: {
2292
- userId: string;
2293
- userName: string;
2294
- userPriority: string;
2295
- };
2296
- type: "USER_ACTION";
2297
- ip: string;
2298
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
2299
- postJsonBody?: any;
2300
- }, {
2301
- params: {
2302
- userId: string;
2303
- userName: string;
2304
- userPriority: string;
2305
- };
2306
- type: "USER_ACTION";
2307
- ip: string;
2308
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
2309
- postJsonBody?: any;
2310
- }>, z.ZodObject<{
655
+ }, z.core.$strip>, z.ZodObject<{
2311
656
  type: z.ZodLiteral<"USER_ACTION">;
2312
657
  cgi: z.ZodLiteral<EUserActions.LOCK_API>;
2313
658
  ip: z.ZodString;
@@ -2315,43 +660,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2315
660
  userId: z.ZodString;
2316
661
  userName: z.ZodString;
2317
662
  userPriority: z.ZodString;
2318
- } & {
2319
663
  timeout: z.ZodString;
2320
- }, "strip", z.ZodTypeAny, {
2321
- timeout: string;
2322
- userId: string;
2323
- userName: string;
2324
- userPriority: string;
2325
- }, {
2326
- timeout: string;
2327
- userId: string;
2328
- userName: string;
2329
- userPriority: string;
2330
- }>;
664
+ }, z.core.$strip>;
2331
665
  postJsonBody: z.ZodAny;
2332
- }, "strip", z.ZodTypeAny, {
2333
- params: {
2334
- timeout: string;
2335
- userId: string;
2336
- userName: string;
2337
- userPriority: string;
2338
- };
2339
- type: "USER_ACTION";
2340
- ip: string;
2341
- cgi: EUserActions.LOCK_API;
2342
- postJsonBody?: any;
2343
- }, {
2344
- params: {
2345
- timeout: string;
2346
- userId: string;
2347
- userName: string;
2348
- userPriority: string;
2349
- };
2350
- type: "USER_ACTION";
2351
- ip: string;
2352
- cgi: EUserActions.LOCK_API;
2353
- postJsonBody?: any;
2354
- }>, z.ZodObject<{
666
+ }, z.core.$strip>, z.ZodObject<{
2355
667
  type: z.ZodLiteral<"USER_ACTION">;
2356
668
  cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
2357
669
  ip: z.ZodString;
@@ -2359,714 +671,61 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2359
671
  userId: z.ZodString;
2360
672
  userName: z.ZodString;
2361
673
  userPriority: z.ZodString;
2362
- }, "strip", z.ZodTypeAny, {
2363
- userId: string;
2364
- userName: string;
2365
- userPriority: string;
2366
- }, {
2367
- userId: string;
2368
- userName: string;
2369
- userPriority: string;
2370
- }>;
674
+ }, z.core.$strip>;
2371
675
  postJsonBody: z.ZodAny;
2372
- }, "strip", z.ZodTypeAny, {
2373
- params: {
2374
- userId: string;
2375
- userName: string;
2376
- userPriority: string;
2377
- };
2378
- type: "USER_ACTION";
2379
- ip: string;
2380
- cgi: EUserActions.UNLOCK_API;
2381
- postJsonBody?: any;
2382
- }, {
2383
- params: {
2384
- userId: string;
2385
- userName: string;
2386
- userPriority: string;
2387
- };
2388
- type: "USER_ACTION";
2389
- ip: string;
2390
- cgi: EUserActions.UNLOCK_API;
2391
- postJsonBody?: any;
2392
- }>, z.ZodObject<{
676
+ }, z.core.$strip>, z.ZodObject<{
2393
677
  type: z.ZodLiteral<"CONNECTED_USERS">;
2394
678
  users: z.ZodArray<z.ZodObject<{
2395
679
  userId: z.ZodString;
2396
680
  userName: z.ZodString;
2397
- } & {
2398
681
  ip: z.ZodString;
2399
682
  userPriority: z.ZodNumber;
2400
- }, "strip", z.ZodTypeAny, {
2401
- ip: string;
2402
- userId: string;
2403
- userName: string;
2404
- userPriority: number;
2405
- }, {
2406
- ip: string;
2407
- userId: string;
2408
- userName: string;
2409
- userPriority: number;
2410
- }>, "many">;
2411
- }, "strip", z.ZodTypeAny, {
2412
- type: "CONNECTED_USERS";
2413
- users: {
2414
- ip: string;
2415
- userId: string;
2416
- userName: string;
2417
- userPriority: number;
2418
- }[];
2419
- }, {
2420
- type: "CONNECTED_USERS";
2421
- users: {
2422
- ip: string;
2423
- userId: string;
2424
- userName: string;
2425
- userPriority: number;
2426
- }[];
2427
- }>, z.ZodObject<{
683
+ }, z.core.$strip>>;
684
+ }, z.core.$strip>, z.ZodObject<{
2428
685
  type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
2429
686
  enabled: z.ZodBoolean;
2430
687
  icao: z.ZodOptional<z.ZodString>;
2431
688
  targetId: z.ZodOptional<z.ZodString>;
2432
- }, "strip", z.ZodTypeAny, {
2433
- type: "FORCE_TRACKING_STATUS";
2434
- enabled: boolean;
2435
- icao?: string | undefined;
2436
- targetId?: string | undefined;
2437
- }, {
2438
- type: "FORCE_TRACKING_STATUS";
2439
- enabled: boolean;
2440
- icao?: string | undefined;
2441
- targetId?: string | undefined;
2442
- }>, z.ZodObject<{
689
+ }, z.core.$strip>, z.ZodObject<{
2443
690
  type: z.ZodLiteral<"API_LOCK_STATUS">;
2444
691
  isLocked: z.ZodBoolean;
2445
692
  user: z.ZodOptional<z.ZodObject<{
2446
693
  userId: z.ZodString;
2447
694
  userName: z.ZodString;
2448
- } & {
2449
695
  ip: z.ZodString;
2450
696
  userPriority: z.ZodNumber;
2451
- }, "strip", z.ZodTypeAny, {
2452
- ip: string;
2453
- userId: string;
2454
- userName: string;
2455
- userPriority: number;
2456
- }, {
2457
- ip: string;
2458
- userId: string;
2459
- userName: string;
2460
- userPriority: number;
2461
- }>>;
2462
- }, "strip", z.ZodTypeAny, {
2463
- type: "API_LOCK_STATUS";
2464
- isLocked: boolean;
2465
- user?: {
2466
- ip: string;
2467
- userId: string;
2468
- userName: string;
2469
- userPriority: number;
2470
- } | undefined;
2471
- }, {
2472
- type: "API_LOCK_STATUS";
2473
- isLocked: boolean;
2474
- user?: {
2475
- ip: string;
2476
- userId: string;
2477
- userName: string;
2478
- userPriority: number;
2479
- } | undefined;
2480
- }>]>;
2481
- }, "strip", z.ZodTypeAny, {
2482
- type: "init";
2483
- data: {
2484
- type: "CAMERA_POSITION";
2485
- lat: number;
2486
- lon: number;
2487
- azimuth: number;
2488
- elevation: number;
2489
- fov: number;
2490
- sampledAt: number;
2491
- } | {
2492
- type: "TRACKING_START";
2493
- icao: string;
2494
- targetId: string;
2495
- domain: "adsb" | "remoteId";
2496
- categoryId: string;
2497
- callsign?: string | undefined;
2498
- } | {
2499
- type: "TRACKING_STOP";
2500
- } | {
2501
- type: "FLIGHT_LIST";
2502
- list: {
2503
- icao: string;
2504
- targetId: string;
2505
- domain: "adsb" | "remoteId";
2506
- lat: number;
2507
- lon: number;
2508
- categoryId: string;
2509
- observedLat: number;
2510
- observedLon: number;
2511
- positionTimestamp: number;
2512
- heading: number;
2513
- groundSpeed: number;
2514
- altitudeAMSL: number;
2515
- cameraDistance: number;
2516
- autoTrackingOrder: number | null;
2517
- whiteListed: boolean;
2518
- blackListed: boolean;
2519
- priorityListed: boolean;
2520
- friendlyListed: boolean;
2521
- autoSelectionIgnored: boolean;
2522
- signalQuality: number;
2523
- emitterCategorySet: number;
2524
- emitterCategory: number;
2525
- emergencyState: boolean;
2526
- emergencyStatusMessage: string;
2527
- callsign?: string | undefined;
2528
- groupId?: string | undefined;
2529
- }[];
2530
- } | {
2531
- params: {
2532
- icao: string;
2533
- userId: string;
2534
- userName: string;
2535
- userPriority: string;
2536
- };
2537
- type: "USER_ACTION";
2538
- ip: string;
2539
- cgi: EUserActions.TRACK_ICAO;
2540
- postJsonBody?: any;
2541
- } | {
2542
- params: {
2543
- targetId: string;
2544
- userId: string;
2545
- userName: string;
2546
- userPriority: string;
2547
- };
2548
- type: "USER_ACTION";
2549
- ip: string;
2550
- cgi: EUserActions.TRACK_TARGET;
2551
- postJsonBody?: any;
2552
- } | {
2553
- params: {
2554
- userId: string;
2555
- userName: string;
2556
- userPriority: string;
2557
- };
2558
- type: "USER_ACTION";
2559
- ip: string;
2560
- cgi: EUserActions.RESET_ICAO;
2561
- postJsonBody?: any;
2562
- } | {
2563
- params: {
2564
- userId: string;
2565
- userName: string;
2566
- userPriority: string;
2567
- };
2568
- type: "USER_ACTION";
2569
- ip: string;
2570
- cgi: EUserActions.RESET_TARGET;
2571
- postJsonBody?: any;
2572
- } | {
2573
- params: {
2574
- userId: string;
2575
- userName: string;
2576
- userPriority: string;
2577
- };
2578
- type: "USER_ACTION";
2579
- ip: string;
2580
- cgi: EUserActions.SET_PRIORITY_LIST;
2581
- postJsonBody: {
2582
- list: {
2583
- priority: number;
2584
- domain: "adsb" | "remoteId";
2585
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2586
- idValue: string;
2587
- }[];
2588
- };
2589
- } | {
2590
- params: {
2591
- userId: string;
2592
- userName: string;
2593
- userPriority: string;
2594
- };
2595
- type: "USER_ACTION";
2596
- ip: string;
2597
- cgi: EUserActions.SET_BLACK_LIST;
2598
- postJsonBody: {
2599
- list: {
2600
- domain: "adsb" | "remoteId";
2601
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2602
- idValue: string;
2603
- }[];
2604
- };
2605
- } | {
2606
- params: {
2607
- userId: string;
2608
- userName: string;
2609
- userPriority: string;
2610
- };
2611
- type: "USER_ACTION";
2612
- ip: string;
2613
- cgi: EUserActions.SET_WHITE_LIST;
2614
- postJsonBody: {
2615
- list: {
2616
- domain: "adsb" | "remoteId";
2617
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2618
- idValue: string;
2619
- }[];
2620
- };
2621
- } | {
2622
- params: {
2623
- userId: string;
2624
- userName: string;
2625
- userPriority: string;
2626
- };
2627
- type: "USER_ACTION";
2628
- ip: string;
2629
- cgi: EUserActions.SET_FRIENDLY_LIST;
2630
- postJsonBody: {
2631
- list: {
2632
- domain: "adsb" | "remoteId";
2633
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2634
- idValue: string;
2635
- }[];
2636
- };
2637
- } | {
2638
- params: {
2639
- lat: string;
2640
- lon: string;
2641
- userId: string;
2642
- userName: string;
2643
- userPriority: string;
2644
- };
2645
- type: "USER_ACTION";
2646
- ip: string;
2647
- cgi: EUserActions.GO_TO_COORDINATES;
2648
- postJsonBody?: any;
2649
- } | {
2650
- params: {
2651
- userId: string;
2652
- userName: string;
2653
- userPriority: string;
2654
- };
2655
- type: "USER_ACTION";
2656
- ip: string;
2657
- cgi: EUserActions.SET_TRACKING_MODE;
2658
- postJsonBody: {
2659
- mode: "MANUAL" | "AUTOMATIC";
2660
- };
2661
- } | {
2662
- params: {
2663
- userId: string;
2664
- userName: string;
2665
- userPriority: string;
2666
- };
2667
- type: "USER_ACTION";
2668
- ip: string;
2669
- cgi: EUserActions.SET_ZONES;
2670
- postJsonBody: {
2671
- zones: {
2672
- enabled: boolean;
2673
- area: [{
2674
- lat: number;
2675
- lon: number;
2676
- }, ...{
2677
- lat: number;
2678
- lon: number;
2679
- }[]];
2680
- flightDirection: "all" | "arrival" | "departure";
2681
- weight: number;
2682
- perimeter: "none" | "outer" | "inner";
2683
- trackingDomains: ("adsb" | "remoteId")[];
2684
- name?: string | undefined;
2685
- minAltitudeAmsl?: number | undefined;
2686
- maxAltitudeAmsl?: number | undefined;
2687
- minSpeedKmph?: number | undefined;
2688
- maxSpeedKmph?: number | undefined;
2689
- runwayDirectionDeg?: number | undefined;
2690
- }[];
2691
- };
2692
- } | {
2693
- params: {
2694
- userId: string;
2695
- userName: string;
2696
- userPriority: string;
2697
- };
2698
- type: "USER_ACTION";
2699
- ip: string;
2700
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
2701
- postJsonBody?: any;
2702
- } | {
2703
- params: {
2704
- timeout: string;
2705
- userId: string;
2706
- userName: string;
2707
- userPriority: string;
2708
- };
2709
- type: "USER_ACTION";
2710
- ip: string;
2711
- cgi: EUserActions.LOCK_API;
2712
- postJsonBody?: any;
2713
- } | {
2714
- params: {
2715
- userId: string;
2716
- userName: string;
2717
- userPriority: string;
2718
- };
2719
- type: "USER_ACTION";
2720
- ip: string;
2721
- cgi: EUserActions.UNLOCK_API;
2722
- postJsonBody?: any;
2723
- } | {
2724
- type: "CONNECTED_USERS";
2725
- users: {
2726
- ip: string;
2727
- userId: string;
2728
- userName: string;
2729
- userPriority: number;
2730
- }[];
2731
- } | {
2732
- type: "FORCE_TRACKING_STATUS";
2733
- enabled: boolean;
2734
- icao?: string | undefined;
2735
- targetId?: string | undefined;
2736
- } | {
2737
- type: "API_LOCK_STATUS";
2738
- isLocked: boolean;
2739
- user?: {
2740
- ip: string;
2741
- userId: string;
2742
- userName: string;
2743
- userPriority: number;
2744
- } | undefined;
2745
- };
2746
- }, {
2747
- type: "init";
2748
- data: {
2749
- type: "CAMERA_POSITION";
2750
- lat: number;
2751
- lon: number;
2752
- azimuth: number;
2753
- elevation: number;
2754
- fov: number;
2755
- sampledAt: number;
2756
- } | {
2757
- type: "TRACKING_START";
2758
- icao: string;
2759
- targetId: string;
2760
- domain: "adsb" | "remoteId";
2761
- categoryId: string;
2762
- callsign?: string | undefined;
2763
- } | {
2764
- type: "TRACKING_STOP";
2765
- } | {
2766
- type: "FLIGHT_LIST";
2767
- list: {
2768
- icao: string;
2769
- targetId: string;
2770
- domain: "adsb" | "remoteId";
2771
- lat: number;
2772
- lon: number;
2773
- categoryId: string;
2774
- observedLat: number;
2775
- observedLon: number;
2776
- positionTimestamp: number;
2777
- heading: number;
2778
- groundSpeed: number;
2779
- altitudeAMSL: number;
2780
- cameraDistance: number;
2781
- autoTrackingOrder: number | null;
2782
- whiteListed: boolean;
2783
- blackListed: boolean;
2784
- priorityListed: boolean;
2785
- friendlyListed: boolean;
2786
- autoSelectionIgnored: boolean;
2787
- signalQuality: number;
2788
- emergencyState: boolean;
2789
- emergencyStatusMessage: string;
2790
- callsign?: string | undefined;
2791
- groupId?: string | undefined;
2792
- emitterCategorySet?: number | undefined;
2793
- emitterCategory?: number | undefined;
2794
- }[];
2795
- } | {
2796
- params: {
2797
- icao: string;
2798
- userId: string;
2799
- userName: string;
2800
- userPriority: string;
2801
- };
2802
- type: "USER_ACTION";
2803
- ip: string;
2804
- cgi: EUserActions.TRACK_ICAO;
2805
- postJsonBody?: any;
2806
- } | {
2807
- params: {
2808
- targetId: string;
2809
- userId: string;
2810
- userName: string;
2811
- userPriority: string;
2812
- };
2813
- type: "USER_ACTION";
2814
- ip: string;
2815
- cgi: EUserActions.TRACK_TARGET;
2816
- postJsonBody?: any;
2817
- } | {
2818
- params: {
2819
- userId: string;
2820
- userName: string;
2821
- userPriority: string;
2822
- };
2823
- type: "USER_ACTION";
2824
- ip: string;
2825
- cgi: EUserActions.RESET_ICAO;
2826
- postJsonBody?: any;
2827
- } | {
2828
- params: {
2829
- userId: string;
2830
- userName: string;
2831
- userPriority: string;
2832
- };
2833
- type: "USER_ACTION";
2834
- ip: string;
2835
- cgi: EUserActions.RESET_TARGET;
2836
- postJsonBody?: any;
2837
- } | {
2838
- params: {
2839
- userId: string;
2840
- userName: string;
2841
- userPriority: string;
2842
- };
2843
- type: "USER_ACTION";
2844
- ip: string;
2845
- cgi: EUserActions.SET_PRIORITY_LIST;
2846
- postJsonBody: {
2847
- list?: {
2848
- priority: number;
2849
- domain: "adsb" | "remoteId";
2850
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2851
- idValue: string;
2852
- }[] | undefined;
2853
- };
2854
- } | {
2855
- params: {
2856
- userId: string;
2857
- userName: string;
2858
- userPriority: string;
2859
- };
2860
- type: "USER_ACTION";
2861
- ip: string;
2862
- cgi: EUserActions.SET_BLACK_LIST;
2863
- postJsonBody: {
2864
- list?: {
2865
- domain: "adsb" | "remoteId";
2866
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2867
- idValue: string;
2868
- }[] | undefined;
2869
- };
2870
- } | {
2871
- params: {
2872
- userId: string;
2873
- userName: string;
2874
- userPriority: string;
2875
- };
2876
- type: "USER_ACTION";
2877
- ip: string;
2878
- cgi: EUserActions.SET_WHITE_LIST;
2879
- postJsonBody: {
2880
- list?: {
2881
- domain: "adsb" | "remoteId";
2882
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2883
- idValue: string;
2884
- }[] | undefined;
2885
- };
2886
- } | {
2887
- params: {
2888
- userId: string;
2889
- userName: string;
2890
- userPriority: string;
2891
- };
2892
- type: "USER_ACTION";
2893
- ip: string;
2894
- cgi: EUserActions.SET_FRIENDLY_LIST;
2895
- postJsonBody: {
2896
- list?: {
2897
- domain: "adsb" | "remoteId";
2898
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2899
- idValue: string;
2900
- }[] | undefined;
2901
- };
2902
- } | {
2903
- params: {
2904
- lat: string;
2905
- lon: string;
2906
- userId: string;
2907
- userName: string;
2908
- userPriority: string;
2909
- };
2910
- type: "USER_ACTION";
2911
- ip: string;
2912
- cgi: EUserActions.GO_TO_COORDINATES;
2913
- postJsonBody?: any;
2914
- } | {
2915
- params: {
2916
- userId: string;
2917
- userName: string;
2918
- userPriority: string;
2919
- };
2920
- type: "USER_ACTION";
2921
- ip: string;
2922
- cgi: EUserActions.SET_TRACKING_MODE;
2923
- postJsonBody: {
2924
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
2925
- };
2926
- } | {
2927
- params: {
2928
- userId: string;
2929
- userName: string;
2930
- userPriority: string;
2931
- };
2932
- type: "USER_ACTION";
2933
- ip: string;
2934
- cgi: EUserActions.SET_ZONES;
2935
- postJsonBody: {
2936
- zones?: {
2937
- area: [{
2938
- lat: number;
2939
- lon: number;
2940
- }, ...{
2941
- lat: number;
2942
- lon: number;
2943
- }[]];
2944
- weight: number;
2945
- name?: string | undefined;
2946
- enabled?: boolean | undefined;
2947
- minAltitudeAmsl?: number | undefined;
2948
- maxAltitudeAmsl?: number | undefined;
2949
- minSpeedKmph?: number | undefined;
2950
- maxSpeedKmph?: number | undefined;
2951
- flightDirection?: "all" | "arrival" | "departure" | undefined;
2952
- runwayDirectionDeg?: number | undefined;
2953
- perimeter?: "none" | "outer" | "inner" | undefined;
2954
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
2955
- }[] | undefined;
2956
- };
2957
- } | {
2958
- params: {
2959
- userId: string;
2960
- userName: string;
2961
- userPriority: string;
2962
- };
2963
- type: "USER_ACTION";
2964
- ip: string;
2965
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
2966
- postJsonBody?: any;
2967
- } | {
2968
- params: {
2969
- timeout: string;
2970
- userId: string;
2971
- userName: string;
2972
- userPriority: string;
2973
- };
2974
- type: "USER_ACTION";
2975
- ip: string;
2976
- cgi: EUserActions.LOCK_API;
2977
- postJsonBody?: any;
2978
- } | {
2979
- params: {
2980
- userId: string;
2981
- userName: string;
2982
- userPriority: string;
2983
- };
2984
- type: "USER_ACTION";
2985
- ip: string;
2986
- cgi: EUserActions.UNLOCK_API;
2987
- postJsonBody?: any;
2988
- } | {
2989
- type: "CONNECTED_USERS";
2990
- users: {
2991
- ip: string;
2992
- userId: string;
2993
- userName: string;
2994
- userPriority: number;
2995
- }[];
2996
- } | {
2997
- type: "FORCE_TRACKING_STATUS";
2998
- enabled: boolean;
2999
- icao?: string | undefined;
3000
- targetId?: string | undefined;
3001
- } | {
3002
- type: "API_LOCK_STATUS";
3003
- isLocked: boolean;
3004
- user?: {
3005
- ip: string;
3006
- userId: string;
3007
- userName: string;
3008
- userPriority: number;
3009
- } | undefined;
3010
- };
3011
- }>, z.ZodObject<{
697
+ }, z.core.$strip>>;
698
+ }, z.core.$strip>]>;
699
+ }, z.core.$strip>, z.ZodObject<{
3012
700
  type: z.ZodLiteral<"CAMERA_POSITION">;
3013
- } & {
3014
701
  lat: z.ZodNumber;
3015
702
  lon: z.ZodNumber;
3016
703
  azimuth: z.ZodNumber;
3017
704
  elevation: z.ZodNumber;
3018
705
  fov: z.ZodNumber;
3019
706
  sampledAt: z.ZodNumber;
3020
- }, "strip", z.ZodTypeAny, {
3021
- type: "CAMERA_POSITION";
3022
- lat: number;
3023
- lon: number;
3024
- azimuth: number;
3025
- elevation: number;
3026
- fov: number;
3027
- sampledAt: number;
3028
- }, {
3029
- type: "CAMERA_POSITION";
3030
- lat: number;
3031
- lon: number;
3032
- azimuth: number;
3033
- elevation: number;
3034
- fov: number;
3035
- sampledAt: number;
3036
- }>, z.ZodObject<{
707
+ }, z.core.$strip>, z.ZodObject<{
3037
708
  type: z.ZodLiteral<"TRACKING_START">;
3038
709
  icao: z.ZodString;
3039
710
  targetId: z.ZodString;
3040
711
  callsign: z.ZodOptional<z.ZodString>;
3041
- domain: z.ZodEnum<["adsb", "remoteId"]>;
712
+ domain: z.ZodEnum<{
713
+ adsb: "adsb";
714
+ remoteId: "remoteId";
715
+ }>;
3042
716
  categoryId: z.ZodString;
3043
- }, "strip", z.ZodTypeAny, {
3044
- type: "TRACKING_START";
3045
- icao: string;
3046
- targetId: string;
3047
- domain: "adsb" | "remoteId";
3048
- categoryId: string;
3049
- callsign?: string | undefined;
3050
- }, {
3051
- type: "TRACKING_START";
3052
- icao: string;
3053
- targetId: string;
3054
- domain: "adsb" | "remoteId";
3055
- categoryId: string;
3056
- callsign?: string | undefined;
3057
- }>, z.ZodObject<{
717
+ }, z.core.$strip>, z.ZodObject<{
3058
718
  type: z.ZodLiteral<"TRACKING_STOP">;
3059
- }, "strip", z.ZodTypeAny, {
3060
- type: "TRACKING_STOP";
3061
- }, {
3062
- type: "TRACKING_STOP";
3063
- }>, z.ZodObject<{
719
+ }, z.core.$strip>, z.ZodObject<{
3064
720
  type: z.ZodLiteral<"FLIGHT_LIST">;
3065
721
  list: z.ZodArray<z.ZodObject<{
3066
722
  targetId: z.ZodString;
3067
723
  icao: z.ZodString;
3068
724
  callsign: z.ZodOptional<z.ZodString>;
3069
- domain: z.ZodEnum<["adsb", "remoteId"]>;
725
+ domain: z.ZodEnum<{
726
+ adsb: "adsb";
727
+ remoteId: "remoteId";
728
+ }>;
3070
729
  categoryId: z.ZodString;
3071
730
  groupId: z.ZodOptional<z.ZodString>;
3072
731
  lat: z.ZodNumber;
@@ -3089,122 +748,8 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3089
748
  emitterCategory: z.ZodDefault<z.ZodNumber>;
3090
749
  emergencyState: z.ZodBoolean;
3091
750
  emergencyStatusMessage: z.ZodString;
3092
- }, "strip", z.ZodTypeAny, {
3093
- icao: string;
3094
- targetId: string;
3095
- domain: "adsb" | "remoteId";
3096
- lat: number;
3097
- lon: number;
3098
- categoryId: string;
3099
- observedLat: number;
3100
- observedLon: number;
3101
- positionTimestamp: number;
3102
- heading: number;
3103
- groundSpeed: number;
3104
- altitudeAMSL: number;
3105
- cameraDistance: number;
3106
- autoTrackingOrder: number | null;
3107
- whiteListed: boolean;
3108
- blackListed: boolean;
3109
- priorityListed: boolean;
3110
- friendlyListed: boolean;
3111
- autoSelectionIgnored: boolean;
3112
- signalQuality: number;
3113
- emitterCategorySet: number;
3114
- emitterCategory: number;
3115
- emergencyState: boolean;
3116
- emergencyStatusMessage: string;
3117
- callsign?: string | undefined;
3118
- groupId?: string | undefined;
3119
- }, {
3120
- icao: string;
3121
- targetId: string;
3122
- domain: "adsb" | "remoteId";
3123
- lat: number;
3124
- lon: number;
3125
- categoryId: string;
3126
- observedLat: number;
3127
- observedLon: number;
3128
- positionTimestamp: number;
3129
- heading: number;
3130
- groundSpeed: number;
3131
- altitudeAMSL: number;
3132
- cameraDistance: number;
3133
- autoTrackingOrder: number | null;
3134
- whiteListed: boolean;
3135
- blackListed: boolean;
3136
- priorityListed: boolean;
3137
- friendlyListed: boolean;
3138
- autoSelectionIgnored: boolean;
3139
- signalQuality: number;
3140
- emergencyState: boolean;
3141
- emergencyStatusMessage: string;
3142
- callsign?: string | undefined;
3143
- groupId?: string | undefined;
3144
- emitterCategorySet?: number | undefined;
3145
- emitterCategory?: number | undefined;
3146
- }>, "many">;
3147
- }, "strip", z.ZodTypeAny, {
3148
- type: "FLIGHT_LIST";
3149
- list: {
3150
- icao: string;
3151
- targetId: string;
3152
- domain: "adsb" | "remoteId";
3153
- lat: number;
3154
- lon: number;
3155
- categoryId: string;
3156
- observedLat: number;
3157
- observedLon: number;
3158
- positionTimestamp: number;
3159
- heading: number;
3160
- groundSpeed: number;
3161
- altitudeAMSL: number;
3162
- cameraDistance: number;
3163
- autoTrackingOrder: number | null;
3164
- whiteListed: boolean;
3165
- blackListed: boolean;
3166
- priorityListed: boolean;
3167
- friendlyListed: boolean;
3168
- autoSelectionIgnored: boolean;
3169
- signalQuality: number;
3170
- emitterCategorySet: number;
3171
- emitterCategory: number;
3172
- emergencyState: boolean;
3173
- emergencyStatusMessage: string;
3174
- callsign?: string | undefined;
3175
- groupId?: string | undefined;
3176
- }[];
3177
- }, {
3178
- type: "FLIGHT_LIST";
3179
- list: {
3180
- icao: string;
3181
- targetId: string;
3182
- domain: "adsb" | "remoteId";
3183
- lat: number;
3184
- lon: number;
3185
- categoryId: string;
3186
- observedLat: number;
3187
- observedLon: number;
3188
- positionTimestamp: number;
3189
- heading: number;
3190
- groundSpeed: number;
3191
- altitudeAMSL: number;
3192
- cameraDistance: number;
3193
- autoTrackingOrder: number | null;
3194
- whiteListed: boolean;
3195
- blackListed: boolean;
3196
- priorityListed: boolean;
3197
- friendlyListed: boolean;
3198
- autoSelectionIgnored: boolean;
3199
- signalQuality: number;
3200
- emergencyState: boolean;
3201
- emergencyStatusMessage: string;
3202
- callsign?: string | undefined;
3203
- groupId?: string | undefined;
3204
- emitterCategorySet?: number | undefined;
3205
- emitterCategory?: number | undefined;
3206
- }[];
3207
- }>, z.ZodObject<{
751
+ }, z.core.$strip>>;
752
+ }, z.core.$strip>, z.ZodObject<{
3208
753
  type: z.ZodLiteral<"USER_ACTION">;
3209
754
  cgi: z.ZodLiteral<EUserActions.TRACK_ICAO>;
3210
755
  ip: z.ZodString;
@@ -3212,43 +757,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3212
757
  userId: z.ZodString;
3213
758
  userName: z.ZodString;
3214
759
  userPriority: z.ZodString;
3215
- } & {
3216
760
  icao: z.ZodString;
3217
- }, "strip", z.ZodTypeAny, {
3218
- icao: string;
3219
- userId: string;
3220
- userName: string;
3221
- userPriority: string;
3222
- }, {
3223
- icao: string;
3224
- userId: string;
3225
- userName: string;
3226
- userPriority: string;
3227
- }>;
761
+ }, z.core.$strip>;
3228
762
  postJsonBody: z.ZodAny;
3229
- }, "strip", z.ZodTypeAny, {
3230
- params: {
3231
- icao: string;
3232
- userId: string;
3233
- userName: string;
3234
- userPriority: string;
3235
- };
3236
- type: "USER_ACTION";
3237
- ip: string;
3238
- cgi: EUserActions.TRACK_ICAO;
3239
- postJsonBody?: any;
3240
- }, {
3241
- params: {
3242
- icao: string;
3243
- userId: string;
3244
- userName: string;
3245
- userPriority: string;
3246
- };
3247
- type: "USER_ACTION";
3248
- ip: string;
3249
- cgi: EUserActions.TRACK_ICAO;
3250
- postJsonBody?: any;
3251
- }>, z.ZodObject<{
763
+ }, z.core.$strip>, z.ZodObject<{
3252
764
  type: z.ZodLiteral<"USER_ACTION">;
3253
765
  cgi: z.ZodLiteral<EUserActions.TRACK_TARGET>;
3254
766
  ip: z.ZodString;
@@ -3256,43 +768,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3256
768
  userId: z.ZodString;
3257
769
  userName: z.ZodString;
3258
770
  userPriority: z.ZodString;
3259
- } & {
3260
771
  targetId: z.ZodString;
3261
- }, "strip", z.ZodTypeAny, {
3262
- targetId: string;
3263
- userId: string;
3264
- userName: string;
3265
- userPriority: string;
3266
- }, {
3267
- targetId: string;
3268
- userId: string;
3269
- userName: string;
3270
- userPriority: string;
3271
- }>;
772
+ }, z.core.$strip>;
3272
773
  postJsonBody: z.ZodAny;
3273
- }, "strip", z.ZodTypeAny, {
3274
- params: {
3275
- targetId: string;
3276
- userId: string;
3277
- userName: string;
3278
- userPriority: string;
3279
- };
3280
- type: "USER_ACTION";
3281
- ip: string;
3282
- cgi: EUserActions.TRACK_TARGET;
3283
- postJsonBody?: any;
3284
- }, {
3285
- params: {
3286
- targetId: string;
3287
- userId: string;
3288
- userName: string;
3289
- userPriority: string;
3290
- };
3291
- type: "USER_ACTION";
3292
- ip: string;
3293
- cgi: EUserActions.TRACK_TARGET;
3294
- postJsonBody?: any;
3295
- }>, z.ZodObject<{
774
+ }, z.core.$strip>, z.ZodObject<{
3296
775
  type: z.ZodLiteral<"USER_ACTION">;
3297
776
  cgi: z.ZodLiteral<EUserActions.RESET_ICAO>;
3298
777
  ip: z.ZodString;
@@ -3300,37 +779,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3300
779
  userId: z.ZodString;
3301
780
  userName: z.ZodString;
3302
781
  userPriority: z.ZodString;
3303
- }, "strip", z.ZodTypeAny, {
3304
- userId: string;
3305
- userName: string;
3306
- userPriority: string;
3307
- }, {
3308
- userId: string;
3309
- userName: string;
3310
- userPriority: string;
3311
- }>;
782
+ }, z.core.$strip>;
3312
783
  postJsonBody: z.ZodAny;
3313
- }, "strip", z.ZodTypeAny, {
3314
- params: {
3315
- userId: string;
3316
- userName: string;
3317
- userPriority: string;
3318
- };
3319
- type: "USER_ACTION";
3320
- ip: string;
3321
- cgi: EUserActions.RESET_ICAO;
3322
- postJsonBody?: any;
3323
- }, {
3324
- params: {
3325
- userId: string;
3326
- userName: string;
3327
- userPriority: string;
3328
- };
3329
- type: "USER_ACTION";
3330
- ip: string;
3331
- cgi: EUserActions.RESET_ICAO;
3332
- postJsonBody?: any;
3333
- }>, z.ZodObject<{
784
+ }, z.core.$strip>, z.ZodObject<{
3334
785
  type: z.ZodLiteral<"USER_ACTION">;
3335
786
  cgi: z.ZodLiteral<EUserActions.RESET_TARGET>;
3336
787
  ip: z.ZodString;
@@ -3338,37 +789,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3338
789
  userId: z.ZodString;
3339
790
  userName: z.ZodString;
3340
791
  userPriority: z.ZodString;
3341
- }, "strip", z.ZodTypeAny, {
3342
- userId: string;
3343
- userName: string;
3344
- userPriority: string;
3345
- }, {
3346
- userId: string;
3347
- userName: string;
3348
- userPriority: string;
3349
- }>;
792
+ }, z.core.$strip>;
3350
793
  postJsonBody: z.ZodAny;
3351
- }, "strip", z.ZodTypeAny, {
3352
- params: {
3353
- userId: string;
3354
- userName: string;
3355
- userPriority: string;
3356
- };
3357
- type: "USER_ACTION";
3358
- ip: string;
3359
- cgi: EUserActions.RESET_TARGET;
3360
- postJsonBody?: any;
3361
- }, {
3362
- params: {
3363
- userId: string;
3364
- userName: string;
3365
- userPriority: string;
3366
- };
3367
- type: "USER_ACTION";
3368
- ip: string;
3369
- cgi: EUserActions.RESET_TARGET;
3370
- postJsonBody?: any;
3371
- }>, z.ZodObject<{
794
+ }, z.core.$strip>, z.ZodObject<{
3372
795
  type: z.ZodLiteral<"USER_ACTION">;
3373
796
  cgi: z.ZodLiteral<EUserActions.SET_PRIORITY_LIST>;
3374
797
  ip: z.ZodString;
@@ -3376,83 +799,25 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3376
799
  userId: z.ZodString;
3377
800
  userName: z.ZodString;
3378
801
  userPriority: z.ZodString;
3379
- }, "strip", z.ZodTypeAny, {
3380
- userId: string;
3381
- userName: string;
3382
- userPriority: string;
3383
- }, {
3384
- userId: string;
3385
- userName: string;
3386
- userPriority: string;
3387
- }>;
802
+ }, z.core.$strip>;
3388
803
  postJsonBody: z.ZodObject<{
3389
804
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
3390
- domain: z.ZodEnum<["adsb", "remoteId"]>;
3391
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
805
+ domain: z.ZodEnum<{
806
+ adsb: "adsb";
807
+ remoteId: "remoteId";
808
+ }>;
809
+ idType: z.ZodEnum<{
810
+ icao: "icao";
811
+ type_icao: "type_icao";
812
+ drone_mac: "drone_mac";
813
+ operator_mac: "operator_mac";
814
+ category: "category";
815
+ }>;
3392
816
  idValue: z.ZodString;
3393
- } & {
3394
817
  priority: z.ZodNumber;
3395
- }, "strip", z.ZodTypeAny, {
3396
- priority: number;
3397
- domain: "adsb" | "remoteId";
3398
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3399
- idValue: string;
3400
- }, {
3401
- priority: number;
3402
- domain: "adsb" | "remoteId";
3403
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3404
- idValue: string;
3405
- }>, "many">>;
3406
- }, "strip", z.ZodTypeAny, {
3407
- list: {
3408
- priority: number;
3409
- domain: "adsb" | "remoteId";
3410
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3411
- idValue: string;
3412
- }[];
3413
- }, {
3414
- list?: {
3415
- priority: number;
3416
- domain: "adsb" | "remoteId";
3417
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3418
- idValue: string;
3419
- }[] | undefined;
3420
- }>;
3421
- }, "strip", z.ZodTypeAny, {
3422
- params: {
3423
- userId: string;
3424
- userName: string;
3425
- userPriority: string;
3426
- };
3427
- type: "USER_ACTION";
3428
- ip: string;
3429
- cgi: EUserActions.SET_PRIORITY_LIST;
3430
- postJsonBody: {
3431
- list: {
3432
- priority: number;
3433
- domain: "adsb" | "remoteId";
3434
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3435
- idValue: string;
3436
- }[];
3437
- };
3438
- }, {
3439
- params: {
3440
- userId: string;
3441
- userName: string;
3442
- userPriority: string;
3443
- };
3444
- type: "USER_ACTION";
3445
- ip: string;
3446
- cgi: EUserActions.SET_PRIORITY_LIST;
3447
- postJsonBody: {
3448
- list?: {
3449
- priority: number;
3450
- domain: "adsb" | "remoteId";
3451
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3452
- idValue: string;
3453
- }[] | undefined;
3454
- };
3455
- }>, z.ZodObject<{
818
+ }, z.core.$strip>>>;
819
+ }, z.core.$strip>;
820
+ }, z.core.$strip>, z.ZodObject<{
3456
821
  type: z.ZodLiteral<"USER_ACTION">;
3457
822
  cgi: z.ZodLiteral<EUserActions.SET_BLACK_LIST>;
3458
823
  ip: z.ZodString;
@@ -3460,75 +825,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3460
825
  userId: z.ZodString;
3461
826
  userName: z.ZodString;
3462
827
  userPriority: z.ZodString;
3463
- }, "strip", z.ZodTypeAny, {
3464
- userId: string;
3465
- userName: string;
3466
- userPriority: string;
3467
- }, {
3468
- userId: string;
3469
- userName: string;
3470
- userPriority: string;
3471
- }>;
828
+ }, z.core.$strip>;
3472
829
  postJsonBody: z.ZodObject<{
3473
830
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
3474
- domain: z.ZodEnum<["adsb", "remoteId"]>;
3475
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
831
+ domain: z.ZodEnum<{
832
+ adsb: "adsb";
833
+ remoteId: "remoteId";
834
+ }>;
835
+ idType: z.ZodEnum<{
836
+ icao: "icao";
837
+ type_icao: "type_icao";
838
+ drone_mac: "drone_mac";
839
+ operator_mac: "operator_mac";
840
+ category: "category";
841
+ }>;
3476
842
  idValue: z.ZodString;
3477
- }, "strip", z.ZodTypeAny, {
3478
- domain: "adsb" | "remoteId";
3479
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3480
- idValue: string;
3481
- }, {
3482
- domain: "adsb" | "remoteId";
3483
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3484
- idValue: string;
3485
- }>, "many">>;
3486
- }, "strip", z.ZodTypeAny, {
3487
- list: {
3488
- domain: "adsb" | "remoteId";
3489
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3490
- idValue: string;
3491
- }[];
3492
- }, {
3493
- list?: {
3494
- domain: "adsb" | "remoteId";
3495
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3496
- idValue: string;
3497
- }[] | undefined;
3498
- }>;
3499
- }, "strip", z.ZodTypeAny, {
3500
- params: {
3501
- userId: string;
3502
- userName: string;
3503
- userPriority: string;
3504
- };
3505
- type: "USER_ACTION";
3506
- ip: string;
3507
- cgi: EUserActions.SET_BLACK_LIST;
3508
- postJsonBody: {
3509
- list: {
3510
- domain: "adsb" | "remoteId";
3511
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3512
- idValue: string;
3513
- }[];
3514
- };
3515
- }, {
3516
- params: {
3517
- userId: string;
3518
- userName: string;
3519
- userPriority: string;
3520
- };
3521
- type: "USER_ACTION";
3522
- ip: string;
3523
- cgi: EUserActions.SET_BLACK_LIST;
3524
- postJsonBody: {
3525
- list?: {
3526
- domain: "adsb" | "remoteId";
3527
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3528
- idValue: string;
3529
- }[] | undefined;
3530
- };
3531
- }>, z.ZodObject<{
843
+ }, z.core.$strip>>>;
844
+ }, z.core.$strip>;
845
+ }, z.core.$strip>, z.ZodObject<{
3532
846
  type: z.ZodLiteral<"USER_ACTION">;
3533
847
  cgi: z.ZodLiteral<EUserActions.SET_WHITE_LIST>;
3534
848
  ip: z.ZodString;
@@ -3536,75 +850,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3536
850
  userId: z.ZodString;
3537
851
  userName: z.ZodString;
3538
852
  userPriority: z.ZodString;
3539
- }, "strip", z.ZodTypeAny, {
3540
- userId: string;
3541
- userName: string;
3542
- userPriority: string;
3543
- }, {
3544
- userId: string;
3545
- userName: string;
3546
- userPriority: string;
3547
- }>;
853
+ }, z.core.$strip>;
3548
854
  postJsonBody: z.ZodObject<{
3549
855
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
3550
- domain: z.ZodEnum<["adsb", "remoteId"]>;
3551
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
856
+ domain: z.ZodEnum<{
857
+ adsb: "adsb";
858
+ remoteId: "remoteId";
859
+ }>;
860
+ idType: z.ZodEnum<{
861
+ icao: "icao";
862
+ type_icao: "type_icao";
863
+ drone_mac: "drone_mac";
864
+ operator_mac: "operator_mac";
865
+ category: "category";
866
+ }>;
3552
867
  idValue: z.ZodString;
3553
- }, "strip", z.ZodTypeAny, {
3554
- domain: "adsb" | "remoteId";
3555
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3556
- idValue: string;
3557
- }, {
3558
- domain: "adsb" | "remoteId";
3559
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3560
- idValue: string;
3561
- }>, "many">>;
3562
- }, "strip", z.ZodTypeAny, {
3563
- list: {
3564
- domain: "adsb" | "remoteId";
3565
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3566
- idValue: string;
3567
- }[];
3568
- }, {
3569
- list?: {
3570
- domain: "adsb" | "remoteId";
3571
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3572
- idValue: string;
3573
- }[] | undefined;
3574
- }>;
3575
- }, "strip", z.ZodTypeAny, {
3576
- params: {
3577
- userId: string;
3578
- userName: string;
3579
- userPriority: string;
3580
- };
3581
- type: "USER_ACTION";
3582
- ip: string;
3583
- cgi: EUserActions.SET_WHITE_LIST;
3584
- postJsonBody: {
3585
- list: {
3586
- domain: "adsb" | "remoteId";
3587
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3588
- idValue: string;
3589
- }[];
3590
- };
3591
- }, {
3592
- params: {
3593
- userId: string;
3594
- userName: string;
3595
- userPriority: string;
3596
- };
3597
- type: "USER_ACTION";
3598
- ip: string;
3599
- cgi: EUserActions.SET_WHITE_LIST;
3600
- postJsonBody: {
3601
- list?: {
3602
- domain: "adsb" | "remoteId";
3603
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3604
- idValue: string;
3605
- }[] | undefined;
3606
- };
3607
- }>, z.ZodObject<{
868
+ }, z.core.$strip>>>;
869
+ }, z.core.$strip>;
870
+ }, z.core.$strip>, z.ZodObject<{
3608
871
  type: z.ZodLiteral<"USER_ACTION">;
3609
872
  cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
3610
873
  ip: z.ZodString;
@@ -3612,75 +875,24 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3612
875
  userId: z.ZodString;
3613
876
  userName: z.ZodString;
3614
877
  userPriority: z.ZodString;
3615
- }, "strip", z.ZodTypeAny, {
3616
- userId: string;
3617
- userName: string;
3618
- userPriority: string;
3619
- }, {
3620
- userId: string;
3621
- userName: string;
3622
- userPriority: string;
3623
- }>;
878
+ }, z.core.$strip>;
3624
879
  postJsonBody: z.ZodObject<{
3625
880
  list: z.ZodDefault<z.ZodArray<z.ZodObject<{
3626
- domain: z.ZodEnum<["adsb", "remoteId"]>;
3627
- idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
881
+ domain: z.ZodEnum<{
882
+ adsb: "adsb";
883
+ remoteId: "remoteId";
884
+ }>;
885
+ idType: z.ZodEnum<{
886
+ icao: "icao";
887
+ type_icao: "type_icao";
888
+ drone_mac: "drone_mac";
889
+ operator_mac: "operator_mac";
890
+ category: "category";
891
+ }>;
3628
892
  idValue: z.ZodString;
3629
- }, "strip", z.ZodTypeAny, {
3630
- domain: "adsb" | "remoteId";
3631
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3632
- idValue: string;
3633
- }, {
3634
- domain: "adsb" | "remoteId";
3635
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3636
- idValue: string;
3637
- }>, "many">>;
3638
- }, "strip", z.ZodTypeAny, {
3639
- list: {
3640
- domain: "adsb" | "remoteId";
3641
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3642
- idValue: string;
3643
- }[];
3644
- }, {
3645
- list?: {
3646
- domain: "adsb" | "remoteId";
3647
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3648
- idValue: string;
3649
- }[] | undefined;
3650
- }>;
3651
- }, "strip", z.ZodTypeAny, {
3652
- params: {
3653
- userId: string;
3654
- userName: string;
3655
- userPriority: string;
3656
- };
3657
- type: "USER_ACTION";
3658
- ip: string;
3659
- cgi: EUserActions.SET_FRIENDLY_LIST;
3660
- postJsonBody: {
3661
- list: {
3662
- domain: "adsb" | "remoteId";
3663
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3664
- idValue: string;
3665
- }[];
3666
- };
3667
- }, {
3668
- params: {
3669
- userId: string;
3670
- userName: string;
3671
- userPriority: string;
3672
- };
3673
- type: "USER_ACTION";
3674
- ip: string;
3675
- cgi: EUserActions.SET_FRIENDLY_LIST;
3676
- postJsonBody: {
3677
- list?: {
3678
- domain: "adsb" | "remoteId";
3679
- idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3680
- idValue: string;
3681
- }[] | undefined;
3682
- };
3683
- }>, z.ZodObject<{
893
+ }, z.core.$strip>>>;
894
+ }, z.core.$strip>;
895
+ }, z.core.$strip>, z.ZodObject<{
3684
896
  type: z.ZodLiteral<"USER_ACTION">;
3685
897
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
3686
898
  ip: z.ZodString;
@@ -3688,48 +900,11 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3688
900
  userId: z.ZodString;
3689
901
  userName: z.ZodString;
3690
902
  userPriority: z.ZodString;
3691
- } & {
3692
903
  lat: z.ZodString;
3693
904
  lon: z.ZodString;
3694
- }, "strip", z.ZodTypeAny, {
3695
- lat: string;
3696
- lon: string;
3697
- userId: string;
3698
- userName: string;
3699
- userPriority: string;
3700
- }, {
3701
- lat: string;
3702
- lon: string;
3703
- userId: string;
3704
- userName: string;
3705
- userPriority: string;
3706
- }>;
905
+ }, z.core.$strip>;
3707
906
  postJsonBody: z.ZodAny;
3708
- }, "strip", z.ZodTypeAny, {
3709
- params: {
3710
- lat: string;
3711
- lon: string;
3712
- userId: string;
3713
- userName: string;
3714
- userPriority: string;
3715
- };
3716
- type: "USER_ACTION";
3717
- ip: string;
3718
- cgi: EUserActions.GO_TO_COORDINATES;
3719
- postJsonBody?: any;
3720
- }, {
3721
- params: {
3722
- lat: string;
3723
- lon: string;
3724
- userId: string;
3725
- userName: string;
3726
- userPriority: string;
3727
- };
3728
- type: "USER_ACTION";
3729
- ip: string;
3730
- cgi: EUserActions.GO_TO_COORDINATES;
3731
- postJsonBody?: any;
3732
- }>, z.ZodObject<{
907
+ }, z.core.$strip>, z.ZodObject<{
3733
908
  type: z.ZodLiteral<"USER_ACTION">;
3734
909
  cgi: z.ZodLiteral<EUserActions.SET_TRACKING_MODE>;
3735
910
  ip: z.ZodString;
@@ -3737,47 +912,11 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3737
912
  userId: z.ZodString;
3738
913
  userName: z.ZodString;
3739
914
  userPriority: z.ZodString;
3740
- }, "strip", z.ZodTypeAny, {
3741
- userId: string;
3742
- userName: string;
3743
- userPriority: string;
3744
- }, {
3745
- userId: string;
3746
- userName: string;
3747
- userPriority: string;
3748
- }>;
915
+ }, z.core.$strip>;
3749
916
  postJsonBody: z.ZodObject<{
3750
- mode: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
3751
- }, "strip", z.ZodTypeAny, {
3752
- mode: "MANUAL" | "AUTOMATIC";
3753
- }, {
3754
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
3755
- }>;
3756
- }, "strip", z.ZodTypeAny, {
3757
- params: {
3758
- userId: string;
3759
- userName: string;
3760
- userPriority: string;
3761
- };
3762
- type: "USER_ACTION";
3763
- ip: string;
3764
- cgi: EUserActions.SET_TRACKING_MODE;
3765
- postJsonBody: {
3766
- mode: "MANUAL" | "AUTOMATIC";
3767
- };
3768
- }, {
3769
- params: {
3770
- userId: string;
3771
- userName: string;
3772
- userPriority: string;
3773
- };
3774
- type: "USER_ACTION";
3775
- ip: string;
3776
- cgi: EUserActions.SET_TRACKING_MODE;
3777
- postJsonBody: {
3778
- mode?: "MANUAL" | "AUTOMATIC" | undefined;
3779
- };
3780
- }>, z.ZodObject<{
917
+ mode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"MANUAL">, z.ZodLiteral<"AUTOMATIC">]>>;
918
+ }, z.core.$strip>;
919
+ }, z.core.$strip>, z.ZodObject<{
3781
920
  type: z.ZodLiteral<"USER_ACTION">;
3782
921
  cgi: z.ZodLiteral<EUserActions.SET_ZONES>;
3783
922
  ip: z.ZodString;
@@ -3785,15 +924,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3785
924
  userId: z.ZodString;
3786
925
  userName: z.ZodString;
3787
926
  userPriority: z.ZodString;
3788
- }, "strip", z.ZodTypeAny, {
3789
- userId: string;
3790
- userName: string;
3791
- userPriority: string;
3792
- }, {
3793
- userId: string;
3794
- userName: string;
3795
- userPriority: string;
3796
- }>;
927
+ }, z.core.$strip>;
3797
928
  postJsonBody: z.ZodObject<{
3798
929
  zones: z.ZodDefault<z.ZodArray<z.ZodObject<{
3799
930
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -3801,167 +932,30 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3801
932
  area: z.ZodArray<z.ZodObject<{
3802
933
  lat: z.ZodNumber;
3803
934
  lon: z.ZodNumber;
3804
- }, "strip", z.ZodTypeAny, {
3805
- lat: number;
3806
- lon: number;
3807
- }, {
3808
- lat: number;
3809
- lon: number;
3810
- }>, "atleastone">;
935
+ }, z.core.$strip>>;
3811
936
  minAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
3812
937
  maxAltitudeAmsl: z.ZodOptional<z.ZodNumber>;
3813
938
  minSpeedKmph: z.ZodOptional<z.ZodNumber>;
3814
939
  maxSpeedKmph: z.ZodOptional<z.ZodNumber>;
3815
- flightDirection: z.ZodDefault<z.ZodEnum<["all", "arrival", "departure"]>>;
940
+ flightDirection: z.ZodDefault<z.ZodEnum<{
941
+ all: "all";
942
+ arrival: "arrival";
943
+ departure: "departure";
944
+ }>>;
3816
945
  runwayDirectionDeg: z.ZodOptional<z.ZodNumber>;
3817
946
  weight: z.ZodNumber;
3818
- perimeter: z.ZodDefault<z.ZodEnum<["none", "outer", "inner"]>>;
3819
- trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<["adsb", "remoteId"]>, "many">>;
3820
- }, "strip", z.ZodTypeAny, {
3821
- enabled: boolean;
3822
- area: [{
3823
- lat: number;
3824
- lon: number;
3825
- }, ...{
3826
- lat: number;
3827
- lon: number;
3828
- }[]];
3829
- flightDirection: "all" | "arrival" | "departure";
3830
- weight: number;
3831
- perimeter: "none" | "outer" | "inner";
3832
- trackingDomains: ("adsb" | "remoteId")[];
3833
- name?: string | undefined;
3834
- minAltitudeAmsl?: number | undefined;
3835
- maxAltitudeAmsl?: number | undefined;
3836
- minSpeedKmph?: number | undefined;
3837
- maxSpeedKmph?: number | undefined;
3838
- runwayDirectionDeg?: number | undefined;
3839
- }, {
3840
- area: [{
3841
- lat: number;
3842
- lon: number;
3843
- }, ...{
3844
- lat: number;
3845
- lon: number;
3846
- }[]];
3847
- weight: number;
3848
- name?: string | undefined;
3849
- enabled?: boolean | undefined;
3850
- minAltitudeAmsl?: number | undefined;
3851
- maxAltitudeAmsl?: number | undefined;
3852
- minSpeedKmph?: number | undefined;
3853
- maxSpeedKmph?: number | undefined;
3854
- flightDirection?: "all" | "arrival" | "departure" | undefined;
3855
- runwayDirectionDeg?: number | undefined;
3856
- perimeter?: "none" | "outer" | "inner" | undefined;
3857
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
3858
- }>, "many">>;
3859
- }, "strip", z.ZodTypeAny, {
3860
- zones: {
3861
- enabled: boolean;
3862
- area: [{
3863
- lat: number;
3864
- lon: number;
3865
- }, ...{
3866
- lat: number;
3867
- lon: number;
3868
- }[]];
3869
- flightDirection: "all" | "arrival" | "departure";
3870
- weight: number;
3871
- perimeter: "none" | "outer" | "inner";
3872
- trackingDomains: ("adsb" | "remoteId")[];
3873
- name?: string | undefined;
3874
- minAltitudeAmsl?: number | undefined;
3875
- maxAltitudeAmsl?: number | undefined;
3876
- minSpeedKmph?: number | undefined;
3877
- maxSpeedKmph?: number | undefined;
3878
- runwayDirectionDeg?: number | undefined;
3879
- }[];
3880
- }, {
3881
- zones?: {
3882
- area: [{
3883
- lat: number;
3884
- lon: number;
3885
- }, ...{
3886
- lat: number;
3887
- lon: number;
3888
- }[]];
3889
- weight: number;
3890
- name?: string | undefined;
3891
- enabled?: boolean | undefined;
3892
- minAltitudeAmsl?: number | undefined;
3893
- maxAltitudeAmsl?: number | undefined;
3894
- minSpeedKmph?: number | undefined;
3895
- maxSpeedKmph?: number | undefined;
3896
- flightDirection?: "all" | "arrival" | "departure" | undefined;
3897
- runwayDirectionDeg?: number | undefined;
3898
- perimeter?: "none" | "outer" | "inner" | undefined;
3899
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
3900
- }[] | undefined;
3901
- }>;
3902
- }, "strip", z.ZodTypeAny, {
3903
- params: {
3904
- userId: string;
3905
- userName: string;
3906
- userPriority: string;
3907
- };
3908
- type: "USER_ACTION";
3909
- ip: string;
3910
- cgi: EUserActions.SET_ZONES;
3911
- postJsonBody: {
3912
- zones: {
3913
- enabled: boolean;
3914
- area: [{
3915
- lat: number;
3916
- lon: number;
3917
- }, ...{
3918
- lat: number;
3919
- lon: number;
3920
- }[]];
3921
- flightDirection: "all" | "arrival" | "departure";
3922
- weight: number;
3923
- perimeter: "none" | "outer" | "inner";
3924
- trackingDomains: ("adsb" | "remoteId")[];
3925
- name?: string | undefined;
3926
- minAltitudeAmsl?: number | undefined;
3927
- maxAltitudeAmsl?: number | undefined;
3928
- minSpeedKmph?: number | undefined;
3929
- maxSpeedKmph?: number | undefined;
3930
- runwayDirectionDeg?: number | undefined;
3931
- }[];
3932
- };
3933
- }, {
3934
- params: {
3935
- userId: string;
3936
- userName: string;
3937
- userPriority: string;
3938
- };
3939
- type: "USER_ACTION";
3940
- ip: string;
3941
- cgi: EUserActions.SET_ZONES;
3942
- postJsonBody: {
3943
- zones?: {
3944
- area: [{
3945
- lat: number;
3946
- lon: number;
3947
- }, ...{
3948
- lat: number;
3949
- lon: number;
3950
- }[]];
3951
- weight: number;
3952
- name?: string | undefined;
3953
- enabled?: boolean | undefined;
3954
- minAltitudeAmsl?: number | undefined;
3955
- maxAltitudeAmsl?: number | undefined;
3956
- minSpeedKmph?: number | undefined;
3957
- maxSpeedKmph?: number | undefined;
3958
- flightDirection?: "all" | "arrival" | "departure" | undefined;
3959
- runwayDirectionDeg?: number | undefined;
3960
- perimeter?: "none" | "outer" | "inner" | undefined;
3961
- trackingDomains?: ("adsb" | "remoteId")[] | undefined;
3962
- }[] | undefined;
3963
- };
3964
- }>, z.ZodObject<{
947
+ perimeter: z.ZodDefault<z.ZodEnum<{
948
+ none: "none";
949
+ outer: "outer";
950
+ inner: "inner";
951
+ }>>;
952
+ trackingDomains: z.ZodDefault<z.ZodArray<z.ZodEnum<{
953
+ adsb: "adsb";
954
+ remoteId: "remoteId";
955
+ }>>>;
956
+ }, z.core.$strip>>>;
957
+ }, z.core.$strip>;
958
+ }, z.core.$strip>, z.ZodObject<{
3965
959
  type: z.ZodLiteral<"USER_ACTION">;
3966
960
  cgi: z.ZodLiteral<EUserActions.RESET_PTZ_CALIBRATION>;
3967
961
  ip: z.ZodString;
@@ -3969,37 +963,9 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3969
963
  userId: z.ZodString;
3970
964
  userName: z.ZodString;
3971
965
  userPriority: z.ZodString;
3972
- }, "strip", z.ZodTypeAny, {
3973
- userId: string;
3974
- userName: string;
3975
- userPriority: string;
3976
- }, {
3977
- userId: string;
3978
- userName: string;
3979
- userPriority: string;
3980
- }>;
966
+ }, z.core.$strip>;
3981
967
  postJsonBody: z.ZodAny;
3982
- }, "strip", z.ZodTypeAny, {
3983
- params: {
3984
- userId: string;
3985
- userName: string;
3986
- userPriority: string;
3987
- };
3988
- type: "USER_ACTION";
3989
- ip: string;
3990
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
3991
- postJsonBody?: any;
3992
- }, {
3993
- params: {
3994
- userId: string;
3995
- userName: string;
3996
- userPriority: string;
3997
- };
3998
- type: "USER_ACTION";
3999
- ip: string;
4000
- cgi: EUserActions.RESET_PTZ_CALIBRATION;
4001
- postJsonBody?: any;
4002
- }>, z.ZodObject<{
968
+ }, z.core.$strip>, z.ZodObject<{
4003
969
  type: z.ZodLiteral<"USER_ACTION">;
4004
970
  cgi: z.ZodLiteral<EUserActions.LOCK_API>;
4005
971
  ip: z.ZodString;
@@ -4007,43 +973,10 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
4007
973
  userId: z.ZodString;
4008
974
  userName: z.ZodString;
4009
975
  userPriority: z.ZodString;
4010
- } & {
4011
976
  timeout: z.ZodString;
4012
- }, "strip", z.ZodTypeAny, {
4013
- timeout: string;
4014
- userId: string;
4015
- userName: string;
4016
- userPriority: string;
4017
- }, {
4018
- timeout: string;
4019
- userId: string;
4020
- userName: string;
4021
- userPriority: string;
4022
- }>;
977
+ }, z.core.$strip>;
4023
978
  postJsonBody: z.ZodAny;
4024
- }, "strip", z.ZodTypeAny, {
4025
- params: {
4026
- timeout: string;
4027
- userId: string;
4028
- userName: string;
4029
- userPriority: string;
4030
- };
4031
- type: "USER_ACTION";
4032
- ip: string;
4033
- cgi: EUserActions.LOCK_API;
4034
- postJsonBody?: any;
4035
- }, {
4036
- params: {
4037
- timeout: string;
4038
- userId: string;
4039
- userName: string;
4040
- userPriority: string;
4041
- };
4042
- type: "USER_ACTION";
4043
- ip: string;
4044
- cgi: EUserActions.LOCK_API;
4045
- postJsonBody?: any;
4046
- }>, z.ZodObject<{
979
+ }, z.core.$strip>, z.ZodObject<{
4047
980
  type: z.ZodLiteral<"USER_ACTION">;
4048
981
  cgi: z.ZodLiteral<EUserActions.UNLOCK_API>;
4049
982
  ip: z.ZodString;
@@ -4051,125 +984,31 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
4051
984
  userId: z.ZodString;
4052
985
  userName: z.ZodString;
4053
986
  userPriority: z.ZodString;
4054
- }, "strip", z.ZodTypeAny, {
4055
- userId: string;
4056
- userName: string;
4057
- userPriority: string;
4058
- }, {
4059
- userId: string;
4060
- userName: string;
4061
- userPriority: string;
4062
- }>;
987
+ }, z.core.$strip>;
4063
988
  postJsonBody: z.ZodAny;
4064
- }, "strip", z.ZodTypeAny, {
4065
- params: {
4066
- userId: string;
4067
- userName: string;
4068
- userPriority: string;
4069
- };
4070
- type: "USER_ACTION";
4071
- ip: string;
4072
- cgi: EUserActions.UNLOCK_API;
4073
- postJsonBody?: any;
4074
- }, {
4075
- params: {
4076
- userId: string;
4077
- userName: string;
4078
- userPriority: string;
4079
- };
4080
- type: "USER_ACTION";
4081
- ip: string;
4082
- cgi: EUserActions.UNLOCK_API;
4083
- postJsonBody?: any;
4084
- }>, z.ZodObject<{
989
+ }, z.core.$strip>, z.ZodObject<{
4085
990
  type: z.ZodLiteral<"CONNECTED_USERS">;
4086
991
  users: z.ZodArray<z.ZodObject<{
4087
992
  userId: z.ZodString;
4088
993
  userName: z.ZodString;
4089
- } & {
4090
994
  ip: z.ZodString;
4091
995
  userPriority: z.ZodNumber;
4092
- }, "strip", z.ZodTypeAny, {
4093
- ip: string;
4094
- userId: string;
4095
- userName: string;
4096
- userPriority: number;
4097
- }, {
4098
- ip: string;
4099
- userId: string;
4100
- userName: string;
4101
- userPriority: number;
4102
- }>, "many">;
4103
- }, "strip", z.ZodTypeAny, {
4104
- type: "CONNECTED_USERS";
4105
- users: {
4106
- ip: string;
4107
- userId: string;
4108
- userName: string;
4109
- userPriority: number;
4110
- }[];
4111
- }, {
4112
- type: "CONNECTED_USERS";
4113
- users: {
4114
- ip: string;
4115
- userId: string;
4116
- userName: string;
4117
- userPriority: number;
4118
- }[];
4119
- }>, z.ZodObject<{
996
+ }, z.core.$strip>>;
997
+ }, z.core.$strip>, z.ZodObject<{
4120
998
  type: z.ZodLiteral<"FORCE_TRACKING_STATUS">;
4121
999
  enabled: z.ZodBoolean;
4122
1000
  icao: z.ZodOptional<z.ZodString>;
4123
1001
  targetId: z.ZodOptional<z.ZodString>;
4124
- }, "strip", z.ZodTypeAny, {
4125
- type: "FORCE_TRACKING_STATUS";
4126
- enabled: boolean;
4127
- icao?: string | undefined;
4128
- targetId?: string | undefined;
4129
- }, {
4130
- type: "FORCE_TRACKING_STATUS";
4131
- enabled: boolean;
4132
- icao?: string | undefined;
4133
- targetId?: string | undefined;
4134
- }>, z.ZodObject<{
1002
+ }, z.core.$strip>, z.ZodObject<{
4135
1003
  type: z.ZodLiteral<"API_LOCK_STATUS">;
4136
1004
  isLocked: z.ZodBoolean;
4137
1005
  user: z.ZodOptional<z.ZodObject<{
4138
1006
  userId: z.ZodString;
4139
1007
  userName: z.ZodString;
4140
- } & {
4141
1008
  ip: z.ZodString;
4142
1009
  userPriority: z.ZodNumber;
4143
- }, "strip", z.ZodTypeAny, {
4144
- ip: string;
4145
- userId: string;
4146
- userName: string;
4147
- userPriority: number;
4148
- }, {
4149
- ip: string;
4150
- userId: string;
4151
- userName: string;
4152
- userPriority: number;
4153
- }>>;
4154
- }, "strip", z.ZodTypeAny, {
4155
- type: "API_LOCK_STATUS";
4156
- isLocked: boolean;
4157
- user?: {
4158
- ip: string;
4159
- userId: string;
4160
- userName: string;
4161
- userPriority: number;
4162
- } | undefined;
4163
- }, {
4164
- type: "API_LOCK_STATUS";
4165
- isLocked: boolean;
4166
- user?: {
4167
- ip: string;
4168
- userId: string;
4169
- userName: string;
4170
- userPriority: number;
4171
- } | undefined;
4172
- }>]>;
1010
+ }, z.core.$strip>>;
1011
+ }, z.core.$strip>]>;
4173
1012
  export type TEventData = z.infer<typeof eventsDataSchema>;
4174
1013
  export type TWsUserActionData = Extract<TEventData, {
4175
1014
  type: 'USER_ACTION';