vrchat 1.16.6 → 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.6
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);
@@ -5225,10 +5255,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5225
5255
  * Returns a list of members that have been invited to the Group.
5226
5256
  * @summary Get Group Invites Sent
5227
5257
  * @param {string} groupId Must be a valid group ID.
5258
+ * @param {number} [n] The number of objects to return.
5259
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5228
5260
  * @param {*} [options] Override http request option.
5229
5261
  * @throws {RequiredError}
5230
5262
  */
5231
- getGroupInvites: function (groupId, options) {
5263
+ getGroupInvites: function (groupId, n, offset, options) {
5232
5264
  if (options === void 0) { options = {}; }
5233
5265
  return __awaiter(_this, void 0, void 0, function () {
5234
5266
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5245,6 +5277,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5245
5277
  localVarHeaderParameter = {};
5246
5278
  localVarQueryParameter = {};
5247
5279
  // authentication authCookie required
5280
+ if (n !== undefined) {
5281
+ localVarQueryParameter['n'] = n;
5282
+ }
5283
+ if (offset !== undefined) {
5284
+ localVarQueryParameter['offset'] = offset;
5285
+ }
5248
5286
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5249
5287
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5250
5288
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5377,10 +5415,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5377
5415
  * Returns a list of members that have requested to join the Group.
5378
5416
  * @summary Get Group Join Requests
5379
5417
  * @param {string} groupId Must be a valid group ID.
5418
+ * @param {number} [n] The number of objects to return.
5419
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5380
5420
  * @param {*} [options] Override http request option.
5381
5421
  * @throws {RequiredError}
5382
5422
  */
5383
- getGroupRequests: function (groupId, options) {
5423
+ getGroupRequests: function (groupId, n, offset, options) {
5384
5424
  if (options === void 0) { options = {}; }
5385
5425
  return __awaiter(_this, void 0, void 0, function () {
5386
5426
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5397,6 +5437,12 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5397
5437
  localVarHeaderParameter = {};
5398
5438
  localVarQueryParameter = {};
5399
5439
  // authentication authCookie required
5440
+ if (n !== undefined) {
5441
+ localVarQueryParameter['n'] = n;
5442
+ }
5443
+ if (offset !== undefined) {
5444
+ localVarQueryParameter['offset'] = offset;
5445
+ }
5400
5446
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5401
5447
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5402
5448
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5594,7 +5640,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5594
5640
  * @summary Respond Group Join request
5595
5641
  * @param {string} groupId Must be a valid group ID.
5596
5642
  * @param {string} userId Must be a valid user ID.
5597
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
5643
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
5598
5644
  * @param {*} [options] Override http request option.
5599
5645
  * @throws {RequiredError}
5600
5646
  */
@@ -5607,6 +5653,8 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5607
5653
  (0, common_1.assertParamExists)('respondGroupJoinRequest', 'groupId', groupId);
5608
5654
  // verify required parameter 'userId' is not null or undefined
5609
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);
5610
5658
  localVarPath = "/groups/{groupId}/requests/{userId}"
5611
5659
  .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)))
5612
5660
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
@@ -5884,7 +5932,7 @@ var GroupsApiFp = function (configuration) {
5884
5932
  * @summary Add Group Gallery Image
5885
5933
  * @param {string} groupId Must be a valid group ID.
5886
5934
  * @param {string} groupGalleryId Must be a valid group gallery ID.
5887
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
5935
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
5888
5936
  * @param {*} [options] Override http request option.
5889
5937
  * @throws {RequiredError}
5890
5938
  */
@@ -5927,7 +5975,7 @@ var GroupsApiFp = function (configuration) {
5927
5975
  * Bans a user from a Group.
5928
5976
  * @summary Ban Group Member
5929
5977
  * @param {string} groupId Must be a valid group ID.
5930
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
5978
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
5931
5979
  * @param {*} [options] Override http request option.
5932
5980
  * @throws {RequiredError}
5933
5981
  */
@@ -5967,7 +6015,7 @@ var GroupsApiFp = function (configuration) {
5967
6015
  /**
5968
6016
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
5969
6017
  * @summary Create Group
5970
- * @param {CreateGroupRequest} [createGroupRequest]
6018
+ * @param {CreateGroupRequest} createGroupRequest
5971
6019
  * @param {*} [options] Override http request option.
5972
6020
  * @throws {RequiredError}
5973
6021
  */
@@ -5988,7 +6036,7 @@ var GroupsApiFp = function (configuration) {
5988
6036
  * Creates an Announcement for a Group.
5989
6037
  * @summary Create Group Announcement
5990
6038
  * @param {string} groupId Must be a valid group ID.
5991
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
6039
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
5992
6040
  * @param {*} [options] Override http request option.
5993
6041
  * @throws {RequiredError}
5994
6042
  */
@@ -6009,7 +6057,7 @@ var GroupsApiFp = function (configuration) {
6009
6057
  * Creates a gallery for a Group.
6010
6058
  * @summary Create Group Gallery
6011
6059
  * @param {string} groupId Must be a valid group ID.
6012
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
6060
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
6013
6061
  * @param {*} [options] Override http request option.
6014
6062
  * @throws {RequiredError}
6015
6063
  */
@@ -6030,7 +6078,7 @@ var GroupsApiFp = function (configuration) {
6030
6078
  * Sends an invite to a user to join the group.
6031
6079
  * @summary Invite User to Group
6032
6080
  * @param {string} groupId Must be a valid group ID.
6033
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
6081
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
6034
6082
  * @param {*} [options] Override http request option.
6035
6083
  * @throws {RequiredError}
6036
6084
  */
@@ -6051,7 +6099,7 @@ var GroupsApiFp = function (configuration) {
6051
6099
  * Create a Group role.
6052
6100
  * @summary Create GroupRole
6053
6101
  * @param {string} groupId Must be a valid group ID.
6054
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
6102
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
6055
6103
  * @param {*} [options] Override http request option.
6056
6104
  * @throws {RequiredError}
6057
6105
  */
@@ -6308,15 +6356,17 @@ var GroupsApiFp = function (configuration) {
6308
6356
  * Returns a list of members that have been invited to the Group.
6309
6357
  * @summary Get Group Invites Sent
6310
6358
  * @param {string} groupId Must be a valid group ID.
6359
+ * @param {number} [n] The number of objects to return.
6360
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6311
6361
  * @param {*} [options] Override http request option.
6312
6362
  * @throws {RequiredError}
6313
6363
  */
6314
- getGroupInvites: function (groupId, options) {
6364
+ getGroupInvites: function (groupId, n, offset, options) {
6315
6365
  return __awaiter(this, void 0, void 0, function () {
6316
6366
  var localVarAxiosArgs;
6317
6367
  return __generator(this, function (_a) {
6318
6368
  switch (_a.label) {
6319
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupInvites(groupId, options)];
6369
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupInvites(groupId, n, offset, options)];
6320
6370
  case 1:
6321
6371
  localVarAxiosArgs = _a.sent();
6322
6372
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6392,15 +6442,17 @@ var GroupsApiFp = function (configuration) {
6392
6442
  * Returns a list of members that have requested to join the Group.
6393
6443
  * @summary Get Group Join Requests
6394
6444
  * @param {string} groupId Must be a valid group ID.
6445
+ * @param {number} [n] The number of objects to return.
6446
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6395
6447
  * @param {*} [options] Override http request option.
6396
6448
  * @throws {RequiredError}
6397
6449
  */
6398
- getGroupRequests: function (groupId, options) {
6450
+ getGroupRequests: function (groupId, n, offset, options) {
6399
6451
  return __awaiter(this, void 0, void 0, function () {
6400
6452
  var localVarAxiosArgs;
6401
6453
  return __generator(this, function (_a) {
6402
6454
  switch (_a.label) {
6403
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupRequests(groupId, options)];
6455
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupRequests(groupId, n, offset, options)];
6404
6456
  case 1:
6405
6457
  localVarAxiosArgs = _a.sent();
6406
6458
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6516,7 +6568,7 @@ var GroupsApiFp = function (configuration) {
6516
6568
  * @summary Respond Group Join request
6517
6569
  * @param {string} groupId Must be a valid group ID.
6518
6570
  * @param {string} userId Must be a valid user ID.
6519
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
6571
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
6520
6572
  * @param {*} [options] Override http request option.
6521
6573
  * @throws {RequiredError}
6522
6574
  */
@@ -6678,7 +6730,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6678
6730
  * @summary Add Group Gallery Image
6679
6731
  * @param {string} groupId Must be a valid group ID.
6680
6732
  * @param {string} groupGalleryId Must be a valid group gallery ID.
6681
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
6733
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
6682
6734
  * @param {*} [options] Override http request option.
6683
6735
  * @throws {RequiredError}
6684
6736
  */
@@ -6701,7 +6753,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6701
6753
  * Bans a user from a Group.
6702
6754
  * @summary Ban Group Member
6703
6755
  * @param {string} groupId Must be a valid group ID.
6704
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
6756
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
6705
6757
  * @param {*} [options] Override http request option.
6706
6758
  * @throws {RequiredError}
6707
6759
  */
@@ -6721,7 +6773,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6721
6773
  /**
6722
6774
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
6723
6775
  * @summary Create Group
6724
- * @param {CreateGroupRequest} [createGroupRequest]
6776
+ * @param {CreateGroupRequest} createGroupRequest
6725
6777
  * @param {*} [options] Override http request option.
6726
6778
  * @throws {RequiredError}
6727
6779
  */
@@ -6732,7 +6784,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6732
6784
  * Creates an Announcement for a Group.
6733
6785
  * @summary Create Group Announcement
6734
6786
  * @param {string} groupId Must be a valid group ID.
6735
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
6787
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
6736
6788
  * @param {*} [options] Override http request option.
6737
6789
  * @throws {RequiredError}
6738
6790
  */
@@ -6743,7 +6795,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6743
6795
  * Creates a gallery for a Group.
6744
6796
  * @summary Create Group Gallery
6745
6797
  * @param {string} groupId Must be a valid group ID.
6746
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
6798
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
6747
6799
  * @param {*} [options] Override http request option.
6748
6800
  * @throws {RequiredError}
6749
6801
  */
@@ -6754,7 +6806,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6754
6806
  * Sends an invite to a user to join the group.
6755
6807
  * @summary Invite User to Group
6756
6808
  * @param {string} groupId Must be a valid group ID.
6757
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
6809
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
6758
6810
  * @param {*} [options] Override http request option.
6759
6811
  * @throws {RequiredError}
6760
6812
  */
@@ -6765,7 +6817,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6765
6817
  * Create a Group role.
6766
6818
  * @summary Create GroupRole
6767
6819
  * @param {string} groupId Must be a valid group ID.
6768
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
6820
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
6769
6821
  * @param {*} [options] Override http request option.
6770
6822
  * @throws {RequiredError}
6771
6823
  */
@@ -6902,11 +6954,13 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6902
6954
  * Returns a list of members that have been invited to the Group.
6903
6955
  * @summary Get Group Invites Sent
6904
6956
  * @param {string} groupId Must be a valid group ID.
6957
+ * @param {number} [n] The number of objects to return.
6958
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6905
6959
  * @param {*} [options] Override http request option.
6906
6960
  * @throws {RequiredError}
6907
6961
  */
6908
- getGroupInvites: function (groupId, options) {
6909
- return localVarFp.getGroupInvites(groupId, options).then(function (request) { return request(axios, basePath); });
6962
+ getGroupInvites: function (groupId, n, offset, options) {
6963
+ return localVarFp.getGroupInvites(groupId, n, offset, options).then(function (request) { return request(axios, basePath); });
6910
6964
  },
6911
6965
  /**
6912
6966
  * Returns a LimitedGroup Member.
@@ -6946,11 +7000,13 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6946
7000
  * Returns a list of members that have requested to join the Group.
6947
7001
  * @summary Get Group Join Requests
6948
7002
  * @param {string} groupId Must be a valid group ID.
7003
+ * @param {number} [n] The number of objects to return.
7004
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6949
7005
  * @param {*} [options] Override http request option.
6950
7006
  * @throws {RequiredError}
6951
7007
  */
6952
- getGroupRequests: function (groupId, options) {
6953
- return localVarFp.getGroupRequests(groupId, options).then(function (request) { return request(axios, basePath); });
7008
+ getGroupRequests: function (groupId, n, offset, options) {
7009
+ return localVarFp.getGroupRequests(groupId, n, offset, options).then(function (request) { return request(axios, basePath); });
6954
7010
  },
6955
7011
  /**
6956
7012
  * Returns a Group Role by ID.
@@ -7010,7 +7066,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7010
7066
  * @summary Respond Group Join request
7011
7067
  * @param {string} groupId Must be a valid group ID.
7012
7068
  * @param {string} userId Must be a valid user ID.
7013
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
7069
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
7014
7070
  * @param {*} [options] Override http request option.
7015
7071
  * @throws {RequiredError}
7016
7072
  */
@@ -7106,7 +7162,7 @@ var GroupsApi = /** @class */ (function (_super) {
7106
7162
  * @summary Add Group Gallery Image
7107
7163
  * @param {string} groupId Must be a valid group ID.
7108
7164
  * @param {string} groupGalleryId Must be a valid group gallery ID.
7109
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
7165
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
7110
7166
  * @param {*} [options] Override http request option.
7111
7167
  * @throws {RequiredError}
7112
7168
  * @memberof GroupsApi
@@ -7133,7 +7189,7 @@ var GroupsApi = /** @class */ (function (_super) {
7133
7189
  * Bans a user from a Group.
7134
7190
  * @summary Ban Group Member
7135
7191
  * @param {string} groupId Must be a valid group ID.
7136
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
7192
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
7137
7193
  * @param {*} [options] Override http request option.
7138
7194
  * @throws {RequiredError}
7139
7195
  * @memberof GroupsApi
@@ -7157,7 +7213,7 @@ var GroupsApi = /** @class */ (function (_super) {
7157
7213
  /**
7158
7214
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
7159
7215
  * @summary Create Group
7160
- * @param {CreateGroupRequest} [createGroupRequest]
7216
+ * @param {CreateGroupRequest} createGroupRequest
7161
7217
  * @param {*} [options] Override http request option.
7162
7218
  * @throws {RequiredError}
7163
7219
  * @memberof GroupsApi
@@ -7170,7 +7226,7 @@ var GroupsApi = /** @class */ (function (_super) {
7170
7226
  * Creates an Announcement for a Group.
7171
7227
  * @summary Create Group Announcement
7172
7228
  * @param {string} groupId Must be a valid group ID.
7173
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
7229
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
7174
7230
  * @param {*} [options] Override http request option.
7175
7231
  * @throws {RequiredError}
7176
7232
  * @memberof GroupsApi
@@ -7183,7 +7239,7 @@ var GroupsApi = /** @class */ (function (_super) {
7183
7239
  * Creates a gallery for a Group.
7184
7240
  * @summary Create Group Gallery
7185
7241
  * @param {string} groupId Must be a valid group ID.
7186
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
7242
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
7187
7243
  * @param {*} [options] Override http request option.
7188
7244
  * @throws {RequiredError}
7189
7245
  * @memberof GroupsApi
@@ -7196,7 +7252,7 @@ var GroupsApi = /** @class */ (function (_super) {
7196
7252
  * Sends an invite to a user to join the group.
7197
7253
  * @summary Invite User to Group
7198
7254
  * @param {string} groupId Must be a valid group ID.
7199
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
7255
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
7200
7256
  * @param {*} [options] Override http request option.
7201
7257
  * @throws {RequiredError}
7202
7258
  * @memberof GroupsApi
@@ -7209,7 +7265,7 @@ var GroupsApi = /** @class */ (function (_super) {
7209
7265
  * Create a Group role.
7210
7266
  * @summary Create GroupRole
7211
7267
  * @param {string} groupId Must be a valid group ID.
7212
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
7268
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
7213
7269
  * @param {*} [options] Override http request option.
7214
7270
  * @throws {RequiredError}
7215
7271
  * @memberof GroupsApi
@@ -7370,13 +7426,15 @@ var GroupsApi = /** @class */ (function (_super) {
7370
7426
  * Returns a list of members that have been invited to the Group.
7371
7427
  * @summary Get Group Invites Sent
7372
7428
  * @param {string} groupId Must be a valid group ID.
7429
+ * @param {number} [n] The number of objects to return.
7430
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7373
7431
  * @param {*} [options] Override http request option.
7374
7432
  * @throws {RequiredError}
7375
7433
  * @memberof GroupsApi
7376
7434
  */
7377
- GroupsApi.prototype.getGroupInvites = function (groupId, options) {
7435
+ GroupsApi.prototype.getGroupInvites = function (groupId, n, offset, options) {
7378
7436
  var _this = this;
7379
- return (0, exports.GroupsApiFp)(this.configuration).getGroupInvites(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7437
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupInvites(groupId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
7380
7438
  };
7381
7439
  /**
7382
7440
  * Returns a LimitedGroup Member.
@@ -7422,13 +7480,15 @@ var GroupsApi = /** @class */ (function (_super) {
7422
7480
  * Returns a list of members that have requested to join the Group.
7423
7481
  * @summary Get Group Join Requests
7424
7482
  * @param {string} groupId Must be a valid group ID.
7483
+ * @param {number} [n] The number of objects to return.
7484
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7425
7485
  * @param {*} [options] Override http request option.
7426
7486
  * @throws {RequiredError}
7427
7487
  * @memberof GroupsApi
7428
7488
  */
7429
- GroupsApi.prototype.getGroupRequests = function (groupId, options) {
7489
+ GroupsApi.prototype.getGroupRequests = function (groupId, n, offset, options) {
7430
7490
  var _this = this;
7431
- return (0, exports.GroupsApiFp)(this.configuration).getGroupRequests(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7491
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupRequests(groupId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
7432
7492
  };
7433
7493
  /**
7434
7494
  * Returns a Group Role by ID.
@@ -7498,7 +7558,7 @@ var GroupsApi = /** @class */ (function (_super) {
7498
7558
  * @summary Respond Group Join request
7499
7559
  * @param {string} groupId Must be a valid group ID.
7500
7560
  * @param {string} userId Must be a valid user ID.
7501
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
7561
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
7502
7562
  * @param {*} [options] Override http request option.
7503
7563
  * @throws {RequiredError}
7504
7564
  * @memberof GroupsApi
@@ -8090,7 +8150,7 @@ var InviteApiAxiosParamCreator = function (configuration) {
8090
8150
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8091
8151
  * @summary Invite User
8092
8152
  * @param {string} userId Must be a valid user ID.
8093
- * @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.
8094
8154
  * @param {*} [options] Override http request option.
8095
8155
  * @throws {RequiredError}
8096
8156
  */
@@ -8101,6 +8161,8 @@ var InviteApiAxiosParamCreator = function (configuration) {
8101
8161
  return __generator(this, function (_a) {
8102
8162
  // verify required parameter 'userId' is not null or undefined
8103
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);
8104
8166
  localVarPath = "/invite/{userId}"
8105
8167
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
8106
8168
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -8206,7 +8268,7 @@ var InviteApiAxiosParamCreator = function (configuration) {
8206
8268
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8207
8269
  * @summary Respond Invite
8208
8270
  * @param {string} notificationId Must be a valid notification ID.
8209
- * @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.
8210
8272
  * @param {*} [options] Override http request option.
8211
8273
  * @throws {RequiredError}
8212
8274
  */
@@ -8217,6 +8279,8 @@ var InviteApiAxiosParamCreator = function (configuration) {
8217
8279
  return __generator(this, function (_a) {
8218
8280
  // verify required parameter 'notificationId' is not null or undefined
8219
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);
8220
8284
  localVarPath = "/invite/{notificationId}/response"
8221
8285
  .replace("{".concat("notificationId", "}"), encodeURIComponent(String(notificationId)));
8222
8286
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -8362,7 +8426,7 @@ var InviteApiFp = function (configuration) {
8362
8426
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8363
8427
  * @summary Invite User
8364
8428
  * @param {string} userId Must be a valid user ID.
8365
- * @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.
8366
8430
  * @param {*} [options] Override http request option.
8367
8431
  * @throws {RequiredError}
8368
8432
  */
@@ -8426,7 +8490,7 @@ var InviteApiFp = function (configuration) {
8426
8490
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8427
8491
  * @summary Respond Invite
8428
8492
  * @param {string} notificationId Must be a valid notification ID.
8429
- * @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.
8430
8494
  * @param {*} [options] Override http request option.
8431
8495
  * @throws {RequiredError}
8432
8496
  */
@@ -8514,7 +8578,7 @@ var InviteApiFactory = function (configuration, basePath, axios) {
8514
8578
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8515
8579
  * @summary Invite User
8516
8580
  * @param {string} userId Must be a valid user ID.
8517
- * @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.
8518
8582
  * @param {*} [options] Override http request option.
8519
8583
  * @throws {RequiredError}
8520
8584
  */
@@ -8548,7 +8612,7 @@ var InviteApiFactory = function (configuration, basePath, axios) {
8548
8612
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8549
8613
  * @summary Respond Invite
8550
8614
  * @param {string} notificationId Must be a valid notification ID.
8551
- * @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.
8552
8616
  * @param {*} [options] Override http request option.
8553
8617
  * @throws {RequiredError}
8554
8618
  */
@@ -8626,7 +8690,7 @@ var InviteApi = /** @class */ (function (_super) {
8626
8690
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8627
8691
  * @summary Invite User
8628
8692
  * @param {string} userId Must be a valid user ID.
8629
- * @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.
8630
8694
  * @param {*} [options] Override http request option.
8631
8695
  * @throws {RequiredError}
8632
8696
  * @memberof InviteApi
@@ -8666,7 +8730,7 @@ var InviteApi = /** @class */ (function (_super) {
8666
8730
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8667
8731
  * @summary Respond Invite
8668
8732
  * @param {string} notificationId Must be a valid notification ID.
8669
- * @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.
8670
8734
  * @param {*} [options] Override http request option.
8671
8735
  * @throws {RequiredError}
8672
8736
  * @memberof InviteApi
@@ -9480,7 +9544,7 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9480
9544
  /**
9481
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.
9482
9546
  * @summary Moderate User
9483
- * @param {ModerateUserRequest} [moderateUserRequest]
9547
+ * @param {ModerateUserRequest} moderateUserRequest
9484
9548
  * @param {*} [options] Override http request option.
9485
9549
  * @throws {RequiredError}
9486
9550
  */
@@ -9489,6 +9553,8 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9489
9553
  return __awaiter(_this, void 0, void 0, function () {
9490
9554
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9491
9555
  return __generator(this, function (_a) {
9556
+ // verify required parameter 'moderateUserRequest' is not null or undefined
9557
+ (0, common_1.assertParamExists)('moderateUser', 'moderateUserRequest', moderateUserRequest);
9492
9558
  localVarPath = "/auth/user/playermoderations";
9493
9559
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9494
9560
  if (configuration) {
@@ -9513,7 +9579,7 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9513
9579
  /**
9514
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.
9515
9581
  * @summary Unmoderate User
9516
- * @param {ModerateUserRequest} [moderateUserRequest]
9582
+ * @param {ModerateUserRequest} moderateUserRequest
9517
9583
  * @param {*} [options] Override http request option.
9518
9584
  * @throws {RequiredError}
9519
9585
  */
@@ -9522,6 +9588,8 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
9522
9588
  return __awaiter(_this, void 0, void 0, function () {
9523
9589
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9524
9590
  return __generator(this, function (_a) {
9591
+ // verify required parameter 'moderateUserRequest' is not null or undefined
9592
+ (0, common_1.assertParamExists)('unmoderateUser', 'moderateUserRequest', moderateUserRequest);
9525
9593
  localVarPath = "/auth/user/unplayermoderate";
9526
9594
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9527
9595
  if (configuration) {
@@ -9636,7 +9704,7 @@ var PlayermoderationApiFp = function (configuration) {
9636
9704
  /**
9637
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.
9638
9706
  * @summary Moderate User
9639
- * @param {ModerateUserRequest} [moderateUserRequest]
9707
+ * @param {ModerateUserRequest} moderateUserRequest
9640
9708
  * @param {*} [options] Override http request option.
9641
9709
  * @throws {RequiredError}
9642
9710
  */
@@ -9656,7 +9724,7 @@ var PlayermoderationApiFp = function (configuration) {
9656
9724
  /**
9657
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.
9658
9726
  * @summary Unmoderate User
9659
- * @param {ModerateUserRequest} [moderateUserRequest]
9727
+ * @param {ModerateUserRequest} moderateUserRequest
9660
9728
  * @param {*} [options] Override http request option.
9661
9729
  * @throws {RequiredError}
9662
9730
  */
@@ -9726,7 +9794,7 @@ var PlayermoderationApiFactory = function (configuration, basePath, axios) {
9726
9794
  /**
9727
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.
9728
9796
  * @summary Moderate User
9729
- * @param {ModerateUserRequest} [moderateUserRequest]
9797
+ * @param {ModerateUserRequest} moderateUserRequest
9730
9798
  * @param {*} [options] Override http request option.
9731
9799
  * @throws {RequiredError}
9732
9800
  */
@@ -9736,7 +9804,7 @@ var PlayermoderationApiFactory = function (configuration, basePath, axios) {
9736
9804
  /**
9737
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.
9738
9806
  * @summary Unmoderate User
9739
- * @param {ModerateUserRequest} [moderateUserRequest]
9807
+ * @param {ModerateUserRequest} moderateUserRequest
9740
9808
  * @param {*} [options] Override http request option.
9741
9809
  * @throws {RequiredError}
9742
9810
  */
@@ -9808,7 +9876,7 @@ var PlayermoderationApi = /** @class */ (function (_super) {
9808
9876
  /**
9809
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.
9810
9878
  * @summary Moderate User
9811
- * @param {ModerateUserRequest} [moderateUserRequest]
9879
+ * @param {ModerateUserRequest} moderateUserRequest
9812
9880
  * @param {*} [options] Override http request option.
9813
9881
  * @throws {RequiredError}
9814
9882
  * @memberof PlayermoderationApi
@@ -9820,7 +9888,7 @@ var PlayermoderationApi = /** @class */ (function (_super) {
9820
9888
  /**
9821
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.
9822
9890
  * @summary Unmoderate User
9823
- * @param {ModerateUserRequest} [moderateUserRequest]
9891
+ * @param {ModerateUserRequest} moderateUserRequest
9824
9892
  * @param {*} [options] Override http request option.
9825
9893
  * @throws {RequiredError}
9826
9894
  * @memberof PlayermoderationApi