33/**
44 * VRChat API Documentation
55 *
6- * The version of the OpenAPI document: 1.16.3
6+ * The version of the OpenAPI document: 1.16.4
77 * Contact: vrchatapi.lpv0t@aries.fyi
88 *
99 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2658,6 +2658,12 @@ export interface GroupMember {
26582658 * @memberof GroupMember
26592659 */
26602660 'roleIds'?: Array<string>;
2661+ /**
2662+ *
2663+ * @type {Array<string>}
2664+ * @memberof GroupMember
2665+ */
2666+ 'mRoleIds'?: Array<string>;
26612667 /**
26622668 *
26632669 * @type {string}
@@ -2700,6 +2706,18 @@ export interface GroupMember {
27002706 * @memberof GroupMember
27012707 */
27022708 'managerNotes'?: string | null;
2709+ /**
2710+ *
2711+ * @type {string}
2712+ * @memberof GroupMember
2713+ */
2714+ 'lastPostReadAt'?: string;
2715+ /**
2716+ *
2717+ * @type {boolean}
2718+ * @memberof GroupMember
2719+ */
2720+ 'hasJoinedFromPurchase'?: boolean;
27032721}
27042722/**
27052723 * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
@@ -2731,6 +2749,24 @@ export interface GroupMemberLimitedUser {
27312749 * @memberof GroupMemberLimitedUser
27322750 */
27332751 'iconUrl'?: string;
2752+ /**
2753+ *
2754+ * @type {string}
2755+ * @memberof GroupMemberLimitedUser
2756+ */
2757+ 'profilePicOverride'?: string;
2758+ /**
2759+ *
2760+ * @type {string}
2761+ * @memberof GroupMemberLimitedUser
2762+ */
2763+ 'currentAvatarThumbnailImageUrl'?: string;
2764+ /**
2765+ *
2766+ * @type {Array<string>}
2767+ * @memberof GroupMemberLimitedUser
2768+ */
2769+ 'currentAvatarTags'?: Array<string>;
27342770}
27352771/**
27362772 *
@@ -2979,6 +3015,20 @@ export const GroupRoleTemplate = {
29793015export type GroupRoleTemplate = typeof GroupRoleTemplate[keyof typeof GroupRoleTemplate];
29803016
29813017
3018+ /**
3019+ *
3020+ * @export
3021+ * @enum {string}
3022+ */
3023+
3024+ export const GroupSearchSort = {
3025+ Asc: 'joinedAt:asc',
3026+ Desc: 'joinedAt:desc'
3027+ } as const;
3028+
3029+ export type GroupSearchSort = typeof GroupSearchSort[keyof typeof GroupSearchSort];
3030+
3031+
29823032/**
29833033 *
29843034 * @export
@@ -10561,10 +10611,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
1056110611 * @param {string} groupId Must be a valid group ID.
1056210612 * @param {number} [n] The number of objects to return.
1056310613 * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
10614+ * @param {GroupSearchSort} [sort] The sort order of Group Member results
1056410615 * @param {*} [options] Override http request option.
1056510616 * @throws {RequiredError}
1056610617 */
10567- getGroupMembers: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10618+ getGroupMembers: async (groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1056810619 // verify required parameter 'groupId' is not null or undefined
1056910620 assertParamExists('getGroupMembers', 'groupId', groupId)
1057010621 const localVarPath = `/groups/{groupId}/members`
@@ -10590,6 +10641,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
1059010641 localVarQueryParameter['offset'] = offset;
1059110642 }
1059210643
10644+ if (sort !== undefined) {
10645+ localVarQueryParameter['sort'] = sort;
10646+ }
10647+
1059310648
1059410649
1059510650 setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11450,11 +11505,12 @@ export const GroupsApiFp = function(configuration?: Configuration) {
1145011505 * @param {string} groupId Must be a valid group ID.
1145111506 * @param {number} [n] The number of objects to return.
1145211507 * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11508+ * @param {GroupSearchSort} [sort] The sort order of Group Member results
1145311509 * @param {*} [options] Override http request option.
1145411510 * @throws {RequiredError}
1145511511 */
11456- async getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11457- const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, options);
11512+ async getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11513+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, sort, options);
1145811514 return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1145911515 },
1146011516 /**
@@ -11888,11 +11944,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
1188811944 * @param {string} groupId Must be a valid group ID.
1188911945 * @param {number} [n] The number of objects to return.
1189011946 * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11947+ * @param {GroupSearchSort} [sort] The sort order of Group Member results
1189111948 * @param {*} [options] Override http request option.
1189211949 * @throws {RequiredError}
1189311950 */
11894- getGroupMembers(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
11895- return localVarFp.getGroupMembers(groupId, n, offset, options).then((request) => request(axios, basePath));
11951+ getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: any): AxiosPromise<Array<GroupMember>> {
11952+ return localVarFp.getGroupMembers(groupId, n, offset, sort, options).then((request) => request(axios, basePath));
1189611953 },
1189711954 /**
1189811955 * Returns a List of all possible/available permissions for a Group.
@@ -12355,12 +12412,13 @@ export class GroupsApi extends BaseAPI {
1235512412 * @param {string} groupId Must be a valid group ID.
1235612413 * @param {number} [n] The number of objects to return.
1235712414 * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12415+ * @param {GroupSearchSort} [sort] The sort order of Group Member results
1235812416 * @param {*} [options] Override http request option.
1235912417 * @throws {RequiredError}
1236012418 * @memberof GroupsApi
1236112419 */
12362- public getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) {
12363- return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, options).then((request) => request(this.axios, this.basePath));
12420+ public getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: AxiosRequestConfig) {
12421+ return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, sort, options).then((request) => request(this.axios, this.basePath));
1236412422 }
1236512423
1236612424 /**
0 commit comments