@uipath/maestro-builder-sdk 6.82.5 → 6.82.7
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 +4 -4
- package/dist/api-members.md +26 -26
- package/dist/case/case-sdk.d.ts +6 -0
- package/dist/case/case-sdk.js +27 -0
- package/dist/case/serialize.js +42 -4
- package/dist/core/expression-binding-id.d.ts +26 -0
- package/dist/core/expression-binding-id.js +33 -0
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -322,7 +322,7 @@ could hand you spans for a version you do not have.
|
|
|
322
322
|
| `CaseAppConfig` | interface | `dist/case/case-sdk.d.ts:1025-1037` | Supporting types | Typed configuration for the generated Case App. |
|
|
323
323
|
| `CaseAppDetailValue` | type | `dist/case/case-sdk.d.ts:1014-1015` | Supporting types | A value displayed in one Case App section. |
|
|
324
324
|
| `CaseAppSection` | interface | `dist/case/case-sdk.d.ts:1016-1024` | Supporting types | One summary section in the generated Case App. |
|
|
325
|
-
| `CaseBuilder` | class | `dist/case/case-sdk.d.ts:
|
|
325
|
+
| `CaseBuilder` | class | `dist/case/case-sdk.d.ts:1742-2031` | Builders | 18 member(s) |
|
|
326
326
|
| `CaseConnectorOpts` | interface | `dist/case/case-sdk.d.ts:490-513` | Option shapes | TaskBuilder.connector's options: the Flow `connector()` options, plus the fields a decompiled task carries. |
|
|
327
327
|
| `CaseDocumentExtractionSpec` | interface | `dist/case/case-sdk.d.ts:586-631` | Supporting types | A document-extraction task's IXP deployment and inputs (`.documentExtraction()`). |
|
|
328
328
|
| `CaseEventFilter` | type | `dist/core/actions.d.ts:979-1003` | Supporting types | A Case event filter: an EventFilter, or a text test or equality whose value is computed at runtime from a Case… |
|
|
@@ -330,7 +330,7 @@ could hand you spans for a version you do not have.
|
|
|
330
330
|
| `CaseHttpRequestSpec` | interface | `dist/case/case-sdk.d.ts:534-576` | Supporting types | An HTTP request task's request (`.httpRequest()`). |
|
|
331
331
|
| `CaseLayout` | interface | `dist/case/case-sdk.d.ts:1059-1070` | Supporting types | Optional Case designer layout, keyed by author-level stage and trigger names. |
|
|
332
332
|
| `CaseNodeLayout` | interface | `dist/case/case-sdk.d.ts:1038-1058` | Supporting types | Designer-only fields the shipped Case transformer moves into `layout.nodes[id]`. |
|
|
333
|
-
| `casePlan` | function | `dist/case/case-sdk.d.ts:
|
|
333
|
+
| `casePlan` | function | `dist/case/case-sdk.d.ts:2032-2038` | Case authoring | Start building a case plan with the given id. |
|
|
334
334
|
| `CaseRule` | interface | `dist/case/case-sdk.d.ts:82-85` | Supporting types | A single DNF rule. |
|
|
335
335
|
| `CaseRuleGrid` | type | `dist/case/case-sdk.d.ts:146-147` | Supporting types | One rule, one AND-group, or a complete OR-of-AND condition grid. |
|
|
336
336
|
| `CaseRuleInput` | type | `dist/case/case-sdk.d.ts:144-145` | Supporting types | A concrete rule or a pure expression gate resolved by its receiving slot. |
|
|
@@ -377,9 +377,9 @@ could hand you spans for a version you do not have.
|
|
|
377
377
|
| `SelectNextStageSpec` | interface | `dist/case/case-sdk.d.ts:369-387` | Supporting types | Data Fabric entity used by the Case runtime to deliver a person's next-stage selection. |
|
|
378
378
|
| `SlaOpts` | interface | `dist/case/case-sdk.d.ts:217-236` | Option shapes | 5 field(s) |
|
|
379
379
|
| `SlaUnit` | type | `dist/case/case-sdk.d.ts:148-149` | Supporting types | SLA deadline unit. |
|
|
380
|
-
| `StageBuilder` | class | `dist/case/case-sdk.d.ts:
|
|
380
|
+
| `StageBuilder` | class | `dist/case/case-sdk.d.ts:1664-1741` | Builders | 6 member(s) |
|
|
381
381
|
| `StageExitType` | type | `dist/case/case-sdk.d.ts:368` | Supporting types | |
|
|
382
|
-
| `TaskBuilder` | class | `dist/case/case-sdk.d.ts:1173-
|
|
382
|
+
| `TaskBuilder` | class | `dist/case/case-sdk.d.ts:1173-1663` | Builders | 29 member(s) |
|
|
383
383
|
| `TaskInputBinding` | interface | `dist/case/case-sdk.d.ts:874-885` | Supporting types | A task input binding: a resource input parameter set to a literal or a `=`-expression. |
|
|
384
384
|
| `TaskKind` | type | `dist/case/case-sdk.d.ts:426` | Supporting types | |
|
|
385
385
|
| `taskOutput` | function | `dist/case/case-sdk.d.ts:96-124` | Case authoring | Read another task's output in place, in a `=js:` expression or a task input: `=vars.<id>` once compiled, where `<id>` is… |
|
package/dist/api-members.md
CHANGED
|
@@ -64,7 +64,7 @@ not find it either.
|
|
|
64
64
|
| `aliases` | property | `LookupSpec` | `dist/core/lookups.d.ts:31-32` |
|
|
65
65
|
| `allErrors` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:843-844` |
|
|
66
66
|
| `allowAdhocOptionalStageTasks` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1109-1110` |
|
|
67
|
-
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
67
|
+
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1851-1858` |
|
|
68
68
|
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:395-398` |
|
|
69
69
|
| `apiWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1255-1264` |
|
|
70
70
|
| `app` | property | `EscalationRef` | `dist/core/actions.d.ts:731-758` |
|
|
@@ -115,9 +115,9 @@ not find it either.
|
|
|
115
115
|
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:416-417` |
|
|
116
116
|
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:403-407` |
|
|
117
117
|
| `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3713-3718` |
|
|
118
|
-
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
118
|
+
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2025-2030` |
|
|
119
119
|
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1623-1629` |
|
|
120
|
-
| `businessEvent` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
120
|
+
| `businessEvent` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2014-2024` |
|
|
121
121
|
| `businessEvent` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:71-78` |
|
|
122
122
|
| `businessEvents` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1115-1116` |
|
|
123
123
|
| `businessRule` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:910-911` |
|
|
@@ -130,7 +130,7 @@ not find it either.
|
|
|
130
130
|
| `callContext` | property | `VoiceAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:142-147` |
|
|
131
131
|
| `cancelActivity` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:784-785` |
|
|
132
132
|
| `carriedFields` | property | `CaseConnectorOpts` | `dist/case/case-sdk.d.ts:495-512` |
|
|
133
|
-
| `caseApp` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
133
|
+
| `caseApp` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1824-1850` |
|
|
134
134
|
| `caseAppConfig` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1108` |
|
|
135
135
|
| `caseAppEnabled` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1107` |
|
|
136
136
|
| `caseExit` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1113` |
|
|
@@ -149,7 +149,7 @@ not find it either.
|
|
|
149
149
|
| `collection` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:85-95` |
|
|
150
150
|
| `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:658-659` |
|
|
151
151
|
| `colSpan` | property | `FormFieldSettings` | `dist/core/actions.d.ts:187-188` |
|
|
152
|
-
| `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
152
|
+
| `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1994-2004` |
|
|
153
153
|
| `completion` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:87-88` |
|
|
154
154
|
| `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:398-402` |
|
|
155
155
|
| `condition` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:374-375` |
|
|
@@ -252,7 +252,7 @@ not find it either.
|
|
|
252
252
|
| `description` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:929` |
|
|
253
253
|
| `description` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:251` |
|
|
254
254
|
| `description` | property | `BusinessEventOpts` | `dist/case/case-sdk.d.ts:1073-1074` |
|
|
255
|
-
| `description` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
255
|
+
| `description` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1809-1815` |
|
|
256
256
|
| `description` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:992-997` |
|
|
257
257
|
| `description` | property | `CaseVarSpec` | `dist/case/case-sdk.d.ts:980-981` |
|
|
258
258
|
| `description` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:503-504` |
|
|
@@ -271,7 +271,7 @@ not find it either.
|
|
|
271
271
|
| `description` | property | `ProcessToolRef` | `dist/core/actions.d.ts:657-662` |
|
|
272
272
|
| `description` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:486` |
|
|
273
273
|
| `description` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:337-338` |
|
|
274
|
-
| `description` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
274
|
+
| `description` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1674-1680` |
|
|
275
275
|
| `description` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1538-1544` |
|
|
276
276
|
| `description` | property | `TimerTriggerOpts` | `dist/case/case-sdk.d.ts:276` |
|
|
277
277
|
| `description` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:322-323` |
|
|
@@ -344,8 +344,8 @@ not find it either.
|
|
|
344
344
|
| `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:558-570` |
|
|
345
345
|
| `entryPointId` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:715-723` |
|
|
346
346
|
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:728-729` |
|
|
347
|
-
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
348
|
-
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:
|
|
347
|
+
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1714-1721` |
|
|
348
|
+
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1651-1660` |
|
|
349
349
|
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:752-777` |
|
|
350
350
|
| `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:790-794` |
|
|
351
351
|
| `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:736-746` |
|
|
@@ -377,7 +377,7 @@ not find it either.
|
|
|
377
377
|
| `every` | property | `ScheduledInputs` | `dist/nodes/trigger/flow/spec.d.ts:30-41` |
|
|
378
378
|
| `every` | property | `TimerTriggerOpts` | `dist/case/case-sdk.d.ts:266-274` |
|
|
379
379
|
| `exception` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:939` |
|
|
380
|
-
| `exceptionStage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
380
|
+
| `exceptionStage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1986-1993` |
|
|
381
381
|
| `exchangeId` | property | `ConversationalAgentSettings` | `dist/nodes/agent/flow/spec.d.ts:31-32` |
|
|
382
382
|
| `exchangeId` | property | `SendMessageInputs` | `dist/nodes/conversation/flow/spec.d.ts:14-19` |
|
|
383
383
|
| `exchangeLimit` | property | `ConversationContextInputs` | `dist/nodes/conversation/flow/spec.d.ts:40-43` |
|
|
@@ -387,7 +387,7 @@ not find it either.
|
|
|
387
387
|
| `exit` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:944` |
|
|
388
388
|
| `exitToStage` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:398-412` |
|
|
389
389
|
| `exitToStage` | property | `ExitOpts` | `dist/case/case-sdk.d.ts:1152-1166` |
|
|
390
|
-
| `exitWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
390
|
+
| `exitWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1722-1729` |
|
|
391
391
|
| `exponentialBase` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:841-842` |
|
|
392
392
|
| `exposeError` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:379-385` |
|
|
393
393
|
| `expression` | property | `BuiltSla` | `dist/case/case-sdk.d.ts:242-243` |
|
|
@@ -534,7 +534,7 @@ not find it either.
|
|
|
534
534
|
| `id` | property | `SwitchArm` | `dist/flow-sdk.d.ts:212-218` |
|
|
535
535
|
| `id` | property | `VarEntry` | `dist/bpmn/bpmn-sdk.d.ts:1032-1033` |
|
|
536
536
|
| `identifier` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1105` |
|
|
537
|
-
| `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
537
|
+
| `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1816-1823` |
|
|
538
538
|
| `identifierType` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1106` |
|
|
539
539
|
| `implied` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:376-383` |
|
|
540
540
|
| `impliedFlowIds` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:2053-2054` |
|
|
@@ -544,7 +544,7 @@ not find it either.
|
|
|
544
544
|
| `inlineAgent` | property | `FlowActionSpecs` | `dist/nodes/agent/flow/spec.d.ts:443-446` |
|
|
545
545
|
| `inOuts` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:287-288` |
|
|
546
546
|
| `inOuts` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:311-312` |
|
|
547
|
-
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
547
|
+
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1880-1926` |
|
|
548
548
|
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1564-1576` |
|
|
549
549
|
| `input` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1431-1432` |
|
|
550
550
|
| `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1297-1298` |
|
|
@@ -648,7 +648,7 @@ not find it either.
|
|
|
648
648
|
| `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:942` |
|
|
649
649
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1119-1120` |
|
|
650
650
|
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:718-719` |
|
|
651
|
-
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
651
|
+
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1859-1879` |
|
|
652
652
|
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1284-1310` |
|
|
653
653
|
| `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:386-418` |
|
|
654
654
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:101-106` |
|
|
@@ -744,7 +744,7 @@ not find it either.
|
|
|
744
744
|
| `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:905-906` |
|
|
745
745
|
| `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:249-250` |
|
|
746
746
|
| `name` | property | `CarriedConnectorField` | `dist/core/carried-connector-fields.d.ts:41-42` |
|
|
747
|
-
| `name` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
747
|
+
| `name` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1761-1767` |
|
|
748
748
|
| `name` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:986` |
|
|
749
749
|
| `name` | property | `CatchOpts` | `dist/bpmn/bpmn-sdk.d.ts:755-756` |
|
|
750
750
|
| `name` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1920-1921` |
|
|
@@ -856,7 +856,7 @@ not find it either.
|
|
|
856
856
|
| `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:345-359` |
|
|
857
857
|
| `outcomes` | property | `HumanTaskForm` | `dist/bpmn/human-task-form.d.ts:87-91` |
|
|
858
858
|
| `outcomes` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:313-314` |
|
|
859
|
-
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
859
|
+
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1927-1935` |
|
|
860
860
|
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1577-1612` |
|
|
861
861
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:97` |
|
|
862
862
|
| `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3278-3286` |
|
|
@@ -881,7 +881,7 @@ not find it either.
|
|
|
881
881
|
| `outputs` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1491-1506` |
|
|
882
882
|
| `outputs` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:339-343` |
|
|
883
883
|
| `outputs` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:934-948` |
|
|
884
|
-
| `outputs` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1569-
|
|
884
|
+
| `outputs` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1569-1650` |
|
|
885
885
|
| `outputVar` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1658-1659` |
|
|
886
886
|
| `outputVar` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1572-1573` |
|
|
887
887
|
| `outputVar` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1162-1163` |
|
|
@@ -984,7 +984,7 @@ not find it either.
|
|
|
984
984
|
| `required` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:298-299` |
|
|
985
985
|
| `required` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:26` |
|
|
986
986
|
| `required` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:67` |
|
|
987
|
-
| `required` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
987
|
+
| `required` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1681-1687` |
|
|
988
988
|
| `required` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1516-1522` |
|
|
989
989
|
| `required` | property | `TaskInputBinding` | `dist/case/case-sdk.d.ts:881-882` |
|
|
990
990
|
| `required` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:229-230` |
|
|
@@ -1061,7 +1061,7 @@ not find it either.
|
|
|
1061
1061
|
| `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:533-534` |
|
|
1062
1062
|
| `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3605-3634` |
|
|
1063
1063
|
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:702-708` |
|
|
1064
|
-
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1064
|
+
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1779-1808` |
|
|
1065
1065
|
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1443-1482` |
|
|
1066
1066
|
| `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:154` |
|
|
1067
1067
|
| `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:292` |
|
|
@@ -1103,9 +1103,9 @@ not find it either.
|
|
|
1103
1103
|
| `skipCondition` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1379-1380` |
|
|
1104
1104
|
| `skipCondition` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1489-1490` |
|
|
1105
1105
|
| `skipWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1545-1551` |
|
|
1106
|
-
| `sla` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1106
|
+
| `sla` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:2005-2013` |
|
|
1107
1107
|
| `sla` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:59-64` |
|
|
1108
|
-
| `sla` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
1108
|
+
| `sla` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1730-1738` |
|
|
1109
1109
|
| `slaRules` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1114` |
|
|
1110
1110
|
| `slaRules` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:945` |
|
|
1111
1111
|
| `slug` | property | `McpToolRef` | `dist/core/actions.d.ts:464-465` |
|
|
@@ -1127,7 +1127,7 @@ not find it either.
|
|
|
1127
1127
|
| `sourceTrigger` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:1005-1012` |
|
|
1128
1128
|
| `spec` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1643-1657` |
|
|
1129
1129
|
| `splitPages` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:16-17` |
|
|
1130
|
-
| `stage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1130
|
+
| `stage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1978-1985` |
|
|
1131
1131
|
| `stage` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:13-24` |
|
|
1132
1132
|
| `stages` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1112` |
|
|
1133
1133
|
| `stages` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:1066-1067` |
|
|
@@ -1181,7 +1181,7 @@ not find it either.
|
|
|
1181
1181
|
| `target` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:248-249` |
|
|
1182
1182
|
| `target` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:324-329` |
|
|
1183
1183
|
| `task` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2405-2413` |
|
|
1184
|
-
| `task` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
1184
|
+
| `task` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1688-1713` |
|
|
1185
1185
|
| `tasks` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:36-51` |
|
|
1186
1186
|
| `taskTitle` | property | `EscalationRef` | `dist/core/actions.d.ts:767-768` |
|
|
1187
1187
|
| `taxonomy` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:97-98` |
|
|
@@ -1212,7 +1212,7 @@ not find it either.
|
|
|
1212
1212
|
| `transformation` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:30-31` |
|
|
1213
1213
|
| `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:687-688` |
|
|
1214
1214
|
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:713-715` |
|
|
1215
|
-
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1215
|
+
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1969-1977` |
|
|
1216
1216
|
| `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:161-162` |
|
|
1217
1217
|
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1337-1357` |
|
|
1218
1218
|
| `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:655-702` |
|
|
@@ -1286,7 +1286,7 @@ not find it either.
|
|
|
1286
1286
|
| `value` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:219-220` |
|
|
1287
1287
|
| `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:250-251` |
|
|
1288
1288
|
| `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:143-148` |
|
|
1289
|
-
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1289
|
+
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1936-1968` |
|
|
1290
1290
|
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1613-1622` |
|
|
1291
1291
|
| `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3260-3268` |
|
|
1292
1292
|
| `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:891-892` |
|
|
@@ -1306,7 +1306,7 @@ not find it either.
|
|
|
1306
1306
|
| `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:302-316` |
|
|
1307
1307
|
| `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:1097-1103` |
|
|
1308
1308
|
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:701` |
|
|
1309
|
-
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1309
|
+
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1768-1778` |
|
|
1310
1310
|
| `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1526-1527` |
|
|
1311
1311
|
| `version` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:76` |
|
|
1312
1312
|
| `version` | property | `ConnectorOpts` | `dist/core/actions.d.ts:16-17` |
|
package/dist/case/case-sdk.d.ts
CHANGED
|
@@ -1616,6 +1616,12 @@ declare class TaskBuilder {
|
|
|
1616
1616
|
* extract (`source`) is refused on a task kind with no result to read
|
|
1617
1617
|
* (`TASK_OUTPUTS_UNSUPPORTED`).
|
|
1618
1618
|
*
|
|
1619
|
+
* To write a form field straight into a named case variable, as an SDD row
|
|
1620
|
+
* `Action -> apDecision` declares, do not add a custom output: set the
|
|
1621
|
+
* field's `value`, `.action({ outputs: [{ name: 'Action', value: 'apDecision' }] })`.
|
|
1622
|
+
* A custom output is a second row; the field would still write its default
|
|
1623
|
+
* variable (`action`), and `uip maestro case validate --sdd` reports that.
|
|
1624
|
+
*
|
|
1619
1625
|
* On a connector or wait-for-connector task, a field is read from the
|
|
1620
1626
|
* operation's (or event's) `response`: an SDD row `app_id -> postAppId` is
|
|
1621
1627
|
* `.outputs({ postAppId: '=response.app_id' })`. Each extract is written after
|
package/dist/case/case-sdk.js
CHANGED
|
@@ -744,6 +744,12 @@ class TaskBuilder {
|
|
|
744
744
|
* extract (`source`) is refused on a task kind with no result to read
|
|
745
745
|
* (`TASK_OUTPUTS_UNSUPPORTED`).
|
|
746
746
|
*
|
|
747
|
+
* To write a form field straight into a named case variable, as an SDD row
|
|
748
|
+
* `Action -> apDecision` declares, do not add a custom output: set the
|
|
749
|
+
* field's `value`, `.action({ outputs: [{ name: 'Action', value: 'apDecision' }] })`.
|
|
750
|
+
* A custom output is a second row; the field would still write its default
|
|
751
|
+
* variable (`action`), and `uip maestro case validate --sdd` reports that.
|
|
752
|
+
*
|
|
747
753
|
* On a connector or wait-for-connector task, a field is read from the
|
|
748
754
|
* operation's (or event's) `response`: an SDD row `app_id -> postAppId` is
|
|
749
755
|
* `.outputs({ postAppId: '=response.app_id' })`. Each extract is written after
|
|
@@ -813,6 +819,27 @@ class TaskBuilder {
|
|
|
813
819
|
// result, so only a kind with one takes it; a custom `{ assign }` row reads
|
|
814
820
|
// none, so every kind takes it (#1451).
|
|
815
821
|
const extract = this._outputs?.find((o) => !o.custom);
|
|
822
|
+
// An action task has no result, but it has form fields, and an SDD row
|
|
823
|
+
// `Action -> apDecision` names one of them. That row is the field's own
|
|
824
|
+
// `value`, not a custom output: a `{ assign }` row is a second row, the
|
|
825
|
+
// field still writes its default variable, and `validate --sdd` reports
|
|
826
|
+
// the field's var. Name the spelling that writes the row the SDD means.
|
|
827
|
+
if (extract && this._kind === 'action') {
|
|
828
|
+
// The field the source names: `=<name>` where `<name>` is a declared form
|
|
829
|
+
// field (spaces allowed, `=Approval Decision`) or an identifier. A
|
|
830
|
+
// `=vars.…` / `=js:…` source, or a name no field has, names none.
|
|
831
|
+
const declared = (this._action?.outputs ?? []).map((f) => f.name);
|
|
832
|
+
const bare = /^=(?!js:)(.+)$/.exec(extract.source)?.[1];
|
|
833
|
+
const field = bare !== undefined && (declared.includes(bare) || /^[A-Za-z_]\w*$/.test(bare)) ? bare : undefined;
|
|
834
|
+
const lead = `task "${this._name}": output "${extract.var}" reads ${JSON.stringify(extract.source)}, but an action task has no result field to extract; its form fields write case variables themselves.`;
|
|
835
|
+
const tail = `\`value\` is the case variable the field writes, the row an SDD's \`<field> -> ${extract.var}\` declares and \`uip maestro case validate --sdd\` checks. A custom output ({ assign }) is a second row that derives a new value; it does not rename the field's variable.`;
|
|
836
|
+
const fix = field !== undefined
|
|
837
|
+
? `Name the variable on the field: .action({ ..., outputs: [{ name: '${field}', value: '${extract.var}' }] }).`
|
|
838
|
+
: declared.length > 0
|
|
839
|
+
? `Set \`value: '${extract.var}'\` on the form field the SDD row names, one of: ${declared.join(', ')} (.action({ ..., outputs: [{ name: '${declared[0]}', value: '${extract.var}' }] })).`
|
|
840
|
+
: `Declare the form field in .action({ ..., outputs: [{ name: '<field>', value: '${extract.var}' }] }); this task declares no form outputs yet.`;
|
|
841
|
+
throw new CompileRefusal('TASK_OUTPUTS_UNSUPPORTED', `${lead} ${fix} ${tail.replace('<field>', field ?? '<field>')}`);
|
|
842
|
+
}
|
|
816
843
|
if (extract && !REF_IO.has(this._kind) && !CONNECTOR_OUTPUTS.has(this._kind))
|
|
817
844
|
throw new CompileRefusal('TASK_OUTPUTS_UNSUPPORTED', `task "${this._name}": output "${extract.var}" extracts a result field, which only reference-mode tasks (process/agent/rpa/api-workflow/case-management/flow-process/function/business-rule) and connector / wait-for-connector tasks have, not "${this._kind}". A custom output ({ assign }) works on every task kind.`);
|
|
818
845
|
if (REF_IO.has(this._kind) && !this._ref && (this._inputs || this._outputs))
|
package/dist/case/serialize.js
CHANGED
|
@@ -35,6 +35,7 @@ import { eventFiltersNotArray, readEventFilter, readEventFilterLeaf, eventFilter
|
|
|
35
35
|
import { responseJsonSchema } from '../core/connector-response-schema.js';
|
|
36
36
|
import { ruleShapeProblems } from './rule-options.js';
|
|
37
37
|
import { CompileRefusal } from '../core/compile-refusal.js';
|
|
38
|
+
import { expressionBindingId } from '../core/expression-binding-id.js';
|
|
38
39
|
import { implicitInArgBuiltTrigger, unboundInArgMessage } from './in-arg-binding.js';
|
|
39
40
|
import { jsonClone } from '../core/json-clone.js';
|
|
40
41
|
import { savedDocumentExtractionData } from './document-extraction-saved.js';
|
|
@@ -3073,9 +3074,17 @@ function bindingRef(resolver, name, resource, propertyAttribute, displayName, si
|
|
|
3073
3074
|
warnStub(resolver, name, site, (entry?.resourceKey ?? entry?.default));
|
|
3074
3075
|
// Only a label with no bindings.json entry gets a minted id: an entry's
|
|
3075
3076
|
// `resourceKey` is the real key, so its id (or its name) cannot clash with it.
|
|
3076
|
-
|
|
3077
|
-
|
|
3077
|
+
// An entry's id is the author's label, so it is made readable as an expression
|
|
3078
|
+
// first: `=bindings.is-sandboxes` faults at run time (`entryBindingId`).
|
|
3079
|
+
const baseId = entry
|
|
3080
|
+
? entryBindingId(resolver, entry, name)
|
|
3078
3081
|
: offlineBindingId(resolver, offlineBindingSeed(resource, propertyAttribute, name));
|
|
3082
|
+
const value = entry?.default ?? resourceKey;
|
|
3083
|
+
// Two labels can rewrite to one id (`a-b`, `a_b`): the second gets `_2`, never
|
|
3084
|
+
// the first one's row.
|
|
3085
|
+
let id = baseId;
|
|
3086
|
+
for (let n = 2; bindsOther(resolver.bindingSink.get(id), resource, propertyAttribute, resourceKey, value); n++)
|
|
3087
|
+
id = `${baseId}_${n}`;
|
|
3079
3088
|
if (!resolver.bindingSink.has(id)) {
|
|
3080
3089
|
resolver.bindingSink.set(id, {
|
|
3081
3090
|
id,
|
|
@@ -3083,12 +3092,41 @@ function bindingRef(resolver, name, resource, propertyAttribute, displayName, si
|
|
|
3083
3092
|
type: 'string',
|
|
3084
3093
|
resource,
|
|
3085
3094
|
resourceKey,
|
|
3086
|
-
default:
|
|
3095
|
+
default: value,
|
|
3087
3096
|
propertyAttribute,
|
|
3088
3097
|
});
|
|
3089
3098
|
}
|
|
3090
3099
|
return { id, resourceKey };
|
|
3091
3100
|
}
|
|
3101
|
+
/**
|
|
3102
|
+
* The root binding id for a bindings.json entry: its id (or label), made
|
|
3103
|
+
* readable through `=bindings.<id>` (`expressionBindingId`). A rewritten id must
|
|
3104
|
+
* not be a label bindings.json itself declares for another entry: decompile
|
|
3105
|
+
* writes the id back as the connector's label, and the recompile would resolve
|
|
3106
|
+
* it to that other entry. With `is-sandboxes` and `is_sandboxes` both declared,
|
|
3107
|
+
* `is-sandboxes` gets `is_sandboxes_2`, so `is_sandboxes` keeps its own name and
|
|
3108
|
+
* `is_sandboxes_2` resolves through the plan's own row.
|
|
3109
|
+
*/
|
|
3110
|
+
function entryBindingId(resolver, entry, name) {
|
|
3111
|
+
const raw = String(entry.id ?? name);
|
|
3112
|
+
const base = expressionBindingId(raw);
|
|
3113
|
+
if (base === raw)
|
|
3114
|
+
return base;
|
|
3115
|
+
const shadows = (id) => {
|
|
3116
|
+
const other = resolver.bindings?.entry?.(id);
|
|
3117
|
+
return other !== undefined && other !== entry && !resolver.bindings?.fromFallback?.(id);
|
|
3118
|
+
};
|
|
3119
|
+
let id = base;
|
|
3120
|
+
for (let n = 2; shadows(id); n++)
|
|
3121
|
+
id = `${base}_${n}`;
|
|
3122
|
+
return id;
|
|
3123
|
+
}
|
|
3124
|
+
/** True when `row` exists and binds something other than the given resource
|
|
3125
|
+
* property (resource, attribute, key or value differ). */
|
|
3126
|
+
function bindsOther(row, resource, propertyAttribute, resourceKey, value) {
|
|
3127
|
+
return row !== undefined && (row.resource !== resource || row.propertyAttribute !== propertyAttribute
|
|
3128
|
+
|| row.resourceKey !== resourceKey || row.default !== value);
|
|
3129
|
+
}
|
|
3092
3130
|
/**
|
|
3093
3131
|
* A connector's folder is a property of its connection:
|
|
3094
3132
|
* { resourceKey: <connection key>, default: <folder key>, propertyAttribute: 'folderKey' }.
|
|
@@ -3108,7 +3146,7 @@ function folderBindingRef(resolver, name, connection, site) {
|
|
|
3108
3146
|
throw refused;
|
|
3109
3147
|
const entry = resolver.bindings?.entry?.(name);
|
|
3110
3148
|
const baseId = entry
|
|
3111
|
-
?
|
|
3149
|
+
? entryBindingId(resolver, entry, name)
|
|
3112
3150
|
: offlineBindingId(resolver, offlineBindingSeed('Connection', 'folderKey', name, connection.resourceKey));
|
|
3113
3151
|
const folderKey = entry?.default ?? entry?.resourceKey ?? name;
|
|
3114
3152
|
warnStub(resolver, name, site, (entry?.default ?? entry?.resourceKey));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A binding id the runtime can read back through `=bindings.<id>`.
|
|
3
|
+
*
|
|
4
|
+
* A connector's `connection` / `folderKey` context value is the EXPRESSION
|
|
5
|
+
* `=bindings.<id>`, and the Maestro engine evaluates it with DynamicExpresso,
|
|
6
|
+
* a C# expression parser. It splits a hyphenated id at the hyphen:
|
|
7
|
+
* `bindings.is-sandboxes` is read as `bindings.is - sandboxes`, `sandboxes` is an
|
|
8
|
+
* unknown identifier, evaluation fails, and the task keeps the literal string
|
|
9
|
+
* `=bindings.is-sandboxes` where it needs a connection GUID. `validate` accepts
|
|
10
|
+
* the plan; only the run faults.
|
|
11
|
+
*
|
|
12
|
+
* A bindings.json label is free text (`uip maestro registry prepare
|
|
13
|
+
* --bind-connection is-sandboxes` writes `id: "is-sandboxes"`, the tenant's
|
|
14
|
+
* connection name), and Case compile used to copy it into the root binding id
|
|
15
|
+
* as written. Studio Web never hits this: it mints `b` + alphanumerics.
|
|
16
|
+
*
|
|
17
|
+
* So an id that is not a C# identifier is rewritten: every character outside
|
|
18
|
+
* `[A-Za-z0-9_]` becomes `_`, and a leading digit gets a `_` prefix.
|
|
19
|
+
* `is-sandboxes` → `is_sandboxes`, `my.conn` → `my_conn`, `1drive` → `_1drive`.
|
|
20
|
+
* An id that already is one (`bOC1`, `slack`, `solution_folder`) is unchanged,
|
|
21
|
+
* and so is a C# keyword (`default`, `new`): after `bindings.` the engine reads it
|
|
22
|
+
* as a member name (measured under DynamicExpresso 2.18.0, the engine's pin).
|
|
23
|
+
* The binding's `name` keeps the label, so Studio Web and bindings_v2.json still
|
|
24
|
+
* show it.
|
|
25
|
+
*/
|
|
26
|
+
export declare function expressionBindingId(id: string): string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A binding id the runtime can read back through `=bindings.<id>`.
|
|
3
|
+
*
|
|
4
|
+
* A connector's `connection` / `folderKey` context value is the EXPRESSION
|
|
5
|
+
* `=bindings.<id>`, and the Maestro engine evaluates it with DynamicExpresso,
|
|
6
|
+
* a C# expression parser. It splits a hyphenated id at the hyphen:
|
|
7
|
+
* `bindings.is-sandboxes` is read as `bindings.is - sandboxes`, `sandboxes` is an
|
|
8
|
+
* unknown identifier, evaluation fails, and the task keeps the literal string
|
|
9
|
+
* `=bindings.is-sandboxes` where it needs a connection GUID. `validate` accepts
|
|
10
|
+
* the plan; only the run faults.
|
|
11
|
+
*
|
|
12
|
+
* A bindings.json label is free text (`uip maestro registry prepare
|
|
13
|
+
* --bind-connection is-sandboxes` writes `id: "is-sandboxes"`, the tenant's
|
|
14
|
+
* connection name), and Case compile used to copy it into the root binding id
|
|
15
|
+
* as written. Studio Web never hits this: it mints `b` + alphanumerics.
|
|
16
|
+
*
|
|
17
|
+
* So an id that is not a C# identifier is rewritten: every character outside
|
|
18
|
+
* `[A-Za-z0-9_]` becomes `_`, and a leading digit gets a `_` prefix.
|
|
19
|
+
* `is-sandboxes` → `is_sandboxes`, `my.conn` → `my_conn`, `1drive` → `_1drive`.
|
|
20
|
+
* An id that already is one (`bOC1`, `slack`, `solution_folder`) is unchanged,
|
|
21
|
+
* and so is a C# keyword (`default`, `new`): after `bindings.` the engine reads it
|
|
22
|
+
* as a member name (measured under DynamicExpresso 2.18.0, the engine's pin).
|
|
23
|
+
* The binding's `name` keeps the label, so Studio Web and bindings_v2.json still
|
|
24
|
+
* show it.
|
|
25
|
+
*/
|
|
26
|
+
export function expressionBindingId(id) {
|
|
27
|
+
if (EXPRESSION_IDENTIFIER.test(id))
|
|
28
|
+
return id;
|
|
29
|
+
const safe = id.replace(/[^A-Za-z0-9_]/g, '_');
|
|
30
|
+
return /^[A-Za-z_]/.test(safe) ? safe : `_${safe}`;
|
|
31
|
+
}
|
|
32
|
+
/** A C#/DynamicExpresso identifier: what one `bindings.<id>` member access can name. */
|
|
33
|
+
const EXPRESSION_IDENTIFIER = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.82.
|
|
3
|
+
"version": "6.82.7",
|
|
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",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"@types/node": "^22.7.0",
|
|
104
104
|
"esbuild": "^0.28.1"
|
|
105
105
|
},
|
|
106
|
-
"gitref": "
|
|
106
|
+
"gitref": "d5a34f7e92e62b7ef79bb43f22e0dba65ce3c48c"
|
|
107
107
|
}
|