/* tslint:disable */
/* eslint-disable */
/**
 * workflow-service
 * Workflow processes runner
 *
 * The version of the OpenAPI document: 1.24.0 (1)
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import { Configuration } from './configuration';
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';

/**
 * 
 * @export
 * @interface ActivityLog
 */
export interface ActivityLog {
    /**
     * 
     * @type {string}
     * @memberof ActivityLog
     */
    activityId?: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof ActivityLog
     */
    variables?: { [key: string]: object; };
    /**
     * 
     * @type {Array<ErrorLog>}
     * @memberof ActivityLog
     */
    errors?: Array<ErrorLog>;
}
/**
 * 
 * @export
 * @interface CyclicBarrier
 */
export interface CyclicBarrier {
    /**
     * 
     * @type {number}
     * @memberof CyclicBarrier
     */
    parties?: number;
    /**
     * 
     * @type {boolean}
     * @memberof CyclicBarrier
     */
    broken?: boolean;
    /**
     * 
     * @type {number}
     * @memberof CyclicBarrier
     */
    numberWaiting?: number;
}
/**
 * 
 * @export
 * @interface DateAllOf
 */
export interface DateAllOf {
    /**
     * 
     * @type {number}
     * @memberof DateAllOf
     * @deprecated
     */
    hours?: number;
    /**
     * 
     * @type {number}
     * @memberof DateAllOf
     * @deprecated
     */
    minutes?: number;
    /**
     * 
     * @type {number}
     * @memberof DateAllOf
     * @deprecated
     */
    seconds?: number;
}
/**
 * 
 * @export
 * @interface ErrorLog
 */
export interface ErrorLog {
    /**
     * 
     * @type {string}
     * @memberof ErrorLog
     */
    type?: string;
    /**
     * 
     * @type {string}
     * @memberof ErrorLog
     */
    message?: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof ErrorLog
     */
    additional?: { [key: string]: object; };
}
/**
 * 
 * @export
 * @interface ModelDate
 */
export interface ModelDate {
    /**
     * 
     * @type {number}
     * @memberof ModelDate
     * @deprecated
     */
    hours?: number;
    /**
     * 
     * @type {number}
     * @memberof ModelDate
     * @deprecated
     */
    minutes?: number;
    /**
     * 
     * @type {number}
     * @memberof ModelDate
     * @deprecated
     */
    seconds?: number;
}
/**
 * 
 * @export
 * @interface ProcessLog
 */
export interface ProcessLog {
    /**
     * 
     * @type {string}
     * @memberof ProcessLog
     */
    processId?: string;
    /**
     * 
     * @type {string}
     * @memberof ProcessLog
     */
    processKey?: string;
    /**
     * 
     * @type {boolean}
     * @memberof ProcessLog
     */
    finished?: boolean;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof ProcessLog
     */
    data?: { [key: string]: object; };
    /**
     * 
     * @type {Array<ActivityLog>}
     * @memberof ProcessLog
     */
    activities?: Array<ActivityLog>;
    /**
     * 
     * @type {Array<ErrorLog>}
     * @memberof ProcessLog
     */
    errors?: Array<ErrorLog>;
}
/**
 * 
 * @export
 * @interface ProcessLogs
 */
export interface ProcessLogs {
    /**
     * 
     * @type {string}
     * @memberof ProcessLogs
     */
    traceId?: string;
    /**
     * 
     * @type {string}
     * @memberof ProcessLogs
     */
    date?: string;
    /**
     * 
     * @type {boolean}
     * @memberof ProcessLogs
     */
    finished?: boolean;
    /**
     * 
     * @type {Array<ProcessLog>}
     * @memberof ProcessLogs
     */
    log?: Array<ProcessLog>;
}
/**
 * 
 * @export
 * @interface Response
 */
export interface Response {
    /**
     * 
     * @type {number}
     * @memberof Response
     */
    version?: number;
    /**
     * 
     * @type {number}
     * @memberof Response
     */
    type?: number;
    /**
     * 
     * @type {number}
     * @memberof Response
     */
    responseCode?: number;
    /**
     * 
     * @type {{ [key: string]: string; }}
     * @memberof Response
     */
    meta?: { [key: string]: string; };
    /**
     * 
     * @type {VPackSlice}
     * @memberof Response
     */
    body?: VPackSlice;
}
/**
 * 
 * @export
 * @interface TaskHistoryEntry
 */
export interface TaskHistoryEntry {
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    taskStart?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    taskEnd?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    assignee?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    taskDefKey?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    procDefKey?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    procDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    formKey?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskHistoryEntry
     */
    requiredRole?: string;
    /**
     * 
     * @type {UserTaskSubmitEntry}
     * @memberof TaskHistoryEntry
     */
    submitEntry?: UserTaskSubmitEntry;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof TaskHistoryEntry
     */
    extProps?: { [key: string]: object; };
}
/**
 * 
 * @export
 * @interface TaskProcess
 */
export interface TaskProcess {
    /**
     * 
     * @type {string}
     * @memberof TaskProcess
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskProcess
     */
    defKey?: string;
    /**
     * 
     * @type {string}
     * @memberof TaskProcess
     */
    traceId?: string;
    /**
     * 
     * @type {Array<string>}
     * @memberof TaskProcess
     */
    processTitles?: Array<string>;
}
/**
 * 
 * @export
 * @interface Timestamp
 */
export interface Timestamp {
    /**
     * 
     * @type {number}
     * @memberof Timestamp
     * @deprecated
     */
    hours?: number;
    /**
     * 
     * @type {number}
     * @memberof Timestamp
     * @deprecated
     */
    minutes?: number;
    /**
     * 
     * @type {number}
     * @memberof Timestamp
     * @deprecated
     */
    seconds?: number;
    /**
     * 
     * @type {number}
     * @memberof Timestamp
     */
    time?: number;
    /**
     * 
     * @type {number}
     * @memberof Timestamp
     */
    nanos?: number;
}
/**
 * 
 * @export
 * @interface TimestampAllOf
 */
export interface TimestampAllOf {
    /**
     * 
     * @type {number}
     * @memberof TimestampAllOf
     */
    time?: number;
    /**
     * 
     * @type {number}
     * @memberof TimestampAllOf
     */
    nanos?: number;
}
/**
 * 
 * @export
 * @interface UserFormField
 */
export interface UserFormField {
    /**
     * 
     * @type {string}
     * @memberof UserFormField
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof UserFormField
     */
    label?: string;
    /**
     * 
     * @type {string}
     * @memberof UserFormField
     */
    type?: string;
    /**
     * 
     * @type {string}
     * @memberof UserFormField
     */
    value?: string;
}
/**
 * 
 * @export
 * @interface UserTask
 */
export interface UserTask {
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    taskId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    defId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    procDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    formKey?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    dueDate?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTask
     */
    createDate?: string;
    /**
     * 
     * @type {number}
     * @memberof UserTask
     */
    priority?: number;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    outData?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    schema?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    schemaCode?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    schemaVer?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    stepNum?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    stepName?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTask
     */
    requiredRole?: object;
}
/**
 * 
 * @export
 * @interface UserTaskDefinition
 */
export interface UserTaskDefinition {
    /**
     * 
     * @type {string}
     * @memberof UserTaskDefinition
     */
    taskDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskDefinition
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskDefinition
     */
    formKey?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskDefinition
     */
    dueDate?: string;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    schema?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    schemaCode?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    schemaVer?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    data?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    outData?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    requiredRole?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    stepNum?: object;
    /**
     * 
     * @type {object}
     * @memberof UserTaskDefinition
     */
    stepName?: object;
    /**
     * 
     * @type {Array<UserTaskTransition>}
     * @memberof UserTaskDefinition
     */
    transitions?: Array<UserTaskTransition>;
}
/**
 * 
 * @export
 * @interface UserTaskDefinitionList
 */
export interface UserTaskDefinitionList {
    /**
     * 
     * @type {number}
     * @memberof UserTaskDefinitionList
     */
    count?: number;
    /**
     * 
     * @type {TaskProcess}
     * @memberof UserTaskDefinitionList
     */
    process?: TaskProcess;
    /**
     * 
     * @type {Array<UserTaskDefinition>}
     * @memberof UserTaskDefinitionList
     */
    tasksDefinitions?: Array<UserTaskDefinition>;
}
/**
 * 
 * @export
 * @interface UserTaskForm
 */
export interface UserTaskForm {
    /**
     * 
     * @type {string}
     * @memberof UserTaskForm
     */
    taskId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskForm
     */
    formKey?: string;
    /**
     * 
     * @type {Array<UserFormField>}
     * @memberof UserTaskForm
     */
    fieldList?: Array<UserFormField>;
}
/**
 * 
 * @export
 * @interface UserTaskFormList
 */
export interface UserTaskFormList {
    /**
     * 
     * @type {string}
     * @memberof UserTaskFormList
     */
    assignee?: string;
    /**
     * 
     * @type {Array<UserTaskForm>}
     * @memberof UserTaskFormList
     */
    userTaskForms?: Array<UserTaskForm>;
}
/**
 * 
 * @export
 * @interface UserTaskList
 */
export interface UserTaskList {
    /**
     * 
     * @type {string}
     * @memberof UserTaskList
     */
    assignee?: string;
    /**
     * 
     * @type {Array<UserTaskListItem>}
     * @memberof UserTaskList
     */
    tasks?: Array<UserTaskListItem>;
    /**
     * 
     * @type {number}
     * @memberof UserTaskList
     */
    totalCount?: number;
}
/**
 * 
 * @export
 * @interface UserTaskListItem
 */
export interface UserTaskListItem {
    /**
     * 
     * @type {UserTask}
     * @memberof UserTaskListItem
     */
    userTask?: UserTask;
    /**
     * 
     * @type {TaskProcess}
     * @memberof UserTaskListItem
     */
    process?: TaskProcess;
}
/**
 * 
 * @export
 * @interface UserTaskSubmitEntry
 */
export interface UserTaskSubmitEntry {
    /**
     * 
     * @type {string}
     * @memberof UserTaskSubmitEntry
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskSubmitEntry
     */
    taskDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskSubmitEntry
     */
    taskId?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskSubmitEntry
     */
    submitDate?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskSubmitEntry
     */
    data?: string;
}
/**
 * 
 * @export
 * @interface UserTaskTransition
 */
export interface UserTaskTransition {
    /**
     * 
     * @type {string}
     * @memberof UserTaskTransition
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof UserTaskTransition
     */
    name?: string;
}
/**
 * 
 * @export
 * @interface VPackSlice
 */
export interface VPackSlice {
    /**
     * 
     * @type {Array<string>}
     * @memberof VPackSlice
     */
    buffer?: Array<string>;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    start?: number;
    /**
     * 
     * @type {ValueType}
     * @memberof VPackSlice
     */
    type?: ValueType;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    none?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _null?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    illegal?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _boolean?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _true?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _false?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    array?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    object?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _double?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    date?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    external?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    minKey?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    maxKey?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    _int?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    UInt?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    smallInt?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    integer?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    number?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    string?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    binary?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    BCD?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    custom?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof VPackSlice
     */
    asBoolean?: boolean;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asDouble?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asBigDecimal?: number;
    /**
     * 
     * @type {object}
     * @memberof VPackSlice
     */
    asNumber?: object;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asLong?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asInt?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asFloat?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asShort?: number;
    /**
     * 
     * @type {string}
     * @memberof VPackSlice
     */
    asByte?: string;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    asBigInteger?: number;
    /**
     * 
     * @type {string}
     * @memberof VPackSlice
     */
    asDate?: string;
    /**
     * 
     * @type {ModelDate}
     * @memberof VPackSlice
     */
    asSQLDate?: ModelDate;
    /**
     * 
     * @type {Timestamp}
     * @memberof VPackSlice
     */
    asSQLTimestamp?: Timestamp;
    /**
     * 
     * @type {string}
     * @memberof VPackSlice
     */
    asString?: string;
    /**
     * 
     * @type {string}
     * @memberof VPackSlice
     */
    asChar?: string;
    /**
     * 
     * @type {Array<string>}
     * @memberof VPackSlice
     */
    asBinary?: Array<string>;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    binaryLength?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    length?: number;
    /**
     * 
     * @type {number}
     * @memberof VPackSlice
     */
    byteSize?: number;
}
/**
 * 
 * @export
 * @enum {string}
 */

export enum ValueType {
    None = 'NONE',
    Illegal = 'ILLEGAL',
    Null = 'NULL',
    Bool = 'BOOL',
    Array = 'ARRAY',
    Object = 'OBJECT',
    Double = 'DOUBLE',
    UtcDate = 'UTC_DATE',
    External = 'EXTERNAL',
    MinKey = 'MIN_KEY',
    MaxKey = 'MAX_KEY',
    Int = 'INT',
    Uint = 'UINT',
    Smallint = 'SMALLINT',
    String = 'STRING',
    Binary = 'BINARY',
    Bcd = 'BCD',
    Custom = 'CUSTOM',
    Vpack = 'VPACK'
}

/**
 * Запрос на очистку холдеров контроля
 * @export
 * @interface WFControlledHolderClearRequest
 */
export interface WFControlledHolderClearRequest {
    /**
     * 
     * @type {boolean}
     * @memberof WFControlledHolderClearRequest
     */
    clearControlledStart?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFControlledHolderClearRequest
     */
    clearControlledCorrelations?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFControlledHolderClearRequest
     */
    sendAllPods?: boolean;
}
/**
 * 
 * @export
 * @enum {string}
 */

export enum WFDebugStage {
    RestTaskPreSend = 'RestTaskPreSend',
    KafkaTaskPreSend = 'KafkaTaskPreSend',
    UserTaskPreSubmit = 'UserTaskPreSubmit'
}

/**
 * Параметры для включения вывода в скриптах груви
 * @export
 * @interface WFGroovyOutputParams
 */
export interface WFGroovyOutputParams {
    /**
     * Включить / выключить вывод на консоль в груви
     * @type {boolean}
     * @memberof WFGroovyOutputParams
     */
    enableOutput?: boolean;
    /**
     * число минут до переключения в режим вывода по умолчанию
     * @type {number}
     * @memberof WFGroovyOutputParams
     */
    duration?: number;
}
/**
 * Информация о инциденте
 * @export
 * @interface WFIncidentInfo
 */
export interface WFIncidentInfo {
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    executionId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    message?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    stackTrace?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    date?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    type?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    jobDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    procDefId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    activityId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFIncidentInfo
     */
    activityName?: string;
    /**
     * 
     * @type {boolean}
     * @memberof WFIncidentInfo
     */
    rootIncident?: boolean;
}
/**
 * Запрос на удаление инстанса процесса
 * @export
 * @interface WFKillProcessInstanceRequest
 */
export interface WFKillProcessInstanceRequest {
    /**
     * Список идентификаторов инстансов процессов, их traceId, или идентификаторов текущего юзер таска
     * @type {Array<string>}
     * @memberof WFKillProcessInstanceRequest
     */
    ids?: Array<string>;
    /**
     * Признак удаление под процессов
     * @type {boolean}
     * @memberof WFKillProcessInstanceRequest
     */
    skipSubProcesses?: boolean;
}
/**
 * Словарь перевода БП
 * @export
 * @interface WFLocalDict
 */
export interface WFLocalDict {
    /**
     * 
     * @type {string}
     * @memberof WFLocalDict
     */
    locale?: string;
    /**
     * 
     * @type {string}
     * @memberof WFLocalDict
     */
    scope?: string;
    /**
     * 
     * @type {string}
     * @memberof WFLocalDict
     */
    schema?: string;
    /**
     * 
     * @type {{ [key: string]: string; }}
     * @memberof WFLocalDict
     */
    dict?: { [key: string]: string; };
}
/**
 * Информация о процессах
 * @export
 * @interface WFProcessInfo
 */
export interface WFProcessInfo {
    /**
     * 
     * @type {boolean}
     * @memberof WFProcessInfo
     */
    isExists?: boolean;
    /**
     * 
     * @type {Array<WFProcessInstanceInfo>}
     * @memberof WFProcessInfo
     */
    processes?: Array<WFProcessInstanceInfo>;
}
/**
 * Информация о ют процесса
 * @export
 * @interface WFProcessInfoUserTask
 */
export interface WFProcessInfoUserTask {
    /**
     * 
     * @type {string}
     * @memberof WFProcessInfoUserTask
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInfoUserTask
     */
    name?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInfoUserTask
     */
    assignee?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInfoUserTask
     */
    title?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInfoUserTask
     */
    date?: string;
}
/**
 * Информация о инстансе процесса
 * @export
 * @interface WFProcessInstanceInfo
 */
export interface WFProcessInstanceInfo {
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    definitionKey?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    definitionName?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    definitionId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    traceId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFProcessInstanceInfo
     */
    rootProcess?: string;
    /**
     * 
     * @type {Array<WFProcessInfoUserTask>}
     * @memberof WFProcessInstanceInfo
     */
    userTaskList?: Array<WFProcessInfoUserTask>;
    /**
     * 
     * @type {Array<WFIncidentInfo>}
     * @memberof WFProcessInstanceInfo
     */
    incidents?: Array<WFIncidentInfo>;
}
/**
 * Агрегат данных по сервису, использованному в бп
 * @export
 * @interface WFRestEndpointDescAggregate
 */
export interface WFRestEndpointDescAggregate {
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescAggregate
     */
    name?: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof WFRestEndpointDescAggregate
     */
    info?: { [key: string]: object; };
}
/**
 * проекция эндпоинта из схемы
 * @export
 * @interface WFRestEndpointDescription
 */
export interface WFRestEndpointDescription {
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    url?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    path?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    method?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    restTaskName?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    restTaskId?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    schemaKey?: string;
    /**
     * 
     * @type {string}
     * @memberof WFRestEndpointDescription
     */
    schemaName?: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof WFRestEndpointDescription
     */
    serviceInfo?: { [key: string]: object; };
}
/**
 * проекция эндпоинтов из схем
 * @export
 * @interface WFRestEndpointDescriptionList
 */
export interface WFRestEndpointDescriptionList {
    /**
     * 
     * @type {number}
     * @memberof WFRestEndpointDescriptionList
     */
    count?: number;
    /**
     * 
     * @type {Array<WFRestEndpointDescription>}
     * @memberof WFRestEndpointDescriptionList
     */
    restTaskUseCases?: Array<WFRestEndpointDescription>;
    /**
     * 
     * @type {Array<WFRestEndpointDescAggregate>}
     * @memberof WFRestEndpointDescriptionList
     */
    services?: Array<WFRestEndpointDescAggregate>;
}
/**
 * 
 * @export
 * @interface WFResumeHold
 */
export interface WFResumeHold {
    /**
     * 
     * @type {string}
     * @memberof WFResumeHold
     */
    traceId?: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof WFResumeHold
     */
    data?: { [key: string]: object; };
    /**
     * 
     * @type {CyclicBarrier}
     * @memberof WFResumeHold
     */
    cyclicBarrier?: CyclicBarrier;
    /**
     * 
     * @type {boolean}
     * @memberof WFResumeHold
     */
    resumed?: boolean;
    /**
     * 
     * @type {string}
     * @memberof WFResumeHold
     */
    date?: string;
    /**
     * 
     * @type {string}
     * @memberof WFResumeHold
     */
    task?: string;
    /**
     * 
     * @type {WFDebugStage}
     * @memberof WFResumeHold
     */
    wfDebugStage?: WFDebugStage;
}
/**
 * проекция схемы процесса
 * @export
 * @interface WFSchema
 */
export interface WFSchema {
    /**
     * 
     * @type {string}
     * @memberof WFSchema
     */
    key?: string;
    /**
     * 
     * @type {string}
     * @memberof WFSchema
     */
    name?: string;
    /**
     * 
     * @type {number}
     * @memberof WFSchema
     */
    version?: number;
    /**
     * 
     * @type {string}
     * @memberof WFSchema
     */
    date?: string;
}
/**
 * Список кодов доступных схем
 * @export
 * @interface WFSchemaList
 */
export interface WFSchemaList {
    /**
     * 
     * @type {Array<WFSchema>}
     * @memberof WFSchemaList
     */
    schemas?: Array<WFSchema>;
    /**
     * 
     * @type {number}
     * @memberof WFSchemaList
     */
    count?: number;
}
/**
 * runtime config
 * @export
 * @interface WFSetRuntimeConfig
 */
export interface WFSetRuntimeConfig {
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isCorrelationRunning?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isStartingControlledRunning?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isStartingDirtRunning?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isAutoDeleteCorrelationFromMap?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isUseExclusiveCorrelation?: boolean;
    /**
     * 
     * @type {boolean}
     * @memberof WFSetRuntimeConfig
     */
    isScheduledProcessHolderCleaningTurnedOn?: boolean;
    /**
     * 
     * @type {number}
     * @memberof WFSetRuntimeConfig
     */
    correlationBatch?: number;
    /**
     * 
     * @type {number}
     * @memberof WFSetRuntimeConfig
     */
    startQueueBatch?: number;
}
/**
 * Ответ на старт процесса
 * @export
 * @interface WFStartResult
 */
export interface WFStartResult {
    /**
     * Код овтета
     * @type {string}
     * @memberof WFStartResult
     */
    code?: string;
    /**
     * Сообщение с результатом
     * @type {string}
     * @memberof WFStartResult
     */
    msg?: string;
    /**
     * Актуальный номер ют
     * @type {string}
     * @memberof WFStartResult
     */
    actualUserTaskId?: string;
    /**
     * 
     * @type {object}
     * @memberof WFStartResult
     */
    syncResult?: object;
    /**
     * Trace Id процесса
     * @type {string}
     * @memberof WFStartResult
     */
    traceId?: string;
}
/**
 * Ответ на сабмит таска
 * @export
 * @interface WFSubmitResult
 */
export interface WFSubmitResult {
    /**
     * Признак завершения процесса
     * @type {boolean}
     * @memberof WFSubmitResult
     */
    processFinished?: boolean;
    /**
     * Код овтета
     * @type {string}
     * @memberof WFSubmitResult
     */
    code?: string;
    /**
     * Сообщение с результатом
     * @type {string}
     * @memberof WFSubmitResult
     */
    msg?: string;
    /**
     * Актуальный номер ют
     * @type {string}
     * @memberof WFSubmitResult
     */
    actualUserTaskId?: string;
    /**
     * 
     * @type {WFValidationResult}
     * @memberof WFSubmitResult
     */
    wfValidationResult?: WFValidationResult;
}
/**
 * Ошибка валидации
 * @export
 * @interface WFValidationError
 */
export interface WFValidationError {
    /**
     * Имя поля с ошибкой
     * @type {string}
     * @memberof WFValidationError
     */
    name?: string;
    /**
     * Список ошибок
     * @type {Array<string>}
     * @memberof WFValidationError
     */
    errors?: Array<string>;
}
/**
 * Результат валидации
 * @export
 * @interface WFValidationResult
 */
export interface WFValidationResult {
    /**
     * Признак наличия ошибок
     * @type {boolean}
     * @memberof WFValidationResult
     */
    success?: boolean;
    /**
     * Список ошибок по полям
     * @type {Array<WFValidationError>}
     * @memberof WFValidationResult
     */
    errors?: Array<WFValidationError>;
    /**
     * Список общих ошибок
     * @type {Array<string>}
     * @memberof WFValidationResult
     */
    generalErrors?: Array<string>;
}

/**
 * 
 * @export
 * @interface ProcessedScript
 */
 export interface ProcessedScript {
  /**
   * 
   * @type {string}
   * @memberof ProcessedScript
   */
  processId?: string;
  /**
   * 
   * @type {string}
   * @memberof ProcessedScript
   */
  processKey?: string;
  /**
   * 
   * @type {string}
   * @memberof ProcessedScript
   */
  activityId?: string;
  /**
   * 
   * @type {string}
   * @memberof ProcessedScript
   */
  paramName?: string;
  /**
   * 
   * @type {object}
   * @memberof ProcessedScript
   */
  result?: object;
  /**
   * 
   * @type {string}
   * @memberof ProcessedScript
   */
  script?: string;
}
/**
* 
* @export
* @interface ProcessedScripts
*/
export interface ProcessedScripts {
  /**
   * 
   * @type {string}
   * @memberof ProcessedScripts
   */
  traceId?: string;
  /**
   * 
   * @type {string}
   * @memberof ProcessedScripts
   */
  date?: string;
  /**
   * 
   * @type {Array<ProcessedScript>}
   * @memberof ProcessedScripts
   */
  scripts?: Array<ProcessedScript>;
}

/**
 * DefaultApi - axios parameter creator
 * @export
 */
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
    return {
        /**
         * 
         * @summary Принимает данные для запуска процесса датаПрепаре камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        dataPrepareStart: async (options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/dataprepare`;
            // 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: 'POST', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        greetingJson: async (options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/petition-import`;
            // 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: 'POST', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            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.
         * @throws {RequiredError}
         */
        loadschema: async (options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/loadschema`;
            // 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: 'POST', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса межведов камунды
         * @param {string} processTraceId ID услуги, для которой запускается процесс межведов
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        prepareMzProcess: async (processTraceId: string, options: any = {}): Promise<RequestArgs> => {
            // verify required parameter 'processTraceId' is not null or undefined
            assertParamExists('prepareMzProcess', 'processTraceId', processTraceId)
            const localVarPath = `/mz`;
            // 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;

            if (processTraceId !== undefined) {
                localVarQueryParameter['processTraceId'] = processTraceId;
            }


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Получение логов процесса
         * @param {string} id traceId процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processLogs: async (id: string, options: any = {}): Promise<RequestArgs> => {
            // verify required parameter 'id' is not null or undefined
            assertParamExists('processLogs', 'id', id)
            const localVarPath = `/process/log/{id}`
                .replace(`{${"id"}}`, encodeURIComponent(String(id)));
            // 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, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Получение логов по статусу процесса
         * @param {string} id traceId процесса
         * @param {boolean} isFull Короткий или полный лог процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processLogs2: async (id: string, isFull: boolean, options: any = {}): Promise<RequestArgs> => {
            // verify required parameter 'id' is not null or undefined
            assertParamExists('processLogs2', 'id', id)
            // verify required parameter 'isFull' is not null or undefined
            assertParamExists('processLogs2', 'isFull', isFull)
            const localVarPath = `/process/log/{id}/status/{isFull}`
                .replace(`{${"id"}}`, encodeURIComponent(String(id)))
                .replace(`{${"isFull"}}`, encodeURIComponent(String(isFull)));
            // 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, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Получение обработанных скриптов по traceId
         * @param {string} traceId traceId процесса
         * @param {string} [processKeys] Ключи (название) процессов
         * @param {string} [activityIds] Идентификаторы активити
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processedScripts: async (traceId: string, processKeys?: string, activityIds?: string, options: any = {}): Promise<RequestArgs> => {
          // verify required parameter 'traceId' is not null or undefined
          assertParamExists('processedScripts', 'traceId', traceId)
          const localVarPath = `/process/script/{traceId}`
              .replace(`{${"traceId"}}`, encodeURIComponent(String(traceId)));
          // 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;

          if (processKeys !== undefined) {
              localVarQueryParameter['processKeys'] = processKeys;
          }

          if (activityIds !== undefined) {
              localVarQueryParameter['activityIds'] = activityIds;
          }



          setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
          let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
          localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

          return {
              url: toPathString(localVarUrlObj),
              options: localVarRequestOptions,
          };
        },
    }
};

/**
 * DefaultApi - functional programming interface
 * @export
 */
export const DefaultApiFp = function(configuration?: Configuration) {
    const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
    return {
        /**
         * 
         * @summary Принимает данные для запуска процесса датаПрепаре камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async dataPrepareStart(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.dataPrepareStart(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async greetingJson(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.greetingJson(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async loadschema(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.loadschema(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса межведов камунды
         * @param {string} processTraceId ID услуги, для которой запускается процесс межведов
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async prepareMzProcess(processTraceId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.prepareMzProcess(processTraceId, options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Получение логов процесса
         * @param {string} id traceId процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async processLogs(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProcessLogs>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.processLogs(id, options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Получение логов по статусу процесса
         * @param {string} id traceId процесса
         * @param {boolean} isFull Короткий или полный лог процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async processLogs2(id: string, isFull: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProcessLogs>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.processLogs2(id, isFull, options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Получение обработанных скриптов по traceId
         * @param {string} traceId traceId процесса
         * @param {string} [processKeys] Ключи (название) процессов
         * @param {string} [activityIds] Идентификаторы активити
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async processedScripts(traceId: string, processKeys?: string, activityIds?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProcessedScripts>> {
          const localVarAxiosArgs = await localVarAxiosParamCreator.processedScripts(traceId, processKeys, activityIds, options);
          return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
    }
};

/**
 * DefaultApi - factory interface
 * @export
 */
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
    const localVarFp = DefaultApiFp(configuration)
    return {
        /**
         * 
         * @summary Принимает данные для запуска процесса датаПрепаре камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        dataPrepareStart(options?: any): AxiosPromise<Response> {
            return localVarFp.dataPrepareStart(options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса камунды
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        greetingJson(options?: any): AxiosPromise<Response> {
            return localVarFp.greetingJson(options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        loadschema(options?: any): AxiosPromise<string> {
            return localVarFp.loadschema(options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Принимает данные для запуска процесса межведов камунды
         * @param {string} processTraceId ID услуги, для которой запускается процесс межведов
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        prepareMzProcess(processTraceId: string, options?: any): AxiosPromise<Response> {
            return localVarFp.prepareMzProcess(processTraceId, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Получение логов процесса
         * @param {string} id traceId процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processLogs(id: string, options?: any): AxiosPromise<ProcessLogs> {
            return localVarFp.processLogs(id, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Получение логов по статусу процесса
         * @param {string} id traceId процесса
         * @param {boolean} isFull Короткий или полный лог процесса
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processLogs2(id: string, isFull: boolean, options?: any): AxiosPromise<ProcessLogs> {
            return localVarFp.processLogs2(id, isFull, options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Получение обработанных скриптов по traceId
         * @param {string} traceId traceId процесса
         * @param {string} [processKeys] Ключи (название) процессов
         * @param {string} [activityIds] Идентификаторы активити
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        processedScripts(traceId: string, processKeys?: string, activityIds?: string, options?: any): AxiosPromise<ProcessedScripts> {
          return localVarFp.processedScripts(traceId, processKeys, activityIds, options).then((request) => request(axios, basePath));
        },
    };
};

/**
 * DefaultApi - object-oriented interface
 * @export
 * @class DefaultApi
 * @extends {BaseAPI}
 */
export class DefaultApi extends BaseAPI {
    /**
     * 
     * @summary Принимает данные для запуска процесса датаПрепаре камунды
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public dataPrepareStart(options?: any) {
        return DefaultApiFp(this.configuration).dataPrepareStart(options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Принимает данные для запуска процесса камунды
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public greetingJson(options?: any) {
        return DefaultApiFp(this.configuration).greetingJson(options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public loadschema(options?: any) {
        return DefaultApiFp(this.configuration).loadschema(options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Принимает данные для запуска процесса межведов камунды
     * @param {string} processTraceId ID услуги, для которой запускается процесс межведов
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public prepareMzProcess(processTraceId: string, options?: any) {
        return DefaultApiFp(this.configuration).prepareMzProcess(processTraceId, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Получение логов процесса
     * @param {string} id traceId процесса
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public processLogs(id: string, options?: any) {
        return DefaultApiFp(this.configuration).processLogs(id, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Получение логов по статусу процесса
     * @param {string} id traceId процесса
     * @param {boolean} isFull Короткий или полный лог процесса
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public processLogs2(id: string, isFull: boolean, options?: any) {
        return DefaultApiFp(this.configuration).processLogs2(id, isFull, options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Получение обработанных скриптов по traceId
     * @param {string} traceId traceId процесса
     * @param {string} [processKeys] Ключи (название) процессов
     * @param {string} [activityIds] Идентификаторы активити
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DefaultApi
     */
    public processedScripts(traceId: string, processKeys?: string, activityIds?: string, options?: any) {
      return DefaultApiFp(this.configuration).processedScripts(traceId, processKeys, activityIds, options).then((request) => request(this.axios, this.basePath));
    }
}


