rozod 6.7.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Inventory_Api_Models_AssetIdListModel = z.object({
|
|
5
5
|
assetIds: z.array(z.number()),
|
|
@@ -12,21 +12,14 @@ const Roblox_Inventory_Api_Models_CollectibleUserAssetModel = z.object({
|
|
|
12
12
|
recentAveragePrice: z.number().int(),
|
|
13
13
|
originalPrice: z.number().int(),
|
|
14
14
|
assetStock: z.number().int(),
|
|
15
|
-
buildersClubMembershipType: z.enum([
|
|
16
|
-
"None",
|
|
17
|
-
"BC",
|
|
18
|
-
"TBC",
|
|
19
|
-
"OBC",
|
|
20
|
-
"RobloxPremium",
|
|
21
|
-
]),
|
|
15
|
+
buildersClubMembershipType: z.enum(['None', 'BC', 'TBC', 'OBC', 'RobloxPremium']),
|
|
22
16
|
isOnHold: z.boolean(),
|
|
23
17
|
});
|
|
24
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_ =
|
|
25
|
-
z.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
});
|
|
18
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_ = z.object({
|
|
19
|
+
previousPageCursor: z.string(),
|
|
20
|
+
nextPageCursor: z.string(),
|
|
21
|
+
data: z.array(Roblox_Inventory_Api_Models_CollectibleUserAssetModel),
|
|
22
|
+
});
|
|
30
23
|
const Roblox_Inventory_Api_Models_CanViewInventoryResponse = z.object({
|
|
31
24
|
canView: z.boolean(),
|
|
32
25
|
});
|
|
@@ -35,7 +28,7 @@ const Roblox_Inventory_Api_Models_AssetsExplorerCategoryItemModel = z.object({
|
|
|
35
28
|
displayName: z.string(),
|
|
36
29
|
filter: z.string(),
|
|
37
30
|
id: z.number().int(),
|
|
38
|
-
type: z.enum([
|
|
31
|
+
type: z.enum(['AssetType', 'Bundle', 'Outfit', 'Set', 'Avatar']),
|
|
39
32
|
categoryType: z.string(),
|
|
40
33
|
});
|
|
41
34
|
const Roblox_Inventory_Api_Models_AssetsExplorerCategoryModel = z.object({
|
|
@@ -50,19 +43,18 @@ const Roblox_Inventory_Api_Models_CategoriesModel = z.object({
|
|
|
50
43
|
const Roblox_Inventory_Api_Models_IItemModel = z.object({
|
|
51
44
|
id: z.number().int(),
|
|
52
45
|
name: z.string(),
|
|
53
|
-
type: z.enum([
|
|
46
|
+
type: z.enum(['Asset', 'GamePass', 'Badge', 'Bundle', 'Avatar']),
|
|
54
47
|
instanceId: z.number().int(),
|
|
55
48
|
});
|
|
56
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_ =
|
|
57
|
-
z.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
});
|
|
49
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_ = z.object({
|
|
50
|
+
previousPageCursor: z.string(),
|
|
51
|
+
nextPageCursor: z.string(),
|
|
52
|
+
data: z.array(Roblox_Inventory_Api_Models_IItemModel),
|
|
53
|
+
});
|
|
62
54
|
const Roblox_Inventory_Api_Models_CreatorModel = z.object({
|
|
63
55
|
id: z.number().int(),
|
|
64
56
|
name: z.string(),
|
|
65
|
-
type: z.enum([
|
|
57
|
+
type: z.enum(['User', 'Group', 'Experience']),
|
|
66
58
|
});
|
|
67
59
|
const Roblox_Inventory_Api_Models_PlaceModel = z.object({
|
|
68
60
|
universeId: z.number().int(),
|
|
@@ -71,12 +63,11 @@ const Roblox_Inventory_Api_Models_PlaceModel = z.object({
|
|
|
71
63
|
creator: Roblox_Inventory_Api_Models_CreatorModel,
|
|
72
64
|
priceInRobux: z.number().int(),
|
|
73
65
|
});
|
|
74
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_PlaceModel_ =
|
|
75
|
-
z.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
});
|
|
66
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_PlaceModel_ = z.object({
|
|
67
|
+
previousPageCursor: z.string(),
|
|
68
|
+
nextPageCursor: z.string(),
|
|
69
|
+
data: z.array(Roblox_Inventory_Api_Models_PlaceModel),
|
|
70
|
+
});
|
|
80
71
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
81
72
|
|
|
82
73
|
/**
|
|
@@ -86,16 +77,16 @@ const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
|
86
77
|
* @param itemTargetId ID of the item
|
|
87
78
|
*/
|
|
88
79
|
export const postCollectionsItemsItemtypeItemtargetid = endpoint({
|
|
89
|
-
method:
|
|
90
|
-
path:
|
|
91
|
-
baseUrl:
|
|
92
|
-
requestFormat:
|
|
80
|
+
method: 'POST',
|
|
81
|
+
path: '/v1/collections/items/:itemType/:itemTargetId',
|
|
82
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
83
|
+
requestFormat: 'json',
|
|
93
84
|
serializationMethod: {
|
|
94
85
|
itemType: {
|
|
95
|
-
style:
|
|
86
|
+
style: 'simple',
|
|
96
87
|
},
|
|
97
88
|
itemTargetId: {
|
|
98
|
-
style:
|
|
89
|
+
style: 'simple',
|
|
99
90
|
},
|
|
100
91
|
},
|
|
101
92
|
parameters: {
|
|
@@ -132,16 +123,16 @@ export const postCollectionsItemsItemtypeItemtargetid = endpoint({
|
|
|
132
123
|
* @param itemTargetId ID of the item
|
|
133
124
|
*/
|
|
134
125
|
export const deleteCollectionsItemsItemtypeItemtargetid = endpoint({
|
|
135
|
-
method:
|
|
136
|
-
path:
|
|
137
|
-
baseUrl:
|
|
138
|
-
requestFormat:
|
|
126
|
+
method: 'DELETE',
|
|
127
|
+
path: '/v1/collections/items/:itemType/:itemTargetId',
|
|
128
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
129
|
+
requestFormat: 'json',
|
|
139
130
|
serializationMethod: {
|
|
140
131
|
itemType: {
|
|
141
|
-
style:
|
|
132
|
+
style: 'simple',
|
|
142
133
|
},
|
|
143
134
|
itemTargetId: {
|
|
144
|
-
style:
|
|
135
|
+
style: 'simple',
|
|
145
136
|
},
|
|
146
137
|
},
|
|
147
138
|
parameters: {
|
|
@@ -173,13 +164,13 @@ export const deleteCollectionsItemsItemtypeItemtargetid = endpoint({
|
|
|
173
164
|
* @param packageID The asset ID of the package
|
|
174
165
|
*/
|
|
175
166
|
export const getPackagesPackageidAssets = endpoint({
|
|
176
|
-
method:
|
|
177
|
-
path:
|
|
178
|
-
baseUrl:
|
|
179
|
-
requestFormat:
|
|
167
|
+
method: 'GET',
|
|
168
|
+
path: '/v1/packages/:packageId/assets',
|
|
169
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
170
|
+
requestFormat: 'json',
|
|
180
171
|
serializationMethod: {
|
|
181
172
|
packageID: {
|
|
182
|
-
style:
|
|
173
|
+
style: 'simple',
|
|
183
174
|
},
|
|
184
175
|
},
|
|
185
176
|
parameters: {
|
|
@@ -198,28 +189,28 @@ export const getPackagesPackageidAssets = endpoint({
|
|
|
198
189
|
* @param sortOrder Sorted by userAssetId
|
|
199
190
|
*/
|
|
200
191
|
export const getUsersUseridAssetsCollectibles = endpoint({
|
|
201
|
-
method:
|
|
202
|
-
path:
|
|
203
|
-
baseUrl:
|
|
204
|
-
requestFormat:
|
|
192
|
+
method: 'GET',
|
|
193
|
+
path: '/v1/users/:userId/assets/collectibles',
|
|
194
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
195
|
+
requestFormat: 'json',
|
|
205
196
|
serializationMethod: {
|
|
206
197
|
userId: {
|
|
207
|
-
style:
|
|
198
|
+
style: 'simple',
|
|
208
199
|
},
|
|
209
200
|
assetType: {
|
|
210
|
-
style:
|
|
201
|
+
style: 'form',
|
|
211
202
|
explode: true,
|
|
212
203
|
},
|
|
213
204
|
limit: {
|
|
214
|
-
style:
|
|
205
|
+
style: 'form',
|
|
215
206
|
explode: true,
|
|
216
207
|
},
|
|
217
208
|
cursor: {
|
|
218
|
-
style:
|
|
209
|
+
style: 'form',
|
|
219
210
|
explode: true,
|
|
220
211
|
},
|
|
221
212
|
sortOrder: {
|
|
222
|
-
style:
|
|
213
|
+
style: 'form',
|
|
223
214
|
explode: true,
|
|
224
215
|
},
|
|
225
216
|
},
|
|
@@ -310,6 +301,8 @@ export const getUsersUseridAssetsCollectibles = endpoint({
|
|
|
310
301
|
z.literal(88),
|
|
311
302
|
z.literal(89),
|
|
312
303
|
z.literal(90),
|
|
304
|
+
z.literal(91),
|
|
305
|
+
z.literal(92),
|
|
313
306
|
])
|
|
314
307
|
.optional(),
|
|
315
308
|
limit: z
|
|
@@ -317,10 +310,9 @@ export const getUsersUseridAssetsCollectibles = endpoint({
|
|
|
317
310
|
.optional()
|
|
318
311
|
.default(10),
|
|
319
312
|
cursor: z.string().optional(),
|
|
320
|
-
sortOrder: z.enum([
|
|
313
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
321
314
|
},
|
|
322
|
-
response:
|
|
323
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_,
|
|
315
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_CollectibleUserAssetModel_,
|
|
324
316
|
errors: [
|
|
325
317
|
{
|
|
326
318
|
status: 400,
|
|
@@ -338,13 +330,13 @@ export const getUsersUseridAssetsCollectibles = endpoint({
|
|
|
338
330
|
* @param userId The user identifier.
|
|
339
331
|
*/
|
|
340
332
|
export const getUsersUseridCanViewInventory = endpoint({
|
|
341
|
-
method:
|
|
342
|
-
path:
|
|
343
|
-
baseUrl:
|
|
344
|
-
requestFormat:
|
|
333
|
+
method: 'GET',
|
|
334
|
+
path: '/v1/users/:userId/can-view-inventory',
|
|
335
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
336
|
+
requestFormat: 'json',
|
|
345
337
|
serializationMethod: {
|
|
346
338
|
userId: {
|
|
347
|
-
style:
|
|
339
|
+
style: 'simple',
|
|
348
340
|
},
|
|
349
341
|
},
|
|
350
342
|
parameters: {
|
|
@@ -364,13 +356,13 @@ export const getUsersUseridCanViewInventory = endpoint({
|
|
|
364
356
|
* @param userId
|
|
365
357
|
*/
|
|
366
358
|
export const getUsersUseridCategories = endpoint({
|
|
367
|
-
method:
|
|
368
|
-
path:
|
|
369
|
-
baseUrl:
|
|
370
|
-
requestFormat:
|
|
359
|
+
method: 'GET',
|
|
360
|
+
path: '/v1/users/:userId/categories',
|
|
361
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
362
|
+
requestFormat: 'json',
|
|
371
363
|
serializationMethod: {
|
|
372
364
|
userId: {
|
|
373
|
-
style:
|
|
365
|
+
style: 'simple',
|
|
374
366
|
},
|
|
375
367
|
},
|
|
376
368
|
parameters: {
|
|
@@ -385,13 +377,13 @@ export const getUsersUseridCategories = endpoint({
|
|
|
385
377
|
* @param userId
|
|
386
378
|
*/
|
|
387
379
|
export const getUsersUseridCategoriesFavorites = endpoint({
|
|
388
|
-
method:
|
|
389
|
-
path:
|
|
390
|
-
baseUrl:
|
|
391
|
-
requestFormat:
|
|
380
|
+
method: 'GET',
|
|
381
|
+
path: '/v1/users/:userId/categories/favorites',
|
|
382
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
383
|
+
requestFormat: 'json',
|
|
392
384
|
serializationMethod: {
|
|
393
385
|
userId: {
|
|
394
|
-
style:
|
|
386
|
+
style: 'simple',
|
|
395
387
|
},
|
|
396
388
|
},
|
|
397
389
|
parameters: {
|
|
@@ -409,34 +401,27 @@ Place creators can make requests as if they were the Game Server.
|
|
|
409
401
|
* @param itemTargetId ID of the item in question
|
|
410
402
|
*/
|
|
411
403
|
export const getUsersUseridItemsItemtypeItemtargetid = endpoint({
|
|
412
|
-
method:
|
|
413
|
-
path:
|
|
414
|
-
baseUrl:
|
|
415
|
-
requestFormat:
|
|
404
|
+
method: 'GET',
|
|
405
|
+
path: '/v1/users/:userId/items/:itemType/:itemTargetId',
|
|
406
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
407
|
+
requestFormat: 'json',
|
|
416
408
|
serializationMethod: {
|
|
417
409
|
userId: {
|
|
418
|
-
style:
|
|
410
|
+
style: 'simple',
|
|
419
411
|
},
|
|
420
412
|
itemType: {
|
|
421
|
-
style:
|
|
413
|
+
style: 'simple',
|
|
422
414
|
},
|
|
423
415
|
itemTargetId: {
|
|
424
|
-
style:
|
|
416
|
+
style: 'simple',
|
|
425
417
|
},
|
|
426
418
|
},
|
|
427
419
|
parameters: {
|
|
428
420
|
userId: z.number().int(),
|
|
429
|
-
itemType: z.union([
|
|
430
|
-
z.literal(0),
|
|
431
|
-
z.literal(1),
|
|
432
|
-
z.literal(2),
|
|
433
|
-
z.literal(3),
|
|
434
|
-
z.literal(4),
|
|
435
|
-
]),
|
|
421
|
+
itemType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
|
|
436
422
|
itemTargetId: z.number().int(),
|
|
437
423
|
},
|
|
438
|
-
response:
|
|
439
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_,
|
|
424
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItemModel_,
|
|
440
425
|
errors: [
|
|
441
426
|
{
|
|
442
427
|
status: 400,
|
|
@@ -457,30 +442,24 @@ export const getUsersUseridItemsItemtypeItemtargetid = endpoint({
|
|
|
457
442
|
* @param itemTargetId ID of the item in question
|
|
458
443
|
*/
|
|
459
444
|
export const getUsersUseridItemsItemtypeItemtargetidIsOwned = endpoint({
|
|
460
|
-
method:
|
|
461
|
-
path:
|
|
462
|
-
baseUrl:
|
|
463
|
-
requestFormat:
|
|
445
|
+
method: 'GET',
|
|
446
|
+
path: '/v1/users/:userId/items/:itemType/:itemTargetId/is-owned',
|
|
447
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
448
|
+
requestFormat: 'json',
|
|
464
449
|
serializationMethod: {
|
|
465
450
|
userId: {
|
|
466
|
-
style:
|
|
451
|
+
style: 'simple',
|
|
467
452
|
},
|
|
468
453
|
itemType: {
|
|
469
|
-
style:
|
|
454
|
+
style: 'simple',
|
|
470
455
|
},
|
|
471
456
|
itemTargetId: {
|
|
472
|
-
style:
|
|
457
|
+
style: 'simple',
|
|
473
458
|
},
|
|
474
459
|
},
|
|
475
460
|
parameters: {
|
|
476
461
|
userId: z.number().int(),
|
|
477
|
-
itemType: z.union([
|
|
478
|
-
z.literal(0),
|
|
479
|
-
z.literal(1),
|
|
480
|
-
z.literal(2),
|
|
481
|
-
z.literal(3),
|
|
482
|
-
z.literal(4),
|
|
483
|
-
]),
|
|
462
|
+
itemType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
|
|
484
463
|
itemTargetId: z.number().int(),
|
|
485
464
|
},
|
|
486
465
|
response: z.boolean(),
|
|
@@ -505,42 +484,34 @@ export const getUsersUseridItemsItemtypeItemtargetidIsOwned = endpoint({
|
|
|
505
484
|
* @param cursor
|
|
506
485
|
*/
|
|
507
486
|
export const getUsersUseridPlacesInventory = endpoint({
|
|
508
|
-
method:
|
|
509
|
-
path:
|
|
510
|
-
baseUrl:
|
|
511
|
-
requestFormat:
|
|
487
|
+
method: 'GET',
|
|
488
|
+
path: '/v1/users/:userId/places/inventory',
|
|
489
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
490
|
+
requestFormat: 'json',
|
|
512
491
|
serializationMethod: {
|
|
513
492
|
userId: {
|
|
514
|
-
style:
|
|
493
|
+
style: 'simple',
|
|
515
494
|
},
|
|
516
495
|
placesTab: {
|
|
517
|
-
style:
|
|
496
|
+
style: 'form',
|
|
518
497
|
explode: true,
|
|
519
498
|
},
|
|
520
499
|
itemsPerPage: {
|
|
521
|
-
style:
|
|
500
|
+
style: 'form',
|
|
522
501
|
explode: true,
|
|
523
502
|
},
|
|
524
503
|
cursor: {
|
|
525
|
-
style:
|
|
504
|
+
style: 'form',
|
|
526
505
|
explode: true,
|
|
527
506
|
},
|
|
528
507
|
},
|
|
529
508
|
parameters: {
|
|
530
509
|
userId: z.number().int(),
|
|
531
|
-
placesTab: z.union([
|
|
532
|
-
z.literal(0),
|
|
533
|
-
z.literal(1),
|
|
534
|
-
z.literal(2),
|
|
535
|
-
z.literal(3),
|
|
536
|
-
z.literal(4),
|
|
537
|
-
z.literal(5),
|
|
538
|
-
]),
|
|
510
|
+
placesTab: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)]),
|
|
539
511
|
itemsPerPage: z.number().int(),
|
|
540
512
|
cursor: z.number().int(),
|
|
541
513
|
},
|
|
542
|
-
response:
|
|
543
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_PlaceModel_,
|
|
514
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_PlaceModel_,
|
|
544
515
|
errors: [
|
|
545
516
|
{
|
|
546
517
|
status: 400,
|
|
@@ -56,7 +56,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItem
|
|
|
56
56
|
const Roblox_Inventory_Api_Models_CreatorModel = zod_1.z.object({
|
|
57
57
|
id: zod_1.z.number().int(),
|
|
58
58
|
name: zod_1.z.string(),
|
|
59
|
-
type: zod_1.z.enum(['User', 'Group']),
|
|
59
|
+
type: zod_1.z.enum(['User', 'Group', 'Experience']),
|
|
60
60
|
});
|
|
61
61
|
const Roblox_Inventory_Api_Models_PlaceModel = zod_1.z.object({
|
|
62
62
|
universeId: zod_1.z.number().int(),
|
|
@@ -302,6 +302,8 @@ exports.getUsersUseridAssetsCollectibles = (0, __1.endpoint)({
|
|
|
302
302
|
zod_1.z.literal(88),
|
|
303
303
|
zod_1.z.literal(89),
|
|
304
304
|
zod_1.z.literal(90),
|
|
305
|
+
zod_1.z.literal(91),
|
|
306
|
+
zod_1.z.literal(92),
|
|
305
307
|
])
|
|
306
308
|
.optional(),
|
|
307
309
|
limit: zod_1.z
|