vrchat 1.7.3 → 1.7.4
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 +36 -31
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +34 -26
- package/dist/api.js +8 -14
- 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.7.
|
|
6
|
+
* The version of the OpenAPI document: 1.7.4
|
|
7
7
|
* Contact: me@ariesclark.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2017,7 +2017,13 @@ export interface Instance {
|
|
|
2017
2017
|
* @type {string}
|
|
2018
2018
|
* @memberof Instance
|
|
2019
2019
|
*/
|
|
2020
|
-
'
|
|
2020
|
+
'secureName': string;
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof Instance
|
|
2025
|
+
*/
|
|
2026
|
+
'shortName'?: string;
|
|
2021
2027
|
/**
|
|
2022
2028
|
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
2023
2029
|
* @type {Array<string>}
|
|
@@ -2074,6 +2080,25 @@ export interface InstancePlatforms {
|
|
|
2074
2080
|
*/
|
|
2075
2081
|
'standalonewindows': number;
|
|
2076
2082
|
}
|
|
2083
|
+
/**
|
|
2084
|
+
*
|
|
2085
|
+
* @export
|
|
2086
|
+
* @interface InstanceShortNameResponse
|
|
2087
|
+
*/
|
|
2088
|
+
export interface InstanceShortNameResponse {
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @type {string}
|
|
2092
|
+
* @memberof InstanceShortNameResponse
|
|
2093
|
+
*/
|
|
2094
|
+
'secureName': string;
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof InstanceShortNameResponse
|
|
2099
|
+
*/
|
|
2100
|
+
'shortName'?: string;
|
|
2101
|
+
}
|
|
2077
2102
|
/**
|
|
2078
2103
|
*
|
|
2079
2104
|
* @export
|
|
@@ -2149,19 +2174,6 @@ export enum InviteMessageType {
|
|
|
2149
2174
|
RequestResponse = 'requestResponse'
|
|
2150
2175
|
}
|
|
2151
2176
|
|
|
2152
|
-
/**
|
|
2153
|
-
*
|
|
2154
|
-
* @export
|
|
2155
|
-
* @interface InviteMyselfToRequest
|
|
2156
|
-
*/
|
|
2157
|
-
export interface InviteMyselfToRequest {
|
|
2158
|
-
/**
|
|
2159
|
-
* Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint.
|
|
2160
|
-
* @type {string}
|
|
2161
|
-
* @memberof InviteMyselfToRequest
|
|
2162
|
-
*/
|
|
2163
|
-
'shortName': string;
|
|
2164
|
-
}
|
|
2165
2177
|
/**
|
|
2166
2178
|
*
|
|
2167
2179
|
* @export
|
|
@@ -8046,7 +8058,7 @@ export const InstancesApiFp = function(configuration?: Configuration) {
|
|
|
8046
8058
|
* @param {*} [options] Override http request option.
|
|
8047
8059
|
* @throws {RequiredError}
|
|
8048
8060
|
*/
|
|
8049
|
-
async getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8061
|
+
async getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceShortNameResponse>> {
|
|
8050
8062
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShortName(worldId, instanceId, options);
|
|
8051
8063
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8052
8064
|
},
|
|
@@ -8101,7 +8113,7 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
|
|
|
8101
8113
|
* @param {*} [options] Override http request option.
|
|
8102
8114
|
* @throws {RequiredError}
|
|
8103
8115
|
*/
|
|
8104
|
-
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<
|
|
8116
|
+
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<InstanceShortNameResponse> {
|
|
8105
8117
|
return localVarFp.getShortName(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
8106
8118
|
},
|
|
8107
8119
|
/**
|
|
@@ -8277,11 +8289,10 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8277
8289
|
* @summary Invite Myself To Instance
|
|
8278
8290
|
* @param {string} worldId
|
|
8279
8291
|
* @param {string} instanceId
|
|
8280
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8281
8292
|
* @param {*} [options] Override http request option.
|
|
8282
8293
|
* @throws {RequiredError}
|
|
8283
8294
|
*/
|
|
8284
|
-
inviteMyselfTo: async (worldId: string, instanceId: string,
|
|
8295
|
+
inviteMyselfTo: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8285
8296
|
// verify required parameter 'worldId' is not null or undefined
|
|
8286
8297
|
assertParamExists('inviteMyselfTo', 'worldId', worldId)
|
|
8287
8298
|
// verify required parameter 'instanceId' is not null or undefined
|
|
@@ -8306,12 +8317,9 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8306
8317
|
|
|
8307
8318
|
|
|
8308
8319
|
|
|
8309
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8310
|
-
|
|
8311
8320
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8312
8321
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8313
8322
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(inviteMyselfToRequest, localVarRequestOptions, configuration)
|
|
8315
8323
|
|
|
8316
8324
|
return {
|
|
8317
8325
|
url: toPathString(localVarUrlObj),
|
|
@@ -8580,12 +8588,11 @@ export const InviteApiFp = function(configuration?: Configuration) {
|
|
|
8580
8588
|
* @summary Invite Myself To Instance
|
|
8581
8589
|
* @param {string} worldId
|
|
8582
8590
|
* @param {string} instanceId
|
|
8583
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8584
8591
|
* @param {*} [options] Override http request option.
|
|
8585
8592
|
* @throws {RequiredError}
|
|
8586
8593
|
*/
|
|
8587
|
-
async inviteMyselfTo(worldId: string, instanceId: string,
|
|
8588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId,
|
|
8594
|
+
async inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
|
|
8595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, options);
|
|
8589
8596
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8590
8597
|
},
|
|
8591
8598
|
/**
|
|
@@ -8689,12 +8696,11 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
|
|
|
8689
8696
|
* @summary Invite Myself To Instance
|
|
8690
8697
|
* @param {string} worldId
|
|
8691
8698
|
* @param {string} instanceId
|
|
8692
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8693
8699
|
* @param {*} [options] Override http request option.
|
|
8694
8700
|
* @throws {RequiredError}
|
|
8695
8701
|
*/
|
|
8696
|
-
inviteMyselfTo(worldId: string, instanceId: string,
|
|
8697
|
-
return localVarFp.inviteMyselfTo(worldId, instanceId,
|
|
8702
|
+
inviteMyselfTo(worldId: string, instanceId: string, options?: any): AxiosPromise<SentNotification> {
|
|
8703
|
+
return localVarFp.inviteMyselfTo(worldId, instanceId, options).then((request) => request(axios, basePath));
|
|
8698
8704
|
},
|
|
8699
8705
|
/**
|
|
8700
8706
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
@@ -8796,13 +8802,12 @@ export class InviteApi extends BaseAPI {
|
|
|
8796
8802
|
* @summary Invite Myself To Instance
|
|
8797
8803
|
* @param {string} worldId
|
|
8798
8804
|
* @param {string} instanceId
|
|
8799
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
8800
8805
|
* @param {*} [options] Override http request option.
|
|
8801
8806
|
* @throws {RequiredError}
|
|
8802
8807
|
* @memberof InviteApi
|
|
8803
8808
|
*/
|
|
8804
|
-
public inviteMyselfTo(worldId: string, instanceId: string,
|
|
8805
|
-
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId,
|
|
8809
|
+
public inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig) {
|
|
8810
|
+
return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
8806
8811
|
}
|
|
8807
8812
|
|
|
8808
8813
|
/**
|
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.7.
|
|
4
|
+
* The version of the OpenAPI document: 1.7.4
|
|
5
5
|
* Contact: me@ariesclark.com
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1993,7 +1993,13 @@ export interface Instance {
|
|
|
1993
1993
|
* @type {string}
|
|
1994
1994
|
* @memberof Instance
|
|
1995
1995
|
*/
|
|
1996
|
-
'
|
|
1996
|
+
'secureName': string;
|
|
1997
|
+
/**
|
|
1998
|
+
*
|
|
1999
|
+
* @type {string}
|
|
2000
|
+
* @memberof Instance
|
|
2001
|
+
*/
|
|
2002
|
+
'shortName'?: string;
|
|
1997
2003
|
/**
|
|
1998
2004
|
* The tags array on Instances usually contain the language tags of the people in the instance.
|
|
1999
2005
|
* @type {Array<string>}
|
|
@@ -2050,6 +2056,25 @@ export interface InstancePlatforms {
|
|
|
2050
2056
|
*/
|
|
2051
2057
|
'standalonewindows': number;
|
|
2052
2058
|
}
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @export
|
|
2062
|
+
* @interface InstanceShortNameResponse
|
|
2063
|
+
*/
|
|
2064
|
+
export interface InstanceShortNameResponse {
|
|
2065
|
+
/**
|
|
2066
|
+
*
|
|
2067
|
+
* @type {string}
|
|
2068
|
+
* @memberof InstanceShortNameResponse
|
|
2069
|
+
*/
|
|
2070
|
+
'secureName': string;
|
|
2071
|
+
/**
|
|
2072
|
+
*
|
|
2073
|
+
* @type {string}
|
|
2074
|
+
* @memberof InstanceShortNameResponse
|
|
2075
|
+
*/
|
|
2076
|
+
'shortName'?: string;
|
|
2077
|
+
}
|
|
2053
2078
|
/**
|
|
2054
2079
|
*
|
|
2055
2080
|
* @export
|
|
@@ -2121,19 +2146,6 @@ export declare enum InviteMessageType {
|
|
|
2121
2146
|
Request = "request",
|
|
2122
2147
|
RequestResponse = "requestResponse"
|
|
2123
2148
|
}
|
|
2124
|
-
/**
|
|
2125
|
-
*
|
|
2126
|
-
* @export
|
|
2127
|
-
* @interface InviteMyselfToRequest
|
|
2128
|
-
*/
|
|
2129
|
-
export interface InviteMyselfToRequest {
|
|
2130
|
-
/**
|
|
2131
|
-
* Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint.
|
|
2132
|
-
* @type {string}
|
|
2133
|
-
* @memberof InviteMyselfToRequest
|
|
2134
|
-
*/
|
|
2135
|
-
'shortName': string;
|
|
2136
|
-
}
|
|
2137
2149
|
/**
|
|
2138
2150
|
*
|
|
2139
2151
|
* @export
|
|
@@ -5960,7 +5972,7 @@ export declare const InstancesApiFp: (configuration?: Configuration) => {
|
|
|
5960
5972
|
* @param {*} [options] Override http request option.
|
|
5961
5973
|
* @throws {RequiredError}
|
|
5962
5974
|
*/
|
|
5963
|
-
getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5975
|
+
getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceShortNameResponse>>;
|
|
5964
5976
|
/**
|
|
5965
5977
|
* Sends an invite to the instance to yourself.
|
|
5966
5978
|
* @summary Send Self Invite
|
|
@@ -6001,7 +6013,7 @@ export declare const InstancesApiFactory: (configuration?: Configuration, basePa
|
|
|
6001
6013
|
* @param {*} [options] Override http request option.
|
|
6002
6014
|
* @throws {RequiredError}
|
|
6003
6015
|
*/
|
|
6004
|
-
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<
|
|
6016
|
+
getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise<InstanceShortNameResponse>;
|
|
6005
6017
|
/**
|
|
6006
6018
|
* Sends an invite to the instance to yourself.
|
|
6007
6019
|
* @summary Send Self Invite
|
|
@@ -6047,7 +6059,7 @@ export declare class InstancesApi extends BaseAPI {
|
|
|
6047
6059
|
* @throws {RequiredError}
|
|
6048
6060
|
* @memberof InstancesApi
|
|
6049
6061
|
*/
|
|
6050
|
-
getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6062
|
+
getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InstanceShortNameResponse>>;
|
|
6051
6063
|
/**
|
|
6052
6064
|
* Sends an invite to the instance to yourself.
|
|
6053
6065
|
* @summary Send Self Invite
|
|
@@ -6088,11 +6100,10 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6088
6100
|
* @summary Invite Myself To Instance
|
|
6089
6101
|
* @param {string} worldId
|
|
6090
6102
|
* @param {string} instanceId
|
|
6091
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
6092
6103
|
* @param {*} [options] Override http request option.
|
|
6093
6104
|
* @throws {RequiredError}
|
|
6094
6105
|
*/
|
|
6095
|
-
inviteMyselfTo: (worldId: string, instanceId: string,
|
|
6106
|
+
inviteMyselfTo: (worldId: string, instanceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6096
6107
|
/**
|
|
6097
6108
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
6098
6109
|
* @summary Invite User
|
|
@@ -6171,11 +6182,10 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
|
|
|
6171
6182
|
* @summary Invite Myself To Instance
|
|
6172
6183
|
* @param {string} worldId
|
|
6173
6184
|
* @param {string} instanceId
|
|
6174
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
6175
6185
|
* @param {*} [options] Override http request option.
|
|
6176
6186
|
* @throws {RequiredError}
|
|
6177
6187
|
*/
|
|
6178
|
-
inviteMyselfTo(worldId: string, instanceId: string,
|
|
6188
|
+
inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>>;
|
|
6179
6189
|
/**
|
|
6180
6190
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
6181
6191
|
* @summary Invite User
|
|
@@ -6254,11 +6264,10 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
|
|
|
6254
6264
|
* @summary Invite Myself To Instance
|
|
6255
6265
|
* @param {string} worldId
|
|
6256
6266
|
* @param {string} instanceId
|
|
6257
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
6258
6267
|
* @param {*} [options] Override http request option.
|
|
6259
6268
|
* @throws {RequiredError}
|
|
6260
6269
|
*/
|
|
6261
|
-
inviteMyselfTo(worldId: string, instanceId: string,
|
|
6270
|
+
inviteMyselfTo(worldId: string, instanceId: string, options?: any): AxiosPromise<SentNotification>;
|
|
6262
6271
|
/**
|
|
6263
6272
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
6264
6273
|
* @summary Invite User
|
|
@@ -6341,12 +6350,11 @@ export declare class InviteApi extends BaseAPI {
|
|
|
6341
6350
|
* @summary Invite Myself To Instance
|
|
6342
6351
|
* @param {string} worldId
|
|
6343
6352
|
* @param {string} instanceId
|
|
6344
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
6345
6353
|
* @param {*} [options] Override http request option.
|
|
6346
6354
|
* @throws {RequiredError}
|
|
6347
6355
|
* @memberof InviteApi
|
|
6348
6356
|
*/
|
|
6349
|
-
inviteMyselfTo(worldId: string, instanceId: string,
|
|
6357
|
+
inviteMyselfTo(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SentNotification>>;
|
|
6350
6358
|
/**
|
|
6351
6359
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
6352
6360
|
* @summary Invite User
|
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.7.
|
|
7
|
+
* The version of the OpenAPI document: 1.7.4
|
|
8
8
|
* Contact: me@ariesclark.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4699,11 +4699,10 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4699
4699
|
* @summary Invite Myself To Instance
|
|
4700
4700
|
* @param {string} worldId
|
|
4701
4701
|
* @param {string} instanceId
|
|
4702
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
4703
4702
|
* @param {*} [options] Override http request option.
|
|
4704
4703
|
* @throws {RequiredError}
|
|
4705
4704
|
*/
|
|
4706
|
-
inviteMyselfTo: function (worldId, instanceId,
|
|
4705
|
+
inviteMyselfTo: function (worldId, instanceId, options) {
|
|
4707
4706
|
if (options === void 0) { options = {}; }
|
|
4708
4707
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4709
4708
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4724,11 +4723,9 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4724
4723
|
localVarQueryParameter = {};
|
|
4725
4724
|
// authentication apiKeyCookie required
|
|
4726
4725
|
// authentication authCookie required
|
|
4727
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4728
4726
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4729
4727
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4730
4728
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4731
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(inviteMyselfToRequest, localVarRequestOptions, configuration);
|
|
4732
4729
|
return [2 /*return*/, {
|
|
4733
4730
|
url: common_1.toPathString(localVarUrlObj),
|
|
4734
4731
|
options: localVarRequestOptions,
|
|
@@ -4996,16 +4993,15 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4996
4993
|
* @summary Invite Myself To Instance
|
|
4997
4994
|
* @param {string} worldId
|
|
4998
4995
|
* @param {string} instanceId
|
|
4999
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
5000
4996
|
* @param {*} [options] Override http request option.
|
|
5001
4997
|
* @throws {RequiredError}
|
|
5002
4998
|
*/
|
|
5003
|
-
inviteMyselfTo: function (worldId, instanceId,
|
|
4999
|
+
inviteMyselfTo: function (worldId, instanceId, options) {
|
|
5004
5000
|
return __awaiter(this, void 0, void 0, function () {
|
|
5005
5001
|
var localVarAxiosArgs;
|
|
5006
5002
|
return __generator(this, function (_a) {
|
|
5007
5003
|
switch (_a.label) {
|
|
5008
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId,
|
|
5004
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, options)];
|
|
5009
5005
|
case 1:
|
|
5010
5006
|
localVarAxiosArgs = _a.sent();
|
|
5011
5007
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5158,12 +5154,11 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
5158
5154
|
* @summary Invite Myself To Instance
|
|
5159
5155
|
* @param {string} worldId
|
|
5160
5156
|
* @param {string} instanceId
|
|
5161
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
5162
5157
|
* @param {*} [options] Override http request option.
|
|
5163
5158
|
* @throws {RequiredError}
|
|
5164
5159
|
*/
|
|
5165
|
-
inviteMyselfTo: function (worldId, instanceId,
|
|
5166
|
-
return localVarFp.inviteMyselfTo(worldId, instanceId,
|
|
5160
|
+
inviteMyselfTo: function (worldId, instanceId, options) {
|
|
5161
|
+
return localVarFp.inviteMyselfTo(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
5167
5162
|
},
|
|
5168
5163
|
/**
|
|
5169
5164
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
|
@@ -5268,14 +5263,13 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
5268
5263
|
* @summary Invite Myself To Instance
|
|
5269
5264
|
* @param {string} worldId
|
|
5270
5265
|
* @param {string} instanceId
|
|
5271
|
-
* @param {InviteMyselfToRequest} [inviteMyselfToRequest]
|
|
5272
5266
|
* @param {*} [options] Override http request option.
|
|
5273
5267
|
* @throws {RequiredError}
|
|
5274
5268
|
* @memberof InviteApi
|
|
5275
5269
|
*/
|
|
5276
|
-
InviteApi.prototype.inviteMyselfTo = function (worldId, instanceId,
|
|
5270
|
+
InviteApi.prototype.inviteMyselfTo = function (worldId, instanceId, options) {
|
|
5277
5271
|
var _this = this;
|
|
5278
|
-
return exports.InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId,
|
|
5272
|
+
return exports.InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5279
5273
|
};
|
|
5280
5274
|
/**
|
|
5281
5275
|
* Sends an invite to a user. Returns the Notification of type `invite` that was sent.
|
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