rozod 6.5.0 → 6.6.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.
@@ -44,6 +44,26 @@ const Roblox_Groups_Api_GroupRoleResponse = z.object({
44
44
  description: z.string(),
45
45
  rank: z.number().int(),
46
46
  memberCount: z.number().int(),
47
+ isBase: z.boolean(),
48
+ color: z.enum([
49
+ "Invalid",
50
+ "Blue",
51
+ "Green",
52
+ "Purple",
53
+ "Yellow",
54
+ "Orange",
55
+ "Red",
56
+ "Magenta",
57
+ "Teal",
58
+ "Turquoise",
59
+ "Rust",
60
+ "Pistachio",
61
+ "Midnight",
62
+ "Lavender",
63
+ "Pink",
64
+ "Crimson",
65
+ "Plum",
66
+ ]),
47
67
  });
48
68
  const Roblox_Groups_Api_UserGroupRoleResponse = z.object({
49
69
  user: Roblox_Groups_Api_Models_Response_UserModel,
@@ -114,6 +134,29 @@ const Roblox_Groups_Client_EmoteSetModel = z.object({
114
134
  const Roblox_Groups_Client_GetGroupEmoteSetsResponse = z.object({
115
135
  emoteSets: z.array(Roblox_Groups_Client_EmoteSetModel),
116
136
  });
137
+ const Roblox_Groups_Api_GroupFeatureResponse = z.object({
138
+ feature: z.enum([
139
+ "Payouts",
140
+ "ContentUpload",
141
+ "GroupOwnershipTransfer",
142
+ "GameOwnershipTransfer",
143
+ ]),
144
+ isFeatureBlocked: z.boolean(),
145
+ expiration: z.string().datetime({ offset: true }),
146
+ });
147
+ const Roblox_Groups_Api_GetGroupFeaturesResponse = z.object({
148
+ isLocked: z.boolean(),
149
+ features: z.array(Roblox_Groups_Api_GroupFeatureResponse),
150
+ });
151
+ const Roblox_Groups_Api_SetFeaturesRequestModel = z.object({
152
+ Features: z.object({}),
153
+ });
154
+ const Roblox_Groups_Api_SetFeaturesResponseModel = z.object({
155
+ Updated: z.boolean(),
156
+ });
157
+ const Roblox_Groups_Api_HasGroupFeaturesBlockedResponse = z.object({
158
+ hasFeaturesBlocked: z.boolean(),
159
+ });
117
160
  const Roblox_Groups_Api_GroupJoinRequestResponse = z.object({
118
161
  requester: Roblox_Groups_Api_Models_Response_UserModel,
119
162
  created: z.string().datetime({ offset: true }),
@@ -159,6 +202,7 @@ const Roblox_Groups_Api_GroupManagementPermissionsModel = z.object({
159
202
  manageClan: z.boolean(),
160
203
  viewAuditLogs: z.boolean(),
161
204
  bypassSlowmode: z.boolean(),
205
+ viewCommunityAnalytics: z.boolean(),
162
206
  });
163
207
  const Roblox_Groups_Api_GroupEconomyPermissionsModel = z.object({
164
208
  spendGroupFunds: z.boolean(),
@@ -249,6 +293,9 @@ const Roblox_Groups_Api_PayoutRequest = z.object({
249
293
  Recipients: z.array(Roblox_Groups_Api_PayoutRecipientRequest),
250
294
  IdempotencyKey: z.string(),
251
295
  });
296
+ const Roblox_Groups_Api_OneTimePayoutResponse = z.object({
297
+ status: z.enum(["NotHeld", "Held"]),
298
+ });
252
299
  const Roblox_Groups_Api_GroupRelationshipsResponse = z.object({
253
300
  groupId: z.number().int(),
254
301
  relationshipType: z.enum(["Allies", "Enemies"]),
@@ -483,6 +530,26 @@ const Roblox_Groups_Api_GroupRoleDetailResponse = z.object({
483
530
  description: z.string(),
484
531
  rank: z.number().int(),
485
532
  memberCount: z.number().int(),
533
+ isBase: z.boolean(),
534
+ color: z.enum([
535
+ "Invalid",
536
+ "Blue",
537
+ "Green",
538
+ "Purple",
539
+ "Yellow",
540
+ "Orange",
541
+ "Red",
542
+ "Magenta",
543
+ "Teal",
544
+ "Turquoise",
545
+ "Rust",
546
+ "Pistachio",
547
+ "Midnight",
548
+ "Lavender",
549
+ "Pink",
550
+ "Crimson",
551
+ "Plum",
552
+ ]),
486
553
  });
487
554
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ =
488
555
  z.object({ data: z.array(Roblox_Groups_Api_GroupRoleDetailResponse) });
@@ -574,6 +641,7 @@ const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = z.object({
574
641
  name: z.string(),
575
642
  description: z.string(),
576
643
  rank: z.number().int(),
644
+ color: z.number().int(),
577
645
  });
578
646
  const Roblox_Groups_Api_PostGroupStatusRequest = z.object({
579
647
  message: z.string(),
@@ -1451,6 +1519,117 @@ export const getGroupsGroupidEmotes = endpoint({
1451
1519
  response: Roblox_Groups_Client_GetGroupEmoteSetsResponse,
1452
1520
  errors: [],
1453
1521
  });
1522
+ /**
1523
+ * @api GET https://groups.roblox.com/v1/groups/:groupId/features
1524
+ * @summary Gets the freeze status of all features and the lock status for a group.
1525
+ * @param groupId
1526
+ */
1527
+ export const getGroupsGroupidFeatures = endpoint({
1528
+ method: "GET",
1529
+ path: "/v1/groups/:groupId/features",
1530
+ baseUrl: "https://groups.roblox.com",
1531
+ requestFormat: "json",
1532
+ serializationMethod: {
1533
+ groupId: {
1534
+ style: "simple",
1535
+ },
1536
+ },
1537
+ parameters: {
1538
+ groupId: z.number().int(),
1539
+ },
1540
+ response: Roblox_Groups_Api_GetGroupFeaturesResponse,
1541
+ errors: [
1542
+ {
1543
+ status: 400,
1544
+ description: `1: Group is invalid or does not exist.`,
1545
+ },
1546
+ {
1547
+ status: 401,
1548
+ description: `0: Authorization has been denied for this request.`,
1549
+ },
1550
+ {
1551
+ status: 403,
1552
+ description: `23: Insufficient permissions to complete the request.
1553
+ 49: User is invalid or does not exist`,
1554
+ },
1555
+ ],
1556
+ });
1557
+ /**
1558
+ * @api PATCH https://groups.roblox.com/v1/groups/:groupId/features
1559
+ * @summary Sets the desired status of group features.
1560
+ Currently only removes active freezes for features set to Roblox.Groups.Api.FeatureStatus.On.
1561
+ * @param body
1562
+ * @param groupId
1563
+ */
1564
+ export const patchGroupsGroupidFeatures = endpoint({
1565
+ method: "PATCH",
1566
+ path: "/v1/groups/:groupId/features",
1567
+ baseUrl: "https://groups.roblox.com",
1568
+ requestFormat: "json",
1569
+ serializationMethod: {
1570
+ body: {},
1571
+ groupId: {
1572
+ style: "simple",
1573
+ },
1574
+ },
1575
+ parameters: {
1576
+ groupId: z.number().int(),
1577
+ },
1578
+ body: z.object({ Features: z.object({}) }),
1579
+ response: z.object({ Updated: z.boolean() }),
1580
+ errors: [
1581
+ {
1582
+ status: 400,
1583
+ description: `1: Group is invalid or does not exist.`,
1584
+ },
1585
+ {
1586
+ status: 401,
1587
+ description: `0: Authorization has been denied for this request.`,
1588
+ },
1589
+ {
1590
+ status: 403,
1591
+ description: `0: Token Validation Failed
1592
+ 23: Insufficient permissions to complete the request.
1593
+ 49: User is invalid or does not exist`,
1594
+ },
1595
+ ],
1596
+ });
1597
+ /**
1598
+ * @api GET https://groups.roblox.com/v1/groups/:groupId/features/status
1599
+ * @summary Checks whether a group has ANY feature disabled (includes feature freezes and group lock).
1600
+ Used to display a banner on Creator Hub/Studio to inform group members that some features may not be available.
1601
+ * @param groupId
1602
+ */
1603
+ export const getGroupsGroupidFeaturesStatus = endpoint({
1604
+ method: "GET",
1605
+ path: "/v1/groups/:groupId/features/status",
1606
+ baseUrl: "https://groups.roblox.com",
1607
+ requestFormat: "json",
1608
+ serializationMethod: {
1609
+ groupId: {
1610
+ style: "simple",
1611
+ },
1612
+ },
1613
+ parameters: {
1614
+ groupId: z.number().int(),
1615
+ },
1616
+ response: z.object({ hasFeaturesBlocked: z.boolean() }),
1617
+ errors: [
1618
+ {
1619
+ status: 400,
1620
+ description: `1: Group is invalid or does not exist.`,
1621
+ },
1622
+ {
1623
+ status: 401,
1624
+ description: `0: Authorization has been denied for this request.`,
1625
+ },
1626
+ {
1627
+ status: 403,
1628
+ description: `23: Insufficient permissions to complete the request.
1629
+ 49: User is invalid or does not exist`,
1630
+ },
1631
+ ],
1632
+ });
1454
1633
  /**
1455
1634
  * @api GET https://groups.roblox.com/v1/groups/:groupId/join-requests
1456
1635
  * @summary Gets a page of Group Join Requests for a group.
@@ -1991,7 +2170,7 @@ export const postGroupsGroupidPayouts = endpoint({
1991
2170
  groupId: z.number().int(),
1992
2171
  },
1993
2172
  body: Roblox_Groups_Api_PayoutRequest,
1994
- response: z.object({}),
2173
+ response: Roblox_Groups_Api_OneTimePayoutResponse,
1995
2174
  errors: [
1996
2175
  {
1997
2176
  status: 400,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getGroupsGroupidSettings = exports.postGroupsGroupidRolesetsCreate = exports.patchGroupsGroupidRolesetsRolesetid = exports.deleteGroupsGroupidRolesetsRolesetid = 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.getGroupsGroupidEmotes = exports.patchGroupsGroupidDescription = exports.getGroupsGroupidConfiguration = 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 = void 0;
3
+ exports.deleteGroupsGroupidRolesetsRolesetid = 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.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 = 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({
@@ -41,6 +41,26 @@ const Roblox_Groups_Api_GroupRoleResponse = zod_1.z.object({
41
41
  description: zod_1.z.string(),
42
42
  rank: zod_1.z.number().int(),
43
43
  memberCount: zod_1.z.number().int(),
44
+ isBase: zod_1.z.boolean(),
45
+ color: zod_1.z.enum([
46
+ 'Invalid',
47
+ 'Blue',
48
+ 'Green',
49
+ 'Purple',
50
+ 'Yellow',
51
+ 'Orange',
52
+ 'Red',
53
+ 'Magenta',
54
+ 'Teal',
55
+ 'Turquoise',
56
+ 'Rust',
57
+ 'Pistachio',
58
+ 'Midnight',
59
+ 'Lavender',
60
+ 'Pink',
61
+ 'Crimson',
62
+ 'Plum',
63
+ ]),
44
64
  });
45
65
  const Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z.object({
46
66
  user: Roblox_Groups_Api_Models_Response_UserModel,
@@ -108,6 +128,24 @@ const Roblox_Groups_Client_EmoteSetModel = zod_1.z.object({
108
128
  const Roblox_Groups_Client_GetGroupEmoteSetsResponse = zod_1.z.object({
109
129
  emoteSets: zod_1.z.array(Roblox_Groups_Client_EmoteSetModel),
110
130
  });
131
+ const Roblox_Groups_Api_GroupFeatureResponse = zod_1.z.object({
132
+ feature: zod_1.z.enum(['Payouts', 'ContentUpload', 'GroupOwnershipTransfer', 'GameOwnershipTransfer']),
133
+ isFeatureBlocked: zod_1.z.boolean(),
134
+ expiration: zod_1.z.string().datetime({ offset: true }),
135
+ });
136
+ const Roblox_Groups_Api_GetGroupFeaturesResponse = zod_1.z.object({
137
+ isLocked: zod_1.z.boolean(),
138
+ features: zod_1.z.array(Roblox_Groups_Api_GroupFeatureResponse),
139
+ });
140
+ const Roblox_Groups_Api_SetFeaturesRequestModel = zod_1.z.object({
141
+ Features: zod_1.z.object({}),
142
+ });
143
+ const Roblox_Groups_Api_SetFeaturesResponseModel = zod_1.z.object({
144
+ Updated: zod_1.z.boolean(),
145
+ });
146
+ const Roblox_Groups_Api_HasGroupFeaturesBlockedResponse = zod_1.z.object({
147
+ hasFeaturesBlocked: zod_1.z.boolean(),
148
+ });
111
149
  const Roblox_Groups_Api_GroupJoinRequestResponse = zod_1.z.object({
112
150
  requester: Roblox_Groups_Api_Models_Response_UserModel,
113
151
  created: zod_1.z.string().datetime({ offset: true }),
@@ -152,6 +190,7 @@ const Roblox_Groups_Api_GroupManagementPermissionsModel = zod_1.z.object({
152
190
  manageClan: zod_1.z.boolean(),
153
191
  viewAuditLogs: zod_1.z.boolean(),
154
192
  bypassSlowmode: zod_1.z.boolean(),
193
+ viewCommunityAnalytics: zod_1.z.boolean(),
155
194
  });
156
195
  const Roblox_Groups_Api_GroupEconomyPermissionsModel = zod_1.z.object({
157
196
  spendGroupFunds: zod_1.z.boolean(),
@@ -238,6 +277,9 @@ const Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
238
277
  Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
239
278
  IdempotencyKey: zod_1.z.string(),
240
279
  });
280
+ const Roblox_Groups_Api_OneTimePayoutResponse = zod_1.z.object({
281
+ status: zod_1.z.enum(['NotHeld', 'Held']),
282
+ });
241
283
  const Roblox_Groups_Api_GroupRelationshipsResponse = zod_1.z.object({
242
284
  groupId: zod_1.z.number().int(),
243
285
  relationshipType: zod_1.z.enum(['Allies', 'Enemies']),
@@ -454,6 +496,26 @@ const Roblox_Groups_Api_GroupRoleDetailResponse = zod_1.z.object({
454
496
  description: zod_1.z.string(),
455
497
  rank: zod_1.z.number().int(),
456
498
  memberCount: zod_1.z.number().int(),
499
+ isBase: zod_1.z.boolean(),
500
+ color: zod_1.z.enum([
501
+ 'Invalid',
502
+ 'Blue',
503
+ 'Green',
504
+ 'Purple',
505
+ 'Yellow',
506
+ 'Orange',
507
+ 'Red',
508
+ 'Magenta',
509
+ 'Teal',
510
+ 'Turquoise',
511
+ 'Rust',
512
+ 'Pistachio',
513
+ 'Midnight',
514
+ 'Lavender',
515
+ 'Pink',
516
+ 'Crimson',
517
+ 'Plum',
518
+ ]),
457
519
  });
458
520
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ = zod_1.z.object({
459
521
  data: zod_1.z.array(Roblox_Groups_Api_GroupRoleDetailResponse),
@@ -549,6 +611,7 @@ const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = zod_1.z.object({
549
611
  name: zod_1.z.string(),
550
612
  description: zod_1.z.string(),
551
613
  rank: zod_1.z.number().int(),
614
+ color: zod_1.z.number().int(),
552
615
  });
553
616
  const Roblox_Groups_Api_PostGroupStatusRequest = zod_1.z.object({
554
617
  message: zod_1.z.string(),
@@ -1422,6 +1485,117 @@ exports.getGroupsGroupidEmotes = (0, __1.endpoint)({
1422
1485
  response: Roblox_Groups_Client_GetGroupEmoteSetsResponse,
1423
1486
  errors: [],
1424
1487
  });
1488
+ /**
1489
+ * @api GET https://groups.roblox.com/v1/groups/:groupId/features
1490
+ * @summary Gets the freeze status of all features and the lock status for a group.
1491
+ * @param groupId
1492
+ */
1493
+ exports.getGroupsGroupidFeatures = (0, __1.endpoint)({
1494
+ method: 'GET',
1495
+ path: '/v1/groups/:groupId/features',
1496
+ baseUrl: 'https://groups.roblox.com',
1497
+ requestFormat: 'json',
1498
+ serializationMethod: {
1499
+ groupId: {
1500
+ style: 'simple',
1501
+ },
1502
+ },
1503
+ parameters: {
1504
+ groupId: zod_1.z.number().int(),
1505
+ },
1506
+ response: Roblox_Groups_Api_GetGroupFeaturesResponse,
1507
+ errors: [
1508
+ {
1509
+ status: 400,
1510
+ description: `1: Group is invalid or does not exist.`,
1511
+ },
1512
+ {
1513
+ status: 401,
1514
+ description: `0: Authorization has been denied for this request.`,
1515
+ },
1516
+ {
1517
+ status: 403,
1518
+ description: `23: Insufficient permissions to complete the request.
1519
+ 49: User is invalid or does not exist`,
1520
+ },
1521
+ ],
1522
+ });
1523
+ /**
1524
+ * @api PATCH https://groups.roblox.com/v1/groups/:groupId/features
1525
+ * @summary Sets the desired status of group features.
1526
+ Currently only removes active freezes for features set to Roblox.Groups.Api.FeatureStatus.On.
1527
+ * @param body
1528
+ * @param groupId
1529
+ */
1530
+ exports.patchGroupsGroupidFeatures = (0, __1.endpoint)({
1531
+ method: 'PATCH',
1532
+ path: '/v1/groups/:groupId/features',
1533
+ baseUrl: 'https://groups.roblox.com',
1534
+ requestFormat: 'json',
1535
+ serializationMethod: {
1536
+ body: {},
1537
+ groupId: {
1538
+ style: 'simple',
1539
+ },
1540
+ },
1541
+ parameters: {
1542
+ groupId: zod_1.z.number().int(),
1543
+ },
1544
+ body: zod_1.z.object({ Features: zod_1.z.object({}) }),
1545
+ response: zod_1.z.object({ Updated: zod_1.z.boolean() }),
1546
+ errors: [
1547
+ {
1548
+ status: 400,
1549
+ description: `1: Group is invalid or does not exist.`,
1550
+ },
1551
+ {
1552
+ status: 401,
1553
+ description: `0: Authorization has been denied for this request.`,
1554
+ },
1555
+ {
1556
+ status: 403,
1557
+ description: `0: Token Validation Failed
1558
+ 23: Insufficient permissions to complete the request.
1559
+ 49: User is invalid or does not exist`,
1560
+ },
1561
+ ],
1562
+ });
1563
+ /**
1564
+ * @api GET https://groups.roblox.com/v1/groups/:groupId/features/status
1565
+ * @summary Checks whether a group has ANY feature disabled (includes feature freezes and group lock).
1566
+ Used to display a banner on Creator Hub/Studio to inform group members that some features may not be available.
1567
+ * @param groupId
1568
+ */
1569
+ exports.getGroupsGroupidFeaturesStatus = (0, __1.endpoint)({
1570
+ method: 'GET',
1571
+ path: '/v1/groups/:groupId/features/status',
1572
+ baseUrl: 'https://groups.roblox.com',
1573
+ requestFormat: 'json',
1574
+ serializationMethod: {
1575
+ groupId: {
1576
+ style: 'simple',
1577
+ },
1578
+ },
1579
+ parameters: {
1580
+ groupId: zod_1.z.number().int(),
1581
+ },
1582
+ response: zod_1.z.object({ hasFeaturesBlocked: zod_1.z.boolean() }),
1583
+ errors: [
1584
+ {
1585
+ status: 400,
1586
+ description: `1: Group is invalid or does not exist.`,
1587
+ },
1588
+ {
1589
+ status: 401,
1590
+ description: `0: Authorization has been denied for this request.`,
1591
+ },
1592
+ {
1593
+ status: 403,
1594
+ description: `23: Insufficient permissions to complete the request.
1595
+ 49: User is invalid or does not exist`,
1596
+ },
1597
+ ],
1598
+ });
1425
1599
  /**
1426
1600
  * @api GET https://groups.roblox.com/v1/groups/:groupId/join-requests
1427
1601
  * @summary Gets a page of Group Join Requests for a group.
@@ -1959,7 +2133,7 @@ exports.postGroupsGroupidPayouts = (0, __1.endpoint)({
1959
2133
  groupId: zod_1.z.number().int(),
1960
2134
  },
1961
2135
  body: Roblox_Groups_Api_PayoutRequest,
1962
- response: zod_1.z.object({}),
2136
+ response: Roblox_Groups_Api_OneTimePayoutResponse,
1963
2137
  errors: [
1964
2138
  {
1965
2139
  status: 400,
@@ -108,6 +108,7 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
108
108
  "FaceMakeup",
109
109
  "LipMakeup",
110
110
  "EyeMakeup",
111
+ "VoxelFragment",
111
112
  ]),
112
113
  name: z.string(),
113
114
  });
@@ -181,6 +182,26 @@ const Roblox_Groups_Api_GroupRoleResponse = z.object({
181
182
  description: z.string(),
182
183
  rank: z.number().int(),
183
184
  memberCount: z.number().int(),
185
+ isBase: z.boolean(),
186
+ color: z.enum([
187
+ "Invalid",
188
+ "Blue",
189
+ "Green",
190
+ "Purple",
191
+ "Yellow",
192
+ "Orange",
193
+ "Red",
194
+ "Magenta",
195
+ "Teal",
196
+ "Turquoise",
197
+ "Rust",
198
+ "Pistachio",
199
+ "Midnight",
200
+ "Lavender",
201
+ "Pink",
202
+ "Crimson",
203
+ "Plum",
204
+ ]),
184
205
  });
185
206
  const Roblox_Groups_Api_UserGroupRoleResponse = z.object({
186
207
  user: Roblox_Groups_Api_Models_Response_UserModel,
@@ -111,6 +111,7 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
111
111
  'FaceMakeup',
112
112
  'LipMakeup',
113
113
  'EyeMakeup',
114
+ 'VoxelFragment',
114
115
  ]),
115
116
  name: zod_1.z.string(),
116
117
  });
@@ -171,6 +172,26 @@ const Roblox_Groups_Api_GroupRoleResponse = zod_1.z.object({
171
172
  description: zod_1.z.string(),
172
173
  rank: zod_1.z.number().int(),
173
174
  memberCount: zod_1.z.number().int(),
175
+ isBase: zod_1.z.boolean(),
176
+ color: zod_1.z.enum([
177
+ 'Invalid',
178
+ 'Blue',
179
+ 'Green',
180
+ 'Purple',
181
+ 'Yellow',
182
+ 'Orange',
183
+ 'Red',
184
+ 'Magenta',
185
+ 'Teal',
186
+ 'Turquoise',
187
+ 'Rust',
188
+ 'Pistachio',
189
+ 'Midnight',
190
+ 'Lavender',
191
+ 'Pink',
192
+ 'Crimson',
193
+ 'Plum',
194
+ ]),
174
195
  });
175
196
  const Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z.object({
176
197
  user: Roblox_Groups_Api_Models_Response_UserModel,