valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
25 lines • 797 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.accountAliasEndpoint = void 0;
const zod_1 = require("zod");
const commonTypes_1 = require("../../commonTypes");
exports.accountAliasEndpoint = {
name: 'Account Alias',
description: 'Gets the player username and tagline',
category: 'Local Endpoints',
type: 'local',
suffix: 'player-account/aliases/v1/active',
riotRequirements: {
localAuth: true
},
responses: {
'200': zod_1.z.object({
active: zod_1.z.boolean(),
created_datetime: commonTypes_1.millisSchema,
game_name: zod_1.z.string(),
summoner: zod_1.z.boolean(),
tag_line: zod_1.z.string()
})
}
};
//# sourceMappingURL=AccountAlias.js.map