camstreamerlib 4.0.27 → 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.
|
@@ -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",
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -56,6 +56,7 @@ var EUserActions;
|
|
|
56
56
|
EUserActions["SET_PRIORITY_LIST"] = "setPriorityList.cgi";
|
|
57
57
|
EUserActions["SET_BLACK_LIST"] = "setBlackList.cgi";
|
|
58
58
|
EUserActions["SET_WHITE_LIST"] = "setWhiteList.cgi";
|
|
59
|
+
EUserActions["SET_FRIENDLY_LIST"] = "setFriendlyList.cgi";
|
|
59
60
|
EUserActions["GO_TO_COORDINATES"] = "goToCoordinates.cgi";
|
|
60
61
|
EUserActions["SET_TRACKING_MODE"] = "setTrackingMode.cgi";
|
|
61
62
|
EUserActions["SET_ZONES"] = "setZones.cgi";
|
|
@@ -123,6 +124,13 @@ const eventsDataSchema = zod_1.z.union([
|
|
|
123
124
|
params: userSchema,
|
|
124
125
|
postJsonBody: PlaneTrackerAPI_1.whiteListSchema,
|
|
125
126
|
}),
|
|
127
|
+
zod_1.z.object({
|
|
128
|
+
type: zod_1.z.literal('USER_ACTION'),
|
|
129
|
+
cgi: zod_1.z.literal(EUserActions.SET_FRIENDLY_LIST),
|
|
130
|
+
ip: zod_1.z.string(),
|
|
131
|
+
params: userSchema,
|
|
132
|
+
postJsonBody: PlaneTrackerAPI_1.friendlyListSchema,
|
|
133
|
+
}),
|
|
126
134
|
zod_1.z.object({
|
|
127
135
|
type: zod_1.z.literal('USER_ACTION'),
|
|
128
136
|
cgi: zod_1.z.literal(EUserActions.GO_TO_COORDINATES),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { blackListSchema, priorityListSchema, trackingModeSchema, whiteListSchema, zonesSchema, domainIdSchema, } from '../PlaneTrackerAPI';
|
|
2
|
+
import { blackListSchema, friendlyListSchema, priorityListSchema, trackingModeSchema, whiteListSchema, zonesSchema, domainIdSchema, } from '../PlaneTrackerAPI';
|
|
3
3
|
const wsApiFlightDataSchema = z.object({
|
|
4
4
|
targetId: z.string(),
|
|
5
5
|
icao: z.string(),
|
|
@@ -53,6 +53,7 @@ export var EUserActions;
|
|
|
53
53
|
EUserActions["SET_PRIORITY_LIST"] = "setPriorityList.cgi";
|
|
54
54
|
EUserActions["SET_BLACK_LIST"] = "setBlackList.cgi";
|
|
55
55
|
EUserActions["SET_WHITE_LIST"] = "setWhiteList.cgi";
|
|
56
|
+
EUserActions["SET_FRIENDLY_LIST"] = "setFriendlyList.cgi";
|
|
56
57
|
EUserActions["GO_TO_COORDINATES"] = "goToCoordinates.cgi";
|
|
57
58
|
EUserActions["SET_TRACKING_MODE"] = "setTrackingMode.cgi";
|
|
58
59
|
EUserActions["SET_ZONES"] = "setZones.cgi";
|
|
@@ -120,6 +121,13 @@ const eventsDataSchema = z.union([
|
|
|
120
121
|
params: userSchema,
|
|
121
122
|
postJsonBody: whiteListSchema,
|
|
122
123
|
}),
|
|
124
|
+
z.object({
|
|
125
|
+
type: z.literal('USER_ACTION'),
|
|
126
|
+
cgi: z.literal(EUserActions.SET_FRIENDLY_LIST),
|
|
127
|
+
ip: z.string(),
|
|
128
|
+
params: userSchema,
|
|
129
|
+
postJsonBody: friendlyListSchema,
|
|
130
|
+
}),
|
|
123
131
|
z.object({
|
|
124
132
|
type: z.literal('USER_ACTION'),
|
|
125
133
|
cgi: z.literal(EUserActions.GO_TO_COORDINATES),
|
package/package.json
CHANGED
|
@@ -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",
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|