camstreamerlib 4.0.0-beta.76 → 4.0.0-beta.78
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/CamOverlayAPI.d.ts +22 -22
- package/cjs/CamStreamerAPI.d.ts +47 -49
- package/cjs/CamStreamerAPI.js +36 -23
- package/cjs/PlaneTrackerAPI.d.ts +1 -3
- package/cjs/PlaneTrackerAPI.js +0 -7
- package/cjs/errors/errors.d.ts +7 -0
- package/cjs/errors/errors.js +12 -1
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +81 -81
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +4 -4
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +2 -2
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +199 -0
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +48 -0
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/facebookSchema.js +11 -0
- package/cjs/types/CamStreamerAPI/hlsSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/hlsSchema.js +11 -0
- package/cjs/types/CamStreamerAPI/index.d.ts +9 -0
- package/cjs/types/CamStreamerAPI/index.js +25 -0
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +11 -0
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +137 -0
- package/cjs/types/{CamStreamerAPI.js → CamStreamerAPI/oldStreamSchema.js} +3 -12
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +11 -0
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/sdCardSchema.js +11 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +20 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +19 -0
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/windySchema.js +11 -0
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +21 -0
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +11 -0
- package/cjs/types/common.d.ts +1 -0
- package/cjs/types/common.js +2 -1
- package/cjs/types/ws/PlaneTrackerEvents.d.ts +3 -69
- package/cjs/types/ws/PlaneTrackerEvents.js +0 -11
- package/esm/CamStreamerAPI.js +37 -24
- package/esm/PlaneTrackerAPI.js +1 -8
- package/esm/errors/errors.js +10 -0
- package/esm/types/CamStreamerAPI/CamStreamerAPI.js +38 -0
- package/esm/types/CamStreamerAPI/facebookSchema.js +5 -0
- package/esm/types/CamStreamerAPI/hlsSchema.js +5 -0
- package/esm/types/CamStreamerAPI/index.js +9 -0
- package/esm/types/CamStreamerAPI/mpegDvbSchema.js +5 -0
- package/esm/types/{CamStreamerAPI.js → CamStreamerAPI/oldStreamSchema.js} +2 -11
- package/esm/types/CamStreamerAPI/rtmpSchema.js +5 -0
- package/esm/types/CamStreamerAPI/sdCardSchema.js +5 -0
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +16 -0
- package/esm/types/CamStreamerAPI/windySchema.js +5 -0
- package/esm/types/CamStreamerAPI/youtubeSchema.js +5 -0
- package/esm/types/common.js +1 -0
- package/esm/types/ws/PlaneTrackerEvents.js +0 -11
- package/package.json +1 -1
- package/types/CamOverlayAPI.d.ts +22 -22
- package/types/CamStreamerAPI.d.ts +47 -49
- package/types/PlaneTrackerAPI.d.ts +1 -3
- package/types/errors/errors.d.ts +7 -0
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +81 -81
- package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +4 -4
- package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/infotickerSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/pipSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/ptzSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +6 -6
- package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +2 -2
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +199 -0
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/hlsSchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/index.d.ts +9 -0
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +137 -0
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +20 -0
- package/types/types/CamStreamerAPI/windySchema.d.ts +21 -0
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +21 -0
- package/types/types/common.d.ts +1 -0
- package/types/types/ws/PlaneTrackerEvents.d.ts +3 -69
- package/cjs/types/CamStreamerAPI.d.ts +0 -272
- package/types/types/CamStreamerAPI.d.ts +0 -272
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const oldStringStreamSchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodString;
|
|
4
|
+
active: z.ZodString;
|
|
5
|
+
audioSource: z.ZodString;
|
|
6
|
+
avSyncMsec: z.ZodString;
|
|
7
|
+
internalVapixParameters: z.ZodString;
|
|
8
|
+
userVapixParameters: z.ZodString;
|
|
9
|
+
outputParameters: z.ZodString;
|
|
10
|
+
outputType: z.ZodString;
|
|
11
|
+
mediaServerUrl: z.ZodString;
|
|
12
|
+
inputType: z.ZodString;
|
|
13
|
+
inputUrl: z.ZodString;
|
|
14
|
+
forceStereo: z.ZodString;
|
|
15
|
+
streamDelay: z.ZodString;
|
|
16
|
+
statusLed: z.ZodString;
|
|
17
|
+
statusPort: z.ZodString;
|
|
18
|
+
callApi: z.ZodString;
|
|
19
|
+
trigger: z.ZodString;
|
|
20
|
+
schedule: z.ZodString;
|
|
21
|
+
prepareAhead: z.ZodString;
|
|
22
|
+
startTime: z.ZodString;
|
|
23
|
+
stopTime: z.ZodString;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
enabled: string;
|
|
26
|
+
active: string;
|
|
27
|
+
audioSource: string;
|
|
28
|
+
avSyncMsec: string;
|
|
29
|
+
internalVapixParameters: string;
|
|
30
|
+
userVapixParameters: string;
|
|
31
|
+
outputParameters: string;
|
|
32
|
+
outputType: string;
|
|
33
|
+
mediaServerUrl: string;
|
|
34
|
+
inputType: string;
|
|
35
|
+
inputUrl: string;
|
|
36
|
+
forceStereo: string;
|
|
37
|
+
streamDelay: string;
|
|
38
|
+
statusLed: string;
|
|
39
|
+
statusPort: string;
|
|
40
|
+
callApi: string;
|
|
41
|
+
trigger: string;
|
|
42
|
+
schedule: string;
|
|
43
|
+
prepareAhead: string;
|
|
44
|
+
startTime: string;
|
|
45
|
+
stopTime: string;
|
|
46
|
+
}, {
|
|
47
|
+
enabled: string;
|
|
48
|
+
active: string;
|
|
49
|
+
audioSource: string;
|
|
50
|
+
avSyncMsec: string;
|
|
51
|
+
internalVapixParameters: string;
|
|
52
|
+
userVapixParameters: string;
|
|
53
|
+
outputParameters: string;
|
|
54
|
+
outputType: string;
|
|
55
|
+
mediaServerUrl: string;
|
|
56
|
+
inputType: string;
|
|
57
|
+
inputUrl: string;
|
|
58
|
+
forceStereo: string;
|
|
59
|
+
streamDelay: string;
|
|
60
|
+
statusLed: string;
|
|
61
|
+
statusPort: string;
|
|
62
|
+
callApi: string;
|
|
63
|
+
trigger: string;
|
|
64
|
+
schedule: string;
|
|
65
|
+
prepareAhead: string;
|
|
66
|
+
startTime: string;
|
|
67
|
+
stopTime: string;
|
|
68
|
+
}>;
|
|
69
|
+
export type TOldStringStream = z.infer<typeof oldStringStreamSchema>;
|
|
70
|
+
export declare const oldStreamSchema: z.ZodObject<{
|
|
71
|
+
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
72
|
+
active: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
73
|
+
audioSource: z.ZodString;
|
|
74
|
+
avSyncMsec: z.ZodNumber;
|
|
75
|
+
internalVapixParameters: z.ZodString;
|
|
76
|
+
userVapixParameters: z.ZodString;
|
|
77
|
+
outputParameters: z.ZodString;
|
|
78
|
+
outputType: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">, z.ZodLiteral<"none">]>;
|
|
79
|
+
mediaServerUrl: z.ZodString;
|
|
80
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
81
|
+
inputUrl: z.ZodString;
|
|
82
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
83
|
+
streamDelay: z.ZodNullable<z.ZodNumber>;
|
|
84
|
+
statusLed: z.ZodNumber;
|
|
85
|
+
statusPort: z.ZodString;
|
|
86
|
+
callApi: z.ZodNumber;
|
|
87
|
+
trigger: z.ZodString;
|
|
88
|
+
schedule: z.ZodString;
|
|
89
|
+
prepareAhead: z.ZodNumber;
|
|
90
|
+
startTime: z.ZodNullable<z.ZodNumber>;
|
|
91
|
+
stopTime: z.ZodNullable<z.ZodNumber>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
enabled: 0 | 1;
|
|
94
|
+
active: 0 | 1;
|
|
95
|
+
audioSource: string;
|
|
96
|
+
avSyncMsec: number;
|
|
97
|
+
internalVapixParameters: string;
|
|
98
|
+
userVapixParameters: string;
|
|
99
|
+
outputParameters: string;
|
|
100
|
+
outputType: "video" | "none" | "images";
|
|
101
|
+
mediaServerUrl: string;
|
|
102
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
103
|
+
inputUrl: string;
|
|
104
|
+
forceStereo: 0 | 1;
|
|
105
|
+
streamDelay: number | null;
|
|
106
|
+
statusLed: number;
|
|
107
|
+
statusPort: string;
|
|
108
|
+
callApi: number;
|
|
109
|
+
trigger: string;
|
|
110
|
+
schedule: string;
|
|
111
|
+
prepareAhead: number;
|
|
112
|
+
startTime: number | null;
|
|
113
|
+
stopTime: number | null;
|
|
114
|
+
}, {
|
|
115
|
+
enabled: 0 | 1;
|
|
116
|
+
active: 0 | 1;
|
|
117
|
+
audioSource: string;
|
|
118
|
+
avSyncMsec: number;
|
|
119
|
+
internalVapixParameters: string;
|
|
120
|
+
userVapixParameters: string;
|
|
121
|
+
outputParameters: string;
|
|
122
|
+
outputType: "video" | "none" | "images";
|
|
123
|
+
mediaServerUrl: string;
|
|
124
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
125
|
+
inputUrl: string;
|
|
126
|
+
forceStereo: 0 | 1;
|
|
127
|
+
streamDelay: number | null;
|
|
128
|
+
statusLed: number;
|
|
129
|
+
statusPort: string;
|
|
130
|
+
callApi: number;
|
|
131
|
+
trigger: string;
|
|
132
|
+
schedule: string;
|
|
133
|
+
prepareAhead: number;
|
|
134
|
+
startTime: number | null;
|
|
135
|
+
stopTime: number | null;
|
|
136
|
+
}>;
|
|
137
|
+
export type TOldStream = z.infer<typeof oldStreamSchema>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const rtmpSchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodBoolean;
|
|
4
|
+
active: z.ZodBoolean;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
order: z.ZodNumber;
|
|
7
|
+
} & {
|
|
8
|
+
type: z.ZodLiteral<"rtmp">;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
type: "rtmp";
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
title: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}, {
|
|
16
|
+
type: "rtmp";
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const sdCardSchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodBoolean;
|
|
4
|
+
active: z.ZodBoolean;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
order: z.ZodNumber;
|
|
7
|
+
} & {
|
|
8
|
+
type: z.ZodLiteral<"sd_card">;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
type: "sd_card";
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
title: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}, {
|
|
16
|
+
type: "sd_card";
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const streamTypeSchema: z.ZodUnion<[z.ZodLiteral<"youtube">, z.ZodLiteral<"facebook">, z.ZodLiteral<"sd_card">, z.ZodLiteral<"windy">, z.ZodLiteral<"mpeg_dvb">, z.ZodLiteral<"hls">, z.ZodLiteral<"rtmp">]>;
|
|
3
|
+
export type TStreamType = z.infer<typeof streamTypeSchema>;
|
|
4
|
+
export declare const streamCommonSchema: z.ZodObject<{
|
|
5
|
+
enabled: z.ZodBoolean;
|
|
6
|
+
active: z.ZodBoolean;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
order: z.ZodNumber;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
active: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
order: number;
|
|
14
|
+
}, {
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
active: boolean;
|
|
17
|
+
title: string;
|
|
18
|
+
order: number;
|
|
19
|
+
}>;
|
|
20
|
+
export type TCommonStream = z.infer<typeof streamCommonSchema>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const windySchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodBoolean;
|
|
4
|
+
active: z.ZodBoolean;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
order: z.ZodNumber;
|
|
7
|
+
} & {
|
|
8
|
+
type: z.ZodLiteral<"windy">;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
type: "windy";
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
title: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}, {
|
|
16
|
+
type: "windy";
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const youtubeSchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodBoolean;
|
|
4
|
+
active: z.ZodBoolean;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
order: z.ZodNumber;
|
|
7
|
+
} & {
|
|
8
|
+
type: z.ZodLiteral<"youtube">;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
type: "youtube";
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
title: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}, {
|
|
16
|
+
type: "youtube";
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
package/types/types/common.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const booleanSchema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
2
3
|
export declare const audioChannelSchema: z.ZodUnion<[z.ZodLiteral<"mono">, z.ZodLiteral<"stereo">]>;
|
|
3
4
|
export type TAudioChannel = z.infer<typeof audioChannelSchema>;
|
|
4
5
|
export declare const audioChannelCountSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
@@ -11,7 +11,6 @@ declare const apiFlightDataSchema: z.ZodObject<{
|
|
|
11
11
|
whiteListed: z.ZodBoolean;
|
|
12
12
|
blackListed: z.ZodBoolean;
|
|
13
13
|
priorityListed: z.ZodBoolean;
|
|
14
|
-
typePriorityListed: z.ZodDefault<z.ZodBoolean>;
|
|
15
14
|
autoSelectionIgnored: z.ZodBoolean;
|
|
16
15
|
signalQuality: z.ZodNumber;
|
|
17
16
|
emitterCategorySet: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30,7 +29,6 @@ declare const apiFlightDataSchema: z.ZodObject<{
|
|
|
30
29
|
whiteListed: boolean;
|
|
31
30
|
blackListed: boolean;
|
|
32
31
|
priorityListed: boolean;
|
|
33
|
-
typePriorityListed: boolean;
|
|
34
32
|
autoSelectionIgnored: boolean;
|
|
35
33
|
signalQuality: number;
|
|
36
34
|
emitterCategorySet: number;
|
|
@@ -53,7 +51,6 @@ declare const apiFlightDataSchema: z.ZodObject<{
|
|
|
53
51
|
signalQuality: number;
|
|
54
52
|
emergencyState: boolean;
|
|
55
53
|
emergencyStatusMessage: string;
|
|
56
|
-
typePriorityListed?: boolean | undefined;
|
|
57
54
|
emitterCategorySet?: number | undefined;
|
|
58
55
|
emitterCategory?: number | undefined;
|
|
59
56
|
}>;
|
|
@@ -99,7 +96,6 @@ export declare enum PlaneTrackerUserActions {
|
|
|
99
96
|
TRACK_ICAO = "trackIcao.cgi",
|
|
100
97
|
RESET_ICAO = "resetIcao.cgi",
|
|
101
98
|
SET_PRIORITY_LIST = "setPriorityList.cgi",
|
|
102
|
-
SET_TYPE_PRIORITY_LIST = "setTypePriorityList.cgi",
|
|
103
99
|
SET_BLACK_LIST = "setBlackList.cgi",
|
|
104
100
|
SET_WHITE_LIST = "setWhiteList.cgi",
|
|
105
101
|
GO_TO_COORDINATES = "goToCoordinates.cgi",
|
|
@@ -224,51 +220,6 @@ export declare const planeTrackerUserActionData: z.ZodDiscriminatedUnion<"cgi",
|
|
|
224
220
|
postJsonBody: {
|
|
225
221
|
priorityList: string[];
|
|
226
222
|
};
|
|
227
|
-
}>, z.ZodObject<{
|
|
228
|
-
cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST>;
|
|
229
|
-
ip: z.ZodString;
|
|
230
|
-
params: z.ZodObject<{
|
|
231
|
-
userId: z.ZodString;
|
|
232
|
-
userName: z.ZodString;
|
|
233
|
-
userPriority: z.ZodString;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
userId: string;
|
|
236
|
-
userName: string;
|
|
237
|
-
userPriority: string;
|
|
238
|
-
}, {
|
|
239
|
-
userId: string;
|
|
240
|
-
userName: string;
|
|
241
|
-
userPriority: string;
|
|
242
|
-
}>;
|
|
243
|
-
postJsonBody: z.ZodObject<{
|
|
244
|
-
typePriorityList: z.ZodArray<z.ZodString, "many">;
|
|
245
|
-
}, "strip", z.ZodTypeAny, {
|
|
246
|
-
typePriorityList: string[];
|
|
247
|
-
}, {
|
|
248
|
-
typePriorityList: string[];
|
|
249
|
-
}>;
|
|
250
|
-
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
params: {
|
|
252
|
-
userId: string;
|
|
253
|
-
userName: string;
|
|
254
|
-
userPriority: string;
|
|
255
|
-
};
|
|
256
|
-
ip: string;
|
|
257
|
-
cgi: PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST;
|
|
258
|
-
postJsonBody: {
|
|
259
|
-
typePriorityList: string[];
|
|
260
|
-
};
|
|
261
|
-
}, {
|
|
262
|
-
params: {
|
|
263
|
-
userId: string;
|
|
264
|
-
userName: string;
|
|
265
|
-
userPriority: string;
|
|
266
|
-
};
|
|
267
|
-
ip: string;
|
|
268
|
-
cgi: PlaneTrackerUserActions.SET_TYPE_PRIORITY_LIST;
|
|
269
|
-
postJsonBody: {
|
|
270
|
-
typePriorityList: string[];
|
|
271
|
-
};
|
|
272
223
|
}>, z.ZodObject<{
|
|
273
224
|
cgi: z.ZodLiteral<PlaneTrackerUserActions.SET_BLACK_LIST>;
|
|
274
225
|
ip: z.ZodString;
|
|
@@ -760,7 +711,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
760
711
|
whiteListed: z.ZodBoolean;
|
|
761
712
|
blackListed: z.ZodBoolean;
|
|
762
713
|
priorityListed: z.ZodBoolean;
|
|
763
|
-
typePriorityListed: z.ZodDefault<z.ZodBoolean>;
|
|
764
714
|
autoSelectionIgnored: z.ZodBoolean;
|
|
765
715
|
signalQuality: z.ZodNumber;
|
|
766
716
|
emitterCategorySet: z.ZodDefault<z.ZodNumber>;
|
|
@@ -779,7 +729,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
779
729
|
whiteListed: boolean;
|
|
780
730
|
blackListed: boolean;
|
|
781
731
|
priorityListed: boolean;
|
|
782
|
-
typePriorityListed: boolean;
|
|
783
732
|
autoSelectionIgnored: boolean;
|
|
784
733
|
signalQuality: number;
|
|
785
734
|
emitterCategorySet: number;
|
|
@@ -802,7 +751,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
802
751
|
signalQuality: number;
|
|
803
752
|
emergencyState: boolean;
|
|
804
753
|
emergencyStatusMessage: string;
|
|
805
|
-
typePriorityListed?: boolean | undefined;
|
|
806
754
|
emitterCategorySet?: number | undefined;
|
|
807
755
|
emitterCategory?: number | undefined;
|
|
808
756
|
}>, "many">;
|
|
@@ -820,7 +768,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
820
768
|
whiteListed: boolean;
|
|
821
769
|
blackListed: boolean;
|
|
822
770
|
priorityListed: boolean;
|
|
823
|
-
typePriorityListed: boolean;
|
|
824
771
|
autoSelectionIgnored: boolean;
|
|
825
772
|
signalQuality: number;
|
|
826
773
|
emitterCategorySet: number;
|
|
@@ -846,7 +793,6 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
846
793
|
signalQuality: number;
|
|
847
794
|
emergencyState: boolean;
|
|
848
795
|
emergencyStatusMessage: string;
|
|
849
|
-
typePriorityListed?: boolean | undefined;
|
|
850
796
|
emitterCategorySet?: number | undefined;
|
|
851
797
|
emitterCategory?: number | undefined;
|
|
852
798
|
}[];
|
|
@@ -876,7 +822,7 @@ declare const ptrEventsDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
876
822
|
lat?: string | undefined;
|
|
877
823
|
lon?: string | undefined;
|
|
878
824
|
}>;
|
|
879
|
-
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.
|
|
825
|
+
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]>;
|
|
880
826
|
postJsonBody: z.ZodAny;
|
|
881
827
|
}, "strip", z.ZodTypeAny, {
|
|
882
828
|
params: {
|
|
@@ -1040,7 +986,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1040
986
|
whiteListed: z.ZodBoolean;
|
|
1041
987
|
blackListed: z.ZodBoolean;
|
|
1042
988
|
priorityListed: z.ZodBoolean;
|
|
1043
|
-
typePriorityListed: z.ZodDefault<z.ZodBoolean>;
|
|
1044
989
|
autoSelectionIgnored: z.ZodBoolean;
|
|
1045
990
|
signalQuality: z.ZodNumber;
|
|
1046
991
|
emitterCategorySet: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1059,7 +1004,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1059
1004
|
whiteListed: boolean;
|
|
1060
1005
|
blackListed: boolean;
|
|
1061
1006
|
priorityListed: boolean;
|
|
1062
|
-
typePriorityListed: boolean;
|
|
1063
1007
|
autoSelectionIgnored: boolean;
|
|
1064
1008
|
signalQuality: number;
|
|
1065
1009
|
emitterCategorySet: number;
|
|
@@ -1082,7 +1026,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1082
1026
|
signalQuality: number;
|
|
1083
1027
|
emergencyState: boolean;
|
|
1084
1028
|
emergencyStatusMessage: string;
|
|
1085
|
-
typePriorityListed?: boolean | undefined;
|
|
1086
1029
|
emitterCategorySet?: number | undefined;
|
|
1087
1030
|
emitterCategory?: number | undefined;
|
|
1088
1031
|
}>, "many">;
|
|
@@ -1100,7 +1043,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1100
1043
|
whiteListed: boolean;
|
|
1101
1044
|
blackListed: boolean;
|
|
1102
1045
|
priorityListed: boolean;
|
|
1103
|
-
typePriorityListed: boolean;
|
|
1104
1046
|
autoSelectionIgnored: boolean;
|
|
1105
1047
|
signalQuality: number;
|
|
1106
1048
|
emitterCategorySet: number;
|
|
@@ -1126,7 +1068,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1126
1068
|
signalQuality: number;
|
|
1127
1069
|
emergencyState: boolean;
|
|
1128
1070
|
emergencyStatusMessage: string;
|
|
1129
|
-
typePriorityListed?: boolean | undefined;
|
|
1130
1071
|
emitterCategorySet?: number | undefined;
|
|
1131
1072
|
emitterCategory?: number | undefined;
|
|
1132
1073
|
}[];
|
|
@@ -1156,7 +1097,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1156
1097
|
lat?: string | undefined;
|
|
1157
1098
|
lon?: string | undefined;
|
|
1158
1099
|
}>;
|
|
1159
|
-
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.
|
|
1100
|
+
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]>;
|
|
1160
1101
|
postJsonBody: z.ZodAny;
|
|
1161
1102
|
}, "strip", z.ZodTypeAny, {
|
|
1162
1103
|
params: {
|
|
@@ -1296,7 +1237,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1296
1237
|
whiteListed: boolean;
|
|
1297
1238
|
blackListed: boolean;
|
|
1298
1239
|
priorityListed: boolean;
|
|
1299
|
-
typePriorityListed: boolean;
|
|
1300
1240
|
autoSelectionIgnored: boolean;
|
|
1301
1241
|
signalQuality: number;
|
|
1302
1242
|
emitterCategorySet: number;
|
|
@@ -1371,7 +1311,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1371
1311
|
signalQuality: number;
|
|
1372
1312
|
emergencyState: boolean;
|
|
1373
1313
|
emergencyStatusMessage: string;
|
|
1374
|
-
typePriorityListed?: boolean | undefined;
|
|
1375
1314
|
emitterCategorySet?: number | undefined;
|
|
1376
1315
|
emitterCategory?: number | undefined;
|
|
1377
1316
|
}[];
|
|
@@ -1460,7 +1399,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1460
1399
|
whiteListed: z.ZodBoolean;
|
|
1461
1400
|
blackListed: z.ZodBoolean;
|
|
1462
1401
|
priorityListed: z.ZodBoolean;
|
|
1463
|
-
typePriorityListed: z.ZodDefault<z.ZodBoolean>;
|
|
1464
1402
|
autoSelectionIgnored: z.ZodBoolean;
|
|
1465
1403
|
signalQuality: z.ZodNumber;
|
|
1466
1404
|
emitterCategorySet: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1479,7 +1417,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1479
1417
|
whiteListed: boolean;
|
|
1480
1418
|
blackListed: boolean;
|
|
1481
1419
|
priorityListed: boolean;
|
|
1482
|
-
typePriorityListed: boolean;
|
|
1483
1420
|
autoSelectionIgnored: boolean;
|
|
1484
1421
|
signalQuality: number;
|
|
1485
1422
|
emitterCategorySet: number;
|
|
@@ -1502,7 +1439,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1502
1439
|
signalQuality: number;
|
|
1503
1440
|
emergencyState: boolean;
|
|
1504
1441
|
emergencyStatusMessage: string;
|
|
1505
|
-
typePriorityListed?: boolean | undefined;
|
|
1506
1442
|
emitterCategorySet?: number | undefined;
|
|
1507
1443
|
emitterCategory?: number | undefined;
|
|
1508
1444
|
}>, "many">;
|
|
@@ -1520,7 +1456,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1520
1456
|
whiteListed: boolean;
|
|
1521
1457
|
blackListed: boolean;
|
|
1522
1458
|
priorityListed: boolean;
|
|
1523
|
-
typePriorityListed: boolean;
|
|
1524
1459
|
autoSelectionIgnored: boolean;
|
|
1525
1460
|
signalQuality: number;
|
|
1526
1461
|
emitterCategorySet: number;
|
|
@@ -1546,7 +1481,6 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1546
1481
|
signalQuality: number;
|
|
1547
1482
|
emergencyState: boolean;
|
|
1548
1483
|
emergencyStatusMessage: string;
|
|
1549
|
-
typePriorityListed?: boolean | undefined;
|
|
1550
1484
|
emitterCategorySet?: number | undefined;
|
|
1551
1485
|
emitterCategory?: number | undefined;
|
|
1552
1486
|
}[];
|
|
@@ -1576,7 +1510,7 @@ export declare const ptrEventsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
1576
1510
|
lat?: string | undefined;
|
|
1577
1511
|
lon?: string | undefined;
|
|
1578
1512
|
}>;
|
|
1579
|
-
cgi: z.ZodEnum<[PlaneTrackerUserActions.TRACK_ICAO, PlaneTrackerUserActions.RESET_ICAO, PlaneTrackerUserActions.SET_PRIORITY_LIST, PlaneTrackerUserActions.
|
|
1513
|
+
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]>;
|
|
1580
1514
|
postJsonBody: z.ZodAny;
|
|
1581
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1582
1516
|
params: {
|