camstreamerlib 4.0.0-beta.31 → 4.0.0-beta.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/cjs/CamOverlayAPI.d.ts +1 -13
  2. package/cjs/CamOverlayAPI.js +2 -13
  3. package/cjs/index.d.ts +0 -1
  4. package/cjs/index.js +0 -1
  5. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
  6. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +35 -82
  7. package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
  8. package/cjs/types/CamOverlayAPI/accuweatherSchema.js +8 -11
  9. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
  10. package/cjs/types/CamOverlayAPI/customGraphicsSchema.js +6 -9
  11. package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
  12. package/cjs/types/CamOverlayAPI/imagesSchema.js +5 -8
  13. package/cjs/types/CamOverlayAPI/index.d.ts +2 -0
  14. package/cjs/types/CamOverlayAPI/index.js +2 -0
  15. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
  16. package/cjs/types/CamOverlayAPI/infotickerSchema.js +7 -10
  17. package/cjs/types/CamOverlayAPI/pipSchema.d.ts +5 -46
  18. package/cjs/types/CamOverlayAPI/pipSchema.js +5 -8
  19. package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
  20. package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +5 -8
  21. package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
  22. package/cjs/types/CamOverlayAPI/ptzSchema.js +5 -8
  23. package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
  24. package/cjs/types/CamOverlayAPI/screenSharingSchema.js +4 -7
  25. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
  26. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.js +4 -7
  27. package/cjs/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
  28. package/cjs/types/CamOverlayAPI/widgetCommonTypes.js +87 -0
  29. package/cjs/types/CamStreamerAPI.d.ts +4 -4
  30. package/esm/CamOverlayAPI.d.ts +1 -13
  31. package/esm/CamOverlayAPI.js +1 -12
  32. package/esm/index.d.ts +0 -1
  33. package/esm/index.js +0 -1
  34. package/esm/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
  35. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +17 -73
  36. package/esm/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
  37. package/esm/types/CamOverlayAPI/accuweatherSchema.js +1 -3
  38. package/esm/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
  39. package/esm/types/CamOverlayAPI/customGraphicsSchema.js +1 -3
  40. package/esm/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
  41. package/esm/types/CamOverlayAPI/imagesSchema.js +1 -3
  42. package/esm/types/CamOverlayAPI/index.d.ts +2 -0
  43. package/esm/types/CamOverlayAPI/index.js +2 -0
  44. package/esm/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
  45. package/esm/types/CamOverlayAPI/infotickerSchema.js +1 -3
  46. package/esm/types/CamOverlayAPI/pipSchema.d.ts +5 -46
  47. package/esm/types/CamOverlayAPI/pipSchema.js +1 -3
  48. package/esm/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
  49. package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -3
  50. package/esm/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
  51. package/esm/types/CamOverlayAPI/ptzSchema.js +1 -3
  52. package/esm/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
  53. package/esm/types/CamOverlayAPI/screenSharingSchema.js +1 -3
  54. package/esm/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
  55. package/esm/types/CamOverlayAPI/webCameraSharingSchema.js +1 -3
  56. package/esm/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
  57. package/esm/types/CamOverlayAPI/widgetCommonTypes.js +84 -0
  58. package/esm/types/CamStreamerAPI.d.ts +4 -4
  59. package/package.json +2 -2
@@ -3,19 +3,7 @@
3
3
  import { IClient, TBlobResponse, TResponse } from './internal/types';
4
4
  import { THttpRequestOptions, TProxyParams, TNetworkCamera } from './types/common';
5
5
  import { ProxyClient } from './internal/ProxyClient';
6
- import { ImageType, TCoordinates, TFile, TFileList, TFileType, TStorage, TStorageDataList, TWidget } from './types/CamOverlayAPI/CamOverlayAPI';
7
- import { TField } from './types/CamOverlayAPI';
8
- export declare const allowedWidgetNames: {
9
- readonly accuweather: "accuweather";
10
- readonly infoticker: "infoticker";
11
- readonly customGraphics: "customGraphics";
12
- readonly ptzCompass: "ptzCompass";
13
- readonly images: "images";
14
- readonly ptz: "ptz";
15
- readonly pip: "pip";
16
- readonly screenSharing: "screenSharing";
17
- readonly web_camera: "web_camera";
18
- };
6
+ import { ImageType, TCoordinates, TField, TFile, TFileList, TFileType, TStorage, TStorageDataList, TWidget } from './types/CamOverlayAPI';
19
7
  export declare class CamOverlayAPI<Client extends IClient<TResponse> = IClient<TResponse>> {
20
8
  private client;
21
9
  constructor(client: Client);
@@ -1,23 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CamOverlayAPI = exports.allowedWidgetNames = void 0;
3
+ exports.CamOverlayAPI = void 0;
4
4
  const utils_1 = require("./internal/utils");
5
5
  const errors_1 = require("./errors/errors");
6
6
  const common_1 = require("./types/common");
7
7
  const zod_1 = require("zod");
8
8
  const ProxyClient_1 = require("./internal/ProxyClient");
9
- const CamOverlayAPI_1 = require("./types/CamOverlayAPI/CamOverlayAPI");
10
- exports.allowedWidgetNames = {
11
- accuweather: 'accuweather',
12
- infoticker: 'infoticker',
13
- customGraphics: 'customGraphics',
14
- ptzCompass: 'ptzCompass',
15
- images: 'images',
16
- ptz: 'ptz',
17
- pip: 'pip',
18
- screenSharing: 'screenSharing',
19
- web_camera: 'web_camera',
20
- };
9
+ const CamOverlayAPI_1 = require("./types/CamOverlayAPI");
21
10
  const BASE_PATH = '/local/camoverlay/api';
22
11
  class CamOverlayAPI {
23
12
  client;
package/cjs/index.d.ts CHANGED
@@ -14,7 +14,6 @@ export * from './types/CamSwitcherEvents';
14
14
  export * from './types/CamSwitcherAPI';
15
15
  export * from './types/VapixAPI';
16
16
  export * from './types/CamOverlayAPI';
17
- export * from './types/CamOverlayAPI/CamOverlayAPI';
18
17
  export * from './types/PlaneTrackerAPI';
19
18
  export { Frame } from './CamOverlayPainter/Frame';
20
19
  export { Painter } from './CamOverlayPainter/Painter';
package/cjs/index.js CHANGED
@@ -38,7 +38,6 @@ __exportStar(require("./types/CamSwitcherEvents"), exports);
38
38
  __exportStar(require("./types/CamSwitcherAPI"), exports);
39
39
  __exportStar(require("./types/VapixAPI"), exports);
40
40
  __exportStar(require("./types/CamOverlayAPI"), exports);
41
- __exportStar(require("./types/CamOverlayAPI/CamOverlayAPI"), exports);
42
41
  __exportStar(require("./types/PlaneTrackerAPI"), exports);
43
42
  var Frame_1 = require("./CamOverlayPainter/Frame");
44
43
  Object.defineProperty(exports, "Frame", { enumerable: true, get: function () { return Frame_1.Frame; } });