@uipath/maestro-builder-sdk 6.53.0 → 6.53.2
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 +9 -0
- package/dist/case/case-sdk.js +9 -0
- package/dist/case/decompile.d.ts +1 -0
- package/dist/case/decompile.js +31 -0
- package/dist/case/serialize.js +2 -24
- package/dist/core/connector-response-schema.d.ts +54 -0
- package/dist/core/connector-response-schema.js +107 -0
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -300,10 +300,10 @@ could hand you spans for a version you do not have.
|
|
|
300
300
|
| `CaseAppConfig` | interface | `dist/case/case-sdk.d.ts:688-694` | Supporting types | Typed configuration for the generated Case App. |
|
|
301
301
|
| `CaseAppDetailValue` | type | `dist/case/case-sdk.d.ts:677-678` | Supporting types | A value displayed in one Case App section. |
|
|
302
302
|
| `CaseAppSection` | interface | `dist/case/case-sdk.d.ts:679-687` | Supporting types | One summary section in the generated Case App. |
|
|
303
|
-
| `CaseBuilder` | class | `dist/case/case-sdk.d.ts:
|
|
303
|
+
| `CaseBuilder` | class | `dist/case/case-sdk.d.ts:1232-1490` | Builders | 18 member(s) |
|
|
304
304
|
| `CaseLayout` | interface | `dist/case/case-sdk.d.ts:716-727` | Supporting types | Optional Case designer layout, keyed by author-level stage and trigger names. |
|
|
305
305
|
| `CaseNodeLayout` | interface | `dist/case/case-sdk.d.ts:695-715` | Supporting types | Designer-only fields the shipped Case transformer moves into `layout.nodes[id]`. |
|
|
306
|
-
| `casePlan` | function | `dist/case/case-sdk.d.ts:
|
|
306
|
+
| `casePlan` | function | `dist/case/case-sdk.d.ts:1491-1497` | Case authoring | Start building a case plan with the given id. |
|
|
307
307
|
| `CaseRule` | interface | `dist/case/case-sdk.d.ts:86-89` | Supporting types | A single DNF rule. |
|
|
308
308
|
| `CaseRuleGrid` | type | `dist/case/case-sdk.d.ts:121-122` | Supporting types | One rule, one AND-group, or a complete OR-of-AND condition grid. |
|
|
309
309
|
| `CaseRuleInput` | type | `dist/case/case-sdk.d.ts:119-120` | Supporting types | A concrete rule or a pure expression gate resolved by its receiving slot. |
|
|
@@ -342,9 +342,9 @@ could hand you spans for a version you do not have.
|
|
|
342
342
|
| `SelectNextStageSpec` | interface | `dist/case/case-sdk.d.ts:326-344` | Supporting types | Data Fabric entity used by the Case runtime to deliver a person's next-stage selection. |
|
|
343
343
|
| `SlaOpts` | interface | `dist/case/case-sdk.d.ts:174-193` | Option shapes | 5 field(s) |
|
|
344
344
|
| `SlaUnit` | type | `dist/case/case-sdk.d.ts:123-124` | Supporting types | SLA deadline unit. |
|
|
345
|
-
| `StageBuilder` | class | `dist/case/case-sdk.d.ts:
|
|
345
|
+
| `StageBuilder` | class | `dist/case/case-sdk.d.ts:1154-1231` | Builders | 6 member(s) |
|
|
346
346
|
| `StageExitType` | type | `dist/case/case-sdk.d.ts:325` | Supporting types | |
|
|
347
|
-
| `TaskBuilder` | class | `dist/case/case-sdk.d.ts:830-
|
|
347
|
+
| `TaskBuilder` | class | `dist/case/case-sdk.d.ts:830-1153` | Builders | 25 member(s) |
|
|
348
348
|
| `TaskInputBinding` | interface | `dist/case/case-sdk.d.ts:583-590` | Supporting types | A task input binding: a resource input parameter set to a literal or a `=`-expression. |
|
|
349
349
|
| `TaskKind` | type | `dist/case/case-sdk.d.ts:383` | Supporting types | |
|
|
350
350
|
| `TaskOutputBinding` | interface | `dist/case/case-sdk.d.ts:591-601` | Supporting types | A task output extraction: bind a field of the task's result (`source`) into a case variable (`var`) that later… |
|
package/dist/api-members.md
CHANGED
|
@@ -59,7 +59,7 @@ not find it either.
|
|
|
59
59
|
| `aliases` | property | `LookupSpec` | `dist/core/lookups.d.ts:31-32` |
|
|
60
60
|
| `allErrors` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:829-830` |
|
|
61
61
|
| `allowAdhocOptionalStageTasks` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:766-767` |
|
|
62
|
-
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
62
|
+
| `allowAdhocTasks` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1335-1342` |
|
|
63
63
|
| `apiWorkflow` | property | `FlowActionSpecs` | `dist/nodes/process/flow/spec.d.ts:344-347` |
|
|
64
64
|
| `apiWorkflow` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:896-905` |
|
|
65
65
|
| `app` | property | `EscalationRef` | `dist/core/actions.d.ts:729-756` |
|
|
@@ -104,9 +104,9 @@ not find it either.
|
|
|
104
104
|
| `breakEnabled` | property | `DoWhileOptions` | `dist/flow-sdk.d.ts:554-555` |
|
|
105
105
|
| `breakEnabled` | property | `LoopOptions` | `dist/flow-sdk.d.ts:541-545` |
|
|
106
106
|
| `build` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3586-3591` |
|
|
107
|
-
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
107
|
+
| `build` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1484-1489` |
|
|
108
108
|
| `build` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1761-1767` |
|
|
109
|
-
| `businessEvent` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
109
|
+
| `businessEvent` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1473-1483` |
|
|
110
110
|
| `businessEvent` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:75-82` |
|
|
111
111
|
| `businessEvents` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:772-773` |
|
|
112
112
|
| `businessRule` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:608-609` |
|
|
@@ -118,7 +118,7 @@ not find it either.
|
|
|
118
118
|
| `callContext` | property | `EndCallInputs` | `dist/nodes/agent/flow/spec.d.ts:98-103` |
|
|
119
119
|
| `callContext` | property | `VoiceAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:142-147` |
|
|
120
120
|
| `cancelActivity` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:770-771` |
|
|
121
|
-
| `caseApp` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
121
|
+
| `caseApp` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1314-1334` |
|
|
122
122
|
| `caseAppConfig` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:765` |
|
|
123
123
|
| `caseAppEnabled` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:764` |
|
|
124
124
|
| `caseExit` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:770` |
|
|
@@ -137,7 +137,7 @@ not find it either.
|
|
|
137
137
|
| `collection` | property | `TransformInputs` | `dist/nodes/transform/flow/spec.d.ts:85-95` |
|
|
138
138
|
| `color` | property | `StickyNote` | `dist/flow-sdk.d.ts:796-797` |
|
|
139
139
|
| `colSpan` | property | `FormFieldSettings` | `dist/core/actions.d.ts:185-186` |
|
|
140
|
-
| `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
140
|
+
| `completeWhen` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1453-1463` |
|
|
141
141
|
| `completion` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:85-86` |
|
|
142
142
|
| `completionCondition` | property | `LoopOptions` | `dist/flow-sdk.d.ts:536-540` |
|
|
143
143
|
| `condition` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:360-361` |
|
|
@@ -232,7 +232,7 @@ not find it either.
|
|
|
232
232
|
| `description` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:619` |
|
|
233
233
|
| `description` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:208` |
|
|
234
234
|
| `description` | property | `BusinessEventOpts` | `dist/case/case-sdk.d.ts:730-731` |
|
|
235
|
-
| `description` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
235
|
+
| `description` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1299-1305` |
|
|
236
236
|
| `description` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:501-502` |
|
|
237
237
|
| `description` | property | `ConnectorToolRef` | `dist/core/actions.d.ts:602-606` |
|
|
238
238
|
| `description` | property | `CustomGuardrail` | `dist/core/actions.d.ts:344` |
|
|
@@ -249,7 +249,7 @@ not find it either.
|
|
|
249
249
|
| `description` | property | `ProcessToolRef` | `dist/core/actions.d.ts:655-660` |
|
|
250
250
|
| `description` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:484` |
|
|
251
251
|
| `description` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:294-295` |
|
|
252
|
-
| `description` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
252
|
+
| `description` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1164-1170` |
|
|
253
253
|
| `description` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1091-1097` |
|
|
254
254
|
| `description` | property | `TimerTriggerOpts` | `dist/case/case-sdk.d.ts:233` |
|
|
255
255
|
| `description` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:322-323` |
|
|
@@ -312,8 +312,8 @@ not find it either.
|
|
|
312
312
|
| `entryPointId` | property | `ProcessMetadata` | `dist/bpmn/bpmn-sdk.d.ts:544-556` |
|
|
313
313
|
| `entryPointId` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:701-709` |
|
|
314
314
|
| `entryPoints` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:866-867` |
|
|
315
|
-
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
316
|
-
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:
|
|
315
|
+
| `entryWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1204-1211` |
|
|
316
|
+
| `entryWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1141-1150` |
|
|
317
317
|
| `err` | method | `StepList` | `dist/flow-sdk.d.ts:890-915` |
|
|
318
318
|
| `error` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:776-780` |
|
|
319
319
|
| `error` | property | `EndOpts` | `dist/bpmn/bpmn-sdk.d.ts:722-732` |
|
|
@@ -342,7 +342,7 @@ not find it either.
|
|
|
342
342
|
| `every` | property | `ScheduledInputs` | `dist/flow-sdk.d.ts:152-162` |
|
|
343
343
|
| `every` | property | `TimerTriggerOpts` | `dist/case/case-sdk.d.ts:223-231` |
|
|
344
344
|
| `exception` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:629` |
|
|
345
|
-
| `exceptionStage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
345
|
+
| `exceptionStage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1445-1452` |
|
|
346
346
|
| `exchangeId` | property | `ConversationalAgentSettings` | `dist/nodes/agent/flow/spec.d.ts:31-32` |
|
|
347
347
|
| `exchangeId` | property | `SendMessageInputs` | `dist/nodes/conversation/flow/spec.d.ts:14-19` |
|
|
348
348
|
| `exchangeLimit` | property | `ConversationContextInputs` | `dist/nodes/conversation/flow/spec.d.ts:40-43` |
|
|
@@ -352,7 +352,7 @@ not find it either.
|
|
|
352
352
|
| `exit` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:634` |
|
|
353
353
|
| `exitToStage` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:355-369` |
|
|
354
354
|
| `exitToStage` | property | `ExitOpts` | `dist/case/case-sdk.d.ts:809-823` |
|
|
355
|
-
| `exitWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
355
|
+
| `exitWhen` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1212-1219` |
|
|
356
356
|
| `exponentialBase` | property | `RetrySpec` | `dist/bpmn/bpmn-sdk.d.ts:827-828` |
|
|
357
357
|
| `exposeError` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:245-251` |
|
|
358
358
|
| `expression` | property | `BuiltSla` | `dist/case/case-sdk.d.ts:199-200` |
|
|
@@ -478,7 +478,7 @@ not find it either.
|
|
|
478
478
|
| `id` | property | `SwitchArm` | `dist/flow-sdk.d.ts:371-377` |
|
|
479
479
|
| `id` | property | `VarEntry` | `dist/bpmn/bpmn-sdk.d.ts:1018-1019` |
|
|
480
480
|
| `identifier` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:762` |
|
|
481
|
-
| `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
481
|
+
| `identifier` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1306-1313` |
|
|
482
482
|
| `identifierType` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:763` |
|
|
483
483
|
| `implied` | property | `BpmnFlow` | `dist/bpmn/bpmn-sdk.d.ts:362-369` |
|
|
484
484
|
| `impliedFlowIds` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:1994-1995` |
|
|
@@ -486,7 +486,7 @@ not find it either.
|
|
|
486
486
|
| `inclusive` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1863-1867` |
|
|
487
487
|
| `inclusiveGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2311-2318` |
|
|
488
488
|
| `inlineAgent` | property | `FlowActionSpecs` | `dist/nodes/agent/flow/spec.d.ts:443-446` |
|
|
489
|
-
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
489
|
+
| `input` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1364-1389` |
|
|
490
490
|
| `input` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1702-1714` |
|
|
491
491
|
| `input` | property | `HumanTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:1387-1388` |
|
|
492
492
|
| `input` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1273-1274` |
|
|
@@ -578,7 +578,7 @@ not find it either.
|
|
|
578
578
|
| `lanes` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:632` |
|
|
579
579
|
| `layout` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:776-777` |
|
|
580
580
|
| `layout` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:856-857` |
|
|
581
|
-
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
581
|
+
| `layout` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1343-1363` |
|
|
582
582
|
| `layout` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1422-1448` |
|
|
583
583
|
| `legacyCompleted` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:252-284` |
|
|
584
584
|
| `limit` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:95-100` |
|
|
@@ -666,7 +666,7 @@ not find it either.
|
|
|
666
666
|
| `name` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:356` |
|
|
667
667
|
| `name` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:603-604` |
|
|
668
668
|
| `name` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:206-207` |
|
|
669
|
-
| `name` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
669
|
+
| `name` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1251-1257` |
|
|
670
670
|
| `name` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:663` |
|
|
671
671
|
| `name` | property | `CatchOpts` | `dist/bpmn/bpmn-sdk.d.ts:741-742` |
|
|
672
672
|
| `name` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1861-1862` |
|
|
@@ -769,7 +769,7 @@ not find it either.
|
|
|
769
769
|
| `outcomePorts` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:230-244` |
|
|
770
770
|
| `outcomes` | property | `EscalationRef` | `dist/core/actions.d.ts:759-764` |
|
|
771
771
|
| `outcomes` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:211-225` |
|
|
772
|
-
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
772
|
+
| `output` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1390-1402` |
|
|
773
773
|
| `output` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1715-1750` |
|
|
774
774
|
| `output` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:97` |
|
|
775
775
|
| `output` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3151-3159` |
|
|
@@ -792,7 +792,7 @@ not find it either.
|
|
|
792
792
|
| `outputs` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1432-1447` |
|
|
793
793
|
| `outputs` | property | `ResolvedEventTriggerOpts` | `dist/case/case-sdk.d.ts:296-300` |
|
|
794
794
|
| `outputs` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:920-934` |
|
|
795
|
-
| `outputs` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1118-
|
|
795
|
+
| `outputs` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1118-1140` |
|
|
796
796
|
| `outputVar` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1599-1600` |
|
|
797
797
|
| `outputVar` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1513-1514` |
|
|
798
798
|
| `outputVar` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1138-1139` |
|
|
@@ -878,7 +878,7 @@ not find it either.
|
|
|
878
878
|
| `required` | property | `InOutField` | `dist/core/actions.d.ts:256-257` |
|
|
879
879
|
| `required` | property | `RegistryContextField` | `dist/bpmn/typed-node.d.ts:26` |
|
|
880
880
|
| `required` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:67` |
|
|
881
|
-
| `required` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
881
|
+
| `required` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1171-1177` |
|
|
882
882
|
| `required` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1069-1075` |
|
|
883
883
|
| `required` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:229-230` |
|
|
884
884
|
| `required` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1729-1730` |
|
|
@@ -951,7 +951,7 @@ not find it either.
|
|
|
951
951
|
| `schemas` | property | `BuiltBpmn` | `dist/bpmn/bpmn-sdk.d.ts:519-520` |
|
|
952
952
|
| `schemaVersion` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3478-3507` |
|
|
953
953
|
| `schemaVersion` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:840-846` |
|
|
954
|
-
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
954
|
+
| `schemaVersion` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1269-1298` |
|
|
955
955
|
| `schemaVersion` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1581-1620` |
|
|
956
956
|
| `scope` | property | `EscalationRecipient` | `dist/case/case-sdk.d.ts:129` |
|
|
957
957
|
| `scopes` | property | `GuardrailSelector` | `dist/core/actions.d.ts:290` |
|
|
@@ -991,9 +991,9 @@ not find it either.
|
|
|
991
991
|
| `skipCondition` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1355-1356` |
|
|
992
992
|
| `skipCondition` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1430-1431` |
|
|
993
993
|
| `skipWhen` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1098-1104` |
|
|
994
|
-
| `sla` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
994
|
+
| `sla` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1464-1472` |
|
|
995
995
|
| `sla` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:63-68` |
|
|
996
|
-
| `sla` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
996
|
+
| `sla` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1220-1228` |
|
|
997
997
|
| `slaRules` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:771` |
|
|
998
998
|
| `slaRules` | property | `BuiltStage` | `dist/case/case-sdk.d.ts:635` |
|
|
999
999
|
| `slug` | property | `McpToolRef` | `dist/core/actions.d.ts:462-463` |
|
|
@@ -1014,7 +1014,7 @@ not find it either.
|
|
|
1014
1014
|
| `sourceTrigger` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:669-675` |
|
|
1015
1015
|
| `spec` | property | `ActivityNodeOpts` | `dist/bpmn/bpmn-sdk.d.ts:1584-1598` |
|
|
1016
1016
|
| `splitPages` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:16-17` |
|
|
1017
|
-
| `stage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1017
|
+
| `stage` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1437-1444` |
|
|
1018
1018
|
| `stage` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:29-39` |
|
|
1019
1019
|
| `stages` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:769` |
|
|
1020
1020
|
| `stages` | property | `CaseLayout` | `dist/case/case-sdk.d.ts:723-724` |
|
|
@@ -1066,7 +1066,7 @@ not find it either.
|
|
|
1066
1066
|
| `target` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:248-249` |
|
|
1067
1067
|
| `target` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:324-329` |
|
|
1068
1068
|
| `task` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2338-2346` |
|
|
1069
|
-
| `task` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:
|
|
1069
|
+
| `task` | method | `StageBuilder` | `dist/case/case-sdk.d.ts:1178-1203` |
|
|
1070
1070
|
| `tasks` | property | `RuleOpts` | `dist/case/case-sdk.d.ts:40-55` |
|
|
1071
1071
|
| `taskTitle` | property | `EscalationRef` | `dist/core/actions.d.ts:765-766` |
|
|
1072
1072
|
| `taxonomy` | property | `DocValidationInputs` | `dist/nodes/hitl/flow/spec.d.ts:91-92` |
|
|
@@ -1096,7 +1096,7 @@ not find it either.
|
|
|
1096
1096
|
| `transformation` | property | `FieldMapping` | `dist/nodes/transform/flow/spec.d.ts:30-31` |
|
|
1097
1097
|
| `trigger` | property | `BuiltEntryPoint` | `dist/flow-sdk.d.ts:825-826` |
|
|
1098
1098
|
| `trigger` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:851-853` |
|
|
1099
|
-
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1099
|
+
| `trigger` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1428-1436` |
|
|
1100
1100
|
| `trigger` | property | `EscalationOpts` | `dist/case/case-sdk.d.ts:136-137` |
|
|
1101
1101
|
| `trigger` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1475-1495` |
|
|
1102
1102
|
| `trigger` | property | `StartOpts` | `dist/bpmn/bpmn-sdk.d.ts:641-688` |
|
|
@@ -1159,7 +1159,7 @@ not find it either.
|
|
|
1159
1159
|
| `value` | property | `TypedContextRow` | `dist/bpmn/typed-node.d.ts:219-220` |
|
|
1160
1160
|
| `value` | property | `TypedInputRow` | `dist/bpmn/typed-node.d.ts:250-251` |
|
|
1161
1161
|
| `values` | property | `DataFabricCreateInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:132-137` |
|
|
1162
|
-
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1162
|
+
| `var` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1403-1427` |
|
|
1163
1163
|
| `var` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1751-1760` |
|
|
1164
1164
|
| `var` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3133-3141` |
|
|
1165
1165
|
| `var` | property | `TaskOutputBinding` | `dist/case/case-sdk.d.ts:596-597` |
|
|
@@ -1177,7 +1177,7 @@ not find it either.
|
|
|
1177
1177
|
| `varSchema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:302-316` |
|
|
1178
1178
|
| `version` | property | `BuiltCase` | `dist/case/case-sdk.d.ts:754-760` |
|
|
1179
1179
|
| `version` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:839` |
|
|
1180
|
-
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:
|
|
1180
|
+
| `version` | method | `CaseBuilder` | `dist/case/case-sdk.d.ts:1258-1268` |
|
|
1181
1181
|
| `version` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1467-1468` |
|
|
1182
1182
|
| `version` | property | `ConnectorMeta` | `dist/core/connectors.d.ts:63` |
|
|
1183
1183
|
| `version` | property | `ConnectorOpts` | `dist/core/actions.d.ts:14-15` |
|
package/dist/case/case-sdk.d.ts
CHANGED
|
@@ -1122,6 +1122,15 @@ declare class TaskBuilder {
|
|
|
1122
1122
|
* `=Error.Message`). Pass `{ source, type }` to set a non-string type. Emits a
|
|
1123
1123
|
* `data.outputs[]` row plus a root `inputOutputs` companion so the name resolves.
|
|
1124
1124
|
*
|
|
1125
|
+
* An output into a case variable declared with `.var()` / `.input()` /
|
|
1126
|
+
* `.output()` is written as a reassignment (`originalVar` set), even when the
|
|
1127
|
+
* name equals the field — an SDD row `estimatedAge -> estimatedAge` is
|
|
1128
|
+
* `.var('estimatedAge', 'number')` plus
|
|
1129
|
+
* `.outputs({ estimatedAge: { source: '=estimatedAge', type: 'number' } })`.
|
|
1130
|
+
* An output that keeps its field's name with no such declaration is the
|
|
1131
|
+
* task's own (bare) output, with no root entry — until a second task writes
|
|
1132
|
+
* the same variable, which makes both reassignments.
|
|
1133
|
+
*
|
|
1125
1134
|
* @param shape - Case-variable names to the result field they take, or `{ source, type }`.
|
|
1126
1135
|
* @returns This builder, so calls chain.
|
|
1127
1136
|
*/
|
package/dist/case/case-sdk.js
CHANGED
|
@@ -480,6 +480,15 @@ class TaskBuilder {
|
|
|
480
480
|
* `=Error.Message`). Pass `{ source, type }` to set a non-string type. Emits a
|
|
481
481
|
* `data.outputs[]` row plus a root `inputOutputs` companion so the name resolves.
|
|
482
482
|
*
|
|
483
|
+
* An output into a case variable declared with `.var()` / `.input()` /
|
|
484
|
+
* `.output()` is written as a reassignment (`originalVar` set), even when the
|
|
485
|
+
* name equals the field — an SDD row `estimatedAge -> estimatedAge` is
|
|
486
|
+
* `.var('estimatedAge', 'number')` plus
|
|
487
|
+
* `.outputs({ estimatedAge: { source: '=estimatedAge', type: 'number' } })`.
|
|
488
|
+
* An output that keeps its field's name with no such declaration is the
|
|
489
|
+
* task's own (bare) output, with no root entry — until a second task writes
|
|
490
|
+
* the same variable, which makes both reassignments.
|
|
491
|
+
*
|
|
483
492
|
* @param shape - Case-variable names to the result field they take, or `{ source, type }`.
|
|
484
493
|
* @returns This builder, so calls chain.
|
|
485
494
|
*/
|
package/dist/case/decompile.d.ts
CHANGED
package/dist/case/decompile.js
CHANGED
|
@@ -952,8 +952,39 @@ function producedVariableNames(plan) {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
+
// An own-name row that carries `originalVar` (`{ id: 'estimatedAge', var:
|
|
956
|
+
// 'estimatedAge', originalVar: 'estimatedAge' }`, the "controlled alias")
|
|
957
|
+
// writes a case variable that has its own root entry — that is what makes it
|
|
958
|
+
// an alias rather than a bare output (serialize's variables merge). The
|
|
959
|
+
// output does not produce that variable, so it decompiles to its own
|
|
960
|
+
// `.var()`, even when the CLI wrote its root entry `custom: true`, and
|
|
961
|
+
// recompiling writes the `originalVar` back.
|
|
962
|
+
for (const name of reassignedOwnNameTargets(plan))
|
|
963
|
+
produced.delete(name);
|
|
964
|
+
// A root entry with a `default` is a declared variable, whoever writes it:
|
|
965
|
+
// `sdd convert` writes a `Category=Variable` row as `{ …, default, custom:
|
|
966
|
+
// true }`, and the SDK's own companions never carry `default`. Counting it as
|
|
967
|
+
// produced dropped the `.var()`, so the recompiled entry lost its initial
|
|
968
|
+
// value when a reassigned extract or a custom row wrote the variable.
|
|
969
|
+
for (const row of plan.variables?.inputOutputs ?? [])
|
|
970
|
+
if (row?.name && Object.prototype.hasOwnProperty.call(row, 'default'))
|
|
971
|
+
produced.delete(String(row.name));
|
|
955
972
|
return produced;
|
|
956
973
|
}
|
|
974
|
+
/** Variables written by an output row whose id is the variable and that still carries `originalVar`. */
|
|
975
|
+
function reassignedOwnNameTargets(plan) {
|
|
976
|
+
const targets = new Set();
|
|
977
|
+
for (const node of plan.nodes ?? []) {
|
|
978
|
+
if (!isStage(node))
|
|
979
|
+
continue;
|
|
980
|
+
for (const lane of node.data?.tasks ?? [])
|
|
981
|
+
for (const task of lane)
|
|
982
|
+
for (const row of task.data?.outputs ?? [])
|
|
983
|
+
if (row.var && row.id === row.var && row.originalVar === row.id)
|
|
984
|
+
targets.add(row.var);
|
|
985
|
+
}
|
|
986
|
+
return targets;
|
|
987
|
+
}
|
|
957
988
|
function emitVariables(out, depth, plan, triggerNameById) {
|
|
958
989
|
const variables = plan.variables ?? {};
|
|
959
990
|
const produced = producedVariableNames(plan);
|
package/dist/case/serialize.js
CHANGED
|
@@ -27,6 +27,7 @@ import { resolveSchemaVersion } from '../schema-version.js';
|
|
|
27
27
|
import { caseJsonPreservation, caseJsonPreservationErrors, } from './preserve.js';
|
|
28
28
|
import { businessEventProblems } from './business-event-shape.js';
|
|
29
29
|
import { readEventFilter, eventFilterProblem, eventFilterTreeLeaf } from '../core/event-filters.js';
|
|
30
|
+
import { responseJsonSchema } from '../core/connector-response-schema.js';
|
|
30
31
|
import { ruleShapeProblems } from './rule-options.js';
|
|
31
32
|
/**
|
|
32
33
|
* Condition `displayName` allocator.
|
|
@@ -1754,7 +1755,7 @@ const ERROR_OUTPUT_SCHEMA = {
|
|
|
1754
1755
|
};
|
|
1755
1756
|
function connectorOutputs(rc, elementId, resolver) {
|
|
1756
1757
|
const responseSchema = rc.entry.outputSchema
|
|
1757
|
-
?
|
|
1758
|
+
? responseJsonSchema(rc.entry.outputSchema.fields ?? [])
|
|
1758
1759
|
: { type: 'object', properties: {} };
|
|
1759
1760
|
const responseVar = connectorOutputVar(resolver, 'response');
|
|
1760
1761
|
const errorVar = connectorOutputVar(resolver, 'Error');
|
|
@@ -1771,29 +1772,6 @@ function connectorOutputs(rc, elementId, resolver) {
|
|
|
1771
1772
|
},
|
|
1772
1773
|
];
|
|
1773
1774
|
}
|
|
1774
|
-
/** A minimal JSON-schema `{type:object, properties}` from library output fields. */
|
|
1775
|
-
function schemaFromFields(fields) {
|
|
1776
|
-
const properties = {};
|
|
1777
|
-
for (const f of fields) {
|
|
1778
|
-
const name = f?.name;
|
|
1779
|
-
if (!name)
|
|
1780
|
-
continue;
|
|
1781
|
-
properties[name] = { title: f.displayName ?? name, type: jsonType(f.type) };
|
|
1782
|
-
}
|
|
1783
|
-
return { type: 'object', properties };
|
|
1784
|
-
}
|
|
1785
|
-
function jsonType(t) {
|
|
1786
|
-
switch (String(t ?? '').toLowerCase()) {
|
|
1787
|
-
case 'number':
|
|
1788
|
-
case 'integer':
|
|
1789
|
-
case 'float': return 'number';
|
|
1790
|
-
case 'boolean':
|
|
1791
|
-
case 'bool': return 'boolean';
|
|
1792
|
-
case 'object': return 'object';
|
|
1793
|
-
case 'array': return 'array';
|
|
1794
|
-
default: return 'string';
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
1775
|
/** snake_case → camelCase (the caseplan camelCases declared param names). */
|
|
1798
1776
|
function toCamel(s) {
|
|
1799
1777
|
return s.replace(/_([a-z0-9])/gi, (_m, c) => String(c).toUpperCase());
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The JSON Schema of a connector activity's `response`, built from the
|
|
3
|
+
* library's flat output fields.
|
|
4
|
+
*
|
|
5
|
+
* The connector library lists an operation's output as flat leaf fields with
|
|
6
|
+
* dotted paths (`message.bot_profile.icons.image_36`, `blocks[*].text.type`);
|
|
7
|
+
* it carries no nested schema. Studio Web writes the response as a NESTED JSON
|
|
8
|
+
* Schema, with one `definitions` entry per object on a path and `$ref`s to them
|
|
9
|
+
* (`fieldsContainer.outputJsonSchema`, written into `output.body` by
|
|
10
|
+
* `getIntsvcOutputJsonSchema`), and `uip maestro case spec` returns the same
|
|
11
|
+
* shape. Writing each leaf as a top-level key instead gave Slack
|
|
12
|
+
* `send-message-to-channel` 102 dotted keys where the contract has 13 top-level
|
|
13
|
+
* properties (builder-sdk#1423).
|
|
14
|
+
*
|
|
15
|
+
* This is a port of the CLI's `buildResponseJsonSchema`
|
|
16
|
+
* (`UiPath/cli` `packages/maestro-sdk/src/connector-spec/connector-task-spec.ts`),
|
|
17
|
+
* which mirrors the Studio Web front end:
|
|
18
|
+
*
|
|
19
|
+
* - a one-segment field (`ts`) is a top-level property;
|
|
20
|
+
* - a one-segment array (`reply_users[*]`) is a top-level array of primitives;
|
|
21
|
+
* - a dotted path walks through definitions: `message.bot_profile.icons.x`
|
|
22
|
+
* makes property `message` → `$ref` `message`, whose property `bot_profile`
|
|
23
|
+
* → `$ref` `messageBot_profile`, whose property `icons` → `$ref`
|
|
24
|
+
* `messageBot_profileIcons`, which holds the leaf `x`;
|
|
25
|
+
* - an array segment (`attendees[*].…`) is an array whose `items` `$ref` the
|
|
26
|
+
* definition.
|
|
27
|
+
*
|
|
28
|
+
* A definition name is the first segment, then each deeper segment with its
|
|
29
|
+
* first letter upper-cased, concatenated (`[*]` and `_` kept). Leaf types are
|
|
30
|
+
* the library's own (`integer` stays `integer`), as the CLI and Studio Web
|
|
31
|
+
* write them.
|
|
32
|
+
*/
|
|
33
|
+
/** One library output field: a dotted path, its type and its display name. */
|
|
34
|
+
export interface ResponseField {
|
|
35
|
+
name?: unknown;
|
|
36
|
+
type?: unknown;
|
|
37
|
+
displayName?: unknown;
|
|
38
|
+
}
|
|
39
|
+
/** The nested response schema: `type`, `properties` and `definitions` (no `$schema`; the caller adds it). */
|
|
40
|
+
export interface ResponseJsonSchema {
|
|
41
|
+
type: 'object';
|
|
42
|
+
properties: Record<string, unknown>;
|
|
43
|
+
definitions: Record<string, {
|
|
44
|
+
type: 'object';
|
|
45
|
+
properties: Record<string, unknown>;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Build the nested response schema from the library's flat output fields.
|
|
50
|
+
*
|
|
51
|
+
* @param fields - The operation's `outputSchema.fields`, in library order.
|
|
52
|
+
* @returns `{ type: 'object', properties, definitions }`.
|
|
53
|
+
*/
|
|
54
|
+
export declare function responseJsonSchema(fields: readonly ResponseField[]): ResponseJsonSchema;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The JSON Schema of a connector activity's `response`, built from the
|
|
3
|
+
* library's flat output fields.
|
|
4
|
+
*
|
|
5
|
+
* The connector library lists an operation's output as flat leaf fields with
|
|
6
|
+
* dotted paths (`message.bot_profile.icons.image_36`, `blocks[*].text.type`);
|
|
7
|
+
* it carries no nested schema. Studio Web writes the response as a NESTED JSON
|
|
8
|
+
* Schema, with one `definitions` entry per object on a path and `$ref`s to them
|
|
9
|
+
* (`fieldsContainer.outputJsonSchema`, written into `output.body` by
|
|
10
|
+
* `getIntsvcOutputJsonSchema`), and `uip maestro case spec` returns the same
|
|
11
|
+
* shape. Writing each leaf as a top-level key instead gave Slack
|
|
12
|
+
* `send-message-to-channel` 102 dotted keys where the contract has 13 top-level
|
|
13
|
+
* properties (builder-sdk#1423).
|
|
14
|
+
*
|
|
15
|
+
* This is a port of the CLI's `buildResponseJsonSchema`
|
|
16
|
+
* (`UiPath/cli` `packages/maestro-sdk/src/connector-spec/connector-task-spec.ts`),
|
|
17
|
+
* which mirrors the Studio Web front end:
|
|
18
|
+
*
|
|
19
|
+
* - a one-segment field (`ts`) is a top-level property;
|
|
20
|
+
* - a one-segment array (`reply_users[*]`) is a top-level array of primitives;
|
|
21
|
+
* - a dotted path walks through definitions: `message.bot_profile.icons.x`
|
|
22
|
+
* makes property `message` → `$ref` `message`, whose property `bot_profile`
|
|
23
|
+
* → `$ref` `messageBot_profile`, whose property `icons` → `$ref`
|
|
24
|
+
* `messageBot_profileIcons`, which holds the leaf `x`;
|
|
25
|
+
* - an array segment (`attendees[*].…`) is an array whose `items` `$ref` the
|
|
26
|
+
* definition.
|
|
27
|
+
*
|
|
28
|
+
* A definition name is the first segment, then each deeper segment with its
|
|
29
|
+
* first letter upper-cased, concatenated (`[*]` and `_` kept). Leaf types are
|
|
30
|
+
* the library's own (`integer` stays `integer`), as the CLI and Studio Web
|
|
31
|
+
* write them.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Build the nested response schema from the library's flat output fields.
|
|
35
|
+
*
|
|
36
|
+
* @param fields - The operation's `outputSchema.fields`, in library order.
|
|
37
|
+
* @returns `{ type: 'object', properties, definitions }`.
|
|
38
|
+
*/
|
|
39
|
+
export function responseJsonSchema(fields) {
|
|
40
|
+
const properties = {};
|
|
41
|
+
const definitions = {};
|
|
42
|
+
for (const field of fields) {
|
|
43
|
+
if (typeof field?.name !== 'string' || !field.name)
|
|
44
|
+
continue;
|
|
45
|
+
insertField(field.name, field, properties, definitions);
|
|
46
|
+
}
|
|
47
|
+
return { type: 'object', properties, definitions };
|
|
48
|
+
}
|
|
49
|
+
function insertField(path, field, properties, definitions) {
|
|
50
|
+
const segments = path.split('.');
|
|
51
|
+
let current = properties;
|
|
52
|
+
let defName = '';
|
|
53
|
+
for (let i = 0; i < segments.length - 1; i++) {
|
|
54
|
+
const segment = segments[i];
|
|
55
|
+
defName = i === 0 ? segment : defName + capitalize(segment);
|
|
56
|
+
// Own-key test: a definition named like an Object.prototype member
|
|
57
|
+
// (`constructor`) must not read the prototype's.
|
|
58
|
+
if (!Object.prototype.hasOwnProperty.call(definitions, defName)) {
|
|
59
|
+
definitions[defName] = { type: 'object', properties: {} };
|
|
60
|
+
current[segment] = refTo(segment, defName);
|
|
61
|
+
}
|
|
62
|
+
current = definitions[defName].properties;
|
|
63
|
+
}
|
|
64
|
+
const leaf = segments[segments.length - 1];
|
|
65
|
+
current[leaf] = leafSchema(leaf, field);
|
|
66
|
+
}
|
|
67
|
+
function leafSchema(segment, field) {
|
|
68
|
+
const title = typeof field.displayName === 'string' ? field.displayName : humanize(segment);
|
|
69
|
+
const type = schemaType(field.type);
|
|
70
|
+
// An array of primitives: `reply_users[*]` at the leaf.
|
|
71
|
+
if (segment.endsWith('[*]'))
|
|
72
|
+
return { title, type: 'array', items: { type } };
|
|
73
|
+
return { title, type };
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* A library field type as a JSON Schema type. The library's types are JSON
|
|
77
|
+
* Schema's own (`string`, `integer`, `object`, …) except `octet-stream`, which
|
|
78
|
+
* 77 file-download fields carry (ServiceNow `download-attachment`
|
|
79
|
+
* `fileDownload`). That is not a schema type, so it is written `string`, as the
|
|
80
|
+
* old flat builder wrote it. The CLI never meets it: it gives a file response
|
|
81
|
+
* its own file schema before this builder runs.
|
|
82
|
+
*/
|
|
83
|
+
function schemaType(type) {
|
|
84
|
+
return type === 'octet-stream' ? 'string' : type;
|
|
85
|
+
}
|
|
86
|
+
function refTo(segment, defName) {
|
|
87
|
+
// An array of objects: `attendees[*].…` is an array whose items `$ref` the definition.
|
|
88
|
+
if (segment.endsWith('[*]'))
|
|
89
|
+
return { title: humanize(segment), type: 'array', items: { $ref: `#/definitions/${defName}` } };
|
|
90
|
+
return { title: humanize(segment), $ref: `#/definitions/${defName}` };
|
|
91
|
+
}
|
|
92
|
+
/** Upper-case the first letter, for definition-name compounding (`[*]` kept). */
|
|
93
|
+
function capitalize(segment) {
|
|
94
|
+
return segment ? segment.charAt(0).toUpperCase() + segment.slice(1) : segment;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The front end's title for an intermediate segment: `[*]` dropped, camelCase
|
|
98
|
+
* split into words, sentence case (`emailAddress` → `Email address`,
|
|
99
|
+
* `bot_profile` → `Bot_profile`).
|
|
100
|
+
*/
|
|
101
|
+
function humanize(segment) {
|
|
102
|
+
const clean = segment.replace(/\[\*\]/g, '');
|
|
103
|
+
if (!clean)
|
|
104
|
+
return '';
|
|
105
|
+
const spaced = clean.replace(/([A-Z])/g, ' $1').toLowerCase().trim();
|
|
106
|
+
return spaced.charAt(0).toUpperCase() + spaced.slice(1);
|
|
107
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.53.
|
|
3
|
+
"version": "6.53.2",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"@types/node": "^22.7.0",
|
|
97
97
|
"esbuild": "^0.28.1"
|
|
98
98
|
},
|
|
99
|
-
"gitref": "
|
|
99
|
+
"gitref": "7836e4e1acb3db20b1eef709958d4c02219f3a78"
|
|
100
100
|
}
|