-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
109 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* VRChat API Documentation | ||
* | ||
* The version of the OpenAPI document: 1.17.0 | ||
* The version of the OpenAPI document: 1.17.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -2590,6 +2590,37 @@ export interface GroupGalleryImage { | |
*/ | ||
'approvedAt'?: string; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface GroupInstance | ||
*/ | ||
export interface GroupInstance { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof GroupInstance | ||
*/ | ||
'instanceId': string; | ||
/** | ||
* 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. | ||
* @type {string} | ||
* @memberof GroupInstance | ||
*/ | ||
'location': string; | ||
/** | ||
* | ||
* @type {World} | ||
* @memberof GroupInstance | ||
*/ | ||
'world': World; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof GroupInstance | ||
*/ | ||
'memberCount': number; | ||
} | ||
/** | ||
* | ||
* @export | ||
|
@@ -2843,7 +2874,7 @@ export interface GroupMemberLimitedUser { | |
* @type {string} | ||
* @memberof GroupMemberLimitedUser | ||
*/ | ||
'thumbnailUrl'?: string; | ||
'thumbnailUrl'?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
|
@@ -10817,6 +10848,42 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio | |
|
||
|
||
|
||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
|
||
return { | ||
url: toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* Returns a list of group instances | ||
* @summary Get Group Instances | ||
* @param {string} groupId Must be a valid group ID. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getGroupInstances: async (groupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'groupId' is not null or undefined | ||
assertParamExists('getGroupInstances', 'groupId', groupId) | ||
const localVarPath = `/groups/{groupId}/instances` | ||
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
|
||
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
|
||
// authentication authCookie required | ||
|
||
|
||
|
||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
|
@@ -11795,6 +11862,17 @@ export const GroupsApiFp = function(configuration?: Configuration) { | |
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
}, | ||
/** | ||
* Returns a list of group instances | ||
* @summary Get Group Instances | ||
* @param {string} groupId Must be a valid group ID. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getGroupInstances(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupInstance>>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInstances(groupId, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
}, | ||
/** | ||
* Returns a list of members that have been invited to the Group. | ||
* @summary Get Group Invites Sent | ||
|
@@ -12240,6 +12318,16 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat | |
getGroupGalleryImages(groupId: string, groupGalleryId: string, n?: number, offset?: number, approved?: boolean, options?: any): AxiosPromise<Array<GroupGalleryImage>> { | ||
return localVarFp.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* Returns a list of group instances | ||
* @summary Get Group Instances | ||
* @param {string} groupId Must be a valid group ID. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getGroupInstances(groupId: string, options?: any): AxiosPromise<Array<GroupInstance>> { | ||
return localVarFp.getGroupInstances(groupId, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* Returns a list of members that have been invited to the Group. | ||
* @summary Get Group Invites Sent | ||
|
@@ -12708,6 +12796,18 @@ export class GroupsApi extends BaseAPI { | |
return GroupsApiFp(this.configuration).getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
|
||
/** | ||
* Returns a list of group instances | ||
* @summary Get Group Instances | ||
* @param {string} groupId Must be a valid group ID. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GroupsApi | ||
*/ | ||
public getGroupInstances(groupId: string, options?: AxiosRequestConfig) { | ||
return GroupsApiFp(this.configuration).getGroupInstances(groupId, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
|
||
/** | ||
* Returns a list of members that have been invited to the Group. | ||
* @summary Get Group Invites Sent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* VRChat API Documentation | ||
* | ||
* The version of the OpenAPI document: 1.17.0 | ||
* The version of the OpenAPI document: 1.17.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* VRChat API Documentation | ||
* | ||
* The version of the OpenAPI document: 1.17.0 | ||
* The version of the OpenAPI document: 1.17.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* VRChat API Documentation | ||
* | ||
* The version of the OpenAPI document: 1.17.0 | ||
* The version of the OpenAPI document: 1.17.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* VRChat API Documentation | ||
* | ||
* The version of the OpenAPI document: 1.17.0 | ||
* The version of the OpenAPI document: 1.17.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters