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/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.17.
|
|
4
|
+
* The version of the OpenAPI document: 1.17.5
|
|
5
5
|
* Contact: vrchatapi.lpv0t@aries.fyi
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -846,6 +846,61 @@ export interface AvatarUnityPackageUrlObject {
|
|
|
846
846
|
*/
|
|
847
847
|
'unityPackageUrl'?: string;
|
|
848
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @export
|
|
852
|
+
* @interface Badge
|
|
853
|
+
*/
|
|
854
|
+
export interface Badge {
|
|
855
|
+
/**
|
|
856
|
+
* only present in CurrentUser badges
|
|
857
|
+
* @type {string}
|
|
858
|
+
* @memberof Badge
|
|
859
|
+
*/
|
|
860
|
+
'assignedAt'?: string | null;
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {string}
|
|
864
|
+
* @memberof Badge
|
|
865
|
+
*/
|
|
866
|
+
'badgeDescription': string;
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @type {string}
|
|
870
|
+
* @memberof Badge
|
|
871
|
+
*/
|
|
872
|
+
'badgeId': string;
|
|
873
|
+
/**
|
|
874
|
+
* direct url to image
|
|
875
|
+
* @type {string}
|
|
876
|
+
* @memberof Badge
|
|
877
|
+
*/
|
|
878
|
+
'badgeImageUrl': string;
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* @type {string}
|
|
882
|
+
* @memberof Badge
|
|
883
|
+
*/
|
|
884
|
+
'badgeName': string;
|
|
885
|
+
/**
|
|
886
|
+
* only present in CurrentUser badges
|
|
887
|
+
* @type {boolean}
|
|
888
|
+
* @memberof Badge
|
|
889
|
+
*/
|
|
890
|
+
'hidden'?: boolean | null;
|
|
891
|
+
/**
|
|
892
|
+
*
|
|
893
|
+
* @type {boolean}
|
|
894
|
+
* @memberof Badge
|
|
895
|
+
*/
|
|
896
|
+
'showcased': boolean;
|
|
897
|
+
/**
|
|
898
|
+
* only present in CurrentUser badges
|
|
899
|
+
* @type {string}
|
|
900
|
+
* @memberof Badge
|
|
901
|
+
*/
|
|
902
|
+
'updatedAt'?: string | null;
|
|
903
|
+
}
|
|
849
904
|
/**
|
|
850
905
|
*
|
|
851
906
|
* @export
|
|
@@ -1222,6 +1277,79 @@ export interface CreateGroupRoleRequest {
|
|
|
1222
1277
|
*/
|
|
1223
1278
|
'permissions'?: Array<string>;
|
|
1224
1279
|
}
|
|
1280
|
+
/**
|
|
1281
|
+
*
|
|
1282
|
+
* @export
|
|
1283
|
+
* @interface CreateInstanceRequest
|
|
1284
|
+
*/
|
|
1285
|
+
export interface CreateInstanceRequest {
|
|
1286
|
+
/**
|
|
1287
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
1288
|
+
* @type {string}
|
|
1289
|
+
* @memberof CreateInstanceRequest
|
|
1290
|
+
*/
|
|
1291
|
+
'worldId': string;
|
|
1292
|
+
/**
|
|
1293
|
+
*
|
|
1294
|
+
* @type {InstanceType}
|
|
1295
|
+
* @memberof CreateInstanceRequest
|
|
1296
|
+
*/
|
|
1297
|
+
'type': InstanceType;
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @type {InstanceRegion}
|
|
1301
|
+
* @memberof CreateInstanceRequest
|
|
1302
|
+
*/
|
|
1303
|
+
'region': InstanceRegion;
|
|
1304
|
+
/**
|
|
1305
|
+
* A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise
|
|
1306
|
+
* @type {string}
|
|
1307
|
+
* @memberof CreateInstanceRequest
|
|
1308
|
+
*/
|
|
1309
|
+
'ownerId'?: string | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\"
|
|
1312
|
+
* @type {Array<string>}
|
|
1313
|
+
* @memberof CreateInstanceRequest
|
|
1314
|
+
*/
|
|
1315
|
+
'roleIds'?: Array<string>;
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @type {GroupAccessType}
|
|
1319
|
+
* @memberof CreateInstanceRequest
|
|
1320
|
+
*/
|
|
1321
|
+
'groupAccessType'?: GroupAccessType;
|
|
1322
|
+
/**
|
|
1323
|
+
*
|
|
1324
|
+
* @type {boolean}
|
|
1325
|
+
* @memberof CreateInstanceRequest
|
|
1326
|
+
*/
|
|
1327
|
+
'queueEnabled'?: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* The time after which users won\'t be allowed to join the instance. This doesn\'t work for public instances.
|
|
1330
|
+
* @type {string}
|
|
1331
|
+
* @memberof CreateInstanceRequest
|
|
1332
|
+
*/
|
|
1333
|
+
'closedAt'?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Only applies to invite type instances to make them invite+
|
|
1336
|
+
* @type {boolean}
|
|
1337
|
+
* @memberof CreateInstanceRequest
|
|
1338
|
+
*/
|
|
1339
|
+
'canRequestInvite'?: boolean;
|
|
1340
|
+
/**
|
|
1341
|
+
* Currently unused, but will eventually be a flag to set if the closing of the instance should kick people.
|
|
1342
|
+
* @type {boolean}
|
|
1343
|
+
* @memberof CreateInstanceRequest
|
|
1344
|
+
*/
|
|
1345
|
+
'hardClose'?: boolean;
|
|
1346
|
+
/**
|
|
1347
|
+
*
|
|
1348
|
+
* @type {boolean}
|
|
1349
|
+
* @memberof CreateInstanceRequest
|
|
1350
|
+
*/
|
|
1351
|
+
'inviteOnly'?: boolean;
|
|
1352
|
+
}
|
|
1225
1353
|
/**
|
|
1226
1354
|
*
|
|
1227
1355
|
* @export
|
|
@@ -1355,6 +1483,12 @@ export interface CurrentUser {
|
|
|
1355
1483
|
* @memberof CurrentUser
|
|
1356
1484
|
*/
|
|
1357
1485
|
'allowAvatarCopying': boolean;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {Array<Badge>}
|
|
1489
|
+
* @memberof CurrentUser
|
|
1490
|
+
*/
|
|
1491
|
+
'badges'?: Array<Badge>;
|
|
1358
1492
|
/**
|
|
1359
1493
|
*
|
|
1360
1494
|
* @type {string}
|
|
@@ -1396,7 +1530,7 @@ export interface CurrentUser {
|
|
|
1396
1530
|
* @type {Array<string>}
|
|
1397
1531
|
* @memberof CurrentUser
|
|
1398
1532
|
*/
|
|
1399
|
-
'currentAvatarTags'
|
|
1533
|
+
'currentAvatarTags': Array<string>;
|
|
1400
1534
|
/**
|
|
1401
1535
|
*
|
|
1402
1536
|
* @type {string}
|
|
@@ -1518,6 +1652,12 @@ export interface CurrentUser {
|
|
|
1518
1652
|
* @memberof CurrentUser
|
|
1519
1653
|
*/
|
|
1520
1654
|
'last_login': string;
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @type {string}
|
|
1658
|
+
* @memberof CurrentUser
|
|
1659
|
+
*/
|
|
1660
|
+
'last_mobile': string | null;
|
|
1521
1661
|
/**
|
|
1522
1662
|
* 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`.
|
|
1523
1663
|
* @type {string}
|
|
@@ -1548,6 +1688,12 @@ export interface CurrentUser {
|
|
|
1548
1688
|
* @memberof CurrentUser
|
|
1549
1689
|
*/
|
|
1550
1690
|
'googleId'?: string;
|
|
1691
|
+
/**
|
|
1692
|
+
*
|
|
1693
|
+
* @type {object}
|
|
1694
|
+
* @memberof CurrentUser
|
|
1695
|
+
*/
|
|
1696
|
+
'googleDetails'?: object;
|
|
1551
1697
|
/**
|
|
1552
1698
|
*
|
|
1553
1699
|
* @type {string}
|
|
@@ -1590,6 +1736,12 @@ export interface CurrentUser {
|
|
|
1590
1736
|
* @memberof CurrentUser
|
|
1591
1737
|
*/
|
|
1592
1738
|
'profilePicOverride': string;
|
|
1739
|
+
/**
|
|
1740
|
+
*
|
|
1741
|
+
* @type {string}
|
|
1742
|
+
* @memberof CurrentUser
|
|
1743
|
+
*/
|
|
1744
|
+
'pronouns': string;
|
|
1593
1745
|
/**
|
|
1594
1746
|
*
|
|
1595
1747
|
* @type {UserState}
|
|
@@ -2337,7 +2489,7 @@ export interface Group {
|
|
|
2337
2489
|
export declare const GroupAccessType: {
|
|
2338
2490
|
readonly Public: "public";
|
|
2339
2491
|
readonly Plus: "plus";
|
|
2340
|
-
readonly
|
|
2492
|
+
readonly Members: "members";
|
|
2341
2493
|
};
|
|
2342
2494
|
export type GroupAccessType = typeof GroupAccessType[keyof typeof GroupAccessType];
|
|
2343
2495
|
/**
|
|
@@ -3529,10 +3681,10 @@ export interface Instance {
|
|
|
3529
3681
|
'platforms': InstancePlatforms;
|
|
3530
3682
|
/**
|
|
3531
3683
|
*
|
|
3532
|
-
* @type {
|
|
3684
|
+
* @type {InstanceRegion}
|
|
3533
3685
|
* @memberof Instance
|
|
3534
3686
|
*/
|
|
3535
|
-
'region':
|
|
3687
|
+
'region': InstanceRegion;
|
|
3536
3688
|
/**
|
|
3537
3689
|
*
|
|
3538
3690
|
* @type {string}
|
|
@@ -3679,6 +3831,18 @@ export interface InstancePlatforms {
|
|
|
3679
3831
|
*/
|
|
3680
3832
|
'standalonewindows': number;
|
|
3681
3833
|
}
|
|
3834
|
+
/**
|
|
3835
|
+
* Instance region
|
|
3836
|
+
* @export
|
|
3837
|
+
* @enum {string}
|
|
3838
|
+
*/
|
|
3839
|
+
export declare const InstanceRegion: {
|
|
3840
|
+
readonly Us: "us";
|
|
3841
|
+
readonly Use: "use";
|
|
3842
|
+
readonly Eu: "eu";
|
|
3843
|
+
readonly Jp: "jp";
|
|
3844
|
+
};
|
|
3845
|
+
export type InstanceRegion = typeof InstanceRegion[keyof typeof InstanceRegion];
|
|
3682
3846
|
/**
|
|
3683
3847
|
*
|
|
3684
3848
|
* @export
|
|
@@ -4028,6 +4192,12 @@ export interface LimitedUser {
|
|
|
4028
4192
|
* @memberof LimitedUser
|
|
4029
4193
|
*/
|
|
4030
4194
|
'bio'?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
*
|
|
4197
|
+
* @type {Array<string>}
|
|
4198
|
+
* @memberof LimitedUser
|
|
4199
|
+
*/
|
|
4200
|
+
'bioLinks'?: Array<string>;
|
|
4031
4201
|
/**
|
|
4032
4202
|
* When profilePicOverride is not empty, use it instead.
|
|
4033
4203
|
* @type {string}
|
|
@@ -4040,6 +4210,12 @@ export interface LimitedUser {
|
|
|
4040
4210
|
* @memberof LimitedUser
|
|
4041
4211
|
*/
|
|
4042
4212
|
'currentAvatarThumbnailImageUrl'?: string;
|
|
4213
|
+
/**
|
|
4214
|
+
*
|
|
4215
|
+
* @type {Array<string>}
|
|
4216
|
+
* @memberof LimitedUser
|
|
4217
|
+
*/
|
|
4218
|
+
'currentAvatarTags'?: Array<string>;
|
|
4043
4219
|
/**
|
|
4044
4220
|
*
|
|
4045
4221
|
* @type {DeveloperType}
|
|
@@ -4082,6 +4258,12 @@ export interface LimitedUser {
|
|
|
4082
4258
|
* @memberof LimitedUser
|
|
4083
4259
|
*/
|
|
4084
4260
|
'profilePicOverride'?: string;
|
|
4261
|
+
/**
|
|
4262
|
+
*
|
|
4263
|
+
* @type {string}
|
|
4264
|
+
* @memberof LimitedUser
|
|
4265
|
+
*/
|
|
4266
|
+
'pronouns'?: string;
|
|
4085
4267
|
/**
|
|
4086
4268
|
*
|
|
4087
4269
|
* @type {UserStatus}
|
|
@@ -4126,6 +4308,121 @@ export interface LimitedUser {
|
|
|
4126
4308
|
*/
|
|
4127
4309
|
'friendKey'?: string;
|
|
4128
4310
|
}
|
|
4311
|
+
/**
|
|
4312
|
+
*
|
|
4313
|
+
* @export
|
|
4314
|
+
* @interface LimitedUserGroups
|
|
4315
|
+
*/
|
|
4316
|
+
export interface LimitedUserGroups {
|
|
4317
|
+
/**
|
|
4318
|
+
*
|
|
4319
|
+
* @type {string}
|
|
4320
|
+
* @memberof LimitedUserGroups
|
|
4321
|
+
*/
|
|
4322
|
+
'id'?: string;
|
|
4323
|
+
/**
|
|
4324
|
+
*
|
|
4325
|
+
* @type {string}
|
|
4326
|
+
* @memberof LimitedUserGroups
|
|
4327
|
+
*/
|
|
4328
|
+
'name'?: string;
|
|
4329
|
+
/**
|
|
4330
|
+
*
|
|
4331
|
+
* @type {string}
|
|
4332
|
+
* @memberof LimitedUserGroups
|
|
4333
|
+
*/
|
|
4334
|
+
'shortCode'?: string;
|
|
4335
|
+
/**
|
|
4336
|
+
*
|
|
4337
|
+
* @type {string}
|
|
4338
|
+
* @memberof LimitedUserGroups
|
|
4339
|
+
*/
|
|
4340
|
+
'discriminator'?: string;
|
|
4341
|
+
/**
|
|
4342
|
+
*
|
|
4343
|
+
* @type {string}
|
|
4344
|
+
* @memberof LimitedUserGroups
|
|
4345
|
+
*/
|
|
4346
|
+
'description'?: string;
|
|
4347
|
+
/**
|
|
4348
|
+
*
|
|
4349
|
+
* @type {string}
|
|
4350
|
+
* @memberof LimitedUserGroups
|
|
4351
|
+
*/
|
|
4352
|
+
'iconId'?: string | null;
|
|
4353
|
+
/**
|
|
4354
|
+
*
|
|
4355
|
+
* @type {string}
|
|
4356
|
+
* @memberof LimitedUserGroups
|
|
4357
|
+
*/
|
|
4358
|
+
'iconUrl'?: string | null;
|
|
4359
|
+
/**
|
|
4360
|
+
*
|
|
4361
|
+
* @type {string}
|
|
4362
|
+
* @memberof LimitedUserGroups
|
|
4363
|
+
*/
|
|
4364
|
+
'bannerId'?: string | null;
|
|
4365
|
+
/**
|
|
4366
|
+
*
|
|
4367
|
+
* @type {string}
|
|
4368
|
+
* @memberof LimitedUserGroups
|
|
4369
|
+
*/
|
|
4370
|
+
'bannerUrl'?: string | null;
|
|
4371
|
+
/**
|
|
4372
|
+
*
|
|
4373
|
+
* @type {string}
|
|
4374
|
+
* @memberof LimitedUserGroups
|
|
4375
|
+
*/
|
|
4376
|
+
'privacy'?: string;
|
|
4377
|
+
/**
|
|
4378
|
+
*
|
|
4379
|
+
* @type {string}
|
|
4380
|
+
* @memberof LimitedUserGroups
|
|
4381
|
+
*/
|
|
4382
|
+
'lastPostCreatedAt'?: string | null;
|
|
4383
|
+
/**
|
|
4384
|
+
* 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.
|
|
4385
|
+
* @type {string}
|
|
4386
|
+
* @memberof LimitedUserGroups
|
|
4387
|
+
*/
|
|
4388
|
+
'ownerId'?: string;
|
|
4389
|
+
/**
|
|
4390
|
+
*
|
|
4391
|
+
* @type {number}
|
|
4392
|
+
* @memberof LimitedUserGroups
|
|
4393
|
+
*/
|
|
4394
|
+
'memberCount'?: number;
|
|
4395
|
+
/**
|
|
4396
|
+
*
|
|
4397
|
+
* @type {string}
|
|
4398
|
+
* @memberof LimitedUserGroups
|
|
4399
|
+
*/
|
|
4400
|
+
'groupId'?: string;
|
|
4401
|
+
/**
|
|
4402
|
+
*
|
|
4403
|
+
* @type {string}
|
|
4404
|
+
* @memberof LimitedUserGroups
|
|
4405
|
+
*/
|
|
4406
|
+
'memberVisibility'?: string;
|
|
4407
|
+
/**
|
|
4408
|
+
*
|
|
4409
|
+
* @type {boolean}
|
|
4410
|
+
* @memberof LimitedUserGroups
|
|
4411
|
+
*/
|
|
4412
|
+
'isRepresenting'?: boolean;
|
|
4413
|
+
/**
|
|
4414
|
+
*
|
|
4415
|
+
* @type {boolean}
|
|
4416
|
+
* @memberof LimitedUserGroups
|
|
4417
|
+
*/
|
|
4418
|
+
'mutualGroup'?: boolean;
|
|
4419
|
+
/**
|
|
4420
|
+
*
|
|
4421
|
+
* @type {string}
|
|
4422
|
+
* @memberof LimitedUserGroups
|
|
4423
|
+
*/
|
|
4424
|
+
'lastPostReadAt'?: string | null;
|
|
4425
|
+
}
|
|
4129
4426
|
/**
|
|
4130
4427
|
*
|
|
4131
4428
|
* @export
|
|
@@ -4168,6 +4465,12 @@ export interface LimitedWorld {
|
|
|
4168
4465
|
* @memberof LimitedWorld
|
|
4169
4466
|
*/
|
|
4170
4467
|
'favorites': number;
|
|
4468
|
+
/**
|
|
4469
|
+
*
|
|
4470
|
+
* @type {number}
|
|
4471
|
+
* @memberof LimitedWorld
|
|
4472
|
+
*/
|
|
4473
|
+
'visits'?: number;
|
|
4171
4474
|
/**
|
|
4172
4475
|
*
|
|
4173
4476
|
* @type {number}
|
|
@@ -4216,6 +4519,12 @@ export interface LimitedWorld {
|
|
|
4216
4519
|
* @memberof LimitedWorld
|
|
4217
4520
|
*/
|
|
4218
4521
|
'popularity': number;
|
|
4522
|
+
/**
|
|
4523
|
+
*
|
|
4524
|
+
* @type {string}
|
|
4525
|
+
* @memberof LimitedWorld
|
|
4526
|
+
*/
|
|
4527
|
+
'previewYoutubeId'?: string | null;
|
|
4219
4528
|
/**
|
|
4220
4529
|
*
|
|
4221
4530
|
* @type {string}
|
|
@@ -4424,6 +4733,107 @@ export interface Notification {
|
|
|
4424
4733
|
*/
|
|
4425
4734
|
'type': NotificationType;
|
|
4426
4735
|
}
|
|
4736
|
+
/**
|
|
4737
|
+
*
|
|
4738
|
+
* @export
|
|
4739
|
+
* @interface NotificationDetailInvite
|
|
4740
|
+
*/
|
|
4741
|
+
export interface NotificationDetailInvite {
|
|
4742
|
+
/**
|
|
4743
|
+
*
|
|
4744
|
+
* @type {string}
|
|
4745
|
+
* @memberof NotificationDetailInvite
|
|
4746
|
+
*/
|
|
4747
|
+
'inviteMessage'?: string;
|
|
4748
|
+
/**
|
|
4749
|
+
* WorldID be \"offline\" on User profiles if you are not friends with that user.
|
|
4750
|
+
* @type {string}
|
|
4751
|
+
* @memberof NotificationDetailInvite
|
|
4752
|
+
*/
|
|
4753
|
+
'worldId': string;
|
|
4754
|
+
/**
|
|
4755
|
+
*
|
|
4756
|
+
* @type {string}
|
|
4757
|
+
* @memberof NotificationDetailInvite
|
|
4758
|
+
*/
|
|
4759
|
+
'worldName': string;
|
|
4760
|
+
}
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @export
|
|
4764
|
+
* @interface NotificationDetailInviteResponse
|
|
4765
|
+
*/
|
|
4766
|
+
export interface NotificationDetailInviteResponse {
|
|
4767
|
+
/**
|
|
4768
|
+
*
|
|
4769
|
+
* @type {string}
|
|
4770
|
+
* @memberof NotificationDetailInviteResponse
|
|
4771
|
+
*/
|
|
4772
|
+
'inResponseTo': string;
|
|
4773
|
+
/**
|
|
4774
|
+
*
|
|
4775
|
+
* @type {string}
|
|
4776
|
+
* @memberof NotificationDetailInviteResponse
|
|
4777
|
+
*/
|
|
4778
|
+
'responseMessage': string;
|
|
4779
|
+
}
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @export
|
|
4783
|
+
* @interface NotificationDetailRequestInvite
|
|
4784
|
+
*/
|
|
4785
|
+
export interface NotificationDetailRequestInvite {
|
|
4786
|
+
/**
|
|
4787
|
+
* TODO: Does this still exist?
|
|
4788
|
+
* @type {string}
|
|
4789
|
+
* @memberof NotificationDetailRequestInvite
|
|
4790
|
+
*/
|
|
4791
|
+
'platform'?: string;
|
|
4792
|
+
/**
|
|
4793
|
+
* Used when using InviteMessage Slot.
|
|
4794
|
+
* @type {string}
|
|
4795
|
+
* @memberof NotificationDetailRequestInvite
|
|
4796
|
+
*/
|
|
4797
|
+
'requestMessage'?: string;
|
|
4798
|
+
}
|
|
4799
|
+
/**
|
|
4800
|
+
*
|
|
4801
|
+
* @export
|
|
4802
|
+
* @interface NotificationDetailRequestInviteResponse
|
|
4803
|
+
*/
|
|
4804
|
+
export interface NotificationDetailRequestInviteResponse {
|
|
4805
|
+
/**
|
|
4806
|
+
*
|
|
4807
|
+
* @type {string}
|
|
4808
|
+
* @memberof NotificationDetailRequestInviteResponse
|
|
4809
|
+
*/
|
|
4810
|
+
'inResponseTo': string;
|
|
4811
|
+
/**
|
|
4812
|
+
* Used when using InviteMessage Slot.
|
|
4813
|
+
* @type {string}
|
|
4814
|
+
* @memberof NotificationDetailRequestInviteResponse
|
|
4815
|
+
*/
|
|
4816
|
+
'requestMessage'?: string;
|
|
4817
|
+
}
|
|
4818
|
+
/**
|
|
4819
|
+
*
|
|
4820
|
+
* @export
|
|
4821
|
+
* @interface NotificationDetailVoteToKick
|
|
4822
|
+
*/
|
|
4823
|
+
export interface NotificationDetailVoteToKick {
|
|
4824
|
+
/**
|
|
4825
|
+
* 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.
|
|
4826
|
+
* @type {string}
|
|
4827
|
+
* @memberof NotificationDetailVoteToKick
|
|
4828
|
+
*/
|
|
4829
|
+
'initiatorUserId': string;
|
|
4830
|
+
/**
|
|
4831
|
+
* 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.
|
|
4832
|
+
* @type {string}
|
|
4833
|
+
* @memberof NotificationDetailVoteToKick
|
|
4834
|
+
*/
|
|
4835
|
+
'userToKickId': string;
|
|
4836
|
+
}
|
|
4427
4837
|
/**
|
|
4428
4838
|
*
|
|
4429
4839
|
* @export
|
|
@@ -4729,6 +5139,12 @@ export interface RespondGroupJoinRequest {
|
|
|
4729
5139
|
* @memberof RespondGroupJoinRequest
|
|
4730
5140
|
*/
|
|
4731
5141
|
'action': GroupJoinRequestAction;
|
|
5142
|
+
/**
|
|
5143
|
+
* Whether to block the user from requesting again
|
|
5144
|
+
* @type {boolean}
|
|
5145
|
+
* @memberof RespondGroupJoinRequest
|
|
5146
|
+
*/
|
|
5147
|
+
'block'?: boolean;
|
|
4732
5148
|
}
|
|
4733
5149
|
/**
|
|
4734
5150
|
*
|
|
@@ -4762,11 +5178,11 @@ export interface SentNotification {
|
|
|
4762
5178
|
*/
|
|
4763
5179
|
'created_at': string;
|
|
4764
5180
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
* @type {
|
|
5181
|
+
*
|
|
5182
|
+
* @type {object}
|
|
4767
5183
|
* @memberof SentNotification
|
|
4768
5184
|
*/
|
|
4769
|
-
'details':
|
|
5185
|
+
'details': object;
|
|
4770
5186
|
/**
|
|
4771
5187
|
*
|
|
4772
5188
|
* @type {string}
|
|
@@ -4784,7 +5200,7 @@ export interface SentNotification {
|
|
|
4784
5200
|
* @type {string}
|
|
4785
5201
|
* @memberof SentNotification
|
|
4786
5202
|
*/
|
|
4787
|
-
'
|
|
5203
|
+
'receiverUserId': string;
|
|
4788
5204
|
/**
|
|
4789
5205
|
* 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.
|
|
4790
5206
|
* @type {string}
|
|
@@ -4849,6 +5265,30 @@ export interface Subscription {
|
|
|
4849
5265
|
* @memberof Subscription
|
|
4850
5266
|
*/
|
|
4851
5267
|
'steamItemId': string;
|
|
5268
|
+
/**
|
|
5269
|
+
*
|
|
5270
|
+
* @type {string}
|
|
5271
|
+
* @memberof Subscription
|
|
5272
|
+
*/
|
|
5273
|
+
'oculusSku'?: string;
|
|
5274
|
+
/**
|
|
5275
|
+
*
|
|
5276
|
+
* @type {string}
|
|
5277
|
+
* @memberof Subscription
|
|
5278
|
+
*/
|
|
5279
|
+
'googleProductId'?: string;
|
|
5280
|
+
/**
|
|
5281
|
+
*
|
|
5282
|
+
* @type {string}
|
|
5283
|
+
* @memberof Subscription
|
|
5284
|
+
*/
|
|
5285
|
+
'googlePlanId'?: string;
|
|
5286
|
+
/**
|
|
5287
|
+
*
|
|
5288
|
+
* @type {string}
|
|
5289
|
+
* @memberof Subscription
|
|
5290
|
+
*/
|
|
5291
|
+
'picoSku'?: string;
|
|
4852
5292
|
/**
|
|
4853
5293
|
*
|
|
4854
5294
|
* @type {number}
|
|
@@ -4912,6 +5352,18 @@ export interface Transaction {
|
|
|
4912
5352
|
* @memberof Transaction
|
|
4913
5353
|
*/
|
|
4914
5354
|
'id': string;
|
|
5355
|
+
/**
|
|
5356
|
+
* 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.
|
|
5357
|
+
* @type {string}
|
|
5358
|
+
* @memberof Transaction
|
|
5359
|
+
*/
|
|
5360
|
+
'userId'?: string;
|
|
5361
|
+
/**
|
|
5362
|
+
*
|
|
5363
|
+
* @type {string}
|
|
5364
|
+
* @memberof Transaction
|
|
5365
|
+
*/
|
|
5366
|
+
'userDisplayName'?: string;
|
|
4915
5367
|
/**
|
|
4916
5368
|
*
|
|
4917
5369
|
* @type {TransactionStatus}
|
|
@@ -4960,6 +5412,18 @@ export interface Transaction {
|
|
|
4960
5412
|
* @memberof Transaction
|
|
4961
5413
|
*/
|
|
4962
5414
|
'error': string;
|
|
5415
|
+
/**
|
|
5416
|
+
*
|
|
5417
|
+
* @type {boolean}
|
|
5418
|
+
* @memberof Transaction
|
|
5419
|
+
*/
|
|
5420
|
+
'isGift'?: boolean;
|
|
5421
|
+
/**
|
|
5422
|
+
*
|
|
5423
|
+
* @type {boolean}
|
|
5424
|
+
* @memberof Transaction
|
|
5425
|
+
*/
|
|
5426
|
+
'isTokens'?: boolean;
|
|
4963
5427
|
}
|
|
4964
5428
|
/**
|
|
4965
5429
|
*
|
|
@@ -5254,6 +5718,12 @@ export interface UnityPackage {
|
|
|
5254
5718
|
* @memberof UnityPackage
|
|
5255
5719
|
*/
|
|
5256
5720
|
'scanStatus'?: string;
|
|
5721
|
+
/**
|
|
5722
|
+
*
|
|
5723
|
+
* @type {string}
|
|
5724
|
+
* @memberof UnityPackage
|
|
5725
|
+
*/
|
|
5726
|
+
'variant'?: string;
|
|
5257
5727
|
}
|
|
5258
5728
|
/**
|
|
5259
5729
|
*
|
|
@@ -5592,6 +6062,12 @@ export interface UpdateUserRequest {
|
|
|
5592
6062
|
* @memberof UpdateUserRequest
|
|
5593
6063
|
*/
|
|
5594
6064
|
'bioLinks'?: Array<string>;
|
|
6065
|
+
/**
|
|
6066
|
+
*
|
|
6067
|
+
* @type {string}
|
|
6068
|
+
* @memberof UpdateUserRequest
|
|
6069
|
+
*/
|
|
6070
|
+
'pronouns'?: string;
|
|
5595
6071
|
/**
|
|
5596
6072
|
* MUST be a valid VRChat /file/ url.
|
|
5597
6073
|
* @type {string}
|
|
@@ -5696,6 +6172,12 @@ export interface User {
|
|
|
5696
6172
|
* @memberof User
|
|
5697
6173
|
*/
|
|
5698
6174
|
'allowAvatarCopying': boolean;
|
|
6175
|
+
/**
|
|
6176
|
+
*
|
|
6177
|
+
* @type {Array<Badge>}
|
|
6178
|
+
* @memberof User
|
|
6179
|
+
*/
|
|
6180
|
+
'badges'?: Array<Badge>;
|
|
5699
6181
|
/**
|
|
5700
6182
|
*
|
|
5701
6183
|
* @type {string}
|
|
@@ -5720,6 +6202,12 @@ export interface User {
|
|
|
5720
6202
|
* @memberof User
|
|
5721
6203
|
*/
|
|
5722
6204
|
'currentAvatarThumbnailImageUrl': string;
|
|
6205
|
+
/**
|
|
6206
|
+
*
|
|
6207
|
+
* @type {Array<string>}
|
|
6208
|
+
* @memberof User
|
|
6209
|
+
*/
|
|
6210
|
+
'currentAvatarTags': Array<string>;
|
|
5723
6211
|
/**
|
|
5724
6212
|
*
|
|
5725
6213
|
* @type {string}
|
|
@@ -5804,6 +6292,12 @@ export interface User {
|
|
|
5804
6292
|
* @memberof User
|
|
5805
6293
|
*/
|
|
5806
6294
|
'profilePicOverride': string;
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @type {string}
|
|
6298
|
+
* @memberof User
|
|
6299
|
+
*/
|
|
6300
|
+
'pronouns': string;
|
|
5807
6301
|
/**
|
|
5808
6302
|
*
|
|
5809
6303
|
* @type {UserState}
|
|
@@ -6262,7 +6756,7 @@ export interface WorldPublishStatus {
|
|
|
6262
6756
|
* @type {boolean}
|
|
6263
6757
|
* @memberof WorldPublishStatus
|
|
6264
6758
|
*/
|
|
6265
|
-
'
|
|
6759
|
+
'canPublish': boolean;
|
|
6266
6760
|
}
|
|
6267
6761
|
/**
|
|
6268
6762
|
* AuthenticationApi - axios parameter creator
|
|
@@ -8380,10 +8874,11 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
8380
8874
|
* @param {string} groupId Must be a valid group ID.
|
|
8381
8875
|
* @param {number} [n] The number of objects to return.
|
|
8382
8876
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
8877
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
8383
8878
|
* @param {*} [options] Override http request option.
|
|
8384
8879
|
* @throws {RequiredError}
|
|
8385
8880
|
*/
|
|
8386
|
-
getGroupRequests: (groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8881
|
+
getGroupRequests: (groupId: string, n?: number, offset?: number, blocked?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8387
8882
|
/**
|
|
8388
8883
|
* Returns a Group Role by ID.
|
|
8389
8884
|
* @summary Get Group Roles
|
|
@@ -8485,6 +8980,16 @@ export declare const GroupsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
8485
8980
|
* @throws {RequiredError}
|
|
8486
8981
|
*/
|
|
8487
8982
|
updateGroupMember: (groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8983
|
+
/**
|
|
8984
|
+
* Edits a Group post
|
|
8985
|
+
* @summary Edits a Group post
|
|
8986
|
+
* @param {string} groupId Must be a valid group ID.
|
|
8987
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
8988
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
8989
|
+
* @param {*} [options] Override http request option.
|
|
8990
|
+
* @throws {RequiredError}
|
|
8991
|
+
*/
|
|
8992
|
+
updateGroupPost: (groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8488
8993
|
/**
|
|
8489
8994
|
* Updates a group role by ID.
|
|
8490
8995
|
* @summary Update Group Role
|
|
@@ -8767,10 +9272,11 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
|
|
|
8767
9272
|
* @param {string} groupId Must be a valid group ID.
|
|
8768
9273
|
* @param {number} [n] The number of objects to return.
|
|
8769
9274
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9275
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
8770
9276
|
* @param {*} [options] Override http request option.
|
|
8771
9277
|
* @throws {RequiredError}
|
|
8772
9278
|
*/
|
|
8773
|
-
getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
|
|
9279
|
+
getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupMember>>>;
|
|
8774
9280
|
/**
|
|
8775
9281
|
* Returns a Group Role by ID.
|
|
8776
9282
|
* @summary Get Group Roles
|
|
@@ -8872,6 +9378,16 @@ export declare const GroupsApiFp: (configuration?: Configuration) => {
|
|
|
8872
9378
|
* @throws {RequiredError}
|
|
8873
9379
|
*/
|
|
8874
9380
|
updateGroupMember(groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupLimitedMember>>;
|
|
9381
|
+
/**
|
|
9382
|
+
* Edits a Group post
|
|
9383
|
+
* @summary Edits a Group post
|
|
9384
|
+
* @param {string} groupId Must be a valid group ID.
|
|
9385
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
9386
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
9387
|
+
* @param {*} [options] Override http request option.
|
|
9388
|
+
* @throws {RequiredError}
|
|
9389
|
+
*/
|
|
9390
|
+
updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPost>>;
|
|
8875
9391
|
/**
|
|
8876
9392
|
* Updates a group role by ID.
|
|
8877
9393
|
* @summary Update Group Role
|
|
@@ -9154,10 +9670,11 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
|
|
|
9154
9670
|
* @param {string} groupId Must be a valid group ID.
|
|
9155
9671
|
* @param {number} [n] The number of objects to return.
|
|
9156
9672
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
9673
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
9157
9674
|
* @param {*} [options] Override http request option.
|
|
9158
9675
|
* @throws {RequiredError}
|
|
9159
9676
|
*/
|
|
9160
|
-
getGroupRequests(groupId: string, n?: number, offset?: number, options?: any): AxiosPromise<Array<GroupMember>>;
|
|
9677
|
+
getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: any): AxiosPromise<Array<GroupMember>>;
|
|
9161
9678
|
/**
|
|
9162
9679
|
* Returns a Group Role by ID.
|
|
9163
9680
|
* @summary Get Group Roles
|
|
@@ -9259,6 +9776,16 @@ export declare const GroupsApiFactory: (configuration?: Configuration, basePath?
|
|
|
9259
9776
|
* @throws {RequiredError}
|
|
9260
9777
|
*/
|
|
9261
9778
|
updateGroupMember(groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: any): AxiosPromise<GroupLimitedMember>;
|
|
9779
|
+
/**
|
|
9780
|
+
* Edits a Group post
|
|
9781
|
+
* @summary Edits a Group post
|
|
9782
|
+
* @param {string} groupId Must be a valid group ID.
|
|
9783
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
9784
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
9785
|
+
* @param {*} [options] Override http request option.
|
|
9786
|
+
* @throws {RequiredError}
|
|
9787
|
+
*/
|
|
9788
|
+
updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: any): AxiosPromise<GroupPost>;
|
|
9262
9789
|
/**
|
|
9263
9790
|
* Updates a group role by ID.
|
|
9264
9791
|
* @summary Update Group Role
|
|
@@ -9571,11 +10098,12 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
9571
10098
|
* @param {string} groupId Must be a valid group ID.
|
|
9572
10099
|
* @param {number} [n] The number of objects to return.
|
|
9573
10100
|
* @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
|
|
10101
|
+
* @param {boolean} [blocked] See blocked join requests
|
|
9574
10102
|
* @param {*} [options] Override http request option.
|
|
9575
10103
|
* @throws {RequiredError}
|
|
9576
10104
|
* @memberof GroupsApi
|
|
9577
10105
|
*/
|
|
9578
|
-
getGroupRequests(groupId: string, n?: number, offset?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
|
|
10106
|
+
getGroupRequests(groupId: string, n?: number, offset?: number, blocked?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupMember[], any>>;
|
|
9579
10107
|
/**
|
|
9580
10108
|
* Returns a Group Role by ID.
|
|
9581
10109
|
* @summary Get Group Roles
|
|
@@ -9688,6 +10216,17 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
9688
10216
|
* @memberof GroupsApi
|
|
9689
10217
|
*/
|
|
9690
10218
|
updateGroupMember(groupId: string, userId: string, updateGroupMemberRequest?: UpdateGroupMemberRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupLimitedMember, any>>;
|
|
10219
|
+
/**
|
|
10220
|
+
* Edits a Group post
|
|
10221
|
+
* @summary Edits a Group post
|
|
10222
|
+
* @param {string} groupId Must be a valid group ID.
|
|
10223
|
+
* @param {string} notificationId Must be a valid notification ID.
|
|
10224
|
+
* @param {CreateGroupPostRequest} createGroupPostRequest
|
|
10225
|
+
* @param {*} [options] Override http request option.
|
|
10226
|
+
* @throws {RequiredError}
|
|
10227
|
+
* @memberof GroupsApi
|
|
10228
|
+
*/
|
|
10229
|
+
updateGroupPost(groupId: string, notificationId: string, createGroupPostRequest: CreateGroupPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupPost, any>>;
|
|
9691
10230
|
/**
|
|
9692
10231
|
* Updates a group role by ID.
|
|
9693
10232
|
* @summary Update Group Role
|
|
@@ -9706,15 +10245,24 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
9706
10245
|
*/
|
|
9707
10246
|
export declare const InstancesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9708
10247
|
/**
|
|
9709
|
-
* 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.
|
|
10248
|
+
* 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.
|
|
9710
10249
|
* @summary Close Instance
|
|
9711
10250
|
* @param {string} worldId Must be a valid world ID.
|
|
9712
10251
|
* @param {string} instanceId Must be a valid instance ID.
|
|
9713
10252
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
10253
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
10254
|
+
* @param {*} [options] Override http request option.
|
|
10255
|
+
* @throws {RequiredError}
|
|
10256
|
+
*/
|
|
10257
|
+
closeInstance: (worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10258
|
+
/**
|
|
10259
|
+
* Create an instance
|
|
10260
|
+
* @summary Create Instance
|
|
10261
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
9714
10262
|
* @param {*} [options] Override http request option.
|
|
9715
10263
|
* @throws {RequiredError}
|
|
9716
10264
|
*/
|
|
9717
|
-
|
|
10265
|
+
createInstance: (createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9718
10266
|
/**
|
|
9719
10267
|
* 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\"!
|
|
9720
10268
|
* @summary Get Instance
|
|
@@ -9757,15 +10305,24 @@ export declare const InstancesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
9757
10305
|
*/
|
|
9758
10306
|
export declare const InstancesApiFp: (configuration?: Configuration) => {
|
|
9759
10307
|
/**
|
|
9760
|
-
* 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.
|
|
10308
|
+
* 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.
|
|
9761
10309
|
* @summary Close Instance
|
|
9762
10310
|
* @param {string} worldId Must be a valid world ID.
|
|
9763
10311
|
* @param {string} instanceId Must be a valid instance ID.
|
|
9764
10312
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
10313
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
9765
10314
|
* @param {*} [options] Override http request option.
|
|
9766
10315
|
* @throws {RequiredError}
|
|
9767
10316
|
*/
|
|
9768
|
-
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
|
|
10317
|
+
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
|
|
10318
|
+
/**
|
|
10319
|
+
* Create an instance
|
|
10320
|
+
* @summary Create Instance
|
|
10321
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
10322
|
+
* @param {*} [options] Override http request option.
|
|
10323
|
+
* @throws {RequiredError}
|
|
10324
|
+
*/
|
|
10325
|
+
createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
|
|
9769
10326
|
/**
|
|
9770
10327
|
* 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\"!
|
|
9771
10328
|
* @summary Get Instance
|
|
@@ -9808,15 +10365,24 @@ export declare const InstancesApiFp: (configuration?: Configuration) => {
|
|
|
9808
10365
|
*/
|
|
9809
10366
|
export declare const InstancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9810
10367
|
/**
|
|
9811
|
-
* 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.
|
|
10368
|
+
* 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.
|
|
9812
10369
|
* @summary Close Instance
|
|
9813
10370
|
* @param {string} worldId Must be a valid world ID.
|
|
9814
10371
|
* @param {string} instanceId Must be a valid instance ID.
|
|
9815
10372
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
10373
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
9816
10374
|
* @param {*} [options] Override http request option.
|
|
9817
10375
|
* @throws {RequiredError}
|
|
9818
10376
|
*/
|
|
9819
|
-
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, options?: any): AxiosPromise<Instance>;
|
|
10377
|
+
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: any): AxiosPromise<Instance>;
|
|
10378
|
+
/**
|
|
10379
|
+
* Create an instance
|
|
10380
|
+
* @summary Create Instance
|
|
10381
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
10382
|
+
* @param {*} [options] Override http request option.
|
|
10383
|
+
* @throws {RequiredError}
|
|
10384
|
+
*/
|
|
10385
|
+
createInstance(createInstanceRequest: CreateInstanceRequest, options?: any): AxiosPromise<Instance>;
|
|
9820
10386
|
/**
|
|
9821
10387
|
* 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\"!
|
|
9822
10388
|
* @summary Get Instance
|
|
@@ -9861,16 +10427,26 @@ export declare const InstancesApiFactory: (configuration?: Configuration, basePa
|
|
|
9861
10427
|
*/
|
|
9862
10428
|
export declare class InstancesApi extends BaseAPI {
|
|
9863
10429
|
/**
|
|
9864
|
-
* 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.
|
|
10430
|
+
* 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.
|
|
9865
10431
|
* @summary Close Instance
|
|
9866
10432
|
* @param {string} worldId Must be a valid world ID.
|
|
9867
10433
|
* @param {string} instanceId Must be a valid instance ID.
|
|
9868
10434
|
* @param {boolean} [hardClose] Whether to hard close the instance. Defaults to false.
|
|
10435
|
+
* @param {string} [closedAt] The time after which users won\'t be allowed to join the instances. If omitted, the instance will be closed immediately.
|
|
10436
|
+
* @param {*} [options] Override http request option.
|
|
10437
|
+
* @throws {RequiredError}
|
|
10438
|
+
* @memberof InstancesApi
|
|
10439
|
+
*/
|
|
10440
|
+
closeInstance(worldId: string, instanceId: string, hardClose?: boolean, closedAt?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Instance, any>>;
|
|
10441
|
+
/**
|
|
10442
|
+
* Create an instance
|
|
10443
|
+
* @summary Create Instance
|
|
10444
|
+
* @param {CreateInstanceRequest} createInstanceRequest
|
|
9869
10445
|
* @param {*} [options] Override http request option.
|
|
9870
10446
|
* @throws {RequiredError}
|
|
9871
10447
|
* @memberof InstancesApi
|
|
9872
10448
|
*/
|
|
9873
|
-
|
|
10449
|
+
createInstance(createInstanceRequest: CreateInstanceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Instance, any>>;
|
|
9874
10450
|
/**
|
|
9875
10451
|
* 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\"!
|
|
9876
10452
|
* @summary Get Instance
|
|
@@ -11129,7 +11705,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
11129
11705
|
* @param {*} [options] Override http request option.
|
|
11130
11706
|
* @throws {RequiredError}
|
|
11131
11707
|
*/
|
|
11132
|
-
getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
11708
|
+
getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LimitedUserGroups>>>;
|
|
11133
11709
|
/**
|
|
11134
11710
|
* Returns the current group that the user is currently representing
|
|
11135
11711
|
* @summary Get user\'s current represented group
|
|
@@ -11196,7 +11772,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
11196
11772
|
* @param {*} [options] Override http request option.
|
|
11197
11773
|
* @throws {RequiredError}
|
|
11198
11774
|
*/
|
|
11199
|
-
getUserGroups(userId: string, options?: any): AxiosPromise<Array<
|
|
11775
|
+
getUserGroups(userId: string, options?: any): AxiosPromise<Array<LimitedUserGroups>>;
|
|
11200
11776
|
/**
|
|
11201
11777
|
* Returns the current group that the user is currently representing
|
|
11202
11778
|
* @summary Get user\'s current represented group
|
|
@@ -11269,7 +11845,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
11269
11845
|
* @throws {RequiredError}
|
|
11270
11846
|
* @memberof UsersApi
|
|
11271
11847
|
*/
|
|
11272
|
-
getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
11848
|
+
getUserGroups(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LimitedUserGroups[], any>>;
|
|
11273
11849
|
/**
|
|
11274
11850
|
* Returns the current group that the user is currently representing
|
|
11275
11851
|
* @summary Get user\'s current represented group
|