@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: {
        searchCharacter: {
            path: "characters/{characterId}/search/";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            queryParams: { searchString: "search"; categories: "categories" };
            responseSchema: ZodObject<
                {
                    agent: ZodOptional<ZodArray<ZodNumber>>;
                    alliance: ZodOptional<ZodArray<ZodNumber>>;
                    character: ZodOptional<ZodArray<ZodNumber>>;
                    constellation: ZodOptional<ZodArray<ZodNumber>>;
                    corporation: ZodOptional<ZodArray<ZodNumber>>;
                    faction: ZodOptional<ZodArray<ZodNumber>>;
                    inventory_type: ZodOptional<ZodArray<ZodNumber>>;
                    region: ZodOptional<ZodArray<ZodNumber>>;
                    solar_system: ZodOptional<ZodArray<ZodNumber>>;
                    station: ZodOptional<ZodArray<ZodNumber>>;
                    structure: ZodOptional<ZodArray<ZodNumber>>;
                },
                $loose,
            >;
        };
    }
    • Type Parameters

      • R

      Parameters

      • endpointName: "searchCharacter"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Searches for entities matching a query string on behalf of a character.

      Parameters

      • characterId: number

        The ID of the character performing the search

      • searchString: string

        The search query string to match against

      • categories: string[]

      Returns Promise<
          {
              agent?: number[];
              alliance?: number[];
              character?: number[];
              constellation?: number[];
              corporation?: number[];
              faction?: number[];
              inventory_type?: number[];
              region?: number[];
              solar_system?: number[];
              station?: number[];
              structure?: number[];
              [key: string]: unknown;
          },
      >

      Search results grouped by entity category

      Authentication