Skip to content

Commit

Permalink
Upgrade Node SDK to spec 1.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Sep 17, 2024
1 parent d8367d0 commit eacf703
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 16 deletions.
62 changes: 53 additions & 9 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.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -1785,6 +1785,18 @@ export interface CurrentUser {
* @memberof CurrentUser
*/
'pronouns': string;
/**
*
* @type {string}
* @memberof CurrentUser
*/
'queuedInstance'?: string | null;
/**
*
* @type {boolean}
* @memberof CurrentUser
*/
'receiveMobileInvitations'?: boolean;
/**
*
* @type {UserState}
Expand Down Expand Up @@ -1883,6 +1895,12 @@ export interface CurrentUserPresence {
* @memberof CurrentUserPresence
*/
'avatarThumbnail'?: string | null;
/**
*
* @type {string}
* @memberof CurrentUserPresence
*/
'currentAvatarTags'?: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -1949,6 +1967,12 @@ export interface CurrentUserPresence {
* @memberof CurrentUserPresence
*/
'travelingToWorld'?: string;
/**
*
* @type {string}
* @memberof CurrentUserPresence
*/
'userIcon'?: string | null;
/**
* WorldID be \"offline\" on User profiles if you are not friends with that user.
* @type {string}
Expand Down Expand Up @@ -5905,6 +5929,12 @@ export interface UnityPackage {
* @memberof UnityPackage
*/
'created_at'?: string;
/**
*
* @type {string}
* @memberof UnityPackage
*/
'impostorizerVersion'?: string;
/**
* This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.
* @type {string}
Expand Down Expand Up @@ -6503,6 +6533,12 @@ export interface User {
* @memberof User
*/
'last_login': string;
/**
*
* @type {string}
* @memberof User
*/
'last_mobile'?: string | null;
/**
* This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.
* @type {string}
Expand All @@ -6526,7 +6562,7 @@ export interface User {
* @type {string}
* @memberof User
*/
'platform': string;
'platform'?: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -11833,10 +11869,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
* @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 {string} [roleId] Only returns members with a specific groupRoleId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getGroupMembers: async (groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
getGroupMembers: async (groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, roleId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'groupId' is not null or undefined
assertParamExists('getGroupMembers', 'groupId', groupId)
const localVarPath = `/groups/{groupId}/members`
Expand Down Expand Up @@ -11866,6 +11903,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
localVarQueryParameter['sort'] = sort;
}

if (roleId !== undefined) {
localVarQueryParameter['roleId'] = roleId;
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -12878,11 +12919,12 @@ export const GroupsApiFp = function(configuration?: Configuration) {
* @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 {string} [roleId] Only returns members with a specific groupRoleId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, sort, options);
async getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, roleId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, sort, roleId, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -13381,11 +13423,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
* @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 {string} [roleId] Only returns members with a specific groupRoleId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options?: any): AxiosPromise<Array<GroupMember>> {
return localVarFp.getGroupMembers(groupId, n, offset, sort, options).then((request) => request(axios, basePath));
getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, roleId?: string, options?: any): AxiosPromise<Array<GroupMember>> {
return localVarFp.getGroupMembers(groupId, n, offset, sort, roleId, options).then((request) => request(axios, basePath));
},
/**
* Returns a List of all possible/available permissions for a Group.
Expand Down Expand Up @@ -13917,12 +13960,13 @@ export class GroupsApi extends BaseAPI {
* @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 {string} [roleId] Only returns members with a specific groupRoleId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof GroupsApi
*/
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));
public getGroupMembers(groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, roleId?: string, options?: AxiosRequestConfig) {
return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, sort, roleId, 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.18.1
* The version of the OpenAPI document: 1.18.3
* 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.18.1
* The version of the OpenAPI document: 1.18.3
* 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.18.1
* The version of the OpenAPI document: 1.18.3
* 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.18.1
* The version of the OpenAPI document: 1.18.3
* 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.18.1",
"version": "1.18.3",
"description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
"author": "OpenAPI-Generator Contributors",
"repository": {
Expand Down

0 comments on commit eacf703

Please sign in to comment.