-
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
73 additions
and
15 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.16.3 | ||
* The version of the OpenAPI document: 1.16.4 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -2658,6 +2658,12 @@ export interface GroupMember { | |
* @memberof GroupMember | ||
*/ | ||
'roleIds'?: Array<string>; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof GroupMember | ||
*/ | ||
'mRoleIds'?: Array<string>; | ||
/** | ||
* | ||
* @type {string} | ||
|
@@ -2700,6 +2706,18 @@ export interface GroupMember { | |
* @memberof GroupMember | ||
*/ | ||
'managerNotes'?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof GroupMember | ||
*/ | ||
'lastPostReadAt'?: string; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof GroupMember | ||
*/ | ||
'hasJoinedFromPurchase'?: boolean; | ||
} | ||
/** | ||
* Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | ||
|
@@ -2731,6 +2749,24 @@ export interface GroupMemberLimitedUser { | |
* @memberof GroupMemberLimitedUser | ||
*/ | ||
'iconUrl'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof GroupMemberLimitedUser | ||
*/ | ||
'profilePicOverride'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof GroupMemberLimitedUser | ||
*/ | ||
'currentAvatarThumbnailImageUrl'?: string; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof GroupMemberLimitedUser | ||
*/ | ||
'currentAvatarTags'?: Array<string>; | ||
} | ||
/** | ||
* | ||
|
@@ -2979,6 +3015,20 @@ export const GroupRoleTemplate = { | |
export type GroupRoleTemplate = typeof GroupRoleTemplate[keyof typeof GroupRoleTemplate]; | ||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
|
||
export const GroupSearchSort = { | ||
Asc: 'joinedAt:asc', | ||
Desc: 'joinedAt:desc' | ||
} as const; | ||
|
||
export type GroupSearchSort = typeof GroupSearchSort[keyof typeof GroupSearchSort]; | ||
|
||
|
||
/** | ||
* | ||
* @export | ||
|
@@ -10561,10 +10611,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio | |
* @param {string} groupId Must be a valid group ID. | ||
* @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 {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getGroupMembers: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
getGroupMembers: async (groupId: string, n?: number, offset?: number, sort?: GroupSearchSort, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'groupId' is not null or undefined | ||
assertParamExists('getGroupMembers', 'groupId', groupId) | ||
const localVarPath = `/groups/{groupId}/members` | ||
|
@@ -10590,6 +10641,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio | |
localVarQueryParameter['offset'] = offset; | ||
} | ||
|
||
if (sort !== undefined) { | ||
localVarQueryParameter['sort'] = sort; | ||
} | ||
|
||
|
||
|
||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
|
@@ -11450,11 +11505,12 @@ export const GroupsApiFp = function(configuration?: Configuration) { | |
* @param {string} groupId Must be a valid group ID. | ||
* @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 {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupMembers(groupId, n, offset, options); | ||
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); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
}, | ||
/** | ||
|
@@ -11888,11 +11944,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat | |
* @param {string} groupId Must be a valid group ID. | ||
* @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 {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getGroupMembers(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> { | ||
return localVarFp.getGroupMembers(groupId, n, offset, options).then((request) => request(axios, basePath)); | ||
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)); | ||
}, | ||
/** | ||
* Returns a List of all possible/available permissions for a Group. | ||
|
@@ -12355,12 +12412,13 @@ export class GroupsApi extends BaseAPI { | |
* @param {string} groupId Must be a valid group ID. | ||
* @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 {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GroupsApi | ||
*/ | ||
public getGroupMembers(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) { | ||
return GroupsApiFp(this.configuration).getGroupMembers(groupId, n, offset, options).then((request) => request(this.axios, this.basePath)); | ||
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)); | ||
} | ||
|
||
/** | ||
|
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.16.3 | ||
* The version of the OpenAPI document: 1.16.4 | ||
* 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.16.3 | ||
* The version of the OpenAPI document: 1.16.4 | ||
* 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.16.3 | ||
* The version of the OpenAPI document: 1.16.4 | ||
* 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.16.3 | ||
* The version of the OpenAPI document: 1.16.4 | ||
* 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