@uipath/maestro-builder-sdk 6.26.0 → 6.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-index.md +22 -21
- package/dist/api-members.md +87 -86
- package/dist/check.js +47 -5
- package/dist/decompile.js +35 -45
- package/dist/flow-expr-check.js +6 -1
- package/dist/flow-sdk.d.ts +43 -12
- package/dist/flow-sdk.js +25 -6
- package/dist/serialize.js +6 -2
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -37,7 +37,7 @@ could hand you spans for a version you do not have.
|
|
|
37
37
|
|
|
38
38
|
## `@uipath/maestro-builder-sdk`
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
220 symbol(s). Import from `@uipath/maestro-builder-sdk`.
|
|
41
41
|
|
|
42
42
|
| Symbol | Kind | Declaration | Area | Summary |
|
|
43
43
|
| --- | --- | --- | --- | --- |
|
|
@@ -57,13 +57,13 @@ could hand you spans for a version you do not have.
|
|
|
57
57
|
| `apiWorkflow` | function | `dist/core/actions.d.ts:1658-1692` | 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:411-442` | Option shapes | 5 field(s) |
|
|
59
59
|
| `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:140-185` | Supporting types | A deployed Action App that supplies a human task's form — the `'action-app'` variant's subject. |
|
|
60
|
-
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:
|
|
60
|
+
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:1224-1247` | 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:79-89` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
|
|
62
62
|
| `batchTransform` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:49-83` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
|
|
63
63
|
| `BatchTransformInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:48-63` | Option shapes | 4 field(s) |
|
|
64
64
|
| `BindingContribution` | interface | `dist/core/node-classes.d.ts:80-101` | Supporting types | A resource binding a contribution hoists to the flow's top-level `bindings` array — the shape the `.flow` format… |
|
|
65
|
-
| `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:
|
|
66
|
-
| `BuiltFlow` | interface | `dist/flow-sdk.d.ts:
|
|
65
|
+
| `BuiltEntryPoint` | interface | `dist/flow-sdk.d.ts:719-731` | Supporting types | One additional flow root, built by `.entryPoint()`. |
|
|
66
|
+
| `BuiltFlow` | interface | `dist/flow-sdk.d.ts:732-773` | Supporting types | 16 field(s) |
|
|
67
67
|
| `BuiltinToolName` | type | `dist/core/actions.d.ts:1066-1067` | Supporting types | The three platform-shipped built-in tools (fixed registry types). |
|
|
68
68
|
| `BuiltinToolRef` | interface | `dist/core/actions.d.ts:1199-1219` | Supporting types | A platform built-in tool. |
|
|
69
69
|
| `BuiltInValidatorGuardrail` | interface | `dist/core/actions.d.ts:762-803` | Supporting types | A platform-shipped validator, configured by parameters. |
|
|
@@ -111,10 +111,10 @@ could hand you spans for a version you do not have.
|
|
|
111
111
|
| `documentClassify` | function | `dist/nodes/document/flow/factories.d.ts:8-16` | Actions | Classify a document into a document type (`uipath.document.classify`). |
|
|
112
112
|
| `DocumentClassifyInputs` | interface | `dist/nodes/document/flow/spec.d.ts:9-18` | Option shapes | 4 field(s) |
|
|
113
113
|
| `DocValidationInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:70-93` | Option shapes | The Document Validation task's subject — `variant: 'document-validation'` only. |
|
|
114
|
-
| `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:
|
|
114
|
+
| `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:498-507` | Option shapes | Do-while options. |
|
|
115
115
|
| `dynamicExtract` | function | `dist/nodes/document/flow/factories.d.ts:17-27` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
|
|
116
116
|
| `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:19-53` | Option shapes | 5 field(s) |
|
|
117
|
-
| `EdgeRoute` | interface | `dist/flow-sdk.d.ts:
|
|
117
|
+
| `EdgeRoute` | interface | `dist/flow-sdk.d.ts:643-657` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
|
|
118
118
|
| `endCall` | function | `dist/core/actions.d.ts:1735-1742` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
|
|
119
119
|
| `EndCallInputs` | interface | `dist/core/actions.d.ts:189-196` | Option shapes | 1 field(s) |
|
|
120
120
|
| `entryInput` | function | `dist/core/expr.d.ts:62-72` | Expressions and types | Reference an ENTRY POINT's scoped input: `entryInput('nightly', 'batchDate')` reads `$vars.nightly.output.batchDate` —… |
|
|
@@ -128,12 +128,12 @@ 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:
|
|
131
|
+
| `flow` | function | `dist/flow-sdk.d.ts:1572-1587` | 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:53-54` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
|
|
134
134
|
| `FlowActionSpecs` | interface | `dist/core/actions.d.ts:1443-1520` | 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:
|
|
136
|
-
| `FlowLayout` | interface | `dist/flow-sdk.d.ts:
|
|
135
|
+
| `FlowBuilder` | class | `dist/flow-sdk.d.ts:1248-1571` | Builders | 14 member(s) |
|
|
136
|
+
| `FlowLayout` | interface | `dist/flow-sdk.d.ts:705-718` | 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. |
|
|
139
139
|
| `FlowTrigger` | class | `dist/core/node-classes.d.ts:169-175` | Supporting types | A node that starts the flow — pass an instance to `.trigger(…)`. |
|
|
@@ -181,19 +181,19 @@ could hand you spans for a version you do not have.
|
|
|
181
181
|
| `lookupSpecOf` | function | `dist/core/lookups.d.ts:199-206` | Generated descriptors | The LookupSpec for one field, or `undefined` when it earns no helper. |
|
|
182
182
|
| `LookupStrategy` | type | `dist/core/lookups.d.ts:1-10` | Generated descriptors | How `prepare` should retrieve the collection, chosen from the metadata. |
|
|
183
183
|
| `LookupToken` | interface | `dist/core/lookups.d.ts:37-52` | Generated descriptors | An unresolved lookup: what `.byEmail(…)` returns. |
|
|
184
|
-
| `LoopOptions` | interface | `dist/flow-sdk.d.ts:
|
|
184
|
+
| `LoopOptions` | interface | `dist/flow-sdk.d.ts:477-497` | Option shapes | Loop-specific options. |
|
|
185
185
|
| `manual` | function | `dist/flow-sdk.d.ts:181-190` | Flow construction | The manual trigger, explicitly. |
|
|
186
186
|
| `McpToolRef` | interface | `dist/core/actions.d.ts:1078-1106` | Supporting types | An MCP server the agent may call tools on. |
|
|
187
187
|
| `mock` | function | `dist/nodes/mock/flow/factories.d.ts:6-45` | Actions | Declare a PLACEHOLDER step — "a real node goes here later". |
|
|
188
188
|
| `NodeContribution` | interface | `dist/core/node-classes.d.ts:102-125` | Supporting types | One validated construct, returned by FlowNode.contribute. |
|
|
189
|
-
| `NodeLayout` | interface | `dist/flow-sdk.d.ts:
|
|
190
|
-
| `NodeOptions` | interface | `dist/flow-sdk.d.ts:
|
|
189
|
+
| `NodeLayout` | interface | `dist/flow-sdk.d.ts:628-642` | Supporting types | One node's designer layout: canvas position, and optionally size and collapsed state. |
|
|
190
|
+
| `NodeOptions` | interface | `dist/flow-sdk.d.ts:391-444` | Option shapes | Options shared by every builder method that creates a definition-backed node: `version` selects the exact node… |
|
|
191
191
|
| `onEvent` | function | `dist/flow-sdk.d.ts:191-229` | Flow construction | Start the flow when a connector event fires — e.g. an email arriving in a mailbox folder. |
|
|
192
192
|
| `onEvent` | function | `dist/flow-sdk.d.ts:230-237` | Flow construction | Stringly form, for an event with no prepared module. |
|
|
193
193
|
| `out` | function | `dist/core/expr.d.ts:73-94` | Expressions and types | Reference an upstream step's output → `$vars.<step>.output[.<path>]`. |
|
|
194
194
|
| `Outcome` | type | `dist/nodes/hitl/flow/spec.d.ts:94-113` | Supporting types | One completion button. |
|
|
195
195
|
| `OutputColumn` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:41-47` | Supporting types | One column Batch Transform appends to the CSV. |
|
|
196
|
-
| `PortArm` | interface | `dist/flow-sdk.d.ts:
|
|
196
|
+
| `PortArm` | interface | `dist/flow-sdk.d.ts:378-390` | Supporting types | One arm of a built `.stepSwitch` — the same shape as SwitchArm, but `value` names an exit the ACTION declares (a… |
|
|
197
197
|
| `ProcessLocation` | type | `dist/core/actions.d.ts:346-351` | Supporting types | Where a process resource lives: deployed to an Orchestrator folder (`'published'`, the default) or a sibling project of… |
|
|
198
198
|
| `ProcessToolKind` | type | `dist/core/actions.d.ts:1258-1271` | Supporting types | The tool kinds that wrap a DEPLOYED tenant resource. |
|
|
199
199
|
| `ProcessToolRef` | interface | `dist/core/actions.d.ts:1272-1301` | Supporting types | A deployed tenant resource the agent may invoke. |
|
|
@@ -209,7 +209,7 @@ could hand you spans for a version you do not have.
|
|
|
209
209
|
| `resolvedValue` | function | `dist/core/lookups.d.ts:172-179` | Generated descriptors | The recorded id for a token, or `undefined`. |
|
|
210
210
|
| `resolveEventWhere` | function | `dist/core/lookups.d.ts:207-224` | Generated descriptors | An event subscription's `where` with every lookup token swapped for the id `registry prepare --resolve` recorded, or a… |
|
|
211
211
|
| `ReturnFieldType` | type | `dist/core/actions.d.ts:679-696` | Supporting types | A JSON-schema-ish type for one field of a step's declared `returns`. |
|
|
212
|
-
| `ReturnOptions` | interface | `dist/flow-sdk.d.ts:
|
|
212
|
+
| `ReturnOptions` | interface | `dist/flow-sdk.d.ts:445-476` | Option shapes | `.return(...)`-specific options. |
|
|
213
213
|
| `rpaWorkflow` | function | `dist/core/actions.d.ts:1613-1657` | Actions | Invoke a deployed RPA (robotic process automation) workflow — a classic UI-automation process, published to… |
|
|
214
214
|
| `RpaWorkflowInputs` | interface | `dist/core/actions.d.ts:352-410` | Option shapes | 7 field(s) |
|
|
215
215
|
| `SCHEDULE_PRESETS` | const | `dist/flow-sdk.d.ts:128-135` | Flow construction | The eight intervals the designer offers in its Frequency dropdown. |
|
|
@@ -224,16 +224,17 @@ could hand you spans for a version you do not have.
|
|
|
224
224
|
| `sendMessage` | function | `dist/nodes/conversation/flow/factories.d.ts:8-26` | Actions | Post an assistant message into a live conversation (`uipath.conversational.send-message`). |
|
|
225
225
|
| `SendMessageInputs` | interface | `dist/nodes/conversation/flow/spec.d.ts:8-27` | Option shapes | 4 field(s) |
|
|
226
226
|
| `ShownField` | interface | `dist/core/actions.d.ts:63-78` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
|
|
227
|
-
| `Step` | type | `dist/flow-sdk.d.ts:
|
|
228
|
-
| `StepList` | class | `dist/flow-sdk.d.ts:
|
|
229
|
-
| `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:
|
|
230
|
-
| `StickyNote` | interface | `dist/flow-sdk.d.ts:
|
|
231
|
-
| `StickyNoteColor` | type | `dist/flow-sdk.d.ts:
|
|
232
|
-
| `subflow` | function | `dist/flow-sdk.d.ts:
|
|
227
|
+
| `Step` | type | `dist/flow-sdk.d.ts:508-627` | Supporting types | |
|
|
228
|
+
| `StepList` | class | `dist/flow-sdk.d.ts:774-1223` | Builders | Collects a sequence of steps. |
|
|
229
|
+
| `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:658-663` | Flow construction | The designer's sticky-note palette. |
|
|
230
|
+
| `StickyNote` | interface | `dist/flow-sdk.d.ts:670-704` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
|
|
231
|
+
| `StickyNoteColor` | type | `dist/flow-sdk.d.ts:664-669` | Supporting types | A sticky note's swatch. |
|
|
232
|
+
| `subflow` | function | `dist/flow-sdk.d.ts:1588-1627` | Flow construction | Run another flow as one step, and read back what it returns. |
|
|
233
233
|
| `SubflowSpec` | interface | `dist/flow-sdk.d.ts:45-52` | Supporting types | A step that runs a child flow. |
|
|
234
234
|
| `summarize` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:8-48` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
|
|
235
235
|
| `SummarizeInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:8-40` | Option shapes | 3 field(s) |
|
|
236
|
-
| `SwitchArm` | interface | `dist/flow-sdk.d.ts:
|
|
236
|
+
| `SwitchArm` | interface | `dist/flow-sdk.d.ts:358-377` | Supporting types | One arm of a built `.switch` (the serializer's view: body already collected). |
|
|
237
|
+
| `SwitchCase` | type | `dist/flow-sdk.d.ts:341-357` | Supporting types | One case of `.switch(name, on, cases)`: either `{ value }`, taken when `on === value`, or `{ when }`, taken when its own… |
|
|
237
238
|
| `tmpl` | function | `dist/core/expr.d.ts:283-293` | Expressions and types | Build a JS *string template* (for URLs, messages, etc.). |
|
|
238
239
|
| `ToolRef` | type | `dist/core/actions.d.ts:1068-1077` | Supporting types | One tool on an inline agent — a discriminated union over the kinds the tenant's registry actually serves… |
|
|
239
240
|
| `transform` | function | `dist/nodes/transform/flow/factories.d.ts:7-52` | Actions | Declare a Transform action — a chain of declarative operations over a collection. |
|
package/dist/api-members.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
# Maestro Builder SDK — member index
|
|
7
7
|
|
|
8
|
-
**A lookup table of
|
|
8
|
+
**A lookup table of 1116 rows — match one name in it, do not read it.**
|
|
9
9
|
Grep or search for the member you have; the row it lands on is the whole
|
|
10
10
|
answer. Reading top to bottom costs ~20x what the one row does and tells you
|
|
11
11
|
nothing you asked for.
|
|
12
12
|
|
|
13
|
-
Every field and method of every exported shape —
|
|
13
|
+
Every field and method of every exported shape — 1116 across
|
|
14
14
|
200 interfaces and classes — keyed by the MEMBER's own name.
|
|
15
15
|
|
|
16
16
|
**Use this when the name you have is a field or a method**, which is usually
|
|
@@ -28,7 +28,7 @@ truncated summary would, for less. Read the span.
|
|
|
28
28
|
Member names repeat across shapes (`name` is declared on 69 of them), so the
|
|
29
29
|
`Declared on` column is what makes a match actionable. For the whole shape
|
|
30
30
|
rather than the one field, look that name up in [`api-index.md`](api-index.md) —
|
|
31
|
-
which is why its span is not repeated on all
|
|
31
|
+
which is why its span is not repeated on all 1116 rows here.
|
|
32
32
|
|
|
33
33
|
**A name that misses both indexes is probably not part of the API.** The one
|
|
34
34
|
that comes up is a RUNTIME output key — a human task's `Action`, a step's
|
|
@@ -66,7 +66,7 @@ not find it either.
|
|
|
66
66
|
| `app` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1337-1338` |
|
|
67
67
|
| `appSystemName` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:170-175` |
|
|
68
68
|
| `appVersion` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1339-1340` |
|
|
69
|
-
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
69
|
+
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1236` |
|
|
70
70
|
| `assignee` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:52-63` |
|
|
71
71
|
| `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1281-1285` |
|
|
72
72
|
| `atRiskPercentage` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:132-137` |
|
|
@@ -91,20 +91,20 @@ not find it either.
|
|
|
91
91
|
| `body` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1146-1155` |
|
|
92
92
|
| `body` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1169-1170` |
|
|
93
93
|
| `body` | property | `JsonSchemaType` | `dist/case/case-sdk.d.ts:539` |
|
|
94
|
-
| `body` | property | `PortArm` | `dist/flow-sdk.d.ts:
|
|
94
|
+
| `body` | property | `PortArm` | `dist/flow-sdk.d.ts:388-389` |
|
|
95
95
|
| `body` | property | `SchemaEntry` | `dist/bpmn/bpmn-sdk.d.ts:1003-1004` |
|
|
96
|
-
| `body` | property | `SwitchArm` | `dist/flow-sdk.d.ts:
|
|
96
|
+
| `body` | property | `SwitchArm` | `dist/flow-sdk.d.ts:376` |
|
|
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:
|
|
100
|
+
| `branch` | method | `StepList` | `dist/flow-sdk.d.ts:973-991` |
|
|
101
101
|
| `branches` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:25-30` |
|
|
102
|
-
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
103
|
-
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:
|
|
104
|
-
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:
|
|
102
|
+
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:1108-1117` |
|
|
103
|
+
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:505-506` |
|
|
104
|
+
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:492-496` |
|
|
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:
|
|
107
|
+
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1564-1570` |
|
|
108
108
|
| `businessRule` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2527-2573` |
|
|
109
109
|
| `by` | property | `LookupResolution` | `dist/core/lookups.d.ts:164` |
|
|
110
110
|
| `by` | property | `LookupSpec` | `dist/core/lookups.d.ts:27-28` |
|
|
@@ -126,13 +126,13 @@ not find it either.
|
|
|
126
126
|
| `code` | property | `ErrorDecl` | `dist/bpmn/bpmn-sdk.d.ts:439-440` |
|
|
127
127
|
| `code` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:299-307` |
|
|
128
128
|
| `code` | property | `ScriptInputs` | `dist/nodes/script/flow/spec.d.ts:8-9` |
|
|
129
|
-
| `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:
|
|
129
|
+
| `collapsed` | property | `NodeLayout` | `dist/flow-sdk.d.ts:640-641` |
|
|
130
130
|
| `collection` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:79-80` |
|
|
131
131
|
| `collection` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:85-95` |
|
|
132
|
-
| `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
132
|
+
| `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:694-695` |
|
|
133
133
|
| `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1249-1259` |
|
|
134
134
|
| `completion` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:85-86` |
|
|
135
|
-
| `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:
|
|
135
|
+
| `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:487-491` |
|
|
136
136
|
| `condition` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:350-351` |
|
|
137
137
|
| `condition` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:314-320` |
|
|
138
138
|
| `condition` | property | `FilterRule` | `dist/nodes/transform/flow/spec.d.ts:15` |
|
|
@@ -164,7 +164,7 @@ not find it either.
|
|
|
164
164
|
| `connectorKey` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1184-1190` |
|
|
165
165
|
| `connectorKey` | property | `WaitConnectorPlaceholderSpec` | `dist/case/case-sdk.d.ts:366-367` |
|
|
166
166
|
| `content` | property | `SendMessageInputs` | `dist/nodes/conversation/flow/spec.d.ts:20-21` |
|
|
167
|
-
| `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
167
|
+
| `content` | property | `StickyNote` | `dist/flow-sdk.d.ts:692-693` |
|
|
168
168
|
| `contentType` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:36` |
|
|
169
169
|
| `context` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1526-1527` |
|
|
170
170
|
| `context` | property | `ConversationalAgentSettings` | `dist/core/actions.d.ts:122-123` |
|
|
@@ -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:
|
|
175
|
+
| `continue` | method | `StepList` | `dist/flow-sdk.d.ts:1118-1132` |
|
|
176
176
|
| `contribute` | method | `FlowNode` | `dist/core/node-classes.d.ts:144-153` |
|
|
177
177
|
| `conversationalAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1479-1482` |
|
|
178
178
|
| `conversationContext` | property | `FlowActionSpecs` | `dist/nodes/conversation/flow/spec.d.ts:55-58` |
|
|
@@ -207,13 +207,13 @@ not find it either.
|
|
|
207
207
|
| `defaultOf` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:1924-1925` |
|
|
208
208
|
| `deferDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:48-49` |
|
|
209
209
|
| `definition` | property | `NodeContribution` | `dist/core/node-classes.d.ts:111-112` |
|
|
210
|
-
| `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
211
|
-
| `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
210
|
+
| `definitions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:758-763` |
|
|
211
|
+
| `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1464-1504` |
|
|
212
212
|
| `delay` | property | `FlowActionSpecs` | `dist/nodes/delay/flow/spec.d.ts:38-41` |
|
|
213
213
|
| `dependsOn` | property | `LookupSpec` | `dist/core/lookups.d.ts:34-35` |
|
|
214
214
|
| `description` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1187` |
|
|
215
215
|
| `description` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:633` |
|
|
216
|
-
| `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
216
|
+
| `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:735-736` |
|
|
217
217
|
| `description` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:1207-1208` |
|
|
218
218
|
| `description` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:768` |
|
|
219
219
|
| `description` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:525` |
|
|
@@ -225,7 +225,7 @@ not find it either.
|
|
|
225
225
|
| `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:755` |
|
|
226
226
|
| `description` | property | `EscalationRef` | `dist/core/actions.d.ts:1349-1350` |
|
|
227
227
|
| `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:241` |
|
|
228
|
-
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
228
|
+
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1273-1280` |
|
|
229
229
|
| `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1154` |
|
|
230
230
|
| `description` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:337-344` |
|
|
231
231
|
| `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:1327-1328` |
|
|
@@ -267,12 +267,12 @@ not find it either.
|
|
|
267
267
|
| `document` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:252-256` |
|
|
268
268
|
| `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:56-59` |
|
|
269
269
|
| `documentId` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:84-85` |
|
|
270
|
-
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
270
|
+
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1083-1107` |
|
|
271
271
|
| `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
|
|
272
272
|
| `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:33-34` |
|
|
273
273
|
| `dynamicExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:60-63` |
|
|
274
274
|
| `dynamicFewShotLearning` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1190-1191` |
|
|
275
|
-
| `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:
|
|
275
|
+
| `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:716-717` |
|
|
276
276
|
| `element` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1619-1620` |
|
|
277
277
|
| `element` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:80-81` |
|
|
278
278
|
| `elementId` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:378-385` |
|
|
@@ -291,12 +291,12 @@ not find it either.
|
|
|
291
291
|
| `entity` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1090-1091` |
|
|
292
292
|
| `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:528` |
|
|
293
293
|
| `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:520` |
|
|
294
|
-
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
294
|
+
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1339-1389` |
|
|
295
295
|
| `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:534-539` |
|
|
296
|
-
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
296
|
+
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:764-765` |
|
|
297
297
|
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1004-1011` |
|
|
298
298
|
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:947-956` |
|
|
299
|
-
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
299
|
+
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:782-807` |
|
|
300
300
|
| `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:750-754` |
|
|
301
301
|
| `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:696-706` |
|
|
302
302
|
| `error` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1842-1847` |
|
|
@@ -417,7 +417,7 @@ not find it either.
|
|
|
417
417
|
| `headers` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1138-1139` |
|
|
418
418
|
| `headers` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1159-1163` |
|
|
419
419
|
| `height` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:606-607` |
|
|
420
|
-
| `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
420
|
+
| `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:702-703` |
|
|
421
421
|
| `hidden` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:27` |
|
|
422
422
|
| `hidden` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:61` |
|
|
423
423
|
| `hitl` | property | `FlowActionSpecs` | `dist/nodes/hitl/flow/spec.d.ts:260-263` |
|
|
@@ -433,8 +433,8 @@ not find it either.
|
|
|
433
433
|
| `id` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:368-369` |
|
|
434
434
|
| `id` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:491-492` |
|
|
435
435
|
| `id` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:624` |
|
|
436
|
-
| `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
437
|
-
| `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
436
|
+
| `id` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:721-722` |
|
|
437
|
+
| `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:733` |
|
|
438
438
|
| `id` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:764-765` |
|
|
439
439
|
| `id` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:576-577` |
|
|
440
440
|
| `id` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1418-1423` |
|
|
@@ -449,8 +449,8 @@ not find it either.
|
|
|
449
449
|
| `id` | property | `PinnedFlowId` | `dist/bpmn/bpmn-sdk.d.ts:1630-1631` |
|
|
450
450
|
| `id` | property | `SchemaEntry` | `dist/bpmn/bpmn-sdk.d.ts:1001-1002` |
|
|
451
451
|
| `id` | property | `ShownField` | `dist/core/actions.d.ts:65-66` |
|
|
452
|
-
| `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
453
|
-
| `id` | property | `SwitchArm` | `dist/flow-sdk.d.ts:
|
|
452
|
+
| `id` | property | `StickyNote` | `dist/flow-sdk.d.ts:682-691` |
|
|
453
|
+
| `id` | property | `SwitchArm` | `dist/flow-sdk.d.ts:369-375` |
|
|
454
454
|
| `id` | property | `VarEntry` | `dist/bpmn/bpmn-sdk.d.ts:992-993` |
|
|
455
455
|
| `identifier` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:634` |
|
|
456
456
|
| `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1102-1109` |
|
|
@@ -461,7 +461,7 @@ not find it either.
|
|
|
461
461
|
| `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2266-2273` |
|
|
462
462
|
| `inlineAgent` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1491-1494` |
|
|
463
463
|
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1160-1185` |
|
|
464
|
-
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
464
|
+
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1505-1517` |
|
|
465
465
|
| `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1355-1356` |
|
|
466
466
|
| `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1241-1242` |
|
|
467
467
|
| `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3068-3076` |
|
|
@@ -474,8 +474,8 @@ not find it either.
|
|
|
474
474
|
| `inputs` | property | `AgentInputs` | `dist/core/actions.d.ts:623-640` |
|
|
475
475
|
| `inputs` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:424-428` |
|
|
476
476
|
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:176-184` |
|
|
477
|
-
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
478
|
-
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
477
|
+
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:727-728` |
|
|
478
|
+
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:745` |
|
|
479
479
|
| `inputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:516-517` |
|
|
480
480
|
| `inputs` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:1139-1140` |
|
|
481
481
|
| `inputs` | property | `ExternalTaskOptions` | `dist/case/case-sdk.d.ts:399-400` |
|
|
@@ -534,23 +534,23 @@ not find it either.
|
|
|
534
534
|
| `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:47` |
|
|
535
535
|
| `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:99-100` |
|
|
536
536
|
| `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1194-1195` |
|
|
537
|
-
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
537
|
+
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1237-1246` |
|
|
538
538
|
| `label` | property | `AskedField` | `dist/core/actions.d.ts:83-84` |
|
|
539
539
|
| `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:523` |
|
|
540
540
|
| `label` | property | `InOutField` | `dist/core/actions.d.ts:99-100` |
|
|
541
|
-
| `label` | property | `NodeOptions` | `dist/flow-sdk.d.ts:
|
|
541
|
+
| `label` | property | `NodeOptions` | `dist/flow-sdk.d.ts:422-443` |
|
|
542
542
|
| `label` | property | `ShownField` | `dist/core/actions.d.ts:67-68` |
|
|
543
|
-
| `label` | property | `SwitchArm` | `dist/flow-sdk.d.ts:
|
|
543
|
+
| `label` | property | `SwitchArm` | `dist/flow-sdk.d.ts:368` |
|
|
544
544
|
| `labels` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:458-459` |
|
|
545
545
|
| `labels` | property | `EscalationRef` | `dist/core/actions.d.ts:1405-1406` |
|
|
546
546
|
| `labels` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:228-229` |
|
|
547
547
|
| `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:527` |
|
|
548
548
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:646-647` |
|
|
549
|
-
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
549
|
+
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:754-755` |
|
|
550
550
|
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1139-1159` |
|
|
551
|
-
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
551
|
+
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1281-1291` |
|
|
552
552
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
|
|
553
|
-
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:
|
|
553
|
+
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:503-504` |
|
|
554
554
|
| `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
|
|
555
555
|
| `location` | property | `AgenticProcessInputsBase` | `dist/core/actions.d.ts:493-503` |
|
|
556
556
|
| `location` | property | `AgentInputs` | `dist/core/actions.d.ts:599-604` |
|
|
@@ -558,7 +558,7 @@ not find it either.
|
|
|
558
558
|
| `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
|
|
559
559
|
| `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:335-336` |
|
|
560
560
|
| `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:832-833` |
|
|
561
|
-
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
561
|
+
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1071-1082` |
|
|
562
562
|
| `managed` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:37-67` |
|
|
563
563
|
| `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:354` |
|
|
564
564
|
| `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:321` |
|
|
@@ -627,7 +627,7 @@ not find it either.
|
|
|
627
627
|
| `name` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:370-371` |
|
|
628
628
|
| `name` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:493-494` |
|
|
629
629
|
| `name` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:625` |
|
|
630
|
-
| `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
630
|
+
| `name` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:734` |
|
|
631
631
|
| `name` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:767` |
|
|
632
632
|
| `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:501-502` |
|
|
633
633
|
| `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:198-199` |
|
|
@@ -647,7 +647,7 @@ not find it either.
|
|
|
647
647
|
| `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1840-1841` |
|
|
648
648
|
| `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:240` |
|
|
649
649
|
| `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1499-1500` |
|
|
650
|
-
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
650
|
+
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1265-1272` |
|
|
651
651
|
| `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:1637-1638` |
|
|
652
652
|
| `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:760-761` |
|
|
653
653
|
| `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:1735-1736` |
|
|
@@ -675,7 +675,7 @@ not find it either.
|
|
|
675
675
|
| `name` | property | `RegistryOutput` | `dist/bpmn/typed-node.d.ts:72` |
|
|
676
676
|
| `name` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:1114-1115` |
|
|
677
677
|
| `name` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:266-267` |
|
|
678
|
-
| `name` | property | `ReturnOptions` | `dist/flow-sdk.d.ts:
|
|
678
|
+
| `name` | property | `ReturnOptions` | `dist/flow-sdk.d.ts:460-475` |
|
|
679
679
|
| `name` | property | `RpaWorkflowInputs` | `dist/core/actions.d.ts:364-365` |
|
|
680
680
|
| `name` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:844-845` |
|
|
681
681
|
| `name` | property | `SplitOpts` | `dist/bpmn/bpmn-sdk.d.ts:1830-1831` |
|
|
@@ -692,7 +692,7 @@ not find it either.
|
|
|
692
692
|
| `name` | property | `VarDecl` | `dist/flow-sdk.d.ts:60` |
|
|
693
693
|
| `name` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1644-1645` |
|
|
694
694
|
| `nodes` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:503-504` |
|
|
695
|
-
| `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:
|
|
695
|
+
| `nodes` | property | `FlowLayout` | `dist/flow-sdk.d.ts:714-715` |
|
|
696
696
|
| `nodes` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1935-1936` |
|
|
697
697
|
| `nodeType` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:62` |
|
|
698
698
|
| `nodeType` | property | `LookupResolution` | `dist/core/lookups.d.ts:162` |
|
|
@@ -709,7 +709,7 @@ not find it either.
|
|
|
709
709
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3259-3266` |
|
|
710
710
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3267-3274` |
|
|
711
711
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3275-3283` |
|
|
712
|
-
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
712
|
+
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:862-922` |
|
|
713
713
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3302-3310` |
|
|
714
714
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3311-3319` |
|
|
715
715
|
| `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3284-3292` |
|
|
@@ -720,14 +720,14 @@ not find it either.
|
|
|
720
720
|
| `operations` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:106-107` |
|
|
721
721
|
| `operator` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:29-30` |
|
|
722
722
|
| `options` | property | `ActionField` | `dist/case/case-sdk.d.ts:445-449` |
|
|
723
|
-
| `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
723
|
+
| `options` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:725-726` |
|
|
724
724
|
| `or` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:38-50` |
|
|
725
725
|
| `origin` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:1926-1931` |
|
|
726
726
|
| `outcomePorts` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:230-244` |
|
|
727
727
|
| `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:1395-1400` |
|
|
728
728
|
| `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:211-225` |
|
|
729
729
|
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1186-1198` |
|
|
730
|
-
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
730
|
+
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1518-1553` |
|
|
731
731
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:90` |
|
|
732
732
|
| `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3077-3085` |
|
|
733
733
|
| `outputColumns` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:56-60` |
|
|
@@ -736,7 +736,7 @@ not find it either.
|
|
|
736
736
|
| `outputRows` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:909-918` |
|
|
737
737
|
| `outputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:464-465` |
|
|
738
738
|
| `outputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1564-1565` |
|
|
739
|
-
| `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
739
|
+
| `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:746` |
|
|
740
740
|
| `outputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:518-519` |
|
|
741
741
|
| `outputs` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1483-1493` |
|
|
742
742
|
| `outputs` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:248-262` |
|
|
@@ -762,8 +762,8 @@ not find it either.
|
|
|
762
762
|
| `pageRange` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:12-13` |
|
|
763
763
|
| `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:49-50` |
|
|
764
764
|
| `pageRange` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:326-327` |
|
|
765
|
-
| `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:
|
|
766
|
-
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
765
|
+
| `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:485-486` |
|
|
766
|
+
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:1035-1070` |
|
|
767
767
|
| `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2256-2265` |
|
|
768
768
|
| `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1479-1480` |
|
|
769
769
|
| `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1140-1145` |
|
|
@@ -782,7 +782,7 @@ not find it either.
|
|
|
782
782
|
| `pinnedFlowIds` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:1951-1958` |
|
|
783
783
|
| `plainTask` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2302-2331` |
|
|
784
784
|
| `position` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:592-596` |
|
|
785
|
-
| `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:
|
|
785
|
+
| `position` | property | `NodeLayout` | `dist/flow-sdk.d.ts:630-634` |
|
|
786
786
|
| `preservation` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:511-512` |
|
|
787
787
|
| `preserve` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3332-3347` |
|
|
788
788
|
| `priority` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:453` |
|
|
@@ -862,7 +862,7 @@ not find it either.
|
|
|
862
862
|
| `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:830-831` |
|
|
863
863
|
| `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:308-309` |
|
|
864
864
|
| `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:109-123` |
|
|
865
|
-
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
865
|
+
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:1213-1222` |
|
|
866
866
|
| `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:34-39` |
|
|
867
867
|
| `returns` | property | `AgentInputs` | `dist/core/actions.d.ts:641-660` |
|
|
868
868
|
| `returns` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:429-441` |
|
|
@@ -878,7 +878,7 @@ not find it either.
|
|
|
878
878
|
| `role` | property | `FlowNode` | `dist/core/node-classes.d.ts:142-143` |
|
|
879
879
|
| `role` | property | `FlowResource` | `dist/core/node-classes.d.ts:181-182` |
|
|
880
880
|
| `role` | property | `FlowTrigger` | `dist/core/node-classes.d.ts:173-174` |
|
|
881
|
-
| `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:
|
|
881
|
+
| `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:651-656` |
|
|
882
882
|
| `rpa` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:751-760` |
|
|
883
883
|
| `rpaWorkflow` | property | `FlowActionSpecs` | `dist/core/actions.d.ts:1455-1458` |
|
|
884
884
|
| `rule` | property | `CaseRule` | `dist/case/case-sdk.d.ts:80` |
|
|
@@ -901,9 +901,9 @@ not find it either.
|
|
|
901
901
|
| `schemas` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3433-3443` |
|
|
902
902
|
| `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:509-510` |
|
|
903
903
|
| `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3375-3404` |
|
|
904
|
-
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
904
|
+
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:738-744` |
|
|
905
905
|
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1068-1094` |
|
|
906
|
-
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
906
|
+
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1424-1463` |
|
|
907
907
|
| `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:121` |
|
|
908
908
|
| `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:701` |
|
|
909
909
|
| `script` | property | `FlowActionSpecs` | `dist/nodes/script/flow/spec.d.ts:47-50` |
|
|
@@ -929,7 +929,7 @@ not find it either.
|
|
|
929
929
|
| `severity` | property | `ContributionDiagnostic` | `dist/core/node-classes.d.ts:31-32` |
|
|
930
930
|
| `shared` | property | `VarDecl` | `dist/flow-sdk.d.ts:69-70` |
|
|
931
931
|
| `shared` | property | `VarSpec` | `dist/flow-sdk.d.ts:94-126` |
|
|
932
|
-
| `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:
|
|
932
|
+
| `size` | property | `NodeLayout` | `dist/flow-sdk.d.ts:635-639` |
|
|
933
933
|
| `skip` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:515` |
|
|
934
934
|
| `skip` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:101-102` |
|
|
935
935
|
| `skipCondition` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1598-1599` |
|
|
@@ -975,16 +975,16 @@ not find it either.
|
|
|
975
975
|
| `startName` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1887-1888` |
|
|
976
976
|
| `startPayload` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1889-1890` |
|
|
977
977
|
| `startProcess` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2459-2478` |
|
|
978
|
-
| `step` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
979
|
-
| `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
980
|
-
| `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
981
|
-
| `steps` | property | `StepList` | `dist/flow-sdk.d.ts:
|
|
982
|
-
| `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
983
|
-
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
984
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
985
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
986
|
-
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
987
|
-
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
978
|
+
| `step` | method | `StepList` | `dist/flow-sdk.d.ts:808-818` |
|
|
979
|
+
| `steps` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:729-730` |
|
|
980
|
+
| `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:748` |
|
|
981
|
+
| `steps` | property | `StepList` | `dist/flow-sdk.d.ts:776` |
|
|
982
|
+
| `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:819-861` |
|
|
983
|
+
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:936-964` |
|
|
984
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1164-1192` |
|
|
985
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1193-1212` |
|
|
986
|
+
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:756-757` |
|
|
987
|
+
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1292-1317` |
|
|
988
988
|
| `storageBucket` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:82-83` |
|
|
989
989
|
| `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
|
|
990
990
|
| `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:597-598` |
|
|
@@ -997,7 +997,7 @@ not find it either.
|
|
|
997
997
|
| `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:84-85` |
|
|
998
998
|
| `summarize` | property | `FlowActionSpecs` | `dist/nodes/ai-patterns/flow/spec.d.ts:66-69` |
|
|
999
999
|
| `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:585-586` |
|
|
1000
|
-
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1000
|
+
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:992-1034` |
|
|
1001
1001
|
| `systemPrompt` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:134-139` |
|
|
1002
1002
|
| `systemPrompt` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:814-863` |
|
|
1003
1003
|
| `systemPrompt` | property | `VoiceAgentInputs` | `dist/core/actions.d.ts:221-226` |
|
|
@@ -1022,7 +1022,7 @@ not find it either.
|
|
|
1022
1022
|
| `temperature` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:924-925` |
|
|
1023
1023
|
| `temperature` | property | `VoiceSettings` | `dist/core/actions.d.ts:213-214` |
|
|
1024
1024
|
| `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:692-693` |
|
|
1025
|
-
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
1025
|
+
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1133-1163` |
|
|
1026
1026
|
| `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:1438-1439` |
|
|
1027
1027
|
| `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:201-202` |
|
|
1028
1028
|
| `timeout` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:91-108` |
|
|
@@ -1042,16 +1042,16 @@ not find it either.
|
|
|
1042
1042
|
| `tools` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1015-1037` |
|
|
1043
1043
|
| `transform` | property | `FlowActionSpecs` | `dist/nodes/transform/flow/spec.d.ts:111-114` |
|
|
1044
1044
|
| `transformation` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:30-31` |
|
|
1045
|
-
| `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:
|
|
1046
|
-
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1045
|
+
| `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:723-724` |
|
|
1046
|
+
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:749-751` |
|
|
1047
1047
|
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1224-1232` |
|
|
1048
1048
|
| `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:128-129` |
|
|
1049
|
-
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1049
|
+
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1318-1338` |
|
|
1050
1050
|
| `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:624-671` |
|
|
1051
1051
|
| `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:976-977` |
|
|
1052
|
-
| `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1053
|
-
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1054
|
-
| `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1052
|
+
| `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:766-772` |
|
|
1053
|
+
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1390-1409` |
|
|
1054
|
+
| `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:752-753` |
|
|
1055
1055
|
| `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:644-645` |
|
|
1056
1056
|
| `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:620-621` |
|
|
1057
1057
|
| `type` | property | `ActionField` | `dist/case/case-sdk.d.ts:435-436` |
|
|
@@ -1081,7 +1081,7 @@ not find it either.
|
|
|
1081
1081
|
| `unit` | property | `BuiltSla` | `dist/case/case-sdk.d.ts:189` |
|
|
1082
1082
|
| `unit` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:169` |
|
|
1083
1083
|
| `unresolved` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:728-740` |
|
|
1084
|
-
| `updates` | property | `NodeOptions` | `dist/flow-sdk.d.ts:
|
|
1084
|
+
| `updates` | property | `NodeOptions` | `dist/flow-sdk.d.ts:405-421` |
|
|
1085
1085
|
| `url` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:32` |
|
|
1086
1086
|
| `url` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1134-1135` |
|
|
1087
1087
|
| `url` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1155-1156` |
|
|
@@ -1098,15 +1098,15 @@ not find it either.
|
|
|
1098
1098
|
| `value` | property | `InOutField` | `dist/core/actions.d.ts:103-104` |
|
|
1099
1099
|
| `value` | property | `LookupResolution` | `dist/core/lookups.d.ts:167-168` |
|
|
1100
1100
|
| `value` | property | `LookupSpec` | `dist/core/lookups.d.ts:29-30` |
|
|
1101
|
-
| `value` | property | `PortArm` | `dist/flow-sdk.d.ts:
|
|
1101
|
+
| `value` | property | `PortArm` | `dist/flow-sdk.d.ts:386-387` |
|
|
1102
1102
|
| `value` | property | `ShownField` | `dist/core/actions.d.ts:71-77` |
|
|
1103
|
-
| `value` | property | `SwitchArm` | `dist/flow-sdk.d.ts:
|
|
1103
|
+
| `value` | property | `SwitchArm` | `dist/flow-sdk.d.ts:360-361` |
|
|
1104
1104
|
| `value` | property | `TaskInputBinding` | `dist/case/case-sdk.d.ts:485-486` |
|
|
1105
1105
|
| `value` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:174-175` |
|
|
1106
1106
|
| `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:205-206` |
|
|
1107
1107
|
| `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:132-137` |
|
|
1108
1108
|
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1199-1223` |
|
|
1109
|
-
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1109
|
+
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1554-1563` |
|
|
1110
1110
|
| `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3059-3067` |
|
|
1111
1111
|
| `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:494-495` |
|
|
1112
1112
|
| `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:251-252` |
|
|
@@ -1116,12 +1116,12 @@ not find it either.
|
|
|
1116
1116
|
| `variant` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:187-191` |
|
|
1117
1117
|
| `variant` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:96-105` |
|
|
1118
1118
|
| `vars` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:640` |
|
|
1119
|
-
| `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1119
|
+
| `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:747` |
|
|
1120
1120
|
| `vars` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3086-3111` |
|
|
1121
1121
|
| `vars` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:1939-1940` |
|
|
1122
1122
|
| `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:257-271` |
|
|
1123
1123
|
| `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:626-632` |
|
|
1124
|
-
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:
|
|
1124
|
+
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:737` |
|
|
1125
1125
|
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1057-1067` |
|
|
1126
1126
|
| `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1435-1436` |
|
|
1127
1127
|
| `version` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:63` |
|
|
@@ -1129,8 +1129,8 @@ not find it either.
|
|
|
1129
1129
|
| `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1232-1233` |
|
|
1130
1130
|
| `version` | property | `EventSubscription` | `dist/core/actions.d.ts:2116` |
|
|
1131
1131
|
| `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1507-1508` |
|
|
1132
|
-
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1133
|
-
| `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:
|
|
1132
|
+
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1410-1423` |
|
|
1133
|
+
| `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:397-404` |
|
|
1134
1134
|
| `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:126` |
|
|
1135
1135
|
| `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:2073-2074` |
|
|
1136
1136
|
| `versionTag` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:328-329` |
|
|
@@ -1146,12 +1146,13 @@ not find it either.
|
|
|
1146
1146
|
| `waitForEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2688-2729` |
|
|
1147
1147
|
| `waitForMessage` | property | `FlowActionSpecs` | `dist/nodes/conversation/flow/spec.d.ts:51-54` |
|
|
1148
1148
|
| `waitForTimer` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:877-883` |
|
|
1149
|
-
| `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:
|
|
1149
|
+
| `waypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:645-650` |
|
|
1150
1150
|
| `when` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:176-182` |
|
|
1151
|
+
| `when` | property | `SwitchArm` | `dist/flow-sdk.d.ts:362-367` |
|
|
1151
1152
|
| `where` | property | `EventSubscription` | `dist/core/actions.d.ts:2082-2100` |
|
|
1152
1153
|
| `where` | property | `TriggerOptions` | `dist/core/actions.d.ts:2035-2052` |
|
|
1153
1154
|
| `width` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:604-605` |
|
|
1154
|
-
| `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
1155
|
-
| `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
1156
|
-
| `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:
|
|
1155
|
+
| `width` | property | `StickyNote` | `dist/flow-sdk.d.ts:700-701` |
|
|
1156
|
+
| `x` | property | `StickyNote` | `dist/flow-sdk.d.ts:696-697` |
|
|
1157
|
+
| `y` | property | `StickyNote` | `dist/flow-sdk.d.ts:698-699` |
|
|
1157
1158
|
| `zIndex` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:608-609` |
|
package/dist/check.js
CHANGED
|
@@ -518,13 +518,51 @@ function checkFlow(built, ancestors, opts = {}) {
|
|
|
518
518
|
walk(s.otherwise, inLoop);
|
|
519
519
|
}
|
|
520
520
|
else if (s.kind === 'switch') {
|
|
521
|
-
|
|
521
|
+
if (s.on)
|
|
522
|
+
addExpr(s.on.js, s.name);
|
|
523
|
+
for (const c of s.cases)
|
|
524
|
+
if (c.when)
|
|
525
|
+
addExpr(c.when.js, s.name);
|
|
522
526
|
switchNames.add(s.name);
|
|
527
|
+
s.cases.forEach((c, i) => {
|
|
528
|
+
const hasValue = c.value !== undefined;
|
|
529
|
+
const hasWhen = c.when !== undefined;
|
|
530
|
+
if (hasValue === hasWhen || (hasValue && !s.on)) {
|
|
531
|
+
diags.push({
|
|
532
|
+
level: 'error',
|
|
533
|
+
code: 'SWITCH_CASE_FORM',
|
|
534
|
+
message: hasValue && hasWhen
|
|
535
|
+
? `Switch "${s.name}" case ${i + 1} has both \`value\` and \`when\`. Give it one: \`value\` is compared with \`on\`, \`when\` is the case's own condition.`
|
|
536
|
+
: hasValue
|
|
537
|
+
? `Switch "${s.name}" case ${i + 1} has a \`value\` but the switch has no \`on\` to compare it with. Pass \`on\`, or give the case a \`when\` condition.`
|
|
538
|
+
: `Switch "${s.name}" case ${i + 1} has neither \`value\` nor \`when\`.`,
|
|
539
|
+
step: s.name,
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
if (hasWhen && c.when.literal) {
|
|
543
|
+
diags.push({
|
|
544
|
+
level: 'error',
|
|
545
|
+
code: 'SWITCH_CONST_WHEN',
|
|
546
|
+
message: `Switch "${s.name}" case ${i + 1}'s \`when\` is the constant ${JSON.stringify(c.when.value)}, so it is always or never taken. Pass an expression.`,
|
|
547
|
+
step: s.name,
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
});
|
|
523
551
|
// A constant discriminant can never match a case — it is what
|
|
524
552
|
// `.switch('q', 'quarter', …)` (a name where an expression belongs)
|
|
525
553
|
// degrades into once types are stripped, and it would emit
|
|
526
554
|
// `"quarter" === 2`: valid JS, always false, default arm every time.
|
|
527
|
-
|
|
555
|
+
// `on` is compared only with `value` cases; with none, it is unused.
|
|
556
|
+
const hasValueCase = s.cases.some((c) => c.value !== undefined);
|
|
557
|
+
if (s.on && !hasValueCase && s.cases.length > 0)
|
|
558
|
+
diags.push({
|
|
559
|
+
level: 'warning',
|
|
560
|
+
code: 'SWITCH_ON_UNUSED',
|
|
561
|
+
message: `Switch "${s.name}" has an \`on\`, but every case has its own \`when\` condition, so \`on\` is never compared. `
|
|
562
|
+
+ 'Pass `undefined` for `on`.',
|
|
563
|
+
step: s.name,
|
|
564
|
+
});
|
|
565
|
+
if (s.on?.literal && hasValueCase)
|
|
528
566
|
diags.push({
|
|
529
567
|
level: 'error',
|
|
530
568
|
code: 'SWITCH_CONST_ON',
|
|
@@ -563,12 +601,12 @@ function checkFlow(built, ancestors, opts = {}) {
|
|
|
563
601
|
seenIds.add(String(caseId));
|
|
564
602
|
});
|
|
565
603
|
for (const c of s.cases) {
|
|
566
|
-
const key = `${typeof c.value}:${String(c.value)}`;
|
|
604
|
+
const key = c.when !== undefined ? `when:${c.when.js}` : `${typeof c.value}:${String(c.value)}`;
|
|
567
605
|
if (seenValues.has(key))
|
|
568
606
|
diags.push({
|
|
569
607
|
level: 'error',
|
|
570
608
|
code: 'DUP_CASE',
|
|
571
|
-
message: `Switch "${s.name}" has two cases for ${JSON.stringify(c.value)}; the second is unreachable `
|
|
609
|
+
message: `Switch "${s.name}" has two cases for ${c.when !== undefined ? `when ${c.when.js}` : JSON.stringify(c.value)}; the second is unreachable `
|
|
572
610
|
+ '(the first matching case wins).',
|
|
573
611
|
step: s.name,
|
|
574
612
|
});
|
|
@@ -577,7 +615,7 @@ function checkFlow(built, ancestors, opts = {}) {
|
|
|
577
615
|
diags.push({
|
|
578
616
|
level: 'warning',
|
|
579
617
|
code: 'EMPTY_ARM',
|
|
580
|
-
message: `Switch "${s.name}" has an empty arm for case ${JSON.stringify(c.value)}.`,
|
|
618
|
+
message: `Switch "${s.name}" has an empty arm for case ${c.when !== undefined ? `when ${c.when.js}` : JSON.stringify(c.value)}.`,
|
|
581
619
|
step: s.name,
|
|
582
620
|
});
|
|
583
621
|
walk(c.body, inLoop);
|
|
@@ -3935,6 +3973,8 @@ function reportUnreachableHitlOutcomes(choices, exprs, diags) {
|
|
|
3935
3973
|
* and so are object/array/any/file discriminants — nothing useful to compare.
|
|
3936
3974
|
*/
|
|
3937
3975
|
function checkCaseValueTypes(s, typeOf, diags, triggerId) {
|
|
3976
|
+
if (!s.on)
|
|
3977
|
+
return;
|
|
3938
3978
|
const refName = declaredRefName(s.on.js, triggerId);
|
|
3939
3979
|
if (!refName)
|
|
3940
3980
|
return;
|
|
@@ -3946,6 +3986,8 @@ function checkCaseValueTypes(s, typeOf, diags, triggerId) {
|
|
|
3946
3986
|
if (!expected)
|
|
3947
3987
|
return;
|
|
3948
3988
|
for (const c of s.cases) {
|
|
3989
|
+
if (c.value === undefined)
|
|
3990
|
+
continue;
|
|
3949
3991
|
const actual = typeof c.value;
|
|
3950
3992
|
if (actual === expected)
|
|
3951
3993
|
continue;
|
package/dist/decompile.js
CHANGED
|
@@ -2629,6 +2629,11 @@ function parseSwitchCase(expr) {
|
|
|
2629
2629
|
* expression is `<discriminant> === <JSON-literal>`; the discriminant (shared by
|
|
2630
2630
|
* all cases) becomes `on`, and each RHS literal a case `value`. The case port is
|
|
2631
2631
|
* `case-<caseId>`; the optional default arm is the `default` port.
|
|
2632
|
+
*
|
|
2633
|
+
* A switch whose cases do NOT share that shape — the product's per-case form,
|
|
2634
|
+
* `amount > 100` / `amount <= 100`, first truthy case wins — decompiles to
|
|
2635
|
+
* `when:` cases with `on` left `undefined`, so each condition round-trips
|
|
2636
|
+
* as written (#1131).
|
|
2632
2637
|
*/
|
|
2633
2638
|
function emitSwitch(node, ipdom, scope, ctx, stop, refInto) {
|
|
2634
2639
|
const r = ipdom.get(node.id) ?? stop;
|
|
@@ -2636,70 +2641,55 @@ function emitSwitch(node, ipdom, scope, ctx, stop, refInto) {
|
|
|
2636
2641
|
let caseIndex = 0;
|
|
2637
2642
|
let disc;
|
|
2638
2643
|
let nonUniform = false; // a case whose expr isn't `<disc> === <literal>`, or a differing discriminant
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
if (parsed) {
|
|
2644
|
+
// First pass: is every case one shared `<disc> === <literal>`? If not, every
|
|
2645
|
+
// case is emitted as `when:` with its expression as written.
|
|
2646
|
+
const parsed = cases.map((c) => {
|
|
2647
|
+
const p = parseSwitchCase(String(c.expression ?? ''));
|
|
2648
|
+
if (p) {
|
|
2645
2649
|
if (disc === undefined)
|
|
2646
|
-
disc =
|
|
2647
|
-
else if (disc !==
|
|
2650
|
+
disc = p.lhs;
|
|
2651
|
+
else if (disc !== p.lhs)
|
|
2648
2652
|
nonUniform = true;
|
|
2649
|
-
valueLiteral = parsed.literal;
|
|
2650
|
-
value = parsed.value;
|
|
2651
2653
|
}
|
|
2652
2654
|
else {
|
|
2653
2655
|
nonUniform = true;
|
|
2654
|
-
// Keep the best-effort output the TODO comment points at.
|
|
2655
|
-
const m = String(c.expression ?? '').match(/^(.*?)\s*===?\s*(.*)$/);
|
|
2656
|
-
if (m && m[1].trim() && disc === undefined)
|
|
2657
|
-
disc = m[1].trim();
|
|
2658
|
-
if (m) {
|
|
2659
|
-
valueLiteral = m[2].trim();
|
|
2660
|
-
try {
|
|
2661
|
-
value = tsLiteral(JSON.parse(valueLiteral));
|
|
2662
|
-
}
|
|
2663
|
-
catch {
|
|
2664
|
-
const q = valueLiteral.match(/^'(.*)'$/);
|
|
2665
|
-
value = q ? tsLiteral(q[1]) : tsLiteral(valueLiteral);
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
2656
|
}
|
|
2657
|
+
return { c, p };
|
|
2658
|
+
});
|
|
2659
|
+
const caseSrcs = parsed.map(({ c, p }) => {
|
|
2669
2660
|
const armSegs = forkRegion(portEdges(ctx.graph, node.id, `case-${c.id}`), r, scope, ipdom, ctx, refInto);
|
|
2670
|
-
|
|
2661
|
+
caseIndex += 1;
|
|
2662
|
+
const defaultLabel = nonUniform || !p ? `Case ${caseIndex}` : `Case ${p.literal}`;
|
|
2671
2663
|
const labelPart = c.label && c.label !== defaultLabel ? `, label: ${tsLiteral(c.label)}` : '';
|
|
2672
2664
|
// The file's case id comes back when it is not the positional one serialize
|
|
2673
2665
|
// derives (a designer-drawn switch uses `default-1`, …), so the recompiled
|
|
2674
2666
|
// edges leave from the ORIGINAL node's handles, which merge keeps (#1130).
|
|
2675
|
-
caseIndex += 1;
|
|
2676
2667
|
const idPart = typeof c.id === 'string' && c.id !== '' && c.id !== `case_${caseIndex}` ? `, id: ${tsLiteral(c.id)}` : '';
|
|
2677
|
-
|
|
2668
|
+
const head = nonUniform || !p
|
|
2669
|
+
? `when: ${emitBareExpr(String(c.expression ?? ''), ctx.imp, ctx.inputNames)}`
|
|
2670
|
+
: `value: ${p.value}`;
|
|
2671
|
+
return `{ ${head}${labelPart}${idPart}, body: ${armCb('b', armSegs)} }`;
|
|
2672
|
+
});
|
|
2673
|
+
// A case with no condition has no `when:` that compiles: emitting `js\`\``
|
|
2674
|
+
// would fail at compile ([EXPR_SYNTAX]) with no warning here.
|
|
2675
|
+
const empty = cases.filter((c) => String(c.expression ?? '').trim() === '');
|
|
2676
|
+
if (empty.length > 0) {
|
|
2677
|
+
const listing = empty.map((c) => tsLiteral(c.label ?? c.id)).join(', ');
|
|
2678
|
+
const message = `switch ${tsLiteral(node.id)} has a case with no condition (${listing}). `
|
|
2679
|
+
+ '`.switch()` needs a condition on every case, so the decompiled `when:` is empty and recompiling fails. '
|
|
2680
|
+
+ 'Give the case a condition in the .flow, or edit this switch in the .flow JSON directly.';
|
|
2681
|
+
if (runStrict)
|
|
2682
|
+
throw new Error(`decompile: ${message}`);
|
|
2683
|
+
warnOnce(message);
|
|
2678
2684
|
}
|
|
2679
|
-
const on = emitBareExpr(disc ?? '', ctx.imp, ctx.inputNames);
|
|
2685
|
+
const on = nonUniform ? 'undefined' : emitBareExpr(disc ?? '', ctx.imp, ctx.inputNames);
|
|
2680
2686
|
const hasDefault = (node.inputs ?? {}).hasDefault === true || portEdge(ctx.graph, node.id, 'default') !== undefined;
|
|
2681
2687
|
const defArm = hasDefault
|
|
2682
2688
|
? `, ${armCb('d', forkRegion(portEdges(ctx.graph, node.id, 'default'), r, scope, ipdom, ctx, refInto))}`
|
|
2683
2689
|
: '';
|
|
2684
2690
|
const caseList = `[\n${caseSrcs.map((c) => reindent(c, ' ')).join(',\n')},\n]`;
|
|
2685
|
-
// The builder's `.switch(on, [{value}])` models `on === value` only. A flow whose
|
|
2686
|
-
// cases carry arbitrary per-case boolean expressions (or a non-uniform
|
|
2687
|
-
// discriminant) cannot round-trip through it — flag it rather than emit silently
|
|
2688
|
-
// wrong values.
|
|
2689
|
-
if (nonUniform) {
|
|
2690
|
-
const listing = cases.map((c) => `${tsLiteral(c.label ?? c.id)}: ${tsLiteral(String(c.expression ?? ''))}`).join(', ');
|
|
2691
|
-
const message = `switch ${tsLiteral(node.id)} has per-case conditions that are not one shared \`<discriminant> === <value>\` `
|
|
2692
|
-
+ `(${listing}). \`.switch()\` models only that form, so the decompiled \`on\`/\`value\` are placeholders: `
|
|
2693
|
-
+ 'recompiling either fails or changes which case runs. Edit this switch in the .flow JSON directly.';
|
|
2694
|
-
if (runStrict)
|
|
2695
|
-
throw new Error(`decompile: ${message}`);
|
|
2696
|
-
warnOnce(message);
|
|
2697
|
-
}
|
|
2698
|
-
const warn = nonUniform
|
|
2699
|
-
? `\n/* TODO: this switch's case expressions are not a uniform \`<discriminant> === <value>\`; the recovered on/value are best-effort and need review. */`
|
|
2700
|
-
: '';
|
|
2701
2691
|
const ver = verArg(node);
|
|
2702
|
-
return `.switch(${tsLiteral(node.id)}, ${on}, ${caseList}${defArm}${ver && !defArm ? ', undefined' : ''}${ver})
|
|
2692
|
+
return `.switch(${tsLiteral(node.id)}, ${on}, ${caseList}${defArm}${ver && !defArm ? ', undefined' : ''}${ver})`;
|
|
2703
2693
|
}
|
|
2704
2694
|
/**
|
|
2705
2695
|
* Recover `.stickyNotes([...])` from the scope's `stickyNote` nodes.
|
package/dist/flow-expr-check.js
CHANGED
|
@@ -147,7 +147,12 @@ function walk(steps, roots, out) {
|
|
|
147
147
|
walk(s.otherwise, roots, out);
|
|
148
148
|
break;
|
|
149
149
|
case 'switch': {
|
|
150
|
-
|
|
150
|
+
if (s.on)
|
|
151
|
+
pushExpr(s.on, s.name, roots, out);
|
|
152
|
+
// A `when` case's condition is read like a branch condition (#1131).
|
|
153
|
+
for (const c of s.cases)
|
|
154
|
+
if (c.when)
|
|
155
|
+
pushExpr(c.when, s.name, roots, out);
|
|
151
156
|
// Inside a case (or default) body the discriminant is bound to
|
|
152
157
|
// `$vars.value`, so it is a valid root only there.
|
|
153
158
|
const caseRoots = new Set(roots).add('value');
|
package/dist/flow-sdk.d.ts
CHANGED
|
@@ -338,9 +338,33 @@ export declare function conversationTrigger(): TriggerSpec;
|
|
|
338
338
|
export declare function voiceTrigger(): TriggerSpec;
|
|
339
339
|
/** A value a `.switch` case compares the discriminant against. */
|
|
340
340
|
export type CaseValue = string | number | boolean;
|
|
341
|
+
/**
|
|
342
|
+
* One case of `.switch(name, on, cases)`: either `{ value }`, taken when
|
|
343
|
+
* `on === value`, or `{ when }`, taken when its own condition is true (the
|
|
344
|
+
* product switch's per-case form, #1131). Cases are tried top to bottom and the
|
|
345
|
+
* first match wins.
|
|
346
|
+
*/
|
|
347
|
+
export type SwitchCase = ({
|
|
348
|
+
value: CaseValue;
|
|
349
|
+
when?: undefined;
|
|
350
|
+
} | {
|
|
351
|
+
when: Expr;
|
|
352
|
+
value?: undefined;
|
|
353
|
+
}) & {
|
|
354
|
+
body: (b: ArmBuilder) => void;
|
|
355
|
+
label?: string;
|
|
356
|
+
id?: string;
|
|
357
|
+
};
|
|
341
358
|
/** One arm of a built `.switch` (the serializer's view: body already collected). */
|
|
342
359
|
export interface SwitchArm {
|
|
343
|
-
value
|
|
360
|
+
/** The value `on` is compared against (`on === value`). Absent on a `when` case. */
|
|
361
|
+
value?: CaseValue;
|
|
362
|
+
/**
|
|
363
|
+
* The case's own boolean condition, instead of `on === value` — the product
|
|
364
|
+
* switch stores one condition per case and takes the first that is true
|
|
365
|
+
* (#1131). Exactly one of `value` / `when`.
|
|
366
|
+
*/
|
|
367
|
+
when?: Expr;
|
|
344
368
|
label?: string;
|
|
345
369
|
/**
|
|
346
370
|
* The case's wire id — `inputs.cases[].id`, and the `case-<id>` port its arm
|
|
@@ -500,7 +524,7 @@ export type Step = {
|
|
|
500
524
|
kind: 'switch';
|
|
501
525
|
name: string;
|
|
502
526
|
label?: string;
|
|
503
|
-
on
|
|
527
|
+
on?: Expr;
|
|
504
528
|
cases: SwitchArm[];
|
|
505
529
|
default?: Step[];
|
|
506
530
|
options?: NodeOptions;
|
|
@@ -984,23 +1008,30 @@ declare class StepList {
|
|
|
984
1008
|
* ], (other) => other.step('unknown', script({ code: 'return "Unknown";' })))
|
|
985
1009
|
* ```
|
|
986
1010
|
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* **Cases with their own conditions** (`on` is `undefined`)
|
|
1013
|
+
* ```ts
|
|
1014
|
+
* .switch('route', undefined, [
|
|
1015
|
+
* { when: js`$vars.start.output.amount > 100`, label: 'High', body: (b) => b.step('review', script({ code: 'return 1;' })) },
|
|
1016
|
+
* { when: js`$vars.start.output.amount <= 100`, label: 'Low', body: (b) => b.step('auto', script({ code: 'return 2;' })) },
|
|
1017
|
+
* ])
|
|
1018
|
+
* ```
|
|
1019
|
+
*
|
|
987
1020
|
* @param name - The switch node's id.
|
|
988
|
-
* @param on - The value to compare each case against
|
|
989
|
-
*
|
|
990
|
-
*
|
|
991
|
-
*
|
|
1021
|
+
* @param on - The value to compare each `value` case against; `undefined`
|
|
1022
|
+
* when every case carries its own `when` condition.
|
|
1023
|
+
* @param cases - One entry per arm, evaluated top to bottom; the first match
|
|
1024
|
+
* wins. A case is `{ value }` (strict `on === value`) or `{ when }` (its own
|
|
1025
|
+
* boolean expression). `label` names the arm's outgoing edge. `id` keeps a
|
|
1026
|
+
* case's wire id (`inputs.cases[].id`, port `case-<id>`); omitted, it is
|
|
1027
|
+
* `case_<n>`.
|
|
992
1028
|
* @param defaultFn - Receives a sub-builder for the arm taken when nothing
|
|
993
1029
|
* matches. Omit it and an unmatched value simply continues.
|
|
994
1030
|
* @param options - Node options; `version` selects the exact definition
|
|
995
1031
|
* version (see {@link NodeOptions}).
|
|
996
1032
|
* @returns This builder, after every arm has rejoined.
|
|
997
1033
|
*/
|
|
998
|
-
switch(name: string, on: Expr, cases:
|
|
999
|
-
value: CaseValue;
|
|
1000
|
-
body: (b: ArmBuilder) => void;
|
|
1001
|
-
label?: string;
|
|
1002
|
-
id?: string;
|
|
1003
|
-
}[], defaultFn?: (b: StepList) => void, options?: NodeOptions): this;
|
|
1034
|
+
switch(name: string, on: Expr | undefined, cases: SwitchCase[], defaultFn?: (b: StepList) => void, options?: NodeOptions): this;
|
|
1004
1035
|
/**
|
|
1005
1036
|
* Run two or more arms **in parallel** from this point and join them back
|
|
1006
1037
|
* together on a Merge node — the one place the builder stops being a straight
|
package/dist/flow-sdk.js
CHANGED
|
@@ -612,11 +612,23 @@ class StepList {
|
|
|
612
612
|
* ], (other) => other.step('unknown', script({ code: 'return "Unknown";' })))
|
|
613
613
|
* ```
|
|
614
614
|
*
|
|
615
|
+
* @example
|
|
616
|
+
* **Cases with their own conditions** (`on` is `undefined`)
|
|
617
|
+
* ```ts
|
|
618
|
+
* .switch('route', undefined, [
|
|
619
|
+
* { when: js`$vars.start.output.amount > 100`, label: 'High', body: (b) => b.step('review', script({ code: 'return 1;' })) },
|
|
620
|
+
* { when: js`$vars.start.output.amount <= 100`, label: 'Low', body: (b) => b.step('auto', script({ code: 'return 2;' })) },
|
|
621
|
+
* ])
|
|
622
|
+
* ```
|
|
623
|
+
*
|
|
615
624
|
* @param name - The switch node's id.
|
|
616
|
-
* @param on - The value to compare each case against
|
|
617
|
-
*
|
|
618
|
-
*
|
|
619
|
-
*
|
|
625
|
+
* @param on - The value to compare each `value` case against; `undefined`
|
|
626
|
+
* when every case carries its own `when` condition.
|
|
627
|
+
* @param cases - One entry per arm, evaluated top to bottom; the first match
|
|
628
|
+
* wins. A case is `{ value }` (strict `on === value`) or `{ when }` (its own
|
|
629
|
+
* boolean expression). `label` names the arm's outgoing edge. `id` keeps a
|
|
630
|
+
* case's wire id (`inputs.cases[].id`, port `case-<id>`); omitted, it is
|
|
631
|
+
* `case_<n>`.
|
|
620
632
|
* @param defaultFn - Receives a sub-builder for the arm taken when nothing
|
|
621
633
|
* matches. Omit it and an unmatched value simply continues.
|
|
622
634
|
* @param options - Node options; `version` selects the exact definition
|
|
@@ -634,7 +646,14 @@ class StepList {
|
|
|
634
646
|
// An arm's own `.label(...)` wins over the case config's `label`; either
|
|
635
647
|
// overrides the serializer's derived `Case "<value>"`.
|
|
636
648
|
const label = arm.armLabel ?? c.label;
|
|
637
|
-
return {
|
|
649
|
+
return {
|
|
650
|
+
// Both kept as given, so check can refuse a case with both or neither.
|
|
651
|
+
...(c.value !== undefined ? { value: c.value } : {}),
|
|
652
|
+
...(c.when !== undefined ? { when: toExpr(c.when) } : {}),
|
|
653
|
+
...(label !== undefined ? { label } : {}),
|
|
654
|
+
...(c.id !== undefined ? { id: c.id } : {}),
|
|
655
|
+
body: arm.steps,
|
|
656
|
+
};
|
|
638
657
|
});
|
|
639
658
|
let dflt;
|
|
640
659
|
if (defaultFn) {
|
|
@@ -649,7 +668,7 @@ class StepList {
|
|
|
649
668
|
this.steps.push({
|
|
650
669
|
kind: 'switch',
|
|
651
670
|
name,
|
|
652
|
-
on: toExpr(on),
|
|
671
|
+
...(on !== undefined ? { on: toExpr(on) } : {}),
|
|
653
672
|
cases: arms,
|
|
654
673
|
...(dflt !== undefined ? { default: dflt } : {}),
|
|
655
674
|
...(options ? { options } : {}),
|
package/dist/serialize.js
CHANGED
|
@@ -6171,8 +6171,12 @@ export function serialize(built, opts = {}) {
|
|
|
6171
6171
|
// must leave from ITS handles), else positional (#1130).
|
|
6172
6172
|
const cases = step.cases.map((c, i) => ({
|
|
6173
6173
|
id: c.id ?? `case_${i + 1}`,
|
|
6174
|
-
|
|
6175
|
-
|
|
6174
|
+
// A `when` case writes its own condition — the product's per-case form,
|
|
6175
|
+
// first truthy case wins (#1131). A `value` case compares with `on`.
|
|
6176
|
+
label: c.label ?? (c.when !== undefined ? `Case ${i + 1}` : `Case ${caseLiteral(c.value)}`),
|
|
6177
|
+
expression: c.when !== undefined
|
|
6178
|
+
? renameRefs(c.when.js, scope.rename)
|
|
6179
|
+
: `${renameRefs(step.on?.js ?? 'undefined', scope.rename)} === ${caseLiteral(c.value)}`,
|
|
6176
6180
|
}));
|
|
6177
6181
|
node.inputs = { cases, hasDefault: step.default !== undefined };
|
|
6178
6182
|
scope.nodes.push(node);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.27.0",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"@types/node": "^22.7.0",
|
|
93
93
|
"esbuild": "^0.28.1"
|
|
94
94
|
},
|
|
95
|
-
"gitref": "
|
|
95
|
+
"gitref": "69352e3f5c7c379e0e70b3c7b6fb2fba91255f84"
|
|
96
96
|
}
|