get profile(): {
get: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Promise<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>;
list: () => Promise<
Partial<
{
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
},
>,
>;
stream: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Observable<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>;
}
Returns {
get: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Promise<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>;
list: () => Promise<
Partial<
{
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
},
>,
>;
stream: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Observable<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>;
}
-
get: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Promise<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>
-
list: () => Promise<
Partial<
{
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
},
>,
>
-
stream: <
K extends
| "created"
| "active"
| "updated"
| "username"
| "disabled"
| "last_login"
| "system_admin"
| "agency_admin"
| "tak_callsign"
| "tak_remarks"
| "tak_phone"
| "tak_group"
| "tak_role"
| "tak_type"
| "tak_loc"
| "tak_loc_freq"
| "menu_order"
| "display_projection"
| "display_zoom"
| "display_style"
| "display_coordinate"
| "display_icon_rotation"
| "display_stale"
| "display_text"
| "display_distance"
| "display_elevation"
| "display_area"
| "display_speed"
| "display_radiation_dose"
| "display_wakelock"
| "notification_contact"
| "notification_import"
| "notification_alert"
| "notification_medical"
| "notification_mission"
| "notification_chat"
| "geometry_point_type"
| "geometry_point_color"
| "geometry_point_icon",
>(
key: K,
) => Observable<
| {
active: boolean;
agency_admin: number[];
created: string;
disabled: boolean;
display_area: "square meter"
| "square feet"
| "acre"
| "hectare";
display_coordinate: "dd" | "dm" | "dms" | "mgrs" | "utm";
display_distance: "meter" | "kilometer" | "mile";
display_elevation: "meter" | "feet";
display_icon_rotation: boolean;
display_projection: "mercator" | "globe";
display_radiation_dose: "sieverts" | "rems";
display_speed: "m/s" | "km/h" | "mi/h";
display_stale:
| "Immediate"
| "10 Minutes"
| "30 Minutes"
| "1 Hour"
| "Never";
display_style: "System Default"
| "Light"
| "Dark";
display_text: "Small" | "Medium" | "Large";
display_wakelock: "Default" | "Charging" | "Always On";
display_zoom: "always" | "conditional" | "never";
geometry_point_color?: string;
geometry_point_icon?: string;
geometry_point_type?: string;
last_login: string | null;
menu_order: { key: string; visibility: "full" | "hidden" | "partial" }[];
notification_alert: boolean;
notification_chat: boolean;
notification_contact: boolean;
notification_import: boolean;
notification_medical: boolean;
notification_mission: boolean;
system_admin: boolean;
tak_callsign: string;
tak_group:
| "White"
| "Yellow"
| "Orange"
| "Magenta"
| "Red"
| "Maroon"
| "Purple"
| "Dark Blue"
| "Blue"
| "Cyan"
| "Teal"
| "Green"
| "Dark Green"
| "Brown";
tak_loc: { coordinates: number[]; type: "Point" }
| null;
tak_loc_freq: number;
tak_phone: string;
tak_remarks: string;
tak_role:
| "Team Member"
| "Team Lead"
| "HQ"
| "Sniper"
| "Medic"
| "Forward Observer"
| "RTO"
| "K9";
tak_type: string;
updated: string;
username: string;
}[K]
| undefined,
>
The Main Plugin API for managing CloudTAK UI functions