Skip to content

Commit 5f8b47a

Browse files
committed
Upgrade Node SDK to spec 1.16.6
1 parent 3b2635f commit 5f8b47a

File tree

7 files changed

+181
-9
lines changed

7 files changed

+181
-9
lines changed

api.ts

Lines changed: 174 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* VRChat API Documentation
55
*
6-
* The version of the OpenAPI document: 1.16.5
6+
* The version of the OpenAPI document: 1.16.6
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -929,6 +929,12 @@ export interface CreateAvatarRequest {
929929
* @memberof CreateAvatarRequest
930930
*/
931931
'unityPackageUrl'?: string;
932+
/**
933+
*
934+
* @type {string}
935+
* @memberof CreateAvatarRequest
936+
*/
937+
'unityVersion'?: string;
932938
}
933939
/**
934940
*
@@ -2409,7 +2415,7 @@ export interface GroupAuditLogEntry {
24092415
* @type {string}
24102416
* @memberof GroupAuditLogEntry
24112417
*/
2412-
'actorDisplayname'?: string;
2418+
'actorDisplayName'?: string;
24132419
/**
24142420
* Typically GroupID or GroupRoleID, but could be other types of IDs.
24152421
* @type {string}
@@ -4444,6 +4450,97 @@ export const ReleaseStatus = {
44444450
export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus];
44454451

44464452

4453+
/**
4454+
*
4455+
* @export
4456+
* @interface RepresentedGroup
4457+
*/
4458+
export interface RepresentedGroup {
4459+
/**
4460+
*
4461+
* @type {string}
4462+
* @memberof RepresentedGroup
4463+
*/
4464+
'name'?: string;
4465+
/**
4466+
*
4467+
* @type {string}
4468+
* @memberof RepresentedGroup
4469+
*/
4470+
'shortCode'?: string;
4471+
/**
4472+
*
4473+
* @type {string}
4474+
* @memberof RepresentedGroup
4475+
*/
4476+
'discriminator'?: string;
4477+
/**
4478+
*
4479+
* @type {string}
4480+
* @memberof RepresentedGroup
4481+
*/
4482+
'description'?: string;
4483+
/**
4484+
*
4485+
* @type {string}
4486+
* @memberof RepresentedGroup
4487+
*/
4488+
'iconId'?: string | null;
4489+
/**
4490+
*
4491+
* @type {string}
4492+
* @memberof RepresentedGroup
4493+
*/
4494+
'iconUrl'?: string | null;
4495+
/**
4496+
*
4497+
* @type {string}
4498+
* @memberof RepresentedGroup
4499+
*/
4500+
'bannerId'?: string | null;
4501+
/**
4502+
*
4503+
* @type {string}
4504+
* @memberof RepresentedGroup
4505+
*/
4506+
'bannerUrl'?: string | null;
4507+
/**
4508+
*
4509+
* @type {GroupPrivacy}
4510+
* @memberof RepresentedGroup
4511+
*/
4512+
'privacy'?: GroupPrivacy;
4513+
/**
4514+
* A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed.
4515+
* @type {string}
4516+
* @memberof RepresentedGroup
4517+
*/
4518+
'ownerId'?: string;
4519+
/**
4520+
*
4521+
* @type {number}
4522+
* @memberof RepresentedGroup
4523+
*/
4524+
'memberCount'?: number;
4525+
/**
4526+
*
4527+
* @type {string}
4528+
* @memberof RepresentedGroup
4529+
*/
4530+
'groupId'?: string;
4531+
/**
4532+
*
4533+
* @type {GroupUserVisibility}
4534+
* @memberof RepresentedGroup
4535+
*/
4536+
'memberVisibility'?: GroupUserVisibility;
4537+
/**
4538+
*
4539+
* @type {boolean}
4540+
* @memberof RepresentedGroup
4541+
*/
4542+
'isRepresenting'?: boolean;
4543+
}
44474544
/**
44484545
*
44494546
* @export
@@ -5067,6 +5164,12 @@ export interface UpdateAvatarRequest {
50675164
* @memberof UpdateAvatarRequest
50685165
*/
50695166
'unityPackageUrl'?: string;
5167+
/**
5168+
*
5169+
* @type {string}
5170+
* @memberof UpdateAvatarRequest
5171+
*/
5172+
'unityVersion'?: string;
50705173
}
50715174
/**
50725175
*
@@ -15373,6 +15476,42 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
1537315476

1537415477

1537515478

15479+
setSearchParams(localVarUrlObj, localVarQueryParameter);
15480+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15481+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15482+
15483+
return {
15484+
url: toPathString(localVarUrlObj),
15485+
options: localVarRequestOptions,
15486+
};
15487+
},
15488+
/**
15489+
* Returns the current group that the user is currently representing
15490+
* @summary Get user\'s current represented group
15491+
* @param {string} userId Must be a valid user ID.
15492+
* @param {*} [options] Override http request option.
15493+
* @throws {RequiredError}
15494+
*/
15495+
getUserRepresentedGroup: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15496+
// verify required parameter 'userId' is not null or undefined
15497+
assertParamExists('getUserRepresentedGroup', 'userId', userId)
15498+
const localVarPath = `/users/{userId}/groups/represented`
15499+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
15500+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
15501+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15502+
let baseOptions;
15503+
if (configuration) {
15504+
baseOptions = configuration.baseOptions;
15505+
}
15506+
15507+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15508+
const localVarHeaderParameter = {} as any;
15509+
const localVarQueryParameter = {} as any;
15510+
15511+
// authentication authCookie required
15512+
15513+
15514+
1537615515
setSearchParams(localVarUrlObj, localVarQueryParameter);
1537715516
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1537815517
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15529,6 +15668,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
1552915668
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
1553015669
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1553115670
},
15671+
/**
15672+
* Returns the current group that the user is currently representing
15673+
* @summary Get user\'s current represented group
15674+
* @param {string} userId Must be a valid user ID.
15675+
* @param {*} [options] Override http request option.
15676+
* @throws {RequiredError}
15677+
*/
15678+
async getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepresentedGroup>> {
15679+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserRepresentedGroup(userId, options);
15680+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15681+
},
1553215682
/**
1553315683
* Search and list any users by text query
1553415684
* @summary Search All Users
@@ -15606,6 +15756,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
1560615756
getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>> {
1560715757
return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
1560815758
},
15759+
/**
15760+
* Returns the current group that the user is currently representing
15761+
* @summary Get user\'s current represented group
15762+
* @param {string} userId Must be a valid user ID.
15763+
* @param {*} [options] Override http request option.
15764+
* @throws {RequiredError}
15765+
*/
15766+
getUserRepresentedGroup(userId: string, options?: any): AxiosPromise<RepresentedGroup> {
15767+
return localVarFp.getUserRepresentedGroup(userId, options).then((request) => request(axios, basePath));
15768+
},
1560915769
/**
1561015770
* Search and list any users by text query
1561115771
* @summary Search All Users
@@ -15689,6 +15849,18 @@ export class UsersApi extends BaseAPI {
1568915849
return UsersApiFp(this.configuration).getUserGroups(userId, options).then((request) => request(this.axios, this.basePath));
1569015850
}
1569115851

15852+
/**
15853+
* Returns the current group that the user is currently representing
15854+
* @summary Get user\'s current represented group
15855+
* @param {string} userId Must be a valid user ID.
15856+
* @param {*} [options] Override http request option.
15857+
* @throws {RequiredError}
15858+
* @memberof UsersApi
15859+
*/
15860+
public getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig) {
15861+
return UsersApiFp(this.configuration).getUserRepresentedGroup(userId, options).then((request) => request(this.axios, this.basePath));
15862+
}
15863+
1569215864
/**
1569315865
* Search and list any users by text query
1569415866
* @summary Search All Users

base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* VRChat API Documentation
55
*
6-
* The version of the OpenAPI document: 1.16.5
6+
* The version of the OpenAPI document: 1.16.6
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* VRChat API Documentation
55
*
6-
* The version of the OpenAPI document: 1.16.5
6+
* The version of the OpenAPI document: 1.16.6
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* VRChat API Documentation
55
*
6-
* The version of the OpenAPI document: 1.16.5
6+
* The version of the OpenAPI document: 1.16.6
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* VRChat API Documentation
55
*
6-
* The version of the OpenAPI document: 1.16.5
6+
* The version of the OpenAPI document: 1.16.6
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vrchat",
3-
"version": "1.16.5",
3+
"version": "1.16.6",
44
"description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)