@uipath/maestro-builder-sdk 6.71.0 → 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/core/refusals.d.ts +3 -0
- package/dist/core/refusals.js +3 -0
- 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/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/core/refusals.d.ts
CHANGED
|
@@ -43,6 +43,9 @@ export declare const REFUSALS: {
|
|
|
43
43
|
readonly AGENT_READ_WRONG_CASE: "lint";
|
|
44
44
|
readonly APIWF_EMPTY_RETURNS: "lint";
|
|
45
45
|
readonly APIWF_KEY_NOT_KEY: "lint";
|
|
46
|
+
readonly APIWF_LOCAL_HAS_FOLDER: "lowering";
|
|
47
|
+
readonly APIWF_LOCAL_NO_PROJECT_ID: "lint";
|
|
48
|
+
readonly APIWF_LOCAL_PROJECT_ID_NOT_GUID: "lint";
|
|
46
49
|
readonly APIWF_NAME_IS_PATH: "lint";
|
|
47
50
|
readonly APIWF_NO_FOLDER: "lint";
|
|
48
51
|
readonly APIWF_NO_KEY: "lowering";
|
package/dist/core/refusals.js
CHANGED
|
@@ -92,6 +92,9 @@ export const REFUSALS = {
|
|
|
92
92
|
AGENT_READ_WRONG_CASE: 'lint',
|
|
93
93
|
APIWF_EMPTY_RETURNS: 'lint',
|
|
94
94
|
APIWF_KEY_NOT_KEY: 'lint',
|
|
95
|
+
APIWF_LOCAL_HAS_FOLDER: 'lowering',
|
|
96
|
+
APIWF_LOCAL_NO_PROJECT_ID: 'lint',
|
|
97
|
+
APIWF_LOCAL_PROJECT_ID_NOT_GUID: 'lint',
|
|
95
98
|
APIWF_NAME_IS_PATH: 'lint',
|
|
96
99
|
APIWF_NO_FOLDER: 'lint',
|
|
97
100
|
APIWF_NO_KEY: 'lowering',
|
|
@@ -33,6 +33,9 @@ export const PROCESS_DIAGNOSTICS = {
|
|
|
33
33
|
AGENTIC_RESERVED_INPUT: { severity: 'error', summary: 'an agentic process step with the reserved fireAndForget input' },
|
|
34
34
|
APIWF_EMPTY_RETURNS: { severity: 'warning', summary: 'an API workflow step with returns: {}' },
|
|
35
35
|
APIWF_KEY_NOT_KEY: { severity: 'error', summary: 'an API workflow step whose key is not a GUID' },
|
|
36
|
+
APIWF_LOCAL_HAS_FOLDER: { severity: 'error', summary: 'an API workflow step in-solution, with a folderPath' },
|
|
37
|
+
APIWF_LOCAL_NO_PROJECT_ID: { severity: 'error', summary: 'an API workflow step in-solution, with no projectId' },
|
|
38
|
+
APIWF_LOCAL_PROJECT_ID_NOT_GUID: { severity: 'error', summary: 'an API workflow step in-solution, with a projectId that is not a GUID' },
|
|
36
39
|
APIWF_NAME_IS_PATH: { severity: 'error', summary: 'an API workflow step whose name looks like a folder path' },
|
|
37
40
|
APIWF_NO_FOLDER: { severity: 'error', summary: 'an API workflow step with no folderPath' },
|
|
38
41
|
APIWF_NO_KEY: { severity: 'error', summary: 'an API workflow step with no key' },
|
|
@@ -157,10 +160,21 @@ export function checkApiWorkflow(inputs, ctx) {
|
|
|
157
160
|
at('APIWF_NO_NAME', `API workflow step "${step}" has no \`name\`. The runtime starts the job by name + folder, not by the `
|
|
158
161
|
+ `key in the node type, so without it the workflow cannot be resolved and the run fails before dispatch.`, `name: 'NameToAgeFixed'`);
|
|
159
162
|
}
|
|
160
|
-
|
|
163
|
+
const inSolution = inputs?.location === 'in-solution';
|
|
164
|
+
if (!inSolution && blank(inputs?.folderPath)) {
|
|
161
165
|
at('APIWF_NO_FOLDER', `API workflow step "${step}" has no \`folderPath\`. The runtime starts the job by name + folder, so the `
|
|
162
|
-
+ `Orchestrator folder holding the workflow is required
|
|
166
|
+
+ `Orchestrator folder holding the workflow is required. For an API workflow in the SAME solution, set `
|
|
167
|
+
+ `\`location: 'in-solution'\` and its \`projectId\` instead.`, `folderPath: 'Shared'`);
|
|
168
|
+
}
|
|
169
|
+
if (inSolution && blank(inputs?.projectId)) {
|
|
170
|
+
at('APIWF_LOCAL_NO_PROJECT_ID', `In-solution API workflow step "${step}" has no \`projectId\`. Read \`resource.projectKey\` from `
|
|
171
|
+
+ `\`resources/solution_folder/process/api/<project>.json\`.`, `projectId: '<resource.projectKey>'`);
|
|
172
|
+
}
|
|
173
|
+
else if (inSolution && !GUID_RE.test(String(inputs.projectId).trim())) {
|
|
174
|
+
at('APIWF_LOCAL_PROJECT_ID_NOT_GUID', `In-solution API workflow step "${step}" has projectId ${JSON.stringify(inputs.projectId)}, which is not `
|
|
175
|
+
+ `the sibling project's GUID. Read \`resource.projectKey\` from the generated resource file.`, `projectId: '<resource.projectKey>'`);
|
|
163
176
|
}
|
|
177
|
+
// A folderPath beside in-solution is the serializer's APIWF_LOCAL_HAS_FOLDER (refusals.ts).
|
|
164
178
|
const name = typeof inputs?.name === 'string' ? inputs.name.trim() : '';
|
|
165
179
|
if (name.includes('/')) {
|
|
166
180
|
at('APIWF_NAME_IS_PATH', `API workflow step "${step}"'s \`name\` is ${JSON.stringify(inputs.name)}, which is a folder path. `
|
|
@@ -176,7 +176,8 @@ const API_WORKFLOW_PREFIX = 'uipath.core.api-workflow.';
|
|
|
176
176
|
* one the platform's own definition writes.
|
|
177
177
|
*/
|
|
178
178
|
function apiWorkflowDef(spec) {
|
|
179
|
-
const
|
|
179
|
+
const loc = processResourceLocation(spec);
|
|
180
|
+
const { resourceKey } = loc;
|
|
180
181
|
const properties = {};
|
|
181
182
|
for (const [k, v] of Object.entries(spec.inputs)) {
|
|
182
183
|
properties[k] = { type: typeof v === 'number' ? 'number' : typeof v === 'boolean' ? 'boolean' : 'string' };
|
|
@@ -186,8 +187,8 @@ function apiWorkflowDef(spec) {
|
|
|
186
187
|
version: '1.0.0',
|
|
187
188
|
category: 'api-workflow',
|
|
188
189
|
runtimeConstraints: { exclude: ['api-function'] },
|
|
189
|
-
description:
|
|
190
|
-
tags:
|
|
190
|
+
description: loc.description,
|
|
191
|
+
tags: loc.tags,
|
|
191
192
|
sortOrder: resourceNodeSortOrder('api-workflow'),
|
|
192
193
|
supportsErrorHandling: true,
|
|
193
194
|
display: { label: spec.name, icon: 'api' },
|
|
@@ -195,11 +196,12 @@ function apiWorkflowDef(spec) {
|
|
|
195
196
|
{ position: 'left', handles: [{ id: 'input', type: 'target', handleType: 'input' }] },
|
|
196
197
|
{ position: 'right', handles: [{ id: 'output', type: 'source', handleType: 'output' }] },
|
|
197
198
|
],
|
|
199
|
+
...loc.definitionExtras,
|
|
198
200
|
model: {
|
|
199
201
|
type: 'bpmn:ServiceTask',
|
|
200
202
|
serviceType: 'Orchestrator.ExecuteApiWorkflowAsync',
|
|
201
203
|
version: 'v2',
|
|
202
|
-
section: 'Published',
|
|
204
|
+
...(loc.inSolution ? {} : { section: 'Published' }),
|
|
203
205
|
bindings: {
|
|
204
206
|
resource: 'process',
|
|
205
207
|
resourceSubType: 'Api',
|
|
@@ -207,9 +209,10 @@ function apiWorkflowDef(spec) {
|
|
|
207
209
|
orchestratorType: 'api',
|
|
208
210
|
values: [
|
|
209
211
|
{ name: 'name', propertyAttribute: 'name', default: spec.name },
|
|
210
|
-
{ name: 'folderPath', propertyAttribute: 'folderPath', default:
|
|
212
|
+
{ name: 'folderPath', propertyAttribute: 'folderPath', default: loc.folderPath },
|
|
211
213
|
],
|
|
212
214
|
},
|
|
215
|
+
...loc.modelExtras,
|
|
213
216
|
context: [
|
|
214
217
|
{ name: 'name', type: 'string', value: '<bindings.name>' },
|
|
215
218
|
{ name: 'folderPath', type: 'string', value: '<bindings.folderPath>' },
|
|
@@ -611,7 +614,10 @@ export function processDefinition(spec) {
|
|
|
611
614
|
inputs: s.inputs ?? {}, returns: s.returns,
|
|
612
615
|
});
|
|
613
616
|
case 'apiWorkflow':
|
|
614
|
-
return apiWorkflowDef({
|
|
617
|
+
return apiWorkflowDef({
|
|
618
|
+
key: s.key, name: s.name, folderPath: s.folderPath, location: s.location, projectId: s.projectId,
|
|
619
|
+
inputs: s.inputs ?? {}, returns: s.returns,
|
|
620
|
+
});
|
|
615
621
|
case 'agenticProcess':
|
|
616
622
|
return agenticProcessDef({
|
|
617
623
|
key: s.key, name: s.name, folderPath: s.folderPath, location: s.location, projectId: s.projectId,
|
|
@@ -723,11 +729,14 @@ function liftProcess(node, ctx, prefix, kind, form) {
|
|
|
723
729
|
const name = binding('name');
|
|
724
730
|
const folderPath = binding('folderPath');
|
|
725
731
|
// A sibling project of the same solution (#951): the model names its project
|
|
726
|
-
// instead of a folder. `isInSolution` is flow-core's marker
|
|
727
|
-
// `
|
|
728
|
-
//
|
|
732
|
+
// instead of a folder. `isInSolution` is flow-core's marker; files that carry
|
|
733
|
+
// `projectName` but neither it nor `projectId` still carry the `in-solution`
|
|
734
|
+
// tag and an empty folder. Read back as `location: 'in-solution'` so the
|
|
735
|
+
// recompile takes the in-solution path instead of a published one with an
|
|
736
|
+
// empty folder (#1396). A tag beside a real folder is not enough.
|
|
729
737
|
const projectId = typeof def?.model?.projectId === 'string' ? def.model.projectId : undefined;
|
|
730
|
-
const inSolution = def?.model?.isInSolution === true || projectId !== undefined
|
|
738
|
+
const inSolution = def?.model?.isInSolution === true || projectId !== undefined
|
|
739
|
+
|| (Array.isArray(def?.tags) && def.tags.includes('in-solution') && !folderPath);
|
|
731
740
|
const inputs = { ...(n.inputs ?? {}) };
|
|
732
741
|
// The design-time fire-and-forget switch is an OPTION on agenticProcess(),
|
|
733
742
|
// not a process argument — serialize adds it to `inputs` after rendering the
|
|
@@ -25,7 +25,7 @@ const KINDS = {
|
|
|
25
25
|
noKeySuggestion: `key: '486edc26-0658-4ac1-92c9-1ef953927151'`,
|
|
26
26
|
},
|
|
27
27
|
apiWorkflow: {
|
|
28
|
-
noKeyCode: 'APIWF_NO_KEY', label: 'API workflow', oldField: 'workflow',
|
|
28
|
+
noKeyCode: 'APIWF_NO_KEY', localCode: 'APIWF_LOCAL_HAS_FOLDER', label: 'API workflow', oldField: 'workflow', localLabel: 'API workflow step',
|
|
29
29
|
noKey: (step) => `API workflow step "${step}" has no \`key\`. That is the published workflow's key (a GUID), and `
|
|
30
30
|
+ `it becomes part of the node's type — without it there is no workflow to invoke. Find it with `
|
|
31
31
|
+ `\`uip or processes list --all-folders\` (an API workflow's ProcessKey reads "<name>.api.<name>").`,
|
|
@@ -74,12 +74,38 @@ export interface ApiWorkflowInputs {
|
|
|
74
74
|
* `uip or processes list --all-folders --process-type Api` (an API workflow's
|
|
75
75
|
* `ProcessKey` reads `<name>.api.<name>`; the GUID you want is the row's `Key`)
|
|
76
76
|
* or `uip maestro flow registry search`.
|
|
77
|
+
*
|
|
78
|
+
* For an in-solution sibling it is `resource.key` from
|
|
79
|
+
* `resources/solution_folder/process/api/<project>.json`, the suffix of the
|
|
80
|
+
* node type `uip maestro flow registry list --local` shows.
|
|
77
81
|
*/
|
|
78
82
|
key: string;
|
|
79
83
|
/** The workflow's name in Orchestrator — e.g. `'NameToAgeFixed'`. */
|
|
80
84
|
name: string;
|
|
81
|
-
/**
|
|
82
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Where the workflow lives. `'published'` (the default) is a workflow
|
|
87
|
+
* deployed to `folderPath`. `'in-solution'` is a sibling API workflow project
|
|
88
|
+
* of the same solution: it needs `projectId` and no `folderPath`, and `key` is
|
|
89
|
+
* that sibling's `resource.key`.
|
|
90
|
+
*/
|
|
91
|
+
location?: ProcessLocation;
|
|
92
|
+
/**
|
|
93
|
+
* The Orchestrator folder holding it — e.g. `'Shared'`. Required for a
|
|
94
|
+
* published workflow; omit it for an in-solution sibling.
|
|
95
|
+
*
|
|
96
|
+
* @enforcedBy APIWF_NO_FOLDER A published API workflow needs its folder.
|
|
97
|
+
* @enforcedBy APIWF_LOCAL_HAS_FOLDER An in-solution API workflow has no folder.
|
|
98
|
+
*/
|
|
99
|
+
folderPath?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The sibling API workflow project's `resource.projectKey`, read from
|
|
102
|
+
* `resources/solution_folder/process/api/<project>.json`. Required only when
|
|
103
|
+
* `location` is `'in-solution'`.
|
|
104
|
+
*
|
|
105
|
+
* @enforcedBy APIWF_LOCAL_NO_PROJECT_ID An in-solution API workflow needs its project id.
|
|
106
|
+
* @enforcedBy APIWF_LOCAL_PROJECT_ID_NOT_GUID The project id is the sibling's GUID, not its name.
|
|
107
|
+
*/
|
|
108
|
+
projectId?: string;
|
|
83
109
|
/**
|
|
84
110
|
* The WORKFLOW's own input arguments, by its own argument names (e.g.
|
|
85
111
|
* `{ name: 'tomasz' }`). Not a fixed schema — every workflow declares its own.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.71.
|
|
3
|
+
"version": "6.71.1",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"@types/node": "^22.7.0",
|
|
101
101
|
"esbuild": "^0.28.1"
|
|
102
102
|
},
|
|
103
|
-
"gitref": "
|
|
103
|
+
"gitref": "7cd35a2caf9c3ca33c5f5f8c0caae6577d6dc77d"
|
|
104
104
|
}
|