Skip to content

Commit

Permalink
Upgrade Node SDK to spec 1.16.7
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Mar 22, 2024
1 parent 5f8b47a commit d55eab6
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 24 deletions.
66 changes: 49 additions & 17 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -2680,7 +2680,7 @@ export interface GroupLimitedMember {
* @type {string}
* @memberof GroupLimitedMember
*/
'lastPostReadAt'?: string;
'lastPostReadAt'?: string | null;
/**
*
* @type {boolean}
Expand Down Expand Up @@ -2783,7 +2783,7 @@ export interface GroupMember {
* @type {string}
* @memberof GroupMember
*/
'lastPostReadAt'?: string;
'lastPostReadAt'?: string | null;
/**
*
* @type {boolean}
Expand Down Expand Up @@ -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<RequestArgs> => {
getGroupInvites: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'groupId' is not null or undefined
assertParamExists('getGroupInvites', 'groupId', groupId)
const localVarPath = `/groups/{groupId}/invites`
Expand All @@ -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);
Expand Down Expand Up @@ -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<RequestArgs> => {
getGroupRequests: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'groupId' is not null or undefined
assertParamExists('getGroupRequests', 'groupId', groupId)
const localVarPath = `/groups/{groupId}/requests`
Expand All @@ -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);
Expand Down Expand Up @@ -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<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, options);
async getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, n, offset, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -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<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, options);
async getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -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<Array<GroupMember>> {
return localVarFp.getGroupInvites(groupId, options).then((request) => request(axios, basePath));
getGroupInvites(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
return localVarFp.getGroupInvites(groupId, n, offset, options).then((request) => request(axios, basePath));
},
/**
* Returns a LimitedGroup Member.
Expand Down Expand Up @@ -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<Array<GroupMember>> {
return localVarFp.getGroupRequests(groupId, options).then((request) => request(axios, basePath));
getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
return localVarFp.getGroupRequests(groupId, n, offset, options).then((request) => request(axios, basePath));
},
/**
* Returns a Group Role by ID.
Expand Down Expand Up @@ -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));
}

/**
Expand Down Expand Up @@ -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));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit d55eab6

Please sign in to comment.