camstreamerlib 4.0.0-beta.51 → 4.0.0-beta.53
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.
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -0
- package/cjs/types/ws/PlaneTrackerEvents.js +2 -2
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -0
- package/esm/types/ws/PlaneTrackerEvents.js +2 -2
- package/package.json +1 -1
- package/types/CamOverlayAPI.d.ts +2 -0
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +9 -0
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +3 -0
- package/types/types/ws/PlaneTrackerEvents.d.ts +34 -34
|
@@ -22,4 +22,5 @@ exports.ptzCompassSchema = serviceCommonTypes_1.serviceCommonSchema.extend({
|
|
|
22
22
|
generalIframeWidth: zod_1.z.number().optional(),
|
|
23
23
|
generalIframeHeight: zod_1.z.number().optional(),
|
|
24
24
|
generalAddress: zod_1.z.string().optional(),
|
|
25
|
+
showDegrees: zod_1.z.boolean().default(false),
|
|
25
26
|
});
|
|
@@ -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
package/types/CamOverlayAPI.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> {
|
|
|
108
108
|
cameraPosX: number;
|
|
109
109
|
cameraPosY: number;
|
|
110
110
|
colorScheme: "black" | "white" | "orange";
|
|
111
|
+
showDegrees: boolean;
|
|
111
112
|
camera?: number | undefined;
|
|
112
113
|
schedule?: string | undefined;
|
|
113
114
|
invertInput?: boolean | undefined;
|
|
@@ -517,6 +518,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> {
|
|
|
517
518
|
cameraPosX: number;
|
|
518
519
|
cameraPosY: number;
|
|
519
520
|
colorScheme: "black" | "white" | "orange";
|
|
521
|
+
showDegrees: boolean;
|
|
520
522
|
camera?: number | undefined;
|
|
521
523
|
schedule?: string | undefined;
|
|
522
524
|
invertInput?: boolean | undefined;
|
|
@@ -228,6 +228,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
228
228
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
229
229
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
230
230
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
231
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
231
232
|
}, "strip", z.ZodTypeAny, {
|
|
232
233
|
type: "map" | "compass" | "image";
|
|
233
234
|
name: "ptzCompass";
|
|
@@ -247,6 +248,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
247
248
|
cameraPosX: number;
|
|
248
249
|
cameraPosY: number;
|
|
249
250
|
colorScheme: "black" | "white" | "orange";
|
|
251
|
+
showDegrees: boolean;
|
|
250
252
|
camera?: number | undefined;
|
|
251
253
|
schedule?: string | undefined;
|
|
252
254
|
invertInput?: boolean | undefined;
|
|
@@ -288,6 +290,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
|
|
|
288
290
|
generalIframeWidth?: number | undefined;
|
|
289
291
|
generalIframeHeight?: number | undefined;
|
|
290
292
|
generalAddress?: string | undefined;
|
|
293
|
+
showDegrees?: boolean | undefined;
|
|
291
294
|
}>, z.ZodObject<{
|
|
292
295
|
id: z.ZodNumber;
|
|
293
296
|
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -1698,6 +1701,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1698
1701
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
1699
1702
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
1700
1703
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
1701
1705
|
}, "strip", z.ZodTypeAny, {
|
|
1702
1706
|
type: "map" | "compass" | "image";
|
|
1703
1707
|
name: "ptzCompass";
|
|
@@ -1717,6 +1721,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1717
1721
|
cameraPosX: number;
|
|
1718
1722
|
cameraPosY: number;
|
|
1719
1723
|
colorScheme: "black" | "white" | "orange";
|
|
1724
|
+
showDegrees: boolean;
|
|
1720
1725
|
camera?: number | undefined;
|
|
1721
1726
|
schedule?: string | undefined;
|
|
1722
1727
|
invertInput?: boolean | undefined;
|
|
@@ -1758,6 +1763,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
1758
1763
|
generalIframeWidth?: number | undefined;
|
|
1759
1764
|
generalIframeHeight?: number | undefined;
|
|
1760
1765
|
generalAddress?: string | undefined;
|
|
1766
|
+
showDegrees?: boolean | undefined;
|
|
1761
1767
|
}>, z.ZodObject<{
|
|
1762
1768
|
id: z.ZodNumber;
|
|
1763
1769
|
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -3037,6 +3043,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
3037
3043
|
cameraPosX: number;
|
|
3038
3044
|
cameraPosY: number;
|
|
3039
3045
|
colorScheme: "black" | "white" | "orange";
|
|
3046
|
+
showDegrees: boolean;
|
|
3040
3047
|
camera?: number | undefined;
|
|
3041
3048
|
schedule?: string | undefined;
|
|
3042
3049
|
invertInput?: boolean | undefined;
|
|
@@ -3458,6 +3465,7 @@ export declare const serviceListSchema: z.ZodObject<{
|
|
|
3458
3465
|
generalIframeWidth?: number | undefined;
|
|
3459
3466
|
generalIframeHeight?: number | undefined;
|
|
3460
3467
|
generalAddress?: string | undefined;
|
|
3468
|
+
showDegrees?: boolean | undefined;
|
|
3461
3469
|
} | {
|
|
3462
3470
|
name: "images";
|
|
3463
3471
|
enabled: 0 | 1;
|
|
@@ -4011,6 +4019,7 @@ export declare const isPtzCompass: (service: TService) => service is {
|
|
|
4011
4019
|
cameraPosX: number;
|
|
4012
4020
|
cameraPosY: number;
|
|
4013
4021
|
colorScheme: "black" | "white" | "orange";
|
|
4022
|
+
showDegrees: boolean;
|
|
4014
4023
|
camera?: number | undefined;
|
|
4015
4024
|
schedule?: string | undefined;
|
|
4016
4025
|
invertInput?: boolean | undefined;
|
|
@@ -30,6 +30,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
30
30
|
generalIframeWidth: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
generalIframeHeight: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
generalAddress: z.ZodOptional<z.ZodString>;
|
|
33
|
+
showDegrees: z.ZodDefault<z.ZodBoolean>;
|
|
33
34
|
}, "strip", z.ZodTypeAny, {
|
|
34
35
|
type: "map" | "compass" | "image";
|
|
35
36
|
name: "ptzCompass";
|
|
@@ -49,6 +50,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
49
50
|
cameraPosX: number;
|
|
50
51
|
cameraPosY: number;
|
|
51
52
|
colorScheme: "black" | "white" | "orange";
|
|
53
|
+
showDegrees: boolean;
|
|
52
54
|
camera?: number | undefined;
|
|
53
55
|
schedule?: string | undefined;
|
|
54
56
|
invertInput?: boolean | undefined;
|
|
@@ -90,4 +92,5 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
90
92
|
generalIframeWidth?: number | undefined;
|
|
91
93
|
generalIframeHeight?: number | undefined;
|
|
92
94
|
generalAddress?: string | undefined;
|
|
95
|
+
showDegrees?: boolean | undefined;
|
|
93
96
|
}>;
|
|
@@ -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;
|