diff --git a/api.ts b/api.ts index ae80287..dfaefdd 100644 --- a/api.ts +++ b/api.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.6 + * The version of the OpenAPI document: 1.16.7 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -2680,7 +2680,7 @@ export interface GroupLimitedMember { * @type {string} * @memberof GroupLimitedMember */ - 'lastPostReadAt'?: string; + 'lastPostReadAt'?: string | null; /** * * @type {boolean} @@ -2783,7 +2783,7 @@ export interface GroupMember { * @type {string} * @memberof GroupMember */ - 'lastPostReadAt'?: string; + 'lastPostReadAt'?: string | null; /** * * @type {boolean} @@ -10702,10 +10702,12 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio * Returns a list of members that have been invited to the Group. * @summary Get Group Invites Sent * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupInvites: async (groupId: string, options: AxiosRequestConfig = {}): Promise => { + getGroupInvites: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'groupId' is not null or undefined assertParamExists('getGroupInvites', 'groupId', groupId) const localVarPath = `/groups/{groupId}/invites` @@ -10723,6 +10725,14 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio // authentication authCookie required + if (n !== undefined) { + localVarQueryParameter['n'] = n; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -10865,10 +10875,12 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio * Returns a list of members that have requested to join the Group. * @summary Get Group Join Requests * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupRequests: async (groupId: string, options: AxiosRequestConfig = {}): Promise => { + getGroupRequests: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'groupId' is not null or undefined assertParamExists('getGroupRequests', 'groupId', groupId) const localVarPath = `/groups/{groupId}/requests` @@ -10886,6 +10898,14 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio // authentication authCookie required + if (n !== undefined) { + localVarQueryParameter['n'] = n; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11649,11 +11669,13 @@ export const GroupsApiFp = function(configuration?: Configuration) { * Returns a list of members that have been invited to the Group. * @summary Get Group Invites Sent * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - async getGroupInvites(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, options); + async getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, n, offset, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -11697,11 +11719,13 @@ export const GroupsApiFp = function(configuration?: Configuration) { * Returns a list of members that have requested to join the Group. * @summary Get Group Join Requests * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - async getGroupRequests(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, options); + async getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -12090,11 +12114,13 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat * Returns a list of members that have been invited to the Group. * @summary Get Group Invites Sent * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupInvites(groupId: string, options?: any): AxiosPromise> { - return localVarFp.getGroupInvites(groupId, options).then((request) => request(axios, basePath)); + getGroupInvites(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise> { + return localVarFp.getGroupInvites(groupId, n, offset, options).then((request) => request(axios, basePath)); }, /** * Returns a LimitedGroup Member. @@ -12134,11 +12160,13 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat * Returns a list of members that have requested to join the Group. * @summary Get Group Join Requests * @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 {*} [options] Override http request option. * @throws {RequiredError} */ - getGroupRequests(groupId: string, options?: any): AxiosPromise> { - return localVarFp.getGroupRequests(groupId, options).then((request) => request(axios, basePath)); + getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise> { + return localVarFp.getGroupRequests(groupId, n, offset, options).then((request) => request(axios, basePath)); }, /** * Returns a Group Role by ID. @@ -12554,12 +12582,14 @@ export class GroupsApi extends BaseAPI { * Returns a list of members that have been invited to the Group. * @summary Get Group Invites Sent * @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 {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupsApi */ - public getGroupInvites(groupId: string, options?: AxiosRequestConfig) { - return GroupsApiFp(this.configuration).getGroupInvites(groupId, options).then((request) => request(this.axios, this.basePath)); + public getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) { + return GroupsApiFp(this.configuration).getGroupInvites(groupId, n, offset, options).then((request) => request(this.axios, this.basePath)); } /** @@ -12606,12 +12636,14 @@ export class GroupsApi extends BaseAPI { * Returns a list of members that have requested to join the Group. * @summary Get Group Join Requests * @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 {*} [options] Override http request option. * @throws {RequiredError} * @memberof GroupsApi */ - public getGroupRequests(groupId: string, options?: AxiosRequestConfig) { - return GroupsApiFp(this.configuration).getGroupRequests(groupId, options).then((request) => request(this.axios, this.basePath)); + public getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) { + return GroupsApiFp(this.configuration).getGroupRequests(groupId, n, offset, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/base.ts b/base.ts index 6978aac..6dd3588 100644 --- a/base.ts +++ b/base.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.6 + * The version of the OpenAPI document: 1.16.7 * 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 95b5148..920ec44 100644 --- a/common.ts +++ b/common.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.6 + * The version of the OpenAPI document: 1.16.7 * 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 cd9d75b..34487b8 100644 --- a/configuration.ts +++ b/configuration.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.6 + * The version of the OpenAPI document: 1.16.7 * 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 25b3f2c..35c2919 100644 --- a/index.ts +++ b/index.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.16.6 + * The version of the OpenAPI document: 1.16.7 * 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 0c5afd8..0a652e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vrchat", - "version": "1.16.6", + "version": "1.16.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vrchat", - "version": "1.16.6", + "version": "1.16.7", "license": "MIT", "dependencies": { "@types/tough-cookie": "^4.0.1", diff --git a/package.json b/package.json index a492fe0..40327bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vrchat", - "version": "1.16.6", + "version": "1.16.7", "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript", "author": "OpenAPI-Generator Contributors", "repository": {