Skip to content

Commit d80b831

Browse files
committed
Upgrade Node SDK to spec 1.17.1
1 parent ea7140d commit d80b831

File tree

7 files changed

+109
-9
lines changed

7 files changed

+109
-9
lines changed

api.ts

Lines changed: 102 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.17.0
6+
* The version of the OpenAPI document: 1.17.1
77
* Contact: vrchatapi.lpv0t@aries.fyi
88
*
99
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2590,6 +2590,37 @@ export interface GroupGalleryImage {
25902590
*/
25912591
'approvedAt'?: string;
25922592
}
2593+
/**
2594+
*
2595+
* @export
2596+
* @interface GroupInstance
2597+
*/
2598+
export interface GroupInstance {
2599+
/**
2600+
*
2601+
* @type {string}
2602+
* @memberof GroupInstance
2603+
*/
2604+
'instanceId': string;
2605+
/**
2606+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
2607+
* @type {string}
2608+
* @memberof GroupInstance
2609+
*/
2610+
'location': string;
2611+
/**
2612+
*
2613+
* @type {World}
2614+
* @memberof GroupInstance
2615+
*/
2616+
'world': World;
2617+
/**
2618+
*
2619+
* @type {number}
2620+
* @memberof GroupInstance
2621+
*/
2622+
'memberCount': number;
2623+
}
25932624
/**
25942625
*
25952626
* @export
@@ -2843,7 +2874,7 @@ export interface GroupMemberLimitedUser {
28432874
* @type {string}
28442875
* @memberof GroupMemberLimitedUser
28452876
*/
2846-
'thumbnailUrl'?: string;
2877+
'thumbnailUrl'?: string | null;
28472878
/**
28482879
*
28492880
* @type {string}
@@ -10817,6 +10848,42 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
1081710848

1081810849

1081910850

10851+
setSearchParams(localVarUrlObj, localVarQueryParameter);
10852+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10853+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10854+
10855+
return {
10856+
url: toPathString(localVarUrlObj),
10857+
options: localVarRequestOptions,
10858+
};
10859+
},
10860+
/**
10861+
* Returns a list of group instances
10862+
* @summary Get Group Instances
10863+
* @param {string} groupId Must be a valid group ID.
10864+
* @param {*} [options] Override http request option.
10865+
* @throws {RequiredError}
10866+
*/
10867+
getGroupInstances: async (groupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10868+
// verify required parameter 'groupId' is not null or undefined
10869+
assertParamExists('getGroupInstances', 'groupId', groupId)
10870+
const localVarPath = `/groups/{groupId}/instances`
10871+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10872+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
10873+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10874+
let baseOptions;
10875+
if (configuration) {
10876+
baseOptions = configuration.baseOptions;
10877+
}
10878+
10879+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10880+
const localVarHeaderParameter = {} as any;
10881+
const localVarQueryParameter = {} as any;
10882+
10883+
// authentication authCookie required
10884+
10885+
10886+
1082010887
setSearchParams(localVarUrlObj, localVarQueryParameter);
1082110888
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1082210889
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11795,6 +11862,17 @@ export const GroupsApiFp = function(configuration?: Configuration) {
1179511862
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options);
1179611863
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1179711864
},
11865+
/**
11866+
* Returns a list of group instances
11867+
* @summary Get Group Instances
11868+
* @param {string} groupId Must be a valid group ID.
11869+
* @param {*} [options] Override http request option.
11870+
* @throws {RequiredError}
11871+
*/
11872+
async getGroupInstances(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupInstance>>> {
11873+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInstances(groupId, options);
11874+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11875+
},
1179811876
/**
1179911877
* Returns a list of members that have been invited to the Group.
1180011878
* @summary Get Group Invites Sent
@@ -12240,6 +12318,16 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
1224012318
getGroupGalleryImages(groupId: string, groupGalleryId: string, n?: number, offset?: number, approved?: boolean, options?: any): AxiosPromise<Array<GroupGalleryImage>> {
1224112319
return localVarFp.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(axios, basePath));
1224212320
},
12321+
/**
12322+
* Returns a list of group instances
12323+
* @summary Get Group Instances
12324+
* @param {string} groupId Must be a valid group ID.
12325+
* @param {*} [options] Override http request option.
12326+
* @throws {RequiredError}
12327+
*/
12328+
getGroupInstances(groupId: string, options?: any): AxiosPromise<Array<GroupInstance>> {
12329+
return localVarFp.getGroupInstances(groupId, options).then((request) => request(axios, basePath));
12330+
},
1224312331
/**
1224412332
* Returns a list of members that have been invited to the Group.
1224512333
* @summary Get Group Invites Sent
@@ -12708,6 +12796,18 @@ export class GroupsApi extends BaseAPI {
1270812796
return GroupsApiFp(this.configuration).getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(this.axios, this.basePath));
1270912797
}
1271012798

12799+
/**
12800+
* Returns a list of group instances
12801+
* @summary Get Group Instances
12802+
* @param {string} groupId Must be a valid group ID.
12803+
* @param {*} [options] Override http request option.
12804+
* @throws {RequiredError}
12805+
* @memberof GroupsApi
12806+
*/
12807+
public getGroupInstances(groupId: string, options?: AxiosRequestConfig) {
12808+
return GroupsApiFp(this.configuration).getGroupInstances(groupId, options).then((request) => request(this.axios, this.basePath));
12809+
}
12810+
1271112811
/**
1271212812
* Returns a list of members that have been invited to the Group.
1271312813
* @summary Get Group Invites Sent

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.17.0
6+
* The version of the OpenAPI document: 1.17.1
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.17.0
6+
* The version of the OpenAPI document: 1.17.1
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.17.0
6+
* The version of the OpenAPI document: 1.17.1
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.17.0
6+
* The version of the OpenAPI document: 1.17.1
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.17.0",
3+
"version": "1.17.1",
44
"description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)