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.
- package/lib/endpoints/accountsettingsv1.d.ts +27 -33
- package/lib/endpoints/accountsettingsv1.js +11 -22
- package/lib/endpoints/adconfigurationv2.d.ts +104 -119
- package/lib/endpoints/adconfigurationv2.js +32 -48
- package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv1.js +25 -24
- package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv2.js +25 -24
- package/lib/endpoints/authv1.d.ts +132 -84
- package/lib/endpoints/authv1.js +118 -64
- package/lib/endpoints/authv2.d.ts +56 -56
- package/lib/endpoints/authv2.js +57 -50
- package/lib/endpoints/authv3.d.ts +11 -11
- package/lib/endpoints/authv3.js +11 -11
- package/lib/endpoints/avatarv1.d.ts +1 -0
- package/lib/endpoints/avatarv1.js +1 -0
- package/lib/endpoints/avatarv2.d.ts +1 -0
- package/lib/endpoints/avatarv2.js +1 -0
- package/lib/endpoints/avatarv3.d.ts +1 -0
- package/lib/endpoints/avatarv3.js +1 -0
- package/lib/endpoints/badgesv1.d.ts +6 -22
- package/lib/endpoints/badgesv1.js +2 -22
- package/lib/endpoints/catalogv1.d.ts +39 -113
- package/lib/endpoints/catalogv1.js +39 -107
- package/lib/endpoints/catalogv2.d.ts +11 -11
- package/lib/endpoints/catalogv2.js +11 -11
- package/lib/endpoints/clientsettingsv2.d.ts +8 -7
- package/lib/endpoints/clientsettingsv2.js +9 -1
- package/lib/endpoints/developv1.d.ts +31 -31
- package/lib/endpoints/developv1.js +26 -26
- package/lib/endpoints/developv2.d.ts +27 -27
- package/lib/endpoints/developv2.js +22 -22
- package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
- package/lib/endpoints/economycreatorstatsv1.js +1 -1
- package/lib/endpoints/followingsv2.d.ts +2 -2
- package/lib/endpoints/followingsv2.js +2 -2
- package/lib/endpoints/friendsv1.d.ts +24 -98
- package/lib/endpoints/friendsv1.js +25 -91
- package/lib/endpoints/gamesv1.d.ts +31 -615
- package/lib/endpoints/gamesv1.js +32 -608
- package/lib/endpoints/gamesv2.d.ts +187 -260
- package/lib/endpoints/gamesv2.js +130 -190
- package/lib/endpoints/groupsv1.d.ts +34 -28
- package/lib/endpoints/groupsv1.js +31 -18
- package/lib/endpoints/groupsv2.d.ts +92 -92
- package/lib/endpoints/groupsv2.js +93 -87
- package/lib/endpoints/inventoryv1.d.ts +9 -21
- package/lib/endpoints/inventoryv1.js +4 -4
- package/lib/endpoints/inventoryv2.d.ts +91 -91
- package/lib/endpoints/inventoryv2.js +86 -86
- package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
- package/lib/endpoints/itemconfigurationv1.js +1 -1
- package/lib/endpoints/thumbnailsv1.d.ts +1 -0
- package/lib/endpoints/thumbnailsv1.js +1 -0
- package/lib/endpoints/tradesv1.d.ts +10 -16
- package/lib/endpoints/tradesv1.js +10 -10
- package/lib/endpoints/twostepverificationv1.d.ts +59 -59
- package/lib/endpoints/twostepverificationv1.js +59 -59
- package/lib/endpoints/usersv1.d.ts +1 -1
- package/lib/endpoints/usersv1.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +29 -3
- package/lib/opencloud/v1/asset-permissions.d.ts +7 -2
- package/lib/opencloud/v1/asset-permissions.js +9 -3
- package/lib/opencloud/v1/assets.d.ts +59 -32
- package/lib/opencloud/v1/assets.js +77 -41
- package/lib/opencloud/v1/datastores-ordered.d.ts +50 -14
- package/lib/opencloud/v1/datastores-ordered.js +62 -20
- package/lib/opencloud/v1/datastores.d.ts +99 -42
- package/lib/opencloud/v1/datastores.js +123 -50
- package/lib/opencloud/v1/developer-products.d.ts +29 -11
- package/lib/opencloud/v1/developer-products.js +37 -15
- package/lib/opencloud/v1/game-passes.d.ts +29 -11
- package/lib/opencloud/v1/game-passes.js +37 -15
- package/lib/opencloud/v1/messaging.d.ts +6 -2
- package/lib/opencloud/v1/messaging.js +8 -3
- package/lib/opencloud/v1/open-eval.d.ts +14 -4
- package/lib/opencloud/v1/open-eval.js +18 -6
- package/lib/opencloud/v1/secrets-store.d.ts +46 -26
- package/lib/opencloud/v1/secrets-store.js +56 -31
- package/lib/opencloud/v1/toolbox.d.ts +14 -6
- package/lib/opencloud/v1/toolbox.js +18 -8
- package/lib/opencloud/v1/universes.d.ts +6 -2
- package/lib/opencloud/v1/universes.js +8 -3
- package/lib/opencloud/v2/cloud.d.ts +854 -395
- package/lib/opencloud/v2/cloud.js +967 -395
- 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.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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.
|
|
24
|
+
gender: z.enum(["Unknown", "Male", "Female"]),
|
|
25
25
|
});
|
|
26
26
|
const Roblox_Users_Api_GetUserResponse = z.object({
|
|
27
27
|
description: z.string(),
|
package/lib/endpoints/usersv1.js
CHANGED
|
@@ -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.
|
|
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
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'
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
*
|
|
3
|
-
*
|
|
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
|
-
*
|
|
45
|
-
*
|
|
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
|
|
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
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
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
|
-
*
|
|
83
|
-
*
|
|
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
|
-
*
|
|
123
|
-
*
|
|
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
|
-
*
|
|
206
|
-
*
|
|
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
|
-
*
|
|
244
|
-
*
|
|
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
|
-
*
|
|
282
|
-
*
|
|
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
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
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
|
-
*
|
|
337
|
-
*
|
|
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
|
-
*
|
|
362
|
-
*
|
|
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;
|