Variable calendarEndpointsConst
calendarEndpoints: {
getCalendarEvents: {
path: "characters/{characterId}/calendar/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodArray<
ZodObject<
{
event_id: ZodOptional<ZodNumber>;
event_date: ZodOptional<ZodString>;
title: ZodOptional<ZodString>;
importance: ZodOptional<ZodNumber>;
event_response: ZodOptional<
ZodType<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
$ZodTypeInternals<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
>,
>,
>;
},
$loose,
>,
>;
};
getCalendarEventById: {
path: "characters/{characterId}/calendar/{eventId}/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
responseSchema: ZodObject<
{
event_id: ZodNumber;
date: ZodString;
title: ZodString;
text: ZodString;
owner_id: ZodNumber;
owner_name: ZodString;
owner_type: ZodType<
| string & {}
| "faction"
| "character"
| "corporation"
| "alliance"
| "eve_server",
unknown,
$ZodTypeInternals<
| string & {}
| "faction"
| "character"
| "corporation"
| "alliance"
| "eve_server",
unknown,
>,
>;
duration: ZodNumber;
importance: ZodNumber;
response: ZodString;
},
$loose,
>;
};
getEventAttendees: {
path: "characters/{characterId}/calendar/{eventId}/attendees/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
responseSchema: ZodArray<
ZodObject<
{
character_id: ZodOptional<ZodNumber>;
event_response: ZodOptional<
ZodType<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
$ZodTypeInternals<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
>,
>,
>;
},
$loose,
>,
>;
};
respondToCalendarEvent: {
path: "characters/{characterId}/calendar/{eventId}/";
method: "PUT";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
bodyBuilder: (response: string) => { response: string };
};
} = ...
Type Declaration
-
ReadonlygetCalendarEvents: {
path: "characters/{characterId}/calendar/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId"];
responseSchema: ZodArray<
ZodObject<
{
event_id: ZodOptional<ZodNumber>;
event_date: ZodOptional<ZodString>;
title: ZodOptional<ZodString>;
importance: ZodOptional<ZodNumber>;
event_response: ZodOptional<
ZodType<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
$ZodTypeInternals<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
>,
>,
>;
},
$loose,
>,
>;
}
-
ReadonlygetCalendarEventById: {
path: "characters/{characterId}/calendar/{eventId}/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
responseSchema: ZodObject<
{
event_id: ZodNumber;
date: ZodString;
title: ZodString;
text: ZodString;
owner_id: ZodNumber;
owner_name: ZodString;
owner_type: ZodType<
| string & {}
| "faction"
| "character"
| "corporation"
| "alliance"
| "eve_server",
unknown,
$ZodTypeInternals<
| string & {}
| "faction"
| "character"
| "corporation"
| "alliance"
| "eve_server",
unknown,
>,
>;
duration: ZodNumber;
importance: ZodNumber;
response: ZodString;
},
$loose,
>;
}
-
ReadonlygetEventAttendees: {
path: "characters/{characterId}/calendar/{eventId}/attendees/";
method: "GET";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
responseSchema: ZodArray<
ZodObject<
{
character_id: ZodOptional<ZodNumber>;
event_response: ZodOptional<
ZodType<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
$ZodTypeInternals<
| string & {}
| "declined"
| "not_responded"
| "accepted"
| "tentative",
unknown,
>,
>,
>;
},
$loose,
>,
>;
}
-
ReadonlyrespondToCalendarEvent: {
path: "characters/{characterId}/calendar/{eventId}/";
method: "PUT";
requiresAuth: true;
pathParams: readonly ["characterId", "eventId"];
bodyBuilder: (response: string) => { response: string };
}