@uipath/maestro-builder-sdk 6.14.1 → 6.14.3

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.
package/dist/api-index.md CHANGED
@@ -57,13 +57,13 @@ could hand you spans for a version you do not have.
57
57
  | `apiWorkflow` | function | `dist/core/actions.d.ts:2788-2822` | Actions | Invoke a deployed API workflow — a coded workflow published to Orchestrator, run as a serverless job rather than by a… |
58
58
  | `ApiWorkflowInputs` | interface | `dist/core/actions.d.ts:1010-1041` | Option shapes | 5 field(s) |
59
59
  | `AppRef` | interface | `dist/core/actions.d.ts:503-548` | Supporting types | A deployed Action App that supplies a human task's form — the `'action-app'` variant's subject. |
60
- | `ArmBuilder` | class | `dist/flow-sdk.d.ts:1092-1115` | Builders | The sub-builder an ARM callback receives — a `StepList` that can also name itself with `.label(...)`. |
60
+ | `ArmBuilder` | class | `dist/flow-sdk.d.ts:1091-1114` | Builders | The sub-builder an ARM callback receives — a `StepList` that can also name itself with `.label(...)`. |
61
61
  | `AskedField` | interface | `dist/core/actions.d.ts:351-361` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
62
62
  | `batchTransform` | function | `dist/core/actions.d.ts:2591-2625` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
63
63
  | `BatchTransformInputs` | interface | `dist/core/actions.d.ts:834-849` | Option shapes | 4 field(s) |
64
64
  | `BindingContribution` | interface | `dist/core/node-classes.d.ts:76-97` | Supporting types | A resource binding a contribution hoists to the flow's top-level `bindings` array — the shape the `.flow` format… |
65
- | `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:621-633` | Supporting types | One additional flow root, built by `.entryPoint()`. |
66
- | `BuiltFlow` | interface | `dist/flow-sdk.d.ts:634-669` | Supporting types | 15 field(s) |
65
+ | `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:620-632` | Supporting types | One additional flow root, built by `.entryPoint()`. |
66
+ | `BuiltFlow` | interface | `dist/flow-sdk.d.ts:633-668` | Supporting types | 15 field(s) |
67
67
  | `BuiltinToolName` | type | `dist/core/actions.d.ts:1637-1638` | Supporting types | The three platform-shipped built-in tools (fixed registry types). |
68
68
  | `BuiltinToolRef` | interface | `dist/core/actions.d.ts:1770-1790` | Supporting types | A platform built-in tool. |
69
69
  | `BuiltInValidatorGuardrail` | interface | `dist/core/actions.d.ts:1339-1380` | Supporting types | A platform-shipped validator, configured by parameters. |
@@ -111,10 +111,10 @@ could hand you spans for a version you do not have.
111
111
  | `documentClassify` | function | `dist/core/actions.d.ts:3126-3134` | Actions | Classify a document into a document type (`uipath.document.classify`). |
112
112
  | `DocumentClassifyInputs` | interface | `dist/core/actions.d.ts:2269-2278` | Option shapes | 4 field(s) |
113
113
  | `DocValidationInputs` | interface | `dist/core/actions.d.ts:441-464` | Option shapes | The Document Validation task's subject — `variant: 'document-validation'` only. |
114
- | `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:408-417` | Option shapes | Do-while options. |
114
+ | `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:407-416` | Option shapes | Do-while options. |
115
115
  | `dynamicExtract` | function | `dist/core/actions.d.ts:3135-3145` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
116
116
  | `DynamicExtractInputs` | interface | `dist/core/actions.d.ts:2279-2313` | Option shapes | 5 field(s) |
117
- | `EdgeRoute` | interface | `dist/flow-sdk.d.ts:545-559` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
117
+ | `EdgeRoute` | interface | `dist/flow-sdk.d.ts:544-558` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
118
118
  | `endCall` | function | `dist/core/actions.d.ts:2916-2923` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
119
119
  | `EndCallInputs` | interface | `dist/core/actions.d.ts:729-736` | Option shapes | 1 field(s) |
120
120
  | `entryInput` | function | `dist/core/expr.d.ts:56-66` | Expressions and types | Reference an ENTRY POINT's scoped input: `entryInput('nightly', 'batchDate')` reads `$vars.nightly.output.batchDate` —… |
@@ -128,11 +128,11 @@ could hand you spans for a version you do not have.
128
128
  | `FilterCondition` | type | `dist/core/actions.d.ts:230-231` | Supporting types | Comparison a filter rule applies to a field. |
129
129
  | `FilterMatch` | type | `dist/core/actions.d.ts:228-229` | Supporting types | How a filter combines its rules: every rule must match, or any one. |
130
130
  | `FilterRule` | interface | `dist/core/actions.d.ts:232-244` | Supporting types | 3 field(s) |
131
- | `flow` | function | `dist/flow-sdk.d.ts:1347-1362` | Flow construction | Start building a flow with the given id. |
131
+ | `flow` | function | `dist/flow-sdk.d.ts:1346-1361` | Flow construction | Start building a flow with the given id. |
132
132
  | `FlowAction` | class | `dist/core/node-classes.d.ts:158-164` | Supporting types | A node placed as a step — pass an instance to `.step(name, …)`. |
133
133
  | `FlowActionSpec` | type | `dist/flow-sdk.d.ts:41-42` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
134
- | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1116-1346` | Builders | 13 member(s) |
135
- | `FlowLayout` | interface | `dist/flow-sdk.d.ts:607-620` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
134
+ | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1115-1345` | Builders | 13 member(s) |
135
+ | `FlowLayout` | interface | `dist/flow-sdk.d.ts:606-619` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
136
136
  | `FlowNode` | class | `dist/core/node-classes.d.ts:122-157` | Supporting types | The abstract root of every definition-backed node the builder can place. |
137
137
  | `FlowResource` | class | `dist/core/node-classes.d.ts:172-179` | Supporting types | A node attached to another semantic node — an inline agent's tool, context, memory, or escalation. |
138
138
  | `FlowTrigger` | class | `dist/core/node-classes.d.ts:165-171` | Supporting types | A node that starts the flow — pass an instance to `.trigger(…)`. |
@@ -180,12 +180,12 @@ could hand you spans for a version you do not have.
180
180
  | `lookupSpecOf` | function | `dist/core/lookups.d.ts:199-206` | Generated descriptors | The LookupSpec for one field, or `undefined` when it earns no helper. |
181
181
  | `LookupStrategy` | type | `dist/core/lookups.d.ts:1-10` | Generated descriptors | How `prepare` should retrieve the collection, chosen from the metadata. |
182
182
  | `LookupToken` | interface | `dist/core/lookups.d.ts:37-52` | Generated descriptors | An unresolved lookup: what `.byEmail(…)` returns. |
183
- | `LoopOptions` | interface | `dist/flow-sdk.d.ts:386-407` | Option shapes | Loop-specific options. |
183
+ | `LoopOptions` | interface | `dist/flow-sdk.d.ts:386-406` | Option shapes | Loop-specific options. |
184
184
  | `manual` | function | `dist/flow-sdk.d.ts:130-139` | Flow construction | The manual trigger, explicitly. |
185
185
  | `McpToolRef` | interface | `dist/core/actions.d.ts:1649-1677` | Supporting types | An MCP server the agent may call tools on. |
186
186
  | `mock` | function | `dist/core/actions.d.ts:2703-2742` | Actions | Declare a PLACEHOLDER step — "a real node goes here later". |
187
187
  | `NodeContribution` | interface | `dist/core/node-classes.d.ts:98-121` | Supporting types | One validated construct, returned by FlowNode.contribute. |
188
- | `NodeLayout` | interface | `dist/flow-sdk.d.ts:530-544` | Supporting types | One node's designer layout: canvas position, and optionally size and collapsed state. |
188
+ | `NodeLayout` | interface | `dist/flow-sdk.d.ts:529-543` | Supporting types | One node's designer layout: canvas position, and optionally size and collapsed state. |
189
189
  | `NodeOptions` | interface | `dist/flow-sdk.d.ts:308-353` | Option shapes | Options shared by every builder method that creates a definition-backed node: `version` selects the exact node… |
190
190
  | `onEvent` | function | `dist/flow-sdk.d.ts:140-177` | Flow construction | Start the flow when a connector event fires — e.g. an email arriving in a mailbox folder. |
191
191
  | `onEvent` | function | `dist/flow-sdk.d.ts:178-185` | Flow construction | Stringly form, for an event with no prepared module. |
@@ -222,12 +222,12 @@ could hand you spans for a version you do not have.
222
222
  | `sendMessage` | function | `dist/core/actions.d.ts:2848-2866` | Actions | Post an assistant message into a live conversation (`uipath.conversational.send-message`). |
223
223
  | `SendMessageInputs` | interface | `dist/core/actions.d.ts:621-640` | Option shapes | 4 field(s) |
224
224
  | `ShownField` | interface | `dist/core/actions.d.ts:335-350` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
225
- | `Step` | type | `dist/flow-sdk.d.ts:418-529` | Supporting types | |
226
- | `StepList` | class | `dist/flow-sdk.d.ts:670-1091` | Builders | Collects a sequence of steps. |
227
- | `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:560-565` | Flow construction | The designer's sticky-note palette. |
228
- | `StickyNote` | interface | `dist/flow-sdk.d.ts:572-606` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
229
- | `StickyNoteColor` | type | `dist/flow-sdk.d.ts:566-571` | Supporting types | A sticky note's swatch. |
230
- | `subflow` | function | `dist/flow-sdk.d.ts:1363-1402` | Flow construction | Run another flow as one step, and read back what it returns. |
225
+ | `Step` | type | `dist/flow-sdk.d.ts:417-528` | Supporting types | |
226
+ | `StepList` | class | `dist/flow-sdk.d.ts:669-1090` | Builders | Collects a sequence of steps. |
227
+ | `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:559-564` | Flow construction | The designer's sticky-note palette. |
228
+ | `StickyNote` | interface | `dist/flow-sdk.d.ts:571-605` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
229
+ | `StickyNoteColor` | type | `dist/flow-sdk.d.ts:565-570` | Supporting types | A sticky note's swatch. |
230
+ | `subflow` | function | `dist/flow-sdk.d.ts:1362-1401` | Flow construction | Run another flow as one step, and read back what it returns. |
231
231
  | `SubflowSpec` | interface | `dist/flow-sdk.d.ts:33-40` | Supporting types | A step that runs a child flow. |
232
232
  | `summarize` | function | `dist/core/actions.d.ts:2550-2590` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
233
233
  | `SummarizeInputs` | interface | `dist/core/actions.d.ts:794-826` | Option shapes | 3 field(s) |
@@ -63,7 +63,7 @@ not find it either.
63
63
  | `app` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1216-1217` |
64
64
  | `appSystemName` | property | `AppRef` | `dist/core/actions.d.ts:533-538` |
65
65
  | `appVersion` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1218-1219` |
66
- | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1104` |
66
+ | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1103` |
67
67
  | `assignee` | property | `HitlRecipient` | `dist/core/actions.d.ts:423-434` |
68
68
  | `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1160-1164` |
69
69
  | `atRiskPercentage` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:132-137` |
@@ -93,14 +93,14 @@ not find it either.
93
93
  | `body` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:176-181` |
94
94
  | `body` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:207-208` |
95
95
  | `boundaryEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2083-2090` |
96
- | `branch` | method | `StepList` | `dist/flow-sdk.d.ts:865-883` |
96
+ | `branch` | method | `StepList` | `dist/flow-sdk.d.ts:864-882` |
97
97
  | `branches` | property | `HttpInputsBase` | `dist/core/actions.d.ts:31-36` |
98
- | `break` | method | `StepList` | `dist/flow-sdk.d.ts:991-1000` |
99
- | `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:415-416` |
100
- | `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:402-406` |
98
+ | `break` | method | `StepList` | `dist/flow-sdk.d.ts:990-999` |
99
+ | `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:414-415` |
100
+ | `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:401-405` |
101
101
  | `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3366-3371` |
102
102
  | `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1269-1274` |
103
- | `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1339-1345` |
103
+ | `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1338-1344` |
104
104
  | `businessRule` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2358-2404` |
105
105
  | `by` | property | `LookupResolution` | `dist/core/lookups.d.ts:164` |
106
106
  | `by` | property | `LookupSpec` | `dist/core/lookups.d.ts:27-28` |
@@ -122,13 +122,13 @@ not find it either.
122
122
  | `code` | property | `ErrorDecl` | `dist/bpmn/bpmn-sdk.d.ts:430-431` |
123
123
  | `code` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:290-298` |
124
124
  | `code` | property | `ScriptInputs` | `dist/core/actions.d.ts:150-151` |
125
- | `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:542-543` |
125
+ | `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:541-542` |
126
126
  | `collection` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:78-79` |
127
127
  | `collection` | property | `TransformInputs` | `dist/core/actions.d.ts:305-315` |
128
- | `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:596-597` |
128
+ | `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:595-596` |
129
129
  | `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1249-1259` |
130
130
  | `completion` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:84-85` |
131
- | `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:397-401` |
131
+ | `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:396-400` |
132
132
  | `condition` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:341-342` |
133
133
  | `condition` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:305-311` |
134
134
  | `condition` | property | `FilterRule` | `dist/core/actions.d.ts:235` |
@@ -156,7 +156,7 @@ not find it either.
156
156
  | `connector` | property | `TriggerMeta` | `dist/core/connectors.d.ts:122-123` |
157
157
  | `connectorKey` | property | `WaitConnectorPlaceholderSpec` | `dist/case/case-sdk.d.ts:366-367` |
158
158
  | `content` | property | `SendMessageInputs` | `dist/core/actions.d.ts:633-634` |
159
- | `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:594-595` |
159
+ | `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:593-594` |
160
160
  | `contentType` | property | `HttpInputsBase` | `dist/core/actions.d.ts:42` |
161
161
  | `context` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1370-1371` |
162
162
  | `context` | property | `ConversationalAgentSettings` | `dist/core/actions.d.ts:671-672` |
@@ -194,7 +194,7 @@ not find it either.
194
194
  | `dependsOn` | property | `LookupSpec` | `dist/core/lookups.d.ts:34-35` |
195
195
  | `description` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1758` |
196
196
  | `description` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:633` |
197
- | `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:637-638` |
197
+ | `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:636-637` |
198
198
  | `description` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:1778-1779` |
199
199
  | `description` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:1345` |
200
200
  | `description` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:525` |
@@ -205,7 +205,7 @@ not find it either.
205
205
  | `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:1332` |
206
206
  | `description` | property | `EscalationRef` | `dist/core/actions.d.ts:1901-1902` |
207
207
  | `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:241` |
208
- | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1140-1147` |
208
+ | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1139-1146` |
209
209
  | `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1725` |
210
210
  | `description` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:933-940` |
211
211
  | `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:1879-1880` |
@@ -246,11 +246,11 @@ not find it either.
246
246
  | `displayName` | property | `TriggerMeta` | `dist/core/connectors.d.ts:127-128` |
247
247
  | `document` | property | `HitlInputs` | `dist/core/actions.d.ts:615-619` |
248
248
  | `documentId` | property | `DocValidationInputs` | `dist/core/actions.d.ts:455-456` |
249
- | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:966-990` |
249
+ | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:965-989` |
250
250
  | `dueDate` | property | `QueueItemInputs` | `dist/core/actions.d.ts:2024-2025` |
251
251
  | `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:32-33` |
252
252
  | `dynamicFewShotLearning` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1761-1762` |
253
- | `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:618-619` |
253
+ | `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:617-618` |
254
254
  | `element` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1463-1464` |
255
255
  | `element` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:80-81` |
256
256
  | `elementId` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:369-376` |
@@ -268,12 +268,12 @@ not find it either.
268
268
  | `entity` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1050-1051` |
269
269
  | `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:528` |
270
270
  | `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:520` |
271
- | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1203-1239` |
271
+ | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1202-1238` |
272
272
  | `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:525-530` |
273
- | `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:660-661` |
273
+ | `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:659-660` |
274
274
  | `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1004-1011` |
275
275
  | `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:947-956` |
276
- | `err` | method | `StepList` | `dist/flow-sdk.d.ts:678-703` |
276
+ | `err` | method | `StepList` | `dist/flow-sdk.d.ts:677-702` |
277
277
  | `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:741-745` |
278
278
  | `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:687-697` |
279
279
  | `error` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1686-1691` |
@@ -390,7 +390,7 @@ not find it either.
390
390
  | `headers` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1098-1099` |
391
391
  | `headers` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1730-1734` |
392
392
  | `height` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:606-607` |
393
- | `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:604-605` |
393
+ | `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:603-604` |
394
394
  | `hidden` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:27` |
395
395
  | `hidden` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:61` |
396
396
  | `http` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2210-2244` |
@@ -404,8 +404,8 @@ not find it either.
404
404
  | `id` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:359-360` |
405
405
  | `id` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:482-483` |
406
406
  | `id` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:624` |
407
- | `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:623-624` |
408
- | `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:635` |
407
+ | `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:622-623` |
408
+ | `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:634` |
409
409
  | `id` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:1341-1342` |
410
410
  | `id` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:576-577` |
411
411
  | `id` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1958-1963` |
@@ -420,7 +420,7 @@ not find it either.
420
420
  | `id` | property | `PinnedFlowId` | `dist/bpmn/bpmn-sdk.d.ts:1474-1475` |
421
421
  | `id` | property | `SchemaEntry` | `dist/bpmn/bpmn-sdk.d.ts:961-962` |
422
422
  | `id` | property | `ShownField` | `dist/core/actions.d.ts:337-338` |
423
- | `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:584-593` |
423
+ | `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:583-592` |
424
424
  | `id` | property | `VarEntry` | `dist/bpmn/bpmn-sdk.d.ts:952-953` |
425
425
  | `identifier` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:634` |
426
426
  | `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1102-1109` |
@@ -430,7 +430,7 @@ not find it either.
430
430
  | `inclusive` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1664-1668` |
431
431
  | `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2110-2117` |
432
432
  | `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1160-1185` |
433
- | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1314-1321` |
433
+ | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1313-1320` |
434
434
  | `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1234-1235` |
435
435
  | `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1137-1138` |
436
436
  | `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2899-2907` |
@@ -443,8 +443,8 @@ not find it either.
443
443
  | `inputs` | property | `AgentInputs` | `dist/core/actions.d.ts:1200-1217` |
444
444
  | `inputs` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:1023-1027` |
445
445
  | `inputs` | property | `AppRef` | `dist/core/actions.d.ts:539-547` |
446
- | `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:629-630` |
447
- | `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:647` |
446
+ | `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:628-629` |
447
+ | `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:646` |
448
448
  | `inputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:516-517` |
449
449
  | `inputs` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:1710-1711` |
450
450
  | `inputs` | property | `ExternalTaskOptions` | `dist/case/case-sdk.d.ts:399-400` |
@@ -502,7 +502,7 @@ not find it either.
502
502
  | `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:35` |
503
503
  | `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:99-100` |
504
504
  | `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1765-1766` |
505
- | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1105-1114` |
505
+ | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1104-1113` |
506
506
  | `label` | property | `AskedField` | `dist/core/actions.d.ts:355-356` |
507
507
  | `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:523` |
508
508
  | `label` | property | `InOutField` | `dist/core/actions.d.ts:371-372` |
@@ -514,17 +514,17 @@ not find it either.
514
514
  | `labels` | property | `HitlInputs` | `dist/core/actions.d.ts:591-592` |
515
515
  | `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:527` |
516
516
  | `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:646-647` |
517
- | `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:656-657` |
517
+ | `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:655-656` |
518
518
  | `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1139-1159` |
519
- | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1148-1158` |
519
+ | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1147-1157` |
520
520
  | `limit` | property | `DataFabricReadInputs` | `dist/core/actions.d.ts:2145-2150` |
521
- | `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:413-414` |
521
+ | `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:412-413` |
522
522
  | `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
523
523
  | `location` | property | `AgentInputs` | `dist/core/actions.d.ts:1176-1181` |
524
524
  | `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
525
525
  | `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:326-327` |
526
526
  | `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:823-824` |
527
- | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:954-965` |
527
+ | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:953-964` |
528
528
  | `managed` | property | `HttpInputsBase` | `dist/core/actions.d.ts:43-73` |
529
529
  | `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:354` |
530
530
  | `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:321` |
@@ -592,7 +592,7 @@ not find it either.
592
592
  | `name` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:361-362` |
593
593
  | `name` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:484-485` |
594
594
  | `name` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:625` |
595
- | `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:636` |
595
+ | `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:635` |
596
596
  | `name` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:1344` |
597
597
  | `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:501-502` |
598
598
  | `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:198-199` |
@@ -612,7 +612,7 @@ not find it either.
612
612
  | `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1684-1685` |
613
613
  | `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:240` |
614
614
  | `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1343-1344` |
615
- | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1132-1139` |
615
+ | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1131-1138` |
616
616
  | `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:1481-1482` |
617
617
  | `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:751-752` |
618
618
  | `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:1579-1580` |
@@ -657,7 +657,7 @@ not find it either.
657
657
  | `name` | property | `VarDecl` | `dist/flow-sdk.d.ts:48` |
658
658
  | `name` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1488-1489` |
659
659
  | `nodes` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:494-495` |
660
- | `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:616-617` |
660
+ | `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:615-616` |
661
661
  | `nodes` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1779-1780` |
662
662
  | `nodeType` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:62` |
663
663
  | `nodeType` | property | `LookupResolution` | `dist/core/lookups.d.ts:162` |
@@ -673,7 +673,7 @@ not find it either.
673
673
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3142-3149` |
674
674
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3150-3157` |
675
675
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3158-3166` |
676
- | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:757-818` |
676
+ | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:756-817` |
677
677
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3185-3193` |
678
678
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3194-3202` |
679
679
  | `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3167-3175` |
@@ -684,14 +684,14 @@ not find it either.
684
684
  | `operations` | property | `TransformInputs` | `dist/core/actions.d.ts:326-327` |
685
685
  | `operator` | property | `DataFabricFilter` | `dist/core/actions.d.ts:2079-2080` |
686
686
  | `options` | property | `ActionField` | `dist/case/case-sdk.d.ts:445-449` |
687
- | `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:627-628` |
687
+ | `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:626-627` |
688
688
  | `or` | property | `DataFabricFilter` | `dist/core/actions.d.ts:2088-2100` |
689
689
  | `origin` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:1770-1775` |
690
690
  | `outcomePorts` | property | `HitlInputs` | `dist/core/actions.d.ts:593-607` |
691
691
  | `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:1935-1940` |
692
692
  | `outcomes` | property | `HitlInputs` | `dist/core/actions.d.ts:574-588` |
693
693
  | `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1186-1198` |
694
- | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1322-1328` |
694
+ | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1321-1327` |
695
695
  | `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:90` |
696
696
  | `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2908-2916` |
697
697
  | `outputColumns` | property | `BatchTransformInputs` | `dist/core/actions.d.ts:842-846` |
@@ -700,7 +700,7 @@ not find it either.
700
700
  | `outputRows` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:876-885` |
701
701
  | `outputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:464-465` |
702
702
  | `outputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1408-1409` |
703
- | `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:648` |
703
+ | `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:647` |
704
704
  | `outputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:518-519` |
705
705
  | `outputs` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1327-1337` |
706
706
  | `outputs` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:248-262` |
@@ -726,8 +726,8 @@ not find it either.
726
726
  | `pageRange` | property | `DocumentClassifyInputs` | `dist/core/actions.d.ts:2272-2273` |
727
727
  | `pageRange` | property | `DynamicExtractInputs` | `dist/core/actions.d.ts:2309-2310` |
728
728
  | `pageRange` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:922-923` |
729
- | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:395-396` |
730
- | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:918-953` |
729
+ | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:394-395` |
730
+ | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:917-952` |
731
731
  | `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2100-2109` |
732
732
  | `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1323-1324` |
733
733
  | `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1100-1101` |
@@ -746,7 +746,7 @@ not find it either.
746
746
  | `pinnedFlowIds` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:1795-1802` |
747
747
  | `plainTask` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2146-2175` |
748
748
  | `position` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:592-596` |
749
- | `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:532-536` |
749
+ | `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:531-535` |
750
750
  | `preservation` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:502-503` |
751
751
  | `preserve` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3215-3230` |
752
752
  | `priority` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:453` |
@@ -822,7 +822,7 @@ not find it either.
822
822
  | `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:821-822` |
823
823
  | `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:299-300` |
824
824
  | `retryCount` | property | `HttpInputsBase` | `dist/core/actions.d.ts:115-129` |
825
- | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1081-1090` |
825
+ | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1080-1089` |
826
826
  | `returnCitations` | property | `SummarizeInputs` | `dist/core/actions.d.ts:820-825` |
827
827
  | `returns` | property | `AgentInputs` | `dist/core/actions.d.ts:1218-1237` |
828
828
  | `returns` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:1028-1040` |
@@ -838,7 +838,7 @@ not find it either.
838
838
  | `role` | property | `FlowNode` | `dist/core/node-classes.d.ts:138-139` |
839
839
  | `role` | property | `FlowResource` | `dist/core/node-classes.d.ts:177-178` |
840
840
  | `role` | property | `FlowTrigger` | `dist/core/node-classes.d.ts:169-170` |
841
- | `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:553-558` |
841
+ | `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:552-557` |
842
842
  | `rpa` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:751-760` |
843
843
  | `rule` | property | `CaseRule` | `dist/case/case-sdk.d.ts:80` |
844
844
  | `rules` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:355` |
@@ -860,9 +860,9 @@ not find it either.
860
860
  | `schemas` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3316-3326` |
861
861
  | `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:500-501` |
862
862
  | `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3258-3287` |
863
- | `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:640-646` |
863
+ | `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:639-645` |
864
864
  | `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1068-1094` |
865
- | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1274-1313` |
865
+ | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1273-1312` |
866
866
  | `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:121` |
867
867
  | `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:1278` |
868
868
  | `script` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:837-842` |
@@ -884,7 +884,7 @@ not find it either.
884
884
  | `set` | property | `TaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:921-930` |
885
885
  | `settings` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:691-697` |
886
886
  | `severity` | property | `ContributionDiagnostic` | `dist/core/node-classes.d.ts:27-28` |
887
- | `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:537-541` |
887
+ | `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:536-540` |
888
888
  | `skip` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:515` |
889
889
  | `skip` | property | `DataFabricReadInputs` | `dist/core/actions.d.ts:2151-2152` |
890
890
  | `skipCondition` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1442-1443` |
@@ -930,16 +930,16 @@ not find it either.
930
930
  | `startName` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1731-1732` |
931
931
  | `startPayload` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1733-1734` |
932
932
  | `startProcess` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2295-2314` |
933
- | `step` | method | `StepList` | `dist/flow-sdk.d.ts:704-714` |
934
- | `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:631-632` |
935
- | `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:650` |
936
- | `steps` | property | `StepList` | `dist/flow-sdk.d.ts:672` |
937
- | `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:715-756` |
938
- | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:832-856` |
939
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1032-1060` |
940
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1061-1080` |
941
- | `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:658-659` |
942
- | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1159-1184` |
933
+ | `step` | method | `StepList` | `dist/flow-sdk.d.ts:703-713` |
934
+ | `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:630-631` |
935
+ | `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:649` |
936
+ | `steps` | property | `StepList` | `dist/flow-sdk.d.ts:671` |
937
+ | `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:714-755` |
938
+ | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:831-855` |
939
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1031-1059` |
940
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1060-1079` |
941
+ | `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:657-658` |
942
+ | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1158-1183` |
943
943
  | `storageBucket` | property | `DocValidationInputs` | `dist/core/actions.d.ts:453-454` |
944
944
  | `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
945
945
  | `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:597-598` |
@@ -951,7 +951,7 @@ not find it either.
951
951
  | `subType` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1553-1558` |
952
952
  | `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:70-71` |
953
953
  | `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:585-586` |
954
- | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:884-917` |
954
+ | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:883-916` |
955
955
  | `systemPrompt` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:683-688` |
956
956
  | `systemPrompt` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1391-1441` |
957
957
  | `systemPrompt` | property | `VoiceAgentInputs` | `dist/core/actions.d.ts:761-766` |
@@ -976,7 +976,7 @@ not find it either.
976
976
  | `temperature` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1502-1503` |
977
977
  | `temperature` | property | `VoiceSettings` | `dist/core/actions.d.ts:753-754` |
978
978
  | `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:683-684` |
979
- | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1001-1031` |
979
+ | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1000-1030` |
980
980
  | `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1978-1979` |
981
981
  | `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:201-202` |
982
982
  | `timeout` | property | `HttpInputsBase` | `dist/core/actions.d.ts:97-114` |
@@ -995,16 +995,16 @@ not find it either.
995
995
  | `tool` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:1776-1777` |
996
996
  | `tools` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1587-1608` |
997
997
  | `transformation` | property | `FieldMapping` | `dist/core/actions.d.ts:250-251` |
998
- | `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:625-626` |
999
- | `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:651-653` |
998
+ | `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:624-625` |
999
+ | `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:650-652` |
1000
1000
  | `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1224-1232` |
1001
1001
  | `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:128-129` |
1002
- | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1185-1202` |
1002
+ | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1184-1201` |
1003
1003
  | `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:615-662` |
1004
1004
  | `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:936-937` |
1005
- | `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:662-668` |
1006
- | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1240-1259` |
1007
- | `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:654-655` |
1005
+ | `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:661-667` |
1006
+ | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1239-1258` |
1007
+ | `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:653-654` |
1008
1008
  | `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:644-645` |
1009
1009
  | `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:620-621` |
1010
1010
  | `type` | property | `ActionField` | `dist/case/case-sdk.d.ts:435-436` |
@@ -1059,7 +1059,7 @@ not find it either.
1059
1059
  | `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:205-206` |
1060
1060
  | `values` | property | `DataFabricCreateInputs` | `dist/core/actions.d.ts:2182-2187` |
1061
1061
  | `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1199-1223` |
1062
- | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1329-1338` |
1062
+ | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1328-1337` |
1063
1063
  | `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2890-2898` |
1064
1064
  | `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:494-495` |
1065
1065
  | `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:251-252` |
@@ -1069,12 +1069,12 @@ not find it either.
1069
1069
  | `variant` | property | `HitlInputs` | `dist/core/actions.d.ts:550-554` |
1070
1070
  | `variant` | property | `TransformInputs` | `dist/core/actions.d.ts:316-325` |
1071
1071
  | `vars` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:640` |
1072
- | `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:649` |
1072
+ | `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:648` |
1073
1073
  | `vars` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2917-2942` |
1074
1074
  | `vars` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1783-1784` |
1075
1075
  | `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:257-271` |
1076
1076
  | `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:626-632` |
1077
- | `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:639` |
1077
+ | `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:638` |
1078
1078
  | `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1057-1067` |
1079
1079
  | `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1314-1315` |
1080
1080
  | `version` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:63` |
@@ -1082,7 +1082,7 @@ not find it either.
1082
1082
  | `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1803-1804` |
1083
1083
  | `version` | property | `EventSubscription` | `dist/core/actions.d.ts:3448` |
1084
1084
  | `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1351-1352` |
1085
- | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1260-1273` |
1085
+ | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1259-1272` |
1086
1086
  | `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:314-321` |
1087
1087
  | `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:126` |
1088
1088
  | `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:3408-3409` |
@@ -1096,12 +1096,12 @@ not find it either.
1096
1096
  | `waitForConnector` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:869-876` |
1097
1097
  | `waitForEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2519-2560` |
1098
1098
  | `waitForTimer` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:877-883` |
1099
- | `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:547-552` |
1099
+ | `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:546-551` |
1100
1100
  | `when` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:176-182` |
1101
1101
  | `where` | property | `EventSubscription` | `dist/core/actions.d.ts:3417-3435` |
1102
1102
  | `where` | property | `TriggerOptions` | `dist/core/actions.d.ts:3373-3390` |
1103
1103
  | `width` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:604-605` |
1104
- | `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:602-603` |
1105
- | `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:598-599` |
1106
- | `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:600-601` |
1104
+ | `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:601-602` |
1105
+ | `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:597-598` |
1106
+ | `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:599-600` |
1107
1107
  | `zIndex` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:608-609` |
package/dist/check.js CHANGED
@@ -92,9 +92,9 @@ function checkFlow(built, ancestors, opts = {}) {
92
92
  * checkable at all — see ERROR_ENVELOPE_VIA_OUTPUT.
93
93
  */
94
94
  const exprs = [];
95
- // Loop step names, so `$vars.<loop>.<field>` can be checked against the loop
96
- // node's actual output fields (see LOOP_FIELDS below).
97
- const loopNames = new Set();
95
+ // Loop step names, each with the output fields its node version exposes, so
96
+ // `$vars.<loop>.<field>` can be checked against them (see LOOP_FIELDS below).
97
+ const loopNames = new Map();
98
98
  // Switch step names. A switch is pure routing — its definition carries
99
99
  // `outputDefinition: null`, so it publishes NOTHING; reading `$vars.<switch>`
100
100
  // is always undefined at run time (see SWITCH_HAS_NO_OUTPUT below).
@@ -649,7 +649,7 @@ function checkFlow(built, ancestors, opts = {}) {
649
649
  checkLoopListEnvelope(s, connectorSteps, opts, diags);
650
650
  if (s.options?.completionCondition)
651
651
  addExpr(s.options.completionCondition.js, s.name);
652
- loopNames.add(s.name);
652
+ loopNames.set(s.name, s.options?.version === '1.0.0' ? LOOP_FIELDS_1_0_0 : LOOP_FIELDS);
653
653
  if (s.body.length === 0)
654
654
  diags.push({ level: 'warning', code: 'EMPTY_LOOP', message: `Loop "${s.name}" has an empty body.`, step: s.name });
655
655
  walk(s.body, true);
@@ -660,7 +660,7 @@ function checkFlow(built, ancestors, opts = {}) {
660
660
  // but no error handle.
661
661
  prevPortSource = s;
662
662
  addExpr(s.condition.js, s.name);
663
- loopNames.add(s.name);
663
+ loopNames.set(s.name, LOOP_FIELDS_1_0_0);
664
664
  // The platform's dowhile-limit rule: 1..10000 when set; blank = 10,000.
665
665
  const limit = s.options?.limit;
666
666
  if (limit !== undefined && (!Number.isFinite(limit) || limit < 1 || limit > 10000)) {
@@ -1178,14 +1178,24 @@ function checkFlow(built, ancestors, opts = {}) {
1178
1178
  // A loop step exposes a fixed set of fields, and only those resolve at run
1179
1179
  // time — `$vars.<loop>.item` reads undefined rather than the iteration
1180
1180
  // item. Catch the wrong spelling here, in the fast loop.
1181
- if (loopNames.has(name) && field && !LOOP_FIELDS.has(field)) {
1181
+ const loopFields = loopNames.get(name);
1182
+ if (loopFields && field && !loopFields.has(field)) {
1183
+ // `currentIndex` (0-based) is the 1.0.0 name; loop 2.x renamed it to
1184
+ // `currentIteration` (1-based). The platform's converter rewrites only
1185
+ // `currentItem` / `currentIteration` / `collection`, so the old name on a
1186
+ // 2.4 loop reads undefined at run time — no error, just a wrong value.
1187
+ const renamed = field === 'currentIndex' && loopFields.has('currentIteration');
1182
1188
  diags.push({
1183
1189
  level: 'error',
1184
1190
  code: 'UNKNOWN_LOOP_FIELD',
1185
1191
  message: `Loop "${name}" has no output "${field}" (read as "$vars.${name}.${field}" in "${step}"). `
1186
- + `A loop exposes: ${[...LOOP_FIELDS].join(', ')}.`,
1192
+ + `A loop exposes: ${[...loopFields].join(', ')}.`
1193
+ + (renamed
1194
+ ? ' `currentIndex` (0-based) is the legacy loop 1.0.0 output; loop 2.4 — the default — names it '
1195
+ + '`currentIteration` and counts from 1, so a 0-based index is `currentIteration - 1`.'
1196
+ : ''),
1187
1197
  step,
1188
- suggestion: `$vars.${name}.currentItem`,
1198
+ suggestion: renamed ? `$vars.${name}.currentIteration - 1` : `$vars.${name}.currentItem`,
1189
1199
  });
1190
1200
  }
1191
1201
  }
@@ -5330,11 +5340,18 @@ function checkCaseValueTypes(s, typeOf, diags, triggerId) {
5330
5340
  }
5331
5341
  }
5332
5342
  /**
5333
- * The outputs a `core.logic.loop` node exposes. `currentItem`/`currentIndex` are
5334
- * the per-iteration values a body reads; `collection` is what it iterates;
5335
- * `output` is the aggregate (after the loop) and `error` the failure detail.
5343
+ * The outputs a `core.logic.loop@2.4` node — the `.loop()` default — exposes.
5344
+ * `currentItem`/`currentIteration` (1-based) are the per-iteration values a body
5345
+ * reads; `collection` is what it iterates; `output` is the aggregate (after the
5346
+ * loop) and `error` the failure detail.
5336
5347
  */
5337
- const LOOP_FIELDS = new Set(['currentItem', 'currentIndex', 'collection', 'output', 'error']);
5348
+ const LOOP_FIELDS = new Set(['currentItem', 'currentIteration', 'collection', 'output', 'error']);
5349
+ /**
5350
+ * The same for a loop pinned to `{ version: '1.0.0' }`, whose per-iteration
5351
+ * counter is the 0-based `currentIndex`. `.doWhile()` keeps this set as it had
5352
+ * before the 2.4 default (#868); its own fields are not audited here.
5353
+ */
5354
+ const LOOP_FIELDS_1_0_0 = new Set(['currentItem', 'currentIndex', 'collection', 'output', 'error']);
5338
5355
  /**
5339
5356
  * Columns Data Fabric assigns and never accepts a write for.
5340
5357
  *
@@ -5865,12 +5882,12 @@ function checkStepRefs(built, diags) {
5865
5882
  const targetScope = scopeOf.get(target) ?? '';
5866
5883
  if (targetScope !== scope) {
5867
5884
  // INTO a loop body is provably wrong, and not merely for containment: the
5868
- // body reads `currentItem` / `currentIndex`, which only an ITERATION gives a
5885
+ // body reads `currentItem` / `currentIteration`, which only an ITERATION gives a
5869
5886
  // value. An edge that arrives from outside is not an iteration, so those
5870
5887
  // reads have nothing to resolve to.
5871
5888
  if (targetScope !== '') {
5872
5889
  say('error', 'REF_INTO_LOOP', `.stepToRef('${target}') ${where} points INTO the body of loop "${targetScope}". A loop body runs per `
5873
- + `ITERATION and reads currentItem / currentIndex from it; an edge arriving from outside carries no `
5890
+ + `ITERATION and reads currentItem / currentIteration from it; an edge arriving from outside carries no `
5874
5891
  + `iteration, so those have no value. Point at a step after the loop, or do this work inside the body.`);
5875
5892
  continue;
5876
5893
  }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * The node envelope: the fields `uip maestro flow validate` requires on EVERY
3
+ * entry of a `.flow` file's `nodes[]` (root and every `subflows.<id>.nodes[]`),
4
+ * whatever its type.
5
+ *
6
+ * Mirrors the platform's file-format node schema (`@uipath/flow-schema`
7
+ * `fileFormatNodeSchema`, bundled into the CLI's flow tool):
8
+ *
9
+ * ```ts
10
+ * id: z.string().min(1)
11
+ * type: z.string().min(1)
12
+ * typeVersion: z.string().regex(/^\d+\.\d+(\.\d+)?$/)
13
+ * display: z.object({ … }) // required, may be {}
14
+ * ui: { position: { x: number, y: number }, size?: { width, height } } // optional in the file
15
+ * inputs?: Record<string, unknown>
16
+ * outputs?: Record<string, unknown>
17
+ * parentId?: z.string().min(1)
18
+ * ```
19
+ *
20
+ * `makeNode` builds this shape for every definition-backed node, but a node
21
+ * built any other way (sticky notes were, issue #869) had nothing holding it
22
+ * to the contract: `check` passed, `compile` wrote the file, and only
23
+ * `flow validate` refused it. `serialize` runs this over every finished scope,
24
+ * so a missing field is an SDK emit bug caught before a file is written — on
25
+ * every path, `compile --no-check` and direct `serialize()` included.
26
+ */
27
+ /** Every way `node` breaks the envelope, as `<field>: <problem>` strings. Empty when it conforms. */
28
+ export declare function nodeEnvelopeProblems(node: unknown): string[];
29
+ /**
30
+ * Throw if any node in one scope breaks the envelope. `where` names the scope
31
+ * (`flow "x"`, `subflow "call"`) so the message points at the file section
32
+ * `flow validate` would have reported.
33
+ */
34
+ export declare function assertNodeEnvelope(nodes: readonly unknown[], where: string): void;
@@ -0,0 +1,83 @@
1
+ /**
2
+ * The node envelope: the fields `uip maestro flow validate` requires on EVERY
3
+ * entry of a `.flow` file's `nodes[]` (root and every `subflows.<id>.nodes[]`),
4
+ * whatever its type.
5
+ *
6
+ * Mirrors the platform's file-format node schema (`@uipath/flow-schema`
7
+ * `fileFormatNodeSchema`, bundled into the CLI's flow tool):
8
+ *
9
+ * ```ts
10
+ * id: z.string().min(1)
11
+ * type: z.string().min(1)
12
+ * typeVersion: z.string().regex(/^\d+\.\d+(\.\d+)?$/)
13
+ * display: z.object({ … }) // required, may be {}
14
+ * ui: { position: { x: number, y: number }, size?: { width, height } } // optional in the file
15
+ * inputs?: Record<string, unknown>
16
+ * outputs?: Record<string, unknown>
17
+ * parentId?: z.string().min(1)
18
+ * ```
19
+ *
20
+ * `makeNode` builds this shape for every definition-backed node, but a node
21
+ * built any other way (sticky notes were, issue #869) had nothing holding it
22
+ * to the contract: `check` passed, `compile` wrote the file, and only
23
+ * `flow validate` refused it. `serialize` runs this over every finished scope,
24
+ * so a missing field is an SDK emit bug caught before a file is written — on
25
+ * every path, `compile --no-check` and direct `serialize()` included.
26
+ */
27
+ const TYPE_VERSION_RE = /^\d+\.\d+(\.\d+)?$/;
28
+ const isRecord = (v) => typeof v === 'object' && v !== null && !Array.isArray(v);
29
+ const isNonEmptyString = (v) => typeof v === 'string' && v.length > 0;
30
+ /** Every way `node` breaks the envelope, as `<field>: <problem>` strings. Empty when it conforms. */
31
+ export function nodeEnvelopeProblems(node) {
32
+ if (!isRecord(node))
33
+ return ['node: expected an object'];
34
+ const problems = [];
35
+ if (!isNonEmptyString(node.id))
36
+ problems.push('id: expected a non-empty string');
37
+ if (!isNonEmptyString(node.type))
38
+ problems.push('type: expected a non-empty string');
39
+ if (typeof node.typeVersion !== 'string' || !TYPE_VERSION_RE.test(node.typeVersion)) {
40
+ problems.push(`typeVersion: expected "x.y" or "x.y.z", got ${JSON.stringify(node.typeVersion)}`);
41
+ }
42
+ if (!isRecord(node.display))
43
+ problems.push('display: expected an object (may be empty)');
44
+ if (node.ui !== undefined) {
45
+ const pos = isRecord(node.ui) ? node.ui.position : undefined;
46
+ if (!isRecord(pos) || typeof pos.x !== 'number' || typeof pos.y !== 'number') {
47
+ problems.push('ui.position: expected { x: number, y: number }');
48
+ }
49
+ const size = isRecord(node.ui) ? node.ui.size : undefined;
50
+ if (size !== undefined && (!isRecord(size) || typeof size.width !== 'number' || typeof size.height !== 'number')) {
51
+ problems.push('ui.size: expected { width: number, height: number }');
52
+ }
53
+ }
54
+ if (node.inputs !== undefined && !isRecord(node.inputs))
55
+ problems.push('inputs: expected an object');
56
+ if (node.outputs !== undefined && !isRecord(node.outputs))
57
+ problems.push('outputs: expected an object');
58
+ if (node.parentId !== undefined && !isNonEmptyString(node.parentId)) {
59
+ problems.push('parentId: expected a non-empty string');
60
+ }
61
+ return problems;
62
+ }
63
+ /**
64
+ * Throw if any node in one scope breaks the envelope. `where` names the scope
65
+ * (`flow "x"`, `subflow "call"`) so the message points at the file section
66
+ * `flow validate` would have reported.
67
+ */
68
+ export function assertNodeEnvelope(nodes, where) {
69
+ const bad = [];
70
+ nodes.forEach((n, i) => {
71
+ const problems = nodeEnvelopeProblems(n);
72
+ if (!problems.length)
73
+ return;
74
+ const id = isRecord(n) && typeof n.id === 'string' ? n.id : `#${i}`;
75
+ const type = isRecord(n) && typeof n.type === 'string' ? n.type : '?';
76
+ bad.push(` node "${id}" (${type}): ${problems.join('; ')}`);
77
+ });
78
+ if (!bad.length)
79
+ return;
80
+ throw new Error(`internal SDK error: ${where} would emit ${bad.length} node(s) that \`uip maestro flow validate\` `
81
+ + `rejects — every node needs id, type, typeVersion and display:\n${bad.join('\n')}\n`
82
+ + `This is a serializer bug, not an authoring mistake; please report it.`);
83
+ }
@@ -384,12 +384,11 @@ export interface ReturnOptions extends NodeOptions {
384
384
  name?: string;
385
385
  }
386
386
  /**
387
- * Loop-specific options. Any of these — or a `b.break()` in the
388
- * body — selects the loop's v2.4 definition (the current Workbench contract,
389
- * with inner `start`/`continue`/`break` handles); a plain `.loop()` keeps the
390
- * SDK's long-pinned 1.0.0 emission unchanged. An explicit `{ version: '1.0.0' }`
391
- * combined with any of these fails compilation: that definition cannot express
392
- * them.
387
+ * Loop-specific options. Every `.loop()` emits the loop's v2.4 definition (the
388
+ * version the registry serves: inner `start`/`continue`/`break` handles, and a
389
+ * 1-based `currentIteration` output). The legacy 1.0.0 shape is emitted only for
390
+ * an explicit `{ version: '1.0.0' }`, and that combined with any of these options
391
+ * fails compilation: that definition cannot express them.
393
392
  */
394
393
  export interface LoopOptions extends NodeOptions {
395
394
  /** Run iterations in parallel instead of sequentially. */
package/dist/serialize.js CHANGED
@@ -19,6 +19,7 @@ import { BindingRefusal, GUID_RE, bindingSelfNameMessage, bindingUndeclaredMessa
19
19
  import { ByoaRefusal, byoaUnverified } from './core/byoa.js';
20
20
  import { OUTCOME_HANDLE_NODE_TYPES, assertHitlExitInvariant, hitlExitModel, hitlExitViolation, outcomeSlug } from './core/hitl-routing.js';
21
21
  import { declaredExits, hasExits, stopsAtEnd } from './core/step-ports.js';
22
+ import { assertNodeEnvelope } from './core/node-envelope.js';
22
23
  import { buildConfiguration, transportHttpMethod } from './config.js';
23
24
  import { stableId } from './core/stable-id.js';
24
25
  import { readEventFilter, eventFilterProblem, eventFilterJmes, eventFilterTreeLeaf } from './event-filters.js';
@@ -32,9 +33,10 @@ import { QUEUE_ITEM_RECORD_SCHEMA } from './core/queue-record.js';
32
33
  const HERE = dirname(fileURLToPath(import.meta.url));
33
34
  // core-definitions.json is an object keyed by "<nodeType>@<version>".
34
35
  const DEFS = JSON.parse(readFileSync(join(HERE, 'core-definitions.json'), 'utf8'));
35
- // FIRST occurrence wins: with multiple bundled versions of one family (loop
36
- // 1.0.0 + 2.4), the unversioned lookup must stay the pinned default, not
37
- // whichever entry happens to be last in the JSON.
36
+ // FIRST occurrence wins: with multiple bundled versions of one family (HITL
37
+ // 1.0 / 1.1 / 1.2), the unversioned lookup must stay the pinned default, not
38
+ // whichever entry happens to be last in the JSON. (`.loop()` always passes its
39
+ // version — 2.4 unless `{ version: '1.0.0' }` is pinned — so it never reads this.)
38
40
  const defByType = new Map();
39
41
  for (const d of Object.values(DEFS))
40
42
  if (!defByType.has(d.nodeType))
@@ -3062,6 +3064,8 @@ const ERROR_ENVELOPE_VAR = {
3062
3064
  function errorEnvelopeVar(nodeType) {
3063
3065
  return ERROR_ENVELOPE_VAR[nodeType];
3064
3066
  }
3067
+ /** The `typeVersion` Studio Web stamps on a sticky note. The type has no manifest to take it from. */
3068
+ const STICKY_NOTE_TYPE_VERSION = '1.0.0';
3065
3069
  /**
3066
3070
  * Append the flow's `.stickyNotes()` as real `stickyNote` nodes.
3067
3071
  *
@@ -3099,14 +3103,20 @@ function emitStickyNotes(built, scope) {
3099
3103
  if ((note.width === undefined) !== (note.height === undefined)) {
3100
3104
  throw new Error(`.stickyNotes(): note "${id}" needs both width and height, or neither.`);
3101
3105
  }
3106
+ // The envelope Studio Web writes for a note (flow-v1 canvas: the add path
3107
+ // sets `typeVersion: '1.0.0'` and no display, and `nodeToInstance` persists
3108
+ // `display` as `{}`). Both fields are required on every node by
3109
+ // `flow validate`, manifest or not (#869).
3102
3110
  scope.nodes.push({
3103
3111
  id,
3104
3112
  type: 'stickyNote',
3105
- inputs: { color: note.color ?? 'yellow', content: note.content },
3113
+ typeVersion: STICKY_NOTE_TYPE_VERSION,
3106
3114
  ui: {
3107
3115
  position: { x: note.x, y: note.y },
3108
3116
  ...(note.width !== undefined ? { size: { width: note.width, height: note.height } } : {}),
3109
3117
  },
3118
+ display: {},
3119
+ inputs: { color: note.color ?? 'yellow', content: note.content },
3110
3120
  });
3111
3121
  });
3112
3122
  }
@@ -4183,6 +4193,7 @@ export function serialize(built, opts = {}) {
4183
4193
  typeAgentInputSchemas(scope, globals);
4184
4194
  emitStickyNotes(child, scope);
4185
4195
  const layoutEdges = applyAuthorLayout(child.layout, scope, `subflow "${nodeId}"`);
4196
+ assertNodeEnvelope(scope.nodes, `subflow "${nodeId}"`);
4186
4197
  return {
4187
4198
  nodes: scope.nodes,
4188
4199
  edges: scope.edges,
@@ -5981,13 +5992,14 @@ export function serialize(built, opts = {}) {
5981
5992
  else if (step.kind === 'loop') {
5982
5993
  const o = step.options ?? {};
5983
5994
  const usesBreak = bodyUsesBreak(step.body);
5984
- // Rich loop semantics live in the v2.4 contract (inner start/continue/
5985
- // break handles). A plain .loop() keeps the long-pinned 1.0.0 emission
5986
- // byte-for-byte; any rich option — or a break in the body — selects 2.4
5987
- // as its deterministic pinned default. An explicit 1.0.0 plus a rich
5988
- // option is a contradiction the author must resolve, not a silent drop.
5995
+ // Every .loop() defaults to 2.4 — the version the registry serves and the
5996
+ // designer authors (inner start/continue/break handles, `currentIteration`
5997
+ // output). 1.0.0 is the legacy shape the canvas shows in its old form; it
5998
+ // is emitted only when { version: '1.0.0' } is pinned explicitly (#868).
5999
+ // An explicit 1.0.0 plus a rich option is a contradiction the author must
6000
+ // resolve, not a silent drop.
5989
6001
  const rich = o.parallel !== undefined || o.completionCondition !== undefined || o.breakEnabled !== undefined || usesBreak;
5990
- const version = o.version ?? (rich ? '2.4' : '1.0.0');
6002
+ const version = o.version ?? '2.4';
5991
6003
  if (rich && version === '1.0.0') {
5992
6004
  throw new Error(`loop "${step.name}": parallel/completionCondition/breakEnabled/break() need the loop's 2.4 `
5993
6005
  + `definition, but { version: '1.0.0' } was requested. Drop the version or request 2.4.`);
@@ -6239,6 +6251,7 @@ export function serialize(built, opts = {}) {
6239
6251
  typeAgentInputSchemas(root, globals);
6240
6252
  emitStickyNotes(built, root);
6241
6253
  const rootLayoutEdges = applyAuthorLayout(built.layout, root, `flow "${built.id}"`);
6254
+ assertNodeEnvelope(root.nodes, `flow "${built.id}"`);
6242
6255
  // The FILE-FORMAT version this document declares: the author's
6243
6256
  // `.schemaVersion()` when they set one, else the profile's write floor. It is
6244
6257
  // resolved HERE rather than in `check()` alone because the serializer must not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.14.1",
3
+ "version": "6.14.3",
4
4
  "description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.uipath.com/maestro",
@@ -92,5 +92,5 @@
92
92
  "@types/node": "^22.7.0",
93
93
  "esbuild": "^0.28.1"
94
94
  },
95
- "gitref": "00178a53b6c63ad810cda275b16ac8170422f9ae"
95
+ "gitref": "52d87c5c383324464fd4c672ac4e9ec40795d994"
96
96
  }