vrchat 1.17.2 → 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 +702 -30
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +601 -25
- package/dist/api.js +217 -22
- 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
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
|
|
@@ -1232,6 +1287,79 @@ export interface CreateGroupRoleRequest {
|
|
|
1232
1287
|
*/
|
|
1233
1288
|
'permissions'?: Array<string>;
|
|
1234
1289
|
}
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @export
|
|
1293
|
+
* @interface CreateInstanceRequest
|
|
1294
|
+
*/
|
|
1295
|
+
export interface CreateInstanceRequest {
|
|
1296
|
+
/**
|
|
1297
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
1298
|
+
* @type {string}
|
|
1299
|
+
* @memberof CreateInstanceRequest
|
|
1300
|
+
*/
|
|
1301
|
+
'worldId': string;
|
|
1302
|
+
/**
|
|
1303
|
+
*
|
|
1304
|
+
* @type {InstanceType}
|
|
1305
|
+
* @memberof CreateInstanceRequest
|
|
1306
|
+
*/
|
|
1307
|
+
'type': InstanceType;
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @type {InstanceRegion}
|
|
1311
|
+
* @memberof CreateInstanceRequest
|
|
1312
|
+
*/
|
|
1313
|
+
'region': InstanceRegion;
|
|
1314
|
+
/**
|
|
1315
|
+
* A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise
|
|
1316
|
+
* @type {string}
|
|
1317
|
+
* @memberof CreateInstanceRequest
|
|
1318
|
+
*/
|
|
1319
|
+
'ownerId'?: string | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\"
|
|
1322
|
+
* @type {Array<string>}
|
|
1323
|
+
* @memberof CreateInstanceRequest
|
|
1324
|
+
*/
|
|
1325
|
+
'roleIds'?: Array<string>;
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @type {GroupAccessType}
|
|
1329
|
+
* @memberof CreateInstanceRequest
|
|
1330
|
+
*/
|
|
1331
|
+
'groupAccessType'?: GroupAccessType;
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {boolean}
|
|
1335
|
+
* @memberof CreateInstanceRequest
|
|
1336
|
+
*/
|
|
1337
|
+
'queueEnabled'?: boolean;
|
|
1338
|
+
/**
|
|
1339
|
+
* The time after which users won\'t be allowed to join the instance. This doesn\'t work for public instances.
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof CreateInstanceRequest
|
|
1342
|
+
*/
|
|
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;
|
|
1362
|
+
}
|
|
1235
1363
|
/**
|
|
1236
1364
|
*
|
|
1237
1365
|
* @export
|
|
@@ -1365,6 +1493,12 @@ export interface CurrentUser {
|
|
|
1365
1493
|
* @memberof CurrentUser
|
|
1366
1494
|
*/
|
|
1367
1495
|
'allowAvatarCopying': boolean;
|
|
1496
|
+
/**
|
|
1497
|
+
*
|
|
1498
|
+
* @type {Array<Badge>}
|
|
1499
|
+
* @memberof CurrentUser
|
|
1500
|
+
*/
|
|
1501
|
+
'badges'?: Array<Badge>;
|
|
1368
1502
|
/**
|
|
1369
1503
|
*
|
|
1370
1504
|
* @type {string}
|
|
@@ -1406,7 +1540,7 @@ export interface CurrentUser {
|
|
|
1406
1540
|
* @type {Array<string>}
|
|
1407
1541
|
* @memberof CurrentUser
|
|
1408
1542
|
*/
|
|
1409
|
-
'currentAvatarTags'
|
|
1543
|
+
'currentAvatarTags': Array<string>;
|
|
1410
1544
|
/**
|
|
1411
1545
|
*
|
|
1412
1546
|
* @type {string}
|
|
@@ -1528,6 +1662,12 @@ export interface CurrentUser {
|
|
|
1528
1662
|
* @memberof CurrentUser
|
|
1529
1663
|
*/
|
|
1530
1664
|
'last_login': string;
|
|
1665
|
+
/**
|
|
1666
|
+
*
|
|
1667
|
+
* @type {string}
|
|
1668
|
+
* @memberof CurrentUser
|
|
1669
|
+
*/
|
|
1670
|
+
'last_mobile': string | null;
|
|
1531
1671
|
/**
|
|
1532
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`.
|
|
1533
1673
|
* @type {string}
|
|
@@ -1558,6 +1698,12 @@ export interface CurrentUser {
|
|
|
1558
1698
|
* @memberof CurrentUser
|
|
1559
1699
|
*/
|
|
1560
1700
|
'googleId'?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
*
|
|
1703
|
+
* @type {object}
|
|
1704
|
+
* @memberof CurrentUser
|
|
1705
|
+
*/
|
|
1706
|
+
'googleDetails'?: object;
|
|
1561
1707
|
/**
|
|
1562
1708
|
*
|
|
1563
1709
|
* @type {string}
|
|
@@ -1600,6 +1746,12 @@ export interface CurrentUser {
|
|
|
1600
1746
|
* @memberof CurrentUser
|
|
1601
1747
|
*/
|
|
1602
1748
|
'profilePicOverride': string;
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof CurrentUser
|
|
1753
|
+
*/
|
|
1754
|
+
'pronouns': string;
|
|
1603
1755
|
/**
|
|
1604
1756
|
*
|
|
1605
1757
|
* @type {UserState}
|
|
@@ -2371,7 +2523,7 @@ export interface Group {
|
|
|
2371
2523
|
export const GroupAccessType = {
|
|
2372
2524
|
Public: 'public',
|
|
2373
2525
|
Plus: 'plus',
|
|
2374
|
-
|
|
2526
|
+
Members: 'members'
|
|
2375
2527
|
} as const;
|
|
2376
2528
|
|
|
2377
2529
|
export type GroupAccessType = typeof GroupAccessType[keyof typeof GroupAccessType];
|
|
@@ -3601,10 +3753,10 @@ export interface Instance {
|
|
|
3601
3753
|
'platforms': InstancePlatforms;
|
|
3602
3754
|
/**
|
|
3603
3755
|
*
|
|
3604
|
-
* @type {
|
|
3756
|
+
* @type {InstanceRegion}
|
|
3605
3757
|
* @memberof Instance
|
|
3606
3758
|
*/
|
|
3607
|
-
'region':
|
|
3759
|
+
'region': InstanceRegion;
|
|
3608
3760
|
/**
|
|
3609
3761
|
*
|
|
3610
3762
|
* @type {string}
|
|
@@ -3751,6 +3903,22 @@ export interface InstancePlatforms {
|
|
|
3751
3903
|
*/
|
|
3752
3904
|
'standalonewindows': number;
|
|
3753
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
|
+
|
|
3754
3922
|
/**
|
|
3755
3923
|
*
|
|
3756
3924
|
* @export
|
|
@@ -4116,6 +4284,12 @@ export interface LimitedUser {
|
|
|
4116
4284
|
* @memberof LimitedUser
|
|
4117
4285
|
*/
|
|
4118
4286
|
'bio'?: string;
|
|
4287
|
+
/**
|
|
4288
|
+
*
|
|
4289
|
+
* @type {Array<string>}
|
|
4290
|
+
* @memberof LimitedUser
|
|
4291
|
+
*/
|
|
4292
|
+
'bioLinks'?: Array<string>;
|
|
4119
4293
|
/**
|
|
4120
4294
|
* When profilePicOverride is not empty, use it instead.
|
|
4121
4295
|
* @type {string}
|
|
@@ -4128,6 +4302,12 @@ export interface LimitedUser {
|
|
|
4128
4302
|
* @memberof LimitedUser
|
|
4129
4303
|
*/
|
|
4130
4304
|
'currentAvatarThumbnailImageUrl'?: string;
|
|
4305
|
+
/**
|
|
4306
|
+
*
|
|
4307
|
+
* @type {Array<string>}
|
|
4308
|
+
* @memberof LimitedUser
|
|
4309
|
+
*/
|
|
4310
|
+
'currentAvatarTags'?: Array<string>;
|
|
4131
4311
|
/**
|
|
4132
4312
|
*
|
|
4133
4313
|
* @type {DeveloperType}
|
|
@@ -4170,6 +4350,12 @@ export interface LimitedUser {
|
|
|
4170
4350
|
* @memberof LimitedUser
|
|
4171
4351
|
*/
|
|
4172
4352
|
'profilePicOverride'?: string;
|
|
4353
|
+
/**
|
|
4354
|
+
*
|
|
4355
|
+
* @type {string}
|
|
4356
|
+
* @memberof LimitedUser
|
|
4357
|
+
*/
|
|
4358
|
+
'pronouns'?: string;
|
|
4173
4359
|
/**
|
|
4174
4360
|
*
|
|
4175
4361
|
* @type {UserStatus}
|
|
@@ -4214,6 +4400,121 @@ export interface LimitedUser {
|
|
|
4214
4400
|
*/
|
|
4215
4401
|
'friendKey'?: string;
|
|
4216
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
|
+
}
|
|
4217
4518
|
/**
|
|
4218
4519
|
*
|
|
4219
4520
|
* @export
|
|
@@ -4256,6 +4557,12 @@ export interface LimitedWorld {
|
|
|
4256
4557
|
* @memberof LimitedWorld
|
|
4257
4558
|
*/
|
|
4258
4559
|
'favorites': number;
|
|
4560
|
+
/**
|
|
4561
|
+
*
|
|
4562
|
+
* @type {number}
|
|
4563
|
+
* @memberof LimitedWorld
|
|
4564
|
+
*/
|
|
4565
|
+
'visits'?: number;
|
|
4259
4566
|
/**
|
|
4260
4567
|
*
|
|
4261
4568
|
* @type {number}
|
|
@@ -4304,6 +4611,12 @@ export interface LimitedWorld {
|
|
|
4304
4611
|
* @memberof LimitedWorld
|
|
4305
4612
|
*/
|
|
4306
4613
|
'popularity': number;
|
|
4614
|
+
/**
|
|
4615
|
+
*
|
|
4616
|
+
* @type {string}
|
|
4617
|
+
* @memberof LimitedWorld
|
|
4618
|
+
*/
|
|
4619
|
+
'previewYoutubeId'?: string | null;
|
|
4307
4620
|
/**
|
|
4308
4621
|
*
|
|
4309
4622
|
* @type {string}
|
|
@@ -4516,6 +4829,107 @@ export interface Notification {
|
|
|
4516
4829
|
*/
|
|
4517
4830
|
'type': NotificationType;
|
|
4518
4831
|
}
|
|
4832
|
+
/**
|
|
4833
|
+
*
|
|
4834
|
+
* @export
|
|
4835
|
+
* @interface NotificationDetailInvite
|
|
4836
|
+
*/
|
|
4837
|
+
export interface NotificationDetailInvite {
|
|
4838
|
+
/**
|
|
4839
|
+
*
|
|
4840
|
+
* @type {string}
|
|
4841
|
+
* @memberof NotificationDetailInvite
|
|
4842
|
+
*/
|
|
4843
|
+
'inviteMessage'?: string;
|
|
4844
|
+
/**
|
|
4845
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
4846
|
+
* @type {string}
|
|
4847
|
+
* @memberof NotificationDetailInvite
|
|
4848
|
+
*/
|
|
4849
|
+
'worldId': string;
|
|
4850
|
+
/**
|
|
4851
|
+
*
|
|
4852
|
+
* @type {string}
|
|
4853
|
+
* @memberof NotificationDetailInvite
|
|
4854
|
+
*/
|
|
4855
|
+
'worldName': string;
|
|
4856
|
+
}
|
|
4857
|
+
/**
|
|
4858
|
+
*
|
|
4859
|
+
* @export
|
|
4860
|
+
* @interface NotificationDetailInviteResponse
|
|
4861
|
+
*/
|
|
4862
|
+
export interface NotificationDetailInviteResponse {
|
|
4863
|
+
/**
|
|
4864
|
+
*
|
|
4865
|
+
* @type {string}
|
|
4866
|
+
* @memberof NotificationDetailInviteResponse
|
|
4867
|
+
*/
|
|
4868
|
+
'inResponseTo': string;
|
|
4869
|
+
/**
|
|
4870
|
+
*
|
|
4871
|
+
* @type {string}
|
|
4872
|
+
* @memberof NotificationDetailInviteResponse
|
|
4873
|
+
*/
|
|
4874
|
+
'responseMessage': string;
|
|
4875
|
+
}
|
|
4876
|
+
/**
|
|
4877
|
+
*
|
|
4878
|
+
* @export
|
|
4879
|
+
* @interface NotificationDetailRequestInvite
|
|
4880
|
+
*/
|
|
4881
|
+
export interface NotificationDetailRequestInvite {
|
|
4882
|
+
/**
|
|
4883
|
+
* TODO: Does this still exist?
|
|
4884
|
+
* @type {string}
|
|
4885
|
+
* @memberof NotificationDetailRequestInvite
|
|
4886
|
+
*/
|
|
4887
|
+
'platform'?: string;
|
|
4888
|
+
/**
|
|
4889
|
+
* Used when using InviteMessage Slot.
|
|
4890
|
+
* @type {string}
|
|
4891
|
+
* @memberof NotificationDetailRequestInvite
|
|
4892
|
+
*/
|
|
4893
|
+
'requestMessage'?: string;
|
|
4894
|
+
}
|
|
4895
|
+
/**
|
|
4896
|
+
*
|
|
4897
|
+
* @export
|
|
4898
|
+
* @interface NotificationDetailRequestInviteResponse
|
|
4899
|
+
*/
|
|
4900
|
+
export interface NotificationDetailRequestInviteResponse {
|
|
4901
|
+
/**
|
|
4902
|
+
*
|
|
4903
|
+
* @type {string}
|
|
4904
|
+
* @memberof NotificationDetailRequestInviteResponse
|
|
4905
|
+
*/
|
|
4906
|
+
'inResponseTo': string;
|
|
4907
|
+
/**
|
|
4908
|
+
* Used when using InviteMessage Slot.
|
|
4909
|
+
* @type {string}
|
|
4910
|
+
* @memberof NotificationDetailRequestInviteResponse
|
|
4911
|
+
*/
|
|
4912
|
+
'requestMessage'?: string;
|
|
4913
|
+
}
|
|
4914
|
+
/**
|
|
4915
|
+
*
|
|
4916
|
+
* @export
|
|
4917
|
+
* @interface NotificationDetailVoteToKick
|
|
4918
|
+
*/
|
|
4919
|
+
export interface NotificationDetailVoteToKick {
|
|
4920
|
+
/**
|
|
4921
|
+
* 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.
|
|
4922
|
+
* @type {string}
|
|
4923
|
+
* @memberof NotificationDetailVoteToKick
|
|
4924
|
+
*/
|
|
4925
|
+
'initiatorUserId': string;
|
|
4926
|
+
/**
|
|
4927
|
+
* 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.
|
|
4928
|
+
* @type {string}
|
|
4929
|
+
* @memberof NotificationDetailVoteToKick
|
|
4930
|
+
*/
|
|
4931
|
+
'userToKickId': string;
|
|
4932
|
+
}
|
|
4519
4933
|
/**
|
|
4520
4934
|
*
|
|
4521
4935
|
* @export
|
|
@@ -4841,6 +5255,12 @@ export interface RespondGroupJoinRequest {
|
|
|
4841
5255
|
* @memberof RespondGroupJoinRequest
|
|
4842
5256
|
*/
|
|
4843
5257
|
'action': GroupJoinRequestAction;
|
|
5258
|
+
/**
|
|
5259
|
+
* Whether to block the user from requesting again
|
|
5260
|
+
* @type {boolean}
|
|
5261
|
+
* @memberof RespondGroupJoinRequest
|
|
5262
|
+
*/
|
|
5263
|
+
'block'?: boolean;
|
|
4844
5264
|
}
|
|
4845
5265
|
/**
|
|
4846
5266
|
*
|
|
@@ -4874,11 +5294,11 @@ export interface SentNotification {
|
|
|
4874
5294
|
*/
|
|
4875
5295
|
'created_at': string;
|
|
4876
5296
|
/**
|
|
4877
|
-
*
|
|
4878
|
-
* @type {
|
|
5297
|
+
*
|
|
5298
|
+
* @type {object}
|
|
4879
5299
|
* @memberof SentNotification
|
|
4880
5300
|
*/
|
|
4881
|
-
'details':
|
|
5301
|
+
'details': object;
|
|
4882
5302
|
/**
|
|
4883
5303
|
*
|
|
4884
5304
|
* @type {string}
|
|
@@ -4896,7 +5316,7 @@ export interface SentNotification {
|
|
|
4896
5316
|
* @type {string}
|
|
4897
5317
|
* @memberof SentNotification
|
|
4898
5318
|
*/
|
|
4899
|
-
'
|
|
5319
|
+
'receiverUserId': string;
|
|
4900
5320
|
/**
|
|
4901
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.
|
|
4902
5322
|
* @type {string}
|
|
@@ -4965,6 +5385,30 @@ export interface Subscription {
|
|
|
4965
5385
|
* @memberof Subscription
|
|
4966
5386
|
*/
|
|
4967
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;
|
|
4968
5412
|
/**
|
|
4969
5413
|
*
|
|
4970
5414
|
* @type {number}
|
|
@@ -5032,6 +5476,18 @@ export interface Transaction {
|
|
|
5032
5476
|
* @memberof Transaction
|
|
5033
5477
|
*/
|
|
5034
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;
|
|
5035
5491
|
/**
|
|
5036
5492
|
*
|
|
5037
5493
|
* @type {TransactionStatus}
|
|
@@ -5080,6 +5536,18 @@ export interface Transaction {
|
|
|
5080
5536
|
* @memberof Transaction
|
|
5081
5537
|
*/
|
|
5082
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;
|
|
5083
5551
|
}
|
|
5084
5552
|
/**
|
|
5085
5553
|
*
|
|
@@ -5378,6 +5846,12 @@ export interface UnityPackage {
|
|
|
5378
5846
|
* @memberof UnityPackage
|
|
5379
5847
|
*/
|
|
5380
5848
|
'scanStatus'?: string;
|
|
5849
|
+
/**
|
|
5850
|
+
*
|
|
5851
|
+
* @type {string}
|
|
5852
|
+
* @memberof UnityPackage
|
|
5853
|
+
*/
|
|
5854
|
+
'variant'?: string;
|
|
5381
5855
|
}
|
|
5382
5856
|
/**
|
|
5383
5857
|
*
|
|
@@ -5716,6 +6190,12 @@ export interface UpdateUserRequest {
|
|
|
5716
6190
|
* @memberof UpdateUserRequest
|
|
5717
6191
|
*/
|
|
5718
6192
|
'bioLinks'?: Array<string>;
|
|
6193
|
+
/**
|
|
6194
|
+
*
|
|
6195
|
+
* @type {string}
|
|
6196
|
+
* @memberof UpdateUserRequest
|
|
6197
|
+
*/
|
|
6198
|
+
'pronouns'?: string;
|
|
5719
6199
|
/**
|
|
5720
6200
|
* MUST be a valid VRChat /file/ url.
|
|
5721
6201
|
* @type {string}
|
|
@@ -5820,6 +6300,12 @@ export interface User {
|
|
|
5820
6300
|
* @memberof User
|
|
5821
6301
|
*/
|
|
5822
6302
|
'allowAvatarCopying': boolean;
|
|
6303
|
+
/**
|
|
6304
|
+
*
|
|
6305
|
+
* @type {Array<Badge>}
|
|
6306
|
+
* @memberof User
|
|
6307
|
+
*/
|
|
6308
|
+
'badges'?: Array<Badge>;
|
|
5823
6309
|
/**
|
|
5824
6310
|
*
|
|
5825
6311
|
* @type {string}
|
|
@@ -5844,6 +6330,12 @@ export interface User {
|
|
|
5844
6330
|
* @memberof User
|
|
5845
6331
|
*/
|
|
5846
6332
|
'currentAvatarThumbnailImageUrl': string;
|
|
6333
|
+
/**
|
|
6334
|
+
*
|
|
6335
|
+
* @type {Array<string>}
|
|
6336
|
+
* @memberof User
|
|
6337
|
+
*/
|
|
6338
|
+
'currentAvatarTags': Array<string>;
|
|
5847
6339
|
/**
|
|
5848
6340
|
*
|
|
5849
6341
|
* @type {string}
|
|
@@ -5928,6 +6420,12 @@ export interface User {
|
|
|
5928
6420
|
* @memberof User
|
|
5929
6421
|
*/
|
|
5930
6422
|
'profilePicOverride': string;
|
|
6423
|
+
/**
|
|
6424
|
+
*
|
|
6425
|
+
* @type {string}
|
|
6426
|
+
* @memberof User
|
|
6427
|
+
*/
|
|
6428
|
+
'pronouns': string;
|
|
5931
6429
|
/**
|
|
5932
6430
|
*
|
|
5933
6431
|
* @type {UserState}
|
|
@@ -6394,7 +6892,7 @@ export interface WorldPublishStatus {
|
|
|
6394
6892
|
* @type {boolean}
|
|
6395
6893
|
* @memberof WorldPublishStatus
|
|
6396
6894
|
*/
|
|
6397
|
-
'
|
|
6895
|
+
'canPublish': boolean;
|
|
6398
6896
|
}
|
|
6399
6897
|
|
|
6400
6898
|
/**
|
|
@@ -11341,10 +11839,11 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11341
11839
|
* @param {string} groupId Must be a valid group ID.
|
|
11342
11840
|
* @param {number} [n] The number of objects to return.
|
|
11343
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
|
|
11344
11843
|
* @param {*} [options] Override http request option.
|
|
11345
11844
|
* @throws {RequiredError}
|
|
11346
11845
|
*/
|
|
11347
|
-
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> => {
|
|
11348
11847
|
// verify required parameter 'groupId' is not null or undefined
|
|
11349
11848
|
assertParamExists('getGroupRequests', 'groupId', groupId)
|
|
11350
11849
|
const localVarPath = `/groups/{groupId}/requests`
|
|
@@ -11370,6 +11869,10 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11370
11869
|
localVarQueryParameter['offset'] = offset;
|
|
11371
11870
|
}
|
|
11372
11871
|
|
|
11872
|
+
if (blocked !== undefined) {
|
|
11873
|
+
localVarQueryParameter['blocked'] = blocked;
|
|
11874
|
+
}
|
|
11875
|
+
|
|
11373
11876
|
|
|
11374
11877
|
|
|
11375
11878
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11832,6 +12335,52 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11832
12335
|
options: localVarRequestOptions,
|
|
11833
12336
|
};
|
|
11834
12337
|
},
|
|
12338
|
+
/**
|
|
12339
|
+
* Edits a Group post
|
|
12340
|
+
* @summary Edits a Group post
|
|
12341
|
+
* @param {string} groupId Must be a valid group ID.
|
|
12342
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
12343
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
12344
|
+
* @param {*} [options] Override http request option.
|
|
12345
|
+
* @throws {RequiredError}
|
|
12346
|
+
*/
|
|
12347
|
+
updateGroupPost: async (groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12348
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
12349
|
+
assertParamExists('updateGroupPost', 'groupId', groupId)
|
|
12350
|
+
// verify required parameter 'notificationId' is not null or undefined
|
|
12351
|
+
assertParamExists('updateGroupPost', 'notificationId', notificationId)
|
|
12352
|
+
// verify required parameter 'createGroupPostRequest' is not null or undefined
|
|
12353
|
+
assertParamExists('updateGroupPost', 'createGroupPostRequest', createGroupPostRequest)
|
|
12354
|
+
const localVarPath = `/groups/{groupId}/posts/{notificationId}`
|
|
12355
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
|
|
12356
|
+
.replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
|
|
12357
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12358
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12359
|
+
let baseOptions;
|
|
12360
|
+
if (configuration) {
|
|
12361
|
+
baseOptions = configuration.baseOptions;
|
|
12362
|
+
}
|
|
12363
|
+
|
|
12364
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12365
|
+
const localVarHeaderParameter = {} as any;
|
|
12366
|
+
const localVarQueryParameter = {} as any;
|
|
12367
|
+
|
|
12368
|
+
// authentication authCookie required
|
|
12369
|
+
|
|
12370
|
+
|
|
12371
|
+
|
|
12372
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12373
|
+
|
|
12374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12377
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createGroupPostRequest, localVarRequestOptions, configuration)
|
|
12378
|
+
|
|
12379
|
+
return {
|
|
12380
|
+
url: toPathString(localVarUrlObj),
|
|
12381
|
+
options: localVarRequestOptions,
|
|
12382
|
+
};
|
|
12383
|
+
},
|
|
11835
12384
|
/**
|
|
11836
12385
|
* Updates a group role by ID.
|
|
11837
12386
|
* @summary Update Group Role
|
|
@@ -12236,11 +12785,12 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
12236
12785
|
* @param {string} groupId Must be a valid group ID.
|
|
12237
12786
|
* @param {number} [n] The number of objects to return.
|
|
12238
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
|
|
12239
12789
|
* @param {*} [options] Override http request option.
|
|
12240
12790
|
* @throws {RequiredError}
|
|
12241
12791
|
*/
|
|
12242
|
-
async getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>> {
|
|
12243
|
-
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);
|
|
12244
12794
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12245
12795
|
},
|
|
12246
12796
|
/**
|
|
@@ -12377,6 +12927,19 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
12377
12927
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroupMember(groupId, userId, updateGroupMemberRequest, options);
|
|
12378
12928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12379
12929
|
},
|
|
12930
|
+
/**
|
|
12931
|
+
* Edits a Group post
|
|
12932
|
+
* @summary Edits a Group post
|
|
12933
|
+
* @param {string} groupId Must be a valid group ID.
|
|
12934
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
12935
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
12936
|
+
* @param {*} [options] Override http request option.
|
|
12937
|
+
* @throws {RequiredError}
|
|
12938
|
+
*/
|
|
12939
|
+
async updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>> {
|
|
12940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroupPost(groupId, notificationId, createGroupPostRequest, options);
|
|
12941
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12942
|
+
},
|
|
12380
12943
|
/**
|
|
12381
12944
|
* Updates a group role by ID.
|
|
12382
12945
|
* @summary Update Group Role
|
|
@@ -12722,11 +13285,12 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
12722
13285
|
* @param {string} groupId Must be a valid group ID.
|
|
12723
13286
|
* @param {number} [n] The number of objects to return.
|
|
12724
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
|
|
12725
13289
|
* @param {*} [options] Override http request option.
|
|
12726
13290
|
* @throws {RequiredError}
|
|
12727
13291
|
*/
|
|
12728
|
-
getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>> {
|
|
12729
|
-
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));
|
|
12730
13294
|
},
|
|
12731
13295
|
/**
|
|
12732
13296
|
* Returns a Group Role by ID.
|
|
@@ -12851,6 +13415,18 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
12851
13415
|
updateGroupMember(groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: any): AxiosPromise<GroupLimitedMember> {
|
|
12852
13416
|
return localVarFp.updateGroupMember(groupId, userId, updateGroupMemberRequest, options).then((request) => request(axios, basePath));
|
|
12853
13417
|
},
|
|
13418
|
+
/**
|
|
13419
|
+
* Edits a Group post
|
|
13420
|
+
* @summary Edits a Group post
|
|
13421
|
+
* @param {string} groupId Must be a valid group ID.
|
|
13422
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
13423
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
13424
|
+
* @param {*} [options] Override http request option.
|
|
13425
|
+
* @throws {RequiredError}
|
|
13426
|
+
*/
|
|
13427
|
+
updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: any): AxiosPromise<GroupPost> {
|
|
13428
|
+
return localVarFp.updateGroupPost(groupId, notificationId, createGroupPostRequest, options).then((request) => request(axios, basePath));
|
|
13429
|
+
},
|
|
12854
13430
|
/**
|
|
12855
13431
|
* Updates a group role by ID.
|
|
12856
13432
|
* @summary Update Group Role
|
|
@@ -13251,12 +13827,13 @@ export class GroupsApi extends BaseAPI {
|
|
|
13251
13827
|
* @param {string} groupId Must be a valid group ID.
|
|
13252
13828
|
* @param {number} [n] The number of objects to return.
|
|
13253
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
|
|
13254
13831
|
* @param {*} [options] Override http request option.
|
|
13255
13832
|
* @throws {RequiredError}
|
|
13256
13833
|
* @memberof GroupsApi
|
|
13257
13834
|
*/
|
|
13258
|
-
public getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) {
|
|
13259
|
-
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));
|
|
13260
13837
|
}
|
|
13261
13838
|
|
|
13262
13839
|
/**
|
|
@@ -13404,6 +13981,20 @@ export class GroupsApi extends BaseAPI {
|
|
|
13404
13981
|
return GroupsApiFp(this.configuration).updateGroupMember(groupId, userId, updateGroupMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13405
13982
|
}
|
|
13406
13983
|
|
|
13984
|
+
/**
|
|
13985
|
+
* Edits a Group post
|
|
13986
|
+
* @summary Edits a Group post
|
|
13987
|
+
* @param {string} groupId Must be a valid group ID.
|
|
13988
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
13989
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
13990
|
+
* @param {*} [options] Override http request option.
|
|
13991
|
+
* @throws {RequiredError}
|
|
13992
|
+
* @memberof GroupsApi
|
|
13993
|
+
*/
|
|
13994
|
+
public updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig) {
|
|
13995
|
+
return GroupsApiFp(this.configuration).updateGroupPost(groupId, notificationId, createGroupPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13996
|
+
}
|
|
13997
|
+
|
|
13407
13998
|
/**
|
|
13408
13999
|
* Updates a group role by ID.
|
|
13409
14000
|
* @summary Update Group Role
|
|
@@ -13427,15 +14018,16 @@ export class GroupsApi extends BaseAPI {
|
|
|
13427
14018
|
export const InstancesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13428
14019
|
return {
|
|
13429
14020
|
/**
|
|
13430
|
-
* Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
14021
|
+
* Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
13431
14022
|
* @summary Close Instance
|
|
13432
14023
|
* @param {string} worldId Must be a valid world ID.
|
|
13433
14024
|
* @param {string} instanceId Must be a valid instance ID.
|
|
13434
14025
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
14026
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
13435
14027
|
* @param {*} [options] Override http request option.
|
|
13436
14028
|
* @throws {RequiredError}
|
|
13437
14029
|
*/
|
|
13438
|
-
closeInstance: async (worldId: string, instanceId: string, hardClose?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14030
|
+
closeInstance: async (worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13439
14031
|
// verify required parameter 'worldId' is not null or undefined
|
|
13440
14032
|
assertParamExists('closeInstance', 'worldId', worldId)
|
|
13441
14033
|
// verify required parameter 'instanceId' is not null or undefined
|
|
@@ -13460,6 +14052,12 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
13460
14052
|
localVarQueryParameter['hardClose'] = hardClose;
|
|
13461
14053
|
}
|
|
13462
14054
|
|
|
14055
|
+
if (closedAt !== undefined) {
|
|
14056
|
+
localVarQueryParameter['closedAt'] = (closedAt as any instanceof Date) ?
|
|
14057
|
+
(closedAt as any).toISOString() :
|
|
14058
|
+
closedAt;
|
|
14059
|
+
}
|
|
14060
|
+
|
|
13463
14061
|
|
|
13464
14062
|
|
|
13465
14063
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13471,6 +14069,44 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
13471
14069
|
options: localVarRequestOptions,
|
|
13472
14070
|
};
|
|
13473
14071
|
},
|
|
14072
|
+
/**
|
|
14073
|
+
* Create an instance
|
|
14074
|
+
* @summary Create Instance
|
|
14075
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
14076
|
+
* @param {*} [options] Override http request option.
|
|
14077
|
+
* @throws {RequiredError}
|
|
14078
|
+
*/
|
|
14079
|
+
createInstance: async (createInstanceRequest: CreateInstanceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14080
|
+
// verify required parameter 'createInstanceRequest' is not null or undefined
|
|
14081
|
+
assertParamExists('createInstance', 'createInstanceRequest', createInstanceRequest)
|
|
14082
|
+
const localVarPath = `/instances`;
|
|
14083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14085
|
+
let baseOptions;
|
|
14086
|
+
if (configuration) {
|
|
14087
|
+
baseOptions = configuration.baseOptions;
|
|
14088
|
+
}
|
|
14089
|
+
|
|
14090
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14091
|
+
const localVarHeaderParameter = {} as any;
|
|
14092
|
+
const localVarQueryParameter = {} as any;
|
|
14093
|
+
|
|
14094
|
+
// authentication authCookie required
|
|
14095
|
+
|
|
14096
|
+
|
|
14097
|
+
|
|
14098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14099
|
+
|
|
14100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14102
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createInstanceRequest, localVarRequestOptions, configuration)
|
|
14104
|
+
|
|
14105
|
+
return {
|
|
14106
|
+
url: toPathString(localVarUrlObj),
|
|
14107
|
+
options: localVarRequestOptions,
|
|
14108
|
+
};
|
|
14109
|
+
},
|
|
13474
14110
|
/**
|
|
13475
14111
|
* 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\"!
|
|
13476
14112
|
* @summary Get Instance
|
|
@@ -13638,16 +14274,28 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
13638
14274
|
const localVarAxiosParamCreator = InstancesApiAxiosParamCreator(configuration)
|
|
13639
14275
|
return {
|
|
13640
14276
|
/**
|
|
13641
|
-
* Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
14277
|
+
* Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
13642
14278
|
* @summary Close Instance
|
|
13643
14279
|
* @param {string} worldId Must be a valid world ID.
|
|
13644
14280
|
* @param {string} instanceId Must be a valid instance ID.
|
|
13645
14281
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
14282
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
14283
|
+
* @param {*} [options] Override http request option.
|
|
14284
|
+
* @throws {RequiredError}
|
|
14285
|
+
*/
|
|
14286
|
+
async closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
|
|
14287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.closeInstance(worldId, instanceId, hardClose, closedAt, options);
|
|
14288
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14289
|
+
},
|
|
14290
|
+
/**
|
|
14291
|
+
* Create an instance
|
|
14292
|
+
* @summary Create Instance
|
|
14293
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
13646
14294
|
* @param {*} [options] Override http request option.
|
|
13647
14295
|
* @throws {RequiredError}
|
|
13648
14296
|
*/
|
|
13649
|
-
async
|
|
13650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14297
|
+
async createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
|
|
14298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createInstance(createInstanceRequest, options);
|
|
13651
14299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13652
14300
|
},
|
|
13653
14301
|
/**
|
|
@@ -13708,16 +14356,27 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
13708
14356
|
const localVarFp = InstancesApiFp(configuration)
|
|
13709
14357
|
return {
|
|
13710
14358
|
/**
|
|
13711
|
-
* Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
14359
|
+
* Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
13712
14360
|
* @summary Close Instance
|
|
13713
14361
|
* @param {string} worldId Must be a valid world ID.
|
|
13714
14362
|
* @param {string} instanceId Must be a valid instance ID.
|
|
13715
14363
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
14364
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
14365
|
+
* @param {*} [options] Override http request option.
|
|
14366
|
+
* @throws {RequiredError}
|
|
14367
|
+
*/
|
|
14368
|
+
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: any): AxiosPromise<Instance> {
|
|
14369
|
+
return localVarFp.closeInstance(worldId, instanceId, hardClose, closedAt, options).then((request) => request(axios, basePath));
|
|
14370
|
+
},
|
|
14371
|
+
/**
|
|
14372
|
+
* Create an instance
|
|
14373
|
+
* @summary Create Instance
|
|
14374
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
13716
14375
|
* @param {*} [options] Override http request option.
|
|
13717
14376
|
* @throws {RequiredError}
|
|
13718
14377
|
*/
|
|
13719
|
-
|
|
13720
|
-
return localVarFp.
|
|
14378
|
+
createInstance(createInstanceRequest: CreateInstanceRequest, options?: any): AxiosPromise<Instance> {
|
|
14379
|
+
return localVarFp.createInstance(createInstanceRequest, options).then((request) => request(axios, basePath));
|
|
13721
14380
|
},
|
|
13722
14381
|
/**
|
|
13723
14382
|
* 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\"!
|
|
@@ -13773,17 +14432,30 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
13773
14432
|
*/
|
|
13774
14433
|
export class InstancesApi extends BaseAPI {
|
|
13775
14434
|
/**
|
|
13776
|
-
* Close an instance. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
14435
|
+
* Close an instance or update the closedAt time when it will be closed. You can only close an instance if the ownerId is yourself or if the instance owner is a group and you have the `group-instance-moderate` permission.
|
|
13777
14436
|
* @summary Close Instance
|
|
13778
14437
|
* @param {string} worldId Must be a valid world ID.
|
|
13779
14438
|
* @param {string} instanceId Must be a valid instance ID.
|
|
13780
14439
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
14440
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
14441
|
+
* @param {*} [options] Override http request option.
|
|
14442
|
+
* @throws {RequiredError}
|
|
14443
|
+
* @memberof InstancesApi
|
|
14444
|
+
*/
|
|
14445
|
+
public closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig) {
|
|
14446
|
+
return InstancesApiFp(this.configuration).closeInstance(worldId, instanceId, hardClose, closedAt, options).then((request) => request(this.axios, this.basePath));
|
|
14447
|
+
}
|
|
14448
|
+
|
|
14449
|
+
/**
|
|
14450
|
+
* Create an instance
|
|
14451
|
+
* @summary Create Instance
|
|
14452
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
13781
14453
|
* @param {*} [options] Override http request option.
|
|
13782
14454
|
* @throws {RequiredError}
|
|
13783
14455
|
* @memberof InstancesApi
|
|
13784
14456
|
*/
|
|
13785
|
-
public
|
|
13786
|
-
return InstancesApiFp(this.configuration).
|
|
14457
|
+
public createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig) {
|
|
14458
|
+
return InstancesApiFp(this.configuration).createInstance(createInstanceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13787
14459
|
}
|
|
13788
14460
|
|
|
13789
14461
|
/**
|
|
@@ -16401,7 +17073,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
16401
17073
|
* @param {*} [options] Override http request option.
|
|
16402
17074
|
* @throws {RequiredError}
|
|
16403
17075
|
*/
|
|
16404
|
-
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>>> {
|
|
16405
17077
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroups(userId, options);
|
|
16406
17078
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16407
17079
|
},
|
|
@@ -16490,7 +17162,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
16490
17162
|
* @param {*} [options] Override http request option.
|
|
16491
17163
|
* @throws {RequiredError}
|
|
16492
17164
|
*/
|
|
16493
|
-
getUserGroups(userId: string, options?: any): AxiosPromise<Array<
|
|
17165
|
+
getUserGroups(userId: string, options?: any): AxiosPromise<Array<LimitedUserGroups>> {
|
|
16494
17166
|
return localVarFp.getUserGroups(userId, options).then((request) => request(axios, basePath));
|
|
16495
17167
|
},
|
|
16496
17168
|
/**
|