rozod 6.7.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getUsersUseridGroupsRoles = exports.getUsersUseridGroupsPrimaryRole = exports.getUsersUseridFriendsGroupsRoles = exports.deleteUserGroupsPrimary = exports.postUserGroupsPrimary = exports.getUserGroupsPending = exports.getRoles = exports.getGroupsSearchMetadata = exports.getGroupsSearchLookup = exports.getGroupsSearch = exports.postGroupsPolicies = exports.getGroupsMetadata = exports.patchGroupsIcon = exports.postGroupsCreate = exports.getGroupsConfigurationMetadata = exports.deleteGroupsGroupidWallUsersUseridPosts = exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = exports.getGroupsGroupidUsersUseridPermissions = exports.patchGroupsGroupidUsersUserid = exports.deleteGroupsGroupidUsersUserid = exports.postGroupsGroupidUsers = exports.getGroupsGroupidUsers = exports.patchGroupsGroupidStatus = exports.patchGroupsGroupidSocialLinksSociallinkid = exports.deleteGroupsGroupidSocialLinksSociallinkid = exports.postGroupsGroupidSocialLinks = exports.getGroupsGroupidSocialLinks = exports.patchGroupsGroupidSettings = exports.getGroupsGroupidSettings = exports.postGroupsGroupidRolesetsCreate = exports.patchGroupsGroupidRolesetsRolesetid = void 0;
|
|
3
|
+
exports.getGroupsGroupidRolesPermissions = exports.getGroupsGroupidRolesGuestPermissions = exports.getGroupsGroupidRolesRolesetidUsers = exports.patchGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRolesRolesetidPermissions = exports.getGroupsGroupidRoles = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = exports.deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = exports.getGroupsGroupidRelationshipsGrouprelationshiptype = exports.postGroupsGroupidPayoutsRecurring = exports.postGroupsGroupidPayouts = exports.getGroupsGroupidPayouts = exports.getGroupsGroupidPayoutRestriction = exports.patchGroupsGroupidNotificationPreference = exports.getGroupsGroupidNameHistory = exports.patchGroupsGroupidName = exports.getGroupsGroupidMembership = exports.deleteGroupsGroupidJoinRequestsUsersUserid = exports.postGroupsGroupidJoinRequestsUsersUserid = exports.getGroupsGroupidJoinRequestsUsersUserid = exports.deleteGroupsGroupidJoinRequests = exports.postGroupsGroupidJoinRequests = exports.getGroupsGroupidJoinRequests = exports.getGroupsGroupidFeaturesStatus = exports.patchGroupsGroupidFeatures = exports.getGroupsGroupidFeatures = exports.getGroupsGroupidEmotes = exports.patchGroupsGroupidDescription = exports.getGroupsGroupidConfiguration = exports.getGroupsGroupidCommunityFeatureFreezes = exports.postGroupsGroupidClaimOwnership = exports.postGroupsGroupidChangeOwner = exports.patchGroupsGroupidBlockedKeywordsKeywordid = exports.deleteGroupsGroupidBlockedKeywordsKeywordid = exports.postGroupsGroupidBlockedKeywords = exports.getGroupsGroupidBlockedKeywords = exports.deleteGroupsGroupidBansUserid = exports.postGroupsGroupidBansUserid = exports.getGroupsGroupidBansUserid = exports.getGroupsGroupidBans = exports.getGroupsGroupidAuditLog = exports.getGroupsGroupid = exports.deleteFeaturedContentEvent = exports.postFeaturedContentEvent = exports.getFeaturedContentEvent = void 0;
|
|
4
|
+
exports.getUsersUseridGroupsRoles = exports.getUsersUseridGroupsPrimaryRole = exports.getUsersUseridFriendsGroupsRoles = exports.deleteUserGroupsPrimary = exports.postUserGroupsPrimary = exports.getUserGroupsPending = exports.getRoles = exports.getGroupsSearchMetadata = exports.getGroupsSearchLookup = exports.getGroupsSearch = exports.postGroupsPolicies = exports.getGroupsMetadata = exports.patchGroupsIcon = exports.postGroupsCreate = exports.getGroupsConfigurationMetadata = exports.deleteGroupsGroupidWallUsersUseridPosts = exports.postGroupsGroupidWallSubscribe = exports.deleteGroupsGroupidWallPostsPostid = exports.postGroupsGroupidWallPosts = exports.getGroupsGroupidWallPosts = exports.getGroupsGroupidUsersUseridPermissions = exports.patchGroupsGroupidUsersUserid = exports.deleteGroupsGroupidUsersUserid = exports.postGroupsGroupidUsers = exports.getGroupsGroupidUsers = exports.patchGroupsGroupidStatus = exports.patchGroupsGroupidSocialLinksSociallinkid = exports.deleteGroupsGroupidSocialLinksSociallinkid = exports.postGroupsGroupidSocialLinks = exports.getGroupsGroupidSocialLinks = exports.patchGroupsGroupidSettings = exports.getGroupsGroupidSettings = exports.postGroupsGroupidRolesetsCreate = exports.patchGroupsGroupidRolesetsRolesetid = exports.deleteGroupsGroupidRolesetsRolesetid = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const __1 = require("..");
|
|
7
7
|
const Roblox_Groups_Client_GroupFeaturedContentResponse = zod_1.z.object({
|
|
@@ -111,6 +111,13 @@ const Roblox_Groups_Client_CreateBlockedKeywordsResponse = zod_1.z.object({
|
|
|
111
111
|
hadModeratedKeywords: zod_1.z.boolean(),
|
|
112
112
|
hadDuplicateKeywords: zod_1.z.boolean(),
|
|
113
113
|
});
|
|
114
|
+
const Roblox_Groups_Api_CommunityFeatureFreezeStatus = zod_1.z.object({
|
|
115
|
+
feature: zod_1.z.string(),
|
|
116
|
+
isDisabled: zod_1.z.boolean(),
|
|
117
|
+
});
|
|
118
|
+
const Roblox_Groups_Api_GetCommunityFeatureFreezesResponse = zod_1.z.object({
|
|
119
|
+
features: zod_1.z.array(Roblox_Groups_Api_CommunityFeatureFreezeStatus),
|
|
120
|
+
});
|
|
114
121
|
const Roblox_Groups_Api_GroupConfigurationDetailsResponse = zod_1.z.object({
|
|
115
122
|
groupId: zod_1.z.number().int(),
|
|
116
123
|
emblemId: zod_1.z.number().int(),
|
|
@@ -129,7 +136,14 @@ const Roblox_Groups_Client_GetGroupEmoteSetsResponse = zod_1.z.object({
|
|
|
129
136
|
emoteSets: zod_1.z.array(Roblox_Groups_Client_EmoteSetModel),
|
|
130
137
|
});
|
|
131
138
|
const Roblox_Groups_Api_GroupFeatureResponse = zod_1.z.object({
|
|
132
|
-
feature: zod_1.z.enum([
|
|
139
|
+
feature: zod_1.z.enum([
|
|
140
|
+
'Payouts',
|
|
141
|
+
'ContentUpload',
|
|
142
|
+
'GroupOwnershipTransfer',
|
|
143
|
+
'GameOwnershipTransfer',
|
|
144
|
+
'ForumRead',
|
|
145
|
+
'ForumWrite',
|
|
146
|
+
]),
|
|
133
147
|
isFeatureBlocked: zod_1.z.boolean(),
|
|
134
148
|
expiration: zod_1.z.string().datetime({ offset: true }),
|
|
135
149
|
});
|
|
@@ -246,6 +260,7 @@ const Roblox_Groups_Api_GroupMembershipMetadataResponse = zod_1.z.object({
|
|
|
246
260
|
notificationPreferences: zod_1.z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
247
261
|
isBannedFromGroup: zod_1.z.boolean(),
|
|
248
262
|
canViewMemberList: zod_1.z.boolean(),
|
|
263
|
+
isOwner: zod_1.z.boolean(),
|
|
249
264
|
});
|
|
250
265
|
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = zod_1.z.object({
|
|
251
266
|
name: zod_1.z.string(),
|
|
@@ -272,10 +287,15 @@ const Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z.object({
|
|
|
272
287
|
recipientType: zod_1.z.enum(['User', 'Group']),
|
|
273
288
|
amount: zod_1.z.number().int(),
|
|
274
289
|
});
|
|
290
|
+
const Roblox_Groups_Api_WatermarkContributionRequest = zod_1.z.object({
|
|
291
|
+
balanceKey: zod_1.z.enum(['Standard', 'O18Boosted']),
|
|
292
|
+
amount: zod_1.z.number().int(),
|
|
293
|
+
});
|
|
275
294
|
const Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
|
|
276
295
|
PayoutType: zod_1.z.enum(['FixedAmount', 'Percentage']),
|
|
277
296
|
Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
278
297
|
IdempotencyKey: zod_1.z.string(),
|
|
298
|
+
WatermarkContributions: zod_1.z.array(Roblox_Groups_Api_WatermarkContributionRequest),
|
|
279
299
|
});
|
|
280
300
|
const Roblox_Groups_Api_OneTimePayoutResponse = zod_1.z.object({
|
|
281
301
|
status: zod_1.z.enum(['NotHeld', 'Held']),
|
|
@@ -853,6 +873,8 @@ exports.getGroupsGroupidAuditLog = (0, __1.endpoint)({
|
|
|
853
873
|
'UpdateGroupCoverPhoto',
|
|
854
874
|
'AssignRole',
|
|
855
875
|
'UnassignRole',
|
|
876
|
+
'PublishAnnouncement',
|
|
877
|
+
'DeleteAnnouncement',
|
|
856
878
|
])
|
|
857
879
|
.optional(),
|
|
858
880
|
userId: zod_1.z.number().int().optional(),
|
|
@@ -1389,6 +1411,27 @@ exports.postGroupsGroupidClaimOwnership = (0, __1.endpoint)({
|
|
|
1389
1411
|
},
|
|
1390
1412
|
],
|
|
1391
1413
|
});
|
|
1414
|
+
/**
|
|
1415
|
+
* @api GET https://groups.roblox.com/v1/groups/:groupId/community-feature-freezes
|
|
1416
|
+
* @summary Gets the freeze status of the community features for a group.
|
|
1417
|
+
* @param groupId
|
|
1418
|
+
*/
|
|
1419
|
+
exports.getGroupsGroupidCommunityFeatureFreezes = (0, __1.endpoint)({
|
|
1420
|
+
method: 'GET',
|
|
1421
|
+
path: '/v1/groups/:groupId/community-feature-freezes',
|
|
1422
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1423
|
+
requestFormat: 'json',
|
|
1424
|
+
serializationMethod: {
|
|
1425
|
+
groupId: {
|
|
1426
|
+
style: 'simple',
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
parameters: {
|
|
1430
|
+
groupId: zod_1.z.number().int(),
|
|
1431
|
+
},
|
|
1432
|
+
response: Roblox_Groups_Api_GetCommunityFeatureFreezesResponse,
|
|
1433
|
+
errors: [],
|
|
1434
|
+
});
|
|
1392
1435
|
/**
|
|
1393
1436
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/configuration
|
|
1394
1437
|
* @summary Gets group configuration information
|
|
@@ -2154,7 +2197,8 @@ exports.postGroupsGroupidPayouts = (0, __1.endpoint)({
|
|
|
2154
2197
|
description: `0: Token Validation Failed
|
|
2155
2198
|
23: Insufficient permissions to complete the request.
|
|
2156
2199
|
28: Group has paid out too recently. Please wait and try again.
|
|
2157
|
-
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification
|
|
2200
|
+
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
|
|
2201
|
+
52: Group has paid out to this recipient too many times recently. Please try again later.`,
|
|
2158
2202
|
},
|
|
2159
2203
|
{
|
|
2160
2204
|
status: 503,
|