@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: {
        getPublicListings: {
            path: "paragon-hub/skinr";
            method: "GET";
            requiresAuth: false;
            queryParams: { after: "after"; before: "before"; limit: "limit" };
            responseSchema: ZodObject<
                {
                    cursor: ZodOptional<
                        ZodObject<
                            { after: ZodOptional<ZodString>; before: ZodOptional<ZodString> },
                            $loose,
                        >,
                    >;
                    listings: ZodArray<
                        ZodObject<
                            {
                                id: ZodString;
                                state: ZodType<
                                    string & {}
                                    | "expired"
                                    | "removed"
                                    | "listed"
                                    | "sold_out",
                                    unknown,
                                    $ZodTypeInternals<
                                        (...) & (...)
                                        | "expired"
                                        | "removed"
                                        | "listed"
                                        | "sold_out",
                                        unknown,
                                    >,
                                >;
                                last_modified: ZodString;
                                seller_id: ZodNumber;
                                skinr_id: ZodString;
                                created: ZodString;
                                expires: ZodString;
                                quantity: ZodNumber;
                                price: ZodObject<
                                    { isk: ZodOptional<ZodNumber>; plex: ZodOptional<ZodNumber> },
                                    $loose,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
        };
        getCharacterListings: {
            path: "characters/{characterId}/paragon-hub/skinr";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            queryParams: { after: "after"; before: "before"; limit: "limit" };
            responseSchema: ZodObject<
                {
                    cursor: ZodOptional<
                        ZodObject<
                            { after: ZodOptional<ZodString>; before: ZodOptional<ZodString> },
                            $loose,
                        >,
                    >;
                    listings: ZodArray<
                        ZodObject<
                            {
                                id: ZodString;
                                state: ZodType<
                                    string & {}
                                    | "expired"
                                    | "removed"
                                    | "listed"
                                    | "sold_out",
                                    unknown,
                                    $ZodTypeInternals<
                                        (...) & (...)
                                        | "expired"
                                        | "removed"
                                        | "listed"
                                        | "sold_out",
                                        unknown,
                                    >,
                                >;
                                last_modified: ZodString;
                                seller_id: ZodNumber;
                                skinr_id: ZodString;
                                created: ZodString;
                                expires: ZodString;
                                quantity: ZodNumber;
                                price: ZodObject<
                                    { isk: ZodOptional<ZodNumber>; plex: ZodOptional<ZodNumber> },
                                    $loose,
                                >;
                                target: ZodObject<
                                    {
                                        character_id: ZodOptional<ZodNumber>;
                                        corporation_id: ZodOptional<ZodNumber>;
                                        alliance_id: ZodOptional<ZodNumber>;
                                        public: ZodOptional<ZodBoolean>;
                                    },
                                    $loose,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
        };
        getAllianceListings: {
            path: "paragon-hub/skinr/alliances/{allianceId}";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["allianceId"];
            queryParams: { after: "after"; before: "before"; limit: "limit" };
            responseSchema: ZodObject<
                {
                    cursor: ZodOptional<
                        ZodObject<
                            { after: ZodOptional<ZodString>; before: ZodOptional<ZodString> },
                            $loose,
                        >,
                    >;
                    listings: ZodArray<
                        ZodObject<
                            {
                                id: ZodString;
                                state: ZodType<
                                    string & {}
                                    | "expired"
                                    | "removed"
                                    | "listed"
                                    | "sold_out",
                                    unknown,
                                    $ZodTypeInternals<
                                        (...) & (...)
                                        | "expired"
                                        | "removed"
                                        | "listed"
                                        | "sold_out",
                                        unknown,
                                    >,
                                >;
                                last_modified: ZodString;
                                seller_id: ZodNumber;
                                skinr_id: ZodString;
                                created: ZodString;
                                expires: ZodString;
                                quantity: ZodNumber;
                                price: ZodObject<
                                    { isk: ZodOptional<ZodNumber>; plex: ZodOptional<ZodNumber> },
                                    $loose,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
        };
        getCharacterTargetedListings: {
            path: "paragon-hub/skinr/characters/{characterId}";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            queryParams: { after: "after"; before: "before"; limit: "limit" };
            responseSchema: ZodObject<
                {
                    cursor: ZodOptional<
                        ZodObject<
                            { after: ZodOptional<ZodString>; before: ZodOptional<ZodString> },
                            $loose,
                        >,
                    >;
                    listings: ZodArray<
                        ZodObject<
                            {
                                id: ZodString;
                                state: ZodType<
                                    string & {}
                                    | "expired"
                                    | "removed"
                                    | "listed"
                                    | "sold_out",
                                    unknown,
                                    $ZodTypeInternals<
                                        (...) & (...)
                                        | "expired"
                                        | "removed"
                                        | "listed"
                                        | "sold_out",
                                        unknown,
                                    >,
                                >;
                                last_modified: ZodString;
                                seller_id: ZodNumber;
                                skinr_id: ZodString;
                                created: ZodString;
                                expires: ZodString;
                                quantity: ZodNumber;
                                price: ZodObject<
                                    { isk: ZodOptional<ZodNumber>; plex: ZodOptional<ZodNumber> },
                                    $loose,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
        };
        getCorporationListings: {
            path: "paragon-hub/skinr/corporations/{corporationId}";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["corporationId"];
            queryParams: { after: "after"; before: "before"; limit: "limit" };
            responseSchema: ZodObject<
                {
                    cursor: ZodOptional<
                        ZodObject<
                            { after: ZodOptional<ZodString>; before: ZodOptional<ZodString> },
                            $loose,
                        >,
                    >;
                    listings: ZodArray<
                        ZodObject<
                            {
                                id: ZodString;
                                state: ZodType<
                                    string & {}
                                    | "expired"
                                    | "removed"
                                    | "listed"
                                    | "sold_out",
                                    unknown,
                                    $ZodTypeInternals<
                                        (...) & (...)
                                        | "expired"
                                        | "removed"
                                        | "listed"
                                        | "sold_out",
                                        unknown,
                                    >,
                                >;
                                last_modified: ZodString;
                                seller_id: ZodNumber;
                                skinr_id: ZodString;
                                created: ZodString;
                                expires: ZodString;
                                quantity: ZodNumber;
                                price: ZodObject<
                                    { isk: ZodOptional<ZodNumber>; plex: ZodOptional<ZodNumber> },
                                    $loose,
                                >;
                            },
                            $loose,
                        >,
                    >;
                },
                $loose,
            >;
        };
    }
    • Type Parameters

      • R

      Parameters

      • endpointName:
            | "getPublicListings"
            | "getCharacterListings"
            | "getAllianceListings"
            | "getCharacterTargetedListings"
            | "getCorporationListings"
      • ...args: unknown[]

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

    • Type Parameters

      • R

      Parameters

      • endpointName:
            | "getPublicListings"
            | "getCharacterListings"
            | "getAllianceListings"
            | "getCharacterTargetedListings"
            | "getCorporationListings"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Parameters

      • Optionalafter: string
      • Optionalbefore: string
      • Optionallimit: number

      Returns Promise<
          {
              cursor?: { after?: string; before?: string; [key: string]: unknown };
              listings: {
                  id: string;
                  state: string & {} | "expired" | "removed" | "listed" | "sold_out";
                  last_modified: string;
                  seller_id: number;
                  skinr_id: string;
                  created: string;
                  expires: string;
                  quantity: number;
                  price: { isk?: number; plex?: number; [key: string]: unknown };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

    • Parameters

      • characterId: number
      • Optionalafter: string
      • Optionalbefore: string
      • Optionallimit: number

      Returns Promise<
          {
              cursor?: { after?: string; before?: string; [key: string]: unknown };
              listings: {
                  id: string;
                  state: string & {} | "expired" | "removed" | "listed" | "sold_out";
                  last_modified: string;
                  seller_id: number;
                  skinr_id: string;
                  created: string;
                  expires: string;
                  quantity: number;
                  price: { isk?: number; plex?: number; [key: string]: unknown };
                  target: {
                      character_id?: number;
                      corporation_id?: number;
                      alliance_id?: number;
                      public?: boolean;
                      [key: string]: unknown;
                  };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

    • Parameters

      • allianceId: number
      • Optionalafter: string
      • Optionalbefore: string
      • Optionallimit: number

      Returns Promise<
          {
              cursor?: { after?: string; before?: string; [key: string]: unknown };
              listings: {
                  id: string;
                  state: string & {} | "expired" | "removed" | "listed" | "sold_out";
                  last_modified: string;
                  seller_id: number;
                  skinr_id: string;
                  created: string;
                  expires: string;
                  quantity: number;
                  price: { isk?: number; plex?: number; [key: string]: unknown };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

    • Parameters

      • characterId: number
      • Optionalafter: string
      • Optionalbefore: string
      • Optionallimit: number

      Returns Promise<
          {
              cursor?: { after?: string; before?: string; [key: string]: unknown };
              listings: {
                  id: string;
                  state: string & {} | "expired" | "removed" | "listed" | "sold_out";
                  last_modified: string;
                  seller_id: number;
                  skinr_id: string;
                  created: string;
                  expires: string;
                  quantity: number;
                  price: { isk?: number; plex?: number; [key: string]: unknown };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >

    • Parameters

      • corporationId: number
      • Optionalafter: string
      • Optionalbefore: string
      • Optionallimit: number

      Returns Promise<
          {
              cursor?: { after?: string; before?: string; [key: string]: unknown };
              listings: {
                  id: string;
                  state: string & {} | "expired" | "removed" | "listed" | "sold_out";
                  last_modified: string;
                  seller_id: number;
                  skinr_id: string;
                  created: string;
                  expires: string;
                  quantity: number;
                  price: { isk?: number; plex?: number; [key: string]: unknown };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >