valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
27 lines • 786 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.changeQueueEndpoint = void 0;
const commonTypes_1 = require("../../commonTypes");
const zod_1 = require("zod");
exports.changeQueueEndpoint = {
name: 'Change Queue',
description: 'Change the queue for the party',
queryName: 'Party_ChangeQueue',
category: 'Party Endpoints',
type: 'glz',
method: 'POST',
suffix: 'parties/v1/parties/{party id}/queue',
riotRequirements: {
token: true,
entitlement: true,
clientPlatform: true,
clientVersion: true
},
body: zod_1.z.object({
queueId: commonTypes_1.queueIDSchema
}),
responses: {
'200': commonTypes_1.partySchema
}
};
//# sourceMappingURL=ChangeQueue.js.map