rozod 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/lib/endpoints/accountinformationv1.d.ts +2 -8
- package/lib/endpoints/accountinformationv1.js +2 -8
- package/lib/endpoints/accountsettingsv1.d.ts +1 -317
- package/lib/endpoints/accountsettingsv1.js +2 -318
- package/lib/endpoints/adconfigurationv2.d.ts +1 -1
- package/lib/endpoints/adconfigurationv2.js +1 -1
- package/lib/endpoints/assetdeliveryv1.d.ts +15 -10
- package/lib/endpoints/assetdeliveryv1.js +16 -11
- package/lib/endpoints/assetdeliveryv2.d.ts +13 -8
- package/lib/endpoints/assetdeliveryv2.js +14 -9
- package/lib/endpoints/authv1.d.ts +229 -143
- package/lib/endpoints/authv1.js +229 -143
- package/lib/endpoints/authv2.d.ts +134 -111
- package/lib/endpoints/authv2.js +135 -112
- package/lib/endpoints/authv3.d.ts +44 -0
- package/lib/endpoints/authv3.js +45 -1
- package/lib/endpoints/avatarv1.d.ts +1 -1
- package/lib/endpoints/avatarv1.js +1 -1
- package/lib/endpoints/avatarv2.d.ts +17 -16
- package/lib/endpoints/avatarv2.js +17 -16
- package/lib/endpoints/avatarv3.d.ts +12 -18
- package/lib/endpoints/avatarv3.js +12 -18
- package/lib/endpoints/badgesv1.d.ts +54 -1
- package/lib/endpoints/badgesv1.js +55 -2
- package/lib/endpoints/catalogv1.d.ts +256 -44
- package/lib/endpoints/catalogv1.js +249 -39
- package/lib/endpoints/catalogv2.d.ts +14 -7
- package/lib/endpoints/catalogv2.js +14 -7
- package/lib/endpoints/clientsettingsv2.d.ts +53 -1
- package/lib/endpoints/clientsettingsv2.js +54 -2
- package/lib/endpoints/developv2.d.ts +5 -1
- package/lib/endpoints/developv2.js +5 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
- package/lib/endpoints/economycreatorstatsv1.js +1 -1
- package/lib/endpoints/engagementpayoutsv1.d.ts +1 -1
- package/lib/endpoints/engagementpayoutsv1.js +1 -1
- package/lib/endpoints/followingsv2.d.ts +1 -1
- package/lib/endpoints/followingsv2.js +1 -1
- package/lib/endpoints/friendsv1.d.ts +250 -1
- package/lib/endpoints/friendsv1.js +251 -2
- package/lib/endpoints/gameinternationalizationv1.d.ts +30 -43
- package/lib/endpoints/gameinternationalizationv1.js +32 -45
- package/lib/endpoints/gamejoinv1.d.ts +11 -1
- package/lib/endpoints/gamejoinv1.js +11 -1
- package/lib/endpoints/gamesv1.d.ts +16 -4
- package/lib/endpoints/gamesv1.js +16 -4
- package/lib/endpoints/gamesv2.d.ts +23 -3
- package/lib/endpoints/gamesv2.js +23 -3
- package/lib/endpoints/groupsv1.d.ts +42 -7
- package/lib/endpoints/groupsv1.js +42 -7
- package/lib/endpoints/groupsv2.d.ts +8 -1
- package/lib/endpoints/groupsv2.js +8 -1
- package/lib/endpoints/inventoryv1.d.ts +18 -155
- package/lib/endpoints/inventoryv1.js +19 -156
- package/lib/endpoints/inventoryv2.d.ts +4 -0
- package/lib/endpoints/inventoryv2.js +4 -0
- package/lib/endpoints/localizationtablesv1.d.ts +1 -0
- package/lib/endpoints/localizationtablesv1.js +1 -0
- package/lib/endpoints/notificationsv2.d.ts +2 -506
- package/lib/endpoints/notificationsv2.js +3 -505
- package/lib/endpoints/presencev1.d.ts +1 -1
- package/lib/endpoints/presencev1.js +1 -1
- package/lib/endpoints/thumbnailsv1.d.ts +11 -0
- package/lib/endpoints/thumbnailsv1.js +11 -0
- package/lib/endpoints/tradesv1.d.ts +29 -150
- package/lib/endpoints/tradesv1.js +30 -151
- package/lib/endpoints/tradesv2.d.ts +200 -0
- package/lib/endpoints/tradesv2.js +199 -0
- package/lib/endpoints/twostepverificationv1.d.ts +47 -13
- package/lib/endpoints/twostepverificationv1.js +48 -14
- package/lib/index.d.ts +38 -11
- package/lib/index.js +100 -38
- package/lib/opencloud/index.js +17 -7
- package/lib/opencloud/v1/assets.d.ts +89 -89
- package/lib/opencloud/v1/assets.js +80 -80
- package/lib/opencloud/v1/datastores-ordered.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.js +1 -1
- package/lib/opencloud/v1/datastores.d.ts +11 -7
- package/lib/opencloud/v1/datastores.js +4 -0
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +1019 -1006
- package/lib/opencloud/v2/cloud.js +683 -617
- package/package.json +16 -14
- package/lib/endpoints/translationsv1.d.ts +0 -182
- package/lib/endpoints/translationsv1.js +0 -183
package/LICENSE
CHANGED
|
@@ -155,7 +155,6 @@ export const postBirthdate = endpoint({
|
|
|
155
155
|
{
|
|
156
156
|
status: 403,
|
|
157
157
|
description: `0: Token Validation Failed
|
|
158
|
-
2: PIN is locked.
|
|
159
158
|
5: Invalid birthdate change.`,
|
|
160
159
|
},
|
|
161
160
|
{
|
|
@@ -213,8 +212,7 @@ export const postDescription = endpoint({
|
|
|
213
212
|
},
|
|
214
213
|
{
|
|
215
214
|
status: 403,
|
|
216
|
-
description: `0: Token Validation Failed
|
|
217
|
-
2: PIN is locked.`,
|
|
215
|
+
description: `0: Token Validation Failed`,
|
|
218
216
|
},
|
|
219
217
|
{
|
|
220
218
|
status: 500,
|
|
@@ -298,8 +296,7 @@ export const postGender = endpoint({
|
|
|
298
296
|
},
|
|
299
297
|
{
|
|
300
298
|
status: 403,
|
|
301
|
-
description: `0: Token Validation Failed
|
|
302
|
-
2: PIN is locked.`,
|
|
299
|
+
description: `0: Token Validation Failed`,
|
|
303
300
|
},
|
|
304
301
|
{
|
|
305
302
|
status: 500,
|
|
@@ -370,7 +367,6 @@ export const postPhone = endpoint({
|
|
|
370
367
|
{
|
|
371
368
|
status: 403,
|
|
372
369
|
description: `0: Token Validation Failed
|
|
373
|
-
4: Account Pin Locked
|
|
374
370
|
5: Incorrect Password
|
|
375
371
|
10: `,
|
|
376
372
|
},
|
|
@@ -412,7 +408,6 @@ export const postPhoneDelete = endpoint({
|
|
|
412
408
|
{
|
|
413
409
|
status: 403,
|
|
414
410
|
description: `0: Token Validation Failed
|
|
415
|
-
4: Account Pin Locked
|
|
416
411
|
5: Incorrect Password`,
|
|
417
412
|
},
|
|
418
413
|
{
|
|
@@ -589,7 +584,6 @@ export const postPromotionChannels = endpoint({
|
|
|
589
584
|
{
|
|
590
585
|
status: 403,
|
|
591
586
|
description: `0: Token Validation Failed
|
|
592
|
-
3: PIN is locked.
|
|
593
587
|
4: Only users who are over twelve years of age may edit social network channels.`,
|
|
594
588
|
},
|
|
595
589
|
],
|
|
@@ -156,7 +156,6 @@ exports.postBirthdate = (0, __1.endpoint)({
|
|
|
156
156
|
{
|
|
157
157
|
status: 403,
|
|
158
158
|
description: `0: Token Validation Failed
|
|
159
|
-
2: PIN is locked.
|
|
160
159
|
5: Invalid birthdate change.`,
|
|
161
160
|
},
|
|
162
161
|
{
|
|
@@ -214,8 +213,7 @@ exports.postDescription = (0, __1.endpoint)({
|
|
|
214
213
|
},
|
|
215
214
|
{
|
|
216
215
|
status: 403,
|
|
217
|
-
description: `0: Token Validation Failed
|
|
218
|
-
2: PIN is locked.`,
|
|
216
|
+
description: `0: Token Validation Failed`,
|
|
219
217
|
},
|
|
220
218
|
{
|
|
221
219
|
status: 500,
|
|
@@ -299,8 +297,7 @@ exports.postGender = (0, __1.endpoint)({
|
|
|
299
297
|
},
|
|
300
298
|
{
|
|
301
299
|
status: 403,
|
|
302
|
-
description: `0: Token Validation Failed
|
|
303
|
-
2: PIN is locked.`,
|
|
300
|
+
description: `0: Token Validation Failed`,
|
|
304
301
|
},
|
|
305
302
|
{
|
|
306
303
|
status: 500,
|
|
@@ -371,7 +368,6 @@ exports.postPhone = (0, __1.endpoint)({
|
|
|
371
368
|
{
|
|
372
369
|
status: 403,
|
|
373
370
|
description: `0: Token Validation Failed
|
|
374
|
-
4: Account Pin Locked
|
|
375
371
|
5: Incorrect Password
|
|
376
372
|
10: `,
|
|
377
373
|
},
|
|
@@ -413,7 +409,6 @@ exports.postPhoneDelete = (0, __1.endpoint)({
|
|
|
413
409
|
{
|
|
414
410
|
status: 403,
|
|
415
411
|
description: `0: Token Validation Failed
|
|
416
|
-
4: Account Pin Locked
|
|
417
412
|
5: Incorrect Password`,
|
|
418
413
|
},
|
|
419
414
|
{
|
|
@@ -590,7 +585,6 @@ exports.postPromotionChannels = (0, __1.endpoint)({
|
|
|
590
585
|
{
|
|
591
586
|
status: 403,
|
|
592
587
|
description: `0: Token Validation Failed
|
|
593
|
-
3: PIN is locked.
|
|
594
588
|
4: Only users who are over twelve years of age may edit social network channels.`,
|
|
595
589
|
},
|
|
596
590
|
],
|
|
@@ -22,13 +22,6 @@ const Roblox_AccountSettings_Api_Models_AccountsSettingsMetadataModel = z.object
|
|
|
22
22
|
IsParentalNotificationSettingsInUIEnabled: z.boolean(),
|
|
23
23
|
IsContentControlsEnabled: z.boolean(),
|
|
24
24
|
});
|
|
25
|
-
const Roblox_AccountSettings_Api_AppChatPrivacyResponse = z.object({
|
|
26
|
-
appChatPrivacy: z.string(),
|
|
27
|
-
});
|
|
28
|
-
const Roblox_AccountSettings_Api_AppChatPrivacyRequest = z.object({
|
|
29
|
-
appChatPrivacy: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
30
|
-
});
|
|
31
|
-
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
32
25
|
const Roblox_AccountSettings_Api_EmailResponse = z.object({
|
|
33
26
|
emailAddress: z.string(),
|
|
34
27
|
verified: z.boolean(),
|
|
@@ -40,32 +33,7 @@ const Roblox_AccountSettings_Api_UpdateEmailRequest = z.object({
|
|
|
40
33
|
skipVerificationEmail: z.boolean(),
|
|
41
34
|
isAdsAccount: z.boolean(),
|
|
42
35
|
});
|
|
43
|
-
const
|
|
44
|
-
gameChatPrivacy: z.string(),
|
|
45
|
-
});
|
|
46
|
-
const Roblox_AccountSettings_Api_GameChatPrivacyRequest = z.object({
|
|
47
|
-
gameChatPrivacy: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
48
|
-
});
|
|
49
|
-
const Roblox_AccountSettings_Api_InventoryPrivacyResponse = z.object({
|
|
50
|
-
inventoryPrivacy: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
51
|
-
});
|
|
52
|
-
const Roblox_AccountSettings_Api_InventoryPrivacyRequest = z.object({
|
|
53
|
-
inventoryPrivacy: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
54
|
-
});
|
|
55
|
-
const Roblox_AccountSettings_Api_InventoryPrivacyUpdateResponse = z.object({
|
|
56
|
-
inventoryPrivacy: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
57
|
-
tradePrivacy: z.union([
|
|
58
|
-
z.literal(0),
|
|
59
|
-
z.literal(1),
|
|
60
|
-
z.literal(2),
|
|
61
|
-
z.literal(3),
|
|
62
|
-
z.literal(4),
|
|
63
|
-
z.literal(5),
|
|
64
|
-
z.literal(6),
|
|
65
|
-
z.literal(7),
|
|
66
|
-
]),
|
|
67
|
-
privacySettingResponse: z.union([z.literal(0), z.literal(1)]),
|
|
68
|
-
});
|
|
36
|
+
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
69
37
|
const Roblox_AccountSettings_Api_ThemeConfigurationResponse = z.object({
|
|
70
38
|
themeType: z.string(),
|
|
71
39
|
});
|
|
@@ -110,19 +78,6 @@ const Roblox_AccountSettings_Api_TradeValueResponse = z.object({
|
|
|
110
78
|
const Roblox_AccountSettings_Api_TradeValueRequest = z.object({
|
|
111
79
|
tradeValue: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
|
|
112
80
|
});
|
|
113
|
-
const Roblox_AccountSettings_Api_Models_Response_GetBlockedUsersResponse = z.object({
|
|
114
|
-
blockedUserIds: z.array(z.number()),
|
|
115
|
-
});
|
|
116
|
-
const Roblox_AccountSettings_Api_Models_BlockedUser = z.object({
|
|
117
|
-
userId: z.number().int(),
|
|
118
|
-
name: z.string(),
|
|
119
|
-
displayName: z.string(),
|
|
120
|
-
});
|
|
121
|
-
const Roblox_AccountSettings_Api_Models_Response_GetDetailedBlockedUsersResponse = z.object({
|
|
122
|
-
blockedUsers: z.array(Roblox_AccountSettings_Api_Models_BlockedUser),
|
|
123
|
-
maxBlockedUsers: z.number().int(),
|
|
124
|
-
total: z.number().int(),
|
|
125
|
-
});
|
|
126
81
|
const Roblox_AccountSettings_Api_SendVerifyEmailRequest = z.object({
|
|
127
82
|
freeItem: z.boolean(),
|
|
128
83
|
isAdsAccount: z.boolean(),
|
|
@@ -202,57 +157,6 @@ export const getAccountSettingsMetadata = endpoint({
|
|
|
202
157
|
},
|
|
203
158
|
],
|
|
204
159
|
});
|
|
205
|
-
/**
|
|
206
|
-
* @api GET https://accountsettings.roblox.com/v1/app-chat-privacy
|
|
207
|
-
* @summary Get a user's app chat privacy setting
|
|
208
|
-
*/
|
|
209
|
-
export const getAppChatPrivacy = endpoint({
|
|
210
|
-
method: 'GET',
|
|
211
|
-
path: '/v1/app-chat-privacy',
|
|
212
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
213
|
-
requestFormat: 'json',
|
|
214
|
-
response: z.object({ appChatPrivacy: z.string() }),
|
|
215
|
-
errors: [
|
|
216
|
-
{
|
|
217
|
-
status: 401,
|
|
218
|
-
description: `0: Authorization has been denied for this request.`,
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
});
|
|
222
|
-
/**
|
|
223
|
-
* @api POST https://accountsettings.roblox.com/v1/app-chat-privacy
|
|
224
|
-
* @summary Updates a user's app chat privacy setting
|
|
225
|
-
* @param body
|
|
226
|
-
*/
|
|
227
|
-
export const postAppChatPrivacy = endpoint({
|
|
228
|
-
method: 'POST',
|
|
229
|
-
path: '/v1/app-chat-privacy',
|
|
230
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
231
|
-
requestFormat: 'json',
|
|
232
|
-
serializationMethod: {
|
|
233
|
-
body: {},
|
|
234
|
-
},
|
|
235
|
-
parameters: {},
|
|
236
|
-
body: Roblox_AccountSettings_Api_AppChatPrivacyRequest,
|
|
237
|
-
response: z.object({}),
|
|
238
|
-
errors: [
|
|
239
|
-
{
|
|
240
|
-
status: 400,
|
|
241
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.InvalidSettingOption`,
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
status: 401,
|
|
245
|
-
description: `0: Authorization has been denied for this request.`,
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
status: 403,
|
|
249
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.AccountLocked
|
|
250
|
-
OR
|
|
251
|
-
Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.SettingLockedCuratedGamesEnabled
|
|
252
|
-
0: Token Validation Failed`,
|
|
253
|
-
},
|
|
254
|
-
],
|
|
255
|
-
});
|
|
256
160
|
/**
|
|
257
161
|
* @api GET https://accountsettings.roblox.com/v1/email
|
|
258
162
|
* @summary Gets the authenticated user's email address and verified status
|
|
@@ -299,7 +203,6 @@ export const postEmail = endpoint({
|
|
|
299
203
|
{
|
|
300
204
|
status: 403,
|
|
301
205
|
description: `0: Token Validation Failed
|
|
302
|
-
1: PIN is locked.
|
|
303
206
|
2: This feature is currently disabled. Please try again later.
|
|
304
207
|
3: There are too many accounts associated with this email address.
|
|
305
208
|
11: You must be on the Corporate network to log in.`,
|
|
@@ -348,7 +251,6 @@ export const patchEmail = endpoint({
|
|
|
348
251
|
{
|
|
349
252
|
status: 403,
|
|
350
253
|
description: `0: Token Validation Failed
|
|
351
|
-
1: PIN is locked.
|
|
352
254
|
2: This feature is currently disabled. Please try again later.
|
|
353
255
|
3: There are too many accounts associated with this email address.
|
|
354
256
|
11: You must be on the Corporate network to log in.`,
|
|
@@ -396,7 +298,6 @@ export const postEmailVerify = endpoint({
|
|
|
396
298
|
{
|
|
397
299
|
status: 403,
|
|
398
300
|
description: `0: Token Validation Failed
|
|
399
|
-
1: PIN is locked.
|
|
400
301
|
2: This feature is currently disabled. Please try again later.
|
|
401
302
|
11: You must be on the Corporate network to log in.`,
|
|
402
303
|
},
|
|
@@ -414,106 +315,6 @@ export const postEmailVerify = endpoint({
|
|
|
414
315
|
},
|
|
415
316
|
],
|
|
416
317
|
});
|
|
417
|
-
/**
|
|
418
|
-
* @api GET https://accountsettings.roblox.com/v1/game-chat-privacy
|
|
419
|
-
* @summary Get a user's game chat privacy setting
|
|
420
|
-
*/
|
|
421
|
-
export const getGameChatPrivacy = endpoint({
|
|
422
|
-
method: 'GET',
|
|
423
|
-
path: '/v1/game-chat-privacy',
|
|
424
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
425
|
-
requestFormat: 'json',
|
|
426
|
-
response: z.object({ gameChatPrivacy: z.string() }),
|
|
427
|
-
errors: [
|
|
428
|
-
{
|
|
429
|
-
status: 401,
|
|
430
|
-
description: `0: Authorization has been denied for this request.`,
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
});
|
|
434
|
-
/**
|
|
435
|
-
* @api POST https://accountsettings.roblox.com/v1/game-chat-privacy
|
|
436
|
-
* @summary Updates a user's game chat privacy setting
|
|
437
|
-
* @param body
|
|
438
|
-
*/
|
|
439
|
-
export const postGameChatPrivacy = endpoint({
|
|
440
|
-
method: 'POST',
|
|
441
|
-
path: '/v1/game-chat-privacy',
|
|
442
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
443
|
-
requestFormat: 'json',
|
|
444
|
-
serializationMethod: {
|
|
445
|
-
body: {},
|
|
446
|
-
},
|
|
447
|
-
parameters: {},
|
|
448
|
-
body: Roblox_AccountSettings_Api_GameChatPrivacyRequest,
|
|
449
|
-
response: z.object({}),
|
|
450
|
-
errors: [
|
|
451
|
-
{
|
|
452
|
-
status: 400,
|
|
453
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.InvalidSettingOption`,
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
status: 401,
|
|
457
|
-
description: `0: Authorization has been denied for this request.`,
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
status: 403,
|
|
461
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.AccountLocked
|
|
462
|
-
OR
|
|
463
|
-
Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.SettingLockedCuratedGamesEnabled
|
|
464
|
-
0: Token Validation Failed`,
|
|
465
|
-
},
|
|
466
|
-
],
|
|
467
|
-
});
|
|
468
|
-
/**
|
|
469
|
-
* @api GET https://accountsettings.roblox.com/v1/inventory-privacy
|
|
470
|
-
* @summary Get a user's inventory privacy setting
|
|
471
|
-
*/
|
|
472
|
-
export const getInventoryPrivacy = endpoint({
|
|
473
|
-
method: 'GET',
|
|
474
|
-
path: '/v1/inventory-privacy',
|
|
475
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
476
|
-
requestFormat: 'json',
|
|
477
|
-
response: Roblox_AccountSettings_Api_InventoryPrivacyResponse,
|
|
478
|
-
errors: [
|
|
479
|
-
{
|
|
480
|
-
status: 401,
|
|
481
|
-
description: `0: Authorization has been denied for this request.`,
|
|
482
|
-
},
|
|
483
|
-
],
|
|
484
|
-
});
|
|
485
|
-
/**
|
|
486
|
-
* @api POST https://accountsettings.roblox.com/v1/inventory-privacy
|
|
487
|
-
* @summary Updates a user's inventory privacy setting
|
|
488
|
-
* @param body
|
|
489
|
-
*/
|
|
490
|
-
export const postInventoryPrivacy = endpoint({
|
|
491
|
-
method: 'POST',
|
|
492
|
-
path: '/v1/inventory-privacy',
|
|
493
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
494
|
-
requestFormat: 'json',
|
|
495
|
-
serializationMethod: {
|
|
496
|
-
body: {},
|
|
497
|
-
},
|
|
498
|
-
parameters: {},
|
|
499
|
-
body: Roblox_AccountSettings_Api_InventoryPrivacyRequest,
|
|
500
|
-
response: Roblox_AccountSettings_Api_InventoryPrivacyUpdateResponse,
|
|
501
|
-
errors: [
|
|
502
|
-
{
|
|
503
|
-
status: 400,
|
|
504
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.AccountLocked`,
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
status: 401,
|
|
508
|
-
description: `0: Authorization has been denied for this request.`,
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
status: 403,
|
|
512
|
-
description: `Roblox.AccountSettings.Api.ResponseEnums.ContactSettingsErrors.InventoryHidingFeatureDisabled
|
|
513
|
-
0: Token Validation Failed`,
|
|
514
|
-
},
|
|
515
|
-
],
|
|
516
|
-
});
|
|
517
318
|
/**
|
|
518
319
|
* @api GET https://accountsettings.roblox.com/v1/themes/:consumerType/:consumerId
|
|
519
320
|
* @summary returns the theme type for a specific consumer.
|
|
@@ -705,120 +506,3 @@ export const postTradeValue = endpoint({
|
|
|
705
506
|
},
|
|
706
507
|
],
|
|
707
508
|
});
|
|
708
|
-
/**
|
|
709
|
-
* @api POST https://accountsettings.roblox.com/v1/users/:userId/block
|
|
710
|
-
* @summary Blocks another user.
|
|
711
|
-
* @param userId The user ID to block.
|
|
712
|
-
*/
|
|
713
|
-
export const postUsersUseridBlock = endpoint({
|
|
714
|
-
method: 'POST',
|
|
715
|
-
path: '/v1/users/:userId/block',
|
|
716
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
717
|
-
requestFormat: 'json',
|
|
718
|
-
serializationMethod: {
|
|
719
|
-
userId: {
|
|
720
|
-
style: 'simple',
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
parameters: {
|
|
724
|
-
userId: z.number().int(),
|
|
725
|
-
},
|
|
726
|
-
response: z.object({}),
|
|
727
|
-
errors: [
|
|
728
|
-
{
|
|
729
|
-
status: 400,
|
|
730
|
-
description: `0: Target user does not exist.
|
|
731
|
-
1: Target user already blocked.
|
|
732
|
-
2: User sending block request has reached their block limit.`,
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
status: 401,
|
|
736
|
-
description: `0: Authorization has been denied for this request.
|
|
737
|
-
7: User is not logged in.`,
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
status: 403,
|
|
741
|
-
description: `0: Token Validation Failed`,
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
status: 503,
|
|
745
|
-
description: `3: User blocking is disabled.
|
|
746
|
-
8: The request failed internally. Please try again later.`,
|
|
747
|
-
},
|
|
748
|
-
],
|
|
749
|
-
});
|
|
750
|
-
/**
|
|
751
|
-
* @api POST https://accountsettings.roblox.com/v1/users/:userId/unblock
|
|
752
|
-
* @summary Unblocks a previously blocked user.
|
|
753
|
-
* @param userId The user ID to unblock.
|
|
754
|
-
*/
|
|
755
|
-
export const postUsersUseridUnblock = endpoint({
|
|
756
|
-
method: 'POST',
|
|
757
|
-
path: '/v1/users/:userId/unblock',
|
|
758
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
759
|
-
requestFormat: 'json',
|
|
760
|
-
serializationMethod: {
|
|
761
|
-
userId: {
|
|
762
|
-
style: 'simple',
|
|
763
|
-
},
|
|
764
|
-
},
|
|
765
|
-
parameters: {
|
|
766
|
-
userId: z.number().int(),
|
|
767
|
-
},
|
|
768
|
-
response: z.object({}),
|
|
769
|
-
errors: [
|
|
770
|
-
{
|
|
771
|
-
status: 400,
|
|
772
|
-
description: `0: Target user does not exist.
|
|
773
|
-
4: Target user for unblock request is not currently blocked.`,
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
status: 401,
|
|
777
|
-
description: `0: Authorization has been denied for this request.
|
|
778
|
-
7: User is not logged in.`,
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
status: 403,
|
|
782
|
-
description: `0: Token Validation Failed`,
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
status: 503,
|
|
786
|
-
description: `3: User blocking is disabled.
|
|
787
|
-
8: The request failed internally. Please try again later.`,
|
|
788
|
-
},
|
|
789
|
-
],
|
|
790
|
-
});
|
|
791
|
-
/**
|
|
792
|
-
* @api GET https://accountsettings.roblox.com/v1/users/get-blocked-users
|
|
793
|
-
* @summary Gets all blocked users.
|
|
794
|
-
*/
|
|
795
|
-
export const getUsersGetBlockedUsers = endpoint({
|
|
796
|
-
method: 'GET',
|
|
797
|
-
path: '/v1/users/get-blocked-users',
|
|
798
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
799
|
-
requestFormat: 'json',
|
|
800
|
-
response: Roblox_AccountSettings_Api_Models_Response_GetBlockedUsersResponse,
|
|
801
|
-
errors: [
|
|
802
|
-
{
|
|
803
|
-
status: 401,
|
|
804
|
-
description: `0: Authorization has been denied for this request.`,
|
|
805
|
-
},
|
|
806
|
-
],
|
|
807
|
-
});
|
|
808
|
-
/**
|
|
809
|
-
* @api GET https://accountsettings.roblox.com/v1/users/get-detailed-blocked-users
|
|
810
|
-
* @summary Gets all blocked users with details.
|
|
811
|
-
*/
|
|
812
|
-
export const getUsersGetDetailedBlockedUsers = endpoint({
|
|
813
|
-
method: 'GET',
|
|
814
|
-
path: '/v1/users/get-detailed-blocked-users',
|
|
815
|
-
baseUrl: 'https://accountsettings.roblox.com',
|
|
816
|
-
requestFormat: 'json',
|
|
817
|
-
response: Roblox_AccountSettings_Api_Models_Response_GetDetailedBlockedUsersResponse,
|
|
818
|
-
errors: [
|
|
819
|
-
{
|
|
820
|
-
status: 401,
|
|
821
|
-
description: `0: Authorization has been denied for this request.`,
|
|
822
|
-
},
|
|
823
|
-
],
|
|
824
|
-
});
|