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/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.16.7
6
+ * The version of the OpenAPI document: 1.16.8
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2575,6 +2575,20 @@ export interface GroupGalleryImage {
2575
2575
  */
2576
2576
  'approvedAt'?: string;
2577
2577
  }
2578
+ /**
2579
+ *
2580
+ * @export
2581
+ * @enum {string}
2582
+ */
2583
+
2584
+ export const GroupJoinRequestAction = {
2585
+ Accept: 'accept',
2586
+ Reject: 'reject'
2587
+ } as const;
2588
+
2589
+ export type GroupJoinRequestAction = typeof GroupJoinRequestAction[keyof typeof GroupJoinRequestAction];
2590
+
2591
+
2578
2592
  /**
2579
2593
  *
2580
2594
  * @export
@@ -2641,10 +2655,10 @@ export interface GroupLimitedMember {
2641
2655
  'joinedAt'?: string;
2642
2656
  /**
2643
2657
  *
2644
- * @type {string}
2658
+ * @type {GroupMemberStatus}
2645
2659
  * @memberof GroupLimitedMember
2646
2660
  */
2647
- 'membershipStatus'?: string;
2661
+ 'membershipStatus'?: GroupMemberStatus;
2648
2662
  /**
2649
2663
  *
2650
2664
  * @type {string}
@@ -2741,13 +2755,13 @@ export interface GroupMember {
2741
2755
  * @type {string}
2742
2756
  * @memberof GroupMember
2743
2757
  */
2744
- 'joinedAt'?: string;
2758
+ 'joinedAt'?: string | null;
2745
2759
  /**
2746
2760
  *
2747
- * @type {string}
2761
+ * @type {GroupMemberStatus}
2748
2762
  * @memberof GroupMember
2749
2763
  */
2750
- 'membershipStatus'?: string;
2764
+ 'membershipStatus'?: GroupMemberStatus;
2751
2765
  /**
2752
2766
  *
2753
2767
  * @type {string}
@@ -2832,7 +2846,7 @@ export interface GroupMemberLimitedUser {
2832
2846
  * @type {string}
2833
2847
  * @memberof GroupMemberLimitedUser
2834
2848
  */
2835
- 'currentAvatarThumbnailImageUrl'?: string;
2849
+ 'currentAvatarThumbnailImageUrl'?: string | null;
2836
2850
  /**
2837
2851
  *
2838
2852
  * @type {Array<string>}
@@ -2850,7 +2864,8 @@ export const GroupMemberStatus = {
2850
2864
  Inactive: 'inactive',
2851
2865
  Member: 'member',
2852
2866
  Requested: 'requested',
2853
- Invited: 'invited'
2867
+ Invited: 'invited',
2868
+ Banned: 'banned'
2854
2869
  } as const;
2855
2870
 
2856
2871
  export type GroupMemberStatus = typeof GroupMemberStatus[keyof typeof GroupMemberStatus];
@@ -3456,6 +3471,54 @@ export interface Instance {
3456
3471
  * @memberof Instance
3457
3472
  */
3458
3473
  'private'?: string;
3474
+ /**
3475
+ *
3476
+ * @type {boolean}
3477
+ * @memberof Instance
3478
+ */
3479
+ 'queueEnabled': boolean;
3480
+ /**
3481
+ *
3482
+ * @type {number}
3483
+ * @memberof Instance
3484
+ */
3485
+ 'queueSize': number;
3486
+ /**
3487
+ *
3488
+ * @type {number}
3489
+ * @memberof Instance
3490
+ */
3491
+ 'recommendedCapacity': number;
3492
+ /**
3493
+ *
3494
+ * @type {boolean}
3495
+ * @memberof Instance
3496
+ */
3497
+ 'roleRestricted': boolean;
3498
+ /**
3499
+ *
3500
+ * @type {boolean}
3501
+ * @memberof Instance
3502
+ */
3503
+ 'strict': boolean;
3504
+ /**
3505
+ *
3506
+ * @type {number}
3507
+ * @memberof Instance
3508
+ */
3509
+ 'userCount': number;
3510
+ /**
3511
+ *
3512
+ * @type {World}
3513
+ * @memberof Instance
3514
+ */
3515
+ 'world': World;
3516
+ /**
3517
+ * The users field is present on instances created by the requesting user.
3518
+ * @type {Array<LimitedUser>}
3519
+ * @memberof Instance
3520
+ */
3521
+ 'users'?: Array<LimitedUser>;
3459
3522
  }
3460
3523
  /**
3461
3524
  *
@@ -4562,10 +4625,10 @@ export interface RequestInviteRequest {
4562
4625
  export interface RespondGroupJoinRequest {
4563
4626
  /**
4564
4627
  *
4565
- * @type {string}
4628
+ * @type {GroupJoinRequestAction}
4566
4629
  * @memberof RespondGroupJoinRequest
4567
4630
  */
4568
- 'action'?: string;
4631
+ 'action': GroupJoinRequestAction;
4569
4632
  }
4570
4633
  /**
4571
4634
  *
@@ -5997,7 +6060,7 @@ export interface World {
5997
6060
  * @type {string}
5998
6061
  * @memberof World
5999
6062
  */
6000
- 'namespace': string;
6063
+ 'namespace'?: string;
6001
6064
  /**
6002
6065
  * Will always be `0` when unauthenticated.
6003
6066
  * @type {number}
@@ -6287,11 +6350,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
6287
6350
  /**
6288
6351
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
6289
6352
  * @summary Verify 2FA code
6290
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6353
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6291
6354
  * @param {*} [options] Override http request option.
6292
6355
  * @throws {RequiredError}
6293
6356
  */
6294
- verify2FA: async (twoFactorAuthCode?: TwoFactorAuthCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6357
+ verify2FA: async (twoFactorAuthCode: TwoFactorAuthCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6358
+ // verify required parameter 'twoFactorAuthCode' is not null or undefined
6359
+ assertParamExists('verify2FA', 'twoFactorAuthCode', twoFactorAuthCode)
6295
6360
  const localVarPath = `/auth/twofactorauth/totp/verify`;
6296
6361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6297
6362
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6323,11 +6388,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
6323
6388
  /**
6324
6389
  * Finishes the login sequence with an 2FA email code.
6325
6390
  * @summary Verify 2FA email code
6326
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
6391
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
6327
6392
  * @param {*} [options] Override http request option.
6328
6393
  * @throws {RequiredError}
6329
6394
  */
6330
- verify2FAEmailCode: async (twoFactorEmailCode?: TwoFactorEmailCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6395
+ verify2FAEmailCode: async (twoFactorEmailCode: TwoFactorEmailCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6396
+ // verify required parameter 'twoFactorEmailCode' is not null or undefined
6397
+ assertParamExists('verify2FAEmailCode', 'twoFactorEmailCode', twoFactorEmailCode)
6331
6398
  const localVarPath = `/auth/twofactorauth/emailotp/verify`;
6332
6399
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6333
6400
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6391,11 +6458,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
6391
6458
  /**
6392
6459
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
6393
6460
  * @summary Verify 2FA code with Recovery code
6394
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6461
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6395
6462
  * @param {*} [options] Override http request option.
6396
6463
  * @throws {RequiredError}
6397
6464
  */
6398
- verifyRecoveryCode: async (twoFactorAuthCode?: TwoFactorAuthCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6465
+ verifyRecoveryCode: async (twoFactorAuthCode: TwoFactorAuthCode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6466
+ // verify required parameter 'twoFactorAuthCode' is not null or undefined
6467
+ assertParamExists('verifyRecoveryCode', 'twoFactorAuthCode', twoFactorAuthCode)
6399
6468
  const localVarPath = `/auth/twofactorauth/otp/verify`;
6400
6469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6401
6470
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6482,22 +6551,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
6482
6551
  /**
6483
6552
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
6484
6553
  * @summary Verify 2FA code
6485
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6554
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6486
6555
  * @param {*} [options] Override http request option.
6487
6556
  * @throws {RequiredError}
6488
6557
  */
6489
- async verify2FA(twoFactorAuthCode?: TwoFactorAuthCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAResult>> {
6558
+ async verify2FA(twoFactorAuthCode: TwoFactorAuthCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAResult>> {
6490
6559
  const localVarAxiosArgs = await localVarAxiosParamCreator.verify2FA(twoFactorAuthCode, options);
6491
6560
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6492
6561
  },
6493
6562
  /**
6494
6563
  * Finishes the login sequence with an 2FA email code.
6495
6564
  * @summary Verify 2FA email code
6496
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
6565
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
6497
6566
  * @param {*} [options] Override http request option.
6498
6567
  * @throws {RequiredError}
6499
6568
  */
6500
- async verify2FAEmailCode(twoFactorEmailCode?: TwoFactorEmailCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAEmailCodeResult>> {
6569
+ async verify2FAEmailCode(twoFactorEmailCode: TwoFactorEmailCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAEmailCodeResult>> {
6501
6570
  const localVarAxiosArgs = await localVarAxiosParamCreator.verify2FAEmailCode(twoFactorEmailCode, options);
6502
6571
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6503
6572
  },
@@ -6514,11 +6583,11 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
6514
6583
  /**
6515
6584
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
6516
6585
  * @summary Verify 2FA code with Recovery code
6517
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6586
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6518
6587
  * @param {*} [options] Override http request option.
6519
6588
  * @throws {RequiredError}
6520
6589
  */
6521
- async verifyRecoveryCode(twoFactorAuthCode?: TwoFactorAuthCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAResult>> {
6590
+ async verifyRecoveryCode(twoFactorAuthCode: TwoFactorAuthCode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Verify2FAResult>> {
6522
6591
  const localVarAxiosArgs = await localVarAxiosParamCreator.verifyRecoveryCode(twoFactorAuthCode, options);
6523
6592
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6524
6593
  },
@@ -6576,21 +6645,21 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
6576
6645
  /**
6577
6646
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
6578
6647
  * @summary Verify 2FA code
6579
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6648
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6580
6649
  * @param {*} [options] Override http request option.
6581
6650
  * @throws {RequiredError}
6582
6651
  */
6583
- verify2FA(twoFactorAuthCode?: TwoFactorAuthCode, options?: any): AxiosPromise<Verify2FAResult> {
6652
+ verify2FA(twoFactorAuthCode: TwoFactorAuthCode, options?: any): AxiosPromise<Verify2FAResult> {
6584
6653
  return localVarFp.verify2FA(twoFactorAuthCode, options).then((request) => request(axios, basePath));
6585
6654
  },
6586
6655
  /**
6587
6656
  * Finishes the login sequence with an 2FA email code.
6588
6657
  * @summary Verify 2FA email code
6589
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
6658
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
6590
6659
  * @param {*} [options] Override http request option.
6591
6660
  * @throws {RequiredError}
6592
6661
  */
6593
- verify2FAEmailCode(twoFactorEmailCode?: TwoFactorEmailCode, options?: any): AxiosPromise<Verify2FAEmailCodeResult> {
6662
+ verify2FAEmailCode(twoFactorEmailCode: TwoFactorEmailCode, options?: any): AxiosPromise<Verify2FAEmailCodeResult> {
6594
6663
  return localVarFp.verify2FAEmailCode(twoFactorEmailCode, options).then((request) => request(axios, basePath));
6595
6664
  },
6596
6665
  /**
@@ -6605,11 +6674,11 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
6605
6674
  /**
6606
6675
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
6607
6676
  * @summary Verify 2FA code with Recovery code
6608
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6677
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6609
6678
  * @param {*} [options] Override http request option.
6610
6679
  * @throws {RequiredError}
6611
6680
  */
6612
- verifyRecoveryCode(twoFactorAuthCode?: TwoFactorAuthCode, options?: any): AxiosPromise<Verify2FAResult> {
6681
+ verifyRecoveryCode(twoFactorAuthCode: TwoFactorAuthCode, options?: any): AxiosPromise<Verify2FAResult> {
6613
6682
  return localVarFp.verifyRecoveryCode(twoFactorAuthCode, options).then((request) => request(axios, basePath));
6614
6683
  },
6615
6684
  };
@@ -6674,24 +6743,24 @@ export class AuthenticationApi extends BaseAPI {
6674
6743
  /**
6675
6744
  * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
6676
6745
  * @summary Verify 2FA code
6677
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6746
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6678
6747
  * @param {*} [options] Override http request option.
6679
6748
  * @throws {RequiredError}
6680
6749
  * @memberof AuthenticationApi
6681
6750
  */
6682
- public verify2FA(twoFactorAuthCode?: TwoFactorAuthCode, options?: AxiosRequestConfig) {
6751
+ public verify2FA(twoFactorAuthCode: TwoFactorAuthCode, options?: AxiosRequestConfig) {
6683
6752
  return AuthenticationApiFp(this.configuration).verify2FA(twoFactorAuthCode, options).then((request) => request(this.axios, this.basePath));
6684
6753
  }
6685
6754
 
6686
6755
  /**
6687
6756
  * Finishes the login sequence with an 2FA email code.
6688
6757
  * @summary Verify 2FA email code
6689
- * @param {TwoFactorEmailCode} [twoFactorEmailCode]
6758
+ * @param {TwoFactorEmailCode} twoFactorEmailCode
6690
6759
  * @param {*} [options] Override http request option.
6691
6760
  * @throws {RequiredError}
6692
6761
  * @memberof AuthenticationApi
6693
6762
  */
6694
- public verify2FAEmailCode(twoFactorEmailCode?: TwoFactorEmailCode, options?: AxiosRequestConfig) {
6763
+ public verify2FAEmailCode(twoFactorEmailCode: TwoFactorEmailCode, options?: AxiosRequestConfig) {
6695
6764
  return AuthenticationApiFp(this.configuration).verify2FAEmailCode(twoFactorEmailCode, options).then((request) => request(this.axios, this.basePath));
6696
6765
  }
6697
6766
 
@@ -6709,12 +6778,12 @@ export class AuthenticationApi extends BaseAPI {
6709
6778
  /**
6710
6779
  * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
6711
6780
  * @summary Verify 2FA code with Recovery code
6712
- * @param {TwoFactorAuthCode} [twoFactorAuthCode]
6781
+ * @param {TwoFactorAuthCode} twoFactorAuthCode
6713
6782
  * @param {*} [options] Override http request option.
6714
6783
  * @throws {RequiredError}
6715
6784
  * @memberof AuthenticationApi
6716
6785
  */
6717
- public verifyRecoveryCode(twoFactorAuthCode?: TwoFactorAuthCode, options?: AxiosRequestConfig) {
6786
+ public verifyRecoveryCode(twoFactorAuthCode: TwoFactorAuthCode, options?: AxiosRequestConfig) {
6718
6787
  return AuthenticationApiFp(this.configuration).verifyRecoveryCode(twoFactorAuthCode, options).then((request) => request(this.axios, this.basePath));
6719
6788
  }
6720
6789
  }
@@ -9869,15 +9938,17 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
9869
9938
  * @summary Add Group Gallery Image
9870
9939
  * @param {string} groupId Must be a valid group ID.
9871
9940
  * @param {string} groupGalleryId Must be a valid group gallery ID.
9872
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
9941
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
9873
9942
  * @param {*} [options] Override http request option.
9874
9943
  * @throws {RequiredError}
9875
9944
  */
9876
- addGroupGalleryImage: async (groupId: string, groupGalleryId: string, addGroupGalleryImageRequest?: AddGroupGalleryImageRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9945
+ addGroupGalleryImage: async (groupId: string, groupGalleryId: string, addGroupGalleryImageRequest: AddGroupGalleryImageRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9877
9946
  // verify required parameter 'groupId' is not null or undefined
9878
9947
  assertParamExists('addGroupGalleryImage', 'groupId', groupId)
9879
9948
  // verify required parameter 'groupGalleryId' is not null or undefined
9880
9949
  assertParamExists('addGroupGalleryImage', 'groupGalleryId', groupGalleryId)
9950
+ // verify required parameter 'addGroupGalleryImageRequest' is not null or undefined
9951
+ assertParamExists('addGroupGalleryImage', 'addGroupGalleryImageRequest', addGroupGalleryImageRequest)
9881
9952
  const localVarPath = `/groups/{groupId}/galleries/{groupGalleryId}/images`
9882
9953
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
9883
9954
  .replace(`{${"groupGalleryId"}}`, encodeURIComponent(String(groupGalleryId)));
@@ -9956,13 +10027,15 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
9956
10027
  * Bans a user from a Group.
9957
10028
  * @summary Ban Group Member
9958
10029
  * @param {string} groupId Must be a valid group ID.
9959
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
10030
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
9960
10031
  * @param {*} [options] Override http request option.
9961
10032
  * @throws {RequiredError}
9962
10033
  */
9963
- banGroupMember: async (groupId: string, banGroupMemberRequest?: BanGroupMemberRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10034
+ banGroupMember: async (groupId: string, banGroupMemberRequest: BanGroupMemberRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9964
10035
  // verify required parameter 'groupId' is not null or undefined
9965
10036
  assertParamExists('banGroupMember', 'groupId', groupId)
10037
+ // verify required parameter 'banGroupMemberRequest' is not null or undefined
10038
+ assertParamExists('banGroupMember', 'banGroupMemberRequest', banGroupMemberRequest)
9966
10039
  const localVarPath = `/groups/{groupId}/bans`
9967
10040
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
9968
10041
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10031,11 +10104,13 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10031
10104
  /**
10032
10105
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
10033
10106
  * @summary Create Group
10034
- * @param {CreateGroupRequest} [createGroupRequest]
10107
+ * @param {CreateGroupRequest} createGroupRequest
10035
10108
  * @param {*} [options] Override http request option.
10036
10109
  * @throws {RequiredError}
10037
10110
  */
10038
- createGroup: async (createGroupRequest?: CreateGroupRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10111
+ createGroup: async (createGroupRequest: CreateGroupRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10112
+ // verify required parameter 'createGroupRequest' is not null or undefined
10113
+ assertParamExists('createGroup', 'createGroupRequest', createGroupRequest)
10039
10114
  const localVarPath = `/groups`;
10040
10115
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10041
10116
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10068,13 +10143,15 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10068
10143
  * Creates an Announcement for a Group.
10069
10144
  * @summary Create Group Announcement
10070
10145
  * @param {string} groupId Must be a valid group ID.
10071
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
10146
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
10072
10147
  * @param {*} [options] Override http request option.
10073
10148
  * @throws {RequiredError}
10074
10149
  */
10075
- createGroupAnnouncement: async (groupId: string, createGroupAnnouncementRequest?: CreateGroupAnnouncementRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10150
+ createGroupAnnouncement: async (groupId: string, createGroupAnnouncementRequest: CreateGroupAnnouncementRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10076
10151
  // verify required parameter 'groupId' is not null or undefined
10077
10152
  assertParamExists('createGroupAnnouncement', 'groupId', groupId)
10153
+ // verify required parameter 'createGroupAnnouncementRequest' is not null or undefined
10154
+ assertParamExists('createGroupAnnouncement', 'createGroupAnnouncementRequest', createGroupAnnouncementRequest)
10078
10155
  const localVarPath = `/groups/{groupId}/announcement`
10079
10156
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10080
10157
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10108,13 +10185,15 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10108
10185
  * Creates a gallery for a Group.
10109
10186
  * @summary Create Group Gallery
10110
10187
  * @param {string} groupId Must be a valid group ID.
10111
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
10188
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
10112
10189
  * @param {*} [options] Override http request option.
10113
10190
  * @throws {RequiredError}
10114
10191
  */
10115
- createGroupGallery: async (groupId: string, createGroupGalleryRequest?: CreateGroupGalleryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10192
+ createGroupGallery: async (groupId: string, createGroupGalleryRequest: CreateGroupGalleryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10116
10193
  // verify required parameter 'groupId' is not null or undefined
10117
10194
  assertParamExists('createGroupGallery', 'groupId', groupId)
10195
+ // verify required parameter 'createGroupGalleryRequest' is not null or undefined
10196
+ assertParamExists('createGroupGallery', 'createGroupGalleryRequest', createGroupGalleryRequest)
10118
10197
  const localVarPath = `/groups/{groupId}/galleries`
10119
10198
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10120
10199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10148,13 +10227,15 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10148
10227
  * Sends an invite to a user to join the group.
10149
10228
  * @summary Invite User to Group
10150
10229
  * @param {string} groupId Must be a valid group ID.
10151
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
10230
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
10152
10231
  * @param {*} [options] Override http request option.
10153
10232
  * @throws {RequiredError}
10154
10233
  */
10155
- createGroupInvite: async (groupId: string, createGroupInviteRequest?: CreateGroupInviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10234
+ createGroupInvite: async (groupId: string, createGroupInviteRequest: CreateGroupInviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10156
10235
  // verify required parameter 'groupId' is not null or undefined
10157
10236
  assertParamExists('createGroupInvite', 'groupId', groupId)
10237
+ // verify required parameter 'createGroupInviteRequest' is not null or undefined
10238
+ assertParamExists('createGroupInvite', 'createGroupInviteRequest', createGroupInviteRequest)
10158
10239
  const localVarPath = `/groups/{groupId}/invites`
10159
10240
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10160
10241
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -10188,13 +10269,15 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
10188
10269
  * Create a Group role.
10189
10270
  * @summary Create GroupRole
10190
10271
  * @param {string} groupId Must be a valid group ID.
10191
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
10272
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
10192
10273
  * @param {*} [options] Override http request option.
10193
10274
  * @throws {RequiredError}
10194
10275
  */
10195
- createGroupRole: async (groupId: string, createGroupRoleRequest?: CreateGroupRoleRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10276
+ createGroupRole: async (groupId: string, createGroupRoleRequest: CreateGroupRoleRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10196
10277
  // verify required parameter 'groupId' is not null or undefined
10197
10278
  assertParamExists('createGroupRole', 'groupId', groupId)
10279
+ // verify required parameter 'createGroupRoleRequest' is not null or undefined
10280
+ assertParamExists('createGroupRole', 'createGroupRoleRequest', createGroupRoleRequest)
10198
10281
  const localVarPath = `/groups/{groupId}/roles`
10199
10282
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
10200
10283
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -11114,15 +11197,17 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
11114
11197
  * @summary Respond Group Join request
11115
11198
  * @param {string} groupId Must be a valid group ID.
11116
11199
  * @param {string} userId Must be a valid user ID.
11117
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
11200
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
11118
11201
  * @param {*} [options] Override http request option.
11119
11202
  * @throws {RequiredError}
11120
11203
  */
11121
- respondGroupJoinRequest: async (groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11204
+ respondGroupJoinRequest: async (groupId: string, userId: string, respondGroupJoinRequest: RespondGroupJoinRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11122
11205
  // verify required parameter 'groupId' is not null or undefined
11123
11206
  assertParamExists('respondGroupJoinRequest', 'groupId', groupId)
11124
11207
  // verify required parameter 'userId' is not null or undefined
11125
11208
  assertParamExists('respondGroupJoinRequest', 'userId', userId)
11209
+ // verify required parameter 'respondGroupJoinRequest' is not null or undefined
11210
+ assertParamExists('respondGroupJoinRequest', 'respondGroupJoinRequest', respondGroupJoinRequest)
11126
11211
  const localVarPath = `/groups/{groupId}/requests/{userId}`
11127
11212
  .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
11128
11213
  .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
@@ -11425,11 +11510,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11425
11510
  * @summary Add Group Gallery Image
11426
11511
  * @param {string} groupId Must be a valid group ID.
11427
11512
  * @param {string} groupGalleryId Must be a valid group gallery ID.
11428
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
11513
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
11429
11514
  * @param {*} [options] Override http request option.
11430
11515
  * @throws {RequiredError}
11431
11516
  */
11432
- async addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest?: AddGroupGalleryImageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupGalleryImage>> {
11517
+ async addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest: AddGroupGalleryImageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupGalleryImage>> {
11433
11518
  const localVarAxiosArgs = await localVarAxiosParamCreator.addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest, options);
11434
11519
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11435
11520
  },
@@ -11450,11 +11535,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11450
11535
  * Bans a user from a Group.
11451
11536
  * @summary Ban Group Member
11452
11537
  * @param {string} groupId Must be a valid group ID.
11453
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
11538
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
11454
11539
  * @param {*} [options] Override http request option.
11455
11540
  * @throws {RequiredError}
11456
11541
  */
11457
- async banGroupMember(groupId: string, banGroupMemberRequest?: BanGroupMemberRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupMember>> {
11542
+ async banGroupMember(groupId: string, banGroupMemberRequest: BanGroupMemberRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupMember>> {
11458
11543
  const localVarAxiosArgs = await localVarAxiosParamCreator.banGroupMember(groupId, banGroupMemberRequest, options);
11459
11544
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11460
11545
  },
@@ -11472,11 +11557,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11472
11557
  /**
11473
11558
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
11474
11559
  * @summary Create Group
11475
- * @param {CreateGroupRequest} [createGroupRequest]
11560
+ * @param {CreateGroupRequest} createGroupRequest
11476
11561
  * @param {*} [options] Override http request option.
11477
11562
  * @throws {RequiredError}
11478
11563
  */
11479
- async createGroup(createGroupRequest?: CreateGroupRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
11564
+ async createGroup(createGroupRequest: CreateGroupRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
11480
11565
  const localVarAxiosArgs = await localVarAxiosParamCreator.createGroup(createGroupRequest, options);
11481
11566
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11482
11567
  },
@@ -11484,11 +11569,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11484
11569
  * Creates an Announcement for a Group.
11485
11570
  * @summary Create Group Announcement
11486
11571
  * @param {string} groupId Must be a valid group ID.
11487
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
11572
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
11488
11573
  * @param {*} [options] Override http request option.
11489
11574
  * @throws {RequiredError}
11490
11575
  */
11491
- async createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest?: CreateGroupAnnouncementRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupAnnouncement>> {
11576
+ async createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest: CreateGroupAnnouncementRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupAnnouncement>> {
11492
11577
  const localVarAxiosArgs = await localVarAxiosParamCreator.createGroupAnnouncement(groupId, createGroupAnnouncementRequest, options);
11493
11578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11494
11579
  },
@@ -11496,11 +11581,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11496
11581
  * Creates a gallery for a Group.
11497
11582
  * @summary Create Group Gallery
11498
11583
  * @param {string} groupId Must be a valid group ID.
11499
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
11584
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
11500
11585
  * @param {*} [options] Override http request option.
11501
11586
  * @throws {RequiredError}
11502
11587
  */
11503
- async createGroupGallery(groupId: string, createGroupGalleryRequest?: CreateGroupGalleryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupGallery>> {
11588
+ async createGroupGallery(groupId: string, createGroupGalleryRequest: CreateGroupGalleryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupGallery>> {
11504
11589
  const localVarAxiosArgs = await localVarAxiosParamCreator.createGroupGallery(groupId, createGroupGalleryRequest, options);
11505
11590
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11506
11591
  },
@@ -11508,11 +11593,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11508
11593
  * Sends an invite to a user to join the group.
11509
11594
  * @summary Invite User to Group
11510
11595
  * @param {string} groupId Must be a valid group ID.
11511
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
11596
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
11512
11597
  * @param {*} [options] Override http request option.
11513
11598
  * @throws {RequiredError}
11514
11599
  */
11515
- async createGroupInvite(groupId: string, createGroupInviteRequest?: CreateGroupInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
11600
+ async createGroupInvite(groupId: string, createGroupInviteRequest: CreateGroupInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
11516
11601
  const localVarAxiosArgs = await localVarAxiosParamCreator.createGroupInvite(groupId, createGroupInviteRequest, options);
11517
11602
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11518
11603
  },
@@ -11520,11 +11605,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11520
11605
  * Create a Group role.
11521
11606
  * @summary Create GroupRole
11522
11607
  * @param {string} groupId Must be a valid group ID.
11523
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
11608
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
11524
11609
  * @param {*} [options] Override http request option.
11525
11610
  * @throws {RequiredError}
11526
11611
  */
11527
- async createGroupRole(groupId: string, createGroupRoleRequest?: CreateGroupRoleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupRole>> {
11612
+ async createGroupRole(groupId: string, createGroupRoleRequest: CreateGroupRoleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupRole>> {
11528
11613
  const localVarAxiosArgs = await localVarAxiosParamCreator.createGroupRole(groupId, createGroupRoleRequest, options);
11529
11614
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11530
11615
  },
@@ -11791,11 +11876,11 @@ export const GroupsApiFp = function(configuration?: Configuration) {
11791
11876
  * @summary Respond Group Join request
11792
11877
  * @param {string} groupId Must be a valid group ID.
11793
11878
  * @param {string} userId Must be a valid user ID.
11794
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
11879
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
11795
11880
  * @param {*} [options] Override http request option.
11796
11881
  * @throws {RequiredError}
11797
11882
  */
11798
- async respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
11883
+ async respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest: RespondGroupJoinRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
11799
11884
  const localVarAxiosArgs = await localVarAxiosParamCreator.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options);
11800
11885
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11801
11886
  },
@@ -11890,11 +11975,11 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
11890
11975
  * @summary Add Group Gallery Image
11891
11976
  * @param {string} groupId Must be a valid group ID.
11892
11977
  * @param {string} groupGalleryId Must be a valid group gallery ID.
11893
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
11978
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
11894
11979
  * @param {*} [options] Override http request option.
11895
11980
  * @throws {RequiredError}
11896
11981
  */
11897
- addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest?: AddGroupGalleryImageRequest, options?: any): AxiosPromise<GroupGalleryImage> {
11982
+ addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest: AddGroupGalleryImageRequest, options?: any): AxiosPromise<GroupGalleryImage> {
11898
11983
  return localVarFp.addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest, options).then((request) => request(axios, basePath));
11899
11984
  },
11900
11985
  /**
@@ -11913,11 +11998,11 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
11913
11998
  * Bans a user from a Group.
11914
11999
  * @summary Ban Group Member
11915
12000
  * @param {string} groupId Must be a valid group ID.
11916
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
12001
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
11917
12002
  * @param {*} [options] Override http request option.
11918
12003
  * @throws {RequiredError}
11919
12004
  */
11920
- banGroupMember(groupId: string, banGroupMemberRequest?: BanGroupMemberRequest, options?: any): AxiosPromise<GroupMember> {
12005
+ banGroupMember(groupId: string, banGroupMemberRequest: BanGroupMemberRequest, options?: any): AxiosPromise<GroupMember> {
11921
12006
  return localVarFp.banGroupMember(groupId, banGroupMemberRequest, options).then((request) => request(axios, basePath));
11922
12007
  },
11923
12008
  /**
@@ -11933,55 +12018,55 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
11933
12018
  /**
11934
12019
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
11935
12020
  * @summary Create Group
11936
- * @param {CreateGroupRequest} [createGroupRequest]
12021
+ * @param {CreateGroupRequest} createGroupRequest
11937
12022
  * @param {*} [options] Override http request option.
11938
12023
  * @throws {RequiredError}
11939
12024
  */
11940
- createGroup(createGroupRequest?: CreateGroupRequest, options?: any): AxiosPromise<Group> {
12025
+ createGroup(createGroupRequest: CreateGroupRequest, options?: any): AxiosPromise<Group> {
11941
12026
  return localVarFp.createGroup(createGroupRequest, options).then((request) => request(axios, basePath));
11942
12027
  },
11943
12028
  /**
11944
12029
  * Creates an Announcement for a Group.
11945
12030
  * @summary Create Group Announcement
11946
12031
  * @param {string} groupId Must be a valid group ID.
11947
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
12032
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
11948
12033
  * @param {*} [options] Override http request option.
11949
12034
  * @throws {RequiredError}
11950
12035
  */
11951
- createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest?: CreateGroupAnnouncementRequest, options?: any): AxiosPromise<GroupAnnouncement> {
12036
+ createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest: CreateGroupAnnouncementRequest, options?: any): AxiosPromise<GroupAnnouncement> {
11952
12037
  return localVarFp.createGroupAnnouncement(groupId, createGroupAnnouncementRequest, options).then((request) => request(axios, basePath));
11953
12038
  },
11954
12039
  /**
11955
12040
  * Creates a gallery for a Group.
11956
12041
  * @summary Create Group Gallery
11957
12042
  * @param {string} groupId Must be a valid group ID.
11958
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
12043
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
11959
12044
  * @param {*} [options] Override http request option.
11960
12045
  * @throws {RequiredError}
11961
12046
  */
11962
- createGroupGallery(groupId: string, createGroupGalleryRequest?: CreateGroupGalleryRequest, options?: any): AxiosPromise<GroupGallery> {
12047
+ createGroupGallery(groupId: string, createGroupGalleryRequest: CreateGroupGalleryRequest, options?: any): AxiosPromise<GroupGallery> {
11963
12048
  return localVarFp.createGroupGallery(groupId, createGroupGalleryRequest, options).then((request) => request(axios, basePath));
11964
12049
  },
11965
12050
  /**
11966
12051
  * Sends an invite to a user to join the group.
11967
12052
  * @summary Invite User to Group
11968
12053
  * @param {string} groupId Must be a valid group ID.
11969
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
12054
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
11970
12055
  * @param {*} [options] Override http request option.
11971
12056
  * @throws {RequiredError}
11972
12057
  */
11973
- createGroupInvite(groupId: string, createGroupInviteRequest?: CreateGroupInviteRequest, options?: any): AxiosPromise<void> {
12058
+ createGroupInvite(groupId: string, createGroupInviteRequest: CreateGroupInviteRequest, options?: any): AxiosPromise<void> {
11974
12059
  return localVarFp.createGroupInvite(groupId, createGroupInviteRequest, options).then((request) => request(axios, basePath));
11975
12060
  },
11976
12061
  /**
11977
12062
  * Create a Group role.
11978
12063
  * @summary Create GroupRole
11979
12064
  * @param {string} groupId Must be a valid group ID.
11980
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
12065
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
11981
12066
  * @param {*} [options] Override http request option.
11982
12067
  * @throws {RequiredError}
11983
12068
  */
11984
- createGroupRole(groupId: string, createGroupRoleRequest?: CreateGroupRoleRequest, options?: any): AxiosPromise<GroupRole> {
12069
+ createGroupRole(groupId: string, createGroupRoleRequest: CreateGroupRoleRequest, options?: any): AxiosPromise<GroupRole> {
11985
12070
  return localVarFp.createGroupRole(groupId, createGroupRoleRequest, options).then((request) => request(axios, basePath));
11986
12071
  },
11987
12072
  /**
@@ -12226,11 +12311,11 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
12226
12311
  * @summary Respond Group Join request
12227
12312
  * @param {string} groupId Must be a valid group ID.
12228
12313
  * @param {string} userId Must be a valid user ID.
12229
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
12314
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
12230
12315
  * @param {*} [options] Override http request option.
12231
12316
  * @throws {RequiredError}
12232
12317
  */
12233
- respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: any): AxiosPromise<void> {
12318
+ respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest: RespondGroupJoinRequest, options?: any): AxiosPromise<void> {
12234
12319
  return localVarFp.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(axios, basePath));
12235
12320
  },
12236
12321
  /**
@@ -12318,12 +12403,12 @@ export class GroupsApi extends BaseAPI {
12318
12403
  * @summary Add Group Gallery Image
12319
12404
  * @param {string} groupId Must be a valid group ID.
12320
12405
  * @param {string} groupGalleryId Must be a valid group gallery ID.
12321
- * @param {AddGroupGalleryImageRequest} [addGroupGalleryImageRequest]
12406
+ * @param {AddGroupGalleryImageRequest} addGroupGalleryImageRequest
12322
12407
  * @param {*} [options] Override http request option.
12323
12408
  * @throws {RequiredError}
12324
12409
  * @memberof GroupsApi
12325
12410
  */
12326
- public addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest?: AddGroupGalleryImageRequest, options?: AxiosRequestConfig) {
12411
+ public addGroupGalleryImage(groupId: string, groupGalleryId: string, addGroupGalleryImageRequest: AddGroupGalleryImageRequest, options?: AxiosRequestConfig) {
12327
12412
  return GroupsApiFp(this.configuration).addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest, options).then((request) => request(this.axios, this.basePath));
12328
12413
  }
12329
12414
 
@@ -12345,12 +12430,12 @@ export class GroupsApi extends BaseAPI {
12345
12430
  * Bans a user from a Group.
12346
12431
  * @summary Ban Group Member
12347
12432
  * @param {string} groupId Must be a valid group ID.
12348
- * @param {BanGroupMemberRequest} [banGroupMemberRequest]
12433
+ * @param {BanGroupMemberRequest} banGroupMemberRequest
12349
12434
  * @param {*} [options] Override http request option.
12350
12435
  * @throws {RequiredError}
12351
12436
  * @memberof GroupsApi
12352
12437
  */
12353
- public banGroupMember(groupId: string, banGroupMemberRequest?: BanGroupMemberRequest, options?: AxiosRequestConfig) {
12438
+ public banGroupMember(groupId: string, banGroupMemberRequest: BanGroupMemberRequest, options?: AxiosRequestConfig) {
12354
12439
  return GroupsApiFp(this.configuration).banGroupMember(groupId, banGroupMemberRequest, options).then((request) => request(this.axios, this.basePath));
12355
12440
  }
12356
12441
 
@@ -12369,12 +12454,12 @@ export class GroupsApi extends BaseAPI {
12369
12454
  /**
12370
12455
  * Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
12371
12456
  * @summary Create Group
12372
- * @param {CreateGroupRequest} [createGroupRequest]
12457
+ * @param {CreateGroupRequest} createGroupRequest
12373
12458
  * @param {*} [options] Override http request option.
12374
12459
  * @throws {RequiredError}
12375
12460
  * @memberof GroupsApi
12376
12461
  */
12377
- public createGroup(createGroupRequest?: CreateGroupRequest, options?: AxiosRequestConfig) {
12462
+ public createGroup(createGroupRequest: CreateGroupRequest, options?: AxiosRequestConfig) {
12378
12463
  return GroupsApiFp(this.configuration).createGroup(createGroupRequest, options).then((request) => request(this.axios, this.basePath));
12379
12464
  }
12380
12465
 
@@ -12382,12 +12467,12 @@ export class GroupsApi extends BaseAPI {
12382
12467
  * Creates an Announcement for a Group.
12383
12468
  * @summary Create Group Announcement
12384
12469
  * @param {string} groupId Must be a valid group ID.
12385
- * @param {CreateGroupAnnouncementRequest} [createGroupAnnouncementRequest]
12470
+ * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
12386
12471
  * @param {*} [options] Override http request option.
12387
12472
  * @throws {RequiredError}
12388
12473
  * @memberof GroupsApi
12389
12474
  */
12390
- public createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest?: CreateGroupAnnouncementRequest, options?: AxiosRequestConfig) {
12475
+ public createGroupAnnouncement(groupId: string, createGroupAnnouncementRequest: CreateGroupAnnouncementRequest, options?: AxiosRequestConfig) {
12391
12476
  return GroupsApiFp(this.configuration).createGroupAnnouncement(groupId, createGroupAnnouncementRequest, options).then((request) => request(this.axios, this.basePath));
12392
12477
  }
12393
12478
 
@@ -12395,12 +12480,12 @@ export class GroupsApi extends BaseAPI {
12395
12480
  * Creates a gallery for a Group.
12396
12481
  * @summary Create Group Gallery
12397
12482
  * @param {string} groupId Must be a valid group ID.
12398
- * @param {CreateGroupGalleryRequest} [createGroupGalleryRequest]
12483
+ * @param {CreateGroupGalleryRequest} createGroupGalleryRequest
12399
12484
  * @param {*} [options] Override http request option.
12400
12485
  * @throws {RequiredError}
12401
12486
  * @memberof GroupsApi
12402
12487
  */
12403
- public createGroupGallery(groupId: string, createGroupGalleryRequest?: CreateGroupGalleryRequest, options?: AxiosRequestConfig) {
12488
+ public createGroupGallery(groupId: string, createGroupGalleryRequest: CreateGroupGalleryRequest, options?: AxiosRequestConfig) {
12404
12489
  return GroupsApiFp(this.configuration).createGroupGallery(groupId, createGroupGalleryRequest, options).then((request) => request(this.axios, this.basePath));
12405
12490
  }
12406
12491
 
@@ -12408,12 +12493,12 @@ export class GroupsApi extends BaseAPI {
12408
12493
  * Sends an invite to a user to join the group.
12409
12494
  * @summary Invite User to Group
12410
12495
  * @param {string} groupId Must be a valid group ID.
12411
- * @param {CreateGroupInviteRequest} [createGroupInviteRequest]
12496
+ * @param {CreateGroupInviteRequest} createGroupInviteRequest
12412
12497
  * @param {*} [options] Override http request option.
12413
12498
  * @throws {RequiredError}
12414
12499
  * @memberof GroupsApi
12415
12500
  */
12416
- public createGroupInvite(groupId: string, createGroupInviteRequest?: CreateGroupInviteRequest, options?: AxiosRequestConfig) {
12501
+ public createGroupInvite(groupId: string, createGroupInviteRequest: CreateGroupInviteRequest, options?: AxiosRequestConfig) {
12417
12502
  return GroupsApiFp(this.configuration).createGroupInvite(groupId, createGroupInviteRequest, options).then((request) => request(this.axios, this.basePath));
12418
12503
  }
12419
12504
 
@@ -12421,12 +12506,12 @@ export class GroupsApi extends BaseAPI {
12421
12506
  * Create a Group role.
12422
12507
  * @summary Create GroupRole
12423
12508
  * @param {string} groupId Must be a valid group ID.
12424
- * @param {CreateGroupRoleRequest} [createGroupRoleRequest]
12509
+ * @param {CreateGroupRoleRequest} createGroupRoleRequest
12425
12510
  * @param {*} [options] Override http request option.
12426
12511
  * @throws {RequiredError}
12427
12512
  * @memberof GroupsApi
12428
12513
  */
12429
- public createGroupRole(groupId: string, createGroupRoleRequest?: CreateGroupRoleRequest, options?: AxiosRequestConfig) {
12514
+ public createGroupRole(groupId: string, createGroupRoleRequest: CreateGroupRoleRequest, options?: AxiosRequestConfig) {
12430
12515
  return GroupsApiFp(this.configuration).createGroupRole(groupId, createGroupRoleRequest, options).then((request) => request(this.axios, this.basePath));
12431
12516
  }
12432
12517
 
@@ -12714,12 +12799,12 @@ export class GroupsApi extends BaseAPI {
12714
12799
  * @summary Respond Group Join request
12715
12800
  * @param {string} groupId Must be a valid group ID.
12716
12801
  * @param {string} userId Must be a valid user ID.
12717
- * @param {RespondGroupJoinRequest} [respondGroupJoinRequest]
12802
+ * @param {RespondGroupJoinRequest} respondGroupJoinRequest
12718
12803
  * @param {*} [options] Override http request option.
12719
12804
  * @throws {RequiredError}
12720
12805
  * @memberof GroupsApi
12721
12806
  */
12722
- public respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest?: RespondGroupJoinRequest, options?: AxiosRequestConfig) {
12807
+ public respondGroupJoinRequest(groupId: string, userId: string, respondGroupJoinRequest: RespondGroupJoinRequest, options?: AxiosRequestConfig) {
12723
12808
  return GroupsApiFp(this.configuration).respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest, options).then((request) => request(this.axios, this.basePath));
12724
12809
  }
12725
12810
 
@@ -13276,13 +13361,15 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
13276
13361
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
13277
13362
  * @summary Invite User
13278
13363
  * @param {string} userId Must be a valid user ID.
13279
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
13364
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
13280
13365
  * @param {*} [options] Override http request option.
13281
13366
  * @throws {RequiredError}
13282
13367
  */
13283
- inviteUser: async (userId: string, inviteRequest?: InviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13368
+ inviteUser: async (userId: string, inviteRequest: InviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13284
13369
  // verify required parameter 'userId' is not null or undefined
13285
13370
  assertParamExists('inviteUser', 'userId', userId)
13371
+ // verify required parameter 'inviteRequest' is not null or undefined
13372
+ assertParamExists('inviteUser', 'inviteRequest', inviteRequest)
13286
13373
  const localVarPath = `/invite/{userId}`
13287
13374
  .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
13288
13375
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13400,13 +13487,15 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
13400
13487
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
13401
13488
  * @summary Respond Invite
13402
13489
  * @param {string} notificationId Must be a valid notification ID.
13403
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
13490
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
13404
13491
  * @param {*} [options] Override http request option.
13405
13492
  * @throws {RequiredError}
13406
13493
  */
13407
- respondInvite: async (notificationId: string, inviteResponse?: InviteResponse, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13494
+ respondInvite: async (notificationId: string, inviteResponse: InviteResponse, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13408
13495
  // verify required parameter 'notificationId' is not null or undefined
13409
13496
  assertParamExists('respondInvite', 'notificationId', notificationId)
13497
+ // verify required parameter 'inviteResponse' is not null or undefined
13498
+ assertParamExists('respondInvite', 'inviteResponse', inviteResponse)
13410
13499
  const localVarPath = `/invite/{notificationId}/response`
13411
13500
  .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
13412
13501
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13535,11 +13624,11 @@ export const InviteApiFp = function(configuration?: Configuration) {
13535
13624
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
13536
13625
  * @summary Invite User
13537
13626
  * @param {string} userId Must be a valid user ID.
13538
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
13627
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
13539
13628
  * @param {*} [options] Override http request option.
13540
13629
  * @throws {RequiredError}
13541
13630
  */
13542
- async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
13631
+ async inviteUser(userId: string, inviteRequest: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
13543
13632
  const localVarAxiosArgs = await localVarAxiosParamCreator.inviteUser(userId, inviteRequest, options);
13544
13633
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13545
13634
  },
@@ -13572,11 +13661,11 @@ export const InviteApiFp = function(configuration?: Configuration) {
13572
13661
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
13573
13662
  * @summary Respond Invite
13574
13663
  * @param {string} notificationId Must be a valid notification ID.
13575
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
13664
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
13576
13665
  * @param {*} [options] Override http request option.
13577
13666
  * @throws {RequiredError}
13578
13667
  */
13579
- async respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
13668
+ async respondInvite(notificationId: string, inviteResponse: InviteResponse, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
13580
13669
  const localVarAxiosArgs = await localVarAxiosParamCreator.respondInvite(notificationId, inviteResponse, options);
13581
13670
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13582
13671
  },
@@ -13642,11 +13731,11 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
13642
13731
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
13643
13732
  * @summary Invite User
13644
13733
  * @param {string} userId Must be a valid user ID.
13645
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
13734
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
13646
13735
  * @param {*} [options] Override http request option.
13647
13736
  * @throws {RequiredError}
13648
13737
  */
13649
- inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<SentNotification> {
13738
+ inviteUser(userId: string, inviteRequest: InviteRequest, options?: any): AxiosPromise<SentNotification> {
13650
13739
  return localVarFp.inviteUser(userId, inviteRequest, options).then((request) => request(axios, basePath));
13651
13740
  },
13652
13741
  /**
@@ -13676,11 +13765,11 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
13676
13765
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
13677
13766
  * @summary Respond Invite
13678
13767
  * @param {string} notificationId Must be a valid notification ID.
13679
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
13768
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
13680
13769
  * @param {*} [options] Override http request option.
13681
13770
  * @throws {RequiredError}
13682
13771
  */
13683
- respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: any): AxiosPromise<Notification> {
13772
+ respondInvite(notificationId: string, inviteResponse: InviteResponse, options?: any): AxiosPromise<Notification> {
13684
13773
  return localVarFp.respondInvite(notificationId, inviteResponse, options).then((request) => request(axios, basePath));
13685
13774
  },
13686
13775
  /**
@@ -13750,12 +13839,12 @@ export class InviteApi extends BaseAPI {
13750
13839
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
13751
13840
  * @summary Invite User
13752
13841
  * @param {string} userId Must be a valid user ID.
13753
- * @param {InviteRequest} [inviteRequest] Slot number of the Invite Message to use when inviting a user.
13842
+ * @param {InviteRequest} inviteRequest Slot number of the Invite Message to use when inviting a user.
13754
13843
  * @param {*} [options] Override http request option.
13755
13844
  * @throws {RequiredError}
13756
13845
  * @memberof InviteApi
13757
13846
  */
13758
- public inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig) {
13847
+ public inviteUser(userId: string, inviteRequest: InviteRequest, options?: AxiosRequestConfig) {
13759
13848
  return InviteApiFp(this.configuration).inviteUser(userId, inviteRequest, options).then((request) => request(this.axios, this.basePath));
13760
13849
  }
13761
13850
 
@@ -13790,12 +13879,12 @@ export class InviteApi extends BaseAPI {
13790
13879
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
13791
13880
  * @summary Respond Invite
13792
13881
  * @param {string} notificationId Must be a valid notification ID.
13793
- * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
13882
+ * @param {InviteResponse} inviteResponse Slot number of the Response Message to use when responding to a user.
13794
13883
  * @param {*} [options] Override http request option.
13795
13884
  * @throws {RequiredError}
13796
13885
  * @memberof InviteApi
13797
13886
  */
13798
- public respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: AxiosRequestConfig) {
13887
+ public respondInvite(notificationId: string, inviteResponse: InviteResponse, options?: AxiosRequestConfig) {
13799
13888
  return InviteApiFp(this.configuration).respondInvite(notificationId, inviteResponse, options).then((request) => request(this.axios, this.basePath));
13800
13889
  }
13801
13890
 
@@ -14557,11 +14646,13 @@ export const PlayermoderationApiAxiosParamCreator = function (configuration?: Co
14557
14646
  /**
14558
14647
  * 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.
14559
14648
  * @summary Moderate User
14560
- * @param {ModerateUserRequest} [moderateUserRequest]
14649
+ * @param {ModerateUserRequest} moderateUserRequest
14561
14650
  * @param {*} [options] Override http request option.
14562
14651
  * @throws {RequiredError}
14563
14652
  */
14564
- moderateUser: async (moderateUserRequest?: ModerateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14653
+ moderateUser: async (moderateUserRequest: ModerateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14654
+ // verify required parameter 'moderateUserRequest' is not null or undefined
14655
+ assertParamExists('moderateUser', 'moderateUserRequest', moderateUserRequest)
14565
14656
  const localVarPath = `/auth/user/playermoderations`;
14566
14657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14567
14658
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14593,11 +14684,13 @@ export const PlayermoderationApiAxiosParamCreator = function (configuration?: Co
14593
14684
  /**
14594
14685
  * 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.
14595
14686
  * @summary Unmoderate User
14596
- * @param {ModerateUserRequest} [moderateUserRequest]
14687
+ * @param {ModerateUserRequest} moderateUserRequest
14597
14688
  * @param {*} [options] Override http request option.
14598
14689
  * @throws {RequiredError}
14599
14690
  */
14600
- unmoderateUser: async (moderateUserRequest?: ModerateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14691
+ unmoderateUser: async (moderateUserRequest: ModerateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14692
+ // verify required parameter 'moderateUserRequest' is not null or undefined
14693
+ assertParamExists('unmoderateUser', 'moderateUserRequest', moderateUserRequest)
14601
14694
  const localVarPath = `/auth/user/unplayermoderate`;
14602
14695
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14603
14696
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14683,22 +14776,22 @@ export const PlayermoderationApiFp = function(configuration?: Configuration) {
14683
14776
  /**
14684
14777
  * 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.
14685
14778
  * @summary Moderate User
14686
- * @param {ModerateUserRequest} [moderateUserRequest]
14779
+ * @param {ModerateUserRequest} moderateUserRequest
14687
14780
  * @param {*} [options] Override http request option.
14688
14781
  * @throws {RequiredError}
14689
14782
  */
14690
- async moderateUser(moderateUserRequest?: ModerateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerModeration>> {
14783
+ async moderateUser(moderateUserRequest: ModerateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerModeration>> {
14691
14784
  const localVarAxiosArgs = await localVarAxiosParamCreator.moderateUser(moderateUserRequest, options);
14692
14785
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14693
14786
  },
14694
14787
  /**
14695
14788
  * 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.
14696
14789
  * @summary Unmoderate User
14697
- * @param {ModerateUserRequest} [moderateUserRequest]
14790
+ * @param {ModerateUserRequest} moderateUserRequest
14698
14791
  * @param {*} [options] Override http request option.
14699
14792
  * @throws {RequiredError}
14700
14793
  */
14701
- async unmoderateUser(moderateUserRequest?: ModerateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
14794
+ async unmoderateUser(moderateUserRequest: ModerateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>> {
14702
14795
  const localVarAxiosArgs = await localVarAxiosParamCreator.unmoderateUser(moderateUserRequest, options);
14703
14796
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14704
14797
  },
@@ -14755,21 +14848,21 @@ export const PlayermoderationApiFactory = function (configuration?: Configuratio
14755
14848
  /**
14756
14849
  * 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.
14757
14850
  * @summary Moderate User
14758
- * @param {ModerateUserRequest} [moderateUserRequest]
14851
+ * @param {ModerateUserRequest} moderateUserRequest
14759
14852
  * @param {*} [options] Override http request option.
14760
14853
  * @throws {RequiredError}
14761
14854
  */
14762
- moderateUser(moderateUserRequest?: ModerateUserRequest, options?: any): AxiosPromise<PlayerModeration> {
14855
+ moderateUser(moderateUserRequest: ModerateUserRequest, options?: any): AxiosPromise<PlayerModeration> {
14763
14856
  return localVarFp.moderateUser(moderateUserRequest, options).then((request) => request(axios, basePath));
14764
14857
  },
14765
14858
  /**
14766
14859
  * 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.
14767
14860
  * @summary Unmoderate User
14768
- * @param {ModerateUserRequest} [moderateUserRequest]
14861
+ * @param {ModerateUserRequest} moderateUserRequest
14769
14862
  * @param {*} [options] Override http request option.
14770
14863
  * @throws {RequiredError}
14771
14864
  */
14772
- unmoderateUser(moderateUserRequest?: ModerateUserRequest, options?: any): AxiosPromise<Success> {
14865
+ unmoderateUser(moderateUserRequest: ModerateUserRequest, options?: any): AxiosPromise<Success> {
14773
14866
  return localVarFp.unmoderateUser(moderateUserRequest, options).then((request) => request(axios, basePath));
14774
14867
  },
14775
14868
  };
@@ -14833,24 +14926,24 @@ export class PlayermoderationApi extends BaseAPI {
14833
14926
  /**
14834
14927
  * 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.
14835
14928
  * @summary Moderate User
14836
- * @param {ModerateUserRequest} [moderateUserRequest]
14929
+ * @param {ModerateUserRequest} moderateUserRequest
14837
14930
  * @param {*} [options] Override http request option.
14838
14931
  * @throws {RequiredError}
14839
14932
  * @memberof PlayermoderationApi
14840
14933
  */
14841
- public moderateUser(moderateUserRequest?: ModerateUserRequest, options?: AxiosRequestConfig) {
14934
+ public moderateUser(moderateUserRequest: ModerateUserRequest, options?: AxiosRequestConfig) {
14842
14935
  return PlayermoderationApiFp(this.configuration).moderateUser(moderateUserRequest, options).then((request) => request(this.axios, this.basePath));
14843
14936
  }
14844
14937
 
14845
14938
  /**
14846
14939
  * 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.
14847
14940
  * @summary Unmoderate User
14848
- * @param {ModerateUserRequest} [moderateUserRequest]
14941
+ * @param {ModerateUserRequest} moderateUserRequest
14849
14942
  * @param {*} [options] Override http request option.
14850
14943
  * @throws {RequiredError}
14851
14944
  * @memberof PlayermoderationApi
14852
14945
  */
14853
- public unmoderateUser(moderateUserRequest?: ModerateUserRequest, options?: AxiosRequestConfig) {
14946
+ public unmoderateUser(moderateUserRequest: ModerateUserRequest, options?: AxiosRequestConfig) {
14854
14947
  return PlayermoderationApiFp(this.configuration).unmoderateUser(moderateUserRequest, options).then((request) => request(this.axios, this.basePath));
14855
14948
  }
14856
14949
  }