rozod 6.3.0 → 6.4.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/accountsettingsv1.d.ts +27 -33
- package/lib/endpoints/accountsettingsv1.js +11 -22
- package/lib/endpoints/adconfigurationv2.d.ts +104 -119
- package/lib/endpoints/adconfigurationv2.js +32 -48
- package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv1.js +25 -24
- package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv2.js +25 -24
- package/lib/endpoints/authv1.d.ts +84 -84
- package/lib/endpoints/authv1.js +69 -62
- package/lib/endpoints/authv2.d.ts +56 -56
- package/lib/endpoints/authv2.js +57 -50
- package/lib/endpoints/authv3.d.ts +11 -11
- package/lib/endpoints/authv3.js +11 -11
- package/lib/endpoints/badgesv1.d.ts +6 -2
- package/lib/endpoints/badgesv1.js +2 -2
- package/lib/endpoints/catalogv1.d.ts +37 -43
- package/lib/endpoints/catalogv1.js +37 -37
- package/lib/endpoints/catalogv2.d.ts +11 -11
- package/lib/endpoints/catalogv2.js +11 -11
- package/lib/endpoints/clientsettingsv2.d.ts +7 -7
- package/lib/endpoints/clientsettingsv2.js +8 -1
- package/lib/endpoints/developv1.d.ts +31 -31
- package/lib/endpoints/developv1.js +26 -26
- package/lib/endpoints/developv2.d.ts +27 -27
- package/lib/endpoints/developv2.js +22 -22
- package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
- package/lib/endpoints/economycreatorstatsv1.js +1 -1
- package/lib/endpoints/followingsv2.d.ts +2 -2
- package/lib/endpoints/followingsv2.js +2 -2
- package/lib/endpoints/friendsv1.d.ts +24 -23
- package/lib/endpoints/friendsv1.js +24 -23
- package/lib/endpoints/gamesv1.d.ts +27 -615
- package/lib/endpoints/gamesv1.js +28 -608
- package/lib/endpoints/gamesv2.d.ts +187 -260
- package/lib/endpoints/gamesv2.js +130 -190
- package/lib/endpoints/groupsv1.d.ts +26 -26
- package/lib/endpoints/groupsv1.js +28 -16
- package/lib/endpoints/groupsv2.d.ts +92 -92
- package/lib/endpoints/groupsv2.js +93 -87
- package/lib/endpoints/inventoryv1.d.ts +9 -21
- package/lib/endpoints/inventoryv1.js +4 -4
- package/lib/endpoints/inventoryv2.d.ts +91 -91
- package/lib/endpoints/inventoryv2.js +86 -86
- package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
- package/lib/endpoints/itemconfigurationv1.js +1 -1
- package/lib/endpoints/tradesv1.d.ts +10 -16
- package/lib/endpoints/tradesv1.js +10 -10
- package/lib/endpoints/twostepverificationv1.d.ts +59 -60
- package/lib/endpoints/twostepverificationv1.js +59 -60
- package/lib/endpoints/usersv1.d.ts +1 -1
- package/lib/endpoints/usersv1.js +1 -1
- package/lib/index.js +29 -3
- package/package.json +1 -1
|
@@ -6,38 +6,39 @@ const __1 = require("..");
|
|
|
6
6
|
const Roblox_Web_Assets_IAssetItemError = zod_1.z.object({
|
|
7
7
|
Code: zod_1.z.number().int(),
|
|
8
8
|
Message: zod_1.z.string(),
|
|
9
|
-
CustomErrorCode: zod_1.z.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
9
|
+
CustomErrorCode: zod_1.z.enum([
|
|
10
|
+
'UnknownError',
|
|
11
|
+
'NoPermissionToAsset',
|
|
12
|
+
'AssetPermissionCheckFailed',
|
|
13
|
+
'NotAuthorizedForAgeRecommendation',
|
|
14
|
+
'AgeRecommendationCheckFailed',
|
|
15
|
+
'InvalidPlaceRequestFromGameServer',
|
|
16
|
+
'BlockedAssetTypeRequestedFromInsertService',
|
|
17
|
+
'BlockedAssetTypeRequestedFromGameServer',
|
|
18
|
+
'AssetTypeMismatch',
|
|
19
|
+
'MissingAssetTypeInRequestHeader',
|
|
20
|
+
'AssetNotTrustedForPlace',
|
|
21
|
+
'NoAuthentication',
|
|
22
|
+
'AssetContentRepresentationBlockedDueToModeration',
|
|
23
|
+
'AssetNotFound',
|
|
24
|
+
'AssetVersionNotFound',
|
|
25
|
+
'AssetContentRepresentationNotFound',
|
|
26
|
+
'BlockedByAgeGeoRestriction',
|
|
27
|
+
'BlockedAssetTypeRequestedFromNonGameServer',
|
|
28
|
+
'AssetPendingReview',
|
|
29
|
+
'NotApprovedForRequestor',
|
|
30
|
+
'NotApprovedByContentCompliance',
|
|
31
|
+
'AssetContentRepresentationGenerating',
|
|
32
32
|
]),
|
|
33
33
|
});
|
|
34
34
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = zod_1.z.object({
|
|
35
35
|
format: zod_1.z.string(),
|
|
36
36
|
majorVersion: zod_1.z.string(),
|
|
37
37
|
fidelity: zod_1.z.string(),
|
|
38
|
+
skipGenerationIfNotExist: zod_1.z.boolean(),
|
|
38
39
|
});
|
|
39
40
|
const Roblox_AssetDelivery_Api_AssetMetadata = zod_1.z.object({
|
|
40
|
-
metadataType: zod_1.z.literal(
|
|
41
|
+
metadataType: zod_1.z.literal('UncompressedSize'),
|
|
41
42
|
value: zod_1.z.string(),
|
|
42
43
|
});
|
|
43
44
|
const Roblox_Web_Assets_AssetResponseItemV1 = zod_1.z.object({
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { endpoint } from "..";
|
|
3
3
|
|
|
4
4
|
const Roblox_AssetDelivery_Api_AssetMetadata = z.object({
|
|
5
|
-
metadataType: z.literal(
|
|
5
|
+
metadataType: z.literal("UncompressedSize"),
|
|
6
6
|
value: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const Roblox_Web_Assets_AssetFormatLocation = z.object({
|
|
@@ -13,35 +13,36 @@ const Roblox_Web_Assets_AssetFormatLocation = z.object({
|
|
|
13
13
|
const Roblox_Web_Assets_IAssetItemError = z.object({
|
|
14
14
|
Code: z.number().int(),
|
|
15
15
|
Message: z.string(),
|
|
16
|
-
CustomErrorCode: z.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
16
|
+
CustomErrorCode: z.enum([
|
|
17
|
+
"UnknownError",
|
|
18
|
+
"NoPermissionToAsset",
|
|
19
|
+
"AssetPermissionCheckFailed",
|
|
20
|
+
"NotAuthorizedForAgeRecommendation",
|
|
21
|
+
"AgeRecommendationCheckFailed",
|
|
22
|
+
"InvalidPlaceRequestFromGameServer",
|
|
23
|
+
"BlockedAssetTypeRequestedFromInsertService",
|
|
24
|
+
"BlockedAssetTypeRequestedFromGameServer",
|
|
25
|
+
"AssetTypeMismatch",
|
|
26
|
+
"MissingAssetTypeInRequestHeader",
|
|
27
|
+
"AssetNotTrustedForPlace",
|
|
28
|
+
"NoAuthentication",
|
|
29
|
+
"AssetContentRepresentationBlockedDueToModeration",
|
|
30
|
+
"AssetNotFound",
|
|
31
|
+
"AssetVersionNotFound",
|
|
32
|
+
"AssetContentRepresentationNotFound",
|
|
33
|
+
"BlockedByAgeGeoRestriction",
|
|
34
|
+
"BlockedAssetTypeRequestedFromNonGameServer",
|
|
35
|
+
"AssetPendingReview",
|
|
36
|
+
"NotApprovedForRequestor",
|
|
37
|
+
"NotApprovedByContentCompliance",
|
|
38
|
+
"AssetContentRepresentationGenerating",
|
|
39
39
|
]),
|
|
40
40
|
});
|
|
41
41
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = z.object({
|
|
42
42
|
format: z.string(),
|
|
43
43
|
majorVersion: z.string(),
|
|
44
44
|
fidelity: z.string(),
|
|
45
|
+
skipGenerationIfNotExist: z.boolean(),
|
|
45
46
|
});
|
|
46
47
|
const Roblox_Web_Assets_AssetResponseItemV2 = z.object({
|
|
47
48
|
locations: z.array(Roblox_Web_Assets_AssetFormatLocation),
|
|
@@ -4,7 +4,7 @@ exports.getMarassethashMarassethashMarchecksumMarchecksum = exports.postAssetsBa
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_AssetDelivery_Api_AssetMetadata = zod_1.z.object({
|
|
7
|
-
metadataType: zod_1.z.literal(
|
|
7
|
+
metadataType: zod_1.z.literal('UncompressedSize'),
|
|
8
8
|
value: zod_1.z.string(),
|
|
9
9
|
});
|
|
10
10
|
const Roblox_Web_Assets_AssetFormatLocation = zod_1.z.object({
|
|
@@ -15,35 +15,36 @@ const Roblox_Web_Assets_AssetFormatLocation = zod_1.z.object({
|
|
|
15
15
|
const Roblox_Web_Assets_IAssetItemError = zod_1.z.object({
|
|
16
16
|
Code: zod_1.z.number().int(),
|
|
17
17
|
Message: zod_1.z.string(),
|
|
18
|
-
CustomErrorCode: zod_1.z.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
18
|
+
CustomErrorCode: zod_1.z.enum([
|
|
19
|
+
'UnknownError',
|
|
20
|
+
'NoPermissionToAsset',
|
|
21
|
+
'AssetPermissionCheckFailed',
|
|
22
|
+
'NotAuthorizedForAgeRecommendation',
|
|
23
|
+
'AgeRecommendationCheckFailed',
|
|
24
|
+
'InvalidPlaceRequestFromGameServer',
|
|
25
|
+
'BlockedAssetTypeRequestedFromInsertService',
|
|
26
|
+
'BlockedAssetTypeRequestedFromGameServer',
|
|
27
|
+
'AssetTypeMismatch',
|
|
28
|
+
'MissingAssetTypeInRequestHeader',
|
|
29
|
+
'AssetNotTrustedForPlace',
|
|
30
|
+
'NoAuthentication',
|
|
31
|
+
'AssetContentRepresentationBlockedDueToModeration',
|
|
32
|
+
'AssetNotFound',
|
|
33
|
+
'AssetVersionNotFound',
|
|
34
|
+
'AssetContentRepresentationNotFound',
|
|
35
|
+
'BlockedByAgeGeoRestriction',
|
|
36
|
+
'BlockedAssetTypeRequestedFromNonGameServer',
|
|
37
|
+
'AssetPendingReview',
|
|
38
|
+
'NotApprovedForRequestor',
|
|
39
|
+
'NotApprovedByContentCompliance',
|
|
40
|
+
'AssetContentRepresentationGenerating',
|
|
41
41
|
]),
|
|
42
42
|
});
|
|
43
43
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = zod_1.z.object({
|
|
44
44
|
format: zod_1.z.string(),
|
|
45
45
|
majorVersion: zod_1.z.string(),
|
|
46
46
|
fidelity: zod_1.z.string(),
|
|
47
|
+
skipGenerationIfNotExist: zod_1.z.boolean(),
|
|
47
48
|
});
|
|
48
49
|
const Roblox_Web_Assets_AssetResponseItemV2 = zod_1.z.object({
|
|
49
50
|
locations: zod_1.z.array(Roblox_Web_Assets_AssetFormatLocation),
|
|
@@ -31,13 +31,13 @@ const Roblox_Authentication_Api_Models_MetadataResponse = z.object({
|
|
|
31
31
|
IsLoginRedirectPageEnabled: z.boolean(),
|
|
32
32
|
});
|
|
33
33
|
const Roblox_Authentication_Api_Models_PasswordValidationResponse = z.object({
|
|
34
|
-
code: z.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
code: z.enum([
|
|
35
|
+
"ValidPassword",
|
|
36
|
+
"WeakPasswordError",
|
|
37
|
+
"PasswordLengthError",
|
|
38
|
+
"PasswordSameAsUsernameError",
|
|
39
|
+
"ForbiddenPasswordError",
|
|
40
|
+
"DumbStringsError",
|
|
41
41
|
]),
|
|
42
42
|
message: z.string(),
|
|
43
43
|
});
|
|
@@ -77,15 +77,15 @@ const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
|
|
|
77
77
|
});
|
|
78
78
|
const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse =
|
|
79
79
|
z.object({
|
|
80
|
-
mediaType: z.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
mediaType: z.enum([
|
|
81
|
+
"Email",
|
|
82
|
+
"SMS",
|
|
83
|
+
"Authenticator",
|
|
84
|
+
"RecoveryCode",
|
|
85
|
+
"SecurityKey",
|
|
86
|
+
"CrossDevice",
|
|
87
|
+
"Password",
|
|
88
|
+
"Passkey",
|
|
89
89
|
]),
|
|
90
90
|
ticket: z.string(),
|
|
91
91
|
});
|
|
@@ -112,17 +112,17 @@ const Roblox_Authentication_Api_Models_UsernamesResponse = z.object({
|
|
|
112
112
|
usernames: z.array(z.string()),
|
|
113
113
|
});
|
|
114
114
|
const Roblox_Authentication_Api_Models_UsernameValidationResponse = z.object({
|
|
115
|
-
code: z.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
code: z.enum([
|
|
116
|
+
"ValidUsername",
|
|
117
|
+
"AlreadyInUseError",
|
|
118
|
+
"ModerationError",
|
|
119
|
+
"InvalidLengthError",
|
|
120
|
+
"StartsOrEndsWithUnderscoreError",
|
|
121
|
+
"TooManyUnderscoresError",
|
|
122
|
+
"ContainsSpacesError",
|
|
123
|
+
"InvalidCharactersError",
|
|
124
|
+
"ContainsPiiError",
|
|
125
|
+
"ContainsReservedUsernameError",
|
|
126
126
|
]),
|
|
127
127
|
message: z.string(),
|
|
128
128
|
});
|
|
@@ -159,11 +159,11 @@ const Roblox_Authentication_Api_Models_AccountPinResponse = z.object({
|
|
|
159
159
|
const Roblox_Authentication_Api_Models_Request_ExternalAccessRequest = z.object(
|
|
160
160
|
{
|
|
161
161
|
authenticationProof: z.string(),
|
|
162
|
-
identityProviderPlatformType: z.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
identityProviderPlatformType: z.enum([
|
|
163
|
+
"Undefined",
|
|
164
|
+
"Xbox",
|
|
165
|
+
"Playstation",
|
|
166
|
+
"Web",
|
|
167
167
|
]),
|
|
168
168
|
additionalInfoPayload: z.object({}),
|
|
169
169
|
}
|
|
@@ -194,26 +194,26 @@ const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_External
|
|
|
194
194
|
z.object({ success: z.boolean() });
|
|
195
195
|
const Roblox_Authentication_Api_Models_Request_ExternalLoginAndLinkRequest =
|
|
196
196
|
z.object({
|
|
197
|
-
ctype: z.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
197
|
+
ctype: z.enum([
|
|
198
|
+
"Email",
|
|
199
|
+
"Username",
|
|
200
|
+
"PhoneNumber",
|
|
201
|
+
"EmailOtpSessionToken",
|
|
202
|
+
"AuthToken",
|
|
203
|
+
"Passkey",
|
|
204
|
+
"AsUser",
|
|
205
|
+
"TwoStepVerification",
|
|
206
|
+
"XboxLive",
|
|
207
|
+
"PlatformLive",
|
|
208
208
|
]),
|
|
209
209
|
cvalue: z.string(),
|
|
210
210
|
password: z.string(),
|
|
211
211
|
authenticationProof: z.string(),
|
|
212
|
-
IdentityProviderPlatformType: z.
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
IdentityProviderPlatformType: z.enum([
|
|
213
|
+
"Undefined",
|
|
214
|
+
"Xbox",
|
|
215
|
+
"Playstation",
|
|
216
|
+
"Web",
|
|
217
217
|
]),
|
|
218
218
|
additionalInfoPayload: z.object({}),
|
|
219
219
|
});
|
|
@@ -224,22 +224,22 @@ const Roblox_Authentication_Api_Models_Request_ExternalSignupRequest = z.object(
|
|
|
224
224
|
birthday: z.string().datetime({ offset: true }),
|
|
225
225
|
locale: z.string(),
|
|
226
226
|
authenticationProof: z.string(),
|
|
227
|
-
IdentityProviderPlatformType: z.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
227
|
+
IdentityProviderPlatformType: z.enum([
|
|
228
|
+
"Undefined",
|
|
229
|
+
"Xbox",
|
|
230
|
+
"Playstation",
|
|
231
|
+
"Web",
|
|
232
232
|
]),
|
|
233
233
|
additionalInfoPayload: z.object({}),
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
236
|
const Roblox_Authentication_Api_Models_Request_ExternalUnlinkRequest = z.object(
|
|
237
237
|
{
|
|
238
|
-
IdentityProviderPlatformType: z.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
238
|
+
IdentityProviderPlatformType: z.enum([
|
|
239
|
+
"Undefined",
|
|
240
|
+
"Xbox",
|
|
241
|
+
"Playstation",
|
|
242
|
+
"Web",
|
|
243
243
|
]),
|
|
244
244
|
additionalInfoPayload: z.object({}),
|
|
245
245
|
}
|
|
@@ -268,7 +268,7 @@ const Roblox_Authentication_Api_Models_Request_InitializeLoginRequest =
|
|
|
268
268
|
challengeId: z.string().optional(),
|
|
269
269
|
});
|
|
270
270
|
const Roblox_Authentication_Api_Models_LoginMethodModel = z.object({
|
|
271
|
-
method: z.
|
|
271
|
+
method: z.enum(["EmailOtp", "Passkey", "Password"]),
|
|
272
272
|
priority: z.number().int(),
|
|
273
273
|
});
|
|
274
274
|
const Roblox_Authentication_Api_Models_Response_InitializeLoginResponse =
|
|
@@ -283,31 +283,31 @@ const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel =
|
|
|
283
283
|
serverNonce: z.string(),
|
|
284
284
|
});
|
|
285
285
|
const Roblox_Authentication_Api_Models_AccountLinkParameters = z.object({
|
|
286
|
-
LinkingPlatform: z.
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
286
|
+
LinkingPlatform: z.enum([
|
|
287
|
+
"Invalid",
|
|
288
|
+
"Xbox",
|
|
289
|
+
"Qq",
|
|
290
|
+
"WeChat",
|
|
291
|
+
"Facebook",
|
|
292
|
+
"RobloxDeveloper",
|
|
293
|
+
"RobloxGroupCreator",
|
|
294
|
+
"Playstation",
|
|
295
|
+
"ExternalProvider",
|
|
296
|
+
"Example",
|
|
297
297
|
]),
|
|
298
298
|
});
|
|
299
299
|
const Roblox_Authentication_Api_Models_LoginRequest = z.object({
|
|
300
|
-
ctype: z.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
300
|
+
ctype: z.enum([
|
|
301
|
+
"Email",
|
|
302
|
+
"Username",
|
|
303
|
+
"PhoneNumber",
|
|
304
|
+
"EmailOtpSessionToken",
|
|
305
|
+
"AuthToken",
|
|
306
|
+
"Passkey",
|
|
307
|
+
"AsUser",
|
|
308
|
+
"TwoStepVerification",
|
|
309
|
+
"XboxLive",
|
|
310
|
+
"PlatformLive",
|
|
311
311
|
]),
|
|
312
312
|
cvalue: z.string(),
|
|
313
313
|
password: z.string(),
|
|
@@ -401,7 +401,7 @@ const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
|
|
|
401
401
|
});
|
|
402
402
|
const Roblox_Authentication_Api_Models_Request_OtpSessionModel = z.object({
|
|
403
403
|
otpSessionToken: z.string(),
|
|
404
|
-
otpContactType: z.
|
|
404
|
+
otpContactType: z.enum(["Unset", "Email"]),
|
|
405
405
|
});
|
|
406
406
|
const Roblox_Authentication_Api_Models_Request_AuditContentValue = z.object({
|
|
407
407
|
translationKey: z.string(),
|
|
@@ -416,7 +416,7 @@ const Roblox_Authentication_Api_Models_Request_AuditSystemContent = z.object({
|
|
|
416
416
|
const Roblox_Authentication_Api_Models_SignupRequest = z.object({
|
|
417
417
|
username: z.string(),
|
|
418
418
|
password: z.string(),
|
|
419
|
-
gender: z.
|
|
419
|
+
gender: z.enum(["Unknown", "Male", "Female"]),
|
|
420
420
|
birthday: z.string().datetime({ offset: true }),
|
|
421
421
|
displayName: z.string(),
|
|
422
422
|
isTosAgreementBoxChecked: z.boolean(),
|
|
@@ -466,7 +466,7 @@ const Roblox_Authentication_Api_Models_UsernameChangeRequest = z.object({
|
|
|
466
466
|
password: z.string(),
|
|
467
467
|
});
|
|
468
468
|
const Roblox_Authentication_Api_Models_RecoverUsernameRequest = z.object({
|
|
469
|
-
targetType: z.
|
|
469
|
+
targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
|
|
470
470
|
target: z.string(),
|
|
471
471
|
});
|
|
472
472
|
const Roblox_Authentication_Api_Models_RecoverUsernameResponse = z.object({
|