@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: {
        getAllianceById: {
            path: "alliances/{allianceId}/";
            method: "GET";
            requiresAuth: false;
            pathParams: readonly ["allianceId"];
            responseSchema: ZodObject<
                {
                    alliance_id: ZodOptional<ZodNumber>;
                    name: ZodString;
                    ticker: ZodString;
                    creator_id: ZodNumber;
                    creator_corporation_id: ZodNumber;
                    executor_corporation_id: ZodOptional<ZodNumber>;
                    date_founded: ZodString;
                    faction_id: ZodOptional<ZodNumber>;
                },
                $loose,
            >;
        };
        getCorporations: {
            path: "alliances/{allianceId}/corporations/";
            method: "GET";
            requiresAuth: false;
            pathParams: readonly ["allianceId"];
            responseSchema: ZodArray<ZodNumber>;
        };
        getIcons: {
            path: "alliances/{allianceId}/icons/";
            method: "GET";
            requiresAuth: false;
            pathParams: readonly ["allianceId"];
            responseSchema: ZodObject<
                { px64x64: ZodOptional<ZodString>; px128x128: ZodOptional<ZodString> },
                $loose,
            >;
        };
        getAlliances: {
            path: "alliances";
            method: "GET";
            requiresAuth: false;
            responseSchema: ZodArray<ZodNumber>;
        };
    }
    • Retrieve public information about an alliance.

      Parameters

      • allianceId: number

        The ID of the alliance to look up

      Returns Promise<
          {
              alliance_id?: number;
              name: string;
              ticker: string;
              creator_id: number;
              creator_corporation_id: number;
              executor_corporation_id?: number;
              date_founded: string;
              faction_id?: number;
              [key: string]: unknown;
          },
      >

      Public alliance information including name, ticker, and founding date

    • Retrieve contacts for an alliance.

      Parameters

      • allianceId: number

        The ID of the alliance whose contacts to retrieve

      Returns Promise<
          {
              contact_id: number;
              contact_type: string & {}
              | "character"
              | "corporation"
              | "alliance";
              standing: number;
              label_ids?: number[];
              [key: string]: unknown;
          }[],
      >

      A list of alliance contacts with standings and contact types

      Use ContactsClient.getAllianceContacts() instead

      Authentication

    • Retrieve custom contact labels for an alliance.

      Parameters

      • allianceId: number

        The ID of the alliance whose contact labels to retrieve

      Returns Promise<{ label_id: number; label_name: string; [key: string]: unknown }[]>

      A list of custom labels used to categorize alliance contacts

      Use ContactsClient.getAllianceContactLabels() instead

      Authentication

    • Retrieve the list of corporation IDs that are members of an alliance.

      Parameters

      • allianceId: number

        The ID of the alliance whose member corporations to retrieve

      Returns Promise<number[]>

      An array of corporation IDs belonging to the alliance

    • Retrieve icon URLs for an alliance.

      Parameters

      • allianceId: number

        The ID of the alliance whose icons to retrieve

      Returns Promise<{ px64x64?: string; px128x128?: string; [key: string]: unknown }>

      Icon URLs at various resolutions for the alliance

    • Retrieve a list of all active alliance IDs in EVE Online.

      Returns Promise<number[]>

      An array of all active alliance IDs

    • Parameters

      • Optionalconcurrency: number

      Returns Promise<number[]>

    • Parameters

      • allianceId: number
      • Optionalconcurrency: number

      Returns Promise<number[]>

    • Type Parameters

      • R

      Parameters

      • endpointName: "getAllianceById" | "getCorporations" | "getIcons" | "getAlliances"
      • ...args: unknown[]

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

    • Type Parameters

      • R

      Parameters

      • endpointName: "getAllianceById" | "getCorporations" | "getIcons" | "getAlliances"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>