camstreamerlib 4.0.34 → 4.0.35-bc56d1e

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.
@@ -14,6 +14,12 @@ export declare class CamOverlayAPI<Client extends IClient<TResponse, any>> exten
14
14
  }[]>;
15
15
  wsAuthorization(options?: THttpRequestOptions): Promise<string>;
16
16
  getMjpegStreamImage(mjpegUrl: string, options?: THttpRequestOptions): Promise<ReturnType<Awaited<ReturnType<Client["get"]>>["blob"]>>;
17
+ isViewerPassValid(pass: string, options?: THttpRequestOptions): Promise<boolean>;
18
+ getLiveViewAlias(rtspUrl: string, options?: THttpRequestOptions): Promise<{
19
+ alias: string;
20
+ ws: string;
21
+ ws_initial_message: string;
22
+ }>;
17
23
  listFiles<T extends TFileType>(fileType: T, options?: THttpRequestOptions): Promise<TFileList<T>>;
18
24
  uploadFile<T extends TFileType>(fileType: T, formData: Parameters<Client['post']>[0]['data'], storage: TFileStorageType<T>, options?: THttpRequestOptions): Promise<void>;
19
25
  removeFile<T extends TFileType>(fileType: T, fileParams: TFile<T>, options?: THttpRequestOptions): Promise<void>;
@@ -29,6 +29,22 @@ class CamOverlayAPI extends BasicAPI_1.BasicAPI {
29
29
  async getMjpegStreamImage(mjpegUrl, options) {
30
30
  return await this._getBlob(`${BASE_PATH}/fetch_mjpeg_image.cgi`, { mjpeg_url: decodeURIComponent(mjpegUrl) }, options);
31
31
  }
32
+ async isViewerPassValid(pass, options) {
33
+ const res = await this._getJson(`${BASE_PATH}/check_pass.cgi`, { pass }, options);
34
+ if (res.status !== 200) {
35
+ throw new Error(res.message);
36
+ }
37
+ return res.data === '1';
38
+ }
39
+ async getLiveViewAlias(rtspUrl, options) {
40
+ const agent = this.getClient(options?.proxyParams);
41
+ const res = await agent.get({
42
+ path: `${BASE_PATH}/getLiveViewAlias.cgi`,
43
+ parameters: { rtsp_url: rtspUrl },
44
+ timeout: options?.timeout,
45
+ });
46
+ return common_1.wsAliasResponseSchema.parse(await res.json());
47
+ }
32
48
  async listFiles(fileType, options) {
33
49
  const res = await this._getJson(`${BASE_PATH}/upload_${fileType}.cgi`, { action: 'list' }, options);
34
50
  return (0, CamOverlayAPI_1.getFileListSchema)(fileType).parse(res.list);
@@ -28,9 +28,9 @@ export declare class CamSwitcherAPI<Client extends IClient<TResponse, any>> exte
28
28
  }[]>;
29
29
  wsAuthorization(options?: THttpRequestOptions): Promise<string>;
30
30
  getOutputInfo(options?: THttpRequestOptions): Promise<{
31
- rtspUrl: string;
32
31
  ws: string;
33
32
  wsInitialMessage: string;
33
+ rtspUrl: string;
34
34
  }>;
35
35
  getAudioPushInfo(options?: THttpRequestOptions): Promise<{
36
36
  ws: string;
@@ -12,9 +12,9 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
12
12
  checkCameraTime(options?: THttpRequestOptions): Promise<boolean>;
13
13
  serverRunCheck(options?: THttpRequestOptions): Promise<boolean>;
14
14
  getLiveViewAlias(rtspUrl: string, options?: THttpRequestOptions): Promise<{
15
+ alias: string;
15
16
  ws: string;
16
17
  ws_initial_message: string;
17
- alias: string;
18
18
  }>;
19
19
  resetPtzCalibration(options?: THttpRequestOptions): Promise<void>;
20
20
  resetFocusCalibration(options?: THttpRequestOptions): Promise<void>;
@@ -45,8 +45,23 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
45
45
  focusCalibrationPoints: string;
46
46
  };
47
47
  cameraConfig: {
48
- defaultCaptureSizeMeters: number;
49
- captureSizeExtensionMeters: number;
48
+ aircraft: {
49
+ defaultCaptureSizeMeters: number;
50
+ captureSizeExtensionMeters: number;
51
+ };
52
+ drone: {
53
+ defaultCaptureSizeMeters: number;
54
+ captureSizeExtensionMeters: number;
55
+ };
56
+ } | {
57
+ aircraft: {
58
+ defaultCaptureSizeMeters: number;
59
+ captureSizeExtensionMeters: number;
60
+ };
61
+ drone: {
62
+ defaultCaptureSizeMeters: number;
63
+ captureSizeExtensionMeters: number;
64
+ };
50
65
  };
51
66
  stream: {
52
67
  width: number;
@@ -99,11 +114,29 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
99
114
  priority: number;
100
115
  };
101
116
  identificationLabel: {
102
- firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
103
- secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
104
- thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
105
- fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
106
- opacity: number;
117
+ aircraft: {
118
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
119
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
120
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
121
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
122
+ opacity: number;
123
+ };
124
+ drone: {
125
+ firstRow: "blank" | "remote_id";
126
+ opacity: number;
127
+ };
128
+ } | {
129
+ aircraft: {
130
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
131
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
132
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
133
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
134
+ opacity: number;
135
+ };
136
+ drone: {
137
+ firstRow: "blank" | "remote_id";
138
+ opacity: number;
139
+ };
107
140
  };
108
141
  acs: {
109
142
  ip: string;
@@ -181,11 +214,11 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
181
214
  importAppSettings(dataType: TImportDataType, formData: Parameters<Client['post']>[0]['data'], options?: THttpRequestOptions): Promise<void>;
182
215
  getDomainList(options?: THttpRequestOptions): Promise<Partial<Record<"adsb" | "remoteId", {
183
216
  uiName: string;
184
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
217
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
185
218
  categoryList: {
186
219
  categoryId: string;
187
220
  uiName: string;
188
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
221
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
189
222
  }[];
190
223
  }>>>;
191
224
  fetchFlightInfo(targetId: string, options?: THttpRequestOptions): Promise<{
@@ -4,6 +4,7 @@ exports.PlaneTrackerAPI = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const PlaneTrackerAPI_1 = require("./types/PlaneTrackerAPI");
6
6
  const errors_1 = require("./errors/errors");
7
+ const common_1 = require("./types/common");
7
8
  const BasicAPI_1 = require("./internal/BasicAPI");
8
9
  const PlaneTrackerEvents_1 = require("./types/ws/PlaneTrackerEvents");
9
10
  const BASE_PATH = '/local/planetracker';
@@ -37,7 +38,7 @@ class PlaneTrackerAPI extends BasicAPI_1.BasicAPI {
37
38
  parameters: { rtsp_url: rtspUrl },
38
39
  timeout: options?.timeout,
39
40
  });
40
- return PlaneTrackerAPI_1.wsAliasResponseSchema.parse(await res.json());
41
+ return common_1.wsAliasResponseSchema.parse(await res.json());
41
42
  }
42
43
  async resetPtzCalibration(options) {
43
44
  const agent = this.getClient(options?.proxyParams);
package/cjs/VapixAPI.js CHANGED
@@ -93,7 +93,9 @@ class VapixAPI extends BasicAPI_1.BasicAPI {
93
93
  };
94
94
  await this._postJsonEncoded('/axis-cgi/opticscontrol.cgi', data, undefined, options);
95
95
  }
96
- catch {
96
+ catch (error) {
97
+ console.warn('Failed to perform autofocus: ', error instanceof Error ? error.message : String(error));
98
+ console.warn('Falling back to deprecated optics setup API');
97
99
  await this._postUrlEncoded('/axis-cgi/opticssetup.cgi', {
98
100
  autofocus: 'perform',
99
101
  source: '1',
@@ -144,7 +146,7 @@ class VapixAPI extends BasicAPI_1.BasicAPI {
144
146
  return data.data.activeTimeZone;
145
147
  }
146
148
  catch (error) {
147
- console.warn('Failed to fetch time zone data from time API v2:', error instanceof Error ? error.message : JSON.stringify(error));
149
+ console.warn('Failed to fetch time zone data from time API v2:', error instanceof Error ? error.message : String(error));
148
150
  console.warn('Falling back to deprecated time API v1');
149
151
  }
150
152
  try {
@@ -26,7 +26,7 @@ class ServiceNotFoundError extends Error {
26
26
  exports.ServiceNotFoundError = ServiceNotFoundError;
27
27
  class ParsingBlobError extends Error {
28
28
  constructor(err) {
29
- super('Error parsing response as Blob: ' + err);
29
+ super('Error parsing response as Blob: ' + String(err));
30
30
  this.name = 'ParsingBlobError';
31
31
  }
32
32
  }
@@ -99,7 +99,7 @@ class NoDeviceInfoError extends Error {
99
99
  exports.NoDeviceInfoError = NoDeviceInfoError;
100
100
  class FetchDeviceInfoError extends Error {
101
101
  constructor(err) {
102
- super('Error fetching remote camera data: ' + err);
102
+ super('Error fetching remote camera data: ' + String(err));
103
103
  this.name = 'NoDeviceInfoFromCameraError';
104
104
  }
105
105
  }
@@ -127,7 +127,7 @@ class PtzNotSupportedError extends Error {
127
127
  exports.PtzNotSupportedError = PtzNotSupportedError;
128
128
  class StorageDataFetchError extends Error {
129
129
  constructor(err) {
130
- super('Error fetching storage data: ' + err);
130
+ super('Error fetching storage data: ' + String(err));
131
131
  this.name = 'StorageDataFetchError';
132
132
  }
133
133
  }
@@ -155,7 +155,7 @@ class TimezoneNotSetupError extends Error {
155
155
  exports.TimezoneNotSetupError = TimezoneNotSetupError;
156
156
  class TimezoneFetchError extends Error {
157
157
  constructor(err) {
158
- super('Error fetching time zone information: ' + err);
158
+ super('Error fetching time zone information: ' + String(err));
159
159
  this.name = 'TimezoneFetchError';
160
160
  }
161
161
  }
@@ -25,21 +25,21 @@ export declare const outputInfoSchema: z.ZodEffects<z.ZodObject<{
25
25
  ws: z.ZodString;
26
26
  ws_initial_message: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
- rtsp_url: string;
29
28
  ws: string;
30
29
  ws_initial_message: string;
31
- }, {
32
30
  rtsp_url: string;
31
+ }, {
33
32
  ws: string;
34
33
  ws_initial_message: string;
34
+ rtsp_url: string;
35
35
  }>, {
36
- rtspUrl: string;
37
36
  ws: string;
38
37
  wsInitialMessage: string;
38
+ rtspUrl: string;
39
39
  }, {
40
- rtsp_url: string;
41
40
  ws: string;
42
41
  ws_initial_message: string;
42
+ rtsp_url: string;
43
43
  }>;
44
44
  export type TOutputInfo = z.infer<typeof outputInfoSchema>;
45
45
  export declare const audioPushInfoSchema: z.ZodEffects<z.ZodObject<{
@@ -1,19 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export type TImportDataType = 'MAP_DATA' | 'SERVER_DATA' | 'ALL';
3
3
  export type TExportDataType = 'NIGHT_SKY_CALIBRATION_DATA' | 'ALL';
4
- export declare const wsAliasResponseSchema: z.ZodObject<{
5
- alias: z.ZodString;
6
- ws: z.ZodString;
7
- ws_initial_message: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- ws: string;
10
- ws_initial_message: string;
11
- alias: string;
12
- }, {
13
- ws: string;
14
- ws_initial_message: string;
15
- alias: string;
16
- }>;
17
4
  export declare const connectionSchema: z.ZodObject<{
18
5
  protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
19
6
  ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
@@ -69,6 +56,8 @@ export declare const widgetSchema: z.ZodObject<{
69
56
  }>;
70
57
  declare const labelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
71
58
  export type TLabelOption = z.infer<typeof labelOptionsSchema>;
59
+ declare const droneLabelOptionsSchema: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
60
+ export type TDroneLabelOption = z.infer<typeof droneLabelOptionsSchema>;
72
61
  export declare const cameraSettingsSchema: z.ZodObject<{
73
62
  units: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"metric">, z.ZodLiteral<"imperial">]>>;
74
63
  adsbSource: z.ZodDefault<z.ZodObject<{
@@ -132,16 +121,67 @@ export declare const cameraSettingsSchema: z.ZodObject<{
132
121
  nightSkyCalibrationFocusValue?: number | undefined;
133
122
  focusCalibrationPoints?: string | undefined;
134
123
  }>>;
135
- cameraConfig: z.ZodDefault<z.ZodObject<{
124
+ cameraConfig: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
125
+ aircraft: z.ZodObject<{
126
+ defaultCaptureSizeMeters: z.ZodNumber;
127
+ captureSizeExtensionMeters: z.ZodNumber;
128
+ }, "strip", z.ZodTypeAny, {
129
+ defaultCaptureSizeMeters: number;
130
+ captureSizeExtensionMeters: number;
131
+ }, {
132
+ defaultCaptureSizeMeters: number;
133
+ captureSizeExtensionMeters: number;
134
+ }>;
135
+ drone: z.ZodDefault<z.ZodObject<{
136
+ defaultCaptureSizeMeters: z.ZodNumber;
137
+ captureSizeExtensionMeters: z.ZodNumber;
138
+ }, "strip", z.ZodTypeAny, {
139
+ defaultCaptureSizeMeters: number;
140
+ captureSizeExtensionMeters: number;
141
+ }, {
142
+ defaultCaptureSizeMeters: number;
143
+ captureSizeExtensionMeters: number;
144
+ }>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ aircraft: {
147
+ defaultCaptureSizeMeters: number;
148
+ captureSizeExtensionMeters: number;
149
+ };
150
+ drone: {
151
+ defaultCaptureSizeMeters: number;
152
+ captureSizeExtensionMeters: number;
153
+ };
154
+ }, {
155
+ aircraft: {
156
+ defaultCaptureSizeMeters: number;
157
+ captureSizeExtensionMeters: number;
158
+ };
159
+ drone?: {
160
+ defaultCaptureSizeMeters: number;
161
+ captureSizeExtensionMeters: number;
162
+ } | undefined;
163
+ }>, z.ZodEffects<z.ZodObject<{
136
164
  defaultCaptureSizeMeters: z.ZodDefault<z.ZodNumber>;
137
165
  captureSizeExtensionMeters: z.ZodDefault<z.ZodNumber>;
138
- }, "strip", z.ZodTypeAny, {
166
+ }, "strict", z.ZodTypeAny, {
139
167
  defaultCaptureSizeMeters: number;
140
168
  captureSizeExtensionMeters: number;
141
169
  }, {
142
170
  defaultCaptureSizeMeters?: number | undefined;
143
171
  captureSizeExtensionMeters?: number | undefined;
144
- }>>;
172
+ }>, {
173
+ aircraft: {
174
+ defaultCaptureSizeMeters: number;
175
+ captureSizeExtensionMeters: number;
176
+ };
177
+ drone: {
178
+ defaultCaptureSizeMeters: number;
179
+ captureSizeExtensionMeters: number;
180
+ };
181
+ }, {
182
+ defaultCaptureSizeMeters?: number | undefined;
183
+ captureSizeExtensionMeters?: number | undefined;
184
+ }>]>>;
145
185
  stream: z.ZodDefault<z.ZodObject<{
146
186
  width: z.ZodNumber;
147
187
  height: z.ZodNumber;
@@ -347,7 +387,61 @@ export declare const cameraSettingsSchema: z.ZodObject<{
347
387
  port?: number | undefined;
348
388
  priority?: number | undefined;
349
389
  }>>;
350
- identificationLabel: z.ZodDefault<z.ZodObject<{
390
+ identificationLabel: z.ZodDefault<z.ZodUnion<[z.ZodObject<{
391
+ aircraft: z.ZodObject<{
392
+ firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
393
+ secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
394
+ thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
395
+ fourthRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
396
+ opacity: z.ZodNumber;
397
+ }, "strip", z.ZodTypeAny, {
398
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
399
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
400
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
401
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
402
+ opacity: number;
403
+ }, {
404
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
405
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
406
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
407
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
408
+ opacity: number;
409
+ }>;
410
+ drone: z.ZodDefault<z.ZodObject<{
411
+ firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"remote_id">]>;
412
+ opacity: z.ZodNumber;
413
+ }, "strip", z.ZodTypeAny, {
414
+ firstRow: "blank" | "remote_id";
415
+ opacity: number;
416
+ }, {
417
+ firstRow: "blank" | "remote_id";
418
+ opacity: number;
419
+ }>>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ aircraft: {
422
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
423
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
424
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
425
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
426
+ opacity: number;
427
+ };
428
+ drone: {
429
+ firstRow: "blank" | "remote_id";
430
+ opacity: number;
431
+ };
432
+ }, {
433
+ aircraft: {
434
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
435
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
436
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
437
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
438
+ opacity: number;
439
+ };
440
+ drone?: {
441
+ firstRow: "blank" | "remote_id";
442
+ opacity: number;
443
+ } | undefined;
444
+ }>, z.ZodEffects<z.ZodObject<{
351
445
  firstRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
352
446
  secondRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
353
447
  thirdRow: z.ZodUnion<[z.ZodLiteral<"blank">, z.ZodLiteral<"registration">, z.ZodLiteral<"call_sign">, z.ZodLiteral<"flight_number">, z.ZodLiteral<"icao">]>;
@@ -365,7 +459,25 @@ export declare const cameraSettingsSchema: z.ZodObject<{
365
459
  thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
366
460
  fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
367
461
  opacity: number;
368
- }>>;
462
+ }>, {
463
+ aircraft: {
464
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
465
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
466
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
467
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
468
+ opacity: number;
469
+ };
470
+ drone: {
471
+ firstRow: "blank" | "remote_id";
472
+ opacity: number;
473
+ };
474
+ }, {
475
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
476
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
477
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
478
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
479
+ opacity: number;
480
+ }>]>>;
369
481
  acs: z.ZodDefault<z.ZodObject<{
370
482
  protocol: z.ZodUnion<[z.ZodLiteral<"http">, z.ZodLiteral<"https">, z.ZodLiteral<"https_insecure">]>;
371
483
  ip: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
@@ -460,8 +572,23 @@ export declare const cameraSettingsSchema: z.ZodObject<{
460
572
  focusCalibrationPoints: string;
461
573
  };
462
574
  cameraConfig: {
463
- defaultCaptureSizeMeters: number;
464
- captureSizeExtensionMeters: number;
575
+ aircraft: {
576
+ defaultCaptureSizeMeters: number;
577
+ captureSizeExtensionMeters: number;
578
+ };
579
+ drone: {
580
+ defaultCaptureSizeMeters: number;
581
+ captureSizeExtensionMeters: number;
582
+ };
583
+ } | {
584
+ aircraft: {
585
+ defaultCaptureSizeMeters: number;
586
+ captureSizeExtensionMeters: number;
587
+ };
588
+ drone: {
589
+ defaultCaptureSizeMeters: number;
590
+ captureSizeExtensionMeters: number;
591
+ };
465
592
  };
466
593
  stream: {
467
594
  width: number;
@@ -514,11 +641,29 @@ export declare const cameraSettingsSchema: z.ZodObject<{
514
641
  priority: number;
515
642
  };
516
643
  identificationLabel: {
517
- firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
518
- secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
519
- thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
520
- fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
521
- opacity: number;
644
+ aircraft: {
645
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
646
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
647
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
648
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
649
+ opacity: number;
650
+ };
651
+ drone: {
652
+ firstRow: "blank" | "remote_id";
653
+ opacity: number;
654
+ };
655
+ } | {
656
+ aircraft: {
657
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
658
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
659
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
660
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
661
+ opacity: number;
662
+ };
663
+ drone: {
664
+ firstRow: "blank" | "remote_id";
665
+ opacity: number;
666
+ };
522
667
  };
523
668
  acs: {
524
669
  ip: string;
@@ -594,6 +739,15 @@ export declare const cameraSettingsSchema: z.ZodObject<{
594
739
  focusCalibrationPoints?: string | undefined;
595
740
  } | undefined;
596
741
  cameraConfig?: {
742
+ aircraft: {
743
+ defaultCaptureSizeMeters: number;
744
+ captureSizeExtensionMeters: number;
745
+ };
746
+ drone?: {
747
+ defaultCaptureSizeMeters: number;
748
+ captureSizeExtensionMeters: number;
749
+ } | undefined;
750
+ } | {
597
751
  defaultCaptureSizeMeters?: number | undefined;
598
752
  captureSizeExtensionMeters?: number | undefined;
599
753
  } | undefined;
@@ -677,6 +831,18 @@ export declare const cameraSettingsSchema: z.ZodObject<{
677
831
  thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
678
832
  fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
679
833
  opacity: number;
834
+ } | {
835
+ aircraft: {
836
+ firstRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
837
+ secondRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
838
+ thirdRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
839
+ fourthRow: "blank" | "registration" | "call_sign" | "flight_number" | "icao";
840
+ opacity: number;
841
+ };
842
+ drone?: {
843
+ firstRow: "blank" | "remote_id";
844
+ opacity: number;
845
+ } | undefined;
680
846
  } | undefined;
681
847
  acs?: {
682
848
  ip: string;
@@ -1209,11 +1375,11 @@ declare const categoryDescriptorSchema: z.ZodObject<{
1209
1375
  }, "strip", z.ZodTypeAny, {
1210
1376
  categoryId: string;
1211
1377
  uiName: string;
1212
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1378
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1213
1379
  }, {
1214
1380
  categoryId: string;
1215
1381
  uiName: string;
1216
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1382
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1217
1383
  }>;
1218
1384
  export type TCategoryDescriptor = z.infer<typeof categoryDescriptorSchema>;
1219
1385
  declare const domainDescriptorSchema: z.ZodObject<{
@@ -1226,27 +1392,27 @@ declare const domainDescriptorSchema: z.ZodObject<{
1226
1392
  }, "strip", z.ZodTypeAny, {
1227
1393
  categoryId: string;
1228
1394
  uiName: string;
1229
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1395
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1230
1396
  }, {
1231
1397
  categoryId: string;
1232
1398
  uiName: string;
1233
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1399
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1234
1400
  }>, "many">;
1235
1401
  }, "strip", z.ZodTypeAny, {
1236
1402
  uiName: string;
1237
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1403
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1238
1404
  categoryList: {
1239
1405
  categoryId: string;
1240
1406
  uiName: string;
1241
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1407
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1242
1408
  }[];
1243
1409
  }, {
1244
1410
  uiName: string;
1245
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1411
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1246
1412
  categoryList: {
1247
1413
  categoryId: string;
1248
1414
  uiName: string;
1249
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1415
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1250
1416
  }[];
1251
1417
  }>;
1252
1418
  export type TDomainDescriptor = z.infer<typeof domainDescriptorSchema>;
@@ -1260,27 +1426,27 @@ export declare const domainListSchema: z.ZodRecord<z.ZodEnum<["adsb", "remoteId"
1260
1426
  }, "strip", z.ZodTypeAny, {
1261
1427
  categoryId: string;
1262
1428
  uiName: string;
1263
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1429
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1264
1430
  }, {
1265
1431
  categoryId: string;
1266
1432
  uiName: string;
1267
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1433
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1268
1434
  }>, "many">;
1269
1435
  }, "strip", z.ZodTypeAny, {
1270
1436
  uiName: string;
1271
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1437
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1272
1438
  categoryList: {
1273
1439
  categoryId: string;
1274
1440
  uiName: string;
1275
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1441
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1276
1442
  }[];
1277
1443
  }, {
1278
1444
  uiName: string;
1279
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1445
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1280
1446
  categoryList: {
1281
1447
  categoryId: string;
1282
1448
  uiName: string;
1283
- icon: "unknown" | "small" | "large" | "heavy" | "helicopter" | "drone" | "operator" | "vehicle";
1449
+ icon: "unknown" | "small" | "drone" | "large" | "heavy" | "helicopter" | "operator" | "vehicle";
1284
1450
  }[];
1285
1451
  }>>;
1286
1452
  export type TDomainList = z.infer<typeof domainListSchema>;