vrchat 1.16.4 → 1.16.6

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.4
6
+ * The version of the OpenAPI document: 1.16.6
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}
@@ -2610,11 +2616,77 @@ export interface GroupLimitedMember {
2610
2616
  */
2611
2617
  'userId'?: string;
2612
2618
  /**
2613
- *
2619
+ * Whether the user is representing the group. This makes the group show up above the name tag in-game.
2614
2620
  * @type {boolean}
2615
2621
  * @memberof GroupLimitedMember
2616
2622
  */
2617
2623
  'isRepresenting'?: boolean;
2624
+ /**
2625
+ *
2626
+ * @type {Array<string>}
2627
+ * @memberof GroupLimitedMember
2628
+ */
2629
+ 'roleIds'?: Array<string>;
2630
+ /**
2631
+ *
2632
+ * @type {Array<string>}
2633
+ * @memberof GroupLimitedMember
2634
+ */
2635
+ 'mRoleIds'?: Array<string>;
2636
+ /**
2637
+ *
2638
+ * @type {string}
2639
+ * @memberof GroupLimitedMember
2640
+ */
2641
+ 'joinedAt'?: string;
2642
+ /**
2643
+ *
2644
+ * @type {string}
2645
+ * @memberof GroupLimitedMember
2646
+ */
2647
+ 'membershipStatus'?: string;
2648
+ /**
2649
+ *
2650
+ * @type {string}
2651
+ * @memberof GroupLimitedMember
2652
+ */
2653
+ 'visibility'?: string;
2654
+ /**
2655
+ *
2656
+ * @type {boolean}
2657
+ * @memberof GroupLimitedMember
2658
+ */
2659
+ 'isSubscribedToAnnouncements'?: boolean;
2660
+ /**
2661
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2662
+ * @type {string}
2663
+ * @memberof GroupLimitedMember
2664
+ */
2665
+ 'createdAt'?: string | null;
2666
+ /**
2667
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2668
+ * @type {string}
2669
+ * @memberof GroupLimitedMember
2670
+ */
2671
+ 'bannedAt'?: string | null;
2672
+ /**
2673
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2674
+ * @type {string}
2675
+ * @memberof GroupLimitedMember
2676
+ */
2677
+ 'managerNotes'?: string | null;
2678
+ /**
2679
+ *
2680
+ * @type {string}
2681
+ * @memberof GroupLimitedMember
2682
+ */
2683
+ 'lastPostReadAt'?: string;
2684
+ /**
2685
+ *
2686
+ * @type {boolean}
2687
+ * @memberof GroupLimitedMember
2688
+ */
2689
+ 'hasJoinedFromPurchase'?: boolean;
2618
2690
  }
2619
2691
  /**
2620
2692
  *
@@ -4378,6 +4450,97 @@ export const ReleaseStatus = {
4378
4450
  export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus];
4379
4451
 
4380
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
+ }
4381
4544
  /**
4382
4545
  *
4383
4546
  * @export
@@ -5001,6 +5164,12 @@ export interface UpdateAvatarRequest {
5001
5164
  * @memberof UpdateAvatarRequest
5002
5165
  */
5003
5166
  'unityPackageUrl'?: string;
5167
+ /**
5168
+ *
5169
+ * @type {string}
5170
+ * @memberof UpdateAvatarRequest
5171
+ */
5172
+ 'unityVersion'?: string;
5004
5173
  }
5005
5174
  /**
5006
5175
  *
@@ -15307,6 +15476,42 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
15307
15476
 
15308
15477
 
15309
15478
 
15479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15481
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15482
+
15483
+ return {
15484
+ url: toPathString(localVarUrlObj),
15485
+ options: localVarRequestOptions,
15486
+ };
15487
+ },
15488
+ /**
15489
+ * Returns the current group that the user is currently representing
15490
+ * @summary Get user\'s current represented group
15491
+ * @param {string} userId Must be a valid user ID.
15492
+ * @param {*} [options] Override http request option.
15493
+ * @throws {RequiredError}
15494
+ */
15495
+ getUserRepresentedGroup: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15496
+ // verify required parameter 'userId' is not null or undefined
15497
+ assertParamExists('getUserRepresentedGroup', 'userId', userId)
15498
+ const localVarPath = `/users/{userId}/groups/represented`
15499
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
15500
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15501
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15502
+ let baseOptions;
15503
+ if (configuration) {
15504
+ baseOptions = configuration.baseOptions;
15505
+ }
15506
+
15507
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15508
+ const localVarHeaderParameter = {} as any;
15509
+ const localVarQueryParameter = {} as any;
15510
+
15511
+ // authentication authCookie required
15512
+
15513
+
15514
+
15310
15515
  setSearchParams(localVarUrlObj, localVarQueryParameter);
15311
15516
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15312
15517
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15463,6 +15668,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
15463
15668
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
15464
15669
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15465
15670
  },
15671
+ /**
15672
+ * Returns the current group that the user is currently representing
15673
+ * @summary Get user\'s current represented group
15674
+ * @param {string} userId Must be a valid user ID.
15675
+ * @param {*} [options] Override http request option.
15676
+ * @throws {RequiredError}
15677
+ */
15678
+ async getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepresentedGroup>> {
15679
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserRepresentedGroup(userId, options);
15680
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15681
+ },
15466
15682
  /**
15467
15683
  * Search and list any users by text query
15468
15684
  * @summary Search All Users
@@ -15540,6 +15756,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
15540
15756
  getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>> {
15541
15757
  return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
15542
15758
  },
15759
+ /**
15760
+ * Returns the current group that the user is currently representing
15761
+ * @summary Get user\'s current represented group
15762
+ * @param {string} userId Must be a valid user ID.
15763
+ * @param {*} [options] Override http request option.
15764
+ * @throws {RequiredError}
15765
+ */
15766
+ getUserRepresentedGroup(userId: string, options?: any): AxiosPromise<RepresentedGroup> {
15767
+ return localVarFp.getUserRepresentedGroup(userId, options).then((request) => request(axios, basePath));
15768
+ },
15543
15769
  /**
15544
15770
  * Search and list any users by text query
15545
15771
  * @summary Search All Users
@@ -15623,6 +15849,18 @@ export class UsersApi extends BaseAPI {
15623
15849
  return UsersApiFp(this.configuration).getUserGroups(userId, options).then((request) => request(this.axios, this.basePath));
15624
15850
  }
15625
15851
 
15852
+ /**
15853
+ * Returns the current group that the user is currently representing
15854
+ * @summary Get user\'s current represented group
15855
+ * @param {string} userId Must be a valid user ID.
15856
+ * @param {*} [options] Override http request option.
15857
+ * @throws {RequiredError}
15858
+ * @memberof UsersApi
15859
+ */
15860
+ public getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig) {
15861
+ return UsersApiFp(this.configuration).getUserRepresentedGroup(userId, options).then((request) => request(this.axios, this.basePath));
15862
+ }
15863
+
15626
15864
  /**
15627
15865
  * Search and list any users by text query
15628
15866
  * @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.4
6
+ * The version of the OpenAPI document: 1.16.6
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.4
6
+ * The version of the OpenAPI document: 1.16.6
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.4
6
+ * The version of the OpenAPI document: 1.16.6
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.4
4
+ * The version of the OpenAPI document: 1.16.6
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}
@@ -2573,11 +2579,77 @@ export interface GroupLimitedMember {
2573
2579
  */
2574
2580
  'userId'?: string;
2575
2581
  /**
2576
- *
2582
+ * Whether the user is representing the group. This makes the group show up above the name tag in-game.
2577
2583
  * @type {boolean}
2578
2584
  * @memberof GroupLimitedMember
2579
2585
  */
2580
2586
  'isRepresenting'?: boolean;
2587
+ /**
2588
+ *
2589
+ * @type {Array<string>}
2590
+ * @memberof GroupLimitedMember
2591
+ */
2592
+ 'roleIds'?: Array<string>;
2593
+ /**
2594
+ *
2595
+ * @type {Array<string>}
2596
+ * @memberof GroupLimitedMember
2597
+ */
2598
+ 'mRoleIds'?: Array<string>;
2599
+ /**
2600
+ *
2601
+ * @type {string}
2602
+ * @memberof GroupLimitedMember
2603
+ */
2604
+ 'joinedAt'?: string;
2605
+ /**
2606
+ *
2607
+ * @type {string}
2608
+ * @memberof GroupLimitedMember
2609
+ */
2610
+ 'membershipStatus'?: string;
2611
+ /**
2612
+ *
2613
+ * @type {string}
2614
+ * @memberof GroupLimitedMember
2615
+ */
2616
+ 'visibility'?: string;
2617
+ /**
2618
+ *
2619
+ * @type {boolean}
2620
+ * @memberof GroupLimitedMember
2621
+ */
2622
+ 'isSubscribedToAnnouncements'?: boolean;
2623
+ /**
2624
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2625
+ * @type {string}
2626
+ * @memberof GroupLimitedMember
2627
+ */
2628
+ 'createdAt'?: string | null;
2629
+ /**
2630
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2631
+ * @type {string}
2632
+ * @memberof GroupLimitedMember
2633
+ */
2634
+ 'bannedAt'?: string | null;
2635
+ /**
2636
+ * Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user.
2637
+ * @type {string}
2638
+ * @memberof GroupLimitedMember
2639
+ */
2640
+ 'managerNotes'?: string | null;
2641
+ /**
2642
+ *
2643
+ * @type {string}
2644
+ * @memberof GroupLimitedMember
2645
+ */
2646
+ 'lastPostReadAt'?: string;
2647
+ /**
2648
+ *
2649
+ * @type {boolean}
2650
+ * @memberof GroupLimitedMember
2651
+ */
2652
+ 'hasJoinedFromPurchase'?: boolean;
2581
2653
  }
2582
2654
  /**
2583
2655
  *
@@ -4278,6 +4350,97 @@ export declare const ReleaseStatus: {
4278
4350
  readonly All: "all";
4279
4351
  };
4280
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
+ }
4281
4444
  /**
4282
4445
  *
4283
4446
  * @export
@@ -4889,6 +5052,12 @@ export interface UpdateAvatarRequest {
4889
5052
  * @memberof UpdateAvatarRequest
4890
5053
  */
4891
5054
  'unityPackageUrl'?: string;
5055
+ /**
5056
+ *
5057
+ * @type {string}
5058
+ * @memberof UpdateAvatarRequest
5059
+ */
5060
+ 'unityVersion'?: string;
4892
5061
  }
4893
5062
  /**
4894
5063
  *
@@ -10422,6 +10591,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
10422
10591
  * @throws {RequiredError}
10423
10592
  */
10424
10593
  getUserGroups: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10594
+ /**
10595
+ * Returns the current group that the user is currently representing
10596
+ * @summary Get user\'s current represented group
10597
+ * @param {string} userId Must be a valid user ID.
10598
+ * @param {*} [options] Override http request option.
10599
+ * @throws {RequiredError}
10600
+ */
10601
+ getUserRepresentedGroup: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10425
10602
  /**
10426
10603
  * Search and list any users by text query
10427
10604
  * @summary Search All Users
@@ -10481,6 +10658,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
10481
10658
  * @throws {RequiredError}
10482
10659
  */
10483
10660
  getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Group>>>;
10661
+ /**
10662
+ * Returns the current group that the user is currently representing
10663
+ * @summary Get user\'s current represented group
10664
+ * @param {string} userId Must be a valid user ID.
10665
+ * @param {*} [options] Override http request option.
10666
+ * @throws {RequiredError}
10667
+ */
10668
+ getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RepresentedGroup>>;
10484
10669
  /**
10485
10670
  * Search and list any users by text query
10486
10671
  * @summary Search All Users
@@ -10540,6 +10725,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
10540
10725
  * @throws {RequiredError}
10541
10726
  */
10542
10727
  getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>>;
10728
+ /**
10729
+ * Returns the current group that the user is currently representing
10730
+ * @summary Get user\'s current represented group
10731
+ * @param {string} userId Must be a valid user ID.
10732
+ * @param {*} [options] Override http request option.
10733
+ * @throws {RequiredError}
10734
+ */
10735
+ getUserRepresentedGroup(userId: string, options?: any): AxiosPromise<RepresentedGroup>;
10543
10736
  /**
10544
10737
  * Search and list any users by text query
10545
10738
  * @summary Search All Users
@@ -10605,6 +10798,15 @@ export declare class UsersApi extends BaseAPI {
10605
10798
  * @memberof UsersApi
10606
10799
  */
10607
10800
  getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Group[], any>>;
10801
+ /**
10802
+ * Returns the current group that the user is currently representing
10803
+ * @summary Get user\'s current represented group
10804
+ * @param {string} userId Must be a valid user ID.
10805
+ * @param {*} [options] Override http request option.
10806
+ * @throws {RequiredError}
10807
+ * @memberof UsersApi
10808
+ */
10809
+ getUserRepresentedGroup(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RepresentedGroup, any>>;
10608
10810
  /**
10609
10811
  * Search and list any users by text query
10610
10812
  * @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.4
7
+ * The version of the OpenAPI document: 1.16.6
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10542,6 +10542,40 @@ var UsersApiAxiosParamCreator = function (configuration) {
10542
10542
  });
10543
10543
  });
10544
10544
  },
10545
+ /**
10546
+ * Returns the current group that the user is currently representing
10547
+ * @summary Get user\'s current represented group
10548
+ * @param {string} userId Must be a valid user ID.
10549
+ * @param {*} [options] Override http request option.
10550
+ * @throws {RequiredError}
10551
+ */
10552
+ getUserRepresentedGroup: function (userId, options) {
10553
+ if (options === void 0) { options = {}; }
10554
+ return __awaiter(_this, void 0, void 0, function () {
10555
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10556
+ return __generator(this, function (_a) {
10557
+ // verify required parameter 'userId' is not null or undefined
10558
+ (0, common_1.assertParamExists)('getUserRepresentedGroup', 'userId', userId);
10559
+ localVarPath = "/users/{userId}/groups/represented"
10560
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
10561
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10562
+ if (configuration) {
10563
+ baseOptions = configuration.baseOptions;
10564
+ }
10565
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10566
+ localVarHeaderParameter = {};
10567
+ localVarQueryParameter = {};
10568
+ // authentication authCookie required
10569
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10570
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10571
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10572
+ return [2 /*return*/, {
10573
+ url: (0, common_1.toPathString)(localVarUrlObj),
10574
+ options: localVarRequestOptions,
10575
+ }];
10576
+ });
10577
+ });
10578
+ },
10545
10579
  /**
10546
10580
  * Search and list any users by text query
10547
10581
  * @summary Search All Users
@@ -10716,6 +10750,26 @@ var UsersApiFp = function (configuration) {
10716
10750
  });
10717
10751
  });
10718
10752
  },
10753
+ /**
10754
+ * Returns the current group that the user is currently representing
10755
+ * @summary Get user\'s current represented group
10756
+ * @param {string} userId Must be a valid user ID.
10757
+ * @param {*} [options] Override http request option.
10758
+ * @throws {RequiredError}
10759
+ */
10760
+ getUserRepresentedGroup: function (userId, options) {
10761
+ return __awaiter(this, void 0, void 0, function () {
10762
+ var localVarAxiosArgs;
10763
+ return __generator(this, function (_a) {
10764
+ switch (_a.label) {
10765
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserRepresentedGroup(userId, options)];
10766
+ case 1:
10767
+ localVarAxiosArgs = _a.sent();
10768
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10769
+ }
10770
+ });
10771
+ });
10772
+ },
10719
10773
  /**
10720
10774
  * Search and list any users by text query
10721
10775
  * @summary Search All Users
@@ -10811,6 +10865,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
10811
10865
  getUserGroups: function (userId, options) {
10812
10866
  return localVarFp.getUserGroups(userId, options).then(function (request) { return request(axios, basePath); });
10813
10867
  },
10868
+ /**
10869
+ * Returns the current group that the user is currently representing
10870
+ * @summary Get user\'s current represented group
10871
+ * @param {string} userId Must be a valid user ID.
10872
+ * @param {*} [options] Override http request option.
10873
+ * @throws {RequiredError}
10874
+ */
10875
+ getUserRepresentedGroup: function (userId, options) {
10876
+ return localVarFp.getUserRepresentedGroup(userId, options).then(function (request) { return request(axios, basePath); });
10877
+ },
10814
10878
  /**
10815
10879
  * Search and list any users by text query
10816
10880
  * @summary Search All Users
@@ -10898,6 +10962,18 @@ var UsersApi = /** @class */ (function (_super) {
10898
10962
  var _this = this;
10899
10963
  return (0, exports.UsersApiFp)(this.configuration).getUserGroups(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10900
10964
  };
10965
+ /**
10966
+ * Returns the current group that the user is currently representing
10967
+ * @summary Get user\'s current represented group
10968
+ * @param {string} userId Must be a valid user ID.
10969
+ * @param {*} [options] Override http request option.
10970
+ * @throws {RequiredError}
10971
+ * @memberof UsersApi
10972
+ */
10973
+ UsersApi.prototype.getUserRepresentedGroup = function (userId, options) {
10974
+ var _this = this;
10975
+ return (0, exports.UsersApiFp)(this.configuration).getUserRepresentedGroup(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10976
+ };
10901
10977
  /**
10902
10978
  * Search and list any users by text query
10903
10979
  * @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.4
4
+ * The version of the OpenAPI document: 1.16.6
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.4
7
+ * The version of the OpenAPI document: 1.16.6
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.4
4
+ * The version of the OpenAPI document: 1.16.6
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.4
7
+ * The version of the OpenAPI document: 1.16.6
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.4
4
+ * The version of the OpenAPI document: 1.16.6
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.4
7
+ * The version of the OpenAPI document: 1.16.6
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.4
4
+ * The version of the OpenAPI document: 1.16.6
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.4
7
+ * The version of the OpenAPI document: 1.16.6
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.4
6
+ * The version of the OpenAPI document: 1.16.6
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.4",
3
+ "version": "1.16.6",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {