vrchat 1.5.3 → 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 +89 -64
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +85 -64
- package/dist/api.js +30 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* VRChat API Documentation
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
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).
|
|
@@ -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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1434,7 +1434,7 @@ export interface FavoriteGroup {
|
|
|
1434
1434
|
*/
|
|
1435
1435
|
'ownerDisplayName': string;
|
|
1436
1436
|
/**
|
|
1437
|
-
*
|
|
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.
|
|
1438
1438
|
* @type {string}
|
|
1439
1439
|
* @memberof FavoriteGroup
|
|
1440
1440
|
*/
|
|
@@ -1909,7 +1909,7 @@ export enum InfoPushDataClickableCommandEnum {
|
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
1911
|
/**
|
|
1912
|
-
*
|
|
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
1913
|
* @export
|
|
1914
1914
|
* @interface Instance
|
|
1915
1915
|
*/
|
|
@@ -1933,9 +1933,10 @@ export interface Instance {
|
|
|
1933
1933
|
*/
|
|
1934
1934
|
'capacity': number;
|
|
1935
1935
|
/**
|
|
1936
|
-
*
|
|
1936
|
+
* Always returns \"unknown\".
|
|
1937
1937
|
* @type {string}
|
|
1938
1938
|
* @memberof Instance
|
|
1939
|
+
* @deprecated
|
|
1939
1940
|
*/
|
|
1940
1941
|
'clientNumber': string;
|
|
1941
1942
|
/**
|
|
@@ -1945,7 +1946,7 @@ export interface Instance {
|
|
|
1945
1946
|
*/
|
|
1946
1947
|
'full': boolean;
|
|
1947
1948
|
/**
|
|
1948
|
-
*
|
|
1949
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1949
1950
|
* @type {string}
|
|
1950
1951
|
* @memberof Instance
|
|
1951
1952
|
*/
|
|
@@ -1957,7 +1958,7 @@ export interface Instance {
|
|
|
1957
1958
|
*/
|
|
1958
1959
|
'instanceId': string;
|
|
1959
1960
|
/**
|
|
1960
|
-
*
|
|
1961
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1961
1962
|
* @type {string}
|
|
1962
1963
|
* @memberof Instance
|
|
1963
1964
|
*/
|
|
@@ -1975,13 +1976,7 @@ export interface Instance {
|
|
|
1975
1976
|
*/
|
|
1976
1977
|
'name': string;
|
|
1977
1978
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
* @type {string}
|
|
1980
|
-
* @memberof Instance
|
|
1981
|
-
*/
|
|
1982
|
-
'nonce'?: string;
|
|
1983
|
-
/**
|
|
1984
|
-
*
|
|
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.
|
|
1985
1980
|
* @type {string}
|
|
1986
1981
|
* @memberof Instance
|
|
1987
1982
|
*/
|
|
@@ -1994,10 +1989,10 @@ export interface Instance {
|
|
|
1994
1989
|
'permanent': boolean;
|
|
1995
1990
|
/**
|
|
1996
1991
|
*
|
|
1997
|
-
* @type {
|
|
1992
|
+
* @type {Region}
|
|
1998
1993
|
* @memberof Instance
|
|
1999
1994
|
*/
|
|
2000
|
-
'photonRegion':
|
|
1995
|
+
'photonRegion': Region;
|
|
2001
1996
|
/**
|
|
2002
1997
|
*
|
|
2003
1998
|
* @type {InstancePlatforms}
|
|
@@ -2006,10 +2001,10 @@ export interface Instance {
|
|
|
2006
2001
|
'platforms': InstancePlatforms;
|
|
2007
2002
|
/**
|
|
2008
2003
|
*
|
|
2009
|
-
* @type {
|
|
2004
|
+
* @type {Region}
|
|
2010
2005
|
* @memberof Instance
|
|
2011
2006
|
*/
|
|
2012
|
-
'region':
|
|
2007
|
+
'region': Region;
|
|
2013
2008
|
/**
|
|
2014
2009
|
*
|
|
2015
2010
|
* @type {string}
|
|
@@ -2017,37 +2012,41 @@ export interface Instance {
|
|
|
2017
2012
|
*/
|
|
2018
2013
|
'shortName': string;
|
|
2019
2014
|
/**
|
|
2020
|
-
*
|
|
2015
|
+
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
2021
2016
|
* @type {Array<string>}
|
|
2022
2017
|
* @memberof Instance
|
|
2023
2018
|
*/
|
|
2024
2019
|
'tags': Array<string>;
|
|
2025
2020
|
/**
|
|
2026
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.
|
|
2027
2028
|
* @type {string}
|
|
2028
2029
|
* @memberof Instance
|
|
2029
2030
|
*/
|
|
2030
|
-
'
|
|
2031
|
+
'worldId': string;
|
|
2031
2032
|
/**
|
|
2032
|
-
*
|
|
2033
|
-
* @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}
|
|
2034
2035
|
* @memberof Instance
|
|
2035
|
-
* @deprecated
|
|
2036
2036
|
*/
|
|
2037
|
-
'
|
|
2037
|
+
'hidden'?: string;
|
|
2038
2038
|
/**
|
|
2039
|
-
*
|
|
2040
|
-
* @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}
|
|
2041
2041
|
* @memberof Instance
|
|
2042
|
-
* @deprecated
|
|
2043
2042
|
*/
|
|
2044
|
-
'
|
|
2043
|
+
'friends'?: string;
|
|
2045
2044
|
/**
|
|
2046
|
-
*
|
|
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.
|
|
2047
2046
|
* @type {string}
|
|
2048
2047
|
* @memberof Instance
|
|
2049
2048
|
*/
|
|
2050
|
-
'
|
|
2049
|
+
'private'?: string;
|
|
2051
2050
|
}
|
|
2052
2051
|
/**
|
|
2053
2052
|
*
|
|
@@ -2068,6 +2067,19 @@ export interface InstancePlatforms {
|
|
|
2068
2067
|
*/
|
|
2069
2068
|
'standalonewindows': number;
|
|
2070
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
|
+
|
|
2071
2083
|
/**
|
|
2072
2084
|
*
|
|
2073
2085
|
* @export
|
|
@@ -2137,7 +2149,7 @@ export enum InviteMessageType {
|
|
|
2137
2149
|
*/
|
|
2138
2150
|
export interface InviteRequest {
|
|
2139
2151
|
/**
|
|
2140
|
-
*
|
|
2152
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
2141
2153
|
* @type {string}
|
|
2142
2154
|
* @memberof InviteRequest
|
|
2143
2155
|
*/
|
|
@@ -2304,7 +2316,7 @@ export interface LimitedUser {
|
|
|
2304
2316
|
*/
|
|
2305
2317
|
'fallbackAvatar': string;
|
|
2306
2318
|
/**
|
|
2307
|
-
*
|
|
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.
|
|
2308
2320
|
* @type {string}
|
|
2309
2321
|
* @memberof LimitedUser
|
|
2310
2322
|
*/
|
|
@@ -2377,7 +2389,7 @@ export interface LimitedUser {
|
|
|
2377
2389
|
*/
|
|
2378
2390
|
export interface LimitedWorld {
|
|
2379
2391
|
/**
|
|
2380
|
-
*
|
|
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.
|
|
2381
2393
|
* @type {string}
|
|
2382
2394
|
* @memberof LimitedWorld
|
|
2383
2395
|
*/
|
|
@@ -2413,7 +2425,7 @@ export interface LimitedWorld {
|
|
|
2413
2425
|
*/
|
|
2414
2426
|
'heat': number;
|
|
2415
2427
|
/**
|
|
2416
|
-
*
|
|
2428
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
2417
2429
|
* @type {string}
|
|
2418
2430
|
* @memberof LimitedWorld
|
|
2419
2431
|
*/
|
|
@@ -2558,7 +2570,7 @@ export interface ModelFile {
|
|
|
2558
2570
|
*/
|
|
2559
2571
|
'name': string;
|
|
2560
2572
|
/**
|
|
2561
|
-
*
|
|
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.
|
|
2562
2574
|
* @type {string}
|
|
2563
2575
|
* @memberof ModelFile
|
|
2564
2576
|
*/
|
|
@@ -2583,7 +2595,7 @@ export interface ModelFile {
|
|
|
2583
2595
|
*/
|
|
2584
2596
|
export interface ModerateUserRequest {
|
|
2585
2597
|
/**
|
|
2586
|
-
*
|
|
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.
|
|
2587
2599
|
* @type {string}
|
|
2588
2600
|
* @memberof ModerateUserRequest
|
|
2589
2601
|
*/
|
|
@@ -2632,7 +2644,7 @@ export interface Notification {
|
|
|
2632
2644
|
*/
|
|
2633
2645
|
'seen': boolean;
|
|
2634
2646
|
/**
|
|
2635
|
-
*
|
|
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.
|
|
2636
2648
|
* @type {string}
|
|
2637
2649
|
* @memberof Notification
|
|
2638
2650
|
*/
|
|
@@ -2703,7 +2715,7 @@ export interface Permission {
|
|
|
2703
2715
|
*/
|
|
2704
2716
|
'name': string;
|
|
2705
2717
|
/**
|
|
2706
|
-
*
|
|
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.
|
|
2707
2719
|
* @type {string}
|
|
2708
2720
|
* @memberof Permission
|
|
2709
2721
|
*/
|
|
@@ -2740,7 +2752,7 @@ export interface PlayerModeration {
|
|
|
2740
2752
|
*/
|
|
2741
2753
|
'sourceDisplayName': string;
|
|
2742
2754
|
/**
|
|
2743
|
-
*
|
|
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.
|
|
2744
2756
|
* @type {string}
|
|
2745
2757
|
* @memberof PlayerModeration
|
|
2746
2758
|
*/
|
|
@@ -2752,7 +2764,7 @@ export interface PlayerModeration {
|
|
|
2752
2764
|
*/
|
|
2753
2765
|
'targetDisplayName': string;
|
|
2754
2766
|
/**
|
|
2755
|
-
*
|
|
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.
|
|
2756
2768
|
* @type {string}
|
|
2757
2769
|
* @memberof PlayerModeration
|
|
2758
2770
|
*/
|
|
@@ -2798,6 +2810,19 @@ export interface PublicAnnouncement {
|
|
|
2798
2810
|
*/
|
|
2799
2811
|
'text': string;
|
|
2800
2812
|
}
|
|
2813
|
+
/**
|
|
2814
|
+
* API/Photon region.
|
|
2815
|
+
* @export
|
|
2816
|
+
* @enum {string}
|
|
2817
|
+
*/
|
|
2818
|
+
|
|
2819
|
+
export enum Region {
|
|
2820
|
+
Us = 'us',
|
|
2821
|
+
Use = 'use',
|
|
2822
|
+
Eu = 'eu',
|
|
2823
|
+
Jp = 'jp'
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2801
2826
|
/**
|
|
2802
2827
|
*
|
|
2803
2828
|
* @export
|
|
@@ -3409,7 +3434,7 @@ export interface UpdateWorldRequest {
|
|
|
3409
3434
|
*/
|
|
3410
3435
|
'assetVersion'?: string;
|
|
3411
3436
|
/**
|
|
3412
|
-
*
|
|
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.
|
|
3413
3438
|
* @type {string}
|
|
3414
3439
|
* @memberof UpdateWorldRequest
|
|
3415
3440
|
*/
|
|
@@ -3524,7 +3549,7 @@ export interface User {
|
|
|
3524
3549
|
*/
|
|
3525
3550
|
'developerType': DeveloperType;
|
|
3526
3551
|
/**
|
|
3527
|
-
*
|
|
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.
|
|
3528
3553
|
* @type {string}
|
|
3529
3554
|
* @memberof User
|
|
3530
3555
|
*/
|
|
@@ -3536,25 +3561,25 @@ export interface User {
|
|
|
3536
3561
|
*/
|
|
3537
3562
|
'friendKey': string;
|
|
3538
3563
|
/**
|
|
3539
|
-
*
|
|
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.
|
|
3540
3565
|
* @type {string}
|
|
3541
3566
|
* @memberof User
|
|
3542
3567
|
*/
|
|
3543
3568
|
'id': string;
|
|
3544
3569
|
/**
|
|
3545
|
-
*
|
|
3570
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
3546
3571
|
* @type {string}
|
|
3547
3572
|
* @memberof User
|
|
3548
3573
|
*/
|
|
3549
3574
|
'instanceId'?: string;
|
|
3550
3575
|
/**
|
|
3551
|
-
*
|
|
3576
|
+
* Either their `friendKey`, or empty string if you are not friends. Unknown usage.
|
|
3552
3577
|
* @type {boolean}
|
|
3553
3578
|
* @memberof User
|
|
3554
3579
|
*/
|
|
3555
3580
|
'isFriend': boolean;
|
|
3556
3581
|
/**
|
|
3557
|
-
*
|
|
3582
|
+
* Either a date-time or empty string.
|
|
3558
3583
|
* @type {string}
|
|
3559
3584
|
* @memberof User
|
|
3560
3585
|
*/
|
|
@@ -3566,7 +3591,7 @@ export interface User {
|
|
|
3566
3591
|
*/
|
|
3567
3592
|
'last_platform': string;
|
|
3568
3593
|
/**
|
|
3569
|
-
*
|
|
3594
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3570
3595
|
* @type {string}
|
|
3571
3596
|
* @memberof User
|
|
3572
3597
|
*/
|
|
@@ -3608,13 +3633,13 @@ export interface User {
|
|
|
3608
3633
|
*/
|
|
3609
3634
|
'userIcon': string;
|
|
3610
3635
|
/**
|
|
3611
|
-
*
|
|
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.
|
|
3612
3637
|
* @type {string}
|
|
3613
3638
|
* @memberof User
|
|
3614
3639
|
*/
|
|
3615
3640
|
'username': string;
|
|
3616
3641
|
/**
|
|
3617
|
-
*
|
|
3642
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3618
3643
|
* @type {string}
|
|
3619
3644
|
* @memberof User
|
|
3620
3645
|
*/
|
|
@@ -3807,7 +3832,7 @@ export interface World {
|
|
|
3807
3832
|
*/
|
|
3808
3833
|
'assetUrlObject': object;
|
|
3809
3834
|
/**
|
|
3810
|
-
*
|
|
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.
|
|
3811
3836
|
* @type {string}
|
|
3812
3837
|
* @memberof World
|
|
3813
3838
|
*/
|
|
@@ -3855,7 +3880,7 @@ export interface World {
|
|
|
3855
3880
|
*/
|
|
3856
3881
|
'heat': number;
|
|
3857
3882
|
/**
|
|
3858
|
-
*
|
|
3883
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3859
3884
|
* @type {string}
|
|
3860
3885
|
* @memberof World
|
|
3861
3886
|
*/
|
|
@@ -3994,7 +4019,7 @@ export interface World {
|
|
|
3994
4019
|
*/
|
|
3995
4020
|
export interface WorldMetadata {
|
|
3996
4021
|
/**
|
|
3997
|
-
*
|
|
4022
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3998
4023
|
* @type {string}
|
|
3999
4024
|
* @memberof WorldMetadata
|
|
4000
4025
|
*/
|
|
@@ -7703,7 +7728,7 @@ export class FriendsApi extends BaseAPI {
|
|
|
7703
7728
|
export const InstancesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7704
7729
|
return {
|
|
7705
7730
|
/**
|
|
7706
|
-
* Returns an instance.
|
|
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\"!
|
|
7707
7732
|
* @summary Get Instance
|
|
7708
7733
|
* @param {string} worldId
|
|
7709
7734
|
* @param {string} instanceId
|
|
@@ -7839,7 +7864,7 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
7839
7864
|
const localVarAxiosParamCreator = InstancesApiAxiosParamCreator(configuration)
|
|
7840
7865
|
return {
|
|
7841
7866
|
/**
|
|
7842
|
-
* Returns an instance.
|
|
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\"!
|
|
7843
7868
|
* @summary Get Instance
|
|
7844
7869
|
* @param {string} worldId
|
|
7845
7870
|
* @param {string} instanceId
|
|
@@ -7885,7 +7910,7 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
7885
7910
|
const localVarFp = InstancesApiFp(configuration)
|
|
7886
7911
|
return {
|
|
7887
7912
|
/**
|
|
7888
|
-
* Returns an instance.
|
|
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\"!
|
|
7889
7914
|
* @summary Get Instance
|
|
7890
7915
|
* @param {string} worldId
|
|
7891
7916
|
* @param {string} instanceId
|
|
@@ -7928,7 +7953,7 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
7928
7953
|
*/
|
|
7929
7954
|
export class InstancesApi extends BaseAPI {
|
|
7930
7955
|
/**
|
|
7931
|
-
* Returns an instance.
|
|
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\"!
|
|
7932
7957
|
* @summary Get Instance
|
|
7933
7958
|
* @param {string} worldId
|
|
7934
7959
|
* @param {string} instanceId
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* VRChat API Documentation
|
|
3
3
|
*
|
|
4
|
-
* The version of the OpenAPI document: 1.
|
|
4
|
+
* The version of the OpenAPI document: 1.6.0
|
|
5
5
|
* Contact: me@ruby.js.org
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -284,7 +284,7 @@ export interface APIConfig {
|
|
|
284
284
|
*/
|
|
285
285
|
'gearDemoRoomId': string;
|
|
286
286
|
/**
|
|
287
|
-
*
|
|
287
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
288
288
|
* @type {string}
|
|
289
289
|
* @memberof APIConfig
|
|
290
290
|
*/
|
|
@@ -296,7 +296,7 @@ export interface APIConfig {
|
|
|
296
296
|
*/
|
|
297
297
|
'homepageRedirectTarget': string;
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
300
300
|
* @type {string}
|
|
301
301
|
* @memberof APIConfig
|
|
302
302
|
*/
|
|
@@ -403,13 +403,13 @@ export interface APIConfig {
|
|
|
403
403
|
*/
|
|
404
404
|
'supportEmail': string;
|
|
405
405
|
/**
|
|
406
|
-
*
|
|
406
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
407
407
|
* @type {string}
|
|
408
408
|
* @memberof APIConfig
|
|
409
409
|
*/
|
|
410
410
|
'timeOutWorldId': string;
|
|
411
411
|
/**
|
|
412
|
-
*
|
|
412
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
413
413
|
* @type {string}
|
|
414
414
|
* @memberof APIConfig
|
|
415
415
|
*/
|
|
@@ -647,7 +647,7 @@ export interface Avatar {
|
|
|
647
647
|
*/
|
|
648
648
|
'assetUrlObject'?: object;
|
|
649
649
|
/**
|
|
650
|
-
*
|
|
650
|
+
* 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.
|
|
651
651
|
* @type {string}
|
|
652
652
|
* @memberof Avatar
|
|
653
653
|
*/
|
|
@@ -899,7 +899,7 @@ export interface CreateWorldRequest {
|
|
|
899
899
|
*/
|
|
900
900
|
'assetVersion'?: number;
|
|
901
901
|
/**
|
|
902
|
-
*
|
|
902
|
+
* 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.
|
|
903
903
|
* @type {string}
|
|
904
904
|
* @memberof CreateWorldRequest
|
|
905
905
|
*/
|
|
@@ -923,7 +923,7 @@ export interface CreateWorldRequest {
|
|
|
923
923
|
*/
|
|
924
924
|
'description'?: string;
|
|
925
925
|
/**
|
|
926
|
-
*
|
|
926
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
927
927
|
* @type {string}
|
|
928
928
|
* @memberof CreateWorldRequest
|
|
929
929
|
*/
|
|
@@ -1111,13 +1111,13 @@ export interface CurrentUser {
|
|
|
1111
1111
|
*/
|
|
1112
1112
|
'hasPendingEmail': boolean;
|
|
1113
1113
|
/**
|
|
1114
|
-
*
|
|
1114
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
1115
1115
|
* @type {string}
|
|
1116
1116
|
* @memberof CurrentUser
|
|
1117
1117
|
*/
|
|
1118
1118
|
'homeLocation': string;
|
|
1119
1119
|
/**
|
|
1120
|
-
*
|
|
1120
|
+
* 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.
|
|
1121
1121
|
* @type {string}
|
|
1122
1122
|
* @memberof CurrentUser
|
|
1123
1123
|
*/
|
|
@@ -1420,7 +1420,7 @@ export interface FavoriteGroup {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
'ownerDisplayName': string;
|
|
1422
1422
|
/**
|
|
1423
|
-
*
|
|
1423
|
+
* 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.
|
|
1424
1424
|
* @type {string}
|
|
1425
1425
|
* @memberof FavoriteGroup
|
|
1426
1426
|
*/
|
|
@@ -1885,7 +1885,7 @@ export declare enum InfoPushDataClickableCommandEnum {
|
|
|
1885
1885
|
CannedWorldSearch = "CannedWorldSearch"
|
|
1886
1886
|
}
|
|
1887
1887
|
/**
|
|
1888
|
-
*
|
|
1888
|
+
* * `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.
|
|
1889
1889
|
* @export
|
|
1890
1890
|
* @interface Instance
|
|
1891
1891
|
*/
|
|
@@ -1909,9 +1909,10 @@ export interface Instance {
|
|
|
1909
1909
|
*/
|
|
1910
1910
|
'capacity': number;
|
|
1911
1911
|
/**
|
|
1912
|
-
*
|
|
1912
|
+
* Always returns \"unknown\".
|
|
1913
1913
|
* @type {string}
|
|
1914
1914
|
* @memberof Instance
|
|
1915
|
+
* @deprecated
|
|
1915
1916
|
*/
|
|
1916
1917
|
'clientNumber': string;
|
|
1917
1918
|
/**
|
|
@@ -1921,7 +1922,7 @@ export interface Instance {
|
|
|
1921
1922
|
*/
|
|
1922
1923
|
'full': boolean;
|
|
1923
1924
|
/**
|
|
1924
|
-
*
|
|
1925
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1925
1926
|
* @type {string}
|
|
1926
1927
|
* @memberof Instance
|
|
1927
1928
|
*/
|
|
@@ -1933,7 +1934,7 @@ export interface Instance {
|
|
|
1933
1934
|
*/
|
|
1934
1935
|
'instanceId': string;
|
|
1935
1936
|
/**
|
|
1936
|
-
*
|
|
1937
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1937
1938
|
* @type {string}
|
|
1938
1939
|
* @memberof Instance
|
|
1939
1940
|
*/
|
|
@@ -1951,13 +1952,7 @@ export interface Instance {
|
|
|
1951
1952
|
*/
|
|
1952
1953
|
'name': string;
|
|
1953
1954
|
/**
|
|
1954
|
-
*
|
|
1955
|
-
* @type {string}
|
|
1956
|
-
* @memberof Instance
|
|
1957
|
-
*/
|
|
1958
|
-
'nonce'?: string;
|
|
1959
|
-
/**
|
|
1960
|
-
*
|
|
1955
|
+
* 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.
|
|
1961
1956
|
* @type {string}
|
|
1962
1957
|
* @memberof Instance
|
|
1963
1958
|
*/
|
|
@@ -1970,10 +1965,10 @@ export interface Instance {
|
|
|
1970
1965
|
'permanent': boolean;
|
|
1971
1966
|
/**
|
|
1972
1967
|
*
|
|
1973
|
-
* @type {
|
|
1968
|
+
* @type {Region}
|
|
1974
1969
|
* @memberof Instance
|
|
1975
1970
|
*/
|
|
1976
|
-
'photonRegion':
|
|
1971
|
+
'photonRegion': Region;
|
|
1977
1972
|
/**
|
|
1978
1973
|
*
|
|
1979
1974
|
* @type {InstancePlatforms}
|
|
@@ -1982,10 +1977,10 @@ export interface Instance {
|
|
|
1982
1977
|
'platforms': InstancePlatforms;
|
|
1983
1978
|
/**
|
|
1984
1979
|
*
|
|
1985
|
-
* @type {
|
|
1980
|
+
* @type {Region}
|
|
1986
1981
|
* @memberof Instance
|
|
1987
1982
|
*/
|
|
1988
|
-
'region':
|
|
1983
|
+
'region': Region;
|
|
1989
1984
|
/**
|
|
1990
1985
|
*
|
|
1991
1986
|
* @type {string}
|
|
@@ -1993,37 +1988,41 @@ export interface Instance {
|
|
|
1993
1988
|
*/
|
|
1994
1989
|
'shortName': string;
|
|
1995
1990
|
/**
|
|
1996
|
-
*
|
|
1991
|
+
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
1997
1992
|
* @type {Array<string>}
|
|
1998
1993
|
* @memberof Instance
|
|
1999
1994
|
*/
|
|
2000
1995
|
'tags': Array<string>;
|
|
2001
1996
|
/**
|
|
2002
1997
|
*
|
|
1998
|
+
* @type {InstanceType}
|
|
1999
|
+
* @memberof Instance
|
|
2000
|
+
*/
|
|
2001
|
+
'type': InstanceType;
|
|
2002
|
+
/**
|
|
2003
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
2003
2004
|
* @type {string}
|
|
2004
2005
|
* @memberof Instance
|
|
2005
2006
|
*/
|
|
2006
|
-
'
|
|
2007
|
+
'worldId': string;
|
|
2007
2008
|
/**
|
|
2008
|
-
*
|
|
2009
|
-
* @type {
|
|
2009
|
+
* 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.
|
|
2010
|
+
* @type {string}
|
|
2010
2011
|
* @memberof Instance
|
|
2011
|
-
* @deprecated
|
|
2012
2012
|
*/
|
|
2013
|
-
'
|
|
2013
|
+
'hidden'?: string;
|
|
2014
2014
|
/**
|
|
2015
|
-
*
|
|
2016
|
-
* @type {
|
|
2015
|
+
* 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.
|
|
2016
|
+
* @type {string}
|
|
2017
2017
|
* @memberof Instance
|
|
2018
|
-
* @deprecated
|
|
2019
2018
|
*/
|
|
2020
|
-
'
|
|
2019
|
+
'friends'?: string;
|
|
2021
2020
|
/**
|
|
2022
|
-
*
|
|
2021
|
+
* 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.
|
|
2023
2022
|
* @type {string}
|
|
2024
2023
|
* @memberof Instance
|
|
2025
2024
|
*/
|
|
2026
|
-
'
|
|
2025
|
+
'private'?: string;
|
|
2027
2026
|
}
|
|
2028
2027
|
/**
|
|
2029
2028
|
*
|
|
@@ -2044,6 +2043,17 @@ export interface InstancePlatforms {
|
|
|
2044
2043
|
*/
|
|
2045
2044
|
'standalonewindows': number;
|
|
2046
2045
|
}
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @export
|
|
2049
|
+
* @enum {string}
|
|
2050
|
+
*/
|
|
2051
|
+
export declare enum InstanceType {
|
|
2052
|
+
Public = "public",
|
|
2053
|
+
Hidden = "hidden",
|
|
2054
|
+
Friends = "friends",
|
|
2055
|
+
Private = "private"
|
|
2056
|
+
}
|
|
2047
2057
|
/**
|
|
2048
2058
|
*
|
|
2049
2059
|
* @export
|
|
@@ -2111,7 +2121,7 @@ export declare enum InviteMessageType {
|
|
|
2111
2121
|
*/
|
|
2112
2122
|
export interface InviteRequest {
|
|
2113
2123
|
/**
|
|
2114
|
-
*
|
|
2124
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
2115
2125
|
* @type {string}
|
|
2116
2126
|
* @memberof InviteRequest
|
|
2117
2127
|
*/
|
|
@@ -2274,7 +2284,7 @@ export interface LimitedUser {
|
|
|
2274
2284
|
*/
|
|
2275
2285
|
'fallbackAvatar': string;
|
|
2276
2286
|
/**
|
|
2277
|
-
*
|
|
2287
|
+
* 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.
|
|
2278
2288
|
* @type {string}
|
|
2279
2289
|
* @memberof LimitedUser
|
|
2280
2290
|
*/
|
|
@@ -2347,7 +2357,7 @@ export interface LimitedUser {
|
|
|
2347
2357
|
*/
|
|
2348
2358
|
export interface LimitedWorld {
|
|
2349
2359
|
/**
|
|
2350
|
-
*
|
|
2360
|
+
* 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.
|
|
2351
2361
|
* @type {string}
|
|
2352
2362
|
* @memberof LimitedWorld
|
|
2353
2363
|
*/
|
|
@@ -2383,7 +2393,7 @@ export interface LimitedWorld {
|
|
|
2383
2393
|
*/
|
|
2384
2394
|
'heat': number;
|
|
2385
2395
|
/**
|
|
2386
|
-
*
|
|
2396
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
2387
2397
|
* @type {string}
|
|
2388
2398
|
* @memberof LimitedWorld
|
|
2389
2399
|
*/
|
|
@@ -2526,7 +2536,7 @@ export interface ModelFile {
|
|
|
2526
2536
|
*/
|
|
2527
2537
|
'name': string;
|
|
2528
2538
|
/**
|
|
2529
|
-
*
|
|
2539
|
+
* 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.
|
|
2530
2540
|
* @type {string}
|
|
2531
2541
|
* @memberof ModelFile
|
|
2532
2542
|
*/
|
|
@@ -2551,7 +2561,7 @@ export interface ModelFile {
|
|
|
2551
2561
|
*/
|
|
2552
2562
|
export interface ModerateUserRequest {
|
|
2553
2563
|
/**
|
|
2554
|
-
*
|
|
2564
|
+
* 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.
|
|
2555
2565
|
* @type {string}
|
|
2556
2566
|
* @memberof ModerateUserRequest
|
|
2557
2567
|
*/
|
|
@@ -2600,7 +2610,7 @@ export interface Notification {
|
|
|
2600
2610
|
*/
|
|
2601
2611
|
'seen': boolean;
|
|
2602
2612
|
/**
|
|
2603
|
-
*
|
|
2613
|
+
* 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.
|
|
2604
2614
|
* @type {string}
|
|
2605
2615
|
* @memberof Notification
|
|
2606
2616
|
*/
|
|
@@ -2669,7 +2679,7 @@ export interface Permission {
|
|
|
2669
2679
|
*/
|
|
2670
2680
|
'name': string;
|
|
2671
2681
|
/**
|
|
2672
|
-
*
|
|
2682
|
+
* 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.
|
|
2673
2683
|
* @type {string}
|
|
2674
2684
|
* @memberof Permission
|
|
2675
2685
|
*/
|
|
@@ -2706,7 +2716,7 @@ export interface PlayerModeration {
|
|
|
2706
2716
|
*/
|
|
2707
2717
|
'sourceDisplayName': string;
|
|
2708
2718
|
/**
|
|
2709
|
-
*
|
|
2719
|
+
* 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.
|
|
2710
2720
|
* @type {string}
|
|
2711
2721
|
* @memberof PlayerModeration
|
|
2712
2722
|
*/
|
|
@@ -2718,7 +2728,7 @@ export interface PlayerModeration {
|
|
|
2718
2728
|
*/
|
|
2719
2729
|
'targetDisplayName': string;
|
|
2720
2730
|
/**
|
|
2721
|
-
*
|
|
2731
|
+
* 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.
|
|
2722
2732
|
* @type {string}
|
|
2723
2733
|
* @memberof PlayerModeration
|
|
2724
2734
|
*/
|
|
@@ -2762,6 +2772,17 @@ export interface PublicAnnouncement {
|
|
|
2762
2772
|
*/
|
|
2763
2773
|
'text': string;
|
|
2764
2774
|
}
|
|
2775
|
+
/**
|
|
2776
|
+
* API/Photon region.
|
|
2777
|
+
* @export
|
|
2778
|
+
* @enum {string}
|
|
2779
|
+
*/
|
|
2780
|
+
export declare enum Region {
|
|
2781
|
+
Us = "us",
|
|
2782
|
+
Use = "use",
|
|
2783
|
+
Eu = "eu",
|
|
2784
|
+
Jp = "jp"
|
|
2785
|
+
}
|
|
2765
2786
|
/**
|
|
2766
2787
|
*
|
|
2767
2788
|
* @export
|
|
@@ -3367,7 +3388,7 @@ export interface UpdateWorldRequest {
|
|
|
3367
3388
|
*/
|
|
3368
3389
|
'assetVersion'?: string;
|
|
3369
3390
|
/**
|
|
3370
|
-
*
|
|
3391
|
+
* 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.
|
|
3371
3392
|
* @type {string}
|
|
3372
3393
|
* @memberof UpdateWorldRequest
|
|
3373
3394
|
*/
|
|
@@ -3482,7 +3503,7 @@ export interface User {
|
|
|
3482
3503
|
*/
|
|
3483
3504
|
'developerType': DeveloperType;
|
|
3484
3505
|
/**
|
|
3485
|
-
*
|
|
3506
|
+
* 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.
|
|
3486
3507
|
* @type {string}
|
|
3487
3508
|
* @memberof User
|
|
3488
3509
|
*/
|
|
@@ -3494,25 +3515,25 @@ export interface User {
|
|
|
3494
3515
|
*/
|
|
3495
3516
|
'friendKey': string;
|
|
3496
3517
|
/**
|
|
3497
|
-
*
|
|
3518
|
+
* 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.
|
|
3498
3519
|
* @type {string}
|
|
3499
3520
|
* @memberof User
|
|
3500
3521
|
*/
|
|
3501
3522
|
'id': string;
|
|
3502
3523
|
/**
|
|
3503
|
-
*
|
|
3524
|
+
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
3504
3525
|
* @type {string}
|
|
3505
3526
|
* @memberof User
|
|
3506
3527
|
*/
|
|
3507
3528
|
'instanceId'?: string;
|
|
3508
3529
|
/**
|
|
3509
|
-
*
|
|
3530
|
+
* Either their `friendKey`, or empty string if you are not friends. Unknown usage.
|
|
3510
3531
|
* @type {boolean}
|
|
3511
3532
|
* @memberof User
|
|
3512
3533
|
*/
|
|
3513
3534
|
'isFriend': boolean;
|
|
3514
3535
|
/**
|
|
3515
|
-
*
|
|
3536
|
+
* Either a date-time or empty string.
|
|
3516
3537
|
* @type {string}
|
|
3517
3538
|
* @memberof User
|
|
3518
3539
|
*/
|
|
@@ -3524,7 +3545,7 @@ export interface User {
|
|
|
3524
3545
|
*/
|
|
3525
3546
|
'last_platform': string;
|
|
3526
3547
|
/**
|
|
3527
|
-
*
|
|
3548
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3528
3549
|
* @type {string}
|
|
3529
3550
|
* @memberof User
|
|
3530
3551
|
*/
|
|
@@ -3566,13 +3587,13 @@ export interface User {
|
|
|
3566
3587
|
*/
|
|
3567
3588
|
'userIcon': string;
|
|
3568
3589
|
/**
|
|
3569
|
-
*
|
|
3590
|
+
* 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.
|
|
3570
3591
|
* @type {string}
|
|
3571
3592
|
* @memberof User
|
|
3572
3593
|
*/
|
|
3573
3594
|
'username': string;
|
|
3574
3595
|
/**
|
|
3575
|
-
*
|
|
3596
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3576
3597
|
* @type {string}
|
|
3577
3598
|
* @memberof User
|
|
3578
3599
|
*/
|
|
@@ -3761,7 +3782,7 @@ export interface World {
|
|
|
3761
3782
|
*/
|
|
3762
3783
|
'assetUrlObject': object;
|
|
3763
3784
|
/**
|
|
3764
|
-
*
|
|
3785
|
+
* 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.
|
|
3765
3786
|
* @type {string}
|
|
3766
3787
|
* @memberof World
|
|
3767
3788
|
*/
|
|
@@ -3809,7 +3830,7 @@ export interface World {
|
|
|
3809
3830
|
*/
|
|
3810
3831
|
'heat': number;
|
|
3811
3832
|
/**
|
|
3812
|
-
*
|
|
3833
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3813
3834
|
* @type {string}
|
|
3814
3835
|
* @memberof World
|
|
3815
3836
|
*/
|
|
@@ -3948,7 +3969,7 @@ export interface World {
|
|
|
3948
3969
|
*/
|
|
3949
3970
|
export interface WorldMetadata {
|
|
3950
3971
|
/**
|
|
3951
|
-
*
|
|
3972
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
3952
3973
|
* @type {string}
|
|
3953
3974
|
* @memberof WorldMetadata
|
|
3954
3975
|
*/
|
|
@@ -5758,7 +5779,7 @@ export declare class FriendsApi extends BaseAPI {
|
|
|
5758
5779
|
*/
|
|
5759
5780
|
export declare const InstancesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5760
5781
|
/**
|
|
5761
|
-
* Returns an instance.
|
|
5782
|
+
* 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\"!
|
|
5762
5783
|
* @summary Get Instance
|
|
5763
5784
|
* @param {string} worldId
|
|
5764
5785
|
* @param {string} instanceId
|
|
@@ -5791,7 +5812,7 @@ export declare const InstancesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5791
5812
|
*/
|
|
5792
5813
|
export declare const InstancesApiFp: (configuration?: Configuration) => {
|
|
5793
5814
|
/**
|
|
5794
|
-
* Returns an instance.
|
|
5815
|
+
* 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\"!
|
|
5795
5816
|
* @summary Get Instance
|
|
5796
5817
|
* @param {string} worldId
|
|
5797
5818
|
* @param {string} instanceId
|
|
@@ -5824,7 +5845,7 @@ export declare const InstancesApiFp: (configuration?: Configuration) => {
|
|
|
5824
5845
|
*/
|
|
5825
5846
|
export declare const InstancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5826
5847
|
/**
|
|
5827
|
-
* Returns an instance.
|
|
5848
|
+
* 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\"!
|
|
5828
5849
|
* @summary Get Instance
|
|
5829
5850
|
* @param {string} worldId
|
|
5830
5851
|
* @param {string} instanceId
|
|
@@ -5859,7 +5880,7 @@ export declare const InstancesApiFactory: (configuration?: Configuration, basePa
|
|
|
5859
5880
|
*/
|
|
5860
5881
|
export declare class InstancesApi extends BaseAPI {
|
|
5861
5882
|
/**
|
|
5862
|
-
* Returns an instance.
|
|
5883
|
+
* 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\"!
|
|
5863
5884
|
* @summary Get Instance
|
|
5864
5885
|
* @param {string} worldId
|
|
5865
5886
|
* @param {string} instanceId
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* VRChat API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.0
|
|
8
8
|
* Contact: me@ruby.js.org
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,7 +72,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75
|
-
exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.ReleaseStatus = exports.PlayerModerationType = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InfoPushDataClickableCommandEnum = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
|
|
75
|
+
exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.ReleaseStatus = exports.Region = exports.PlayerModerationType = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InstanceType = exports.InfoPushDataClickableCommandEnum = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
|
|
76
76
|
var axios_1 = require("axios");
|
|
77
77
|
// Some imports not used depending on template conditions
|
|
78
78
|
// @ts-ignore
|
|
@@ -162,6 +162,18 @@ var InfoPushDataClickableCommandEnum;
|
|
|
162
162
|
InfoPushDataClickableCommandEnum["OpenSafetyMenu"] = "OpenSafetyMenu";
|
|
163
163
|
InfoPushDataClickableCommandEnum["CannedWorldSearch"] = "CannedWorldSearch";
|
|
164
164
|
})(InfoPushDataClickableCommandEnum = exports.InfoPushDataClickableCommandEnum || (exports.InfoPushDataClickableCommandEnum = {}));
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @export
|
|
168
|
+
* @enum {string}
|
|
169
|
+
*/
|
|
170
|
+
var InstanceType;
|
|
171
|
+
(function (InstanceType) {
|
|
172
|
+
InstanceType["Public"] = "public";
|
|
173
|
+
InstanceType["Hidden"] = "hidden";
|
|
174
|
+
InstanceType["Friends"] = "friends";
|
|
175
|
+
InstanceType["Private"] = "private";
|
|
176
|
+
})(InstanceType = exports.InstanceType || (exports.InstanceType = {}));
|
|
165
177
|
/**
|
|
166
178
|
*
|
|
167
179
|
* @export
|
|
@@ -246,6 +258,18 @@ var PlayerModerationType;
|
|
|
246
258
|
PlayerModerationType["HideAvatar"] = "hideAvatar";
|
|
247
259
|
PlayerModerationType["ShowAvatar"] = "showAvatar";
|
|
248
260
|
})(PlayerModerationType = exports.PlayerModerationType || (exports.PlayerModerationType = {}));
|
|
261
|
+
/**
|
|
262
|
+
* API/Photon region.
|
|
263
|
+
* @export
|
|
264
|
+
* @enum {string}
|
|
265
|
+
*/
|
|
266
|
+
var Region;
|
|
267
|
+
(function (Region) {
|
|
268
|
+
Region["Us"] = "us";
|
|
269
|
+
Region["Use"] = "use";
|
|
270
|
+
Region["Eu"] = "eu";
|
|
271
|
+
Region["Jp"] = "jp";
|
|
272
|
+
})(Region = exports.Region || (exports.Region = {}));
|
|
249
273
|
/**
|
|
250
274
|
*
|
|
251
275
|
* @export
|
|
@@ -4216,7 +4240,7 @@ exports.InstancesApiAxiosParamCreator = function (configuration) {
|
|
|
4216
4240
|
var _this = this;
|
|
4217
4241
|
return {
|
|
4218
4242
|
/**
|
|
4219
|
-
* Returns an instance.
|
|
4243
|
+
* 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\"!
|
|
4220
4244
|
* @summary Get Instance
|
|
4221
4245
|
* @param {string} worldId
|
|
4222
4246
|
* @param {string} instanceId
|
|
@@ -4342,7 +4366,7 @@ exports.InstancesApiFp = function (configuration) {
|
|
|
4342
4366
|
var localVarAxiosParamCreator = exports.InstancesApiAxiosParamCreator(configuration);
|
|
4343
4367
|
return {
|
|
4344
4368
|
/**
|
|
4345
|
-
* Returns an instance.
|
|
4369
|
+
* 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\"!
|
|
4346
4370
|
* @summary Get Instance
|
|
4347
4371
|
* @param {string} worldId
|
|
4348
4372
|
* @param {string} instanceId
|
|
@@ -4414,7 +4438,7 @@ exports.InstancesApiFactory = function (configuration, basePath, axios) {
|
|
|
4414
4438
|
var localVarFp = exports.InstancesApiFp(configuration);
|
|
4415
4439
|
return {
|
|
4416
4440
|
/**
|
|
4417
|
-
* Returns an instance.
|
|
4441
|
+
* 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\"!
|
|
4418
4442
|
* @summary Get Instance
|
|
4419
4443
|
* @param {string} worldId
|
|
4420
4444
|
* @param {string} instanceId
|
|
@@ -4460,7 +4484,7 @@ var InstancesApi = /** @class */ (function (_super) {
|
|
|
4460
4484
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4461
4485
|
}
|
|
4462
4486
|
/**
|
|
4463
|
-
* Returns an instance.
|
|
4487
|
+
* 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\"!
|
|
4464
4488
|
* @summary Get Instance
|
|
4465
4489
|
* @param {string} worldId
|
|
4466
4490
|
* @param {string} instanceId
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED