@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    The base of the custom domain clients: an endpoint map turned into methods, plus the stream*/fetchAll* page helpers and withMetadata/withSafeMode. Extend it for a custom domain client of your own.

    Hierarchy (View Summary)

    Index
    api: ClientMethods<T>
    _client: ApiClient
    _endpoints: {
        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 Parameters

      • R

      Parameters

      • endpointName:
            | "getCalendarEvents"
            | "getCalendarEventById"
            | "getEventAttendees"
            | "respondToCalendarEvent"
      • ...args: unknown[]

      Returns AsyncGenerator<PageResult<R>, void, undefined>

    • Type Parameters

      • R

      Parameters

      • endpointName:
            | "getCalendarEvents"
            | "getCalendarEventById"
            | "getEventAttendees"
            | "respondToCalendarEvent"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Retrieve a character's upcoming calendar events.

      Parameters

      • characterId: number

        The ID of the character whose calendar events to retrieve

      Returns Promise<
          {
              event_id?: number;
              event_date?: string;
              title?: string;
              importance?: number;
              event_response?: | string & {}
              | "declined"
              | "not_responded"
              | "accepted"
              | "tentative";
              [key: string]: unknown;
          }[],
      >

      A list of upcoming calendar events

      Authentication

    • Retrieve detailed information about a specific calendar event for a character.

      Parameters

      • characterId: number

        The ID of the character who owns the event

      • eventId: number

        The ID of the calendar event to retrieve

      Returns Promise<
          {
              event_id: number;
              date: string;
              title: string;
              text: string;
              owner_id: number;
              owner_name: string;
              owner_type: | string & {}
              | "faction"
              | "character"
              | "corporation"
              | "alliance"
              | "eve_server";
              duration: number;
              importance: number;
              response: string;
              [key: string]: unknown;
          },
      >

      Detailed event information including title, description, and timing

      Authentication

    • Set a character's response to a calendar event (accepted, declined, or tentative).

      Parameters

      • characterId: number

        The ID of the character responding to the event

      • eventId: number

        The ID of the calendar event to respond to

      • response: string

        The response status to set for this event

      Returns Promise<void>

      Authentication

    • Retrieve the list of attendees and their response statuses for a calendar event.

      Parameters

      • characterId: number

        The ID of the character who owns the event

      • eventId: number

        The ID of the calendar event whose attendees to retrieve

      Returns Promise<
          {
              character_id?: number;
              event_response?: | string & {}
              | "declined"
              | "not_responded"
              | "accepted"
              | "tentative";
              [key: string]: unknown;
          }[],
      >

      A list of attendees with their response statuses

      Authentication

    • Parameters

      • characterId: number
      • Optionalconcurrency: number

      Returns Promise<
          {
              event_id?: number;
              event_date?: string;
              title?: string;
              importance?: number;
              event_response?: | string & {}
              | "declined"
              | "not_responded"
              | "accepted"
              | "tentative";
              [key: string]: unknown;
          }[],
      >

    • Parameters

      • characterId: number
      • eventId: number
      • Optionalconcurrency: number

      Returns Promise<
          {
              character_id?: number;
              event_response?: | string & {}
              | "declined"
              | "not_responded"
              | "accepted"
              | "tentative";
              [key: string]: unknown;
          }[],
      >

    • Parameters

      • characterId: number

      Returns AsyncGenerator<
          PageResult<
              {
                  event_id?: number;
                  event_date?: string;
                  title?: string;
                  importance?: number;
                  event_response?: | string & {}
                  | "declined"
                  | "not_responded"
                  | "accepted"
                  | "tentative";
                  [key: string]: unknown;
              },
          >,
          void,
          undefined,
      >

    • Parameters

      • characterId: number
      • eventId: number

      Returns AsyncGenerator<
          PageResult<
              {
                  character_id?: number;
                  event_response?: | string & {}
                  | "declined"
                  | "not_responded"
                  | "accepted"
                  | "tentative";
                  [key: string]: unknown;
              },
          >,
          void,
          undefined,
      >