rozod 6.2.0 → 6.3.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/authv1.d.ts +48 -0
- package/lib/endpoints/authv1.js +49 -2
- package/lib/endpoints/avatarv1.d.ts +1 -0
- package/lib/endpoints/avatarv1.js +1 -0
- package/lib/endpoints/avatarv2.d.ts +1 -0
- package/lib/endpoints/avatarv2.js +1 -0
- package/lib/endpoints/avatarv3.d.ts +1 -0
- package/lib/endpoints/avatarv3.js +1 -0
- package/lib/endpoints/badgesv1.d.ts +0 -20
- package/lib/endpoints/badgesv1.js +0 -20
- package/lib/endpoints/catalogv1.d.ts +2 -70
- package/lib/endpoints/catalogv1.js +2 -70
- package/lib/endpoints/clientsettingsv2.d.ts +1 -0
- package/lib/endpoints/clientsettingsv2.js +1 -0
- package/lib/endpoints/friendsv1.d.ts +0 -75
- package/lib/endpoints/friendsv1.js +1 -68
- package/lib/endpoints/gamesv1.d.ts +4 -0
- package/lib/endpoints/gamesv1.js +4 -0
- package/lib/endpoints/groupsv1.d.ts +10 -4
- package/lib/endpoints/groupsv1.js +3 -2
- package/lib/endpoints/thumbnailsv1.d.ts +1 -0
- package/lib/endpoints/thumbnailsv1.js +1 -0
- package/lib/endpoints/twostepverificationv1.d.ts +1 -0
- package/lib/endpoints/twostepverificationv1.js +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/opencloud/v1/asset-permissions.d.ts +7 -2
- package/lib/opencloud/v1/asset-permissions.js +9 -3
- package/lib/opencloud/v1/assets.d.ts +59 -32
- package/lib/opencloud/v1/assets.js +77 -41
- package/lib/opencloud/v1/datastores-ordered.d.ts +50 -14
- package/lib/opencloud/v1/datastores-ordered.js +62 -20
- package/lib/opencloud/v1/datastores.d.ts +99 -42
- package/lib/opencloud/v1/datastores.js +123 -50
- package/lib/opencloud/v1/developer-products.d.ts +29 -11
- package/lib/opencloud/v1/developer-products.js +37 -15
- package/lib/opencloud/v1/game-passes.d.ts +29 -11
- package/lib/opencloud/v1/game-passes.js +37 -15
- package/lib/opencloud/v1/messaging.d.ts +6 -2
- package/lib/opencloud/v1/messaging.js +8 -3
- package/lib/opencloud/v1/open-eval.d.ts +14 -4
- package/lib/opencloud/v1/open-eval.js +18 -6
- package/lib/opencloud/v1/secrets-store.d.ts +46 -26
- package/lib/opencloud/v1/secrets-store.js +56 -31
- package/lib/opencloud/v1/toolbox.d.ts +14 -6
- package/lib/opencloud/v1/toolbox.js +18 -8
- package/lib/opencloud/v1/universes.d.ts +6 -2
- package/lib/opencloud/v1/universes.js +8 -3
- package/lib/opencloud/v2/cloud.d.ts +854 -395
- package/lib/opencloud/v2/cloud.js +967 -395
- package/package.json +1 -1
|
@@ -331,6 +331,13 @@ const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthent
|
|
|
331
331
|
const Roblox_Authentication_Api_Models_Request_DeletePasskeysRequest = z.object(
|
|
332
332
|
{ credentialNicknames: z.array(z.string()) }
|
|
333
333
|
);
|
|
334
|
+
const Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest =
|
|
335
|
+
z.object({
|
|
336
|
+
recoverySession: z.string(),
|
|
337
|
+
passkeySessionId: z.string(),
|
|
338
|
+
passkeyRegistrationResponse: z.string(),
|
|
339
|
+
userId: z.number().int(),
|
|
340
|
+
});
|
|
334
341
|
const Roblox_Authentication_Api_Models_Request_FinishPasskeyPreauthRegistrationRequest =
|
|
335
342
|
z.object({ sessionId: z.string(), registrationResponse: z.string() });
|
|
336
343
|
const Roblox_Authentication_Api_Models_Request_FinishPasskeyRegistrationRequest =
|
|
@@ -1096,6 +1103,47 @@ export const postPasskeyDeletecredentialbatch = endpoint({
|
|
|
1096
1103
|
},
|
|
1097
1104
|
],
|
|
1098
1105
|
});
|
|
1106
|
+
/**
|
|
1107
|
+
* @api POST https://auth.roblox.com/v1/passkey/finish-ar-preauth-registration
|
|
1108
|
+
* @summary Finishes account recovery pre-auth passkey registration by validating the recovery session,
|
|
1109
|
+
deactivating the user's password, and completing passkey registration.
|
|
1110
|
+
* @param body The request body containing recovery session and passkey details.
|
|
1111
|
+
*/
|
|
1112
|
+
export const postPasskeyFinishArPreauthRegistration = endpoint({
|
|
1113
|
+
method: "POST",
|
|
1114
|
+
path: "/v1/passkey/finish-ar-preauth-registration",
|
|
1115
|
+
baseUrl: "https://auth.roblox.com",
|
|
1116
|
+
requestFormat: "json",
|
|
1117
|
+
serializationMethod: {
|
|
1118
|
+
body: {},
|
|
1119
|
+
},
|
|
1120
|
+
parameters: {},
|
|
1121
|
+
body: Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest,
|
|
1122
|
+
response: z.object({}),
|
|
1123
|
+
errors: [
|
|
1124
|
+
{
|
|
1125
|
+
status: 400,
|
|
1126
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
status: 401,
|
|
1130
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
status: 403,
|
|
1134
|
+
description: `0: Token Validation Failed
|
|
1135
|
+
1: Reached limit of pass keys registered.`,
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
status: 500,
|
|
1139
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
status: 503,
|
|
1143
|
+
description: `2: Feature disabled.`,
|
|
1144
|
+
},
|
|
1145
|
+
],
|
|
1146
|
+
});
|
|
1099
1147
|
/**
|
|
1100
1148
|
* @api POST https://auth.roblox.com/v1/passkey/finish-preauth-registration
|
|
1101
1149
|
* @param body
|
package/lib/endpoints/authv1.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.postXboxTranslate = exports.getXboxGetLoginConsecutiveDays = exports.postXboxDisconnect = exports.getXboxConnection = exports.postValidatorsUsername = exports.getValidatorsUsername = void 0;
|
|
3
|
+
exports.getValidatorsRecommendedusernamefromdisplayname = exports.getValidatorsEmail = exports.postUsernamesValidate = exports.getUsernamesValidate = exports.postUsernamesRecover = exports.getUsernames = exports.postUsername = exports.postUserPasswordsChange = exports.getSocialConnectedProviders = exports.postSocialProviderDisconnect = exports.postSignupLinked = exports.postSignup = exports.postSessionRefresh = exports.postRevertInvalidateTickets = exports.postRevertAccount = exports.getRevertAccount = exports.getRecoveryMetadata = exports.postPasswordsValidate = exports.getPasswordsValidate = exports.postPasskeyStartregistration = exports.postPasskeyStartauthentication = exports.postPasskeyStartPreauthRegistration = exports.postPasskeyStartAuthenticationByUser = exports.postPasskeyListcredentials = exports.postPasskeyFinishregistration = exports.postPasskeyFinishPreauthRegistration = exports.postPasskeyFinishArPreauthRegistration = exports.postPasskeyDeletecredentialbatch = exports.getMetadata = exports.postLogoutfromallsessionsandreauthenticate = exports.postLogout = exports.postLoginLinked = exports.postLogin = exports.postIdentityInitializeLogin = exports.postIdentityVerificationLogin = exports.postExternalUnlink = exports.postExternalSignup = exports.postExternalLoginandlink = exports.postExternalLogin = exports.postExternalAccess = exports.getExternalIdentityprovideridSsoOauthInit = exports.getExternalIdentityprovideridSsoOauthCallback = exports.getClientAssertion = exports.getAuthMetadata = exports.postAccountPinUnlock = exports.postAccountPinLock = exports.patchAccountPin = exports.deleteAccountPin = exports.postAccountPin = exports.getAccountPin = void 0;
|
|
4
|
+
exports.postXboxTranslate = exports.getXboxGetLoginConsecutiveDays = exports.postXboxDisconnect = exports.getXboxConnection = exports.postValidatorsUsername = exports.getValidatorsUsername = exports.postValidatorsRecommendedusernamefromdisplayname = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const __1 = require("..");
|
|
7
7
|
const Roblox_Authentication_Api_Models_AccountPinStatusResponse = zod_1.z.object({
|
|
@@ -291,6 +291,12 @@ const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthent
|
|
|
291
291
|
const Roblox_Authentication_Api_Models_Request_DeletePasskeysRequest = zod_1.z.object({
|
|
292
292
|
credentialNicknames: zod_1.z.array(zod_1.z.string()),
|
|
293
293
|
});
|
|
294
|
+
const Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest = zod_1.z.object({
|
|
295
|
+
recoverySession: zod_1.z.string(),
|
|
296
|
+
passkeySessionId: zod_1.z.string(),
|
|
297
|
+
passkeyRegistrationResponse: zod_1.z.string(),
|
|
298
|
+
userId: zod_1.z.number().int(),
|
|
299
|
+
});
|
|
294
300
|
const Roblox_Authentication_Api_Models_Request_FinishPasskeyPreauthRegistrationRequest = zod_1.z.object({
|
|
295
301
|
sessionId: zod_1.z.string(),
|
|
296
302
|
registrationResponse: zod_1.z.string(),
|
|
@@ -1057,6 +1063,47 @@ exports.postPasskeyDeletecredentialbatch = (0, __1.endpoint)({
|
|
|
1057
1063
|
},
|
|
1058
1064
|
],
|
|
1059
1065
|
});
|
|
1066
|
+
/**
|
|
1067
|
+
* @api POST https://auth.roblox.com/v1/passkey/finish-ar-preauth-registration
|
|
1068
|
+
* @summary Finishes account recovery pre-auth passkey registration by validating the recovery session,
|
|
1069
|
+
deactivating the user's password, and completing passkey registration.
|
|
1070
|
+
* @param body The request body containing recovery session and passkey details.
|
|
1071
|
+
*/
|
|
1072
|
+
exports.postPasskeyFinishArPreauthRegistration = (0, __1.endpoint)({
|
|
1073
|
+
method: 'POST',
|
|
1074
|
+
path: '/v1/passkey/finish-ar-preauth-registration',
|
|
1075
|
+
baseUrl: 'https://auth.roblox.com',
|
|
1076
|
+
requestFormat: 'json',
|
|
1077
|
+
serializationMethod: {
|
|
1078
|
+
body: {},
|
|
1079
|
+
},
|
|
1080
|
+
parameters: {},
|
|
1081
|
+
body: Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest,
|
|
1082
|
+
response: zod_1.z.object({}),
|
|
1083
|
+
errors: [
|
|
1084
|
+
{
|
|
1085
|
+
status: 400,
|
|
1086
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
status: 401,
|
|
1090
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
status: 403,
|
|
1094
|
+
description: `0: Token Validation Failed
|
|
1095
|
+
1: Reached limit of pass keys registered.`,
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
status: 500,
|
|
1099
|
+
description: `0: An unknown error occurred with the request.`,
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
status: 503,
|
|
1103
|
+
description: `2: Feature disabled.`,
|
|
1104
|
+
},
|
|
1105
|
+
],
|
|
1106
|
+
});
|
|
1060
1107
|
/**
|
|
1061
1108
|
* @api POST https://auth.roblox.com/v1/passkey/finish-preauth-registration
|
|
1062
1109
|
* @param body
|
|
@@ -76,6 +76,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
76
76
|
zod_1.z.literal(28),
|
|
77
77
|
zod_1.z.literal(29),
|
|
78
78
|
]),
|
|
79
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
79
80
|
version: zod_1.z.number().int(),
|
|
80
81
|
});
|
|
81
82
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -76,6 +76,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
76
76
|
zod_1.z.literal(28),
|
|
77
77
|
zod_1.z.literal(29),
|
|
78
78
|
]),
|
|
79
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
79
80
|
version: zod_1.z.number().int(),
|
|
80
81
|
});
|
|
81
82
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -60,6 +60,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
60
60
|
zod_1.z.literal(28),
|
|
61
61
|
zod_1.z.literal(29),
|
|
62
62
|
]),
|
|
63
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
63
64
|
version: zod_1.z.number().int(),
|
|
64
65
|
});
|
|
65
66
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -455,8 +455,6 @@ export const getUsersUseridBadges = endpoint({
|
|
|
455
455
|
* @summary Gets timestamp for when a single badge was awarded to a user.
|
|
456
456
|
* @param userId User id.
|
|
457
457
|
* @param badgeId Badge id.
|
|
458
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
459
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
460
458
|
*/
|
|
461
459
|
export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
462
460
|
method: "GET",
|
|
@@ -470,18 +468,10 @@ export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
|
470
468
|
badgeId: {
|
|
471
469
|
style: "simple",
|
|
472
470
|
},
|
|
473
|
-
RequestUserIdIsInGameServer: {
|
|
474
|
-
style: "simple",
|
|
475
|
-
},
|
|
476
|
-
"Roblox-Place-Id": {
|
|
477
|
-
style: "simple",
|
|
478
|
-
},
|
|
479
471
|
},
|
|
480
472
|
parameters: {
|
|
481
473
|
userId: z.number().int(),
|
|
482
474
|
badgeId: z.number().int(),
|
|
483
|
-
RequestUserIdIsInGameServer: z.boolean(),
|
|
484
|
-
"Roblox-Place-Id": z.number().int(),
|
|
485
475
|
},
|
|
486
476
|
response: z.void(),
|
|
487
477
|
errors: [
|
|
@@ -496,8 +486,6 @@ export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
|
496
486
|
* @summary Gets timestamps for when badges were awarded to a user.
|
|
497
487
|
* @param userId The user Id.
|
|
498
488
|
* @param badgeIds The CSV of badge Ids.
|
|
499
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
500
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
501
489
|
*/
|
|
502
490
|
export const getUsersUseridBadgesAwardedDates = endpoint({
|
|
503
491
|
method: "GET",
|
|
@@ -511,18 +499,10 @@ export const getUsersUseridBadgesAwardedDates = endpoint({
|
|
|
511
499
|
badgeIds: {
|
|
512
500
|
style: "form",
|
|
513
501
|
},
|
|
514
|
-
RequestUserIdIsInGameServer: {
|
|
515
|
-
style: "simple",
|
|
516
|
-
},
|
|
517
|
-
"Roblox-Place-Id": {
|
|
518
|
-
style: "simple",
|
|
519
|
-
},
|
|
520
502
|
},
|
|
521
503
|
parameters: {
|
|
522
504
|
userId: z.number().int(),
|
|
523
505
|
badgeIds: z.array(z.number()),
|
|
524
|
-
RequestUserIdIsInGameServer: z.boolean(),
|
|
525
|
-
"Roblox-Place-Id": z.number().int(),
|
|
526
506
|
},
|
|
527
507
|
response:
|
|
528
508
|
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Badges_Api_BadgeAwardResponse_,
|
|
@@ -454,8 +454,6 @@ exports.getUsersUseridBadges = (0, __1.endpoint)({
|
|
|
454
454
|
* @summary Gets timestamp for when a single badge was awarded to a user.
|
|
455
455
|
* @param userId User id.
|
|
456
456
|
* @param badgeId Badge id.
|
|
457
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
458
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
459
457
|
*/
|
|
460
458
|
exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
461
459
|
method: 'GET',
|
|
@@ -469,18 +467,10 @@ exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
|
469
467
|
badgeId: {
|
|
470
468
|
style: 'simple',
|
|
471
469
|
},
|
|
472
|
-
RequestUserIdIsInGameServer: {
|
|
473
|
-
style: 'simple',
|
|
474
|
-
},
|
|
475
|
-
'Roblox-Place-Id': {
|
|
476
|
-
style: 'simple',
|
|
477
|
-
},
|
|
478
470
|
},
|
|
479
471
|
parameters: {
|
|
480
472
|
userId: zod_1.z.number().int(),
|
|
481
473
|
badgeId: zod_1.z.number().int(),
|
|
482
|
-
RequestUserIdIsInGameServer: zod_1.z.boolean(),
|
|
483
|
-
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
484
474
|
},
|
|
485
475
|
response: zod_1.z.void(),
|
|
486
476
|
errors: [
|
|
@@ -495,8 +485,6 @@ exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
|
495
485
|
* @summary Gets timestamps for when badges were awarded to a user.
|
|
496
486
|
* @param userId The user Id.
|
|
497
487
|
* @param badgeIds The CSV of badge Ids.
|
|
498
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
499
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
500
488
|
*/
|
|
501
489
|
exports.getUsersUseridBadgesAwardedDates = (0, __1.endpoint)({
|
|
502
490
|
method: 'GET',
|
|
@@ -510,18 +498,10 @@ exports.getUsersUseridBadgesAwardedDates = (0, __1.endpoint)({
|
|
|
510
498
|
badgeIds: {
|
|
511
499
|
style: 'form',
|
|
512
500
|
},
|
|
513
|
-
RequestUserIdIsInGameServer: {
|
|
514
|
-
style: 'simple',
|
|
515
|
-
},
|
|
516
|
-
'Roblox-Place-Id': {
|
|
517
|
-
style: 'simple',
|
|
518
|
-
},
|
|
519
501
|
},
|
|
520
502
|
parameters: {
|
|
521
503
|
userId: zod_1.z.number().int(),
|
|
522
504
|
badgeIds: zod_1.z.array(zod_1.z.number()),
|
|
523
|
-
RequestUserIdIsInGameServer: zod_1.z.boolean(),
|
|
524
|
-
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
525
505
|
},
|
|
526
506
|
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Badges_Api_BadgeAwardResponse_,
|
|
527
507
|
errors: [
|
|
@@ -101,60 +101,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsM
|
|
|
101
101
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_ =
|
|
102
102
|
z.object({ data: z.array(Roblox_Catalog_Api_BundleDetailsModel) });
|
|
103
103
|
const Roblox_Catalog_Api_SubcategoryModel = z.object({
|
|
104
|
-
subcategory: z.
|
|
105
|
-
z.literal(0),
|
|
106
|
-
z.literal(1),
|
|
107
|
-
z.literal(2),
|
|
108
|
-
z.literal(3),
|
|
109
|
-
z.literal(4),
|
|
110
|
-
z.literal(5),
|
|
111
|
-
z.literal(9),
|
|
112
|
-
z.literal(10),
|
|
113
|
-
z.literal(12),
|
|
114
|
-
z.literal(13),
|
|
115
|
-
z.literal(14),
|
|
116
|
-
z.literal(15),
|
|
117
|
-
z.literal(19),
|
|
118
|
-
z.literal(20),
|
|
119
|
-
z.literal(21),
|
|
120
|
-
z.literal(22),
|
|
121
|
-
z.literal(23),
|
|
122
|
-
z.literal(24),
|
|
123
|
-
z.literal(25),
|
|
124
|
-
z.literal(26),
|
|
125
|
-
z.literal(27),
|
|
126
|
-
z.literal(37),
|
|
127
|
-
z.literal(38),
|
|
128
|
-
z.literal(39),
|
|
129
|
-
z.literal(40),
|
|
130
|
-
z.literal(41),
|
|
131
|
-
z.literal(42),
|
|
132
|
-
z.literal(43),
|
|
133
|
-
z.literal(44),
|
|
134
|
-
z.literal(45),
|
|
135
|
-
z.literal(46),
|
|
136
|
-
z.literal(47),
|
|
137
|
-
z.literal(48),
|
|
138
|
-
z.literal(49),
|
|
139
|
-
z.literal(50),
|
|
140
|
-
z.literal(51),
|
|
141
|
-
z.literal(52),
|
|
142
|
-
z.literal(53),
|
|
143
|
-
z.literal(54),
|
|
144
|
-
z.literal(55),
|
|
145
|
-
z.literal(56),
|
|
146
|
-
z.literal(57),
|
|
147
|
-
z.literal(58),
|
|
148
|
-
z.literal(59),
|
|
149
|
-
z.literal(60),
|
|
150
|
-
z.literal(61),
|
|
151
|
-
z.literal(62),
|
|
152
|
-
z.literal(63),
|
|
153
|
-
z.literal(64),
|
|
154
|
-
z.literal(65),
|
|
155
|
-
z.literal(66),
|
|
156
|
-
z.literal(67),
|
|
157
|
-
]),
|
|
104
|
+
subcategory: z.string(),
|
|
158
105
|
taxonomy: z.string(),
|
|
159
106
|
assetTypeIds: z.array(z.number()),
|
|
160
107
|
bundleTypeIds: z.array(z.number()),
|
|
@@ -163,22 +110,7 @@ const Roblox_Catalog_Api_SubcategoryModel = z.object({
|
|
|
163
110
|
shortName: z.string(),
|
|
164
111
|
});
|
|
165
112
|
const Roblox_Catalog_Api_CategoryModel = z.object({
|
|
166
|
-
category: z.
|
|
167
|
-
z.literal(0),
|
|
168
|
-
z.literal(1),
|
|
169
|
-
z.literal(2),
|
|
170
|
-
z.literal(3),
|
|
171
|
-
z.literal(4),
|
|
172
|
-
z.literal(5),
|
|
173
|
-
z.literal(11),
|
|
174
|
-
z.literal(12),
|
|
175
|
-
z.literal(13),
|
|
176
|
-
z.literal(14),
|
|
177
|
-
z.literal(15),
|
|
178
|
-
z.literal(16),
|
|
179
|
-
z.literal(17),
|
|
180
|
-
z.literal(18),
|
|
181
|
-
]),
|
|
113
|
+
category: z.string(),
|
|
182
114
|
taxonomy: z.string(),
|
|
183
115
|
assetTypeIds: z.array(z.number()),
|
|
184
116
|
bundleTypeIds: z.array(z.number()),
|
|
@@ -95,60 +95,7 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetails
|
|
|
95
95
|
data: zod_1.z.array(Roblox_Catalog_Api_BundleDetailsModel),
|
|
96
96
|
});
|
|
97
97
|
const Roblox_Catalog_Api_SubcategoryModel = zod_1.z.object({
|
|
98
|
-
subcategory: zod_1.z.
|
|
99
|
-
zod_1.z.literal(0),
|
|
100
|
-
zod_1.z.literal(1),
|
|
101
|
-
zod_1.z.literal(2),
|
|
102
|
-
zod_1.z.literal(3),
|
|
103
|
-
zod_1.z.literal(4),
|
|
104
|
-
zod_1.z.literal(5),
|
|
105
|
-
zod_1.z.literal(9),
|
|
106
|
-
zod_1.z.literal(10),
|
|
107
|
-
zod_1.z.literal(12),
|
|
108
|
-
zod_1.z.literal(13),
|
|
109
|
-
zod_1.z.literal(14),
|
|
110
|
-
zod_1.z.literal(15),
|
|
111
|
-
zod_1.z.literal(19),
|
|
112
|
-
zod_1.z.literal(20),
|
|
113
|
-
zod_1.z.literal(21),
|
|
114
|
-
zod_1.z.literal(22),
|
|
115
|
-
zod_1.z.literal(23),
|
|
116
|
-
zod_1.z.literal(24),
|
|
117
|
-
zod_1.z.literal(25),
|
|
118
|
-
zod_1.z.literal(26),
|
|
119
|
-
zod_1.z.literal(27),
|
|
120
|
-
zod_1.z.literal(37),
|
|
121
|
-
zod_1.z.literal(38),
|
|
122
|
-
zod_1.z.literal(39),
|
|
123
|
-
zod_1.z.literal(40),
|
|
124
|
-
zod_1.z.literal(41),
|
|
125
|
-
zod_1.z.literal(42),
|
|
126
|
-
zod_1.z.literal(43),
|
|
127
|
-
zod_1.z.literal(44),
|
|
128
|
-
zod_1.z.literal(45),
|
|
129
|
-
zod_1.z.literal(46),
|
|
130
|
-
zod_1.z.literal(47),
|
|
131
|
-
zod_1.z.literal(48),
|
|
132
|
-
zod_1.z.literal(49),
|
|
133
|
-
zod_1.z.literal(50),
|
|
134
|
-
zod_1.z.literal(51),
|
|
135
|
-
zod_1.z.literal(52),
|
|
136
|
-
zod_1.z.literal(53),
|
|
137
|
-
zod_1.z.literal(54),
|
|
138
|
-
zod_1.z.literal(55),
|
|
139
|
-
zod_1.z.literal(56),
|
|
140
|
-
zod_1.z.literal(57),
|
|
141
|
-
zod_1.z.literal(58),
|
|
142
|
-
zod_1.z.literal(59),
|
|
143
|
-
zod_1.z.literal(60),
|
|
144
|
-
zod_1.z.literal(61),
|
|
145
|
-
zod_1.z.literal(62),
|
|
146
|
-
zod_1.z.literal(63),
|
|
147
|
-
zod_1.z.literal(64),
|
|
148
|
-
zod_1.z.literal(65),
|
|
149
|
-
zod_1.z.literal(66),
|
|
150
|
-
zod_1.z.literal(67),
|
|
151
|
-
]),
|
|
98
|
+
subcategory: zod_1.z.string(),
|
|
152
99
|
taxonomy: zod_1.z.string(),
|
|
153
100
|
assetTypeIds: zod_1.z.array(zod_1.z.number()),
|
|
154
101
|
bundleTypeIds: zod_1.z.array(zod_1.z.number()),
|
|
@@ -157,22 +104,7 @@ const Roblox_Catalog_Api_SubcategoryModel = zod_1.z.object({
|
|
|
157
104
|
shortName: zod_1.z.string(),
|
|
158
105
|
});
|
|
159
106
|
const Roblox_Catalog_Api_CategoryModel = zod_1.z.object({
|
|
160
|
-
category: zod_1.z.
|
|
161
|
-
zod_1.z.literal(0),
|
|
162
|
-
zod_1.z.literal(1),
|
|
163
|
-
zod_1.z.literal(2),
|
|
164
|
-
zod_1.z.literal(3),
|
|
165
|
-
zod_1.z.literal(4),
|
|
166
|
-
zod_1.z.literal(5),
|
|
167
|
-
zod_1.z.literal(11),
|
|
168
|
-
zod_1.z.literal(12),
|
|
169
|
-
zod_1.z.literal(13),
|
|
170
|
-
zod_1.z.literal(14),
|
|
171
|
-
zod_1.z.literal(15),
|
|
172
|
-
zod_1.z.literal(16),
|
|
173
|
-
zod_1.z.literal(17),
|
|
174
|
-
zod_1.z.literal(18),
|
|
175
|
-
]),
|
|
107
|
+
category: zod_1.z.string(),
|
|
176
108
|
taxonomy: zod_1.z.string(),
|
|
177
109
|
assetTypeIds: zod_1.z.array(zod_1.z.number()),
|
|
178
110
|
bundleTypeIds: zod_1.z.array(zod_1.z.number()),
|
|
@@ -32,6 +32,7 @@ const Roblox_ClientSettings_Api_Models_Response_OtaVersionResponse = z.object({
|
|
|
32
32
|
appStorageResetId: z.string(),
|
|
33
33
|
isDevelopmentConfig: z.boolean(),
|
|
34
34
|
assetsManifest: z.string(),
|
|
35
|
+
versionV2: z.number().int(),
|
|
35
36
|
});
|
|
36
37
|
const Roblox_ClientSettings_Api_Models_Response_UserChannelResponse = z.object({
|
|
37
38
|
channelName: z.string(),
|
|
@@ -30,6 +30,7 @@ const Roblox_ClientSettings_Api_Models_Response_OtaVersionResponse = zod_1.z.obj
|
|
|
30
30
|
appStorageResetId: zod_1.z.string(),
|
|
31
31
|
isDevelopmentConfig: zod_1.z.boolean(),
|
|
32
32
|
assetsManifest: zod_1.z.string(),
|
|
33
|
+
versionV2: zod_1.z.number().int(),
|
|
33
34
|
});
|
|
34
35
|
const Roblox_ClientSettings_Api_Models_Response_UserChannelResponse = zod_1.z.object({
|
|
35
36
|
channelName: zod_1.z.string(),
|
|
@@ -53,20 +53,6 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Friends_Api_FriendRequestR
|
|
|
53
53
|
});
|
|
54
54
|
const Roblox_Friends_Api_Models_Response_NewFriendRequestsCountResponse =
|
|
55
55
|
z.object({ count: z.number().int() });
|
|
56
|
-
const Roblox_Friends_Api_TrustedFriendStatusResponse = z.object({
|
|
57
|
-
status: 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
|
-
]),
|
|
66
|
-
});
|
|
67
|
-
const Roblox_Friends_Api_MultigetAreTrustedFriendsResponse = z.object({
|
|
68
|
-
trustedFriendsId: z.array(z.number()),
|
|
69
|
-
});
|
|
70
56
|
const Roblox_Friends_Api_PendingFriendRequestCountModel = z.object({
|
|
71
57
|
count: z.number().int(),
|
|
72
58
|
});
|
|
@@ -418,36 +404,6 @@ export const getMyNewFriendRequestsCount = endpoint({
|
|
|
418
404
|
},
|
|
419
405
|
],
|
|
420
406
|
});
|
|
421
|
-
/**
|
|
422
|
-
* @api GET https://friends.roblox.com/v1/my/trusted-friends/:userId/status
|
|
423
|
-
* @summary Gets trusted friend status of a specified user against the requesting user.
|
|
424
|
-
* @param userId The user to check the trusted friend status for.
|
|
425
|
-
*/
|
|
426
|
-
export const getMyTrustedFriendsUseridStatus = endpoint({
|
|
427
|
-
method: "GET",
|
|
428
|
-
path: "/v1/my/trusted-friends/:userId/status",
|
|
429
|
-
baseUrl: "https://friends.roblox.com",
|
|
430
|
-
requestFormat: "json",
|
|
431
|
-
serializationMethod: {
|
|
432
|
-
userId: {
|
|
433
|
-
style: "simple",
|
|
434
|
-
},
|
|
435
|
-
},
|
|
436
|
-
parameters: {
|
|
437
|
-
userId: z.number().int(),
|
|
438
|
-
},
|
|
439
|
-
response: Roblox_Friends_Api_TrustedFriendStatusResponse,
|
|
440
|
-
errors: [
|
|
441
|
-
{
|
|
442
|
-
status: 400,
|
|
443
|
-
description: `1: The target user is invalid or does not exist.`,
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
status: 401,
|
|
447
|
-
description: `0: Authorization has been denied for this request.`,
|
|
448
|
-
},
|
|
449
|
-
],
|
|
450
|
-
});
|
|
451
407
|
/**
|
|
452
408
|
* @api POST https://friends.roblox.com/v1/user/:userId/multiget-are-friends
|
|
453
409
|
* @summary Check if the requesting user is friends with the specified users.
|
|
@@ -481,37 +437,6 @@ export const postUserUseridMultigetAreFriends = endpoint({
|
|
|
481
437
|
},
|
|
482
438
|
],
|
|
483
439
|
});
|
|
484
|
-
/**
|
|
485
|
-
* @api GET https://friends.roblox.com/v1/user/:userId/multiget-are-trusted-friends
|
|
486
|
-
* @summary Check if the requesting user is trusted friends with the specified users.
|
|
487
|
-
* @param userId The requesting userId.
|
|
488
|
-
* @param userIds The user ids to check against with the requesting user.
|
|
489
|
-
*/
|
|
490
|
-
export const getUserUseridMultigetAreTrustedFriends = endpoint({
|
|
491
|
-
method: "GET",
|
|
492
|
-
path: "/v1/user/:userId/multiget-are-trusted-friends",
|
|
493
|
-
baseUrl: "https://friends.roblox.com",
|
|
494
|
-
requestFormat: "json",
|
|
495
|
-
serializationMethod: {
|
|
496
|
-
userId: {
|
|
497
|
-
style: "simple",
|
|
498
|
-
},
|
|
499
|
-
userIds: {
|
|
500
|
-
style: "form",
|
|
501
|
-
},
|
|
502
|
-
},
|
|
503
|
-
parameters: {
|
|
504
|
-
userId: z.number().int(),
|
|
505
|
-
userIds: z.array(z.number()),
|
|
506
|
-
},
|
|
507
|
-
response: Roblox_Friends_Api_MultigetAreTrustedFriendsResponse,
|
|
508
|
-
errors: [
|
|
509
|
-
{
|
|
510
|
-
status: 400,
|
|
511
|
-
description: `1: The target user is invalid or does not exist.`,
|
|
512
|
-
},
|
|
513
|
-
],
|
|
514
|
-
});
|
|
515
440
|
/**
|
|
516
441
|
* @api POST https://friends.roblox.com/v1/user/following-exists
|
|
517
442
|
* @summary Returns whether or not the current user is following each userId in a list of userIds
|