vrchat 1.18.5 → 1.18.7

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.18.5
6
+ * The version of the OpenAPI document: 1.18.7
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2783,6 +2783,181 @@ export const FavoriteType = {
2783
2783
  export type FavoriteType = typeof FavoriteType[keyof typeof FavoriteType];
2784
2784
 
2785
2785
 
2786
+ /**
2787
+ *
2788
+ * @export
2789
+ * @interface FavoritedWorld
2790
+ */
2791
+ export interface FavoritedWorld {
2792
+ /**
2793
+ * 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.
2794
+ * @type {string}
2795
+ * @memberof FavoritedWorld
2796
+ */
2797
+ 'authorId': string;
2798
+ /**
2799
+ *
2800
+ * @type {string}
2801
+ * @memberof FavoritedWorld
2802
+ */
2803
+ 'authorName': string;
2804
+ /**
2805
+ *
2806
+ * @type {number}
2807
+ * @memberof FavoritedWorld
2808
+ */
2809
+ 'capacity': number;
2810
+ /**
2811
+ *
2812
+ * @type {string}
2813
+ * @memberof FavoritedWorld
2814
+ */
2815
+ 'description': string;
2816
+ /**
2817
+ *
2818
+ * @type {number}
2819
+ * @memberof FavoritedWorld
2820
+ */
2821
+ 'recommendedCapacity'?: number;
2822
+ /**
2823
+ *
2824
+ * @type {string}
2825
+ * @memberof FavoritedWorld
2826
+ */
2827
+ 'created_at': string;
2828
+ /**
2829
+ *
2830
+ * @type {number}
2831
+ * @memberof FavoritedWorld
2832
+ */
2833
+ 'favorites': number;
2834
+ /**
2835
+ *
2836
+ * @type {string}
2837
+ * @memberof FavoritedWorld
2838
+ */
2839
+ 'favoriteGroup': string;
2840
+ /**
2841
+ *
2842
+ * @type {string}
2843
+ * @memberof FavoritedWorld
2844
+ */
2845
+ 'favoriteId': string;
2846
+ /**
2847
+ *
2848
+ * @type {boolean}
2849
+ * @memberof FavoritedWorld
2850
+ */
2851
+ 'featured': boolean;
2852
+ /**
2853
+ *
2854
+ * @type {number}
2855
+ * @memberof FavoritedWorld
2856
+ */
2857
+ 'visits'?: number;
2858
+ /**
2859
+ *
2860
+ * @type {number}
2861
+ * @memberof FavoritedWorld
2862
+ */
2863
+ 'heat': number;
2864
+ /**
2865
+ * WorldID be \"offline\" on User profiles if you are not friends with that user.
2866
+ * @type {string}
2867
+ * @memberof FavoritedWorld
2868
+ */
2869
+ 'id': string;
2870
+ /**
2871
+ *
2872
+ * @type {string}
2873
+ * @memberof FavoritedWorld
2874
+ */
2875
+ 'imageUrl': string;
2876
+ /**
2877
+ *
2878
+ * @type {string}
2879
+ * @memberof FavoritedWorld
2880
+ */
2881
+ 'labsPublicationDate': string;
2882
+ /**
2883
+ *
2884
+ * @type {string}
2885
+ * @memberof FavoritedWorld
2886
+ */
2887
+ 'name': string;
2888
+ /**
2889
+ *
2890
+ * @type {number}
2891
+ * @memberof FavoritedWorld
2892
+ */
2893
+ 'occupants': number;
2894
+ /**
2895
+ *
2896
+ * @type {string}
2897
+ * @memberof FavoritedWorld
2898
+ */
2899
+ 'organization': string;
2900
+ /**
2901
+ *
2902
+ * @type {number}
2903
+ * @memberof FavoritedWorld
2904
+ */
2905
+ 'popularity': number;
2906
+ /**
2907
+ *
2908
+ * @type {string}
2909
+ * @memberof FavoritedWorld
2910
+ */
2911
+ 'previewYoutubeId'?: string | null;
2912
+ /**
2913
+ *
2914
+ * @type {string}
2915
+ * @memberof FavoritedWorld
2916
+ */
2917
+ 'publicationDate': string;
2918
+ /**
2919
+ *
2920
+ * @type {ReleaseStatus}
2921
+ * @memberof FavoritedWorld
2922
+ */
2923
+ 'releaseStatus': ReleaseStatus;
2924
+ /**
2925
+ *
2926
+ * @type {Array<string>}
2927
+ * @memberof FavoritedWorld
2928
+ */
2929
+ 'tags': Array<string>;
2930
+ /**
2931
+ *
2932
+ * @type {string}
2933
+ * @memberof FavoritedWorld
2934
+ */
2935
+ 'thumbnailImageUrl': string;
2936
+ /**
2937
+ *
2938
+ * @type {Array<UnityPackage>}
2939
+ * @memberof FavoritedWorld
2940
+ */
2941
+ 'unityPackages': Array<UnityPackage>;
2942
+ /**
2943
+ *
2944
+ * @type {string}
2945
+ * @memberof FavoritedWorld
2946
+ */
2947
+ 'updated_at': string;
2948
+ /**
2949
+ *
2950
+ * @type {Array<string>}
2951
+ * @memberof FavoritedWorld
2952
+ */
2953
+ 'udonProducts'?: Array<string>;
2954
+ /**
2955
+ *
2956
+ * @type {number}
2957
+ * @memberof FavoritedWorld
2958
+ */
2959
+ 'version': number;
2960
+ }
2786
2961
  /**
2787
2962
  *
2788
2963
  * @export
@@ -3635,13 +3810,13 @@ export interface GroupMember {
3635
3810
  * @type {string}
3636
3811
  * @memberof GroupMember
3637
3812
  */
3638
- 'acceptedByDisplayName'?: string;
3813
+ 'acceptedByDisplayName'?: string | null;
3639
3814
  /**
3640
- * 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.
3815
+ *
3641
3816
  * @type {string}
3642
3817
  * @memberof GroupMember
3643
3818
  */
3644
- 'acceptedById'?: string;
3819
+ 'acceptedById'?: string | null;
3645
3820
  /**
3646
3821
  *
3647
3822
  * @type {string}
@@ -3843,11 +4018,11 @@ export interface GroupMyMember {
3843
4018
  */
3844
4019
  'acceptedByDisplayName'?: string | null;
3845
4020
  /**
3846
- * 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.
4021
+ *
3847
4022
  * @type {string}
3848
4023
  * @memberof GroupMyMember
3849
4024
  */
3850
- 'acceptedById'?: string;
4025
+ 'acceptedById'?: string | null;
3851
4026
  /**
3852
4027
  *
3853
4028
  * @type {string}
@@ -4813,6 +4988,104 @@ export interface InviteResponse {
4813
4988
  */
4814
4989
  'responseSlot': number;
4815
4990
  }
4991
+ /**
4992
+ *
4993
+ * @export
4994
+ * @interface Jam
4995
+ */
4996
+ export interface Jam {
4997
+ /**
4998
+ *
4999
+ * @type {string}
5000
+ * @memberof Jam
5001
+ */
5002
+ 'description': string;
5003
+ /**
5004
+ *
5005
+ * @type {string}
5006
+ * @memberof Jam
5007
+ */
5008
+ 'id': string;
5009
+ /**
5010
+ *
5011
+ * @type {boolean}
5012
+ * @memberof Jam
5013
+ */
5014
+ 'isVisible': boolean;
5015
+ /**
5016
+ *
5017
+ * @type {string}
5018
+ * @memberof Jam
5019
+ */
5020
+ 'moreInfo': string;
5021
+ /**
5022
+ * One of: - submissions_open - closed
5023
+ * @type {string}
5024
+ * @memberof Jam
5025
+ */
5026
+ 'state': string;
5027
+ /**
5028
+ *
5029
+ * @type {JamStateChangeDates}
5030
+ * @memberof Jam
5031
+ */
5032
+ 'stateChangeDates': JamStateChangeDates;
5033
+ /**
5034
+ *
5035
+ * @type {string}
5036
+ * @memberof Jam
5037
+ */
5038
+ 'submissionContentGateDate': string | null;
5039
+ /**
5040
+ *
5041
+ * @type {boolean}
5042
+ * @memberof Jam
5043
+ */
5044
+ 'submissionContentGated': boolean;
5045
+ /**
5046
+ *
5047
+ * @type {string}
5048
+ * @memberof Jam
5049
+ */
5050
+ 'title': string;
5051
+ /**
5052
+ *
5053
+ * @type {string}
5054
+ * @memberof Jam
5055
+ */
5056
+ 'updated_at': string;
5057
+ }
5058
+ /**
5059
+ *
5060
+ * @export
5061
+ * @interface JamStateChangeDates
5062
+ */
5063
+ export interface JamStateChangeDates {
5064
+ /**
5065
+ *
5066
+ * @type {string}
5067
+ * @memberof JamStateChangeDates
5068
+ */
5069
+ 'closed'?: string | null;
5070
+ /**
5071
+ *
5072
+ * @type {string}
5073
+ * @memberof JamStateChangeDates
5074
+ */
5075
+ 'submissionsClosed'?: string | null;
5076
+ /**
5077
+ *
5078
+ * @type {string}
5079
+ * @memberof JamStateChangeDates
5080
+ */
5081
+ 'submissionsOpened'?: string | null;
5082
+ /**
5083
+ *
5084
+ * @type {string}
5085
+ * @memberof JamStateChangeDates
5086
+ */
5087
+ 'winnersSelected'?: string | null;
5088
+ }
4816
5089
  /**
4817
5090
  *
4818
5091
  * @export
@@ -5396,12 +5669,6 @@ export interface LimitedWorld {
5396
5669
  * @memberof LimitedWorld
5397
5670
  */
5398
5671
  'releaseStatus': ReleaseStatus;
5399
- /**
5400
- *
5401
- * @type {string}
5402
- * @memberof LimitedWorld
5403
- */
5404
- 'storeId': string | null;
5405
5672
  /**
5406
5673
  *
5407
5674
  * @type {Array<string>}
@@ -6243,57 +6510,106 @@ export type SortOption = typeof SortOption[keyof typeof SortOption];
6243
6510
  /**
6244
6511
  *
6245
6512
  * @export
6246
- * @interface Subscription
6513
+ * @interface Submission
6247
6514
  */
6248
- export interface Subscription {
6515
+ export interface Submission {
6249
6516
  /**
6250
- *
6517
+ * Either world ID or avatar ID
6251
6518
  * @type {string}
6252
- * @memberof Subscription
6519
+ * @memberof Submission
6253
6520
  */
6254
- 'id': string;
6521
+ 'contentId': string;
6255
6522
  /**
6256
6523
  *
6257
6524
  * @type {string}
6258
- * @memberof Subscription
6525
+ * @memberof Submission
6259
6526
  */
6260
- 'steamItemId': string;
6527
+ 'created_at': string;
6261
6528
  /**
6262
6529
  *
6263
6530
  * @type {string}
6264
- * @memberof Subscription
6531
+ * @memberof Submission
6265
6532
  */
6266
- 'oculusSku'?: string;
6533
+ 'description': string;
6267
6534
  /**
6268
6535
  *
6269
6536
  * @type {string}
6270
- * @memberof Subscription
6537
+ * @memberof Submission
6271
6538
  */
6272
- 'googleProductId'?: string;
6539
+ 'id': string;
6273
6540
  /**
6274
6541
  *
6275
6542
  * @type {string}
6276
- * @memberof Subscription
6543
+ * @memberof Submission
6277
6544
  */
6278
- 'googlePlanId'?: string;
6545
+ 'jamId': string;
6279
6546
  /**
6280
6547
  *
6548
+ * @type {number}
6549
+ * @memberof Submission
6550
+ */
6551
+ 'ratingScore'?: number;
6552
+ /**
6553
+ * 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.
6281
6554
  * @type {string}
6282
- * @memberof Subscription
6555
+ * @memberof Submission
6283
6556
  */
6284
- 'picoSku'?: string;
6557
+ 'submitterId': string;
6558
+ }
6559
+ /**
6560
+ *
6561
+ * @export
6562
+ * @interface Subscription
6563
+ */
6564
+ export interface Subscription {
6285
6565
  /**
6286
6566
  *
6287
- * @type {number}
6567
+ * @type {string}
6288
6568
  * @memberof Subscription
6289
6569
  */
6290
- 'amount': number;
6570
+ 'id': string;
6291
6571
  /**
6292
6572
  *
6293
6573
  * @type {string}
6294
6574
  * @memberof Subscription
6295
6575
  */
6296
- 'description': string;
6576
+ 'steamItemId': string;
6577
+ /**
6578
+ *
6579
+ * @type {string}
6580
+ * @memberof Subscription
6581
+ */
6582
+ 'oculusSku'?: string;
6583
+ /**
6584
+ *
6585
+ * @type {string}
6586
+ * @memberof Subscription
6587
+ */
6588
+ 'googleProductId'?: string;
6589
+ /**
6590
+ *
6591
+ * @type {string}
6592
+ * @memberof Subscription
6593
+ */
6594
+ 'googlePlanId'?: string;
6595
+ /**
6596
+ *
6597
+ * @type {string}
6598
+ * @memberof Subscription
6599
+ */
6600
+ 'picoSku'?: string;
6601
+ /**
6602
+ *
6603
+ * @type {number}
6604
+ * @memberof Subscription
6605
+ */
6606
+ 'amount': number;
6607
+ /**
6608
+ *
6609
+ * @type {string}
6610
+ * @memberof Subscription
6611
+ */
6612
+ 'description': string;
6297
6613
  /**
6298
6614
  *
6299
6615
  * @type {SubscriptionPeriod}
@@ -7752,12 +8068,6 @@ export interface World {
7752
8068
  * @memberof World
7753
8069
  */
7754
8070
  'releaseStatus': ReleaseStatus;
7755
- /**
7756
- *
7757
- * @type {string}
7758
- * @memberof World
7759
- */
7760
- 'storeId': string | null;
7761
8071
  /**
7762
8072
  *
7763
8073
  * @type {Array<string>}
@@ -16060,6 +16370,252 @@ export class InviteApi extends BaseAPI {
16060
16370
  }
16061
16371
 
16062
16372
 
16373
+ /**
16374
+ * JamsApi - axios parameter creator
16375
+ * @export
16376
+ */
16377
+ export const JamsApiAxiosParamCreator = function (configuration?: Configuration) {
16378
+ return {
16379
+ /**
16380
+ * Returns a jam.
16381
+ * @summary Show jam information
16382
+ * @param {string} jamId Must be a valid query ID.
16383
+ * @param {*} [options] Override http request option.
16384
+ * @throws {RequiredError}
16385
+ */
16386
+ getJam: async (jamId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16387
+ // verify required parameter 'jamId' is not null or undefined
16388
+ assertParamExists('getJam', 'jamId', jamId)
16389
+ const localVarPath = `/jams/{jamId}`
16390
+ .replace(`{${"jamId"}}`, encodeURIComponent(String(jamId)));
16391
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16392
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16393
+ let baseOptions;
16394
+ if (configuration) {
16395
+ baseOptions = configuration.baseOptions;
16396
+ }
16397
+
16398
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16399
+ const localVarHeaderParameter = {} as any;
16400
+ const localVarQueryParameter = {} as any;
16401
+
16402
+ // authentication authCookie required
16403
+
16404
+
16405
+
16406
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16407
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16408
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16409
+
16410
+ return {
16411
+ url: toPathString(localVarUrlObj),
16412
+ options: localVarRequestOptions,
16413
+ };
16414
+ },
16415
+ /**
16416
+ * Returns all submissions of a jam.
16417
+ * @summary Show jam submissions
16418
+ * @param {string} jamId Must be a valid query ID.
16419
+ * @param {*} [options] Override http request option.
16420
+ * @throws {RequiredError}
16421
+ */
16422
+ getJamSubmissions: async (jamId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16423
+ // verify required parameter 'jamId' is not null or undefined
16424
+ assertParamExists('getJamSubmissions', 'jamId', jamId)
16425
+ const localVarPath = `/jams/{jamId}/submissions`
16426
+ .replace(`{${"jamId"}}`, encodeURIComponent(String(jamId)));
16427
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16428
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16429
+ let baseOptions;
16430
+ if (configuration) {
16431
+ baseOptions = configuration.baseOptions;
16432
+ }
16433
+
16434
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16435
+ const localVarHeaderParameter = {} as any;
16436
+ const localVarQueryParameter = {} as any;
16437
+
16438
+ // authentication authCookie required
16439
+
16440
+
16441
+
16442
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16443
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16444
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16445
+
16446
+ return {
16447
+ url: toPathString(localVarUrlObj),
16448
+ options: localVarRequestOptions,
16449
+ };
16450
+ },
16451
+ /**
16452
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
16453
+ * @summary Show jams list
16454
+ * @param {string} [type] Only show jams of this type (&#x60;avatar&#x60; or &#x60;world&#x60;).
16455
+ * @param {*} [options] Override http request option.
16456
+ * @throws {RequiredError}
16457
+ */
16458
+ getJams: async (type?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16459
+ const localVarPath = `/jams`;
16460
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16461
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16462
+ let baseOptions;
16463
+ if (configuration) {
16464
+ baseOptions = configuration.baseOptions;
16465
+ }
16466
+
16467
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16468
+ const localVarHeaderParameter = {} as any;
16469
+ const localVarQueryParameter = {} as any;
16470
+
16471
+ // authentication authCookie required
16472
+
16473
+ if (type !== undefined) {
16474
+ localVarQueryParameter['type'] = type;
16475
+ }
16476
+
16477
+
16478
+
16479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16481
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16482
+
16483
+ return {
16484
+ url: toPathString(localVarUrlObj),
16485
+ options: localVarRequestOptions,
16486
+ };
16487
+ },
16488
+ }
16489
+ };
16490
+
16491
+ /**
16492
+ * JamsApi - functional programming interface
16493
+ * @export
16494
+ */
16495
+ export const JamsApiFp = function(configuration?: Configuration) {
16496
+ const localVarAxiosParamCreator = JamsApiAxiosParamCreator(configuration)
16497
+ return {
16498
+ /**
16499
+ * Returns a jam.
16500
+ * @summary Show jam information
16501
+ * @param {string} jamId Must be a valid query ID.
16502
+ * @param {*} [options] Override http request option.
16503
+ * @throws {RequiredError}
16504
+ */
16505
+ async getJam(jamId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Jam>> {
16506
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getJam(jamId, options);
16507
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16508
+ },
16509
+ /**
16510
+ * Returns all submissions of a jam.
16511
+ * @summary Show jam submissions
16512
+ * @param {string} jamId Must be a valid query ID.
16513
+ * @param {*} [options] Override http request option.
16514
+ * @throws {RequiredError}
16515
+ */
16516
+ async getJamSubmissions(jamId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Submission>>> {
16517
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getJamSubmissions(jamId, options);
16518
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16519
+ },
16520
+ /**
16521
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
16522
+ * @summary Show jams list
16523
+ * @param {string} [type] Only show jams of this type (&#x60;avatar&#x60; or &#x60;world&#x60;).
16524
+ * @param {*} [options] Override http request option.
16525
+ * @throws {RequiredError}
16526
+ */
16527
+ async getJams(type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Jam>>> {
16528
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getJams(type, options);
16529
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16530
+ },
16531
+ }
16532
+ };
16533
+
16534
+ /**
16535
+ * JamsApi - factory interface
16536
+ * @export
16537
+ */
16538
+ export const JamsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
16539
+ const localVarFp = JamsApiFp(configuration)
16540
+ return {
16541
+ /**
16542
+ * Returns a jam.
16543
+ * @summary Show jam information
16544
+ * @param {string} jamId Must be a valid query ID.
16545
+ * @param {*} [options] Override http request option.
16546
+ * @throws {RequiredError}
16547
+ */
16548
+ getJam(jamId: string, options?: any): AxiosPromise<Jam> {
16549
+ return localVarFp.getJam(jamId, options).then((request) => request(axios, basePath));
16550
+ },
16551
+ /**
16552
+ * Returns all submissions of a jam.
16553
+ * @summary Show jam submissions
16554
+ * @param {string} jamId Must be a valid query ID.
16555
+ * @param {*} [options] Override http request option.
16556
+ * @throws {RequiredError}
16557
+ */
16558
+ getJamSubmissions(jamId: string, options?: any): AxiosPromise<Array<Submission>> {
16559
+ return localVarFp.getJamSubmissions(jamId, options).then((request) => request(axios, basePath));
16560
+ },
16561
+ /**
16562
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
16563
+ * @summary Show jams list
16564
+ * @param {string} [type] Only show jams of this type (&#x60;avatar&#x60; or &#x60;world&#x60;).
16565
+ * @param {*} [options] Override http request option.
16566
+ * @throws {RequiredError}
16567
+ */
16568
+ getJams(type?: string, options?: any): AxiosPromise<Array<Jam>> {
16569
+ return localVarFp.getJams(type, options).then((request) => request(axios, basePath));
16570
+ },
16571
+ };
16572
+ };
16573
+
16574
+ /**
16575
+ * JamsApi - object-oriented interface
16576
+ * @export
16577
+ * @class JamsApi
16578
+ * @extends {BaseAPI}
16579
+ */
16580
+ export class JamsApi extends BaseAPI {
16581
+ /**
16582
+ * Returns a jam.
16583
+ * @summary Show jam information
16584
+ * @param {string} jamId Must be a valid query ID.
16585
+ * @param {*} [options] Override http request option.
16586
+ * @throws {RequiredError}
16587
+ * @memberof JamsApi
16588
+ */
16589
+ public getJam(jamId: string, options?: AxiosRequestConfig) {
16590
+ return JamsApiFp(this.configuration).getJam(jamId, options).then((request) => request(this.axios, this.basePath));
16591
+ }
16592
+
16593
+ /**
16594
+ * Returns all submissions of a jam.
16595
+ * @summary Show jam submissions
16596
+ * @param {string} jamId Must be a valid query ID.
16597
+ * @param {*} [options] Override http request option.
16598
+ * @throws {RequiredError}
16599
+ * @memberof JamsApi
16600
+ */
16601
+ public getJamSubmissions(jamId: string, options?: AxiosRequestConfig) {
16602
+ return JamsApiFp(this.configuration).getJamSubmissions(jamId, options).then((request) => request(this.axios, this.basePath));
16603
+ }
16604
+
16605
+ /**
16606
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
16607
+ * @summary Show jams list
16608
+ * @param {string} [type] Only show jams of this type (&#x60;avatar&#x60; or &#x60;world&#x60;).
16609
+ * @param {*} [options] Override http request option.
16610
+ * @throws {RequiredError}
16611
+ * @memberof JamsApi
16612
+ */
16613
+ public getJams(type?: string, options?: AxiosRequestConfig) {
16614
+ return JamsApiFp(this.configuration).getJams(type, options).then((request) => request(this.axios, this.basePath));
16615
+ }
16616
+ }
16617
+
16618
+
16063
16619
  /**
16064
16620
  * NotificationsApi - axios parameter creator
16065
16621
  * @export
@@ -16161,6 +16717,42 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
16161
16717
 
16162
16718
 
16163
16719
 
16720
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16721
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16722
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16723
+
16724
+ return {
16725
+ url: toPathString(localVarUrlObj),
16726
+ options: localVarRequestOptions,
16727
+ };
16728
+ },
16729
+ /**
16730
+ * Get a notification by notification `not_` ID.
16731
+ * @summary Show notification
16732
+ * @param {string} notificationId Must be a valid notification ID.
16733
+ * @param {*} [options] Override http request option.
16734
+ * @throws {RequiredError}
16735
+ */
16736
+ getNotification: async (notificationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16737
+ // verify required parameter 'notificationId' is not null or undefined
16738
+ assertParamExists('getNotification', 'notificationId', notificationId)
16739
+ const localVarPath = `/auth/user/notifications/{notificationId}`
16740
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
16741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16743
+ let baseOptions;
16744
+ if (configuration) {
16745
+ baseOptions = configuration.baseOptions;
16746
+ }
16747
+
16748
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16749
+ const localVarHeaderParameter = {} as any;
16750
+ const localVarQueryParameter = {} as any;
16751
+
16752
+ // authentication authCookie required
16753
+
16754
+
16755
+
16164
16756
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16165
16757
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16166
16758
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16310,6 +16902,17 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
16310
16902
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotification(notificationId, options);
16311
16903
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16312
16904
  },
16905
+ /**
16906
+ * Get a notification by notification `not_` ID.
16907
+ * @summary Show notification
16908
+ * @param {string} notificationId Must be a valid notification ID.
16909
+ * @param {*} [options] Override http request option.
16910
+ * @throws {RequiredError}
16911
+ */
16912
+ async getNotification(notificationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
16913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotification(notificationId, options);
16914
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16915
+ },
16313
16916
  /**
16314
16917
  * Retrieve all of the current user\'s notifications.
16315
16918
  * @summary List Notifications
@@ -16376,6 +16979,16 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
16376
16979
  deleteNotification(notificationId: string, options?: any): AxiosPromise<Notification> {
16377
16980
  return localVarFp.deleteNotification(notificationId, options).then((request) => request(axios, basePath));
16378
16981
  },
16982
+ /**
16983
+ * Get a notification by notification `not_` ID.
16984
+ * @summary Show notification
16985
+ * @param {string} notificationId Must be a valid notification ID.
16986
+ * @param {*} [options] Override http request option.
16987
+ * @throws {RequiredError}
16988
+ */
16989
+ getNotification(notificationId: string, options?: any): AxiosPromise<Notification> {
16990
+ return localVarFp.getNotification(notificationId, options).then((request) => request(axios, basePath));
16991
+ },
16379
16992
  /**
16380
16993
  * Retrieve all of the current user\'s notifications.
16381
16994
  * @summary List Notifications
@@ -16446,6 +17059,18 @@ export class NotificationsApi extends BaseAPI {
16446
17059
  return NotificationsApiFp(this.configuration).deleteNotification(notificationId, options).then((request) => request(this.axios, this.basePath));
16447
17060
  }
16448
17061
 
17062
+ /**
17063
+ * Get a notification by notification `not_` ID.
17064
+ * @summary Show notification
17065
+ * @param {string} notificationId Must be a valid notification ID.
17066
+ * @param {*} [options] Override http request option.
17067
+ * @throws {RequiredError}
17068
+ * @memberof NotificationsApi
17069
+ */
17070
+ public getNotification(notificationId: string, options?: AxiosRequestConfig) {
17071
+ return NotificationsApiFp(this.configuration).getNotification(notificationId, options).then((request) => request(this.axios, this.basePath));
17072
+ }
17073
+
16449
17074
  /**
16450
17075
  * Retrieve all of the current user\'s notifications.
16451
17076
  * @summary List Notifications
@@ -16675,78 +17300,6 @@ export const PlayermoderationApiAxiosParamCreator = function (configuration?: Co
16675
17300
 
16676
17301
 
16677
17302
 
16678
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16679
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16680
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16681
-
16682
- return {
16683
- url: toPathString(localVarUrlObj),
16684
- options: localVarRequestOptions,
16685
- };
16686
- },
16687
- /**
16688
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
16689
- * @summary Delete Player Moderation
16690
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16691
- * @param {*} [options] Override http request option.
16692
- * @throws {RequiredError}
16693
- */
16694
- deletePlayerModeration: async (playerModerationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16695
- // verify required parameter 'playerModerationId' is not null or undefined
16696
- assertParamExists('deletePlayerModeration', 'playerModerationId', playerModerationId)
16697
- const localVarPath = `/auth/user/playermoderations/{playerModerationId}`
16698
- .replace(`{${"playerModerationId"}}`, encodeURIComponent(String(playerModerationId)));
16699
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16700
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16701
- let baseOptions;
16702
- if (configuration) {
16703
- baseOptions = configuration.baseOptions;
16704
- }
16705
-
16706
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
16707
- const localVarHeaderParameter = {} as any;
16708
- const localVarQueryParameter = {} as any;
16709
-
16710
- // authentication authCookie required
16711
-
16712
-
16713
-
16714
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16715
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16716
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16717
-
16718
- return {
16719
- url: toPathString(localVarUrlObj),
16720
- options: localVarRequestOptions,
16721
- };
16722
- },
16723
- /**
16724
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
16725
- * @summary Get Player Moderation
16726
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16727
- * @param {*} [options] Override http request option.
16728
- * @throws {RequiredError}
16729
- */
16730
- getPlayerModeration: async (playerModerationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16731
- // verify required parameter 'playerModerationId' is not null or undefined
16732
- assertParamExists('getPlayerModeration', 'playerModerationId', playerModerationId)
16733
- const localVarPath = `/auth/user/playermoderations/{playerModerationId}`
16734
- .replace(`{${"playerModerationId"}}`, encodeURIComponent(String(playerModerationId)));
16735
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16736
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16737
- let baseOptions;
16738
- if (configuration) {
16739
- baseOptions = configuration.baseOptions;
16740
- }
16741
-
16742
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16743
- const localVarHeaderParameter = {} as any;
16744
- const localVarQueryParameter = {} as any;
16745
-
16746
- // authentication authCookie required
16747
-
16748
-
16749
-
16750
17303
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16751
17304
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16752
17305
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16894,28 +17447,6 @@ export const PlayermoderationApiFp = function(configuration?: Configuration) {
16894
17447
  const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllPlayerModerations(options);
16895
17448
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16896
17449
  },
16897
- /**
16898
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
16899
- * @summary Delete Player Moderation
16900
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16901
- * @param {*} [options] Override http request option.
16902
- * @throws {RequiredError}
16903
- */
16904
- async deletePlayerModeration(playerModerationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
16905
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlayerModeration(playerModerationId, options);
16906
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16907
- },
16908
- /**
16909
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
16910
- * @summary Get Player Moderation
16911
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16912
- * @param {*} [options] Override http request option.
16913
- * @throws {RequiredError}
16914
- */
16915
- async getPlayerModeration(playerModerationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerModeration>> {
16916
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPlayerModeration(playerModerationId, options);
16917
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16918
- },
16919
17450
  /**
16920
17451
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
16921
17452
  * @summary Search Player Moderations
@@ -16969,26 +17500,6 @@ export const PlayermoderationApiFactory = function (configuration?: Configuratio
16969
17500
  clearAllPlayerModerations(options?: any): AxiosPromise<Success> {
16970
17501
  return localVarFp.clearAllPlayerModerations(options).then((request) => request(axios, basePath));
16971
17502
  },
16972
- /**
16973
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
16974
- * @summary Delete Player Moderation
16975
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16976
- * @param {*} [options] Override http request option.
16977
- * @throws {RequiredError}
16978
- */
16979
- deletePlayerModeration(playerModerationId: string, options?: any): AxiosPromise<Success> {
16980
- return localVarFp.deletePlayerModeration(playerModerationId, options).then((request) => request(axios, basePath));
16981
- },
16982
- /**
16983
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
16984
- * @summary Get Player Moderation
16985
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
16986
- * @param {*} [options] Override http request option.
16987
- * @throws {RequiredError}
16988
- */
16989
- getPlayerModeration(playerModerationId: string, options?: any): AxiosPromise<PlayerModeration> {
16990
- return localVarFp.getPlayerModeration(playerModerationId, options).then((request) => request(axios, basePath));
16991
- },
16992
17503
  /**
16993
17504
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
16994
17505
  * @summary Search Player Moderations
@@ -17041,30 +17552,6 @@ export class PlayermoderationApi extends BaseAPI {
17041
17552
  return PlayermoderationApiFp(this.configuration).clearAllPlayerModerations(options).then((request) => request(this.axios, this.basePath));
17042
17553
  }
17043
17554
 
17044
- /**
17045
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
17046
- * @summary Delete Player Moderation
17047
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
17048
- * @param {*} [options] Override http request option.
17049
- * @throws {RequiredError}
17050
- * @memberof PlayermoderationApi
17051
- */
17052
- public deletePlayerModeration(playerModerationId: string, options?: AxiosRequestConfig) {
17053
- return PlayermoderationApiFp(this.configuration).deletePlayerModeration(playerModerationId, options).then((request) => request(this.axios, this.basePath));
17054
- }
17055
-
17056
- /**
17057
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
17058
- * @summary Get Player Moderation
17059
- * @param {string} playerModerationId Must be a valid &#x60;pmod_&#x60; ID.
17060
- * @param {*} [options] Override http request option.
17061
- * @throws {RequiredError}
17062
- * @memberof PlayermoderationApi
17063
- */
17064
- public getPlayerModeration(playerModerationId: string, options?: AxiosRequestConfig) {
17065
- return PlayermoderationApiFp(this.configuration).getPlayerModeration(playerModerationId, options).then((request) => request(this.axios, this.basePath));
17066
- }
17067
-
17068
17555
  /**
17069
17556
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
17070
17557
  * @summary Search Player Moderations
@@ -18972,7 +19459,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
18972
19459
  * @param {*} [options] Override http request option.
18973
19460
  * @throws {RequiredError}
18974
19461
  */
18975
- async getFavoritedWorlds(featured?: boolean, sort?: SortOption, n?: number, order?: OrderOption, offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: ReleaseStatus, maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedWorld>>> {
19462
+ async getFavoritedWorlds(featured?: boolean, sort?: SortOption, n?: number, order?: OrderOption, offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: ReleaseStatus, maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FavoritedWorld>>> {
18976
19463
  const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
18977
19464
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18978
19465
  },
@@ -19174,7 +19661,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
19174
19661
  * @param {*} [options] Override http request option.
19175
19662
  * @throws {RequiredError}
19176
19663
  */
19177
- getFavoritedWorlds(featured?: boolean, sort?: SortOption, n?: number, order?: OrderOption, offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: ReleaseStatus, maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: any): AxiosPromise<Array<LimitedWorld>> {
19664
+ getFavoritedWorlds(featured?: boolean, sort?: SortOption, n?: number, order?: OrderOption, offset?: number, search?: string, tag?: string, notag?: string, releaseStatus?: ReleaseStatus, maxUnityVersion?: string, minUnityVersion?: string, platform?: string, userId?: string, options?: any): AxiosPromise<Array<FavoritedWorld>> {
19178
19665
  return localVarFp.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
19179
19666
  },
19180
19667
  /**