rozod 6.7.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -115,6 +115,8 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponse = zod_1.z.object({
|
|
|
115
115
|
fiatBasePriceId: zod_1.z.string(),
|
|
116
116
|
fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
117
117
|
audiences: zod_1.z.array(zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)])),
|
|
118
|
+
demoModeEnabled: zod_1.z.boolean(),
|
|
119
|
+
demoModeLastChangedTime: zod_1.z.string().datetime({ offset: true }),
|
|
118
120
|
});
|
|
119
121
|
const Roblox_Api_Develop_Models_UniverseSettingsRequest = zod_1.z.object({
|
|
120
122
|
name: zod_1.z.string(),
|
|
@@ -150,6 +152,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequest = zod_1.z.object({
|
|
|
150
152
|
isRewardedOnDemandAdsAllowed: zod_1.z.boolean(),
|
|
151
153
|
fiatBasePriceId: zod_1.z.string(),
|
|
152
154
|
fiatProductChangeType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
|
|
155
|
+
demoModeEnabled: zod_1.z.boolean(),
|
|
153
156
|
});
|
|
154
157
|
const Roblox_Api_Develop_Models_PrivateServerDetailsResponse = zod_1.z.object({
|
|
155
158
|
isEnabled: zod_1.z.boolean(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Api_Develop_AssetVersion = z.object({
|
|
5
5
|
Id: z.number().int(),
|
|
@@ -12,12 +12,11 @@ const Roblox_Api_Develop_AssetVersion = z.object({
|
|
|
12
12
|
isEqualToCurrentPublishedVersion: z.boolean(),
|
|
13
13
|
isPublished: z.boolean(),
|
|
14
14
|
});
|
|
15
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_ =
|
|
16
|
-
z.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
15
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_ = z.object({
|
|
16
|
+
previousPageCursor: z.string(),
|
|
17
|
+
nextPageCursor: z.string(),
|
|
18
|
+
data: z.array(Roblox_Api_Develop_AssetVersion),
|
|
19
|
+
});
|
|
21
20
|
const Roblox_Api_Develop_Models_PlaceModelV2 = z.object({
|
|
22
21
|
maxPlayerCount: z.number().int(),
|
|
23
22
|
socialSlotType: z.string(),
|
|
@@ -37,7 +36,7 @@ const Roblox_Api_Develop_Models_PlaceModelV2 = z.object({
|
|
|
37
36
|
z.literal(14),
|
|
38
37
|
z.literal(21),
|
|
39
38
|
z.literal(22),
|
|
40
|
-
])
|
|
39
|
+
]),
|
|
41
40
|
),
|
|
42
41
|
maxPlayersAllowed: z.number().int(),
|
|
43
42
|
created: z.string().datetime({ offset: true }),
|
|
@@ -58,12 +57,11 @@ const Roblox_Api_Develop_Models_PlaceConfigurationModelV2 = z.object({
|
|
|
58
57
|
allowedGearTypes: z.array(z.string()),
|
|
59
58
|
isAllGenresAllowed: z.boolean(),
|
|
60
59
|
});
|
|
61
|
-
const Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel =
|
|
62
|
-
z.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
60
|
+
const Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel = z.object({
|
|
61
|
+
assetID: z.number().int(),
|
|
62
|
+
assetTypeID: z.number().int(),
|
|
63
|
+
isPlayerChoice: z.boolean(),
|
|
64
|
+
});
|
|
67
65
|
const Roblox_Web_Responses_Avatar_ScaleModel = z.object({
|
|
68
66
|
height: z.number(),
|
|
69
67
|
width: z.number(),
|
|
@@ -72,13 +70,12 @@ const Roblox_Web_Responses_Avatar_ScaleModel = z.object({
|
|
|
72
70
|
proportion: z.number(),
|
|
73
71
|
bodyType: z.number(),
|
|
74
72
|
});
|
|
75
|
-
const Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions =
|
|
76
|
-
z.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
});
|
|
73
|
+
const Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions = z.object({
|
|
74
|
+
IsThirdPartyTeleportAllowed: z.boolean(),
|
|
75
|
+
IsThirdPartyAssetAllowed: z.boolean(),
|
|
76
|
+
IsThirdPartyPurchaseAllowed: z.boolean(),
|
|
77
|
+
IsClientTeleportAllowed: z.boolean(),
|
|
78
|
+
});
|
|
82
79
|
const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
|
|
83
80
|
allowPrivateServers: z.boolean(),
|
|
84
81
|
privateServerPrice: z.number().int(),
|
|
@@ -109,124 +106,77 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
|
|
|
109
106
|
z.literal(14),
|
|
110
107
|
]),
|
|
111
108
|
playableDevices: z.array(
|
|
112
|
-
z.union([
|
|
113
|
-
z.literal(1),
|
|
114
|
-
z.literal(2),
|
|
115
|
-
z.literal(3),
|
|
116
|
-
z.literal(4),
|
|
117
|
-
z.literal(5),
|
|
118
|
-
z.literal(6),
|
|
119
|
-
])
|
|
109
|
+
z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
120
110
|
),
|
|
121
111
|
isForSale: z.boolean(),
|
|
122
112
|
price: z.number().int(),
|
|
123
|
-
universeAvatarAssetOverrides: z.array(
|
|
124
|
-
Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel
|
|
125
|
-
),
|
|
113
|
+
universeAvatarAssetOverrides: z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
|
|
126
114
|
universeAvatarMinScales: Roblox_Web_Responses_Avatar_ScaleModel,
|
|
127
115
|
universeAvatarMaxScales: Roblox_Web_Responses_Avatar_ScaleModel,
|
|
128
116
|
studioAccessToApisAllowed: z.boolean(),
|
|
129
|
-
permissions:
|
|
130
|
-
Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
117
|
+
permissions: Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
131
118
|
optInRegions: z.array(z.union([z.literal(0), z.literal(1)])),
|
|
132
119
|
optOutRegions: z.array(z.union([z.literal(0), z.literal(1)])),
|
|
133
120
|
isMeshTextureApiAccessAllowed: z.boolean(),
|
|
134
121
|
isRewardedOnDemandAdsAllowed: z.boolean(),
|
|
135
122
|
fiatBasePriceId: z.string(),
|
|
136
|
-
fiatProductChangeType: z.union([
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
z.literal(2),
|
|
140
|
-
z.literal(3),
|
|
141
|
-
]),
|
|
142
|
-
audiences: z.array(
|
|
143
|
-
z.union([
|
|
144
|
-
z.literal(0),
|
|
145
|
-
z.literal(1),
|
|
146
|
-
z.literal(2),
|
|
147
|
-
z.literal(3),
|
|
148
|
-
z.literal(4),
|
|
149
|
-
])
|
|
150
|
-
),
|
|
123
|
+
fiatProductChangeType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
124
|
+
audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
|
|
125
|
+
demoModeEnabled: z.boolean(),
|
|
151
126
|
});
|
|
152
127
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = z.object({
|
|
153
|
-
region: z.enum([
|
|
128
|
+
region: z.enum(['Unknown', 'China']),
|
|
154
129
|
status: z.string(),
|
|
155
130
|
});
|
|
156
131
|
const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
157
132
|
allowPrivateServers: z.boolean(),
|
|
158
133
|
privateServerPrice: z.number().int(),
|
|
159
|
-
optInRegions: z.array(
|
|
160
|
-
Roblox_Api_Develop_Models_UniverseModerationPolicyStatus
|
|
161
|
-
),
|
|
134
|
+
optInRegions: z.array(Roblox_Api_Develop_Models_UniverseModerationPolicyStatus),
|
|
162
135
|
isMeshTextureApiAccessAllowed: z.boolean(),
|
|
163
136
|
isRewardedOnDemandAdsAllowed: z.boolean(),
|
|
164
137
|
id: z.number().int(),
|
|
165
138
|
name: z.string(),
|
|
166
139
|
description: z.string(),
|
|
167
|
-
universeAvatarType: z.enum([
|
|
168
|
-
universeAnimationType: z.enum([
|
|
169
|
-
universeCollisionType: z.enum([
|
|
170
|
-
universeJointPositioningType: z.enum([
|
|
140
|
+
universeAvatarType: z.enum(['MorphToR6', 'PlayerChoice', 'MorphToR15']),
|
|
141
|
+
universeAnimationType: z.enum(['Standard', 'PlayerChoice']),
|
|
142
|
+
universeCollisionType: z.enum(['InnerBox', 'OuterBox']),
|
|
143
|
+
universeJointPositioningType: z.enum(['Standard', 'ArtistIntent']),
|
|
171
144
|
engineAvatarSettings: z.string(),
|
|
172
145
|
isArchived: z.boolean(),
|
|
173
146
|
isFriendsOnly: z.boolean(),
|
|
174
147
|
genre: z.enum([
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
148
|
+
'All',
|
|
149
|
+
'Tutorial',
|
|
150
|
+
'Scary',
|
|
151
|
+
'TownAndCity',
|
|
152
|
+
'War',
|
|
153
|
+
'Funny',
|
|
154
|
+
'Fantasy',
|
|
155
|
+
'Adventure',
|
|
156
|
+
'SciFi',
|
|
157
|
+
'Pirate',
|
|
158
|
+
'FPS',
|
|
159
|
+
'RPG',
|
|
160
|
+
'Sports',
|
|
161
|
+
'Ninja',
|
|
162
|
+
'WildWest',
|
|
190
163
|
]),
|
|
191
164
|
playableDevices: z.array(
|
|
192
|
-
z.union([
|
|
193
|
-
z.literal(1),
|
|
194
|
-
z.literal(2),
|
|
195
|
-
z.literal(3),
|
|
196
|
-
z.literal(4),
|
|
197
|
-
z.literal(5),
|
|
198
|
-
z.literal(6),
|
|
199
|
-
])
|
|
165
|
+
z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
|
|
200
166
|
),
|
|
201
167
|
isForSale: z.boolean(),
|
|
202
168
|
price: z.number().int(),
|
|
203
|
-
universeAvatarAssetOverrides: z.array(
|
|
204
|
-
Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel
|
|
205
|
-
),
|
|
169
|
+
universeAvatarAssetOverrides: z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
|
|
206
170
|
universeAvatarMinScales: Roblox_Web_Responses_Avatar_ScaleModel,
|
|
207
171
|
universeAvatarMaxScales: Roblox_Web_Responses_Avatar_ScaleModel,
|
|
208
172
|
studioAccessToApisAllowed: z.boolean(),
|
|
209
|
-
permissions:
|
|
210
|
-
Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
173
|
+
permissions: Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
211
174
|
isForSaleInFiat: z.boolean(),
|
|
212
175
|
fiatBasePriceId: z.string(),
|
|
213
|
-
fiatModerationStatus: z.enum([
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"Approved",
|
|
218
|
-
"Rejected",
|
|
219
|
-
]),
|
|
220
|
-
eligibleForTextChatMigration: z.boolean(),
|
|
221
|
-
audiences: z.array(
|
|
222
|
-
z.union([
|
|
223
|
-
z.literal(0),
|
|
224
|
-
z.literal(1),
|
|
225
|
-
z.literal(2),
|
|
226
|
-
z.literal(3),
|
|
227
|
-
z.literal(4),
|
|
228
|
-
])
|
|
229
|
-
),
|
|
176
|
+
fiatModerationStatus: z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
177
|
+
audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
|
|
178
|
+
demoModeEnabled: z.boolean(),
|
|
179
|
+
demoModeLastChangedTime: z.string().datetime({ offset: true }),
|
|
230
180
|
});
|
|
231
181
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
232
182
|
|
|
@@ -241,42 +191,41 @@ or granted by package permission.
|
|
|
241
191
|
* @param sortOrder Sort by version number, default is desc.
|
|
242
192
|
*/
|
|
243
193
|
export const getAssetsIdVersions = endpoint({
|
|
244
|
-
method:
|
|
245
|
-
path:
|
|
246
|
-
baseUrl:
|
|
247
|
-
requestFormat:
|
|
194
|
+
method: 'GET',
|
|
195
|
+
path: '/v2/assets/:id/versions',
|
|
196
|
+
baseUrl: 'https://develop.roblox.com',
|
|
197
|
+
requestFormat: 'json',
|
|
248
198
|
serializationMethod: {
|
|
249
199
|
id: {
|
|
250
|
-
style:
|
|
200
|
+
style: 'simple',
|
|
251
201
|
},
|
|
252
|
-
|
|
253
|
-
style:
|
|
202
|
+
'Roblox-Place-Id': {
|
|
203
|
+
style: 'simple',
|
|
254
204
|
},
|
|
255
205
|
limit: {
|
|
256
|
-
style:
|
|
206
|
+
style: 'form',
|
|
257
207
|
explode: true,
|
|
258
208
|
},
|
|
259
209
|
cursor: {
|
|
260
|
-
style:
|
|
210
|
+
style: 'form',
|
|
261
211
|
explode: true,
|
|
262
212
|
},
|
|
263
213
|
sortOrder: {
|
|
264
|
-
style:
|
|
214
|
+
style: 'form',
|
|
265
215
|
explode: true,
|
|
266
216
|
},
|
|
267
217
|
},
|
|
268
218
|
parameters: {
|
|
269
219
|
id: z.number().int(),
|
|
270
|
-
|
|
220
|
+
'Roblox-Place-Id': z.number().int(),
|
|
271
221
|
limit: z
|
|
272
222
|
.union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
|
|
273
223
|
.optional()
|
|
274
224
|
.default(10),
|
|
275
225
|
cursor: z.string().optional(),
|
|
276
|
-
sortOrder: z.enum([
|
|
226
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Desc'),
|
|
277
227
|
},
|
|
278
|
-
response:
|
|
279
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_,
|
|
228
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_,
|
|
280
229
|
errors: [],
|
|
281
230
|
});
|
|
282
231
|
/**
|
|
@@ -285,13 +234,13 @@ export const getAssetsIdVersions = endpoint({
|
|
|
285
234
|
* @param placeId The place id for the place to be updated.
|
|
286
235
|
*/
|
|
287
236
|
export const getPlacesPlaceid = endpoint({
|
|
288
|
-
method:
|
|
289
|
-
path:
|
|
290
|
-
baseUrl:
|
|
291
|
-
requestFormat:
|
|
237
|
+
method: 'GET',
|
|
238
|
+
path: '/v2/places/:placeId',
|
|
239
|
+
baseUrl: 'https://develop.roblox.com',
|
|
240
|
+
requestFormat: 'json',
|
|
292
241
|
serializationMethod: {
|
|
293
242
|
placeId: {
|
|
294
|
-
style:
|
|
243
|
+
style: 'simple',
|
|
295
244
|
},
|
|
296
245
|
},
|
|
297
246
|
parameters: {
|
|
@@ -320,14 +269,14 @@ export const getPlacesPlaceid = endpoint({
|
|
|
320
269
|
* @param placeId The place id for the place to be updated.
|
|
321
270
|
*/
|
|
322
271
|
export const patchPlacesPlaceid = endpoint({
|
|
323
|
-
method:
|
|
324
|
-
path:
|
|
325
|
-
baseUrl:
|
|
326
|
-
requestFormat:
|
|
272
|
+
method: 'PATCH',
|
|
273
|
+
path: '/v2/places/:placeId',
|
|
274
|
+
baseUrl: 'https://develop.roblox.com',
|
|
275
|
+
requestFormat: 'json',
|
|
327
276
|
serializationMethod: {
|
|
328
277
|
body: {},
|
|
329
278
|
placeId: {
|
|
330
|
-
style:
|
|
279
|
+
style: 'simple',
|
|
331
280
|
},
|
|
332
281
|
},
|
|
333
282
|
parameters: {
|
|
@@ -358,16 +307,16 @@ export const patchPlacesPlaceid = endpoint({
|
|
|
358
307
|
* @param gameId the Guid of the game instance System.Guid
|
|
359
308
|
*/
|
|
360
309
|
export const deleteTeamtestPlaceid = endpoint({
|
|
361
|
-
method:
|
|
362
|
-
path:
|
|
363
|
-
baseUrl:
|
|
364
|
-
requestFormat:
|
|
310
|
+
method: 'DELETE',
|
|
311
|
+
path: '/v2/teamtest/:placeId',
|
|
312
|
+
baseUrl: 'https://develop.roblox.com',
|
|
313
|
+
requestFormat: 'json',
|
|
365
314
|
serializationMethod: {
|
|
366
315
|
placeId: {
|
|
367
|
-
style:
|
|
316
|
+
style: 'simple',
|
|
368
317
|
},
|
|
369
318
|
gameId: {
|
|
370
|
-
style:
|
|
319
|
+
style: 'form',
|
|
371
320
|
explode: true,
|
|
372
321
|
},
|
|
373
322
|
},
|
|
@@ -395,14 +344,14 @@ V2 Contains data for avatar scale and asset override.
|
|
|
395
344
|
* @param universeId The universeId.
|
|
396
345
|
*/
|
|
397
346
|
export const patchUniversesUniverseidConfiguration = endpoint({
|
|
398
|
-
method:
|
|
399
|
-
path:
|
|
400
|
-
baseUrl:
|
|
401
|
-
requestFormat:
|
|
347
|
+
method: 'PATCH',
|
|
348
|
+
path: '/v2/universes/:universeId/configuration',
|
|
349
|
+
baseUrl: 'https://develop.roblox.com',
|
|
350
|
+
requestFormat: 'json',
|
|
402
351
|
serializationMethod: {
|
|
403
352
|
body: {},
|
|
404
353
|
universeId: {
|
|
405
|
-
style:
|
|
354
|
+
style: 'simple',
|
|
406
355
|
},
|
|
407
356
|
},
|
|
408
357
|
parameters: {
|
|
@@ -120,6 +120,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = zod_1.z.object({
|
|
|
120
120
|
fiatBasePriceId: zod_1.z.string(),
|
|
121
121
|
fiatProductChangeType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
|
|
122
122
|
audiences: zod_1.z.array(zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)])),
|
|
123
|
+
demoModeEnabled: zod_1.z.boolean(),
|
|
123
124
|
});
|
|
124
125
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = zod_1.z.object({
|
|
125
126
|
region: zod_1.z.enum(['Unknown', 'China']),
|
|
@@ -169,8 +170,9 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
|
169
170
|
isForSaleInFiat: zod_1.z.boolean(),
|
|
170
171
|
fiatBasePriceId: zod_1.z.string(),
|
|
171
172
|
fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
172
|
-
eligibleForTextChatMigration: zod_1.z.boolean(),
|
|
173
173
|
audiences: zod_1.z.array(zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)])),
|
|
174
|
+
demoModeEnabled: zod_1.z.boolean(),
|
|
175
|
+
demoModeLastChangedTime: zod_1.z.string().datetime({ offset: true }),
|
|
174
176
|
});
|
|
175
177
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
|
|
176
178
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = z.object({
|
|
5
|
-
dataGranularity: z.enum([
|
|
5
|
+
dataGranularity: z.enum(['Hourly', 'Daily', 'Monthly']),
|
|
6
6
|
data: z.array(z.array(z.number())),
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -15,30 +15,30 @@ const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = z.object({
|
|
|
15
15
|
* @param EndTime
|
|
16
16
|
*/
|
|
17
17
|
export const getUniversesUniverseidStats = endpoint({
|
|
18
|
-
method:
|
|
19
|
-
path:
|
|
20
|
-
baseUrl:
|
|
21
|
-
requestFormat:
|
|
18
|
+
method: 'GET',
|
|
19
|
+
path: '/v1/universes/:universeId/stats',
|
|
20
|
+
baseUrl: 'https://economycreatorstats.roblox.com',
|
|
21
|
+
requestFormat: 'json',
|
|
22
22
|
serializationMethod: {
|
|
23
23
|
universeId: {
|
|
24
|
-
style:
|
|
24
|
+
style: 'simple',
|
|
25
25
|
},
|
|
26
26
|
Type: {
|
|
27
|
-
style:
|
|
27
|
+
style: 'form',
|
|
28
28
|
explode: true,
|
|
29
29
|
},
|
|
30
30
|
StartTime: {
|
|
31
|
-
style:
|
|
31
|
+
style: 'form',
|
|
32
32
|
explode: true,
|
|
33
33
|
},
|
|
34
34
|
EndTime: {
|
|
35
|
-
style:
|
|
35
|
+
style: 'form',
|
|
36
36
|
explode: true,
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
parameters: {
|
|
40
40
|
universeId: z.number().int(),
|
|
41
|
-
Type: z.enum([
|
|
41
|
+
Type: z.enum(['PremiumUpsells', 'PremiumVisits']),
|
|
42
42
|
StartTime: z.string().datetime({ offset: true }),
|
|
43
43
|
EndTime: z.string().datetime({ offset: true }),
|
|
44
44
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Web_Responses_Economy_CurrencyResponse = z.object({
|
|
5
5
|
robux: z.number().int(),
|
|
@@ -11,10 +11,10 @@ const Roblox_Web_Responses_Economy_CurrencyResponse = z.object({
|
|
|
11
11
|
* @description Currency can only be retrieved for the authenticated user.
|
|
12
12
|
*/
|
|
13
13
|
export const getUserCurrency = endpoint({
|
|
14
|
-
method:
|
|
15
|
-
path:
|
|
16
|
-
baseUrl:
|
|
17
|
-
requestFormat:
|
|
14
|
+
method: 'GET',
|
|
15
|
+
path: '/v1/user/currency',
|
|
16
|
+
baseUrl: 'https://economy.roblox.com',
|
|
17
|
+
requestFormat: 'json',
|
|
18
18
|
response: z.object({ robux: z.number().int() }),
|
|
19
19
|
errors: [
|
|
20
20
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_EngagementPayouts_Api_PayoutResponseModel = z.object({
|
|
5
5
|
engagementScore: z.number(),
|
|
@@ -16,21 +16,21 @@ const Roblox_EngagementPayouts_Api_PayoutResponseModel = z.object({
|
|
|
16
16
|
* @param endDate The last date in the range, specified as yyyy-MM-dd.
|
|
17
17
|
*/
|
|
18
18
|
export const getUniversePayoutHistory = endpoint({
|
|
19
|
-
method:
|
|
20
|
-
path:
|
|
21
|
-
baseUrl:
|
|
22
|
-
requestFormat:
|
|
19
|
+
method: 'GET',
|
|
20
|
+
path: '/v1/universe-payout-history',
|
|
21
|
+
baseUrl: 'https://engagementpayouts.roblox.com',
|
|
22
|
+
requestFormat: 'json',
|
|
23
23
|
serializationMethod: {
|
|
24
24
|
universeId: {
|
|
25
|
-
style:
|
|
25
|
+
style: 'form',
|
|
26
26
|
explode: true,
|
|
27
27
|
},
|
|
28
28
|
startDate: {
|
|
29
|
-
style:
|
|
29
|
+
style: 'form',
|
|
30
30
|
explode: true,
|
|
31
31
|
},
|
|
32
32
|
endDate: {
|
|
33
|
-
style:
|
|
33
|
+
style: 'form',
|
|
34
34
|
explode: true,
|
|
35
35
|
},
|
|
36
36
|
},
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Followings_Api_Models_UserFollowingUniverseResponse = z.object({
|
|
5
5
|
universeId: z.number().int(),
|
|
6
6
|
userId: z.number().int(),
|
|
7
7
|
});
|
|
8
|
-
const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse =
|
|
9
|
-
z.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
8
|
+
const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse = z.object({
|
|
9
|
+
UniverseId: z.number().int(),
|
|
10
|
+
UserId: z.number().int(),
|
|
11
|
+
CanFollow: z.boolean(),
|
|
12
|
+
IsFollowing: z.boolean(),
|
|
13
|
+
FollowingCountByType: z.number().int(),
|
|
14
|
+
FollowingLimitByType: z.number().int(),
|
|
15
|
+
});
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* @api GET https://followings.roblox.com/v1/users/:userId/universes
|
|
@@ -21,13 +20,13 @@ const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse =
|
|
|
21
20
|
* @param userId
|
|
22
21
|
*/
|
|
23
22
|
export const getUsersUseridUniverses = endpoint({
|
|
24
|
-
method:
|
|
25
|
-
path:
|
|
26
|
-
baseUrl:
|
|
27
|
-
requestFormat:
|
|
23
|
+
method: 'GET',
|
|
24
|
+
path: '/v1/users/:userId/universes',
|
|
25
|
+
baseUrl: 'https://followings.roblox.com',
|
|
26
|
+
requestFormat: 'json',
|
|
28
27
|
serializationMethod: {
|
|
29
28
|
userId: {
|
|
30
|
-
style:
|
|
29
|
+
style: 'simple',
|
|
31
30
|
},
|
|
32
31
|
},
|
|
33
32
|
parameters: {
|
|
@@ -52,16 +51,16 @@ export const getUsersUseridUniverses = endpoint({
|
|
|
52
51
|
* @param universeId
|
|
53
52
|
*/
|
|
54
53
|
export const postUsersUseridUniversesUniverseid = endpoint({
|
|
55
|
-
method:
|
|
56
|
-
path:
|
|
57
|
-
baseUrl:
|
|
58
|
-
requestFormat:
|
|
54
|
+
method: 'POST',
|
|
55
|
+
path: '/v1/users/:userId/universes/:universeId',
|
|
56
|
+
baseUrl: 'https://followings.roblox.com',
|
|
57
|
+
requestFormat: 'json',
|
|
59
58
|
serializationMethod: {
|
|
60
59
|
userId: {
|
|
61
|
-
style:
|
|
60
|
+
style: 'simple',
|
|
62
61
|
},
|
|
63
62
|
universeId: {
|
|
64
|
-
style:
|
|
63
|
+
style: 'simple',
|
|
65
64
|
},
|
|
66
65
|
},
|
|
67
66
|
parameters: {
|
|
@@ -92,16 +91,16 @@ export const postUsersUseridUniversesUniverseid = endpoint({
|
|
|
92
91
|
* @param universeId
|
|
93
92
|
*/
|
|
94
93
|
export const deleteUsersUseridUniversesUniverseid = endpoint({
|
|
95
|
-
method:
|
|
96
|
-
path:
|
|
97
|
-
baseUrl:
|
|
98
|
-
requestFormat:
|
|
94
|
+
method: 'DELETE',
|
|
95
|
+
path: '/v1/users/:userId/universes/:universeId',
|
|
96
|
+
baseUrl: 'https://followings.roblox.com',
|
|
97
|
+
requestFormat: 'json',
|
|
99
98
|
serializationMethod: {
|
|
100
99
|
userId: {
|
|
101
|
-
style:
|
|
100
|
+
style: 'simple',
|
|
102
101
|
},
|
|
103
102
|
universeId: {
|
|
104
|
-
style:
|
|
103
|
+
style: 'simple',
|
|
105
104
|
},
|
|
106
105
|
},
|
|
107
106
|
parameters: {
|
|
@@ -128,16 +127,16 @@ export const deleteUsersUseridUniversesUniverseid = endpoint({
|
|
|
128
127
|
* @param universeId
|
|
129
128
|
*/
|
|
130
129
|
export const getUsersUseridUniversesUniverseidStatus = endpoint({
|
|
131
|
-
method:
|
|
132
|
-
path:
|
|
133
|
-
baseUrl:
|
|
134
|
-
requestFormat:
|
|
130
|
+
method: 'GET',
|
|
131
|
+
path: '/v1/users/:userId/universes/:universeId/status',
|
|
132
|
+
baseUrl: 'https://followings.roblox.com',
|
|
133
|
+
requestFormat: 'json',
|
|
135
134
|
serializationMethod: {
|
|
136
135
|
userId: {
|
|
137
|
-
style:
|
|
136
|
+
style: 'simple',
|
|
138
137
|
},
|
|
139
138
|
universeId: {
|
|
140
|
-
style:
|
|
139
|
+
style: 'simple',
|
|
141
140
|
},
|
|
142
141
|
},
|
|
143
142
|
parameters: {
|