UNPKG

valorant-api-types

Version:

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

30 lines 975 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.chatSessionEndpoint = void 0; const zod_1 = require("zod"); const commonTypes_1 = require("../../commonTypes"); exports.chatSessionEndpoint = { name: 'Chat Session', description: 'Get the current session including player name and PUUID', category: 'Local Endpoints', type: 'local', suffix: 'chat/v1/session', riotRequirements: { localAuth: true }, responses: { '200': zod_1.z.object({ federated: zod_1.z.boolean(), game_name: zod_1.z.string(), game_tag: zod_1.z.string(), loaded: zod_1.z.boolean(), name: zod_1.z.string(), pid: zod_1.z.string(), puuid: commonTypes_1.playerUUIDSchema, region: zod_1.z.string(), resource: zod_1.z.string(), state: zod_1.z.string() }) } }; //# sourceMappingURL=ChatSession.js.map