rozod 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -155,33 +155,33 @@ export declare const patchCloudV2CreatorStoreProductsCreatorStoreProductId: impo
155
155
  videoAssetId: string;
156
156
  fontFamilyAssetId: string;
157
157
  }, {
158
- path: string;
159
- basePrice: {
158
+ path?: string | undefined;
159
+ basePrice?: {
160
160
  currencyCode: string;
161
161
  quantity: {
162
162
  significand: number;
163
163
  exponent: number;
164
164
  };
165
- };
166
- purchasePrice: {
165
+ } | undefined;
166
+ purchasePrice?: {
167
167
  currencyCode: string;
168
168
  quantity: {
169
169
  significand: number;
170
170
  exponent: number;
171
171
  };
172
- };
173
- published: boolean;
174
- restrictions: ("RESTRICTION_UNSPECIFIED" | "SOLD_ITEM_RESTRICTED" | "SELLER_TEMPORARILY_RESTRICTED" | "SELLER_PERMANENTLY_RESTRICTED" | "SELLER_NO_LONGER_ACTIVE")[];
175
- purchasable: boolean;
176
- userSeller: string;
177
- groupSeller: string;
178
- modelAssetId: string;
179
- pluginAssetId: string;
180
- audioAssetId: string;
181
- decalAssetId: string;
182
- meshPartAssetId: string;
183
- videoAssetId: string;
184
- fontFamilyAssetId: string;
172
+ } | undefined;
173
+ published?: boolean | undefined;
174
+ restrictions?: ("RESTRICTION_UNSPECIFIED" | "SOLD_ITEM_RESTRICTED" | "SELLER_TEMPORARILY_RESTRICTED" | "SELLER_PERMANENTLY_RESTRICTED" | "SELLER_NO_LONGER_ACTIVE")[] | undefined;
175
+ purchasable?: boolean | undefined;
176
+ userSeller?: string | undefined;
177
+ groupSeller?: string | undefined;
178
+ modelAssetId?: string | undefined;
179
+ pluginAssetId?: string | undefined;
180
+ audioAssetId?: string | undefined;
181
+ decalAssetId?: string | undefined;
182
+ meshPartAssetId?: string | undefined;
183
+ videoAssetId?: string | undefined;
184
+ fontFamilyAssetId?: string | undefined;
185
185
  }>;
186
186
  /**
187
187
  * `BETA`
@@ -478,13 +478,15 @@ export declare const getCloudV2GroupsGroupIdMemberships: import("../..").Endpoin
478
478
  updateTime: string;
479
479
  user: string;
480
480
  role: string;
481
+ roles: string[];
481
482
  }[];
482
483
  nextPageToken: string;
483
484
  }, undefined>;
484
485
  /**
485
486
  * `BETA`
486
487
  *
487
- * Updates the group membership for a particular group member. This action
488
+ * **Deprecated.** Use AssignGroupRole and UnassignGroupRole instead.
489
+ Updates the group membership for a particular group member. This action
488
490
  requires the requester to be able to manage lower ranked members. Guest or
489
491
  Owner ranks cannot be assigned, and a requester cannot change their own
490
492
  rank.
@@ -505,12 +507,66 @@ export declare const patchCloudV2GroupsGroupIdMembershipsMembershipId: import(".
505
507
  updateTime: string;
506
508
  user: string;
507
509
  role: string;
510
+ roles: string[];
511
+ }, {
512
+ path?: string | undefined;
513
+ createTime?: string | undefined;
514
+ updateTime?: string | undefined;
515
+ user?: string | undefined;
516
+ role?: string | undefined;
517
+ roles?: string[] | undefined;
518
+ }>;
519
+ /**
520
+ * `BETA`
521
+ *
522
+ * Assigns a specific role to a user within a group. If the user already
523
+ holds the specified role, no action is taken.
524
+ *
525
+ * **Scopes:** `group:write`
526
+ * **Engine:** Usable with HttpService
527
+ *
528
+ * @param body
529
+ * @param group_id The group ID.
530
+ * @param membership_id The membership ID.
531
+ */
532
+ export declare const postCloudV2GroupsGroupIdMembershipsMembershipIdAssignRole: import("../..").EndpointGeneric<{
533
+ group_id: string;
534
+ membership_id: string;
535
+ }, {
536
+ path: string;
537
+ createTime: string;
538
+ updateTime: string;
539
+ user: string;
540
+ role: string;
541
+ roles: string[];
542
+ }, {
543
+ role: string;
544
+ }>;
545
+ /**
546
+ * `BETA`
547
+ *
548
+ * Unassigns a specific role from a user within a group. If the user does
549
+ not hold the specified role, no action is taken.
550
+ *
551
+ * **Scopes:** `group:write`
552
+ * **Engine:** Usable with HttpService
553
+ *
554
+ * @param body
555
+ * @param group_id The group ID.
556
+ * @param membership_id The membership ID.
557
+ */
558
+ export declare const postCloudV2GroupsGroupIdMembershipsMembershipIdUnassignRole: import("../..").EndpointGeneric<{
559
+ group_id: string;
560
+ membership_id: string;
508
561
  }, {
509
562
  path: string;
510
563
  createTime: string;
511
564
  updateTime: string;
512
565
  user: string;
513
566
  role: string;
567
+ roles: string[];
568
+ }, {
569
+ role: string;
514
570
  }>;
515
571
  /**
516
572
  * `BETA`
@@ -795,7 +851,6 @@ export declare const patchCloudV2UniversesUniverseId: import("../..").EndpointGe
795
851
  vrEnabled?: boolean | undefined;
796
852
  rootPlace?: string | undefined;
797
853
  }, {
798
- templateRootPlace: string;
799
854
  path?: string | undefined;
800
855
  createTime?: string | undefined;
801
856
  updateTime?: string | undefined;
@@ -841,6 +896,7 @@ export declare const patchCloudV2UniversesUniverseId: import("../..").EndpointGe
841
896
  consoleEnabled?: boolean | undefined;
842
897
  vrEnabled?: boolean | undefined;
843
898
  rootPlace?: string | undefined;
899
+ templateRootPlace?: string | undefined;
844
900
  }>;
845
901
  /**
846
902
  * `BETA`
@@ -1328,16 +1384,16 @@ export declare const patchCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries
1328
1384
  attributes: Record<string, never>;
1329
1385
  }, {
1330
1386
  [x: string]: unknown;
1331
- path: string;
1332
- createTime: string;
1333
- revisionId: string;
1334
- revisionCreateTime: string;
1335
- state: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
1336
- etag: string;
1337
- value: unknown;
1338
- id: string;
1339
- users: string[];
1340
- attributes: Record<string, never>;
1387
+ path?: string | undefined;
1388
+ createTime?: string | undefined;
1389
+ revisionId?: string | undefined;
1390
+ revisionCreateTime?: string | undefined;
1391
+ state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED" | undefined;
1392
+ etag?: string | undefined;
1393
+ value?: unknown;
1394
+ id?: string | undefined;
1395
+ users?: string[] | undefined;
1396
+ attributes?: Record<string, never> | undefined;
1341
1397
  }>;
1342
1398
  /**
1343
1399
  * `STABLE`
@@ -1684,16 +1740,16 @@ export declare const patchCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesS
1684
1740
  attributes: Record<string, never>;
1685
1741
  }, {
1686
1742
  [x: string]: unknown;
1687
- path: string;
1688
- createTime: string;
1689
- revisionId: string;
1690
- revisionCreateTime: string;
1691
- state: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
1692
- etag: string;
1693
- value: unknown;
1694
- id: string;
1695
- users: string[];
1696
- attributes: Record<string, never>;
1743
+ path?: string | undefined;
1744
+ createTime?: string | undefined;
1745
+ revisionId?: string | undefined;
1746
+ revisionCreateTime?: string | undefined;
1747
+ state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED" | undefined;
1748
+ etag?: string | undefined;
1749
+ value?: unknown;
1750
+ id?: string | undefined;
1751
+ users?: string[] | undefined;
1752
+ attributes?: Record<string, never> | undefined;
1697
1753
  }>;
1698
1754
  /**
1699
1755
  * `STABLE`
@@ -2136,14 +2192,14 @@ export declare const patchCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedM
2136
2192
  stringSortKey: string;
2137
2193
  numericSortKey: number;
2138
2194
  }, {
2139
- path: string;
2140
- value: unknown;
2141
- etag: string;
2142
- ttl: string;
2143
- expireTime: string;
2144
- id: string;
2145
- stringSortKey: string;
2146
- numericSortKey: number;
2195
+ path?: string | undefined;
2196
+ value?: unknown;
2197
+ etag?: string | undefined;
2198
+ ttl?: string | undefined;
2199
+ expireTime?: string | undefined;
2200
+ id?: string | undefined;
2201
+ stringSortKey?: string | undefined;
2202
+ numericSortKey?: number | undefined;
2147
2203
  }>;
2148
2204
  /**
2149
2205
  * `STABLE`
@@ -2306,9 +2362,9 @@ export declare const patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedData
2306
2362
  value: number;
2307
2363
  id: string;
2308
2364
  }, {
2309
- path: string;
2310
- value: number;
2311
- id: string;
2365
+ path?: string | undefined;
2366
+ value?: number | undefined;
2367
+ id?: string | undefined;
2312
2368
  }>;
2313
2369
  /**
2314
2370
  * `STABLE`
@@ -2397,7 +2453,6 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceId: import("../..
2397
2453
  root?: boolean | undefined;
2398
2454
  universeRuntimeCreation?: boolean | undefined;
2399
2455
  }, {
2400
- templatePlace: string;
2401
2456
  path?: string | undefined;
2402
2457
  createTime?: string | undefined;
2403
2458
  updateTime?: string | undefined;
@@ -2406,6 +2461,7 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceId: import("../..
2406
2461
  serverSize?: number | undefined;
2407
2462
  root?: boolean | undefined;
2408
2463
  universeRuntimeCreation?: boolean | undefined;
2464
+ templatePlace?: string | undefined;
2409
2465
  }>;
2410
2466
  /**
2411
2467
  * `BETA`
@@ -2484,9 +2540,9 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstan
2484
2540
  '@type': string;
2485
2541
  };
2486
2542
  }, {
2487
- path: string;
2488
- hasChildren: boolean;
2489
- engineInstance: {
2543
+ path?: string | undefined;
2544
+ hasChildren?: boolean | undefined;
2545
+ engineInstance?: {
2490
2546
  Id: string;
2491
2547
  Parent: string;
2492
2548
  Name: string;
@@ -2506,7 +2562,7 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstan
2506
2562
  Source: string;
2507
2563
  };
2508
2564
  };
2509
- };
2565
+ } | undefined;
2510
2566
  }>;
2511
2567
  /**
2512
2568
  * `BETA`
@@ -2735,10 +2791,10 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestriction
2735
2791
  inherited: boolean;
2736
2792
  };
2737
2793
  }, {
2738
- path: string;
2739
- updateTime: string;
2740
- user: string;
2741
- gameJoinRestriction: {
2794
+ path?: string | undefined;
2795
+ updateTime?: string | undefined;
2796
+ user?: string | undefined;
2797
+ gameJoinRestriction?: {
2742
2798
  active: boolean;
2743
2799
  startTime: string;
2744
2800
  duration: string;
@@ -2746,7 +2802,7 @@ export declare const patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestriction
2746
2802
  displayReason: string;
2747
2803
  excludeAltAccounts: boolean;
2748
2804
  inherited: boolean;
2749
- };
2805
+ } | undefined;
2750
2806
  }>;
2751
2807
  /**
2752
2808
  * `BETA`
@@ -3147,10 +3203,10 @@ export declare const patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrict
3147
3203
  inherited: boolean;
3148
3204
  };
3149
3205
  }, {
3150
- path: string;
3151
- updateTime: string;
3152
- user: string;
3153
- gameJoinRestriction: {
3206
+ path?: string | undefined;
3207
+ updateTime?: string | undefined;
3208
+ user?: string | undefined;
3209
+ gameJoinRestriction?: {
3154
3210
  active: boolean;
3155
3211
  startTime: string;
3156
3212
  duration: string;
@@ -3158,7 +3214,7 @@ export declare const patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrict
3158
3214
  displayReason: string;
3159
3215
  excludeAltAccounts: boolean;
3160
3216
  inherited: boolean;
3161
- };
3217
+ } | undefined;
3162
3218
  }>;
3163
3219
  /**
3164
3220
  * `BETA`
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = exports.patchCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.deleteCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.postCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsRead = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsDiscard = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItems = exports.postCloudV2UniversesUniverseIdMemoryStoreFlush = exports.postCloudV2UniversesUniverseIdLuauExecutionSessionTaskBinaryInputs = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdUndelete = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreId = exports.postCloudV2UniversesUniverseIdDataStoresSnapshot = exports.getCloudV2UniversesUniverseIdDataStores = exports.postCloudV2UniversesUniverseIdTranslateText = exports.postCloudV2UniversesUniverseIdRestartServers = exports.postCloudV2UniversesUniverseIdPublishMessage = exports.postCloudV2UniversesUniverseIdGenerateSpeechAsset = exports.patchCloudV2UniversesUniverseId = exports.getCloudV2UniversesUniverseId = exports.getCloudV2GroupsGroupIdShout = exports.getCloudV2GroupsGroupIdRolesRoleId = exports.getCloudV2GroupsGroupIdRoles = exports.patchCloudV2GroupsGroupIdMembershipsMembershipId = exports.getCloudV2GroupsGroupIdMemberships = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdDecline = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdAccept = exports.getCloudV2GroupsGroupIdJoinRequests = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPostsPostIdComments = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPosts = exports.getCloudV2GroupsGroupIdForumCategories = exports.getCloudV2GroupsGroupId = exports.patchCloudV2CreatorStoreProductsCreatorStoreProductId = exports.getCloudV2CreatorStoreProductsCreatorStoreProductId = exports.postCloudV2CreatorStoreProducts = void 0;
4
- exports.postCloudV2UsersUserIdNotifications = exports.getCloudV2UsersUserIdInventoryItems = exports.getCloudV2UsersUserIdAssetQuotas = exports.getCloudV2UsersUserIdGenerateThumbnail = exports.getCloudV2UsersUserId = exports.patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsListLogs = exports.getCloudV2UniversesUniverseIdUserRestrictions = exports.getCloudV2UniversesUniverseIdSubscriptionProductsSubscriptionProductIdSubscriptionsSubscriptionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskIdLogs = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskId = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionTasks = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictions = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdLuauExecutionSessionTasks = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceIdListChildren = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.patchCloudV2UniversesUniverseIdPlacesPlaceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = void 0;
3
+ exports.deleteCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.postCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsRead = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsDiscard = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItems = exports.postCloudV2UniversesUniverseIdMemoryStoreFlush = exports.postCloudV2UniversesUniverseIdLuauExecutionSessionTaskBinaryInputs = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdUndelete = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreId = exports.postCloudV2UniversesUniverseIdDataStoresSnapshot = exports.getCloudV2UniversesUniverseIdDataStores = exports.postCloudV2UniversesUniverseIdTranslateText = exports.postCloudV2UniversesUniverseIdRestartServers = exports.postCloudV2UniversesUniverseIdPublishMessage = exports.postCloudV2UniversesUniverseIdGenerateSpeechAsset = exports.patchCloudV2UniversesUniverseId = exports.getCloudV2UniversesUniverseId = exports.getCloudV2GroupsGroupIdShout = exports.getCloudV2GroupsGroupIdRolesRoleId = exports.getCloudV2GroupsGroupIdRoles = exports.postCloudV2GroupsGroupIdMembershipsMembershipIdUnassignRole = exports.postCloudV2GroupsGroupIdMembershipsMembershipIdAssignRole = exports.patchCloudV2GroupsGroupIdMembershipsMembershipId = exports.getCloudV2GroupsGroupIdMemberships = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdDecline = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdAccept = exports.getCloudV2GroupsGroupIdJoinRequests = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPostsPostIdComments = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPosts = exports.getCloudV2GroupsGroupIdForumCategories = exports.getCloudV2GroupsGroupId = exports.patchCloudV2CreatorStoreProductsCreatorStoreProductId = exports.getCloudV2CreatorStoreProductsCreatorStoreProductId = exports.postCloudV2CreatorStoreProducts = void 0;
4
+ exports.postCloudV2UsersUserIdNotifications = exports.getCloudV2UsersUserIdInventoryItems = exports.getCloudV2UsersUserIdAssetQuotas = exports.getCloudV2UsersUserIdGenerateThumbnail = exports.getCloudV2UsersUserId = exports.patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsListLogs = exports.getCloudV2UniversesUniverseIdUserRestrictions = exports.getCloudV2UniversesUniverseIdSubscriptionProductsSubscriptionProductIdSubscriptionsSubscriptionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskIdLogs = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskId = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionTasks = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictions = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdLuauExecutionSessionTasks = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceIdListChildren = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.patchCloudV2UniversesUniverseIdPlacesPlaceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = exports.patchCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const __1 = require("../..");
7
7
  const Decimal = zod_1.z.object({
@@ -114,11 +114,14 @@ const GroupMembership = zod_1.z.object({
114
114
  updateTime: zod_1.z.string().datetime({ offset: true }),
115
115
  user: zod_1.z.string(),
116
116
  role: zod_1.z.string(),
117
+ roles: zod_1.z.array(zod_1.z.string()),
117
118
  });
118
119
  const ListGroupMembershipsResponse = zod_1.z.object({
119
120
  groupMemberships: zod_1.z.array(GroupMembership),
120
121
  nextPageToken: zod_1.z.string(),
121
122
  });
123
+ const AssignRoleGroupMembershipRequest = zod_1.z.object({ role: zod_1.z.string() });
124
+ const UnassignRoleGroupMembershipRequest = zod_1.z.object({ role: zod_1.z.string() });
122
125
  const GroupRole_RolePermissions = zod_1.z.object({
123
126
  viewWallPosts: zod_1.z.boolean(),
124
127
  createWallPosts: zod_1.z.boolean(),
@@ -788,7 +791,7 @@ exports.patchCloudV2CreatorStoreProductsCreatorStoreProductId = (0, __1.endpoint
788
791
  updateMask: zod_1.z.string().optional(),
789
792
  allowMissing: zod_1.z.boolean().optional(),
790
793
  },
791
- body: CreatorStoreProduct,
794
+ body: CreatorStoreProduct.partial(),
792
795
  response: CreatorStoreProduct,
793
796
  errors: [],
794
797
  });
@@ -1127,7 +1130,8 @@ exports.getCloudV2GroupsGroupIdMemberships = (0, __1.endpoint)({
1127
1130
  /**
1128
1131
  * `BETA`
1129
1132
  *
1130
- * Updates the group membership for a particular group member. This action
1133
+ * **Deprecated.** Use AssignGroupRole and UnassignGroupRole instead.
1134
+ Updates the group membership for a particular group member. This action
1131
1135
  requires the requester to be able to manage lower ranked members. Guest or
1132
1136
  Owner ranks cannot be assigned, and a requester cannot change their own
1133
1137
  rank.
@@ -1154,7 +1158,71 @@ exports.patchCloudV2GroupsGroupIdMembershipsMembershipId = (0, __1.endpoint)({
1154
1158
  group_id: zod_1.z.string(),
1155
1159
  membership_id: zod_1.z.string(),
1156
1160
  },
1157
- body: GroupMembership,
1161
+ body: GroupMembership.partial(),
1162
+ response: GroupMembership,
1163
+ errors: [],
1164
+ });
1165
+ /**
1166
+ * `BETA`
1167
+ *
1168
+ * Assigns a specific role to a user within a group. If the user already
1169
+ holds the specified role, no action is taken.
1170
+ *
1171
+ * **Scopes:** `group:write`
1172
+ * **Engine:** Usable with HttpService
1173
+ *
1174
+ * @param body
1175
+ * @param group_id The group ID.
1176
+ * @param membership_id The membership ID.
1177
+ */
1178
+ exports.postCloudV2GroupsGroupIdMembershipsMembershipIdAssignRole = (0, __1.endpoint)({
1179
+ method: 'POST',
1180
+ path: '/cloud/v2/groups/:group_id/memberships/:membership_id:assignRole',
1181
+ baseUrl: 'https://apis.roblox.com',
1182
+ scopes: ['group:write'],
1183
+ requestFormat: 'json',
1184
+ serializationMethod: {
1185
+ body: {},
1186
+ group_id: {},
1187
+ membership_id: {},
1188
+ },
1189
+ parameters: {
1190
+ group_id: zod_1.z.string(),
1191
+ membership_id: zod_1.z.string(),
1192
+ },
1193
+ body: zod_1.z.object({ role: zod_1.z.string() }),
1194
+ response: GroupMembership,
1195
+ errors: [],
1196
+ });
1197
+ /**
1198
+ * `BETA`
1199
+ *
1200
+ * Unassigns a specific role from a user within a group. If the user does
1201
+ not hold the specified role, no action is taken.
1202
+ *
1203
+ * **Scopes:** `group:write`
1204
+ * **Engine:** Usable with HttpService
1205
+ *
1206
+ * @param body
1207
+ * @param group_id The group ID.
1208
+ * @param membership_id The membership ID.
1209
+ */
1210
+ exports.postCloudV2GroupsGroupIdMembershipsMembershipIdUnassignRole = (0, __1.endpoint)({
1211
+ method: 'POST',
1212
+ path: '/cloud/v2/groups/:group_id/memberships/:membership_id:unassignRole',
1213
+ baseUrl: 'https://apis.roblox.com',
1214
+ scopes: ['group:write'],
1215
+ requestFormat: 'json',
1216
+ serializationMethod: {
1217
+ body: {},
1218
+ group_id: {},
1219
+ membership_id: {},
1220
+ },
1221
+ parameters: {
1222
+ group_id: zod_1.z.string(),
1223
+ membership_id: zod_1.z.string(),
1224
+ },
1225
+ body: zod_1.z.object({ role: zod_1.z.string() }),
1158
1226
  response: GroupMembership,
1159
1227
  errors: [],
1160
1228
  });
@@ -1317,7 +1385,7 @@ exports.patchCloudV2UniversesUniverseId = (0, __1.endpoint)({
1317
1385
  universe_id: zod_1.z.string(),
1318
1386
  updateMask: zod_1.z.string().optional(),
1319
1387
  },
1320
- body: Universe,
1388
+ body: Universe.partial(),
1321
1389
  response: Universe,
1322
1390
  errors: [],
1323
1391
  });
@@ -1869,7 +1937,7 @@ exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = (0,
1869
1937
  entry_id: zod_1.z.string(),
1870
1938
  allowMissing: zod_1.z.boolean().optional(),
1871
1939
  },
1872
- body: DataStoreEntry,
1940
+ body: DataStoreEntry.partial(),
1873
1941
  response: DataStoreEntry,
1874
1942
  errors: [],
1875
1943
  });
@@ -2234,7 +2302,7 @@ exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries
2234
2302
  entry_id: zod_1.z.string(),
2235
2303
  allowMissing: zod_1.z.boolean().optional(),
2236
2304
  },
2237
- body: DataStoreEntry,
2305
+ body: DataStoreEntry.partial(),
2238
2306
  response: DataStoreEntry,
2239
2307
  errors: [],
2240
2308
  });
@@ -2732,7 +2800,7 @@ exports.patchCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItem
2732
2800
  item_id: zod_1.z.string(),
2733
2801
  allowMissing: zod_1.z.boolean().optional(),
2734
2802
  },
2735
- body: MemoryStoreSortedMapItem,
2803
+ body: MemoryStoreSortedMapItem.partial(),
2736
2804
  response: MemoryStoreSortedMapItem,
2737
2805
  errors: [],
2738
2806
  });
@@ -2953,7 +3021,7 @@ exports.patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopes
2953
3021
  entry_id: zod_1.z.string(),
2954
3022
  allowMissing: zod_1.z.boolean().optional(),
2955
3023
  },
2956
- body: OrderedDataStoreEntry,
3024
+ body: OrderedDataStoreEntry.partial(),
2957
3025
  response: OrderedDataStoreEntry,
2958
3026
  errors: [],
2959
3027
  });
@@ -3059,7 +3127,7 @@ exports.patchCloudV2UniversesUniverseIdPlacesPlaceId = (0, __1.endpoint)({
3059
3127
  place_id: zod_1.z.string(),
3060
3128
  updateMask: zod_1.z.string().optional(),
3061
3129
  },
3062
- body: Place,
3130
+ body: Place.partial(),
3063
3131
  response: Place,
3064
3132
  errors: [],
3065
3133
  });
@@ -3135,7 +3203,7 @@ exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = (0, __
3135
3203
  instance_id: zod_1.z.string(),
3136
3204
  updateMask: zod_1.z.string().optional(),
3137
3205
  },
3138
- body: Instance,
3206
+ body: Instance.partial(),
3139
3207
  response: Operation,
3140
3208
  errors: [],
3141
3209
  });
@@ -3347,7 +3415,7 @@ exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrict
3347
3415
  'idempotencyKey.key': zod_1.z.string().optional(),
3348
3416
  'idempotencyKey.firstSent': zod_1.z.string().datetime({ offset: true }).optional(),
3349
3417
  },
3350
- body: UserRestriction,
3418
+ body: UserRestriction.partial(),
3351
3419
  response: UserRestriction,
3352
3420
  errors: [],
3353
3421
  });
@@ -3730,7 +3798,7 @@ exports.patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = (0, _
3730
3798
  'idempotencyKey.key': zod_1.z.string().optional(),
3731
3799
  'idempotencyKey.firstSent': zod_1.z.string().datetime({ offset: true }).optional(),
3732
3800
  },
3733
- body: UserRestriction,
3801
+ body: UserRestriction.partial(),
3734
3802
  response: UserRestriction,
3735
3803
  errors: [],
3736
3804
  });
package/package.json CHANGED
@@ -1,63 +1,64 @@
1
- {
2
- "name": "rozod",
3
- "version": "6.5.0",
4
- "description": "A TypeScript wrapper for the Roblox API",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "scripts": {
8
- "test": "jest --config jestconfig.json",
9
- "build": "tsc && tsc --project tsconfig.declarations.json",
10
- "format": "prettier --write \"src/**/*.ts\"",
11
- "prepare": "npm run build",
12
- "prepublishOnly": "npm test",
13
- "version": "npm run format && git add -A src",
14
- "generate": "node ./zodios_endpoints.js",
15
- "docs": "typedoc"
16
- },
17
- "author": "AlroviOfficial",
18
- "license": "ISC",
19
- "dependencies": {
20
- "parse-roblox-errors": "^1.1.11",
21
- "roblox-bat": "^0.6.2",
22
- "zod": "^4.0.16"
23
- },
24
- "repository": {
25
- "url": "https://github.com/AlroviOfficial/RoZod"
26
- },
27
- "bugs": {
28
- "url": "https://github.com/AlroviOfficial/RoZod/issues"
29
- },
30
- "devDependencies": {
31
- "@alexop/openapi-zod-client": "^1.11.2",
32
- "@apidevtools/swagger-parser": "^10.1.0",
33
- "@types/jest": "^29.5.13",
34
- "@types/node": "^20.13.1",
35
- "@typescript-eslint/eslint-plugin": "^8.7.0",
36
- "@typescript-eslint/parser": "^8.7.0",
37
- "@zodios/plugins": "^10.6.0",
38
- "eslint": "^9.11.1",
39
- "eslint-config-prettier": "^9.1.0",
40
- "eslint-plugin-jsdoc": "^50.3.0",
41
- "eslint-plugin-prefer-arrow": "^1.2.3",
42
- "eslint-plugin-react": "^7.37.0",
43
- "handlebars": "^4.7.8",
44
- "jest": "^29.7.0",
45
- "p-limit": "^6.1.0",
46
- "prettier": "^3.3.3",
47
- "swagger2openapi": "^7.0.8",
48
- "ts-jest": "^29.2.5",
49
- "typedoc": "^0.28.9",
50
- "typescript": "^5.6.2"
51
- },
52
- "keywords": [
53
- "roblox",
54
- "bot",
55
- "api",
56
- "roblox-api",
57
- "zod",
58
- "typescript"
59
- ],
60
- "files": [
61
- "lib/**/*"
62
- ]
63
- }
1
+ {
2
+ "name": "rozod",
3
+ "version": "6.6.0",
4
+ "description": "A TypeScript wrapper for the Roblox API",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "scripts": {
8
+ "test": "jest --config jestconfig.json",
9
+ "build": "tsc && tsc --project tsconfig.declarations.json",
10
+ "format": "prettier --write \"src/**/*.ts\"",
11
+ "prepare": "npm run build",
12
+ "prepublishOnly": "npm test",
13
+ "version": "npm run format && git add -A src",
14
+ "generate": "node ./zodios_endpoints.js",
15
+ "docs": "cd docs && node scripts/generate-reference.mjs && bunx astro build",
16
+ "docs:dev": "cd docs && node scripts/generate-reference.mjs && bunx astro dev",
17
+ "docs:preview": "cd docs && bunx astro preview"
18
+ },
19
+ "author": "AlroviOfficial",
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "parse-roblox-errors": "^1.1.13",
23
+ "roblox-bat": "^0.6.3",
24
+ "zod": "^4.3.6"
25
+ },
26
+ "repository": {
27
+ "url": "https://github.com/AlroviOfficial/RoZod"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/AlroviOfficial/RoZod/issues"
31
+ },
32
+ "devDependencies": {
33
+ "@alexop/openapi-zod-client": "^1.11.2",
34
+ "@apidevtools/swagger-parser": "^10.1.1",
35
+ "@types/jest": "^29.5.14",
36
+ "@types/node": "^20.19.39",
37
+ "@typescript-eslint/eslint-plugin": "^8.58.0",
38
+ "@typescript-eslint/parser": "^8.58.0",
39
+ "@zodios/plugins": "^10.6.0",
40
+ "eslint": "^9.39.4",
41
+ "eslint-config-prettier": "^9.1.2",
42
+ "eslint-plugin-jsdoc": "^50.8.0",
43
+ "eslint-plugin-prefer-arrow": "^1.2.3",
44
+ "eslint-plugin-react": "^7.37.5",
45
+ "handlebars": "^4.7.9",
46
+ "jest": "^29.7.0",
47
+ "p-limit": "^6.2.0",
48
+ "prettier": "^3.8.1",
49
+ "swagger2openapi": "^7.0.8",
50
+ "ts-jest": "^29.4.9",
51
+ "typescript": "^5.9.3"
52
+ },
53
+ "keywords": [
54
+ "roblox",
55
+ "bot",
56
+ "api",
57
+ "roblox-api",
58
+ "zod",
59
+ "typescript"
60
+ ],
61
+ "files": [
62
+ "lib/**/*"
63
+ ]
64
+ }