rozod 6.8.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +56 -1
- package/lib/index.js +159 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Api_Develop_Models_Response_AssetVotingModel = z.object({
|
|
5
5
|
assetId: z.number().int(),
|
|
@@ -10,10 +10,9 @@ const Roblox_Api_Develop_Models_Response_AssetVotingModel = z.object({
|
|
|
10
10
|
downVotes: z.number().int(),
|
|
11
11
|
reasonForNotAbleToVote: z.string(),
|
|
12
12
|
});
|
|
13
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_Response_AssetVotingModel_ =
|
|
14
|
-
z.
|
|
15
|
-
|
|
16
|
-
});
|
|
13
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_Response_AssetVotingModel_ = z.object({
|
|
14
|
+
data: z.array(Roblox_Api_Develop_Models_Response_AssetVotingModel),
|
|
15
|
+
});
|
|
17
16
|
const Roblox_Api_Develop_Models_UniverseModel = z.object({
|
|
18
17
|
id: z.number().int(),
|
|
19
18
|
name: z.string(),
|
|
@@ -27,36 +26,29 @@ const Roblox_Api_Develop_Models_UniverseModel = z.object({
|
|
|
27
26
|
creatorName: z.string(),
|
|
28
27
|
created: z.string().datetime({ offset: true }),
|
|
29
28
|
updated: z.string().datetime({ offset: true }),
|
|
30
|
-
audiences: z.array(
|
|
31
|
-
z.union([
|
|
32
|
-
z.literal(0),
|
|
33
|
-
z.literal(1),
|
|
34
|
-
z.literal(2),
|
|
35
|
-
z.literal(3),
|
|
36
|
-
z.literal(4),
|
|
37
|
-
])
|
|
38
|
-
),
|
|
29
|
+
audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
|
|
39
30
|
});
|
|
40
31
|
const Roblox_Api_Develop_Models_GameTemplateModel = z.object({
|
|
41
32
|
gameTemplateType: z.string(),
|
|
42
33
|
hasTutorials: z.boolean(),
|
|
43
34
|
universe: Roblox_Api_Develop_Models_UniverseModel,
|
|
44
35
|
});
|
|
45
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GameTemplateModel_ =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
36
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GameTemplateModel_ = z.object({
|
|
37
|
+
data: z.array(Roblox_Api_Develop_Models_GameTemplateModel),
|
|
38
|
+
});
|
|
39
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_UniverseModel_ = z.object({
|
|
40
|
+
previousPageCursor: z.string(),
|
|
41
|
+
nextPageCursor: z.string(),
|
|
42
|
+
data: z.array(Roblox_Api_Develop_Models_UniverseModel),
|
|
43
|
+
});
|
|
53
44
|
const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
|
|
54
45
|
id: z.number().int(),
|
|
55
46
|
name: z.string(),
|
|
56
47
|
displayName: z.string(),
|
|
57
48
|
});
|
|
58
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Users_SkinnyUserResponse_ =
|
|
59
|
-
|
|
49
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Users_SkinnyUserResponse_ = z.object({
|
|
50
|
+
data: z.array(Roblox_Web_Responses_Users_SkinnyUserResponse),
|
|
51
|
+
});
|
|
60
52
|
const Roblox_Web_Responses_Plugins_PluginResponse = z.object({
|
|
61
53
|
id: z.number().int(),
|
|
62
54
|
name: z.string(),
|
|
@@ -66,8 +58,9 @@ const Roblox_Web_Responses_Plugins_PluginResponse = z.object({
|
|
|
66
58
|
created: z.string().datetime({ offset: true }),
|
|
67
59
|
updated: z.string().datetime({ offset: true }),
|
|
68
60
|
});
|
|
69
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Plugins_PluginResponse_ =
|
|
70
|
-
|
|
61
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Plugins_PluginResponse_ = z.object({
|
|
62
|
+
data: z.array(Roblox_Web_Responses_Plugins_PluginResponse),
|
|
63
|
+
});
|
|
71
64
|
const Roblox_Api_Develop_Models_ActivationEligibilityResponse = z.object({
|
|
72
65
|
isEligible: z.boolean(),
|
|
73
66
|
maturityRated: z.boolean(),
|
|
@@ -76,16 +69,8 @@ const Roblox_Api_Develop_Models_ActivationEligibilityResponse = z.object({
|
|
|
76
69
|
isPublicPublish: z.boolean(),
|
|
77
70
|
isPublishToExistingUniverse: z.boolean(),
|
|
78
71
|
isUniverseSelect: z.boolean(),
|
|
79
|
-
creatorTier: z.enum([
|
|
80
|
-
allowedAudiences: z.array(
|
|
81
|
-
z.union([
|
|
82
|
-
z.literal(0),
|
|
83
|
-
z.literal(1),
|
|
84
|
-
z.literal(2),
|
|
85
|
-
z.literal(3),
|
|
86
|
-
z.literal(4),
|
|
87
|
-
])
|
|
88
|
-
),
|
|
72
|
+
creatorTier: z.enum(['Invalid', 'Blocked', 'Private', 'Trusted', 'Everyone']),
|
|
73
|
+
allowedAudiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
|
|
89
74
|
});
|
|
90
75
|
const Roblox_Api_Develop_Models_UniverseSettingsResponse = z.object({
|
|
91
76
|
allowPrivateServers: z.boolean(),
|
|
@@ -94,40 +79,33 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponse = z.object({
|
|
|
94
79
|
isRewardedOnDemandAdsAllowed: z.boolean(),
|
|
95
80
|
id: z.number().int(),
|
|
96
81
|
name: z.string(),
|
|
97
|
-
universeAvatarType: z.enum([
|
|
98
|
-
universeScaleType: z.enum([
|
|
99
|
-
universeAnimationType: z.enum([
|
|
100
|
-
universeCollisionType: z.enum([
|
|
101
|
-
universeBodyType: z.enum([
|
|
102
|
-
universeJointPositioningType: z.enum([
|
|
82
|
+
universeAvatarType: z.enum(['MorphToR6', 'PlayerChoice', 'MorphToR15']),
|
|
83
|
+
universeScaleType: z.enum(['NoScales', 'AllScales']),
|
|
84
|
+
universeAnimationType: z.enum(['Standard', 'PlayerChoice']),
|
|
85
|
+
universeCollisionType: z.enum(['InnerBox', 'OuterBox']),
|
|
86
|
+
universeBodyType: z.enum(['Standard', 'PlayerChoice']),
|
|
87
|
+
universeJointPositioningType: z.enum(['Standard', 'ArtistIntent']),
|
|
103
88
|
isArchived: z.boolean(),
|
|
104
89
|
isFriendsOnly: z.boolean(),
|
|
105
90
|
genre: z.enum([
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
91
|
+
'All',
|
|
92
|
+
'Tutorial',
|
|
93
|
+
'Scary',
|
|
94
|
+
'TownAndCity',
|
|
95
|
+
'War',
|
|
96
|
+
'Funny',
|
|
97
|
+
'Fantasy',
|
|
98
|
+
'Adventure',
|
|
99
|
+
'SciFi',
|
|
100
|
+
'Pirate',
|
|
101
|
+
'FPS',
|
|
102
|
+
'RPG',
|
|
103
|
+
'Sports',
|
|
104
|
+
'Ninja',
|
|
105
|
+
'WildWest',
|
|
121
106
|
]),
|
|
122
107
|
playableDevices: z.array(
|
|
123
|
-
z.union([
|
|
124
|
-
z.literal(1),
|
|
125
|
-
z.literal(2),
|
|
126
|
-
z.literal(3),
|
|
127
|
-
z.literal(4),
|
|
128
|
-
z.literal(5),
|
|
129
|
-
z.literal(6),
|
|
130
|
-
])
|
|
108
|
+
z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
131
109
|
),
|
|
132
110
|
isForSale: z.boolean(),
|
|
133
111
|
price: z.number().int(),
|
|
@@ -135,22 +113,8 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponse = z.object({
|
|
|
135
113
|
privacyType: z.string(),
|
|
136
114
|
isForSaleInFiat: z.boolean(),
|
|
137
115
|
fiatBasePriceId: z.string(),
|
|
138
|
-
fiatModerationStatus: z.enum([
|
|
139
|
-
|
|
140
|
-
"NotModerated",
|
|
141
|
-
"Pending",
|
|
142
|
-
"Approved",
|
|
143
|
-
"Rejected",
|
|
144
|
-
]),
|
|
145
|
-
audiences: z.array(
|
|
146
|
-
z.union([
|
|
147
|
-
z.literal(0),
|
|
148
|
-
z.literal(1),
|
|
149
|
-
z.literal(2),
|
|
150
|
-
z.literal(3),
|
|
151
|
-
z.literal(4),
|
|
152
|
-
])
|
|
153
|
-
),
|
|
116
|
+
fiatModerationStatus: z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
117
|
+
audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
|
|
154
118
|
demoModeEnabled: z.boolean(),
|
|
155
119
|
demoModeLastChangedTime: z.string().datetime({ offset: true }),
|
|
156
120
|
});
|
|
@@ -182,26 +146,14 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequest = z.object({
|
|
|
182
146
|
z.literal(14),
|
|
183
147
|
]),
|
|
184
148
|
playableDevices: z.array(
|
|
185
|
-
z.union([
|
|
186
|
-
z.literal(1),
|
|
187
|
-
z.literal(2),
|
|
188
|
-
z.literal(3),
|
|
189
|
-
z.literal(4),
|
|
190
|
-
z.literal(5),
|
|
191
|
-
z.literal(6),
|
|
192
|
-
])
|
|
149
|
+
z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
193
150
|
),
|
|
194
151
|
isForSale: z.boolean(),
|
|
195
152
|
price: z.number().int(),
|
|
196
153
|
isMeshTextureApiAccessAllowed: z.boolean(),
|
|
197
154
|
isRewardedOnDemandAdsAllowed: z.boolean(),
|
|
198
155
|
fiatBasePriceId: z.string(),
|
|
199
|
-
fiatProductChangeType: z.union([
|
|
200
|
-
z.literal(0),
|
|
201
|
-
z.literal(1),
|
|
202
|
-
z.literal(2),
|
|
203
|
-
z.literal(3),
|
|
204
|
-
]),
|
|
156
|
+
fiatProductChangeType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
205
157
|
demoModeEnabled: z.boolean(),
|
|
206
158
|
});
|
|
207
159
|
const Roblox_Api_Develop_Models_PrivateServerDetailsResponse = z.object({
|
|
@@ -215,12 +167,11 @@ const Roblox_Api_Develop_Models_UniversePermissionsModel = z.object({
|
|
|
215
167
|
canCloudEdit: z.boolean(),
|
|
216
168
|
});
|
|
217
169
|
const Roblox_Api_Develop_Models_IPlaceModel = z.object({});
|
|
218
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_IPlaceModel_ =
|
|
219
|
-
z.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
});
|
|
170
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_IPlaceModel_ = z.object({
|
|
171
|
+
previousPageCursor: z.string(),
|
|
172
|
+
nextPageCursor: z.string(),
|
|
173
|
+
data: z.array(Roblox_Api_Develop_Models_IPlaceModel),
|
|
174
|
+
});
|
|
224
175
|
const Roblox_Api_Develop_Models_Response_TeamCreateSettingsResponse = z.object({
|
|
225
176
|
isEnabled: z.boolean(),
|
|
226
177
|
});
|
|
@@ -228,39 +179,37 @@ const Roblox_Api_Develop_Models_UpdateTeamCreateSettingsRequest = z.object({
|
|
|
228
179
|
isEnabled: z.boolean(),
|
|
229
180
|
});
|
|
230
181
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
231
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseModel_ =
|
|
232
|
-
|
|
182
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseModel_ = z.object({
|
|
183
|
+
data: z.array(Roblox_Api_Develop_Models_UniverseModel),
|
|
184
|
+
});
|
|
233
185
|
const Roblox_Api_Develop_Models_UniverseIdPermissionsModel = z.object({
|
|
234
186
|
universeId: z.number().int(),
|
|
235
187
|
canManage: z.boolean(),
|
|
236
188
|
canCloudEdit: z.boolean(),
|
|
237
189
|
});
|
|
238
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseIdPermissionsModel_ =
|
|
239
|
-
z.
|
|
240
|
-
|
|
241
|
-
});
|
|
190
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseIdPermissionsModel_ = z.object({
|
|
191
|
+
data: z.array(Roblox_Api_Develop_Models_UniverseIdPermissionsModel),
|
|
192
|
+
});
|
|
242
193
|
const Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel = z.object({
|
|
243
194
|
id: z.number().int(),
|
|
244
195
|
isEnabled: z.boolean(),
|
|
245
196
|
});
|
|
246
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel_ =
|
|
247
|
-
z.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
hasDevex: z.enum(["Incomplete", "NotRequired", "Completed"]),
|
|
256
|
-
}
|
|
257
|
-
);
|
|
197
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel_ = z.object({
|
|
198
|
+
data: z.array(Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel),
|
|
199
|
+
});
|
|
200
|
+
const Roblox_Api_Develop_Models_UserPublicPublishEligibilityResponse = z.object({
|
|
201
|
+
isEligible: z.boolean(),
|
|
202
|
+
hasTransactions: z.enum(['Incomplete', 'NotRequired', 'Completed']),
|
|
203
|
+
idVerified: z.enum(['Incomplete', 'NotRequired', 'Completed']),
|
|
204
|
+
hasDevex: z.enum(['Incomplete', 'NotRequired', 'Completed']),
|
|
205
|
+
});
|
|
258
206
|
const Roblox_Api_Develop_Models_GroupModel = z.object({
|
|
259
207
|
id: z.number().int(),
|
|
260
208
|
name: z.string(),
|
|
261
209
|
});
|
|
262
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_ =
|
|
263
|
-
|
|
210
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_ = z.object({
|
|
211
|
+
data: z.array(Roblox_Api_Develop_Models_GroupModel),
|
|
212
|
+
});
|
|
264
213
|
const Roblox_Api_Develop_Models_PlaceConfigurationModel = z.object({
|
|
265
214
|
name: z.string(),
|
|
266
215
|
description: z.string(),
|
|
@@ -286,20 +235,19 @@ const Roblox_Api_Develop_Models_TeamCreateMembershipRequest = z.object({
|
|
|
286
235
|
* @param assetIds The ids of the Roblox.Platform.Assets.IAsset.
|
|
287
236
|
*/
|
|
288
237
|
export const getAssetsVoting = endpoint({
|
|
289
|
-
method:
|
|
290
|
-
path:
|
|
291
|
-
baseUrl:
|
|
292
|
-
requestFormat:
|
|
238
|
+
method: 'GET',
|
|
239
|
+
path: '/v1/assets/voting',
|
|
240
|
+
baseUrl: 'https://develop.roblox.com',
|
|
241
|
+
requestFormat: 'json',
|
|
293
242
|
serializationMethod: {
|
|
294
243
|
assetIds: {
|
|
295
|
-
style:
|
|
244
|
+
style: 'form',
|
|
296
245
|
},
|
|
297
246
|
},
|
|
298
247
|
parameters: {
|
|
299
248
|
assetIds: z.array(z.number()),
|
|
300
249
|
},
|
|
301
|
-
response:
|
|
302
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_Response_AssetVotingModel_,
|
|
250
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_Response_AssetVotingModel_,
|
|
303
251
|
errors: [],
|
|
304
252
|
});
|
|
305
253
|
/**
|
|
@@ -309,12 +257,11 @@ export const getAssetsVoting = endpoint({
|
|
|
309
257
|
Sort order of templates specified by Roblox.
|
|
310
258
|
*/
|
|
311
259
|
export const getGametemplates = endpoint({
|
|
312
|
-
method:
|
|
313
|
-
path:
|
|
314
|
-
baseUrl:
|
|
315
|
-
requestFormat:
|
|
316
|
-
response:
|
|
317
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GameTemplateModel_,
|
|
260
|
+
method: 'GET',
|
|
261
|
+
path: '/v1/gametemplates',
|
|
262
|
+
baseUrl: 'https://develop.roblox.com',
|
|
263
|
+
requestFormat: 'json',
|
|
264
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GameTemplateModel_,
|
|
318
265
|
errors: [],
|
|
319
266
|
});
|
|
320
267
|
/**
|
|
@@ -327,28 +274,28 @@ export const getGametemplates = endpoint({
|
|
|
327
274
|
* @param sortOrder Sorted by universeId
|
|
328
275
|
*/
|
|
329
276
|
export const getGroupsGroupidUniverses = endpoint({
|
|
330
|
-
method:
|
|
331
|
-
path:
|
|
332
|
-
baseUrl:
|
|
333
|
-
requestFormat:
|
|
277
|
+
method: 'GET',
|
|
278
|
+
path: '/v1/groups/:groupId/universes',
|
|
279
|
+
baseUrl: 'https://develop.roblox.com',
|
|
280
|
+
requestFormat: 'json',
|
|
334
281
|
serializationMethod: {
|
|
335
282
|
groupId: {
|
|
336
|
-
style:
|
|
283
|
+
style: 'simple',
|
|
337
284
|
},
|
|
338
285
|
isArchived: {
|
|
339
|
-
style:
|
|
286
|
+
style: 'form',
|
|
340
287
|
explode: true,
|
|
341
288
|
},
|
|
342
289
|
limit: {
|
|
343
|
-
style:
|
|
290
|
+
style: 'form',
|
|
344
291
|
explode: true,
|
|
345
292
|
},
|
|
346
293
|
cursor: {
|
|
347
|
-
style:
|
|
294
|
+
style: 'form',
|
|
348
295
|
explode: true,
|
|
349
296
|
},
|
|
350
297
|
sortOrder: {
|
|
351
|
-
style:
|
|
298
|
+
style: 'form',
|
|
352
299
|
explode: true,
|
|
353
300
|
},
|
|
354
301
|
},
|
|
@@ -360,10 +307,9 @@ export const getGroupsGroupidUniverses = endpoint({
|
|
|
360
307
|
.optional()
|
|
361
308
|
.default(10),
|
|
362
309
|
cursor: z.string().optional(),
|
|
363
|
-
sortOrder: z.enum([
|
|
310
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
364
311
|
},
|
|
365
|
-
response:
|
|
366
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
312
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
367
313
|
errors: [
|
|
368
314
|
{
|
|
369
315
|
status: 400,
|
|
@@ -379,14 +325,14 @@ export const getGroupsGroupidUniverses = endpoint({
|
|
|
379
325
|
* @description Currently the only supported functionality for updating the configuration is around Name, and Description.
|
|
380
326
|
*/
|
|
381
327
|
export const postPlacesPlaceid = endpoint({
|
|
382
|
-
method:
|
|
383
|
-
path:
|
|
384
|
-
baseUrl:
|
|
385
|
-
requestFormat:
|
|
328
|
+
method: 'POST',
|
|
329
|
+
path: '/v1/places/:placeId',
|
|
330
|
+
baseUrl: 'https://develop.roblox.com',
|
|
331
|
+
requestFormat: 'json',
|
|
386
332
|
serializationMethod: {
|
|
387
333
|
body: {},
|
|
388
334
|
placeId: {
|
|
389
|
-
style:
|
|
335
|
+
style: 'simple',
|
|
390
336
|
},
|
|
391
337
|
},
|
|
392
338
|
parameters: {
|
|
@@ -418,14 +364,14 @@ export const postPlacesPlaceid = endpoint({
|
|
|
418
364
|
* @description Currently the only supported functionality for updating the configuration is around Name, and Description.
|
|
419
365
|
*/
|
|
420
366
|
export const patchPlacesPlaceid = endpoint({
|
|
421
|
-
method:
|
|
422
|
-
path:
|
|
423
|
-
baseUrl:
|
|
424
|
-
requestFormat:
|
|
367
|
+
method: 'PATCH',
|
|
368
|
+
path: '/v1/places/:placeId',
|
|
369
|
+
baseUrl: 'https://develop.roblox.com',
|
|
370
|
+
requestFormat: 'json',
|
|
425
371
|
serializationMethod: {
|
|
426
372
|
body: {},
|
|
427
373
|
placeId: {
|
|
428
|
-
style:
|
|
374
|
+
style: 'simple',
|
|
429
375
|
},
|
|
430
376
|
},
|
|
431
377
|
parameters: {
|
|
@@ -457,20 +403,20 @@ export const patchPlacesPlaceid = endpoint({
|
|
|
457
403
|
* @param cursor The paging cursor for the previous or next page.
|
|
458
404
|
*/
|
|
459
405
|
export const getPlacesPlaceidTeamcreateActive_sessionMembers = endpoint({
|
|
460
|
-
method:
|
|
461
|
-
path:
|
|
462
|
-
baseUrl:
|
|
463
|
-
requestFormat:
|
|
406
|
+
method: 'GET',
|
|
407
|
+
path: '/v1/places/:placeId/teamcreate/active_session/members',
|
|
408
|
+
baseUrl: 'https://develop.roblox.com',
|
|
409
|
+
requestFormat: 'json',
|
|
464
410
|
serializationMethod: {
|
|
465
411
|
placeId: {
|
|
466
|
-
style:
|
|
412
|
+
style: 'simple',
|
|
467
413
|
},
|
|
468
414
|
limit: {
|
|
469
|
-
style:
|
|
415
|
+
style: 'form',
|
|
470
416
|
explode: true,
|
|
471
417
|
},
|
|
472
418
|
cursor: {
|
|
473
|
-
style:
|
|
419
|
+
style: 'form',
|
|
474
420
|
explode: true,
|
|
475
421
|
},
|
|
476
422
|
},
|
|
@@ -482,8 +428,7 @@ export const getPlacesPlaceidTeamcreateActive_sessionMembers = endpoint({
|
|
|
482
428
|
.default(10),
|
|
483
429
|
cursor: z.string().optional(),
|
|
484
430
|
},
|
|
485
|
-
response:
|
|
486
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Users_SkinnyUserResponse_,
|
|
431
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Users_SkinnyUserResponse_,
|
|
487
432
|
errors: [
|
|
488
433
|
{
|
|
489
434
|
status: 400,
|
|
@@ -515,20 +460,19 @@ export const getPlacesPlaceidTeamcreateActive_sessionMembers = endpoint({
|
|
|
515
460
|
* @param pluginIds The plugin ids.
|
|
516
461
|
*/
|
|
517
462
|
export const getPlugins = endpoint({
|
|
518
|
-
method:
|
|
519
|
-
path:
|
|
520
|
-
baseUrl:
|
|
521
|
-
requestFormat:
|
|
463
|
+
method: 'GET',
|
|
464
|
+
path: '/v1/plugins',
|
|
465
|
+
baseUrl: 'https://develop.roblox.com',
|
|
466
|
+
requestFormat: 'json',
|
|
522
467
|
serializationMethod: {
|
|
523
468
|
pluginIds: {
|
|
524
|
-
style:
|
|
469
|
+
style: 'form',
|
|
525
470
|
},
|
|
526
471
|
},
|
|
527
472
|
parameters: {
|
|
528
473
|
pluginIds: z.array(z.number()),
|
|
529
474
|
},
|
|
530
|
-
response:
|
|
531
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Plugins_PluginResponse_,
|
|
475
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Plugins_PluginResponse_,
|
|
532
476
|
errors: [
|
|
533
477
|
{
|
|
534
478
|
status: 400,
|
|
@@ -544,14 +488,14 @@ export const getPlugins = endpoint({
|
|
|
544
488
|
* @param pluginId The id of the plugin.
|
|
545
489
|
*/
|
|
546
490
|
export const patchPluginsPluginid = endpoint({
|
|
547
|
-
method:
|
|
548
|
-
path:
|
|
549
|
-
baseUrl:
|
|
550
|
-
requestFormat:
|
|
491
|
+
method: 'PATCH',
|
|
492
|
+
path: '/v1/plugins/:pluginId',
|
|
493
|
+
baseUrl: 'https://develop.roblox.com',
|
|
494
|
+
requestFormat: 'json',
|
|
551
495
|
serializationMethod: {
|
|
552
496
|
body: {},
|
|
553
497
|
pluginId: {
|
|
554
|
-
style:
|
|
498
|
+
style: 'simple',
|
|
555
499
|
},
|
|
556
500
|
},
|
|
557
501
|
parameters: {
|
|
@@ -588,13 +532,13 @@ export const patchPluginsPluginid = endpoint({
|
|
|
588
532
|
* @param universeId The Universe id.
|
|
589
533
|
*/
|
|
590
534
|
export const getUniversesUniverseid = endpoint({
|
|
591
|
-
method:
|
|
592
|
-
path:
|
|
593
|
-
baseUrl:
|
|
594
|
-
requestFormat:
|
|
535
|
+
method: 'GET',
|
|
536
|
+
path: '/v1/universes/:universeId',
|
|
537
|
+
baseUrl: 'https://develop.roblox.com',
|
|
538
|
+
requestFormat: 'json',
|
|
595
539
|
serializationMethod: {
|
|
596
540
|
universeId: {
|
|
597
|
-
style:
|
|
541
|
+
style: 'simple',
|
|
598
542
|
},
|
|
599
543
|
},
|
|
600
544
|
parameters: {
|
|
@@ -614,13 +558,13 @@ export const getUniversesUniverseid = endpoint({
|
|
|
614
558
|
* @param universeId The universe id.
|
|
615
559
|
*/
|
|
616
560
|
export const postUniversesUniverseidActivate = endpoint({
|
|
617
|
-
method:
|
|
618
|
-
path:
|
|
619
|
-
baseUrl:
|
|
620
|
-
requestFormat:
|
|
561
|
+
method: 'POST',
|
|
562
|
+
path: '/v1/universes/:universeId/activate',
|
|
563
|
+
baseUrl: 'https://develop.roblox.com',
|
|
564
|
+
requestFormat: 'json',
|
|
621
565
|
serializationMethod: {
|
|
622
566
|
universeId: {
|
|
623
|
-
style:
|
|
567
|
+
style: 'simple',
|
|
624
568
|
},
|
|
625
569
|
},
|
|
626
570
|
parameters: {
|
|
@@ -652,13 +596,13 @@ export const postUniversesUniverseidActivate = endpoint({
|
|
|
652
596
|
* @param universeId The universe id.
|
|
653
597
|
*/
|
|
654
598
|
export const getUniversesUniverseidActivationEligibility = endpoint({
|
|
655
|
-
method:
|
|
656
|
-
path:
|
|
657
|
-
baseUrl:
|
|
658
|
-
requestFormat:
|
|
599
|
+
method: 'GET',
|
|
600
|
+
path: '/v1/universes/:universeId/activation-eligibility',
|
|
601
|
+
baseUrl: 'https://develop.roblox.com',
|
|
602
|
+
requestFormat: 'json',
|
|
659
603
|
serializationMethod: {
|
|
660
604
|
universeId: {
|
|
661
|
-
style:
|
|
605
|
+
style: 'simple',
|
|
662
606
|
},
|
|
663
607
|
},
|
|
664
608
|
parameters: {
|
|
@@ -673,13 +617,13 @@ export const getUniversesUniverseidActivationEligibility = endpoint({
|
|
|
673
617
|
* @param universeId The universe Id.
|
|
674
618
|
*/
|
|
675
619
|
export const getUniversesUniverseidConfiguration = endpoint({
|
|
676
|
-
method:
|
|
677
|
-
path:
|
|
678
|
-
baseUrl:
|
|
679
|
-
requestFormat:
|
|
620
|
+
method: 'GET',
|
|
621
|
+
path: '/v1/universes/:universeId/configuration',
|
|
622
|
+
baseUrl: 'https://develop.roblox.com',
|
|
623
|
+
requestFormat: 'json',
|
|
680
624
|
serializationMethod: {
|
|
681
625
|
universeId: {
|
|
682
|
-
style:
|
|
626
|
+
style: 'simple',
|
|
683
627
|
},
|
|
684
628
|
},
|
|
685
629
|
parameters: {
|
|
@@ -708,14 +652,14 @@ export const getUniversesUniverseidConfiguration = endpoint({
|
|
|
708
652
|
* @param universeId The universeId.
|
|
709
653
|
*/
|
|
710
654
|
export const patchUniversesUniverseidConfiguration = endpoint({
|
|
711
|
-
method:
|
|
712
|
-
path:
|
|
713
|
-
baseUrl:
|
|
714
|
-
requestFormat:
|
|
655
|
+
method: 'PATCH',
|
|
656
|
+
path: '/v1/universes/:universeId/configuration',
|
|
657
|
+
baseUrl: 'https://develop.roblox.com',
|
|
658
|
+
requestFormat: 'json',
|
|
715
659
|
serializationMethod: {
|
|
716
660
|
body: {},
|
|
717
661
|
universeId: {
|
|
718
|
-
style:
|
|
662
|
+
style: 'simple',
|
|
719
663
|
},
|
|
720
664
|
},
|
|
721
665
|
parameters: {
|
|
@@ -770,13 +714,13 @@ export const patchUniversesUniverseidConfiguration = endpoint({
|
|
|
770
714
|
* @param universeId The universe Id.
|
|
771
715
|
*/
|
|
772
716
|
export const getUniversesUniverseidConfigurationVipServers = endpoint({
|
|
773
|
-
method:
|
|
774
|
-
path:
|
|
775
|
-
baseUrl:
|
|
776
|
-
requestFormat:
|
|
717
|
+
method: 'GET',
|
|
718
|
+
path: '/v1/universes/:universeId/configuration/vip-servers',
|
|
719
|
+
baseUrl: 'https://develop.roblox.com',
|
|
720
|
+
requestFormat: 'json',
|
|
777
721
|
serializationMethod: {
|
|
778
722
|
universeId: {
|
|
779
|
-
style:
|
|
723
|
+
style: 'simple',
|
|
780
724
|
},
|
|
781
725
|
},
|
|
782
726
|
parameters: {
|
|
@@ -804,13 +748,13 @@ export const getUniversesUniverseidConfigurationVipServers = endpoint({
|
|
|
804
748
|
* @param universeId The universe id.
|
|
805
749
|
*/
|
|
806
750
|
export const postUniversesUniverseidDeactivate = endpoint({
|
|
807
|
-
method:
|
|
808
|
-
path:
|
|
809
|
-
baseUrl:
|
|
810
|
-
requestFormat:
|
|
751
|
+
method: 'POST',
|
|
752
|
+
path: '/v1/universes/:universeId/deactivate',
|
|
753
|
+
baseUrl: 'https://develop.roblox.com',
|
|
754
|
+
requestFormat: 'json',
|
|
811
755
|
serializationMethod: {
|
|
812
756
|
universeId: {
|
|
813
|
-
style:
|
|
757
|
+
style: 'simple',
|
|
814
758
|
},
|
|
815
759
|
},
|
|
816
760
|
parameters: {
|
|
@@ -840,13 +784,13 @@ export const postUniversesUniverseidDeactivate = endpoint({
|
|
|
840
784
|
* @param universeId The universe id.
|
|
841
785
|
*/
|
|
842
786
|
export const getUniversesUniverseidPermissions = endpoint({
|
|
843
|
-
method:
|
|
844
|
-
path:
|
|
845
|
-
baseUrl:
|
|
846
|
-
requestFormat:
|
|
787
|
+
method: 'GET',
|
|
788
|
+
path: '/v1/universes/:universeId/permissions',
|
|
789
|
+
baseUrl: 'https://develop.roblox.com',
|
|
790
|
+
requestFormat: 'json',
|
|
847
791
|
serializationMethod: {
|
|
848
792
|
universeId: {
|
|
849
|
-
style:
|
|
793
|
+
style: 'simple',
|
|
850
794
|
},
|
|
851
795
|
},
|
|
852
796
|
parameters: {
|
|
@@ -874,28 +818,28 @@ export const getUniversesUniverseidPermissions = endpoint({
|
|
|
874
818
|
* @param sortOrder Sorted by placeId
|
|
875
819
|
*/
|
|
876
820
|
export const getUniversesUniverseidPlaces = endpoint({
|
|
877
|
-
method:
|
|
878
|
-
path:
|
|
879
|
-
baseUrl:
|
|
880
|
-
requestFormat:
|
|
821
|
+
method: 'GET',
|
|
822
|
+
path: '/v1/universes/:universeId/places',
|
|
823
|
+
baseUrl: 'https://develop.roblox.com',
|
|
824
|
+
requestFormat: 'json',
|
|
881
825
|
serializationMethod: {
|
|
882
826
|
universeId: {
|
|
883
|
-
style:
|
|
827
|
+
style: 'simple',
|
|
884
828
|
},
|
|
885
829
|
isUniverseCreation: {
|
|
886
|
-
style:
|
|
830
|
+
style: 'form',
|
|
887
831
|
explode: true,
|
|
888
832
|
},
|
|
889
833
|
limit: {
|
|
890
|
-
style:
|
|
834
|
+
style: 'form',
|
|
891
835
|
explode: true,
|
|
892
836
|
},
|
|
893
837
|
cursor: {
|
|
894
|
-
style:
|
|
838
|
+
style: 'form',
|
|
895
839
|
explode: true,
|
|
896
840
|
},
|
|
897
841
|
sortOrder: {
|
|
898
|
-
style:
|
|
842
|
+
style: 'form',
|
|
899
843
|
explode: true,
|
|
900
844
|
},
|
|
901
845
|
},
|
|
@@ -907,10 +851,9 @@ export const getUniversesUniverseidPlaces = endpoint({
|
|
|
907
851
|
.optional()
|
|
908
852
|
.default(10),
|
|
909
853
|
cursor: z.string().optional(),
|
|
910
|
-
sortOrder: z.enum([
|
|
854
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
911
855
|
},
|
|
912
|
-
response:
|
|
913
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_IPlaceModel_,
|
|
856
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_IPlaceModel_,
|
|
914
857
|
errors: [],
|
|
915
858
|
});
|
|
916
859
|
/**
|
|
@@ -919,13 +862,13 @@ export const getUniversesUniverseidPlaces = endpoint({
|
|
|
919
862
|
* @param universeId The universe Id.
|
|
920
863
|
*/
|
|
921
864
|
export const getUniversesUniverseidTeamcreate = endpoint({
|
|
922
|
-
method:
|
|
923
|
-
path:
|
|
924
|
-
baseUrl:
|
|
925
|
-
requestFormat:
|
|
865
|
+
method: 'GET',
|
|
866
|
+
path: '/v1/universes/:universeId/teamcreate',
|
|
867
|
+
baseUrl: 'https://develop.roblox.com',
|
|
868
|
+
requestFormat: 'json',
|
|
926
869
|
serializationMethod: {
|
|
927
870
|
universeId: {
|
|
928
|
-
style:
|
|
871
|
+
style: 'simple',
|
|
929
872
|
},
|
|
930
873
|
},
|
|
931
874
|
parameters: {
|
|
@@ -955,14 +898,14 @@ export const getUniversesUniverseidTeamcreate = endpoint({
|
|
|
955
898
|
* @description Enables, or disables team create for a universe.
|
|
956
899
|
*/
|
|
957
900
|
export const patchUniversesUniverseidTeamcreate = endpoint({
|
|
958
|
-
method:
|
|
959
|
-
path:
|
|
960
|
-
baseUrl:
|
|
961
|
-
requestFormat:
|
|
901
|
+
method: 'PATCH',
|
|
902
|
+
path: '/v1/universes/:universeId/teamcreate',
|
|
903
|
+
baseUrl: 'https://develop.roblox.com',
|
|
904
|
+
requestFormat: 'json',
|
|
962
905
|
serializationMethod: {
|
|
963
906
|
body: {},
|
|
964
907
|
universeId: {
|
|
965
|
-
style:
|
|
908
|
+
style: 'simple',
|
|
966
909
|
},
|
|
967
910
|
},
|
|
968
911
|
parameters: {
|
|
@@ -993,14 +936,14 @@ export const patchUniversesUniverseidTeamcreate = endpoint({
|
|
|
993
936
|
* @param universeId The universe Id.
|
|
994
937
|
*/
|
|
995
938
|
export const deleteUniversesUniverseidTeamcreateMemberships = endpoint({
|
|
996
|
-
method:
|
|
997
|
-
path:
|
|
998
|
-
baseUrl:
|
|
999
|
-
requestFormat:
|
|
939
|
+
method: 'DELETE',
|
|
940
|
+
path: '/v1/universes/:universeId/teamcreate/memberships',
|
|
941
|
+
baseUrl: 'https://develop.roblox.com',
|
|
942
|
+
requestFormat: 'json',
|
|
1000
943
|
serializationMethod: {
|
|
1001
944
|
body: {},
|
|
1002
945
|
universeId: {
|
|
1003
|
-
style:
|
|
946
|
+
style: 'simple',
|
|
1004
947
|
},
|
|
1005
948
|
},
|
|
1006
949
|
parameters: {
|
|
@@ -1031,21 +974,20 @@ export const deleteUniversesUniverseidTeamcreateMemberships = endpoint({
|
|
|
1031
974
|
* @description If a universe can not be found for a given ID (such as -1) it will be skipped.
|
|
1032
975
|
*/
|
|
1033
976
|
export const getUniversesMultiget = endpoint({
|
|
1034
|
-
method:
|
|
1035
|
-
path:
|
|
1036
|
-
baseUrl:
|
|
1037
|
-
requestFormat:
|
|
977
|
+
method: 'GET',
|
|
978
|
+
path: '/v1/universes/multiget',
|
|
979
|
+
baseUrl: 'https://develop.roblox.com',
|
|
980
|
+
requestFormat: 'json',
|
|
1038
981
|
serializationMethod: {
|
|
1039
982
|
ids: {
|
|
1040
|
-
style:
|
|
983
|
+
style: 'form',
|
|
1041
984
|
explode: true,
|
|
1042
985
|
},
|
|
1043
986
|
},
|
|
1044
987
|
parameters: {
|
|
1045
988
|
ids: z.array(z.number()),
|
|
1046
989
|
},
|
|
1047
|
-
response:
|
|
1048
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
990
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
1049
991
|
errors: [
|
|
1050
992
|
{
|
|
1051
993
|
status: 400,
|
|
@@ -1061,21 +1003,20 @@ export const getUniversesMultiget = endpoint({
|
|
|
1061
1003
|
* @description If a universe can not be found for a given ID (such as -1) it will be skipped.
|
|
1062
1004
|
*/
|
|
1063
1005
|
export const getUniversesMultigetPermissions = endpoint({
|
|
1064
|
-
method:
|
|
1065
|
-
path:
|
|
1066
|
-
baseUrl:
|
|
1067
|
-
requestFormat:
|
|
1006
|
+
method: 'GET',
|
|
1007
|
+
path: '/v1/universes/multiget/permissions',
|
|
1008
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1009
|
+
requestFormat: 'json',
|
|
1068
1010
|
serializationMethod: {
|
|
1069
1011
|
ids: {
|
|
1070
|
-
style:
|
|
1012
|
+
style: 'form',
|
|
1071
1013
|
explode: true,
|
|
1072
1014
|
},
|
|
1073
1015
|
},
|
|
1074
1016
|
parameters: {
|
|
1075
1017
|
ids: z.array(z.number()),
|
|
1076
1018
|
},
|
|
1077
|
-
response:
|
|
1078
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseIdPermissionsModel_,
|
|
1019
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseIdPermissionsModel_,
|
|
1079
1020
|
errors: [
|
|
1080
1021
|
{
|
|
1081
1022
|
status: 400,
|
|
@@ -1094,21 +1035,20 @@ export const getUniversesMultigetPermissions = endpoint({
|
|
|
1094
1035
|
* @param ids The universe Ids.
|
|
1095
1036
|
*/
|
|
1096
1037
|
export const getUniversesMultigetTeamcreate = endpoint({
|
|
1097
|
-
method:
|
|
1098
|
-
path:
|
|
1099
|
-
baseUrl:
|
|
1100
|
-
requestFormat:
|
|
1038
|
+
method: 'GET',
|
|
1039
|
+
path: '/v1/universes/multiget/teamcreate',
|
|
1040
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1041
|
+
requestFormat: 'json',
|
|
1101
1042
|
serializationMethod: {
|
|
1102
1043
|
ids: {
|
|
1103
|
-
style:
|
|
1044
|
+
style: 'form',
|
|
1104
1045
|
explode: true,
|
|
1105
1046
|
},
|
|
1106
1047
|
},
|
|
1107
1048
|
parameters: {
|
|
1108
1049
|
ids: z.array(z.number()),
|
|
1109
1050
|
},
|
|
1110
|
-
response:
|
|
1111
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel_,
|
|
1051
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_UniverseTeamCreateSettingsModel_,
|
|
1112
1052
|
errors: [
|
|
1113
1053
|
{
|
|
1114
1054
|
status: 400,
|
|
@@ -1125,10 +1065,10 @@ export const getUniversesMultigetTeamcreate = endpoint({
|
|
|
1125
1065
|
* @summary Returns the result of various checks for a user's eligibility to publish a public universe
|
|
1126
1066
|
*/
|
|
1127
1067
|
export const getUniversesUserPublicPublishEligibility = endpoint({
|
|
1128
|
-
method:
|
|
1129
|
-
path:
|
|
1130
|
-
baseUrl:
|
|
1131
|
-
requestFormat:
|
|
1068
|
+
method: 'GET',
|
|
1069
|
+
path: '/v1/universes/user-public-publish-eligibility',
|
|
1070
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1071
|
+
requestFormat: 'json',
|
|
1132
1072
|
response: Roblox_Api_Develop_Models_UserPublicPublishEligibilityResponse,
|
|
1133
1073
|
errors: [],
|
|
1134
1074
|
});
|
|
@@ -1137,12 +1077,11 @@ export const getUniversesUserPublicPublishEligibility = endpoint({
|
|
|
1137
1077
|
* @summary Gets a list of Groups that a user can manage.
|
|
1138
1078
|
*/
|
|
1139
1079
|
export const getUserGroupsCanmanage = endpoint({
|
|
1140
|
-
method:
|
|
1141
|
-
path:
|
|
1142
|
-
baseUrl:
|
|
1143
|
-
requestFormat:
|
|
1144
|
-
response:
|
|
1145
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_,
|
|
1080
|
+
method: 'GET',
|
|
1081
|
+
path: '/v1/user/groups/canmanage',
|
|
1082
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1083
|
+
requestFormat: 'json',
|
|
1084
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_,
|
|
1146
1085
|
errors: [
|
|
1147
1086
|
{
|
|
1148
1087
|
status: 401,
|
|
@@ -1155,12 +1094,11 @@ export const getUserGroupsCanmanage = endpoint({
|
|
|
1155
1094
|
* @summary Gets a list of groups a user can manage games or items for.
|
|
1156
1095
|
*/
|
|
1157
1096
|
export const getUserGroupsCanmanagegamesoritems = endpoint({
|
|
1158
|
-
method:
|
|
1159
|
-
path:
|
|
1160
|
-
baseUrl:
|
|
1161
|
-
requestFormat:
|
|
1162
|
-
response:
|
|
1163
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_,
|
|
1097
|
+
method: 'GET',
|
|
1098
|
+
path: '/v1/user/groups/canmanagegamesoritems',
|
|
1099
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1100
|
+
requestFormat: 'json',
|
|
1101
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Api_Develop_Models_GroupModel_,
|
|
1164
1102
|
errors: [
|
|
1165
1103
|
{
|
|
1166
1104
|
status: 401,
|
|
@@ -1177,25 +1115,25 @@ export const getUserGroupsCanmanagegamesoritems = endpoint({
|
|
|
1177
1115
|
* @param sortOrder Sorted by universeId
|
|
1178
1116
|
*/
|
|
1179
1117
|
export const getUserUniverses = endpoint({
|
|
1180
|
-
method:
|
|
1181
|
-
path:
|
|
1182
|
-
baseUrl:
|
|
1183
|
-
requestFormat:
|
|
1118
|
+
method: 'GET',
|
|
1119
|
+
path: '/v1/user/universes',
|
|
1120
|
+
baseUrl: 'https://develop.roblox.com',
|
|
1121
|
+
requestFormat: 'json',
|
|
1184
1122
|
serializationMethod: {
|
|
1185
1123
|
isArchived: {
|
|
1186
|
-
style:
|
|
1124
|
+
style: 'form',
|
|
1187
1125
|
explode: true,
|
|
1188
1126
|
},
|
|
1189
1127
|
limit: {
|
|
1190
|
-
style:
|
|
1128
|
+
style: 'form',
|
|
1191
1129
|
explode: true,
|
|
1192
1130
|
},
|
|
1193
1131
|
cursor: {
|
|
1194
|
-
style:
|
|
1132
|
+
style: 'form',
|
|
1195
1133
|
explode: true,
|
|
1196
1134
|
},
|
|
1197
1135
|
sortOrder: {
|
|
1198
|
-
style:
|
|
1136
|
+
style: 'form',
|
|
1199
1137
|
explode: true,
|
|
1200
1138
|
},
|
|
1201
1139
|
},
|
|
@@ -1206,10 +1144,9 @@ export const getUserUniverses = endpoint({
|
|
|
1206
1144
|
.optional()
|
|
1207
1145
|
.default(10),
|
|
1208
1146
|
cursor: z.string().optional(),
|
|
1209
|
-
sortOrder: z.enum([
|
|
1147
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1210
1148
|
},
|
|
1211
|
-
response:
|
|
1212
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
1149
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_Models_UniverseModel_,
|
|
1213
1150
|
errors: [
|
|
1214
1151
|
{
|
|
1215
1152
|
status: 400,
|