import "../ApiClient-fBZ10h6n.mjs"; import "../WorkerGroupFallback-B6jAaIQG.mjs"; import { t as WorkerGroup_default } from "../WorkerGroup-COoO34xB.mjs"; import "../ConcurrencyBehavior-DPce0aVe.mjs"; import { t as Concurrency_default } from "../Concurrency-DZBgP_AA.mjs"; //#region src/model/FlowWithSource.d.ts type IFlowWithSource = { id: string; namespace: string; revision: number; /** * - The timestamp when this revision was created or last updated. */ updated: Date; description: string; /** * :model/InputObject>} inputs */ "": Array; disabled: boolean; variables: any; workerGroup: WorkerGroup_default; deleted: boolean; concurrency: Concurrency_default; /** * - Retry policy applied when the flow fails. */ retry: any; source: string; }; /** * @typedef {Object} IFlowWithSource * @property {String} id * @property {String} namespace * @property {Number} revision * @property {Date} updated - The timestamp when this revision was created or last updated. * @property {String} description * @property {Array.} inputs * @property {Array.} outputs - Output values make information about the execution of your Flow available and expose for other Kestra flows to use. Output values are similar to return values in programming languages. * @property {Boolean} disabled * @property {Array.} labels * @property {Object} variables * @property {WorkerGroup} workerGroup * @property {Boolean} deleted * @property {Array.} finally * @property {Array.} tasks * @property {Array.} errors * @property {Array.} afterExecution * @property {Array.} triggers * @property {Array.} pluginDefaults * @property {Concurrency} concurrency * @property {Object} retry - Retry policy applied when the flow fails. * @property {Array.} sla * @property {Array.} checks - A list of conditions that are evaluated before the flow is executed. If no checks are defined, the flow executes normally. * @property {String} source */ /** * The FlowWithSource model module. * @module model/FlowWithSource * @type {IFlowWithSource} */ declare class FlowWithSource { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any, id: any, namespace: any, disabled: any, deleted: any, tasks: any): void; /** * Constructs a FlowWithSource from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/FlowWithSource} obj Optional instance to populate. * @return {module:model/FlowWithSource} The populated FlowWithSource instance. */ static constructFromObject(data: any, obj: any): any; /** * Validates the JSON data with respect to FlowWithSource. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to FlowWithSource. */ static validateJSON(data: any): boolean; /** * Constructs a new FlowWithSource. * @alias module:model/FlowWithSource * @implements module:model/Flow * @implements module:model/AbstractFlow * @param {String} id - * @param {String} namespace - * @param {Boolean} disabled - * @param {Boolean} deleted - * @param {Array.} tasks - */ constructor(id: string, namespace: string, disabled: boolean, deleted: boolean, tasks: any); id: string; namespace: string; revision: number; updated: Date; description: string; inputs: any; outputs: any; disabled: boolean; labels: any; variables: any; workerGroup: WorkerGroup_default; deleted: boolean; finally: any; tasks: any; errors: any; afterExecution: any; triggers: any; pluginDefaults: any; concurrency: Concurrency_default; retry: any; sla: any; checks: any; source: string; } declare namespace FlowWithSource { let RequiredProperties: string[]; } //#endregion export { IFlowWithSource, FlowWithSource as default };