Variable locationEndpointsConst
locationEndpoints: {
getCharacterLocation: {
path: "characters/{characterId}/location";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
solar_system_id: ZodNumber;
station_id: ZodOptional<ZodNumber>;
structure_id: ZodOptional<ZodNumber>;
},
$loose,
>;
};
getCharacterOnline: {
path: "characters/{characterId}/online";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
online: ZodBoolean;
last_login: ZodOptional<ZodString>;
last_logout: ZodOptional<ZodString>;
logins: ZodOptional<ZodNumber>;
},
$loose,
>;
};
getCharacterShip: {
path: "characters/{characterId}/ship";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
ship_item_id: ZodNumber;
ship_name: ZodString;
ship_type_id: ZodNumber;
},
$loose,
>;
};
} = ...
Type Declaration
-
ReadonlygetCharacterLocation: {
path: "characters/{characterId}/location";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
solar_system_id: ZodNumber;
station_id: ZodOptional<ZodNumber>;
structure_id: ZodOptional<ZodNumber>;
},
$loose,
>;
}
-
ReadonlygetCharacterOnline: {
path: "characters/{characterId}/online";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
online: ZodBoolean;
last_login: ZodOptional<ZodString>;
last_logout: ZodOptional<ZodString>;
logins: ZodOptional<ZodNumber>;
},
$loose,
>;
}
-
ReadonlygetCharacterShip: {
path: "characters/{characterId}/ship";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodObject<
{
ship_item_id: ZodNumber;
ship_name: ZodString;
ship_type_id: ZodNumber;
},
$loose,
>;
}