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.
Files changed (53) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  2. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  3. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  4. package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
  5. package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
  6. package/lib/endpoints/authv1.d.ts +479 -521
  7. package/lib/endpoints/authv2.d.ts +209 -221
  8. package/lib/endpoints/authv3.d.ts +32 -35
  9. package/lib/endpoints/avatarv1.d.ts +112 -117
  10. package/lib/endpoints/avatarv2.d.ts +71 -76
  11. package/lib/endpoints/avatarv3.d.ts +27 -33
  12. package/lib/endpoints/badgesv1.d.ts +92 -99
  13. package/lib/endpoints/catalogv1.d.ts +207 -233
  14. package/lib/endpoints/catalogv2.d.ts +81 -119
  15. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  16. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  17. package/lib/endpoints/contactsv1.d.ts +18 -20
  18. package/lib/endpoints/developv1.d.ts +230 -293
  19. package/lib/endpoints/developv2.d.ts +84 -137
  20. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  21. package/lib/endpoints/economyv1.d.ts +6 -6
  22. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  23. package/lib/endpoints/followingsv1.d.ts +33 -34
  24. package/lib/endpoints/followingsv2.d.ts +9 -9
  25. package/lib/endpoints/friendsv1.d.ts +200 -237
  26. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  27. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  28. package/lib/endpoints/gamesv1.d.ts +181 -143
  29. package/lib/endpoints/gamesv2.d.ts +161 -169
  30. package/lib/endpoints/groupsv1.d.ts +938 -988
  31. package/lib/endpoints/groupsv2.d.ts +259 -278
  32. package/lib/endpoints/inventoryv1.d.ts +91 -122
  33. package/lib/endpoints/inventoryv2.d.ts +163 -180
  34. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  35. package/lib/endpoints/localev1.d.ts +47 -48
  36. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  37. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  38. package/lib/endpoints/notificationsv2.d.ts +144 -158
  39. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  40. package/lib/endpoints/presencev1.d.ts +7 -12
  41. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  42. package/lib/endpoints/publishv1.d.ts +32 -32
  43. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  44. package/lib/endpoints/thumbnailsv1.d.ts +325 -326
  45. package/lib/endpoints/thumbnailsv1.js +24 -24
  46. package/lib/endpoints/tradesv1.d.ts +92 -104
  47. package/lib/endpoints/tradesv2.d.ts +81 -84
  48. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  49. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  50. package/lib/endpoints/usersv1.d.ts +110 -114
  51. package/lib/index.d.ts +56 -1
  52. package/lib/index.js +159 -3
  53. package/package.json +2 -2
@@ -1,31 +1,55 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
+ const Roblox_Web_Responses_Thumbnails_ThumbnailResponse = z.object({
5
+ targetId: z.number().int(),
6
+ state: z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
7
+ imageUrl: z.string(),
8
+ version: z.string(),
9
+ });
10
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_ = z.object({
11
+ data: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
12
+ });
13
+ const Roblox_Web_WebAPI_Models_ApiErrorModel = z.object({
14
+ code: z.number().int(),
15
+ message: z.string(),
16
+ userFacingMessage: z.string(),
17
+ field: z.string(),
18
+ fieldData: z.object({}),
19
+ });
20
+ const Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse = z.object({
21
+ universeId: z.number().int(),
22
+ error: Roblox_Web_WebAPI_Models_ApiErrorModel,
23
+ thumbnails: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
24
+ });
25
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_ = z.object({
26
+ data: z.array(Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse),
27
+ });
4
28
  const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
5
29
  requestId: z.string(),
6
30
  targetId: z.number().int(),
7
31
  token: z.string(),
8
32
  alias: z.string(),
9
33
  type: z.enum([
10
- "Avatar",
11
- "AvatarHeadShot",
12
- "GameIcon",
13
- "BadgeIcon",
14
- "GameThumbnail",
15
- "GamePass",
16
- "Asset",
17
- "BundleThumbnail",
18
- "Outfit",
19
- "GroupIcon",
20
- "DeveloperProduct",
21
- "AvatarBust",
22
- "AutoGeneratedAsset",
23
- "PlaceIcon",
24
- "AutoGeneratedGameIcon",
25
- "ForceAutoGeneratedGameIcon",
26
- "Look",
27
- "CreatorContextAsset",
28
- "Screenshot",
34
+ 'Avatar',
35
+ 'AvatarHeadShot',
36
+ 'GameIcon',
37
+ 'BadgeIcon',
38
+ 'GameThumbnail',
39
+ 'GamePass',
40
+ 'Asset',
41
+ 'BundleThumbnail',
42
+ 'Outfit',
43
+ 'GroupIcon',
44
+ 'DeveloperProduct',
45
+ 'AvatarBust',
46
+ 'AutoGeneratedAsset',
47
+ 'PlaceIcon',
48
+ 'AutoGeneratedGameIcon',
49
+ 'ForceAutoGeneratedGameIcon',
50
+ 'Look',
51
+ 'CreatorContextAsset',
52
+ 'Screenshot',
29
53
  ]),
30
54
  size: z.string(),
31
55
  format: z.string(),
@@ -34,6 +58,18 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
34
58
  headShape: z.string(),
35
59
  includeBackground: z.boolean(),
36
60
  });
61
+ const Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse = z.object({
62
+ requestId: z.string(),
63
+ errorCode: z.number().int(),
64
+ errorMessage: z.string(),
65
+ targetId: z.number().int(),
66
+ state: z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
67
+ imageUrl: z.string(),
68
+ version: z.string(),
69
+ });
70
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_ = z.object({
71
+ data: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse),
72
+ });
37
73
 
38
74
  /**
39
75
  * @api GET https://thumbnails.roblox.com/v1/asset-thumbnail-animated
@@ -42,24 +78,24 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
42
78
  * @param Roblox-Place-Id (optional) placeid
43
79
  */
44
80
  export const getAssetThumbnailAnimated = endpoint({
45
- method: "GET",
46
- path: "/v1/asset-thumbnail-animated",
47
- baseUrl: "https://thumbnails.roblox.com",
48
- requestFormat: "json",
81
+ method: 'GET',
82
+ path: '/v1/asset-thumbnail-animated',
83
+ baseUrl: 'https://thumbnails.roblox.com',
84
+ requestFormat: 'json',
49
85
  serializationMethod: {
50
86
  assetId: {
51
- style: "form",
87
+ style: 'form',
52
88
  explode: true,
53
89
  },
54
- "Roblox-Place-Id": {
55
- style: "simple",
90
+ 'Roblox-Place-Id': {
91
+ style: 'simple',
56
92
  },
57
93
  },
58
94
  parameters: {
59
95
  assetId: z.number().int(),
60
- "Roblox-Place-Id": z.number().int().optional(),
96
+ 'Roblox-Place-Id': z.number().int().optional(),
61
97
  },
62
- response: z.void(),
98
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
63
99
  errors: [
64
100
  {
65
101
  status: 400,
@@ -78,85 +114,80 @@ export const getAssetThumbnailAnimated = endpoint({
78
114
  * @param isCircular The circle thumbnail output parameter, true or false
79
115
  */
80
116
  export const getAssets = endpoint({
81
- method: "GET",
82
- path: "/v1/assets",
83
- baseUrl: "https://thumbnails.roblox.com",
84
- requestFormat: "json",
117
+ method: 'GET',
118
+ path: '/v1/assets',
119
+ baseUrl: 'https://thumbnails.roblox.com',
120
+ requestFormat: 'json',
85
121
  serializationMethod: {
86
122
  assetIds: {
87
- style: "form",
123
+ style: 'form',
88
124
  },
89
- "Roblox-Place-Id": {
90
- style: "simple",
125
+ 'Roblox-Place-Id': {
126
+ style: 'simple',
91
127
  },
92
128
  returnPolicy: {
93
- style: "form",
129
+ style: 'form',
94
130
  explode: true,
95
131
  },
96
132
  size: {
97
- style: "form",
133
+ style: 'form',
98
134
  explode: true,
99
135
  },
100
136
  format: {
101
- style: "form",
137
+ style: 'form',
102
138
  explode: true,
103
139
  },
104
140
  isCircular: {
105
- style: "form",
141
+ style: 'form',
106
142
  explode: true,
107
143
  },
108
144
  },
109
145
  parameters: {
110
146
  assetIds: z.array(z.number()),
111
- "Roblox-Place-Id": z.number().int().optional(),
147
+ 'Roblox-Place-Id': z.number().int().optional(),
112
148
  returnPolicy: z
113
- .enum([
114
- "PlaceHolder",
115
- "ForcePlaceHolder",
116
- "AutoGenerated",
117
- "ForceAutoGenerated",
118
- ])
149
+ .enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
119
150
  .optional()
120
- .default("PlaceHolder"),
151
+ .default('PlaceHolder'),
121
152
  size: z
122
153
  .enum([
123
- "30x30",
124
- "42x42",
125
- "50x50",
126
- "60x62",
127
- "75x75",
128
- "110x110",
129
- "140x140",
130
- "150x150",
131
- "160x100",
132
- "160x600",
133
- "250x250",
134
- "256x144",
135
- "300x250",
136
- "304x166",
137
- "384x216",
138
- "396x216",
139
- "420x420",
140
- "480x270",
141
- "512x512",
142
- "576x324",
143
- "700x700",
144
- "728x90",
145
- "768x432",
146
- "1200x80",
147
- "330x110",
148
- "660x220",
149
- "1320x440",
150
- "720x228",
151
- "1440x456",
152
- "930x480",
154
+ '30x30',
155
+ '42x42',
156
+ '50x50',
157
+ '60x62',
158
+ '75x75',
159
+ '110x110',
160
+ '140x140',
161
+ '150x150',
162
+ '160x100',
163
+ '160x600',
164
+ '250x250',
165
+ '256x144',
166
+ '300x250',
167
+ '304x166',
168
+ '384x216',
169
+ '396x216',
170
+ '420x420',
171
+ '480x270',
172
+ '512x512',
173
+ '576x324',
174
+ '700x700',
175
+ '728x90',
176
+ '768x432',
177
+ '1200x80',
178
+ '330x110',
179
+ '660x220',
180
+ '1320x440',
181
+ '720x228',
182
+ '1440x456',
183
+ '930x480',
153
184
  ])
154
185
  .optional()
155
- .default("30x30"),
156
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
186
+ .default('30x30'),
187
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
157
188
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
158
189
  },
159
- response: z.void(),
190
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
160
191
  errors: [
161
192
  {
162
193
  status: 400,
@@ -181,29 +212,29 @@ export const getAssets = endpoint({
181
212
  * @param Roblox-Place-Id (optional) placeid
182
213
  */
183
214
  export const getAssetsThumbnail3d = endpoint({
184
- method: "GET",
185
- path: "/v1/assets-thumbnail-3d",
186
- baseUrl: "https://thumbnails.roblox.com",
187
- requestFormat: "json",
215
+ method: 'GET',
216
+ path: '/v1/assets-thumbnail-3d',
217
+ baseUrl: 'https://thumbnails.roblox.com',
218
+ requestFormat: 'json',
188
219
  serializationMethod: {
189
220
  assetId: {
190
- style: "form",
221
+ style: 'form',
191
222
  explode: true,
192
223
  },
193
224
  useGltf: {
194
- style: "form",
225
+ style: 'form',
195
226
  explode: true,
196
227
  },
197
- "Roblox-Place-Id": {
198
- style: "simple",
228
+ 'Roblox-Place-Id': {
229
+ style: 'simple',
199
230
  },
200
231
  },
201
232
  parameters: {
202
233
  assetId: z.number().int(),
203
234
  useGltf: z.boolean().optional(),
204
- "Roblox-Place-Id": z.number().int().optional(),
235
+ 'Roblox-Place-Id': z.number().int().optional(),
205
236
  },
206
- response: z.void(),
237
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
207
238
  errors: [
208
239
  {
209
240
  status: 400,
@@ -220,34 +251,34 @@ export const getAssetsThumbnail3d = endpoint({
220
251
  * @param isCircular The circle thumbnail output parameter, true or false
221
252
  */
222
253
  export const getBadgesIcons = endpoint({
223
- method: "GET",
224
- path: "/v1/badges/icons",
225
- baseUrl: "https://thumbnails.roblox.com",
226
- requestFormat: "json",
254
+ method: 'GET',
255
+ path: '/v1/badges/icons',
256
+ baseUrl: 'https://thumbnails.roblox.com',
257
+ requestFormat: 'json',
227
258
  serializationMethod: {
228
259
  badgeIds: {
229
- style: "form",
260
+ style: 'form',
230
261
  },
231
262
  size: {
232
- style: "form",
263
+ style: 'form',
233
264
  explode: true,
234
265
  },
235
266
  format: {
236
- style: "form",
267
+ style: 'form',
237
268
  explode: true,
238
269
  },
239
270
  isCircular: {
240
- style: "form",
271
+ style: 'form',
241
272
  explode: true,
242
273
  },
243
274
  },
244
275
  parameters: {
245
276
  badgeIds: z.array(z.number()),
246
- size: z.literal("150x150").optional().default("150x150"),
247
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
277
+ size: z.literal('150x150').optional().default('150x150'),
278
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
248
279
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
249
280
  },
250
- response: z.void(),
281
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
251
282
  errors: [
252
283
  {
253
284
  status: 400,
@@ -285,21 +316,21 @@ export const getBadgesIcons = endpoint({
285
316
  * @param Roblox-Place-Id (optional) placeid
286
317
  */
287
318
  export const postBatch = endpoint({
288
- method: "POST",
289
- path: "/v1/batch",
290
- baseUrl: "https://thumbnails.roblox.com",
291
- requestFormat: "json",
319
+ method: 'POST',
320
+ path: '/v1/batch',
321
+ baseUrl: 'https://thumbnails.roblox.com',
322
+ requestFormat: 'json',
292
323
  serializationMethod: {
293
324
  body: {},
294
- "Roblox-Place-Id": {
295
- style: "simple",
325
+ 'Roblox-Place-Id': {
326
+ style: 'simple',
296
327
  },
297
328
  },
298
329
  parameters: {
299
- "Roblox-Place-Id": z.number().int().optional(),
330
+ 'Roblox-Place-Id': z.number().int().optional(),
300
331
  },
301
332
  body: z.array(Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest),
302
- response: z.void(),
333
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_,
303
334
  errors: [
304
335
  {
305
336
  status: 400,
@@ -324,34 +355,34 @@ export const postBatch = endpoint({
324
355
  * @param isCircular The circle thumbnail output parameter, true or false
325
356
  */
326
357
  export const getBundlesThumbnails = endpoint({
327
- method: "GET",
328
- path: "/v1/bundles/thumbnails",
329
- baseUrl: "https://thumbnails.roblox.com",
330
- requestFormat: "json",
358
+ method: 'GET',
359
+ path: '/v1/bundles/thumbnails',
360
+ baseUrl: 'https://thumbnails.roblox.com',
361
+ requestFormat: 'json',
331
362
  serializationMethod: {
332
363
  bundleIds: {
333
- style: "form",
364
+ style: 'form',
334
365
  },
335
366
  size: {
336
- style: "form",
367
+ style: 'form',
337
368
  explode: true,
338
369
  },
339
370
  format: {
340
- style: "form",
371
+ style: 'form',
341
372
  explode: true,
342
373
  },
343
374
  isCircular: {
344
- style: "form",
375
+ style: 'form',
345
376
  explode: true,
346
377
  },
347
378
  },
348
379
  parameters: {
349
380
  bundleIds: z.array(z.number()),
350
- size: z.enum(["150x150", "420x420"]).optional().default("150x150"),
351
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
381
+ size: z.enum(['150x150', '420x420']).optional().default('150x150'),
382
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
352
383
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
353
384
  },
354
- response: z.void(),
385
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
355
386
  errors: [
356
387
  {
357
388
  status: 400,
@@ -372,34 +403,34 @@ export const getBundlesThumbnails = endpoint({
372
403
  * @param isCircular The circle thumbnail output parameter, true or false
373
404
  */
374
405
  export const getDeveloperProductsIcons = endpoint({
375
- method: "GET",
376
- path: "/v1/developer-products/icons",
377
- baseUrl: "https://thumbnails.roblox.com",
378
- requestFormat: "json",
406
+ method: 'GET',
407
+ path: '/v1/developer-products/icons',
408
+ baseUrl: 'https://thumbnails.roblox.com',
409
+ requestFormat: 'json',
379
410
  serializationMethod: {
380
411
  developerProductIds: {
381
- style: "form",
412
+ style: 'form',
382
413
  },
383
414
  size: {
384
- style: "form",
415
+ style: 'form',
385
416
  explode: true,
386
417
  },
387
418
  format: {
388
- style: "form",
419
+ style: 'form',
389
420
  explode: true,
390
421
  },
391
422
  isCircular: {
392
- style: "form",
423
+ style: 'form',
393
424
  explode: true,
394
425
  },
395
426
  },
396
427
  parameters: {
397
428
  developerProductIds: z.array(z.number()),
398
- size: z.enum(["150x150", "420x420"]).optional().default("150x150"),
399
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
429
+ size: z.enum(['150x150', '420x420']).optional().default('150x150'),
430
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
400
431
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
401
432
  },
402
- response: z.void(),
433
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
403
434
  errors: [
404
435
  {
405
436
  status: 400,
@@ -420,34 +451,34 @@ export const getDeveloperProductsIcons = endpoint({
420
451
  * @param isCircular The circle thumbnail output parameter, true or false
421
452
  */
422
453
  export const getGamePasses = endpoint({
423
- method: "GET",
424
- path: "/v1/game-passes",
425
- baseUrl: "https://thumbnails.roblox.com",
426
- requestFormat: "json",
454
+ method: 'GET',
455
+ path: '/v1/game-passes',
456
+ baseUrl: 'https://thumbnails.roblox.com',
457
+ requestFormat: 'json',
427
458
  serializationMethod: {
428
459
  gamePassIds: {
429
- style: "form",
460
+ style: 'form',
430
461
  },
431
462
  size: {
432
- style: "form",
463
+ style: 'form',
433
464
  explode: true,
434
465
  },
435
466
  format: {
436
- style: "form",
467
+ style: 'form',
437
468
  explode: true,
438
469
  },
439
470
  isCircular: {
440
- style: "form",
471
+ style: 'form',
441
472
  explode: true,
442
473
  },
443
474
  },
444
475
  parameters: {
445
476
  gamePassIds: z.array(z.number()),
446
- size: z.literal("150x150").optional().default("150x150"),
447
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
477
+ size: z.literal('150x150').optional().default('150x150'),
478
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
448
479
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
449
480
  },
450
- response: z.void(),
481
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
451
482
  errors: [
452
483
  {
453
484
  status: 400,
@@ -469,41 +500,38 @@ export const getGamePasses = endpoint({
469
500
  * @param isCircular The circle thumbnail output parameter, true or false
470
501
  */
471
502
  export const getGamesUniverseidThumbnails = endpoint({
472
- method: "GET",
473
- path: "/v1/games/:universeId/thumbnails",
474
- baseUrl: "https://thumbnails.roblox.com",
475
- requestFormat: "json",
503
+ method: 'GET',
504
+ path: '/v1/games/:universeId/thumbnails',
505
+ baseUrl: 'https://thumbnails.roblox.com',
506
+ requestFormat: 'json',
476
507
  serializationMethod: {
477
508
  universeId: {
478
- style: "simple",
509
+ style: 'simple',
479
510
  },
480
511
  thumbnailIds: {
481
- style: "form",
512
+ style: 'form',
482
513
  },
483
514
  size: {
484
- style: "form",
515
+ style: 'form',
485
516
  explode: true,
486
517
  },
487
518
  format: {
488
- style: "form",
519
+ style: 'form',
489
520
  explode: true,
490
521
  },
491
522
  isCircular: {
492
- style: "form",
523
+ style: 'form',
493
524
  explode: true,
494
525
  },
495
526
  },
496
527
  parameters: {
497
528
  universeId: z.number().int(),
498
529
  thumbnailIds: z.array(z.number()),
499
- size: z
500
- .enum(["768x432", "576x324", "480x270", "384x216", "256x144"])
501
- .optional()
502
- .default("768x432"),
503
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
530
+ size: z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
531
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
504
532
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
505
533
  },
506
- response: z.void(),
534
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
507
535
  errors: [
508
536
  {
509
537
  status: 400,
@@ -531,50 +559,42 @@ use the 'targetId' of the objects in the result array.
531
559
  * @param isCircular The circle thumbnail output parameter, true or false
532
560
  */
533
561
  export const getGamesIcons = endpoint({
534
- method: "GET",
535
- path: "/v1/games/icons",
536
- baseUrl: "https://thumbnails.roblox.com",
537
- requestFormat: "json",
562
+ method: 'GET',
563
+ path: '/v1/games/icons',
564
+ baseUrl: 'https://thumbnails.roblox.com',
565
+ requestFormat: 'json',
538
566
  serializationMethod: {
539
567
  universeIds: {
540
- style: "form",
568
+ style: 'form',
541
569
  },
542
570
  returnPolicy: {
543
- style: "form",
571
+ style: 'form',
544
572
  explode: true,
545
573
  },
546
574
  size: {
547
- style: "form",
575
+ style: 'form',
548
576
  explode: true,
549
577
  },
550
578
  format: {
551
- style: "form",
579
+ style: 'form',
552
580
  explode: true,
553
581
  },
554
582
  isCircular: {
555
- style: "form",
583
+ style: 'form',
556
584
  explode: true,
557
585
  },
558
586
  },
559
587
  parameters: {
560
588
  universeIds: z.array(z.number()),
561
589
  returnPolicy: z
562
- .enum([
563
- "PlaceHolder",
564
- "ForcePlaceHolder",
565
- "AutoGenerated",
566
- "ForceAutoGenerated",
567
- ])
590
+ .enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
568
591
  .optional()
569
- .default("PlaceHolder"),
570
- size: z
571
- .enum(["50x50", "128x128", "150x150", "256x256", "420x420", "512x512"])
572
- .optional()
573
- .default("50x50"),
574
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
592
+ .default('PlaceHolder'),
593
+ size: z.enum(['50x50', '128x128', '150x150', '256x256', '420x420', '512x512']).optional().default('50x50'),
594
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
575
595
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
576
596
  },
577
- response: z.void(),
597
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
578
598
  errors: [
579
599
  {
580
600
  status: 400,
@@ -602,32 +622,32 @@ export const getGamesIcons = endpoint({
602
622
  * @param isCircular The circle thumbnail output parameter, true or false
603
623
  */
604
624
  export const getGamesMultigetThumbnails = endpoint({
605
- method: "GET",
606
- path: "/v1/games/multiget/thumbnails",
607
- baseUrl: "https://thumbnails.roblox.com",
608
- requestFormat: "json",
625
+ method: 'GET',
626
+ path: '/v1/games/multiget/thumbnails',
627
+ baseUrl: 'https://thumbnails.roblox.com',
628
+ requestFormat: 'json',
609
629
  serializationMethod: {
610
630
  universeIds: {
611
- style: "form",
631
+ style: 'form',
612
632
  },
613
633
  countPerUniverse: {
614
- style: "form",
634
+ style: 'form',
615
635
  explode: true,
616
636
  },
617
637
  defaults: {
618
- style: "form",
638
+ style: 'form',
619
639
  explode: true,
620
640
  },
621
641
  size: {
622
- style: "form",
642
+ style: 'form',
623
643
  explode: true,
624
644
  },
625
645
  format: {
626
- style: "form",
646
+ style: 'form',
627
647
  explode: true,
628
648
  },
629
649
  isCircular: {
630
- style: "form",
650
+ style: 'form',
631
651
  explode: true,
632
652
  },
633
653
  },
@@ -635,14 +655,11 @@ export const getGamesMultigetThumbnails = endpoint({
635
655
  universeIds: z.array(z.number()),
636
656
  countPerUniverse: z.number().int().optional().default(1),
637
657
  defaults: z.boolean().optional().default(true),
638
- size: z
639
- .enum(["768x432", "576x324", "480x270", "384x216", "256x144"])
640
- .optional()
641
- .default("768x432"),
642
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
658
+ size: z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
659
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
643
660
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
644
661
  },
645
- response: z.void(),
662
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_,
646
663
  errors: [
647
664
  {
648
665
  status: 400,
@@ -663,34 +680,34 @@ export const getGamesMultigetThumbnails = endpoint({
663
680
  * @param isCircular The circle thumbnail output parameter, true or false
664
681
  */
665
682
  export const getGroupsIcons = endpoint({
666
- method: "GET",
667
- path: "/v1/groups/icons",
668
- baseUrl: "https://thumbnails.roblox.com",
669
- requestFormat: "json",
683
+ method: 'GET',
684
+ path: '/v1/groups/icons',
685
+ baseUrl: 'https://thumbnails.roblox.com',
686
+ requestFormat: 'json',
670
687
  serializationMethod: {
671
688
  groupIds: {
672
- style: "form",
689
+ style: 'form',
673
690
  },
674
691
  size: {
675
- style: "form",
692
+ style: 'form',
676
693
  explode: true,
677
694
  },
678
695
  format: {
679
- style: "form",
696
+ style: 'form',
680
697
  explode: true,
681
698
  },
682
699
  isCircular: {
683
- style: "form",
700
+ style: 'form',
684
701
  explode: true,
685
702
  },
686
703
  },
687
704
  parameters: {
688
705
  groupIds: z.array(z.number()),
689
- size: z.enum(["150x150", "420x420"]).optional().default("150x150"),
690
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
706
+ size: z.enum(['150x150', '420x420']).optional().default('150x150'),
707
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
691
708
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
692
709
  },
693
- response: z.void(),
710
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
694
711
  errors: [
695
712
  {
696
713
  status: 400,
@@ -712,50 +729,42 @@ export const getGroupsIcons = endpoint({
712
729
  * @param isCircular The circle thumbnail output parameter, true or false
713
730
  */
714
731
  export const getPlacesGameicons = endpoint({
715
- method: "GET",
716
- path: "/v1/places/gameicons",
717
- baseUrl: "https://thumbnails.roblox.com",
718
- requestFormat: "json",
732
+ method: 'GET',
733
+ path: '/v1/places/gameicons',
734
+ baseUrl: 'https://thumbnails.roblox.com',
735
+ requestFormat: 'json',
719
736
  serializationMethod: {
720
737
  placeIds: {
721
- style: "form",
738
+ style: 'form',
722
739
  },
723
740
  returnPolicy: {
724
- style: "form",
741
+ style: 'form',
725
742
  explode: true,
726
743
  },
727
744
  size: {
728
- style: "form",
745
+ style: 'form',
729
746
  explode: true,
730
747
  },
731
748
  format: {
732
- style: "form",
749
+ style: 'form',
733
750
  explode: true,
734
751
  },
735
752
  isCircular: {
736
- style: "form",
753
+ style: 'form',
737
754
  explode: true,
738
755
  },
739
756
  },
740
757
  parameters: {
741
758
  placeIds: z.array(z.number()),
742
759
  returnPolicy: z
743
- .enum([
744
- "PlaceHolder",
745
- "ForcePlaceHolder",
746
- "AutoGenerated",
747
- "ForceAutoGenerated",
748
- ])
749
- .optional()
750
- .default("PlaceHolder"),
751
- size: z
752
- .enum(["50x50", "128x128", "150x150", "256x256", "420x420", "512x512"])
760
+ .enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
753
761
  .optional()
754
- .default("50x50"),
755
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
762
+ .default('PlaceHolder'),
763
+ size: z.enum(['50x50', '128x128', '150x150', '256x256', '420x420', '512x512']).optional().default('50x50'),
764
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
756
765
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
757
766
  },
758
- response: z.void(),
767
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
759
768
  errors: [
760
769
  {
761
770
  status: 400,
@@ -782,28 +791,28 @@ export const getPlacesGameicons = endpoint({
782
791
  * @param isCircular The circle thumbnail output parameter, true or false
783
792
  */
784
793
  export const getUsersAvatar = endpoint({
785
- method: "GET",
786
- path: "/v1/users/avatar",
787
- baseUrl: "https://thumbnails.roblox.com",
788
- requestFormat: "json",
794
+ method: 'GET',
795
+ path: '/v1/users/avatar',
796
+ baseUrl: 'https://thumbnails.roblox.com',
797
+ requestFormat: 'json',
789
798
  serializationMethod: {
790
799
  userIds: {
791
- style: "form",
800
+ style: 'form',
792
801
  },
793
802
  includeBackground: {
794
- style: "form",
803
+ style: 'form',
795
804
  explode: true,
796
805
  },
797
806
  size: {
798
- style: "form",
807
+ style: 'form',
799
808
  explode: true,
800
809
  },
801
810
  format: {
802
- style: "form",
811
+ style: 'form',
803
812
  explode: true,
804
813
  },
805
814
  isCircular: {
806
- style: "form",
815
+ style: 'form',
807
816
  explode: true,
808
817
  },
809
818
  },
@@ -812,27 +821,27 @@ export const getUsersAvatar = endpoint({
812
821
  includeBackground: z.boolean().optional(),
813
822
  size: z
814
823
  .enum([
815
- "30x30",
816
- "48x48",
817
- "60x60",
818
- "75x75",
819
- "100x100",
820
- "110x110",
821
- "140x140",
822
- "150x150",
823
- "150x200",
824
- "180x180",
825
- "250x250",
826
- "352x352",
827
- "420x420",
828
- "720x720",
824
+ '30x30',
825
+ '48x48',
826
+ '60x60',
827
+ '75x75',
828
+ '100x100',
829
+ '110x110',
830
+ '140x140',
831
+ '150x150',
832
+ '150x200',
833
+ '180x180',
834
+ '250x250',
835
+ '352x352',
836
+ '420x420',
837
+ '720x720',
829
838
  ])
830
839
  .optional()
831
- .default("30x30"),
832
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
840
+ .default('30x30'),
841
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
833
842
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
834
843
  },
835
- response: z.void(),
844
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
836
845
  errors: [
837
846
  {
838
847
  status: 400,
@@ -850,20 +859,20 @@ export const getUsersAvatar = endpoint({
850
859
  * @param userId user Id for avatar
851
860
  */
852
861
  export const getUsersAvatar3d = endpoint({
853
- method: "GET",
854
- path: "/v1/users/avatar-3d",
855
- baseUrl: "https://thumbnails.roblox.com",
856
- requestFormat: "json",
862
+ method: 'GET',
863
+ path: '/v1/users/avatar-3d',
864
+ baseUrl: 'https://thumbnails.roblox.com',
865
+ requestFormat: 'json',
857
866
  serializationMethod: {
858
867
  userId: {
859
- style: "form",
868
+ style: 'form',
860
869
  explode: true,
861
870
  },
862
871
  },
863
872
  parameters: {
864
873
  userId: z.number().int(),
865
874
  },
866
- response: z.void(),
875
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
867
876
  errors: [
868
877
  {
869
878
  status: 400,
@@ -881,28 +890,28 @@ export const getUsersAvatar3d = endpoint({
881
890
  * @param isCircular The circle thumbnail output parameter, true or false
882
891
  */
883
892
  export const getUsersAvatarBust = endpoint({
884
- method: "GET",
885
- path: "/v1/users/avatar-bust",
886
- baseUrl: "https://thumbnails.roblox.com",
887
- requestFormat: "json",
893
+ method: 'GET',
894
+ path: '/v1/users/avatar-bust',
895
+ baseUrl: 'https://thumbnails.roblox.com',
896
+ requestFormat: 'json',
888
897
  serializationMethod: {
889
898
  userIds: {
890
- style: "form",
899
+ style: 'form',
891
900
  },
892
901
  includeBackground: {
893
- style: "form",
902
+ style: 'form',
894
903
  explode: true,
895
904
  },
896
905
  size: {
897
- style: "form",
906
+ style: 'form',
898
907
  explode: true,
899
908
  },
900
909
  format: {
901
- style: "form",
910
+ style: 'form',
902
911
  explode: true,
903
912
  },
904
913
  isCircular: {
905
- style: "form",
914
+ style: 'form',
906
915
  explode: true,
907
916
  },
908
917
  },
@@ -910,23 +919,13 @@ export const getUsersAvatarBust = endpoint({
910
919
  userIds: z.array(z.number()),
911
920
  includeBackground: z.boolean().optional(),
912
921
  size: z
913
- .enum([
914
- "48x48",
915
- "50x50",
916
- "60x60",
917
- "75x75",
918
- "100x100",
919
- "150x150",
920
- "180x180",
921
- "352x352",
922
- "420x420",
923
- ])
922
+ .enum(['48x48', '50x50', '60x60', '75x75', '100x100', '150x150', '180x180', '352x352', '420x420'])
924
923
  .optional()
925
- .default("48x48"),
926
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
924
+ .default('48x48'),
925
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
927
926
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
928
927
  },
929
- response: z.void(),
928
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
930
929
  errors: [
931
930
  {
932
931
  status: 400,
@@ -948,28 +947,28 @@ export const getUsersAvatarBust = endpoint({
948
947
  * @param isCircular The circle thumbnail output parameter, true or false
949
948
  */
950
949
  export const getUsersAvatarHeadshot = endpoint({
951
- method: "GET",
952
- path: "/v1/users/avatar-headshot",
953
- baseUrl: "https://thumbnails.roblox.com",
954
- requestFormat: "json",
950
+ method: 'GET',
951
+ path: '/v1/users/avatar-headshot',
952
+ baseUrl: 'https://thumbnails.roblox.com',
953
+ requestFormat: 'json',
955
954
  serializationMethod: {
956
955
  userIds: {
957
- style: "form",
956
+ style: 'form',
958
957
  },
959
958
  includeBackground: {
960
- style: "form",
959
+ style: 'form',
961
960
  explode: true,
962
961
  },
963
962
  size: {
964
- style: "form",
963
+ style: 'form',
965
964
  explode: true,
966
965
  },
967
966
  format: {
968
- style: "form",
967
+ style: 'form',
969
968
  explode: true,
970
969
  },
971
970
  isCircular: {
972
- style: "form",
971
+ style: 'form',
973
972
  explode: true,
974
973
  },
975
974
  },
@@ -978,24 +977,24 @@ export const getUsersAvatarHeadshot = endpoint({
978
977
  includeBackground: z.boolean().optional(),
979
978
  size: z
980
979
  .enum([
981
- "48x48",
982
- "50x50",
983
- "60x60",
984
- "75x75",
985
- "100x100",
986
- "110x110",
987
- "150x150",
988
- "180x180",
989
- "352x352",
990
- "420x420",
991
- "720x720",
980
+ '48x48',
981
+ '50x50',
982
+ '60x60',
983
+ '75x75',
984
+ '100x100',
985
+ '110x110',
986
+ '150x150',
987
+ '180x180',
988
+ '352x352',
989
+ '420x420',
990
+ '720x720',
992
991
  ])
993
992
  .optional()
994
- .default("48x48"),
995
- format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
993
+ .default('48x48'),
994
+ format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
996
995
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
997
996
  },
998
- response: z.void(),
997
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
999
998
  errors: [
1000
999
  {
1001
1000
  status: 400,
@@ -1013,20 +1012,20 @@ export const getUsersAvatarHeadshot = endpoint({
1013
1012
  * @param outfitId CSV for the userIds to get user outfits
1014
1013
  */
1015
1014
  export const getUsersOutfit3d = endpoint({
1016
- method: "GET",
1017
- path: "/v1/users/outfit-3d",
1018
- baseUrl: "https://thumbnails.roblox.com",
1019
- requestFormat: "json",
1015
+ method: 'GET',
1016
+ path: '/v1/users/outfit-3d',
1017
+ baseUrl: 'https://thumbnails.roblox.com',
1018
+ requestFormat: 'json',
1020
1019
  serializationMethod: {
1021
1020
  outfitId: {
1022
- style: "form",
1021
+ style: 'form',
1023
1022
  explode: true,
1024
1023
  },
1025
1024
  },
1026
1025
  parameters: {
1027
1026
  outfitId: z.number().int(),
1028
1027
  },
1029
- response: z.void(),
1028
+ response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
1030
1029
  errors: [],
1031
1030
  });
1032
1031
  /**
@@ -1039,39 +1038,39 @@ export const getUsersOutfit3d = endpoint({
1039
1038
  * @param isCircular The circle thumbnail output parameter, true or false
1040
1039
  */
1041
1040
  export const getUsersOutfits = endpoint({
1042
- method: "GET",
1043
- path: "/v1/users/outfits",
1044
- baseUrl: "https://thumbnails.roblox.com",
1045
- requestFormat: "json",
1041
+ method: 'GET',
1042
+ path: '/v1/users/outfits',
1043
+ baseUrl: 'https://thumbnails.roblox.com',
1044
+ requestFormat: 'json',
1046
1045
  serializationMethod: {
1047
1046
  userOutfitIds: {
1048
- style: "form",
1047
+ style: 'form',
1049
1048
  },
1050
1049
  includeBackground: {
1051
- style: "form",
1050
+ style: 'form',
1052
1051
  explode: true,
1053
1052
  },
1054
1053
  size: {
1055
- style: "form",
1054
+ style: 'form',
1056
1055
  explode: true,
1057
1056
  },
1058
1057
  format: {
1059
- style: "form",
1058
+ style: 'form',
1060
1059
  explode: true,
1061
1060
  },
1062
1061
  isCircular: {
1063
- style: "form",
1062
+ style: 'form',
1064
1063
  explode: true,
1065
1064
  },
1066
1065
  },
1067
1066
  parameters: {
1068
1067
  userOutfitIds: z.array(z.number()),
1069
1068
  includeBackground: z.boolean().optional(),
1070
- size: z.enum(["150x150", "420x420"]).optional().default("150x150"),
1071
- format: z.enum(["Png", "Webp"]).optional().default("Png"),
1069
+ size: z.enum(['150x150', '420x420']).optional().default('150x150'),
1070
+ format: z.enum(['Png', 'Webp']).optional().default('Png'),
1072
1071
  isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
1073
1072
  },
1074
- response: z.void(),
1073
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
1075
1074
  errors: [
1076
1075
  {
1077
1076
  status: 400,