camstreamerlib 4.0.0-beta.149 → 4.0.0-beta.150

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.
@@ -57,6 +57,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
57
57
  name: "accuweather";
58
58
  enabled: 0 | 1;
59
59
  title: string;
60
+ locationName: string;
60
61
  id: number;
61
62
  automationType: "manual" | "schedule" | "time" | `input${number}`;
62
63
  cameraList: number[];
@@ -70,7 +71,6 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
70
71
  clockType: "12h" | "24h";
71
72
  font: string;
72
73
  location: string;
73
- locationName: string;
74
74
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
75
75
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
76
76
  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";
@@ -493,6 +493,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
493
493
  name: "accuweather";
494
494
  enabled: 0 | 1;
495
495
  title: string;
496
+ locationName: string;
496
497
  id: number;
497
498
  automationType: "manual" | "schedule" | "time" | `input${number}`;
498
499
  cameraList: number[];
@@ -506,7 +507,6 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
506
507
  clockType: "12h" | "24h";
507
508
  font: string;
508
509
  location: string;
509
- locationName: string;
510
510
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
511
511
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
512
512
  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";
@@ -194,6 +194,14 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
194
194
  avSyncMsec: number;
195
195
  };
196
196
  platform: "windy";
197
+ locationLat: number;
198
+ locationLon: number;
199
+ locationName: string;
200
+ locationAddress: string;
201
+ mapZoom: number;
202
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
203
+ position: "fix" | "rotating" | "controllable";
204
+ webPageUrl: string;
197
205
  } | {
198
206
  status: {
199
207
  led: boolean;
@@ -1919,6 +1927,14 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1919
1927
  avSyncMsec: number;
1920
1928
  };
1921
1929
  platform: "windy";
1930
+ locationLat: number;
1931
+ locationLon: number;
1932
+ locationName: string;
1933
+ locationAddress: string;
1934
+ mapZoom: number;
1935
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
1936
+ position: "fix" | "rotating" | "controllable";
1937
+ webPageUrl: string;
1922
1938
  } | {
1923
1939
  status: {
1924
1940
  led: boolean;
package/cjs/VapixAPI.d.ts CHANGED
@@ -50,8 +50,8 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
50
50
  id: string;
51
51
  running: string;
52
52
  tour: {
53
- moveSpeed?: unknown;
54
53
  position?: unknown;
54
+ moveSpeed?: unknown;
55
55
  presetNbr?: unknown;
56
56
  waitTime?: unknown;
57
57
  waitTimeViewType?: unknown;
@@ -84,10 +84,10 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
84
84
  getPorts(options?: THttpRequestOptions): Promise<{
85
85
  name: string;
86
86
  port: string;
87
+ direction: "output" | "input";
87
88
  state: "open" | "closed";
88
89
  configurable: boolean;
89
90
  usage: string;
90
- direction: "output" | "input";
91
91
  normalState: "open" | "closed";
92
92
  readonly?: boolean | undefined;
93
93
  }[]>;
@@ -148,6 +148,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
148
148
  name: "accuweather";
149
149
  enabled: 0 | 1;
150
150
  title: string;
151
+ locationName: string;
151
152
  id: number;
152
153
  automationType: "manual" | "schedule" | "time" | `input${number}`;
153
154
  cameraList: number[];
@@ -161,7 +162,6 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
161
162
  clockType: "12h" | "24h";
162
163
  font: string;
163
164
  location: string;
164
- locationName: string;
165
165
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
166
166
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
167
167
  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";
@@ -175,6 +175,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
175
175
  name: "accuweather";
176
176
  enabled: 0 | 1;
177
177
  title: string;
178
+ locationName: string;
178
179
  id: number;
179
180
  width: number;
180
181
  height: number;
@@ -185,7 +186,6 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
185
186
  clockType: "12h" | "24h";
186
187
  font: string;
187
188
  location: string;
188
- locationName: string;
189
189
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
190
190
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
191
191
  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";
@@ -1700,6 +1700,7 @@ export declare const serviceListSchema: z.ZodObject<{
1700
1700
  name: "accuweather";
1701
1701
  enabled: 0 | 1;
1702
1702
  title: string;
1703
+ locationName: string;
1703
1704
  id: number;
1704
1705
  automationType: "manual" | "schedule" | "time" | `input${number}`;
1705
1706
  cameraList: number[];
@@ -1713,7 +1714,6 @@ export declare const serviceListSchema: z.ZodObject<{
1713
1714
  clockType: "12h" | "24h";
1714
1715
  font: string;
1715
1716
  location: string;
1716
- locationName: string;
1717
1717
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
1718
1718
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
1719
1719
  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";
@@ -1727,6 +1727,7 @@ export declare const serviceListSchema: z.ZodObject<{
1727
1727
  name: "accuweather";
1728
1728
  enabled: 0 | 1;
1729
1729
  title: string;
1730
+ locationName: string;
1730
1731
  id: number;
1731
1732
  width: number;
1732
1733
  height: number;
@@ -1737,7 +1738,6 @@ export declare const serviceListSchema: z.ZodObject<{
1737
1738
  clockType: "12h" | "24h";
1738
1739
  font: string;
1739
1740
  location: string;
1740
- locationName: string;
1741
1741
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
1742
1742
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
1743
1743
  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";
@@ -3160,6 +3160,7 @@ export declare const serviceListSchema: z.ZodObject<{
3160
3160
  name: "accuweather";
3161
3161
  enabled: 0 | 1;
3162
3162
  title: string;
3163
+ locationName: string;
3163
3164
  id: number;
3164
3165
  automationType: "manual" | "schedule" | "time" | `input${number}`;
3165
3166
  cameraList: number[];
@@ -3173,7 +3174,6 @@ export declare const serviceListSchema: z.ZodObject<{
3173
3174
  clockType: "12h" | "24h";
3174
3175
  font: string;
3175
3176
  location: string;
3176
- locationName: string;
3177
3177
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
3178
3178
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
3179
3179
  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";
@@ -3597,6 +3597,7 @@ export declare const serviceListSchema: z.ZodObject<{
3597
3597
  name: "accuweather";
3598
3598
  enabled: 0 | 1;
3599
3599
  title: string;
3600
+ locationName: string;
3600
3601
  id: number;
3601
3602
  width: number;
3602
3603
  height: number;
@@ -3607,7 +3608,6 @@ export declare const serviceListSchema: z.ZodObject<{
3607
3608
  clockType: "12h" | "24h";
3608
3609
  font: string;
3609
3610
  location: string;
3610
- locationName: string;
3611
3611
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
3612
3612
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
3613
3613
  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";
@@ -4005,6 +4005,7 @@ export declare const isAccuweather: (service: TService) => service is {
4005
4005
  name: "accuweather";
4006
4006
  enabled: 0 | 1;
4007
4007
  title: string;
4008
+ locationName: string;
4008
4009
  id: number;
4009
4010
  automationType: "manual" | "schedule" | "time" | `input${number}`;
4010
4011
  cameraList: number[];
@@ -4018,7 +4019,6 @@ export declare const isAccuweather: (service: TService) => service is {
4018
4019
  clockType: "12h" | "24h";
4019
4020
  font: string;
4020
4021
  location: string;
4021
- locationName: string;
4022
4022
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
4023
4023
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
4024
4024
  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";
@@ -31,6 +31,7 @@ export declare const accuweatherSchema: z.ZodObject<{
31
31
  name: "accuweather";
32
32
  enabled: 0 | 1;
33
33
  title: string;
34
+ locationName: string;
34
35
  id: number;
35
36
  automationType: "manual" | "schedule" | "time" | `input${number}`;
36
37
  cameraList: number[];
@@ -44,7 +45,6 @@ export declare const accuweatherSchema: z.ZodObject<{
44
45
  clockType: "12h" | "24h";
45
46
  font: string;
46
47
  location: string;
47
- locationName: string;
48
48
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
49
49
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
50
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";
@@ -58,6 +58,7 @@ export declare const accuweatherSchema: z.ZodObject<{
58
58
  name: "accuweather";
59
59
  enabled: 0 | 1;
60
60
  title: string;
61
+ locationName: string;
61
62
  id: number;
62
63
  width: number;
63
64
  height: number;
@@ -68,7 +69,6 @@ export declare const accuweatherSchema: z.ZodObject<{
68
69
  clockType: "12h" | "24h";
69
70
  font: string;
70
71
  location: string;
71
- locationName: string;
72
72
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
73
73
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
74
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";
@@ -2912,6 +2912,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2912
2912
  }>;
2913
2913
  } & {
2914
2914
  platform: z.ZodLiteral<"windy">;
2915
+ locationLat: z.ZodNumber;
2916
+ locationLon: z.ZodNumber;
2917
+ locationName: z.ZodString;
2918
+ locationAddress: z.ZodString;
2919
+ mapZoom: z.ZodNumber;
2920
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
2921
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
2922
+ webPageUrl: z.ZodString;
2915
2923
  }, "strip", z.ZodTypeAny, {
2916
2924
  status: {
2917
2925
  led: boolean;
@@ -2997,6 +3005,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2997
3005
  avSyncMsec: number;
2998
3006
  };
2999
3007
  platform: "windy";
3008
+ locationLat: number;
3009
+ locationLon: number;
3010
+ locationName: string;
3011
+ locationAddress: string;
3012
+ mapZoom: number;
3013
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
3014
+ position: "fix" | "rotating" | "controllable";
3015
+ webPageUrl: string;
3000
3016
  }, {
3001
3017
  status: {
3002
3018
  led: boolean;
@@ -3082,6 +3098,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3082
3098
  avSyncMsec: number;
3083
3099
  };
3084
3100
  platform: "windy";
3101
+ locationLat: number;
3102
+ locationLon: number;
3103
+ locationName: string;
3104
+ locationAddress: string;
3105
+ mapZoom: number;
3106
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
3107
+ position: "fix" | "rotating" | "controllable";
3108
+ webPageUrl: string;
3085
3109
  }>, z.ZodObject<{
3086
3110
  streamId: z.ZodString;
3087
3111
  enabled: z.ZodBoolean;
@@ -13111,6 +13135,14 @@ export declare const streamListSchema: z.ZodObject<{
13111
13135
  }>;
13112
13136
  } & {
13113
13137
  platform: z.ZodLiteral<"windy">;
13138
+ locationLat: z.ZodNumber;
13139
+ locationLon: z.ZodNumber;
13140
+ locationName: z.ZodString;
13141
+ locationAddress: z.ZodString;
13142
+ mapZoom: z.ZodNumber;
13143
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
13144
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
13145
+ webPageUrl: z.ZodString;
13114
13146
  }, "strip", z.ZodTypeAny, {
13115
13147
  status: {
13116
13148
  led: boolean;
@@ -13196,6 +13228,14 @@ export declare const streamListSchema: z.ZodObject<{
13196
13228
  avSyncMsec: number;
13197
13229
  };
13198
13230
  platform: "windy";
13231
+ locationLat: number;
13232
+ locationLon: number;
13233
+ locationName: string;
13234
+ locationAddress: string;
13235
+ mapZoom: number;
13236
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
13237
+ position: "fix" | "rotating" | "controllable";
13238
+ webPageUrl: string;
13199
13239
  }, {
13200
13240
  status: {
13201
13241
  led: boolean;
@@ -13281,6 +13321,14 @@ export declare const streamListSchema: z.ZodObject<{
13281
13321
  avSyncMsec: number;
13282
13322
  };
13283
13323
  platform: "windy";
13324
+ locationLat: number;
13325
+ locationLon: number;
13326
+ locationName: string;
13327
+ locationAddress: string;
13328
+ mapZoom: number;
13329
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
13330
+ position: "fix" | "rotating" | "controllable";
13331
+ webPageUrl: string;
13284
13332
  }>, z.ZodObject<{
13285
13333
  streamId: z.ZodString;
13286
13334
  enabled: z.ZodBoolean;
@@ -20580,6 +20628,14 @@ export declare const streamListSchema: z.ZodObject<{
20580
20628
  avSyncMsec: number;
20581
20629
  };
20582
20630
  platform: "windy";
20631
+ locationLat: number;
20632
+ locationLon: number;
20633
+ locationName: string;
20634
+ locationAddress: string;
20635
+ mapZoom: number;
20636
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
20637
+ position: "fix" | "rotating" | "controllable";
20638
+ webPageUrl: string;
20583
20639
  } | {
20584
20640
  status: {
20585
20641
  led: boolean;
@@ -22303,6 +22359,14 @@ export declare const streamListSchema: z.ZodObject<{
22303
22359
  avSyncMsec: number;
22304
22360
  };
22305
22361
  platform: "windy";
22362
+ locationLat: number;
22363
+ locationLon: number;
22364
+ locationName: string;
22365
+ locationAddress: string;
22366
+ mapZoom: number;
22367
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
22368
+ position: "fix" | "rotating" | "controllable";
22369
+ webPageUrl: string;
22306
22370
  } | {
22307
22371
  status: {
22308
22372
  led: boolean;
@@ -24378,6 +24442,14 @@ export declare const isWindyStream: (stream: TStream) => stream is {
24378
24442
  avSyncMsec: number;
24379
24443
  };
24380
24444
  platform: "windy";
24445
+ locationLat: number;
24446
+ locationLon: number;
24447
+ locationName: string;
24448
+ locationAddress: string;
24449
+ mapZoom: number;
24450
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
24451
+ position: "fix" | "rotating" | "controllable";
24452
+ webPageUrl: string;
24381
24453
  };
24382
24454
  export type TYouTubeStream = z.infer<typeof youtubeSchema>;
24383
24455
  export declare const isYouTubeStream: (stream: TStream) => stream is {
@@ -335,6 +335,14 @@ export declare const windySchema: z.ZodObject<{
335
335
  }>;
336
336
  } & {
337
337
  platform: z.ZodLiteral<"windy">;
338
+ locationLat: z.ZodNumber;
339
+ locationLon: z.ZodNumber;
340
+ locationName: z.ZodString;
341
+ locationAddress: z.ZodString;
342
+ mapZoom: z.ZodNumber;
343
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
344
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
345
+ webPageUrl: z.ZodString;
338
346
  }, "strip", z.ZodTypeAny, {
339
347
  status: {
340
348
  led: boolean;
@@ -420,6 +428,14 @@ export declare const windySchema: z.ZodObject<{
420
428
  avSyncMsec: number;
421
429
  };
422
430
  platform: "windy";
431
+ locationLat: number;
432
+ locationLon: number;
433
+ locationName: string;
434
+ locationAddress: string;
435
+ mapZoom: number;
436
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
437
+ position: "fix" | "rotating" | "controllable";
438
+ webPageUrl: string;
423
439
  }, {
424
440
  status: {
425
441
  led: boolean;
@@ -505,4 +521,14 @@ export declare const windySchema: z.ZodObject<{
505
521
  avSyncMsec: number;
506
522
  };
507
523
  platform: "windy";
524
+ locationLat: number;
525
+ locationLon: number;
526
+ locationName: string;
527
+ locationAddress: string;
528
+ mapZoom: number;
529
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
530
+ position: "fix" | "rotating" | "controllable";
531
+ webPageUrl: string;
508
532
  }>;
533
+ export type TWindyDirection = z.infer<typeof windySchema>['direction'];
534
+ export type TWindyPosition = z.infer<typeof windySchema>['position'];
@@ -8,4 +8,12 @@ const zod_1 = __importDefault(require("zod"));
8
8
  const streamCommonTypes_1 = require("./streamCommonTypes");
9
9
  exports.windySchema = streamCommonTypes_1.streamCommonSchema.extend({
10
10
  platform: zod_1.default.literal('windy'),
11
+ locationLat: zod_1.default.number(),
12
+ locationLon: zod_1.default.number(),
13
+ locationName: zod_1.default.string(),
14
+ locationAddress: zod_1.default.string(),
15
+ mapZoom: zod_1.default.number(),
16
+ direction: zod_1.default.enum(['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']).nullable(),
17
+ position: zod_1.default.union([zod_1.default.literal('fix'), zod_1.default.literal('rotating'), zod_1.default.literal('controllable')]),
18
+ webPageUrl: zod_1.default.string(),
11
19
  });
@@ -91,14 +91,14 @@ export declare const guardTourSchema: z.ZodObject<{
91
91
  waitTime: z.ZodUnknown;
92
92
  waitTimeViewType: z.ZodUnknown;
93
93
  }, "strip", z.ZodTypeAny, {
94
- moveSpeed?: unknown;
95
94
  position?: unknown;
95
+ moveSpeed?: unknown;
96
96
  presetNbr?: unknown;
97
97
  waitTime?: unknown;
98
98
  waitTimeViewType?: unknown;
99
99
  }, {
100
- moveSpeed?: unknown;
101
100
  position?: unknown;
101
+ moveSpeed?: unknown;
102
102
  presetNbr?: unknown;
103
103
  waitTime?: unknown;
104
104
  waitTimeViewType?: unknown;
@@ -108,8 +108,8 @@ export declare const guardTourSchema: z.ZodObject<{
108
108
  id: string;
109
109
  running: string;
110
110
  tour: {
111
- moveSpeed?: unknown;
112
111
  position?: unknown;
112
+ moveSpeed?: unknown;
113
113
  presetNbr?: unknown;
114
114
  waitTime?: unknown;
115
115
  waitTimeViewType?: unknown;
@@ -122,8 +122,8 @@ export declare const guardTourSchema: z.ZodObject<{
122
122
  id: string;
123
123
  running: string;
124
124
  tour: {
125
- moveSpeed?: unknown;
126
125
  position?: unknown;
126
+ moveSpeed?: unknown;
127
127
  presetNbr?: unknown;
128
128
  waitTime?: unknown;
129
129
  waitTimeViewType?: unknown;
@@ -1719,19 +1719,19 @@ export declare const portStatusSchema: z.ZodObject<{
1719
1719
  }, "strip", z.ZodTypeAny, {
1720
1720
  name: string;
1721
1721
  port: string;
1722
+ direction: "output" | "input";
1722
1723
  state: "open" | "closed";
1723
1724
  configurable: boolean;
1724
1725
  usage: string;
1725
- direction: "output" | "input";
1726
1726
  normalState: "open" | "closed";
1727
1727
  readonly?: boolean | undefined;
1728
1728
  }, {
1729
1729
  name: string;
1730
1730
  port: string;
1731
+ direction: "output" | "input";
1731
1732
  state: "open" | "closed";
1732
1733
  configurable: boolean;
1733
1734
  usage: string;
1734
- direction: "output" | "input";
1735
1735
  normalState: "open" | "closed";
1736
1736
  readonly?: boolean | undefined;
1737
1737
  }>;
@@ -1754,19 +1754,19 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1754
1754
  }, "strip", z.ZodTypeAny, {
1755
1755
  name: string;
1756
1756
  port: string;
1757
+ direction: "output" | "input";
1757
1758
  state: "open" | "closed";
1758
1759
  configurable: boolean;
1759
1760
  usage: string;
1760
- direction: "output" | "input";
1761
1761
  normalState: "open" | "closed";
1762
1762
  readonly?: boolean | undefined;
1763
1763
  }, {
1764
1764
  name: string;
1765
1765
  port: string;
1766
+ direction: "output" | "input";
1766
1767
  state: "open" | "closed";
1767
1768
  configurable: boolean;
1768
1769
  usage: string;
1769
- direction: "output" | "input";
1770
1770
  normalState: "open" | "closed";
1771
1771
  readonly?: boolean | undefined;
1772
1772
  }>, "many">;
@@ -1775,10 +1775,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1775
1775
  items: {
1776
1776
  name: string;
1777
1777
  port: string;
1778
+ direction: "output" | "input";
1778
1779
  state: "open" | "closed";
1779
1780
  configurable: boolean;
1780
1781
  usage: string;
1781
- direction: "output" | "input";
1782
1782
  normalState: "open" | "closed";
1783
1783
  readonly?: boolean | undefined;
1784
1784
  }[];
@@ -1787,10 +1787,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1787
1787
  items: {
1788
1788
  name: string;
1789
1789
  port: string;
1790
+ direction: "output" | "input";
1790
1791
  state: "open" | "closed";
1791
1792
  configurable: boolean;
1792
1793
  usage: string;
1793
- direction: "output" | "input";
1794
1794
  normalState: "open" | "closed";
1795
1795
  readonly?: boolean | undefined;
1796
1796
  }[];
@@ -1801,10 +1801,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1801
1801
  items: {
1802
1802
  name: string;
1803
1803
  port: string;
1804
+ direction: "output" | "input";
1804
1805
  state: "open" | "closed";
1805
1806
  configurable: boolean;
1806
1807
  usage: string;
1807
- direction: "output" | "input";
1808
1808
  normalState: "open" | "closed";
1809
1809
  readonly?: boolean | undefined;
1810
1810
  }[];
@@ -1818,10 +1818,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1818
1818
  items: {
1819
1819
  name: string;
1820
1820
  port: string;
1821
+ direction: "output" | "input";
1821
1822
  state: "open" | "closed";
1822
1823
  configurable: boolean;
1823
1824
  usage: string;
1824
- direction: "output" | "input";
1825
1825
  normalState: "open" | "closed";
1826
1826
  readonly?: boolean | undefined;
1827
1827
  }[];
@@ -1841,15 +1841,15 @@ export declare const portSetSchema: z.ZodObject<{
1841
1841
  port: string;
1842
1842
  state: "open" | "closed";
1843
1843
  name?: string | undefined;
1844
- usage?: string | undefined;
1845
1844
  direction?: "output" | "input" | undefined;
1845
+ usage?: string | undefined;
1846
1846
  normalState?: "open" | "closed" | undefined;
1847
1847
  }, {
1848
1848
  port: string;
1849
1849
  state: "open" | "closed";
1850
1850
  name?: string | undefined;
1851
- usage?: string | undefined;
1852
1851
  direction?: "output" | "input" | undefined;
1852
+ usage?: string | undefined;
1853
1853
  normalState?: "open" | "closed" | undefined;
1854
1854
  }>;
1855
1855
  export type TPortSetSchema = z.infer<typeof portSetSchema>;
@@ -2,4 +2,12 @@ import z from 'zod';
2
2
  import { streamCommonSchema } from './streamCommonTypes';
3
3
  export const windySchema = streamCommonSchema.extend({
4
4
  platform: z.literal('windy'),
5
+ locationLat: z.number(),
6
+ locationLon: z.number(),
7
+ locationName: z.string(),
8
+ locationAddress: z.string(),
9
+ mapZoom: z.number(),
10
+ direction: z.enum(['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']).nullable(),
11
+ position: z.union([z.literal('fix'), z.literal('rotating'), z.literal('controllable')]),
12
+ webPageUrl: z.string(),
5
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.149",
3
+ "version": "4.0.0-beta.150",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -57,6 +57,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
57
57
  name: "accuweather";
58
58
  enabled: 0 | 1;
59
59
  title: string;
60
+ locationName: string;
60
61
  id: number;
61
62
  automationType: "manual" | "schedule" | "time" | `input${number}`;
62
63
  cameraList: number[];
@@ -70,7 +71,6 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
70
71
  clockType: "12h" | "24h";
71
72
  font: string;
72
73
  location: string;
73
- locationName: string;
74
74
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
75
75
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
76
76
  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";
@@ -493,6 +493,7 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
493
493
  name: "accuweather";
494
494
  enabled: 0 | 1;
495
495
  title: string;
496
+ locationName: string;
496
497
  id: number;
497
498
  automationType: "manual" | "schedule" | "time" | `input${number}`;
498
499
  cameraList: number[];
@@ -506,7 +507,6 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
506
507
  clockType: "12h" | "24h";
507
508
  font: string;
508
509
  location: string;
509
- locationName: string;
510
510
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
511
511
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
512
512
  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";
@@ -194,6 +194,14 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
194
194
  avSyncMsec: number;
195
195
  };
196
196
  platform: "windy";
197
+ locationLat: number;
198
+ locationLon: number;
199
+ locationName: string;
200
+ locationAddress: string;
201
+ mapZoom: number;
202
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
203
+ position: "fix" | "rotating" | "controllable";
204
+ webPageUrl: string;
197
205
  } | {
198
206
  status: {
199
207
  led: boolean;
@@ -1919,6 +1927,14 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1919
1927
  avSyncMsec: number;
1920
1928
  };
1921
1929
  platform: "windy";
1930
+ locationLat: number;
1931
+ locationLon: number;
1932
+ locationName: string;
1933
+ locationAddress: string;
1934
+ mapZoom: number;
1935
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
1936
+ position: "fix" | "rotating" | "controllable";
1937
+ webPageUrl: string;
1922
1938
  } | {
1923
1939
  status: {
1924
1940
  led: boolean;
@@ -50,8 +50,8 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
50
50
  id: string;
51
51
  running: string;
52
52
  tour: {
53
- moveSpeed?: unknown;
54
53
  position?: unknown;
54
+ moveSpeed?: unknown;
55
55
  presetNbr?: unknown;
56
56
  waitTime?: unknown;
57
57
  waitTimeViewType?: unknown;
@@ -84,10 +84,10 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
84
84
  getPorts(options?: THttpRequestOptions): Promise<{
85
85
  name: string;
86
86
  port: string;
87
+ direction: "output" | "input";
87
88
  state: "open" | "closed";
88
89
  configurable: boolean;
89
90
  usage: string;
90
- direction: "output" | "input";
91
91
  normalState: "open" | "closed";
92
92
  readonly?: boolean | undefined;
93
93
  }[]>;
@@ -148,6 +148,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
148
148
  name: "accuweather";
149
149
  enabled: 0 | 1;
150
150
  title: string;
151
+ locationName: string;
151
152
  id: number;
152
153
  automationType: "manual" | "schedule" | "time" | `input${number}`;
153
154
  cameraList: number[];
@@ -161,7 +162,6 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
161
162
  clockType: "12h" | "24h";
162
163
  font: string;
163
164
  location: string;
164
- locationName: string;
165
165
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
166
166
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
167
167
  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";
@@ -175,6 +175,7 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
175
175
  name: "accuweather";
176
176
  enabled: 0 | 1;
177
177
  title: string;
178
+ locationName: string;
178
179
  id: number;
179
180
  width: number;
180
181
  height: number;
@@ -185,7 +186,6 @@ export declare const servicesSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObjec
185
186
  clockType: "12h" | "24h";
186
187
  font: string;
187
188
  location: string;
188
- locationName: string;
189
189
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
190
190
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
191
191
  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";
@@ -1700,6 +1700,7 @@ export declare const serviceListSchema: z.ZodObject<{
1700
1700
  name: "accuweather";
1701
1701
  enabled: 0 | 1;
1702
1702
  title: string;
1703
+ locationName: string;
1703
1704
  id: number;
1704
1705
  automationType: "manual" | "schedule" | "time" | `input${number}`;
1705
1706
  cameraList: number[];
@@ -1713,7 +1714,6 @@ export declare const serviceListSchema: z.ZodObject<{
1713
1714
  clockType: "12h" | "24h";
1714
1715
  font: string;
1715
1716
  location: string;
1716
- locationName: string;
1717
1717
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
1718
1718
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
1719
1719
  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";
@@ -1727,6 +1727,7 @@ export declare const serviceListSchema: z.ZodObject<{
1727
1727
  name: "accuweather";
1728
1728
  enabled: 0 | 1;
1729
1729
  title: string;
1730
+ locationName: string;
1730
1731
  id: number;
1731
1732
  width: number;
1732
1733
  height: number;
@@ -1737,7 +1738,6 @@ export declare const serviceListSchema: z.ZodObject<{
1737
1738
  clockType: "12h" | "24h";
1738
1739
  font: string;
1739
1740
  location: string;
1740
- locationName: string;
1741
1741
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
1742
1742
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
1743
1743
  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";
@@ -3160,6 +3160,7 @@ export declare const serviceListSchema: z.ZodObject<{
3160
3160
  name: "accuweather";
3161
3161
  enabled: 0 | 1;
3162
3162
  title: string;
3163
+ locationName: string;
3163
3164
  id: number;
3164
3165
  automationType: "manual" | "schedule" | "time" | `input${number}`;
3165
3166
  cameraList: number[];
@@ -3173,7 +3174,6 @@ export declare const serviceListSchema: z.ZodObject<{
3173
3174
  clockType: "12h" | "24h";
3174
3175
  font: string;
3175
3176
  location: string;
3176
- locationName: string;
3177
3177
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
3178
3178
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
3179
3179
  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";
@@ -3597,6 +3597,7 @@ export declare const serviceListSchema: z.ZodObject<{
3597
3597
  name: "accuweather";
3598
3598
  enabled: 0 | 1;
3599
3599
  title: string;
3600
+ locationName: string;
3600
3601
  id: number;
3601
3602
  width: number;
3602
3603
  height: number;
@@ -3607,7 +3608,6 @@ export declare const serviceListSchema: z.ZodObject<{
3607
3608
  clockType: "12h" | "24h";
3608
3609
  font: string;
3609
3610
  location: string;
3610
- locationName: string;
3611
3611
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
3612
3612
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
3613
3613
  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";
@@ -4005,6 +4005,7 @@ export declare const isAccuweather: (service: TService) => service is {
4005
4005
  name: "accuweather";
4006
4006
  enabled: 0 | 1;
4007
4007
  title: string;
4008
+ locationName: string;
4008
4009
  id: number;
4009
4010
  automationType: "manual" | "schedule" | "time" | `input${number}`;
4010
4011
  cameraList: number[];
@@ -4018,7 +4019,6 @@ export declare const isAccuweather: (service: TService) => service is {
4018
4019
  clockType: "12h" | "24h";
4019
4020
  font: string;
4020
4021
  location: string;
4021
- locationName: string;
4022
4022
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
4023
4023
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
4024
4024
  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";
@@ -31,6 +31,7 @@ export declare const accuweatherSchema: z.ZodObject<{
31
31
  name: "accuweather";
32
32
  enabled: 0 | 1;
33
33
  title: string;
34
+ locationName: string;
34
35
  id: number;
35
36
  automationType: "manual" | "schedule" | "time" | `input${number}`;
36
37
  cameraList: number[];
@@ -44,7 +45,6 @@ export declare const accuweatherSchema: z.ZodObject<{
44
45
  clockType: "12h" | "24h";
45
46
  font: string;
46
47
  location: string;
47
- locationName: string;
48
48
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
49
49
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
50
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";
@@ -58,6 +58,7 @@ export declare const accuweatherSchema: z.ZodObject<{
58
58
  name: "accuweather";
59
59
  enabled: 0 | 1;
60
60
  title: string;
61
+ locationName: string;
61
62
  id: number;
62
63
  width: number;
63
64
  height: number;
@@ -68,7 +69,6 @@ export declare const accuweatherSchema: z.ZodObject<{
68
69
  clockType: "12h" | "24h";
69
70
  font: string;
70
71
  location: string;
71
- locationName: string;
72
72
  bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
73
73
  bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
74
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";
@@ -2912,6 +2912,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2912
2912
  }>;
2913
2913
  } & {
2914
2914
  platform: z.ZodLiteral<"windy">;
2915
+ locationLat: z.ZodNumber;
2916
+ locationLon: z.ZodNumber;
2917
+ locationName: z.ZodString;
2918
+ locationAddress: z.ZodString;
2919
+ mapZoom: z.ZodNumber;
2920
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
2921
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
2922
+ webPageUrl: z.ZodString;
2915
2923
  }, "strip", z.ZodTypeAny, {
2916
2924
  status: {
2917
2925
  led: boolean;
@@ -2997,6 +3005,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2997
3005
  avSyncMsec: number;
2998
3006
  };
2999
3007
  platform: "windy";
3008
+ locationLat: number;
3009
+ locationLon: number;
3010
+ locationName: string;
3011
+ locationAddress: string;
3012
+ mapZoom: number;
3013
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
3014
+ position: "fix" | "rotating" | "controllable";
3015
+ webPageUrl: string;
3000
3016
  }, {
3001
3017
  status: {
3002
3018
  led: boolean;
@@ -3082,6 +3098,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3082
3098
  avSyncMsec: number;
3083
3099
  };
3084
3100
  platform: "windy";
3101
+ locationLat: number;
3102
+ locationLon: number;
3103
+ locationName: string;
3104
+ locationAddress: string;
3105
+ mapZoom: number;
3106
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
3107
+ position: "fix" | "rotating" | "controllable";
3108
+ webPageUrl: string;
3085
3109
  }>, z.ZodObject<{
3086
3110
  streamId: z.ZodString;
3087
3111
  enabled: z.ZodBoolean;
@@ -13111,6 +13135,14 @@ export declare const streamListSchema: z.ZodObject<{
13111
13135
  }>;
13112
13136
  } & {
13113
13137
  platform: z.ZodLiteral<"windy">;
13138
+ locationLat: z.ZodNumber;
13139
+ locationLon: z.ZodNumber;
13140
+ locationName: z.ZodString;
13141
+ locationAddress: z.ZodString;
13142
+ mapZoom: z.ZodNumber;
13143
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
13144
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
13145
+ webPageUrl: z.ZodString;
13114
13146
  }, "strip", z.ZodTypeAny, {
13115
13147
  status: {
13116
13148
  led: boolean;
@@ -13196,6 +13228,14 @@ export declare const streamListSchema: z.ZodObject<{
13196
13228
  avSyncMsec: number;
13197
13229
  };
13198
13230
  platform: "windy";
13231
+ locationLat: number;
13232
+ locationLon: number;
13233
+ locationName: string;
13234
+ locationAddress: string;
13235
+ mapZoom: number;
13236
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
13237
+ position: "fix" | "rotating" | "controllable";
13238
+ webPageUrl: string;
13199
13239
  }, {
13200
13240
  status: {
13201
13241
  led: boolean;
@@ -13281,6 +13321,14 @@ export declare const streamListSchema: z.ZodObject<{
13281
13321
  avSyncMsec: number;
13282
13322
  };
13283
13323
  platform: "windy";
13324
+ locationLat: number;
13325
+ locationLon: number;
13326
+ locationName: string;
13327
+ locationAddress: string;
13328
+ mapZoom: number;
13329
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
13330
+ position: "fix" | "rotating" | "controllable";
13331
+ webPageUrl: string;
13284
13332
  }>, z.ZodObject<{
13285
13333
  streamId: z.ZodString;
13286
13334
  enabled: z.ZodBoolean;
@@ -20580,6 +20628,14 @@ export declare const streamListSchema: z.ZodObject<{
20580
20628
  avSyncMsec: number;
20581
20629
  };
20582
20630
  platform: "windy";
20631
+ locationLat: number;
20632
+ locationLon: number;
20633
+ locationName: string;
20634
+ locationAddress: string;
20635
+ mapZoom: number;
20636
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
20637
+ position: "fix" | "rotating" | "controllable";
20638
+ webPageUrl: string;
20583
20639
  } | {
20584
20640
  status: {
20585
20641
  led: boolean;
@@ -22303,6 +22359,14 @@ export declare const streamListSchema: z.ZodObject<{
22303
22359
  avSyncMsec: number;
22304
22360
  };
22305
22361
  platform: "windy";
22362
+ locationLat: number;
22363
+ locationLon: number;
22364
+ locationName: string;
22365
+ locationAddress: string;
22366
+ mapZoom: number;
22367
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
22368
+ position: "fix" | "rotating" | "controllable";
22369
+ webPageUrl: string;
22306
22370
  } | {
22307
22371
  status: {
22308
22372
  led: boolean;
@@ -24378,6 +24442,14 @@ export declare const isWindyStream: (stream: TStream) => stream is {
24378
24442
  avSyncMsec: number;
24379
24443
  };
24380
24444
  platform: "windy";
24445
+ locationLat: number;
24446
+ locationLon: number;
24447
+ locationName: string;
24448
+ locationAddress: string;
24449
+ mapZoom: number;
24450
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
24451
+ position: "fix" | "rotating" | "controllable";
24452
+ webPageUrl: string;
24381
24453
  };
24382
24454
  export type TYouTubeStream = z.infer<typeof youtubeSchema>;
24383
24455
  export declare const isYouTubeStream: (stream: TStream) => stream is {
@@ -335,6 +335,14 @@ export declare const windySchema: z.ZodObject<{
335
335
  }>;
336
336
  } & {
337
337
  platform: z.ZodLiteral<"windy">;
338
+ locationLat: z.ZodNumber;
339
+ locationLon: z.ZodNumber;
340
+ locationName: z.ZodString;
341
+ locationAddress: z.ZodString;
342
+ mapZoom: z.ZodNumber;
343
+ direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
344
+ position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
345
+ webPageUrl: z.ZodString;
338
346
  }, "strip", z.ZodTypeAny, {
339
347
  status: {
340
348
  led: boolean;
@@ -420,6 +428,14 @@ export declare const windySchema: z.ZodObject<{
420
428
  avSyncMsec: number;
421
429
  };
422
430
  platform: "windy";
431
+ locationLat: number;
432
+ locationLon: number;
433
+ locationName: string;
434
+ locationAddress: string;
435
+ mapZoom: number;
436
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
437
+ position: "fix" | "rotating" | "controllable";
438
+ webPageUrl: string;
423
439
  }, {
424
440
  status: {
425
441
  led: boolean;
@@ -505,4 +521,14 @@ export declare const windySchema: z.ZodObject<{
505
521
  avSyncMsec: number;
506
522
  };
507
523
  platform: "windy";
524
+ locationLat: number;
525
+ locationLon: number;
526
+ locationName: string;
527
+ locationAddress: string;
528
+ mapZoom: number;
529
+ direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
530
+ position: "fix" | "rotating" | "controllable";
531
+ webPageUrl: string;
508
532
  }>;
533
+ export type TWindyDirection = z.infer<typeof windySchema>['direction'];
534
+ export type TWindyPosition = z.infer<typeof windySchema>['position'];
@@ -91,14 +91,14 @@ export declare const guardTourSchema: z.ZodObject<{
91
91
  waitTime: z.ZodUnknown;
92
92
  waitTimeViewType: z.ZodUnknown;
93
93
  }, "strip", z.ZodTypeAny, {
94
- moveSpeed?: unknown;
95
94
  position?: unknown;
95
+ moveSpeed?: unknown;
96
96
  presetNbr?: unknown;
97
97
  waitTime?: unknown;
98
98
  waitTimeViewType?: unknown;
99
99
  }, {
100
- moveSpeed?: unknown;
101
100
  position?: unknown;
101
+ moveSpeed?: unknown;
102
102
  presetNbr?: unknown;
103
103
  waitTime?: unknown;
104
104
  waitTimeViewType?: unknown;
@@ -108,8 +108,8 @@ export declare const guardTourSchema: z.ZodObject<{
108
108
  id: string;
109
109
  running: string;
110
110
  tour: {
111
- moveSpeed?: unknown;
112
111
  position?: unknown;
112
+ moveSpeed?: unknown;
113
113
  presetNbr?: unknown;
114
114
  waitTime?: unknown;
115
115
  waitTimeViewType?: unknown;
@@ -122,8 +122,8 @@ export declare const guardTourSchema: z.ZodObject<{
122
122
  id: string;
123
123
  running: string;
124
124
  tour: {
125
- moveSpeed?: unknown;
126
125
  position?: unknown;
126
+ moveSpeed?: unknown;
127
127
  presetNbr?: unknown;
128
128
  waitTime?: unknown;
129
129
  waitTimeViewType?: unknown;
@@ -1719,19 +1719,19 @@ export declare const portStatusSchema: z.ZodObject<{
1719
1719
  }, "strip", z.ZodTypeAny, {
1720
1720
  name: string;
1721
1721
  port: string;
1722
+ direction: "output" | "input";
1722
1723
  state: "open" | "closed";
1723
1724
  configurable: boolean;
1724
1725
  usage: string;
1725
- direction: "output" | "input";
1726
1726
  normalState: "open" | "closed";
1727
1727
  readonly?: boolean | undefined;
1728
1728
  }, {
1729
1729
  name: string;
1730
1730
  port: string;
1731
+ direction: "output" | "input";
1731
1732
  state: "open" | "closed";
1732
1733
  configurable: boolean;
1733
1734
  usage: string;
1734
- direction: "output" | "input";
1735
1735
  normalState: "open" | "closed";
1736
1736
  readonly?: boolean | undefined;
1737
1737
  }>;
@@ -1754,19 +1754,19 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1754
1754
  }, "strip", z.ZodTypeAny, {
1755
1755
  name: string;
1756
1756
  port: string;
1757
+ direction: "output" | "input";
1757
1758
  state: "open" | "closed";
1758
1759
  configurable: boolean;
1759
1760
  usage: string;
1760
- direction: "output" | "input";
1761
1761
  normalState: "open" | "closed";
1762
1762
  readonly?: boolean | undefined;
1763
1763
  }, {
1764
1764
  name: string;
1765
1765
  port: string;
1766
+ direction: "output" | "input";
1766
1767
  state: "open" | "closed";
1767
1768
  configurable: boolean;
1768
1769
  usage: string;
1769
- direction: "output" | "input";
1770
1770
  normalState: "open" | "closed";
1771
1771
  readonly?: boolean | undefined;
1772
1772
  }>, "many">;
@@ -1775,10 +1775,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1775
1775
  items: {
1776
1776
  name: string;
1777
1777
  port: string;
1778
+ direction: "output" | "input";
1778
1779
  state: "open" | "closed";
1779
1780
  configurable: boolean;
1780
1781
  usage: string;
1781
- direction: "output" | "input";
1782
1782
  normalState: "open" | "closed";
1783
1783
  readonly?: boolean | undefined;
1784
1784
  }[];
@@ -1787,10 +1787,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1787
1787
  items: {
1788
1788
  name: string;
1789
1789
  port: string;
1790
+ direction: "output" | "input";
1790
1791
  state: "open" | "closed";
1791
1792
  configurable: boolean;
1792
1793
  usage: string;
1793
- direction: "output" | "input";
1794
1794
  normalState: "open" | "closed";
1795
1795
  readonly?: boolean | undefined;
1796
1796
  }[];
@@ -1801,10 +1801,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1801
1801
  items: {
1802
1802
  name: string;
1803
1803
  port: string;
1804
+ direction: "output" | "input";
1804
1805
  state: "open" | "closed";
1805
1806
  configurable: boolean;
1806
1807
  usage: string;
1807
- direction: "output" | "input";
1808
1808
  normalState: "open" | "closed";
1809
1809
  readonly?: boolean | undefined;
1810
1810
  }[];
@@ -1818,10 +1818,10 @@ export declare const getPortsResponseSchema: z.ZodObject<{
1818
1818
  items: {
1819
1819
  name: string;
1820
1820
  port: string;
1821
+ direction: "output" | "input";
1821
1822
  state: "open" | "closed";
1822
1823
  configurable: boolean;
1823
1824
  usage: string;
1824
- direction: "output" | "input";
1825
1825
  normalState: "open" | "closed";
1826
1826
  readonly?: boolean | undefined;
1827
1827
  }[];
@@ -1841,15 +1841,15 @@ export declare const portSetSchema: z.ZodObject<{
1841
1841
  port: string;
1842
1842
  state: "open" | "closed";
1843
1843
  name?: string | undefined;
1844
- usage?: string | undefined;
1845
1844
  direction?: "output" | "input" | undefined;
1845
+ usage?: string | undefined;
1846
1846
  normalState?: "open" | "closed" | undefined;
1847
1847
  }, {
1848
1848
  port: string;
1849
1849
  state: "open" | "closed";
1850
1850
  name?: string | undefined;
1851
- usage?: string | undefined;
1852
1851
  direction?: "output" | "input" | undefined;
1852
+ usage?: string | undefined;
1853
1853
  normalState?: "open" | "closed" | undefined;
1854
1854
  }>;
1855
1855
  export type TPortSetSchema = z.infer<typeof portSetSchema>;