vrchat 1.7.1 → 1.7.4
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 +321 -74
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +244 -76
- package/dist/api.js +186 -25
- 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.7.
|
|
6
|
+
* The version of the OpenAPI document: 1.7.4
|
|
7
7
|
* Contact: me@ariesclark.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -513,13 +513,13 @@ export interface APIConfig {
|
|
|
513
513
|
* @type {string}
|
|
514
514
|
* @memberof APIConfig
|
|
515
515
|
*/
|
|
516
|
-
'
|
|
516
|
+
'player-url-resolver-hash': string;
|
|
517
517
|
/**
|
|
518
518
|
* Currently used youtube-dl.exe version
|
|
519
519
|
* @type {string}
|
|
520
520
|
* @memberof APIConfig
|
|
521
521
|
*/
|
|
522
|
-
'
|
|
522
|
+
'player-url-resolver-version': string;
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
525
|
*
|
|
@@ -2017,7 +2017,13 @@ export interface Instance {
|
|
|
2017
2017
|
* @type {string}
|
|
2018
2018
|
* @memberof Instance
|
|
2019
2019
|
*/
|
|
2020
|
-
'
|
|
2020
|
+
'secureName': string;
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof Instance
|
|
2025
|
+
*/
|
|
2026
|
+
'shortName'?: string;
|
|
2021
2027
|
/**
|
|
2022
2028
|
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
2023
2029
|
* @type {Array<string>}
|
|
@@ -2074,6 +2080,25 @@ export interface InstancePlatforms {
|
|
|
2074
2080
|
*/
|
|
2075
2081
|
'standalonewindows': number;
|
|
2076
2082
|
}
|
|
2083
|
+
/**
|
|
2084
|
+
*
|
|
2085
|
+
* @export
|
|
2086
|
+
* @interface InstanceShortNameResponse
|
|
2087
|
+
*/
|
|
2088
|
+
export interface InstanceShortNameResponse {
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @type {string}
|
|
2092
|
+
* @memberof InstanceShortNameResponse
|
|
2093
|
+
*/
|
|
2094
|
+
'secureName': string;
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof InstanceShortNameResponse
|
|
2099
|
+
*/
|
|
2100
|
+
'shortName'?: string;
|
|
2101
|
+
}
|
|
2077
2102
|
/**
|
|
2078
2103
|
*
|
|
2079
2104
|
* @export
|
|
@@ -2884,6 +2909,61 @@ export interface Response {
|
|
|
2884
2909
|
*/
|
|
2885
2910
|
'status_code': number;
|
|
2886
2911
|
}
|
|
2912
|
+
/**
|
|
2913
|
+
*
|
|
2914
|
+
* @export
|
|
2915
|
+
* @interface SentNotification
|
|
2916
|
+
*/
|
|
2917
|
+
export interface SentNotification {
|
|
2918
|
+
/**
|
|
2919
|
+
*
|
|
2920
|
+
* @type {string}
|
|
2921
|
+
* @memberof SentNotification
|
|
2922
|
+
*/
|
|
2923
|
+
'created_at': string;
|
|
2924
|
+
/**
|
|
2925
|
+
* **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
|
|
2926
|
+
* @type {string}
|
|
2927
|
+
* @memberof SentNotification
|
|
2928
|
+
*/
|
|
2929
|
+
'details': string;
|
|
2930
|
+
/**
|
|
2931
|
+
*
|
|
2932
|
+
* @type {string}
|
|
2933
|
+
* @memberof SentNotification
|
|
2934
|
+
*/
|
|
2935
|
+
'id': string;
|
|
2936
|
+
/**
|
|
2937
|
+
*
|
|
2938
|
+
* @type {string}
|
|
2939
|
+
* @memberof SentNotification
|
|
2940
|
+
*/
|
|
2941
|
+
'message': string;
|
|
2942
|
+
/**
|
|
2943
|
+
* 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.
|
|
2944
|
+
* @type {string}
|
|
2945
|
+
* @memberof SentNotification
|
|
2946
|
+
*/
|
|
2947
|
+
'recieverUserId': string;
|
|
2948
|
+
/**
|
|
2949
|
+
* 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.
|
|
2950
|
+
* @type {string}
|
|
2951
|
+
* @memberof SentNotification
|
|
2952
|
+
*/
|
|
2953
|
+
'senderUserId': string;
|
|
2954
|
+
/**
|
|
2955
|
+
*
|
|
2956
|
+
* @type {string}
|
|
2957
|
+
* @memberof SentNotification
|
|
2958
|
+
*/
|
|
2959
|
+
'senderUsername': string;
|
|
2960
|
+
/**
|
|
2961
|
+
*
|
|
2962
|
+
* @type {NotificationType}
|
|
2963
|
+
* @memberof SentNotification
|
|
2964
|
+
*/
|
|
2965
|
+
'type': NotificationType;
|
|
2966
|
+
}
|
|
2887
2967
|
/**
|
|
2888
2968
|
*
|
|
2889
2969
|
* @export
|
|
@@ -3590,6 +3670,12 @@ export interface User {
|
|
|
3590
3670
|
* @memberof User
|
|
3591
3671
|
*/
|
|
3592
3672
|
'friendKey': string;
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* @type {string}
|
|
3676
|
+
* @memberof User
|
|
3677
|
+
*/
|
|
3678
|
+
'friendRequestStatus': string;
|
|
3593
3679
|
/**
|
|
3594
3680
|
* 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.
|
|
3595
3681
|
* @type {string}
|
|
@@ -3608,6 +3694,12 @@ export interface User {
|
|
|
3608
3694
|
* @memberof User
|
|
3609
3695
|
*/
|
|
3610
3696
|
'isFriend': boolean;
|
|
3697
|
+
/**
|
|
3698
|
+
* Either a date-time or empty string.
|
|
3699
|
+
* @type {string}
|
|
3700
|
+
* @memberof User
|
|
3701
|
+
*/
|
|
3702
|
+
'last_activity': string;
|
|
3611
3703
|
/**
|
|
3612
3704
|
* Either a date-time or empty string.
|
|
3613
3705
|
* @type {string}
|
|
@@ -3626,6 +3718,12 @@ export interface User {
|
|
|
3626
3718
|
* @memberof User
|
|
3627
3719
|
*/
|
|
3628
3720
|
'location'?: string;
|
|
3721
|
+
/**
|
|
3722
|
+
*
|
|
3723
|
+
* @type {string}
|
|
3724
|
+
* @memberof User
|
|
3725
|
+
*/
|
|
3726
|
+
'note'?: string;
|
|
3629
3727
|
/**
|
|
3630
3728
|
*
|
|
3631
3729
|
* @type {string}
|
|
@@ -3656,6 +3754,24 @@ export interface User {
|
|
|
3656
3754
|
* @memberof User
|
|
3657
3755
|
*/
|
|
3658
3756
|
'tags': Array<string>;
|
|
3757
|
+
/**
|
|
3758
|
+
*
|
|
3759
|
+
* @type {string}
|
|
3760
|
+
* @memberof User
|
|
3761
|
+
*/
|
|
3762
|
+
'travelingToInstance'?: string;
|
|
3763
|
+
/**
|
|
3764
|
+
*
|
|
3765
|
+
* @type {string}
|
|
3766
|
+
* @memberof User
|
|
3767
|
+
*/
|
|
3768
|
+
'travelingToLocation'?: string;
|
|
3769
|
+
/**
|
|
3770
|
+
*
|
|
3771
|
+
* @type {string}
|
|
3772
|
+
* @memberof User
|
|
3773
|
+
*/
|
|
3774
|
+
'travelingToWorld'?: string;
|
|
3659
3775
|
/**
|
|
3660
3776
|
*
|
|
3661
3777
|
* @type {string}
|
|
@@ -3855,12 +3971,6 @@ export interface World {
|
|
|
3855
3971
|
* @memberof World
|
|
3856
3972
|
*/
|
|
3857
3973
|
'assetUrl': string;
|
|
3858
|
-
/**
|
|
3859
|
-
*
|
|
3860
|
-
* @type {object}
|
|
3861
|
-
* @memberof World
|
|
3862
|
-
*/
|
|
3863
|
-
'assetUrlObject': object;
|
|
3864
3974
|
/**
|
|
3865
3975
|
* 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.
|
|
3866
3976
|
* @type {string}
|
|
@@ -3957,12 +4067,6 @@ export interface World {
|
|
|
3957
4067
|
* @memberof World
|
|
3958
4068
|
*/
|
|
3959
4069
|
'organization': string;
|
|
3960
|
-
/**
|
|
3961
|
-
*
|
|
3962
|
-
* @type {object}
|
|
3963
|
-
* @memberof World
|
|
3964
|
-
*/
|
|
3965
|
-
'pluginUrlObject': object;
|
|
3966
4070
|
/**
|
|
3967
4071
|
*
|
|
3968
4072
|
* @type {number}
|
|
@@ -4011,12 +4115,6 @@ export interface World {
|
|
|
4011
4115
|
* @memberof World
|
|
4012
4116
|
*/
|
|
4013
4117
|
'thumbnailImageUrl': string;
|
|
4014
|
-
/**
|
|
4015
|
-
*
|
|
4016
|
-
* @type {object}
|
|
4017
|
-
* @memberof World
|
|
4018
|
-
*/
|
|
4019
|
-
'unityPackageUrlObject': object;
|
|
4020
4118
|
/**
|
|
4021
4119
|
* Empty if unauthenticated.
|
|
4022
4120
|
* @type {Array<UnityPackage>}
|
|
@@ -4731,7 +4829,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4731
4829
|
/**
|
|
4732
4830
|
* Search and list favorited avatars by query filters.
|
|
4733
4831
|
* @summary List Favorited Avatars
|
|
4734
|
-
* @param {
|
|
4832
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
4735
4833
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
4736
4834
|
* @param {number} [n] The number of objects to return.
|
|
4737
4835
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -4747,7 +4845,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4747
4845
|
* @param {*} [options] Override http request option.
|
|
4748
4846
|
* @throws {RequiredError}
|
|
4749
4847
|
*/
|
|
4750
|
-
getFavoritedAvatars: async (featured?:
|
|
4848
|
+
getFavoritedAvatars: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4751
4849
|
const localVarPath = `/avatars/favorites`;
|
|
4752
4850
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4753
4851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4830,7 +4928,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4830
4928
|
/**
|
|
4831
4929
|
* Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
|
|
4832
4930
|
* @summary Search Avatars
|
|
4833
|
-
* @param {
|
|
4931
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
4834
4932
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
4835
4933
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
4836
4934
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -4846,7 +4944,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4846
4944
|
* @param {*} [options] Override http request option.
|
|
4847
4945
|
* @throws {RequiredError}
|
|
4848
4946
|
*/
|
|
4849
|
-
searchAvatars: async (featured?:
|
|
4947
|
+
searchAvatars: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4850
4948
|
const localVarPath = `/avatars`;
|
|
4851
4949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4852
4950
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5090,7 +5188,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5090
5188
|
/**
|
|
5091
5189
|
* Search and list favorited avatars by query filters.
|
|
5092
5190
|
* @summary List Favorited Avatars
|
|
5093
|
-
* @param {
|
|
5191
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5094
5192
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5095
5193
|
* @param {number} [n] The number of objects to return.
|
|
5096
5194
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5106,14 +5204,14 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5106
5204
|
* @param {*} [options] Override http request option.
|
|
5107
5205
|
* @throws {RequiredError}
|
|
5108
5206
|
*/
|
|
5109
|
-
async getFavoritedAvatars(featured?:
|
|
5207
|
+
async getFavoritedAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Avatar>>> {
|
|
5110
5208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
5111
5209
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5112
5210
|
},
|
|
5113
5211
|
/**
|
|
5114
5212
|
* Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
|
|
5115
5213
|
* @summary Search Avatars
|
|
5116
|
-
* @param {
|
|
5214
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5117
5215
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5118
5216
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5119
5217
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5129,7 +5227,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5129
5227
|
* @param {*} [options] Override http request option.
|
|
5130
5228
|
* @throws {RequiredError}
|
|
5131
5229
|
*/
|
|
5132
|
-
async searchAvatars(featured?:
|
|
5230
|
+
async searchAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Avatar>>> {
|
|
5133
5231
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
5134
5232
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5135
5233
|
},
|
|
@@ -5210,7 +5308,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5210
5308
|
/**
|
|
5211
5309
|
* Search and list favorited avatars by query filters.
|
|
5212
5310
|
* @summary List Favorited Avatars
|
|
5213
|
-
* @param {
|
|
5311
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5214
5312
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5215
5313
|
* @param {number} [n] The number of objects to return.
|
|
5216
5314
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5226,13 +5324,13 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5226
5324
|
* @param {*} [options] Override http request option.
|
|
5227
5325
|
* @throws {RequiredError}
|
|
5228
5326
|
*/
|
|
5229
|
-
getFavoritedAvatars(featured?:
|
|
5327
|
+
getFavoritedAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: any): AxiosPromise<Array<Avatar>> {
|
|
5230
5328
|
return localVarFp.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
5231
5329
|
},
|
|
5232
5330
|
/**
|
|
5233
5331
|
* Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
|
|
5234
5332
|
* @summary Search Avatars
|
|
5235
|
-
* @param {
|
|
5333
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5236
5334
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5237
5335
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5238
5336
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5248,7 +5346,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5248
5346
|
* @param {*} [options] Override http request option.
|
|
5249
5347
|
* @throws {RequiredError}
|
|
5250
5348
|
*/
|
|
5251
|
-
searchAvatars(featured?:
|
|
5349
|
+
searchAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: any): AxiosPromise<Array<Avatar>> {
|
|
5252
5350
|
return localVarFp.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
5253
5351
|
},
|
|
5254
5352
|
/**
|
|
@@ -5331,7 +5429,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5331
5429
|
/**
|
|
5332
5430
|
* Search and list favorited avatars by query filters.
|
|
5333
5431
|
* @summary List Favorited Avatars
|
|
5334
|
-
* @param {
|
|
5432
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5335
5433
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5336
5434
|
* @param {number} [n] The number of objects to return.
|
|
5337
5435
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5348,14 +5446,14 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5348
5446
|
* @throws {RequiredError}
|
|
5349
5447
|
* @memberof AvatarsApi
|
|
5350
5448
|
*/
|
|
5351
|
-
public getFavoritedAvatars(featured?:
|
|
5449
|
+
public getFavoritedAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig) {
|
|
5352
5450
|
return AvatarsApiFp(this.configuration).getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(this.axios, this.basePath));
|
|
5353
5451
|
}
|
|
5354
5452
|
|
|
5355
5453
|
/**
|
|
5356
5454
|
* Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.
|
|
5357
5455
|
* @summary Search Avatars
|
|
5358
|
-
* @param {
|
|
5456
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5359
5457
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5360
5458
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5361
5459
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5372,7 +5470,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5372
5470
|
* @throws {RequiredError}
|
|
5373
5471
|
* @memberof AvatarsApi
|
|
5374
5472
|
*/
|
|
5375
|
-
public searchAvatars(featured?:
|
|
5473
|
+
public searchAvatars(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig) {
|
|
5376
5474
|
return AvatarsApiFp(this.configuration).searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(this.axios, this.basePath));
|
|
5377
5475
|
}
|
|
5378
5476
|
|
|
@@ -7788,6 +7886,44 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7788
7886
|
|
|
7789
7887
|
|
|
7790
7888
|
|
|
7889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7891
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7892
|
+
|
|
7893
|
+
return {
|
|
7894
|
+
url: toPathString(localVarUrlObj),
|
|
7895
|
+
options: localVarRequestOptions,
|
|
7896
|
+
};
|
|
7897
|
+
},
|
|
7898
|
+
/**
|
|
7899
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
7900
|
+
* @summary Get Instance By Short Name
|
|
7901
|
+
* @param {string} shortName
|
|
7902
|
+
* @param {*} [options] Override http request option.
|
|
7903
|
+
* @throws {RequiredError}
|
|
7904
|
+
*/
|
|
7905
|
+
getInstanceByShortName: async (shortName: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7906
|
+
// verify required parameter 'shortName' is not null or undefined
|
|
7907
|
+
assertParamExists('getInstanceByShortName', 'shortName', shortName)
|
|
7908
|
+
const localVarPath = `/instances/s/{shortName}`
|
|
7909
|
+
.replace(`{${"shortName"}}`, encodeURIComponent(String(shortName)));
|
|
7910
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7911
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7912
|
+
let baseOptions;
|
|
7913
|
+
if (configuration) {
|
|
7914
|
+
baseOptions = configuration.baseOptions;
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7918
|
+
const localVarHeaderParameter = {} as any;
|
|
7919
|
+
const localVarQueryParameter = {} as any;
|
|
7920
|
+
|
|
7921
|
+
// authentication apiKeyCookie required
|
|
7922
|
+
|
|
7923
|
+
// authentication authCookie required
|
|
7924
|
+
|
|
7925
|
+
|
|
7926
|
+
|
|
7791
7927
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7792
7928
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7793
7929
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7903,6 +8039,17 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
7903
8039
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstance(worldId, instanceId, options);
|
|
7904
8040
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7905
8041
|
},
|
|
8042
|
+
/**
|
|
8043
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8044
|
+
* @summary Get Instance By Short Name
|
|
8045
|
+
* @param {string} shortName
|
|
8046
|
+
* @param {*} [options] Override http request option.
|
|
8047
|
+
* @throws {RequiredError}
|
|
8048
|
+
*/
|
|
8049
|
+
async getInstanceByShortName(shortName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
|
|
8050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstanceByShortName(shortName, options);
|
|
8051
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8052
|
+
},
|
|
7906
8053
|
/**
|
|
7907
8054
|
* Returns an instance short name.
|
|
7908
8055
|
* @summary Get Instance Short Name
|
|
@@ -7911,7 +8058,7 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
7911
8058
|
* @param {*} [options] Override http request option.
|
|
7912
8059
|
* @throws {RequiredError}
|
|
7913
8060
|
*/
|
|
7914
|
-
async getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8061
|
+
async getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceShortNameResponse>> {
|
|
7915
8062
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShortName(worldId, instanceId, options);
|
|
7916
8063
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7917
8064
|
},
|
|
@@ -7948,6 +8095,16 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
7948
8095
|
getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance> {
|
|
7949
8096
|
return localVarFp.getInstance(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7950
8097
|
},
|
|
8098
|
+
/**
|
|
8099
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8100
|
+
* @summary Get Instance By Short Name
|
|
8101
|
+
* @param {string} shortName
|
|
8102
|
+
* @param {*} [options] Override http request option.
|
|
8103
|
+
* @throws {RequiredError}
|
|
8104
|
+
*/
|
|
8105
|
+
getInstanceByShortName(shortName: string, options?: any): AxiosPromise<Instance> {
|
|
8106
|
+
return localVarFp.getInstanceByShortName(shortName, options).then((request) => request(axios, basePath));
|
|
8107
|
+
},
|
|
7951
8108
|
/**
|
|
7952
8109
|
* Returns an instance short name.
|
|
7953
8110
|
* @summary Get Instance Short Name
|
|
@@ -7956,7 +8113,7 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
7956
8113
|
* @param {*} [options] Override http request option.
|
|
7957
8114
|
* @throws {RequiredError}
|
|
7958
8115
|
*/
|
|
7959
|
-
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<
|
|
8116
|
+
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<InstanceShortNameResponse> {
|
|
7960
8117
|
return localVarFp.getShortName(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7961
8118
|
},
|
|
7962
8119
|
/**
|
|
@@ -7993,6 +8150,18 @@ export class InstancesApi extends BaseAPI {
|
|
|
7993
8150
|
return InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
7994
8151
|
}
|
|
7995
8152
|
|
|
8153
|
+
/**
|
|
8154
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8155
|
+
* @summary Get Instance By Short Name
|
|
8156
|
+
* @param {string} shortName
|
|
8157
|
+
* @param {*} [options] Override http request option.
|
|
8158
|
+
* @throws {RequiredError}
|
|
8159
|
+
* @memberof InstancesApi
|
|
8160
|
+
*/
|
|
8161
|
+
public getInstanceByShortName(shortName: string, options?: AxiosRequestConfig) {
|
|
8162
|
+
return InstancesApiFp(this.configuration).getInstanceByShortName(shortName, options).then((request) => request(this.axios, this.basePath));
|
|
8163
|
+
}
|
|
8164
|
+
|
|
7996
8165
|
/**
|
|
7997
8166
|
* Returns an instance short name.
|
|
7998
8167
|
* @summary Get Instance Short Name
|
|
@@ -8106,6 +8275,48 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8106
8275
|
|
|
8107
8276
|
|
|
8108
8277
|
|
|
8278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8280
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8281
|
+
|
|
8282
|
+
return {
|
|
8283
|
+
url: toPathString(localVarUrlObj),
|
|
8284
|
+
options: localVarRequestOptions,
|
|
8285
|
+
};
|
|
8286
|
+
},
|
|
8287
|
+
/**
|
|
8288
|
+
* Sends self an invite to an instance
|
|
8289
|
+
* @summary Invite Myself To Instance
|
|
8290
|
+
* @param {string} worldId
|
|
8291
|
+
* @param {string} instanceId
|
|
8292
|
+
* @param {*} [options] Override http request option.
|
|
8293
|
+
* @throws {RequiredError}
|
|
8294
|
+
*/
|
|
8295
|
+
inviteMyselfTo: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8296
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
8297
|
+
assertParamExists('inviteMyselfTo', 'worldId', worldId)
|
|
8298
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
8299
|
+
assertParamExists('inviteMyselfTo', 'instanceId', instanceId)
|
|
8300
|
+
const localVarPath = `/invite/myself/to/{worldId}:{instanceId}`
|
|
8301
|
+
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
8302
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
8303
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8305
|
+
let baseOptions;
|
|
8306
|
+
if (configuration) {
|
|
8307
|
+
baseOptions = configuration.baseOptions;
|
|
8308
|
+
}
|
|
8309
|
+
|
|
8310
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8311
|
+
const localVarHeaderParameter = {} as any;
|
|
8312
|
+
const localVarQueryParameter = {} as any;
|
|
8313
|
+
|
|
8314
|
+
// authentication apiKeyCookie required
|
|
8315
|
+
|
|
8316
|
+
// authentication authCookie required
|
|
8317
|
+
|
|
8318
|
+
|
|
8319
|
+
|
|
8109
8320
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8110
8321
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8111
8322
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8372,6 +8583,18 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8372
8583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInviteMessages(userId, messageType, options);
|
|
8373
8584
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8374
8585
|
},
|
|
8586
|
+
/**
|
|
8587
|
+
* Sends self an invite to an instance
|
|
8588
|
+
* @summary Invite Myself To Instance
|
|
8589
|
+
* @param {string} worldId
|
|
8590
|
+
* @param {string} instanceId
|
|
8591
|
+
* @param {*} [options] Override http request option.
|
|
8592
|
+
* @throws {RequiredError}
|
|
8593
|
+
*/
|
|
8594
|
+
async inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
|
|
8595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, options);
|
|
8596
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8597
|
+
},
|
|
8375
8598
|
/**
|
|
8376
8599
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8377
8600
|
* @summary Invite User
|
|
@@ -8380,7 +8603,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8380
8603
|
* @param {*} [options] Override http request option.
|
|
8381
8604
|
* @throws {RequiredError}
|
|
8382
8605
|
*/
|
|
8383
|
-
async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8606
|
+
async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
|
|
8384
8607
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteUser(userId, inviteRequest, options);
|
|
8385
8608
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8386
8609
|
},
|
|
@@ -8468,6 +8691,17 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8468
8691
|
getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
8469
8692
|
return localVarFp.getInviteMessages(userId, messageType, options).then((request) => request(axios, basePath));
|
|
8470
8693
|
},
|
|
8694
|
+
/**
|
|
8695
|
+
* Sends self an invite to an instance
|
|
8696
|
+
* @summary Invite Myself To Instance
|
|
8697
|
+
* @param {string} worldId
|
|
8698
|
+
* @param {string} instanceId
|
|
8699
|
+
* @param {*} [options] Override http request option.
|
|
8700
|
+
* @throws {RequiredError}
|
|
8701
|
+
*/
|
|
8702
|
+
inviteMyselfTo(worldId: string, instanceId: string, options?: any): AxiosPromise<SentNotification> {
|
|
8703
|
+
return localVarFp.inviteMyselfTo(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
8704
|
+
},
|
|
8471
8705
|
/**
|
|
8472
8706
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8473
8707
|
* @summary Invite User
|
|
@@ -8476,7 +8710,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8476
8710
|
* @param {*} [options] Override http request option.
|
|
8477
8711
|
* @throws {RequiredError}
|
|
8478
8712
|
*/
|
|
8479
|
-
inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<
|
|
8713
|
+
inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<SentNotification> {
|
|
8480
8714
|
return localVarFp.inviteUser(userId, inviteRequest, options).then((request) => request(axios, basePath));
|
|
8481
8715
|
},
|
|
8482
8716
|
/**
|
|
@@ -8563,6 +8797,19 @@ export class InviteApi extends BaseAPI {
|
|
|
8563
8797
|
return InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then((request) => request(this.axios, this.basePath));
|
|
8564
8798
|
}
|
|
8565
8799
|
|
|
8800
|
+
/**
|
|
8801
|
+
* Sends self an invite to an instance
|
|
8802
|
+
* @summary Invite Myself To Instance
|
|
8803
|
+
* @param {string} worldId
|
|
8804
|
+
* @param {string} instanceId
|
|
8805
|
+
* @param {*} [options] Override http request option.
|
|
8806
|
+
* @throws {RequiredError}
|
|
8807
|
+
* @memberof InviteApi
|
|
8808
|
+
*/
|
|
8809
|
+
public inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
8810
|
+
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8566
8813
|
/**
|
|
8567
8814
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8568
8815
|
* @summary Invite User
|
|
@@ -10644,7 +10891,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10644
10891
|
/**
|
|
10645
10892
|
* Search and list currently Active worlds by query filters.
|
|
10646
10893
|
* @summary List Active Worlds
|
|
10647
|
-
* @param {
|
|
10894
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10648
10895
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10649
10896
|
* @param {number} [n] The number of objects to return.
|
|
10650
10897
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10659,7 +10906,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10659
10906
|
* @param {*} [options] Override http request option.
|
|
10660
10907
|
* @throws {RequiredError}
|
|
10661
10908
|
*/
|
|
10662
|
-
getActiveWorlds: async (featured?:
|
|
10909
|
+
getActiveWorlds: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10663
10910
|
const localVarPath = `/worlds/active`;
|
|
10664
10911
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10665
10912
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10738,7 +10985,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10738
10985
|
/**
|
|
10739
10986
|
* Search and list favorited worlds by query filters.
|
|
10740
10987
|
* @summary List Favorited Worlds
|
|
10741
|
-
* @param {
|
|
10988
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10742
10989
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10743
10990
|
* @param {number} [n] The number of objects to return.
|
|
10744
10991
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10754,7 +11001,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10754
11001
|
* @param {*} [options] Override http request option.
|
|
10755
11002
|
* @throws {RequiredError}
|
|
10756
11003
|
*/
|
|
10757
|
-
getFavoritedWorlds: async (featured?:
|
|
11004
|
+
getFavoritedWorlds: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10758
11005
|
const localVarPath = `/worlds/favorites`;
|
|
10759
11006
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10760
11007
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10837,7 +11084,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10837
11084
|
/**
|
|
10838
11085
|
* Search and list recently visited worlds by query filters.
|
|
10839
11086
|
* @summary List Recent Worlds
|
|
10840
|
-
* @param {
|
|
11087
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10841
11088
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10842
11089
|
* @param {number} [n] The number of objects to return.
|
|
10843
11090
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10853,7 +11100,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10853
11100
|
* @param {*} [options] Override http request option.
|
|
10854
11101
|
* @throws {RequiredError}
|
|
10855
11102
|
*/
|
|
10856
|
-
getRecentWorlds: async (featured?:
|
|
11103
|
+
getRecentWorlds: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10857
11104
|
const localVarPath = `/worlds/recent`;
|
|
10858
11105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10859
11106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11129,7 +11376,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11129
11376
|
/**
|
|
11130
11377
|
* Search and list any worlds by query filters.
|
|
11131
11378
|
* @summary Search All Worlds
|
|
11132
|
-
* @param {
|
|
11379
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11133
11380
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11134
11381
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11135
11382
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11146,7 +11393,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11146
11393
|
* @param {*} [options] Override http request option.
|
|
11147
11394
|
* @throws {RequiredError}
|
|
11148
11395
|
*/
|
|
11149
|
-
searchWorlds: async (featured?:
|
|
11396
|
+
searchWorlds: async (featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11150
11397
|
const localVarPath = `/worlds`;
|
|
11151
11398
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11152
11399
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11345,7 +11592,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11345
11592
|
/**
|
|
11346
11593
|
* Search and list currently Active worlds by query filters.
|
|
11347
11594
|
* @summary List Active Worlds
|
|
11348
|
-
* @param {
|
|
11595
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11349
11596
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11350
11597
|
* @param {number} [n] The number of objects to return.
|
|
11351
11598
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11360,14 +11607,14 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11360
11607
|
* @param {*} [options] Override http request option.
|
|
11361
11608
|
* @throws {RequiredError}
|
|
11362
11609
|
*/
|
|
11363
|
-
async getActiveWorlds(featured?:
|
|
11610
|
+
async getActiveWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedWorld>>> {
|
|
11364
11611
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
11365
11612
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11366
11613
|
},
|
|
11367
11614
|
/**
|
|
11368
11615
|
* Search and list favorited worlds by query filters.
|
|
11369
11616
|
* @summary List Favorited Worlds
|
|
11370
|
-
* @param {
|
|
11617
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11371
11618
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11372
11619
|
* @param {number} [n] The number of objects to return.
|
|
11373
11620
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11383,14 +11630,14 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11383
11630
|
* @param {*} [options] Override http request option.
|
|
11384
11631
|
* @throws {RequiredError}
|
|
11385
11632
|
*/
|
|
11386
|
-
async getFavoritedWorlds(featured?:
|
|
11633
|
+
async getFavoritedWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedWorld>>> {
|
|
11387
11634
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
11388
11635
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11389
11636
|
},
|
|
11390
11637
|
/**
|
|
11391
11638
|
* Search and list recently visited worlds by query filters.
|
|
11392
11639
|
* @summary List Recent Worlds
|
|
11393
|
-
* @param {
|
|
11640
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11394
11641
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11395
11642
|
* @param {number} [n] The number of objects to return.
|
|
11396
11643
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11406,7 +11653,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11406
11653
|
* @param {*} [options] Override http request option.
|
|
11407
11654
|
* @throws {RequiredError}
|
|
11408
11655
|
*/
|
|
11409
|
-
async getRecentWorlds(featured?:
|
|
11656
|
+
async getRecentWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedWorld>>> {
|
|
11410
11657
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
11411
11658
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11412
11659
|
},
|
|
@@ -11470,7 +11717,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11470
11717
|
/**
|
|
11471
11718
|
* Search and list any worlds by query filters.
|
|
11472
11719
|
* @summary Search All Worlds
|
|
11473
|
-
* @param {
|
|
11720
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11474
11721
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11475
11722
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11476
11723
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11487,7 +11734,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11487
11734
|
* @param {*} [options] Override http request option.
|
|
11488
11735
|
* @throws {RequiredError}
|
|
11489
11736
|
*/
|
|
11490
|
-
async searchWorlds(featured?:
|
|
11737
|
+
async searchWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedWorld>>> {
|
|
11491
11738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
11492
11739
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11493
11740
|
},
|
|
@@ -11547,7 +11794,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11547
11794
|
/**
|
|
11548
11795
|
* Search and list currently Active worlds by query filters.
|
|
11549
11796
|
* @summary List Active Worlds
|
|
11550
|
-
* @param {
|
|
11797
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11551
11798
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11552
11799
|
* @param {number} [n] The number of objects to return.
|
|
11553
11800
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11562,13 +11809,13 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11562
11809
|
* @param {*} [options] Override http request option.
|
|
11563
11810
|
* @throws {RequiredError}
|
|
11564
11811
|
*/
|
|
11565
|
-
getActiveWorlds(featured?:
|
|
11812
|
+
getActiveWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: any): AxiosPromise<Array<LimitedWorld>> {
|
|
11566
11813
|
return localVarFp.getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
11567
11814
|
},
|
|
11568
11815
|
/**
|
|
11569
11816
|
* Search and list favorited worlds by query filters.
|
|
11570
11817
|
* @summary List Favorited Worlds
|
|
11571
|
-
* @param {
|
|
11818
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11572
11819
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11573
11820
|
* @param {number} [n] The number of objects to return.
|
|
11574
11821
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11584,13 +11831,13 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11584
11831
|
* @param {*} [options] Override http request option.
|
|
11585
11832
|
* @throws {RequiredError}
|
|
11586
11833
|
*/
|
|
11587
|
-
getFavoritedWorlds(featured?:
|
|
11834
|
+
getFavoritedWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: any): AxiosPromise<Array<LimitedWorld>> {
|
|
11588
11835
|
return localVarFp.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
11589
11836
|
},
|
|
11590
11837
|
/**
|
|
11591
11838
|
* Search and list recently visited worlds by query filters.
|
|
11592
11839
|
* @summary List Recent Worlds
|
|
11593
|
-
* @param {
|
|
11840
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11594
11841
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11595
11842
|
* @param {number} [n] The number of objects to return.
|
|
11596
11843
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11606,7 +11853,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11606
11853
|
* @param {*} [options] Override http request option.
|
|
11607
11854
|
* @throws {RequiredError}
|
|
11608
11855
|
*/
|
|
11609
|
-
getRecentWorlds(featured?:
|
|
11856
|
+
getRecentWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: any): AxiosPromise<Array<LimitedWorld>> {
|
|
11610
11857
|
return localVarFp.getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
11611
11858
|
},
|
|
11612
11859
|
/**
|
|
@@ -11664,7 +11911,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11664
11911
|
/**
|
|
11665
11912
|
* Search and list any worlds by query filters.
|
|
11666
11913
|
* @summary Search All Worlds
|
|
11667
|
-
* @param {
|
|
11914
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11668
11915
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11669
11916
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11670
11917
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11681,7 +11928,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11681
11928
|
* @param {*} [options] Override http request option.
|
|
11682
11929
|
* @throws {RequiredError}
|
|
11683
11930
|
*/
|
|
11684
|
-
searchWorlds(featured?:
|
|
11931
|
+
searchWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: any): AxiosPromise<Array<LimitedWorld>> {
|
|
11685
11932
|
return localVarFp.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
11686
11933
|
},
|
|
11687
11934
|
/**
|
|
@@ -11742,7 +11989,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11742
11989
|
/**
|
|
11743
11990
|
* Search and list currently Active worlds by query filters.
|
|
11744
11991
|
* @summary List Active Worlds
|
|
11745
|
-
* @param {
|
|
11992
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11746
11993
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11747
11994
|
* @param {number} [n] The number of objects to return.
|
|
11748
11995
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11758,14 +12005,14 @@ export class WorldsApi extends BaseAPI {
|
|
|
11758
12005
|
* @throws {RequiredError}
|
|
11759
12006
|
* @memberof WorldsApi
|
|
11760
12007
|
*/
|
|
11761
|
-
public getActiveWorlds(featured?:
|
|
12008
|
+
public getActiveWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig) {
|
|
11762
12009
|
return WorldsApiFp(this.configuration).getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(this.axios, this.basePath));
|
|
11763
12010
|
}
|
|
11764
12011
|
|
|
11765
12012
|
/**
|
|
11766
12013
|
* Search and list favorited worlds by query filters.
|
|
11767
12014
|
* @summary List Favorited Worlds
|
|
11768
|
-
* @param {
|
|
12015
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11769
12016
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11770
12017
|
* @param {number} [n] The number of objects to return.
|
|
11771
12018
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11782,14 +12029,14 @@ export class WorldsApi extends BaseAPI {
|
|
|
11782
12029
|
* @throws {RequiredError}
|
|
11783
12030
|
* @memberof WorldsApi
|
|
11784
12031
|
*/
|
|
11785
|
-
public getFavoritedWorlds(featured?:
|
|
12032
|
+
public getFavoritedWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig) {
|
|
11786
12033
|
return WorldsApiFp(this.configuration).getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(this.axios, this.basePath));
|
|
11787
12034
|
}
|
|
11788
12035
|
|
|
11789
12036
|
/**
|
|
11790
12037
|
* Search and list recently visited worlds by query filters.
|
|
11791
12038
|
* @summary List Recent Worlds
|
|
11792
|
-
* @param {
|
|
12039
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11793
12040
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11794
12041
|
* @param {number} [n] The number of objects to return.
|
|
11795
12042
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11806,7 +12053,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11806
12053
|
* @throws {RequiredError}
|
|
11807
12054
|
* @memberof WorldsApi
|
|
11808
12055
|
*/
|
|
11809
|
-
public getRecentWorlds(featured?:
|
|
12056
|
+
public getRecentWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig) {
|
|
11810
12057
|
return WorldsApiFp(this.configuration).getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(this.axios, this.basePath));
|
|
11811
12058
|
}
|
|
11812
12059
|
|
|
@@ -11875,7 +12122,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11875
12122
|
/**
|
|
11876
12123
|
* Search and list any worlds by query filters.
|
|
11877
12124
|
* @summary Search All Worlds
|
|
11878
|
-
* @param {
|
|
12125
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11879
12126
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11880
12127
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11881
12128
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11893,7 +12140,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11893
12140
|
* @throws {RequiredError}
|
|
11894
12141
|
* @memberof WorldsApi
|
|
11895
12142
|
*/
|
|
11896
|
-
public searchWorlds(featured?:
|
|
12143
|
+
public searchWorlds(featured?: boolean, sort?: 'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name', user?: 'me', userId?: string, n?: number, order?: 'ascending' | 'descending', offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: 'public' | 'private' | 'hidden' | 'all', maxUnityVersion?: string, minUnityVersion?: string, platform?: string, options?: AxiosRequestConfig) {
|
|
11897
12144
|
return WorldsApiFp(this.configuration).searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(this.axios, this.basePath));
|
|
11898
12145
|
}
|
|
11899
12146
|
|