/** * openfilz-api * API for Document Management System * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { AiPreferencesView } from '../models'; import type { SaveAiPreferencesRequest } from '../models'; import type { Settings } from '../models'; /** * SettingsApi - axios parameter creator */ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary The caller\'s smart-filing preferences * @param {*} [options] Override http request option. * @throws {RequiredError} */ get1: (options?: RawAxiosRequestConfig) => Promise; /** * Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported. * @summary Get user\'s settings * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSettings1: (acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise; /** * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered. * @summary Save the caller\'s smart-filing preferences * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise; }; /** * SettingsApi - functional programming interface */ export declare const SettingsApiFp: (configuration?: Configuration) => { /** * * @summary The caller\'s smart-filing preferences * @param {*} [options] Override http request option. * @throws {RequiredError} */ get1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported. * @summary Get user\'s settings * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered. * @summary Save the caller\'s smart-filing preferences * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SettingsApi - factory interface */ export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary The caller\'s smart-filing preferences * @param {*} [options] Override http request option. * @throws {RequiredError} */ get1(options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported. * @summary Get user\'s settings * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered. * @summary Save the caller\'s smart-filing preferences * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * SettingsApi - object-oriented interface */ export declare class SettingsApi extends BaseAPI { /** * * @summary The caller\'s smart-filing preferences * @param {*} [options] Override http request option. * @throws {RequiredError} */ get1(options?: RawAxiosRequestConfig): Promise>; /** * Retrieve user\'s settings : global settings and user\'s preferences. The category labels (aiInsightsCategoryLabels) are in the Accept-Language language, English when it is not supported. * @summary Get user\'s settings * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSettings1(acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise>; /** * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered. * @summary Save the caller\'s smart-filing preferences * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest * @param {string} [acceptLanguage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise>; }