camstreamerlib 4.0.0-beta.32 → 4.0.0-beta.34

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 (155) hide show
  1. package/cjs/CamOverlayAPI.js +2 -2
  2. package/cjs/CamStreamerAPI.js +54 -11
  3. package/cjs/CamSwitcherAPI.js +7 -7
  4. package/cjs/CamSwitcherEvents.js +4 -60
  5. package/cjs/PlaneTrackerAPI.js +52 -52
  6. package/cjs/VapixAPI.js +10 -7
  7. package/cjs/index.js +2 -11
  8. package/cjs/internal/ProxyClient.js +6 -6
  9. package/cjs/internal/WsEvents.js +72 -0
  10. package/cjs/node/DefaultClient.js +4 -4
  11. package/cjs/node/HttpRequestSender.js +1 -1
  12. package/cjs/node/WsClient.js +1 -1
  13. package/cjs/{events → node/events}/AxisCameraStationEvents.js +4 -4
  14. package/cjs/{events → node/events}/GenetecAgent.js +43 -32
  15. package/cjs/node/index.js +5 -8
  16. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +14 -1
  17. package/cjs/types/CamOverlayAPI/scoreBoardSchema.js +127 -0
  18. package/cjs/types/CamStreamerAPI.js +30 -3
  19. package/esm/CamOverlayAPI.js +2 -2
  20. package/esm/CamStreamerAPI.js +53 -11
  21. package/esm/CamSwitcherAPI.js +7 -7
  22. package/esm/CamSwitcherEvents.js +5 -61
  23. package/esm/PlaneTrackerAPI.js +52 -52
  24. package/esm/VapixAPI.js +10 -7
  25. package/esm/index.js +1 -6
  26. package/esm/internal/ProxyClient.js +6 -6
  27. package/esm/internal/WsEvents.js +68 -0
  28. package/esm/node/DefaultClient.js +4 -4
  29. package/esm/node/HttpRequestSender.js +1 -1
  30. package/esm/node/WsClient.js +1 -1
  31. package/esm/{events → node/events}/AxisCameraStationEvents.js +3 -3
  32. package/esm/{events → node/events}/GenetecAgent.js +41 -30
  33. package/esm/node/index.js +5 -4
  34. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +9 -0
  35. package/esm/types/CamOverlayAPI/scoreBoardSchema.js +124 -0
  36. package/esm/types/CamStreamerAPI.js +29 -2
  37. package/package.json +22 -2
  38. package/{cjs → types}/CamOverlayAPI.d.ts +3 -5
  39. package/{esm → types}/CamScripterAPI.d.ts +4 -4
  40. package/types/CamStreamerAPI.d.ts +48 -0
  41. package/{esm → types}/CamSwitcherAPI.d.ts +8 -8
  42. package/types/CamSwitcherEvents.d.ts +8 -0
  43. package/types/PlaneTrackerAPI.d.ts +43 -0
  44. package/{cjs → types}/VapixAPI.d.ts +11 -7
  45. package/{cjs → types}/index.d.ts +1 -6
  46. package/{esm → types}/internal/ProxyClient.d.ts +4 -4
  47. package/types/internal/WsEvents.d.ts +41 -0
  48. package/{esm → types}/internal/types.d.ts +12 -9
  49. package/{cjs → types}/node/DefaultClient.d.ts +6 -4
  50. package/{esm → types/node}/events/AxisCameraStationEvents.d.ts +4 -4
  51. package/{esm → types/node}/events/GenetecAgent.d.ts +14 -32
  52. package/types/node/index.d.ts +5 -0
  53. package/{cjs → types}/types/CamOverlayAPI/CamOverlayAPI.d.ts +1071 -7
  54. package/{esm → types}/types/CamOverlayAPI/infotickerSchema.d.ts +2 -2
  55. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +357 -0
  56. package/types/types/CamStreamerAPI.d.ts +274 -0
  57. package/types/web/DefaultClient.d.ts +6 -0
  58. package/cjs/CamScripterAPI.d.ts +0 -37
  59. package/cjs/CamStreamerAPI.d.ts +0 -19
  60. package/cjs/CamSwitcherAPI.d.ts +0 -54
  61. package/cjs/CamSwitcherEvents.d.ts +0 -18
  62. package/cjs/PlaneTrackerAPI.d.ts +0 -43
  63. package/cjs/events/AxisCameraStationEvents.d.ts +0 -12
  64. package/cjs/events/GenetecAgent.d.ts +0 -177
  65. package/cjs/internal/ProxyClient.d.ts +0 -10
  66. package/cjs/internal/types.d.ts +0 -42
  67. package/cjs/node/index.d.ts +0 -4
  68. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +0 -96
  69. package/cjs/types/CamStreamerAPI.d.ts +0 -150
  70. package/cjs/web/DefaultClient.d.ts +0 -6
  71. package/esm/CamOverlayAPI.d.ts +0 -41
  72. package/esm/CamOverlayDrawingAPI.d.ts +0 -41
  73. package/esm/CamOverlayPainter/Frame.d.ts +0 -67
  74. package/esm/CamOverlayPainter/Painter.d.ts +0 -43
  75. package/esm/CamOverlayPainter/ResourceManager.d.ts +0 -15
  76. package/esm/CamScripterAPICameraEventsGenerator.d.ts +0 -74
  77. package/esm/CamStreamerAPI.d.ts +0 -19
  78. package/esm/CamSwitcherEvents.d.ts +0 -18
  79. package/esm/CreatePackage.d.ts +0 -1
  80. package/esm/PlaneTrackerAPI.d.ts +0 -43
  81. package/esm/VapixAPI.d.ts +0 -80
  82. package/esm/VapixEvents.d.ts +0 -43
  83. package/esm/errors/errors.d.ts +0 -37
  84. package/esm/index.d.ts +0 -23
  85. package/esm/internal/Digest.d.ts +0 -4
  86. package/esm/internal/constants.d.ts +0 -1
  87. package/esm/internal/transformers.d.ts +0 -5
  88. package/esm/internal/utils.d.ts +0 -14
  89. package/esm/internal/versionCompare.d.ts +0 -6
  90. package/esm/node/DefaultClient.d.ts +0 -14
  91. package/esm/node/HttpRequestSender.d.ts +0 -29
  92. package/esm/node/HttpServer.d.ts +0 -21
  93. package/esm/node/WsClient.d.ts +0 -40
  94. package/esm/node/index.d.ts +0 -4
  95. package/esm/types/CamOverlayAPI/CamOverlayAPI.d.ts +0 -3260
  96. package/esm/types/CamOverlayAPI/accuweatherSchema.d.ts +0 -84
  97. package/esm/types/CamOverlayAPI/customGraphicsSchema.d.ts +0 -700
  98. package/esm/types/CamOverlayAPI/imagesSchema.d.ts +0 -95
  99. package/esm/types/CamOverlayAPI/index.d.ts +0 -11
  100. package/esm/types/CamOverlayAPI/pipSchema.d.ts +0 -125
  101. package/esm/types/CamOverlayAPI/ptzCompassSchema.d.ts +0 -93
  102. package/esm/types/CamOverlayAPI/ptzSchema.d.ts +0 -118
  103. package/esm/types/CamOverlayAPI/screenSharingSchema.d.ts +0 -58
  104. package/esm/types/CamOverlayAPI/webCameraSharingSchema.d.ts +0 -58
  105. package/esm/types/CamOverlayAPI/widgetCommonTypes.d.ts +0 -141
  106. package/esm/types/CamOverlayDrawingAPI.d.ts +0 -58
  107. package/esm/types/CamOverlayPainter.d.ts +0 -74
  108. package/esm/types/CamScripterAPI.d.ts +0 -132
  109. package/esm/types/CamStreamerAPI.d.ts +0 -150
  110. package/esm/types/CamSwitcherAPI.d.ts +0 -812
  111. package/esm/types/CamSwitcherEvents.d.ts +0 -568
  112. package/esm/types/PlaneTrackerAPI.d.ts +0 -8
  113. package/esm/types/VapixAPI.d.ts +0 -1819
  114. package/esm/types/common.d.ts +0 -46
  115. package/esm/web/DefaultClient.d.ts +0 -6
  116. package/esm/web/WsClient.d.ts +0 -13
  117. package/esm/web/index.d.ts +0 -2
  118. /package/cjs/{internal → node}/Digest.js +0 -0
  119. /package/esm/{internal → node}/Digest.js +0 -0
  120. /package/{cjs → types}/CamOverlayDrawingAPI.d.ts +0 -0
  121. /package/{cjs → types}/CamOverlayPainter/Frame.d.ts +0 -0
  122. /package/{cjs → types}/CamOverlayPainter/Painter.d.ts +0 -0
  123. /package/{cjs → types}/CamOverlayPainter/ResourceManager.d.ts +0 -0
  124. /package/{cjs → types}/CamScripterAPICameraEventsGenerator.d.ts +0 -0
  125. /package/{cjs → types}/CreatePackage.d.ts +0 -0
  126. /package/{cjs → types}/VapixEvents.d.ts +0 -0
  127. /package/{cjs → types}/errors/errors.d.ts +0 -0
  128. /package/{cjs → types}/internal/constants.d.ts +0 -0
  129. /package/{cjs → types}/internal/transformers.d.ts +0 -0
  130. /package/{cjs → types}/internal/utils.d.ts +0 -0
  131. /package/{cjs → types}/internal/versionCompare.d.ts +0 -0
  132. /package/{cjs/internal → types/node}/Digest.d.ts +0 -0
  133. /package/{cjs → types}/node/HttpRequestSender.d.ts +0 -0
  134. /package/{cjs → types}/node/HttpServer.d.ts +0 -0
  135. /package/{cjs → types}/node/WsClient.d.ts +0 -0
  136. /package/{cjs → types}/types/CamOverlayAPI/accuweatherSchema.d.ts +0 -0
  137. /package/{cjs → types}/types/CamOverlayAPI/customGraphicsSchema.d.ts +0 -0
  138. /package/{cjs → types}/types/CamOverlayAPI/imagesSchema.d.ts +0 -0
  139. /package/{cjs → types}/types/CamOverlayAPI/index.d.ts +0 -0
  140. /package/{cjs → types}/types/CamOverlayAPI/pipSchema.d.ts +0 -0
  141. /package/{cjs → types}/types/CamOverlayAPI/ptzCompassSchema.d.ts +0 -0
  142. /package/{cjs → types}/types/CamOverlayAPI/ptzSchema.d.ts +0 -0
  143. /package/{cjs → types}/types/CamOverlayAPI/screenSharingSchema.d.ts +0 -0
  144. /package/{cjs → types}/types/CamOverlayAPI/webCameraSharingSchema.d.ts +0 -0
  145. /package/{cjs → types}/types/CamOverlayAPI/widgetCommonTypes.d.ts +0 -0
  146. /package/{cjs → types}/types/CamOverlayDrawingAPI.d.ts +0 -0
  147. /package/{cjs → types}/types/CamOverlayPainter.d.ts +0 -0
  148. /package/{cjs → types}/types/CamScripterAPI.d.ts +0 -0
  149. /package/{cjs → types}/types/CamSwitcherAPI.d.ts +0 -0
  150. /package/{cjs → types}/types/CamSwitcherEvents.d.ts +0 -0
  151. /package/{cjs → types}/types/PlaneTrackerAPI.d.ts +0 -0
  152. /package/{cjs → types}/types/VapixAPI.d.ts +0 -0
  153. /package/{cjs → types}/types/common.d.ts +0 -0
  154. /package/{cjs → types}/web/WsClient.d.ts +0 -0
  155. /package/{cjs → types}/web/index.d.ts +0 -0
@@ -1,84 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const accuweatherSchema: z.ZodObject<{
3
- id: z.ZodNumber;
4
- enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
5
- automationType: z.ZodUnion<[z.ZodLiteral<"time">, z.ZodLiteral<"manual">, z.ZodLiteral<"schedule">, z.ZodType<`input${number}`, z.ZodTypeDef, `input${number}`>]>;
6
- invertInput: z.ZodOptional<z.ZodBoolean>;
7
- cameraList: z.ZodArray<z.ZodNumber, "many">;
8
- camera: z.ZodOptional<z.ZodNumber>;
9
- schedule: z.ZodOptional<z.ZodString>;
10
- customName: z.ZodString;
11
- zIndex: z.ZodOptional<z.ZodNumber>;
12
- width: z.ZodNumber;
13
- height: z.ZodNumber;
14
- } & {
15
- name: z.ZodLiteral<"accuweather">;
16
- location: z.ZodString;
17
- locationName: z.ZodString;
18
- 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.ZodType<string, z.ZodTypeDef, string>]>;
24
- units: z.ZodUnion<[z.ZodLiteral<"Metric">, z.ZodLiteral<"Imperial">]>;
25
- pos_x: z.ZodNumber;
26
- 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">]>;
29
- scale: z.ZodNumber;
30
- }, "strip", z.ZodTypeAny, {
31
- name: "accuweather";
32
- enabled: 0 | 1;
33
- id: number;
34
- width: number;
35
- height: number;
36
- automationType: "time" | "manual" | "schedule" | `input${number}`;
37
- cameraList: number[];
38
- customName: string;
39
- pos_x: number;
40
- pos_y: number;
41
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
42
- scale: number;
43
- clockType: "12h" | "24h";
44
- font: string;
45
- location: string;
46
- locationName: string;
47
- title: 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
- id: number;
61
- width: number;
62
- height: number;
63
- automationType: "time" | "manual" | "schedule" | `input${number}`;
64
- cameraList: number[];
65
- customName: string;
66
- pos_x: number;
67
- pos_y: number;
68
- coordSystem: "top_left" | "top" | "top_right" | "left" | "center" | "right" | "bottom_left" | "bottom" | "bottom_right";
69
- scale: number;
70
- clockType: "12h" | "24h";
71
- font: string;
72
- location: string;
73
- locationName: string;
74
- title: string;
75
- bgStartColor: "237,143,73,0.93" | "0,0,0,0.75" | "31,32,73,0.9" | "76,94,127,0.95";
76
- bgEndColor: "0,0,0,0.75" | "234,181,89,0.93" | "73,96,213,0.9" | "140,150,168,0.95";
77
- 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";
78
- units: "Metric" | "Imperial";
79
- layout: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13";
80
- camera?: number | undefined;
81
- schedule?: string | undefined;
82
- invertInput?: boolean | undefined;
83
- zIndex?: number | undefined;
84
- }>;