|
3 | 3 | /** |
4 | 4 | * VRChat API Documentation |
5 | 5 | * |
6 | | - * The version of the OpenAPI document: 1.17.0 |
| 6 | + * The version of the OpenAPI document: 1.17.1 |
7 | 7 | * Contact: vrchatapi.lpv0t@aries.fyi |
8 | 8 | * |
9 | 9 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
@@ -2590,6 +2590,37 @@ export interface GroupGalleryImage { |
2590 | 2590 | */ |
2591 | 2591 | 'approvedAt'?: string; |
2592 | 2592 | } |
| 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 | +} |
2593 | 2624 | /** |
2594 | 2625 | * |
2595 | 2626 | * @export |
@@ -2843,7 +2874,7 @@ export interface GroupMemberLimitedUser { |
2843 | 2874 | * @type {string} |
2844 | 2875 | * @memberof GroupMemberLimitedUser |
2845 | 2876 | */ |
2846 | | - 'thumbnailUrl'?: string; |
| 2877 | + 'thumbnailUrl'?: string | null; |
2847 | 2878 | /** |
2848 | 2879 | * |
2849 | 2880 | * @type {string} |
@@ -10817,6 +10848,42 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio |
10817 | 10848 |
|
10818 | 10849 |
|
10819 | 10850 |
|
| 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 | + |
10820 | 10887 | setSearchParams(localVarUrlObj, localVarQueryParameter); |
10821 | 10888 | let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; |
10822 | 10889 | localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; |
@@ -11795,6 +11862,17 @@ export const GroupsApiFp = function(configuration?: Configuration) { |
11795 | 11862 | const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options); |
11796 | 11863 | return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); |
11797 | 11864 | }, |
| 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 | + }, |
11798 | 11876 | /** |
11799 | 11877 | * Returns a list of members that have been invited to the Group. |
11800 | 11878 | * @summary Get Group Invites Sent |
@@ -12240,6 +12318,16 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat |
12240 | 12318 | getGroupGalleryImages(groupId: string, groupGalleryId: string, n?: number, offset?: number, approved?: boolean, options?: any): AxiosPromise<Array<GroupGalleryImage>> { |
12241 | 12319 | return localVarFp.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(axios, basePath)); |
12242 | 12320 | }, |
| 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 | + }, |
12243 | 12331 | /** |
12244 | 12332 | * Returns a list of members that have been invited to the Group. |
12245 | 12333 | * @summary Get Group Invites Sent |
@@ -12708,6 +12796,18 @@ export class GroupsApi extends BaseAPI { |
12708 | 12796 | return GroupsApiFp(this.configuration).getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then((request) => request(this.axios, this.basePath)); |
12709 | 12797 | } |
12710 | 12798 |
|
| 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 | + |
12711 | 12811 | /** |
12712 | 12812 | * Returns a list of members that have been invited to the Group. |
12713 | 12813 | * @summary Get Group Invites Sent |
|
0 commit comments