camstreamerlib 4.0.0-beta.31 → 4.0.0-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/CamOverlayAPI.d.ts +1 -13
- package/cjs/CamOverlayAPI.js +2 -13
- package/cjs/events/GenetecAgent.d.ts +14 -32
- package/cjs/events/GenetecAgent.js +42 -31
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -1
- package/cjs/node/index.d.ts +4 -3
- package/cjs/node/index.js +4 -7
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +35 -82
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
- package/cjs/types/CamOverlayAPI/accuweatherSchema.js +8 -11
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.js +6 -9
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
- package/cjs/types/CamOverlayAPI/imagesSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/index.d.ts +2 -0
- package/cjs/types/CamOverlayAPI/index.js +2 -0
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
- package/cjs/types/CamOverlayAPI/infotickerSchema.js +7 -10
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +5 -46
- package/cjs/types/CamOverlayAPI/pipSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
- package/cjs/types/CamOverlayAPI/ptzSchema.js +5 -8
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
- package/cjs/types/CamOverlayAPI/screenSharingSchema.js +4 -7
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.js +4 -7
- package/cjs/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
- package/cjs/types/CamOverlayAPI/widgetCommonTypes.js +87 -0
- package/cjs/types/CamStreamerAPI.d.ts +4 -4
- package/esm/CamOverlayAPI.d.ts +1 -13
- package/esm/CamOverlayAPI.js +1 -12
- package/esm/events/GenetecAgent.d.ts +14 -32
- package/esm/events/GenetecAgent.js +40 -29
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/node/index.d.ts +4 -3
- package/esm/node/index.js +4 -3
- package/esm/types/CamOverlayAPI/CamOverlayAPI.d.ts +708 -519
- package/esm/types/CamOverlayAPI/CamOverlayAPI.js +17 -73
- package/esm/types/CamOverlayAPI/accuweatherSchema.d.ts +7 -37
- package/esm/types/CamOverlayAPI/accuweatherSchema.js +1 -3
- package/esm/types/CamOverlayAPI/customGraphicsSchema.d.ts +63 -146
- package/esm/types/CamOverlayAPI/customGraphicsSchema.js +1 -3
- package/esm/types/CamOverlayAPI/imagesSchema.d.ts +8 -35
- package/esm/types/CamOverlayAPI/imagesSchema.js +1 -3
- package/esm/types/CamOverlayAPI/index.d.ts +2 -0
- package/esm/types/CamOverlayAPI/index.js +2 -0
- package/esm/types/CamOverlayAPI/infotickerSchema.d.ts +9 -43
- package/esm/types/CamOverlayAPI/infotickerSchema.js +1 -3
- package/esm/types/CamOverlayAPI/pipSchema.d.ts +5 -46
- package/esm/types/CamOverlayAPI/pipSchema.js +1 -3
- package/esm/types/CamOverlayAPI/ptzCompassSchema.d.ts +7 -40
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -3
- package/esm/types/CamOverlayAPI/ptzSchema.d.ts +10 -38
- package/esm/types/CamOverlayAPI/ptzSchema.js +1 -3
- package/esm/types/CamOverlayAPI/screenSharingSchema.d.ts +3 -24
- package/esm/types/CamOverlayAPI/screenSharingSchema.js +1 -3
- package/esm/types/CamOverlayAPI/webCameraSharingSchema.d.ts +3 -24
- package/esm/types/CamOverlayAPI/webCameraSharingSchema.js +1 -3
- package/esm/types/CamOverlayAPI/widgetCommonTypes.d.ts +141 -0
- package/esm/types/CamOverlayAPI/widgetCommonTypes.js +84 -0
- package/esm/types/CamStreamerAPI.d.ts +4 -4
- package/package.json +2 -2
package/cjs/CamOverlayAPI.d.ts
CHANGED
|
@@ -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
|
|
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);
|
package/cjs/CamOverlayAPI.js
CHANGED
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CamOverlayAPI =
|
|
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
|
|
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const cameraGuidsResponseSchema: z.ZodObject<{
|
|
3
3
|
Rsp: z.ZodObject<{
|
|
4
|
-
Status: z.
|
|
4
|
+
Status: z.ZodLiteral<"Ok">;
|
|
5
5
|
Result: z.ZodArray<z.ZodObject<{
|
|
6
6
|
Guid: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10,51 +10,33 @@ declare const cameraGuidsResponseSchema: z.ZodObject<{
|
|
|
10
10
|
Guid: string;
|
|
11
11
|
}>, "many">;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
Status:
|
|
13
|
+
Status: "Ok";
|
|
14
14
|
Result: {
|
|
15
15
|
Guid: string;
|
|
16
16
|
}[];
|
|
17
17
|
}, {
|
|
18
|
-
Status:
|
|
18
|
+
Status: "Ok";
|
|
19
19
|
Result: {
|
|
20
20
|
Guid: string;
|
|
21
21
|
}[];
|
|
22
22
|
}>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
Rsp: {
|
|
25
|
-
Status:
|
|
25
|
+
Status: "Ok";
|
|
26
26
|
Result: {
|
|
27
27
|
Guid: string;
|
|
28
28
|
}[];
|
|
29
29
|
};
|
|
30
30
|
}, {
|
|
31
31
|
Rsp: {
|
|
32
|
-
Status:
|
|
32
|
+
Status: "Ok";
|
|
33
33
|
Result: {
|
|
34
34
|
Guid: string;
|
|
35
35
|
}[];
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
38
|
export type TCameraGuidsResponse = z.infer<typeof cameraGuidsResponseSchema>;
|
|
39
|
-
declare const
|
|
40
|
-
Rsp: z.ZodObject<{
|
|
41
|
-
Status: z.ZodString;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
Status: string;
|
|
44
|
-
}, {
|
|
45
|
-
Status: string;
|
|
46
|
-
}>;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
Rsp: {
|
|
49
|
-
Status: string;
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
|
-
Rsp: {
|
|
53
|
-
Status: string;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
export type TConnectionResponse = z.infer<typeof connectionResponseSchema>;
|
|
57
|
-
export declare const cameraDetailSchema: z.ZodObject<{
|
|
39
|
+
declare const cameraDetailSchema: z.ZodObject<{
|
|
58
40
|
Guid: z.ZodOptional<z.ZodString>;
|
|
59
41
|
Name: z.ZodOptional<z.ZodString>;
|
|
60
42
|
EntityType: z.ZodOptional<z.ZodString>;
|
|
@@ -67,9 +49,9 @@ export declare const cameraDetailSchema: z.ZodObject<{
|
|
|
67
49
|
Guid?: string | undefined;
|
|
68
50
|
EntityType?: string | undefined;
|
|
69
51
|
}>;
|
|
70
|
-
|
|
52
|
+
declare const cameraDetailsResponseSchema: z.ZodObject<{
|
|
71
53
|
Rsp: z.ZodObject<{
|
|
72
|
-
Status: z.
|
|
54
|
+
Status: z.ZodLiteral<"Ok">;
|
|
73
55
|
Result: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
74
56
|
Guid: z.ZodOptional<z.ZodString>;
|
|
75
57
|
Name: z.ZodOptional<z.ZodString>;
|
|
@@ -96,7 +78,7 @@ export declare const cameraDetailsResponseSchema: z.ZodObject<{
|
|
|
96
78
|
EntityType?: string | undefined;
|
|
97
79
|
}>]>;
|
|
98
80
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
Status:
|
|
81
|
+
Status: "Ok";
|
|
100
82
|
Result: {
|
|
101
83
|
Name?: string | undefined;
|
|
102
84
|
Guid?: string | undefined;
|
|
@@ -107,7 +89,7 @@ export declare const cameraDetailsResponseSchema: z.ZodObject<{
|
|
|
107
89
|
EntityType?: string | undefined;
|
|
108
90
|
}[];
|
|
109
91
|
}, {
|
|
110
|
-
Status:
|
|
92
|
+
Status: "Ok";
|
|
111
93
|
Result: {
|
|
112
94
|
Name?: string | undefined;
|
|
113
95
|
Guid?: string | undefined;
|
|
@@ -120,7 +102,7 @@ export declare const cameraDetailsResponseSchema: z.ZodObject<{
|
|
|
120
102
|
}>;
|
|
121
103
|
}, "strip", z.ZodTypeAny, {
|
|
122
104
|
Rsp: {
|
|
123
|
-
Status:
|
|
105
|
+
Status: "Ok";
|
|
124
106
|
Result: {
|
|
125
107
|
Name?: string | undefined;
|
|
126
108
|
Guid?: string | undefined;
|
|
@@ -133,7 +115,7 @@ export declare const cameraDetailsResponseSchema: z.ZodObject<{
|
|
|
133
115
|
};
|
|
134
116
|
}, {
|
|
135
117
|
Rsp: {
|
|
136
|
-
Status:
|
|
118
|
+
Status: "Ok";
|
|
137
119
|
Result: {
|
|
138
120
|
Name?: string | undefined;
|
|
139
121
|
Guid?: string | undefined;
|
|
@@ -164,12 +146,12 @@ export declare class GenetecAgent {
|
|
|
164
146
|
private baseUrl;
|
|
165
147
|
private credentials;
|
|
166
148
|
constructor(options?: GenetecAgentOptions);
|
|
167
|
-
checkConnection(): Promise<
|
|
149
|
+
checkConnection(): Promise<void>;
|
|
168
150
|
getAllCameraGuids(): Promise<TCameraGuidsResponse>;
|
|
169
151
|
getCameraDetails(guids: {
|
|
170
152
|
Guid: string;
|
|
171
153
|
}[], parameters: TParams): Promise<TCameraDetail[]>;
|
|
172
|
-
sendBookmark(guids: string[], bookmarkText: string): Promise<
|
|
154
|
+
sendBookmark(guids: string[], bookmarkText: string): Promise<void>;
|
|
173
155
|
private getRequestOptions;
|
|
174
156
|
private getTimeStamp;
|
|
175
157
|
private fetchWithTimeout;
|
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenetecAgent =
|
|
3
|
+
exports.GenetecAgent = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const utils_1 = require("../internal/utils");
|
|
6
|
-
const
|
|
7
|
-
const GET_CAMERAS_URL = 'report/EntityConfiguration?q=EntityTypes@Camera';
|
|
8
|
-
const GET_CAMERAS_DETAILS_URL = '/entity?q=';
|
|
9
|
-
const cameraGuidsResponseSchema = zod_1.z.object({
|
|
6
|
+
const successResponseSchema = zod_1.z.object({
|
|
10
7
|
Rsp: zod_1.z.object({
|
|
11
|
-
Status: zod_1.z.
|
|
12
|
-
Result: zod_1.z.array(zod_1.z.object({ Guid: zod_1.z.string() })),
|
|
8
|
+
Status: zod_1.z.literal('Ok'),
|
|
13
9
|
}),
|
|
14
10
|
});
|
|
15
|
-
const
|
|
11
|
+
const cameraGuidsResponseSchema = zod_1.z.object({
|
|
16
12
|
Rsp: zod_1.z.object({
|
|
17
|
-
Status: zod_1.z.
|
|
13
|
+
Status: zod_1.z.literal('Ok'),
|
|
14
|
+
Result: zod_1.z.array(zod_1.z.object({ Guid: zod_1.z.string() })),
|
|
18
15
|
}),
|
|
19
16
|
});
|
|
20
|
-
|
|
17
|
+
const cameraDetailSchema = zod_1.z.object({
|
|
21
18
|
Guid: zod_1.z.string().optional(),
|
|
22
19
|
Name: zod_1.z.string().optional(),
|
|
23
20
|
EntityType: zod_1.z.string().optional(),
|
|
24
21
|
});
|
|
25
|
-
|
|
22
|
+
const cameraDetailsResponseSchema = zod_1.z.object({
|
|
26
23
|
Rsp: zod_1.z.object({
|
|
27
|
-
Status: zod_1.z.
|
|
28
|
-
Result: zod_1.z.union([zod_1.z.array(
|
|
24
|
+
Status: zod_1.z.literal('Ok'),
|
|
25
|
+
Result: zod_1.z.union([zod_1.z.array(cameraDetailSchema), cameraDetailSchema]),
|
|
29
26
|
}),
|
|
30
27
|
});
|
|
31
28
|
class GenetecAgent {
|
|
@@ -48,56 +45,70 @@ class GenetecAgent {
|
|
|
48
45
|
}
|
|
49
46
|
async checkConnection() {
|
|
50
47
|
const requestOptions = this.getRequestOptions('GET');
|
|
51
|
-
const res = await this.fetchWithTimeout(
|
|
48
|
+
const res = await this.fetchWithTimeout(new URL(this.baseUrl), requestOptions);
|
|
52
49
|
if (!res.ok) {
|
|
53
50
|
throw new Error(await (0, utils_1.responseStringify)(res));
|
|
54
51
|
}
|
|
55
|
-
|
|
52
|
+
const responseBody = await res.text();
|
|
53
|
+
const result = await successResponseSchema.safeParseAsync(JSON.parse(responseBody));
|
|
54
|
+
if (!result.success) {
|
|
55
|
+
throw new Error('Genetec connection test failed: ' + JSON.stringify(result.error.issues) + '\n' + responseBody);
|
|
56
|
+
}
|
|
56
57
|
}
|
|
57
58
|
async getAllCameraGuids() {
|
|
58
59
|
const requestOptions = this.getRequestOptions('GET');
|
|
59
|
-
const
|
|
60
|
+
const url = new URL(`${this.baseUrl}/report/EntityConfiguration`);
|
|
61
|
+
url.searchParams.set('q', 'EntityTypes@Camera');
|
|
62
|
+
const res = await this.fetchWithTimeout(url, requestOptions);
|
|
60
63
|
if (!res.ok) {
|
|
61
64
|
throw new Error(await (0, utils_1.responseStringify)(res));
|
|
62
65
|
}
|
|
63
|
-
|
|
66
|
+
const responseBody = await res.text();
|
|
67
|
+
const result = await cameraGuidsResponseSchema.safeParseAsync(JSON.parse(responseBody));
|
|
68
|
+
if (!result.success) {
|
|
69
|
+
throw new Error('Genetec get camera guids failed: ' + JSON.stringify(result.error.issues) + '\n' + responseBody);
|
|
70
|
+
}
|
|
71
|
+
return result.data;
|
|
64
72
|
}
|
|
65
73
|
async getCameraDetails(guids, parameters) {
|
|
66
74
|
const params = parameters.join(',');
|
|
67
|
-
let camerasGuids = [];
|
|
68
75
|
const requestOptions = this.getRequestOptions('GET');
|
|
69
76
|
const allCameras = [];
|
|
70
77
|
const chunkSize = 10;
|
|
71
78
|
while (guids.length > 0) {
|
|
72
79
|
const chunk = guids.slice(0, chunkSize);
|
|
73
80
|
guids.splice(0, chunkSize);
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
camerasDetailsUrl.push(`entity=${guid},${params}`);
|
|
78
|
-
}
|
|
79
|
-
const res = await this.fetchWithTimeout(`${this.baseUrl}/${GET_CAMERAS_DETAILS_URL}${camerasDetailsUrl.join(',')}`, requestOptions);
|
|
81
|
+
const url = new URL(`${this.baseUrl}/entity`);
|
|
82
|
+
url.searchParams.set('q', chunk.map((item) => `entity=${item.Guid},${params}`).join(','));
|
|
83
|
+
const res = await this.fetchWithTimeout(url, requestOptions);
|
|
80
84
|
if (!res.ok) {
|
|
81
85
|
throw new Error(await (0, utils_1.responseStringify)(res));
|
|
82
86
|
}
|
|
83
|
-
const
|
|
87
|
+
const responseBody = await res.text();
|
|
88
|
+
const result = await cameraDetailsResponseSchema.safeParseAsync(JSON.parse(responseBody));
|
|
89
|
+
if (!result.success) {
|
|
90
|
+
throw new Error('Genetec get camera details failed: ' + JSON.stringify(result.error.issues) + '\n' + responseBody);
|
|
91
|
+
}
|
|
92
|
+
const data = result.data;
|
|
84
93
|
const resultArray = Array.isArray(data.Rsp.Result) ? data.Rsp.Result : [data.Rsp.Result];
|
|
85
94
|
allCameras.push(...resultArray);
|
|
86
95
|
}
|
|
87
96
|
return allCameras;
|
|
88
97
|
}
|
|
89
98
|
async sendBookmark(guids, bookmarkText) {
|
|
90
|
-
const cameraEntitiesUrl = [];
|
|
91
99
|
const timeStamp = this.getTimeStamp();
|
|
92
100
|
const requestOptions = this.getRequestOptions('POST');
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
const res = await this.fetchWithTimeout(`${this.baseUrl}/action?q=${cameraEntitiesUrl.join(',')}`, requestOptions);
|
|
101
|
+
const url = new URL(`${this.baseUrl}/action`);
|
|
102
|
+
url.searchParams.set('q', guids.map((guid) => `AddCameraBookmark(${guid},${timeStamp},${bookmarkText})`).join(','));
|
|
103
|
+
const res = await this.fetchWithTimeout(url, requestOptions);
|
|
97
104
|
if (!res.ok) {
|
|
98
105
|
throw new Error(await (0, utils_1.responseStringify)(res));
|
|
99
106
|
}
|
|
100
|
-
|
|
107
|
+
const responseBody = await res.text();
|
|
108
|
+
const result = await successResponseSchema.safeParseAsync(JSON.parse(responseBody));
|
|
109
|
+
if (!result.success) {
|
|
110
|
+
throw new Error('Genetec send bookmark failed: ' + JSON.stringify(result.error.issues) + '\n' + responseBody);
|
|
111
|
+
}
|
|
101
112
|
}
|
|
102
113
|
getRequestOptions(method) {
|
|
103
114
|
return {
|
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; } });
|
package/cjs/node/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './DefaultClient';
|
|
2
|
+
export * from './WsClient';
|
|
3
|
+
export * from './HttpServer';
|
|
4
|
+
export * from '../events/AxisCameraStationEvents';
|
|
4
5
|
export * from '../events/GenetecAgent';
|
package/cjs/node/index.js
CHANGED
|
@@ -14,11 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Object.defineProperty(exports, "WsClient", { enumerable: true, get: function () { return WsClient_1.WsClient; } });
|
|
22
|
-
var AxisCameraStationEvents_1 = require("../events/AxisCameraStationEvents");
|
|
23
|
-
Object.defineProperty(exports, "AxisCameraStationEvents", { enumerable: true, get: function () { return AxisCameraStationEvents_1.AxisCameraStationEvents; } });
|
|
17
|
+
__exportStar(require("./DefaultClient"), exports);
|
|
18
|
+
__exportStar(require("./WsClient"), exports);
|
|
19
|
+
__exportStar(require("./HttpServer"), exports);
|
|
20
|
+
__exportStar(require("../events/AxisCameraStationEvents"), exports);
|
|
24
21
|
__exportStar(require("../events/GenetecAgent"), exports);
|