@uipath/maestro-builder-sdk 6.61.0 → 6.62.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 +12 -12
- package/dist/api-members.md +48 -48
- package/dist/core/refusals.d.ts +1 -0
- package/dist/core/refusals.js +1 -0
- package/dist/edit-scope.d.ts +59 -2
- package/dist/edit-scope.js +82 -0
- package/dist/merge-cli.js +55 -8
- package/dist/merge-compile.d.ts +18 -8
- package/dist/merge-compile.js +25 -9
- package/dist/nodes/hitl/flow/check.js +18 -2
- package/dist/nodes/hitl/flow/spec.d.ts +11 -5
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -41,10 +41,10 @@ could hand you spans for a version you do not have.
|
|
|
41
41
|
|
|
42
42
|
| Symbol | Kind | Declaration | Area | Summary |
|
|
43
43
|
| --- | --- | --- | --- | --- |
|
|
44
|
-
| `ActionSchema` | type | `dist/nodes/hitl/flow/spec.d.ts:
|
|
45
|
-
| `ActionSchemaFile` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
46
|
-
| `ActionSchemaProperty` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
47
|
-
| `ActionSchemaSection` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
44
|
+
| `ActionSchema` | type | `dist/nodes/hitl/flow/spec.d.ts:289-290` | Supporting types | An Action App's action schema, in either spelling. |
|
|
45
|
+
| `ActionSchemaFile` | interface | `dist/nodes/hitl/flow/spec.d.ts:252-262` | Supporting types | A coded action app's `action-schema.json`. |
|
|
46
|
+
| `ActionSchemaProperty` | interface | `dist/nodes/hitl/flow/spec.d.ts:226-244` | Supporting types | One property of an `action-schema.json` section. |
|
|
47
|
+
| `ActionSchemaSection` | interface | `dist/nodes/hitl/flow/spec.d.ts:245-251` | 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
50
|
| `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. |
|
|
@@ -61,7 +61,7 @@ could hand you spans for a version you do not have.
|
|
|
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
63
|
| `ApiWorkflowInputs` | interface | `dist/nodes/process/flow/spec.d.ts:70-101` | Option shapes | 5 field(s) |
|
|
64
|
-
| `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
64
|
+
| `AppRef` | interface | `dist/nodes/hitl/flow/spec.d.ts:146-225` | 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:1364-1387` | 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>')`. |
|
|
67
67
|
| `at` | function | `dist/flow-sdk.d.ts:693-721` | Flow construction | A node's layout at a canvas position — the short form of a NodeLayout for the `nodes` map of FlowBuilder.layout. |
|
|
@@ -119,7 +119,7 @@ could hand you spans for a version you do not have.
|
|
|
119
119
|
| `dim` | function | `dist/flow-sdk.d.ts:722-744` | Flow construction | A node's size on the canvas, in pixels — the third argument of at. |
|
|
120
120
|
| `documentClassify` | function | `dist/nodes/document/flow/factories.d.ts:8-16` | Actions | Classify a document into a document type (`uipath.document.classify`). |
|
|
121
121
|
| `DocumentClassifyInputs` | interface | `dist/nodes/document/flow/spec.d.ts:10-20` | Option shapes | What `documentClassify()` takes: the document, and how to split and classify it. |
|
|
122
|
-
| `DocValidationInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
122
|
+
| `DocValidationInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:76-99` | Option shapes | The Document Validation task's subject — `variant: 'document-validation'` only. |
|
|
123
123
|
| `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:547-556` | Option shapes | Do-while options. |
|
|
124
124
|
| `dynamicExtract` | function | `dist/nodes/document/flow/factories.d.ts:17-27` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
|
|
125
125
|
| `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:21-56` | Option shapes | What `dynamicExtract()` takes: the document and the fields to extract from it. |
|
|
@@ -164,9 +164,9 @@ could hand you spans for a version you do not have.
|
|
|
164
164
|
| `HitlAssigneeType` | type | `dist/nodes/hitl/flow/spec.d.ts:16-23` | Supporting types | How the task is assigned, the platform's own vocabulary (canvas `HITL_ASSIGNEE_TYPE`): `'user'` a single user, `'group'`… |
|
|
165
165
|
| `HitlChannel` | type | `dist/nodes/hitl/flow/spec.d.ts:10-15` | Supporting types | Where the task is delivered. |
|
|
166
166
|
| `HitlConnection` | interface | `dist/nodes/hitl/flow/spec.d.ts:24-32` | Supporting types | A per-channel Integration Service connection (Slack / Teams delivery). |
|
|
167
|
-
| `HitlInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
168
|
-
| `HitlRecipient` | interface | `dist/nodes/hitl/flow/spec.d.ts:33-
|
|
169
|
-
| `HitlVariant` | type | `dist/nodes/hitl/flow/spec.d.ts:
|
|
167
|
+
| `HitlInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:291-395` | Option shapes | 12 field(s) |
|
|
168
|
+
| `HitlRecipient` | interface | `dist/nodes/hitl/flow/spec.d.ts:33-75` | Supporting types | Who gets the task and over which channels. |
|
|
169
|
+
| `HitlVariant` | type | `dist/nodes/hitl/flow/spec.d.ts:120-145` | Supporting types | WHICH human-task node type to emit. |
|
|
170
170
|
| `http` | function | `dist/nodes/http/flow/factories.d.ts:7-14` | Actions | Declare an HTTP request action, explicitly choosing standalone or managed. |
|
|
171
171
|
| `HttpBranch` | interface | `dist/nodes/http/flow/spec.d.ts:8-23` | Supporting types | One conditional response branch on an HTTP node — a designer-visible side exit. |
|
|
172
172
|
| `HttpInputs` | type | `dist/nodes/http/flow/spec.d.ts:125-142` | Option shapes | |
|
|
@@ -205,11 +205,11 @@ could hand you spans for a version you do not have.
|
|
|
205
205
|
| `onEvent` | function | `dist/flow-sdk.d.ts:193-231` | Flow construction | Start the flow when a connector event fires — e.g. an email arriving in a mailbox folder. |
|
|
206
206
|
| `onEvent` | function | `dist/flow-sdk.d.ts:232-239` | Flow construction | Stringly form, for an event with no prepared module. |
|
|
207
207
|
| `out` | function | `dist/core/expr.d.ts:73-94` | Expressions and types | Reference an upstream step's output → `$vars.<step>.output[.<path>]`. |
|
|
208
|
-
| `Outcome` | type | `dist/nodes/hitl/flow/spec.d.ts:
|
|
208
|
+
| `Outcome` | type | `dist/nodes/hitl/flow/spec.d.ts:100-119` | Supporting types | One completion button. |
|
|
209
209
|
| `OutputColumn` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:41-47` | Supporting types | One column Batch Transform appends to the CSV. |
|
|
210
210
|
| `ParallelOptions` | interface | `dist/flow-sdk.d.ts:447-470` | Option shapes | The options of `.parallel()`: the join's NodeOptions, plus the fork node when the flow has one. |
|
|
211
|
-
| `PlatformActionSchema` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
212
|
-
| `PlatformActionSchemaArg` | interface | `dist/nodes/hitl/flow/spec.d.ts:
|
|
211
|
+
| `PlatformActionSchema` | interface | `dist/nodes/hitl/flow/spec.d.ts:276-288` | Supporting types | The platform's action schema (Apps API, a solution's `spec.actionSchema`). |
|
|
212
|
+
| `PlatformActionSchemaArg` | interface | `dist/nodes/hitl/flow/spec.d.ts:263-275` | Supporting types | One argument of the platform's action schema. |
|
|
213
213
|
| `PortArm` | interface | `dist/flow-sdk.d.ts:380-392` | Supporting types | One arm of a built `.stepSwitch` — the same shape as SwitchArm, but `value` names an exit the ACTION declares (a… |
|
|
214
214
|
| `ProcessLocation` | type | `dist/core/actions.d.ts:260-265` | Supporting types | Where a process resource lives: deployed to an Orchestrator folder (`'published'`, the default) or a sibling project of… |
|
|
215
215
|
| `ProcessToolKind` | type | `dist/core/actions.d.ts:622-635` | Supporting types | The tool kinds that wrap a DEPLOYED tenant resource. |
|
package/dist/api-members.md
CHANGED
|
@@ -50,7 +50,7 @@ not find it either.
|
|
|
50
50
|
| `action` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:997-1022` |
|
|
51
51
|
| `actionCatalogName` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:558-563` |
|
|
52
52
|
| `actions` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1403-1412` |
|
|
53
|
-
| `actionSchema` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
53
|
+
| `actionSchema` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:191-215` |
|
|
54
54
|
| `activity` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2966-2999` |
|
|
55
55
|
| `additionalOutputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:98-102` |
|
|
56
56
|
| `agent` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:381-384` |
|
|
@@ -64,13 +64,13 @@ not find it either.
|
|
|
64
64
|
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:369-372` |
|
|
65
65
|
| `apiWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:903-912` |
|
|
66
66
|
| `app` | property | `EscalationRef` | `dist/core/actions.d.ts:729-756` |
|
|
67
|
-
| `app` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
67
|
+
| `app` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:297-301` |
|
|
68
68
|
| `app` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1397-1398` |
|
|
69
69
|
| `app` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1435-1436` |
|
|
70
|
-
| `appSystemName` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
70
|
+
| `appSystemName` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:176-181` |
|
|
71
71
|
| `appVersion` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1401-1402` |
|
|
72
72
|
| `armLabel` | property | `ArmBuilder` | `dist/flow-sdk.d.ts:1376` |
|
|
73
|
-
| `assignee` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
73
|
+
| `assignee` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:54-69` |
|
|
74
74
|
| `async` | property | `OrchestratorAsyncOpts` | `dist/bpmn/bpmn-sdk.d.ts:1321-1325` |
|
|
75
75
|
| `atRiskPercentage` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:140-145` |
|
|
76
76
|
| `attachedTo` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:776-777` |
|
|
@@ -126,7 +126,7 @@ not find it either.
|
|
|
126
126
|
| `caseExit` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:777` |
|
|
127
127
|
| `caseManagement` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:567-571` |
|
|
128
128
|
| `caseManagement` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:913-924` |
|
|
129
|
-
| `channels` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
129
|
+
| `channels` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:52-53` |
|
|
130
130
|
| `child` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:50-51` |
|
|
131
131
|
| `choose` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3064-3105` |
|
|
132
132
|
| `citationMode` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:581-582` |
|
|
@@ -158,7 +158,7 @@ not find it either.
|
|
|
158
158
|
| `connection` | property | `ExternalTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1583-1584` |
|
|
159
159
|
| `connection` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1193-1217` |
|
|
160
160
|
| `connection` | property | `TriggerOptions` | `dist/core/actions.d.ts:1005-1009` |
|
|
161
|
-
| `connections` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
161
|
+
| `connections` | property | `HitlRecipient` | `dist/nodes/hitl/flow/spec.d.ts:70-74` |
|
|
162
162
|
| `connector` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:618` |
|
|
163
163
|
| `connector` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:592-593` |
|
|
164
164
|
| `connector` | property | `EventSubscription` | `dist/core/actions.d.ts:1017-1018` |
|
|
@@ -226,7 +226,7 @@ not find it either.
|
|
|
226
226
|
| `definitions` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1621-1661` |
|
|
227
227
|
| `delay` | property | `FlowActionSpecs` | `dist/nodes/delay/flow/spec.d.ts:38-41` |
|
|
228
228
|
| `dependsOn` | property | `LookupSpec` | `dist/core/lookups.d.ts:34-35` |
|
|
229
|
-
| `description` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
229
|
+
| `description` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:236-237` |
|
|
230
230
|
| `description` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:551` |
|
|
231
231
|
| `description` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:768` |
|
|
232
232
|
| `description` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:837-838` |
|
|
@@ -285,9 +285,9 @@ not find it either.
|
|
|
285
285
|
| `displayName` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:65` |
|
|
286
286
|
| `displayName` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:178-183` |
|
|
287
287
|
| `displayName` | property | `TriggerMeta` | `dist/core/connectors.d.ts:127-128` |
|
|
288
|
-
| `document` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
288
|
+
| `document` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:390-394` |
|
|
289
289
|
| `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:152-155` |
|
|
290
|
-
| `documentId` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
290
|
+
| `documentId` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:90-91` |
|
|
291
291
|
| `doWhile` | method | `StepList` | `dist/flow-sdk.d.ts:1198-1222` |
|
|
292
292
|
| `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
|
|
293
293
|
| `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:35-36` |
|
|
@@ -361,7 +361,7 @@ not find it either.
|
|
|
361
361
|
| `exitToStage` | property | `ExitOpts` | `dist/case/case-sdk.d.ts:816-830` |
|
|
362
362
|
| `exitWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1250-1257` |
|
|
363
363
|
| `exponentialBase` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:835-836` |
|
|
364
|
-
| `exposeError` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
364
|
+
| `exposeError` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:350-356` |
|
|
365
365
|
| `expression` | property | `BuiltSla` | `dist/case/case-sdk.d.ts:199-200` |
|
|
366
366
|
| `expression` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:83-84` |
|
|
367
367
|
| `expression` | property | `WhenExpression` | `dist/case/case-sdk.d.ts:109-110` |
|
|
@@ -370,7 +370,7 @@ not find it either.
|
|
|
370
370
|
| `externalAgent` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:981-988` |
|
|
371
371
|
| `externalWorkflow` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2947-2963` |
|
|
372
372
|
| `externalWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:989-996` |
|
|
373
|
-
| `extractionResult` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
373
|
+
| `extractionResult` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:82-87` |
|
|
374
374
|
| `field` | property | `Aggregation` | `dist/nodes/transform/flow/spec.d.ts:40-41` |
|
|
375
375
|
| `field` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:22-28` |
|
|
376
376
|
| `field` | property | `DataFabricSort` | `dist/nodes/data-fabric/flow/spec.d.ts:54-55` |
|
|
@@ -379,7 +379,7 @@ not find it either.
|
|
|
379
379
|
| `field` | property | `LookupResolution` | `dist/core/lookups.d.ts:168` |
|
|
380
380
|
| `fields` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:105-106` |
|
|
381
381
|
| `fields` | property | `EscalationRef` | `dist/core/actions.d.ts:724-728` |
|
|
382
|
-
| `fields` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
382
|
+
| `fields` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:306-315` |
|
|
383
383
|
| `fields` | property | `HumanTaskForm` | `dist/bpmn/human-task-form.d.ts:85-86` |
|
|
384
384
|
| `fileExtension` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:579-580` |
|
|
385
385
|
| `fileExtension` | property | `ContextIndexRef` | `dist/core/actions.d.ts:805-806` |
|
|
@@ -423,7 +423,7 @@ not find it either.
|
|
|
423
423
|
| `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:188-195` |
|
|
424
424
|
| `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:291-302` |
|
|
425
425
|
| `folderPath` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:81-82` |
|
|
426
|
-
| `folderPath` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
426
|
+
| `folderPath` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:174-175` |
|
|
427
427
|
| `folderPath` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1508-1509` |
|
|
428
428
|
| `folderPath` | property | `ContextIndexRef` | `dist/core/actions.d.ts:789-790` |
|
|
429
429
|
| `folderPath` | property | `HitlConnection` | `dist/nodes/hitl/flow/spec.d.ts:30-31` |
|
|
@@ -440,7 +440,7 @@ not find it either.
|
|
|
440
440
|
| `form` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:210-217` |
|
|
441
441
|
| `form` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1399-1400` |
|
|
442
442
|
| `form` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1433-1434` |
|
|
443
|
-
| `format` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
443
|
+
| `format` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:238-239` |
|
|
444
444
|
| `from` | property | `CreateOutgoingCallInputs` | `dist/nodes/agent/flow/spec.d.ts:88-92` |
|
|
445
445
|
| `function` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:935-950` |
|
|
446
446
|
| `goto` | method | `PathBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3374-3398` |
|
|
@@ -454,7 +454,7 @@ not find it either.
|
|
|
454
454
|
| `height` | property | `StickyNote` | `dist/flow-sdk.d.ts:804-805` |
|
|
455
455
|
| `hidden` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:27` |
|
|
456
456
|
| `hidden` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:68` |
|
|
457
|
-
| `hitl` | property | `FlowActionSpecs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
457
|
+
| `hitl` | property | `FlowActionSpecs` | `dist/nodes/hitl/flow/spec.d.ts:398-401` |
|
|
458
458
|
| `http` | property | `FlowActionSpecs` | `dist/nodes/http/flow/spec.d.ts:145-148` |
|
|
459
459
|
| `http` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2462-2496` |
|
|
460
460
|
| `humanTask` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2719-2802` |
|
|
@@ -500,8 +500,8 @@ not find it either.
|
|
|
500
500
|
| `inclusive` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1906-1910` |
|
|
501
501
|
| `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2362-2369` |
|
|
502
502
|
| `inlineAgent` | property | `FlowActionSpecs` | `dist/nodes/agent/flow/spec.d.ts:443-446` |
|
|
503
|
-
| `inOuts` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
504
|
-
| `inOuts` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
503
|
+
| `inOuts` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:258-259` |
|
|
504
|
+
| `inOuts` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:282-283` |
|
|
505
505
|
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1402-1427` |
|
|
506
506
|
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1702-1714` |
|
|
507
507
|
| `input` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1415-1416` |
|
|
@@ -510,13 +510,13 @@ not find it either.
|
|
|
510
510
|
| `inputName` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:92` |
|
|
511
511
|
| `inputPattern` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:91` |
|
|
512
512
|
| `inputRows` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1618-1626` |
|
|
513
|
-
| `inputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
513
|
+
| `inputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:254-255` |
|
|
514
514
|
| `inputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:564-565` |
|
|
515
515
|
| `inputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1616-1617` |
|
|
516
516
|
| `inputs` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:204-209` |
|
|
517
517
|
| `inputs` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:309-326` |
|
|
518
518
|
| `inputs` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:83-87` |
|
|
519
|
-
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
519
|
+
| `inputs` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:182-190` |
|
|
520
520
|
| `inputs` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:829-830` |
|
|
521
521
|
| `inputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:847` |
|
|
522
522
|
| `inputs` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:628-629` |
|
|
@@ -524,7 +524,7 @@ not find it either.
|
|
|
524
524
|
| `inputs` | property | `ExternalTaskOptions` | `dist/case/case-sdk.d.ts:455-456` |
|
|
525
525
|
| `inputs` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:228-258` |
|
|
526
526
|
| `inputs` | property | `NodeContribution` | `dist/core/node-classes.d.ts:113-117` |
|
|
527
|
-
| `inputs` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
527
|
+
| `inputs` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:278-279` |
|
|
528
528
|
| `inputs` | property | `ProcessToolRef` | `dist/core/actions.d.ts:661-662` |
|
|
529
529
|
| `inputs` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:150-151` |
|
|
530
530
|
| `inputs` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:95-96` |
|
|
@@ -534,7 +534,7 @@ not find it either.
|
|
|
534
534
|
| `inputs` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1112-1124` |
|
|
535
535
|
| `inputs` | property | `VoiceAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:136-141` |
|
|
536
536
|
| `inputSchema` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1669-1677` |
|
|
537
|
-
| `inputSchema` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
537
|
+
| `inputSchema` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:216-224` |
|
|
538
538
|
| `inputSchema` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:953-964` |
|
|
539
539
|
| `inputTarget` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:93` |
|
|
540
540
|
| `intermediateCatchEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2319-2326` |
|
|
@@ -549,11 +549,11 @@ not find it either.
|
|
|
549
549
|
| `isDynamic` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:107-114` |
|
|
550
550
|
| `isInterrupting` | property | `BuiltEntryCondition` | `dist/case/case-sdk.d.ts:322` |
|
|
551
551
|
| `isInterrupting` | property | `EntryOpts` | `dist/case/case-sdk.d.ts:798` |
|
|
552
|
-
| `isList` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
552
|
+
| `isList` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:271-272` |
|
|
553
553
|
| `isNot` | property | `FormFieldCondition` | `dist/core/actions.d.ts:123-124` |
|
|
554
554
|
| `item` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:26-31` |
|
|
555
555
|
| `item` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1342-1343` |
|
|
556
|
-
| `items` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
556
|
+
| `items` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:240-241` |
|
|
557
557
|
| `itemVar` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:83-84` |
|
|
558
558
|
| `ixpExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:160-163` |
|
|
559
559
|
| `join` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1911-1912` |
|
|
@@ -562,7 +562,7 @@ not find it either.
|
|
|
562
562
|
| `key` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:163-174` |
|
|
563
563
|
| `key` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:269-282` |
|
|
564
564
|
| `key` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:71-78` |
|
|
565
|
-
| `key` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
565
|
+
| `key` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:172-173` |
|
|
566
566
|
| `key` | property | `HitlConnection` | `dist/nodes/hitl/flow/spec.d.ts:28-29` |
|
|
567
567
|
| `key` | property | `HumanTaskAppOpts` | `dist/bpmn/bpmn-sdk.d.ts:1413-1414` |
|
|
568
568
|
| `key` | property | `McpToolRef` | `dist/core/actions.d.ts:452-453` |
|
|
@@ -598,14 +598,14 @@ not find it either.
|
|
|
598
598
|
| `label` | property | `SwitchArm` | `dist/flow-sdk.d.ts:370` |
|
|
599
599
|
| `labels` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:556-557` |
|
|
600
600
|
| `labels` | property | `EscalationRef` | `dist/core/actions.d.ts:769-770` |
|
|
601
|
-
| `labels` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
601
|
+
| `labels` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:333-334` |
|
|
602
602
|
| `labels` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1439-1440` |
|
|
603
603
|
| `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:639` |
|
|
604
604
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:783-784` |
|
|
605
605
|
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:856-857` |
|
|
606
606
|
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1381-1401` |
|
|
607
607
|
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1422-1448` |
|
|
608
|
-
| `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
608
|
+
| `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:357-389` |
|
|
609
609
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
|
|
610
610
|
| `limit` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:552-553` |
|
|
611
611
|
| `literal` | property | `Expr` | `dist/core/expr.d.ts:18` |
|
|
@@ -677,7 +677,7 @@ not find it either.
|
|
|
677
677
|
| `name` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:283-284` |
|
|
678
678
|
| `name` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:547-548` |
|
|
679
679
|
| `name` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:79-80` |
|
|
680
|
-
| `name` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
680
|
+
| `name` | property | `AppRef` | `dist/nodes/hitl/flow/spec.d.ts:170-171` |
|
|
681
681
|
| `name` | property | `BindingContribution` | `dist/core/node-classes.d.ts:87-88` |
|
|
682
682
|
| `name` | property | `BindingDecl` | `dist/bpmn/bpmn-sdk.d.ts:423-424` |
|
|
683
683
|
| `name` | property | `BindingOpts` | `dist/bpmn/bpmn-sdk.d.ts:1042-1043` |
|
|
@@ -728,7 +728,7 @@ not find it either.
|
|
|
728
728
|
| `name` | property | `OutputColumn` | `dist/nodes/ai-patterns/flow/spec.d.ts:43-44` |
|
|
729
729
|
| `name` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:2010-2011` |
|
|
730
730
|
| `name` | property | `PlainTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1703-1704` |
|
|
731
|
-
| `name` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
731
|
+
| `name` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:265-266` |
|
|
732
732
|
| `name` | property | `ProcessToolRef` | `dist/core/actions.d.ts:651-652` |
|
|
733
733
|
| `name` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:120-121` |
|
|
734
734
|
| `name` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1336-1337` |
|
|
@@ -793,12 +793,12 @@ not find it either.
|
|
|
793
793
|
| `options` | property | `FormFieldSettings` | `dist/core/actions.d.ts:192-196` |
|
|
794
794
|
| `or` | property | `DataFabricFilter` | `dist/nodes/data-fabric/flow/spec.d.ts:38-50` |
|
|
795
795
|
| `origin` | property | `PendingExit` | `dist/bpmn/bpmn-sdk.d.ts:2014-2019` |
|
|
796
|
-
| `outcomePorts` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
797
|
-
| `outcomes` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
796
|
+
| `outcomePorts` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:335-349` |
|
|
797
|
+
| `outcomes` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:260-261` |
|
|
798
798
|
| `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:759-764` |
|
|
799
|
-
| `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
799
|
+
| `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:316-330` |
|
|
800
800
|
| `outcomes` | property | `HumanTaskForm` | `dist/bpmn/human-task-form.d.ts:87-91` |
|
|
801
|
-
| `outcomes` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
801
|
+
| `outcomes` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:284-285` |
|
|
802
802
|
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1428-1440` |
|
|
803
803
|
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1715-1750` |
|
|
804
804
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:97` |
|
|
@@ -807,7 +807,7 @@ not find it either.
|
|
|
807
807
|
| `outputRows` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1646-1652` |
|
|
808
808
|
| `outputRows` | property | `ExtensionPayload` | `dist/bpmn/bpmn-sdk.d.ts:616-617` |
|
|
809
809
|
| `outputRows` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:943-952` |
|
|
810
|
-
| `outputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
810
|
+
| `outputs` | property | `ActionSchemaFile` | `dist/nodes/hitl/flow/spec.d.ts:256-257` |
|
|
811
811
|
| `outputs` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:566-567` |
|
|
812
812
|
| `outputs` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1644-1645` |
|
|
813
813
|
| `outputs` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:848` |
|
|
@@ -819,7 +819,7 @@ not find it either.
|
|
|
819
819
|
| `outputs` | property | `HumanTaskCommonOpts` | `dist/bpmn/bpmn-sdk.d.ts:1372-1382` |
|
|
820
820
|
| `outputs` | property | `NodeContribution` | `dist/core/node-classes.d.ts:118-122` |
|
|
821
821
|
| `outputs` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1302-1313` |
|
|
822
|
-
| `outputs` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
822
|
+
| `outputs` | property | `PlatformActionSchema` | `dist/nodes/hitl/flow/spec.d.ts:280-281` |
|
|
823
823
|
| `outputs` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1349-1360` |
|
|
824
824
|
| `outputs` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1475-1490` |
|
|
825
825
|
| `outputs` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:296-300` |
|
|
@@ -865,7 +865,7 @@ not find it either.
|
|
|
865
865
|
| `priority` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:551` |
|
|
866
866
|
| `priority` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:330-331` |
|
|
867
867
|
| `priority` | property | `EscalationRef` | `dist/core/actions.d.ts:767-768` |
|
|
868
|
-
| `priority` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
868
|
+
| `priority` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:304-305` |
|
|
869
869
|
| `priority` | property | `HumanTaskFormOpts` | `dist/bpmn/bpmn-sdk.d.ts:1437-1438` |
|
|
870
870
|
| `priority` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:32-33` |
|
|
871
871
|
| `process` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1260-1278` |
|
|
@@ -879,8 +879,8 @@ not find it either.
|
|
|
879
879
|
| `projectId` | property | `RpaWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:39-46` |
|
|
880
880
|
| `prompt` | property | `BatchTransformInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:54-55` |
|
|
881
881
|
| `prompt` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:32-33` |
|
|
882
|
-
| `properties` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
883
|
-
| `properties` | property | `ActionSchemaSection` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
882
|
+
| `properties` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:242-243` |
|
|
883
|
+
| `properties` | property | `ActionSchemaSection` | `dist/nodes/hitl/flow/spec.d.ts:249-250` |
|
|
884
884
|
| `propertyAttribute` | property | `BindingContribution` | `dist/core/node-classes.d.ts:97-98` |
|
|
885
885
|
| `propertyAttribute` | property | `BindingDecl` | `dist/bpmn/bpmn-sdk.d.ts:427-428` |
|
|
886
886
|
| `propertyAttribute` | property | `BindingOpts` | `dist/bpmn/bpmn-sdk.d.ts:1069-1070` |
|
|
@@ -895,7 +895,7 @@ not find it either.
|
|
|
895
895
|
| `race` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3132-3162` |
|
|
896
896
|
| `receiveMessage` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2803-2844` |
|
|
897
897
|
| `recipient` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:552-555` |
|
|
898
|
-
| `recipient` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
898
|
+
| `recipient` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:331-332` |
|
|
899
899
|
| `recipients` | property | `EscalationRef` | `dist/core/actions.d.ts:757-758` |
|
|
900
900
|
| `record` | property | `DataFabricDeleteInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:195-196` |
|
|
901
901
|
| `record` | property | `DataFabricUpdateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:163-164` |
|
|
@@ -905,10 +905,10 @@ not find it either.
|
|
|
905
905
|
| `relative` | property | `RegistryOutput` | `dist/bpmn/typed-node.d.ts:83` |
|
|
906
906
|
| `releaseKey` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1283-1292` |
|
|
907
907
|
| `renameTo` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:32-33` |
|
|
908
|
-
| `render` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
908
|
+
| `render` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:92-96` |
|
|
909
909
|
| `requestedVersion` | property | `ContributionContext` | `dist/core/node-classes.d.ts:72-78` |
|
|
910
910
|
| `required` | property | `ActionField` | `dist/case/case-sdk.d.ts:531-532` |
|
|
911
|
-
| `required` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
911
|
+
| `required` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:234-235` |
|
|
912
912
|
| `required` | property | `AskedField` | `dist/core/actions.d.ts:229-230` |
|
|
913
913
|
| `required` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:406-407` |
|
|
914
914
|
| `required` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:638` |
|
|
@@ -916,7 +916,7 @@ not find it either.
|
|
|
916
916
|
| `required` | property | `HumanTaskAskedField` | `dist/bpmn/human-task-form.d.ts:55-56` |
|
|
917
917
|
| `required` | property | `HumanTaskInOutField` | `dist/bpmn/human-task-form.d.ts:71-72` |
|
|
918
918
|
| `required` | property | `InOutField` | `dist/core/actions.d.ts:256-257` |
|
|
919
|
-
| `required` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
919
|
+
| `required` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:269-270` |
|
|
920
920
|
| `required` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:26` |
|
|
921
921
|
| `required` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:67` |
|
|
922
922
|
| `required` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1209-1215` |
|
|
@@ -1079,7 +1079,7 @@ not find it either.
|
|
|
1079
1079
|
| `stepToRef` | method | `StepList` | `dist/flow-sdk.d.ts:1332-1352` |
|
|
1080
1080
|
| `stickyNotes` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:858-859` |
|
|
1081
1081
|
| `stickyNotes` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1449-1474` |
|
|
1082
|
-
| `storageBucket` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1082
|
+
| `storageBucket` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:88-89` |
|
|
1083
1083
|
| `strategy` | property | `LookupSpec` | `dist/core/lookups.d.ts:33` |
|
|
1084
1084
|
| `style` | property | `CaseNodeLayout` | `dist/case/case-sdk.d.ts:709-710` |
|
|
1085
1085
|
| `subProcess` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3000-3009` |
|
|
@@ -1111,7 +1111,7 @@ not find it either.
|
|
|
1111
1111
|
| `task` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1216-1241` |
|
|
1112
1112
|
| `tasks` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:40-55` |
|
|
1113
1113
|
| `taskTitle` | property | `EscalationRef` | `dist/core/actions.d.ts:765-766` |
|
|
1114
|
-
| `taxonomy` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1114
|
+
| `taxonomy` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:97-98` |
|
|
1115
1115
|
| `temperature` | property | `ConversationalAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:64-65` |
|
|
1116
1116
|
| `temperature` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:283-284` |
|
|
1117
1117
|
| `temperature` | property | `VoiceSettings` | `dist/nodes/agent/flow/spec.d.ts:121-122` |
|
|
@@ -1129,7 +1129,7 @@ not find it either.
|
|
|
1129
1129
|
| `title` | property | `ActionSpecData` | `dist/case/case-sdk.d.ts:550` |
|
|
1130
1130
|
| `title` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:690-691` |
|
|
1131
1131
|
| `title` | property | `GuardrailFieldReference` | `dist/core/actions.d.ts:298` |
|
|
1132
|
-
| `title` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1132
|
+
| `title` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:302-303` |
|
|
1133
1133
|
| `title` | property | `HumanTaskCommonOpts` | `dist/bpmn/bpmn-sdk.d.ts:1370-1371` |
|
|
1134
1134
|
| `to` | property | `CreateOutgoingCallInputs` | `dist/nodes/agent/flow/spec.d.ts:93-94` |
|
|
1135
1135
|
| `tool` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:569-570` |
|
|
@@ -1149,8 +1149,8 @@ not find it either.
|
|
|
1149
1149
|
| `triggers` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:781-782` |
|
|
1150
1150
|
| `triggers` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:732-733` |
|
|
1151
1151
|
| `type` | property | `ActionField` | `dist/case/case-sdk.d.ts:516-517` |
|
|
1152
|
-
| `type` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1153
|
-
| `type` | property | `ActionSchemaSection` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1152
|
+
| `type` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:228-233` |
|
|
1153
|
+
| `type` | property | `ActionSchemaSection` | `dist/nodes/hitl/flow/spec.d.ts:247-248` |
|
|
1154
1154
|
| `type` | property | `AskedField` | `dist/core/actions.d.ts:227` |
|
|
1155
1155
|
| `type` | property | `BindingContribution` | `dist/core/node-classes.d.ts:89-90` |
|
|
1156
1156
|
| `type` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:390-391` |
|
|
@@ -1164,7 +1164,7 @@ not find it either.
|
|
|
1164
1164
|
| `type` | property | `HumanTaskShownField` | `dist/bpmn/human-task-form.d.ts:37-38` |
|
|
1165
1165
|
| `type` | property | `InOutField` | `dist/core/actions.d.ts:252` |
|
|
1166
1166
|
| `type` | property | `JsonSchemaType` | `dist/case/case-sdk.d.ts:650` |
|
|
1167
|
-
| `type` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1167
|
+
| `type` | property | `PlatformActionSchemaArg` | `dist/nodes/hitl/flow/spec.d.ts:267-268` |
|
|
1168
1168
|
| `type` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:25` |
|
|
1169
1169
|
| `type` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:66` |
|
|
1170
1170
|
| `type` | property | `RegistryOutput` | `dist/bpmn/typed-node.d.ts:80` |
|
|
@@ -1220,7 +1220,7 @@ not find it either.
|
|
|
1220
1220
|
| `variableOrder` | property | `BpmnPreservation` | `dist/bpmn/bpmn-sdk.d.ts:480-502` |
|
|
1221
1221
|
| `variables` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:513-514` |
|
|
1222
1222
|
| `variant` | property | `EscalationRef` | `dist/core/actions.d.ts:715-723` |
|
|
1223
|
-
| `variant` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:
|
|
1223
|
+
| `variant` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:292-296` |
|
|
1224
1224
|
| `variant` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:96-105` |
|
|
1225
1225
|
| `vars` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:775` |
|
|
1226
1226
|
| `vars` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:849` |
|
package/dist/core/refusals.d.ts
CHANGED
|
@@ -220,6 +220,7 @@ export declare const REFUSALS: {
|
|
|
220
220
|
readonly HITL_READ_NOT_OUTPUT: "lint";
|
|
221
221
|
readonly HITL_READ_STATUS: "lint";
|
|
222
222
|
readonly HITL_READ_UNKNOWN_FIELD: "lint";
|
|
223
|
+
readonly HITL_RECIPIENT_NO_USER: "lint";
|
|
223
224
|
readonly HITL_RECIPIENT_TYPE: "lint";
|
|
224
225
|
readonly HITL_RECIPIENT_VALUE: "lint";
|
|
225
226
|
readonly HITL_UNREACHABLE_AFTER: "lint";
|
package/dist/core/refusals.js
CHANGED
|
@@ -259,6 +259,7 @@ export const REFUSALS = {
|
|
|
259
259
|
HITL_READ_NOT_OUTPUT: 'lint',
|
|
260
260
|
HITL_READ_STATUS: 'lint',
|
|
261
261
|
HITL_READ_UNKNOWN_FIELD: 'lint',
|
|
262
|
+
HITL_RECIPIENT_NO_USER: 'lint',
|
|
262
263
|
HITL_RECIPIENT_TYPE: 'lint',
|
|
263
264
|
HITL_RECIPIENT_VALUE: 'lint',
|
|
264
265
|
HITL_UNREACHABLE_AFTER: 'lint',
|
package/dist/edit-scope.d.ts
CHANGED
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
*
|
|
13
13
|
* For instance, a canvas Slack node with no connection yet that the author did
|
|
14
14
|
* not touch is `kept`; the same node with a new message text is `refused`.
|
|
15
|
+
* A node the SDK cannot lower is compared by the stand-ins the two collect-mode
|
|
16
|
+
* compiles emit for it ({@link isStandIn}), and kept only when the original's
|
|
17
|
+
* own round trip refuses it too ({@link classifyLowering}).
|
|
15
18
|
*
|
|
16
19
|
* Pure: no file access, so a portable entry (`check.ts`, `merge.ts`) can use
|
|
17
20
|
* it. Reading the original and compiling its baseline is merge-compile.ts's.
|
|
@@ -70,6 +73,13 @@ export declare function byId(nodes: AnyNode[] | undefined): Map<string, AnyNode>
|
|
|
70
73
|
* decide "did the user edit this node?" against the baseline.
|
|
71
74
|
*/
|
|
72
75
|
export declare function nodeUnchanged(a: AnyNode | undefined, b: AnyNode | undefined): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether `n` is the opaque node a collect-mode compile emits in place of a
|
|
78
|
+
* step it could not lower (serialize.ts `standInNode`): the node type, the
|
|
79
|
+
* step's `{ version }`, and `inputs: { standIn: true, spec }`, the spec as
|
|
80
|
+
* authored. It is never written: merge restores the original node or refuses.
|
|
81
|
+
*/
|
|
82
|
+
export declare function isStandIn(n: AnyNode | undefined): boolean;
|
|
73
83
|
/**
|
|
74
84
|
* The keys of the subflows `mergeFlow` (merge.ts) takes from `edited` rather than
|
|
75
85
|
* restoring from `original`: every subflow that is new, that the original does
|
|
@@ -96,9 +106,15 @@ export declare function isKept(e: AnyNode, origNodes: Map<string, AnyNode>, base
|
|
|
96
106
|
* Why a finding is an error: `edited`, its node is one the author changed or
|
|
97
107
|
* added; `subflow`, it sits in a subflow the edit changed, which merge takes
|
|
98
108
|
* whole; `unplaced`, it names no node and the original's own round trip does
|
|
99
|
-
* not report it, so the edit introduced it.
|
|
109
|
+
* not report it, so the edit introduced it. Two more are for a lowering
|
|
110
|
+
* refusal on a node merge would keep ({@link classifyLowering}):
|
|
111
|
+
* `introduced`, the original's own round trip does not report it on that node,
|
|
112
|
+
* so an edit elsewhere broke it; `unrestorable`, restoring the node from the
|
|
113
|
+
* original would not undo it; `uncompared`, the node is the original's, but
|
|
114
|
+
* there is no collect-mode compile of the original to compare its stand-in
|
|
115
|
+
* with (no `--baseline-from`), so merge cannot tell whether the edit touched it.
|
|
100
116
|
*/
|
|
101
|
-
export type TakenReason = 'edited' | 'subflow' | 'unplaced';
|
|
117
|
+
export type TakenReason = 'edited' | 'subflow' | 'unplaced' | 'introduced' | 'unrestorable' | 'uncompared';
|
|
102
118
|
/**
|
|
103
119
|
* A finding on a node merge takes from the edited flow, with the reason it
|
|
104
120
|
* takes it: `edited`, the author changed or added the node; `subflow`, the
|
|
@@ -135,6 +151,47 @@ export declare function classifyDrafts<T extends {
|
|
|
135
151
|
refused: Refused<T>[];
|
|
136
152
|
unplaced: T[];
|
|
137
153
|
};
|
|
154
|
+
/** A refusal a compile reported on the node `nodeId` (`''` when it names none). */
|
|
155
|
+
export interface NodeRefusal {
|
|
156
|
+
nodeId: string;
|
|
157
|
+
code: string;
|
|
158
|
+
message: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Sort the lowering refusals of a collect-mode compile of the edited flow
|
|
162
|
+
* (`SerializeOpts.collect`, design D3) by what merge does with their node, as
|
|
163
|
+
* {@link classifyDrafts} does for drafts, then hold a kept one to the rest of
|
|
164
|
+
* what "pre-existing" means (docs/CHECK_COMPILE_CONTRACT_DESIGN.md §3.3). It
|
|
165
|
+
* stays `kept`, and merge restores the original node, only when:
|
|
166
|
+
*
|
|
167
|
+
* - the ORIGINAL's own round trip (`baselineRefusals`, the baseline compiled
|
|
168
|
+
* in collect mode) reports the same code on the same node; else it is
|
|
169
|
+
* refused as `introduced`: an edit elsewhere broke a node the author did
|
|
170
|
+
* not touch (a deleted node it reads), and restoring it would keep the
|
|
171
|
+
* break;
|
|
172
|
+
* - restoring the node undoes the refusal; else it is refused as
|
|
173
|
+
* `unrestorable`. That holds for a root node the compile stood in for
|
|
174
|
+
* ({@link isStandIn}: its own emission failed, and its edges are wired as
|
|
175
|
+
* any node's), and for any node of an untouched subflow, which merge
|
|
176
|
+
* restores whole. A refusal on a root node that did lower (an edge out of
|
|
177
|
+
* it, a join it feeds) is about edges merge takes from the edited flow.
|
|
178
|
+
* The {@link NEVER_KEPT_CODES} are `unrestorable` too.
|
|
179
|
+
*
|
|
180
|
+
* `baselineRefusals` is `undefined` when the baseline was not compiled in
|
|
181
|
+
* collect mode (a precompiled `--baseline` file, or none). Then a stand-in has
|
|
182
|
+
* nothing to equal (a precompiled baseline holds the node lowered, or the file
|
|
183
|
+
* would not exist), and nothing says how the original's round trip treats the
|
|
184
|
+
* node, so every refusal on a node the original has is `uncompared`, never
|
|
185
|
+
* `edited`: the author may not have touched it.
|
|
186
|
+
*
|
|
187
|
+
* For instance a canvas Jira node whose input the SDK cannot read, untouched,
|
|
188
|
+
* is `kept`; the same node with a changed summary is `refused` as `edited`.
|
|
189
|
+
*/
|
|
190
|
+
export declare function classifyLowering<T extends NodeRefusal>(original: any, edited: any, baseline: any, refusals: readonly T[], baselineRefusals: readonly NodeRefusal[] | undefined): {
|
|
191
|
+
kept: Kept<T>[];
|
|
192
|
+
refused: Refused<T>[];
|
|
193
|
+
unplaced: T[];
|
|
194
|
+
};
|
|
138
195
|
/**
|
|
139
196
|
* A `check()` diagnostic, placed on the node its step emitted (`''` when it
|
|
140
197
|
* names no node); `subflow` is the calling step when the finding is inside a
|
package/dist/edit-scope.js
CHANGED
|
@@ -15,9 +15,25 @@ export function nodeUnchanged(a, b) {
|
|
|
15
15
|
return false;
|
|
16
16
|
if (a.type !== b.type)
|
|
17
17
|
return false;
|
|
18
|
+
// A step that fails to lower has no compiled node on either side, only the
|
|
19
|
+
// collect-mode stand-in (D5): equal stand-ins mean the edit did not touch the
|
|
20
|
+
// spec. Its `typeVersion` is the author's `{ version }` pin, so it counts.
|
|
21
|
+
if (isStandIn(a) || isStandIn(b)) {
|
|
22
|
+
return isStandIn(a) && isStandIn(b) && a.typeVersion === b.typeVersion
|
|
23
|
+
&& JSON.stringify(a.inputs) === JSON.stringify(b.inputs);
|
|
24
|
+
}
|
|
18
25
|
return JSON.stringify(a.inputs ?? {}) === JSON.stringify(b.inputs ?? {})
|
|
19
26
|
&& JSON.stringify(outputSources(a)) === JSON.stringify(outputSources(b));
|
|
20
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Whether `n` is the opaque node a collect-mode compile emits in place of a
|
|
30
|
+
* step it could not lower (serialize.ts `standInNode`): the node type, the
|
|
31
|
+
* step's `{ version }`, and `inputs: { standIn: true, spec }`, the spec as
|
|
32
|
+
* authored. It is never written: merge restores the original node or refuses.
|
|
33
|
+
*/
|
|
34
|
+
export function isStandIn(n) {
|
|
35
|
+
return n?.inputs?.standIn === true;
|
|
36
|
+
}
|
|
21
37
|
/** Each output's `source` by output name; outputs without one are left out. */
|
|
22
38
|
function outputSources(n) {
|
|
23
39
|
const sources = {};
|
|
@@ -160,6 +176,72 @@ export function classifyDrafts(original, edited, baseline, findings) {
|
|
|
160
176
|
}
|
|
161
177
|
return { kept, refused, unplaced };
|
|
162
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Lowering codes merge never keeps as saved, even on an untouched node:
|
|
181
|
+
* `COMPILE_FAILED` is a throw the SDK has no refusal for (a crash, not a
|
|
182
|
+
* finding to step over), and `LIBRARY_REQUIRED` is about compile's inputs,
|
|
183
|
+
* not about the node.
|
|
184
|
+
*/
|
|
185
|
+
const NEVER_KEPT_CODES = new Set(['COMPILE_FAILED', 'LIBRARY_REQUIRED']);
|
|
186
|
+
/**
|
|
187
|
+
* Sort the lowering refusals of a collect-mode compile of the edited flow
|
|
188
|
+
* (`SerializeOpts.collect`, design D3) by what merge does with their node, as
|
|
189
|
+
* {@link classifyDrafts} does for drafts, then hold a kept one to the rest of
|
|
190
|
+
* what "pre-existing" means (docs/CHECK_COMPILE_CONTRACT_DESIGN.md §3.3). It
|
|
191
|
+
* stays `kept`, and merge restores the original node, only when:
|
|
192
|
+
*
|
|
193
|
+
* - the ORIGINAL's own round trip (`baselineRefusals`, the baseline compiled
|
|
194
|
+
* in collect mode) reports the same code on the same node; else it is
|
|
195
|
+
* refused as `introduced`: an edit elsewhere broke a node the author did
|
|
196
|
+
* not touch (a deleted node it reads), and restoring it would keep the
|
|
197
|
+
* break;
|
|
198
|
+
* - restoring the node undoes the refusal; else it is refused as
|
|
199
|
+
* `unrestorable`. That holds for a root node the compile stood in for
|
|
200
|
+
* ({@link isStandIn}: its own emission failed, and its edges are wired as
|
|
201
|
+
* any node's), and for any node of an untouched subflow, which merge
|
|
202
|
+
* restores whole. A refusal on a root node that did lower (an edge out of
|
|
203
|
+
* it, a join it feeds) is about edges merge takes from the edited flow.
|
|
204
|
+
* The {@link NEVER_KEPT_CODES} are `unrestorable` too.
|
|
205
|
+
*
|
|
206
|
+
* `baselineRefusals` is `undefined` when the baseline was not compiled in
|
|
207
|
+
* collect mode (a precompiled `--baseline` file, or none). Then a stand-in has
|
|
208
|
+
* nothing to equal (a precompiled baseline holds the node lowered, or the file
|
|
209
|
+
* would not exist), and nothing says how the original's round trip treats the
|
|
210
|
+
* node, so every refusal on a node the original has is `uncompared`, never
|
|
211
|
+
* `edited`: the author may not have touched it.
|
|
212
|
+
*
|
|
213
|
+
* For instance a canvas Jira node whose input the SDK cannot read, untouched,
|
|
214
|
+
* is `kept`; the same node with a changed summary is `refused` as `edited`.
|
|
215
|
+
*/
|
|
216
|
+
export function classifyLowering(original, edited, baseline, refusals, baselineRefusals) {
|
|
217
|
+
const sorted = classifyDrafts(original, edited, baseline, refusals);
|
|
218
|
+
if (baselineRefusals === undefined) {
|
|
219
|
+
const originalIds = new Set([
|
|
220
|
+
...(original?.nodes ?? []).map((n) => n.id),
|
|
221
|
+
...Object.values(original?.subflows ?? {}).flatMap((sf) => (sf?.nodes ?? []).map((n) => n.id)),
|
|
222
|
+
]);
|
|
223
|
+
const refused = [...sorted.kept, ...sorted.refused].map((f) => ({
|
|
224
|
+
...f,
|
|
225
|
+
reason: originalIds.has(f.nodeId) ? 'uncompared' : f.reason ?? 'edited',
|
|
226
|
+
}));
|
|
227
|
+
return { kept: [], refused, unplaced: sorted.unplaced };
|
|
228
|
+
}
|
|
229
|
+
const onNode = (r) => `${r.nodeId}\n${r.code}`;
|
|
230
|
+
const inBaseline = new Set(baselineRefusals.filter((r) => r.nodeId !== '').map(onNode));
|
|
231
|
+
const editedNodes = byId(edited?.nodes);
|
|
232
|
+
const kept = [];
|
|
233
|
+
const refused = [...sorted.refused];
|
|
234
|
+
for (const f of sorted.kept) {
|
|
235
|
+
const restorable = !NEVER_KEPT_CODES.has(f.code) && (f.subflow !== undefined || isStandIn(editedNodes.get(f.nodeId)));
|
|
236
|
+
if (!restorable)
|
|
237
|
+
refused.push({ ...f, reason: 'unrestorable' });
|
|
238
|
+
else if (!inBaseline.has(onNode(f)))
|
|
239
|
+
refused.push({ ...f, reason: 'introduced' });
|
|
240
|
+
else
|
|
241
|
+
kept.push(f);
|
|
242
|
+
}
|
|
243
|
+
return { kept, refused, unplaced: sorted.unplaced };
|
|
244
|
+
}
|
|
163
245
|
/**
|
|
164
246
|
* Place each `check()` diagnostic on the node its step emitted in `editedFlow`, so
|
|
165
247
|
* {@link classifyDrafts} can sort it: a root step on its node (by label, then
|
package/dist/merge-cli.js
CHANGED
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
* `--baseline-from <original.flow>` makes merge build the baseline itself
|
|
10
10
|
* (decompile + compile, nothing written), and an edited `.flow.ts` makes merge
|
|
11
11
|
* compile it: both compiles tolerate DRAFT nodes, and merge refuses a draft
|
|
12
|
-
* only where it would take the node from the edited flow.
|
|
13
|
-
*
|
|
12
|
+
* only where it would take the node from the edited flow. Both also run in
|
|
13
|
+
* collect mode, so a node the SDK cannot lower (#1402) is stood in for: merge
|
|
14
|
+
* restores it from the original when the edit did not touch it and the
|
|
15
|
+
* original's own round trip refuses it too (`LOWERING_NODE_KEPT`, printed as a
|
|
16
|
+
* probable SDK defect), and refuses the write when the edit changed it. See
|
|
17
|
+
* merge-compile.ts and edit-scope.ts. Neither warning depends on `--strict`:
|
|
18
|
+
* both nodes are written as the canvas saved them; `--strict` still refuses a
|
|
19
|
+
* stand-in whose wiring changed the round trip.
|
|
14
20
|
*
|
|
15
21
|
* `edited.flow` is compile(decompile(original) after your edits). `--baseline`
|
|
16
22
|
* is compile(decompile(original)) BEFORE any edit — supplying it enables the
|
|
@@ -57,7 +63,7 @@ import { Bindings } from './bindings.js';
|
|
|
57
63
|
import { defaultBindingsFile } from './workdir.js';
|
|
58
64
|
import { loadNodePackages } from './node-packages.js';
|
|
59
65
|
import { baselineFromOriginal, checkEdited, compileSourceDraftTolerant } from './merge-compile.js';
|
|
60
|
-
import { classifyDrafts, findingCounts, splitUnplaced } from './edit-scope.js';
|
|
66
|
+
import { classifyDrafts, classifyLowering, findingCounts, splitUnplaced } from './edit-scope.js';
|
|
61
67
|
const USAGE = 'usage: flow-merge <original.flow> <edited.flow | Edited.flow.ts> [-o merged.flow] '
|
|
62
68
|
+ '[--baseline <baseline.flow> | --baseline-from <original.flow>] [--library <dir>] [--bindings <file>] [--strict]';
|
|
63
69
|
/**
|
|
@@ -185,6 +191,7 @@ export async function run(argv) {
|
|
|
185
191
|
const compileOpts = { library, bindings };
|
|
186
192
|
const original = JSON.parse(readFileSync(originalPath, 'utf8'));
|
|
187
193
|
let drafts = [];
|
|
194
|
+
let lowering = [];
|
|
188
195
|
let diagnostics = [];
|
|
189
196
|
let edited;
|
|
190
197
|
let editedSidecars;
|
|
@@ -198,6 +205,7 @@ export async function run(argv) {
|
|
|
198
205
|
edited = compiled.flow;
|
|
199
206
|
editedSidecars = compiled.sidecars;
|
|
200
207
|
drafts = compiled.drafts;
|
|
208
|
+
lowering = compiled.lowering.map(onNode);
|
|
201
209
|
diagnostics = checkEdited(compiled.built, edited, flowCheckOpts(library, bindings));
|
|
202
210
|
}
|
|
203
211
|
else {
|
|
@@ -229,6 +237,9 @@ export async function run(argv) {
|
|
|
229
237
|
// check()'s errors follow the same rule; its warnings are printed as compile prints them.
|
|
230
238
|
const { kept, refused, unplaced } = classifyDrafts(original, edited, baseline, drafts);
|
|
231
239
|
const checked = classifyDrafts(original, edited, baseline, diagnostics.filter((d) => d.level === 'error'));
|
|
240
|
+
// A node the SDK cannot lower follows the draft rule, held to the baseline:
|
|
241
|
+
// kept only when the original's own round trip refuses it the same way.
|
|
242
|
+
const lowered = classifyLowering(original, edited, baseline, lowering, baselineCompile?.lowering.map(onNode));
|
|
232
243
|
for (const d of diagnostics)
|
|
233
244
|
if (d.level === 'warning')
|
|
234
245
|
console.error(` ⚠ [${d.code}] ${d.message}`);
|
|
@@ -237,6 +248,14 @@ export async function run(argv) {
|
|
|
237
248
|
? ` ⚠ [DRAFT_NODE_KEPT] "${d.nodeId}" is unfinished in the original (${d.code}); it is inside subflow "${d.subflow}", which the edit did not touch, so the original subflow is kept as is.`
|
|
238
249
|
: ` ⚠ [DRAFT_NODE_KEPT] "${d.nodeId}" is unfinished in the original (${d.code}); it is untouched, so the original node is kept as is.`);
|
|
239
250
|
}
|
|
251
|
+
for (const d of lowered.kept) {
|
|
252
|
+
const where = d.subflow !== undefined
|
|
253
|
+
? `is inside subflow "${d.subflow}", which the edit did not touch, so the original subflow is kept as is`
|
|
254
|
+
: 'is untouched, so the original node is kept as is';
|
|
255
|
+
console.error(` ⚠ [LOWERING_NODE_KEPT] "${d.nodeId}" ${where}, but the SDK cannot compile it (${d.code}). `
|
|
256
|
+
+ 'This is probably an SDK defect: the SDK cannot read what the designer wrote. Report it: https://github.com/UiPath/builder-sdk/issues');
|
|
257
|
+
console.error(` ${d.message}`);
|
|
258
|
+
}
|
|
240
259
|
// A finding merge cannot place on a node — an unnamed End's `.return`, a
|
|
241
260
|
// flow-level finding — is printed when the ORIGINAL's own round trip reports
|
|
242
261
|
// it too (the designer's file had it; check has already said it), and
|
|
@@ -245,16 +264,18 @@ export async function run(argv) {
|
|
|
245
264
|
// one is refused, as before.
|
|
246
265
|
const baselineFindings = baselineCompile === undefined ? undefined : findingCounts([
|
|
247
266
|
...baselineCompile.drafts,
|
|
267
|
+
...baselineCompile.lowering,
|
|
248
268
|
...checkEdited(baselineCompile.built, baselineCompile.flow, flowCheckOpts(library, bindings)).filter((d) => d.level === 'error'),
|
|
249
269
|
]);
|
|
250
270
|
const unplacedDrafts = splitUnplaced(unplaced, baselineFindings);
|
|
251
271
|
const unplacedChecks = splitUnplaced(checked.unplaced, baselineFindings);
|
|
252
|
-
|
|
272
|
+
const unplacedLowering = splitUnplaced(lowered.unplaced, baselineFindings);
|
|
273
|
+
for (const d of [...unplacedDrafts.known, ...unplacedChecks.known, ...unplacedLowering.known]) {
|
|
253
274
|
console.error(` ⚠ [CHECK_FINDING_UNPLACED] ${d.code} names no node, and the original's own round trip reports it too, so it does not stop the write: ${d.message}`);
|
|
254
275
|
}
|
|
255
276
|
const errors = [
|
|
256
|
-
...refused, ...checked.refused,
|
|
257
|
-
...[...unplacedDrafts.introduced, ...unplacedChecks.introduced].map((d) => ({ ...d, reason: 'unplaced' })),
|
|
277
|
+
...refused, ...checked.refused, ...lowered.refused,
|
|
278
|
+
...[...unplacedDrafts.introduced, ...unplacedChecks.introduced, ...unplacedLowering.introduced].map((d) => ({ ...d, reason: 'unplaced' })),
|
|
258
279
|
];
|
|
259
280
|
if (errors.length) {
|
|
260
281
|
for (const d of errors) {
|
|
@@ -262,10 +283,17 @@ export async function run(argv) {
|
|
|
262
283
|
? 'the edited flow (this finding names no node, and the original\'s own round trip does not report it, so the edit introduced it)'
|
|
263
284
|
: d.reason === 'subflow'
|
|
264
285
|
? `"${d.nodeId}" is inside subflow "${d.subflow}", which the edit changed, so merge takes that subflow whole; finish it`
|
|
265
|
-
:
|
|
286
|
+
: d.reason === 'introduced'
|
|
287
|
+
? `"${d.nodeId}" is untouched, but the original's own round trip does not refuse it, so an edit elsewhere broke it`
|
|
288
|
+
: d.reason === 'unrestorable'
|
|
289
|
+
? unrestorable(d.nodeId, d.code)
|
|
290
|
+
: d.reason === 'uncompared'
|
|
291
|
+
? `"${d.nodeId}" is the original's, but the SDK cannot compile it, and ${baseline ? 'a precompiled --baseline has no record of' : 'with no baseline merge cannot tell'} `
|
|
292
|
+
+ 'whether the edit touched it; pass --baseline-from <original.flow> (instead of --baseline) so merge compiles the original itself and can compare the node'
|
|
293
|
+
: `"${d.nodeId}" is changed or new in the edited flow`;
|
|
266
294
|
console.error(` ✗ [${d.code}] ${where}: ${d.message}`);
|
|
267
295
|
}
|
|
268
|
-
console.error(`flow-merge: ${errors.length} error(s) in nodes merge takes from the edited flow; finish
|
|
296
|
+
console.error(`flow-merge: ${errors.length} error(s) in nodes merge takes from the edited flow; each line says what to do (finish the node, revert the edit, or pass what merge needs). Nothing written.`);
|
|
269
297
|
return 1;
|
|
270
298
|
}
|
|
271
299
|
// Each compile writes `<source>/` beside its own output, so a baseline in the
|
|
@@ -345,4 +373,23 @@ export async function run(argv) {
|
|
|
345
373
|
});
|
|
346
374
|
return 0;
|
|
347
375
|
}
|
|
376
|
+
/**
|
|
377
|
+
* The error for a refusal on an untouched node that restoring it from the
|
|
378
|
+
* original would not undo, with the step to take: a crash is an SDK defect;
|
|
379
|
+
* a missing input to compile (the node library) is the caller's to pass; any
|
|
380
|
+
* other is about the edges merge takes from the edited flow.
|
|
381
|
+
*/
|
|
382
|
+
function unrestorable(nodeId, code) {
|
|
383
|
+
const report = 'https://github.com/UiPath/builder-sdk/issues';
|
|
384
|
+
if (code === 'COMPILE_FAILED')
|
|
385
|
+
return `"${nodeId}" is untouched, but the SDK failed while compiling it; this is an SDK defect, report it: ${report}`;
|
|
386
|
+
if (code === 'LIBRARY_REQUIRED')
|
|
387
|
+
return `"${nodeId}" is untouched, but compiling it needs the node library; pass --library <dir> and merge again`;
|
|
388
|
+
return `"${nodeId}" is untouched, but restoring it from the original would not undo this: revert the edit's changes to the edges `
|
|
389
|
+
+ `into or out of it; if there are none, this is an SDK defect, report it: ${report}`;
|
|
390
|
+
}
|
|
391
|
+
/** A collect-mode refusal as edit-scope.ts sorts it: on its node, or on none (`''`). */
|
|
392
|
+
function onNode(r) {
|
|
393
|
+
return { nodeId: r.nodeId ?? '', code: r.code, message: r.message };
|
|
394
|
+
}
|
|
348
395
|
runWhenInvokedDirectly(import.meta.url, 'flow-merge', run);
|
package/dist/merge-compile.d.ts
CHANGED
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
import { type DraftFinding, type SerializeOpts } from './serialize.js';
|
|
1
|
+
import { type CollectedRefusal, type DraftFinding, type SerializeOpts } from './serialize.js';
|
|
2
2
|
import { type CheckOpts } from './check.js';
|
|
3
3
|
import { type PlacedDiagnostic } from './edit-scope.js';
|
|
4
4
|
import type { BuiltFlow } from './flow-sdk.js';
|
|
5
5
|
/**
|
|
6
|
-
* A compile's flow, the draft refusals it reported instead of throwing,
|
|
7
|
-
*
|
|
6
|
+
* A compile's flow, the draft refusals it reported instead of throwing, the
|
|
7
|
+
* lowering refusals collect mode reported on the steps it stood in for (or on
|
|
8
|
+
* no step), and the agent sidecars (`<source>/agent.json`, resource files) it
|
|
9
|
+
* produced, none written.
|
|
8
10
|
*/
|
|
9
11
|
export interface DraftTolerantCompile {
|
|
10
12
|
flow: any;
|
|
11
13
|
drafts: DraftFinding[];
|
|
14
|
+
lowering: CollectedRefusal[];
|
|
12
15
|
sidecars: Array<{
|
|
13
16
|
path: string;
|
|
14
17
|
json: unknown;
|
|
15
18
|
}>;
|
|
16
19
|
}
|
|
17
|
-
/**
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Compile `built` with draft tolerance, in collect mode: a step whose
|
|
22
|
+
* emission is refused is reported in `lowering` and stood in for, so the
|
|
23
|
+
* rest of the flow is still compiled. A scope-level refusal (two steps with
|
|
24
|
+
* one name, a variable plan) leaves no flow to merge, so it is thrown, as an
|
|
25
|
+
* ordinary compile throws it.
|
|
26
|
+
*/
|
|
27
|
+
export declare function compileDraftTolerant(built: BuiltFlow, opts?: Omit<SerializeOpts, 'draft' | 'collect'>): DraftTolerantCompile;
|
|
19
28
|
/**
|
|
20
29
|
* Load a `.flow.ts` source and compile it with draft tolerance.
|
|
21
30
|
* The caller has already called `ensureTypeScriptRuntime()`.
|
|
22
31
|
*/
|
|
23
|
-
export declare function compileSourceDraftTolerant(file: string, opts?: Omit<SerializeOpts, 'draft'>): Promise<DraftTolerantCompile & {
|
|
32
|
+
export declare function compileSourceDraftTolerant(file: string, opts?: Omit<SerializeOpts, 'draft' | 'collect'>): Promise<DraftTolerantCompile & {
|
|
24
33
|
built: BuiltFlow;
|
|
25
34
|
}>;
|
|
26
35
|
/**
|
|
27
36
|
* The baseline of `originalPath`: decompile it (reading agent sidecars beside
|
|
28
|
-
* it, as `flow decompile` does), then compile the source with draft tolerance
|
|
37
|
+
* it, as `flow decompile` does), then compile the source with draft tolerance,
|
|
38
|
+
* in collect mode ({@link compileDraftTolerant}).
|
|
29
39
|
* The source goes to a temporary directory that is removed afterwards.
|
|
30
40
|
*/
|
|
31
|
-
export declare function baselineFromOriginal(originalPath: string, opts?: Omit<SerializeOpts, 'draft'>, warn?: (message: string) => void): Promise<DraftTolerantCompile & {
|
|
41
|
+
export declare function baselineFromOriginal(originalPath: string, opts?: Omit<SerializeOpts, 'draft' | 'collect'>, warn?: (message: string) => void): Promise<DraftTolerantCompile & {
|
|
32
42
|
built: BuiltFlow;
|
|
33
43
|
}>;
|
|
34
44
|
/**
|
package/dist/merge-compile.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* merge-compile — the compiles `flow merge --baseline-from` runs itself (#1134).
|
|
3
3
|
*
|
|
4
|
-
* Both compiles tolerate draft nodes (`SerializeOpts.draft`)
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* is
|
|
4
|
+
* Both compiles tolerate draft nodes (`SerializeOpts.draft`) and run in collect
|
|
5
|
+
* mode (`SerializeOpts.collect`), so a node that fails to lower is reported and
|
|
6
|
+
* stood in for instead of stopping the compile. A draft or lowering refusal on
|
|
7
|
+
* a node merge keeps from the original is a warning; one on a node merge takes
|
|
8
|
+
* from the edited flow, like a `check()` error there, is an error. Nothing
|
|
9
|
+
* these compiles produce is written to disk. Which nodes count as edited, and
|
|
10
|
+
* how each finding is sorted, is edit-scope.ts's.
|
|
9
11
|
*/
|
|
10
12
|
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
11
13
|
import { tmpdir } from 'node:os';
|
|
@@ -13,15 +15,28 @@ import { dirname, join, resolve } from 'node:path';
|
|
|
13
15
|
import { decompile } from './decompile.js';
|
|
14
16
|
import { loadBuiltFlow } from './load.js';
|
|
15
17
|
import { serialize } from './serialize.js';
|
|
18
|
+
import { CompileRefusal } from './core/compile-refusal.js';
|
|
16
19
|
import { PACKAGE_NAME } from './package-name.js';
|
|
17
20
|
import { check } from './check.js';
|
|
18
21
|
import { placeDiagnostics } from './edit-scope.js';
|
|
19
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Compile `built` with draft tolerance, in collect mode: a step whose
|
|
24
|
+
* emission is refused is reported in `lowering` and stood in for, so the
|
|
25
|
+
* rest of the flow is still compiled. A scope-level refusal (two steps with
|
|
26
|
+
* one name, a variable plan) leaves no flow to merge, so it is thrown, as an
|
|
27
|
+
* ordinary compile throws it.
|
|
28
|
+
*/
|
|
20
29
|
export function compileDraftTolerant(built, opts = {}) {
|
|
21
30
|
const drafts = [];
|
|
31
|
+
const lowering = [];
|
|
22
32
|
const sidecars = [];
|
|
23
|
-
const flow = serialize(built, { ...opts, draft: (f) => drafts.push(f), sidecars });
|
|
24
|
-
|
|
33
|
+
const flow = serialize(built, { ...opts, draft: (f) => drafts.push(f), collect: (r) => lowering.push(r), sidecars });
|
|
34
|
+
if (flow === undefined) {
|
|
35
|
+
// Collection stopped: the refusal that stopped it is the last one reported.
|
|
36
|
+
const stop = lowering[lowering.length - 1];
|
|
37
|
+
throw new CompileRefusal(stop.code, stop.message, stop.suggestion);
|
|
38
|
+
}
|
|
39
|
+
return { flow, drafts, lowering, sidecars };
|
|
25
40
|
}
|
|
26
41
|
/**
|
|
27
42
|
* Load a `.flow.ts` source and compile it with draft tolerance.
|
|
@@ -33,7 +48,8 @@ export async function compileSourceDraftTolerant(file, opts = {}) {
|
|
|
33
48
|
}
|
|
34
49
|
/**
|
|
35
50
|
* The baseline of `originalPath`: decompile it (reading agent sidecars beside
|
|
36
|
-
* it, as `flow decompile` does), then compile the source with draft tolerance
|
|
51
|
+
* it, as `flow decompile` does), then compile the source with draft tolerance,
|
|
52
|
+
* in collect mode ({@link compileDraftTolerant}).
|
|
37
53
|
* The source goes to a temporary directory that is removed afterwards.
|
|
38
54
|
*/
|
|
39
55
|
export async function baselineFromOriginal(originalPath, opts = {}, warn) {
|
|
@@ -47,10 +47,21 @@ export const HITL_DIAGNOSTICS = {
|
|
|
47
47
|
HITL_CHANNEL_UNKNOWN: { severity: 'error', summary: 'a delivery channel the platform does not recognize' },
|
|
48
48
|
HITL_RECIPIENT_TYPE: { severity: 'error', summary: 'an assignee type the platform does not recognize' },
|
|
49
49
|
HITL_RECIPIENT_VALUE: { severity: 'warning', summary: 'a custom assignment with no value' },
|
|
50
|
+
HITL_RECIPIENT_NO_USER: { severity: 'warning', summary: 'a single-user assignment that names no user' },
|
|
50
51
|
HITL_READ_STATUS: { severity: 'error', summary: 'a read of the status projection instead of output.Action' },
|
|
51
52
|
HITL_READ_NOT_OUTPUT: { severity: 'error', summary: 'a read of the task outside output' },
|
|
52
53
|
HITL_READ_UNKNOWN_FIELD: { severity: 'error', summary: 'a read of a field the form does not answer' },
|
|
53
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* The assignee types that name ONE person, so an authored one with no value is
|
|
57
|
+
* almost certainly a missing pick. flow-v1's serializer
|
|
58
|
+
* (`services/src/serialization/hitl-serialization.ts`) writes the `recipient`
|
|
59
|
+
* context only when a value is present, and PO.BpmnEngine assigns only when
|
|
60
|
+
* `Recipient` or `CustomAssignees` is set — with neither, ANY assignee type is
|
|
61
|
+
* created unassigned in its folder. A warning, not an error: an unassigned task
|
|
62
|
+
* runs; it just waits for someone to pick it up.
|
|
63
|
+
*/
|
|
64
|
+
const HITL_ASSIGNEE_TYPES_NEEDING_VALUE = ['user', 'staticEmail'];
|
|
54
65
|
/** Names the human task's own result already uses — an answer cannot claim one. */
|
|
55
66
|
const RESERVED_ANSWER_IDS = new Set(['output', 'status', 'Action']);
|
|
56
67
|
/**
|
|
@@ -380,8 +391,13 @@ export function checkHitl(inputs, ctx) {
|
|
|
380
391
|
+ `${HITL_ASSIGNEE_TYPES.join(', ')}.`, nearest !== undefined ? `assignee: { type: '${nearest}' }` : undefined);
|
|
381
392
|
}
|
|
382
393
|
else if (at2 === 'custom' && !(typeof rec.assignee?.value === 'string' && rec.assignee.value.trim())) {
|
|
383
|
-
at('HITL_RECIPIENT_VALUE', `Human task "${step}" uses a custom assignment with no value
|
|
384
|
-
+ `
|
|
394
|
+
at('HITL_RECIPIENT_VALUE', `Human task "${step}" uses a custom assignment with no value, so no one is assigned: `
|
|
395
|
+
+ `the task is created unassigned in its folder.`, `assignee: { type: 'custom', value: '<expression>' }`);
|
|
396
|
+
}
|
|
397
|
+
else if (HITL_ASSIGNEE_TYPES_NEEDING_VALUE.includes(String(at2))
|
|
398
|
+
&& !(typeof rec.assignee?.value === 'string' && rec.assignee.value.trim())) {
|
|
399
|
+
at('HITL_RECIPIENT_NO_USER', `Human task "${step}" assigns its recipient to a single user (type '${at2}') but names no `
|
|
400
|
+
+ `user, so no one is assigned: the task is created unassigned in its folder. Name the user.`, `assignee: { type: '${at2}', value: 'reviewer@example.com' }`);
|
|
385
401
|
}
|
|
386
402
|
}
|
|
387
403
|
// A form with nothing to fill in and one outcome is a notification, not a task
|
|
@@ -32,9 +32,11 @@ export interface HitlConnection {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Who gets the task and over which channels. Omit the whole object for the
|
|
35
|
-
* definition's default (Email + Action Center
|
|
36
|
-
* what 203 of 233 deployed v1 human tasks carry
|
|
37
|
-
*
|
|
35
|
+
* definition's default: delivered on its channels (Email + Action Center on the
|
|
36
|
+
* inline forms — what 203 of 233 deployed v1 human tasks carry — Action Center
|
|
37
|
+
* alone on `'action-app'` and `'document-validation'`), and unassigned. The
|
|
38
|
+
* default's assignee carries no value, so the task is created unassigned in its
|
|
39
|
+
* folder until someone picks it up; name an assignee `value` to assign it.
|
|
38
40
|
*
|
|
39
41
|
* ```ts
|
|
40
42
|
* hitl({
|
|
@@ -54,8 +56,12 @@ export interface HitlRecipient {
|
|
|
54
56
|
type: HitlAssigneeType;
|
|
55
57
|
/**
|
|
56
58
|
* The user email / group name / expression, per `type`. The engine lowers
|
|
57
|
-
* this to its `{ Value, Type }` recipient contract
|
|
58
|
-
*
|
|
59
|
+
* this to its `{ Value, Type }` recipient contract. Without one, ANY type
|
|
60
|
+
* leaves the task unassigned in its folder: no `recipient` is written and
|
|
61
|
+
* the engine makes no assignment. `'user'` and `'staticEmail'` name one
|
|
62
|
+
* person, so a missing value there is flagged.
|
|
63
|
+
*
|
|
64
|
+
* @enforcedBy HITL_RECIPIENT_NO_USER A single-user assignee needs its user.
|
|
59
65
|
*/
|
|
60
66
|
value?: string;
|
|
61
67
|
/** Display name the designer shows next to the pick. Cosmetic. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.62.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",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"@types/node": "^22.7.0",
|
|
101
101
|
"esbuild": "^0.28.1"
|
|
102
102
|
},
|
|
103
|
-
"gitref": "
|
|
103
|
+
"gitref": "2a6094aa49f4cbf18cb309ba93c33573f3e1f226"
|
|
104
104
|
}
|