rozod 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +551 -0
  2. package/lib/endpoints/accountinformationv1.js +652 -0
  3. package/lib/endpoints/accountsettingsv1.d.ts +548 -0
  4. package/lib/endpoints/accountsettingsv1.js +712 -0
  5. package/lib/endpoints/assetdeliveryv1.d.ts +599 -0
  6. package/lib/endpoints/assetdeliveryv1.js +268 -0
  7. package/lib/endpoints/assetdeliveryv2.d.ts +780 -0
  8. package/lib/endpoints/assetdeliveryv2.js +271 -0
  9. package/lib/endpoints/authv1.d.ts +1328 -0
  10. package/lib/endpoints/authv1.js +1168 -0
  11. package/lib/endpoints/authv2.d.ts +1239 -0
  12. package/lib/endpoints/authv2.js +1057 -0
  13. package/lib/endpoints/authv3.d.ts +35 -0
  14. package/lib/endpoints/authv3.js +41 -0
  15. package/lib/endpoints/avatarv1.d.ts +1841 -0
  16. package/lib/endpoints/avatarv1.js +726 -0
  17. package/lib/endpoints/avatarv2.d.ts +1077 -0
  18. package/lib/endpoints/avatarv2.js +316 -0
  19. package/lib/endpoints/avatarv3.d.ts +656 -0
  20. package/lib/endpoints/avatarv3.js +219 -0
  21. package/lib/endpoints/badgesv1.d.ts +641 -0
  22. package/lib/endpoints/badgesv1.js +345 -0
  23. package/lib/endpoints/catalogv1.d.ts +1715 -0
  24. package/lib/endpoints/catalogv1.js +792 -0
  25. package/lib/endpoints/chatv2.d.ts +2179 -0
  26. package/lib/endpoints/chatv2.js +721 -0
  27. package/lib/endpoints/developv1.d.ts +2097 -0
  28. package/lib/endpoints/developv1.js +1537 -0
  29. package/lib/endpoints/developv2.d.ts +619 -0
  30. package/lib/endpoints/developv2.js +316 -0
  31. package/lib/endpoints/economyv1.d.ts +20 -0
  32. package/lib/endpoints/economyv1.js +28 -0
  33. package/lib/endpoints/friendsv1.d.ts +1093 -0
  34. package/lib/endpoints/friendsv1.js +818 -0
  35. package/lib/endpoints/gamesv1.d.ts +2749 -0
  36. package/lib/endpoints/gamesv1.js +1294 -0
  37. package/lib/endpoints/gamesv2.d.ts +582 -0
  38. package/lib/endpoints/gamesv2.js +258 -0
  39. package/lib/endpoints/groupsv1.d.ts +5528 -0
  40. package/lib/endpoints/groupsv1.js +2434 -0
  41. package/lib/endpoints/groupsv2.d.ts +530 -0
  42. package/lib/endpoints/groupsv2.js +201 -0
  43. package/lib/endpoints/inventoryv1.d.ts +436 -0
  44. package/lib/endpoints/inventoryv1.js +434 -0
  45. package/lib/endpoints/inventoryv2.d.ts +256 -0
  46. package/lib/endpoints/inventoryv2.js +241 -0
  47. package/lib/endpoints/presencev1.d.ts +134 -0
  48. package/lib/endpoints/presencev1.js +93 -0
  49. package/lib/endpoints/privatemessagesv1.d.ts +620 -0
  50. package/lib/endpoints/privatemessagesv1.js +338 -0
  51. package/lib/endpoints/thumbnailsv1.d.ts +897 -0
  52. package/lib/endpoints/thumbnailsv1.js +560 -0
  53. package/lib/endpoints/tradesv1.d.ts +473 -0
  54. package/lib/endpoints/tradesv1.js +403 -0
  55. package/lib/endpoints/translationsv1.d.ts +80 -0
  56. package/lib/endpoints/translationsv1.js +122 -0
  57. package/lib/endpoints/usersv1.d.ts +391 -0
  58. package/lib/endpoints/usersv1.js +344 -0
  59. package/lib/index.d.ts +85 -0
  60. package/lib/index.js +293 -0
  61. package/package.json +39 -0
  62. package/readme.md +99 -0
@@ -0,0 +1,560 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getV1usersoutfits = exports.getV1usersoutfit3d = exports.getV1usersavatarHeadshot = exports.getV1usersavatarBust = exports.getV1usersavatar3d = exports.getV1usersavatar = exports.getV1placesgameicons = exports.getV1metadata = exports.getV1groupsicons = exports.getV1gamesmultigetthumbnails = exports.getV1gamesicons = exports.getV1gamesUniverseIdthumbnails = exports.getV1gamePasses = exports.getV1developerProductsicons = exports.getV1bundlesthumbnails = exports.postV1batch = exports.getV1badgesicons = exports.getV1assetsThumbnail3d = exports.getV1assets = exports.getV1assetThumbnailAnimated = void 0;
4
+ var zod_1 = require("zod");
5
+ var Roblox_Web_Responses_Thumbnails_ThumbnailResponse = zod_1.z
6
+ .object({
7
+ targetId: zod_1.z.number().int(),
8
+ state: zod_1.z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
9
+ imageUrl: zod_1.z.string(),
10
+ })
11
+ .partial();
12
+ var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_ = zod_1.z
13
+ .object({
14
+ data: zod_1.z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
15
+ })
16
+ .partial();
17
+ var Roblox_Web_WebAPI_Models_ApiErrorModel = zod_1.z
18
+ .object({
19
+ code: zod_1.z.number().int(),
20
+ message: zod_1.z.string(),
21
+ userFacingMessage: zod_1.z.string(),
22
+ field: zod_1.z.string(),
23
+ fieldData: zod_1.z.unknown(),
24
+ })
25
+ .partial();
26
+ var Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse = zod_1.z
27
+ .object({
28
+ universeId: zod_1.z.number().int(),
29
+ error: Roblox_Web_WebAPI_Models_ApiErrorModel,
30
+ thumbnails: zod_1.z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
31
+ })
32
+ .partial();
33
+ var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_ = zod_1.z
34
+ .object({
35
+ data: zod_1.z.array(Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse),
36
+ })
37
+ .partial();
38
+ var Roblox_Thumbnails_Api_Models_ThumbnailMetaDataResponse = zod_1.z
39
+ .object({
40
+ isWebappUseCacheEnabled: zod_1.z.boolean(),
41
+ webappCacheExpirationTimspan: zod_1.z.string(),
42
+ })
43
+ .partial();
44
+ var Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = zod_1.z
45
+ .object({
46
+ requestId: zod_1.z.string(),
47
+ targetId: zod_1.z.number().int(),
48
+ token: zod_1.z.string(),
49
+ alias: zod_1.z.string(),
50
+ type: zod_1.z.enum([
51
+ 'Avatar',
52
+ 'AvatarHeadShot',
53
+ 'GameIcon',
54
+ 'BadgeIcon',
55
+ 'GameThumbnail',
56
+ 'GamePass',
57
+ 'Asset',
58
+ 'BundleThumbnail',
59
+ 'Outfit',
60
+ 'GroupIcon',
61
+ 'DeveloperProduct',
62
+ 'AvatarBust',
63
+ 'AutoGeneratedAsset',
64
+ 'PlaceIcon',
65
+ 'AutoGeneratedGameIcon',
66
+ 'ForceAutoGeneratedGameIcon',
67
+ ]),
68
+ size: zod_1.z.string(),
69
+ format: zod_1.z.string(),
70
+ isCircular: zod_1.z.boolean(),
71
+ })
72
+ .partial();
73
+ var Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse = zod_1.z
74
+ .object({
75
+ requestId: zod_1.z.string(),
76
+ errorCode: zod_1.z.number().int(),
77
+ errorMessage: zod_1.z.string(),
78
+ targetId: zod_1.z.number().int(),
79
+ state: zod_1.z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
80
+ imageUrl: zod_1.z.string(),
81
+ })
82
+ .partial();
83
+ var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_ = zod_1.z
84
+ .object({
85
+ data: zod_1.z.array(Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse),
86
+ })
87
+ .partial();
88
+ var schemas = {
89
+ Roblox_Web_Responses_Thumbnails_ThumbnailResponse: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
90
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
91
+ Roblox_Web_WebAPI_Models_ApiErrorModel: Roblox_Web_WebAPI_Models_ApiErrorModel,
92
+ Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse: Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse,
93
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_,
94
+ Roblox_Thumbnails_Api_Models_ThumbnailMetaDataResponse: Roblox_Thumbnails_Api_Models_ThumbnailMetaDataResponse,
95
+ Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest: Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest,
96
+ Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse: Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse,
97
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_,
98
+ };
99
+ exports.getV1assetThumbnailAnimated = {
100
+ method: 'get',
101
+ path: '/v1/asset-thumbnail-animated',
102
+ baseUrl: 'https://thumbnails.roblox.com',
103
+ requestFormat: 'json',
104
+ parameters: {
105
+ assetId: zod_1.z.number().int(),
106
+ },
107
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
108
+ errors: [
109
+ {
110
+ status: 400,
111
+ description: "4: The requested Ids are invalid, of an invalid type or missing.",
112
+ schema: zod_1.z.void(),
113
+ },
114
+ ],
115
+ };
116
+ exports.getV1assets = {
117
+ method: 'get',
118
+ path: '/v1/assets',
119
+ baseUrl: 'https://thumbnails.roblox.com',
120
+ requestFormat: 'json',
121
+ parameters: {
122
+ assetIds: zod_1.z.array(zod_1.z.number()),
123
+ returnPolicy: zod_1.z.enum(['PlaceHolder', 'AutoGenerated', 'ForceAutoGenerated']).optional().default('PlaceHolder'),
124
+ size: zod_1.z
125
+ .enum([
126
+ '30x30',
127
+ '42x42',
128
+ '50x50',
129
+ '60x62',
130
+ '75x75',
131
+ '110x110',
132
+ '140x140',
133
+ '150x150',
134
+ '160x100',
135
+ '160x600',
136
+ '250x250',
137
+ '256x144',
138
+ '300x250',
139
+ '304x166',
140
+ '384x216',
141
+ '396x216',
142
+ '420x420',
143
+ '480x270',
144
+ '512x512',
145
+ '576x324',
146
+ '700x700',
147
+ '728x90',
148
+ '768x432',
149
+ '1200x80',
150
+ ])
151
+ .optional()
152
+ .default('30x30'),
153
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
154
+ isCircular: zod_1.z.boolean().optional().default(false),
155
+ },
156
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
157
+ errors: [
158
+ {
159
+ status: 400,
160
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n8: The requested return policy is invalid (must be PlaceHolder, AutoGenerated or ForceAutoGenerated).\n10: Circular thumbnail requests are not allowed",
161
+ schema: zod_1.z.void(),
162
+ },
163
+ {
164
+ status: 403,
165
+ description: "9: User not authorized to use AutoGenerated or ForceAutoGenerated return policies.",
166
+ schema: zod_1.z.void(),
167
+ },
168
+ ],
169
+ };
170
+ exports.getV1assetsThumbnail3d = {
171
+ method: 'get',
172
+ path: '/v1/assets-thumbnail-3d',
173
+ baseUrl: 'https://thumbnails.roblox.com',
174
+ requestFormat: 'json',
175
+ parameters: {
176
+ assetId: zod_1.z.number().int(),
177
+ },
178
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
179
+ errors: [
180
+ {
181
+ status: 400,
182
+ description: "4: The requested Ids are invalid, of an invalid type or missing.",
183
+ schema: zod_1.z.void(),
184
+ },
185
+ ],
186
+ };
187
+ exports.getV1badgesicons = {
188
+ method: 'get',
189
+ path: '/v1/badges/icons',
190
+ baseUrl: 'https://thumbnails.roblox.com',
191
+ requestFormat: 'json',
192
+ parameters: {
193
+ badgeIds: zod_1.z.array(zod_1.z.number()),
194
+ size: zod_1.z.literal('150x150').optional().default('150x150'),
195
+ format: zod_1.z.literal('Png').optional().default('Png'),
196
+ isCircular: zod_1.z.boolean().optional().default(false),
197
+ },
198
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
199
+ errors: [
200
+ {
201
+ status: 400,
202
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
203
+ schema: zod_1.z.void(),
204
+ },
205
+ ],
206
+ };
207
+ exports.postV1batch = {
208
+ method: 'post',
209
+ path: '/v1/batch',
210
+ baseUrl: 'https://thumbnails.roblox.com',
211
+ requestFormat: 'json',
212
+ parameters: {
213
+ body: zod_1.z.array(Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest),
214
+ },
215
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_,
216
+ errors: [
217
+ {
218
+ status: 400,
219
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n7: The specified type is not supported by the batch endpoint",
220
+ schema: zod_1.z.void(),
221
+ },
222
+ {
223
+ status: 403,
224
+ description: "9: User not authorized to use AutoGenerated or ForceAutoGenerated return policies.",
225
+ schema: zod_1.z.void(),
226
+ },
227
+ ],
228
+ };
229
+ exports.getV1bundlesthumbnails = {
230
+ method: 'get',
231
+ path: '/v1/bundles/thumbnails',
232
+ baseUrl: 'https://thumbnails.roblox.com',
233
+ requestFormat: 'json',
234
+ parameters: {
235
+ bundleIds: zod_1.z.array(zod_1.z.number()),
236
+ size: zod_1.z.enum(['150x150', '420x420']).optional().default('150x150'),
237
+ format: zod_1.z.literal('Png').optional().default('Png'),
238
+ isCircular: zod_1.z.boolean().optional().default(false),
239
+ },
240
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
241
+ errors: [
242
+ {
243
+ status: 400,
244
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
245
+ schema: zod_1.z.void(),
246
+ },
247
+ ],
248
+ };
249
+ exports.getV1developerProductsicons = {
250
+ method: 'get',
251
+ path: '/v1/developer-products/icons',
252
+ baseUrl: 'https://thumbnails.roblox.com',
253
+ requestFormat: 'json',
254
+ parameters: {
255
+ developerProductIds: zod_1.z.array(zod_1.z.number()),
256
+ size: zod_1.z.enum(['150x150', '420x420']).optional().default('150x150'),
257
+ format: zod_1.z.literal('Png').optional().default('Png'),
258
+ isCircular: zod_1.z.boolean().optional().default(false),
259
+ },
260
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
261
+ errors: [
262
+ {
263
+ status: 400,
264
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
265
+ schema: zod_1.z.void(),
266
+ },
267
+ ],
268
+ };
269
+ exports.getV1gamePasses = {
270
+ method: 'get',
271
+ path: '/v1/game-passes',
272
+ baseUrl: 'https://thumbnails.roblox.com',
273
+ requestFormat: 'json',
274
+ parameters: {
275
+ gamePassIds: zod_1.z.array(zod_1.z.number()),
276
+ size: zod_1.z.literal('150x150').optional().default('150x150'),
277
+ format: zod_1.z.literal('Png').optional().default('Png'),
278
+ isCircular: zod_1.z.boolean().optional().default(false),
279
+ },
280
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
281
+ errors: [
282
+ {
283
+ status: 400,
284
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
285
+ schema: zod_1.z.void(),
286
+ },
287
+ ],
288
+ };
289
+ exports.getV1gamesUniverseIdthumbnails = {
290
+ method: 'get',
291
+ path: '/v1/games/:universeId/thumbnails',
292
+ baseUrl: 'https://thumbnails.roblox.com',
293
+ requestFormat: 'json',
294
+ parameters: {
295
+ universeId: zod_1.z.number().int(),
296
+ thumbnailIds: zod_1.z.array(zod_1.z.number()),
297
+ size: zod_1.z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
298
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
299
+ isCircular: zod_1.z.boolean().optional().default(false),
300
+ },
301
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
302
+ errors: [
303
+ {
304
+ status: 400,
305
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
306
+ schema: zod_1.z.void(),
307
+ },
308
+ {
309
+ status: 404,
310
+ description: "5: The requested universe does not exist.",
311
+ schema: zod_1.z.void(),
312
+ },
313
+ ],
314
+ };
315
+ exports.getV1gamesicons = {
316
+ method: 'get',
317
+ path: '/v1/games/icons',
318
+ baseUrl: 'https://thumbnails.roblox.com',
319
+ requestFormat: 'json',
320
+ parameters: {
321
+ universeIds: zod_1.z.array(zod_1.z.number()),
322
+ returnPolicy: zod_1.z.enum(['PlaceHolder', 'AutoGenerated', 'ForceAutoGenerated']).optional().default('PlaceHolder'),
323
+ size: zod_1.z.enum(['50x50', '128x128', '150x150', '256x256', '512x512']).optional().default('50x50'),
324
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
325
+ isCircular: zod_1.z.boolean().optional().default(false),
326
+ },
327
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
328
+ errors: [
329
+ {
330
+ status: 400,
331
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n8: The requested return policy is invalid (must be PlaceHolder, AutoGenerated or ForceAutoGenerated).\n10: Circular thumbnail requests are not allowed",
332
+ schema: zod_1.z.void(),
333
+ },
334
+ {
335
+ status: 403,
336
+ description: "9: User not authorized to use AutoGenerated or ForceAutoGenerated return policies.",
337
+ schema: zod_1.z.void(),
338
+ },
339
+ ],
340
+ };
341
+ exports.getV1gamesmultigetthumbnails = {
342
+ method: 'get',
343
+ path: '/v1/games/multiget/thumbnails',
344
+ baseUrl: 'https://thumbnails.roblox.com',
345
+ requestFormat: 'json',
346
+ parameters: {
347
+ universeIds: zod_1.z.array(zod_1.z.number()),
348
+ countPerUniverse: zod_1.z.number().int().optional().default(1),
349
+ defaults: zod_1.z.boolean().optional().default(true),
350
+ size: zod_1.z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
351
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
352
+ isCircular: zod_1.z.boolean().optional().default(false),
353
+ },
354
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_,
355
+ errors: [
356
+ {
357
+ status: 400,
358
+ description: "0: Unknown error\n1: There are too many requested Ids.\n4: The requested Ids are invalid, of an invalid type or missing.\n5: The requested universe does not exist.\n10: Circular thumbnail requests are not allowed",
359
+ schema: zod_1.z.void(),
360
+ },
361
+ ],
362
+ };
363
+ exports.getV1groupsicons = {
364
+ method: 'get',
365
+ path: '/v1/groups/icons',
366
+ baseUrl: 'https://thumbnails.roblox.com',
367
+ requestFormat: 'json',
368
+ parameters: {
369
+ groupIds: zod_1.z.array(zod_1.z.number()),
370
+ size: zod_1.z.enum(['150x150', '420x420']).optional().default('150x150'),
371
+ format: zod_1.z.literal('Png').optional().default('Png'),
372
+ isCircular: zod_1.z.boolean().optional().default(false),
373
+ },
374
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
375
+ errors: [
376
+ {
377
+ status: 400,
378
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
379
+ schema: zod_1.z.void(),
380
+ },
381
+ ],
382
+ };
383
+ exports.getV1metadata = {
384
+ method: 'get',
385
+ path: '/v1/metadata',
386
+ baseUrl: 'https://thumbnails.roblox.com',
387
+ requestFormat: 'json',
388
+ response: Roblox_Thumbnails_Api_Models_ThumbnailMetaDataResponse,
389
+ errors: [],
390
+ };
391
+ exports.getV1placesgameicons = {
392
+ method: 'get',
393
+ path: '/v1/places/gameicons',
394
+ baseUrl: 'https://thumbnails.roblox.com',
395
+ requestFormat: 'json',
396
+ parameters: {
397
+ placeIds: zod_1.z.array(zod_1.z.number()),
398
+ returnPolicy: zod_1.z.enum(['PlaceHolder', 'AutoGenerated', 'ForceAutoGenerated']).optional().default('PlaceHolder'),
399
+ size: zod_1.z.enum(['50x50', '128x128', '150x150', '256x256', '512x512']).optional().default('50x50'),
400
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
401
+ isCircular: zod_1.z.boolean().optional().default(false),
402
+ },
403
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
404
+ errors: [
405
+ {
406
+ status: 400,
407
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n8: The requested return policy is invalid (must be PlaceHolder, AutoGenerated or ForceAutoGenerated).\n10: Circular thumbnail requests are not allowed",
408
+ schema: zod_1.z.void(),
409
+ },
410
+ {
411
+ status: 403,
412
+ description: "9: User not authorized to use AutoGenerated or ForceAutoGenerated return policies.",
413
+ schema: zod_1.z.void(),
414
+ },
415
+ ],
416
+ };
417
+ exports.getV1usersavatar = {
418
+ method: 'get',
419
+ path: '/v1/users/avatar',
420
+ baseUrl: 'https://thumbnails.roblox.com',
421
+ requestFormat: 'json',
422
+ parameters: {
423
+ userIds: zod_1.z.array(zod_1.z.number()),
424
+ size: zod_1.z
425
+ .enum([
426
+ '30x30',
427
+ '48x48',
428
+ '60x60',
429
+ '75x75',
430
+ '100x100',
431
+ '110x110',
432
+ '140x140',
433
+ '150x150',
434
+ '150x200',
435
+ '180x180',
436
+ '250x250',
437
+ '352x352',
438
+ '420x420',
439
+ '720x720',
440
+ ])
441
+ .optional()
442
+ .default('30x30'),
443
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
444
+ isCircular: zod_1.z.boolean().optional().default(false),
445
+ },
446
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
447
+ errors: [
448
+ {
449
+ status: 400,
450
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
451
+ schema: zod_1.z.void(),
452
+ },
453
+ ],
454
+ };
455
+ exports.getV1usersavatar3d = {
456
+ method: 'get',
457
+ path: '/v1/users/avatar-3d',
458
+ baseUrl: 'https://thumbnails.roblox.com',
459
+ requestFormat: 'json',
460
+ parameters: {
461
+ userId: zod_1.z.number().int(),
462
+ },
463
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
464
+ errors: [
465
+ {
466
+ status: 400,
467
+ description: "4: The requested Ids are invalid, of an invalid type or missing.",
468
+ schema: zod_1.z.void(),
469
+ },
470
+ ],
471
+ };
472
+ exports.getV1usersavatarBust = {
473
+ method: 'get',
474
+ path: '/v1/users/avatar-bust',
475
+ baseUrl: 'https://thumbnails.roblox.com',
476
+ requestFormat: 'json',
477
+ parameters: {
478
+ userIds: zod_1.z.array(zod_1.z.number()),
479
+ size: zod_1.z
480
+ .enum(['48x48', '50x50', '60x60', '75x75', '100x100', '150x150', '180x180', '352x352', '420x420'])
481
+ .optional()
482
+ .default('48x48'),
483
+ format: zod_1.z.literal('Png').optional().default('Png'),
484
+ isCircular: zod_1.z.boolean().optional().default(false),
485
+ },
486
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
487
+ errors: [
488
+ {
489
+ status: 400,
490
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
491
+ schema: zod_1.z.void(),
492
+ },
493
+ ],
494
+ };
495
+ exports.getV1usersavatarHeadshot = {
496
+ method: 'get',
497
+ path: '/v1/users/avatar-headshot',
498
+ baseUrl: 'https://thumbnails.roblox.com',
499
+ requestFormat: 'json',
500
+ parameters: {
501
+ userIds: zod_1.z.array(zod_1.z.number()),
502
+ size: zod_1.z
503
+ .enum([
504
+ '48x48',
505
+ '50x50',
506
+ '60x60',
507
+ '75x75',
508
+ '100x100',
509
+ '110x110',
510
+ '150x150',
511
+ '180x180',
512
+ '352x352',
513
+ '420x420',
514
+ '720x720',
515
+ ])
516
+ .optional()
517
+ .default('48x48'),
518
+ format: zod_1.z.enum(['Png', 'Jpeg']).optional().default('Png'),
519
+ isCircular: zod_1.z.boolean().optional().default(false),
520
+ },
521
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
522
+ errors: [
523
+ {
524
+ status: 400,
525
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
526
+ schema: zod_1.z.void(),
527
+ },
528
+ ],
529
+ };
530
+ exports.getV1usersoutfit3d = {
531
+ method: 'get',
532
+ path: '/v1/users/outfit-3d',
533
+ baseUrl: 'https://thumbnails.roblox.com',
534
+ requestFormat: 'json',
535
+ parameters: {
536
+ outfitId: zod_1.z.number().int(),
537
+ },
538
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
539
+ errors: [],
540
+ };
541
+ exports.getV1usersoutfits = {
542
+ method: 'get',
543
+ path: '/v1/users/outfits',
544
+ baseUrl: 'https://thumbnails.roblox.com',
545
+ requestFormat: 'json',
546
+ parameters: {
547
+ userOutfitIds: zod_1.z.array(zod_1.z.number()),
548
+ size: zod_1.z.enum(['150x150', '420x420']).optional().default('150x150'),
549
+ format: zod_1.z.literal('Png').optional().default('Png'),
550
+ isCircular: zod_1.z.boolean().optional().default(false),
551
+ },
552
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
553
+ errors: [
554
+ {
555
+ status: 400,
556
+ description: "1: There are too many requested Ids.\n2: The requested image format is invalid. Please see documentation for valid thumbnail format parameter name and values.\n3: The requested size is invalid. Please see documentation for valid thumbnail size parameter name and format.\n4: The requested Ids are invalid, of an invalid type or missing.\n10: Circular thumbnail requests are not allowed",
557
+ schema: zod_1.z.void(),
558
+ },
559
+ ],
560
+ };