/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { EngineCreateTriggerRequest } from '../api';
import { EngineListTrigger } from '../api';
import { EngineListTriggerJob } from '../api';
import { EngineTrigger } from '../api';
import { EngineTriggerJob } from '../api';
import { EngineTriggerServiceCreateTriggerJobBody } from '../api';
import { EngineTriggerServicePatchTriggerBody } from '../api';
import { EngineTriggerServiceUpdateTriggerBody } from '../api';
/**
 * TriggerServiceApi - axios parameter creator
 * @export
 */
export declare const TriggerServiceApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create Trigger
     * @param {EngineCreateTriggerRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTrigger: (body: EngineCreateTriggerRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {number} triggerId
     * @param {EngineTriggerServiceCreateTriggerJobBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTriggerJob: (triggerId: number, body: EngineTriggerServiceCreateTriggerJobBody, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove Trigger
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteTrigger: (id: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {number} id
     * @param {EngineTriggerServicePatchTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchTrigger: (id: number, body: EngineTriggerServicePatchTriggerBody, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Trigger item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readTrigger: (id: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary List of Trigger
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {Array<number>} [schemaId]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTrigger: (page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, schemaId?: Array<number>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {number} triggerId
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {string} [createdAtFrom]
     * @param {string} [createdAtTo]
     * @param {string} [startedAtFrom]
     * @param {string} [startedAtTo]
     * @param {string} [durationFrom]
     * @param {string} [durationTo]
     * @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTriggerJob: (triggerId: number, page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, createdAtFrom?: string, createdAtTo?: string, startedAtFrom?: string, startedAtTo?: string, durationFrom?: string, durationTo?: string, state?: Array<"idle" | "active" | "done" | "error">, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update Trigger
     * @param {number} id
     * @param {EngineTriggerServiceUpdateTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateTrigger: (id: number, body: EngineTriggerServiceUpdateTriggerBody, options?: any) => Promise<RequestArgs>;
};
/**
 * TriggerServiceApi - functional programming interface
 * @export
 */
export declare const TriggerServiceApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create Trigger
     * @param {EngineCreateTriggerRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTrigger(body: EngineCreateTriggerRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTrigger>>;
    /**
     *
     * @param {number} triggerId
     * @param {EngineTriggerServiceCreateTriggerJobBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTriggerJob(triggerId: number, body: EngineTriggerServiceCreateTriggerJobBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTriggerJob>>;
    /**
     *
     * @summary Remove Trigger
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteTrigger(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTrigger>>;
    /**
     *
     * @param {number} id
     * @param {EngineTriggerServicePatchTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchTrigger(id: number, body: EngineTriggerServicePatchTriggerBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTrigger>>;
    /**
     *
     * @summary Trigger item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readTrigger(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTrigger>>;
    /**
     *
     * @summary List of Trigger
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {Array<number>} [schemaId]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTrigger(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, schemaId?: Array<number>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineListTrigger>>;
    /**
     *
     * @param {number} triggerId
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {string} [createdAtFrom]
     * @param {string} [createdAtTo]
     * @param {string} [startedAtFrom]
     * @param {string} [startedAtTo]
     * @param {string} [durationFrom]
     * @param {string} [durationTo]
     * @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTriggerJob(triggerId: number, page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, createdAtFrom?: string, createdAtTo?: string, startedAtFrom?: string, startedAtTo?: string, durationFrom?: string, durationTo?: string, state?: Array<"idle" | "active" | "done" | "error">, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineListTriggerJob>>;
    /**
     *
     * @summary Update Trigger
     * @param {number} id
     * @param {EngineTriggerServiceUpdateTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateTrigger(id: number, body: EngineTriggerServiceUpdateTriggerBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EngineTrigger>>;
};
/**
 * TriggerServiceApi - factory interface
 * @export
 */
export declare const TriggerServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create Trigger
     * @param {EngineCreateTriggerRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTrigger(body: EngineCreateTriggerRequest, options?: any): AxiosPromise<EngineTrigger>;
    /**
     *
     * @param {number} triggerId
     * @param {EngineTriggerServiceCreateTriggerJobBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createTriggerJob(triggerId: number, body: EngineTriggerServiceCreateTriggerJobBody, options?: any): AxiosPromise<EngineTriggerJob>;
    /**
     *
     * @summary Remove Trigger
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteTrigger(id: number, options?: any): AxiosPromise<EngineTrigger>;
    /**
     *
     * @param {number} id
     * @param {EngineTriggerServicePatchTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchTrigger(id: number, body: EngineTriggerServicePatchTriggerBody, options?: any): AxiosPromise<EngineTrigger>;
    /**
     *
     * @summary Trigger item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readTrigger(id: number, options?: any): AxiosPromise<EngineTrigger>;
    /**
     *
     * @summary List of Trigger
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {Array<number>} [schemaId]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTrigger(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, schemaId?: Array<number>, options?: any): AxiosPromise<EngineListTrigger>;
    /**
     *
     * @param {number} triggerId
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {string} [createdAtFrom]
     * @param {string} [createdAtTo]
     * @param {string} [startedAtFrom]
     * @param {string} [startedAtTo]
     * @param {string} [durationFrom]
     * @param {string} [durationTo]
     * @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchTriggerJob(triggerId: number, page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, createdAtFrom?: string, createdAtTo?: string, startedAtFrom?: string, startedAtTo?: string, durationFrom?: string, durationTo?: string, state?: Array<"idle" | "active" | "done" | "error">, options?: any): AxiosPromise<EngineListTriggerJob>;
    /**
     *
     * @summary Update Trigger
     * @param {number} id
     * @param {EngineTriggerServiceUpdateTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateTrigger(id: number, body: EngineTriggerServiceUpdateTriggerBody, options?: any): AxiosPromise<EngineTrigger>;
};
/**
 * TriggerServiceApi - object-oriented interface
 * @export
 * @class TriggerServiceApi
 * @extends {BaseAPI}
 */
export declare class TriggerServiceApi extends BaseAPI {
    /**
     *
     * @summary Create Trigger
     * @param {EngineCreateTriggerRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    createTrigger(body: EngineCreateTriggerRequest, options?: any): Promise<import("axios").AxiosResponse<EngineTrigger, any, {}>>;
    /**
     *
     * @param {number} triggerId
     * @param {EngineTriggerServiceCreateTriggerJobBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    createTriggerJob(triggerId: number, body: EngineTriggerServiceCreateTriggerJobBody, options?: any): Promise<import("axios").AxiosResponse<EngineTriggerJob, any, {}>>;
    /**
     *
     * @summary Remove Trigger
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    deleteTrigger(id: number, options?: any): Promise<import("axios").AxiosResponse<EngineTrigger, any, {}>>;
    /**
     *
     * @param {number} id
     * @param {EngineTriggerServicePatchTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    patchTrigger(id: number, body: EngineTriggerServicePatchTriggerBody, options?: any): Promise<import("axios").AxiosResponse<EngineTrigger, any, {}>>;
    /**
     *
     * @summary Trigger item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    readTrigger(id: number, options?: any): Promise<import("axios").AxiosResponse<EngineTrigger, any, {}>>;
    /**
     *
     * @summary List of Trigger
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {Array<number>} [schemaId]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    searchTrigger(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, schemaId?: Array<number>, options?: any): Promise<import("axios").AxiosResponse<EngineListTrigger, any, {}>>;
    /**
     *
     * @param {number} triggerId
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {string} [createdAtFrom]
     * @param {string} [createdAtTo]
     * @param {string} [startedAtFrom]
     * @param {string} [startedAtTo]
     * @param {string} [durationFrom]
     * @param {string} [durationTo]
     * @param {Array<'idle' | 'active' | 'done' | 'error'>} [state]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    searchTriggerJob(triggerId: number, page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, createdAtFrom?: string, createdAtTo?: string, startedAtFrom?: string, startedAtTo?: string, durationFrom?: string, durationTo?: string, state?: Array<'idle' | 'active' | 'done' | 'error'>, options?: any): Promise<import("axios").AxiosResponse<EngineListTriggerJob, any, {}>>;
    /**
     *
     * @summary Update Trigger
     * @param {number} id
     * @param {EngineTriggerServiceUpdateTriggerBody} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TriggerServiceApi
     */
    updateTrigger(id: number, body: EngineTriggerServiceUpdateTriggerBody, options?: any): Promise<import("axios").AxiosResponse<EngineTrigger, any, {}>>;
}
//# sourceMappingURL=trigger-service-api.d.ts.map