UNPKG

valorant-api-types

Version:

A collection of documented endpoints and return types for the unofficial Valorant API

31 lines (30 loc) 992 B
import { z } from 'zod'; export declare const clientRegionEndpoint: { readonly name: "Client Region"; readonly description: "Gets info about the region and locale from the Riot client"; readonly category: "Local Endpoints"; readonly type: "local"; readonly suffix: "riotclient/region-locale"; readonly riotRequirements: { readonly localAuth: true; }; readonly responses: { readonly '200': z.ZodObject<{ locale: z.ZodString; region: z.ZodString; webLanguage: z.ZodString; webRegion: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; locale: string; webLanguage: string; webRegion: string; }, { region: string; locale: string; webLanguage: string; webRegion: string; }>; }; }; export type ClientRegionResponse = z.input<typeof clientRegionEndpoint.responses['200']>;