valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
23 lines • 854 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.multiFactorAuthenticationEndpoint = void 0;
const zod_1 = require("zod");
exports.multiFactorAuthenticationEndpoint = {
name: 'Multi-Factor Authentication',
description: 'Submits a multi-factor authentication code for login',
category: 'Authentication Endpoints',
type: 'other',
suffix: 'https://auth.riotgames.com/api/v1/authorization',
method: 'PUT',
headers: new Map([
['Content-Type', 'application/json'],
]),
body: zod_1.z.object({
type: zod_1.z.literal('multifactor'),
multifactor: zod_1.z.object({
otp: zod_1.z.string().describe('The multi-factor authentication code'),
rememberDevice: zod_1.z.boolean()
})
})
};
//# sourceMappingURL=MultiFactorAuthentication.js.map