rozod 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +55 -15
- package/lib/endpoints/accountinformationv1.js +193 -128
- package/lib/endpoints/accountsettingsv1.d.ts +60 -6
- package/lib/endpoints/accountsettingsv1.js +204 -118
- package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv1.js +442 -10
- package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv2.js +443 -12
- package/lib/endpoints/authv1.d.ts +162 -36
- package/lib/endpoints/authv1.js +399 -201
- package/lib/endpoints/authv2.d.ts +108 -0
- package/lib/endpoints/authv2.js +353 -160
- package/lib/endpoints/authv3.d.ts +6 -0
- package/lib/endpoints/authv3.js +16 -8
- package/lib/endpoints/avatarv1.d.ts +94 -0
- package/lib/endpoints/avatarv1.js +239 -111
- package/lib/endpoints/avatarv2.d.ts +26 -0
- package/lib/endpoints/avatarv2.js +109 -59
- package/lib/endpoints/avatarv3.d.ts +20 -0
- package/lib/endpoints/avatarv3.js +83 -41
- package/lib/endpoints/badgesv1.d.ts +80 -3
- package/lib/endpoints/badgesv1.js +137 -51
- package/lib/endpoints/catalogv1.d.ts +183 -25
- package/lib/endpoints/catalogv1.js +307 -131
- package/lib/endpoints/chatv2.d.ts +105 -0
- package/lib/endpoints/chatv2.js +219 -114
- package/lib/endpoints/developv1.d.ts +411 -36
- package/lib/endpoints/developv1.js +707 -254
- package/lib/endpoints/developv2.d.ts +46 -0
- package/lib/endpoints/developv2.js +108 -36
- package/lib/endpoints/economyv1.js +7 -7
- package/lib/endpoints/friendsv1.d.ts +147 -0
- package/lib/endpoints/friendsv1.js +309 -114
- package/lib/endpoints/gamejoinv1.d.ts +2321 -0
- package/lib/endpoints/gamejoinv1.js +416 -0
- package/lib/endpoints/gamesv1.d.ts +319 -14
- package/lib/endpoints/gamesv1.js +531 -188
- package/lib/endpoints/gamesv2.d.ts +89 -0
- package/lib/endpoints/gamesv2.js +108 -19
- package/lib/endpoints/groupsv1.d.ts +602 -94
- package/lib/endpoints/groupsv1.js +1131 -456
- package/lib/endpoints/groupsv2.d.ts +33 -0
- package/lib/endpoints/groupsv2.js +74 -37
- package/lib/endpoints/inventoryv1.d.ts +108 -9
- package/lib/endpoints/inventoryv1.js +166 -45
- package/lib/endpoints/inventoryv2.d.ts +62 -1
- package/lib/endpoints/inventoryv2.js +91 -26
- package/lib/endpoints/presencev1.d.ts +14 -5
- package/lib/endpoints/presencev1.js +30 -21
- package/lib/endpoints/privatemessagesv1.d.ts +39 -0
- package/lib/endpoints/privatemessagesv1.js +90 -51
- package/lib/endpoints/thumbnailsv1.d.ts +309 -21
- package/lib/endpoints/thumbnailsv1.js +410 -63
- package/lib/endpoints/tradesv1.d.ts +51 -0
- package/lib/endpoints/tradesv1.js +148 -59
- package/lib/endpoints/translationsv1.d.ts +33 -0
- package/lib/endpoints/translationsv1.js +49 -14
- package/lib/endpoints/usersv1.d.ts +67 -0
- package/lib/endpoints/usersv1.js +138 -58
- package/lib/index.d.ts +4 -0
- package/lib/index.js +151 -240
- package/package.json +6 -3
package/lib/endpoints/gamesv1.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.patchVipServersIdVoicesettings = exports.patchVipServersIdSubscription = exports.patchVipServersIdPermissions = exports.patchVipServersId = exports.getVipServersId = exports.getVipServerCanInviteUserid = exports.getPrivateServersEnabledInUniverseUniverseid = exports.getPrivateServers = exports.getGamesVotes = exports.postGamesVipServersUniverseid = exports.getGamesSorts = exports.getGamesRecommendationsGameUniverseid = exports.getGamesRecommendationsAlgorithmAlgorithmname = exports.getGamesMultigetPlayabilityStatus = exports.getGamesMultigetPlaceDetails = exports.getGamesListSpotlight = exports.getGamesList = exports.getGamesGamesProductInfo = exports.getGamesGameThumbnails = exports.getGamesGameThumbnail = exports.getGamesUniverseidVotesUser = exports.getGamesUniverseidVotes = exports.patchGamesUniverseidUserVotes = exports.getGamesUniverseidMedia = exports.getGamesUniverseidGamePasses = exports.getGamesUniverseidFavoritesCount = exports.postGamesUniverseidFavorites = exports.getGamesUniverseidFavorites = exports.getGamesPlaceidServersServertype = exports.getGamesPlaceidPrivateServers = exports.getGames = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const Roblox_Games_Api_Models_Response_GameCreator = zod_1.z.object({
|
|
6
6
|
id: zod_1.z.number().int(),
|
|
7
7
|
name: zod_1.z.string(),
|
|
8
8
|
type: zod_1.z.string(),
|
|
9
9
|
isRNVAccount: zod_1.z.boolean(),
|
|
10
10
|
hasVerifiedBadge: zod_1.z.boolean(),
|
|
11
11
|
});
|
|
12
|
-
|
|
12
|
+
const Roblox_Games_Api_Models_Response_GameDetailResponse = zod_1.z.object({
|
|
13
13
|
id: zod_1.z.number().int(),
|
|
14
14
|
rootPlaceId: zod_1.z.number().int(),
|
|
15
15
|
name: zod_1.z.string(),
|
|
@@ -35,22 +35,22 @@ var Roblox_Games_Api_Models_Response_GameDetailResponse = zod_1.z.object({
|
|
|
35
35
|
isFavoritedByUser: zod_1.z.boolean(),
|
|
36
36
|
favoritedCount: zod_1.z.number().int(),
|
|
37
37
|
});
|
|
38
|
-
|
|
38
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_ = zod_1.z.object({
|
|
39
39
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameDetailResponse),
|
|
40
40
|
});
|
|
41
|
-
|
|
41
|
+
const Roblox_Games_Api_GameServerPlayerResponse = zod_1.z.object({
|
|
42
42
|
playerToken: zod_1.z.string(),
|
|
43
43
|
id: zod_1.z.number().int(),
|
|
44
44
|
name: zod_1.z.string(),
|
|
45
45
|
displayName: zod_1.z.string(),
|
|
46
46
|
});
|
|
47
|
-
|
|
47
|
+
const Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse = zod_1.z.object({
|
|
48
48
|
hasVerifiedBadge: zod_1.z.boolean(),
|
|
49
49
|
id: zod_1.z.number().int(),
|
|
50
50
|
name: zod_1.z.string(),
|
|
51
51
|
displayName: zod_1.z.string(),
|
|
52
52
|
});
|
|
53
|
-
|
|
53
|
+
const Roblox_Web_Responses_Games_GameServerResponse = zod_1.z.object({
|
|
54
54
|
id: zod_1.z.string().uuid(),
|
|
55
55
|
maxPlayers: zod_1.z.number().int(),
|
|
56
56
|
playing: zod_1.z.number().int(),
|
|
@@ -63,22 +63,22 @@ var Roblox_Web_Responses_Games_GameServerResponse = zod_1.z.object({
|
|
|
63
63
|
accessCode: zod_1.z.string().uuid(),
|
|
64
64
|
owner: Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse,
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameServerResponse_ = zod_1.z.object({
|
|
67
67
|
previousPageCursor: zod_1.z.string(),
|
|
68
68
|
nextPageCursor: zod_1.z.string(),
|
|
69
69
|
data: zod_1.z.array(Roblox_Web_Responses_Games_GameServerResponse),
|
|
70
70
|
});
|
|
71
|
-
|
|
71
|
+
const Roblox_Games_Api_Models_Response_GameFavoriteResponse = zod_1.z.object({
|
|
72
72
|
isFavorited: zod_1.z.boolean(),
|
|
73
73
|
});
|
|
74
|
-
|
|
74
|
+
const Roblox_Games_Api_Models_Request_GameFavoritesRequest = zod_1.z.object({
|
|
75
75
|
isFavorited: zod_1.z.boolean(),
|
|
76
76
|
});
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
|
|
78
|
+
const Roblox_Games_Api_Models_Response_GameFavoritesCountResponse = zod_1.z.object({
|
|
79
79
|
favoritesCount: zod_1.z.number().int(),
|
|
80
80
|
});
|
|
81
|
-
|
|
81
|
+
const Roblox_Games_Api_Models_Response_GamePassResponse = zod_1.z.object({
|
|
82
82
|
id: zod_1.z.number().int(),
|
|
83
83
|
name: zod_1.z.string(),
|
|
84
84
|
displayName: zod_1.z.string(),
|
|
@@ -88,12 +88,12 @@ var Roblox_Games_Api_Models_Response_GamePassResponse = zod_1.z.object({
|
|
|
88
88
|
sellerId: zod_1.z.number().int(),
|
|
89
89
|
isOwned: zod_1.z.boolean(),
|
|
90
90
|
});
|
|
91
|
-
|
|
91
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Games_Api_Models_Response_GamePassResponse_ = zod_1.z.object({
|
|
92
92
|
previousPageCursor: zod_1.z.string(),
|
|
93
93
|
nextPageCursor: zod_1.z.string(),
|
|
94
94
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GamePassResponse),
|
|
95
95
|
});
|
|
96
|
-
|
|
96
|
+
const Roblox_Games_Api_Models_Response_GameMediaItem = zod_1.z.object({
|
|
97
97
|
id: zod_1.z.number().int(),
|
|
98
98
|
assetTypeId: zod_1.z.number().int(),
|
|
99
99
|
assetType: zod_1.z.string(),
|
|
@@ -103,30 +103,30 @@ var Roblox_Games_Api_Models_Response_GameMediaItem = zod_1.z.object({
|
|
|
103
103
|
approved: zod_1.z.boolean(),
|
|
104
104
|
altText: zod_1.z.string(),
|
|
105
105
|
});
|
|
106
|
-
|
|
106
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameMediaItem_ = zod_1.z.object({
|
|
107
107
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameMediaItem),
|
|
108
108
|
});
|
|
109
|
-
|
|
109
|
+
const Roblox_Games_Api_Models_Response_GameVoteResponse = zod_1.z.object({
|
|
110
110
|
id: zod_1.z.number().int(),
|
|
111
111
|
upVotes: zod_1.z.number().int(),
|
|
112
112
|
downVotes: zod_1.z.number().int(),
|
|
113
113
|
});
|
|
114
|
-
|
|
114
|
+
const Roblox_Games_Api_Models_Response_UserGameVoteResponse = zod_1.z.object({
|
|
115
115
|
canVote: zod_1.z.boolean(),
|
|
116
116
|
userVote: zod_1.z.boolean(),
|
|
117
117
|
reasonForNotVoteable: zod_1.z.string(),
|
|
118
118
|
});
|
|
119
|
-
|
|
119
|
+
const Roblox_Games_Api_Models_Response_GameProductResponse = zod_1.z.object({
|
|
120
120
|
universeId: zod_1.z.number().int(),
|
|
121
121
|
isForSale: zod_1.z.boolean(),
|
|
122
122
|
productId: zod_1.z.number().int(),
|
|
123
123
|
price: zod_1.z.number().int(),
|
|
124
124
|
sellerId: zod_1.z.number().int(),
|
|
125
125
|
});
|
|
126
|
-
|
|
126
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameProductResponse_ = zod_1.z.object({
|
|
127
127
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameProductResponse),
|
|
128
128
|
});
|
|
129
|
-
|
|
129
|
+
const Roblox_Games_Api_Models_Response_Thumbnail = zod_1.z.object({
|
|
130
130
|
final: zod_1.z.boolean(),
|
|
131
131
|
url: zod_1.z.string(),
|
|
132
132
|
cdnUrl: zod_1.z.string(),
|
|
@@ -134,7 +134,7 @@ var Roblox_Games_Api_Models_Response_Thumbnail = zod_1.z.object({
|
|
|
134
134
|
universeId: zod_1.z.number().int(),
|
|
135
135
|
placeId: zod_1.z.number().int(),
|
|
136
136
|
});
|
|
137
|
-
|
|
137
|
+
const Roblox_Games_Api_Models_Response_GameResponseModel = zod_1.z.object({
|
|
138
138
|
creatorId: zod_1.z.number().int(),
|
|
139
139
|
creatorName: zod_1.z.string(),
|
|
140
140
|
creatorType: zod_1.z.string(),
|
|
@@ -154,10 +154,10 @@ var Roblox_Games_Api_Models_Response_GameResponseModel = zod_1.z.object({
|
|
|
154
154
|
gameDescription: zod_1.z.string(),
|
|
155
155
|
genre: zod_1.z.string(),
|
|
156
156
|
});
|
|
157
|
-
|
|
157
|
+
const Roblox_Games_Api_Models_Response_ElasticSearchDebugInfoModel = zod_1.z.object({
|
|
158
158
|
esQuery: zod_1.z.string(),
|
|
159
159
|
});
|
|
160
|
-
|
|
160
|
+
const Roblox_Games_Api_Models_Response_GamesSearchResponse = zod_1.z.object({
|
|
161
161
|
games: zod_1.z.array(Roblox_Games_Api_Models_Response_GameResponseModel),
|
|
162
162
|
suggestedKeyword: zod_1.z.string(),
|
|
163
163
|
correctedKeyword: zod_1.z.string(),
|
|
@@ -173,17 +173,17 @@ var Roblox_Games_Api_Models_Response_GamesSearchResponse = zod_1.z.object({
|
|
|
173
173
|
relatedGames: zod_1.z.array(Roblox_Games_Api_Models_Response_GameResponseModel),
|
|
174
174
|
esDebugInfo: Roblox_Games_Api_Models_Response_ElasticSearchDebugInfoModel,
|
|
175
175
|
});
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
const Roblox_Games_Api_Models_Response_SpotlightTypeData = zod_1.z.object({});
|
|
177
|
+
const Roblox_Games_Api_Models_Response_GameSpotlightResponse = zod_1.z.object({
|
|
178
178
|
spotlightType: zod_1.z.string(),
|
|
179
179
|
spotlightActionText: zod_1.z.string(),
|
|
180
180
|
spotlightTypeData: Roblox_Games_Api_Models_Response_SpotlightTypeData,
|
|
181
181
|
gameInfo: Roblox_Games_Api_Models_Response_GameResponseModel,
|
|
182
182
|
});
|
|
183
|
-
|
|
183
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameSpotlightResponse_ = zod_1.z.object({
|
|
184
184
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameSpotlightResponse),
|
|
185
185
|
});
|
|
186
|
-
|
|
186
|
+
const Roblox_Games_Api_Models_Response_PlaceDetails = zod_1.z.object({
|
|
187
187
|
placeId: zod_1.z.number().int(),
|
|
188
188
|
name: zod_1.z.string(),
|
|
189
189
|
description: zod_1.z.string(),
|
|
@@ -200,7 +200,7 @@ var Roblox_Games_Api_Models_Response_PlaceDetails = zod_1.z.object({
|
|
|
200
200
|
price: zod_1.z.number().int(),
|
|
201
201
|
imageToken: zod_1.z.string(),
|
|
202
202
|
});
|
|
203
|
-
|
|
203
|
+
const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = zod_1.z.object({
|
|
204
204
|
playabilityStatus: zod_1.z.union([
|
|
205
205
|
zod_1.z.literal(0),
|
|
206
206
|
zod_1.z.literal(1),
|
|
@@ -226,11 +226,11 @@ var Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = zod_1.z.object(
|
|
|
226
226
|
isPlayable: zod_1.z.boolean(),
|
|
227
227
|
universeId: zod_1.z.number().int(),
|
|
228
228
|
});
|
|
229
|
-
|
|
229
|
+
const Roblox_Games_Api_Models_Response_GameRecommendationsResponse = zod_1.z.object({
|
|
230
230
|
games: zod_1.z.array(Roblox_Games_Api_Models_Response_GameResponseModel),
|
|
231
231
|
nextPaginationKey: zod_1.z.string(),
|
|
232
232
|
});
|
|
233
|
-
|
|
233
|
+
const Roblox_Games_Api_Models_Response_GameSort = zod_1.z.object({
|
|
234
234
|
token: zod_1.z.string(),
|
|
235
235
|
name: zod_1.z.string(),
|
|
236
236
|
displayName: zod_1.z.string(),
|
|
@@ -245,26 +245,26 @@ var Roblox_Games_Api_Models_Response_GameSort = zod_1.z.object({
|
|
|
245
245
|
contextCountryRegionId: zod_1.z.number().int(),
|
|
246
246
|
tokenExpiryInSeconds: zod_1.z.number(),
|
|
247
247
|
});
|
|
248
|
-
|
|
248
|
+
const Roblox_Games_Api_Models_Response_TimeFilter = zod_1.z.object({
|
|
249
249
|
token: zod_1.z.string(),
|
|
250
250
|
name: zod_1.z.string(),
|
|
251
251
|
tokenExpiryInSeconds: zod_1.z.number(),
|
|
252
252
|
});
|
|
253
|
-
|
|
253
|
+
const Roblox_Games_Api_Models_Response_GenreFilter = zod_1.z.object({
|
|
254
254
|
token: zod_1.z.string(),
|
|
255
255
|
name: zod_1.z.string(),
|
|
256
256
|
tokenExpiryInSeconds: zod_1.z.number(),
|
|
257
257
|
});
|
|
258
|
-
|
|
258
|
+
const Roblox_Games_Api_Models_Response_GameFilter = zod_1.z.object({
|
|
259
259
|
token: zod_1.z.string(),
|
|
260
260
|
name: zod_1.z.string(),
|
|
261
261
|
tokenExpiryInSeconds: zod_1.z.number().int(),
|
|
262
262
|
});
|
|
263
|
-
|
|
263
|
+
const Roblox_Games_Api_Models_Response_PageContext = zod_1.z.object({
|
|
264
264
|
pageId: zod_1.z.string().uuid(),
|
|
265
265
|
isSeeAllPage: zod_1.z.boolean(),
|
|
266
266
|
});
|
|
267
|
-
|
|
267
|
+
const Roblox_Games_Api_Models_Response_GameSortsResponse = zod_1.z.object({
|
|
268
268
|
sorts: zod_1.z.array(Roblox_Games_Api_Models_Response_GameSort),
|
|
269
269
|
timeFilters: zod_1.z.array(Roblox_Games_Api_Models_Response_TimeFilter),
|
|
270
270
|
genreFilters: zod_1.z.array(Roblox_Games_Api_Models_Response_GenreFilter),
|
|
@@ -272,28 +272,28 @@ var Roblox_Games_Api_Models_Response_GameSortsResponse = zod_1.z.object({
|
|
|
272
272
|
pageContext: Roblox_Games_Api_Models_Response_PageContext,
|
|
273
273
|
gameSortStyle: zod_1.z.string(),
|
|
274
274
|
});
|
|
275
|
-
|
|
275
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameVoteResponse_ = zod_1.z.object({
|
|
276
276
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameVoteResponse),
|
|
277
277
|
});
|
|
278
|
-
|
|
278
|
+
const Roblox_Games_Api_PrivateServersResponse = zod_1.z.object({
|
|
279
279
|
privateServerResponses: zod_1.z.array(Roblox_Web_Responses_Games_GameServerResponse),
|
|
280
280
|
});
|
|
281
|
-
|
|
281
|
+
const Roblox_Games_Api_Models_Response_PrivateServersEnabledInUniverseResponse = zod_1.z.object({
|
|
282
282
|
privateServersEnabled: zod_1.z.boolean(),
|
|
283
283
|
});
|
|
284
|
-
|
|
284
|
+
const Roblox_Games_Api_VipServerCanInviteResponse = zod_1.z.object({
|
|
285
285
|
canInvite: zod_1.z.boolean(),
|
|
286
286
|
});
|
|
287
|
-
|
|
287
|
+
const Roblox_Games_Api_PlaceResponse = zod_1.z.object({
|
|
288
288
|
id: zod_1.z.number().int(),
|
|
289
289
|
name: zod_1.z.string(),
|
|
290
290
|
});
|
|
291
|
-
|
|
291
|
+
const Roblox_Games_Api_GameResponse = zod_1.z.object({
|
|
292
292
|
id: zod_1.z.number().int(),
|
|
293
293
|
name: zod_1.z.string(),
|
|
294
294
|
rootPlace: Roblox_Games_Api_PlaceResponse,
|
|
295
295
|
});
|
|
296
|
-
|
|
296
|
+
const Roblox_Games_Api_VipServerSubscriptionResponse = zod_1.z.object({
|
|
297
297
|
active: zod_1.z.boolean(),
|
|
298
298
|
expired: zod_1.z.boolean(),
|
|
299
299
|
expirationDate: zod_1.z.string().datetime(),
|
|
@@ -303,21 +303,21 @@ var Roblox_Games_Api_VipServerSubscriptionResponse = zod_1.z.object({
|
|
|
303
303
|
hasRecurringProfile: zod_1.z.boolean(),
|
|
304
304
|
hasPriceChanged: zod_1.z.boolean(),
|
|
305
305
|
});
|
|
306
|
-
|
|
306
|
+
const Roblox_Web_Responses_Users_SkinnyUserResponse = zod_1.z.object({
|
|
307
307
|
id: zod_1.z.number().int(),
|
|
308
308
|
name: zod_1.z.string(),
|
|
309
309
|
displayName: zod_1.z.string(),
|
|
310
310
|
});
|
|
311
|
-
|
|
311
|
+
const Roblox_Games_Api_VipServerPermissionsResponse = zod_1.z.object({
|
|
312
312
|
clanAllowed: zod_1.z.boolean(),
|
|
313
313
|
enemyClanId: zod_1.z.number().int(),
|
|
314
314
|
friendsAllowed: zod_1.z.boolean(),
|
|
315
315
|
users: zod_1.z.array(Roblox_Web_Responses_Users_SkinnyUserResponse),
|
|
316
316
|
});
|
|
317
|
-
|
|
317
|
+
const Roblox_Games_Api_VipServerVoiceSettingsResponse = zod_1.z.object({
|
|
318
318
|
enabled: zod_1.z.boolean(),
|
|
319
319
|
});
|
|
320
|
-
|
|
320
|
+
const Roblox_Games_Api_VipServerResponse = zod_1.z.object({
|
|
321
321
|
id: zod_1.z.number().int(),
|
|
322
322
|
name: zod_1.z.string(),
|
|
323
323
|
game: Roblox_Games_Api_GameResponse,
|
|
@@ -327,85 +327,85 @@ var Roblox_Games_Api_VipServerResponse = zod_1.z.object({
|
|
|
327
327
|
permissions: Roblox_Games_Api_VipServerPermissionsResponse,
|
|
328
328
|
voiceSettings: Roblox_Games_Api_VipServerVoiceSettingsResponse,
|
|
329
329
|
});
|
|
330
|
-
|
|
330
|
+
const Roblox_Games_Api_VipServerUpdateRequest = zod_1.z.object({
|
|
331
331
|
name: zod_1.z.string(),
|
|
332
332
|
newJoinCode: zod_1.z.boolean(),
|
|
333
333
|
active: zod_1.z.boolean(),
|
|
334
334
|
});
|
|
335
|
-
|
|
335
|
+
const Roblox_Games_Api_CreateVipServersRequest = zod_1.z.object({
|
|
336
336
|
name: zod_1.z.string(),
|
|
337
337
|
expectedPrice: zod_1.z.number().int(),
|
|
338
338
|
});
|
|
339
|
-
|
|
339
|
+
const Roblox_Games_Api_Models_Request_SetUserGameVoteRequest = zod_1.z.object({
|
|
340
340
|
vote: zod_1.z.boolean(),
|
|
341
341
|
});
|
|
342
|
-
|
|
342
|
+
const Roblox_Games_Api_VipServerUpdatePermissionsRequest = zod_1.z.object({
|
|
343
343
|
clanAllowed: zod_1.z.boolean(),
|
|
344
344
|
enemyClanId: zod_1.z.number().int(),
|
|
345
345
|
friendsAllowed: zod_1.z.boolean(),
|
|
346
346
|
usersToAdd: zod_1.z.array(zod_1.z.number()),
|
|
347
347
|
usersToRemove: zod_1.z.array(zod_1.z.number()),
|
|
348
348
|
});
|
|
349
|
-
|
|
349
|
+
const Roblox_Games_Api_VipServerUpdateSubscriptionRequest = zod_1.z.object({
|
|
350
350
|
active: zod_1.z.boolean(),
|
|
351
351
|
price: zod_1.z.number().int(),
|
|
352
352
|
});
|
|
353
|
-
|
|
353
|
+
const Roblox_Games_Api_VipServerUpdateVoiceSettingsRequest = zod_1.z.object({
|
|
354
354
|
enabled: zod_1.z.boolean(),
|
|
355
355
|
});
|
|
356
|
-
|
|
357
|
-
Roblox_Games_Api_Models_Response_GameCreator
|
|
358
|
-
Roblox_Games_Api_Models_Response_GameDetailResponse
|
|
359
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_
|
|
360
|
-
Roblox_Games_Api_GameServerPlayerResponse
|
|
361
|
-
Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse
|
|
362
|
-
Roblox_Web_Responses_Games_GameServerResponse
|
|
363
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameServerResponse_
|
|
364
|
-
Roblox_Games_Api_Models_Response_GameFavoriteResponse
|
|
365
|
-
Roblox_Games_Api_Models_Request_GameFavoritesRequest
|
|
366
|
-
Roblox_Web_WebAPI_ApiEmptyResponseModel
|
|
367
|
-
Roblox_Games_Api_Models_Response_GameFavoritesCountResponse
|
|
368
|
-
Roblox_Games_Api_Models_Response_GamePassResponse
|
|
369
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Games_Api_Models_Response_GamePassResponse_
|
|
370
|
-
Roblox_Games_Api_Models_Response_GameMediaItem
|
|
371
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameMediaItem_
|
|
372
|
-
Roblox_Games_Api_Models_Response_GameVoteResponse
|
|
373
|
-
Roblox_Games_Api_Models_Response_UserGameVoteResponse
|
|
374
|
-
Roblox_Games_Api_Models_Response_GameProductResponse
|
|
375
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameProductResponse_
|
|
376
|
-
Roblox_Games_Api_Models_Response_Thumbnail
|
|
377
|
-
Roblox_Games_Api_Models_Response_GameResponseModel
|
|
378
|
-
Roblox_Games_Api_Models_Response_ElasticSearchDebugInfoModel
|
|
379
|
-
Roblox_Games_Api_Models_Response_GamesSearchResponse
|
|
380
|
-
Roblox_Games_Api_Models_Response_SpotlightTypeData
|
|
381
|
-
Roblox_Games_Api_Models_Response_GameSpotlightResponse
|
|
382
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameSpotlightResponse_
|
|
383
|
-
Roblox_Games_Api_Models_Response_PlaceDetails
|
|
384
|
-
Roblox_Games_Api_Models_Response_PlayabilityStatusResponse
|
|
385
|
-
Roblox_Games_Api_Models_Response_GameRecommendationsResponse
|
|
386
|
-
Roblox_Games_Api_Models_Response_GameSort
|
|
387
|
-
Roblox_Games_Api_Models_Response_TimeFilter
|
|
388
|
-
Roblox_Games_Api_Models_Response_GenreFilter
|
|
389
|
-
Roblox_Games_Api_Models_Response_GameFilter
|
|
390
|
-
Roblox_Games_Api_Models_Response_PageContext
|
|
391
|
-
Roblox_Games_Api_Models_Response_GameSortsResponse
|
|
392
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameVoteResponse_
|
|
393
|
-
Roblox_Games_Api_PrivateServersResponse
|
|
394
|
-
Roblox_Games_Api_Models_Response_PrivateServersEnabledInUniverseResponse
|
|
395
|
-
Roblox_Games_Api_VipServerCanInviteResponse
|
|
396
|
-
Roblox_Games_Api_PlaceResponse
|
|
397
|
-
Roblox_Games_Api_GameResponse
|
|
398
|
-
Roblox_Games_Api_VipServerSubscriptionResponse
|
|
399
|
-
Roblox_Web_Responses_Users_SkinnyUserResponse
|
|
400
|
-
Roblox_Games_Api_VipServerPermissionsResponse
|
|
401
|
-
Roblox_Games_Api_VipServerVoiceSettingsResponse
|
|
402
|
-
Roblox_Games_Api_VipServerResponse
|
|
403
|
-
Roblox_Games_Api_VipServerUpdateRequest
|
|
404
|
-
Roblox_Games_Api_CreateVipServersRequest
|
|
405
|
-
Roblox_Games_Api_Models_Request_SetUserGameVoteRequest
|
|
406
|
-
Roblox_Games_Api_VipServerUpdatePermissionsRequest
|
|
407
|
-
Roblox_Games_Api_VipServerUpdateSubscriptionRequest
|
|
408
|
-
Roblox_Games_Api_VipServerUpdateVoiceSettingsRequest
|
|
356
|
+
const schemas = {
|
|
357
|
+
Roblox_Games_Api_Models_Response_GameCreator,
|
|
358
|
+
Roblox_Games_Api_Models_Response_GameDetailResponse,
|
|
359
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_,
|
|
360
|
+
Roblox_Games_Api_GameServerPlayerResponse,
|
|
361
|
+
Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse,
|
|
362
|
+
Roblox_Web_Responses_Games_GameServerResponse,
|
|
363
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameServerResponse_,
|
|
364
|
+
Roblox_Games_Api_Models_Response_GameFavoriteResponse,
|
|
365
|
+
Roblox_Games_Api_Models_Request_GameFavoritesRequest,
|
|
366
|
+
Roblox_Web_WebAPI_ApiEmptyResponseModel,
|
|
367
|
+
Roblox_Games_Api_Models_Response_GameFavoritesCountResponse,
|
|
368
|
+
Roblox_Games_Api_Models_Response_GamePassResponse,
|
|
369
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Games_Api_Models_Response_GamePassResponse_,
|
|
370
|
+
Roblox_Games_Api_Models_Response_GameMediaItem,
|
|
371
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameMediaItem_,
|
|
372
|
+
Roblox_Games_Api_Models_Response_GameVoteResponse,
|
|
373
|
+
Roblox_Games_Api_Models_Response_UserGameVoteResponse,
|
|
374
|
+
Roblox_Games_Api_Models_Response_GameProductResponse,
|
|
375
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameProductResponse_,
|
|
376
|
+
Roblox_Games_Api_Models_Response_Thumbnail,
|
|
377
|
+
Roblox_Games_Api_Models_Response_GameResponseModel,
|
|
378
|
+
Roblox_Games_Api_Models_Response_ElasticSearchDebugInfoModel,
|
|
379
|
+
Roblox_Games_Api_Models_Response_GamesSearchResponse,
|
|
380
|
+
Roblox_Games_Api_Models_Response_SpotlightTypeData,
|
|
381
|
+
Roblox_Games_Api_Models_Response_GameSpotlightResponse,
|
|
382
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameSpotlightResponse_,
|
|
383
|
+
Roblox_Games_Api_Models_Response_PlaceDetails,
|
|
384
|
+
Roblox_Games_Api_Models_Response_PlayabilityStatusResponse,
|
|
385
|
+
Roblox_Games_Api_Models_Response_GameRecommendationsResponse,
|
|
386
|
+
Roblox_Games_Api_Models_Response_GameSort,
|
|
387
|
+
Roblox_Games_Api_Models_Response_TimeFilter,
|
|
388
|
+
Roblox_Games_Api_Models_Response_GenreFilter,
|
|
389
|
+
Roblox_Games_Api_Models_Response_GameFilter,
|
|
390
|
+
Roblox_Games_Api_Models_Response_PageContext,
|
|
391
|
+
Roblox_Games_Api_Models_Response_GameSortsResponse,
|
|
392
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameVoteResponse_,
|
|
393
|
+
Roblox_Games_Api_PrivateServersResponse,
|
|
394
|
+
Roblox_Games_Api_Models_Response_PrivateServersEnabledInUniverseResponse,
|
|
395
|
+
Roblox_Games_Api_VipServerCanInviteResponse,
|
|
396
|
+
Roblox_Games_Api_PlaceResponse,
|
|
397
|
+
Roblox_Games_Api_GameResponse,
|
|
398
|
+
Roblox_Games_Api_VipServerSubscriptionResponse,
|
|
399
|
+
Roblox_Web_Responses_Users_SkinnyUserResponse,
|
|
400
|
+
Roblox_Games_Api_VipServerPermissionsResponse,
|
|
401
|
+
Roblox_Games_Api_VipServerVoiceSettingsResponse,
|
|
402
|
+
Roblox_Games_Api_VipServerResponse,
|
|
403
|
+
Roblox_Games_Api_VipServerUpdateRequest,
|
|
404
|
+
Roblox_Games_Api_CreateVipServersRequest,
|
|
405
|
+
Roblox_Games_Api_Models_Request_SetUserGameVoteRequest,
|
|
406
|
+
Roblox_Games_Api_VipServerUpdatePermissionsRequest,
|
|
407
|
+
Roblox_Games_Api_VipServerUpdateSubscriptionRequest,
|
|
408
|
+
Roblox_Games_Api_VipServerUpdateVoiceSettingsRequest,
|
|
409
409
|
};
|
|
410
410
|
/**
|
|
411
411
|
* @api get https://games.roblox.com/v1/games
|
|
@@ -416,6 +416,11 @@ exports.getGames = {
|
|
|
416
416
|
path: '/v1/games',
|
|
417
417
|
baseUrl: 'https://games.roblox.com',
|
|
418
418
|
requestFormat: 'json',
|
|
419
|
+
serializationMethod: {
|
|
420
|
+
universeIds: {
|
|
421
|
+
style: 'form',
|
|
422
|
+
},
|
|
423
|
+
},
|
|
419
424
|
parameters: {
|
|
420
425
|
universeIds: zod_1.z.array(zod_1.z.number()),
|
|
421
426
|
},
|
|
@@ -423,7 +428,8 @@ exports.getGames = {
|
|
|
423
428
|
errors: [
|
|
424
429
|
{
|
|
425
430
|
status: 400,
|
|
426
|
-
description:
|
|
431
|
+
description: `8: No universe IDs were specified.
|
|
432
|
+
9: Too many universe IDs were requested.`,
|
|
427
433
|
schema: zod_1.z.void(),
|
|
428
434
|
},
|
|
429
435
|
],
|
|
@@ -440,6 +446,23 @@ exports.getGamesPlaceidPrivateServers = {
|
|
|
440
446
|
path: '/v1/games/:placeId/private-servers',
|
|
441
447
|
baseUrl: 'https://games.roblox.com',
|
|
442
448
|
requestFormat: 'json',
|
|
449
|
+
serializationMethod: {
|
|
450
|
+
placeId: {
|
|
451
|
+
style: 'simple',
|
|
452
|
+
},
|
|
453
|
+
limit: {
|
|
454
|
+
style: 'form',
|
|
455
|
+
explode: true,
|
|
456
|
+
},
|
|
457
|
+
cursor: {
|
|
458
|
+
style: 'form',
|
|
459
|
+
explode: true,
|
|
460
|
+
},
|
|
461
|
+
sortOrder: {
|
|
462
|
+
style: 'form',
|
|
463
|
+
explode: true,
|
|
464
|
+
},
|
|
465
|
+
},
|
|
443
466
|
parameters: {
|
|
444
467
|
placeId: zod_1.z.number().int(),
|
|
445
468
|
limit: zod_1.z
|
|
@@ -453,12 +476,13 @@ exports.getGamesPlaceidPrivateServers = {
|
|
|
453
476
|
errors: [
|
|
454
477
|
{
|
|
455
478
|
status: 400,
|
|
456
|
-
description:
|
|
479
|
+
description: `1: The place is invalid.
|
|
480
|
+
7: Guest users are not allowed.`,
|
|
457
481
|
schema: zod_1.z.void(),
|
|
458
482
|
},
|
|
459
483
|
{
|
|
460
484
|
status: 404,
|
|
461
|
-
description:
|
|
485
|
+
description: `1: The place is invalid.`,
|
|
462
486
|
schema: zod_1.z.void(),
|
|
463
487
|
},
|
|
464
488
|
],
|
|
@@ -477,6 +501,30 @@ exports.getGamesPlaceidServersServertype = {
|
|
|
477
501
|
path: '/v1/games/:placeId/servers/:serverType',
|
|
478
502
|
baseUrl: 'https://games.roblox.com',
|
|
479
503
|
requestFormat: 'json',
|
|
504
|
+
serializationMethod: {
|
|
505
|
+
placeId: {
|
|
506
|
+
style: 'simple',
|
|
507
|
+
},
|
|
508
|
+
serverType: {
|
|
509
|
+
style: 'simple',
|
|
510
|
+
},
|
|
511
|
+
sortOrder: {
|
|
512
|
+
style: 'form',
|
|
513
|
+
explode: true,
|
|
514
|
+
},
|
|
515
|
+
excludeFullGames: {
|
|
516
|
+
style: 'form',
|
|
517
|
+
explode: true,
|
|
518
|
+
},
|
|
519
|
+
limit: {
|
|
520
|
+
style: 'form',
|
|
521
|
+
explode: true,
|
|
522
|
+
},
|
|
523
|
+
cursor: {
|
|
524
|
+
style: 'form',
|
|
525
|
+
explode: true,
|
|
526
|
+
},
|
|
527
|
+
},
|
|
480
528
|
parameters: {
|
|
481
529
|
placeId: zod_1.z.number().int(),
|
|
482
530
|
serverType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
|
|
@@ -495,12 +543,14 @@ exports.getGamesPlaceidServersServertype = {
|
|
|
495
543
|
errors: [
|
|
496
544
|
{
|
|
497
545
|
status: 400,
|
|
498
|
-
description:
|
|
546
|
+
description: `1: The place is invalid.
|
|
547
|
+
6: The server type is invalid. For fetching private servers, please use https://games.roblox.com/v1/games/{placeId}/private-servers.
|
|
548
|
+
7: Guest users are not allowed.`,
|
|
499
549
|
schema: zod_1.z.void(),
|
|
500
550
|
},
|
|
501
551
|
{
|
|
502
552
|
status: 404,
|
|
503
|
-
description:
|
|
553
|
+
description: `1: The place is invalid.`,
|
|
504
554
|
schema: zod_1.z.void(),
|
|
505
555
|
},
|
|
506
556
|
],
|
|
@@ -514,6 +564,11 @@ exports.getGamesUniverseidFavorites = {
|
|
|
514
564
|
path: '/v1/games/:universeId/favorites',
|
|
515
565
|
baseUrl: 'https://games.roblox.com',
|
|
516
566
|
requestFormat: 'json',
|
|
567
|
+
serializationMethod: {
|
|
568
|
+
universeId: {
|
|
569
|
+
style: 'simple',
|
|
570
|
+
},
|
|
571
|
+
},
|
|
517
572
|
parameters: {
|
|
518
573
|
universeId: zod_1.z.number().int(),
|
|
519
574
|
},
|
|
@@ -521,17 +576,17 @@ exports.getGamesUniverseidFavorites = {
|
|
|
521
576
|
errors: [
|
|
522
577
|
{
|
|
523
578
|
status: 400,
|
|
524
|
-
description:
|
|
579
|
+
description: `3: The universe's root place is invalid.`,
|
|
525
580
|
schema: zod_1.z.void(),
|
|
526
581
|
},
|
|
527
582
|
{
|
|
528
583
|
status: 401,
|
|
529
|
-
description:
|
|
584
|
+
description: `0: Authorization has been denied for this request.`,
|
|
530
585
|
schema: zod_1.z.void(),
|
|
531
586
|
},
|
|
532
587
|
{
|
|
533
588
|
status: 404,
|
|
534
|
-
description:
|
|
589
|
+
description: `2: The requested universe does not exist.`,
|
|
535
590
|
schema: zod_1.z.void(),
|
|
536
591
|
},
|
|
537
592
|
],
|
|
@@ -546,6 +601,12 @@ exports.postGamesUniverseidFavorites = {
|
|
|
546
601
|
path: '/v1/games/:universeId/favorites',
|
|
547
602
|
baseUrl: 'https://games.roblox.com',
|
|
548
603
|
requestFormat: 'json',
|
|
604
|
+
serializationMethod: {
|
|
605
|
+
body: {},
|
|
606
|
+
universeId: {
|
|
607
|
+
style: 'simple',
|
|
608
|
+
},
|
|
609
|
+
},
|
|
549
610
|
parameters: {
|
|
550
611
|
body: zod_1.z.object({ isFavorited: zod_1.z.boolean() }),
|
|
551
612
|
universeId: zod_1.z.number().int(),
|
|
@@ -554,27 +615,28 @@ exports.postGamesUniverseidFavorites = {
|
|
|
554
615
|
errors: [
|
|
555
616
|
{
|
|
556
617
|
status: 400,
|
|
557
|
-
description:
|
|
618
|
+
description: `3: The universe's root place is invalid.`,
|
|
558
619
|
schema: zod_1.z.void(),
|
|
559
620
|
},
|
|
560
621
|
{
|
|
561
622
|
status: 401,
|
|
562
|
-
description:
|
|
623
|
+
description: `0: Authorization has been denied for this request.`,
|
|
563
624
|
schema: zod_1.z.void(),
|
|
564
625
|
},
|
|
565
626
|
{
|
|
566
627
|
status: 403,
|
|
567
|
-
description:
|
|
628
|
+
description: `0: Token Validation Failed
|
|
629
|
+
11: You are not authorized to perform this action.`,
|
|
568
630
|
schema: zod_1.z.void(),
|
|
569
631
|
},
|
|
570
632
|
{
|
|
571
633
|
status: 404,
|
|
572
|
-
description:
|
|
634
|
+
description: `2: The requested universe does not exist.`,
|
|
573
635
|
schema: zod_1.z.void(),
|
|
574
636
|
},
|
|
575
637
|
{
|
|
576
638
|
status: 429,
|
|
577
|
-
description:
|
|
639
|
+
description: `4: Too many requests have been made.`,
|
|
578
640
|
schema: zod_1.z.void(),
|
|
579
641
|
},
|
|
580
642
|
],
|
|
@@ -588,6 +650,11 @@ exports.getGamesUniverseidFavoritesCount = {
|
|
|
588
650
|
path: '/v1/games/:universeId/favorites/count',
|
|
589
651
|
baseUrl: 'https://games.roblox.com',
|
|
590
652
|
requestFormat: 'json',
|
|
653
|
+
serializationMethod: {
|
|
654
|
+
universeId: {
|
|
655
|
+
style: 'simple',
|
|
656
|
+
},
|
|
657
|
+
},
|
|
591
658
|
parameters: {
|
|
592
659
|
universeId: zod_1.z.number().int(),
|
|
593
660
|
},
|
|
@@ -595,12 +662,12 @@ exports.getGamesUniverseidFavoritesCount = {
|
|
|
595
662
|
errors: [
|
|
596
663
|
{
|
|
597
664
|
status: 400,
|
|
598
|
-
description:
|
|
665
|
+
description: `3: The universe's root place is invalid.`,
|
|
599
666
|
schema: zod_1.z.void(),
|
|
600
667
|
},
|
|
601
668
|
{
|
|
602
669
|
status: 404,
|
|
603
|
-
description:
|
|
670
|
+
description: `2: The requested universe does not exist.`,
|
|
604
671
|
schema: zod_1.z.void(),
|
|
605
672
|
},
|
|
606
673
|
],
|
|
@@ -617,6 +684,23 @@ exports.getGamesUniverseidGamePasses = {
|
|
|
617
684
|
path: '/v1/games/:universeId/game-passes',
|
|
618
685
|
baseUrl: 'https://games.roblox.com',
|
|
619
686
|
requestFormat: 'json',
|
|
687
|
+
serializationMethod: {
|
|
688
|
+
universeId: {
|
|
689
|
+
style: 'simple',
|
|
690
|
+
},
|
|
691
|
+
limit: {
|
|
692
|
+
style: 'form',
|
|
693
|
+
explode: true,
|
|
694
|
+
},
|
|
695
|
+
cursor: {
|
|
696
|
+
style: 'form',
|
|
697
|
+
explode: true,
|
|
698
|
+
},
|
|
699
|
+
sortOrder: {
|
|
700
|
+
style: 'form',
|
|
701
|
+
explode: true,
|
|
702
|
+
},
|
|
703
|
+
},
|
|
620
704
|
parameters: {
|
|
621
705
|
universeId: zod_1.z.number().int(),
|
|
622
706
|
limit: zod_1.z
|
|
@@ -630,12 +714,12 @@ exports.getGamesUniverseidGamePasses = {
|
|
|
630
714
|
errors: [
|
|
631
715
|
{
|
|
632
716
|
status: 400,
|
|
633
|
-
description:
|
|
717
|
+
description: `2: The universe's root place is invalid.`,
|
|
634
718
|
schema: zod_1.z.void(),
|
|
635
719
|
},
|
|
636
720
|
{
|
|
637
721
|
status: 404,
|
|
638
|
-
description:
|
|
722
|
+
description: `1: The requested universe does not exist.`,
|
|
639
723
|
schema: zod_1.z.void(),
|
|
640
724
|
},
|
|
641
725
|
],
|
|
@@ -649,6 +733,11 @@ exports.getGamesUniverseidMedia = {
|
|
|
649
733
|
path: '/v1/games/:universeId/media',
|
|
650
734
|
baseUrl: 'https://games.roblox.com',
|
|
651
735
|
requestFormat: 'json',
|
|
736
|
+
serializationMethod: {
|
|
737
|
+
universeId: {
|
|
738
|
+
style: 'simple',
|
|
739
|
+
},
|
|
740
|
+
},
|
|
652
741
|
parameters: {
|
|
653
742
|
universeId: zod_1.z.number().int(),
|
|
654
743
|
},
|
|
@@ -656,12 +745,12 @@ exports.getGamesUniverseidMedia = {
|
|
|
656
745
|
errors: [
|
|
657
746
|
{
|
|
658
747
|
status: 400,
|
|
659
|
-
description:
|
|
748
|
+
description: `3: The universe's root place is invalid.`,
|
|
660
749
|
schema: zod_1.z.void(),
|
|
661
750
|
},
|
|
662
751
|
{
|
|
663
752
|
status: 404,
|
|
664
|
-
description:
|
|
753
|
+
description: `2: The requested universe does not exist.`,
|
|
665
754
|
schema: zod_1.z.void(),
|
|
666
755
|
},
|
|
667
756
|
],
|
|
@@ -676,6 +765,12 @@ exports.patchGamesUniverseidUserVotes = {
|
|
|
676
765
|
path: '/v1/games/:universeId/user-votes',
|
|
677
766
|
baseUrl: 'https://games.roblox.com',
|
|
678
767
|
requestFormat: 'json',
|
|
768
|
+
serializationMethod: {
|
|
769
|
+
body: {},
|
|
770
|
+
universeId: {
|
|
771
|
+
style: 'simple',
|
|
772
|
+
},
|
|
773
|
+
},
|
|
679
774
|
parameters: {
|
|
680
775
|
body: zod_1.z.object({ vote: zod_1.z.boolean() }),
|
|
681
776
|
universeId: zod_1.z.number().int(),
|
|
@@ -684,32 +779,37 @@ exports.patchGamesUniverseidUserVotes = {
|
|
|
684
779
|
errors: [
|
|
685
780
|
{
|
|
686
781
|
status: 400,
|
|
687
|
-
description:
|
|
782
|
+
description: `2: The universe's root place is invalid.
|
|
783
|
+
3: The asset is not voteable.
|
|
784
|
+
4: The requested vote is invalid.`,
|
|
688
785
|
schema: zod_1.z.void(),
|
|
689
786
|
},
|
|
690
787
|
{
|
|
691
788
|
status: 401,
|
|
692
|
-
description:
|
|
789
|
+
description: `0: Authorization has been denied for this request.`,
|
|
693
790
|
schema: zod_1.z.void(),
|
|
694
791
|
},
|
|
695
792
|
{
|
|
696
793
|
status: 403,
|
|
697
|
-
description:
|
|
794
|
+
description: `0: Token Validation Failed
|
|
795
|
+
6: The user needs to play the game before vote.
|
|
796
|
+
7: The user needs additional permission to vote.`,
|
|
698
797
|
schema: zod_1.z.void(),
|
|
699
798
|
},
|
|
700
799
|
{
|
|
701
800
|
status: 404,
|
|
702
|
-
description:
|
|
801
|
+
description: `1: The requested universe does not exist.`,
|
|
703
802
|
schema: zod_1.z.void(),
|
|
704
803
|
},
|
|
705
804
|
{
|
|
706
805
|
status: 429,
|
|
707
|
-
description:
|
|
806
|
+
description: `5: Too many attempts to vote. Please try again later.
|
|
807
|
+
10: Internal service busy. Please try again later.`,
|
|
708
808
|
schema: zod_1.z.void(),
|
|
709
809
|
},
|
|
710
810
|
{
|
|
711
811
|
status: 500,
|
|
712
|
-
description:
|
|
812
|
+
description: `0: An unknown error occurred.`,
|
|
713
813
|
schema: zod_1.z.void(),
|
|
714
814
|
},
|
|
715
815
|
],
|
|
@@ -723,6 +823,11 @@ exports.getGamesUniverseidVotes = {
|
|
|
723
823
|
path: '/v1/games/:universeId/votes',
|
|
724
824
|
baseUrl: 'https://games.roblox.com',
|
|
725
825
|
requestFormat: 'json',
|
|
826
|
+
serializationMethod: {
|
|
827
|
+
universeId: {
|
|
828
|
+
style: 'simple',
|
|
829
|
+
},
|
|
830
|
+
},
|
|
726
831
|
parameters: {
|
|
727
832
|
universeId: zod_1.z.number().int(),
|
|
728
833
|
},
|
|
@@ -730,22 +835,23 @@ exports.getGamesUniverseidVotes = {
|
|
|
730
835
|
errors: [
|
|
731
836
|
{
|
|
732
837
|
status: 400,
|
|
733
|
-
description:
|
|
838
|
+
description: `2: The universe's root place is invalid.
|
|
839
|
+
3: The asset is not voteable.`,
|
|
734
840
|
schema: zod_1.z.void(),
|
|
735
841
|
},
|
|
736
842
|
{
|
|
737
843
|
status: 404,
|
|
738
|
-
description:
|
|
844
|
+
description: `1: The requested universe does not exist.`,
|
|
739
845
|
schema: zod_1.z.void(),
|
|
740
846
|
},
|
|
741
847
|
{
|
|
742
848
|
status: 429,
|
|
743
|
-
description:
|
|
849
|
+
description: `10: Internal service busy. Please try again later.`,
|
|
744
850
|
schema: zod_1.z.void(),
|
|
745
851
|
},
|
|
746
852
|
{
|
|
747
853
|
status: 500,
|
|
748
|
-
description:
|
|
854
|
+
description: `0: An unknown error occurred.`,
|
|
749
855
|
schema: zod_1.z.void(),
|
|
750
856
|
},
|
|
751
857
|
],
|
|
@@ -759,6 +865,11 @@ exports.getGamesUniverseidVotesUser = {
|
|
|
759
865
|
path: '/v1/games/:universeId/votes/user',
|
|
760
866
|
baseUrl: 'https://games.roblox.com',
|
|
761
867
|
requestFormat: 'json',
|
|
868
|
+
serializationMethod: {
|
|
869
|
+
universeId: {
|
|
870
|
+
style: 'simple',
|
|
871
|
+
},
|
|
872
|
+
},
|
|
762
873
|
parameters: {
|
|
763
874
|
universeId: zod_1.z.number().int(),
|
|
764
875
|
},
|
|
@@ -766,27 +877,28 @@ exports.getGamesUniverseidVotesUser = {
|
|
|
766
877
|
errors: [
|
|
767
878
|
{
|
|
768
879
|
status: 400,
|
|
769
|
-
description:
|
|
880
|
+
description: `2: The universe's root place is invalid.
|
|
881
|
+
3: The asset is not voteable.`,
|
|
770
882
|
schema: zod_1.z.void(),
|
|
771
883
|
},
|
|
772
884
|
{
|
|
773
885
|
status: 401,
|
|
774
|
-
description:
|
|
886
|
+
description: `0: Authorization has been denied for this request.`,
|
|
775
887
|
schema: zod_1.z.void(),
|
|
776
888
|
},
|
|
777
889
|
{
|
|
778
890
|
status: 404,
|
|
779
|
-
description:
|
|
891
|
+
description: `1: The requested universe does not exist.`,
|
|
780
892
|
schema: zod_1.z.void(),
|
|
781
893
|
},
|
|
782
894
|
{
|
|
783
895
|
status: 429,
|
|
784
|
-
description:
|
|
896
|
+
description: `10: Internal service busy. Please try again later.`,
|
|
785
897
|
schema: zod_1.z.void(),
|
|
786
898
|
},
|
|
787
899
|
{
|
|
788
900
|
status: 500,
|
|
789
|
-
description:
|
|
901
|
+
description: `0: An unknown error occurred.`,
|
|
790
902
|
schema: zod_1.z.void(),
|
|
791
903
|
},
|
|
792
904
|
],
|
|
@@ -802,6 +914,20 @@ exports.getGamesGameThumbnail = {
|
|
|
802
914
|
path: '/v1/games/game-thumbnail',
|
|
803
915
|
baseUrl: 'https://games.roblox.com',
|
|
804
916
|
requestFormat: 'json',
|
|
917
|
+
serializationMethod: {
|
|
918
|
+
imageToken: {
|
|
919
|
+
style: 'form',
|
|
920
|
+
explode: true,
|
|
921
|
+
},
|
|
922
|
+
height: {
|
|
923
|
+
style: 'form',
|
|
924
|
+
explode: true,
|
|
925
|
+
},
|
|
926
|
+
width: {
|
|
927
|
+
style: 'form',
|
|
928
|
+
explode: true,
|
|
929
|
+
},
|
|
930
|
+
},
|
|
805
931
|
parameters: {
|
|
806
932
|
imageToken: zod_1.z.string(),
|
|
807
933
|
height: zod_1.z.number().int().optional().default(50),
|
|
@@ -811,7 +937,7 @@ exports.getGamesGameThumbnail = {
|
|
|
811
937
|
errors: [
|
|
812
938
|
{
|
|
813
939
|
status: 404,
|
|
814
|
-
description:
|
|
940
|
+
description: `10: This endpoint is deprecated`,
|
|
815
941
|
schema: zod_1.z.void(),
|
|
816
942
|
},
|
|
817
943
|
],
|
|
@@ -827,6 +953,20 @@ exports.getGamesGameThumbnails = {
|
|
|
827
953
|
path: '/v1/games/game-thumbnails',
|
|
828
954
|
baseUrl: 'https://games.roblox.com',
|
|
829
955
|
requestFormat: 'json',
|
|
956
|
+
serializationMethod: {
|
|
957
|
+
imageTokens: {
|
|
958
|
+
style: 'form',
|
|
959
|
+
explode: true,
|
|
960
|
+
},
|
|
961
|
+
height: {
|
|
962
|
+
style: 'form',
|
|
963
|
+
explode: true,
|
|
964
|
+
},
|
|
965
|
+
width: {
|
|
966
|
+
style: 'form',
|
|
967
|
+
explode: true,
|
|
968
|
+
},
|
|
969
|
+
},
|
|
830
970
|
parameters: {
|
|
831
971
|
imageTokens: zod_1.z.array(zod_1.z.string()),
|
|
832
972
|
height: zod_1.z.number().int().optional().default(50),
|
|
@@ -836,7 +976,7 @@ exports.getGamesGameThumbnails = {
|
|
|
836
976
|
errors: [
|
|
837
977
|
{
|
|
838
978
|
status: 404,
|
|
839
|
-
description:
|
|
979
|
+
description: `10: This endpoint is deprecated`,
|
|
840
980
|
schema: zod_1.z.void(),
|
|
841
981
|
},
|
|
842
982
|
],
|
|
@@ -850,6 +990,11 @@ exports.getGamesGamesProductInfo = {
|
|
|
850
990
|
path: '/v1/games/games-product-info',
|
|
851
991
|
baseUrl: 'https://games.roblox.com',
|
|
852
992
|
requestFormat: 'json',
|
|
993
|
+
serializationMethod: {
|
|
994
|
+
universeIds: {
|
|
995
|
+
style: 'form',
|
|
996
|
+
},
|
|
997
|
+
},
|
|
853
998
|
parameters: {
|
|
854
999
|
universeIds: zod_1.z.array(zod_1.z.number()),
|
|
855
1000
|
},
|
|
@@ -857,7 +1002,8 @@ exports.getGamesGamesProductInfo = {
|
|
|
857
1002
|
errors: [
|
|
858
1003
|
{
|
|
859
1004
|
status: 400,
|
|
860
|
-
description:
|
|
1005
|
+
description: `8: No universe IDs were specified.
|
|
1006
|
+
9: Too many universe IDs were requested.`,
|
|
861
1007
|
schema: zod_1.z.void(),
|
|
862
1008
|
},
|
|
863
1009
|
],
|
|
@@ -886,6 +1032,72 @@ exports.getGamesList = {
|
|
|
886
1032
|
path: '/v1/games/list',
|
|
887
1033
|
baseUrl: 'https://games.roblox.com',
|
|
888
1034
|
requestFormat: 'json',
|
|
1035
|
+
serializationMethod: {
|
|
1036
|
+
SortToken: {
|
|
1037
|
+
style: 'form',
|
|
1038
|
+
explode: true,
|
|
1039
|
+
},
|
|
1040
|
+
GameFilter: {
|
|
1041
|
+
style: 'form',
|
|
1042
|
+
explode: true,
|
|
1043
|
+
},
|
|
1044
|
+
TimeFilter: {
|
|
1045
|
+
style: 'form',
|
|
1046
|
+
explode: true,
|
|
1047
|
+
},
|
|
1048
|
+
GenreFilter: {
|
|
1049
|
+
style: 'form',
|
|
1050
|
+
explode: true,
|
|
1051
|
+
},
|
|
1052
|
+
ExclusiveStartId: {
|
|
1053
|
+
style: 'form',
|
|
1054
|
+
explode: true,
|
|
1055
|
+
},
|
|
1056
|
+
SortOrder: {
|
|
1057
|
+
style: 'form',
|
|
1058
|
+
explode: true,
|
|
1059
|
+
},
|
|
1060
|
+
GameSetTargetId: {
|
|
1061
|
+
style: 'form',
|
|
1062
|
+
explode: true,
|
|
1063
|
+
},
|
|
1064
|
+
Keyword: {
|
|
1065
|
+
style: 'form',
|
|
1066
|
+
explode: true,
|
|
1067
|
+
},
|
|
1068
|
+
StartRows: {
|
|
1069
|
+
style: 'form',
|
|
1070
|
+
explode: true,
|
|
1071
|
+
},
|
|
1072
|
+
MaxRows: {
|
|
1073
|
+
style: 'form',
|
|
1074
|
+
explode: true,
|
|
1075
|
+
},
|
|
1076
|
+
ContextCountryRegionId: {
|
|
1077
|
+
style: 'form',
|
|
1078
|
+
explode: true,
|
|
1079
|
+
},
|
|
1080
|
+
ContextUniverseId: {
|
|
1081
|
+
style: 'form',
|
|
1082
|
+
explode: true,
|
|
1083
|
+
},
|
|
1084
|
+
'PageContext.PageId': {
|
|
1085
|
+
style: 'form',
|
|
1086
|
+
explode: true,
|
|
1087
|
+
},
|
|
1088
|
+
'PageContext.IsSeeAllPage': {
|
|
1089
|
+
style: 'form',
|
|
1090
|
+
explode: true,
|
|
1091
|
+
},
|
|
1092
|
+
SortPosition: {
|
|
1093
|
+
style: 'form',
|
|
1094
|
+
explode: true,
|
|
1095
|
+
},
|
|
1096
|
+
SessionId: {
|
|
1097
|
+
style: 'form',
|
|
1098
|
+
explode: true,
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
889
1101
|
parameters: {
|
|
890
1102
|
SortToken: zod_1.z.string(),
|
|
891
1103
|
GameFilter: zod_1.z.string(),
|
|
@@ -908,7 +1120,7 @@ exports.getGamesList = {
|
|
|
908
1120
|
errors: [
|
|
909
1121
|
{
|
|
910
1122
|
status: 500,
|
|
911
|
-
description:
|
|
1123
|
+
description: `0: Compliance Context service is unavailable.`,
|
|
912
1124
|
schema: zod_1.z.void(),
|
|
913
1125
|
},
|
|
914
1126
|
],
|
|
@@ -925,7 +1137,7 @@ exports.getGamesListSpotlight = {
|
|
|
925
1137
|
errors: [
|
|
926
1138
|
{
|
|
927
1139
|
status: 500,
|
|
928
|
-
description:
|
|
1140
|
+
description: `0: Compliance Context service is unavailable.`,
|
|
929
1141
|
schema: zod_1.z.void(),
|
|
930
1142
|
},
|
|
931
1143
|
],
|
|
@@ -939,6 +1151,12 @@ exports.getGamesMultigetPlaceDetails = {
|
|
|
939
1151
|
path: '/v1/games/multiget-place-details',
|
|
940
1152
|
baseUrl: 'https://games.roblox.com',
|
|
941
1153
|
requestFormat: 'json',
|
|
1154
|
+
serializationMethod: {
|
|
1155
|
+
placeIds: {
|
|
1156
|
+
style: 'form',
|
|
1157
|
+
explode: true,
|
|
1158
|
+
},
|
|
1159
|
+
},
|
|
942
1160
|
parameters: {
|
|
943
1161
|
placeIds: zod_1.z.array(zod_1.z.number()),
|
|
944
1162
|
},
|
|
@@ -946,7 +1164,7 @@ exports.getGamesMultigetPlaceDetails = {
|
|
|
946
1164
|
errors: [
|
|
947
1165
|
{
|
|
948
1166
|
status: 401,
|
|
949
|
-
description:
|
|
1167
|
+
description: `0: Authorization has been denied for this request.`,
|
|
950
1168
|
schema: zod_1.z.void(),
|
|
951
1169
|
},
|
|
952
1170
|
],
|
|
@@ -960,6 +1178,11 @@ exports.getGamesMultigetPlayabilityStatus = {
|
|
|
960
1178
|
path: '/v1/games/multiget-playability-status',
|
|
961
1179
|
baseUrl: 'https://games.roblox.com',
|
|
962
1180
|
requestFormat: 'json',
|
|
1181
|
+
serializationMethod: {
|
|
1182
|
+
universeIds: {
|
|
1183
|
+
style: 'form',
|
|
1184
|
+
},
|
|
1185
|
+
},
|
|
963
1186
|
parameters: {
|
|
964
1187
|
universeIds: zod_1.z.array(zod_1.z.number()),
|
|
965
1188
|
},
|
|
@@ -967,7 +1190,8 @@ exports.getGamesMultigetPlayabilityStatus = {
|
|
|
967
1190
|
errors: [
|
|
968
1191
|
{
|
|
969
1192
|
status: 400,
|
|
970
|
-
description:
|
|
1193
|
+
description: `8: No universe IDs were specified.
|
|
1194
|
+
9: Too many universe IDs were requested.`,
|
|
971
1195
|
schema: zod_1.z.void(),
|
|
972
1196
|
},
|
|
973
1197
|
],
|
|
@@ -984,6 +1208,23 @@ exports.getGamesRecommendationsAlgorithmAlgorithmname = {
|
|
|
984
1208
|
path: '/v1/games/recommendations/algorithm/:algorithmName',
|
|
985
1209
|
baseUrl: 'https://games.roblox.com',
|
|
986
1210
|
requestFormat: 'json',
|
|
1211
|
+
serializationMethod: {
|
|
1212
|
+
algorithmName: {
|
|
1213
|
+
style: 'simple',
|
|
1214
|
+
},
|
|
1215
|
+
PaginationKey: {
|
|
1216
|
+
style: 'form',
|
|
1217
|
+
explode: true,
|
|
1218
|
+
},
|
|
1219
|
+
MaxRows: {
|
|
1220
|
+
style: 'form',
|
|
1221
|
+
explode: true,
|
|
1222
|
+
},
|
|
1223
|
+
IsTruncatedResultsEnabled: {
|
|
1224
|
+
style: 'form',
|
|
1225
|
+
explode: true,
|
|
1226
|
+
},
|
|
1227
|
+
},
|
|
987
1228
|
parameters: {
|
|
988
1229
|
algorithmName: zod_1.z.string(),
|
|
989
1230
|
PaginationKey: zod_1.z.string(),
|
|
@@ -994,12 +1235,12 @@ exports.getGamesRecommendationsAlgorithmAlgorithmname = {
|
|
|
994
1235
|
errors: [
|
|
995
1236
|
{
|
|
996
1237
|
status: 400,
|
|
997
|
-
description:
|
|
1238
|
+
description: `1: The pagination key is invalid.`,
|
|
998
1239
|
schema: zod_1.z.void(),
|
|
999
1240
|
},
|
|
1000
1241
|
{
|
|
1001
1242
|
status: 401,
|
|
1002
|
-
description:
|
|
1243
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1003
1244
|
schema: zod_1.z.void(),
|
|
1004
1245
|
},
|
|
1005
1246
|
],
|
|
@@ -1016,6 +1257,23 @@ exports.getGamesRecommendationsGameUniverseid = {
|
|
|
1016
1257
|
path: '/v1/games/recommendations/game/:universeId',
|
|
1017
1258
|
baseUrl: 'https://games.roblox.com',
|
|
1018
1259
|
requestFormat: 'json',
|
|
1260
|
+
serializationMethod: {
|
|
1261
|
+
universeId: {
|
|
1262
|
+
style: 'simple',
|
|
1263
|
+
},
|
|
1264
|
+
PaginationKey: {
|
|
1265
|
+
style: 'form',
|
|
1266
|
+
explode: true,
|
|
1267
|
+
},
|
|
1268
|
+
MaxRows: {
|
|
1269
|
+
style: 'form',
|
|
1270
|
+
explode: true,
|
|
1271
|
+
},
|
|
1272
|
+
IsTruncatedResultsEnabled: {
|
|
1273
|
+
style: 'form',
|
|
1274
|
+
explode: true,
|
|
1275
|
+
},
|
|
1276
|
+
},
|
|
1019
1277
|
parameters: {
|
|
1020
1278
|
universeId: zod_1.z.number().int(),
|
|
1021
1279
|
PaginationKey: zod_1.z.string(),
|
|
@@ -1026,12 +1284,12 @@ exports.getGamesRecommendationsGameUniverseid = {
|
|
|
1026
1284
|
errors: [
|
|
1027
1285
|
{
|
|
1028
1286
|
status: 400,
|
|
1029
|
-
description:
|
|
1287
|
+
description: `1: The pagination key is invalid.`,
|
|
1030
1288
|
schema: zod_1.z.void(),
|
|
1031
1289
|
},
|
|
1032
1290
|
{
|
|
1033
1291
|
status: 404,
|
|
1034
|
-
description:
|
|
1292
|
+
description: `2: The requested universe does not exist.`,
|
|
1035
1293
|
schema: zod_1.z.void(),
|
|
1036
1294
|
},
|
|
1037
1295
|
],
|
|
@@ -1045,6 +1303,12 @@ exports.getGamesSorts = {
|
|
|
1045
1303
|
path: '/v1/games/sorts',
|
|
1046
1304
|
baseUrl: 'https://games.roblox.com',
|
|
1047
1305
|
requestFormat: 'json',
|
|
1306
|
+
serializationMethod: {
|
|
1307
|
+
GameSortsContext: {
|
|
1308
|
+
style: 'form',
|
|
1309
|
+
explode: true,
|
|
1310
|
+
},
|
|
1311
|
+
},
|
|
1048
1312
|
parameters: {
|
|
1049
1313
|
GameSortsContext: zod_1.z.union([
|
|
1050
1314
|
zod_1.z.literal(0),
|
|
@@ -1069,6 +1333,12 @@ exports.postGamesVipServersUniverseid = {
|
|
|
1069
1333
|
path: '/v1/games/vip-servers/:universeId',
|
|
1070
1334
|
baseUrl: 'https://games.roblox.com',
|
|
1071
1335
|
requestFormat: 'json',
|
|
1336
|
+
serializationMethod: {
|
|
1337
|
+
body: {},
|
|
1338
|
+
universeId: {
|
|
1339
|
+
style: 'simple',
|
|
1340
|
+
},
|
|
1341
|
+
},
|
|
1072
1342
|
parameters: {
|
|
1073
1343
|
body: Roblox_Games_Api_CreateVipServersRequest,
|
|
1074
1344
|
universeId: zod_1.z.number().int(),
|
|
@@ -1077,27 +1347,27 @@ exports.postGamesVipServersUniverseid = {
|
|
|
1077
1347
|
errors: [
|
|
1078
1348
|
{
|
|
1079
1349
|
status: 400,
|
|
1080
|
-
description:
|
|
1350
|
+
description: `15: The price for purchasing this private server has changed. Please refresh the page and try again.`,
|
|
1081
1351
|
schema: zod_1.z.void(),
|
|
1082
1352
|
},
|
|
1083
1353
|
{
|
|
1084
1354
|
status: 401,
|
|
1085
|
-
description:
|
|
1355
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1086
1356
|
schema: zod_1.z.void(),
|
|
1087
1357
|
},
|
|
1088
1358
|
{
|
|
1089
1359
|
status: 403,
|
|
1090
|
-
description:
|
|
1360
|
+
description: `0: Token Validation Failed`,
|
|
1091
1361
|
schema: zod_1.z.void(),
|
|
1092
1362
|
},
|
|
1093
1363
|
{
|
|
1094
1364
|
status: 404,
|
|
1095
|
-
description:
|
|
1365
|
+
description: `4: The universe does not exist.`,
|
|
1096
1366
|
schema: zod_1.z.void(),
|
|
1097
1367
|
},
|
|
1098
1368
|
{
|
|
1099
1369
|
status: 500,
|
|
1100
|
-
description:
|
|
1370
|
+
description: `16: We are having a problem completing your purchase. Please try again in a few minutes.`,
|
|
1101
1371
|
schema: zod_1.z.void(),
|
|
1102
1372
|
},
|
|
1103
1373
|
],
|
|
@@ -1111,6 +1381,11 @@ exports.getGamesVotes = {
|
|
|
1111
1381
|
path: '/v1/games/votes',
|
|
1112
1382
|
baseUrl: 'https://games.roblox.com',
|
|
1113
1383
|
requestFormat: 'json',
|
|
1384
|
+
serializationMethod: {
|
|
1385
|
+
universeIds: {
|
|
1386
|
+
style: 'form',
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1114
1389
|
parameters: {
|
|
1115
1390
|
universeIds: zod_1.z.array(zod_1.z.number()),
|
|
1116
1391
|
},
|
|
@@ -1118,17 +1393,19 @@ exports.getGamesVotes = {
|
|
|
1118
1393
|
errors: [
|
|
1119
1394
|
{
|
|
1120
1395
|
status: 400,
|
|
1121
|
-
description:
|
|
1396
|
+
description: `3: The asset is not voteable.
|
|
1397
|
+
8: No universe IDs were specified.
|
|
1398
|
+
9: Too many universe IDs were requested.`,
|
|
1122
1399
|
schema: zod_1.z.void(),
|
|
1123
1400
|
},
|
|
1124
1401
|
{
|
|
1125
1402
|
status: 429,
|
|
1126
|
-
description:
|
|
1403
|
+
description: `10: Internal service busy. Please try again later.`,
|
|
1127
1404
|
schema: zod_1.z.void(),
|
|
1128
1405
|
},
|
|
1129
1406
|
{
|
|
1130
1407
|
status: 500,
|
|
1131
|
-
description:
|
|
1408
|
+
description: `0: An unknown error occurred.`,
|
|
1132
1409
|
schema: zod_1.z.void(),
|
|
1133
1410
|
},
|
|
1134
1411
|
],
|
|
@@ -1142,6 +1419,11 @@ exports.getPrivateServers = {
|
|
|
1142
1419
|
path: '/v1/private-servers',
|
|
1143
1420
|
baseUrl: 'https://games.roblox.com',
|
|
1144
1421
|
requestFormat: 'json',
|
|
1422
|
+
serializationMethod: {
|
|
1423
|
+
privateServerIds: {
|
|
1424
|
+
style: 'form',
|
|
1425
|
+
},
|
|
1426
|
+
},
|
|
1145
1427
|
parameters: {
|
|
1146
1428
|
privateServerIds: zod_1.z.array(zod_1.z.number()),
|
|
1147
1429
|
},
|
|
@@ -1149,22 +1431,25 @@ exports.getPrivateServers = {
|
|
|
1149
1431
|
errors: [
|
|
1150
1432
|
{
|
|
1151
1433
|
status: 400,
|
|
1152
|
-
description:
|
|
1434
|
+
description: `8: The creator of this game has disabled private servers for this game.
|
|
1435
|
+
34: Invalid request, private server ids cannot be null.
|
|
1436
|
+
35: Guest users are not allowed.`,
|
|
1153
1437
|
schema: zod_1.z.void(),
|
|
1154
1438
|
},
|
|
1155
1439
|
{
|
|
1156
1440
|
status: 401,
|
|
1157
|
-
description:
|
|
1441
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1158
1442
|
schema: zod_1.z.void(),
|
|
1159
1443
|
},
|
|
1160
1444
|
{
|
|
1161
1445
|
status: 403,
|
|
1162
|
-
description:
|
|
1446
|
+
description: `2: You are not the owner of this private server.`,
|
|
1163
1447
|
schema: zod_1.z.void(),
|
|
1164
1448
|
},
|
|
1165
1449
|
{
|
|
1166
1450
|
status: 404,
|
|
1167
|
-
description:
|
|
1451
|
+
description: `1: The private server is invalid or does not exist.
|
|
1452
|
+
4: The universe does not exist.`,
|
|
1168
1453
|
schema: zod_1.z.void(),
|
|
1169
1454
|
},
|
|
1170
1455
|
],
|
|
@@ -1178,6 +1463,11 @@ exports.getPrivateServersEnabledInUniverseUniverseid = {
|
|
|
1178
1463
|
path: '/v1/private-servers/enabled-in-universe/:universeId',
|
|
1179
1464
|
baseUrl: 'https://games.roblox.com',
|
|
1180
1465
|
requestFormat: 'json',
|
|
1466
|
+
serializationMethod: {
|
|
1467
|
+
universeId: {
|
|
1468
|
+
style: 'simple',
|
|
1469
|
+
},
|
|
1470
|
+
},
|
|
1181
1471
|
parameters: {
|
|
1182
1472
|
universeId: zod_1.z.number().int(),
|
|
1183
1473
|
},
|
|
@@ -1185,7 +1475,7 @@ exports.getPrivateServersEnabledInUniverseUniverseid = {
|
|
|
1185
1475
|
errors: [
|
|
1186
1476
|
{
|
|
1187
1477
|
status: 400,
|
|
1188
|
-
description:
|
|
1478
|
+
description: `8: No universe IDs were specified.`,
|
|
1189
1479
|
schema: zod_1.z.void(),
|
|
1190
1480
|
},
|
|
1191
1481
|
],
|
|
@@ -1199,6 +1489,11 @@ exports.getVipServerCanInviteUserid = {
|
|
|
1199
1489
|
path: '/v1/vip-server/can-invite/:userId',
|
|
1200
1490
|
baseUrl: 'https://games.roblox.com',
|
|
1201
1491
|
requestFormat: 'json',
|
|
1492
|
+
serializationMethod: {
|
|
1493
|
+
userId: {
|
|
1494
|
+
style: 'simple',
|
|
1495
|
+
},
|
|
1496
|
+
},
|
|
1202
1497
|
parameters: {
|
|
1203
1498
|
userId: zod_1.z.number().int(),
|
|
1204
1499
|
},
|
|
@@ -1206,12 +1501,12 @@ exports.getVipServerCanInviteUserid = {
|
|
|
1206
1501
|
errors: [
|
|
1207
1502
|
{
|
|
1208
1503
|
status: 401,
|
|
1209
|
-
description:
|
|
1504
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1210
1505
|
schema: zod_1.z.void(),
|
|
1211
1506
|
},
|
|
1212
1507
|
{
|
|
1213
1508
|
status: 404,
|
|
1214
|
-
description:
|
|
1509
|
+
description: `19: The user is does not exist.`,
|
|
1215
1510
|
schema: zod_1.z.void(),
|
|
1216
1511
|
},
|
|
1217
1512
|
],
|
|
@@ -1225,6 +1520,11 @@ exports.getVipServersId = {
|
|
|
1225
1520
|
path: '/v1/vip-servers/:id',
|
|
1226
1521
|
baseUrl: 'https://games.roblox.com',
|
|
1227
1522
|
requestFormat: 'json',
|
|
1523
|
+
serializationMethod: {
|
|
1524
|
+
id: {
|
|
1525
|
+
style: 'simple',
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1228
1528
|
parameters: {
|
|
1229
1529
|
id: zod_1.z.number().int(),
|
|
1230
1530
|
},
|
|
@@ -1232,22 +1532,23 @@ exports.getVipServersId = {
|
|
|
1232
1532
|
errors: [
|
|
1233
1533
|
{
|
|
1234
1534
|
status: 400,
|
|
1235
|
-
description:
|
|
1535
|
+
description: `8: The creator of this game has disabled private servers for this game.`,
|
|
1236
1536
|
schema: zod_1.z.void(),
|
|
1237
1537
|
},
|
|
1238
1538
|
{
|
|
1239
1539
|
status: 401,
|
|
1240
|
-
description:
|
|
1540
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1241
1541
|
schema: zod_1.z.void(),
|
|
1242
1542
|
},
|
|
1243
1543
|
{
|
|
1244
1544
|
status: 403,
|
|
1245
|
-
description:
|
|
1545
|
+
description: `2: You are not the owner of this private server.`,
|
|
1246
1546
|
schema: zod_1.z.void(),
|
|
1247
1547
|
},
|
|
1248
1548
|
{
|
|
1249
1549
|
status: 404,
|
|
1250
|
-
description:
|
|
1550
|
+
description: `1: The private server is invalid or does not exist.
|
|
1551
|
+
4: The universe does not exist.`,
|
|
1251
1552
|
schema: zod_1.z.void(),
|
|
1252
1553
|
},
|
|
1253
1554
|
],
|
|
@@ -1262,6 +1563,12 @@ exports.patchVipServersId = {
|
|
|
1262
1563
|
path: '/v1/vip-servers/:id',
|
|
1263
1564
|
baseUrl: 'https://games.roblox.com',
|
|
1264
1565
|
requestFormat: 'json',
|
|
1566
|
+
serializationMethod: {
|
|
1567
|
+
body: {},
|
|
1568
|
+
id: {
|
|
1569
|
+
style: 'simple',
|
|
1570
|
+
},
|
|
1571
|
+
},
|
|
1265
1572
|
parameters: {
|
|
1266
1573
|
body: Roblox_Games_Api_VipServerUpdateRequest,
|
|
1267
1574
|
id: zod_1.z.number().int(),
|
|
@@ -1270,27 +1577,33 @@ exports.patchVipServersId = {
|
|
|
1270
1577
|
errors: [
|
|
1271
1578
|
{
|
|
1272
1579
|
status: 400,
|
|
1273
|
-
description:
|
|
1580
|
+
description: `8: The creator of this game has disabled private servers for this game.
|
|
1581
|
+
10: The name of the private server is either empty or too long.`,
|
|
1274
1582
|
schema: zod_1.z.void(),
|
|
1275
1583
|
},
|
|
1276
1584
|
{
|
|
1277
1585
|
status: 401,
|
|
1278
|
-
description:
|
|
1586
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1279
1587
|
schema: zod_1.z.void(),
|
|
1280
1588
|
},
|
|
1281
1589
|
{
|
|
1282
1590
|
status: 403,
|
|
1283
|
-
description:
|
|
1591
|
+
description: `0: Token Validation Failed
|
|
1592
|
+
2: You are not the owner of this private server.
|
|
1593
|
+
11: You cannot activate a cancelled private server.
|
|
1594
|
+
12: The game must not be Friends Only to allow private servers.
|
|
1595
|
+
13: Join Link can be generated only for active private servers.`,
|
|
1284
1596
|
schema: zod_1.z.void(),
|
|
1285
1597
|
},
|
|
1286
1598
|
{
|
|
1287
1599
|
status: 404,
|
|
1288
|
-
description:
|
|
1600
|
+
description: `1: The private server is invalid or does not exist.
|
|
1601
|
+
4: The universe does not exist.`,
|
|
1289
1602
|
schema: zod_1.z.void(),
|
|
1290
1603
|
},
|
|
1291
1604
|
{
|
|
1292
1605
|
status: 429,
|
|
1293
|
-
description:
|
|
1606
|
+
description: `3: Please wait a few minutes before configuring your private server again.`,
|
|
1294
1607
|
schema: zod_1.z.void(),
|
|
1295
1608
|
},
|
|
1296
1609
|
],
|
|
@@ -1305,6 +1618,12 @@ exports.patchVipServersIdPermissions = {
|
|
|
1305
1618
|
path: '/v1/vip-servers/:id/permissions',
|
|
1306
1619
|
baseUrl: 'https://games.roblox.com',
|
|
1307
1620
|
requestFormat: 'json',
|
|
1621
|
+
serializationMethod: {
|
|
1622
|
+
body: {},
|
|
1623
|
+
id: {
|
|
1624
|
+
style: 'simple',
|
|
1625
|
+
},
|
|
1626
|
+
},
|
|
1308
1627
|
parameters: {
|
|
1309
1628
|
body: Roblox_Games_Api_VipServerUpdatePermissionsRequest,
|
|
1310
1629
|
id: zod_1.z.number().int(),
|
|
@@ -1313,22 +1632,28 @@ exports.patchVipServersIdPermissions = {
|
|
|
1313
1632
|
errors: [
|
|
1314
1633
|
{
|
|
1315
1634
|
status: 400,
|
|
1316
|
-
description:
|
|
1635
|
+
description: `6: You cannot add so many players to the private server's invite list.
|
|
1636
|
+
8: The creator of this game has disabled private servers for this game.
|
|
1637
|
+
12: The game must not be Friends Only to allow private servers.
|
|
1638
|
+
28: You may only add or remove valid players to your private server's invite list.
|
|
1639
|
+
29: You may only add or remove players when your private server is active.`,
|
|
1317
1640
|
schema: zod_1.z.void(),
|
|
1318
1641
|
},
|
|
1319
1642
|
{
|
|
1320
1643
|
status: 401,
|
|
1321
|
-
description:
|
|
1644
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1322
1645
|
schema: zod_1.z.void(),
|
|
1323
1646
|
},
|
|
1324
1647
|
{
|
|
1325
1648
|
status: 403,
|
|
1326
|
-
description:
|
|
1649
|
+
description: `0: Token Validation Failed
|
|
1650
|
+
2: You are not the owner of this private server.`,
|
|
1327
1651
|
schema: zod_1.z.void(),
|
|
1328
1652
|
},
|
|
1329
1653
|
{
|
|
1330
1654
|
status: 404,
|
|
1331
|
-
description:
|
|
1655
|
+
description: `1: The private server is invalid or does not exist.
|
|
1656
|
+
4: The universe does not exist.`,
|
|
1332
1657
|
schema: zod_1.z.void(),
|
|
1333
1658
|
},
|
|
1334
1659
|
],
|
|
@@ -1343,6 +1668,12 @@ exports.patchVipServersIdSubscription = {
|
|
|
1343
1668
|
path: '/v1/vip-servers/:id/subscription',
|
|
1344
1669
|
baseUrl: 'https://games.roblox.com',
|
|
1345
1670
|
requestFormat: 'json',
|
|
1671
|
+
serializationMethod: {
|
|
1672
|
+
body: {},
|
|
1673
|
+
id: {
|
|
1674
|
+
style: 'simple',
|
|
1675
|
+
},
|
|
1676
|
+
},
|
|
1346
1677
|
parameters: {
|
|
1347
1678
|
body: Roblox_Games_Api_VipServerUpdateSubscriptionRequest,
|
|
1348
1679
|
id: zod_1.z.number().int(),
|
|
@@ -1351,27 +1682,31 @@ exports.patchVipServersIdSubscription = {
|
|
|
1351
1682
|
errors: [
|
|
1352
1683
|
{
|
|
1353
1684
|
status: 400,
|
|
1354
|
-
description:
|
|
1685
|
+
description: `8: The creator of this game has disabled private servers for this game.
|
|
1686
|
+
32: You do not have enough funds available to renew the subscription for this private server.`,
|
|
1355
1687
|
schema: zod_1.z.void(),
|
|
1356
1688
|
},
|
|
1357
1689
|
{
|
|
1358
1690
|
status: 401,
|
|
1359
|
-
description:
|
|
1691
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1360
1692
|
schema: zod_1.z.void(),
|
|
1361
1693
|
},
|
|
1362
1694
|
{
|
|
1363
1695
|
status: 403,
|
|
1364
|
-
description:
|
|
1696
|
+
description: `0: Token Validation Failed
|
|
1697
|
+
2: You are not the owner of this private server.
|
|
1698
|
+
21: You may not configure a cancelled private server. Please renew your subscription before configuring.`,
|
|
1365
1699
|
schema: zod_1.z.void(),
|
|
1366
1700
|
},
|
|
1367
1701
|
{
|
|
1368
1702
|
status: 404,
|
|
1369
|
-
description:
|
|
1703
|
+
description: `1: The private server is invalid or does not exist.
|
|
1704
|
+
4: The universe does not exist.`,
|
|
1370
1705
|
schema: zod_1.z.void(),
|
|
1371
1706
|
},
|
|
1372
1707
|
{
|
|
1373
1708
|
status: 429,
|
|
1374
|
-
description:
|
|
1709
|
+
description: `3: Please wait a few minutes before configuring your private server again.`,
|
|
1375
1710
|
schema: zod_1.z.void(),
|
|
1376
1711
|
},
|
|
1377
1712
|
],
|
|
@@ -1386,6 +1721,12 @@ exports.patchVipServersIdVoicesettings = {
|
|
|
1386
1721
|
path: '/v1/vip-servers/:id/voicesettings',
|
|
1387
1722
|
baseUrl: 'https://games.roblox.com',
|
|
1388
1723
|
requestFormat: 'json',
|
|
1724
|
+
serializationMethod: {
|
|
1725
|
+
body: {},
|
|
1726
|
+
id: {
|
|
1727
|
+
style: 'simple',
|
|
1728
|
+
},
|
|
1729
|
+
},
|
|
1389
1730
|
parameters: {
|
|
1390
1731
|
body: zod_1.z.object({ enabled: zod_1.z.boolean() }),
|
|
1391
1732
|
id: zod_1.z.number().int(),
|
|
@@ -1394,22 +1735,24 @@ exports.patchVipServersIdVoicesettings = {
|
|
|
1394
1735
|
errors: [
|
|
1395
1736
|
{
|
|
1396
1737
|
status: 400,
|
|
1397
|
-
description:
|
|
1738
|
+
description: `8: The creator of this game has disabled private servers for this game.`,
|
|
1398
1739
|
schema: zod_1.z.void(),
|
|
1399
1740
|
},
|
|
1400
1741
|
{
|
|
1401
1742
|
status: 401,
|
|
1402
|
-
description:
|
|
1743
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1403
1744
|
schema: zod_1.z.void(),
|
|
1404
1745
|
},
|
|
1405
1746
|
{
|
|
1406
1747
|
status: 403,
|
|
1407
|
-
description:
|
|
1748
|
+
description: `0: Token Validation Failed
|
|
1749
|
+
2: You are not the owner of this private server.
|
|
1750
|
+
33: You are not eligible for voice chat.`,
|
|
1408
1751
|
schema: zod_1.z.void(),
|
|
1409
1752
|
},
|
|
1410
1753
|
{
|
|
1411
1754
|
status: 404,
|
|
1412
|
-
description:
|
|
1755
|
+
description: `1: The private server is invalid or does not exist.`,
|
|
1413
1756
|
schema: zod_1.z.void(),
|
|
1414
1757
|
},
|
|
1415
1758
|
],
|