vrchat 1.16.7 → 1.16.8

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/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.16.7
7
+ * The version of the OpenAPI document: 1.16.8
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -74,8 +74,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  }
75
75
  };
76
76
  Object.defineProperty(exports, "__esModule", { value: true });
77
- exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.SortOption = exports.ReleaseStatus = exports.Region = exports.PlayerModerationType = exports.OrderOption = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InstanceType = exports.InfoPushDataClickableCommandEnum = exports.GroupUserVisibility = exports.GroupSearchSort = exports.GroupRoleTemplate = exports.GroupPrivacy = exports.GroupMemberStatus = exports.GroupJoinState = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
78
- exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = void 0;
77
+ exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.SortOption = exports.ReleaseStatus = exports.Region = exports.PlayerModerationType = exports.OrderOption = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InstanceType = exports.InfoPushDataClickableCommandEnum = exports.GroupUserVisibility = exports.GroupSearchSort = exports.GroupRoleTemplate = exports.GroupPrivacy = exports.GroupMemberStatus = exports.GroupJoinState = exports.GroupJoinRequestAction = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
78
+ exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = void 0;
79
79
  var axios_1 = require("axios");
80
80
  // Some imports not used depending on template conditions
81
81
  // @ts-ignore
@@ -145,6 +145,15 @@ exports.FileStatus = {
145
145
  None: 'none',
146
146
  Queued: 'queued'
147
147
  };
148
+ /**
149
+ *
150
+ * @export
151
+ * @enum {string}
152
+ */
153
+ exports.GroupJoinRequestAction = {
154
+ Accept: 'accept',
155
+ Reject: 'reject'
156
+ };
148
157
  /**
149
158
  *
150
159
  * @export
@@ -165,7 +174,8 @@ exports.GroupMemberStatus = {
165
174
  Inactive: 'inactive',
166
175
  Member: 'member',
167
176
  Requested: 'requested',
168
- Invited: 'invited'
177
+ Invited: 'invited',
178
+ Banned: 'banned'
169
179
  };
170
180
  /**
171
181
  *
@@ -559,7 +569,7 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
559
569
  /**
560
570
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
561
571
  * @summary Verify 2FA code
562
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
572
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
563
573
  * @param {*} [options] Override http request option.
564
574
  * @throws {RequiredError}
565
575
  */
@@ -568,6 +578,8 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
568
578
  return __awaiter(_this, void 0, void 0, function () {
569
579
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
570
580
  return __generator(this, function (_a) {
581
+ // verify required parameter 'twoFactorAuthCode' is not null or undefined
582
+ (0, common_1.assertParamExists)('verify2FA', 'twoFactorAuthCode', twoFactorAuthCode);
571
583
  localVarPath = "/auth/twofactorauth/totp/verify";
572
584
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
573
585
  if (configuration) {
@@ -592,7 +604,7 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
592
604
  /**
593
605
  * Finishes the login sequence with an 2FA email code.
594
606
  * @summary Verify 2FA email code
595
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
607
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
596
608
  * @param {*} [options] Override http request option.
597
609
  * @throws {RequiredError}
598
610
  */
@@ -601,6 +613,8 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
601
613
  return __awaiter(_this, void 0, void 0, function () {
602
614
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
603
615
  return __generator(this, function (_a) {
616
+ // verify required parameter 'twoFactorEmailCode' is not null or undefined
617
+ (0, common_1.assertParamExists)('verify2FAEmailCode', 'twoFactorEmailCode', twoFactorEmailCode);
604
618
  localVarPath = "/auth/twofactorauth/emailotp/verify";
605
619
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
606
620
  if (configuration) {
@@ -655,7 +669,7 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
655
669
  /**
656
670
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
657
671
  * @summary Verify 2FA code with Recovery code
658
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
672
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
659
673
  * @param {*} [options] Override http request option.
660
674
  * @throws {RequiredError}
661
675
  */
@@ -664,6 +678,8 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
664
678
  return __awaiter(_this, void 0, void 0, function () {
665
679
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
666
680
  return __generator(this, function (_a) {
681
+ // verify required parameter 'twoFactorAuthCode' is not null or undefined
682
+ (0, common_1.assertParamExists)('verifyRecoveryCode', 'twoFactorAuthCode', twoFactorAuthCode);
667
683
  localVarPath = "/auth/twofactorauth/otp/verify";
668
684
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
669
685
  if (configuration) {
@@ -779,7 +795,7 @@ var AuthenticationApiFp = function (configuration) {
779
795
  /**
780
796
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
781
797
  * @summary Verify 2FA code
782
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
798
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
783
799
  * @param {*} [options] Override http request option.
784
800
  * @throws {RequiredError}
785
801
  */
@@ -799,7 +815,7 @@ var AuthenticationApiFp = function (configuration) {
799
815
  /**
800
816
  * Finishes the login sequence with an 2FA email code.
801
817
  * @summary Verify 2FA email code
802
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
818
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
803
819
  * @param {*} [options] Override http request option.
804
820
  * @throws {RequiredError}
805
821
  */
@@ -838,7 +854,7 @@ var AuthenticationApiFp = function (configuration) {
838
854
  /**
839
855
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
840
856
  * @summary Verify 2FA code with Recovery code
841
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
857
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
842
858
  * @param {*} [options] Override http request option.
843
859
  * @throws {RequiredError}
844
860
  */
@@ -909,7 +925,7 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
909
925
  /**
910
926
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
911
927
  * @summary Verify 2FA code
912
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
928
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
913
929
  * @param {*} [options] Override http request option.
914
930
  * @throws {RequiredError}
915
931
  */
@@ -919,7 +935,7 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
919
935
  /**
920
936
  * Finishes the login sequence with an 2FA email code.
921
937
  * @summary Verify 2FA email code
922
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
938
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
923
939
  * @param {*} [options] Override http request option.
924
940
  * @throws {RequiredError}
925
941
  */
@@ -938,7 +954,7 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
938
954
  /**
939
955
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
940
956
  * @summary Verify 2FA code with Recovery code
941
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
957
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
942
958
  * @param {*} [options] Override http request option.
943
959
  * @throws {RequiredError}
944
960
  */
@@ -1011,7 +1027,7 @@ var AuthenticationApi = /** @class */ (function (_super) {
1011
1027
  /**
1012
1028
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
1013
1029
  * @summary Verify 2FA code
1014
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
1030
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
1015
1031
  * @param {*} [options] Override http request option.
1016
1032
  * @throws {RequiredError}
1017
1033
  * @memberof AuthenticationApi
@@ -1023,7 +1039,7 @@ var AuthenticationApi = /** @class */ (function (_super) {
1023
1039
  /**
1024
1040
  * Finishes the login sequence with an 2FA email code.
1025
1041
  * @summary Verify 2FA email code
1026
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
1042
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
1027
1043
  * @param {*} [options] Override http request option.
1028
1044
  * @throws {RequiredError}
1029
1045
  * @memberof AuthenticationApi
@@ -1046,7 +1062,7 @@ var AuthenticationApi = /** @class */ (function (_super) {
1046
1062
  /**
1047
1063
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
1048
1064
  * @summary Verify 2FA code with Recovery code
1049
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
1065
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
1050
1066
  * @param {*} [options] Override http request option.
1051
1067
  * @throws {RequiredError}
1052
1068
  * @memberof AuthenticationApi
@@ -4449,7 +4465,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4449
4465
  * @summary Add Group Gallery Image
4450
4466
  * @param {string} groupId Must be a valid group ID.
4451
4467
  * @param {string} groupGalleryId Must be a valid group gallery ID.
4452
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
4468
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
4453
4469
  * @param {*} [options] Override http request option.
4454
4470
  * @throws {RequiredError}
4455
4471
  */
@@ -4462,6 +4478,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4462
4478
  (0, common_1.assertParamExists)('addGroupGalleryImage', 'groupId', groupId);
4463
4479
  // verify required parameter 'groupGalleryId' is not null or undefined
4464
4480
  (0, common_1.assertParamExists)('addGroupGalleryImage', 'groupGalleryId', groupGalleryId);
4481
+ // verify required parameter 'addGroupGalleryImageRequest' is not null or undefined
4482
+ (0, common_1.assertParamExists)('addGroupGalleryImage', 'addGroupGalleryImageRequest', addGroupGalleryImageRequest);
4465
4483
  localVarPath = "/groups/{groupId}/galleries/{groupGalleryId}/images"
4466
4484
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)))
4467
4485
  .replace("{".concat("groupGalleryId", "}"), encodeURIComponent(String(groupGalleryId)));
@@ -4531,7 +4549,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4531
4549
  * Bans a user from a Group.
4532
4550
  * @summary Ban Group Member
4533
4551
  * @param {string} groupId Must be a valid group ID.
4534
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
4552
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
4535
4553
  * @param {*} [options] Override http request option.
4536
4554
  * @throws {RequiredError}
4537
4555
  */
@@ -4542,6 +4560,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4542
4560
  return __generator(this, function (_a) {
4543
4561
  // verify required parameter 'groupId' is not null or undefined
4544
4562
  (0, common_1.assertParamExists)('banGroupMember', 'groupId', groupId);
4563
+ // verify required parameter 'banGroupMemberRequest' is not null or undefined
4564
+ (0, common_1.assertParamExists)('banGroupMember', 'banGroupMemberRequest', banGroupMemberRequest);
4545
4565
  localVarPath = "/groups/{groupId}/bans"
4546
4566
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4547
4567
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4601,7 +4621,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4601
4621
  /**
4602
4622
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
4603
4623
  * @summary Create Group
4604
- * @param {CreateGroupRequest} [createGroupRequest]
4624
+ * @param {CreateGroupRequest} createGroupRequest
4605
4625
  * @param {*} [options] Override http request option.
4606
4626
  * @throws {RequiredError}
4607
4627
  */
@@ -4610,6 +4630,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4610
4630
  return __awaiter(_this, void 0, void 0, function () {
4611
4631
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4612
4632
  return __generator(this, function (_a) {
4633
+ // verify required parameter 'createGroupRequest' is not null or undefined
4634
+ (0, common_1.assertParamExists)('createGroup', 'createGroupRequest', createGroupRequest);
4613
4635
  localVarPath = "/groups";
4614
4636
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4615
4637
  if (configuration) {
@@ -4635,7 +4657,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4635
4657
  * Creates an Announcement for a Group.
4636
4658
  * @summary Create Group Announcement
4637
4659
  * @param {string} groupId Must be a valid group ID.
4638
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
4660
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
4639
4661
  * @param {*} [options] Override http request option.
4640
4662
  * @throws {RequiredError}
4641
4663
  */
@@ -4646,6 +4668,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4646
4668
  return __generator(this, function (_a) {
4647
4669
  // verify required parameter 'groupId' is not null or undefined
4648
4670
  (0, common_1.assertParamExists)('createGroupAnnouncement', 'groupId', groupId);
4671
+ // verify required parameter 'createGroupAnnouncementRequest' is not null or undefined
4672
+ (0, common_1.assertParamExists)('createGroupAnnouncement', 'createGroupAnnouncementRequest', createGroupAnnouncementRequest);
4649
4673
  localVarPath = "/groups/{groupId}/announcement"
4650
4674
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4651
4675
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4672,7 +4696,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4672
4696
  * Creates a gallery for a Group.
4673
4697
  * @summary Create Group Gallery
4674
4698
  * @param {string} groupId Must be a valid group ID.
4675
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
4699
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
4676
4700
  * @param {*} [options] Override http request option.
4677
4701
  * @throws {RequiredError}
4678
4702
  */
@@ -4683,6 +4707,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4683
4707
  return __generator(this, function (_a) {
4684
4708
  // verify required parameter 'groupId' is not null or undefined
4685
4709
  (0, common_1.assertParamExists)('createGroupGallery', 'groupId', groupId);
4710
+ // verify required parameter 'createGroupGalleryRequest' is not null or undefined
4711
+ (0, common_1.assertParamExists)('createGroupGallery', 'createGroupGalleryRequest', createGroupGalleryRequest);
4686
4712
  localVarPath = "/groups/{groupId}/galleries"
4687
4713
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4688
4714
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4709,7 +4735,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4709
4735
  * Sends an invite to a user to join the group.
4710
4736
  * @summary Invite User to Group
4711
4737
  * @param {string} groupId Must be a valid group ID.
4712
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
4738
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
4713
4739
  * @param {*} [options] Override http request option.
4714
4740
  * @throws {RequiredError}
4715
4741
  */
@@ -4720,6 +4746,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4720
4746
  return __generator(this, function (_a) {
4721
4747
  // verify required parameter 'groupId' is not null or undefined
4722
4748
  (0, common_1.assertParamExists)('createGroupInvite', 'groupId', groupId);
4749
+ // verify required parameter 'createGroupInviteRequest' is not null or undefined
4750
+ (0, common_1.assertParamExists)('createGroupInvite', 'createGroupInviteRequest', createGroupInviteRequest);
4723
4751
  localVarPath = "/groups/{groupId}/invites"
4724
4752
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4725
4753
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4746,7 +4774,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4746
4774
  * Create a Group role.
4747
4775
  * @summary Create GroupRole
4748
4776
  * @param {string} groupId Must be a valid group ID.
4749
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
4777
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
4750
4778
  * @param {*} [options] Override http request option.
4751
4779
  * @throws {RequiredError}
4752
4780
  */
@@ -4757,6 +4785,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4757
4785
  return __generator(this, function (_a) {
4758
4786
  // verify required parameter 'groupId' is not null or undefined
4759
4787
  (0, common_1.assertParamExists)('createGroupRole', 'groupId', groupId);
4788
+ // verify required parameter 'createGroupRoleRequest' is not null or undefined
4789
+ (0, common_1.assertParamExists)('createGroupRole', 'createGroupRoleRequest', createGroupRoleRequest);
4760
4790
  localVarPath = "/groups/{groupId}/roles"
4761
4791
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4762
4792
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5610,7 +5640,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5610
5640
  * @summary Respond Group Join request
5611
5641
  * @param {string} groupId Must be a valid group ID.
5612
5642
  * @param {string} userId Must be a valid user ID.
5613
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
5643
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
5614
5644
  * @param {*} [options] Override http request option.
5615
5645
  * @throws {RequiredError}
5616
5646
  */
@@ -5623,6 +5653,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5623
5653
  (0, common_1.assertParamExists)('respondGroupJoinRequest', 'groupId', groupId);
5624
5654
  // verify required parameter 'userId' is not null or undefined
5625
5655
  (0, common_1.assertParamExists)('respondGroupJoinRequest', 'userId', userId);
5656
+ // verify required parameter 'respondGroupJoinRequest' is not null or undefined
5657
+ (0, common_1.assertParamExists)('respondGroupJoinRequest', 'respondGroupJoinRequest', respondGroupJoinRequest);
5626
5658
  localVarPath = "/groups/{groupId}/requests/{userId}"
5627
5659
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)))
5628
5660
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
@@ -5900,7 +5932,7 @@ var GroupsApiFp = function (configuration) {
5900
5932
  * @summary Add Group Gallery Image
5901
5933
  * @param {string} groupId Must be a valid group ID.
5902
5934
  * @param {string} groupGalleryId Must be a valid group gallery ID.
5903
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
5935
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
5904
5936
  * @param {*} [options] Override http request option.
5905
5937
  * @throws {RequiredError}
5906
5938
  */
@@ -5943,7 +5975,7 @@ var GroupsApiFp = function (configuration) {
5943
5975
  * Bans a user from a Group.
5944
5976
  * @summary Ban Group Member
5945
5977
  * @param {string} groupId Must be a valid group ID.
5946
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
5978
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
5947
5979
  * @param {*} [options] Override http request option.
5948
5980
  * @throws {RequiredError}
5949
5981
  */
@@ -5983,7 +6015,7 @@ var GroupsApiFp = function (configuration) {
5983
6015
  /**
5984
6016
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
5985
6017
  * @summary Create Group
5986
- * @param {CreateGroupRequest} [createGroupRequest]
6018
+ * @param {CreateGroupRequest} createGroupRequest
5987
6019
  * @param {*} [options] Override http request option.
5988
6020
  * @throws {RequiredError}
5989
6021
  */
@@ -6004,7 +6036,7 @@ var GroupsApiFp = function (configuration) {
6004
6036
  * Creates an Announcement for a Group.
6005
6037
  * @summary Create Group Announcement
6006
6038
  * @param {string} groupId Must be a valid group ID.
6007
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
6039
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
6008
6040
  * @param {*} [options] Override http request option.
6009
6041
  * @throws {RequiredError}
6010
6042
  */
@@ -6025,7 +6057,7 @@ var GroupsApiFp = function (configuration) {
6025
6057
  * Creates a gallery for a Group.
6026
6058
  * @summary Create Group Gallery
6027
6059
  * @param {string} groupId Must be a valid group ID.
6028
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
6060
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
6029
6061
  * @param {*} [options] Override http request option.
6030
6062
  * @throws {RequiredError}
6031
6063
  */
@@ -6046,7 +6078,7 @@ var GroupsApiFp = function (configuration) {
6046
6078
  * Sends an invite to a user to join the group.
6047
6079
  * @summary Invite User to Group
6048
6080
  * @param {string} groupId Must be a valid group ID.
6049
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
6081
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
6050
6082
  * @param {*} [options] Override http request option.
6051
6083
  * @throws {RequiredError}
6052
6084
  */
@@ -6067,7 +6099,7 @@ var GroupsApiFp = function (configuration) {
6067
6099
  * Create a Group role.
6068
6100
  * @summary Create GroupRole
6069
6101
  * @param {string} groupId Must be a valid group ID.
6070
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
6102
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
6071
6103
  * @param {*} [options] Override http request option.
6072
6104
  * @throws {RequiredError}
6073
6105
  */
@@ -6536,7 +6568,7 @@ var GroupsApiFp = function (configuration) {
6536
6568
  * @summary Respond Group Join request
6537
6569
  * @param {string} groupId Must be a valid group ID.
6538
6570
  * @param {string} userId Must be a valid user ID.
6539
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
6571
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
6540
6572
  * @param {*} [options] Override http request option.
6541
6573
  * @throws {RequiredError}
6542
6574
  */
@@ -6698,7 +6730,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6698
6730
  * @summary Add Group Gallery Image
6699
6731
  * @param {string} groupId Must be a valid group ID.
6700
6732
  * @param {string} groupGalleryId Must be a valid group gallery ID.
6701
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
6733
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
6702
6734
  * @param {*} [options] Override http request option.
6703
6735
  * @throws {RequiredError}
6704
6736
  */
@@ -6721,7 +6753,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6721
6753
  * Bans a user from a Group.
6722
6754
  * @summary Ban Group Member
6723
6755
  * @param {string} groupId Must be a valid group ID.
6724
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
6756
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
6725
6757
  * @param {*} [options] Override http request option.
6726
6758
  * @throws {RequiredError}
6727
6759
  */
@@ -6741,7 +6773,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6741
6773
  /**
6742
6774
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
6743
6775
  * @summary Create Group
6744
- * @param {CreateGroupRequest} [createGroupRequest]
6776
+ * @param {CreateGroupRequest} createGroupRequest
6745
6777
  * @param {*} [options] Override http request option.
6746
6778
  * @throws {RequiredError}
6747
6779
  */
@@ -6752,7 +6784,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6752
6784
  * Creates an Announcement for a Group.
6753
6785
  * @summary Create Group Announcement
6754
6786
  * @param {string} groupId Must be a valid group ID.
6755
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
6787
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
6756
6788
  * @param {*} [options] Override http request option.
6757
6789
  * @throws {RequiredError}
6758
6790
  */
@@ -6763,7 +6795,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6763
6795
  * Creates a gallery for a Group.
6764
6796
  * @summary Create Group Gallery
6765
6797
  * @param {string} groupId Must be a valid group ID.
6766
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
6798
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
6767
6799
  * @param {*} [options] Override http request option.
6768
6800
  * @throws {RequiredError}
6769
6801
  */
@@ -6774,7 +6806,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6774
6806
  * Sends an invite to a user to join the group.
6775
6807
  * @summary Invite User to Group
6776
6808
  * @param {string} groupId Must be a valid group ID.
6777
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
6809
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
6778
6810
  * @param {*} [options] Override http request option.
6779
6811
  * @throws {RequiredError}
6780
6812
  */
@@ -6785,7 +6817,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6785
6817
  * Create a Group role.
6786
6818
  * @summary Create GroupRole
6787
6819
  * @param {string} groupId Must be a valid group ID.
6788
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
6820
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
6789
6821
  * @param {*} [options] Override http request option.
6790
6822
  * @throws {RequiredError}
6791
6823
  */
@@ -7034,7 +7066,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7034
7066
  * @summary Respond Group Join request
7035
7067
  * @param {string} groupId Must be a valid group ID.
7036
7068
  * @param {string} userId Must be a valid user ID.
7037
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
7069
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
7038
7070
  * @param {*} [options] Override http request option.
7039
7071
  * @throws {RequiredError}
7040
7072
  */
@@ -7130,7 +7162,7 @@ var GroupsApi = /** @class */ (function (_super) {
7130
7162
  * @summary Add Group Gallery Image
7131
7163
  * @param {string} groupId Must be a valid group ID.
7132
7164
  * @param {string} groupGalleryId Must be a valid group gallery ID.
7133
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
7165
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
7134
7166
  * @param {*} [options] Override http request option.
7135
7167
  * @throws {RequiredError}
7136
7168
  * @memberof GroupsApi
@@ -7157,7 +7189,7 @@ var GroupsApi = /** @class */ (function (_super) {
7157
7189
  * Bans a user from a Group.
7158
7190
  * @summary Ban Group Member
7159
7191
  * @param {string} groupId Must be a valid group ID.
7160
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
7192
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
7161
7193
  * @param {*} [options] Override http request option.
7162
7194
  * @throws {RequiredError}
7163
7195
  * @memberof GroupsApi
@@ -7181,7 +7213,7 @@ var GroupsApi = /** @class */ (function (_super) {
7181
7213
  /**
7182
7214
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
7183
7215
  * @summary Create Group
7184
- * @param {CreateGroupRequest} [createGroupRequest]
7216
+ * @param {CreateGroupRequest} createGroupRequest
7185
7217
  * @param {*} [options] Override http request option.
7186
7218
  * @throws {RequiredError}
7187
7219
  * @memberof GroupsApi
@@ -7194,7 +7226,7 @@ var GroupsApi = /** @class */ (function (_super) {
7194
7226
  * Creates an Announcement for a Group.
7195
7227
  * @summary Create Group Announcement
7196
7228
  * @param {string} groupId Must be a valid group ID.
7197
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
7229
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
7198
7230
  * @param {*} [options] Override http request option.
7199
7231
  * @throws {RequiredError}
7200
7232
  * @memberof GroupsApi
@@ -7207,7 +7239,7 @@ var GroupsApi = /** @class */ (function (_super) {
7207
7239
  * Creates a gallery for a Group.
7208
7240
  * @summary Create Group Gallery
7209
7241
  * @param {string} groupId Must be a valid group ID.
7210
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
7242
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
7211
7243
  * @param {*} [options] Override http request option.
7212
7244
  * @throws {RequiredError}
7213
7245
  * @memberof GroupsApi
@@ -7220,7 +7252,7 @@ var GroupsApi = /** @class */ (function (_super) {
7220
7252
  * Sends an invite to a user to join the group.
7221
7253
  * @summary Invite User to Group
7222
7254
  * @param {string} groupId Must be a valid group ID.
7223
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
7255
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
7224
7256
  * @param {*} [options] Override http request option.
7225
7257
  * @throws {RequiredError}
7226
7258
  * @memberof GroupsApi
@@ -7233,7 +7265,7 @@ var GroupsApi = /** @class */ (function (_super) {
7233
7265
  * Create a Group role.
7234
7266
  * @summary Create GroupRole
7235
7267
  * @param {string} groupId Must be a valid group ID.
7236
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
7268
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
7237
7269
  * @param {*} [options] Override http request option.
7238
7270
  * @throws {RequiredError}
7239
7271
  * @memberof GroupsApi
@@ -7526,7 +7558,7 @@ var GroupsApi = /** @class */ (function (_super) {
7526
7558
  * @summary Respond Group Join request
7527
7559
  * @param {string} groupId Must be a valid group ID.
7528
7560
  * @param {string} userId Must be a valid user ID.
7529
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
7561
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
7530
7562
  * @param {*} [options] Override http request option.
7531
7563
  * @throws {RequiredError}
7532
7564
  * @memberof GroupsApi
@@ -8118,7 +8150,7 @@ var InviteApiAxiosParamCreator = function (configuration) {
8118
8150
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8119
8151
  * @summary Invite User
8120
8152
  * @param {string} userId Must be a valid user ID.
8121
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
8153
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
8122
8154
  * @param {*} [options] Override http request option.
8123
8155
  * @throws {RequiredError}
8124
8156
  */
@@ -8129,6 +8161,8 @@ var InviteApiAxiosParamCreator = function (configuration) {
8129
8161
  return __generator(this, function (_a) {
8130
8162
  // verify required parameter 'userId' is not null or undefined
8131
8163
  (0, common_1.assertParamExists)('inviteUser', 'userId', userId);
8164
+ // verify required parameter 'inviteRequest' is not null or undefined
8165
+ (0, common_1.assertParamExists)('inviteUser', 'inviteRequest', inviteRequest);
8132
8166
  localVarPath = "/invite/{userId}"
8133
8167
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
8134
8168
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -8234,7 +8268,7 @@ var InviteApiAxiosParamCreator = function (configuration) {
8234
8268
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8235
8269
  * @summary Respond Invite
8236
8270
  * @param {string} notificationId Must be a valid notification ID.
8237
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8271
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
8238
8272
  * @param {*} [options] Override http request option.
8239
8273
  * @throws {RequiredError}
8240
8274
  */
@@ -8245,6 +8279,8 @@ var InviteApiAxiosParamCreator = function (configuration) {
8245
8279
  return __generator(this, function (_a) {
8246
8280
  // verify required parameter 'notificationId' is not null or undefined
8247
8281
  (0, common_1.assertParamExists)('respondInvite', 'notificationId', notificationId);
8282
+ // verify required parameter 'inviteResponse' is not null or undefined
8283
+ (0, common_1.assertParamExists)('respondInvite', 'inviteResponse', inviteResponse);
8248
8284
  localVarPath = "/invite/{notificationId}/response"
8249
8285
  .replace("{".concat("notificationId", "}"), encodeURIComponent(String(notificationId)));
8250
8286
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -8390,7 +8426,7 @@ var InviteApiFp = function (configuration) {
8390
8426
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8391
8427
  * @summary Invite User
8392
8428
  * @param {string} userId Must be a valid user ID.
8393
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
8429
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
8394
8430
  * @param {*} [options] Override http request option.
8395
8431
  * @throws {RequiredError}
8396
8432
  */
@@ -8454,7 +8490,7 @@ var InviteApiFp = function (configuration) {
8454
8490
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8455
8491
  * @summary Respond Invite
8456
8492
  * @param {string} notificationId Must be a valid notification ID.
8457
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8493
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
8458
8494
  * @param {*} [options] Override http request option.
8459
8495
  * @throws {RequiredError}
8460
8496
  */
@@ -8542,7 +8578,7 @@ var InviteApiFactory = function (configuration, basePath, axios) {
8542
8578
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8543
8579
  * @summary Invite User
8544
8580
  * @param {string} userId Must be a valid user ID.
8545
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
8581
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
8546
8582
  * @param {*} [options] Override http request option.
8547
8583
  * @throws {RequiredError}
8548
8584
  */
@@ -8576,7 +8612,7 @@ var InviteApiFactory = function (configuration, basePath, axios) {
8576
8612
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8577
8613
  * @summary Respond Invite
8578
8614
  * @param {string} notificationId Must be a valid notification ID.
8579
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8615
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
8580
8616
  * @param {*} [options] Override http request option.
8581
8617
  * @throws {RequiredError}
8582
8618
  */
@@ -8654,7 +8690,7 @@ var InviteApi = /** @class */ (function (_super) {
8654
8690
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8655
8691
  * @summary Invite User
8656
8692
  * @param {string} userId Must be a valid user ID.
8657
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
8693
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
8658
8694
  * @param {*} [options] Override http request option.
8659
8695
  * @throws {RequiredError}
8660
8696
  * @memberof InviteApi
@@ -8694,7 +8730,7 @@ var InviteApi = /** @class */ (function (_super) {
8694
8730
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8695
8731
  * @summary Respond Invite
8696
8732
  * @param {string} notificationId Must be a valid notification ID.
8697
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8733
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
8698
8734
  * @param {*} [options] Override http request option.
8699
8735
  * @throws {RequiredError}
8700
8736
  * @memberof InviteApi
@@ -9508,7 +9544,7 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9508
9544
  /**
9509
9545
  * Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations.
9510
9546
  * @summary Moderate User
9511
- * @param {ModerateUserRequest} [moderateUserRequest]
9547
+ * @param {ModerateUserRequest} moderateUserRequest
9512
9548
  * @param {*} [options] Override http request option.
9513
9549
  * @throws {RequiredError}
9514
9550
  */
@@ -9517,6 +9553,8 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9517
9553
  return __awaiter(_this, void 0, void 0, function () {
9518
9554
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9519
9555
  return __generator(this, function (_a) {
9556
+ // verify required parameter 'moderateUserRequest' is not null or undefined
9557
+ (0, common_1.assertParamExists)('moderateUser', 'moderateUserRequest', moderateUserRequest);
9520
9558
  localVarPath = "/auth/user/playermoderations";
9521
9559
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9522
9560
  if (configuration) {
@@ -9541,7 +9579,7 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9541
9579
  /**
9542
9580
  * Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default.
9543
9581
  * @summary Unmoderate User
9544
- * @param {ModerateUserRequest} [moderateUserRequest]
9582
+ * @param {ModerateUserRequest} moderateUserRequest
9545
9583
  * @param {*} [options] Override http request option.
9546
9584
  * @throws {RequiredError}
9547
9585
  */
@@ -9550,6 +9588,8 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9550
9588
  return __awaiter(_this, void 0, void 0, function () {
9551
9589
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9552
9590
  return __generator(this, function (_a) {
9591
+ // verify required parameter 'moderateUserRequest' is not null or undefined
9592
+ (0, common_1.assertParamExists)('unmoderateUser', 'moderateUserRequest', moderateUserRequest);
9553
9593
  localVarPath = "/auth/user/unplayermoderate";
9554
9594
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9555
9595
  if (configuration) {
@@ -9664,7 +9704,7 @@ var PlayermoderationApiFp = function (configuration) {
9664
9704
  /**
9665
9705
  * Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations.
9666
9706
  * @summary Moderate User
9667
- * @param {ModerateUserRequest} [moderateUserRequest]
9707
+ * @param {ModerateUserRequest} moderateUserRequest
9668
9708
  * @param {*} [options] Override http request option.
9669
9709
  * @throws {RequiredError}
9670
9710
  */
@@ -9684,7 +9724,7 @@ var PlayermoderationApiFp = function (configuration) {
9684
9724
  /**
9685
9725
  * Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default.
9686
9726
  * @summary Unmoderate User
9687
- * @param {ModerateUserRequest} [moderateUserRequest]
9727
+ * @param {ModerateUserRequest} moderateUserRequest
9688
9728
  * @param {*} [options] Override http request option.
9689
9729
  * @throws {RequiredError}
9690
9730
  */
@@ -9754,7 +9794,7 @@ var PlayermoderationApiFactory = function (configuration, basePath, axios) {
9754
9794
  /**
9755
9795
  * Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations.
9756
9796
  * @summary Moderate User
9757
- * @param {ModerateUserRequest} [moderateUserRequest]
9797
+ * @param {ModerateUserRequest} moderateUserRequest
9758
9798
  * @param {*} [options] Override http request option.
9759
9799
  * @throws {RequiredError}
9760
9800
  */
@@ -9764,7 +9804,7 @@ var PlayermoderationApiFactory = function (configuration, basePath, axios) {
9764
9804
  /**
9765
9805
  * Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default.
9766
9806
  * @summary Unmoderate User
9767
- * @param {ModerateUserRequest} [moderateUserRequest]
9807
+ * @param {ModerateUserRequest} moderateUserRequest
9768
9808
  * @param {*} [options] Override http request option.
9769
9809
  * @throws {RequiredError}
9770
9810
  */
@@ -9836,7 +9876,7 @@ var PlayermoderationApi = /** @class */ (function (_super) {
9836
9876
  /**
9837
9877
  * Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations.
9838
9878
  * @summary Moderate User
9839
- * @param {ModerateUserRequest} [moderateUserRequest]
9879
+ * @param {ModerateUserRequest} moderateUserRequest
9840
9880
  * @param {*} [options] Override http request option.
9841
9881
  * @throws {RequiredError}
9842
9882
  * @memberof PlayermoderationApi
@@ -9848,7 +9888,7 @@ var PlayermoderationApi = /** @class */ (function (_super) {
9848
9888
  /**
9849
9889
  * Removes a player moderation previously added through `moderateUser`. E.g if you previously have shown their avatar, but now want to reset it to default.
9850
9890
  * @summary Unmoderate User
9851
- * @param {ModerateUserRequest} [moderateUserRequest]
9891
+ * @param {ModerateUserRequest} moderateUserRequest
9852
9892
  * @param {*} [options] Override http request option.
9853
9893
  * @throws {RequiredError}
9854
9894
  * @memberof PlayermoderationApi