rozod 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +551 -0
- package/lib/endpoints/accountinformationv1.js +652 -0
- package/lib/endpoints/accountsettingsv1.d.ts +548 -0
- package/lib/endpoints/accountsettingsv1.js +712 -0
- package/lib/endpoints/assetdeliveryv1.d.ts +599 -0
- package/lib/endpoints/assetdeliveryv1.js +268 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +780 -0
- package/lib/endpoints/assetdeliveryv2.js +271 -0
- package/lib/endpoints/authv1.d.ts +1328 -0
- package/lib/endpoints/authv1.js +1168 -0
- package/lib/endpoints/authv2.d.ts +1239 -0
- package/lib/endpoints/authv2.js +1057 -0
- package/lib/endpoints/authv3.d.ts +35 -0
- package/lib/endpoints/authv3.js +41 -0
- package/lib/endpoints/avatarv1.d.ts +1841 -0
- package/lib/endpoints/avatarv1.js +726 -0
- package/lib/endpoints/avatarv2.d.ts +1077 -0
- package/lib/endpoints/avatarv2.js +316 -0
- package/lib/endpoints/avatarv3.d.ts +656 -0
- package/lib/endpoints/avatarv3.js +219 -0
- package/lib/endpoints/badgesv1.d.ts +641 -0
- package/lib/endpoints/badgesv1.js +345 -0
- package/lib/endpoints/catalogv1.d.ts +1715 -0
- package/lib/endpoints/catalogv1.js +792 -0
- package/lib/endpoints/chatv2.d.ts +2179 -0
- package/lib/endpoints/chatv2.js +721 -0
- package/lib/endpoints/developv1.d.ts +2097 -0
- package/lib/endpoints/developv1.js +1537 -0
- package/lib/endpoints/developv2.d.ts +619 -0
- package/lib/endpoints/developv2.js +316 -0
- package/lib/endpoints/economyv1.d.ts +20 -0
- package/lib/endpoints/economyv1.js +28 -0
- package/lib/endpoints/friendsv1.d.ts +1093 -0
- package/lib/endpoints/friendsv1.js +818 -0
- package/lib/endpoints/gamesv1.d.ts +2749 -0
- package/lib/endpoints/gamesv1.js +1294 -0
- package/lib/endpoints/gamesv2.d.ts +582 -0
- package/lib/endpoints/gamesv2.js +258 -0
- package/lib/endpoints/groupsv1.d.ts +5528 -0
- package/lib/endpoints/groupsv1.js +2434 -0
- package/lib/endpoints/groupsv2.d.ts +530 -0
- package/lib/endpoints/groupsv2.js +201 -0
- package/lib/endpoints/inventoryv1.d.ts +436 -0
- package/lib/endpoints/inventoryv1.js +434 -0
- package/lib/endpoints/inventoryv2.d.ts +256 -0
- package/lib/endpoints/inventoryv2.js +241 -0
- package/lib/endpoints/presencev1.d.ts +134 -0
- package/lib/endpoints/presencev1.js +93 -0
- package/lib/endpoints/privatemessagesv1.d.ts +620 -0
- package/lib/endpoints/privatemessagesv1.js +338 -0
- package/lib/endpoints/thumbnailsv1.d.ts +897 -0
- package/lib/endpoints/thumbnailsv1.js +560 -0
- package/lib/endpoints/tradesv1.d.ts +473 -0
- package/lib/endpoints/tradesv1.js +403 -0
- package/lib/endpoints/translationsv1.d.ts +80 -0
- package/lib/endpoints/translationsv1.js +122 -0
- package/lib/endpoints/usersv1.d.ts +391 -0
- package/lib/endpoints/usersv1.js +344 -0
- package/lib/index.d.ts +85 -0
- package/lib/index.js +293 -0
- package/package.json +39 -0
- package/readme.md +99 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const postV3usersUserIdtwoStepVerificationlogin: {
|
|
3
|
+
method: "post";
|
|
4
|
+
path: string;
|
|
5
|
+
baseUrl: string;
|
|
6
|
+
requestFormat: "json";
|
|
7
|
+
parameters: {
|
|
8
|
+
body: z.ZodObject<{
|
|
9
|
+
challengeId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
verificationToken: z.ZodOptional<z.ZodString>;
|
|
11
|
+
rememberDevice: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
challengeId?: string | undefined;
|
|
14
|
+
verificationToken?: string | undefined;
|
|
15
|
+
rememberDevice?: boolean | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
challengeId?: string | undefined;
|
|
18
|
+
verificationToken?: string | undefined;
|
|
19
|
+
rememberDevice?: boolean | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
userId: z.ZodNumber;
|
|
22
|
+
};
|
|
23
|
+
response: z.ZodObject<{
|
|
24
|
+
identityVerificationLoginTicket: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
identityVerificationLoginTicket?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
identityVerificationLoginTicket?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
errors: {
|
|
31
|
+
status: number;
|
|
32
|
+
description: string;
|
|
33
|
+
schema: z.ZodVoid;
|
|
34
|
+
}[];
|
|
35
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.postV3usersUserIdtwoStepVerificationlogin = void 0;
|
|
4
|
+
var zod_1 = require("zod");
|
|
5
|
+
var Roblox_Authentication_Api_TwoStepVerificationLoginRequest = zod_1.z
|
|
6
|
+
.object({
|
|
7
|
+
challengeId: zod_1.z.string(),
|
|
8
|
+
verificationToken: zod_1.z.string(),
|
|
9
|
+
rememberDevice: zod_1.z.boolean(),
|
|
10
|
+
})
|
|
11
|
+
.partial();
|
|
12
|
+
var Roblox_Authentication_Api_Models_TwoStepVerificationV3LoginResponse = zod_1.z
|
|
13
|
+
.object({ identityVerificationLoginTicket: zod_1.z.string() })
|
|
14
|
+
.partial();
|
|
15
|
+
var schemas = {
|
|
16
|
+
Roblox_Authentication_Api_TwoStepVerificationLoginRequest: Roblox_Authentication_Api_TwoStepVerificationLoginRequest,
|
|
17
|
+
Roblox_Authentication_Api_Models_TwoStepVerificationV3LoginResponse: Roblox_Authentication_Api_Models_TwoStepVerificationV3LoginResponse,
|
|
18
|
+
};
|
|
19
|
+
exports.postV3usersUserIdtwoStepVerificationlogin = {
|
|
20
|
+
method: 'post',
|
|
21
|
+
path: '/v3/users/:userId/two-step-verification/login',
|
|
22
|
+
baseUrl: 'https://auth.roblox.com',
|
|
23
|
+
requestFormat: 'json',
|
|
24
|
+
parameters: {
|
|
25
|
+
body: Roblox_Authentication_Api_TwoStepVerificationLoginRequest,
|
|
26
|
+
userId: zod_1.z.number().int(),
|
|
27
|
+
},
|
|
28
|
+
response: zod_1.z.object({ identityVerificationLoginTicket: zod_1.z.string() }).partial(),
|
|
29
|
+
errors: [
|
|
30
|
+
{
|
|
31
|
+
status: 400,
|
|
32
|
+
description: "1: User is invalid.\n5: Invalid two step verification ticket.\n10: Invalid verification token.",
|
|
33
|
+
schema: zod_1.z.void(),
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
status: 403,
|
|
37
|
+
description: "0: Token Validation Failed",
|
|
38
|
+
schema: zod_1.z.void(),
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
};
|