vrchat 1.16.0 → 1.16.3
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 +199 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +156 -5
- package/dist/api.js +91 -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.3
|
|
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
|
|
@@ -3615,13 +3724,13 @@ export interface LimitedUser {
|
|
|
3615
3724
|
* @type {string}
|
|
3616
3725
|
* @memberof LimitedUser
|
|
3617
3726
|
*/
|
|
3618
|
-
'currentAvatarImageUrl'
|
|
3727
|
+
'currentAvatarImageUrl'?: string;
|
|
3619
3728
|
/**
|
|
3620
3729
|
* When profilePicOverride is not empty, use it instead.
|
|
3621
3730
|
* @type {string}
|
|
3622
3731
|
* @memberof LimitedUser
|
|
3623
3732
|
*/
|
|
3624
|
-
'currentAvatarThumbnailImageUrl'
|
|
3733
|
+
'currentAvatarThumbnailImageUrl'?: string;
|
|
3625
3734
|
/**
|
|
3626
3735
|
*
|
|
3627
3736
|
* @type {DeveloperType}
|
|
@@ -3663,7 +3772,7 @@ export interface LimitedUser {
|
|
|
3663
3772
|
* @type {string}
|
|
3664
3773
|
* @memberof LimitedUser
|
|
3665
3774
|
*/
|
|
3666
|
-
'profilePicOverride'
|
|
3775
|
+
'profilePicOverride'?: string;
|
|
3667
3776
|
/**
|
|
3668
3777
|
*
|
|
3669
3778
|
* @type {UserStatus}
|
|
@@ -3687,7 +3796,7 @@ export interface LimitedUser {
|
|
|
3687
3796
|
* @type {string}
|
|
3688
3797
|
* @memberof LimitedUser
|
|
3689
3798
|
*/
|
|
3690
|
-
'userIcon'
|
|
3799
|
+
'userIcon'?: string;
|
|
3691
3800
|
/**
|
|
3692
3801
|
* -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).
|
|
3693
3802
|
* @type {string}
|
|
@@ -4020,6 +4129,7 @@ export const NotificationType = {
|
|
|
4020
4129
|
FriendRequest: 'friendRequest',
|
|
4021
4130
|
Invite: 'invite',
|
|
4022
4131
|
InviteResponse: 'inviteResponse',
|
|
4132
|
+
Message: 'message',
|
|
4023
4133
|
RequestInvite: 'requestInvite',
|
|
4024
4134
|
RequestInviteResponse: 'requestInviteResponse',
|
|
4025
4135
|
Votetokick: 'votetokick'
|
|
@@ -10799,6 +10909,51 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10799
10909
|
options: localVarRequestOptions,
|
|
10800
10910
|
};
|
|
10801
10911
|
},
|
|
10912
|
+
/**
|
|
10913
|
+
* Searches Groups by name or shortCode
|
|
10914
|
+
* @summary Search Group
|
|
10915
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
10916
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10917
|
+
* @param {number} [n] The number of objects to return.
|
|
10918
|
+
* @param {*} [options] Override http request option.
|
|
10919
|
+
* @throws {RequiredError}
|
|
10920
|
+
*/
|
|
10921
|
+
searchGroups: async (query?: string, offset?: number, n?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10922
|
+
const localVarPath = `/groups`;
|
|
10923
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10924
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10925
|
+
let baseOptions;
|
|
10926
|
+
if (configuration) {
|
|
10927
|
+
baseOptions = configuration.baseOptions;
|
|
10928
|
+
}
|
|
10929
|
+
|
|
10930
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10931
|
+
const localVarHeaderParameter = {} as any;
|
|
10932
|
+
const localVarQueryParameter = {} as any;
|
|
10933
|
+
|
|
10934
|
+
if (query !== undefined) {
|
|
10935
|
+
localVarQueryParameter['query'] = query;
|
|
10936
|
+
}
|
|
10937
|
+
|
|
10938
|
+
if (offset !== undefined) {
|
|
10939
|
+
localVarQueryParameter['offset'] = offset;
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
if (n !== undefined) {
|
|
10943
|
+
localVarQueryParameter['n'] = n;
|
|
10944
|
+
}
|
|
10945
|
+
|
|
10946
|
+
|
|
10947
|
+
|
|
10948
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10949
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10950
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10951
|
+
|
|
10952
|
+
return {
|
|
10953
|
+
url: toPathString(localVarUrlObj),
|
|
10954
|
+
options: localVarRequestOptions,
|
|
10955
|
+
};
|
|
10956
|
+
},
|
|
10802
10957
|
/**
|
|
10803
10958
|
* Unbans a user from a Group.
|
|
10804
10959
|
* @summary Unban Group Member
|
|
@@ -11395,6 +11550,19 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
11395
11550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options);
|
|
11396
11551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11397
11552
|
},
|
|
11553
|
+
/**
|
|
11554
|
+
* Searches Groups by name or shortCode
|
|
11555
|
+
* @summary Search Group
|
|
11556
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
11557
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
11558
|
+
* @param {number} [n] The number of objects to return.
|
|
11559
|
+
* @param {*} [options] Override http request option.
|
|
11560
|
+
* @throws {RequiredError}
|
|
11561
|
+
*/
|
|
11562
|
+
async searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedGroup>>> {
|
|
11563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchGroups(query, offset, n, options);
|
|
11564
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11565
|
+
},
|
|
11398
11566
|
/**
|
|
11399
11567
|
* Unbans a user from a Group.
|
|
11400
11568
|
* @summary Unban Group Member
|
|
@@ -11811,6 +11979,18 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11811
11979
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: any): AxiosPromise<void> {
|
|
11812
11980
|
return localVarFp.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(axios, basePath));
|
|
11813
11981
|
},
|
|
11982
|
+
/**
|
|
11983
|
+
* Searches Groups by name or shortCode
|
|
11984
|
+
* @summary Search Group
|
|
11985
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
11986
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
11987
|
+
* @param {number} [n] The number of objects to return.
|
|
11988
|
+
* @param {*} [options] Override http request option.
|
|
11989
|
+
* @throws {RequiredError}
|
|
11990
|
+
*/
|
|
11991
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: any): AxiosPromise<Array<LimitedGroup>> {
|
|
11992
|
+
return localVarFp.searchGroups(query, offset, n, options).then((request) => request(axios, basePath));
|
|
11993
|
+
},
|
|
11814
11994
|
/**
|
|
11815
11995
|
* Unbans a user from a Group.
|
|
11816
11996
|
* @summary Unban Group Member
|
|
@@ -12284,6 +12464,20 @@ export class GroupsApi extends BaseAPI {
|
|
|
12284
12464
|
return GroupsApiFp(this.configuration).respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12285
12465
|
}
|
|
12286
12466
|
|
|
12467
|
+
/**
|
|
12468
|
+
* Searches Groups by name or shortCode
|
|
12469
|
+
* @summary Search Group
|
|
12470
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
12471
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
12472
|
+
* @param {number} [n] The number of objects to return.
|
|
12473
|
+
* @param {*} [options] Override http request option.
|
|
12474
|
+
* @throws {RequiredError}
|
|
12475
|
+
* @memberof GroupsApi
|
|
12476
|
+
*/
|
|
12477
|
+
public searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig) {
|
|
12478
|
+
return GroupsApiFp(this.configuration).searchGroups(query, offset, n, options).then((request) => request(this.axios, this.basePath));
|
|
12479
|
+
}
|
|
12480
|
+
|
|
12287
12481
|
/**
|
|
12288
12482
|
* Unbans a user from a Group.
|
|
12289
12483
|
* @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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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
|
|
@@ -3543,13 +3652,13 @@ export interface LimitedUser {
|
|
|
3543
3652
|
* @type {string}
|
|
3544
3653
|
* @memberof LimitedUser
|
|
3545
3654
|
*/
|
|
3546
|
-
'currentAvatarImageUrl'
|
|
3655
|
+
'currentAvatarImageUrl'?: string;
|
|
3547
3656
|
/**
|
|
3548
3657
|
* When profilePicOverride is not empty, use it instead.
|
|
3549
3658
|
* @type {string}
|
|
3550
3659
|
* @memberof LimitedUser
|
|
3551
3660
|
*/
|
|
3552
|
-
'currentAvatarThumbnailImageUrl'
|
|
3661
|
+
'currentAvatarThumbnailImageUrl'?: string;
|
|
3553
3662
|
/**
|
|
3554
3663
|
*
|
|
3555
3664
|
* @type {DeveloperType}
|
|
@@ -3591,7 +3700,7 @@ export interface LimitedUser {
|
|
|
3591
3700
|
* @type {string}
|
|
3592
3701
|
* @memberof LimitedUser
|
|
3593
3702
|
*/
|
|
3594
|
-
'profilePicOverride'
|
|
3703
|
+
'profilePicOverride'?: string;
|
|
3595
3704
|
/**
|
|
3596
3705
|
*
|
|
3597
3706
|
* @type {UserStatus}
|
|
@@ -3615,7 +3724,7 @@ export interface LimitedUser {
|
|
|
3615
3724
|
* @type {string}
|
|
3616
3725
|
* @memberof LimitedUser
|
|
3617
3726
|
*/
|
|
3618
|
-
'userIcon'
|
|
3727
|
+
'userIcon'?: string;
|
|
3619
3728
|
/**
|
|
3620
3729
|
* -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).
|
|
3621
3730
|
* @type {string}
|
|
@@ -3943,6 +4052,7 @@ export declare const NotificationType: {
|
|
|
3943
4052
|
readonly FriendRequest: "friendRequest";
|
|
3944
4053
|
readonly Invite: "invite";
|
|
3945
4054
|
readonly InviteResponse: "inviteResponse";
|
|
4055
|
+
readonly Message: "message";
|
|
3946
4056
|
readonly RequestInvite: "requestInvite";
|
|
3947
4057
|
readonly RequestInviteResponse: "requestInviteResponse";
|
|
3948
4058
|
readonly Votetokick: "votetokick";
|
|
@@ -7807,6 +7917,16 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7807
7917
|
* @throws {RequiredError}
|
|
7808
7918
|
*/
|
|
7809
7919
|
respondGroupJoinRequest: (groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7920
|
+
/**
|
|
7921
|
+
* Searches Groups by name or shortCode
|
|
7922
|
+
* @summary Search Group
|
|
7923
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7924
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7925
|
+
* @param {number} [n] The number of objects to return.
|
|
7926
|
+
* @param {*} [options] Override http request option.
|
|
7927
|
+
* @throws {RequiredError}
|
|
7928
|
+
*/
|
|
7929
|
+
searchGroups: (query?: string, offset?: number, n?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7810
7930
|
/**
|
|
7811
7931
|
* Unbans a user from a Group.
|
|
7812
7932
|
* @summary Unban Group Member
|
|
@@ -8142,6 +8262,16 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
|
|
|
8142
8262
|
* @throws {RequiredError}
|
|
8143
8263
|
*/
|
|
8144
8264
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
8265
|
+
/**
|
|
8266
|
+
* Searches Groups by name or shortCode
|
|
8267
|
+
* @summary Search Group
|
|
8268
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8269
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8270
|
+
* @param {number} [n] The number of objects to return.
|
|
8271
|
+
* @param {*} [options] Override http request option.
|
|
8272
|
+
* @throws {RequiredError}
|
|
8273
|
+
*/
|
|
8274
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedGroup>>>;
|
|
8145
8275
|
/**
|
|
8146
8276
|
* Unbans a user from a Group.
|
|
8147
8277
|
* @summary Unban Group Member
|
|
@@ -8477,6 +8607,16 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
|
|
|
8477
8607
|
* @throws {RequiredError}
|
|
8478
8608
|
*/
|
|
8479
8609
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: any): AxiosPromise<void>;
|
|
8610
|
+
/**
|
|
8611
|
+
* Searches Groups by name or shortCode
|
|
8612
|
+
* @summary Search Group
|
|
8613
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8614
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8615
|
+
* @param {number} [n] The number of objects to return.
|
|
8616
|
+
* @param {*} [options] Override http request option.
|
|
8617
|
+
* @throws {RequiredError}
|
|
8618
|
+
*/
|
|
8619
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: any): AxiosPromise<Array<LimitedGroup>>;
|
|
8480
8620
|
/**
|
|
8481
8621
|
* Unbans a user from a Group.
|
|
8482
8622
|
* @summary Unban Group Member
|
|
@@ -8845,6 +8985,17 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
8845
8985
|
* @memberof GroupsApi
|
|
8846
8986
|
*/
|
|
8847
8987
|
respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
8988
|
+
/**
|
|
8989
|
+
* Searches Groups by name or shortCode
|
|
8990
|
+
* @summary Search Group
|
|
8991
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
8992
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8993
|
+
* @param {number} [n] The number of objects to return.
|
|
8994
|
+
* @param {*} [options] Override http request option.
|
|
8995
|
+
* @throws {RequiredError}
|
|
8996
|
+
* @memberof GroupsApi
|
|
8997
|
+
*/
|
|
8998
|
+
searchGroups(query?: string, offset?: number, n?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitedGroup[], any>>;
|
|
8848
8999
|
/**
|
|
8849
9000
|
* Unbans a user from a Group.
|
|
8850
9001
|
* @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.3
|
|
8
8
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -276,6 +276,7 @@ exports.NotificationType = {
|
|
|
276
276
|
FriendRequest: 'friendRequest',
|
|
277
277
|
Invite: 'invite',
|
|
278
278
|
InviteResponse: 'inviteResponse',
|
|
279
|
+
Message: 'message',
|
|
279
280
|
RequestInvite: 'requestInvite',
|
|
280
281
|
RequestInviteResponse: 'requestInviteResponse',
|
|
281
282
|
Votetokick: 'votetokick'
|
|
@@ -5616,6 +5617,47 @@ var GroupsApiAxiosParamCreator = function (configuration) {
|
|
|
5616
5617
|
});
|
|
5617
5618
|
});
|
|
5618
5619
|
},
|
|
5620
|
+
/**
|
|
5621
|
+
* Searches Groups by name or shortCode
|
|
5622
|
+
* @summary Search Group
|
|
5623
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
5624
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
5625
|
+
* @param {number} [n] The number of objects to return.
|
|
5626
|
+
* @param {*} [options] Override http request option.
|
|
5627
|
+
* @throws {RequiredError}
|
|
5628
|
+
*/
|
|
5629
|
+
searchGroups: function (query, offset, n, options) {
|
|
5630
|
+
if (options === void 0) { options = {}; }
|
|
5631
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5632
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5633
|
+
return __generator(this, function (_a) {
|
|
5634
|
+
localVarPath = "/groups";
|
|
5635
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5636
|
+
if (configuration) {
|
|
5637
|
+
baseOptions = configuration.baseOptions;
|
|
5638
|
+
}
|
|
5639
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5640
|
+
localVarHeaderParameter = {};
|
|
5641
|
+
localVarQueryParameter = {};
|
|
5642
|
+
if (query !== undefined) {
|
|
5643
|
+
localVarQueryParameter['query'] = query;
|
|
5644
|
+
}
|
|
5645
|
+
if (offset !== undefined) {
|
|
5646
|
+
localVarQueryParameter['offset'] = offset;
|
|
5647
|
+
}
|
|
5648
|
+
if (n !== undefined) {
|
|
5649
|
+
localVarQueryParameter['n'] = n;
|
|
5650
|
+
}
|
|
5651
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5652
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5653
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5654
|
+
return [2 /*return*/, {
|
|
5655
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5656
|
+
options: localVarRequestOptions,
|
|
5657
|
+
}];
|
|
5658
|
+
});
|
|
5659
|
+
});
|
|
5660
|
+
},
|
|
5619
5661
|
/**
|
|
5620
5662
|
* Unbans a user from a Group.
|
|
5621
5663
|
* @summary Unban Group Member
|
|
@@ -6477,6 +6519,28 @@ var GroupsApiFp = function (configuration) {
|
|
|
6477
6519
|
});
|
|
6478
6520
|
});
|
|
6479
6521
|
},
|
|
6522
|
+
/**
|
|
6523
|
+
* Searches Groups by name or shortCode
|
|
6524
|
+
* @summary Search Group
|
|
6525
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
6526
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
6527
|
+
* @param {number} [n] The number of objects to return.
|
|
6528
|
+
* @param {*} [options] Override http request option.
|
|
6529
|
+
* @throws {RequiredError}
|
|
6530
|
+
*/
|
|
6531
|
+
searchGroups: function (query, offset, n, options) {
|
|
6532
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6533
|
+
var localVarAxiosArgs;
|
|
6534
|
+
return __generator(this, function (_a) {
|
|
6535
|
+
switch (_a.label) {
|
|
6536
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchGroups(query, offset, n, options)];
|
|
6537
|
+
case 1:
|
|
6538
|
+
localVarAxiosArgs = _a.sent();
|
|
6539
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6540
|
+
}
|
|
6541
|
+
});
|
|
6542
|
+
});
|
|
6543
|
+
},
|
|
6480
6544
|
/**
|
|
6481
6545
|
* Unbans a user from a Group.
|
|
6482
6546
|
* @summary Unban Group Member
|
|
@@ -6938,6 +7002,18 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
6938
7002
|
respondGroupJoinRequest: function (groupId, userId, respondGroupJoinRequest, options) {
|
|
6939
7003
|
return localVarFp.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then(function (request) { return request(axios, basePath); });
|
|
6940
7004
|
},
|
|
7005
|
+
/**
|
|
7006
|
+
* Searches Groups by name or shortCode
|
|
7007
|
+
* @summary Search Group
|
|
7008
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7009
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7010
|
+
* @param {number} [n] The number of objects to return.
|
|
7011
|
+
* @param {*} [options] Override http request option.
|
|
7012
|
+
* @throws {RequiredError}
|
|
7013
|
+
*/
|
|
7014
|
+
searchGroups: function (query, offset, n, options) {
|
|
7015
|
+
return localVarFp.searchGroups(query, offset, n, options).then(function (request) { return request(axios, basePath); });
|
|
7016
|
+
},
|
|
6941
7017
|
/**
|
|
6942
7018
|
* Unbans a user from a Group.
|
|
6943
7019
|
* @summary Unban Group Member
|
|
@@ -7415,6 +7491,20 @@ var GroupsApi = /** @class */ (function (_super) {
|
|
|
7415
7491
|
var _this = this;
|
|
7416
7492
|
return (0, exports.GroupsApiFp)(this.configuration).respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7417
7493
|
};
|
|
7494
|
+
/**
|
|
7495
|
+
* Searches Groups by name or shortCode
|
|
7496
|
+
* @summary Search Group
|
|
7497
|
+
* @param {string} [query] Query to search for, can be either Group Name or Group shortCode
|
|
7498
|
+
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
7499
|
+
* @param {number} [n] The number of objects to return.
|
|
7500
|
+
* @param {*} [options] Override http request option.
|
|
7501
|
+
* @throws {RequiredError}
|
|
7502
|
+
* @memberof GroupsApi
|
|
7503
|
+
*/
|
|
7504
|
+
GroupsApi.prototype.searchGroups = function (query, offset, n, options) {
|
|
7505
|
+
var _this = this;
|
|
7506
|
+
return (0, exports.GroupsApiFp)(this.configuration).searchGroups(query, offset, n, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7507
|
+
};
|
|
7418
7508
|
/**
|
|
7419
7509
|
* Unbans a user from a Group.
|
|
7420
7510
|
* @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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
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.3
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|