@uipath/case-tool 1.207.0-preview.366 → 1.207.0-preview.369

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.
Files changed (39) hide show
  1. package/dist/{case-debug-solution-projects-6e6b16qq.js → case-debug-solution-projects-azefha11.js} +1 -1
  2. package/dist/{case-debug-studio-web-service-gemha75d.js → case-debug-studio-web-service-4z54zt3v.js} +2 -2
  3. package/dist/{case-pack-service-xyn6t90x.js → case-pack-service-epb723tm.js} +2 -2
  4. package/dist/{case-splice-service-hwjbt81f.js → case-splice-service-j9e214e7.js} +4 -4
  5. package/dist/{case-validate-service-17faft6e.js → case-validate-service-2raj1mk1.js} +3 -3
  6. package/dist/{connector-enrichment-service-jebgzxck.js → connector-enrichment-service-bkkqqs99.js} +6 -6
  7. package/dist/{connector-lookup-service-dhpzd4fz.js → connector-lookup-service-pzydggen.js} +2 -2
  8. package/dist/{connector-task-shape-qamydqnd.js → connector-task-shape-g6tyc4z5.js} +2 -4
  9. package/dist/{index-v2kjjmaj.js → index-2zcbmb0d.js} +4 -6
  10. package/dist/{index-darrxea2.js → index-csek2rn7.js} +1 -1
  11. package/dist/{index-w3r610c0.js → index-detd64tx.js} +4 -4
  12. package/dist/index.js +2 -2
  13. package/dist/{init-entry-points-pnp9cdn2.js → init-entry-points-x0nvrtm9.js} +1 -1
  14. package/dist/{integration-service-fetcher-0qegkmef.js → integration-service-fetcher-bqrx7n75.js} +2 -2
  15. package/dist/{node-sync-service-jy8q0yg5.js → node-sync-service-mbcrw5an.js} +3 -3
  16. package/dist/{packager-tool-v6fv86sz.js → packager-tool-2a8p7p9y.js} +1 -1
  17. package/dist/{packager-tool-brgq2a72.js → packager-tool-3tsqa9c3.js} +4 -4
  18. package/dist/{packager-tool-xnspytxd.js → packager-tool-68xm6p6g.js} +2 -2
  19. package/dist/{packager-tool-5a00111n.js → packager-tool-c6znpjxg.js} +2 -2
  20. package/dist/{packager-tool-ysv7n9bq.js → packager-tool-e1r1m1fr.js} +170 -3871
  21. package/dist/{packager-tool-dr9fxzed.js → packager-tool-h21mc6tk.js} +1 -1
  22. package/dist/{packager-tool-w4qdchyq.js → packager-tool-kk3x20wv.js} +1 -1
  23. package/dist/{packager-tool-5ag6241s.js → packager-tool-na9g8het.js} +1 -1
  24. package/dist/{packager-tool-tntebxp7.js → packager-tool-ndwgf588.js} +1 -1
  25. package/dist/{packager-tool-cenyx45f.js → packager-tool-p4wps74z.js} +31 -27
  26. package/dist/{packager-tool-qcj4b7s5.js → packager-tool-qmbqame3.js} +4 -4
  27. package/dist/packager-tool-rp66dp3a.js +30 -0
  28. package/dist/{packager-tool-phde58ta.js → packager-tool-v9hbm526.js} +1 -1
  29. package/dist/packager-tool-vqexp500.js +95 -0
  30. package/dist/{resourcesSyncService-qvavs9n3.js → resourcesSyncService-7steed3a.js} +4 -4
  31. package/dist/{rule-type-declaration-8d70fcg1.js → rule-type-declaration-5t95xkbj.js} +1 -1
  32. package/dist/{sdd-convert-service-nv95qnp3.js → sdd-convert-service-m9spcya6.js} +3 -3
  33. package/dist/{sdd-resolve-siblings-npmj7bjm.js → sdd-resolve-siblings-qaz89bh4.js} +1 -1
  34. package/dist/{strict-sdd-audit-cybg0wva.js → strict-sdd-audit-egqnhewp.js} +1 -1
  35. package/dist/tool.js +1 -1
  36. package/dist/{trigger-enrichment-service-2nk25yr9.js → trigger-enrichment-service-79yfxy52.js} +10 -10
  37. package/package.json +2 -2
  38. package/dist/packager-tool-07mv459d.js +0 -205
  39. package/dist/packager-tool-e1tx5mqg.js +0 -48
@@ -9,7 +9,7 @@ import {
9
9
  isV4ActivityConfiguration2,
10
10
  getConnectorActivityMetadataV4,
11
11
  connectorMaxPageSize
12
- } from "./packager-tool-xnspytxd.js";
12
+ } from "./packager-tool-68xm6p6g.js";
13
13
 
14
14
  // ../maestro-sdk/src/registry/integration-service-fetcher.ts
15
15
  function parseContext(node) {
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DEFAULT_TRIGGER_ID,
12
12
  DEFAULT_TRIGGER_LABEL
13
- } from "./packager-tool-07mv459d.js";
13
+ } from "./packager-tool-vqexp500.js";
14
14
 
15
15
  // src/utils/init-entry-points.ts
16
16
  var entryPointsDocument2 = (entries) => ({
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DEFAULT_TRIGGER_ID,
6
6
  DEFAULT_TRIGGER_LABEL
7
- } from "./packager-tool-07mv459d.js";
7
+ } from "./packager-tool-vqexp500.js";
8
8
 
9
9
  // src/utils/case-document.ts
10
10
  function buildMinimalCaseDocument(options) {
@@ -70,7 +70,7 @@ import {
70
70
  import {
71
71
  isStageNode,
72
72
  isAnyTriggerNode
73
- } from "./packager-tool-07mv459d.js";
73
+ } from "./packager-tool-vqexp500.js";
74
74
 
75
75
  // src/services/sdd-normalizer.ts
76
76
  var ownBodyOf = (section) => {
@@ -92,7 +92,7 @@ var bpmn_spec_default = {
92
92
  inputPattern: "mergedBody",
93
93
  inputName: "HitlTaskArguments",
94
94
  inputTarget: "bodyField",
95
- outputSource: null,
95
+ outputSource: "=result",
96
96
  outputType: "Actions.HITL",
97
97
  outputName: "Process response",
98
98
  useRelativeSource: true,
@@ -109,7 +109,7 @@ var bpmn_spec_default = {
109
109
  <uipath:input name="taskTitle" type="string" value="{taskTitle}" />
110
110
  </uipath:context>
111
111
  <uipath:input name="HitlTaskArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
112
- <uipath:output name="Process response" type="Actions.HITL" var="{varId}" />
112
+ <uipath:output name="Process response" type="Actions.HITL" source="=result" var="{varId}" />
113
113
  </uipath:activity>
114
114
  </bpmn:extensionElements>
115
115
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -168,7 +168,7 @@ var bpmn_spec_default = {
168
168
  inputPattern: "mergedBody",
169
169
  inputName: "JobArguments",
170
170
  inputTarget: "bodyField",
171
- outputSource: null,
171
+ outputSource: "=result",
172
172
  outputType: "Orchestrator.RunJob",
173
173
  outputName: "Process response",
174
174
  useRelativeSource: true,
@@ -190,7 +190,7 @@ var bpmn_spec_default = {
190
190
  <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
191
191
  </uipath:context>
192
192
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
193
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
193
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
194
194
  </uipath:activity>
195
195
  </bpmn:extensionElements>
196
196
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -242,7 +242,7 @@ var bpmn_spec_default = {
242
242
  inputPattern: "mergedBody",
243
243
  inputName: "JobArguments",
244
244
  inputTarget: "bodyField",
245
- outputSource: null,
245
+ outputSource: "=result",
246
246
  outputType: "Orchestrator.RunJob",
247
247
  outputName: "Process response",
248
248
  useRelativeSource: true,
@@ -264,7 +264,7 @@ var bpmn_spec_default = {
264
264
  <uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
265
265
  </uipath:context>
266
266
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
267
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
267
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
268
268
  </uipath:activity>
269
269
  </bpmn:extensionElements>
270
270
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -1681,7 +1681,7 @@ var bpmn_spec_default = {
1681
1681
  inputPattern: "mergedBody",
1682
1682
  inputName: "JobArguments",
1683
1683
  inputTarget: "bodyField",
1684
- outputSource: null,
1684
+ outputSource: "=result",
1685
1685
  outputType: "Orchestrator.RunJob",
1686
1686
  outputName: "Process response",
1687
1687
  useRelativeSource: true,
@@ -1705,7 +1705,7 @@ var bpmn_spec_default = {
1705
1705
  <uipath:input name="name" type="string" value="{name}" />
1706
1706
  </uipath:context>
1707
1707
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
1708
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
1708
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
1709
1709
  </uipath:activity>
1710
1710
  </bpmn:extensionElements>
1711
1711
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -1770,7 +1770,7 @@ var bpmn_spec_default = {
1770
1770
  inputPattern: "mergedBody",
1771
1771
  inputName: "JobArguments",
1772
1772
  inputTarget: "bodyField",
1773
- outputSource: null,
1773
+ outputSource: "=result",
1774
1774
  outputType: "Orchestrator.RunJob",
1775
1775
  outputName: "Process response",
1776
1776
  useRelativeSource: true,
@@ -1794,7 +1794,7 @@ var bpmn_spec_default = {
1794
1794
  <uipath:input name="name" type="string" value="{name}" />
1795
1795
  </uipath:context>
1796
1796
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
1797
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
1797
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
1798
1798
  </uipath:activity>
1799
1799
  </bpmn:extensionElements>
1800
1800
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -1850,7 +1850,7 @@ var bpmn_spec_default = {
1850
1850
  inputPattern: "mergedBody",
1851
1851
  inputName: "ItemData",
1852
1852
  inputTarget: "body",
1853
- outputSource: null,
1853
+ outputSource: "=result",
1854
1854
  outputType: "Orchestrator.CreateQueueItem",
1855
1855
  outputName: "response",
1856
1856
  useRelativeSource: true,
@@ -1873,7 +1873,7 @@ var bpmn_spec_default = {
1873
1873
  <uipath:input name="folderPath" type="string" value="{folderPath}" />
1874
1874
  </uipath:context>
1875
1875
  <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
1876
- <uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
1876
+ <uipath:output name="response" type="Orchestrator.CreateQueueItem" source="=result" var="{varId}" />
1877
1877
  </uipath:activity>
1878
1878
  </bpmn:extensionElements>
1879
1879
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -1929,7 +1929,7 @@ var bpmn_spec_default = {
1929
1929
  inputPattern: "mergedBody",
1930
1930
  inputName: "ItemData",
1931
1931
  inputTarget: "body",
1932
- outputSource: null,
1932
+ outputSource: "=result",
1933
1933
  outputType: "Orchestrator.CreateQueueItem",
1934
1934
  outputName: "response",
1935
1935
  useRelativeSource: true,
@@ -1953,7 +1953,7 @@ var bpmn_spec_default = {
1953
1953
  <uipath:input name="folderPath" type="string" value="{folderPath}" />
1954
1954
  </uipath:context>
1955
1955
  <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
1956
- <uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
1956
+ <uipath:output name="response" type="Orchestrator.CreateQueueItem" source="=result" var="{varId}" />
1957
1957
  </uipath:activity>
1958
1958
  </bpmn:extensionElements>
1959
1959
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -2866,7 +2866,7 @@ var bpmn_spec_default = {
2866
2866
  inputPattern: "mergedBody",
2867
2867
  inputName: "JobArguments",
2868
2868
  inputTarget: "bodyField",
2869
- outputSource: null,
2869
+ outputSource: "=result",
2870
2870
  outputType: "Orchestrator.RunJob",
2871
2871
  outputName: "Process response",
2872
2872
  useRelativeSource: true,
@@ -2890,7 +2890,7 @@ var bpmn_spec_default = {
2890
2890
  <uipath:input name="name" type="string" value="{name}" />
2891
2891
  </uipath:context>
2892
2892
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
2893
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
2893
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
2894
2894
  </uipath:activity>
2895
2895
  </bpmn:extensionElements>
2896
2896
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -3043,7 +3043,7 @@ var bpmn_spec_default = {
3043
3043
  inputPattern: "mergedBody",
3044
3044
  inputName: "JobArguments",
3045
3045
  inputTarget: "bodyField",
3046
- outputSource: null,
3046
+ outputSource: "=result",
3047
3047
  outputType: "Orchestrator.RunJob",
3048
3048
  outputName: "Process response",
3049
3049
  useRelativeSource: true,
@@ -3067,7 +3067,7 @@ var bpmn_spec_default = {
3067
3067
  <uipath:input name="name" type="string" value="{name}" />
3068
3068
  </uipath:context>
3069
3069
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3070
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
3070
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
3071
3071
  </uipath:activity>
3072
3072
  </bpmn:extensionElements>
3073
3073
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -3220,7 +3220,7 @@ var bpmn_spec_default = {
3220
3220
  inputPattern: "mergedBody",
3221
3221
  inputName: "JobArguments",
3222
3222
  inputTarget: "bodyField",
3223
- outputSource: null,
3223
+ outputSource: "=result",
3224
3224
  outputType: "Orchestrator.RunJob",
3225
3225
  outputName: "Process response",
3226
3226
  useRelativeSource: true,
@@ -3244,7 +3244,7 @@ var bpmn_spec_default = {
3244
3244
  <uipath:input name="name" type="string" value="{name}" />
3245
3245
  </uipath:context>
3246
3246
  <uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
3247
- <uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
3247
+ <uipath:output name="Process response" type="Orchestrator.RunJob" source="=result" var="{varId}" />
3248
3248
  </uipath:activity>
3249
3249
  </bpmn:extensionElements>
3250
3250
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -3354,7 +3354,7 @@ var bpmn_spec_default = {
3354
3354
  inputPattern: "mergedBody",
3355
3355
  inputName: "body",
3356
3356
  inputTarget: "body",
3357
- outputSource: null,
3357
+ outputSource: "=result",
3358
3358
  outputType: "A2A.AgentExecution",
3359
3359
  outputName: "a2aResponse",
3360
3360
  useRelativeSource: true,
@@ -3366,7 +3366,7 @@ var bpmn_spec_default = {
3366
3366
  <uipath:activity version="v1">
3367
3367
  <uipath:type value="A2A.AgentExecution" version="v1" />
3368
3368
  <uipath:input name="body" type="json" target="body"><![CDATA[{"agentUrl":"{agentUrl}","skillId":"{skillId}","input":"{input}","authToken":"{authToken}","agentName":"{agentName}"}]]></uipath:input>
3369
- <uipath:output name="a2aResponse" type="A2A.AgentExecution" var="{varId}" />
3369
+ <uipath:output name="a2aResponse" type="A2A.AgentExecution" source="=result" var="{varId}" />
3370
3370
  </uipath:activity>
3371
3371
  </bpmn:extensionElements>
3372
3372
  <bpmn:incoming>{incomingEdge}</bpmn:incoming>
@@ -3639,7 +3639,7 @@ var bpmn_spec_default = {
3639
3639
  inputPattern: "separateInputs",
3640
3640
  inputName: "ItemData",
3641
3641
  inputTarget: "body",
3642
- outputSource: null,
3642
+ outputSource: "=result",
3643
3643
  outputType: "Maestro.ReceiveMessageEvent",
3644
3644
  outputName: "response",
3645
3645
  useRelativeSource: true,
@@ -3655,7 +3655,7 @@ var bpmn_spec_default = {
3655
3655
  <uipath:input name="_label" type="string" value="{_label}" />
3656
3656
  </uipath:context>
3657
3657
  <uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
3658
- <uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
3658
+ <uipath:output name="response" type="Maestro.ReceiveMessageEvent" source="=result" var="{varId}" />
3659
3659
  </uipath:event>
3660
3660
  </bpmn:extensionElements>
3661
3661
  <bpmn:messageEventDefinition />
@@ -3732,7 +3732,7 @@ var bpmn_spec_default = {
3732
3732
  inputPattern: "splitInputsItemData",
3733
3733
  inputName: "ItemData",
3734
3734
  inputTarget: "body",
3735
- outputSource: null,
3735
+ outputSource: "=result",
3736
3736
  outputType: "Maestro.SendMessageEvent",
3737
3737
  outputName: "response",
3738
3738
  useRelativeSource: true,
@@ -3749,7 +3749,7 @@ var bpmn_spec_default = {
3749
3749
  <uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
3750
3750
  </uipath:context>
3751
3751
  <uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"{Reference}","SpecificContent":{},"TimeToLive":""}]]></uipath:input>
3752
- <uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
3752
+ <uipath:output name="response" type="Maestro.SendMessageEvent" source="=result" var="{varId}" />
3753
3753
  </uipath:event>
3754
3754
  </bpmn:extensionElements>
3755
3755
  <bpmn:messageEventDefinition />
@@ -4958,6 +4958,10 @@ var SCRIPT_RUNTIME_GLOBALS = new Set([
4958
4958
  ...JINT_GLOBALS
4959
4959
  ]);
4960
4960
  var SCRIPT_ENVELOPE_NAMES = new Set(["vars", "metadata"]);
4961
+ var SOURCE_OPTIONAL_OUTPUT_TYPES = new Set([
4962
+ "Maestro.ReceiveMessageEvent",
4963
+ "Maestro.SendMessageEvent"
4964
+ ]);
4961
4965
  var NON_BODY_INPUT_TARGETS = new Set([
4962
4966
  "bodyField",
4963
4967
  "header",
@@ -5002,4 +5006,4 @@ var COLLAPSED_MULTI_INSTANCE_OUTPUT_CONTRACTS = new Set([
5002
5006
  var CACHE_EXPIRATION_MS = 30 * 60 * 1000;
5003
5007
  var RENAME_RETRYABLE_CODES = new Set(["EPERM", "EBUSY", "EACCES"]);
5004
5008
 
5005
- //# debugId=C9000AABEAABF92E64756E2164756E21
5009
+ //# debugId=D8D3417EF2702C2F64756E2164756E21
@@ -8,24 +8,24 @@ import {
8
8
  assertActivityMetadataResolved2,
9
9
  extractMultipartParameters2,
10
10
  buildInputMetadata2
11
- } from "./packager-tool-xnspytxd.js";
11
+ } from "./packager-tool-68xm6p6g.js";
12
12
  import {
13
13
  guardJsonString
14
14
  } from "./packager-tool-00ck60cc.js";
15
15
  import {
16
16
  fetchConnectorMetadata2
17
- } from "./packager-tool-dr9fxzed.js";
17
+ } from "./packager-tool-h21mc6tk.js";
18
18
  import {
19
19
  lookupTypeCacheEntry2,
20
20
  fetchConnectorConnections2
21
- } from "./packager-tool-v6fv86sz.js";
21
+ } from "./packager-tool-2a8p7p9y.js";
22
22
  import {
23
23
  buildErrorOutput,
24
24
  addVarIdsToInputsOutputs
25
25
  } from "./packager-tool-8rts5dmk.js";
26
26
  import {
27
27
  createConnectorBindings
28
- } from "./packager-tool-e1tx5mqg.js";
28
+ } from "./packager-tool-rp66dp3a.js";
29
29
  import {
30
30
  v2ConfigurationVersionEntry
31
31
  } from "./packager-tool-68648y3j.js";
@@ -0,0 +1,30 @@
1
+ import {
2
+ prefixedId
3
+ } from "./packager-tool-1h7abxw6.js";
4
+
5
+ // src/utils/binding-builder.ts
6
+ function createConnectorBindings(connectorKey, connectionId, folderKey) {
7
+ const connectionBinding = {
8
+ id: prefixedId("b", 8),
9
+ name: `${connectorKey} connection`,
10
+ type: "string",
11
+ resource: "Connection",
12
+ propertyAttribute: "ConnectionId",
13
+ resourceKey: connectionId,
14
+ default: connectionId
15
+ };
16
+ const folderKeyBinding = folderKey ? {
17
+ id: prefixedId("b", 8),
18
+ name: "FolderKey",
19
+ type: "string",
20
+ resource: "Connection",
21
+ propertyAttribute: "folderKey",
22
+ resourceKey: connectionId,
23
+ default: folderKey
24
+ } : undefined;
25
+ return [connectionBinding, folderKeyBinding];
26
+ }
27
+
28
+ export { createConnectorBindings };
29
+
30
+ //# debugId=7071ECDF83A1514164756E2164756E21
@@ -21,7 +21,7 @@ import {
21
21
  } from "./packager-tool-xb16e3tz.js";
22
22
  import {
23
23
  enrichConnectorNode2
24
- } from "./packager-tool-dr9fxzed.js";
24
+ } from "./packager-tool-h21mc6tk.js";
25
25
  import {
26
26
  selectMaestroNodes,
27
27
  listKnownSdkNodes2
@@ -0,0 +1,95 @@
1
+ // src/utils/schema-helpers.ts
2
+ var VALID_TASK_ENTRY_RULE_TYPES = [
3
+ "current-stage-entered",
4
+ "selected-tasks-completed",
5
+ "task-exited",
6
+ "wait-for-connector",
7
+ "adhoc",
8
+ "runs-sequentially",
9
+ "sla-status-change",
10
+ "api-event"
11
+ ];
12
+ var VALID_STAGE_ENTRY_RULE_TYPES = [
13
+ "case-entered",
14
+ "selected-stage-exited",
15
+ "selected-stage-completed",
16
+ "wait-for-connector",
17
+ "user-selected-stage",
18
+ "sla-status-change",
19
+ "api-event"
20
+ ];
21
+ var VALID_STAGE_COMPLETION_RULE_TYPES = [
22
+ "required-tasks-completed",
23
+ "selected-tasks-completed",
24
+ "wait-for-connector",
25
+ "sla-status-change",
26
+ "api-event"
27
+ ];
28
+ var VALID_STAGE_EXIT_RULE_TYPES = [
29
+ "selected-tasks-completed",
30
+ "task-exited",
31
+ "wait-for-connector",
32
+ "sla-status-change",
33
+ "api-event"
34
+ ];
35
+ var VALID_CASE_COMPLETION_RULE_TYPES = [
36
+ "required-stages-completed",
37
+ "selected-stage-exited",
38
+ "selected-stage-completed",
39
+ "wait-for-connector",
40
+ "sla-status-change",
41
+ "api-event"
42
+ ];
43
+ var VALID_CASE_EXIT_RULE_TYPES = [
44
+ "selected-stage-completed",
45
+ "selected-stage-exited",
46
+ "wait-for-connector",
47
+ "sla-status-change",
48
+ "api-event"
49
+ ];
50
+ function isStageNode(node) {
51
+ return node.type === "case-management:Stage" || node.type === "case-management:ExceptionStage";
52
+ }
53
+ function requireStageNode(schema, stageId) {
54
+ const node = schema.nodes.find((n) => n.id === stageId);
55
+ if (!node) {
56
+ throw new Error(`Stage not found with id: ${stageId}`);
57
+ }
58
+ if (!isStageNode(node)) {
59
+ throw new Error(`Node ${stageId} is not a stage (type: ${node.type})`);
60
+ }
61
+ return node;
62
+ }
63
+ function findTask(tasks, taskId) {
64
+ for (let lane = 0;lane < tasks.length; lane++) {
65
+ const index = tasks[lane].findIndex((t) => t.id === taskId);
66
+ if (index !== -1) {
67
+ return { task: tasks[lane][index], lane, index };
68
+ }
69
+ }
70
+ return;
71
+ }
72
+ function requireTask(tasks, taskId, stageId) {
73
+ const found = findTask(tasks, taskId);
74
+ if (!found) {
75
+ throw new Error(`Task not found with id: ${taskId} in stage: ${stageId}`);
76
+ }
77
+ return found;
78
+ }
79
+ var DEFAULT_TRIGGER_ID = "trigger_1";
80
+ var DEFAULT_TRIGGER_LABEL = "Trigger 1";
81
+ function isTriggerNode(node) {
82
+ return node.type === "case-management:Trigger";
83
+ }
84
+ function isAnyTriggerNode(node) {
85
+ return isTriggerNode(node) || node.type === "uipath.case.trigger";
86
+ }
87
+ function ensureRootBindings(schema) {
88
+ schema.bindings ??= [];
89
+ schema.variables ??= { inputOutputs: [] };
90
+ return schema;
91
+ }
92
+
93
+ export { VALID_TASK_ENTRY_RULE_TYPES, VALID_STAGE_ENTRY_RULE_TYPES, VALID_STAGE_COMPLETION_RULE_TYPES, VALID_STAGE_EXIT_RULE_TYPES, VALID_CASE_COMPLETION_RULE_TYPES, VALID_CASE_EXIT_RULE_TYPES, isStageNode, requireStageNode, requireTask, DEFAULT_TRIGGER_ID, DEFAULT_TRIGGER_LABEL, isAnyTriggerNode, ensureRootBindings };
94
+
95
+ //# debugId=AB954778409460CB64756E2164756E21
@@ -7,7 +7,7 @@ import {
7
7
  } from "./packager-tool-gw963pj7.js";
8
8
  import"./packager-tool-00ck60cc.js";
9
9
  import"./packager-tool-4seehsme.js";
10
- import"./packager-tool-cenyx45f.js";
10
+ import"./packager-tool-p4wps74z.js";
11
11
  import"./packager-tool-wvf6b31h.js";
12
12
  import"./packager-tool-n3r5apbb.js";
13
13
  import {
@@ -15,14 +15,14 @@ import {
15
15
  } from "./packager-tool-c0pavv0s.js";
16
16
  import"./packager-tool-z5g8t8hx.js";
17
17
  import"./packager-tool-xb16e3tz.js";
18
- import"./packager-tool-xnspytxd.js";
19
- import"./packager-tool-dr9fxzed.js";
18
+ import"./packager-tool-68xm6p6g.js";
19
+ import"./packager-tool-h21mc6tk.js";
20
20
  import"./packager-tool-cbgr9tcc.js";
21
21
  import"./packager-tool-5gd1m2k7.js";
22
22
  import {
23
23
  findSolutionFromCwd2
24
24
  } from "./packager-tool-x3wjwf58.js";
25
- import"./packager-tool-phde58ta.js";
25
+ import"./packager-tool-v9hbm526.js";
26
26
  import"./packager-tool-cbb25ypr.js";
27
27
  import"./packager-tool-t557xpq8.js";
28
28
  import {
@@ -21,7 +21,7 @@ import {
21
21
  VALID_STAGE_EXIT_RULE_TYPES,
22
22
  VALID_CASE_COMPLETION_RULE_TYPES,
23
23
  VALID_CASE_EXIT_RULE_TYPES
24
- } from "./packager-tool-07mv459d.js";
24
+ } from "./packager-tool-vqexp500.js";
25
25
  import {
26
26
  byCodeUnit
27
27
  } from "./packager-tool-1c30ttpm.js";
@@ -62,7 +62,7 @@ import {
62
62
  httpRequestData,
63
63
  scriptData,
64
64
  fixedOutputsFor
65
- } from "./packager-tool-tntebxp7.js";
65
+ } from "./packager-tool-ndwgf588.js";
66
66
  import {
67
67
  gateKey,
68
68
  canonicalVariableType
@@ -72,7 +72,7 @@ import {
72
72
  } from "./packager-tool-hezm29fa.js";
73
73
  import {
74
74
  designerShapeConnectorTasks2
75
- } from "./packager-tool-brgq2a72.js";
75
+ } from "./packager-tool-3tsqa9c3.js";
76
76
  import {
77
77
  caseRolesFor,
78
78
  emitCanvasNotes
@@ -89,7 +89,7 @@ import {
89
89
  } from "./packager-tool-engs9gvj.js";
90
90
  import {
91
91
  buildMinimalCaseDocument
92
- } from "./packager-tool-5ag6241s.js";
92
+ } from "./packager-tool-na9g8het.js";
93
93
  import {
94
94
  prefixedId
95
95
  } from "./packager-tool-1h7abxw6.js";
@@ -23,7 +23,7 @@ var uipxNearCwd = async (dirs) => {
23
23
  return;
24
24
  };
25
25
  var loadSiblings = async (cacheFiles) => {
26
- const { findSolutionFromCwd, solutionSearchDirs } = await import("./index-w3r610c0.js");
26
+ const { findSolutionFromCwd, solutionSearchDirs } = await import("./index-detd64tx.js");
27
27
  const ctx = await findSolutionFromCwd();
28
28
  if (ctx === null) {
29
29
  const unread = await uipxNearCwd(solutionSearchDirs());
@@ -3,7 +3,7 @@ import {
3
3
  DEFAULT_GROUP2,
4
4
  parseSddToJson2,
5
5
  auditCaseplanAgainstSdd2
6
- } from "./packager-tool-tntebxp7.js";
6
+ } from "./packager-tool-ndwgf588.js";
7
7
  import"./packager-tool-yh8mmj3p.js";
8
8
  import"./packager-tool-q7hk4hdn.js";
9
9
  import"./packager-tool-engs9gvj.js";
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata2,
3
3
  registerCommands2
4
- } from "./packager-tool-ysv7n9bq.js";
4
+ } from "./packager-tool-e1r1m1fr.js";
5
5
  import"./packager-tool-8c9e9s5q.js";
6
6
  import"./packager-tool-n6h4bz4d.js";
7
7
  import"./packager-tool-jv5byaww.js";
@@ -9,29 +9,29 @@ import {
9
9
  createApiClient2,
10
10
  createConfiguredActivityClient2,
11
11
  assertActivityMetadataResolved2
12
- } from "./packager-tool-xnspytxd.js";
12
+ } from "./packager-tool-68xm6p6g.js";
13
13
  import"./packager-tool-n3r5apbb.js";
14
14
  import"./packager-tool-c0pavv0s.js";
15
15
  import {
16
16
  guardJsonString
17
17
  } from "./packager-tool-00ck60cc.js";
18
18
  import"./packager-tool-4seehsme.js";
19
- import"./packager-tool-cenyx45f.js";
19
+ import"./packager-tool-p4wps74z.js";
20
20
  import"./packager-tool-wvf6b31h.js";
21
21
  import"./packager-tool-z5g8t8hx.js";
22
22
  import"./packager-tool-xb16e3tz.js";
23
- import"./packager-tool-dr9fxzed.js";
23
+ import"./packager-tool-h21mc6tk.js";
24
24
  import"./packager-tool-cbgr9tcc.js";
25
25
  import"./packager-tool-5gd1m2k7.js";
26
26
  import"./packager-tool-x3wjwf58.js";
27
- import"./packager-tool-phde58ta.js";
27
+ import"./packager-tool-v9hbm526.js";
28
28
  import"./packager-tool-cbb25ypr.js";
29
29
  import"./packager-tool-t557xpq8.js";
30
30
  import"./packager-tool-jv5byaww.js";
31
31
  import {
32
32
  lookupTypeCacheEntry2,
33
33
  fetchConnectorConnections2
34
- } from "./packager-tool-v6fv86sz.js";
34
+ } from "./packager-tool-2a8p7p9y.js";
35
35
  import"./packager-tool-p1vd39dr.js";
36
36
  import {
37
37
  buildErrorOutput,
@@ -39,12 +39,12 @@ import {
39
39
  } from "./packager-tool-8rts5dmk.js";
40
40
  import {
41
41
  parseEntryConfiguration2
42
- } from "./packager-tool-qcj4b7s5.js";
43
- import"./packager-tool-x6fr071r.js";
44
- import"./packager-tool-pvfg82v3.js";
42
+ } from "./packager-tool-qmbqame3.js";
45
43
  import {
46
44
  createConnectorBindings
47
- } from "./packager-tool-e1tx5mqg.js";
45
+ } from "./packager-tool-rp66dp3a.js";
46
+ import"./packager-tool-x6fr071r.js";
47
+ import"./packager-tool-pvfg82v3.js";
48
48
  import"./packager-tool-p5t15axw.js";
49
49
  import"./packager-tool-mrx35d7v.js";
50
50
  import {
@@ -355,4 +355,4 @@ export {
355
355
  triggerActivityType
356
356
  };
357
357
 
358
- //# debugId=3F570E550C694E5A64756E2164756E21
358
+ //# debugId=48B7E6FD54DF20B364756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/case-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.207.0-preview.366",
5
+ "version": "1.207.0-preview.369",
6
6
  "description": "Manage Case Management instances, processes, and incidents.",
7
7
  "private": false,
8
8
  "repository": {
@@ -28,5 +28,5 @@
28
28
  "files": [
29
29
  "dist"
30
30
  ],
31
- "gitHead": "9bdaec34623a3b754eeecb5dfefea2d9a9383ca6"
31
+ "gitHead": "e1aff86541b725b0915fa818a3cb75bc6ce3ce1d"
32
32
  }