valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
17 lines (16 loc) • 650 B
TypeScript
import { z } from 'zod';
export declare const pasTokenEndpoint: {
readonly name: "PAS Token";
readonly description: "Get a PAS token using the auth token. The PAS token is a JWT that contains the affinity for the XMPP server.";
readonly category: "Authentication Endpoints";
readonly type: "other";
readonly suffix: "https://riot-geo.pas.si.riotgames.com/pas/v1/service/chat";
readonly method: "GET";
readonly riotRequirements: {
readonly token: true;
};
readonly responses: {
readonly '200': z.ZodString;
};
};
export type PASTokenResponse = z.infer<typeof pasTokenEndpoint.responses['200']>;