vrchat 1.16.0 → 1.16.2
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 +194 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +151 -1
- package/dist/api.js +90 -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.2
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3579,6 +3579,115 @@ export const LicenseType = {
|
|
|
3579
3579
|
export type LicenseType = typeof LicenseType[keyof typeof LicenseType];
|
|
3580
3580
|
|
|
3581
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
*
|
|
3584
|
+
* @export
|
|
3585
|
+
* @interface LimitedGroup
|
|
3586
|
+
*/
|
|
3587
|
+
export interface LimitedGroup {
|
|
3588
|
+
/**
|
|
3589
|
+
*
|
|
3590
|
+
* @type {string}
|
|
3591
|
+
* @memberof LimitedGroup
|
|
3592
|
+
*/
|
|
3593
|
+
'id'?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
*
|
|
3596
|
+
* @type {string}
|
|
3597
|
+
* @memberof LimitedGroup
|
|
3598
|
+
*/
|
|
3599
|
+
'name'?: string;
|
|
3600
|
+
/**
|
|
3601
|
+
*
|
|
3602
|
+
* @type {string}
|
|
3603
|
+
* @memberof LimitedGroup
|
|
3604
|
+
*/
|
|
3605
|
+
'shortCode'?: string;
|
|
3606
|
+
/**
|
|
3607
|
+
*
|
|
3608
|
+
* @type {string}
|
|
3609
|
+
* @memberof LimitedGroup
|
|
3610
|
+
*/
|
|
3611
|
+
'discriminator'?: string;
|
|
3612
|
+
/**
|
|
3613
|
+
*
|
|
3614
|
+
* @type {string}
|
|
3615
|
+
* @memberof LimitedGroup
|
|
3616
|
+
*/
|
|
3617
|
+
'description'?: string;
|
|
3618
|
+
/**
|
|
3619
|
+
*
|
|
3620
|
+
* @type {string}
|
|
3621
|
+
* @memberof LimitedGroup
|
|
3622
|
+
*/
|
|
3623
|
+
'iconUrl'?: string | null;
|
|
3624
|
+
/**
|
|
3625
|
+
*
|
|
3626
|
+
* @type {string}
|
|
3627
|
+
* @memberof LimitedGroup
|
|
3628
|
+
*/
|
|
3629
|
+
'bannerUrl'?: string | null;
|
|
3630
|
+
/**
|
|
3631
|
+
* 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.
|
|
3632
|
+
* @type {string}
|
|
3633
|
+
* @memberof LimitedGroup
|
|
3634
|
+
*/
|
|
3635
|
+
'ownerId'?: string;
|
|
3636
|
+
/**
|
|
3637
|
+
*
|
|
3638
|
+
* @type {string}
|
|
3639
|
+
* @memberof LimitedGroup
|
|
3640
|
+
*/
|
|
3641
|
+
'rules'?: string | null;
|
|
3642
|
+
/**
|
|
3643
|
+
*
|
|
3644
|
+
* @type {string}
|
|
3645
|
+
* @memberof LimitedGroup
|
|
3646
|
+
*/
|
|
3647
|
+
'iconId'?: string | null;
|
|
3648
|
+
/**
|
|
3649
|
+
*
|
|
3650
|
+
* @type {string}
|
|
3651
|
+
* @memberof LimitedGroup
|
|
3652
|
+
*/
|
|
3653
|
+
'bannerId'?: string | null;
|
|
3654
|
+
/**
|
|
3655
|
+
*
|
|
3656
|
+
* @type {number}
|
|
3657
|
+
* @memberof LimitedGroup
|
|
3658
|
+
*/
|
|
3659
|
+
'memberCount'?: number;
|
|
3660
|
+
/**
|
|
3661
|
+
*
|
|
3662
|
+
* @type {Array<string>}
|
|
3663
|
+
* @memberof LimitedGroup
|
|
3664
|
+
*/
|
|
3665
|
+
'tags'?: Array<string>;
|
|
3666
|
+
/**
|
|
3667
|
+
*
|
|
3668
|
+
* @type {string}
|
|
3669
|
+
* @memberof LimitedGroup
|
|
3670
|
+
*/
|
|
3671
|
+
'createdAt'?: string;
|
|
3672
|
+
/**
|
|
3673
|
+
*
|
|
3674
|
+
* @type {GroupMemberStatus}
|
|
3675
|
+
* @memberof LimitedGroup
|
|
3676
|
+
*/
|
|
3677
|
+
'membershipStatus'?: GroupMemberStatus;
|
|
3678
|
+
/**
|
|
3679
|
+
*
|
|
3680
|
+
* @type {boolean}
|
|
3681
|
+
* @memberof LimitedGroup
|
|
3682
|
+
*/
|
|
3683
|
+
'isSearchable'?: boolean;
|
|
3684
|
+
/**
|
|
3685
|
+
*
|
|
3686
|
+
* @type {Array<GroupGallery>}
|
|
3687
|
+
* @memberof LimitedGroup
|
|
3688
|
+
*/
|
|
3689
|
+
'galleries'?: Array<GroupGallery>;
|
|
3690
|
+
}
|
|
3582
3691
|
/**
|
|
3583
3692
|
*
|
|
3584
3693
|
* @export
|
|
@@ -10799,6 +10908,51 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10799
10908
|
options: localVarRequestOptions,
|
|
10800
10909
|
};
|
|
10801
10910
|
},
|
|
10911
|
+
/**
|
|
10912
|
+
* Searches Groups by name or shortCode
|
|
10913
|
+
* @summary Search Group
|
|
10914
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
10915
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10916
|
+
* @param {number} [n] The number of objects to return.
|
|
10917
|
+
* @param {*} [options] Override http request option.
|
|
10918
|
+
* @throws {RequiredError}
|
|
10919
|
+
*/
|
|
10920
|
+
searchGroups: async (query?: string, offset?: number, n?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10921
|
+
const localVarPath = `/groups`;
|
|
10922
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10923
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10924
|
+
let baseOptions;
|
|
10925
|
+
if (configuration) {
|
|
10926
|
+
baseOptions = configuration.baseOptions;
|
|
10927
|
+
}
|
|
10928
|
+
|
|
10929
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10930
|
+
const localVarHeaderParameter = {} as any;
|
|
10931
|
+
const localVarQueryParameter = {} as any;
|
|
10932
|
+
|
|
10933
|
+
if (query !== undefined) {
|
|
10934
|
+
localVarQueryParameter['query'] = query;
|
|
10935
|
+
}
|
|
10936
|
+
|
|
10937
|
+
if (offset !== undefined) {
|
|
10938
|
+
localVarQueryParameter['offset'] = offset;
|
|
10939
|
+
}
|
|
10940
|
+
|
|
10941
|
+
if (n !== undefined) {
|
|
10942
|
+
localVarQueryParameter['n'] = n;
|
|
10943
|
+
}
|
|
10944
|
+
|
|
10945
|
+
|
|
10946
|
+
|
|
10947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10948
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10949
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10950
|
+
|
|
10951
|
+
return {
|
|
10952
|
+
url: toPathString(localVarUrlObj),
|
|
10953
|
+
options: localVarRequestOptions,
|
|
10954
|
+
};
|
|
10955
|
+
},
|
|
10802
10956
|
/**
|
|
10803
10957
|
* Unbans a user from a Group.
|
|
10804
10958
|
* @summary Unban Group Member
|
|
@@ -11395,6 +11549,19 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
11395
11549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options);
|
|
11396
11550
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11397
11551
|
},
|
|
11552
|
+
/**
|
|
11553
|
+
* Searches Groups by name or shortCode
|
|
11554
|
+
* @summary Search Group
|
|
11555
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
11556
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
11557
|
+
* @param {number} [n] The number of objects to return.
|
|
11558
|
+
* @param {*} [options] Override http request option.
|
|
11559
|
+
* @throws {RequiredError}
|
|
11560
|
+
*/
|
|
11561
|
+
async searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedGroup>>> {
|
|
11562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchGroups(query, offset, n, options);
|
|
11563
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11564
|
+
},
|
|
11398
11565
|
/**
|
|
11399
11566
|
* Unbans a user from a Group.
|
|
11400
11567
|
* @summary Unban Group Member
|
|
@@ -11811,6 +11978,18 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11811
11978
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: any): AxiosPromise<void> {
|
|
11812
11979
|
return localVarFp.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(axios, basePath));
|
|
11813
11980
|
},
|
|
11981
|
+
/**
|
|
11982
|
+
* Searches Groups by name or shortCode
|
|
11983
|
+
* @summary Search Group
|
|
11984
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
11985
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
11986
|
+
* @param {number} [n] The number of objects to return.
|
|
11987
|
+
* @param {*} [options] Override http request option.
|
|
11988
|
+
* @throws {RequiredError}
|
|
11989
|
+
*/
|
|
11990
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: any): AxiosPromise<Array<LimitedGroup>> {
|
|
11991
|
+
return localVarFp.searchGroups(query, offset, n, options).then((request) => request(axios, basePath));
|
|
11992
|
+
},
|
|
11814
11993
|
/**
|
|
11815
11994
|
* Unbans a user from a Group.
|
|
11816
11995
|
* @summary Unban Group Member
|
|
@@ -12284,6 +12463,20 @@ export class GroupsApi extends BaseAPI {
|
|
|
12284
12463
|
return GroupsApiFp(this.configuration).respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12285
12464
|
}
|
|
12286
12465
|
|
|
12466
|
+
/**
|
|
12467
|
+
* Searches Groups by name or shortCode
|
|
12468
|
+
* @summary Search Group
|
|
12469
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
12470
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
12471
|
+
* @param {number} [n] The number of objects to return.
|
|
12472
|
+
* @param {*} [options] Override http request option.
|
|
12473
|
+
* @throws {RequiredError}
|
|
12474
|
+
* @memberof GroupsApi
|
|
12475
|
+
*/
|
|
12476
|
+
public searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig) {
|
|
12477
|
+
return GroupsApiFp(this.configuration).searchGroups(query, offset, n, options).then((request) => request(this.axios, this.basePath));
|
|
12478
|
+
}
|
|
12479
|
+
|
|
12287
12480
|
/**
|
|
12288
12481
|
* Unbans a user from a Group.
|
|
12289
12482
|
* @summary Unban Group Member
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
5
5
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3507,6 +3507,115 @@ export declare const LicenseType: {
|
|
|
3507
3507
|
readonly Product: "product";
|
|
3508
3508
|
};
|
|
3509
3509
|
export type LicenseType = typeof LicenseType[keyof typeof LicenseType];
|
|
3510
|
+
/**
|
|
3511
|
+
*
|
|
3512
|
+
* @export
|
|
3513
|
+
* @interface LimitedGroup
|
|
3514
|
+
*/
|
|
3515
|
+
export interface LimitedGroup {
|
|
3516
|
+
/**
|
|
3517
|
+
*
|
|
3518
|
+
* @type {string}
|
|
3519
|
+
* @memberof LimitedGroup
|
|
3520
|
+
*/
|
|
3521
|
+
'id'?: string;
|
|
3522
|
+
/**
|
|
3523
|
+
*
|
|
3524
|
+
* @type {string}
|
|
3525
|
+
* @memberof LimitedGroup
|
|
3526
|
+
*/
|
|
3527
|
+
'name'?: string;
|
|
3528
|
+
/**
|
|
3529
|
+
*
|
|
3530
|
+
* @type {string}
|
|
3531
|
+
* @memberof LimitedGroup
|
|
3532
|
+
*/
|
|
3533
|
+
'shortCode'?: string;
|
|
3534
|
+
/**
|
|
3535
|
+
*
|
|
3536
|
+
* @type {string}
|
|
3537
|
+
* @memberof LimitedGroup
|
|
3538
|
+
*/
|
|
3539
|
+
'discriminator'?: string;
|
|
3540
|
+
/**
|
|
3541
|
+
*
|
|
3542
|
+
* @type {string}
|
|
3543
|
+
* @memberof LimitedGroup
|
|
3544
|
+
*/
|
|
3545
|
+
'description'?: string;
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @type {string}
|
|
3549
|
+
* @memberof LimitedGroup
|
|
3550
|
+
*/
|
|
3551
|
+
'iconUrl'?: string | null;
|
|
3552
|
+
/**
|
|
3553
|
+
*
|
|
3554
|
+
* @type {string}
|
|
3555
|
+
* @memberof LimitedGroup
|
|
3556
|
+
*/
|
|
3557
|
+
'bannerUrl'?: string | null;
|
|
3558
|
+
/**
|
|
3559
|
+
* 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.
|
|
3560
|
+
* @type {string}
|
|
3561
|
+
* @memberof LimitedGroup
|
|
3562
|
+
*/
|
|
3563
|
+
'ownerId'?: string;
|
|
3564
|
+
/**
|
|
3565
|
+
*
|
|
3566
|
+
* @type {string}
|
|
3567
|
+
* @memberof LimitedGroup
|
|
3568
|
+
*/
|
|
3569
|
+
'rules'?: string | null;
|
|
3570
|
+
/**
|
|
3571
|
+
*
|
|
3572
|
+
* @type {string}
|
|
3573
|
+
* @memberof LimitedGroup
|
|
3574
|
+
*/
|
|
3575
|
+
'iconId'?: string | null;
|
|
3576
|
+
/**
|
|
3577
|
+
*
|
|
3578
|
+
* @type {string}
|
|
3579
|
+
* @memberof LimitedGroup
|
|
3580
|
+
*/
|
|
3581
|
+
'bannerId'?: string | null;
|
|
3582
|
+
/**
|
|
3583
|
+
*
|
|
3584
|
+
* @type {number}
|
|
3585
|
+
* @memberof LimitedGroup
|
|
3586
|
+
*/
|
|
3587
|
+
'memberCount'?: number;
|
|
3588
|
+
/**
|
|
3589
|
+
*
|
|
3590
|
+
* @type {Array<string>}
|
|
3591
|
+
* @memberof LimitedGroup
|
|
3592
|
+
*/
|
|
3593
|
+
'tags'?: Array<string>;
|
|
3594
|
+
/**
|
|
3595
|
+
*
|
|
3596
|
+
* @type {string}
|
|
3597
|
+
* @memberof LimitedGroup
|
|
3598
|
+
*/
|
|
3599
|
+
'createdAt'?: string;
|
|
3600
|
+
/**
|
|
3601
|
+
*
|
|
3602
|
+
* @type {GroupMemberStatus}
|
|
3603
|
+
* @memberof LimitedGroup
|
|
3604
|
+
*/
|
|
3605
|
+
'membershipStatus'?: GroupMemberStatus;
|
|
3606
|
+
/**
|
|
3607
|
+
*
|
|
3608
|
+
* @type {boolean}
|
|
3609
|
+
* @memberof LimitedGroup
|
|
3610
|
+
*/
|
|
3611
|
+
'isSearchable'?: boolean;
|
|
3612
|
+
/**
|
|
3613
|
+
*
|
|
3614
|
+
* @type {Array<GroupGallery>}
|
|
3615
|
+
* @memberof LimitedGroup
|
|
3616
|
+
*/
|
|
3617
|
+
'galleries'?: Array<GroupGallery>;
|
|
3618
|
+
}
|
|
3510
3619
|
/**
|
|
3511
3620
|
*
|
|
3512
3621
|
* @export
|
|
@@ -7807,6 +7916,16 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7807
7916
|
* @throws {RequiredError}
|
|
7808
7917
|
*/
|
|
7809
7918
|
respondGroupJoinRequest: (groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7919
|
+
/**
|
|
7920
|
+
* Searches Groups by name or shortCode
|
|
7921
|
+
* @summary Search Group
|
|
7922
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7923
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7924
|
+
* @param {number} [n] The number of objects to return.
|
|
7925
|
+
* @param {*} [options] Override http request option.
|
|
7926
|
+
* @throws {RequiredError}
|
|
7927
|
+
*/
|
|
7928
|
+
searchGroups: (query?: string, offset?: number, n?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7810
7929
|
/**
|
|
7811
7930
|
* Unbans a user from a Group.
|
|
7812
7931
|
* @summary Unban Group Member
|
|
@@ -8142,6 +8261,16 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
|
|
|
8142
8261
|
* @throws {RequiredError}
|
|
8143
8262
|
*/
|
|
8144
8263
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
8264
|
+
/**
|
|
8265
|
+
* Searches Groups by name or shortCode
|
|
8266
|
+
* @summary Search Group
|
|
8267
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8268
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8269
|
+
* @param {number} [n] The number of objects to return.
|
|
8270
|
+
* @param {*} [options] Override http request option.
|
|
8271
|
+
* @throws {RequiredError}
|
|
8272
|
+
*/
|
|
8273
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedGroup>>>;
|
|
8145
8274
|
/**
|
|
8146
8275
|
* Unbans a user from a Group.
|
|
8147
8276
|
* @summary Unban Group Member
|
|
@@ -8477,6 +8606,16 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
|
|
|
8477
8606
|
* @throws {RequiredError}
|
|
8478
8607
|
*/
|
|
8479
8608
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: any): AxiosPromise<void>;
|
|
8609
|
+
/**
|
|
8610
|
+
* Searches Groups by name or shortCode
|
|
8611
|
+
* @summary Search Group
|
|
8612
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8613
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8614
|
+
* @param {number} [n] The number of objects to return.
|
|
8615
|
+
* @param {*} [options] Override http request option.
|
|
8616
|
+
* @throws {RequiredError}
|
|
8617
|
+
*/
|
|
8618
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: any): AxiosPromise<Array<LimitedGroup>>;
|
|
8480
8619
|
/**
|
|
8481
8620
|
* Unbans a user from a Group.
|
|
8482
8621
|
* @summary Unban Group Member
|
|
@@ -8845,6 +8984,17 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
8845
8984
|
* @memberof GroupsApi
|
|
8846
8985
|
*/
|
|
8847
8986
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
8987
|
+
/**
|
|
8988
|
+
* Searches Groups by name or shortCode
|
|
8989
|
+
* @summary Search Group
|
|
8990
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8991
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8992
|
+
* @param {number} [n] The number of objects to return.
|
|
8993
|
+
* @param {*} [options] Override http request option.
|
|
8994
|
+
* @throws {RequiredError}
|
|
8995
|
+
* @memberof GroupsApi
|
|
8996
|
+
*/
|
|
8997
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitedGroup[], any>>;
|
|
8848
8998
|
/**
|
|
8849
8999
|
* Unbans a user from a Group.
|
|
8850
9000
|
* @summary Unban Group Member
|
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.2
|
|
8
8
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5616,6 +5616,47 @@ var GroupsApiAxiosParamCreator = function (configuration) {
|
|
|
5616
5616
|
});
|
|
5617
5617
|
});
|
|
5618
5618
|
},
|
|
5619
|
+
/**
|
|
5620
|
+
* Searches Groups by name or shortCode
|
|
5621
|
+
* @summary Search Group
|
|
5622
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
5623
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
5624
|
+
* @param {number} [n] The number of objects to return.
|
|
5625
|
+
* @param {*} [options] Override http request option.
|
|
5626
|
+
* @throws {RequiredError}
|
|
5627
|
+
*/
|
|
5628
|
+
searchGroups: function (query, offset, n, options) {
|
|
5629
|
+
if (options === void 0) { options = {}; }
|
|
5630
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5631
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5632
|
+
return __generator(this, function (_a) {
|
|
5633
|
+
localVarPath = "/groups";
|
|
5634
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5635
|
+
if (configuration) {
|
|
5636
|
+
baseOptions = configuration.baseOptions;
|
|
5637
|
+
}
|
|
5638
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5639
|
+
localVarHeaderParameter = {};
|
|
5640
|
+
localVarQueryParameter = {};
|
|
5641
|
+
if (query !== undefined) {
|
|
5642
|
+
localVarQueryParameter['query'] = query;
|
|
5643
|
+
}
|
|
5644
|
+
if (offset !== undefined) {
|
|
5645
|
+
localVarQueryParameter['offset'] = offset;
|
|
5646
|
+
}
|
|
5647
|
+
if (n !== undefined) {
|
|
5648
|
+
localVarQueryParameter['n'] = n;
|
|
5649
|
+
}
|
|
5650
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5651
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5652
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5653
|
+
return [2 /*return*/, {
|
|
5654
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5655
|
+
options: localVarRequestOptions,
|
|
5656
|
+
}];
|
|
5657
|
+
});
|
|
5658
|
+
});
|
|
5659
|
+
},
|
|
5619
5660
|
/**
|
|
5620
5661
|
* Unbans a user from a Group.
|
|
5621
5662
|
* @summary Unban Group Member
|
|
@@ -6477,6 +6518,28 @@ var GroupsApiFp = function (configuration) {
|
|
|
6477
6518
|
});
|
|
6478
6519
|
});
|
|
6479
6520
|
},
|
|
6521
|
+
/**
|
|
6522
|
+
* Searches Groups by name or shortCode
|
|
6523
|
+
* @summary Search Group
|
|
6524
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
6525
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
6526
|
+
* @param {number} [n] The number of objects to return.
|
|
6527
|
+
* @param {*} [options] Override http request option.
|
|
6528
|
+
* @throws {RequiredError}
|
|
6529
|
+
*/
|
|
6530
|
+
searchGroups: function (query, offset, n, options) {
|
|
6531
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6532
|
+
var localVarAxiosArgs;
|
|
6533
|
+
return __generator(this, function (_a) {
|
|
6534
|
+
switch (_a.label) {
|
|
6535
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchGroups(query, offset, n, options)];
|
|
6536
|
+
case 1:
|
|
6537
|
+
localVarAxiosArgs = _a.sent();
|
|
6538
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6539
|
+
}
|
|
6540
|
+
});
|
|
6541
|
+
});
|
|
6542
|
+
},
|
|
6480
6543
|
/**
|
|
6481
6544
|
* Unbans a user from a Group.
|
|
6482
6545
|
* @summary Unban Group Member
|
|
@@ -6938,6 +7001,18 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
6938
7001
|
respondGroupJoinRequest: function (groupId, userId, respondGroupJoinRequest, options) {
|
|
6939
7002
|
return localVarFp.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then(function (request) { return request(axios, basePath); });
|
|
6940
7003
|
},
|
|
7004
|
+
/**
|
|
7005
|
+
* Searches Groups by name or shortCode
|
|
7006
|
+
* @summary Search Group
|
|
7007
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7008
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7009
|
+
* @param {number} [n] The number of objects to return.
|
|
7010
|
+
* @param {*} [options] Override http request option.
|
|
7011
|
+
* @throws {RequiredError}
|
|
7012
|
+
*/
|
|
7013
|
+
searchGroups: function (query, offset, n, options) {
|
|
7014
|
+
return localVarFp.searchGroups(query, offset, n, options).then(function (request) { return request(axios, basePath); });
|
|
7015
|
+
},
|
|
6941
7016
|
/**
|
|
6942
7017
|
* Unbans a user from a Group.
|
|
6943
7018
|
* @summary Unban Group Member
|
|
@@ -7415,6 +7490,20 @@ var GroupsApi = /** @class */ (function (_super) {
|
|
|
7415
7490
|
var _this = this;
|
|
7416
7491
|
return (0, exports.GroupsApiFp)(this.configuration).respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7417
7492
|
};
|
|
7493
|
+
/**
|
|
7494
|
+
* Searches Groups by name or shortCode
|
|
7495
|
+
* @summary Search Group
|
|
7496
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7497
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7498
|
+
* @param {number} [n] The number of objects to return.
|
|
7499
|
+
* @param {*} [options] Override http request option.
|
|
7500
|
+
* @throws {RequiredError}
|
|
7501
|
+
* @memberof GroupsApi
|
|
7502
|
+
*/
|
|
7503
|
+
GroupsApi.prototype.searchGroups = function (query, offset, n, options) {
|
|
7504
|
+
var _this = this;
|
|
7505
|
+
return (0, exports.GroupsApiFp)(this.configuration).searchGroups(query, offset, n, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7506
|
+
};
|
|
7418
7507
|
/**
|
|
7419
7508
|
* Unbans a user from a Group.
|
|
7420
7509
|
* @summary Unban Group Member
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
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.2
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|