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

    Class CharacterSkillsClient

    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: {
        getCharacterAttributes: {
            path: "characters/{characterId}/attributes";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    charisma: ZodNumber;
                    intelligence: ZodNumber;
                    memory: ZodNumber;
                    perception: ZodNumber;
                    willpower: ZodNumber;
                    bonus_remaps: ZodOptional<ZodNumber>;
                    last_remap_date: ZodOptional<ZodString>;
                    accrued_remap_cooldown_date: ZodOptional<ZodString>;
                },
                $loose,
            >;
        };
        getCharacterSkillQueue: {
            path: "characters/{characterId}/skillqueue";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodArray<
                ZodObject<
                    {
                        skill_id: ZodNumber;
                        finished_level: ZodNumber;
                        queue_position: ZodNumber;
                        level_end_sp: ZodOptional<ZodNumber>;
                        level_start_sp: ZodOptional<ZodNumber>;
                        training_start_sp: ZodOptional<ZodNumber>;
                        start_date: ZodOptional<ZodString>;
                        finish_date: ZodOptional<ZodString>;
                    },
                    $loose,
                >,
            >;
        };
        getCharacterSkills: {
            path: "characters/{characterId}/skills";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    skills: ZodArray<
                        ZodObject<
                            {
                                skill_id: ZodNumber;
                                skillpoints_in_skill: ZodNumber;
                                trained_skill_level: ZodNumber;
                                active_skill_level: ZodNumber;
                            },
                            $loose,
                        >,
                    >;
                    total_sp: ZodNumber;
                    unallocated_sp: ZodOptional<ZodNumber>;
                },
                $loose,
            >;
        };
    }
    • Type Parameters

      • R

      Parameters

      • endpointName: "getCharacterAttributes" | "getCharacterSkillQueue" | "getCharacterSkills"
      • ...args: unknown[]

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

    • Type Parameters

      • R

      Parameters

      • endpointName: "getCharacterAttributes" | "getCharacterSkillQueue" | "getCharacterSkills"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Retrieves a character's neural remap attribute values (intelligence, memory, charisma, perception, willpower).

      Parameters

      • characterId: number

        The ID of the character

      Returns Promise<
          {
              charisma: number;
              intelligence: number;
              memory: number;
              perception: number;
              willpower: number;
              bonus_remaps?: number;
              last_remap_date?: string;
              accrued_remap_cooldown_date?: string;
              [key: string]: unknown;
          },
      >

      The character's current attribute values and bonus remap information

      Authentication

    • Retrieves the skill training queue for a character.

      Parameters

      • characterId: number

        The ID of the character

      Returns Promise<
          {
              skill_id: number;
              finished_level: number;
              queue_position: number;
              level_end_sp?: number;
              level_start_sp?: number;
              training_start_sp?: number;
              start_date?: string;
              finish_date?: string;
              [key: string]: unknown;
          }[],
      >

      An ordered list of skills currently in the character's training queue

      Authentication

    • Retrieves all trained skills for a character, including total and unallocated skill points.

      Parameters

      • characterId: number

        The ID of the character

      Returns Promise<
          {
              skills: {
                  skill_id: number;
                  skillpoints_in_skill: number;
                  trained_skill_level: number;
                  active_skill_level: number;
                  [key: string]: unknown;
              }[];
              total_sp: number;
              unallocated_sp?: number;
          },
      >

      The character's trained skills, total SP, and optionally unallocated SP

      Authentication

    • Parameters

      • characterId: number
      • Optionalconcurrency: number

      Returns Promise<
          {
              skill_id: number;
              finished_level: number;
              queue_position: number;
              level_end_sp?: number;
              level_start_sp?: number;
              training_start_sp?: number;
              start_date?: string;
              finish_date?: string;
              [key: string]: unknown;
          }[],
      >

    • Parameters

      • characterId: number

      Returns AsyncGenerator<
          PageResult<
              {
                  skill_id: number;
                  finished_level: number;
                  queue_position: number;
                  level_end_sp?: number;
                  level_start_sp?: number;
                  training_start_sp?: number;
                  start_date?: string;
                  finish_date?: string;
                  [key: string]: unknown;
              },
          >,
          void,
          undefined,
      >