vrchat 1.16.5 → 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 +174 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +138 -2
- package/dist/api.js +77 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
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
|
-
'
|
|
2418
|
+
'actorDisplayName'?: string;
|
|
2413
2419
|
/**
|
|
2414
2420
|
* Typically GroupID or GroupRoleID, but could be other types of IDs.
|
|
2415
2421
|
* @type {string}
|
|
@@ -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
|
*
|
|
@@ -15373,6 +15476,42 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15373
15476
|
|
|
15374
15477
|
|
|
15375
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
|
+
|
|
15376
15515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15377
15516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15378
15517
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15529,6 +15668,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
15529
15668
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
|
|
15530
15669
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15531
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
|
+
},
|
|
15532
15682
|
/**
|
|
15533
15683
|
* Search and list any users by text query
|
|
15534
15684
|
* @summary Search All Users
|
|
@@ -15606,6 +15756,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
15606
15756
|
getUserGroups(userId: string, options?: any): AxiosPromise<Array<Group>> {
|
|
15607
15757
|
return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
|
|
15608
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
|
+
},
|
|
15609
15769
|
/**
|
|
15610
15770
|
* Search and list any users by text query
|
|
15611
15771
|
* @summary Search All Users
|
|
@@ -15689,6 +15849,18 @@ export class UsersApi extends BaseAPI {
|
|
|
15689
15849
|
return UsersApiFp(this.configuration).getUserGroups(userId, options).then((request) => request(this.axios, this.basePath));
|
|
15690
15850
|
}
|
|
15691
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
|
+
|
|
15692
15864
|
/**
|
|
15693
15865
|
* Search and list any users by text query
|
|
15694
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.
|
|
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.
|
|
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.
|
|
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
|
+
* 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
|
-
'
|
|
2385
|
+
'actorDisplayName'?: string;
|
|
2380
2386
|
/**
|
|
2381
2387
|
* Typically GroupID or GroupRoleID, but could be other types of IDs.
|
|
2382
2388
|
* @type {string}
|
|
@@ -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
|
*
|
|
@@ -10488,6 +10591,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10488
10591
|
* @throws {RequiredError}
|
|
10489
10592
|
*/
|
|
10490
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>;
|
|
10491
10602
|
/**
|
|
10492
10603
|
* Search and list any users by text query
|
|
10493
10604
|
* @summary Search All Users
|
|
@@ -10547,6 +10658,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
10547
10658
|
* @throws {RequiredError}
|
|
10548
10659
|
*/
|
|
10549
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>>;
|
|
10550
10669
|
/**
|
|
10551
10670
|
* Search and list any users by text query
|
|
10552
10671
|
* @summary Search All Users
|
|
@@ -10606,6 +10725,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
10606
10725
|
* @throws {RequiredError}
|
|
10607
10726
|
*/
|
|
10608
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>;
|
|
10609
10736
|
/**
|
|
10610
10737
|
* Search and list any users by text query
|
|
10611
10738
|
* @summary Search All Users
|
|
@@ -10671,6 +10798,15 @@ export declare class UsersApi extends BaseAPI {
|
|
|
10671
10798
|
* @memberof UsersApi
|
|
10672
10799
|
*/
|
|
10673
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>>;
|
|
10674
10810
|
/**
|
|
10675
10811
|
* Search and list any users by text query
|
|
10676
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.
|
|
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
|
+
* 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.
|
|
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
|
+
* 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.
|
|
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/configuration.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
|
+
* 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/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* VRChat API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.16.
|
|
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
|
+
* 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.
|
|
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.
|
|
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).
|