rozod 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +551 -0
- package/lib/endpoints/accountinformationv1.js +652 -0
- package/lib/endpoints/accountsettingsv1.d.ts +548 -0
- package/lib/endpoints/accountsettingsv1.js +712 -0
- package/lib/endpoints/assetdeliveryv1.d.ts +599 -0
- package/lib/endpoints/assetdeliveryv1.js +268 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +780 -0
- package/lib/endpoints/assetdeliveryv2.js +271 -0
- package/lib/endpoints/authv1.d.ts +1328 -0
- package/lib/endpoints/authv1.js +1168 -0
- package/lib/endpoints/authv2.d.ts +1239 -0
- package/lib/endpoints/authv2.js +1057 -0
- package/lib/endpoints/authv3.d.ts +35 -0
- package/lib/endpoints/authv3.js +41 -0
- package/lib/endpoints/avatarv1.d.ts +1841 -0
- package/lib/endpoints/avatarv1.js +726 -0
- package/lib/endpoints/avatarv2.d.ts +1077 -0
- package/lib/endpoints/avatarv2.js +316 -0
- package/lib/endpoints/avatarv3.d.ts +656 -0
- package/lib/endpoints/avatarv3.js +219 -0
- package/lib/endpoints/badgesv1.d.ts +641 -0
- package/lib/endpoints/badgesv1.js +345 -0
- package/lib/endpoints/catalogv1.d.ts +1715 -0
- package/lib/endpoints/catalogv1.js +792 -0
- package/lib/endpoints/chatv2.d.ts +2179 -0
- package/lib/endpoints/chatv2.js +721 -0
- package/lib/endpoints/developv1.d.ts +2097 -0
- package/lib/endpoints/developv1.js +1537 -0
- package/lib/endpoints/developv2.d.ts +619 -0
- package/lib/endpoints/developv2.js +316 -0
- package/lib/endpoints/economyv1.d.ts +20 -0
- package/lib/endpoints/economyv1.js +28 -0
- package/lib/endpoints/friendsv1.d.ts +1093 -0
- package/lib/endpoints/friendsv1.js +818 -0
- package/lib/endpoints/gamesv1.d.ts +2749 -0
- package/lib/endpoints/gamesv1.js +1294 -0
- package/lib/endpoints/gamesv2.d.ts +582 -0
- package/lib/endpoints/gamesv2.js +258 -0
- package/lib/endpoints/groupsv1.d.ts +5528 -0
- package/lib/endpoints/groupsv1.js +2434 -0
- package/lib/endpoints/groupsv2.d.ts +530 -0
- package/lib/endpoints/groupsv2.js +201 -0
- package/lib/endpoints/inventoryv1.d.ts +436 -0
- package/lib/endpoints/inventoryv1.js +434 -0
- package/lib/endpoints/inventoryv2.d.ts +256 -0
- package/lib/endpoints/inventoryv2.js +241 -0
- package/lib/endpoints/presencev1.d.ts +134 -0
- package/lib/endpoints/presencev1.js +93 -0
- package/lib/endpoints/privatemessagesv1.d.ts +620 -0
- package/lib/endpoints/privatemessagesv1.js +338 -0
- package/lib/endpoints/thumbnailsv1.d.ts +897 -0
- package/lib/endpoints/thumbnailsv1.js +560 -0
- package/lib/endpoints/tradesv1.d.ts +473 -0
- package/lib/endpoints/tradesv1.js +403 -0
- package/lib/endpoints/translationsv1.d.ts +80 -0
- package/lib/endpoints/translationsv1.js +122 -0
- package/lib/endpoints/usersv1.d.ts +391 -0
- package/lib/endpoints/usersv1.js +344 -0
- package/lib/index.d.ts +85 -0
- package/lib/index.js +293 -0
- package/package.json +39 -0
- package/readme.md +99 -0
|
@@ -0,0 +1,2434 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.postV1groupsGroupIdwallsubscribe = exports.deleteV1groupsGroupIdwallpostsPostId = exports.postV1groupsGroupIdwallposts = exports.getV1groupsGroupIdwallposts = exports.patchV1groupsGroupIdusersUserId = exports.deleteV1groupsGroupIdusersUserId = exports.postV1groupsGroupIdusers = exports.getV1groupsGroupIdusers = exports.patchV1groupsGroupIdstatus = exports.patchV1groupsGroupIdsocialLinksSocialLinkId = exports.deleteV1groupsGroupIdsocialLinksSocialLinkId = exports.postV1groupsGroupIdsocialLinks = exports.getV1groupsGroupIdsocialLinks = exports.patchV1groupsGroupIdsettings = exports.getV1groupsGroupIdsettings = exports.postV1groupsGroupIdrolesetscreate = exports.patchV1groupsGroupIdrolesetsRolesetId = exports.deleteV1groupsGroupIdrolesetsRolesetId = exports.getV1groupsGroupIdrolespermissions = exports.getV1groupsGroupIdrolesguestpermissions = exports.getV1groupsGroupIdrolesRoleSetIdusers = exports.patchV1groupsGroupIdrolesRoleSetIdpermissions = exports.getV1groupsGroupIdrolesRoleSetIdpermissions = exports.getV1groupsGroupIdroles = exports.postV1groupsGroupIdrelationshipsGroupRelationshipTyperequestsRelatedGroupId = exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTyperequestsRelatedGroupId = exports.postV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = exports.getV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = exports.postV1groupsGroupIdrelationshipsGroupRelationshipTypeRelatedGroupId = exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTypeRelatedGroupId = exports.getV1groupsGroupIdrelationshipsGroupRelationshipType = exports.postV1groupsGroupIdpayoutsrecurring = exports.postV1groupsGroupIdpayouts = exports.getV1groupsGroupIdpayouts = exports.getV1groupsGroupIdpayoutRestriction = exports.getV1groupsGroupIdnameHistory = exports.patchV1groupsGroupIdname = exports.getV1groupsGroupIdmembership = exports.postV1groupsGroupIdjoinRequestsusersUserId = exports.getV1groupsGroupIdjoinRequestsusersUserId = exports.deleteV1groupsGroupIdjoinRequestsusersUserId = exports.postV1groupsGroupIdjoinRequests = exports.getV1groupsGroupIdjoinRequests = exports.deleteV1groupsGroupIdjoinRequests = exports.patchV1groupsGroupIddescription = exports.postV1groupsGroupIdclaimOwnership = exports.postV1groupsGroupIdchangeOwner = exports.getV1groupsGroupIdauditLog = exports.getV1groupsGroupId = void 0;
|
|
4
|
+
exports.getV1usersUserIdgroupsroles = exports.getV1usersUserIdgroupsprimaryrole = exports.getV1usersUserIdfriendsgroupsroles = exports.postV1usergroupsprimary = exports.deleteV1usergroupsprimary = exports.getV1usergroupspending = exports.getV1roles = exports.getV1groupssearchmetadata = exports.getV1groupssearchlookup = exports.getV1groupssearch = exports.postV1groupspolicies = exports.getV1groupsmetadata = exports.patchV1groupsicon = exports.postV1groupscreate = exports.getV1groupsconfigurationmetadata = exports.deleteV1groupsGroupIdwallusersUserIdposts = void 0;
|
|
5
|
+
var zod_1 = require("zod");
|
|
6
|
+
var Roblox_Groups_Api_Models_Response_UserModel = zod_1.z
|
|
7
|
+
.object({
|
|
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)]),
|
|
9
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
10
|
+
userId: zod_1.z.number().int(),
|
|
11
|
+
username: zod_1.z.string(),
|
|
12
|
+
displayName: zod_1.z.string(),
|
|
13
|
+
})
|
|
14
|
+
.partial();
|
|
15
|
+
var Roblox_Groups_Api_ShoutResponse = zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
body: zod_1.z.string(),
|
|
18
|
+
poster: Roblox_Groups_Api_Models_Response_UserModel,
|
|
19
|
+
created: zod_1.z.string().datetime(),
|
|
20
|
+
updated: zod_1.z.string().datetime(),
|
|
21
|
+
})
|
|
22
|
+
.partial();
|
|
23
|
+
var Roblox_Groups_Api_GroupDetailResponse = zod_1.z
|
|
24
|
+
.object({
|
|
25
|
+
id: zod_1.z.number().int(),
|
|
26
|
+
name: zod_1.z.string(),
|
|
27
|
+
description: zod_1.z.string(),
|
|
28
|
+
owner: Roblox_Groups_Api_Models_Response_UserModel,
|
|
29
|
+
shout: Roblox_Groups_Api_ShoutResponse,
|
|
30
|
+
memberCount: zod_1.z.number().int(),
|
|
31
|
+
isBuildersClubOnly: zod_1.z.boolean(),
|
|
32
|
+
publicEntryAllowed: zod_1.z.boolean(),
|
|
33
|
+
isLocked: zod_1.z.boolean(),
|
|
34
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
35
|
+
})
|
|
36
|
+
.partial();
|
|
37
|
+
var Roblox_Groups_Api_GroupRoleResponse = zod_1.z
|
|
38
|
+
.object({
|
|
39
|
+
id: zod_1.z.number().int(),
|
|
40
|
+
name: zod_1.z.string(),
|
|
41
|
+
description: zod_1.z.string(),
|
|
42
|
+
rank: zod_1.z.number().int(),
|
|
43
|
+
memberCount: zod_1.z.number().int(),
|
|
44
|
+
})
|
|
45
|
+
.partial();
|
|
46
|
+
var Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z
|
|
47
|
+
.object({
|
|
48
|
+
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
49
|
+
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
50
|
+
})
|
|
51
|
+
.partial();
|
|
52
|
+
var Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem = zod_1.z
|
|
53
|
+
.object({
|
|
54
|
+
actor: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
55
|
+
actionType: zod_1.z.string(),
|
|
56
|
+
description: zod_1.z.unknown(),
|
|
57
|
+
created: zod_1.z.string().datetime(),
|
|
58
|
+
})
|
|
59
|
+
.partial();
|
|
60
|
+
var Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_ = zod_1.z
|
|
61
|
+
.object({
|
|
62
|
+
previousPageCursor: zod_1.z.string(),
|
|
63
|
+
nextPageCursor: zod_1.z.string(),
|
|
64
|
+
data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem),
|
|
65
|
+
})
|
|
66
|
+
.partial();
|
|
67
|
+
var Roblox_Groups_Api_MembersRequest = zod_1.z.object({ UserIds: zod_1.z.array(zod_1.z.number()) }).partial();
|
|
68
|
+
var Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({}).partial();
|
|
69
|
+
var Roblox_Groups_Api_GroupJoinRequestResponse = zod_1.z
|
|
70
|
+
.object({
|
|
71
|
+
requester: Roblox_Groups_Api_Models_Response_UserModel,
|
|
72
|
+
created: zod_1.z.string().datetime(),
|
|
73
|
+
})
|
|
74
|
+
.partial();
|
|
75
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ = zod_1.z
|
|
76
|
+
.object({
|
|
77
|
+
previousPageCursor: zod_1.z.string(),
|
|
78
|
+
nextPageCursor: zod_1.z.string(),
|
|
79
|
+
data: zod_1.z.array(Roblox_Groups_Api_GroupJoinRequestResponse),
|
|
80
|
+
})
|
|
81
|
+
.partial();
|
|
82
|
+
var Roblox_Groups_Api_GroupPostsPermissionsModel = zod_1.z
|
|
83
|
+
.object({
|
|
84
|
+
viewWall: zod_1.z.boolean(),
|
|
85
|
+
postToWall: zod_1.z.boolean(),
|
|
86
|
+
deleteFromWall: zod_1.z.boolean(),
|
|
87
|
+
viewStatus: zod_1.z.boolean(),
|
|
88
|
+
postToStatus: zod_1.z.boolean(),
|
|
89
|
+
})
|
|
90
|
+
.partial();
|
|
91
|
+
var Roblox_Groups_Api_GroupMembershipPermissionsModel = zod_1.z
|
|
92
|
+
.object({
|
|
93
|
+
changeRank: zod_1.z.boolean(),
|
|
94
|
+
inviteMembers: zod_1.z.boolean(),
|
|
95
|
+
removeMembers: zod_1.z.boolean(),
|
|
96
|
+
})
|
|
97
|
+
.partial();
|
|
98
|
+
var Roblox_Groups_Api_GroupManagementPermissionsModel = zod_1.z
|
|
99
|
+
.object({
|
|
100
|
+
manageRelationships: zod_1.z.boolean(),
|
|
101
|
+
manageClan: zod_1.z.boolean(),
|
|
102
|
+
viewAuditLogs: zod_1.z.boolean(),
|
|
103
|
+
})
|
|
104
|
+
.partial();
|
|
105
|
+
var Roblox_Groups_Api_GroupEconomyPermissionsModel = zod_1.z
|
|
106
|
+
.object({
|
|
107
|
+
spendGroupFunds: zod_1.z.boolean(),
|
|
108
|
+
advertiseGroup: zod_1.z.boolean(),
|
|
109
|
+
createItems: zod_1.z.boolean(),
|
|
110
|
+
manageItems: zod_1.z.boolean(),
|
|
111
|
+
addGroupPlaces: zod_1.z.boolean(),
|
|
112
|
+
manageGroupGames: zod_1.z.boolean(),
|
|
113
|
+
viewGroupPayouts: zod_1.z.boolean(),
|
|
114
|
+
viewAnalytics: zod_1.z.boolean(),
|
|
115
|
+
})
|
|
116
|
+
.partial();
|
|
117
|
+
var Roblox_Groups_Api_GroupOpenCloudPermissionsModel = zod_1.z
|
|
118
|
+
.object({
|
|
119
|
+
useCloudAuthentication: zod_1.z.boolean(),
|
|
120
|
+
administerCloudAuthentication: zod_1.z.boolean(),
|
|
121
|
+
})
|
|
122
|
+
.partial();
|
|
123
|
+
var Roblox_Groups_Api_GroupPermissionsModel = zod_1.z
|
|
124
|
+
.object({
|
|
125
|
+
groupPostsPermissions: Roblox_Groups_Api_GroupPostsPermissionsModel,
|
|
126
|
+
groupMembershipPermissions: Roblox_Groups_Api_GroupMembershipPermissionsModel,
|
|
127
|
+
groupManagementPermissions: Roblox_Groups_Api_GroupManagementPermissionsModel,
|
|
128
|
+
groupEconomyPermissions: Roblox_Groups_Api_GroupEconomyPermissionsModel,
|
|
129
|
+
groupOpenCloudPermissions: Roblox_Groups_Api_GroupOpenCloudPermissionsModel,
|
|
130
|
+
})
|
|
131
|
+
.partial();
|
|
132
|
+
var Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z
|
|
133
|
+
.object({
|
|
134
|
+
groupId: zod_1.z.number().int(),
|
|
135
|
+
isPrimary: zod_1.z.boolean(),
|
|
136
|
+
isPendingJoin: zod_1.z.boolean(),
|
|
137
|
+
userRole: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
138
|
+
permissions: Roblox_Groups_Api_GroupPermissionsModel,
|
|
139
|
+
areGroupGamesVisible: zod_1.z.boolean(),
|
|
140
|
+
areGroupFundsVisible: zod_1.z.boolean(),
|
|
141
|
+
areEnemiesAllowed: zod_1.z.boolean(),
|
|
142
|
+
canConfigure: zod_1.z.boolean(),
|
|
143
|
+
})
|
|
144
|
+
.partial();
|
|
145
|
+
var Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = zod_1.z
|
|
146
|
+
.object({ name: zod_1.z.string(), created: zod_1.z.string().datetime() })
|
|
147
|
+
.partial();
|
|
148
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_ = zod_1.z
|
|
149
|
+
.object({
|
|
150
|
+
previousPageCursor: zod_1.z.string(),
|
|
151
|
+
nextPageCursor: zod_1.z.string(),
|
|
152
|
+
data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem),
|
|
153
|
+
})
|
|
154
|
+
.partial();
|
|
155
|
+
var Roblox_Groups_Api_GroupPayoutRestrictionResponse = zod_1.z
|
|
156
|
+
.object({
|
|
157
|
+
canUseRecurringPayout: zod_1.z.boolean(),
|
|
158
|
+
canUseOneTimePayout: zod_1.z.boolean(),
|
|
159
|
+
})
|
|
160
|
+
.partial();
|
|
161
|
+
var Roblox_Groups_Api_GroupPayoutResponse = zod_1.z
|
|
162
|
+
.object({
|
|
163
|
+
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
164
|
+
percentage: zod_1.z.number().int(),
|
|
165
|
+
})
|
|
166
|
+
.partial();
|
|
167
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ = zod_1.z
|
|
168
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupPayoutResponse) })
|
|
169
|
+
.partial();
|
|
170
|
+
var Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z
|
|
171
|
+
.object({
|
|
172
|
+
recipientId: zod_1.z.number().int(),
|
|
173
|
+
recipientType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
|
|
174
|
+
amount: zod_1.z.number().int(),
|
|
175
|
+
})
|
|
176
|
+
.partial();
|
|
177
|
+
var Roblox_Groups_Api_PayoutRequest = zod_1.z
|
|
178
|
+
.object({
|
|
179
|
+
PayoutType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
|
|
180
|
+
Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
181
|
+
})
|
|
182
|
+
.partial();
|
|
183
|
+
var Roblox_Groups_Api_GroupRelationshipsResponse = zod_1.z
|
|
184
|
+
.object({
|
|
185
|
+
groupId: zod_1.z.number().int(),
|
|
186
|
+
relationshipType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
|
|
187
|
+
totalGroupCount: zod_1.z.number().int(),
|
|
188
|
+
relatedGroups: zod_1.z.array(Roblox_Groups_Api_GroupDetailResponse),
|
|
189
|
+
nextRowIndex: zod_1.z.number().int(),
|
|
190
|
+
})
|
|
191
|
+
.partial();
|
|
192
|
+
var Roblox_Groups_Api_RelationshipsRequest = zod_1.z.object({ GroupIds: zod_1.z.array(zod_1.z.number()) }).partial();
|
|
193
|
+
var Roblox_Groups_Api_GroupAllRolesResponse = zod_1.z
|
|
194
|
+
.object({
|
|
195
|
+
groupId: zod_1.z.number().int(),
|
|
196
|
+
roles: zod_1.z.array(Roblox_Groups_Api_GroupRoleResponse),
|
|
197
|
+
})
|
|
198
|
+
.partial();
|
|
199
|
+
var Roblox_Groups_Api_GroupPermissionsResponse = zod_1.z
|
|
200
|
+
.object({
|
|
201
|
+
groupId: zod_1.z.number().int(),
|
|
202
|
+
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
203
|
+
permissions: Roblox_Groups_Api_GroupPermissionsModel,
|
|
204
|
+
})
|
|
205
|
+
.partial();
|
|
206
|
+
var Roblox_Groups_Api_UpdatePermissionsRequest = zod_1.z
|
|
207
|
+
.object({
|
|
208
|
+
permissions: zod_1.z
|
|
209
|
+
.object({
|
|
210
|
+
DeleteFromWall: zod_1.z.boolean(),
|
|
211
|
+
PostToWall: zod_1.z.boolean(),
|
|
212
|
+
InviteMembers: zod_1.z.boolean(),
|
|
213
|
+
PostToStatus: zod_1.z.boolean(),
|
|
214
|
+
RemoveMembers: zod_1.z.boolean(),
|
|
215
|
+
ViewStatus: zod_1.z.boolean(),
|
|
216
|
+
ViewWall: zod_1.z.boolean(),
|
|
217
|
+
ChangeRank: zod_1.z.boolean(),
|
|
218
|
+
AdvertiseGroup: zod_1.z.boolean(),
|
|
219
|
+
ManageRelationships: zod_1.z.boolean(),
|
|
220
|
+
AddGroupPlaces: zod_1.z.boolean(),
|
|
221
|
+
ViewAuditLogs: zod_1.z.boolean(),
|
|
222
|
+
CreateItems: zod_1.z.boolean(),
|
|
223
|
+
ManageItems: zod_1.z.boolean(),
|
|
224
|
+
SpendGroupFunds: zod_1.z.boolean(),
|
|
225
|
+
ManageClan: zod_1.z.boolean(),
|
|
226
|
+
ManageGroupGames: zod_1.z.boolean(),
|
|
227
|
+
UseCloudAuthentication: zod_1.z.boolean(),
|
|
228
|
+
AdministerCloudAuthentication: zod_1.z.boolean(),
|
|
229
|
+
ViewAnalytics: zod_1.z.boolean(),
|
|
230
|
+
})
|
|
231
|
+
.partial(),
|
|
232
|
+
})
|
|
233
|
+
.partial();
|
|
234
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ = zod_1.z
|
|
235
|
+
.object({
|
|
236
|
+
previousPageCursor: zod_1.z.string(),
|
|
237
|
+
nextPageCursor: zod_1.z.string(),
|
|
238
|
+
data: zod_1.z.array(Roblox_Groups_Api_Models_Response_UserModel),
|
|
239
|
+
})
|
|
240
|
+
.partial();
|
|
241
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_ = zod_1.z
|
|
242
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupPermissionsResponse) })
|
|
243
|
+
.partial();
|
|
244
|
+
var Roblox_Groups_Api_GroupSettingsResponse = zod_1.z
|
|
245
|
+
.object({
|
|
246
|
+
isApprovalRequired: zod_1.z.boolean(),
|
|
247
|
+
isBuildersClubRequired: zod_1.z.boolean(),
|
|
248
|
+
areEnemiesAllowed: zod_1.z.boolean(),
|
|
249
|
+
areGroupFundsVisible: zod_1.z.boolean(),
|
|
250
|
+
areGroupGamesVisible: zod_1.z.boolean(),
|
|
251
|
+
isGroupNameChangeEnabled: zod_1.z.boolean(),
|
|
252
|
+
})
|
|
253
|
+
.partial();
|
|
254
|
+
var Roblox_Groups_Api_UpdateGroupSettingsRequest = zod_1.z
|
|
255
|
+
.object({
|
|
256
|
+
isApprovalRequired: zod_1.z.boolean(),
|
|
257
|
+
areEnemiesAllowed: zod_1.z.boolean(),
|
|
258
|
+
areGroupFundsVisible: zod_1.z.boolean(),
|
|
259
|
+
areGroupGamesVisible: zod_1.z.boolean(),
|
|
260
|
+
})
|
|
261
|
+
.partial();
|
|
262
|
+
var Roblox_Groups_Api_SocialLinkResponse = zod_1.z
|
|
263
|
+
.object({
|
|
264
|
+
id: zod_1.z.number().int(),
|
|
265
|
+
type: zod_1.z.union([
|
|
266
|
+
zod_1.z.literal(0),
|
|
267
|
+
zod_1.z.literal(1),
|
|
268
|
+
zod_1.z.literal(2),
|
|
269
|
+
zod_1.z.literal(3),
|
|
270
|
+
zod_1.z.literal(4),
|
|
271
|
+
zod_1.z.literal(5),
|
|
272
|
+
zod_1.z.literal(6),
|
|
273
|
+
zod_1.z.literal(7),
|
|
274
|
+
zod_1.z.literal(8),
|
|
275
|
+
]),
|
|
276
|
+
url: zod_1.z.string(),
|
|
277
|
+
title: zod_1.z.string(),
|
|
278
|
+
})
|
|
279
|
+
.partial();
|
|
280
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_ = zod_1.z
|
|
281
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_SocialLinkResponse) })
|
|
282
|
+
.partial();
|
|
283
|
+
var Roblox_Groups_Api_SocialLinkRequest = zod_1.z
|
|
284
|
+
.object({
|
|
285
|
+
type: zod_1.z.union([
|
|
286
|
+
zod_1.z.literal(0),
|
|
287
|
+
zod_1.z.literal(1),
|
|
288
|
+
zod_1.z.literal(2),
|
|
289
|
+
zod_1.z.literal(3),
|
|
290
|
+
zod_1.z.literal(4),
|
|
291
|
+
zod_1.z.literal(5),
|
|
292
|
+
zod_1.z.literal(6),
|
|
293
|
+
zod_1.z.literal(7),
|
|
294
|
+
zod_1.z.literal(8),
|
|
295
|
+
]),
|
|
296
|
+
url: zod_1.z.string(),
|
|
297
|
+
title: zod_1.z.string(),
|
|
298
|
+
})
|
|
299
|
+
.partial();
|
|
300
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ = zod_1.z
|
|
301
|
+
.object({
|
|
302
|
+
previousPageCursor: zod_1.z.string(),
|
|
303
|
+
nextPageCursor: zod_1.z.string(),
|
|
304
|
+
data: zod_1.z.array(Roblox_Groups_Api_UserGroupRoleResponse),
|
|
305
|
+
})
|
|
306
|
+
.partial();
|
|
307
|
+
var Roblox_Groups_Api_JoinGroupRequest = zod_1.z
|
|
308
|
+
.object({
|
|
309
|
+
sessionId: zod_1.z.string(),
|
|
310
|
+
redemptionToken: zod_1.z.string(),
|
|
311
|
+
captchaId: zod_1.z.string(),
|
|
312
|
+
captchaToken: zod_1.z.string(),
|
|
313
|
+
captchaProvider: zod_1.z.string(),
|
|
314
|
+
challengeId: zod_1.z.string(),
|
|
315
|
+
})
|
|
316
|
+
.partial();
|
|
317
|
+
var Roblox_Groups_Api_Models_Response_GroupWallPostModel = zod_1.z
|
|
318
|
+
.object({
|
|
319
|
+
id: zod_1.z.number().int(),
|
|
320
|
+
poster: Roblox_Groups_Api_Models_Response_UserModel,
|
|
321
|
+
body: zod_1.z.string(),
|
|
322
|
+
created: zod_1.z.string().datetime(),
|
|
323
|
+
updated: zod_1.z.string().datetime(),
|
|
324
|
+
})
|
|
325
|
+
.partial();
|
|
326
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ = zod_1.z
|
|
327
|
+
.object({
|
|
328
|
+
previousPageCursor: zod_1.z.string(),
|
|
329
|
+
nextPageCursor: zod_1.z.string(),
|
|
330
|
+
data: zod_1.z.array(Roblox_Groups_Api_Models_Response_GroupWallPostModel),
|
|
331
|
+
})
|
|
332
|
+
.partial();
|
|
333
|
+
var Roblox_Groups_Api_CreateWallPostRequest = zod_1.z
|
|
334
|
+
.object({
|
|
335
|
+
body: zod_1.z.string(),
|
|
336
|
+
captchaId: zod_1.z.string(),
|
|
337
|
+
captchaToken: zod_1.z.string(),
|
|
338
|
+
captchaProvider: zod_1.z.string(),
|
|
339
|
+
challengeId: zod_1.z.string(),
|
|
340
|
+
})
|
|
341
|
+
.partial();
|
|
342
|
+
var Roblox_Groups_Api_GroupConfigurationResponse = zod_1.z
|
|
343
|
+
.object({
|
|
344
|
+
nameMaxLength: zod_1.z.number().int(),
|
|
345
|
+
descriptionMaxLength: zod_1.z.number().int(),
|
|
346
|
+
iconMaxFileSizeMb: zod_1.z.number().int(),
|
|
347
|
+
cost: zod_1.z.number().int(),
|
|
348
|
+
isUsingTwoStepWebviewComponent: zod_1.z.boolean(),
|
|
349
|
+
})
|
|
350
|
+
.partial();
|
|
351
|
+
var Roblox_Groups_Api_RecurringPayoutsConfigurationResponse = zod_1.z
|
|
352
|
+
.object({ maxPayoutPartners: zod_1.z.number().int() })
|
|
353
|
+
.partial();
|
|
354
|
+
var Roblox_Groups_Api_RoleConfigurationResponse = zod_1.z
|
|
355
|
+
.object({
|
|
356
|
+
nameMaxLength: zod_1.z.number().int(),
|
|
357
|
+
descriptionMaxLength: zod_1.z.number().int(),
|
|
358
|
+
limit: zod_1.z.number().int(),
|
|
359
|
+
cost: zod_1.z.number().int(),
|
|
360
|
+
minRank: zod_1.z.number().int(),
|
|
361
|
+
maxRank: zod_1.z.number().int(),
|
|
362
|
+
})
|
|
363
|
+
.partial();
|
|
364
|
+
var Roblox_Groups_Api_GroupNameChangeConfigurationResponse = zod_1.z
|
|
365
|
+
.object({
|
|
366
|
+
cost: zod_1.z.number().int(),
|
|
367
|
+
cooldownInDays: zod_1.z.number().int(),
|
|
368
|
+
ownershipCooldownInDays: zod_1.z.number().int(),
|
|
369
|
+
})
|
|
370
|
+
.partial();
|
|
371
|
+
var Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = zod_1.z
|
|
372
|
+
.object({
|
|
373
|
+
groupConfiguration: Roblox_Groups_Api_GroupConfigurationResponse,
|
|
374
|
+
recurringPayoutsConfiguration: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
375
|
+
roleConfiguration: Roblox_Groups_Api_RoleConfigurationResponse,
|
|
376
|
+
groupNameChangeConfiguration: Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
377
|
+
isPremiumPayoutsEnabled: zod_1.z.boolean(),
|
|
378
|
+
isDefaultEmblemPolicyEnabled: zod_1.z.boolean(),
|
|
379
|
+
})
|
|
380
|
+
.partial();
|
|
381
|
+
var Roblox_Groups_Api_GroupsDisplayOptionsResponse = zod_1.z
|
|
382
|
+
.object({
|
|
383
|
+
groupLimit: zod_1.z.number().int(),
|
|
384
|
+
currentGroupCount: zod_1.z.number().int(),
|
|
385
|
+
groupStatusMaxLength: zod_1.z.number().int(),
|
|
386
|
+
groupPostMaxLength: zod_1.z.number().int(),
|
|
387
|
+
isGroupWallNotificationsEnabled: zod_1.z.boolean(),
|
|
388
|
+
groupWallNotificationsSubscribeIntervalInMilliseconds: zod_1.z.number().int(),
|
|
389
|
+
areProfileGroupsHidden: zod_1.z.boolean(),
|
|
390
|
+
isGroupDetailsPolicyEnabled: zod_1.z.boolean(),
|
|
391
|
+
showPreviousGroupNames: zod_1.z.boolean(),
|
|
392
|
+
})
|
|
393
|
+
.partial();
|
|
394
|
+
var Roblox_Groups_Api_GroupSearchResponseItem = zod_1.z
|
|
395
|
+
.object({
|
|
396
|
+
id: zod_1.z.number().int(),
|
|
397
|
+
name: zod_1.z.string(),
|
|
398
|
+
description: zod_1.z.string(),
|
|
399
|
+
memberCount: zod_1.z.number().int(),
|
|
400
|
+
previousName: zod_1.z.string(),
|
|
401
|
+
publicEntryAllowed: zod_1.z.boolean(),
|
|
402
|
+
created: zod_1.z.string().datetime(),
|
|
403
|
+
updated: zod_1.z.string().datetime(),
|
|
404
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
405
|
+
})
|
|
406
|
+
.partial();
|
|
407
|
+
var Roblox_Groups_Api_GroupSearchPageResponse = zod_1.z
|
|
408
|
+
.object({
|
|
409
|
+
keyword: zod_1.z.string(),
|
|
410
|
+
previousPageCursor: zod_1.z.string(),
|
|
411
|
+
nextPageCursor: zod_1.z.string(),
|
|
412
|
+
data: zod_1.z.array(Roblox_Groups_Api_GroupSearchResponseItem),
|
|
413
|
+
})
|
|
414
|
+
.partial();
|
|
415
|
+
var Roblox_Web_Responses_Groups_GroupBasicResponse = zod_1.z
|
|
416
|
+
.object({
|
|
417
|
+
id: zod_1.z.number().int(),
|
|
418
|
+
name: zod_1.z.string(),
|
|
419
|
+
memberCount: zod_1.z.number().int(),
|
|
420
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
421
|
+
})
|
|
422
|
+
.partial();
|
|
423
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ = zod_1.z
|
|
424
|
+
.object({ data: zod_1.z.array(Roblox_Web_Responses_Groups_GroupBasicResponse) })
|
|
425
|
+
.partial();
|
|
426
|
+
var Roblox_Groups_Api_GroupSearchMetadataResponse = zod_1.z
|
|
427
|
+
.object({
|
|
428
|
+
SuggestedGroupKeywords: zod_1.z.array(zod_1.z.string()),
|
|
429
|
+
ShowFriendsGroupsSort: zod_1.z.boolean(),
|
|
430
|
+
})
|
|
431
|
+
.partial();
|
|
432
|
+
var Roblox_Groups_Api_GroupRoleDetailResponse = zod_1.z
|
|
433
|
+
.object({
|
|
434
|
+
groupId: zod_1.z.number().int(),
|
|
435
|
+
id: zod_1.z.number().int(),
|
|
436
|
+
name: zod_1.z.string(),
|
|
437
|
+
description: zod_1.z.string(),
|
|
438
|
+
rank: zod_1.z.number().int(),
|
|
439
|
+
memberCount: zod_1.z.number().int(),
|
|
440
|
+
})
|
|
441
|
+
.partial();
|
|
442
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ = zod_1.z
|
|
443
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupRoleDetailResponse) })
|
|
444
|
+
.partial();
|
|
445
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_ = zod_1.z
|
|
446
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupDetailResponse) })
|
|
447
|
+
.partial();
|
|
448
|
+
var Roblox_Groups_Api_GroupMembershipDetailResponse = zod_1.z
|
|
449
|
+
.object({
|
|
450
|
+
group: Roblox_Groups_Api_GroupDetailResponse,
|
|
451
|
+
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
452
|
+
isPrimaryGroup: zod_1.z.boolean(),
|
|
453
|
+
})
|
|
454
|
+
.partial();
|
|
455
|
+
var Roblox_Groups_Api_UserGroupMembershipResponse = zod_1.z
|
|
456
|
+
.object({
|
|
457
|
+
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
458
|
+
groups: zod_1.z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
|
|
459
|
+
})
|
|
460
|
+
.partial();
|
|
461
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ = zod_1.z
|
|
462
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_UserGroupMembershipResponse) })
|
|
463
|
+
.partial();
|
|
464
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_ = zod_1.z
|
|
465
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupMembershipDetailResponse) })
|
|
466
|
+
.partial();
|
|
467
|
+
var Roblox_Groups_Api_ChangeOwnerRequest = zod_1.z.object({ userId: zod_1.z.number().int() }).partial();
|
|
468
|
+
var Roblox_Groups_Api_Models_Request_CreateRoleSetRequest = zod_1.z
|
|
469
|
+
.object({
|
|
470
|
+
name: zod_1.z.string(),
|
|
471
|
+
description: zod_1.z.string(),
|
|
472
|
+
rank: zod_1.z.number().int(),
|
|
473
|
+
usingGroupFunds: zod_1.z.boolean(),
|
|
474
|
+
})
|
|
475
|
+
.partial();
|
|
476
|
+
var postV1groupscreate_Body = zod_1.z
|
|
477
|
+
.object({
|
|
478
|
+
name: zod_1.z.string(),
|
|
479
|
+
description: zod_1.z.string(),
|
|
480
|
+
publicGroup: zod_1.z.boolean(),
|
|
481
|
+
buildersClubMembersOnly: zod_1.z.boolean(),
|
|
482
|
+
Files: zod_1.z.unknown(),
|
|
483
|
+
})
|
|
484
|
+
.partial();
|
|
485
|
+
var Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = zod_1.z
|
|
486
|
+
.object({ id: zod_1.z.number().int(), type: zod_1.z.literal(0), name: zod_1.z.string() })
|
|
487
|
+
.partial();
|
|
488
|
+
var Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z
|
|
489
|
+
.object({
|
|
490
|
+
id: zod_1.z.number().int(),
|
|
491
|
+
name: zod_1.z.string(),
|
|
492
|
+
description: zod_1.z.string(),
|
|
493
|
+
owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
494
|
+
memberCount: zod_1.z.number().int(),
|
|
495
|
+
created: zod_1.z.string().datetime(),
|
|
496
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
497
|
+
})
|
|
498
|
+
.partial();
|
|
499
|
+
var Roblox_Groups_Api_GroupPolicyRequest = zod_1.z.object({ groupIds: zod_1.z.array(zod_1.z.number()) }).partial();
|
|
500
|
+
var Roblox_Groups_Api_GroupPolicyResponse = zod_1.z
|
|
501
|
+
.object({ canViewGroup: zod_1.z.boolean(), groupId: zod_1.z.number().int() })
|
|
502
|
+
.partial();
|
|
503
|
+
var Roblox_Groups_Api_GroupPoliciesResponse = zod_1.z
|
|
504
|
+
.object({ groups: zod_1.z.array(Roblox_Groups_Api_GroupPolicyResponse) })
|
|
505
|
+
.partial();
|
|
506
|
+
var Roblox_Groups_Api_PrimaryGroupRequest = zod_1.z.object({ groupId: zod_1.z.number().int() }).partial();
|
|
507
|
+
var Roblox_Groups_Api_UpdateGroupDescriptionRequest = zod_1.z.object({ description: zod_1.z.string() }).partial();
|
|
508
|
+
var Roblox_Groups_Api_GroupDescriptionResponse = zod_1.z.object({ newDescription: zod_1.z.string() }).partial();
|
|
509
|
+
var Roblox_Groups_Api_UpdateGroupNameRequest = zod_1.z.object({ name: zod_1.z.string() }).partial();
|
|
510
|
+
var Roblox_Groups_Api_UpdateGroupNameResponse = zod_1.z.object({ newName: zod_1.z.string() }).partial();
|
|
511
|
+
var Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = zod_1.z
|
|
512
|
+
.object({ name: zod_1.z.string(), description: zod_1.z.string(), rank: zod_1.z.number().int() })
|
|
513
|
+
.partial();
|
|
514
|
+
var Roblox_Groups_Api_PostGroupStatusRequest = zod_1.z.object({ message: zod_1.z.string() }).partial();
|
|
515
|
+
var Roblox_Groups_Api_UpdateUserRoleRequest = zod_1.z.object({ roleId: zod_1.z.number().int() }).partial();
|
|
516
|
+
var schemas = {
|
|
517
|
+
Roblox_Groups_Api_Models_Response_UserModel: Roblox_Groups_Api_Models_Response_UserModel,
|
|
518
|
+
Roblox_Groups_Api_ShoutResponse: Roblox_Groups_Api_ShoutResponse,
|
|
519
|
+
Roblox_Groups_Api_GroupDetailResponse: Roblox_Groups_Api_GroupDetailResponse,
|
|
520
|
+
Roblox_Groups_Api_GroupRoleResponse: Roblox_Groups_Api_GroupRoleResponse,
|
|
521
|
+
Roblox_Groups_Api_UserGroupRoleResponse: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
522
|
+
Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem: Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem,
|
|
523
|
+
Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_: Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
524
|
+
Roblox_Groups_Api_MembersRequest: Roblox_Groups_Api_MembersRequest,
|
|
525
|
+
Roblox_Web_WebAPI_ApiEmptyResponseModel: Roblox_Web_WebAPI_ApiEmptyResponseModel,
|
|
526
|
+
Roblox_Groups_Api_GroupJoinRequestResponse: Roblox_Groups_Api_GroupJoinRequestResponse,
|
|
527
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
528
|
+
Roblox_Groups_Api_GroupPostsPermissionsModel: Roblox_Groups_Api_GroupPostsPermissionsModel,
|
|
529
|
+
Roblox_Groups_Api_GroupMembershipPermissionsModel: Roblox_Groups_Api_GroupMembershipPermissionsModel,
|
|
530
|
+
Roblox_Groups_Api_GroupManagementPermissionsModel: Roblox_Groups_Api_GroupManagementPermissionsModel,
|
|
531
|
+
Roblox_Groups_Api_GroupEconomyPermissionsModel: Roblox_Groups_Api_GroupEconomyPermissionsModel,
|
|
532
|
+
Roblox_Groups_Api_GroupOpenCloudPermissionsModel: Roblox_Groups_Api_GroupOpenCloudPermissionsModel,
|
|
533
|
+
Roblox_Groups_Api_GroupPermissionsModel: Roblox_Groups_Api_GroupPermissionsModel,
|
|
534
|
+
Roblox_Groups_Api_GroupMembershipMetadataResponse: Roblox_Groups_Api_GroupMembershipMetadataResponse,
|
|
535
|
+
Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem: Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem,
|
|
536
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
537
|
+
Roblox_Groups_Api_GroupPayoutRestrictionResponse: Roblox_Groups_Api_GroupPayoutRestrictionResponse,
|
|
538
|
+
Roblox_Groups_Api_GroupPayoutResponse: Roblox_Groups_Api_GroupPayoutResponse,
|
|
539
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
540
|
+
Roblox_Groups_Api_PayoutRecipientRequest: Roblox_Groups_Api_PayoutRecipientRequest,
|
|
541
|
+
Roblox_Groups_Api_PayoutRequest: Roblox_Groups_Api_PayoutRequest,
|
|
542
|
+
Roblox_Groups_Api_GroupRelationshipsResponse: Roblox_Groups_Api_GroupRelationshipsResponse,
|
|
543
|
+
Roblox_Groups_Api_RelationshipsRequest: Roblox_Groups_Api_RelationshipsRequest,
|
|
544
|
+
Roblox_Groups_Api_GroupAllRolesResponse: Roblox_Groups_Api_GroupAllRolesResponse,
|
|
545
|
+
Roblox_Groups_Api_GroupPermissionsResponse: Roblox_Groups_Api_GroupPermissionsResponse,
|
|
546
|
+
Roblox_Groups_Api_UpdatePermissionsRequest: Roblox_Groups_Api_UpdatePermissionsRequest,
|
|
547
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
548
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
549
|
+
Roblox_Groups_Api_GroupSettingsResponse: Roblox_Groups_Api_GroupSettingsResponse,
|
|
550
|
+
Roblox_Groups_Api_UpdateGroupSettingsRequest: Roblox_Groups_Api_UpdateGroupSettingsRequest,
|
|
551
|
+
Roblox_Groups_Api_SocialLinkResponse: Roblox_Groups_Api_SocialLinkResponse,
|
|
552
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
|
|
553
|
+
Roblox_Groups_Api_SocialLinkRequest: Roblox_Groups_Api_SocialLinkRequest,
|
|
554
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
555
|
+
Roblox_Groups_Api_JoinGroupRequest: Roblox_Groups_Api_JoinGroupRequest,
|
|
556
|
+
Roblox_Groups_Api_Models_Response_GroupWallPostModel: Roblox_Groups_Api_Models_Response_GroupWallPostModel,
|
|
557
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
558
|
+
Roblox_Groups_Api_CreateWallPostRequest: Roblox_Groups_Api_CreateWallPostRequest,
|
|
559
|
+
Roblox_Groups_Api_GroupConfigurationResponse: Roblox_Groups_Api_GroupConfigurationResponse,
|
|
560
|
+
Roblox_Groups_Api_RecurringPayoutsConfigurationResponse: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
561
|
+
Roblox_Groups_Api_RoleConfigurationResponse: Roblox_Groups_Api_RoleConfigurationResponse,
|
|
562
|
+
Roblox_Groups_Api_GroupNameChangeConfigurationResponse: Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
563
|
+
Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse: Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
|
|
564
|
+
Roblox_Groups_Api_GroupsDisplayOptionsResponse: Roblox_Groups_Api_GroupsDisplayOptionsResponse,
|
|
565
|
+
Roblox_Groups_Api_GroupSearchResponseItem: Roblox_Groups_Api_GroupSearchResponseItem,
|
|
566
|
+
Roblox_Groups_Api_GroupSearchPageResponse: Roblox_Groups_Api_GroupSearchPageResponse,
|
|
567
|
+
Roblox_Web_Responses_Groups_GroupBasicResponse: Roblox_Web_Responses_Groups_GroupBasicResponse,
|
|
568
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
569
|
+
Roblox_Groups_Api_GroupSearchMetadataResponse: Roblox_Groups_Api_GroupSearchMetadataResponse,
|
|
570
|
+
Roblox_Groups_Api_GroupRoleDetailResponse: Roblox_Groups_Api_GroupRoleDetailResponse,
|
|
571
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
572
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
|
|
573
|
+
Roblox_Groups_Api_GroupMembershipDetailResponse: Roblox_Groups_Api_GroupMembershipDetailResponse,
|
|
574
|
+
Roblox_Groups_Api_UserGroupMembershipResponse: Roblox_Groups_Api_UserGroupMembershipResponse,
|
|
575
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
576
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
577
|
+
Roblox_Groups_Api_ChangeOwnerRequest: Roblox_Groups_Api_ChangeOwnerRequest,
|
|
578
|
+
Roblox_Groups_Api_Models_Request_CreateRoleSetRequest: Roblox_Groups_Api_Models_Request_CreateRoleSetRequest,
|
|
579
|
+
postV1groupscreate_Body: postV1groupscreate_Body,
|
|
580
|
+
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
581
|
+
Roblox_Web_Responses_Groups_GroupResponseV2: Roblox_Web_Responses_Groups_GroupResponseV2,
|
|
582
|
+
Roblox_Groups_Api_GroupPolicyRequest: Roblox_Groups_Api_GroupPolicyRequest,
|
|
583
|
+
Roblox_Groups_Api_GroupPolicyResponse: Roblox_Groups_Api_GroupPolicyResponse,
|
|
584
|
+
Roblox_Groups_Api_GroupPoliciesResponse: Roblox_Groups_Api_GroupPoliciesResponse,
|
|
585
|
+
Roblox_Groups_Api_PrimaryGroupRequest: Roblox_Groups_Api_PrimaryGroupRequest,
|
|
586
|
+
Roblox_Groups_Api_UpdateGroupDescriptionRequest: Roblox_Groups_Api_UpdateGroupDescriptionRequest,
|
|
587
|
+
Roblox_Groups_Api_GroupDescriptionResponse: Roblox_Groups_Api_GroupDescriptionResponse,
|
|
588
|
+
Roblox_Groups_Api_UpdateGroupNameRequest: Roblox_Groups_Api_UpdateGroupNameRequest,
|
|
589
|
+
Roblox_Groups_Api_UpdateGroupNameResponse: Roblox_Groups_Api_UpdateGroupNameResponse,
|
|
590
|
+
Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest: Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest,
|
|
591
|
+
Roblox_Groups_Api_PostGroupStatusRequest: Roblox_Groups_Api_PostGroupStatusRequest,
|
|
592
|
+
Roblox_Groups_Api_UpdateUserRoleRequest: Roblox_Groups_Api_UpdateUserRoleRequest,
|
|
593
|
+
};
|
|
594
|
+
exports.getV1groupsGroupId = {
|
|
595
|
+
method: 'get',
|
|
596
|
+
path: '/v1/groups/:groupId',
|
|
597
|
+
baseUrl: 'https://groups.roblox.com',
|
|
598
|
+
requestFormat: 'json',
|
|
599
|
+
parameters: {
|
|
600
|
+
groupId: zod_1.z.number().int(),
|
|
601
|
+
},
|
|
602
|
+
response: Roblox_Groups_Api_GroupDetailResponse,
|
|
603
|
+
errors: [
|
|
604
|
+
{
|
|
605
|
+
status: 400,
|
|
606
|
+
description: "1: Group is invalid or does not exist.",
|
|
607
|
+
schema: zod_1.z.void(),
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
};
|
|
611
|
+
exports.getV1groupsGroupIdauditLog = {
|
|
612
|
+
method: 'get',
|
|
613
|
+
path: '/v1/groups/:groupId/audit-log',
|
|
614
|
+
baseUrl: 'https://groups.roblox.com',
|
|
615
|
+
requestFormat: 'json',
|
|
616
|
+
parameters: {
|
|
617
|
+
groupId: zod_1.z.number().int(),
|
|
618
|
+
actionType: zod_1.z
|
|
619
|
+
.enum([
|
|
620
|
+
'DeletePost',
|
|
621
|
+
'RemoveMember',
|
|
622
|
+
'AcceptJoinRequest',
|
|
623
|
+
'DeclineJoinRequest',
|
|
624
|
+
'PostStatus',
|
|
625
|
+
'ChangeRank',
|
|
626
|
+
'BuyAd',
|
|
627
|
+
'SendAllyRequest',
|
|
628
|
+
'CreateEnemy',
|
|
629
|
+
'AcceptAllyRequest',
|
|
630
|
+
'DeclineAllyRequest',
|
|
631
|
+
'DeleteAlly',
|
|
632
|
+
'DeleteEnemy',
|
|
633
|
+
'AddGroupPlace',
|
|
634
|
+
'RemoveGroupPlace',
|
|
635
|
+
'CreateItems',
|
|
636
|
+
'ConfigureItems',
|
|
637
|
+
'SpendGroupFunds',
|
|
638
|
+
'ChangeOwner',
|
|
639
|
+
'Delete',
|
|
640
|
+
'AdjustCurrencyAmounts',
|
|
641
|
+
'Abandon',
|
|
642
|
+
'Claim',
|
|
643
|
+
'Rename',
|
|
644
|
+
'ChangeDescription',
|
|
645
|
+
'InviteToClan',
|
|
646
|
+
'KickFromClan',
|
|
647
|
+
'CancelClanInvite',
|
|
648
|
+
'BuyClan',
|
|
649
|
+
'CreateGroupAsset',
|
|
650
|
+
'UpdateGroupAsset',
|
|
651
|
+
'ConfigureGroupAsset',
|
|
652
|
+
'RevertGroupAsset',
|
|
653
|
+
'CreateGroupDeveloperProduct',
|
|
654
|
+
'ConfigureGroupGame',
|
|
655
|
+
'Lock',
|
|
656
|
+
'Unlock',
|
|
657
|
+
'CreateGamePass',
|
|
658
|
+
'CreateBadge',
|
|
659
|
+
'ConfigureBadge',
|
|
660
|
+
'SavePlace',
|
|
661
|
+
'PublishPlace',
|
|
662
|
+
'UpdateRolesetRank',
|
|
663
|
+
'UpdateRolesetData',
|
|
664
|
+
])
|
|
665
|
+
.optional(),
|
|
666
|
+
userId: zod_1.z.number().int().optional(),
|
|
667
|
+
limit: zod_1.z
|
|
668
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
669
|
+
.optional()
|
|
670
|
+
.default(10),
|
|
671
|
+
cursor: zod_1.z.string().optional(),
|
|
672
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
673
|
+
},
|
|
674
|
+
response: Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
675
|
+
errors: [
|
|
676
|
+
{
|
|
677
|
+
status: 400,
|
|
678
|
+
description: "1: Group is invalid or does not exist.",
|
|
679
|
+
schema: zod_1.z.void(),
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
status: 401,
|
|
683
|
+
description: "0: Authorization has been denied for this request.",
|
|
684
|
+
schema: zod_1.z.void(),
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
status: 403,
|
|
688
|
+
description: "23: Insufficient permissions to complete the request.",
|
|
689
|
+
schema: zod_1.z.void(),
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
};
|
|
693
|
+
exports.postV1groupsGroupIdchangeOwner = {
|
|
694
|
+
method: 'post',
|
|
695
|
+
path: '/v1/groups/:groupId/change-owner',
|
|
696
|
+
baseUrl: 'https://groups.roblox.com',
|
|
697
|
+
requestFormat: 'json',
|
|
698
|
+
parameters: {
|
|
699
|
+
body: zod_1.z.object({ userId: zod_1.z.number().int() }).partial(),
|
|
700
|
+
groupId: zod_1.z.number().int(),
|
|
701
|
+
},
|
|
702
|
+
response: zod_1.z.object({}).partial(),
|
|
703
|
+
errors: [
|
|
704
|
+
{
|
|
705
|
+
status: 400,
|
|
706
|
+
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.",
|
|
707
|
+
schema: zod_1.z.void(),
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
status: 401,
|
|
711
|
+
description: "0: Authorization has been denied for this request.",
|
|
712
|
+
schema: zod_1.z.void(),
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
status: 403,
|
|
716
|
+
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.",
|
|
717
|
+
schema: zod_1.z.void(),
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
};
|
|
721
|
+
exports.postV1groupsGroupIdclaimOwnership = {
|
|
722
|
+
method: 'post',
|
|
723
|
+
path: '/v1/groups/:groupId/claim-ownership',
|
|
724
|
+
baseUrl: 'https://groups.roblox.com',
|
|
725
|
+
requestFormat: 'json',
|
|
726
|
+
parameters: {
|
|
727
|
+
groupId: zod_1.z.number().int(),
|
|
728
|
+
},
|
|
729
|
+
response: zod_1.z.object({}).partial(),
|
|
730
|
+
errors: [
|
|
731
|
+
{
|
|
732
|
+
status: 400,
|
|
733
|
+
description: "1: The group is invalid or does not exist.",
|
|
734
|
+
schema: zod_1.z.void(),
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
status: 401,
|
|
738
|
+
description: "0: Authorization has been denied for this request.",
|
|
739
|
+
schema: zod_1.z.void(),
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
status: 403,
|
|
743
|
+
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.",
|
|
744
|
+
schema: zod_1.z.void(),
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
status: 503,
|
|
748
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
749
|
+
schema: zod_1.z.void(),
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
};
|
|
753
|
+
exports.patchV1groupsGroupIddescription = {
|
|
754
|
+
method: 'patch',
|
|
755
|
+
path: '/v1/groups/:groupId/description',
|
|
756
|
+
baseUrl: 'https://groups.roblox.com',
|
|
757
|
+
requestFormat: 'json',
|
|
758
|
+
parameters: {
|
|
759
|
+
body: zod_1.z.object({ description: zod_1.z.string() }).partial(),
|
|
760
|
+
groupId: zod_1.z.number().int(),
|
|
761
|
+
},
|
|
762
|
+
response: zod_1.z.object({ newDescription: zod_1.z.string() }).partial(),
|
|
763
|
+
errors: [
|
|
764
|
+
{
|
|
765
|
+
status: 400,
|
|
766
|
+
description: "1: Group is invalid or does not exist.\n29: Your group description was empty.",
|
|
767
|
+
schema: zod_1.z.void(),
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
status: 401,
|
|
771
|
+
description: "0: Authorization has been denied for this request.",
|
|
772
|
+
schema: zod_1.z.void(),
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
status: 403,
|
|
776
|
+
description: "0: Token Validation Failed\n18: The description is too long.\n23: Insufficient permissions to complete the request.",
|
|
777
|
+
schema: zod_1.z.void(),
|
|
778
|
+
},
|
|
779
|
+
],
|
|
780
|
+
};
|
|
781
|
+
exports.deleteV1groupsGroupIdjoinRequests = {
|
|
782
|
+
method: 'delete',
|
|
783
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
784
|
+
baseUrl: 'https://groups.roblox.com',
|
|
785
|
+
requestFormat: 'json',
|
|
786
|
+
parameters: {
|
|
787
|
+
body: Roblox_Groups_Api_MembersRequest,
|
|
788
|
+
groupId: zod_1.z.number().int(),
|
|
789
|
+
},
|
|
790
|
+
response: zod_1.z.object({}).partial(),
|
|
791
|
+
errors: [
|
|
792
|
+
{
|
|
793
|
+
status: 400,
|
|
794
|
+
description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.",
|
|
795
|
+
schema: zod_1.z.void(),
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
status: 401,
|
|
799
|
+
description: "0: Authorization has been denied for this request.",
|
|
800
|
+
schema: zod_1.z.void(),
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
status: 403,
|
|
804
|
+
description: "0: Token Validation Failed",
|
|
805
|
+
schema: zod_1.z.void(),
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
};
|
|
809
|
+
exports.getV1groupsGroupIdjoinRequests = {
|
|
810
|
+
method: 'get',
|
|
811
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
812
|
+
baseUrl: 'https://groups.roblox.com',
|
|
813
|
+
requestFormat: 'json',
|
|
814
|
+
parameters: {
|
|
815
|
+
groupId: zod_1.z.number().int(),
|
|
816
|
+
limit: zod_1.z
|
|
817
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
818
|
+
.optional()
|
|
819
|
+
.default(10),
|
|
820
|
+
cursor: zod_1.z.string().optional(),
|
|
821
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
822
|
+
},
|
|
823
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
824
|
+
errors: [
|
|
825
|
+
{
|
|
826
|
+
status: 400,
|
|
827
|
+
description: "1: The group is invalid or does not exist.",
|
|
828
|
+
schema: zod_1.z.void(),
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
status: 401,
|
|
832
|
+
description: "0: Authorization has been denied for this request.",
|
|
833
|
+
schema: zod_1.z.void(),
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
status: 403,
|
|
837
|
+
description: "19: You have insufficient permissions for this request.",
|
|
838
|
+
schema: zod_1.z.void(),
|
|
839
|
+
},
|
|
840
|
+
],
|
|
841
|
+
};
|
|
842
|
+
exports.postV1groupsGroupIdjoinRequests = {
|
|
843
|
+
method: 'post',
|
|
844
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
845
|
+
baseUrl: 'https://groups.roblox.com',
|
|
846
|
+
requestFormat: 'json',
|
|
847
|
+
parameters: {
|
|
848
|
+
body: Roblox_Groups_Api_MembersRequest,
|
|
849
|
+
groupId: zod_1.z.number().int(),
|
|
850
|
+
},
|
|
851
|
+
response: zod_1.z.object({}).partial(),
|
|
852
|
+
errors: [
|
|
853
|
+
{
|
|
854
|
+
status: 400,
|
|
855
|
+
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.",
|
|
856
|
+
schema: zod_1.z.void(),
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
status: 401,
|
|
860
|
+
description: "0: Authorization has been denied for this request.",
|
|
861
|
+
schema: zod_1.z.void(),
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
status: 403,
|
|
865
|
+
description: "0: Token Validation Failed\n6: You are already in the maximum number of groups.\n19: You have insufficient permissions for this request.",
|
|
866
|
+
schema: zod_1.z.void(),
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
status: 500,
|
|
870
|
+
description: "0: Something went wrong.",
|
|
871
|
+
schema: zod_1.z.void(),
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
status: 503,
|
|
875
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
876
|
+
schema: zod_1.z.void(),
|
|
877
|
+
},
|
|
878
|
+
],
|
|
879
|
+
};
|
|
880
|
+
exports.deleteV1groupsGroupIdjoinRequestsusersUserId = {
|
|
881
|
+
method: 'delete',
|
|
882
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
883
|
+
baseUrl: 'https://groups.roblox.com',
|
|
884
|
+
requestFormat: 'json',
|
|
885
|
+
parameters: {
|
|
886
|
+
groupId: zod_1.z.number().int(),
|
|
887
|
+
userId: zod_1.z.number().int(),
|
|
888
|
+
},
|
|
889
|
+
response: zod_1.z.object({}).partial(),
|
|
890
|
+
errors: [
|
|
891
|
+
{
|
|
892
|
+
status: 400,
|
|
893
|
+
description: "3: The user is invalid or does not exist.",
|
|
894
|
+
schema: zod_1.z.void(),
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
status: 401,
|
|
898
|
+
description: "0: Authorization has been denied for this request.",
|
|
899
|
+
schema: zod_1.z.void(),
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
status: 403,
|
|
903
|
+
description: "0: Token Validation Failed\n4: You do not have permission to manage this member.",
|
|
904
|
+
schema: zod_1.z.void(),
|
|
905
|
+
},
|
|
906
|
+
],
|
|
907
|
+
};
|
|
908
|
+
exports.getV1groupsGroupIdjoinRequestsusersUserId = {
|
|
909
|
+
method: 'get',
|
|
910
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
911
|
+
baseUrl: 'https://groups.roblox.com',
|
|
912
|
+
requestFormat: 'json',
|
|
913
|
+
parameters: {
|
|
914
|
+
groupId: zod_1.z.number().int(),
|
|
915
|
+
userId: zod_1.z.number().int(),
|
|
916
|
+
},
|
|
917
|
+
response: Roblox_Groups_Api_GroupJoinRequestResponse,
|
|
918
|
+
errors: [
|
|
919
|
+
{
|
|
920
|
+
status: 400,
|
|
921
|
+
description: "1: The group is invalid or does not exist.",
|
|
922
|
+
schema: zod_1.z.void(),
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
status: 401,
|
|
926
|
+
description: "0: Authorization has been denied for this request.",
|
|
927
|
+
schema: zod_1.z.void(),
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
status: 403,
|
|
931
|
+
description: "19: You have insufficient permissions for this request.",
|
|
932
|
+
schema: zod_1.z.void(),
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
};
|
|
936
|
+
exports.postV1groupsGroupIdjoinRequestsusersUserId = {
|
|
937
|
+
method: 'post',
|
|
938
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
939
|
+
baseUrl: 'https://groups.roblox.com',
|
|
940
|
+
requestFormat: 'json',
|
|
941
|
+
parameters: {
|
|
942
|
+
groupId: zod_1.z.number().int(),
|
|
943
|
+
userId: zod_1.z.number().int(),
|
|
944
|
+
},
|
|
945
|
+
response: zod_1.z.object({}).partial(),
|
|
946
|
+
errors: [
|
|
947
|
+
{
|
|
948
|
+
status: 400,
|
|
949
|
+
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.",
|
|
950
|
+
schema: zod_1.z.void(),
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
status: 401,
|
|
954
|
+
description: "0: Authorization has been denied for this request.",
|
|
955
|
+
schema: zod_1.z.void(),
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
status: 403,
|
|
959
|
+
description: "0: Token Validation Failed\n6: You are already in the maximum number of groups.\n19: You have insufficient permissions for this request.",
|
|
960
|
+
schema: zod_1.z.void(),
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
status: 503,
|
|
964
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
965
|
+
schema: zod_1.z.void(),
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
};
|
|
969
|
+
exports.getV1groupsGroupIdmembership = {
|
|
970
|
+
method: 'get',
|
|
971
|
+
path: '/v1/groups/:groupId/membership',
|
|
972
|
+
baseUrl: 'https://groups.roblox.com',
|
|
973
|
+
requestFormat: 'json',
|
|
974
|
+
parameters: {
|
|
975
|
+
groupId: zod_1.z.number().int(),
|
|
976
|
+
},
|
|
977
|
+
response: Roblox_Groups_Api_GroupMembershipMetadataResponse,
|
|
978
|
+
errors: [
|
|
979
|
+
{
|
|
980
|
+
status: 400,
|
|
981
|
+
description: "1: The group is invalid or does not exist.",
|
|
982
|
+
schema: zod_1.z.void(),
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
};
|
|
986
|
+
exports.patchV1groupsGroupIdname = {
|
|
987
|
+
method: 'patch',
|
|
988
|
+
path: '/v1/groups/:groupId/name',
|
|
989
|
+
baseUrl: 'https://groups.roblox.com',
|
|
990
|
+
description: "This endpoint will charge Robux for the group rename.",
|
|
991
|
+
requestFormat: 'json',
|
|
992
|
+
parameters: {
|
|
993
|
+
body: zod_1.z.object({ name: zod_1.z.string() }).partial(),
|
|
994
|
+
groupId: zod_1.z.number().int(),
|
|
995
|
+
},
|
|
996
|
+
response: zod_1.z.object({ newName: zod_1.z.string() }).partial(),
|
|
997
|
+
errors: [
|
|
998
|
+
{
|
|
999
|
+
status: 400,
|
|
1000
|
+
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.",
|
|
1001
|
+
schema: zod_1.z.void(),
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
status: 401,
|
|
1005
|
+
description: "0: Authorization has been denied for this request.",
|
|
1006
|
+
schema: zod_1.z.void(),
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
status: 403,
|
|
1010
|
+
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.",
|
|
1011
|
+
schema: zod_1.z.void(),
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
status: 409,
|
|
1015
|
+
description: "36: The name was changed too recently.\n37: The name was in use too recently.",
|
|
1016
|
+
schema: zod_1.z.void(),
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
status: 413,
|
|
1020
|
+
description: "0: Unknown error.",
|
|
1021
|
+
schema: zod_1.z.void(),
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
status: 429,
|
|
1025
|
+
description: "17: Too many requests.",
|
|
1026
|
+
schema: zod_1.z.void(),
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
};
|
|
1030
|
+
exports.getV1groupsGroupIdnameHistory = {
|
|
1031
|
+
method: 'get',
|
|
1032
|
+
path: '/v1/groups/:groupId/name-history',
|
|
1033
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1034
|
+
requestFormat: 'json',
|
|
1035
|
+
parameters: {
|
|
1036
|
+
groupId: zod_1.z.number().int(),
|
|
1037
|
+
limit: zod_1.z
|
|
1038
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
1039
|
+
.optional()
|
|
1040
|
+
.default(10),
|
|
1041
|
+
cursor: zod_1.z.string().optional(),
|
|
1042
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1043
|
+
},
|
|
1044
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
1045
|
+
errors: [
|
|
1046
|
+
{
|
|
1047
|
+
status: 400,
|
|
1048
|
+
description: "1: Group is invalid or does not exist.",
|
|
1049
|
+
schema: zod_1.z.void(),
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
status: 403,
|
|
1053
|
+
description: "23: Insufficient permissions to complete the request.",
|
|
1054
|
+
schema: zod_1.z.void(),
|
|
1055
|
+
},
|
|
1056
|
+
],
|
|
1057
|
+
};
|
|
1058
|
+
exports.getV1groupsGroupIdpayoutRestriction = {
|
|
1059
|
+
method: 'get',
|
|
1060
|
+
path: '/v1/groups/:groupId/payout-restriction',
|
|
1061
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1062
|
+
requestFormat: 'json',
|
|
1063
|
+
parameters: {
|
|
1064
|
+
groupId: zod_1.z.number().int(),
|
|
1065
|
+
},
|
|
1066
|
+
response: Roblox_Groups_Api_GroupPayoutRestrictionResponse,
|
|
1067
|
+
errors: [
|
|
1068
|
+
{
|
|
1069
|
+
status: 400,
|
|
1070
|
+
description: "1: Group is invalid or does not exist.",
|
|
1071
|
+
schema: zod_1.z.void(),
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
status: 401,
|
|
1075
|
+
description: "0: Authorization has been denied for this request.",
|
|
1076
|
+
schema: zod_1.z.void(),
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
status: 403,
|
|
1080
|
+
description: "9: You don't have permission to view this group's payouts.",
|
|
1081
|
+
schema: zod_1.z.void(),
|
|
1082
|
+
},
|
|
1083
|
+
],
|
|
1084
|
+
};
|
|
1085
|
+
exports.getV1groupsGroupIdpayouts = {
|
|
1086
|
+
method: 'get',
|
|
1087
|
+
path: '/v1/groups/:groupId/payouts',
|
|
1088
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1089
|
+
requestFormat: 'json',
|
|
1090
|
+
parameters: {
|
|
1091
|
+
groupId: zod_1.z.number().int(),
|
|
1092
|
+
},
|
|
1093
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
1094
|
+
errors: [
|
|
1095
|
+
{
|
|
1096
|
+
status: 400,
|
|
1097
|
+
description: "1: Group is invalid or does not exist.",
|
|
1098
|
+
schema: zod_1.z.void(),
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
status: 401,
|
|
1102
|
+
description: "0: Authorization has been denied for this request.",
|
|
1103
|
+
schema: zod_1.z.void(),
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
status: 403,
|
|
1107
|
+
description: "9: You don't have permission to view this group's payouts.",
|
|
1108
|
+
schema: zod_1.z.void(),
|
|
1109
|
+
},
|
|
1110
|
+
],
|
|
1111
|
+
};
|
|
1112
|
+
exports.postV1groupsGroupIdpayouts = {
|
|
1113
|
+
method: 'post',
|
|
1114
|
+
path: '/v1/groups/:groupId/payouts',
|
|
1115
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1116
|
+
requestFormat: 'json',
|
|
1117
|
+
parameters: {
|
|
1118
|
+
body: Roblox_Groups_Api_PayoutRequest,
|
|
1119
|
+
groupId: zod_1.z.number().int(),
|
|
1120
|
+
},
|
|
1121
|
+
response: zod_1.z.object({}).partial(),
|
|
1122
|
+
errors: [
|
|
1123
|
+
{
|
|
1124
|
+
status: 400,
|
|
1125
|
+
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.",
|
|
1126
|
+
schema: zod_1.z.void(),
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
status: 401,
|
|
1130
|
+
description: "0: Authorization has been denied for this request.",
|
|
1131
|
+
schema: zod_1.z.void(),
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
status: 403,
|
|
1135
|
+
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.",
|
|
1136
|
+
schema: zod_1.z.void(),
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
status: 503,
|
|
1140
|
+
description: "22: The feature is disabled.",
|
|
1141
|
+
schema: zod_1.z.void(),
|
|
1142
|
+
},
|
|
1143
|
+
],
|
|
1144
|
+
};
|
|
1145
|
+
exports.postV1groupsGroupIdpayoutsrecurring = {
|
|
1146
|
+
method: 'post',
|
|
1147
|
+
path: '/v1/groups/:groupId/payouts/recurring',
|
|
1148
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1149
|
+
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.",
|
|
1150
|
+
requestFormat: 'json',
|
|
1151
|
+
parameters: {
|
|
1152
|
+
body: Roblox_Groups_Api_PayoutRequest,
|
|
1153
|
+
groupId: zod_1.z.number().int(),
|
|
1154
|
+
},
|
|
1155
|
+
response: zod_1.z.object({}).partial(),
|
|
1156
|
+
errors: [
|
|
1157
|
+
{
|
|
1158
|
+
status: 400,
|
|
1159
|
+
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.",
|
|
1160
|
+
schema: zod_1.z.void(),
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
status: 401,
|
|
1164
|
+
description: "0: Authorization has been denied for this request.",
|
|
1165
|
+
schema: zod_1.z.void(),
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
status: 403,
|
|
1169
|
+
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.",
|
|
1170
|
+
schema: zod_1.z.void(),
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
status: 503,
|
|
1174
|
+
description: "22: The feature is disabled.",
|
|
1175
|
+
schema: zod_1.z.void(),
|
|
1176
|
+
},
|
|
1177
|
+
],
|
|
1178
|
+
};
|
|
1179
|
+
exports.getV1groupsGroupIdrelationshipsGroupRelationshipType = {
|
|
1180
|
+
method: 'get',
|
|
1181
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType',
|
|
1182
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1183
|
+
requestFormat: 'json',
|
|
1184
|
+
parameters: {
|
|
1185
|
+
groupId: zod_1.z.number().int(),
|
|
1186
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1187
|
+
StartRowIndex: zod_1.z.number().int(),
|
|
1188
|
+
MaxRows: zod_1.z.number().int(),
|
|
1189
|
+
},
|
|
1190
|
+
response: Roblox_Groups_Api_GroupRelationshipsResponse,
|
|
1191
|
+
errors: [
|
|
1192
|
+
{
|
|
1193
|
+
status: 400,
|
|
1194
|
+
description: "1: Group is invalid or does not exist.\n4: Group relationship type or request type is invalid.\n8: Invalid or missing pagination parameters",
|
|
1195
|
+
schema: zod_1.z.void(),
|
|
1196
|
+
},
|
|
1197
|
+
],
|
|
1198
|
+
};
|
|
1199
|
+
exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTypeRelatedGroupId = {
|
|
1200
|
+
method: 'delete',
|
|
1201
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
|
|
1202
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1203
|
+
requestFormat: 'json',
|
|
1204
|
+
parameters: {
|
|
1205
|
+
groupId: zod_1.z.number().int(),
|
|
1206
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1207
|
+
relatedGroupId: zod_1.z.number().int(),
|
|
1208
|
+
},
|
|
1209
|
+
response: zod_1.z.object({}).partial(),
|
|
1210
|
+
errors: [
|
|
1211
|
+
{
|
|
1212
|
+
status: 400,
|
|
1213
|
+
description: "2: Invalid group.\n3: Target group is invalid or does not exist.\n11: Relationship does not exist.",
|
|
1214
|
+
schema: zod_1.z.void(),
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
status: 401,
|
|
1218
|
+
description: "0: Authorization has been denied for this request.",
|
|
1219
|
+
schema: zod_1.z.void(),
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
status: 403,
|
|
1223
|
+
description: "0: Token Validation Failed\n8: You are blocked from communicating with this user.",
|
|
1224
|
+
schema: zod_1.z.void(),
|
|
1225
|
+
},
|
|
1226
|
+
],
|
|
1227
|
+
};
|
|
1228
|
+
exports.postV1groupsGroupIdrelationshipsGroupRelationshipTypeRelatedGroupId = {
|
|
1229
|
+
method: 'post',
|
|
1230
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
|
|
1231
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1232
|
+
requestFormat: 'json',
|
|
1233
|
+
parameters: {
|
|
1234
|
+
groupId: zod_1.z.number().int(),
|
|
1235
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1236
|
+
relatedGroupId: zod_1.z.number().int(),
|
|
1237
|
+
},
|
|
1238
|
+
response: zod_1.z.object({}).partial(),
|
|
1239
|
+
errors: [
|
|
1240
|
+
{
|
|
1241
|
+
status: 400,
|
|
1242
|
+
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.",
|
|
1243
|
+
schema: zod_1.z.void(),
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
status: 401,
|
|
1247
|
+
description: "0: Authorization has been denied for this request.",
|
|
1248
|
+
schema: zod_1.z.void(),
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
status: 403,
|
|
1252
|
+
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.",
|
|
1253
|
+
schema: zod_1.z.void(),
|
|
1254
|
+
},
|
|
1255
|
+
],
|
|
1256
|
+
};
|
|
1257
|
+
exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = {
|
|
1258
|
+
method: 'delete',
|
|
1259
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
1260
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1261
|
+
requestFormat: 'json',
|
|
1262
|
+
parameters: {
|
|
1263
|
+
body: Roblox_Groups_Api_RelationshipsRequest,
|
|
1264
|
+
groupId: zod_1.z.number().int(),
|
|
1265
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1266
|
+
},
|
|
1267
|
+
response: zod_1.z.object({}).partial(),
|
|
1268
|
+
errors: [
|
|
1269
|
+
{
|
|
1270
|
+
status: 401,
|
|
1271
|
+
description: "0: Authorization has been denied for this request.",
|
|
1272
|
+
schema: zod_1.z.void(),
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
status: 403,
|
|
1276
|
+
description: "0: Token Validation Failed",
|
|
1277
|
+
schema: zod_1.z.void(),
|
|
1278
|
+
},
|
|
1279
|
+
],
|
|
1280
|
+
};
|
|
1281
|
+
exports.getV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = {
|
|
1282
|
+
method: 'get',
|
|
1283
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
1284
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1285
|
+
requestFormat: 'json',
|
|
1286
|
+
parameters: {
|
|
1287
|
+
groupId: zod_1.z.number().int(),
|
|
1288
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1289
|
+
StartRowIndex: zod_1.z.number().int(),
|
|
1290
|
+
MaxRows: zod_1.z.number().int(),
|
|
1291
|
+
},
|
|
1292
|
+
response: Roblox_Groups_Api_GroupRelationshipsResponse,
|
|
1293
|
+
errors: [
|
|
1294
|
+
{
|
|
1295
|
+
status: 400,
|
|
1296
|
+
description: "1: Group is invalid or does not exist.\n4: Group relationship type or request type is invalid.\n8: Invalid or missing pagination parameters",
|
|
1297
|
+
schema: zod_1.z.void(),
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
status: 401,
|
|
1301
|
+
description: "0: Authorization has been denied for this request.",
|
|
1302
|
+
schema: zod_1.z.void(),
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
status: 403,
|
|
1306
|
+
description: "5: You don't have permission to manage this group's relationships.",
|
|
1307
|
+
schema: zod_1.z.void(),
|
|
1308
|
+
},
|
|
1309
|
+
],
|
|
1310
|
+
};
|
|
1311
|
+
exports.postV1groupsGroupIdrelationshipsGroupRelationshipTyperequests = {
|
|
1312
|
+
method: 'post',
|
|
1313
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
1314
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1315
|
+
requestFormat: 'json',
|
|
1316
|
+
parameters: {
|
|
1317
|
+
body: Roblox_Groups_Api_RelationshipsRequest,
|
|
1318
|
+
groupId: zod_1.z.number().int(),
|
|
1319
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1320
|
+
},
|
|
1321
|
+
response: zod_1.z.object({}).partial(),
|
|
1322
|
+
errors: [
|
|
1323
|
+
{
|
|
1324
|
+
status: 401,
|
|
1325
|
+
description: "0: Authorization has been denied for this request.",
|
|
1326
|
+
schema: zod_1.z.void(),
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
status: 403,
|
|
1330
|
+
description: "0: Token Validation Failed",
|
|
1331
|
+
schema: zod_1.z.void(),
|
|
1332
|
+
},
|
|
1333
|
+
],
|
|
1334
|
+
};
|
|
1335
|
+
exports.deleteV1groupsGroupIdrelationshipsGroupRelationshipTyperequestsRelatedGroupId = {
|
|
1336
|
+
method: 'delete',
|
|
1337
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
|
|
1338
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1339
|
+
requestFormat: 'json',
|
|
1340
|
+
parameters: {
|
|
1341
|
+
groupId: zod_1.z.number().int(),
|
|
1342
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1343
|
+
relatedGroupId: zod_1.z.number().int(),
|
|
1344
|
+
},
|
|
1345
|
+
response: zod_1.z.object({}).partial(),
|
|
1346
|
+
errors: [
|
|
1347
|
+
{
|
|
1348
|
+
status: 400,
|
|
1349
|
+
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.",
|
|
1350
|
+
schema: zod_1.z.void(),
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
status: 401,
|
|
1354
|
+
description: "0: Authorization has been denied for this request.",
|
|
1355
|
+
schema: zod_1.z.void(),
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
status: 403,
|
|
1359
|
+
description: "0: Token Validation Failed\n9: Insufficient permissions.",
|
|
1360
|
+
schema: zod_1.z.void(),
|
|
1361
|
+
},
|
|
1362
|
+
],
|
|
1363
|
+
};
|
|
1364
|
+
exports.postV1groupsGroupIdrelationshipsGroupRelationshipTyperequestsRelatedGroupId = {
|
|
1365
|
+
method: 'post',
|
|
1366
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
|
|
1367
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1368
|
+
requestFormat: 'json',
|
|
1369
|
+
parameters: {
|
|
1370
|
+
groupId: zod_1.z.number().int(),
|
|
1371
|
+
groupRelationshipType: zod_1.z.string(),
|
|
1372
|
+
relatedGroupId: zod_1.z.number().int(),
|
|
1373
|
+
},
|
|
1374
|
+
response: zod_1.z.object({}).partial(),
|
|
1375
|
+
errors: [
|
|
1376
|
+
{
|
|
1377
|
+
status: 400,
|
|
1378
|
+
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.",
|
|
1379
|
+
schema: zod_1.z.void(),
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
status: 401,
|
|
1383
|
+
description: "0: Authorization has been denied for this request.",
|
|
1384
|
+
schema: zod_1.z.void(),
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
status: 403,
|
|
1388
|
+
description: "0: Token Validation Failed\n9: Insufficient permissions.",
|
|
1389
|
+
schema: zod_1.z.void(),
|
|
1390
|
+
},
|
|
1391
|
+
],
|
|
1392
|
+
};
|
|
1393
|
+
exports.getV1groupsGroupIdroles = {
|
|
1394
|
+
method: 'get',
|
|
1395
|
+
path: '/v1/groups/:groupId/roles',
|
|
1396
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1397
|
+
requestFormat: 'json',
|
|
1398
|
+
parameters: {
|
|
1399
|
+
groupId: zod_1.z.number().int(),
|
|
1400
|
+
},
|
|
1401
|
+
response: Roblox_Groups_Api_GroupAllRolesResponse,
|
|
1402
|
+
errors: [
|
|
1403
|
+
{
|
|
1404
|
+
status: 400,
|
|
1405
|
+
description: "1: The group is invalid or does not exist.",
|
|
1406
|
+
schema: zod_1.z.void(),
|
|
1407
|
+
},
|
|
1408
|
+
],
|
|
1409
|
+
};
|
|
1410
|
+
exports.getV1groupsGroupIdrolesRoleSetIdpermissions = {
|
|
1411
|
+
method: 'get',
|
|
1412
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
1413
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1414
|
+
requestFormat: 'json',
|
|
1415
|
+
parameters: {
|
|
1416
|
+
groupId: zod_1.z.number().int(),
|
|
1417
|
+
roleSetId: zod_1.z.number().int(),
|
|
1418
|
+
},
|
|
1419
|
+
response: Roblox_Groups_Api_GroupPermissionsResponse,
|
|
1420
|
+
errors: [
|
|
1421
|
+
{
|
|
1422
|
+
status: 400,
|
|
1423
|
+
description: "1: Group is invalid or does not exist.\n2: The roleset is invalid or does not exist.",
|
|
1424
|
+
schema: zod_1.z.void(),
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
status: 401,
|
|
1428
|
+
description: "0: Authorization has been denied for this request.",
|
|
1429
|
+
schema: zod_1.z.void(),
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
status: 403,
|
|
1433
|
+
description: "3: You are not authorized to view/edit permissions for this role.",
|
|
1434
|
+
schema: zod_1.z.void(),
|
|
1435
|
+
},
|
|
1436
|
+
],
|
|
1437
|
+
};
|
|
1438
|
+
exports.patchV1groupsGroupIdrolesRoleSetIdpermissions = {
|
|
1439
|
+
method: 'patch',
|
|
1440
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
1441
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1442
|
+
requestFormat: 'json',
|
|
1443
|
+
parameters: {
|
|
1444
|
+
body: Roblox_Groups_Api_UpdatePermissionsRequest,
|
|
1445
|
+
groupId: zod_1.z.number().int(),
|
|
1446
|
+
roleSetId: zod_1.z.number().int(),
|
|
1447
|
+
},
|
|
1448
|
+
response: zod_1.z.object({}).partial(),
|
|
1449
|
+
errors: [
|
|
1450
|
+
{
|
|
1451
|
+
status: 400,
|
|
1452
|
+
description: "1: Group is invalid or does not exist.\n2: The roleset is invalid or does not exist.",
|
|
1453
|
+
schema: zod_1.z.void(),
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
status: 401,
|
|
1457
|
+
description: "0: Authorization has been denied for this request.",
|
|
1458
|
+
schema: zod_1.z.void(),
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
status: 403,
|
|
1462
|
+
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.",
|
|
1463
|
+
schema: zod_1.z.void(),
|
|
1464
|
+
},
|
|
1465
|
+
],
|
|
1466
|
+
};
|
|
1467
|
+
exports.getV1groupsGroupIdrolesRoleSetIdusers = {
|
|
1468
|
+
method: 'get',
|
|
1469
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/users',
|
|
1470
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1471
|
+
requestFormat: 'json',
|
|
1472
|
+
parameters: {
|
|
1473
|
+
groupId: zod_1.z.number().int(),
|
|
1474
|
+
roleSetId: zod_1.z.number().int(),
|
|
1475
|
+
limit: zod_1.z
|
|
1476
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
1477
|
+
.optional()
|
|
1478
|
+
.default(10),
|
|
1479
|
+
cursor: zod_1.z.string().optional(),
|
|
1480
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1481
|
+
},
|
|
1482
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
1483
|
+
errors: [
|
|
1484
|
+
{
|
|
1485
|
+
status: 400,
|
|
1486
|
+
description: "1: The group is invalid or does not exist.",
|
|
1487
|
+
schema: zod_1.z.void(),
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
status: 403,
|
|
1491
|
+
description: "2: The roleset is invalid or does not exist.",
|
|
1492
|
+
schema: zod_1.z.void(),
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1495
|
+
};
|
|
1496
|
+
exports.getV1groupsGroupIdrolesguestpermissions = {
|
|
1497
|
+
method: 'get',
|
|
1498
|
+
path: '/v1/groups/:groupId/roles/guest/permissions',
|
|
1499
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1500
|
+
requestFormat: 'json',
|
|
1501
|
+
parameters: {
|
|
1502
|
+
groupId: zod_1.z.number().int(),
|
|
1503
|
+
},
|
|
1504
|
+
response: Roblox_Groups_Api_GroupPermissionsResponse,
|
|
1505
|
+
errors: [
|
|
1506
|
+
{
|
|
1507
|
+
status: 400,
|
|
1508
|
+
description: "1: Group is invalid or does not exist.",
|
|
1509
|
+
schema: zod_1.z.void(),
|
|
1510
|
+
},
|
|
1511
|
+
],
|
|
1512
|
+
};
|
|
1513
|
+
exports.getV1groupsGroupIdrolespermissions = {
|
|
1514
|
+
method: 'get',
|
|
1515
|
+
path: '/v1/groups/:groupId/roles/permissions',
|
|
1516
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1517
|
+
requestFormat: 'json',
|
|
1518
|
+
parameters: {
|
|
1519
|
+
groupId: zod_1.z.number().int(),
|
|
1520
|
+
},
|
|
1521
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
1522
|
+
errors: [
|
|
1523
|
+
{
|
|
1524
|
+
status: 401,
|
|
1525
|
+
description: "0: Authorization has been denied for this request.",
|
|
1526
|
+
schema: zod_1.z.void(),
|
|
1527
|
+
},
|
|
1528
|
+
],
|
|
1529
|
+
};
|
|
1530
|
+
exports.deleteV1groupsGroupIdrolesetsRolesetId = {
|
|
1531
|
+
method: 'delete',
|
|
1532
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
1533
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1534
|
+
requestFormat: 'json',
|
|
1535
|
+
parameters: {
|
|
1536
|
+
groupId: zod_1.z.number().int(),
|
|
1537
|
+
rolesetId: zod_1.z.number().int(),
|
|
1538
|
+
},
|
|
1539
|
+
response: zod_1.z.object({}).partial(),
|
|
1540
|
+
errors: [
|
|
1541
|
+
{
|
|
1542
|
+
status: 400,
|
|
1543
|
+
description: "10: This group does not exist.\n15: This role does not exist.\n17: Cannot remove any more roles\n18: Cannot delete this role.",
|
|
1544
|
+
schema: zod_1.z.void(),
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
status: 401,
|
|
1548
|
+
description: "0: Authorization has been denied for this request.",
|
|
1549
|
+
schema: zod_1.z.void(),
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
status: 403,
|
|
1553
|
+
description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.\n16: There are users in this role.",
|
|
1554
|
+
schema: zod_1.z.void(),
|
|
1555
|
+
},
|
|
1556
|
+
],
|
|
1557
|
+
};
|
|
1558
|
+
exports.patchV1groupsGroupIdrolesetsRolesetId = {
|
|
1559
|
+
method: 'patch',
|
|
1560
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
1561
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1562
|
+
requestFormat: 'json',
|
|
1563
|
+
parameters: {
|
|
1564
|
+
body: Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest,
|
|
1565
|
+
groupId: zod_1.z.number().int(),
|
|
1566
|
+
rolesetId: zod_1.z.number().int(),
|
|
1567
|
+
},
|
|
1568
|
+
response: Roblox_Groups_Api_GroupRoleResponse,
|
|
1569
|
+
errors: [
|
|
1570
|
+
{
|
|
1571
|
+
status: 400,
|
|
1572
|
+
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.",
|
|
1573
|
+
schema: zod_1.z.void(),
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
status: 401,
|
|
1577
|
+
description: "0: Authorization has been denied for this request.",
|
|
1578
|
+
schema: zod_1.z.void(),
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
status: 403,
|
|
1582
|
+
description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.",
|
|
1583
|
+
schema: zod_1.z.void(),
|
|
1584
|
+
},
|
|
1585
|
+
],
|
|
1586
|
+
};
|
|
1587
|
+
exports.postV1groupsGroupIdrolesetscreate = {
|
|
1588
|
+
method: 'post',
|
|
1589
|
+
path: '/v1/groups/:groupId/rolesets/create',
|
|
1590
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1591
|
+
requestFormat: 'json',
|
|
1592
|
+
parameters: {
|
|
1593
|
+
body: Roblox_Groups_Api_Models_Request_CreateRoleSetRequest,
|
|
1594
|
+
groupId: zod_1.z.number().int(),
|
|
1595
|
+
},
|
|
1596
|
+
response: Roblox_Groups_Api_GroupRoleResponse,
|
|
1597
|
+
errors: [
|
|
1598
|
+
{
|
|
1599
|
+
status: 400,
|
|
1600
|
+
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.",
|
|
1601
|
+
schema: zod_1.z.void(),
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
status: 401,
|
|
1605
|
+
description: "0: Authorization has been denied for this request.",
|
|
1606
|
+
schema: zod_1.z.void(),
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
status: 403,
|
|
1610
|
+
description: "0: Token Validation Failed\n9: You do not have permissions to perform this action.",
|
|
1611
|
+
schema: zod_1.z.void(),
|
|
1612
|
+
},
|
|
1613
|
+
],
|
|
1614
|
+
};
|
|
1615
|
+
exports.getV1groupsGroupIdsettings = {
|
|
1616
|
+
method: 'get',
|
|
1617
|
+
path: '/v1/groups/:groupId/settings',
|
|
1618
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1619
|
+
requestFormat: 'json',
|
|
1620
|
+
parameters: {
|
|
1621
|
+
groupId: zod_1.z.number().int(),
|
|
1622
|
+
},
|
|
1623
|
+
response: Roblox_Groups_Api_GroupSettingsResponse,
|
|
1624
|
+
errors: [
|
|
1625
|
+
{
|
|
1626
|
+
status: 400,
|
|
1627
|
+
description: "1: Group is invalid or does not exist.",
|
|
1628
|
+
schema: zod_1.z.void(),
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
status: 401,
|
|
1632
|
+
description: "0: Authorization has been denied for this request.",
|
|
1633
|
+
schema: zod_1.z.void(),
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
status: 403,
|
|
1637
|
+
description: "23: Insufficient permissions to complete the request.",
|
|
1638
|
+
schema: zod_1.z.void(),
|
|
1639
|
+
},
|
|
1640
|
+
],
|
|
1641
|
+
};
|
|
1642
|
+
exports.patchV1groupsGroupIdsettings = {
|
|
1643
|
+
method: 'patch',
|
|
1644
|
+
path: '/v1/groups/:groupId/settings',
|
|
1645
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1646
|
+
requestFormat: 'json',
|
|
1647
|
+
parameters: {
|
|
1648
|
+
body: Roblox_Groups_Api_UpdateGroupSettingsRequest,
|
|
1649
|
+
groupId: zod_1.z.number().int(),
|
|
1650
|
+
},
|
|
1651
|
+
response: zod_1.z.object({}).partial(),
|
|
1652
|
+
errors: [
|
|
1653
|
+
{
|
|
1654
|
+
status: 400,
|
|
1655
|
+
description: "1: Group is invalid or does not exist.",
|
|
1656
|
+
schema: zod_1.z.void(),
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
status: 401,
|
|
1660
|
+
description: "0: Authorization has been denied for this request.",
|
|
1661
|
+
schema: zod_1.z.void(),
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
status: 403,
|
|
1665
|
+
description: "0: Token Validation Failed\n23: Insufficient permissions to complete the request.",
|
|
1666
|
+
schema: zod_1.z.void(),
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
status: 503,
|
|
1670
|
+
description: "31: Service is currently unavailable.",
|
|
1671
|
+
schema: zod_1.z.void(),
|
|
1672
|
+
},
|
|
1673
|
+
],
|
|
1674
|
+
};
|
|
1675
|
+
exports.getV1groupsGroupIdsocialLinks = {
|
|
1676
|
+
method: 'get',
|
|
1677
|
+
path: '/v1/groups/:groupId/social-links',
|
|
1678
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1679
|
+
requestFormat: 'json',
|
|
1680
|
+
parameters: {
|
|
1681
|
+
groupId: zod_1.z.number().int(),
|
|
1682
|
+
},
|
|
1683
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
|
|
1684
|
+
errors: [
|
|
1685
|
+
{
|
|
1686
|
+
status: 400,
|
|
1687
|
+
description: "1: Group is invalid or does not exist.",
|
|
1688
|
+
schema: zod_1.z.void(),
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
status: 401,
|
|
1692
|
+
description: "0: Authorization has been denied for this request.",
|
|
1693
|
+
schema: zod_1.z.void(),
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
status: 403,
|
|
1697
|
+
description: "13: Only users who are over thirteen years of age may edit social links.",
|
|
1698
|
+
schema: zod_1.z.void(),
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
status: 404,
|
|
1702
|
+
description: "11: Social links cannot be processed as this time.",
|
|
1703
|
+
schema: zod_1.z.void(),
|
|
1704
|
+
},
|
|
1705
|
+
],
|
|
1706
|
+
};
|
|
1707
|
+
exports.postV1groupsGroupIdsocialLinks = {
|
|
1708
|
+
method: 'post',
|
|
1709
|
+
path: '/v1/groups/:groupId/social-links',
|
|
1710
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1711
|
+
requestFormat: 'json',
|
|
1712
|
+
parameters: {
|
|
1713
|
+
body: Roblox_Groups_Api_SocialLinkRequest,
|
|
1714
|
+
groupId: zod_1.z.number().int(),
|
|
1715
|
+
},
|
|
1716
|
+
response: Roblox_Groups_Api_SocialLinkResponse,
|
|
1717
|
+
errors: [
|
|
1718
|
+
{
|
|
1719
|
+
status: 400,
|
|
1720
|
+
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.",
|
|
1721
|
+
schema: zod_1.z.void(),
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
status: 401,
|
|
1725
|
+
description: "0: Authorization has been denied for this request.",
|
|
1726
|
+
schema: zod_1.z.void(),
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
status: 403,
|
|
1730
|
+
description: "0: Token Validation Failed\n2: You do not have permission to configure this social link.",
|
|
1731
|
+
schema: zod_1.z.void(),
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
status: 404,
|
|
1735
|
+
description: "8: The requested group or social link was not found.",
|
|
1736
|
+
schema: zod_1.z.void(),
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
status: 503,
|
|
1740
|
+
description: "11: Social links cannot be processed as this time.",
|
|
1741
|
+
schema: zod_1.z.void(),
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
};
|
|
1745
|
+
exports.deleteV1groupsGroupIdsocialLinksSocialLinkId = {
|
|
1746
|
+
method: 'delete',
|
|
1747
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
1748
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1749
|
+
requestFormat: 'json',
|
|
1750
|
+
parameters: {
|
|
1751
|
+
groupId: zod_1.z.number().int(),
|
|
1752
|
+
socialLinkId: zod_1.z.number().int(),
|
|
1753
|
+
},
|
|
1754
|
+
response: zod_1.z.object({}).partial(),
|
|
1755
|
+
errors: [
|
|
1756
|
+
{
|
|
1757
|
+
status: 400,
|
|
1758
|
+
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.",
|
|
1759
|
+
schema: zod_1.z.void(),
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
status: 401,
|
|
1763
|
+
description: "0: Authorization has been denied for this request.",
|
|
1764
|
+
schema: zod_1.z.void(),
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
status: 403,
|
|
1768
|
+
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.",
|
|
1769
|
+
schema: zod_1.z.void(),
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
status: 404,
|
|
1773
|
+
description: "11: Social links cannot be processed as this time.",
|
|
1774
|
+
schema: zod_1.z.void(),
|
|
1775
|
+
},
|
|
1776
|
+
],
|
|
1777
|
+
};
|
|
1778
|
+
exports.patchV1groupsGroupIdsocialLinksSocialLinkId = {
|
|
1779
|
+
method: 'patch',
|
|
1780
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
1781
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1782
|
+
requestFormat: 'json',
|
|
1783
|
+
parameters: {
|
|
1784
|
+
body: Roblox_Groups_Api_SocialLinkRequest,
|
|
1785
|
+
groupId: zod_1.z.number().int(),
|
|
1786
|
+
socialLinkId: zod_1.z.number().int(),
|
|
1787
|
+
},
|
|
1788
|
+
response: zod_1.z.object({}).partial(),
|
|
1789
|
+
errors: [
|
|
1790
|
+
{
|
|
1791
|
+
status: 400,
|
|
1792
|
+
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.",
|
|
1793
|
+
schema: zod_1.z.void(),
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
status: 401,
|
|
1797
|
+
description: "0: Authorization has been denied for this request.",
|
|
1798
|
+
schema: zod_1.z.void(),
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
status: 403,
|
|
1802
|
+
description: "0: Token Validation Failed\n2: You do not have permission to configure this social link.",
|
|
1803
|
+
schema: zod_1.z.void(),
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
status: 404,
|
|
1807
|
+
description: "11: Social links cannot be processed as this time.",
|
|
1808
|
+
schema: zod_1.z.void(),
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
status: 503,
|
|
1812
|
+
description: "11: Social links cannot be processed as this time.",
|
|
1813
|
+
schema: zod_1.z.void(),
|
|
1814
|
+
},
|
|
1815
|
+
],
|
|
1816
|
+
};
|
|
1817
|
+
exports.patchV1groupsGroupIdstatus = {
|
|
1818
|
+
method: 'patch',
|
|
1819
|
+
path: '/v1/groups/:groupId/status',
|
|
1820
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1821
|
+
requestFormat: 'json',
|
|
1822
|
+
parameters: {
|
|
1823
|
+
body: zod_1.z.object({ message: zod_1.z.string() }).partial(),
|
|
1824
|
+
groupId: zod_1.z.number().int(),
|
|
1825
|
+
},
|
|
1826
|
+
response: Roblox_Groups_Api_ShoutResponse,
|
|
1827
|
+
errors: [
|
|
1828
|
+
{
|
|
1829
|
+
status: 400,
|
|
1830
|
+
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.",
|
|
1831
|
+
schema: zod_1.z.void(),
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
status: 401,
|
|
1835
|
+
description: "0: Authorization has been denied for this request.",
|
|
1836
|
+
schema: zod_1.z.void(),
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
status: 403,
|
|
1840
|
+
description: "0: Token Validation Failed",
|
|
1841
|
+
schema: zod_1.z.void(),
|
|
1842
|
+
},
|
|
1843
|
+
],
|
|
1844
|
+
};
|
|
1845
|
+
exports.getV1groupsGroupIdusers = {
|
|
1846
|
+
method: 'get',
|
|
1847
|
+
path: '/v1/groups/:groupId/users',
|
|
1848
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1849
|
+
requestFormat: 'json',
|
|
1850
|
+
parameters: {
|
|
1851
|
+
groupId: zod_1.z.number().int(),
|
|
1852
|
+
limit: zod_1.z
|
|
1853
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
1854
|
+
.optional()
|
|
1855
|
+
.default(10),
|
|
1856
|
+
cursor: zod_1.z.string().optional(),
|
|
1857
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1858
|
+
},
|
|
1859
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
1860
|
+
errors: [
|
|
1861
|
+
{
|
|
1862
|
+
status: 400,
|
|
1863
|
+
description: "1: The group is invalid or does not exist.",
|
|
1864
|
+
schema: zod_1.z.void(),
|
|
1865
|
+
},
|
|
1866
|
+
],
|
|
1867
|
+
};
|
|
1868
|
+
exports.postV1groupsGroupIdusers = {
|
|
1869
|
+
method: 'post',
|
|
1870
|
+
path: '/v1/groups/:groupId/users',
|
|
1871
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1872
|
+
requestFormat: 'json',
|
|
1873
|
+
parameters: {
|
|
1874
|
+
body: Roblox_Groups_Api_JoinGroupRequest,
|
|
1875
|
+
groupId: zod_1.z.number().int(),
|
|
1876
|
+
},
|
|
1877
|
+
response: zod_1.z.object({}).partial(),
|
|
1878
|
+
errors: [
|
|
1879
|
+
{
|
|
1880
|
+
status: 400,
|
|
1881
|
+
description: "1: The group is invalid or does not exist.",
|
|
1882
|
+
schema: zod_1.z.void(),
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
status: 401,
|
|
1886
|
+
description: "0: Authorization has been denied for this request.",
|
|
1887
|
+
schema: zod_1.z.void(),
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
status: 403,
|
|
1891
|
+
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.",
|
|
1892
|
+
schema: zod_1.z.void(),
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
status: 409,
|
|
1896
|
+
description: "7: You have already requested to join this group.\n8: You are already a member of this group.",
|
|
1897
|
+
schema: zod_1.z.void(),
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
status: 429,
|
|
1901
|
+
description: "10: Too many attempts to join the group. Please try again later.",
|
|
1902
|
+
schema: zod_1.z.void(),
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
status: 503,
|
|
1906
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
1907
|
+
schema: zod_1.z.void(),
|
|
1908
|
+
},
|
|
1909
|
+
],
|
|
1910
|
+
};
|
|
1911
|
+
exports.deleteV1groupsGroupIdusersUserId = {
|
|
1912
|
+
method: 'delete',
|
|
1913
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
1914
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1915
|
+
requestFormat: 'json',
|
|
1916
|
+
parameters: {
|
|
1917
|
+
groupId: zod_1.z.number().int(),
|
|
1918
|
+
userId: zod_1.z.number().int(),
|
|
1919
|
+
},
|
|
1920
|
+
response: zod_1.z.object({}).partial(),
|
|
1921
|
+
errors: [
|
|
1922
|
+
{
|
|
1923
|
+
status: 400,
|
|
1924
|
+
description: "1: The group is invalid or does not exist.\n3: The user is invalid or does not exist.",
|
|
1925
|
+
schema: zod_1.z.void(),
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
status: 401,
|
|
1929
|
+
description: "0: Authorization has been denied for this request.",
|
|
1930
|
+
schema: zod_1.z.void(),
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
status: 403,
|
|
1934
|
+
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.",
|
|
1935
|
+
schema: zod_1.z.void(),
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
status: 503,
|
|
1939
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
1940
|
+
schema: zod_1.z.void(),
|
|
1941
|
+
},
|
|
1942
|
+
],
|
|
1943
|
+
};
|
|
1944
|
+
exports.patchV1groupsGroupIdusersUserId = {
|
|
1945
|
+
method: 'patch',
|
|
1946
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
1947
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1948
|
+
requestFormat: 'json',
|
|
1949
|
+
parameters: {
|
|
1950
|
+
body: zod_1.z.object({ roleId: zod_1.z.number().int() }).partial(),
|
|
1951
|
+
groupId: zod_1.z.number().int(),
|
|
1952
|
+
userId: zod_1.z.number().int(),
|
|
1953
|
+
},
|
|
1954
|
+
response: zod_1.z.object({}).partial(),
|
|
1955
|
+
errors: [
|
|
1956
|
+
{
|
|
1957
|
+
status: 400,
|
|
1958
|
+
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.",
|
|
1959
|
+
schema: zod_1.z.void(),
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
status: 401,
|
|
1963
|
+
description: "0: Authorization has been denied for this request.",
|
|
1964
|
+
schema: zod_1.z.void(),
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
status: 403,
|
|
1968
|
+
description: "0: Token Validation Failed\n4: You do not have permission to manage this member.",
|
|
1969
|
+
schema: zod_1.z.void(),
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
status: 503,
|
|
1973
|
+
description: "18: The operation is temporarily unavailable. Please try again later.",
|
|
1974
|
+
schema: zod_1.z.void(),
|
|
1975
|
+
},
|
|
1976
|
+
],
|
|
1977
|
+
};
|
|
1978
|
+
exports.getV1groupsGroupIdwallposts = {
|
|
1979
|
+
method: 'get',
|
|
1980
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
1981
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1982
|
+
requestFormat: 'json',
|
|
1983
|
+
parameters: {
|
|
1984
|
+
groupId: zod_1.z.number().int(),
|
|
1985
|
+
limit: zod_1.z
|
|
1986
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
1987
|
+
.optional()
|
|
1988
|
+
.default(10),
|
|
1989
|
+
cursor: zod_1.z.string().optional(),
|
|
1990
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1991
|
+
},
|
|
1992
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
1993
|
+
errors: [
|
|
1994
|
+
{
|
|
1995
|
+
status: 400,
|
|
1996
|
+
description: "1: The group is invalid or does not exist.",
|
|
1997
|
+
schema: zod_1.z.void(),
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
status: 403,
|
|
2001
|
+
description: "2: You do not have permission to access this group wall.",
|
|
2002
|
+
schema: zod_1.z.void(),
|
|
2003
|
+
},
|
|
2004
|
+
],
|
|
2005
|
+
};
|
|
2006
|
+
exports.postV1groupsGroupIdwallposts = {
|
|
2007
|
+
method: 'post',
|
|
2008
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
2009
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2010
|
+
requestFormat: 'json',
|
|
2011
|
+
parameters: {
|
|
2012
|
+
body: Roblox_Groups_Api_CreateWallPostRequest,
|
|
2013
|
+
groupId: zod_1.z.number().int(),
|
|
2014
|
+
},
|
|
2015
|
+
response: Roblox_Groups_Api_Models_Response_GroupWallPostModel,
|
|
2016
|
+
errors: [
|
|
2017
|
+
{
|
|
2018
|
+
status: 400,
|
|
2019
|
+
description: "1: The group is invalid or does not exist.\n5: Your post was empty, white space, or more than 500 characters.",
|
|
2020
|
+
schema: zod_1.z.void(),
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
status: 401,
|
|
2024
|
+
description: "0: Authorization has been denied for this request.",
|
|
2025
|
+
schema: zod_1.z.void(),
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
status: 403,
|
|
2029
|
+
description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.\n7: Captcha must be solved.",
|
|
2030
|
+
schema: zod_1.z.void(),
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
status: 429,
|
|
2034
|
+
description: "4: You are posting too fast, please try again in a few minutes.",
|
|
2035
|
+
schema: zod_1.z.void(),
|
|
2036
|
+
},
|
|
2037
|
+
],
|
|
2038
|
+
};
|
|
2039
|
+
exports.deleteV1groupsGroupIdwallpostsPostId = {
|
|
2040
|
+
method: 'delete',
|
|
2041
|
+
path: '/v1/groups/:groupId/wall/posts/:postId',
|
|
2042
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2043
|
+
requestFormat: 'json',
|
|
2044
|
+
parameters: {
|
|
2045
|
+
groupId: zod_1.z.number().int(),
|
|
2046
|
+
postId: zod_1.z.number().int(),
|
|
2047
|
+
},
|
|
2048
|
+
response: zod_1.z.object({}).partial(),
|
|
2049
|
+
errors: [
|
|
2050
|
+
{
|
|
2051
|
+
status: 400,
|
|
2052
|
+
description: "1: The group is invalid or does not exist.\n3: The group wall post id is invalid or does not exist.",
|
|
2053
|
+
schema: zod_1.z.void(),
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
status: 401,
|
|
2057
|
+
description: "0: Authorization has been denied for this request.",
|
|
2058
|
+
schema: zod_1.z.void(),
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
status: 403,
|
|
2062
|
+
description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
|
|
2063
|
+
schema: zod_1.z.void(),
|
|
2064
|
+
},
|
|
2065
|
+
],
|
|
2066
|
+
};
|
|
2067
|
+
exports.postV1groupsGroupIdwallsubscribe = {
|
|
2068
|
+
method: 'post',
|
|
2069
|
+
path: '/v1/groups/:groupId/wall/subscribe',
|
|
2070
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2071
|
+
requestFormat: 'json',
|
|
2072
|
+
parameters: {
|
|
2073
|
+
groupId: zod_1.z.number().int(),
|
|
2074
|
+
},
|
|
2075
|
+
response: zod_1.z.void(),
|
|
2076
|
+
errors: [
|
|
2077
|
+
{
|
|
2078
|
+
status: 400,
|
|
2079
|
+
description: "1: The group is invalid or does not exist.",
|
|
2080
|
+
schema: zod_1.z.void(),
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
status: 401,
|
|
2084
|
+
description: "0: Authorization has been denied for this request.",
|
|
2085
|
+
schema: zod_1.z.void(),
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
status: 403,
|
|
2089
|
+
description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
|
|
2090
|
+
schema: zod_1.z.void(),
|
|
2091
|
+
},
|
|
2092
|
+
],
|
|
2093
|
+
};
|
|
2094
|
+
exports.deleteV1groupsGroupIdwallusersUserIdposts = {
|
|
2095
|
+
method: 'delete',
|
|
2096
|
+
path: '/v1/groups/:groupId/wall/users/:userId/posts',
|
|
2097
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2098
|
+
requestFormat: 'json',
|
|
2099
|
+
parameters: {
|
|
2100
|
+
groupId: zod_1.z.number().int(),
|
|
2101
|
+
userId: zod_1.z.number().int(),
|
|
2102
|
+
},
|
|
2103
|
+
response: zod_1.z.object({}).partial(),
|
|
2104
|
+
errors: [
|
|
2105
|
+
{
|
|
2106
|
+
status: 400,
|
|
2107
|
+
description: "1: The group is invalid or does not exist.\n6: The user specified is invalid or does not exist.",
|
|
2108
|
+
schema: zod_1.z.void(),
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
status: 401,
|
|
2112
|
+
description: "0: Authorization has been denied for this request.",
|
|
2113
|
+
schema: zod_1.z.void(),
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
status: 403,
|
|
2117
|
+
description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.",
|
|
2118
|
+
schema: zod_1.z.void(),
|
|
2119
|
+
},
|
|
2120
|
+
],
|
|
2121
|
+
};
|
|
2122
|
+
exports.getV1groupsconfigurationmetadata = {
|
|
2123
|
+
method: 'get',
|
|
2124
|
+
path: '/v1/groups/configuration/metadata',
|
|
2125
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2126
|
+
requestFormat: 'json',
|
|
2127
|
+
response: Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
|
|
2128
|
+
errors: [],
|
|
2129
|
+
};
|
|
2130
|
+
exports.postV1groupscreate = {
|
|
2131
|
+
method: 'post',
|
|
2132
|
+
path: '/v1/groups/create',
|
|
2133
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2134
|
+
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.",
|
|
2135
|
+
requestFormat: 'form-data',
|
|
2136
|
+
parameters: {
|
|
2137
|
+
body: postV1groupscreate_Body,
|
|
2138
|
+
},
|
|
2139
|
+
response: Roblox_Web_Responses_Groups_GroupResponseV2,
|
|
2140
|
+
errors: [
|
|
2141
|
+
{
|
|
2142
|
+
status: 400,
|
|
2143
|
+
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.",
|
|
2144
|
+
schema: zod_1.z.void(),
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
status: 401,
|
|
2148
|
+
description: "0: Authorization has been denied for this request.",
|
|
2149
|
+
schema: zod_1.z.void(),
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
status: 403,
|
|
2153
|
+
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.",
|
|
2154
|
+
schema: zod_1.z.void(),
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
status: 409,
|
|
2158
|
+
description: "37: The name was in use too recently.",
|
|
2159
|
+
schema: zod_1.z.void(),
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
status: 413,
|
|
2163
|
+
description: "0: Unknown error.",
|
|
2164
|
+
schema: zod_1.z.void(),
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
status: 429,
|
|
2168
|
+
description: "17: Too many requests.",
|
|
2169
|
+
schema: zod_1.z.void(),
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
status: 503,
|
|
2173
|
+
description: "21: Group creation is currently disabled.",
|
|
2174
|
+
schema: zod_1.z.void(),
|
|
2175
|
+
},
|
|
2176
|
+
],
|
|
2177
|
+
};
|
|
2178
|
+
exports.patchV1groupsicon = {
|
|
2179
|
+
method: 'patch',
|
|
2180
|
+
path: '/v1/groups/icon',
|
|
2181
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2182
|
+
requestFormat: 'form-data',
|
|
2183
|
+
parameters: {
|
|
2184
|
+
body: zod_1.z.object({ Files: zod_1.z.unknown() }).partial(),
|
|
2185
|
+
groupId: zod_1.z.number().int(),
|
|
2186
|
+
},
|
|
2187
|
+
response: zod_1.z.object({}).partial(),
|
|
2188
|
+
errors: [
|
|
2189
|
+
{
|
|
2190
|
+
status: 400,
|
|
2191
|
+
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.",
|
|
2192
|
+
schema: zod_1.z.void(),
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
status: 401,
|
|
2196
|
+
description: "0: Authorization has been denied for this request.",
|
|
2197
|
+
schema: zod_1.z.void(),
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
status: 403,
|
|
2201
|
+
description: "0: Token Validation Failed\n23: Insufficient permissions to complete the request.",
|
|
2202
|
+
schema: zod_1.z.void(),
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
status: 413,
|
|
2206
|
+
description: "0: Unknown error.",
|
|
2207
|
+
schema: zod_1.z.void(),
|
|
2208
|
+
},
|
|
2209
|
+
],
|
|
2210
|
+
};
|
|
2211
|
+
exports.getV1groupsmetadata = {
|
|
2212
|
+
method: 'get',
|
|
2213
|
+
path: '/v1/groups/metadata',
|
|
2214
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2215
|
+
requestFormat: 'json',
|
|
2216
|
+
response: Roblox_Groups_Api_GroupsDisplayOptionsResponse,
|
|
2217
|
+
errors: [],
|
|
2218
|
+
};
|
|
2219
|
+
exports.postV1groupspolicies = {
|
|
2220
|
+
method: 'post',
|
|
2221
|
+
path: '/v1/groups/policies',
|
|
2222
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2223
|
+
requestFormat: 'json',
|
|
2224
|
+
parameters: {
|
|
2225
|
+
body: Roblox_Groups_Api_GroupPolicyRequest,
|
|
2226
|
+
},
|
|
2227
|
+
response: Roblox_Groups_Api_GroupPoliciesResponse,
|
|
2228
|
+
errors: [
|
|
2229
|
+
{
|
|
2230
|
+
status: 400,
|
|
2231
|
+
description: "1: Too many ids in request.\n2: Ids could not be parsed from request.",
|
|
2232
|
+
schema: zod_1.z.void(),
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
status: 401,
|
|
2236
|
+
description: "0: Authorization has been denied for this request.",
|
|
2237
|
+
schema: zod_1.z.void(),
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
status: 403,
|
|
2241
|
+
description: "0: Token Validation Failed",
|
|
2242
|
+
schema: zod_1.z.void(),
|
|
2243
|
+
},
|
|
2244
|
+
],
|
|
2245
|
+
};
|
|
2246
|
+
exports.getV1groupssearch = {
|
|
2247
|
+
method: 'get',
|
|
2248
|
+
path: '/v1/groups/search',
|
|
2249
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2250
|
+
requestFormat: 'json',
|
|
2251
|
+
parameters: {
|
|
2252
|
+
keyword: zod_1.z.string(),
|
|
2253
|
+
prioritizeExactMatch: zod_1.z.boolean().optional(),
|
|
2254
|
+
limit: zod_1.z
|
|
2255
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
2256
|
+
.optional()
|
|
2257
|
+
.default(10),
|
|
2258
|
+
cursor: zod_1.z.string().optional(),
|
|
2259
|
+
},
|
|
2260
|
+
response: Roblox_Groups_Api_GroupSearchPageResponse,
|
|
2261
|
+
errors: [
|
|
2262
|
+
{
|
|
2263
|
+
status: 400,
|
|
2264
|
+
description: "2: Search term not appropriate for Roblox.\n3: Search term was left empty.\n4: Search terms can be 2 to 50 characters long.",
|
|
2265
|
+
schema: zod_1.z.void(),
|
|
2266
|
+
},
|
|
2267
|
+
],
|
|
2268
|
+
};
|
|
2269
|
+
exports.getV1groupssearchlookup = {
|
|
2270
|
+
method: 'get',
|
|
2271
|
+
path: '/v1/groups/search/lookup',
|
|
2272
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2273
|
+
description: "Should only be used for direct lookups where a user is inputting a group name, shouldn't be used for search pages.",
|
|
2274
|
+
requestFormat: 'json',
|
|
2275
|
+
parameters: {
|
|
2276
|
+
groupName: zod_1.z.string(),
|
|
2277
|
+
},
|
|
2278
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
2279
|
+
errors: [
|
|
2280
|
+
{
|
|
2281
|
+
status: 400,
|
|
2282
|
+
description: "1: Name is missing or has invalid characters.",
|
|
2283
|
+
schema: zod_1.z.void(),
|
|
2284
|
+
},
|
|
2285
|
+
],
|
|
2286
|
+
};
|
|
2287
|
+
exports.getV1groupssearchmetadata = {
|
|
2288
|
+
method: 'get',
|
|
2289
|
+
path: '/v1/groups/search/metadata',
|
|
2290
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2291
|
+
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",
|
|
2292
|
+
requestFormat: 'json',
|
|
2293
|
+
response: Roblox_Groups_Api_GroupSearchMetadataResponse,
|
|
2294
|
+
errors: [
|
|
2295
|
+
{
|
|
2296
|
+
status: 404,
|
|
2297
|
+
description: "5: No Localized Version of group search category exists",
|
|
2298
|
+
schema: zod_1.z.void(),
|
|
2299
|
+
},
|
|
2300
|
+
],
|
|
2301
|
+
};
|
|
2302
|
+
exports.getV1roles = {
|
|
2303
|
+
method: 'get',
|
|
2304
|
+
path: '/v1/roles',
|
|
2305
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2306
|
+
requestFormat: 'json',
|
|
2307
|
+
parameters: {
|
|
2308
|
+
ids: zod_1.z.array(zod_1.z.number()),
|
|
2309
|
+
},
|
|
2310
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
2311
|
+
errors: [
|
|
2312
|
+
{
|
|
2313
|
+
status: 400,
|
|
2314
|
+
description: "1: Ids could not be parsed from request.\n2: Too many ids in request.",
|
|
2315
|
+
schema: zod_1.z.void(),
|
|
2316
|
+
},
|
|
2317
|
+
],
|
|
2318
|
+
};
|
|
2319
|
+
exports.getV1usergroupspending = {
|
|
2320
|
+
method: 'get',
|
|
2321
|
+
path: '/v1/user/groups/pending',
|
|
2322
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2323
|
+
requestFormat: 'json',
|
|
2324
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
|
|
2325
|
+
errors: [
|
|
2326
|
+
{
|
|
2327
|
+
status: 401,
|
|
2328
|
+
description: "0: Authorization has been denied for this request.",
|
|
2329
|
+
schema: zod_1.z.void(),
|
|
2330
|
+
},
|
|
2331
|
+
],
|
|
2332
|
+
};
|
|
2333
|
+
exports.deleteV1usergroupsprimary = {
|
|
2334
|
+
method: 'delete',
|
|
2335
|
+
path: '/v1/user/groups/primary',
|
|
2336
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2337
|
+
requestFormat: 'json',
|
|
2338
|
+
response: zod_1.z.object({}).partial(),
|
|
2339
|
+
errors: [
|
|
2340
|
+
{
|
|
2341
|
+
status: 401,
|
|
2342
|
+
description: "0: Authorization has been denied for this request.",
|
|
2343
|
+
schema: zod_1.z.void(),
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
status: 403,
|
|
2347
|
+
description: "0: Token Validation Failed",
|
|
2348
|
+
schema: zod_1.z.void(),
|
|
2349
|
+
},
|
|
2350
|
+
],
|
|
2351
|
+
};
|
|
2352
|
+
exports.postV1usergroupsprimary = {
|
|
2353
|
+
method: 'post',
|
|
2354
|
+
path: '/v1/user/groups/primary',
|
|
2355
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2356
|
+
requestFormat: 'json',
|
|
2357
|
+
parameters: {
|
|
2358
|
+
body: zod_1.z.object({ groupId: zod_1.z.number().int() }).partial(),
|
|
2359
|
+
},
|
|
2360
|
+
response: zod_1.z.object({}).partial(),
|
|
2361
|
+
errors: [
|
|
2362
|
+
{
|
|
2363
|
+
status: 400,
|
|
2364
|
+
description: "1: Group is invalid or does not exist.",
|
|
2365
|
+
schema: zod_1.z.void(),
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
status: 401,
|
|
2369
|
+
description: "0: Authorization has been denied for this request.",
|
|
2370
|
+
schema: zod_1.z.void(),
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
status: 403,
|
|
2374
|
+
description: "0: Token Validation Failed\n2: You aren't a member of the group specified.",
|
|
2375
|
+
schema: zod_1.z.void(),
|
|
2376
|
+
},
|
|
2377
|
+
],
|
|
2378
|
+
};
|
|
2379
|
+
exports.getV1usersUserIdfriendsgroupsroles = {
|
|
2380
|
+
method: 'get',
|
|
2381
|
+
path: '/v1/users/:userId/friends/groups/roles',
|
|
2382
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2383
|
+
requestFormat: 'json',
|
|
2384
|
+
parameters: {
|
|
2385
|
+
userId: zod_1.z.number().int(),
|
|
2386
|
+
},
|
|
2387
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
2388
|
+
errors: [
|
|
2389
|
+
{
|
|
2390
|
+
status: 400,
|
|
2391
|
+
description: "3: The user is invalid or does not exist.",
|
|
2392
|
+
schema: zod_1.z.void(),
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
status: 401,
|
|
2396
|
+
description: "3: The user is invalid or does not exist.",
|
|
2397
|
+
schema: zod_1.z.void(),
|
|
2398
|
+
},
|
|
2399
|
+
],
|
|
2400
|
+
};
|
|
2401
|
+
exports.getV1usersUserIdgroupsprimaryrole = {
|
|
2402
|
+
method: 'get',
|
|
2403
|
+
path: '/v1/users/:userId/groups/primary/role',
|
|
2404
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2405
|
+
requestFormat: 'json',
|
|
2406
|
+
parameters: {
|
|
2407
|
+
userId: zod_1.z.number().int(),
|
|
2408
|
+
},
|
|
2409
|
+
response: Roblox_Groups_Api_GroupMembershipDetailResponse,
|
|
2410
|
+
errors: [
|
|
2411
|
+
{
|
|
2412
|
+
status: 400,
|
|
2413
|
+
description: "4: User is invalid or does not exist.",
|
|
2414
|
+
schema: zod_1.z.void(),
|
|
2415
|
+
},
|
|
2416
|
+
],
|
|
2417
|
+
};
|
|
2418
|
+
exports.getV1usersUserIdgroupsroles = {
|
|
2419
|
+
method: 'get',
|
|
2420
|
+
path: '/v1/users/:userId/groups/roles',
|
|
2421
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2422
|
+
requestFormat: 'json',
|
|
2423
|
+
parameters: {
|
|
2424
|
+
userId: zod_1.z.number().int(),
|
|
2425
|
+
},
|
|
2426
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
2427
|
+
errors: [
|
|
2428
|
+
{
|
|
2429
|
+
status: 400,
|
|
2430
|
+
description: "3: The user is invalid or does not exist.",
|
|
2431
|
+
schema: zod_1.z.void(),
|
|
2432
|
+
},
|
|
2433
|
+
],
|
|
2434
|
+
};
|