camstreamerlib 4.0.37 → 5.0.0-5bbcf7f

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.
Files changed (98) hide show
  1. package/README.md +21 -2
  2. package/cjs/CamOverlayAPI.d.ts +223 -208
  3. package/cjs/CamStreamerAPI.d.ts +330 -311
  4. package/cjs/CamStreamerAPI.js +1 -1
  5. package/cjs/CamSwitcherAPI.d.ts +30 -30
  6. package/cjs/PlaneTrackerAPI.d.ts +101 -41
  7. package/cjs/VapixAPI.d.ts +31 -17
  8. package/cjs/VapixAPI.js +1 -1
  9. package/cjs/internal/versionCompare.d.ts +2 -2
  10. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  11. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  12. package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  13. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  14. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  15. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  16. package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  17. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  18. package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  19. package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
  20. package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  21. package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  22. package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  23. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  24. package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  25. package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  26. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  27. package/cjs/types/CamScripterAPI.d.ts +11 -81
  28. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  29. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  30. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  31. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  32. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  33. package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
  34. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  35. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
  36. package/cjs/types/CamSwitcherAPI.d.ts +74 -700
  37. package/cjs/types/GenetecAgent.d.ts +12 -132
  38. package/cjs/types/MilestoneAgent.d.ts +4 -46
  39. package/cjs/types/PlaneTrackerAPI.d.ts +265 -1205
  40. package/cjs/types/PlaneTrackerAPI.js +5 -5
  41. package/cjs/types/VapixAPI.d.ts +129 -1653
  42. package/cjs/types/VapixAPI.js +1 -1
  43. package/cjs/types/common.d.ts +11 -35
  44. package/cjs/types/common.js +1 -1
  45. package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
  46. package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
  47. package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
  48. package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
  49. package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
  50. package/esm/CamStreamerAPI.js +1 -1
  51. package/esm/VapixAPI.js +1 -1
  52. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  53. package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  54. package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
  55. package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  56. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
  57. package/esm/types/PlaneTrackerAPI.js +5 -5
  58. package/esm/types/VapixAPI.js +1 -1
  59. package/esm/types/common.js +1 -1
  60. package/esm/types/ws/PlaneTrackerEvents.js +1 -1
  61. package/package.json +107 -107
  62. package/types/CamOverlayAPI.d.ts +223 -208
  63. package/types/CamStreamerAPI.d.ts +330 -311
  64. package/types/CamSwitcherAPI.d.ts +30 -30
  65. package/types/PlaneTrackerAPI.d.ts +101 -41
  66. package/types/VapixAPI.d.ts +31 -17
  67. package/types/internal/versionCompare.d.ts +2 -2
  68. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  69. package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  70. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  71. package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  72. package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  73. package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  74. package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  75. package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  76. package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  77. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  78. package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  79. package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  80. package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  81. package/types/types/CamScripterAPI.d.ts +11 -81
  82. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  83. package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  84. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  85. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  86. package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  87. package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
  88. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  89. package/types/types/CamSwitcherAPI.d.ts +74 -700
  90. package/types/types/GenetecAgent.d.ts +12 -132
  91. package/types/types/MilestoneAgent.d.ts +4 -46
  92. package/types/types/PlaneTrackerAPI.d.ts +265 -1205
  93. package/types/types/VapixAPI.d.ts +129 -1653
  94. package/types/types/common.d.ts +11 -35
  95. package/types/types/ws/CamOverlayEvents.d.ts +9 -69
  96. package/types/types/ws/CamStreamerEvents.d.ts +19 -217
  97. package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
  98. package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
@@ -1,118 +1,27 @@
1
1
  import { z } from 'zod';
2
2
  export declare const ptzSchema: 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.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>>;
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, "many">>;
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<"ptz">;
16
15
  ptz_positions: z.ZodRecord<z.ZodString, z.ZodObject<{
17
- overlayList: z.ZodArray<z.ZodObject<Omit<{
18
- active: z.ZodBoolean;
19
- 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">]>;
16
+ overlayList: z.ZodArray<z.ZodObject<{
20
17
  pos_x: z.ZodNumber;
21
18
  pos_y: z.ZodNumber;
19
+ 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">]>;
22
20
  imgPath: z.ZodString;
23
21
  imgName: z.ZodString;
24
22
  duration: z.ZodNumber;
25
23
  scale: z.ZodNumber;
26
- fps: z.ZodOptional<z.ZodNumber>;
27
- }, "active" | "fps">, "strip", z.ZodTypeAny, {
28
- pos_x: number;
29
- pos_y: number;
30
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
31
- imgPath: string;
32
- imgName: string;
33
- duration: number;
34
- scale: number;
35
- }, {
36
- pos_x: number;
37
- pos_y: number;
38
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
39
- imgPath: string;
40
- imgName: string;
41
- duration: number;
42
- scale: number;
43
- }>, "many">;
24
+ }, z.core.$strip>>;
44
25
  loop: z.ZodBoolean;
45
- }, "strip", z.ZodTypeAny, {
46
- overlayList: {
47
- pos_x: number;
48
- pos_y: number;
49
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
50
- imgPath: string;
51
- imgName: string;
52
- duration: number;
53
- scale: number;
54
- }[];
55
- loop: boolean;
56
- }, {
57
- overlayList: {
58
- pos_x: number;
59
- pos_y: number;
60
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
61
- imgPath: string;
62
- imgName: string;
63
- duration: number;
64
- scale: number;
65
- }[];
66
- loop: boolean;
67
- }>>;
68
- }, "strip", z.ZodTypeAny, {
69
- name: "ptz";
70
- enabled: 0 | 1;
71
- id: number;
72
- automationType: "manual" | "schedule" | "time" | `input${number}`;
73
- cameraList: number[];
74
- customName: string;
75
- width: number;
76
- height: number;
77
- ptz_positions: Record<string, {
78
- overlayList: {
79
- pos_x: number;
80
- pos_y: number;
81
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
82
- imgPath: string;
83
- imgName: string;
84
- duration: number;
85
- scale: number;
86
- }[];
87
- loop: boolean;
88
- }>;
89
- camera?: number | undefined;
90
- schedule?: string | undefined;
91
- invertInput?: boolean | undefined;
92
- zIndex?: number | undefined;
93
- }, {
94
- name: "ptz";
95
- enabled: 0 | 1;
96
- id: number;
97
- width: number;
98
- height: number;
99
- ptz_positions: Record<string, {
100
- overlayList: {
101
- pos_x: number;
102
- pos_y: number;
103
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
104
- imgPath: string;
105
- imgName: string;
106
- duration: number;
107
- scale: number;
108
- }[];
109
- loop: boolean;
110
- }>;
111
- camera?: number | undefined;
112
- schedule?: string | undefined;
113
- automationType?: "manual" | "schedule" | "time" | `input${number}` | undefined;
114
- invertInput?: boolean | undefined;
115
- cameraList?: number[] | undefined;
116
- customName?: string | undefined;
117
- zIndex?: number | undefined;
118
- }>;
26
+ }, z.core.$strip>>;
27
+ }, z.core.$strip>;
@@ -1,15 +1,15 @@
1
1
  import { z } from 'zod';
2
- export declare const sportFontSchema: z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodType<string, z.ZodTypeDef, string>]>;
2
+ export declare const sportFontSchema: z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodCustom<string, string>]>;
3
3
  export declare const scoreBoardSchema: z.ZodObject<{
4
4
  id: z.ZodNumber;
5
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
5
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
6
6
  schedule: z.ZodOptional<z.ZodString>;
7
- cameraList: z.ZodArray<z.ZodNumber, "many">;
7
+ cameraList: z.ZodArray<z.ZodNumber>;
8
8
  zIndex: z.ZodNumber;
9
9
  name: z.ZodLiteral<"scoreBoard">;
10
10
  pos_x: z.ZodNumber;
11
11
  pos_y: z.ZodNumber;
12
- 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">]>;
12
+ 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">]>;
13
13
  width: z.ZodNumber;
14
14
  height: z.ZodNumber;
15
15
  scale: z.ZodNumber;
@@ -29,78 +29,18 @@ export declare const scoreBoardSchema: z.ZodObject<{
29
29
  timeIsRunning: z.ZodBoolean;
30
30
  currentPeriodLength: z.ZodNumber;
31
31
  currentPeriod: z.ZodNumber;
32
- font: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodType<string, z.ZodTypeDef, string>]>>;
33
- }, "strip", z.ZodTypeAny, {
34
- name: "scoreBoard";
35
- enabled: 0 | 1;
36
- id: number;
37
- cameraList: number[];
38
- zIndex: number;
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
- font: string;
46
- teamHomeShortname: string;
47
- teamGuestShortname: string;
48
- teamHomeBackgroundColor: string;
49
- teamGuestBackgroundColor: string;
50
- teamHomeTextColor: string;
51
- teamGuestTextColor: string;
52
- teamHomeImgPath: string;
53
- teamGuestImgPath: string;
54
- teamHomeCurrentScore: number;
55
- teamGuestCurrentScore: number;
56
- baseTimeTimestamp: number;
57
- baseTimePlaytime: number;
58
- currentPeriodPlaytime: number;
59
- timeIsRunning: boolean;
60
- currentPeriodLength: number;
61
- currentPeriod: number;
62
- schedule?: string | undefined;
63
- }, {
64
- name: "scoreBoard";
65
- enabled: 0 | 1;
66
- id: number;
67
- cameraList: number[];
68
- zIndex: number;
69
- width: number;
70
- height: number;
71
- pos_x: number;
72
- pos_y: number;
73
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
74
- scale: number;
75
- teamHomeShortname: string;
76
- teamGuestShortname: string;
77
- teamHomeBackgroundColor: string;
78
- teamGuestBackgroundColor: string;
79
- teamHomeTextColor: string;
80
- teamGuestTextColor: string;
81
- teamHomeImgPath: string;
82
- teamGuestImgPath: string;
83
- teamHomeCurrentScore: number;
84
- teamGuestCurrentScore: number;
85
- baseTimeTimestamp: number;
86
- baseTimePlaytime: number;
87
- currentPeriodPlaytime: number;
88
- timeIsRunning: boolean;
89
- currentPeriodLength: number;
90
- currentPeriod: number;
91
- schedule?: string | undefined;
92
- font?: string | undefined;
93
- }>;
32
+ font: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodCustom<string, string>]>>;
33
+ }, z.core.$strip>;
94
34
  export declare const baseballScoreBoardSchema: z.ZodObject<{
95
35
  id: z.ZodNumber;
96
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
36
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
97
37
  schedule: z.ZodOptional<z.ZodString>;
98
- cameraList: z.ZodArray<z.ZodNumber, "many">;
38
+ cameraList: z.ZodArray<z.ZodNumber>;
99
39
  zIndex: z.ZodNumber;
100
40
  name: z.ZodLiteral<"baseballScoreBoard">;
101
41
  pos_x: z.ZodNumber;
102
42
  pos_y: z.ZodNumber;
103
- 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">]>;
43
+ 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">]>;
104
44
  width: z.ZodNumber;
105
45
  height: z.ZodNumber;
106
46
  scale: z.ZodNumber;
@@ -126,85 +66,13 @@ export declare const baseballScoreBoardSchema: z.ZodObject<{
126
66
  footerText: z.ZodOptional<z.ZodString>;
127
67
  footerBackgroundColor: z.ZodOptional<z.ZodString>;
128
68
  footerTextColor: z.ZodOptional<z.ZodString>;
129
- font: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodType<string, z.ZodTypeDef, string>]>>;
130
- }, "strip", z.ZodTypeAny, {
131
- name: "baseballScoreBoard";
132
- enabled: 0 | 1;
133
- id: number;
134
- cameraList: number[];
135
- zIndex: number;
136
- width: number;
137
- height: number;
138
- pos_x: number;
139
- pos_y: number;
140
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
141
- scale: number;
142
- font: string;
143
- teamHomeShortname: string;
144
- teamGuestShortname: string;
145
- teamHomeBackgroundColor: string;
146
- teamGuestBackgroundColor: string;
147
- teamHomeTextColor: string;
148
- teamGuestTextColor: string;
149
- teamHomeCurrentScore: number;
150
- teamGuestCurrentScore: number;
151
- baseTimeTimestamp: number;
152
- baseTimePlaytime: number;
153
- timeIsRunning: boolean;
154
- matchFinished: boolean;
155
- bases: [boolean, boolean, boolean];
156
- homeInning: boolean;
157
- inning: number;
158
- outs: number;
159
- balls: number;
160
- strikes: number;
161
- schedule?: string | undefined;
162
- footerImgPath?: string | undefined;
163
- footerText?: string | undefined;
164
- footerBackgroundColor?: string | undefined;
165
- footerTextColor?: string | undefined;
166
- }, {
167
- name: "baseballScoreBoard";
168
- enabled: 0 | 1;
169
- id: number;
170
- cameraList: number[];
171
- zIndex: number;
172
- width: number;
173
- height: number;
174
- pos_x: number;
175
- pos_y: number;
176
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
177
- scale: number;
178
- teamHomeShortname: string;
179
- teamGuestShortname: string;
180
- teamHomeBackgroundColor: string;
181
- teamGuestBackgroundColor: string;
182
- teamHomeTextColor: string;
183
- teamGuestTextColor: string;
184
- teamHomeCurrentScore: number;
185
- teamGuestCurrentScore: number;
186
- baseTimeTimestamp: number;
187
- baseTimePlaytime: number;
188
- timeIsRunning: boolean;
189
- matchFinished: boolean;
190
- bases: [boolean, boolean, boolean];
191
- homeInning: boolean;
192
- inning: number;
193
- outs: number;
194
- balls: number;
195
- strikes: number;
196
- schedule?: string | undefined;
197
- font?: string | undefined;
198
- footerImgPath?: string | undefined;
199
- footerText?: string | undefined;
200
- footerBackgroundColor?: string | undefined;
201
- footerTextColor?: string | undefined;
202
- }>;
69
+ font: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodCustom<string, string>]>>;
70
+ }, z.core.$strip>;
203
71
  export declare const baseballScoreBoardAutomaticSchema: z.ZodObject<{
204
72
  id: z.ZodNumber;
205
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
73
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
206
74
  schedule: z.ZodOptional<z.ZodString>;
207
- cameraList: z.ZodArray<z.ZodNumber, "many">;
75
+ cameraList: z.ZodArray<z.ZodNumber>;
208
76
  zIndex: z.ZodNumber;
209
77
  name: z.ZodLiteral<"myBallBaseballWidgets">;
210
78
  width: z.ZodNumber;
@@ -224,67 +92,17 @@ export declare const baseballScoreBoardAutomaticSchema: z.ZodObject<{
224
92
  footerText: z.ZodOptional<z.ZodString>;
225
93
  footerBackgroundColor: z.ZodOptional<z.ZodString>;
226
94
  footerTextColor: z.ZodOptional<z.ZodString>;
227
- font: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodType<string, z.ZodTypeDef, string>]>>;
228
- }, "strip", z.ZodTypeAny, {
229
- name: "myBallBaseballWidgets";
230
- enabled: 0 | 1;
231
- id: number;
232
- cameraList: number[];
233
- zIndex: number;
234
- width: number;
235
- height: number;
236
- scale: number;
237
- font: string;
238
- teamHomeBackgroundColor: string;
239
- teamGuestBackgroundColor: string;
240
- teamHomeTextColor: string;
241
- teamGuestTextColor: string;
242
- matchDetailLink: string;
243
- matchListLink: string;
244
- mirrored: boolean;
245
- pregameWidgetText: string;
246
- homeLogoPath: string;
247
- guestLogoPath: string;
248
- schedule?: string | undefined;
249
- footerImgPath?: string | undefined;
250
- footerText?: string | undefined;
251
- footerBackgroundColor?: string | undefined;
252
- footerTextColor?: string | undefined;
253
- }, {
254
- name: "myBallBaseballWidgets";
255
- enabled: 0 | 1;
256
- id: number;
257
- cameraList: number[];
258
- zIndex: number;
259
- width: number;
260
- height: number;
261
- scale: number;
262
- teamHomeBackgroundColor: string;
263
- teamGuestBackgroundColor: string;
264
- teamHomeTextColor: string;
265
- teamGuestTextColor: string;
266
- matchDetailLink: string;
267
- matchListLink: string;
268
- mirrored: boolean;
269
- pregameWidgetText: string;
270
- homeLogoPath: string;
271
- guestLogoPath: string;
272
- schedule?: string | undefined;
273
- font?: string | undefined;
274
- footerImgPath?: string | undefined;
275
- footerText?: string | undefined;
276
- footerBackgroundColor?: string | undefined;
277
- footerTextColor?: string | undefined;
278
- }>;
95
+ font: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodCustom<string, string>]>>;
96
+ }, z.core.$strip>;
279
97
  export declare const scoreOverviewSchema: z.ZodObject<{
280
98
  id: z.ZodNumber;
281
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
282
- cameraList: z.ZodArray<z.ZodNumber, "many">;
99
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
100
+ cameraList: z.ZodArray<z.ZodNumber>;
283
101
  zIndex: z.ZodNumber;
284
102
  name: z.ZodLiteral<"scoreOverview">;
285
103
  pos_x: z.ZodNumber;
286
104
  pos_y: z.ZodNumber;
287
- 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">]>;
105
+ 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">]>;
288
106
  width: z.ZodNumber;
289
107
  height: z.ZodNumber;
290
108
  scale: z.ZodNumber;
@@ -300,58 +118,6 @@ export declare const scoreOverviewSchema: z.ZodObject<{
300
118
  teamGuestCurrentScore: z.ZodNumber;
301
119
  scoreVisible: z.ZodBoolean;
302
120
  description: z.ZodString;
303
- textFont: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodType<string, z.ZodTypeDef, string>]>>;
121
+ textFont: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodCustom<string, string>]>>;
304
122
  scoreFont: z.ZodLiteral<"classic">;
305
- }, "strip", z.ZodTypeAny, {
306
- name: "scoreOverview";
307
- enabled: 0 | 1;
308
- description: string;
309
- id: number;
310
- cameraList: number[];
311
- zIndex: number;
312
- width: number;
313
- height: number;
314
- pos_x: number;
315
- pos_y: number;
316
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
317
- scale: number;
318
- teamHomeBackgroundColor: string;
319
- teamGuestBackgroundColor: string;
320
- teamHomeTextColor: string;
321
- teamGuestTextColor: string;
322
- teamHomeImgPath: string;
323
- teamGuestImgPath: string;
324
- teamHomeCurrentScore: number;
325
- teamGuestCurrentScore: number;
326
- teamHomeName: string;
327
- teamGuestName: string;
328
- scoreVisible: boolean;
329
- textFont: string;
330
- scoreFont: "classic";
331
- }, {
332
- name: "scoreOverview";
333
- enabled: 0 | 1;
334
- description: string;
335
- id: number;
336
- cameraList: number[];
337
- zIndex: number;
338
- width: number;
339
- height: number;
340
- pos_x: number;
341
- pos_y: number;
342
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
343
- scale: number;
344
- teamHomeBackgroundColor: string;
345
- teamGuestBackgroundColor: string;
346
- teamHomeTextColor: string;
347
- teamGuestTextColor: string;
348
- teamHomeImgPath: string;
349
- teamGuestImgPath: string;
350
- teamHomeCurrentScore: number;
351
- teamGuestCurrentScore: number;
352
- teamHomeName: string;
353
- teamGuestName: string;
354
- scoreVisible: boolean;
355
- scoreFont: "classic";
356
- textFont?: string | undefined;
357
- }>;
123
+ }, z.core.$strip>;
@@ -1,58 +1,20 @@
1
1
  import { z } from 'zod';
2
2
  export declare const screenSharingSchema: 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.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>>;
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, "many">>;
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
  pos_x: z.ZodNumber;
16
15
  pos_y: z.ZodNumber;
17
- 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">]>;
16
+ 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">]>;
18
17
  screenSize: z.ZodNumber;
19
18
  fps: z.ZodNumber;
20
- } & {
21
19
  name: z.ZodLiteral<"screenSharing">;
22
- }, "strip", z.ZodTypeAny, {
23
- name: "screenSharing";
24
- enabled: 0 | 1;
25
- fps: number;
26
- id: number;
27
- automationType: "manual" | "schedule" | "time" | `input${number}`;
28
- cameraList: number[];
29
- customName: string;
30
- width: number;
31
- height: number;
32
- pos_x: number;
33
- pos_y: number;
34
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
35
- screenSize: number;
36
- camera?: number | undefined;
37
- schedule?: string | undefined;
38
- invertInput?: boolean | undefined;
39
- zIndex?: number | undefined;
40
- }, {
41
- name: "screenSharing";
42
- enabled: 0 | 1;
43
- fps: number;
44
- id: number;
45
- width: number;
46
- height: number;
47
- pos_x: number;
48
- pos_y: number;
49
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
50
- screenSize: number;
51
- camera?: number | undefined;
52
- schedule?: string | undefined;
53
- automationType?: "manual" | "schedule" | "time" | `input${number}` | undefined;
54
- invertInput?: boolean | undefined;
55
- cameraList?: number[] | undefined;
56
- customName?: string | undefined;
57
- zIndex?: number | undefined;
58
- }>;
20
+ }, z.core.$strip>;
@@ -15,107 +15,48 @@ export declare const serviceNames: {
15
15
  readonly scoreOverview: "scoreOverview";
16
16
  readonly htmlOverlay: "htmlOverlay";
17
17
  };
18
- 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">]>;
18
+ export declare const coordinateSystemSchema: 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">]>;
19
19
  export type TCoordinates = z.infer<typeof coordinateSystemSchema> | '';
20
- 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">]>;
20
+ export declare const languageSchema: 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">]>;
21
21
  export type TLanguage = z.infer<typeof languageSchema>;
22
- export declare const fontSchema: z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodLiteral<"digital">, z.ZodType<string, z.ZodTypeDef, string>]>;
22
+ export declare const fontSchema: z.ZodUnion<readonly [z.ZodLiteral<"classic">, z.ZodLiteral<"digital">, z.ZodCustom<string, string>]>;
23
23
  export type TFont = z.infer<typeof fontSchema>;
24
- export declare const weatherUnitSchema: z.ZodUnion<[z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
24
+ export declare const weatherUnitSchema: z.ZodUnion<readonly [z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
25
25
  export type TWeatherUnit = z.infer<typeof weatherUnitSchema>;
26
26
  export declare const serviceCommonSchema: z.ZodObject<{
27
27
  id: z.ZodNumber;
28
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
29
- automationType: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>>;
28
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
29
+ automationType: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodCustom<`input${number}`, `input${number}`>]>>;
30
30
  invertInput: z.ZodOptional<z.ZodBoolean>;
31
- cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
31
+ cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
32
32
  camera: z.ZodOptional<z.ZodNumber>;
33
33
  schedule: z.ZodOptional<z.ZodString>;
34
34
  customName: z.ZodDefault<z.ZodString>;
35
35
  zIndex: z.ZodOptional<z.ZodNumber>;
36
36
  width: z.ZodNumber;
37
37
  height: z.ZodNumber;
38
- }, "strip", z.ZodTypeAny, {
39
- enabled: 0 | 1;
40
- id: number;
41
- automationType: "manual" | "schedule" | "time" | `input${number}`;
42
- cameraList: number[];
43
- customName: string;
44
- width: number;
45
- height: number;
46
- camera?: number | undefined;
47
- schedule?: string | undefined;
48
- invertInput?: boolean | undefined;
49
- zIndex?: number | undefined;
50
- }, {
51
- enabled: 0 | 1;
52
- id: number;
53
- width: number;
54
- height: number;
55
- camera?: number | undefined;
56
- schedule?: string | undefined;
57
- automationType?: "manual" | "schedule" | "time" | `input${number}` | undefined;
58
- invertInput?: boolean | undefined;
59
- cameraList?: number[] | undefined;
60
- customName?: string | undefined;
61
- zIndex?: number | undefined;
62
- }>;
38
+ }, z.core.$strip>;
63
39
  export declare const sharingSchema: z.ZodObject<{
64
40
  id: z.ZodNumber;
65
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
66
- automationType: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>>;
41
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
42
+ automationType: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodCustom<`input${number}`, `input${number}`>]>>;
67
43
  invertInput: z.ZodOptional<z.ZodBoolean>;
68
- cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
44
+ cameraList: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
69
45
  camera: z.ZodOptional<z.ZodNumber>;
70
46
  schedule: z.ZodOptional<z.ZodString>;
71
47
  customName: z.ZodDefault<z.ZodString>;
72
48
  zIndex: z.ZodOptional<z.ZodNumber>;
73
49
  width: z.ZodNumber;
74
50
  height: z.ZodNumber;
75
- } & {
76
51
  pos_x: z.ZodNumber;
77
52
  pos_y: z.ZodNumber;
78
- 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">]>;
53
+ 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">]>;
79
54
  screenSize: z.ZodNumber;
80
55
  fps: z.ZodNumber;
81
- }, "strip", z.ZodTypeAny, {
82
- enabled: 0 | 1;
83
- fps: number;
84
- id: number;
85
- automationType: "manual" | "schedule" | "time" | `input${number}`;
86
- cameraList: number[];
87
- customName: string;
88
- width: number;
89
- height: number;
90
- pos_x: number;
91
- pos_y: number;
92
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
93
- screenSize: number;
94
- camera?: number | undefined;
95
- schedule?: string | undefined;
96
- invertInput?: boolean | undefined;
97
- zIndex?: number | undefined;
98
- }, {
99
- enabled: 0 | 1;
100
- fps: number;
101
- id: number;
102
- width: number;
103
- height: number;
104
- pos_x: number;
105
- pos_y: number;
106
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
107
- screenSize: number;
108
- camera?: number | undefined;
109
- schedule?: string | undefined;
110
- automationType?: "manual" | "schedule" | "time" | `input${number}` | undefined;
111
- invertInput?: boolean | undefined;
112
- cameraList?: number[] | undefined;
113
- customName?: string | undefined;
114
- zIndex?: number | undefined;
115
- }>;
56
+ }, z.core.$strip>;
116
57
  export declare const overlaySchema: z.ZodObject<{
117
58
  active: z.ZodBoolean;
118
- 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">]>;
59
+ 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">]>;
119
60
  pos_x: z.ZodNumber;
120
61
  pos_y: z.ZodNumber;
121
62
  imgPath: z.ZodString;
@@ -123,24 +64,4 @@ export declare const overlaySchema: z.ZodObject<{
123
64
  duration: z.ZodNumber;
124
65
  scale: z.ZodNumber;
125
66
  fps: z.ZodOptional<z.ZodNumber>;
126
- }, "strip", z.ZodTypeAny, {
127
- active: boolean;
128
- pos_x: number;
129
- pos_y: number;
130
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
131
- imgPath: string;
132
- imgName: string;
133
- duration: number;
134
- scale: number;
135
- fps?: number | undefined;
136
- }, {
137
- active: boolean;
138
- pos_x: number;
139
- pos_y: number;
140
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
141
- imgPath: string;
142
- imgName: string;
143
- duration: number;
144
- scale: number;
145
- fps?: number | undefined;
146
- }>;
67
+ }, z.core.$strip>;