@uipath/maestro-sdk 1.207.0-preview.331 → 1.207.0-preview.332
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/bpmn-layout/index.js +60 -12
- package/dist/bpmn-packaging/index.js +1 -33
- package/dist/bpmn-validation/project-validator.js +1 -44
- package/dist/connector-spec/index.js +2 -2
- package/dist/index.js +2 -47
- package/dist/manifest/bpmn-spec.js +1 -34
- package/dist/registry/command.js +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/manifest/bpmn-spec.d.ts +0 -9
- package/package.json +2 -2
|
@@ -96516,6 +96516,7 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
96516
96516
|
var EXCLUDED_FROM_LAYOUT_TYPES = new Set(["bpmn:TextAnnotation", "dmn:TextAnnotation"]);
|
|
96517
96517
|
var TEXT_ANNOTATION_PRESERVE_OFFSET_DISTANCE = 200;
|
|
96518
96518
|
var DIRECTIONAL_COMPONENT_EDGE_PREFIX = "__layout-direction-component-edge__";
|
|
96519
|
+
var BOUNDARY_FLOW_PORT_PREFIX = "__layout-boundary-port__";
|
|
96519
96520
|
var isTidyUpSelectedLayoutEligibleNode = (node) => {
|
|
96520
96521
|
const type = node.type ?? "";
|
|
96521
96522
|
return !FIXED_CONTAINER_TYPES.has(type) && !BOUNDARY_EVENT_TYPES.has(type) && !EXCLUDED_FROM_LAYOUT_TYPES.has(type);
|
|
@@ -96525,6 +96526,7 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
96525
96526
|
var LABEL_PADDING_X = 8;
|
|
96526
96527
|
var LABEL_PADDING_Y = 4;
|
|
96527
96528
|
var LABEL_MAX_WIDTH = 160;
|
|
96529
|
+
var ELK_PORT_SIDES = { top: "NORTH", right: "EAST", bottom: "SOUTH", left: "WEST" };
|
|
96528
96530
|
var ElkLayoutService = class {
|
|
96529
96531
|
constructor(options = {}) {
|
|
96530
96532
|
this.elk = new import_elk_bundled.default;
|
|
@@ -96893,6 +96895,23 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
96893
96895
|
const height = lines * LABEL_LINE_HEIGHT + LABEL_PADDING_Y;
|
|
96894
96896
|
return [{ id: `${edge.id}-label`, text: label, width, height }];
|
|
96895
96897
|
}
|
|
96898
|
+
getLevelEdges(allEdges, nodeIds, nodeMap, boundaryFlowPorts) {
|
|
96899
|
+
const levelEdges = [];
|
|
96900
|
+
for (const edge of allEdges) {
|
|
96901
|
+
if (nodeIds.has(edge.source) && nodeIds.has(edge.target)) {
|
|
96902
|
+
levelEdges.push(edge);
|
|
96903
|
+
continue;
|
|
96904
|
+
}
|
|
96905
|
+
const source = nodeMap.get(edge.source);
|
|
96906
|
+
const host = source && this.isBoundaryEvent(source) && source.parentId ? nodeMap.get(source.parentId) : undefined;
|
|
96907
|
+
if (!source || !host || host.id === edge.target || !nodeIds.has(host.id) || !nodeIds.has(edge.target))
|
|
96908
|
+
continue;
|
|
96909
|
+
const { side } = this.calculateBoundaryAttachment(source, host);
|
|
96910
|
+
boundaryFlowPorts.set(edge.id, { hostId: host.id, portId: `${BOUNDARY_FLOW_PORT_PREFIX}${source.id}`, side });
|
|
96911
|
+
levelEdges.push({ ...edge, source: host.id });
|
|
96912
|
+
}
|
|
96913
|
+
return levelEdges;
|
|
96914
|
+
}
|
|
96896
96915
|
getBoundaryEvents(nodeId, childrenMap) {
|
|
96897
96916
|
const children2 = childrenMap.get(nodeId) ?? [];
|
|
96898
96917
|
return children2.filter((c) => this.isBoundaryEvent(c));
|
|
@@ -97144,7 +97163,8 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97144
97163
|
const children2 = childrenMap.get(parentId) ?? [];
|
|
97145
97164
|
const layoutableChildren = children2.filter((n) => !fixedContainerIds.has(n.id) && !this.isBoundaryEvent(n) && !this.isExcludedFromLayout(n));
|
|
97146
97165
|
const nodeIds = new Set(layoutableChildren.map((n) => n.id));
|
|
97147
|
-
const
|
|
97166
|
+
const boundaryFlowPorts = new Map;
|
|
97167
|
+
const levelEdges = this.getLevelEdges(allEdges, nodeIds, nodeMap, boundaryFlowPorts);
|
|
97148
97168
|
const levelHasDirectedCycle = options.algorithm === "layered" && this.hasDirectedCycle(layoutableChildren, levelEdges);
|
|
97149
97169
|
const orderedChildren = levelHasDirectedCycle ? this.sortNodesByFlowOrder(layoutableChildren, levelEdges) : layoutableChildren;
|
|
97150
97170
|
const orderedLevelEdges = levelHasDirectedCycle ? this.sortEdgesByFlowOrder(levelEdges, orderedChildren) : levelEdges;
|
|
@@ -97172,10 +97192,19 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97172
97192
|
elkNode.layoutOptions = this.getLayoutOptions(options, true, childGraphHasDirectedCycle);
|
|
97173
97193
|
}
|
|
97174
97194
|
}
|
|
97195
|
+
const ports = new Map;
|
|
97196
|
+
for (const port of boundaryFlowPorts.values()) {
|
|
97197
|
+
if (port.hostId === node.id)
|
|
97198
|
+
ports.set(port.portId, port.side);
|
|
97199
|
+
}
|
|
97200
|
+
if (ports.size > 0) {
|
|
97201
|
+
elkNode.ports = [...ports].map(([id2, side]) => ({ id: id2, layoutOptions: { "elk.port.side": ELK_PORT_SIDES[side] } }));
|
|
97202
|
+
elkNode.layoutOptions = { ...elkNode.layoutOptions, "elk.portConstraints": "FIXED_SIDE" };
|
|
97203
|
+
}
|
|
97175
97204
|
return elkNode;
|
|
97176
97205
|
});
|
|
97177
97206
|
const elkEdges = orderedLevelEdges.map((edge) => {
|
|
97178
|
-
const elkEdge = { id: edge.id, sources: [edge.source], targets: [edge.target] };
|
|
97207
|
+
const elkEdge = { id: edge.id, sources: [boundaryFlowPorts.get(edge.id)?.portId ?? edge.source], targets: [edge.target] };
|
|
97179
97208
|
const labels = this.getEdgeLabels(edge);
|
|
97180
97209
|
if (labels)
|
|
97181
97210
|
elkEdge.labels = labels;
|
|
@@ -97186,8 +97215,10 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97186
97215
|
hasDirectedCycle(nodes, edges) {
|
|
97187
97216
|
const nodeIds = new Set(nodes.map((node) => node.id));
|
|
97188
97217
|
const outgoingNodeIds = new Map([...nodeIds].map((nodeId) => [nodeId, []]));
|
|
97218
|
+
const portOwnerIds = new Map(nodes.flatMap((node) => (node.ports ?? []).map((port) => [port.id, node.id])));
|
|
97189
97219
|
for (const edge of edges) {
|
|
97190
|
-
const
|
|
97220
|
+
const edgeSource = "source" in edge ? edge.source : edge.sources[0];
|
|
97221
|
+
const source = portOwnerIds.get(edgeSource) ?? edgeSource;
|
|
97191
97222
|
const target = "target" in edge ? edge.target : edge.targets[0];
|
|
97192
97223
|
if (!source || !target || !nodeIds.has(source) || !nodeIds.has(target))
|
|
97193
97224
|
continue;
|
|
@@ -97297,16 +97328,14 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97297
97328
|
fallbackEdges.push(edge);
|
|
97298
97329
|
continue;
|
|
97299
97330
|
}
|
|
97300
|
-
const sourceRectangle =
|
|
97331
|
+
const { obstacleSource, sourceRectangle, sourceHandlePosition } = this.getRouteSource(sourceNode, nodeMap, routingRectanglesById, route.waypoints[0]);
|
|
97301
97332
|
const targetRectangle = routingRectanglesById.get(targetNode.id);
|
|
97302
|
-
const clearanceRectangles = getRelevantRoutingObstacles(
|
|
97333
|
+
const clearanceRectangles = getRelevantRoutingObstacles(obstacleSource, targetNode, routingRectangles).map((rectangle) => expandRoutingRectangle(rectangle, EDGE_NODE_MINIMUM_CLEARANCE));
|
|
97303
97334
|
if (!sourceRectangle || !targetRectangle) {
|
|
97304
97335
|
fallbackEdges.push(edge);
|
|
97305
97336
|
continue;
|
|
97306
97337
|
}
|
|
97307
|
-
const sourcePosition = getAbsolutePositionFromMap(sourceNode, nodeMap);
|
|
97308
97338
|
const targetPosition = getAbsolutePositionFromMap(targetNode, nodeMap);
|
|
97309
|
-
const sourceHandlePosition = this.getClosestHandlePosition(route.waypoints[0], sourcePosition, this.getNodeDimensions(sourceNode));
|
|
97310
97339
|
const targetHandlePosition = this.getClosestHandlePosition(route.waypoints[route.waypoints.length - 1], targetPosition, this.getNodeDimensions(targetNode));
|
|
97311
97340
|
const normalizedWaypoints = this.normalizeRouteToHandleCenters(route.waypoints, sourceNode, targetNode, sourceRectangle, targetRectangle, sourceHandlePosition, targetHandlePosition);
|
|
97312
97341
|
if (routeIntersectsRectangles(normalizedWaypoints, clearanceRectangles) || routeIntrudesEndpoint(normalizedWaypoints, sourceRectangle, targetRectangle)) {
|
|
@@ -97327,6 +97356,13 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97327
97356
|
const routedNodes = updatedVirtualNodes.size > 0 ? fallback.nodes.map((node) => updatedVirtualNodes.get(node.id) ?? node) : fallback.nodes;
|
|
97328
97357
|
return { edges: routedEdges, nodes: routedNodes };
|
|
97329
97358
|
}
|
|
97359
|
+
getRouteSource(sourceNode, nodeMap, routingRectanglesById, firstWaypoint) {
|
|
97360
|
+
const boundaryHost = this.isBoundaryEvent(sourceNode) && sourceNode.parentId ? nodeMap.get(sourceNode.parentId) : undefined;
|
|
97361
|
+
if (!boundaryHost) {
|
|
97362
|
+
return { obstacleSource: sourceNode, sourceRectangle: routingRectanglesById.get(sourceNode.id), sourceHandlePosition: this.getClosestHandlePosition(firstWaypoint, getAbsolutePositionFromMap(sourceNode, nodeMap), this.getNodeDimensions(sourceNode)) };
|
|
97363
|
+
}
|
|
97364
|
+
return { obstacleSource: boundaryHost, sourceRectangle: routingRectanglesById.get(sourceNode.id) ?? createRoutingRectangle(sourceNode, nodeMap), sourceHandlePosition: getBoundaryHandlePosition(this.calculateBoundaryAttachment(sourceNode, boundaryHost).side) };
|
|
97365
|
+
}
|
|
97330
97366
|
getClosestHandlePosition(point, nodePosition, dimensions) {
|
|
97331
97367
|
const sideDistances = [[Position.Top, Math.abs(point.y - nodePosition.y)], [Position.Right, Math.abs(point.x - (nodePosition.x + dimensions.width))], [Position.Bottom, Math.abs(point.y - (nodePosition.y + dimensions.height))], [Position.Left, Math.abs(point.x - nodePosition.x)]];
|
|
97332
97368
|
return sideDistances.reduce((closest, candidate) => candidate[1] < closest[1] ? candidate : closest, [Position.Top, Number.POSITIVE_INFINITY])[0];
|
|
@@ -97459,10 +97495,22 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
97459
97495
|
return { edges: updatedEdges, nodes: updatedNodes };
|
|
97460
97496
|
}
|
|
97461
97497
|
function createRoutingRectangles(nodes, nodeMap) {
|
|
97462
|
-
return nodes.filter(isDiagramLayoutCollisionBlockingNode).map((node) =>
|
|
97463
|
-
|
|
97464
|
-
|
|
97465
|
-
}
|
|
97498
|
+
return nodes.filter(isDiagramLayoutCollisionBlockingNode).map((node) => createRoutingRectangle(node, nodeMap));
|
|
97499
|
+
}
|
|
97500
|
+
function createRoutingRectangle(node, nodeMap) {
|
|
97501
|
+
return { id: node.id, parentId: node.parentId, ...getAbsolutePositionFromMap(node, nodeMap), ...getNodeDimensions(node) };
|
|
97502
|
+
}
|
|
97503
|
+
function getBoundaryHandlePosition(side) {
|
|
97504
|
+
switch (side) {
|
|
97505
|
+
case "top":
|
|
97506
|
+
return Position.Top;
|
|
97507
|
+
case "right":
|
|
97508
|
+
return Position.Right;
|
|
97509
|
+
case "bottom":
|
|
97510
|
+
return Position.Bottom;
|
|
97511
|
+
case "left":
|
|
97512
|
+
return Position.Left;
|
|
97513
|
+
}
|
|
97466
97514
|
}
|
|
97467
97515
|
function getRelevantRoutingObstacles(sourceNode, targetNode, rectangles) {
|
|
97468
97516
|
const endpointsShareParent = sourceNode.parentId === targetNode.parentId;
|
|
@@ -105638,4 +105686,4 @@ export {
|
|
|
105638
105686
|
updateBpmnLayout
|
|
105639
105687
|
};
|
|
105640
105688
|
|
|
105641
|
-
//# debugId=
|
|
105689
|
+
//# debugId=B12334F7EF644BEB64756E2164756E21
|
|
@@ -10760,37 +10760,6 @@ var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
|
|
|
10760
10760
|
"folderBindingId",
|
|
10761
10761
|
"fileRef"
|
|
10762
10762
|
]);
|
|
10763
|
-
var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
|
|
10764
|
-
"binding",
|
|
10765
|
-
"bindings",
|
|
10766
|
-
"caseManagement",
|
|
10767
|
-
"context",
|
|
10768
|
-
"entryPointId",
|
|
10769
|
-
"error",
|
|
10770
|
-
"errorDefinition",
|
|
10771
|
-
"errorMapping",
|
|
10772
|
-
"input",
|
|
10773
|
-
"inputOutput",
|
|
10774
|
-
"inputSchema",
|
|
10775
|
-
"intsvcActivityConfig",
|
|
10776
|
-
"isTransactionRoot",
|
|
10777
|
-
"loopCharacteristics",
|
|
10778
|
-
"migrationVersion",
|
|
10779
|
-
"output",
|
|
10780
|
-
"retry",
|
|
10781
|
-
"scriptVersion",
|
|
10782
|
-
"tag",
|
|
10783
|
-
"tags",
|
|
10784
|
-
"type",
|
|
10785
|
-
"variables"
|
|
10786
|
-
];
|
|
10787
|
-
var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
|
|
10788
|
-
...new Set([
|
|
10789
|
-
...Object.values(BPMN_SPEC.extensionTypes).map((entry) => entry.extensionTag.replace(/^uipath:/, "")),
|
|
10790
|
-
...STATIC_UIPATH_EXTENSION_TAG_NAMES
|
|
10791
|
-
])
|
|
10792
|
-
].sort());
|
|
10793
|
-
var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
|
|
10794
10763
|
|
|
10795
10764
|
// src/bpmn-validation/project-validator.ts
|
|
10796
10765
|
var SCRIPT_RUNTIME_GLOBALS = new Set([
|
|
@@ -10812,7 +10781,6 @@ var NON_BODY_INPUT_TARGETS = new Set([
|
|
|
10812
10781
|
"pathParameters",
|
|
10813
10782
|
"queryParameters"
|
|
10814
10783
|
]);
|
|
10815
|
-
var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
|
|
10816
10784
|
var SCRIPT_TASK_INPUT_CONTRACT = {
|
|
10817
10785
|
...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
|
|
10818
10786
|
extensionType: "BPMN.Variables script task"
|
|
@@ -17443,4 +17411,4 @@ export {
|
|
|
17443
17411
|
required
|
|
17444
17412
|
};
|
|
17445
17413
|
|
|
17446
|
-
//# debugId=
|
|
17414
|
+
//# debugId=5D748C6374AA662E64756E2164756E21
|
|
@@ -11203,37 +11203,6 @@ var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
|
|
|
11203
11203
|
"folderBindingId",
|
|
11204
11204
|
"fileRef"
|
|
11205
11205
|
]);
|
|
11206
|
-
var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
|
|
11207
|
-
"binding",
|
|
11208
|
-
"bindings",
|
|
11209
|
-
"caseManagement",
|
|
11210
|
-
"context",
|
|
11211
|
-
"entryPointId",
|
|
11212
|
-
"error",
|
|
11213
|
-
"errorDefinition",
|
|
11214
|
-
"errorMapping",
|
|
11215
|
-
"input",
|
|
11216
|
-
"inputOutput",
|
|
11217
|
-
"inputSchema",
|
|
11218
|
-
"intsvcActivityConfig",
|
|
11219
|
-
"isTransactionRoot",
|
|
11220
|
-
"loopCharacteristics",
|
|
11221
|
-
"migrationVersion",
|
|
11222
|
-
"output",
|
|
11223
|
-
"retry",
|
|
11224
|
-
"scriptVersion",
|
|
11225
|
-
"tag",
|
|
11226
|
-
"tags",
|
|
11227
|
-
"type",
|
|
11228
|
-
"variables"
|
|
11229
|
-
];
|
|
11230
|
-
var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
|
|
11231
|
-
...new Set([
|
|
11232
|
-
...Object.values(BPMN_SPEC.extensionTypes).map((entry) => entry.extensionTag.replace(/^uipath:/, "")),
|
|
11233
|
-
...STATIC_UIPATH_EXTENSION_TAG_NAMES
|
|
11234
|
-
])
|
|
11235
|
-
].sort());
|
|
11236
|
-
var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
|
|
11237
11206
|
function toBpmnXmlElementName(name) {
|
|
11238
11207
|
const separator = name.indexOf(":");
|
|
11239
11208
|
const prefix = separator === -1 ? "" : name.slice(0, separator + 1);
|
|
@@ -11479,7 +11448,6 @@ function collectFreeIdentifiers(program) {
|
|
|
11479
11448
|
}
|
|
11480
11449
|
return referenced;
|
|
11481
11450
|
}
|
|
11482
|
-
var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
|
|
11483
11451
|
var SCRIPT_TASK_INPUT_CONTRACT = {
|
|
11484
11452
|
...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
|
|
11485
11453
|
extensionType: "BPMN.Variables script task"
|
|
@@ -12071,17 +12039,6 @@ class BpmnValidateService {
|
|
|
12071
12039
|
}
|
|
12072
12040
|
validateUiPathTags(file, root, bindings, diagnostics) {
|
|
12073
12041
|
const uipathNodes = findDescendants(root, (node) => node.name.startsWith("uipath:"));
|
|
12074
|
-
for (const node of uipathNodes) {
|
|
12075
|
-
if (!KNOWN_UIPATH_TAGS.has(node.name)) {
|
|
12076
|
-
diagnostics.push({
|
|
12077
|
-
file,
|
|
12078
|
-
element: describeElement(node),
|
|
12079
|
-
message: `Unsupported UiPath extension tag "${node.name}".`,
|
|
12080
|
-
instruction: `Use a supported UiPath extension tag: ${SUPPORTED_UIPATH_EXTENSION_TAGS.join(", ")}.`,
|
|
12081
|
-
severity: "warning"
|
|
12082
|
-
});
|
|
12083
|
-
}
|
|
12084
|
-
}
|
|
12085
12042
|
for (const loopCharacteristics of uipathNodes.filter((node) => node.name === "uipath:loopCharacteristics")) {
|
|
12086
12043
|
const extensionElements = loopCharacteristics.parent;
|
|
12087
12044
|
const owner = extensionElements && hasLocalName(extensionElements, "extensionElements") ? extensionElements.parent : undefined;
|
|
@@ -13627,4 +13584,4 @@ export {
|
|
|
13627
13584
|
isIntsvcActivityExecutionV1
|
|
13628
13585
|
};
|
|
13629
13586
|
|
|
13630
|
-
//# debugId=
|
|
13587
|
+
//# debugId=BCBF6F2C3E8C4F9F64756E2164756E21
|
|
@@ -1121,7 +1121,7 @@ var init_package = __esm(() => {
|
|
|
1121
1121
|
name: "@uipath/integrationservice-sdk",
|
|
1122
1122
|
author: "UiPath",
|
|
1123
1123
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
1124
|
-
version: "1.207.0-preview.
|
|
1124
|
+
version: "1.207.0-preview.332",
|
|
1125
1125
|
repository: {
|
|
1126
1126
|
type: "git",
|
|
1127
1127
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -265184,4 +265184,4 @@ export {
|
|
|
265184
265184
|
studioCatalogTypeCache
|
|
265185
265185
|
};
|
|
265186
265186
|
|
|
265187
|
-
//# debugId=
|
|
265187
|
+
//# debugId=ABD05E48D5C4087C64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -144975,7 +144975,7 @@ var init_package = __esm(() => {
|
|
|
144975
144975
|
name: "@uipath/integrationservice-sdk",
|
|
144976
144976
|
author: "UiPath",
|
|
144977
144977
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
144978
|
-
version: "1.207.0-preview.
|
|
144978
|
+
version: "1.207.0-preview.332",
|
|
144979
144979
|
repository: {
|
|
144980
144980
|
type: "git",
|
|
144981
144981
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -280927,37 +280927,6 @@ var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
|
|
|
280927
280927
|
"folderBindingId",
|
|
280928
280928
|
"fileRef"
|
|
280929
280929
|
]);
|
|
280930
|
-
var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
|
|
280931
|
-
"binding",
|
|
280932
|
-
"bindings",
|
|
280933
|
-
"caseManagement",
|
|
280934
|
-
"context",
|
|
280935
|
-
"entryPointId",
|
|
280936
|
-
"error",
|
|
280937
|
-
"errorDefinition",
|
|
280938
|
-
"errorMapping",
|
|
280939
|
-
"input",
|
|
280940
|
-
"inputOutput",
|
|
280941
|
-
"inputSchema",
|
|
280942
|
-
"intsvcActivityConfig",
|
|
280943
|
-
"isTransactionRoot",
|
|
280944
|
-
"loopCharacteristics",
|
|
280945
|
-
"migrationVersion",
|
|
280946
|
-
"output",
|
|
280947
|
-
"retry",
|
|
280948
|
-
"scriptVersion",
|
|
280949
|
-
"tag",
|
|
280950
|
-
"tags",
|
|
280951
|
-
"type",
|
|
280952
|
-
"variables"
|
|
280953
|
-
];
|
|
280954
|
-
var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
|
|
280955
|
-
...new Set([
|
|
280956
|
-
...Object.values(BPMN_SPEC.extensionTypes).map((entry) => entry.extensionTag.replace(/^uipath:/, "")),
|
|
280957
|
-
...STATIC_UIPATH_EXTENSION_TAG_NAMES
|
|
280958
|
-
])
|
|
280959
|
-
].sort());
|
|
280960
|
-
var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
|
|
280961
280930
|
function toBpmnXmlElementName(name) {
|
|
280962
280931
|
const separator = name.indexOf(":");
|
|
280963
280932
|
const prefix = separator === -1 ? "" : name.slice(0, separator + 1);
|
|
@@ -281203,7 +281172,6 @@ function collectFreeIdentifiers(program) {
|
|
|
281203
281172
|
}
|
|
281204
281173
|
return referenced;
|
|
281205
281174
|
}
|
|
281206
|
-
var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
|
|
281207
281175
|
var SCRIPT_TASK_INPUT_CONTRACT = {
|
|
281208
281176
|
...BPMN_SPEC.extensionTypes["BPMN.ScriptTask"],
|
|
281209
281177
|
extensionType: "BPMN.Variables script task"
|
|
@@ -281795,17 +281763,6 @@ class BpmnValidateService {
|
|
|
281795
281763
|
}
|
|
281796
281764
|
validateUiPathTags(file, root, bindings, diagnostics) {
|
|
281797
281765
|
const uipathNodes = findDescendants(root, (node) => node.name.startsWith("uipath:"));
|
|
281798
|
-
for (const node of uipathNodes) {
|
|
281799
|
-
if (!KNOWN_UIPATH_TAGS.has(node.name)) {
|
|
281800
|
-
diagnostics.push({
|
|
281801
|
-
file,
|
|
281802
|
-
element: describeElement(node),
|
|
281803
|
-
message: `Unsupported UiPath extension tag "${node.name}".`,
|
|
281804
|
-
instruction: `Use a supported UiPath extension tag: ${SUPPORTED_UIPATH_EXTENSION_TAGS.join(", ")}.`,
|
|
281805
|
-
severity: "warning"
|
|
281806
|
-
});
|
|
281807
|
-
}
|
|
281808
|
-
}
|
|
281809
281766
|
for (const loopCharacteristics of uipathNodes.filter((node) => node.name === "uipath:loopCharacteristics")) {
|
|
281810
281767
|
const extensionElements = loopCharacteristics.parent;
|
|
281811
281768
|
const owner = extensionElements && hasLocalName(extensionElements, "extensionElements") ? extensionElements.parent : undefined;
|
|
@@ -288637,8 +288594,6 @@ export {
|
|
|
288637
288594
|
MaestroHttpError,
|
|
288638
288595
|
ORCHESTRATOR_RESOURCE_TYPES2 as ORCHESTRATOR_RESOURCE_TYPES,
|
|
288639
288596
|
SUPPORTED_ACTIVITY_VERSIONS,
|
|
288640
|
-
SUPPORTED_UIPATH_EXTENSION_TAGS,
|
|
288641
|
-
SUPPORTED_UIPATH_EXTENSION_TAG_NAMES,
|
|
288642
288597
|
TenantManifestInvalidError,
|
|
288643
288598
|
TenantManifestUnavailableError,
|
|
288644
288599
|
VALID_PACKAGE_NAME_REGEX,
|
|
@@ -288751,4 +288706,4 @@ export {
|
|
|
288751
288706
|
withPimsCall
|
|
288752
288707
|
};
|
|
288753
288708
|
|
|
288754
|
-
//# debugId=
|
|
288709
|
+
//# debugId=C090D439A182890D64756E2164756E21
|
|
@@ -4743,37 +4743,6 @@ var STRUCTURAL_TEMPLATE_TOKENS = Object.freeze([
|
|
|
4743
4743
|
"folderBindingId",
|
|
4744
4744
|
"fileRef"
|
|
4745
4745
|
]);
|
|
4746
|
-
var STATIC_UIPATH_EXTENSION_TAG_NAMES = [
|
|
4747
|
-
"binding",
|
|
4748
|
-
"bindings",
|
|
4749
|
-
"caseManagement",
|
|
4750
|
-
"context",
|
|
4751
|
-
"entryPointId",
|
|
4752
|
-
"error",
|
|
4753
|
-
"errorDefinition",
|
|
4754
|
-
"errorMapping",
|
|
4755
|
-
"input",
|
|
4756
|
-
"inputOutput",
|
|
4757
|
-
"inputSchema",
|
|
4758
|
-
"intsvcActivityConfig",
|
|
4759
|
-
"isTransactionRoot",
|
|
4760
|
-
"loopCharacteristics",
|
|
4761
|
-
"migrationVersion",
|
|
4762
|
-
"output",
|
|
4763
|
-
"retry",
|
|
4764
|
-
"scriptVersion",
|
|
4765
|
-
"tag",
|
|
4766
|
-
"tags",
|
|
4767
|
-
"type",
|
|
4768
|
-
"variables"
|
|
4769
|
-
];
|
|
4770
|
-
var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
|
|
4771
|
-
...new Set([
|
|
4772
|
-
...Object.values(BPMN_SPEC.extensionTypes).map((entry) => entry.extensionTag.replace(/^uipath:/, "")),
|
|
4773
|
-
...STATIC_UIPATH_EXTENSION_TAG_NAMES
|
|
4774
|
-
])
|
|
4775
|
-
].sort());
|
|
4776
|
-
var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
|
|
4777
4746
|
function toBpmnXmlElementName(name) {
|
|
4778
4747
|
const separator = name.indexOf(":");
|
|
4779
4748
|
const prefix = separator === -1 ? "" : name.slice(0, separator + 1);
|
|
@@ -4784,9 +4753,7 @@ export {
|
|
|
4784
4753
|
BPMN_SPEC,
|
|
4785
4754
|
MERGED_INPUT_PATTERNS,
|
|
4786
4755
|
STRUCTURAL_TEMPLATE_TOKENS,
|
|
4787
|
-
SUPPORTED_UIPATH_EXTENSION_TAGS,
|
|
4788
|
-
SUPPORTED_UIPATH_EXTENSION_TAG_NAMES,
|
|
4789
4756
|
toBpmnXmlElementName
|
|
4790
4757
|
};
|
|
4791
4758
|
|
|
4792
|
-
//# debugId=
|
|
4759
|
+
//# debugId=D5A2F0B8813B83AC64756E2164756E21
|
package/dist/registry/command.js
CHANGED
|
@@ -144811,7 +144811,7 @@ var init_package = __esm(() => {
|
|
|
144811
144811
|
name: "@uipath/integrationservice-sdk",
|
|
144812
144812
|
author: "UiPath",
|
|
144813
144813
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
144814
|
-
version: "1.207.0-preview.
|
|
144814
|
+
version: "1.207.0-preview.332",
|
|
144815
144815
|
repository: {
|
|
144816
144816
|
type: "git",
|
|
144817
144817
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -264760,4 +264760,4 @@ export {
|
|
|
264760
264760
|
shownRows
|
|
264761
264761
|
};
|
|
264762
264762
|
|
|
264763
|
-
//# debugId=
|
|
264763
|
+
//# debugId=D8F741E576D7F75E64756E2164756E21
|
package/dist/src/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type { BeginDebugSessionOptions, PersonalFolderInfo, PrepareForCustomDebu
|
|
|
8
8
|
export { beginDebugSession, buildPollTimeoutFailureOutput, buildStudioWebDesignerUrl, createDebugInstance, DebugCancelledError, DebugPollTimeoutError, DebugProvisioningFailedError, extractStartEventId, FpsPropertiesInjectionError, fetchDebugInstanceIncidents, getFolderInfoById, getPersonalFolderInfo, getPersonalFolderKey, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, isFaultedDebugStatus, isSuccessfulDebugStatus, patchConnectionOverwrites, pollDebugInstanceStatus, prepareForCustomDebug, resolveFaultIncidents, uploadAndDebugSolution, } from "./debug-service";
|
|
9
9
|
export type { BeginSessionResponse, BreakpointUpdateRequest, ContinueOnBreakpointRequest, DebugCallbacks, DebugGetAllVariablesResponse, DebugGetVariablesResponse, DebugIncidentResponse, DebugInstanceResponse, DebugInstanceStatusResponse, DebugInstanceStatusResult, DebugResult, DebugVariablesAttemptFailure, DebugVariablesFetch, DebugVariablesFetchError, DebugVariablesResponse, ElementExecution, InlineAgentDescriptor, OrchestratorApiConfig, PatchVariablesRequest, SolutionProjectDescriptor, StudioWebDebugConfig, } from "./debug-types";
|
|
10
10
|
export { parseJsonInputOrFile, readJsonFile, resolveJsonInput, } from "./json-input";
|
|
11
|
-
export { BPMN_SPEC,
|
|
11
|
+
export { BPMN_SPEC, toBpmnXmlElementName, } from "./manifest/bpmn-spec";
|
|
12
12
|
export type { BpmnExtensionType, DiscoveredConnector, DiscoveredProcess, MaestroRegistry, RegistryMetadata, } from "./manifest/types";
|
|
13
13
|
export { buildQueryString } from "./query-string";
|
|
14
14
|
export type { CompactField, ConnectorInfo, ConnectorMethodInfo, ContextEntry, FieldReference, FilterCondition, FilterField, FilterOperator, ISField, ISFieldMethod, ISMetadata, ISMetadataParam, ParsedFilters, SolutionContext, SyncMetadata, TriggerField, TriggerFieldEvent, TriggerObjectMetadata, } from "./registry/index.js";
|
|
@@ -50,15 +50,6 @@ export declare const MERGED_INPUT_PATTERNS: ReadonlySet<BpmnExtensionType["input
|
|
|
50
50
|
* against — one list, not a copy per test file.
|
|
51
51
|
*/
|
|
52
52
|
export declare const STRUCTURAL_TEMPLATE_TOKENS: readonly string[];
|
|
53
|
-
/**
|
|
54
|
-
* UiPath BPMN extension element names supported by Maestro exports.
|
|
55
|
-
*
|
|
56
|
-
* `BPMN_SPEC.extensionTypes` covers executable payload containers
|
|
57
|
-
* (`activity`, `event`, `mapping`). Maestro BPMN files also carry structural
|
|
58
|
-
* metadata such as variables, bindings, and entry point ids.
|
|
59
|
-
*/
|
|
60
|
-
export declare const SUPPORTED_UIPATH_EXTENSION_TAG_NAMES: readonly string[];
|
|
61
|
-
export declare const SUPPORTED_UIPATH_EXTENSION_TAGS: readonly string[];
|
|
62
53
|
/**
|
|
63
54
|
* The tag a BPMN type name is written as in a `.bpmn` file.
|
|
64
55
|
*
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/maestro-sdk",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.207.0-preview.
|
|
5
|
+
"version": "1.207.0-preview.332",
|
|
6
6
|
"description": "SDK for the UiPath Maestro (PIMS) API — process instance management.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"files": [
|
|
114
114
|
"dist"
|
|
115
115
|
],
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "b01e6df095e5e8b1a763c47f56408e190ff80207"
|
|
117
117
|
}
|