diff --git a/api.ts b/api.ts index dd5d48f..0c2496c 100644 --- a/api.ts +++ b/api.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.3 + * The version of the OpenAPI document: 1.16.4 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -2658,6 +2658,12 @@ export interface GroupMember { * @memberof GroupMember */ 'roleIds'?: Array; + /** + * + * @type {Array} + * @memberof GroupMember + */ + 'mRoleIds'?: Array; /** * * @type {string} @@ -2700,6 +2706,18 @@ export interface GroupMember { * @memberof GroupMember */ 'managerNotes'?: string | null; + /** + * + * @type {string} + * @memberof GroupMember + */ + 'lastPostReadAt'?: string; + /** + * + * @type {boolean} + * @memberof GroupMember + */ + 'hasJoinedFromPurchase'?: boolean; } /** * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. @@ -2731,6 +2749,24 @@ export interface GroupMemberLimitedUser { * @memberof GroupMemberLimitedUser */ 'iconUrl'?: string; + /** + * + * @type {string} + * @memberof GroupMemberLimitedUser + */ + 'profilePicOverride'?: string; + /** + * + * @type {string} + * @memberof GroupMemberLimitedUser + */ + 'currentAvatarThumbnailImageUrl'?: string; + /** + * + * @type {Array} + * @memberof GroupMemberLimitedUser + */ + 'currentAvatarTags'?: Array; } /** * @@ -2979,6 +3015,20 @@ export const GroupRoleTemplate = { export type GroupRoleTemplate = typeof GroupRoleTemplate[keyof typeof GroupRoleTemplate]; +/** + * + * @export + * @enum {string} + */ + +export const GroupSearchSort = { + Asc: 'joinedAt:asc', + Desc: 'joinedAt:desc' +} as const; + +export type GroupSearchSort = typeof GroupSearchSort[keyof typeof GroupSearchSort]; + + /** * * @export @@ -10561,10 +10611,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio * @param {string} groupId Must be a valid group ID. * @param {number} [n] The number of objects to return. * @param {number} [offset] A zero-based offset from the default object sorting from where search results start. + * @param {GroupSearchSort} [sort] The sort order of Group Member results * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupMembers: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise => { + getGroupMembers: async (groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'groupId' is not null or undefined assertParamExists('getGroupMembers', 'groupId', groupId) const localVarPath = `/groups/{groupId}/members` @@ -10590,6 +10641,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio localVarQueryParameter['offset'] = offset; } + if (sort !== undefined) { + localVarQueryParameter['sort'] = sort; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11450,11 +11505,12 @@ export const GroupsApiFp = function(configuration?: Configuration) { * @param {string} groupId Must be a valid group ID. * @param {number} [n] The number of objects to return. * @param {number} [offset] A zero-based offset from the default object sorting from where search results start. + * @param {GroupSearchSort} [sort] The sort order of Group Member results * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, options); + async getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, sort, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -11888,11 +11944,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat * @param {string} groupId Must be a valid group ID. * @param {number} [n] The number of objects to return. * @param {number} [offset] A zero-based offset from the default object sorting from where search results start. + * @param {GroupSearchSort} [sort] The sort order of Group Member results * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupMembers(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise> { - return localVarFp.getGroupMembers(groupId, n, offset, options).then((request) => request(axios, basePath)); + getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: any): AxiosPromise> { + return localVarFp.getGroupMembers(groupId, n, offset, sort, options).then((request) => request(axios, basePath)); }, /** * Returns a List of all possible/available permissions for a Group. @@ -12355,12 +12412,13 @@ export class GroupsApi extends BaseAPI { * @param {string} groupId Must be a valid group ID. * @param {number} [n] The number of objects to return. * @param {number} [offset] A zero-based offset from the default object sorting from where search results start. + * @param {GroupSearchSort} [sort] The sort order of Group Member results * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupsApi */ - public getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) { - return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, options).then((request) => request(this.axios, this.basePath)); + public getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: AxiosRequestConfig) { + return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, sort, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/base.ts b/base.ts index c2ba4df..850af2f 100644 --- a/base.ts +++ b/base.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.3 + * The version of the OpenAPI document: 1.16.4 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/common.ts b/common.ts index 93ad6e1..4db4a43 100644 --- a/common.ts +++ b/common.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.3 + * The version of the OpenAPI document: 1.16.4 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/configuration.ts b/configuration.ts index 12605e5..c4ba0ec 100644 --- a/configuration.ts +++ b/configuration.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.3 + * The version of the OpenAPI document: 1.16.4 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/index.ts b/index.ts index 68e0898..db3974a 100644 --- a/index.ts +++ b/index.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.3 + * The version of the OpenAPI document: 1.16.4 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/package-lock.json b/package-lock.json index 63f4491..edf1f13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vrchat", - "version": "1.16.3", + "version": "1.16.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vrchat", - "version": "1.16.3", + "version": "1.16.4", "license": "MIT", "dependencies": { "@types/tough-cookie": "^4.0.1", diff --git a/package.json b/package.json index 17e85c3..c7abf42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vrchat", - "version": "1.16.3", + "version": "1.16.4", "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript", "author": "OpenAPI-Generator Contributors", "repository": {