vrchat 1.17.3 → 1.17.5
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/.github/workflows/ci.yaml +2 -2
- package/api.ts +372 -22
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +362 -20
- package/dist/api.js +29 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- 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
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
- name: Print version number
|
|
34
34
|
run: echo ${{ env.spec_version }}
|
|
35
35
|
- name: Deploy SDK back into main branch
|
|
36
|
-
uses: JamesIves/github-pages-deploy-action@
|
|
36
|
+
uses: JamesIves/github-pages-deploy-action@v4
|
|
37
37
|
with:
|
|
38
38
|
branch: main
|
|
39
39
|
folder: .
|
|
@@ -41,4 +41,4 @@ jobs:
|
|
|
41
41
|
- name: Upload to NPM
|
|
42
42
|
uses: JS-DevTools/npm-publish@v1
|
|
43
43
|
with:
|
|
44
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
44
|
+
token: ${{ secrets.NPM_TOKEN }}
|
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.17.
|
|
6
|
+
* The version of the OpenAPI document: 1.17.5
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -856,6 +856,61 @@ export interface AvatarUnityPackageUrlObject {
|
|
|
856
856
|
*/
|
|
857
857
|
'unityPackageUrl'?: string;
|
|
858
858
|
}
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @export
|
|
862
|
+
* @interface Badge
|
|
863
|
+
*/
|
|
864
|
+
export interface Badge {
|
|
865
|
+
/**
|
|
866
|
+
* only present in CurrentUser badges
|
|
867
|
+
* @type {string}
|
|
868
|
+
* @memberof Badge
|
|
869
|
+
*/
|
|
870
|
+
'assignedAt'?: string | null;
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {string}
|
|
874
|
+
* @memberof Badge
|
|
875
|
+
*/
|
|
876
|
+
'badgeDescription': string;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {string}
|
|
880
|
+
* @memberof Badge
|
|
881
|
+
*/
|
|
882
|
+
'badgeId': string;
|
|
883
|
+
/**
|
|
884
|
+
* direct url to image
|
|
885
|
+
* @type {string}
|
|
886
|
+
* @memberof Badge
|
|
887
|
+
*/
|
|
888
|
+
'badgeImageUrl': string;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof Badge
|
|
893
|
+
*/
|
|
894
|
+
'badgeName': string;
|
|
895
|
+
/**
|
|
896
|
+
* only present in CurrentUser badges
|
|
897
|
+
* @type {boolean}
|
|
898
|
+
* @memberof Badge
|
|
899
|
+
*/
|
|
900
|
+
'hidden'?: boolean | null;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {boolean}
|
|
904
|
+
* @memberof Badge
|
|
905
|
+
*/
|
|
906
|
+
'showcased': boolean;
|
|
907
|
+
/**
|
|
908
|
+
* only present in CurrentUser badges
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof Badge
|
|
911
|
+
*/
|
|
912
|
+
'updatedAt'?: string | null;
|
|
913
|
+
}
|
|
859
914
|
/**
|
|
860
915
|
*
|
|
861
916
|
* @export
|
|
@@ -1252,10 +1307,10 @@ export interface CreateInstanceRequest {
|
|
|
1252
1307
|
'type': InstanceType;
|
|
1253
1308
|
/**
|
|
1254
1309
|
*
|
|
1255
|
-
* @type {
|
|
1310
|
+
* @type {InstanceRegion}
|
|
1256
1311
|
* @memberof CreateInstanceRequest
|
|
1257
1312
|
*/
|
|
1258
|
-
'region':
|
|
1313
|
+
'region': InstanceRegion;
|
|
1259
1314
|
/**
|
|
1260
1315
|
* A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise
|
|
1261
1316
|
* @type {string}
|
|
@@ -1281,11 +1336,29 @@ export interface CreateInstanceRequest {
|
|
|
1281
1336
|
*/
|
|
1282
1337
|
'queueEnabled'?: boolean;
|
|
1283
1338
|
/**
|
|
1284
|
-
* The time after which users won\'t be allowed to join the instance
|
|
1339
|
+
* The time after which users won\'t be allowed to join the instance. This doesn\'t work for public instances.
|
|
1285
1340
|
* @type {string}
|
|
1286
1341
|
* @memberof CreateInstanceRequest
|
|
1287
1342
|
*/
|
|
1288
1343
|
'closedAt'?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Only applies to invite type instances to make them invite+
|
|
1346
|
+
* @type {boolean}
|
|
1347
|
+
* @memberof CreateInstanceRequest
|
|
1348
|
+
*/
|
|
1349
|
+
'canRequestInvite'?: boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* Currently unused, but will eventually be a flag to set if the closing of the instance should kick people.
|
|
1352
|
+
* @type {boolean}
|
|
1353
|
+
* @memberof CreateInstanceRequest
|
|
1354
|
+
*/
|
|
1355
|
+
'hardClose'?: boolean;
|
|
1356
|
+
/**
|
|
1357
|
+
*
|
|
1358
|
+
* @type {boolean}
|
|
1359
|
+
* @memberof CreateInstanceRequest
|
|
1360
|
+
*/
|
|
1361
|
+
'inviteOnly'?: boolean;
|
|
1289
1362
|
}
|
|
1290
1363
|
/**
|
|
1291
1364
|
*
|
|
@@ -1420,6 +1493,12 @@ export interface CurrentUser {
|
|
|
1420
1493
|
* @memberof CurrentUser
|
|
1421
1494
|
*/
|
|
1422
1495
|
'allowAvatarCopying': boolean;
|
|
1496
|
+
/**
|
|
1497
|
+
*
|
|
1498
|
+
* @type {Array<Badge>}
|
|
1499
|
+
* @memberof CurrentUser
|
|
1500
|
+
*/
|
|
1501
|
+
'badges'?: Array<Badge>;
|
|
1423
1502
|
/**
|
|
1424
1503
|
*
|
|
1425
1504
|
* @type {string}
|
|
@@ -1461,7 +1540,7 @@ export interface CurrentUser {
|
|
|
1461
1540
|
* @type {Array<string>}
|
|
1462
1541
|
* @memberof CurrentUser
|
|
1463
1542
|
*/
|
|
1464
|
-
'currentAvatarTags'
|
|
1543
|
+
'currentAvatarTags': Array<string>;
|
|
1465
1544
|
/**
|
|
1466
1545
|
*
|
|
1467
1546
|
* @type {string}
|
|
@@ -1583,6 +1662,12 @@ export interface CurrentUser {
|
|
|
1583
1662
|
* @memberof CurrentUser
|
|
1584
1663
|
*/
|
|
1585
1664
|
'last_login': string;
|
|
1665
|
+
/**
|
|
1666
|
+
*
|
|
1667
|
+
* @type {string}
|
|
1668
|
+
* @memberof CurrentUser
|
|
1669
|
+
*/
|
|
1670
|
+
'last_mobile': string | null;
|
|
1586
1671
|
/**
|
|
1587
1672
|
* This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`.
|
|
1588
1673
|
* @type {string}
|
|
@@ -1613,6 +1698,12 @@ export interface CurrentUser {
|
|
|
1613
1698
|
* @memberof CurrentUser
|
|
1614
1699
|
*/
|
|
1615
1700
|
'googleId'?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
*
|
|
1703
|
+
* @type {object}
|
|
1704
|
+
* @memberof CurrentUser
|
|
1705
|
+
*/
|
|
1706
|
+
'googleDetails'?: object;
|
|
1616
1707
|
/**
|
|
1617
1708
|
*
|
|
1618
1709
|
* @type {string}
|
|
@@ -1655,6 +1746,12 @@ export interface CurrentUser {
|
|
|
1655
1746
|
* @memberof CurrentUser
|
|
1656
1747
|
*/
|
|
1657
1748
|
'profilePicOverride': string;
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof CurrentUser
|
|
1753
|
+
*/
|
|
1754
|
+
'pronouns': string;
|
|
1658
1755
|
/**
|
|
1659
1756
|
*
|
|
1660
1757
|
* @type {UserState}
|
|
@@ -2426,7 +2523,7 @@ export interface Group {
|
|
|
2426
2523
|
export const GroupAccessType = {
|
|
2427
2524
|
Public: 'public',
|
|
2428
2525
|
Plus: 'plus',
|
|
2429
|
-
|
|
2526
|
+
Members: 'members'
|
|
2430
2527
|
} as const;
|
|
2431
2528
|
|
|
2432
2529
|
export type GroupAccessType = typeof GroupAccessType[keyof typeof GroupAccessType];
|
|
@@ -3656,10 +3753,10 @@ export interface Instance {
|
|
|
3656
3753
|
'platforms': InstancePlatforms;
|
|
3657
3754
|
/**
|
|
3658
3755
|
*
|
|
3659
|
-
* @type {
|
|
3756
|
+
* @type {InstanceRegion}
|
|
3660
3757
|
* @memberof Instance
|
|
3661
3758
|
*/
|
|
3662
|
-
'region':
|
|
3759
|
+
'region': InstanceRegion;
|
|
3663
3760
|
/**
|
|
3664
3761
|
*
|
|
3665
3762
|
* @type {string}
|
|
@@ -3806,6 +3903,22 @@ export interface InstancePlatforms {
|
|
|
3806
3903
|
*/
|
|
3807
3904
|
'standalonewindows': number;
|
|
3808
3905
|
}
|
|
3906
|
+
/**
|
|
3907
|
+
* Instance region
|
|
3908
|
+
* @export
|
|
3909
|
+
* @enum {string}
|
|
3910
|
+
*/
|
|
3911
|
+
|
|
3912
|
+
export const InstanceRegion = {
|
|
3913
|
+
Us: 'us',
|
|
3914
|
+
Use: 'use',
|
|
3915
|
+
Eu: 'eu',
|
|
3916
|
+
Jp: 'jp'
|
|
3917
|
+
} as const;
|
|
3918
|
+
|
|
3919
|
+
export type InstanceRegion = typeof InstanceRegion[keyof typeof InstanceRegion];
|
|
3920
|
+
|
|
3921
|
+
|
|
3809
3922
|
/**
|
|
3810
3923
|
*
|
|
3811
3924
|
* @export
|
|
@@ -4171,6 +4284,12 @@ export interface LimitedUser {
|
|
|
4171
4284
|
* @memberof LimitedUser
|
|
4172
4285
|
*/
|
|
4173
4286
|
'bio'?: string;
|
|
4287
|
+
/**
|
|
4288
|
+
*
|
|
4289
|
+
* @type {Array<string>}
|
|
4290
|
+
* @memberof LimitedUser
|
|
4291
|
+
*/
|
|
4292
|
+
'bioLinks'?: Array<string>;
|
|
4174
4293
|
/**
|
|
4175
4294
|
* When profilePicOverride is not empty, use it instead.
|
|
4176
4295
|
* @type {string}
|
|
@@ -4183,6 +4302,12 @@ export interface LimitedUser {
|
|
|
4183
4302
|
* @memberof LimitedUser
|
|
4184
4303
|
*/
|
|
4185
4304
|
'currentAvatarThumbnailImageUrl'?: string;
|
|
4305
|
+
/**
|
|
4306
|
+
*
|
|
4307
|
+
* @type {Array<string>}
|
|
4308
|
+
* @memberof LimitedUser
|
|
4309
|
+
*/
|
|
4310
|
+
'currentAvatarTags'?: Array<string>;
|
|
4186
4311
|
/**
|
|
4187
4312
|
*
|
|
4188
4313
|
* @type {DeveloperType}
|
|
@@ -4225,6 +4350,12 @@ export interface LimitedUser {
|
|
|
4225
4350
|
* @memberof LimitedUser
|
|
4226
4351
|
*/
|
|
4227
4352
|
'profilePicOverride'?: string;
|
|
4353
|
+
/**
|
|
4354
|
+
*
|
|
4355
|
+
* @type {string}
|
|
4356
|
+
* @memberof LimitedUser
|
|
4357
|
+
*/
|
|
4358
|
+
'pronouns'?: string;
|
|
4228
4359
|
/**
|
|
4229
4360
|
*
|
|
4230
4361
|
* @type {UserStatus}
|
|
@@ -4269,6 +4400,121 @@ export interface LimitedUser {
|
|
|
4269
4400
|
*/
|
|
4270
4401
|
'friendKey'?: string;
|
|
4271
4402
|
}
|
|
4403
|
+
/**
|
|
4404
|
+
*
|
|
4405
|
+
* @export
|
|
4406
|
+
* @interface LimitedUserGroups
|
|
4407
|
+
*/
|
|
4408
|
+
export interface LimitedUserGroups {
|
|
4409
|
+
/**
|
|
4410
|
+
*
|
|
4411
|
+
* @type {string}
|
|
4412
|
+
* @memberof LimitedUserGroups
|
|
4413
|
+
*/
|
|
4414
|
+
'id'?: string;
|
|
4415
|
+
/**
|
|
4416
|
+
*
|
|
4417
|
+
* @type {string}
|
|
4418
|
+
* @memberof LimitedUserGroups
|
|
4419
|
+
*/
|
|
4420
|
+
'name'?: string;
|
|
4421
|
+
/**
|
|
4422
|
+
*
|
|
4423
|
+
* @type {string}
|
|
4424
|
+
* @memberof LimitedUserGroups
|
|
4425
|
+
*/
|
|
4426
|
+
'shortCode'?: string;
|
|
4427
|
+
/**
|
|
4428
|
+
*
|
|
4429
|
+
* @type {string}
|
|
4430
|
+
* @memberof LimitedUserGroups
|
|
4431
|
+
*/
|
|
4432
|
+
'discriminator'?: string;
|
|
4433
|
+
/**
|
|
4434
|
+
*
|
|
4435
|
+
* @type {string}
|
|
4436
|
+
* @memberof LimitedUserGroups
|
|
4437
|
+
*/
|
|
4438
|
+
'description'?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
*
|
|
4441
|
+
* @type {string}
|
|
4442
|
+
* @memberof LimitedUserGroups
|
|
4443
|
+
*/
|
|
4444
|
+
'iconId'?: string | null;
|
|
4445
|
+
/**
|
|
4446
|
+
*
|
|
4447
|
+
* @type {string}
|
|
4448
|
+
* @memberof LimitedUserGroups
|
|
4449
|
+
*/
|
|
4450
|
+
'iconUrl'?: string | null;
|
|
4451
|
+
/**
|
|
4452
|
+
*
|
|
4453
|
+
* @type {string}
|
|
4454
|
+
* @memberof LimitedUserGroups
|
|
4455
|
+
*/
|
|
4456
|
+
'bannerId'?: string | null;
|
|
4457
|
+
/**
|
|
4458
|
+
*
|
|
4459
|
+
* @type {string}
|
|
4460
|
+
* @memberof LimitedUserGroups
|
|
4461
|
+
*/
|
|
4462
|
+
'bannerUrl'?: string | null;
|
|
4463
|
+
/**
|
|
4464
|
+
*
|
|
4465
|
+
* @type {string}
|
|
4466
|
+
* @memberof LimitedUserGroups
|
|
4467
|
+
*/
|
|
4468
|
+
'privacy'?: string;
|
|
4469
|
+
/**
|
|
4470
|
+
*
|
|
4471
|
+
* @type {string}
|
|
4472
|
+
* @memberof LimitedUserGroups
|
|
4473
|
+
*/
|
|
4474
|
+
'lastPostCreatedAt'?: string | null;
|
|
4475
|
+
/**
|
|
4476
|
+
* 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.
|
|
4477
|
+
* @type {string}
|
|
4478
|
+
* @memberof LimitedUserGroups
|
|
4479
|
+
*/
|
|
4480
|
+
'ownerId'?: string;
|
|
4481
|
+
/**
|
|
4482
|
+
*
|
|
4483
|
+
* @type {number}
|
|
4484
|
+
* @memberof LimitedUserGroups
|
|
4485
|
+
*/
|
|
4486
|
+
'memberCount'?: number;
|
|
4487
|
+
/**
|
|
4488
|
+
*
|
|
4489
|
+
* @type {string}
|
|
4490
|
+
* @memberof LimitedUserGroups
|
|
4491
|
+
*/
|
|
4492
|
+
'groupId'?: string;
|
|
4493
|
+
/**
|
|
4494
|
+
*
|
|
4495
|
+
* @type {string}
|
|
4496
|
+
* @memberof LimitedUserGroups
|
|
4497
|
+
*/
|
|
4498
|
+
'memberVisibility'?: string;
|
|
4499
|
+
/**
|
|
4500
|
+
*
|
|
4501
|
+
* @type {boolean}
|
|
4502
|
+
* @memberof LimitedUserGroups
|
|
4503
|
+
*/
|
|
4504
|
+
'isRepresenting'?: boolean;
|
|
4505
|
+
/**
|
|
4506
|
+
*
|
|
4507
|
+
* @type {boolean}
|
|
4508
|
+
* @memberof LimitedUserGroups
|
|
4509
|
+
*/
|
|
4510
|
+
'mutualGroup'?: boolean;
|
|
4511
|
+
/**
|
|
4512
|
+
*
|
|
4513
|
+
* @type {string}
|
|
4514
|
+
* @memberof LimitedUserGroups
|
|
4515
|
+
*/
|
|
4516
|
+
'lastPostReadAt'?: string | null;
|
|
4517
|
+
}
|
|
4272
4518
|
/**
|
|
4273
4519
|
*
|
|
4274
4520
|
* @export
|
|
@@ -4311,6 +4557,12 @@ export interface LimitedWorld {
|
|
|
4311
4557
|
* @memberof LimitedWorld
|
|
4312
4558
|
*/
|
|
4313
4559
|
'favorites': number;
|
|
4560
|
+
/**
|
|
4561
|
+
*
|
|
4562
|
+
* @type {number}
|
|
4563
|
+
* @memberof LimitedWorld
|
|
4564
|
+
*/
|
|
4565
|
+
'visits'?: number;
|
|
4314
4566
|
/**
|
|
4315
4567
|
*
|
|
4316
4568
|
* @type {number}
|
|
@@ -4359,6 +4611,12 @@ export interface LimitedWorld {
|
|
|
4359
4611
|
* @memberof LimitedWorld
|
|
4360
4612
|
*/
|
|
4361
4613
|
'popularity': number;
|
|
4614
|
+
/**
|
|
4615
|
+
*
|
|
4616
|
+
* @type {string}
|
|
4617
|
+
* @memberof LimitedWorld
|
|
4618
|
+
*/
|
|
4619
|
+
'previewYoutubeId'?: string | null;
|
|
4362
4620
|
/**
|
|
4363
4621
|
*
|
|
4364
4622
|
* @type {string}
|
|
@@ -4997,6 +5255,12 @@ export interface RespondGroupJoinRequest {
|
|
|
4997
5255
|
* @memberof RespondGroupJoinRequest
|
|
4998
5256
|
*/
|
|
4999
5257
|
'action': GroupJoinRequestAction;
|
|
5258
|
+
/**
|
|
5259
|
+
* Whether to block the user from requesting again
|
|
5260
|
+
* @type {boolean}
|
|
5261
|
+
* @memberof RespondGroupJoinRequest
|
|
5262
|
+
*/
|
|
5263
|
+
'block'?: boolean;
|
|
5000
5264
|
}
|
|
5001
5265
|
/**
|
|
5002
5266
|
*
|
|
@@ -5030,11 +5294,11 @@ export interface SentNotification {
|
|
|
5030
5294
|
*/
|
|
5031
5295
|
'created_at': string;
|
|
5032
5296
|
/**
|
|
5033
|
-
*
|
|
5034
|
-
* @type {
|
|
5297
|
+
*
|
|
5298
|
+
* @type {object}
|
|
5035
5299
|
* @memberof SentNotification
|
|
5036
5300
|
*/
|
|
5037
|
-
'details':
|
|
5301
|
+
'details': object;
|
|
5038
5302
|
/**
|
|
5039
5303
|
*
|
|
5040
5304
|
* @type {string}
|
|
@@ -5052,7 +5316,7 @@ export interface SentNotification {
|
|
|
5052
5316
|
* @type {string}
|
|
5053
5317
|
* @memberof SentNotification
|
|
5054
5318
|
*/
|
|
5055
|
-
'
|
|
5319
|
+
'receiverUserId': string;
|
|
5056
5320
|
/**
|
|
5057
5321
|
* 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.
|
|
5058
5322
|
* @type {string}
|
|
@@ -5121,6 +5385,30 @@ export interface Subscription {
|
|
|
5121
5385
|
* @memberof Subscription
|
|
5122
5386
|
*/
|
|
5123
5387
|
'steamItemId': string;
|
|
5388
|
+
/**
|
|
5389
|
+
*
|
|
5390
|
+
* @type {string}
|
|
5391
|
+
* @memberof Subscription
|
|
5392
|
+
*/
|
|
5393
|
+
'oculusSku'?: string;
|
|
5394
|
+
/**
|
|
5395
|
+
*
|
|
5396
|
+
* @type {string}
|
|
5397
|
+
* @memberof Subscription
|
|
5398
|
+
*/
|
|
5399
|
+
'googleProductId'?: string;
|
|
5400
|
+
/**
|
|
5401
|
+
*
|
|
5402
|
+
* @type {string}
|
|
5403
|
+
* @memberof Subscription
|
|
5404
|
+
*/
|
|
5405
|
+
'googlePlanId'?: string;
|
|
5406
|
+
/**
|
|
5407
|
+
*
|
|
5408
|
+
* @type {string}
|
|
5409
|
+
* @memberof Subscription
|
|
5410
|
+
*/
|
|
5411
|
+
'picoSku'?: string;
|
|
5124
5412
|
/**
|
|
5125
5413
|
*
|
|
5126
5414
|
* @type {number}
|
|
@@ -5188,6 +5476,18 @@ export interface Transaction {
|
|
|
5188
5476
|
* @memberof Transaction
|
|
5189
5477
|
*/
|
|
5190
5478
|
'id': string;
|
|
5479
|
+
/**
|
|
5480
|
+
* 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.
|
|
5481
|
+
* @type {string}
|
|
5482
|
+
* @memberof Transaction
|
|
5483
|
+
*/
|
|
5484
|
+
'userId'?: string;
|
|
5485
|
+
/**
|
|
5486
|
+
*
|
|
5487
|
+
* @type {string}
|
|
5488
|
+
* @memberof Transaction
|
|
5489
|
+
*/
|
|
5490
|
+
'userDisplayName'?: string;
|
|
5191
5491
|
/**
|
|
5192
5492
|
*
|
|
5193
5493
|
* @type {TransactionStatus}
|
|
@@ -5236,6 +5536,18 @@ export interface Transaction {
|
|
|
5236
5536
|
* @memberof Transaction
|
|
5237
5537
|
*/
|
|
5238
5538
|
'error': string;
|
|
5539
|
+
/**
|
|
5540
|
+
*
|
|
5541
|
+
* @type {boolean}
|
|
5542
|
+
* @memberof Transaction
|
|
5543
|
+
*/
|
|
5544
|
+
'isGift'?: boolean;
|
|
5545
|
+
/**
|
|
5546
|
+
*
|
|
5547
|
+
* @type {boolean}
|
|
5548
|
+
* @memberof Transaction
|
|
5549
|
+
*/
|
|
5550
|
+
'isTokens'?: boolean;
|
|
5239
5551
|
}
|
|
5240
5552
|
/**
|
|
5241
5553
|
*
|
|
@@ -5534,6 +5846,12 @@ export interface UnityPackage {
|
|
|
5534
5846
|
* @memberof UnityPackage
|
|
5535
5847
|
*/
|
|
5536
5848
|
'scanStatus'?: string;
|
|
5849
|
+
/**
|
|
5850
|
+
*
|
|
5851
|
+
* @type {string}
|
|
5852
|
+
* @memberof UnityPackage
|
|
5853
|
+
*/
|
|
5854
|
+
'variant'?: string;
|
|
5537
5855
|
}
|
|
5538
5856
|
/**
|
|
5539
5857
|
*
|
|
@@ -5872,6 +6190,12 @@ export interface UpdateUserRequest {
|
|
|
5872
6190
|
* @memberof UpdateUserRequest
|
|
5873
6191
|
*/
|
|
5874
6192
|
'bioLinks'?: Array<string>;
|
|
6193
|
+
/**
|
|
6194
|
+
*
|
|
6195
|
+
* @type {string}
|
|
6196
|
+
* @memberof UpdateUserRequest
|
|
6197
|
+
*/
|
|
6198
|
+
'pronouns'?: string;
|
|
5875
6199
|
/**
|
|
5876
6200
|
* MUST be a valid VRChat /file/ url.
|
|
5877
6201
|
* @type {string}
|
|
@@ -5976,6 +6300,12 @@ export interface User {
|
|
|
5976
6300
|
* @memberof User
|
|
5977
6301
|
*/
|
|
5978
6302
|
'allowAvatarCopying': boolean;
|
|
6303
|
+
/**
|
|
6304
|
+
*
|
|
6305
|
+
* @type {Array<Badge>}
|
|
6306
|
+
* @memberof User
|
|
6307
|
+
*/
|
|
6308
|
+
'badges'?: Array<Badge>;
|
|
5979
6309
|
/**
|
|
5980
6310
|
*
|
|
5981
6311
|
* @type {string}
|
|
@@ -6000,6 +6330,12 @@ export interface User {
|
|
|
6000
6330
|
* @memberof User
|
|
6001
6331
|
*/
|
|
6002
6332
|
'currentAvatarThumbnailImageUrl': string;
|
|
6333
|
+
/**
|
|
6334
|
+
*
|
|
6335
|
+
* @type {Array<string>}
|
|
6336
|
+
* @memberof User
|
|
6337
|
+
*/
|
|
6338
|
+
'currentAvatarTags': Array<string>;
|
|
6003
6339
|
/**
|
|
6004
6340
|
*
|
|
6005
6341
|
* @type {string}
|
|
@@ -6084,6 +6420,12 @@ export interface User {
|
|
|
6084
6420
|
* @memberof User
|
|
6085
6421
|
*/
|
|
6086
6422
|
'profilePicOverride': string;
|
|
6423
|
+
/**
|
|
6424
|
+
*
|
|
6425
|
+
* @type {string}
|
|
6426
|
+
* @memberof User
|
|
6427
|
+
*/
|
|
6428
|
+
'pronouns': string;
|
|
6087
6429
|
/**
|
|
6088
6430
|
*
|
|
6089
6431
|
* @type {UserState}
|
|
@@ -6550,7 +6892,7 @@ export interface WorldPublishStatus {
|
|
|
6550
6892
|
* @type {boolean}
|
|
6551
6893
|
* @memberof WorldPublishStatus
|
|
6552
6894
|
*/
|
|
6553
|
-
'
|
|
6895
|
+
'canPublish': boolean;
|
|
6554
6896
|
}
|
|
6555
6897
|
|
|
6556
6898
|
/**
|
|
@@ -11497,10 +11839,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11497
11839
|
* @param {string} groupId Must be a valid group ID.
|
|
11498
11840
|
* @param {number} [n] The number of objects to return.
|
|
11499
11841
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
11842
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
11500
11843
|
* @param {*} [options] Override http request option.
|
|
11501
11844
|
* @throws {RequiredError}
|
|
11502
11845
|
*/
|
|
11503
|
-
getGroupRequests: async (groupId: string, n?: number, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11846
|
+
getGroupRequests: async (groupId: string, n?: number, offset?: number, blocked?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11504
11847
|
// verify required parameter 'groupId' is not null or undefined
|
|
11505
11848
|
assertParamExists('getGroupRequests', 'groupId', groupId)
|
|
11506
11849
|
const localVarPath = `/groups/{groupId}/requests`
|
|
@@ -11526,6 +11869,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11526
11869
|
localVarQueryParameter['offset'] = offset;
|
|
11527
11870
|
}
|
|
11528
11871
|
|
|
11872
|
+
if (blocked !== undefined) {
|
|
11873
|
+
localVarQueryParameter['blocked'] = blocked;
|
|
11874
|
+
}
|
|
11875
|
+
|
|
11529
11876
|
|
|
11530
11877
|
|
|
11531
11878
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12438,11 +12785,12 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
12438
12785
|
* @param {string} groupId Must be a valid group ID.
|
|
12439
12786
|
* @param {number} [n] The number of objects to return.
|
|
12440
12787
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
12788
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
12441
12789
|
* @param {*} [options] Override http request option.
|
|
12442
12790
|
* @throws {RequiredError}
|
|
12443
12791
|
*/
|
|
12444
|
-
async getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
|
|
12445
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options);
|
|
12792
|
+
async getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
|
|
12793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, blocked, options);
|
|
12446
12794
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12447
12795
|
},
|
|
12448
12796
|
/**
|
|
@@ -12937,11 +13285,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
12937
13285
|
* @param {string} groupId Must be a valid group ID.
|
|
12938
13286
|
* @param {number} [n] The number of objects to return.
|
|
12939
13287
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
13288
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
12940
13289
|
* @param {*} [options] Override http request option.
|
|
12941
13290
|
* @throws {RequiredError}
|
|
12942
13291
|
*/
|
|
12943
|
-
getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
|
|
12944
|
-
return localVarFp.getGroupRequests(groupId, n, offset, options).then((request) => request(axios, basePath));
|
|
13292
|
+
getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: any): AxiosPromise<Array<GroupMember>> {
|
|
13293
|
+
return localVarFp.getGroupRequests(groupId, n, offset, blocked, options).then((request) => request(axios, basePath));
|
|
12945
13294
|
},
|
|
12946
13295
|
/**
|
|
12947
13296
|
* Returns a Group Role by ID.
|
|
@@ -13478,12 +13827,13 @@ export class GroupsApi extends BaseAPI {
|
|
|
13478
13827
|
* @param {string} groupId Must be a valid group ID.
|
|
13479
13828
|
* @param {number} [n] The number of objects to return.
|
|
13480
13829
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
13830
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
13481
13831
|
* @param {*} [options] Override http request option.
|
|
13482
13832
|
* @throws {RequiredError}
|
|
13483
13833
|
* @memberof GroupsApi
|
|
13484
13834
|
*/
|
|
13485
|
-
public getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) {
|
|
13486
|
-
return GroupsApiFp(this.configuration).getGroupRequests(groupId, n, offset, options).then((request) => request(this.axios, this.basePath));
|
|
13835
|
+
public getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: AxiosRequestConfig) {
|
|
13836
|
+
return GroupsApiFp(this.configuration).getGroupRequests(groupId, n, offset, blocked, options).then((request) => request(this.axios, this.basePath));
|
|
13487
13837
|
}
|
|
13488
13838
|
|
|
13489
13839
|
/**
|
|
@@ -16723,7 +17073,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
16723
17073
|
* @param {*} [options] Override http request option.
|
|
16724
17074
|
* @throws {RequiredError}
|
|
16725
17075
|
*/
|
|
16726
|
-
async getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
17076
|
+
async getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedUserGroups>>> {
|
|
16727
17077
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
|
|
16728
17078
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16729
17079
|
},
|
|
@@ -16812,7 +17162,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
16812
17162
|
* @param {*} [options] Override http request option.
|
|
16813
17163
|
* @throws {RequiredError}
|
|
16814
17164
|
*/
|
|
16815
|
-
getUserGroups(userId: string, options?: any): AxiosPromise<Array<
|
|
17165
|
+
getUserGroups(userId: string, options?: any): AxiosPromise<Array<LimitedUserGroups>> {
|
|
16816
17166
|
return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
|
|
16817
17167
|
},
|
|
16818
17168
|
/**
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* VRChat API Documentation
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.17.
|
|
6
|
+
* The version of the OpenAPI document: 1.17.5
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,7 @@ import { Configuration } from "./configuration";
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
19
19
|
|
|
20
|
-
export const BASE_PATH = "https://
|
|
20
|
+
export const BASE_PATH = "https://vrchat.com/api/1".replace(/\/+$/, "");
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* VRChat API Documentation
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.17.
|
|
6
|
+
* The version of the OpenAPI document: 1.17.5
|
|
7
7
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|