vrchat 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +374 -69
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +215 -48
- package/dist/api.js +367 -68
- 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/generate.sh +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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.5.
|
|
7
|
+
* The version of the OpenAPI document: 1.5.1
|
|
8
8
|
* Contact: me@ruby.js.org
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,7 +72,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75
|
-
exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.ReleaseStatus = exports.PlayerModerationType = exports.NotificationType = exports.MIMEType = exports.InviteMessageType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
|
|
75
|
+
exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.ReleaseStatus = exports.PlayerModerationType = exports.NotificationType = exports.MIMEType = exports.InviteMessageType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
|
|
76
76
|
var axios_1 = require("axios");
|
|
77
77
|
// Some imports not used depending on template conditions
|
|
78
78
|
// @ts-ignore
|
|
@@ -3741,6 +3741,299 @@ var FriendsApi = /** @class */ (function (_super) {
|
|
|
3741
3741
|
return FriendsApi;
|
|
3742
3742
|
}(base_1.BaseAPI));
|
|
3743
3743
|
exports.FriendsApi = FriendsApi;
|
|
3744
|
+
/**
|
|
3745
|
+
* InstancesApi - axios parameter creator
|
|
3746
|
+
* @export
|
|
3747
|
+
*/
|
|
3748
|
+
exports.InstancesApiAxiosParamCreator = function (configuration) {
|
|
3749
|
+
var _this = this;
|
|
3750
|
+
return {
|
|
3751
|
+
/**
|
|
3752
|
+
* Returns an instance.
|
|
3753
|
+
* @summary Get Instance
|
|
3754
|
+
* @param {string} worldId
|
|
3755
|
+
* @param {string} instanceId
|
|
3756
|
+
* @param {*} [options] Override http request option.
|
|
3757
|
+
* @throws {RequiredError}
|
|
3758
|
+
*/
|
|
3759
|
+
getInstance: function (worldId, instanceId, options) {
|
|
3760
|
+
if (options === void 0) { options = {}; }
|
|
3761
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3762
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3763
|
+
return __generator(this, function (_a) {
|
|
3764
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
3765
|
+
common_1.assertParamExists('getInstance', 'worldId', worldId);
|
|
3766
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
3767
|
+
common_1.assertParamExists('getInstance', 'instanceId', instanceId);
|
|
3768
|
+
localVarPath = "/instances/{worldId}:{instanceId}"
|
|
3769
|
+
.replace("{" + "worldId" + "}", encodeURIComponent(String(worldId)))
|
|
3770
|
+
.replace("{" + "instanceId" + "}", encodeURIComponent(String(instanceId)));
|
|
3771
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3772
|
+
if (configuration) {
|
|
3773
|
+
baseOptions = configuration.baseOptions;
|
|
3774
|
+
}
|
|
3775
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3776
|
+
localVarHeaderParameter = {};
|
|
3777
|
+
localVarQueryParameter = {};
|
|
3778
|
+
// authentication apiKeyCookie required
|
|
3779
|
+
// authentication authCookie required
|
|
3780
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3781
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3782
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3783
|
+
return [2 /*return*/, {
|
|
3784
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3785
|
+
options: localVarRequestOptions,
|
|
3786
|
+
}];
|
|
3787
|
+
});
|
|
3788
|
+
});
|
|
3789
|
+
},
|
|
3790
|
+
/**
|
|
3791
|
+
* Returns an instance short name.
|
|
3792
|
+
* @summary Get Instance Short Name
|
|
3793
|
+
* @param {string} worldId
|
|
3794
|
+
* @param {string} instanceId
|
|
3795
|
+
* @param {*} [options] Override http request option.
|
|
3796
|
+
* @throws {RequiredError}
|
|
3797
|
+
*/
|
|
3798
|
+
getShortName: function (worldId, instanceId, options) {
|
|
3799
|
+
if (options === void 0) { options = {}; }
|
|
3800
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3801
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3802
|
+
return __generator(this, function (_a) {
|
|
3803
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
3804
|
+
common_1.assertParamExists('getShortName', 'worldId', worldId);
|
|
3805
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
3806
|
+
common_1.assertParamExists('getShortName', 'instanceId', instanceId);
|
|
3807
|
+
localVarPath = "/instances/{worldId}:{instanceId}/shortName"
|
|
3808
|
+
.replace("{" + "worldId" + "}", encodeURIComponent(String(worldId)))
|
|
3809
|
+
.replace("{" + "instanceId" + "}", encodeURIComponent(String(instanceId)));
|
|
3810
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3811
|
+
if (configuration) {
|
|
3812
|
+
baseOptions = configuration.baseOptions;
|
|
3813
|
+
}
|
|
3814
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3815
|
+
localVarHeaderParameter = {};
|
|
3816
|
+
localVarQueryParameter = {};
|
|
3817
|
+
// authentication apiKeyCookie required
|
|
3818
|
+
// authentication authCookie required
|
|
3819
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3820
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3821
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3822
|
+
return [2 /*return*/, {
|
|
3823
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3824
|
+
options: localVarRequestOptions,
|
|
3825
|
+
}];
|
|
3826
|
+
});
|
|
3827
|
+
});
|
|
3828
|
+
},
|
|
3829
|
+
/**
|
|
3830
|
+
* Sends an invite to the instance to yourself.
|
|
3831
|
+
* @summary Send Self Invite
|
|
3832
|
+
* @param {string} worldId
|
|
3833
|
+
* @param {string} instanceId
|
|
3834
|
+
* @param {*} [options] Override http request option.
|
|
3835
|
+
* @throws {RequiredError}
|
|
3836
|
+
*/
|
|
3837
|
+
sendSelfInvite: function (worldId, instanceId, options) {
|
|
3838
|
+
if (options === void 0) { options = {}; }
|
|
3839
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3840
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3841
|
+
return __generator(this, function (_a) {
|
|
3842
|
+
// verify required parameter 'worldId' is not null or undefined
|
|
3843
|
+
common_1.assertParamExists('sendSelfInvite', 'worldId', worldId);
|
|
3844
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
3845
|
+
common_1.assertParamExists('sendSelfInvite', 'instanceId', instanceId);
|
|
3846
|
+
localVarPath = "/instances/{worldId}:{instanceId}/invite"
|
|
3847
|
+
.replace("{" + "worldId" + "}", encodeURIComponent(String(worldId)))
|
|
3848
|
+
.replace("{" + "instanceId" + "}", encodeURIComponent(String(instanceId)));
|
|
3849
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3850
|
+
if (configuration) {
|
|
3851
|
+
baseOptions = configuration.baseOptions;
|
|
3852
|
+
}
|
|
3853
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3854
|
+
localVarHeaderParameter = {};
|
|
3855
|
+
localVarQueryParameter = {};
|
|
3856
|
+
// authentication apiKeyCookie required
|
|
3857
|
+
// authentication authCookie required
|
|
3858
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3859
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3860
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3861
|
+
return [2 /*return*/, {
|
|
3862
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3863
|
+
options: localVarRequestOptions,
|
|
3864
|
+
}];
|
|
3865
|
+
});
|
|
3866
|
+
});
|
|
3867
|
+
},
|
|
3868
|
+
};
|
|
3869
|
+
};
|
|
3870
|
+
/**
|
|
3871
|
+
* InstancesApi - functional programming interface
|
|
3872
|
+
* @export
|
|
3873
|
+
*/
|
|
3874
|
+
exports.InstancesApiFp = function (configuration) {
|
|
3875
|
+
var localVarAxiosParamCreator = exports.InstancesApiAxiosParamCreator(configuration);
|
|
3876
|
+
return {
|
|
3877
|
+
/**
|
|
3878
|
+
* Returns an instance.
|
|
3879
|
+
* @summary Get Instance
|
|
3880
|
+
* @param {string} worldId
|
|
3881
|
+
* @param {string} instanceId
|
|
3882
|
+
* @param {*} [options] Override http request option.
|
|
3883
|
+
* @throws {RequiredError}
|
|
3884
|
+
*/
|
|
3885
|
+
getInstance: function (worldId, instanceId, options) {
|
|
3886
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3887
|
+
var localVarAxiosArgs;
|
|
3888
|
+
return __generator(this, function (_a) {
|
|
3889
|
+
switch (_a.label) {
|
|
3890
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInstance(worldId, instanceId, options)];
|
|
3891
|
+
case 1:
|
|
3892
|
+
localVarAxiosArgs = _a.sent();
|
|
3893
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3894
|
+
}
|
|
3895
|
+
});
|
|
3896
|
+
});
|
|
3897
|
+
},
|
|
3898
|
+
/**
|
|
3899
|
+
* Returns an instance short name.
|
|
3900
|
+
* @summary Get Instance Short Name
|
|
3901
|
+
* @param {string} worldId
|
|
3902
|
+
* @param {string} instanceId
|
|
3903
|
+
* @param {*} [options] Override http request option.
|
|
3904
|
+
* @throws {RequiredError}
|
|
3905
|
+
*/
|
|
3906
|
+
getShortName: function (worldId, instanceId, options) {
|
|
3907
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3908
|
+
var localVarAxiosArgs;
|
|
3909
|
+
return __generator(this, function (_a) {
|
|
3910
|
+
switch (_a.label) {
|
|
3911
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getShortName(worldId, instanceId, options)];
|
|
3912
|
+
case 1:
|
|
3913
|
+
localVarAxiosArgs = _a.sent();
|
|
3914
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3915
|
+
}
|
|
3916
|
+
});
|
|
3917
|
+
});
|
|
3918
|
+
},
|
|
3919
|
+
/**
|
|
3920
|
+
* Sends an invite to the instance to yourself.
|
|
3921
|
+
* @summary Send Self Invite
|
|
3922
|
+
* @param {string} worldId
|
|
3923
|
+
* @param {string} instanceId
|
|
3924
|
+
* @param {*} [options] Override http request option.
|
|
3925
|
+
* @throws {RequiredError}
|
|
3926
|
+
*/
|
|
3927
|
+
sendSelfInvite: function (worldId, instanceId, options) {
|
|
3928
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3929
|
+
var localVarAxiosArgs;
|
|
3930
|
+
return __generator(this, function (_a) {
|
|
3931
|
+
switch (_a.label) {
|
|
3932
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendSelfInvite(worldId, instanceId, options)];
|
|
3933
|
+
case 1:
|
|
3934
|
+
localVarAxiosArgs = _a.sent();
|
|
3935
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3936
|
+
}
|
|
3937
|
+
});
|
|
3938
|
+
});
|
|
3939
|
+
},
|
|
3940
|
+
};
|
|
3941
|
+
};
|
|
3942
|
+
/**
|
|
3943
|
+
* InstancesApi - factory interface
|
|
3944
|
+
* @export
|
|
3945
|
+
*/
|
|
3946
|
+
exports.InstancesApiFactory = function (configuration, basePath, axios) {
|
|
3947
|
+
var localVarFp = exports.InstancesApiFp(configuration);
|
|
3948
|
+
return {
|
|
3949
|
+
/**
|
|
3950
|
+
* Returns an instance.
|
|
3951
|
+
* @summary Get Instance
|
|
3952
|
+
* @param {string} worldId
|
|
3953
|
+
* @param {string} instanceId
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
*/
|
|
3957
|
+
getInstance: function (worldId, instanceId, options) {
|
|
3958
|
+
return localVarFp.getInstance(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
3959
|
+
},
|
|
3960
|
+
/**
|
|
3961
|
+
* Returns an instance short name.
|
|
3962
|
+
* @summary Get Instance Short Name
|
|
3963
|
+
* @param {string} worldId
|
|
3964
|
+
* @param {string} instanceId
|
|
3965
|
+
* @param {*} [options] Override http request option.
|
|
3966
|
+
* @throws {RequiredError}
|
|
3967
|
+
*/
|
|
3968
|
+
getShortName: function (worldId, instanceId, options) {
|
|
3969
|
+
return localVarFp.getShortName(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
3970
|
+
},
|
|
3971
|
+
/**
|
|
3972
|
+
* Sends an invite to the instance to yourself.
|
|
3973
|
+
* @summary Send Self Invite
|
|
3974
|
+
* @param {string} worldId
|
|
3975
|
+
* @param {string} instanceId
|
|
3976
|
+
* @param {*} [options] Override http request option.
|
|
3977
|
+
* @throws {RequiredError}
|
|
3978
|
+
*/
|
|
3979
|
+
sendSelfInvite: function (worldId, instanceId, options) {
|
|
3980
|
+
return localVarFp.sendSelfInvite(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
3981
|
+
},
|
|
3982
|
+
};
|
|
3983
|
+
};
|
|
3984
|
+
/**
|
|
3985
|
+
* InstancesApi - object-oriented interface
|
|
3986
|
+
* @export
|
|
3987
|
+
* @class InstancesApi
|
|
3988
|
+
* @extends {BaseAPI}
|
|
3989
|
+
*/
|
|
3990
|
+
var InstancesApi = /** @class */ (function (_super) {
|
|
3991
|
+
__extends(InstancesApi, _super);
|
|
3992
|
+
function InstancesApi() {
|
|
3993
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3994
|
+
}
|
|
3995
|
+
/**
|
|
3996
|
+
* Returns an instance.
|
|
3997
|
+
* @summary Get Instance
|
|
3998
|
+
* @param {string} worldId
|
|
3999
|
+
* @param {string} instanceId
|
|
4000
|
+
* @param {*} [options] Override http request option.
|
|
4001
|
+
* @throws {RequiredError}
|
|
4002
|
+
* @memberof InstancesApi
|
|
4003
|
+
*/
|
|
4004
|
+
InstancesApi.prototype.getInstance = function (worldId, instanceId, options) {
|
|
4005
|
+
var _this = this;
|
|
4006
|
+
return exports.InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4007
|
+
};
|
|
4008
|
+
/**
|
|
4009
|
+
* Returns an instance short name.
|
|
4010
|
+
* @summary Get Instance Short Name
|
|
4011
|
+
* @param {string} worldId
|
|
4012
|
+
* @param {string} instanceId
|
|
4013
|
+
* @param {*} [options] Override http request option.
|
|
4014
|
+
* @throws {RequiredError}
|
|
4015
|
+
* @memberof InstancesApi
|
|
4016
|
+
*/
|
|
4017
|
+
InstancesApi.prototype.getShortName = function (worldId, instanceId, options) {
|
|
4018
|
+
var _this = this;
|
|
4019
|
+
return exports.InstancesApiFp(this.configuration).getShortName(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4020
|
+
};
|
|
4021
|
+
/**
|
|
4022
|
+
* Sends an invite to the instance to yourself.
|
|
4023
|
+
* @summary Send Self Invite
|
|
4024
|
+
* @param {string} worldId
|
|
4025
|
+
* @param {string} instanceId
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
* @memberof InstancesApi
|
|
4029
|
+
*/
|
|
4030
|
+
InstancesApi.prototype.sendSelfInvite = function (worldId, instanceId, options) {
|
|
4031
|
+
var _this = this;
|
|
4032
|
+
return exports.InstancesApiFp(this.configuration).sendSelfInvite(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4033
|
+
};
|
|
4034
|
+
return InstancesApi;
|
|
4035
|
+
}(base_1.BaseAPI));
|
|
4036
|
+
exports.InstancesApi = InstancesApi;
|
|
3744
4037
|
/**
|
|
3745
4038
|
* InviteApi - axios parameter creator
|
|
3746
4039
|
* @export
|
|
@@ -3750,14 +4043,14 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
3750
4043
|
return {
|
|
3751
4044
|
/**
|
|
3752
4045
|
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
3753
|
-
* @summary Get Invite
|
|
4046
|
+
* @summary Get Invite Message
|
|
3754
4047
|
* @param {string} userId
|
|
3755
4048
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
3756
|
-
* @param {number}
|
|
4049
|
+
* @param {number} slot
|
|
3757
4050
|
* @param {*} [options] Override http request option.
|
|
3758
4051
|
* @throws {RequiredError}
|
|
3759
4052
|
*/
|
|
3760
|
-
getInviteMessage: function (userId, messageType,
|
|
4053
|
+
getInviteMessage: function (userId, messageType, slot, options) {
|
|
3761
4054
|
if (options === void 0) { options = {}; }
|
|
3762
4055
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3763
4056
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3766,12 +4059,12 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
3766
4059
|
common_1.assertParamExists('getInviteMessage', 'userId', userId);
|
|
3767
4060
|
// verify required parameter 'messageType' is not null or undefined
|
|
3768
4061
|
common_1.assertParamExists('getInviteMessage', 'messageType', messageType);
|
|
3769
|
-
// verify required parameter '
|
|
3770
|
-
common_1.assertParamExists('getInviteMessage', '
|
|
3771
|
-
localVarPath = "/message/{userId}/{messageType}/{
|
|
4062
|
+
// verify required parameter 'slot' is not null or undefined
|
|
4063
|
+
common_1.assertParamExists('getInviteMessage', 'slot', slot);
|
|
4064
|
+
localVarPath = "/message/{userId}/{messageType}/{slot}"
|
|
3772
4065
|
.replace("{" + "userId" + "}", encodeURIComponent(String(userId)))
|
|
3773
4066
|
.replace("{" + "messageType" + "}", encodeURIComponent(String(messageType)))
|
|
3774
|
-
.replace("{" + "
|
|
4067
|
+
.replace("{" + "slot" + "}", encodeURIComponent(String(slot)));
|
|
3775
4068
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3776
4069
|
if (configuration) {
|
|
3777
4070
|
baseOptions = configuration.baseOptions;
|
|
@@ -3904,15 +4197,15 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
3904
4197
|
});
|
|
3905
4198
|
},
|
|
3906
4199
|
/**
|
|
3907
|
-
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit,
|
|
4200
|
+
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
|
|
3908
4201
|
* @summary Reset Invite Message
|
|
3909
4202
|
* @param {string} userId
|
|
3910
4203
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
3911
|
-
* @param {number}
|
|
4204
|
+
* @param {number} slot
|
|
3912
4205
|
* @param {*} [options] Override http request option.
|
|
3913
4206
|
* @throws {RequiredError}
|
|
3914
4207
|
*/
|
|
3915
|
-
resetInviteMessage: function (userId, messageType,
|
|
4208
|
+
resetInviteMessage: function (userId, messageType, slot, options) {
|
|
3916
4209
|
if (options === void 0) { options = {}; }
|
|
3917
4210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3918
4211
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3921,12 +4214,12 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
3921
4214
|
common_1.assertParamExists('resetInviteMessage', 'userId', userId);
|
|
3922
4215
|
// verify required parameter 'messageType' is not null or undefined
|
|
3923
4216
|
common_1.assertParamExists('resetInviteMessage', 'messageType', messageType);
|
|
3924
|
-
// verify required parameter '
|
|
3925
|
-
common_1.assertParamExists('resetInviteMessage', '
|
|
3926
|
-
localVarPath = "/message/{userId}/{messageType}/{
|
|
4217
|
+
// verify required parameter 'slot' is not null or undefined
|
|
4218
|
+
common_1.assertParamExists('resetInviteMessage', 'slot', slot);
|
|
4219
|
+
localVarPath = "/message/{userId}/{messageType}/{slot}"
|
|
3927
4220
|
.replace("{" + "userId" + "}", encodeURIComponent(String(userId)))
|
|
3928
4221
|
.replace("{" + "messageType" + "}", encodeURIComponent(String(messageType)))
|
|
3929
|
-
.replace("{" + "
|
|
4222
|
+
.replace("{" + "slot" + "}", encodeURIComponent(String(slot)));
|
|
3930
4223
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3931
4224
|
if (configuration) {
|
|
3932
4225
|
baseOptions = configuration.baseOptions;
|
|
@@ -3985,15 +4278,16 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
3985
4278
|
});
|
|
3986
4279
|
},
|
|
3987
4280
|
/**
|
|
3988
|
-
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 Too Fast Error. Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4281
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
3989
4282
|
* @summary Update Invite Message
|
|
3990
4283
|
* @param {string} userId
|
|
3991
4284
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
3992
|
-
* @param {number}
|
|
4285
|
+
* @param {number} slot
|
|
4286
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
3993
4287
|
* @param {*} [options] Override http request option.
|
|
3994
4288
|
* @throws {RequiredError}
|
|
3995
4289
|
*/
|
|
3996
|
-
updateInviteMessage: function (userId, messageType,
|
|
4290
|
+
updateInviteMessage: function (userId, messageType, slot, updateInviteMessageRequest, options) {
|
|
3997
4291
|
if (options === void 0) { options = {}; }
|
|
3998
4292
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3999
4293
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4002,12 +4296,12 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4002
4296
|
common_1.assertParamExists('updateInviteMessage', 'userId', userId);
|
|
4003
4297
|
// verify required parameter 'messageType' is not null or undefined
|
|
4004
4298
|
common_1.assertParamExists('updateInviteMessage', 'messageType', messageType);
|
|
4005
|
-
// verify required parameter '
|
|
4006
|
-
common_1.assertParamExists('updateInviteMessage', '
|
|
4007
|
-
localVarPath = "/message/{userId}/{messageType}/{
|
|
4299
|
+
// verify required parameter 'slot' is not null or undefined
|
|
4300
|
+
common_1.assertParamExists('updateInviteMessage', 'slot', slot);
|
|
4301
|
+
localVarPath = "/message/{userId}/{messageType}/{slot}"
|
|
4008
4302
|
.replace("{" + "userId" + "}", encodeURIComponent(String(userId)))
|
|
4009
4303
|
.replace("{" + "messageType" + "}", encodeURIComponent(String(messageType)))
|
|
4010
|
-
.replace("{" + "
|
|
4304
|
+
.replace("{" + "slot" + "}", encodeURIComponent(String(slot)));
|
|
4011
4305
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4012
4306
|
if (configuration) {
|
|
4013
4307
|
baseOptions = configuration.baseOptions;
|
|
@@ -4017,9 +4311,11 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
|
|
|
4017
4311
|
localVarQueryParameter = {};
|
|
4018
4312
|
// authentication apiKeyCookie required
|
|
4019
4313
|
// authentication authCookie required
|
|
4314
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4020
4315
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4021
4316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4022
4317
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4318
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateInviteMessageRequest, localVarRequestOptions, configuration);
|
|
4023
4319
|
return [2 /*return*/, {
|
|
4024
4320
|
url: common_1.toPathString(localVarUrlObj),
|
|
4025
4321
|
options: localVarRequestOptions,
|
|
@@ -4038,19 +4334,19 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4038
4334
|
return {
|
|
4039
4335
|
/**
|
|
4040
4336
|
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4041
|
-
* @summary Get Invite
|
|
4337
|
+
* @summary Get Invite Message
|
|
4042
4338
|
* @param {string} userId
|
|
4043
4339
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4044
|
-
* @param {number}
|
|
4340
|
+
* @param {number} slot
|
|
4045
4341
|
* @param {*} [options] Override http request option.
|
|
4046
4342
|
* @throws {RequiredError}
|
|
4047
4343
|
*/
|
|
4048
|
-
getInviteMessage: function (userId, messageType,
|
|
4344
|
+
getInviteMessage: function (userId, messageType, slot, options) {
|
|
4049
4345
|
return __awaiter(this, void 0, void 0, function () {
|
|
4050
4346
|
var localVarAxiosArgs;
|
|
4051
4347
|
return __generator(this, function (_a) {
|
|
4052
4348
|
switch (_a.label) {
|
|
4053
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInviteMessage(userId, messageType,
|
|
4349
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInviteMessage(userId, messageType, slot, options)];
|
|
4054
4350
|
case 1:
|
|
4055
4351
|
localVarAxiosArgs = _a.sent();
|
|
4056
4352
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4121,20 +4417,20 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4121
4417
|
});
|
|
4122
4418
|
},
|
|
4123
4419
|
/**
|
|
4124
|
-
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit,
|
|
4420
|
+
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
|
|
4125
4421
|
* @summary Reset Invite Message
|
|
4126
4422
|
* @param {string} userId
|
|
4127
4423
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4128
|
-
* @param {number}
|
|
4424
|
+
* @param {number} slot
|
|
4129
4425
|
* @param {*} [options] Override http request option.
|
|
4130
4426
|
* @throws {RequiredError}
|
|
4131
4427
|
*/
|
|
4132
|
-
resetInviteMessage: function (userId, messageType,
|
|
4428
|
+
resetInviteMessage: function (userId, messageType, slot, options) {
|
|
4133
4429
|
return __awaiter(this, void 0, void 0, function () {
|
|
4134
4430
|
var localVarAxiosArgs;
|
|
4135
4431
|
return __generator(this, function (_a) {
|
|
4136
4432
|
switch (_a.label) {
|
|
4137
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.resetInviteMessage(userId, messageType,
|
|
4433
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.resetInviteMessage(userId, messageType, slot, options)];
|
|
4138
4434
|
case 1:
|
|
4139
4435
|
localVarAxiosArgs = _a.sent();
|
|
4140
4436
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4164,20 +4460,21 @@ exports.InviteApiFp = function (configuration) {
|
|
|
4164
4460
|
});
|
|
4165
4461
|
},
|
|
4166
4462
|
/**
|
|
4167
|
-
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 Too Fast Error. Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4463
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4168
4464
|
* @summary Update Invite Message
|
|
4169
4465
|
* @param {string} userId
|
|
4170
4466
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4171
|
-
* @param {number}
|
|
4467
|
+
* @param {number} slot
|
|
4468
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
4172
4469
|
* @param {*} [options] Override http request option.
|
|
4173
4470
|
* @throws {RequiredError}
|
|
4174
4471
|
*/
|
|
4175
|
-
updateInviteMessage: function (userId, messageType,
|
|
4472
|
+
updateInviteMessage: function (userId, messageType, slot, updateInviteMessageRequest, options) {
|
|
4176
4473
|
return __awaiter(this, void 0, void 0, function () {
|
|
4177
4474
|
var localVarAxiosArgs;
|
|
4178
4475
|
return __generator(this, function (_a) {
|
|
4179
4476
|
switch (_a.label) {
|
|
4180
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateInviteMessage(userId, messageType,
|
|
4477
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options)];
|
|
4181
4478
|
case 1:
|
|
4182
4479
|
localVarAxiosArgs = _a.sent();
|
|
4183
4480
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4196,15 +4493,15 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
4196
4493
|
return {
|
|
4197
4494
|
/**
|
|
4198
4495
|
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4199
|
-
* @summary Get Invite
|
|
4496
|
+
* @summary Get Invite Message
|
|
4200
4497
|
* @param {string} userId
|
|
4201
4498
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4202
|
-
* @param {number}
|
|
4499
|
+
* @param {number} slot
|
|
4203
4500
|
* @param {*} [options] Override http request option.
|
|
4204
4501
|
* @throws {RequiredError}
|
|
4205
4502
|
*/
|
|
4206
|
-
getInviteMessage: function (userId, messageType,
|
|
4207
|
-
return localVarFp.getInviteMessage(userId, messageType,
|
|
4503
|
+
getInviteMessage: function (userId, messageType, slot, options) {
|
|
4504
|
+
return localVarFp.getInviteMessage(userId, messageType, slot, options).then(function (request) { return request(axios, basePath); });
|
|
4208
4505
|
},
|
|
4209
4506
|
/**
|
|
4210
4507
|
* Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
@@ -4239,16 +4536,16 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
4239
4536
|
return localVarFp.requestInvite(userId, options).then(function (request) { return request(axios, basePath); });
|
|
4240
4537
|
},
|
|
4241
4538
|
/**
|
|
4242
|
-
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit,
|
|
4539
|
+
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
|
|
4243
4540
|
* @summary Reset Invite Message
|
|
4244
4541
|
* @param {string} userId
|
|
4245
4542
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4246
|
-
* @param {number}
|
|
4543
|
+
* @param {number} slot
|
|
4247
4544
|
* @param {*} [options] Override http request option.
|
|
4248
4545
|
* @throws {RequiredError}
|
|
4249
4546
|
*/
|
|
4250
|
-
resetInviteMessage: function (userId, messageType,
|
|
4251
|
-
return localVarFp.resetInviteMessage(userId, messageType,
|
|
4547
|
+
resetInviteMessage: function (userId, messageType, slot, options) {
|
|
4548
|
+
return localVarFp.resetInviteMessage(userId, messageType, slot, options).then(function (request) { return request(axios, basePath); });
|
|
4252
4549
|
},
|
|
4253
4550
|
/**
|
|
4254
4551
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
@@ -4262,16 +4559,17 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
|
|
|
4262
4559
|
return localVarFp.respondInvite(notificationId, inviteResponse, options).then(function (request) { return request(axios, basePath); });
|
|
4263
4560
|
},
|
|
4264
4561
|
/**
|
|
4265
|
-
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 Too Fast Error. Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4562
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4266
4563
|
* @summary Update Invite Message
|
|
4267
4564
|
* @param {string} userId
|
|
4268
4565
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4269
|
-
* @param {number}
|
|
4566
|
+
* @param {number} slot
|
|
4567
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
4270
4568
|
* @param {*} [options] Override http request option.
|
|
4271
4569
|
* @throws {RequiredError}
|
|
4272
4570
|
*/
|
|
4273
|
-
updateInviteMessage: function (userId, messageType,
|
|
4274
|
-
return localVarFp.updateInviteMessage(userId, messageType,
|
|
4571
|
+
updateInviteMessage: function (userId, messageType, slot, updateInviteMessageRequest, options) {
|
|
4572
|
+
return localVarFp.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then(function (request) { return request(axios, basePath); });
|
|
4275
4573
|
},
|
|
4276
4574
|
};
|
|
4277
4575
|
};
|
|
@@ -4288,17 +4586,17 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
4288
4586
|
}
|
|
4289
4587
|
/**
|
|
4290
4588
|
* Returns a single Invite Message. This returns the exact same information but less than `getInviteMessages`. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4291
|
-
* @summary Get Invite
|
|
4589
|
+
* @summary Get Invite Message
|
|
4292
4590
|
* @param {string} userId
|
|
4293
4591
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4294
|
-
* @param {number}
|
|
4592
|
+
* @param {number} slot
|
|
4295
4593
|
* @param {*} [options] Override http request option.
|
|
4296
4594
|
* @throws {RequiredError}
|
|
4297
4595
|
* @memberof InviteApi
|
|
4298
4596
|
*/
|
|
4299
|
-
InviteApi.prototype.getInviteMessage = function (userId, messageType,
|
|
4597
|
+
InviteApi.prototype.getInviteMessage = function (userId, messageType, slot, options) {
|
|
4300
4598
|
var _this = this;
|
|
4301
|
-
return exports.InviteApiFp(this.configuration).getInviteMessage(userId, messageType,
|
|
4599
|
+
return exports.InviteApiFp(this.configuration).getInviteMessage(userId, messageType, slot, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4302
4600
|
};
|
|
4303
4601
|
/**
|
|
4304
4602
|
* Returns a list of all the users Invite Messages. Admin Credentials are required to view messages of other users! Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
@@ -4339,18 +4637,18 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
4339
4637
|
return exports.InviteApiFp(this.configuration).requestInvite(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4340
4638
|
};
|
|
4341
4639
|
/**
|
|
4342
|
-
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit,
|
|
4640
|
+
* Resets a single Invite Message back to it\'s original message, and then returns a list of all of them. Admin Credentials are required to update messages of other users! Resetting a message respects the rate-limit, so it is not possible to reset within the 60 minutes countdown. Resetting it does however not set the rate-limit to 60 like when editing it. It is possible to edit it right after resetting it. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite The DELETE endpoint does not have/require any request body.
|
|
4343
4641
|
* @summary Reset Invite Message
|
|
4344
4642
|
* @param {string} userId
|
|
4345
4643
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4346
|
-
* @param {number}
|
|
4644
|
+
* @param {number} slot
|
|
4347
4645
|
* @param {*} [options] Override http request option.
|
|
4348
4646
|
* @throws {RequiredError}
|
|
4349
4647
|
* @memberof InviteApi
|
|
4350
4648
|
*/
|
|
4351
|
-
InviteApi.prototype.resetInviteMessage = function (userId, messageType,
|
|
4649
|
+
InviteApi.prototype.resetInviteMessage = function (userId, messageType, slot, options) {
|
|
4352
4650
|
var _this = this;
|
|
4353
|
-
return exports.InviteApiFp(this.configuration).resetInviteMessage(userId, messageType,
|
|
4651
|
+
return exports.InviteApiFp(this.configuration).resetInviteMessage(userId, messageType, slot, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4354
4652
|
};
|
|
4355
4653
|
/**
|
|
4356
4654
|
* Respond to an invite request by sending a world invite to the requesting user. `:notificationId` is the ID of the requesting notification.
|
|
@@ -4366,18 +4664,19 @@ var InviteApi = /** @class */ (function (_super) {
|
|
|
4366
4664
|
return exports.InviteApiFp(this.configuration).respondInvite(notificationId, inviteResponse, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4367
4665
|
};
|
|
4368
4666
|
/**
|
|
4369
|
-
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 Too Fast Error. Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4667
|
+
* Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users! Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 \"Too Fast Error\". Message type refers to a different collection of messages, used during different types of responses. * `message` = Message during a normal invite * `response` = Message when replying to a message * `request` = Message when requesting an invite * `requestResponse` = Message when replying to a request for invite
|
|
4370
4668
|
* @summary Update Invite Message
|
|
4371
4669
|
* @param {string} userId
|
|
4372
4670
|
* @param {'message' | 'response' | 'request' | 'requestResponse'} messageType
|
|
4373
|
-
* @param {number}
|
|
4671
|
+
* @param {number} slot
|
|
4672
|
+
* @param {UpdateInviteMessageRequest} [updateInviteMessageRequest] Message of what to set the invite message to.
|
|
4374
4673
|
* @param {*} [options] Override http request option.
|
|
4375
4674
|
* @throws {RequiredError}
|
|
4376
4675
|
* @memberof InviteApi
|
|
4377
4676
|
*/
|
|
4378
|
-
InviteApi.prototype.updateInviteMessage = function (userId, messageType,
|
|
4677
|
+
InviteApi.prototype.updateInviteMessage = function (userId, messageType, slot, updateInviteMessageRequest, options) {
|
|
4379
4678
|
var _this = this;
|
|
4380
|
-
return exports.InviteApiFp(this.configuration).updateInviteMessage(userId, messageType,
|
|
4679
|
+
return exports.InviteApiFp(this.configuration).updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4381
4680
|
};
|
|
4382
4681
|
return InviteApi;
|
|
4383
4682
|
}(base_1.BaseAPI));
|
|
@@ -5545,7 +5844,7 @@ exports.SystemApiAxiosParamCreator = function (configuration) {
|
|
|
5545
5844
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5546
5845
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5547
5846
|
return __generator(this, function (_a) {
|
|
5548
|
-
localVarPath = "/css/app.
|
|
5847
|
+
localVarPath = "/css/app.css";
|
|
5549
5848
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5550
5849
|
if (configuration) {
|
|
5551
5850
|
baseOptions = configuration.baseOptions;
|
|
@@ -5599,7 +5898,7 @@ exports.SystemApiAxiosParamCreator = function (configuration) {
|
|
|
5599
5898
|
});
|
|
5600
5899
|
},
|
|
5601
5900
|
/**
|
|
5602
|
-
* Returns
|
|
5901
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
5603
5902
|
* @summary Current Online Users
|
|
5604
5903
|
* @param {*} [options] Override http request option.
|
|
5605
5904
|
* @throws {RequiredError}
|
|
@@ -5695,7 +5994,7 @@ exports.SystemApiAxiosParamCreator = function (configuration) {
|
|
|
5695
5994
|
});
|
|
5696
5995
|
},
|
|
5697
5996
|
/**
|
|
5698
|
-
* Returns
|
|
5997
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
5699
5998
|
* @summary Current System Time
|
|
5700
5999
|
* @param {*} [options] Override http request option.
|
|
5701
6000
|
* @throws {RequiredError}
|
|
@@ -5773,7 +6072,7 @@ exports.SystemApiFp = function (configuration) {
|
|
|
5773
6072
|
});
|
|
5774
6073
|
},
|
|
5775
6074
|
/**
|
|
5776
|
-
* Returns
|
|
6075
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
5777
6076
|
* @summary Current Online Users
|
|
5778
6077
|
* @param {*} [options] Override http request option.
|
|
5779
6078
|
* @throws {RequiredError}
|
|
@@ -5833,7 +6132,7 @@ exports.SystemApiFp = function (configuration) {
|
|
|
5833
6132
|
});
|
|
5834
6133
|
},
|
|
5835
6134
|
/**
|
|
5836
|
-
* Returns
|
|
6135
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
5837
6136
|
* @summary Current System Time
|
|
5838
6137
|
* @param {*} [options] Override http request option.
|
|
5839
6138
|
* @throws {RequiredError}
|
|
@@ -5881,7 +6180,7 @@ exports.SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
5881
6180
|
return localVarFp.getConfig(options).then(function (request) { return request(axios, basePath); });
|
|
5882
6181
|
},
|
|
5883
6182
|
/**
|
|
5884
|
-
* Returns
|
|
6183
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
5885
6184
|
* @summary Current Online Users
|
|
5886
6185
|
* @param {*} [options] Override http request option.
|
|
5887
6186
|
* @throws {RequiredError}
|
|
@@ -5911,7 +6210,7 @@ exports.SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
5911
6210
|
return localVarFp.getJavaScript(variant, branch, options).then(function (request) { return request(axios, basePath); });
|
|
5912
6211
|
},
|
|
5913
6212
|
/**
|
|
5914
|
-
* Returns
|
|
6213
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
5915
6214
|
* @summary Current System Time
|
|
5916
6215
|
* @param {*} [options] Override http request option.
|
|
5917
6216
|
* @throws {RequiredError}
|
|
@@ -5957,7 +6256,7 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
5957
6256
|
return exports.SystemApiFp(this.configuration).getConfig(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5958
6257
|
};
|
|
5959
6258
|
/**
|
|
5960
|
-
* Returns
|
|
6259
|
+
* Returns the current number of online users. **NOTE:** The response type is not a JSON object, but a simple JSON integer.
|
|
5961
6260
|
* @summary Current Online Users
|
|
5962
6261
|
* @param {*} [options] Override http request option.
|
|
5963
6262
|
* @throws {RequiredError}
|
|
@@ -5993,7 +6292,7 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
5993
6292
|
return exports.SystemApiFp(this.configuration).getJavaScript(variant, branch, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5994
6293
|
};
|
|
5995
6294
|
/**
|
|
5996
|
-
* Returns
|
|
6295
|
+
* Returns the current time of the API server. **NOTE:** The response type is not a JSON object, but a simple JSON string.
|
|
5997
6296
|
* @summary Current System Time
|
|
5998
6297
|
* @param {*} [options] Override http request option.
|
|
5999
6298
|
* @throws {RequiredError}
|