vrchat 1.5.0 → 1.6.0
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 +1661 -198
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1277 -198
- package/dist/api.js +2140 -1268
- 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/generate.sh +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.
|
|
6
|
+
* The version of the OpenAPI document: 1.6.0
|
|
7
7
|
* Contact: me@ruby.js.org
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -276,10 +276,10 @@ export interface APIConfig {
|
|
|
276
276
|
'downloadUrls': DownloadURLList;
|
|
277
277
|
/**
|
|
278
278
|
* Array of DynamicWorldRow objects, used by the game to display the list of world rows
|
|
279
|
-
* @type {Set<
|
|
279
|
+
* @type {Set<DynamicContentRow>}
|
|
280
280
|
* @memberof APIConfig
|
|
281
281
|
*/
|
|
282
|
-
'dynamicWorldRows': Set<
|
|
282
|
+
'dynamicWorldRows': Set<DynamicContentRow>;
|
|
283
283
|
/**
|
|
284
284
|
*
|
|
285
285
|
* @type {APIEventConfig}
|
|
@@ -294,7 +294,7 @@ export interface APIConfig {
|
|
|
294
294
|
*/
|
|
295
295
|
'gearDemoRoomId': string;
|
|
296
296
|
/**
|
|
297
|
-
*
|
|
297
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
298
298
|
* @type {string}
|
|
299
299
|
* @memberof APIConfig
|
|
300
300
|
*/
|
|
@@ -306,7 +306,7 @@ export interface APIConfig {
|
|
|
306
306
|
*/
|
|
307
307
|
'homepageRedirectTarget': string;
|
|
308
308
|
/**
|
|
309
|
-
*
|
|
309
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
310
310
|
* @type {string}
|
|
311
311
|
* @memberof APIConfig
|
|
312
312
|
*/
|
|
@@ -413,13 +413,13 @@ export interface APIConfig {
|
|
|
413
413
|
*/
|
|
414
414
|
'supportEmail': string;
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
416
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
417
417
|
* @type {string}
|
|
418
418
|
* @memberof APIConfig
|
|
419
419
|
*/
|
|
420
420
|
'timeOutWorldId': string;
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
423
423
|
* @type {string}
|
|
424
424
|
* @memberof APIConfig
|
|
425
425
|
*/
|
|
@@ -657,7 +657,7 @@ export interface Avatar {
|
|
|
657
657
|
*/
|
|
658
658
|
'assetUrlObject'?: object;
|
|
659
659
|
/**
|
|
660
|
-
*
|
|
660
|
+
* 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.
|
|
661
661
|
* @type {string}
|
|
662
662
|
* @memberof Avatar
|
|
663
663
|
*/
|
|
@@ -909,7 +909,7 @@ export interface CreateWorldRequest {
|
|
|
909
909
|
*/
|
|
910
910
|
'assetVersion'?: number;
|
|
911
911
|
/**
|
|
912
|
-
*
|
|
912
|
+
* 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.
|
|
913
913
|
* @type {string}
|
|
914
914
|
* @memberof CreateWorldRequest
|
|
915
915
|
*/
|
|
@@ -933,7 +933,7 @@ export interface CreateWorldRequest {
|
|
|
933
933
|
*/
|
|
934
934
|
'description'?: string;
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
937
937
|
* @type {string}
|
|
938
938
|
* @memberof CreateWorldRequest
|
|
939
939
|
*/
|
|
@@ -1036,13 +1036,13 @@ export interface CurrentUser {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
'currentAvatarAssetUrl': string;
|
|
1038
1038
|
/**
|
|
1039
|
-
*
|
|
1039
|
+
* When profilePicOverride is not empty, use it instead.
|
|
1040
1040
|
* @type {string}
|
|
1041
1041
|
* @memberof CurrentUser
|
|
1042
1042
|
*/
|
|
1043
1043
|
'currentAvatarImageUrl': string;
|
|
1044
1044
|
/**
|
|
1045
|
-
*
|
|
1045
|
+
* When profilePicOverride is not empty, use it instead.
|
|
1046
1046
|
* @type {string}
|
|
1047
1047
|
* @memberof CurrentUser
|
|
1048
1048
|
*/
|
|
@@ -1121,13 +1121,13 @@ export interface CurrentUser {
|
|
|
1121
1121
|
*/
|
|
1122
1122
|
'hasPendingEmail': boolean;
|
|
1123
1123
|
/**
|
|
1124
|
-
*
|
|
1124
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
1125
1125
|
* @type {string}
|
|
1126
1126
|
* @memberof CurrentUser
|
|
1127
1127
|
*/
|
|
1128
1128
|
'homeLocation': string;
|
|
1129
1129
|
/**
|
|
1130
|
-
*
|
|
1130
|
+
* 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.
|
|
1131
1131
|
* @type {string}
|
|
1132
1132
|
* @memberof CurrentUser
|
|
1133
1133
|
*/
|
|
@@ -1320,51 +1320,57 @@ export interface DownloadURLList {
|
|
|
1320
1320
|
/**
|
|
1321
1321
|
*
|
|
1322
1322
|
* @export
|
|
1323
|
-
* @interface
|
|
1323
|
+
* @interface DynamicContentRow
|
|
1324
1324
|
*/
|
|
1325
|
-
export interface
|
|
1325
|
+
export interface DynamicContentRow {
|
|
1326
1326
|
/**
|
|
1327
1327
|
*
|
|
1328
1328
|
* @type {number}
|
|
1329
|
-
* @memberof
|
|
1329
|
+
* @memberof DynamicContentRow
|
|
1330
1330
|
*/
|
|
1331
|
-
'index'
|
|
1331
|
+
'index'?: number;
|
|
1332
1332
|
/**
|
|
1333
1333
|
*
|
|
1334
1334
|
* @type {string}
|
|
1335
|
-
* @memberof
|
|
1335
|
+
* @memberof DynamicContentRow
|
|
1336
1336
|
*/
|
|
1337
1337
|
'name': string;
|
|
1338
1338
|
/**
|
|
1339
|
-
*
|
|
1339
|
+
* Usually \"ThisPlatformSupported\", but can also be other values such as \"all\" or platform specific identifiers.
|
|
1340
1340
|
* @type {string}
|
|
1341
|
-
* @memberof
|
|
1341
|
+
* @memberof DynamicContentRow
|
|
1342
1342
|
*/
|
|
1343
1343
|
'platform': string;
|
|
1344
1344
|
/**
|
|
1345
1345
|
*
|
|
1346
1346
|
* @type {string}
|
|
1347
|
-
* @memberof
|
|
1347
|
+
* @memberof DynamicContentRow
|
|
1348
1348
|
*/
|
|
1349
1349
|
'sortHeading': string;
|
|
1350
1350
|
/**
|
|
1351
1351
|
*
|
|
1352
1352
|
* @type {string}
|
|
1353
|
-
* @memberof
|
|
1353
|
+
* @memberof DynamicContentRow
|
|
1354
1354
|
*/
|
|
1355
1355
|
'sortOrder': string;
|
|
1356
1356
|
/**
|
|
1357
1357
|
*
|
|
1358
1358
|
* @type {string}
|
|
1359
|
-
* @memberof
|
|
1359
|
+
* @memberof DynamicContentRow
|
|
1360
1360
|
*/
|
|
1361
1361
|
'sortOwnership': string;
|
|
1362
1362
|
/**
|
|
1363
|
-
* Tag to filter
|
|
1363
|
+
* Tag to filter content for this row.
|
|
1364
1364
|
* @type {string}
|
|
1365
|
-
* @memberof
|
|
1365
|
+
* @memberof DynamicContentRow
|
|
1366
1366
|
*/
|
|
1367
1367
|
'tag'?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Type is not present if it is a world.
|
|
1370
|
+
* @type {string}
|
|
1371
|
+
* @memberof DynamicContentRow
|
|
1372
|
+
*/
|
|
1373
|
+
'type'?: string;
|
|
1368
1374
|
}
|
|
1369
1375
|
/**
|
|
1370
1376
|
*
|
|
@@ -1428,7 +1434,7 @@ export interface FavoriteGroup {
|
|
|
1428
1434
|
*/
|
|
1429
1435
|
'ownerDisplayName': string;
|
|
1430
1436
|
/**
|
|
1431
|
-
*
|
|
1437
|
+
* 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.
|
|
1432
1438
|
* @type {string}
|
|
1433
1439
|
* @memberof FavoriteGroup
|
|
1434
1440
|
*/
|
|
@@ -1708,6 +1714,203 @@ export interface FriendStatus {
|
|
|
1708
1714
|
/**
|
|
1709
1715
|
*
|
|
1710
1716
|
* @export
|
|
1717
|
+
* @interface InfoPush
|
|
1718
|
+
*/
|
|
1719
|
+
export interface InfoPush {
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @type {string}
|
|
1723
|
+
* @memberof InfoPush
|
|
1724
|
+
*/
|
|
1725
|
+
'id': string;
|
|
1726
|
+
/**
|
|
1727
|
+
*
|
|
1728
|
+
* @type {boolean}
|
|
1729
|
+
* @memberof InfoPush
|
|
1730
|
+
*/
|
|
1731
|
+
'isEnabled': boolean;
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @type {ReleaseStatus}
|
|
1735
|
+
* @memberof InfoPush
|
|
1736
|
+
*/
|
|
1737
|
+
'releaseStatus': ReleaseStatus;
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {number}
|
|
1741
|
+
* @memberof InfoPush
|
|
1742
|
+
*/
|
|
1743
|
+
'priority': number;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {Array<string>}
|
|
1747
|
+
* @memberof InfoPush
|
|
1748
|
+
*/
|
|
1749
|
+
'tags': Array<string>;
|
|
1750
|
+
/**
|
|
1751
|
+
*
|
|
1752
|
+
* @type {InfoPushData}
|
|
1753
|
+
* @memberof InfoPush
|
|
1754
|
+
*/
|
|
1755
|
+
'data': InfoPushData;
|
|
1756
|
+
/**
|
|
1757
|
+
* Unknown usage, MD5
|
|
1758
|
+
* @type {string}
|
|
1759
|
+
* @memberof InfoPush
|
|
1760
|
+
*/
|
|
1761
|
+
'hash': string;
|
|
1762
|
+
/**
|
|
1763
|
+
*
|
|
1764
|
+
* @type {string}
|
|
1765
|
+
* @memberof InfoPush
|
|
1766
|
+
*/
|
|
1767
|
+
'createdAt': string;
|
|
1768
|
+
/**
|
|
1769
|
+
*
|
|
1770
|
+
* @type {string}
|
|
1771
|
+
* @memberof InfoPush
|
|
1772
|
+
*/
|
|
1773
|
+
'updatedAt': string;
|
|
1774
|
+
/**
|
|
1775
|
+
*
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof InfoPush
|
|
1778
|
+
*/
|
|
1779
|
+
'startDate'?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @type {string}
|
|
1783
|
+
* @memberof InfoPush
|
|
1784
|
+
*/
|
|
1785
|
+
'endDate'?: string;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @export
|
|
1790
|
+
* @interface InfoPushData
|
|
1791
|
+
*/
|
|
1792
|
+
export interface InfoPushData {
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {DynamicContentRow}
|
|
1796
|
+
* @memberof InfoPushData
|
|
1797
|
+
*/
|
|
1798
|
+
'contentList'?: DynamicContentRow;
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @type {string}
|
|
1802
|
+
* @memberof InfoPushData
|
|
1803
|
+
*/
|
|
1804
|
+
'description'?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @type {string}
|
|
1808
|
+
* @memberof InfoPushData
|
|
1809
|
+
*/
|
|
1810
|
+
'imageUrl'?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @type {string}
|
|
1814
|
+
* @memberof InfoPushData
|
|
1815
|
+
*/
|
|
1816
|
+
'name'?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @type {InfoPushDataClickable}
|
|
1820
|
+
* @memberof InfoPushData
|
|
1821
|
+
*/
|
|
1822
|
+
'onPressed'?: InfoPushDataClickable;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof InfoPushData
|
|
1827
|
+
*/
|
|
1828
|
+
'template'?: string;
|
|
1829
|
+
/**
|
|
1830
|
+
*
|
|
1831
|
+
* @type {string}
|
|
1832
|
+
* @memberof InfoPushData
|
|
1833
|
+
*/
|
|
1834
|
+
'version'?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {InfoPushDataArticle}
|
|
1838
|
+
* @memberof InfoPushData
|
|
1839
|
+
*/
|
|
1840
|
+
'article'?: InfoPushDataArticle;
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @export
|
|
1845
|
+
* @interface InfoPushDataArticle
|
|
1846
|
+
*/
|
|
1847
|
+
export interface InfoPushDataArticle {
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @type {InfoPushDataArticleContent}
|
|
1851
|
+
* @memberof InfoPushDataArticle
|
|
1852
|
+
*/
|
|
1853
|
+
'content'?: InfoPushDataArticleContent;
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @export
|
|
1858
|
+
* @interface InfoPushDataArticleContent
|
|
1859
|
+
*/
|
|
1860
|
+
export interface InfoPushDataArticleContent {
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {string}
|
|
1864
|
+
* @memberof InfoPushDataArticleContent
|
|
1865
|
+
*/
|
|
1866
|
+
'text'?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {string}
|
|
1870
|
+
* @memberof InfoPushDataArticleContent
|
|
1871
|
+
*/
|
|
1872
|
+
'imageUrl'?: string;
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {InfoPushDataClickable}
|
|
1876
|
+
* @memberof InfoPushDataArticleContent
|
|
1877
|
+
*/
|
|
1878
|
+
'onPressed'?: InfoPushDataClickable;
|
|
1879
|
+
}
|
|
1880
|
+
/**
|
|
1881
|
+
*
|
|
1882
|
+
* @export
|
|
1883
|
+
* @interface InfoPushDataClickable
|
|
1884
|
+
*/
|
|
1885
|
+
export interface InfoPushDataClickable {
|
|
1886
|
+
/**
|
|
1887
|
+
*
|
|
1888
|
+
* @type {string}
|
|
1889
|
+
* @memberof InfoPushDataClickable
|
|
1890
|
+
*/
|
|
1891
|
+
'command': InfoPushDataClickableCommandEnum;
|
|
1892
|
+
/**
|
|
1893
|
+
* In case of OpenURL, this would contain the link.
|
|
1894
|
+
* @type {Array<string>}
|
|
1895
|
+
* @memberof InfoPushDataClickable
|
|
1896
|
+
*/
|
|
1897
|
+
'parameters'?: Array<string>;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* @export
|
|
1902
|
+
* @enum {string}
|
|
1903
|
+
*/
|
|
1904
|
+
export enum InfoPushDataClickableCommandEnum {
|
|
1905
|
+
OpenUrl = 'OpenURL',
|
|
1906
|
+
OpenVrcPlusMenu = 'OpenVRCPlusMenu',
|
|
1907
|
+
OpenSafetyMenu = 'OpenSafetyMenu',
|
|
1908
|
+
CannedWorldSearch = 'CannedWorldSearch'
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* * `hidden` field is only present if InstanceType is `hidden` aka \"Friends+\", and is instance creator. * `friends` field is only present if InstanceType is `friends` aka \"Friends\", and is instance creator. * `private` field is only present if InstanceType is `private` aka \"Invite\" or \"Invite+\", and is instance creator.
|
|
1913
|
+
* @export
|
|
1711
1914
|
* @interface Instance
|
|
1712
1915
|
*/
|
|
1713
1916
|
export interface Instance {
|
|
@@ -1730,9 +1933,10 @@ export interface Instance {
|
|
|
1730
1933
|
*/
|
|
1731
1934
|
'capacity': number;
|
|
1732
1935
|
/**
|
|
1733
|
-
*
|
|
1936
|
+
* Always returns \"unknown\".
|
|
1734
1937
|
* @type {string}
|
|
1735
1938
|
* @memberof Instance
|
|
1939
|
+
* @deprecated
|
|
1736
1940
|
*/
|
|
1737
1941
|
'clientNumber': string;
|
|
1738
1942
|
/**
|
|
@@ -1742,7 +1946,7 @@ export interface Instance {
|
|
|
1742
1946
|
*/
|
|
1743
1947
|
'full': boolean;
|
|
1744
1948
|
/**
|
|
1745
|
-
*
|
|
1949
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1746
1950
|
* @type {string}
|
|
1747
1951
|
* @memberof Instance
|
|
1748
1952
|
*/
|
|
@@ -1754,7 +1958,7 @@ export interface Instance {
|
|
|
1754
1958
|
*/
|
|
1755
1959
|
'instanceId': string;
|
|
1756
1960
|
/**
|
|
1757
|
-
*
|
|
1961
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1758
1962
|
* @type {string}
|
|
1759
1963
|
* @memberof Instance
|
|
1760
1964
|
*/
|
|
@@ -1772,13 +1976,7 @@ export interface Instance {
|
|
|
1772
1976
|
*/
|
|
1773
1977
|
'name': string;
|
|
1774
1978
|
/**
|
|
1775
|
-
*
|
|
1776
|
-
* @type {string}
|
|
1777
|
-
* @memberof Instance
|
|
1778
|
-
*/
|
|
1779
|
-
'nonce'?: string;
|
|
1780
|
-
/**
|
|
1781
|
-
*
|
|
1979
|
+
* 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.
|
|
1782
1980
|
* @type {string}
|
|
1783
1981
|
* @memberof Instance
|
|
1784
1982
|
*/
|
|
@@ -1791,10 +1989,10 @@ export interface Instance {
|
|
|
1791
1989
|
'permanent': boolean;
|
|
1792
1990
|
/**
|
|
1793
1991
|
*
|
|
1794
|
-
* @type {
|
|
1992
|
+
* @type {Region}
|
|
1795
1993
|
* @memberof Instance
|
|
1796
1994
|
*/
|
|
1797
|
-
'photonRegion':
|
|
1995
|
+
'photonRegion': Region;
|
|
1798
1996
|
/**
|
|
1799
1997
|
*
|
|
1800
1998
|
* @type {InstancePlatforms}
|
|
@@ -1803,10 +2001,10 @@ export interface Instance {
|
|
|
1803
2001
|
'platforms': InstancePlatforms;
|
|
1804
2002
|
/**
|
|
1805
2003
|
*
|
|
1806
|
-
* @type {
|
|
2004
|
+
* @type {Region}
|
|
1807
2005
|
* @memberof Instance
|
|
1808
2006
|
*/
|
|
1809
|
-
'region':
|
|
2007
|
+
'region': Region;
|
|
1810
2008
|
/**
|
|
1811
2009
|
*
|
|
1812
2010
|
* @type {string}
|
|
@@ -1814,37 +2012,41 @@ export interface Instance {
|
|
|
1814
2012
|
*/
|
|
1815
2013
|
'shortName': string;
|
|
1816
2014
|
/**
|
|
1817
|
-
*
|
|
2015
|
+
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
1818
2016
|
* @type {Array<string>}
|
|
1819
2017
|
* @memberof Instance
|
|
1820
2018
|
*/
|
|
1821
2019
|
'tags': Array<string>;
|
|
1822
2020
|
/**
|
|
1823
2021
|
*
|
|
2022
|
+
* @type {InstanceType}
|
|
2023
|
+
* @memberof Instance
|
|
2024
|
+
*/
|
|
2025
|
+
'type': InstanceType;
|
|
2026
|
+
/**
|
|
2027
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
1824
2028
|
* @type {string}
|
|
1825
2029
|
* @memberof Instance
|
|
1826
2030
|
*/
|
|
1827
|
-
'
|
|
2031
|
+
'worldId': string;
|
|
1828
2032
|
/**
|
|
1829
|
-
*
|
|
1830
|
-
* @type {
|
|
2033
|
+
* 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.
|
|
2034
|
+
* @type {string}
|
|
1831
2035
|
* @memberof Instance
|
|
1832
|
-
* @deprecated
|
|
1833
2036
|
*/
|
|
1834
|
-
'
|
|
2037
|
+
'hidden'?: string;
|
|
1835
2038
|
/**
|
|
1836
|
-
*
|
|
1837
|
-
* @type {
|
|
2039
|
+
* 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.
|
|
2040
|
+
* @type {string}
|
|
1838
2041
|
* @memberof Instance
|
|
1839
|
-
* @deprecated
|
|
1840
2042
|
*/
|
|
1841
|
-
'
|
|
2043
|
+
'friends'?: string;
|
|
1842
2044
|
/**
|
|
1843
|
-
*
|
|
2045
|
+
* 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.
|
|
1844
2046
|
* @type {string}
|
|
1845
2047
|
* @memberof Instance
|
|
1846
2048
|
*/
|
|
1847
|
-
'
|
|
2049
|
+
'private'?: string;
|
|
1848
2050
|
}
|
|
1849
2051
|
/**
|
|
1850
2052
|
*
|
|
@@ -1865,6 +2067,19 @@ export interface InstancePlatforms {
|
|
|
1865
2067
|
*/
|
|
1866
2068
|
'standalonewindows': number;
|
|
1867
2069
|
}
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @export
|
|
2073
|
+
* @enum {string}
|
|
2074
|
+
*/
|
|
2075
|
+
|
|
2076
|
+
export enum InstanceType {
|
|
2077
|
+
Public = 'public',
|
|
2078
|
+
Hidden = 'hidden',
|
|
2079
|
+
Friends = 'friends',
|
|
2080
|
+
Private = 'private'
|
|
2081
|
+
}
|
|
2082
|
+
|
|
1868
2083
|
/**
|
|
1869
2084
|
*
|
|
1870
2085
|
* @export
|
|
@@ -1934,7 +2149,7 @@ export enum InviteMessageType {
|
|
|
1934
2149
|
*/
|
|
1935
2150
|
export interface InviteRequest {
|
|
1936
2151
|
/**
|
|
1937
|
-
*
|
|
2152
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1938
2153
|
* @type {string}
|
|
1939
2154
|
* @memberof InviteRequest
|
|
1940
2155
|
*/
|
|
@@ -1953,6 +2168,92 @@ export interface InviteResponse {
|
|
|
1953
2168
|
*/
|
|
1954
2169
|
'responseSlot': number;
|
|
1955
2170
|
}
|
|
2171
|
+
/**
|
|
2172
|
+
*
|
|
2173
|
+
* @export
|
|
2174
|
+
* @interface License
|
|
2175
|
+
*/
|
|
2176
|
+
export interface License {
|
|
2177
|
+
/**
|
|
2178
|
+
* Either a AvatarID, LicenseGroupID, PermissionID or ProductID. This depends on the `forType` field.
|
|
2179
|
+
* @type {string}
|
|
2180
|
+
* @memberof License
|
|
2181
|
+
*/
|
|
2182
|
+
'forId': string;
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @type {LicenseType}
|
|
2186
|
+
* @memberof License
|
|
2187
|
+
*/
|
|
2188
|
+
'forType': LicenseType;
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @type {string}
|
|
2192
|
+
* @memberof License
|
|
2193
|
+
*/
|
|
2194
|
+
'forName': string;
|
|
2195
|
+
/**
|
|
2196
|
+
*
|
|
2197
|
+
* @type {LicenseAction}
|
|
2198
|
+
* @memberof License
|
|
2199
|
+
*/
|
|
2200
|
+
'forAction': LicenseAction;
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
*
|
|
2204
|
+
* @export
|
|
2205
|
+
* @enum {string}
|
|
2206
|
+
*/
|
|
2207
|
+
|
|
2208
|
+
export enum LicenseAction {
|
|
2209
|
+
Wear = 'wear',
|
|
2210
|
+
Have = 'have'
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
*
|
|
2215
|
+
* @export
|
|
2216
|
+
* @interface LicenseGroup
|
|
2217
|
+
*/
|
|
2218
|
+
export interface LicenseGroup {
|
|
2219
|
+
/**
|
|
2220
|
+
*
|
|
2221
|
+
* @type {string}
|
|
2222
|
+
* @memberof LicenseGroup
|
|
2223
|
+
*/
|
|
2224
|
+
'id': string;
|
|
2225
|
+
/**
|
|
2226
|
+
*
|
|
2227
|
+
* @type {string}
|
|
2228
|
+
* @memberof LicenseGroup
|
|
2229
|
+
*/
|
|
2230
|
+
'name': string;
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @type {string}
|
|
2234
|
+
* @memberof LicenseGroup
|
|
2235
|
+
*/
|
|
2236
|
+
'description': string;
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @type {Array<License>}
|
|
2240
|
+
* @memberof LicenseGroup
|
|
2241
|
+
*/
|
|
2242
|
+
'licenses': Array<License>;
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
*
|
|
2246
|
+
* @export
|
|
2247
|
+
* @enum {string}
|
|
2248
|
+
*/
|
|
2249
|
+
|
|
2250
|
+
export enum LicenseType {
|
|
2251
|
+
Avatar = 'avatar',
|
|
2252
|
+
LicenseGroup = 'licenseGroup',
|
|
2253
|
+
Permission = 'permission',
|
|
2254
|
+
Product = 'product'
|
|
2255
|
+
}
|
|
2256
|
+
|
|
1956
2257
|
/**
|
|
1957
2258
|
*
|
|
1958
2259
|
* @export
|
|
@@ -1985,13 +2286,13 @@ export interface LimitedUser {
|
|
|
1985
2286
|
*/
|
|
1986
2287
|
'bio'?: string;
|
|
1987
2288
|
/**
|
|
1988
|
-
*
|
|
2289
|
+
* When profilePicOverride is not empty, use it instead.
|
|
1989
2290
|
* @type {string}
|
|
1990
2291
|
* @memberof LimitedUser
|
|
1991
2292
|
*/
|
|
1992
2293
|
'currentAvatarImageUrl': string;
|
|
1993
2294
|
/**
|
|
1994
|
-
*
|
|
2295
|
+
* When profilePicOverride is not empty, use it instead.
|
|
1995
2296
|
* @type {string}
|
|
1996
2297
|
* @memberof LimitedUser
|
|
1997
2298
|
*/
|
|
@@ -2015,7 +2316,7 @@ export interface LimitedUser {
|
|
|
2015
2316
|
*/
|
|
2016
2317
|
'fallbackAvatar': string;
|
|
2017
2318
|
/**
|
|
2018
|
-
*
|
|
2319
|
+
* 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.
|
|
2019
2320
|
* @type {string}
|
|
2020
2321
|
* @memberof LimitedUser
|
|
2021
2322
|
*/
|
|
@@ -2088,7 +2389,7 @@ export interface LimitedUser {
|
|
|
2088
2389
|
*/
|
|
2089
2390
|
export interface LimitedWorld {
|
|
2090
2391
|
/**
|
|
2091
|
-
*
|
|
2392
|
+
* 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.
|
|
2092
2393
|
* @type {string}
|
|
2093
2394
|
* @memberof LimitedWorld
|
|
2094
2395
|
*/
|
|
@@ -2124,7 +2425,7 @@ export interface LimitedWorld {
|
|
|
2124
2425
|
*/
|
|
2125
2426
|
'heat': number;
|
|
2126
2427
|
/**
|
|
2127
|
-
*
|
|
2428
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
2128
2429
|
* @type {string}
|
|
2129
2430
|
* @memberof LimitedWorld
|
|
2130
2431
|
*/
|
|
@@ -2269,7 +2570,7 @@ export interface ModelFile {
|
|
|
2269
2570
|
*/
|
|
2270
2571
|
'name': string;
|
|
2271
2572
|
/**
|
|
2272
|
-
*
|
|
2573
|
+
* 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.
|
|
2273
2574
|
* @type {string}
|
|
2274
2575
|
* @memberof ModelFile
|
|
2275
2576
|
*/
|
|
@@ -2294,7 +2595,7 @@ export interface ModelFile {
|
|
|
2294
2595
|
*/
|
|
2295
2596
|
export interface ModerateUserRequest {
|
|
2296
2597
|
/**
|
|
2297
|
-
*
|
|
2598
|
+
* 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.
|
|
2298
2599
|
* @type {string}
|
|
2299
2600
|
* @memberof ModerateUserRequest
|
|
2300
2601
|
*/
|
|
@@ -2343,7 +2644,7 @@ export interface Notification {
|
|
|
2343
2644
|
*/
|
|
2344
2645
|
'seen': boolean;
|
|
2345
2646
|
/**
|
|
2346
|
-
*
|
|
2647
|
+
* 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.
|
|
2347
2648
|
* @type {string}
|
|
2348
2649
|
* @memberof Notification
|
|
2349
2650
|
*/
|
|
@@ -2414,7 +2715,7 @@ export interface Permission {
|
|
|
2414
2715
|
*/
|
|
2415
2716
|
'name': string;
|
|
2416
2717
|
/**
|
|
2417
|
-
*
|
|
2718
|
+
* 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.
|
|
2418
2719
|
* @type {string}
|
|
2419
2720
|
* @memberof Permission
|
|
2420
2721
|
*/
|
|
@@ -2451,7 +2752,7 @@ export interface PlayerModeration {
|
|
|
2451
2752
|
*/
|
|
2452
2753
|
'sourceDisplayName': string;
|
|
2453
2754
|
/**
|
|
2454
|
-
*
|
|
2755
|
+
* 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.
|
|
2455
2756
|
* @type {string}
|
|
2456
2757
|
* @memberof PlayerModeration
|
|
2457
2758
|
*/
|
|
@@ -2463,7 +2764,7 @@ export interface PlayerModeration {
|
|
|
2463
2764
|
*/
|
|
2464
2765
|
'targetDisplayName': string;
|
|
2465
2766
|
/**
|
|
2466
|
-
*
|
|
2767
|
+
* 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.
|
|
2467
2768
|
* @type {string}
|
|
2468
2769
|
* @memberof PlayerModeration
|
|
2469
2770
|
*/
|
|
@@ -2510,15 +2811,28 @@ export interface PublicAnnouncement {
|
|
|
2510
2811
|
'text': string;
|
|
2511
2812
|
}
|
|
2512
2813
|
/**
|
|
2513
|
-
*
|
|
2814
|
+
* API/Photon region.
|
|
2514
2815
|
* @export
|
|
2515
2816
|
* @enum {string}
|
|
2516
2817
|
*/
|
|
2517
2818
|
|
|
2518
|
-
export enum
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2819
|
+
export enum Region {
|
|
2820
|
+
Us = 'us',
|
|
2821
|
+
Use = 'use',
|
|
2822
|
+
Eu = 'eu',
|
|
2823
|
+
Jp = 'jp'
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
*
|
|
2828
|
+
* @export
|
|
2829
|
+
* @enum {string}
|
|
2830
|
+
*/
|
|
2831
|
+
|
|
2832
|
+
export enum ReleaseStatus {
|
|
2833
|
+
Public = 'public',
|
|
2834
|
+
Private = 'private',
|
|
2835
|
+
Hidden = 'hidden'
|
|
2522
2836
|
}
|
|
2523
2837
|
|
|
2524
2838
|
/**
|
|
@@ -2540,6 +2854,63 @@ export interface Response {
|
|
|
2540
2854
|
*/
|
|
2541
2855
|
'status_code': number;
|
|
2542
2856
|
}
|
|
2857
|
+
/**
|
|
2858
|
+
*
|
|
2859
|
+
* @export
|
|
2860
|
+
* @interface Subscription
|
|
2861
|
+
*/
|
|
2862
|
+
export interface Subscription {
|
|
2863
|
+
/**
|
|
2864
|
+
*
|
|
2865
|
+
* @type {string}
|
|
2866
|
+
* @memberof Subscription
|
|
2867
|
+
*/
|
|
2868
|
+
'id': string;
|
|
2869
|
+
/**
|
|
2870
|
+
*
|
|
2871
|
+
* @type {string}
|
|
2872
|
+
* @memberof Subscription
|
|
2873
|
+
*/
|
|
2874
|
+
'steamItemId': string;
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @type {number}
|
|
2878
|
+
* @memberof Subscription
|
|
2879
|
+
*/
|
|
2880
|
+
'amount': number;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @type {string}
|
|
2884
|
+
* @memberof Subscription
|
|
2885
|
+
*/
|
|
2886
|
+
'description': string;
|
|
2887
|
+
/**
|
|
2888
|
+
*
|
|
2889
|
+
* @type {SubscriptionPeriod}
|
|
2890
|
+
* @memberof Subscription
|
|
2891
|
+
*/
|
|
2892
|
+
'period': SubscriptionPeriod;
|
|
2893
|
+
/**
|
|
2894
|
+
*
|
|
2895
|
+
* @type {number}
|
|
2896
|
+
* @memberof Subscription
|
|
2897
|
+
*/
|
|
2898
|
+
'tier': number;
|
|
2899
|
+
}
|
|
2900
|
+
/**
|
|
2901
|
+
*
|
|
2902
|
+
* @export
|
|
2903
|
+
* @enum {string}
|
|
2904
|
+
*/
|
|
2905
|
+
|
|
2906
|
+
export enum SubscriptionPeriod {
|
|
2907
|
+
Hour = 'hour',
|
|
2908
|
+
Day = 'day',
|
|
2909
|
+
Week = 'week',
|
|
2910
|
+
Month = 'month',
|
|
2911
|
+
Year = 'year'
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2543
2914
|
/**
|
|
2544
2915
|
*
|
|
2545
2916
|
* @export
|
|
@@ -2553,6 +2924,257 @@ export interface Success {
|
|
|
2553
2924
|
*/
|
|
2554
2925
|
'success'?: Response;
|
|
2555
2926
|
}
|
|
2927
|
+
/**
|
|
2928
|
+
*
|
|
2929
|
+
* @export
|
|
2930
|
+
* @interface Transaction
|
|
2931
|
+
*/
|
|
2932
|
+
export interface Transaction {
|
|
2933
|
+
/**
|
|
2934
|
+
*
|
|
2935
|
+
* @type {string}
|
|
2936
|
+
* @memberof Transaction
|
|
2937
|
+
*/
|
|
2938
|
+
'id': string;
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @type {TransactionStatus}
|
|
2942
|
+
* @memberof Transaction
|
|
2943
|
+
*/
|
|
2944
|
+
'status': TransactionStatus;
|
|
2945
|
+
/**
|
|
2946
|
+
*
|
|
2947
|
+
* @type {Subscription}
|
|
2948
|
+
* @memberof Transaction
|
|
2949
|
+
*/
|
|
2950
|
+
'subscription': Subscription;
|
|
2951
|
+
/**
|
|
2952
|
+
*
|
|
2953
|
+
* @type {boolean}
|
|
2954
|
+
* @memberof Transaction
|
|
2955
|
+
*/
|
|
2956
|
+
'sandbox': boolean;
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
2959
|
+
* @type {string}
|
|
2960
|
+
* @memberof Transaction
|
|
2961
|
+
*/
|
|
2962
|
+
'created_at': string;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @type {string}
|
|
2966
|
+
* @memberof Transaction
|
|
2967
|
+
*/
|
|
2968
|
+
'updated_at': string;
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @type {TransactionSteamInfo}
|
|
2972
|
+
* @memberof Transaction
|
|
2973
|
+
*/
|
|
2974
|
+
'steam'?: TransactionSteamInfo;
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {TransactionAgreement}
|
|
2978
|
+
* @memberof Transaction
|
|
2979
|
+
*/
|
|
2980
|
+
'agreement'?: TransactionAgreement;
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @type {string}
|
|
2984
|
+
* @memberof Transaction
|
|
2985
|
+
*/
|
|
2986
|
+
'error': string;
|
|
2987
|
+
}
|
|
2988
|
+
/**
|
|
2989
|
+
*
|
|
2990
|
+
* @export
|
|
2991
|
+
* @interface TransactionAgreement
|
|
2992
|
+
*/
|
|
2993
|
+
export interface TransactionAgreement {
|
|
2994
|
+
/**
|
|
2995
|
+
*
|
|
2996
|
+
* @type {string}
|
|
2997
|
+
* @memberof TransactionAgreement
|
|
2998
|
+
*/
|
|
2999
|
+
'agreementId': string;
|
|
3000
|
+
/**
|
|
3001
|
+
*
|
|
3002
|
+
* @type {number}
|
|
3003
|
+
* @memberof TransactionAgreement
|
|
3004
|
+
*/
|
|
3005
|
+
'itemId': number;
|
|
3006
|
+
/**
|
|
3007
|
+
* This is NOT TransactionStatus, but whatever Steam return.
|
|
3008
|
+
* @type {string}
|
|
3009
|
+
* @memberof TransactionAgreement
|
|
3010
|
+
*/
|
|
3011
|
+
'status': string;
|
|
3012
|
+
/**
|
|
3013
|
+
*
|
|
3014
|
+
* @type {string}
|
|
3015
|
+
* @memberof TransactionAgreement
|
|
3016
|
+
*/
|
|
3017
|
+
'period': string;
|
|
3018
|
+
/**
|
|
3019
|
+
*
|
|
3020
|
+
* @type {number}
|
|
3021
|
+
* @memberof TransactionAgreement
|
|
3022
|
+
*/
|
|
3023
|
+
'frequency': number;
|
|
3024
|
+
/**
|
|
3025
|
+
*
|
|
3026
|
+
* @type {string}
|
|
3027
|
+
* @memberof TransactionAgreement
|
|
3028
|
+
*/
|
|
3029
|
+
'billingType': string;
|
|
3030
|
+
/**
|
|
3031
|
+
*
|
|
3032
|
+
* @type {string}
|
|
3033
|
+
* @memberof TransactionAgreement
|
|
3034
|
+
*/
|
|
3035
|
+
'startDate': string;
|
|
3036
|
+
/**
|
|
3037
|
+
*
|
|
3038
|
+
* @type {string}
|
|
3039
|
+
* @memberof TransactionAgreement
|
|
3040
|
+
*/
|
|
3041
|
+
'endDate': string;
|
|
3042
|
+
/**
|
|
3043
|
+
*
|
|
3044
|
+
* @type {number}
|
|
3045
|
+
* @memberof TransactionAgreement
|
|
3046
|
+
*/
|
|
3047
|
+
'recurringAmt': number;
|
|
3048
|
+
/**
|
|
3049
|
+
*
|
|
3050
|
+
* @type {string}
|
|
3051
|
+
* @memberof TransactionAgreement
|
|
3052
|
+
*/
|
|
3053
|
+
'currency': string;
|
|
3054
|
+
/**
|
|
3055
|
+
*
|
|
3056
|
+
* @type {string}
|
|
3057
|
+
* @memberof TransactionAgreement
|
|
3058
|
+
*/
|
|
3059
|
+
'timeCreated': string;
|
|
3060
|
+
/**
|
|
3061
|
+
*
|
|
3062
|
+
* @type {string}
|
|
3063
|
+
* @memberof TransactionAgreement
|
|
3064
|
+
*/
|
|
3065
|
+
'nextPayment': string;
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @type {string}
|
|
3069
|
+
* @memberof TransactionAgreement
|
|
3070
|
+
*/
|
|
3071
|
+
'lastPayment': string;
|
|
3072
|
+
/**
|
|
3073
|
+
*
|
|
3074
|
+
* @type {number}
|
|
3075
|
+
* @memberof TransactionAgreement
|
|
3076
|
+
*/
|
|
3077
|
+
'lastAmount': number;
|
|
3078
|
+
/**
|
|
3079
|
+
*
|
|
3080
|
+
* @type {number}
|
|
3081
|
+
* @memberof TransactionAgreement
|
|
3082
|
+
*/
|
|
3083
|
+
'lastAmountVat': number;
|
|
3084
|
+
/**
|
|
3085
|
+
*
|
|
3086
|
+
* @type {number}
|
|
3087
|
+
* @memberof TransactionAgreement
|
|
3088
|
+
*/
|
|
3089
|
+
'outstanding': number;
|
|
3090
|
+
/**
|
|
3091
|
+
*
|
|
3092
|
+
* @type {number}
|
|
3093
|
+
* @memberof TransactionAgreement
|
|
3094
|
+
*/
|
|
3095
|
+
'failedAttempts': number;
|
|
3096
|
+
}
|
|
3097
|
+
/**
|
|
3098
|
+
*
|
|
3099
|
+
* @export
|
|
3100
|
+
* @enum {string}
|
|
3101
|
+
*/
|
|
3102
|
+
|
|
3103
|
+
export enum TransactionStatus {
|
|
3104
|
+
Active = 'active',
|
|
3105
|
+
Failed = 'failed',
|
|
3106
|
+
Expired = 'expired',
|
|
3107
|
+
Chargeback = 'chargeback'
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @export
|
|
3113
|
+
* @interface TransactionSteamInfo
|
|
3114
|
+
*/
|
|
3115
|
+
export interface TransactionSteamInfo {
|
|
3116
|
+
/**
|
|
3117
|
+
*
|
|
3118
|
+
* @type {TransactionSteamWalletInfo}
|
|
3119
|
+
* @memberof TransactionSteamInfo
|
|
3120
|
+
*/
|
|
3121
|
+
'walletInfo': TransactionSteamWalletInfo;
|
|
3122
|
+
/**
|
|
3123
|
+
* Steam User ID
|
|
3124
|
+
* @type {string}
|
|
3125
|
+
* @memberof TransactionSteamInfo
|
|
3126
|
+
*/
|
|
3127
|
+
'steamId': string;
|
|
3128
|
+
/**
|
|
3129
|
+
* Steam Order ID
|
|
3130
|
+
* @type {string}
|
|
3131
|
+
* @memberof TransactionSteamInfo
|
|
3132
|
+
*/
|
|
3133
|
+
'orderId': string;
|
|
3134
|
+
/**
|
|
3135
|
+
* Empty
|
|
3136
|
+
* @type {string}
|
|
3137
|
+
* @memberof TransactionSteamInfo
|
|
3138
|
+
*/
|
|
3139
|
+
'steamUrl': string;
|
|
3140
|
+
/**
|
|
3141
|
+
* Steam Transaction ID, NOT the same as VRChat TransactionID
|
|
3142
|
+
* @type {string}
|
|
3143
|
+
* @memberof TransactionSteamInfo
|
|
3144
|
+
*/
|
|
3145
|
+
'transId': string;
|
|
3146
|
+
}
|
|
3147
|
+
/**
|
|
3148
|
+
*
|
|
3149
|
+
* @export
|
|
3150
|
+
* @interface TransactionSteamWalletInfo
|
|
3151
|
+
*/
|
|
3152
|
+
export interface TransactionSteamWalletInfo {
|
|
3153
|
+
/**
|
|
3154
|
+
*
|
|
3155
|
+
* @type {string}
|
|
3156
|
+
* @memberof TransactionSteamWalletInfo
|
|
3157
|
+
*/
|
|
3158
|
+
'state': string;
|
|
3159
|
+
/**
|
|
3160
|
+
*
|
|
3161
|
+
* @type {string}
|
|
3162
|
+
* @memberof TransactionSteamWalletInfo
|
|
3163
|
+
*/
|
|
3164
|
+
'country': string;
|
|
3165
|
+
/**
|
|
3166
|
+
*
|
|
3167
|
+
* @type {string}
|
|
3168
|
+
* @memberof TransactionSteamWalletInfo
|
|
3169
|
+
*/
|
|
3170
|
+
'currency': string;
|
|
3171
|
+
/**
|
|
3172
|
+
*
|
|
3173
|
+
* @type {string}
|
|
3174
|
+
* @memberof TransactionSteamWalletInfo
|
|
3175
|
+
*/
|
|
3176
|
+
'status': string;
|
|
3177
|
+
}
|
|
2556
3178
|
/**
|
|
2557
3179
|
*
|
|
2558
3180
|
* @export
|
|
@@ -2719,6 +3341,19 @@ export interface UpdateFavoriteGroupRequest {
|
|
|
2719
3341
|
*/
|
|
2720
3342
|
'tags'?: Array<string>;
|
|
2721
3343
|
}
|
|
3344
|
+
/**
|
|
3345
|
+
*
|
|
3346
|
+
* @export
|
|
3347
|
+
* @interface UpdateInviteMessageRequest
|
|
3348
|
+
*/
|
|
3349
|
+
export interface UpdateInviteMessageRequest {
|
|
3350
|
+
/**
|
|
3351
|
+
*
|
|
3352
|
+
* @type {string}
|
|
3353
|
+
* @memberof UpdateInviteMessageRequest
|
|
3354
|
+
*/
|
|
3355
|
+
'message': string;
|
|
3356
|
+
}
|
|
2722
3357
|
/**
|
|
2723
3358
|
*
|
|
2724
3359
|
* @export
|
|
@@ -2799,7 +3434,7 @@ export interface UpdateWorldRequest {
|
|
|
2799
3434
|
*/
|
|
2800
3435
|
'assetVersion'?: string;
|
|
2801
3436
|
/**
|
|
2802
|
-
*
|
|
3437
|
+
* 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.
|
|
2803
3438
|
* @type {string}
|
|
2804
3439
|
* @memberof UpdateWorldRequest
|
|
2805
3440
|
*/
|
|
@@ -2890,13 +3525,13 @@ export interface User {
|
|
|
2890
3525
|
*/
|
|
2891
3526
|
'bioLinks': Array<string>;
|
|
2892
3527
|
/**
|
|
2893
|
-
*
|
|
3528
|
+
* When profilePicOverride is not empty, use it instead.
|
|
2894
3529
|
* @type {string}
|
|
2895
3530
|
* @memberof User
|
|
2896
3531
|
*/
|
|
2897
3532
|
'currentAvatarImageUrl': string;
|
|
2898
3533
|
/**
|
|
2899
|
-
*
|
|
3534
|
+
* When profilePicOverride is not empty, use it instead.
|
|
2900
3535
|
* @type {string}
|
|
2901
3536
|
* @memberof User
|
|
2902
3537
|
*/
|
|
@@ -2914,7 +3549,7 @@ export interface User {
|
|
|
2914
3549
|
*/
|
|
2915
3550
|
'developerType': DeveloperType;
|
|
2916
3551
|
/**
|
|
2917
|
-
*
|
|
3552
|
+
* A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period.
|
|
2918
3553
|
* @type {string}
|
|
2919
3554
|
* @memberof User
|
|
2920
3555
|
*/
|
|
@@ -2926,25 +3561,25 @@ export interface User {
|
|
|
2926
3561
|
*/
|
|
2927
3562
|
'friendKey': string;
|
|
2928
3563
|
/**
|
|
2929
|
-
*
|
|
3564
|
+
* 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.
|
|
2930
3565
|
* @type {string}
|
|
2931
3566
|
* @memberof User
|
|
2932
3567
|
*/
|
|
2933
3568
|
'id': string;
|
|
2934
3569
|
/**
|
|
2935
|
-
*
|
|
3570
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
2936
3571
|
* @type {string}
|
|
2937
3572
|
* @memberof User
|
|
2938
3573
|
*/
|
|
2939
3574
|
'instanceId'?: string;
|
|
2940
3575
|
/**
|
|
2941
|
-
*
|
|
3576
|
+
* Either their `friendKey`, or empty string if you are not friends. Unknown usage.
|
|
2942
3577
|
* @type {boolean}
|
|
2943
3578
|
* @memberof User
|
|
2944
3579
|
*/
|
|
2945
3580
|
'isFriend': boolean;
|
|
2946
3581
|
/**
|
|
2947
|
-
*
|
|
3582
|
+
* Either a date-time or empty string.
|
|
2948
3583
|
* @type {string}
|
|
2949
3584
|
* @memberof User
|
|
2950
3585
|
*/
|
|
@@ -2956,7 +3591,7 @@ export interface User {
|
|
|
2956
3591
|
*/
|
|
2957
3592
|
'last_platform': string;
|
|
2958
3593
|
/**
|
|
2959
|
-
*
|
|
3594
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
2960
3595
|
* @type {string}
|
|
2961
3596
|
* @memberof User
|
|
2962
3597
|
*/
|
|
@@ -2998,13 +3633,13 @@ export interface User {
|
|
|
2998
3633
|
*/
|
|
2999
3634
|
'userIcon': string;
|
|
3000
3635
|
/**
|
|
3001
|
-
*
|
|
3636
|
+
* A users unique name, used during login. This is different from `displayName` which is what shows up in-game. A users `username` can never be changed.
|
|
3002
3637
|
* @type {string}
|
|
3003
3638
|
* @memberof User
|
|
3004
3639
|
*/
|
|
3005
3640
|
'username': string;
|
|
3006
3641
|
/**
|
|
3007
|
-
*
|
|
3642
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3008
3643
|
* @type {string}
|
|
3009
3644
|
* @memberof User
|
|
3010
3645
|
*/
|
|
@@ -3052,32 +3687,129 @@ export enum UserStatus {
|
|
|
3052
3687
|
/**
|
|
3053
3688
|
*
|
|
3054
3689
|
* @export
|
|
3055
|
-
* @interface
|
|
3690
|
+
* @interface UserSubscription
|
|
3056
3691
|
*/
|
|
3057
|
-
export interface
|
|
3692
|
+
export interface UserSubscription {
|
|
3058
3693
|
/**
|
|
3059
3694
|
*
|
|
3060
|
-
* @type {
|
|
3061
|
-
* @memberof
|
|
3695
|
+
* @type {string}
|
|
3696
|
+
* @memberof UserSubscription
|
|
3062
3697
|
*/
|
|
3063
|
-
'
|
|
3064
|
-
}
|
|
3065
|
-
/**
|
|
3066
|
-
*
|
|
3067
|
-
* @export
|
|
3068
|
-
* @interface VerifyAuthTokenResult
|
|
3069
|
-
*/
|
|
3070
|
-
export interface VerifyAuthTokenResult {
|
|
3698
|
+
'id': string;
|
|
3071
3699
|
/**
|
|
3072
3700
|
*
|
|
3073
|
-
* @type {
|
|
3074
|
-
* @memberof
|
|
3701
|
+
* @type {string}
|
|
3702
|
+
* @memberof UserSubscription
|
|
3075
3703
|
*/
|
|
3076
|
-
'
|
|
3704
|
+
'transactionId': string;
|
|
3705
|
+
/**
|
|
3706
|
+
* Which \"Store\" it came from. Right now only Stores are \"Steam\" and \"Admin\".
|
|
3707
|
+
* @type {string}
|
|
3708
|
+
* @memberof UserSubscription
|
|
3709
|
+
*/
|
|
3710
|
+
'store': string;
|
|
3077
3711
|
/**
|
|
3078
3712
|
*
|
|
3079
3713
|
* @type {string}
|
|
3080
|
-
* @memberof
|
|
3714
|
+
* @memberof UserSubscription
|
|
3715
|
+
*/
|
|
3716
|
+
'steamItemId'?: string;
|
|
3717
|
+
/**
|
|
3718
|
+
*
|
|
3719
|
+
* @type {number}
|
|
3720
|
+
* @memberof UserSubscription
|
|
3721
|
+
*/
|
|
3722
|
+
'amount': number;
|
|
3723
|
+
/**
|
|
3724
|
+
*
|
|
3725
|
+
* @type {string}
|
|
3726
|
+
* @memberof UserSubscription
|
|
3727
|
+
*/
|
|
3728
|
+
'description': string;
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @type {SubscriptionPeriod}
|
|
3732
|
+
* @memberof UserSubscription
|
|
3733
|
+
*/
|
|
3734
|
+
'period': SubscriptionPeriod;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @type {number}
|
|
3738
|
+
* @memberof UserSubscription
|
|
3739
|
+
*/
|
|
3740
|
+
'tier': number;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {boolean}
|
|
3744
|
+
* @memberof UserSubscription
|
|
3745
|
+
*/
|
|
3746
|
+
'active': boolean;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {TransactionStatus}
|
|
3750
|
+
* @memberof UserSubscription
|
|
3751
|
+
*/
|
|
3752
|
+
'status': TransactionStatus;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {string}
|
|
3756
|
+
* @memberof UserSubscription
|
|
3757
|
+
*/
|
|
3758
|
+
'expires': string;
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @type {string}
|
|
3762
|
+
* @memberof UserSubscription
|
|
3763
|
+
*/
|
|
3764
|
+
'created_at': string;
|
|
3765
|
+
/**
|
|
3766
|
+
*
|
|
3767
|
+
* @type {string}
|
|
3768
|
+
* @memberof UserSubscription
|
|
3769
|
+
*/
|
|
3770
|
+
'updated_at': string;
|
|
3771
|
+
/**
|
|
3772
|
+
*
|
|
3773
|
+
* @type {Array<string>}
|
|
3774
|
+
* @memberof UserSubscription
|
|
3775
|
+
*/
|
|
3776
|
+
'licenseGroups': Array<string>;
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @type {boolean}
|
|
3780
|
+
* @memberof UserSubscription
|
|
3781
|
+
*/
|
|
3782
|
+
'isGift': boolean;
|
|
3783
|
+
}
|
|
3784
|
+
/**
|
|
3785
|
+
*
|
|
3786
|
+
* @export
|
|
3787
|
+
* @interface Verify2FAResult
|
|
3788
|
+
*/
|
|
3789
|
+
export interface Verify2FAResult {
|
|
3790
|
+
/**
|
|
3791
|
+
*
|
|
3792
|
+
* @type {boolean}
|
|
3793
|
+
* @memberof Verify2FAResult
|
|
3794
|
+
*/
|
|
3795
|
+
'verified': boolean;
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
*
|
|
3799
|
+
* @export
|
|
3800
|
+
* @interface VerifyAuthTokenResult
|
|
3801
|
+
*/
|
|
3802
|
+
export interface VerifyAuthTokenResult {
|
|
3803
|
+
/**
|
|
3804
|
+
*
|
|
3805
|
+
* @type {boolean}
|
|
3806
|
+
* @memberof VerifyAuthTokenResult
|
|
3807
|
+
*/
|
|
3808
|
+
'ok': boolean;
|
|
3809
|
+
/**
|
|
3810
|
+
*
|
|
3811
|
+
* @type {string}
|
|
3812
|
+
* @memberof VerifyAuthTokenResult
|
|
3081
3813
|
*/
|
|
3082
3814
|
'token': string;
|
|
3083
3815
|
}
|
|
@@ -3100,7 +3832,7 @@ export interface World {
|
|
|
3100
3832
|
*/
|
|
3101
3833
|
'assetUrlObject': object;
|
|
3102
3834
|
/**
|
|
3103
|
-
*
|
|
3835
|
+
* 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.
|
|
3104
3836
|
* @type {string}
|
|
3105
3837
|
* @memberof World
|
|
3106
3838
|
*/
|
|
@@ -3148,7 +3880,7 @@ export interface World {
|
|
|
3148
3880
|
*/
|
|
3149
3881
|
'heat': number;
|
|
3150
3882
|
/**
|
|
3151
|
-
*
|
|
3883
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3152
3884
|
* @type {string}
|
|
3153
3885
|
* @memberof World
|
|
3154
3886
|
*/
|
|
@@ -3287,7 +4019,7 @@ export interface World {
|
|
|
3287
4019
|
*/
|
|
3288
4020
|
export interface WorldMetadata {
|
|
3289
4021
|
/**
|
|
3290
|
-
*
|
|
4022
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3291
4023
|
* @type {string}
|
|
3292
4024
|
* @memberof WorldMetadata
|
|
3293
4025
|
*/
|
|
@@ -3975,7 +4707,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3975
4707
|
* @param {'ascending' | 'descending'} [order]
|
|
3976
4708
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
3977
4709
|
* @param {string} [search] Filters by world name.
|
|
3978
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
4710
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
3979
4711
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
3980
4712
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
3981
4713
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4075,7 +4807,7 @@ export const AvatarsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4075
4807
|
* @param {number} [n] The number of objects to return.
|
|
4076
4808
|
* @param {'ascending' | 'descending'} [order]
|
|
4077
4809
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4078
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
4810
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4079
4811
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4080
4812
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4081
4813
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4334,7 +5066,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
4334
5066
|
* @param {'ascending' | 'descending'} [order]
|
|
4335
5067
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4336
5068
|
* @param {string} [search] Filters by world name.
|
|
4337
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5069
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4338
5070
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4339
5071
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4340
5072
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4358,7 +5090,7 @@ export const AvatarsApiFp = function(configuration?: Configuration) {
|
|
|
4358
5090
|
* @param {number} [n] The number of objects to return.
|
|
4359
5091
|
* @param {'ascending' | 'descending'} [order]
|
|
4360
5092
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4361
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5093
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4362
5094
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4363
5095
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4364
5096
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4454,7 +5186,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
4454
5186
|
* @param {'ascending' | 'descending'} [order]
|
|
4455
5187
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4456
5188
|
* @param {string} [search] Filters by world name.
|
|
4457
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5189
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4458
5190
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4459
5191
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4460
5192
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4477,7 +5209,7 @@ export const AvatarsApiFactory = function (configuration?: Configuration, basePa
|
|
|
4477
5209
|
* @param {number} [n] The number of objects to return.
|
|
4478
5210
|
* @param {'ascending' | 'descending'} [order]
|
|
4479
5211
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4480
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5212
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4481
5213
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4482
5214
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4483
5215
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4575,7 +5307,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
4575
5307
|
* @param {'ascending' | 'descending'} [order]
|
|
4576
5308
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4577
5309
|
* @param {string} [search] Filters by world name.
|
|
4578
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5310
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4579
5311
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4580
5312
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4581
5313
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4600,7 +5332,7 @@ export class AvatarsApi extends BaseAPI {
|
|
|
4600
5332
|
* @param {number} [n] The number of objects to return.
|
|
4601
5333
|
* @param {'ascending' | 'descending'} [order]
|
|
4602
5334
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4603
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5335
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4604
5336
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
4605
5337
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
4606
5338
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -4647,8 +5379,384 @@ export class AvatarsApi extends BaseAPI {
|
|
|
4647
5379
|
* @throws {RequiredError}
|
|
4648
5380
|
* @memberof AvatarsApi
|
|
4649
5381
|
*/
|
|
4650
|
-
public updateAvatar(avatarId: string, updateAvatarRequest?: UpdateAvatarRequest, options?: AxiosRequestConfig) {
|
|
4651
|
-
return AvatarsApiFp(this.configuration).updateAvatar(avatarId, updateAvatarRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5382
|
+
public updateAvatar(avatarId: string, updateAvatarRequest?: UpdateAvatarRequest, options?: AxiosRequestConfig) {
|
|
5383
|
+
return AvatarsApiFp(this.configuration).updateAvatar(avatarId, updateAvatarRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
|
|
5387
|
+
|
|
5388
|
+
/**
|
|
5389
|
+
* EconomyApi - axios parameter creator
|
|
5390
|
+
* @export
|
|
5391
|
+
*/
|
|
5392
|
+
export const EconomyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5393
|
+
return {
|
|
5394
|
+
/**
|
|
5395
|
+
* Get a list of all current user subscriptions.
|
|
5396
|
+
* @summary Get Current Subscriptions
|
|
5397
|
+
* @param {*} [options] Override http request option.
|
|
5398
|
+
* @throws {RequiredError}
|
|
5399
|
+
*/
|
|
5400
|
+
getCurrentSubscriptions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5401
|
+
const localVarPath = `/auth/user/subscription`;
|
|
5402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5404
|
+
let baseOptions;
|
|
5405
|
+
if (configuration) {
|
|
5406
|
+
baseOptions = configuration.baseOptions;
|
|
5407
|
+
}
|
|
5408
|
+
|
|
5409
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5410
|
+
const localVarHeaderParameter = {} as any;
|
|
5411
|
+
const localVarQueryParameter = {} as any;
|
|
5412
|
+
|
|
5413
|
+
// authentication apiKeyCookie required
|
|
5414
|
+
|
|
5415
|
+
// authentication authCookie required
|
|
5416
|
+
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5420
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5421
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5422
|
+
|
|
5423
|
+
return {
|
|
5424
|
+
url: toPathString(localVarUrlObj),
|
|
5425
|
+
options: localVarRequestOptions,
|
|
5426
|
+
};
|
|
5427
|
+
},
|
|
5428
|
+
/**
|
|
5429
|
+
* Get a single License Group by given ID.
|
|
5430
|
+
* @summary Get License Group
|
|
5431
|
+
* @param {string} licenseGroupId
|
|
5432
|
+
* @param {*} [options] Override http request option.
|
|
5433
|
+
* @throws {RequiredError}
|
|
5434
|
+
*/
|
|
5435
|
+
getLicenseGroup: async (licenseGroupId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5436
|
+
// verify required parameter 'licenseGroupId' is not null or undefined
|
|
5437
|
+
assertParamExists('getLicenseGroup', 'licenseGroupId', licenseGroupId)
|
|
5438
|
+
const localVarPath = `/licenseGroups/{licenseGroupId}`
|
|
5439
|
+
.replace(`{${"licenseGroupId"}}`, encodeURIComponent(String(licenseGroupId)));
|
|
5440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5442
|
+
let baseOptions;
|
|
5443
|
+
if (configuration) {
|
|
5444
|
+
baseOptions = configuration.baseOptions;
|
|
5445
|
+
}
|
|
5446
|
+
|
|
5447
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5448
|
+
const localVarHeaderParameter = {} as any;
|
|
5449
|
+
const localVarQueryParameter = {} as any;
|
|
5450
|
+
|
|
5451
|
+
// authentication apiKeyCookie required
|
|
5452
|
+
|
|
5453
|
+
// authentication authCookie required
|
|
5454
|
+
|
|
5455
|
+
|
|
5456
|
+
|
|
5457
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5458
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5459
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5460
|
+
|
|
5461
|
+
return {
|
|
5462
|
+
url: toPathString(localVarUrlObj),
|
|
5463
|
+
options: localVarRequestOptions,
|
|
5464
|
+
};
|
|
5465
|
+
},
|
|
5466
|
+
/**
|
|
5467
|
+
* Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
|
|
5468
|
+
* @summary Get Steam Transaction
|
|
5469
|
+
* @param {string} transactionId
|
|
5470
|
+
* @param {*} [options] Override http request option.
|
|
5471
|
+
* @deprecated
|
|
5472
|
+
* @throws {RequiredError}
|
|
5473
|
+
*/
|
|
5474
|
+
getSteamTransaction: async (transactionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5475
|
+
// verify required parameter 'transactionId' is not null or undefined
|
|
5476
|
+
assertParamExists('getSteamTransaction', 'transactionId', transactionId)
|
|
5477
|
+
const localVarPath = `/Steam/transactions/{transactionId}`
|
|
5478
|
+
.replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
|
|
5479
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5480
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5481
|
+
let baseOptions;
|
|
5482
|
+
if (configuration) {
|
|
5483
|
+
baseOptions = configuration.baseOptions;
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5487
|
+
const localVarHeaderParameter = {} as any;
|
|
5488
|
+
const localVarQueryParameter = {} as any;
|
|
5489
|
+
|
|
5490
|
+
// authentication apiKeyCookie required
|
|
5491
|
+
|
|
5492
|
+
// authentication authCookie required
|
|
5493
|
+
|
|
5494
|
+
|
|
5495
|
+
|
|
5496
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5497
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5498
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5499
|
+
|
|
5500
|
+
return {
|
|
5501
|
+
url: toPathString(localVarUrlObj),
|
|
5502
|
+
options: localVarRequestOptions,
|
|
5503
|
+
};
|
|
5504
|
+
},
|
|
5505
|
+
/**
|
|
5506
|
+
* Get all own Steam transactions.
|
|
5507
|
+
* @summary List Steam Transactions
|
|
5508
|
+
* @param {*} [options] Override http request option.
|
|
5509
|
+
* @throws {RequiredError}
|
|
5510
|
+
*/
|
|
5511
|
+
getSteamTransactions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5512
|
+
const localVarPath = `/Steam/transactions`;
|
|
5513
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5514
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5515
|
+
let baseOptions;
|
|
5516
|
+
if (configuration) {
|
|
5517
|
+
baseOptions = configuration.baseOptions;
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5520
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5521
|
+
const localVarHeaderParameter = {} as any;
|
|
5522
|
+
const localVarQueryParameter = {} as any;
|
|
5523
|
+
|
|
5524
|
+
// authentication apiKeyCookie required
|
|
5525
|
+
|
|
5526
|
+
// authentication authCookie required
|
|
5527
|
+
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5533
|
+
|
|
5534
|
+
return {
|
|
5535
|
+
url: toPathString(localVarUrlObj),
|
|
5536
|
+
options: localVarRequestOptions,
|
|
5537
|
+
};
|
|
5538
|
+
},
|
|
5539
|
+
/**
|
|
5540
|
+
* List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\".
|
|
5541
|
+
* @summary List Subscriptions
|
|
5542
|
+
* @param {*} [options] Override http request option.
|
|
5543
|
+
* @throws {RequiredError}
|
|
5544
|
+
*/
|
|
5545
|
+
getSubscriptions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5546
|
+
const localVarPath = `/subscriptions`;
|
|
5547
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5548
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5549
|
+
let baseOptions;
|
|
5550
|
+
if (configuration) {
|
|
5551
|
+
baseOptions = configuration.baseOptions;
|
|
5552
|
+
}
|
|
5553
|
+
|
|
5554
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5555
|
+
const localVarHeaderParameter = {} as any;
|
|
5556
|
+
const localVarQueryParameter = {} as any;
|
|
5557
|
+
|
|
5558
|
+
// authentication apiKeyCookie required
|
|
5559
|
+
|
|
5560
|
+
// authentication authCookie required
|
|
5561
|
+
|
|
5562
|
+
|
|
5563
|
+
|
|
5564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5566
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5567
|
+
|
|
5568
|
+
return {
|
|
5569
|
+
url: toPathString(localVarUrlObj),
|
|
5570
|
+
options: localVarRequestOptions,
|
|
5571
|
+
};
|
|
5572
|
+
},
|
|
5573
|
+
}
|
|
5574
|
+
};
|
|
5575
|
+
|
|
5576
|
+
/**
|
|
5577
|
+
* EconomyApi - functional programming interface
|
|
5578
|
+
* @export
|
|
5579
|
+
*/
|
|
5580
|
+
export const EconomyApiFp = function(configuration?: Configuration) {
|
|
5581
|
+
const localVarAxiosParamCreator = EconomyApiAxiosParamCreator(configuration)
|
|
5582
|
+
return {
|
|
5583
|
+
/**
|
|
5584
|
+
* Get a list of all current user subscriptions.
|
|
5585
|
+
* @summary Get Current Subscriptions
|
|
5586
|
+
* @param {*} [options] Override http request option.
|
|
5587
|
+
* @throws {RequiredError}
|
|
5588
|
+
*/
|
|
5589
|
+
async getCurrentSubscriptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserSubscription>>> {
|
|
5590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentSubscriptions(options);
|
|
5591
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5592
|
+
},
|
|
5593
|
+
/**
|
|
5594
|
+
* Get a single License Group by given ID.
|
|
5595
|
+
* @summary Get License Group
|
|
5596
|
+
* @param {string} licenseGroupId
|
|
5597
|
+
* @param {*} [options] Override http request option.
|
|
5598
|
+
* @throws {RequiredError}
|
|
5599
|
+
*/
|
|
5600
|
+
async getLicenseGroup(licenseGroupId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicenseGroup>> {
|
|
5601
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLicenseGroup(licenseGroupId, options);
|
|
5602
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5603
|
+
},
|
|
5604
|
+
/**
|
|
5605
|
+
* Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
|
|
5606
|
+
* @summary Get Steam Transaction
|
|
5607
|
+
* @param {string} transactionId
|
|
5608
|
+
* @param {*} [options] Override http request option.
|
|
5609
|
+
* @deprecated
|
|
5610
|
+
* @throws {RequiredError}
|
|
5611
|
+
*/
|
|
5612
|
+
async getSteamTransaction(transactionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction>> {
|
|
5613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSteamTransaction(transactionId, options);
|
|
5614
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5615
|
+
},
|
|
5616
|
+
/**
|
|
5617
|
+
* Get all own Steam transactions.
|
|
5618
|
+
* @summary List Steam Transactions
|
|
5619
|
+
* @param {*} [options] Override http request option.
|
|
5620
|
+
* @throws {RequiredError}
|
|
5621
|
+
*/
|
|
5622
|
+
async getSteamTransactions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Transaction>>> {
|
|
5623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSteamTransactions(options);
|
|
5624
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5625
|
+
},
|
|
5626
|
+
/**
|
|
5627
|
+
* List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\".
|
|
5628
|
+
* @summary List Subscriptions
|
|
5629
|
+
* @param {*} [options] Override http request option.
|
|
5630
|
+
* @throws {RequiredError}
|
|
5631
|
+
*/
|
|
5632
|
+
async getSubscriptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Subscription>>> {
|
|
5633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSubscriptions(options);
|
|
5634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5635
|
+
},
|
|
5636
|
+
}
|
|
5637
|
+
};
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* EconomyApi - factory interface
|
|
5641
|
+
* @export
|
|
5642
|
+
*/
|
|
5643
|
+
export const EconomyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5644
|
+
const localVarFp = EconomyApiFp(configuration)
|
|
5645
|
+
return {
|
|
5646
|
+
/**
|
|
5647
|
+
* Get a list of all current user subscriptions.
|
|
5648
|
+
* @summary Get Current Subscriptions
|
|
5649
|
+
* @param {*} [options] Override http request option.
|
|
5650
|
+
* @throws {RequiredError}
|
|
5651
|
+
*/
|
|
5652
|
+
getCurrentSubscriptions(options?: any): AxiosPromise<Array<UserSubscription>> {
|
|
5653
|
+
return localVarFp.getCurrentSubscriptions(options).then((request) => request(axios, basePath));
|
|
5654
|
+
},
|
|
5655
|
+
/**
|
|
5656
|
+
* Get a single License Group by given ID.
|
|
5657
|
+
* @summary Get License Group
|
|
5658
|
+
* @param {string} licenseGroupId
|
|
5659
|
+
* @param {*} [options] Override http request option.
|
|
5660
|
+
* @throws {RequiredError}
|
|
5661
|
+
*/
|
|
5662
|
+
getLicenseGroup(licenseGroupId: string, options?: any): AxiosPromise<LicenseGroup> {
|
|
5663
|
+
return localVarFp.getLicenseGroup(licenseGroupId, options).then((request) => request(axios, basePath));
|
|
5664
|
+
},
|
|
5665
|
+
/**
|
|
5666
|
+
* Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
|
|
5667
|
+
* @summary Get Steam Transaction
|
|
5668
|
+
* @param {string} transactionId
|
|
5669
|
+
* @param {*} [options] Override http request option.
|
|
5670
|
+
* @deprecated
|
|
5671
|
+
* @throws {RequiredError}
|
|
5672
|
+
*/
|
|
5673
|
+
getSteamTransaction(transactionId: string, options?: any): AxiosPromise<Transaction> {
|
|
5674
|
+
return localVarFp.getSteamTransaction(transactionId, options).then((request) => request(axios, basePath));
|
|
5675
|
+
},
|
|
5676
|
+
/**
|
|
5677
|
+
* Get all own Steam transactions.
|
|
5678
|
+
* @summary List Steam Transactions
|
|
5679
|
+
* @param {*} [options] Override http request option.
|
|
5680
|
+
* @throws {RequiredError}
|
|
5681
|
+
*/
|
|
5682
|
+
getSteamTransactions(options?: any): AxiosPromise<Array<Transaction>> {
|
|
5683
|
+
return localVarFp.getSteamTransactions(options).then((request) => request(axios, basePath));
|
|
5684
|
+
},
|
|
5685
|
+
/**
|
|
5686
|
+
* List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\".
|
|
5687
|
+
* @summary List Subscriptions
|
|
5688
|
+
* @param {*} [options] Override http request option.
|
|
5689
|
+
* @throws {RequiredError}
|
|
5690
|
+
*/
|
|
5691
|
+
getSubscriptions(options?: any): AxiosPromise<Array<Subscription>> {
|
|
5692
|
+
return localVarFp.getSubscriptions(options).then((request) => request(axios, basePath));
|
|
5693
|
+
},
|
|
5694
|
+
};
|
|
5695
|
+
};
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* EconomyApi - object-oriented interface
|
|
5699
|
+
* @export
|
|
5700
|
+
* @class EconomyApi
|
|
5701
|
+
* @extends {BaseAPI}
|
|
5702
|
+
*/
|
|
5703
|
+
export class EconomyApi extends BaseAPI {
|
|
5704
|
+
/**
|
|
5705
|
+
* Get a list of all current user subscriptions.
|
|
5706
|
+
* @summary Get Current Subscriptions
|
|
5707
|
+
* @param {*} [options] Override http request option.
|
|
5708
|
+
* @throws {RequiredError}
|
|
5709
|
+
* @memberof EconomyApi
|
|
5710
|
+
*/
|
|
5711
|
+
public getCurrentSubscriptions(options?: AxiosRequestConfig) {
|
|
5712
|
+
return EconomyApiFp(this.configuration).getCurrentSubscriptions(options).then((request) => request(this.axios, this.basePath));
|
|
5713
|
+
}
|
|
5714
|
+
|
|
5715
|
+
/**
|
|
5716
|
+
* Get a single License Group by given ID.
|
|
5717
|
+
* @summary Get License Group
|
|
5718
|
+
* @param {string} licenseGroupId
|
|
5719
|
+
* @param {*} [options] Override http request option.
|
|
5720
|
+
* @throws {RequiredError}
|
|
5721
|
+
* @memberof EconomyApi
|
|
5722
|
+
*/
|
|
5723
|
+
public getLicenseGroup(licenseGroupId: string, options?: AxiosRequestConfig) {
|
|
5724
|
+
return EconomyApiFp(this.configuration).getLicenseGroup(licenseGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
/**
|
|
5728
|
+
* Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
|
|
5729
|
+
* @summary Get Steam Transaction
|
|
5730
|
+
* @param {string} transactionId
|
|
5731
|
+
* @param {*} [options] Override http request option.
|
|
5732
|
+
* @deprecated
|
|
5733
|
+
* @throws {RequiredError}
|
|
5734
|
+
* @memberof EconomyApi
|
|
5735
|
+
*/
|
|
5736
|
+
public getSteamTransaction(transactionId: string, options?: AxiosRequestConfig) {
|
|
5737
|
+
return EconomyApiFp(this.configuration).getSteamTransaction(transactionId, options).then((request) => request(this.axios, this.basePath));
|
|
5738
|
+
}
|
|
5739
|
+
|
|
5740
|
+
/**
|
|
5741
|
+
* Get all own Steam transactions.
|
|
5742
|
+
* @summary List Steam Transactions
|
|
5743
|
+
* @param {*} [options] Override http request option.
|
|
5744
|
+
* @throws {RequiredError}
|
|
5745
|
+
* @memberof EconomyApi
|
|
5746
|
+
*/
|
|
5747
|
+
public getSteamTransactions(options?: AxiosRequestConfig) {
|
|
5748
|
+
return EconomyApiFp(this.configuration).getSteamTransactions(options).then((request) => request(this.axios, this.basePath));
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5751
|
+
/**
|
|
5752
|
+
* List all existing Subscriptions. For example, \"vrchatplus-monthly\" and \"vrchatplus-yearly\".
|
|
5753
|
+
* @summary List Subscriptions
|
|
5754
|
+
* @param {*} [options] Override http request option.
|
|
5755
|
+
* @throws {RequiredError}
|
|
5756
|
+
* @memberof EconomyApi
|
|
5757
|
+
*/
|
|
5758
|
+
public getSubscriptions(options?: AxiosRequestConfig) {
|
|
5759
|
+
return EconomyApiFp(this.configuration).getSubscriptions(options).then((request) => request(this.axios, this.basePath));
|
|
4652
5760
|
}
|
|
4653
5761
|
}
|
|
4654
5762
|
|
|
@@ -4882,7 +5990,7 @@ export const FavoritesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4882
5990
|
* @param {number} [n] The number of objects to return.
|
|
4883
5991
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
4884
5992
|
* @param {string} [type] The type of favorites to return, FavoriteType.
|
|
4885
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
5993
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
4886
5994
|
* @param {*} [options] Override http request option.
|
|
4887
5995
|
* @throws {RequiredError}
|
|
4888
5996
|
*/
|
|
@@ -5095,7 +6203,7 @@ export const FavoritesApiFp = function(configuration?: Configuration) {
|
|
|
5095
6203
|
* @param {number} [n] The number of objects to return.
|
|
5096
6204
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
5097
6205
|
* @param {string} [type] The type of favorites to return, FavoriteType.
|
|
5098
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
6206
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
5099
6207
|
* @param {*} [options] Override http request option.
|
|
5100
6208
|
* @throws {RequiredError}
|
|
5101
6209
|
*/
|
|
@@ -5200,7 +6308,7 @@ export const FavoritesApiFactory = function (configuration?: Configuration, base
|
|
|
5200
6308
|
* @param {number} [n] The number of objects to return.
|
|
5201
6309
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
5202
6310
|
* @param {string} [type] The type of favorites to return, FavoriteType.
|
|
5203
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
6311
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
5204
6312
|
* @param {*} [options] Override http request option.
|
|
5205
6313
|
* @throws {RequiredError}
|
|
5206
6314
|
*/
|
|
@@ -5312,7 +6420,7 @@ export class FavoritesApi extends BaseAPI {
|
|
|
5312
6420
|
* @param {number} [n] The number of objects to return.
|
|
5313
6421
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
5314
6422
|
* @param {string} [type] The type of favorites to return, FavoriteType.
|
|
5315
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
6423
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
5316
6424
|
* @param {*} [options] Override http request option.
|
|
5317
6425
|
* @throws {RequiredError}
|
|
5318
6426
|
* @memberof FavoritesApi
|
|
@@ -6613,6 +7721,278 @@ export class FriendsApi extends BaseAPI {
|
|
|
6613
7721
|
}
|
|
6614
7722
|
|
|
6615
7723
|
|
|
7724
|
+
/**
|
|
7725
|
+
* InstancesApi - axios parameter creator
|
|
7726
|
+
* @export
|
|
7727
|
+
*/
|
|
7728
|
+
export const InstancesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7729
|
+
return {
|
|
7730
|
+
/**
|
|
7731
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
|
|
7732
|
+
* @summary Get Instance
|
|
7733
|
+
* @param {string} worldId
|
|
7734
|
+
* @param {string} instanceId
|
|
7735
|
+
* @param {*} [options] Override http request option.
|
|
7736
|
+
* @throws {RequiredError}
|
|
7737
|
+
*/
|
|
7738
|
+
getInstance: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7739
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
7740
|
+
assertParamExists('getInstance', 'worldId', worldId)
|
|
7741
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7742
|
+
assertParamExists('getInstance', 'instanceId', instanceId)
|
|
7743
|
+
const localVarPath = `/instances/{worldId}:{instanceId}`
|
|
7744
|
+
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
7745
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
7746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7748
|
+
let baseOptions;
|
|
7749
|
+
if (configuration) {
|
|
7750
|
+
baseOptions = configuration.baseOptions;
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7754
|
+
const localVarHeaderParameter = {} as any;
|
|
7755
|
+
const localVarQueryParameter = {} as any;
|
|
7756
|
+
|
|
7757
|
+
// authentication apiKeyCookie required
|
|
7758
|
+
|
|
7759
|
+
// authentication authCookie required
|
|
7760
|
+
|
|
7761
|
+
|
|
7762
|
+
|
|
7763
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7764
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7765
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7766
|
+
|
|
7767
|
+
return {
|
|
7768
|
+
url: toPathString(localVarUrlObj),
|
|
7769
|
+
options: localVarRequestOptions,
|
|
7770
|
+
};
|
|
7771
|
+
},
|
|
7772
|
+
/**
|
|
7773
|
+
* Returns an instance short name.
|
|
7774
|
+
* @summary Get Instance Short Name
|
|
7775
|
+
* @param {string} worldId
|
|
7776
|
+
* @param {string} instanceId
|
|
7777
|
+
* @param {*} [options] Override http request option.
|
|
7778
|
+
* @throws {RequiredError}
|
|
7779
|
+
*/
|
|
7780
|
+
getShortName: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7781
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
7782
|
+
assertParamExists('getShortName', 'worldId', worldId)
|
|
7783
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7784
|
+
assertParamExists('getShortName', 'instanceId', instanceId)
|
|
7785
|
+
const localVarPath = `/instances/{worldId}:{instanceId}/shortName`
|
|
7786
|
+
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
7787
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
7788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7790
|
+
let baseOptions;
|
|
7791
|
+
if (configuration) {
|
|
7792
|
+
baseOptions = configuration.baseOptions;
|
|
7793
|
+
}
|
|
7794
|
+
|
|
7795
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7796
|
+
const localVarHeaderParameter = {} as any;
|
|
7797
|
+
const localVarQueryParameter = {} as any;
|
|
7798
|
+
|
|
7799
|
+
// authentication apiKeyCookie required
|
|
7800
|
+
|
|
7801
|
+
// authentication authCookie required
|
|
7802
|
+
|
|
7803
|
+
|
|
7804
|
+
|
|
7805
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7807
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7808
|
+
|
|
7809
|
+
return {
|
|
7810
|
+
url: toPathString(localVarUrlObj),
|
|
7811
|
+
options: localVarRequestOptions,
|
|
7812
|
+
};
|
|
7813
|
+
},
|
|
7814
|
+
/**
|
|
7815
|
+
* Sends an invite to the instance to yourself.
|
|
7816
|
+
* @summary Send Self Invite
|
|
7817
|
+
* @param {string} worldId
|
|
7818
|
+
* @param {string} instanceId
|
|
7819
|
+
* @param {*} [options] Override http request option.
|
|
7820
|
+
* @throws {RequiredError}
|
|
7821
|
+
*/
|
|
7822
|
+
sendSelfInvite: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7823
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
7824
|
+
assertParamExists('sendSelfInvite', 'worldId', worldId)
|
|
7825
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7826
|
+
assertParamExists('sendSelfInvite', 'instanceId', instanceId)
|
|
7827
|
+
const localVarPath = `/instances/{worldId}:{instanceId}/invite`
|
|
7828
|
+
.replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
|
|
7829
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
7830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7832
|
+
let baseOptions;
|
|
7833
|
+
if (configuration) {
|
|
7834
|
+
baseOptions = configuration.baseOptions;
|
|
7835
|
+
}
|
|
7836
|
+
|
|
7837
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7838
|
+
const localVarHeaderParameter = {} as any;
|
|
7839
|
+
const localVarQueryParameter = {} as any;
|
|
7840
|
+
|
|
7841
|
+
// authentication apiKeyCookie required
|
|
7842
|
+
|
|
7843
|
+
// authentication authCookie required
|
|
7844
|
+
|
|
7845
|
+
|
|
7846
|
+
|
|
7847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7850
|
+
|
|
7851
|
+
return {
|
|
7852
|
+
url: toPathString(localVarUrlObj),
|
|
7853
|
+
options: localVarRequestOptions,
|
|
7854
|
+
};
|
|
7855
|
+
},
|
|
7856
|
+
}
|
|
7857
|
+
};
|
|
7858
|
+
|
|
7859
|
+
/**
|
|
7860
|
+
* InstancesApi - functional programming interface
|
|
7861
|
+
* @export
|
|
7862
|
+
*/
|
|
7863
|
+
export const InstancesApiFp = function(configuration?: Configuration) {
|
|
7864
|
+
const localVarAxiosParamCreator = InstancesApiAxiosParamCreator(configuration)
|
|
7865
|
+
return {
|
|
7866
|
+
/**
|
|
7867
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
|
|
7868
|
+
* @summary Get Instance
|
|
7869
|
+
* @param {string} worldId
|
|
7870
|
+
* @param {string} instanceId
|
|
7871
|
+
* @param {*} [options] Override http request option.
|
|
7872
|
+
* @throws {RequiredError}
|
|
7873
|
+
*/
|
|
7874
|
+
async getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
|
|
7875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstance(worldId, instanceId, options);
|
|
7876
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7877
|
+
},
|
|
7878
|
+
/**
|
|
7879
|
+
* Returns an instance short name.
|
|
7880
|
+
* @summary Get Instance Short Name
|
|
7881
|
+
* @param {string} worldId
|
|
7882
|
+
* @param {string} instanceId
|
|
7883
|
+
* @param {*} [options] Override http request option.
|
|
7884
|
+
* @throws {RequiredError}
|
|
7885
|
+
*/
|
|
7886
|
+
async getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
7887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getShortName(worldId, instanceId, options);
|
|
7888
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7889
|
+
},
|
|
7890
|
+
/**
|
|
7891
|
+
* Sends an invite to the instance to yourself.
|
|
7892
|
+
* @summary Send Self Invite
|
|
7893
|
+
* @param {string} worldId
|
|
7894
|
+
* @param {string} instanceId
|
|
7895
|
+
* @param {*} [options] Override http request option.
|
|
7896
|
+
* @throws {RequiredError}
|
|
7897
|
+
*/
|
|
7898
|
+
async sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
|
|
7899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSelfInvite(worldId, instanceId, options);
|
|
7900
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7901
|
+
},
|
|
7902
|
+
}
|
|
7903
|
+
};
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* InstancesApi - factory interface
|
|
7907
|
+
* @export
|
|
7908
|
+
*/
|
|
7909
|
+
export const InstancesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
7910
|
+
const localVarFp = InstancesApiFp(configuration)
|
|
7911
|
+
return {
|
|
7912
|
+
/**
|
|
7913
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
|
|
7914
|
+
* @summary Get Instance
|
|
7915
|
+
* @param {string} worldId
|
|
7916
|
+
* @param {string} instanceId
|
|
7917
|
+
* @param {*} [options] Override http request option.
|
|
7918
|
+
* @throws {RequiredError}
|
|
7919
|
+
*/
|
|
7920
|
+
getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance> {
|
|
7921
|
+
return localVarFp.getInstance(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7922
|
+
},
|
|
7923
|
+
/**
|
|
7924
|
+
* Returns an instance short name.
|
|
7925
|
+
* @summary Get Instance Short Name
|
|
7926
|
+
* @param {string} worldId
|
|
7927
|
+
* @param {string} instanceId
|
|
7928
|
+
* @param {*} [options] Override http request option.
|
|
7929
|
+
* @throws {RequiredError}
|
|
7930
|
+
*/
|
|
7931
|
+
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<string> {
|
|
7932
|
+
return localVarFp.getShortName(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7933
|
+
},
|
|
7934
|
+
/**
|
|
7935
|
+
* Sends an invite to the instance to yourself.
|
|
7936
|
+
* @summary Send Self Invite
|
|
7937
|
+
* @param {string} worldId
|
|
7938
|
+
* @param {string} instanceId
|
|
7939
|
+
* @param {*} [options] Override http request option.
|
|
7940
|
+
* @throws {RequiredError}
|
|
7941
|
+
*/
|
|
7942
|
+
sendSelfInvite(worldId: string, instanceId: string, options?: any): AxiosPromise<Success> {
|
|
7943
|
+
return localVarFp.sendSelfInvite(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
7944
|
+
},
|
|
7945
|
+
};
|
|
7946
|
+
};
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* InstancesApi - object-oriented interface
|
|
7950
|
+
* @export
|
|
7951
|
+
* @class InstancesApi
|
|
7952
|
+
* @extends {BaseAPI}
|
|
7953
|
+
*/
|
|
7954
|
+
export class InstancesApi extends BaseAPI {
|
|
7955
|
+
/**
|
|
7956
|
+
* Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances. If an invalid instanceId is provided, this endpoint will simply return \"null\"!
|
|
7957
|
+
* @summary Get Instance
|
|
7958
|
+
* @param {string} worldId
|
|
7959
|
+
* @param {string} instanceId
|
|
7960
|
+
* @param {*} [options] Override http request option.
|
|
7961
|
+
* @throws {RequiredError}
|
|
7962
|
+
* @memberof InstancesApi
|
|
7963
|
+
*/
|
|
7964
|
+
public getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
7965
|
+
return InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
7966
|
+
}
|
|
7967
|
+
|
|
7968
|
+
/**
|
|
7969
|
+
* Returns an instance short name.
|
|
7970
|
+
* @summary Get Instance Short Name
|
|
7971
|
+
* @param {string} worldId
|
|
7972
|
+
* @param {string} instanceId
|
|
7973
|
+
* @param {*} [options] Override http request option.
|
|
7974
|
+
* @throws {RequiredError}
|
|
7975
|
+
* @memberof InstancesApi
|
|
7976
|
+
*/
|
|
7977
|
+
public getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
7978
|
+
return InstancesApiFp(this.configuration).getShortName(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
/**
|
|
7982
|
+
* Sends an invite to the instance to yourself.
|
|
7983
|
+
* @summary Send Self Invite
|
|
7984
|
+
* @param {string} worldId
|
|
7985
|
+
* @param {string} instanceId
|
|
7986
|
+
* @param {*} [options] Override http request option.
|
|
7987
|
+
* @throws {RequiredError}
|
|
7988
|
+
* @memberof InstancesApi
|
|
7989
|
+
*/
|
|
7990
|
+
public sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
7991
|
+
return InstancesApiFp(this.configuration).sendSelfInvite(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
7992
|
+
}
|
|
7993
|
+
}
|
|
7994
|
+
|
|
7995
|
+
|
|
6616
7996
|
/**
|
|
6617
7997
|
* InviteApi - axios parameter creator
|
|
6618
7998
|
* @export
|
|
@@ -6621,24 +8001,24 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6621
8001
|
return {
|
|
6622
8002
|
/**
|
|
6623
8003
|
* 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
|
|
6624
|
-
* @summary Get Invite
|
|
8004
|
+
* @summary Get Invite Message
|
|
6625
8005
|
* @param {string} userId
|
|
6626
8006
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
6627
|
-
* @param {number}
|
|
8007
|
+
* @param {number} slot
|
|
6628
8008
|
* @param {*} [options] Override http request option.
|
|
6629
8009
|
* @throws {RequiredError}
|
|
6630
8010
|
*/
|
|
6631
|
-
getInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
8011
|
+
getInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6632
8012
|
// verify required parameter 'userId' is not null or undefined
|
|
6633
8013
|
assertParamExists('getInviteMessage', 'userId', userId)
|
|
6634
8014
|
// verify required parameter 'messageType' is not null or undefined
|
|
6635
8015
|
assertParamExists('getInviteMessage', 'messageType', messageType)
|
|
6636
|
-
// verify required parameter '
|
|
6637
|
-
assertParamExists('getInviteMessage', '
|
|
6638
|
-
const localVarPath = `/message/{userId}/{messageType}/{
|
|
8016
|
+
// verify required parameter 'slot' is not null or undefined
|
|
8017
|
+
assertParamExists('getInviteMessage', 'slot', slot)
|
|
8018
|
+
const localVarPath = `/message/{userId}/{messageType}/{slot}`
|
|
6639
8019
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
6640
8020
|
.replace(`{${"messageType"}}`, encodeURIComponent(String(messageType)))
|
|
6641
|
-
.replace(`{${"
|
|
8021
|
+
.replace(`{${"slot"}}`, encodeURIComponent(String(slot)));
|
|
6642
8022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6643
8023
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6644
8024
|
let baseOptions;
|
|
@@ -6788,25 +8168,25 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6788
8168
|
};
|
|
6789
8169
|
},
|
|
6790
8170
|
/**
|
|
6791
|
-
* Resets a single Invite Message back to
|
|
8171
|
+
* 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.
|
|
6792
8172
|
* @summary Reset Invite Message
|
|
6793
8173
|
* @param {string} userId
|
|
6794
8174
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
6795
|
-
* @param {number}
|
|
8175
|
+
* @param {number} slot
|
|
6796
8176
|
* @param {*} [options] Override http request option.
|
|
6797
8177
|
* @throws {RequiredError}
|
|
6798
8178
|
*/
|
|
6799
|
-
resetInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
8179
|
+
resetInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6800
8180
|
// verify required parameter 'userId' is not null or undefined
|
|
6801
8181
|
assertParamExists('resetInviteMessage', 'userId', userId)
|
|
6802
8182
|
// verify required parameter 'messageType' is not null or undefined
|
|
6803
8183
|
assertParamExists('resetInviteMessage', 'messageType', messageType)
|
|
6804
|
-
// verify required parameter '
|
|
6805
|
-
assertParamExists('resetInviteMessage', '
|
|
6806
|
-
const localVarPath = `/message/{userId}/{messageType}/{
|
|
8184
|
+
// verify required parameter 'slot' is not null or undefined
|
|
8185
|
+
assertParamExists('resetInviteMessage', 'slot', slot)
|
|
8186
|
+
const localVarPath = `/message/{userId}/{messageType}/{slot}`
|
|
6807
8187
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
6808
8188
|
.replace(`{${"messageType"}}`, encodeURIComponent(String(messageType)))
|
|
6809
|
-
.replace(`{${"
|
|
8189
|
+
.replace(`{${"slot"}}`, encodeURIComponent(String(slot)));
|
|
6810
8190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6811
8191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6812
8192
|
let baseOptions;
|
|
@@ -6876,25 +8256,26 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6876
8256
|
};
|
|
6877
8257
|
},
|
|
6878
8258
|
/**
|
|
6879
|
-
* 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
|
|
8259
|
+
* 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
|
|
6880
8260
|
* @summary Update Invite Message
|
|
6881
8261
|
* @param {string} userId
|
|
6882
8262
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
6883
|
-
* @param {number}
|
|
8263
|
+
* @param {number} slot
|
|
8264
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
6884
8265
|
* @param {*} [options] Override http request option.
|
|
6885
8266
|
* @throws {RequiredError}
|
|
6886
8267
|
*/
|
|
6887
|
-
updateInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
8268
|
+
updateInviteMessage: async (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6888
8269
|
// verify required parameter 'userId' is not null or undefined
|
|
6889
8270
|
assertParamExists('updateInviteMessage', 'userId', userId)
|
|
6890
8271
|
// verify required parameter 'messageType' is not null or undefined
|
|
6891
8272
|
assertParamExists('updateInviteMessage', 'messageType', messageType)
|
|
6892
|
-
// verify required parameter '
|
|
6893
|
-
assertParamExists('updateInviteMessage', '
|
|
6894
|
-
const localVarPath = `/message/{userId}/{messageType}/{
|
|
8273
|
+
// verify required parameter 'slot' is not null or undefined
|
|
8274
|
+
assertParamExists('updateInviteMessage', 'slot', slot)
|
|
8275
|
+
const localVarPath = `/message/{userId}/{messageType}/{slot}`
|
|
6895
8276
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
6896
8277
|
.replace(`{${"messageType"}}`, encodeURIComponent(String(messageType)))
|
|
6897
|
-
.replace(`{${"
|
|
8278
|
+
.replace(`{${"slot"}}`, encodeURIComponent(String(slot)));
|
|
6898
8279
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6899
8280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6900
8281
|
let baseOptions;
|
|
@@ -6912,9 +8293,12 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6912
8293
|
|
|
6913
8294
|
|
|
6914
8295
|
|
|
8296
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8297
|
+
|
|
6915
8298
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6916
8299
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6917
8300
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8301
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateInviteMessageRequest, localVarRequestOptions, configuration)
|
|
6918
8302
|
|
|
6919
8303
|
return {
|
|
6920
8304
|
url: toPathString(localVarUrlObj),
|
|
@@ -6933,15 +8317,15 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
6933
8317
|
return {
|
|
6934
8318
|
/**
|
|
6935
8319
|
* 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
|
|
6936
|
-
* @summary Get Invite
|
|
8320
|
+
* @summary Get Invite Message
|
|
6937
8321
|
* @param {string} userId
|
|
6938
8322
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
6939
|
-
* @param {number}
|
|
8323
|
+
* @param {number} slot
|
|
6940
8324
|
* @param {*} [options] Override http request option.
|
|
6941
8325
|
* @throws {RequiredError}
|
|
6942
8326
|
*/
|
|
6943
|
-
async getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
6944
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getInviteMessage(userId, messageType,
|
|
8327
|
+
async getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteMessage>> {
|
|
8328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInviteMessage(userId, messageType, slot, options);
|
|
6945
8329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6946
8330
|
},
|
|
6947
8331
|
/**
|
|
@@ -6980,16 +8364,16 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
6980
8364
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6981
8365
|
},
|
|
6982
8366
|
/**
|
|
6983
|
-
* Resets a single Invite Message back to
|
|
8367
|
+
* 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.
|
|
6984
8368
|
* @summary Reset Invite Message
|
|
6985
8369
|
* @param {string} userId
|
|
6986
8370
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
6987
|
-
* @param {number}
|
|
8371
|
+
* @param {number} slot
|
|
6988
8372
|
* @param {*} [options] Override http request option.
|
|
6989
8373
|
* @throws {RequiredError}
|
|
6990
8374
|
*/
|
|
6991
|
-
async resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
6992
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resetInviteMessage(userId, messageType,
|
|
8375
|
+
async resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>> {
|
|
8376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetInviteMessage(userId, messageType, slot, options);
|
|
6993
8377
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6994
8378
|
},
|
|
6995
8379
|
/**
|
|
@@ -7005,16 +8389,17 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
7005
8389
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7006
8390
|
},
|
|
7007
8391
|
/**
|
|
7008
|
-
* 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
|
|
8392
|
+
* 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
|
|
7009
8393
|
* @summary Update Invite Message
|
|
7010
8394
|
* @param {string} userId
|
|
7011
8395
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7012
|
-
* @param {number}
|
|
8396
|
+
* @param {number} slot
|
|
8397
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
7013
8398
|
* @param {*} [options] Override http request option.
|
|
7014
8399
|
* @throws {RequiredError}
|
|
7015
8400
|
*/
|
|
7016
|
-
async updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7017
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInviteMessage(userId, messageType,
|
|
8401
|
+
async updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>> {
|
|
8402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options);
|
|
7018
8403
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7019
8404
|
},
|
|
7020
8405
|
}
|
|
@@ -7029,15 +8414,15 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
7029
8414
|
return {
|
|
7030
8415
|
/**
|
|
7031
8416
|
* 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
|
|
7032
|
-
* @summary Get Invite
|
|
8417
|
+
* @summary Get Invite Message
|
|
7033
8418
|
* @param {string} userId
|
|
7034
8419
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7035
|
-
* @param {number}
|
|
8420
|
+
* @param {number} slot
|
|
7036
8421
|
* @param {*} [options] Override http request option.
|
|
7037
8422
|
* @throws {RequiredError}
|
|
7038
8423
|
*/
|
|
7039
|
-
getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7040
|
-
return localVarFp.getInviteMessage(userId, messageType,
|
|
8424
|
+
getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: any): AxiosPromise<InviteMessage> {
|
|
8425
|
+
return localVarFp.getInviteMessage(userId, messageType, slot, options).then((request) => request(axios, basePath));
|
|
7041
8426
|
},
|
|
7042
8427
|
/**
|
|
7043
8428
|
* 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
|
|
@@ -7072,16 +8457,16 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
7072
8457
|
return localVarFp.requestInvite(userId, options).then((request) => request(axios, basePath));
|
|
7073
8458
|
},
|
|
7074
8459
|
/**
|
|
7075
|
-
* Resets a single Invite Message back to
|
|
8460
|
+
* 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.
|
|
7076
8461
|
* @summary Reset Invite Message
|
|
7077
8462
|
* @param {string} userId
|
|
7078
8463
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7079
|
-
* @param {number}
|
|
8464
|
+
* @param {number} slot
|
|
7080
8465
|
* @param {*} [options] Override http request option.
|
|
7081
8466
|
* @throws {RequiredError}
|
|
7082
8467
|
*/
|
|
7083
|
-
resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7084
|
-
return localVarFp.resetInviteMessage(userId, messageType,
|
|
8468
|
+
resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
8469
|
+
return localVarFp.resetInviteMessage(userId, messageType, slot, options).then((request) => request(axios, basePath));
|
|
7085
8470
|
},
|
|
7086
8471
|
/**
|
|
7087
8472
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
@@ -7095,16 +8480,17 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
7095
8480
|
return localVarFp.respondInvite(notificationId, inviteResponse, options).then((request) => request(axios, basePath));
|
|
7096
8481
|
},
|
|
7097
8482
|
/**
|
|
7098
|
-
* 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
|
|
8483
|
+
* 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
|
|
7099
8484
|
* @summary Update Invite Message
|
|
7100
8485
|
* @param {string} userId
|
|
7101
8486
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7102
|
-
* @param {number}
|
|
8487
|
+
* @param {number} slot
|
|
8488
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
7103
8489
|
* @param {*} [options] Override http request option.
|
|
7104
8490
|
* @throws {RequiredError}
|
|
7105
8491
|
*/
|
|
7106
|
-
updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7107
|
-
return localVarFp.updateInviteMessage(userId, messageType,
|
|
8492
|
+
updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: any): AxiosPromise<Array<InviteMessage>> {
|
|
8493
|
+
return localVarFp.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then((request) => request(axios, basePath));
|
|
7108
8494
|
},
|
|
7109
8495
|
};
|
|
7110
8496
|
};
|
|
@@ -7118,16 +8504,16 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
7118
8504
|
export class InviteApi extends BaseAPI {
|
|
7119
8505
|
/**
|
|
7120
8506
|
* 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
|
|
7121
|
-
* @summary Get Invite
|
|
8507
|
+
* @summary Get Invite Message
|
|
7122
8508
|
* @param {string} userId
|
|
7123
8509
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7124
|
-
* @param {number}
|
|
8510
|
+
* @param {number} slot
|
|
7125
8511
|
* @param {*} [options] Override http request option.
|
|
7126
8512
|
* @throws {RequiredError}
|
|
7127
8513
|
* @memberof InviteApi
|
|
7128
8514
|
*/
|
|
7129
|
-
public getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7130
|
-
return InviteApiFp(this.configuration).getInviteMessage(userId, messageType,
|
|
8515
|
+
public getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig) {
|
|
8516
|
+
return InviteApiFp(this.configuration).getInviteMessage(userId, messageType, slot, options).then((request) => request(this.axios, this.basePath));
|
|
7131
8517
|
}
|
|
7132
8518
|
|
|
7133
8519
|
/**
|
|
@@ -7169,17 +8555,17 @@ export class InviteApi extends BaseAPI {
|
|
|
7169
8555
|
}
|
|
7170
8556
|
|
|
7171
8557
|
/**
|
|
7172
|
-
* Resets a single Invite Message back to
|
|
8558
|
+
* 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.
|
|
7173
8559
|
* @summary Reset Invite Message
|
|
7174
8560
|
* @param {string} userId
|
|
7175
8561
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7176
|
-
* @param {number}
|
|
8562
|
+
* @param {number} slot
|
|
7177
8563
|
* @param {*} [options] Override http request option.
|
|
7178
8564
|
* @throws {RequiredError}
|
|
7179
8565
|
* @memberof InviteApi
|
|
7180
8566
|
*/
|
|
7181
|
-
public resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7182
|
-
return InviteApiFp(this.configuration).resetInviteMessage(userId, messageType,
|
|
8567
|
+
public resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig) {
|
|
8568
|
+
return InviteApiFp(this.configuration).resetInviteMessage(userId, messageType, slot, options).then((request) => request(this.axios, this.basePath));
|
|
7183
8569
|
}
|
|
7184
8570
|
|
|
7185
8571
|
/**
|
|
@@ -7196,17 +8582,18 @@ export class InviteApi extends BaseAPI {
|
|
|
7196
8582
|
}
|
|
7197
8583
|
|
|
7198
8584
|
/**
|
|
7199
|
-
* 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
|
|
8585
|
+
* 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
|
|
7200
8586
|
* @summary Update Invite Message
|
|
7201
8587
|
* @param {string} userId
|
|
7202
8588
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
7203
|
-
* @param {number}
|
|
8589
|
+
* @param {number} slot
|
|
8590
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
7204
8591
|
* @param {*} [options] Override http request option.
|
|
7205
8592
|
* @throws {RequiredError}
|
|
7206
8593
|
* @memberof InviteApi
|
|
7207
8594
|
*/
|
|
7208
|
-
public updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse',
|
|
7209
|
-
return InviteApiFp(this.configuration).updateInviteMessage(userId, messageType,
|
|
8595
|
+
public updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig) {
|
|
8596
|
+
return InviteApiFp(this.configuration).updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7210
8597
|
}
|
|
7211
8598
|
}
|
|
7212
8599
|
|
|
@@ -8063,7 +9450,7 @@ export const PlayermoderationApiFp = function(configuration?: Configuration) {
|
|
|
8063
9450
|
* @param {*} [options] Override http request option.
|
|
8064
9451
|
* @throws {RequiredError}
|
|
8065
9452
|
*/
|
|
8066
|
-
async clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9453
|
+
async clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
|
|
8067
9454
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllPlayerModerations(options);
|
|
8068
9455
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8069
9456
|
},
|
|
@@ -8139,7 +9526,7 @@ export const PlayermoderationApiFactory = function (configuration?: Configuratio
|
|
|
8139
9526
|
* @param {*} [options] Override http request option.
|
|
8140
9527
|
* @throws {RequiredError}
|
|
8141
9528
|
*/
|
|
8142
|
-
clearAllPlayerModerations(options?: any): AxiosPromise<
|
|
9529
|
+
clearAllPlayerModerations(options?: any): AxiosPromise<Success> {
|
|
8143
9530
|
return localVarFp.clearAllPlayerModerations(options).then((request) => request(axios, basePath));
|
|
8144
9531
|
},
|
|
8145
9532
|
/**
|
|
@@ -8292,7 +9679,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8292
9679
|
* @throws {RequiredError}
|
|
8293
9680
|
*/
|
|
8294
9681
|
getCSS: async (variant?: 'public' | 'internal', branch?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8295
|
-
const localVarPath = `/css/app.
|
|
9682
|
+
const localVarPath = `/css/app.css`;
|
|
8296
9683
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8297
9684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8298
9685
|
let baseOptions;
|
|
@@ -8354,7 +9741,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8354
9741
|
};
|
|
8355
9742
|
},
|
|
8356
9743
|
/**
|
|
8357
|
-
* Returns
|
|
9744
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
8358
9745
|
* @summary Current Online Users
|
|
8359
9746
|
* @param {*} [options] Override http request option.
|
|
8360
9747
|
* @throws {RequiredError}
|
|
@@ -8405,6 +9792,46 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8405
9792
|
|
|
8406
9793
|
|
|
8407
9794
|
|
|
9795
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9797
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9798
|
+
|
|
9799
|
+
return {
|
|
9800
|
+
url: toPathString(localVarUrlObj),
|
|
9801
|
+
options: localVarRequestOptions,
|
|
9802
|
+
};
|
|
9803
|
+
},
|
|
9804
|
+
/**
|
|
9805
|
+
* IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search.
|
|
9806
|
+
* @summary Show Information Notices
|
|
9807
|
+
* @param {string} [require] Tags to include (comma-separated). All of the tags needs to be present.
|
|
9808
|
+
* @param {string} [include] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9809
|
+
* @param {*} [options] Override http request option.
|
|
9810
|
+
* @throws {RequiredError}
|
|
9811
|
+
*/
|
|
9812
|
+
getInfoPush: async (require?: string, include?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9813
|
+
const localVarPath = `/infoPush`;
|
|
9814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9816
|
+
let baseOptions;
|
|
9817
|
+
if (configuration) {
|
|
9818
|
+
baseOptions = configuration.baseOptions;
|
|
9819
|
+
}
|
|
9820
|
+
|
|
9821
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9822
|
+
const localVarHeaderParameter = {} as any;
|
|
9823
|
+
const localVarQueryParameter = {} as any;
|
|
9824
|
+
|
|
9825
|
+
if (require !== undefined) {
|
|
9826
|
+
localVarQueryParameter['require'] = require;
|
|
9827
|
+
}
|
|
9828
|
+
|
|
9829
|
+
if (include !== undefined) {
|
|
9830
|
+
localVarQueryParameter['include'] = include;
|
|
9831
|
+
}
|
|
9832
|
+
|
|
9833
|
+
|
|
9834
|
+
|
|
8408
9835
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8409
9836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8410
9837
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8455,7 +9882,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8455
9882
|
};
|
|
8456
9883
|
},
|
|
8457
9884
|
/**
|
|
8458
|
-
* Returns
|
|
9885
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
8459
9886
|
* @summary Current System Time
|
|
8460
9887
|
* @param {*} [options] Override http request option.
|
|
8461
9888
|
* @throws {RequiredError}
|
|
@@ -8517,7 +9944,7 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
8517
9944
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8518
9945
|
},
|
|
8519
9946
|
/**
|
|
8520
|
-
* Returns
|
|
9947
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
8521
9948
|
* @summary Current Online Users
|
|
8522
9949
|
* @param {*} [options] Override http request option.
|
|
8523
9950
|
* @throws {RequiredError}
|
|
@@ -8537,6 +9964,18 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
8537
9964
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHealth(options);
|
|
8538
9965
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8539
9966
|
},
|
|
9967
|
+
/**
|
|
9968
|
+
* IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search.
|
|
9969
|
+
* @summary Show Information Notices
|
|
9970
|
+
* @param {string} [require] Tags to include (comma-separated). All of the tags needs to be present.
|
|
9971
|
+
* @param {string} [include] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9972
|
+
* @param {*} [options] Override http request option.
|
|
9973
|
+
* @throws {RequiredError}
|
|
9974
|
+
*/
|
|
9975
|
+
async getInfoPush(require?: string, include?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfoPush>>> {
|
|
9976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInfoPush(require, include, options);
|
|
9977
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9978
|
+
},
|
|
8540
9979
|
/**
|
|
8541
9980
|
* Fetches the JavaScript code to the frontend React website.
|
|
8542
9981
|
* @summary Download JavaScript
|
|
@@ -8550,7 +9989,7 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
8550
9989
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8551
9990
|
},
|
|
8552
9991
|
/**
|
|
8553
|
-
* Returns
|
|
9992
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
8554
9993
|
* @summary Current System Time
|
|
8555
9994
|
* @param {*} [options] Override http request option.
|
|
8556
9995
|
* @throws {RequiredError}
|
|
@@ -8590,7 +10029,7 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
8590
10029
|
return localVarFp.getConfig(options).then((request) => request(axios, basePath));
|
|
8591
10030
|
},
|
|
8592
10031
|
/**
|
|
8593
|
-
* Returns
|
|
10032
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
8594
10033
|
* @summary Current Online Users
|
|
8595
10034
|
* @param {*} [options] Override http request option.
|
|
8596
10035
|
* @throws {RequiredError}
|
|
@@ -8608,6 +10047,17 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
8608
10047
|
getHealth(options?: any): AxiosPromise<APIHealth> {
|
|
8609
10048
|
return localVarFp.getHealth(options).then((request) => request(axios, basePath));
|
|
8610
10049
|
},
|
|
10050
|
+
/**
|
|
10051
|
+
* IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search.
|
|
10052
|
+
* @summary Show Information Notices
|
|
10053
|
+
* @param {string} [require] Tags to include (comma-separated). All of the tags needs to be present.
|
|
10054
|
+
* @param {string} [include] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10055
|
+
* @param {*} [options] Override http request option.
|
|
10056
|
+
* @throws {RequiredError}
|
|
10057
|
+
*/
|
|
10058
|
+
getInfoPush(require?: string, include?: string, options?: any): AxiosPromise<Array<InfoPush>> {
|
|
10059
|
+
return localVarFp.getInfoPush(require, include, options).then((request) => request(axios, basePath));
|
|
10060
|
+
},
|
|
8611
10061
|
/**
|
|
8612
10062
|
* Fetches the JavaScript code to the frontend React website.
|
|
8613
10063
|
* @summary Download JavaScript
|
|
@@ -8620,7 +10070,7 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
8620
10070
|
return localVarFp.getJavaScript(variant, branch, options).then((request) => request(axios, basePath));
|
|
8621
10071
|
},
|
|
8622
10072
|
/**
|
|
8623
|
-
* Returns
|
|
10073
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
8624
10074
|
* @summary Current System Time
|
|
8625
10075
|
* @param {*} [options] Override http request option.
|
|
8626
10076
|
* @throws {RequiredError}
|
|
@@ -8663,7 +10113,7 @@ export class SystemApi extends BaseAPI {
|
|
|
8663
10113
|
}
|
|
8664
10114
|
|
|
8665
10115
|
/**
|
|
8666
|
-
* Returns
|
|
10116
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
8667
10117
|
* @summary Current Online Users
|
|
8668
10118
|
* @param {*} [options] Override http request option.
|
|
8669
10119
|
* @throws {RequiredError}
|
|
@@ -8685,6 +10135,19 @@ export class SystemApi extends BaseAPI {
|
|
|
8685
10135
|
return SystemApiFp(this.configuration).getHealth(options).then((request) => request(this.axios, this.basePath));
|
|
8686
10136
|
}
|
|
8687
10137
|
|
|
10138
|
+
/**
|
|
10139
|
+
* IPS (Info Push System) is a system for VRChat to push out dynamic information to the client. This is primarily used by the Quick-Menu info banners, but can also be used to e.g. alert you to update your game to the latest version. `include` is used to query what Information Pushes should be included in the response. If include is missing or empty, then no notices will normally be returned. This is an \"any of\" search. `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an \"all of\" search.
|
|
10140
|
+
* @summary Show Information Notices
|
|
10141
|
+
* @param {string} [require] Tags to include (comma-separated). All of the tags needs to be present.
|
|
10142
|
+
* @param {string} [include] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10143
|
+
* @param {*} [options] Override http request option.
|
|
10144
|
+
* @throws {RequiredError}
|
|
10145
|
+
* @memberof SystemApi
|
|
10146
|
+
*/
|
|
10147
|
+
public getInfoPush(require?: string, include?: string, options?: AxiosRequestConfig) {
|
|
10148
|
+
return SystemApiFp(this.configuration).getInfoPush(require, include, options).then((request) => request(this.axios, this.basePath));
|
|
10149
|
+
}
|
|
10150
|
+
|
|
8688
10151
|
/**
|
|
8689
10152
|
* Fetches the JavaScript code to the frontend React website.
|
|
8690
10153
|
* @summary Download JavaScript
|
|
@@ -8699,7 +10162,7 @@ export class SystemApi extends BaseAPI {
|
|
|
8699
10162
|
}
|
|
8700
10163
|
|
|
8701
10164
|
/**
|
|
8702
|
-
* Returns
|
|
10165
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
8703
10166
|
* @summary Current System Time
|
|
8704
10167
|
* @param {*} [options] Override http request option.
|
|
8705
10168
|
* @throws {RequiredError}
|
|
@@ -9152,7 +10615,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9152
10615
|
* @param {'ascending' | 'descending'} [order]
|
|
9153
10616
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9154
10617
|
* @param {string} [search] Filters by world name.
|
|
9155
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
10618
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9156
10619
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9157
10620
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9158
10621
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9246,7 +10709,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9246
10709
|
* @param {'ascending' | 'descending'} [order]
|
|
9247
10710
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9248
10711
|
* @param {string} [search] Filters by world name.
|
|
9249
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
10712
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9250
10713
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9251
10714
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9252
10715
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9345,7 +10808,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9345
10808
|
* @param {'ascending' | 'descending'} [order]
|
|
9346
10809
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9347
10810
|
* @param {string} [search] Filters by world name.
|
|
9348
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
10811
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9349
10812
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9350
10813
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9351
10814
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9639,7 +11102,7 @@ export const WorldsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9639
11102
|
* @param {'ascending' | 'descending'} [order]
|
|
9640
11103
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9641
11104
|
* @param {string} [search] Filters by world name.
|
|
9642
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11105
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9643
11106
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9644
11107
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9645
11108
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9853,7 +11316,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
9853
11316
|
* @param {'ascending' | 'descending'} [order]
|
|
9854
11317
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9855
11318
|
* @param {string} [search] Filters by world name.
|
|
9856
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11319
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9857
11320
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9858
11321
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9859
11322
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9875,7 +11338,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
9875
11338
|
* @param {'ascending' | 'descending'} [order]
|
|
9876
11339
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9877
11340
|
* @param {string} [search] Filters by world name.
|
|
9878
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11341
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9879
11342
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9880
11343
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9881
11344
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9898,7 +11361,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
9898
11361
|
* @param {'ascending' | 'descending'} [order]
|
|
9899
11362
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9900
11363
|
* @param {string} [search] Filters by world name.
|
|
9901
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11364
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9902
11365
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9903
11366
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9904
11367
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -9980,7 +11443,7 @@ export const WorldsApiFp = function(configuration?: Configuration) {
|
|
|
9980
11443
|
* @param {'ascending' | 'descending'} [order]
|
|
9981
11444
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9982
11445
|
* @param {string} [search] Filters by world name.
|
|
9983
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11446
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
9984
11447
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
9985
11448
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
9986
11449
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10055,7 +11518,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
10055
11518
|
* @param {'ascending' | 'descending'} [order]
|
|
10056
11519
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10057
11520
|
* @param {string} [search] Filters by world name.
|
|
10058
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11521
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10059
11522
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10060
11523
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10061
11524
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10076,7 +11539,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
10076
11539
|
* @param {'ascending' | 'descending'} [order]
|
|
10077
11540
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10078
11541
|
* @param {string} [search] Filters by world name.
|
|
10079
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11542
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10080
11543
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10081
11544
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10082
11545
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10098,7 +11561,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
10098
11561
|
* @param {'ascending' | 'descending'} [order]
|
|
10099
11562
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10100
11563
|
* @param {string} [search] Filters by world name.
|
|
10101
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11564
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10102
11565
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10103
11566
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10104
11567
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10174,7 +11637,7 @@ export const WorldsApiFactory = function (configuration?: Configuration, basePat
|
|
|
10174
11637
|
* @param {'ascending' | 'descending'} [order]
|
|
10175
11638
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10176
11639
|
* @param {string} [search] Filters by world name.
|
|
10177
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11640
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10178
11641
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10179
11642
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10180
11643
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10250,7 +11713,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
10250
11713
|
* @param {'ascending' | 'descending'} [order]
|
|
10251
11714
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10252
11715
|
* @param {string} [search] Filters by world name.
|
|
10253
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11716
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10254
11717
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10255
11718
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10256
11719
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10273,7 +11736,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
10273
11736
|
* @param {'ascending' | 'descending'} [order]
|
|
10274
11737
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10275
11738
|
* @param {string} [search] Filters by world name.
|
|
10276
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11739
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10277
11740
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10278
11741
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10279
11742
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10297,7 +11760,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
10297
11760
|
* @param {'ascending' | 'descending'} [order]
|
|
10298
11761
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10299
11762
|
* @param {string} [search] Filters by world name.
|
|
10300
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11763
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10301
11764
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10302
11765
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10303
11766
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|
|
@@ -10385,7 +11848,7 @@ export class WorldsApi extends BaseAPI {
|
|
|
10385
11848
|
* @param {'ascending' | 'descending'} [order]
|
|
10386
11849
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10387
11850
|
* @param {string} [search] Filters by world name.
|
|
10388
|
-
* @param {string} [tag] Tags to include (comma-separated).
|
|
11851
|
+
* @param {string} [tag] Tags to include (comma-separated). Any of the tags needs to be present.
|
|
10389
11852
|
* @param {string} [notag] Tags to exclude (comma-separated).
|
|
10390
11853
|
* @param {'public' | 'private' | 'hidden' | 'all'} [releaseStatus] Filter by ReleaseStatus.
|
|
10391
11854
|
* @param {string} [maxUnityVersion] The maximum Unity version supported by the asset.
|