vrchat 1.18.4 → 1.18.6
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 +1638 -456
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1249 -115
- package/dist/api.js +364 -238
- 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.18.
|
|
6
|
+
* The version of the OpenAPI document: 1.18.6
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,6 +51,18 @@ export interface APIConfig {
|
|
|
51
51
|
* @memberof APIConfig
|
|
52
52
|
*/
|
|
53
53
|
'announcements': Set<APIConfigAnnouncement>;
|
|
54
|
+
/**
|
|
55
|
+
* Unknown
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof APIConfig
|
|
58
|
+
*/
|
|
59
|
+
'analyticsSegment_NewUI_PctOfUsers': number;
|
|
60
|
+
/**
|
|
61
|
+
* Unknown
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof APIConfig
|
|
64
|
+
*/
|
|
65
|
+
'analyticsSegment_NewUI_Salt': string;
|
|
54
66
|
/**
|
|
55
67
|
* Game name
|
|
56
68
|
* @type {string}
|
|
@@ -76,6 +88,12 @@ export interface APIConfig {
|
|
|
76
88
|
* @memberof APIConfig
|
|
77
89
|
*/
|
|
78
90
|
'buildVersionTag': string;
|
|
91
|
+
/**
|
|
92
|
+
* Unknown
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof APIConfig
|
|
95
|
+
*/
|
|
96
|
+
'chatboxLogBufferSeconds': number;
|
|
79
97
|
/**
|
|
80
98
|
* apiKey to be used for all other requests
|
|
81
99
|
* @type {string}
|
|
@@ -100,6 +118,12 @@ export interface APIConfig {
|
|
|
100
118
|
* @memberof APIConfig
|
|
101
119
|
*/
|
|
102
120
|
'clientNetDispatchThread'?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Unknown
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @memberof APIConfig
|
|
125
|
+
*/
|
|
126
|
+
'clientNetDispatchThreadMobile': boolean;
|
|
103
127
|
/**
|
|
104
128
|
* Unknown
|
|
105
129
|
* @type {boolean}
|
|
@@ -166,6 +190,12 @@ export interface APIConfig {
|
|
|
166
190
|
* @memberof APIConfig
|
|
167
191
|
*/
|
|
168
192
|
'clientSentCountAllowance': number;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {APIConfigConstants}
|
|
196
|
+
* @memberof APIConfig
|
|
197
|
+
*/
|
|
198
|
+
'constants': APIConfigConstants;
|
|
169
199
|
/**
|
|
170
200
|
* VRChat\'s contact email
|
|
171
201
|
* @type {string}
|
|
@@ -373,6 +403,18 @@ export interface APIConfig {
|
|
|
373
403
|
* @memberof APIConfig
|
|
374
404
|
*/
|
|
375
405
|
'events': APIConfigEvents;
|
|
406
|
+
/**
|
|
407
|
+
* Unknown
|
|
408
|
+
* @type {boolean}
|
|
409
|
+
* @memberof APIConfig
|
|
410
|
+
*/
|
|
411
|
+
'forceUseLatestWorld': boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Unknown
|
|
414
|
+
* @type {string}
|
|
415
|
+
* @memberof APIConfig
|
|
416
|
+
*/
|
|
417
|
+
'googleApiClientId': string;
|
|
376
418
|
/**
|
|
377
419
|
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
378
420
|
* @type {string}
|
|
@@ -403,6 +445,18 @@ export interface APIConfig {
|
|
|
403
445
|
* @memberof APIConfig
|
|
404
446
|
*/
|
|
405
447
|
'jobsEmail': string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {APIConfigMinSupportedClientBuildNumber}
|
|
451
|
+
* @memberof APIConfig
|
|
452
|
+
*/
|
|
453
|
+
'minSupportedClientBuildNumber': APIConfigMinSupportedClientBuildNumber;
|
|
454
|
+
/**
|
|
455
|
+
* Minimum Unity version required for uploading assets
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof APIConfig
|
|
458
|
+
*/
|
|
459
|
+
'minimumUnityVersionForUploads': string;
|
|
406
460
|
/**
|
|
407
461
|
* VRChat\'s moderation related email
|
|
408
462
|
* @type {string}
|
|
@@ -415,6 +469,48 @@ export interface APIConfig {
|
|
|
415
469
|
* @memberof APIConfig
|
|
416
470
|
*/
|
|
417
471
|
'notAllowedToSelectAvatarInPrivateWorldMessage': string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {APIConfigOfflineAnalysis}
|
|
475
|
+
* @memberof APIConfig
|
|
476
|
+
*/
|
|
477
|
+
'offlineAnalysis': APIConfigOfflineAnalysis;
|
|
478
|
+
/**
|
|
479
|
+
* Unknown
|
|
480
|
+
* @type {Array<string>}
|
|
481
|
+
* @memberof APIConfig
|
|
482
|
+
*/
|
|
483
|
+
'photonNameserverOverrides': Array<string>;
|
|
484
|
+
/**
|
|
485
|
+
* Unknown
|
|
486
|
+
* @type {Array<string>}
|
|
487
|
+
* @memberof APIConfig
|
|
488
|
+
*/
|
|
489
|
+
'photonPublicKeys': Array<string>;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {APIConfigReportCategories}
|
|
493
|
+
* @memberof APIConfig
|
|
494
|
+
*/
|
|
495
|
+
'reportCategories': APIConfigReportCategories;
|
|
496
|
+
/**
|
|
497
|
+
* URL to the report form
|
|
498
|
+
* @type {string}
|
|
499
|
+
* @memberof APIConfig
|
|
500
|
+
*/
|
|
501
|
+
'reportFormUrl': string;
|
|
502
|
+
/**
|
|
503
|
+
* Options for reporting content
|
|
504
|
+
* @type {object}
|
|
505
|
+
* @memberof APIConfig
|
|
506
|
+
*/
|
|
507
|
+
'reportOptions': object;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {APIConfigReportReasons}
|
|
511
|
+
* @memberof APIConfig
|
|
512
|
+
*/
|
|
513
|
+
'reportReasons': APIConfigReportReasons;
|
|
418
514
|
/**
|
|
419
515
|
* Link to the developer FAQ
|
|
420
516
|
* @type {string}
|
|
@@ -457,6 +553,12 @@ export interface APIConfig {
|
|
|
457
553
|
* @memberof APIConfig
|
|
458
554
|
*/
|
|
459
555
|
'supportEmail': string;
|
|
556
|
+
/**
|
|
557
|
+
* Unknown
|
|
558
|
+
* @type {boolean}
|
|
559
|
+
* @memberof APIConfig
|
|
560
|
+
*/
|
|
561
|
+
'timekeeping': boolean;
|
|
460
562
|
/**
|
|
461
563
|
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
462
564
|
* @type {string}
|
|
@@ -535,6 +637,24 @@ export interface APIConfig {
|
|
|
535
637
|
* @memberof APIConfig
|
|
536
638
|
*/
|
|
537
639
|
'player-url-resolver-sha1': string;
|
|
640
|
+
/**
|
|
641
|
+
* Unknown
|
|
642
|
+
* @type {number}
|
|
643
|
+
* @memberof APIConfig
|
|
644
|
+
*/
|
|
645
|
+
'websocketMaxFriendsRefreshDelay': number;
|
|
646
|
+
/**
|
|
647
|
+
* Unknown
|
|
648
|
+
* @type {number}
|
|
649
|
+
* @memberof APIConfig
|
|
650
|
+
*/
|
|
651
|
+
'websocketQuickReconnectTime': number;
|
|
652
|
+
/**
|
|
653
|
+
* Unknown
|
|
654
|
+
* @type {number}
|
|
655
|
+
* @memberof APIConfig
|
|
656
|
+
*/
|
|
657
|
+
'websocketReconnectMaxDelay': number;
|
|
538
658
|
}
|
|
539
659
|
/**
|
|
540
660
|
* Public Announcement
|
|
@@ -555,6 +675,206 @@ export interface APIConfigAnnouncement {
|
|
|
555
675
|
*/
|
|
556
676
|
'text': string;
|
|
557
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* Constants
|
|
680
|
+
* @export
|
|
681
|
+
* @interface APIConfigConstants
|
|
682
|
+
*/
|
|
683
|
+
export interface APIConfigConstants {
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @type {APIConfigConstantsGROUPS}
|
|
687
|
+
* @memberof APIConfigConstants
|
|
688
|
+
*/
|
|
689
|
+
'GROUPS': APIConfigConstantsGROUPS;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {APIConfigConstantsINSTANCE}
|
|
693
|
+
* @memberof APIConfigConstants
|
|
694
|
+
*/
|
|
695
|
+
'INSTANCE': APIConfigConstantsINSTANCE;
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {APIConfigConstantsLANGUAGE}
|
|
699
|
+
* @memberof APIConfigConstants
|
|
700
|
+
*/
|
|
701
|
+
'LANGUAGE': APIConfigConstantsLANGUAGE;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* Group-related constants
|
|
705
|
+
* @export
|
|
706
|
+
* @interface APIConfigConstantsGROUPS
|
|
707
|
+
*/
|
|
708
|
+
export interface APIConfigConstantsGROUPS {
|
|
709
|
+
/**
|
|
710
|
+
* Maximum group capacity
|
|
711
|
+
* @type {number}
|
|
712
|
+
* @memberof APIConfigConstantsGROUPS
|
|
713
|
+
*/
|
|
714
|
+
'CAPACITY'?: number;
|
|
715
|
+
/**
|
|
716
|
+
* Requirements for transferring group ownership
|
|
717
|
+
* @type {Array<string>}
|
|
718
|
+
* @memberof APIConfigConstantsGROUPS
|
|
719
|
+
*/
|
|
720
|
+
'GROUP_TRANSFER_REQUIREMENTS'?: Array<string>;
|
|
721
|
+
/**
|
|
722
|
+
* Maximum number of invite requests
|
|
723
|
+
* @type {number}
|
|
724
|
+
* @memberof APIConfigConstantsGROUPS
|
|
725
|
+
*/
|
|
726
|
+
'MAX_INVITES_REQUESTS'?: number;
|
|
727
|
+
/**
|
|
728
|
+
* Maximum number of joined groups
|
|
729
|
+
* @type {number}
|
|
730
|
+
* @memberof APIConfigConstantsGROUPS
|
|
731
|
+
*/
|
|
732
|
+
'MAX_JOINED'?: number;
|
|
733
|
+
/**
|
|
734
|
+
* Maximum number of joined groups for VRChat Plus members
|
|
735
|
+
* @type {number}
|
|
736
|
+
* @memberof APIConfigConstantsGROUPS
|
|
737
|
+
*/
|
|
738
|
+
'MAX_JOINED_PLUS'?: number;
|
|
739
|
+
/**
|
|
740
|
+
* Maximum number of supported languages
|
|
741
|
+
* @type {number}
|
|
742
|
+
* @memberof APIConfigConstantsGROUPS
|
|
743
|
+
*/
|
|
744
|
+
'MAX_LANGUAGES'?: number;
|
|
745
|
+
/**
|
|
746
|
+
* Maximum number of group links
|
|
747
|
+
* @type {number}
|
|
748
|
+
* @memberof APIConfigConstantsGROUPS
|
|
749
|
+
*/
|
|
750
|
+
'MAX_LINKS'?: number;
|
|
751
|
+
/**
|
|
752
|
+
* Maximum number of management roles in a group
|
|
753
|
+
* @type {number}
|
|
754
|
+
* @memberof APIConfigConstantsGROUPS
|
|
755
|
+
*/
|
|
756
|
+
'MAX_MANAGEMENT_ROLES'?: number;
|
|
757
|
+
/**
|
|
758
|
+
* Maximum number of groups a user can own
|
|
759
|
+
* @type {number}
|
|
760
|
+
* @memberof APIConfigConstantsGROUPS
|
|
761
|
+
*/
|
|
762
|
+
'MAX_OWNED'?: number;
|
|
763
|
+
/**
|
|
764
|
+
* Maximum number of roles in a group
|
|
765
|
+
* @type {number}
|
|
766
|
+
* @memberof APIConfigConstantsGROUPS
|
|
767
|
+
*/
|
|
768
|
+
'MAX_ROLES'?: number;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Instance-related constants
|
|
772
|
+
* @export
|
|
773
|
+
* @interface APIConfigConstantsINSTANCE
|
|
774
|
+
*/
|
|
775
|
+
export interface APIConfigConstantsINSTANCE {
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETS}
|
|
779
|
+
* @memberof APIConfigConstantsINSTANCE
|
|
780
|
+
*/
|
|
781
|
+
'POPULATION_BRACKETS'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETS;
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Population brackets based on instance population
|
|
785
|
+
* @export
|
|
786
|
+
* @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETS
|
|
787
|
+
*/
|
|
788
|
+
export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETS {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED}
|
|
792
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS
|
|
793
|
+
*/
|
|
794
|
+
'CROWDED'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW}
|
|
798
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS
|
|
799
|
+
*/
|
|
800
|
+
'FEW'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY}
|
|
804
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS
|
|
805
|
+
*/
|
|
806
|
+
'MANY'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Crowded population range
|
|
810
|
+
* @export
|
|
811
|
+
* @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED
|
|
812
|
+
*/
|
|
813
|
+
export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED {
|
|
814
|
+
/**
|
|
815
|
+
* Maximum population for a crowded instance
|
|
816
|
+
* @type {number}
|
|
817
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED
|
|
818
|
+
*/
|
|
819
|
+
'max'?: number;
|
|
820
|
+
/**
|
|
821
|
+
* Minimum population for a crowded instance
|
|
822
|
+
* @type {number}
|
|
823
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED
|
|
824
|
+
*/
|
|
825
|
+
'min'?: number;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Few population range
|
|
829
|
+
* @export
|
|
830
|
+
* @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW
|
|
831
|
+
*/
|
|
832
|
+
export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW {
|
|
833
|
+
/**
|
|
834
|
+
* Maximum population for a few instance
|
|
835
|
+
* @type {number}
|
|
836
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW
|
|
837
|
+
*/
|
|
838
|
+
'max'?: number;
|
|
839
|
+
/**
|
|
840
|
+
* Minimum population for a few instance
|
|
841
|
+
* @type {number}
|
|
842
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW
|
|
843
|
+
*/
|
|
844
|
+
'min'?: number;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Many population range
|
|
848
|
+
* @export
|
|
849
|
+
* @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY
|
|
850
|
+
*/
|
|
851
|
+
export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY {
|
|
852
|
+
/**
|
|
853
|
+
* Maximum population for a many instance
|
|
854
|
+
* @type {number}
|
|
855
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY
|
|
856
|
+
*/
|
|
857
|
+
'max'?: number;
|
|
858
|
+
/**
|
|
859
|
+
* Minimum population for a many instance
|
|
860
|
+
* @type {number}
|
|
861
|
+
* @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY
|
|
862
|
+
*/
|
|
863
|
+
'min'?: number;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Language-related constants
|
|
867
|
+
* @export
|
|
868
|
+
* @interface APIConfigConstantsLANGUAGE
|
|
869
|
+
*/
|
|
870
|
+
export interface APIConfigConstantsLANGUAGE {
|
|
871
|
+
/**
|
|
872
|
+
* Supported spoken language options
|
|
873
|
+
* @type {{ [key: string]: string; }}
|
|
874
|
+
* @memberof APIConfigConstantsLANGUAGE
|
|
875
|
+
*/
|
|
876
|
+
'SPOKEN_LANGUAGE_OPTIONS'?: { [key: string]: string; };
|
|
877
|
+
}
|
|
558
878
|
/**
|
|
559
879
|
* Download links for various development assets.
|
|
560
880
|
* @export
|
|
@@ -661,82 +981,362 @@ export interface APIConfigEvents {
|
|
|
661
981
|
'viewSegmentLength': number;
|
|
662
982
|
}
|
|
663
983
|
/**
|
|
664
|
-
*
|
|
984
|
+
* Minimum supported client build number for various platforms
|
|
665
985
|
* @export
|
|
666
|
-
* @interface
|
|
986
|
+
* @interface APIConfigMinSupportedClientBuildNumber
|
|
667
987
|
*/
|
|
668
|
-
export interface
|
|
988
|
+
export interface APIConfigMinSupportedClientBuildNumber {
|
|
669
989
|
/**
|
|
670
990
|
*
|
|
671
|
-
* @type {
|
|
672
|
-
* @memberof
|
|
991
|
+
* @type {PlatformBuildInfo}
|
|
992
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
673
993
|
*/
|
|
674
|
-
'
|
|
994
|
+
'AppStore': PlatformBuildInfo;
|
|
675
995
|
/**
|
|
676
996
|
*
|
|
677
|
-
* @type {
|
|
678
|
-
* @memberof
|
|
997
|
+
* @type {PlatformBuildInfo}
|
|
998
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
679
999
|
*/
|
|
680
|
-
'
|
|
1000
|
+
'Default': PlatformBuildInfo;
|
|
681
1001
|
/**
|
|
682
1002
|
*
|
|
683
|
-
* @type {
|
|
684
|
-
* @memberof
|
|
1003
|
+
* @type {PlatformBuildInfo}
|
|
1004
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
685
1005
|
*/
|
|
686
|
-
'
|
|
687
|
-
}
|
|
688
|
-
/**
|
|
689
|
-
*
|
|
690
|
-
* @export
|
|
691
|
-
* @interface AccountDeletionLog
|
|
692
|
-
*/
|
|
693
|
-
export interface AccountDeletionLog {
|
|
1006
|
+
'Firebase': PlatformBuildInfo;
|
|
694
1007
|
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {
|
|
697
|
-
* @memberof
|
|
1008
|
+
*
|
|
1009
|
+
* @type {PlatformBuildInfo}
|
|
1010
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
698
1011
|
*/
|
|
699
|
-
'
|
|
1012
|
+
'FirebaseiOS': PlatformBuildInfo;
|
|
700
1013
|
/**
|
|
701
|
-
*
|
|
702
|
-
* @type {
|
|
703
|
-
* @memberof
|
|
1014
|
+
*
|
|
1015
|
+
* @type {PlatformBuildInfo}
|
|
1016
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
704
1017
|
*/
|
|
705
|
-
'
|
|
1018
|
+
'GooglePlay': PlatformBuildInfo;
|
|
706
1019
|
/**
|
|
707
|
-
*
|
|
708
|
-
* @type {
|
|
709
|
-
* @memberof
|
|
1020
|
+
*
|
|
1021
|
+
* @type {PlatformBuildInfo}
|
|
1022
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
710
1023
|
*/
|
|
711
|
-
'
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
*
|
|
715
|
-
* @export
|
|
716
|
-
* @interface AddFavoriteRequest
|
|
717
|
-
*/
|
|
718
|
-
export interface AddFavoriteRequest {
|
|
1024
|
+
'PC': PlatformBuildInfo;
|
|
719
1025
|
/**
|
|
720
1026
|
*
|
|
721
|
-
* @type {
|
|
722
|
-
* @memberof
|
|
1027
|
+
* @type {PlatformBuildInfo}
|
|
1028
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
723
1029
|
*/
|
|
724
|
-
'
|
|
1030
|
+
'PicoStore': PlatformBuildInfo;
|
|
725
1031
|
/**
|
|
726
|
-
*
|
|
727
|
-
* @type {
|
|
728
|
-
* @memberof
|
|
1032
|
+
*
|
|
1033
|
+
* @type {PlatformBuildInfo}
|
|
1034
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
729
1035
|
*/
|
|
730
|
-
'
|
|
1036
|
+
'QuestAppLab': PlatformBuildInfo;
|
|
731
1037
|
/**
|
|
732
|
-
*
|
|
733
|
-
* @type {
|
|
734
|
-
* @memberof
|
|
1038
|
+
*
|
|
1039
|
+
* @type {PlatformBuildInfo}
|
|
1040
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
735
1041
|
*/
|
|
736
|
-
'
|
|
1042
|
+
'QuestStore': PlatformBuildInfo;
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @type {PlatformBuildInfo}
|
|
1046
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
1047
|
+
*/
|
|
1048
|
+
'TestFlight': PlatformBuildInfo;
|
|
1049
|
+
/**
|
|
1050
|
+
*
|
|
1051
|
+
* @type {PlatformBuildInfo}
|
|
1052
|
+
* @memberof APIConfigMinSupportedClientBuildNumber
|
|
1053
|
+
*/
|
|
1054
|
+
'XRElite': PlatformBuildInfo;
|
|
737
1055
|
}
|
|
738
1056
|
/**
|
|
739
|
-
*
|
|
1057
|
+
* Whether to allow offline analysis
|
|
1058
|
+
* @export
|
|
1059
|
+
* @interface APIConfigOfflineAnalysis
|
|
1060
|
+
*/
|
|
1061
|
+
export interface APIConfigOfflineAnalysis {
|
|
1062
|
+
/**
|
|
1063
|
+
* Whether to allow offline analysis
|
|
1064
|
+
* @type {boolean}
|
|
1065
|
+
* @memberof APIConfigOfflineAnalysis
|
|
1066
|
+
*/
|
|
1067
|
+
'android'?: boolean;
|
|
1068
|
+
/**
|
|
1069
|
+
* Whether to allow offline analysis
|
|
1070
|
+
* @type {boolean}
|
|
1071
|
+
* @memberof APIConfigOfflineAnalysis
|
|
1072
|
+
*/
|
|
1073
|
+
'standalonewindows'?: boolean;
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* Categories available for reporting objectionable content
|
|
1077
|
+
* @export
|
|
1078
|
+
* @interface APIConfigReportCategories
|
|
1079
|
+
*/
|
|
1080
|
+
export interface APIConfigReportCategories {
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @type {ReportCategory}
|
|
1084
|
+
* @memberof APIConfigReportCategories
|
|
1085
|
+
*/
|
|
1086
|
+
'avatar': ReportCategory;
|
|
1087
|
+
/**
|
|
1088
|
+
*
|
|
1089
|
+
* @type {ReportCategory}
|
|
1090
|
+
* @memberof APIConfigReportCategories
|
|
1091
|
+
*/
|
|
1092
|
+
'behavior': ReportCategory;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {ReportCategory}
|
|
1096
|
+
* @memberof APIConfigReportCategories
|
|
1097
|
+
*/
|
|
1098
|
+
'chat': ReportCategory;
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @type {ReportCategory}
|
|
1102
|
+
* @memberof APIConfigReportCategories
|
|
1103
|
+
*/
|
|
1104
|
+
'environment': ReportCategory;
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @type {ReportCategory}
|
|
1108
|
+
* @memberof APIConfigReportCategories
|
|
1109
|
+
*/
|
|
1110
|
+
'groupstore': ReportCategory;
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @type {ReportCategory}
|
|
1114
|
+
* @memberof APIConfigReportCategories
|
|
1115
|
+
*/
|
|
1116
|
+
'image': ReportCategory;
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @type {ReportCategory}
|
|
1120
|
+
* @memberof APIConfigReportCategories
|
|
1121
|
+
*/
|
|
1122
|
+
'text': ReportCategory;
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @type {ReportCategory}
|
|
1126
|
+
* @memberof APIConfigReportCategories
|
|
1127
|
+
*/
|
|
1128
|
+
'warnings': ReportCategory;
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @type {ReportCategory}
|
|
1132
|
+
* @memberof APIConfigReportCategories
|
|
1133
|
+
*/
|
|
1134
|
+
'worldimage': ReportCategory;
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {ReportCategory}
|
|
1138
|
+
* @memberof APIConfigReportCategories
|
|
1139
|
+
*/
|
|
1140
|
+
'worldstore': ReportCategory;
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Reasons available for reporting users
|
|
1144
|
+
* @export
|
|
1145
|
+
* @interface APIConfigReportReasons
|
|
1146
|
+
*/
|
|
1147
|
+
export interface APIConfigReportReasons {
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {ReportReason}
|
|
1151
|
+
* @memberof APIConfigReportReasons
|
|
1152
|
+
*/
|
|
1153
|
+
'billing': ReportReason;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {ReportReason}
|
|
1157
|
+
* @memberof APIConfigReportReasons
|
|
1158
|
+
*/
|
|
1159
|
+
'botting': ReportReason;
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @type {ReportReason}
|
|
1163
|
+
* @memberof APIConfigReportReasons
|
|
1164
|
+
*/
|
|
1165
|
+
'cancellation': ReportReason;
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @type {ReportReason}
|
|
1169
|
+
* @memberof APIConfigReportReasons
|
|
1170
|
+
*/
|
|
1171
|
+
'gore': ReportReason;
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @type {ReportReason}
|
|
1175
|
+
* @memberof APIConfigReportReasons
|
|
1176
|
+
*/
|
|
1177
|
+
'hacking': ReportReason;
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @type {ReportReason}
|
|
1181
|
+
* @memberof APIConfigReportReasons
|
|
1182
|
+
*/
|
|
1183
|
+
'harassing': ReportReason;
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @type {ReportReason}
|
|
1187
|
+
* @memberof APIConfigReportReasons
|
|
1188
|
+
*/
|
|
1189
|
+
'hateful': ReportReason;
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @type {ReportReason}
|
|
1193
|
+
* @memberof APIConfigReportReasons
|
|
1194
|
+
*/
|
|
1195
|
+
'impersonation': ReportReason;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @type {ReportReason}
|
|
1199
|
+
* @memberof APIConfigReportReasons
|
|
1200
|
+
*/
|
|
1201
|
+
'inappropriate': ReportReason;
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* @type {ReportReason}
|
|
1205
|
+
* @memberof APIConfigReportReasons
|
|
1206
|
+
*/
|
|
1207
|
+
'leaking': ReportReason;
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @type {ReportReason}
|
|
1211
|
+
* @memberof APIConfigReportReasons
|
|
1212
|
+
*/
|
|
1213
|
+
'malicious': ReportReason;
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
* @type {ReportReason}
|
|
1217
|
+
* @memberof APIConfigReportReasons
|
|
1218
|
+
*/
|
|
1219
|
+
'missing': ReportReason;
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @type {ReportReason}
|
|
1223
|
+
* @memberof APIConfigReportReasons
|
|
1224
|
+
*/
|
|
1225
|
+
'nudity': ReportReason;
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @type {ReportReason}
|
|
1229
|
+
* @memberof APIConfigReportReasons
|
|
1230
|
+
*/
|
|
1231
|
+
'renewal': ReportReason;
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @type {ReportReason}
|
|
1235
|
+
* @memberof APIConfigReportReasons
|
|
1236
|
+
*/
|
|
1237
|
+
'security': ReportReason;
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {ReportReason}
|
|
1241
|
+
* @memberof APIConfigReportReasons
|
|
1242
|
+
*/
|
|
1243
|
+
'service': ReportReason;
|
|
1244
|
+
/**
|
|
1245
|
+
*
|
|
1246
|
+
* @type {ReportReason}
|
|
1247
|
+
* @memberof APIConfigReportReasons
|
|
1248
|
+
*/
|
|
1249
|
+
'sexual': ReportReason;
|
|
1250
|
+
/**
|
|
1251
|
+
*
|
|
1252
|
+
* @type {ReportReason}
|
|
1253
|
+
* @memberof APIConfigReportReasons
|
|
1254
|
+
*/
|
|
1255
|
+
'threatening': ReportReason;
|
|
1256
|
+
/**
|
|
1257
|
+
*
|
|
1258
|
+
* @type {ReportReason}
|
|
1259
|
+
* @memberof APIConfigReportReasons
|
|
1260
|
+
*/
|
|
1261
|
+
'visuals': ReportReason;
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @export
|
|
1266
|
+
* @interface APIHealth
|
|
1267
|
+
*/
|
|
1268
|
+
export interface APIHealth {
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @type {boolean}
|
|
1272
|
+
* @memberof APIHealth
|
|
1273
|
+
*/
|
|
1274
|
+
'ok': boolean;
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @type {string}
|
|
1278
|
+
* @memberof APIHealth
|
|
1279
|
+
*/
|
|
1280
|
+
'serverName': string;
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @type {string}
|
|
1284
|
+
* @memberof APIHealth
|
|
1285
|
+
*/
|
|
1286
|
+
'buildVersionTag': string;
|
|
1287
|
+
}
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @export
|
|
1291
|
+
* @interface AccountDeletionLog
|
|
1292
|
+
*/
|
|
1293
|
+
export interface AccountDeletionLog {
|
|
1294
|
+
/**
|
|
1295
|
+
* Typically \"Deletion requested\" or \"Deletion canceled\". Other messages like \"Deletion completed\" may exist, but are these are not possible to see as a regular user.
|
|
1296
|
+
* @type {string}
|
|
1297
|
+
* @memberof AccountDeletionLog
|
|
1298
|
+
*/
|
|
1299
|
+
'message'?: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* When the deletion is scheduled to happen, standard is 14 days after the request.
|
|
1302
|
+
* @type {string}
|
|
1303
|
+
* @memberof AccountDeletionLog
|
|
1304
|
+
*/
|
|
1305
|
+
'deletionScheduled'?: string | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Date and time of the deletion request.
|
|
1308
|
+
* @type {string}
|
|
1309
|
+
* @memberof AccountDeletionLog
|
|
1310
|
+
*/
|
|
1311
|
+
'dateTime'?: string;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
*
|
|
1315
|
+
* @export
|
|
1316
|
+
* @interface AddFavoriteRequest
|
|
1317
|
+
*/
|
|
1318
|
+
export interface AddFavoriteRequest {
|
|
1319
|
+
/**
|
|
1320
|
+
*
|
|
1321
|
+
* @type {FavoriteType}
|
|
1322
|
+
* @memberof AddFavoriteRequest
|
|
1323
|
+
*/
|
|
1324
|
+
'type': FavoriteType;
|
|
1325
|
+
/**
|
|
1326
|
+
* Must be either AvatarID, WorldID or UserID.
|
|
1327
|
+
* @type {string}
|
|
1328
|
+
* @memberof AddFavoriteRequest
|
|
1329
|
+
*/
|
|
1330
|
+
'favoriteId': string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all.
|
|
1333
|
+
* @type {Array<string>}
|
|
1334
|
+
* @memberof AddFavoriteRequest
|
|
1335
|
+
*/
|
|
1336
|
+
'tags': Array<string>;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
740
1340
|
* @export
|
|
741
1341
|
* @interface AddGroupGalleryImageRequest
|
|
742
1342
|
*/
|
|
@@ -2186,100 +2786,275 @@ export type FavoriteType = typeof FavoriteType[keyof typeof FavoriteType];
|
|
|
2186
2786
|
/**
|
|
2187
2787
|
*
|
|
2188
2788
|
* @export
|
|
2189
|
-
* @interface
|
|
2789
|
+
* @interface FavoritedWorld
|
|
2190
2790
|
*/
|
|
2191
|
-
export interface
|
|
2791
|
+
export interface FavoritedWorld {
|
|
2192
2792
|
/**
|
|
2193
|
-
*
|
|
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.
|
|
2194
2794
|
* @type {string}
|
|
2195
|
-
* @memberof
|
|
2795
|
+
* @memberof FavoritedWorld
|
|
2196
2796
|
*/
|
|
2197
|
-
'
|
|
2797
|
+
'authorId': string;
|
|
2198
2798
|
/**
|
|
2199
2799
|
*
|
|
2200
2800
|
* @type {string}
|
|
2201
|
-
* @memberof
|
|
2801
|
+
* @memberof FavoritedWorld
|
|
2202
2802
|
*/
|
|
2203
|
-
'
|
|
2803
|
+
'authorName': string;
|
|
2204
2804
|
/**
|
|
2205
2805
|
*
|
|
2206
|
-
* @type {
|
|
2207
|
-
* @memberof
|
|
2806
|
+
* @type {number}
|
|
2807
|
+
* @memberof FavoritedWorld
|
|
2208
2808
|
*/
|
|
2209
|
-
'
|
|
2809
|
+
'capacity': number;
|
|
2210
2810
|
/**
|
|
2211
2811
|
*
|
|
2212
|
-
* @type {
|
|
2213
|
-
* @memberof
|
|
2812
|
+
* @type {string}
|
|
2813
|
+
* @memberof FavoritedWorld
|
|
2214
2814
|
*/
|
|
2215
|
-
'
|
|
2815
|
+
'description': string;
|
|
2216
2816
|
/**
|
|
2217
2817
|
*
|
|
2218
|
-
* @type {
|
|
2219
|
-
* @memberof
|
|
2818
|
+
* @type {number}
|
|
2819
|
+
* @memberof FavoritedWorld
|
|
2220
2820
|
*/
|
|
2221
|
-
'
|
|
2821
|
+
'recommendedCapacity'?: number;
|
|
2222
2822
|
/**
|
|
2223
2823
|
*
|
|
2224
2824
|
* @type {string}
|
|
2225
|
-
* @memberof
|
|
2825
|
+
* @memberof FavoritedWorld
|
|
2226
2826
|
*/
|
|
2227
|
-
'
|
|
2827
|
+
'created_at': string;
|
|
2228
2828
|
/**
|
|
2229
2829
|
*
|
|
2230
|
-
* @type {
|
|
2231
|
-
* @memberof
|
|
2830
|
+
* @type {number}
|
|
2831
|
+
* @memberof FavoritedWorld
|
|
2232
2832
|
*/
|
|
2233
|
-
'
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
export const FileDataCategoryEnum = {
|
|
2237
|
-
Multipart: 'multipart',
|
|
2238
|
-
Queued: 'queued',
|
|
2239
|
-
Simple: 'simple'
|
|
2240
|
-
} as const;
|
|
2241
|
-
|
|
2242
|
-
export type FileDataCategoryEnum = typeof FileDataCategoryEnum[keyof typeof FileDataCategoryEnum];
|
|
2243
|
-
|
|
2244
|
-
/**
|
|
2245
|
-
*
|
|
2246
|
-
* @export
|
|
2247
|
-
* @enum {string}
|
|
2248
|
-
*/
|
|
2249
|
-
|
|
2250
|
-
export const FileStatus = {
|
|
2251
|
-
Waiting: 'waiting',
|
|
2252
|
-
Complete: 'complete',
|
|
2253
|
-
None: 'none',
|
|
2254
|
-
Queued: 'queued'
|
|
2255
|
-
} as const;
|
|
2256
|
-
|
|
2257
|
-
export type FileStatus = typeof FileStatus[keyof typeof FileStatus];
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
/**
|
|
2261
|
-
*
|
|
2262
|
-
* @export
|
|
2263
|
-
* @interface FileUploadURL
|
|
2264
|
-
*/
|
|
2265
|
-
export interface FileUploadURL {
|
|
2833
|
+
'favorites': number;
|
|
2266
2834
|
/**
|
|
2267
2835
|
*
|
|
2268
2836
|
* @type {string}
|
|
2269
|
-
* @memberof
|
|
2837
|
+
* @memberof FavoritedWorld
|
|
2270
2838
|
*/
|
|
2271
|
-
'
|
|
2272
|
-
}
|
|
2273
|
-
/**
|
|
2274
|
-
*
|
|
2275
|
-
* @export
|
|
2276
|
-
* @interface FileVersion
|
|
2277
|
-
*/
|
|
2278
|
-
export interface FileVersion {
|
|
2839
|
+
'favoriteGroup': string;
|
|
2279
2840
|
/**
|
|
2280
2841
|
*
|
|
2281
2842
|
* @type {string}
|
|
2282
|
-
* @memberof
|
|
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
|
+
}
|
|
2961
|
+
/**
|
|
2962
|
+
*
|
|
2963
|
+
* @export
|
|
2964
|
+
* @interface FileData
|
|
2965
|
+
*/
|
|
2966
|
+
export interface FileData {
|
|
2967
|
+
/**
|
|
2968
|
+
*
|
|
2969
|
+
* @type {string}
|
|
2970
|
+
* @memberof FileData
|
|
2971
|
+
*/
|
|
2972
|
+
'category': FileDataCategoryEnum;
|
|
2973
|
+
/**
|
|
2974
|
+
*
|
|
2975
|
+
* @type {string}
|
|
2976
|
+
* @memberof FileData
|
|
2977
|
+
*/
|
|
2978
|
+
'fileName': string;
|
|
2979
|
+
/**
|
|
2980
|
+
*
|
|
2981
|
+
* @type {string}
|
|
2982
|
+
* @memberof FileData
|
|
2983
|
+
*/
|
|
2984
|
+
'md5'?: string;
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @type {number}
|
|
2988
|
+
* @memberof FileData
|
|
2989
|
+
*/
|
|
2990
|
+
'sizeInBytes': number;
|
|
2991
|
+
/**
|
|
2992
|
+
*
|
|
2993
|
+
* @type {FileStatus}
|
|
2994
|
+
* @memberof FileData
|
|
2995
|
+
*/
|
|
2996
|
+
'status': FileStatus;
|
|
2997
|
+
/**
|
|
2998
|
+
*
|
|
2999
|
+
* @type {string}
|
|
3000
|
+
* @memberof FileData
|
|
3001
|
+
*/
|
|
3002
|
+
'uploadId': string;
|
|
3003
|
+
/**
|
|
3004
|
+
*
|
|
3005
|
+
* @type {string}
|
|
3006
|
+
* @memberof FileData
|
|
3007
|
+
*/
|
|
3008
|
+
'url': string;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
export const FileDataCategoryEnum = {
|
|
3012
|
+
Multipart: 'multipart',
|
|
3013
|
+
Queued: 'queued',
|
|
3014
|
+
Simple: 'simple'
|
|
3015
|
+
} as const;
|
|
3016
|
+
|
|
3017
|
+
export type FileDataCategoryEnum = typeof FileDataCategoryEnum[keyof typeof FileDataCategoryEnum];
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
*
|
|
3021
|
+
* @export
|
|
3022
|
+
* @enum {string}
|
|
3023
|
+
*/
|
|
3024
|
+
|
|
3025
|
+
export const FileStatus = {
|
|
3026
|
+
Waiting: 'waiting',
|
|
3027
|
+
Complete: 'complete',
|
|
3028
|
+
None: 'none',
|
|
3029
|
+
Queued: 'queued'
|
|
3030
|
+
} as const;
|
|
3031
|
+
|
|
3032
|
+
export type FileStatus = typeof FileStatus[keyof typeof FileStatus];
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
*
|
|
3037
|
+
* @export
|
|
3038
|
+
* @interface FileUploadURL
|
|
3039
|
+
*/
|
|
3040
|
+
export interface FileUploadURL {
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @type {string}
|
|
3044
|
+
* @memberof FileUploadURL
|
|
3045
|
+
*/
|
|
3046
|
+
'url': string;
|
|
3047
|
+
}
|
|
3048
|
+
/**
|
|
3049
|
+
*
|
|
3050
|
+
* @export
|
|
3051
|
+
* @interface FileVersion
|
|
3052
|
+
*/
|
|
3053
|
+
export interface FileVersion {
|
|
3054
|
+
/**
|
|
3055
|
+
*
|
|
3056
|
+
* @type {string}
|
|
3057
|
+
* @memberof FileVersion
|
|
2283
3058
|
*/
|
|
2284
3059
|
'created_at': string;
|
|
2285
3060
|
/**
|
|
@@ -2420,6 +3195,12 @@ export interface FriendStatus {
|
|
|
2420
3195
|
* @interface Group
|
|
2421
3196
|
*/
|
|
2422
3197
|
export interface Group {
|
|
3198
|
+
/**
|
|
3199
|
+
*
|
|
3200
|
+
* @type {Array<string>}
|
|
3201
|
+
* @memberof Group
|
|
3202
|
+
*/
|
|
3203
|
+
'badges'?: Array<string>;
|
|
2423
3204
|
/**
|
|
2424
3205
|
*
|
|
2425
3206
|
* @type {string}
|
|
@@ -3024,6 +3805,18 @@ export interface GroupLimitedMember {
|
|
|
3024
3805
|
* @interface GroupMember
|
|
3025
3806
|
*/
|
|
3026
3807
|
export interface GroupMember {
|
|
3808
|
+
/**
|
|
3809
|
+
*
|
|
3810
|
+
* @type {string}
|
|
3811
|
+
* @memberof GroupMember
|
|
3812
|
+
*/
|
|
3813
|
+
'acceptedByDisplayName'?: string | null;
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @type {string}
|
|
3817
|
+
* @memberof GroupMember
|
|
3818
|
+
*/
|
|
3819
|
+
'acceptedById'?: string | null;
|
|
3027
3820
|
/**
|
|
3028
3821
|
*
|
|
3029
3822
|
* @type {string}
|
|
@@ -3225,11 +4018,11 @@ export interface GroupMyMember {
|
|
|
3225
4018
|
*/
|
|
3226
4019
|
'acceptedByDisplayName'?: string | null;
|
|
3227
4020
|
/**
|
|
3228
|
-
*
|
|
4021
|
+
*
|
|
3229
4022
|
* @type {string}
|
|
3230
4023
|
* @memberof GroupMyMember
|
|
3231
4024
|
*/
|
|
3232
|
-
'acceptedById'?: string;
|
|
4025
|
+
'acceptedById'?: string | null;
|
|
3233
4026
|
/**
|
|
3234
4027
|
*
|
|
3235
4028
|
* @type {string}
|
|
@@ -3803,12 +4596,24 @@ export interface Instance {
|
|
|
3803
4596
|
* @deprecated
|
|
3804
4597
|
*/
|
|
3805
4598
|
'clientNumber': string;
|
|
4599
|
+
/**
|
|
4600
|
+
*
|
|
4601
|
+
* @type {string}
|
|
4602
|
+
* @memberof Instance
|
|
4603
|
+
*/
|
|
4604
|
+
'displayName': string | null;
|
|
3806
4605
|
/**
|
|
3807
4606
|
*
|
|
3808
4607
|
* @type {boolean}
|
|
3809
4608
|
* @memberof Instance
|
|
3810
4609
|
*/
|
|
3811
4610
|
'full': boolean;
|
|
4611
|
+
/**
|
|
4612
|
+
*
|
|
4613
|
+
* @type {number}
|
|
4614
|
+
* @memberof Instance
|
|
4615
|
+
*/
|
|
4616
|
+
'gameServerVersion': number;
|
|
3812
4617
|
/**
|
|
3813
4618
|
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
3814
4619
|
* @type {string}
|
|
@@ -3821,6 +4626,12 @@ export interface Instance {
|
|
|
3821
4626
|
* @memberof Instance
|
|
3822
4627
|
*/
|
|
3823
4628
|
'instanceId': string;
|
|
4629
|
+
/**
|
|
4630
|
+
*
|
|
4631
|
+
* @type {string}
|
|
4632
|
+
* @memberof Instance
|
|
4633
|
+
*/
|
|
4634
|
+
'instancePersistenceEnabled': string | null;
|
|
3824
4635
|
/**
|
|
3825
4636
|
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
3826
4637
|
* @type {string}
|
|
@@ -3863,6 +4674,12 @@ export interface Instance {
|
|
|
3863
4674
|
* @memberof Instance
|
|
3864
4675
|
*/
|
|
3865
4676
|
'platforms': InstancePlatforms;
|
|
4677
|
+
/**
|
|
4678
|
+
*
|
|
4679
|
+
* @type {string}
|
|
4680
|
+
* @memberof Instance
|
|
4681
|
+
*/
|
|
4682
|
+
'playerPersistenceEnabled': string | null;
|
|
3866
4683
|
/**
|
|
3867
4684
|
*
|
|
3868
4685
|
* @type {InstanceRegion}
|
|
@@ -4008,6 +4825,12 @@ export interface InstancePlatforms {
|
|
|
4008
4825
|
* @memberof InstancePlatforms
|
|
4009
4826
|
*/
|
|
4010
4827
|
'android': number;
|
|
4828
|
+
/**
|
|
4829
|
+
*
|
|
4830
|
+
* @type {number}
|
|
4831
|
+
* @memberof InstancePlatforms
|
|
4832
|
+
*/
|
|
4833
|
+
'ios'?: number;
|
|
4011
4834
|
/**
|
|
4012
4835
|
*
|
|
4013
4836
|
* @type {number}
|
|
@@ -4049,7 +4872,7 @@ export interface InstanceShortNameResponse {
|
|
|
4049
4872
|
* @type {string}
|
|
4050
4873
|
* @memberof InstanceShortNameResponse
|
|
4051
4874
|
*/
|
|
4052
|
-
'shortName'?: string;
|
|
4875
|
+
'shortName'?: string | null;
|
|
4053
4876
|
}
|
|
4054
4877
|
/**
|
|
4055
4878
|
*
|
|
@@ -4168,31 +4991,129 @@ export interface InviteResponse {
|
|
|
4168
4991
|
/**
|
|
4169
4992
|
*
|
|
4170
4993
|
* @export
|
|
4171
|
-
* @interface
|
|
4994
|
+
* @interface Jam
|
|
4172
4995
|
*/
|
|
4173
|
-
export interface
|
|
4996
|
+
export interface Jam {
|
|
4174
4997
|
/**
|
|
4175
|
-
*
|
|
4998
|
+
*
|
|
4176
4999
|
* @type {string}
|
|
4177
|
-
* @memberof
|
|
5000
|
+
* @memberof Jam
|
|
4178
5001
|
*/
|
|
4179
|
-
'
|
|
5002
|
+
'description': string;
|
|
4180
5003
|
/**
|
|
4181
5004
|
*
|
|
4182
|
-
* @type {
|
|
4183
|
-
* @memberof
|
|
5005
|
+
* @type {string}
|
|
5006
|
+
* @memberof Jam
|
|
4184
5007
|
*/
|
|
4185
|
-
'
|
|
5008
|
+
'id': string;
|
|
4186
5009
|
/**
|
|
4187
5010
|
*
|
|
4188
|
-
* @type {
|
|
4189
|
-
* @memberof
|
|
5011
|
+
* @type {boolean}
|
|
5012
|
+
* @memberof Jam
|
|
4190
5013
|
*/
|
|
4191
|
-
'
|
|
5014
|
+
'isVisible': boolean;
|
|
4192
5015
|
/**
|
|
4193
5016
|
*
|
|
4194
|
-
* @type {
|
|
4195
|
-
* @memberof
|
|
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
|
+
}
|
|
5089
|
+
/**
|
|
5090
|
+
*
|
|
5091
|
+
* @export
|
|
5092
|
+
* @interface License
|
|
5093
|
+
*/
|
|
5094
|
+
export interface License {
|
|
5095
|
+
/**
|
|
5096
|
+
* Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field.
|
|
5097
|
+
* @type {string}
|
|
5098
|
+
* @memberof License
|
|
5099
|
+
*/
|
|
5100
|
+
'forId': string;
|
|
5101
|
+
/**
|
|
5102
|
+
*
|
|
5103
|
+
* @type {LicenseType}
|
|
5104
|
+
* @memberof License
|
|
5105
|
+
*/
|
|
5106
|
+
'forType': LicenseType;
|
|
5107
|
+
/**
|
|
5108
|
+
*
|
|
5109
|
+
* @type {string}
|
|
5110
|
+
* @memberof License
|
|
5111
|
+
*/
|
|
5112
|
+
'forName': string;
|
|
5113
|
+
/**
|
|
5114
|
+
*
|
|
5115
|
+
* @type {LicenseAction}
|
|
5116
|
+
* @memberof License
|
|
4196
5117
|
*/
|
|
4197
5118
|
'forAction': LicenseAction;
|
|
4198
5119
|
}
|
|
@@ -4457,6 +5378,12 @@ export interface LimitedUser {
|
|
|
4457
5378
|
* @memberof LimitedUser
|
|
4458
5379
|
*/
|
|
4459
5380
|
'last_platform': string;
|
|
5381
|
+
/**
|
|
5382
|
+
*
|
|
5383
|
+
* @type {string}
|
|
5384
|
+
* @memberof LimitedUser
|
|
5385
|
+
*/
|
|
5386
|
+
'last_login'?: string | null;
|
|
4460
5387
|
/**
|
|
4461
5388
|
*
|
|
4462
5389
|
* @type {string}
|
|
@@ -5120,12 +6047,42 @@ export interface PastDisplayName {
|
|
|
5120
6047
|
*/
|
|
5121
6048
|
'updated_at': string;
|
|
5122
6049
|
}
|
|
6050
|
+
/**
|
|
6051
|
+
* Avatar Performance ratings.
|
|
6052
|
+
* @export
|
|
6053
|
+
* @enum {string}
|
|
6054
|
+
*/
|
|
6055
|
+
|
|
6056
|
+
export const PerformanceRatings = {
|
|
6057
|
+
None: 'None',
|
|
6058
|
+
Excellent: 'Excellent',
|
|
6059
|
+
Good: 'Good',
|
|
6060
|
+
Medium: 'Medium',
|
|
6061
|
+
Poor: 'Poor',
|
|
6062
|
+
VeryPoor: 'VeryPoor'
|
|
6063
|
+
} as const;
|
|
6064
|
+
|
|
6065
|
+
export type PerformanceRatings = typeof PerformanceRatings[keyof typeof PerformanceRatings];
|
|
6066
|
+
|
|
6067
|
+
|
|
5123
6068
|
/**
|
|
5124
6069
|
*
|
|
5125
6070
|
* @export
|
|
5126
6071
|
* @interface Permission
|
|
5127
6072
|
*/
|
|
5128
6073
|
export interface Permission {
|
|
6074
|
+
/**
|
|
6075
|
+
*
|
|
6076
|
+
* @type {string}
|
|
6077
|
+
* @memberof Permission
|
|
6078
|
+
*/
|
|
6079
|
+
'displayName'?: string;
|
|
6080
|
+
/**
|
|
6081
|
+
*
|
|
6082
|
+
* @type {string}
|
|
6083
|
+
* @memberof Permission
|
|
6084
|
+
*/
|
|
6085
|
+
'description'?: string;
|
|
5129
6086
|
/**
|
|
5130
6087
|
*
|
|
5131
6088
|
* @type {string}
|
|
@@ -5150,6 +6107,12 @@ export interface Permission {
|
|
|
5150
6107
|
* @memberof Permission
|
|
5151
6108
|
*/
|
|
5152
6109
|
'ownerId': string;
|
|
6110
|
+
/**
|
|
6111
|
+
*
|
|
6112
|
+
* @type {string}
|
|
6113
|
+
* @memberof Permission
|
|
6114
|
+
*/
|
|
6115
|
+
'type'?: string;
|
|
5153
6116
|
/**
|
|
5154
6117
|
*
|
|
5155
6118
|
* @type {object}
|
|
@@ -5157,6 +6120,25 @@ export interface Permission {
|
|
|
5157
6120
|
*/
|
|
5158
6121
|
'data'?: object;
|
|
5159
6122
|
}
|
|
6123
|
+
/**
|
|
6124
|
+
* Build information for a platform
|
|
6125
|
+
* @export
|
|
6126
|
+
* @interface PlatformBuildInfo
|
|
6127
|
+
*/
|
|
6128
|
+
export interface PlatformBuildInfo {
|
|
6129
|
+
/**
|
|
6130
|
+
* Minimum build number required for the platform
|
|
6131
|
+
* @type {number}
|
|
6132
|
+
* @memberof PlatformBuildInfo
|
|
6133
|
+
*/
|
|
6134
|
+
'minBuildNumber': number;
|
|
6135
|
+
/**
|
|
6136
|
+
* Redirection URL for updating the app
|
|
6137
|
+
* @type {string}
|
|
6138
|
+
* @memberof PlatformBuildInfo
|
|
6139
|
+
*/
|
|
6140
|
+
'redirectionAddress': string;
|
|
6141
|
+
}
|
|
5160
6142
|
/**
|
|
5161
6143
|
*
|
|
5162
6144
|
* @export
|
|
@@ -5259,6 +6241,44 @@ export const ReleaseStatus = {
|
|
|
5259
6241
|
export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus];
|
|
5260
6242
|
|
|
5261
6243
|
|
|
6244
|
+
/**
|
|
6245
|
+
* A category used for reporting content
|
|
6246
|
+
* @export
|
|
6247
|
+
* @interface ReportCategory
|
|
6248
|
+
*/
|
|
6249
|
+
export interface ReportCategory {
|
|
6250
|
+
/**
|
|
6251
|
+
* The label of the report category
|
|
6252
|
+
* @type {string}
|
|
6253
|
+
* @memberof ReportCategory
|
|
6254
|
+
*/
|
|
6255
|
+
'text': string;
|
|
6256
|
+
/**
|
|
6257
|
+
* The tooltip that describes the category
|
|
6258
|
+
* @type {string}
|
|
6259
|
+
* @memberof ReportCategory
|
|
6260
|
+
*/
|
|
6261
|
+
'tooltip': string;
|
|
6262
|
+
}
|
|
6263
|
+
/**
|
|
6264
|
+
* A reason used for reporting users
|
|
6265
|
+
* @export
|
|
6266
|
+
* @interface ReportReason
|
|
6267
|
+
*/
|
|
6268
|
+
export interface ReportReason {
|
|
6269
|
+
/**
|
|
6270
|
+
* The label or name of the report reason
|
|
6271
|
+
* @type {string}
|
|
6272
|
+
* @memberof ReportReason
|
|
6273
|
+
*/
|
|
6274
|
+
'text': string;
|
|
6275
|
+
/**
|
|
6276
|
+
* A brief explanation of what this reason entails
|
|
6277
|
+
* @type {string}
|
|
6278
|
+
* @memberof ReportReason
|
|
6279
|
+
*/
|
|
6280
|
+
'tooltip': string;
|
|
6281
|
+
}
|
|
5262
6282
|
/**
|
|
5263
6283
|
*
|
|
5264
6284
|
* @export
|
|
@@ -5487,6 +6507,55 @@ export const SortOption = {
|
|
|
5487
6507
|
export type SortOption = typeof SortOption[keyof typeof SortOption];
|
|
5488
6508
|
|
|
5489
6509
|
|
|
6510
|
+
/**
|
|
6511
|
+
*
|
|
6512
|
+
* @export
|
|
6513
|
+
* @interface Submission
|
|
6514
|
+
*/
|
|
6515
|
+
export interface Submission {
|
|
6516
|
+
/**
|
|
6517
|
+
* Either world ID or avatar ID
|
|
6518
|
+
* @type {string}
|
|
6519
|
+
* @memberof Submission
|
|
6520
|
+
*/
|
|
6521
|
+
'contentId': string;
|
|
6522
|
+
/**
|
|
6523
|
+
*
|
|
6524
|
+
* @type {string}
|
|
6525
|
+
* @memberof Submission
|
|
6526
|
+
*/
|
|
6527
|
+
'created_at': string;
|
|
6528
|
+
/**
|
|
6529
|
+
*
|
|
6530
|
+
* @type {string}
|
|
6531
|
+
* @memberof Submission
|
|
6532
|
+
*/
|
|
6533
|
+
'description': string;
|
|
6534
|
+
/**
|
|
6535
|
+
*
|
|
6536
|
+
* @type {string}
|
|
6537
|
+
* @memberof Submission
|
|
6538
|
+
*/
|
|
6539
|
+
'id': string;
|
|
6540
|
+
/**
|
|
6541
|
+
*
|
|
6542
|
+
* @type {string}
|
|
6543
|
+
* @memberof Submission
|
|
6544
|
+
*/
|
|
6545
|
+
'jamId': string;
|
|
6546
|
+
/**
|
|
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.
|
|
6554
|
+
* @type {string}
|
|
6555
|
+
* @memberof Submission
|
|
6556
|
+
*/
|
|
6557
|
+
'submitterId': string;
|
|
6558
|
+
}
|
|
5490
6559
|
/**
|
|
5491
6560
|
*
|
|
5492
6561
|
* @export
|
|
@@ -5936,6 +7005,12 @@ export interface UnityPackage {
|
|
|
5936
7005
|
* @memberof UnityPackage
|
|
5937
7006
|
*/
|
|
5938
7007
|
'impostorizerVersion'?: string;
|
|
7008
|
+
/**
|
|
7009
|
+
*
|
|
7010
|
+
* @type {PerformanceRatings}
|
|
7011
|
+
* @memberof UnityPackage
|
|
7012
|
+
*/
|
|
7013
|
+
'performanceRating'?: PerformanceRatings;
|
|
5939
7014
|
/**
|
|
5940
7015
|
* This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.
|
|
5941
7016
|
* @type {string}
|
|
@@ -5966,6 +7041,12 @@ export interface UnityPackage {
|
|
|
5966
7041
|
* @memberof UnityPackage
|
|
5967
7042
|
*/
|
|
5968
7043
|
'unityVersion': string;
|
|
7044
|
+
/**
|
|
7045
|
+
*
|
|
7046
|
+
* @type {string}
|
|
7047
|
+
* @memberof UnityPackage
|
|
7048
|
+
*/
|
|
7049
|
+
'worldSignature'?: string | null;
|
|
5969
7050
|
/**
|
|
5970
7051
|
*
|
|
5971
7052
|
* @type {string}
|
|
@@ -6661,7 +7742,7 @@ export interface UserExists {
|
|
|
6661
7742
|
* @type {boolean}
|
|
6662
7743
|
* @memberof UserExists
|
|
6663
7744
|
*/
|
|
6664
|
-
'nameOk'
|
|
7745
|
+
'nameOk'?: boolean;
|
|
6665
7746
|
}
|
|
6666
7747
|
/**
|
|
6667
7748
|
* * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).
|
|
@@ -14390,46 +15471,6 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
14390
15471
|
|
|
14391
15472
|
|
|
14392
15473
|
|
|
14393
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14394
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14395
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14396
|
-
|
|
14397
|
-
return {
|
|
14398
|
-
url: toPathString(localVarUrlObj),
|
|
14399
|
-
options: localVarRequestOptions,
|
|
14400
|
-
};
|
|
14401
|
-
},
|
|
14402
|
-
/**
|
|
14403
|
-
* Sends an invite to the instance to yourself.
|
|
14404
|
-
* @summary Send Self Invite
|
|
14405
|
-
* @param {string} worldId Must be a valid world ID.
|
|
14406
|
-
* @param {string} instanceId Must be a valid instance ID.
|
|
14407
|
-
* @param {*} [options] Override http request option.
|
|
14408
|
-
* @throws {RequiredError}
|
|
14409
|
-
*/
|
|
14410
|
-
sendSelfInvite: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14411
|
-
// verify required parameter 'worldId' is not null or undefined
|
|
14412
|
-
assertParamExists('sendSelfInvite', 'worldId', worldId)
|
|
14413
|
-
// verify required parameter 'instanceId' is not null or undefined
|
|
14414
|
-
assertParamExists('sendSelfInvite', 'instanceId', instanceId)
|
|
14415
|
-
const localVarPath = `/instances/{worldId}:{instanceId}/invite`
|
|
14416
|
-
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
14417
|
-
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
14418
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14419
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14420
|
-
let baseOptions;
|
|
14421
|
-
if (configuration) {
|
|
14422
|
-
baseOptions = configuration.baseOptions;
|
|
14423
|
-
}
|
|
14424
|
-
|
|
14425
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14426
|
-
const localVarHeaderParameter = {} as any;
|
|
14427
|
-
const localVarQueryParameter = {} as any;
|
|
14428
|
-
|
|
14429
|
-
// authentication authCookie required
|
|
14430
|
-
|
|
14431
|
-
|
|
14432
|
-
|
|
14433
15474
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14434
15475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14435
15476
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14509,18 +15550,6 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
14509
15550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShortName(worldId, instanceId, options);
|
|
14510
15551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14511
15552
|
},
|
|
14512
|
-
/**
|
|
14513
|
-
* Sends an invite to the instance to yourself.
|
|
14514
|
-
* @summary Send Self Invite
|
|
14515
|
-
* @param {string} worldId Must be a valid world ID.
|
|
14516
|
-
* @param {string} instanceId Must be a valid instance ID.
|
|
14517
|
-
* @param {*} [options] Override http request option.
|
|
14518
|
-
* @throws {RequiredError}
|
|
14519
|
-
*/
|
|
14520
|
-
async sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
|
|
14521
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSelfInvite(worldId, instanceId, options);
|
|
14522
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14523
|
-
},
|
|
14524
15553
|
}
|
|
14525
15554
|
};
|
|
14526
15555
|
|
|
@@ -14586,17 +15615,6 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
14586
15615
|
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<InstanceShortNameResponse> {
|
|
14587
15616
|
return localVarFp.getShortName(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
14588
15617
|
},
|
|
14589
|
-
/**
|
|
14590
|
-
* Sends an invite to the instance to yourself.
|
|
14591
|
-
* @summary Send Self Invite
|
|
14592
|
-
* @param {string} worldId Must be a valid world ID.
|
|
14593
|
-
* @param {string} instanceId Must be a valid instance ID.
|
|
14594
|
-
* @param {*} [options] Override http request option.
|
|
14595
|
-
* @throws {RequiredError}
|
|
14596
|
-
*/
|
|
14597
|
-
sendSelfInvite(worldId: string, instanceId: string, options?: any): AxiosPromise<Success> {
|
|
14598
|
-
return localVarFp.sendSelfInvite(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
14599
|
-
},
|
|
14600
15618
|
};
|
|
14601
15619
|
};
|
|
14602
15620
|
|
|
@@ -14671,19 +15689,6 @@ export class InstancesApi extends BaseAPI {
|
|
|
14671
15689
|
public getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
14672
15690
|
return InstancesApiFp(this.configuration).getShortName(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
14673
15691
|
}
|
|
14674
|
-
|
|
14675
|
-
/**
|
|
14676
|
-
* Sends an invite to the instance to yourself.
|
|
14677
|
-
* @summary Send Self Invite
|
|
14678
|
-
* @param {string} worldId Must be a valid world ID.
|
|
14679
|
-
* @param {string} instanceId Must be a valid instance ID.
|
|
14680
|
-
* @param {*} [options] Override http request option.
|
|
14681
|
-
* @throws {RequiredError}
|
|
14682
|
-
* @memberof InstancesApi
|
|
14683
|
-
*/
|
|
14684
|
-
public sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
14685
|
-
return InstancesApiFp(this.configuration).sendSelfInvite(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
14686
|
-
}
|
|
14687
15692
|
}
|
|
14688
15693
|
|
|
14689
15694
|
|
|
@@ -15218,149 +16223,395 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
15218
16223
|
* @param {*} [options] Override http request option.
|
|
15219
16224
|
* @throws {RequiredError}
|
|
15220
16225
|
*/
|
|
15221
|
-
resetInviteMessage(userId: string, messageType: InviteMessageType, slot: number, options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
15222
|
-
return localVarFp.resetInviteMessage(userId, messageType, slot, options).then((request) => request(axios, basePath));
|
|
16226
|
+
resetInviteMessage(userId: string, messageType: InviteMessageType, slot: number, options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
16227
|
+
return localVarFp.resetInviteMessage(userId, messageType, slot, options).then((request) => request(axios, basePath));
|
|
16228
|
+
},
|
|
16229
|
+
/**
|
|
16230
|
+
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
16231
|
+
* @summary Respond Invite
|
|
16232
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
16233
|
+
* @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
|
|
16234
|
+
* @param {*} [options] Override http request option.
|
|
16235
|
+
* @throws {RequiredError}
|
|
16236
|
+
*/
|
|
16237
|
+
respondInvite(notificationId: string, inviteResponse: InviteResponse, options?: any): AxiosPromise<Notification> {
|
|
16238
|
+
return localVarFp.respondInvite(notificationId, inviteResponse, options).then((request) => request(axios, basePath));
|
|
16239
|
+
},
|
|
16240
|
+
/**
|
|
16241
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
16242
|
+
* @summary Update Invite Message
|
|
16243
|
+
* @param {string} userId Must be a valid user ID.
|
|
16244
|
+
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
16245
|
+
* @param {number} slot The message slot to fetch of a given message type.
|
|
16246
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
16247
|
+
* @param {*} [options] Override http request option.
|
|
16248
|
+
* @throws {RequiredError}
|
|
16249
|
+
*/
|
|
16250
|
+
updateInviteMessage(userId: string, messageType: InviteMessageType, slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
16251
|
+
return localVarFp.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then((request) => request(axios, basePath));
|
|
16252
|
+
},
|
|
16253
|
+
};
|
|
16254
|
+
};
|
|
16255
|
+
|
|
16256
|
+
/**
|
|
16257
|
+
* InviteApi - object-oriented interface
|
|
16258
|
+
* @export
|
|
16259
|
+
* @class InviteApi
|
|
16260
|
+
* @extends {BaseAPI}
|
|
16261
|
+
*/
|
|
16262
|
+
export class InviteApi extends BaseAPI {
|
|
16263
|
+
/**
|
|
16264
|
+
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
16265
|
+
* @summary Get Invite Message
|
|
16266
|
+
* @param {string} userId Must be a valid user ID.
|
|
16267
|
+
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
16268
|
+
* @param {number} slot The message slot to fetch of a given message type.
|
|
16269
|
+
* @param {*} [options] Override http request option.
|
|
16270
|
+
* @throws {RequiredError}
|
|
16271
|
+
* @memberof InviteApi
|
|
16272
|
+
*/
|
|
16273
|
+
public getInviteMessage(userId: string, messageType: InviteMessageType, slot: number, options?: AxiosRequestConfig) {
|
|
16274
|
+
return InviteApiFp(this.configuration).getInviteMessage(userId, messageType, slot, options).then((request) => request(this.axios, this.basePath));
|
|
16275
|
+
}
|
|
16276
|
+
|
|
16277
|
+
/**
|
|
16278
|
+
* Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
16279
|
+
* @summary List Invite Messages
|
|
16280
|
+
* @param {string} userId Must be a valid user ID.
|
|
16281
|
+
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
16282
|
+
* @param {*} [options] Override http request option.
|
|
16283
|
+
* @throws {RequiredError}
|
|
16284
|
+
* @memberof InviteApi
|
|
16285
|
+
*/
|
|
16286
|
+
public getInviteMessages(userId: string, messageType: InviteMessageType, options?: AxiosRequestConfig) {
|
|
16287
|
+
return InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then((request) => request(this.axios, this.basePath));
|
|
16288
|
+
}
|
|
16289
|
+
|
|
16290
|
+
/**
|
|
16291
|
+
* Sends self an invite to an instance
|
|
16292
|
+
* @summary Invite Myself To Instance
|
|
16293
|
+
* @param {string} worldId Must be a valid world ID.
|
|
16294
|
+
* @param {string} instanceId Must be a valid instance ID.
|
|
16295
|
+
* @param {*} [options] Override http request option.
|
|
16296
|
+
* @throws {RequiredError}
|
|
16297
|
+
* @memberof InviteApi
|
|
16298
|
+
*/
|
|
16299
|
+
public inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
16300
|
+
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
16301
|
+
}
|
|
16302
|
+
|
|
16303
|
+
/**
|
|
16304
|
+
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
16305
|
+
* @summary Invite User
|
|
16306
|
+
* @param {string} userId Must be a valid user ID.
|
|
16307
|
+
* @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
|
|
16308
|
+
* @param {*} [options] Override http request option.
|
|
16309
|
+
* @throws {RequiredError}
|
|
16310
|
+
* @memberof InviteApi
|
|
16311
|
+
*/
|
|
16312
|
+
public inviteUser(userId: string, inviteRequest: InviteRequest, options?: AxiosRequestConfig) {
|
|
16313
|
+
return InviteApiFp(this.configuration).inviteUser(userId, inviteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16314
|
+
}
|
|
16315
|
+
|
|
16316
|
+
/**
|
|
16317
|
+
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
16318
|
+
* @summary Request Invite
|
|
16319
|
+
* @param {string} userId Must be a valid user ID.
|
|
16320
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
16321
|
+
* @param {*} [options] Override http request option.
|
|
16322
|
+
* @throws {RequiredError}
|
|
16323
|
+
* @memberof InviteApi
|
|
16324
|
+
*/
|
|
16325
|
+
public requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) {
|
|
16326
|
+
return InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16327
|
+
}
|
|
16328
|
+
|
|
16329
|
+
/**
|
|
16330
|
+
* Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
|
|
16331
|
+
* @summary Reset Invite Message
|
|
16332
|
+
* @param {string} userId Must be a valid user ID.
|
|
16333
|
+
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
16334
|
+
* @param {number} slot The message slot to fetch of a given message type.
|
|
16335
|
+
* @param {*} [options] Override http request option.
|
|
16336
|
+
* @throws {RequiredError}
|
|
16337
|
+
* @memberof InviteApi
|
|
16338
|
+
*/
|
|
16339
|
+
public resetInviteMessage(userId: string, messageType: InviteMessageType, slot: number, options?: AxiosRequestConfig) {
|
|
16340
|
+
return InviteApiFp(this.configuration).resetInviteMessage(userId, messageType, slot, options).then((request) => request(this.axios, this.basePath));
|
|
16341
|
+
}
|
|
16342
|
+
|
|
16343
|
+
/**
|
|
16344
|
+
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
16345
|
+
* @summary Respond Invite
|
|
16346
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
16347
|
+
* @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
|
|
16348
|
+
* @param {*} [options] Override http request option.
|
|
16349
|
+
* @throws {RequiredError}
|
|
16350
|
+
* @memberof InviteApi
|
|
16351
|
+
*/
|
|
16352
|
+
public respondInvite(notificationId: string, inviteResponse: InviteResponse, options?: AxiosRequestConfig) {
|
|
16353
|
+
return InviteApiFp(this.configuration).respondInvite(notificationId, inviteResponse, options).then((request) => request(this.axios, this.basePath));
|
|
16354
|
+
}
|
|
16355
|
+
|
|
16356
|
+
/**
|
|
16357
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
16358
|
+
* @summary Update Invite Message
|
|
16359
|
+
* @param {string} userId Must be a valid user ID.
|
|
16360
|
+
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
16361
|
+
* @param {number} slot The message slot to fetch of a given message type.
|
|
16362
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
16363
|
+
* @param {*} [options] Override http request option.
|
|
16364
|
+
* @throws {RequiredError}
|
|
16365
|
+
* @memberof InviteApi
|
|
16366
|
+
*/
|
|
16367
|
+
public updateInviteMessage(userId: string, messageType: InviteMessageType, slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig) {
|
|
16368
|
+
return InviteApiFp(this.configuration).updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16369
|
+
}
|
|
16370
|
+
}
|
|
16371
|
+
|
|
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 (`avatar` or `world`).
|
|
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 (`avatar` or `world`).
|
|
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));
|
|
15223
16550
|
},
|
|
15224
16551
|
/**
|
|
15225
|
-
*
|
|
15226
|
-
* @summary
|
|
15227
|
-
* @param {string}
|
|
15228
|
-
* @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
|
|
16552
|
+
* Returns all submissions of a jam.
|
|
16553
|
+
* @summary Show jam submissions
|
|
16554
|
+
* @param {string} jamId Must be a valid query ID.
|
|
15229
16555
|
* @param {*} [options] Override http request option.
|
|
15230
16556
|
* @throws {RequiredError}
|
|
15231
16557
|
*/
|
|
15232
|
-
|
|
15233
|
-
return localVarFp.
|
|
16558
|
+
getJamSubmissions(jamId: string, options?: any): AxiosPromise<Array<Submission>> {
|
|
16559
|
+
return localVarFp.getJamSubmissions(jamId, options).then((request) => request(axios, basePath));
|
|
15234
16560
|
},
|
|
15235
16561
|
/**
|
|
15236
|
-
*
|
|
15237
|
-
* @summary
|
|
15238
|
-
* @param {string}
|
|
15239
|
-
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
15240
|
-
* @param {number} slot The message slot to fetch of a given message type.
|
|
15241
|
-
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
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 (`avatar` or `world`).
|
|
15242
16565
|
* @param {*} [options] Override http request option.
|
|
15243
16566
|
* @throws {RequiredError}
|
|
15244
16567
|
*/
|
|
15245
|
-
|
|
15246
|
-
return localVarFp.
|
|
16568
|
+
getJams(type?: string, options?: any): AxiosPromise<Array<Jam>> {
|
|
16569
|
+
return localVarFp.getJams(type, options).then((request) => request(axios, basePath));
|
|
15247
16570
|
},
|
|
15248
16571
|
};
|
|
15249
16572
|
};
|
|
15250
16573
|
|
|
15251
16574
|
/**
|
|
15252
|
-
*
|
|
16575
|
+
* JamsApi - object-oriented interface
|
|
15253
16576
|
* @export
|
|
15254
|
-
* @class
|
|
16577
|
+
* @class JamsApi
|
|
15255
16578
|
* @extends {BaseAPI}
|
|
15256
16579
|
*/
|
|
15257
|
-
export class
|
|
15258
|
-
/**
|
|
15259
|
-
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
15260
|
-
* @summary Get Invite Message
|
|
15261
|
-
* @param {string} userId Must be a valid user ID.
|
|
15262
|
-
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
15263
|
-
* @param {number} slot The message slot to fetch of a given message type.
|
|
15264
|
-
* @param {*} [options] Override http request option.
|
|
15265
|
-
* @throws {RequiredError}
|
|
15266
|
-
* @memberof InviteApi
|
|
15267
|
-
*/
|
|
15268
|
-
public getInviteMessage(userId: string, messageType: InviteMessageType, slot: number, options?: AxiosRequestConfig) {
|
|
15269
|
-
return InviteApiFp(this.configuration).getInviteMessage(userId, messageType, slot, options).then((request) => request(this.axios, this.basePath));
|
|
15270
|
-
}
|
|
15271
|
-
|
|
15272
|
-
/**
|
|
15273
|
-
* Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
15274
|
-
* @summary List Invite Messages
|
|
15275
|
-
* @param {string} userId Must be a valid user ID.
|
|
15276
|
-
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
15277
|
-
* @param {*} [options] Override http request option.
|
|
15278
|
-
* @throws {RequiredError}
|
|
15279
|
-
* @memberof InviteApi
|
|
15280
|
-
*/
|
|
15281
|
-
public getInviteMessages(userId: string, messageType: InviteMessageType, options?: AxiosRequestConfig) {
|
|
15282
|
-
return InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then((request) => request(this.axios, this.basePath));
|
|
15283
|
-
}
|
|
15284
|
-
|
|
15285
|
-
/**
|
|
15286
|
-
* Sends self an invite to an instance
|
|
15287
|
-
* @summary Invite Myself To Instance
|
|
15288
|
-
* @param {string} worldId Must be a valid world ID.
|
|
15289
|
-
* @param {string} instanceId Must be a valid instance ID.
|
|
15290
|
-
* @param {*} [options] Override http request option.
|
|
15291
|
-
* @throws {RequiredError}
|
|
15292
|
-
* @memberof InviteApi
|
|
15293
|
-
*/
|
|
15294
|
-
public inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
15295
|
-
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
15296
|
-
}
|
|
15297
|
-
|
|
15298
|
-
/**
|
|
15299
|
-
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
15300
|
-
* @summary Invite User
|
|
15301
|
-
* @param {string} userId Must be a valid user ID.
|
|
15302
|
-
* @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
|
|
15303
|
-
* @param {*} [options] Override http request option.
|
|
15304
|
-
* @throws {RequiredError}
|
|
15305
|
-
* @memberof InviteApi
|
|
15306
|
-
*/
|
|
15307
|
-
public inviteUser(userId: string, inviteRequest: InviteRequest, options?: AxiosRequestConfig) {
|
|
15308
|
-
return InviteApiFp(this.configuration).inviteUser(userId, inviteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15309
|
-
}
|
|
15310
|
-
|
|
15311
|
-
/**
|
|
15312
|
-
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
15313
|
-
* @summary Request Invite
|
|
15314
|
-
* @param {string} userId Must be a valid user ID.
|
|
15315
|
-
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
15316
|
-
* @param {*} [options] Override http request option.
|
|
15317
|
-
* @throws {RequiredError}
|
|
15318
|
-
* @memberof InviteApi
|
|
15319
|
-
*/
|
|
15320
|
-
public requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) {
|
|
15321
|
-
return InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15322
|
-
}
|
|
15323
|
-
|
|
16580
|
+
export class JamsApi extends BaseAPI {
|
|
15324
16581
|
/**
|
|
15325
|
-
*
|
|
15326
|
-
* @summary
|
|
15327
|
-
* @param {string}
|
|
15328
|
-
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
15329
|
-
* @param {number} slot The message slot to fetch of a given message type.
|
|
16582
|
+
* Returns a jam.
|
|
16583
|
+
* @summary Show jam information
|
|
16584
|
+
* @param {string} jamId Must be a valid query ID.
|
|
15330
16585
|
* @param {*} [options] Override http request option.
|
|
15331
16586
|
* @throws {RequiredError}
|
|
15332
|
-
* @memberof
|
|
16587
|
+
* @memberof JamsApi
|
|
15333
16588
|
*/
|
|
15334
|
-
public
|
|
15335
|
-
return
|
|
16589
|
+
public getJam(jamId: string, options?: AxiosRequestConfig) {
|
|
16590
|
+
return JamsApiFp(this.configuration).getJam(jamId, options).then((request) => request(this.axios, this.basePath));
|
|
15336
16591
|
}
|
|
15337
16592
|
|
|
15338
16593
|
/**
|
|
15339
|
-
*
|
|
15340
|
-
* @summary
|
|
15341
|
-
* @param {string}
|
|
15342
|
-
* @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
|
|
16594
|
+
* Returns all submissions of a jam.
|
|
16595
|
+
* @summary Show jam submissions
|
|
16596
|
+
* @param {string} jamId Must be a valid query ID.
|
|
15343
16597
|
* @param {*} [options] Override http request option.
|
|
15344
16598
|
* @throws {RequiredError}
|
|
15345
|
-
* @memberof
|
|
16599
|
+
* @memberof JamsApi
|
|
15346
16600
|
*/
|
|
15347
|
-
public
|
|
15348
|
-
return
|
|
16601
|
+
public getJamSubmissions(jamId: string, options?: AxiosRequestConfig) {
|
|
16602
|
+
return JamsApiFp(this.configuration).getJamSubmissions(jamId, options).then((request) => request(this.axios, this.basePath));
|
|
15349
16603
|
}
|
|
15350
16604
|
|
|
15351
16605
|
/**
|
|
15352
|
-
*
|
|
15353
|
-
* @summary
|
|
15354
|
-
* @param {string}
|
|
15355
|
-
* @param {InviteMessageType} messageType The type of message to fetch, must be a valid InviteMessageType.
|
|
15356
|
-
* @param {number} slot The message slot to fetch of a given message type.
|
|
15357
|
-
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
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 (`avatar` or `world`).
|
|
15358
16609
|
* @param {*} [options] Override http request option.
|
|
15359
16610
|
* @throws {RequiredError}
|
|
15360
|
-
* @memberof
|
|
16611
|
+
* @memberof JamsApi
|
|
15361
16612
|
*/
|
|
15362
|
-
public
|
|
15363
|
-
return
|
|
16613
|
+
public getJams(type?: string, options?: AxiosRequestConfig) {
|
|
16614
|
+
return JamsApiFp(this.configuration).getJams(type, options).then((request) => request(this.axios, this.basePath));
|
|
15364
16615
|
}
|
|
15365
16616
|
}
|
|
15366
16617
|
|
|
@@ -15466,6 +16717,42 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15466
16717
|
|
|
15467
16718
|
|
|
15468
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
|
+
|
|
15469
16756
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15470
16757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15471
16758
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15615,6 +16902,17 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
15615
16902
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotification(notificationId, options);
|
|
15616
16903
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15617
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
|
+
},
|
|
15618
16916
|
/**
|
|
15619
16917
|
* Retrieve all of the current user\'s notifications.
|
|
15620
16918
|
* @summary List Notifications
|
|
@@ -15681,6 +16979,16 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
15681
16979
|
deleteNotification(notificationId: string, options?: any): AxiosPromise<Notification> {
|
|
15682
16980
|
return localVarFp.deleteNotification(notificationId, options).then((request) => request(axios, basePath));
|
|
15683
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
|
+
},
|
|
15684
16992
|
/**
|
|
15685
16993
|
* Retrieve all of the current user\'s notifications.
|
|
15686
16994
|
* @summary List Notifications
|
|
@@ -15751,6 +17059,18 @@ export class NotificationsApi extends BaseAPI {
|
|
|
15751
17059
|
return NotificationsApiFp(this.configuration).deleteNotification(notificationId, options).then((request) => request(this.axios, this.basePath));
|
|
15752
17060
|
}
|
|
15753
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
|
+
|
|
15754
17074
|
/**
|
|
15755
17075
|
* Retrieve all of the current user\'s notifications.
|
|
15756
17076
|
* @summary List Notifications
|
|
@@ -15980,78 +17300,6 @@ export const PlayermoderationApiAxiosParamCreator = function (configuration?: Co
|
|
|
15980
17300
|
|
|
15981
17301
|
|
|
15982
17302
|
|
|
15983
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15984
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15985
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15986
|
-
|
|
15987
|
-
return {
|
|
15988
|
-
url: toPathString(localVarUrlObj),
|
|
15989
|
-
options: localVarRequestOptions,
|
|
15990
|
-
};
|
|
15991
|
-
},
|
|
15992
|
-
/**
|
|
15993
|
-
* 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.
|
|
15994
|
-
* @summary Delete Player Moderation
|
|
15995
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
15996
|
-
* @param {*} [options] Override http request option.
|
|
15997
|
-
* @throws {RequiredError}
|
|
15998
|
-
*/
|
|
15999
|
-
deletePlayerModeration: async (playerModerationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16000
|
-
// verify required parameter 'playerModerationId' is not null or undefined
|
|
16001
|
-
assertParamExists('deletePlayerModeration', 'playerModerationId', playerModerationId)
|
|
16002
|
-
const localVarPath = `/auth/user/playermoderations/{playerModerationId}`
|
|
16003
|
-
.replace(`{${"playerModerationId"}}`, encodeURIComponent(String(playerModerationId)));
|
|
16004
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16005
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16006
|
-
let baseOptions;
|
|
16007
|
-
if (configuration) {
|
|
16008
|
-
baseOptions = configuration.baseOptions;
|
|
16009
|
-
}
|
|
16010
|
-
|
|
16011
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
16012
|
-
const localVarHeaderParameter = {} as any;
|
|
16013
|
-
const localVarQueryParameter = {} as any;
|
|
16014
|
-
|
|
16015
|
-
// authentication authCookie required
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16020
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16021
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16022
|
-
|
|
16023
|
-
return {
|
|
16024
|
-
url: toPathString(localVarUrlObj),
|
|
16025
|
-
options: localVarRequestOptions,
|
|
16026
|
-
};
|
|
16027
|
-
},
|
|
16028
|
-
/**
|
|
16029
|
-
* Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
|
|
16030
|
-
* @summary Get Player Moderation
|
|
16031
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16032
|
-
* @param {*} [options] Override http request option.
|
|
16033
|
-
* @throws {RequiredError}
|
|
16034
|
-
*/
|
|
16035
|
-
getPlayerModeration: async (playerModerationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16036
|
-
// verify required parameter 'playerModerationId' is not null or undefined
|
|
16037
|
-
assertParamExists('getPlayerModeration', 'playerModerationId', playerModerationId)
|
|
16038
|
-
const localVarPath = `/auth/user/playermoderations/{playerModerationId}`
|
|
16039
|
-
.replace(`{${"playerModerationId"}}`, encodeURIComponent(String(playerModerationId)));
|
|
16040
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16041
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16042
|
-
let baseOptions;
|
|
16043
|
-
if (configuration) {
|
|
16044
|
-
baseOptions = configuration.baseOptions;
|
|
16045
|
-
}
|
|
16046
|
-
|
|
16047
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16048
|
-
const localVarHeaderParameter = {} as any;
|
|
16049
|
-
const localVarQueryParameter = {} as any;
|
|
16050
|
-
|
|
16051
|
-
// authentication authCookie required
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
17303
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16056
17304
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16057
17305
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16199,28 +17447,6 @@ export const PlayermoderationApiFp = function(configuration?: Configuration) {
|
|
|
16199
17447
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllPlayerModerations(options);
|
|
16200
17448
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16201
17449
|
},
|
|
16202
|
-
/**
|
|
16203
|
-
* 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.
|
|
16204
|
-
* @summary Delete Player Moderation
|
|
16205
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16206
|
-
* @param {*} [options] Override http request option.
|
|
16207
|
-
* @throws {RequiredError}
|
|
16208
|
-
*/
|
|
16209
|
-
async deletePlayerModeration(playerModerationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
|
|
16210
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlayerModeration(playerModerationId, options);
|
|
16211
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16212
|
-
},
|
|
16213
|
-
/**
|
|
16214
|
-
* Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
|
|
16215
|
-
* @summary Get Player Moderation
|
|
16216
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16217
|
-
* @param {*} [options] Override http request option.
|
|
16218
|
-
* @throws {RequiredError}
|
|
16219
|
-
*/
|
|
16220
|
-
async getPlayerModeration(playerModerationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerModeration>> {
|
|
16221
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlayerModeration(playerModerationId, options);
|
|
16222
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16223
|
-
},
|
|
16224
17450
|
/**
|
|
16225
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.
|
|
16226
17452
|
* @summary Search Player Moderations
|
|
@@ -16274,26 +17500,6 @@ export const PlayermoderationApiFactory = function (configuration?: Configuratio
|
|
|
16274
17500
|
clearAllPlayerModerations(options?: any): AxiosPromise<Success> {
|
|
16275
17501
|
return localVarFp.clearAllPlayerModerations(options).then((request) => request(axios, basePath));
|
|
16276
17502
|
},
|
|
16277
|
-
/**
|
|
16278
|
-
* 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.
|
|
16279
|
-
* @summary Delete Player Moderation
|
|
16280
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16281
|
-
* @param {*} [options] Override http request option.
|
|
16282
|
-
* @throws {RequiredError}
|
|
16283
|
-
*/
|
|
16284
|
-
deletePlayerModeration(playerModerationId: string, options?: any): AxiosPromise<Success> {
|
|
16285
|
-
return localVarFp.deletePlayerModeration(playerModerationId, options).then((request) => request(axios, basePath));
|
|
16286
|
-
},
|
|
16287
|
-
/**
|
|
16288
|
-
* Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
|
|
16289
|
-
* @summary Get Player Moderation
|
|
16290
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16291
|
-
* @param {*} [options] Override http request option.
|
|
16292
|
-
* @throws {RequiredError}
|
|
16293
|
-
*/
|
|
16294
|
-
getPlayerModeration(playerModerationId: string, options?: any): AxiosPromise<PlayerModeration> {
|
|
16295
|
-
return localVarFp.getPlayerModeration(playerModerationId, options).then((request) => request(axios, basePath));
|
|
16296
|
-
},
|
|
16297
17503
|
/**
|
|
16298
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.
|
|
16299
17505
|
* @summary Search Player Moderations
|
|
@@ -16346,30 +17552,6 @@ export class PlayermoderationApi extends BaseAPI {
|
|
|
16346
17552
|
return PlayermoderationApiFp(this.configuration).clearAllPlayerModerations(options).then((request) => request(this.axios, this.basePath));
|
|
16347
17553
|
}
|
|
16348
17554
|
|
|
16349
|
-
/**
|
|
16350
|
-
* 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.
|
|
16351
|
-
* @summary Delete Player Moderation
|
|
16352
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16353
|
-
* @param {*} [options] Override http request option.
|
|
16354
|
-
* @throws {RequiredError}
|
|
16355
|
-
* @memberof PlayermoderationApi
|
|
16356
|
-
*/
|
|
16357
|
-
public deletePlayerModeration(playerModerationId: string, options?: AxiosRequestConfig) {
|
|
16358
|
-
return PlayermoderationApiFp(this.configuration).deletePlayerModeration(playerModerationId, options).then((request) => request(this.axios, this.basePath));
|
|
16359
|
-
}
|
|
16360
|
-
|
|
16361
|
-
/**
|
|
16362
|
-
* Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
|
|
16363
|
-
* @summary Get Player Moderation
|
|
16364
|
-
* @param {string} playerModerationId Must be a valid `pmod_` ID.
|
|
16365
|
-
* @param {*} [options] Override http request option.
|
|
16366
|
-
* @throws {RequiredError}
|
|
16367
|
-
* @memberof PlayermoderationApi
|
|
16368
|
-
*/
|
|
16369
|
-
public getPlayerModeration(playerModerationId: string, options?: AxiosRequestConfig) {
|
|
16370
|
-
return PlayermoderationApiFp(this.configuration).getPlayerModeration(playerModerationId, options).then((request) => request(this.axios, this.basePath));
|
|
16371
|
-
}
|
|
16372
|
-
|
|
16373
17555
|
/**
|
|
16374
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.
|
|
16375
17557
|
* @summary Search Player Moderations
|
|
@@ -18277,7 +19459,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
18277
19459
|
* @param {*} [options] Override http request option.
|
|
18278
19460
|
* @throws {RequiredError}
|
|
18279
19461
|
*/
|
|
18280
|
-
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<
|
|
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>>> {
|
|
18281
19463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options);
|
|
18282
19464
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18283
19465
|
},
|
|
@@ -18479,7 +19661,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
18479
19661
|
* @param {*} [options] Override http request option.
|
|
18480
19662
|
* @throws {RequiredError}
|
|
18481
19663
|
*/
|
|
18482
|
-
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<
|
|
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>> {
|
|
18483
19665
|
return localVarFp.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId, options).then((request) => request(axios, basePath));
|
|
18484
19666
|
},
|
|
18485
19667
|
/**
|