vrchat 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.0
6
+ * The version of the OpenAPI document: 1.17.2
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
@@ -2590,6 +2633,37 @@ export interface GroupGalleryImage {
2590
2633
  */
2591
2634
  'approvedAt'?: string;
2592
2635
  }
2636
+ /**
2637
+ *
2638
+ * @export
2639
+ * @interface GroupInstance
2640
+ */
2641
+ export interface GroupInstance {
2642
+ /**
2643
+ *
2644
+ * @type {string}
2645
+ * @memberof GroupInstance
2646
+ */
2647
+ 'instanceId': string;
2648
+ /**
2649
+ * InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
2650
+ * @type {string}
2651
+ * @memberof GroupInstance
2652
+ */
2653
+ 'location': string;
2654
+ /**
2655
+ *
2656
+ * @type {World}
2657
+ * @memberof GroupInstance
2658
+ */
2659
+ 'world': World;
2660
+ /**
2661
+ *
2662
+ * @type {number}
2663
+ * @memberof GroupInstance
2664
+ */
2665
+ 'memberCount': number;
2666
+ }
2593
2667
  /**
2594
2668
  *
2595
2669
  * @export
@@ -2843,7 +2917,7 @@ export interface GroupMemberLimitedUser {
2843
2917
  * @type {string}
2844
2918
  * @memberof GroupMemberLimitedUser
2845
2919
  */
2846
- 'thumbnailUrl'?: string;
2920
+ 'thumbnailUrl'?: string | null;
2847
2921
  /**
2848
2922
  *
2849
2923
  * @type {string}
@@ -3008,6 +3082,99 @@ export interface GroupPermission {
3008
3082
  */
3009
3083
  'allowedToAdd'?: boolean;
3010
3084
  }
3085
+ /**
3086
+ *
3087
+ * @export
3088
+ * @interface GroupPost
3089
+ */
3090
+ export interface GroupPost {
3091
+ /**
3092
+ *
3093
+ * @type {string}
3094
+ * @memberof GroupPost
3095
+ */
3096
+ 'id'?: string;
3097
+ /**
3098
+ *
3099
+ * @type {string}
3100
+ * @memberof GroupPost
3101
+ */
3102
+ 'groupId'?: string;
3103
+ /**
3104
+ * 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.
3105
+ * @type {string}
3106
+ * @memberof GroupPost
3107
+ */
3108
+ 'authorId'?: string;
3109
+ /**
3110
+ * 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.
3111
+ * @type {string}
3112
+ * @memberof GroupPost
3113
+ */
3114
+ 'editorId'?: string;
3115
+ /**
3116
+ *
3117
+ * @type {GroupPostVisibility}
3118
+ * @memberof GroupPost
3119
+ */
3120
+ 'visibility'?: GroupPostVisibility;
3121
+ /**
3122
+ *
3123
+ * @type {Array<string>}
3124
+ * @memberof GroupPost
3125
+ */
3126
+ 'roleId'?: Array<string>;
3127
+ /**
3128
+ *
3129
+ * @type {string}
3130
+ * @memberof GroupPost
3131
+ */
3132
+ 'title'?: string;
3133
+ /**
3134
+ *
3135
+ * @type {string}
3136
+ * @memberof GroupPost
3137
+ */
3138
+ 'text'?: string;
3139
+ /**
3140
+ *
3141
+ * @type {string}
3142
+ * @memberof GroupPost
3143
+ */
3144
+ 'imageId'?: string;
3145
+ /**
3146
+ *
3147
+ * @type {string}
3148
+ * @memberof GroupPost
3149
+ */
3150
+ 'imageUrl'?: string | null;
3151
+ /**
3152
+ *
3153
+ * @type {string}
3154
+ * @memberof GroupPost
3155
+ */
3156
+ 'createdAt'?: string;
3157
+ /**
3158
+ *
3159
+ * @type {string}
3160
+ * @memberof GroupPost
3161
+ */
3162
+ 'updatedAt'?: string;
3163
+ }
3164
+ /**
3165
+ *
3166
+ * @export
3167
+ * @enum {string}
3168
+ */
3169
+
3170
+ export const GroupPostVisibility = {
3171
+ Group: 'group',
3172
+ Public: 'public'
3173
+ } as const;
3174
+
3175
+ export type GroupPostVisibility = typeof GroupPostVisibility[keyof typeof GroupPostVisibility];
3176
+
3177
+
3011
3178
  /**
3012
3179
  *
3013
3180
  * @export
@@ -10068,6 +10235,48 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10068
10235
  options: localVarRequestOptions,
10069
10236
  };
10070
10237
  },
10238
+ /**
10239
+ * Create a post in a Group.
10240
+ * @summary Create a post in a Group
10241
+ * @param {string} groupId Must be a valid group ID.
10242
+ * @param {CreateGroupPostRequest} createGroupPostRequest
10243
+ * @param {*} [options] Override http request option.
10244
+ * @throws {RequiredError}
10245
+ */
10246
+ addGroupPost: async (groupId: string, createGroupPostRequest: CreateGroupPostRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10247
+ // verify required parameter 'groupId' is not null or undefined
10248
+ assertParamExists('addGroupPost', 'groupId', groupId)
10249
+ // verify required parameter 'createGroupPostRequest' is not null or undefined
10250
+ assertParamExists('addGroupPost', 'createGroupPostRequest', createGroupPostRequest)
10251
+ const localVarPath = `/groups/{groupId}/posts`
10252
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10255
+ let baseOptions;
10256
+ if (configuration) {
10257
+ baseOptions = configuration.baseOptions;
10258
+ }
10259
+
10260
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10261
+ const localVarHeaderParameter = {} as any;
10262
+ const localVarQueryParameter = {} as any;
10263
+
10264
+ // authentication authCookie required
10265
+
10266
+
10267
+
10268
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10269
+
10270
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10271
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10272
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10273
+ localVarRequestOptions.data = serializeDataIfNeeded(createGroupPostRequest, localVarRequestOptions, configuration)
10274
+
10275
+ return {
10276
+ url: toPathString(localVarUrlObj),
10277
+ options: localVarRequestOptions,
10278
+ };
10279
+ },
10071
10280
  /**
10072
10281
  * Bans a user from a Group.
10073
10282
  * @summary Ban Group Member
@@ -10539,6 +10748,46 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10539
10748
 
10540
10749
 
10541
10750
 
10751
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10752
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10753
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10754
+
10755
+ return {
10756
+ url: toPathString(localVarUrlObj),
10757
+ options: localVarRequestOptions,
10758
+ };
10759
+ },
10760
+ /**
10761
+ * Delete a Group post
10762
+ * @summary Delete a Group post
10763
+ * @param {string} groupId Must be a valid group ID.
10764
+ * @param {string} notificationId Must be a valid notification ID.
10765
+ * @param {*} [options] Override http request option.
10766
+ * @throws {RequiredError}
10767
+ */
10768
+ deleteGroupPost: async (groupId: string, notificationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10769
+ // verify required parameter 'groupId' is not null or undefined
10770
+ assertParamExists('deleteGroupPost', 'groupId', groupId)
10771
+ // verify required parameter 'notificationId' is not null or undefined
10772
+ assertParamExists('deleteGroupPost', 'notificationId', notificationId)
10773
+ const localVarPath = `/groups/{groupId}/posts/{notificationId}`
10774
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
10775
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
10776
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10778
+ let baseOptions;
10779
+ if (configuration) {
10780
+ baseOptions = configuration.baseOptions;
10781
+ }
10782
+
10783
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10784
+ const localVarHeaderParameter = {} as any;
10785
+ const localVarQueryParameter = {} as any;
10786
+
10787
+ // authentication authCookie required
10788
+
10789
+
10790
+
10542
10791
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10543
10792
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10544
10793
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10817,6 +11066,42 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10817
11066
 
10818
11067
 
10819
11068
 
11069
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11070
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11071
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11072
+
11073
+ return {
11074
+ url: toPathString(localVarUrlObj),
11075
+ options: localVarRequestOptions,
11076
+ };
11077
+ },
11078
+ /**
11079
+ * Returns a list of group instances
11080
+ * @summary Get Group Instances
11081
+ * @param {string} groupId Must be a valid group ID.
11082
+ * @param {*} [options] Override http request option.
11083
+ * @throws {RequiredError}
11084
+ */
11085
+ getGroupInstances: async (groupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11086
+ // verify required parameter 'groupId' is not null or undefined
11087
+ assertParamExists('getGroupInstances', 'groupId', groupId)
11088
+ const localVarPath = `/groups/{groupId}/instances`
11089
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
11090
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11091
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11092
+ let baseOptions;
11093
+ if (configuration) {
11094
+ baseOptions = configuration.baseOptions;
11095
+ }
11096
+
11097
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11098
+ const localVarHeaderParameter = {} as any;
11099
+ const localVarQueryParameter = {} as any;
11100
+
11101
+ // authentication authCookie required
11102
+
11103
+
11104
+
10820
11105
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10821
11106
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10822
11107
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10990,6 +11275,57 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10990
11275
 
10991
11276
 
10992
11277
 
11278
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11280
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11281
+
11282
+ return {
11283
+ url: toPathString(localVarUrlObj),
11284
+ options: localVarRequestOptions,
11285
+ };
11286
+ },
11287
+ /**
11288
+ * Get posts from a Group
11289
+ * @summary Get posts from a Group
11290
+ * @param {string} groupId Must be a valid group ID.
11291
+ * @param {number} [n] The number of objects to return.
11292
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11293
+ * @param {boolean} [publicOnly] See public posts only.
11294
+ * @param {*} [options] Override http request option.
11295
+ * @throws {RequiredError}
11296
+ */
11297
+ getGroupPost: async (groupId: string, n?: number, offset?: number, publicOnly?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11298
+ // verify required parameter 'groupId' is not null or undefined
11299
+ assertParamExists('getGroupPost', 'groupId', groupId)
11300
+ const localVarPath = `/groups/{groupId}/posts`
11301
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
11302
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11303
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11304
+ let baseOptions;
11305
+ if (configuration) {
11306
+ baseOptions = configuration.baseOptions;
11307
+ }
11308
+
11309
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11310
+ const localVarHeaderParameter = {} as any;
11311
+ const localVarQueryParameter = {} as any;
11312
+
11313
+ // authentication authCookie required
11314
+
11315
+ if (n !== undefined) {
11316
+ localVarQueryParameter['n'] = n;
11317
+ }
11318
+
11319
+ if (offset !== undefined) {
11320
+ localVarQueryParameter['offset'] = offset;
11321
+ }
11322
+
11323
+ if (publicOnly !== undefined) {
11324
+ localVarQueryParameter['publicOnly'] = publicOnly;
11325
+ }
11326
+
11327
+
11328
+
10993
11329
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10994
11330
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10995
11331
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11576,6 +11912,18 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11576
11912
  const localVarAxiosArgs = await localVarAxiosParamCreator.addGroupMemberRole(groupId, userId, groupRoleId, options);
11577
11913
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11578
11914
  },
11915
+ /**
11916
+ * Create a post in a Group.
11917
+ * @summary Create a post in a Group
11918
+ * @param {string} groupId Must be a valid group ID.
11919
+ * @param {CreateGroupPostRequest} createGroupPostRequest
11920
+ * @param {*} [options] Override http request option.
11921
+ * @throws {RequiredError}
11922
+ */
11923
+ async addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
11924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addGroupPost(groupId, createGroupPostRequest, options);
11925
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11926
+ },
11579
11927
  /**
11580
11928
  * Bans a user from a Group.
11581
11929
  * @summary Ban Group Member
@@ -11717,6 +12065,18 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11717
12065
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroupInvite(groupId, userId, options);
11718
12066
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11719
12067
  },
12068
+ /**
12069
+ * Delete a Group post
12070
+ * @summary Delete a Group post
12071
+ * @param {string} groupId Must be a valid group ID.
12072
+ * @param {string} notificationId Must be a valid notification ID.
12073
+ * @param {*} [options] Override http request option.
12074
+ * @throws {RequiredError}
12075
+ */
12076
+ async deleteGroupPost(groupId: string, notificationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
12077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroupPost(groupId, notificationId, options);
12078
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12079
+ },
11720
12080
  /**
11721
12081
  * Deletes a Group Role by ID and returns the remaining roles.
11722
12082
  * @summary Delete Group Role
@@ -11795,6 +12155,17 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11795
12155
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options);
11796
12156
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11797
12157
  },
12158
+ /**
12159
+ * Returns a list of group instances
12160
+ * @summary Get Group Instances
12161
+ * @param {string} groupId Must be a valid group ID.
12162
+ * @param {*} [options] Override http request option.
12163
+ * @throws {RequiredError}
12164
+ */
12165
+ async getGroupInstances(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupInstance>>> {
12166
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInstances(groupId, options);
12167
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12168
+ },
11798
12169
  /**
11799
12170
  * Returns a list of members that have been invited to the Group.
11800
12171
  * @summary Get Group Invites Sent
@@ -11845,6 +12216,20 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11845
12216
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupPermissions(groupId, options);
11846
12217
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11847
12218
  },
12219
+ /**
12220
+ * Get posts from a Group
12221
+ * @summary Get posts from a Group
12222
+ * @param {string} groupId Must be a valid group ID.
12223
+ * @param {number} [n] The number of objects to return.
12224
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12225
+ * @param {boolean} [publicOnly] See public posts only.
12226
+ * @param {*} [options] Override http request option.
12227
+ * @throws {RequiredError}
12228
+ */
12229
+ async getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
12230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupPost(groupId, n, offset, publicOnly, options);
12231
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12232
+ },
11848
12233
  /**
11849
12234
  * Returns a list of members that have requested to join the Group.
11850
12235
  * @summary Get Group Join Requests
@@ -12039,6 +12424,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12039
12424
  addGroupMemberRole(groupId: string, userId: string, groupRoleId: string, options?: any): AxiosPromise<Array<string>> {
12040
12425
  return localVarFp.addGroupMemberRole(groupId, userId, groupRoleId, options).then((request) => request(axios, basePath));
12041
12426
  },
12427
+ /**
12428
+ * Create a post in a Group.
12429
+ * @summary Create a post in a Group
12430
+ * @param {string} groupId Must be a valid group ID.
12431
+ * @param {CreateGroupPostRequest} createGroupPostRequest
12432
+ * @param {*} [options] Override http request option.
12433
+ * @throws {RequiredError}
12434
+ */
12435
+ addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: any): AxiosPromise<GroupPost> {
12436
+ return localVarFp.addGroupPost(groupId, createGroupPostRequest, options).then((request) => request(axios, basePath));
12437
+ },
12042
12438
  /**
12043
12439
  * Bans a user from a Group.
12044
12440
  * @summary Ban Group Member
@@ -12168,6 +12564,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12168
12564
  deleteGroupInvite(groupId: string, userId: string, options?: any): AxiosPromise<void> {
12169
12565
  return localVarFp.deleteGroupInvite(groupId, userId, options).then((request) => request(axios, basePath));
12170
12566
  },
12567
+ /**
12568
+ * Delete a Group post
12569
+ * @summary Delete a Group post
12570
+ * @param {string} groupId Must be a valid group ID.
12571
+ * @param {string} notificationId Must be a valid notification ID.
12572
+ * @param {*} [options] Override http request option.
12573
+ * @throws {RequiredError}
12574
+ */
12575
+ deleteGroupPost(groupId: string, notificationId: string, options?: any): AxiosPromise<Success> {
12576
+ return localVarFp.deleteGroupPost(groupId, notificationId, options).then((request) => request(axios, basePath));
12577
+ },
12171
12578
  /**
12172
12579
  * Deletes a Group Role by ID and returns the remaining roles.
12173
12580
  * @summary Delete Group Role
@@ -12240,6 +12647,16 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12240
12647
  getGroupGalleryImages(groupId: string, groupGalleryId: string, n?: number, offset?: number, approved?: boolean, options?: any): AxiosPromise<Array<GroupGalleryImage>> {
12241
12648
  return localVarFp.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(axios, basePath));
12242
12649
  },
12650
+ /**
12651
+ * Returns a list of group instances
12652
+ * @summary Get Group Instances
12653
+ * @param {string} groupId Must be a valid group ID.
12654
+ * @param {*} [options] Override http request option.
12655
+ * @throws {RequiredError}
12656
+ */
12657
+ getGroupInstances(groupId: string, options?: any): AxiosPromise<Array<GroupInstance>> {
12658
+ return localVarFp.getGroupInstances(groupId, options).then((request) => request(axios, basePath));
12659
+ },
12243
12660
  /**
12244
12661
  * Returns a list of members that have been invited to the Group.
12245
12662
  * @summary Get Group Invites Sent
@@ -12286,6 +12703,19 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12286
12703
  getGroupPermissions(groupId: string, options?: any): AxiosPromise<Array<GroupPermission>> {
12287
12704
  return localVarFp.getGroupPermissions(groupId, options).then((request) => request(axios, basePath));
12288
12705
  },
12706
+ /**
12707
+ * Get posts from a Group
12708
+ * @summary Get posts from a Group
12709
+ * @param {string} groupId Must be a valid group ID.
12710
+ * @param {number} [n] The number of objects to return.
12711
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12712
+ * @param {boolean} [publicOnly] See public posts only.
12713
+ * @param {*} [options] Override http request option.
12714
+ * @throws {RequiredError}
12715
+ */
12716
+ getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: any): AxiosPromise<GroupPost> {
12717
+ return localVarFp.getGroupPost(groupId, n, offset, publicOnly, options).then((request) => request(axios, basePath));
12718
+ },
12289
12719
  /**
12290
12720
  * Returns a list of members that have requested to join the Group.
12291
12721
  * @summary Get Group Join Requests
@@ -12471,6 +12901,19 @@ export class GroupsApi extends BaseAPI {
12471
12901
  return GroupsApiFp(this.configuration).addGroupMemberRole(groupId, userId, groupRoleId, options).then((request) => request(this.axios, this.basePath));
12472
12902
  }
12473
12903
 
12904
+ /**
12905
+ * Create a post in a Group.
12906
+ * @summary Create a post in a Group
12907
+ * @param {string} groupId Must be a valid group ID.
12908
+ * @param {CreateGroupPostRequest} createGroupPostRequest
12909
+ * @param {*} [options] Override http request option.
12910
+ * @throws {RequiredError}
12911
+ * @memberof GroupsApi
12912
+ */
12913
+ public addGroupPost(groupId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig) {
12914
+ return GroupsApiFp(this.configuration).addGroupPost(groupId, createGroupPostRequest, options).then((request) => request(this.axios, this.basePath));
12915
+ }
12916
+
12474
12917
  /**
12475
12918
  * Bans a user from a Group.
12476
12919
  * @summary Ban Group Member
@@ -12624,6 +13067,19 @@ export class GroupsApi extends BaseAPI {
12624
13067
  return GroupsApiFp(this.configuration).deleteGroupInvite(groupId, userId, options).then((request) => request(this.axios, this.basePath));
12625
13068
  }
12626
13069
 
13070
+ /**
13071
+ * Delete a Group post
13072
+ * @summary Delete a Group post
13073
+ * @param {string} groupId Must be a valid group ID.
13074
+ * @param {string} notificationId Must be a valid notification ID.
13075
+ * @param {*} [options] Override http request option.
13076
+ * @throws {RequiredError}
13077
+ * @memberof GroupsApi
13078
+ */
13079
+ public deleteGroupPost(groupId: string, notificationId: string, options?: AxiosRequestConfig) {
13080
+ return GroupsApiFp(this.configuration).deleteGroupPost(groupId, notificationId, options).then((request) => request(this.axios, this.basePath));
13081
+ }
13082
+
12627
13083
  /**
12628
13084
  * Deletes a Group Role by ID and returns the remaining roles.
12629
13085
  * @summary Delete Group Role
@@ -12708,6 +13164,18 @@ export class GroupsApi extends BaseAPI {
12708
13164
  return GroupsApiFp(this.configuration).getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(this.axios, this.basePath));
12709
13165
  }
12710
13166
 
13167
+ /**
13168
+ * Returns a list of group instances
13169
+ * @summary Get Group Instances
13170
+ * @param {string} groupId Must be a valid group ID.
13171
+ * @param {*} [options] Override http request option.
13172
+ * @throws {RequiredError}
13173
+ * @memberof GroupsApi
13174
+ */
13175
+ public getGroupInstances(groupId: string, options?: AxiosRequestConfig) {
13176
+ return GroupsApiFp(this.configuration).getGroupInstances(groupId, options).then((request) => request(this.axios, this.basePath));
13177
+ }
13178
+
12711
13179
  /**
12712
13180
  * Returns a list of members that have been invited to the Group.
12713
13181
  * @summary Get Group Invites Sent
@@ -12762,6 +13230,21 @@ export class GroupsApi extends BaseAPI {
12762
13230
  return GroupsApiFp(this.configuration).getGroupPermissions(groupId, options).then((request) => request(this.axios, this.basePath));
12763
13231
  }
12764
13232
 
13233
+ /**
13234
+ * Get posts from a Group
13235
+ * @summary Get posts from a Group
13236
+ * @param {string} groupId Must be a valid group ID.
13237
+ * @param {number} [n] The number of objects to return.
13238
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13239
+ * @param {boolean} [publicOnly] See public posts only.
13240
+ * @param {*} [options] Override http request option.
13241
+ * @throws {RequiredError}
13242
+ * @memberof GroupsApi
13243
+ */
13244
+ public getGroupPost(groupId: string, n?: number, offset?: number, publicOnly?: boolean, options?: AxiosRequestConfig) {
13245
+ return GroupsApiFp(this.configuration).getGroupPost(groupId, n, offset, publicOnly, options).then((request) => request(this.axios, this.basePath));
13246
+ }
13247
+
12765
13248
  /**
12766
13249
  * Returns a list of members that have requested to join the Group.
12767
13250
  * @summary Get Group Join Requests
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.17.0
6
+ * The version of the OpenAPI document: 1.17.2
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.17.0
6
+ * The version of the OpenAPI document: 1.17.2
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.17.0
6
+ * The version of the OpenAPI document: 1.17.2
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).