rozod 2.0.0 → 2.0.2

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.
Files changed (62) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +55 -15
  2. package/lib/endpoints/accountinformationv1.js +193 -128
  3. package/lib/endpoints/accountsettingsv1.d.ts +60 -6
  4. package/lib/endpoints/accountsettingsv1.js +204 -118
  5. package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
  6. package/lib/endpoints/assetdeliveryv1.js +442 -10
  7. package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
  8. package/lib/endpoints/assetdeliveryv2.js +443 -12
  9. package/lib/endpoints/authv1.d.ts +162 -36
  10. package/lib/endpoints/authv1.js +399 -201
  11. package/lib/endpoints/authv2.d.ts +108 -0
  12. package/lib/endpoints/authv2.js +353 -160
  13. package/lib/endpoints/authv3.d.ts +6 -0
  14. package/lib/endpoints/authv3.js +16 -8
  15. package/lib/endpoints/avatarv1.d.ts +94 -0
  16. package/lib/endpoints/avatarv1.js +239 -111
  17. package/lib/endpoints/avatarv2.d.ts +26 -0
  18. package/lib/endpoints/avatarv2.js +109 -59
  19. package/lib/endpoints/avatarv3.d.ts +20 -0
  20. package/lib/endpoints/avatarv3.js +83 -41
  21. package/lib/endpoints/badgesv1.d.ts +80 -3
  22. package/lib/endpoints/badgesv1.js +137 -51
  23. package/lib/endpoints/catalogv1.d.ts +183 -25
  24. package/lib/endpoints/catalogv1.js +307 -131
  25. package/lib/endpoints/chatv2.d.ts +105 -0
  26. package/lib/endpoints/chatv2.js +219 -114
  27. package/lib/endpoints/developv1.d.ts +411 -36
  28. package/lib/endpoints/developv1.js +707 -254
  29. package/lib/endpoints/developv2.d.ts +46 -0
  30. package/lib/endpoints/developv2.js +108 -36
  31. package/lib/endpoints/economyv1.js +7 -7
  32. package/lib/endpoints/friendsv1.d.ts +147 -0
  33. package/lib/endpoints/friendsv1.js +309 -114
  34. package/lib/endpoints/gamejoinv1.d.ts +2321 -0
  35. package/lib/endpoints/gamejoinv1.js +416 -0
  36. package/lib/endpoints/gamesv1.d.ts +319 -14
  37. package/lib/endpoints/gamesv1.js +531 -188
  38. package/lib/endpoints/gamesv2.d.ts +89 -0
  39. package/lib/endpoints/gamesv2.js +108 -19
  40. package/lib/endpoints/groupsv1.d.ts +602 -94
  41. package/lib/endpoints/groupsv1.js +1131 -456
  42. package/lib/endpoints/groupsv2.d.ts +33 -0
  43. package/lib/endpoints/groupsv2.js +74 -37
  44. package/lib/endpoints/inventoryv1.d.ts +108 -9
  45. package/lib/endpoints/inventoryv1.js +166 -45
  46. package/lib/endpoints/inventoryv2.d.ts +62 -1
  47. package/lib/endpoints/inventoryv2.js +91 -26
  48. package/lib/endpoints/presencev1.d.ts +14 -5
  49. package/lib/endpoints/presencev1.js +30 -21
  50. package/lib/endpoints/privatemessagesv1.d.ts +39 -0
  51. package/lib/endpoints/privatemessagesv1.js +90 -51
  52. package/lib/endpoints/thumbnailsv1.d.ts +309 -21
  53. package/lib/endpoints/thumbnailsv1.js +410 -63
  54. package/lib/endpoints/tradesv1.d.ts +51 -0
  55. package/lib/endpoints/tradesv1.js +148 -59
  56. package/lib/endpoints/translationsv1.d.ts +33 -0
  57. package/lib/endpoints/translationsv1.js +49 -14
  58. package/lib/endpoints/usersv1.d.ts +67 -0
  59. package/lib/endpoints/usersv1.js +138 -58
  60. package/lib/index.d.ts +4 -0
  61. package/lib/index.js +151 -240
  62. package/package.json +6 -3
@@ -1,22 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = 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 = exports.getGroupsGroupidRolesPermissions = exports.getGroupsGroupidRolesGuestPermissions = exports.getGroupsGroupidRolesRolesetidUsers = exports.patchGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRoles = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.getGroupsGroupidRelationshipsGrouprelationshiptype = exports.postGroupsGroupidPayoutsRecurring = exports.postGroupsGroupidPayouts = exports.getGroupsGroupidPayouts = exports.getGroupsGroupidPayoutRestriction = exports.getGroupsGroupidNameHistory = exports.patchGroupsGroupidName = exports.getGroupsGroupidMembership = exports.postGroupsGroupidJoinRequestsUsersUserid = exports.getGroupsGroupidJoinRequestsUsersUserid = exports.deleteGroupsGroupidJoinRequestsUsersUserid = exports.postGroupsGroupidJoinRequests = exports.getGroupsGroupidJoinRequests = exports.deleteGroupsGroupidJoinRequests = exports.patchGroupsGroupidDescription = exports.postGroupsGroupidClaimOwnership = exports.postGroupsGroupidChangeOwner = exports.getGroupsGroupidAuditLog = exports.getGroupsGroupid = void 0;
4
- exports.getUsersUseridGroupsRoles = exports.getUsersUseridGroupsPrimaryRole = exports.getUsersUseridFriendsGroupsRoles = exports.postUserGroupsPrimary = exports.deleteUserGroupsPrimary = exports.getUserGroupsPending = exports.getRoles = exports.getGroupsSearchMetadata = exports.getGroupsSearchLookup = exports.getGroupsSearch = exports.postGroupsPolicies = exports.getGroupsMetadata = exports.patchGroupsIcon = exports.postGroupsCreate = exports.getGroupsConfigurationMetadata = exports.deleteGroupsGroupidWallUsersUseridPosts = void 0;
5
- var zod_1 = require("zod");
6
- var Roblox_Groups_Api_Models_Response_UserModel = zod_1.z.object({
3
+ exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = 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 = 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.getGroupsGroupidNameHistory = exports.patchGroupsGroupidName = exports.getGroupsGroupidMembership = exports.deleteGroupsGroupidJoinRequestsUsersUserid = exports.postGroupsGroupidJoinRequestsUsersUserid = exports.getGroupsGroupidJoinRequestsUsersUserid = exports.deleteGroupsGroupidJoinRequests = exports.postGroupsGroupidJoinRequests = exports.getGroupsGroupidJoinRequests = exports.patchGroupsGroupidDescription = exports.postGroupsGroupidClaimOwnership = exports.postGroupsGroupidChangeOwner = exports.getGroupsGroupidAuditLog = exports.getGroupsGroupid = 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 = void 0;
5
+ const zod_1 = require("zod");
6
+ const File = typeof window === 'undefined' ? Object : window.File;
7
+ const Roblox_Groups_Api_Models_Response_UserModel = zod_1.z.object({
7
8
  buildersClubMembershipType: 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)]),
8
9
  hasVerifiedBadge: zod_1.z.boolean(),
9
10
  userId: zod_1.z.number().int(),
10
11
  username: zod_1.z.string(),
11
12
  displayName: zod_1.z.string(),
12
13
  });
13
- var Roblox_Groups_Api_ShoutResponse = zod_1.z.object({
14
+ const Roblox_Groups_Api_ShoutResponse = zod_1.z.object({
14
15
  body: zod_1.z.string(),
15
16
  poster: Roblox_Groups_Api_Models_Response_UserModel,
16
17
  created: zod_1.z.string().datetime(),
17
18
  updated: zod_1.z.string().datetime(),
18
19
  });
19
- var Roblox_Groups_Api_GroupDetailResponse = zod_1.z.object({
20
+ const Roblox_Groups_Api_GroupDetailResponse = zod_1.z.object({
20
21
  id: zod_1.z.number().int(),
21
22
  name: zod_1.z.string(),
22
23
  description: zod_1.z.string(),
@@ -28,59 +29,59 @@ var Roblox_Groups_Api_GroupDetailResponse = zod_1.z.object({
28
29
  isLocked: zod_1.z.boolean(),
29
30
  hasVerifiedBadge: zod_1.z.boolean(),
30
31
  });
31
- var Roblox_Groups_Api_GroupRoleResponse = zod_1.z.object({
32
+ const Roblox_Groups_Api_GroupRoleResponse = zod_1.z.object({
32
33
  id: zod_1.z.number().int(),
33
34
  name: zod_1.z.string(),
34
35
  description: zod_1.z.string(),
35
36
  rank: zod_1.z.number().int(),
36
37
  memberCount: zod_1.z.number().int(),
37
38
  });
38
- var Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z.object({
39
+ const Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z.object({
39
40
  user: Roblox_Groups_Api_Models_Response_UserModel,
40
41
  role: Roblox_Groups_Api_GroupRoleResponse,
41
42
  });
42
- var Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem = zod_1.z.object({
43
+ const Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem = zod_1.z.object({
43
44
  actor: Roblox_Groups_Api_UserGroupRoleResponse,
44
45
  actionType: zod_1.z.string(),
45
- description: zod_1.z.unknown(),
46
+ description: zod_1.z.object({}),
46
47
  created: zod_1.z.string().datetime(),
47
48
  });
48
- var Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_ = zod_1.z.object({
49
+ const Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_ = zod_1.z.object({
49
50
  previousPageCursor: zod_1.z.string(),
50
51
  nextPageCursor: zod_1.z.string(),
51
52
  data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem),
52
53
  });
53
- var Roblox_Groups_Api_MembersRequest = zod_1.z.object({
54
- UserIds: zod_1.z.array(zod_1.z.number()),
55
- });
56
- var Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
57
- var Roblox_Groups_Api_GroupJoinRequestResponse = zod_1.z.object({
54
+ const Roblox_Groups_Api_GroupJoinRequestResponse = zod_1.z.object({
58
55
  requester: Roblox_Groups_Api_Models_Response_UserModel,
59
56
  created: zod_1.z.string().datetime(),
60
57
  });
61
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ = zod_1.z.object({
58
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ = zod_1.z.object({
62
59
  previousPageCursor: zod_1.z.string(),
63
60
  nextPageCursor: zod_1.z.string(),
64
61
  data: zod_1.z.array(Roblox_Groups_Api_GroupJoinRequestResponse),
65
62
  });
66
- var Roblox_Groups_Api_GroupPostsPermissionsModel = zod_1.z.object({
63
+ const Roblox_Groups_Api_MembersRequest = zod_1.z.object({
64
+ UserIds: zod_1.z.array(zod_1.z.number()),
65
+ });
66
+ const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
67
+ const Roblox_Groups_Api_GroupPostsPermissionsModel = zod_1.z.object({
67
68
  viewWall: zod_1.z.boolean(),
68
69
  postToWall: zod_1.z.boolean(),
69
70
  deleteFromWall: zod_1.z.boolean(),
70
71
  viewStatus: zod_1.z.boolean(),
71
72
  postToStatus: zod_1.z.boolean(),
72
73
  });
73
- var Roblox_Groups_Api_GroupMembershipPermissionsModel = zod_1.z.object({
74
+ const Roblox_Groups_Api_GroupMembershipPermissionsModel = zod_1.z.object({
74
75
  changeRank: zod_1.z.boolean(),
75
76
  inviteMembers: zod_1.z.boolean(),
76
77
  removeMembers: zod_1.z.boolean(),
77
78
  });
78
- var Roblox_Groups_Api_GroupManagementPermissionsModel = zod_1.z.object({
79
+ const Roblox_Groups_Api_GroupManagementPermissionsModel = zod_1.z.object({
79
80
  manageRelationships: zod_1.z.boolean(),
80
81
  manageClan: zod_1.z.boolean(),
81
82
  viewAuditLogs: zod_1.z.boolean(),
82
83
  });
83
- var Roblox_Groups_Api_GroupEconomyPermissionsModel = zod_1.z.object({
84
+ const Roblox_Groups_Api_GroupEconomyPermissionsModel = zod_1.z.object({
84
85
  spendGroupFunds: zod_1.z.boolean(),
85
86
  advertiseGroup: zod_1.z.boolean(),
86
87
  createItems: zod_1.z.boolean(),
@@ -90,18 +91,18 @@ var Roblox_Groups_Api_GroupEconomyPermissionsModel = zod_1.z.object({
90
91
  viewGroupPayouts: zod_1.z.boolean(),
91
92
  viewAnalytics: zod_1.z.boolean(),
92
93
  });
93
- var Roblox_Groups_Api_GroupOpenCloudPermissionsModel = zod_1.z.object({
94
+ const Roblox_Groups_Api_GroupOpenCloudPermissionsModel = zod_1.z.object({
94
95
  useCloudAuthentication: zod_1.z.boolean(),
95
96
  administerCloudAuthentication: zod_1.z.boolean(),
96
97
  });
97
- var Roblox_Groups_Api_GroupPermissionsModel = zod_1.z.object({
98
+ const Roblox_Groups_Api_GroupPermissionsModel = zod_1.z.object({
98
99
  groupPostsPermissions: Roblox_Groups_Api_GroupPostsPermissionsModel,
99
100
  groupMembershipPermissions: Roblox_Groups_Api_GroupMembershipPermissionsModel,
100
101
  groupManagementPermissions: Roblox_Groups_Api_GroupManagementPermissionsModel,
101
102
  groupEconomyPermissions: Roblox_Groups_Api_GroupEconomyPermissionsModel,
102
103
  groupOpenCloudPermissions: Roblox_Groups_Api_GroupOpenCloudPermissionsModel,
103
104
  });
104
- var Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z.object({
105
+ const Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z.object({
105
106
  groupId: zod_1.z.number().int(),
106
107
  isPrimary: zod_1.z.boolean(),
107
108
  isPendingJoin: zod_1.z.boolean(),
@@ -112,87 +113,88 @@ var Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z.object({
112
113
  areEnemiesAllowed: zod_1.z.boolean(),
113
114
  canConfigure: zod_1.z.boolean(),
114
115
  });
115
- var Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = zod_1.z.object({
116
+ const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = zod_1.z.object({
116
117
  name: zod_1.z.string(),
117
118
  created: zod_1.z.string().datetime(),
118
119
  });
119
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_ = zod_1.z.object({
120
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_ = zod_1.z.object({
120
121
  previousPageCursor: zod_1.z.string(),
121
122
  nextPageCursor: zod_1.z.string(),
122
123
  data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem),
123
124
  });
124
- var Roblox_Groups_Api_GroupPayoutRestrictionResponse = zod_1.z.object({
125
+ const Roblox_Groups_Api_GroupPayoutRestrictionResponse = zod_1.z.object({
125
126
  canUseRecurringPayout: zod_1.z.boolean(),
126
127
  canUseOneTimePayout: zod_1.z.boolean(),
127
128
  });
128
- var Roblox_Groups_Api_GroupPayoutResponse = zod_1.z.object({
129
+ const Roblox_Groups_Api_GroupPayoutResponse = zod_1.z.object({
129
130
  user: Roblox_Groups_Api_Models_Response_UserModel,
130
131
  percentage: zod_1.z.number().int(),
131
132
  });
132
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ = zod_1.z.object({
133
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ = zod_1.z.object({
133
134
  data: zod_1.z.array(Roblox_Groups_Api_GroupPayoutResponse),
134
135
  });
135
- var Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z.object({
136
+ const Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z.object({
136
137
  recipientId: zod_1.z.number().int(),
137
138
  recipientType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
138
139
  amount: zod_1.z.number().int(),
139
140
  });
140
- var Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
141
+ const Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
141
142
  PayoutType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
142
143
  Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
143
144
  });
144
- var Roblox_Groups_Api_GroupRelationshipsResponse = zod_1.z.object({
145
+ const Roblox_Groups_Api_GroupRelationshipsResponse = zod_1.z.object({
145
146
  groupId: zod_1.z.number().int(),
146
147
  relationshipType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
147
148
  totalGroupCount: zod_1.z.number().int(),
148
149
  relatedGroups: zod_1.z.array(Roblox_Groups_Api_GroupDetailResponse),
149
150
  nextRowIndex: zod_1.z.number().int(),
150
151
  });
151
- var Roblox_Groups_Api_RelationshipsRequest = zod_1.z.object({
152
+ const Roblox_Groups_Api_RelationshipsRequest = zod_1.z.object({
152
153
  GroupIds: zod_1.z.array(zod_1.z.number()),
153
154
  });
154
- var Roblox_Groups_Api_GroupAllRolesResponse = zod_1.z.object({
155
+ const Roblox_Groups_Api_GroupAllRolesResponse = zod_1.z.object({
155
156
  groupId: zod_1.z.number().int(),
156
157
  roles: zod_1.z.array(Roblox_Groups_Api_GroupRoleResponse),
157
158
  });
158
- var Roblox_Groups_Api_GroupPermissionsResponse = zod_1.z.object({
159
+ const Roblox_Groups_Api_GroupPermissionsResponse = zod_1.z.object({
159
160
  groupId: zod_1.z.number().int(),
160
161
  role: Roblox_Groups_Api_GroupRoleResponse,
161
162
  permissions: Roblox_Groups_Api_GroupPermissionsModel,
162
163
  });
163
- var Roblox_Groups_Api_UpdatePermissionsRequest = zod_1.z.object({
164
- permissions: zod_1.z.object({
165
- DeleteFromWall: zod_1.z.boolean(),
166
- PostToWall: zod_1.z.boolean(),
167
- InviteMembers: zod_1.z.boolean(),
168
- PostToStatus: zod_1.z.boolean(),
169
- RemoveMembers: zod_1.z.boolean(),
170
- ViewStatus: zod_1.z.boolean(),
171
- ViewWall: zod_1.z.boolean(),
172
- ChangeRank: zod_1.z.boolean(),
173
- AdvertiseGroup: zod_1.z.boolean(),
174
- ManageRelationships: zod_1.z.boolean(),
175
- AddGroupPlaces: zod_1.z.boolean(),
176
- ViewAuditLogs: zod_1.z.boolean(),
177
- CreateItems: zod_1.z.boolean(),
178
- ManageItems: zod_1.z.boolean(),
179
- SpendGroupFunds: zod_1.z.boolean(),
180
- ManageClan: zod_1.z.boolean(),
181
- ManageGroupGames: zod_1.z.boolean(),
182
- UseCloudAuthentication: zod_1.z.boolean(),
183
- AdministerCloudAuthentication: zod_1.z.boolean(),
184
- ViewAnalytics: zod_1.z.boolean(),
185
- }),
186
- });
187
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ = zod_1.z.object({
164
+ const Roblox_Groups_Api_UpdatePermissionsRequest_permissions = zod_1.z.object({
165
+ DeleteFromWall: zod_1.z.boolean(),
166
+ PostToWall: zod_1.z.boolean(),
167
+ InviteMembers: zod_1.z.boolean(),
168
+ PostToStatus: zod_1.z.boolean(),
169
+ RemoveMembers: zod_1.z.boolean(),
170
+ ViewStatus: zod_1.z.boolean(),
171
+ ViewWall: zod_1.z.boolean(),
172
+ ChangeRank: zod_1.z.boolean(),
173
+ AdvertiseGroup: zod_1.z.boolean(),
174
+ ManageRelationships: zod_1.z.boolean(),
175
+ AddGroupPlaces: zod_1.z.boolean(),
176
+ ViewAuditLogs: zod_1.z.boolean(),
177
+ CreateItems: zod_1.z.boolean(),
178
+ ManageItems: zod_1.z.boolean(),
179
+ SpendGroupFunds: zod_1.z.boolean(),
180
+ ManageClan: zod_1.z.boolean(),
181
+ ManageGroupGames: zod_1.z.boolean(),
182
+ UseCloudAuthentication: zod_1.z.boolean(),
183
+ AdministerCloudAuthentication: zod_1.z.boolean(),
184
+ ViewAnalytics: zod_1.z.boolean(),
185
+ });
186
+ const Roblox_Groups_Api_UpdatePermissionsRequest = zod_1.z.object({
187
+ permissions: Roblox_Groups_Api_UpdatePermissionsRequest_permissions,
188
+ });
189
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ = zod_1.z.object({
188
190
  previousPageCursor: zod_1.z.string(),
189
191
  nextPageCursor: zod_1.z.string(),
190
192
  data: zod_1.z.array(Roblox_Groups_Api_Models_Response_UserModel),
191
193
  });
192
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_ = zod_1.z.object({
194
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_ = zod_1.z.object({
193
195
  data: zod_1.z.array(Roblox_Groups_Api_GroupPermissionsResponse),
194
196
  });
195
- var Roblox_Groups_Api_GroupSettingsResponse = zod_1.z.object({
197
+ const Roblox_Groups_Api_GroupSettingsResponse = zod_1.z.object({
196
198
  isApprovalRequired: zod_1.z.boolean(),
197
199
  isBuildersClubRequired: zod_1.z.boolean(),
198
200
  areEnemiesAllowed: zod_1.z.boolean(),
@@ -200,13 +202,13 @@ var Roblox_Groups_Api_GroupSettingsResponse = zod_1.z.object({
200
202
  areGroupGamesVisible: zod_1.z.boolean(),
201
203
  isGroupNameChangeEnabled: zod_1.z.boolean(),
202
204
  });
203
- var Roblox_Groups_Api_UpdateGroupSettingsRequest = zod_1.z.object({
205
+ const Roblox_Groups_Api_UpdateGroupSettingsRequest = zod_1.z.object({
204
206
  isApprovalRequired: zod_1.z.boolean(),
205
207
  areEnemiesAllowed: zod_1.z.boolean(),
206
208
  areGroupFundsVisible: zod_1.z.boolean(),
207
209
  areGroupGamesVisible: zod_1.z.boolean(),
208
210
  });
209
- var Roblox_Groups_Api_SocialLinkResponse = zod_1.z.object({
211
+ const Roblox_Groups_Api_SocialLinkResponse = zod_1.z.object({
210
212
  id: zod_1.z.number().int(),
211
213
  type: zod_1.z.union([
212
214
  zod_1.z.literal(0),
@@ -222,10 +224,10 @@ var Roblox_Groups_Api_SocialLinkResponse = zod_1.z.object({
222
224
  url: zod_1.z.string(),
223
225
  title: zod_1.z.string(),
224
226
  });
225
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_ = zod_1.z.object({
227
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_ = zod_1.z.object({
226
228
  data: zod_1.z.array(Roblox_Groups_Api_SocialLinkResponse),
227
229
  });
228
- var Roblox_Groups_Api_SocialLinkRequest = zod_1.z.object({
230
+ const Roblox_Groups_Api_SocialLinkRequest = zod_1.z.object({
229
231
  type: zod_1.z.union([
230
232
  zod_1.z.literal(0),
231
233
  zod_1.z.literal(1),
@@ -240,12 +242,12 @@ var Roblox_Groups_Api_SocialLinkRequest = zod_1.z.object({
240
242
  url: zod_1.z.string(),
241
243
  title: zod_1.z.string(),
242
244
  });
243
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ = zod_1.z.object({
245
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ = zod_1.z.object({
244
246
  previousPageCursor: zod_1.z.string(),
245
247
  nextPageCursor: zod_1.z.string(),
246
248
  data: zod_1.z.array(Roblox_Groups_Api_UserGroupRoleResponse),
247
249
  });
248
- var Roblox_Groups_Api_JoinGroupRequest = zod_1.z.object({
250
+ const Roblox_Groups_Api_JoinGroupRequest = zod_1.z.object({
249
251
  sessionId: zod_1.z.string(),
250
252
  redemptionToken: zod_1.z.string(),
251
253
  captchaId: zod_1.z.string(),
@@ -253,36 +255,36 @@ var Roblox_Groups_Api_JoinGroupRequest = zod_1.z.object({
253
255
  captchaProvider: zod_1.z.string(),
254
256
  challengeId: zod_1.z.string(),
255
257
  });
256
- var Roblox_Groups_Api_Models_Response_GroupWallPostModel = zod_1.z.object({
258
+ const Roblox_Groups_Api_Models_Response_GroupWallPostModel = zod_1.z.object({
257
259
  id: zod_1.z.number().int(),
258
260
  poster: Roblox_Groups_Api_Models_Response_UserModel,
259
261
  body: zod_1.z.string(),
260
262
  created: zod_1.z.string().datetime(),
261
263
  updated: zod_1.z.string().datetime(),
262
264
  });
263
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ = zod_1.z.object({
265
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ = zod_1.z.object({
264
266
  previousPageCursor: zod_1.z.string(),
265
267
  nextPageCursor: zod_1.z.string(),
266
268
  data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupWallPostModel),
267
269
  });
268
- var Roblox_Groups_Api_CreateWallPostRequest = zod_1.z.object({
270
+ const Roblox_Groups_Api_CreateWallPostRequest = zod_1.z.object({
269
271
  body: zod_1.z.string(),
270
272
  captchaId: zod_1.z.string(),
271
273
  captchaToken: zod_1.z.string(),
272
274
  captchaProvider: zod_1.z.string(),
273
275
  challengeId: zod_1.z.string(),
274
276
  });
275
- var Roblox_Groups_Api_GroupConfigurationResponse = zod_1.z.object({
277
+ const Roblox_Groups_Api_GroupConfigurationResponse = zod_1.z.object({
276
278
  nameMaxLength: zod_1.z.number().int(),
277
279
  descriptionMaxLength: zod_1.z.number().int(),
278
280
  iconMaxFileSizeMb: zod_1.z.number().int(),
279
281
  cost: zod_1.z.number().int(),
280
282
  isUsingTwoStepWebviewComponent: zod_1.z.boolean(),
281
283
  });
282
- var Roblox_Groups_Api_RecurringPayoutsConfigurationResponse = zod_1.z.object({
284
+ const Roblox_Groups_Api_RecurringPayoutsConfigurationResponse = zod_1.z.object({
283
285
  maxPayoutPartners: zod_1.z.number().int(),
284
286
  });
285
- var Roblox_Groups_Api_RoleConfigurationResponse = zod_1.z.object({
287
+ const Roblox_Groups_Api_RoleConfigurationResponse = zod_1.z.object({
286
288
  nameMaxLength: zod_1.z.number().int(),
287
289
  descriptionMaxLength: zod_1.z.number().int(),
288
290
  limit: zod_1.z.number().int(),
@@ -290,12 +292,12 @@ var Roblox_Groups_Api_RoleConfigurationResponse = zod_1.z.object({
290
292
  minRank: zod_1.z.number().int(),
291
293
  maxRank: zod_1.z.number().int(),
292
294
  });
293
- var Roblox_Groups_Api_GroupNameChangeConfigurationResponse = zod_1.z.object({
295
+ const Roblox_Groups_Api_GroupNameChangeConfigurationResponse = zod_1.z.object({
294
296
  cost: zod_1.z.number().int(),
295
297
  cooldownInDays: zod_1.z.number().int(),
296
298
  ownershipCooldownInDays: zod_1.z.number().int(),
297
299
  });
298
- var Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = zod_1.z.object({
300
+ const Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = zod_1.z.object({
299
301
  groupConfiguration: Roblox_Groups_Api_GroupConfigurationResponse,
300
302
  recurringPayoutsConfiguration: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
301
303
  roleConfiguration: Roblox_Groups_Api_RoleConfigurationResponse,
@@ -303,7 +305,7 @@ var Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = zod_1.z.object(
303
305
  isPremiumPayoutsEnabled: zod_1.z.boolean(),
304
306
  isDefaultEmblemPolicyEnabled: zod_1.z.boolean(),
305
307
  });
306
- var Roblox_Groups_Api_GroupsDisplayOptionsResponse = zod_1.z.object({
308
+ const Roblox_Groups_Api_GroupsDisplayOptionsResponse = zod_1.z.object({
307
309
  groupLimit: zod_1.z.number().int(),
308
310
  currentGroupCount: zod_1.z.number().int(),
309
311
  groupStatusMaxLength: zod_1.z.number().int(),
@@ -314,7 +316,7 @@ var Roblox_Groups_Api_GroupsDisplayOptionsResponse = zod_1.z.object({
314
316
  isGroupDetailsPolicyEnabled: zod_1.z.boolean(),
315
317
  showPreviousGroupNames: zod_1.z.boolean(),
316
318
  });
317
- var Roblox_Groups_Api_GroupSearchResponseItem = zod_1.z.object({
319
+ const Roblox_Groups_Api_GroupSearchResponseItem = zod_1.z.object({
318
320
  id: zod_1.z.number().int(),
319
321
  name: zod_1.z.string(),
320
322
  description: zod_1.z.string(),
@@ -325,26 +327,26 @@ var Roblox_Groups_Api_GroupSearchResponseItem = zod_1.z.object({
325
327
  updated: zod_1.z.string().datetime(),
326
328
  hasVerifiedBadge: zod_1.z.boolean(),
327
329
  });
328
- var Roblox_Groups_Api_GroupSearchPageResponse = zod_1.z.object({
330
+ const Roblox_Groups_Api_GroupSearchPageResponse = zod_1.z.object({
329
331
  keyword: zod_1.z.string(),
330
332
  previousPageCursor: zod_1.z.string(),
331
333
  nextPageCursor: zod_1.z.string(),
332
334
  data: zod_1.z.array(Roblox_Groups_Api_GroupSearchResponseItem),
333
335
  });
334
- var Roblox_Web_Responses_Groups_GroupBasicResponse = zod_1.z.object({
336
+ const Roblox_Web_Responses_Groups_GroupBasicResponse = zod_1.z.object({
335
337
  id: zod_1.z.number().int(),
336
338
  name: zod_1.z.string(),
337
339
  memberCount: zod_1.z.number().int(),
338
340
  hasVerifiedBadge: zod_1.z.boolean(),
339
341
  });
340
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ = zod_1.z.object({
342
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ = zod_1.z.object({
341
343
  data: zod_1.z.array(Roblox_Web_Responses_Groups_GroupBasicResponse),
342
344
  });
343
- var Roblox_Groups_Api_GroupSearchMetadataResponse = zod_1.z.object({
345
+ const Roblox_Groups_Api_GroupSearchMetadataResponse = zod_1.z.object({
344
346
  SuggestedGroupKeywords: zod_1.z.array(zod_1.z.string()),
345
347
  ShowFriendsGroupsSort: zod_1.z.boolean(),
346
348
  });
347
- var Roblox_Groups_Api_GroupRoleDetailResponse = zod_1.z.object({
349
+ const Roblox_Groups_Api_GroupRoleDetailResponse = zod_1.z.object({
348
350
  groupId: zod_1.z.number().int(),
349
351
  id: zod_1.z.number().int(),
350
352
  name: zod_1.z.string(),
@@ -352,49 +354,49 @@ var Roblox_Groups_Api_GroupRoleDetailResponse = zod_1.z.object({
352
354
  rank: zod_1.z.number().int(),
353
355
  memberCount: zod_1.z.number().int(),
354
356
  });
355
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ = zod_1.z.object({
357
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ = zod_1.z.object({
356
358
  data: zod_1.z.array(Roblox_Groups_Api_GroupRoleDetailResponse),
357
359
  });
358
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_ = zod_1.z.object({
360
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_ = zod_1.z.object({
359
361
  data: zod_1.z.array(Roblox_Groups_Api_GroupDetailResponse),
360
362
  });
361
- var Roblox_Groups_Api_GroupMembershipDetailResponse = zod_1.z.object({
363
+ const Roblox_Groups_Api_GroupMembershipDetailResponse = zod_1.z.object({
362
364
  group: Roblox_Groups_Api_GroupDetailResponse,
363
365
  role: Roblox_Groups_Api_GroupRoleResponse,
364
366
  isPrimaryGroup: zod_1.z.boolean(),
365
367
  });
366
- var Roblox_Groups_Api_UserGroupMembershipResponse = zod_1.z.object({
368
+ const Roblox_Groups_Api_UserGroupMembershipResponse = zod_1.z.object({
367
369
  user: Roblox_Groups_Api_Models_Response_UserModel,
368
370
  groups: zod_1.z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
369
371
  });
370
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ = zod_1.z.object({
372
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ = zod_1.z.object({
371
373
  data: zod_1.z.array(Roblox_Groups_Api_UserGroupMembershipResponse),
372
374
  });
373
- var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_ = zod_1.z.object({
375
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_ = zod_1.z.object({
374
376
  data: zod_1.z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
375
377
  });
376
- var Roblox_Groups_Api_ChangeOwnerRequest = zod_1.z.object({
378
+ const Roblox_Groups_Api_ChangeOwnerRequest = zod_1.z.object({
377
379
  userId: zod_1.z.number().int(),
378
380
  });
379
- var Roblox_Groups_Api_Models_Request_CreateRoleSetRequest = zod_1.z.object({
381
+ const Roblox_Groups_Api_Models_Request_CreateRoleSetRequest = zod_1.z.object({
380
382
  name: zod_1.z.string(),
381
383
  description: zod_1.z.string(),
382
384
  rank: zod_1.z.number().int(),
383
385
  usingGroupFunds: zod_1.z.boolean(),
384
386
  });
385
- var postGroupsCreate_Body = zod_1.z.object({
387
+ const groups_create_body = zod_1.z.object({
386
388
  name: zod_1.z.string(),
387
389
  description: zod_1.z.string(),
388
390
  publicGroup: zod_1.z.boolean(),
389
391
  buildersClubMembersOnly: zod_1.z.boolean(),
390
- Files: zod_1.z.unknown(),
392
+ Files: zod_1.z.instanceof(File),
391
393
  });
392
- var Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = zod_1.z.object({
394
+ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = zod_1.z.object({
393
395
  id: zod_1.z.number().int(),
394
396
  type: zod_1.z.literal(0),
395
397
  name: zod_1.z.string(),
396
398
  });
397
- var Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z.object({
399
+ const Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z.object({
398
400
  id: zod_1.z.number().int(),
399
401
  name: zod_1.z.string(),
400
402
  description: zod_1.z.string(),
@@ -403,117 +405,120 @@ var Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z.object({
403
405
  created: zod_1.z.string().datetime(),
404
406
  hasVerifiedBadge: zod_1.z.boolean(),
405
407
  });
406
- var Roblox_Groups_Api_GroupPolicyRequest = zod_1.z.object({
408
+ const Roblox_Groups_Api_GroupPolicyRequest = zod_1.z.object({
407
409
  groupIds: zod_1.z.array(zod_1.z.number()),
408
410
  });
409
- var Roblox_Groups_Api_GroupPolicyResponse = zod_1.z.object({
411
+ const Roblox_Groups_Api_GroupPolicyResponse = zod_1.z.object({
410
412
  canViewGroup: zod_1.z.boolean(),
411
413
  groupId: zod_1.z.number().int(),
412
414
  });
413
- var Roblox_Groups_Api_GroupPoliciesResponse = zod_1.z.object({
415
+ const Roblox_Groups_Api_GroupPoliciesResponse = zod_1.z.object({
414
416
  groups: zod_1.z.array(Roblox_Groups_Api_GroupPolicyResponse),
415
417
  });
416
- var Roblox_Groups_Api_PrimaryGroupRequest = zod_1.z.object({
418
+ const Roblox_Groups_Api_PrimaryGroupRequest = zod_1.z.object({
417
419
  groupId: zod_1.z.number().int(),
418
420
  });
419
- var Roblox_Groups_Api_UpdateGroupDescriptionRequest = zod_1.z.object({
421
+ const Roblox_Groups_Api_UpdateGroupDescriptionRequest = zod_1.z.object({
420
422
  description: zod_1.z.string(),
421
423
  });
422
- var Roblox_Groups_Api_GroupDescriptionResponse = zod_1.z.object({
424
+ const Roblox_Groups_Api_GroupDescriptionResponse = zod_1.z.object({
423
425
  newDescription: zod_1.z.string(),
424
426
  });
425
- var Roblox_Groups_Api_UpdateGroupNameRequest = zod_1.z.object({ name: zod_1.z.string() });
426
- var Roblox_Groups_Api_UpdateGroupNameResponse = zod_1.z.object({
427
+ const Roblox_Groups_Api_UpdateGroupNameRequest = zod_1.z.object({ name: zod_1.z.string() });
428
+ const Roblox_Groups_Api_UpdateGroupNameResponse = zod_1.z.object({
427
429
  newName: zod_1.z.string(),
428
430
  });
429
- var Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = zod_1.z.object({
431
+ const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = zod_1.z.object({
430
432
  name: zod_1.z.string(),
431
433
  description: zod_1.z.string(),
432
434
  rank: zod_1.z.number().int(),
433
435
  });
434
- var Roblox_Groups_Api_PostGroupStatusRequest = zod_1.z.object({
436
+ const Roblox_Groups_Api_PostGroupStatusRequest = zod_1.z.object({
435
437
  message: zod_1.z.string(),
436
438
  });
437
- var Roblox_Groups_Api_UpdateUserRoleRequest = zod_1.z.object({
439
+ const Roblox_Groups_Api_UpdateUserRoleRequest = zod_1.z.object({
438
440
  roleId: zod_1.z.number().int(),
439
441
  });
440
- var schemas = {
441
- Roblox_Groups_Api_Models_Response_UserModel: Roblox_Groups_Api_Models_Response_UserModel,
442
- Roblox_Groups_Api_ShoutResponse: Roblox_Groups_Api_ShoutResponse,
443
- Roblox_Groups_Api_GroupDetailResponse: Roblox_Groups_Api_GroupDetailResponse,
444
- Roblox_Groups_Api_GroupRoleResponse: Roblox_Groups_Api_GroupRoleResponse,
445
- Roblox_Groups_Api_UserGroupRoleResponse: Roblox_Groups_Api_UserGroupRoleResponse,
446
- Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem: Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem,
447
- Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_: Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
448
- Roblox_Groups_Api_MembersRequest: Roblox_Groups_Api_MembersRequest,
449
- Roblox_Web_WebAPI_ApiEmptyResponseModel: Roblox_Web_WebAPI_ApiEmptyResponseModel,
450
- Roblox_Groups_Api_GroupJoinRequestResponse: Roblox_Groups_Api_GroupJoinRequestResponse,
451
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
452
- Roblox_Groups_Api_GroupPostsPermissionsModel: Roblox_Groups_Api_GroupPostsPermissionsModel,
453
- Roblox_Groups_Api_GroupMembershipPermissionsModel: Roblox_Groups_Api_GroupMembershipPermissionsModel,
454
- Roblox_Groups_Api_GroupManagementPermissionsModel: Roblox_Groups_Api_GroupManagementPermissionsModel,
455
- Roblox_Groups_Api_GroupEconomyPermissionsModel: Roblox_Groups_Api_GroupEconomyPermissionsModel,
456
- Roblox_Groups_Api_GroupOpenCloudPermissionsModel: Roblox_Groups_Api_GroupOpenCloudPermissionsModel,
457
- Roblox_Groups_Api_GroupPermissionsModel: Roblox_Groups_Api_GroupPermissionsModel,
458
- Roblox_Groups_Api_GroupMembershipMetadataResponse: Roblox_Groups_Api_GroupMembershipMetadataResponse,
459
- Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem: Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem,
460
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
461
- Roblox_Groups_Api_GroupPayoutRestrictionResponse: Roblox_Groups_Api_GroupPayoutRestrictionResponse,
462
- Roblox_Groups_Api_GroupPayoutResponse: Roblox_Groups_Api_GroupPayoutResponse,
463
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
464
- Roblox_Groups_Api_PayoutRecipientRequest: Roblox_Groups_Api_PayoutRecipientRequest,
465
- Roblox_Groups_Api_PayoutRequest: Roblox_Groups_Api_PayoutRequest,
466
- Roblox_Groups_Api_GroupRelationshipsResponse: Roblox_Groups_Api_GroupRelationshipsResponse,
467
- Roblox_Groups_Api_RelationshipsRequest: Roblox_Groups_Api_RelationshipsRequest,
468
- Roblox_Groups_Api_GroupAllRolesResponse: Roblox_Groups_Api_GroupAllRolesResponse,
469
- Roblox_Groups_Api_GroupPermissionsResponse: Roblox_Groups_Api_GroupPermissionsResponse,
470
- Roblox_Groups_Api_UpdatePermissionsRequest: Roblox_Groups_Api_UpdatePermissionsRequest,
471
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
472
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
473
- Roblox_Groups_Api_GroupSettingsResponse: Roblox_Groups_Api_GroupSettingsResponse,
474
- Roblox_Groups_Api_UpdateGroupSettingsRequest: Roblox_Groups_Api_UpdateGroupSettingsRequest,
475
- Roblox_Groups_Api_SocialLinkResponse: Roblox_Groups_Api_SocialLinkResponse,
476
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
477
- Roblox_Groups_Api_SocialLinkRequest: Roblox_Groups_Api_SocialLinkRequest,
478
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
479
- Roblox_Groups_Api_JoinGroupRequest: Roblox_Groups_Api_JoinGroupRequest,
480
- Roblox_Groups_Api_Models_Response_GroupWallPostModel: Roblox_Groups_Api_Models_Response_GroupWallPostModel,
481
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
482
- Roblox_Groups_Api_CreateWallPostRequest: Roblox_Groups_Api_CreateWallPostRequest,
483
- Roblox_Groups_Api_GroupConfigurationResponse: Roblox_Groups_Api_GroupConfigurationResponse,
484
- Roblox_Groups_Api_RecurringPayoutsConfigurationResponse: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
485
- Roblox_Groups_Api_RoleConfigurationResponse: Roblox_Groups_Api_RoleConfigurationResponse,
486
- Roblox_Groups_Api_GroupNameChangeConfigurationResponse: Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
487
- Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse: Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
488
- Roblox_Groups_Api_GroupsDisplayOptionsResponse: Roblox_Groups_Api_GroupsDisplayOptionsResponse,
489
- Roblox_Groups_Api_GroupSearchResponseItem: Roblox_Groups_Api_GroupSearchResponseItem,
490
- Roblox_Groups_Api_GroupSearchPageResponse: Roblox_Groups_Api_GroupSearchPageResponse,
491
- Roblox_Web_Responses_Groups_GroupBasicResponse: Roblox_Web_Responses_Groups_GroupBasicResponse,
492
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
493
- Roblox_Groups_Api_GroupSearchMetadataResponse: Roblox_Groups_Api_GroupSearchMetadataResponse,
494
- Roblox_Groups_Api_GroupRoleDetailResponse: Roblox_Groups_Api_GroupRoleDetailResponse,
495
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
496
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
497
- Roblox_Groups_Api_GroupMembershipDetailResponse: Roblox_Groups_Api_GroupMembershipDetailResponse,
498
- Roblox_Groups_Api_UserGroupMembershipResponse: Roblox_Groups_Api_UserGroupMembershipResponse,
499
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
500
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
501
- Roblox_Groups_Api_ChangeOwnerRequest: Roblox_Groups_Api_ChangeOwnerRequest,
502
- Roblox_Groups_Api_Models_Request_CreateRoleSetRequest: Roblox_Groups_Api_Models_Request_CreateRoleSetRequest,
503
- postGroupsCreate_Body: postGroupsCreate_Body,
504
- Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
505
- Roblox_Web_Responses_Groups_GroupResponseV2: Roblox_Web_Responses_Groups_GroupResponseV2,
506
- Roblox_Groups_Api_GroupPolicyRequest: Roblox_Groups_Api_GroupPolicyRequest,
507
- Roblox_Groups_Api_GroupPolicyResponse: Roblox_Groups_Api_GroupPolicyResponse,
508
- Roblox_Groups_Api_GroupPoliciesResponse: Roblox_Groups_Api_GroupPoliciesResponse,
509
- Roblox_Groups_Api_PrimaryGroupRequest: Roblox_Groups_Api_PrimaryGroupRequest,
510
- Roblox_Groups_Api_UpdateGroupDescriptionRequest: Roblox_Groups_Api_UpdateGroupDescriptionRequest,
511
- Roblox_Groups_Api_GroupDescriptionResponse: Roblox_Groups_Api_GroupDescriptionResponse,
512
- Roblox_Groups_Api_UpdateGroupNameRequest: Roblox_Groups_Api_UpdateGroupNameRequest,
513
- Roblox_Groups_Api_UpdateGroupNameResponse: Roblox_Groups_Api_UpdateGroupNameResponse,
514
- Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest: Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest,
515
- Roblox_Groups_Api_PostGroupStatusRequest: Roblox_Groups_Api_PostGroupStatusRequest,
516
- Roblox_Groups_Api_UpdateUserRoleRequest: Roblox_Groups_Api_UpdateUserRoleRequest,
442
+ const groups_icon_body = zod_1.z.object({ Files: zod_1.z.instanceof(File) });
443
+ const schemas = {
444
+ Roblox_Groups_Api_Models_Response_UserModel,
445
+ Roblox_Groups_Api_ShoutResponse,
446
+ Roblox_Groups_Api_GroupDetailResponse,
447
+ Roblox_Groups_Api_GroupRoleResponse,
448
+ Roblox_Groups_Api_UserGroupRoleResponse,
449
+ Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem,
450
+ Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
451
+ Roblox_Groups_Api_GroupJoinRequestResponse,
452
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
453
+ Roblox_Groups_Api_MembersRequest,
454
+ Roblox_Web_WebAPI_ApiEmptyResponseModel,
455
+ Roblox_Groups_Api_GroupPostsPermissionsModel,
456
+ Roblox_Groups_Api_GroupMembershipPermissionsModel,
457
+ Roblox_Groups_Api_GroupManagementPermissionsModel,
458
+ Roblox_Groups_Api_GroupEconomyPermissionsModel,
459
+ Roblox_Groups_Api_GroupOpenCloudPermissionsModel,
460
+ Roblox_Groups_Api_GroupPermissionsModel,
461
+ Roblox_Groups_Api_GroupMembershipMetadataResponse,
462
+ Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem,
463
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
464
+ Roblox_Groups_Api_GroupPayoutRestrictionResponse,
465
+ Roblox_Groups_Api_GroupPayoutResponse,
466
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
467
+ Roblox_Groups_Api_PayoutRecipientRequest,
468
+ Roblox_Groups_Api_PayoutRequest,
469
+ Roblox_Groups_Api_GroupRelationshipsResponse,
470
+ Roblox_Groups_Api_RelationshipsRequest,
471
+ Roblox_Groups_Api_GroupAllRolesResponse,
472
+ Roblox_Groups_Api_GroupPermissionsResponse,
473
+ Roblox_Groups_Api_UpdatePermissionsRequest_permissions,
474
+ Roblox_Groups_Api_UpdatePermissionsRequest,
475
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
476
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
477
+ Roblox_Groups_Api_GroupSettingsResponse,
478
+ Roblox_Groups_Api_UpdateGroupSettingsRequest,
479
+ Roblox_Groups_Api_SocialLinkResponse,
480
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
481
+ Roblox_Groups_Api_SocialLinkRequest,
482
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
483
+ Roblox_Groups_Api_JoinGroupRequest,
484
+ Roblox_Groups_Api_Models_Response_GroupWallPostModel,
485
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
486
+ Roblox_Groups_Api_CreateWallPostRequest,
487
+ Roblox_Groups_Api_GroupConfigurationResponse,
488
+ Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
489
+ Roblox_Groups_Api_RoleConfigurationResponse,
490
+ Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
491
+ Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
492
+ Roblox_Groups_Api_GroupsDisplayOptionsResponse,
493
+ Roblox_Groups_Api_GroupSearchResponseItem,
494
+ Roblox_Groups_Api_GroupSearchPageResponse,
495
+ Roblox_Web_Responses_Groups_GroupBasicResponse,
496
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
497
+ Roblox_Groups_Api_GroupSearchMetadataResponse,
498
+ Roblox_Groups_Api_GroupRoleDetailResponse,
499
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
500
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
501
+ Roblox_Groups_Api_GroupMembershipDetailResponse,
502
+ Roblox_Groups_Api_UserGroupMembershipResponse,
503
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
504
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
505
+ Roblox_Groups_Api_ChangeOwnerRequest,
506
+ Roblox_Groups_Api_Models_Request_CreateRoleSetRequest,
507
+ groups_create_body,
508
+ Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
509
+ Roblox_Web_Responses_Groups_GroupResponseV2,
510
+ Roblox_Groups_Api_GroupPolicyRequest,
511
+ Roblox_Groups_Api_GroupPolicyResponse,
512
+ Roblox_Groups_Api_GroupPoliciesResponse,
513
+ Roblox_Groups_Api_PrimaryGroupRequest,
514
+ Roblox_Groups_Api_UpdateGroupDescriptionRequest,
515
+ Roblox_Groups_Api_GroupDescriptionResponse,
516
+ Roblox_Groups_Api_UpdateGroupNameRequest,
517
+ Roblox_Groups_Api_UpdateGroupNameResponse,
518
+ Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest,
519
+ Roblox_Groups_Api_PostGroupStatusRequest,
520
+ Roblox_Groups_Api_UpdateUserRoleRequest,
521
+ groups_icon_body,
517
522
  };
518
523
  /**
519
524
  * @api get https://groups.roblox.com/v1/groups/:groupId
@@ -524,6 +529,11 @@ exports.getGroupsGroupid = {
524
529
  path: '/v1/groups/:groupId',
525
530
  baseUrl: 'https://groups.roblox.com',
526
531
  requestFormat: 'json',
532
+ serializationMethod: {
533
+ groupId: {
534
+ style: 'simple',
535
+ },
536
+ },
527
537
  parameters: {
528
538
  groupId: zod_1.z.number().int(),
529
539
  },
@@ -531,7 +541,7 @@ exports.getGroupsGroupid = {
531
541
  errors: [
532
542
  {
533
543
  status: 400,
534
- description: "1: Group is invalid or does not exist.",
544
+ description: `1: Group is invalid or does not exist.`,
535
545
  schema: zod_1.z.void(),
536
546
  },
537
547
  ],
@@ -550,6 +560,31 @@ exports.getGroupsGroupidAuditLog = {
550
560
  path: '/v1/groups/:groupId/audit-log',
551
561
  baseUrl: 'https://groups.roblox.com',
552
562
  requestFormat: 'json',
563
+ serializationMethod: {
564
+ groupId: {
565
+ style: 'simple',
566
+ },
567
+ actionType: {
568
+ style: 'form',
569
+ explode: true,
570
+ },
571
+ userId: {
572
+ style: 'form',
573
+ explode: true,
574
+ },
575
+ limit: {
576
+ style: 'form',
577
+ explode: true,
578
+ },
579
+ cursor: {
580
+ style: 'form',
581
+ explode: true,
582
+ },
583
+ sortOrder: {
584
+ style: 'form',
585
+ explode: true,
586
+ },
587
+ },
553
588
  parameters: {
554
589
  groupId: zod_1.z.number().int(),
555
590
  actionType: zod_1.z
@@ -612,17 +647,17 @@ exports.getGroupsGroupidAuditLog = {
612
647
  errors: [
613
648
  {
614
649
  status: 400,
615
- description: "1: Group is invalid or does not exist.",
650
+ description: `1: Group is invalid or does not exist.`,
616
651
  schema: zod_1.z.void(),
617
652
  },
618
653
  {
619
654
  status: 401,
620
- description: "0: Authorization has been denied for this request.",
655
+ description: `0: Authorization has been denied for this request.`,
621
656
  schema: zod_1.z.void(),
622
657
  },
623
658
  {
624
659
  status: 403,
625
- description: "23: Insufficient permissions to complete the request.",
660
+ description: `23: Insufficient permissions to complete the request.`,
626
661
  schema: zod_1.z.void(),
627
662
  },
628
663
  ],
@@ -637,6 +672,12 @@ exports.postGroupsGroupidChangeOwner = {
637
672
  path: '/v1/groups/:groupId/change-owner',
638
673
  baseUrl: 'https://groups.roblox.com',
639
674
  requestFormat: 'json',
675
+ serializationMethod: {
676
+ body: {},
677
+ groupId: {
678
+ style: 'simple',
679
+ },
680
+ },
640
681
  parameters: {
641
682
  body: zod_1.z.object({ userId: zod_1.z.number().int() }),
642
683
  groupId: zod_1.z.number().int(),
@@ -645,17 +686,22 @@ exports.postGroupsGroupidChangeOwner = {
645
686
  errors: [
646
687
  {
647
688
  status: 400,
648
- description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.\n15: User is not a member of the group.\n16: The user does not have the necessary level of premium membership.",
689
+ description: `1: The group is invalid or does not exist.
690
+ 3: The user is invalid or does not exist.
691
+ 15: User is not a member of the group.
692
+ 16: The user does not have the necessary level of premium membership.`,
649
693
  schema: zod_1.z.void(),
650
694
  },
651
695
  {
652
696
  status: 401,
653
- description: "0: Authorization has been denied for this request.",
697
+ description: `0: Authorization has been denied for this request.`,
654
698
  schema: zod_1.z.void(),
655
699
  },
656
700
  {
657
701
  status: 403,
658
- description: "0: Token Validation Failed\n17: You are not authorized to change the owner of this group.\n25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.",
702
+ description: `0: Token Validation Failed
703
+ 17: You are not authorized to change the owner of this group.
704
+ 25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.`,
659
705
  schema: zod_1.z.void(),
660
706
  },
661
707
  ],
@@ -669,6 +715,11 @@ exports.postGroupsGroupidClaimOwnership = {
669
715
  path: '/v1/groups/:groupId/claim-ownership',
670
716
  baseUrl: 'https://groups.roblox.com',
671
717
  requestFormat: 'json',
718
+ serializationMethod: {
719
+ groupId: {
720
+ style: 'simple',
721
+ },
722
+ },
672
723
  parameters: {
673
724
  groupId: zod_1.z.number().int(),
674
725
  },
@@ -676,22 +727,25 @@ exports.postGroupsGroupidClaimOwnership = {
676
727
  errors: [
677
728
  {
678
729
  status: 400,
679
- description: "1: The group is invalid or does not exist.",
730
+ description: `1: The group is invalid or does not exist.`,
680
731
  schema: zod_1.z.void(),
681
732
  },
682
733
  {
683
734
  status: 401,
684
- description: "0: Authorization has been denied for this request.",
735
+ description: `0: Authorization has been denied for this request.`,
685
736
  schema: zod_1.z.void(),
686
737
  },
687
738
  {
688
739
  status: 403,
689
- description: "0: Token Validation Failed\n11: You are not authorized to claim this group\n12: This group already has an owner\n13: Too many attempts to claim groups. Please try again later.",
740
+ description: `0: Token Validation Failed
741
+ 11: You are not authorized to claim this group
742
+ 12: This group already has an owner
743
+ 13: Too many attempts to claim groups. Please try again later.`,
690
744
  schema: zod_1.z.void(),
691
745
  },
692
746
  {
693
747
  status: 503,
694
- description: "18: The operation is temporarily unavailable. Please try again later.",
748
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
695
749
  schema: zod_1.z.void(),
696
750
  },
697
751
  ],
@@ -706,6 +760,12 @@ exports.patchGroupsGroupidDescription = {
706
760
  path: '/v1/groups/:groupId/description',
707
761
  baseUrl: 'https://groups.roblox.com',
708
762
  requestFormat: 'json',
763
+ serializationMethod: {
764
+ body: {},
765
+ groupId: {
766
+ style: 'simple',
767
+ },
768
+ },
709
769
  parameters: {
710
770
  body: zod_1.z.object({ description: zod_1.z.string() }),
711
771
  groupId: zod_1.z.number().int(),
@@ -714,50 +774,20 @@ exports.patchGroupsGroupidDescription = {
714
774
  errors: [
715
775
  {
716
776
  status: 400,
717
- description: "1: Group is invalid or does not exist.\n29: Your group description was empty.",
777
+ description: `1: Group is invalid or does not exist.
778
+ 29: Your group description was empty.`,
718
779
  schema: zod_1.z.void(),
719
780
  },
720
781
  {
721
782
  status: 401,
722
- description: "0: Authorization has been denied for this request.",
783
+ description: `0: Authorization has been denied for this request.`,
723
784
  schema: zod_1.z.void(),
724
785
  },
725
786
  {
726
787
  status: 403,
727
- description: "0: Token Validation Failed\n18: The description is too long.\n23: Insufficient permissions to complete the request.",
728
- schema: zod_1.z.void(),
729
- },
730
- ],
731
- };
732
- /**
733
- * @api delete https://groups.roblox.com/v1/groups/:groupId/join-requests
734
- * @param body The Roblox.Groups.Api.MembersRequest.
735
- * @param groupId
736
- */
737
- exports.deleteGroupsGroupidJoinRequests = {
738
- method: 'delete',
739
- path: '/v1/groups/:groupId/join-requests',
740
- baseUrl: 'https://groups.roblox.com',
741
- requestFormat: 'json',
742
- parameters: {
743
- body: Roblox_Groups_Api_MembersRequest,
744
- groupId: zod_1.z.number().int(),
745
- },
746
- response: zod_1.z.object({}),
747
- errors: [
748
- {
749
- status: 400,
750
- description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.",
751
- schema: zod_1.z.void(),
752
- },
753
- {
754
- status: 401,
755
- description: "0: Authorization has been denied for this request.",
756
- schema: zod_1.z.void(),
757
- },
758
- {
759
- status: 403,
760
- description: "0: Token Validation Failed",
788
+ description: `0: Token Validation Failed
789
+ 18: The description is too long.
790
+ 23: Insufficient permissions to complete the request.`,
761
791
  schema: zod_1.z.void(),
762
792
  },
763
793
  ],
@@ -774,6 +804,23 @@ exports.getGroupsGroupidJoinRequests = {
774
804
  path: '/v1/groups/:groupId/join-requests',
775
805
  baseUrl: 'https://groups.roblox.com',
776
806
  requestFormat: 'json',
807
+ serializationMethod: {
808
+ groupId: {
809
+ style: 'simple',
810
+ },
811
+ limit: {
812
+ style: 'form',
813
+ explode: true,
814
+ },
815
+ cursor: {
816
+ style: 'form',
817
+ explode: true,
818
+ },
819
+ sortOrder: {
820
+ style: 'form',
821
+ explode: true,
822
+ },
823
+ },
777
824
  parameters: {
778
825
  groupId: zod_1.z.number().int(),
779
826
  limit: zod_1.z
@@ -787,17 +834,17 @@ exports.getGroupsGroupidJoinRequests = {
787
834
  errors: [
788
835
  {
789
836
  status: 400,
790
- description: "1: The group is invalid or does not exist.",
837
+ description: `1: The group is invalid or does not exist.`,
791
838
  schema: zod_1.z.void(),
792
839
  },
793
840
  {
794
841
  status: 401,
795
- description: "0: Authorization has been denied for this request.",
842
+ description: `0: Authorization has been denied for this request.`,
796
843
  schema: zod_1.z.void(),
797
844
  },
798
845
  {
799
846
  status: 403,
800
- description: "19: You have insufficient permissions for this request.",
847
+ description: `19: You have insufficient permissions for this request.`,
801
848
  schema: zod_1.z.void(),
802
849
  },
803
850
  ],
@@ -812,6 +859,12 @@ exports.postGroupsGroupidJoinRequests = {
812
859
  path: '/v1/groups/:groupId/join-requests',
813
860
  baseUrl: 'https://groups.roblox.com',
814
861
  requestFormat: 'json',
862
+ serializationMethod: {
863
+ body: {},
864
+ groupId: {
865
+ style: 'simple',
866
+ },
867
+ },
815
868
  parameters: {
816
869
  body: Roblox_Groups_Api_MembersRequest,
817
870
  groupId: zod_1.z.number().int(),
@@ -820,60 +873,71 @@ exports.postGroupsGroupidJoinRequests = {
820
873
  errors: [
821
874
  {
822
875
  status: 400,
823
- description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.\n20: The group join request is invalid.",
876
+ description: `1: The group is invalid or does not exist.
877
+ 3: The user is invalid or does not exist.
878
+ 20: The group join request is invalid.`,
824
879
  schema: zod_1.z.void(),
825
880
  },
826
881
  {
827
882
  status: 401,
828
- description: "0: Authorization has been denied for this request.",
883
+ description: `0: Authorization has been denied for this request.`,
829
884
  schema: zod_1.z.void(),
830
885
  },
831
886
  {
832
887
  status: 403,
833
- description: "0: Token Validation Failed\n6: You are already in the maximum number of groups.\n19: You have insufficient permissions for this request.",
888
+ description: `0: Token Validation Failed
889
+ 6: You are already in the maximum number of groups.
890
+ 19: You have insufficient permissions for this request.`,
834
891
  schema: zod_1.z.void(),
835
892
  },
836
893
  {
837
894
  status: 500,
838
- description: "0: Something went wrong.",
895
+ description: `0: Something went wrong.`,
839
896
  schema: zod_1.z.void(),
840
897
  },
841
898
  {
842
899
  status: 503,
843
- description: "18: The operation is temporarily unavailable. Please try again later.",
900
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
844
901
  schema: zod_1.z.void(),
845
902
  },
846
903
  ],
847
904
  };
848
905
  /**
849
- * @api delete https://groups.roblox.com/v1/groups/:groupId/join-requests/users/:userId
906
+ * @api delete https://groups.roblox.com/v1/groups/:groupId/join-requests
907
+ * @param body The Roblox.Groups.Api.MembersRequest.
850
908
  * @param groupId
851
- * @param userId
852
909
  */
853
- exports.deleteGroupsGroupidJoinRequestsUsersUserid = {
910
+ exports.deleteGroupsGroupidJoinRequests = {
854
911
  method: 'delete',
855
- path: '/v1/groups/:groupId/join-requests/users/:userId',
912
+ path: '/v1/groups/:groupId/join-requests',
856
913
  baseUrl: 'https://groups.roblox.com',
857
914
  requestFormat: 'json',
915
+ serializationMethod: {
916
+ body: {},
917
+ groupId: {
918
+ style: 'simple',
919
+ },
920
+ },
858
921
  parameters: {
922
+ body: Roblox_Groups_Api_MembersRequest,
859
923
  groupId: zod_1.z.number().int(),
860
- userId: zod_1.z.number().int(),
861
924
  },
862
925
  response: zod_1.z.object({}),
863
926
  errors: [
864
927
  {
865
928
  status: 400,
866
- description: "3: The user is invalid or does not exist.",
929
+ description: `1: The group is invalid or does not exist.
930
+ 3: The user is invalid or does not exist.`,
867
931
  schema: zod_1.z.void(),
868
932
  },
869
933
  {
870
934
  status: 401,
871
- description: "0: Authorization has been denied for this request.",
935
+ description: `0: Authorization has been denied for this request.`,
872
936
  schema: zod_1.z.void(),
873
937
  },
874
938
  {
875
939
  status: 403,
876
- description: "0: Token Validation Failed\n4: You do not have permission to manage this member.",
940
+ description: `0: Token Validation Failed`,
877
941
  schema: zod_1.z.void(),
878
942
  },
879
943
  ],
@@ -888,6 +952,14 @@ exports.getGroupsGroupidJoinRequestsUsersUserid = {
888
952
  path: '/v1/groups/:groupId/join-requests/users/:userId',
889
953
  baseUrl: 'https://groups.roblox.com',
890
954
  requestFormat: 'json',
955
+ serializationMethod: {
956
+ groupId: {
957
+ style: 'simple',
958
+ },
959
+ userId: {
960
+ style: 'simple',
961
+ },
962
+ },
891
963
  parameters: {
892
964
  groupId: zod_1.z.number().int(),
893
965
  userId: zod_1.z.number().int(),
@@ -896,17 +968,17 @@ exports.getGroupsGroupidJoinRequestsUsersUserid = {
896
968
  errors: [
897
969
  {
898
970
  status: 400,
899
- description: "1: The group is invalid or does not exist.",
971
+ description: `1: The group is invalid or does not exist.`,
900
972
  schema: zod_1.z.void(),
901
973
  },
902
974
  {
903
975
  status: 401,
904
- description: "0: Authorization has been denied for this request.",
976
+ description: `0: Authorization has been denied for this request.`,
905
977
  schema: zod_1.z.void(),
906
978
  },
907
979
  {
908
980
  status: 403,
909
- description: "19: You have insufficient permissions for this request.",
981
+ description: `19: You have insufficient permissions for this request.`,
910
982
  schema: zod_1.z.void(),
911
983
  },
912
984
  ],
@@ -921,6 +993,14 @@ exports.postGroupsGroupidJoinRequestsUsersUserid = {
921
993
  path: '/v1/groups/:groupId/join-requests/users/:userId',
922
994
  baseUrl: 'https://groups.roblox.com',
923
995
  requestFormat: 'json',
996
+ serializationMethod: {
997
+ groupId: {
998
+ style: 'simple',
999
+ },
1000
+ userId: {
1001
+ style: 'simple',
1002
+ },
1003
+ },
924
1004
  parameters: {
925
1005
  groupId: zod_1.z.number().int(),
926
1006
  userId: zod_1.z.number().int(),
@@ -929,22 +1009,68 @@ exports.postGroupsGroupidJoinRequestsUsersUserid = {
929
1009
  errors: [
930
1010
  {
931
1011
  status: 400,
932
- description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.\n20: The group join request is invalid.",
1012
+ description: `1: The group is invalid or does not exist.
1013
+ 3: The user is invalid or does not exist.
1014
+ 20: The group join request is invalid.`,
933
1015
  schema: zod_1.z.void(),
934
1016
  },
935
1017
  {
936
1018
  status: 401,
937
- description: "0: Authorization has been denied for this request.",
1019
+ description: `0: Authorization has been denied for this request.`,
938
1020
  schema: zod_1.z.void(),
939
1021
  },
940
1022
  {
941
1023
  status: 403,
942
- description: "0: Token Validation Failed\n6: You are already in the maximum number of groups.\n19: You have insufficient permissions for this request.",
1024
+ description: `0: Token Validation Failed
1025
+ 6: You are already in the maximum number of groups.
1026
+ 19: You have insufficient permissions for this request.`,
943
1027
  schema: zod_1.z.void(),
944
1028
  },
945
1029
  {
946
1030
  status: 503,
947
- description: "18: The operation is temporarily unavailable. Please try again later.",
1031
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
1032
+ schema: zod_1.z.void(),
1033
+ },
1034
+ ],
1035
+ };
1036
+ /**
1037
+ * @api delete https://groups.roblox.com/v1/groups/:groupId/join-requests/users/:userId
1038
+ * @param groupId
1039
+ * @param userId
1040
+ */
1041
+ exports.deleteGroupsGroupidJoinRequestsUsersUserid = {
1042
+ method: 'delete',
1043
+ path: '/v1/groups/:groupId/join-requests/users/:userId',
1044
+ baseUrl: 'https://groups.roblox.com',
1045
+ requestFormat: 'json',
1046
+ serializationMethod: {
1047
+ groupId: {
1048
+ style: 'simple',
1049
+ },
1050
+ userId: {
1051
+ style: 'simple',
1052
+ },
1053
+ },
1054
+ parameters: {
1055
+ groupId: zod_1.z.number().int(),
1056
+ userId: zod_1.z.number().int(),
1057
+ },
1058
+ response: zod_1.z.object({}),
1059
+ errors: [
1060
+ {
1061
+ status: 400,
1062
+ description: `3: The user is invalid or does not exist.`,
1063
+ schema: zod_1.z.void(),
1064
+ },
1065
+ {
1066
+ status: 401,
1067
+ description: `0: Authorization has been denied for this request.`,
1068
+ schema: zod_1.z.void(),
1069
+ },
1070
+ {
1071
+ status: 403,
1072
+ description: `0: Token Validation Failed
1073
+ 4: You do not have permission to manage this member.`,
948
1074
  schema: zod_1.z.void(),
949
1075
  },
950
1076
  ],
@@ -958,6 +1084,11 @@ exports.getGroupsGroupidMembership = {
958
1084
  path: '/v1/groups/:groupId/membership',
959
1085
  baseUrl: 'https://groups.roblox.com',
960
1086
  requestFormat: 'json',
1087
+ serializationMethod: {
1088
+ groupId: {
1089
+ style: 'simple',
1090
+ },
1091
+ },
961
1092
  parameters: {
962
1093
  groupId: zod_1.z.number().int(),
963
1094
  },
@@ -965,7 +1096,7 @@ exports.getGroupsGroupidMembership = {
965
1096
  errors: [
966
1097
  {
967
1098
  status: 400,
968
- description: "1: The group is invalid or does not exist.",
1099
+ description: `1: The group is invalid or does not exist.`,
969
1100
  schema: zod_1.z.void(),
970
1101
  },
971
1102
  ],
@@ -979,8 +1110,14 @@ exports.patchGroupsGroupidName = {
979
1110
  method: 'patch',
980
1111
  path: '/v1/groups/:groupId/name',
981
1112
  baseUrl: 'https://groups.roblox.com',
982
- description: "This endpoint will charge Robux for the group rename.",
1113
+ description: `This endpoint will charge Robux for the group rename.`,
983
1114
  requestFormat: 'json',
1115
+ serializationMethod: {
1116
+ body: {},
1117
+ groupId: {
1118
+ style: 'simple',
1119
+ },
1120
+ },
984
1121
  parameters: {
985
1122
  body: zod_1.z.object({ name: zod_1.z.string() }),
986
1123
  groupId: zod_1.z.number().int(),
@@ -989,32 +1126,41 @@ exports.patchGroupsGroupidName = {
989
1126
  errors: [
990
1127
  {
991
1128
  status: 400,
992
- description: "1: Group is invalid or does not exist.\n13: The name is invalid.\n19: The name is too long.\n20: The name has been taken.",
1129
+ description: `1: Group is invalid or does not exist.
1130
+ 13: The name is invalid.
1131
+ 19: The name is too long.
1132
+ 20: The name has been taken.`,
993
1133
  schema: zod_1.z.void(),
994
1134
  },
995
1135
  {
996
1136
  status: 401,
997
- description: "0: Authorization has been denied for this request.",
1137
+ description: `0: Authorization has been denied for this request.`,
998
1138
  schema: zod_1.z.void(),
999
1139
  },
1000
1140
  {
1001
1141
  status: 403,
1002
- description: "0: Token Validation Failed\n12: Insufficient Robux funds.\n14: The name is moderated.\n23: Insufficient permissions to complete the request.\n38: Your account must be verified in order to change your group's name.\n39: The group ownership was changed too recently.",
1142
+ description: `0: Token Validation Failed
1143
+ 12: Insufficient Robux funds.
1144
+ 14: The name is moderated.
1145
+ 23: Insufficient permissions to complete the request.
1146
+ 38: Your account must be verified in order to change your group's name.
1147
+ 39: The group ownership was changed too recently.`,
1003
1148
  schema: zod_1.z.void(),
1004
1149
  },
1005
1150
  {
1006
1151
  status: 409,
1007
- description: "36: The name was changed too recently.\n37: The name was in use too recently.",
1152
+ description: `36: The name was changed too recently.
1153
+ 37: The name was in use too recently.`,
1008
1154
  schema: zod_1.z.void(),
1009
1155
  },
1010
1156
  {
1011
1157
  status: 413,
1012
- description: "0: Unknown error.",
1158
+ description: `0: Unknown error.`,
1013
1159
  schema: zod_1.z.void(),
1014
1160
  },
1015
1161
  {
1016
1162
  status: 429,
1017
- description: "17: Too many requests.",
1163
+ description: `17: Too many requests.`,
1018
1164
  schema: zod_1.z.void(),
1019
1165
  },
1020
1166
  ],
@@ -1031,6 +1177,23 @@ exports.getGroupsGroupidNameHistory = {
1031
1177
  path: '/v1/groups/:groupId/name-history',
1032
1178
  baseUrl: 'https://groups.roblox.com',
1033
1179
  requestFormat: 'json',
1180
+ serializationMethod: {
1181
+ groupId: {
1182
+ style: 'simple',
1183
+ },
1184
+ limit: {
1185
+ style: 'form',
1186
+ explode: true,
1187
+ },
1188
+ cursor: {
1189
+ style: 'form',
1190
+ explode: true,
1191
+ },
1192
+ sortOrder: {
1193
+ style: 'form',
1194
+ explode: true,
1195
+ },
1196
+ },
1034
1197
  parameters: {
1035
1198
  groupId: zod_1.z.number().int(),
1036
1199
  limit: zod_1.z
@@ -1044,12 +1207,12 @@ exports.getGroupsGroupidNameHistory = {
1044
1207
  errors: [
1045
1208
  {
1046
1209
  status: 400,
1047
- description: "1: Group is invalid or does not exist.",
1210
+ description: `1: Group is invalid or does not exist.`,
1048
1211
  schema: zod_1.z.void(),
1049
1212
  },
1050
1213
  {
1051
1214
  status: 403,
1052
- description: "23: Insufficient permissions to complete the request.",
1215
+ description: `23: Insufficient permissions to complete the request.`,
1053
1216
  schema: zod_1.z.void(),
1054
1217
  },
1055
1218
  ],
@@ -1063,6 +1226,11 @@ exports.getGroupsGroupidPayoutRestriction = {
1063
1226
  path: '/v1/groups/:groupId/payout-restriction',
1064
1227
  baseUrl: 'https://groups.roblox.com',
1065
1228
  requestFormat: 'json',
1229
+ serializationMethod: {
1230
+ groupId: {
1231
+ style: 'simple',
1232
+ },
1233
+ },
1066
1234
  parameters: {
1067
1235
  groupId: zod_1.z.number().int(),
1068
1236
  },
@@ -1070,17 +1238,17 @@ exports.getGroupsGroupidPayoutRestriction = {
1070
1238
  errors: [
1071
1239
  {
1072
1240
  status: 400,
1073
- description: "1: Group is invalid or does not exist.",
1241
+ description: `1: Group is invalid or does not exist.`,
1074
1242
  schema: zod_1.z.void(),
1075
1243
  },
1076
1244
  {
1077
1245
  status: 401,
1078
- description: "0: Authorization has been denied for this request.",
1246
+ description: `0: Authorization has been denied for this request.`,
1079
1247
  schema: zod_1.z.void(),
1080
1248
  },
1081
1249
  {
1082
1250
  status: 403,
1083
- description: "9: You don't have permission to view this group's payouts.",
1251
+ description: `9: You don't have permission to view this group's payouts.`,
1084
1252
  schema: zod_1.z.void(),
1085
1253
  },
1086
1254
  ],
@@ -1094,6 +1262,11 @@ exports.getGroupsGroupidPayouts = {
1094
1262
  path: '/v1/groups/:groupId/payouts',
1095
1263
  baseUrl: 'https://groups.roblox.com',
1096
1264
  requestFormat: 'json',
1265
+ serializationMethod: {
1266
+ groupId: {
1267
+ style: 'simple',
1268
+ },
1269
+ },
1097
1270
  parameters: {
1098
1271
  groupId: zod_1.z.number().int(),
1099
1272
  },
@@ -1101,17 +1274,17 @@ exports.getGroupsGroupidPayouts = {
1101
1274
  errors: [
1102
1275
  {
1103
1276
  status: 400,
1104
- description: "1: Group is invalid or does not exist.",
1277
+ description: `1: Group is invalid or does not exist.`,
1105
1278
  schema: zod_1.z.void(),
1106
1279
  },
1107
1280
  {
1108
1281
  status: 401,
1109
- description: "0: Authorization has been denied for this request.",
1282
+ description: `0: Authorization has been denied for this request.`,
1110
1283
  schema: zod_1.z.void(),
1111
1284
  },
1112
1285
  {
1113
1286
  status: 403,
1114
- description: "9: You don't have permission to view this group's payouts.",
1287
+ description: `9: You don't have permission to view this group's payouts.`,
1115
1288
  schema: zod_1.z.void(),
1116
1289
  },
1117
1290
  ],
@@ -1126,6 +1299,12 @@ exports.postGroupsGroupidPayouts = {
1126
1299
  path: '/v1/groups/:groupId/payouts',
1127
1300
  baseUrl: 'https://groups.roblox.com',
1128
1301
  requestFormat: 'json',
1302
+ serializationMethod: {
1303
+ body: {},
1304
+ groupId: {
1305
+ style: 'simple',
1306
+ },
1307
+ },
1129
1308
  parameters: {
1130
1309
  body: Roblox_Groups_Api_PayoutRequest,
1131
1310
  groupId: zod_1.z.number().int(),
@@ -1134,22 +1313,29 @@ exports.postGroupsGroupidPayouts = {
1134
1313
  errors: [
1135
1314
  {
1136
1315
  status: 400,
1137
- description: "1: Group is invalid or does not exist.\n12: Insufficient Robux funds.\n24: Invalid payout type.\n25: The amount is invalid.\n26: Too many recipients.",
1316
+ description: `1: Group is invalid or does not exist.
1317
+ 12: Insufficient Robux funds.
1318
+ 24: Invalid payout type.
1319
+ 25: The amount is invalid.
1320
+ 26: Too many recipients.`,
1138
1321
  schema: zod_1.z.void(),
1139
1322
  },
1140
1323
  {
1141
1324
  status: 401,
1142
- description: "0: Authorization has been denied for this request.",
1325
+ description: `0: Authorization has been denied for this request.`,
1143
1326
  schema: zod_1.z.void(),
1144
1327
  },
1145
1328
  {
1146
1329
  status: 403,
1147
- description: "0: Token Validation Failed\n23: Insufficient permissions to complete the request.\n28: Group has paid out too recently. Please wait and try again.\n35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.",
1330
+ description: `0: Token Validation Failed
1331
+ 23: Insufficient permissions to complete the request.
1332
+ 28: Group has paid out too recently. Please wait and try again.
1333
+ 35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.`,
1148
1334
  schema: zod_1.z.void(),
1149
1335
  },
1150
1336
  {
1151
1337
  status: 503,
1152
- description: "22: The feature is disabled.",
1338
+ description: `22: The feature is disabled.`,
1153
1339
  schema: zod_1.z.void(),
1154
1340
  },
1155
1341
  ],
@@ -1163,8 +1349,15 @@ exports.postGroupsGroupidPayoutsRecurring = {
1163
1349
  method: 'post',
1164
1350
  path: '/v1/groups/:groupId/payouts/recurring',
1165
1351
  baseUrl: 'https://groups.roblox.com',
1166
- description: "This endpoint will remove any recipients not sent in the request.\nIf a recipient in the request is not a valid member in the group they will not be added to the recurring payouts.",
1352
+ description: `This endpoint will remove any recipients not sent in the request.
1353
+ If a recipient in the request is not a valid member in the group they will not be added to the recurring payouts.`,
1167
1354
  requestFormat: 'json',
1355
+ serializationMethod: {
1356
+ body: {},
1357
+ groupId: {
1358
+ style: 'simple',
1359
+ },
1360
+ },
1168
1361
  parameters: {
1169
1362
  body: Roblox_Groups_Api_PayoutRequest,
1170
1363
  groupId: zod_1.z.number().int(),
@@ -1173,22 +1366,29 @@ exports.postGroupsGroupidPayoutsRecurring = {
1173
1366
  errors: [
1174
1367
  {
1175
1368
  status: 400,
1176
- description: "1: Group is invalid or does not exist.\n24: Invalid payout type.\n25: The amount is invalid.\n26: Too many recipients.\n27: The recipients are invalid.",
1369
+ description: `1: Group is invalid or does not exist.
1370
+ 24: Invalid payout type.
1371
+ 25: The amount is invalid.
1372
+ 26: Too many recipients.
1373
+ 27: The recipients are invalid.`,
1177
1374
  schema: zod_1.z.void(),
1178
1375
  },
1179
1376
  {
1180
1377
  status: 401,
1181
- description: "0: Authorization has been denied for this request.",
1378
+ description: `0: Authorization has been denied for this request.`,
1182
1379
  schema: zod_1.z.void(),
1183
1380
  },
1184
1381
  {
1185
1382
  status: 403,
1186
- description: "0: Token Validation Failed\n12: Insufficient Robux funds.\n28: Group has paid out too recently. Please wait and try again.\n35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.",
1383
+ description: `0: Token Validation Failed
1384
+ 12: Insufficient Robux funds.
1385
+ 28: Group has paid out too recently. Please wait and try again.
1386
+ 35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.`,
1187
1387
  schema: zod_1.z.void(),
1188
1388
  },
1189
1389
  {
1190
1390
  status: 503,
1191
- description: "22: The feature is disabled.",
1391
+ description: `22: The feature is disabled.`,
1192
1392
  schema: zod_1.z.void(),
1193
1393
  },
1194
1394
  ],
@@ -1205,6 +1405,22 @@ exports.getGroupsGroupidRelationshipsGrouprelationshiptype = {
1205
1405
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType',
1206
1406
  baseUrl: 'https://groups.roblox.com',
1207
1407
  requestFormat: 'json',
1408
+ serializationMethod: {
1409
+ groupId: {
1410
+ style: 'simple',
1411
+ },
1412
+ groupRelationshipType: {
1413
+ style: 'simple',
1414
+ },
1415
+ StartRowIndex: {
1416
+ style: 'form',
1417
+ explode: true,
1418
+ },
1419
+ MaxRows: {
1420
+ style: 'form',
1421
+ explode: true,
1422
+ },
1423
+ },
1208
1424
  parameters: {
1209
1425
  groupId: zod_1.z.number().int(),
1210
1426
  groupRelationshipType: zod_1.z.string(),
@@ -1215,22 +1431,35 @@ exports.getGroupsGroupidRelationshipsGrouprelationshiptype = {
1215
1431
  errors: [
1216
1432
  {
1217
1433
  status: 400,
1218
- description: "1: Group is invalid or does not exist.\n4: Group relationship type or request type is invalid.\n8: Invalid or missing pagination parameters",
1434
+ description: `1: Group is invalid or does not exist.
1435
+ 4: Group relationship type or request type is invalid.
1436
+ 8: Invalid or missing pagination parameters`,
1219
1437
  schema: zod_1.z.void(),
1220
1438
  },
1221
1439
  ],
1222
1440
  };
1223
1441
  /**
1224
- * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
1442
+ * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
1225
1443
  * @param groupId
1226
1444
  * @param groupRelationshipType
1227
1445
  * @param relatedGroupId
1228
1446
  */
1229
- exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1230
- method: 'delete',
1447
+ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1448
+ method: 'post',
1231
1449
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
1232
1450
  baseUrl: 'https://groups.roblox.com',
1233
1451
  requestFormat: 'json',
1452
+ serializationMethod: {
1453
+ groupId: {
1454
+ style: 'simple',
1455
+ },
1456
+ groupRelationshipType: {
1457
+ style: 'simple',
1458
+ },
1459
+ relatedGroupId: {
1460
+ style: 'simple',
1461
+ },
1462
+ },
1234
1463
  parameters: {
1235
1464
  groupId: zod_1.z.number().int(),
1236
1465
  groupRelationshipType: zod_1.z.string(),
@@ -1240,32 +1469,51 @@ exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1240
1469
  errors: [
1241
1470
  {
1242
1471
  status: 400,
1243
- description: "2: Invalid group.\n3: Target group is invalid or does not exist.\n11: Relationship does not exist.",
1472
+ description: `1: Group relationship type or request type is invalid.
1473
+ 2: Invalid group.
1474
+ 3: Target group is invalid or does not exist.
1475
+ 4: Your group cannot establish a relationship with itself.`,
1244
1476
  schema: zod_1.z.void(),
1245
1477
  },
1246
1478
  {
1247
1479
  status: 401,
1248
- description: "0: Authorization has been denied for this request.",
1480
+ description: `0: Authorization has been denied for this request.`,
1249
1481
  schema: zod_1.z.void(),
1250
1482
  },
1251
1483
  {
1252
1484
  status: 403,
1253
- description: "0: Token Validation Failed\n8: You are blocked from communicating with this user.",
1485
+ description: `0: Token Validation Failed
1486
+ 5: Your group does not allow enemy declarations.
1487
+ 6: Other group does not allow enemy declarations.
1488
+ 7: Your group already has a relationship with the target group.
1489
+ 8: You are blocked from communicating with this user.
1490
+ 9: Insufficient permissions.`,
1254
1491
  schema: zod_1.z.void(),
1255
1492
  },
1256
1493
  ],
1257
1494
  };
1258
1495
  /**
1259
- * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
1496
+ * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
1260
1497
  * @param groupId
1261
1498
  * @param groupRelationshipType
1262
1499
  * @param relatedGroupId
1263
1500
  */
1264
- exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1265
- method: 'post',
1501
+ exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1502
+ method: 'delete',
1266
1503
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
1267
1504
  baseUrl: 'https://groups.roblox.com',
1268
1505
  requestFormat: 'json',
1506
+ serializationMethod: {
1507
+ groupId: {
1508
+ style: 'simple',
1509
+ },
1510
+ groupRelationshipType: {
1511
+ style: 'simple',
1512
+ },
1513
+ relatedGroupId: {
1514
+ style: 'simple',
1515
+ },
1516
+ },
1269
1517
  parameters: {
1270
1518
  groupId: zod_1.z.number().int(),
1271
1519
  groupRelationshipType: zod_1.z.string(),
@@ -1275,99 +1523,138 @@ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = {
1275
1523
  errors: [
1276
1524
  {
1277
1525
  status: 400,
1278
- description: "1: Group relationship type or request type is invalid.\n2: Invalid group.\n3: Target group is invalid or does not exist.\n4: Your group cannot establish a relationship with itself.",
1526
+ description: `2: Invalid group.
1527
+ 3: Target group is invalid or does not exist.
1528
+ 11: Relationship does not exist.`,
1279
1529
  schema: zod_1.z.void(),
1280
1530
  },
1281
1531
  {
1282
1532
  status: 401,
1283
- description: "0: Authorization has been denied for this request.",
1533
+ description: `0: Authorization has been denied for this request.`,
1284
1534
  schema: zod_1.z.void(),
1285
1535
  },
1286
1536
  {
1287
1537
  status: 403,
1288
- description: "0: Token Validation Failed\n5: Your group does not allow enemy declarations.\n6: Other group does not allow enemy declarations.\n7: Your group already has a relationship with the target group.\n8: You are blocked from communicating with this user.\n9: Insufficient permissions.",
1538
+ description: `0: Token Validation Failed
1539
+ 8: You are blocked from communicating with this user.`,
1289
1540
  schema: zod_1.z.void(),
1290
1541
  },
1291
1542
  ],
1292
1543
  };
1293
1544
  /**
1294
- * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1295
- * @param body The Roblox.Groups.Api.RelationshipsRequest.
1545
+ * @api get https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1296
1546
  * @param groupId
1297
1547
  * @param groupRelationshipType
1548
+ * @param StartRowIndex
1549
+ * @param MaxRows
1298
1550
  */
1299
- exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1300
- method: 'delete',
1551
+ exports.getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1552
+ method: 'get',
1301
1553
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
1302
1554
  baseUrl: 'https://groups.roblox.com',
1303
1555
  requestFormat: 'json',
1556
+ serializationMethod: {
1557
+ groupId: {
1558
+ style: 'simple',
1559
+ },
1560
+ groupRelationshipType: {
1561
+ style: 'simple',
1562
+ },
1563
+ StartRowIndex: {
1564
+ style: 'form',
1565
+ explode: true,
1566
+ },
1567
+ MaxRows: {
1568
+ style: 'form',
1569
+ explode: true,
1570
+ },
1571
+ },
1304
1572
  parameters: {
1305
- body: Roblox_Groups_Api_RelationshipsRequest,
1306
1573
  groupId: zod_1.z.number().int(),
1307
1574
  groupRelationshipType: zod_1.z.string(),
1575
+ StartRowIndex: zod_1.z.number().int(),
1576
+ MaxRows: zod_1.z.number().int(),
1308
1577
  },
1309
- response: zod_1.z.object({}),
1578
+ response: Roblox_Groups_Api_GroupRelationshipsResponse,
1310
1579
  errors: [
1580
+ {
1581
+ status: 400,
1582
+ description: `1: Group is invalid or does not exist.
1583
+ 4: Group relationship type or request type is invalid.
1584
+ 8: Invalid or missing pagination parameters`,
1585
+ schema: zod_1.z.void(),
1586
+ },
1311
1587
  {
1312
1588
  status: 401,
1313
- description: "0: Authorization has been denied for this request.",
1589
+ description: `0: Authorization has been denied for this request.`,
1314
1590
  schema: zod_1.z.void(),
1315
1591
  },
1316
1592
  {
1317
1593
  status: 403,
1318
- description: "0: Token Validation Failed",
1594
+ description: `5: You don't have permission to manage this group's relationships.`,
1319
1595
  schema: zod_1.z.void(),
1320
1596
  },
1321
1597
  ],
1322
1598
  };
1323
1599
  /**
1324
- * @api get https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1600
+ * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1601
+ * @param body The Roblox.Groups.Api.RelationshipsRequest.
1325
1602
  * @param groupId
1326
1603
  * @param groupRelationshipType
1327
- * @param StartRowIndex
1328
- * @param MaxRows
1329
1604
  */
1330
- exports.getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1331
- method: 'get',
1605
+ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1606
+ method: 'post',
1332
1607
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
1333
1608
  baseUrl: 'https://groups.roblox.com',
1334
1609
  requestFormat: 'json',
1610
+ serializationMethod: {
1611
+ body: {},
1612
+ groupId: {
1613
+ style: 'simple',
1614
+ },
1615
+ groupRelationshipType: {
1616
+ style: 'simple',
1617
+ },
1618
+ },
1335
1619
  parameters: {
1620
+ body: Roblox_Groups_Api_RelationshipsRequest,
1336
1621
  groupId: zod_1.z.number().int(),
1337
1622
  groupRelationshipType: zod_1.z.string(),
1338
- StartRowIndex: zod_1.z.number().int(),
1339
- MaxRows: zod_1.z.number().int(),
1340
1623
  },
1341
- response: Roblox_Groups_Api_GroupRelationshipsResponse,
1624
+ response: zod_1.z.object({}),
1342
1625
  errors: [
1343
- {
1344
- status: 400,
1345
- description: "1: Group is invalid or does not exist.\n4: Group relationship type or request type is invalid.\n8: Invalid or missing pagination parameters",
1346
- schema: zod_1.z.void(),
1347
- },
1348
1626
  {
1349
1627
  status: 401,
1350
- description: "0: Authorization has been denied for this request.",
1628
+ description: `0: Authorization has been denied for this request.`,
1351
1629
  schema: zod_1.z.void(),
1352
1630
  },
1353
1631
  {
1354
1632
  status: 403,
1355
- description: "5: You don't have permission to manage this group's relationships.",
1633
+ description: `0: Token Validation Failed`,
1356
1634
  schema: zod_1.z.void(),
1357
1635
  },
1358
1636
  ],
1359
1637
  };
1360
1638
  /**
1361
- * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1639
+ * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
1362
1640
  * @param body The Roblox.Groups.Api.RelationshipsRequest.
1363
1641
  * @param groupId
1364
1642
  * @param groupRelationshipType
1365
1643
  */
1366
- exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1367
- method: 'post',
1644
+ exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1645
+ method: 'delete',
1368
1646
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
1369
1647
  baseUrl: 'https://groups.roblox.com',
1370
1648
  requestFormat: 'json',
1649
+ serializationMethod: {
1650
+ body: {},
1651
+ groupId: {
1652
+ style: 'simple',
1653
+ },
1654
+ groupRelationshipType: {
1655
+ style: 'simple',
1656
+ },
1657
+ },
1371
1658
  parameters: {
1372
1659
  body: Roblox_Groups_Api_RelationshipsRequest,
1373
1660
  groupId: zod_1.z.number().int(),
@@ -1377,27 +1664,38 @@ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = {
1377
1664
  errors: [
1378
1665
  {
1379
1666
  status: 401,
1380
- description: "0: Authorization has been denied for this request.",
1667
+ description: `0: Authorization has been denied for this request.`,
1381
1668
  schema: zod_1.z.void(),
1382
1669
  },
1383
1670
  {
1384
1671
  status: 403,
1385
- description: "0: Token Validation Failed",
1672
+ description: `0: Token Validation Failed`,
1386
1673
  schema: zod_1.z.void(),
1387
1674
  },
1388
1675
  ],
1389
1676
  };
1390
1677
  /**
1391
- * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
1678
+ * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
1392
1679
  * @param groupId
1393
1680
  * @param groupRelationshipType
1394
1681
  * @param relatedGroupId
1395
1682
  */
1396
- exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = {
1397
- method: 'delete',
1683
+ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = {
1684
+ method: 'post',
1398
1685
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
1399
1686
  baseUrl: 'https://groups.roblox.com',
1400
1687
  requestFormat: 'json',
1688
+ serializationMethod: {
1689
+ groupId: {
1690
+ style: 'simple',
1691
+ },
1692
+ groupRelationshipType: {
1693
+ style: 'simple',
1694
+ },
1695
+ relatedGroupId: {
1696
+ style: 'simple',
1697
+ },
1698
+ },
1401
1699
  parameters: {
1402
1700
  groupId: zod_1.z.number().int(),
1403
1701
  groupRelationshipType: zod_1.z.string(),
@@ -1407,32 +1705,47 @@ exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgrou
1407
1705
  errors: [
1408
1706
  {
1409
1707
  status: 400,
1410
- description: "1: Group relationship type or request type is invalid.\n2: Invalid group.\n3: Target group is invalid or does not exist.\n10: Relationship request does not exist.",
1708
+ description: `1: Group relationship type or request type is invalid.
1709
+ 2: Invalid group.
1710
+ 3: Target group is invalid or does not exist.
1711
+ 10: Relationship request does not exist.`,
1411
1712
  schema: zod_1.z.void(),
1412
1713
  },
1413
1714
  {
1414
1715
  status: 401,
1415
- description: "0: Authorization has been denied for this request.",
1716
+ description: `0: Authorization has been denied for this request.`,
1416
1717
  schema: zod_1.z.void(),
1417
1718
  },
1418
1719
  {
1419
1720
  status: 403,
1420
- description: "0: Token Validation Failed\n9: Insufficient permissions.",
1721
+ description: `0: Token Validation Failed
1722
+ 9: Insufficient permissions.`,
1421
1723
  schema: zod_1.z.void(),
1422
1724
  },
1423
1725
  ],
1424
1726
  };
1425
1727
  /**
1426
- * @api post https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
1728
+ * @api delete https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
1427
1729
  * @param groupId
1428
1730
  * @param groupRelationshipType
1429
1731
  * @param relatedGroupId
1430
1732
  */
1431
- exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = {
1432
- method: 'post',
1733
+ exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = {
1734
+ method: 'delete',
1433
1735
  path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
1434
1736
  baseUrl: 'https://groups.roblox.com',
1435
1737
  requestFormat: 'json',
1738
+ serializationMethod: {
1739
+ groupId: {
1740
+ style: 'simple',
1741
+ },
1742
+ groupRelationshipType: {
1743
+ style: 'simple',
1744
+ },
1745
+ relatedGroupId: {
1746
+ style: 'simple',
1747
+ },
1748
+ },
1436
1749
  parameters: {
1437
1750
  groupId: zod_1.z.number().int(),
1438
1751
  groupRelationshipType: zod_1.z.string(),
@@ -1442,17 +1755,21 @@ exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupi
1442
1755
  errors: [
1443
1756
  {
1444
1757
  status: 400,
1445
- description: "1: Group relationship type or request type is invalid.\n2: Invalid group.\n3: Target group is invalid or does not exist.\n10: Relationship request does not exist.",
1758
+ description: `1: Group relationship type or request type is invalid.
1759
+ 2: Invalid group.
1760
+ 3: Target group is invalid or does not exist.
1761
+ 10: Relationship request does not exist.`,
1446
1762
  schema: zod_1.z.void(),
1447
1763
  },
1448
1764
  {
1449
1765
  status: 401,
1450
- description: "0: Authorization has been denied for this request.",
1766
+ description: `0: Authorization has been denied for this request.`,
1451
1767
  schema: zod_1.z.void(),
1452
1768
  },
1453
1769
  {
1454
1770
  status: 403,
1455
- description: "0: Token Validation Failed\n9: Insufficient permissions.",
1771
+ description: `0: Token Validation Failed
1772
+ 9: Insufficient permissions.`,
1456
1773
  schema: zod_1.z.void(),
1457
1774
  },
1458
1775
  ],
@@ -1466,6 +1783,11 @@ exports.getGroupsGroupidRoles = {
1466
1783
  path: '/v1/groups/:groupId/roles',
1467
1784
  baseUrl: 'https://groups.roblox.com',
1468
1785
  requestFormat: 'json',
1786
+ serializationMethod: {
1787
+ groupId: {
1788
+ style: 'simple',
1789
+ },
1790
+ },
1469
1791
  parameters: {
1470
1792
  groupId: zod_1.z.number().int(),
1471
1793
  },
@@ -1473,7 +1795,7 @@ exports.getGroupsGroupidRoles = {
1473
1795
  errors: [
1474
1796
  {
1475
1797
  status: 400,
1476
- description: "1: The group is invalid or does not exist.",
1798
+ description: `1: The group is invalid or does not exist.`,
1477
1799
  schema: zod_1.z.void(),
1478
1800
  },
1479
1801
  ],
@@ -1488,6 +1810,14 @@ exports.getGroupsGroupidRolesRolesetidPermissions = {
1488
1810
  path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
1489
1811
  baseUrl: 'https://groups.roblox.com',
1490
1812
  requestFormat: 'json',
1813
+ serializationMethod: {
1814
+ groupId: {
1815
+ style: 'simple',
1816
+ },
1817
+ roleSetId: {
1818
+ style: 'simple',
1819
+ },
1820
+ },
1491
1821
  parameters: {
1492
1822
  groupId: zod_1.z.number().int(),
1493
1823
  roleSetId: zod_1.z.number().int(),
@@ -1496,17 +1826,18 @@ exports.getGroupsGroupidRolesRolesetidPermissions = {
1496
1826
  errors: [
1497
1827
  {
1498
1828
  status: 400,
1499
- description: "1: Group is invalid or does not exist.\n2: The roleset is invalid or does not exist.",
1829
+ description: `1: Group is invalid or does not exist.
1830
+ 2: The roleset is invalid or does not exist.`,
1500
1831
  schema: zod_1.z.void(),
1501
1832
  },
1502
1833
  {
1503
1834
  status: 401,
1504
- description: "0: Authorization has been denied for this request.",
1835
+ description: `0: Authorization has been denied for this request.`,
1505
1836
  schema: zod_1.z.void(),
1506
1837
  },
1507
1838
  {
1508
1839
  status: 403,
1509
- description: "3: You are not authorized to view/edit permissions for this role.",
1840
+ description: `3: You are not authorized to view/edit permissions for this role.`,
1510
1841
  schema: zod_1.z.void(),
1511
1842
  },
1512
1843
  ],
@@ -1522,6 +1853,15 @@ exports.patchGroupsGroupidRolesRolesetidPermissions = {
1522
1853
  path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
1523
1854
  baseUrl: 'https://groups.roblox.com',
1524
1855
  requestFormat: 'json',
1856
+ serializationMethod: {
1857
+ body: {},
1858
+ groupId: {
1859
+ style: 'simple',
1860
+ },
1861
+ roleSetId: {
1862
+ style: 'simple',
1863
+ },
1864
+ },
1525
1865
  parameters: {
1526
1866
  body: Roblox_Groups_Api_UpdatePermissionsRequest,
1527
1867
  groupId: zod_1.z.number().int(),
@@ -1531,17 +1871,20 @@ exports.patchGroupsGroupidRolesRolesetidPermissions = {
1531
1871
  errors: [
1532
1872
  {
1533
1873
  status: 400,
1534
- description: "1: Group is invalid or does not exist.\n2: The roleset is invalid or does not exist.",
1874
+ description: `1: Group is invalid or does not exist.
1875
+ 2: The roleset is invalid or does not exist.`,
1535
1876
  schema: zod_1.z.void(),
1536
1877
  },
1537
1878
  {
1538
1879
  status: 401,
1539
- description: "0: Authorization has been denied for this request.",
1880
+ description: `0: Authorization has been denied for this request.`,
1540
1881
  schema: zod_1.z.void(),
1541
1882
  },
1542
1883
  {
1543
1884
  status: 403,
1544
- description: "0: Token Validation Failed\n3: You are not authorized to view/edit permissions for this role.\n4: This role's permissions can not be modified.",
1885
+ description: `0: Token Validation Failed
1886
+ 3: You are not authorized to view/edit permissions for this role.
1887
+ 4: This role's permissions can not be modified.`,
1545
1888
  schema: zod_1.z.void(),
1546
1889
  },
1547
1890
  ],
@@ -1559,6 +1902,26 @@ exports.getGroupsGroupidRolesRolesetidUsers = {
1559
1902
  path: '/v1/groups/:groupId/roles/:roleSetId/users',
1560
1903
  baseUrl: 'https://groups.roblox.com',
1561
1904
  requestFormat: 'json',
1905
+ serializationMethod: {
1906
+ groupId: {
1907
+ style: 'simple',
1908
+ },
1909
+ roleSetId: {
1910
+ style: 'simple',
1911
+ },
1912
+ limit: {
1913
+ style: 'form',
1914
+ explode: true,
1915
+ },
1916
+ cursor: {
1917
+ style: 'form',
1918
+ explode: true,
1919
+ },
1920
+ sortOrder: {
1921
+ style: 'form',
1922
+ explode: true,
1923
+ },
1924
+ },
1562
1925
  parameters: {
1563
1926
  groupId: zod_1.z.number().int(),
1564
1927
  roleSetId: zod_1.z.number().int(),
@@ -1573,12 +1936,12 @@ exports.getGroupsGroupidRolesRolesetidUsers = {
1573
1936
  errors: [
1574
1937
  {
1575
1938
  status: 400,
1576
- description: "1: The group is invalid or does not exist.",
1939
+ description: `1: The group is invalid or does not exist.`,
1577
1940
  schema: zod_1.z.void(),
1578
1941
  },
1579
1942
  {
1580
1943
  status: 403,
1581
- description: "2: The roleset is invalid or does not exist.",
1944
+ description: `2: The roleset is invalid or does not exist.`,
1582
1945
  schema: zod_1.z.void(),
1583
1946
  },
1584
1947
  ],
@@ -1592,6 +1955,11 @@ exports.getGroupsGroupidRolesGuestPermissions = {
1592
1955
  path: '/v1/groups/:groupId/roles/guest/permissions',
1593
1956
  baseUrl: 'https://groups.roblox.com',
1594
1957
  requestFormat: 'json',
1958
+ serializationMethod: {
1959
+ groupId: {
1960
+ style: 'simple',
1961
+ },
1962
+ },
1595
1963
  parameters: {
1596
1964
  groupId: zod_1.z.number().int(),
1597
1965
  },
@@ -1599,7 +1967,7 @@ exports.getGroupsGroupidRolesGuestPermissions = {
1599
1967
  errors: [
1600
1968
  {
1601
1969
  status: 400,
1602
- description: "1: Group is invalid or does not exist.",
1970
+ description: `1: Group is invalid or does not exist.`,
1603
1971
  schema: zod_1.z.void(),
1604
1972
  },
1605
1973
  ],
@@ -1613,6 +1981,11 @@ exports.getGroupsGroupidRolesPermissions = {
1613
1981
  path: '/v1/groups/:groupId/roles/permissions',
1614
1982
  baseUrl: 'https://groups.roblox.com',
1615
1983
  requestFormat: 'json',
1984
+ serializationMethod: {
1985
+ groupId: {
1986
+ style: 'simple',
1987
+ },
1988
+ },
1616
1989
  parameters: {
1617
1990
  groupId: zod_1.z.number().int(),
1618
1991
  },
@@ -1620,7 +1993,7 @@ exports.getGroupsGroupidRolesPermissions = {
1620
1993
  errors: [
1621
1994
  {
1622
1995
  status: 401,
1623
- description: "0: Authorization has been denied for this request.",
1996
+ description: `0: Authorization has been denied for this request.`,
1624
1997
  schema: zod_1.z.void(),
1625
1998
  },
1626
1999
  ],
@@ -1635,6 +2008,14 @@ exports.deleteGroupsGroupidRolesetsRolesetid = {
1635
2008
  path: '/v1/groups/:groupId/rolesets/:rolesetId',
1636
2009
  baseUrl: 'https://groups.roblox.com',
1637
2010
  requestFormat: 'json',
2011
+ serializationMethod: {
2012
+ groupId: {
2013
+ style: 'simple',
2014
+ },
2015
+ rolesetId: {
2016
+ style: 'simple',
2017
+ },
2018
+ },
1638
2019
  parameters: {
1639
2020
  groupId: zod_1.z.number().int(),
1640
2021
  rolesetId: zod_1.z.number().int(),
@@ -1643,17 +2024,22 @@ exports.deleteGroupsGroupidRolesetsRolesetid = {
1643
2024
  errors: [
1644
2025
  {
1645
2026
  status: 400,
1646
- description: "10: This group does not exist.\n15: This role does not exist.\n17: Cannot remove any more roles\n18: Cannot delete this role.",
2027
+ description: `10: This group does not exist.
2028
+ 15: This role does not exist.
2029
+ 17: Cannot remove any more roles
2030
+ 18: Cannot delete this role.`,
1647
2031
  schema: zod_1.z.void(),
1648
2032
  },
1649
2033
  {
1650
2034
  status: 401,
1651
- description: "0: Authorization has been denied for this request.",
2035
+ description: `0: Authorization has been denied for this request.`,
1652
2036
  schema: zod_1.z.void(),
1653
2037
  },
1654
2038
  {
1655
2039
  status: 403,
1656
- description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.\n16: There are users in this role.",
2040
+ description: `0: Token Validation Failed
2041
+ 9: You do not have permissions to perform this action.
2042
+ 16: There are users in this role.`,
1657
2043
  schema: zod_1.z.void(),
1658
2044
  },
1659
2045
  ],
@@ -1669,6 +2055,15 @@ exports.patchGroupsGroupidRolesetsRolesetid = {
1669
2055
  path: '/v1/groups/:groupId/rolesets/:rolesetId',
1670
2056
  baseUrl: 'https://groups.roblox.com',
1671
2057
  requestFormat: 'json',
2058
+ serializationMethod: {
2059
+ body: {},
2060
+ groupId: {
2061
+ style: 'simple',
2062
+ },
2063
+ rolesetId: {
2064
+ style: 'simple',
2065
+ },
2066
+ },
1672
2067
  parameters: {
1673
2068
  body: Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest,
1674
2069
  groupId: zod_1.z.number().int(),
@@ -1678,17 +2073,26 @@ exports.patchGroupsGroupidRolesetsRolesetid = {
1678
2073
  errors: [
1679
2074
  {
1680
2075
  status: 400,
1681
- description: "5: Role name already exists.\n6: Rank value is out of bounds.\n7: The role name is too long.\n8: The role description is too long.\n10: This group does not exist.\n14: Role name can not be empty.\n15: This role does not exist.\n19: Cannot update Guest role.\n20: Cannot update Owner role rank.",
2076
+ description: `5: Role name already exists.
2077
+ 6: Rank value is out of bounds.
2078
+ 7: The role name is too long.
2079
+ 8: The role description is too long.
2080
+ 10: This group does not exist.
2081
+ 14: Role name can not be empty.
2082
+ 15: This role does not exist.
2083
+ 19: Cannot update Guest role.
2084
+ 20: Cannot update Owner role rank.`,
1682
2085
  schema: zod_1.z.void(),
1683
2086
  },
1684
2087
  {
1685
2088
  status: 401,
1686
- description: "0: Authorization has been denied for this request.",
2089
+ description: `0: Authorization has been denied for this request.`,
1687
2090
  schema: zod_1.z.void(),
1688
2091
  },
1689
2092
  {
1690
2093
  status: 403,
1691
- description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.",
2094
+ description: `0: Token Validation Failed
2095
+ 9: You do not have permissions to perform this action.`,
1692
2096
  schema: zod_1.z.void(),
1693
2097
  },
1694
2098
  ],
@@ -1703,6 +2107,12 @@ exports.postGroupsGroupidRolesetsCreate = {
1703
2107
  path: '/v1/groups/:groupId/rolesets/create',
1704
2108
  baseUrl: 'https://groups.roblox.com',
1705
2109
  requestFormat: 'json',
2110
+ serializationMethod: {
2111
+ body: {},
2112
+ groupId: {
2113
+ style: 'simple',
2114
+ },
2115
+ },
1706
2116
  parameters: {
1707
2117
  body: Roblox_Groups_Api_Models_Request_CreateRoleSetRequest,
1708
2118
  groupId: zod_1.z.number().int(),
@@ -1711,17 +2121,28 @@ exports.postGroupsGroupidRolesetsCreate = {
1711
2121
  errors: [
1712
2122
  {
1713
2123
  status: 400,
1714
- description: "0: Something went wrong.\n3: You do not have enough funds to purchase this role.\n5: Role name already exists.\n6: Rank value is out of bounds.\n7: The role name is too long.\n8: The role description is too long.\n10: This group does not exist.\n11: Failed to process payment to purchase role.\n12: Limit for roles have been reached on this group.\n14: Role name can not be empty.\n15: This role does not exist.",
2124
+ description: `0: Something went wrong.
2125
+ 3: You do not have enough funds to purchase this role.
2126
+ 5: Role name already exists.
2127
+ 6: Rank value is out of bounds.
2128
+ 7: The role name is too long.
2129
+ 8: The role description is too long.
2130
+ 10: This group does not exist.
2131
+ 11: Failed to process payment to purchase role.
2132
+ 12: Limit for roles have been reached on this group.
2133
+ 14: Role name can not be empty.
2134
+ 15: This role does not exist.`,
1715
2135
  schema: zod_1.z.void(),
1716
2136
  },
1717
2137
  {
1718
2138
  status: 401,
1719
- description: "0: Authorization has been denied for this request.",
2139
+ description: `0: Authorization has been denied for this request.`,
1720
2140
  schema: zod_1.z.void(),
1721
2141
  },
1722
2142
  {
1723
2143
  status: 403,
1724
- description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.",
2144
+ description: `0: Token Validation Failed
2145
+ 9: You do not have permissions to perform this action.`,
1725
2146
  schema: zod_1.z.void(),
1726
2147
  },
1727
2148
  ],
@@ -1735,6 +2156,11 @@ exports.getGroupsGroupidSettings = {
1735
2156
  path: '/v1/groups/:groupId/settings',
1736
2157
  baseUrl: 'https://groups.roblox.com',
1737
2158
  requestFormat: 'json',
2159
+ serializationMethod: {
2160
+ groupId: {
2161
+ style: 'simple',
2162
+ },
2163
+ },
1738
2164
  parameters: {
1739
2165
  groupId: zod_1.z.number().int(),
1740
2166
  },
@@ -1742,17 +2168,17 @@ exports.getGroupsGroupidSettings = {
1742
2168
  errors: [
1743
2169
  {
1744
2170
  status: 400,
1745
- description: "1: Group is invalid or does not exist.",
2171
+ description: `1: Group is invalid or does not exist.`,
1746
2172
  schema: zod_1.z.void(),
1747
2173
  },
1748
2174
  {
1749
2175
  status: 401,
1750
- description: "0: Authorization has been denied for this request.",
2176
+ description: `0: Authorization has been denied for this request.`,
1751
2177
  schema: zod_1.z.void(),
1752
2178
  },
1753
2179
  {
1754
2180
  status: 403,
1755
- description: "23: Insufficient permissions to complete the request.",
2181
+ description: `23: Insufficient permissions to complete the request.`,
1756
2182
  schema: zod_1.z.void(),
1757
2183
  },
1758
2184
  ],
@@ -1767,6 +2193,12 @@ exports.patchGroupsGroupidSettings = {
1767
2193
  path: '/v1/groups/:groupId/settings',
1768
2194
  baseUrl: 'https://groups.roblox.com',
1769
2195
  requestFormat: 'json',
2196
+ serializationMethod: {
2197
+ body: {},
2198
+ groupId: {
2199
+ style: 'simple',
2200
+ },
2201
+ },
1770
2202
  parameters: {
1771
2203
  body: Roblox_Groups_Api_UpdateGroupSettingsRequest,
1772
2204
  groupId: zod_1.z.number().int(),
@@ -1775,22 +2207,23 @@ exports.patchGroupsGroupidSettings = {
1775
2207
  errors: [
1776
2208
  {
1777
2209
  status: 400,
1778
- description: "1: Group is invalid or does not exist.",
2210
+ description: `1: Group is invalid or does not exist.`,
1779
2211
  schema: zod_1.z.void(),
1780
2212
  },
1781
2213
  {
1782
2214
  status: 401,
1783
- description: "0: Authorization has been denied for this request.",
2215
+ description: `0: Authorization has been denied for this request.`,
1784
2216
  schema: zod_1.z.void(),
1785
2217
  },
1786
2218
  {
1787
2219
  status: 403,
1788
- description: "0: Token Validation Failed\n23: Insufficient permissions to complete the request.",
2220
+ description: `0: Token Validation Failed
2221
+ 23: Insufficient permissions to complete the request.`,
1789
2222
  schema: zod_1.z.void(),
1790
2223
  },
1791
2224
  {
1792
2225
  status: 503,
1793
- description: "31: Service is currently unavailable.",
2226
+ description: `31: Service is currently unavailable.`,
1794
2227
  schema: zod_1.z.void(),
1795
2228
  },
1796
2229
  ],
@@ -1804,6 +2237,11 @@ exports.getGroupsGroupidSocialLinks = {
1804
2237
  path: '/v1/groups/:groupId/social-links',
1805
2238
  baseUrl: 'https://groups.roblox.com',
1806
2239
  requestFormat: 'json',
2240
+ serializationMethod: {
2241
+ groupId: {
2242
+ style: 'simple',
2243
+ },
2244
+ },
1807
2245
  parameters: {
1808
2246
  groupId: zod_1.z.number().int(),
1809
2247
  },
@@ -1811,22 +2249,22 @@ exports.getGroupsGroupidSocialLinks = {
1811
2249
  errors: [
1812
2250
  {
1813
2251
  status: 400,
1814
- description: "1: Group is invalid or does not exist.",
2252
+ description: `1: Group is invalid or does not exist.`,
1815
2253
  schema: zod_1.z.void(),
1816
2254
  },
1817
2255
  {
1818
2256
  status: 401,
1819
- description: "0: Authorization has been denied for this request.",
2257
+ description: `0: Authorization has been denied for this request.`,
1820
2258
  schema: zod_1.z.void(),
1821
2259
  },
1822
2260
  {
1823
2261
  status: 403,
1824
- description: "13: Only users who are over thirteen years of age may edit social links.",
2262
+ description: `13: Only users who are over thirteen years of age may edit social links.`,
1825
2263
  schema: zod_1.z.void(),
1826
2264
  },
1827
2265
  {
1828
2266
  status: 404,
1829
- description: "11: Social links cannot be processed as this time.",
2267
+ description: `11: Social links cannot be processed as this time.`,
1830
2268
  schema: zod_1.z.void(),
1831
2269
  },
1832
2270
  ],
@@ -1841,6 +2279,12 @@ exports.postGroupsGroupidSocialLinks = {
1841
2279
  path: '/v1/groups/:groupId/social-links',
1842
2280
  baseUrl: 'https://groups.roblox.com',
1843
2281
  requestFormat: 'json',
2282
+ serializationMethod: {
2283
+ body: {},
2284
+ groupId: {
2285
+ style: 'simple',
2286
+ },
2287
+ },
1844
2288
  parameters: {
1845
2289
  body: Roblox_Groups_Api_SocialLinkRequest,
1846
2290
  groupId: zod_1.z.number().int(),
@@ -1849,27 +2293,33 @@ exports.postGroupsGroupidSocialLinks = {
1849
2293
  errors: [
1850
2294
  {
1851
2295
  status: 400,
1852
- description: "3: The social link title is too long.\n4: The social link title cannot be empty.\n5: The social link url cannot be empty.\n7: The request was null.\n9: The social link type is invalid.\n12: The social link title was moderated.",
2296
+ description: `3: The social link title is too long.
2297
+ 4: The social link title cannot be empty.
2298
+ 5: The social link url cannot be empty.
2299
+ 7: The request was null.
2300
+ 9: The social link type is invalid.
2301
+ 12: The social link title was moderated.`,
1853
2302
  schema: zod_1.z.void(),
1854
2303
  },
1855
2304
  {
1856
2305
  status: 401,
1857
- description: "0: Authorization has been denied for this request.",
2306
+ description: `0: Authorization has been denied for this request.`,
1858
2307
  schema: zod_1.z.void(),
1859
2308
  },
1860
2309
  {
1861
2310
  status: 403,
1862
- description: "0: Token Validation Failed\n2: You do not have permission to configure this social link.",
2311
+ description: `0: Token Validation Failed
2312
+ 2: You do not have permission to configure this social link.`,
1863
2313
  schema: zod_1.z.void(),
1864
2314
  },
1865
2315
  {
1866
2316
  status: 404,
1867
- description: "8: The requested group or social link was not found.",
2317
+ description: `8: The requested group or social link was not found.`,
1868
2318
  schema: zod_1.z.void(),
1869
2319
  },
1870
2320
  {
1871
2321
  status: 503,
1872
- description: "11: Social links cannot be processed as this time.",
2322
+ description: `11: Social links cannot be processed as this time.`,
1873
2323
  schema: zod_1.z.void(),
1874
2324
  },
1875
2325
  ],
@@ -1884,6 +2334,14 @@ exports.deleteGroupsGroupidSocialLinksSociallinkid = {
1884
2334
  path: '/v1/groups/:groupId/social-links/:socialLinkId',
1885
2335
  baseUrl: 'https://groups.roblox.com',
1886
2336
  requestFormat: 'json',
2337
+ serializationMethod: {
2338
+ groupId: {
2339
+ style: 'simple',
2340
+ },
2341
+ socialLinkId: {
2342
+ style: 'simple',
2343
+ },
2344
+ },
1887
2345
  parameters: {
1888
2346
  groupId: zod_1.z.number().int(),
1889
2347
  socialLinkId: zod_1.z.number().int(),
@@ -1892,22 +2350,26 @@ exports.deleteGroupsGroupidSocialLinksSociallinkid = {
1892
2350
  errors: [
1893
2351
  {
1894
2352
  status: 400,
1895
- description: "1: Group is invalid or does not exist.\n10: The social link is not for a group.\n15: The social link id doesn't match the group id.",
2353
+ description: `1: Group is invalid or does not exist.
2354
+ 10: The social link is not for a group.
2355
+ 15: The social link id doesn't match the group id.`,
1896
2356
  schema: zod_1.z.void(),
1897
2357
  },
1898
2358
  {
1899
2359
  status: 401,
1900
- description: "0: Authorization has been denied for this request.",
2360
+ description: `0: Authorization has been denied for this request.`,
1901
2361
  schema: zod_1.z.void(),
1902
2362
  },
1903
2363
  {
1904
2364
  status: 403,
1905
- description: "0: Token Validation Failed\n2: You do not have permission to configure this social link.\n13: Only users who are over thirteen years of age may edit social links.",
2365
+ description: `0: Token Validation Failed
2366
+ 2: You do not have permission to configure this social link.
2367
+ 13: Only users who are over thirteen years of age may edit social links.`,
1906
2368
  schema: zod_1.z.void(),
1907
2369
  },
1908
2370
  {
1909
2371
  status: 404,
1910
- description: "11: Social links cannot be processed as this time.",
2372
+ description: `11: Social links cannot be processed as this time.`,
1911
2373
  schema: zod_1.z.void(),
1912
2374
  },
1913
2375
  ],
@@ -1923,6 +2385,15 @@ exports.patchGroupsGroupidSocialLinksSociallinkid = {
1923
2385
  path: '/v1/groups/:groupId/social-links/:socialLinkId',
1924
2386
  baseUrl: 'https://groups.roblox.com',
1925
2387
  requestFormat: 'json',
2388
+ serializationMethod: {
2389
+ body: {},
2390
+ groupId: {
2391
+ style: 'simple',
2392
+ },
2393
+ socialLinkId: {
2394
+ style: 'simple',
2395
+ },
2396
+ },
1926
2397
  parameters: {
1927
2398
  body: Roblox_Groups_Api_SocialLinkRequest,
1928
2399
  groupId: zod_1.z.number().int(),
@@ -1932,27 +2403,38 @@ exports.patchGroupsGroupidSocialLinksSociallinkid = {
1932
2403
  errors: [
1933
2404
  {
1934
2405
  status: 400,
1935
- description: "1: Group is invalid or does not exist.\n3: The social link title is too long.\n4: The social link title cannot be empty.\n5: The social link url cannot be empty.\n6: The social link url was improperly formatted.\n7: The request was null.\n8: The requested group or social link was not found.\n9: The social link type is invalid.\n10: The social link is not for a group.\n12: The social link title was moderated.\n16: A social link with this type already exists on this group.",
2406
+ description: `1: Group is invalid or does not exist.
2407
+ 3: The social link title is too long.
2408
+ 4: The social link title cannot be empty.
2409
+ 5: The social link url cannot be empty.
2410
+ 6: The social link url was improperly formatted.
2411
+ 7: The request was null.
2412
+ 8: The requested group or social link was not found.
2413
+ 9: The social link type is invalid.
2414
+ 10: The social link is not for a group.
2415
+ 12: The social link title was moderated.
2416
+ 16: A social link with this type already exists on this group.`,
1936
2417
  schema: zod_1.z.void(),
1937
2418
  },
1938
2419
  {
1939
2420
  status: 401,
1940
- description: "0: Authorization has been denied for this request.",
2421
+ description: `0: Authorization has been denied for this request.`,
1941
2422
  schema: zod_1.z.void(),
1942
2423
  },
1943
2424
  {
1944
2425
  status: 403,
1945
- description: "0: Token Validation Failed\n2: You do not have permission to configure this social link.",
2426
+ description: `0: Token Validation Failed
2427
+ 2: You do not have permission to configure this social link.`,
1946
2428
  schema: zod_1.z.void(),
1947
2429
  },
1948
2430
  {
1949
2431
  status: 404,
1950
- description: "11: Social links cannot be processed as this time.",
2432
+ description: `11: Social links cannot be processed as this time.`,
1951
2433
  schema: zod_1.z.void(),
1952
2434
  },
1953
2435
  {
1954
2436
  status: 503,
1955
- description: "11: Social links cannot be processed as this time.",
2437
+ description: `11: Social links cannot be processed as this time.`,
1956
2438
  schema: zod_1.z.void(),
1957
2439
  },
1958
2440
  ],
@@ -1967,6 +2449,12 @@ exports.patchGroupsGroupidStatus = {
1967
2449
  path: '/v1/groups/:groupId/status',
1968
2450
  baseUrl: 'https://groups.roblox.com',
1969
2451
  requestFormat: 'json',
2452
+ serializationMethod: {
2453
+ body: {},
2454
+ groupId: {
2455
+ style: 'simple',
2456
+ },
2457
+ },
1970
2458
  parameters: {
1971
2459
  body: zod_1.z.object({ message: zod_1.z.string() }),
1972
2460
  groupId: zod_1.z.number().int(),
@@ -1975,17 +2463,19 @@ exports.patchGroupsGroupidStatus = {
1975
2463
  errors: [
1976
2464
  {
1977
2465
  status: 400,
1978
- description: "1: Group is invalid or does not exist.\n6: You are not authorized to set the status of this group\n7: Missing group status content.",
2466
+ description: `1: Group is invalid or does not exist.
2467
+ 6: You are not authorized to set the status of this group
2468
+ 7: Missing group status content.`,
1979
2469
  schema: zod_1.z.void(),
1980
2470
  },
1981
2471
  {
1982
2472
  status: 401,
1983
- description: "0: Authorization has been denied for this request.",
2473
+ description: `0: Authorization has been denied for this request.`,
1984
2474
  schema: zod_1.z.void(),
1985
2475
  },
1986
2476
  {
1987
2477
  status: 403,
1988
- description: "0: Token Validation Failed",
2478
+ description: `0: Token Validation Failed`,
1989
2479
  schema: zod_1.z.void(),
1990
2480
  },
1991
2481
  ],
@@ -2002,6 +2492,23 @@ exports.getGroupsGroupidUsers = {
2002
2492
  path: '/v1/groups/:groupId/users',
2003
2493
  baseUrl: 'https://groups.roblox.com',
2004
2494
  requestFormat: 'json',
2495
+ serializationMethod: {
2496
+ groupId: {
2497
+ style: 'simple',
2498
+ },
2499
+ limit: {
2500
+ style: 'form',
2501
+ explode: true,
2502
+ },
2503
+ cursor: {
2504
+ style: 'form',
2505
+ explode: true,
2506
+ },
2507
+ sortOrder: {
2508
+ style: 'form',
2509
+ explode: true,
2510
+ },
2511
+ },
2005
2512
  parameters: {
2006
2513
  groupId: zod_1.z.number().int(),
2007
2514
  limit: zod_1.z
@@ -2015,7 +2522,7 @@ exports.getGroupsGroupidUsers = {
2015
2522
  errors: [
2016
2523
  {
2017
2524
  status: 400,
2018
- description: "1: The group is invalid or does not exist.",
2525
+ description: `1: The group is invalid or does not exist.`,
2019
2526
  schema: zod_1.z.void(),
2020
2527
  },
2021
2528
  ],
@@ -2030,6 +2537,12 @@ exports.postGroupsGroupidUsers = {
2030
2537
  path: '/v1/groups/:groupId/users',
2031
2538
  baseUrl: 'https://groups.roblox.com',
2032
2539
  requestFormat: 'json',
2540
+ serializationMethod: {
2541
+ body: {},
2542
+ groupId: {
2543
+ style: 'simple',
2544
+ },
2545
+ },
2033
2546
  parameters: {
2034
2547
  body: Roblox_Groups_Api_JoinGroupRequest,
2035
2548
  groupId: zod_1.z.number().int(),
@@ -2038,32 +2551,37 @@ exports.postGroupsGroupidUsers = {
2038
2551
  errors: [
2039
2552
  {
2040
2553
  status: 400,
2041
- description: "1: The group is invalid or does not exist.",
2554
+ description: `1: The group is invalid or does not exist.`,
2042
2555
  schema: zod_1.z.void(),
2043
2556
  },
2044
2557
  {
2045
2558
  status: 401,
2046
- description: "0: Authorization has been denied for this request.",
2559
+ description: `0: Authorization has been denied for this request.`,
2047
2560
  schema: zod_1.z.void(),
2048
2561
  },
2049
2562
  {
2050
2563
  status: 403,
2051
- description: "0: Token Validation Failed\n5: You must pass the captcha test before joining this group.\n6: You are already in the maximum number of groups.\n9: You do not have the builders club membership necessary to join this group.\n14: You cannot join a closed group.",
2564
+ description: `0: Token Validation Failed
2565
+ 5: You must pass the captcha test before joining this group.
2566
+ 6: You are already in the maximum number of groups.
2567
+ 9: You do not have the builders club membership necessary to join this group.
2568
+ 14: You cannot join a closed group.`,
2052
2569
  schema: zod_1.z.void(),
2053
2570
  },
2054
2571
  {
2055
2572
  status: 409,
2056
- description: "7: You have already requested to join this group.\n8: You are already a member of this group.",
2573
+ description: `7: You have already requested to join this group.
2574
+ 8: You are already a member of this group.`,
2057
2575
  schema: zod_1.z.void(),
2058
2576
  },
2059
2577
  {
2060
2578
  status: 429,
2061
- description: "10: Too many attempts to join the group. Please try again later.",
2579
+ description: `10: Too many attempts to join the group. Please try again later.`,
2062
2580
  schema: zod_1.z.void(),
2063
2581
  },
2064
2582
  {
2065
2583
  status: 503,
2066
- description: "18: The operation is temporarily unavailable. Please try again later.",
2584
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
2067
2585
  schema: zod_1.z.void(),
2068
2586
  },
2069
2587
  ],
@@ -2078,6 +2596,14 @@ exports.deleteGroupsGroupidUsersUserid = {
2078
2596
  path: '/v1/groups/:groupId/users/:userId',
2079
2597
  baseUrl: 'https://groups.roblox.com',
2080
2598
  requestFormat: 'json',
2599
+ serializationMethod: {
2600
+ groupId: {
2601
+ style: 'simple',
2602
+ },
2603
+ userId: {
2604
+ style: 'simple',
2605
+ },
2606
+ },
2081
2607
  parameters: {
2082
2608
  groupId: zod_1.z.number().int(),
2083
2609
  userId: zod_1.z.number().int(),
@@ -2086,22 +2612,25 @@ exports.deleteGroupsGroupidUsersUserid = {
2086
2612
  errors: [
2087
2613
  {
2088
2614
  status: 400,
2089
- description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.",
2615
+ description: `1: The group is invalid or does not exist.
2616
+ 3: The user is invalid or does not exist.`,
2090
2617
  schema: zod_1.z.void(),
2091
2618
  },
2092
2619
  {
2093
2620
  status: 401,
2094
- description: "0: Authorization has been denied for this request.",
2621
+ description: `0: Authorization has been denied for this request.`,
2095
2622
  schema: zod_1.z.void(),
2096
2623
  },
2097
2624
  {
2098
2625
  status: 403,
2099
- description: "0: Token Validation Failed\n4: You do not have permission to manage this member.\n25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.",
2626
+ description: `0: Token Validation Failed
2627
+ 4: You do not have permission to manage this member.
2628
+ 25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.`,
2100
2629
  schema: zod_1.z.void(),
2101
2630
  },
2102
2631
  {
2103
2632
  status: 503,
2104
- description: "18: The operation is temporarily unavailable. Please try again later.",
2633
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
2105
2634
  schema: zod_1.z.void(),
2106
2635
  },
2107
2636
  ],
@@ -2117,6 +2646,15 @@ exports.patchGroupsGroupidUsersUserid = {
2117
2646
  path: '/v1/groups/:groupId/users/:userId',
2118
2647
  baseUrl: 'https://groups.roblox.com',
2119
2648
  requestFormat: 'json',
2649
+ serializationMethod: {
2650
+ body: {},
2651
+ groupId: {
2652
+ style: 'simple',
2653
+ },
2654
+ userId: {
2655
+ style: 'simple',
2656
+ },
2657
+ },
2120
2658
  parameters: {
2121
2659
  body: zod_1.z.object({ roleId: zod_1.z.number().int() }),
2122
2660
  groupId: zod_1.z.number().int(),
@@ -2126,22 +2664,27 @@ exports.patchGroupsGroupidUsersUserid = {
2126
2664
  errors: [
2127
2665
  {
2128
2666
  status: 400,
2129
- description: "1: The group is invalid or does not exist.\n2: The roleset is invalid or does not exist.\n3: The user is invalid or does not exist.\n23: You cannot change your own role.\n26: You cannot change the user's role to the same role.",
2667
+ description: `1: The group is invalid or does not exist.
2668
+ 2: The roleset is invalid or does not exist.
2669
+ 3: The user is invalid or does not exist.
2670
+ 23: You cannot change your own role.
2671
+ 26: You cannot change the user's role to the same role.`,
2130
2672
  schema: zod_1.z.void(),
2131
2673
  },
2132
2674
  {
2133
2675
  status: 401,
2134
- description: "0: Authorization has been denied for this request.",
2676
+ description: `0: Authorization has been denied for this request.`,
2135
2677
  schema: zod_1.z.void(),
2136
2678
  },
2137
2679
  {
2138
2680
  status: 403,
2139
- description: "0: Token Validation Failed\n4: You do not have permission to manage this member.",
2681
+ description: `0: Token Validation Failed
2682
+ 4: You do not have permission to manage this member.`,
2140
2683
  schema: zod_1.z.void(),
2141
2684
  },
2142
2685
  {
2143
2686
  status: 503,
2144
- description: "18: The operation is temporarily unavailable. Please try again later.",
2687
+ description: `18: The operation is temporarily unavailable. Please try again later.`,
2145
2688
  schema: zod_1.z.void(),
2146
2689
  },
2147
2690
  ],
@@ -2158,6 +2701,23 @@ exports.getGroupsGroupidWallPosts = {
2158
2701
  path: '/v1/groups/:groupId/wall/posts',
2159
2702
  baseUrl: 'https://groups.roblox.com',
2160
2703
  requestFormat: 'json',
2704
+ serializationMethod: {
2705
+ groupId: {
2706
+ style: 'simple',
2707
+ },
2708
+ limit: {
2709
+ style: 'form',
2710
+ explode: true,
2711
+ },
2712
+ cursor: {
2713
+ style: 'form',
2714
+ explode: true,
2715
+ },
2716
+ sortOrder: {
2717
+ style: 'form',
2718
+ explode: true,
2719
+ },
2720
+ },
2161
2721
  parameters: {
2162
2722
  groupId: zod_1.z.number().int(),
2163
2723
  limit: zod_1.z
@@ -2171,12 +2731,12 @@ exports.getGroupsGroupidWallPosts = {
2171
2731
  errors: [
2172
2732
  {
2173
2733
  status: 400,
2174
- description: "1: The group is invalid or does not exist.",
2734
+ description: `1: The group is invalid or does not exist.`,
2175
2735
  schema: zod_1.z.void(),
2176
2736
  },
2177
2737
  {
2178
2738
  status: 403,
2179
- description: "2: You do not have permission to access this group wall.",
2739
+ description: `2: You do not have permission to access this group wall.`,
2180
2740
  schema: zod_1.z.void(),
2181
2741
  },
2182
2742
  ],
@@ -2191,6 +2751,12 @@ exports.postGroupsGroupidWallPosts = {
2191
2751
  path: '/v1/groups/:groupId/wall/posts',
2192
2752
  baseUrl: 'https://groups.roblox.com',
2193
2753
  requestFormat: 'json',
2754
+ serializationMethod: {
2755
+ body: {},
2756
+ groupId: {
2757
+ style: 'simple',
2758
+ },
2759
+ },
2194
2760
  parameters: {
2195
2761
  body: Roblox_Groups_Api_CreateWallPostRequest,
2196
2762
  groupId: zod_1.z.number().int(),
@@ -2199,22 +2765,25 @@ exports.postGroupsGroupidWallPosts = {
2199
2765
  errors: [
2200
2766
  {
2201
2767
  status: 400,
2202
- description: "1: The group is invalid or does not exist.\n5: Your post was empty, white space, or more than 500 characters.",
2768
+ description: `1: The group is invalid or does not exist.
2769
+ 5: Your post was empty, white space, or more than 500 characters.`,
2203
2770
  schema: zod_1.z.void(),
2204
2771
  },
2205
2772
  {
2206
2773
  status: 401,
2207
- description: "0: Authorization has been denied for this request.",
2774
+ description: `0: Authorization has been denied for this request.`,
2208
2775
  schema: zod_1.z.void(),
2209
2776
  },
2210
2777
  {
2211
2778
  status: 403,
2212
- description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.\n7: Captcha must be solved.",
2779
+ description: `0: Token Validation Failed
2780
+ 2: You do not have permission to access this group wall.
2781
+ 7: Captcha must be solved.`,
2213
2782
  schema: zod_1.z.void(),
2214
2783
  },
2215
2784
  {
2216
2785
  status: 429,
2217
- description: "4: You are posting too fast, please try again in a few minutes.",
2786
+ description: `4: You are posting too fast, please try again in a few minutes.`,
2218
2787
  schema: zod_1.z.void(),
2219
2788
  },
2220
2789
  ],
@@ -2229,6 +2798,14 @@ exports.deleteGroupsGroupidWallPostsPostid = {
2229
2798
  path: '/v1/groups/:groupId/wall/posts/:postId',
2230
2799
  baseUrl: 'https://groups.roblox.com',
2231
2800
  requestFormat: 'json',
2801
+ serializationMethod: {
2802
+ groupId: {
2803
+ style: 'simple',
2804
+ },
2805
+ postId: {
2806
+ style: 'simple',
2807
+ },
2808
+ },
2232
2809
  parameters: {
2233
2810
  groupId: zod_1.z.number().int(),
2234
2811
  postId: zod_1.z.number().int(),
@@ -2237,17 +2814,19 @@ exports.deleteGroupsGroupidWallPostsPostid = {
2237
2814
  errors: [
2238
2815
  {
2239
2816
  status: 400,
2240
- description: "1: The group is invalid or does not exist.\n3: The group wall post id is invalid or does not exist.",
2817
+ description: `1: The group is invalid or does not exist.
2818
+ 3: The group wall post id is invalid or does not exist.`,
2241
2819
  schema: zod_1.z.void(),
2242
2820
  },
2243
2821
  {
2244
2822
  status: 401,
2245
- description: "0: Authorization has been denied for this request.",
2823
+ description: `0: Authorization has been denied for this request.`,
2246
2824
  schema: zod_1.z.void(),
2247
2825
  },
2248
2826
  {
2249
2827
  status: 403,
2250
- description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
2828
+ description: `0: Token Validation Failed
2829
+ 2: You do not have permission to access this group wall.`,
2251
2830
  schema: zod_1.z.void(),
2252
2831
  },
2253
2832
  ],
@@ -2261,6 +2840,11 @@ exports.postGroupsGroupidWallSubscribe = {
2261
2840
  path: '/v1/groups/:groupId/wall/subscribe',
2262
2841
  baseUrl: 'https://groups.roblox.com',
2263
2842
  requestFormat: 'json',
2843
+ serializationMethod: {
2844
+ groupId: {
2845
+ style: 'simple',
2846
+ },
2847
+ },
2264
2848
  parameters: {
2265
2849
  groupId: zod_1.z.number().int(),
2266
2850
  },
@@ -2268,17 +2852,18 @@ exports.postGroupsGroupidWallSubscribe = {
2268
2852
  errors: [
2269
2853
  {
2270
2854
  status: 400,
2271
- description: "1: The group is invalid or does not exist.",
2855
+ description: `1: The group is invalid or does not exist.`,
2272
2856
  schema: zod_1.z.void(),
2273
2857
  },
2274
2858
  {
2275
2859
  status: 401,
2276
- description: "0: Authorization has been denied for this request.",
2860
+ description: `0: Authorization has been denied for this request.`,
2277
2861
  schema: zod_1.z.void(),
2278
2862
  },
2279
2863
  {
2280
2864
  status: 403,
2281
- description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
2865
+ description: `0: Token Validation Failed
2866
+ 2: You do not have permission to access this group wall.`,
2282
2867
  schema: zod_1.z.void(),
2283
2868
  },
2284
2869
  ],
@@ -2293,6 +2878,14 @@ exports.deleteGroupsGroupidWallUsersUseridPosts = {
2293
2878
  path: '/v1/groups/:groupId/wall/users/:userId/posts',
2294
2879
  baseUrl: 'https://groups.roblox.com',
2295
2880
  requestFormat: 'json',
2881
+ serializationMethod: {
2882
+ groupId: {
2883
+ style: 'simple',
2884
+ },
2885
+ userId: {
2886
+ style: 'simple',
2887
+ },
2888
+ },
2296
2889
  parameters: {
2297
2890
  groupId: zod_1.z.number().int(),
2298
2891
  userId: zod_1.z.number().int(),
@@ -2301,17 +2894,19 @@ exports.deleteGroupsGroupidWallUsersUseridPosts = {
2301
2894
  errors: [
2302
2895
  {
2303
2896
  status: 400,
2304
- description: "1: The group is invalid or does not exist.\n6: The user specified is invalid or does not exist.",
2897
+ description: `1: The group is invalid or does not exist.
2898
+ 6: The user specified is invalid or does not exist.`,
2305
2899
  schema: zod_1.z.void(),
2306
2900
  },
2307
2901
  {
2308
2902
  status: 401,
2309
- description: "0: Authorization has been denied for this request.",
2903
+ description: `0: Authorization has been denied for this request.`,
2310
2904
  schema: zod_1.z.void(),
2311
2905
  },
2312
2906
  {
2313
2907
  status: 403,
2314
- description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
2908
+ description: `0: Token Validation Failed
2909
+ 2: You do not have permission to access this group wall.`,
2315
2910
  schema: zod_1.z.void(),
2316
2911
  },
2317
2912
  ],
@@ -2335,46 +2930,59 @@ exports.postGroupsCreate = {
2335
2930
  method: 'post',
2336
2931
  path: '/v1/groups/create',
2337
2932
  baseUrl: 'https://groups.roblox.com',
2338
- description: "This endpoint will charge Robux for the group purchase.\nHttp status code 413 is thrown when the group icon file size is too large.",
2933
+ description: `This endpoint will charge Robux for the group purchase.
2934
+ Http status code 413 is thrown when the group icon file size is too large.`,
2339
2935
  requestFormat: 'form-data',
2936
+ serializationMethod: {
2937
+ body: {},
2938
+ },
2340
2939
  parameters: {
2341
- body: postGroupsCreate_Body,
2940
+ body: groups_create_body,
2342
2941
  },
2343
2942
  response: Roblox_Web_Responses_Groups_GroupResponseV2,
2344
2943
  errors: [
2345
2944
  {
2346
2945
  status: 400,
2347
- description: "13: The name is invalid.\n15: The group icon is invalid.\n16: The group icon is missing from the request.\n18: The description is too long.\n19: The name is too long.\n20: The name has been taken.",
2946
+ description: `13: The name is invalid.
2947
+ 15: The group icon is invalid.
2948
+ 16: The group icon is missing from the request.
2949
+ 18: The description is too long.
2950
+ 19: The name is too long.
2951
+ 20: The name has been taken.`,
2348
2952
  schema: zod_1.z.void(),
2349
2953
  },
2350
2954
  {
2351
2955
  status: 401,
2352
- description: "0: Authorization has been denied for this request.",
2956
+ description: `0: Authorization has been denied for this request.`,
2353
2957
  schema: zod_1.z.void(),
2354
2958
  },
2355
2959
  {
2356
2960
  status: 403,
2357
- description: "0: Token Validation Failed\n10: User must have builders club membership.\n11: User is in maximum number of groups.\n12: Insufficient Robux funds.\n14: The name is moderated.",
2961
+ description: `0: Token Validation Failed
2962
+ 10: User must have builders club membership.
2963
+ 11: User is in maximum number of groups.
2964
+ 12: Insufficient Robux funds.
2965
+ 14: The name is moderated.`,
2358
2966
  schema: zod_1.z.void(),
2359
2967
  },
2360
2968
  {
2361
2969
  status: 409,
2362
- description: "37: The name was in use too recently.",
2970
+ description: `37: The name was in use too recently.`,
2363
2971
  schema: zod_1.z.void(),
2364
2972
  },
2365
2973
  {
2366
2974
  status: 413,
2367
- description: "0: Unknown error.",
2975
+ description: `0: Unknown error.`,
2368
2976
  schema: zod_1.z.void(),
2369
2977
  },
2370
2978
  {
2371
2979
  status: 429,
2372
- description: "17: Too many requests.",
2980
+ description: `17: Too many requests.`,
2373
2981
  schema: zod_1.z.void(),
2374
2982
  },
2375
2983
  {
2376
2984
  status: 503,
2377
- description: "21: Group creation is currently disabled.",
2985
+ description: `21: Group creation is currently disabled.`,
2378
2986
  schema: zod_1.z.void(),
2379
2987
  },
2380
2988
  ],
@@ -2389,30 +2997,41 @@ exports.patchGroupsIcon = {
2389
2997
  path: '/v1/groups/icon',
2390
2998
  baseUrl: 'https://groups.roblox.com',
2391
2999
  requestFormat: 'form-data',
3000
+ serializationMethod: {
3001
+ body: {},
3002
+ groupId: {
3003
+ style: 'form',
3004
+ explode: true,
3005
+ },
3006
+ },
2392
3007
  parameters: {
2393
- body: zod_1.z.object({ Files: zod_1.z.unknown() }),
3008
+ body: zod_1.z.object({ Files: zod_1.z.instanceof(File) }),
2394
3009
  groupId: zod_1.z.number().int(),
2395
3010
  },
2396
3011
  response: zod_1.z.object({}),
2397
3012
  errors: [
2398
3013
  {
2399
3014
  status: 400,
2400
- description: "1: Group is invalid or does not exist.\n16: The group icon is missing from the request.\n17: Too many requests.\n30: Invalid file type for group icon.",
3015
+ description: `1: Group is invalid or does not exist.
3016
+ 16: The group icon is missing from the request.
3017
+ 17: Too many requests.
3018
+ 30: Invalid file type for group icon.`,
2401
3019
  schema: zod_1.z.void(),
2402
3020
  },
2403
3021
  {
2404
3022
  status: 401,
2405
- description: "0: Authorization has been denied for this request.",
3023
+ description: `0: Authorization has been denied for this request.`,
2406
3024
  schema: zod_1.z.void(),
2407
3025
  },
2408
3026
  {
2409
3027
  status: 403,
2410
- description: "0: Token Validation Failed\n23: Insufficient permissions to complete the request.",
3028
+ description: `0: Token Validation Failed
3029
+ 23: Insufficient permissions to complete the request.`,
2411
3030
  schema: zod_1.z.void(),
2412
3031
  },
2413
3032
  {
2414
3033
  status: 413,
2415
- description: "0: Unknown error.",
3034
+ description: `0: Unknown error.`,
2416
3035
  schema: zod_1.z.void(),
2417
3036
  },
2418
3037
  ],
@@ -2437,6 +3056,9 @@ exports.postGroupsPolicies = {
2437
3056
  path: '/v1/groups/policies',
2438
3057
  baseUrl: 'https://groups.roblox.com',
2439
3058
  requestFormat: 'json',
3059
+ serializationMethod: {
3060
+ body: {},
3061
+ },
2440
3062
  parameters: {
2441
3063
  body: Roblox_Groups_Api_GroupPolicyRequest,
2442
3064
  },
@@ -2444,17 +3066,18 @@ exports.postGroupsPolicies = {
2444
3066
  errors: [
2445
3067
  {
2446
3068
  status: 400,
2447
- description: "1: Too many ids in request.\n2: Ids could not be parsed from request.",
3069
+ description: `1: Too many ids in request.
3070
+ 2: Ids could not be parsed from request.`,
2448
3071
  schema: zod_1.z.void(),
2449
3072
  },
2450
3073
  {
2451
3074
  status: 401,
2452
- description: "0: Authorization has been denied for this request.",
3075
+ description: `0: Authorization has been denied for this request.`,
2453
3076
  schema: zod_1.z.void(),
2454
3077
  },
2455
3078
  {
2456
3079
  status: 403,
2457
- description: "0: Token Validation Failed",
3080
+ description: `0: Token Validation Failed`,
2458
3081
  schema: zod_1.z.void(),
2459
3082
  },
2460
3083
  ],
@@ -2471,6 +3094,24 @@ exports.getGroupsSearch = {
2471
3094
  path: '/v1/groups/search',
2472
3095
  baseUrl: 'https://groups.roblox.com',
2473
3096
  requestFormat: 'json',
3097
+ serializationMethod: {
3098
+ keyword: {
3099
+ style: 'form',
3100
+ explode: true,
3101
+ },
3102
+ prioritizeExactMatch: {
3103
+ style: 'form',
3104
+ explode: true,
3105
+ },
3106
+ limit: {
3107
+ style: 'form',
3108
+ explode: true,
3109
+ },
3110
+ cursor: {
3111
+ style: 'form',
3112
+ explode: true,
3113
+ },
3114
+ },
2474
3115
  parameters: {
2475
3116
  keyword: zod_1.z.string(),
2476
3117
  prioritizeExactMatch: zod_1.z.boolean().optional(),
@@ -2484,7 +3125,9 @@ exports.getGroupsSearch = {
2484
3125
  errors: [
2485
3126
  {
2486
3127
  status: 400,
2487
- description: "2: Search term not appropriate for Roblox.\n3: Search term was left empty.\n4: Search terms can be 2 to 50 characters long.",
3128
+ description: `2: Search term not appropriate for Roblox.
3129
+ 3: Search term was left empty.
3130
+ 4: Search terms can be 2 to 50 characters long.`,
2488
3131
  schema: zod_1.z.void(),
2489
3132
  },
2490
3133
  ],
@@ -2497,8 +3140,14 @@ exports.getGroupsSearchLookup = {
2497
3140
  method: 'get',
2498
3141
  path: '/v1/groups/search/lookup',
2499
3142
  baseUrl: 'https://groups.roblox.com',
2500
- description: "Should only be used for direct lookups where a user is inputting a group name, shouldn't be used for search pages.",
3143
+ description: `Should only be used for direct lookups where a user is inputting a group name, shouldn't be used for search pages.`,
2501
3144
  requestFormat: 'json',
3145
+ serializationMethod: {
3146
+ groupName: {
3147
+ style: 'form',
3148
+ explode: true,
3149
+ },
3150
+ },
2502
3151
  parameters: {
2503
3152
  groupName: zod_1.z.string(),
2504
3153
  },
@@ -2506,7 +3155,7 @@ exports.getGroupsSearchLookup = {
2506
3155
  errors: [
2507
3156
  {
2508
3157
  status: 400,
2509
- description: "1: Name is missing or has invalid characters.",
3158
+ description: `1: Name is missing or has invalid characters.`,
2510
3159
  schema: zod_1.z.void(),
2511
3160
  },
2512
3161
  ],
@@ -2518,13 +3167,14 @@ exports.getGroupsSearchMetadata = {
2518
3167
  method: 'get',
2519
3168
  path: '/v1/groups/search/metadata',
2520
3169
  baseUrl: 'https://groups.roblox.com',
2521
- description: "Although there is no reason for this to require an authenticated user right now, in the future,\nwe will use coco to return different suggested groups based upon that user's request context",
3170
+ description: `Although there is no reason for this to require an authenticated user right now, in the future,
3171
+ we will use coco to return different suggested groups based upon that user's request context`,
2522
3172
  requestFormat: 'json',
2523
3173
  response: Roblox_Groups_Api_GroupSearchMetadataResponse,
2524
3174
  errors: [
2525
3175
  {
2526
3176
  status: 404,
2527
- description: "5: No Localized Version of group search category exists",
3177
+ description: `5: No Localized Version of group search category exists`,
2528
3178
  schema: zod_1.z.void(),
2529
3179
  },
2530
3180
  ],
@@ -2538,6 +3188,11 @@ exports.getRoles = {
2538
3188
  path: '/v1/roles',
2539
3189
  baseUrl: 'https://groups.roblox.com',
2540
3190
  requestFormat: 'json',
3191
+ serializationMethod: {
3192
+ ids: {
3193
+ style: 'form',
3194
+ },
3195
+ },
2541
3196
  parameters: {
2542
3197
  ids: zod_1.z.array(zod_1.z.number()),
2543
3198
  },
@@ -2545,7 +3200,8 @@ exports.getRoles = {
2545
3200
  errors: [
2546
3201
  {
2547
3202
  status: 400,
2548
- description: "1: Ids could not be parsed from request.\n2: Too many ids in request.",
3203
+ description: `1: Ids could not be parsed from request.
3204
+ 2: Too many ids in request.`,
2549
3205
  schema: zod_1.z.void(),
2550
3206
  },
2551
3207
  ],
@@ -2562,60 +3218,64 @@ exports.getUserGroupsPending = {
2562
3218
  errors: [
2563
3219
  {
2564
3220
  status: 401,
2565
- description: "0: Authorization has been denied for this request.",
3221
+ description: `0: Authorization has been denied for this request.`,
2566
3222
  schema: zod_1.z.void(),
2567
3223
  },
2568
3224
  ],
2569
3225
  };
2570
3226
  /**
2571
- * @api delete https://groups.roblox.com/v1/user/groups/primary
3227
+ * @api post https://groups.roblox.com/v1/user/groups/primary
3228
+ * @param body The request body containing the group id.
2572
3229
  */
2573
- exports.deleteUserGroupsPrimary = {
2574
- method: 'delete',
3230
+ exports.postUserGroupsPrimary = {
3231
+ method: 'post',
2575
3232
  path: '/v1/user/groups/primary',
2576
3233
  baseUrl: 'https://groups.roblox.com',
2577
3234
  requestFormat: 'json',
3235
+ serializationMethod: {
3236
+ body: {},
3237
+ },
3238
+ parameters: {
3239
+ body: zod_1.z.object({ groupId: zod_1.z.number().int() }),
3240
+ },
2578
3241
  response: zod_1.z.object({}),
2579
3242
  errors: [
3243
+ {
3244
+ status: 400,
3245
+ description: `1: Group is invalid or does not exist.`,
3246
+ schema: zod_1.z.void(),
3247
+ },
2580
3248
  {
2581
3249
  status: 401,
2582
- description: "0: Authorization has been denied for this request.",
3250
+ description: `0: Authorization has been denied for this request.`,
2583
3251
  schema: zod_1.z.void(),
2584
3252
  },
2585
3253
  {
2586
3254
  status: 403,
2587
- description: "0: Token Validation Failed",
3255
+ description: `0: Token Validation Failed
3256
+ 2: You aren't a member of the group specified.`,
2588
3257
  schema: zod_1.z.void(),
2589
3258
  },
2590
3259
  ],
2591
3260
  };
2592
3261
  /**
2593
- * @api post https://groups.roblox.com/v1/user/groups/primary
2594
- * @param body The request body containing the group id.
3262
+ * @api delete https://groups.roblox.com/v1/user/groups/primary
2595
3263
  */
2596
- exports.postUserGroupsPrimary = {
2597
- method: 'post',
3264
+ exports.deleteUserGroupsPrimary = {
3265
+ method: 'delete',
2598
3266
  path: '/v1/user/groups/primary',
2599
3267
  baseUrl: 'https://groups.roblox.com',
2600
3268
  requestFormat: 'json',
2601
- parameters: {
2602
- body: zod_1.z.object({ groupId: zod_1.z.number().int() }),
2603
- },
2604
3269
  response: zod_1.z.object({}),
2605
3270
  errors: [
2606
- {
2607
- status: 400,
2608
- description: "1: Group is invalid or does not exist.",
2609
- schema: zod_1.z.void(),
2610
- },
2611
3271
  {
2612
3272
  status: 401,
2613
- description: "0: Authorization has been denied for this request.",
3273
+ description: `0: Authorization has been denied for this request.`,
2614
3274
  schema: zod_1.z.void(),
2615
3275
  },
2616
3276
  {
2617
3277
  status: 403,
2618
- description: "0: Token Validation Failed\n2: You aren't a member of the group specified.",
3278
+ description: `0: Token Validation Failed`,
2619
3279
  schema: zod_1.z.void(),
2620
3280
  },
2621
3281
  ],
@@ -2629,6 +3289,11 @@ exports.getUsersUseridFriendsGroupsRoles = {
2629
3289
  path: '/v1/users/:userId/friends/groups/roles',
2630
3290
  baseUrl: 'https://groups.roblox.com',
2631
3291
  requestFormat: 'json',
3292
+ serializationMethod: {
3293
+ userId: {
3294
+ style: 'simple',
3295
+ },
3296
+ },
2632
3297
  parameters: {
2633
3298
  userId: zod_1.z.number().int(),
2634
3299
  },
@@ -2636,12 +3301,12 @@ exports.getUsersUseridFriendsGroupsRoles = {
2636
3301
  errors: [
2637
3302
  {
2638
3303
  status: 400,
2639
- description: "3: The user is invalid or does not exist.",
3304
+ description: `3: The user is invalid or does not exist.`,
2640
3305
  schema: zod_1.z.void(),
2641
3306
  },
2642
3307
  {
2643
3308
  status: 401,
2644
- description: "3: The user is invalid or does not exist.",
3309
+ description: `3: The user is invalid or does not exist.`,
2645
3310
  schema: zod_1.z.void(),
2646
3311
  },
2647
3312
  ],
@@ -2655,6 +3320,11 @@ exports.getUsersUseridGroupsPrimaryRole = {
2655
3320
  path: '/v1/users/:userId/groups/primary/role',
2656
3321
  baseUrl: 'https://groups.roblox.com',
2657
3322
  requestFormat: 'json',
3323
+ serializationMethod: {
3324
+ userId: {
3325
+ style: 'simple',
3326
+ },
3327
+ },
2658
3328
  parameters: {
2659
3329
  userId: zod_1.z.number().int(),
2660
3330
  },
@@ -2662,7 +3332,7 @@ exports.getUsersUseridGroupsPrimaryRole = {
2662
3332
  errors: [
2663
3333
  {
2664
3334
  status: 400,
2665
- description: "4: User is invalid or does not exist.",
3335
+ description: `4: User is invalid or does not exist.`,
2666
3336
  schema: zod_1.z.void(),
2667
3337
  },
2668
3338
  ],
@@ -2676,6 +3346,11 @@ exports.getUsersUseridGroupsRoles = {
2676
3346
  path: '/v1/users/:userId/groups/roles',
2677
3347
  baseUrl: 'https://groups.roblox.com',
2678
3348
  requestFormat: 'json',
3349
+ serializationMethod: {
3350
+ userId: {
3351
+ style: 'simple',
3352
+ },
3353
+ },
2679
3354
  parameters: {
2680
3355
  userId: zod_1.z.number().int(),
2681
3356
  },
@@ -2683,7 +3358,7 @@ exports.getUsersUseridGroupsRoles = {
2683
3358
  errors: [
2684
3359
  {
2685
3360
  status: 400,
2686
- description: "3: The user is invalid or does not exist.",
3361
+ description: `3: The user is invalid or does not exist.`,
2687
3362
  schema: zod_1.z.void(),
2688
3363
  },
2689
3364
  ],