rozod 6.7.1 → 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/assetdeliveryv1.d.ts +38 -0
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +26 -0
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +7 -2
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +1 -1
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/badgesv1.d.ts +4 -0
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +2 -1
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +53 -45
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/developv1.d.ts +3 -0
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +3 -1
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/friendsv1.d.ts +222 -314
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +2 -0
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +11 -0
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +42 -1
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +1 -0
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +3 -1
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +2 -0
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/metricsv1.d.ts +88 -88
- 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 +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ const Roblox_Games_Api_Models_Response_GameDetailResponse = z.object({
|
|
|
47
47
|
localizedFiatPrice: z.string(),
|
|
48
48
|
refundPolicy: Roblox_Games_Api_Models_Response_RefundPolicy,
|
|
49
49
|
canonicalUrlPath: z.string(),
|
|
50
|
+
isContentRestricted: z.boolean(),
|
|
50
51
|
});
|
|
51
52
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_ =
|
|
52
53
|
z.object({
|
|
@@ -193,6 +194,7 @@ const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = z.object({
|
|
|
193
194
|
unplayableDisplayText: z.string(),
|
|
194
195
|
playableUxTreatment: Roblox_Games_Api_Models_Response_PlayableUxTreatment,
|
|
195
196
|
upsellUxTreatment: Roblox_Games_Api_Models_Response_UpsellUxTreatment,
|
|
197
|
+
demoModeAvailable: z.boolean(),
|
|
196
198
|
});
|
|
197
199
|
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel =
|
|
198
200
|
z.object({
|
package/lib/endpoints/gamesv1.js
CHANGED
|
@@ -49,6 +49,7 @@ const Roblox_Games_Api_Models_Response_GameDetailResponse = zod_1.z.object({
|
|
|
49
49
|
localizedFiatPrice: zod_1.z.string(),
|
|
50
50
|
refundPolicy: Roblox_Games_Api_Models_Response_RefundPolicy,
|
|
51
51
|
canonicalUrlPath: zod_1.z.string(),
|
|
52
|
+
isContentRestricted: zod_1.z.boolean(),
|
|
52
53
|
});
|
|
53
54
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_ = zod_1.z.object({
|
|
54
55
|
data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameDetailResponse),
|
|
@@ -193,6 +194,7 @@ const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = zod_1.z.objec
|
|
|
193
194
|
unplayableDisplayText: zod_1.z.string(),
|
|
194
195
|
playableUxTreatment: Roblox_Games_Api_Models_Response_PlayableUxTreatment,
|
|
195
196
|
upsellUxTreatment: Roblox_Games_Api_Models_Response_UpsellUxTreatment,
|
|
197
|
+
demoModeAvailable: zod_1.z.boolean(),
|
|
196
198
|
});
|
|
197
199
|
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel = zod_1.z.object({
|
|
198
200
|
badgePosition: zod_1.z.string(),
|
|
@@ -15,6 +15,14 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameM
|
|
|
15
15
|
z.object({
|
|
16
16
|
data: z.array(Roblox_Web_Responses_Games_GameMediaItemResponseV2),
|
|
17
17
|
});
|
|
18
|
+
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel =
|
|
19
|
+
z.object({
|
|
20
|
+
badgePosition: z.string(),
|
|
21
|
+
badgeAnalyticsId: z.string(),
|
|
22
|
+
badgeType: z.string(),
|
|
23
|
+
badgeIcon: z.string(),
|
|
24
|
+
badgeComponentType: z.string(),
|
|
25
|
+
});
|
|
18
26
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_ =
|
|
19
27
|
z.object({
|
|
20
28
|
id: z.number().int(),
|
|
@@ -110,11 +118,14 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
|
|
|
110
118
|
"EyeMakeup",
|
|
111
119
|
"VoxelFragment",
|
|
112
120
|
"AvatarBackground",
|
|
121
|
+
"TextDocument",
|
|
113
122
|
]),
|
|
114
123
|
name: z.string(),
|
|
115
124
|
});
|
|
116
125
|
const Roblox_Web_Responses_Games_GameFavoriteResponseModel = z.object({
|
|
117
126
|
price: z.number().int(),
|
|
127
|
+
contentMetadata:
|
|
128
|
+
Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
|
|
118
129
|
id: z.number().int(),
|
|
119
130
|
name: z.string(),
|
|
120
131
|
description: z.string(),
|
package/lib/endpoints/gamesv2.js
CHANGED
|
@@ -16,6 +16,13 @@ const Roblox_Web_Responses_Games_GameMediaItemResponseV2 = zod_1.z.object({
|
|
|
16
16
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameMediaItemResponseV2_ = zod_1.z.object({
|
|
17
17
|
data: zod_1.z.array(Roblox_Web_Responses_Games_GameMediaItemResponseV2),
|
|
18
18
|
});
|
|
19
|
+
const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel = zod_1.z.object({
|
|
20
|
+
badgePosition: zod_1.z.string(),
|
|
21
|
+
badgeAnalyticsId: zod_1.z.string(),
|
|
22
|
+
badgeType: zod_1.z.string(),
|
|
23
|
+
badgeIcon: zod_1.z.string(),
|
|
24
|
+
badgeComponentType: zod_1.z.string(),
|
|
25
|
+
});
|
|
19
26
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_ = zod_1.z.object({
|
|
20
27
|
id: zod_1.z.number().int(),
|
|
21
28
|
type: zod_1.z.enum(['User', 'Group']),
|
|
@@ -109,11 +116,13 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
|
|
|
109
116
|
'EyeMakeup',
|
|
110
117
|
'VoxelFragment',
|
|
111
118
|
'AvatarBackground',
|
|
119
|
+
'TextDocument',
|
|
112
120
|
]),
|
|
113
121
|
name: zod_1.z.string(),
|
|
114
122
|
});
|
|
115
123
|
const Roblox_Web_Responses_Games_GameFavoriteResponseModel = zod_1.z.object({
|
|
116
124
|
price: zod_1.z.number().int(),
|
|
125
|
+
contentMetadata: Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
|
|
117
126
|
id: zod_1.z.number().int(),
|
|
118
127
|
name: zod_1.z.string(),
|
|
119
128
|
description: zod_1.z.string(),
|
|
@@ -117,6 +117,13 @@ const Roblox_Groups_Client_CreateBlockedKeywordsResponse = z.object({
|
|
|
117
117
|
hadModeratedKeywords: z.boolean(),
|
|
118
118
|
hadDuplicateKeywords: z.boolean(),
|
|
119
119
|
});
|
|
120
|
+
const Roblox_Groups_Api_CommunityFeatureFreezeStatus = z.object({
|
|
121
|
+
feature: z.string(),
|
|
122
|
+
isDisabled: z.boolean(),
|
|
123
|
+
});
|
|
124
|
+
const Roblox_Groups_Api_GetCommunityFeatureFreezesResponse = z.object({
|
|
125
|
+
features: z.array(Roblox_Groups_Api_CommunityFeatureFreezeStatus),
|
|
126
|
+
});
|
|
120
127
|
const Roblox_Groups_Api_GroupConfigurationDetailsResponse = z.object({
|
|
121
128
|
groupId: z.number().int(),
|
|
122
129
|
emblemId: z.number().int(),
|
|
@@ -140,6 +147,8 @@ const Roblox_Groups_Api_GroupFeatureResponse = z.object({
|
|
|
140
147
|
"ContentUpload",
|
|
141
148
|
"GroupOwnershipTransfer",
|
|
142
149
|
"GameOwnershipTransfer",
|
|
150
|
+
"ForumRead",
|
|
151
|
+
"ForumWrite",
|
|
143
152
|
]),
|
|
144
153
|
isFeatureBlocked: z.boolean(),
|
|
145
154
|
expiration: z.string().datetime({ offset: true }),
|
|
@@ -261,6 +270,7 @@ const Roblox_Groups_Api_GroupMembershipMetadataResponse = z.object({
|
|
|
261
270
|
),
|
|
262
271
|
isBannedFromGroup: z.boolean(),
|
|
263
272
|
canViewMemberList: z.boolean(),
|
|
273
|
+
isOwner: z.boolean(),
|
|
264
274
|
});
|
|
265
275
|
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = z.object(
|
|
266
276
|
{ name: z.string(), created: z.string().datetime({ offset: true }) }
|
|
@@ -288,10 +298,17 @@ const Roblox_Groups_Api_PayoutRecipientRequest = z.object({
|
|
|
288
298
|
recipientType: z.enum(["User", "Group"]),
|
|
289
299
|
amount: z.number().int(),
|
|
290
300
|
});
|
|
301
|
+
const Roblox_Groups_Api_WatermarkContributionRequest = z.object({
|
|
302
|
+
balanceKey: z.enum(["Standard", "O18Boosted"]),
|
|
303
|
+
amount: z.number().int(),
|
|
304
|
+
});
|
|
291
305
|
const Roblox_Groups_Api_PayoutRequest = z.object({
|
|
292
306
|
PayoutType: z.enum(["FixedAmount", "Percentage"]),
|
|
293
307
|
Recipients: z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
294
308
|
IdempotencyKey: z.string(),
|
|
309
|
+
WatermarkContributions: z.array(
|
|
310
|
+
Roblox_Groups_Api_WatermarkContributionRequest
|
|
311
|
+
),
|
|
295
312
|
});
|
|
296
313
|
const Roblox_Groups_Api_OneTimePayoutResponse = z.object({
|
|
297
314
|
status: z.enum(["NotHeld", "Held"]),
|
|
@@ -884,6 +901,8 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
884
901
|
"UpdateGroupCoverPhoto",
|
|
885
902
|
"AssignRole",
|
|
886
903
|
"UnassignRole",
|
|
904
|
+
"PublishAnnouncement",
|
|
905
|
+
"DeleteAnnouncement",
|
|
887
906
|
])
|
|
888
907
|
.optional(),
|
|
889
908
|
userId: z.number().int().optional(),
|
|
@@ -1423,6 +1442,27 @@ export const postGroupsGroupidClaimOwnership = endpoint({
|
|
|
1423
1442
|
},
|
|
1424
1443
|
],
|
|
1425
1444
|
});
|
|
1445
|
+
/**
|
|
1446
|
+
* @api GET https://groups.roblox.com/v1/groups/:groupId/community-feature-freezes
|
|
1447
|
+
* @summary Gets the freeze status of the community features for a group.
|
|
1448
|
+
* @param groupId
|
|
1449
|
+
*/
|
|
1450
|
+
export const getGroupsGroupidCommunityFeatureFreezes = endpoint({
|
|
1451
|
+
method: "GET",
|
|
1452
|
+
path: "/v1/groups/:groupId/community-feature-freezes",
|
|
1453
|
+
baseUrl: "https://groups.roblox.com",
|
|
1454
|
+
requestFormat: "json",
|
|
1455
|
+
serializationMethod: {
|
|
1456
|
+
groupId: {
|
|
1457
|
+
style: "simple",
|
|
1458
|
+
},
|
|
1459
|
+
},
|
|
1460
|
+
parameters: {
|
|
1461
|
+
groupId: z.number().int(),
|
|
1462
|
+
},
|
|
1463
|
+
response: Roblox_Groups_Api_GetCommunityFeatureFreezesResponse,
|
|
1464
|
+
errors: [],
|
|
1465
|
+
});
|
|
1426
1466
|
/**
|
|
1427
1467
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/configuration
|
|
1428
1468
|
* @summary Gets group configuration information
|
|
@@ -2191,7 +2231,8 @@ export const postGroupsGroupidPayouts = endpoint({
|
|
|
2191
2231
|
description: `0: Token Validation Failed
|
|
2192
2232
|
23: Insufficient permissions to complete the request.
|
|
2193
2233
|
28: Group has paid out too recently. Please wait and try again.
|
|
2194
|
-
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification
|
|
2234
|
+
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
|
|
2235
|
+
52: Group has paid out to this recipient too many times recently. Please try again later.`,
|
|
2195
2236
|
},
|
|
2196
2237
|
{
|
|
2197
2238
|
status: 503,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getUsersUseridGroupsRoles = exports.getUsersUseridGroupsPrimaryRole = exports.getUsersUseridFriendsGroupsRoles = exports.deleteUserGroupsPrimary = exports.postUserGroupsPrimary = exports.getUserGroupsPending = exports.getRoles = exports.getGroupsSearchMetadata = exports.getGroupsSearchLookup = exports.getGroupsSearch = exports.postGroupsPolicies = exports.getGroupsMetadata = exports.patchGroupsIcon = exports.postGroupsCreate = exports.getGroupsConfigurationMetadata = exports.deleteGroupsGroupidWallUsersUseridPosts = exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = exports.getGroupsGroupidUsersUseridPermissions = exports.patchGroupsGroupidUsersUserid = exports.deleteGroupsGroupidUsersUserid = exports.postGroupsGroupidUsers = exports.getGroupsGroupidUsers = exports.patchGroupsGroupidStatus = exports.patchGroupsGroupidSocialLinksSociallinkid = exports.deleteGroupsGroupidSocialLinksSociallinkid = exports.postGroupsGroupidSocialLinks = exports.getGroupsGroupidSocialLinks = exports.patchGroupsGroupidSettings = exports.getGroupsGroupidSettings = exports.postGroupsGroupidRolesetsCreate = exports.patchGroupsGroupidRolesetsRolesetid = void 0;
|
|
3
|
+
exports.getGroupsGroupidRolesPermissions = exports.getGroupsGroupidRolesGuestPermissions = exports.getGroupsGroupidRolesRolesetidUsers = exports.patchGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRoles = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.getGroupsGroupidRelationshipsGrouprelationshiptype = exports.postGroupsGroupidPayoutsRecurring = exports.postGroupsGroupidPayouts = exports.getGroupsGroupidPayouts = exports.getGroupsGroupidPayoutRestriction = exports.patchGroupsGroupidNotificationPreference = exports.getGroupsGroupidNameHistory = exports.patchGroupsGroupidName = exports.getGroupsGroupidMembership = exports.deleteGroupsGroupidJoinRequestsUsersUserid = exports.postGroupsGroupidJoinRequestsUsersUserid = exports.getGroupsGroupidJoinRequestsUsersUserid = exports.deleteGroupsGroupidJoinRequests = exports.postGroupsGroupidJoinRequests = exports.getGroupsGroupidJoinRequests = exports.getGroupsGroupidFeaturesStatus = exports.patchGroupsGroupidFeatures = exports.getGroupsGroupidFeatures = exports.getGroupsGroupidEmotes = exports.patchGroupsGroupidDescription = exports.getGroupsGroupidConfiguration = exports.getGroupsGroupidCommunityFeatureFreezes = exports.postGroupsGroupidClaimOwnership = exports.postGroupsGroupidChangeOwner = exports.patchGroupsGroupidBlockedKeywordsKeywordid = exports.deleteGroupsGroupidBlockedKeywordsKeywordid = exports.postGroupsGroupidBlockedKeywords = exports.getGroupsGroupidBlockedKeywords = exports.deleteGroupsGroupidBansUserid = exports.postGroupsGroupidBansUserid = exports.getGroupsGroupidBansUserid = exports.getGroupsGroupidBans = exports.getGroupsGroupidAuditLog = exports.getGroupsGroupid = exports.deleteFeaturedContentEvent = exports.postFeaturedContentEvent = exports.getFeaturedContentEvent = void 0;
|
|
4
|
+
exports.getUsersUseridGroupsRoles = exports.getUsersUseridGroupsPrimaryRole = exports.getUsersUseridFriendsGroupsRoles = exports.deleteUserGroupsPrimary = exports.postUserGroupsPrimary = exports.getUserGroupsPending = exports.getRoles = exports.getGroupsSearchMetadata = exports.getGroupsSearchLookup = exports.getGroupsSearch = exports.postGroupsPolicies = exports.getGroupsMetadata = exports.patchGroupsIcon = exports.postGroupsCreate = exports.getGroupsConfigurationMetadata = exports.deleteGroupsGroupidWallUsersUseridPosts = exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = exports.getGroupsGroupidUsersUseridPermissions = exports.patchGroupsGroupidUsersUserid = exports.deleteGroupsGroupidUsersUserid = exports.postGroupsGroupidUsers = exports.getGroupsGroupidUsers = exports.patchGroupsGroupidStatus = exports.patchGroupsGroupidSocialLinksSociallinkid = exports.deleteGroupsGroupidSocialLinksSociallinkid = exports.postGroupsGroupidSocialLinks = exports.getGroupsGroupidSocialLinks = exports.patchGroupsGroupidSettings = exports.getGroupsGroupidSettings = exports.postGroupsGroupidRolesetsCreate = exports.patchGroupsGroupidRolesetsRolesetid = exports.deleteGroupsGroupidRolesetsRolesetid = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const __1 = require("..");
|
|
7
7
|
const Roblox_Groups_Client_GroupFeaturedContentResponse = zod_1.z.object({
|
|
@@ -111,6 +111,13 @@ const Roblox_Groups_Client_CreateBlockedKeywordsResponse = zod_1.z.object({
|
|
|
111
111
|
hadModeratedKeywords: zod_1.z.boolean(),
|
|
112
112
|
hadDuplicateKeywords: zod_1.z.boolean(),
|
|
113
113
|
});
|
|
114
|
+
const Roblox_Groups_Api_CommunityFeatureFreezeStatus = zod_1.z.object({
|
|
115
|
+
feature: zod_1.z.string(),
|
|
116
|
+
isDisabled: zod_1.z.boolean(),
|
|
117
|
+
});
|
|
118
|
+
const Roblox_Groups_Api_GetCommunityFeatureFreezesResponse = zod_1.z.object({
|
|
119
|
+
features: zod_1.z.array(Roblox_Groups_Api_CommunityFeatureFreezeStatus),
|
|
120
|
+
});
|
|
114
121
|
const Roblox_Groups_Api_GroupConfigurationDetailsResponse = zod_1.z.object({
|
|
115
122
|
groupId: zod_1.z.number().int(),
|
|
116
123
|
emblemId: zod_1.z.number().int(),
|
|
@@ -129,7 +136,14 @@ const Roblox_Groups_Client_GetGroupEmoteSetsResponse = zod_1.z.object({
|
|
|
129
136
|
emoteSets: zod_1.z.array(Roblox_Groups_Client_EmoteSetModel),
|
|
130
137
|
});
|
|
131
138
|
const Roblox_Groups_Api_GroupFeatureResponse = zod_1.z.object({
|
|
132
|
-
feature: zod_1.z.enum([
|
|
139
|
+
feature: zod_1.z.enum([
|
|
140
|
+
'Payouts',
|
|
141
|
+
'ContentUpload',
|
|
142
|
+
'GroupOwnershipTransfer',
|
|
143
|
+
'GameOwnershipTransfer',
|
|
144
|
+
'ForumRead',
|
|
145
|
+
'ForumWrite',
|
|
146
|
+
]),
|
|
133
147
|
isFeatureBlocked: zod_1.z.boolean(),
|
|
134
148
|
expiration: zod_1.z.string().datetime({ offset: true }),
|
|
135
149
|
});
|
|
@@ -246,6 +260,7 @@ const Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z.object({
|
|
|
246
260
|
notificationPreferences: zod_1.z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
247
261
|
isBannedFromGroup: zod_1.z.boolean(),
|
|
248
262
|
canViewMemberList: zod_1.z.boolean(),
|
|
263
|
+
isOwner: zod_1.z.boolean(),
|
|
249
264
|
});
|
|
250
265
|
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = zod_1.z.object({
|
|
251
266
|
name: zod_1.z.string(),
|
|
@@ -272,10 +287,15 @@ const Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z.object({
|
|
|
272
287
|
recipientType: zod_1.z.enum(['User', 'Group']),
|
|
273
288
|
amount: zod_1.z.number().int(),
|
|
274
289
|
});
|
|
290
|
+
const Roblox_Groups_Api_WatermarkContributionRequest = zod_1.z.object({
|
|
291
|
+
balanceKey: zod_1.z.enum(['Standard', 'O18Boosted']),
|
|
292
|
+
amount: zod_1.z.number().int(),
|
|
293
|
+
});
|
|
275
294
|
const Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
|
|
276
295
|
PayoutType: zod_1.z.enum(['FixedAmount', 'Percentage']),
|
|
277
296
|
Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
278
297
|
IdempotencyKey: zod_1.z.string(),
|
|
298
|
+
WatermarkContributions: zod_1.z.array(Roblox_Groups_Api_WatermarkContributionRequest),
|
|
279
299
|
});
|
|
280
300
|
const Roblox_Groups_Api_OneTimePayoutResponse = zod_1.z.object({
|
|
281
301
|
status: zod_1.z.enum(['NotHeld', 'Held']),
|
|
@@ -853,6 +873,8 @@ exports.getGroupsGroupidAuditLog = (0, __1.endpoint)({
|
|
|
853
873
|
'UpdateGroupCoverPhoto',
|
|
854
874
|
'AssignRole',
|
|
855
875
|
'UnassignRole',
|
|
876
|
+
'PublishAnnouncement',
|
|
877
|
+
'DeleteAnnouncement',
|
|
856
878
|
])
|
|
857
879
|
.optional(),
|
|
858
880
|
userId: zod_1.z.number().int().optional(),
|
|
@@ -1389,6 +1411,27 @@ exports.postGroupsGroupidClaimOwnership = (0, __1.endpoint)({
|
|
|
1389
1411
|
},
|
|
1390
1412
|
],
|
|
1391
1413
|
});
|
|
1414
|
+
/**
|
|
1415
|
+
* @api GET https://groups.roblox.com/v1/groups/:groupId/community-feature-freezes
|
|
1416
|
+
* @summary Gets the freeze status of the community features for a group.
|
|
1417
|
+
* @param groupId
|
|
1418
|
+
*/
|
|
1419
|
+
exports.getGroupsGroupidCommunityFeatureFreezes = (0, __1.endpoint)({
|
|
1420
|
+
method: 'GET',
|
|
1421
|
+
path: '/v1/groups/:groupId/community-feature-freezes',
|
|
1422
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1423
|
+
requestFormat: 'json',
|
|
1424
|
+
serializationMethod: {
|
|
1425
|
+
groupId: {
|
|
1426
|
+
style: 'simple',
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
parameters: {
|
|
1430
|
+
groupId: zod_1.z.number().int(),
|
|
1431
|
+
},
|
|
1432
|
+
response: Roblox_Groups_Api_GetCommunityFeatureFreezesResponse,
|
|
1433
|
+
errors: [],
|
|
1434
|
+
});
|
|
1392
1435
|
/**
|
|
1393
1436
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/configuration
|
|
1394
1437
|
* @summary Gets group configuration information
|
|
@@ -2154,7 +2197,8 @@ exports.postGroupsGroupidPayouts = (0, __1.endpoint)({
|
|
|
2154
2197
|
description: `0: Token Validation Failed
|
|
2155
2198
|
23: Insufficient permissions to complete the request.
|
|
2156
2199
|
28: Group has paid out too recently. Please wait and try again.
|
|
2157
|
-
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification
|
|
2200
|
+
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
|
|
2201
|
+
52: Group has paid out to this recipient too many times recently. Please try again later.`,
|
|
2158
2202
|
},
|
|
2159
2203
|
{
|
|
2160
2204
|
status: 503,
|
|
@@ -62,7 +62,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItem
|
|
|
62
62
|
const Roblox_Inventory_Api_Models_CreatorModel = z.object({
|
|
63
63
|
id: z.number().int(),
|
|
64
64
|
name: z.string(),
|
|
65
|
-
type: z.enum(["User", "Group"]),
|
|
65
|
+
type: z.enum(["User", "Group", "Experience"]),
|
|
66
66
|
});
|
|
67
67
|
const Roblox_Inventory_Api_Models_PlaceModel = z.object({
|
|
68
68
|
universeId: z.number().int(),
|
|
@@ -310,6 +310,8 @@ export const getUsersUseridAssetsCollectibles = endpoint({
|
|
|
310
310
|
z.literal(88),
|
|
311
311
|
z.literal(89),
|
|
312
312
|
z.literal(90),
|
|
313
|
+
z.literal(91),
|
|
314
|
+
z.literal(92),
|
|
313
315
|
])
|
|
314
316
|
.optional(),
|
|
315
317
|
limit: z
|
|
@@ -56,7 +56,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_IItem
|
|
|
56
56
|
const Roblox_Inventory_Api_Models_CreatorModel = zod_1.z.object({
|
|
57
57
|
id: zod_1.z.number().int(),
|
|
58
58
|
name: zod_1.z.string(),
|
|
59
|
-
type: zod_1.z.enum(['User', 'Group']),
|
|
59
|
+
type: zod_1.z.enum(['User', 'Group', 'Experience']),
|
|
60
60
|
});
|
|
61
61
|
const Roblox_Inventory_Api_Models_PlaceModel = zod_1.z.object({
|
|
62
62
|
universeId: zod_1.z.number().int(),
|
|
@@ -302,6 +302,8 @@ exports.getUsersUseridAssetsCollectibles = (0, __1.endpoint)({
|
|
|
302
302
|
zod_1.z.literal(88),
|
|
303
303
|
zod_1.z.literal(89),
|
|
304
304
|
zod_1.z.literal(90),
|
|
305
|
+
zod_1.z.literal(91),
|
|
306
|
+
zod_1.z.literal(92),
|
|
305
307
|
])
|
|
306
308
|
.optional(),
|
|
307
309
|
limit: zod_1.z
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { endpoint } from '..';
|
|
3
|
-
|
|
4
|
-
const Roblox_Metrics_Api_ThumbnailLoadMetadataResponse = z.object({
|
|
5
|
-
logRatio: z.number(),
|
|
6
|
-
});
|
|
7
|
-
const Roblox_Metrics_Api_RecordBundleLoadRequest = z.object({
|
|
8
|
-
bundleUrl: z.string().url(),
|
|
9
|
-
bundleName: z.string(),
|
|
10
|
-
loadTimeInMilliseconds: z.number().int(),
|
|
11
|
-
cdnProviderName: z.string(),
|
|
12
|
-
loadState: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
13
|
-
bundleContentType: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
14
|
-
});
|
|
15
|
-
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
16
|
-
const Roblox_Metrics_Api_RecordThumbnailLoadRequest = z.object({
|
|
17
|
-
duration: z.number().int(),
|
|
18
|
-
loadState: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
19
|
-
thumbnailType: z.string(),
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @api POST https://metrics.roblox.com/v1/bundle-metrics/report
|
|
24
|
-
* @summary Records bundle load successes.
|
|
25
|
-
* @param body The Roblox.Metrics.Api.RecordBundleLoadRequest.
|
|
26
|
-
* @description Xsrf protection disabled because this endpoint is supposed to be used
|
|
27
|
-
to record static content. It's possible XSRF can't be retried if:
|
|
28
|
-
- The XSRF retry JavaScript fails to load (or fails to execute)
|
|
29
|
-
- CSS fails to load before JavaScript finishes loading.
|
|
30
|
-
*/
|
|
31
|
-
export const postBundleMetricsReport = endpoint({
|
|
32
|
-
method: 'POST',
|
|
33
|
-
path: '/v1/bundle-metrics/report',
|
|
34
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
35
|
-
requestFormat: 'json',
|
|
36
|
-
serializationMethod: {
|
|
37
|
-
body: {},
|
|
38
|
-
},
|
|
39
|
-
parameters: {},
|
|
40
|
-
body: Roblox_Metrics_Api_RecordBundleLoadRequest,
|
|
41
|
-
response: z.object({}),
|
|
42
|
-
errors: [
|
|
43
|
-
{
|
|
44
|
-
status: 400,
|
|
45
|
-
description: `1: The bundle url is invalid.`,
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @api POST https://metrics.roblox.com/v1/thumbnails/load
|
|
51
|
-
* @summary Records the time it takes for a thumbnail to get loaded in the UI.
|
|
52
|
-
* @param body The Roblox.Metrics.Api.RecordThumbnailLoadRequest.
|
|
53
|
-
*/
|
|
54
|
-
export const postThumbnailsLoad = endpoint({
|
|
55
|
-
method: 'POST',
|
|
56
|
-
path: '/v1/thumbnails/load',
|
|
57
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
58
|
-
requestFormat: 'json',
|
|
59
|
-
serializationMethod: {
|
|
60
|
-
body: {},
|
|
61
|
-
},
|
|
62
|
-
parameters: {},
|
|
63
|
-
body: Roblox_Metrics_Api_RecordThumbnailLoadRequest,
|
|
64
|
-
response: z.object({}),
|
|
65
|
-
errors: [
|
|
66
|
-
{
|
|
67
|
-
status: 400,
|
|
68
|
-
description: `2: A required parameter is missing from the request`,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
status: 403,
|
|
72
|
-
description: `0: Token Validation Failed`,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @api GET https://metrics.roblox.com/v1/thumbnails/metadata
|
|
78
|
-
* @summary Get metadata related to logging thumbnail load metrics.
|
|
79
|
-
e.g. ThumbnailLoadLoggingRatio
|
|
80
|
-
*/
|
|
81
|
-
export const getThumbnailsMetadata = endpoint({
|
|
82
|
-
method: 'GET',
|
|
83
|
-
path: '/v1/thumbnails/metadata',
|
|
84
|
-
baseUrl: 'https://metrics.roblox.com',
|
|
85
|
-
requestFormat: 'json',
|
|
86
|
-
response: z.object({ logRatio: z.number() }),
|
|
87
|
-
errors: [],
|
|
88
|
-
});
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
|
+
|
|
4
|
+
const Roblox_Metrics_Api_ThumbnailLoadMetadataResponse = z.object({
|
|
5
|
+
logRatio: z.number(),
|
|
6
|
+
});
|
|
7
|
+
const Roblox_Metrics_Api_RecordBundleLoadRequest = z.object({
|
|
8
|
+
bundleUrl: z.string().url(),
|
|
9
|
+
bundleName: z.string(),
|
|
10
|
+
loadTimeInMilliseconds: z.number().int(),
|
|
11
|
+
cdnProviderName: z.string(),
|
|
12
|
+
loadState: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
13
|
+
bundleContentType: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
14
|
+
});
|
|
15
|
+
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
16
|
+
const Roblox_Metrics_Api_RecordThumbnailLoadRequest = z.object({
|
|
17
|
+
duration: z.number().int(),
|
|
18
|
+
loadState: z.union([z.literal(0), z.literal(1), z.literal(2)]),
|
|
19
|
+
thumbnailType: z.string(),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @api POST https://metrics.roblox.com/v1/bundle-metrics/report
|
|
24
|
+
* @summary Records bundle load successes.
|
|
25
|
+
* @param body The Roblox.Metrics.Api.RecordBundleLoadRequest.
|
|
26
|
+
* @description Xsrf protection disabled because this endpoint is supposed to be used
|
|
27
|
+
to record static content. It's possible XSRF can't be retried if:
|
|
28
|
+
- The XSRF retry JavaScript fails to load (or fails to execute)
|
|
29
|
+
- CSS fails to load before JavaScript finishes loading.
|
|
30
|
+
*/
|
|
31
|
+
export const postBundleMetricsReport = endpoint({
|
|
32
|
+
method: 'POST',
|
|
33
|
+
path: '/v1/bundle-metrics/report',
|
|
34
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
35
|
+
requestFormat: 'json',
|
|
36
|
+
serializationMethod: {
|
|
37
|
+
body: {},
|
|
38
|
+
},
|
|
39
|
+
parameters: {},
|
|
40
|
+
body: Roblox_Metrics_Api_RecordBundleLoadRequest,
|
|
41
|
+
response: z.object({}),
|
|
42
|
+
errors: [
|
|
43
|
+
{
|
|
44
|
+
status: 400,
|
|
45
|
+
description: `1: The bundle url is invalid.`,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
* @api POST https://metrics.roblox.com/v1/thumbnails/load
|
|
51
|
+
* @summary Records the time it takes for a thumbnail to get loaded in the UI.
|
|
52
|
+
* @param body The Roblox.Metrics.Api.RecordThumbnailLoadRequest.
|
|
53
|
+
*/
|
|
54
|
+
export const postThumbnailsLoad = endpoint({
|
|
55
|
+
method: 'POST',
|
|
56
|
+
path: '/v1/thumbnails/load',
|
|
57
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
58
|
+
requestFormat: 'json',
|
|
59
|
+
serializationMethod: {
|
|
60
|
+
body: {},
|
|
61
|
+
},
|
|
62
|
+
parameters: {},
|
|
63
|
+
body: Roblox_Metrics_Api_RecordThumbnailLoadRequest,
|
|
64
|
+
response: z.object({}),
|
|
65
|
+
errors: [
|
|
66
|
+
{
|
|
67
|
+
status: 400,
|
|
68
|
+
description: `2: A required parameter is missing from the request`,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
status: 403,
|
|
72
|
+
description: `0: Token Validation Failed`,
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
});
|
|
76
|
+
/**
|
|
77
|
+
* @api GET https://metrics.roblox.com/v1/thumbnails/metadata
|
|
78
|
+
* @summary Get metadata related to logging thumbnail load metrics.
|
|
79
|
+
e.g. ThumbnailLoadLoggingRatio
|
|
80
|
+
*/
|
|
81
|
+
export const getThumbnailsMetadata = endpoint({
|
|
82
|
+
method: 'GET',
|
|
83
|
+
path: '/v1/thumbnails/metadata',
|
|
84
|
+
baseUrl: 'https://metrics.roblox.com',
|
|
85
|
+
requestFormat: 'json',
|
|
86
|
+
response: z.object({ logRatio: z.number() }),
|
|
87
|
+
errors: [],
|
|
88
|
+
});
|