camstreamerlib 4.0.0-beta.31 → 4.0.0-beta.32
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 +1 -13
- package/cjs/CamOverlayAPI.js +2 -13
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -1
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +35 -82
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
- package/cjs/types/CamOverlayAPI/accuweatherSchema.js +8 -11
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.js +6 -9
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
- package/cjs/types/CamOverlayAPI/imagesSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/index.d.ts +2 -0
- package/cjs/types/CamOverlayAPI/index.js +2 -0
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
- package/cjs/types/CamOverlayAPI/infotickerSchema.js +7 -10
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +5 -46
- package/cjs/types/CamOverlayAPI/pipSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
- package/cjs/types/CamOverlayAPI/ptzSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
- package/cjs/types/CamOverlayAPI/screenSharingSchema.js +4 -7
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.js +4 -7
- package/cjs/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
- package/cjs/types/CamOverlayAPI/widgetCommonTypes.js +87 -0
- package/cjs/types/CamStreamerAPI.d.ts +4 -4
- package/esm/CamOverlayAPI.d.ts +1 -13
- package/esm/CamOverlayAPI.js +1 -12
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
- package/esm/types/CamOverlayAPI/CamOverlayAPI.js +17 -73
- package/esm/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
- package/esm/types/CamOverlayAPI/accuweatherSchema.js +1 -3
- package/esm/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
- package/esm/types/CamOverlayAPI/customGraphicsSchema.js +1 -3
- package/esm/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
- package/esm/types/CamOverlayAPI/imagesSchema.js +1 -3
- package/esm/types/CamOverlayAPI/index.d.ts +2 -0
- package/esm/types/CamOverlayAPI/index.js +2 -0
- package/esm/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
- package/esm/types/CamOverlayAPI/infotickerSchema.js +1 -3
- package/esm/types/CamOverlayAPI/pipSchema.d.ts +5 -46
- package/esm/types/CamOverlayAPI/pipSchema.js +1 -3
- package/esm/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -3
- package/esm/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
- package/esm/types/CamOverlayAPI/ptzSchema.js +1 -3
- package/esm/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
- package/esm/types/CamOverlayAPI/screenSharingSchema.js +1 -3
- package/esm/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
- package/esm/types/CamOverlayAPI/webCameraSharingSchema.js +1 -3
- package/esm/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
- package/esm/types/CamOverlayAPI/widgetCommonTypes.js +84 -0
- package/esm/types/CamStreamerAPI.d.ts +4 -4
- package/package.json +2 -2
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const allowedWidgetNames: {
|
|
3
|
+
readonly accuweather: "accuweather";
|
|
4
|
+
readonly infoticker: "infoticker";
|
|
5
|
+
readonly customGraphics: "customGraphics";
|
|
6
|
+
readonly ptzCompass: "ptzCompass";
|
|
7
|
+
readonly images: "images";
|
|
8
|
+
readonly ptz: "ptz";
|
|
9
|
+
readonly pip: "pip";
|
|
10
|
+
readonly screenSharing: "screenSharing";
|
|
11
|
+
readonly web_camera: "web_camera";
|
|
12
|
+
};
|
|
13
|
+
export declare const coordinateSystemSchema: z.ZodUnion<[z.ZodLiteral<"top_left">, z.ZodLiteral<"top">, z.ZodLiteral<"top_right">, z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">, z.ZodLiteral<"bottom_left">, z.ZodLiteral<"bottom">, z.ZodLiteral<"bottom_right">]>;
|
|
14
|
+
export type TCoordinates = z.infer<typeof coordinateSystemSchema> | '';
|
|
15
|
+
export declare const languageSchema: z.ZodUnion<[z.ZodLiteral<"en-us">, z.ZodLiteral<"fr-fr">, z.ZodLiteral<"ja-jp">, z.ZodLiteral<"pt-pt">, z.ZodLiteral<"es-es">, z.ZodLiteral<"de-de">, z.ZodLiteral<"ko-kr">, z.ZodLiteral<"zh-hk">, z.ZodLiteral<"zh-cn">, z.ZodLiteral<"nl-nl">, z.ZodLiteral<"cs-cz">, z.ZodLiteral<"ru-ru">, z.ZodLiteral<"sv-se">]>;
|
|
16
|
+
export type TLanguage = z.infer<typeof languageSchema>;
|
|
17
|
+
export declare const fontSchema: z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodLiteral<"digital">, z.ZodType<string, z.ZodTypeDef, string>]>;
|
|
18
|
+
export type TFont = z.infer<typeof fontSchema>;
|
|
19
|
+
export declare const weatherUnitSchema: z.ZodUnion<[z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
|
|
20
|
+
export type TWeatherUnit = z.infer<typeof weatherUnitSchema>;
|
|
21
|
+
export declare const widgetCommonSchema: z.ZodObject<{
|
|
22
|
+
id: z.ZodNumber;
|
|
23
|
+
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
24
|
+
automationType: z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>;
|
|
25
|
+
invertInput: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
27
|
+
camera: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
29
|
+
customName: z.ZodString;
|
|
30
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
width: z.ZodNumber;
|
|
32
|
+
height: z.ZodNumber;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
enabled: 0 | 1;
|
|
35
|
+
id: number;
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
39
|
+
cameraList: number[];
|
|
40
|
+
customName: string;
|
|
41
|
+
camera?: number | undefined;
|
|
42
|
+
schedule?: string | undefined;
|
|
43
|
+
invertInput?: boolean | undefined;
|
|
44
|
+
zIndex?: number | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
enabled: 0 | 1;
|
|
47
|
+
id: number;
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
51
|
+
cameraList: number[];
|
|
52
|
+
customName: string;
|
|
53
|
+
camera?: number | undefined;
|
|
54
|
+
schedule?: string | undefined;
|
|
55
|
+
invertInput?: boolean | undefined;
|
|
56
|
+
zIndex?: number | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const sharingSchema: z.ZodObject<{
|
|
59
|
+
id: z.ZodNumber;
|
|
60
|
+
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
61
|
+
automationType: z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>;
|
|
62
|
+
invertInput: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
cameraList: z.ZodArray<z.ZodNumber, "many">;
|
|
64
|
+
camera: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
66
|
+
customName: z.ZodString;
|
|
67
|
+
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
width: z.ZodNumber;
|
|
69
|
+
height: z.ZodNumber;
|
|
70
|
+
} & {
|
|
71
|
+
pos_x: z.ZodNumber;
|
|
72
|
+
pos_y: z.ZodNumber;
|
|
73
|
+
coordSystem: z.ZodUnion<[z.ZodLiteral<"top_left">, z.ZodLiteral<"top">, z.ZodLiteral<"top_right">, z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">, z.ZodLiteral<"bottom_left">, z.ZodLiteral<"bottom">, z.ZodLiteral<"bottom_right">]>;
|
|
74
|
+
screenSize: z.ZodNumber;
|
|
75
|
+
fps: z.ZodNumber;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
enabled: 0 | 1;
|
|
78
|
+
id: number;
|
|
79
|
+
width: number;
|
|
80
|
+
height: number;
|
|
81
|
+
fps: number;
|
|
82
|
+
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
83
|
+
cameraList: number[];
|
|
84
|
+
customName: string;
|
|
85
|
+
pos_x: number;
|
|
86
|
+
pos_y: number;
|
|
87
|
+
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
88
|
+
screenSize: number;
|
|
89
|
+
camera?: number | undefined;
|
|
90
|
+
schedule?: string | undefined;
|
|
91
|
+
invertInput?: boolean | undefined;
|
|
92
|
+
zIndex?: number | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
enabled: 0 | 1;
|
|
95
|
+
id: number;
|
|
96
|
+
width: number;
|
|
97
|
+
height: number;
|
|
98
|
+
fps: number;
|
|
99
|
+
automationType: "time" | "manual" | "schedule" | `input${number}`;
|
|
100
|
+
cameraList: number[];
|
|
101
|
+
customName: string;
|
|
102
|
+
pos_x: number;
|
|
103
|
+
pos_y: number;
|
|
104
|
+
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
105
|
+
screenSize: number;
|
|
106
|
+
camera?: number | undefined;
|
|
107
|
+
schedule?: string | undefined;
|
|
108
|
+
invertInput?: boolean | undefined;
|
|
109
|
+
zIndex?: number | undefined;
|
|
110
|
+
}>;
|
|
111
|
+
export declare const overlaySchema: z.ZodObject<{
|
|
112
|
+
active: z.ZodBoolean;
|
|
113
|
+
coordSystem: z.ZodUnion<[z.ZodLiteral<"top_left">, z.ZodLiteral<"top">, z.ZodLiteral<"top_right">, z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">, z.ZodLiteral<"bottom_left">, z.ZodLiteral<"bottom">, z.ZodLiteral<"bottom_right">]>;
|
|
114
|
+
pos_x: z.ZodNumber;
|
|
115
|
+
pos_y: z.ZodNumber;
|
|
116
|
+
imgPath: z.ZodString;
|
|
117
|
+
imgName: z.ZodString;
|
|
118
|
+
duration: z.ZodNumber;
|
|
119
|
+
scale: z.ZodNumber;
|
|
120
|
+
fps: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
duration: number;
|
|
123
|
+
pos_x: number;
|
|
124
|
+
pos_y: number;
|
|
125
|
+
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
126
|
+
active: boolean;
|
|
127
|
+
imgPath: string;
|
|
128
|
+
imgName: string;
|
|
129
|
+
scale: number;
|
|
130
|
+
fps?: number | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
duration: number;
|
|
133
|
+
pos_x: number;
|
|
134
|
+
pos_y: number;
|
|
135
|
+
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
136
|
+
active: boolean;
|
|
137
|
+
imgPath: string;
|
|
138
|
+
imgName: string;
|
|
139
|
+
scale: number;
|
|
140
|
+
fps?: number | undefined;
|
|
141
|
+
}>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.overlaySchema = exports.sharingSchema = exports.widgetCommonSchema = exports.weatherUnitSchema = exports.fontSchema = exports.languageSchema = exports.coordinateSystemSchema = exports.allowedWidgetNames = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.allowedWidgetNames = {
|
|
6
|
+
accuweather: 'accuweather',
|
|
7
|
+
infoticker: 'infoticker',
|
|
8
|
+
customGraphics: 'customGraphics',
|
|
9
|
+
ptzCompass: 'ptzCompass',
|
|
10
|
+
images: 'images',
|
|
11
|
+
ptz: 'ptz',
|
|
12
|
+
pip: 'pip',
|
|
13
|
+
screenSharing: 'screenSharing',
|
|
14
|
+
web_camera: 'web_camera',
|
|
15
|
+
};
|
|
16
|
+
exports.coordinateSystemSchema = zod_1.z.union([
|
|
17
|
+
zod_1.z.literal('top_left'),
|
|
18
|
+
zod_1.z.literal('top'),
|
|
19
|
+
zod_1.z.literal('top_right'),
|
|
20
|
+
zod_1.z.literal('left'),
|
|
21
|
+
zod_1.z.literal('center'),
|
|
22
|
+
zod_1.z.literal('right'),
|
|
23
|
+
zod_1.z.literal('bottom_left'),
|
|
24
|
+
zod_1.z.literal('bottom'),
|
|
25
|
+
zod_1.z.literal('bottom_right'),
|
|
26
|
+
]);
|
|
27
|
+
exports.languageSchema = zod_1.z.union([
|
|
28
|
+
zod_1.z.literal('en-us'),
|
|
29
|
+
zod_1.z.literal('fr-fr'),
|
|
30
|
+
zod_1.z.literal('ja-jp'),
|
|
31
|
+
zod_1.z.literal('pt-pt'),
|
|
32
|
+
zod_1.z.literal('es-es'),
|
|
33
|
+
zod_1.z.literal('de-de'),
|
|
34
|
+
zod_1.z.literal('ko-kr'),
|
|
35
|
+
zod_1.z.literal('zh-hk'),
|
|
36
|
+
zod_1.z.literal('zh-cn'),
|
|
37
|
+
zod_1.z.literal('nl-nl'),
|
|
38
|
+
zod_1.z.literal('cs-cz'),
|
|
39
|
+
zod_1.z.literal('ru-ru'),
|
|
40
|
+
zod_1.z.literal('sv-se'),
|
|
41
|
+
]);
|
|
42
|
+
exports.fontSchema = zod_1.z.union([
|
|
43
|
+
zod_1.z.literal('classic'),
|
|
44
|
+
zod_1.z.literal('digital'),
|
|
45
|
+
zod_1.z.custom((val) => {
|
|
46
|
+
return typeof val === 'string';
|
|
47
|
+
}),
|
|
48
|
+
]);
|
|
49
|
+
exports.weatherUnitSchema = zod_1.z.union([zod_1.z.literal('Metric'), zod_1.z.literal('Imperial')]);
|
|
50
|
+
exports.widgetCommonSchema = zod_1.z.object({
|
|
51
|
+
id: zod_1.z.number().nonnegative(),
|
|
52
|
+
enabled: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
|
|
53
|
+
automationType: zod_1.z.union([
|
|
54
|
+
zod_1.z.literal('time'),
|
|
55
|
+
zod_1.z.literal('manual'),
|
|
56
|
+
zod_1.z.literal('schedule'),
|
|
57
|
+
zod_1.z.custom((val) => {
|
|
58
|
+
return typeof val === 'string' ? /^input\d+$/.test(val) : false;
|
|
59
|
+
}),
|
|
60
|
+
]),
|
|
61
|
+
invertInput: zod_1.z.boolean().optional(),
|
|
62
|
+
cameraList: zod_1.z.array(zod_1.z.number()),
|
|
63
|
+
camera: zod_1.z.number().nonnegative().optional(),
|
|
64
|
+
schedule: zod_1.z.string().optional(),
|
|
65
|
+
customName: zod_1.z.string(),
|
|
66
|
+
zIndex: zod_1.z.number().optional(),
|
|
67
|
+
width: zod_1.z.number().nonnegative(),
|
|
68
|
+
height: zod_1.z.number().nonnegative(),
|
|
69
|
+
});
|
|
70
|
+
exports.sharingSchema = exports.widgetCommonSchema.extend({
|
|
71
|
+
pos_x: zod_1.z.number().nonnegative(),
|
|
72
|
+
pos_y: zod_1.z.number().nonnegative(),
|
|
73
|
+
coordSystem: exports.coordinateSystemSchema,
|
|
74
|
+
screenSize: zod_1.z.number().positive(),
|
|
75
|
+
fps: zod_1.z.number(),
|
|
76
|
+
});
|
|
77
|
+
exports.overlaySchema = zod_1.z.object({
|
|
78
|
+
active: zod_1.z.boolean(),
|
|
79
|
+
coordSystem: exports.coordinateSystemSchema,
|
|
80
|
+
pos_x: zod_1.z.number(),
|
|
81
|
+
pos_y: zod_1.z.number(),
|
|
82
|
+
imgPath: zod_1.z.string(),
|
|
83
|
+
imgName: zod_1.z.string(),
|
|
84
|
+
duration: zod_1.z.number(),
|
|
85
|
+
scale: zod_1.z.number(),
|
|
86
|
+
fps: zod_1.z.number().optional(),
|
|
87
|
+
});
|
|
@@ -25,8 +25,8 @@ export declare const streamAttributesSchema: z.ZodObject<{
|
|
|
25
25
|
stopTime: z.ZodString;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
enabled: string;
|
|
28
|
-
active: string;
|
|
29
28
|
schedule: string;
|
|
29
|
+
active: string;
|
|
30
30
|
audioSource: string;
|
|
31
31
|
avSyncMsec: string;
|
|
32
32
|
internalVapixParameters: string;
|
|
@@ -47,8 +47,8 @@ export declare const streamAttributesSchema: z.ZodObject<{
|
|
|
47
47
|
stopTime: string;
|
|
48
48
|
}, {
|
|
49
49
|
enabled: string;
|
|
50
|
-
active: string;
|
|
51
50
|
schedule: string;
|
|
51
|
+
active: string;
|
|
52
52
|
audioSource: string;
|
|
53
53
|
avSyncMsec: string;
|
|
54
54
|
internalVapixParameters: string;
|
|
@@ -93,8 +93,8 @@ export declare const streamListSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
93
93
|
stopTime: z.ZodString;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
enabled: string;
|
|
96
|
-
active: string;
|
|
97
96
|
schedule: string;
|
|
97
|
+
active: string;
|
|
98
98
|
audioSource: string;
|
|
99
99
|
avSyncMsec: string;
|
|
100
100
|
internalVapixParameters: string;
|
|
@@ -115,8 +115,8 @@ export declare const streamListSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
115
115
|
stopTime: string;
|
|
116
116
|
}, {
|
|
117
117
|
enabled: string;
|
|
118
|
-
active: string;
|
|
119
118
|
schedule: string;
|
|
119
|
+
active: string;
|
|
120
120
|
audioSource: string;
|
|
121
121
|
avSyncMsec: string;
|
|
122
122
|
internalVapixParameters: string;
|
package/esm/CamOverlayAPI.d.ts
CHANGED
|
@@ -3,19 +3,7 @@
|
|
|
3
3
|
import { IClient, TBlobResponse, TResponse } from './internal/types';
|
|
4
4
|
import { THttpRequestOptions, TProxyParams, TNetworkCamera } from './types/common';
|
|
5
5
|
import { ProxyClient } from './internal/ProxyClient';
|
|
6
|
-
import { ImageType, TCoordinates, TFile, TFileList, TFileType, TStorage, TStorageDataList, TWidget } from './types/CamOverlayAPI
|
|
7
|
-
import { TField } from './types/CamOverlayAPI';
|
|
8
|
-
export declare const allowedWidgetNames: {
|
|
9
|
-
readonly accuweather: "accuweather";
|
|
10
|
-
readonly infoticker: "infoticker";
|
|
11
|
-
readonly customGraphics: "customGraphics";
|
|
12
|
-
readonly ptzCompass: "ptzCompass";
|
|
13
|
-
readonly images: "images";
|
|
14
|
-
readonly ptz: "ptz";
|
|
15
|
-
readonly pip: "pip";
|
|
16
|
-
readonly screenSharing: "screenSharing";
|
|
17
|
-
readonly web_camera: "web_camera";
|
|
18
|
-
};
|
|
6
|
+
import { ImageType, TCoordinates, TField, TFile, TFileList, TFileType, TStorage, TStorageDataList, TWidget } from './types/CamOverlayAPI';
|
|
19
7
|
export declare class CamOverlayAPI<Client extends IClient<TResponse> = IClient<TResponse>> {
|
|
20
8
|
private client;
|
|
21
9
|
constructor(client: Client);
|
package/esm/CamOverlayAPI.js
CHANGED
|
@@ -3,18 +3,7 @@ import { ParsingBlobError, ServiceNotFoundError } from './errors/errors';
|
|
|
3
3
|
import { networkCameraListSchema } from './types/common';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { ProxyClient } from './internal/ProxyClient';
|
|
6
|
-
import { fileListSchema, ImageType, storageDataListSchema, widgetsSchema, WSResponseSchema, } from './types/CamOverlayAPI
|
|
7
|
-
export const allowedWidgetNames = {
|
|
8
|
-
accuweather: 'accuweather',
|
|
9
|
-
infoticker: 'infoticker',
|
|
10
|
-
customGraphics: 'customGraphics',
|
|
11
|
-
ptzCompass: 'ptzCompass',
|
|
12
|
-
images: 'images',
|
|
13
|
-
ptz: 'ptz',
|
|
14
|
-
pip: 'pip',
|
|
15
|
-
screenSharing: 'screenSharing',
|
|
16
|
-
web_camera: 'web_camera',
|
|
17
|
-
};
|
|
6
|
+
import { fileListSchema, ImageType, storageDataListSchema, widgetsSchema, WSResponseSchema, } from './types/CamOverlayAPI';
|
|
18
7
|
const BASE_PATH = '/local/camoverlay/api';
|
|
19
8
|
export class CamOverlayAPI {
|
|
20
9
|
client;
|
package/esm/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export * from './types/CamSwitcherEvents';
|
|
|
14
14
|
export * from './types/CamSwitcherAPI';
|
|
15
15
|
export * from './types/VapixAPI';
|
|
16
16
|
export * from './types/CamOverlayAPI';
|
|
17
|
-
export * from './types/CamOverlayAPI/CamOverlayAPI';
|
|
18
17
|
export * from './types/PlaneTrackerAPI';
|
|
19
18
|
export { Frame } from './CamOverlayPainter/Frame';
|
|
20
19
|
export { Painter } from './CamOverlayPainter/Painter';
|
package/esm/index.js
CHANGED
|
@@ -14,7 +14,6 @@ export * from './types/CamSwitcherEvents';
|
|
|
14
14
|
export * from './types/CamSwitcherAPI';
|
|
15
15
|
export * from './types/VapixAPI';
|
|
16
16
|
export * from './types/CamOverlayAPI';
|
|
17
|
-
export * from './types/CamOverlayAPI/CamOverlayAPI';
|
|
18
17
|
export * from './types/PlaneTrackerAPI';
|
|
19
18
|
export { Frame } from './CamOverlayPainter/Frame';
|
|
20
19
|
export { Painter } from './CamOverlayPainter/Painter';
|