valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
28 lines • 874 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.partyInviteEndpoint = void 0;
const commonTypes_1 = require("../../commonTypes");
const zod_1 = require("zod");
exports.partyInviteEndpoint = {
name: 'Party Invite',
description: 'Invite a player to the party by name and tagline',
queryName: 'Party_InviteToPartyByDisplayName',
category: 'Party Endpoints',
type: 'glz',
method: 'POST',
suffix: 'parties/v1/parties/{party id}/invites/name/{name}/tag/{tagline}',
variables: new Map([
['name', zod_1.z.string()],
['tagline', zod_1.z.string()]
]),
riotRequirements: {
token: true,
entitlement: true,
clientVersion: true,
clientPlatform: true
},
responses: {
'200': commonTypes_1.partySchema
}
};
//# sourceMappingURL=PartyInvite.js.map