@uipath/maestro-builder-sdk 6.58.1 → 6.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-index.md +7 -7
- package/dist/api-members.md +30 -28
- package/dist/core/refusals.d.ts +3 -0
- package/dist/core/refusals.js +3 -0
- package/dist/nodes/process/flow/check.js +21 -2
- package/dist/nodes/process/flow/node-type.js +16 -6
- package/dist/nodes/process/flow/spec.d.ts +27 -2
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -43,14 +43,14 @@ could hand you spans for a version you do not have.
|
|
|
43
43
|
| --- | --- | --- | --- | --- |
|
|
44
44
|
| `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. |
|
|
45
45
|
| `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… |
|
|
46
|
-
| `AgentFlavour` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
46
|
+
| `AgentFlavour` | type | `dist/nodes/process/flow/spec.d.ts:260-264` | Supporting types | Which KIND of agent project was published behind a `uipath.core.agent.<key>` resource. |
|
|
47
47
|
| `AgentGuardrail` | type | `dist/core/actions.d.ts:393` | Supporting types | |
|
|
48
48
|
| `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… |
|
|
49
|
-
| `AgenticProcessCompletion` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
50
|
-
| `AgenticProcessInputs` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
51
|
-
| `AgenticProcessInputsBase` | interface | `dist/nodes/process/flow/spec.d.ts:
|
|
52
|
-
| `AgentInputs` | interface | `dist/nodes/process/flow/spec.d.ts:
|
|
53
|
-
| `AgentLocation` | type | `dist/nodes/process/flow/spec.d.ts:
|
|
49
|
+
| `AgenticProcessCompletion` | type | `dist/nodes/process/flow/spec.d.ts:219-257` | Supporting types | Whether an Agentic Process step waits for the process's result. |
|
|
50
|
+
| `AgenticProcessInputs` | type | `dist/nodes/process/flow/spec.d.ts:258-259` | Option shapes | What `agenticProcess()` takes: the shared fields plus the completion policy. |
|
|
51
|
+
| `AgenticProcessInputsBase` | interface | `dist/nodes/process/flow/spec.d.ts:162-218` | Option shapes | 7 field(s) |
|
|
52
|
+
| `AgentInputs` | interface | `dist/nodes/process/flow/spec.d.ts:267-362` | Option shapes | What `agent()` takes: the agent resource to start, its arguments, and the output fields a read may name. |
|
|
53
|
+
| `AgentLocation` | type | `dist/nodes/process/flow/spec.d.ts:265-266` | Supporting types | Where a published agent lives: deployed to a folder (`'published'`) or a sibling project of the same solution… |
|
|
54
54
|
| `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. |
|
|
55
55
|
| `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… |
|
|
56
56
|
| `Aggregation` | interface | `dist/nodes/transform/flow/spec.d.ts:36-42` | Supporting types | 3 field(s) |
|
|
@@ -209,7 +209,7 @@ could hand you spans for a version you do not have.
|
|
|
209
209
|
| `ProcessToolKind` | type | `dist/core/actions.d.ts:622-635` | Supporting types | The tool kinds that wrap a DEPLOYED tenant resource. |
|
|
210
210
|
| `ProcessToolRef` | interface | `dist/core/actions.d.ts:636-665` | Supporting types | A deployed tenant resource the agent may invoke. |
|
|
211
211
|
| `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>`,… |
|
|
212
|
-
| `PublishedFunctionInputs` | interface | `dist/nodes/process/flow/spec.d.ts:102-
|
|
212
|
+
| `PublishedFunctionInputs` | interface | `dist/nodes/process/flow/spec.d.ts:102-161` | Option shapes | A published Orchestrator **Function** — a small, single-purpose unit of code deployed as its own resource and invoked as… |
|
|
213
213
|
| `queueItem` | function | `dist/nodes/queue/flow/factories.d.ts:4-49` | Actions | Declare an Orchestrator QUEUE ITEM step. |
|
|
214
214
|
| `QueueItemInputs` | interface | `dist/nodes/queue/flow/spec.d.ts:11-84` | Option shapes | 10 field(s) |
|
|
215
215
|
| `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 1202 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 — 1202 across
|
|
14
14
|
218 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 1202 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
|
|
@@ -52,15 +52,15 @@ not find it either.
|
|
|
52
52
|
| `actions` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1403-1412` |
|
|
53
53
|
| `activity` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2966-2999` |
|
|
54
54
|
| `additionalOutputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:98-102` |
|
|
55
|
-
| `agent` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
55
|
+
| `agent` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:381-384` |
|
|
56
56
|
| `agent` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:883-892` |
|
|
57
|
-
| `agenticProcess` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
57
|
+
| `agenticProcess` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:377-380` |
|
|
58
58
|
| `alias` | property | `Aggregation` | `dist/nodes/transform/flow/spec.d.ts:38-39` |
|
|
59
59
|
| `aliases` | property | `LookupSpec` | `dist/core/lookups.d.ts:31-32` |
|
|
60
60
|
| `allErrors` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:837-838` |
|
|
61
61
|
| `allowAdhocOptionalStageTasks` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:773-774` |
|
|
62
62
|
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1373-1380` |
|
|
63
|
-
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
63
|
+
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:369-372` |
|
|
64
64
|
| `apiWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:903-912` |
|
|
65
65
|
| `app` | property | `EscalationRef` | `dist/core/actions.d.ts:729-756` |
|
|
66
66
|
| `app` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:192-196` |
|
|
@@ -389,7 +389,7 @@ not find it either.
|
|
|
389
389
|
| `filters` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:79-80` |
|
|
390
390
|
| `filters` | property | `EventSubscription` | `dist/core/actions.d.ts:1046-1047` |
|
|
391
391
|
| `filters` | property | `TriggerOptions` | `dist/core/actions.d.ts:1003-1004` |
|
|
392
|
-
| `flavour` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
392
|
+
| `flavour` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:347-361` |
|
|
393
393
|
| `flowIds` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3163-3206` |
|
|
394
394
|
| `flowMode` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2174-2213` |
|
|
395
395
|
| `flowProcess` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:925-934` |
|
|
@@ -418,8 +418,8 @@ not find it either.
|
|
|
418
418
|
| `folderKey` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1293-1301` |
|
|
419
419
|
| `folderKey` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:489` |
|
|
420
420
|
| `folderName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:108-114` |
|
|
421
|
-
| `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
422
|
-
| `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
421
|
+
| `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:188-195` |
|
|
422
|
+
| `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:291-302` |
|
|
423
423
|
| `folderPath` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:81-82` |
|
|
424
424
|
| `folderPath` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:168-169` |
|
|
425
425
|
| `folderPath` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1508-1509` |
|
|
@@ -428,14 +428,14 @@ not find it either.
|
|
|
428
428
|
| `folderPath` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:134-140` |
|
|
429
429
|
| `folderPath` | property | `McpToolRef` | `dist/core/actions.d.ts:455-456` |
|
|
430
430
|
| `folderPath` | property | `ProcessToolRef` | `dist/core/actions.d.ts:653-654` |
|
|
431
|
-
| `folderPath` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
431
|
+
| `folderPath` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:130-140` |
|
|
432
432
|
| `folderPath` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:14-15` |
|
|
433
433
|
| `folderPath` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:488` |
|
|
434
434
|
| `folderPath` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:31-38` |
|
|
435
435
|
| `folderPath` | property | `TaskRef` | `dist/case/case-sdk.d.ts:467` |
|
|
436
436
|
| `fork` | property | `ParallelOptions` | `dist/flow-sdk.d.ts:452-469` |
|
|
437
437
|
| `fork` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3106-3131` |
|
|
438
|
-
| `form` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
438
|
+
| `form` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:210-217` |
|
|
439
439
|
| `form` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1399-1400` |
|
|
440
440
|
| `form` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1433-1434` |
|
|
441
441
|
| `from` | property | `CreateOutgoingCallInputs` | `dist/nodes/agent/flow/spec.d.ts:88-92` |
|
|
@@ -507,8 +507,8 @@ not find it either.
|
|
|
507
507
|
| `inputRows` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1618-1626` |
|
|
508
508
|
| `inputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:564-565` |
|
|
509
509
|
| `inputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1616-1617` |
|
|
510
|
-
| `inputs` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
511
|
-
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
510
|
+
| `inputs` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:204-209` |
|
|
511
|
+
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:309-326` |
|
|
512
512
|
| `inputs` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:83-87` |
|
|
513
513
|
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:176-184` |
|
|
514
514
|
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:829-830` |
|
|
@@ -519,7 +519,7 @@ not find it either.
|
|
|
519
519
|
| `inputs` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:228-258` |
|
|
520
520
|
| `inputs` | property | `NodeContribution` | `dist/core/node-classes.d.ts:113-117` |
|
|
521
521
|
| `inputs` | property | `ProcessToolRef` | `dist/core/actions.d.ts:661-662` |
|
|
522
|
-
| `inputs` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
522
|
+
| `inputs` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:150-151` |
|
|
523
523
|
| `inputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:95-96` |
|
|
524
524
|
| `inputs` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:47-52` |
|
|
525
525
|
| `inputs` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:913-927` |
|
|
@@ -549,15 +549,15 @@ not find it either.
|
|
|
549
549
|
| `join` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1911-1912` |
|
|
550
550
|
| `join` | property | `SplitOpts` | `dist/bpmn/bpmn-sdk.d.ts:1918-1919` |
|
|
551
551
|
| `js` | property | `Expr` | `dist/core/expr.d.ts:17` |
|
|
552
|
-
| `key` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
553
|
-
| `key` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
552
|
+
| `key` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:163-174` |
|
|
553
|
+
| `key` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:269-282` |
|
|
554
554
|
| `key` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:71-78` |
|
|
555
555
|
| `key` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:166-167` |
|
|
556
556
|
| `key` | property | `HitlConnection` | `dist/nodes/hitl/flow/spec.d.ts:28-29` |
|
|
557
557
|
| `key` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1413-1414` |
|
|
558
558
|
| `key` | property | `McpToolRef` | `dist/core/actions.d.ts:452-453` |
|
|
559
559
|
| `key` | property | `ProcessToolRef` | `dist/core/actions.d.ts:645-650` |
|
|
560
|
-
| `key` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:109-
|
|
560
|
+
| `key` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:109-119` |
|
|
561
561
|
| `key` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:16-25` |
|
|
562
562
|
| `key` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:480-481` |
|
|
563
563
|
| `key` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:12-22` |
|
|
@@ -599,8 +599,9 @@ not find it either.
|
|
|
599
599
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
|
|
600
600
|
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:552-553` |
|
|
601
601
|
| `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
|
|
602
|
-
| `location` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
603
|
-
| `location` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
602
|
+
| `location` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:177-187` |
|
|
603
|
+
| `location` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:285-290` |
|
|
604
|
+
| `location` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:122-129` |
|
|
604
605
|
| `location` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:25-30` |
|
|
605
606
|
| `lookups` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76-87` |
|
|
606
607
|
| `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:353-354` |
|
|
@@ -662,8 +663,8 @@ not find it either.
|
|
|
662
663
|
| `name` | property | `ActionAppRef` | `dist/case/case-sdk.d.ts:541-542` |
|
|
663
664
|
| `name` | property | `ActionField` | `dist/case/case-sdk.d.ts:514-515` |
|
|
664
665
|
| `name` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1604-1605` |
|
|
665
|
-
| `name` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
666
|
-
| `name` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
666
|
+
| `name` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:175-176` |
|
|
667
|
+
| `name` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:283-284` |
|
|
667
668
|
| `name` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:547-548` |
|
|
668
669
|
| `name` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:79-80` |
|
|
669
670
|
| `name` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:164-165` |
|
|
@@ -718,7 +719,7 @@ not find it either.
|
|
|
718
719
|
| `name` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:2010-2011` |
|
|
719
720
|
| `name` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1703-1704` |
|
|
720
721
|
| `name` | property | `ProcessToolRef` | `dist/core/actions.d.ts:651-652` |
|
|
721
|
-
| `name` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
722
|
+
| `name` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:120-121` |
|
|
722
723
|
| `name` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1336-1337` |
|
|
723
724
|
| `name` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1459-1460` |
|
|
724
725
|
| `name` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:22` |
|
|
@@ -856,16 +857,17 @@ not find it either.
|
|
|
856
857
|
| `process` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:857-866` |
|
|
857
858
|
| `processId` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:2053-2058` |
|
|
858
859
|
| `project` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:76-89` |
|
|
859
|
-
| `projectId` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:
|
|
860
|
-
| `projectId` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
860
|
+
| `projectId` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:196-203` |
|
|
861
|
+
| `projectId` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:303-308` |
|
|
861
862
|
| `projectId` | property | `IxpToolRef` | `dist/core/actions.d.ts:678-688` |
|
|
863
|
+
| `projectId` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:141-149` |
|
|
862
864
|
| `projectId` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:39-46` |
|
|
863
865
|
| `prompt` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:54-55` |
|
|
864
866
|
| `prompt` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:32-33` |
|
|
865
867
|
| `propertyAttribute` | property | `BindingContribution` | `dist/core/node-classes.d.ts:97-98` |
|
|
866
868
|
| `propertyAttribute` | property | `BindingDecl` | `dist/bpmn/bpmn-sdk.d.ts:427-428` |
|
|
867
869
|
| `propertyAttribute` | property | `BindingOpts` | `dist/bpmn/bpmn-sdk.d.ts:1069-1070` |
|
|
868
|
-
| `publishedFunction` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
870
|
+
| `publishedFunction` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:373-376` |
|
|
869
871
|
| `query` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:573-578` |
|
|
870
872
|
| `query` | property | `ContextIndexRef` | `dist/core/actions.d.ts:793-798` |
|
|
871
873
|
| `query` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:34` |
|
|
@@ -932,13 +934,13 @@ not find it either.
|
|
|
932
934
|
| `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:109-123` |
|
|
933
935
|
| `return` | method | `StepList` | `dist/flow-sdk.d.ts:1353-1362` |
|
|
934
936
|
| `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:34-39` |
|
|
935
|
-
| `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
937
|
+
| `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:327-346` |
|
|
936
938
|
| `returns` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:88-100` |
|
|
937
939
|
| `returns` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:505-506` |
|
|
938
940
|
| `returns` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:68-90` |
|
|
939
941
|
| `returns` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:259-272` |
|
|
940
942
|
| `returns` | property | `ProcessToolRef` | `dist/core/actions.d.ts:663-664` |
|
|
941
|
-
| `returns` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:
|
|
943
|
+
| `returns` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:152-160` |
|
|
942
944
|
| `returns` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:63-83` |
|
|
943
945
|
| `returns` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:53-68` |
|
|
944
946
|
| `returns` | property | `ScriptInputs` | `dist/nodes/script/flow/spec.d.ts:10-43` |
|
|
@@ -948,7 +950,7 @@ not find it either.
|
|
|
948
950
|
| `role` | property | `FlowTrigger` | `dist/core/node-classes.d.ts:173-174` |
|
|
949
951
|
| `routedWaypoints` | property | `EdgeRoute` | `dist/flow-sdk.d.ts:753-758` |
|
|
950
952
|
| `rpa` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:893-902` |
|
|
951
|
-
| `rpaWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:
|
|
953
|
+
| `rpaWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:365-368` |
|
|
952
954
|
| `rule` | property | `CaseRule` | `dist/case/case-sdk.d.ts:88` |
|
|
953
955
|
| `rules` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:381` |
|
|
954
956
|
| `rules` | property | `BuiltEntryCondition` | `dist/case/case-sdk.d.ts:323` |
|
package/dist/core/refusals.d.ts
CHANGED
|
@@ -151,6 +151,9 @@ export declare const REFUSALS: {
|
|
|
151
151
|
readonly FORM_TRIGGER_NO_INPUTS: "lint";
|
|
152
152
|
readonly FUNCTION_EMPTY_RETURNS: "lint";
|
|
153
153
|
readonly FUNCTION_KEY_NOT_KEY: "lint";
|
|
154
|
+
readonly FUNCTION_LOCAL_HAS_FOLDER: "lint";
|
|
155
|
+
readonly FUNCTION_LOCAL_NO_PROJECT_ID: "lint";
|
|
156
|
+
readonly FUNCTION_LOCAL_PROJECT_ID_NOT_GUID: "lint";
|
|
154
157
|
readonly FUNCTION_NAME_IS_PATH: "lint";
|
|
155
158
|
readonly FUNCTION_NO_FOLDER: "lint";
|
|
156
159
|
readonly FUNCTION_NO_KEY: "lint";
|
package/dist/core/refusals.js
CHANGED
|
@@ -188,6 +188,9 @@ export const REFUSALS = {
|
|
|
188
188
|
FORM_TRIGGER_NO_INPUTS: 'lint',
|
|
189
189
|
FUNCTION_EMPTY_RETURNS: 'lint',
|
|
190
190
|
FUNCTION_KEY_NOT_KEY: 'lint',
|
|
191
|
+
FUNCTION_LOCAL_HAS_FOLDER: 'lint',
|
|
192
|
+
FUNCTION_LOCAL_NO_PROJECT_ID: 'lint',
|
|
193
|
+
FUNCTION_LOCAL_PROJECT_ID_NOT_GUID: 'lint',
|
|
191
194
|
FUNCTION_NAME_IS_PATH: 'lint',
|
|
192
195
|
FUNCTION_NO_FOLDER: 'lint',
|
|
193
196
|
FUNCTION_NO_KEY: 'lint',
|
|
@@ -42,6 +42,9 @@ export const PROCESS_DIAGNOSTICS = {
|
|
|
42
42
|
APIWF_READ_WITHOUT_RETURNS: { severity: 'error', summary: 'an API workflow step field read with no returns' },
|
|
43
43
|
FUNCTION_EMPTY_RETURNS: { severity: 'warning', summary: 'a function step with returns: {}' },
|
|
44
44
|
FUNCTION_KEY_NOT_KEY: { severity: 'error', summary: 'a function step whose key is not a GUID' },
|
|
45
|
+
FUNCTION_LOCAL_HAS_FOLDER: { severity: 'error', summary: 'a function step in-solution, with a folderPath' },
|
|
46
|
+
FUNCTION_LOCAL_NO_PROJECT_ID: { severity: 'error', summary: 'a function step in-solution, with no projectId' },
|
|
47
|
+
FUNCTION_LOCAL_PROJECT_ID_NOT_GUID: { severity: 'error', summary: 'a function step in-solution, with a projectId that is not a GUID' },
|
|
45
48
|
FUNCTION_NAME_IS_PATH: { severity: 'error', summary: 'a function step whose name looks like a folder path' },
|
|
46
49
|
FUNCTION_NO_FOLDER: { severity: 'error', summary: 'a function step with no folderPath' },
|
|
47
50
|
FUNCTION_NO_KEY: { severity: 'error', summary: 'a function step with no key' },
|
|
@@ -220,10 +223,26 @@ export function checkPublishedFunction(inputs, ctx) {
|
|
|
220
223
|
at('FUNCTION_NO_NAME', `Function step "${step}" has no \`name\`. The runtime resolves the function by name + folder, not by the `
|
|
221
224
|
+ `key in the node type, so without it the dispatch fails before it starts.`, `name: 'acme-echo'`);
|
|
222
225
|
}
|
|
223
|
-
|
|
226
|
+
const inSolution = inputs?.location === 'in-solution';
|
|
227
|
+
if (!inSolution && blank(inputs?.folderPath)) {
|
|
224
228
|
at('FUNCTION_NO_FOLDER', `Function step "${step}" has no \`folderPath\`. The runtime resolves the function by name + folder — and a `
|
|
225
229
|
+ `function is often deployed into a folder of its OWN name, so read the folder from the tenant rather `
|
|
226
|
-
+ `than assuming 'Shared'
|
|
230
|
+
+ `than assuming 'Shared'. For a coded function in the SAME solution, set \`location: 'in-solution'\` `
|
|
231
|
+
+ `and its \`projectId\` instead.`, `folderPath: 'Shared/acme-echo'`);
|
|
232
|
+
}
|
|
233
|
+
if (inSolution && blank(inputs?.projectId)) {
|
|
234
|
+
at('FUNCTION_LOCAL_NO_PROJECT_ID', `In-solution function step "${step}" has no \`projectId\`. Read \`resource.projectKey\` from `
|
|
235
|
+
+ `\`resources/solution_folder/process/function/<project>.json\`.`, `projectId: '<resource.projectKey>'`);
|
|
236
|
+
}
|
|
237
|
+
else if (inSolution && !GUID_RE.test(String(inputs.projectId).trim())) {
|
|
238
|
+
at('FUNCTION_LOCAL_PROJECT_ID_NOT_GUID', `In-solution function step "${step}" has projectId ${JSON.stringify(inputs.projectId)}, which is not `
|
|
239
|
+
+ `the sibling project's GUID. Read \`resource.projectKey\` from the generated resource file.`, `projectId: '<resource.projectKey>'`);
|
|
240
|
+
}
|
|
241
|
+
if (inSolution && !blank(inputs?.folderPath)) {
|
|
242
|
+
at('FUNCTION_LOCAL_HAS_FOLDER', `In-solution function step "${step}" also sets \`folderPath\` ${JSON.stringify(inputs.folderPath)}. An `
|
|
243
|
+
+ `in-solution sibling has no folder until the solution is deployed — the platform's own manifest `
|
|
244
|
+
+ `writes \`""\` — so the value would be dropped. Remove it, or drop \`location: 'in-solution'\` to `
|
|
245
|
+
+ `call the published copy.`);
|
|
227
246
|
}
|
|
228
247
|
const name = typeof inputs?.name === 'string' ? inputs.name.trim() : '';
|
|
229
248
|
if (name.includes('/')) {
|
|
@@ -257,7 +257,12 @@ const FUNCTION_PREFIX = 'uipath.core.function.';
|
|
|
257
257
|
* alongside `output` (gated on `errorHandlingEnabled`, as everywhere else).
|
|
258
258
|
*/
|
|
259
259
|
function publishedFunctionDef(spec) {
|
|
260
|
-
|
|
260
|
+
// The location slot the other process resources share: an in-solution
|
|
261
|
+
// sibling (VS Code 1.204.25's `uipath.core.function.<key>` against the
|
|
262
|
+
// solution's own coded function) is the bare key, folder `''`, no
|
|
263
|
+
// `section`, and `projectId`/`projectName`/`isInSolution` on the model.
|
|
264
|
+
const loc = processResourceLocation(spec);
|
|
265
|
+
const { resourceKey } = loc;
|
|
261
266
|
const properties = {};
|
|
262
267
|
for (const [k, v] of Object.entries(spec.inputs)) {
|
|
263
268
|
properties[k] = { type: typeof v === 'number' ? 'number' : typeof v === 'boolean' ? 'boolean' : 'string' };
|
|
@@ -266,8 +271,8 @@ function publishedFunctionDef(spec) {
|
|
|
266
271
|
nodeType: `${FUNCTION_PREFIX}${spec.key}`,
|
|
267
272
|
version: '1.0.0',
|
|
268
273
|
category: 'function',
|
|
269
|
-
description:
|
|
270
|
-
tags:
|
|
274
|
+
description: loc.description,
|
|
275
|
+
tags: loc.tags,
|
|
271
276
|
sortOrder: resourceNodeSortOrder('function'),
|
|
272
277
|
supportsErrorHandling: true,
|
|
273
278
|
display: { label: spec.name, icon: 'function' },
|
|
@@ -285,11 +290,12 @@ function publishedFunctionDef(spec) {
|
|
|
285
290
|
],
|
|
286
291
|
},
|
|
287
292
|
],
|
|
293
|
+
...loc.definitionExtras,
|
|
288
294
|
model: {
|
|
289
295
|
type: 'bpmn:ServiceTask',
|
|
290
296
|
serviceType: 'Orchestrator.ExecuteFunctionAsync',
|
|
291
297
|
version: 'v2',
|
|
292
|
-
section: 'Published',
|
|
298
|
+
...(loc.inSolution ? {} : { section: 'Published' }),
|
|
293
299
|
listingVersion: '1.0.0',
|
|
294
300
|
bindings: {
|
|
295
301
|
resource: 'process',
|
|
@@ -298,9 +304,10 @@ function publishedFunctionDef(spec) {
|
|
|
298
304
|
orchestratorType: 'function',
|
|
299
305
|
values: [
|
|
300
306
|
{ name: 'name', propertyAttribute: 'name', default: spec.name },
|
|
301
|
-
{ name: 'folderPath', propertyAttribute: 'folderPath', default:
|
|
307
|
+
{ name: 'folderPath', propertyAttribute: 'folderPath', default: loc.folderPath },
|
|
302
308
|
],
|
|
303
309
|
},
|
|
310
|
+
...loc.modelExtras,
|
|
304
311
|
context: [
|
|
305
312
|
{ name: 'name', type: 'string', value: '<bindings.name>' },
|
|
306
313
|
{ name: 'folderPath', type: 'string', value: '<bindings.folderPath>' },
|
|
@@ -598,7 +605,10 @@ export function processDefinition(spec) {
|
|
|
598
605
|
const s = (spec.inputs ?? {});
|
|
599
606
|
switch (spec.kind) {
|
|
600
607
|
case 'publishedFunction':
|
|
601
|
-
return publishedFunctionDef({
|
|
608
|
+
return publishedFunctionDef({
|
|
609
|
+
key: s.key, name: s.name, folderPath: s.folderPath, location: s.location, projectId: s.projectId,
|
|
610
|
+
inputs: s.inputs ?? {}, returns: s.returns,
|
|
611
|
+
});
|
|
602
612
|
case 'apiWorkflow':
|
|
603
613
|
return apiWorkflowDef({ key: s.key, name: s.name, folderPath: s.folderPath, inputs: s.inputs ?? {}, returns: s.returns });
|
|
604
614
|
case 'agenticProcess':
|
|
@@ -111,17 +111,42 @@ export interface PublishedFunctionInputs {
|
|
|
111
111
|
* `uipath.core.function.<key>`. Find it with
|
|
112
112
|
* `uip maestro flow registry search "uipath.core.function"` (after
|
|
113
113
|
* `registry pull --force`) or the Orchestrator process listing.
|
|
114
|
+
*
|
|
115
|
+
* For an in-solution sibling it is `resource.key` from
|
|
116
|
+
* `resources/solution_folder/process/function/<project>.json` — the suffix of
|
|
117
|
+
* the node type `uip maestro flow registry list --local` shows.
|
|
114
118
|
*/
|
|
115
119
|
key: string;
|
|
116
120
|
/** The function's name in Orchestrator, e.g. `'acme-echo'`. */
|
|
117
121
|
name: string;
|
|
122
|
+
/**
|
|
123
|
+
* Where the function lives. `'published'` (the default) is a function
|
|
124
|
+
* deployed to `folderPath`. `'in-solution'` is a sibling coded-function
|
|
125
|
+
* project of the same solution: it needs `projectId` and no `folderPath`, and
|
|
126
|
+
* `key` is that sibling's `resource.key` from
|
|
127
|
+
* `resources/solution_folder/process/function/<project>.json`.
|
|
128
|
+
*/
|
|
129
|
+
location?: ProcessLocation;
|
|
118
130
|
/**
|
|
119
131
|
* The Orchestrator folder holding it. A function is usually deployed into a
|
|
120
132
|
* folder of its OWN name (e.g. `'Shared/acme-echo'`), and the binding's
|
|
121
133
|
* `resourceKey` is `<folderPath>.<name>` — copy the folder from the tenant
|
|
122
|
-
* rather than assuming `'Shared'`.
|
|
134
|
+
* rather than assuming `'Shared'`. Required for a published function; omit
|
|
135
|
+
* it for an in-solution sibling.
|
|
136
|
+
*
|
|
137
|
+
* @enforcedBy FUNCTION_NO_FOLDER A published function needs its folder.
|
|
138
|
+
* @enforcedBy FUNCTION_LOCAL_HAS_FOLDER An in-solution function has no folder.
|
|
123
139
|
*/
|
|
124
|
-
folderPath
|
|
140
|
+
folderPath?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The sibling function project's `resource.projectKey`, read from
|
|
143
|
+
* `resources/solution_folder/process/function/<project>.json`. Required only
|
|
144
|
+
* when `location` is `'in-solution'`.
|
|
145
|
+
*
|
|
146
|
+
* @enforcedBy FUNCTION_LOCAL_NO_PROJECT_ID An in-solution function needs its project id.
|
|
147
|
+
* @enforcedBy FUNCTION_LOCAL_PROJECT_ID_NOT_GUID The project id is the sibling's GUID, not its name.
|
|
148
|
+
*/
|
|
149
|
+
projectId?: string;
|
|
125
150
|
/** The function's own input arguments, by its own names. */
|
|
126
151
|
inputs?: Record<string, unknown>;
|
|
127
152
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.59.0",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"@types/node": "^22.7.0",
|
|
97
97
|
"esbuild": "^0.28.1"
|
|
98
98
|
},
|
|
99
|
-
"gitref": "
|
|
99
|
+
"gitref": "ddebc637dab91373bb326fd4da5590f6e7d3b9c2"
|
|
100
100
|
}
|