|
@@ -2087,6 +2087,43 @@ export interface SearchResponseDto {
|
|
*/
|
|
*/
|
|
'assets': SearchAssetResponseDto;
|
|
'assets': SearchAssetResponseDto;
|
|
}
|
|
}
|
|
|
|
+/**
|
|
|
|
+ *
|
|
|
|
+ * @export
|
|
|
|
+ * @interface ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+export interface ServerFeaturesDto {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+ 'machineLearning': boolean;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+ 'oauth': boolean;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+ 'oauthAutoLaunch': boolean;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+ 'passwordLogin': boolean;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
|
+ */
|
|
|
|
+ 'search': boolean;
|
|
|
|
+}
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
@@ -2208,25 +2245,25 @@ export interface ServerStatsResponseDto {
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
- * @interface ServerVersionReponseDto
|
|
|
|
|
|
+ * @interface ServerVersionResponseDto
|
|
*/
|
|
*/
|
|
-export interface ServerVersionReponseDto {
|
|
|
|
|
|
+export interface ServerVersionResponseDto {
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {number}
|
|
* @type {number}
|
|
- * @memberof ServerVersionReponseDto
|
|
|
|
|
|
+ * @memberof ServerVersionResponseDto
|
|
*/
|
|
*/
|
|
'major': number;
|
|
'major': number;
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {number}
|
|
* @type {number}
|
|
- * @memberof ServerVersionReponseDto
|
|
|
|
|
|
+ * @memberof ServerVersionResponseDto
|
|
*/
|
|
*/
|
|
'minor': number;
|
|
'minor': number;
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {number}
|
|
* @type {number}
|
|
- * @memberof ServerVersionReponseDto
|
|
|
|
|
|
+ * @memberof ServerVersionResponseDto
|
|
*/
|
|
*/
|
|
'patch': number;
|
|
'patch': number;
|
|
}
|
|
}
|
|
@@ -10156,6 +10193,35 @@ export class SearchApi extends BaseAPI {
|
|
*/
|
|
*/
|
|
export const ServerInfoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
export const ServerInfoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
return {
|
|
return {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getServerFeatures: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ const localVarPath = `/server-info/features`;
|
|
|
|
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
|
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
|
|
+ let baseOptions;
|
|
|
|
+ if (configuration) {
|
|
|
|
+ baseOptions = configuration.baseOptions;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
|
|
+ const localVarHeaderParameter = {} as any;
|
|
|
|
+ const localVarQueryParameter = {} as any;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
+
|
|
|
|
+ return {
|
|
|
|
+ url: toPathString(localVarUrlObj),
|
|
|
|
+ options: localVarRequestOptions,
|
|
|
|
+ };
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -10329,6 +10395,15 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur
|
|
export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
const localVarAxiosParamCreator = ServerInfoApiAxiosParamCreator(configuration)
|
|
const localVarAxiosParamCreator = ServerInfoApiAxiosParamCreator(configuration)
|
|
return {
|
|
return {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ async getServerFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerFeaturesDto>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServerFeatures(options);
|
|
|
|
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -10343,7 +10418,7 @@ export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async getServerVersion(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerVersionReponseDto>> {
|
|
|
|
|
|
+ async getServerVersion(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerVersionResponseDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getServerVersion(options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getServerVersion(options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -10384,6 +10459,14 @@ export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
export const ServerInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
export const ServerInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
const localVarFp = ServerInfoApiFp(configuration)
|
|
const localVarFp = ServerInfoApiFp(configuration)
|
|
return {
|
|
return {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getServerFeatures(options?: AxiosRequestConfig): AxiosPromise<ServerFeaturesDto> {
|
|
|
|
+ return localVarFp.getServerFeatures(options).then((request) => request(axios, basePath));
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -10397,7 +10480,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getServerVersion(options?: AxiosRequestConfig): AxiosPromise<ServerVersionReponseDto> {
|
|
|
|
|
|
+ getServerVersion(options?: AxiosRequestConfig): AxiosPromise<ServerVersionResponseDto> {
|
|
return localVarFp.getServerVersion(options).then((request) => request(axios, basePath));
|
|
return localVarFp.getServerVersion(options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -10434,6 +10517,16 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas
|
|
* @extends {BaseAPI}
|
|
* @extends {BaseAPI}
|
|
*/
|
|
*/
|
|
export class ServerInfoApi extends BaseAPI {
|
|
export class ServerInfoApi extends BaseAPI {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ * @memberof ServerInfoApi
|
|
|
|
+ */
|
|
|
|
+ public getServerFeatures(options?: AxiosRequestConfig) {
|
|
|
|
+ return ServerInfoApiFp(this.configuration).getServerFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|