valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
24 lines (23 loc) • 743 B
TypeScript
import { z } from 'zod';
export declare const removeFriendRequestEndpoint: {
readonly name: "Remove Friend Request";
readonly description: "Removes an outgoing friend request";
readonly category: "Local Endpoints";
readonly type: "local";
readonly suffix: "chat/v4/friendrequests";
readonly method: "DELETE";
readonly riotRequirements: {
readonly localAuth: true;
};
readonly body: z.ZodObject<{
puuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
puuid: string;
}, {
puuid: string;
}>;
readonly responses: {
readonly '204': z.ZodUndefined;
};
};
export type RemoveFriendRequestResponse = z.input<typeof removeFriendRequestEndpoint.responses['204']>;