vrchat 1.5.0 → 1.5.1

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/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.5.0
6
+ * The version of the OpenAPI document: 1.5.1
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.5.0
6
+ * The version of the OpenAPI document: 1.5.1
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.5.0
6
+ * The version of the OpenAPI document: 1.5.1
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.5.0
4
+ * The version of the OpenAPI document: 1.5.1
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1683,6 +1683,19 @@ export interface FriendStatus {
1683
1683
  */
1684
1684
  'outgoingRequest': boolean;
1685
1685
  }
1686
+ /**
1687
+ *
1688
+ * @export
1689
+ * @interface InlineResponse404
1690
+ */
1691
+ export interface InlineResponse404 {
1692
+ /**
1693
+ *
1694
+ * @type {Error}
1695
+ * @memberof InlineResponse404
1696
+ */
1697
+ 'error': Error;
1698
+ }
1686
1699
  /**
1687
1700
  *
1688
1701
  * @export
@@ -2687,6 +2700,19 @@ export interface UpdateFavoriteGroupRequest {
2687
2700
  */
2688
2701
  'tags'?: Array<string>;
2689
2702
  }
2703
+ /**
2704
+ *
2705
+ * @export
2706
+ * @interface UpdateInviteMessageRequest
2707
+ */
2708
+ export interface UpdateInviteMessageRequest {
2709
+ /**
2710
+ *
2711
+ * @type {string}
2712
+ * @memberof UpdateInviteMessageRequest
2713
+ */
2714
+ 'message': string;
2715
+ }
2690
2716
  /**
2691
2717
  *
2692
2718
  * @export
@@ -4872,6 +4898,143 @@ export declare class FriendsApi extends BaseAPI {
4872
4898
  */
4873
4899
  unfriend(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Success>>;
4874
4900
  }
4901
+ /**
4902
+ * InstancesApi - axios parameter creator
4903
+ * @export
4904
+ */
4905
+ export declare const InstancesApiAxiosParamCreator: (configuration?: Configuration) => {
4906
+ /**
4907
+ * Returns an instance.
4908
+ * @summary Get Instance
4909
+ * @param {string} worldId
4910
+ * @param {string} instanceId
4911
+ * @param {*} [options] Override http request option.
4912
+ * @throws {RequiredError}
4913
+ */
4914
+ getInstance: (worldId: string, instanceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4915
+ /**
4916
+ * Returns an instance short name.
4917
+ * @summary Get Instance Short Name
4918
+ * @param {string} worldId
4919
+ * @param {string} instanceId
4920
+ * @param {*} [options] Override http request option.
4921
+ * @throws {RequiredError}
4922
+ */
4923
+ getShortName: (worldId: string, instanceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4924
+ /**
4925
+ * Sends an invite to the instance to yourself.
4926
+ * @summary Send Self Invite
4927
+ * @param {string} worldId
4928
+ * @param {string} instanceId
4929
+ * @param {*} [options] Override http request option.
4930
+ * @throws {RequiredError}
4931
+ */
4932
+ sendSelfInvite: (worldId: string, instanceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4933
+ };
4934
+ /**
4935
+ * InstancesApi - functional programming interface
4936
+ * @export
4937
+ */
4938
+ export declare const InstancesApiFp: (configuration?: Configuration) => {
4939
+ /**
4940
+ * Returns an instance.
4941
+ * @summary Get Instance
4942
+ * @param {string} worldId
4943
+ * @param {string} instanceId
4944
+ * @param {*} [options] Override http request option.
4945
+ * @throws {RequiredError}
4946
+ */
4947
+ getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
4948
+ /**
4949
+ * Returns an instance short name.
4950
+ * @summary Get Instance Short Name
4951
+ * @param {string} worldId
4952
+ * @param {string} instanceId
4953
+ * @param {*} [options] Override http request option.
4954
+ * @throws {RequiredError}
4955
+ */
4956
+ getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
4957
+ /**
4958
+ * Sends an invite to the instance to yourself.
4959
+ * @summary Send Self Invite
4960
+ * @param {string} worldId
4961
+ * @param {string} instanceId
4962
+ * @param {*} [options] Override http request option.
4963
+ * @throws {RequiredError}
4964
+ */
4965
+ sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>>;
4966
+ };
4967
+ /**
4968
+ * InstancesApi - factory interface
4969
+ * @export
4970
+ */
4971
+ export declare const InstancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4972
+ /**
4973
+ * Returns an instance.
4974
+ * @summary Get Instance
4975
+ * @param {string} worldId
4976
+ * @param {string} instanceId
4977
+ * @param {*} [options] Override http request option.
4978
+ * @throws {RequiredError}
4979
+ */
4980
+ getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance>;
4981
+ /**
4982
+ * Returns an instance short name.
4983
+ * @summary Get Instance Short Name
4984
+ * @param {string} worldId
4985
+ * @param {string} instanceId
4986
+ * @param {*} [options] Override http request option.
4987
+ * @throws {RequiredError}
4988
+ */
4989
+ getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<string>;
4990
+ /**
4991
+ * Sends an invite to the instance to yourself.
4992
+ * @summary Send Self Invite
4993
+ * @param {string} worldId
4994
+ * @param {string} instanceId
4995
+ * @param {*} [options] Override http request option.
4996
+ * @throws {RequiredError}
4997
+ */
4998
+ sendSelfInvite(worldId: string, instanceId: string, options?: any): AxiosPromise<Success>;
4999
+ };
5000
+ /**
5001
+ * InstancesApi - object-oriented interface
5002
+ * @export
5003
+ * @class InstancesApi
5004
+ * @extends {BaseAPI}
5005
+ */
5006
+ export declare class InstancesApi extends BaseAPI {
5007
+ /**
5008
+ * Returns an instance.
5009
+ * @summary Get Instance
5010
+ * @param {string} worldId
5011
+ * @param {string} instanceId
5012
+ * @param {*} [options] Override http request option.
5013
+ * @throws {RequiredError}
5014
+ * @memberof InstancesApi
5015
+ */
5016
+ getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Instance>>;
5017
+ /**
5018
+ * Returns an instance short name.
5019
+ * @summary Get Instance Short Name
5020
+ * @param {string} worldId
5021
+ * @param {string} instanceId
5022
+ * @param {*} [options] Override http request option.
5023
+ * @throws {RequiredError}
5024
+ * @memberof InstancesApi
5025
+ */
5026
+ getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
5027
+ /**
5028
+ * Sends an invite to the instance to yourself.
5029
+ * @summary Send Self Invite
5030
+ * @param {string} worldId
5031
+ * @param {string} instanceId
5032
+ * @param {*} [options] Override http request option.
5033
+ * @throws {RequiredError}
5034
+ * @memberof InstancesApi
5035
+ */
5036
+ sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Success>>;
5037
+ }
4875
5038
  /**
4876
5039
  * InviteApi - axios parameter creator
4877
5040
  * @export
@@ -4879,14 +5042,14 @@ export declare class FriendsApi extends BaseAPI {
4879
5042
  export declare const InviteApiAxiosParamCreator: (configuration?: Configuration) => {
4880
5043
  /**
4881
5044
  * Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! 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
4882
- * @summary Get Invite Messages
5045
+ * @summary Get Invite Message
4883
5046
  * @param {string} userId
4884
5047
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
4885
- * @param {number} messageId
5048
+ * @param {number} slot
4886
5049
  * @param {*} [options] Override http request option.
4887
5050
  * @throws {RequiredError}
4888
5051
  */
4889
- getInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5052
+ getInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4890
5053
  /**
4891
5054
  * Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! 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
4892
5055
  * @summary List Invite Messages
@@ -4914,15 +5077,15 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
4914
5077
  */
4915
5078
  requestInvite: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4916
5079
  /**
4917
- * Resets a single Invite Message back to it\'s 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, but resetting it does 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
5080
+ * Resets a single Invite Message back to it\'s 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.
4918
5081
  * @summary Reset Invite Message
4919
5082
  * @param {string} userId
4920
5083
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
4921
- * @param {number} messageId
5084
+ * @param {number} slot
4922
5085
  * @param {*} [options] Override http request option.
4923
5086
  * @throws {RequiredError}
4924
5087
  */
4925
- resetInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5088
+ resetInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4926
5089
  /**
4927
5090
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
4928
5091
  * @summary Respond Invite
@@ -4933,15 +5096,16 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
4933
5096
  */
4934
5097
  respondInvite: (notificationId: string, inviteResponse?: InviteResponse, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4935
5098
  /**
4936
- * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5099
+ * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
4937
5100
  * @summary Update Invite Message
4938
5101
  * @param {string} userId
4939
5102
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
4940
- * @param {number} messageId
5103
+ * @param {number} slot
5104
+ * @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
4941
5105
  * @param {*} [options] Override http request option.
4942
5106
  * @throws {RequiredError}
4943
5107
  */
4944
- updateInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5108
+ updateInviteMessage: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4945
5109
  };
4946
5110
  /**
4947
5111
  * InviteApi - functional programming interface
@@ -4950,14 +5114,14 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
4950
5114
  export declare const InviteApiFp: (configuration?: Configuration) => {
4951
5115
  /**
4952
5116
  * Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! 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
4953
- * @summary Get Invite Messages
5117
+ * @summary Get Invite Message
4954
5118
  * @param {string} userId
4955
5119
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
4956
- * @param {number} messageId
5120
+ * @param {number} slot
4957
5121
  * @param {*} [options] Override http request option.
4958
5122
  * @throws {RequiredError}
4959
5123
  */
4960
- getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteMessage>>;
5124
+ getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteMessage>>;
4961
5125
  /**
4962
5126
  * Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! 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
4963
5127
  * @summary List Invite Messages
@@ -4985,15 +5149,15 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
4985
5149
  */
4986
5150
  requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
4987
5151
  /**
4988
- * Resets a single Invite Message back to it\'s 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, but resetting it does 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
5152
+ * Resets a single Invite Message back to it\'s 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.
4989
5153
  * @summary Reset Invite Message
4990
5154
  * @param {string} userId
4991
5155
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
4992
- * @param {number} messageId
5156
+ * @param {number} slot
4993
5157
  * @param {*} [options] Override http request option.
4994
5158
  * @throws {RequiredError}
4995
5159
  */
4996
- resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>>;
5160
+ resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>>;
4997
5161
  /**
4998
5162
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
4999
5163
  * @summary Respond Invite
@@ -5004,15 +5168,16 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
5004
5168
  */
5005
5169
  respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
5006
5170
  /**
5007
- * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5171
+ * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5008
5172
  * @summary Update Invite Message
5009
5173
  * @param {string} userId
5010
5174
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5011
- * @param {number} messageId
5175
+ * @param {number} slot
5176
+ * @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
5012
5177
  * @param {*} [options] Override http request option.
5013
5178
  * @throws {RequiredError}
5014
5179
  */
5015
- updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>>;
5180
+ updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>>;
5016
5181
  };
5017
5182
  /**
5018
5183
  * InviteApi - factory interface
@@ -5021,14 +5186,14 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
5021
5186
  export declare const InviteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5022
5187
  /**
5023
5188
  * Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! 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
5024
- * @summary Get Invite Messages
5189
+ * @summary Get Invite Message
5025
5190
  * @param {string} userId
5026
5191
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5027
- * @param {number} messageId
5192
+ * @param {number} slot
5028
5193
  * @param {*} [options] Override http request option.
5029
5194
  * @throws {RequiredError}
5030
5195
  */
5031
- getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: any): AxiosPromise<InviteMessage>;
5196
+ getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: any): AxiosPromise<InviteMessage>;
5032
5197
  /**
5033
5198
  * Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! 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
5034
5199
  * @summary List Invite Messages
@@ -5056,15 +5221,15 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
5056
5221
  */
5057
5222
  requestInvite(userId: string, options?: any): AxiosPromise<Notification>;
5058
5223
  /**
5059
- * Resets a single Invite Message back to it\'s 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, but resetting it does 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
5224
+ * Resets a single Invite Message back to it\'s 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.
5060
5225
  * @summary Reset Invite Message
5061
5226
  * @param {string} userId
5062
5227
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5063
- * @param {number} messageId
5228
+ * @param {number} slot
5064
5229
  * @param {*} [options] Override http request option.
5065
5230
  * @throws {RequiredError}
5066
5231
  */
5067
- resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: any): AxiosPromise<Array<InviteMessage>>;
5232
+ resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: any): AxiosPromise<Array<InviteMessage>>;
5068
5233
  /**
5069
5234
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
5070
5235
  * @summary Respond Invite
@@ -5075,15 +5240,16 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
5075
5240
  */
5076
5241
  respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: any): AxiosPromise<Notification>;
5077
5242
  /**
5078
- * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5243
+ * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5079
5244
  * @summary Update Invite Message
5080
5245
  * @param {string} userId
5081
5246
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5082
- * @param {number} messageId
5247
+ * @param {number} slot
5248
+ * @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
5083
5249
  * @param {*} [options] Override http request option.
5084
5250
  * @throws {RequiredError}
5085
5251
  */
5086
- updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: any): AxiosPromise<Array<InviteMessage>>;
5252
+ updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: any): AxiosPromise<Array<InviteMessage>>;
5087
5253
  };
5088
5254
  /**
5089
5255
  * InviteApi - object-oriented interface
@@ -5094,15 +5260,15 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
5094
5260
  export declare class InviteApi extends BaseAPI {
5095
5261
  /**
5096
5262
  * Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! 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
5097
- * @summary Get Invite Messages
5263
+ * @summary Get Invite Message
5098
5264
  * @param {string} userId
5099
5265
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5100
- * @param {number} messageId
5266
+ * @param {number} slot
5101
5267
  * @param {*} [options] Override http request option.
5102
5268
  * @throws {RequiredError}
5103
5269
  * @memberof InviteApi
5104
5270
  */
5105
- getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage>>;
5271
+ getInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage>>;
5106
5272
  /**
5107
5273
  * Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! 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
5108
5274
  * @summary List Invite Messages
@@ -5133,16 +5299,16 @@ export declare class InviteApi extends BaseAPI {
5133
5299
  */
5134
5300
  requestInvite(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
5135
5301
  /**
5136
- * Resets a single Invite Message back to it\'s 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, but resetting it does 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
5302
+ * Resets a single Invite Message back to it\'s 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.
5137
5303
  * @summary Reset Invite Message
5138
5304
  * @param {string} userId
5139
5305
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5140
- * @param {number} messageId
5306
+ * @param {number} slot
5141
5307
  * @param {*} [options] Override http request option.
5142
5308
  * @throws {RequiredError}
5143
5309
  * @memberof InviteApi
5144
5310
  */
5145
- resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage[]>>;
5311
+ resetInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage[]>>;
5146
5312
  /**
5147
5313
  * Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
5148
5314
  * @summary Respond Invite
@@ -5154,16 +5320,17 @@ export declare class InviteApi extends BaseAPI {
5154
5320
  */
5155
5321
  respondInvite(notificationId: string, inviteResponse?: InviteResponse, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
5156
5322
  /**
5157
- * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5323
+ * Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. 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
5158
5324
  * @summary Update Invite Message
5159
5325
  * @param {string} userId
5160
5326
  * @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
5161
- * @param {number} messageId
5327
+ * @param {number} slot
5328
+ * @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
5162
5329
  * @param {*} [options] Override http request option.
5163
5330
  * @throws {RequiredError}
5164
5331
  * @memberof InviteApi
5165
5332
  */
5166
- updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', messageId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage[]>>;
5333
+ updateInviteMessage(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', slot: number, updateInviteMessageRequest?: UpdateInviteMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage[]>>;
5167
5334
  }
5168
5335
  /**
5169
5336
  * NotificationsApi - axios parameter creator
@@ -5525,7 +5692,7 @@ export declare const PlayermoderationApiFp: (configuration?: Configuration) => {
5525
5692
  * @param {*} [options] Override http request option.
5526
5693
  * @throws {RequiredError}
5527
5694
  */
5528
- clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>;
5695
+ clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Success>>;
5529
5696
  /**
5530
5697
  * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
5531
5698
  * @summary Delete Player Moderation
@@ -5579,7 +5746,7 @@ export declare const PlayermoderationApiFactory: (configuration?: Configuration,
5579
5746
  * @param {*} [options] Override http request option.
5580
5747
  * @throws {RequiredError}
5581
5748
  */
5582
- clearAllPlayerModerations(options?: any): AxiosPromise<Error>;
5749
+ clearAllPlayerModerations(options?: any): AxiosPromise<Success>;
5583
5750
  /**
5584
5751
  * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
5585
5752
  * @summary Delete Player Moderation
@@ -5636,7 +5803,7 @@ export declare class PlayermoderationApi extends BaseAPI {
5636
5803
  * @throws {RequiredError}
5637
5804
  * @memberof PlayermoderationApi
5638
5805
  */
5639
- clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Error>>;
5806
+ clearAllPlayerModerations(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Success>>;
5640
5807
  /**
5641
5808
  * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
5642
5809
  * @summary Delete Player Moderation
@@ -5706,7 +5873,7 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
5706
5873
  */
5707
5874
  getConfig: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
5708
5875
  /**
5709
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
5876
+ * Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
5710
5877
  * @summary Current Online Users
5711
5878
  * @param {*} [options] Override http request option.
5712
5879
  * @throws {RequiredError}
@@ -5730,7 +5897,7 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
5730
5897
  */
5731
5898
  getJavaScript: (variant?: 'public' | 'internal', branch?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5732
5899
  /**
5733
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
5900
+ * Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
5734
5901
  * @summary Current System Time
5735
5902
  * @param {*} [options] Override http request option.
5736
5903
  * @throws {RequiredError}
@@ -5759,7 +5926,7 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
5759
5926
  */
5760
5927
  getConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIConfig>>;
5761
5928
  /**
5762
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
5929
+ * Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
5763
5930
  * @summary Current Online Users
5764
5931
  * @param {*} [options] Override http request option.
5765
5932
  * @throws {RequiredError}
@@ -5783,7 +5950,7 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
5783
5950
  */
5784
5951
  getJavaScript(variant?: 'public' | 'internal', branch?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
5785
5952
  /**
5786
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
5953
+ * Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
5787
5954
  * @summary Current System Time
5788
5955
  * @param {*} [options] Override http request option.
5789
5956
  * @throws {RequiredError}
@@ -5812,7 +5979,7 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
5812
5979
  */
5813
5980
  getConfig(options?: any): AxiosPromise<APIConfig>;
5814
5981
  /**
5815
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
5982
+ * Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
5816
5983
  * @summary Current Online Users
5817
5984
  * @param {*} [options] Override http request option.
5818
5985
  * @throws {RequiredError}
@@ -5836,7 +6003,7 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
5836
6003
  */
5837
6004
  getJavaScript(variant?: 'public' | 'internal', branch?: string, options?: any): AxiosPromise<string>;
5838
6005
  /**
5839
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
6006
+ * Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
5840
6007
  * @summary Current System Time
5841
6008
  * @param {*} [options] Override http request option.
5842
6009
  * @throws {RequiredError}
@@ -5869,7 +6036,7 @@ export declare class SystemApi extends BaseAPI {
5869
6036
  */
5870
6037
  getConfig(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<APIConfig>>;
5871
6038
  /**
5872
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
6039
+ * Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
5873
6040
  * @summary Current Online Users
5874
6041
  * @param {*} [options] Override http request option.
5875
6042
  * @throws {RequiredError}
@@ -5896,7 +6063,7 @@ export declare class SystemApi extends BaseAPI {
5896
6063
  */
5897
6064
  getJavaScript(variant?: 'public' | 'internal', branch?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
5898
6065
  /**
5899
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
6066
+ * Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
5900
6067
  * @summary Current System Time
5901
6068
  * @param {*} [options] Override http request option.
5902
6069
  * @throws {RequiredError}