vrchat 1.6.5 → 1.6.9
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 +52 -27
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +46 -22
- package/dist/api.js +23 -18
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
6
|
+
* The version of the OpenAPI document: 1.6.9
|
|
7
7
|
* Contact: me@ruby.js.org
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1551,7 +1551,8 @@ export enum FileDataCategoryEnum {
|
|
|
1551
1551
|
export enum FileStatus {
|
|
1552
1552
|
Waiting = 'waiting',
|
|
1553
1553
|
Complete = 'complete',
|
|
1554
|
-
None = 'none'
|
|
1554
|
+
None = 'none',
|
|
1555
|
+
Queued = 'queued'
|
|
1555
1556
|
}
|
|
1556
1557
|
|
|
1557
1558
|
/**
|
|
@@ -1946,7 +1947,7 @@ export interface Instance {
|
|
|
1946
1947
|
*/
|
|
1947
1948
|
'full': boolean;
|
|
1948
1949
|
/**
|
|
1949
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1950
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
1950
1951
|
* @type {string}
|
|
1951
1952
|
* @memberof Instance
|
|
1952
1953
|
*/
|
|
@@ -1958,7 +1959,7 @@ export interface Instance {
|
|
|
1958
1959
|
*/
|
|
1959
1960
|
'instanceId': string;
|
|
1960
1961
|
/**
|
|
1961
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1962
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
1962
1963
|
* @type {string}
|
|
1963
1964
|
* @memberof Instance
|
|
1964
1965
|
*/
|
|
@@ -2149,11 +2150,17 @@ export enum InviteMessageType {
|
|
|
2149
2150
|
*/
|
|
2150
2151
|
export interface InviteRequest {
|
|
2151
2152
|
/**
|
|
2152
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
2153
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
2153
2154
|
* @type {string}
|
|
2154
2155
|
* @memberof InviteRequest
|
|
2155
2156
|
*/
|
|
2156
2157
|
'instanceId': string;
|
|
2158
|
+
/**
|
|
2159
|
+
*
|
|
2160
|
+
* @type {number}
|
|
2161
|
+
* @memberof InviteRequest
|
|
2162
|
+
*/
|
|
2163
|
+
'messageSlot'?: number;
|
|
2157
2164
|
}
|
|
2158
2165
|
/**
|
|
2159
2166
|
*
|
|
@@ -2836,6 +2843,19 @@ export enum ReleaseStatus {
|
|
|
2836
2843
|
Hidden = 'hidden'
|
|
2837
2844
|
}
|
|
2838
2845
|
|
|
2846
|
+
/**
|
|
2847
|
+
*
|
|
2848
|
+
* @export
|
|
2849
|
+
* @interface RequestInviteRequest
|
|
2850
|
+
*/
|
|
2851
|
+
export interface RequestInviteRequest {
|
|
2852
|
+
/**
|
|
2853
|
+
*
|
|
2854
|
+
* @type {number}
|
|
2855
|
+
* @memberof RequestInviteRequest
|
|
2856
|
+
*/
|
|
2857
|
+
'messageSlot'?: number;
|
|
2858
|
+
}
|
|
2839
2859
|
/**
|
|
2840
2860
|
*
|
|
2841
2861
|
* @export
|
|
@@ -3568,7 +3588,7 @@ export interface User {
|
|
|
3568
3588
|
*/
|
|
3569
3589
|
'id': string;
|
|
3570
3590
|
/**
|
|
3571
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
3591
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
3572
3592
|
* @type {string}
|
|
3573
3593
|
* @memberof User
|
|
3574
3594
|
*/
|
|
@@ -6861,19 +6881,17 @@ export const FilesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6861
6881
|
* @param {string} fileId
|
|
6862
6882
|
* @param {number} versionId
|
|
6863
6883
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
6864
|
-
* @param {number} partNumber
|
|
6884
|
+
* @param {number} [partNumber]
|
|
6865
6885
|
* @param {*} [options] Override http request option.
|
|
6866
6886
|
* @throws {RequiredError}
|
|
6867
6887
|
*/
|
|
6868
|
-
startFileDataUpload: async (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
6888
|
+
startFileDataUpload: async (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6869
6889
|
// verify required parameter 'fileId' is not null or undefined
|
|
6870
6890
|
assertParamExists('startFileDataUpload', 'fileId', fileId)
|
|
6871
6891
|
// verify required parameter 'versionId' is not null or undefined
|
|
6872
6892
|
assertParamExists('startFileDataUpload', 'versionId', versionId)
|
|
6873
6893
|
// verify required parameter 'fileType' is not null or undefined
|
|
6874
6894
|
assertParamExists('startFileDataUpload', 'fileType', fileType)
|
|
6875
|
-
// verify required parameter 'partNumber' is not null or undefined
|
|
6876
|
-
assertParamExists('startFileDataUpload', 'partNumber', partNumber)
|
|
6877
6895
|
const localVarPath = `/file/{fileId}/{versionId}/{fileType}/start`
|
|
6878
6896
|
.replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
|
|
6879
6897
|
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)))
|
|
@@ -7034,11 +7052,11 @@ export const FilesApiFp = function(configuration?: Configuration) {
|
|
|
7034
7052
|
* @param {string} fileId
|
|
7035
7053
|
* @param {number} versionId
|
|
7036
7054
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7037
|
-
* @param {number} partNumber
|
|
7055
|
+
* @param {number} [partNumber]
|
|
7038
7056
|
* @param {*} [options] Override http request option.
|
|
7039
7057
|
* @throws {RequiredError}
|
|
7040
7058
|
*/
|
|
7041
|
-
async startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
7059
|
+
async startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadURL>> {
|
|
7042
7060
|
const localVarAxiosArgs = await localVarAxiosParamCreator.startFileDataUpload(fileId, versionId, fileType, partNumber, options);
|
|
7043
7061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7044
7062
|
},
|
|
@@ -7159,11 +7177,11 @@ export const FilesApiFactory = function (configuration?: Configuration, basePath
|
|
|
7159
7177
|
* @param {string} fileId
|
|
7160
7178
|
* @param {number} versionId
|
|
7161
7179
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7162
|
-
* @param {number} partNumber
|
|
7180
|
+
* @param {number} [partNumber]
|
|
7163
7181
|
* @param {*} [options] Override http request option.
|
|
7164
7182
|
* @throws {RequiredError}
|
|
7165
7183
|
*/
|
|
7166
|
-
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
7184
|
+
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: any): AxiosPromise<FileUploadURL> {
|
|
7167
7185
|
return localVarFp.startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(axios, basePath));
|
|
7168
7186
|
},
|
|
7169
7187
|
};
|
|
@@ -7301,12 +7319,12 @@ export class FilesApi extends BaseAPI {
|
|
|
7301
7319
|
* @param {string} fileId
|
|
7302
7320
|
* @param {number} versionId
|
|
7303
7321
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7304
|
-
* @param {number} partNumber
|
|
7322
|
+
* @param {number} [partNumber]
|
|
7305
7323
|
* @param {*} [options] Override http request option.
|
|
7306
7324
|
* @throws {RequiredError}
|
|
7307
7325
|
* @memberof FilesApi
|
|
7308
7326
|
*/
|
|
7309
|
-
public startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
7327
|
+
public startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: AxiosRequestConfig) {
|
|
7310
7328
|
return FilesApiFp(this.configuration).startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(this.axios, this.basePath));
|
|
7311
7329
|
}
|
|
7312
7330
|
}
|
|
@@ -8134,10 +8152,11 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8134
8152
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8135
8153
|
* @summary Request Invite
|
|
8136
8154
|
* @param {string} userId
|
|
8155
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8137
8156
|
* @param {*} [options] Override http request option.
|
|
8138
8157
|
* @throws {RequiredError}
|
|
8139
8158
|
*/
|
|
8140
|
-
requestInvite: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8159
|
+
requestInvite: async (userId: string, requestInviteRequest?: RequestInviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8141
8160
|
// verify required parameter 'userId' is not null or undefined
|
|
8142
8161
|
assertParamExists('requestInvite', 'userId', userId)
|
|
8143
8162
|
const localVarPath = `/requestInvite/{userId}`
|
|
@@ -8159,9 +8178,12 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8159
8178
|
|
|
8160
8179
|
|
|
8161
8180
|
|
|
8181
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8182
|
+
|
|
8162
8183
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8163
8184
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8164
8185
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8186
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration)
|
|
8165
8187
|
|
|
8166
8188
|
return {
|
|
8167
8189
|
url: toPathString(localVarUrlObj),
|
|
@@ -8218,7 +8240,7 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8218
8240
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8219
8241
|
* @summary Respond Invite
|
|
8220
8242
|
* @param {string} notificationId
|
|
8221
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8243
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8222
8244
|
* @param {*} [options] Override http request option.
|
|
8223
8245
|
* @throws {RequiredError}
|
|
8224
8246
|
*/
|
|
@@ -8357,11 +8379,12 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8357
8379
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8358
8380
|
* @summary Request Invite
|
|
8359
8381
|
* @param {string} userId
|
|
8382
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8360
8383
|
* @param {*} [options] Override http request option.
|
|
8361
8384
|
* @throws {RequiredError}
|
|
8362
8385
|
*/
|
|
8363
|
-
async requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
|
|
8364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.requestInvite(userId, options);
|
|
8386
|
+
async requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
|
|
8387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestInvite(userId, requestInviteRequest, options);
|
|
8365
8388
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8366
8389
|
},
|
|
8367
8390
|
/**
|
|
@@ -8381,7 +8404,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8381
8404
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8382
8405
|
* @summary Respond Invite
|
|
8383
8406
|
* @param {string} notificationId
|
|
8384
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8407
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8385
8408
|
* @param {*} [options] Override http request option.
|
|
8386
8409
|
* @throws {RequiredError}
|
|
8387
8410
|
*/
|
|
@@ -8451,11 +8474,12 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8451
8474
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8452
8475
|
* @summary Request Invite
|
|
8453
8476
|
* @param {string} userId
|
|
8477
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8454
8478
|
* @param {*} [options] Override http request option.
|
|
8455
8479
|
* @throws {RequiredError}
|
|
8456
8480
|
*/
|
|
8457
|
-
requestInvite(userId: string, options?: any): AxiosPromise<Notification> {
|
|
8458
|
-
return localVarFp.requestInvite(userId, options).then((request) => request(axios, basePath));
|
|
8481
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: any): AxiosPromise<Notification> {
|
|
8482
|
+
return localVarFp.requestInvite(userId, requestInviteRequest, options).then((request) => request(axios, basePath));
|
|
8459
8483
|
},
|
|
8460
8484
|
/**
|
|
8461
8485
|
* 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 +8497,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8473
8497
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8474
8498
|
* @summary Respond Invite
|
|
8475
8499
|
* @param {string} notificationId
|
|
8476
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8500
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8477
8501
|
* @param {*} [options] Override http request option.
|
|
8478
8502
|
* @throws {RequiredError}
|
|
8479
8503
|
*/
|
|
@@ -8547,12 +8571,13 @@ export class InviteApi extends BaseAPI {
|
|
|
8547
8571
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8548
8572
|
* @summary Request Invite
|
|
8549
8573
|
* @param {string} userId
|
|
8574
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8550
8575
|
* @param {*} [options] Override http request option.
|
|
8551
8576
|
* @throws {RequiredError}
|
|
8552
8577
|
* @memberof InviteApi
|
|
8553
8578
|
*/
|
|
8554
|
-
public requestInvite(userId: string, options?: AxiosRequestConfig) {
|
|
8555
|
-
return InviteApiFp(this.configuration).requestInvite(userId, options).then((request) => request(this.axios, this.basePath));
|
|
8579
|
+
public requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) {
|
|
8580
|
+
return InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8556
8581
|
}
|
|
8557
8582
|
|
|
8558
8583
|
/**
|
|
@@ -8573,7 +8598,7 @@ export class InviteApi extends BaseAPI {
|
|
|
8573
8598
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8574
8599
|
* @summary Respond Invite
|
|
8575
8600
|
* @param {string} notificationId
|
|
8576
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8601
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8577
8602
|
* @param {*} [options] Override http request option.
|
|
8578
8603
|
* @throws {RequiredError}
|
|
8579
8604
|
* @memberof InviteApi
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.
|
|
4
|
+
* The version of the OpenAPI document: 1.6.9
|
|
5
5
|
* Contact: me@ruby.js.org
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1530,7 +1530,8 @@ export declare enum FileDataCategoryEnum {
|
|
|
1530
1530
|
export declare enum FileStatus {
|
|
1531
1531
|
Waiting = "waiting",
|
|
1532
1532
|
Complete = "complete",
|
|
1533
|
-
None = "none"
|
|
1533
|
+
None = "none",
|
|
1534
|
+
Queued = "queued"
|
|
1534
1535
|
}
|
|
1535
1536
|
/**
|
|
1536
1537
|
*
|
|
@@ -1922,7 +1923,7 @@ export interface Instance {
|
|
|
1922
1923
|
*/
|
|
1923
1924
|
'full': boolean;
|
|
1924
1925
|
/**
|
|
1925
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1926
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
1926
1927
|
* @type {string}
|
|
1927
1928
|
* @memberof Instance
|
|
1928
1929
|
*/
|
|
@@ -1934,7 +1935,7 @@ export interface Instance {
|
|
|
1934
1935
|
*/
|
|
1935
1936
|
'instanceId': string;
|
|
1936
1937
|
/**
|
|
1937
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
1938
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
1938
1939
|
* @type {string}
|
|
1939
1940
|
* @memberof Instance
|
|
1940
1941
|
*/
|
|
@@ -2121,11 +2122,17 @@ export declare enum InviteMessageType {
|
|
|
2121
2122
|
*/
|
|
2122
2123
|
export interface InviteRequest {
|
|
2123
2124
|
/**
|
|
2124
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
2125
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
2125
2126
|
* @type {string}
|
|
2126
2127
|
* @memberof InviteRequest
|
|
2127
2128
|
*/
|
|
2128
2129
|
'instanceId': string;
|
|
2130
|
+
/**
|
|
2131
|
+
*
|
|
2132
|
+
* @type {number}
|
|
2133
|
+
* @memberof InviteRequest
|
|
2134
|
+
*/
|
|
2135
|
+
'messageSlot'?: number;
|
|
2129
2136
|
}
|
|
2130
2137
|
/**
|
|
2131
2138
|
*
|
|
@@ -2794,6 +2801,19 @@ export declare enum ReleaseStatus {
|
|
|
2794
2801
|
Private = "private",
|
|
2795
2802
|
Hidden = "hidden"
|
|
2796
2803
|
}
|
|
2804
|
+
/**
|
|
2805
|
+
*
|
|
2806
|
+
* @export
|
|
2807
|
+
* @interface RequestInviteRequest
|
|
2808
|
+
*/
|
|
2809
|
+
export interface RequestInviteRequest {
|
|
2810
|
+
/**
|
|
2811
|
+
*
|
|
2812
|
+
* @type {number}
|
|
2813
|
+
* @memberof RequestInviteRequest
|
|
2814
|
+
*/
|
|
2815
|
+
'messageSlot'?: number;
|
|
2816
|
+
}
|
|
2797
2817
|
/**
|
|
2798
2818
|
*
|
|
2799
2819
|
* @export
|
|
@@ -3522,7 +3542,7 @@ export interface User {
|
|
|
3522
3542
|
*/
|
|
3523
3543
|
'id': string;
|
|
3524
3544
|
/**
|
|
3525
|
-
* InstanceID be \"offline\" on User profiles if you are not friends with that user.
|
|
3545
|
+
* InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance.
|
|
3526
3546
|
* @type {string}
|
|
3527
3547
|
* @memberof User
|
|
3528
3548
|
*/
|
|
@@ -5257,11 +5277,11 @@ export declare const FilesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5257
5277
|
* @param {string} fileId
|
|
5258
5278
|
* @param {number} versionId
|
|
5259
5279
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5260
|
-
* @param {number} partNumber
|
|
5280
|
+
* @param {number} [partNumber]
|
|
5261
5281
|
* @param {*} [options] Override http request option.
|
|
5262
5282
|
* @throws {RequiredError}
|
|
5263
5283
|
*/
|
|
5264
|
-
startFileDataUpload: (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
5284
|
+
startFileDataUpload: (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5265
5285
|
};
|
|
5266
5286
|
/**
|
|
5267
5287
|
* FilesApi - functional programming interface
|
|
@@ -5357,11 +5377,11 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
|
|
|
5357
5377
|
* @param {string} fileId
|
|
5358
5378
|
* @param {number} versionId
|
|
5359
5379
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5360
|
-
* @param {number} partNumber
|
|
5380
|
+
* @param {number} [partNumber]
|
|
5361
5381
|
* @param {*} [options] Override http request option.
|
|
5362
5382
|
* @throws {RequiredError}
|
|
5363
5383
|
*/
|
|
5364
|
-
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
5384
|
+
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadURL>>;
|
|
5365
5385
|
};
|
|
5366
5386
|
/**
|
|
5367
5387
|
* FilesApi - factory interface
|
|
@@ -5457,11 +5477,11 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5457
5477
|
* @param {string} fileId
|
|
5458
5478
|
* @param {number} versionId
|
|
5459
5479
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5460
|
-
* @param {number} partNumber
|
|
5480
|
+
* @param {number} [partNumber]
|
|
5461
5481
|
* @param {*} [options] Override http request option.
|
|
5462
5482
|
* @throws {RequiredError}
|
|
5463
5483
|
*/
|
|
5464
|
-
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
5484
|
+
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: any): AxiosPromise<FileUploadURL>;
|
|
5465
5485
|
};
|
|
5466
5486
|
/**
|
|
5467
5487
|
* FilesApi - object-oriented interface
|
|
@@ -5568,12 +5588,12 @@ export declare class FilesApi extends BaseAPI {
|
|
|
5568
5588
|
* @param {string} fileId
|
|
5569
5589
|
* @param {number} versionId
|
|
5570
5590
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5571
|
-
* @param {number} partNumber
|
|
5591
|
+
* @param {number} [partNumber]
|
|
5572
5592
|
* @param {*} [options] Override http request option.
|
|
5573
5593
|
* @throws {RequiredError}
|
|
5574
5594
|
* @memberof FilesApi
|
|
5575
5595
|
*/
|
|
5576
|
-
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber
|
|
5596
|
+
startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FileUploadURL>>;
|
|
5577
5597
|
}
|
|
5578
5598
|
/**
|
|
5579
5599
|
* FriendsApi - axios parameter creator
|
|
@@ -5948,10 +5968,11 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5948
5968
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5949
5969
|
* @summary Request Invite
|
|
5950
5970
|
* @param {string} userId
|
|
5971
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5951
5972
|
* @param {*} [options] Override http request option.
|
|
5952
5973
|
* @throws {RequiredError}
|
|
5953
5974
|
*/
|
|
5954
|
-
requestInvite: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5975
|
+
requestInvite: (userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5955
5976
|
/**
|
|
5956
5977
|
* 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
5978
|
* @summary Reset Invite Message
|
|
@@ -5966,7 +5987,7 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5966
5987
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5967
5988
|
* @summary Respond Invite
|
|
5968
5989
|
* @param {string} notificationId
|
|
5969
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5990
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5970
5991
|
* @param {*} [options] Override http request option.
|
|
5971
5992
|
* @throws {RequiredError}
|
|
5972
5993
|
*/
|
|
@@ -6020,10 +6041,11 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
|
|
|
6020
6041
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6021
6042
|
* @summary Request Invite
|
|
6022
6043
|
* @param {string} userId
|
|
6044
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6023
6045
|
* @param {*} [options] Override http request option.
|
|
6024
6046
|
* @throws {RequiredError}
|
|
6025
6047
|
*/
|
|
6026
|
-
requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
|
|
6048
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
|
|
6027
6049
|
/**
|
|
6028
6050
|
* 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
6051
|
* @summary Reset Invite Message
|
|
@@ -6038,7 +6060,7 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
|
|
|
6038
6060
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6039
6061
|
* @summary Respond Invite
|
|
6040
6062
|
* @param {string} notificationId
|
|
6041
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6063
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6042
6064
|
* @param {*} [options] Override http request option.
|
|
6043
6065
|
* @throws {RequiredError}
|
|
6044
6066
|
*/
|
|
@@ -6092,10 +6114,11 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
|
|
|
6092
6114
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6093
6115
|
* @summary Request Invite
|
|
6094
6116
|
* @param {string} userId
|
|
6117
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6095
6118
|
* @param {*} [options] Override http request option.
|
|
6096
6119
|
* @throws {RequiredError}
|
|
6097
6120
|
*/
|
|
6098
|
-
requestInvite(userId: string, options?: any): AxiosPromise<Notification>;
|
|
6121
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: any): AxiosPromise<Notification>;
|
|
6099
6122
|
/**
|
|
6100
6123
|
* 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
6124
|
* @summary Reset Invite Message
|
|
@@ -6110,7 +6133,7 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
|
|
|
6110
6133
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6111
6134
|
* @summary Respond Invite
|
|
6112
6135
|
* @param {string} notificationId
|
|
6113
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6136
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6114
6137
|
* @param {*} [options] Override http request option.
|
|
6115
6138
|
* @throws {RequiredError}
|
|
6116
6139
|
*/
|
|
@@ -6169,11 +6192,12 @@ export declare class InviteApi extends BaseAPI {
|
|
|
6169
6192
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6170
6193
|
* @summary Request Invite
|
|
6171
6194
|
* @param {string} userId
|
|
6195
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6172
6196
|
* @param {*} [options] Override http request option.
|
|
6173
6197
|
* @throws {RequiredError}
|
|
6174
6198
|
* @memberof InviteApi
|
|
6175
6199
|
*/
|
|
6176
|
-
requestInvite(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
|
|
6200
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
|
|
6177
6201
|
/**
|
|
6178
6202
|
* 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
6203
|
* @summary Reset Invite Message
|
|
@@ -6189,7 +6213,7 @@ export declare class InviteApi extends BaseAPI {
|
|
|
6189
6213
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6190
6214
|
* @summary Respond Invite
|
|
6191
6215
|
* @param {string} notificationId
|
|
6192
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6216
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6193
6217
|
* @param {*} [options] Override http request option.
|
|
6194
6218
|
* @throws {RequiredError}
|
|
6195
6219
|
* @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.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.9
|
|
8
8
|
* Contact: me@ruby.js.org
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -150,6 +150,7 @@ var FileStatus;
|
|
|
150
150
|
FileStatus["Waiting"] = "waiting";
|
|
151
151
|
FileStatus["Complete"] = "complete";
|
|
152
152
|
FileStatus["None"] = "none";
|
|
153
|
+
FileStatus["Queued"] = "queued";
|
|
153
154
|
})(FileStatus = exports.FileStatus || (exports.FileStatus = {}));
|
|
154
155
|
/**
|
|
155
156
|
* @export
|
|
@@ -3254,7 +3255,7 @@ exports.FilesApiAxiosParamCreator = function (configuration) {
|
|
|
3254
3255
|
* @param {string} fileId
|
|
3255
3256
|
* @param {number} versionId
|
|
3256
3257
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3257
|
-
* @param {number} partNumber
|
|
3258
|
+
* @param {number} [partNumber]
|
|
3258
3259
|
* @param {*} [options] Override http request option.
|
|
3259
3260
|
* @throws {RequiredError}
|
|
3260
3261
|
*/
|
|
@@ -3269,8 +3270,6 @@ exports.FilesApiAxiosParamCreator = function (configuration) {
|
|
|
3269
3270
|
common_1.assertParamExists('startFileDataUpload', 'versionId', versionId);
|
|
3270
3271
|
// verify required parameter 'fileType' is not null or undefined
|
|
3271
3272
|
common_1.assertParamExists('startFileDataUpload', 'fileType', fileType);
|
|
3272
|
-
// verify required parameter 'partNumber' is not null or undefined
|
|
3273
|
-
common_1.assertParamExists('startFileDataUpload', 'partNumber', partNumber);
|
|
3274
3273
|
localVarPath = "/file/{fileId}/{versionId}/{fileType}/start"
|
|
3275
3274
|
.replace("{" + "fileId" + "}", encodeURIComponent(String(fileId)))
|
|
3276
3275
|
.replace("{" + "versionId" + "}", encodeURIComponent(String(versionId)))
|
|
@@ -3503,7 +3502,7 @@ exports.FilesApiFp = function (configuration) {
|
|
|
3503
3502
|
* @param {string} fileId
|
|
3504
3503
|
* @param {number} versionId
|
|
3505
3504
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3506
|
-
* @param {number} partNumber
|
|
3505
|
+
* @param {number} [partNumber]
|
|
3507
3506
|
* @param {*} [options] Override http request option.
|
|
3508
3507
|
* @throws {RequiredError}
|
|
3509
3508
|
*/
|
|
@@ -3636,7 +3635,7 @@ exports.FilesApiFactory = function (configuration, basePath, axios) {
|
|
|
3636
3635
|
* @param {string} fileId
|
|
3637
3636
|
* @param {number} versionId
|
|
3638
3637
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3639
|
-
* @param {number} partNumber
|
|
3638
|
+
* @param {number} [partNumber]
|
|
3640
3639
|
* @param {*} [options] Override http request option.
|
|
3641
3640
|
* @throws {RequiredError}
|
|
3642
3641
|
*/
|
|
@@ -3781,7 +3780,7 @@ var FilesApi = /** @class */ (function (_super) {
|
|
|
3781
3780
|
* @param {string} fileId
|
|
3782
3781
|
* @param {number} versionId
|
|
3783
3782
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3784
|
-
* @param {number} partNumber
|
|
3783
|
+
* @param {number} [partNumber]
|
|
3785
3784
|
* @param {*} [options] Override http request option.
|
|
3786
3785
|
* @throws {RequiredError}
|
|
3787
3786
|
* @memberof FilesApi
|
|
@@ -4657,10 +4656,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4657
4656
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
4658
4657
|
* @summary Request Invite
|
|
4659
4658
|
* @param {string} userId
|
|
4659
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
4660
4660
|
* @param {*} [options] Override http request option.
|
|
4661
4661
|
* @throws {RequiredError}
|
|
4662
4662
|
*/
|
|
4663
|
-
requestInvite: function (userId, options) {
|
|
4663
|
+
requestInvite: function (userId, requestInviteRequest, options) {
|
|
4664
4664
|
if (options === void 0) { options = {}; }
|
|
4665
4665
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4666
4666
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4678,9 +4678,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4678
4678
|
localVarQueryParameter = {};
|
|
4679
4679
|
// authentication apiKeyCookie required
|
|
4680
4680
|
// authentication authCookie required
|
|
4681
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4681
4682
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4682
4683
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4683
4684
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4685
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration);
|
|
4684
4686
|
return [2 /*return*/, {
|
|
4685
4687
|
url: common_1.toPathString(localVarUrlObj),
|
|
4686
4688
|
options: localVarRequestOptions,
|
|
@@ -4735,7 +4737,7 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4735
4737
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
4736
4738
|
* @summary Respond Invite
|
|
4737
4739
|
* @param {string} notificationId
|
|
4738
|
-
* @param {InviteResponse} [inviteResponse]
|
|
4740
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
4739
4741
|
* @param {*} [options] Override http request option.
|
|
4740
4742
|
* @throws {RequiredError}
|
|
4741
4743
|
*/
|
|
@@ -4892,15 +4894,16 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4892
4894
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
4893
4895
|
* @summary Request Invite
|
|
4894
4896
|
* @param {string} userId
|
|
4897
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
4895
4898
|
* @param {*} [options] Override http request option.
|
|
4896
4899
|
* @throws {RequiredError}
|
|
4897
4900
|
*/
|
|
4898
|
-
requestInvite: function (userId, options) {
|
|
4901
|
+
requestInvite: function (userId, requestInviteRequest, options) {
|
|
4899
4902
|
return __awaiter(this, void 0, void 0, function () {
|
|
4900
4903
|
var localVarAxiosArgs;
|
|
4901
4904
|
return __generator(this, function (_a) {
|
|
4902
4905
|
switch (_a.label) {
|
|
4903
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, options)];
|
|
4906
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, requestInviteRequest, options)];
|
|
4904
4907
|
case 1:
|
|
4905
4908
|
localVarAxiosArgs = _a.sent();
|
|
4906
4909
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4934,7 +4937,7 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4934
4937
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
4935
4938
|
* @summary Respond Invite
|
|
4936
4939
|
* @param {string} notificationId
|
|
4937
|
-
* @param {InviteResponse} [inviteResponse]
|
|
4940
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
4938
4941
|
* @param {*} [options] Override http request option.
|
|
4939
4942
|
* @throws {RequiredError}
|
|
4940
4943
|
*/
|
|
@@ -5021,11 +5024,12 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
5021
5024
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5022
5025
|
* @summary Request Invite
|
|
5023
5026
|
* @param {string} userId
|
|
5027
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5024
5028
|
* @param {*} [options] Override http request option.
|
|
5025
5029
|
* @throws {RequiredError}
|
|
5026
5030
|
*/
|
|
5027
|
-
requestInvite: function (userId, options) {
|
|
5028
|
-
return localVarFp.requestInvite(userId, options).then(function (request) { return request(axios, basePath); });
|
|
5031
|
+
requestInvite: function (userId, requestInviteRequest, options) {
|
|
5032
|
+
return localVarFp.requestInvite(userId, requestInviteRequest, options).then(function (request) { return request(axios, basePath); });
|
|
5029
5033
|
},
|
|
5030
5034
|
/**
|
|
5031
5035
|
* 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 +5047,7 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
5043
5047
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5044
5048
|
* @summary Respond Invite
|
|
5045
5049
|
* @param {string} notificationId
|
|
5046
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5050
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5047
5051
|
* @param {*} [options] Override http request option.
|
|
5048
5052
|
* @throws {RequiredError}
|
|
5049
5053
|
*/
|
|
@@ -5120,13 +5124,14 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
5120
5124
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5121
5125
|
* @summary Request Invite
|
|
5122
5126
|
* @param {string} userId
|
|
5127
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5123
5128
|
* @param {*} [options] Override http request option.
|
|
5124
5129
|
* @throws {RequiredError}
|
|
5125
5130
|
* @memberof InviteApi
|
|
5126
5131
|
*/
|
|
5127
|
-
InviteApi.prototype.requestInvite = function (userId, options) {
|
|
5132
|
+
InviteApi.prototype.requestInvite = function (userId, requestInviteRequest, options) {
|
|
5128
5133
|
var _this = this;
|
|
5129
|
-
return exports.InviteApiFp(this.configuration).requestInvite(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5134
|
+
return exports.InviteApiFp(this.configuration).requestInvite(userId, requestInviteRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5130
5135
|
};
|
|
5131
5136
|
/**
|
|
5132
5137
|
* 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 +5151,7 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
5146
5151
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5147
5152
|
* @summary Respond Invite
|
|
5148
5153
|
* @param {string} notificationId
|
|
5149
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5154
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5150
5155
|
* @param {*} [options] Override http request option.
|
|
5151
5156
|
* @throws {RequiredError}
|
|
5152
5157
|
* @memberof InviteApi
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED