rozod 2.0.0 → 2.0.2

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 +55 -15
  2. package/lib/endpoints/accountinformationv1.js +193 -128
  3. package/lib/endpoints/accountsettingsv1.d.ts +60 -6
  4. package/lib/endpoints/accountsettingsv1.js +204 -118
  5. package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
  6. package/lib/endpoints/assetdeliveryv1.js +442 -10
  7. package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
  8. package/lib/endpoints/assetdeliveryv2.js +443 -12
  9. package/lib/endpoints/authv1.d.ts +162 -36
  10. package/lib/endpoints/authv1.js +399 -201
  11. package/lib/endpoints/authv2.d.ts +108 -0
  12. package/lib/endpoints/authv2.js +353 -160
  13. package/lib/endpoints/authv3.d.ts +6 -0
  14. package/lib/endpoints/authv3.js +16 -8
  15. package/lib/endpoints/avatarv1.d.ts +94 -0
  16. package/lib/endpoints/avatarv1.js +239 -111
  17. package/lib/endpoints/avatarv2.d.ts +26 -0
  18. package/lib/endpoints/avatarv2.js +109 -59
  19. package/lib/endpoints/avatarv3.d.ts +20 -0
  20. package/lib/endpoints/avatarv3.js +83 -41
  21. package/lib/endpoints/badgesv1.d.ts +80 -3
  22. package/lib/endpoints/badgesv1.js +137 -51
  23. package/lib/endpoints/catalogv1.d.ts +183 -25
  24. package/lib/endpoints/catalogv1.js +307 -131
  25. package/lib/endpoints/chatv2.d.ts +105 -0
  26. package/lib/endpoints/chatv2.js +219 -114
  27. package/lib/endpoints/developv1.d.ts +411 -36
  28. package/lib/endpoints/developv1.js +707 -254
  29. package/lib/endpoints/developv2.d.ts +46 -0
  30. package/lib/endpoints/developv2.js +108 -36
  31. package/lib/endpoints/economyv1.js +7 -7
  32. package/lib/endpoints/friendsv1.d.ts +147 -0
  33. package/lib/endpoints/friendsv1.js +309 -114
  34. package/lib/endpoints/gamejoinv1.d.ts +2321 -0
  35. package/lib/endpoints/gamejoinv1.js +416 -0
  36. package/lib/endpoints/gamesv1.d.ts +319 -14
  37. package/lib/endpoints/gamesv1.js +531 -188
  38. package/lib/endpoints/gamesv2.d.ts +89 -0
  39. package/lib/endpoints/gamesv2.js +108 -19
  40. package/lib/endpoints/groupsv1.d.ts +602 -94
  41. package/lib/endpoints/groupsv1.js +1131 -456
  42. package/lib/endpoints/groupsv2.d.ts +33 -0
  43. package/lib/endpoints/groupsv2.js +74 -37
  44. package/lib/endpoints/inventoryv1.d.ts +108 -9
  45. package/lib/endpoints/inventoryv1.js +166 -45
  46. package/lib/endpoints/inventoryv2.d.ts +62 -1
  47. package/lib/endpoints/inventoryv2.js +91 -26
  48. package/lib/endpoints/presencev1.d.ts +14 -5
  49. package/lib/endpoints/presencev1.js +30 -21
  50. package/lib/endpoints/privatemessagesv1.d.ts +39 -0
  51. package/lib/endpoints/privatemessagesv1.js +90 -51
  52. package/lib/endpoints/thumbnailsv1.d.ts +309 -21
  53. package/lib/endpoints/thumbnailsv1.js +410 -63
  54. package/lib/endpoints/tradesv1.d.ts +51 -0
  55. package/lib/endpoints/tradesv1.js +148 -59
  56. package/lib/endpoints/translationsv1.d.ts +33 -0
  57. package/lib/endpoints/translationsv1.js +49 -14
  58. package/lib/endpoints/usersv1.d.ts +67 -0
  59. package/lib/endpoints/usersv1.js +138 -58
  60. package/lib/index.d.ts +4 -0
  61. package/lib/index.js +151 -240
  62. package/package.json +6 -3
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUsersUseridItemsItemtypeItemtargetidIsOwned = exports.getUsersUseridItemsItemtypeItemtargetid = exports.getUsersUseridInventoryAssettype = exports.getUsersUseridCategoriesFavorites = exports.getUsersUseridCategories = exports.getUsersUseridCanViewInventory = exports.getUsersUseridAssetsCollectibles = exports.getPackagesPackageidAssets = exports.postCollectionsItemsItemtypeItemtargetid = exports.deleteCollectionsItemsItemtypeItemtargetid = void 0;
4
- var zod_1 = require("zod");
5
- var Roblox_Inventory_Api_Models_AssetIdListModel = zod_1.z.object({
3
+ exports.getUsersUseridItemsItemtypeItemtargetidIsOwned = exports.getUsersUseridItemsItemtypeItemtargetid = exports.getUsersUseridInventoryAssettype = exports.getUsersUseridCategoriesFavorites = exports.getUsersUseridCategories = exports.getUsersUseridCanViewInventory = exports.getUsersUseridAssetsCollectibles = exports.getPackagesPackageidAssets = exports.deleteCollectionsItemsItemtypeItemtargetid = exports.postCollectionsItemsItemtypeItemtargetid = void 0;
4
+ const zod_1 = require("zod");
5
+ const Roblox_Inventory_Api_Models_AssetIdListModel = zod_1.z.object({
6
6
  assetIds: zod_1.z.array(zod_1.z.number()),
7
7
  });
8
- var Roblox_Inventory_Api_Models_CollectibleUserAssetModel = zod_1.z.object({
8
+ const Roblox_Inventory_Api_Models_CollectibleUserAssetModel = zod_1.z.object({
9
9
  userAssetId: zod_1.z.number().int(),
10
10
  serialNumber: zod_1.z.number().int(),
11
11
  assetId: zod_1.z.number().int(),
@@ -16,15 +16,15 @@ var Roblox_Inventory_Api_Models_CollectibleUserAssetModel = zod_1.z.object({
16
16
  buildersClubMembershipType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
17
17
  isOnHold: zod_1.z.boolean(),
18
18
  });
19
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_ = zod_1.z.object({
19
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_ = zod_1.z.object({
20
20
  previousPageCursor: zod_1.z.string(),
21
21
  nextPageCursor: zod_1.z.string(),
22
22
  data: zod_1.z.array(Roblox_Inventory_Api_Models_CollectibleUserAssetModel),
23
23
  });
24
- var Roblox_Inventory_Api_Models_CanViewInventoryResponse = zod_1.z.object({
24
+ const Roblox_Inventory_Api_Models_CanViewInventoryResponse = zod_1.z.object({
25
25
  canView: zod_1.z.boolean(),
26
26
  });
27
- var Roblox_Inventory_Api_AssetsExplorerCategoryItemModel = zod_1.z.object({
27
+ const Roblox_Inventory_Api_AssetsExplorerCategoryItemModel = zod_1.z.object({
28
28
  name: zod_1.z.string(),
29
29
  displayName: zod_1.z.string(),
30
30
  filter: zod_1.z.string(),
@@ -32,55 +32,63 @@ var Roblox_Inventory_Api_AssetsExplorerCategoryItemModel = zod_1.z.object({
32
32
  type: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
33
33
  categoryType: zod_1.z.string(),
34
34
  });
35
- var Roblox_Inventory_Api_AssetsExplorerCategoryModel = zod_1.z.object({
35
+ const Roblox_Inventory_Api_AssetsExplorerCategoryModel = zod_1.z.object({
36
36
  name: zod_1.z.string(),
37
37
  displayName: zod_1.z.string(),
38
38
  categoryType: zod_1.z.string(),
39
39
  items: zod_1.z.array(Roblox_Inventory_Api_AssetsExplorerCategoryItemModel),
40
40
  });
41
- var Roblox_Inventory_Api_CategoriesModel = zod_1.z.object({
41
+ const Roblox_Inventory_Api_CategoriesModel = zod_1.z.object({
42
42
  categories: zod_1.z.array(Roblox_Inventory_Api_AssetsExplorerCategoryModel),
43
43
  });
44
- var Roblox_Inventory_Api_Models_InventoryPageResponse = zod_1.z.object({
45
- data: zod_1.z.array(zod_1.z.unknown()),
44
+ const Roblox_Inventory_Api_Models_InventoryPageResponse = zod_1.z.object({
45
+ data: zod_1.z.array(zod_1.z.object({})),
46
46
  total: zod_1.z.number().int(),
47
47
  includesAccessories: zod_1.z.boolean(),
48
48
  });
49
- var Roblox_Inventory_Api_Models_IItemModel = zod_1.z.object({
49
+ const Roblox_Inventory_Api_Models_IItemModel = zod_1.z.object({
50
50
  Id: zod_1.z.number().int(),
51
51
  Name: zod_1.z.string(),
52
52
  Type: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
53
53
  InstanceId: zod_1.z.number().int(),
54
54
  });
55
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_ = zod_1.z.object({
55
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_ = zod_1.z.object({
56
56
  previousPageCursor: zod_1.z.string(),
57
57
  nextPageCursor: zod_1.z.string(),
58
58
  data: zod_1.z.array(Roblox_Inventory_Api_Models_IItemModel),
59
59
  });
60
- var Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
61
- var schemas = {
62
- Roblox_Inventory_Api_Models_AssetIdListModel: Roblox_Inventory_Api_Models_AssetIdListModel,
63
- Roblox_Inventory_Api_Models_CollectibleUserAssetModel: Roblox_Inventory_Api_Models_CollectibleUserAssetModel,
64
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_,
65
- Roblox_Inventory_Api_Models_CanViewInventoryResponse: Roblox_Inventory_Api_Models_CanViewInventoryResponse,
66
- Roblox_Inventory_Api_AssetsExplorerCategoryItemModel: Roblox_Inventory_Api_AssetsExplorerCategoryItemModel,
67
- Roblox_Inventory_Api_AssetsExplorerCategoryModel: Roblox_Inventory_Api_AssetsExplorerCategoryModel,
68
- Roblox_Inventory_Api_CategoriesModel: Roblox_Inventory_Api_CategoriesModel,
69
- Roblox_Inventory_Api_Models_InventoryPageResponse: Roblox_Inventory_Api_Models_InventoryPageResponse,
70
- Roblox_Inventory_Api_Models_IItemModel: Roblox_Inventory_Api_Models_IItemModel,
71
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_,
72
- Roblox_Web_WebAPI_ApiEmptyResponseModel: Roblox_Web_WebAPI_ApiEmptyResponseModel,
60
+ const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
61
+ const schemas = {
62
+ Roblox_Inventory_Api_Models_AssetIdListModel,
63
+ Roblox_Inventory_Api_Models_CollectibleUserAssetModel,
64
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_,
65
+ Roblox_Inventory_Api_Models_CanViewInventoryResponse,
66
+ Roblox_Inventory_Api_AssetsExplorerCategoryItemModel,
67
+ Roblox_Inventory_Api_AssetsExplorerCategoryModel,
68
+ Roblox_Inventory_Api_CategoriesModel,
69
+ Roblox_Inventory_Api_Models_InventoryPageResponse,
70
+ Roblox_Inventory_Api_Models_IItemModel,
71
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_,
72
+ Roblox_Web_WebAPI_ApiEmptyResponseModel,
73
73
  };
74
74
  /**
75
- * @api delete https://inventory.roblox.com/v1/collections/items/:itemType/:itemTargetId
75
+ * @api post https://inventory.roblox.com/v1/collections/items/:itemType/:itemTargetId
76
76
  * @param itemType
77
77
  * @param itemTargetId
78
78
  */
79
- exports.deleteCollectionsItemsItemtypeItemtargetid = {
80
- method: 'delete',
79
+ exports.postCollectionsItemsItemtypeItemtargetid = {
80
+ method: 'post',
81
81
  path: '/v1/collections/items/:itemType/:itemTargetId',
82
82
  baseUrl: 'https://inventory.roblox.com',
83
83
  requestFormat: 'json',
84
+ serializationMethod: {
85
+ itemType: {
86
+ style: 'simple',
87
+ },
88
+ itemTargetId: {
89
+ style: 'simple',
90
+ },
91
+ },
84
92
  parameters: {
85
93
  itemType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
86
94
  itemTargetId: zod_1.z.number().int(),
@@ -89,31 +97,46 @@ exports.deleteCollectionsItemsItemtypeItemtargetid = {
89
97
  errors: [
90
98
  {
91
99
  status: 400,
92
- description: "1: The item type does not exist.\n2: The asset does not exist.\n3: The bundle does not exist.",
100
+ description: `1: The item type does not exist.
101
+ 2: The asset does not exist.
102
+ 3: The bundle does not exist.`,
93
103
  schema: zod_1.z.void(),
94
104
  },
95
105
  {
96
106
  status: 401,
97
- description: "0: Authorization has been denied for this request.",
107
+ description: `0: Authorization has been denied for this request.`,
98
108
  schema: zod_1.z.void(),
99
109
  },
100
110
  {
101
111
  status: 403,
102
- description: "0: Token Validation Failed\n8: The item is not in the collection.",
112
+ description: `0: Token Validation Failed
113
+ 4: You don't own the specified item.
114
+ 5: Assets of this type are not allowed in collections.
115
+ 6: Items of this type are not allowed in collections.
116
+ 7: The item is already in the collection.
117
+ 9: The collection is full.`,
103
118
  schema: zod_1.z.void(),
104
119
  },
105
120
  ],
106
121
  };
107
122
  /**
108
- * @api post https://inventory.roblox.com/v1/collections/items/:itemType/:itemTargetId
123
+ * @api delete https://inventory.roblox.com/v1/collections/items/:itemType/:itemTargetId
109
124
  * @param itemType
110
125
  * @param itemTargetId
111
126
  */
112
- exports.postCollectionsItemsItemtypeItemtargetid = {
113
- method: 'post',
127
+ exports.deleteCollectionsItemsItemtypeItemtargetid = {
128
+ method: 'delete',
114
129
  path: '/v1/collections/items/:itemType/:itemTargetId',
115
130
  baseUrl: 'https://inventory.roblox.com',
116
131
  requestFormat: 'json',
132
+ serializationMethod: {
133
+ itemType: {
134
+ style: 'simple',
135
+ },
136
+ itemTargetId: {
137
+ style: 'simple',
138
+ },
139
+ },
117
140
  parameters: {
118
141
  itemType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
119
142
  itemTargetId: zod_1.z.number().int(),
@@ -122,17 +145,20 @@ exports.postCollectionsItemsItemtypeItemtargetid = {
122
145
  errors: [
123
146
  {
124
147
  status: 400,
125
- description: "1: The item type does not exist.\n2: The asset does not exist.\n3: The bundle does not exist.",
148
+ description: `1: The item type does not exist.
149
+ 2: The asset does not exist.
150
+ 3: The bundle does not exist.`,
126
151
  schema: zod_1.z.void(),
127
152
  },
128
153
  {
129
154
  status: 401,
130
- description: "0: Authorization has been denied for this request.",
155
+ description: `0: Authorization has been denied for this request.`,
131
156
  schema: zod_1.z.void(),
132
157
  },
133
158
  {
134
159
  status: 403,
135
- description: "0: Token Validation Failed\n4: You don't own the specified item.\n5: Assets of this type are not allowed in collections.\n6: Items of this type are not allowed in collections.\n7: The item is already in the collection.\n9: The collection is full.",
160
+ description: `0: Token Validation Failed
161
+ 8: The item is not in the collection.`,
136
162
  schema: zod_1.z.void(),
137
163
  },
138
164
  ],
@@ -146,6 +172,11 @@ exports.getPackagesPackageidAssets = {
146
172
  path: '/v1/packages/:packageId/assets',
147
173
  baseUrl: 'https://inventory.roblox.com',
148
174
  requestFormat: 'json',
175
+ serializationMethod: {
176
+ packageID: {
177
+ style: 'simple',
178
+ },
179
+ },
149
180
  parameters: {
150
181
  packageID: zod_1.z.number().int(),
151
182
  },
@@ -165,6 +196,27 @@ exports.getUsersUseridAssetsCollectibles = {
165
196
  path: '/v1/users/:userId/assets/collectibles',
166
197
  baseUrl: 'https://inventory.roblox.com',
167
198
  requestFormat: 'json',
199
+ serializationMethod: {
200
+ userId: {
201
+ style: 'simple',
202
+ },
203
+ assetType: {
204
+ style: 'form',
205
+ explode: true,
206
+ },
207
+ limit: {
208
+ style: 'form',
209
+ explode: true,
210
+ },
211
+ cursor: {
212
+ style: 'form',
213
+ explode: true,
214
+ },
215
+ sortOrder: {
216
+ style: 'form',
217
+ explode: true,
218
+ },
219
+ },
168
220
  parameters: {
169
221
  userId: zod_1.z.number().int(),
170
222
  assetType: zod_1.z
@@ -255,12 +307,12 @@ exports.getUsersUseridAssetsCollectibles = {
255
307
  errors: [
256
308
  {
257
309
  status: 400,
258
- description: "The specified asset type(s) are invalid.",
310
+ description: `The specified asset type(s) are invalid.`,
259
311
  schema: zod_1.z.void(),
260
312
  },
261
313
  {
262
314
  status: 403,
263
- description: "The specified user's inventory is hidden.",
315
+ description: `The specified user's inventory is hidden.`,
264
316
  schema: zod_1.z.void(),
265
317
  },
266
318
  ],
@@ -274,6 +326,11 @@ exports.getUsersUseridCanViewInventory = {
274
326
  path: '/v1/users/:userId/can-view-inventory',
275
327
  baseUrl: 'https://inventory.roblox.com',
276
328
  requestFormat: 'json',
329
+ serializationMethod: {
330
+ userId: {
331
+ style: 'simple',
332
+ },
333
+ },
277
334
  parameters: {
278
335
  userId: zod_1.z.number().int(),
279
336
  },
@@ -281,7 +338,7 @@ exports.getUsersUseridCanViewInventory = {
281
338
  errors: [
282
339
  {
283
340
  status: 400,
284
- description: "1: The specified user does not exist!",
341
+ description: `1: The specified user does not exist!`,
285
342
  schema: zod_1.z.void(),
286
343
  },
287
344
  ],
@@ -295,6 +352,11 @@ exports.getUsersUseridCategories = {
295
352
  path: '/v1/users/:userId/categories',
296
353
  baseUrl: 'https://inventory.roblox.com',
297
354
  requestFormat: 'json',
355
+ serializationMethod: {
356
+ userId: {
357
+ style: 'simple',
358
+ },
359
+ },
298
360
  parameters: {
299
361
  userId: zod_1.z.number().int(),
300
362
  },
@@ -310,6 +372,11 @@ exports.getUsersUseridCategoriesFavorites = {
310
372
  path: '/v1/users/:userId/categories/favorites',
311
373
  baseUrl: 'https://inventory.roblox.com',
312
374
  requestFormat: 'json',
375
+ serializationMethod: {
376
+ userId: {
377
+ style: 'simple',
378
+ },
379
+ },
313
380
  parameters: {
314
381
  userId: zod_1.z.number().int(),
315
382
  },
@@ -329,6 +396,26 @@ exports.getUsersUseridInventoryAssettype = {
329
396
  path: '/v1/users/:userId/inventory/:assetType',
330
397
  baseUrl: 'https://inventory.roblox.com',
331
398
  requestFormat: 'json',
399
+ serializationMethod: {
400
+ userId: {
401
+ style: 'simple',
402
+ },
403
+ assetType: {
404
+ style: 'simple',
405
+ },
406
+ pageNumber: {
407
+ style: 'form',
408
+ explode: true,
409
+ },
410
+ itemsPerPage: {
411
+ style: 'form',
412
+ explode: true,
413
+ },
414
+ keyword: {
415
+ style: 'form',
416
+ explode: true,
417
+ },
418
+ },
332
419
  parameters: {
333
420
  userId: zod_1.z.number().int(),
334
421
  assetType: zod_1.z.union([
@@ -414,12 +501,14 @@ exports.getUsersUseridInventoryAssettype = {
414
501
  errors: [
415
502
  {
416
503
  status: 400,
417
- description: "1: The specified user does not exist!\n3: Specified asset type is invalid!",
504
+ description: `1: The specified user does not exist!
505
+ 3: Specified asset type is invalid!`,
418
506
  schema: zod_1.z.void(),
419
507
  },
420
508
  {
421
509
  status: 403,
422
- description: "1: The specified user does not exist!\n11: You don't have permissions to view the specified user's inventory.",
510
+ description: `1: The specified user does not exist!
511
+ 11: You don't have permissions to view the specified user's inventory.`,
423
512
  schema: zod_1.z.void(),
424
513
  },
425
514
  ],
@@ -435,6 +524,17 @@ exports.getUsersUseridItemsItemtypeItemtargetid = {
435
524
  path: '/v1/users/:userId/items/:itemType/:itemTargetId',
436
525
  baseUrl: 'https://inventory.roblox.com',
437
526
  requestFormat: 'json',
527
+ serializationMethod: {
528
+ userId: {
529
+ style: 'simple',
530
+ },
531
+ itemType: {
532
+ style: 'simple',
533
+ },
534
+ itemTargetId: {
535
+ style: 'simple',
536
+ },
537
+ },
438
538
  parameters: {
439
539
  userId: zod_1.z.number().int(),
440
540
  itemType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
@@ -444,7 +544,12 @@ exports.getUsersUseridItemsItemtypeItemtargetid = {
444
544
  errors: [
445
545
  {
446
546
  status: 400,
447
- description: "1: The specified user does not exist!\n5: The specified game pass does not exist! Are you using the new game pass ID?\n6: The specified item type does not exist.\n7: The specified Asset does not exist!\n10: The specified asset is not a badge!\n12: The specified bundle does not exist!",
547
+ description: `1: The specified user does not exist!
548
+ 5: The specified game pass does not exist! Are you using the new game pass ID?
549
+ 6: The specified item type does not exist.
550
+ 7: The specified Asset does not exist!
551
+ 10: The specified asset is not a badge!
552
+ 12: The specified bundle does not exist!`,
448
553
  schema: zod_1.z.void(),
449
554
  },
450
555
  ],
@@ -460,6 +565,17 @@ exports.getUsersUseridItemsItemtypeItemtargetidIsOwned = {
460
565
  path: '/v1/users/:userId/items/:itemType/:itemTargetId/is-owned',
461
566
  baseUrl: 'https://inventory.roblox.com',
462
567
  requestFormat: 'json',
568
+ serializationMethod: {
569
+ userId: {
570
+ style: 'simple',
571
+ },
572
+ itemType: {
573
+ style: 'simple',
574
+ },
575
+ itemTargetId: {
576
+ style: 'simple',
577
+ },
578
+ },
463
579
  parameters: {
464
580
  userId: zod_1.z.number().int(),
465
581
  itemType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
@@ -469,7 +585,12 @@ exports.getUsersUseridItemsItemtypeItemtargetidIsOwned = {
469
585
  errors: [
470
586
  {
471
587
  status: 400,
472
- description: "1: The specified user does not exist!\n5: The specified game pass does not exist! Are you using the new game pass ID?\n6: The specified item type does not exist.\n7: The specified Asset does not exist!\n10: The specified asset is not a badge!\n12: The specified bundle does not exist!",
588
+ description: `1: The specified user does not exist!
589
+ 5: The specified game pass does not exist! Are you using the new game pass ID?
590
+ 6: The specified item type does not exist.
591
+ 7: The specified Asset does not exist!
592
+ 10: The specified asset is not a badge!
593
+ 12: The specified bundle does not exist!`,
473
594
  schema: zod_1.z.void(),
474
595
  },
475
596
  ],
@@ -11,6 +11,23 @@ export declare const getAssetsAssetidOwners: {
11
11
  path: string;
12
12
  baseUrl: string;
13
13
  requestFormat: "json";
14
+ serializationMethod: {
15
+ assetId: {
16
+ style: string;
17
+ };
18
+ limit: {
19
+ style: string;
20
+ explode: boolean;
21
+ };
22
+ cursor: {
23
+ style: string;
24
+ explode: boolean;
25
+ };
26
+ sortOrder: {
27
+ style: string;
28
+ explode: boolean;
29
+ };
30
+ };
14
31
  parameters: {
15
32
  assetId: z.ZodNumber;
16
33
  limit: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<100>]>>>;
@@ -109,9 +126,33 @@ export declare const getUsersUseridInventory: {
109
126
  baseUrl: string;
110
127
  description: string;
111
128
  requestFormat: "json";
129
+ serializationMethod: {
130
+ userId: {
131
+ style: string;
132
+ };
133
+ assetTypes: {
134
+ style: string;
135
+ };
136
+ filterDisapprovedAssets: {
137
+ style: string;
138
+ explode: boolean;
139
+ };
140
+ limit: {
141
+ style: string;
142
+ explode: boolean;
143
+ };
144
+ cursor: {
145
+ style: string;
146
+ explode: boolean;
147
+ };
148
+ sortOrder: {
149
+ style: string;
150
+ explode: boolean;
151
+ };
152
+ };
112
153
  parameters: {
113
154
  userId: z.ZodNumber;
114
- assetTypes: z.ZodArray<z.ZodUnknown, "many">;
155
+ assetTypes: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
115
156
  filterDisapprovedAssets: z.ZodOptional<z.ZodBoolean>;
116
157
  limit: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<100>]>>>;
117
158
  cursor: z.ZodOptional<z.ZodString>;
@@ -174,6 +215,26 @@ export declare const getUsersUseridInventoryAssettypeid: {
174
215
  path: string;
175
216
  baseUrl: string;
176
217
  requestFormat: "json";
218
+ serializationMethod: {
219
+ userId: {
220
+ style: string;
221
+ };
222
+ assetTypeId: {
223
+ style: string;
224
+ };
225
+ limit: {
226
+ style: string;
227
+ explode: boolean;
228
+ };
229
+ cursor: {
230
+ style: string;
231
+ explode: boolean;
232
+ };
233
+ sortOrder: {
234
+ style: string;
235
+ explode: boolean;
236
+ };
237
+ };
177
238
  parameters: {
178
239
  userId: z.ZodNumber;
179
240
  assetTypeId: z.ZodNumber;