@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: {
        getMercenaryDens: {
            path: "characters/{characterId}/structures/mercenary-dens";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    mercenary_dens: ZodArray<
                        ZodObject<{ id: ZodNumber; planet_id: ZodNumber }, $loose>,
                    >;
                },
                $loose,
            >;
        };
        getMercenaryTacticalOperations: {
            path: "characters/{characterId}/mercenary-tactical-operations";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    operations: ZodArray<
                        ZodObject<{ id: ZodString; mercenary_den_id: ZodNumber }, $loose>,
                    >;
                },
                $loose,
            >;
        };
        getMercenaryDenDetail: {
            path: "characters/{characterId}/structures/mercenary-dens/{mercenaryDenId}";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId", "mercenaryDenId"];
            responseSchema: ZodObject<
                {
                    id: ZodNumber;
                    type_id: ZodNumber;
                    state: ZodType<
                        string & {}
                        | "Unspecified"
                        | "Running"
                        | "Paused"
                        | "Disabled",
                        unknown,
                        $ZodTypeInternals<
                            string & {}
                            | "Unspecified"
                            | "Running"
                            | "Paused"
                            | "Disabled",
                            unknown,
                        >,
                    >;
                    skyhook: ZodObject<
                        { id: ZodNumber; planet_id: ZodNumber; corporation_id: ZodNumber },
                        $loose,
                    >;
                    infomorphs: ZodObject<{ amount: ZodNumber }, $loose>;
                    evolution: ZodObject<
                        {
                            development: ZodObject<
                                {
                                    amount: ZodNumber;
                                    level: ZodType<
                                        | (...) & (...)
                                        | "Unspecified"
                                        | "Level0"
                                        | "Level1"
                                        | "Level2"
                                        | "Level3"
                                        | "Level4",
                                        unknown,
                                        $ZodTypeInternals<
                                            (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...),
                                            unknown,
                                        >,
                                    >;
                                },
                                $loose,
                            >;
                            anarchy: ZodObject<
                                {
                                    amount: ZodNumber;
                                    level: ZodType<
                                        | (...) & (...)
                                        | "Unspecified"
                                        | "Level0"
                                        | "Level1"
                                        | "Level2"
                                        | "Level3"
                                        | "Level4",
                                        unknown,
                                        $ZodTypeInternals<
                                            (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...),
                                            unknown,
                                        >,
                                    >;
                                },
                                $loose,
                            >;
                        },
                        $loose,
                    >;
                    reinforcement_timer: ZodOptional<ZodObject<{ end: ZodString }, $loose>>;
                },
                $loose,
            >;
        };
        getMercenaryTacticalOperationDetail: {
            path: "characters/{characterId}/mercenary-tactical-operations/{operationId}";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId", "operationId"];
            responseSchema: ZodObject<
                {
                    id: ZodString;
                    mercenary_den_id: ZodNumber;
                    state: ZodType<
                        | string & {}
                        | "Unspecified"
                        | "Completed"
                        | "Expired"
                        | "Available"
                        | "Started"
                        | "Removed",
                        unknown,
                        $ZodTypeInternals<
                            | string & {}
                            | "Unspecified"
                            | "Completed"
                            | "Expired"
                            | "Available"
                            | "Started"
                            | "Removed",
                            unknown,
                        >,
                    >;
                    dungeon_type_id: ZodNumber;
                    expires: ZodString;
                },
                $loose,
            >;
        };
    }
    • Type Parameters

      • R

      Parameters

      • endpointName:
            | "getMercenaryDens"
            | "getMercenaryTacticalOperations"
            | "getMercenaryDenDetail"
            | "getMercenaryTacticalOperationDetail"
      • ...args: unknown[]

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

    • Type Parameters

      • R

      Parameters

      • endpointName:
            | "getMercenaryDens"
            | "getMercenaryTacticalOperations"
            | "getMercenaryDenDetail"
            | "getMercenaryTacticalOperationDetail"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Retrieves the mercenary dens a character owns. Call getMercenaryDenDetail for a den's evolution, infomorphs and skyhook.

      Parameters

      • characterId: number

        The ID of the character to query mercenary dens for

      Returns Promise<
          {
              mercenary_dens: {
                  id: number;
                  planet_id: number;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

      ESI's response as sent: mercenary_dens, one entry per den with its id and planet_id

      Authentication

    • Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.

      Parameters

      • characterId: number

        The ID of the character to query tactical operations for

      Returns Promise<
          {
              operations: {
                  id: string;
                  mercenary_den_id: number;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

      ESI's response as sent: operations, one entry per operation with its UUID id and the mercenary_den_id it spawned from

      Authentication

    • Retrieves detail for a specific mercenary den including evolution, infomorphs, and skyhook attachment.

      Parameters

      • characterId: number

        The ID of the character

      • mercenaryDenId: number

        The ID of the mercenary den

      Returns Promise<
          {
              id: number;
              type_id: number;
              state: string & {}
              | "Unspecified"
              | "Running"
              | "Paused"
              | "Disabled";
              skyhook: {
                  id: number;
                  planet_id: number;
                  corporation_id: number;
                  [key: string]: unknown;
              };
              infomorphs: { amount: number; [key: string]: unknown };
              evolution: {
                  development: {
                      amount: number;
                      level:
                          | string & {}
                          | "Unspecified"
                          | "Level0"
                          | "Level1"
                          | "Level2"
                          | "Level3"
                          | "Level4";
                      [key: string]: unknown;
                  };
                  anarchy: {
                      amount: number;
                      level: | string & {}
                      | "Unspecified"
                      | "Level0"
                      | "Level1"
                      | "Level2"
                      | "Level3"
                      | "Level4";
                      [key: string]: unknown;
                  };
                  [key: string]: unknown;
              };
              reinforcement_timer?: { end: string; [key: string]: unknown };
              [key: string]: unknown;
          },
      >

      Mercenary den detail

      Authentication

    • Retrieves detail for a specific mercenary tactical operation.

      Parameters

      • characterId: number

        The ID of the character

      • operationId: string

        The UUID of the tactical operation

      Returns Promise<
          {
              id: string;
              mercenary_den_id: number;
              state: | string & {}
              | "Unspecified"
              | "Completed"
              | "Expired"
              | "Available"
              | "Started"
              | "Removed";
              dungeon_type_id: number;
              expires: string;
              [key: string]: unknown;
          },
      >

      Mercenary tactical operation detail

      Authentication