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
|
@@ -83,16 +83,21 @@ const ListDeveloperProductConfigsV2Response = zod_1.z.object({
|
|
|
83
83
|
nextPageToken: zod_1.z.string().nullable(),
|
|
84
84
|
});
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* `BETA`
|
|
87
|
+
*
|
|
88
|
+
* Creates a new developer product with the provided configuration details.
|
|
89
|
+
*
|
|
90
|
+
* **Scopes:** `developer-product:write`
|
|
91
|
+
* **Engine:** Not available in-engine
|
|
92
|
+
*
|
|
88
93
|
* @param body
|
|
89
94
|
* @param universeId The universe ID.
|
|
90
|
-
* @description Creates a new developer product with the provided configuration details.
|
|
91
95
|
*/
|
|
92
96
|
exports.postDeveloperProductsV2UniversesUniverseIdDeveloperProducts = (0, __1.endpoint)({
|
|
93
97
|
method: 'POST',
|
|
94
98
|
path: '/developer-products/v2/universes/:universeId/developer-products',
|
|
95
|
-
baseUrl: 'https://apis.roblox.com
|
|
99
|
+
baseUrl: 'https://apis.roblox.com',
|
|
100
|
+
scopes: ['developer-product:write'],
|
|
96
101
|
requestFormat: 'form-data',
|
|
97
102
|
serializationMethod: {
|
|
98
103
|
body: {},
|
|
@@ -123,18 +128,23 @@ exports.postDeveloperProductsV2UniversesUniverseIdDeveloperProducts = (0, __1.en
|
|
|
123
128
|
],
|
|
124
129
|
});
|
|
125
130
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
131
|
+
* `BETA`
|
|
132
|
+
*
|
|
133
|
+
* Updates a developer product with the provided configuration details.
|
|
134
|
+
Note that only fields provided in the request will be updated.
|
|
135
|
+
*
|
|
136
|
+
* **Scopes:** `developer-product:write`
|
|
137
|
+
* **Engine:** Not available in-engine
|
|
138
|
+
*
|
|
128
139
|
* @param body
|
|
129
140
|
* @param universeId The universe ID.
|
|
130
141
|
* @param productId The product ID of the developer product.
|
|
131
|
-
* @description Updates a developer product with the provided configuration details.
|
|
132
|
-
Note that only fields provided in the request will be updated.
|
|
133
142
|
*/
|
|
134
143
|
exports.patchDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductId = (0, __1.endpoint)({
|
|
135
144
|
method: 'PATCH',
|
|
136
145
|
path: '/developer-products/v2/universes/:universeId/developer-products/:productId',
|
|
137
|
-
baseUrl: 'https://apis.roblox.com
|
|
146
|
+
baseUrl: 'https://apis.roblox.com',
|
|
147
|
+
scopes: ['developer-product:write'],
|
|
138
148
|
requestFormat: 'form-data',
|
|
139
149
|
serializationMethod: {
|
|
140
150
|
body: {},
|
|
@@ -171,15 +181,21 @@ exports.patchDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductId =
|
|
|
171
181
|
],
|
|
172
182
|
});
|
|
173
183
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
184
|
+
* `BETA`
|
|
185
|
+
*
|
|
186
|
+
* Get developer product with configuration details
|
|
187
|
+
*
|
|
188
|
+
* **Scopes:** `developer-product:read`
|
|
189
|
+
* **Engine:** Not available in-engine
|
|
190
|
+
*
|
|
176
191
|
* @param universeId The universe ID.
|
|
177
192
|
* @param productId The product ID of the developer product.
|
|
178
193
|
*/
|
|
179
194
|
exports.getDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductIdCreator = (0, __1.endpoint)({
|
|
180
195
|
method: 'GET',
|
|
181
196
|
path: '/developer-products/v2/universes/:universeId/developer-products/:productId/creator',
|
|
182
|
-
baseUrl: 'https://apis.roblox.com
|
|
197
|
+
baseUrl: 'https://apis.roblox.com',
|
|
198
|
+
scopes: ['developer-product:read'],
|
|
183
199
|
requestFormat: 'json',
|
|
184
200
|
serializationMethod: {
|
|
185
201
|
universeId: {},
|
|
@@ -206,8 +222,13 @@ exports.getDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductIdCreat
|
|
|
206
222
|
],
|
|
207
223
|
});
|
|
208
224
|
/**
|
|
209
|
-
*
|
|
210
|
-
*
|
|
225
|
+
* `BETA`
|
|
226
|
+
*
|
|
227
|
+
* List developer products by universe with configuration details
|
|
228
|
+
*
|
|
229
|
+
* **Scopes:** `developer-product:read`
|
|
230
|
+
* **Engine:** Not available in-engine
|
|
231
|
+
*
|
|
211
232
|
* @param universeId The universe ID.
|
|
212
233
|
* @param pageSize The number of results to return. Defaults to 50.
|
|
213
234
|
* @param pageToken The cursor token for pagination.
|
|
@@ -215,7 +236,8 @@ exports.getDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductIdCreat
|
|
|
215
236
|
exports.getDeveloperProductsV2UniversesUniverseIdDeveloperProductsCreator = (0, __1.endpoint)({
|
|
216
237
|
method: 'GET',
|
|
217
238
|
path: '/developer-products/v2/universes/:universeId/developer-products/creator',
|
|
218
|
-
baseUrl: 'https://apis.roblox.com
|
|
239
|
+
baseUrl: 'https://apis.roblox.com',
|
|
240
|
+
scopes: ['developer-product:read'],
|
|
219
241
|
requestFormat: 'json',
|
|
220
242
|
serializationMethod: {
|
|
221
243
|
universeId: {},
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* `BETA`
|
|
3
|
+
*
|
|
4
|
+
* Creates a new game pass with the provided configuration details.
|
|
5
|
+
*
|
|
6
|
+
* **Scopes:** `game-pass:write`
|
|
7
|
+
* **Engine:** Not available in-engine
|
|
8
|
+
*
|
|
4
9
|
* @param body
|
|
5
10
|
* @param universeId The universe ID.
|
|
6
|
-
* @description Creates a new game pass with the provided configuration details.
|
|
7
11
|
*/
|
|
8
12
|
export declare const postGamePassesV1UniversesUniverseIdGamePasses: import("../..").EndpointGeneric<{
|
|
9
13
|
universeId: number;
|
|
@@ -28,13 +32,17 @@ export declare const postGamePassesV1UniversesUniverseIdGamePasses: import("../.
|
|
|
28
32
|
isRegionalPricingEnabled?: boolean | null | undefined;
|
|
29
33
|
}>;
|
|
30
34
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
35
|
+
* `BETA`
|
|
36
|
+
*
|
|
37
|
+
* Updates a game pass with the provided configuration details.
|
|
38
|
+
Note that only fields provided in the request will be updated.
|
|
39
|
+
*
|
|
40
|
+
* **Scopes:** `game-pass:write`
|
|
41
|
+
* **Engine:** Not available in-engine
|
|
42
|
+
*
|
|
33
43
|
* @param body
|
|
34
44
|
* @param universeId The universe ID.
|
|
35
45
|
* @param gamePassId The game pass ID.
|
|
36
|
-
* @description Updates a game pass with the provided configuration details.
|
|
37
|
-
Note that only fields provided in the request will be updated.
|
|
38
46
|
*/
|
|
39
47
|
export declare const patchGamePassesV1UniversesUniverseIdGamePassesGamePassId: import("../..").EndpointGeneric<{
|
|
40
48
|
universeId: number;
|
|
@@ -48,8 +56,13 @@ export declare const patchGamePassesV1UniversesUniverseIdGamePassesGamePassId: i
|
|
|
48
56
|
isRegionalPricingEnabled: boolean | null;
|
|
49
57
|
}>;
|
|
50
58
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
59
|
+
* `BETA`
|
|
60
|
+
*
|
|
61
|
+
* Get game pass with configuration details
|
|
62
|
+
*
|
|
63
|
+
* **Scopes:** `game-pass:read`
|
|
64
|
+
* **Engine:** Not available in-engine
|
|
65
|
+
*
|
|
53
66
|
* @param universeId The universe ID.
|
|
54
67
|
* @param gamePassId The game pass ID.
|
|
55
68
|
*/
|
|
@@ -70,8 +83,13 @@ export declare const getGamePassesV1UniversesUniverseIdGamePassesGamePassIdCreat
|
|
|
70
83
|
} | null;
|
|
71
84
|
}, undefined>;
|
|
72
85
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
86
|
+
* `BETA`
|
|
87
|
+
*
|
|
88
|
+
* List game passes by universe with configuration details
|
|
89
|
+
*
|
|
90
|
+
* **Scopes:** `game-pass:read`
|
|
91
|
+
* **Engine:** Not available in-engine
|
|
92
|
+
*
|
|
75
93
|
* @param universeId The universe ID.
|
|
76
94
|
* @param pageSize The number of results to return. Defaults to 50 if not provided.
|
|
77
95
|
* @param pageToken The cursor token for pagination.
|
|
@@ -70,16 +70,21 @@ const ListGamePassConfigsByUniverseResponse = zod_1.z.object({
|
|
|
70
70
|
nextPageToken: zod_1.z.string().nullable(),
|
|
71
71
|
});
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* `BETA`
|
|
74
|
+
*
|
|
75
|
+
* Creates a new game pass with the provided configuration details.
|
|
76
|
+
*
|
|
77
|
+
* **Scopes:** `game-pass:write`
|
|
78
|
+
* **Engine:** Not available in-engine
|
|
79
|
+
*
|
|
75
80
|
* @param body
|
|
76
81
|
* @param universeId The universe ID.
|
|
77
|
-
* @description Creates a new game pass with the provided configuration details.
|
|
78
82
|
*/
|
|
79
83
|
exports.postGamePassesV1UniversesUniverseIdGamePasses = (0, __1.endpoint)({
|
|
80
84
|
method: 'POST',
|
|
81
85
|
path: '/game-passes/v1/universes/:universeId/game-passes',
|
|
82
|
-
baseUrl: 'https://apis.roblox.com
|
|
86
|
+
baseUrl: 'https://apis.roblox.com',
|
|
87
|
+
scopes: ['game-pass:write'],
|
|
83
88
|
requestFormat: 'form-data',
|
|
84
89
|
serializationMethod: {
|
|
85
90
|
body: {},
|
|
@@ -110,18 +115,23 @@ exports.postGamePassesV1UniversesUniverseIdGamePasses = (0, __1.endpoint)({
|
|
|
110
115
|
],
|
|
111
116
|
});
|
|
112
117
|
/**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
118
|
+
* `BETA`
|
|
119
|
+
*
|
|
120
|
+
* Updates a game pass with the provided configuration details.
|
|
121
|
+
Note that only fields provided in the request will be updated.
|
|
122
|
+
*
|
|
123
|
+
* **Scopes:** `game-pass:write`
|
|
124
|
+
* **Engine:** Not available in-engine
|
|
125
|
+
*
|
|
115
126
|
* @param body
|
|
116
127
|
* @param universeId The universe ID.
|
|
117
128
|
* @param gamePassId The game pass ID.
|
|
118
|
-
* @description Updates a game pass with the provided configuration details.
|
|
119
|
-
Note that only fields provided in the request will be updated.
|
|
120
129
|
*/
|
|
121
130
|
exports.patchGamePassesV1UniversesUniverseIdGamePassesGamePassId = (0, __1.endpoint)({
|
|
122
131
|
method: 'PATCH',
|
|
123
132
|
path: '/game-passes/v1/universes/:universeId/game-passes/:gamePassId',
|
|
124
|
-
baseUrl: 'https://apis.roblox.com
|
|
133
|
+
baseUrl: 'https://apis.roblox.com',
|
|
134
|
+
scopes: ['game-pass:write'],
|
|
125
135
|
requestFormat: 'form-data',
|
|
126
136
|
serializationMethod: {
|
|
127
137
|
body: {},
|
|
@@ -158,15 +168,21 @@ exports.patchGamePassesV1UniversesUniverseIdGamePassesGamePassId = (0, __1.endpo
|
|
|
158
168
|
],
|
|
159
169
|
});
|
|
160
170
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
171
|
+
* `BETA`
|
|
172
|
+
*
|
|
173
|
+
* Get game pass with configuration details
|
|
174
|
+
*
|
|
175
|
+
* **Scopes:** `game-pass:read`
|
|
176
|
+
* **Engine:** Not available in-engine
|
|
177
|
+
*
|
|
163
178
|
* @param universeId The universe ID.
|
|
164
179
|
* @param gamePassId The game pass ID.
|
|
165
180
|
*/
|
|
166
181
|
exports.getGamePassesV1UniversesUniverseIdGamePassesGamePassIdCreator = (0, __1.endpoint)({
|
|
167
182
|
method: 'GET',
|
|
168
183
|
path: '/game-passes/v1/universes/:universeId/game-passes/:gamePassId/creator',
|
|
169
|
-
baseUrl: 'https://apis.roblox.com
|
|
184
|
+
baseUrl: 'https://apis.roblox.com',
|
|
185
|
+
scopes: ['game-pass:read'],
|
|
170
186
|
requestFormat: 'json',
|
|
171
187
|
serializationMethod: {
|
|
172
188
|
universeId: {},
|
|
@@ -193,8 +209,13 @@ exports.getGamePassesV1UniversesUniverseIdGamePassesGamePassIdCreator = (0, __1.
|
|
|
193
209
|
],
|
|
194
210
|
});
|
|
195
211
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
212
|
+
* `BETA`
|
|
213
|
+
*
|
|
214
|
+
* List game passes by universe with configuration details
|
|
215
|
+
*
|
|
216
|
+
* **Scopes:** `game-pass:read`
|
|
217
|
+
* **Engine:** Not available in-engine
|
|
218
|
+
*
|
|
198
219
|
* @param universeId The universe ID.
|
|
199
220
|
* @param pageSize The number of results to return. Defaults to 50 if not provided.
|
|
200
221
|
* @param pageToken The cursor token for pagination.
|
|
@@ -202,7 +223,8 @@ exports.getGamePassesV1UniversesUniverseIdGamePassesGamePassIdCreator = (0, __1.
|
|
|
202
223
|
exports.getGamePassesV1UniversesUniverseIdGamePassesCreator = (0, __1.endpoint)({
|
|
203
224
|
method: 'GET',
|
|
204
225
|
path: '/game-passes/v1/universes/:universeId/game-passes/creator',
|
|
205
|
-
baseUrl: 'https://apis.roblox.com
|
|
226
|
+
baseUrl: 'https://apis.roblox.com',
|
|
227
|
+
scopes: ['game-pass:read'],
|
|
206
228
|
requestFormat: 'json',
|
|
207
229
|
serializationMethod: {
|
|
208
230
|
universeId: {},
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* **Publish a Message** · `BETA`
|
|
3
|
+
*
|
|
4
|
+
* Publish a message to a pre-defined topic of an experience, with the size of the message up to 1,024 characters (1 KB). Requires the **Publish** permission for API keys and the **universe-messaging-service:publish** scope for OAuth 2.0 apps. See [Cross-server messaging](/cloud-services/cross-server-messaging.md#subscribe-users-to-receive-messages) for defining and subscribing users to a topic.
|
|
5
|
+
*
|
|
6
|
+
* **Scopes:** `universe-messaging-service:publish`
|
|
7
|
+
*
|
|
3
8
|
* @param body
|
|
4
9
|
* @param universeId The identifier of the experience in which you want to send your messages to. You can [copy your experience's Universe ID](/cloud/guides/usage-messaging.md#publishing-messages-to-live-servers) on **Creator Dashboard**.
|
|
5
10
|
* @param topic The topic that you want to publish your message to, with up to 80 characters.
|
|
6
|
-
* @description Publish a message to a pre-defined topic of an experience, with the size of the message up to 1,024 characters (1 KB). Requires the **Publish** permission for API keys and the **universe-messaging-service:publish** scope for OAuth 2.0 apps. See [Cross-server messaging](/cloud-services/cross-server-messaging.md#subscribe-users-to-receive-messages) for defining and subscribing users to a topic.
|
|
7
11
|
*/
|
|
8
12
|
export declare const postUniversesUniverseIdTopicsTopic: import("../..").EndpointGeneric<{
|
|
9
13
|
universeId: number;
|
|
@@ -5,16 +5,21 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const __1 = require("../..");
|
|
6
6
|
const PublishRequest = zod_1.z.object({ message: zod_1.z.string().nullable() });
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* **Publish a Message** · `BETA`
|
|
9
|
+
*
|
|
10
|
+
* Publish a message to a pre-defined topic of an experience, with the size of the message up to 1,024 characters (1 KB). Requires the **Publish** permission for API keys and the **universe-messaging-service:publish** scope for OAuth 2.0 apps. See [Cross-server messaging](/cloud-services/cross-server-messaging.md#subscribe-users-to-receive-messages) for defining and subscribing users to a topic.
|
|
11
|
+
*
|
|
12
|
+
* **Scopes:** `universe-messaging-service:publish`
|
|
13
|
+
*
|
|
9
14
|
* @param body
|
|
10
15
|
* @param universeId The identifier of the experience in which you want to send your messages to. You can [copy your experience's Universe ID](/cloud/guides/usage-messaging.md#publishing-messages-to-live-servers) on **Creator Dashboard**.
|
|
11
16
|
* @param topic The topic that you want to publish your message to, with up to 80 characters.
|
|
12
|
-
* @description Publish a message to a pre-defined topic of an experience, with the size of the message up to 1,024 characters (1 KB). Requires the **Publish** permission for API keys and the **universe-messaging-service:publish** scope for OAuth 2.0 apps. See [Cross-server messaging](/cloud-services/cross-server-messaging.md#subscribe-users-to-receive-messages) for defining and subscribing users to a topic.
|
|
13
17
|
*/
|
|
14
18
|
exports.postUniversesUniverseIdTopicsTopic = (0, __1.endpoint)({
|
|
15
19
|
method: 'POST',
|
|
16
20
|
path: '/v1/universes/:universeId/topics/:topic',
|
|
17
|
-
baseUrl: 'https://apis.roblox.com/
|
|
21
|
+
baseUrl: 'https://apis.roblox.com/messaging-service',
|
|
22
|
+
scopes: ['universe-messaging-service:publish'],
|
|
18
23
|
requestFormat: 'json',
|
|
19
24
|
serializationMethod: {
|
|
20
25
|
body: {},
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* `BETA`
|
|
3
|
+
*
|
|
4
|
+
* Performs the evaluation of the Lua script.
|
|
5
|
+
*
|
|
6
|
+
* **Scopes:** `studio-evaluations:create`
|
|
7
|
+
* **Engine:** Not available in-engine
|
|
8
|
+
*
|
|
4
9
|
* @param body
|
|
5
10
|
*/
|
|
6
11
|
export declare const postOpenEvalApiV1Eval: import("../..").EndpointGeneric<{}, {
|
|
@@ -20,8 +25,13 @@ export declare const postOpenEvalApiV1Eval: import("../..").EndpointGeneric<{},
|
|
|
20
25
|
} | undefined;
|
|
21
26
|
}>;
|
|
22
27
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
28
|
+
* `BETA`
|
|
29
|
+
*
|
|
30
|
+
* Gets the evaluation record by job ID.
|
|
31
|
+
*
|
|
32
|
+
* **Scopes:** `studio-evaluations:create`
|
|
33
|
+
* **Engine:** Not available in-engine
|
|
34
|
+
*
|
|
25
35
|
* @param jobId The job ID of the evaluation record.
|
|
26
36
|
*/
|
|
27
37
|
export declare const getOpenEvalApiV1EvalRecordsJobId: import("../..").EndpointGeneric<{
|
|
@@ -53,14 +53,20 @@ const EvalRecord = zod_1.z.object({
|
|
|
53
53
|
createUtc: zod_1.z.string().nullish(),
|
|
54
54
|
});
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
56
|
+
* `BETA`
|
|
57
|
+
*
|
|
58
|
+
* Performs the evaluation of the Lua script.
|
|
59
|
+
*
|
|
60
|
+
* **Scopes:** `studio-evaluations:create`
|
|
61
|
+
* **Engine:** Not available in-engine
|
|
62
|
+
*
|
|
58
63
|
* @param body
|
|
59
64
|
*/
|
|
60
65
|
exports.postOpenEvalApiV1Eval = (0, __1.endpoint)({
|
|
61
66
|
method: 'POST',
|
|
62
67
|
path: '/open-eval-api/v1/eval',
|
|
63
|
-
baseUrl: 'https://apis.roblox.com
|
|
68
|
+
baseUrl: 'https://apis.roblox.com',
|
|
69
|
+
scopes: ['studio-evaluations:create'],
|
|
64
70
|
requestFormat: 'json',
|
|
65
71
|
serializationMethod: {
|
|
66
72
|
body: {},
|
|
@@ -71,14 +77,20 @@ exports.postOpenEvalApiV1Eval = (0, __1.endpoint)({
|
|
|
71
77
|
errors: [],
|
|
72
78
|
});
|
|
73
79
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
80
|
+
* `BETA`
|
|
81
|
+
*
|
|
82
|
+
* Gets the evaluation record by job ID.
|
|
83
|
+
*
|
|
84
|
+
* **Scopes:** `studio-evaluations:create`
|
|
85
|
+
* **Engine:** Not available in-engine
|
|
86
|
+
*
|
|
76
87
|
* @param jobId The job ID of the evaluation record.
|
|
77
88
|
*/
|
|
78
89
|
exports.getOpenEvalApiV1EvalRecordsJobId = (0, __1.endpoint)({
|
|
79
90
|
method: 'GET',
|
|
80
91
|
path: '/open-eval-api/v1/eval-records/:jobId',
|
|
81
|
-
baseUrl: 'https://apis.roblox.com
|
|
92
|
+
baseUrl: 'https://apis.roblox.com',
|
|
93
|
+
scopes: ['studio-evaluations:create'],
|
|
82
94
|
requestFormat: 'json',
|
|
83
95
|
serializationMethod: {
|
|
84
96
|
jobId: {},
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @param universeId The universe ID
|
|
6
|
-
* @description Creates a new secret. A maximum of 500 secrets per universe is allowed.
|
|
2
|
+
* `BETA`
|
|
3
|
+
*
|
|
4
|
+
* Creates a new secret. A maximum of 500 secrets per universe is allowed.
|
|
7
5
|
|
|
8
6
|
Only the owner of the universe can create secrets. For group-owned universes, only the group owner or authorized
|
|
9
7
|
members can create secrets.
|
|
@@ -16,6 +14,12 @@ To encrypt the secret:
|
|
|
16
14
|
Include the key_id from the public key response in the request.
|
|
17
15
|
|
|
18
16
|
For an example, see the [Secrets store guide](https://create.roblox.com/docs/cloud/guides/secrets-store).
|
|
17
|
+
*
|
|
18
|
+
* **Scopes:** `universe.secret:write`
|
|
19
|
+
* **Engine:** Not available in-engine
|
|
20
|
+
*
|
|
21
|
+
* @param body The secret to create with encrypted content
|
|
22
|
+
* @param universeId The universe ID
|
|
19
23
|
*/
|
|
20
24
|
export declare const postCloudV2UniversesUniverseIdSecrets: import("../..").EndpointGeneric<{
|
|
21
25
|
universeId: number;
|
|
@@ -35,16 +39,20 @@ export declare const postCloudV2UniversesUniverseIdSecrets: import("../..").Endp
|
|
|
35
39
|
update_time: string | null;
|
|
36
40
|
}>;
|
|
37
41
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @param limit Number of secrets to return per page (1-500, default 10)
|
|
42
|
-
* @param cursor Pagination cursor from previous response
|
|
43
|
-
* @description Lists all secrets defined for a universe.
|
|
42
|
+
* `BETA`
|
|
43
|
+
*
|
|
44
|
+
* Lists all secrets defined for a universe.
|
|
44
45
|
Secret content is not returned for security reasons - only metadata such as ID, domain, creation and update timestamps are included.
|
|
45
46
|
|
|
46
47
|
Only the owner of the universe can list secrets. For group-owned universes, only the group owner or authorized
|
|
47
48
|
members can list secrets.
|
|
49
|
+
*
|
|
50
|
+
* **Scopes:** `universe.secret:read`
|
|
51
|
+
* **Engine:** Not available in-engine
|
|
52
|
+
*
|
|
53
|
+
* @param universeId The universe ID
|
|
54
|
+
* @param limit Number of secrets to return per page (1-500, default 10)
|
|
55
|
+
* @param cursor Pagination cursor from previous response
|
|
48
56
|
*/
|
|
49
57
|
export declare const getCloudV2UniversesUniverseIdSecrets: import("../..").EndpointGeneric<{
|
|
50
58
|
universeId: number;
|
|
@@ -63,12 +71,9 @@ export declare const getCloudV2UniversesUniverseIdSecrets: import("../..").Endpo
|
|
|
63
71
|
previousPageCursor: string | null;
|
|
64
72
|
}, undefined>;
|
|
65
73
|
/**
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* @param universeId The universe ID
|
|
70
|
-
* @param secretId The ID of the secret to update
|
|
71
|
-
* @description Updates an existing secret.
|
|
74
|
+
* `BETA`
|
|
75
|
+
*
|
|
76
|
+
* Updates an existing secret.
|
|
72
77
|
|
|
73
78
|
Only the owner of the universe can update secrets. For group-owned universes, only the group owner or authorized
|
|
74
79
|
members can update secrets.
|
|
@@ -83,6 +88,13 @@ To encrypt the updated secret:
|
|
|
83
88
|
Include the key_id from the public key response in the request.
|
|
84
89
|
|
|
85
90
|
For an example, see the [Secrets store guide](https://create.roblox.com/docs/cloud/guides/secrets-store).
|
|
91
|
+
*
|
|
92
|
+
* **Scopes:** `universe.secret:write`
|
|
93
|
+
* **Engine:** Not available in-engine
|
|
94
|
+
*
|
|
95
|
+
* @param body The updated secret data with encrypted content
|
|
96
|
+
* @param universeId The universe ID
|
|
97
|
+
* @param secretId The ID of the secret to update
|
|
86
98
|
*/
|
|
87
99
|
export declare const patchCloudV2UniversesUniverseIdSecretsSecretId: import("../..").EndpointGeneric<{
|
|
88
100
|
universeId: number;
|
|
@@ -103,26 +115,29 @@ export declare const patchCloudV2UniversesUniverseIdSecretsSecretId: import("../
|
|
|
103
115
|
update_time: string | null;
|
|
104
116
|
}>;
|
|
105
117
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* @param secretId The ID of the secret to delete
|
|
110
|
-
* @description Permanently deletes a secret from a universe.
|
|
118
|
+
* `BETA`
|
|
119
|
+
*
|
|
120
|
+
* Permanently deletes a secret from a universe.
|
|
111
121
|
|
|
112
122
|
Only the owner of the universe can delete secrets. For group-owned universes, only the group owner or authorized
|
|
113
123
|
members can delete secrets.
|
|
114
124
|
|
|
115
125
|
This operation is irreversible. Make sure you no longer need the secret before deleting it.
|
|
126
|
+
*
|
|
127
|
+
* **Scopes:** `universe.secret:write`
|
|
128
|
+
* **Engine:** Not available in-engine
|
|
129
|
+
*
|
|
130
|
+
* @param universeId The universe ID
|
|
131
|
+
* @param secretId The ID of the secret to delete
|
|
116
132
|
*/
|
|
117
133
|
export declare const deleteCloudV2UniversesUniverseIdSecretsSecretId: import("../..").EndpointGeneric<{
|
|
118
134
|
universeId: number;
|
|
119
135
|
secretId: string;
|
|
120
136
|
}, void, undefined>;
|
|
121
137
|
/**
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* @description Retrieves the public key for a universe. You need this key to encrypt secret content
|
|
138
|
+
* `BETA`
|
|
139
|
+
*
|
|
140
|
+
* Retrieves the public key for a universe. You need this key to encrypt secret content
|
|
126
141
|
before sending it to Roblox.
|
|
127
142
|
|
|
128
143
|
Only the owner of the universe can retrieve the public key. For group-owned universes, only the group owner or
|
|
@@ -135,6 +150,11 @@ Use this key with LibSodium sealed box encryption to encrypt your secret content
|
|
|
135
150
|
creating or updating secrets.
|
|
136
151
|
|
|
137
152
|
Include the key_id from the public key response in the request to create or update a secret.
|
|
153
|
+
*
|
|
154
|
+
* **Scopes:** `universe.secret:read`
|
|
155
|
+
* **Engine:** Not available in-engine
|
|
156
|
+
*
|
|
157
|
+
* @param universeId The universe ID
|
|
138
158
|
*/
|
|
139
159
|
export declare const getCloudV2UniversesUniverseIdSecretsPublicKey: import("../..").EndpointGeneric<{
|
|
140
160
|
universeId: number;
|