@uipath/maestro-builder-sdk 6.124.8 → 6.124.10
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 +7 -7
- package/dist/api-members.md +54 -54
- package/dist/check.js +2 -2
- package/dist/core/expr-check.d.ts +13 -0
- package/dist/core/expr-check.js +1 -1
- package/dist/core/expr-helper-names.d.ts +8 -0
- package/dist/core/expr-helper-names.js +8 -0
- package/dist/core/refusals.d.ts +2 -0
- package/dist/core/refusals.js +2 -0
- package/dist/decompile.js +33 -13
- package/dist/flow-expr-check.d.ts +14 -0
- package/dist/flow-expr-check.js +32 -1
- package/dist/flow-option-keys.js +1 -1
- package/dist/flow-sdk.d.ts +26 -4
- package/dist/flow-sdk.js +23 -4
- package/dist/serialize.js +34 -2
- package/package.json +4 -3
package/dist/api-index.md
CHANGED
|
@@ -67,15 +67,15 @@ could hand you spans for a version you do not have.
|
|
|
67
67
|
| `apiWorkflow` | function | `dist/nodes/process/flow/factories.d.ts:53-87` | Actions | Invoke a deployed API workflow — a coded workflow published to Orchestrator, run as a serverless job rather than by a… |
|
|
68
68
|
| `ApiWorkflowInputs` | interface | `dist/nodes/process/flow/spec.d.ts:125-236` | Option shapes | 9 field(s) |
|
|
69
69
|
| `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:146-254` | Supporting types | A deployed Action App that supplies a human task's form — the `'action-app'` variant's subject. |
|
|
70
|
-
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:
|
|
70
|
+
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:1301-1324` | Builders | The sub-builder an ARM callback receives — a `StepList` that can also name itself with `.label(...)`. |
|
|
71
71
|
| `AskedField` | interface | `dist/core/actions.d.ts:258-277` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
|
|
72
72
|
| `at` | function | `dist/flow-sdk.d.ts:620-649` | Flow construction | A node's layout at a canvas position — the short form of a NodeLayout for the `nodes` map of FlowBuilder.layout. |
|
|
73
73
|
| `batchTransform` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:55-89` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
|
|
74
74
|
| `BatchTransformInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:42-57` | Option shapes | 4 field(s) |
|
|
75
75
|
| `BindingContribution` | interface | `dist/core/node-classes.d.ts:89-110` | Supporting types | A resource binding a contribution hoists to the flow's top-level `bindings` array — the shape the `.flow` format… |
|
|
76
76
|
| `BranchOptions` | interface | `dist/flow-sdk.d.ts:347-363` | Option shapes | The options of `.branch()`: the NodeOptions, plus `draft` for a decision the canvas saved before its condition was set. |
|
|
77
|
-
| `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:750-
|
|
78
|
-
| `BuiltFlow` | interface | `dist/flow-sdk.d.ts:
|
|
77
|
+
| `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:750-767` | Supporting types | One additional flow root, built by `.entryPoint()`. |
|
|
78
|
+
| `BuiltFlow` | interface | `dist/flow-sdk.d.ts:768-815` | Supporting types | 17 field(s) |
|
|
79
79
|
| `BuiltinToolName` | type | `dist/core/actions.d.ts:431-432` | Supporting types | The three platform-shipped built-in tools (fixed registry types). |
|
|
80
80
|
| `BuiltinToolQuery` | type | `dist/core/actions.d.ts:653-669` | Supporting types | Where a built-in tool's task comes from: the canvas's sources, each under the same named key a tool argument takes,… |
|
|
81
81
|
| `BuiltinToolRef` | interface | `dist/core/actions.d.ts:614-652` | Supporting types | A platform built-in tool. |
|
|
@@ -152,11 +152,11 @@ could hand you spans for a version you do not have.
|
|
|
152
152
|
| `FilterCondition` | type | `dist/nodes/transform/flow/spec.d.ts:10-11` | Supporting types | Comparison a filter rule applies to a field. |
|
|
153
153
|
| `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. |
|
|
154
154
|
| `FilterRule` | interface | `dist/nodes/transform/flow/spec.d.ts:12-24` | Supporting types | 3 field(s) |
|
|
155
|
-
| `flow` | function | `dist/flow-sdk.d.ts:
|
|
155
|
+
| `flow` | function | `dist/flow-sdk.d.ts:1729-1744` | Flow construction | Start building a flow with the given id. |
|
|
156
156
|
| `FlowAction` | class | `dist/core/node-classes.d.ts:171-177` | Supporting types | A node placed as a step — pass an instance to `.step(name, …)`. |
|
|
157
157
|
| `FlowActionSpec` | type | `dist/flow-sdk.d.ts:61-62` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
|
|
158
158
|
| `FlowActionSpecs` | interface | `dist/core/actions.d.ts:959-1000` | Supporting types | Every action kind, keyed by kind, to the body of its spec — the arm's fields other than `kind`. |
|
|
159
|
-
| `FlowBuilder` | class | `dist/flow-sdk.d.ts:
|
|
159
|
+
| `FlowBuilder` | class | `dist/flow-sdk.d.ts:1325-1728` | Builders | 15 member(s) |
|
|
160
160
|
| `FlowLayout` | interface | `dist/flow-sdk.d.ts:736-749` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
|
|
161
161
|
| `FlowMetadata` | interface | `dist/nodes/script/flow/spec.d.ts:63-95` | Actions | The instance metadata, as a script function's second parameter sees it. |
|
|
162
162
|
| `FlowNode` | class | `dist/core/node-classes.d.ts:135-170` | Supporting types | The abstract root of every definition-backed node the builder can place. |
|
|
@@ -273,12 +273,12 @@ could hand you spans for a version you do not have.
|
|
|
273
273
|
| `ShownField` | interface | `dist/core/actions.d.ts:242-257` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
|
|
274
274
|
| `StartingPrompt` | interface | `dist/nodes/trigger/flow/spec.d.ts:52-63` | Supporting types | One suggestion the chat shows before the user types: a chip labelled `displayPrompt` that sends `actualPrompt` to the… |
|
|
275
275
|
| `Step` | type | `dist/flow-sdk.d.ts:484-604` | Supporting types | |
|
|
276
|
-
| `StepList` | class | `dist/flow-sdk.d.ts:
|
|
276
|
+
| `StepList` | class | `dist/flow-sdk.d.ts:816-1300` | Builders | Collects a sequence of steps. |
|
|
277
277
|
| `StepOptions` | interface | `dist/flow-sdk.d.ts:313-346` | Option shapes | The options of `.step()`: the NodeOptions, plus `draft` for a node the canvas saved unfinished. |
|
|
278
278
|
| `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:689-694` | Flow construction | The designer's sticky-note palette. |
|
|
279
279
|
| `StickyNote` | interface | `dist/flow-sdk.d.ts:701-735` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
|
|
280
280
|
| `StickyNoteColor` | type | `dist/flow-sdk.d.ts:695-700` | Supporting types | A sticky note's swatch. |
|
|
281
|
-
| `subflow` | function | `dist/flow-sdk.d.ts:
|
|
281
|
+
| `subflow` | function | `dist/flow-sdk.d.ts:1745-1784` | Flow construction | Run another flow as one step, and read back what it returns. |
|
|
282
282
|
| `SubflowSpec` | interface | `dist/flow-sdk.d.ts:53-60` | Supporting types | A step that runs a child flow. |
|
|
283
283
|
| `summarize` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:8-54` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
|
|
284
284
|
| `SummarizeInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:9-41` | Option shapes | 3 field(s) |
|
package/dist/api-members.md
CHANGED
|
@@ -78,7 +78,7 @@ not find it either.
|
|
|
78
78
|
| `app` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1684-1685` |
|
|
79
79
|
| `appSystemName` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:205-210` |
|
|
80
80
|
| `appVersion` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1662-1663` |
|
|
81
|
-
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
81
|
+
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1313` |
|
|
82
82
|
| `assignee` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:54-69` |
|
|
83
83
|
| `assignmentCriteria` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:897-903` |
|
|
84
84
|
| `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1555-1559` |
|
|
@@ -115,14 +115,14 @@ not find it either.
|
|
|
115
115
|
| `body` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:221-226` |
|
|
116
116
|
| `body` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:252-253` |
|
|
117
117
|
| `boundaryEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2638-2645` |
|
|
118
|
-
| `branch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
118
|
+
| `branch` | method | `StepList` | `dist/flow-sdk.d.ts:1015-1036` |
|
|
119
119
|
| `branches` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:25-30` |
|
|
120
|
-
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
120
|
+
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:1160-1169` |
|
|
121
121
|
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:476-477` |
|
|
122
122
|
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:458-462` |
|
|
123
123
|
| `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:4064-4073` |
|
|
124
124
|
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2181-2186` |
|
|
125
|
-
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
125
|
+
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1719-1727` |
|
|
126
126
|
| `businessEvent` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2170-2180` |
|
|
127
127
|
| `businessEvent` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:85-92` |
|
|
128
128
|
| `businessEvents` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1232-1233` |
|
|
@@ -207,7 +207,7 @@ not find it either.
|
|
|
207
207
|
| `contextRows` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1890-1897` |
|
|
208
208
|
| `contextRows` | property | `ExtensionPayload` | `dist/bpmn/bpmn-sdk.d.ts:772-795` |
|
|
209
209
|
| `contextVerbatim` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1970-1975` |
|
|
210
|
-
| `continue` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
210
|
+
| `continue` | method | `StepList` | `dist/flow-sdk.d.ts:1170-1184` |
|
|
211
211
|
| `contribute` | method | `FlowNode` | `dist/core/node-classes.d.ts:153-162` |
|
|
212
212
|
| `controlType` | property | `FormFieldSettings` | `dist/core/actions.d.ts:204-208` |
|
|
213
213
|
| `conversationalAgent` | property | `FlowActionSpecs` | `dist/nodes/agent/flow/spec.d.ts:460-463` |
|
|
@@ -250,8 +250,8 @@ not find it either.
|
|
|
250
250
|
| `deferDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:48-49` |
|
|
251
251
|
| `definition` | method | `NodeCatalog` | `dist/core/node-catalog.d.ts:13-14` |
|
|
252
252
|
| `definition` | property | `NodeContribution` | `dist/core/node-classes.d.ts:120-121` |
|
|
253
|
-
| `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
254
|
-
| `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
253
|
+
| `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:794-799` |
|
|
254
|
+
| `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1579-1619` |
|
|
255
255
|
| `delay` | property | `FlowActionSpecs` | `dist/nodes/delay/flow/spec.d.ts:38-41` |
|
|
256
256
|
| `dependsOn` | property | `LookupSpec` | `dist/core/lookups.d.ts:34-35` |
|
|
257
257
|
| `deployment` | property | `CaseDocumentExtractionSpec` | `dist/case/case-sdk.d.ts:632-637` |
|
|
@@ -259,7 +259,7 @@ not find it either.
|
|
|
259
259
|
| `description` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:265-266` |
|
|
260
260
|
| `description` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:602` |
|
|
261
261
|
| `description` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1221` |
|
|
262
|
-
| `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
262
|
+
| `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:771-772` |
|
|
263
263
|
| `description` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:629-630` |
|
|
264
264
|
| `description` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:394` |
|
|
265
265
|
| `description` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:1057` |
|
|
@@ -274,7 +274,7 @@ not find it either.
|
|
|
274
274
|
| `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:381` |
|
|
275
275
|
| `description` | property | `EscalationRef` | `dist/core/actions.d.ts:859-860` |
|
|
276
276
|
| `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:328` |
|
|
277
|
-
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
277
|
+
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1351-1358` |
|
|
278
278
|
| `description` | property | `FormFieldSettings` | `dist/core/actions.d.ts:219-220` |
|
|
279
279
|
| `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:569` |
|
|
280
280
|
| `description` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:216-223` |
|
|
@@ -324,7 +324,7 @@ not find it either.
|
|
|
324
324
|
| `documentExtraction` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1550-1568` |
|
|
325
325
|
| `documentExtractionSaved` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1033-1034` |
|
|
326
326
|
| `documentId` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:90-91` |
|
|
327
|
-
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
327
|
+
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1135-1159` |
|
|
328
328
|
| `draft` | property | `BranchOptions` | `dist/flow-sdk.d.ts:352-362` |
|
|
329
329
|
| `draft` | property | `StepOptions` | `dist/flow-sdk.d.ts:318-332` |
|
|
330
330
|
| `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
|
|
@@ -358,15 +358,15 @@ not find it either.
|
|
|
358
358
|
| `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:1060` |
|
|
359
359
|
| `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1052` |
|
|
360
360
|
| `entryPoint` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1023-1024` |
|
|
361
|
-
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
361
|
+
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1436-1504` |
|
|
362
362
|
| `entryPointId` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1976-1981` |
|
|
363
363
|
| `entryPointId` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1853-1857` |
|
|
364
364
|
| `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:678-690` |
|
|
365
365
|
| `entryPointId` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:898-906` |
|
|
366
|
-
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
366
|
+
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:800-801` |
|
|
367
367
|
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1870-1877` |
|
|
368
368
|
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1807-1816` |
|
|
369
|
-
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
369
|
+
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:824-849` |
|
|
370
370
|
| `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:978-982` |
|
|
371
371
|
| `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:919-929` |
|
|
372
372
|
| `error` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:2229-2234` |
|
|
@@ -542,7 +542,7 @@ not find it either.
|
|
|
542
542
|
| `id` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:635-636` |
|
|
543
543
|
| `id` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1212` |
|
|
544
544
|
| `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:752-753` |
|
|
545
|
-
| `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
545
|
+
| `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:769` |
|
|
546
546
|
| `id` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:390-391` |
|
|
547
547
|
| `id` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:1135-1136` |
|
|
548
548
|
| `id` | property | `ClassificationClass` | `dist/nodes/document/flow/spec.d.ts:49-50` |
|
|
@@ -579,7 +579,7 @@ not find it either.
|
|
|
579
579
|
| `inOuts` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:287-288` |
|
|
580
580
|
| `inOuts` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:311-312` |
|
|
581
581
|
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2036-2082` |
|
|
582
|
-
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
582
|
+
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1660-1672` |
|
|
583
583
|
| `input` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1653-1654` |
|
|
584
584
|
| `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1517-1518` |
|
|
585
585
|
| `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3601-3628` |
|
|
@@ -594,8 +594,8 @@ not find it either.
|
|
|
594
594
|
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:578-595` |
|
|
595
595
|
| `inputs` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:193-197` |
|
|
596
596
|
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:211-219` |
|
|
597
|
-
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
598
|
-
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
597
|
+
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:763-764` |
|
|
598
|
+
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:781` |
|
|
599
599
|
| `inputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1048-1049` |
|
|
600
600
|
| `inputs` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:540-541` |
|
|
601
601
|
| `inputs` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:697-712` |
|
|
@@ -673,7 +673,7 @@ not find it either.
|
|
|
673
673
|
| `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:55` |
|
|
674
674
|
| `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:166-167` |
|
|
675
675
|
| `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:609-610` |
|
|
676
|
-
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
676
|
+
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1314-1323` |
|
|
677
677
|
| `label` | property | `AskedField` | `dist/core/actions.d.ts:262-263` |
|
|
678
678
|
| `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:1055` |
|
|
679
679
|
| `label` | property | `ContextIndexRef` | `dist/core/actions.d.ts:953-957` |
|
|
@@ -691,9 +691,9 @@ not find it either.
|
|
|
691
691
|
| `labels` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1690-1691` |
|
|
692
692
|
| `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:1059` |
|
|
693
693
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1236-1237` |
|
|
694
|
-
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
694
|
+
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:790-791` |
|
|
695
695
|
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2015-2035` |
|
|
696
|
-
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
696
|
+
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1359-1388` |
|
|
697
697
|
| `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:386-418` |
|
|
698
698
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:101-106` |
|
|
699
699
|
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:474-475` |
|
|
@@ -708,7 +708,7 @@ not find it either.
|
|
|
708
708
|
| `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:89-100` |
|
|
709
709
|
| `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:441-442` |
|
|
710
710
|
| `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:1069-1070` |
|
|
711
|
-
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
711
|
+
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1123-1134` |
|
|
712
712
|
| `managed` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:37-68` |
|
|
713
713
|
| `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:457` |
|
|
714
714
|
| `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:424` |
|
|
@@ -786,7 +786,7 @@ not find it either.
|
|
|
786
786
|
| `name` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:637-638` |
|
|
787
787
|
| `name` | property | `BuiltBusinessEvent` | `dist/case/case-sdk.d.ts:1208-1209` |
|
|
788
788
|
| `name` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1213` |
|
|
789
|
-
| `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
789
|
+
| `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:770` |
|
|
790
790
|
| `name` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:393` |
|
|
791
791
|
| `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1018-1019` |
|
|
792
792
|
| `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:283-284` |
|
|
@@ -811,7 +811,7 @@ not find it either.
|
|
|
811
811
|
| `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:2227-2228` |
|
|
812
812
|
| `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:327` |
|
|
813
813
|
| `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1861-1862` |
|
|
814
|
-
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
814
|
+
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1343-1350` |
|
|
815
815
|
| `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:2019-2020` |
|
|
816
816
|
| `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:988-989` |
|
|
817
817
|
| `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:2122-2123` |
|
|
@@ -880,13 +880,13 @@ not find it either.
|
|
|
880
880
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3840-3847` |
|
|
881
881
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3848-3855` |
|
|
882
882
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3856-3864` |
|
|
883
|
-
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
883
|
+
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:904-964` |
|
|
884
884
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3883-3891` |
|
|
885
885
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3892-3900` |
|
|
886
886
|
| `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3865-3873` |
|
|
887
887
|
| `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3874-3882` |
|
|
888
|
-
| `openTails` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
889
|
-
| `openTails` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
888
|
+
| `openTails` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:809-814` |
|
|
889
|
+
| `openTails` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1620-1659` |
|
|
890
890
|
| `operation` | property | `Aggregation` | `dist/nodes/transform/flow/spec.d.ts:37` |
|
|
891
891
|
| `operation` | property | `CarriedConnectorOperation` | `dist/core/carried-connector-operation.d.ts:62-63` |
|
|
892
892
|
| `operation` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:691-692` |
|
|
@@ -897,7 +897,7 @@ not find it either.
|
|
|
897
897
|
| `operator` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:30-31` |
|
|
898
898
|
| `operator` | property | `FormFieldRule` | `dist/core/actions.d.ts:174-175` |
|
|
899
899
|
| `options` | property | `ActionField` | `dist/case/case-sdk.d.ts:839-843` |
|
|
900
|
-
| `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:756-
|
|
900
|
+
| `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:756-762` |
|
|
901
901
|
| `options` | property | `FormFieldSettings` | `dist/core/actions.d.ts:209-213` |
|
|
902
902
|
| `or` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:39-51` |
|
|
903
903
|
| `origin` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:2317-2322` |
|
|
@@ -908,7 +908,7 @@ not find it either.
|
|
|
908
908
|
| `outcomes` | property | `HumanTaskForm` | `dist/bpmn/human-task-form.d.ts:87-91` |
|
|
909
909
|
| `outcomes` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:313-314` |
|
|
910
910
|
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2083-2091` |
|
|
911
|
-
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
911
|
+
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1673-1708` |
|
|
912
912
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:97` |
|
|
913
913
|
| `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3629-3637` |
|
|
914
914
|
| `outputColumns` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:50-54` |
|
|
@@ -919,7 +919,7 @@ not find it either.
|
|
|
919
919
|
| `outputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:285-286` |
|
|
920
920
|
| `outputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:916-917` |
|
|
921
921
|
| `outputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1934-1935` |
|
|
922
|
-
| `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
922
|
+
| `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:782` |
|
|
923
923
|
| `outputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1050-1051` |
|
|
924
924
|
| `outputs` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1841-1850` |
|
|
925
925
|
| `outputs` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:350-365` |
|
|
@@ -950,7 +950,7 @@ not find it either.
|
|
|
950
950
|
| `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:94-95` |
|
|
951
951
|
| `pageRange` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:205-206` |
|
|
952
952
|
| `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:451-452` |
|
|
953
|
-
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
953
|
+
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:1080-1122` |
|
|
954
954
|
| `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2655-2664` |
|
|
955
955
|
| `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1818-1819` |
|
|
956
956
|
| `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1413-1414` |
|
|
@@ -1088,7 +1088,7 @@ not find it either.
|
|
|
1088
1088
|
| `retryBackoff` | property | `TaskRetryPolicy` | `dist/case/case-sdk.d.ts:957-958` |
|
|
1089
1089
|
| `retryBackoffType` | property | `TaskRetryPolicy` | `dist/case/case-sdk.d.ts:965-966` |
|
|
1090
1090
|
| `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:119-133` |
|
|
1091
|
-
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1091
|
+
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:1290-1299` |
|
|
1092
1092
|
| `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:35-40` |
|
|
1093
1093
|
| `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:617-640` |
|
|
1094
1094
|
| `returns` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:219-235` |
|
|
@@ -1130,9 +1130,9 @@ not find it either.
|
|
|
1130
1130
|
| `schemas` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:4014-4024` |
|
|
1131
1131
|
| `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:653-654` |
|
|
1132
1132
|
| `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3956-3985` |
|
|
1133
|
-
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1133
|
+
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:774-780` |
|
|
1134
1134
|
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1935-1964` |
|
|
1135
|
-
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1135
|
+
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1539-1578` |
|
|
1136
1136
|
| `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:188` |
|
|
1137
1137
|
| `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:327` |
|
|
1138
1138
|
| `script` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:1035-1036` |
|
|
@@ -1214,16 +1214,16 @@ not find it either.
|
|
|
1214
1214
|
| `startName` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:2276-2277` |
|
|
1215
1215
|
| `startPayload` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:2278-2279` |
|
|
1216
1216
|
| `startProcess` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2935-2954` |
|
|
1217
|
-
| `step` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1218
|
-
| `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
1219
|
-
| `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1220
|
-
| `steps` | property | `StepList` | `dist/flow-sdk.d.ts:
|
|
1221
|
-
| `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1222
|
-
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1223
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1224
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1225
|
-
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1226
|
-
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1217
|
+
| `step` | method | `StepList` | `dist/flow-sdk.d.ts:850-860` |
|
|
1218
|
+
| `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:765-766` |
|
|
1219
|
+
| `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:784` |
|
|
1220
|
+
| `steps` | property | `StepList` | `dist/flow-sdk.d.ts:818` |
|
|
1221
|
+
| `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:861-903` |
|
|
1222
|
+
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:978-1006` |
|
|
1223
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1224-1268` |
|
|
1224
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1269-1289` |
|
|
1225
|
+
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:792-793` |
|
|
1226
|
+
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1389-1414` |
|
|
1227
1227
|
| `storageBucket` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:88-89` |
|
|
1228
1228
|
| `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
|
|
1229
1229
|
| `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:1162-1163` |
|
|
@@ -1236,7 +1236,7 @@ not find it either.
|
|
|
1236
1236
|
| `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:96-97` |
|
|
1237
1237
|
| `summarize` | property | `FlowActionSpecs` | `dist/nodes/ai-patterns/flow/spec.d.ts:60-63` |
|
|
1238
1238
|
| `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:1144-1145` |
|
|
1239
|
-
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1239
|
+
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:1037-1079` |
|
|
1240
1240
|
| `systemPrompt` | property | `ConversationalAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:57-62` |
|
|
1241
1241
|
| `systemPrompt` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:194-243` |
|
|
1242
1242
|
| `systemPrompt` | property | `VoiceAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:151-156` |
|
|
@@ -1262,7 +1262,7 @@ not find it either.
|
|
|
1262
1262
|
| `temperature` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:304-305` |
|
|
1263
1263
|
| `temperature` | property | `VoiceSettings` | `dist/nodes/agent/flow/spec.d.ts:138-139` |
|
|
1264
1264
|
| `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:915-916` |
|
|
1265
|
-
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1265
|
+
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1185-1223` |
|
|
1266
1266
|
| `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:949-950` |
|
|
1267
1267
|
| `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:286-287` |
|
|
1268
1268
|
| `timeout` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:92-118` |
|
|
@@ -1284,15 +1284,15 @@ not find it either.
|
|
|
1284
1284
|
| `transform` | property | `FlowActionSpecs` | `dist/nodes/transform/flow/spec.d.ts:116-119` |
|
|
1285
1285
|
| `transformation` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:30-31` |
|
|
1286
1286
|
| `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:754-755` |
|
|
1287
|
-
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1287
|
+
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:785-787` |
|
|
1288
1288
|
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2125-2133` |
|
|
1289
1289
|
| `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:195-196` |
|
|
1290
|
-
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1290
|
+
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1415-1435` |
|
|
1291
1291
|
| `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:836-883` |
|
|
1292
1292
|
| `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1233-1234` |
|
|
1293
|
-
| `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1294
|
-
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1295
|
-
| `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1293
|
+
| `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:802-808` |
|
|
1294
|
+
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1505-1524` |
|
|
1295
|
+
| `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:788-789` |
|
|
1296
1296
|
| `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1234-1235` |
|
|
1297
1297
|
| `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:1185-1186` |
|
|
1298
1298
|
| `triggers` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:52-64` |
|
|
@@ -1365,7 +1365,7 @@ not find it either.
|
|
|
1365
1365
|
| `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:250-251` |
|
|
1366
1366
|
| `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:143-148` |
|
|
1367
1367
|
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2092-2124` |
|
|
1368
|
-
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1368
|
+
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1709-1718` |
|
|
1369
1369
|
| `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3592-3600` |
|
|
1370
1370
|
| `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:1004-1005` |
|
|
1371
1371
|
| `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:296-297` |
|
|
@@ -1378,12 +1378,12 @@ not find it either.
|
|
|
1378
1378
|
| `variant` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:321-325` |
|
|
1379
1379
|
| `variant` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:101-110` |
|
|
1380
1380
|
| `vars` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1228` |
|
|
1381
|
-
| `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1381
|
+
| `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:783` |
|
|
1382
1382
|
| `vars` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3638-3663` |
|
|
1383
1383
|
| `vars` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:2330-2331` |
|
|
1384
1384
|
| `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:302-316` |
|
|
1385
1385
|
| `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1214-1220` |
|
|
1386
|
-
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1386
|
+
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:773` |
|
|
1387
1387
|
| `version` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:622-628` |
|
|
1388
1388
|
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1924-1934` |
|
|
1389
1389
|
| `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1774-1775` |
|
|
@@ -1392,7 +1392,7 @@ not find it either.
|
|
|
1392
1392
|
| `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:693-694` |
|
|
1393
1393
|
| `version` | property | `EventSubscription` | `dist/core/actions.d.ts:1259` |
|
|
1394
1394
|
| `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1869-1870` |
|
|
1395
|
-
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1395
|
+
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1525-1538` |
|
|
1396
1396
|
| `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:256-263` |
|
|
1397
1397
|
| `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:139` |
|
|
1398
1398
|
| `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:1216-1217` |
|
package/dist/check.js
CHANGED
|
@@ -8,7 +8,7 @@ import { FlowNode } from './core/node-classes.js';
|
|
|
8
8
|
import { definitionHasErrorPort } from './core/error-port.js';
|
|
9
9
|
import { bundledDefinition, resolveContributionDefinition, serializeForCheck } from './serialize.js';
|
|
10
10
|
import { checkEventResolution, checkEventSubscription, eventParamsFor, } from './core/event-checks.js';
|
|
11
|
-
import { checkCookedEscapes, checkFlowExpressions, checkVarsOnlyInQuotes, literalExprShape, literalLooksLikeExpr } from './flow-expr-check.js';
|
|
11
|
+
import { checkCookedEscapes, checkFlowExpressions, checkHelperCalls, checkVarsOnlyInQuotes, literalExprShape, literalLooksLikeExpr } from './flow-expr-check.js';
|
|
12
12
|
import { FLOW_EXPR_DIALECT, checkBindingLabels, checkConnectorLookups as coreCheckConnectorLookups, checkConnectorResources as coreCheckConnectorResources, checkConnectorSchema as coreCheckConnectorSchema, } from './core/connector-checks.js';
|
|
13
13
|
import { editDistance, nearestName } from './core/edit-distance.js';
|
|
14
14
|
import { escapeRegExp } from './core/escape-regexp.js';
|
|
@@ -53,7 +53,7 @@ export function checkCompiled(built, opts = {}) {
|
|
|
53
53
|
const diags = checkFlow(built, [], opts);
|
|
54
54
|
// Once, from the top: the walk reaches child flows itself, so running it per
|
|
55
55
|
// `checkFlow` would report a child's escape twice.
|
|
56
|
-
for (const d of [...checkCookedEscapes(built), ...checkVarsOnlyInQuotes(built)]) {
|
|
56
|
+
for (const d of [...checkCookedEscapes(built), ...checkVarsOnlyInQuotes(built), ...checkHelperCalls(built)]) {
|
|
57
57
|
diags.push({
|
|
58
58
|
level: d.level, code: d.code, message: `In ${d.where}: ${d.message}`,
|
|
59
59
|
...(d.step !== undefined ? { step: d.step } : {}),
|
|
@@ -108,6 +108,19 @@ export interface ExprScope {
|
|
|
108
108
|
*/
|
|
109
109
|
syntax?: 'javascript';
|
|
110
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Blank out the CONTENTS of single- and double-quoted string literals, preserving
|
|
113
|
+
* length and the quotes, so a `$vars.`-looking substring INSIDE a literal is not
|
|
114
|
+
* mistaken for a reference.
|
|
115
|
+
*
|
|
116
|
+
* `js`${input('a')} === ${'$vars.notAName'}`` renders to
|
|
117
|
+
* `$vars.a === "$vars.notAName"`; only the first is a reference. Template literals
|
|
118
|
+
* (backticks) are LEFT INTACT on purpose — the SDK's `tmpl` emits real references
|
|
119
|
+
* inside their `${…}`, and a literal `$vars.` in the surrounding URL/message text
|
|
120
|
+
* is not a thing the serializer produces. Escapes are honored so a quote inside a
|
|
121
|
+
* literal does not end it early.
|
|
122
|
+
*/
|
|
123
|
+
export declare function maskStringLiterals(expr: string): string;
|
|
111
124
|
/**
|
|
112
125
|
* Every `<namespace>.*` reference in an expression, in source order, with literals
|
|
113
126
|
* masked so a reference-shaped substring inside a string is not counted.
|
package/dist/core/expr-check.js
CHANGED
|
@@ -193,7 +193,7 @@ const DEFAULT_NAMESPACE = '$vars';
|
|
|
193
193
|
* is not a thing the serializer produces. Escapes are honored so a quote inside a
|
|
194
194
|
* literal does not end it early.
|
|
195
195
|
*/
|
|
196
|
-
function maskStringLiterals(expr) {
|
|
196
|
+
export function maskStringLiterals(expr) {
|
|
197
197
|
return expr.replace(/'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"/g, (m) => m[0] + ' '.repeat(m.length - 2) + m[m.length - 1]);
|
|
198
198
|
}
|
|
199
199
|
const SEGMENT = /\??\.([A-Za-z_$][\w$]*)|\[(\d+)\]/g;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The builder helpers in `expr.ts` that return an `Expr`: each runs while
|
|
3
|
+
* the flow is built, so its name written as text inside a `js` template reaches
|
|
4
|
+
* the runtime, which has no such function (EXPR_HELPER_CALL). Kept out of
|
|
5
|
+
* `expr.ts`, which `flow-sdk.ts` re-exports whole, so it stays internal.
|
|
6
|
+
* `tests/expr-helper-call.test.ts` fails when a helper in `expr.ts` is missing here.
|
|
7
|
+
*/
|
|
8
|
+
export declare const EXPR_HELPER_NAMES: readonly ["lit", "v", "input", "entryInput", "out", "ran", "err"];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The builder helpers in `expr.ts` that return an `Expr`: each runs while
|
|
3
|
+
* the flow is built, so its name written as text inside a `js` template reaches
|
|
4
|
+
* the runtime, which has no such function (EXPR_HELPER_CALL). Kept out of
|
|
5
|
+
* `expr.ts`, which `flow-sdk.ts` re-exports whole, so it stays internal.
|
|
6
|
+
* `tests/expr-helper-call.test.ts` fails when a helper in `expr.ts` is missing here.
|
|
7
|
+
*/
|
|
8
|
+
export const EXPR_HELPER_NAMES = ['lit', 'v', 'input', 'entryInput', 'out', 'ran', 'err'];
|
package/dist/core/refusals.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ export declare const REFUSALS: {
|
|
|
330
330
|
readonly ENTITY_SCOPE_MIXED: "lowering";
|
|
331
331
|
readonly ENTRYPOINT_ID_NOT_GUID: "lint";
|
|
332
332
|
readonly ENTRY_POINT_DUP_ID: "lowering";
|
|
333
|
+
readonly ENTRY_POINT_DEFAULT: "lowering";
|
|
333
334
|
readonly ENTRY_POINT_INPUT_COLLISION: "lint";
|
|
334
335
|
readonly ENTRY_POINT_NO_SHARED_BODY: "lowering";
|
|
335
336
|
readonly ERROR_ENVELOPE_VIA_OUTPUT: "lint";
|
|
@@ -368,6 +369,7 @@ export declare const REFUSALS: {
|
|
|
368
369
|
readonly EXPR_BARE_PREFIX: "lint";
|
|
369
370
|
readonly EXPR_BARE_PREFIX_JS_SYNTAX: "lint";
|
|
370
371
|
readonly EXPR_BARE_VAR_REF: "lint";
|
|
372
|
+
readonly EXPR_HELPER_CALL: "lint";
|
|
371
373
|
readonly EXPR_SYNTAX: "lowering";
|
|
372
374
|
readonly EXPR_UNDECLARED_REF: "lint";
|
|
373
375
|
readonly EXPR_VARS_ONLY_IN_QUOTES: "lint";
|
package/dist/core/refusals.js
CHANGED
|
@@ -404,6 +404,7 @@ export const REFUSALS = {
|
|
|
404
404
|
ENTITY_SCOPE_MIXED: 'lowering',
|
|
405
405
|
ENTRYPOINT_ID_NOT_GUID: 'lint',
|
|
406
406
|
ENTRY_POINT_DUP_ID: 'lowering',
|
|
407
|
+
ENTRY_POINT_DEFAULT: 'lowering',
|
|
407
408
|
ENTRY_POINT_INPUT_COLLISION: 'lint',
|
|
408
409
|
ENTRY_POINT_NO_SHARED_BODY: 'lowering',
|
|
409
410
|
ERROR_ENVELOPE_VIA_OUTPUT: 'lint',
|
|
@@ -442,6 +443,7 @@ export const REFUSALS = {
|
|
|
442
443
|
EXPR_BARE_PREFIX: 'lint',
|
|
443
444
|
EXPR_BARE_PREFIX_JS_SYNTAX: 'lint',
|
|
444
445
|
EXPR_BARE_VAR_REF: 'lint',
|
|
446
|
+
EXPR_HELPER_CALL: 'lint',
|
|
445
447
|
EXPR_SYNTAX: 'lowering',
|
|
446
448
|
EXPR_UNDECLARED_REF: 'lint',
|
|
447
449
|
EXPR_VARS_ONLY_IN_QUOTES: 'lint',
|
package/dist/decompile.js
CHANGED
|
@@ -3206,6 +3206,21 @@ function foldOutputBacking(flow) {
|
|
|
3206
3206
|
}
|
|
3207
3207
|
return out;
|
|
3208
3208
|
}
|
|
3209
|
+
function isMarkedDefault(n) {
|
|
3210
|
+
return (n.inputs ?? {}).isDefaultEntryPoint === true;
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* The root a flow's source opens with `.trigger()`: the one named `start` when
|
|
3214
|
+
* there is one, else the root the file marks `isDefaultEntryPoint`, else the
|
|
3215
|
+
* first. `$vars.start` (what `input()` reads) names the `.trigger()` root, and
|
|
3216
|
+
* compile refuses any other root named `start` (ENTRY_POINT_DUP_ID), so a root
|
|
3217
|
+
* named `start` has to be it even when the mark is on another root: that one's
|
|
3218
|
+
* `.entryPoint()` says `default: true` instead. A trigger added to a compiled
|
|
3219
|
+
* flow by `uip maestro flow node add` takes the mark (UV-18260).
|
|
3220
|
+
*/
|
|
3221
|
+
function sourceTriggerRoot(roots) {
|
|
3222
|
+
return roots.find((n) => n.id === DEFAULT_TRIGGER_ID) ?? roots.find(isMarkedDefault) ?? roots[0];
|
|
3223
|
+
}
|
|
3209
3224
|
/**
|
|
3210
3225
|
* Read a flow input the file left process-level (an `in` global with no
|
|
3211
3226
|
* `triggerNodeId`) through the trigger compile will bind it to.
|
|
@@ -3242,9 +3257,7 @@ function bindProcessInputReads(flow) {
|
|
|
3242
3257
|
// The default root, chosen as `decompile` chooses the one `.input()` binds to.
|
|
3243
3258
|
const targets = new Set((flow.edges ?? []).map((e) => e.targetNodeId));
|
|
3244
3259
|
const roots = nodes.filter((n) => typeof n.type === 'string' && isTrigger(n.type) && !targets.has(n.id));
|
|
3245
|
-
const trigger = roots
|
|
3246
|
-
?? roots.find((n) => n.id === DEFAULT_TRIGGER_ID)
|
|
3247
|
-
?? roots[0];
|
|
3260
|
+
const trigger = sourceTriggerRoot(roots);
|
|
3248
3261
|
if (trigger === undefined)
|
|
3249
3262
|
return out;
|
|
3250
3263
|
let rewritten = out.nodes;
|
|
@@ -3296,10 +3309,14 @@ export function decompile(flow, options = {}) {
|
|
|
3296
3309
|
const graph = new Graph(flow.nodes ?? [], flow.edges ?? [], flow.variables);
|
|
3297
3310
|
const globals = readFlowGlobals(flow.variables, runStrict);
|
|
3298
3311
|
const inputNames = new Set(globals.filter((g) => g.direction === 'in').map((g) => g.name ?? g.id));
|
|
3299
|
-
//
|
|
3300
|
-
//
|
|
3312
|
+
// `input('<name>')` reads the `.trigger()` root, so only that root's reads
|
|
3313
|
+
// come back as `input()`: the root `sourceTriggerRoot` picks, the same one
|
|
3314
|
+
// the trigger section below opens the source with. Another root's reads stay
|
|
3315
|
+
// `out('<root>', ...)`. A file with no root trigger falls back to the
|
|
3316
|
+
// trigger-bound globals, then to the default.
|
|
3301
3317
|
currentTriggerId =
|
|
3302
|
-
|
|
3318
|
+
sourceTriggerRoot((flow.nodes ?? []).filter((n) => isTrigger(n.type) && graph.inEdges(n.id).length === 0))?.id ??
|
|
3319
|
+
globals.find((g) => g.direction === 'in' && g.triggerNodeId)?.triggerNodeId ??
|
|
3303
3320
|
(flow.nodes ?? []).find((n) => String(n.type ?? '').startsWith('core.trigger.'))?.id ??
|
|
3304
3321
|
DEFAULT_TRIGGER_ID;
|
|
3305
3322
|
const e = new Emit();
|
|
@@ -3332,16 +3349,17 @@ export function decompile(flow, options = {}) {
|
|
|
3332
3349
|
// an End to a path the file leaves open (#1142). Always saying so, rather
|
|
3333
3350
|
// than detecting open tails, keeps this from drifting from what serialize caps.
|
|
3334
3351
|
e.line(d, '.openTails()');
|
|
3335
|
-
// Trigger nodes. One root is
|
|
3336
|
-
// when the file marks one (a multi-root flow always does), else `start`.
|
|
3352
|
+
// Trigger nodes. One root is `.trigger()`; see `sourceTriggerRoot`.
|
|
3337
3353
|
// A node's TYPE is not enough: `uipath.connector.event.<key>.<event>` is a
|
|
3338
3354
|
// start trigger when it opens the flow and a mid-flow WAIT step when it has
|
|
3339
3355
|
// an incoming edge. Only a root can be a trigger.
|
|
3340
3356
|
const triggerNodes = (flow.nodes ?? [])
|
|
3341
3357
|
.filter((n) => isTrigger(n.type) && graph.inEdges(n.id).length === 0);
|
|
3342
|
-
const trigger = triggerNodes
|
|
3343
|
-
|
|
3344
|
-
|
|
3358
|
+
const trigger = sourceTriggerRoot(triggerNodes) ?? graph.byId.get('start');
|
|
3359
|
+
// The root the file marks as its default, when that is not `.trigger()`'s:
|
|
3360
|
+
// its `.entryPoint()` says `default: true`.
|
|
3361
|
+
const markedDefault = triggerNodes.find(isMarkedDefault);
|
|
3362
|
+
const defaultEp = markedDefault !== undefined && markedDefault !== trigger ? markedDefault : undefined;
|
|
3345
3363
|
// `{ shared }` input copies on the roots (#924); every other trigger-level
|
|
3346
3364
|
// row is the trigger's own `{ updates }` (#1673).
|
|
3347
3365
|
const shared = sharedCopies(flow, triggerNodes);
|
|
@@ -3393,7 +3411,7 @@ export function decompile(flow, options = {}) {
|
|
|
3393
3411
|
for (const t of triggerNodes) {
|
|
3394
3412
|
if (t === trigger)
|
|
3395
3413
|
continue;
|
|
3396
|
-
extraEps.push(entryPointSeg(t, scope, ipdom, ctx));
|
|
3414
|
+
extraEps.push(entryPointSeg(t, scope, ipdom, ctx, t === defaultEp));
|
|
3397
3415
|
}
|
|
3398
3416
|
// Edge accounting (#1125): the walk above has claimed every edge it emitted
|
|
3399
3417
|
// or that serialize recreates on its own. The rest are not in the source.
|
|
@@ -3475,7 +3493,7 @@ function detachedTopLevelNodes(nodes, graph, roots, trigger) {
|
|
|
3475
3493
|
&& !seen.has(n.id));
|
|
3476
3494
|
}
|
|
3477
3495
|
/** One `.entryPoint(id, trigger, { inputs, version }, prefix)` segment for a non-default root. */
|
|
3478
|
-
function entryPointSeg(t, scope, ipdom, ctx) {
|
|
3496
|
+
function entryPointSeg(t, scope, ipdom, ctx, isDefault = false) {
|
|
3479
3497
|
const known = triggerFactory(t, ctx.imp, ctx.inputNames);
|
|
3480
3498
|
if (known === undefined && ctx.o.bestEffort === false) {
|
|
3481
3499
|
throw new Error(`decompile: unsupported entry-point trigger type "${t.type}".`);
|
|
@@ -3492,6 +3510,8 @@ function entryPointSeg(t, scope, ipdom, ctx) {
|
|
|
3492
3510
|
const updates = updatesPart(ctx.shared?.updates.get(t.id) ?? [], ctx.imp, ctx.inputNames);
|
|
3493
3511
|
if (updates)
|
|
3494
3512
|
optParts.push(updates);
|
|
3513
|
+
if (isDefault)
|
|
3514
|
+
optParts.push('default: true');
|
|
3495
3515
|
const firsts = scopeSuccEdges(ctx.graph, t.id, scope);
|
|
3496
3516
|
// A prefix that forks needs post-dominators over ITS nodes, which the root's
|
|
3497
3517
|
// map (computed from the default trigger) does not cover.
|
|
@@ -50,6 +50,20 @@ export declare function checkCookedEscapes(built: BuiltFlow): (LocatedDiagnostic
|
|
|
50
50
|
export declare function checkVarsOnlyInQuotes(built: BuiltFlow): (LocatedDiagnostic & {
|
|
51
51
|
step?: string;
|
|
52
52
|
})[];
|
|
53
|
+
/**
|
|
54
|
+
* EXPR_HELPER_CALL (warning): an expression whose text calls a builder helper
|
|
55
|
+
* (`out(`, `ran(`, `lit(` … {@link EXPR_HELPER_NAMES}) outside `${}`, or its
|
|
56
|
+
* optional-call form `out?.(`. The helper runs only while the flow
|
|
57
|
+
* is built, so js`out('a', 'score') >= 0.8` writes the call as text, and the
|
|
58
|
+
* runtime has no `out` to call. js`${out('a', 'score')} >= 0.8` is the read.
|
|
59
|
+
*
|
|
60
|
+
* String literals are masked first, so a helper name inside a quoted string is
|
|
61
|
+
* not reported. A name after `.`, `$` or a word character (`x.out(`, `about(`)
|
|
62
|
+
* is not a bare call.
|
|
63
|
+
*/
|
|
64
|
+
export declare function checkHelperCalls(built: BuiltFlow): (LocatedDiagnostic & {
|
|
65
|
+
step?: string;
|
|
66
|
+
})[];
|
|
53
67
|
/**
|
|
54
68
|
* How a plain string looks like an expression: `text` = sent as written,
|
|
55
69
|
* `template` = interpolated through `{{ … }}`, `wire` = evaluated because it
|
package/dist/flow-expr-check.js
CHANGED
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
* script body's `$vars.*` reads are `check.ts`'s UNKNOWN_REF.
|
|
33
33
|
*/
|
|
34
34
|
import { Expr, cookedEscapesOf } from './core/expr.js';
|
|
35
|
-
import {
|
|
35
|
+
import { EXPR_HELPER_NAMES } from './core/expr-helper-names.js';
|
|
36
|
+
import { checkExpression, cookedEscapeDiagnostics, extractRefs, maskStringLiterals, quotedOnlyMentions } from './core/expr-check.js';
|
|
36
37
|
import { refusalClass } from './core/refusals.js';
|
|
37
38
|
import { stepDeclaredVariables } from './flow-step-variables.js';
|
|
38
39
|
import { CompileRefusal } from './core/compile-refusal.js';
|
|
@@ -348,6 +349,36 @@ export function checkVarsOnlyInQuotes(built) {
|
|
|
348
349
|
});
|
|
349
350
|
return out;
|
|
350
351
|
}
|
|
352
|
+
/**
|
|
353
|
+
* EXPR_HELPER_CALL (warning): an expression whose text calls a builder helper
|
|
354
|
+
* (`out(`, `ran(`, `lit(` … {@link EXPR_HELPER_NAMES}) outside `${}`, or its
|
|
355
|
+
* optional-call form `out?.(`. The helper runs only while the flow
|
|
356
|
+
* is built, so js`out('a', 'score') >= 0.8` writes the call as text, and the
|
|
357
|
+
* runtime has no `out` to call. js`${out('a', 'score')} >= 0.8` is the read.
|
|
358
|
+
*
|
|
359
|
+
* String literals are masked first, so a helper name inside a quoted string is
|
|
360
|
+
* not reported. A name after `.`, `$` or a word character (`x.out(`, `about(`)
|
|
361
|
+
* is not a bare call.
|
|
362
|
+
*/
|
|
363
|
+
export function checkHelperCalls(built) {
|
|
364
|
+
const out = [];
|
|
365
|
+
const bareCall = new RegExp(`(?<![\\w$.])(${EXPR_HELPER_NAMES.join('|')})\\s*(?:\\?\\.)?\\(`);
|
|
366
|
+
visitExprs(built, (val, at) => {
|
|
367
|
+
if (!(val instanceof Expr) || val.literal)
|
|
368
|
+
return;
|
|
369
|
+
const helper = bareCall.exec(maskStringLiterals(val.js))?.[1];
|
|
370
|
+
if (helper === undefined)
|
|
371
|
+
return;
|
|
372
|
+
out.push(located({
|
|
373
|
+
level: 'warning',
|
|
374
|
+
code: 'EXPR_HELPER_CALL',
|
|
375
|
+
message: `the expression \`${val.js.length > 120 ? `${val.js.slice(0, 117)}...` : val.js}\` calls \`${helper}(...)\` as text. `
|
|
376
|
+
+ `\`${helper}\` is a builder helper: it runs only while the flow is built, and the runtime cannot call it. `
|
|
377
|
+
+ `Put the call inside \`\${}\`: js\`\${${helper}(...)} >= 0.8\`.`,
|
|
378
|
+
}, at));
|
|
379
|
+
});
|
|
380
|
+
return out;
|
|
381
|
+
}
|
|
351
382
|
// ─── LITERAL_LOOKS_LIKE_EXPR (#1970) ────────────────────────────────────────
|
|
352
383
|
//
|
|
353
384
|
// A plain string in a node input is not an expression to the SDK: only
|
package/dist/flow-option-keys.js
CHANGED
|
@@ -29,5 +29,5 @@ export const STEP_OPTION_KEYS = {
|
|
|
29
29
|
export const TRIGGER_OPTION_KEYS = declareKeys({ version: true, updates: true, label: true });
|
|
30
30
|
/** The option keys of `.entryPoint(id, trigger, options)`. */
|
|
31
31
|
export const ENTRY_POINT_OPTION_KEYS = declareKeys({
|
|
32
|
-
version: true, updates: true, label: true, inputs: true,
|
|
32
|
+
version: true, updates: true, label: true, inputs: true, default: true,
|
|
33
33
|
});
|
package/dist/flow-sdk.d.ts
CHANGED
|
@@ -753,8 +753,13 @@ export interface BuiltEntryPoint {
|
|
|
753
753
|
id: string;
|
|
754
754
|
/** What fires this root: any built-in trigger factory, or a custom trigger. */
|
|
755
755
|
trigger: TriggerSpec;
|
|
756
|
-
/**
|
|
757
|
-
|
|
756
|
+
/**
|
|
757
|
+
* Node options for the trigger node — exact `version` selection, canvas `label`, and `updates` —
|
|
758
|
+
* and `default`: this root carries the flow's `isDefaultEntryPoint` mark instead of `.trigger()`.
|
|
759
|
+
*/
|
|
760
|
+
options?: NodeOptions & {
|
|
761
|
+
default?: boolean;
|
|
762
|
+
};
|
|
758
763
|
/** Inputs scoped to this root (globals bound to it via `triggerNodeId`). */
|
|
759
764
|
inputs: VarDecl[];
|
|
760
765
|
/** The root's prefix steps, run before it joins the shared body. */
|
|
@@ -1441,6 +1446,21 @@ declare class FlowBuilder extends StepList {
|
|
|
1441
1446
|
* (default included) gets its platform entry-point identity when a flow has
|
|
1442
1447
|
* more than one.
|
|
1443
1448
|
*
|
|
1449
|
+
* `{ default: true }` moves the `isDefaultEntryPoint` mark to this root
|
|
1450
|
+
* instead; `.trigger()` keeps its id, its inputs and every `input()` read.
|
|
1451
|
+
* Decompile writes it when the file has a root named `start` and marks a
|
|
1452
|
+
* different root as the default: `$vars.start` (what `input()` reads) names
|
|
1453
|
+
* the `.trigger()` root, so the root named `start` has to be that one,
|
|
1454
|
+
* wherever the mark is. A file with no root named `start` opens with its
|
|
1455
|
+
* marked root as `.trigger()` and needs no `default`. At most one entry
|
|
1456
|
+
* point takes it.
|
|
1457
|
+
*
|
|
1458
|
+
* ```ts
|
|
1459
|
+
* flow('triage')
|
|
1460
|
+
* .input({ messageId: types.string }) // the root named `start`
|
|
1461
|
+
* .entryPoint('emailReceived1', onEvent({ ... }), { default: true })
|
|
1462
|
+
* ```
|
|
1463
|
+
*
|
|
1444
1464
|
* @example
|
|
1445
1465
|
* **A manual flow with a second, nightly-scheduled root**
|
|
1446
1466
|
* ```ts
|
|
@@ -1472,13 +1492,15 @@ declare class FlowBuilder extends StepList {
|
|
|
1472
1492
|
* @param options - `version` (exact trigger definition version), `label`
|
|
1473
1493
|
* (what the canvas shows on the trigger node; default: the trigger
|
|
1474
1494
|
* definition's label, e.g. `Manual trigger`), `updates` (variable rows run when this root fires; see
|
|
1475
|
-
* {@link NodeOptions.updates}),
|
|
1476
|
-
* `.input()`.
|
|
1495
|
+
* {@link NodeOptions.updates}), `inputs` — this root's scoped inputs, declared like
|
|
1496
|
+
* `.input()` — and `default` (`true`: this root, not `.trigger()`, is the
|
|
1497
|
+
* flow's default entry point).
|
|
1477
1498
|
* @param prefixFn - Optional sub-builder for the root's prefix steps.
|
|
1478
1499
|
* @returns This builder, so calls chain.
|
|
1479
1500
|
*/
|
|
1480
1501
|
entryPoint(id: string, trigger: TriggerSpec | FlowTrigger, options?: Pick<NodeOptions, 'version' | 'label' | 'updates'> & {
|
|
1481
1502
|
inputs?: Record<string, FlowTypeDesc | VarSpec>;
|
|
1503
|
+
default?: boolean;
|
|
1482
1504
|
}, prefixFn?: (b: StepList) => void): this;
|
|
1483
1505
|
/**
|
|
1484
1506
|
* Rename the trigger node. The designer can rename it, so the SDK can too.
|
package/dist/flow-sdk.js
CHANGED
|
@@ -1009,6 +1009,21 @@ class FlowBuilder extends StepList {
|
|
|
1009
1009
|
* (default included) gets its platform entry-point identity when a flow has
|
|
1010
1010
|
* more than one.
|
|
1011
1011
|
*
|
|
1012
|
+
* `{ default: true }` moves the `isDefaultEntryPoint` mark to this root
|
|
1013
|
+
* instead; `.trigger()` keeps its id, its inputs and every `input()` read.
|
|
1014
|
+
* Decompile writes it when the file has a root named `start` and marks a
|
|
1015
|
+
* different root as the default: `$vars.start` (what `input()` reads) names
|
|
1016
|
+
* the `.trigger()` root, so the root named `start` has to be that one,
|
|
1017
|
+
* wherever the mark is. A file with no root named `start` opens with its
|
|
1018
|
+
* marked root as `.trigger()` and needs no `default`. At most one entry
|
|
1019
|
+
* point takes it.
|
|
1020
|
+
*
|
|
1021
|
+
* ```ts
|
|
1022
|
+
* flow('triage')
|
|
1023
|
+
* .input({ messageId: types.string }) // the root named `start`
|
|
1024
|
+
* .entryPoint('emailReceived1', onEvent({ ... }), { default: true })
|
|
1025
|
+
* ```
|
|
1026
|
+
*
|
|
1012
1027
|
* @example
|
|
1013
1028
|
* **A manual flow with a second, nightly-scheduled root**
|
|
1014
1029
|
* ```ts
|
|
@@ -1040,8 +1055,9 @@ class FlowBuilder extends StepList {
|
|
|
1040
1055
|
* @param options - `version` (exact trigger definition version), `label`
|
|
1041
1056
|
* (what the canvas shows on the trigger node; default: the trigger
|
|
1042
1057
|
* definition's label, e.g. `Manual trigger`), `updates` (variable rows run when this root fires; see
|
|
1043
|
-
* {@link NodeOptions.updates}),
|
|
1044
|
-
* `.input()`.
|
|
1058
|
+
* {@link NodeOptions.updates}), `inputs` — this root's scoped inputs, declared like
|
|
1059
|
+
* `.input()` — and `default` (`true`: this root, not `.trigger()`, is the
|
|
1060
|
+
* flow's default entry point).
|
|
1045
1061
|
* @param prefixFn - Optional sub-builder for the root's prefix steps.
|
|
1046
1062
|
* @returns This builder, so calls chain.
|
|
1047
1063
|
*/
|
|
@@ -1054,8 +1070,11 @@ class FlowBuilder extends StepList {
|
|
|
1054
1070
|
prefixFn?.(b);
|
|
1055
1071
|
// A key the options type does not name is kept as written, so the
|
|
1056
1072
|
// serializer refuses it (FLOW_UNKNOWN_OPTION) instead of dropping it.
|
|
1057
|
-
const { inputs: _inputs, version, label, updates, ...unknown } = options ?? {};
|
|
1058
|
-
const kept = {
|
|
1073
|
+
const { inputs: _inputs, version, label, updates, default: isDefault, ...unknown } = options ?? {};
|
|
1074
|
+
const kept = {
|
|
1075
|
+
...(version !== undefined ? { version } : {}), ...(label !== undefined ? { label } : {}), ...(updates !== undefined ? { updates } : {}),
|
|
1076
|
+
...(isDefault !== undefined ? { default: isDefault } : {}), ...unknown,
|
|
1077
|
+
};
|
|
1059
1078
|
this._entryPoints.push({
|
|
1060
1079
|
id,
|
|
1061
1080
|
trigger: trigger,
|
package/dist/serialize.js
CHANGED
|
@@ -3641,12 +3641,38 @@ function serializeFlow(built, opts, scopeLayout) {
|
|
|
3641
3641
|
// flow has more than one root, every root carries the platform's entry-point
|
|
3642
3642
|
// identity, and exactly one — the .trigger()/.input() default — is marked
|
|
3643
3643
|
// isDefaultEntryPoint (the corpus shape: identity on all, the flag on one).
|
|
3644
|
+
//
|
|
3645
|
+
// `.entryPoint(id, spec, { default: true })` moves the flag to that root: the
|
|
3646
|
+
// file's default need not be the root named `start`, which is the one
|
|
3647
|
+
// `.trigger()` has to be (`$vars.start` names it). Two such roots, or a
|
|
3648
|
+
// `default` that is not a boolean, would leave the mark ambiguous: refused.
|
|
3644
3649
|
const entryPoints = built.entryPoints ?? [];
|
|
3650
|
+
const defaultEp = (() => {
|
|
3651
|
+
const claimed = entryPoints.filter((ep) => ep.options?.default !== undefined && ep.options.default !== false);
|
|
3652
|
+
for (const ep of claimed) {
|
|
3653
|
+
if (ep.options.default !== true) {
|
|
3654
|
+
const refusal = new CompileRefusal('ENTRY_POINT_DEFAULT', `.entryPoint("${ep.id}"): \`default\` must be true or false, not ${JSON.stringify(ep.options.default)}.`);
|
|
3655
|
+
if (!opts.collect)
|
|
3656
|
+
throw refusal;
|
|
3657
|
+
record(refusal, ep.id, ep.id);
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
const marked = claimed.filter((ep) => ep.options.default === true);
|
|
3661
|
+
if (marked.length > 1) {
|
|
3662
|
+
const refusal = new CompileRefusal('ENTRY_POINT_DEFAULT', `.entryPoint("${marked[1].id}") sets \`default: true\`, but .entryPoint("${marked[0].id}") already did. `
|
|
3663
|
+
+ 'A flow has one default entry point: keep `default: true` on one of them.');
|
|
3664
|
+
if (!opts.collect)
|
|
3665
|
+
throw refusal;
|
|
3666
|
+
record(refusal, marked[1].id, marked[1].id);
|
|
3667
|
+
}
|
|
3668
|
+
return marked[0];
|
|
3669
|
+
})();
|
|
3645
3670
|
if (entryPoints.length) {
|
|
3671
|
+
const { isDefaultEntryPoint: _wasDefault, ...triggerInputs } = (trigger.inputs ?? {});
|
|
3646
3672
|
trigger.inputs = {
|
|
3647
3673
|
entryPointId: trigger.inputs?.entryPointId ?? stableId(`${built.id}:${triggerId}:entryPoint`),
|
|
3648
|
-
isDefaultEntryPoint: true,
|
|
3649
|
-
...(trigger.inputs ?? {}),
|
|
3674
|
+
...(defaultEp === undefined ? { isDefaultEntryPoint: true } : {}),
|
|
3675
|
+
...(defaultEp === undefined ? (trigger.inputs ?? {}) : triggerInputs),
|
|
3650
3676
|
};
|
|
3651
3677
|
const firstShared = built.steps.find((st) => 'name' in st && st.kind !== 'return');
|
|
3652
3678
|
const sharedTarget = firstShared && 'name' in firstShared ? root.stepNodeId.get(firstShared.name) : undefined;
|
|
@@ -3687,6 +3713,12 @@ function serializeFlow(built, opts, scopeLayout) {
|
|
|
3687
3713
|
refuseUnknownTrigger(epSpec, `.entryPoint("${ep.id}")`);
|
|
3688
3714
|
node = placeTrigger(epSpec, { id: ep.id, isDefault: false, inputs: ep.inputs }, requestedVersion, epLabel);
|
|
3689
3715
|
}
|
|
3716
|
+
if (ep === defaultEp) {
|
|
3717
|
+
// The selected default wins over a flag the trigger contributed
|
|
3718
|
+
// (a custom FlowTrigger may write `isDefaultEntryPoint: false`).
|
|
3719
|
+
const { entryPointId, isDefaultEntryPoint: _contributed, ...rest } = node.inputs ?? {};
|
|
3720
|
+
node.inputs = { ...(entryPointId !== undefined ? { entryPointId } : {}), isDefaultEntryPoint: true, ...rest };
|
|
3721
|
+
}
|
|
3690
3722
|
root.nodes.push(node);
|
|
3691
3723
|
return node;
|
|
3692
3724
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.124.
|
|
3
|
+
"version": "6.124.10",
|
|
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",
|
|
@@ -89,7 +89,8 @@
|
|
|
89
89
|
"flow-build",
|
|
90
90
|
"case-check-baseline",
|
|
91
91
|
"prepare-folder-key",
|
|
92
|
-
"search-activity-type-id"
|
|
92
|
+
"search-activity-type-id",
|
|
93
|
+
"flow-entry-point-default"
|
|
93
94
|
],
|
|
94
95
|
"files": [
|
|
95
96
|
"dist",
|
|
@@ -127,5 +128,5 @@
|
|
|
127
128
|
"@types/node": "^22.7.0",
|
|
128
129
|
"esbuild": "^0.28.1"
|
|
129
130
|
},
|
|
130
|
-
"gitref": "
|
|
131
|
+
"gitref": "5ba9a721fe5e26bf932d29dabbf0f24862f6fd5a"
|
|
131
132
|
}
|