vrchat 1.6.5 → 1.6.6

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.6.5
6
+ * The version of the OpenAPI document: 1.6.6
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2154,6 +2154,12 @@ export interface InviteRequest {
2154
2154
  * @memberof InviteRequest
2155
2155
  */
2156
2156
  'instanceId': string;
2157
+ /**
2158
+ *
2159
+ * @type {number}
2160
+ * @memberof InviteRequest
2161
+ */
2162
+ 'messageSlot'?: number;
2157
2163
  }
2158
2164
  /**
2159
2165
  *
@@ -2836,6 +2842,19 @@ export enum ReleaseStatus {
2836
2842
  Hidden = 'hidden'
2837
2843
  }
2838
2844
 
2845
+ /**
2846
+ *
2847
+ * @export
2848
+ * @interface RequestInviteRequest
2849
+ */
2850
+ export interface RequestInviteRequest {
2851
+ /**
2852
+ *
2853
+ * @type {number}
2854
+ * @memberof RequestInviteRequest
2855
+ */
2856
+ 'messageSlot'?: number;
2857
+ }
2839
2858
  /**
2840
2859
  *
2841
2860
  * @export
@@ -8134,10 +8153,11 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
8134
8153
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
8135
8154
  * @summary Request Invite
8136
8155
  * @param {string} userId
8156
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
8137
8157
  * @param {*} [options] Override http request option.
8138
8158
  * @throws {RequiredError}
8139
8159
  */
8140
- requestInvite: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8160
+ requestInvite: async (userId: string, requestInviteRequest?: RequestInviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8141
8161
  // verify required parameter 'userId' is not null or undefined
8142
8162
  assertParamExists('requestInvite', 'userId', userId)
8143
8163
  const localVarPath = `/requestInvite/{userId}`
@@ -8159,9 +8179,12 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
8159
8179
 
8160
8180
 
8161
8181
 
8182
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8183
+
8162
8184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8163
8185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8164
8186
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8187
+ localVarRequestOptions.data = serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration)
8165
8188
 
8166
8189
  return {
8167
8190
  url: toPathString(localVarUrlObj),
@@ -8218,7 +8241,7 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
8218
8241
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8219
8242
  * @summary Respond Invite
8220
8243
  * @param {string} notificationId
8221
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
8244
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8222
8245
  * @param {*} [options] Override http request option.
8223
8246
  * @throws {RequiredError}
8224
8247
  */
@@ -8357,11 +8380,12 @@ export const InviteApiFp = function(configuration?: Configuration) {
8357
8380
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
8358
8381
  * @summary Request Invite
8359
8382
  * @param {string} userId
8383
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
8360
8384
  * @param {*} [options] Override http request option.
8361
8385
  * @throws {RequiredError}
8362
8386
  */
8363
- async requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
8364
- const localVarAxiosArgs = await localVarAxiosParamCreator.requestInvite(userId, options);
8387
+ async requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
8388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.requestInvite(userId, requestInviteRequest, options);
8365
8389
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8366
8390
  },
8367
8391
  /**
@@ -8381,7 +8405,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
8381
8405
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8382
8406
  * @summary Respond Invite
8383
8407
  * @param {string} notificationId
8384
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
8408
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8385
8409
  * @param {*} [options] Override http request option.
8386
8410
  * @throws {RequiredError}
8387
8411
  */
@@ -8451,11 +8475,12 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
8451
8475
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
8452
8476
  * @summary Request Invite
8453
8477
  * @param {string} userId
8478
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
8454
8479
  * @param {*} [options] Override http request option.
8455
8480
  * @throws {RequiredError}
8456
8481
  */
8457
- requestInvite(userId: string, options?: any): AxiosPromise<Notification> {
8458
- return localVarFp.requestInvite(userId, options).then((request) => request(axios, basePath));
8482
+ requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: any): AxiosPromise<Notification> {
8483
+ return localVarFp.requestInvite(userId, requestInviteRequest, options).then((request) => request(axios, basePath));
8459
8484
  },
8460
8485
  /**
8461
8486
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
@@ -8473,7 +8498,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
8473
8498
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8474
8499
  * @summary Respond Invite
8475
8500
  * @param {string} notificationId
8476
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
8501
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8477
8502
  * @param {*} [options] Override http request option.
8478
8503
  * @throws {RequiredError}
8479
8504
  */
@@ -8547,12 +8572,13 @@ export class InviteApi extends BaseAPI {
8547
8572
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
8548
8573
  * @summary Request Invite
8549
8574
  * @param {string} userId
8575
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
8550
8576
  * @param {*} [options] Override http request option.
8551
8577
  * @throws {RequiredError}
8552
8578
  * @memberof InviteApi
8553
8579
  */
8554
- public requestInvite(userId: string, options?: AxiosRequestConfig) {
8555
- return InviteApiFp(this.configuration).requestInvite(userId, options).then((request) => request(this.axios, this.basePath));
8580
+ public requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) {
8581
+ return InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then((request) => request(this.axios, this.basePath));
8556
8582
  }
8557
8583
 
8558
8584
  /**
@@ -8573,7 +8599,7 @@ export class InviteApi extends BaseAPI {
8573
8599
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
8574
8600
  * @summary Respond Invite
8575
8601
  * @param {string} notificationId
8576
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
8602
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
8577
8603
  * @param {*} [options] Override http request option.
8578
8604
  * @throws {RequiredError}
8579
8605
  * @memberof InviteApi
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.6.5
6
+ * The version of the OpenAPI document: 1.6.6
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.6.5
6
+ * The version of the OpenAPI document: 1.6.6
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.6.5
6
+ * The version of the OpenAPI document: 1.6.6
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.6.5
4
+ * The version of the OpenAPI document: 1.6.6
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2126,6 +2126,12 @@ export interface InviteRequest {
2126
2126
  * @memberof InviteRequest
2127
2127
  */
2128
2128
  'instanceId': string;
2129
+ /**
2130
+ *
2131
+ * @type {number}
2132
+ * @memberof InviteRequest
2133
+ */
2134
+ 'messageSlot'?: number;
2129
2135
  }
2130
2136
  /**
2131
2137
  *
@@ -2794,6 +2800,19 @@ export declare enum ReleaseStatus {
2794
2800
  Private = "private",
2795
2801
  Hidden = "hidden"
2796
2802
  }
2803
+ /**
2804
+ *
2805
+ * @export
2806
+ * @interface RequestInviteRequest
2807
+ */
2808
+ export interface RequestInviteRequest {
2809
+ /**
2810
+ *
2811
+ * @type {number}
2812
+ * @memberof RequestInviteRequest
2813
+ */
2814
+ 'messageSlot'?: number;
2815
+ }
2797
2816
  /**
2798
2817
  *
2799
2818
  * @export
@@ -5948,10 +5967,11 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
5948
5967
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
5949
5968
  * @summary Request Invite
5950
5969
  * @param {string} userId
5970
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
5951
5971
  * @param {*} [options] Override http request option.
5952
5972
  * @throws {RequiredError}
5953
5973
  */
5954
- requestInvite: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5974
+ requestInvite: (userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5955
5975
  /**
5956
5976
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
5957
5977
  * @summary Reset Invite Message
@@ -5966,7 +5986,7 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
5966
5986
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
5967
5987
  * @summary Respond Invite
5968
5988
  * @param {string} notificationId
5969
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
5989
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
5970
5990
  * @param {*} [options] Override http request option.
5971
5991
  * @throws {RequiredError}
5972
5992
  */
@@ -6020,10 +6040,11 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
6020
6040
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6021
6041
  * @summary Request Invite
6022
6042
  * @param {string} userId
6043
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
6023
6044
  * @param {*} [options] Override http request option.
6024
6045
  * @throws {RequiredError}
6025
6046
  */
6026
- requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
6047
+ requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
6027
6048
  /**
6028
6049
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
6029
6050
  * @summary Reset Invite Message
@@ -6038,7 +6059,7 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
6038
6059
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
6039
6060
  * @summary Respond Invite
6040
6061
  * @param {string} notificationId
6041
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
6062
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
6042
6063
  * @param {*} [options] Override http request option.
6043
6064
  * @throws {RequiredError}
6044
6065
  */
@@ -6092,10 +6113,11 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
6092
6113
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6093
6114
  * @summary Request Invite
6094
6115
  * @param {string} userId
6116
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
6095
6117
  * @param {*} [options] Override http request option.
6096
6118
  * @throws {RequiredError}
6097
6119
  */
6098
- requestInvite(userId: string, options?: any): AxiosPromise<Notification>;
6120
+ requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: any): AxiosPromise<Notification>;
6099
6121
  /**
6100
6122
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
6101
6123
  * @summary Reset Invite Message
@@ -6110,7 +6132,7 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
6110
6132
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
6111
6133
  * @summary Respond Invite
6112
6134
  * @param {string} notificationId
6113
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
6135
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
6114
6136
  * @param {*} [options] Override http request option.
6115
6137
  * @throws {RequiredError}
6116
6138
  */
@@ -6169,11 +6191,12 @@ export declare class InviteApi extends BaseAPI {
6169
6191
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6170
6192
  * @summary Request Invite
6171
6193
  * @param {string} userId
6194
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
6172
6195
  * @param {*} [options] Override http request option.
6173
6196
  * @throws {RequiredError}
6174
6197
  * @memberof InviteApi
6175
6198
  */
6176
- requestInvite(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
6199
+ requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
6177
6200
  /**
6178
6201
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
6179
6202
  * @summary Reset Invite Message
@@ -6189,7 +6212,7 @@ export declare class InviteApi extends BaseAPI {
6189
6212
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
6190
6213
  * @summary Respond Invite
6191
6214
  * @param {string} notificationId
6192
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
6215
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
6193
6216
  * @param {*} [options] Override http request option.
6194
6217
  * @throws {RequiredError}
6195
6218
  * @memberof InviteApi
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.6.5
7
+ * The version of the OpenAPI document: 1.6.6
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4657,10 +4657,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
4657
4657
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
4658
4658
  * @summary Request Invite
4659
4659
  * @param {string} userId
4660
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
4660
4661
  * @param {*} [options] Override http request option.
4661
4662
  * @throws {RequiredError}
4662
4663
  */
4663
- requestInvite: function (userId, options) {
4664
+ requestInvite: function (userId, requestInviteRequest, options) {
4664
4665
  if (options === void 0) { options = {}; }
4665
4666
  return __awaiter(_this, void 0, void 0, function () {
4666
4667
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -4678,9 +4679,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
4678
4679
  localVarQueryParameter = {};
4679
4680
  // authentication apiKeyCookie required
4680
4681
  // authentication authCookie required
4682
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4681
4683
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
4682
4684
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4683
4685
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4686
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration);
4684
4687
  return [2 /*return*/, {
4685
4688
  url: common_1.toPathString(localVarUrlObj),
4686
4689
  options: localVarRequestOptions,
@@ -4735,7 +4738,7 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
4735
4738
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
4736
4739
  * @summary Respond Invite
4737
4740
  * @param {string} notificationId
4738
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
4741
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
4739
4742
  * @param {*} [options] Override http request option.
4740
4743
  * @throws {RequiredError}
4741
4744
  */
@@ -4892,15 +4895,16 @@ exports.InviteApiFp = function (configuration) {
4892
4895
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
4893
4896
  * @summary Request Invite
4894
4897
  * @param {string} userId
4898
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
4895
4899
  * @param {*} [options] Override http request option.
4896
4900
  * @throws {RequiredError}
4897
4901
  */
4898
- requestInvite: function (userId, options) {
4902
+ requestInvite: function (userId, requestInviteRequest, options) {
4899
4903
  return __awaiter(this, void 0, void 0, function () {
4900
4904
  var localVarAxiosArgs;
4901
4905
  return __generator(this, function (_a) {
4902
4906
  switch (_a.label) {
4903
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, options)];
4907
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, requestInviteRequest, options)];
4904
4908
  case 1:
4905
4909
  localVarAxiosArgs = _a.sent();
4906
4910
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -4934,7 +4938,7 @@ exports.InviteApiFp = function (configuration) {
4934
4938
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
4935
4939
  * @summary Respond Invite
4936
4940
  * @param {string} notificationId
4937
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
4941
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
4938
4942
  * @param {*} [options] Override http request option.
4939
4943
  * @throws {RequiredError}
4940
4944
  */
@@ -5021,11 +5025,12 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
5021
5025
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
5022
5026
  * @summary Request Invite
5023
5027
  * @param {string} userId
5028
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
5024
5029
  * @param {*} [options] Override http request option.
5025
5030
  * @throws {RequiredError}
5026
5031
  */
5027
- requestInvite: function (userId, options) {
5028
- return localVarFp.requestInvite(userId, options).then(function (request) { return request(axios, basePath); });
5032
+ requestInvite: function (userId, requestInviteRequest, options) {
5033
+ return localVarFp.requestInvite(userId, requestInviteRequest, options).then(function (request) { return request(axios, basePath); });
5029
5034
  },
5030
5035
  /**
5031
5036
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
@@ -5043,7 +5048,7 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
5043
5048
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
5044
5049
  * @summary Respond Invite
5045
5050
  * @param {string} notificationId
5046
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
5051
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
5047
5052
  * @param {*} [options] Override http request option.
5048
5053
  * @throws {RequiredError}
5049
5054
  */
@@ -5120,13 +5125,14 @@ var InviteApi = /** @class */ (function (_super) {
5120
5125
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
5121
5126
  * @summary Request Invite
5122
5127
  * @param {string} userId
5128
+ * @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
5123
5129
  * @param {*} [options] Override http request option.
5124
5130
  * @throws {RequiredError}
5125
5131
  * @memberof InviteApi
5126
5132
  */
5127
- InviteApi.prototype.requestInvite = function (userId, options) {
5133
+ InviteApi.prototype.requestInvite = function (userId, requestInviteRequest, options) {
5128
5134
  var _this = this;
5129
- return exports.InviteApiFp(this.configuration).requestInvite(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
5135
+ return exports.InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
5130
5136
  };
5131
5137
  /**
5132
5138
  * Resets a single Invite Message back to its original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
@@ -5146,7 +5152,7 @@ var InviteApi = /** @class */ (function (_super) {
5146
5152
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
5147
5153
  * @summary Respond Invite
5148
5154
  * @param {string} notificationId
5149
- * @param {InviteResponse} [inviteResponse] Instance ID when inviting a user.
5155
+ * @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
5150
5156
  * @param {*} [options] Override http request option.
5151
5157
  * @throws {RequiredError}
5152
5158
  * @memberof InviteApi
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.6.5
4
+ * The version of the OpenAPI document: 1.6.6
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.6.5
7
+ * The version of the OpenAPI document: 1.6.6
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.6.5
4
+ * The version of the OpenAPI document: 1.6.6
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.6.5
7
+ * The version of the OpenAPI document: 1.6.6
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.6.5
4
+ * The version of the OpenAPI document: 1.6.6
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.6.5
7
+ * The version of the OpenAPI document: 1.6.6
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.6.5
4
+ * The version of the OpenAPI document: 1.6.6
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.6.5
7
+ * The version of the OpenAPI document: 1.6.6
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.6.5
6
+ * The version of the OpenAPI document: 1.6.6
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrchat",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [