rozod 2.0.0 → 2.0.2
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 +55 -15
- package/lib/endpoints/accountinformationv1.js +193 -128
- package/lib/endpoints/accountsettingsv1.d.ts +60 -6
- package/lib/endpoints/accountsettingsv1.js +204 -118
- package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv1.js +442 -10
- package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv2.js +443 -12
- package/lib/endpoints/authv1.d.ts +162 -36
- package/lib/endpoints/authv1.js +399 -201
- package/lib/endpoints/authv2.d.ts +108 -0
- package/lib/endpoints/authv2.js +353 -160
- package/lib/endpoints/authv3.d.ts +6 -0
- package/lib/endpoints/authv3.js +16 -8
- package/lib/endpoints/avatarv1.d.ts +94 -0
- package/lib/endpoints/avatarv1.js +239 -111
- package/lib/endpoints/avatarv2.d.ts +26 -0
- package/lib/endpoints/avatarv2.js +109 -59
- package/lib/endpoints/avatarv3.d.ts +20 -0
- package/lib/endpoints/avatarv3.js +83 -41
- package/lib/endpoints/badgesv1.d.ts +80 -3
- package/lib/endpoints/badgesv1.js +137 -51
- package/lib/endpoints/catalogv1.d.ts +183 -25
- package/lib/endpoints/catalogv1.js +307 -131
- package/lib/endpoints/chatv2.d.ts +105 -0
- package/lib/endpoints/chatv2.js +219 -114
- package/lib/endpoints/developv1.d.ts +411 -36
- package/lib/endpoints/developv1.js +707 -254
- package/lib/endpoints/developv2.d.ts +46 -0
- package/lib/endpoints/developv2.js +108 -36
- package/lib/endpoints/economyv1.js +7 -7
- package/lib/endpoints/friendsv1.d.ts +147 -0
- package/lib/endpoints/friendsv1.js +309 -114
- package/lib/endpoints/gamejoinv1.d.ts +2321 -0
- package/lib/endpoints/gamejoinv1.js +416 -0
- package/lib/endpoints/gamesv1.d.ts +319 -14
- package/lib/endpoints/gamesv1.js +531 -188
- package/lib/endpoints/gamesv2.d.ts +89 -0
- package/lib/endpoints/gamesv2.js +108 -19
- package/lib/endpoints/groupsv1.d.ts +602 -94
- package/lib/endpoints/groupsv1.js +1131 -456
- package/lib/endpoints/groupsv2.d.ts +33 -0
- package/lib/endpoints/groupsv2.js +74 -37
- package/lib/endpoints/inventoryv1.d.ts +108 -9
- package/lib/endpoints/inventoryv1.js +166 -45
- package/lib/endpoints/inventoryv2.d.ts +62 -1
- package/lib/endpoints/inventoryv2.js +91 -26
- package/lib/endpoints/presencev1.d.ts +14 -5
- package/lib/endpoints/presencev1.js +30 -21
- package/lib/endpoints/privatemessagesv1.d.ts +39 -0
- package/lib/endpoints/privatemessagesv1.js +90 -51
- package/lib/endpoints/thumbnailsv1.d.ts +309 -21
- package/lib/endpoints/thumbnailsv1.js +410 -63
- package/lib/endpoints/tradesv1.d.ts +51 -0
- package/lib/endpoints/tradesv1.js +148 -59
- package/lib/endpoints/translationsv1.d.ts +33 -0
- package/lib/endpoints/translationsv1.js +49 -14
- package/lib/endpoints/usersv1.d.ts +67 -0
- package/lib/endpoints/usersv1.js +138 -58
- package/lib/index.d.ts +4 -0
- package/lib/index.js +151 -240
- package/package.json +6 -3
|
@@ -1,31 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
* @api
|
|
4
|
-
* @param body
|
|
3
|
+
* @api get https://auth.roblox.com/v1/account/pin
|
|
5
4
|
*/
|
|
6
|
-
export declare const
|
|
7
|
-
method: "
|
|
5
|
+
export declare const getAccountPin: {
|
|
6
|
+
method: "get";
|
|
8
7
|
path: string;
|
|
9
8
|
baseUrl: string;
|
|
10
9
|
requestFormat: "json";
|
|
11
|
-
parameters: {
|
|
12
|
-
body: z.ZodObject<{
|
|
13
|
-
pin: z.ZodString;
|
|
14
|
-
reauthenticationToken: z.ZodString;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
pin: string;
|
|
17
|
-
reauthenticationToken: string;
|
|
18
|
-
}, {
|
|
19
|
-
pin: string;
|
|
20
|
-
reauthenticationToken: string;
|
|
21
|
-
}>;
|
|
22
|
-
};
|
|
23
10
|
response: z.ZodObject<{
|
|
24
|
-
|
|
11
|
+
isEnabled: z.ZodBoolean;
|
|
12
|
+
unlockedUntil: z.ZodNumber;
|
|
25
13
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
|
|
14
|
+
isEnabled: boolean;
|
|
15
|
+
unlockedUntil: number;
|
|
27
16
|
}, {
|
|
28
|
-
|
|
17
|
+
isEnabled: boolean;
|
|
18
|
+
unlockedUntil: number;
|
|
29
19
|
}>;
|
|
30
20
|
errors: {
|
|
31
21
|
status: number;
|
|
@@ -34,22 +24,35 @@ export declare const deleteAccountPin: {
|
|
|
34
24
|
}[];
|
|
35
25
|
};
|
|
36
26
|
/**
|
|
37
|
-
* @api
|
|
27
|
+
* @api post https://auth.roblox.com/v1/account/pin
|
|
28
|
+
* @param body The Roblox.Authentication.Api.Models.AccountPinRequest.
|
|
38
29
|
*/
|
|
39
|
-
export declare const
|
|
40
|
-
method: "
|
|
30
|
+
export declare const postAccountPin: {
|
|
31
|
+
method: "post";
|
|
41
32
|
path: string;
|
|
42
33
|
baseUrl: string;
|
|
43
34
|
requestFormat: "json";
|
|
35
|
+
serializationMethod: {
|
|
36
|
+
body: {};
|
|
37
|
+
};
|
|
38
|
+
parameters: {
|
|
39
|
+
body: z.ZodObject<{
|
|
40
|
+
pin: z.ZodString;
|
|
41
|
+
reauthenticationToken: z.ZodString;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
pin: string;
|
|
44
|
+
reauthenticationToken: string;
|
|
45
|
+
}, {
|
|
46
|
+
pin: string;
|
|
47
|
+
reauthenticationToken: string;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
44
50
|
response: z.ZodObject<{
|
|
45
|
-
|
|
46
|
-
unlockedUntil: z.ZodNumber;
|
|
51
|
+
success: z.ZodBoolean;
|
|
47
52
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
|
|
49
|
-
unlockedUntil: number;
|
|
53
|
+
success: boolean;
|
|
50
54
|
}, {
|
|
51
|
-
|
|
52
|
-
unlockedUntil: number;
|
|
55
|
+
success: boolean;
|
|
53
56
|
}>;
|
|
54
57
|
errors: {
|
|
55
58
|
status: number;
|
|
@@ -58,14 +61,17 @@ export declare const getAccountPin: {
|
|
|
58
61
|
}[];
|
|
59
62
|
};
|
|
60
63
|
/**
|
|
61
|
-
* @api
|
|
62
|
-
* @param body
|
|
64
|
+
* @api delete https://auth.roblox.com/v1/account/pin
|
|
65
|
+
* @param body
|
|
63
66
|
*/
|
|
64
|
-
export declare const
|
|
65
|
-
method: "
|
|
67
|
+
export declare const deleteAccountPin: {
|
|
68
|
+
method: "delete";
|
|
66
69
|
path: string;
|
|
67
70
|
baseUrl: string;
|
|
68
71
|
requestFormat: "json";
|
|
72
|
+
serializationMethod: {
|
|
73
|
+
body: {};
|
|
74
|
+
};
|
|
69
75
|
parameters: {
|
|
70
76
|
body: z.ZodObject<{
|
|
71
77
|
pin: z.ZodString;
|
|
@@ -92,14 +98,17 @@ export declare const patchAccountPin: {
|
|
|
92
98
|
}[];
|
|
93
99
|
};
|
|
94
100
|
/**
|
|
95
|
-
* @api
|
|
96
|
-
* @param body The
|
|
101
|
+
* @api patch https://auth.roblox.com/v1/account/pin
|
|
102
|
+
* @param body The request body.
|
|
97
103
|
*/
|
|
98
|
-
export declare const
|
|
99
|
-
method: "
|
|
104
|
+
export declare const patchAccountPin: {
|
|
105
|
+
method: "patch";
|
|
100
106
|
path: string;
|
|
101
107
|
baseUrl: string;
|
|
102
108
|
requestFormat: "json";
|
|
109
|
+
serializationMethod: {
|
|
110
|
+
body: {};
|
|
111
|
+
};
|
|
103
112
|
parameters: {
|
|
104
113
|
body: z.ZodObject<{
|
|
105
114
|
pin: z.ZodString;
|
|
@@ -155,6 +164,9 @@ export declare const postAccountPinUnlock: {
|
|
|
155
164
|
path: string;
|
|
156
165
|
baseUrl: string;
|
|
157
166
|
requestFormat: "json";
|
|
167
|
+
serializationMethod: {
|
|
168
|
+
body: {};
|
|
169
|
+
};
|
|
158
170
|
parameters: {
|
|
159
171
|
body: z.ZodObject<{
|
|
160
172
|
pin: z.ZodString;
|
|
@@ -208,6 +220,20 @@ export declare const getCredentialsVerification: {
|
|
|
208
220
|
path: string;
|
|
209
221
|
baseUrl: string;
|
|
210
222
|
requestFormat: "json";
|
|
223
|
+
serializationMethod: {
|
|
224
|
+
CredentialType: {
|
|
225
|
+
style: string;
|
|
226
|
+
explode: boolean;
|
|
227
|
+
};
|
|
228
|
+
CredentialValue: {
|
|
229
|
+
style: string;
|
|
230
|
+
explode: boolean;
|
|
231
|
+
};
|
|
232
|
+
Password: {
|
|
233
|
+
style: string;
|
|
234
|
+
explode: boolean;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
211
237
|
parameters: {
|
|
212
238
|
CredentialType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
213
239
|
CredentialValue: z.ZodString;
|
|
@@ -235,6 +261,9 @@ export declare const postCredentialsVerification: {
|
|
|
235
261
|
path: string;
|
|
236
262
|
baseUrl: string;
|
|
237
263
|
requestFormat: "json";
|
|
264
|
+
serializationMethod: {
|
|
265
|
+
body: {};
|
|
266
|
+
};
|
|
238
267
|
parameters: {
|
|
239
268
|
body: z.ZodObject<{
|
|
240
269
|
credentialType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
@@ -272,6 +301,9 @@ export declare const postCredentialsVerificationSend: {
|
|
|
272
301
|
path: string;
|
|
273
302
|
baseUrl: string;
|
|
274
303
|
requestFormat: "json";
|
|
304
|
+
serializationMethod: {
|
|
305
|
+
body: {};
|
|
306
|
+
};
|
|
275
307
|
parameters: {
|
|
276
308
|
body: z.ZodObject<{
|
|
277
309
|
credentialType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
@@ -303,6 +335,9 @@ export declare const postIdentityVerificationLogin: {
|
|
|
303
335
|
path: string;
|
|
304
336
|
baseUrl: string;
|
|
305
337
|
requestFormat: "json";
|
|
338
|
+
serializationMethod: {
|
|
339
|
+
body: {};
|
|
340
|
+
};
|
|
306
341
|
parameters: {
|
|
307
342
|
body: z.ZodObject<{
|
|
308
343
|
loginTicket: z.ZodString;
|
|
@@ -331,6 +366,9 @@ export declare const postLogin: {
|
|
|
331
366
|
path: string;
|
|
332
367
|
baseUrl: string;
|
|
333
368
|
requestFormat: "json";
|
|
369
|
+
serializationMethod: {
|
|
370
|
+
body: {};
|
|
371
|
+
};
|
|
334
372
|
parameters: {
|
|
335
373
|
body: z.ZodObject<{
|
|
336
374
|
ctype: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
@@ -533,6 +571,16 @@ export declare const getPasswordsValidate: {
|
|
|
533
571
|
path: string;
|
|
534
572
|
baseUrl: string;
|
|
535
573
|
requestFormat: "json";
|
|
574
|
+
serializationMethod: {
|
|
575
|
+
Username: {
|
|
576
|
+
style: string;
|
|
577
|
+
explode: boolean;
|
|
578
|
+
};
|
|
579
|
+
Password: {
|
|
580
|
+
style: string;
|
|
581
|
+
explode: boolean;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
536
584
|
parameters: {
|
|
537
585
|
Username: z.ZodString;
|
|
538
586
|
Password: z.ZodString;
|
|
@@ -562,6 +610,9 @@ export declare const postPasswordsValidate: {
|
|
|
562
610
|
path: string;
|
|
563
611
|
baseUrl: string;
|
|
564
612
|
requestFormat: "json";
|
|
613
|
+
serializationMethod: {
|
|
614
|
+
body: {};
|
|
615
|
+
};
|
|
565
616
|
parameters: {
|
|
566
617
|
body: z.ZodObject<{
|
|
567
618
|
username: z.ZodString;
|
|
@@ -632,6 +683,12 @@ export declare const getRevertAccount: {
|
|
|
632
683
|
path: string;
|
|
633
684
|
baseUrl: string;
|
|
634
685
|
requestFormat: "json";
|
|
686
|
+
serializationMethod: {
|
|
687
|
+
ticket: {
|
|
688
|
+
style: string;
|
|
689
|
+
explode: boolean;
|
|
690
|
+
};
|
|
691
|
+
};
|
|
635
692
|
parameters: {
|
|
636
693
|
ticket: z.ZodString;
|
|
637
694
|
};
|
|
@@ -675,6 +732,9 @@ export declare const postRevertAccount: {
|
|
|
675
732
|
path: string;
|
|
676
733
|
baseUrl: string;
|
|
677
734
|
requestFormat: "json";
|
|
735
|
+
serializationMethod: {
|
|
736
|
+
body: {};
|
|
737
|
+
};
|
|
678
738
|
parameters: {
|
|
679
739
|
body: z.ZodObject<{
|
|
680
740
|
UserId: z.ZodNumber;
|
|
@@ -765,6 +825,9 @@ export declare const postSignup: {
|
|
|
765
825
|
path: string;
|
|
766
826
|
baseUrl: string;
|
|
767
827
|
requestFormat: "json";
|
|
828
|
+
serializationMethod: {
|
|
829
|
+
body: {};
|
|
830
|
+
};
|
|
768
831
|
parameters: {
|
|
769
832
|
body: z.ZodObject<{
|
|
770
833
|
username: z.ZodString;
|
|
@@ -966,6 +1029,12 @@ export declare const postSocialProviderDisconnect: {
|
|
|
966
1029
|
path: string;
|
|
967
1030
|
baseUrl: string;
|
|
968
1031
|
requestFormat: "json";
|
|
1032
|
+
serializationMethod: {
|
|
1033
|
+
body: {};
|
|
1034
|
+
provider: {
|
|
1035
|
+
style: string;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
969
1038
|
parameters: {
|
|
970
1039
|
body: z.ZodObject<{
|
|
971
1040
|
Password: z.ZodString;
|
|
@@ -1051,6 +1120,9 @@ export declare const postTwostepverificationResend: {
|
|
|
1051
1120
|
path: string;
|
|
1052
1121
|
baseUrl: string;
|
|
1053
1122
|
requestFormat: "json";
|
|
1123
|
+
serializationMethod: {
|
|
1124
|
+
body: {};
|
|
1125
|
+
};
|
|
1054
1126
|
parameters: {
|
|
1055
1127
|
body: z.ZodObject<{
|
|
1056
1128
|
username: z.ZodString;
|
|
@@ -1091,6 +1163,9 @@ export declare const postTwostepverificationVerify: {
|
|
|
1091
1163
|
path: string;
|
|
1092
1164
|
baseUrl: string;
|
|
1093
1165
|
requestFormat: "json";
|
|
1166
|
+
serializationMethod: {
|
|
1167
|
+
body: {};
|
|
1168
|
+
};
|
|
1094
1169
|
parameters: {
|
|
1095
1170
|
body: z.ZodObject<{
|
|
1096
1171
|
username: z.ZodString;
|
|
@@ -1129,6 +1204,9 @@ export declare const postUserPasswordsChange: {
|
|
|
1129
1204
|
baseUrl: string;
|
|
1130
1205
|
description: string;
|
|
1131
1206
|
requestFormat: "json";
|
|
1207
|
+
serializationMethod: {
|
|
1208
|
+
body: {};
|
|
1209
|
+
};
|
|
1132
1210
|
parameters: {
|
|
1133
1211
|
body: z.ZodObject<{
|
|
1134
1212
|
currentPassword: z.ZodString;
|
|
@@ -1157,6 +1235,9 @@ export declare const postUsername: {
|
|
|
1157
1235
|
path: string;
|
|
1158
1236
|
baseUrl: string;
|
|
1159
1237
|
requestFormat: "json";
|
|
1238
|
+
serializationMethod: {
|
|
1239
|
+
body: {};
|
|
1240
|
+
};
|
|
1160
1241
|
parameters: {
|
|
1161
1242
|
body: z.ZodObject<{
|
|
1162
1243
|
username: z.ZodString;
|
|
@@ -1186,6 +1267,12 @@ export declare const getUsernames: {
|
|
|
1186
1267
|
baseUrl: string;
|
|
1187
1268
|
description: string;
|
|
1188
1269
|
requestFormat: "json";
|
|
1270
|
+
serializationMethod: {
|
|
1271
|
+
username: {
|
|
1272
|
+
style: string;
|
|
1273
|
+
explode: boolean;
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1189
1276
|
parameters: {
|
|
1190
1277
|
username: z.ZodOptional<z.ZodString>;
|
|
1191
1278
|
};
|
|
@@ -1207,6 +1294,9 @@ export declare const postUsernamesRecover: {
|
|
|
1207
1294
|
path: string;
|
|
1208
1295
|
baseUrl: string;
|
|
1209
1296
|
requestFormat: "json";
|
|
1297
|
+
serializationMethod: {
|
|
1298
|
+
body: {};
|
|
1299
|
+
};
|
|
1210
1300
|
parameters: {
|
|
1211
1301
|
body: z.ZodObject<{
|
|
1212
1302
|
targetType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -1243,6 +1333,20 @@ export declare const getUsernamesValidate: {
|
|
|
1243
1333
|
path: string;
|
|
1244
1334
|
baseUrl: string;
|
|
1245
1335
|
requestFormat: "json";
|
|
1336
|
+
serializationMethod: {
|
|
1337
|
+
Username: {
|
|
1338
|
+
style: string;
|
|
1339
|
+
explode: boolean;
|
|
1340
|
+
};
|
|
1341
|
+
Birthday: {
|
|
1342
|
+
style: string;
|
|
1343
|
+
explode: boolean;
|
|
1344
|
+
};
|
|
1345
|
+
Context: {
|
|
1346
|
+
style: string;
|
|
1347
|
+
explode: boolean;
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1246
1350
|
parameters: {
|
|
1247
1351
|
Username: z.ZodString;
|
|
1248
1352
|
Birthday: z.ZodString;
|
|
@@ -1273,6 +1377,9 @@ export declare const postUsernamesValidate: {
|
|
|
1273
1377
|
path: string;
|
|
1274
1378
|
baseUrl: string;
|
|
1275
1379
|
requestFormat: "json";
|
|
1380
|
+
serializationMethod: {
|
|
1381
|
+
body: {};
|
|
1382
|
+
};
|
|
1276
1383
|
parameters: {
|
|
1277
1384
|
body: z.ZodObject<{
|
|
1278
1385
|
username: z.ZodString;
|
|
@@ -1313,6 +1420,12 @@ export declare const getValidatorsEmail: {
|
|
|
1313
1420
|
path: string;
|
|
1314
1421
|
baseUrl: string;
|
|
1315
1422
|
requestFormat: "json";
|
|
1423
|
+
serializationMethod: {
|
|
1424
|
+
Email: {
|
|
1425
|
+
style: string;
|
|
1426
|
+
explode: boolean;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1316
1429
|
parameters: {
|
|
1317
1430
|
Email: z.ZodString;
|
|
1318
1431
|
};
|
|
@@ -1335,6 +1448,16 @@ export declare const getValidatorsUsername: {
|
|
|
1335
1448
|
path: string;
|
|
1336
1449
|
baseUrl: string;
|
|
1337
1450
|
requestFormat: "json";
|
|
1451
|
+
serializationMethod: {
|
|
1452
|
+
Username: {
|
|
1453
|
+
style: string;
|
|
1454
|
+
explode: boolean;
|
|
1455
|
+
};
|
|
1456
|
+
BirthDay: {
|
|
1457
|
+
style: string;
|
|
1458
|
+
explode: boolean;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1338
1461
|
parameters: {
|
|
1339
1462
|
Username: z.ZodString;
|
|
1340
1463
|
BirthDay: z.ZodString;
|
|
@@ -1431,6 +1554,9 @@ export declare const postXboxTranslate: {
|
|
|
1431
1554
|
path: string;
|
|
1432
1555
|
baseUrl: string;
|
|
1433
1556
|
requestFormat: "json";
|
|
1557
|
+
serializationMethod: {
|
|
1558
|
+
body: {};
|
|
1559
|
+
};
|
|
1434
1560
|
parameters: {
|
|
1435
1561
|
body: z.ZodObject<{
|
|
1436
1562
|
ids: z.ZodArray<z.ZodString, "many">;
|