rozod 6.7.1 → 6.9.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/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Authentication_Api_Models_AuthMethodsMetadataResponse = z.object({
|
|
5
5
|
isEligibleForALSignup: z.boolean(),
|
|
@@ -18,8 +18,7 @@ const Roblox_Web_WebAPI_Models_ApiSuccessResponse = z.object({
|
|
|
18
18
|
const Roblox_Authentication_Api_Models_AuthMetaDataResponse = z.object({
|
|
19
19
|
cookieLawNoticeTimeout: z.number().int(),
|
|
20
20
|
});
|
|
21
|
-
const Roblox_Authentication_Api_Models_Response_GetClientAssertionResponse =
|
|
22
|
-
z.object({ clientAssertion: z.string() });
|
|
21
|
+
const Roblox_Authentication_Api_Models_Response_GetClientAssertionResponse = z.object({ clientAssertion: z.string() });
|
|
23
22
|
const Roblox_Authentication_Api_Models_MetadataResponse = z.object({
|
|
24
23
|
isUpdateUsernameEnabled: z.boolean(),
|
|
25
24
|
ftuxAvatarAssetMap: z.string(),
|
|
@@ -33,16 +32,17 @@ const Roblox_Authentication_Api_Models_MetadataResponse = z.object({
|
|
|
33
32
|
IsAltBrowserTracker: z.boolean(),
|
|
34
33
|
IsLoginRedirectPageEnabled: z.boolean(),
|
|
35
34
|
});
|
|
36
|
-
const Roblox_Authentication_Api_Models_Response_SilentUpgradeEligibilityResponse =
|
|
37
|
-
|
|
35
|
+
const Roblox_Authentication_Api_Models_Response_SilentUpgradeEligibilityResponse = z.object({
|
|
36
|
+
suEligibility: z.boolean(),
|
|
37
|
+
});
|
|
38
38
|
const Roblox_Authentication_Api_Models_PasswordValidationResponse = z.object({
|
|
39
39
|
code: z.enum([
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
'ValidPassword',
|
|
41
|
+
'WeakPasswordError',
|
|
42
|
+
'PasswordLengthError',
|
|
43
|
+
'PasswordSameAsUsernameError',
|
|
44
|
+
'ForbiddenPasswordError',
|
|
45
|
+
'DumbStringsError',
|
|
46
46
|
]),
|
|
47
47
|
message: z.string(),
|
|
48
48
|
});
|
|
@@ -80,24 +80,22 @@ const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
|
|
|
80
80
|
name: z.string(),
|
|
81
81
|
displayName: z.string(),
|
|
82
82
|
});
|
|
83
|
-
const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse =
|
|
84
|
-
z.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
});
|
|
83
|
+
const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse = z.object({
|
|
84
|
+
mediaType: z.enum([
|
|
85
|
+
'Email',
|
|
86
|
+
'SMS',
|
|
87
|
+
'Authenticator',
|
|
88
|
+
'RecoveryCode',
|
|
89
|
+
'SecurityKey',
|
|
90
|
+
'CrossDevice',
|
|
91
|
+
'Password',
|
|
92
|
+
'Passkey',
|
|
93
|
+
]),
|
|
94
|
+
ticket: z.string(),
|
|
95
|
+
});
|
|
97
96
|
const Roblox_Authentication_Api_Models_LoginResponse = z.object({
|
|
98
97
|
user: Roblox_Web_Responses_Users_SkinnyUserResponse,
|
|
99
|
-
twoStepVerificationData:
|
|
100
|
-
Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
|
|
98
|
+
twoStepVerificationData: Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
|
|
101
99
|
identityVerificationLoginTicket: z.string(),
|
|
102
100
|
isBanned: z.boolean(),
|
|
103
101
|
accountBlob: z.string(),
|
|
@@ -124,16 +122,16 @@ const Roblox_Authentication_Api_Models_UsernamesResponse = z.object({
|
|
|
124
122
|
});
|
|
125
123
|
const Roblox_Authentication_Api_Models_UsernameValidationResponse = z.object({
|
|
126
124
|
code: z.enum([
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
125
|
+
'ValidUsername',
|
|
126
|
+
'AlreadyInUseError',
|
|
127
|
+
'ModerationError',
|
|
128
|
+
'InvalidLengthError',
|
|
129
|
+
'StartsOrEndsWithUnderscoreError',
|
|
130
|
+
'TooManyUnderscoresError',
|
|
131
|
+
'ContainsSpacesError',
|
|
132
|
+
'InvalidCharactersError',
|
|
133
|
+
'ContainsPiiError',
|
|
134
|
+
'ContainsReservedUsernameError',
|
|
137
135
|
]),
|
|
138
136
|
message: z.string(),
|
|
139
137
|
});
|
|
@@ -149,11 +147,10 @@ const Roblox_Authentication_Api_Models_RecommendedUsernameResponse = z.object({
|
|
|
149
147
|
didGenerateNewUsername: z.boolean(),
|
|
150
148
|
suggestedUsernames: z.array(z.string()),
|
|
151
149
|
});
|
|
152
|
-
const Roblox_Authentication_Api_Models_RecommendedUsernameFromDisplayNameRequest =
|
|
153
|
-
z.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
});
|
|
150
|
+
const Roblox_Authentication_Api_Models_RecommendedUsernameFromDisplayNameRequest = z.object({
|
|
151
|
+
displayName: z.string(),
|
|
152
|
+
birthday: z.string().datetime({ offset: true }),
|
|
153
|
+
});
|
|
157
154
|
const Roblox_Authentication_Api_Models_RecommendedUsernameRequest = z.object({
|
|
158
155
|
username: z.string(),
|
|
159
156
|
birthday: z.string().datetime({ offset: true }),
|
|
@@ -162,29 +159,20 @@ const Roblox_Authentication_Api_Models_XboxConnectionModel = z.object({
|
|
|
162
159
|
hasConnectedXboxAccount: z.boolean(),
|
|
163
160
|
gamertag: z.string(),
|
|
164
161
|
});
|
|
165
|
-
const Roblox_Authentication_Api_Models_XboxLoginConsecutiveDaysResponse =
|
|
166
|
-
z.object({ count: z.number().int() });
|
|
162
|
+
const Roblox_Authentication_Api_Models_XboxLoginConsecutiveDaysResponse = z.object({ count: z.number().int() });
|
|
167
163
|
const Roblox_Authentication_Api_Models_AccountPinResponse = z.object({
|
|
168
164
|
unlockedUntil: z.number(),
|
|
169
165
|
});
|
|
170
|
-
const Roblox_Authentication_Api_Models_Request_ExternalAccessRequest = z.object(
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse =
|
|
183
|
-
z.object({
|
|
184
|
-
placeId: z.number().int(),
|
|
185
|
-
isolationContext: z.string(),
|
|
186
|
-
launchData: z.string(),
|
|
187
|
-
});
|
|
166
|
+
const Roblox_Authentication_Api_Models_Request_ExternalAccessRequest = z.object({
|
|
167
|
+
authenticationProof: z.string(),
|
|
168
|
+
identityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
|
|
169
|
+
additionalInfoPayload: z.object({}),
|
|
170
|
+
});
|
|
171
|
+
const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse = z.object({
|
|
172
|
+
placeId: z.number().int(),
|
|
173
|
+
isolationContext: z.string(),
|
|
174
|
+
launchData: z.string(),
|
|
175
|
+
});
|
|
188
176
|
const Roblox_Authentication_Api_Models_Request_ExternalLoginRequest = z.object({
|
|
189
177
|
identityProvider: z.union([
|
|
190
178
|
z.literal(0),
|
|
@@ -201,132 +189,111 @@ const Roblox_Authentication_Api_Models_Request_ExternalLoginRequest = z.object({
|
|
|
201
189
|
additionalData: z.object({}),
|
|
202
190
|
authenticationProof: z.string(),
|
|
203
191
|
});
|
|
204
|
-
const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalLoginResponse =
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
]),
|
|
244
|
-
additionalInfoPayload: z.object({}),
|
|
245
|
-
}
|
|
246
|
-
);
|
|
247
|
-
const Roblox_Authentication_Api_Models_Request_ExternalUnlinkRequest = z.object(
|
|
248
|
-
{
|
|
249
|
-
IdentityProviderPlatformType: z.enum([
|
|
250
|
-
"Undefined",
|
|
251
|
-
"Xbox",
|
|
252
|
-
"Playstation",
|
|
253
|
-
"Web",
|
|
254
|
-
]),
|
|
255
|
-
additionalInfoPayload: z.object({}),
|
|
256
|
-
}
|
|
257
|
-
);
|
|
258
|
-
const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest =
|
|
259
|
-
z.object({ loginTicket: z.string(), resultToken: z.string() });
|
|
192
|
+
const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalLoginResponse = z.object({
|
|
193
|
+
success: z.boolean(),
|
|
194
|
+
});
|
|
195
|
+
const Roblox_Authentication_Api_Models_Request_ExternalLoginAndLinkRequest = z.object({
|
|
196
|
+
ctype: z.enum([
|
|
197
|
+
'Email',
|
|
198
|
+
'Username',
|
|
199
|
+
'PhoneNumber',
|
|
200
|
+
'EmailOtpSessionToken',
|
|
201
|
+
'AuthToken',
|
|
202
|
+
'Passkey',
|
|
203
|
+
'AsUser',
|
|
204
|
+
'TwoStepVerification',
|
|
205
|
+
'XboxLive',
|
|
206
|
+
'PlatformLive',
|
|
207
|
+
]),
|
|
208
|
+
cvalue: z.string(),
|
|
209
|
+
password: z.string(),
|
|
210
|
+
authenticationProof: z.string(),
|
|
211
|
+
IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
|
|
212
|
+
additionalInfoPayload: z.object({}),
|
|
213
|
+
});
|
|
214
|
+
const Roblox_Authentication_Api_Models_Request_ExternalSignupRequest = z.object({
|
|
215
|
+
username: z.string(),
|
|
216
|
+
password: z.string(),
|
|
217
|
+
birthday: z.string().datetime({ offset: true }),
|
|
218
|
+
locale: z.string(),
|
|
219
|
+
authenticationProof: z.string(),
|
|
220
|
+
IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
|
|
221
|
+
additionalInfoPayload: z.object({}),
|
|
222
|
+
});
|
|
223
|
+
const Roblox_Authentication_Api_Models_Request_ExternalUnlinkRequest = z.object({
|
|
224
|
+
IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
|
|
225
|
+
additionalInfoPayload: z.object({}),
|
|
226
|
+
});
|
|
227
|
+
const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest = z.object({
|
|
228
|
+
loginTicket: z.string(),
|
|
229
|
+
resultToken: z.string(),
|
|
230
|
+
});
|
|
260
231
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
261
|
-
const Roblox_Authentication_Api_Models_Request_InitializeLoginRequest =
|
|
262
|
-
z.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
});
|
|
232
|
+
const Roblox_Authentication_Api_Models_Request_InitializeLoginRequest = z.object({
|
|
233
|
+
ctype: z.union([
|
|
234
|
+
z.literal(0),
|
|
235
|
+
z.literal(1),
|
|
236
|
+
z.literal(2),
|
|
237
|
+
z.literal(3),
|
|
238
|
+
z.literal(4),
|
|
239
|
+
z.literal(5),
|
|
240
|
+
z.literal(6),
|
|
241
|
+
z.literal(7),
|
|
242
|
+
z.literal(8),
|
|
243
|
+
z.literal(9),
|
|
244
|
+
]),
|
|
245
|
+
cvalue: z.string().min(1),
|
|
246
|
+
captchaId: z.string().optional(),
|
|
247
|
+
captchaToken: z.string().optional(),
|
|
248
|
+
captchaProvider: z.string().optional(),
|
|
249
|
+
challengeId: z.string().optional(),
|
|
250
|
+
});
|
|
281
251
|
const Roblox_Authentication_Api_Models_LoginMethodModel = z.object({
|
|
282
|
-
method: z.enum([
|
|
252
|
+
method: z.enum(['EmailOtp', 'Passkey', 'Password']),
|
|
283
253
|
priority: z.number().int(),
|
|
284
254
|
});
|
|
285
|
-
const Roblox_Authentication_Api_Models_Response_InitializeLoginResponse =
|
|
286
|
-
z.
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
z.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
serverNonce: z.string(),
|
|
295
|
-
});
|
|
255
|
+
const Roblox_Authentication_Api_Models_Response_InitializeLoginResponse = z.object({
|
|
256
|
+
loginMethods: z.array(Roblox_Authentication_Api_Models_LoginMethodModel),
|
|
257
|
+
});
|
|
258
|
+
const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel = z.object({
|
|
259
|
+
clientPublicKey: z.string(),
|
|
260
|
+
clientEpochTimestamp: z.number().int(),
|
|
261
|
+
saiSignature: z.string(),
|
|
262
|
+
serverNonce: z.string(),
|
|
263
|
+
});
|
|
296
264
|
const Roblox_Authentication_Api_Models_AccountLinkParameters = z.object({
|
|
297
265
|
LinkingPlatform: z.enum([
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
266
|
+
'Invalid',
|
|
267
|
+
'Xbox',
|
|
268
|
+
'Qq',
|
|
269
|
+
'WeChat',
|
|
270
|
+
'Facebook',
|
|
271
|
+
'RobloxDeveloper',
|
|
272
|
+
'RobloxGroupCreator',
|
|
273
|
+
'Playstation',
|
|
274
|
+
'ExternalProvider',
|
|
275
|
+
'Example',
|
|
308
276
|
]),
|
|
309
277
|
});
|
|
310
278
|
const Roblox_Authentication_Api_Models_LoginRequest = z.object({
|
|
311
279
|
ctype: z.enum([
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
280
|
+
'Email',
|
|
281
|
+
'Username',
|
|
282
|
+
'PhoneNumber',
|
|
283
|
+
'EmailOtpSessionToken',
|
|
284
|
+
'AuthToken',
|
|
285
|
+
'Passkey',
|
|
286
|
+
'AsUser',
|
|
287
|
+
'TwoStepVerification',
|
|
288
|
+
'XboxLive',
|
|
289
|
+
'PlatformLive',
|
|
322
290
|
]),
|
|
323
291
|
cvalue: z.string(),
|
|
324
292
|
password: z.string(),
|
|
325
293
|
userId: z.number().int(),
|
|
326
294
|
securityQuestionSessionId: z.string(),
|
|
327
295
|
securityQuestionRedemptionToken: z.string(),
|
|
328
|
-
secureAuthenticationIntent:
|
|
329
|
-
Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
296
|
+
secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
330
297
|
accountBlob: z.string(),
|
|
331
298
|
accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
|
|
332
299
|
captchaId: z.string(),
|
|
@@ -334,71 +301,77 @@ const Roblox_Authentication_Api_Models_LoginRequest = z.object({
|
|
|
334
301
|
captchaProvider: z.string(),
|
|
335
302
|
challengeId: z.string(),
|
|
336
303
|
});
|
|
337
|
-
const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest =
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
)
|
|
345
|
-
|
|
346
|
-
z.
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
304
|
+
const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest = z.object({
|
|
305
|
+
SecureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
306
|
+
});
|
|
307
|
+
const Roblox_Authentication_Api_Models_Request_DeletePasskeysRequest = z.object({
|
|
308
|
+
credentialNicknames: z.array(z.string()),
|
|
309
|
+
});
|
|
310
|
+
const Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest = z.object({
|
|
311
|
+
recoverySession: z.string(),
|
|
312
|
+
passkeySessionId: z.string(),
|
|
313
|
+
passkeyRegistrationResponse: z.string(),
|
|
314
|
+
userId: z.number().int(),
|
|
315
|
+
isPostRecovery: z.boolean(),
|
|
316
|
+
source: z.string(),
|
|
317
|
+
});
|
|
318
|
+
const Roblox_Authentication_Api_Models_Request_FinishPasskeyPreauthRegistrationRequest = z.object({
|
|
319
|
+
sessionId: z.string(),
|
|
320
|
+
registrationResponse: z.string(),
|
|
321
|
+
source: z.string(),
|
|
322
|
+
});
|
|
323
|
+
const Roblox_Authentication_Api_Models_Request_FinishPasskeyRegistrationRequest = z.object({
|
|
324
|
+
sessionId: z.string(),
|
|
325
|
+
credentialNickname: z.string(),
|
|
326
|
+
attestationResponse: z.string(),
|
|
327
|
+
source: z.string(),
|
|
328
|
+
});
|
|
362
329
|
const Roblox_Authentication_Api_Models_Request_ListPasskeysRequest = z.object({
|
|
363
330
|
all: z.boolean(),
|
|
364
331
|
});
|
|
365
332
|
const Roblox_Authentication_Api_Models_Response_PasskeyCredential = z.object({
|
|
366
333
|
nickname: z.string(),
|
|
367
334
|
});
|
|
368
|
-
const Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse =
|
|
369
|
-
z.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
const
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
335
|
+
const Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse = z.object({
|
|
336
|
+
credentials: z.array(Roblox_Authentication_Api_Models_Response_PasskeyCredential),
|
|
337
|
+
});
|
|
338
|
+
const Roblox_Authentication_Api_Models_Request_StartAuthenticationByUserRequest = z.object({
|
|
339
|
+
ctype: z.union([
|
|
340
|
+
z.literal(0),
|
|
341
|
+
z.literal(1),
|
|
342
|
+
z.literal(2),
|
|
343
|
+
z.literal(3),
|
|
344
|
+
z.literal(4),
|
|
345
|
+
z.literal(5),
|
|
346
|
+
z.literal(6),
|
|
347
|
+
z.literal(7),
|
|
348
|
+
z.literal(8),
|
|
349
|
+
z.literal(9),
|
|
350
|
+
]),
|
|
351
|
+
cvalue: z.string().min(1),
|
|
352
|
+
});
|
|
353
|
+
const Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse = z.object({
|
|
354
|
+
authenticationOptions: z.string(),
|
|
355
|
+
sessionId: z.string(),
|
|
356
|
+
});
|
|
357
|
+
const Roblox_Authentication_Api_Models_Request_StartPasskeyPreauthRegistrationRequest = z.object({
|
|
358
|
+
username: z.string(),
|
|
359
|
+
});
|
|
360
|
+
const Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse = z.object({
|
|
361
|
+
creationOptions: z.string(),
|
|
362
|
+
sessionId: z.string(),
|
|
363
|
+
});
|
|
364
|
+
const Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse = z.object({
|
|
365
|
+
authenticationOptions: z.string(),
|
|
366
|
+
sessionId: z.string(),
|
|
367
|
+
});
|
|
368
|
+
const Roblox_Authentication_Api_Models_Request_StartPasskeyRegistrationRequest = z.object({
|
|
369
|
+
isSilentUpgrade: z.boolean(),
|
|
370
|
+
});
|
|
371
|
+
const Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse = z.object({
|
|
372
|
+
creationOptions: z.string(),
|
|
373
|
+
sessionId: z.string(),
|
|
374
|
+
});
|
|
402
375
|
const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
|
|
403
376
|
acquisitionTime: z.string().datetime({ offset: true }),
|
|
404
377
|
acquisitionReferrer: z.string(),
|
|
@@ -414,7 +387,7 @@ const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
|
|
|
414
387
|
});
|
|
415
388
|
const Roblox_Authentication_Api_Models_Request_OtpSessionModel = z.object({
|
|
416
389
|
otpSessionToken: z.string(),
|
|
417
|
-
otpContactType: z.enum([
|
|
390
|
+
otpContactType: z.enum(['Unset', 'Email']),
|
|
418
391
|
});
|
|
419
392
|
const Roblox_Authentication_Api_Models_Request_AuditContentValue = z.object({
|
|
420
393
|
translationKey: z.string(),
|
|
@@ -429,7 +402,7 @@ const Roblox_Authentication_Api_Models_Request_AuditSystemContent = z.object({
|
|
|
429
402
|
const Roblox_Authentication_Api_Models_SignupRequest = z.object({
|
|
430
403
|
username: z.string(),
|
|
431
404
|
password: z.string(),
|
|
432
|
-
gender: z.enum([
|
|
405
|
+
gender: z.enum(['Unknown', 'Male', 'Female']),
|
|
433
406
|
birthday: z.string().datetime({ offset: true }),
|
|
434
407
|
displayName: z.string(),
|
|
435
408
|
isTosAgreementBoxChecked: z.boolean(),
|
|
@@ -445,16 +418,14 @@ const Roblox_Authentication_Api_Models_SignupRequest = z.object({
|
|
|
445
418
|
referralData: Roblox_Authentication_Api_Models_ReferralDataModel,
|
|
446
419
|
agreementIds: z.array(z.string()),
|
|
447
420
|
identityVerificationResultToken: z.string(),
|
|
448
|
-
secureAuthenticationIntent:
|
|
449
|
-
Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
421
|
+
secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
450
422
|
otpSession: Roblox_Authentication_Api_Models_Request_OtpSessionModel,
|
|
451
423
|
dataToken: z.string(),
|
|
452
424
|
accountBlob: z.string(),
|
|
453
425
|
passkeySessionId: z.string(),
|
|
454
426
|
passkeyRegistrationResponse: z.string(),
|
|
455
427
|
accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
|
|
456
|
-
auditSystemContent:
|
|
457
|
-
Roblox_Authentication_Api_Models_Request_AuditSystemContent,
|
|
428
|
+
auditSystemContent: Roblox_Authentication_Api_Models_Request_AuditSystemContent,
|
|
458
429
|
captchaId: z.string(),
|
|
459
430
|
captchaToken: z.string(),
|
|
460
431
|
captchaProvider: z.string(),
|
|
@@ -466,20 +437,18 @@ const Roblox_Authentication_Api_Models_SignupResponse = z.object({
|
|
|
466
437
|
returnUrl: z.string(),
|
|
467
438
|
accountBlob: z.string(),
|
|
468
439
|
});
|
|
469
|
-
const Roblox_Authentication_Api_Models_SocialAuthenticationDisconnectRequest =
|
|
470
|
-
z.object({ Password: z.string() });
|
|
440
|
+
const Roblox_Authentication_Api_Models_SocialAuthenticationDisconnectRequest = z.object({ Password: z.string() });
|
|
471
441
|
const Roblox_Authentication_Api_Models_PasswordChangeModel = z.object({
|
|
472
442
|
currentPassword: z.string(),
|
|
473
443
|
newPassword: z.string(),
|
|
474
|
-
secureAuthenticationIntent:
|
|
475
|
-
Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
444
|
+
secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
476
445
|
});
|
|
477
446
|
const Roblox_Authentication_Api_Models_UsernameChangeRequest = z.object({
|
|
478
447
|
username: z.string(),
|
|
479
448
|
password: z.string(),
|
|
480
449
|
});
|
|
481
450
|
const Roblox_Authentication_Api_Models_RecoverUsernameRequest = z.object({
|
|
482
|
-
targetType: z.enum([
|
|
451
|
+
targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
|
|
483
452
|
target: z.string(),
|
|
484
453
|
});
|
|
485
454
|
const Roblox_Authentication_Api_Models_RecoverUsernameResponse = z.object({
|
|
@@ -493,19 +462,19 @@ const Roblox_Authentication_Api_Models_XboxUserModel = z.object({
|
|
|
493
462
|
UserId: z.number().int(),
|
|
494
463
|
Username: z.string(),
|
|
495
464
|
});
|
|
496
|
-
const Roblox_Authentication_Api_Models_XboxCollectionsOfUserResponse = z.object(
|
|
497
|
-
|
|
498
|
-
);
|
|
465
|
+
const Roblox_Authentication_Api_Models_XboxCollectionsOfUserResponse = z.object({
|
|
466
|
+
Users: z.array(Roblox_Authentication_Api_Models_XboxUserModel),
|
|
467
|
+
});
|
|
499
468
|
|
|
500
469
|
/**
|
|
501
470
|
* @api GET https://auth.roblox.com/v1/account-creation/metadata
|
|
502
471
|
* @summary Get metadata for adding auth methods.
|
|
503
472
|
*/
|
|
504
473
|
export const getAccountCreationMetadata = endpoint({
|
|
505
|
-
method:
|
|
506
|
-
path:
|
|
507
|
-
baseUrl:
|
|
508
|
-
requestFormat:
|
|
474
|
+
method: 'GET',
|
|
475
|
+
path: '/v1/account-creation/metadata',
|
|
476
|
+
baseUrl: 'https://auth.roblox.com',
|
|
477
|
+
requestFormat: 'json',
|
|
509
478
|
response: z.object({ isEligibleForALSignup: z.boolean() }),
|
|
510
479
|
errors: [],
|
|
511
480
|
});
|
|
@@ -514,10 +483,10 @@ export const getAccountCreationMetadata = endpoint({
|
|
|
514
483
|
* @summary Gets the account pin status.
|
|
515
484
|
*/
|
|
516
485
|
export const getAccountPin = endpoint({
|
|
517
|
-
method:
|
|
518
|
-
path:
|
|
519
|
-
baseUrl:
|
|
520
|
-
requestFormat:
|
|
486
|
+
method: 'GET',
|
|
487
|
+
path: '/v1/account/pin',
|
|
488
|
+
baseUrl: 'https://auth.roblox.com',
|
|
489
|
+
requestFormat: 'json',
|
|
521
490
|
response: Roblox_Authentication_Api_Models_AccountPinStatusResponse,
|
|
522
491
|
errors: [
|
|
523
492
|
{
|
|
@@ -532,10 +501,10 @@ export const getAccountPin = endpoint({
|
|
|
532
501
|
* @param body The Roblox.Authentication.Api.Models.AccountPinRequest.
|
|
533
502
|
*/
|
|
534
503
|
export const postAccountPin = endpoint({
|
|
535
|
-
method:
|
|
536
|
-
path:
|
|
537
|
-
baseUrl:
|
|
538
|
-
requestFormat:
|
|
504
|
+
method: 'POST',
|
|
505
|
+
path: '/v1/account/pin',
|
|
506
|
+
baseUrl: 'https://auth.roblox.com',
|
|
507
|
+
requestFormat: 'json',
|
|
539
508
|
serializationMethod: {
|
|
540
509
|
body: {},
|
|
541
510
|
},
|
|
@@ -559,10 +528,10 @@ export const postAccountPin = endpoint({
|
|
|
559
528
|
* @param body
|
|
560
529
|
*/
|
|
561
530
|
export const deleteAccountPin = endpoint({
|
|
562
|
-
method:
|
|
563
|
-
path:
|
|
564
|
-
baseUrl:
|
|
565
|
-
requestFormat:
|
|
531
|
+
method: 'DELETE',
|
|
532
|
+
path: '/v1/account/pin',
|
|
533
|
+
baseUrl: 'https://auth.roblox.com',
|
|
534
|
+
requestFormat: 'json',
|
|
566
535
|
serializationMethod: {
|
|
567
536
|
body: {},
|
|
568
537
|
},
|
|
@@ -586,10 +555,10 @@ export const deleteAccountPin = endpoint({
|
|
|
586
555
|
* @param body The request body.
|
|
587
556
|
*/
|
|
588
557
|
export const patchAccountPin = endpoint({
|
|
589
|
-
method:
|
|
590
|
-
path:
|
|
591
|
-
baseUrl:
|
|
592
|
-
requestFormat:
|
|
558
|
+
method: 'PATCH',
|
|
559
|
+
path: '/v1/account/pin',
|
|
560
|
+
baseUrl: 'https://auth.roblox.com',
|
|
561
|
+
requestFormat: 'json',
|
|
593
562
|
serializationMethod: {
|
|
594
563
|
body: {},
|
|
595
564
|
},
|
|
@@ -612,10 +581,10 @@ export const patchAccountPin = endpoint({
|
|
|
612
581
|
* @summary Request to locks the account which has an account pin enabled.
|
|
613
582
|
*/
|
|
614
583
|
export const postAccountPinLock = endpoint({
|
|
615
|
-
method:
|
|
616
|
-
path:
|
|
617
|
-
baseUrl:
|
|
618
|
-
requestFormat:
|
|
584
|
+
method: 'POST',
|
|
585
|
+
path: '/v1/account/pin/lock',
|
|
586
|
+
baseUrl: 'https://auth.roblox.com',
|
|
587
|
+
requestFormat: 'json',
|
|
619
588
|
response: z.object({ success: z.boolean() }),
|
|
620
589
|
errors: [
|
|
621
590
|
{
|
|
@@ -634,10 +603,10 @@ export const postAccountPinLock = endpoint({
|
|
|
634
603
|
* @param body The Roblox.Authentication.Api.Models.AccountPinRequest containing the entered pin.
|
|
635
604
|
*/
|
|
636
605
|
export const postAccountPinUnlock = endpoint({
|
|
637
|
-
method:
|
|
638
|
-
path:
|
|
639
|
-
baseUrl:
|
|
640
|
-
requestFormat:
|
|
606
|
+
method: 'POST',
|
|
607
|
+
path: '/v1/account/pin/unlock',
|
|
608
|
+
baseUrl: 'https://auth.roblox.com',
|
|
609
|
+
requestFormat: 'json',
|
|
641
610
|
serializationMethod: {
|
|
642
611
|
body: {},
|
|
643
612
|
},
|
|
@@ -660,10 +629,10 @@ export const postAccountPinUnlock = endpoint({
|
|
|
660
629
|
* @summary Gets Auth meta data
|
|
661
630
|
*/
|
|
662
631
|
export const getAuthMetadata = endpoint({
|
|
663
|
-
method:
|
|
664
|
-
path:
|
|
665
|
-
baseUrl:
|
|
666
|
-
requestFormat:
|
|
632
|
+
method: 'GET',
|
|
633
|
+
path: '/v1/auth/metadata',
|
|
634
|
+
baseUrl: 'https://auth.roblox.com',
|
|
635
|
+
requestFormat: 'json',
|
|
667
636
|
response: z.object({ cookieLawNoticeTimeout: z.number().int() }),
|
|
668
637
|
errors: [],
|
|
669
638
|
});
|
|
@@ -672,10 +641,10 @@ export const getAuthMetadata = endpoint({
|
|
|
672
641
|
* @summary Creates a client assertion to be used when generating an auth ticket.
|
|
673
642
|
*/
|
|
674
643
|
export const getClientAssertion = endpoint({
|
|
675
|
-
method:
|
|
676
|
-
path:
|
|
677
|
-
baseUrl:
|
|
678
|
-
requestFormat:
|
|
644
|
+
method: 'GET',
|
|
645
|
+
path: '/v1/client-assertion',
|
|
646
|
+
baseUrl: 'https://auth.roblox.com',
|
|
647
|
+
requestFormat: 'json',
|
|
679
648
|
response: z.object({ clientAssertion: z.string() }),
|
|
680
649
|
errors: [
|
|
681
650
|
{
|
|
@@ -692,20 +661,20 @@ export const getClientAssertion = endpoint({
|
|
|
692
661
|
* @param state
|
|
693
662
|
*/
|
|
694
663
|
export const getExternalIdentityprovideridSsoOauthCallback = endpoint({
|
|
695
|
-
method:
|
|
696
|
-
path:
|
|
697
|
-
baseUrl:
|
|
698
|
-
requestFormat:
|
|
664
|
+
method: 'GET',
|
|
665
|
+
path: '/v1/external/:identityProviderId/sso/oauth/callback',
|
|
666
|
+
baseUrl: 'https://auth.roblox.com',
|
|
667
|
+
requestFormat: 'json',
|
|
699
668
|
serializationMethod: {
|
|
700
669
|
identityProviderId: {
|
|
701
|
-
style:
|
|
670
|
+
style: 'simple',
|
|
702
671
|
},
|
|
703
672
|
code: {
|
|
704
|
-
style:
|
|
673
|
+
style: 'form',
|
|
705
674
|
explode: true,
|
|
706
675
|
},
|
|
707
676
|
state: {
|
|
708
|
-
style:
|
|
677
|
+
style: 'form',
|
|
709
678
|
explode: true,
|
|
710
679
|
},
|
|
711
680
|
},
|
|
@@ -728,13 +697,13 @@ export const getExternalIdentityprovideridSsoOauthCallback = endpoint({
|
|
|
728
697
|
* @param identityProviderId
|
|
729
698
|
*/
|
|
730
699
|
export const getExternalIdentityprovideridSsoOauthInit = endpoint({
|
|
731
|
-
method:
|
|
732
|
-
path:
|
|
733
|
-
baseUrl:
|
|
734
|
-
requestFormat:
|
|
700
|
+
method: 'GET',
|
|
701
|
+
path: '/v1/external/:identityProviderId/sso/oauth/init',
|
|
702
|
+
baseUrl: 'https://auth.roblox.com',
|
|
703
|
+
requestFormat: 'json',
|
|
735
704
|
serializationMethod: {
|
|
736
705
|
identityProviderId: {
|
|
737
|
-
style:
|
|
706
|
+
style: 'simple',
|
|
738
707
|
},
|
|
739
708
|
},
|
|
740
709
|
parameters: {
|
|
@@ -754,17 +723,16 @@ export const getExternalIdentityprovideridSsoOauthInit = endpoint({
|
|
|
754
723
|
* @param body
|
|
755
724
|
*/
|
|
756
725
|
export const postExternalAccess = endpoint({
|
|
757
|
-
method:
|
|
758
|
-
path:
|
|
759
|
-
baseUrl:
|
|
760
|
-
requestFormat:
|
|
726
|
+
method: 'POST',
|
|
727
|
+
path: '/v1/external/access',
|
|
728
|
+
baseUrl: 'https://auth.roblox.com',
|
|
729
|
+
requestFormat: 'json',
|
|
761
730
|
serializationMethod: {
|
|
762
731
|
body: {},
|
|
763
732
|
},
|
|
764
733
|
parameters: {},
|
|
765
734
|
body: Roblox_Authentication_Api_Models_Request_ExternalAccessRequest,
|
|
766
|
-
response:
|
|
767
|
-
Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse,
|
|
735
|
+
response: Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse,
|
|
768
736
|
errors: [],
|
|
769
737
|
});
|
|
770
738
|
/**
|
|
@@ -773,10 +741,10 @@ export const postExternalAccess = endpoint({
|
|
|
773
741
|
* @param body
|
|
774
742
|
*/
|
|
775
743
|
export const postExternalLogin = endpoint({
|
|
776
|
-
method:
|
|
777
|
-
path:
|
|
778
|
-
baseUrl:
|
|
779
|
-
requestFormat:
|
|
744
|
+
method: 'POST',
|
|
745
|
+
path: '/v1/external/login',
|
|
746
|
+
baseUrl: 'https://auth.roblox.com',
|
|
747
|
+
requestFormat: 'json',
|
|
780
748
|
serializationMethod: {
|
|
781
749
|
body: {},
|
|
782
750
|
},
|
|
@@ -813,10 +781,10 @@ Logins in a user to Roblox, then links the Roblox account to the external provid
|
|
|
813
781
|
* @param body
|
|
814
782
|
*/
|
|
815
783
|
export const postExternalLoginandlink = endpoint({
|
|
816
|
-
method:
|
|
817
|
-
path:
|
|
818
|
-
baseUrl:
|
|
819
|
-
requestFormat:
|
|
784
|
+
method: 'POST',
|
|
785
|
+
path: '/v1/external/loginAndLink',
|
|
786
|
+
baseUrl: 'https://auth.roblox.com',
|
|
787
|
+
requestFormat: 'json',
|
|
820
788
|
serializationMethod: {
|
|
821
789
|
body: {},
|
|
822
790
|
},
|
|
@@ -836,10 +804,10 @@ export const postExternalLoginandlink = endpoint({
|
|
|
836
804
|
* @param body
|
|
837
805
|
*/
|
|
838
806
|
export const postExternalSignup = endpoint({
|
|
839
|
-
method:
|
|
840
|
-
path:
|
|
841
|
-
baseUrl:
|
|
842
|
-
requestFormat:
|
|
807
|
+
method: 'POST',
|
|
808
|
+
path: '/v1/external/signup',
|
|
809
|
+
baseUrl: 'https://auth.roblox.com',
|
|
810
|
+
requestFormat: 'json',
|
|
843
811
|
serializationMethod: {
|
|
844
812
|
body: {},
|
|
845
813
|
},
|
|
@@ -859,10 +827,10 @@ export const postExternalSignup = endpoint({
|
|
|
859
827
|
* @param body
|
|
860
828
|
*/
|
|
861
829
|
export const postExternalUnlink = endpoint({
|
|
862
|
-
method:
|
|
863
|
-
path:
|
|
864
|
-
baseUrl:
|
|
865
|
-
requestFormat:
|
|
830
|
+
method: 'POST',
|
|
831
|
+
path: '/v1/external/unlink',
|
|
832
|
+
baseUrl: 'https://auth.roblox.com',
|
|
833
|
+
requestFormat: 'json',
|
|
866
834
|
serializationMethod: {
|
|
867
835
|
body: {},
|
|
868
836
|
},
|
|
@@ -882,10 +850,10 @@ export const postExternalUnlink = endpoint({
|
|
|
882
850
|
* @param body
|
|
883
851
|
*/
|
|
884
852
|
export const postIdentityVerificationLogin = endpoint({
|
|
885
|
-
method:
|
|
886
|
-
path:
|
|
887
|
-
baseUrl:
|
|
888
|
-
requestFormat:
|
|
853
|
+
method: 'POST',
|
|
854
|
+
path: '/v1/identity-verification/login',
|
|
855
|
+
baseUrl: 'https://auth.roblox.com',
|
|
856
|
+
requestFormat: 'json',
|
|
889
857
|
serializationMethod: {
|
|
890
858
|
body: {},
|
|
891
859
|
},
|
|
@@ -909,10 +877,10 @@ export const postIdentityVerificationLogin = endpoint({
|
|
|
909
877
|
* @param body
|
|
910
878
|
*/
|
|
911
879
|
export const postIdentityInitializeLogin = endpoint({
|
|
912
|
-
method:
|
|
913
|
-
path:
|
|
914
|
-
baseUrl:
|
|
915
|
-
requestFormat:
|
|
880
|
+
method: 'POST',
|
|
881
|
+
path: '/v1/identity/initialize-login',
|
|
882
|
+
baseUrl: 'https://auth.roblox.com',
|
|
883
|
+
requestFormat: 'json',
|
|
916
884
|
serializationMethod: {
|
|
917
885
|
body: {},
|
|
918
886
|
},
|
|
@@ -946,10 +914,10 @@ export const postIdentityInitializeLogin = endpoint({
|
|
|
946
914
|
* @param body Roblox.Authentication.Api.Models.LoginRequest.
|
|
947
915
|
*/
|
|
948
916
|
export const postLogin = endpoint({
|
|
949
|
-
method:
|
|
950
|
-
path:
|
|
951
|
-
baseUrl:
|
|
952
|
-
requestFormat:
|
|
917
|
+
method: 'POST',
|
|
918
|
+
path: '/v1/login',
|
|
919
|
+
baseUrl: 'https://auth.roblox.com',
|
|
920
|
+
requestFormat: 'json',
|
|
953
921
|
serializationMethod: {
|
|
954
922
|
body: {},
|
|
955
923
|
},
|
|
@@ -995,10 +963,10 @@ authentication on PCGDK
|
|
|
995
963
|
* @param body Roblox.Authentication.Api.Models.LoginRequest
|
|
996
964
|
*/
|
|
997
965
|
export const postLoginLinked = endpoint({
|
|
998
|
-
method:
|
|
999
|
-
path:
|
|
1000
|
-
baseUrl:
|
|
1001
|
-
requestFormat:
|
|
966
|
+
method: 'POST',
|
|
967
|
+
path: '/v1/login/linked',
|
|
968
|
+
baseUrl: 'https://auth.roblox.com',
|
|
969
|
+
requestFormat: 'json',
|
|
1002
970
|
serializationMethod: {
|
|
1003
971
|
body: {},
|
|
1004
972
|
},
|
|
@@ -1042,10 +1010,10 @@ export const postLoginLinked = endpoint({
|
|
|
1042
1010
|
* @summary Destroys the current authentication session.
|
|
1043
1011
|
*/
|
|
1044
1012
|
export const postLogout = endpoint({
|
|
1045
|
-
method:
|
|
1046
|
-
path:
|
|
1047
|
-
baseUrl:
|
|
1048
|
-
requestFormat:
|
|
1013
|
+
method: 'POST',
|
|
1014
|
+
path: '/v1/logout',
|
|
1015
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1016
|
+
requestFormat: 'json',
|
|
1049
1017
|
response: z.object({}),
|
|
1050
1018
|
errors: [
|
|
1051
1019
|
{
|
|
@@ -1064,10 +1032,10 @@ export const postLogout = endpoint({
|
|
|
1064
1032
|
* @param body
|
|
1065
1033
|
*/
|
|
1066
1034
|
export const postLogoutfromallsessionsandreauthenticate = endpoint({
|
|
1067
|
-
method:
|
|
1068
|
-
path:
|
|
1069
|
-
baseUrl:
|
|
1070
|
-
requestFormat:
|
|
1035
|
+
method: 'POST',
|
|
1036
|
+
path: '/v1/logoutfromallsessionsandreauthenticate',
|
|
1037
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1038
|
+
requestFormat: 'json',
|
|
1071
1039
|
serializationMethod: {
|
|
1072
1040
|
body: {},
|
|
1073
1041
|
},
|
|
@@ -1090,10 +1058,10 @@ export const postLogoutfromallsessionsandreauthenticate = endpoint({
|
|
|
1090
1058
|
* @summary Get the metadata
|
|
1091
1059
|
*/
|
|
1092
1060
|
export const getMetadata = endpoint({
|
|
1093
|
-
method:
|
|
1094
|
-
path:
|
|
1095
|
-
baseUrl:
|
|
1096
|
-
requestFormat:
|
|
1061
|
+
method: 'GET',
|
|
1062
|
+
path: '/v1/metadata',
|
|
1063
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1064
|
+
requestFormat: 'json',
|
|
1097
1065
|
response: Roblox_Authentication_Api_Models_MetadataResponse,
|
|
1098
1066
|
errors: [],
|
|
1099
1067
|
});
|
|
@@ -1103,10 +1071,10 @@ export const getMetadata = endpoint({
|
|
|
1103
1071
|
* @param body The request body!:DisableTwoStepVerificationRequest.
|
|
1104
1072
|
*/
|
|
1105
1073
|
export const postPasskeyDeletecredentialbatch = endpoint({
|
|
1106
|
-
method:
|
|
1107
|
-
path:
|
|
1108
|
-
baseUrl:
|
|
1109
|
-
requestFormat:
|
|
1074
|
+
method: 'POST',
|
|
1075
|
+
path: '/v1/passkey/DeleteCredentialBatch',
|
|
1076
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1077
|
+
requestFormat: 'json',
|
|
1110
1078
|
serializationMethod: {
|
|
1111
1079
|
body: {},
|
|
1112
1080
|
},
|
|
@@ -1136,10 +1104,10 @@ deactivating the user's password, and completing passkey registration.
|
|
|
1136
1104
|
* @param body The request body containing recovery session and passkey details.
|
|
1137
1105
|
*/
|
|
1138
1106
|
export const postPasskeyFinishArPreauthRegistration = endpoint({
|
|
1139
|
-
method:
|
|
1140
|
-
path:
|
|
1141
|
-
baseUrl:
|
|
1142
|
-
requestFormat:
|
|
1107
|
+
method: 'POST',
|
|
1108
|
+
path: '/v1/passkey/finish-ar-preauth-registration',
|
|
1109
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1110
|
+
requestFormat: 'json',
|
|
1143
1111
|
serializationMethod: {
|
|
1144
1112
|
body: {},
|
|
1145
1113
|
},
|
|
@@ -1175,10 +1143,10 @@ export const postPasskeyFinishArPreauthRegistration = endpoint({
|
|
|
1175
1143
|
* @param body
|
|
1176
1144
|
*/
|
|
1177
1145
|
export const postPasskeyFinishPreauthRegistration = endpoint({
|
|
1178
|
-
method:
|
|
1179
|
-
path:
|
|
1180
|
-
baseUrl:
|
|
1181
|
-
requestFormat:
|
|
1146
|
+
method: 'POST',
|
|
1147
|
+
path: '/v1/passkey/finish-preauth-registration',
|
|
1148
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1149
|
+
requestFormat: 'json',
|
|
1182
1150
|
serializationMethod: {
|
|
1183
1151
|
body: {},
|
|
1184
1152
|
},
|
|
@@ -1216,10 +1184,10 @@ export const postPasskeyFinishPreauthRegistration = endpoint({
|
|
|
1216
1184
|
* @param body The request body.Roblox.Authentication.Api.Models.Request.FinishPasskeyRegistrationRequest.
|
|
1217
1185
|
*/
|
|
1218
1186
|
export const postPasskeyFinishregistration = endpoint({
|
|
1219
|
-
method:
|
|
1220
|
-
path:
|
|
1221
|
-
baseUrl:
|
|
1222
|
-
requestFormat:
|
|
1187
|
+
method: 'POST',
|
|
1188
|
+
path: '/v1/passkey/FinishRegistration',
|
|
1189
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1190
|
+
requestFormat: 'json',
|
|
1223
1191
|
serializationMethod: {
|
|
1224
1192
|
body: {},
|
|
1225
1193
|
},
|
|
@@ -1254,17 +1222,16 @@ export const postPasskeyFinishregistration = endpoint({
|
|
|
1254
1222
|
* @param body
|
|
1255
1223
|
*/
|
|
1256
1224
|
export const postPasskeyListcredentials = endpoint({
|
|
1257
|
-
method:
|
|
1258
|
-
path:
|
|
1259
|
-
baseUrl:
|
|
1260
|
-
requestFormat:
|
|
1225
|
+
method: 'POST',
|
|
1226
|
+
path: '/v1/passkey/ListCredentials',
|
|
1227
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1228
|
+
requestFormat: 'json',
|
|
1261
1229
|
serializationMethod: {
|
|
1262
1230
|
body: {},
|
|
1263
1231
|
},
|
|
1264
1232
|
parameters: {},
|
|
1265
1233
|
body: z.object({ all: z.boolean() }),
|
|
1266
|
-
response:
|
|
1267
|
-
Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse,
|
|
1234
|
+
response: Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse,
|
|
1268
1235
|
errors: [
|
|
1269
1236
|
{
|
|
1270
1237
|
status: 401,
|
|
@@ -1287,17 +1254,16 @@ export const postPasskeyListcredentials = endpoint({
|
|
|
1287
1254
|
* @param body
|
|
1288
1255
|
*/
|
|
1289
1256
|
export const postPasskeyStartAuthenticationByUser = endpoint({
|
|
1290
|
-
method:
|
|
1291
|
-
path:
|
|
1292
|
-
baseUrl:
|
|
1293
|
-
requestFormat:
|
|
1257
|
+
method: 'POST',
|
|
1258
|
+
path: '/v1/passkey/start-authentication-by-user',
|
|
1259
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1260
|
+
requestFormat: 'json',
|
|
1294
1261
|
serializationMethod: {
|
|
1295
1262
|
body: {},
|
|
1296
1263
|
},
|
|
1297
1264
|
parameters: {},
|
|
1298
1265
|
body: Roblox_Authentication_Api_Models_Request_StartAuthenticationByUserRequest,
|
|
1299
|
-
response:
|
|
1300
|
-
Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse,
|
|
1266
|
+
response: Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse,
|
|
1301
1267
|
errors: [
|
|
1302
1268
|
{
|
|
1303
1269
|
status: 400,
|
|
@@ -1321,17 +1287,16 @@ export const postPasskeyStartAuthenticationByUser = endpoint({
|
|
|
1321
1287
|
* @param body
|
|
1322
1288
|
*/
|
|
1323
1289
|
export const postPasskeyStartPreauthRegistration = endpoint({
|
|
1324
|
-
method:
|
|
1325
|
-
path:
|
|
1326
|
-
baseUrl:
|
|
1327
|
-
requestFormat:
|
|
1290
|
+
method: 'POST',
|
|
1291
|
+
path: '/v1/passkey/start-preauth-registration',
|
|
1292
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1293
|
+
requestFormat: 'json',
|
|
1328
1294
|
serializationMethod: {
|
|
1329
1295
|
body: {},
|
|
1330
1296
|
},
|
|
1331
1297
|
parameters: {},
|
|
1332
1298
|
body: z.object({ username: z.string() }),
|
|
1333
|
-
response:
|
|
1334
|
-
Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse,
|
|
1299
|
+
response: Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse,
|
|
1335
1300
|
errors: [
|
|
1336
1301
|
{
|
|
1337
1302
|
status: 403,
|
|
@@ -1348,12 +1313,11 @@ export const postPasskeyStartPreauthRegistration = endpoint({
|
|
|
1348
1313
|
* @summary Provides a challenge for the Passkey to authenticate.
|
|
1349
1314
|
*/
|
|
1350
1315
|
export const postPasskeyStartauthentication = endpoint({
|
|
1351
|
-
method:
|
|
1352
|
-
path:
|
|
1353
|
-
baseUrl:
|
|
1354
|
-
requestFormat:
|
|
1355
|
-
response:
|
|
1356
|
-
Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse,
|
|
1316
|
+
method: 'POST',
|
|
1317
|
+
path: '/v1/passkey/StartAuthentication',
|
|
1318
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1319
|
+
requestFormat: 'json',
|
|
1320
|
+
response: Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse,
|
|
1357
1321
|
errors: [
|
|
1358
1322
|
{
|
|
1359
1323
|
status: 403,
|
|
@@ -1372,14 +1336,14 @@ export const postPasskeyStartauthentication = endpoint({
|
|
|
1372
1336
|
* @param flow
|
|
1373
1337
|
*/
|
|
1374
1338
|
export const postPasskeyStartregistration = endpoint({
|
|
1375
|
-
method:
|
|
1376
|
-
path:
|
|
1377
|
-
baseUrl:
|
|
1378
|
-
requestFormat:
|
|
1339
|
+
method: 'POST',
|
|
1340
|
+
path: '/v1/passkey/StartRegistration',
|
|
1341
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1342
|
+
requestFormat: 'json',
|
|
1379
1343
|
serializationMethod: {
|
|
1380
1344
|
body: {},
|
|
1381
1345
|
flow: {
|
|
1382
|
-
style:
|
|
1346
|
+
style: 'form',
|
|
1383
1347
|
explode: true,
|
|
1384
1348
|
},
|
|
1385
1349
|
},
|
|
@@ -1387,8 +1351,7 @@ export const postPasskeyStartregistration = endpoint({
|
|
|
1387
1351
|
flow: z.string().optional(),
|
|
1388
1352
|
},
|
|
1389
1353
|
body: z.object({ isSilentUpgrade: z.boolean() }),
|
|
1390
|
-
response:
|
|
1391
|
-
Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse,
|
|
1354
|
+
response: Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse,
|
|
1392
1355
|
errors: [
|
|
1393
1356
|
{
|
|
1394
1357
|
status: 401,
|
|
@@ -1412,10 +1375,10 @@ export const postPasskeyStartregistration = endpoint({
|
|
|
1412
1375
|
Route and response are intentionally obfuscated ("su-eligibility" = "silent-upgrade-eligibility").
|
|
1413
1376
|
*/
|
|
1414
1377
|
export const getPasskeySuEligibility = endpoint({
|
|
1415
|
-
method:
|
|
1416
|
-
path:
|
|
1417
|
-
baseUrl:
|
|
1418
|
-
requestFormat:
|
|
1378
|
+
method: 'GET',
|
|
1379
|
+
path: '/v1/passkey/su-eligibility',
|
|
1380
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1381
|
+
requestFormat: 'json',
|
|
1419
1382
|
response: z.object({ suEligibility: z.boolean() }),
|
|
1420
1383
|
errors: [
|
|
1421
1384
|
{
|
|
@@ -1436,17 +1399,17 @@ export const getPasskeySuEligibility = endpoint({
|
|
|
1436
1399
|
* @param Password
|
|
1437
1400
|
*/
|
|
1438
1401
|
export const getPasswordsValidate = endpoint({
|
|
1439
|
-
method:
|
|
1440
|
-
path:
|
|
1441
|
-
baseUrl:
|
|
1442
|
-
requestFormat:
|
|
1402
|
+
method: 'GET',
|
|
1403
|
+
path: '/v1/passwords/validate',
|
|
1404
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1405
|
+
requestFormat: 'json',
|
|
1443
1406
|
serializationMethod: {
|
|
1444
1407
|
Username: {
|
|
1445
|
-
style:
|
|
1408
|
+
style: 'form',
|
|
1446
1409
|
explode: true,
|
|
1447
1410
|
},
|
|
1448
1411
|
Password: {
|
|
1449
|
-
style:
|
|
1412
|
+
style: 'form',
|
|
1450
1413
|
explode: true,
|
|
1451
1414
|
},
|
|
1452
1415
|
},
|
|
@@ -1468,10 +1431,10 @@ export const getPasswordsValidate = endpoint({
|
|
|
1468
1431
|
* @param body The Roblox.Authentication.Api.Models.PasswordValidationModel.
|
|
1469
1432
|
*/
|
|
1470
1433
|
export const postPasswordsValidate = endpoint({
|
|
1471
|
-
method:
|
|
1472
|
-
path:
|
|
1473
|
-
baseUrl:
|
|
1474
|
-
requestFormat:
|
|
1434
|
+
method: 'POST',
|
|
1435
|
+
path: '/v1/passwords/validate',
|
|
1436
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1437
|
+
requestFormat: 'json',
|
|
1475
1438
|
serializationMethod: {
|
|
1476
1439
|
body: {},
|
|
1477
1440
|
},
|
|
@@ -1494,10 +1457,10 @@ export const postPasswordsValidate = endpoint({
|
|
|
1494
1457
|
* @summary Get metadata for forgot endpoints
|
|
1495
1458
|
*/
|
|
1496
1459
|
export const getRecoveryMetadata = endpoint({
|
|
1497
|
-
method:
|
|
1498
|
-
path:
|
|
1499
|
-
baseUrl:
|
|
1500
|
-
requestFormat:
|
|
1460
|
+
method: 'GET',
|
|
1461
|
+
path: '/v1/recovery/metadata',
|
|
1462
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1463
|
+
requestFormat: 'json',
|
|
1501
1464
|
response: Roblox_Authentication_Api_Models_RecoveryMetadataResponse,
|
|
1502
1465
|
errors: [
|
|
1503
1466
|
{
|
|
@@ -1512,13 +1475,13 @@ export const getRecoveryMetadata = endpoint({
|
|
|
1512
1475
|
* @param ticket Ticket Guid to revert account.
|
|
1513
1476
|
*/
|
|
1514
1477
|
export const getRevertAccount = endpoint({
|
|
1515
|
-
method:
|
|
1516
|
-
path:
|
|
1517
|
-
baseUrl:
|
|
1518
|
-
requestFormat:
|
|
1478
|
+
method: 'GET',
|
|
1479
|
+
path: '/v1/revert/account',
|
|
1480
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1481
|
+
requestFormat: 'json',
|
|
1519
1482
|
serializationMethod: {
|
|
1520
1483
|
ticket: {
|
|
1521
|
-
style:
|
|
1484
|
+
style: 'form',
|
|
1522
1485
|
explode: true,
|
|
1523
1486
|
},
|
|
1524
1487
|
},
|
|
@@ -1547,10 +1510,10 @@ export const getRevertAccount = endpoint({
|
|
|
1547
1510
|
* @param body The Roblox.Authentication.Api.Models.RevertAccountSubmitRequest containing the necessary information to revert account.
|
|
1548
1511
|
*/
|
|
1549
1512
|
export const postRevertAccount = endpoint({
|
|
1550
|
-
method:
|
|
1551
|
-
path:
|
|
1552
|
-
baseUrl:
|
|
1553
|
-
requestFormat:
|
|
1513
|
+
method: 'POST',
|
|
1514
|
+
path: '/v1/revert/account',
|
|
1515
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1516
|
+
requestFormat: 'json',
|
|
1554
1517
|
serializationMethod: {
|
|
1555
1518
|
body: {},
|
|
1556
1519
|
},
|
|
@@ -1583,10 +1546,10 @@ export const postRevertAccount = endpoint({
|
|
|
1583
1546
|
This endpoint should be called before enrolling in EPP to ensure old revert links cannot be used.
|
|
1584
1547
|
*/
|
|
1585
1548
|
export const postRevertInvalidateTickets = endpoint({
|
|
1586
|
-
method:
|
|
1587
|
-
path:
|
|
1588
|
-
baseUrl:
|
|
1589
|
-
requestFormat:
|
|
1549
|
+
method: 'POST',
|
|
1550
|
+
path: '/v1/revert/invalidate-tickets',
|
|
1551
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1552
|
+
requestFormat: 'json',
|
|
1590
1553
|
response: z.object({}),
|
|
1591
1554
|
errors: [
|
|
1592
1555
|
{
|
|
@@ -1608,10 +1571,10 @@ export const postRevertInvalidateTickets = endpoint({
|
|
|
1608
1571
|
* @summary Logs out user from the current session and create a new one.
|
|
1609
1572
|
*/
|
|
1610
1573
|
export const postSessionRefresh = endpoint({
|
|
1611
|
-
method:
|
|
1612
|
-
path:
|
|
1613
|
-
baseUrl:
|
|
1614
|
-
requestFormat:
|
|
1574
|
+
method: 'POST',
|
|
1575
|
+
path: '/v1/session/refresh',
|
|
1576
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1577
|
+
requestFormat: 'json',
|
|
1615
1578
|
response: z.object({}),
|
|
1616
1579
|
errors: [
|
|
1617
1580
|
{
|
|
@@ -1630,10 +1593,10 @@ export const postSessionRefresh = endpoint({
|
|
|
1630
1593
|
* @param body Roblox.Authentication.Api.Models.SignupRequest
|
|
1631
1594
|
*/
|
|
1632
1595
|
export const postSignup = endpoint({
|
|
1633
|
-
method:
|
|
1634
|
-
path:
|
|
1635
|
-
baseUrl:
|
|
1636
|
-
requestFormat:
|
|
1596
|
+
method: 'POST',
|
|
1597
|
+
path: '/v1/signup',
|
|
1598
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1599
|
+
requestFormat: 'json',
|
|
1637
1600
|
serializationMethod: {
|
|
1638
1601
|
body: {},
|
|
1639
1602
|
},
|
|
@@ -1686,10 +1649,10 @@ authentication on PCGDK
|
|
|
1686
1649
|
* @param body Roblox.Authentication.Api.Models.SignupRequest
|
|
1687
1650
|
*/
|
|
1688
1651
|
export const postSignupLinked = endpoint({
|
|
1689
|
-
method:
|
|
1690
|
-
path:
|
|
1691
|
-
baseUrl:
|
|
1692
|
-
requestFormat:
|
|
1652
|
+
method: 'POST',
|
|
1653
|
+
path: '/v1/signup/linked',
|
|
1654
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1655
|
+
requestFormat: 'json',
|
|
1693
1656
|
serializationMethod: {
|
|
1694
1657
|
body: {},
|
|
1695
1658
|
},
|
|
@@ -1738,14 +1701,14 @@ export const postSignupLinked = endpoint({
|
|
|
1738
1701
|
* @param provider The social authentication provider, e.g. Facebook
|
|
1739
1702
|
*/
|
|
1740
1703
|
export const postSocialProviderDisconnect = endpoint({
|
|
1741
|
-
method:
|
|
1742
|
-
path:
|
|
1743
|
-
baseUrl:
|
|
1744
|
-
requestFormat:
|
|
1704
|
+
method: 'POST',
|
|
1705
|
+
path: '/v1/social/:provider/disconnect',
|
|
1706
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1707
|
+
requestFormat: 'json',
|
|
1745
1708
|
serializationMethod: {
|
|
1746
1709
|
body: {},
|
|
1747
1710
|
provider: {
|
|
1748
|
-
style:
|
|
1711
|
+
style: 'simple',
|
|
1749
1712
|
},
|
|
1750
1713
|
},
|
|
1751
1714
|
parameters: {
|
|
@@ -1781,10 +1744,10 @@ export const postSocialProviderDisconnect = endpoint({
|
|
|
1781
1744
|
* @summary Get social network user information if the given social auth method is connected to current user.
|
|
1782
1745
|
*/
|
|
1783
1746
|
export const getSocialConnectedProviders = endpoint({
|
|
1784
|
-
method:
|
|
1785
|
-
path:
|
|
1786
|
-
baseUrl:
|
|
1787
|
-
requestFormat:
|
|
1747
|
+
method: 'GET',
|
|
1748
|
+
path: '/v1/social/connected-providers',
|
|
1749
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1750
|
+
requestFormat: 'json',
|
|
1788
1751
|
response: Roblox_Authentication_Api_Models_SocialProvidersResponse,
|
|
1789
1752
|
errors: [
|
|
1790
1753
|
{
|
|
@@ -1800,10 +1763,10 @@ export const getSocialConnectedProviders = endpoint({
|
|
|
1800
1763
|
* @description The current password is needed for verification that the password can be changed.
|
|
1801
1764
|
*/
|
|
1802
1765
|
export const postUserPasswordsChange = endpoint({
|
|
1803
|
-
method:
|
|
1804
|
-
path:
|
|
1805
|
-
baseUrl:
|
|
1806
|
-
requestFormat:
|
|
1766
|
+
method: 'POST',
|
|
1767
|
+
path: '/v1/user/passwords/change',
|
|
1768
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1769
|
+
requestFormat: 'json',
|
|
1807
1770
|
serializationMethod: {
|
|
1808
1771
|
body: {},
|
|
1809
1772
|
},
|
|
@@ -1838,10 +1801,10 @@ export const postUserPasswordsChange = endpoint({
|
|
|
1838
1801
|
* @param body The Roblox.Authentication.Api.Models.UsernameChangeRequest
|
|
1839
1802
|
*/
|
|
1840
1803
|
export const postUsername = endpoint({
|
|
1841
|
-
method:
|
|
1842
|
-
path:
|
|
1843
|
-
baseUrl:
|
|
1844
|
-
requestFormat:
|
|
1804
|
+
method: 'POST',
|
|
1805
|
+
path: '/v1/username',
|
|
1806
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1807
|
+
requestFormat: 'json',
|
|
1845
1808
|
serializationMethod: {
|
|
1846
1809
|
body: {},
|
|
1847
1810
|
},
|
|
@@ -1890,10 +1853,10 @@ export const postUsername = endpoint({
|
|
|
1890
1853
|
* @summary Get the current price for a username change
|
|
1891
1854
|
*/
|
|
1892
1855
|
export const getUsernameChangePrice = endpoint({
|
|
1893
|
-
method:
|
|
1894
|
-
path:
|
|
1895
|
-
baseUrl:
|
|
1896
|
-
requestFormat:
|
|
1856
|
+
method: 'GET',
|
|
1857
|
+
path: '/v1/username/change/price',
|
|
1858
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1859
|
+
requestFormat: 'json',
|
|
1897
1860
|
response: Roblox_Authentication_Api_Models_UsernameChangePriceResponse,
|
|
1898
1861
|
errors: [
|
|
1899
1862
|
{
|
|
@@ -1909,18 +1872,18 @@ export const getUsernameChangePrice = endpoint({
|
|
|
1909
1872
|
* @description This endpoint can be expanded in the future to include other query parameters such as "startsWith"
|
|
1910
1873
|
*/
|
|
1911
1874
|
export const getUsernames = endpoint({
|
|
1912
|
-
method:
|
|
1913
|
-
path:
|
|
1914
|
-
baseUrl:
|
|
1915
|
-
requestFormat:
|
|
1875
|
+
method: 'GET',
|
|
1876
|
+
path: '/v1/usernames',
|
|
1877
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1878
|
+
requestFormat: 'json',
|
|
1916
1879
|
serializationMethod: {
|
|
1917
1880
|
username: {
|
|
1918
|
-
style:
|
|
1881
|
+
style: 'form',
|
|
1919
1882
|
explode: true,
|
|
1920
1883
|
},
|
|
1921
1884
|
},
|
|
1922
1885
|
parameters: {
|
|
1923
|
-
username: z.string()
|
|
1886
|
+
username: z.string(),
|
|
1924
1887
|
},
|
|
1925
1888
|
response: Roblox_Authentication_Api_Models_UsernamesResponse,
|
|
1926
1889
|
errors: [],
|
|
@@ -1931,10 +1894,10 @@ export const getUsernames = endpoint({
|
|
|
1931
1894
|
* @param body
|
|
1932
1895
|
*/
|
|
1933
1896
|
export const postUsernamesRecover = endpoint({
|
|
1934
|
-
method:
|
|
1935
|
-
path:
|
|
1936
|
-
baseUrl:
|
|
1937
|
-
requestFormat:
|
|
1897
|
+
method: 'POST',
|
|
1898
|
+
path: '/v1/usernames/recover',
|
|
1899
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1900
|
+
requestFormat: 'json',
|
|
1938
1901
|
serializationMethod: {
|
|
1939
1902
|
body: {},
|
|
1940
1903
|
},
|
|
@@ -1967,21 +1930,21 @@ export const postUsernamesRecover = endpoint({
|
|
|
1967
1930
|
* @param Context
|
|
1968
1931
|
*/
|
|
1969
1932
|
export const getUsernamesValidate = endpoint({
|
|
1970
|
-
method:
|
|
1971
|
-
path:
|
|
1972
|
-
baseUrl:
|
|
1973
|
-
requestFormat:
|
|
1933
|
+
method: 'GET',
|
|
1934
|
+
path: '/v1/usernames/validate',
|
|
1935
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1936
|
+
requestFormat: 'json',
|
|
1974
1937
|
serializationMethod: {
|
|
1975
1938
|
Username: {
|
|
1976
|
-
style:
|
|
1939
|
+
style: 'form',
|
|
1977
1940
|
explode: true,
|
|
1978
1941
|
},
|
|
1979
1942
|
Birthday: {
|
|
1980
|
-
style:
|
|
1943
|
+
style: 'form',
|
|
1981
1944
|
explode: true,
|
|
1982
1945
|
},
|
|
1983
1946
|
Context: {
|
|
1984
|
-
style:
|
|
1947
|
+
style: 'form',
|
|
1985
1948
|
explode: true,
|
|
1986
1949
|
},
|
|
1987
1950
|
},
|
|
@@ -2005,10 +1968,10 @@ export const getUsernamesValidate = endpoint({
|
|
|
2005
1968
|
* @param body The Roblox.Authentication.Api.Models.UsernameValidationRequest.
|
|
2006
1969
|
*/
|
|
2007
1970
|
export const postUsernamesValidate = endpoint({
|
|
2008
|
-
method:
|
|
2009
|
-
path:
|
|
2010
|
-
baseUrl:
|
|
2011
|
-
requestFormat:
|
|
1971
|
+
method: 'POST',
|
|
1972
|
+
path: '/v1/usernames/validate',
|
|
1973
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1974
|
+
requestFormat: 'json',
|
|
2012
1975
|
serializationMethod: {
|
|
2013
1976
|
body: {},
|
|
2014
1977
|
},
|
|
@@ -2033,13 +1996,13 @@ export const postUsernamesValidate = endpoint({
|
|
|
2033
1996
|
* @param Email
|
|
2034
1997
|
*/
|
|
2035
1998
|
export const getValidatorsEmail = endpoint({
|
|
2036
|
-
method:
|
|
2037
|
-
path:
|
|
2038
|
-
baseUrl:
|
|
2039
|
-
requestFormat:
|
|
1999
|
+
method: 'GET',
|
|
2000
|
+
path: '/v1/validators/email',
|
|
2001
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2002
|
+
requestFormat: 'json',
|
|
2040
2003
|
serializationMethod: {
|
|
2041
2004
|
Email: {
|
|
2042
|
-
style:
|
|
2005
|
+
style: 'form',
|
|
2043
2006
|
explode: true,
|
|
2044
2007
|
},
|
|
2045
2008
|
},
|
|
@@ -2056,17 +2019,17 @@ export const getValidatorsEmail = endpoint({
|
|
|
2056
2019
|
* @param BirthDay
|
|
2057
2020
|
*/
|
|
2058
2021
|
export const getValidatorsRecommendedusernamefromdisplayname = endpoint({
|
|
2059
|
-
method:
|
|
2060
|
-
path:
|
|
2061
|
-
baseUrl:
|
|
2062
|
-
requestFormat:
|
|
2022
|
+
method: 'GET',
|
|
2023
|
+
path: '/v1/validators/recommendedUsernameFromDisplayName',
|
|
2024
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2025
|
+
requestFormat: 'json',
|
|
2063
2026
|
serializationMethod: {
|
|
2064
2027
|
DisplayName: {
|
|
2065
|
-
style:
|
|
2028
|
+
style: 'form',
|
|
2066
2029
|
explode: true,
|
|
2067
2030
|
},
|
|
2068
2031
|
BirthDay: {
|
|
2069
|
-
style:
|
|
2032
|
+
style: 'form',
|
|
2070
2033
|
explode: true,
|
|
2071
2034
|
},
|
|
2072
2035
|
},
|
|
@@ -2085,10 +2048,10 @@ This is a POST request and explicitly does not receive the parameter values from
|
|
|
2085
2048
|
* @param body
|
|
2086
2049
|
*/
|
|
2087
2050
|
export const postValidatorsRecommendedusernamefromdisplayname = endpoint({
|
|
2088
|
-
method:
|
|
2089
|
-
path:
|
|
2090
|
-
baseUrl:
|
|
2091
|
-
requestFormat:
|
|
2051
|
+
method: 'POST',
|
|
2052
|
+
path: '/v1/validators/recommendedUsernameFromDisplayName',
|
|
2053
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2054
|
+
requestFormat: 'json',
|
|
2092
2055
|
serializationMethod: {
|
|
2093
2056
|
body: {},
|
|
2094
2057
|
},
|
|
@@ -2109,17 +2072,17 @@ export const postValidatorsRecommendedusernamefromdisplayname = endpoint({
|
|
|
2109
2072
|
* @param BirthDay
|
|
2110
2073
|
*/
|
|
2111
2074
|
export const getValidatorsUsername = endpoint({
|
|
2112
|
-
method:
|
|
2113
|
-
path:
|
|
2114
|
-
baseUrl:
|
|
2115
|
-
requestFormat:
|
|
2075
|
+
method: 'GET',
|
|
2076
|
+
path: '/v1/validators/username',
|
|
2077
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2078
|
+
requestFormat: 'json',
|
|
2116
2079
|
serializationMethod: {
|
|
2117
2080
|
Username: {
|
|
2118
|
-
style:
|
|
2081
|
+
style: 'form',
|
|
2119
2082
|
explode: true,
|
|
2120
2083
|
},
|
|
2121
2084
|
BirthDay: {
|
|
2122
|
-
style:
|
|
2085
|
+
style: 'form',
|
|
2123
2086
|
explode: true,
|
|
2124
2087
|
},
|
|
2125
2088
|
},
|
|
@@ -2137,10 +2100,10 @@ This is a POST request and explicitly does not receive the parameter values from
|
|
|
2137
2100
|
* @param body
|
|
2138
2101
|
*/
|
|
2139
2102
|
export const postValidatorsUsername = endpoint({
|
|
2140
|
-
method:
|
|
2141
|
-
path:
|
|
2142
|
-
baseUrl:
|
|
2143
|
-
requestFormat:
|
|
2103
|
+
method: 'POST',
|
|
2104
|
+
path: '/v1/validators/username',
|
|
2105
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2106
|
+
requestFormat: 'json',
|
|
2144
2107
|
serializationMethod: {
|
|
2145
2108
|
body: {},
|
|
2146
2109
|
},
|
|
@@ -2160,10 +2123,10 @@ export const postValidatorsUsername = endpoint({
|
|
|
2160
2123
|
Also returns the gamertag of the Xbox account if connected.
|
|
2161
2124
|
*/
|
|
2162
2125
|
export const getXboxConnection = endpoint({
|
|
2163
|
-
method:
|
|
2164
|
-
path:
|
|
2165
|
-
baseUrl:
|
|
2166
|
-
requestFormat:
|
|
2126
|
+
method: 'GET',
|
|
2127
|
+
path: '/v1/xbox/connection',
|
|
2128
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2129
|
+
requestFormat: 'json',
|
|
2167
2130
|
response: Roblox_Authentication_Api_Models_XboxConnectionModel,
|
|
2168
2131
|
errors: [
|
|
2169
2132
|
{
|
|
@@ -2180,10 +2143,10 @@ export const getXboxConnection = endpoint({
|
|
|
2180
2143
|
* @summary Unlink the current ROBLOX account from the Xbox live account.
|
|
2181
2144
|
*/
|
|
2182
2145
|
export const postXboxDisconnect = endpoint({
|
|
2183
|
-
method:
|
|
2184
|
-
path:
|
|
2185
|
-
baseUrl:
|
|
2186
|
-
requestFormat:
|
|
2146
|
+
method: 'POST',
|
|
2147
|
+
path: '/v1/xbox/disconnect',
|
|
2148
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2149
|
+
requestFormat: 'json',
|
|
2187
2150
|
response: z.object({ success: z.boolean() }),
|
|
2188
2151
|
errors: [
|
|
2189
2152
|
{
|
|
@@ -2202,10 +2165,10 @@ export const postXboxDisconnect = endpoint({
|
|
|
2202
2165
|
* @summary Get the consecutive days the xbox user has been logged in.
|
|
2203
2166
|
*/
|
|
2204
2167
|
export const getXboxGetLoginConsecutiveDays = endpoint({
|
|
2205
|
-
method:
|
|
2206
|
-
path:
|
|
2207
|
-
baseUrl:
|
|
2208
|
-
requestFormat:
|
|
2168
|
+
method: 'GET',
|
|
2169
|
+
path: '/v1/xbox/get-login-consecutive-days',
|
|
2170
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2171
|
+
requestFormat: 'json',
|
|
2209
2172
|
response: z.object({ count: z.number().int() }),
|
|
2210
2173
|
errors: [
|
|
2211
2174
|
{
|
|
@@ -2227,10 +2190,10 @@ export const getXboxGetLoginConsecutiveDays = endpoint({
|
|
|
2227
2190
|
* @param body
|
|
2228
2191
|
*/
|
|
2229
2192
|
export const postXboxTranslate = endpoint({
|
|
2230
|
-
method:
|
|
2231
|
-
path:
|
|
2232
|
-
baseUrl:
|
|
2233
|
-
requestFormat:
|
|
2193
|
+
method: 'POST',
|
|
2194
|
+
path: '/v1/xbox/translate',
|
|
2195
|
+
baseUrl: 'https://auth.roblox.com',
|
|
2196
|
+
requestFormat: 'json',
|
|
2234
2197
|
serializationMethod: {
|
|
2235
2198
|
body: {},
|
|
2236
2199
|
},
|