@uipath/maestro-sdk 1.199.0 → 1.201.0-preview.115

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.
@@ -444,20 +444,24 @@ var bpmn_spec_default = {
444
444
  extensionTag: "uipath:activity",
445
445
  contextFields: [
446
446
  {
447
- name: "activity",
448
- displayName: "Activity",
447
+ name: "activityConfigurationVersion",
448
+ displayName: "Activity configuration version",
449
449
  type: "string",
450
- required: true,
451
- hidden: false,
452
- isPrimaryKey: true,
450
+ required: false,
451
+ hidden: true,
452
+ isPrimaryKey: false,
453
453
  binding: false,
454
- defaultValue: null
454
+ defaultValue: "v1",
455
+ enum: [
456
+ "v1"
457
+ ],
458
+ description: "Marks the Integration Service activity format used by this template"
455
459
  },
456
460
  {
457
461
  name: "connectorKey",
458
462
  displayName: "Connector key",
459
463
  type: "string",
460
- required: false,
464
+ required: true,
461
465
  hidden: true,
462
466
  isPrimaryKey: false,
463
467
  binding: false,
@@ -471,7 +475,12 @@ var bpmn_spec_default = {
471
475
  hidden: true,
472
476
  isPrimaryKey: false,
473
477
  binding: true,
474
- defaultValue: null
478
+ defaultValue: null,
479
+ bindingInfo: {
480
+ resource: "Connection",
481
+ resourceKeyPattern: "${resourceKey}",
482
+ propertyAttribute: "ConnectionId"
483
+ }
475
484
  },
476
485
  {
477
486
  name: "folderKey",
@@ -480,61 +489,105 @@ var bpmn_spec_default = {
480
489
  required: false,
481
490
  hidden: true,
482
491
  isPrimaryKey: false,
492
+ binding: true,
493
+ defaultValue: null,
494
+ bindingInfo: {
495
+ resource: "Connection",
496
+ resourceKeyPattern: "${resourceKey}",
497
+ propertyAttribute: "folderKey"
498
+ }
499
+ },
500
+ {
501
+ name: "operation",
502
+ displayName: "Operation",
503
+ type: "string",
504
+ required: true,
505
+ hidden: true,
506
+ isPrimaryKey: true,
483
507
  binding: false,
484
- defaultValue: null
508
+ defaultValue: null,
509
+ description: "Activity catalog Name used as the runtime operation"
510
+ },
511
+ {
512
+ name: "objectName",
513
+ displayName: "Object name",
514
+ type: "string",
515
+ required: true,
516
+ hidden: true,
517
+ isPrimaryKey: false,
518
+ binding: false,
519
+ defaultValue: null,
520
+ description: "Activity catalog ObjectName"
485
521
  },
486
522
  {
487
523
  name: "method",
488
524
  displayName: "Method",
489
525
  type: "string",
490
- required: false,
526
+ required: true,
491
527
  hidden: true,
492
528
  isPrimaryKey: false,
493
529
  binding: false,
494
- defaultValue: null
530
+ defaultValue: null,
531
+ description: "Activity catalog MethodName"
495
532
  },
496
533
  {
497
534
  name: "path",
498
535
  displayName: "Path",
499
536
  type: "string",
537
+ required: true,
538
+ hidden: true,
539
+ isPrimaryKey: false,
540
+ binding: false,
541
+ defaultValue: null,
542
+ description: "Request path returned by resource metadata"
543
+ },
544
+ {
545
+ name: "metadata",
546
+ displayName: "Metadata",
547
+ type: "json",
500
548
  required: false,
501
549
  hidden: true,
502
550
  isPrimaryKey: false,
503
551
  binding: false,
504
- defaultValue: null
552
+ defaultValue: {},
553
+ description: "Optional activity metadata"
505
554
  }
506
555
  ],
556
+ inputFields: [],
507
557
  inputPattern: "separateInputs",
508
558
  inputName: "body",
509
559
  inputTarget: "body",
510
- outputSource: ".",
511
- outputType: "custom",
512
- outputName: "result",
560
+ outputSource: "=response",
561
+ outputType: "jsonSchema",
562
+ outputName: "response",
513
563
  useRelativeSource: false,
514
564
  bindingPattern: "connection",
515
565
  requiresDiscovery: true,
516
566
  isDynamic: true,
517
- xmlTemplate: `<bpmn:SendTask id="{id}" name="{name}">
567
+ xmlTemplate: `<bpmn:sendTask id="{id}" name="{name}">
518
568
  <bpmn:extensionElements>
519
569
  <uipath:activity version="v1">
520
570
  <uipath:type value="Intsvc.ActivityExecution" version="v1" />
521
571
  <uipath:context>
522
- <uipath:input name="activity" value="{activity}" />
523
- <uipath:input name="connectorKey" value="{connectorKey}" />
524
- <uipath:input name="connection" value="=bindings.{bindingId}" />
525
- <uipath:input name="folderKey" value="{folderKey}" />
526
- <uipath:input name="method" value="{method}" />
527
- <uipath:input name="path" value="{path}" />
572
+ <uipath:input name="connectorKey" type="string" value="{connectorKey}" />
573
+ <uipath:input name="connection" type="string" value="=bindings.{connectionBindingId}" />
574
+ <uipath:input name="folderKey" type="string" value="=bindings.{folderBindingId}" />
575
+ <uipath:input name="operation" type="string" value="{operation}" />
576
+ <uipath:input name="objectName" type="string" value="{objectName}" />
577
+ <uipath:input name="method" type="string" value="{method}" />
578
+ <uipath:input name="path" type="string" value="{path}" />
579
+ <uipath:input name="activityConfigurationVersion" type="string" value="v1" />
580
+ <uipath:input name="metadata" type="json"><![CDATA[{}]]></uipath:input>
528
581
  </uipath:context>
529
- <uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
530
- <uipath:output name="result" type="custom" source="." var="{varId}" />
582
+ <uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
531
583
  </uipath:activity>
532
584
  </bpmn:extensionElements>
533
585
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
534
586
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
535
- </bpmn:SendTask>`,
536
- discoveryNotes: "Uses getConnectorConnections(connectorKey) to list available connections. Activity/connector metadata comes from Integration Service catalog.",
537
- inputNotes: "isSplitInputs=false in design schema; inputs are sent as separate <uipath:input> elements, not merged into a single JSON body",
587
+ </bpmn:sendTask>`,
588
+ discoveryNotes: "Use `uip is activities list <connector-key> --output json` to select an activity. Set operation from Name, then describe ObjectName to get its current path, parameters, and fields.",
589
+ inputNotes: "Add each request field from the selected operation as its own uipath:input. Keep the field's type and target: path, query, body, or file.",
590
+ contextFieldNotes: "connection points to a root binding for a Connection resource. When folder scoping is required, folderKey points to a second binding for the same resourceKey. Use propertyAttribute ConnectionId for connection and folderKey for folderKey. Omit folderKey when the selected activity has no folder scoping, and omit both fields only when it does not use a connection.",
538
591
  extensionTagNotes: "In isExecution array, NOT in isEvents array, so uses uipath:activity"
539
592
  },
540
593
  "Intsvc.HttpExecution": {
@@ -3000,4 +3053,4 @@ export {
3000
3053
  BPMN_SPEC
3001
3054
  };
3002
3055
 
3003
- //# debugId=2A58D609C0428ABD64756E2164756E21
3056
+ //# debugId=CDEECEE972B634A464756E2164756E21
@@ -33,6 +33,7 @@ interface ModdleUiPathActivity {
33
33
  $type?: string;
34
34
  type?: ModdleTypeAttr | string;
35
35
  version?: string;
36
+ skipCondition?: string;
36
37
  context?: {
37
38
  input?: ModdleUiPathField[];
38
39
  };
@@ -55,6 +56,7 @@ interface ModdleUiPathVariable {
55
56
  canonicalId?: string;
56
57
  elementId?: string;
57
58
  default?: unknown;
59
+ body?: unknown;
58
60
  }
59
61
  interface ModdleExtensionElement extends ModdleUiPathActivity {
60
62
  error?: ModdleUiPathError[];
@@ -72,6 +72,7 @@ export declare function validateSingleConditionalOutgoingFlow(nodes: CanvasNode[
72
72
  export declare function validateTimerRequiredFields(nodes: CanvasNode[] | undefined): CanvasFinding[];
73
73
  export declare function validateEventObjectFields(canvasState: CanvasState): CanvasFinding[];
74
74
  export declare function validateMethodParentheses(allNodesList: CanvasNode[], allEdgesList: CanvasEdge[]): CanvasFinding[];
75
+ export declare function validateCollectionLengthExpressions(allNodesList: CanvasNode[], allEdgesList: CanvasEdge[], canvasState: CanvasState): CanvasFinding[];
75
76
  /**
76
77
  * Literal type mismatches on agent-job inputs are surfaced as warnings, not
77
78
  * errors: a value like a stringified JSON object is still a valid literal for
@@ -81,4 +82,4 @@ export declare function validateInputTypeMismatch(allNodesList: CanvasNode[]): C
81
82
  export declare function validateVariableExistence(allNodesList: CanvasNode[], allEdgesList: CanvasEdge[], knownIds: Set<string>): CanvasFinding[];
82
83
  export declare function validateVariableNotSet(allNodesList: CanvasNode[], allEdgesList: CanvasEdge[], knownIds: Set<string>, canvasState: CanvasState | undefined, options?: ValidateVariableNotSetOptions): CanvasFinding[];
83
84
  export declare function validateDiagram(diagram: CanvasDiagram, canvasState: CanvasState, options?: ValidateDiagramOptions): CanvasFinding[];
84
- export declare const RULE_CODES: readonly ["MISSING_CONDITION_EXPRESSION", "INVALID_CONNECTION", "INVALID_CONNECTION_TYPE", "DUPLICATE_ERROR_EVENT_SUBPROCESS", "MULTIPLE_CATCH_ALL_ERROR_EVENT_SUBPROCESS", "START_EVENT_WITHOUT_DEFINITION_IN_EVENT_SUBPROCESS", "INVALID_EVENT_DEFINITION_IN_EVENT_SUBPROCESS", "START_EVENT_WITH_DEFINITION_IN_SUBPROCESS", "ERROR_BOUNDARY_EVENT_EMPTY_ERROR_REF", "MULTIPLE_CATCH_ALL_BOUNDARY_EVENTS_ON_TASK", "DUPLICATE_ERROR_BOUNDARY_EVENT_ON_TASK", "ERROR_END_EVENT_MISSING_EXCEPTION", "FAKE_JOIN", "SAME_POOL_MESSAGE_FLOW", "MISSING_RESOURCE", "MISSING_ROOT_VARIABLE", "ASSIGNMENT_NOT_ALLOWED", "EMPTY_REQUIRED_FIELD", "CROSSING_POOL_BOUNDARY", "CROSSING_SUBPROCESS_BOUNDARY", "MULTIPLE_BLANK_START_EVENTS", "MULTIPLE_START_EVENTS_IN_EVENT_SUBPROCESS", "SUPERFLUOUS_GATEWAY", "TASK_TIMER_OUT_OF_RANGE", "TIMER_DURATION_INVALID", "TIMER_DURATION_WEEK_UNSUPPORTED", "VARIABLE_DOES_NOT_EXIST", "VARIABLE_NOT_SET", "SINGLE_CONDITIONAL_OUTGOING_FLOW", "TIMER_MISSING_REQUIRED_FIELD", "EVENT_OBJECT_EMPTY_REQUIRED_FIELD", "EVENT_OBJECT_DUPLICATE_FIELD", "METHOD_MISSING_PARENTHESES", "INPUT_TYPE_MISMATCH"];
85
+ export declare const RULE_CODES: readonly ["MISSING_CONDITION_EXPRESSION", "INVALID_CONNECTION", "INVALID_CONNECTION_TYPE", "DUPLICATE_ERROR_EVENT_SUBPROCESS", "MULTIPLE_CATCH_ALL_ERROR_EVENT_SUBPROCESS", "START_EVENT_WITHOUT_DEFINITION_IN_EVENT_SUBPROCESS", "INVALID_EVENT_DEFINITION_IN_EVENT_SUBPROCESS", "START_EVENT_WITH_DEFINITION_IN_SUBPROCESS", "ERROR_BOUNDARY_EVENT_EMPTY_ERROR_REF", "MULTIPLE_CATCH_ALL_BOUNDARY_EVENTS_ON_TASK", "DUPLICATE_ERROR_BOUNDARY_EVENT_ON_TASK", "ERROR_END_EVENT_MISSING_EXCEPTION", "FAKE_JOIN", "SAME_POOL_MESSAGE_FLOW", "MISSING_RESOURCE", "MISSING_ROOT_VARIABLE", "ASSIGNMENT_NOT_ALLOWED", "EMPTY_REQUIRED_FIELD", "CROSSING_POOL_BOUNDARY", "CROSSING_SUBPROCESS_BOUNDARY", "MULTIPLE_BLANK_START_EVENTS", "MULTIPLE_START_EVENTS_IN_EVENT_SUBPROCESS", "SUPERFLUOUS_GATEWAY", "TASK_TIMER_OUT_OF_RANGE", "TIMER_DURATION_INVALID", "TIMER_DURATION_WEEK_UNSUPPORTED", "VARIABLE_DOES_NOT_EXIST", "VARIABLE_NOT_SET", "SINGLE_CONDITIONAL_OUTGOING_FLOW", "TIMER_MISSING_REQUIRED_FIELD", "EVENT_OBJECT_EMPTY_REQUIRED_FIELD", "EVENT_OBJECT_DUPLICATE_FIELD", "METHOD_MISSING_PARENTHESES", "COLLECTION_LENGTH_NOT_SUPPORTED", "INPUT_TYPE_MISMATCH"];
@@ -45,6 +45,8 @@ export interface UiPathVariable {
45
45
  canonicalId?: string;
46
46
  elementId?: string;
47
47
  default?: unknown;
48
+ /** Serialized JSON schema/value carried by the variable element. */
49
+ body?: unknown;
48
50
  }
49
51
  export interface UiPathVariableGroups {
50
52
  inputs?: UiPathVariable[];
@@ -62,6 +64,7 @@ export interface UiPathErrorMapping {
62
64
  export interface UiPathNodeData {
63
65
  serviceType?: string;
64
66
  version?: string;
67
+ skipCondition?: string;
65
68
  context?: UiPathField[];
66
69
  inputs?: UiPathField[];
67
70
  outputs?: UiPathOutputField[];
@@ -46,10 +46,12 @@ export declare class BpmnValidateService {
46
46
  constructor(fileSystem: BpmnValidationFileSystem, options?: BpmnValidateServiceOptions);
47
47
  validateProject(projectPath: string): Promise<BpmnValidationResult>;
48
48
  private validateBpmnFile;
49
+ private validateRootEntryPointIds;
49
50
  private validateUiPathTags;
50
51
  private validatePayload;
51
52
  private validateContractPlacement;
52
53
  private validateContext;
54
+ private validateActivityExecutionV1Bindings;
53
55
  private validateInputs;
54
56
  private validateDynamicDirectInputs;
55
57
  private validateVariableMappingInputs;
@@ -62,3 +64,4 @@ export declare class BpmnValidateService {
62
64
  private createFailure;
63
65
  private createWarningMessage;
64
66
  }
67
+ export declare function isIntsvcActivityExecutionV1(nodeVersion: string | undefined, workflowVersion: string | undefined): boolean;
@@ -12,7 +12,7 @@ export { BPMN_SPEC, SUPPORTED_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTEN
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";
15
- export { buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, buildTriggerEssentialConfiguration, enrichConnectorNode, extractActivityFilterFields, extractMultipartParameters, extractTriggerEventParameters, extractTriggerFilterFields, FilterParseError, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorTriggerMetadata, filterNodes, findSolutionFromCwd, getConnectorConfiguration, getConnectorInfo, getNode, getNodeEnriched, inlineMultipartFileValues, isConnectorNode, isConnectorTriggerNode, isKnownSdkNodeType, listKnownSdkNodes, listNodes, loadIndexMetadata, loadNodeIndex, MANAGED_HTTP_CONNECTOR_KEY, parseFilterString, pullNodes, pullRemoteNodes, registerRegistryCommand, resolveNodeStorageDir, saveIndexMetadata, saveNodeIndex, searchNodes, searchNodesWithFilters, searchWithFilters, } from "./registry/index.js";
15
+ export { applySavedFilterTree, assertActivityMetadataResolved, buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, createConfiguredActivityClient, enrichConnectorNode, extractActivityFilterFields, extractMultipartParameters, extractTriggerEventParameters, extractTriggerFilterFields, FilterParseError, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorTriggerMetadata, filterNodes, findSolutionFromCwd, getConnectorConfiguration, getConnectorInfo, getNode, getNodeEnriched, inlineMultipartFileValues, isConnectorNode, isConnectorTriggerNode, isKnownSdkNodeType, listKnownSdkNodes, listNodes, loadIndexMetadata, loadNodeIndex, MANAGED_HTTP_CONNECTOR_KEY, parseFilterString, pullNodes, pullRemoteNodes, registerRegistryCommand, resolveNodeStorageDir, saveIndexMetadata, saveNodeIndex, searchNodes, searchNodesWithFilters, searchWithFilters, } from "./registry/index.js";
16
16
  export { countProcessesByType, getEnrichedActivityMetadata, getExtensionType, getRegistry, ORCHESTRATOR_RESOURCE_TYPES, type OrchestratorResourceType, pullRegistry, searchRegistry, } from "./registry/registry-service";
17
17
  export { CACHE_EXPIRATION_MS, loadRegistry, loadRegistryMetadata, saveRegistry, } from "./registry/storage";
18
18
  export type { DebugInstanceCommandsConfig } from "./shared-commands/debug-instances";
@@ -1,7 +1,7 @@
1
1
  export { registerRegistryCommand } from "./command.js";
2
2
  export { filterNodes, searchWithFilters, } from "./filter-engine.js";
3
3
  export { FilterParseError, parseFilterString } from "./filter-parser.js";
4
- export { buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, buildTriggerEssentialConfiguration, enrichConnectorNode, extractActivityFilterFields, extractMultipartParameters, extractTriggerEventParameters, extractTriggerFilterFields, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorTriggerMetadata, getConnectorConfiguration, getConnectorInfo, inlineMultipartFileValues, isConnectorNode, isConnectorTriggerNode, MANAGED_HTTP_CONNECTOR_KEY, } from "./integration-service-fetcher.js";
4
+ export { applySavedFilterTree, assertActivityMetadataResolved, buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, createConfiguredActivityClient, enrichConnectorNode, extractActivityFilterFields, extractMultipartParameters, extractTriggerEventParameters, extractTriggerFilterFields, fetchConnectionInfo, fetchConnectorMetadata, fetchConnectorTriggerMetadata, getConnectorConfiguration, getConnectorInfo, inlineMultipartFileValues, isConnectorNode, isConnectorTriggerNode, MANAGED_HTTP_CONNECTOR_KEY, } from "./integration-service-fetcher.js";
5
5
  export type { CompactField, ConnectorInfo, ConnectorMethodInfo, ContextEntry, FieldReference, ISField, ISFieldMethod, ISMetadata, ISMetadataParam, TriggerField, TriggerFieldEvent, TriggerObjectMetadata, } from "./integration-service-metadata.types";
6
6
  export { isKnownSdkNodeType, listKnownSdkNodes } from "./known-types.js";
7
7
  export { areDerivedArtifactsCurrent, buildEssentialsIndex, buildSearchIndex, CACHE_FORMAT_VERSION, type DerivedArtifact, isEssentialNodeType, loadIndexMetadata, loadNodeIndex, loadValidEssentialsIndex, loadValidSearchIndex, type NodeSearchSummary, rederiveNodeIndexArtifacts, resolveNodeStorageDir, type SearchableNode, type SyncMetadata, saveIndexMetadata, saveNodeIndex, } from "./node-storage.js";
@@ -1,6 +1,6 @@
1
1
  import type { NodeManifest } from "@uipath/flow-core";
2
2
  import type { CompactField, ConnectorConfiguration, ConnectorInfo, ISMetadata, TriggerObjectMetadata } from "./integration-service-metadata.types";
3
- export { buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, buildTriggerEssentialConfiguration, extractMultipartParameters, inlineMultipartFileValues, MANAGED_HTTP_CONNECTOR_KEY, } from "@uipath/integrationservice-sdk";
3
+ export { applySavedFilterTree, assertActivityMetadataResolved, buildActivityEssentialConfiguration, buildInputMetadata, buildManagedHttpEssentialConfiguration, createConfiguredActivityClient, extractMultipartParameters, inlineMultipartFileValues, MANAGED_HTTP_CONNECTOR_KEY, } from "@uipath/integrationservice-sdk";
4
4
  export declare function isConnectorNode(node: NodeManifest): boolean;
5
5
  export declare function isConnectorTriggerNode(node: NodeManifest): boolean;
6
6
  export declare function extractTriggerEventParameters(metadata: TriggerObjectMetadata, operationName: string): CompactField[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/maestro-sdk",
3
3
  "license": "MIT",
4
- "version": "1.199.0",
4
+ "version": "1.201.0-preview.115",
5
5
  "description": "SDK for the UiPath Maestro (PIMS) API — process instance management.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "files": [
48
48
  "dist"
49
49
  ],
50
- "gitHead": "723e6801b77b5926ba75e75b6a756cc38b1b7adc"
50
+ "gitHead": "f1086b73654d7728cb71f280588b3e0c77d535fc"
51
51
  }