camstreamerlib 4.0.36 → 5.0.0-54e362c
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/README.md +21 -2
- package/cjs/CamOverlayAPI.d.ts +223 -208
- package/cjs/CamStreamerAPI.d.ts +330 -311
- package/cjs/CamStreamerAPI.js +1 -1
- package/cjs/CamSwitcherAPI.d.ts +31 -30
- package/cjs/CamSwitcherAPI.js +2 -0
- package/cjs/PlaneTrackerAPI.d.ts +103 -40
- package/cjs/VapixAPI.d.ts +31 -17
- package/cjs/VapixAPI.js +1 -1
- package/cjs/errors/errors.d.ts +1 -1
- package/cjs/errors/errors.js +2 -2
- package/cjs/internal/versionCompare.d.ts +2 -2
- package/cjs/node/events/AxisCameraStationEvents.js +2 -1
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
- package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
- package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
- package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
- package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
- package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
- package/cjs/types/CamScripterAPI.d.ts +11 -81
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/cjs/types/CamSwitcherAPI.d.ts +75 -700
- package/cjs/types/CamSwitcherAPI.js +1 -0
- package/cjs/types/GenetecAgent.d.ts +12 -132
- package/cjs/types/MilestoneAgent.d.ts +4 -46
- package/cjs/types/PlaneTrackerAPI.d.ts +266 -1188
- package/cjs/types/PlaneTrackerAPI.js +16 -6
- package/cjs/types/PlaneTrackerAPI.test.js +27 -0
- package/cjs/types/VapixAPI.d.ts +129 -1653
- package/cjs/types/VapixAPI.js +1 -1
- package/cjs/types/common.d.ts +11 -35
- package/cjs/types/common.js +1 -1
- package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
- package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
- package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
- package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
- package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
- package/esm/CamStreamerAPI.js +1 -1
- package/esm/CamSwitcherAPI.js +2 -0
- package/esm/VapixAPI.js +1 -1
- package/esm/errors/errors.js +2 -2
- package/esm/node/events/AxisCameraStationEvents.js +2 -1
- package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
- package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
- package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/esm/types/CamSwitcherAPI.js +1 -0
- package/esm/types/PlaneTrackerAPI.js +16 -6
- package/esm/types/PlaneTrackerAPI.test.js +27 -0
- package/esm/types/VapixAPI.js +1 -1
- package/esm/types/common.js +1 -1
- package/esm/types/ws/PlaneTrackerEvents.js +1 -1
- package/package.json +107 -107
- package/types/CamOverlayAPI.d.ts +223 -208
- package/types/CamStreamerAPI.d.ts +330 -311
- package/types/CamSwitcherAPI.d.ts +31 -30
- package/types/PlaneTrackerAPI.d.ts +103 -40
- package/types/VapixAPI.d.ts +31 -17
- package/types/errors/errors.d.ts +1 -1
- package/types/internal/versionCompare.d.ts +2 -2
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
- package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
- package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
- package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
- package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
- package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
- package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
- package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
- package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
- package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
- package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
- package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
- package/types/types/CamScripterAPI.d.ts +11 -81
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
- package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
- package/types/types/CamSwitcherAPI.d.ts +75 -700
- package/types/types/GenetecAgent.d.ts +12 -132
- package/types/types/MilestoneAgent.d.ts +4 -46
- package/types/types/PlaneTrackerAPI.d.ts +266 -1188
- package/types/types/VapixAPI.d.ts +129 -1653
- package/types/types/common.d.ts +11 -35
- package/types/types/ws/CamOverlayEvents.d.ts +9 -69
- package/types/types/ws/CamStreamerEvents.d.ts +19 -217
- package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
- package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
|
@@ -103,12 +103,12 @@ const getStorageResponseSchema = (fileType) => {
|
|
|
103
103
|
exports.getStorageResponseSchema = getStorageResponseSchema;
|
|
104
104
|
exports.imageFileSchema = zod_1.z.object({
|
|
105
105
|
name: zod_1.z.string(),
|
|
106
|
-
path: zod_1.z.
|
|
106
|
+
path: zod_1.z.url(),
|
|
107
107
|
storage: exports.imageFileStorageTypeSchema,
|
|
108
108
|
});
|
|
109
109
|
exports.fontFileSchema = zod_1.z.object({
|
|
110
110
|
name: zod_1.z.string(),
|
|
111
|
-
path: zod_1.z.
|
|
111
|
+
path: zod_1.z.url(),
|
|
112
112
|
storage: exports.fontFileStorageTypeSchema,
|
|
113
113
|
});
|
|
114
114
|
const getFileSchema = (fileType) => {
|
|
@@ -1,84 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const accuweatherSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
|
-
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
5
|
-
automationType: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.
|
|
4
|
+
enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
5
|
+
automationType: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodCustom<`input${number}`, `input${number}`>]>>;
|
|
6
6
|
invertInput: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber
|
|
7
|
+
cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
8
8
|
camera: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
schedule: z.ZodOptional<z.ZodString>;
|
|
10
10
|
customName: z.ZodDefault<z.ZodString>;
|
|
11
11
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
width: z.ZodNumber;
|
|
13
13
|
height: z.ZodNumber;
|
|
14
|
-
} & {
|
|
15
14
|
name: z.ZodLiteral<"accuweather">;
|
|
16
15
|
location: z.ZodString;
|
|
17
16
|
locationName: z.ZodString;
|
|
18
17
|
title: z.ZodString;
|
|
19
|
-
bgStartColor: z.ZodUnion<[z.ZodLiteral<"237,143,73,0.93">, z.ZodLiteral<"0,0,0,0.75">, z.ZodLiteral<"31,32,73,0.9">, z.ZodLiteral<"76,94,127,0.95">]>;
|
|
20
|
-
bgEndColor: z.ZodUnion<[z.ZodLiteral<"234,181,89,0.93">, z.ZodLiteral<"0,0,0,0.75">, z.ZodLiteral<"73,96,213,0.9">, z.ZodLiteral<"140,150,168,0.95">]>;
|
|
21
|
-
clockType: z.ZodUnion<[z.ZodLiteral<"12h">, z.ZodLiteral<"24h">]>;
|
|
22
|
-
lang: 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">]>;
|
|
23
|
-
font: z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodLiteral<"digital">, z.
|
|
24
|
-
units: z.ZodUnion<[z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
|
|
18
|
+
bgStartColor: z.ZodUnion<readonly [z.ZodLiteral<"237,143,73,0.93">, z.ZodLiteral<"0,0,0,0.75">, z.ZodLiteral<"31,32,73,0.9">, z.ZodLiteral<"76,94,127,0.95">]>;
|
|
19
|
+
bgEndColor: z.ZodUnion<readonly [z.ZodLiteral<"234,181,89,0.93">, z.ZodLiteral<"0,0,0,0.75">, z.ZodLiteral<"73,96,213,0.9">, z.ZodLiteral<"140,150,168,0.95">]>;
|
|
20
|
+
clockType: z.ZodUnion<readonly [z.ZodLiteral<"12h">, z.ZodLiteral<"24h">]>;
|
|
21
|
+
lang: z.ZodUnion<readonly [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">]>;
|
|
22
|
+
font: z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodLiteral<"digital">, z.ZodCustom<string, string>]>;
|
|
23
|
+
units: z.ZodUnion<readonly [z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
|
|
25
24
|
pos_x: z.ZodNumber;
|
|
26
25
|
pos_y: z.ZodNumber;
|
|
27
|
-
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">]>;
|
|
28
|
-
layout: z.ZodUnion<[z.ZodLiteral<"0">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"6">, z.ZodLiteral<"7">, z.ZodLiteral<"8">, z.ZodLiteral<"9">, z.ZodLiteral<"10">, z.ZodLiteral<"11">, z.ZodLiteral<"12">, z.ZodLiteral<"13">]>;
|
|
26
|
+
coordSystem: z.ZodUnion<readonly [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">]>;
|
|
27
|
+
layout: z.ZodUnion<readonly [z.ZodLiteral<"0">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"6">, z.ZodLiteral<"7">, z.ZodLiteral<"8">, z.ZodLiteral<"9">, z.ZodLiteral<"10">, z.ZodLiteral<"11">, z.ZodLiteral<"12">, z.ZodLiteral<"13">]>;
|
|
29
28
|
scale: z.ZodNumber;
|
|
30
|
-
},
|
|
31
|
-
name: "accuweather";
|
|
32
|
-
enabled: 0 | 1;
|
|
33
|
-
title: string;
|
|
34
|
-
locationName: string;
|
|
35
|
-
id: number;
|
|
36
|
-
automationType: "manual" | "schedule" | "time" | `input${number}`;
|
|
37
|
-
cameraList: number[];
|
|
38
|
-
customName: string;
|
|
39
|
-
width: number;
|
|
40
|
-
height: number;
|
|
41
|
-
pos_x: number;
|
|
42
|
-
pos_y: number;
|
|
43
|
-
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
44
|
-
scale: number;
|
|
45
|
-
clockType: "12h" | "24h";
|
|
46
|
-
font: string;
|
|
47
|
-
location: string;
|
|
48
|
-
bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
|
|
49
|
-
bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
|
|
50
|
-
lang: "en-us" | "fr-fr" | "ja-jp" | "pt-pt" | "es-es" | "de-de" | "ko-kr" | "zh-hk" | "zh-cn" | "nl-nl" | "cs-cz" | "ru-ru" | "sv-se";
|
|
51
|
-
units: "Metric" | "Imperial";
|
|
52
|
-
layout: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13";
|
|
53
|
-
camera?: number | undefined;
|
|
54
|
-
schedule?: string | undefined;
|
|
55
|
-
invertInput?: boolean | undefined;
|
|
56
|
-
zIndex?: number | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
name: "accuweather";
|
|
59
|
-
enabled: 0 | 1;
|
|
60
|
-
title: string;
|
|
61
|
-
locationName: string;
|
|
62
|
-
id: number;
|
|
63
|
-
width: number;
|
|
64
|
-
height: number;
|
|
65
|
-
pos_x: number;
|
|
66
|
-
pos_y: number;
|
|
67
|
-
coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
|
|
68
|
-
scale: number;
|
|
69
|
-
clockType: "12h" | "24h";
|
|
70
|
-
font: string;
|
|
71
|
-
location: string;
|
|
72
|
-
bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
|
|
73
|
-
bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
|
|
74
|
-
lang: "en-us" | "fr-fr" | "ja-jp" | "pt-pt" | "es-es" | "de-de" | "ko-kr" | "zh-hk" | "zh-cn" | "nl-nl" | "cs-cz" | "ru-ru" | "sv-se";
|
|
75
|
-
units: "Metric" | "Imperial";
|
|
76
|
-
layout: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13";
|
|
77
|
-
camera?: number | undefined;
|
|
78
|
-
schedule?: string | undefined;
|
|
79
|
-
automationType?: "manual" | "schedule" | "time" | `input${number}` | undefined;
|
|
80
|
-
invertInput?: boolean | undefined;
|
|
81
|
-
cameraList?: number[] | undefined;
|
|
82
|
-
customName?: string | undefined;
|
|
83
|
-
zIndex?: number | undefined;
|
|
84
|
-
}>;
|
|
29
|
+
}, z.core.$strip>;
|