valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
23 lines • 700 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.clientRegionEndpoint = void 0;
const zod_1 = require("zod");
exports.clientRegionEndpoint = {
name: 'Client Region',
description: 'Gets info about the region and locale from the Riot client',
category: 'Local Endpoints',
type: 'local',
suffix: 'riotclient/region-locale',
riotRequirements: {
localAuth: true
},
responses: {
'200': zod_1.z.object({
locale: zod_1.z.string(),
region: zod_1.z.string(),
webLanguage: zod_1.z.string(),
webRegion: zod_1.z.string()
})
}
};
//# sourceMappingURL=ClientRegion.js.map