camstreamerlib 4.0.27-c8f267f → 4.0.28

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.
@@ -40,7 +40,6 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
40
40
  cameraCalibrationProcessConfig: {
41
41
  nightSkyCalibrationEnabled: boolean;
42
42
  scheduleNightSkyCalibrationTimestamp: number;
43
- nightSkyCalibrationRepeatCount: number;
44
43
  nightSkyCalibrationFocusValue: number;
45
44
  focusCalibrationPoints: string;
46
45
  };
package/cjs/VapixAPI.js CHANGED
@@ -76,7 +76,13 @@ class VapixAPI extends BasicAPI_1.BasicAPI {
76
76
  const jsonData = { apiVersion: '1.0', method: 'list' };
77
77
  const res = await this._postJsonEncoded(path, jsonData, undefined, options);
78
78
  const encoders = VapixAPI_1.audioSampleRatesResponseSchema.parse(await res.json()).data.encoders;
79
- return encoders.aac ?? encoders.AAC ?? [];
79
+ const data = encoders.aac ?? encoders.AAC ?? [];
80
+ return data.map((item) => {
81
+ return {
82
+ sampleRate: item.sample_rate,
83
+ bitRates: item.bit_rates,
84
+ };
85
+ });
80
86
  }
81
87
  async performAutofocus(options) {
82
88
  try {
@@ -116,19 +116,16 @@ export declare const cameraSettingsSchema: z.ZodObject<{
116
116
  cameraCalibrationProcessConfig: z.ZodDefault<z.ZodObject<{
117
117
  nightSkyCalibrationEnabled: z.ZodBoolean;
118
118
  scheduleNightSkyCalibrationTimestamp: z.ZodNumber;
119
- nightSkyCalibrationRepeatCount: z.ZodDefault<z.ZodNumber>;
120
119
  nightSkyCalibrationFocusValue: z.ZodDefault<z.ZodNumber>;
121
120
  focusCalibrationPoints: z.ZodDefault<z.ZodString>;
122
121
  }, "strip", z.ZodTypeAny, {
123
122
  nightSkyCalibrationEnabled: boolean;
124
123
  scheduleNightSkyCalibrationTimestamp: number;
125
- nightSkyCalibrationRepeatCount: number;
126
124
  nightSkyCalibrationFocusValue: number;
127
125
  focusCalibrationPoints: string;
128
126
  }, {
129
127
  nightSkyCalibrationEnabled: boolean;
130
128
  scheduleNightSkyCalibrationTimestamp: number;
131
- nightSkyCalibrationRepeatCount?: number | undefined;
132
129
  nightSkyCalibrationFocusValue?: number | undefined;
133
130
  focusCalibrationPoints?: string | undefined;
134
131
  }>>;
@@ -455,7 +452,6 @@ export declare const cameraSettingsSchema: z.ZodObject<{
455
452
  cameraCalibrationProcessConfig: {
456
453
  nightSkyCalibrationEnabled: boolean;
457
454
  scheduleNightSkyCalibrationTimestamp: number;
458
- nightSkyCalibrationRepeatCount: number;
459
455
  nightSkyCalibrationFocusValue: number;
460
456
  focusCalibrationPoints: string;
461
457
  };
@@ -589,7 +585,6 @@ export declare const cameraSettingsSchema: z.ZodObject<{
589
585
  cameraCalibrationProcessConfig?: {
590
586
  nightSkyCalibrationEnabled: boolean;
591
587
  scheduleNightSkyCalibrationTimestamp: number;
592
- nightSkyCalibrationRepeatCount?: number | undefined;
593
588
  nightSkyCalibrationFocusValue?: number | undefined;
594
589
  focusCalibrationPoints?: string | undefined;
595
590
  } | undefined;
@@ -73,14 +73,12 @@ exports.cameraSettingsSchema = zod_1.z.object({
73
73
  .object({
74
74
  nightSkyCalibrationEnabled: zod_1.z.boolean(),
75
75
  scheduleNightSkyCalibrationTimestamp: zod_1.z.number(),
76
- nightSkyCalibrationRepeatCount: zod_1.z.number().int().min(1).max(6).default(1),
77
76
  nightSkyCalibrationFocusValue: zod_1.z.number().int().min(1).max(9999).default(9000),
78
77
  focusCalibrationPoints: zod_1.z.string().default(''),
79
78
  })
80
79
  .default({
81
80
  nightSkyCalibrationEnabled: false,
82
81
  scheduleNightSkyCalibrationTimestamp: 0,
83
- nightSkyCalibrationRepeatCount: 1,
84
82
  nightSkyCalibrationFocusValue: 9000,
85
83
  focusCalibrationPoints: '',
86
84
  }),
@@ -133,7 +133,7 @@ export declare const guardTourSchema: z.ZodObject<{
133
133
  timeBetweenSequences?: unknown;
134
134
  }>;
135
135
  export type TGuardTour = z.infer<typeof guardTourSchema>;
136
- declare const audioSampleRatesSchema: z.ZodEffects<z.ZodObject<{
136
+ declare const audioSampleRatesOutSchema: z.ZodEffects<z.ZodObject<{
137
137
  sample_rate: z.ZodNumber;
138
138
  bit_rates: z.ZodArray<z.ZodNumber, "many">;
139
139
  }, "strip", z.ZodTypeAny, {
@@ -149,7 +149,7 @@ declare const audioSampleRatesSchema: z.ZodEffects<z.ZodObject<{
149
149
  sample_rate: number;
150
150
  bit_rates: number[];
151
151
  }>;
152
- export type TAudioSampleRates = z.infer<typeof audioSampleRatesSchema>;
152
+ export type TAudioSampleRates = z.infer<typeof audioSampleRatesOutSchema>;
153
153
  export declare const sdCardWatchedStatuses: readonly ["OK", "connected", "disconnected"];
154
154
  export declare const sdCardInfoSchema: z.ZodObject<{
155
155
  status: z.ZodEnum<["OK", "connected", "disconnected"]>;
@@ -1666,7 +1666,7 @@ export declare const timeZoneSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObj
1666
1666
  export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1667
1667
  data: z.ZodObject<{
1668
1668
  encoders: z.ZodObject<{
1669
- aac: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1669
+ aac: z.ZodOptional<z.ZodArray<z.ZodObject<{
1670
1670
  sample_rate: z.ZodNumber;
1671
1671
  bit_rates: z.ZodArray<z.ZodNumber, "many">;
1672
1672
  }, "strip", z.ZodTypeAny, {
@@ -1675,14 +1675,8 @@ export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1675
1675
  }, {
1676
1676
  sample_rate: number;
1677
1677
  bit_rates: number[];
1678
- }>, {
1679
- sampleRate: number;
1680
- bitRates: number[];
1681
- }, {
1682
- sample_rate: number;
1683
- bit_rates: number[];
1684
1678
  }>, "many">>;
1685
- AAC: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1679
+ AAC: z.ZodOptional<z.ZodArray<z.ZodObject<{
1686
1680
  sample_rate: z.ZodNumber;
1687
1681
  bit_rates: z.ZodArray<z.ZodNumber, "many">;
1688
1682
  }, "strip", z.ZodTypeAny, {
@@ -1691,21 +1685,15 @@ export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1691
1685
  }, {
1692
1686
  sample_rate: number;
1693
1687
  bit_rates: number[];
1694
- }>, {
1695
- sampleRate: number;
1696
- bitRates: number[];
1697
- }, {
1698
- sample_rate: number;
1699
- bit_rates: number[];
1700
1688
  }>, "many">>;
1701
1689
  }, "strip", z.ZodTypeAny, {
1702
1690
  aac?: {
1703
- sampleRate: number;
1704
- bitRates: number[];
1691
+ sample_rate: number;
1692
+ bit_rates: number[];
1705
1693
  }[] | undefined;
1706
1694
  AAC?: {
1707
- sampleRate: number;
1708
- bitRates: number[];
1695
+ sample_rate: number;
1696
+ bit_rates: number[];
1709
1697
  }[] | undefined;
1710
1698
  }, {
1711
1699
  aac?: {
@@ -1720,12 +1708,12 @@ export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1720
1708
  }, "strip", z.ZodTypeAny, {
1721
1709
  encoders: {
1722
1710
  aac?: {
1723
- sampleRate: number;
1724
- bitRates: number[];
1711
+ sample_rate: number;
1712
+ bit_rates: number[];
1725
1713
  }[] | undefined;
1726
1714
  AAC?: {
1727
- sampleRate: number;
1728
- bitRates: number[];
1715
+ sample_rate: number;
1716
+ bit_rates: number[];
1729
1717
  }[] | undefined;
1730
1718
  };
1731
1719
  }, {
@@ -1744,12 +1732,12 @@ export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1744
1732
  data: {
1745
1733
  encoders: {
1746
1734
  aac?: {
1747
- sampleRate: number;
1748
- bitRates: number[];
1735
+ sample_rate: number;
1736
+ bit_rates: number[];
1749
1737
  }[] | undefined;
1750
1738
  AAC?: {
1751
- sampleRate: number;
1752
- bitRates: number[];
1739
+ sample_rate: number;
1740
+ bit_rates: number[];
1753
1741
  }[] | undefined;
1754
1742
  };
1755
1743
  };
@@ -53,12 +53,11 @@ exports.guardTourSchema = zod_1.z.object({
53
53
  waitTimeViewType: zod_1.z.unknown(),
54
54
  })),
55
55
  });
56
- const audioSampleRatesSchema = zod_1.z
57
- .object({
56
+ const audioSampleRatesSchema = zod_1.z.object({
58
57
  sample_rate: zod_1.z.number(),
59
58
  bit_rates: zod_1.z.array(zod_1.z.number()),
60
- })
61
- .transform(transformers_1.toCamelCaseDeep);
59
+ });
60
+ const audioSampleRatesOutSchema = audioSampleRatesSchema.transform(transformers_1.toCamelCaseDeep);
62
61
  exports.sdCardWatchedStatuses = ['OK', 'connected', 'disconnected'];
63
62
  exports.sdCardInfoSchema = zod_1.z.object({
64
63
  status: zod_1.z.enum(exports.sdCardWatchedStatuses),
@@ -14,7 +14,7 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
14
14
  groundSpeed: z.ZodNumber;
15
15
  altitudeAMSL: z.ZodNumber;
16
16
  cameraDistance: z.ZodNumber;
17
- autoTrackingOrder: z.ZodNullable<z.ZodNumber>;
17
+ autoTrackingOrder: z.ZodNumber;
18
18
  whiteListed: z.ZodBoolean;
19
19
  blackListed: z.ZodBoolean;
20
20
  priorityListed: z.ZodBoolean;
@@ -39,7 +39,7 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
39
39
  groundSpeed: number;
40
40
  altitudeAMSL: number;
41
41
  cameraDistance: number;
42
- autoTrackingOrder: number | null;
42
+ autoTrackingOrder: number;
43
43
  whiteListed: boolean;
44
44
  blackListed: boolean;
45
45
  priorityListed: boolean;
@@ -65,7 +65,7 @@ declare const wsApiFlightDataSchema: z.ZodObject<{
65
65
  groundSpeed: number;
66
66
  altitudeAMSL: number;
67
67
  cameraDistance: number;
68
- autoTrackingOrder: number | null;
68
+ autoTrackingOrder: number;
69
69
  whiteListed: boolean;
70
70
  blackListed: boolean;
71
71
  priorityListed: boolean;
@@ -126,6 +126,7 @@ export declare enum EUserActions {
126
126
  SET_PRIORITY_LIST = "setPriorityList.cgi",
127
127
  SET_BLACK_LIST = "setBlackList.cgi",
128
128
  SET_WHITE_LIST = "setWhiteList.cgi",
129
+ SET_FRIENDLY_LIST = "setFriendlyList.cgi",
129
130
  GO_TO_COORDINATES = "goToCoordinates.cgi",
130
131
  SET_TRACKING_MODE = "setTrackingMode.cgi",
131
132
  SET_ZONES = "setZones.cgi",
@@ -199,7 +200,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
199
200
  groundSpeed: z.ZodNumber;
200
201
  altitudeAMSL: z.ZodNumber;
201
202
  cameraDistance: z.ZodNumber;
202
- autoTrackingOrder: z.ZodNullable<z.ZodNumber>;
203
+ autoTrackingOrder: z.ZodNumber;
203
204
  whiteListed: z.ZodBoolean;
204
205
  blackListed: z.ZodBoolean;
205
206
  priorityListed: z.ZodBoolean;
@@ -224,7 +225,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
224
225
  groundSpeed: number;
225
226
  altitudeAMSL: number;
226
227
  cameraDistance: number;
227
- autoTrackingOrder: number | null;
228
+ autoTrackingOrder: number;
228
229
  whiteListed: boolean;
229
230
  blackListed: boolean;
230
231
  priorityListed: boolean;
@@ -250,7 +251,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
250
251
  groundSpeed: number;
251
252
  altitudeAMSL: number;
252
253
  cameraDistance: number;
253
- autoTrackingOrder: number | null;
254
+ autoTrackingOrder: number;
254
255
  whiteListed: boolean;
255
256
  blackListed: boolean;
256
257
  priorityListed: boolean;
@@ -279,7 +280,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
279
280
  groundSpeed: number;
280
281
  altitudeAMSL: number;
281
282
  cameraDistance: number;
282
- autoTrackingOrder: number | null;
283
+ autoTrackingOrder: number;
283
284
  whiteListed: boolean;
284
285
  blackListed: boolean;
285
286
  priorityListed: boolean;
@@ -308,7 +309,7 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
308
309
  groundSpeed: number;
309
310
  altitudeAMSL: number;
310
311
  cameraDistance: number;
311
- autoTrackingOrder: number | null;
312
+ autoTrackingOrder: number;
312
313
  whiteListed: boolean;
313
314
  blackListed: boolean;
314
315
  priorityListed: boolean;
@@ -721,6 +722,82 @@ declare const eventsDataSchema: z.ZodUnion<readonly [z.ZodObject<{
721
722
  idValue: string;
722
723
  }[] | undefined;
723
724
  };
725
+ }>, z.ZodObject<{
726
+ type: z.ZodLiteral<"USER_ACTION">;
727
+ cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
728
+ ip: z.ZodString;
729
+ params: z.ZodObject<{
730
+ userId: z.ZodString;
731
+ userName: z.ZodString;
732
+ userPriority: z.ZodString;
733
+ }, "strip", z.ZodTypeAny, {
734
+ userId: string;
735
+ userName: string;
736
+ userPriority: string;
737
+ }, {
738
+ userId: string;
739
+ userName: string;
740
+ userPriority: string;
741
+ }>;
742
+ postJsonBody: z.ZodObject<{
743
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
744
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
745
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
746
+ idValue: z.ZodString;
747
+ }, "strip", z.ZodTypeAny, {
748
+ domain: "adsb" | "remoteId";
749
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
750
+ idValue: string;
751
+ }, {
752
+ domain: "adsb" | "remoteId";
753
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
754
+ idValue: string;
755
+ }>, "many">>;
756
+ }, "strip", z.ZodTypeAny, {
757
+ list: {
758
+ domain: "adsb" | "remoteId";
759
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
760
+ idValue: string;
761
+ }[];
762
+ }, {
763
+ list?: {
764
+ domain: "adsb" | "remoteId";
765
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
766
+ idValue: string;
767
+ }[] | undefined;
768
+ }>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ params: {
771
+ userId: string;
772
+ userName: string;
773
+ userPriority: string;
774
+ };
775
+ type: "USER_ACTION";
776
+ ip: string;
777
+ cgi: EUserActions.SET_FRIENDLY_LIST;
778
+ postJsonBody: {
779
+ list: {
780
+ domain: "adsb" | "remoteId";
781
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
782
+ idValue: string;
783
+ }[];
784
+ };
785
+ }, {
786
+ params: {
787
+ userId: string;
788
+ userName: string;
789
+ userPriority: string;
790
+ };
791
+ type: "USER_ACTION";
792
+ ip: string;
793
+ cgi: EUserActions.SET_FRIENDLY_LIST;
794
+ postJsonBody: {
795
+ list?: {
796
+ domain: "adsb" | "remoteId";
797
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
798
+ idValue: string;
799
+ }[] | undefined;
800
+ };
724
801
  }>, z.ZodObject<{
725
802
  type: z.ZodLiteral<"USER_ACTION">;
726
803
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
@@ -1272,7 +1349,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1272
1349
  groundSpeed: z.ZodNumber;
1273
1350
  altitudeAMSL: z.ZodNumber;
1274
1351
  cameraDistance: z.ZodNumber;
1275
- autoTrackingOrder: z.ZodNullable<z.ZodNumber>;
1352
+ autoTrackingOrder: z.ZodNumber;
1276
1353
  whiteListed: z.ZodBoolean;
1277
1354
  blackListed: z.ZodBoolean;
1278
1355
  priorityListed: z.ZodBoolean;
@@ -1297,7 +1374,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1297
1374
  groundSpeed: number;
1298
1375
  altitudeAMSL: number;
1299
1376
  cameraDistance: number;
1300
- autoTrackingOrder: number | null;
1377
+ autoTrackingOrder: number;
1301
1378
  whiteListed: boolean;
1302
1379
  blackListed: boolean;
1303
1380
  priorityListed: boolean;
@@ -1323,7 +1400,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1323
1400
  groundSpeed: number;
1324
1401
  altitudeAMSL: number;
1325
1402
  cameraDistance: number;
1326
- autoTrackingOrder: number | null;
1403
+ autoTrackingOrder: number;
1327
1404
  whiteListed: boolean;
1328
1405
  blackListed: boolean;
1329
1406
  priorityListed: boolean;
@@ -1352,7 +1429,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1352
1429
  groundSpeed: number;
1353
1430
  altitudeAMSL: number;
1354
1431
  cameraDistance: number;
1355
- autoTrackingOrder: number | null;
1432
+ autoTrackingOrder: number;
1356
1433
  whiteListed: boolean;
1357
1434
  blackListed: boolean;
1358
1435
  priorityListed: boolean;
@@ -1381,7 +1458,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1381
1458
  groundSpeed: number;
1382
1459
  altitudeAMSL: number;
1383
1460
  cameraDistance: number;
1384
- autoTrackingOrder: number | null;
1461
+ autoTrackingOrder: number;
1385
1462
  whiteListed: boolean;
1386
1463
  blackListed: boolean;
1387
1464
  priorityListed: boolean;
@@ -1794,6 +1871,82 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
1794
1871
  idValue: string;
1795
1872
  }[] | undefined;
1796
1873
  };
1874
+ }>, z.ZodObject<{
1875
+ type: z.ZodLiteral<"USER_ACTION">;
1876
+ cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
1877
+ ip: z.ZodString;
1878
+ params: z.ZodObject<{
1879
+ userId: z.ZodString;
1880
+ userName: z.ZodString;
1881
+ userPriority: z.ZodString;
1882
+ }, "strip", z.ZodTypeAny, {
1883
+ userId: string;
1884
+ userName: string;
1885
+ userPriority: string;
1886
+ }, {
1887
+ userId: string;
1888
+ userName: string;
1889
+ userPriority: string;
1890
+ }>;
1891
+ postJsonBody: z.ZodObject<{
1892
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
1893
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
1894
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
1895
+ idValue: z.ZodString;
1896
+ }, "strip", z.ZodTypeAny, {
1897
+ domain: "adsb" | "remoteId";
1898
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1899
+ idValue: string;
1900
+ }, {
1901
+ domain: "adsb" | "remoteId";
1902
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1903
+ idValue: string;
1904
+ }>, "many">>;
1905
+ }, "strip", z.ZodTypeAny, {
1906
+ list: {
1907
+ domain: "adsb" | "remoteId";
1908
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1909
+ idValue: string;
1910
+ }[];
1911
+ }, {
1912
+ list?: {
1913
+ domain: "adsb" | "remoteId";
1914
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1915
+ idValue: string;
1916
+ }[] | undefined;
1917
+ }>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ params: {
1920
+ userId: string;
1921
+ userName: string;
1922
+ userPriority: string;
1923
+ };
1924
+ type: "USER_ACTION";
1925
+ ip: string;
1926
+ cgi: EUserActions.SET_FRIENDLY_LIST;
1927
+ postJsonBody: {
1928
+ list: {
1929
+ domain: "adsb" | "remoteId";
1930
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1931
+ idValue: string;
1932
+ }[];
1933
+ };
1934
+ }, {
1935
+ params: {
1936
+ userId: string;
1937
+ userName: string;
1938
+ userPriority: string;
1939
+ };
1940
+ type: "USER_ACTION";
1941
+ ip: string;
1942
+ cgi: EUserActions.SET_FRIENDLY_LIST;
1943
+ postJsonBody: {
1944
+ list?: {
1945
+ domain: "adsb" | "remoteId";
1946
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
1947
+ idValue: string;
1948
+ }[] | undefined;
1949
+ };
1797
1950
  }>, z.ZodObject<{
1798
1951
  type: z.ZodLiteral<"USER_ACTION">;
1799
1952
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;
@@ -2311,7 +2464,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2311
2464
  groundSpeed: number;
2312
2465
  altitudeAMSL: number;
2313
2466
  cameraDistance: number;
2314
- autoTrackingOrder: number | null;
2467
+ autoTrackingOrder: number;
2315
2468
  whiteListed: boolean;
2316
2469
  blackListed: boolean;
2317
2470
  priorityListed: boolean;
@@ -2415,6 +2568,22 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2415
2568
  idValue: string;
2416
2569
  }[];
2417
2570
  };
2571
+ } | {
2572
+ params: {
2573
+ userId: string;
2574
+ userName: string;
2575
+ userPriority: string;
2576
+ };
2577
+ type: "USER_ACTION";
2578
+ ip: string;
2579
+ cgi: EUserActions.SET_FRIENDLY_LIST;
2580
+ postJsonBody: {
2581
+ list: {
2582
+ domain: "adsb" | "remoteId";
2583
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2584
+ idValue: string;
2585
+ }[];
2586
+ };
2418
2587
  } | {
2419
2588
  params: {
2420
2589
  lat: string;
@@ -2557,7 +2726,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2557
2726
  groundSpeed: number;
2558
2727
  altitudeAMSL: number;
2559
2728
  cameraDistance: number;
2560
- autoTrackingOrder: number | null;
2729
+ autoTrackingOrder: number;
2561
2730
  whiteListed: boolean;
2562
2731
  blackListed: boolean;
2563
2732
  priorityListed: boolean;
@@ -2661,6 +2830,22 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2661
2830
  idValue: string;
2662
2831
  }[] | undefined;
2663
2832
  };
2833
+ } | {
2834
+ params: {
2835
+ userId: string;
2836
+ userName: string;
2837
+ userPriority: string;
2838
+ };
2839
+ type: "USER_ACTION";
2840
+ ip: string;
2841
+ cgi: EUserActions.SET_FRIENDLY_LIST;
2842
+ postJsonBody: {
2843
+ list?: {
2844
+ domain: "adsb" | "remoteId";
2845
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
2846
+ idValue: string;
2847
+ }[] | undefined;
2848
+ };
2664
2849
  } | {
2665
2850
  params: {
2666
2851
  lat: string;
@@ -2835,7 +3020,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2835
3020
  groundSpeed: z.ZodNumber;
2836
3021
  altitudeAMSL: z.ZodNumber;
2837
3022
  cameraDistance: z.ZodNumber;
2838
- autoTrackingOrder: z.ZodNullable<z.ZodNumber>;
3023
+ autoTrackingOrder: z.ZodNumber;
2839
3024
  whiteListed: z.ZodBoolean;
2840
3025
  blackListed: z.ZodBoolean;
2841
3026
  priorityListed: z.ZodBoolean;
@@ -2860,7 +3045,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2860
3045
  groundSpeed: number;
2861
3046
  altitudeAMSL: number;
2862
3047
  cameraDistance: number;
2863
- autoTrackingOrder: number | null;
3048
+ autoTrackingOrder: number;
2864
3049
  whiteListed: boolean;
2865
3050
  blackListed: boolean;
2866
3051
  priorityListed: boolean;
@@ -2886,7 +3071,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2886
3071
  groundSpeed: number;
2887
3072
  altitudeAMSL: number;
2888
3073
  cameraDistance: number;
2889
- autoTrackingOrder: number | null;
3074
+ autoTrackingOrder: number;
2890
3075
  whiteListed: boolean;
2891
3076
  blackListed: boolean;
2892
3077
  priorityListed: boolean;
@@ -2915,7 +3100,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2915
3100
  groundSpeed: number;
2916
3101
  altitudeAMSL: number;
2917
3102
  cameraDistance: number;
2918
- autoTrackingOrder: number | null;
3103
+ autoTrackingOrder: number;
2919
3104
  whiteListed: boolean;
2920
3105
  blackListed: boolean;
2921
3106
  priorityListed: boolean;
@@ -2944,7 +3129,7 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
2944
3129
  groundSpeed: number;
2945
3130
  altitudeAMSL: number;
2946
3131
  cameraDistance: number;
2947
- autoTrackingOrder: number | null;
3132
+ autoTrackingOrder: number;
2948
3133
  whiteListed: boolean;
2949
3134
  blackListed: boolean;
2950
3135
  priorityListed: boolean;
@@ -3357,6 +3542,82 @@ export declare const ptrEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
3357
3542
  idValue: string;
3358
3543
  }[] | undefined;
3359
3544
  };
3545
+ }>, z.ZodObject<{
3546
+ type: z.ZodLiteral<"USER_ACTION">;
3547
+ cgi: z.ZodLiteral<EUserActions.SET_FRIENDLY_LIST>;
3548
+ ip: z.ZodString;
3549
+ params: z.ZodObject<{
3550
+ userId: z.ZodString;
3551
+ userName: z.ZodString;
3552
+ userPriority: z.ZodString;
3553
+ }, "strip", z.ZodTypeAny, {
3554
+ userId: string;
3555
+ userName: string;
3556
+ userPriority: string;
3557
+ }, {
3558
+ userId: string;
3559
+ userName: string;
3560
+ userPriority: string;
3561
+ }>;
3562
+ postJsonBody: z.ZodObject<{
3563
+ list: z.ZodDefault<z.ZodArray<z.ZodObject<{
3564
+ domain: z.ZodEnum<["adsb", "remoteId"]>;
3565
+ idType: z.ZodEnum<["icao", "type_icao", "drone_mac", "operator_mac", "category"]>;
3566
+ idValue: z.ZodString;
3567
+ }, "strip", z.ZodTypeAny, {
3568
+ domain: "adsb" | "remoteId";
3569
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3570
+ idValue: string;
3571
+ }, {
3572
+ domain: "adsb" | "remoteId";
3573
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3574
+ idValue: string;
3575
+ }>, "many">>;
3576
+ }, "strip", z.ZodTypeAny, {
3577
+ list: {
3578
+ domain: "adsb" | "remoteId";
3579
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3580
+ idValue: string;
3581
+ }[];
3582
+ }, {
3583
+ list?: {
3584
+ domain: "adsb" | "remoteId";
3585
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3586
+ idValue: string;
3587
+ }[] | undefined;
3588
+ }>;
3589
+ }, "strip", z.ZodTypeAny, {
3590
+ params: {
3591
+ userId: string;
3592
+ userName: string;
3593
+ userPriority: string;
3594
+ };
3595
+ type: "USER_ACTION";
3596
+ ip: string;
3597
+ cgi: EUserActions.SET_FRIENDLY_LIST;
3598
+ postJsonBody: {
3599
+ list: {
3600
+ domain: "adsb" | "remoteId";
3601
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3602
+ idValue: string;
3603
+ }[];
3604
+ };
3605
+ }, {
3606
+ params: {
3607
+ userId: string;
3608
+ userName: string;
3609
+ userPriority: string;
3610
+ };
3611
+ type: "USER_ACTION";
3612
+ ip: string;
3613
+ cgi: EUserActions.SET_FRIENDLY_LIST;
3614
+ postJsonBody: {
3615
+ list?: {
3616
+ domain: "adsb" | "remoteId";
3617
+ idType: "icao" | "type_icao" | "drone_mac" | "operator_mac" | "category";
3618
+ idValue: string;
3619
+ }[] | undefined;
3620
+ };
3360
3621
  }>, z.ZodObject<{
3361
3622
  type: z.ZodLiteral<"USER_ACTION">;
3362
3623
  cgi: z.ZodLiteral<EUserActions.GO_TO_COORDINATES>;