vrchat 1.17.1 → 1.17.3

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/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.17.1
6
+ * The version of the OpenAPI document: 1.17.3
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1097,6 +1097,49 @@ export interface CreateGroupInviteRequest {
1097
1097
  */
1098
1098
  'confirmOverrideBlock'?: boolean;
1099
1099
  }
1100
+ /**
1101
+ *
1102
+ * @export
1103
+ * @interface CreateGroupPostRequest
1104
+ */
1105
+ export interface CreateGroupPostRequest {
1106
+ /**
1107
+ * Post title
1108
+ * @type {string}
1109
+ * @memberof CreateGroupPostRequest
1110
+ */
1111
+ 'title': string;
1112
+ /**
1113
+ * Post text
1114
+ * @type {string}
1115
+ * @memberof CreateGroupPostRequest
1116
+ */
1117
+ 'text': string;
1118
+ /**
1119
+ *
1120
+ * @type {string}
1121
+ * @memberof CreateGroupPostRequest
1122
+ */
1123
+ 'imageId'?: string;
1124
+ /**
1125
+ * Send notification to group members.
1126
+ * @type {boolean}
1127
+ * @memberof CreateGroupPostRequest
1128
+ */
1129
+ 'sendNotification': boolean;
1130
+ /**
1131
+ *
1132
+ * @type {Array<string>}
1133
+ * @memberof CreateGroupPostRequest
1134
+ */
1135
+ 'roleIds'?: Array<string>;
1136
+ /**
1137
+ *
1138
+ * @type {GroupPostVisibility}
1139
+ * @memberof CreateGroupPostRequest
1140
+ */
1141
+ 'visibility': GroupPostVisibility;
1142
+ }
1100
1143
  /**
1101
1144
  *
1102
1145
  * @export
@@ -1189,6 +1232,61 @@ export interface CreateGroupRoleRequest {
1189
1232
  */
1190
1233
  'permissions'?: Array<string>;
1191
1234
  }
1235
+ /**
1236
+ *
1237
+ * @export
1238
+ * @interface CreateInstanceRequest
1239
+ */
1240
+ export interface CreateInstanceRequest {
1241
+ /**
1242
+ * WorldID be \"offline\" on User profiles if you are not friends with that user.
1243
+ * @type {string}
1244
+ * @memberof CreateInstanceRequest
1245
+ */
1246
+ 'worldId': string;
1247
+ /**
1248
+ *
1249
+ * @type {InstanceType}
1250
+ * @memberof CreateInstanceRequest
1251
+ */
1252
+ 'type': InstanceType;
1253
+ /**
1254
+ *
1255
+ * @type {Region}
1256
+ * @memberof CreateInstanceRequest
1257
+ */
1258
+ 'region': Region;
1259
+ /**
1260
+ * A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise
1261
+ * @type {string}
1262
+ * @memberof CreateInstanceRequest
1263
+ */
1264
+ 'ownerId'?: string | null;
1265
+ /**
1266
+ * Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\"
1267
+ * @type {Array<string>}
1268
+ * @memberof CreateInstanceRequest
1269
+ */
1270
+ 'roleIds'?: Array<string>;
1271
+ /**
1272
+ *
1273
+ * @type {GroupAccessType}
1274
+ * @memberof CreateInstanceRequest
1275
+ */
1276
+ 'groupAccessType'?: GroupAccessType;
1277
+ /**
1278
+ *
1279
+ * @type {boolean}
1280
+ * @memberof CreateInstanceRequest
1281
+ */
1282
+ 'queueEnabled'?: boolean;
1283
+ /**
1284
+ * The time after which users won\'t be allowed to join the instance
1285
+ * @type {string}
1286
+ * @memberof CreateInstanceRequest
1287
+ */
1288
+ 'closedAt'?: string;
1289
+ }
1192
1290
  /**
1193
1291
  *
1194
1292
  * @export
@@ -3039,6 +3137,99 @@ export interface GroupPermission {
3039
3137
  */
3040
3138
  'allowedToAdd'?: boolean;
3041
3139
  }
3140
+ /**
3141
+ *
3142
+ * @export
3143
+ * @interface GroupPost
3144
+ */
3145
+ export interface GroupPost {
3146
+ /**
3147
+ *
3148
+ * @type {string}
3149
+ * @memberof GroupPost
3150
+ */
3151
+ 'id'?: string;
3152
+ /**
3153
+ *
3154
+ * @type {string}
3155
+ * @memberof GroupPost
3156
+ */
3157
+ 'groupId'?: string;
3158
+ /**
3159
+ * A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.
3160
+ * @type {string}
3161
+ * @memberof GroupPost
3162
+ */
3163
+ 'authorId'?: string;
3164
+ /**
3165
+ * A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.
3166
+ * @type {string}
3167
+ * @memberof GroupPost
3168
+ */
3169
+ 'editorId'?: string;
3170
+ /**
3171
+ *
3172
+ * @type {GroupPostVisibility}
3173
+ * @memberof GroupPost
3174
+ */
3175
+ 'visibility'?: GroupPostVisibility;
3176
+ /**
3177
+ *
3178
+ * @type {Array<string>}
3179
+ * @memberof GroupPost
3180
+ */
3181
+ 'roleId'?: Array<string>;
3182
+ /**
3183
+ *
3184
+ * @type {string}
3185
+ * @memberof GroupPost
3186
+ */
3187
+ 'title'?: string;
3188
+ /**
3189
+ *
3190
+ * @type {string}
3191
+ * @memberof GroupPost
3192
+ */
3193
+ 'text'?: string;
3194
+ /**
3195
+ *
3196
+ * @type {string}
3197
+ * @memberof GroupPost
3198
+ */
3199
+ 'imageId'?: string;
3200
+ /**
3201
+ *
3202
+ * @type {string}
3203
+ * @memberof GroupPost
3204
+ */
3205
+ 'imageUrl'?: string | null;
3206
+ /**
3207
+ *
3208
+ * @type {string}
3209
+ * @memberof GroupPost
3210
+ */
3211
+ 'createdAt'?: string;
3212
+ /**
3213
+ *
3214
+ * @type {string}
3215
+ * @memberof GroupPost
3216
+ */
3217
+ 'updatedAt'?: string;
3218
+ }
3219
+ /**
3220
+ *
3221
+ * @export
3222
+ * @enum {string}
3223
+ */
3224
+
3225
+ export const GroupPostVisibility = {
3226
+ Group: 'group',
3227
+ Public: 'public'
3228
+ } as const;
3229
+
3230
+ export type GroupPostVisibility = typeof GroupPostVisibility[keyof typeof GroupPostVisibility];
3231
+
3232
+
3042
3233
  /**
3043
3234
  *
3044
3235
  * @export
@@ -4380,6 +4571,107 @@ export interface Notification {
4380
4571
  */
4381
4572
  'type': NotificationType;
4382
4573
  }
4574
+ /**
4575
+ *
4576
+ * @export
4577
+ * @interface NotificationDetailInvite
4578
+ */
4579
+ export interface NotificationDetailInvite {
4580
+ /**
4581
+ *
4582
+ * @type {string}
4583
+ * @memberof NotificationDetailInvite
4584
+ */
4585
+ 'inviteMessage'?: string;
4586
+ /**
4587
+ * WorldID be \"offline\" on User profiles if you are not friends with that user.
4588
+ * @type {string}
4589
+ * @memberof NotificationDetailInvite
4590
+ */
4591
+ 'worldId': string;
4592
+ /**
4593
+ *
4594
+ * @type {string}
4595
+ * @memberof NotificationDetailInvite
4596
+ */
4597
+ 'worldName': string;
4598
+ }
4599
+ /**
4600
+ *
4601
+ * @export
4602
+ * @interface NotificationDetailInviteResponse
4603
+ */
4604
+ export interface NotificationDetailInviteResponse {
4605
+ /**
4606
+ *
4607
+ * @type {string}
4608
+ * @memberof NotificationDetailInviteResponse
4609
+ */
4610
+ 'inResponseTo': string;
4611
+ /**
4612
+ *
4613
+ * @type {string}
4614
+ * @memberof NotificationDetailInviteResponse
4615
+ */
4616
+ 'responseMessage': string;
4617
+ }
4618
+ /**
4619
+ *
4620
+ * @export
4621
+ * @interface NotificationDetailRequestInvite
4622
+ */
4623
+ export interface NotificationDetailRequestInvite {
4624
+ /**
4625
+ * TODO: Does this still exist?
4626
+ * @type {string}
4627
+ * @memberof NotificationDetailRequestInvite
4628
+ */
4629
+ 'platform'?: string;
4630
+ /**
4631
+ * Used when using InviteMessage Slot.
4632
+ * @type {string}
4633
+ * @memberof NotificationDetailRequestInvite
4634
+ */
4635
+ 'requestMessage'?: string;
4636
+ }
4637
+ /**
4638
+ *
4639
+ * @export
4640
+ * @interface NotificationDetailRequestInviteResponse
4641
+ */
4642
+ export interface NotificationDetailRequestInviteResponse {
4643
+ /**
4644
+ *
4645
+ * @type {string}
4646
+ * @memberof NotificationDetailRequestInviteResponse
4647
+ */
4648
+ 'inResponseTo': string;
4649
+ /**
4650
+ * Used when using InviteMessage Slot.
4651
+ * @type {string}
4652
+ * @memberof NotificationDetailRequestInviteResponse
4653
+ */
4654
+ 'requestMessage'?: string;
4655
+ }
4656
+ /**
4657
+ *
4658
+ * @export
4659
+ * @interface NotificationDetailVoteToKick
4660
+ */
4661
+ export interface NotificationDetailVoteToKick {
4662
+ /**
4663
+ * A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.
4664
+ * @type {string}
4665
+ * @memberof NotificationDetailVoteToKick
4666
+ */
4667
+ 'initiatorUserId': string;
4668
+ /**
4669
+ * A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.
4670
+ * @type {string}
4671
+ * @memberof NotificationDetailVoteToKick
4672
+ */
4673
+ 'userToKickId': string;
4674
+ }
4383
4675
  /**
4384
4676
  *
4385
4677
  * @export
@@ -10099,6 +10391,48 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10099
10391
  options: localVarRequestOptions,
10100
10392
  };
10101
10393
  },
10394
+ /**
10395
+ * Create a post in a Group.
10396
+ * @summary Create a post in a Group
10397
+ * @param {string} groupId Must be a valid group ID.
10398
+ * @param {CreateGroupPostRequest} createGroupPostRequest
10399
+ * @param {*} [options] Override http request option.
10400
+ * @throws {RequiredError}
10401
+ */
10402
+ addGroupPost: async (groupId: string, createGroupPostRequest: CreateGroupPostRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10403
+ // verify required parameter 'groupId' is not null or undefined
10404
+ assertParamExists('addGroupPost', 'groupId', groupId)
10405
+ // verify required parameter 'createGroupPostRequest' is not null or undefined
10406
+ assertParamExists('addGroupPost', 'createGroupPostRequest', createGroupPostRequest)
10407
+ const localVarPath = `/groups/{groupId}/posts`
10408
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10409
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10410
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10411
+ let baseOptions;
10412
+ if (configuration) {
10413
+ baseOptions = configuration.baseOptions;
10414
+ }
10415
+
10416
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10417
+ const localVarHeaderParameter = {} as any;
10418
+ const localVarQueryParameter = {} as any;
10419
+
10420
+ // authentication authCookie required
10421
+
10422
+
10423
+
10424
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10425
+
10426
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10427
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10428
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10429
+ localVarRequestOptions.data = serializeDataIfNeeded(createGroupPostRequest, localVarRequestOptions, configuration)
10430
+
10431
+ return {
10432
+ url: toPathString(localVarUrlObj),
10433
+ options: localVarRequestOptions,
10434
+ };
10435
+ },
10102
10436
  /**
10103
10437
  * Bans a user from a Group.
10104
10438
  * @summary Ban Group Member
@@ -10570,6 +10904,46 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10570
10904
 
10571
10905
 
10572
10906
 
10907
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10908
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10909
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10910
+
10911
+ return {
10912
+ url: toPathString(localVarUrlObj),
10913
+ options: localVarRequestOptions,
10914
+ };
10915
+ },
10916
+ /**
10917
+ * Delete a Group post
10918
+ * @summary Delete a Group post
10919
+ * @param {string} groupId Must be a valid group ID.
10920
+ * @param {string} notificationId Must be a valid notification ID.
10921
+ * @param {*} [options] Override http request option.
10922
+ * @throws {RequiredError}
10923
+ */
10924
+ deleteGroupPost: async (groupId: string, notificationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10925
+ // verify required parameter 'groupId' is not null or undefined
10926
+ assertParamExists('deleteGroupPost', 'groupId', groupId)
10927
+ // verify required parameter 'notificationId' is not null or undefined
10928
+ assertParamExists('deleteGroupPost', 'notificationId', notificationId)
10929
+ const localVarPath = `/groups/{groupId}/posts/{notificationId}`
10930
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
10931
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
10932
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10933
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10934
+ let baseOptions;
10935
+ if (configuration) {
10936
+ baseOptions = configuration.baseOptions;
10937
+ }
10938
+
10939
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10940
+ const localVarHeaderParameter = {} as any;
10941
+ const localVarQueryParameter = {} as any;
10942
+
10943
+ // authentication authCookie required
10944
+
10945
+
10946
+
10573
10947
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10574
10948
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10575
10949
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11057,6 +11431,57 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
11057
11431
 
11058
11432
 
11059
11433
 
11434
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11435
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11436
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11437
+
11438
+ return {
11439
+ url: toPathString(localVarUrlObj),
11440
+ options: localVarRequestOptions,
11441
+ };
11442
+ },
11443
+ /**
11444
+ * Get posts from a Group
11445
+ * @summary Get posts from a Group
11446
+ * @param {string} groupId Must be a valid group ID.
11447
+ * @param {number} [n] The number of objects to return.
11448
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11449
+ * @param {boolean} [publicOnly] See public posts only.
11450
+ * @param {*} [options] Override http request option.
11451
+ * @throws {RequiredError}
11452
+ */
11453
+ getGroupPost: async (groupId: string, n?: number, offset?: number, publicOnly?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11454
+ // verify required parameter 'groupId' is not null or undefined
11455
+ assertParamExists('getGroupPost', 'groupId', groupId)
11456
+ const localVarPath = `/groups/{groupId}/posts`
11457
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
11458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11459
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11460
+ let baseOptions;
11461
+ if (configuration) {
11462
+ baseOptions = configuration.baseOptions;
11463
+ }
11464
+
11465
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11466
+ const localVarHeaderParameter = {} as any;
11467
+ const localVarQueryParameter = {} as any;
11468
+
11469
+ // authentication authCookie required
11470
+
11471
+ if (n !== undefined) {
11472
+ localVarQueryParameter['n'] = n;
11473
+ }
11474
+
11475
+ if (offset !== undefined) {
11476
+ localVarQueryParameter['offset'] = offset;
11477
+ }
11478
+
11479
+ if (publicOnly !== undefined) {
11480
+ localVarQueryParameter['publicOnly'] = publicOnly;
11481
+ }
11482
+
11483
+
11484
+
11060
11485
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11061
11486
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11062
11487
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11563,6 +11988,52 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
11563
11988
  options: localVarRequestOptions,
11564
11989
  };
11565
11990
  },
11991
+ /**
11992
+ * Edits a Group post
11993
+ * @summary Edits a Group post
11994
+ * @param {string} groupId Must be a valid group ID.
11995
+ * @param {string} notificationId Must be a valid notification ID.
11996
+ * @param {CreateGroupPostRequest} createGroupPostRequest
11997
+ * @param {*} [options] Override http request option.
11998
+ * @throws {RequiredError}
11999
+ */
12000
+ updateGroupPost: async (groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12001
+ // verify required parameter 'groupId' is not null or undefined
12002
+ assertParamExists('updateGroupPost', 'groupId', groupId)
12003
+ // verify required parameter 'notificationId' is not null or undefined
12004
+ assertParamExists('updateGroupPost', 'notificationId', notificationId)
12005
+ // verify required parameter 'createGroupPostRequest' is not null or undefined
12006
+ assertParamExists('updateGroupPost', 'createGroupPostRequest', createGroupPostRequest)
12007
+ const localVarPath = `/groups/{groupId}/posts/{notificationId}`
12008
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
12009
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
12010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12011
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12012
+ let baseOptions;
12013
+ if (configuration) {
12014
+ baseOptions = configuration.baseOptions;
12015
+ }
12016
+
12017
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12018
+ const localVarHeaderParameter = {} as any;
12019
+ const localVarQueryParameter = {} as any;
12020
+
12021
+ // authentication authCookie required
12022
+
12023
+
12024
+
12025
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12026
+
12027
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12029
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12030
+ localVarRequestOptions.data = serializeDataIfNeeded(createGroupPostRequest, localVarRequestOptions, configuration)
12031
+
12032
+ return {
12033
+ url: toPathString(localVarUrlObj),
12034
+ options: localVarRequestOptions,
12035
+ };
12036
+ },
11566
12037
  /**
11567
12038
  * Updates a group role by ID.
11568
12039
  * @summary Update Group Role
@@ -11643,6 +12114,18 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11643
12114
  const localVarAxiosArgs = await localVarAxiosParamCreator.addGroupMemberRole(groupId, userId, groupRoleId, options);
11644
12115
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11645
12116
  },
12117
+ /**
12118
+ * Create a post in a Group.
12119
+ * @summary Create a post in a Group
12120
+ * @param {string} groupId Must be a valid group ID.
12121
+ * @param {CreateGroupPostRequest} createGroupPostRequest
12122
+ * @param {*} [options] Override http request option.
12123
+ * @throws {RequiredError}
12124
+ */
12125
+ async addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
12126
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addGroupPost(groupId, createGroupPostRequest, options);
12127
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12128
+ },
11646
12129
  /**
11647
12130
  * Bans a user from a Group.
11648
12131
  * @summary Ban Group Member
@@ -11784,6 +12267,18 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11784
12267
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroupInvite(groupId, userId, options);
11785
12268
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11786
12269
  },
12270
+ /**
12271
+ * Delete a Group post
12272
+ * @summary Delete a Group post
12273
+ * @param {string} groupId Must be a valid group ID.
12274
+ * @param {string} notificationId Must be a valid notification ID.
12275
+ * @param {*} [options] Override http request option.
12276
+ * @throws {RequiredError}
12277
+ */
12278
+ async deleteGroupPost(groupId: string, notificationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
12279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroupPost(groupId, notificationId, options);
12280
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12281
+ },
11787
12282
  /**
11788
12283
  * Deletes a Group Role by ID and returns the remaining roles.
11789
12284
  * @summary Delete Group Role
@@ -11923,6 +12418,20 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11923
12418
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupPermissions(groupId, options);
11924
12419
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11925
12420
  },
12421
+ /**
12422
+ * Get posts from a Group
12423
+ * @summary Get posts from a Group
12424
+ * @param {string} groupId Must be a valid group ID.
12425
+ * @param {number} [n] The number of objects to return.
12426
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12427
+ * @param {boolean} [publicOnly] See public posts only.
12428
+ * @param {*} [options] Override http request option.
12429
+ * @throws {RequiredError}
12430
+ */
12431
+ async getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
12432
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupPost(groupId, n, offset, publicOnly, options);
12433
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12434
+ },
11926
12435
  /**
11927
12436
  * Returns a list of members that have requested to join the Group.
11928
12437
  * @summary Get Group Join Requests
@@ -12070,6 +12579,19 @@ export const GroupsApiFp = function(configuration?: Configuration) {
12070
12579
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroupMember(groupId, userId, updateGroupMemberRequest, options);
12071
12580
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12072
12581
  },
12582
+ /**
12583
+ * Edits a Group post
12584
+ * @summary Edits a Group post
12585
+ * @param {string} groupId Must be a valid group ID.
12586
+ * @param {string} notificationId Must be a valid notification ID.
12587
+ * @param {CreateGroupPostRequest} createGroupPostRequest
12588
+ * @param {*} [options] Override http request option.
12589
+ * @throws {RequiredError}
12590
+ */
12591
+ async updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
12592
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroupPost(groupId, notificationId, createGroupPostRequest, options);
12593
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12594
+ },
12073
12595
  /**
12074
12596
  * Updates a group role by ID.
12075
12597
  * @summary Update Group Role
@@ -12117,6 +12639,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12117
12639
  addGroupMemberRole(groupId: string, userId: string, groupRoleId: string, options?: any): AxiosPromise<Array<string>> {
12118
12640
  return localVarFp.addGroupMemberRole(groupId, userId, groupRoleId, options).then((request) => request(axios, basePath));
12119
12641
  },
12642
+ /**
12643
+ * Create a post in a Group.
12644
+ * @summary Create a post in a Group
12645
+ * @param {string} groupId Must be a valid group ID.
12646
+ * @param {CreateGroupPostRequest} createGroupPostRequest
12647
+ * @param {*} [options] Override http request option.
12648
+ * @throws {RequiredError}
12649
+ */
12650
+ addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: any): AxiosPromise<GroupPost> {
12651
+ return localVarFp.addGroupPost(groupId, createGroupPostRequest, options).then((request) => request(axios, basePath));
12652
+ },
12120
12653
  /**
12121
12654
  * Bans a user from a Group.
12122
12655
  * @summary Ban Group Member
@@ -12246,6 +12779,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12246
12779
  deleteGroupInvite(groupId: string, userId: string, options?: any): AxiosPromise<void> {
12247
12780
  return localVarFp.deleteGroupInvite(groupId, userId, options).then((request) => request(axios, basePath));
12248
12781
  },
12782
+ /**
12783
+ * Delete a Group post
12784
+ * @summary Delete a Group post
12785
+ * @param {string} groupId Must be a valid group ID.
12786
+ * @param {string} notificationId Must be a valid notification ID.
12787
+ * @param {*} [options] Override http request option.
12788
+ * @throws {RequiredError}
12789
+ */
12790
+ deleteGroupPost(groupId: string, notificationId: string, options?: any): AxiosPromise<Success> {
12791
+ return localVarFp.deleteGroupPost(groupId, notificationId, options).then((request) => request(axios, basePath));
12792
+ },
12249
12793
  /**
12250
12794
  * Deletes a Group Role by ID and returns the remaining roles.
12251
12795
  * @summary Delete Group Role
@@ -12374,6 +12918,19 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12374
12918
  getGroupPermissions(groupId: string, options?: any): AxiosPromise<Array<GroupPermission>> {
12375
12919
  return localVarFp.getGroupPermissions(groupId, options).then((request) => request(axios, basePath));
12376
12920
  },
12921
+ /**
12922
+ * Get posts from a Group
12923
+ * @summary Get posts from a Group
12924
+ * @param {string} groupId Must be a valid group ID.
12925
+ * @param {number} [n] The number of objects to return.
12926
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12927
+ * @param {boolean} [publicOnly] See public posts only.
12928
+ * @param {*} [options] Override http request option.
12929
+ * @throws {RequiredError}
12930
+ */
12931
+ getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: any): AxiosPromise<GroupPost> {
12932
+ return localVarFp.getGroupPost(groupId, n, offset, publicOnly, options).then((request) => request(axios, basePath));
12933
+ },
12377
12934
  /**
12378
12935
  * Returns a list of members that have requested to join the Group.
12379
12936
  * @summary Get Group Join Requests
@@ -12509,6 +13066,18 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12509
13066
  updateGroupMember(groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: any): AxiosPromise<GroupLimitedMember> {
12510
13067
  return localVarFp.updateGroupMember(groupId, userId, updateGroupMemberRequest, options).then((request) => request(axios, basePath));
12511
13068
  },
13069
+ /**
13070
+ * Edits a Group post
13071
+ * @summary Edits a Group post
13072
+ * @param {string} groupId Must be a valid group ID.
13073
+ * @param {string} notificationId Must be a valid notification ID.
13074
+ * @param {CreateGroupPostRequest} createGroupPostRequest
13075
+ * @param {*} [options] Override http request option.
13076
+ * @throws {RequiredError}
13077
+ */
13078
+ updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: any): AxiosPromise<GroupPost> {
13079
+ return localVarFp.updateGroupPost(groupId, notificationId, createGroupPostRequest, options).then((request) => request(axios, basePath));
13080
+ },
12512
13081
  /**
12513
13082
  * Updates a group role by ID.
12514
13083
  * @summary Update Group Role
@@ -12559,6 +13128,19 @@ export class GroupsApi extends BaseAPI {
12559
13128
  return GroupsApiFp(this.configuration).addGroupMemberRole(groupId, userId, groupRoleId, options).then((request) => request(this.axios, this.basePath));
12560
13129
  }
12561
13130
 
13131
+ /**
13132
+ * Create a post in a Group.
13133
+ * @summary Create a post in a Group
13134
+ * @param {string} groupId Must be a valid group ID.
13135
+ * @param {CreateGroupPostRequest} createGroupPostRequest
13136
+ * @param {*} [options] Override http request option.
13137
+ * @throws {RequiredError}
13138
+ * @memberof GroupsApi
13139
+ */
13140
+ public addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig) {
13141
+ return GroupsApiFp(this.configuration).addGroupPost(groupId, createGroupPostRequest, options).then((request) => request(this.axios, this.basePath));
13142
+ }
13143
+
12562
13144
  /**
12563
13145
  * Bans a user from a Group.
12564
13146
  * @summary Ban Group Member
@@ -12712,6 +13294,19 @@ export class GroupsApi extends BaseAPI {
12712
13294
  return GroupsApiFp(this.configuration).deleteGroupInvite(groupId, userId, options).then((request) => request(this.axios, this.basePath));
12713
13295
  }
12714
13296
 
13297
+ /**
13298
+ * Delete a Group post
13299
+ * @summary Delete a Group post
13300
+ * @param {string} groupId Must be a valid group ID.
13301
+ * @param {string} notificationId Must be a valid notification ID.
13302
+ * @param {*} [options] Override http request option.
13303
+ * @throws {RequiredError}
13304
+ * @memberof GroupsApi
13305
+ */
13306
+ public deleteGroupPost(groupId: string, notificationId: string, options?: AxiosRequestConfig) {
13307
+ return GroupsApiFp(this.configuration).deleteGroupPost(groupId, notificationId, options).then((request) => request(this.axios, this.basePath));
13308
+ }
13309
+
12715
13310
  /**
12716
13311
  * Deletes a Group Role by ID and returns the remaining roles.
12717
13312
  * @summary Delete Group Role
@@ -12862,6 +13457,21 @@ export class GroupsApi extends BaseAPI {
12862
13457
  return GroupsApiFp(this.configuration).getGroupPermissions(groupId, options).then((request) => request(this.axios, this.basePath));
12863
13458
  }
12864
13459
 
13460
+ /**
13461
+ * Get posts from a Group
13462
+ * @summary Get posts from a Group
13463
+ * @param {string} groupId Must be a valid group ID.
13464
+ * @param {number} [n] The number of objects to return.
13465
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13466
+ * @param {boolean} [publicOnly] See public posts only.
13467
+ * @param {*} [options] Override http request option.
13468
+ * @throws {RequiredError}
13469
+ * @memberof GroupsApi
13470
+ */
13471
+ public getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: AxiosRequestConfig) {
13472
+ return GroupsApiFp(this.configuration).getGroupPost(groupId, n, offset, publicOnly, options).then((request) => request(this.axios, this.basePath));
13473
+ }
13474
+
12865
13475
  /**
12866
13476
  * Returns a list of members that have requested to join the Group.
12867
13477
  * @summary Get Group Join Requests
@@ -13021,6 +13631,20 @@ export class GroupsApi extends BaseAPI {
13021
13631
  return GroupsApiFp(this.configuration).updateGroupMember(groupId, userId, updateGroupMemberRequest, options).then((request) => request(this.axios, this.basePath));
13022
13632
  }
13023
13633
 
13634
+ /**
13635
+ * Edits a Group post
13636
+ * @summary Edits a Group post
13637
+ * @param {string} groupId Must be a valid group ID.
13638
+ * @param {string} notificationId Must be a valid notification ID.
13639
+ * @param {CreateGroupPostRequest} createGroupPostRequest
13640
+ * @param {*} [options] Override http request option.
13641
+ * @throws {RequiredError}
13642
+ * @memberof GroupsApi
13643
+ */
13644
+ public updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig) {
13645
+ return GroupsApiFp(this.configuration).updateGroupPost(groupId, notificationId, createGroupPostRequest, options).then((request) => request(this.axios, this.basePath));
13646
+ }
13647
+
13024
13648
  /**
13025
13649
  * Updates a group role by ID.
13026
13650
  * @summary Update Group Role
@@ -13044,15 +13668,16 @@ export class GroupsApi extends BaseAPI {
13044
13668
  export const InstancesApiAxiosParamCreator = function (configuration?: Configuration) {
13045
13669
  return {
13046
13670
  /**
13047
- * Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13671
+ * Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13048
13672
  * @summary Close Instance
13049
13673
  * @param {string} worldId Must be a valid world ID.
13050
13674
  * @param {string} instanceId Must be a valid instance ID.
13051
13675
  * @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
13676
+ * @param {string} [closedAt] The time after which users won\&#39;t be allowed to join the instances. If omitted, the instance will be closed immediately.
13052
13677
  * @param {*} [options] Override http request option.
13053
13678
  * @throws {RequiredError}
13054
13679
  */
13055
- closeInstance: async (worldId: string, instanceId: string, hardClose?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13680
+ closeInstance: async (worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13056
13681
  // verify required parameter 'worldId' is not null or undefined
13057
13682
  assertParamExists('closeInstance', 'worldId', worldId)
13058
13683
  // verify required parameter 'instanceId' is not null or undefined
@@ -13077,11 +13702,55 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
13077
13702
  localVarQueryParameter['hardClose'] = hardClose;
13078
13703
  }
13079
13704
 
13705
+ if (closedAt !== undefined) {
13706
+ localVarQueryParameter['closedAt'] = (closedAt as any instanceof Date) ?
13707
+ (closedAt as any).toISOString() :
13708
+ closedAt;
13709
+ }
13710
+
13711
+
13712
+
13713
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13714
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13715
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13716
+
13717
+ return {
13718
+ url: toPathString(localVarUrlObj),
13719
+ options: localVarRequestOptions,
13720
+ };
13721
+ },
13722
+ /**
13723
+ * Create an instance
13724
+ * @summary Create Instance
13725
+ * @param {CreateInstanceRequest} createInstanceRequest
13726
+ * @param {*} [options] Override http request option.
13727
+ * @throws {RequiredError}
13728
+ */
13729
+ createInstance: async (createInstanceRequest: CreateInstanceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13730
+ // verify required parameter 'createInstanceRequest' is not null or undefined
13731
+ assertParamExists('createInstance', 'createInstanceRequest', createInstanceRequest)
13732
+ const localVarPath = `/instances`;
13733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13734
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13735
+ let baseOptions;
13736
+ if (configuration) {
13737
+ baseOptions = configuration.baseOptions;
13738
+ }
13739
+
13740
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13741
+ const localVarHeaderParameter = {} as any;
13742
+ const localVarQueryParameter = {} as any;
13743
+
13744
+ // authentication authCookie required
13745
+
13080
13746
 
13081
13747
 
13748
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13749
+
13082
13750
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13083
13751
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13084
13752
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13753
+ localVarRequestOptions.data = serializeDataIfNeeded(createInstanceRequest, localVarRequestOptions, configuration)
13085
13754
 
13086
13755
  return {
13087
13756
  url: toPathString(localVarUrlObj),
@@ -13255,16 +13924,28 @@ export const InstancesApiFp = function(configuration?: Configuration) {
13255
13924
  const localVarAxiosParamCreator = InstancesApiAxiosParamCreator(configuration)
13256
13925
  return {
13257
13926
  /**
13258
- * Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13927
+ * Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13259
13928
  * @summary Close Instance
13260
13929
  * @param {string} worldId Must be a valid world ID.
13261
13930
  * @param {string} instanceId Must be a valid instance ID.
13262
13931
  * @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
13932
+ * @param {string} [closedAt] The time after which users won\&#39;t be allowed to join the instances. If omitted, the instance will be closed immediately.
13263
13933
  * @param {*} [options] Override http request option.
13264
13934
  * @throws {RequiredError}
13265
13935
  */
13266
- async closeInstance(worldId: string, instanceId: string, hardClose?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
13267
- const localVarAxiosArgs = await localVarAxiosParamCreator.closeInstance(worldId, instanceId, hardClose, options);
13936
+ async closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
13937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.closeInstance(worldId, instanceId, hardClose, closedAt, options);
13938
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13939
+ },
13940
+ /**
13941
+ * Create an instance
13942
+ * @summary Create Instance
13943
+ * @param {CreateInstanceRequest} createInstanceRequest
13944
+ * @param {*} [options] Override http request option.
13945
+ * @throws {RequiredError}
13946
+ */
13947
+ async createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
13948
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createInstance(createInstanceRequest, options);
13268
13949
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13269
13950
  },
13270
13951
  /**
@@ -13325,16 +14006,27 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
13325
14006
  const localVarFp = InstancesApiFp(configuration)
13326
14007
  return {
13327
14008
  /**
13328
- * Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
14009
+ * Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13329
14010
  * @summary Close Instance
13330
14011
  * @param {string} worldId Must be a valid world ID.
13331
14012
  * @param {string} instanceId Must be a valid instance ID.
13332
14013
  * @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
14014
+ * @param {string} [closedAt] The time after which users won\&#39;t be allowed to join the instances. If omitted, the instance will be closed immediately.
14015
+ * @param {*} [options] Override http request option.
14016
+ * @throws {RequiredError}
14017
+ */
14018
+ closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: any): AxiosPromise<Instance> {
14019
+ return localVarFp.closeInstance(worldId, instanceId, hardClose, closedAt, options).then((request) => request(axios, basePath));
14020
+ },
14021
+ /**
14022
+ * Create an instance
14023
+ * @summary Create Instance
14024
+ * @param {CreateInstanceRequest} createInstanceRequest
13333
14025
  * @param {*} [options] Override http request option.
13334
14026
  * @throws {RequiredError}
13335
14027
  */
13336
- closeInstance(worldId: string, instanceId: string, hardClose?: boolean, options?: any): AxiosPromise<Instance> {
13337
- return localVarFp.closeInstance(worldId, instanceId, hardClose, options).then((request) => request(axios, basePath));
14028
+ createInstance(createInstanceRequest: CreateInstanceRequest, options?: any): AxiosPromise<Instance> {
14029
+ return localVarFp.createInstance(createInstanceRequest, options).then((request) => request(axios, basePath));
13338
14030
  },
13339
14031
  /**
13340
14032
  * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
@@ -13390,17 +14082,30 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
13390
14082
  */
13391
14083
  export class InstancesApi extends BaseAPI {
13392
14084
  /**
13393
- * Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
14085
+ * Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
13394
14086
  * @summary Close Instance
13395
14087
  * @param {string} worldId Must be a valid world ID.
13396
14088
  * @param {string} instanceId Must be a valid instance ID.
13397
14089
  * @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
14090
+ * @param {string} [closedAt] The time after which users won\&#39;t be allowed to join the instances. If omitted, the instance will be closed immediately.
14091
+ * @param {*} [options] Override http request option.
14092
+ * @throws {RequiredError}
14093
+ * @memberof InstancesApi
14094
+ */
14095
+ public closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig) {
14096
+ return InstancesApiFp(this.configuration).closeInstance(worldId, instanceId, hardClose, closedAt, options).then((request) => request(this.axios, this.basePath));
14097
+ }
14098
+
14099
+ /**
14100
+ * Create an instance
14101
+ * @summary Create Instance
14102
+ * @param {CreateInstanceRequest} createInstanceRequest
13398
14103
  * @param {*} [options] Override http request option.
13399
14104
  * @throws {RequiredError}
13400
14105
  * @memberof InstancesApi
13401
14106
  */
13402
- public closeInstance(worldId: string, instanceId: string, hardClose?: boolean, options?: AxiosRequestConfig) {
13403
- return InstancesApiFp(this.configuration).closeInstance(worldId, instanceId, hardClose, options).then((request) => request(this.axios, this.basePath));
14107
+ public createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig) {
14108
+ return InstancesApiFp(this.configuration).createInstance(createInstanceRequest, options).then((request) => request(this.axios, this.basePath));
13404
14109
  }
13405
14110
 
13406
14111
  /**
@@ -16018,7 +16723,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
16018
16723
  * @param {*} [options] Override http request option.
16019
16724
  * @throws {RequiredError}
16020
16725
  */
16021
- async getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Group>>> {
16726
+ async getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedGroup>>> {
16022
16727
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
16023
16728
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16024
16729
  },
@@ -16107,7 +16812,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
16107
16812
  * @param {*} [options] Override http request option.
16108
16813
  * @throws {RequiredError}
16109
16814
  */
16110
- getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>> {
16815
+ getUserGroups(userId: string, options?: any): AxiosPromise<Array<LimitedGroup>> {
16111
16816
  return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
16112
16817
  },
16113
16818
  /**