|
@@ -2343,6 +2343,31 @@ export interface SearchResponseDto {
|
|
|
*/
|
|
|
'assets': SearchAssetResponseDto;
|
|
|
}
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @export
|
|
|
+ * @interface ServerConfigDto
|
|
|
+ */
|
|
|
+export interface ServerConfigDto {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {string}
|
|
|
+ * @memberof ServerConfigDto
|
|
|
+ */
|
|
|
+ 'loginPageMessage': string;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {string}
|
|
|
+ * @memberof ServerConfigDto
|
|
|
+ */
|
|
|
+ 'mapTileUrl': string;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {string}
|
|
|
+ * @memberof ServerConfigDto
|
|
|
+ */
|
|
|
+ 'oauthButtonText': string;
|
|
|
+}
|
|
|
/**
|
|
|
*
|
|
|
* @export
|
|
@@ -2367,6 +2392,12 @@ export interface ServerFeaturesDto {
|
|
|
* @memberof ServerFeaturesDto
|
|
|
*/
|
|
|
'facialRecognition': boolean;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {boolean}
|
|
|
+ * @memberof ServerFeaturesDto
|
|
|
+ */
|
|
|
+ 'map': boolean;
|
|
|
/**
|
|
|
*
|
|
|
* @type {boolean}
|
|
@@ -2810,6 +2841,12 @@ export interface SystemConfigDto {
|
|
|
* @memberof SystemConfigDto
|
|
|
*/
|
|
|
'machineLearning': SystemConfigMachineLearningDto;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {SystemConfigMapDto}
|
|
|
+ * @memberof SystemConfigDto
|
|
|
+ */
|
|
|
+ 'map': SystemConfigMapDto;
|
|
|
/**
|
|
|
*
|
|
|
* @type {SystemConfigOAuthDto}
|
|
@@ -3050,6 +3087,25 @@ export interface SystemConfigMachineLearningDto {
|
|
|
*/
|
|
|
'url': string;
|
|
|
}
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @export
|
|
|
+ * @interface SystemConfigMapDto
|
|
|
+ */
|
|
|
+export interface SystemConfigMapDto {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {boolean}
|
|
|
+ * @memberof SystemConfigMapDto
|
|
|
+ */
|
|
|
+ 'enabled': boolean;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @type {string}
|
|
|
+ * @memberof SystemConfigMapDto
|
|
|
+ */
|
|
|
+ 'tileUrl': string;
|
|
|
+}
|
|
|
/**
|
|
|
*
|
|
|
* @export
|
|
@@ -10825,6 +10881,35 @@ export class SearchApi extends BaseAPI {
|
|
|
*/
|
|
|
export const ServerInfoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
return {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ */
|
|
|
+ getServerConfig: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/server-info/config`;
|
|
|
+ // 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.
|
|
@@ -11027,6 +11112,15 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur
|
|
|
export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
|
const localVarAxiosParamCreator = ServerInfoApiAxiosParamCreator(configuration)
|
|
|
return {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ */
|
|
|
+ async getServerConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerConfigDto>> {
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServerConfig(options);
|
|
|
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
+ },
|
|
|
/**
|
|
|
*
|
|
|
* @param {*} [options] Override http request option.
|
|
@@ -11091,6 +11185,14 @@ export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
|
export const ServerInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
const localVarFp = ServerInfoApiFp(configuration)
|
|
|
return {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ */
|
|
|
+ getServerConfig(options?: AxiosRequestConfig): AxiosPromise<ServerConfigDto> {
|
|
|
+ return localVarFp.getServerConfig(options).then((request) => request(axios, basePath));
|
|
|
+ },
|
|
|
/**
|
|
|
*
|
|
|
* @param {*} [options] Override http request option.
|
|
@@ -11149,6 +11251,16 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas
|
|
|
* @extends {BaseAPI}
|
|
|
*/
|
|
|
export class ServerInfoApi extends BaseAPI {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ * @memberof ServerInfoApi
|
|
|
+ */
|
|
|
+ public getServerConfig(options?: AxiosRequestConfig) {
|
|
|
+ return ServerInfoApiFp(this.configuration).getServerConfig(options).then((request) => request(this.axios, this.basePath));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* @param {*} [options] Override http request option.
|