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.
Files changed (87) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -1,145 +1,135 @@
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_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ =
5
- z.object({
6
- id: z.number().int(),
7
- type: z.enum(["User", "Group"]),
8
- name: z.string(),
9
- });
4
+ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ = z.object({
5
+ id: z.number().int(),
6
+ type: z.enum(['User', 'Group']),
7
+ name: z.string(),
8
+ });
10
9
  const Roblox_Inventory_Api_V2_AssetOwnerResponse = z.object({
11
10
  id: z.number().int(),
12
11
  collectibleItemInstanceId: z.string(),
13
12
  serialNumber: z.number().int(),
14
- owner:
15
- Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
13
+ owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
16
14
  created: z.string().datetime({ offset: true }),
17
15
  updated: z.string().datetime({ offset: true }),
18
16
  });
19
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_ =
20
- z.object({
21
- previousPageCursor: z.string(),
22
- nextPageCursor: z.string(),
23
- data: z.array(Roblox_Inventory_Api_V2_AssetOwnerResponse),
24
- });
17
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_ = z.object({
18
+ previousPageCursor: z.string(),
19
+ nextPageCursor: z.string(),
20
+ data: z.array(Roblox_Inventory_Api_V2_AssetOwnerResponse),
21
+ });
25
22
  const Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse = z.object({
26
23
  collectibleItemInstanceId: z.string(),
27
24
  serialNumber: z.number().int(),
28
- owner:
29
- Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
25
+ owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
26
+ });
27
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_ = z.object({
28
+ previousPageCursor: z.string(),
29
+ nextPageCursor: z.string(),
30
+ data: z.array(Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse),
30
31
  });
31
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_ =
32
- z.object({
33
- previousPageCursor: z.string(),
34
- nextPageCursor: z.string(),
35
- data: z.array(Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse),
36
- });
37
32
  const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = z.object({
38
33
  assetId: z.number().int(),
39
34
  name: z.string(),
40
35
  assetType: z.enum([
41
- "Image",
42
- "TShirt",
43
- "Audio",
44
- "Mesh",
45
- "Lua",
46
- "HTML",
47
- "Text",
48
- "Hat",
49
- "Place",
50
- "Model",
51
- "Shirt",
52
- "Pants",
53
- "Decal",
54
- "Avatar",
55
- "Head",
56
- "Face",
57
- "Gear",
58
- "Badge",
59
- "GroupEmblem",
60
- "Animation",
61
- "Arms",
62
- "Legs",
63
- "Torso",
64
- "RightArm",
65
- "LeftArm",
66
- "LeftLeg",
67
- "RightLeg",
68
- "Package",
69
- "YouTubeVideo",
70
- "GamePass",
71
- "App",
72
- "Code",
73
- "Plugin",
74
- "SolidModel",
75
- "MeshPart",
76
- "HairAccessory",
77
- "FaceAccessory",
78
- "NeckAccessory",
79
- "ShoulderAccessory",
80
- "FrontAccessory",
81
- "BackAccessory",
82
- "WaistAccessory",
83
- "ClimbAnimation",
84
- "DeathAnimation",
85
- "FallAnimation",
86
- "IdleAnimation",
87
- "JumpAnimation",
88
- "RunAnimation",
89
- "SwimAnimation",
90
- "WalkAnimation",
91
- "PoseAnimation",
92
- "LocalizationTableManifest",
93
- "LocalizationTableTranslation",
94
- "EmoteAnimation",
95
- "Video",
96
- "TexturePack",
97
- "TShirtAccessory",
98
- "ShirtAccessory",
99
- "PantsAccessory",
100
- "JacketAccessory",
101
- "SweaterAccessory",
102
- "ShortsAccessory",
103
- "LeftShoeAccessory",
104
- "RightShoeAccessory",
105
- "DressSkirtAccessory",
106
- "FontFamily",
107
- "FontFace",
108
- "MeshHiddenSurfaceRemoval",
109
- "EyebrowAccessory",
110
- "EyelashAccessory",
111
- "MoodAnimation",
112
- "DynamicHead",
113
- "CodeSnippet",
114
- "AdsVideo",
115
- "OtaUpdate",
116
- "Screenshot",
117
- "RuntimePropertySet",
118
- "StorePreviewVideo",
119
- "GamePreviewVideo",
120
- "CreatorExperienceConfig",
121
- "FaceMakeup",
122
- "LipMakeup",
123
- "EyeMakeup",
36
+ 'Image',
37
+ 'TShirt',
38
+ 'Audio',
39
+ 'Mesh',
40
+ 'Lua',
41
+ 'HTML',
42
+ 'Text',
43
+ 'Hat',
44
+ 'Place',
45
+ 'Model',
46
+ 'Shirt',
47
+ 'Pants',
48
+ 'Decal',
49
+ 'Avatar',
50
+ 'Head',
51
+ 'Face',
52
+ 'Gear',
53
+ 'Badge',
54
+ 'GroupEmblem',
55
+ 'Animation',
56
+ 'Arms',
57
+ 'Legs',
58
+ 'Torso',
59
+ 'RightArm',
60
+ 'LeftArm',
61
+ 'LeftLeg',
62
+ 'RightLeg',
63
+ 'Package',
64
+ 'YouTubeVideo',
65
+ 'GamePass',
66
+ 'App',
67
+ 'Code',
68
+ 'Plugin',
69
+ 'SolidModel',
70
+ 'MeshPart',
71
+ 'HairAccessory',
72
+ 'FaceAccessory',
73
+ 'NeckAccessory',
74
+ 'ShoulderAccessory',
75
+ 'FrontAccessory',
76
+ 'BackAccessory',
77
+ 'WaistAccessory',
78
+ 'ClimbAnimation',
79
+ 'DeathAnimation',
80
+ 'FallAnimation',
81
+ 'IdleAnimation',
82
+ 'JumpAnimation',
83
+ 'RunAnimation',
84
+ 'SwimAnimation',
85
+ 'WalkAnimation',
86
+ 'PoseAnimation',
87
+ 'LocalizationTableManifest',
88
+ 'LocalizationTableTranslation',
89
+ 'EmoteAnimation',
90
+ 'Video',
91
+ 'TexturePack',
92
+ 'TShirtAccessory',
93
+ 'ShirtAccessory',
94
+ 'PantsAccessory',
95
+ 'JacketAccessory',
96
+ 'SweaterAccessory',
97
+ 'ShortsAccessory',
98
+ 'LeftShoeAccessory',
99
+ 'RightShoeAccessory',
100
+ 'DressSkirtAccessory',
101
+ 'FontFamily',
102
+ 'FontFace',
103
+ 'MeshHiddenSurfaceRemoval',
104
+ 'EyebrowAccessory',
105
+ 'EyelashAccessory',
106
+ 'MoodAnimation',
107
+ 'DynamicHead',
108
+ 'CodeSnippet',
109
+ 'AdsVideo',
110
+ 'OtaUpdate',
111
+ 'Screenshot',
112
+ 'RuntimePropertySet',
113
+ 'StorePreviewVideo',
114
+ 'GamePreviewVideo',
115
+ 'CreatorExperienceConfig',
116
+ 'FaceMakeup',
117
+ 'LipMakeup',
118
+ 'EyeMakeup',
119
+ 'VoxelFragment',
120
+ 'AvatarBackground',
124
121
  ]),
125
122
  created: z.string().datetime({ offset: true }),
126
123
  });
127
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_ =
128
- z.object({
129
- previousPageCursor: z.string(),
130
- nextPageCursor: z.string(),
131
- data: z.array(Roblox_Inventory_Api_V2_UserAssetItemModelV2),
132
- });
124
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_ = z.object({
125
+ previousPageCursor: z.string(),
126
+ nextPageCursor: z.string(),
127
+ data: z.array(Roblox_Inventory_Api_V2_UserAssetItemModelV2),
128
+ });
133
129
  const Roblox_Inventory_Api_Models_UserModel = z.object({
134
130
  userId: z.number().int(),
135
131
  username: z.string(),
136
- buildersClubMembershipType: z.enum([
137
- "None",
138
- "BC",
139
- "TBC",
140
- "OBC",
141
- "RobloxPremium",
142
- ]),
132
+ buildersClubMembershipType: z.enum(['None', 'BC', 'TBC', 'OBC', 'RobloxPremium']),
143
133
  });
144
134
  const Roblox_Inventory_Api_Models_InventoryItemModel = z.object({
145
135
  expireAt: z.string().datetime({ offset: true }),
@@ -153,12 +143,11 @@ const Roblox_Inventory_Api_Models_InventoryItemModel = z.object({
153
143
  created: z.string().datetime({ offset: true }),
154
144
  updated: z.string().datetime({ offset: true }),
155
145
  });
156
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_ =
157
- z.object({
158
- previousPageCursor: z.string(),
159
- nextPageCursor: z.string(),
160
- data: z.array(Roblox_Inventory_Api_Models_InventoryItemModel),
161
- });
146
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_ = z.object({
147
+ previousPageCursor: z.string(),
148
+ nextPageCursor: z.string(),
149
+ data: z.array(Roblox_Inventory_Api_Models_InventoryItemModel),
150
+ });
162
151
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
163
152
 
164
153
  /**
@@ -170,24 +159,24 @@ const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
170
159
  * @param sortOrder Sorted by userAssetId
171
160
  */
172
161
  export const getAssetsAssetidOwners = endpoint({
173
- method: "GET",
174
- path: "/v2/assets/:assetId/owners",
175
- baseUrl: "https://inventory.roblox.com",
176
- requestFormat: "json",
162
+ method: 'GET',
163
+ path: '/v2/assets/:assetId/owners',
164
+ baseUrl: 'https://inventory.roblox.com',
165
+ requestFormat: 'json',
177
166
  serializationMethod: {
178
167
  assetId: {
179
- style: "simple",
168
+ style: 'simple',
180
169
  },
181
170
  limit: {
182
- style: "form",
171
+ style: 'form',
183
172
  explode: true,
184
173
  },
185
174
  cursor: {
186
- style: "form",
175
+ style: 'form',
187
176
  explode: true,
188
177
  },
189
178
  sortOrder: {
190
- style: "form",
179
+ style: 'form',
191
180
  explode: true,
192
181
  },
193
182
  },
@@ -198,10 +187,9 @@ export const getAssetsAssetidOwners = endpoint({
198
187
  .optional()
199
188
  .default(10),
200
189
  cursor: z.string().optional(),
201
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
190
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
202
191
  },
203
- response:
204
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_,
192
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_,
205
193
  errors: [
206
194
  {
207
195
  status: 400,
@@ -222,24 +210,24 @@ export const getAssetsAssetidOwners = endpoint({
222
210
  * @param sortOrder The order the results are sorted in.
223
211
  */
224
212
  export const getCollectibleItemsCollectibleitemidOwners = endpoint({
225
- method: "GET",
226
- path: "/v2/collectible-items/:collectibleItemId/owners",
227
- baseUrl: "https://inventory.roblox.com",
228
- requestFormat: "json",
213
+ method: 'GET',
214
+ path: '/v2/collectible-items/:collectibleItemId/owners',
215
+ baseUrl: 'https://inventory.roblox.com',
216
+ requestFormat: 'json',
229
217
  serializationMethod: {
230
218
  collectibleItemId: {
231
- style: "simple",
219
+ style: 'simple',
232
220
  },
233
221
  limit: {
234
- style: "form",
222
+ style: 'form',
235
223
  explode: true,
236
224
  },
237
225
  cursor: {
238
- style: "form",
226
+ style: 'form',
239
227
  explode: true,
240
228
  },
241
229
  sortOrder: {
242
- style: "form",
230
+ style: 'form',
243
231
  explode: true,
244
232
  },
245
233
  },
@@ -252,8 +240,7 @@ export const getCollectibleItemsCollectibleitemidOwners = endpoint({
252
240
  .optional()
253
241
  .default(1),
254
242
  },
255
- response:
256
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_,
243
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_,
257
244
  errors: [
258
245
  {
259
246
  status: 400,
@@ -277,13 +264,13 @@ and will return NotEligibleForDelete.
277
264
  * @param assetId ID of the asset to delete.
278
265
  */
279
266
  export const deleteInventoryAssetAssetid = endpoint({
280
- method: "DELETE",
281
- path: "/v2/inventory/asset/:assetId",
282
- baseUrl: "https://inventory.roblox.com",
283
- requestFormat: "json",
267
+ method: 'DELETE',
268
+ path: '/v2/inventory/asset/:assetId',
269
+ baseUrl: 'https://inventory.roblox.com',
270
+ requestFormat: 'json',
284
271
  serializationMethod: {
285
272
  assetId: {
286
- style: "simple",
273
+ style: 'simple',
287
274
  },
288
275
  },
289
276
  parameters: {
@@ -325,35 +312,35 @@ export const deleteInventoryAssetAssetid = endpoint({
325
312
  * @description GamePass and Badges not allowed.
326
313
  */
327
314
  export const getUsersUseridInventory = endpoint({
328
- method: "GET",
329
- path: "/v2/users/:userId/inventory",
330
- baseUrl: "https://inventory.roblox.com",
331
- requestFormat: "json",
315
+ method: 'GET',
316
+ path: '/v2/users/:userId/inventory',
317
+ baseUrl: 'https://inventory.roblox.com',
318
+ requestFormat: 'json',
332
319
  serializationMethod: {
333
320
  userId: {
334
- style: "simple",
321
+ style: 'simple',
335
322
  },
336
323
  assetTypes: {
337
- style: "form",
324
+ style: 'form',
338
325
  },
339
326
  filterDisapprovedAssets: {
340
- style: "form",
327
+ style: 'form',
341
328
  explode: true,
342
329
  },
343
330
  showApprovedOnly: {
344
- style: "form",
331
+ style: 'form',
345
332
  explode: true,
346
333
  },
347
334
  limit: {
348
- style: "form",
335
+ style: 'form',
349
336
  explode: true,
350
337
  },
351
338
  cursor: {
352
- style: "form",
339
+ style: 'form',
353
340
  explode: true,
354
341
  },
355
342
  sortOrder: {
356
- style: "form",
343
+ style: 'form',
357
344
  explode: true,
358
345
  },
359
346
  },
@@ -367,10 +354,9 @@ export const getUsersUseridInventory = endpoint({
367
354
  .optional()
368
355
  .default(10),
369
356
  cursor: z.string().optional(),
370
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
357
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
371
358
  },
372
- response:
373
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_,
359
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_,
374
360
  errors: [
375
361
  {
376
362
  status: 400,
@@ -394,27 +380,27 @@ export const getUsersUseridInventory = endpoint({
394
380
  * @param sortOrder The order the results are sorted in.
395
381
  */
396
382
  export const getUsersUseridInventoryAssettypeid = endpoint({
397
- method: "GET",
398
- path: "/v2/users/:userId/inventory/:assetTypeId",
399
- baseUrl: "https://inventory.roblox.com",
400
- requestFormat: "json",
383
+ method: 'GET',
384
+ path: '/v2/users/:userId/inventory/:assetTypeId',
385
+ baseUrl: 'https://inventory.roblox.com',
386
+ requestFormat: 'json',
401
387
  serializationMethod: {
402
388
  userId: {
403
- style: "simple",
389
+ style: 'simple',
404
390
  },
405
391
  assetTypeId: {
406
- style: "simple",
392
+ style: 'simple',
407
393
  },
408
394
  limit: {
409
- style: "form",
395
+ style: 'form',
410
396
  explode: true,
411
397
  },
412
398
  cursor: {
413
- style: "form",
399
+ style: 'form',
414
400
  explode: true,
415
401
  },
416
402
  sortOrder: {
417
- style: "form",
403
+ style: 'form',
418
404
  explode: true,
419
405
  },
420
406
  },
@@ -426,10 +412,9 @@ export const getUsersUseridInventoryAssettypeid = endpoint({
426
412
  .optional()
427
413
  .default(10),
428
414
  cursor: z.string().optional(),
429
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
415
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
430
416
  },
431
- response:
432
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_,
417
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_,
433
418
  errors: [
434
419
  {
435
420
  status: 400,
@@ -118,6 +118,8 @@ const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
118
118
  'FaceMakeup',
119
119
  'LipMakeup',
120
120
  'EyeMakeup',
121
+ 'VoxelFragment',
122
+ 'AvatarBackground',
121
123
  ]),
122
124
  created: zod_1.z.string().datetime({ offset: true }),
123
125
  });
@@ -1,16 +1,15 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_ItemConfiguration_Api_AssetCreationsResponse = z.object({
5
5
  assetId: z.number().int(),
6
6
  name: z.string(),
7
7
  });
8
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_AssetCreationsResponse_ =
9
- z.object({
10
- previousPageCursor: z.string(),
11
- nextPageCursor: z.string(),
12
- data: z.array(Roblox_ItemConfiguration_Api_AssetCreationsResponse),
13
- });
8
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_AssetCreationsResponse_ = z.object({
9
+ previousPageCursor: z.string(),
10
+ nextPageCursor: z.string(),
11
+ data: z.array(Roblox_ItemConfiguration_Api_AssetCreationsResponse),
12
+ });
14
13
  const Roblox_ItemConfiguration_Api_AssetCreationsDetailsRequest = z.object({
15
14
  AssetIds: z.array(z.number()),
16
15
  });
@@ -20,25 +19,21 @@ const Roblox_ItemConfiguration_Api_PriceConfigurationModel = z.object({
20
19
  premiumPriceInRobux: z.number().int(),
21
20
  priceOffset: z.number().int(),
22
21
  });
23
- const Roblox_ItemConfiguration_Api_ReleaseConfigurationResponseModel = z.object(
24
- {
25
- saleAvailabilityLocations: z.array(
26
- z.enum(["Undefined", "Catalog", "AllUniverses", "MyUniverses"])
27
- ),
28
- }
29
- );
22
+ const Roblox_ItemConfiguration_Api_ReleaseConfigurationResponseModel = z.object({
23
+ saleAvailabilityLocations: z.array(z.enum(['Undefined', 'Catalog', 'AllUniverses', 'MyUniverses'])),
24
+ });
30
25
  const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = z.object({
31
26
  assetId: z.number().int(),
32
27
  name: z.string(),
33
28
  status: z.enum([
34
- "Unknown",
35
- "ReviewPending",
36
- "Moderated",
37
- "ReviewApproved",
38
- "OnSale",
39
- "OffSale",
40
- "DelayedRelease",
41
- "Free",
29
+ 'Unknown',
30
+ 'ReviewPending',
31
+ 'Moderated',
32
+ 'ReviewApproved',
33
+ 'OnSale',
34
+ 'OffSale',
35
+ 'DelayedRelease',
36
+ 'Free',
42
37
  ]),
43
38
  description: z.string(),
44
39
  creatorType: z.string(),
@@ -47,8 +42,7 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = z.object({
47
42
  priceConfiguration: Roblox_ItemConfiguration_Api_PriceConfigurationModel,
48
43
  isArchived: z.boolean(),
49
44
  assetType: z.string(),
50
- releaseConfiguration:
51
- Roblox_ItemConfiguration_Api_ReleaseConfigurationResponseModel,
45
+ releaseConfiguration: Roblox_ItemConfiguration_Api_ReleaseConfigurationResponseModel,
52
46
  created: z.string().datetime({ offset: true }),
53
47
  updated: z.string().datetime({ offset: true }),
54
48
  isDelisted: z.boolean(),
@@ -61,10 +55,10 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = z.object({
61
55
  * @param body
62
56
  */
63
57
  export const postCreationsGetAssetDetails = endpoint({
64
- method: "POST",
65
- path: "/v1/creations/get-asset-details",
66
- baseUrl: "https://itemconfiguration.roblox.com",
67
- requestFormat: "json",
58
+ method: 'POST',
59
+ path: '/v1/creations/get-asset-details',
60
+ baseUrl: 'https://itemconfiguration.roblox.com',
61
+ requestFormat: 'json',
68
62
  serializationMethod: {
69
63
  body: {},
70
64
  },
@@ -109,29 +103,29 @@ export const postCreationsGetAssetDetails = endpoint({
109
103
  * @param cursor The paging cursor for the previous or next page.
110
104
  */
111
105
  export const getCreationsGetAssets = endpoint({
112
- method: "GET",
113
- path: "/v1/creations/get-assets",
114
- baseUrl: "https://itemconfiguration.roblox.com",
115
- requestFormat: "json",
106
+ method: 'GET',
107
+ path: '/v1/creations/get-assets',
108
+ baseUrl: 'https://itemconfiguration.roblox.com',
109
+ requestFormat: 'json',
116
110
  serializationMethod: {
117
111
  assetType: {
118
- style: "form",
112
+ style: 'form',
119
113
  explode: true,
120
114
  },
121
115
  isArchived: {
122
- style: "form",
116
+ style: 'form',
123
117
  explode: true,
124
118
  },
125
119
  groupId: {
126
- style: "form",
120
+ style: 'form',
127
121
  explode: true,
128
122
  },
129
123
  limit: {
130
- style: "form",
124
+ style: 'form',
131
125
  explode: true,
132
126
  },
133
127
  cursor: {
134
- style: "form",
128
+ style: 'form',
135
129
  explode: true,
136
130
  },
137
131
  },
@@ -145,8 +139,7 @@ export const getCreationsGetAssets = endpoint({
145
139
  .default(10),
146
140
  cursor: z.string().optional(),
147
141
  },
148
- response:
149
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_AssetCreationsResponse_,
142
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_AssetCreationsResponse_,
150
143
  errors: [
151
144
  {
152
145
  status: 400,