vrchat 1.16.5 → 1.16.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.5
6
+ * The version of the OpenAPI document: 1.16.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -929,6 +929,12 @@ export interface CreateAvatarRequest {
929
929
  * @memberof CreateAvatarRequest
930
930
  */
931
931
  'unityPackageUrl'?: string;
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof CreateAvatarRequest
936
+ */
937
+ 'unityVersion'?: string;
932
938
  }
933
939
  /**
934
940
  *
@@ -2409,7 +2415,7 @@ export interface GroupAuditLogEntry {
2409
2415
  * @type {string}
2410
2416
  * @memberof GroupAuditLogEntry
2411
2417
  */
2412
- 'actorDisplayname'?: string;
2418
+ 'actorDisplayName'?: string;
2413
2419
  /**
2414
2420
  * Typically GroupID or GroupRoleID, but could be other types of IDs.
2415
2421
  * @type {string}
@@ -2674,7 +2680,7 @@ export interface GroupLimitedMember {
2674
2680
  * @type {string}
2675
2681
  * @memberof GroupLimitedMember
2676
2682
  */
2677
- 'lastPostReadAt'?: string;
2683
+ 'lastPostReadAt'?: string | null;
2678
2684
  /**
2679
2685
  *
2680
2686
  * @type {boolean}
@@ -2777,7 +2783,7 @@ export interface GroupMember {
2777
2783
  * @type {string}
2778
2784
  * @memberof GroupMember
2779
2785
  */
2780
- 'lastPostReadAt'?: string;
2786
+ 'lastPostReadAt'?: string | null;
2781
2787
  /**
2782
2788
  *
2783
2789
  * @type {boolean}
@@ -4444,6 +4450,97 @@ export const ReleaseStatus = {
4444
4450
  export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus];
4445
4451
 
4446
4452
 
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
+ }
4447
4544
  /**
4448
4545
  *
4449
4546
  * @export
@@ -5067,6 +5164,12 @@ export interface UpdateAvatarRequest {
5067
5164
  * @memberof UpdateAvatarRequest
5068
5165
  */
5069
5166
  'unityPackageUrl'?: string;
5167
+ /**
5168
+ *
5169
+ * @type {string}
5170
+ * @memberof UpdateAvatarRequest
5171
+ */
5172
+ 'unityVersion'?: string;
5070
5173
  }
5071
5174
  /**
5072
5175
  *
@@ -10599,10 +10702,12 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10599
10702
  * Returns a list of members that have been invited to the Group.
10600
10703
  * @summary Get Group Invites Sent
10601
10704
  * @param {string} groupId Must be a valid group ID.
10705
+ * @param {number} [n] The number of objects to return.
10706
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
10602
10707
  * @param {*} [options] Override http request option.
10603
10708
  * @throws {RequiredError}
10604
10709
  */
10605
- getGroupInvites: async (groupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10710
+ getGroupInvites: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10606
10711
  // verify required parameter 'groupId' is not null or undefined
10607
10712
  assertParamExists('getGroupInvites', 'groupId', groupId)
10608
10713
  const localVarPath = `/groups/{groupId}/invites`
@@ -10620,6 +10725,14 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10620
10725
 
10621
10726
  // authentication authCookie required
10622
10727
 
10728
+ if (n !== undefined) {
10729
+ localVarQueryParameter['n'] = n;
10730
+ }
10731
+
10732
+ if (offset !== undefined) {
10733
+ localVarQueryParameter['offset'] = offset;
10734
+ }
10735
+
10623
10736
 
10624
10737
 
10625
10738
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10762,10 +10875,12 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10762
10875
  * Returns a list of members that have requested to join the Group.
10763
10876
  * @summary Get Group Join Requests
10764
10877
  * @param {string} groupId Must be a valid group ID.
10878
+ * @param {number} [n] The number of objects to return.
10879
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
10765
10880
  * @param {*} [options] Override http request option.
10766
10881
  * @throws {RequiredError}
10767
10882
  */
10768
- getGroupRequests: async (groupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10883
+ getGroupRequests: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10769
10884
  // verify required parameter 'groupId' is not null or undefined
10770
10885
  assertParamExists('getGroupRequests', 'groupId', groupId)
10771
10886
  const localVarPath = `/groups/{groupId}/requests`
@@ -10783,6 +10898,14 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10783
10898
 
10784
10899
  // authentication authCookie required
10785
10900
 
10901
+ if (n !== undefined) {
10902
+ localVarQueryParameter['n'] = n;
10903
+ }
10904
+
10905
+ if (offset !== undefined) {
10906
+ localVarQueryParameter['offset'] = offset;
10907
+ }
10908
+
10786
10909
 
10787
10910
 
10788
10911
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11546,11 +11669,13 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11546
11669
  * Returns a list of members that have been invited to the Group.
11547
11670
  * @summary Get Group Invites Sent
11548
11671
  * @param {string} groupId Must be a valid group ID.
11672
+ * @param {number} [n] The number of objects to return.
11673
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11549
11674
  * @param {*} [options] Override http request option.
11550
11675
  * @throws {RequiredError}
11551
11676
  */
11552
- async getGroupInvites(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11553
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, options);
11677
+ async getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupInvites(groupId, n, offset, options);
11554
11679
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11555
11680
  },
11556
11681
  /**
@@ -11594,11 +11719,13 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11594
11719
  * Returns a list of members that have requested to join the Group.
11595
11720
  * @summary Get Group Join Requests
11596
11721
  * @param {string} groupId Must be a valid group ID.
11722
+ * @param {number} [n] The number of objects to return.
11723
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11597
11724
  * @param {*} [options] Override http request option.
11598
11725
  * @throws {RequiredError}
11599
11726
  */
11600
- async getGroupRequests(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11601
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, options);
11727
+ async getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
11728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options);
11602
11729
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11603
11730
  },
11604
11731
  /**
@@ -11987,11 +12114,13 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
11987
12114
  * Returns a list of members that have been invited to the Group.
11988
12115
  * @summary Get Group Invites Sent
11989
12116
  * @param {string} groupId Must be a valid group ID.
12117
+ * @param {number} [n] The number of objects to return.
12118
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11990
12119
  * @param {*} [options] Override http request option.
11991
12120
  * @throws {RequiredError}
11992
12121
  */
11993
- getGroupInvites(groupId: string, options?: any): AxiosPromise<Array<GroupMember>> {
11994
- return localVarFp.getGroupInvites(groupId, options).then((request) => request(axios, basePath));
12122
+ getGroupInvites(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
12123
+ return localVarFp.getGroupInvites(groupId, n, offset, options).then((request) => request(axios, basePath));
11995
12124
  },
11996
12125
  /**
11997
12126
  * Returns a LimitedGroup Member.
@@ -12031,11 +12160,13 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12031
12160
  * Returns a list of members that have requested to join the Group.
12032
12161
  * @summary Get Group Join Requests
12033
12162
  * @param {string} groupId Must be a valid group ID.
12163
+ * @param {number} [n] The number of objects to return.
12164
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12034
12165
  * @param {*} [options] Override http request option.
12035
12166
  * @throws {RequiredError}
12036
12167
  */
12037
- getGroupRequests(groupId: string, options?: any): AxiosPromise<Array<GroupMember>> {
12038
- return localVarFp.getGroupRequests(groupId, options).then((request) => request(axios, basePath));
12168
+ getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
12169
+ return localVarFp.getGroupRequests(groupId, n, offset, options).then((request) => request(axios, basePath));
12039
12170
  },
12040
12171
  /**
12041
12172
  * Returns a Group Role by ID.
@@ -12451,12 +12582,14 @@ export class GroupsApi extends BaseAPI {
12451
12582
  * Returns a list of members that have been invited to the Group.
12452
12583
  * @summary Get Group Invites Sent
12453
12584
  * @param {string} groupId Must be a valid group ID.
12585
+ * @param {number} [n] The number of objects to return.
12586
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12454
12587
  * @param {*} [options] Override http request option.
12455
12588
  * @throws {RequiredError}
12456
12589
  * @memberof GroupsApi
12457
12590
  */
12458
- public getGroupInvites(groupId: string, options?: AxiosRequestConfig) {
12459
- return GroupsApiFp(this.configuration).getGroupInvites(groupId, options).then((request) => request(this.axios, this.basePath));
12591
+ public getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) {
12592
+ return GroupsApiFp(this.configuration).getGroupInvites(groupId, n, offset, options).then((request) => request(this.axios, this.basePath));
12460
12593
  }
12461
12594
 
12462
12595
  /**
@@ -12503,12 +12636,14 @@ export class GroupsApi extends BaseAPI {
12503
12636
  * Returns a list of members that have requested to join the Group.
12504
12637
  * @summary Get Group Join Requests
12505
12638
  * @param {string} groupId Must be a valid group ID.
12639
+ * @param {number} [n] The number of objects to return.
12640
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12506
12641
  * @param {*} [options] Override http request option.
12507
12642
  * @throws {RequiredError}
12508
12643
  * @memberof GroupsApi
12509
12644
  */
12510
- public getGroupRequests(groupId: string, options?: AxiosRequestConfig) {
12511
- return GroupsApiFp(this.configuration).getGroupRequests(groupId, options).then((request) => request(this.axios, this.basePath));
12645
+ public getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) {
12646
+ return GroupsApiFp(this.configuration).getGroupRequests(groupId, n, offset, options).then((request) => request(this.axios, this.basePath));
12512
12647
  }
12513
12648
 
12514
12649
  /**
@@ -15373,6 +15508,42 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15373
15508
 
15374
15509
 
15375
15510
 
15511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15513
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15514
+
15515
+ return {
15516
+ url: toPathString(localVarUrlObj),
15517
+ options: localVarRequestOptions,
15518
+ };
15519
+ },
15520
+ /**
15521
+ * Returns the current group that the user is currently representing
15522
+ * @summary Get user\'s current represented group
15523
+ * @param {string} userId Must be a valid user ID.
15524
+ * @param {*} [options] Override http request option.
15525
+ * @throws {RequiredError}
15526
+ */
15527
+ getUserRepresentedGroup: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15528
+ // verify required parameter 'userId' is not null or undefined
15529
+ assertParamExists('getUserRepresentedGroup', 'userId', userId)
15530
+ const localVarPath = `/users/{userId}/groups/represented`
15531
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
15532
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15533
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15534
+ let baseOptions;
15535
+ if (configuration) {
15536
+ baseOptions = configuration.baseOptions;
15537
+ }
15538
+
15539
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15540
+ const localVarHeaderParameter = {} as any;
15541
+ const localVarQueryParameter = {} as any;
15542
+
15543
+ // authentication authCookie required
15544
+
15545
+
15546
+
15376
15547
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15377
15548
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15378
15549
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15529,6 +15700,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
15529
15700
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
15530
15701
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15531
15702
  },
15703
+ /**
15704
+ * Returns the current group that the user is currently representing
15705
+ * @summary Get user\'s current represented group
15706
+ * @param {string} userId Must be a valid user ID.
15707
+ * @param {*} [options] Override http request option.
15708
+ * @throws {RequiredError}
15709
+ */
15710
+ async getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepresentedGroup>> {
15711
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserRepresentedGroup(userId, options);
15712
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15713
+ },
15532
15714
  /**
15533
15715
  * Search and list any users by text query
15534
15716
  * @summary Search All Users
@@ -15606,6 +15788,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
15606
15788
  getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>> {
15607
15789
  return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
15608
15790
  },
15791
+ /**
15792
+ * Returns the current group that the user is currently representing
15793
+ * @summary Get user\'s current represented group
15794
+ * @param {string} userId Must be a valid user ID.
15795
+ * @param {*} [options] Override http request option.
15796
+ * @throws {RequiredError}
15797
+ */
15798
+ getUserRepresentedGroup(userId: string, options?: any): AxiosPromise<RepresentedGroup> {
15799
+ return localVarFp.getUserRepresentedGroup(userId, options).then((request) => request(axios, basePath));
15800
+ },
15609
15801
  /**
15610
15802
  * Search and list any users by text query
15611
15803
  * @summary Search All Users
@@ -15689,6 +15881,18 @@ export class UsersApi extends BaseAPI {
15689
15881
  return UsersApiFp(this.configuration).getUserGroups(userId, options).then((request) => request(this.axios, this.basePath));
15690
15882
  }
15691
15883
 
15884
+ /**
15885
+ * Returns the current group that the user is currently representing
15886
+ * @summary Get user\'s current represented group
15887
+ * @param {string} userId Must be a valid user ID.
15888
+ * @param {*} [options] Override http request option.
15889
+ * @throws {RequiredError}
15890
+ * @memberof UsersApi
15891
+ */
15892
+ public getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig) {
15893
+ return UsersApiFp(this.configuration).getUserRepresentedGroup(userId, options).then((request) => request(this.axios, this.basePath));
15894
+ }
15895
+
15692
15896
  /**
15693
15897
  * Search and list any users by text query
15694
15898
  * @summary Search All Users
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.5
6
+ * The version of the OpenAPI document: 1.16.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.5
6
+ * The version of the OpenAPI document: 1.16.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.5
6
+ * The version of the OpenAPI document: 1.16.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.16.5
4
+ * The version of the OpenAPI document: 1.16.7
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -919,6 +919,12 @@ export interface CreateAvatarRequest {
919
919
  * @memberof CreateAvatarRequest
920
920
  */
921
921
  'unityPackageUrl'?: string;
922
+ /**
923
+ *
924
+ * @type {string}
925
+ * @memberof CreateAvatarRequest
926
+ */
927
+ 'unityVersion'?: string;
922
928
  }
923
929
  /**
924
930
  *
@@ -2376,7 +2382,7 @@ export interface GroupAuditLogEntry {
2376
2382
  * @type {string}
2377
2383
  * @memberof GroupAuditLogEntry
2378
2384
  */
2379
- 'actorDisplayname'?: string;
2385
+ 'actorDisplayName'?: string;
2380
2386
  /**
2381
2387
  * Typically GroupID or GroupRoleID, but could be other types of IDs.
2382
2388
  * @type {string}
@@ -2637,7 +2643,7 @@ export interface GroupLimitedMember {
2637
2643
  * @type {string}
2638
2644
  * @memberof GroupLimitedMember
2639
2645
  */
2640
- 'lastPostReadAt'?: string;
2646
+ 'lastPostReadAt'?: string | null;
2641
2647
  /**
2642
2648
  *
2643
2649
  * @type {boolean}
@@ -2740,7 +2746,7 @@ export interface GroupMember {
2740
2746
  * @type {string}
2741
2747
  * @memberof GroupMember
2742
2748
  */
2743
- 'lastPostReadAt'?: string;
2749
+ 'lastPostReadAt'?: string | null;
2744
2750
  /**
2745
2751
  *
2746
2752
  * @type {boolean}
@@ -4344,6 +4350,97 @@ export declare const ReleaseStatus: {
4344
4350
  readonly All: "all";
4345
4351
  };
4346
4352
  export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus];
4353
+ /**
4354
+ *
4355
+ * @export
4356
+ * @interface RepresentedGroup
4357
+ */
4358
+ export interface RepresentedGroup {
4359
+ /**
4360
+ *
4361
+ * @type {string}
4362
+ * @memberof RepresentedGroup
4363
+ */
4364
+ 'name'?: string;
4365
+ /**
4366
+ *
4367
+ * @type {string}
4368
+ * @memberof RepresentedGroup
4369
+ */
4370
+ 'shortCode'?: string;
4371
+ /**
4372
+ *
4373
+ * @type {string}
4374
+ * @memberof RepresentedGroup
4375
+ */
4376
+ 'discriminator'?: string;
4377
+ /**
4378
+ *
4379
+ * @type {string}
4380
+ * @memberof RepresentedGroup
4381
+ */
4382
+ 'description'?: string;
4383
+ /**
4384
+ *
4385
+ * @type {string}
4386
+ * @memberof RepresentedGroup
4387
+ */
4388
+ 'iconId'?: string | null;
4389
+ /**
4390
+ *
4391
+ * @type {string}
4392
+ * @memberof RepresentedGroup
4393
+ */
4394
+ 'iconUrl'?: string | null;
4395
+ /**
4396
+ *
4397
+ * @type {string}
4398
+ * @memberof RepresentedGroup
4399
+ */
4400
+ 'bannerId'?: string | null;
4401
+ /**
4402
+ *
4403
+ * @type {string}
4404
+ * @memberof RepresentedGroup
4405
+ */
4406
+ 'bannerUrl'?: string | null;
4407
+ /**
4408
+ *
4409
+ * @type {GroupPrivacy}
4410
+ * @memberof RepresentedGroup
4411
+ */
4412
+ 'privacy'?: GroupPrivacy;
4413
+ /**
4414
+ * 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.
4415
+ * @type {string}
4416
+ * @memberof RepresentedGroup
4417
+ */
4418
+ 'ownerId'?: string;
4419
+ /**
4420
+ *
4421
+ * @type {number}
4422
+ * @memberof RepresentedGroup
4423
+ */
4424
+ 'memberCount'?: number;
4425
+ /**
4426
+ *
4427
+ * @type {string}
4428
+ * @memberof RepresentedGroup
4429
+ */
4430
+ 'groupId'?: string;
4431
+ /**
4432
+ *
4433
+ * @type {GroupUserVisibility}
4434
+ * @memberof RepresentedGroup
4435
+ */
4436
+ 'memberVisibility'?: GroupUserVisibility;
4437
+ /**
4438
+ *
4439
+ * @type {boolean}
4440
+ * @memberof RepresentedGroup
4441
+ */
4442
+ 'isRepresenting'?: boolean;
4443
+ }
4347
4444
  /**
4348
4445
  *
4349
4446
  * @export
@@ -4955,6 +5052,12 @@ export interface UpdateAvatarRequest {
4955
5052
  * @memberof UpdateAvatarRequest
4956
5053
  */
4957
5054
  'unityPackageUrl'?: string;
5055
+ /**
5056
+ *
5057
+ * @type {string}
5058
+ * @memberof UpdateAvatarRequest
5059
+ */
5060
+ 'unityVersion'?: string;
4958
5061
  }
4959
5062
  /**
4960
5063
  *
@@ -7937,10 +8040,12 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
7937
8040
  * Returns a list of members that have been invited to the Group.
7938
8041
  * @summary Get Group Invites Sent
7939
8042
  * @param {string} groupId Must be a valid group ID.
8043
+ * @param {number} [n] The number of objects to return.
8044
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7940
8045
  * @param {*} [options] Override http request option.
7941
8046
  * @throws {RequiredError}
7942
8047
  */
7943
- getGroupInvites: (groupId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8048
+ getGroupInvites: (groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7944
8049
  /**
7945
8050
  * Returns a LimitedGroup Member.
7946
8051
  * @summary Get Group Member
@@ -7973,10 +8078,12 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
7973
8078
  * Returns a list of members that have requested to join the Group.
7974
8079
  * @summary Get Group Join Requests
7975
8080
  * @param {string} groupId Must be a valid group ID.
8081
+ * @param {number} [n] The number of objects to return.
8082
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7976
8083
  * @param {*} [options] Override http request option.
7977
8084
  * @throws {RequiredError}
7978
8085
  */
7979
- getGroupRequests: (groupId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8086
+ getGroupRequests: (groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7980
8087
  /**
7981
8088
  * Returns a Group Role by ID.
7982
8089
  * @summary Get Group Roles
@@ -8283,10 +8390,12 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
8283
8390
  * Returns a list of members that have been invited to the Group.
8284
8391
  * @summary Get Group Invites Sent
8285
8392
  * @param {string} groupId Must be a valid group ID.
8393
+ * @param {number} [n] The number of objects to return.
8394
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
8286
8395
  * @param {*} [options] Override http request option.
8287
8396
  * @throws {RequiredError}
8288
8397
  */
8289
- getGroupInvites(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
8398
+ getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
8290
8399
  /**
8291
8400
  * Returns a LimitedGroup Member.
8292
8401
  * @summary Get Group Member
@@ -8319,10 +8428,12 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
8319
8428
  * Returns a list of members that have requested to join the Group.
8320
8429
  * @summary Get Group Join Requests
8321
8430
  * @param {string} groupId Must be a valid group ID.
8431
+ * @param {number} [n] The number of objects to return.
8432
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
8322
8433
  * @param {*} [options] Override http request option.
8323
8434
  * @throws {RequiredError}
8324
8435
  */
8325
- getGroupRequests(groupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
8436
+ getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
8326
8437
  /**
8327
8438
  * Returns a Group Role by ID.
8328
8439
  * @summary Get Group Roles
@@ -8629,10 +8740,12 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
8629
8740
  * Returns a list of members that have been invited to the Group.
8630
8741
  * @summary Get Group Invites Sent
8631
8742
  * @param {string} groupId Must be a valid group ID.
8743
+ * @param {number} [n] The number of objects to return.
8744
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
8632
8745
  * @param {*} [options] Override http request option.
8633
8746
  * @throws {RequiredError}
8634
8747
  */
8635
- getGroupInvites(groupId: string, options?: any): AxiosPromise<Array<GroupMember>>;
8748
+ getGroupInvites(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>>;
8636
8749
  /**
8637
8750
  * Returns a LimitedGroup Member.
8638
8751
  * @summary Get Group Member
@@ -8665,10 +8778,12 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
8665
8778
  * Returns a list of members that have requested to join the Group.
8666
8779
  * @summary Get Group Join Requests
8667
8780
  * @param {string} groupId Must be a valid group ID.
8781
+ * @param {number} [n] The number of objects to return.
8782
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
8668
8783
  * @param {*} [options] Override http request option.
8669
8784
  * @throws {RequiredError}
8670
8785
  */
8671
- getGroupRequests(groupId: string, options?: any): AxiosPromise<Array<GroupMember>>;
8786
+ getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>>;
8672
8787
  /**
8673
8788
  * Returns a Group Role by ID.
8674
8789
  * @summary Get Group Roles
@@ -8997,11 +9112,13 @@ export declare class GroupsApi extends BaseAPI {
8997
9112
  * Returns a list of members that have been invited to the Group.
8998
9113
  * @summary Get Group Invites Sent
8999
9114
  * @param {string} groupId Must be a valid group ID.
9115
+ * @param {number} [n] The number of objects to return.
9116
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
9000
9117
  * @param {*} [options] Override http request option.
9001
9118
  * @throws {RequiredError}
9002
9119
  * @memberof GroupsApi
9003
9120
  */
9004
- getGroupInvites(groupId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
9121
+ getGroupInvites(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
9005
9122
  /**
9006
9123
  * Returns a LimitedGroup Member.
9007
9124
  * @summary Get Group Member
@@ -9037,11 +9154,13 @@ export declare class GroupsApi extends BaseAPI {
9037
9154
  * Returns a list of members that have requested to join the Group.
9038
9155
  * @summary Get Group Join Requests
9039
9156
  * @param {string} groupId Must be a valid group ID.
9157
+ * @param {number} [n] The number of objects to return.
9158
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
9040
9159
  * @param {*} [options] Override http request option.
9041
9160
  * @throws {RequiredError}
9042
9161
  * @memberof GroupsApi
9043
9162
  */
9044
- getGroupRequests(groupId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
9163
+ getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
9045
9164
  /**
9046
9165
  * Returns a Group Role by ID.
9047
9166
  * @summary Get Group Roles
@@ -10488,6 +10607,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
10488
10607
  * @throws {RequiredError}
10489
10608
  */
10490
10609
  getUserGroups: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10610
+ /**
10611
+ * Returns the current group that the user is currently representing
10612
+ * @summary Get user\'s current represented group
10613
+ * @param {string} userId Must be a valid user ID.
10614
+ * @param {*} [options] Override http request option.
10615
+ * @throws {RequiredError}
10616
+ */
10617
+ getUserRepresentedGroup: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10491
10618
  /**
10492
10619
  * Search and list any users by text query
10493
10620
  * @summary Search All Users
@@ -10547,6 +10674,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
10547
10674
  * @throws {RequiredError}
10548
10675
  */
10549
10676
  getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Group>>>;
10677
+ /**
10678
+ * Returns the current group that the user is currently representing
10679
+ * @summary Get user\'s current represented group
10680
+ * @param {string} userId Must be a valid user ID.
10681
+ * @param {*} [options] Override http request option.
10682
+ * @throws {RequiredError}
10683
+ */
10684
+ getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepresentedGroup>>;
10550
10685
  /**
10551
10686
  * Search and list any users by text query
10552
10687
  * @summary Search All Users
@@ -10606,6 +10741,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
10606
10741
  * @throws {RequiredError}
10607
10742
  */
10608
10743
  getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>>;
10744
+ /**
10745
+ * Returns the current group that the user is currently representing
10746
+ * @summary Get user\'s current represented group
10747
+ * @param {string} userId Must be a valid user ID.
10748
+ * @param {*} [options] Override http request option.
10749
+ * @throws {RequiredError}
10750
+ */
10751
+ getUserRepresentedGroup(userId: string, options?: any): AxiosPromise<RepresentedGroup>;
10609
10752
  /**
10610
10753
  * Search and list any users by text query
10611
10754
  * @summary Search All Users
@@ -10671,6 +10814,15 @@ export declare class UsersApi extends BaseAPI {
10671
10814
  * @memberof UsersApi
10672
10815
  */
10673
10816
  getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Group[], any>>;
10817
+ /**
10818
+ * Returns the current group that the user is currently representing
10819
+ * @summary Get user\'s current represented group
10820
+ * @param {string} userId Must be a valid user ID.
10821
+ * @param {*} [options] Override http request option.
10822
+ * @throws {RequiredError}
10823
+ * @memberof UsersApi
10824
+ */
10825
+ getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RepresentedGroup, any>>;
10674
10826
  /**
10675
10827
  * Search and list any users by text query
10676
10828
  * @summary Search All Users
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.5
7
+ * The version of the OpenAPI document: 1.16.7
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5225,10 +5225,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5225
5225
  * Returns a list of members that have been invited to the Group.
5226
5226
  * @summary Get Group Invites Sent
5227
5227
  * @param {string} groupId Must be a valid group ID.
5228
+ * @param {number} [n] The number of objects to return.
5229
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5228
5230
  * @param {*} [options] Override http request option.
5229
5231
  * @throws {RequiredError}
5230
5232
  */
5231
- getGroupInvites: function (groupId, options) {
5233
+ getGroupInvites: function (groupId, n, offset, options) {
5232
5234
  if (options === void 0) { options = {}; }
5233
5235
  return __awaiter(_this, void 0, void 0, function () {
5234
5236
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5245,6 +5247,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5245
5247
  localVarHeaderParameter = {};
5246
5248
  localVarQueryParameter = {};
5247
5249
  // authentication authCookie required
5250
+ if (n !== undefined) {
5251
+ localVarQueryParameter['n'] = n;
5252
+ }
5253
+ if (offset !== undefined) {
5254
+ localVarQueryParameter['offset'] = offset;
5255
+ }
5248
5256
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5249
5257
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5250
5258
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5377,10 +5385,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5377
5385
  * Returns a list of members that have requested to join the Group.
5378
5386
  * @summary Get Group Join Requests
5379
5387
  * @param {string} groupId Must be a valid group ID.
5388
+ * @param {number} [n] The number of objects to return.
5389
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5380
5390
  * @param {*} [options] Override http request option.
5381
5391
  * @throws {RequiredError}
5382
5392
  */
5383
- getGroupRequests: function (groupId, options) {
5393
+ getGroupRequests: function (groupId, n, offset, options) {
5384
5394
  if (options === void 0) { options = {}; }
5385
5395
  return __awaiter(_this, void 0, void 0, function () {
5386
5396
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5397,6 +5407,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5397
5407
  localVarHeaderParameter = {};
5398
5408
  localVarQueryParameter = {};
5399
5409
  // authentication authCookie required
5410
+ if (n !== undefined) {
5411
+ localVarQueryParameter['n'] = n;
5412
+ }
5413
+ if (offset !== undefined) {
5414
+ localVarQueryParameter['offset'] = offset;
5415
+ }
5400
5416
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5401
5417
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5402
5418
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6308,15 +6324,17 @@ var GroupsApiFp = function (configuration) {
6308
6324
  * Returns a list of members that have been invited to the Group.
6309
6325
  * @summary Get Group Invites Sent
6310
6326
  * @param {string} groupId Must be a valid group ID.
6327
+ * @param {number} [n] The number of objects to return.
6328
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6311
6329
  * @param {*} [options] Override http request option.
6312
6330
  * @throws {RequiredError}
6313
6331
  */
6314
- getGroupInvites: function (groupId, options) {
6332
+ getGroupInvites: function (groupId, n, offset, options) {
6315
6333
  return __awaiter(this, void 0, void 0, function () {
6316
6334
  var localVarAxiosArgs;
6317
6335
  return __generator(this, function (_a) {
6318
6336
  switch (_a.label) {
6319
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupInvites(groupId, options)];
6337
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupInvites(groupId, n, offset, options)];
6320
6338
  case 1:
6321
6339
  localVarAxiosArgs = _a.sent();
6322
6340
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6392,15 +6410,17 @@ var GroupsApiFp = function (configuration) {
6392
6410
  * Returns a list of members that have requested to join the Group.
6393
6411
  * @summary Get Group Join Requests
6394
6412
  * @param {string} groupId Must be a valid group ID.
6413
+ * @param {number} [n] The number of objects to return.
6414
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6395
6415
  * @param {*} [options] Override http request option.
6396
6416
  * @throws {RequiredError}
6397
6417
  */
6398
- getGroupRequests: function (groupId, options) {
6418
+ getGroupRequests: function (groupId, n, offset, options) {
6399
6419
  return __awaiter(this, void 0, void 0, function () {
6400
6420
  var localVarAxiosArgs;
6401
6421
  return __generator(this, function (_a) {
6402
6422
  switch (_a.label) {
6403
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupRequests(groupId, options)];
6423
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options)];
6404
6424
  case 1:
6405
6425
  localVarAxiosArgs = _a.sent();
6406
6426
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6902,11 +6922,13 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6902
6922
  * Returns a list of members that have been invited to the Group.
6903
6923
  * @summary Get Group Invites Sent
6904
6924
  * @param {string} groupId Must be a valid group ID.
6925
+ * @param {number} [n] The number of objects to return.
6926
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6905
6927
  * @param {*} [options] Override http request option.
6906
6928
  * @throws {RequiredError}
6907
6929
  */
6908
- getGroupInvites: function (groupId, options) {
6909
- return localVarFp.getGroupInvites(groupId, options).then(function (request) { return request(axios, basePath); });
6930
+ getGroupInvites: function (groupId, n, offset, options) {
6931
+ return localVarFp.getGroupInvites(groupId, n, offset, options).then(function (request) { return request(axios, basePath); });
6910
6932
  },
6911
6933
  /**
6912
6934
  * Returns a LimitedGroup Member.
@@ -6946,11 +6968,13 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6946
6968
  * Returns a list of members that have requested to join the Group.
6947
6969
  * @summary Get Group Join Requests
6948
6970
  * @param {string} groupId Must be a valid group ID.
6971
+ * @param {number} [n] The number of objects to return.
6972
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6949
6973
  * @param {*} [options] Override http request option.
6950
6974
  * @throws {RequiredError}
6951
6975
  */
6952
- getGroupRequests: function (groupId, options) {
6953
- return localVarFp.getGroupRequests(groupId, options).then(function (request) { return request(axios, basePath); });
6976
+ getGroupRequests: function (groupId, n, offset, options) {
6977
+ return localVarFp.getGroupRequests(groupId, n, offset, options).then(function (request) { return request(axios, basePath); });
6954
6978
  },
6955
6979
  /**
6956
6980
  * Returns a Group Role by ID.
@@ -7370,13 +7394,15 @@ var GroupsApi = /** @class */ (function (_super) {
7370
7394
  * Returns a list of members that have been invited to the Group.
7371
7395
  * @summary Get Group Invites Sent
7372
7396
  * @param {string} groupId Must be a valid group ID.
7397
+ * @param {number} [n] The number of objects to return.
7398
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7373
7399
  * @param {*} [options] Override http request option.
7374
7400
  * @throws {RequiredError}
7375
7401
  * @memberof GroupsApi
7376
7402
  */
7377
- GroupsApi.prototype.getGroupInvites = function (groupId, options) {
7403
+ GroupsApi.prototype.getGroupInvites = function (groupId, n, offset, options) {
7378
7404
  var _this = this;
7379
- return (0, exports.GroupsApiFp)(this.configuration).getGroupInvites(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7405
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupInvites(groupId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
7380
7406
  };
7381
7407
  /**
7382
7408
  * Returns a LimitedGroup Member.
@@ -7422,13 +7448,15 @@ var GroupsApi = /** @class */ (function (_super) {
7422
7448
  * Returns a list of members that have requested to join the Group.
7423
7449
  * @summary Get Group Join Requests
7424
7450
  * @param {string} groupId Must be a valid group ID.
7451
+ * @param {number} [n] The number of objects to return.
7452
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7425
7453
  * @param {*} [options] Override http request option.
7426
7454
  * @throws {RequiredError}
7427
7455
  * @memberof GroupsApi
7428
7456
  */
7429
- GroupsApi.prototype.getGroupRequests = function (groupId, options) {
7457
+ GroupsApi.prototype.getGroupRequests = function (groupId, n, offset, options) {
7430
7458
  var _this = this;
7431
- return (0, exports.GroupsApiFp)(this.configuration).getGroupRequests(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7459
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupRequests(groupId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
7432
7460
  };
7433
7461
  /**
7434
7462
  * Returns a Group Role by ID.
@@ -10542,6 +10570,40 @@ var UsersApiAxiosParamCreator = function (configuration) {
10542
10570
  });
10543
10571
  });
10544
10572
  },
10573
+ /**
10574
+ * Returns the current group that the user is currently representing
10575
+ * @summary Get user\'s current represented group
10576
+ * @param {string} userId Must be a valid user ID.
10577
+ * @param {*} [options] Override http request option.
10578
+ * @throws {RequiredError}
10579
+ */
10580
+ getUserRepresentedGroup: function (userId, options) {
10581
+ if (options === void 0) { options = {}; }
10582
+ return __awaiter(_this, void 0, void 0, function () {
10583
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10584
+ return __generator(this, function (_a) {
10585
+ // verify required parameter 'userId' is not null or undefined
10586
+ (0, common_1.assertParamExists)('getUserRepresentedGroup', 'userId', userId);
10587
+ localVarPath = "/users/{userId}/groups/represented"
10588
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
10589
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10590
+ if (configuration) {
10591
+ baseOptions = configuration.baseOptions;
10592
+ }
10593
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10594
+ localVarHeaderParameter = {};
10595
+ localVarQueryParameter = {};
10596
+ // authentication authCookie required
10597
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10598
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10599
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10600
+ return [2 /*return*/, {
10601
+ url: (0, common_1.toPathString)(localVarUrlObj),
10602
+ options: localVarRequestOptions,
10603
+ }];
10604
+ });
10605
+ });
10606
+ },
10545
10607
  /**
10546
10608
  * Search and list any users by text query
10547
10609
  * @summary Search All Users
@@ -10716,6 +10778,26 @@ var UsersApiFp = function (configuration) {
10716
10778
  });
10717
10779
  });
10718
10780
  },
10781
+ /**
10782
+ * Returns the current group that the user is currently representing
10783
+ * @summary Get user\'s current represented group
10784
+ * @param {string} userId Must be a valid user ID.
10785
+ * @param {*} [options] Override http request option.
10786
+ * @throws {RequiredError}
10787
+ */
10788
+ getUserRepresentedGroup: function (userId, options) {
10789
+ return __awaiter(this, void 0, void 0, function () {
10790
+ var localVarAxiosArgs;
10791
+ return __generator(this, function (_a) {
10792
+ switch (_a.label) {
10793
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserRepresentedGroup(userId, options)];
10794
+ case 1:
10795
+ localVarAxiosArgs = _a.sent();
10796
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10797
+ }
10798
+ });
10799
+ });
10800
+ },
10719
10801
  /**
10720
10802
  * Search and list any users by text query
10721
10803
  * @summary Search All Users
@@ -10811,6 +10893,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
10811
10893
  getUserGroups: function (userId, options) {
10812
10894
  return localVarFp.getUserGroups(userId, options).then(function (request) { return request(axios, basePath); });
10813
10895
  },
10896
+ /**
10897
+ * Returns the current group that the user is currently representing
10898
+ * @summary Get user\'s current represented group
10899
+ * @param {string} userId Must be a valid user ID.
10900
+ * @param {*} [options] Override http request option.
10901
+ * @throws {RequiredError}
10902
+ */
10903
+ getUserRepresentedGroup: function (userId, options) {
10904
+ return localVarFp.getUserRepresentedGroup(userId, options).then(function (request) { return request(axios, basePath); });
10905
+ },
10814
10906
  /**
10815
10907
  * Search and list any users by text query
10816
10908
  * @summary Search All Users
@@ -10898,6 +10990,18 @@ var UsersApi = /** @class */ (function (_super) {
10898
10990
  var _this = this;
10899
10991
  return (0, exports.UsersApiFp)(this.configuration).getUserGroups(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10900
10992
  };
10993
+ /**
10994
+ * Returns the current group that the user is currently representing
10995
+ * @summary Get user\'s current represented group
10996
+ * @param {string} userId Must be a valid user ID.
10997
+ * @param {*} [options] Override http request option.
10998
+ * @throws {RequiredError}
10999
+ * @memberof UsersApi
11000
+ */
11001
+ UsersApi.prototype.getUserRepresentedGroup = function (userId, options) {
11002
+ var _this = this;
11003
+ return (0, exports.UsersApiFp)(this.configuration).getUserRepresentedGroup(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11004
+ };
10901
11005
  /**
10902
11006
  * Search and list any users by text query
10903
11007
  * @summary Search All Users
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.16.5
4
+ * The version of the OpenAPI document: 1.16.7
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.5
7
+ * The version of the OpenAPI document: 1.16.7
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.16.5
4
+ * The version of the OpenAPI document: 1.16.7
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.5
7
+ * The version of the OpenAPI document: 1.16.7
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.16.5
4
+ * The version of the OpenAPI document: 1.16.7
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.5
7
+ * The version of the OpenAPI document: 1.16.7
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.16.5
4
+ * The version of the OpenAPI document: 1.16.7
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.5
7
+ * The version of the OpenAPI document: 1.16.7
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.5
6
+ * The version of the OpenAPI document: 1.16.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrchat",
3
- "version": "1.16.5",
3
+ "version": "1.16.7",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {