vrchat 1.6.0 → 1.6.7
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 +55 -29
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +49 -24
- package/dist/api.js +24 -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.7
|
|
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
|
/**
|
|
@@ -2154,6 +2155,12 @@ export interface InviteRequest {
|
|
|
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
|
*
|
|
@@ -2820,7 +2827,8 @@ export enum Region {
|
|
|
2820
2827
|
Us = 'us',
|
|
2821
2828
|
Use = 'use',
|
|
2822
2829
|
Eu = 'eu',
|
|
2823
|
-
Jp = 'jp'
|
|
2830
|
+
Jp = 'jp',
|
|
2831
|
+
Unknown = 'unknown'
|
|
2824
2832
|
}
|
|
2825
2833
|
|
|
2826
2834
|
/**
|
|
@@ -2835,6 +2843,19 @@ export enum ReleaseStatus {
|
|
|
2835
2843
|
Hidden = 'hidden'
|
|
2836
2844
|
}
|
|
2837
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
|
+
}
|
|
2838
2859
|
/**
|
|
2839
2860
|
*
|
|
2840
2861
|
* @export
|
|
@@ -3820,7 +3841,7 @@ export interface VerifyAuthTokenResult {
|
|
|
3820
3841
|
*/
|
|
3821
3842
|
export interface World {
|
|
3822
3843
|
/**
|
|
3823
|
-
*
|
|
3844
|
+
* Empty if unauthenticated.
|
|
3824
3845
|
* @type {string}
|
|
3825
3846
|
* @memberof World
|
|
3826
3847
|
*/
|
|
@@ -3893,10 +3914,10 @@ export interface World {
|
|
|
3893
3914
|
'imageUrl': string;
|
|
3894
3915
|
/**
|
|
3895
3916
|
*
|
|
3896
|
-
* @type {Array<Array<
|
|
3917
|
+
* @type {Array<Array<any>>}
|
|
3897
3918
|
* @memberof World
|
|
3898
3919
|
*/
|
|
3899
|
-
'instances'?: Array<Array<
|
|
3920
|
+
'instances'?: Array<Array<any>>;
|
|
3900
3921
|
/**
|
|
3901
3922
|
*
|
|
3902
3923
|
* @type {string}
|
|
@@ -3944,7 +3965,7 @@ export interface World {
|
|
|
3944
3965
|
* @type {string}
|
|
3945
3966
|
* @memberof World
|
|
3946
3967
|
*/
|
|
3947
|
-
'previewYoutubeId'?: string;
|
|
3968
|
+
'previewYoutubeId'?: string | null;
|
|
3948
3969
|
/**
|
|
3949
3970
|
*
|
|
3950
3971
|
* @type {number}
|
|
@@ -3988,7 +4009,7 @@ export interface World {
|
|
|
3988
4009
|
*/
|
|
3989
4010
|
'unityPackageUrlObject': object;
|
|
3990
4011
|
/**
|
|
3991
|
-
*
|
|
4012
|
+
* Empty if unauthenticated.
|
|
3992
4013
|
* @type {Array<UnityPackage>}
|
|
3993
4014
|
* @memberof World
|
|
3994
4015
|
*/
|
|
@@ -6860,19 +6881,17 @@ export const FilesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6860
6881
|
* @param {string} fileId
|
|
6861
6882
|
* @param {number} versionId
|
|
6862
6883
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
6863
|
-
* @param {number} partNumber
|
|
6884
|
+
* @param {number} [partNumber]
|
|
6864
6885
|
* @param {*} [options] Override http request option.
|
|
6865
6886
|
* @throws {RequiredError}
|
|
6866
6887
|
*/
|
|
6867
|
-
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> => {
|
|
6868
6889
|
// verify required parameter 'fileId' is not null or undefined
|
|
6869
6890
|
assertParamExists('startFileDataUpload', 'fileId', fileId)
|
|
6870
6891
|
// verify required parameter 'versionId' is not null or undefined
|
|
6871
6892
|
assertParamExists('startFileDataUpload', 'versionId', versionId)
|
|
6872
6893
|
// verify required parameter 'fileType' is not null or undefined
|
|
6873
6894
|
assertParamExists('startFileDataUpload', 'fileType', fileType)
|
|
6874
|
-
// verify required parameter 'partNumber' is not null or undefined
|
|
6875
|
-
assertParamExists('startFileDataUpload', 'partNumber', partNumber)
|
|
6876
6895
|
const localVarPath = `/file/{fileId}/{versionId}/{fileType}/start`
|
|
6877
6896
|
.replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
|
|
6878
6897
|
.replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)))
|
|
@@ -7033,11 +7052,11 @@ export const FilesApiFp = function(configuration?: Configuration) {
|
|
|
7033
7052
|
* @param {string} fileId
|
|
7034
7053
|
* @param {number} versionId
|
|
7035
7054
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7036
|
-
* @param {number} partNumber
|
|
7055
|
+
* @param {number} [partNumber]
|
|
7037
7056
|
* @param {*} [options] Override http request option.
|
|
7038
7057
|
* @throws {RequiredError}
|
|
7039
7058
|
*/
|
|
7040
|
-
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>> {
|
|
7041
7060
|
const localVarAxiosArgs = await localVarAxiosParamCreator.startFileDataUpload(fileId, versionId, fileType, partNumber, options);
|
|
7042
7061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7043
7062
|
},
|
|
@@ -7158,11 +7177,11 @@ export const FilesApiFactory = function (configuration?: Configuration, basePath
|
|
|
7158
7177
|
* @param {string} fileId
|
|
7159
7178
|
* @param {number} versionId
|
|
7160
7179
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7161
|
-
* @param {number} partNumber
|
|
7180
|
+
* @param {number} [partNumber]
|
|
7162
7181
|
* @param {*} [options] Override http request option.
|
|
7163
7182
|
* @throws {RequiredError}
|
|
7164
7183
|
*/
|
|
7165
|
-
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> {
|
|
7166
7185
|
return localVarFp.startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(axios, basePath));
|
|
7167
7186
|
},
|
|
7168
7187
|
};
|
|
@@ -7300,12 +7319,12 @@ export class FilesApi extends BaseAPI {
|
|
|
7300
7319
|
* @param {string} fileId
|
|
7301
7320
|
* @param {number} versionId
|
|
7302
7321
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
7303
|
-
* @param {number} partNumber
|
|
7322
|
+
* @param {number} [partNumber]
|
|
7304
7323
|
* @param {*} [options] Override http request option.
|
|
7305
7324
|
* @throws {RequiredError}
|
|
7306
7325
|
* @memberof FilesApi
|
|
7307
7326
|
*/
|
|
7308
|
-
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) {
|
|
7309
7328
|
return FilesApiFp(this.configuration).startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(this.axios, this.basePath));
|
|
7310
7329
|
}
|
|
7311
7330
|
}
|
|
@@ -8133,10 +8152,11 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8133
8152
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8134
8153
|
* @summary Request Invite
|
|
8135
8154
|
* @param {string} userId
|
|
8155
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8136
8156
|
* @param {*} [options] Override http request option.
|
|
8137
8157
|
* @throws {RequiredError}
|
|
8138
8158
|
*/
|
|
8139
|
-
requestInvite: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8159
|
+
requestInvite: async (userId: string, requestInviteRequest?: RequestInviteRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8140
8160
|
// verify required parameter 'userId' is not null or undefined
|
|
8141
8161
|
assertParamExists('requestInvite', 'userId', userId)
|
|
8142
8162
|
const localVarPath = `/requestInvite/{userId}`
|
|
@@ -8158,9 +8178,12 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8158
8178
|
|
|
8159
8179
|
|
|
8160
8180
|
|
|
8181
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8182
|
+
|
|
8161
8183
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8162
8184
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8163
8185
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8186
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration)
|
|
8164
8187
|
|
|
8165
8188
|
return {
|
|
8166
8189
|
url: toPathString(localVarUrlObj),
|
|
@@ -8217,7 +8240,7 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8217
8240
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8218
8241
|
* @summary Respond Invite
|
|
8219
8242
|
* @param {string} notificationId
|
|
8220
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8243
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8221
8244
|
* @param {*} [options] Override http request option.
|
|
8222
8245
|
* @throws {RequiredError}
|
|
8223
8246
|
*/
|
|
@@ -8356,11 +8379,12 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8356
8379
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8357
8380
|
* @summary Request Invite
|
|
8358
8381
|
* @param {string} userId
|
|
8382
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8359
8383
|
* @param {*} [options] Override http request option.
|
|
8360
8384
|
* @throws {RequiredError}
|
|
8361
8385
|
*/
|
|
8362
|
-
async requestInvite(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
|
|
8363
|
-
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);
|
|
8364
8388
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8365
8389
|
},
|
|
8366
8390
|
/**
|
|
@@ -8380,7 +8404,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8380
8404
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8381
8405
|
* @summary Respond Invite
|
|
8382
8406
|
* @param {string} notificationId
|
|
8383
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8407
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8384
8408
|
* @param {*} [options] Override http request option.
|
|
8385
8409
|
* @throws {RequiredError}
|
|
8386
8410
|
*/
|
|
@@ -8450,11 +8474,12 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8450
8474
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8451
8475
|
* @summary Request Invite
|
|
8452
8476
|
* @param {string} userId
|
|
8477
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8453
8478
|
* @param {*} [options] Override http request option.
|
|
8454
8479
|
* @throws {RequiredError}
|
|
8455
8480
|
*/
|
|
8456
|
-
requestInvite(userId: string, options?: any): AxiosPromise<Notification> {
|
|
8457
|
-
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));
|
|
8458
8483
|
},
|
|
8459
8484
|
/**
|
|
8460
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.
|
|
@@ -8472,7 +8497,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8472
8497
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8473
8498
|
* @summary Respond Invite
|
|
8474
8499
|
* @param {string} notificationId
|
|
8475
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8500
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8476
8501
|
* @param {*} [options] Override http request option.
|
|
8477
8502
|
* @throws {RequiredError}
|
|
8478
8503
|
*/
|
|
@@ -8546,12 +8571,13 @@ export class InviteApi extends BaseAPI {
|
|
|
8546
8571
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
8547
8572
|
* @summary Request Invite
|
|
8548
8573
|
* @param {string} userId
|
|
8574
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
8549
8575
|
* @param {*} [options] Override http request option.
|
|
8550
8576
|
* @throws {RequiredError}
|
|
8551
8577
|
* @memberof InviteApi
|
|
8552
8578
|
*/
|
|
8553
|
-
public requestInvite(userId: string, options?: AxiosRequestConfig) {
|
|
8554
|
-
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));
|
|
8555
8581
|
}
|
|
8556
8582
|
|
|
8557
8583
|
/**
|
|
@@ -8572,7 +8598,7 @@ export class InviteApi extends BaseAPI {
|
|
|
8572
8598
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
8573
8599
|
* @summary Respond Invite
|
|
8574
8600
|
* @param {string} notificationId
|
|
8575
|
-
* @param {InviteResponse} [inviteResponse]
|
|
8601
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
8576
8602
|
* @param {*} [options] Override http request option.
|
|
8577
8603
|
* @throws {RequiredError}
|
|
8578
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.7
|
|
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
|
*
|
|
@@ -2126,6 +2127,12 @@ export interface InviteRequest {
|
|
|
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
|
*
|
|
@@ -2781,7 +2788,8 @@ export declare enum Region {
|
|
|
2781
2788
|
Us = "us",
|
|
2782
2789
|
Use = "use",
|
|
2783
2790
|
Eu = "eu",
|
|
2784
|
-
Jp = "jp"
|
|
2791
|
+
Jp = "jp",
|
|
2792
|
+
Unknown = "unknown"
|
|
2785
2793
|
}
|
|
2786
2794
|
/**
|
|
2787
2795
|
*
|
|
@@ -2793,6 +2801,19 @@ export declare enum ReleaseStatus {
|
|
|
2793
2801
|
Private = "private",
|
|
2794
2802
|
Hidden = "hidden"
|
|
2795
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
|
+
}
|
|
2796
2817
|
/**
|
|
2797
2818
|
*
|
|
2798
2819
|
* @export
|
|
@@ -3770,7 +3791,7 @@ export interface VerifyAuthTokenResult {
|
|
|
3770
3791
|
*/
|
|
3771
3792
|
export interface World {
|
|
3772
3793
|
/**
|
|
3773
|
-
*
|
|
3794
|
+
* Empty if unauthenticated.
|
|
3774
3795
|
* @type {string}
|
|
3775
3796
|
* @memberof World
|
|
3776
3797
|
*/
|
|
@@ -3843,10 +3864,10 @@ export interface World {
|
|
|
3843
3864
|
'imageUrl': string;
|
|
3844
3865
|
/**
|
|
3845
3866
|
*
|
|
3846
|
-
* @type {Array<Array<
|
|
3867
|
+
* @type {Array<Array<any>>}
|
|
3847
3868
|
* @memberof World
|
|
3848
3869
|
*/
|
|
3849
|
-
'instances'?: Array<Array<
|
|
3870
|
+
'instances'?: Array<Array<any>>;
|
|
3850
3871
|
/**
|
|
3851
3872
|
*
|
|
3852
3873
|
* @type {string}
|
|
@@ -3894,7 +3915,7 @@ export interface World {
|
|
|
3894
3915
|
* @type {string}
|
|
3895
3916
|
* @memberof World
|
|
3896
3917
|
*/
|
|
3897
|
-
'previewYoutubeId'?: string;
|
|
3918
|
+
'previewYoutubeId'?: string | null;
|
|
3898
3919
|
/**
|
|
3899
3920
|
*
|
|
3900
3921
|
* @type {number}
|
|
@@ -3938,7 +3959,7 @@ export interface World {
|
|
|
3938
3959
|
*/
|
|
3939
3960
|
'unityPackageUrlObject': object;
|
|
3940
3961
|
/**
|
|
3941
|
-
*
|
|
3962
|
+
* Empty if unauthenticated.
|
|
3942
3963
|
* @type {Array<UnityPackage>}
|
|
3943
3964
|
* @memberof World
|
|
3944
3965
|
*/
|
|
@@ -5256,11 +5277,11 @@ export declare const FilesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5256
5277
|
* @param {string} fileId
|
|
5257
5278
|
* @param {number} versionId
|
|
5258
5279
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5259
|
-
* @param {number} partNumber
|
|
5280
|
+
* @param {number} [partNumber]
|
|
5260
5281
|
* @param {*} [options] Override http request option.
|
|
5261
5282
|
* @throws {RequiredError}
|
|
5262
5283
|
*/
|
|
5263
|
-
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>;
|
|
5264
5285
|
};
|
|
5265
5286
|
/**
|
|
5266
5287
|
* FilesApi - functional programming interface
|
|
@@ -5356,11 +5377,11 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
|
|
|
5356
5377
|
* @param {string} fileId
|
|
5357
5378
|
* @param {number} versionId
|
|
5358
5379
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5359
|
-
* @param {number} partNumber
|
|
5380
|
+
* @param {number} [partNumber]
|
|
5360
5381
|
* @param {*} [options] Override http request option.
|
|
5361
5382
|
* @throws {RequiredError}
|
|
5362
5383
|
*/
|
|
5363
|
-
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>>;
|
|
5364
5385
|
};
|
|
5365
5386
|
/**
|
|
5366
5387
|
* FilesApi - factory interface
|
|
@@ -5456,11 +5477,11 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5456
5477
|
* @param {string} fileId
|
|
5457
5478
|
* @param {number} versionId
|
|
5458
5479
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5459
|
-
* @param {number} partNumber
|
|
5480
|
+
* @param {number} [partNumber]
|
|
5460
5481
|
* @param {*} [options] Override http request option.
|
|
5461
5482
|
* @throws {RequiredError}
|
|
5462
5483
|
*/
|
|
5463
|
-
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>;
|
|
5464
5485
|
};
|
|
5465
5486
|
/**
|
|
5466
5487
|
* FilesApi - object-oriented interface
|
|
@@ -5567,12 +5588,12 @@ export declare class FilesApi extends BaseAPI {
|
|
|
5567
5588
|
* @param {string} fileId
|
|
5568
5589
|
* @param {number} versionId
|
|
5569
5590
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
5570
|
-
* @param {number} partNumber
|
|
5591
|
+
* @param {number} [partNumber]
|
|
5571
5592
|
* @param {*} [options] Override http request option.
|
|
5572
5593
|
* @throws {RequiredError}
|
|
5573
5594
|
* @memberof FilesApi
|
|
5574
5595
|
*/
|
|
5575
|
-
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>>;
|
|
5576
5597
|
}
|
|
5577
5598
|
/**
|
|
5578
5599
|
* FriendsApi - axios parameter creator
|
|
@@ -5947,10 +5968,11 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5947
5968
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5948
5969
|
* @summary Request Invite
|
|
5949
5970
|
* @param {string} userId
|
|
5971
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5950
5972
|
* @param {*} [options] Override http request option.
|
|
5951
5973
|
* @throws {RequiredError}
|
|
5952
5974
|
*/
|
|
5953
|
-
requestInvite: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5975
|
+
requestInvite: (userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5954
5976
|
/**
|
|
5955
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.
|
|
5956
5978
|
* @summary Reset Invite Message
|
|
@@ -5965,7 +5987,7 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5965
5987
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5966
5988
|
* @summary Respond Invite
|
|
5967
5989
|
* @param {string} notificationId
|
|
5968
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5990
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5969
5991
|
* @param {*} [options] Override http request option.
|
|
5970
5992
|
* @throws {RequiredError}
|
|
5971
5993
|
*/
|
|
@@ -6019,10 +6041,11 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
|
|
|
6019
6041
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6020
6042
|
* @summary Request Invite
|
|
6021
6043
|
* @param {string} userId
|
|
6044
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6022
6045
|
* @param {*} [options] Override http request option.
|
|
6023
6046
|
* @throws {RequiredError}
|
|
6024
6047
|
*/
|
|
6025
|
-
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>>;
|
|
6026
6049
|
/**
|
|
6027
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.
|
|
6028
6051
|
* @summary Reset Invite Message
|
|
@@ -6037,7 +6060,7 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
|
|
|
6037
6060
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6038
6061
|
* @summary Respond Invite
|
|
6039
6062
|
* @param {string} notificationId
|
|
6040
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6063
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6041
6064
|
* @param {*} [options] Override http request option.
|
|
6042
6065
|
* @throws {RequiredError}
|
|
6043
6066
|
*/
|
|
@@ -6091,10 +6114,11 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
|
|
|
6091
6114
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6092
6115
|
* @summary Request Invite
|
|
6093
6116
|
* @param {string} userId
|
|
6117
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6094
6118
|
* @param {*} [options] Override http request option.
|
|
6095
6119
|
* @throws {RequiredError}
|
|
6096
6120
|
*/
|
|
6097
|
-
requestInvite(userId: string, options?: any): AxiosPromise<Notification>;
|
|
6121
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: any): AxiosPromise<Notification>;
|
|
6098
6122
|
/**
|
|
6099
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.
|
|
6100
6124
|
* @summary Reset Invite Message
|
|
@@ -6109,7 +6133,7 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
|
|
|
6109
6133
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6110
6134
|
* @summary Respond Invite
|
|
6111
6135
|
* @param {string} notificationId
|
|
6112
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6136
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6113
6137
|
* @param {*} [options] Override http request option.
|
|
6114
6138
|
* @throws {RequiredError}
|
|
6115
6139
|
*/
|
|
@@ -6168,11 +6192,12 @@ export declare class InviteApi extends BaseAPI {
|
|
|
6168
6192
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
6169
6193
|
* @summary Request Invite
|
|
6170
6194
|
* @param {string} userId
|
|
6195
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
6171
6196
|
* @param {*} [options] Override http request option.
|
|
6172
6197
|
* @throws {RequiredError}
|
|
6173
6198
|
* @memberof InviteApi
|
|
6174
6199
|
*/
|
|
6175
|
-
requestInvite(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
|
|
6200
|
+
requestInvite(userId: string, requestInviteRequest?: RequestInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
|
|
6176
6201
|
/**
|
|
6177
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.
|
|
6178
6203
|
* @summary Reset Invite Message
|
|
@@ -6188,7 +6213,7 @@ export declare class InviteApi extends BaseAPI {
|
|
|
6188
6213
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
6189
6214
|
* @summary Respond Invite
|
|
6190
6215
|
* @param {string} notificationId
|
|
6191
|
-
* @param {InviteResponse} [inviteResponse]
|
|
6216
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
6192
6217
|
* @param {*} [options] Override http request option.
|
|
6193
6218
|
* @throws {RequiredError}
|
|
6194
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.7
|
|
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
|
|
@@ -269,6 +270,7 @@ var Region;
|
|
|
269
270
|
Region["Use"] = "use";
|
|
270
271
|
Region["Eu"] = "eu";
|
|
271
272
|
Region["Jp"] = "jp";
|
|
273
|
+
Region["Unknown"] = "unknown";
|
|
272
274
|
})(Region = exports.Region || (exports.Region = {}));
|
|
273
275
|
/**
|
|
274
276
|
*
|
|
@@ -3253,7 +3255,7 @@ exports.FilesApiAxiosParamCreator = function (configuration) {
|
|
|
3253
3255
|
* @param {string} fileId
|
|
3254
3256
|
* @param {number} versionId
|
|
3255
3257
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3256
|
-
* @param {number} partNumber
|
|
3258
|
+
* @param {number} [partNumber]
|
|
3257
3259
|
* @param {*} [options] Override http request option.
|
|
3258
3260
|
* @throws {RequiredError}
|
|
3259
3261
|
*/
|
|
@@ -3268,8 +3270,6 @@ exports.FilesApiAxiosParamCreator = function (configuration) {
|
|
|
3268
3270
|
common_1.assertParamExists('startFileDataUpload', 'versionId', versionId);
|
|
3269
3271
|
// verify required parameter 'fileType' is not null or undefined
|
|
3270
3272
|
common_1.assertParamExists('startFileDataUpload', 'fileType', fileType);
|
|
3271
|
-
// verify required parameter 'partNumber' is not null or undefined
|
|
3272
|
-
common_1.assertParamExists('startFileDataUpload', 'partNumber', partNumber);
|
|
3273
3273
|
localVarPath = "/file/{fileId}/{versionId}/{fileType}/start"
|
|
3274
3274
|
.replace("{" + "fileId" + "}", encodeURIComponent(String(fileId)))
|
|
3275
3275
|
.replace("{" + "versionId" + "}", encodeURIComponent(String(versionId)))
|
|
@@ -3502,7 +3502,7 @@ exports.FilesApiFp = function (configuration) {
|
|
|
3502
3502
|
* @param {string} fileId
|
|
3503
3503
|
* @param {number} versionId
|
|
3504
3504
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3505
|
-
* @param {number} partNumber
|
|
3505
|
+
* @param {number} [partNumber]
|
|
3506
3506
|
* @param {*} [options] Override http request option.
|
|
3507
3507
|
* @throws {RequiredError}
|
|
3508
3508
|
*/
|
|
@@ -3635,7 +3635,7 @@ exports.FilesApiFactory = function (configuration, basePath, axios) {
|
|
|
3635
3635
|
* @param {string} fileId
|
|
3636
3636
|
* @param {number} versionId
|
|
3637
3637
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3638
|
-
* @param {number} partNumber
|
|
3638
|
+
* @param {number} [partNumber]
|
|
3639
3639
|
* @param {*} [options] Override http request option.
|
|
3640
3640
|
* @throws {RequiredError}
|
|
3641
3641
|
*/
|
|
@@ -3780,7 +3780,7 @@ var FilesApi = /** @class */ (function (_super) {
|
|
|
3780
3780
|
* @param {string} fileId
|
|
3781
3781
|
* @param {number} versionId
|
|
3782
3782
|
* @param {'file' | 'signature' | 'delta'} fileType
|
|
3783
|
-
* @param {number} partNumber
|
|
3783
|
+
* @param {number} [partNumber]
|
|
3784
3784
|
* @param {*} [options] Override http request option.
|
|
3785
3785
|
* @throws {RequiredError}
|
|
3786
3786
|
* @memberof FilesApi
|
|
@@ -4656,10 +4656,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4656
4656
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
4657
4657
|
* @summary Request Invite
|
|
4658
4658
|
* @param {string} userId
|
|
4659
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
4659
4660
|
* @param {*} [options] Override http request option.
|
|
4660
4661
|
* @throws {RequiredError}
|
|
4661
4662
|
*/
|
|
4662
|
-
requestInvite: function (userId, options) {
|
|
4663
|
+
requestInvite: function (userId, requestInviteRequest, options) {
|
|
4663
4664
|
if (options === void 0) { options = {}; }
|
|
4664
4665
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4665
4666
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4677,9 +4678,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4677
4678
|
localVarQueryParameter = {};
|
|
4678
4679
|
// authentication apiKeyCookie required
|
|
4679
4680
|
// authentication authCookie required
|
|
4681
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4680
4682
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4681
4683
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4682
4684
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4685
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(requestInviteRequest, localVarRequestOptions, configuration);
|
|
4683
4686
|
return [2 /*return*/, {
|
|
4684
4687
|
url: common_1.toPathString(localVarUrlObj),
|
|
4685
4688
|
options: localVarRequestOptions,
|
|
@@ -4734,7 +4737,7 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4734
4737
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
4735
4738
|
* @summary Respond Invite
|
|
4736
4739
|
* @param {string} notificationId
|
|
4737
|
-
* @param {InviteResponse} [inviteResponse]
|
|
4740
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
4738
4741
|
* @param {*} [options] Override http request option.
|
|
4739
4742
|
* @throws {RequiredError}
|
|
4740
4743
|
*/
|
|
@@ -4891,15 +4894,16 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4891
4894
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
4892
4895
|
* @summary Request Invite
|
|
4893
4896
|
* @param {string} userId
|
|
4897
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
4894
4898
|
* @param {*} [options] Override http request option.
|
|
4895
4899
|
* @throws {RequiredError}
|
|
4896
4900
|
*/
|
|
4897
|
-
requestInvite: function (userId, options) {
|
|
4901
|
+
requestInvite: function (userId, requestInviteRequest, options) {
|
|
4898
4902
|
return __awaiter(this, void 0, void 0, function () {
|
|
4899
4903
|
var localVarAxiosArgs;
|
|
4900
4904
|
return __generator(this, function (_a) {
|
|
4901
4905
|
switch (_a.label) {
|
|
4902
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, options)];
|
|
4906
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.requestInvite(userId, requestInviteRequest, options)];
|
|
4903
4907
|
case 1:
|
|
4904
4908
|
localVarAxiosArgs = _a.sent();
|
|
4905
4909
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4933,7 +4937,7 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4933
4937
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
4934
4938
|
* @summary Respond Invite
|
|
4935
4939
|
* @param {string} notificationId
|
|
4936
|
-
* @param {InviteResponse} [inviteResponse]
|
|
4940
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
4937
4941
|
* @param {*} [options] Override http request option.
|
|
4938
4942
|
* @throws {RequiredError}
|
|
4939
4943
|
*/
|
|
@@ -5020,11 +5024,12 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
5020
5024
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5021
5025
|
* @summary Request Invite
|
|
5022
5026
|
* @param {string} userId
|
|
5027
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5023
5028
|
* @param {*} [options] Override http request option.
|
|
5024
5029
|
* @throws {RequiredError}
|
|
5025
5030
|
*/
|
|
5026
|
-
requestInvite: function (userId, options) {
|
|
5027
|
-
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); });
|
|
5028
5033
|
},
|
|
5029
5034
|
/**
|
|
5030
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.
|
|
@@ -5042,7 +5047,7 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
5042
5047
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5043
5048
|
* @summary Respond Invite
|
|
5044
5049
|
* @param {string} notificationId
|
|
5045
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5050
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5046
5051
|
* @param {*} [options] Override http request option.
|
|
5047
5052
|
* @throws {RequiredError}
|
|
5048
5053
|
*/
|
|
@@ -5119,13 +5124,14 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
5119
5124
|
* Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
|
|
5120
5125
|
* @summary Request Invite
|
|
5121
5126
|
* @param {string} userId
|
|
5127
|
+
* @param {RequestInviteRequest} [requestInviteRequest] Slot number of the Request Message to use when request an invite.
|
|
5122
5128
|
* @param {*} [options] Override http request option.
|
|
5123
5129
|
* @throws {RequiredError}
|
|
5124
5130
|
* @memberof InviteApi
|
|
5125
5131
|
*/
|
|
5126
|
-
InviteApi.prototype.requestInvite = function (userId, options) {
|
|
5132
|
+
InviteApi.prototype.requestInvite = function (userId, requestInviteRequest, options) {
|
|
5127
5133
|
var _this = this;
|
|
5128
|
-
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); });
|
|
5129
5135
|
};
|
|
5130
5136
|
/**
|
|
5131
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.
|
|
@@ -5145,7 +5151,7 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
5145
5151
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
5146
5152
|
* @summary Respond Invite
|
|
5147
5153
|
* @param {string} notificationId
|
|
5148
|
-
* @param {InviteResponse} [inviteResponse]
|
|
5154
|
+
* @param {InviteResponse} [inviteResponse] Slot number of the Response Message to use when responding to a user.
|
|
5149
5155
|
* @param {*} [options] Override http request option.
|
|
5150
5156
|
* @throws {RequiredError}
|
|
5151
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