rozod 6.7.0 → 6.8.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 +50 -87
- package/lib/endpoints/accountinformationv1.js +46 -90
- package/lib/endpoints/assetdeliveryv1.d.ts +39 -0
- package/lib/endpoints/assetdeliveryv1.js +39 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +27 -0
- package/lib/endpoints/assetdeliveryv2.js +27 -0
- package/lib/endpoints/authv1.d.ts +71 -3
- package/lib/endpoints/authv1.js +70 -4
- package/lib/endpoints/authv2.d.ts +22 -1
- package/lib/endpoints/authv2.js +23 -2
- package/lib/endpoints/avatarv1.d.ts +9 -6
- package/lib/endpoints/avatarv1.js +9 -6
- package/lib/endpoints/avatarv2.d.ts +11 -5
- package/lib/endpoints/avatarv2.js +11 -5
- package/lib/endpoints/avatarv3.d.ts +16 -7
- package/lib/endpoints/avatarv3.js +16 -7
- package/lib/endpoints/badgesv1.d.ts +4 -0
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +25 -3
- package/lib/endpoints/catalogv1.js +21 -3
- package/lib/endpoints/catalogv2.d.ts +294 -50
- package/lib/endpoints/catalogv2.js +256 -24
- package/lib/endpoints/clientsettingsv2.d.ts +6 -0
- package/lib/endpoints/clientsettingsv2.js +6 -0
- package/lib/endpoints/contactsv1.d.ts +18 -22
- package/lib/endpoints/contactsv1.js +14 -22
- package/lib/endpoints/developv1.d.ts +36 -1
- package/lib/endpoints/developv1.js +12 -3
- package/lib/endpoints/developv2.d.ts +32 -3
- package/lib/endpoints/developv2.js +16 -5
- package/lib/endpoints/friendsv1.d.ts +222 -314
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +59 -0
- package/lib/endpoints/gameinternationalizationv1.js +57 -1
- package/lib/endpoints/gamesv1.d.ts +79 -0
- package/lib/endpoints/gamesv1.js +70 -97
- package/lib/endpoints/gamesv2.d.ts +12 -0
- package/lib/endpoints/gamesv2.js +10 -0
- package/lib/endpoints/groupsv1.d.ts +49 -4
- package/lib/endpoints/groupsv1.js +55 -7
- package/lib/endpoints/groupsv2.d.ts +2 -0
- package/lib/endpoints/groupsv2.js +2 -0
- package/lib/endpoints/inventoryv1.d.ts +3 -1
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +70 -0
- package/lib/endpoints/inventoryv2.js +68 -1
- package/lib/endpoints/localev1.d.ts +27 -0
- package/lib/endpoints/localev1.js +28 -1
- package/lib/endpoints/publishv1.d.ts +3 -6
- package/lib/endpoints/publishv1.js +3 -6
- package/lib/endpoints/thumbnailsv1.d.ts +44 -87
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/index.d.ts +96 -3
- package/lib/index.js +114 -1
- 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 +197 -87
- package/lib/opencloud/v2/cloud.js +68 -15
- package/package.json +108 -108
|
@@ -115,6 +115,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
|
|
|
115
115
|
z.literal(3),
|
|
116
116
|
z.literal(4),
|
|
117
117
|
z.literal(5),
|
|
118
|
+
z.literal(6),
|
|
118
119
|
])
|
|
119
120
|
),
|
|
120
121
|
isForSale: z.boolean(),
|
|
@@ -138,6 +139,16 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
|
|
|
138
139
|
z.literal(2),
|
|
139
140
|
z.literal(3),
|
|
140
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
|
+
),
|
|
151
|
+
demoModeEnabled: z.boolean(),
|
|
141
152
|
});
|
|
142
153
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = z.object({
|
|
143
154
|
region: z.enum(["Unknown", "China"]),
|
|
@@ -185,6 +196,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
|
185
196
|
z.literal(3),
|
|
186
197
|
z.literal(4),
|
|
187
198
|
z.literal(5),
|
|
199
|
+
z.literal(6),
|
|
188
200
|
])
|
|
189
201
|
),
|
|
190
202
|
isForSale: z.boolean(),
|
|
@@ -206,7 +218,17 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
|
206
218
|
"Approved",
|
|
207
219
|
"Rejected",
|
|
208
220
|
]),
|
|
209
|
-
|
|
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
|
+
),
|
|
230
|
+
demoModeEnabled: z.boolean(),
|
|
231
|
+
demoModeLastChangedTime: z.string().datetime({ offset: true }),
|
|
210
232
|
});
|
|
211
233
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
212
234
|
|
|
@@ -413,7 +435,9 @@ export const patchUniversesUniverseidConfiguration = endpoint({
|
|
|
413
435
|
22: Invalid asset type.
|
|
414
436
|
23: Invalid value, the min must be less than or equal to the max
|
|
415
437
|
24: Invalid scale value
|
|
416
|
-
28: OptIn/Out Regions Not Supported
|
|
438
|
+
28: OptIn/Out Regions Not Supported.
|
|
439
|
+
41: You cannot change the private server price again so soon after the previous change. Please try again later.
|
|
440
|
+
44: The provided audience configuration is invalid. Ensure the audience list contains only supported audience values.`,
|
|
417
441
|
},
|
|
418
442
|
{
|
|
419
443
|
status: 401,
|
|
@@ -425,11 +449,16 @@ export const patchUniversesUniverseidConfiguration = endpoint({
|
|
|
425
449
|
2: You are not authorized to configure this universe.
|
|
426
450
|
14: You are not authorized to sell games.
|
|
427
451
|
29: Luobu app terms of service user agreement is missing.
|
|
428
|
-
30: Unknown error while updating Opt in out region
|
|
452
|
+
30: Unknown error while updating Opt in out region.
|
|
453
|
+
45: The creator of this experience is not eligible to set this audience.`,
|
|
429
454
|
},
|
|
430
455
|
{
|
|
431
456
|
status: 409,
|
|
432
457
|
description: `9: Failed to shutdown all intances of game after changing AvatarType. The change has been reverted.`,
|
|
433
458
|
},
|
|
459
|
+
{
|
|
460
|
+
status: 500,
|
|
461
|
+
description: `43: Failed to update the audience configuration. The change was not applied. Please try again.`,
|
|
462
|
+
},
|
|
434
463
|
],
|
|
435
464
|
});
|
|
@@ -105,7 +105,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = zod_1.z.object({
|
|
|
105
105
|
zod_1.z.literal(13),
|
|
106
106
|
zod_1.z.literal(14),
|
|
107
107
|
]),
|
|
108
|
-
playableDevices: zod_1.z.array(zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)])),
|
|
108
|
+
playableDevices: zod_1.z.array(zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5), zod_1.z.literal(6)])),
|
|
109
109
|
isForSale: zod_1.z.boolean(),
|
|
110
110
|
price: zod_1.z.number().int(),
|
|
111
111
|
universeAvatarAssetOverrides: zod_1.z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
|
|
@@ -119,6 +119,8 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = zod_1.z.object({
|
|
|
119
119
|
isRewardedOnDemandAdsAllowed: zod_1.z.boolean(),
|
|
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
|
+
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(),
|
|
122
124
|
});
|
|
123
125
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = zod_1.z.object({
|
|
124
126
|
region: zod_1.z.enum(['Unknown', 'China']),
|
|
@@ -157,7 +159,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
|
157
159
|
'Ninja',
|
|
158
160
|
'WildWest',
|
|
159
161
|
]),
|
|
160
|
-
playableDevices: zod_1.z.array(zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)])),
|
|
162
|
+
playableDevices: zod_1.z.array(zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5), zod_1.z.literal(6)])),
|
|
161
163
|
isForSale: zod_1.z.boolean(),
|
|
162
164
|
price: zod_1.z.number().int(),
|
|
163
165
|
universeAvatarAssetOverrides: zod_1.z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
|
|
@@ -168,7 +170,9 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
|
168
170
|
isForSaleInFiat: zod_1.z.boolean(),
|
|
169
171
|
fiatBasePriceId: zod_1.z.string(),
|
|
170
172
|
fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
171
|
-
|
|
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 }),
|
|
172
176
|
});
|
|
173
177
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
|
|
174
178
|
/**
|
|
@@ -373,7 +377,9 @@ exports.patchUniversesUniverseidConfiguration = (0, __1.endpoint)({
|
|
|
373
377
|
22: Invalid asset type.
|
|
374
378
|
23: Invalid value, the min must be less than or equal to the max
|
|
375
379
|
24: Invalid scale value
|
|
376
|
-
28: OptIn/Out Regions Not Supported
|
|
380
|
+
28: OptIn/Out Regions Not Supported.
|
|
381
|
+
41: You cannot change the private server price again so soon after the previous change. Please try again later.
|
|
382
|
+
44: The provided audience configuration is invalid. Ensure the audience list contains only supported audience values.`,
|
|
377
383
|
},
|
|
378
384
|
{
|
|
379
385
|
status: 401,
|
|
@@ -385,11 +391,16 @@ exports.patchUniversesUniverseidConfiguration = (0, __1.endpoint)({
|
|
|
385
391
|
2: You are not authorized to configure this universe.
|
|
386
392
|
14: You are not authorized to sell games.
|
|
387
393
|
29: Luobu app terms of service user agreement is missing.
|
|
388
|
-
30: Unknown error while updating Opt in out region
|
|
394
|
+
30: Unknown error while updating Opt in out region.
|
|
395
|
+
45: The creator of this experience is not eligible to set this audience.`,
|
|
389
396
|
},
|
|
390
397
|
{
|
|
391
398
|
status: 409,
|
|
392
399
|
description: `9: Failed to shutdown all intances of game after changing AvatarType. The change has been reverted.`,
|
|
393
400
|
},
|
|
401
|
+
{
|
|
402
|
+
status: 500,
|
|
403
|
+
description: `43: Failed to update the audience configuration. The change was not applied. Please try again.`,
|
|
404
|
+
},
|
|
394
405
|
],
|
|
395
406
|
});
|