vrchat 1.7.0 → 1.7.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 +314 -72
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +233 -73
- package/dist/api.js +192 -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.3
|
|
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
|
*
|
|
@@ -1251,7 +1251,7 @@ export interface CurrentUser {
|
|
|
1251
1251
|
* @type {string}
|
|
1252
1252
|
* @memberof CurrentUser
|
|
1253
1253
|
*/
|
|
1254
|
-
'twoFactorAuthEnabledDate'?: string;
|
|
1254
|
+
'twoFactorAuthEnabledDate'?: string | null;
|
|
1255
1255
|
/**
|
|
1256
1256
|
*
|
|
1257
1257
|
* @type {boolean}
|
|
@@ -2149,6 +2149,19 @@ export enum InviteMessageType {
|
|
|
2149
2149
|
RequestResponse = 'requestResponse'
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @export
|
|
2155
|
+
* @interface InviteMyselfToRequest
|
|
2156
|
+
*/
|
|
2157
|
+
export interface InviteMyselfToRequest {
|
|
2158
|
+
/**
|
|
2159
|
+
* Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint.
|
|
2160
|
+
* @type {string}
|
|
2161
|
+
* @memberof InviteMyselfToRequest
|
|
2162
|
+
*/
|
|
2163
|
+
'shortName': string;
|
|
2164
|
+
}
|
|
2152
2165
|
/**
|
|
2153
2166
|
*
|
|
2154
2167
|
* @export
|
|
@@ -2884,6 +2897,61 @@ export interface Response {
|
|
|
2884
2897
|
*/
|
|
2885
2898
|
'status_code': number;
|
|
2886
2899
|
}
|
|
2900
|
+
/**
|
|
2901
|
+
*
|
|
2902
|
+
* @export
|
|
2903
|
+
* @interface SentNotification
|
|
2904
|
+
*/
|
|
2905
|
+
export interface SentNotification {
|
|
2906
|
+
/**
|
|
2907
|
+
*
|
|
2908
|
+
* @type {string}
|
|
2909
|
+
* @memberof SentNotification
|
|
2910
|
+
*/
|
|
2911
|
+
'created_at': string;
|
|
2912
|
+
/**
|
|
2913
|
+
* **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.
|
|
2914
|
+
* @type {string}
|
|
2915
|
+
* @memberof SentNotification
|
|
2916
|
+
*/
|
|
2917
|
+
'details': string;
|
|
2918
|
+
/**
|
|
2919
|
+
*
|
|
2920
|
+
* @type {string}
|
|
2921
|
+
* @memberof SentNotification
|
|
2922
|
+
*/
|
|
2923
|
+
'id': string;
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
* @type {string}
|
|
2927
|
+
* @memberof SentNotification
|
|
2928
|
+
*/
|
|
2929
|
+
'message': string;
|
|
2930
|
+
/**
|
|
2931
|
+
* 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.
|
|
2932
|
+
* @type {string}
|
|
2933
|
+
* @memberof SentNotification
|
|
2934
|
+
*/
|
|
2935
|
+
'recieverUserId': string;
|
|
2936
|
+
/**
|
|
2937
|
+
* 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.
|
|
2938
|
+
* @type {string}
|
|
2939
|
+
* @memberof SentNotification
|
|
2940
|
+
*/
|
|
2941
|
+
'senderUserId': string;
|
|
2942
|
+
/**
|
|
2943
|
+
*
|
|
2944
|
+
* @type {string}
|
|
2945
|
+
* @memberof SentNotification
|
|
2946
|
+
*/
|
|
2947
|
+
'senderUsername': string;
|
|
2948
|
+
/**
|
|
2949
|
+
*
|
|
2950
|
+
* @type {NotificationType}
|
|
2951
|
+
* @memberof SentNotification
|
|
2952
|
+
*/
|
|
2953
|
+
'type': NotificationType;
|
|
2954
|
+
}
|
|
2887
2955
|
/**
|
|
2888
2956
|
*
|
|
2889
2957
|
* @export
|
|
@@ -3590,6 +3658,12 @@ export interface User {
|
|
|
3590
3658
|
* @memberof User
|
|
3591
3659
|
*/
|
|
3592
3660
|
'friendKey': string;
|
|
3661
|
+
/**
|
|
3662
|
+
*
|
|
3663
|
+
* @type {string}
|
|
3664
|
+
* @memberof User
|
|
3665
|
+
*/
|
|
3666
|
+
'friendRequestStatus': string;
|
|
3593
3667
|
/**
|
|
3594
3668
|
* 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
3669
|
* @type {string}
|
|
@@ -3608,6 +3682,12 @@ export interface User {
|
|
|
3608
3682
|
* @memberof User
|
|
3609
3683
|
*/
|
|
3610
3684
|
'isFriend': boolean;
|
|
3685
|
+
/**
|
|
3686
|
+
* Either a date-time or empty string.
|
|
3687
|
+
* @type {string}
|
|
3688
|
+
* @memberof User
|
|
3689
|
+
*/
|
|
3690
|
+
'last_activity': string;
|
|
3611
3691
|
/**
|
|
3612
3692
|
* Either a date-time or empty string.
|
|
3613
3693
|
* @type {string}
|
|
@@ -3626,6 +3706,12 @@ export interface User {
|
|
|
3626
3706
|
* @memberof User
|
|
3627
3707
|
*/
|
|
3628
3708
|
'location'?: string;
|
|
3709
|
+
/**
|
|
3710
|
+
*
|
|
3711
|
+
* @type {string}
|
|
3712
|
+
* @memberof User
|
|
3713
|
+
*/
|
|
3714
|
+
'note'?: string;
|
|
3629
3715
|
/**
|
|
3630
3716
|
*
|
|
3631
3717
|
* @type {string}
|
|
@@ -3656,6 +3742,24 @@ export interface User {
|
|
|
3656
3742
|
* @memberof User
|
|
3657
3743
|
*/
|
|
3658
3744
|
'tags': Array<string>;
|
|
3745
|
+
/**
|
|
3746
|
+
*
|
|
3747
|
+
* @type {string}
|
|
3748
|
+
* @memberof User
|
|
3749
|
+
*/
|
|
3750
|
+
'travelingToInstance'?: string;
|
|
3751
|
+
/**
|
|
3752
|
+
*
|
|
3753
|
+
* @type {string}
|
|
3754
|
+
* @memberof User
|
|
3755
|
+
*/
|
|
3756
|
+
'travelingToLocation'?: string;
|
|
3757
|
+
/**
|
|
3758
|
+
*
|
|
3759
|
+
* @type {string}
|
|
3760
|
+
* @memberof User
|
|
3761
|
+
*/
|
|
3762
|
+
'travelingToWorld'?: string;
|
|
3659
3763
|
/**
|
|
3660
3764
|
*
|
|
3661
3765
|
* @type {string}
|
|
@@ -3855,12 +3959,6 @@ export interface World {
|
|
|
3855
3959
|
* @memberof World
|
|
3856
3960
|
*/
|
|
3857
3961
|
'assetUrl': string;
|
|
3858
|
-
/**
|
|
3859
|
-
*
|
|
3860
|
-
* @type {object}
|
|
3861
|
-
* @memberof World
|
|
3862
|
-
*/
|
|
3863
|
-
'assetUrlObject': object;
|
|
3864
3962
|
/**
|
|
3865
3963
|
* 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
3964
|
* @type {string}
|
|
@@ -3957,12 +4055,6 @@ export interface World {
|
|
|
3957
4055
|
* @memberof World
|
|
3958
4056
|
*/
|
|
3959
4057
|
'organization': string;
|
|
3960
|
-
/**
|
|
3961
|
-
*
|
|
3962
|
-
* @type {object}
|
|
3963
|
-
* @memberof World
|
|
3964
|
-
*/
|
|
3965
|
-
'pluginUrlObject': object;
|
|
3966
4058
|
/**
|
|
3967
4059
|
*
|
|
3968
4060
|
* @type {number}
|
|
@@ -4011,12 +4103,6 @@ export interface World {
|
|
|
4011
4103
|
* @memberof World
|
|
4012
4104
|
*/
|
|
4013
4105
|
'thumbnailImageUrl': string;
|
|
4014
|
-
/**
|
|
4015
|
-
*
|
|
4016
|
-
* @type {object}
|
|
4017
|
-
* @memberof World
|
|
4018
|
-
*/
|
|
4019
|
-
'unityPackageUrlObject': object;
|
|
4020
4106
|
/**
|
|
4021
4107
|
* Empty if unauthenticated.
|
|
4022
4108
|
* @type {Array<UnityPackage>}
|
|
@@ -4731,7 +4817,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4731
4817
|
/**
|
|
4732
4818
|
* Search and list favorited avatars by query filters.
|
|
4733
4819
|
* @summary List Favorited Avatars
|
|
4734
|
-
* @param {
|
|
4820
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
4735
4821
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
4736
4822
|
* @param {number} [n] The number of objects to return.
|
|
4737
4823
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -4747,7 +4833,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4747
4833
|
* @param {*} [options] Override http request option.
|
|
4748
4834
|
* @throws {RequiredError}
|
|
4749
4835
|
*/
|
|
4750
|
-
getFavoritedAvatars: async (featured?:
|
|
4836
|
+
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
4837
|
const localVarPath = `/avatars/favorites`;
|
|
4752
4838
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4753
4839
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4830,7 +4916,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4830
4916
|
/**
|
|
4831
4917
|
* 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
4918
|
* @summary Search Avatars
|
|
4833
|
-
* @param {
|
|
4919
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
4834
4920
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
4835
4921
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
4836
4922
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -4846,7 +4932,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4846
4932
|
* @param {*} [options] Override http request option.
|
|
4847
4933
|
* @throws {RequiredError}
|
|
4848
4934
|
*/
|
|
4849
|
-
searchAvatars: async (featured?:
|
|
4935
|
+
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
4936
|
const localVarPath = `/avatars`;
|
|
4851
4937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4852
4938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5090,7 +5176,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5090
5176
|
/**
|
|
5091
5177
|
* Search and list favorited avatars by query filters.
|
|
5092
5178
|
* @summary List Favorited Avatars
|
|
5093
|
-
* @param {
|
|
5179
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5094
5180
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5095
5181
|
* @param {number} [n] The number of objects to return.
|
|
5096
5182
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5106,14 +5192,14 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5106
5192
|
* @param {*} [options] Override http request option.
|
|
5107
5193
|
* @throws {RequiredError}
|
|
5108
5194
|
*/
|
|
5109
|
-
async getFavoritedAvatars(featured?:
|
|
5195
|
+
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
5196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
5111
5197
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5112
5198
|
},
|
|
5113
5199
|
/**
|
|
5114
5200
|
* 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
5201
|
* @summary Search Avatars
|
|
5116
|
-
* @param {
|
|
5202
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5117
5203
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5118
5204
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5119
5205
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5129,7 +5215,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
5129
5215
|
* @param {*} [options] Override http request option.
|
|
5130
5216
|
* @throws {RequiredError}
|
|
5131
5217
|
*/
|
|
5132
|
-
async searchAvatars(featured?:
|
|
5218
|
+
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
5219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
5134
5220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5135
5221
|
},
|
|
@@ -5210,7 +5296,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5210
5296
|
/**
|
|
5211
5297
|
* Search and list favorited avatars by query filters.
|
|
5212
5298
|
* @summary List Favorited Avatars
|
|
5213
|
-
* @param {
|
|
5299
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5214
5300
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5215
5301
|
* @param {number} [n] The number of objects to return.
|
|
5216
5302
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5226,13 +5312,13 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5226
5312
|
* @param {*} [options] Override http request option.
|
|
5227
5313
|
* @throws {RequiredError}
|
|
5228
5314
|
*/
|
|
5229
|
-
getFavoritedAvatars(featured?:
|
|
5315
|
+
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
5316
|
return localVarFp.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
5231
5317
|
},
|
|
5232
5318
|
/**
|
|
5233
5319
|
* 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
5320
|
* @summary Search Avatars
|
|
5235
|
-
* @param {
|
|
5321
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5236
5322
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5237
5323
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5238
5324
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5248,7 +5334,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5248
5334
|
* @param {*} [options] Override http request option.
|
|
5249
5335
|
* @throws {RequiredError}
|
|
5250
5336
|
*/
|
|
5251
|
-
searchAvatars(featured?:
|
|
5337
|
+
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
5338
|
return localVarFp.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
5253
5339
|
},
|
|
5254
5340
|
/**
|
|
@@ -5331,7 +5417,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5331
5417
|
/**
|
|
5332
5418
|
* Search and list favorited avatars by query filters.
|
|
5333
5419
|
* @summary List Favorited Avatars
|
|
5334
|
-
* @param {
|
|
5420
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5335
5421
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5336
5422
|
* @param {number} [n] The number of objects to return.
|
|
5337
5423
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -5348,14 +5434,14 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5348
5434
|
* @throws {RequiredError}
|
|
5349
5435
|
* @memberof AvatarsApi
|
|
5350
5436
|
*/
|
|
5351
|
-
public getFavoritedAvatars(featured?:
|
|
5437
|
+
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
5438
|
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
5439
|
}
|
|
5354
5440
|
|
|
5355
5441
|
/**
|
|
5356
5442
|
* 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
5443
|
* @summary Search Avatars
|
|
5358
|
-
* @param {
|
|
5444
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
5359
5445
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
5360
5446
|
* @param {'me'} [user] Set to `me` for searching own avatars.
|
|
5361
5447
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -5372,7 +5458,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
5372
5458
|
* @throws {RequiredError}
|
|
5373
5459
|
* @memberof AvatarsApi
|
|
5374
5460
|
*/
|
|
5375
|
-
public searchAvatars(featured?:
|
|
5461
|
+
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
5462
|
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
5463
|
}
|
|
5378
5464
|
|
|
@@ -7788,6 +7874,44 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7788
7874
|
|
|
7789
7875
|
|
|
7790
7876
|
|
|
7877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7880
|
+
|
|
7881
|
+
return {
|
|
7882
|
+
url: toPathString(localVarUrlObj),
|
|
7883
|
+
options: localVarRequestOptions,
|
|
7884
|
+
};
|
|
7885
|
+
},
|
|
7886
|
+
/**
|
|
7887
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
7888
|
+
* @summary Get Instance By Short Name
|
|
7889
|
+
* @param {string} shortName
|
|
7890
|
+
* @param {*} [options] Override http request option.
|
|
7891
|
+
* @throws {RequiredError}
|
|
7892
|
+
*/
|
|
7893
|
+
getInstanceByShortName: async (shortName: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7894
|
+
// verify required parameter 'shortName' is not null or undefined
|
|
7895
|
+
assertParamExists('getInstanceByShortName', 'shortName', shortName)
|
|
7896
|
+
const localVarPath = `/instances/s/{shortName}`
|
|
7897
|
+
.replace(`{${"shortName"}}`, encodeURIComponent(String(shortName)));
|
|
7898
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7899
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7900
|
+
let baseOptions;
|
|
7901
|
+
if (configuration) {
|
|
7902
|
+
baseOptions = configuration.baseOptions;
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7905
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7906
|
+
const localVarHeaderParameter = {} as any;
|
|
7907
|
+
const localVarQueryParameter = {} as any;
|
|
7908
|
+
|
|
7909
|
+
// authentication apiKeyCookie required
|
|
7910
|
+
|
|
7911
|
+
// authentication authCookie required
|
|
7912
|
+
|
|
7913
|
+
|
|
7914
|
+
|
|
7791
7915
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7792
7916
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7793
7917
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7903,6 +8027,17 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
7903
8027
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstance(worldId, instanceId, options);
|
|
7904
8028
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7905
8029
|
},
|
|
8030
|
+
/**
|
|
8031
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8032
|
+
* @summary Get Instance By Short Name
|
|
8033
|
+
* @param {string} shortName
|
|
8034
|
+
* @param {*} [options] Override http request option.
|
|
8035
|
+
* @throws {RequiredError}
|
|
8036
|
+
*/
|
|
8037
|
+
async getInstanceByShortName(shortName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
|
|
8038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstanceByShortName(shortName, options);
|
|
8039
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8040
|
+
},
|
|
7906
8041
|
/**
|
|
7907
8042
|
* Returns an instance short name.
|
|
7908
8043
|
* @summary Get Instance Short Name
|
|
@@ -7948,6 +8083,16 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
7948
8083
|
getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance> {
|
|
7949
8084
|
return localVarFp.getInstance(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7950
8085
|
},
|
|
8086
|
+
/**
|
|
8087
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8088
|
+
* @summary Get Instance By Short Name
|
|
8089
|
+
* @param {string} shortName
|
|
8090
|
+
* @param {*} [options] Override http request option.
|
|
8091
|
+
* @throws {RequiredError}
|
|
8092
|
+
*/
|
|
8093
|
+
getInstanceByShortName(shortName: string, options?: any): AxiosPromise<Instance> {
|
|
8094
|
+
return localVarFp.getInstanceByShortName(shortName, options).then((request) => request(axios, basePath));
|
|
8095
|
+
},
|
|
7951
8096
|
/**
|
|
7952
8097
|
* Returns an instance short name.
|
|
7953
8098
|
* @summary Get Instance Short Name
|
|
@@ -7993,6 +8138,18 @@ export class InstancesApi extends BaseAPI {
|
|
|
7993
8138
|
return InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
7994
8139
|
}
|
|
7995
8140
|
|
|
8141
|
+
/**
|
|
8142
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
|
|
8143
|
+
* @summary Get Instance By Short Name
|
|
8144
|
+
* @param {string} shortName
|
|
8145
|
+
* @param {*} [options] Override http request option.
|
|
8146
|
+
* @throws {RequiredError}
|
|
8147
|
+
* @memberof InstancesApi
|
|
8148
|
+
*/
|
|
8149
|
+
public getInstanceByShortName(shortName: string, options?: AxiosRequestConfig) {
|
|
8150
|
+
return InstancesApiFp(this.configuration).getInstanceByShortName(shortName, options).then((request) => request(this.axios, this.basePath));
|
|
8151
|
+
}
|
|
8152
|
+
|
|
7996
8153
|
/**
|
|
7997
8154
|
* Returns an instance short name.
|
|
7998
8155
|
* @summary Get Instance Short Name
|
|
@@ -8115,6 +8272,52 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8115
8272
|
options: localVarRequestOptions,
|
|
8116
8273
|
};
|
|
8117
8274
|
},
|
|
8275
|
+
/**
|
|
8276
|
+
* Sends self an invite to an instance
|
|
8277
|
+
* @summary Invite Myself To Instance
|
|
8278
|
+
* @param {string} worldId
|
|
8279
|
+
* @param {string} instanceId
|
|
8280
|
+
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8281
|
+
* @param {*} [options] Override http request option.
|
|
8282
|
+
* @throws {RequiredError}
|
|
8283
|
+
*/
|
|
8284
|
+
inviteMyselfTo: async (worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8285
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
8286
|
+
assertParamExists('inviteMyselfTo', 'worldId', worldId)
|
|
8287
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
8288
|
+
assertParamExists('inviteMyselfTo', 'instanceId', instanceId)
|
|
8289
|
+
const localVarPath = `/invite/myself/to/{worldId}:{instanceId}`
|
|
8290
|
+
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
8291
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
8292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8294
|
+
let baseOptions;
|
|
8295
|
+
if (configuration) {
|
|
8296
|
+
baseOptions = configuration.baseOptions;
|
|
8297
|
+
}
|
|
8298
|
+
|
|
8299
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8300
|
+
const localVarHeaderParameter = {} as any;
|
|
8301
|
+
const localVarQueryParameter = {} as any;
|
|
8302
|
+
|
|
8303
|
+
// authentication apiKeyCookie required
|
|
8304
|
+
|
|
8305
|
+
// authentication authCookie required
|
|
8306
|
+
|
|
8307
|
+
|
|
8308
|
+
|
|
8309
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8310
|
+
|
|
8311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8314
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteMyselfToRequest, localVarRequestOptions, configuration)
|
|
8315
|
+
|
|
8316
|
+
return {
|
|
8317
|
+
url: toPathString(localVarUrlObj),
|
|
8318
|
+
options: localVarRequestOptions,
|
|
8319
|
+
};
|
|
8320
|
+
},
|
|
8118
8321
|
/**
|
|
8119
8322
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8120
8323
|
* @summary Invite User
|
|
@@ -8372,6 +8575,19 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8372
8575
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInviteMessages(userId, messageType, options);
|
|
8373
8576
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8374
8577
|
},
|
|
8578
|
+
/**
|
|
8579
|
+
* Sends self an invite to an instance
|
|
8580
|
+
* @summary Invite Myself To Instance
|
|
8581
|
+
* @param {string} worldId
|
|
8582
|
+
* @param {string} instanceId
|
|
8583
|
+
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8584
|
+
* @param {*} [options] Override http request option.
|
|
8585
|
+
* @throws {RequiredError}
|
|
8586
|
+
*/
|
|
8587
|
+
async inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
|
|
8588
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options);
|
|
8589
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8590
|
+
},
|
|
8375
8591
|
/**
|
|
8376
8592
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8377
8593
|
* @summary Invite User
|
|
@@ -8380,7 +8596,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8380
8596
|
* @param {*} [options] Override http request option.
|
|
8381
8597
|
* @throws {RequiredError}
|
|
8382
8598
|
*/
|
|
8383
|
-
async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8599
|
+
async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
|
|
8384
8600
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteUser(userId, inviteRequest, options);
|
|
8385
8601
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8386
8602
|
},
|
|
@@ -8468,6 +8684,18 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8468
8684
|
getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
8469
8685
|
return localVarFp.getInviteMessages(userId, messageType, options).then((request) => request(axios, basePath));
|
|
8470
8686
|
},
|
|
8687
|
+
/**
|
|
8688
|
+
* Sends self an invite to an instance
|
|
8689
|
+
* @summary Invite Myself To Instance
|
|
8690
|
+
* @param {string} worldId
|
|
8691
|
+
* @param {string} instanceId
|
|
8692
|
+
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8693
|
+
* @param {*} [options] Override http request option.
|
|
8694
|
+
* @throws {RequiredError}
|
|
8695
|
+
*/
|
|
8696
|
+
inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: any): AxiosPromise<SentNotification> {
|
|
8697
|
+
return localVarFp.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then((request) => request(axios, basePath));
|
|
8698
|
+
},
|
|
8471
8699
|
/**
|
|
8472
8700
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8473
8701
|
* @summary Invite User
|
|
@@ -8476,7 +8704,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8476
8704
|
* @param {*} [options] Override http request option.
|
|
8477
8705
|
* @throws {RequiredError}
|
|
8478
8706
|
*/
|
|
8479
|
-
inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<
|
|
8707
|
+
inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<SentNotification> {
|
|
8480
8708
|
return localVarFp.inviteUser(userId, inviteRequest, options).then((request) => request(axios, basePath));
|
|
8481
8709
|
},
|
|
8482
8710
|
/**
|
|
@@ -8563,6 +8791,20 @@ export class InviteApi extends BaseAPI {
|
|
|
8563
8791
|
return InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then((request) => request(this.axios, this.basePath));
|
|
8564
8792
|
}
|
|
8565
8793
|
|
|
8794
|
+
/**
|
|
8795
|
+
* Sends self an invite to an instance
|
|
8796
|
+
* @summary Invite Myself To Instance
|
|
8797
|
+
* @param {string} worldId
|
|
8798
|
+
* @param {string} instanceId
|
|
8799
|
+
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8800
|
+
* @param {*} [options] Override http request option.
|
|
8801
|
+
* @throws {RequiredError}
|
|
8802
|
+
* @memberof InviteApi
|
|
8803
|
+
*/
|
|
8804
|
+
public inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig) {
|
|
8805
|
+
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8806
|
+
}
|
|
8807
|
+
|
|
8566
8808
|
/**
|
|
8567
8809
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
8568
8810
|
* @summary Invite User
|
|
@@ -10644,7 +10886,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10644
10886
|
/**
|
|
10645
10887
|
* Search and list currently Active worlds by query filters.
|
|
10646
10888
|
* @summary List Active Worlds
|
|
10647
|
-
* @param {
|
|
10889
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10648
10890
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10649
10891
|
* @param {number} [n] The number of objects to return.
|
|
10650
10892
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10659,7 +10901,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10659
10901
|
* @param {*} [options] Override http request option.
|
|
10660
10902
|
* @throws {RequiredError}
|
|
10661
10903
|
*/
|
|
10662
|
-
getActiveWorlds: async (featured?:
|
|
10904
|
+
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
10905
|
const localVarPath = `/worlds/active`;
|
|
10664
10906
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10665
10907
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10738,7 +10980,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10738
10980
|
/**
|
|
10739
10981
|
* Search and list favorited worlds by query filters.
|
|
10740
10982
|
* @summary List Favorited Worlds
|
|
10741
|
-
* @param {
|
|
10983
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10742
10984
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10743
10985
|
* @param {number} [n] The number of objects to return.
|
|
10744
10986
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10754,7 +10996,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10754
10996
|
* @param {*} [options] Override http request option.
|
|
10755
10997
|
* @throws {RequiredError}
|
|
10756
10998
|
*/
|
|
10757
|
-
getFavoritedWorlds: async (featured?:
|
|
10999
|
+
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
11000
|
const localVarPath = `/worlds/favorites`;
|
|
10759
11001
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10760
11002
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10837,7 +11079,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10837
11079
|
/**
|
|
10838
11080
|
* Search and list recently visited worlds by query filters.
|
|
10839
11081
|
* @summary List Recent Worlds
|
|
10840
|
-
* @param {
|
|
11082
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
10841
11083
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
10842
11084
|
* @param {number} [n] The number of objects to return.
|
|
10843
11085
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -10853,7 +11095,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10853
11095
|
* @param {*} [options] Override http request option.
|
|
10854
11096
|
* @throws {RequiredError}
|
|
10855
11097
|
*/
|
|
10856
|
-
getRecentWorlds: async (featured?:
|
|
11098
|
+
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
11099
|
const localVarPath = `/worlds/recent`;
|
|
10858
11100
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10859
11101
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11129,7 +11371,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11129
11371
|
/**
|
|
11130
11372
|
* Search and list any worlds by query filters.
|
|
11131
11373
|
* @summary Search All Worlds
|
|
11132
|
-
* @param {
|
|
11374
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11133
11375
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11134
11376
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11135
11377
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11146,7 +11388,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11146
11388
|
* @param {*} [options] Override http request option.
|
|
11147
11389
|
* @throws {RequiredError}
|
|
11148
11390
|
*/
|
|
11149
|
-
searchWorlds: async (featured?:
|
|
11391
|
+
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
11392
|
const localVarPath = `/worlds`;
|
|
11151
11393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11152
11394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11345,7 +11587,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11345
11587
|
/**
|
|
11346
11588
|
* Search and list currently Active worlds by query filters.
|
|
11347
11589
|
* @summary List Active Worlds
|
|
11348
|
-
* @param {
|
|
11590
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11349
11591
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11350
11592
|
* @param {number} [n] The number of objects to return.
|
|
11351
11593
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11360,14 +11602,14 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11360
11602
|
* @param {*} [options] Override http request option.
|
|
11361
11603
|
* @throws {RequiredError}
|
|
11362
11604
|
*/
|
|
11363
|
-
async getActiveWorlds(featured?:
|
|
11605
|
+
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
11606
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
11365
11607
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11366
11608
|
},
|
|
11367
11609
|
/**
|
|
11368
11610
|
* Search and list favorited worlds by query filters.
|
|
11369
11611
|
* @summary List Favorited Worlds
|
|
11370
|
-
* @param {
|
|
11612
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11371
11613
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11372
11614
|
* @param {number} [n] The number of objects to return.
|
|
11373
11615
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11383,14 +11625,14 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11383
11625
|
* @param {*} [options] Override http request option.
|
|
11384
11626
|
* @throws {RequiredError}
|
|
11385
11627
|
*/
|
|
11386
|
-
async getFavoritedWorlds(featured?:
|
|
11628
|
+
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
11629
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
11388
11630
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11389
11631
|
},
|
|
11390
11632
|
/**
|
|
11391
11633
|
* Search and list recently visited worlds by query filters.
|
|
11392
11634
|
* @summary List Recent Worlds
|
|
11393
|
-
* @param {
|
|
11635
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11394
11636
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11395
11637
|
* @param {number} [n] The number of objects to return.
|
|
11396
11638
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11406,7 +11648,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11406
11648
|
* @param {*} [options] Override http request option.
|
|
11407
11649
|
* @throws {RequiredError}
|
|
11408
11650
|
*/
|
|
11409
|
-
async getRecentWorlds(featured?:
|
|
11651
|
+
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
11652
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
11411
11653
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11412
11654
|
},
|
|
@@ -11470,7 +11712,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11470
11712
|
/**
|
|
11471
11713
|
* Search and list any worlds by query filters.
|
|
11472
11714
|
* @summary Search All Worlds
|
|
11473
|
-
* @param {
|
|
11715
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11474
11716
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11475
11717
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11476
11718
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11487,7 +11729,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
11487
11729
|
* @param {*} [options] Override http request option.
|
|
11488
11730
|
* @throws {RequiredError}
|
|
11489
11731
|
*/
|
|
11490
|
-
async searchWorlds(featured?:
|
|
11732
|
+
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
11733
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options);
|
|
11492
11734
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11493
11735
|
},
|
|
@@ -11547,7 +11789,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11547
11789
|
/**
|
|
11548
11790
|
* Search and list currently Active worlds by query filters.
|
|
11549
11791
|
* @summary List Active Worlds
|
|
11550
|
-
* @param {
|
|
11792
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11551
11793
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11552
11794
|
* @param {number} [n] The number of objects to return.
|
|
11553
11795
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11562,13 +11804,13 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11562
11804
|
* @param {*} [options] Override http request option.
|
|
11563
11805
|
* @throws {RequiredError}
|
|
11564
11806
|
*/
|
|
11565
|
-
getActiveWorlds(featured?:
|
|
11807
|
+
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
11808
|
return localVarFp.getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
11567
11809
|
},
|
|
11568
11810
|
/**
|
|
11569
11811
|
* Search and list favorited worlds by query filters.
|
|
11570
11812
|
* @summary List Favorited Worlds
|
|
11571
|
-
* @param {
|
|
11813
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11572
11814
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11573
11815
|
* @param {number} [n] The number of objects to return.
|
|
11574
11816
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11584,13 +11826,13 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11584
11826
|
* @param {*} [options] Override http request option.
|
|
11585
11827
|
* @throws {RequiredError}
|
|
11586
11828
|
*/
|
|
11587
|
-
getFavoritedWorlds(featured?:
|
|
11829
|
+
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
11830
|
return localVarFp.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
11589
11831
|
},
|
|
11590
11832
|
/**
|
|
11591
11833
|
* Search and list recently visited worlds by query filters.
|
|
11592
11834
|
* @summary List Recent Worlds
|
|
11593
|
-
* @param {
|
|
11835
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11594
11836
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11595
11837
|
* @param {number} [n] The number of objects to return.
|
|
11596
11838
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11606,7 +11848,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11606
11848
|
* @param {*} [options] Override http request option.
|
|
11607
11849
|
* @throws {RequiredError}
|
|
11608
11850
|
*/
|
|
11609
|
-
getRecentWorlds(featured?:
|
|
11851
|
+
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
11852
|
return localVarFp.getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
11611
11853
|
},
|
|
11612
11854
|
/**
|
|
@@ -11664,7 +11906,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11664
11906
|
/**
|
|
11665
11907
|
* Search and list any worlds by query filters.
|
|
11666
11908
|
* @summary Search All Worlds
|
|
11667
|
-
* @param {
|
|
11909
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11668
11910
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11669
11911
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11670
11912
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11681,7 +11923,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
11681
11923
|
* @param {*} [options] Override http request option.
|
|
11682
11924
|
* @throws {RequiredError}
|
|
11683
11925
|
*/
|
|
11684
|
-
searchWorlds(featured?:
|
|
11926
|
+
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
11927
|
return localVarFp.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, options).then((request) => request(axios, basePath));
|
|
11686
11928
|
},
|
|
11687
11929
|
/**
|
|
@@ -11742,7 +11984,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11742
11984
|
/**
|
|
11743
11985
|
* Search and list currently Active worlds by query filters.
|
|
11744
11986
|
* @summary List Active Worlds
|
|
11745
|
-
* @param {
|
|
11987
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11746
11988
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11747
11989
|
* @param {number} [n] The number of objects to return.
|
|
11748
11990
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11758,14 +12000,14 @@ export class WorldsApi extends BaseAPI {
|
|
|
11758
12000
|
* @throws {RequiredError}
|
|
11759
12001
|
* @memberof WorldsApi
|
|
11760
12002
|
*/
|
|
11761
|
-
public getActiveWorlds(featured?:
|
|
12003
|
+
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
12004
|
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
12005
|
}
|
|
11764
12006
|
|
|
11765
12007
|
/**
|
|
11766
12008
|
* Search and list favorited worlds by query filters.
|
|
11767
12009
|
* @summary List Favorited Worlds
|
|
11768
|
-
* @param {
|
|
12010
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11769
12011
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11770
12012
|
* @param {number} [n] The number of objects to return.
|
|
11771
12013
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11782,14 +12024,14 @@ export class WorldsApi extends BaseAPI {
|
|
|
11782
12024
|
* @throws {RequiredError}
|
|
11783
12025
|
* @memberof WorldsApi
|
|
11784
12026
|
*/
|
|
11785
|
-
public getFavoritedWorlds(featured?:
|
|
12027
|
+
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
12028
|
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
12029
|
}
|
|
11788
12030
|
|
|
11789
12031
|
/**
|
|
11790
12032
|
* Search and list recently visited worlds by query filters.
|
|
11791
12033
|
* @summary List Recent Worlds
|
|
11792
|
-
* @param {
|
|
12034
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11793
12035
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11794
12036
|
* @param {number} [n] The number of objects to return.
|
|
11795
12037
|
* @param {'ascending' | 'descending'} [order]
|
|
@@ -11806,7 +12048,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11806
12048
|
* @throws {RequiredError}
|
|
11807
12049
|
* @memberof WorldsApi
|
|
11808
12050
|
*/
|
|
11809
|
-
public getRecentWorlds(featured?:
|
|
12051
|
+
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
12052
|
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
12053
|
}
|
|
11812
12054
|
|
|
@@ -11875,7 +12117,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11875
12117
|
/**
|
|
11876
12118
|
* Search and list any worlds by query filters.
|
|
11877
12119
|
* @summary Search All Worlds
|
|
11878
|
-
* @param {
|
|
12120
|
+
* @param {boolean} [featured] Filters on featured results.
|
|
11879
12121
|
* @param {'popularity' | 'heat' | 'trust' | 'shuffle' | 'random' | 'favorites' | 'reportScore' | 'reportCount' | 'publicationDate' | 'labsPublicationDate' | 'created' | '_created_at' | 'updated' | '_updated_at' | 'order' | 'relevance' | 'magic' | 'name'} [sort]
|
|
11880
12122
|
* @param {'me'} [user] Set to `me` for searching own worlds.
|
|
11881
12123
|
* @param {string} [userId] Filter by UserID.
|
|
@@ -11893,7 +12135,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
11893
12135
|
* @throws {RequiredError}
|
|
11894
12136
|
* @memberof WorldsApi
|
|
11895
12137
|
*/
|
|
11896
|
-
public searchWorlds(featured?:
|
|
12138
|
+
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
12139
|
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
12140
|
}
|
|
11899
12141
|
|