UNPKG

valorant-api-types

Version:

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

27 lines 855 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setPartyAccessibilityEndpoint = void 0; const commonTypes_1 = require("../../commonTypes"); const zod_1 = require("zod"); exports.setPartyAccessibilityEndpoint = { name: 'Set Party Accessibility', description: 'Set the accessibility of the party', queryName: 'Party_SetAccessibility', category: 'Party Endpoints', type: 'glz', method: 'POST', suffix: 'parties/v1/parties/{party id}/accessibility', riotRequirements: { token: true, entitlement: true, clientPlatform: true, clientVersion: true }, body: zod_1.z.object({ accessibility: zod_1.z.enum(['OPEN', 'CLOSED']) }), responses: { '200': commonTypes_1.partySchema } }; //# sourceMappingURL=SetPartyAccessibility.js.map