@dcupl/cli 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/cli.d.ts +4 -1
  2. package/dist/cli.js +78 -46
  3. package/dist/cli.js.map +1 -1
  4. package/dist/functions/app/commands/fn/_fn-helpers.d.ts +3 -0
  5. package/dist/functions/app/commands/fn/_fn-helpers.js +24 -13
  6. package/dist/functions/app/commands/fn/_fn-helpers.js.map +1 -1
  7. package/dist/functions/app/commands/fn/aggregate.js +4 -0
  8. package/dist/functions/app/commands/fn/aggregate.js.map +1 -1
  9. package/dist/functions/app/commands/fn/facets.js +2 -0
  10. package/dist/functions/app/commands/fn/facets.js.map +1 -1
  11. package/dist/functions/app/commands/fn/group-by.js +5 -0
  12. package/dist/functions/app/commands/fn/group-by.js.map +1 -1
  13. package/dist/functions/app/daemon/controllers/models.controller.js +1 -1
  14. package/dist/functions/app/daemon/controllers/models.controller.js.map +1 -1
  15. package/dist/functions/app/daemon/services/dcupl-host.service.d.ts +2 -1
  16. package/dist/functions/app/daemon/services/dcupl-host.service.js +15 -7
  17. package/dist/functions/app/daemon/services/dcupl-host.service.js.map +1 -1
  18. package/dist/functions/app/daemon/services/normalize-query.js +56 -1
  19. package/dist/functions/app/daemon/services/normalize-query.js.map +1 -1
  20. package/dist/functions/helper/help-wrap.d.ts +15 -0
  21. package/dist/functions/helper/help-wrap.js +179 -0
  22. package/dist/functions/helper/help-wrap.js.map +1 -0
  23. package/dist/functions/helper/parse-fail.d.ts +7 -0
  24. package/dist/functions/helper/parse-fail.js +106 -2
  25. package/dist/functions/helper/parse-fail.js.map +1 -1
  26. package/dist/functions/schemas/bundle.d.ts +32 -0
  27. package/dist/functions/schemas/bundle.js +72 -0
  28. package/dist/functions/schemas/bundle.js.map +1 -0
  29. package/dist/functions/schemas/command.d.ts +2 -2
  30. package/dist/functions/schemas/command.js +6 -6
  31. package/dist/functions/schemas/command.js.map +1 -1
  32. package/dist/functions/schemas/extract.d.ts +3 -1
  33. package/dist/functions/schemas/extract.js +60 -36
  34. package/dist/functions/schemas/extract.js.map +1 -1
  35. package/dist/functions/schemas/resolve.d.ts +4 -0
  36. package/dist/functions/schemas/resolve.js +31 -11
  37. package/dist/functions/schemas/resolve.js.map +1 -1
  38. package/dist/functions/schemas/schemas.bundle.json +1 -0
  39. package/package.json +8 -7
@@ -0,0 +1 @@
1
+ {"entries":{"ModelDefinition":{"package":"@dcupl/common","version":"2.2.3","source":"/**\n * A model describes a real world object and hols attributes.\n *\n * @defaultSnippets {\"label\":\"Model Definition\", \"properties\":[\"key:string:myModel\", \"properties:json:[{\\\"key\\\":\\\"my_property\\\", \\\"type\\\": \\\"string\\\"}]\", \"references:array\"]}\n */\nexport type ModelDefinition<ModelNames extends string = string> = {\n /**\n * The key is an unique identifier overall models in the application.\n *\n * @minLength 1\n */\n key: ModelNames;\n properties?: Property[];\n references?: Reference[];\n data?: RawItem[];\n /**\n * Property name(s) on each row that uniquely identify it.\n * See `KeyPropertySpec` for composite-key behavior.\n */\n keyProperty?: KeyPropertySpec;\n /**\n * Separator joining composite `keyProperty` parts. Default `'::'`.\n */\n keyPropertySeparator?: string;\n autoGenerateKey?: boolean;\n autoGenerateProperties?: AutoGeneratePropertiesOption;\n supportsAutoCreation?: boolean;\n valueMappings?: ValueMappingConfig[];\n meta?: ModelMetadata;\n quality?: ModelQualityConfig;\n};\n\nexport type Property = PropertyString | PropertyStringArray | PropertyInt | PropertyIntArray | PropertyFloat | PropertyFloatArray | PropertyDate | PropertyDateArray | PropertyJson | PropertyBoolean | PropertyAny;\n\nexport type Reference = ResolvedReference | DerivedReference | GroupedRefeference | ReferenceBase | QueryReference;\n\n/**\n * Configures how property auto-generation inspects input data.\n *\n * - `true` / `false`: enable/disable auto-generation. When enabled with `true`,\n * the first row of input data names the properties and their types (fast, default\n * behavior). A property it types as a number is then checked against every row:\n * a decimal in a later row makes an `int` a `float`, and a digit string that a\n * number cannot hold (see below) makes the property a `string`.\n * - Object form lets you scan more rows:\n * - `deep: true` walks every row and reconciles types across them.\n * - `sampleSize: N` walks at most N rows (implies deep). Useful for large datasets\n * where row 1 alone may not represent the schema.\n * - `deep: false` reads the first row and nothing else: a later row that does not\n * fit the type of the first row is coerced to it.\n *\n * When more than one row is scanned, empty values (`null`, `undefined`, `''`)\n * are ignored during inference so a single blank cell does not poison a column's type.\n *\n * String values `'true'`/`'false'` infer as `boolean` in any case (`TRUE`, `False`);\n * `'1'`/`'0'` infer as `int`. A digit string infers as a number only when the number\n * keeps every character of it: zero-padded values (`'007'`, ZIP codes) and integers\n * beyond `Number.MAX_SAFE_INTEGER` infer as `string`, and so does a column that mixes\n * them with numbers (`'12345'`, `'06112'`). Declare the property as `int` to read\n * `'007'` as 7.\n *\n * Inference runs on `init()` and on every `update()` — partial or full — over the\n * model's merged data, so an attribute the scanned rows carry gets a property even\n * when it first appears in data added after `init()`. Once generated, the property\n * holds the value of every row that carries the attribute, rows the update did not\n * touch included — as on `init()`. Properties are only ever added, never removed\n * or retyped.\n */\nexport type AutoGeneratePropertiesOption = boolean | {\n deep?: boolean;\n sampleSize?: number;\n};\n\nexport type ValueMappingConfig = {\n attributes: string[];\n values: ValueMappingValues[];\n};\n\nexport type ModelMetadata = {\n name: string;\n description?: string;\n [key: string]: any;\n};\n\nexport type ModelQualityConfig = {\n /**\n * Master switch for quality checks on this model. Default: true.\n * Checks only run when error tracking is also enabled globally\n * (two-tier enablement).\n */\n enabled?: boolean;\n /**\n * Model-wide defaults for the attribute quality FLAGS\n * (required / nullable / forceStrictDataType / validatorHandling),\n * merged under each attribute's own `quality`.\n * Concrete `validators` are per-attribute only and cannot be set here.\n */\n attributes?: Omit<AttributeQualityConfig, 'validators'>;\n};\n\n/**\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:string\"] }\n */\nexport type PropertyString = PropertyBase & {\n type: 'string';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n};\n\n/**\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:string\"] }\n */\nexport type PropertyStringArray = PropertyBase & {\n type: 'Array<string>';\n separator?: string;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n aggregate?: boolean | AggregationOptionsModel;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Int Property\", \"properties\": [\"key\", \"type:int\"] }\n */\nexport type PropertyInt = PropertyBase & {\n type: 'int';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Int Array Property\", \"properties\": [\"key\", \"type:Array<int>\"] }\n */\nexport type PropertyIntArray = PropertyBase & {\n type: 'Array<int>';\n separator?: string;\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Float Property\", \"properties\": [\"key\", \"type:float\"] }\n */\nexport type PropertyFloat = PropertyBase & {\n type: 'float';\n aggregate?: boolean | AggregationOptionsModel;\n fractionDigits?: number;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Float Property\", \"properties\": [\"key\", \"type:float\"] }\n */\nexport type PropertyFloatArray = PropertyBase & {\n type: 'Array<float>';\n separator?: string;\n aggregate?: boolean | AggregationOptionsModel;\n fractionDigits?: number;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Date Property\", \"properties\": [\"key\", \"type:date\"] }\n */\nexport type PropertyDate = PropertyBase & {\n type: 'date';\n inputFormat?: PropertyDateInputFormat;\n UTC?: boolean;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Date Property\", \"properties\": [\"key\", \"type:date\"] }\n */\nexport type PropertyDateArray = PropertyBase & {\n type: 'Array<date>';\n separator?: string;\n inputFormat?: PropertyDateInputFormat;\n UTC?: boolean;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Json Property\", \"properties\": [\"key\", \"type:string:json\"] }\n */\nexport type PropertyJson = PropertyBase & {\n type: 'json' | 'Array<json>';\n filter?: boolean;\n};\n\n/**\n * A boolean property. Raw values are read as follows: a boolean is kept; the strings 'true'/'1' and\n * 'false'/'0' (case-insensitive, also in CSV) and the numbers 1 and 0 become `true` and `false`; any\n * other value (another string or number, an object, an array) is a WrongDataType and the value stays\n * undefined. With `quality.forceStrictDataType` only real booleans are accepted.\n *\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:boolean\"] }\n */\nexport type PropertyBoolean = PropertyBase & {\n type: 'boolean';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Any Property\", \"properties\": [\"key\", \"type:any\"] }\n */\nexport type PropertyAny = PropertyBase & {\n type: 'any' | 'Array<any>';\n};\n\n/**\n * Resolves a Reference from a foreign model\n *\n * @defaultSnippets { \"label\": \"Resolved Reference\", \"properties\": [\"key\", \"type:multiValued\", \"model\", \"resolve:json:{\\\"reference\\\":\\\"\\\", \\\"model\\\":\\\"\\\" }\"] }\n */\nexport type ResolvedReference = ReferenceBase & {\n /**\n * Resolve a Relationship to an foreign model\n *\n * @defaultSnippets {\"label\":\"Resolve Relationship\", \"properties\":[\"reference\",\"model\"]}\n */\n resolve: {\n /**\n * The reference on the foreign object which should be used for resolve the relation.\n *\n * @minLength 1\n * @important\n */\n reference: string;\n /**\n * The model of the foreign object reference.\n *\n * @minLength 1\n * @important\n */\n model: string;\n };\n};\n\n/**\n * Derives a References for a specific value from an other model\n *\n * @defaultSnippets { \"label\": \"Derived Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\", \"derive:json:{\\\"localReference\\\":\\\"\\\", \\\"remoteReference\\\":\\\"\\\"}\"] }\n */\nexport type DerivedReference = ReferenceBase & {\n type: ReferenceType;\n /**\n * Derive a specific value from an other object/entity\n * @defaultSnippets {\"label\":\"Derive Values\", \"properties\": [\"localReference\",\"remoteReference\"]}\n */\n derive: {\n /**\n * The reference on the foreign object which should be used for resolve the relation.\n *\n * @minLength 1\n * @important\n */\n localReference: string;\n /**\n * The reference on the foreign object which should be derived.\n *\n * @minLength 1\n * @important\n */\n remoteReference: string;\n };\n};\n\n/**\n * Groups a Reference by a specific value from an other model\n *\n * @defaultSnippets { \"label\": \"Grouped Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\", \"groupBy:json:{\\\"reference\\\":\\\"\\\" }\", \"includeSelfInGroup:boolean\"] }\n */\nexport type GroupedRefeference = ReferenceBase & {\n type: ReferenceType;\n /**\n * Group by a specific reference\n * @defaultSnippets {\"label\":\"Grouped Values\", \"properties\": [\"reference\",\"includeSelfInGroup\"]}\n */\n groupBy: {\n /**\n * The reference that groups are generated from\n *\n * @minLength 1\n * @important\n */\n reference: string;\n includeSelfInGroup?: boolean;\n };\n};\n\n/**\n * A reference to items of another model. A raw value of `null` (also a CSV `null` cell) is kept as\n * `null` on the item and in the reference's index, as for a property, so `eq null` matches it and\n * `typeof 'undefined'` does not; an absent or empty value leaves the reference undefined. A null\n * reference reports `NullValue` unless `quality.nullable` is set, as a property does.\n *\n * @defaultSnippets { \"label\": \"Default Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\"] }\n */\nexport type ReferenceBase = {\n /**\n * A key is an unique identifier for all reference in this model.\n *\n * @minLength 1\n * @important\n */\n key: string;\n type: ReferenceType;\n /**\n * The Model this reference is pointing to.\n *\n * @minLength 1\n * @important\n */\n model: string;\n origin?: string;\n filter?: boolean | ReferenceFilterDefinition;\n aggregate?: boolean | AggregationOptionsModel;\n separator?: string;\n meta?: ModelMetadata;\n index?: boolean;\n validity?: ReferenceValidity;\n quality?: AttributeQualityConfig;\n};\n\n/**\n * Queries a Reference from a foreign model\n *\n * Query references are computed on full updates only. An `update()` that\n * changes the owner model, the queried model or a model the queried model\n * references therefore runs as a full update, even when the partial-update\n * thresholds would allow a partial one.\n *\n * @defaultSnippets { \"label\": \"Resolved Reference\", \"properties\": [\"key\", \"type:multiValued\", \"model\", \"resolve:json:{\\\"reference\\\":\\\"\\\", \\\"model\\\":\\\"\\\" }\"] }\n */\nexport type QueryReference = ReferenceBase & {\n /**\n * Resolve a Relationship to an foreign model\n *\n * @defaultSnippets {\"label\":\"Resolve Relationship\", \"properties\":[\"reference\",\"model\"]}\n */\n query: DcuplGlobalQueryOptions<any> | DcuplQuery | DcuplQueryGroup | DcuplQuery[] | DcuplQueryGroup[];\n};\n\nexport type ValueMappingValues = {\n from: ValueMappingValue[];\n to: any;\n};\n\n/**\n * Quality rules for a single property or reference.\n *\n * Defaults: required: true, nullable: false, forceStrictDataType: false,\n * validatorHandling: 'loose'.\n *\n * validatorHandling decides what happens when a validator fails:\n * 'loose' (default) reports an InvalidValidator error and keeps the value;\n * 'strict' reports AND drops the value from the loaded data.\n * forceStrictDataType: true disables type coercion — wrong-typed raw\n * values are reported as WrongDataType and dropped.\n */\nexport type AttributeQualityConfig = {\n required?: boolean;\n nullable?: boolean;\n forceStrictDataType?: boolean;\n validators?: AttributeValidatorConfig;\n validatorHandling?: ValidatorErrorType;\n};\n\n/**\n * A property is a quality or characteristic belonging an object.\n * @defaultSnippets {\"label\":\"Property\", \"properties\":[\"key\",\"type\"]}\n *\n */\nexport type PropertyBase = {\n /**\n * A key is an unique identifier overall properties in this model.\n *\n * @minLength 1\n * @important\n */\n key: string;\n type: PropertyType;\n expression?: string;\n derive?: {\n localReference: string;\n remoteProperty: string;\n separator?: string;\n };\n origin?: string;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n aggregate?: boolean | AggregationOptionsModel;\n meta?: ModelMetadata;\n index?: boolean;\n quality?: AttributeQualityConfig;\n};\n\ntype AggregationOptionsModel = Omit<AggregationOptions, 'attribute'>;\n\nexport type FilterStringSingle = {\n comparisonType?: FilterComparisonType;\n};\n\nexport type FilterStringArray = {\n key: string;\n comparisonType: FilterComparisonType;\n};\n\n/**\n * Example: 'yyyy-MM-dd' | 'dd.MM.yyyy' | ...\n */\nexport type PropertyDateInputFormat = string;\n\n/**\n * must be singleValued or multiValued\n * singleValued contains only one key to an object\n * multiValued contains multiple key of objects\n *\n * @minLength 1\n * @chance {\n * \"pickone\": [ [ \"singleValued\", \"multiValued\" ] ]\n * }\n * @ignoreThis 2\n * @important\n */\nexport type ReferenceType = 'singleValued' | 'multiValued';\n\n/**\n * Facet calculation is disabled by default\n */\nexport type ReferenceFilterDefinition = {\n calculateFacets?: boolean;\n excludeZeros?: boolean;\n excludeUndefineds?: boolean;\n};\n\nexport type ReferenceValidity = 'loose' | 'strict';\n\nexport type ValueMappingValue = string | '$dcupl_falsy';\n\nexport type AttributeValidatorConfig = {\n email?: ValidatorConfig;\n endsWith?: ValidatorConfig;\n enum?: ValidatorConfig;\n includes?: ValidatorConfig;\n max?: ValidatorConfig;\n maxLength?: ValidatorConfig;\n min?: ValidatorConfig;\n minLength?: ValidatorConfig;\n pattern?: ValidatorConfig;\n unique?: ValidatorConfig;\n startsWith?: ValidatorConfig;\n};\n\nexport type ValidatorErrorType = 'loose' | 'strict';\n\nexport type PropertyType = 'any' | 'Array<date>' | 'Array<float>' | 'Array<int>' | 'Array<string>' | 'boolean' | 'date' | 'float' | 'int' | 'json' | 'string';\n\nexport type FilterComparisonType = 'equal' | 'equalIgnoreCase' | 'contains' | 'containsIgnoreCase' | 'containsIgnoreCaseAndWhitespace';\n\nexport type ValidatorConfig = {\n value?: any;\n};"},"KeyPropertySpec":{"package":"@dcupl/common","version":"2.2.3","source":"/**\n * Specifies the property (or properties) on a row that uniquely identifies it.\n *\n * - A single string names one property: `keyProperty: 'id'`.\n * - A non-empty array of strings produces a composite key by joining the\n * stringified values of each property with the configured separator\n * (default `::`): `keyProperty: ['ID', 'Language']` → `.key === 'A1::en'`.\n *\n * The order of array entries is significant and preserved verbatim.\n *\n * A row whose key value is `undefined` or `null` — for a composite key: every\n * part — is dropped and recorded as `MissingKey`. A composite key with only\n * some parts missing keeps them as `'undefined'`/`'null'` parts.\n */\nexport type KeyPropertySpec = string | readonly string[];"},"Property":{"package":"@dcupl/common","version":"2.2.3","source":"export type Property = PropertyString | PropertyStringArray | PropertyInt | PropertyIntArray | PropertyFloat | PropertyFloatArray | PropertyDate | PropertyDateArray | PropertyJson | PropertyBoolean | PropertyAny;\n\n/**\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:string\"] }\n */\nexport type PropertyString = PropertyBase & {\n type: 'string';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n};\n\n/**\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:string\"] }\n */\nexport type PropertyStringArray = PropertyBase & {\n type: 'Array<string>';\n separator?: string;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n aggregate?: boolean | AggregationOptionsModel;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Int Property\", \"properties\": [\"key\", \"type:int\"] }\n */\nexport type PropertyInt = PropertyBase & {\n type: 'int';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Int Array Property\", \"properties\": [\"key\", \"type:Array<int>\"] }\n */\nexport type PropertyIntArray = PropertyBase & {\n type: 'Array<int>';\n separator?: string;\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Float Property\", \"properties\": [\"key\", \"type:float\"] }\n */\nexport type PropertyFloat = PropertyBase & {\n type: 'float';\n aggregate?: boolean | AggregationOptionsModel;\n fractionDigits?: number;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Float Property\", \"properties\": [\"key\", \"type:float\"] }\n */\nexport type PropertyFloatArray = PropertyBase & {\n type: 'Array<float>';\n separator?: string;\n aggregate?: boolean | AggregationOptionsModel;\n fractionDigits?: number;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Date Property\", \"properties\": [\"key\", \"type:date\"] }\n */\nexport type PropertyDate = PropertyBase & {\n type: 'date';\n inputFormat?: PropertyDateInputFormat;\n UTC?: boolean;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Date Property\", \"properties\": [\"key\", \"type:date\"] }\n */\nexport type PropertyDateArray = PropertyBase & {\n type: 'Array<date>';\n separator?: string;\n inputFormat?: PropertyDateInputFormat;\n UTC?: boolean;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Json Property\", \"properties\": [\"key\", \"type:string:json\"] }\n */\nexport type PropertyJson = PropertyBase & {\n type: 'json' | 'Array<json>';\n filter?: boolean;\n};\n\n/**\n * A boolean property. Raw values are read as follows: a boolean is kept; the strings 'true'/'1' and\n * 'false'/'0' (case-insensitive, also in CSV) and the numbers 1 and 0 become `true` and `false`; any\n * other value (another string or number, an object, an array) is a WrongDataType and the value stays\n * undefined. With `quality.forceStrictDataType` only real booleans are accepted.\n *\n * @defaultSnippets { \"label\": \"String Property\", \"properties\": [\"key\", \"type:string:boolean\"] }\n */\nexport type PropertyBoolean = PropertyBase & {\n type: 'boolean';\n aggregate?: boolean | AggregationOptionsModel;\n filter?: boolean;\n};\n\n/**\n * @defaultSnippets { \"label\": \"Any Property\", \"properties\": [\"key\", \"type:any\"] }\n */\nexport type PropertyAny = PropertyBase & {\n type: 'any' | 'Array<any>';\n};\n\n/**\n * A property is a quality or characteristic belonging an object.\n * @defaultSnippets {\"label\":\"Property\", \"properties\":[\"key\",\"type\"]}\n *\n */\nexport type PropertyBase = {\n /**\n * A key is an unique identifier overall properties in this model.\n *\n * @minLength 1\n * @important\n */\n key: string;\n type: PropertyType;\n expression?: string;\n derive?: {\n localReference: string;\n remoteProperty: string;\n separator?: string;\n };\n origin?: string;\n filter?: boolean | FilterStringSingle | FilterStringArray[];\n aggregate?: boolean | AggregationOptionsModel;\n meta?: ModelMetadata;\n index?: boolean;\n quality?: AttributeQualityConfig;\n};\n\ntype AggregationOptionsModel = Omit<AggregationOptions, 'attribute'>;\n\nexport type FilterStringSingle = {\n comparisonType?: FilterComparisonType;\n};\n\nexport type FilterStringArray = {\n key: string;\n comparisonType: FilterComparisonType;\n};\n\n/**\n * Example: 'yyyy-MM-dd' | 'dd.MM.yyyy' | ...\n */\nexport type PropertyDateInputFormat = string;\n\nexport type PropertyType = 'any' | 'Array<date>' | 'Array<float>' | 'Array<int>' | 'Array<string>' | 'boolean' | 'date' | 'float' | 'int' | 'json' | 'string';\n\nexport type ModelMetadata = {\n name: string;\n description?: string;\n [key: string]: any;\n};\n\n/**\n * Quality rules for a single property or reference.\n *\n * Defaults: required: true, nullable: false, forceStrictDataType: false,\n * validatorHandling: 'loose'.\n *\n * validatorHandling decides what happens when a validator fails:\n * 'loose' (default) reports an InvalidValidator error and keeps the value;\n * 'strict' reports AND drops the value from the loaded data.\n * forceStrictDataType: true disables type coercion — wrong-typed raw\n * values are reported as WrongDataType and dropped.\n */\nexport type AttributeQualityConfig = {\n required?: boolean;\n nullable?: boolean;\n forceStrictDataType?: boolean;\n validators?: AttributeValidatorConfig;\n validatorHandling?: ValidatorErrorType;\n};\n\nexport type FilterComparisonType = 'equal' | 'equalIgnoreCase' | 'contains' | 'containsIgnoreCase' | 'containsIgnoreCaseAndWhitespace';\n\nexport type AttributeValidatorConfig = {\n email?: ValidatorConfig;\n endsWith?: ValidatorConfig;\n enum?: ValidatorConfig;\n includes?: ValidatorConfig;\n max?: ValidatorConfig;\n maxLength?: ValidatorConfig;\n min?: ValidatorConfig;\n minLength?: ValidatorConfig;\n pattern?: ValidatorConfig;\n unique?: ValidatorConfig;\n startsWith?: ValidatorConfig;\n};\n\nexport type ValidatorErrorType = 'loose' | 'strict';\n\nexport type ValidatorConfig = {\n value?: any;\n};"},"Reference":{"package":"@dcupl/common","version":"2.2.3","source":"export type Reference = ResolvedReference | DerivedReference | GroupedRefeference | ReferenceBase | QueryReference;\n\n/**\n * Resolves a Reference from a foreign model\n *\n * @defaultSnippets { \"label\": \"Resolved Reference\", \"properties\": [\"key\", \"type:multiValued\", \"model\", \"resolve:json:{\\\"reference\\\":\\\"\\\", \\\"model\\\":\\\"\\\" }\"] }\n */\nexport type ResolvedReference = ReferenceBase & {\n /**\n * Resolve a Relationship to an foreign model\n *\n * @defaultSnippets {\"label\":\"Resolve Relationship\", \"properties\":[\"reference\",\"model\"]}\n */\n resolve: {\n /**\n * The reference on the foreign object which should be used for resolve the relation.\n *\n * @minLength 1\n * @important\n */\n reference: string;\n /**\n * The model of the foreign object reference.\n *\n * @minLength 1\n * @important\n */\n model: string;\n };\n};\n\n/**\n * Derives a References for a specific value from an other model\n *\n * @defaultSnippets { \"label\": \"Derived Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\", \"derive:json:{\\\"localReference\\\":\\\"\\\", \\\"remoteReference\\\":\\\"\\\"}\"] }\n */\nexport type DerivedReference = ReferenceBase & {\n type: ReferenceType;\n /**\n * Derive a specific value from an other object/entity\n * @defaultSnippets {\"label\":\"Derive Values\", \"properties\": [\"localReference\",\"remoteReference\"]}\n */\n derive: {\n /**\n * The reference on the foreign object which should be used for resolve the relation.\n *\n * @minLength 1\n * @important\n */\n localReference: string;\n /**\n * The reference on the foreign object which should be derived.\n *\n * @minLength 1\n * @important\n */\n remoteReference: string;\n };\n};\n\n/**\n * Groups a Reference by a specific value from an other model\n *\n * @defaultSnippets { \"label\": \"Grouped Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\", \"groupBy:json:{\\\"reference\\\":\\\"\\\" }\", \"includeSelfInGroup:boolean\"] }\n */\nexport type GroupedRefeference = ReferenceBase & {\n type: ReferenceType;\n /**\n * Group by a specific reference\n * @defaultSnippets {\"label\":\"Grouped Values\", \"properties\": [\"reference\",\"includeSelfInGroup\"]}\n */\n groupBy: {\n /**\n * The reference that groups are generated from\n *\n * @minLength 1\n * @important\n */\n reference: string;\n includeSelfInGroup?: boolean;\n };\n};\n\n/**\n * A reference to items of another model. A raw value of `null` (also a CSV `null` cell) is kept as\n * `null` on the item and in the reference's index, as for a property, so `eq null` matches it and\n * `typeof 'undefined'` does not; an absent or empty value leaves the reference undefined. A null\n * reference reports `NullValue` unless `quality.nullable` is set, as a property does.\n *\n * @defaultSnippets { \"label\": \"Default Reference\", \"properties\": [\"key\", \"type:singleValued\", \"model\"] }\n */\nexport type ReferenceBase = {\n /**\n * A key is an unique identifier for all reference in this model.\n *\n * @minLength 1\n * @important\n */\n key: string;\n type: ReferenceType;\n /**\n * The Model this reference is pointing to.\n *\n * @minLength 1\n * @important\n */\n model: string;\n origin?: string;\n filter?: boolean | ReferenceFilterDefinition;\n aggregate?: boolean | AggregationOptionsModel;\n separator?: string;\n meta?: ModelMetadata;\n index?: boolean;\n validity?: ReferenceValidity;\n quality?: AttributeQualityConfig;\n};\n\n/**\n * Queries a Reference from a foreign model\n *\n * Query references are computed on full updates only. An `update()` that\n * changes the owner model, the queried model or a model the queried model\n * references therefore runs as a full update, even when the partial-update\n * thresholds would allow a partial one.\n *\n * @defaultSnippets { \"label\": \"Resolved Reference\", \"properties\": [\"key\", \"type:multiValued\", \"model\", \"resolve:json:{\\\"reference\\\":\\\"\\\", \\\"model\\\":\\\"\\\" }\"] }\n */\nexport type QueryReference = ReferenceBase & {\n /**\n * Resolve a Relationship to an foreign model\n *\n * @defaultSnippets {\"label\":\"Resolve Relationship\", \"properties\":[\"reference\",\"model\"]}\n */\n query: DcuplGlobalQueryOptions<any> | DcuplQuery | DcuplQueryGroup | DcuplQuery[] | DcuplQueryGroup[];\n};\n\n/**\n * must be singleValued or multiValued\n * singleValued contains only one key to an object\n * multiValued contains multiple key of objects\n *\n * @minLength 1\n * @chance {\n * \"pickone\": [ [ \"singleValued\", \"multiValued\" ] ]\n * }\n * @ignoreThis 2\n * @important\n */\nexport type ReferenceType = 'singleValued' | 'multiValued';\n\n/**\n * Facet calculation is disabled by default\n */\nexport type ReferenceFilterDefinition = {\n calculateFacets?: boolean;\n excludeZeros?: boolean;\n excludeUndefineds?: boolean;\n};\n\ntype AggregationOptionsModel = Omit<AggregationOptions, 'attribute'>;\n\nexport type ModelMetadata = {\n name: string;\n description?: string;\n [key: string]: any;\n};\n\nexport type ReferenceValidity = 'loose' | 'strict';\n\n/**\n * Quality rules for a single property or reference.\n *\n * Defaults: required: true, nullable: false, forceStrictDataType: false,\n * validatorHandling: 'loose'.\n *\n * validatorHandling decides what happens when a validator fails:\n * 'loose' (default) reports an InvalidValidator error and keeps the value;\n * 'strict' reports AND drops the value from the loaded data.\n * forceStrictDataType: true disables type coercion — wrong-typed raw\n * values are reported as WrongDataType and dropped.\n */\nexport type AttributeQualityConfig = {\n required?: boolean;\n nullable?: boolean;\n forceStrictDataType?: boolean;\n validators?: AttributeValidatorConfig;\n validatorHandling?: ValidatorErrorType;\n};\n\nexport type AttributeValidatorConfig = {\n email?: ValidatorConfig;\n endsWith?: ValidatorConfig;\n enum?: ValidatorConfig;\n includes?: ValidatorConfig;\n max?: ValidatorConfig;\n maxLength?: ValidatorConfig;\n min?: ValidatorConfig;\n minLength?: ValidatorConfig;\n pattern?: ValidatorConfig;\n unique?: ValidatorConfig;\n startsWith?: ValidatorConfig;\n};\n\nexport type ValidatorErrorType = 'loose' | 'strict';\n\nexport type ValidatorConfig = {\n value?: any;\n};"},"ModelQualityConfig":{"package":"@dcupl/common","version":"2.2.3","source":"export type ModelQualityConfig = {\n /**\n * Master switch for quality checks on this model. Default: true.\n * Checks only run when error tracking is also enabled globally\n * (two-tier enablement).\n */\n enabled?: boolean;\n /**\n * Model-wide defaults for the attribute quality FLAGS\n * (required / nullable / forceStrictDataType / validatorHandling),\n * merged under each attribute's own `quality`.\n * Concrete `validators` are per-attribute only and cannot be set here.\n */\n attributes?: Omit<AttributeQualityConfig, 'validators'>;\n};\n\n/**\n * Quality rules for a single property or reference.\n *\n * Defaults: required: true, nullable: false, forceStrictDataType: false,\n * validatorHandling: 'loose'.\n *\n * validatorHandling decides what happens when a validator fails:\n * 'loose' (default) reports an InvalidValidator error and keeps the value;\n * 'strict' reports AND drops the value from the loaded data.\n * forceStrictDataType: true disables type coercion — wrong-typed raw\n * values are reported as WrongDataType and dropped.\n */\nexport type AttributeQualityConfig = {\n required?: boolean;\n nullable?: boolean;\n forceStrictDataType?: boolean;\n validators?: AttributeValidatorConfig;\n validatorHandling?: ValidatorErrorType;\n};\n\nexport type AttributeValidatorConfig = {\n email?: ValidatorConfig;\n endsWith?: ValidatorConfig;\n enum?: ValidatorConfig;\n includes?: ValidatorConfig;\n max?: ValidatorConfig;\n maxLength?: ValidatorConfig;\n min?: ValidatorConfig;\n minLength?: ValidatorConfig;\n pattern?: ValidatorConfig;\n unique?: ValidatorConfig;\n startsWith?: ValidatorConfig;\n};\n\nexport type ValidatorErrorType = 'loose' | 'strict';\n\nexport type ValidatorConfig = {\n value?: any;\n};"},"AttributeQualityConfig":{"package":"@dcupl/common","version":"2.2.3","source":"/**\n * Quality rules for a single property or reference.\n *\n * Defaults: required: true, nullable: false, forceStrictDataType: false,\n * validatorHandling: 'loose'.\n *\n * validatorHandling decides what happens when a validator fails:\n * 'loose' (default) reports an InvalidValidator error and keeps the value;\n * 'strict' reports AND drops the value from the loaded data.\n * forceStrictDataType: true disables type coercion — wrong-typed raw\n * values are reported as WrongDataType and dropped.\n */\nexport type AttributeQualityConfig = {\n required?: boolean;\n nullable?: boolean;\n forceStrictDataType?: boolean;\n validators?: AttributeValidatorConfig;\n validatorHandling?: ValidatorErrorType;\n};\n\nexport type AttributeValidatorConfig = {\n email?: ValidatorConfig;\n endsWith?: ValidatorConfig;\n enum?: ValidatorConfig;\n includes?: ValidatorConfig;\n max?: ValidatorConfig;\n maxLength?: ValidatorConfig;\n min?: ValidatorConfig;\n minLength?: ValidatorConfig;\n pattern?: ValidatorConfig;\n unique?: ValidatorConfig;\n startsWith?: ValidatorConfig;\n};\n\nexport type ValidatorErrorType = 'loose' | 'strict';\n\nexport type ValidatorConfig = {\n value?: any;\n};"},"AppLoaderConfiguration":{"package":"@dcupl/common","version":"2.2.3","source":"export declare namespace AppLoaderConfiguration {\n /**\n * The base structure for configuration file contains all resources, evnironments and headers\n * The process options define how this file is processed\n *\n * @defaultSnippets { \"label\": \"Default Loader Configuration\", \"properties\": [\"applications:json:[{\\\"key\\\":\\\"default\\\", \\\"name\\\":\\\"My Application\\\"}]\", \"resources:json:[{\\\"url\\\":\\\"${baseUrl}/models/my-model.dcupl.json\\\", \\\"type\\\":\\\"model\\\"},{\\\"url\\\":\\\"${baseUrl}/data/some-data.json\\\", \\\"type\\\":\\\"data\\\", \\\"model\\\":\\\"MyModel\\\"}]\"] }\n */\n export type ProjectConfiguration = {\n resources: Resource[];\n environments?: Environment[];\n applications?: ApplicationConfiguration[];\n options?: Options;\n };\n type StringOrStringArray = (string | string[])[];\n /**\n * @defaultSnippets { \"label\": \"Application\", \"properties\": [\"key\", \"name\", \"description\", \"resourceTags:array\"] }\n */\n export type ApplicationConfiguration = {\n key: string;\n name?: string;\n description?: string;\n resourceTags?: StringOrStringArray;\n variables?: Variable[];\n };\n export type ProcessOptions = {\n applicationKey?: string;\n environmentKeys?: string[];\n resourceTags?: StringOrStringArray;\n variables?: Variable[];\n options?: Options;\n };\n export type FetchOptions = {\n /**\n * The base URL to use for all resources\n * If not set the baseUrl points to the draft version of the CDN\n *\n * Set as the default `baseUrl` for the config fetch and all resources: an environment, process or\n * global variable `baseUrl` wins over it, and the loader logs a warning when its value differs.\n */\n baseUrl?: string;\n /**\n * The name of the loader file to use\n * If not set the loader file is named 'dcupl.lc.json'\n *\n * Set as the default `loaderFileName`: an environment, process or global variable `loaderFileName`\n * wins over it, and the loader logs a warning when its value differs.\n */\n loaderFileName?: string;\n /**\n * Custom Headers used for fetching the loader file\n * For example authorization headers\n */\n headers?: AppLoaderConfiguration.AppLoaderConfigHeader[];\n /**\n * If set to false the fetched config is not applied to the loader but only returned\n */\n skipApply?: boolean;\n };\n export type Options = {\n defaultDataContainerUpdateType?: DataContainerType;\n csvParserOptions?: CsvParserOptions;\n missingModelHandling?: {\n autoGenerateProperties?: AutoGeneratePropertiesOption;\n };\n };\n export type CsvParserOptions = {\n delimiter?: string;\n quoteChar?: string;\n escapeChar?: string;\n commentChar?: string;\n };\n export type TransformerType = 'rawFileTransformer' | 'parsedFileTransformer';\n /**\n * @defaultSnippets { \"label\": \"Environment\", \"properties\": [\"key\", \"description\", \"variables:array\", \"headers:array\", \"queryParams:array\"] }\n */\n export type Environment = {\n key: string;\n description?: string;\n variables?: Variable[];\n headers?: HttpHeaderConfiguration[];\n queryParams?: HttpQueryParamConfiguration[];\n };\n /**\n * @defaultSnippets { \"label\": \"Variable\", \"properties\": [\"key\", \"description\", \"value:string\"] }\n */\n export type Variable<T = string> = {\n key: T;\n description?: string;\n value: string | undefined;\n };\n export type EnvironmentVariableAsObject = Record<string, any>;\n /**\n * @defaultSnippets { \"label\": \"Query Parameter Configuration\", \"properties\": [\"key\", \"description\", \"value:string\", \"tags:array\"] }\n */\n export type HttpQueryParamConfiguration = {\n key: string;\n description?: string;\n value: string;\n tags?: string[];\n condition?: {\n applyIfVariableHasValue?: string;\n };\n };\n /**\n * @defaultSnippets { \"label\": \"Header Configuration\", \"properties\": [\"key\", \"description\", \"value:string\", \"tags:array\"] }\n */\n export type HttpHeaderConfiguration = {\n key: string;\n description?: string;\n value: string;\n tags?: string[];\n condition?: {\n applyIfVariableHasValue?: string;\n };\n };\n export type HttpHeaderAsObject = {\n [key: string]: string;\n };\n type ResourceType = 'model' | 'data' | 'transformer' | 'operator' | 'script';\n type ResourceBase = {\n key?: string;\n url: string;\n type: ResourceType;\n tags?: string[];\n };\n /**\n * A model describes a real world object of your applicatoin like a customer, a product or a sales order.\n *\n * @defaultSnippets { \"label\": \"Model\", \"properties\": [\"url:string:${baseUrl}/models/my-model.dcupl.json\", \"type:model\", \"tags:array\"] }\n */\n export type ModelResource = ResourceBase & {\n type: 'model';\n };\n /**\n * A data resource contains data for a model.\n *\n * @defaultSnippets { \"label\": \"Data\", \"properties\": [\"url:string:${baseUrl}/data/my-data.json\", \"type:data\", \"model\", \"tags:array\"] }\n */\n export type DataResource = ResourceBase & {\n type: 'data';\n model: string;\n options?: DataResourceOptions;\n };\n /**\n * A transformer resource points to a javascript file that can be used to transform the data of a data resource.\n *\n * @defaultSnippets { \"label\": \"Transformer\", \"properties\": [\"url:string:${baseUrl}/transformers/my-transformer.js\", \"type:transformer\", \"applyTo:array\", \"tags:array\"] }\n */\n export type TransformerResource = ResourceBase & {\n type: 'transformer';\n /**\n * The tags the transformer applies to\n */\n applyTo?: string[];\n /**\n * The transformer type\n * rawFileTransformer: The transformer is applied to the raw file\n * parsedFileTransformer: The transformer is applied to the parsed file\n * default: rawFileTransformer\n */\n transformerType?: TransformerType;\n };\n /**\n * A script resource.\n *\n * @defaultSnippets { \"label\": \"Query Operator\", \"properties\": [\"url:string:${baseUrl}/models/my-operator.js\", \"type:operator\", \"operator:my_operator\", \"tags:array\"] }\n */\n export type CustomScriptResource = ResourceBase & {\n type: 'script';\n /**\n * The key the script is registered under: a custom query operator name, or the key an endpoint or\n * sort script is called by. Scripts carry no mode. Used as a query operator, a key with a built-in\n * operator's name (e.g. `size`) never runs: the built-in does, and the SDK warns once.\n */\n scriptKey: string;\n };\n /**\n * A query operator resource points to a javascript file that defines a custom query operator.\n *\n * @defaultSnippets { \"label\": \"Query Operator\", \"properties\": [\"url:string:${baseUrl}/models/my-operator.js\", \"type:operator\", \"operator:my_operator\", \"tags:array\"] }\n */\n export type CustomOperatorResource = ResourceBase & {\n type: 'operator';\n /**\n * The operator name that can be used in a query\n */\n operator: string;\n };\n export type DataResourceOptions = {\n updateType?: DataContainerType;\n /**\n * Property name(s) on each row that uniquely identify it.\n *\n * Pass a single string for a simple key (`keyProperty: 'ID'`) or a\n * non-empty array for a composite key (`keyProperty: ['ID', 'Language']`).\n * Composite parts are joined into the internal `.key` using\n * `keyPropertySeparator` (default `::`). Order is preserved literally.\n *\n * A row with no value (`undefined` or `null`) for a single key property\n * is dropped and recorded as `MissingKey`. A composite key drops the row\n * only when every part is missing; a single missing part becomes\n * `'undefined'` (or `'null'`) in the key. `''` is a value and kept. See\n * `KeyPropertySpec`.\n */\n keyProperty?: KeyPropertySpec;\n /**\n * Separator joining composite `keyProperty` parts. Default `'::'`.\n * Ignored when `keyProperty` is a string or a single-element array.\n */\n keyPropertySeparator?: string;\n autoGenerateKey?: boolean;\n autoGenerateProperties?: AutoGeneratePropertiesOption;\n csvParserOptions?: CsvParserOptions;\n };\n export type Resource = ModelResource | DataResource | TransformerResource | CustomOperatorResource | CustomScriptResource;\n export type AppLoaderConfigHeader = {\n key: string;\n value: string;\n };\n /** Why a declared resource was not scheduled for a run. */\n export type SkipReason = \n /** The run filters by resourceTags, and the resource carries no tags at all. */\n 'no-tags'\n /** The run filters by resourceTags, and none of them matched the resource's tags. */\n | 'tag-mismatch';\n export type SkippedResource = {\n resource: Resource;\n reason: SkipReason;\n /**\n * The same identity a scheduled item would carry — see `AppLoaderProgress.ResourceItem.id`.\n *\n * Assigned here rather than left to the consumer because ids are allotted over the FULL declared\n * list: recomputing one in isolation cannot know its occurrence index, so duplicate entries would\n * come out with a different id than the SDK gave them.\n */\n id?: string;\n };\n /**\n * The outcome of resolving a configuration against process options, WITHOUT fetching anything.\n *\n * `scheduled` is what a `process()` call would actually load (tag-filtered, urls resolved);\n * `skipped` is every declared resource that dropped out, with the reason. Together they cover\n * `config.resources` exactly, which is what lets a consumer show \"declared but not in this app\"\n * without re-implementing the filter.\n */\n export type ResourcePlan = {\n scheduled: AppLoaderProgress.ResourceItem[];\n skipped: SkippedResource[];\n /** The variables the scheduled urls were resolved with. */\n variables: EnvironmentVariableAsObject;\n /** The process options the plan was built for. */\n run: RunContext;\n };\n export type RunContext = {\n applicationKey?: string;\n resourceTags?: StringOrStringArray;\n environmentKeys?: string[];\n };\n export {};\n}\n\nexport declare namespace AppLoaderProgress {\n type ResourceItem = AppLoaderConfiguration.Resource & {\n success?: boolean;\n status?: number;\n /**\n * Stable identity for this resource, derived once at plan time.\n *\n * Authored `resource.key` wins (`k:<key>`); otherwise a deterministic hash of the resource's\n * RAW url plus type/model (`h:<hash>`). Because it is derived from the raw url it is the same\n * value a consumer computes from the config file, which is what makes declared↔runtime joins\n * possible without url matching. See `resolveResourceId`.\n */\n id?: string;\n /**\n * The url as authored in the config, BEFORE `${variable}` substitution.\n *\n * `url` is overwritten with the resolved value at plan time; without this the template — and\n * therefore the link back to the config entry — would be unrecoverable at runtime.\n */\n rawUrl?: string;\n /**\n * Variables referenced by `rawUrl` that had no value at resolve time.\n *\n * `evaluateTemplate` substitutes an unknown variable with an empty string, so an unset\n * `${baseUrl}` silently yields a mangled url and a download failure that looks like a missing\n * file. A non-empty array here is the difference between \"file is gone\" and \"config is wrong\".\n */\n unresolvedVariables?: string[];\n };\n type ProgressItem = {\n total: number;\n processed: number;\n remaining: number;\n progress: number;\n context: string;\n currentItem: ResourceItem;\n /** The resources SCHEDULED for this run — already tag-filtered and url-resolved. */\n totalItems: ResourceItem[];\n processedItems: ResourceItem[];\n downloadedItems: ResourceItem[];\n failedItems: ResourceItem[];\n remainingItems: ResourceItem[];\n /**\n * Declared resources that this run never scheduled, with the reason.\n *\n * `totalItems` covers only what the run's resourceTags selected, so on its own it cannot\n * distinguish \"loaded everything\" from \"loaded everything it was allowed to see\".\n */\n skippedItems?: AppLoaderConfiguration.SkippedResource[];\n /** The application/tags/environments this run resolved against. */\n run?: AppLoaderConfiguration.RunContext;\n };\n type CallbackFunction = (item: ProgressItem) => void;\n}"},"WorkflowConfigV3":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Workflow Configuration Schema\n *\n * Complete workflow configuration using unified node architecture.\n */\n/**\n * V3 Unified Workflow Configuration\n *\n * Workflow configuration using the unified node architecture where\n * triggers and responses are first-class nodes in the graph.\n */\nexport declare const WorkflowConfigV3Schema: z.ZodObject<{\n version: z.ZodLiteral<\"3\">;\n nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-request\">;\n config: z.ZodObject<{\n path: z.ZodString;\n methods: z.ZodArray<z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>>;\n auth: z.ZodOptional<z.ZodArray<z.ZodObject<{\n type: z.ZodLiteral<\"api-key\">;\n value: z.ZodString;\n }, z.core.$strip>>>;\n }, z.core.$strip>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-cron\">;\n config: z.ZodObject<{\n cronTime: z.ZodString;\n timezone: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>;\n }, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"request\">;\n config: z.ZodObject<{\n url: z.ZodString;\n method: z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>;\n body: z.ZodOptional<z.ZodString>;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n autoParse: z.ZodOptional<z.ZodBoolean>;\n responseType: z.ZodOptional<z.ZodEnum<{\n json: \"json\";\n text: \"text\";\n blob: \"blob\";\n }>>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"git-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n user: z.ZodString;\n token: z.ZodString;\n }, z.core.$strip>;\n repository: z.ZodObject<{\n user: z.ZodString;\n repo: z.ZodString;\n branch: z.ZodString;\n }, z.core.$strip>;\n message: z.ZodOptional<z.ZodString>;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n apiKey: z.ZodString;\n }, z.core.$strip>;\n version: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"azure-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n connectionString: z.ZodString;\n }, z.core.$strip>;\n containerName: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"s3-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n accessKeyId: z.ZodString;\n secretAccessKey: z.ZodString;\n region: z.ZodString;\n }, z.core.$strip>;\n bucket: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"data-mapper\">;\n config: z.ZodObject<{\n mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{\n origin: z.ZodString;\n target: z.ZodString;\n }, z.core.$strip>>>;\n model: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-instance\">;\n config: z.ZodObject<{\n script: z.ZodString;\n initOptions: z.ZodOptional<z.ZodAny>;\n loaderFetchOptions: z.ZodOptional<z.ZodAny>;\n processOptions: z.ZodOptional<z.ZodAny>;\n dataContainers: z.ZodOptional<z.ZodAny>;\n models: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-api\">;\n config: z.ZodDiscriminatedUnion<[z.ZodObject<{\n operation: z.ZodLiteral<\"email\">;\n to: z.ZodString;\n subject: z.ZodString;\n text: z.ZodOptional<z.ZodString>;\n html: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"digest\">;\n period: z.ZodEnum<{\n daily: \"daily\";\n weekly: \"weekly\";\n }>;\n timezone: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"executions\">;\n status: z.ZodOptional<z.ZodArray<z.ZodEnum<{\n completed: \"completed\";\n failed: \"failed\";\n cancelled: \"cancelled\";\n }>>>;\n sinceHours: z.ZodDefault<z.ZodNumber>;\n limit: z.ZodDefault<z.ZodNumber>;\n }, z.core.$strip>], \"operation\">;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n }, z.core.$strip>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-status\">;\n config: z.ZodObject<{}, z.core.$strip>;\n }, z.core.$strip>], \"type\">], \"nodeClass\">>;\n edges: z.ZodArray<z.ZodObject<{\n id: z.ZodString;\n source: z.ZodObject<{\n nodeId: z.ZodString;\n port: z.ZodString;\n }, z.core.$strip>;\n target: z.ZodObject<{\n nodeId: z.ZodString;\n port: z.ZodString;\n }, z.core.$strip>;\n condition: z.ZodOptional<z.ZodString>;\n transform: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n}, z.core.$strip>;"},"TemplateV3":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Workflow Template Schema\n *\n * Complete workflow template using unified node architecture.\n */\n/**\n * V3 Unified Workflow Template\n *\n * Complete workflow template using unified node architecture.\n */\nexport declare const TemplateV3Schema: z.ZodObject<{\n key: z.ZodString;\n config: z.ZodObject<{\n version: z.ZodLiteral<\"3\">;\n nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-request\">;\n config: z.ZodObject<{\n path: z.ZodString;\n methods: z.ZodArray<z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>>;\n auth: z.ZodOptional<z.ZodArray<z.ZodObject<{\n type: z.ZodLiteral<\"api-key\">;\n value: z.ZodString;\n }, z.core.$strip>>>;\n }, z.core.$strip>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-cron\">;\n config: z.ZodObject<{\n cronTime: z.ZodString;\n timezone: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>;\n }, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"request\">;\n config: z.ZodObject<{\n url: z.ZodString;\n method: z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>;\n body: z.ZodOptional<z.ZodString>;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n autoParse: z.ZodOptional<z.ZodBoolean>;\n responseType: z.ZodOptional<z.ZodEnum<{\n json: \"json\";\n text: \"text\";\n blob: \"blob\";\n }>>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"git-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n user: z.ZodString;\n token: z.ZodString;\n }, z.core.$strip>;\n repository: z.ZodObject<{\n user: z.ZodString;\n repo: z.ZodString;\n branch: z.ZodString;\n }, z.core.$strip>;\n message: z.ZodOptional<z.ZodString>;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n apiKey: z.ZodString;\n }, z.core.$strip>;\n version: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"azure-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n connectionString: z.ZodString;\n }, z.core.$strip>;\n containerName: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"s3-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n accessKeyId: z.ZodString;\n secretAccessKey: z.ZodString;\n region: z.ZodString;\n }, z.core.$strip>;\n bucket: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"data-mapper\">;\n config: z.ZodObject<{\n mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{\n origin: z.ZodString;\n target: z.ZodString;\n }, z.core.$strip>>>;\n model: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-instance\">;\n config: z.ZodObject<{\n script: z.ZodString;\n initOptions: z.ZodOptional<z.ZodAny>;\n loaderFetchOptions: z.ZodOptional<z.ZodAny>;\n processOptions: z.ZodOptional<z.ZodAny>;\n dataContainers: z.ZodOptional<z.ZodAny>;\n models: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-api\">;\n config: z.ZodDiscriminatedUnion<[z.ZodObject<{\n operation: z.ZodLiteral<\"email\">;\n to: z.ZodString;\n subject: z.ZodString;\n text: z.ZodOptional<z.ZodString>;\n html: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"digest\">;\n period: z.ZodEnum<{\n daily: \"daily\";\n weekly: \"weekly\";\n }>;\n timezone: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"executions\">;\n status: z.ZodOptional<z.ZodArray<z.ZodEnum<{\n completed: \"completed\";\n failed: \"failed\";\n cancelled: \"cancelled\";\n }>>>;\n sinceHours: z.ZodDefault<z.ZodNumber>;\n limit: z.ZodDefault<z.ZodNumber>;\n }, z.core.$strip>], \"operation\">;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n }, z.core.$strip>;\n }, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-status\">;\n config: z.ZodObject<{}, z.core.$strip>;\n }, z.core.$strip>], \"type\">], \"nodeClass\">>;\n edges: z.ZodArray<z.ZodObject<{\n id: z.ZodString;\n source: z.ZodObject<{\n nodeId: z.ZodString;\n port: z.ZodString;\n }, z.core.$strip>;\n target: z.ZodObject<{\n nodeId: z.ZodString;\n port: z.ZodString;\n }, z.core.$strip>;\n condition: z.ZodOptional<z.ZodString>;\n transform: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n }, z.core.$strip>;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n version: z.ZodOptional<z.ZodString>;\n variables: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{\n name: z.ZodString;\n value: z.ZodString;\n description: z.ZodString;\n }, z.core.$strip>>, z.ZodRecord<z.ZodString, z.ZodString>]>>;\n ui: z.ZodOptional<z.ZodObject<{\n positions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{\n x: z.ZodNumber;\n y: z.ZodNumber;\n }, z.core.$strip>>>;\n notes: z.ZodOptional<z.ZodArray<z.ZodObject<{\n id: z.ZodString;\n position: z.ZodObject<{\n x: z.ZodNumber;\n y: z.ZodNumber;\n }, z.core.$strip>;\n size: z.ZodObject<{\n width: z.ZodNumber;\n height: z.ZodNumber;\n }, z.core.$strip>;\n content: z.ZodString;\n color: z.ZodEnum<{\n yellow: \"yellow\";\n blue: \"blue\";\n green: \"green\";\n pink: \"pink\";\n gray: \"gray\";\n purple: \"purple\";\n }>;\n }, z.core.$strip>>>;\n }, z.core.$strip>>;\n}, z.core.$strip>;"},"RestApiTemplate":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * REST API Template Schema\n *\n * Template configuration for a REST API instance.\n */\nexport declare const RestApiTemplateSchema: z.ZodObject<{\n key: z.ZodString;\n dcuplConfig: z.ZodObject<{\n projectId: z.ZodString;\n apiKey: z.ZodString;\n processOptions: z.ZodAny;\n loaderFetchOptions: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n vGuardEnabled: z.ZodBoolean;\n auth: z.ZodOptional<z.ZodArray<z.ZodObject<{\n type: z.ZodLiteral<\"api-key\">;\n value: z.ZodString;\n }, z.core.$strip>>>;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n version: z.ZodOptional<z.ZodString>;\n endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{\n path: z.ZodString;\n method: z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n }>;\n scriptKey: z.ZodString;\n description: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>>;\n mcp: z.ZodOptional<z.ZodObject<{\n enabled: z.ZodBoolean;\n }, z.core.$strip>>;\n}, z.core.$strip>;"},"WorkflowVariable":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Base variable schema used across all levels:\n * project variables, template variables, and deployment overrides.\n */\nexport declare const WorkflowVariableSchema: z.ZodObject<{\n name: z.ZodString;\n value: z.ZodString;\n description: z.ZodString;\n}, z.core.$strip>;"},"WorkflowNode":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Unified Node Schema\n *\n * Discriminated union of all node types for V3 workflows.\n */\n/**\n * Unified Node Schema\n *\n * Discriminated union of all node types. Use `nodeClass` field to\n * discriminate between trigger, step, and response nodes.\n */\nexport declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-request\">;\n config: z.ZodObject<{\n path: z.ZodString;\n methods: z.ZodArray<z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>>;\n auth: z.ZodOptional<z.ZodArray<z.ZodObject<{\n type: z.ZodLiteral<\"api-key\">;\n value: z.ZodString;\n }, z.core.$strip>>>;\n }, z.core.$strip>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"trigger\">;\n type: z.ZodLiteral<\"trigger-cron\">;\n config: z.ZodObject<{\n cronTime: z.ZodString;\n timezone: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>;\n}, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"request\">;\n config: z.ZodObject<{\n url: z.ZodString;\n method: z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>;\n body: z.ZodOptional<z.ZodString>;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n autoParse: z.ZodOptional<z.ZodBoolean>;\n responseType: z.ZodOptional<z.ZodEnum<{\n json: \"json\";\n text: \"text\";\n blob: \"blob\";\n }>>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"git-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n user: z.ZodString;\n token: z.ZodString;\n }, z.core.$strip>;\n repository: z.ZodObject<{\n user: z.ZodString;\n repo: z.ZodString;\n branch: z.ZodString;\n }, z.core.$strip>;\n message: z.ZodOptional<z.ZodString>;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n apiKey: z.ZodString;\n }, z.core.$strip>;\n version: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"azure-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n connectionString: z.ZodString;\n }, z.core.$strip>;\n containerName: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"s3-files\">;\n config: z.ZodObject<{\n auth: z.ZodObject<{\n accessKeyId: z.ZodString;\n secretAccessKey: z.ZodString;\n region: z.ZodString;\n }, z.core.$strip>;\n bucket: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"data-mapper\">;\n config: z.ZodObject<{\n mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{\n origin: z.ZodString;\n target: z.ZodString;\n }, z.core.$strip>>>;\n model: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-instance\">;\n config: z.ZodObject<{\n script: z.ZodString;\n initOptions: z.ZodOptional<z.ZodAny>;\n loaderFetchOptions: z.ZodOptional<z.ZodAny>;\n processOptions: z.ZodOptional<z.ZodAny>;\n dataContainers: z.ZodOptional<z.ZodAny>;\n models: z.ZodOptional<z.ZodAny>;\n }, z.core.$strip>;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"step\">;\n type: z.ZodLiteral<\"dcupl-api\">;\n config: z.ZodDiscriminatedUnion<[z.ZodObject<{\n operation: z.ZodLiteral<\"email\">;\n to: z.ZodString;\n subject: z.ZodString;\n text: z.ZodOptional<z.ZodString>;\n html: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"digest\">;\n period: z.ZodEnum<{\n daily: \"daily\";\n weekly: \"weekly\";\n }>;\n timezone: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n operation: z.ZodLiteral<\"executions\">;\n status: z.ZodOptional<z.ZodArray<z.ZodEnum<{\n completed: \"completed\";\n failed: \"failed\";\n cancelled: \"cancelled\";\n }>>>;\n sinceHours: z.ZodDefault<z.ZodNumber>;\n limit: z.ZodDefault<z.ZodNumber>;\n }, z.core.$strip>], \"operation\">;\n merge: z.ZodOptional<z.ZodObject<{\n mode: z.ZodEnum<{\n append: \"append\";\n merge: \"merge\";\n \"merge-by-key\": \"merge-by-key\";\n \"wait-all\": \"wait-all\";\n first: \"first\";\n }>;\n key: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n skip: z.ZodOptional<z.ZodBoolean>;\n}, z.core.$strip>], \"type\">, z.ZodDiscriminatedUnion<[z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-script\">;\n config: z.ZodObject<{\n script: z.ZodString;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n }, z.core.$strip>;\n}, z.core.$strip>, z.ZodObject<{\n id: z.ZodString;\n name: z.ZodOptional<z.ZodString>;\n description: z.ZodOptional<z.ZodString>;\n inputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n required: z.ZodOptional<z.ZodBoolean>;\n }, z.core.$strip>>;\n outputs: z.ZodArray<z.ZodObject<{\n type: z.ZodString;\n displayName: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>>;\n nodeClass: z.ZodLiteral<\"response\">;\n type: z.ZodLiteral<\"response-status\">;\n config: z.ZodObject<{}, z.core.$strip>;\n}, z.core.$strip>], \"type\">], \"nodeClass\">;"},"TriggerRequestConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Trigger Configuration Schemas\n *\n * Configuration schemas for different trigger types in V3 workflows.\n */\n/**\n * HTTP Request Trigger Configuration\n *\n * Triggers workflow execution when an HTTP request is received at the\n * specified path with one of the configured methods.\n */\nexport declare const TriggerRequestConfigSchema: z.ZodObject<{\n path: z.ZodString;\n methods: z.ZodArray<z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>>;\n auth: z.ZodOptional<z.ZodArray<z.ZodObject<{\n type: z.ZodLiteral<\"api-key\">;\n value: z.ZodString;\n }, z.core.$strip>>>;\n}, z.core.$strip>;"},"TriggerCronConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Cron Trigger Configuration\n *\n * Triggers workflow execution on a schedule using cron expressions.\n */\nexport declare const TriggerCronConfigSchema: z.ZodObject<{\n cronTime: z.ZodString;\n timezone: z.ZodOptional<z.ZodString>;\n}, z.core.$strip>;"},"RequestStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const RequestStepConfigSchema: z.ZodObject<{\n url: z.ZodString;\n method: z.ZodEnum<{\n GET: \"GET\";\n POST: \"POST\";\n PUT: \"PUT\";\n DELETE: \"DELETE\";\n PATCH: \"PATCH\";\n }>;\n body: z.ZodOptional<z.ZodString>;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n autoParse: z.ZodOptional<z.ZodBoolean>;\n responseType: z.ZodOptional<z.ZodEnum<{\n json: \"json\";\n text: \"text\";\n blob: \"blob\";\n }>>;\n}, z.core.$strip>;"},"ScriptStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const ScriptStepConfigSchema: z.ZodObject<{\n script: z.ZodString;\n}, z.core.$strip>;"},"DataMapperStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const DataMapperStepConfigSchema: z.ZodObject<{\n mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{\n origin: z.ZodString;\n target: z.ZodString;\n }, z.core.$strip>>>;\n model: z.ZodOptional<z.ZodAny>;\n}, z.core.$strip>;"},"DcuplInstanceStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const DcuplInstanceStepConfigSchema: z.ZodObject<{\n script: z.ZodString;\n initOptions: z.ZodOptional<z.ZodAny>;\n loaderFetchOptions: z.ZodOptional<z.ZodAny>;\n processOptions: z.ZodOptional<z.ZodAny>;\n dataContainers: z.ZodOptional<z.ZodAny>;\n models: z.ZodOptional<z.ZodAny>;\n}, z.core.$strip>;"},"DcuplFilesStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const DcuplFilesStepConfigSchema: z.ZodObject<{\n auth: z.ZodObject<{\n apiKey: z.ZodString;\n }, z.core.$strip>;\n version: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n}, z.core.$strip>;"},"S3FilesStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const S3FilesStepConfigSchema: z.ZodObject<{\n auth: z.ZodObject<{\n accessKeyId: z.ZodString;\n secretAccessKey: z.ZodString;\n region: z.ZodString;\n }, z.core.$strip>;\n bucket: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n}, z.core.$strip>;"},"AzureFilesStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const AzureFilesStepConfigSchema: z.ZodObject<{\n auth: z.ZodObject<{\n connectionString: z.ZodString;\n }, z.core.$strip>;\n containerName: z.ZodString;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n }, z.core.$strip>], \"action\">>;\n}, z.core.$strip>;"},"GitFilesStepConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"export declare const GitFilesStepConfigSchema: z.ZodObject<{\n auth: z.ZodObject<{\n user: z.ZodString;\n token: z.ZodString;\n }, z.core.$strip>;\n repository: z.ZodObject<{\n user: z.ZodString;\n repo: z.ZodString;\n branch: z.ZodString;\n }, z.core.$strip>;\n message: z.ZodOptional<z.ZodString>;\n files: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{\n action: z.ZodLiteral<\"write\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n content: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"read\">;\n path: z.ZodString;\n type: z.ZodOptional<z.ZodEnum<{\n auto: \"auto\";\n json: \"json\";\n csv: \"csv\";\n text: \"text\";\n }>>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"delete\">;\n path: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"move\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>, z.ZodObject<{\n action: z.ZodLiteral<\"copy\">;\n from: z.ZodString;\n to: z.ZodString;\n message: z.ZodOptional<z.ZodString>;\n }, z.core.$strip>], \"action\">>;\n}, z.core.$strip>;"},"ResponseScriptConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Response Configuration Schemas\n *\n * Configuration schemas for different response types in V3 workflows.\n */\n/**\n * Script Response Configuration\n *\n * Returns the result of executing JavaScript code. The script has access\n * to the workflow context and can generate custom response data.\n */\nexport declare const ResponseScriptConfigSchema: z.ZodObject<{\n script: z.ZodString;\n headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;\n}, z.core.$strip>;"},"ResponseStatusConfig":{"package":"@dcupl/common-internal","version":"2.2.3","source":"/**\n * Status Response Configuration\n *\n * Returns a simple status object with workflow completion state.\n */\nexport declare const ResponseStatusConfigSchema: z.ZodObject<{}, z.core.$strip>;"},"DcuplCliConfig":{"package":"self","version":"2.0.5","source":"export type DcuplCliConfig = {\n projectId: string;\n loaderPath: string;\n modelsBasePath?: string;\n dataBasePath?: string;\n consoleApiUrl?: string;\n cdnBaseUrl?: string;\n baseFolder?: string;\n transformerBasePath?: string;\n scriptsBasePath?: string;\n operatorBasePath?: string;\n testing?: DcuplCliTestingConfig;\n openBrowser?: boolean;\n filesUpload?: {\n include?: string[];\n exclude?: string[];\n };\n};\n\nexport type DcuplCliTestingConfig = {\n baseFolder?: string;\n customTests?: string;\n testConfigs?: string;\n};"}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcupl/cli",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "The official dcupl CLI",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -10,8 +10,9 @@
10
10
  "dcupl": "bin/dcupl"
11
11
  },
12
12
  "scripts": {
13
- "build": "npm run clean && tsc && npm run build:copy-examples",
13
+ "build": "npm run clean && tsc && npm run build:copy-examples && npm run build:schemas",
14
14
  "build:copy-examples": "node scripts/copy-examples.js",
15
+ "build:schemas": "node scripts/build-schemas.js",
15
16
  "build:watch": "npm run clean && tsc -w",
16
17
  "clean": "rm -rf dist",
17
18
  "global": "npm i -g && dcupl",
@@ -58,15 +59,16 @@
58
59
  "eslint-config-prettier": "^10.1.8",
59
60
  "globals": "^16.5.0",
60
61
  "prettier": "2.8.8",
62
+ "ts-morph": "^28.0.0",
61
63
  "tsx": "^4.21.0",
62
64
  "typescript": "~5.9",
63
65
  "vitest": "^4.1.11"
64
66
  },
65
67
  "dependencies": {
66
- "@dcupl/common": "2.1.0",
67
- "@dcupl/common-internal": "2.1.0",
68
- "@dcupl/core": "2.1.0",
69
- "@dcupl/loader": "2.1.0",
68
+ "@dcupl/common": "2.2.3",
69
+ "@dcupl/common-internal": "2.2.3",
70
+ "@dcupl/core": "2.2.3",
71
+ "@dcupl/loader": "2.2.3",
70
72
  "@nestjs/common": "^12.3.2",
71
73
  "@nestjs/core": "^12.3.2",
72
74
  "@nestjs/platform-express": "^12.3.2",
@@ -93,7 +95,6 @@
93
95
  "rxjs": "^7.8.2",
94
96
  "semver": "^7.8.5",
95
97
  "serve-favicon": "^2.5.0",
96
- "ts-morph": "^28.0.0",
97
98
  "yargs": "^18.0.0"
98
99
  }
99
100
  }