rozod 6.7.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Web_Responses_Games_GameMediaItemResponseV2 = z.object({
|
|
5
5
|
assetTypeId: z.number().int(),
|
|
@@ -11,145 +11,145 @@ const Roblox_Web_Responses_Games_GameMediaItemResponseV2 = z.object({
|
|
|
11
11
|
altText: z.string(),
|
|
12
12
|
videoId: z.string(),
|
|
13
13
|
});
|
|
14
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_ =
|
|
15
|
-
z.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
z.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
z.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
14
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_ = z.object({
|
|
15
|
+
data: z.array(Roblox_Web_Responses_Games_GameMediaItemResponseV2),
|
|
16
|
+
});
|
|
17
|
+
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel = z.object({
|
|
18
|
+
badgePosition: z.string(),
|
|
19
|
+
badgeAnalyticsId: z.string(),
|
|
20
|
+
badgeType: z.string(),
|
|
21
|
+
badgeIcon: z.string(),
|
|
22
|
+
badgeComponentType: z.string(),
|
|
23
|
+
});
|
|
24
|
+
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_ = z.object({
|
|
25
|
+
id: z.number().int(),
|
|
26
|
+
type: z.enum(['User', 'Group']),
|
|
27
|
+
name: z.string(),
|
|
28
|
+
});
|
|
29
|
+
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_ = z.object({
|
|
30
|
+
id: z.number().int(),
|
|
31
|
+
type: z.enum([
|
|
32
|
+
'Image',
|
|
33
|
+
'TShirt',
|
|
34
|
+
'Audio',
|
|
35
|
+
'Mesh',
|
|
36
|
+
'Lua',
|
|
37
|
+
'HTML',
|
|
38
|
+
'Text',
|
|
39
|
+
'Hat',
|
|
40
|
+
'Place',
|
|
41
|
+
'Model',
|
|
42
|
+
'Shirt',
|
|
43
|
+
'Pants',
|
|
44
|
+
'Decal',
|
|
45
|
+
'Avatar',
|
|
46
|
+
'Head',
|
|
47
|
+
'Face',
|
|
48
|
+
'Gear',
|
|
49
|
+
'Badge',
|
|
50
|
+
'GroupEmblem',
|
|
51
|
+
'Animation',
|
|
52
|
+
'Arms',
|
|
53
|
+
'Legs',
|
|
54
|
+
'Torso',
|
|
55
|
+
'RightArm',
|
|
56
|
+
'LeftArm',
|
|
57
|
+
'LeftLeg',
|
|
58
|
+
'RightLeg',
|
|
59
|
+
'Package',
|
|
60
|
+
'YouTubeVideo',
|
|
61
|
+
'GamePass',
|
|
62
|
+
'App',
|
|
63
|
+
'Code',
|
|
64
|
+
'Plugin',
|
|
65
|
+
'SolidModel',
|
|
66
|
+
'MeshPart',
|
|
67
|
+
'HairAccessory',
|
|
68
|
+
'FaceAccessory',
|
|
69
|
+
'NeckAccessory',
|
|
70
|
+
'ShoulderAccessory',
|
|
71
|
+
'FrontAccessory',
|
|
72
|
+
'BackAccessory',
|
|
73
|
+
'WaistAccessory',
|
|
74
|
+
'ClimbAnimation',
|
|
75
|
+
'DeathAnimation',
|
|
76
|
+
'FallAnimation',
|
|
77
|
+
'IdleAnimation',
|
|
78
|
+
'JumpAnimation',
|
|
79
|
+
'RunAnimation',
|
|
80
|
+
'SwimAnimation',
|
|
81
|
+
'WalkAnimation',
|
|
82
|
+
'PoseAnimation',
|
|
83
|
+
'LocalizationTableManifest',
|
|
84
|
+
'LocalizationTableTranslation',
|
|
85
|
+
'EmoteAnimation',
|
|
86
|
+
'Video',
|
|
87
|
+
'TexturePack',
|
|
88
|
+
'TShirtAccessory',
|
|
89
|
+
'ShirtAccessory',
|
|
90
|
+
'PantsAccessory',
|
|
91
|
+
'JacketAccessory',
|
|
92
|
+
'SweaterAccessory',
|
|
93
|
+
'ShortsAccessory',
|
|
94
|
+
'LeftShoeAccessory',
|
|
95
|
+
'RightShoeAccessory',
|
|
96
|
+
'DressSkirtAccessory',
|
|
97
|
+
'FontFamily',
|
|
98
|
+
'FontFace',
|
|
99
|
+
'MeshHiddenSurfaceRemoval',
|
|
100
|
+
'EyebrowAccessory',
|
|
101
|
+
'EyelashAccessory',
|
|
102
|
+
'MoodAnimation',
|
|
103
|
+
'DynamicHead',
|
|
104
|
+
'CodeSnippet',
|
|
105
|
+
'AdsVideo',
|
|
106
|
+
'OtaUpdate',
|
|
107
|
+
'Screenshot',
|
|
108
|
+
'RuntimePropertySet',
|
|
109
|
+
'StorePreviewVideo',
|
|
110
|
+
'GamePreviewVideo',
|
|
111
|
+
'CreatorExperienceConfig',
|
|
112
|
+
'FaceMakeup',
|
|
113
|
+
'LipMakeup',
|
|
114
|
+
'EyeMakeup',
|
|
115
|
+
'VoxelFragment',
|
|
116
|
+
'AvatarBackground',
|
|
117
|
+
'TextDocument',
|
|
118
|
+
]),
|
|
119
|
+
name: z.string(),
|
|
120
|
+
});
|
|
116
121
|
const Roblox_Web_Responses_Games_GameFavoriteResponseModel = z.object({
|
|
117
122
|
price: z.number().int(),
|
|
123
|
+
contentMetadata: Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
|
|
118
124
|
id: z.number().int(),
|
|
119
125
|
name: z.string(),
|
|
120
126
|
description: z.string(),
|
|
121
|
-
creator:
|
|
122
|
-
|
|
123
|
-
rootPlace:
|
|
124
|
-
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_,
|
|
127
|
+
creator: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_,
|
|
128
|
+
rootPlace: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_,
|
|
125
129
|
created: z.string().datetime({ offset: true }),
|
|
126
130
|
updated: z.string().datetime({ offset: true }),
|
|
127
131
|
placeVisits: z.number().int(),
|
|
128
132
|
});
|
|
129
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_ =
|
|
130
|
-
z.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
});
|
|
133
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_ = z.object({
|
|
134
|
+
previousPageCursor: z.string(),
|
|
135
|
+
nextPageCursor: z.string(),
|
|
136
|
+
data: z.array(Roblox_Web_Responses_Games_GameFavoriteResponseModel),
|
|
137
|
+
});
|
|
135
138
|
const Roblox_Web_Responses_Games_GameResponseV2 = z.object({
|
|
136
139
|
id: z.number().int(),
|
|
137
140
|
name: z.string(),
|
|
138
141
|
description: z.string(),
|
|
139
|
-
creator:
|
|
140
|
-
|
|
141
|
-
rootPlace:
|
|
142
|
-
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_,
|
|
142
|
+
creator: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_,
|
|
143
|
+
rootPlace: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_,
|
|
143
144
|
created: z.string().datetime({ offset: true }),
|
|
144
145
|
updated: z.string().datetime({ offset: true }),
|
|
145
146
|
placeVisits: z.number().int(),
|
|
146
147
|
});
|
|
147
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_ =
|
|
148
|
-
z.
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
});
|
|
148
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_ = z.object({
|
|
149
|
+
previousPageCursor: z.string(),
|
|
150
|
+
nextPageCursor: z.string(),
|
|
151
|
+
data: z.array(Roblox_Web_Responses_Games_GameResponseV2),
|
|
152
|
+
});
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* @api GET https://games.roblox.com/v2/games/:universeId/media
|
|
@@ -158,16 +158,16 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameRe
|
|
|
158
158
|
* @param fetchAllExperienceRelatedMedia to tell if the API query is to fetch all related media for this experience
|
|
159
159
|
*/
|
|
160
160
|
export const getGamesUniverseidMedia = endpoint({
|
|
161
|
-
method:
|
|
162
|
-
path:
|
|
163
|
-
baseUrl:
|
|
164
|
-
requestFormat:
|
|
161
|
+
method: 'GET',
|
|
162
|
+
path: '/v2/games/:universeId/media',
|
|
163
|
+
baseUrl: 'https://games.roblox.com',
|
|
164
|
+
requestFormat: 'json',
|
|
165
165
|
serializationMethod: {
|
|
166
166
|
universeId: {
|
|
167
|
-
style:
|
|
167
|
+
style: 'simple',
|
|
168
168
|
},
|
|
169
169
|
fetchAllExperienceRelatedMedia: {
|
|
170
|
-
style:
|
|
170
|
+
style: 'form',
|
|
171
171
|
explode: true,
|
|
172
172
|
},
|
|
173
173
|
},
|
|
@@ -175,8 +175,7 @@ export const getGamesUniverseidMedia = endpoint({
|
|
|
175
175
|
universeId: z.number().int(),
|
|
176
176
|
fetchAllExperienceRelatedMedia: z.boolean().optional(),
|
|
177
177
|
},
|
|
178
|
-
response:
|
|
179
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_,
|
|
178
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_,
|
|
180
179
|
errors: [
|
|
181
180
|
{
|
|
182
181
|
status: 400,
|
|
@@ -198,28 +197,28 @@ export const getGamesUniverseidMedia = endpoint({
|
|
|
198
197
|
* @param sortOrder The order the results are sorted in.
|
|
199
198
|
*/
|
|
200
199
|
export const getUsersUseridFavoriteGames = endpoint({
|
|
201
|
-
method:
|
|
202
|
-
path:
|
|
203
|
-
baseUrl:
|
|
204
|
-
requestFormat:
|
|
200
|
+
method: 'GET',
|
|
201
|
+
path: '/v2/users/:userId/favorite/games',
|
|
202
|
+
baseUrl: 'https://games.roblox.com',
|
|
203
|
+
requestFormat: 'json',
|
|
205
204
|
serializationMethod: {
|
|
206
205
|
userId: {
|
|
207
|
-
style:
|
|
206
|
+
style: 'simple',
|
|
208
207
|
},
|
|
209
208
|
accessFilter: {
|
|
210
|
-
style:
|
|
209
|
+
style: 'form',
|
|
211
210
|
explode: true,
|
|
212
211
|
},
|
|
213
212
|
limit: {
|
|
214
|
-
style:
|
|
213
|
+
style: 'form',
|
|
215
214
|
explode: true,
|
|
216
215
|
},
|
|
217
216
|
cursor: {
|
|
218
|
-
style:
|
|
217
|
+
style: 'form',
|
|
219
218
|
explode: true,
|
|
220
219
|
},
|
|
221
220
|
sortOrder: {
|
|
222
|
-
style:
|
|
221
|
+
style: 'form',
|
|
223
222
|
explode: true,
|
|
224
223
|
},
|
|
225
224
|
},
|
|
@@ -234,10 +233,9 @@ export const getUsersUseridFavoriteGames = endpoint({
|
|
|
234
233
|
.optional()
|
|
235
234
|
.default(10),
|
|
236
235
|
cursor: z.string().optional(),
|
|
237
|
-
sortOrder: z.enum([
|
|
236
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Desc'),
|
|
238
237
|
},
|
|
239
|
-
response:
|
|
240
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_,
|
|
238
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_,
|
|
241
239
|
errors: [],
|
|
242
240
|
});
|
|
243
241
|
/**
|
|
@@ -250,28 +248,28 @@ export const getUsersUseridFavoriteGames = endpoint({
|
|
|
250
248
|
* @param sortOrder The order the results are sorted in.
|
|
251
249
|
*/
|
|
252
250
|
export const getUsersUseridGames = endpoint({
|
|
253
|
-
method:
|
|
254
|
-
path:
|
|
255
|
-
baseUrl:
|
|
256
|
-
requestFormat:
|
|
251
|
+
method: 'GET',
|
|
252
|
+
path: '/v2/users/:userId/games',
|
|
253
|
+
baseUrl: 'https://games.roblox.com',
|
|
254
|
+
requestFormat: 'json',
|
|
257
255
|
serializationMethod: {
|
|
258
256
|
userId: {
|
|
259
|
-
style:
|
|
257
|
+
style: 'simple',
|
|
260
258
|
},
|
|
261
259
|
accessFilter: {
|
|
262
|
-
style:
|
|
260
|
+
style: 'form',
|
|
263
261
|
explode: true,
|
|
264
262
|
},
|
|
265
263
|
limit: {
|
|
266
|
-
style:
|
|
264
|
+
style: 'form',
|
|
267
265
|
explode: true,
|
|
268
266
|
},
|
|
269
267
|
cursor: {
|
|
270
|
-
style:
|
|
268
|
+
style: 'form',
|
|
271
269
|
explode: true,
|
|
272
270
|
},
|
|
273
271
|
sortOrder: {
|
|
274
|
-
style:
|
|
272
|
+
style: 'form',
|
|
275
273
|
explode: true,
|
|
276
274
|
},
|
|
277
275
|
},
|
|
@@ -286,10 +284,9 @@ export const getUsersUseridGames = endpoint({
|
|
|
286
284
|
.optional()
|
|
287
285
|
.default(10),
|
|
288
286
|
cursor: z.string().optional(),
|
|
289
|
-
sortOrder: z.enum([
|
|
287
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
290
288
|
},
|
|
291
|
-
response:
|
|
292
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
|
|
289
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
|
|
293
290
|
errors: [],
|
|
294
291
|
});
|
|
295
292
|
|
|
@@ -316,8 +313,14 @@ export const getGroupsGroupidGamesv2 = endpoint({
|
|
|
316
313
|
},
|
|
317
314
|
parameters: {
|
|
318
315
|
groupId: z.number().int(),
|
|
319
|
-
accessFilter: z
|
|
320
|
-
|
|
316
|
+
accessFilter: z
|
|
317
|
+
.union([z.literal(1), z.literal(2), z.literal(4)])
|
|
318
|
+
.optional()
|
|
319
|
+
.default(1),
|
|
320
|
+
limit: z
|
|
321
|
+
.union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
|
|
322
|
+
.optional()
|
|
323
|
+
.default(10),
|
|
321
324
|
cursor: z.string().optional(),
|
|
322
325
|
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
323
326
|
},
|
package/lib/endpoints/gamesv2.js
CHANGED
|
@@ -16,6 +16,13 @@ const Roblox_Web_Responses_Games_GameMediaItemResponseV2 = zod_1.z.object({
|
|
|
16
16
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_ = zod_1.z.object({
|
|
17
17
|
data: zod_1.z.array(Roblox_Web_Responses_Games_GameMediaItemResponseV2),
|
|
18
18
|
});
|
|
19
|
+
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel = zod_1.z.object({
|
|
20
|
+
badgePosition: zod_1.z.string(),
|
|
21
|
+
badgeAnalyticsId: zod_1.z.string(),
|
|
22
|
+
badgeType: zod_1.z.string(),
|
|
23
|
+
badgeIcon: zod_1.z.string(),
|
|
24
|
+
badgeComponentType: zod_1.z.string(),
|
|
25
|
+
});
|
|
19
26
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_ = zod_1.z.object({
|
|
20
27
|
id: zod_1.z.number().int(),
|
|
21
28
|
type: zod_1.z.enum(['User', 'Group']),
|
|
@@ -109,11 +116,13 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
|
|
|
109
116
|
'EyeMakeup',
|
|
110
117
|
'VoxelFragment',
|
|
111
118
|
'AvatarBackground',
|
|
119
|
+
'TextDocument',
|
|
112
120
|
]),
|
|
113
121
|
name: zod_1.z.string(),
|
|
114
122
|
});
|
|
115
123
|
const Roblox_Web_Responses_Games_GameFavoriteResponseModel = zod_1.z.object({
|
|
116
124
|
price: zod_1.z.number().int(),
|
|
125
|
+
contentMetadata: Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
|
|
117
126
|
id: zod_1.z.number().int(),
|
|
118
127
|
name: zod_1.z.string(),
|
|
119
128
|
description: zod_1.z.string(),
|