@uipath/maestro-builder-sdk 6.70.9 → 6.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-index.md +8 -8
- package/dist/api-members.md +37 -35
- package/dist/check.js +11 -11
- package/dist/core/event-subscription.d.ts +113 -0
- package/dist/core/event-subscription.js +356 -0
- package/dist/core/nodes/registry.d.ts +3 -1
- package/dist/core/nodes/registry.js +22 -3
- package/dist/core/refusals.d.ts +3 -0
- package/dist/core/refusals.js +3 -0
- package/dist/decompile.js +0 -7
- package/dist/flow-node-type.d.ts +25 -0
- package/dist/nodes/connector/flow/event-wait.d.ts +33 -0
- package/dist/nodes/connector/flow/event-wait.js +162 -0
- package/dist/nodes/connector/flow/family.d.ts +1 -1
- package/dist/nodes/connector/flow/family.js +3 -2
- package/dist/nodes/process/flow/check.js +16 -2
- package/dist/nodes/process/flow/node-type.js +19 -10
- package/dist/nodes/process/flow/refusals.js +1 -1
- package/dist/nodes/process/flow/spec.d.ts +28 -2
- package/dist/serialize.js +20 -391
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -47,20 +47,20 @@ could hand you spans for a version you do not have.
|
|
|
47
47
|
| `ActionSchemaSection` | interface | `dist/nodes/hitl/flow/spec.d.ts:274-280` | Supporting types | One section (`inputs`, `outputs`, `inOuts`, `outcomes`) of an `action-schema.json`. |
|
|
48
48
|
| `ActionSpec` | type | `dist/core/actions.d.ts:847-855` | Supporting types | One action step's spec: `{ kind }` plus that kind's body from FlowActionSpecs, for every kind there. |
|
|
49
49
|
| `agent` | function | `dist/nodes/process/flow/factories.d.ts:159-213` | Actions | Invoke an AGENT resource — either one published to Orchestrator or a sibling agent project registered in the same… |
|
|
50
|
-
| `AgentFlavour` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
50
|
+
| `AgentFlavour` | type | `dist/nodes/process/flow/spec.d.ts:286-290` | Supporting types | Which KIND of agent project was published behind a `uipath.core.agent.<key>` resource. |
|
|
51
51
|
| `AgentGuardrail` | type | `dist/core/actions.d.ts:393` | Supporting types | |
|
|
52
52
|
| `agenticProcess` | function | `dist/nodes/process/flow/factories.d.ts:113-158` | Actions | Invoke a deployed AGENTIC PROCESS — a Maestro process orchestration published to Orchestrator: a BPMN process that… |
|
|
53
|
-
| `AgenticProcessCompletion` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
54
|
-
| `AgenticProcessInputs` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
55
|
-
| `AgenticProcessInputsBase` | interface | `dist/nodes/process/flow/spec.d.ts:
|
|
56
|
-
| `AgentInputs` | interface | `dist/nodes/process/flow/spec.d.ts:
|
|
57
|
-
| `AgentLocation` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
53
|
+
| `AgenticProcessCompletion` | type | `dist/nodes/process/flow/spec.d.ts:245-283` | Supporting types | Whether an Agentic Process step waits for the process's result. |
|
|
54
|
+
| `AgenticProcessInputs` | type | `dist/nodes/process/flow/spec.d.ts:284-285` | Option shapes | What `agenticProcess()` takes: the shared fields plus the completion policy. |
|
|
55
|
+
| `AgenticProcessInputsBase` | interface | `dist/nodes/process/flow/spec.d.ts:188-244` | Option shapes | 7 field(s) |
|
|
56
|
+
| `AgentInputs` | interface | `dist/nodes/process/flow/spec.d.ts:293-388` | Option shapes | What `agent()` takes: the agent resource to start, its arguments, and the output fields a read may name. |
|
|
57
|
+
| `AgentLocation` | type | `dist/nodes/process/flow/spec.d.ts:291-292` | Supporting types | Where a published agent lives: deployed to a folder (`'published'`) or a sibling project of the same solution… |
|
|
58
58
|
| `AgentMemoryRef` | interface | `dist/core/actions.d.ts:538-562` | Supporting types | An episodic memory the agent learns from across runs, wired to the agent's own `memory` handle. |
|
|
59
59
|
| `AgentResourcePlacement` | interface | `dist/core/actions.d.ts:406-441` | Supporting types | Where one of an inline agent's resources (a context index, a tool, an escalation) sits in the `.flow`: the id of its own… |
|
|
60
60
|
| `Aggregation` | interface | `dist/nodes/transform/flow/spec.d.ts:36-42` | Supporting types | 3 field(s) |
|
|
61
61
|
| `AggregationOperation` | type | `dist/nodes/transform/flow/spec.d.ts:35` | Supporting types | |
|
|
62
62
|
| `apiWorkflow` | function | `dist/nodes/process/flow/factories.d.ts:53-87` | Actions | Invoke a deployed API workflow — a coded workflow published to Orchestrator, run as a serverless job rather than by a… |
|
|
63
|
-
| `ApiWorkflowInputs` | interface | `dist/nodes/process/flow/spec.d.ts:70-
|
|
63
|
+
| `ApiWorkflowInputs` | interface | `dist/nodes/process/flow/spec.d.ts:70-127` | Option shapes | 7 field(s) |
|
|
64
64
|
| `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:146-254` | Supporting types | A deployed Action App that supplies a human task's form — the `'action-app'` variant's subject. |
|
|
65
65
|
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:1387-1410` | Builders | The sub-builder an ARM callback receives — a `StepList` that can also name itself with `.label(...)`. |
|
|
66
66
|
| `AskedField` | interface | `dist/core/actions.d.ts:221-240` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
|
|
@@ -216,7 +216,7 @@ could hand you spans for a version you do not have.
|
|
|
216
216
|
| `ProcessToolKind` | type | `dist/core/actions.d.ts:622-635` | Supporting types | The tool kinds that wrap a DEPLOYED tenant resource. |
|
|
217
217
|
| `ProcessToolRef` | interface | `dist/core/actions.d.ts:636-665` | Supporting types | A deployed tenant resource the agent may invoke. |
|
|
218
218
|
| `publishedFunction` | function | `dist/nodes/process/flow/factories.d.ts:88-112` | Actions | Invoke a published Orchestrator **Function** — a deployed unit of code run as one step (`uipath.core.function.<key>`,… |
|
|
219
|
-
| `PublishedFunctionInputs` | interface | `dist/nodes/process/flow/spec.d.ts:
|
|
219
|
+
| `PublishedFunctionInputs` | interface | `dist/nodes/process/flow/spec.d.ts:128-187` | Option shapes | A published Orchestrator **Function** — a small, single-purpose unit of code deployed as its own resource and invoked as… |
|
|
220
220
|
| `queueItem` | function | `dist/nodes/queue/flow/factories.d.ts:4-49` | Actions | Declare an Orchestrator QUEUE ITEM step. |
|
|
221
221
|
| `QueueItemInputs` | interface | `dist/nodes/queue/flow/spec.d.ts:11-84` | Option shapes | 10 field(s) |
|
|
222
222
|
| `QueuePriority` | type | `dist/nodes/queue/flow/spec.d.ts:9-10` | Supporting types | The three priorities an Orchestrator queue item can carry. |
|
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 1238 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 — 1238 across
|
|
14
14
|
228 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 1238 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
|
|
@@ -53,15 +53,15 @@ not find it either.
|
|
|
53
53
|
| `actionSchema` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:220-244` |
|
|
54
54
|
| `activity` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2998-3031` |
|
|
55
55
|
| `additionalOutputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:98-102` |
|
|
56
|
-
| `agent` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
56
|
+
| `agent` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:407-410` |
|
|
57
57
|
| `agent` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:997-1006` |
|
|
58
|
-
| `agenticProcess` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
58
|
+
| `agenticProcess` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:403-406` |
|
|
59
59
|
| `alias` | property | `Aggregation` | `dist/nodes/transform/flow/spec.d.ts:38-39` |
|
|
60
60
|
| `aliases` | property | `LookupSpec` | `dist/core/lookups.d.ts:31-32` |
|
|
61
61
|
| `allErrors` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:837-838` |
|
|
62
62
|
| `allowAdhocOptionalStageTasks` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:875-876` |
|
|
63
63
|
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1509-1516` |
|
|
64
|
-
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
64
|
+
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:395-398` |
|
|
65
65
|
| `apiWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1017-1026` |
|
|
66
66
|
| `app` | property | `EscalationRef` | `dist/core/actions.d.ts:729-756` |
|
|
67
67
|
| `app` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:326-330` |
|
|
@@ -395,7 +395,7 @@ not find it either.
|
|
|
395
395
|
| `filters` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:79-80` |
|
|
396
396
|
| `filters` | property | `EventSubscription` | `dist/core/actions.d.ts:1046-1047` |
|
|
397
397
|
| `filters` | property | `TriggerOptions` | `dist/core/actions.d.ts:1003-1004` |
|
|
398
|
-
| `flavour` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
398
|
+
| `flavour` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:373-387` |
|
|
399
399
|
| `flowIds` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3195-3238` |
|
|
400
400
|
| `flowMode` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2181-2220` |
|
|
401
401
|
| `flowProcess` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1039-1048` |
|
|
@@ -425,9 +425,9 @@ not find it either.
|
|
|
425
425
|
| `folderKey` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1300-1308` |
|
|
426
426
|
| `folderKey` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:489` |
|
|
427
427
|
| `folderName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:108-114` |
|
|
428
|
-
| `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
429
|
-
| `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
430
|
-
| `folderPath` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
428
|
+
| `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:214-221` |
|
|
429
|
+
| `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:317-328` |
|
|
430
|
+
| `folderPath` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:92-99` |
|
|
431
431
|
| `folderPath` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:198-204` |
|
|
432
432
|
| `folderPath` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1515-1516` |
|
|
433
433
|
| `folderPath` | property | `ContextIndexRef` | `dist/core/actions.d.ts:789-790` |
|
|
@@ -435,14 +435,14 @@ not find it either.
|
|
|
435
435
|
| `folderPath` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:134-140` |
|
|
436
436
|
| `folderPath` | property | `McpToolRef` | `dist/core/actions.d.ts:455-456` |
|
|
437
437
|
| `folderPath` | property | `ProcessToolRef` | `dist/core/actions.d.ts:653-654` |
|
|
438
|
-
| `folderPath` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
438
|
+
| `folderPath` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:156-166` |
|
|
439
439
|
| `folderPath` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:14-15` |
|
|
440
440
|
| `folderPath` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:488` |
|
|
441
441
|
| `folderPath` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:31-38` |
|
|
442
442
|
| `folderPath` | property | `TaskRef` | `dist/case/case-sdk.d.ts:568` |
|
|
443
443
|
| `fork` | property | `ParallelOptions` | `dist/flow-sdk.d.ts:475-492` |
|
|
444
444
|
| `fork` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3138-3163` |
|
|
445
|
-
| `form` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
445
|
+
| `form` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:236-243` |
|
|
446
446
|
| `form` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1406-1407` |
|
|
447
447
|
| `form` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1440-1441` |
|
|
448
448
|
| `format` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:267-268` |
|
|
@@ -518,9 +518,9 @@ not find it either.
|
|
|
518
518
|
| `inputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:283-284` |
|
|
519
519
|
| `inputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:665-666` |
|
|
520
520
|
| `inputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1623-1624` |
|
|
521
|
-
| `inputs` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
522
|
-
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
523
|
-
| `inputs` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
521
|
+
| `inputs` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:230-235` |
|
|
522
|
+
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:335-352` |
|
|
523
|
+
| `inputs` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:109-113` |
|
|
524
524
|
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:211-219` |
|
|
525
525
|
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:852-853` |
|
|
526
526
|
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:870` |
|
|
@@ -531,7 +531,7 @@ not find it either.
|
|
|
531
531
|
| `inputs` | property | `NodeContribution` | `dist/core/node-classes.d.ts:113-117` |
|
|
532
532
|
| `inputs` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:307-308` |
|
|
533
533
|
| `inputs` | property | `ProcessToolRef` | `dist/core/actions.d.ts:661-662` |
|
|
534
|
-
| `inputs` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
534
|
+
| `inputs` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:176-177` |
|
|
535
535
|
| `inputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:95-96` |
|
|
536
536
|
| `inputs` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:47-52` |
|
|
537
537
|
| `inputs` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:913-927` |
|
|
@@ -564,15 +564,15 @@ not find it either.
|
|
|
564
564
|
| `join` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1918-1919` |
|
|
565
565
|
| `join` | property | `SplitOpts` | `dist/bpmn/bpmn-sdk.d.ts:1925-1926` |
|
|
566
566
|
| `js` | property | `Expr` | `dist/core/expr.d.ts:17` |
|
|
567
|
-
| `key` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
568
|
-
| `key` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
569
|
-
| `key` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:71-
|
|
567
|
+
| `key` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:189-200` |
|
|
568
|
+
| `key` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:295-308` |
|
|
569
|
+
| `key` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:71-82` |
|
|
570
570
|
| `key` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:179-185` |
|
|
571
571
|
| `key` | property | `HitlConnection` | `dist/nodes/hitl/flow/spec.d.ts:28-29` |
|
|
572
572
|
| `key` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1420-1421` |
|
|
573
573
|
| `key` | property | `McpToolRef` | `dist/core/actions.d.ts:452-453` |
|
|
574
574
|
| `key` | property | `ProcessToolRef` | `dist/core/actions.d.ts:645-650` |
|
|
575
|
-
| `key` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
575
|
+
| `key` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:135-145` |
|
|
576
576
|
| `key` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:16-25` |
|
|
577
577
|
| `key` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:480-481` |
|
|
578
578
|
| `key` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:12-22` |
|
|
@@ -614,11 +614,12 @@ not find it either.
|
|
|
614
614
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
|
|
615
615
|
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:575-576` |
|
|
616
616
|
| `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
|
|
617
|
-
| `location` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
618
|
-
| `location` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
617
|
+
| `location` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:203-213` |
|
|
618
|
+
| `location` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:311-316` |
|
|
619
|
+
| `location` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:85-91` |
|
|
619
620
|
| `location` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:186-197` |
|
|
620
621
|
| `location` | property | `CarriedConnectorField` | `dist/core/carried-connector-fields.d.ts:43-44` |
|
|
621
|
-
| `location` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
622
|
+
| `location` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:148-155` |
|
|
622
623
|
| `location` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:25-30` |
|
|
623
624
|
| `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
|
|
624
625
|
| `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:353-354` |
|
|
@@ -681,10 +682,10 @@ not find it either.
|
|
|
681
682
|
| `name` | property | `ActionAppRef` | `dist/case/case-sdk.d.ts:642-643` |
|
|
682
683
|
| `name` | property | `ActionField` | `dist/case/case-sdk.d.ts:615-616` |
|
|
683
684
|
| `name` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1611-1612` |
|
|
684
|
-
| `name` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
685
|
-
| `name` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
685
|
+
| `name` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:201-202` |
|
|
686
|
+
| `name` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:309-310` |
|
|
686
687
|
| `name` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:547-548` |
|
|
687
|
-
| `name` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
688
|
+
| `name` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:83-84` |
|
|
688
689
|
| `name` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:177-178` |
|
|
689
690
|
| `name` | property | `BindingContribution` | `dist/core/node-classes.d.ts:87-88` |
|
|
690
691
|
| `name` | property | `BindingDecl` | `dist/bpmn/bpmn-sdk.d.ts:423-424` |
|
|
@@ -740,7 +741,7 @@ not find it either.
|
|
|
740
741
|
| `name` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1710-1711` |
|
|
741
742
|
| `name` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:294-295` |
|
|
742
743
|
| `name` | property | `ProcessToolRef` | `dist/core/actions.d.ts:651-652` |
|
|
743
|
-
| `name` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
744
|
+
| `name` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:146-147` |
|
|
744
745
|
| `name` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1343-1344` |
|
|
745
746
|
| `name` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1466-1467` |
|
|
746
747
|
| `name` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:22` |
|
|
@@ -883,10 +884,11 @@ not find it either.
|
|
|
883
884
|
| `process` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:959-968` |
|
|
884
885
|
| `processId` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:2060-2065` |
|
|
885
886
|
| `project` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:76-89` |
|
|
886
|
-
| `projectId` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
887
|
-
| `projectId` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
887
|
+
| `projectId` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:222-229` |
|
|
888
|
+
| `projectId` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:329-334` |
|
|
889
|
+
| `projectId` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:100-108` |
|
|
888
890
|
| `projectId` | property | `IxpToolRef` | `dist/core/actions.d.ts:678-688` |
|
|
889
|
-
| `projectId` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
891
|
+
| `projectId` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:167-175` |
|
|
890
892
|
| `projectId` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:39-46` |
|
|
891
893
|
| `prompt` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:54-55` |
|
|
892
894
|
| `prompt` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:32-33` |
|
|
@@ -895,7 +897,7 @@ not find it either.
|
|
|
895
897
|
| `propertyAttribute` | property | `BindingContribution` | `dist/core/node-classes.d.ts:97-98` |
|
|
896
898
|
| `propertyAttribute` | property | `BindingDecl` | `dist/bpmn/bpmn-sdk.d.ts:427-428` |
|
|
897
899
|
| `propertyAttribute` | property | `BindingOpts` | `dist/bpmn/bpmn-sdk.d.ts:1069-1070` |
|
|
898
|
-
| `publishedFunction` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
900
|
+
| `publishedFunction` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:399-402` |
|
|
899
901
|
| `query` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:573-578` |
|
|
900
902
|
| `query` | property | `ContextIndexRef` | `dist/core/actions.d.ts:793-798` |
|
|
901
903
|
| `query` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:34` |
|
|
@@ -964,13 +966,13 @@ not find it either.
|
|
|
964
966
|
| `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:109-123` |
|
|
965
967
|
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:1376-1385` |
|
|
966
968
|
| `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:34-39` |
|
|
967
|
-
| `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
968
|
-
| `returns` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
969
|
+
| `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:353-372` |
|
|
970
|
+
| `returns` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:114-126` |
|
|
969
971
|
| `returns` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:505-506` |
|
|
970
972
|
| `returns` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:68-90` |
|
|
971
973
|
| `returns` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:259-272` |
|
|
972
974
|
| `returns` | property | `ProcessToolRef` | `dist/core/actions.d.ts:663-664` |
|
|
973
|
-
| `returns` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
975
|
+
| `returns` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:178-186` |
|
|
974
976
|
| `returns` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:63-83` |
|
|
975
977
|
| `returns` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:53-68` |
|
|
976
978
|
| `returns` | property | `ScriptInputs` | `dist/nodes/script/flow/spec.d.ts:10-43` |
|
|
@@ -980,7 +982,7 @@ not find it either.
|
|
|
980
982
|
| `role` | property | `FlowTrigger` | `dist/core/node-classes.d.ts:173-174` |
|
|
981
983
|
| `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:776-781` |
|
|
982
984
|
| `rpa` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1007-1016` |
|
|
983
|
-
| `rpaWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
985
|
+
| `rpaWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:391-394` |
|
|
984
986
|
| `rule` | property | `CaseRule` | `dist/case/case-sdk.d.ts:90` |
|
|
985
987
|
| `rules` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:412` |
|
|
986
988
|
| `rules` | property | `BuiltEntryCondition` | `dist/case/case-sdk.d.ts:354` |
|
package/dist/check.js
CHANGED
|
@@ -571,17 +571,6 @@ function checkFlow(built, ancestors, opts = {}) {
|
|
|
571
571
|
outputReaders.set(stepName, (field, rest, at, d) => rule(stepName, field, rest, inputs, at, d));
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
if (s.spec.kind === 'waitEvent') {
|
|
575
|
-
const stepName = s.name;
|
|
576
|
-
const push = (level) => (code, message, suggestion) => diags.push({
|
|
577
|
-
level, code, message, step: stepName,
|
|
578
|
-
...(suggestion ? { suggestion } : {}),
|
|
579
|
-
});
|
|
580
|
-
// What compile refuses (the event itself, its filters, its binding
|
|
581
|
-
// labels) is the serializer's, reported from its run.
|
|
582
|
-
checkEventSubscription(s.spec.subscription, `waitForEvent "${stepName}"`, push('error'), push('warning'), eventParamsFor(s.spec.subscription, opts), false);
|
|
583
|
-
checkEventResolution(s.spec.subscription, `waitForEvent "${stepName}"`, 'event', opts, push('error'), push('warning'), eventParamsFor(s.spec.subscription, opts), false);
|
|
584
|
-
}
|
|
585
574
|
if (s.spec.kind === 'subflow') {
|
|
586
575
|
// Only a real child goes in the map: a missing one is reported by
|
|
587
576
|
// checkSubflow, and recursing into `undefined` would crash the check
|
|
@@ -2419,6 +2408,17 @@ function checkRegisteredStep(entry, s, exprs, errorSource, opts, diags, typeOf,
|
|
|
2419
2408
|
options: opts,
|
|
2420
2409
|
bindingLabels: (where, labels, _use, target) => checkBindingLabels(where, labels, opts, (code, message) => diags.push({ level: 'error', code, step: s.name, message }), target),
|
|
2421
2410
|
resources: { derivedNodeId: () => { }, claimNodeId: () => undefined, claimFolder: () => undefined },
|
|
2411
|
+
eventSubscription: (subscription, where) => {
|
|
2412
|
+
const push = (level) => (code, message, suggestion) => diags.push({
|
|
2413
|
+
level, code, message, step: s.name,
|
|
2414
|
+
...(suggestion ? { suggestion } : {}),
|
|
2415
|
+
});
|
|
2416
|
+
// What compile refuses (the event itself, its filters, its binding
|
|
2417
|
+
// labels) is the serializer's, reported from its run.
|
|
2418
|
+
const params = eventParamsFor(subscription, opts);
|
|
2419
|
+
checkEventSubscription(subscription, where, push('error'), push('warning'), params, false);
|
|
2420
|
+
checkEventResolution(subscription, where, 'event', opts, push('error'), push('warning'), params, false);
|
|
2421
|
+
},
|
|
2422
2422
|
// The operation, its field contract and its binding labels are the
|
|
2423
2423
|
// serializer's (CONNECTOR_*, BINDING_*), reported from its run.
|
|
2424
2424
|
connector: (c) => {
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An Integration Service event subscription as Flow emits it — the node body an
|
|
3
|
+
* event trigger (`onEvent`, `.entryPoint()`), and a mid-flow wait
|
|
4
|
+
* (`waitForEvent`), share: `inputs.detail`, the library's resolution of the
|
|
5
|
+
* event, and the refusals compile makes before and without a library.
|
|
6
|
+
*
|
|
7
|
+
* Moved from serialize.ts in Phase 4 of docs/NODE_TYPE_ARCHITECTURE_DESIGN.md,
|
|
8
|
+
* so the connector family's event wait and the triggers that serialize still
|
|
9
|
+
* places read one copy. What serialize held in `SerializeOpts` comes in as an
|
|
10
|
+
* {@link EventEmitEnv}: the library, the bindings, and how a binding label
|
|
11
|
+
* resolves.
|
|
12
|
+
*/
|
|
13
|
+
import type { EventSubscription } from './actions.js';
|
|
14
|
+
import { type BindingsView, type PrepareTarget } from './binding-messages.js';
|
|
15
|
+
import { CompileRefusal } from './compile-refusal.js';
|
|
16
|
+
import { readEventFilter } from './event-filters.js';
|
|
17
|
+
import type { Library, ResolvedConnector } from './library.js';
|
|
18
|
+
/** What an event subscription's emission needs from the compile: the library, the bindings, and how a label resolves. */
|
|
19
|
+
export interface EventEmitEnv {
|
|
20
|
+
readonly library?: Library;
|
|
21
|
+
readonly bindings?: BindingsView;
|
|
22
|
+
/** A connection or folder label to the key the node carries, with compile's refusals and warnings. */
|
|
23
|
+
resolveBinding(name: string | undefined, attribute: 'connection' | 'folder', where: string, target?: PrepareTarget): string | undefined;
|
|
24
|
+
}
|
|
25
|
+
/** What `registry prepare` takes for an event subscription: its connector key and curated event name. */
|
|
26
|
+
export declare function eventTarget(sub: {
|
|
27
|
+
connector?: unknown;
|
|
28
|
+
event?: unknown;
|
|
29
|
+
}): PrepareTarget | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Throw `check`'s EVENT_BYOA_UNVERIFIED for a subscription whose event only
|
|
32
|
+
* fires on a BYOA connection and whose bound connection `prepare` never checked
|
|
33
|
+
* — the one condition in `core/byoa.ts`, fed from the same library and
|
|
34
|
+
* bindings, so a flow check refuses never compiles.
|
|
35
|
+
*
|
|
36
|
+
* `where` is check's spelling of the site (`trigger` for `onEvent`, entry points
|
|
37
|
+
* included; `waitForEvent "<step>"`), so the two print the same sentence.
|
|
38
|
+
*/
|
|
39
|
+
export declare function refuseUnverifiedByoa(env: EventEmitEnv, where: string, sub: {
|
|
40
|
+
connector: string;
|
|
41
|
+
event: string;
|
|
42
|
+
object?: string;
|
|
43
|
+
connection?: unknown;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* Refuse a connector-bound node (connector step, event trigger, `.entryPoint`
|
|
47
|
+
* onEvent, `waitForEvent`) that names no `connection` or no `folder` label.
|
|
48
|
+
* (An inline agent's connector tool is #875's: `check` refuses it as
|
|
49
|
+
* INLINE_AGENT_TOOL_CONNECTOR_NO_CONNECTION, and serialize leaves it unbound.)
|
|
50
|
+
* `resolveBinding` returns `undefined` for an absent label, which used to reach
|
|
51
|
+
* the node as `detail.connectionId: null` with no binding — valid to compile,
|
|
52
|
+
* refused by `flow validate` (flow-builder-sdk#890): BINDING_MISSING.
|
|
53
|
+
*/
|
|
54
|
+
export declare function requireBindingPair(where: string, labels: {
|
|
55
|
+
connection?: unknown;
|
|
56
|
+
folder?: unknown;
|
|
57
|
+
}, target?: PrepareTarget): void;
|
|
58
|
+
/**
|
|
59
|
+
* `library.resolveEvent` for one subscription, or EVENT_UNKNOWN: whatever it
|
|
60
|
+
* throws (a connector or event the library does not carry, a version or object
|
|
61
|
+
* it does not resolve) is that one condition, an event compile cannot place.
|
|
62
|
+
* `where` names the site as `check` always has (`trigger`, `waitForEvent "x"`).
|
|
63
|
+
*/
|
|
64
|
+
export declare function resolveEvent(library: Library, kind: 'trigger' | 'event', sub: EventSubscription, where: string): ReturnType<Library['resolveEvent']>;
|
|
65
|
+
/**
|
|
66
|
+
* LIBRARY_REQUIRED for an event subscription at `site`, after the refusals that
|
|
67
|
+
* need no library: its binding labels, judged as `eventDetail` judges them, so a
|
|
68
|
+
* run without a library (`check`'s inner loop) still hears about them. The
|
|
69
|
+
* refusal carries the connection the node is bound to, so its collect-mode
|
|
70
|
+
* stand-in still takes part in the file-wide connection rule (`connectionConnectors`).
|
|
71
|
+
*/
|
|
72
|
+
export declare function libraryRequiredForEvent(env: EventEmitEnv, sub: EventSubscription, nodeId: string, site: string, call: string): CompileRefusal;
|
|
73
|
+
/**
|
|
74
|
+
* Flatten a nested `where` onto the DOTTED parameter names the wire uses.
|
|
75
|
+
*
|
|
76
|
+
* The generated `…Where` interface splits a dotted event parameter into an
|
|
77
|
+
* object — `channelData.channel.id` becomes
|
|
78
|
+
* `channelData: ConnectorValue<ChannelDataInput>` — so an author following the
|
|
79
|
+
* types writes the nested shape, while `bucketOf` and the `filterExpression`
|
|
80
|
+
* clause both key on the declared dotted name. Without this the nested shape
|
|
81
|
+
* missed the bucket lookup and then stringified, emitting
|
|
82
|
+
* `channelData == '[object Object]'`: a subscription matching nothing, from a
|
|
83
|
+
* document that compiled clean and passed `check`.
|
|
84
|
+
*
|
|
85
|
+
* Descent STOPS as soon as a path names a declared parameter, so a parameter
|
|
86
|
+
* that genuinely takes an object value is passed through whole rather than
|
|
87
|
+
* shredded. A lookup token is a value, never a branch.
|
|
88
|
+
*/
|
|
89
|
+
export declare function flattenWhere(where: Record<string, unknown>, declared: ReadonlySet<string>): Record<string, unknown>;
|
|
90
|
+
/**
|
|
91
|
+
* A subscription's `filters`, each leaf read structurally (`readEventFilter`),
|
|
92
|
+
* or the refusal of the first leaf compile cannot lower: no field, no operator
|
|
93
|
+
* or two, a value no operator takes, a backslash JMESPath engines read apart.
|
|
94
|
+
* Needs no library, so a run without one judges the leaves too
|
|
95
|
+
* (`libraryRequiredForEvent`).
|
|
96
|
+
*/
|
|
97
|
+
export declare function eventFilterReads(filters: readonly unknown[], nodeId: string): Array<NonNullable<ReturnType<typeof readEventFilter>['read']>>;
|
|
98
|
+
/**
|
|
99
|
+
* The match-expression clauses of a subscription's EVENT parameters, one
|
|
100
|
+
* `k == '<value>'` per value, or the refusal of the first value compile cannot
|
|
101
|
+
* write there. The clause compares against a JMESPath string, so the value must
|
|
102
|
+
* be a string, number or boolean: an object or array would be stringified to
|
|
103
|
+
* `'[object Object]'` (or a comma list), a subscription that matches nothing
|
|
104
|
+
* (EVENT_WHERE_NOT_SCALAR). A string with a backslash JMESPath engines read
|
|
105
|
+
* apart is EVENT_FILTER_BACKSLASH. An absent or empty value (`''` or `[]`, so a
|
|
106
|
+
* `where` built from a possibly-empty list) writes no clause.
|
|
107
|
+
*
|
|
108
|
+
* Only event parameters fold into the expression; a query or path parameter is
|
|
109
|
+
* sent with the request that registers the subscription and is never read as
|
|
110
|
+
* JMESPath, so neither rule applies to it.
|
|
111
|
+
*/
|
|
112
|
+
export declare function eventScopeClauses(eventParameters: Record<string, unknown>, nodeId: string): string[];
|
|
113
|
+
export declare function eventDetail(rc: ResolvedConnector, sub: EventSubscription, nodeId: string, env: EventEmitEnv, site: string): Record<string, unknown>;
|