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.
- 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 +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- 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 +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- 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 +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- 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 +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- 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/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 +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- 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 +56 -1
- package/lib/index.js +159 -3
- 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_Catalog_Api_BundleItemDetailModel = z.object({
|
|
5
5
|
owned: z.boolean(),
|
|
@@ -29,7 +29,7 @@ const Roblox_Catalog_Api_TimedOption = z.object({
|
|
|
29
29
|
});
|
|
30
30
|
const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
31
31
|
id: z.number().int(),
|
|
32
|
-
itemType: z.enum([
|
|
32
|
+
itemType: z.enum(['Asset', 'Bundle']),
|
|
33
33
|
assetType: z.union([
|
|
34
34
|
z.literal(1),
|
|
35
35
|
z.literal(2),
|
|
@@ -123,9 +123,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
123
123
|
description: z.string(),
|
|
124
124
|
productId: z.number().int(),
|
|
125
125
|
bundledItems: z.array(Roblox_Catalog_Api_BundleItemDetailModel),
|
|
126
|
-
itemStatus: z.array(
|
|
127
|
-
z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
|
|
128
|
-
),
|
|
126
|
+
itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
|
|
129
127
|
itemRestrictions: z.array(
|
|
130
128
|
z.union([
|
|
131
129
|
z.literal(1),
|
|
@@ -137,7 +135,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
137
135
|
z.literal(7),
|
|
138
136
|
z.literal(8),
|
|
139
137
|
z.literal(9),
|
|
140
|
-
])
|
|
138
|
+
]),
|
|
141
139
|
),
|
|
142
140
|
creatorHasVerifiedBadge: z.boolean(),
|
|
143
141
|
creatorType: z.string(),
|
|
@@ -153,14 +151,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
153
151
|
collectibleItemId: z.string(),
|
|
154
152
|
totalQuantity: z.number().int(),
|
|
155
153
|
saleLocationType: z.enum([
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
154
|
+
'NotApplicable',
|
|
155
|
+
'ShopOnly',
|
|
156
|
+
'MyExperiencesOnly',
|
|
157
|
+
'ShopAndMyExperiences',
|
|
158
|
+
'ExperiencesById',
|
|
159
|
+
'ShopAndAllExperiences',
|
|
160
|
+
'ExperiencesDevApiOnly',
|
|
161
|
+
'ShopAndExperiencesById',
|
|
164
162
|
]),
|
|
165
163
|
hasResellers: z.boolean(),
|
|
166
164
|
isOffSale: z.boolean(),
|
|
@@ -168,12 +166,11 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
168
166
|
supportsHeadShapes: z.boolean(),
|
|
169
167
|
timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
|
|
170
168
|
});
|
|
171
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ =
|
|
172
|
-
z.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
});
|
|
169
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ = z.object({
|
|
170
|
+
previousPageCursor: z.string(),
|
|
171
|
+
nextPageCursor: z.string(),
|
|
172
|
+
data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItem),
|
|
173
|
+
});
|
|
177
174
|
const Roblox_Catalog_Api_ElasticsearchDebugInfo = z.object({
|
|
178
175
|
elasticsearchQuery: z.string(),
|
|
179
176
|
isFromCache: z.boolean(),
|
|
@@ -202,7 +199,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
202
199
|
itemCreatedUtc: z.string().datetime({ offset: true }),
|
|
203
200
|
discountInformation: Roblox_Catalog_Api_DiscountInformation,
|
|
204
201
|
id: z.number().int(),
|
|
205
|
-
itemType: z.enum([
|
|
202
|
+
itemType: z.enum(['Asset', 'Bundle']),
|
|
206
203
|
assetType: z.union([
|
|
207
204
|
z.literal(1),
|
|
208
205
|
z.literal(2),
|
|
@@ -295,9 +292,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
295
292
|
name: z.string(),
|
|
296
293
|
description: z.string(),
|
|
297
294
|
productId: z.number().int(),
|
|
298
|
-
itemStatus: z.array(
|
|
299
|
-
z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
|
|
300
|
-
),
|
|
295
|
+
itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
|
|
301
296
|
itemRestrictions: z.array(
|
|
302
297
|
z.union([
|
|
303
298
|
z.literal(1),
|
|
@@ -309,7 +304,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
309
304
|
z.literal(7),
|
|
310
305
|
z.literal(8),
|
|
311
306
|
z.literal(9),
|
|
312
|
-
])
|
|
307
|
+
]),
|
|
313
308
|
),
|
|
314
309
|
creatorHasVerifiedBadge: z.boolean(),
|
|
315
310
|
creatorType: z.string(),
|
|
@@ -325,14 +320,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
325
320
|
collectibleItemId: z.string(),
|
|
326
321
|
totalQuantity: z.number().int(),
|
|
327
322
|
saleLocationType: z.enum([
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
323
|
+
'NotApplicable',
|
|
324
|
+
'ShopOnly',
|
|
325
|
+
'MyExperiencesOnly',
|
|
326
|
+
'ShopAndMyExperiences',
|
|
327
|
+
'ExperiencesById',
|
|
328
|
+
'ShopAndAllExperiences',
|
|
329
|
+
'ExperiencesDevApiOnly',
|
|
330
|
+
'ShopAndExperiencesById',
|
|
336
331
|
]),
|
|
337
332
|
hasResellers: z.boolean(),
|
|
338
333
|
isOffSale: z.boolean(),
|
|
@@ -340,14 +335,13 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
340
335
|
supportsHeadShapes: z.boolean(),
|
|
341
336
|
timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
|
|
342
337
|
});
|
|
343
|
-
const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ =
|
|
344
|
-
z.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
});
|
|
338
|
+
const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ = z.object({
|
|
339
|
+
keyword: z.string(),
|
|
340
|
+
elasticsearchDebugInfo: Roblox_Catalog_Api_ElasticsearchDebugInfo,
|
|
341
|
+
previousPageCursor: z.string(),
|
|
342
|
+
nextPageCursor: z.string(),
|
|
343
|
+
data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2),
|
|
344
|
+
});
|
|
351
345
|
|
|
352
346
|
/**
|
|
353
347
|
* @api GET https://catalog.roblox.com/v2/assets/:assetId/bundles
|
|
@@ -360,46 +354,45 @@ const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSea
|
|
|
360
354
|
* @param sortOrder The order the results are sorted in.
|
|
361
355
|
*/
|
|
362
356
|
export const getAssetsAssetidBundles = endpoint({
|
|
363
|
-
method:
|
|
364
|
-
path:
|
|
365
|
-
baseUrl:
|
|
366
|
-
requestFormat:
|
|
357
|
+
method: 'GET',
|
|
358
|
+
path: '/v2/assets/:assetId/bundles',
|
|
359
|
+
baseUrl: 'https://catalog.roblox.com',
|
|
360
|
+
requestFormat: 'json',
|
|
367
361
|
serializationMethod: {
|
|
368
362
|
assetId: {
|
|
369
|
-
style:
|
|
363
|
+
style: 'simple',
|
|
370
364
|
},
|
|
371
|
-
|
|
372
|
-
style:
|
|
365
|
+
'Roblox-Place-Id': {
|
|
366
|
+
style: 'simple',
|
|
373
367
|
},
|
|
374
|
-
|
|
375
|
-
style:
|
|
368
|
+
'Roblox-Game-Id': {
|
|
369
|
+
style: 'simple',
|
|
376
370
|
},
|
|
377
371
|
limit: {
|
|
378
|
-
style:
|
|
372
|
+
style: 'form',
|
|
379
373
|
explode: true,
|
|
380
374
|
},
|
|
381
375
|
cursor: {
|
|
382
|
-
style:
|
|
376
|
+
style: 'form',
|
|
383
377
|
explode: true,
|
|
384
378
|
},
|
|
385
379
|
sortOrder: {
|
|
386
|
-
style:
|
|
380
|
+
style: 'form',
|
|
387
381
|
explode: true,
|
|
388
382
|
},
|
|
389
383
|
},
|
|
390
384
|
parameters: {
|
|
391
385
|
assetId: z.number().int(),
|
|
392
|
-
|
|
393
|
-
|
|
386
|
+
'Roblox-Place-Id': z.number().int(),
|
|
387
|
+
'Roblox-Game-Id': z.string(),
|
|
394
388
|
limit: z
|
|
395
389
|
.union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
|
|
396
390
|
.optional()
|
|
397
391
|
.default(10),
|
|
398
392
|
cursor: z.string().optional(),
|
|
399
|
-
sortOrder: z.enum([
|
|
393
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
400
394
|
},
|
|
401
|
-
response:
|
|
402
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
|
|
395
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
|
|
403
396
|
errors: [
|
|
404
397
|
{
|
|
405
398
|
status: 400,
|
|
@@ -437,85 +430,85 @@ export const getAssetsAssetidBundles = endpoint({
|
|
|
437
430
|
* @description This endpoint is for search by item type ids.
|
|
438
431
|
*/
|
|
439
432
|
export const getSearchItemsDetails = endpoint({
|
|
440
|
-
method:
|
|
441
|
-
path:
|
|
442
|
-
baseUrl:
|
|
443
|
-
requestFormat:
|
|
433
|
+
method: 'GET',
|
|
434
|
+
path: '/v2/search/items/details',
|
|
435
|
+
baseUrl: 'https://catalog.roblox.com',
|
|
436
|
+
requestFormat: 'json',
|
|
444
437
|
serializationMethod: {
|
|
445
438
|
Taxonomy: {
|
|
446
|
-
style:
|
|
439
|
+
style: 'form',
|
|
447
440
|
explode: true,
|
|
448
441
|
},
|
|
449
442
|
AssetTypeIds: {
|
|
450
|
-
style:
|
|
443
|
+
style: 'form',
|
|
451
444
|
explode: true,
|
|
452
445
|
},
|
|
453
446
|
BundleTypeIds: {
|
|
454
|
-
style:
|
|
447
|
+
style: 'form',
|
|
455
448
|
explode: true,
|
|
456
449
|
},
|
|
457
450
|
CategoryFilter: {
|
|
458
|
-
style:
|
|
451
|
+
style: 'form',
|
|
459
452
|
explode: true,
|
|
460
453
|
},
|
|
461
454
|
SortAggregation: {
|
|
462
|
-
style:
|
|
455
|
+
style: 'form',
|
|
463
456
|
explode: true,
|
|
464
457
|
},
|
|
465
458
|
SortType: {
|
|
466
|
-
style:
|
|
459
|
+
style: 'form',
|
|
467
460
|
explode: true,
|
|
468
461
|
},
|
|
469
462
|
CreatorType: {
|
|
470
|
-
style:
|
|
463
|
+
style: 'form',
|
|
471
464
|
explode: true,
|
|
472
465
|
},
|
|
473
466
|
CreatorTargetId: {
|
|
474
|
-
style:
|
|
467
|
+
style: 'form',
|
|
475
468
|
explode: true,
|
|
476
469
|
},
|
|
477
470
|
CreatorName: {
|
|
478
|
-
style:
|
|
471
|
+
style: 'form',
|
|
479
472
|
explode: true,
|
|
480
473
|
},
|
|
481
474
|
MaxPrice: {
|
|
482
|
-
style:
|
|
475
|
+
style: 'form',
|
|
483
476
|
explode: true,
|
|
484
477
|
},
|
|
485
478
|
MinPrice: {
|
|
486
|
-
style:
|
|
479
|
+
style: 'form',
|
|
487
480
|
explode: true,
|
|
488
481
|
},
|
|
489
482
|
Keyword: {
|
|
490
|
-
style:
|
|
483
|
+
style: 'form',
|
|
491
484
|
explode: true,
|
|
492
485
|
},
|
|
493
486
|
IncludeNotForSale: {
|
|
494
|
-
style:
|
|
487
|
+
style: 'form',
|
|
495
488
|
explode: true,
|
|
496
489
|
},
|
|
497
490
|
TriggeredByTopicDiscovery: {
|
|
498
|
-
style:
|
|
491
|
+
style: 'form',
|
|
499
492
|
explode: true,
|
|
500
493
|
},
|
|
501
494
|
SalesTypeFilter: {
|
|
502
|
-
style:
|
|
495
|
+
style: 'form',
|
|
503
496
|
explode: true,
|
|
504
497
|
},
|
|
505
498
|
Topics: {
|
|
506
|
-
style:
|
|
499
|
+
style: 'form',
|
|
507
500
|
explode: true,
|
|
508
501
|
},
|
|
509
502
|
limit: {
|
|
510
|
-
style:
|
|
503
|
+
style: 'form',
|
|
511
504
|
explode: true,
|
|
512
505
|
},
|
|
513
506
|
cursor: {
|
|
514
|
-
style:
|
|
507
|
+
style: 'form',
|
|
515
508
|
explode: true,
|
|
516
509
|
},
|
|
517
510
|
sortOrder: {
|
|
518
|
-
style:
|
|
511
|
+
style: 'form',
|
|
519
512
|
explode: true,
|
|
520
513
|
},
|
|
521
514
|
},
|
|
@@ -536,25 +529,9 @@ export const getSearchItemsDetails = endpoint({
|
|
|
536
529
|
])
|
|
537
530
|
.optional(),
|
|
538
531
|
SortAggregation: z
|
|
539
|
-
.union([
|
|
540
|
-
z.literal(0),
|
|
541
|
-
z.literal(1),
|
|
542
|
-
z.literal(2),
|
|
543
|
-
z.literal(3),
|
|
544
|
-
z.literal(4),
|
|
545
|
-
z.literal(5),
|
|
546
|
-
])
|
|
547
|
-
.optional(),
|
|
548
|
-
SortType: z
|
|
549
|
-
.union([
|
|
550
|
-
z.literal(0),
|
|
551
|
-
z.literal(1),
|
|
552
|
-
z.literal(2),
|
|
553
|
-
z.literal(3),
|
|
554
|
-
z.literal(4),
|
|
555
|
-
z.literal(5),
|
|
556
|
-
])
|
|
532
|
+
.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)])
|
|
557
533
|
.optional(),
|
|
534
|
+
SortType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)]).optional(),
|
|
558
535
|
CreatorType: z.union([z.literal(0), z.literal(1), z.literal(2)]).optional(),
|
|
559
536
|
CreatorTargetId: z.number().int().optional(),
|
|
560
537
|
CreatorName: z.string().optional(),
|
|
@@ -563,31 +540,16 @@ export const getSearchItemsDetails = endpoint({
|
|
|
563
540
|
Keyword: z.string().optional(),
|
|
564
541
|
IncludeNotForSale: z.boolean().optional(),
|
|
565
542
|
TriggeredByTopicDiscovery: z.boolean().optional(),
|
|
566
|
-
SalesTypeFilter: z
|
|
567
|
-
.union([
|
|
568
|
-
z.literal(0),
|
|
569
|
-
z.literal(1),
|
|
570
|
-
z.literal(2),
|
|
571
|
-
z.literal(3),
|
|
572
|
-
z.literal(4),
|
|
573
|
-
])
|
|
574
|
-
.optional(),
|
|
543
|
+
SalesTypeFilter: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]).optional(),
|
|
575
544
|
Topics: z.string().optional(),
|
|
576
545
|
limit: z
|
|
577
|
-
.union([
|
|
578
|
-
z.literal(10),
|
|
579
|
-
z.literal(28),
|
|
580
|
-
z.literal(30),
|
|
581
|
-
z.literal(60),
|
|
582
|
-
z.literal(120),
|
|
583
|
-
])
|
|
546
|
+
.union([z.literal(10), z.literal(28), z.literal(30), z.literal(60), z.literal(120)])
|
|
584
547
|
.optional()
|
|
585
548
|
.default(10),
|
|
586
549
|
cursor: z.string().optional(),
|
|
587
|
-
sortOrder: z.literal(
|
|
550
|
+
sortOrder: z.literal('Desc').optional().default('Desc'),
|
|
588
551
|
},
|
|
589
|
-
response:
|
|
590
|
-
Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
|
|
552
|
+
response: Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
|
|
591
553
|
errors: [
|
|
592
554
|
{
|
|
593
555
|
status: 400,
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
|
-
const Roblox_ClientSettings_Api_Models_Response_ClientVersionResponse =
|
|
5
|
-
z.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponse =
|
|
15
|
-
z.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
4
|
+
const Roblox_ClientSettings_Api_Models_Response_ClientVersionResponse = z.object({
|
|
5
|
+
version: z.string(),
|
|
6
|
+
clientVersionUpload: z.string(),
|
|
7
|
+
bootstrapperVersion: z.string(),
|
|
8
|
+
nextClientVersionUpload: z.string(),
|
|
9
|
+
nextClientVersion: z.string(),
|
|
10
|
+
});
|
|
11
|
+
const Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponseData = z.object({
|
|
12
|
+
UpgradeAction: z.string(),
|
|
13
|
+
});
|
|
14
|
+
const Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponse = z.object({
|
|
15
|
+
activeVersion: z.string(),
|
|
16
|
+
upgradeSource: z.string(),
|
|
17
|
+
MD5Sum: z.string(),
|
|
18
|
+
data: Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponseData,
|
|
19
|
+
});
|
|
21
20
|
|
|
22
21
|
/**
|
|
23
22
|
* @api GET https://clientsettings.roblox.com/v1/client-version/:binaryType
|
|
@@ -25,13 +24,13 @@ const Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponse =
|
|
|
25
24
|
* @param binaryType Platform(WindowsPlayer, WindowsStudio, MacPlayer or MacStudio) for which we want the latest version
|
|
26
25
|
*/
|
|
27
26
|
export const getClientVersionBinarytype = endpoint({
|
|
28
|
-
method:
|
|
29
|
-
path:
|
|
30
|
-
baseUrl:
|
|
31
|
-
requestFormat:
|
|
27
|
+
method: 'GET',
|
|
28
|
+
path: '/v1/client-version/:binaryType',
|
|
29
|
+
baseUrl: 'https://clientsettings.roblox.com',
|
|
30
|
+
requestFormat: 'json',
|
|
32
31
|
serializationMethod: {
|
|
33
32
|
binaryType: {
|
|
34
|
-
style:
|
|
33
|
+
style: 'simple',
|
|
35
34
|
},
|
|
36
35
|
},
|
|
37
36
|
parameters: {
|
|
@@ -45,10 +44,10 @@ export const getClientVersionBinarytype = endpoint({
|
|
|
45
44
|
* @summary Get information about which CDNs to use for installation.
|
|
46
45
|
*/
|
|
47
46
|
export const getInstallerCdns = endpoint({
|
|
48
|
-
method:
|
|
49
|
-
path:
|
|
50
|
-
baseUrl:
|
|
51
|
-
requestFormat:
|
|
47
|
+
method: 'GET',
|
|
48
|
+
path: '/v1/installer-cdns',
|
|
49
|
+
baseUrl: 'https://clientsettings.roblox.com',
|
|
50
|
+
requestFormat: 'json',
|
|
52
51
|
response: z.void(),
|
|
53
52
|
errors: [],
|
|
54
53
|
});
|
|
@@ -58,21 +57,20 @@ export const getInstallerCdns = endpoint({
|
|
|
58
57
|
* @param appVersion AppiOSV2.13, AppVersioniOS2.0.1, etc
|
|
59
58
|
*/
|
|
60
59
|
export const getMobileClientVersion = endpoint({
|
|
61
|
-
method:
|
|
62
|
-
path:
|
|
63
|
-
baseUrl:
|
|
64
|
-
requestFormat:
|
|
60
|
+
method: 'GET',
|
|
61
|
+
path: '/v1/mobile-client-version',
|
|
62
|
+
baseUrl: 'https://clientsettings.roblox.com',
|
|
63
|
+
requestFormat: 'json',
|
|
65
64
|
serializationMethod: {
|
|
66
65
|
appVersion: {
|
|
67
|
-
style:
|
|
66
|
+
style: 'form',
|
|
68
67
|
explode: true,
|
|
69
68
|
},
|
|
70
69
|
},
|
|
71
70
|
parameters: {
|
|
72
71
|
appVersion: z.string(),
|
|
73
72
|
},
|
|
74
|
-
response:
|
|
75
|
-
Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponse,
|
|
73
|
+
response: Roblox_ClientSettings_Api_Models_Response_MobileClientVersionResponse,
|
|
76
74
|
errors: [
|
|
77
75
|
{
|
|
78
76
|
status: 400,
|