rozod 6.6.0 → 6.7.1
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/README.md +11 -11
- package/lib/endpoints/accountinformationv1.d.ts +50 -87
- package/lib/endpoints/accountinformationv1.js +46 -90
- package/lib/endpoints/assetdeliveryv1.d.ts +1 -0
- package/lib/endpoints/assetdeliveryv1.js +1 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +1 -0
- package/lib/endpoints/assetdeliveryv2.js +1 -0
- package/lib/endpoints/authv1.d.ts +64 -1
- package/lib/endpoints/authv1.js +67 -3
- package/lib/endpoints/authv2.d.ts +21 -0
- package/lib/endpoints/authv2.js +22 -1
- package/lib/endpoints/avatarv1.d.ts +9 -6
- package/lib/endpoints/avatarv1.js +9 -6
- package/lib/endpoints/avatarv2.d.ts +11 -5
- package/lib/endpoints/avatarv2.js +11 -5
- package/lib/endpoints/avatarv3.d.ts +16 -7
- package/lib/endpoints/avatarv3.js +16 -7
- package/lib/endpoints/catalogv1.d.ts +23 -2
- package/lib/endpoints/catalogv1.js +19 -2
- package/lib/endpoints/catalogv2.d.ts +242 -6
- package/lib/endpoints/catalogv2.js +235 -7
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv2.d.ts +6 -0
- package/lib/endpoints/clientsettingsv2.js +6 -0
- package/lib/endpoints/contactsv1.d.ts +18 -22
- package/lib/endpoints/contactsv1.js +14 -22
- package/lib/endpoints/developv1.d.ts +33 -1
- package/lib/endpoints/developv1.js +9 -3
- package/lib/endpoints/developv2.d.ts +29 -2
- package/lib/endpoints/developv2.js +13 -4
- package/lib/endpoints/gameinternationalizationv1.d.ts +59 -0
- package/lib/endpoints/gameinternationalizationv1.js +57 -1
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +74 -95
- package/lib/endpoints/gamesv1.js +68 -97
- package/lib/endpoints/gamesv2.d.ts +2 -0
- package/lib/endpoints/gamesv2.js +2 -0
- package/lib/endpoints/groupsv1.d.ts +7 -3
- package/lib/endpoints/groupsv1.js +7 -3
- package/lib/endpoints/groupsv2.d.ts +1 -0
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv2.d.ts +68 -0
- package/lib/endpoints/inventoryv2.js +66 -1
- package/lib/endpoints/localev1.d.ts +27 -0
- package/lib/endpoints/localev1.js +28 -1
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/publishv1.d.ts +3 -6
- package/lib/endpoints/publishv1.js +3 -6
- package/lib/opencloud/v2/cloud.d.ts +28 -31
- package/lib/opencloud/v2/cloud.js +45 -46
- package/package.json +108 -64
|
@@ -22,6 +22,18 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwne
|
|
|
22
22
|
nextPageCursor: z.string(),
|
|
23
23
|
data: z.array(Roblox_Inventory_Api_V2_AssetOwnerResponse),
|
|
24
24
|
});
|
|
25
|
+
const Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse = z.object({
|
|
26
|
+
collectibleItemInstanceId: z.string(),
|
|
27
|
+
serialNumber: z.number().int(),
|
|
28
|
+
owner:
|
|
29
|
+
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
|
|
30
|
+
});
|
|
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
|
+
});
|
|
25
37
|
const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = z.object({
|
|
26
38
|
assetId: z.number().int(),
|
|
27
39
|
name: z.string(),
|
|
@@ -201,6 +213,62 @@ export const getAssetsAssetidOwners = endpoint({
|
|
|
201
213
|
},
|
|
202
214
|
],
|
|
203
215
|
});
|
|
216
|
+
/**
|
|
217
|
+
* @api GET https://inventory.roblox.com/v2/collectible-items/:collectibleItemId/owners
|
|
218
|
+
* @summary Gets a list of owners of a collectible item.
|
|
219
|
+
* @param collectibleItemId The collectible item ID.
|
|
220
|
+
* @param limit The number of results per request.
|
|
221
|
+
* @param cursor The paging cursor for the previous or next page.
|
|
222
|
+
* @param sortOrder The order the results are sorted in.
|
|
223
|
+
*/
|
|
224
|
+
export const getCollectibleItemsCollectibleitemidOwners = endpoint({
|
|
225
|
+
method: "GET",
|
|
226
|
+
path: "/v2/collectible-items/:collectibleItemId/owners",
|
|
227
|
+
baseUrl: "https://inventory.roblox.com",
|
|
228
|
+
requestFormat: "json",
|
|
229
|
+
serializationMethod: {
|
|
230
|
+
collectibleItemId: {
|
|
231
|
+
style: "simple",
|
|
232
|
+
},
|
|
233
|
+
limit: {
|
|
234
|
+
style: "form",
|
|
235
|
+
explode: true,
|
|
236
|
+
},
|
|
237
|
+
cursor: {
|
|
238
|
+
style: "form",
|
|
239
|
+
explode: true,
|
|
240
|
+
},
|
|
241
|
+
sortOrder: {
|
|
242
|
+
style: "form",
|
|
243
|
+
explode: true,
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
parameters: {
|
|
247
|
+
collectibleItemId: z.string(),
|
|
248
|
+
limit: z.number().int().optional().default(10),
|
|
249
|
+
cursor: z.string().optional(),
|
|
250
|
+
sortOrder: z
|
|
251
|
+
.union([z.literal(1), z.literal(2)])
|
|
252
|
+
.optional()
|
|
253
|
+
.default(1),
|
|
254
|
+
},
|
|
255
|
+
response:
|
|
256
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_,
|
|
257
|
+
errors: [
|
|
258
|
+
{
|
|
259
|
+
status: 400,
|
|
260
|
+
description: `1: The collectible item id is invalid.`,
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
status: 401,
|
|
264
|
+
description: `0: Authorization has been denied for this request.`,
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
status: 403,
|
|
268
|
+
description: `2: You do not have permission to view the owners of this item.`,
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
});
|
|
204
272
|
/**
|
|
205
273
|
* @api DELETE https://inventory.roblox.com/v2/inventory/asset/:assetId
|
|
206
274
|
* @summary Give up an asset owned by the authenticated user.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getUsersUseridInventoryAssettypeid = exports.getUsersUseridInventory = exports.deleteInventoryAssetAssetid = exports.getAssetsAssetidOwners = void 0;
|
|
3
|
+
exports.getUsersUseridInventoryAssettypeid = exports.getUsersUseridInventory = exports.deleteInventoryAssetAssetid = exports.getCollectibleItemsCollectibleitemidOwners = exports.getAssetsAssetidOwners = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ = zod_1.z.object({
|
|
@@ -21,6 +21,16 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwne
|
|
|
21
21
|
nextPageCursor: zod_1.z.string(),
|
|
22
22
|
data: zod_1.z.array(Roblox_Inventory_Api_V2_AssetOwnerResponse),
|
|
23
23
|
});
|
|
24
|
+
const Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse = zod_1.z.object({
|
|
25
|
+
collectibleItemInstanceId: zod_1.z.string(),
|
|
26
|
+
serialNumber: zod_1.z.number().int(),
|
|
27
|
+
owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
|
|
28
|
+
});
|
|
29
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_ = zod_1.z.object({
|
|
30
|
+
previousPageCursor: zod_1.z.string(),
|
|
31
|
+
nextPageCursor: zod_1.z.string(),
|
|
32
|
+
data: zod_1.z.array(Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse),
|
|
33
|
+
});
|
|
24
34
|
const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
|
|
25
35
|
assetId: zod_1.z.number().int(),
|
|
26
36
|
name: zod_1.z.string(),
|
|
@@ -190,6 +200,61 @@ exports.getAssetsAssetidOwners = (0, __1.endpoint)({
|
|
|
190
200
|
},
|
|
191
201
|
],
|
|
192
202
|
});
|
|
203
|
+
/**
|
|
204
|
+
* @api GET https://inventory.roblox.com/v2/collectible-items/:collectibleItemId/owners
|
|
205
|
+
* @summary Gets a list of owners of a collectible item.
|
|
206
|
+
* @param collectibleItemId The collectible item ID.
|
|
207
|
+
* @param limit The number of results per request.
|
|
208
|
+
* @param cursor The paging cursor for the previous or next page.
|
|
209
|
+
* @param sortOrder The order the results are sorted in.
|
|
210
|
+
*/
|
|
211
|
+
exports.getCollectibleItemsCollectibleitemidOwners = (0, __1.endpoint)({
|
|
212
|
+
method: 'GET',
|
|
213
|
+
path: '/v2/collectible-items/:collectibleItemId/owners',
|
|
214
|
+
baseUrl: 'https://inventory.roblox.com',
|
|
215
|
+
requestFormat: 'json',
|
|
216
|
+
serializationMethod: {
|
|
217
|
+
collectibleItemId: {
|
|
218
|
+
style: 'simple',
|
|
219
|
+
},
|
|
220
|
+
limit: {
|
|
221
|
+
style: 'form',
|
|
222
|
+
explode: true,
|
|
223
|
+
},
|
|
224
|
+
cursor: {
|
|
225
|
+
style: 'form',
|
|
226
|
+
explode: true,
|
|
227
|
+
},
|
|
228
|
+
sortOrder: {
|
|
229
|
+
style: 'form',
|
|
230
|
+
explode: true,
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
parameters: {
|
|
234
|
+
collectibleItemId: zod_1.z.string(),
|
|
235
|
+
limit: zod_1.z.number().int().optional().default(10),
|
|
236
|
+
cursor: zod_1.z.string().optional(),
|
|
237
|
+
sortOrder: zod_1.z
|
|
238
|
+
.union([zod_1.z.literal(1), zod_1.z.literal(2)])
|
|
239
|
+
.optional()
|
|
240
|
+
.default(1),
|
|
241
|
+
},
|
|
242
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_CollectibleItemOwnerResponse_,
|
|
243
|
+
errors: [
|
|
244
|
+
{
|
|
245
|
+
status: 400,
|
|
246
|
+
description: `1: The collectible item id is invalid.`,
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
status: 401,
|
|
250
|
+
description: `0: Authorization has been denied for this request.`,
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
status: 403,
|
|
254
|
+
description: `2: You do not have permission to view the owners of this item.`,
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
});
|
|
193
258
|
/**
|
|
194
259
|
* @api DELETE https://inventory.roblox.com/v2/inventory/asset/:assetId
|
|
195
260
|
* @summary Give up an asset owned by the authenticated user.
|
|
@@ -233,6 +233,33 @@ export const getLocalesSupportedLocalesForCreators = endpoint({
|
|
|
233
233
|
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
|
|
234
234
|
errors: [],
|
|
235
235
|
});
|
|
236
|
+
/**
|
|
237
|
+
* @api GET https://locale.roblox.com/v1/locales/supported-locales-for-feature
|
|
238
|
+
* @summary Get list of Supported locales for a specific feature.
|
|
239
|
+
* @param featureName
|
|
240
|
+
*/
|
|
241
|
+
export const getLocalesSupportedLocalesForFeature = endpoint({
|
|
242
|
+
method: "GET",
|
|
243
|
+
path: "/v1/locales/supported-locales-for-feature",
|
|
244
|
+
baseUrl: "https://locale.roblox.com",
|
|
245
|
+
requestFormat: "json",
|
|
246
|
+
serializationMethod: {
|
|
247
|
+
featureName: {
|
|
248
|
+
style: "form",
|
|
249
|
+
explode: true,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
parameters: {
|
|
253
|
+
featureName: z.string(),
|
|
254
|
+
},
|
|
255
|
+
response: Roblox_Locale_Api_SupportedLocalesResponse,
|
|
256
|
+
errors: [
|
|
257
|
+
{
|
|
258
|
+
status: 500,
|
|
259
|
+
description: `Internal server error`,
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
});
|
|
236
263
|
/**
|
|
237
264
|
* @api GET https://locale.roblox.com/v1/locales/user-locale
|
|
238
265
|
* @summary Gets user locale. If user is absent returns, locale from http request object.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLocalesUserLocalizationLocusSupportedLocales = exports.getLocalesUserLocale = exports.getLocalesSupportedLocalesForCreators = exports.getLocalesSupportedLocales = exports.postLocalesSetUserSupportedLocale = exports.postLocalesSetShowRobloxTranslations = exports.getLocales = exports.getCountryRegions = void 0;
|
|
3
|
+
exports.getLocalesUserLocalizationLocusSupportedLocales = exports.getLocalesUserLocale = exports.getLocalesSupportedLocalesForFeature = exports.getLocalesSupportedLocalesForCreators = exports.getLocalesSupportedLocales = exports.postLocalesSetUserSupportedLocale = exports.postLocalesSetShowRobloxTranslations = exports.getLocales = exports.getCountryRegions = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_Locale_Api_CountryRegion = zod_1.z.object({
|
|
@@ -233,6 +233,33 @@ exports.getLocalesSupportedLocalesForCreators = (0, __1.endpoint)({
|
|
|
233
233
|
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
|
|
234
234
|
errors: [],
|
|
235
235
|
});
|
|
236
|
+
/**
|
|
237
|
+
* @api GET https://locale.roblox.com/v1/locales/supported-locales-for-feature
|
|
238
|
+
* @summary Get list of Supported locales for a specific feature.
|
|
239
|
+
* @param featureName
|
|
240
|
+
*/
|
|
241
|
+
exports.getLocalesSupportedLocalesForFeature = (0, __1.endpoint)({
|
|
242
|
+
method: 'GET',
|
|
243
|
+
path: '/v1/locales/supported-locales-for-feature',
|
|
244
|
+
baseUrl: 'https://locale.roblox.com',
|
|
245
|
+
requestFormat: 'json',
|
|
246
|
+
serializationMethod: {
|
|
247
|
+
featureName: {
|
|
248
|
+
style: 'form',
|
|
249
|
+
explode: true,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
parameters: {
|
|
253
|
+
featureName: zod_1.z.string(),
|
|
254
|
+
},
|
|
255
|
+
response: Roblox_Locale_Api_SupportedLocalesResponse,
|
|
256
|
+
errors: [
|
|
257
|
+
{
|
|
258
|
+
status: 500,
|
|
259
|
+
description: `Internal server error`,
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
});
|
|
236
263
|
/**
|
|
237
264
|
* @api GET https://locale.roblox.com/v1/locales/user-locale
|
|
238
265
|
* @summary Gets user locale. If user is absent returns, locale from http request object.
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { endpoint } from '..';
|
|
3
|
-
|
|
4
|
-
const Roblox_Metrics_Api_ThumbnailLoadMetadataResponse = z.object({
|
|
5
|
-
logRatio: z.number(),
|
|
6
|
-
});
|
|
7
|
-
const Roblox_Metrics_Api_RecordBundleLoadRequest = z.object({
|
|
8
|
-
bundleUrl: z.string().url(),
|
|
9
|
-
bundleName: z.string(),
|
|
10
|
-
loadTimeInMilliseconds: z.number().int(),
|
|
11
|
-
cdnProviderName: z.string(),
|
|
12
|
-
loadState: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
13
|
-
bundleContentType: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
14
|
-
});
|
|
15
|
-
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
16
|
-
const Roblox_Metrics_Api_RecordThumbnailLoadRequest = z.object({
|
|
17
|
-
duration: z.number().int(),
|
|
18
|
-
loadState: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
19
|
-
thumbnailType: z.string(),
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @api POST https://metrics.roblox.com/v1/bundle-metrics/report
|
|
24
|
-
* @summary Records bundle load successes.
|
|
25
|
-
* @param body The Roblox.Metrics.Api.RecordBundleLoadRequest.
|
|
26
|
-
* @description Xsrf protection disabled because this endpoint is supposed to be used
|
|
27
|
-
to record static content. It's possible XSRF can't be retried if:
|
|
28
|
-
- The XSRF retry JavaScript fails to load (or fails to execute)
|
|
29
|
-
- CSS fails to load before JavaScript finishes loading.
|
|
30
|
-
*/
|
|
31
|
-
export const postBundleMetricsReport = endpoint({
|
|
32
|
-
method: 'POST',
|
|
33
|
-
path: '/v1/bundle-metrics/report',
|
|
34
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
35
|
-
requestFormat: 'json',
|
|
36
|
-
serializationMethod: {
|
|
37
|
-
body: {},
|
|
38
|
-
},
|
|
39
|
-
parameters: {},
|
|
40
|
-
body: Roblox_Metrics_Api_RecordBundleLoadRequest,
|
|
41
|
-
response: z.object({}),
|
|
42
|
-
errors: [
|
|
43
|
-
{
|
|
44
|
-
status: 400,
|
|
45
|
-
description: `1: The bundle url is invalid.`,
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @api POST https://metrics.roblox.com/v1/thumbnails/load
|
|
51
|
-
* @summary Records the time it takes for a thumbnail to get loaded in the UI.
|
|
52
|
-
* @param body The Roblox.Metrics.Api.RecordThumbnailLoadRequest.
|
|
53
|
-
*/
|
|
54
|
-
export const postThumbnailsLoad = endpoint({
|
|
55
|
-
method: 'POST',
|
|
56
|
-
path: '/v1/thumbnails/load',
|
|
57
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
58
|
-
requestFormat: 'json',
|
|
59
|
-
serializationMethod: {
|
|
60
|
-
body: {},
|
|
61
|
-
},
|
|
62
|
-
parameters: {},
|
|
63
|
-
body: Roblox_Metrics_Api_RecordThumbnailLoadRequest,
|
|
64
|
-
response: z.object({}),
|
|
65
|
-
errors: [
|
|
66
|
-
{
|
|
67
|
-
status: 400,
|
|
68
|
-
description: `2: A required parameter is missing from the request`,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
status: 403,
|
|
72
|
-
description: `0: Token Validation Failed`,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @api GET https://metrics.roblox.com/v1/thumbnails/metadata
|
|
78
|
-
* @summary Get metadata related to logging thumbnail load metrics.
|
|
79
|
-
e.g. ThumbnailLoadLoggingRatio
|
|
80
|
-
*/
|
|
81
|
-
export const getThumbnailsMetadata = endpoint({
|
|
82
|
-
method: 'GET',
|
|
83
|
-
path: '/v1/thumbnails/metadata',
|
|
84
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
85
|
-
requestFormat: 'json',
|
|
86
|
-
response: z.object({ logRatio: z.number() }),
|
|
87
|
-
errors: [],
|
|
88
|
-
});
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
|
+
|
|
4
|
+
const Roblox_Metrics_Api_ThumbnailLoadMetadataResponse = z.object({
|
|
5
|
+
logRatio: z.number(),
|
|
6
|
+
});
|
|
7
|
+
const Roblox_Metrics_Api_RecordBundleLoadRequest = z.object({
|
|
8
|
+
bundleUrl: z.string().url(),
|
|
9
|
+
bundleName: z.string(),
|
|
10
|
+
loadTimeInMilliseconds: z.number().int(),
|
|
11
|
+
cdnProviderName: z.string(),
|
|
12
|
+
loadState: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
13
|
+
bundleContentType: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
14
|
+
});
|
|
15
|
+
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
16
|
+
const Roblox_Metrics_Api_RecordThumbnailLoadRequest = z.object({
|
|
17
|
+
duration: z.number().int(),
|
|
18
|
+
loadState: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
19
|
+
thumbnailType: z.string(),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @api POST https://metrics.roblox.com/v1/bundle-metrics/report
|
|
24
|
+
* @summary Records bundle load successes.
|
|
25
|
+
* @param body The Roblox.Metrics.Api.RecordBundleLoadRequest.
|
|
26
|
+
* @description Xsrf protection disabled because this endpoint is supposed to be used
|
|
27
|
+
to record static content. It's possible XSRF can't be retried if:
|
|
28
|
+
- The XSRF retry JavaScript fails to load (or fails to execute)
|
|
29
|
+
- CSS fails to load before JavaScript finishes loading.
|
|
30
|
+
*/
|
|
31
|
+
export const postBundleMetricsReport = endpoint({
|
|
32
|
+
method: 'POST',
|
|
33
|
+
path: '/v1/bundle-metrics/report',
|
|
34
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
35
|
+
requestFormat: 'json',
|
|
36
|
+
serializationMethod: {
|
|
37
|
+
body: {},
|
|
38
|
+
},
|
|
39
|
+
parameters: {},
|
|
40
|
+
body: Roblox_Metrics_Api_RecordBundleLoadRequest,
|
|
41
|
+
response: z.object({}),
|
|
42
|
+
errors: [
|
|
43
|
+
{
|
|
44
|
+
status: 400,
|
|
45
|
+
description: `1: The bundle url is invalid.`,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
* @api POST https://metrics.roblox.com/v1/thumbnails/load
|
|
51
|
+
* @summary Records the time it takes for a thumbnail to get loaded in the UI.
|
|
52
|
+
* @param body The Roblox.Metrics.Api.RecordThumbnailLoadRequest.
|
|
53
|
+
*/
|
|
54
|
+
export const postThumbnailsLoad = endpoint({
|
|
55
|
+
method: 'POST',
|
|
56
|
+
path: '/v1/thumbnails/load',
|
|
57
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
58
|
+
requestFormat: 'json',
|
|
59
|
+
serializationMethod: {
|
|
60
|
+
body: {},
|
|
61
|
+
},
|
|
62
|
+
parameters: {},
|
|
63
|
+
body: Roblox_Metrics_Api_RecordThumbnailLoadRequest,
|
|
64
|
+
response: z.object({}),
|
|
65
|
+
errors: [
|
|
66
|
+
{
|
|
67
|
+
status: 400,
|
|
68
|
+
description: `2: A required parameter is missing from the request`,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
status: 403,
|
|
72
|
+
description: `0: Token Validation Failed`,
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
});
|
|
76
|
+
/**
|
|
77
|
+
* @api GET https://metrics.roblox.com/v1/thumbnails/metadata
|
|
78
|
+
* @summary Get metadata related to logging thumbnail load metrics.
|
|
79
|
+
e.g. ThumbnailLoadLoggingRatio
|
|
80
|
+
*/
|
|
81
|
+
export const getThumbnailsMetadata = endpoint({
|
|
82
|
+
method: 'GET',
|
|
83
|
+
path: '/v1/thumbnails/metadata',
|
|
84
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
85
|
+
requestFormat: 'json',
|
|
86
|
+
response: z.object({ logRatio: z.number() }),
|
|
87
|
+
errors: [],
|
|
88
|
+
});
|
|
@@ -114,6 +114,7 @@ export const postAudio = endpoint({
|
|
|
114
114
|
description: `3: The request did not contain a file to be uploaded.
|
|
115
115
|
4: The file in the request is too large.
|
|
116
116
|
5: The duration of the audio file is too long.
|
|
117
|
+
7: Failed to parse the file.
|
|
117
118
|
8: The file type is not supported.
|
|
118
119
|
9: The file is corrupted
|
|
119
120
|
11: Missing permissions to spend group funds.
|
|
@@ -138,8 +139,7 @@ export const postAudio = endpoint({
|
|
|
138
139
|
},
|
|
139
140
|
{
|
|
140
141
|
status: 500,
|
|
141
|
-
description: `
|
|
142
|
-
19: Asset creation was unavailable. Please try again.`,
|
|
142
|
+
description: `19: Asset creation was unavailable. Please try again.`,
|
|
143
143
|
},
|
|
144
144
|
],
|
|
145
145
|
});
|
|
@@ -165,6 +165,7 @@ export const postAudioVerify = endpoint({
|
|
|
165
165
|
description: `3: The request did not contain a file to be uploaded.
|
|
166
166
|
4: The file in the request is too large.
|
|
167
167
|
5: The duration of the audio file is too long.
|
|
168
|
+
7: Failed to parse the file.
|
|
168
169
|
8: The file type is not supported.
|
|
169
170
|
9: The file is corrupted
|
|
170
171
|
18: Too many requests. Try again later.`,
|
|
@@ -178,10 +179,6 @@ export const postAudioVerify = endpoint({
|
|
|
178
179
|
status: 403,
|
|
179
180
|
description: `0: Token Validation Failed`,
|
|
180
181
|
},
|
|
181
|
-
{
|
|
182
|
-
status: 500,
|
|
183
|
-
description: `7: Failed to parse the file.`,
|
|
184
|
-
},
|
|
185
182
|
],
|
|
186
183
|
});
|
|
187
184
|
/**
|
|
@@ -115,6 +115,7 @@ exports.postAudio = (0, __1.endpoint)({
|
|
|
115
115
|
description: `3: The request did not contain a file to be uploaded.
|
|
116
116
|
4: The file in the request is too large.
|
|
117
117
|
5: The duration of the audio file is too long.
|
|
118
|
+
7: Failed to parse the file.
|
|
118
119
|
8: The file type is not supported.
|
|
119
120
|
9: The file is corrupted
|
|
120
121
|
11: Missing permissions to spend group funds.
|
|
@@ -139,8 +140,7 @@ exports.postAudio = (0, __1.endpoint)({
|
|
|
139
140
|
},
|
|
140
141
|
{
|
|
141
142
|
status: 500,
|
|
142
|
-
description: `
|
|
143
|
-
19: Asset creation was unavailable. Please try again.`,
|
|
143
|
+
description: `19: Asset creation was unavailable. Please try again.`,
|
|
144
144
|
},
|
|
145
145
|
],
|
|
146
146
|
});
|
|
@@ -166,6 +166,7 @@ exports.postAudioVerify = (0, __1.endpoint)({
|
|
|
166
166
|
description: `3: The request did not contain a file to be uploaded.
|
|
167
167
|
4: The file in the request is too large.
|
|
168
168
|
5: The duration of the audio file is too long.
|
|
169
|
+
7: Failed to parse the file.
|
|
169
170
|
8: The file type is not supported.
|
|
170
171
|
9: The file is corrupted
|
|
171
172
|
18: Too many requests. Try again later.`,
|
|
@@ -179,10 +180,6 @@ exports.postAudioVerify = (0, __1.endpoint)({
|
|
|
179
180
|
status: 403,
|
|
180
181
|
description: `0: Token Validation Failed`,
|
|
181
182
|
},
|
|
182
|
-
{
|
|
183
|
-
status: 500,
|
|
184
|
-
description: `7: Failed to parse the file.`,
|
|
185
|
-
},
|
|
186
183
|
],
|
|
187
184
|
});
|
|
188
185
|
/**
|
|
@@ -701,31 +701,6 @@ export declare const getCloudV2GroupsGroupIdRolesRoleId: import("../..").Endpoin
|
|
|
701
701
|
bypassSlowMode: boolean;
|
|
702
702
|
};
|
|
703
703
|
}, undefined>;
|
|
704
|
-
/**
|
|
705
|
-
* `BETA`
|
|
706
|
-
*
|
|
707
|
-
* Gets the group shout.
|
|
708
|
-
|
|
709
|
-
If a guest can view the group shout, this is always retrievable.
|
|
710
|
-
|
|
711
|
-
If a guest cannot, a member who has the permissions to view the group
|
|
712
|
-
shout, along with the `group:read` scope, will be able to read the group
|
|
713
|
-
shout.
|
|
714
|
-
*
|
|
715
|
-
* **Scopes:** `group:read`
|
|
716
|
-
* **Engine:** Usable with HttpService
|
|
717
|
-
*
|
|
718
|
-
* @param group_id The group ID.
|
|
719
|
-
*/
|
|
720
|
-
export declare const getCloudV2GroupsGroupIdShout: import("../..").EndpointGeneric<{
|
|
721
|
-
group_id: string;
|
|
722
|
-
}, {
|
|
723
|
-
path: string;
|
|
724
|
-
createTime: string;
|
|
725
|
-
updateTime: string;
|
|
726
|
-
content: string;
|
|
727
|
-
poster: string;
|
|
728
|
-
}, undefined>;
|
|
729
704
|
/**
|
|
730
705
|
* `STABLE`
|
|
731
706
|
*
|
|
@@ -1867,7 +1842,7 @@ export declare const getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesSco
|
|
|
1867
1842
|
nextPageToken: string;
|
|
1868
1843
|
}, undefined>;
|
|
1869
1844
|
/**
|
|
1870
|
-
* `
|
|
1845
|
+
* `STABLE`
|
|
1871
1846
|
*
|
|
1872
1847
|
* Create a new `LuauExecutionSessionTaskBinaryInput`.
|
|
1873
1848
|
*
|
|
@@ -2616,7 +2591,7 @@ export declare const getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstance
|
|
|
2616
2591
|
};
|
|
2617
2592
|
}, undefined>;
|
|
2618
2593
|
/**
|
|
2619
|
-
* `
|
|
2594
|
+
* `STABLE`
|
|
2620
2595
|
*
|
|
2621
2596
|
* Creates a task but does not wait for the task to complete.
|
|
2622
2597
|
|
|
@@ -2805,7 +2780,7 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestriction
|
|
|
2805
2780
|
} | undefined;
|
|
2806
2781
|
}>;
|
|
2807
2782
|
/**
|
|
2808
|
-
* `
|
|
2783
|
+
* `STABLE`
|
|
2809
2784
|
*
|
|
2810
2785
|
* Creates a task but does not wait for the task to complete.
|
|
2811
2786
|
|
|
@@ -2867,7 +2842,7 @@ export declare const postCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionI
|
|
|
2867
2842
|
binaryOutputUri: string;
|
|
2868
2843
|
}>;
|
|
2869
2844
|
/**
|
|
2870
|
-
* `
|
|
2845
|
+
* `STABLE`
|
|
2871
2846
|
*
|
|
2872
2847
|
* Gets information about a task.
|
|
2873
2848
|
|
|
@@ -2923,7 +2898,7 @@ export declare const getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionId
|
|
|
2923
2898
|
binaryOutputUri: string;
|
|
2924
2899
|
}, undefined>;
|
|
2925
2900
|
/**
|
|
2926
|
-
* `
|
|
2901
|
+
* `STABLE`
|
|
2927
2902
|
*
|
|
2928
2903
|
* Lists log chunks generated by a `LuauExecutionSessionTask`.
|
|
2929
2904
|
|
|
@@ -3033,7 +3008,7 @@ export declare const getCloudV2UniversesUniverseIdSubscriptionProductsSubscripti
|
|
|
3033
3008
|
reason: "EXPIRATION_REASON_UNSPECIFIED" | "PRODUCT_INACTIVE" | "PRODUCT_DELETED" | "SUBSCRIBER_CANCELLED" | "SUBSCRIBER_REFUNDED" | "LAPSED";
|
|
3034
3009
|
};
|
|
3035
3010
|
purchasePlatform: "PURCHASE_PLATFORM_UNSPECIFIED" | "DESKTOP" | "MOBILE";
|
|
3036
|
-
paymentProvider: "PAYMENT_PROVIDER_UNSPECIFIED" | "STRIPE" | "APPLE" | "GOOGLE" | "ROBLOX_CREDIT";
|
|
3011
|
+
paymentProvider: "PAYMENT_PROVIDER_UNSPECIFIED" | "STRIPE" | "APPLE" | "GOOGLE" | "ROBLOX_CREDIT" | "ROBUX";
|
|
3037
3012
|
user: string;
|
|
3038
3013
|
}, undefined>;
|
|
3039
3014
|
/**
|
|
@@ -3473,3 +3448,25 @@ export declare const postCloudV2UsersUserIdNotifications: import("../..").Endpoi
|
|
|
3473
3448
|
};
|
|
3474
3449
|
};
|
|
3475
3450
|
}>;
|
|
3451
|
+
export declare const postApiKeysIntrospect: import("../..").EndpointGeneric<{}, {
|
|
3452
|
+
name: string;
|
|
3453
|
+
authorizedUserId: number;
|
|
3454
|
+
scopes: {
|
|
3455
|
+
name: string;
|
|
3456
|
+
operations: string[];
|
|
3457
|
+
universeDatastores?: {
|
|
3458
|
+
universeId: string;
|
|
3459
|
+
datastoreName: string;
|
|
3460
|
+
}[] | undefined;
|
|
3461
|
+
groupIds?: string[] | undefined;
|
|
3462
|
+
userIds?: string[] | undefined;
|
|
3463
|
+
}[];
|
|
3464
|
+
enabled: boolean;
|
|
3465
|
+
expired: boolean;
|
|
3466
|
+
expirationTimeUtc: string;
|
|
3467
|
+
}, {
|
|
3468
|
+
apiKey: string;
|
|
3469
|
+
}>;
|
|
3470
|
+
export declare const deleteLegacyDevelopV2TeamtestByPlaceId: import("../..").EndpointGeneric<{
|
|
3471
|
+
placeId: number;
|
|
3472
|
+
}, Record<string, never>, undefined>;
|