rozod 6.2.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/lib/endpoints/accountsettingsv1.d.ts +27 -33
  2. package/lib/endpoints/accountsettingsv1.js +11 -22
  3. package/lib/endpoints/adconfigurationv2.d.ts +104 -119
  4. package/lib/endpoints/adconfigurationv2.js +32 -48
  5. package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
  6. package/lib/endpoints/assetdeliveryv1.js +25 -24
  7. package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
  8. package/lib/endpoints/assetdeliveryv2.js +25 -24
  9. package/lib/endpoints/authv1.d.ts +132 -84
  10. package/lib/endpoints/authv1.js +118 -64
  11. package/lib/endpoints/authv2.d.ts +56 -56
  12. package/lib/endpoints/authv2.js +57 -50
  13. package/lib/endpoints/authv3.d.ts +11 -11
  14. package/lib/endpoints/authv3.js +11 -11
  15. package/lib/endpoints/avatarv1.d.ts +1 -0
  16. package/lib/endpoints/avatarv1.js +1 -0
  17. package/lib/endpoints/avatarv2.d.ts +1 -0
  18. package/lib/endpoints/avatarv2.js +1 -0
  19. package/lib/endpoints/avatarv3.d.ts +1 -0
  20. package/lib/endpoints/avatarv3.js +1 -0
  21. package/lib/endpoints/badgesv1.d.ts +6 -22
  22. package/lib/endpoints/badgesv1.js +2 -22
  23. package/lib/endpoints/catalogv1.d.ts +39 -113
  24. package/lib/endpoints/catalogv1.js +39 -107
  25. package/lib/endpoints/catalogv2.d.ts +11 -11
  26. package/lib/endpoints/catalogv2.js +11 -11
  27. package/lib/endpoints/clientsettingsv2.d.ts +8 -7
  28. package/lib/endpoints/clientsettingsv2.js +9 -1
  29. package/lib/endpoints/developv1.d.ts +31 -31
  30. package/lib/endpoints/developv1.js +26 -26
  31. package/lib/endpoints/developv2.d.ts +27 -27
  32. package/lib/endpoints/developv2.js +22 -22
  33. package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
  34. package/lib/endpoints/economycreatorstatsv1.js +1 -1
  35. package/lib/endpoints/followingsv2.d.ts +2 -2
  36. package/lib/endpoints/followingsv2.js +2 -2
  37. package/lib/endpoints/friendsv1.d.ts +24 -98
  38. package/lib/endpoints/friendsv1.js +25 -91
  39. package/lib/endpoints/gamesv1.d.ts +31 -615
  40. package/lib/endpoints/gamesv1.js +32 -608
  41. package/lib/endpoints/gamesv2.d.ts +187 -260
  42. package/lib/endpoints/gamesv2.js +130 -190
  43. package/lib/endpoints/groupsv1.d.ts +34 -28
  44. package/lib/endpoints/groupsv1.js +31 -18
  45. package/lib/endpoints/groupsv2.d.ts +92 -92
  46. package/lib/endpoints/groupsv2.js +93 -87
  47. package/lib/endpoints/inventoryv1.d.ts +9 -21
  48. package/lib/endpoints/inventoryv1.js +4 -4
  49. package/lib/endpoints/inventoryv2.d.ts +91 -91
  50. package/lib/endpoints/inventoryv2.js +86 -86
  51. package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
  52. package/lib/endpoints/itemconfigurationv1.js +1 -1
  53. package/lib/endpoints/thumbnailsv1.d.ts +1 -0
  54. package/lib/endpoints/thumbnailsv1.js +1 -0
  55. package/lib/endpoints/tradesv1.d.ts +10 -16
  56. package/lib/endpoints/tradesv1.js +10 -10
  57. package/lib/endpoints/twostepverificationv1.d.ts +59 -59
  58. package/lib/endpoints/twostepverificationv1.js +59 -59
  59. package/lib/endpoints/usersv1.d.ts +1 -1
  60. package/lib/endpoints/usersv1.js +1 -1
  61. package/lib/index.d.ts +1 -0
  62. package/lib/index.js +29 -3
  63. package/lib/opencloud/v1/asset-permissions.d.ts +7 -2
  64. package/lib/opencloud/v1/asset-permissions.js +9 -3
  65. package/lib/opencloud/v1/assets.d.ts +59 -32
  66. package/lib/opencloud/v1/assets.js +77 -41
  67. package/lib/opencloud/v1/datastores-ordered.d.ts +50 -14
  68. package/lib/opencloud/v1/datastores-ordered.js +62 -20
  69. package/lib/opencloud/v1/datastores.d.ts +99 -42
  70. package/lib/opencloud/v1/datastores.js +123 -50
  71. package/lib/opencloud/v1/developer-products.d.ts +29 -11
  72. package/lib/opencloud/v1/developer-products.js +37 -15
  73. package/lib/opencloud/v1/game-passes.d.ts +29 -11
  74. package/lib/opencloud/v1/game-passes.js +37 -15
  75. package/lib/opencloud/v1/messaging.d.ts +6 -2
  76. package/lib/opencloud/v1/messaging.js +8 -3
  77. package/lib/opencloud/v1/open-eval.d.ts +14 -4
  78. package/lib/opencloud/v1/open-eval.js +18 -6
  79. package/lib/opencloud/v1/secrets-store.d.ts +46 -26
  80. package/lib/opencloud/v1/secrets-store.js +56 -31
  81. package/lib/opencloud/v1/toolbox.d.ts +14 -6
  82. package/lib/opencloud/v1/toolbox.js +18 -8
  83. package/lib/opencloud/v1/universes.d.ts +6 -2
  84. package/lib/opencloud/v1/universes.js +8 -3
  85. package/lib/opencloud/v2/cloud.d.ts +854 -395
  86. package/lib/opencloud/v2/cloud.js +967 -395
  87. package/package.json +1 -1
@@ -36,15 +36,15 @@ const Roblox_TwoStepVerification_Api_MetadataResponse = zod_1.z.object({
36
36
  isDelayedUiEnabled: zod_1.z.boolean(),
37
37
  });
38
38
  const Roblox_TwoStepVerification_Api_UserConfigurationMethod = zod_1.z.object({
39
- mediaType: zod_1.z.union([
40
- zod_1.z.literal(0),
41
- zod_1.z.literal(1),
42
- zod_1.z.literal(2),
43
- zod_1.z.literal(3),
44
- zod_1.z.literal(4),
45
- zod_1.z.literal(5),
46
- zod_1.z.literal(6),
47
- zod_1.z.literal(7),
39
+ mediaType: zod_1.z.enum([
40
+ 'Email',
41
+ 'SMS',
42
+ 'Authenticator',
43
+ 'RecoveryCode',
44
+ 'SecurityKey',
45
+ 'CrossDevice',
46
+ 'Password',
47
+ 'Passkey',
48
48
  ]),
49
49
  enabled: zod_1.z.boolean(),
50
50
  updated: zod_1.z.string().datetime({ offset: true }),
@@ -68,16 +68,16 @@ const Roblox_TwoStepVerification_Api_RecoveryCodesStatusResponse = zod_1.z.objec
68
68
  });
69
69
  const Roblox_TwoStepVerification_Api_VerifyCodeRequest = zod_1.z.object({
70
70
  challengeId: zod_1.z.string(),
71
- actionType: zod_1.z.union([
72
- zod_1.z.literal(0),
73
- zod_1.z.literal(1),
74
- zod_1.z.literal(2),
75
- zod_1.z.literal(3),
76
- zod_1.z.literal(4),
77
- zod_1.z.literal(5),
78
- zod_1.z.literal(6),
79
- zod_1.z.literal(7),
80
- zod_1.z.literal(8),
71
+ actionType: zod_1.z.enum([
72
+ 'Unknown',
73
+ 'Login',
74
+ 'RobuxSpend',
75
+ 'ItemTrade',
76
+ 'Resale',
77
+ 'PasswordReset',
78
+ 'RevertAccount',
79
+ 'Generic',
80
+ 'GenericWithRecoveryCodes',
81
81
  ]),
82
82
  code: zod_1.z.string(),
83
83
  });
@@ -86,46 +86,46 @@ const Roblox_TwoStepVerification_Api_VerifyCodeResponse = zod_1.z.object({
86
86
  });
87
87
  const Roblox_TwoStepVerification_Api_RetractDialogRequest = zod_1.z.object({
88
88
  challengeId: zod_1.z.string(),
89
- actionType: zod_1.z.union([
90
- zod_1.z.literal(0),
91
- zod_1.z.literal(1),
92
- zod_1.z.literal(2),
93
- zod_1.z.literal(3),
94
- zod_1.z.literal(4),
95
- zod_1.z.literal(5),
96
- zod_1.z.literal(6),
97
- zod_1.z.literal(7),
98
- zod_1.z.literal(8),
89
+ actionType: zod_1.z.enum([
90
+ 'Unknown',
91
+ 'Login',
92
+ 'RobuxSpend',
93
+ 'ItemTrade',
94
+ 'Resale',
95
+ 'PasswordReset',
96
+ 'RevertAccount',
97
+ 'Generic',
98
+ 'GenericWithRecoveryCodes',
99
99
  ]),
100
100
  });
101
101
  const Roblox_TwoStepVerification_Api_RetractDialogResponse = zod_1.z.object({});
102
102
  const Roblox_TwoStepVerification_Api_RetryApprovalRequest = zod_1.z.object({
103
103
  challengeId: zod_1.z.string(),
104
- actionType: zod_1.z.union([
105
- zod_1.z.literal(0),
106
- zod_1.z.literal(1),
107
- zod_1.z.literal(2),
108
- zod_1.z.literal(3),
109
- zod_1.z.literal(4),
110
- zod_1.z.literal(5),
111
- zod_1.z.literal(6),
112
- zod_1.z.literal(7),
113
- zod_1.z.literal(8),
104
+ actionType: zod_1.z.enum([
105
+ 'Unknown',
106
+ 'Login',
107
+ 'RobuxSpend',
108
+ 'ItemTrade',
109
+ 'Resale',
110
+ 'PasswordReset',
111
+ 'RevertAccount',
112
+ 'Generic',
113
+ 'GenericWithRecoveryCodes',
114
114
  ]),
115
115
  });
116
116
  const Roblox_TwoStepVerification_Api_RetryApprovalResponse = zod_1.z.object({});
117
117
  const Roblox_TwoStepVerification_Api_VerifyApprovalRequest = zod_1.z.object({
118
118
  challengeId: zod_1.z.string(),
119
- actionType: zod_1.z.union([
120
- zod_1.z.literal(0),
121
- zod_1.z.literal(1),
122
- zod_1.z.literal(2),
123
- zod_1.z.literal(3),
124
- zod_1.z.literal(4),
125
- zod_1.z.literal(5),
126
- zod_1.z.literal(6),
127
- zod_1.z.literal(7),
128
- zod_1.z.literal(8),
119
+ actionType: zod_1.z.enum([
120
+ 'Unknown',
121
+ 'Login',
122
+ 'RobuxSpend',
123
+ 'ItemTrade',
124
+ 'Resale',
125
+ 'PasswordReset',
126
+ 'RevertAccount',
127
+ 'Generic',
128
+ 'GenericWithRecoveryCodes',
129
129
  ]),
130
130
  });
131
131
  const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = zod_1.z.object({
@@ -133,16 +133,16 @@ const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = zod_1.z.object({
133
133
  });
134
134
  const Roblox_TwoStepVerification_Api_SendCodeRequest = zod_1.z.object({
135
135
  challengeId: zod_1.z.string(),
136
- actionType: zod_1.z.union([
137
- zod_1.z.literal(0),
138
- zod_1.z.literal(1),
139
- zod_1.z.literal(2),
140
- zod_1.z.literal(3),
141
- zod_1.z.literal(4),
142
- zod_1.z.literal(5),
143
- zod_1.z.literal(6),
144
- zod_1.z.literal(7),
145
- zod_1.z.literal(8),
136
+ actionType: zod_1.z.enum([
137
+ 'Unknown',
138
+ 'Login',
139
+ 'RobuxSpend',
140
+ 'ItemTrade',
141
+ 'Resale',
142
+ 'PasswordReset',
143
+ 'RevertAccount',
144
+ 'Generic',
145
+ 'GenericWithRecoveryCodes',
146
146
  ]),
147
147
  });
148
148
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
@@ -21,7 +21,7 @@ const Roblox_Users_Api_DescriptionRequest = z.object({
21
21
  });
22
22
  const Roblox_Users_Api_GenderResponse = z.object({ gender: z.number().int() });
23
23
  const Roblox_Users_Api_GenderRequest = z.object({
24
- gender: z.union([z.literal(1), z.literal(2), z.literal(3)]),
24
+ gender: z.enum(["Unknown", "Male", "Female"]),
25
25
  });
26
26
  const Roblox_Users_Api_GetUserResponse = z.object({
27
27
  description: z.string(),
@@ -23,7 +23,7 @@ const Roblox_Users_Api_DescriptionRequest = zod_1.z.object({
23
23
  });
24
24
  const Roblox_Users_Api_GenderResponse = zod_1.z.object({ gender: zod_1.z.number().int() });
25
25
  const Roblox_Users_Api_GenderRequest = zod_1.z.object({
26
- gender: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
26
+ gender: zod_1.z.enum(['Unknown', 'Male', 'Female']),
27
27
  });
28
28
  const Roblox_Users_Api_GetUserResponse = zod_1.z.object({
29
29
  description: zod_1.z.string(),
package/lib/index.d.ts CHANGED
@@ -18,6 +18,7 @@ type EndpointBase = {
18
18
  status: number;
19
19
  description?: string;
20
20
  }[];
21
+ scopes?: string[];
21
22
  };
22
23
  export type EndpointSchema = EndpointBase & {
23
24
  parameters?: any;
package/lib/index.js CHANGED
@@ -95,9 +95,35 @@ function prepareRequestUrl(endpoint, extendedParams) {
95
95
  return endpoint.baseUrl + processedPath + query;
96
96
  }
97
97
  function prepareRequestBody(method, requestFormat, body, headers) {
98
- if (method !== 'GET' && requestFormat === 'json') {
99
- body = JSON.stringify(body);
100
- headers.set('content-type', 'application/json');
98
+ if (method !== 'GET') {
99
+ switch (requestFormat) {
100
+ case 'json':
101
+ body = JSON.stringify(body);
102
+ headers.set('content-type', 'application/json');
103
+ break;
104
+ case 'form-data': {
105
+ const formData = new FormData();
106
+ for (const [key, value] of Object.entries(body)) {
107
+ if (value instanceof Blob) {
108
+ formData.append(key, value);
109
+ }
110
+ else if (typeof value === 'string') {
111
+ formData.append(key, value);
112
+ }
113
+ else {
114
+ formData.append(key, JSON.stringify(value));
115
+ }
116
+ }
117
+ body = formData;
118
+ break;
119
+ }
120
+ case 'text':
121
+ headers.set('content-type', 'text/plain');
122
+ break;
123
+ default:
124
+ requestFormat;
125
+ throw new Error(`Unsupported request format: ${requestFormat}`);
126
+ }
101
127
  }
102
128
  return body;
103
129
  }
@@ -1,8 +1,13 @@
1
1
  /**
2
- * @api PATCH https://apis.roblox.com/cloud/asset-permissions-api/v1/assets/permissions
3
- * @summary Grant a subject permission to multiple assets.
2
+ * `BETA`
3
+ *
4
+ * Grant a subject permission to multiple assets.
4
5
 
5
6
  Authorization is required to grant permissions to the subject and asset IDs in the request.
7
+ *
8
+ * **Scopes:** `asset-permissions:write`
9
+ * **Engine:** Not available in-engine
10
+ *
6
11
  * @param body
7
12
  */
8
13
  export declare const patchAssetPermissionsApiV1AssetsPermissions: import("../..").EndpointGeneric<{}, {
@@ -41,16 +41,22 @@ const BatchGrantPermissionsResponse = zod_1.z.object({
41
41
  const Error = zod_1.z.object({ code: ErrorCode, message: zod_1.z.string().nullable() });
42
42
  const ErrorResponse = zod_1.z.object({ error: Error });
43
43
  /**
44
- * @api PATCH https://apis.roblox.com/cloud/asset-permissions-api/v1/assets/permissions
45
- * @summary Grant a subject permission to multiple assets.
44
+ * `BETA`
45
+ *
46
+ * Grant a subject permission to multiple assets.
46
47
 
47
48
  Authorization is required to grant permissions to the subject and asset IDs in the request.
49
+ *
50
+ * **Scopes:** `asset-permissions:write`
51
+ * **Engine:** Not available in-engine
52
+ *
48
53
  * @param body
49
54
  */
50
55
  exports.patchAssetPermissionsApiV1AssetsPermissions = (0, __1.endpoint)({
51
56
  method: 'PATCH',
52
57
  path: '/asset-permissions-api/v1/assets/permissions',
53
- baseUrl: 'https://apis.roblox.com/cloud',
58
+ baseUrl: 'https://apis.roblox.com',
59
+ scopes: ['asset-permissions:write'],
54
60
  requestFormat: 'json',
55
61
  serializationMethod: {
56
62
  body: {},
@@ -1,12 +1,15 @@
1
1
  /**
2
- * @api POST https://apis.roblox.com/cloud/v1/assets
3
- * @summary Creates an asset with provided content and metadata.
4
- * @param body
5
- * @description Creates an asset with provided content and metadata.
2
+ * **Create Asset** · `BETA`
3
+ *
4
+ * Creates an asset with provided content and metadata.
6
5
 
7
6
  You can't add [SocialLink](#SocialLink) objects when you create an asset. Instead, use [Update Asset](#PATCH-v1-assets-_assetId_).
8
7
 
9
8
  Provide the [Asset](#Asset), binary asset file path, and [content type](/cloud/guides/usage-assets.md#supported-asset-types-and-limits) in the form data.
9
+ *
10
+ * **Scopes:** `asset:read`, `asset:write`
11
+ *
12
+ * @param body
10
13
  */
11
14
  export declare const postAssets: import("../..").EndpointGeneric<{}, {
12
15
  path: string;
@@ -79,11 +82,14 @@ export declare const postAssets: import("../..").EndpointGeneric<{}, {
79
82
  fileContent: File;
80
83
  }>;
81
84
  /**
82
- * @api GET https://apis.roblox.com/cloud/v1/assets/:assetId
83
- * @summary Retrieve specific asset metadata. Include the `readMask` parameter for additional asset metadata.
85
+ * **Get Asset** · `BETA`
86
+ *
87
+ * Retrieve specific asset metadata.
88
+ *
89
+ * **Scopes:** `asset:read`
90
+ *
84
91
  * @param assetId The unique identifier of the asset.
85
92
  * @param readMask Asset metadata fields to retrieve, including the description, display name, icon, social links, and previews. Examples: `description%2CdisplayName`, `previews%2CtwitchSocialLink`.
86
- * @description Retrieve specific asset metadata.
87
93
  */
88
94
  export declare const getAssetsAssetId: import("../..").EndpointGeneric<{
89
95
  assetId: string;
@@ -119,14 +125,17 @@ export declare const getAssetsAssetId: import("../..").EndpointGeneric<{
119
125
  };
120
126
  }, undefined>;
121
127
  /**
122
- * @api PATCH https://apis.roblox.com/cloud/v1/assets/:assetId
123
- * @summary Updates an asset with provided content and metadata.
128
+ * **Update Asset** · `BETA`
129
+ *
130
+ * Updates an asset with provided content and metadata, including the description, display name, icon, social links, and previews. Currently can only update the content body for **Models**. Icons and Previews must be **Image** assets. Icons must have square dimensions.
131
+
132
+ Provide the [Asset](#Asset), binary asset file path, and [content type](/cloud/guides/usage-assets.md#supported-asset-types-and-limits) in the form data.
133
+ *
134
+ * **Scopes:** `asset:read`, `asset:write`
135
+ *
124
136
  * @param body
125
137
  * @param assetId The unique identifier of the asset.
126
138
  * @param updateMask Asset metadata fields to update, including the description, display name, icon, and previews. Examples: `description%2CdisplayName`, `previews%2CtwitchSocialLink`.
127
- * @description Updates an asset with provided content and metadata, including the description, display name, icon, social links, and previews. Currently can only update the content body for **Models**. Icons and Previews must be **Image** assets. Icons must have square dimensions.
128
-
129
- Provide the [Asset](#Asset), binary asset file path, and [content type](/cloud/guides/usage-assets.md#supported-asset-types-and-limits) in the form data.
130
139
  */
131
140
  export declare const patchAssetsAssetId: import("../..").EndpointGeneric<{
132
141
  assetId: string;
@@ -202,10 +211,13 @@ export declare const patchAssetsAssetId: import("../..").EndpointGeneric<{
202
211
  fileContent: File;
203
212
  }>;
204
213
  /**
205
- * @api POST https://apis.roblox.com/cloud/v1/assets/:assetId:archive
206
- * @summary Archives the asset.
214
+ * **Archive Asset** · `BETA`
215
+ *
216
+ * Archives the asset. Archived assets disappear from the website and are no longer usable or visible in Roblox experiences, but you can [restore](#POST-v1-assets-{assetId}:restore) them.
217
+ *
218
+ * **Scopes:** `asset:read`, `asset:write`
219
+ *
207
220
  * @param assetId The unique identifier of the asset.
208
- * @description Archives the asset. Archived assets disappear from the website and are no longer usable or visible in Roblox experiences, but you can [restore](#POST-v1-assets-{assetId}:restore) them.
209
221
  */
210
222
  export declare const postAssetsAssetIdArchive: import("../..").EndpointGeneric<{
211
223
  assetId: string;
@@ -240,10 +252,13 @@ export declare const postAssetsAssetIdArchive: import("../..").EndpointGeneric<{
240
252
  };
241
253
  }, undefined>;
242
254
  /**
243
- * @api POST https://apis.roblox.com/cloud/v1/assets/:assetId:restore
244
- * @summary Restores an archived asset.
255
+ * **Restore Asset** · `BETA`
256
+ *
257
+ * Restores an archived asset.
258
+ *
259
+ * **Scopes:** `asset:read`, `asset:write`
260
+ *
245
261
  * @param assetId The unique identifier of the asset.
246
- * @description Restores an archived asset.
247
262
  */
248
263
  export declare const postAssetsAssetIdRestore: import("../..").EndpointGeneric<{
249
264
  assetId: string;
@@ -278,12 +293,15 @@ export declare const postAssetsAssetIdRestore: import("../..").EndpointGeneric<{
278
293
  };
279
294
  }, undefined>;
280
295
  /**
281
- * @api GET https://apis.roblox.com/cloud/v1/assets/:assetId/versions
282
- * @summary List Asset Versions of an Asset
296
+ * **List Asset Versions** · `BETA`
297
+ *
298
+ * List all versions of a specific asset, with optional pagination.
299
+ *
300
+ * **Scopes:** `asset:read`
301
+ *
283
302
  * @param assetId The unique identifier of the asset.
284
303
  * @param maxPageSize Specifies the number of asset versions to include in the response. Valid values range from 1 to 50 (inclusive). Defaults to 8 when not provided.
285
304
  * @param pageToken A token for pagination. The value is obtained from a previous request and allows for retrieving the next page of asset versions.
286
- * @description List all versions of a specific asset, with optional pagination.
287
305
  */
288
306
  export declare const getAssetsAssetIdVersions: import("../..").EndpointGeneric<{
289
307
  assetId: string;
@@ -305,13 +323,16 @@ export declare const getAssetsAssetIdVersions: import("../..").EndpointGeneric<{
305
323
  published: boolean;
306
324
  }[], undefined>;
307
325
  /**
308
- * @api POST https://apis.roblox.com/cloud/v1/assets/:assetId/versions:rollback
309
- * @summary Rollback an asset to a previous version.
310
- * @param body
311
- * @param assetId The unique identifier of the asset.
312
- * @description Rollback an asset to a specific previous version.
326
+ * **Rollback Asset Version** · `BETA`
327
+ *
328
+ * Rollback an asset to a specific previous version.
313
329
 
314
330
  Provide the asset version path in the form data.
331
+ *
332
+ * **Scopes:** `asset:read`, `asset:write`
333
+ *
334
+ * @param body
335
+ * @param assetId The unique identifier of the asset.
315
336
  */
316
337
  export declare const postAssetsAssetIdVersionsRollback: import("../..").EndpointGeneric<{
317
338
  assetId: string;
@@ -333,11 +354,14 @@ export declare const postAssetsAssetIdVersionsRollback: import("../..").Endpoint
333
354
  assetVersion: string;
334
355
  }>;
335
356
  /**
336
- * @api GET https://apis.roblox.com/cloud/v1/assets/:assetId/versions/:versionNumber
337
- * @summary Get Asset Version
357
+ * **Get Asset Version** · `BETA`
358
+ *
359
+ * Retrieve a specific asset version by the asset ID and the version number.
360
+ *
361
+ * **Scopes:** `asset:read`
362
+ *
338
363
  * @param assetId The unique identifier of the asset.
339
364
  * @param versionNumber The version number.
340
- * @description Retrieve a specific asset version by the asset ID and the version number.
341
365
  */
342
366
  export declare const getAssetsAssetIdVersionsVersionNumber: import("../..").EndpointGeneric<{
343
367
  assetId: string;
@@ -358,10 +382,13 @@ export declare const getAssetsAssetIdVersionsVersionNumber: import("../..").Endp
358
382
  published: boolean;
359
383
  }, undefined>;
360
384
  /**
361
- * @api GET https://apis.roblox.com/cloud/v1/operations/:operationId
362
- * @summary Get the result of an asset creation or update.
385
+ * **Get Operation** · `BETA`
386
+ *
387
+ * Get the result of an asset creation or update using the returned Operation ID. Requires **Read** for the API key permission and **asset:read** for OAuth 2.0 apps.
388
+ *
389
+ * **Scopes:** `asset:read`
390
+ *
363
391
  * @param operationId The unique identifier of the operation.
364
- * @description Get the result of an asset creation or update using the returned Operation ID. Requires **Read** for the API key permission and **asset:read** for OAuth 2.0 apps.
365
392
  */
366
393
  export declare const getOperationsOperationId: import("../..").EndpointGeneric<{
367
394
  operationId: string;