@uipath/maestro-builder-sdk 6.21.0 → 6.21.1

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,7 +57,7 @@ could hand you spans for a version you do not have.
57
57
  | `apiWorkflow` | function | `dist/core/actions.d.ts:2298-2332` | 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:887-918` | Option shapes | 5 field(s) |
59
59
  | `AppRef` | interface | `dist/core/actions.d.ts:374-419` | 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:1185-1208` | 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:1183-1206` | 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:214-224` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
62
62
  | `batchTransform` | function | `dist/core/actions.d.ts:2163-2197` | 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:714-729` | Option shapes | 4 field(s) |
@@ -128,11 +128,11 @@ could hand you spans for a version you do not have.
128
128
  | `FilterCondition` | type | `dist/nodes/transform/flow/spec.d.ts:10-11` | Supporting types | Comparison a filter rule applies to a field. |
129
129
  | `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. |
130
130
  | `FilterRule` | interface | `dist/nodes/transform/flow/spec.d.ts:12-24` | Supporting types | 3 field(s) |
131
- | `flow` | function | `dist/flow-sdk.d.ts:1491-1506` | Flow construction | Start building a flow with the given id. |
131
+ | `flow` | function | `dist/flow-sdk.d.ts:1489-1504` | Flow construction | Start building a flow with the given id. |
132
132
  | `FlowAction` | class | `dist/core/node-classes.d.ts:162-168` | Supporting types | A node placed as a step — pass an instance to `.step(name, …)`. |
133
133
  | `FlowActionSpec` | type | `dist/flow-sdk.d.ts:49-50` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
134
134
  | `FlowActionSpecs` | interface | `dist/core/actions.d.ts:1919-2024` | Supporting types | Every action kind, keyed by kind, to the body of its spec — the arm's fields other than `kind`. |
135
- | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1209-1490` | Builders | 13 member(s) |
135
+ | `FlowBuilder` | class | `dist/flow-sdk.d.ts:1207-1488` | Builders | 13 member(s) |
136
136
  | `FlowLayout` | interface | `dist/flow-sdk.d.ts:677-690` | 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
137
  | `FlowNode` | class | `dist/core/node-classes.d.ts:126-161` | Supporting types | The abstract root of every definition-backed node the builder can place. |
138
138
  | `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. |
@@ -225,11 +225,11 @@ could hand you spans for a version you do not have.
225
225
  | `SendMessageInputs` | interface | `dist/core/actions.d.ts:492-511` | Option shapes | 4 field(s) |
226
226
  | `ShownField` | interface | `dist/core/actions.d.ts:198-213` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
227
227
  | `Step` | type | `dist/flow-sdk.d.ts:480-599` | Supporting types | |
228
- | `StepList` | class | `dist/flow-sdk.d.ts:740-1184` | Builders | Collects a sequence of steps. |
228
+ | `StepList` | class | `dist/flow-sdk.d.ts:740-1182` | Builders | Collects a sequence of steps. |
229
229
  | `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:630-635` | Flow construction | The designer's sticky-note palette. |
230
230
  | `StickyNote` | interface | `dist/flow-sdk.d.ts:642-676` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
231
231
  | `StickyNoteColor` | type | `dist/flow-sdk.d.ts:636-641` | Supporting types | A sticky note's swatch. |
232
- | `subflow` | function | `dist/flow-sdk.d.ts:1507-1546` | Flow construction | Run another flow as one step, and read back what it returns. |
232
+ | `subflow` | function | `dist/flow-sdk.d.ts:1505-1544` | Flow construction | Run another flow as one step, and read back what it returns. |
233
233
  | `SubflowSpec` | interface | `dist/flow-sdk.d.ts:41-48` | Supporting types | A step that runs a child flow. |
234
234
  | `summarize` | function | `dist/core/actions.d.ts:2122-2162` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
235
235
  | `SummarizeInputs` | interface | `dist/core/actions.d.ts:674-706` | 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/core/actions.d.ts:404-409` |
68
68
  | `appVersion` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1339-1340` |
69
- | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1197` |
69
+ | `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1195` |
70
70
  | `assignee` | property | `HitlRecipient` | `dist/core/actions.d.ts:286-297` |
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:941-959` |
100
+ | `branch` | method | `StepList` | `dist/flow-sdk.d.ts:939-957` |
101
101
  | `branches` | property | `HttpInputsBase` | `dist/core/actions.d.ts:30-35` |
102
- | `break` | method | `StepList` | `dist/flow-sdk.d.ts:1069-1078` |
102
+ | `break` | method | `StepList` | `dist/flow-sdk.d.ts:1067-1076` |
103
103
  | `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:477-478` |
104
104
  | `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:464-468` |
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:1483-1489` |
107
+ | `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1481-1487` |
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` |
@@ -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:1079-1093` |
175
+ | `continue` | method | `StepList` | `dist/flow-sdk.d.ts:1077-1091` |
176
176
  | `contribute` | method | `FlowNode` | `dist/core/node-classes.d.ts:144-153` |
177
177
  | `conversationalAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1975-1978` |
178
178
  | `conversationContext` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1959-1962` |
@@ -223,7 +223,7 @@ not find it either.
223
223
  | `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:1231` |
224
224
  | `description` | property | `EscalationRef` | `dist/core/actions.d.ts:1825-1826` |
225
225
  | `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:241` |
226
- | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1233-1240` |
226
+ | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1231-1238` |
227
227
  | `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1630` |
228
228
  | `description` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:813-820` |
229
229
  | `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:1803-1804` |
@@ -265,7 +265,7 @@ not find it either.
265
265
  | `document` | property | `HitlInputs` | `dist/core/actions.d.ts:486-490` |
266
266
  | `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:56-59` |
267
267
  | `documentId` | property | `DocValidationInputs` | `dist/core/actions.d.ts:318-319` |
268
- | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1044-1068` |
268
+ | `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1042-1066` |
269
269
  | `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
270
270
  | `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:33-34` |
271
271
  | `dynamicExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:60-63` |
@@ -289,7 +289,7 @@ not find it either.
289
289
  | `entity` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1090-1091` |
290
290
  | `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:528` |
291
291
  | `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:520` |
292
- | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1299-1349` |
292
+ | `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1297-1347` |
293
293
  | `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:534-539` |
294
294
  | `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:730-731` |
295
295
  | `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1004-1011` |
@@ -459,7 +459,7 @@ not find it either.
459
459
  | `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2266-2273` |
460
460
  | `inlineAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1987-1990` |
461
461
  | `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1160-1185` |
462
- | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1424-1436` |
462
+ | `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1422-1434` |
463
463
  | `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1355-1356` |
464
464
  | `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1241-1242` |
465
465
  | `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3068-3076` |
@@ -532,7 +532,7 @@ not find it either.
532
532
  | `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:43` |
533
533
  | `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:99-100` |
534
534
  | `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1670-1671` |
535
- | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1198-1207` |
535
+ | `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1196-1205` |
536
536
  | `label` | property | `AskedField` | `dist/core/actions.d.ts:218-219` |
537
537
  | `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:523` |
538
538
  | `label` | property | `InOutField` | `dist/core/actions.d.ts:234-235` |
@@ -546,7 +546,7 @@ not find it either.
546
546
  | `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:646-647` |
547
547
  | `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:726-727` |
548
548
  | `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1139-1159` |
549
- | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1241-1251` |
549
+ | `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1239-1249` |
550
550
  | `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
551
551
  | `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:475-476` |
552
552
  | `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
@@ -556,7 +556,7 @@ not find it either.
556
556
  | `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
557
557
  | `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:335-336` |
558
558
  | `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:832-833` |
559
- | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1032-1043` |
559
+ | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1030-1041` |
560
560
  | `managed` | property | `HttpInputsBase` | `dist/core/actions.d.ts:42-72` |
561
561
  | `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:354` |
562
562
  | `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:321` |
@@ -645,7 +645,7 @@ not find it either.
645
645
  | `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1840-1841` |
646
646
  | `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:240` |
647
647
  | `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1499-1500` |
648
- | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1225-1232` |
648
+ | `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1223-1230` |
649
649
  | `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:1637-1638` |
650
650
  | `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:760-761` |
651
651
  | `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:1735-1736` |
@@ -707,7 +707,7 @@ not find it either.
707
707
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3259-3266` |
708
708
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3267-3274` |
709
709
  | `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3275-3283` |
710
- | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:828-890` |
710
+ | `onError` | method | `StepList` | `dist/flow-sdk.d.ts:828-888` |
711
711
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3302-3310` |
712
712
  | `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3311-3319` |
713
713
  | `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3284-3292` |
@@ -725,7 +725,7 @@ not find it either.
725
725
  | `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:1871-1876` |
726
726
  | `outcomes` | property | `HitlInputs` | `dist/core/actions.d.ts:445-459` |
727
727
  | `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1186-1198` |
728
- | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1437-1472` |
728
+ | `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1435-1470` |
729
729
  | `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:90` |
730
730
  | `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3077-3085` |
731
731
  | `outputColumns` | property | `BatchTransformInputs` | `dist/core/actions.d.ts:722-726` |
@@ -761,7 +761,7 @@ not find it either.
761
761
  | `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:49-50` |
762
762
  | `pageRange` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:802-803` |
763
763
  | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:457-458` |
764
- | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:996-1031` |
764
+ | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:994-1029` |
765
765
  | `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2256-2265` |
766
766
  | `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1479-1480` |
767
767
  | `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1140-1145` |
@@ -860,7 +860,7 @@ not find it either.
860
860
  | `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:830-831` |
861
861
  | `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:308-309` |
862
862
  | `retryCount` | property | `HttpInputsBase` | `dist/core/actions.d.ts:114-128` |
863
- | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1174-1183` |
863
+ | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1172-1181` |
864
864
  | `returnCitations` | property | `SummarizeInputs` | `dist/core/actions.d.ts:700-705` |
865
865
  | `returns` | property | `AgentInputs` | `dist/core/actions.d.ts:1117-1136` |
866
866
  | `returns` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:905-917` |
@@ -901,7 +901,7 @@ not find it either.
901
901
  | `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3375-3404` |
902
902
  | `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:710-716` |
903
903
  | `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1068-1094` |
904
- | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1384-1423` |
904
+ | `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1382-1421` |
905
905
  | `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:121` |
906
906
  | `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:1177` |
907
907
  | `script` | property | `FlowActionSpecs` | `dist/nodes/script/flow/spec.d.ts:47-50` |
@@ -978,11 +978,11 @@ not find it either.
978
978
  | `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:720` |
979
979
  | `steps` | property | `StepList` | `dist/flow-sdk.d.ts:742` |
980
980
  | `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:785-827` |
981
- | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:904-932` |
982
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1125-1153` |
983
- | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1154-1173` |
981
+ | `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:902-930` |
982
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1123-1151` |
983
+ | `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1152-1171` |
984
984
  | `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:728-729` |
985
- | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1252-1277` |
985
+ | `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1250-1275` |
986
986
  | `storageBucket` | property | `DocValidationInputs` | `dist/core/actions.d.ts:316-317` |
987
987
  | `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
988
988
  | `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:597-598` |
@@ -995,7 +995,7 @@ not find it either.
995
995
  | `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:80-81` |
996
996
  | `summarize` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1991-1994` |
997
997
  | `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:585-586` |
998
- | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:960-995` |
998
+ | `switch` | method | `StepList` | `dist/flow-sdk.d.ts:958-993` |
999
999
  | `systemPrompt` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:554-559` |
1000
1000
  | `systemPrompt` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1290-1339` |
1001
1001
  | `systemPrompt` | property | `VoiceAgentInputs` | `dist/core/actions.d.ts:641-646` |
@@ -1020,7 +1020,7 @@ not find it either.
1020
1020
  | `temperature` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1400-1401` |
1021
1021
  | `temperature` | property | `VoiceSettings` | `dist/core/actions.d.ts:633-634` |
1022
1022
  | `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:692-693` |
1023
- | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1094-1124` |
1023
+ | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1092-1122` |
1024
1024
  | `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1914-1915` |
1025
1025
  | `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:201-202` |
1026
1026
  | `timeout` | property | `HttpInputsBase` | `dist/core/actions.d.ts:96-113` |
@@ -1044,11 +1044,11 @@ not find it either.
1044
1044
  | `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:721-723` |
1045
1045
  | `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1224-1232` |
1046
1046
  | `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:128-129` |
1047
- | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1278-1298` |
1047
+ | `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1276-1296` |
1048
1048
  | `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:624-671` |
1049
1049
  | `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:976-977` |
1050
1050
  | `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:732-738` |
1051
- | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1350-1369` |
1051
+ | `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1348-1367` |
1052
1052
  | `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:724-725` |
1053
1053
  | `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:644-645` |
1054
1054
  | `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:620-621` |
@@ -1104,7 +1104,7 @@ not find it either.
1104
1104
  | `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:205-206` |
1105
1105
  | `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:132-137` |
1106
1106
  | `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1199-1223` |
1107
- | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1473-1482` |
1107
+ | `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1471-1480` |
1108
1108
  | `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3059-3067` |
1109
1109
  | `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:494-495` |
1110
1110
  | `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:251-252` |
@@ -1127,7 +1127,7 @@ not find it either.
1127
1127
  | `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1708-1709` |
1128
1128
  | `version` | property | `EventSubscription` | `dist/core/actions.d.ts:2807` |
1129
1129
  | `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1507-1508` |
1130
- | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1370-1383` |
1130
+ | `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1368-1381` |
1131
1131
  | `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:369-376` |
1132
1132
  | `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:126` |
1133
1133
  | `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:2764-2765` |
package/dist/check.js CHANGED
@@ -9,7 +9,7 @@ import { Expr, SCHEDULE_PRESETS, parseIxpProjectType, flatNameOf, flatNameSegmen
9
9
  import { FlowNode } from './core/node-classes.js';
10
10
  import { planContributionBindings } from './core/contribution-bindings.js';
11
11
  import { definitionHasErrorPort, errorPortRefusal } from './core/error-port.js';
12
- import { actionVersion, bundledActionNodeType, bundledDefinition, perCallDefinition, resolveContributionDefinition } from './serialize.js';
12
+ import { actionVersion, bundledActionNodeType, bundledContainerDefinition, bundledDefinition, perCallDefinition, resolveContributionDefinition } from './serialize.js';
13
13
  import { sdkFormFieldType } from './core/form-field-type.js';
14
14
  import { AGENTIC_PROCESS_FORMS } from './core/agentic-process-forms.js';
15
15
  import { checkEventResolution, checkEventSubscription, eventParamsFor, } from './core/event-checks.js';
@@ -4882,19 +4882,22 @@ placed) {
4882
4882
  // source here means a hand-built `BuiltFlow`; there is nothing to say about it.
4883
4883
  if (!step)
4884
4884
  return;
4885
- // A `.loop()` CONTAINER is fine: `core.logic.loop` declares the error handle at
4886
- // both bundled versions, and a measured run routed a body failure to it — the
4887
- // container's envelope carried the body's message in `detail` and the failing
4888
- // body step's label in `element`.
4889
- if (step.kind === 'loop')
4890
- return;
4891
- // `.doWhile()` is not. `core.logic.dowhile@1.0` declares an error VARIABLE and
4892
- // no error HANDLE, so the edge would leave a handle the node does not have —
4893
- // the shape that fails product validate with "the current manifest does not
4894
- // declare that handle". The builder refuses this too; this catches a
4895
- // hand-built flow and says the same thing.
4896
- if (step.kind === 'doWhile') {
4897
- diags.push(doWhileOnErrorRefusal(step.name));
4885
+ // A container (`.loop()` / `.doWhile()`) is decided by its bundled definition
4886
+ // too. Both set `supportsErrorHandling: true`, and both route a body failure
4887
+ // to the container's port, measured: the container's envelope carries the
4888
+ // body's message in `detail` and the failing body step's canvas label (its id when it has no `label`) in `element`, and
4889
+ // the instance completes. `core.logic.dowhile@1.0` declares no `error` handle,
4890
+ // but the flag alone grants it: flow validate adds the handle from the flag.
4891
+ if (step.kind === 'loop' || step.kind === 'doWhile') {
4892
+ const def = bundledContainerDefinition(step.kind, step.options?.version);
4893
+ if (def === undefined || definitionHasErrorPort(def))
4894
+ return;
4895
+ diags.push({
4896
+ level: 'error',
4897
+ code: 'ONERROR_NO_ERROR_PORT',
4898
+ message: errorPortRefusal(step.name, def),
4899
+ step: step.name,
4900
+ });
4898
4901
  return;
4899
4902
  }
4900
4903
  // A custom FlowAction or rawNode has no `kind`: ask its DEFINITION, with the
@@ -4912,10 +4915,6 @@ placed) {
4912
4915
  }
4913
4916
  // A custom node backed by a typed family's bundled definition gets that
4914
4917
  // family's refusals: the rules are about the node type, not the SDK kind.
4915
- if (def?.nodeType === 'core.logic.dowhile') {
4916
- diags.push(doWhileOnErrorRefusal(step.name));
4917
- return;
4918
- }
4919
4918
  if (def?.nodeType === 'core.action.http') {
4920
4919
  diags.push(plainHttpOnErrorRefusal(step.name));
4921
4920
  return;
@@ -5020,17 +5019,6 @@ placed) {
5020
5019
  if (spec.kind === 'http' && !spec.inputs?.managed)
5021
5020
  diags.push(plainHttpOnErrorRefusal(step.name));
5022
5021
  }
5023
- /** `.onError` after a `core.logic.dowhile` container: it declares no error handle. */
5024
- function doWhileOnErrorRefusal(stepName) {
5025
- return {
5026
- level: 'error',
5027
- code: 'ONERROR_NO_ERROR_PORT',
5028
- message: `Step "${stepName}" is a .doWhile() container. It declares an error variable but no error HANDLE `
5029
- + `(core.logic.dowhile@1.0: input, success, start, continue, break), so the edge would leave a handle the `
5030
- + `node does not have. Handle the failure inside the body, on the step that can fail.`,
5031
- step: stepName,
5032
- };
5033
- }
5034
5022
  /** `.onError` after a plain `core.action.http` node (see the two measured facts in {@link checkOnError}). */
5035
5023
  function plainHttpOnErrorRefusal(stepName) {
5036
5024
  return {
@@ -864,13 +864,11 @@ declare class StepList {
864
864
  * your handler), and it refuses at build time on a step whose node type has no
865
865
  * error port.
866
866
  *
867
- * **A `.loop()` container takes one too.** `core.logic.loop` declares the
868
- * handle, and a body step's failure routes to it: the container's envelope
869
- * carries the body's message in `detail` and the failing body step's label
870
- * (`display.label`, which defaults to the step name) in `element`, and the
871
- * instance completes rather than faulting. `.doWhile()` does
872
- * NOT — it declares an error variable and no error handle — so that one is
873
- * refused by name, and its failures belong to the body step that can fail.
867
+ * **A `.loop()` or `.doWhile()` container takes one too.** Both definitions
868
+ * set `supportsErrorHandling: true`, and a body step's failure routes to the
869
+ * container: its envelope carries the body's message in `detail` and the
870
+ * failing body step's canvas label in `element`, and the instance completes rather than
871
+ * faulting.
874
872
  *
875
873
  * **A plain `http()` step is the trap worth knowing**: a 404 there is a
876
874
  * SUCCESS with `statusCode: 404`, so the handler never runs — use
package/dist/flow-sdk.js CHANGED
@@ -423,13 +423,11 @@ class StepList {
423
423
  * your handler), and it refuses at build time on a step whose node type has no
424
424
  * error port.
425
425
  *
426
- * **A `.loop()` container takes one too.** `core.logic.loop` declares the
427
- * handle, and a body step's failure routes to it: the container's envelope
428
- * carries the body's message in `detail` and the failing body step's label
429
- * (`display.label`, which defaults to the step name) in `element`, and the
430
- * instance completes rather than faulting. `.doWhile()` does
431
- * NOT — it declares an error variable and no error handle — so that one is
432
- * refused by name, and its failures belong to the body step that can fail.
426
+ * **A `.loop()` or `.doWhile()` container takes one too.** Both definitions
427
+ * set `supportsErrorHandling: true`, and a body step's failure routes to the
428
+ * container: its envelope carries the body's message in `detail` and the
429
+ * failing body step's canvas label in `element`, and the instance completes rather than
430
+ * faulting.
433
431
  *
434
432
  * **A plain `http()` step is the trap worth knowing**: a 404 there is a
435
433
  * SUCCESS with `statusCode: 404`, so the handler never runs — use
@@ -469,25 +467,19 @@ class StepList {
469
467
  i--;
470
468
  }
471
469
  const source = this.steps[i];
472
- // A `.loop()` CONTAINER is a legal source for the error port. Its definition
473
- // declares the handle at both bundled versions (`core.logic.loop@1.0.0` and
474
- // `@2.4`, gated on `errorHandlingEnabled` like every other error handle), and
475
- // the platform routes it: a body step throwing inside a measured run left the
476
- // instance Completed with the container's envelope published — `detail` the
477
- // body's own message, `element` the label of the body step that failed.
478
- //
479
- // `.doWhile()` is NOT: `core.logic.dowhile@1.0` declares an error VARIABLE
480
- // and no error HANDLE, so an edge would leave a handle the node does not
481
- // have — the same shape as the agent `memory` handle that fails validate.
482
- const containerPort = port === 'error' && source?.kind === 'loop';
470
+ // A container (`.loop()` or `.doWhile()`) is a legal source for the error
471
+ // port. Both definitions set `supportsErrorHandling: true`, and the platform
472
+ // routes it: a body step throwing inside a measured run left the instance
473
+ // Completed with the container's envelope published — `detail` the body's
474
+ // own message, `element` the canvas label of the body step that failed. `check` and
475
+ // `serialize` confirm the port against the bundled definition at the
476
+ // version the container emits (#1010).
477
+ const containerPort = port === 'error' && (source?.kind === 'loop' || source?.kind === 'doWhile');
483
478
  if (!source || (source.kind !== 'action' && !containerPort)) {
484
479
  throw new TypeError(`${called} leaves a port of the step BEFORE it, and ${source ? `the previous step is a ${source.kind}` : 'there is no previous step'}. `
485
480
  + `Write .step('fetch', http({…}))${called}`
486
- + (source?.kind === 'doWhile' && port === 'error'
487
- ? ' — a .doWhile() declares an error variable but no error HANDLE (core.logic.dowhile@1.0), so the edge '
488
- + 'would leave a handle the node does not have. Handle the failure inside the body instead.'
489
- : ' — a branch, parallel, terminate or return has no port to leave from; a .loop() has one only for '
490
- + "'error'."));
481
+ + ' — a branch, parallel, terminate or return has no port to leave from; a .loop() or .doWhile() has one '
482
+ + "only for 'error'.");
491
483
  }
492
484
  const taken = attached.some((s) => (s.kind === 'stepToList' || s.kind === 'stepToRef') && s.port === port);
493
485
  if (taken) {
@@ -152,6 +152,13 @@ export declare function actionVersion(spec: {
152
152
  * it), so the error-port answer depends on the version.
153
153
  */
154
154
  export declare function bundledDefinition(nodeType: string, requestedVersion?: string): any | undefined;
155
+ /**
156
+ * The bundled definition a `.loop()` or `.doWhile()` container emits, at the
157
+ * version serialize writes (`.loop()` defaults to `@2.4`, `.doWhile()` to the
158
+ * pinned `core.logic.dowhile@1.0`). `check` asks it whether the container has an
159
+ * error port (#1010).
160
+ */
161
+ export declare function bundledContainerDefinition(kind: 'loop' | 'doWhile', requestedVersion?: string): any | undefined;
155
162
  /**
156
163
  * Resolve a contribution's {@link DefinitionReference} to a concrete manifest —
157
164
  * exactly (design §2.6/§4.2): the named version resolves or compilation fails,
package/dist/serialize.js CHANGED
@@ -3769,6 +3769,19 @@ function hitlNeededVersion(inputs) {
3769
3769
  export function bundledDefinition(nodeType, requestedVersion) {
3770
3770
  return requestedVersion !== undefined ? DEFS[`${nodeType}@${requestedVersion}`] : defByType.get(nodeType);
3771
3771
  }
3772
+ /** The `core.logic.loop` version `.loop()` emits unless `{ version }` pins another. */
3773
+ const LOOP_DEFAULT_VERSION = '2.4';
3774
+ /**
3775
+ * The bundled definition a `.loop()` or `.doWhile()` container emits, at the
3776
+ * version serialize writes (`.loop()` defaults to `@2.4`, `.doWhile()` to the
3777
+ * pinned `core.logic.dowhile@1.0`). `check` asks it whether the container has an
3778
+ * error port (#1010).
3779
+ */
3780
+ export function bundledContainerDefinition(kind, requestedVersion) {
3781
+ return kind === 'loop'
3782
+ ? bundledDefinition(NODE_TYPE.loop, requestedVersion ?? LOOP_DEFAULT_VERSION)
3783
+ : bundledDefinition(NODE_TYPE.doWhile, requestedVersion);
3784
+ }
3772
3785
  /**
3773
3786
  * Resolve a contribution's {@link DefinitionReference} to a concrete manifest —
3774
3787
  * exactly (design §2.6/§4.2): the named version resolves or compilation fails,
@@ -6671,7 +6684,7 @@ export function serialize(built, opts = {}) {
6671
6684
  // An explicit 1.0.0 plus a rich option is a contradiction the author must
6672
6685
  // resolve, not a silent drop.
6673
6686
  const rich = o.parallel !== undefined || o.completionCondition !== undefined || o.breakEnabled !== undefined || usesBreak;
6674
- const version = o.version ?? '2.4';
6687
+ const version = o.version ?? LOOP_DEFAULT_VERSION;
6675
6688
  if (rich && version === '1.0.0') {
6676
6689
  throw new Error(`loop "${step.name}": parallel/completionCondition/breakEnabled/break() need the loop's 2.4 `
6677
6690
  + `definition, but { version: '1.0.0' } was requested. Drop the version or request 2.4.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.21.0",
3
+ "version": "6.21.1",
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": "c72d3cea4a18fc9bad9e6a10a817f7534b6de674"
95
+ "gitref": "fb7b702cde7f69674dfc8ed9e4eb171472e8d8e7"
96
96
  }