camstreamerlib 4.0.0-beta.51 → 4.0.0-beta.52
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.
|
@@ -78,8 +78,8 @@ const ptrEventsDataSchema = zod_1.z.discriminatedUnion('type', [
|
|
|
78
78
|
type: zod_1.z.literal('USER_ACTION'),
|
|
79
79
|
ip: zod_1.z.string(),
|
|
80
80
|
params: apiStringUserSchema.extend({
|
|
81
|
-
lat: zod_1.z.
|
|
82
|
-
lon: zod_1.z.
|
|
81
|
+
lat: zod_1.z.string().optional(),
|
|
82
|
+
lon: zod_1.z.string().optional(),
|
|
83
83
|
timeout: zod_1.z.string().optional(),
|
|
84
84
|
}),
|
|
85
85
|
cgi: zod_1.z.enum([
|
|
@@ -75,8 +75,8 @@ const ptrEventsDataSchema = z.discriminatedUnion('type', [
|
|
|
75
75
|
type: z.literal('USER_ACTION'),
|
|
76
76
|
ip: z.string(),
|
|
77
77
|
params: apiStringUserSchema.extend({
|
|
78
|
-
lat: z.
|
|
79
|
-
lon: z.
|
|
78
|
+
lat: z.string().optional(),
|
|
79
|
+
lon: z.string().optional(),
|
|
80
80
|
timeout: z.string().optional(),
|
|
81
81
|
}),
|
|
82
82
|
cgi: z.enum([
|
package/package.json
CHANGED
|
@@ -232,23 +232,23 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
232
232
|
userName: z.ZodString;
|
|
233
233
|
userPriority: z.ZodString;
|
|
234
234
|
} & {
|
|
235
|
-
lat: z.ZodOptional<z.
|
|
236
|
-
lon: z.ZodOptional<z.
|
|
235
|
+
lat: z.ZodOptional<z.ZodString>;
|
|
236
|
+
lon: z.ZodOptional<z.ZodString>;
|
|
237
237
|
timeout: z.ZodOptional<z.ZodString>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
userId: string;
|
|
240
240
|
userName: string;
|
|
241
241
|
userPriority: string;
|
|
242
242
|
timeout?: string | undefined;
|
|
243
|
-
lat?:
|
|
244
|
-
lon?:
|
|
243
|
+
lat?: string | undefined;
|
|
244
|
+
lon?: string | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
userId: string;
|
|
247
247
|
userName: string;
|
|
248
248
|
userPriority: string;
|
|
249
249
|
timeout?: string | undefined;
|
|
250
|
-
lat?:
|
|
251
|
-
lon?:
|
|
250
|
+
lat?: string | undefined;
|
|
251
|
+
lon?: string | undefined;
|
|
252
252
|
}>;
|
|
253
253
|
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
|
|
254
254
|
postJsonBody: z.ZodAny;
|
|
@@ -258,8 +258,8 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
258
258
|
userName: string;
|
|
259
259
|
userPriority: string;
|
|
260
260
|
timeout?: string | undefined;
|
|
261
|
-
lat?:
|
|
262
|
-
lon?:
|
|
261
|
+
lat?: string | undefined;
|
|
262
|
+
lon?: string | undefined;
|
|
263
263
|
};
|
|
264
264
|
type: "USER_ACTION";
|
|
265
265
|
ip: string;
|
|
@@ -271,8 +271,8 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
271
271
|
userName: string;
|
|
272
272
|
userPriority: string;
|
|
273
273
|
timeout?: string | undefined;
|
|
274
|
-
lat?:
|
|
275
|
-
lon?:
|
|
274
|
+
lat?: string | undefined;
|
|
275
|
+
lon?: string | undefined;
|
|
276
276
|
};
|
|
277
277
|
type: "USER_ACTION";
|
|
278
278
|
ip: string;
|
|
@@ -497,23 +497,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
497
497
|
userName: z.ZodString;
|
|
498
498
|
userPriority: z.ZodString;
|
|
499
499
|
} & {
|
|
500
|
-
lat: z.ZodOptional<z.
|
|
501
|
-
lon: z.ZodOptional<z.
|
|
500
|
+
lat: z.ZodOptional<z.ZodString>;
|
|
501
|
+
lon: z.ZodOptional<z.ZodString>;
|
|
502
502
|
timeout: z.ZodOptional<z.ZodString>;
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
504
504
|
userId: string;
|
|
505
505
|
userName: string;
|
|
506
506
|
userPriority: string;
|
|
507
507
|
timeout?: string | undefined;
|
|
508
|
-
lat?:
|
|
509
|
-
lon?:
|
|
508
|
+
lat?: string | undefined;
|
|
509
|
+
lon?: string | undefined;
|
|
510
510
|
}, {
|
|
511
511
|
userId: string;
|
|
512
512
|
userName: string;
|
|
513
513
|
userPriority: string;
|
|
514
514
|
timeout?: string | undefined;
|
|
515
|
-
lat?:
|
|
516
|
-
lon?:
|
|
515
|
+
lat?: string | undefined;
|
|
516
|
+
lon?: string | undefined;
|
|
517
517
|
}>;
|
|
518
518
|
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
|
|
519
519
|
postJsonBody: z.ZodAny;
|
|
@@ -523,8 +523,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
523
523
|
userName: string;
|
|
524
524
|
userPriority: string;
|
|
525
525
|
timeout?: string | undefined;
|
|
526
|
-
lat?:
|
|
527
|
-
lon?:
|
|
526
|
+
lat?: string | undefined;
|
|
527
|
+
lon?: string | undefined;
|
|
528
528
|
};
|
|
529
529
|
type: "USER_ACTION";
|
|
530
530
|
ip: string;
|
|
@@ -536,8 +536,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
536
536
|
userName: string;
|
|
537
537
|
userPriority: string;
|
|
538
538
|
timeout?: string | undefined;
|
|
539
|
-
lat?:
|
|
540
|
-
lon?:
|
|
539
|
+
lat?: string | undefined;
|
|
540
|
+
lon?: string | undefined;
|
|
541
541
|
};
|
|
542
542
|
type: "USER_ACTION";
|
|
543
543
|
ip: string;
|
|
@@ -666,8 +666,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
666
666
|
userName: string;
|
|
667
667
|
userPriority: string;
|
|
668
668
|
timeout?: string | undefined;
|
|
669
|
-
lat?:
|
|
670
|
-
lon?:
|
|
669
|
+
lat?: string | undefined;
|
|
670
|
+
lon?: string | undefined;
|
|
671
671
|
};
|
|
672
672
|
type: "USER_ACTION";
|
|
673
673
|
ip: string;
|
|
@@ -734,8 +734,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
734
734
|
userName: string;
|
|
735
735
|
userPriority: string;
|
|
736
736
|
timeout?: string | undefined;
|
|
737
|
-
lat?:
|
|
738
|
-
lon?:
|
|
737
|
+
lat?: string | undefined;
|
|
738
|
+
lon?: string | undefined;
|
|
739
739
|
};
|
|
740
740
|
type: "USER_ACTION";
|
|
741
741
|
ip: string;
|
|
@@ -896,23 +896,23 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
896
896
|
userName: z.ZodString;
|
|
897
897
|
userPriority: z.ZodString;
|
|
898
898
|
} & {
|
|
899
|
-
lat: z.ZodOptional<z.
|
|
900
|
-
lon: z.ZodOptional<z.
|
|
899
|
+
lat: z.ZodOptional<z.ZodString>;
|
|
900
|
+
lon: z.ZodOptional<z.ZodString>;
|
|
901
901
|
timeout: z.ZodOptional<z.ZodString>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
903
|
userId: string;
|
|
904
904
|
userName: string;
|
|
905
905
|
userPriority: string;
|
|
906
906
|
timeout?: string | undefined;
|
|
907
|
-
lat?:
|
|
908
|
-
lon?:
|
|
907
|
+
lat?: string | undefined;
|
|
908
|
+
lon?: string | undefined;
|
|
909
909
|
}, {
|
|
910
910
|
userId: string;
|
|
911
911
|
userName: string;
|
|
912
912
|
userPriority: string;
|
|
913
913
|
timeout?: string | undefined;
|
|
914
|
-
lat?:
|
|
915
|
-
lon?:
|
|
914
|
+
lat?: string | undefined;
|
|
915
|
+
lon?: string | undefined;
|
|
916
916
|
}>;
|
|
917
917
|
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.SET_BLACK_LIST, PlaneTrackerUserActions.SET_WHITE_LIST, PlaneTrackerUserActions.GO_TO_COORDINATES, PlaneTrackerUserActions.SET_TRACKING_MODE, PlaneTrackerUserActions.SET_ZONES, PlaneTrackerUserActions.RESET_PTZ_CALIBRATION, PlaneTrackerUserActions.LOCK_API, PlaneTrackerUserActions.UNLOCK_API]>;
|
|
918
918
|
postJsonBody: z.ZodAny;
|
|
@@ -922,8 +922,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
922
922
|
userName: string;
|
|
923
923
|
userPriority: string;
|
|
924
924
|
timeout?: string | undefined;
|
|
925
|
-
lat?:
|
|
926
|
-
lon?:
|
|
925
|
+
lat?: string | undefined;
|
|
926
|
+
lon?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
type: "USER_ACTION";
|
|
929
929
|
ip: string;
|
|
@@ -935,8 +935,8 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
935
935
|
userName: string;
|
|
936
936
|
userPriority: string;
|
|
937
937
|
timeout?: string | undefined;
|
|
938
|
-
lat?:
|
|
939
|
-
lon?:
|
|
938
|
+
lat?: string | undefined;
|
|
939
|
+
lon?: string | undefined;
|
|
940
940
|
};
|
|
941
941
|
type: "USER_ACTION";
|
|
942
942
|
ip: string;
|