camstreamerlib 4.0.0-beta.55 → 4.0.0-beta.57
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/PlaneTrackerAPI.js +24 -5
- package/cjs/errors/errors.js +36 -1
- package/cjs/internal/WsEvents.js +4 -4
- package/cjs/types/CamOverlayAPI/serviceCommonTypes.js +1 -1
- package/cjs/types/CamScripterAPI.js +4 -3
- package/cjs/types/common.js +4 -2
- package/cjs/types/ws/PlaneTrackerEvents.js +77 -1
- package/cjs/ws/CamOverlayEvents.js +1 -1
- package/cjs/ws/CamStreamerEvents.js +1 -1
- package/cjs/ws/CamSwitcherEvents.js +1 -1
- package/cjs/ws/PlaneTrackerEvents.js +9 -1
- package/esm/PlaneTrackerAPI.js +25 -6
- package/esm/errors/errors.js +30 -0
- package/esm/internal/WsEvents.js +4 -4
- package/esm/types/CamOverlayAPI/serviceCommonTypes.js +1 -1
- package/esm/types/CamScripterAPI.js +4 -3
- package/esm/types/common.js +3 -1
- package/esm/types/ws/PlaneTrackerEvents.js +76 -0
- package/esm/ws/CamOverlayEvents.js +1 -1
- package/esm/ws/CamStreamerEvents.js +1 -1
- package/esm/ws/CamSwitcherEvents.js +1 -1
- package/esm/ws/PlaneTrackerEvents.js +10 -2
- package/package.json +1 -1
- package/types/CamScripterAPI.d.ts +3 -3
- package/types/CamSwitcherAPI.d.ts +5 -5
- package/types/PlaneTrackerAPI.d.ts +3 -9
- package/types/errors/errors.d.ts +15 -0
- package/types/internal/WsEvents.d.ts +7 -9
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +45 -45
- package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +2 -2
- package/types/types/CamOverlayAPI/imagesSchema.d.ts +2 -2
- 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 +4 -4
- package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +2 -2
- package/types/types/CamScripterAPI.d.ts +9 -9
- package/types/types/CamSwitcherAPI.d.ts +32 -32
- package/types/types/common.d.ts +2 -0
- package/types/types/ws/PlaneTrackerEvents.d.ts +560 -0
|
@@ -7,7 +7,7 @@ export declare const pipSchema: z.ZodObject<{
|
|
|
7
7
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
|
-
customName: z.ZodString
|
|
10
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
@@ -94,7 +94,6 @@ export declare const pipSchema: z.ZodObject<{
|
|
|
94
94
|
fps: number;
|
|
95
95
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
96
96
|
cameraList: number[];
|
|
97
|
-
customName: string;
|
|
98
97
|
pos_x: number;
|
|
99
98
|
pos_y: number;
|
|
100
99
|
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
@@ -120,6 +119,7 @@ export declare const pipSchema: z.ZodObject<{
|
|
|
120
119
|
camera?: number | undefined;
|
|
121
120
|
schedule?: string | undefined;
|
|
122
121
|
invertInput?: boolean | undefined;
|
|
122
|
+
customName?: string | undefined;
|
|
123
123
|
zIndex?: number | undefined;
|
|
124
124
|
rotate?: 0 | 90 | 180 | 270 | undefined;
|
|
125
125
|
}>;
|
|
@@ -7,7 +7,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
7
7
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
|
-
customName: z.ZodString
|
|
10
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
@@ -71,7 +71,6 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
71
71
|
height: number;
|
|
72
72
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
73
73
|
cameraList: number[];
|
|
74
|
-
customName: string;
|
|
75
74
|
pos_x: number;
|
|
76
75
|
pos_y: number;
|
|
77
76
|
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
@@ -84,6 +83,7 @@ export declare const ptzCompassSchema: z.ZodObject<{
|
|
|
84
83
|
camera?: number | undefined;
|
|
85
84
|
schedule?: string | undefined;
|
|
86
85
|
invertInput?: boolean | undefined;
|
|
86
|
+
customName?: string | undefined;
|
|
87
87
|
zIndex?: number | undefined;
|
|
88
88
|
generalLng?: number | undefined;
|
|
89
89
|
generalLat?: number | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const ptzSchema: z.ZodObject<{
|
|
|
7
7
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
|
-
customName: z.ZodString
|
|
10
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
@@ -98,7 +98,6 @@ export declare const ptzSchema: z.ZodObject<{
|
|
|
98
98
|
height: number;
|
|
99
99
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
100
100
|
cameraList: number[];
|
|
101
|
-
customName: string;
|
|
102
101
|
ptz_positions: Record<string, {
|
|
103
102
|
overlayList: {
|
|
104
103
|
duration: number;
|
|
@@ -114,5 +113,6 @@ export declare const ptzSchema: z.ZodObject<{
|
|
|
114
113
|
camera?: number | undefined;
|
|
115
114
|
schedule?: string | undefined;
|
|
116
115
|
invertInput?: boolean | undefined;
|
|
116
|
+
customName?: string | undefined;
|
|
117
117
|
zIndex?: number | undefined;
|
|
118
118
|
}>;
|
|
@@ -7,7 +7,7 @@ export declare const screenSharingSchema: z.ZodObject<{
|
|
|
7
7
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
|
-
customName: z.ZodString
|
|
10
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
@@ -46,7 +46,6 @@ export declare const screenSharingSchema: z.ZodObject<{
|
|
|
46
46
|
fps: number;
|
|
47
47
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
48
48
|
cameraList: number[];
|
|
49
|
-
customName: string;
|
|
50
49
|
pos_x: number;
|
|
51
50
|
pos_y: number;
|
|
52
51
|
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
@@ -54,5 +53,6 @@ export declare const screenSharingSchema: z.ZodObject<{
|
|
|
54
53
|
camera?: number | undefined;
|
|
55
54
|
schedule?: string | undefined;
|
|
56
55
|
invertInput?: boolean | undefined;
|
|
56
|
+
customName?: string | undefined;
|
|
57
57
|
zIndex?: number | undefined;
|
|
58
58
|
}>;
|
|
@@ -30,7 +30,7 @@ export declare const serviceCommonSchema: z.ZodObject<{
|
|
|
30
30
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
31
31
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
schedule: z.ZodOptional<z.ZodString>;
|
|
33
|
-
customName: z.ZodString
|
|
33
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
34
34
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
35
35
|
width: z.ZodNumber;
|
|
36
36
|
height: z.ZodNumber;
|
|
@@ -53,10 +53,10 @@ export declare const serviceCommonSchema: z.ZodObject<{
|
|
|
53
53
|
height: number;
|
|
54
54
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
55
55
|
cameraList: number[];
|
|
56
|
-
customName: string;
|
|
57
56
|
camera?: number | undefined;
|
|
58
57
|
schedule?: string | undefined;
|
|
59
58
|
invertInput?: boolean | undefined;
|
|
59
|
+
customName?: string | undefined;
|
|
60
60
|
zIndex?: number | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
export declare const sharingSchema: z.ZodObject<{
|
|
@@ -67,7 +67,7 @@ export declare const sharingSchema: z.ZodObject<{
|
|
|
67
67
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
68
68
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
schedule: z.ZodOptional<z.ZodString>;
|
|
70
|
-
customName: z.ZodString
|
|
70
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
71
71
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
width: z.ZodNumber;
|
|
73
73
|
height: z.ZodNumber;
|
|
@@ -102,7 +102,6 @@ export declare const sharingSchema: z.ZodObject<{
|
|
|
102
102
|
fps: number;
|
|
103
103
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
104
104
|
cameraList: number[];
|
|
105
|
-
customName: string;
|
|
106
105
|
pos_x: number;
|
|
107
106
|
pos_y: number;
|
|
108
107
|
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
@@ -110,6 +109,7 @@ export declare const sharingSchema: z.ZodObject<{
|
|
|
110
109
|
camera?: number | undefined;
|
|
111
110
|
schedule?: string | undefined;
|
|
112
111
|
invertInput?: boolean | undefined;
|
|
112
|
+
customName?: string | undefined;
|
|
113
113
|
zIndex?: number | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
export declare const overlaySchema: z.ZodObject<{
|
|
@@ -7,7 +7,7 @@ export declare const webCameraSharingSchema: z.ZodObject<{
|
|
|
7
7
|
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
|
-
customName: z.ZodString
|
|
10
|
+
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
@@ -46,7 +46,6 @@ export declare const webCameraSharingSchema: z.ZodObject<{
|
|
|
46
46
|
fps: number;
|
|
47
47
|
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
48
48
|
cameraList: number[];
|
|
49
|
-
customName: string;
|
|
50
49
|
pos_x: number;
|
|
51
50
|
pos_y: number;
|
|
52
51
|
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
@@ -54,5 +53,6 @@ export declare const webCameraSharingSchema: z.ZodObject<{
|
|
|
54
53
|
camera?: number | undefined;
|
|
55
54
|
schedule?: string | undefined;
|
|
56
55
|
invertInput?: boolean | undefined;
|
|
56
|
+
customName?: string | undefined;
|
|
57
57
|
zIndex?: number | undefined;
|
|
58
58
|
}>;
|
|
@@ -74,31 +74,31 @@ export type TServerPackageData = {
|
|
|
74
74
|
vendor: string;
|
|
75
75
|
};
|
|
76
76
|
export declare const cameraStorageSchema: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
77
|
-
type: z.ZodLiteral<"
|
|
77
|
+
type: z.ZodLiteral<"FLASH">;
|
|
78
78
|
capacity_mb: z.ZodNumber;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
type: "
|
|
80
|
+
type: "FLASH";
|
|
81
81
|
capacity_mb: number;
|
|
82
82
|
}, {
|
|
83
|
-
type: "
|
|
83
|
+
type: "FLASH";
|
|
84
84
|
capacity_mb: number;
|
|
85
85
|
}>, z.ZodObject<{
|
|
86
|
-
type: z.ZodLiteral<"
|
|
86
|
+
type: z.ZodLiteral<"SD_DISK">;
|
|
87
87
|
capacity_mb: z.ZodNumber;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
type: "
|
|
89
|
+
type: "SD_DISK";
|
|
90
90
|
capacity_mb: number;
|
|
91
91
|
}, {
|
|
92
|
-
type: "
|
|
92
|
+
type: "SD_DISK";
|
|
93
93
|
capacity_mb: number;
|
|
94
94
|
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
95
|
-
type: z.ZodLiteral<"
|
|
95
|
+
type: z.ZodLiteral<"FLASH">;
|
|
96
96
|
capacity_mb: z.ZodNumber;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
type: "
|
|
98
|
+
type: "FLASH";
|
|
99
99
|
capacity_mb: number;
|
|
100
100
|
}, {
|
|
101
|
-
type: "
|
|
101
|
+
type: "FLASH";
|
|
102
102
|
capacity_mb: number;
|
|
103
103
|
}>], null>]>;
|
|
104
104
|
export type TCameraStorage = z.infer<typeof cameraStorageSchema>;
|
|
@@ -9,12 +9,12 @@ export declare const storageInfoListSchema: z.ZodArray<z.ZodObject<{
|
|
|
9
9
|
size: z.ZodNumber;
|
|
10
10
|
available: z.ZodNumber;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
storage: "
|
|
12
|
+
storage: "FLASH" | "SD_DISK";
|
|
13
13
|
writable: boolean;
|
|
14
14
|
size: number;
|
|
15
15
|
available: number;
|
|
16
16
|
}, {
|
|
17
|
-
storage: "
|
|
17
|
+
storage: "FLASH" | "SD_DISK";
|
|
18
18
|
writable: boolean;
|
|
19
19
|
size: number;
|
|
20
20
|
available: number;
|
|
@@ -192,12 +192,12 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
192
192
|
tracker_name: z.ZodOptional<z.ZodString>;
|
|
193
193
|
storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
storage?: "
|
|
195
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
196
196
|
stream_name?: string | undefined;
|
|
197
197
|
clip_name?: string | undefined;
|
|
198
198
|
tracker_name?: string | undefined;
|
|
199
199
|
}, {
|
|
200
|
-
storage?: "
|
|
200
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
201
201
|
stream_name?: string | undefined;
|
|
202
202
|
clip_name?: string | undefined;
|
|
203
203
|
tracker_name?: string | undefined;
|
|
@@ -208,12 +208,12 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
208
208
|
tracker_name: z.ZodOptional<z.ZodString>;
|
|
209
209
|
storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
storage?: "
|
|
211
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
212
212
|
stream_name?: string | undefined;
|
|
213
213
|
clip_name?: string | undefined;
|
|
214
214
|
tracker_name?: string | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
storage?: "
|
|
216
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
217
217
|
stream_name?: string | undefined;
|
|
218
218
|
clip_name?: string | undefined;
|
|
219
219
|
tracker_name?: string | undefined;
|
|
@@ -221,7 +221,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
repeat: number;
|
|
223
223
|
video: {
|
|
224
|
-
storage?: "
|
|
224
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
225
225
|
stream_name?: string | undefined;
|
|
226
226
|
clip_name?: string | undefined;
|
|
227
227
|
tracker_name?: string | undefined;
|
|
@@ -231,7 +231,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
231
231
|
ptz_preset_pos_name: string;
|
|
232
232
|
timeout: number;
|
|
233
233
|
audio?: {
|
|
234
|
-
storage?: "
|
|
234
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
235
235
|
stream_name?: string | undefined;
|
|
236
236
|
clip_name?: string | undefined;
|
|
237
237
|
tracker_name?: string | undefined;
|
|
@@ -239,7 +239,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
239
239
|
}, {
|
|
240
240
|
repeat: number;
|
|
241
241
|
video: {
|
|
242
|
-
storage?: "
|
|
242
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
243
243
|
stream_name?: string | undefined;
|
|
244
244
|
clip_name?: string | undefined;
|
|
245
245
|
tracker_name?: string | undefined;
|
|
@@ -249,7 +249,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
249
249
|
ptz_preset_pos_name: string;
|
|
250
250
|
timeout: number;
|
|
251
251
|
audio?: {
|
|
252
|
-
storage?: "
|
|
252
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
253
253
|
stream_name?: string | undefined;
|
|
254
254
|
clip_name?: string | undefined;
|
|
255
255
|
tracker_name?: string | undefined;
|
|
@@ -264,7 +264,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
264
264
|
stream_list: {
|
|
265
265
|
repeat: number;
|
|
266
266
|
video: {
|
|
267
|
-
storage?: "
|
|
267
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
268
268
|
stream_name?: string | undefined;
|
|
269
269
|
clip_name?: string | undefined;
|
|
270
270
|
tracker_name?: string | undefined;
|
|
@@ -274,7 +274,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
274
274
|
ptz_preset_pos_name: string;
|
|
275
275
|
timeout: number;
|
|
276
276
|
audio?: {
|
|
277
|
-
storage?: "
|
|
277
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
278
278
|
stream_name?: string | undefined;
|
|
279
279
|
clip_name?: string | undefined;
|
|
280
280
|
tracker_name?: string | undefined;
|
|
@@ -292,7 +292,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
292
292
|
stream_list: {
|
|
293
293
|
repeat: number;
|
|
294
294
|
video: {
|
|
295
|
-
storage?: "
|
|
295
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
296
296
|
stream_name?: string | undefined;
|
|
297
297
|
clip_name?: string | undefined;
|
|
298
298
|
tracker_name?: string | undefined;
|
|
@@ -302,7 +302,7 @@ declare const playlistSaveSchema: z.ZodObject<{
|
|
|
302
302
|
ptz_preset_pos_name: string;
|
|
303
303
|
timeout: number;
|
|
304
304
|
audio?: {
|
|
305
|
-
storage?: "
|
|
305
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
306
306
|
stream_name?: string | undefined;
|
|
307
307
|
clip_name?: string | undefined;
|
|
308
308
|
tracker_name?: string | undefined;
|
|
@@ -335,12 +335,12 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
335
335
|
tracker_name: z.ZodOptional<z.ZodString>;
|
|
336
336
|
storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
storage?: "
|
|
338
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
339
339
|
stream_name?: string | undefined;
|
|
340
340
|
clip_name?: string | undefined;
|
|
341
341
|
tracker_name?: string | undefined;
|
|
342
342
|
}, {
|
|
343
|
-
storage?: "
|
|
343
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
344
344
|
stream_name?: string | undefined;
|
|
345
345
|
clip_name?: string | undefined;
|
|
346
346
|
tracker_name?: string | undefined;
|
|
@@ -351,12 +351,12 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
351
351
|
tracker_name: z.ZodOptional<z.ZodString>;
|
|
352
352
|
storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
storage?: "
|
|
354
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
355
355
|
stream_name?: string | undefined;
|
|
356
356
|
clip_name?: string | undefined;
|
|
357
357
|
tracker_name?: string | undefined;
|
|
358
358
|
}, {
|
|
359
|
-
storage?: "
|
|
359
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
360
360
|
stream_name?: string | undefined;
|
|
361
361
|
clip_name?: string | undefined;
|
|
362
362
|
tracker_name?: string | undefined;
|
|
@@ -364,7 +364,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
repeat: number;
|
|
366
366
|
video: {
|
|
367
|
-
storage?: "
|
|
367
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
368
368
|
stream_name?: string | undefined;
|
|
369
369
|
clip_name?: string | undefined;
|
|
370
370
|
tracker_name?: string | undefined;
|
|
@@ -374,7 +374,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
374
374
|
ptz_preset_pos_name: string;
|
|
375
375
|
timeout: number;
|
|
376
376
|
audio?: {
|
|
377
|
-
storage?: "
|
|
377
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
378
378
|
stream_name?: string | undefined;
|
|
379
379
|
clip_name?: string | undefined;
|
|
380
380
|
tracker_name?: string | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
382
382
|
}, {
|
|
383
383
|
repeat: number;
|
|
384
384
|
video: {
|
|
385
|
-
storage?: "
|
|
385
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
386
386
|
stream_name?: string | undefined;
|
|
387
387
|
clip_name?: string | undefined;
|
|
388
388
|
tracker_name?: string | undefined;
|
|
@@ -392,7 +392,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
392
392
|
ptz_preset_pos_name: string;
|
|
393
393
|
timeout: number;
|
|
394
394
|
audio?: {
|
|
395
|
-
storage?: "
|
|
395
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
396
396
|
stream_name?: string | undefined;
|
|
397
397
|
clip_name?: string | undefined;
|
|
398
398
|
tracker_name?: string | undefined;
|
|
@@ -410,7 +410,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
410
410
|
stream_list?: {
|
|
411
411
|
repeat: number;
|
|
412
412
|
video: {
|
|
413
|
-
storage?: "
|
|
413
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
414
414
|
stream_name?: string | undefined;
|
|
415
415
|
clip_name?: string | undefined;
|
|
416
416
|
tracker_name?: string | undefined;
|
|
@@ -420,7 +420,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
420
420
|
ptz_preset_pos_name: string;
|
|
421
421
|
timeout: number;
|
|
422
422
|
audio?: {
|
|
423
|
-
storage?: "
|
|
423
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
424
424
|
stream_name?: string | undefined;
|
|
425
425
|
clip_name?: string | undefined;
|
|
426
426
|
tracker_name?: string | undefined;
|
|
@@ -438,7 +438,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
438
438
|
stream_list?: {
|
|
439
439
|
repeat: number;
|
|
440
440
|
video: {
|
|
441
|
-
storage?: "
|
|
441
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
442
442
|
stream_name?: string | undefined;
|
|
443
443
|
clip_name?: string | undefined;
|
|
444
444
|
tracker_name?: string | undefined;
|
|
@@ -448,7 +448,7 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
448
448
|
ptz_preset_pos_name: string;
|
|
449
449
|
timeout: number;
|
|
450
450
|
audio?: {
|
|
451
|
-
storage?: "
|
|
451
|
+
storage?: "FLASH" | "SD_DISK" | undefined;
|
|
452
452
|
stream_name?: string | undefined;
|
|
453
453
|
clip_name?: string | undefined;
|
|
454
454
|
tracker_name?: string | undefined;
|
|
@@ -694,7 +694,7 @@ export declare const clipListSchema: z.ZodObject<{
|
|
|
694
694
|
channel_count: 1 | 2;
|
|
695
695
|
}>]>, "many">;
|
|
696
696
|
}, "strip", z.ZodTypeAny, {
|
|
697
|
-
storage: "
|
|
697
|
+
storage: "FLASH" | "SD_DISK";
|
|
698
698
|
stream_list: ({
|
|
699
699
|
type: "video";
|
|
700
700
|
width: number;
|
|
@@ -712,7 +712,7 @@ export declare const clipListSchema: z.ZodObject<{
|
|
|
712
712
|
})[];
|
|
713
713
|
duration: number;
|
|
714
714
|
}, {
|
|
715
|
-
storage: "
|
|
715
|
+
storage: "FLASH" | "SD_DISK";
|
|
716
716
|
stream_list: ({
|
|
717
717
|
type: "video";
|
|
718
718
|
width: number;
|
|
@@ -732,7 +732,7 @@ export declare const clipListSchema: z.ZodObject<{
|
|
|
732
732
|
}>>;
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
734
|
clip_list: Record<string, {
|
|
735
|
-
storage: "
|
|
735
|
+
storage: "FLASH" | "SD_DISK";
|
|
736
736
|
stream_list: ({
|
|
737
737
|
type: "video";
|
|
738
738
|
width: number;
|
|
@@ -752,7 +752,7 @@ export declare const clipListSchema: z.ZodObject<{
|
|
|
752
752
|
}>;
|
|
753
753
|
}, {
|
|
754
754
|
clip_list: Record<string, {
|
|
755
|
-
storage: "
|
|
755
|
+
storage: "FLASH" | "SD_DISK";
|
|
756
756
|
stream_list: ({
|
|
757
757
|
type: "video";
|
|
758
758
|
width: number;
|
|
@@ -876,14 +876,14 @@ export declare const secondaryAudioSettingsSchema: z.ZodObject<{
|
|
|
876
876
|
masterAudioLevel: z.ZodNumber;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
878
|
type: "CLIP" | "STREAM" | "NONE";
|
|
879
|
-
storage: "
|
|
879
|
+
storage: "FLASH" | "SD_DISK";
|
|
880
880
|
secondaryAudioLevel: number;
|
|
881
881
|
masterAudioLevel: number;
|
|
882
882
|
streamName?: string | undefined;
|
|
883
883
|
clipName?: string | undefined;
|
|
884
884
|
}, {
|
|
885
885
|
type: "CLIP" | "STREAM" | "NONE";
|
|
886
|
-
storage: "
|
|
886
|
+
storage: "FLASH" | "SD_DISK";
|
|
887
887
|
secondaryAudioLevel: number;
|
|
888
888
|
masterAudioLevel: number;
|
|
889
889
|
streamName?: string | undefined;
|
package/types/types/common.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export declare const audioChannelCountSchema: z.ZodUnion<[z.ZodLiteral<1>, z.Zod
|
|
|
5
5
|
export type TAudioChannelCount = z.infer<typeof audioChannelCountSchema>;
|
|
6
6
|
export declare const h264ProfileSchema: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>;
|
|
7
7
|
export type TH264Profile = z.infer<typeof h264ProfileSchema>;
|
|
8
|
+
export declare const flashStorageTypeSchema: z.ZodLiteral<"FLASH">;
|
|
9
|
+
export declare const sdCardStorageTypeSchema: z.ZodLiteral<"SD_DISK">;
|
|
8
10
|
export declare const storageTypeSchema: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
|
|
9
11
|
export type TStorageType = z.infer<typeof storageTypeSchema>;
|
|
10
12
|
export declare const networkCameraListSchema: z.ZodArray<z.ZodObject<{
|