@uipath/maestro-builder-sdk 6.17.0 → 6.17.2
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/README.md +2 -2
- package/dist/api-index.md +12 -12
- package/dist/api-members.md +27 -27
- package/dist/check-cli.js +2 -30
- package/dist/check.js +139 -58
- package/dist/cli-library.d.ts +18 -4
- package/dist/cli-library.js +24 -6
- package/dist/compile-cli.js +4 -33
- package/dist/core/actions.d.ts +1 -1
- package/dist/core/cli-library.d.ts +16 -7
- package/dist/core/cli-library.js +53 -19
- package/dist/core/connector-checks.d.ts +18 -2
- package/dist/core/connector-checks.js +15 -5
- package/dist/core/error-port.d.ts +25 -0
- package/dist/core/error-port.js +36 -0
- package/dist/core/expr.d.ts +11 -5
- package/dist/core/expr.js +9 -3
- package/dist/core/library.d.ts +19 -0
- package/dist/core/library.js +22 -6
- package/dist/flow-sdk.d.ts +8 -3
- package/dist/flow-sdk.js +9 -4
- package/dist/serialize.js +72 -58
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ Work:
|
|
|
237
237
|
`uipath.ixp.*` (`ixpExtract`)
|
|
238
238
|
|
|
239
239
|
An error port (`.onError`, whose handler can rejoin the success path with
|
|
240
|
-
`h.
|
|
240
|
+
`h.stepToRef('step')`), per-arm labels, and switch arms with their own terminal
|
|
241
241
|
outputs are constructs rather than node types.
|
|
242
242
|
|
|
243
243
|
Anything that names a tenant resource — a release key, a published extraction
|
|
@@ -250,7 +250,7 @@ worked example per node type.
|
|
|
250
250
|
- **Control flow & lifecycle** are *fluent methods* on the builder:
|
|
251
251
|
`.name` · `.version` · `.input` · `.output` · `.var` · `.trigger` · `.step` ·
|
|
252
252
|
`.branch` · `.switch` · `.parallel` · `.loop` · `.onError` (whose handler can
|
|
253
|
-
end by rejoining the success path — `h.
|
|
253
|
+
end by rejoining the success path — `h.stepToRef('step')`) · `.terminate` ·
|
|
254
254
|
`.return` · `.build`. Inside a `.branch` / `.switch` arm, `.label('…')` names
|
|
255
255
|
that arm — the label round-trips to and from the `.flow`
|
|
256
256
|
(`trueLabel` / `falseLabel` on a decision, the case `label` on a switch).
|
package/dist/api-index.md
CHANGED
|
@@ -57,7 +57,7 @@ could hand you spans for a version you do not have.
|
|
|
57
57
|
| `apiWorkflow` | function | `dist/core/actions.d.ts:2886-2920` | 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:1049-1080` | Option shapes | 5 field(s) |
|
|
59
59
|
| `AppRef` | interface | `dist/core/actions.d.ts:506-551` | 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:1140-1163` | 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:354-364` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
|
|
62
62
|
| `batchTransform` | function | `dist/core/actions.d.ts:2689-2723` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
|
|
63
63
|
| `BatchTransformInputs` | interface | `dist/core/actions.d.ts:846-861` | Option shapes | 4 field(s) |
|
|
@@ -118,7 +118,7 @@ could hand you spans for a version you do not have.
|
|
|
118
118
|
| `endCall` | function | `dist/core/actions.d.ts:3014-3021` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
|
|
119
119
|
| `EndCallInputs` | interface | `dist/core/actions.d.ts:741-748` | 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` —… |
|
|
121
|
-
| `err` | function | `dist/core/expr.d.ts:153-
|
|
121
|
+
| `err` | function | `dist/core/expr.d.ts:153-246` | Expressions and types | Reference a FAILED step's error → `$vars.<step>.error[.<field>]`. |
|
|
122
122
|
| `ErrorEnvelopeField` | type | `dist/core/expr.d.ts:142-152` | Supporting types | The fields a failure envelope carries. |
|
|
123
123
|
| `EscalationRef` | interface | `dist/core/actions.d.ts:1979-2045` | Supporting types | One escalation an inline agent may raise — an Action Center app task a human completes (the `coded-action-app` variant,… |
|
|
124
124
|
| `EventFilter` | type | `dist/core/actions.d.ts:3436-3477` | Supporting types | One filter condition on the event payload. |
|
|
@@ -128,10 +128,10 @@ could hand you spans for a version you do not have.
|
|
|
128
128
|
| `FilterCondition` | type | `dist/core/actions.d.ts:233-234` | Supporting types | Comparison a filter rule applies to a field. |
|
|
129
129
|
| `FilterMatch` | type | `dist/core/actions.d.ts:231-232` | Supporting types | How a filter combines its rules: every rule must match, or any one. |
|
|
130
130
|
| `FilterRule` | interface | `dist/core/actions.d.ts:235-247` | Supporting types | 3 field(s) |
|
|
131
|
-
| `flow` | function | `dist/flow-sdk.d.ts:
|
|
131
|
+
| `flow` | function | `dist/flow-sdk.d.ts:1434-1449` | Flow construction | Start building a flow with the given id. |
|
|
132
132
|
| `FlowAction` | class | `dist/core/node-classes.d.ts:158-164` | Supporting types | A node placed as a step — pass an instance to `.step(name, …)`. |
|
|
133
133
|
| `FlowActionSpec` | type | `dist/flow-sdk.d.ts:41-42` | Supporting types | What `.step()` accepts here: the shared actions plus this SDK's subflow. |
|
|
134
|
-
| `FlowBuilder` | class | `dist/flow-sdk.d.ts:
|
|
134
|
+
| `FlowBuilder` | class | `dist/flow-sdk.d.ts:1164-1433` | Builders | 13 member(s) |
|
|
135
135
|
| `FlowLayout` | interface | `dist/flow-sdk.d.ts:649-662` | Supporting types | Designer layout for a flow, keyed by AUTHOR-level ids: node entries by step name (plus the trigger id and `end`), edge… |
|
|
136
136
|
| `FlowNode` | class | `dist/core/node-classes.d.ts:122-157` | Supporting types | The abstract root of every definition-backed node the builder can place. |
|
|
137
137
|
| `FlowResource` | class | `dist/core/node-classes.d.ts:172-179` | Supporting types | A node attached to another semantic node — an inline agent's tool, context, memory, or escalation. |
|
|
@@ -166,7 +166,7 @@ could hand you spans for a version you do not have.
|
|
|
166
166
|
| `ixpExtract` | function | `dist/core/actions.d.ts:2724-2778` | Actions | Extract fields from a document with a published IxP project — the platform's **Extract** node (`uipath.ixp.*`, service… |
|
|
167
167
|
| `IxpExtractInputs` | interface | `dist/core/actions.d.ts:879-953` | Option shapes | 9 field(s) |
|
|
168
168
|
| `IxpToolRef` | interface | `dist/core/actions.d.ts:1940-1978` | Supporting types | A published IxP (Intelligent eXtraction Platform) project as a tool — the agent decides when to extract a document and… |
|
|
169
|
-
| `js` | function | `dist/core/expr.d.ts:
|
|
169
|
+
| `js` | function | `dist/core/expr.d.ts:247-282` | Expressions and types | Build a raw JS *expression* (a condition or computation). |
|
|
170
170
|
| `lit` | function | `dist/core/expr.d.ts:22-28` | Expressions and types | A constant value baked directly into a node input. |
|
|
171
171
|
| `lookup` | function | `dist/core/lookups.d.ts:95-102` | Generated descriptors | Begin resolving a lookup field on a generated descriptor. |
|
|
172
172
|
| `lookup` | function | `dist/core/lookups.d.ts:103-122` | Generated descriptors | Begin resolving a lookup field addressed by connector key and action. |
|
|
@@ -224,16 +224,16 @@ could hand you spans for a version you do not have.
|
|
|
224
224
|
| `SendMessageInputs` | interface | `dist/core/actions.d.ts:624-643` | Option shapes | 4 field(s) |
|
|
225
225
|
| `ShownField` | interface | `dist/core/actions.d.ts:338-353` | Supporting types | A value the reviewer READS: shown on the form, filled in from the flow. |
|
|
226
226
|
| `Step` | type | `dist/flow-sdk.d.ts:460-571` | Supporting types | |
|
|
227
|
-
| `StepList` | class | `dist/flow-sdk.d.ts:712-
|
|
227
|
+
| `StepList` | class | `dist/flow-sdk.d.ts:712-1139` | Builders | Collects a sequence of steps. |
|
|
228
228
|
| `STICKY_NOTE_COLORS` | const | `dist/flow-sdk.d.ts:602-607` | Flow construction | The designer's sticky-note palette. |
|
|
229
229
|
| `StickyNote` | interface | `dist/flow-sdk.d.ts:614-648` | Supporting types | A canvas sticky note — free text pinned to the diagram, for the humans reading it. |
|
|
230
230
|
| `StickyNoteColor` | type | `dist/flow-sdk.d.ts:608-613` | Supporting types | A sticky note's swatch. |
|
|
231
|
-
| `subflow` | function | `dist/flow-sdk.d.ts:
|
|
231
|
+
| `subflow` | function | `dist/flow-sdk.d.ts:1450-1489` | Flow construction | Run another flow as one step, and read back what it returns. |
|
|
232
232
|
| `SubflowSpec` | interface | `dist/flow-sdk.d.ts:33-40` | Supporting types | A step that runs a child flow. |
|
|
233
233
|
| `summarize` | function | `dist/core/actions.d.ts:2648-2688` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
|
|
234
234
|
| `SummarizeInputs` | interface | `dist/core/actions.d.ts:806-838` | Option shapes | 3 field(s) |
|
|
235
235
|
| `SwitchArm` | interface | `dist/flow-sdk.d.ts:329-334` | Supporting types | One arm of a built `.switch` (the serializer's view: body already collected). |
|
|
236
|
-
| `tmpl` | function | `dist/core/expr.d.ts:
|
|
236
|
+
| `tmpl` | function | `dist/core/expr.d.ts:283-293` | Expressions and types | Build a JS *string template* (for URLs, messages, etc.). |
|
|
237
237
|
| `ToolRef` | type | `dist/core/actions.d.ts:1706-1715` | Supporting types | One tool on an inline agent — a discriminated union over the kinds the tenant's registry actually serves… |
|
|
238
238
|
| `transform` | function | `dist/core/actions.d.ts:2550-2595` | Actions | Declare a Transform action — a chain of declarative operations over a collection. |
|
|
239
239
|
| `Transformation` | type | `dist/core/actions.d.ts:248-249` | Supporting types | What a map does to a field's value. |
|
|
@@ -245,8 +245,8 @@ could hand you spans for a version you do not have.
|
|
|
245
245
|
| `TriggerMeta` | interface | `dist/core/connectors.d.ts:120-129` | Generated descriptors | Runtime metadata a generated trigger descriptor carries. |
|
|
246
246
|
| `TriggerOptions` | interface | `dist/core/actions.d.ts:3478-3525` | Option shapes | The typed `onEvent`/`waitForEvent` options — everything an EventSubscription carries except `connector`/`event`, which… |
|
|
247
247
|
| `TriggerSpec` | type | `dist/flow-sdk.d.ts:150-168` | Supporting types | What starts the flow. |
|
|
248
|
-
| `TypeDesc` | type | `dist/core/expr.d.ts:
|
|
249
|
-
| `types` | const | `dist/core/expr.d.ts:
|
|
248
|
+
| `TypeDesc` | type | `dist/core/expr.d.ts:385` | Supporting types | |
|
|
249
|
+
| `types` | const | `dist/core/expr.d.ts:369-384` | Expressions and types | Variable type descriptors (map to Flow variable `type` values). |
|
|
250
250
|
| `unresolvedLookupMessage` | function | `dist/core/lookups.d.ts:180-189` | Generated descriptors | The message for a lookup nothing has resolved — the command that fixes it. |
|
|
251
251
|
| `v` | function | `dist/core/expr.d.ts:29-41` | Expressions and types | Reference a flow variable or output by name → `$vars.<name>`. |
|
|
252
252
|
| `VarDecl` | interface | `dist/flow-sdk.d.ts:47-59` | Supporting types | 7 field(s) |
|
|
@@ -338,7 +338,7 @@ could hand you spans for a version you do not have.
|
|
|
338
338
|
| `TriggerDescriptor` | type | `dist/core/connectors.d.ts:130-138` | Supporting types | A generated, typed connector-trigger descriptor: TriggerMeta branded with phantom `where`/output types. |
|
|
339
339
|
| `TriggerMeta` | interface | `dist/core/connectors.d.ts:120-129` | Supporting types | Runtime metadata a generated trigger descriptor carries. |
|
|
340
340
|
| `TriggerOptions` | interface | `dist/core/actions.d.ts:3478-3525` | Option shapes | The typed `onEvent`/`waitForEvent` options — everything an EventSubscription carries except `connector`/`event`, which… |
|
|
341
|
-
| `TypeDesc` | type | `dist/core/expr.d.ts:
|
|
341
|
+
| `TypeDesc` | type | `dist/core/expr.d.ts:385` | Supporting types | |
|
|
342
342
|
| `UnresolvedReferenceTaskKind` | type | `dist/case/case-sdk.d.ts:358-359` | Supporting types | Published-resource task kinds that the Case schema permits as unresolved skeletons. |
|
|
343
343
|
| `WaitConnectorPlaceholderSpec` | interface | `dist/case/case-sdk.d.ts:360-370` | Supporting types | A `wait-for-connector` subscription: suspend on an Integration Service event. |
|
|
344
344
|
| `WaitConnectorSpec` | type | `dist/case/case-sdk.d.ts:371-375` | Supporting types | A placeholder connector/operation pair, or a library-resolved event subscription using the same symbolic shape as Flow… |
|
|
@@ -437,7 +437,7 @@ could hand you spans for a version you do not have.
|
|
|
437
437
|
| `TimerLike` | type | `dist/bpmn/bpmn-sdk.d.ts:40-41` | Supporting types | A timer as an ISO-8601 duration string (shorthand for `{ duration }`) or a full spec. |
|
|
438
438
|
| `TimerSpec` | interface | `dist/bpmn/bpmn-sdk.d.ts:31-39` | Supporting types | ISO-8601 timer specification (one of duration / date / cycle). |
|
|
439
439
|
| `TypedContextRow` | interface | `dist/bpmn/typed-node.d.ts:155-186` | Supporting types | One `uipath:context` input row, spelled out. |
|
|
440
|
-
| `TypeDesc` | type | `dist/core/expr.d.ts:
|
|
440
|
+
| `TypeDesc` | type | `dist/core/expr.d.ts:385` | Supporting types | |
|
|
441
441
|
| `TypedInputRow` | interface | `dist/bpmn/typed-node.d.ts:187-209` | Supporting types | One `uipath:input` payload row spelled out — the `separateInputs` counterpart of TypedContextRow. |
|
|
442
442
|
| `TypedOutputRow` | interface | `dist/bpmn/typed-node.d.ts:246-285` | Supporting types | 9 field(s) |
|
|
443
443
|
| `VarDirection` | type | `dist/bpmn/bpmn-sdk.d.ts:361-365` | Supporting types | How a variable is exposed: `'input'` (read-only entry input), `'output'` (a return value), or `'inputOutput'` (a mutable… |
|
package/dist/api-members.md
CHANGED
|
@@ -63,7 +63,7 @@ not find it either.
|
|
|
63
63
|
| `app` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1337-1338` |
|
|
64
64
|
| `appSystemName` | property | `AppRef` | `dist/core/actions.d.ts:536-541` |
|
|
65
65
|
| `appVersion` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1339-1340` |
|
|
66
|
-
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
66
|
+
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1152` |
|
|
67
67
|
| `assignee` | property | `HitlRecipient` | `dist/core/actions.d.ts:426-437` |
|
|
68
68
|
| `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1281-1285` |
|
|
69
69
|
| `atRiskPercentage` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:132-137` |
|
|
@@ -93,14 +93,14 @@ not find it either.
|
|
|
93
93
|
| `body` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:176-181` |
|
|
94
94
|
| `body` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:207-208` |
|
|
95
95
|
| `boundaryEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2239-2246` |
|
|
96
|
-
| `branch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
96
|
+
| `branch` | method | `StepList` | `dist/flow-sdk.d.ts:913-931` |
|
|
97
97
|
| `branches` | property | `HttpInputsBase` | `dist/core/actions.d.ts:31-36` |
|
|
98
|
-
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
98
|
+
| `break` | method | `StepList` | `dist/flow-sdk.d.ts:1039-1048` |
|
|
99
99
|
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:457-458` |
|
|
100
100
|
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:444-448` |
|
|
101
101
|
| `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3483-3488` |
|
|
102
102
|
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1269-1274` |
|
|
103
|
-
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
103
|
+
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1426-1432` |
|
|
104
104
|
| `businessRule` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2527-2573` |
|
|
105
105
|
| `by` | property | `LookupResolution` | `dist/core/lookups.d.ts:164` |
|
|
106
106
|
| `by` | property | `LookupSpec` | `dist/core/lookups.d.ts:27-28` |
|
|
@@ -209,7 +209,7 @@ not find it either.
|
|
|
209
209
|
| `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:1393` |
|
|
210
210
|
| `description` | property | `EscalationRef` | `dist/core/actions.d.ts:1987-1988` |
|
|
211
211
|
| `description` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:241` |
|
|
212
|
-
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
212
|
+
| `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1188-1195` |
|
|
213
213
|
| `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:1792` |
|
|
214
214
|
| `description` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:945-952` |
|
|
215
215
|
| `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:1965-1966` |
|
|
@@ -250,7 +250,7 @@ not find it either.
|
|
|
250
250
|
| `displayName` | property | `TriggerMeta` | `dist/core/connectors.d.ts:127-128` |
|
|
251
251
|
| `document` | property | `HitlInputs` | `dist/core/actions.d.ts:618-622` |
|
|
252
252
|
| `documentId` | property | `DocValidationInputs` | `dist/core/actions.d.ts:458-459` |
|
|
253
|
-
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
253
|
+
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1014-1038` |
|
|
254
254
|
| `dueDate` | property | `QueueItemInputs` | `dist/core/actions.d.ts:2122-2123` |
|
|
255
255
|
| `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:33-34` |
|
|
256
256
|
| `dynamicFewShotLearning` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1828-1829` |
|
|
@@ -272,7 +272,7 @@ not find it either.
|
|
|
272
272
|
| `entity` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1090-1091` |
|
|
273
273
|
| `entry` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:528` |
|
|
274
274
|
| `entry` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:520` |
|
|
275
|
-
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
275
|
+
| `entryPoint` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1252-1302` |
|
|
276
276
|
| `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:534-539` |
|
|
277
277
|
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:702-703` |
|
|
278
278
|
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1004-1011` |
|
|
@@ -438,7 +438,7 @@ not find it either.
|
|
|
438
438
|
| `inclusive` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1820-1824` |
|
|
439
439
|
| `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2266-2273` |
|
|
440
440
|
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1160-1185` |
|
|
441
|
-
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
441
|
+
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1377-1389` |
|
|
442
442
|
| `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1355-1356` |
|
|
443
443
|
| `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1241-1242` |
|
|
444
444
|
| `input` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3068-3076` |
|
|
@@ -510,7 +510,7 @@ not find it either.
|
|
|
510
510
|
| `kind` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:35` |
|
|
511
511
|
| `kind` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:99-100` |
|
|
512
512
|
| `kValue` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:1832-1833` |
|
|
513
|
-
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:
|
|
513
|
+
| `label` | method | `ArmBuilder` | `dist/flow-sdk.d.ts:1153-1162` |
|
|
514
514
|
| `label` | property | `AskedField` | `dist/core/actions.d.ts:358-359` |
|
|
515
515
|
| `label` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:523` |
|
|
516
516
|
| `label` | property | `InOutField` | `dist/core/actions.d.ts:374-375` |
|
|
@@ -524,7 +524,7 @@ not find it either.
|
|
|
524
524
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:646-647` |
|
|
525
525
|
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:698-699` |
|
|
526
526
|
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1139-1159` |
|
|
527
|
-
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
527
|
+
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1196-1206` |
|
|
528
528
|
| `limit` | property | `DataFabricReadInputs` | `dist/core/actions.d.ts:2243-2248` |
|
|
529
529
|
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:455-456` |
|
|
530
530
|
| `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
|
|
@@ -534,7 +534,7 @@ not find it either.
|
|
|
534
534
|
| `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
|
|
535
535
|
| `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:335-336` |
|
|
536
536
|
| `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:832-833` |
|
|
537
|
-
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
537
|
+
| `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1002-1013` |
|
|
538
538
|
| `managed` | property | `HttpInputsBase` | `dist/core/actions.d.ts:43-73` |
|
|
539
539
|
| `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:354` |
|
|
540
540
|
| `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:321` |
|
|
@@ -622,7 +622,7 @@ not find it either.
|
|
|
622
622
|
| `name` | property | `EventSubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:1840-1841` |
|
|
623
623
|
| `name` | property | `EventTriggerOpts` | `dist/case/case-sdk.d.ts:240` |
|
|
624
624
|
| `name` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1499-1500` |
|
|
625
|
-
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
625
|
+
| `name` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1180-1187` |
|
|
626
626
|
| `name` | property | `FlowOpts` | `dist/bpmn/bpmn-sdk.d.ts:1637-1638` |
|
|
627
627
|
| `name` | property | `GatewayOpts` | `dist/bpmn/bpmn-sdk.d.ts:760-761` |
|
|
628
628
|
| `name` | property | `HandlerOpts` | `dist/bpmn/bpmn-sdk.d.ts:1735-1736` |
|
|
@@ -684,7 +684,7 @@ not find it either.
|
|
|
684
684
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3259-3266` |
|
|
685
685
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3267-3274` |
|
|
686
686
|
| `onError` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3275-3283` |
|
|
687
|
-
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:800-
|
|
687
|
+
| `onError` | method | `StepList` | `dist/flow-sdk.d.ts:800-862` |
|
|
688
688
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3302-3310` |
|
|
689
689
|
| `onMessage` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3311-3319` |
|
|
690
690
|
| `onTimer` | method | `ActivityBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3284-3292` |
|
|
@@ -702,7 +702,7 @@ not find it either.
|
|
|
702
702
|
| `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:2033-2038` |
|
|
703
703
|
| `outcomes` | property | `HitlInputs` | `dist/core/actions.d.ts:577-591` |
|
|
704
704
|
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1186-1198` |
|
|
705
|
-
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
705
|
+
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1390-1415` |
|
|
706
706
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:90` |
|
|
707
707
|
| `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3077-3085` |
|
|
708
708
|
| `outputColumns` | property | `BatchTransformInputs` | `dist/core/actions.d.ts:854-858` |
|
|
@@ -738,7 +738,7 @@ not find it either.
|
|
|
738
738
|
| `pageRange` | property | `DynamicExtractInputs` | `dist/core/actions.d.ts:2407-2408` |
|
|
739
739
|
| `pageRange` | property | `IxpExtractInputs` | `dist/core/actions.d.ts:934-935` |
|
|
740
740
|
| `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:437-438` |
|
|
741
|
-
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
741
|
+
| `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:966-1001` |
|
|
742
742
|
| `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2256-2265` |
|
|
743
743
|
| `parameters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1479-1480` |
|
|
744
744
|
| `parameters` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1140-1145` |
|
|
@@ -835,7 +835,7 @@ not find it either.
|
|
|
835
835
|
| `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:830-831` |
|
|
836
836
|
| `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:308-309` |
|
|
837
837
|
| `retryCount` | property | `HttpInputsBase` | `dist/core/actions.d.ts:115-129` |
|
|
838
|
-
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
838
|
+
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:1129-1138` |
|
|
839
839
|
| `returnCitations` | property | `SummarizeInputs` | `dist/core/actions.d.ts:832-837` |
|
|
840
840
|
| `returns` | property | `AgentInputs` | `dist/core/actions.d.ts:1279-1298` |
|
|
841
841
|
| `returns` | property | `ApiWorkflowInputs` | `dist/core/actions.d.ts:1067-1079` |
|
|
@@ -875,7 +875,7 @@ not find it either.
|
|
|
875
875
|
| `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3375-3404` |
|
|
876
876
|
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:682-688` |
|
|
877
877
|
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1068-1094` |
|
|
878
|
-
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
878
|
+
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1337-1376` |
|
|
879
879
|
| `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:121` |
|
|
880
880
|
| `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:1339` |
|
|
881
881
|
| `script` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:846-862` |
|
|
@@ -950,11 +950,11 @@ not find it either.
|
|
|
950
950
|
| `steps` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:692` |
|
|
951
951
|
| `steps` | property | `StepList` | `dist/flow-sdk.d.ts:714` |
|
|
952
952
|
| `stepSwitch` | method | `StepList` | `dist/flow-sdk.d.ts:757-799` |
|
|
953
|
-
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
954
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
955
|
-
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
953
|
+
| `stepToList` | method | `StepList` | `dist/flow-sdk.d.ts:876-904` |
|
|
954
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1080-1108` |
|
|
955
|
+
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1109-1128` |
|
|
956
956
|
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:700-701` |
|
|
957
|
-
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
957
|
+
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1207-1232` |
|
|
958
958
|
| `storageBucket` | property | `DocValidationInputs` | `dist/core/actions.d.ts:456-457` |
|
|
959
959
|
| `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
|
|
960
960
|
| `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:597-598` |
|
|
@@ -966,7 +966,7 @@ not find it either.
|
|
|
966
966
|
| `subType` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1709-1714` |
|
|
967
967
|
| `subType` | property | `VarSpec` | `dist/flow-sdk.d.ts:72-73` |
|
|
968
968
|
| `summary` | property | `CaseAppConfig` | `dist/case/case-sdk.d.ts:585-586` |
|
|
969
|
-
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
969
|
+
| `switch` | method | `StepList` | `dist/flow-sdk.d.ts:932-965` |
|
|
970
970
|
| `systemPrompt` | property | `ConversationalAgentInputs` | `dist/core/actions.d.ts:686-691` |
|
|
971
971
|
| `systemPrompt` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1452-1501` |
|
|
972
972
|
| `systemPrompt` | property | `VoiceAgentInputs` | `dist/core/actions.d.ts:773-778` |
|
|
@@ -991,7 +991,7 @@ not find it either.
|
|
|
991
991
|
| `temperature` | property | `InlineAgentInputs` | `dist/core/actions.d.ts:1562-1563` |
|
|
992
992
|
| `temperature` | property | `VoiceSettings` | `dist/core/actions.d.ts:765-766` |
|
|
993
993
|
| `terminate` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:692-693` |
|
|
994
|
-
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:
|
|
994
|
+
| `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1049-1079` |
|
|
995
995
|
| `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:2076-2077` |
|
|
996
996
|
| `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:201-202` |
|
|
997
997
|
| `timeout` | property | `HttpInputsBase` | `dist/core/actions.d.ts:97-114` |
|
|
@@ -1014,11 +1014,11 @@ not find it either.
|
|
|
1014
1014
|
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:693-695` |
|
|
1015
1015
|
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1224-1232` |
|
|
1016
1016
|
| `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:128-129` |
|
|
1017
|
-
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1017
|
+
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1233-1251` |
|
|
1018
1018
|
| `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:624-671` |
|
|
1019
1019
|
| `triggeredByEvent` | property | `SubProcessOpts` | `dist/bpmn/bpmn-sdk.d.ts:976-977` |
|
|
1020
1020
|
| `triggerId` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:704-710` |
|
|
1021
|
-
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1021
|
+
| `triggerId` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1303-1322` |
|
|
1022
1022
|
| `triggerOptions` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:696-697` |
|
|
1023
1023
|
| `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:644-645` |
|
|
1024
1024
|
| `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:620-621` |
|
|
@@ -1074,7 +1074,7 @@ not find it either.
|
|
|
1074
1074
|
| `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:205-206` |
|
|
1075
1075
|
| `values` | property | `DataFabricCreateInputs` | `dist/core/actions.d.ts:2280-2285` |
|
|
1076
1076
|
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1199-1223` |
|
|
1077
|
-
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1077
|
+
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1416-1425` |
|
|
1078
1078
|
| `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3059-3067` |
|
|
1079
1079
|
| `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:494-495` |
|
|
1080
1080
|
| `var` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:251-252` |
|
|
@@ -1097,7 +1097,7 @@ not find it either.
|
|
|
1097
1097
|
| `version` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:1870-1871` |
|
|
1098
1098
|
| `version` | property | `EventSubscription` | `dist/core/actions.d.ts:3566` |
|
|
1099
1099
|
| `version` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1507-1508` |
|
|
1100
|
-
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:
|
|
1100
|
+
| `version` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1323-1336` |
|
|
1101
1101
|
| `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:354-361` |
|
|
1102
1102
|
| `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:126` |
|
|
1103
1103
|
| `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:3523-3524` |
|
package/dist/check-cli.js
CHANGED
|
@@ -9,9 +9,8 @@ import { reportDiagnostics } from './cli-result.js';
|
|
|
9
9
|
import { defaultBindingsFile } from './workdir.js';
|
|
10
10
|
import { resolveFlowFile, loadBuiltFlow } from './load.js';
|
|
11
11
|
import { check } from './check.js';
|
|
12
|
-
import {
|
|
12
|
+
import { flowCheckOpts, openCliLibrary } from './cli-library.js';
|
|
13
13
|
import { Bindings } from './bindings.js';
|
|
14
|
-
import { connectorInputErrors } from './serialize.js';
|
|
15
14
|
import { runWhenInvokedDirectly } from './cli-run.js';
|
|
16
15
|
import { ensureTypeScriptRuntime } from './node-runtime.js';
|
|
17
16
|
/** Flags that take a value, so the value is never read as the source argument. */
|
|
@@ -36,34 +35,7 @@ function checkOpts(argv) {
|
|
|
36
35
|
// The overlay matters here as much as it does for compile: `resolutions.json`
|
|
37
36
|
// lives in it, and without it every already-resolved lookup would be reported
|
|
38
37
|
// as still owed — telling the author to re-run a `prepare` they already ran.
|
|
39
|
-
|
|
40
|
-
// The connector and event hooks are the shared bag every family fills
|
|
41
|
-
// (`core/cli-library.ts`); what Flow adds is the one hook only it has a site for.
|
|
42
|
-
const shared = connectorCheckOpts(library, bindings);
|
|
43
|
-
if (!library)
|
|
44
|
-
return shared;
|
|
45
|
-
return {
|
|
46
|
-
...shared,
|
|
47
|
-
listEnvelope: (connector, operation, version, object) => {
|
|
48
|
-
try {
|
|
49
|
-
return library.resolve(connector, operation, version, object).listEnvelope;
|
|
50
|
-
}
|
|
51
|
-
catch {
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
// The field contract compile enforces, from the same validator: an operation
|
|
56
|
-
// the library cannot resolve is compile's business (it names the entry).
|
|
57
|
-
connectorInputs: (spec, inputs) => {
|
|
58
|
-
try {
|
|
59
|
-
const rc = library.resolve(spec.key, spec.action, spec.version, spec.object);
|
|
60
|
-
return connectorInputErrors(rc, inputs, library.lookupResolutions ?? {}, library.lookupSpecs(spec.key, spec.action, spec.version, spec.object) ?? {});
|
|
61
|
-
}
|
|
62
|
-
catch {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
};
|
|
38
|
+
return flowCheckOpts(openCliLibrary(argv), bindings);
|
|
67
39
|
}
|
|
68
40
|
export async function run(argv) {
|
|
69
41
|
const arg = argv.find((a, i) => !a.startsWith('--') && !VALUE_FLAGS.has(argv[i - 1])) ?? argv[0];
|