@uipath/maestro-builder-sdk 6.31.9 → 6.32.0

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:1715-1749` | 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:468-499` | Option shapes | 5 field(s) |
59
59
  | `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:140-185` | 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:1235-1258` | 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:1252-1275` | 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:126-141` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
62
62
  | `batchTransform` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:49-83` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
63
63
  | `BatchTransformInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:48-63` | Option shapes | 4 field(s) |
64
64
  | `BindingContribution` | interface | `dist/core/node-classes.d.ts:80-101` | 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:724-736` | Supporting types | One additional flow root, built by `.entryPoint()`. |
66
- | `BuiltFlow` | interface | `dist/flow-sdk.d.ts:737-784` | Supporting types | 17 field(s) |
65
+ | `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:728-740` | Supporting types | One additional flow root, built by `.entryPoint()`. |
66
+ | `BuiltFlow` | interface | `dist/flow-sdk.d.ts:741-788` | Supporting types | 17 field(s) |
67
67
  | `BuiltinToolName` | type | `dist/core/actions.d.ts:1123-1124` | Supporting types | The three platform-shipped built-in tools (fixed registry types). |
68
68
  | `BuiltinToolRef` | interface | `dist/core/actions.d.ts:1256-1276` | Supporting types | A platform built-in tool. |
69
69
  | `BuiltInValidatorGuardrail` | interface | `dist/core/actions.d.ts:819-860` | Supporting types | A platform-shipped validator, configured by parameters. |
@@ -113,10 +113,10 @@ could hand you spans for a version you do not have.
113
113
  | `documentClassify` | function | `dist/nodes/document/flow/factories.d.ts:8-16` | Actions | Classify a document into a document type (`uipath.document.classify`). |
114
114
  | `DocumentClassifyInputs` | interface | `dist/nodes/document/flow/spec.d.ts:9-18` | Option shapes | 4 field(s) |
115
115
  | `DocValidationInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:70-93` | Option shapes | The Document Validation task's subject — `variant: 'document-validation'` only. |
116
- | `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:503-512` | Option shapes | Do-while options. |
116
+ | `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:507-516` | Option shapes | Do-while options. |
117
117
  | `dynamicExtract` | function | `dist/nodes/document/flow/factories.d.ts:17-27` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
118
118
  | `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:19-53` | Option shapes | 5 field(s) |
119
- | `EdgeRoute` | interface | `dist/flow-sdk.d.ts:648-662` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
119
+ | `EdgeRoute` | interface | `dist/flow-sdk.d.ts:652-666` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
120
120
  | `endCall` | function | `dist/core/actions.d.ts:1792-1799` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
121
121
  | `EndCallInputs` | interface | `dist/core/actions.d.ts:246-253` | Option shapes | 1 field(s) |
122
122
  | `entryInput` | function | `dist/core/expr.d.ts:62-72` | Expressions and types | Reference an ENTRY POINT's scoped input: `entryInput('nightly', 'batchDate')` reads `$vars.nightly.output.batchDate` —… |
@@ -130,12 +130,12 @@ could hand you spans for a version you do not have.
130
130
  | `FilterCondition` | type | `dist/nodes/transform/flow/spec.d.ts:10-11` | Supporting types | Comparison a filter rule applies to a field. |
131
131
  | `FilterMatch` | type | `dist/nodes/transform/flow/spec.d.ts:8-9` | Supporting types | How a filter combines its rules: every rule must match, or any one. |
132
132
  | `FilterRule` | interface | `dist/nodes/transform/flow/spec.d.ts:12-24` | Supporting types | 3 field(s) |
133
- | `flow` | function | `dist/flow-sdk.d.ts:1623-1638` | Flow construction | Start building a flow with the given id. |
133
+ | `flow` | function | `dist/flow-sdk.d.ts:1640-1655` | Flow construction | Start building a flow with the given id. |
134
134
  | `FlowAction` | class | `dist/core/node-classes.d.ts:162-168` | Supporting types | A node placed as a step — pass an instance to `.step(name, …)`. |
135
135
  | `FlowActionSpec` | type | `dist/flow-sdk.d.ts:53-54` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
136
136
  | `FlowActionSpecs` | interface | `dist/core/actions.d.ts:1500-1577` | Supporting types | Every action kind, keyed by kind, to the body of its spec — the arm's fields other than `kind`. |
137
- | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1259-1622` | Builders | 15 member(s) |
138
- | `FlowLayout` | interface | `dist/flow-sdk.d.ts:710-723` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
137
+ | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1276-1639` | Builders | 15 member(s) |
138
+ | `FlowLayout` | interface | `dist/flow-sdk.d.ts:714-727` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
139
139
  | `FlowNode` | class | `dist/core/node-classes.d.ts:126-161` | Supporting types | The abstract root of every definition-backed node the builder can place. |
140
140
  | `FlowResource` | class | `dist/core/node-classes.d.ts:176-183` | Supporting types | A node attached to another semantic node — an inline agent's tool, context, memory, or escalation. |
141
141
  | `FlowTrigger` | class | `dist/core/node-classes.d.ts:169-175` | Supporting types | A node that starts the flow — pass an instance to `.trigger(…)`. |
@@ -184,12 +184,12 @@ could hand you spans for a version you do not have.
184
184
  | `lookupSpecOf` | function | `dist/core/lookups.d.ts:199-206` | Generated descriptors | The LookupSpec for one field, or `undefined` when it earns no helper. |
185
185
  | `LookupStrategy` | type | `dist/core/lookups.d.ts:1-10` | Generated descriptors | How `prepare` should retrieve the collection, chosen from the metadata. |
186
186
  | `LookupToken` | interface | `dist/core/lookups.d.ts:37-52` | Generated descriptors | An unresolved lookup: what `.byEmail(…)` returns. |
187
- | `LoopOptions` | interface | `dist/flow-sdk.d.ts:478-502` | Option shapes | Loop-specific options. |
187
+ | `LoopOptions` | interface | `dist/flow-sdk.d.ts:482-506` | Option shapes | Loop-specific options. |
188
188
  | `manual` | function | `dist/flow-sdk.d.ts:181-190` | Flow construction | The manual trigger, explicitly. |
189
189
  | `McpToolRef` | interface | `dist/core/actions.d.ts:1135-1163` | Supporting types | An MCP server the agent may call tools on. |
190
190
  | `mock` | function | `dist/nodes/mock/flow/factories.d.ts:6-45` | Actions | Declare a PLACEHOLDER step — "a real node goes here later". |
191
191
  | `NodeContribution` | interface | `dist/core/node-classes.d.ts:102-125` | Supporting types | One validated construct, returned by FlowNode.contribute. |
192
- | `NodeLayout` | interface | `dist/flow-sdk.d.ts:633-647` | Supporting types | One node's designer layout: canvas position, and optionally size and collapsed state. |
192
+ | `NodeLayout` | interface | `dist/flow-sdk.d.ts:637-651` | Supporting types | One node's designer layout: canvas position, and optionally size and collapsed state. |
193
193
  | `NodeOptions` | interface | `dist/flow-sdk.d.ts:391-444` | Option shapes | Options shared by every builder method that creates a definition-backed node: `version` selects the exact node… |
194
194
  | `onEvent` | function | `dist/flow-sdk.d.ts:191-229` | Flow construction | Start the flow when a connector event fires — e.g. an email arriving in a mailbox folder. |
195
195
  | `onEvent` | function | `dist/flow-sdk.d.ts:230-237` | Flow construction | Stringly form, for an event with no prepared module. |
@@ -212,7 +212,7 @@ could hand you spans for a version you do not have.
212
212
  | `resolvedValue` | function | `dist/core/lookups.d.ts:172-179` | Generated descriptors | The recorded id for a token, or `undefined`. |
213
213
  | `resolveEventWhere` | function | `dist/core/lookups.d.ts:207-224` | Generated descriptors | An event subscription's `where` with every lookup token swapped for the id `registry prepare --resolve` recorded, or a… |
214
214
  | `ReturnFieldType` | type | `dist/core/actions.d.ts:736-753` | Supporting types | A JSON-schema-ish type for one field of a step's declared `returns`. |
215
- | `ReturnOptions` | interface | `dist/flow-sdk.d.ts:445-477` | Option shapes | `.return(...)`-specific options. |
215
+ | `ReturnOptions` | interface | `dist/flow-sdk.d.ts:445-481` | Option shapes | `.return(...)`-specific options. |
216
216
  | `rpaWorkflow` | function | `dist/core/actions.d.ts:1670-1714` | Actions | Invoke a deployed RPA (robotic process automation) workflow — a classic UI-automation process, published to… |
217
217
  | `RpaWorkflowInputs` | interface | `dist/core/actions.d.ts:409-467` | Option shapes | 7 field(s) |
218
218
  | `SCHEDULE_PRESETS` | const | `dist/flow-sdk.d.ts:128-135` | Flow construction | The eight intervals the designer offers in its Frequency dropdown. |
@@ -227,12 +227,12 @@ could hand you spans for a version you do not have.
227
227
  | `sendMessage` | function | `dist/nodes/conversation/flow/factories.d.ts:8-26` | Actions | Post an assistant message into a live conversation (`uipath.conversational.send-message`). |
228
228
  | `SendMessageInputs` | interface | `dist/nodes/conversation/flow/spec.d.ts:8-27` | Option shapes | 4 field(s) |
229
229
  | `ShownField` | interface | `dist/core/actions.d.ts:105-125` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
230
- | `Step` | type | `dist/flow-sdk.d.ts:513-632` | Supporting types | |
231
- | `StepList` | class | `dist/flow-sdk.d.ts:785-1234` | Builders | Collects a sequence of steps. |
232
- | `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:663-668` | Flow construction | The designer's sticky-note palette. |
233
- | `StickyNote` | interface | `dist/flow-sdk.d.ts:675-709` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
234
- | `StickyNoteColor` | type | `dist/flow-sdk.d.ts:669-674` | Supporting types | A sticky note's swatch. |
235
- | `subflow` | function | `dist/flow-sdk.d.ts:1639-1678` | Flow construction | Run another flow as one step, and read back what it returns. |
230
+ | `Step` | type | `dist/flow-sdk.d.ts:517-636` | Supporting types | |
231
+ | `StepList` | class | `dist/flow-sdk.d.ts:789-1251` | Builders | Collects a sequence of steps. |
232
+ | `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:667-672` | Flow construction | The designer's sticky-note palette. |
233
+ | `StickyNote` | interface | `dist/flow-sdk.d.ts:679-713` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
234
+ | `StickyNoteColor` | type | `dist/flow-sdk.d.ts:673-678` | Supporting types | A sticky note's swatch. |
235
+ | `subflow` | function | `dist/flow-sdk.d.ts:1656-1695` | Flow construction | Run another flow as one step, and read back what it returns. |
236
236
  | `SubflowSpec` | interface | `dist/flow-sdk.d.ts:45-52` | Supporting types | A step that runs a child flow. |
237
237
  | `summarize` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:8-48` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
238
238
  | `SummarizeInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:8-40` | Option shapes | 3 field(s) |
@@ -66,7 +66,7 @@ not find it either.
66
66
  | `app` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1337-1338` |
67
67
  | `appSystemName` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:170-175` |
68
68
  | `appVersion` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1339-1340` |
69
- | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1247` |
69
+ | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1264` |
70
70
  | `assignee` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:52-63` |
71
71
  | `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1281-1285` |
72
72
  | `atRiskPercentage` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:132-137` |
@@ -97,14 +97,14 @@ not find it either.
97
97
  | `body` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:176-181` |
98
98
  | `body` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:207-208` |
99
99
  | `boundaryEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2239-2246` |
100
- | `branch` | method | `StepList` | `dist/flow-sdk.d.ts:984-1002` |
100
+ | `branch` | method | `StepList` | `dist/flow-sdk.d.ts:988-1006` |
101
101
  | `branches` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:25-30` |
102
- | `break` | method | `StepList` | `dist/flow-sdk.d.ts:1119-1128` |
103
- | `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:510-511` |
104
- | `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:497-501` |
102
+ | `break` | method | `StepList` | `dist/flow-sdk.d.ts:1123-1132` |
103
+ | `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:514-515` |
104
+ | `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:501-505` |
105
105
  | `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3483-3488` |
106
106
  | `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1269-1274` |
107
- | `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1615-1621` |
107
+ | `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1632-1638` |
108
108
  | `businessRule` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2527-2573` |
109
109
  | `by` | property | `LookupResolution` | `dist/core/lookups.d.ts:164` |
110
110
  | `by` | property | `LookupSpec` | `dist/core/lookups.d.ts:27-28` |
@@ -126,13 +126,13 @@ not find it either.
126
126
  | `code` | property | `ErrorDecl` | `dist/bpmn/bpmn-sdk.d.ts:439-440` |
127
127
  | `code` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:299-307` |
128
128
  | `code` | property | `ScriptInputs` | `dist/nodes/script/flow/spec.d.ts:8-9` |
129
- | `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:645-646` |
129
+ | `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:649-650` |
130
130
  | `collection` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:79-80` |
131
131
  | `collection` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:85-95` |
132
- | `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:699-700` |
132
+ | `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:703-704` |
133
133
  | `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1249-1259` |
134
134
  | `completion` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:85-86` |
135
- | `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:492-496` |
135
+ | `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:496-500` |
136
136
  | `condition` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:350-351` |
137
137
  | `condition` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:314-320` |
138
138
  | `condition` | property | `FilterRule` | `dist/nodes/transform/flow/spec.d.ts:15` |
@@ -164,7 +164,7 @@ not find it either.
164
164
  | `connectorKey` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1184-1190` |
165
165
  | `connectorKey` | property | `WaitConnectorPlaceholderSpec` | `dist/case/case-sdk.d.ts:366-367` |
166
166
  | `content` | property | `SendMessageInputs` | `dist/nodes/conversation/flow/spec.d.ts:20-21` |
167
- | `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:697-698` |
167
+ | `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:701-702` |
168
168
  | `contentType` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:36` |
169
169
  | `context` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1526-1527` |
170
170
  | `context` | property | `ConversationalAgentSettings` | `dist/core/actions.d.ts:179-180` |
@@ -172,7 +172,7 @@ not find it either.
172
172
  | `context` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:87` |
173
173
  | `contextRows` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1528-1535` |
174
174
  | `contextVerbatim` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1600-1605` |
175
- | `continue` | method | `StepList` | `dist/flow-sdk.d.ts:1129-1143` |
175
+ | `continue` | method | `StepList` | `dist/flow-sdk.d.ts:1133-1147` |
176
176
  | `contribute` | method | `FlowNode` | `dist/core/node-classes.d.ts:144-153` |
177
177
  | `conversationalAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1536-1539` |
178
178
  | `conversationContext` | property | `FlowActionSpecs` | `dist/nodes/conversation/flow/spec.d.ts:55-58` |
@@ -207,13 +207,13 @@ not find it either.
207
207
  | `defaultOf` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:1924-1925` |
208
208
  | `deferDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:48-49` |
209
209
  | `definition` | property | `NodeContribution` | `dist/core/node-classes.d.ts:111-112` |
210
- | `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:763-768` |
211
- | `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1476-1516` |
210
+ | `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:767-772` |
211
+ | `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1493-1533` |
212
212
  | `delay` | property | `FlowActionSpecs` | `dist/nodes/delay/flow/spec.d.ts:38-41` |
213
213
  | `dependsOn` | property | `LookupSpec` | `dist/core/lookups.d.ts:34-35` |
214
214
  | `description` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1244` |
215
215
  | `description` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:633` |
216
- | `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:740-741` |
216
+ | `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:744-745` |
217
217
  | `description` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:1264-1265` |
218
218
  | `description` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:825` |
219
219
  | `description` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:525` |
@@ -225,7 +225,7 @@ not find it either.
225
225
  | `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:812` |
226
226
  | `description` | property | `EscalationRef` | `dist/core/actions.d.ts:1406-1407` |
227
227
  | `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:241` |
228
- | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1285-1292` |
228
+ | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1302-1309` |
229
229
  | `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1211` |
230
230
  | `description` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:394-401` |
231
231
  | `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:1384-1385` |
@@ -267,12 +267,12 @@ not find it either.
267
267
  | `document` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:285-289` |
268
268
  | `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:56-59` |
269
269
  | `documentId` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:84-85` |
270
- | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1094-1118` |
270
+ | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1098-1122` |
271
271
  | `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
272
272
  | `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:33-34` |
273
273
  | `dynamicExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:60-63` |
274
274
  | `dynamicFewShotLearning` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1247-1248` |
275
- | `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:721-722` |
275
+ | `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:725-726` |
276
276
  | `element` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1619-1620` |
277
277
  | `element` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:80-81` |
278
278
  | `elementId` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:378-385` |
@@ -291,12 +291,12 @@ not find it either.
291
291
  | `entity` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1090-1091` |
292
292
  | `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:528` |
293
293
  | `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:520` |
294
- | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1351-1401` |
294
+ | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1368-1418` |
295
295
  | `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:534-539` |
296
- | `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:769-770` |
296
+ | `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:773-774` |
297
297
  | `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1004-1011` |
298
298
  | `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:947-956` |
299
- | `err` | method | `StepList` | `dist/flow-sdk.d.ts:793-818` |
299
+ | `err` | method | `StepList` | `dist/flow-sdk.d.ts:797-822` |
300
300
  | `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:750-754` |
301
301
  | `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:696-706` |
302
302
  | `error` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1842-1847` |
@@ -417,7 +417,7 @@ not find it either.
417
417
  | `headers` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1138-1139` |
418
418
  | `headers` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1216-1220` |
419
419
  | `height` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:606-607` |
420
- | `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:707-708` |
420
+ | `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:711-712` |
421
421
  | `hidden` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:27` |
422
422
  | `hidden` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:61` |
423
423
  | `hitl` | property | `FlowActionSpecs` | `dist/nodes/hitl/flow/spec.d.ts:293-296` |
@@ -433,8 +433,8 @@ not find it either.
433
433
  | `id` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:368-369` |
434
434
  | `id` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:491-492` |
435
435
  | `id` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:624` |
436
- | `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:726-727` |
437
- | `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:738` |
436
+ | `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:730-731` |
437
+ | `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:742` |
438
438
  | `id` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:821-822` |
439
439
  | `id` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:576-577` |
440
440
  | `id` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1475-1480` |
@@ -450,7 +450,7 @@ not find it either.
450
450
  | `id` | property | `PinnedFlowId` | `dist/bpmn/bpmn-sdk.d.ts:1630-1631` |
451
451
  | `id` | property | `SchemaEntry` | `dist/bpmn/bpmn-sdk.d.ts:1001-1002` |
452
452
  | `id` | property | `ShownField` | `dist/core/actions.d.ts:107-108` |
453
- | `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:687-696` |
453
+ | `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:691-700` |
454
454
  | `id` | property | `SwitchArm` | `dist/flow-sdk.d.ts:369-375` |
455
455
  | `id` | property | `VarEntry` | `dist/bpmn/bpmn-sdk.d.ts:992-993` |
456
456
  | `identifier` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:634` |
@@ -462,7 +462,7 @@ not find it either.
462
462
  | `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2266-2273` |
463
463
  | `inlineAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1548-1551` |
464
464
  | `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1160-1185` |
465
- | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1556-1568` |
465
+ | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1573-1585` |
466
466
  | `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1355-1356` |
467
467
  | `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1241-1242` |
468
468
  | `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3068-3076` |
@@ -475,8 +475,8 @@ not find it either.
475
475
  | `inputs` | property | `AgentInputs` | `dist/core/actions.d.ts:680-697` |
476
476
  | `inputs` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:481-485` |
477
477
  | `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:176-184` |
478
- | `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:732-733` |
479
- | `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:750` |
478
+ | `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:736-737` |
479
+ | `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:754` |
480
480
  | `inputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:516-517` |
481
481
  | `inputs` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:1196-1197` |
482
482
  | `inputs` | property | `ExternalTaskOptions` | `dist/case/case-sdk.d.ts:399-400` |
@@ -535,7 +535,7 @@ not find it either.
535
535
  | `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:47` |
536
536
  | `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:99-100` |
537
537
  | `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1251-1252` |
538
- | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1248-1257` |
538
+ | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1265-1274` |
539
539
  | `label` | property | `AskedField` | `dist/core/actions.d.ts:130-131` |
540
540
  | `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:523` |
541
541
  | `label` | property | `FormFieldOption` | `dist/core/actions.d.ts:102-103` |
@@ -548,12 +548,12 @@ not find it either.
548
548
  | `labels` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:228-229` |
549
549
  | `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:527` |
550
550
  | `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:646-647` |
551
- | `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:759-760` |
551
+ | `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:763-764` |
552
552
  | `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1139-1159` |
553
- | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1293-1303` |
553
+ | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1310-1320` |
554
554
  | `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:252-284` |
555
555
  | `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
556
- | `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:508-509` |
556
+ | `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:512-513` |
557
557
  | `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
558
558
  | `location` | property | `AgenticProcessInputsBase` | `dist/core/actions.d.ts:550-560` |
559
559
  | `location` | property | `AgentInputs` | `dist/core/actions.d.ts:656-661` |
@@ -561,7 +561,7 @@ not find it either.
561
561
  | `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
562
562
  | `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:335-336` |
563
563
  | `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:832-833` |
564
- | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1082-1093` |
564
+ | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1086-1097` |
565
565
  | `managed` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:37-67` |
566
566
  | `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:354` |
567
567
  | `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:321` |
@@ -630,7 +630,7 @@ not find it either.
630
630
  | `name` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:370-371` |
631
631
  | `name` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:493-494` |
632
632
  | `name` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:625` |
633
- | `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:739` |
633
+ | `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:743` |
634
634
  | `name` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:824` |
635
635
  | `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:501-502` |
636
636
  | `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:198-199` |
@@ -650,7 +650,7 @@ not find it either.
650
650
  | `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1840-1841` |
651
651
  | `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:240` |
652
652
  | `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1499-1500` |
653
- | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1277-1284` |
653
+ | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1294-1301` |
654
654
  | `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:1637-1638` |
655
655
  | `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:760-761` |
656
656
  | `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:1735-1736` |
@@ -678,7 +678,7 @@ not find it either.
678
678
  | `name` | property | `RegistryOutput` | `dist/bpmn/typed-node.d.ts:72` |
679
679
  | `name` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:1171-1172` |
680
680
  | `name` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:266-267` |
681
- | `name` | property | `ReturnOptions` | `dist/flow-sdk.d.ts:460-476` |
681
+ | `name` | property | `ReturnOptions` | `dist/flow-sdk.d.ts:460-480` |
682
682
  | `name` | property | `RpaWorkflowInputs` | `dist/core/actions.d.ts:421-422` |
683
683
  | `name` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:844-845` |
684
684
  | `name` | property | `SplitOpts` | `dist/bpmn/bpmn-sdk.d.ts:1830-1831` |
@@ -695,7 +695,7 @@ not find it either.
695
695
  | `name` | property | `VarDecl` | `dist/flow-sdk.d.ts:60` |
696
696
  | `name` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1644-1645` |
697
697
  | `nodes` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:503-504` |
698
- | `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:719-720` |
698
+ | `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:723-724` |
699
699
  | `nodes` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1935-1936` |
700
700
  | `nodeType` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:62` |
701
701
  | `nodeType` | property | `LookupResolution` | `dist/core/lookups.d.ts:162` |
@@ -712,13 +712,13 @@ not find it either.
712
712
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3259-3266` |
713
713
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3267-3274` |
714
714
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3275-3283` |
715
- | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:873-933` |
715
+ | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:877-937` |
716
716
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3302-3310` |
717
717
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3311-3319` |
718
718
  | `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3284-3292` |
719
719
  | `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3293-3301` |
720
- | `openTails` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:778-783` |
721
- | `openTails` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1517-1555` |
720
+ | `openTails` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:782-787` |
721
+ | `openTails` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1534-1572` |
722
722
  | `operation` | property | `Aggregation` | `dist/nodes/transform/flow/spec.d.ts:37` |
723
723
  | `operation` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1287-1288` |
724
724
  | `operation` | property | `WaitConnectorPlaceholderSpec` | `dist/case/case-sdk.d.ts:368-369` |
@@ -726,7 +726,7 @@ not find it either.
726
726
  | `operator` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:29-30` |
727
727
  | `options` | property | `ActionField` | `dist/case/case-sdk.d.ts:445-449` |
728
728
  | `options` | property | `AskedField` | `dist/core/actions.d.ts:134-138` |
729
- | `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:730-731` |
729
+ | `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:734-735` |
730
730
  | `options` | property | `InOutField` | `dist/core/actions.d.ts:155-159` |
731
731
  | `options` | property | `ShownField` | `dist/core/actions.d.ts:113-117` |
732
732
  | `or` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:38-50` |
@@ -735,7 +735,7 @@ not find it either.
735
735
  | `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:1452-1457` |
736
736
  | `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:211-225` |
737
737
  | `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1186-1198` |
738
- | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1569-1604` |
738
+ | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1586-1621` |
739
739
  | `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:90` |
740
740
  | `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3077-3085` |
741
741
  | `outputColumns` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:56-60` |
@@ -744,7 +744,7 @@ not find it either.
744
744
  | `outputRows` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:909-918` |
745
745
  | `outputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:464-465` |
746
746
  | `outputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1564-1565` |
747
- | `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:751` |
747
+ | `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:755` |
748
748
  | `outputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:518-519` |
749
749
  | `outputs` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1483-1493` |
750
750
  | `outputs` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:248-262` |
@@ -770,8 +770,8 @@ not find it either.
770
770
  | `pageRange` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:12-13` |
771
771
  | `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:49-50` |
772
772
  | `pageRange` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:383-384` |
773
- | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:490-491` |
774
- | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:1046-1081` |
773
+ | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:494-495` |
774
+ | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:1050-1085` |
775
775
  | `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2256-2265` |
776
776
  | `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1479-1480` |
777
777
  | `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1140-1145` |
@@ -790,7 +790,7 @@ not find it either.
790
790
  | `pinnedFlowIds` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:1951-1958` |
791
791
  | `plainTask` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2302-2331` |
792
792
  | `position` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:592-596` |
793
- | `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:635-639` |
793
+ | `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:639-643` |
794
794
  | `preservation` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:511-512` |
795
795
  | `preserve` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3332-3347` |
796
796
  | `priority` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:453` |
@@ -870,7 +870,7 @@ not find it either.
870
870
  | `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:830-831` |
871
871
  | `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:308-309` |
872
872
  | `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:109-123` |
873
- | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1224-1233` |
873
+ | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1241-1250` |
874
874
  | `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:34-39` |
875
875
  | `returns` | property | `AgentInputs` | `dist/core/actions.d.ts:698-717` |
876
876
  | `returns` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:486-498` |
@@ -886,7 +886,7 @@ not find it either.
886
886
  | `role` | property | `FlowNode` | `dist/core/node-classes.d.ts:142-143` |
887
887
  | `role` | property | `FlowResource` | `dist/core/node-classes.d.ts:181-182` |
888
888
  | `role` | property | `FlowTrigger` | `dist/core/node-classes.d.ts:173-174` |
889
- | `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:656-661` |
889
+ | `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:660-665` |
890
890
  | `rpa` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:751-760` |
891
891
  | `rpaWorkflow` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1512-1515` |
892
892
  | `rule` | property | `CaseRule` | `dist/case/case-sdk.d.ts:80` |
@@ -909,9 +909,9 @@ not find it either.
909
909
  | `schemas` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3433-3443` |
910
910
  | `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:509-510` |
911
911
  | `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3375-3404` |
912
- | `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:743-749` |
912
+ | `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:747-753` |
913
913
  | `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1068-1094` |
914
- | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1436-1475` |
914
+ | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1453-1492` |
915
915
  | `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:121` |
916
916
  | `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:758` |
917
917
  | `script` | property | `FlowActionSpecs` | `dist/nodes/script/flow/spec.d.ts:47-50` |
@@ -937,7 +937,7 @@ not find it either.
937
937
  | `severity` | property | `ContributionDiagnostic` | `dist/core/node-classes.d.ts:31-32` |
938
938
  | `shared` | property | `VarDecl` | `dist/flow-sdk.d.ts:69-70` |
939
939
  | `shared` | property | `VarSpec` | `dist/flow-sdk.d.ts:94-126` |
940
- | `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:640-644` |
940
+ | `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:644-648` |
941
941
  | `skip` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:515` |
942
942
  | `skip` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:101-102` |
943
943
  | `skipCondition` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1598-1599` |
@@ -983,16 +983,16 @@ not find it either.
983
983
  | `startName` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1887-1888` |
984
984
  | `startPayload` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1889-1890` |
985
985
  | `startProcess` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2459-2478` |
986
- | `step` | method | `StepList` | `dist/flow-sdk.d.ts:819-829` |
987
- | `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:734-735` |
988
- | `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:753` |
989
- | `steps` | property | `StepList` | `dist/flow-sdk.d.ts:787` |
990
- | `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:830-872` |
991
- | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:947-975` |
992
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1175-1203` |
993
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1204-1223` |
994
- | `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:761-762` |
995
- | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1304-1329` |
986
+ | `step` | method | `StepList` | `dist/flow-sdk.d.ts:823-833` |
987
+ | `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:738-739` |
988
+ | `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:757` |
989
+ | `steps` | property | `StepList` | `dist/flow-sdk.d.ts:791` |
990
+ | `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:834-876` |
991
+ | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:951-979` |
992
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1179-1219` |
993
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1220-1240` |
994
+ | `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:765-766` |
995
+ | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1321-1346` |
996
996
  | `storageBucket` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:82-83` |
997
997
  | `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
998
998
  | `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:597-598` |
@@ -1005,7 +1005,7 @@ not find it either.
1005
1005
  | `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:84-85` |
1006
1006
  | `summarize` | property | `FlowActionSpecs` | `dist/nodes/ai-patterns/flow/spec.d.ts:66-69` |
1007
1007
  | `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:585-586` |
1008
- | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:1003-1045` |
1008
+ | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:1007-1049` |
1009
1009
  | `systemPrompt` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:191-196` |
1010
1010
  | `systemPrompt` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:871-920` |
1011
1011
  | `systemPrompt` | property | `VoiceAgentInputs` | `dist/core/actions.d.ts:278-283` |
@@ -1030,7 +1030,7 @@ not find it either.
1030
1030
  | `temperature` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:981-982` |
1031
1031
  | `temperature` | property | `VoiceSettings` | `dist/core/actions.d.ts:270-271` |
1032
1032
  | `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:692-693` |
1033
- | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1144-1174` |
1033
+ | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1148-1178` |
1034
1034
  | `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1495-1496` |
1035
1035
  | `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:201-202` |
1036
1036
  | `timeout` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:91-108` |
@@ -1050,16 +1050,16 @@ not find it either.
1050
1050
  | `tools` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1072-1094` |
1051
1051
  | `transform` | property | `FlowActionSpecs` | `dist/nodes/transform/flow/spec.d.ts:111-114` |
1052
1052
  | `transformation` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:30-31` |
1053
- | `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:728-729` |
1054
- | `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:754-756` |
1053
+ | `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:732-733` |
1054
+ | `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:758-760` |
1055
1055
  | `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1224-1232` |
1056
1056
  | `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:128-129` |
1057
- | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1330-1350` |
1057
+ | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1347-1367` |
1058
1058
  | `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:624-671` |
1059
1059
  | `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:976-977` |
1060
- | `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:771-777` |
1061
- | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1402-1421` |
1062
- | `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:757-758` |
1060
+ | `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:775-781` |
1061
+ | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1419-1438` |
1062
+ | `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:761-762` |
1063
1063
  | `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:644-645` |
1064
1064
  | `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:620-621` |
1065
1065
  | `type` | property | `ActionField` | `dist/case/case-sdk.d.ts:435-436` |
@@ -1115,7 +1115,7 @@ not find it either.
1115
1115
  | `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:205-206` |
1116
1116
  | `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:132-137` |
1117
1117
  | `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1199-1223` |
1118
- | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1605-1614` |
1118
+ | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1622-1631` |
1119
1119
  | `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3059-3067` |
1120
1120
  | `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:494-495` |
1121
1121
  | `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:251-252` |
@@ -1125,12 +1125,12 @@ not find it either.
1125
1125
  | `variant` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:187-191` |
1126
1126
  | `variant` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:96-105` |
1127
1127
  | `vars` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:640` |
1128
- | `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:752` |
1128
+ | `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:756` |
1129
1129
  | `vars` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3086-3111` |
1130
1130
  | `vars` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1939-1940` |
1131
1131
  | `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:257-271` |
1132
1132
  | `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:626-632` |
1133
- | `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:742` |
1133
+ | `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:746` |
1134
1134
  | `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1057-1067` |
1135
1135
  | `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1435-1436` |
1136
1136
  | `version` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:63` |
@@ -1138,7 +1138,7 @@ not find it either.
1138
1138
  | `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1289-1290` |
1139
1139
  | `version` | property | `EventSubscription` | `dist/core/actions.d.ts:2173` |
1140
1140
  | `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1507-1508` |
1141
- | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1422-1435` |
1141
+ | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1439-1452` |
1142
1142
  | `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:397-404` |
1143
1143
  | `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:126` |
1144
1144
  | `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:2130-2131` |
@@ -1155,13 +1155,13 @@ not find it either.
1155
1155
  | `waitForEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2688-2729` |
1156
1156
  | `waitForMessage` | property | `FlowActionSpecs` | `dist/nodes/conversation/flow/spec.d.ts:51-54` |
1157
1157
  | `waitForTimer` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:877-883` |
1158
- | `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:650-655` |
1158
+ | `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:654-659` |
1159
1159
  | `when` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:176-182` |
1160
1160
  | `when` | property | `SwitchArm` | `dist/flow-sdk.d.ts:362-367` |
1161
1161
  | `where` | property | `EventSubscription` | `dist/core/actions.d.ts:2139-2157` |
1162
1162
  | `where` | property | `TriggerOptions` | `dist/core/actions.d.ts:2092-2109` |
1163
1163
  | `width` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:604-605` |
1164
- | `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:705-706` |
1165
- | `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:701-702` |
1166
- | `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:703-704` |
1164
+ | `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:709-710` |
1165
+ | `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:705-706` |
1166
+ | `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:707-708` |
1167
1167
  | `zIndex` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:608-609` |
package/dist/check.js CHANGED
@@ -4558,17 +4558,36 @@ function checkStepRefs(built, diags) {
4558
4558
  const scopeOf = new Map();
4559
4559
  /** Step name → the parallel arm it lives in, as `<parallel>#<index>`. */
4560
4560
  const armOf = new Map();
4561
+ /**
4562
+ * How many nodes answer to each NAMED End's name (`.return({}, { name })`), and
4563
+ * how many of those are steps. A named End is a ref target too (#1223): a side
4564
+ * path that runs into the main path's End is one End with two incoming edges,
4565
+ * which the product accepts and the canvas draws. Counted so a ref to a name
4566
+ * two nodes share is refused rather than wired to whichever came first.
4567
+ */
4568
+ const endNames = new Map();
4569
+ const stepNamesSeen = new Set();
4561
4570
  let seq = 0;
4562
4571
  const index = (steps, portList, scope, arm) => {
4563
4572
  for (const s of steps) {
4564
- if ('name' in s && s.kind !== 'return') {
4565
- if (!order.has(s.name))
4566
- order.set(s.name, seq);
4567
- if (portList)
4568
- inPortList.add(s.name);
4569
- scopeOf.set(s.name, scope);
4570
- if (arm)
4571
- armOf.set(s.name, arm);
4573
+ // A `return`'s own `name` is synthetic; its End is named by `options.name`.
4574
+ const name = s.kind === 'return' ? s.options?.name : 'name' in s ? s.name : undefined;
4575
+ if (name !== undefined) {
4576
+ if (s.kind === 'return')
4577
+ endNames.set(name, (endNames.get(name) ?? 0) + 1);
4578
+ else
4579
+ stepNamesSeen.add(name);
4580
+ // Exactly the step rule from before, for steps. A named End only fills a
4581
+ // name nothing has claimed; a clash is REF_AMBIGUOUS_TARGET below.
4582
+ if (s.kind !== 'return' || !order.has(name)) {
4583
+ if (!order.has(name))
4584
+ order.set(name, seq);
4585
+ if (portList)
4586
+ inPortList.add(name);
4587
+ scopeOf.set(name, scope);
4588
+ if (arm)
4589
+ armOf.set(name, arm);
4590
+ }
4572
4591
  }
4573
4592
  seq++;
4574
4593
  if (s.kind === 'stepToList')
@@ -4630,7 +4649,15 @@ function checkStepRefs(built, diags) {
4630
4649
  if (!order.has(target)) {
4631
4650
  const near = [...order.keys()].find((n) => n.toLowerCase() === target.toLowerCase());
4632
4651
  say('error', 'REF_UNKNOWN_TARGET', `.stepToRef('${target}') ${where} names a step this flow does not have`
4633
- + `${near ? ` (did you mean "${near}"?)` : ''}. It takes the same name you passed to .step().`, near ? `.stepToRef('${near}')` : undefined);
4652
+ + `${near ? ` (did you mean "${near}"?)` : ''}. It takes the same name you passed to .step(), or the `
4653
+ + `\`name\` of a \`.return({}, { name })\` End.`, near ? `.stepToRef('${near}')` : undefined);
4654
+ continue;
4655
+ }
4656
+ const ends = endNames.get(target) ?? 0;
4657
+ if (ends > 0 && ends + (stepNamesSeen.has(target) ? 1 : 0) > 1) {
4658
+ say('error', 'REF_AMBIGUOUS_TARGET', `.stepToRef('${target}') ${where} names ${stepNamesSeen.has(target) ? 'both a step and an End' : `${ends} Ends`} `
4659
+ + `called "${target}", so it is not clear which one the path should go to. Give each \`.return({}, { name })\` `
4660
+ + `a name no other step or End uses.`);
4634
4661
  continue;
4635
4662
  }
4636
4663
  // A ref to a container the path is INSIDE names it as a step, so the edge
package/dist/decompile.js CHANGED
@@ -2282,7 +2282,7 @@ function armCb(param, segs) {
2282
2282
  function returnSeg(node, ctx) {
2283
2283
  const updates = ctx.flow.variables?.variableUpdates?.[node.id] ?? [];
2284
2284
  const outputIds = new Set(readFlowGlobals(ctx.flow.variables).filter((g) => g.direction === 'out').map((g) => g.id));
2285
- const opts = returnOptsArg(node);
2285
+ const opts = returnOptsArg(node, ctx.refTargets?.has(node.id) ?? false);
2286
2286
  const entries = updates.map((u) => `${key(u.variableId)}: ${emitVal(u.expression, ctx.imp, ctx.inputNames)}`);
2287
2287
  const written = new Set(updates.map((u) => u.variableId));
2288
2288
  for (const [name, out] of Object.entries(node.outputs ?? {})) {
@@ -2323,9 +2323,10 @@ function isIdentityEndSource(raw, name, isOutput = false) {
2323
2323
  * it — compile then refused its own decompiled source with `layout: "endNiceDay"
2324
2324
  * names no step or node in this flow`.
2325
2325
  */
2326
- function returnOptsArg(node) {
2326
+ function returnOptsArg(node, referenced = false) {
2327
2327
  const parts = [];
2328
- if (node.id !== 'end')
2328
+ // A `.stepToRef` into this End needs it named, `end` included (#1223).
2329
+ if (node.id !== 'end' || referenced)
2329
2330
  parts.push(`name: ${tsLiteral(node.id)}`);
2330
2331
  const ver = verClause(node);
2331
2332
  if (ver)
@@ -2371,7 +2372,12 @@ function region(cursor, stop, scope, ipdom, ctx, refInto) {
2371
2372
  const segs = [];
2372
2373
  while (cursor !== undefined && cursor !== stop && cursor !== EXIT) {
2373
2374
  // A ref forward: this path re-enters a step the main path reaches later.
2375
+ // That includes the main path's End: one End with several incoming edges is
2376
+ // a valid flow (the canvas draws it, `edge add` writes it), and a named End is
2377
+ // a ref target, so the side path joins it instead of minting a second End
2378
+ // (#1223). The main path's `.return(...)` then carries the End's `name`.
2374
2379
  if (refInto?.has(cursor)) {
2380
+ (ctx.refTargets ??= new Set()).add(cursor);
2375
2381
  segs.push(`.stepToRef(${tsLiteral(cursor)})`);
2376
2382
  return segs;
2377
2383
  }
@@ -2381,8 +2387,9 @@ function region(cursor, stop, scope, ipdom, ctx, refInto) {
2381
2387
  // A ref backward or sideways: this path has arrived somewhere already emitted.
2382
2388
  // Before, the walk simply stopped here — which silently dropped the rest of a
2383
2389
  // cycle, and a backward edge is now something the builder can author. Ends and
2384
- // terminates are excluded: they are not named steps, so there is nothing a ref
2385
- // could resolve against, and each path emitting its own is already correct.
2390
+ // terminates are excluded: each path emitting its own is a valid flow. (A
2391
+ // side path into the MAIN path's End is the lookahead above, #1223; an End
2392
+ // emitted earlier may be unnamed, so it is not a ref target here.)
2386
2393
  if (ctx.emitted.has(cursor) && node.type !== T.end && node.type !== T.terminate) {
2387
2394
  segs.push(`.stepToRef(${tsLiteral(cursor)})`);
2388
2395
  return segs;
@@ -467,6 +467,10 @@ export interface ReturnOptions extends NodeOptions {
467
467
  * same values, label and version are one End reached from both paths; Ends that
468
468
  * differ are de-duplicated to `done` and `done2`.
469
469
  *
470
+ * A named End is also a {@link StepList.stepToRef} target: another path can
471
+ * end at this End rather than at one of its own. `check` refuses the ref
472
+ * (REF_AMBIGUOUS_TARGET) when the name is shared by another End or a step.
473
+ *
470
474
  * ```ts
471
475
  * .branch('checkTemperature', js`${input('tempF')} > 60`,
472
476
  * (t) => t.return({}, { name: 'endNiceDay', label: 'Nice Day' }),
@@ -1196,7 +1200,19 @@ declare class StepList {
1196
1200
  * can prove it refuses; what depends on the runtime it warns about and leaves to
1197
1201
  * `uip maestro flow validate`.
1198
1202
  *
1199
- * @param target - The step to continue at, named as it was in `.step(...)`.
1203
+ * The target may also be a NAMED End, `.return({…}, { name })`: the path then
1204
+ * ends at that End node instead of one of its own, so one End has several
1205
+ * incoming edges, as the canvas draws it.
1206
+ *
1207
+ * ```ts
1208
+ * .step('fetch', http({ …, branches: [{ name: 'missing', condition: … }] }))
1209
+ * .stepToList('branch-missing', (b) => b.step('log', script({ … })).stepToRef('done'))
1210
+ * .step('use', script({ … }))
1211
+ * .return({}, { name: 'done' }) // both paths end at this one End
1212
+ * ```
1213
+ *
1214
+ * @param target - The step to continue at, named as it was in `.step(...)`, or
1215
+ * the `name` of a `.return(...)` End.
1200
1216
  * @returns This builder. Nothing may follow: the path has been handed off.
1201
1217
  * @see stepToList
1202
1218
  */
@@ -1216,7 +1232,8 @@ declare class StepList {
1216
1232
  * ```
1217
1233
  *
1218
1234
  * @param port - The port of this step to leave, e.g. `'error'`.
1219
- * @param target - The step to continue at, named as it was in `.step(...)`.
1235
+ * @param target - The step to continue at, named as it was in `.step(...)`, or
1236
+ * the `name` of a `.return(...)` End.
1220
1237
  * @returns This builder, so calls chain — a side exit ends nothing.
1221
1238
  * @see stepToList
1222
1239
  */
package/dist/flow-sdk.js CHANGED
@@ -840,7 +840,7 @@ class StepList {
840
840
  const target = maybeTarget === undefined ? portOrTarget : maybeTarget;
841
841
  if (typeof target !== 'string' || target.length === 0) {
842
842
  throw new TypeError(`.stepToRef() takes the NAME of the step to continue at — .stepToRef('priceIt') — and got ${JSON.stringify(target)}. `
843
- + `It is the same name you passed to .step(), so the edge can be wired after the whole flow is built.`);
843
+ + `It is the same name you passed to .step() (or a .return() End's \`name\`), so the edge can be wired after the whole flow is built.`);
844
844
  }
845
845
  // A non-default port leaves the PRECEDING step, so it is guarded the same way
846
846
  // `.stepToList()` is; the default port continues the list and needs no source.
package/dist/serialize.js CHANGED
@@ -3862,6 +3862,7 @@ function newScope(outputs, vars = [], backing = new Map(), backingReads = backin
3862
3862
  stepNodeId: new Map(),
3863
3863
  pendingEdges: [],
3864
3864
  openTails: false,
3865
+ endNodeId: new Map(),
3865
3866
  };
3866
3867
  }
3867
3868
  /**
@@ -3905,6 +3906,7 @@ function newScope(outputs, vars = [], backing = new Map(), backingReads = backin
3905
3906
  */
3906
3907
  /**
3907
3908
  * Wire every parked `.stepToRef('<step>')` edge, now that the whole scope exists.
3909
+ * The target is a step, or else a named End (`.return({}, { name })`, #1223).
3908
3910
  *
3909
3911
  * An unresolved target should be impossible — `check`'s REF_UNKNOWN_TARGET
3910
3912
  * runs first and names the steps that do exist — but a serializer that silently
@@ -3914,10 +3916,12 @@ function newScope(outputs, vars = [], backing = new Map(), backingReads = backin
3914
3916
  */
3915
3917
  function resolveRejoins(scope, addEdge) {
3916
3918
  for (const { from, target } of scope.pendingEdges) {
3917
- const id = scope.stepNodeId.get(target);
3919
+ const id = scope.stepNodeId.get(target) ?? scope.endNodeId.get(target);
3918
3920
  if (!id) {
3921
+ const ends = [...scope.endNodeId.keys()];
3919
3922
  throw new Error(`.stepToRef('${target}') names a step this flow does not have. Known steps: `
3920
- + `${[...scope.stepNodeId.keys()].join(', ') || '(none)'}.`);
3923
+ + `${[...scope.stepNodeId.keys()].join(', ') || '(none)'}`
3924
+ + `${ends.length ? `; named Ends: ${ends.join(', ')}` : ''}.`);
3921
3925
  }
3922
3926
  // Through the serializer's own `addEdge`, so the id comes from the one
3923
3927
  // file-wide counter. A per-scope count (`edge_ref_${scope.edges.length}`)
@@ -6505,6 +6509,11 @@ export function serialize(built, opts = {}) {
6505
6509
  scope.variableUpdates[id] = updates;
6506
6510
  if (name !== undefined && !prior) {
6507
6511
  (namedEnds.get(scope) ?? namedEnds.set(scope, new Map()).get(scope)).set(name, { id, sig });
6512
+ // A NAMED End can be a `.stepToRef` target (#1223); an unnamed one
6513
+ // cannot, since its id (`end`, `end2`, …) depends on emission order.
6514
+ // First wins, like `stepUid`: two Ends sharing a name with different
6515
+ // content are `check`'s REF_AMBIGUOUS_TARGET when a ref names them.
6516
+ scope.endNodeId.set(name, id);
6508
6517
  }
6509
6518
  }
6510
6519
  tails = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.31.9",
3
+ "version": "6.32.0",
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",
@@ -93,5 +93,5 @@
93
93
  "@types/node": "^22.7.0",
94
94
  "esbuild": "^0.28.1"
95
95
  },
96
- "gitref": "e812e24ab6455bcc1ffeb6f806e9cd0d09cbe389"
96
+ "gitref": "83ae5bb02e8784f1a445c0377a09daae9ffc5b26"
97
97
  }