@uipath/maestro-tool 1.202.2 → 1.203.0-preview.180
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/README.md +8 -0
- package/dist/THIRD-PARTY-NOTICES.md +83 -290
- package/dist/{authoring-818595dq.js → authoring-at68vr5g.js} +7 -5
- package/dist/{authoring-6r3wx3fa.js → authoring-sh284a0x.js} +3 -3
- package/dist/{authoring-61hqf5em.js → authoring-szfy0rh1.js} +5 -5
- package/dist/{binding-service-643e69bb.js → binding-service-8a05gy4k.js} +37 -29
- package/dist/{bpmn-action-type-validator-kx36sqhe.js → bpmn-action-type-validator-8kvyvvcf.js} +2 -2
- package/dist/bpmn-binding-resolver-5scq28mc.js +145 -0
- package/dist/{bpmn-branch-y1m9f10n.js → bpmn-branch-t12a7jvf.js} +50 -44
- package/dist/bpmn-format-service-ay6jd9he.js +69 -0
- package/dist/{bpmn-refresh-service-ew545y06.js → bpmn-refresh-service-ak1ctkwg.js} +4 -4
- package/dist/{bpmn-update-metadata-service-jhahhjab.js → bpmn-update-metadata-service-hqe4edze.js} +6 -5
- package/dist/{bpmn-validate-service-6z2dj8ac.js → bpmn-validate-service-48sfy3a2.js} +3 -3
- package/dist/{case-api-4mstfkzf.js → case-api-e3fmq685.js} +6 -6
- package/dist/case-bindings-service-nswc6v0v.js +240 -0
- package/dist/case-debug-studio-web-service-58gtqznh.js +135 -0
- package/dist/case-format-service-6s5e1ckk.js +84 -0
- package/dist/{case-pack-service-v7wtb0qt.js → case-pack-service-sg435he1.js} +62 -11
- package/dist/{case-validate-service-bnpaf0zt.js → case-validate-service-7s69shsa.js} +1424 -42
- package/dist/{connector-enrichment-service-scrqnke3.js → connector-enrichment-service-9rqr3esj.js} +27 -26
- package/dist/{connector-lookup-service-hnk08t3m.js → connector-lookup-service-pencasp9.js} +5 -5
- package/dist/{connector-service-581bhxaj.js → connector-service-k4cgcv2b.js} +224 -56
- package/dist/{connector-task-spec-y2tcthz5.js → connector-task-spec-13ex0x0m.js} +27 -26
- package/dist/{conversion-FQTRFHRX-03xh3xbp.js → conversion-FQTRFHRX-0y9br7gw.js} +6 -5
- package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
- package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
- package/dist/{debug-conversation-trigger-nj04k7s2.js → debug-conversation-trigger-wgzjaasj.js} +17 -14
- package/dist/{debug-http-client-c4teyma3.js → debug-http-client-7dvbwp96.js} +2 -2
- package/dist/{debug-service-m5jdyz3q.js → debug-service-8cwxhgww.js} +3 -3
- package/dist/{edge-service-vv2yfsn4.js → edge-service-szpsaezp.js} +17 -14
- package/dist/{index-yqfqxh2r.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
- package/dist/{en-TBNO2WUV-rfe87pgh.js → en-BWGKA5OE-1qkvb9rn.js} +2 -2
- package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
- package/dist/en-TBNO2WUV-9nan43e5.js +1936 -0
- package/dist/{enrichment-service-a65qt7y1.js → enrichment-service-7n1tf75p.js} +4 -4
- package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
- package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
- package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
- package/dist/first-party-service-srxaftkn.js +27 -0
- package/dist/{flow-api-vqvvs0q2.js → flow-api-4vkpbmt3.js} +7 -7
- package/dist/{flow-debug-service-vd7bdyhg.js → flow-debug-service-9tad5ckh.js} +66 -41
- package/dist/{flow-eval-node-target-mve3v55h.js → flow-eval-node-target-g222rh2e.js} +22 -15
- package/dist/flow-eval-run-api-hashjgq1.js +13 -0
- package/dist/{flow-eval-run-service-rt9kg4wx.js → flow-eval-run-service-btghb02r.js} +109 -224
- package/dist/{flow-eval-service-ededh59n.js → flow-eval-service-ma5psrsd.js} +346 -302
- package/dist/{flow-init-service-4ve9tr0t.js → flow-init-service-662zhfd3.js} +22 -18
- package/dist/{flow-io-2dd3sx38.js → flow-io-3cqz0svg.js} +16 -13
- package/dist/{flow-migrate-service-nbe6et60.js → flow-migrate-service-ehx7nmsr.js} +18 -14
- package/dist/{flow-pack-service-b2n877d8.js → flow-pack-service-a3w3489r.js} +43 -35
- package/dist/flow-validate-service-02e21w4d.js +3555 -0
- package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
- package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
- package/dist/{governance-fetcher-at165287.js → governance-fetcher-7vxmap1e.js} +5 -4
- package/dist/{headless-85f2cys0.js → headless-627q5my5.js} +42909 -1756
- package/dist/{hitl-service-xn1bt80z.js → hitl-service-fn94tk6z.js} +16 -13
- package/dist/{index-hfsfzg4k.js → index-3arytfxn.js} +6 -4
- package/dist/{index-d1yqqk6q.js → index-55cym5j7.js} +6 -4
- package/dist/{index-0j6xww0f.js → index-9f94yk28.js} +3 -3
- package/dist/{index-1kgxzh8x.js → index-fz4ttsde.js} +14 -2
- package/dist/index-gvwc29bb.js +16742 -0
- package/dist/{index-mkgrn150.js → index-j1azsfr5.js} +36 -33
- package/dist/index-kmp9fmhb.js +25 -0
- package/dist/{index-938ee96p.js → index-rtg24r4x.js} +1 -1
- package/dist/index-tzccx5ym.js +2961 -0
- package/dist/{index-acd6bpqc.js → index-ymsd3pyx.js} +12 -15
- package/dist/index.js +3 -3
- package/dist/{input-reader-1wda1a2v.js → input-reader-7pzkcw6t.js} +1 -1
- package/dist/{input-reader-svafwk7x.js → input-reader-j8rvde4z.js} +1 -1
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
- package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
- package/dist/known-types-8dhhqk35.js +19 -0
- package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
- package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
- package/dist/{maestro-automate-entry-gwntzkvj.js → maestro-automate-entry-jehpbg37.js} +2 -2
- package/dist/{maestro-debug-service-dvh7qbx8.js → maestro-debug-service-xhtszkrc.js} +10 -10
- package/dist/{maestro-pack-service-fam5zdm3.js → maestro-pack-service-fkkc5g3v.js} +12 -6
- package/dist/{node-ks3095fb.js → node-p4bde6qy.js} +2344 -376
- package/dist/node-service-frvz67y3.js +83 -0
- package/dist/{node-sync-service-zwvm30qg.js → node-sync-service-wa2t7c65.js} +14 -14
- package/dist/{packager-tool-me5q0naa.js → packager-tool-095jzn8v.js} +16 -6
- package/dist/{packager-tool-y5f2qhfe.js → packager-tool-19030vpg.js} +32 -2
- package/dist/{packager-tool-gtqkcj4x.js → packager-tool-2c1rbj85.js} +310 -13
- package/dist/packager-tool-2q1mffef.js +261 -0
- package/dist/{flow-validate-service-0hxf5080.js → packager-tool-2xrng5ff.js} +1956 -3065
- package/dist/{packager-tool-8dgxmjzx.js → packager-tool-30ky51ca.js} +6 -3
- package/dist/{packager-tool-d5mjdpbf.js → packager-tool-4r35ye9r.js} +5 -4
- package/dist/packager-tool-53w8skv5.js +262 -0
- package/dist/{packager-tool-db4jm1rz.js → packager-tool-56gcg9de.js} +1 -1
- package/dist/{packager-tool-29eg86w6.js → packager-tool-6rsegsby.js} +6 -7
- package/dist/packager-tool-7msx23gd.js +13 -0
- package/dist/packager-tool-7q6z6npd.js +1937 -0
- package/dist/packager-tool-8qp60s20.js +12 -0
- package/dist/{packager-tool-s1r7krkp.js → packager-tool-9pccpz3r.js} +1 -1
- package/dist/{packager-tool-m351tkkr.js → packager-tool-c95fhhys.js} +30 -8
- package/dist/{packager-tool-kg5sxneg.js → packager-tool-cmzzh4f8.js} +72 -73
- package/dist/{packager-tool-ffvmys2r.js → packager-tool-cr0z8cbj.js} +5 -5
- package/dist/{packager-tool-8fkt71n4.js → packager-tool-cs1ec1da.js} +4 -3
- package/dist/{packager-tool-xatnrtwp.js → packager-tool-d2813z49.js} +9 -9
- package/dist/packager-tool-d88rqwk8.js +135 -0
- package/dist/{packager-tool-pm3qh1hy.js → packager-tool-dh5nppv4.js} +1 -1
- package/dist/packager-tool-dqxz5v18.js +486 -0
- package/dist/{packager-tool-r87gxwqa.js → packager-tool-e87tzg4y.js} +2 -2
- package/dist/{packager-tool-w9fd7vzs.js → packager-tool-f33sg3vr.js} +9 -9
- package/dist/{packager-tool-cj2ka9jr.js → packager-tool-fer9mdsq.js} +2 -2
- package/dist/{packager-tool-70eh7rpg.js → packager-tool-fm67whdy.js} +23 -5
- package/dist/packager-tool-fq7wtkd3.js +21012 -0
- package/dist/packager-tool-fvm2dddf.js +6297 -0
- package/dist/packager-tool-gdtpsdn7.js +342 -0
- package/dist/{packager-tool-ejyeka5x.js → packager-tool-gpwec9sp.js} +2 -2
- package/dist/{packager-tool-pap09zfh.js → packager-tool-h8x54cvx.js} +1 -1
- package/dist/{packager-tool-9vh3df76.js → packager-tool-hdmhxdch.js} +7 -7
- package/dist/packager-tool-hnyecbk6.js +88 -0
- package/dist/{packager-tool-mtbak8t4.js → packager-tool-j00gcgbs.js} +2 -2
- package/dist/packager-tool-j78fwwhq.js +16 -0
- package/dist/packager-tool-jysvpt8p.js +11 -0
- package/dist/{packager-tool-jfv7t0c8.js → packager-tool-kb554twx.js} +94 -94
- package/dist/{packager-tool-k4x5yn3p.js → packager-tool-khm7zsm8.js} +4 -1
- package/dist/packager-tool-kj0qc4f4.js +269 -0
- package/dist/{packager-tool-12636p2y.js → packager-tool-mcjjj1hk.js} +4 -4
- package/dist/{packager-tool-bftjhmqz.js → packager-tool-mfrdmqmt.js} +124 -2
- package/dist/{packager-tool-qgh5yaeh.js → packager-tool-mj89jhvb.js} +1 -1
- package/dist/{packager-tool-ve35117x.js → packager-tool-mjz4hma1.js} +5791 -176
- package/dist/packager-tool-paq9c70w.js +1332 -0
- package/dist/{packager-tool-d8v984ah.js → packager-tool-q2gwvnf5.js} +15 -56
- package/dist/{packager-tool-nmznynbj.js → packager-tool-qff6ang6.js} +1 -1
- package/dist/{packager-tool-j79gbsee.js → packager-tool-rg5pkkf0.js} +6 -6
- package/dist/{packager-tool-7309ymg1.js → packager-tool-s1466723.js} +10 -13
- package/dist/{packager-tool-54b4v7wp.js → packager-tool-te6rrpsz.js} +205 -195
- package/dist/packager-tool-vcjq9xkc.js +1895 -0
- package/dist/{packager-tool-w20r6n9v.js → packager-tool-vck7ct1e.js} +2877 -2221
- package/dist/{packager-tool-e8td7b01.js → packager-tool-vdc8r21p.js} +10328 -16610
- package/dist/{packager-tool-nxw5yzs7.js → packager-tool-vqcnvaae.js} +1 -1
- package/dist/{packager-tool-7rz102fw.js → packager-tool-wd01egnx.js} +1 -1
- package/dist/{packager-tool-gxqd24n0.js → packager-tool-wger1vt9.js} +7 -7
- package/dist/{packager-tool-a6yfnjgx.js → packager-tool-wynrdnqj.js} +1 -1
- package/dist/packager-tool-x0eamrk4.js +104577 -0
- package/dist/packager-tool-x92czn5x.js +208 -0
- package/dist/{packager-tool-am67sn1c.js → packager-tool-xtkgeccn.js} +1 -1
- package/dist/packager-tool-y59jhapb.js +10369 -0
- package/dist/{packager-tool-317z6dc1.js → packager-tool-ydg78w9z.js} +23 -23
- package/dist/{packager-tool-rr8hveb9.js → packager-tool-ygrrb1zh.js} +1 -1
- package/dist/{packager-tool-f0kd5kq4.js → packager-tool-yrsrzz1a.js} +127 -12
- package/dist/{packager-tool-d9dpx9wn.js → packager-tool-z185rq2a.js} +1 -1
- package/dist/{packager-tool-79gws1zn.js → packager-tool-z6nkdv48.js} +270 -24
- package/dist/{packager-tool-802qm7jy.js → packager-tool-zzxt99e4.js} +3 -3
- package/dist/packager-tool.js +75 -218
- package/dist/{project-artifacts-9z7atbk7.js → project-artifacts-h5cydk2n.js} +1 -1
- package/dist/{project-validator-0rkrfmj0.js → project-validator-ek97s27p.js} +1 -1
- package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
- package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
- package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
- package/dist/{resourcesSyncService-3pajvveg.js → resourcesSyncService-7s92g1hm.js} +28 -27
- package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
- package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
- package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
- package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
- package/dist/sdd-lookup-7h7j2h6v.js +48 -0
- package/dist/{serialization-BXU6AKAN-dk0sqx89.js → serialization-BXU6AKAN-0ghhrsja.js} +6 -5
- package/dist/{shared-utils-twgpb9ax.js → shared-utils-6z7gnnc8.js} +1 -1
- package/dist/{strict-case-rules-zxnq80zm.js → strict-case-rules-byym8cvc.js} +141 -109
- package/dist/strict-sdd-audit-v156c9e3.js +2520 -0
- package/dist/tidy-service-zyy7wxc0.js +39 -0
- package/dist/{tool-pxfafj3m.js → tool-dejjyv8m.js} +213 -51
- package/dist/{tool-td30zmyt.js → tool-v0r5qzcc.js} +106 -146
- package/dist/tool.js +3 -3
- package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
- package/dist/{trigger-enrichment-service-t3wcd12r.js → trigger-enrichment-service-ak1nrz5t.js} +30 -29
- package/dist/{variable-service-2q705dsx.js → variable-service-t9gsp8xs.js} +16 -13
- package/dist/{wait-for-flow-job-sx0ht8sb.js → wait-for-flow-job-1s8ka07s.js} +7 -7
- package/dist/{xml-949787yf.js → xml-3rzcgm9z.js} +1359 -659
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
- package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
- package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
- package/package.json +3 -2
- package/dist/bpmn-format-service-r67afbny.js +0 -477
- package/dist/case-debug-studio-web-service-kj1797m8.js +0 -336
- package/dist/known-types-eq32py2n.js +0 -20
- package/dist/node-service-teagjd9n.js +0 -75
- package/dist/packager-tool-15bstxb6.js +0 -4192
- package/dist/packager-tool-1zpm7wts.js +0 -7217
- package/dist/packager-tool-7tjxtpfp.js +0 -106
- package/dist/packager-tool-ckhyvcn5.js +0 -58
- package/dist/packager-tool-dz506qqq.js +0 -2120
- package/dist/packager-tool-hpc2j0zw.js +0 -27
- package/dist/packager-tool-jjpc0yka.js +0 -304
- package/dist/packager-tool-xtv236p7.js +0 -73
- package/dist/strict-sdd-audit-zc0n5vj6.js +0 -1024
- package/dist/tidy-service-hc9gex0v.js +0 -36
- /package/dist/{localization-xecwjpe2.js → localization-y790z9vm.js} +0 -0
|
@@ -108,11 +108,11 @@ var bpmn_spec_default = {
|
|
|
108
108
|
<uipath:activity version="v1">
|
|
109
109
|
<uipath:type value="Actions.HITL" version="v1" />
|
|
110
110
|
<uipath:context>
|
|
111
|
-
<uipath:input name="appId" value="{appId}" />
|
|
112
|
-
<uipath:input name="appVersion" value="{appVersion}" />
|
|
113
|
-
<uipath:input name="actions" value="{actions}" />
|
|
114
|
-
<uipath:input name="key" value="{key}" />
|
|
115
|
-
<uipath:input name="taskTitle" value="{taskTitle}" />
|
|
111
|
+
<uipath:input name="appId" type="string" value="{appId}" />
|
|
112
|
+
<uipath:input name="appVersion" type="number" value="{appVersion}" />
|
|
113
|
+
<uipath:input name="actions" type="string" value="{actions}" />
|
|
114
|
+
<uipath:input name="key" type="string" value="{key}" />
|
|
115
|
+
<uipath:input name="taskTitle" type="string" value="{taskTitle}" />
|
|
116
116
|
</uipath:context>
|
|
117
117
|
<uipath:input name="HitlTaskArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
118
118
|
<uipath:output name="Process response" type="Actions.HITL" var="{varId}" />
|
|
@@ -199,10 +199,10 @@ var bpmn_spec_default = {
|
|
|
199
199
|
<uipath:activity version="v1">
|
|
200
200
|
<uipath:type value="Orchestrator.StartJob" version="v1" />
|
|
201
201
|
<uipath:context>
|
|
202
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
203
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
204
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
205
|
-
<uipath:input name="name" value="{name}" />
|
|
202
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
203
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
204
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
205
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
206
206
|
</uipath:context>
|
|
207
207
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
208
208
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -273,8 +273,8 @@ var bpmn_spec_default = {
|
|
|
273
273
|
xmlTemplate: `<bpmn:ServiceTask id="{id}" name="{name}">
|
|
274
274
|
<uipath:activity type="Orchestrator.StartAgentJob" version="v1">
|
|
275
275
|
<uipath:context>
|
|
276
|
-
<uipath:input name="name" value="=bindings.{nameBindingId}" />
|
|
277
|
-
<uipath:input name="folderPath" value="=bindings.{folderPathBindingId}" />
|
|
276
|
+
<uipath:input name="name" type="string" value="=bindings.{nameBindingId}" />
|
|
277
|
+
<uipath:input name="folderPath" type="string" value="=bindings.{folderPathBindingId}" />
|
|
278
278
|
</uipath:context>
|
|
279
279
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
280
280
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -359,10 +359,10 @@ var bpmn_spec_default = {
|
|
|
359
359
|
<uipath:activity version="v1">
|
|
360
360
|
<uipath:type value="Orchestrator.BusinessRules" version="v1" />
|
|
361
361
|
<uipath:context>
|
|
362
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
363
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
364
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
365
|
-
<uipath:input name="name" value="{name}" />
|
|
362
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
363
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
364
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
365
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
366
366
|
</uipath:context>
|
|
367
367
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
368
368
|
<uipath:output name="Execute business rule [Preview]" type="Orchestrator.BusinessRules" var="{varId}" />
|
|
@@ -628,12 +628,12 @@ var bpmn_spec_default = {
|
|
|
628
628
|
<uipath:activity version="v1">
|
|
629
629
|
<uipath:type value="Intsvc.HttpExecution" version="v1" />
|
|
630
630
|
<uipath:context>
|
|
631
|
-
<uipath:input name="mode" value="manual" />
|
|
632
|
-
<uipath:input name="method" value="GET" />
|
|
633
|
-
<uipath:input name="url" value="=bindings.{bindingId}" />
|
|
634
|
-
<uipath:input name="headers" value="=bindings.{bindingId}" />
|
|
635
|
-
<uipath:input name="parameters" value="=bindings.{bindingId}" />
|
|
636
|
-
<uipath:input name="body" value="=bindings.{bindingId}" />
|
|
631
|
+
<uipath:input name="mode" type="string" value="manual" />
|
|
632
|
+
<uipath:input name="method" type="string" value="GET" />
|
|
633
|
+
<uipath:input name="url" type="string" value="=bindings.{bindingId}" />
|
|
634
|
+
<uipath:input name="headers" type="json" value="=bindings.{bindingId}" />
|
|
635
|
+
<uipath:input name="parameters" type="json" value="=bindings.{bindingId}" />
|
|
636
|
+
<uipath:input name="body" type="json" value="=bindings.{bindingId}" />
|
|
637
637
|
</uipath:context>
|
|
638
638
|
<uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
|
|
639
639
|
</uipath:activity>
|
|
@@ -729,12 +729,12 @@ var bpmn_spec_default = {
|
|
|
729
729
|
<uipath:activity version="v1">
|
|
730
730
|
<uipath:type value="Intsvc.UnifiedHttpRequest" version="v1" />
|
|
731
731
|
<uipath:context>
|
|
732
|
-
<uipath:input name="mode" value="manual" />
|
|
733
|
-
<uipath:input name="method" value="GET" />
|
|
734
|
-
<uipath:input name="url" value="=bindings.{bindingId}" />
|
|
735
|
-
<uipath:input name="headers" value="=bindings.{bindingId}" />
|
|
736
|
-
<uipath:input name="parameters" value="=bindings.{bindingId}" />
|
|
737
|
-
<uipath:input name="body" value="=bindings.{bindingId}" />
|
|
732
|
+
<uipath:input name="mode" type="string" value="manual" />
|
|
733
|
+
<uipath:input name="method" type="string" value="GET" />
|
|
734
|
+
<uipath:input name="url" type="string" value="=bindings.{bindingId}" />
|
|
735
|
+
<uipath:input name="headers" type="json" value="=bindings.{bindingId}" />
|
|
736
|
+
<uipath:input name="parameters" type="json" value="=bindings.{bindingId}" />
|
|
737
|
+
<uipath:input name="body" type="json" value="=bindings.{bindingId}" />
|
|
738
738
|
</uipath:context>
|
|
739
739
|
<uipath:output name="response" type="jsonSchema" source="=response" var="{varId}" />
|
|
740
740
|
</uipath:activity>
|
|
@@ -1147,12 +1147,12 @@ var bpmn_spec_default = {
|
|
|
1147
1147
|
<uipath:activity version="v1">
|
|
1148
1148
|
<uipath:type value="Intsvc.AsyncExecution" version="v1" />
|
|
1149
1149
|
<uipath:context>
|
|
1150
|
-
<uipath:input name="activity" value="{activity}" />
|
|
1151
|
-
<uipath:input name="connectorKey" value="{connectorKey}" />
|
|
1152
|
-
<uipath:input name="connection" value="=bindings.{bindingId}" />
|
|
1153
|
-
<uipath:input name="folderKey" value="{folderKey}" />
|
|
1154
|
-
<uipath:input name="method" value="{method}" />
|
|
1155
|
-
<uipath:input name="path" value="{path}" />
|
|
1150
|
+
<uipath:input name="activity" type="string" value="{activity}" />
|
|
1151
|
+
<uipath:input name="connectorKey" type="string" value="{connectorKey}" />
|
|
1152
|
+
<uipath:input name="connection" type="string" value="=bindings.{bindingId}" />
|
|
1153
|
+
<uipath:input name="folderKey" type="string" value="{folderKey}" />
|
|
1154
|
+
<uipath:input name="method" type="string" value="{method}" />
|
|
1155
|
+
<uipath:input name="path" type="string" value="{path}" />
|
|
1156
1156
|
</uipath:context>
|
|
1157
1157
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1158
1158
|
<uipath:output name="response" type="custom" source="." var="{varId}" />
|
|
@@ -1253,12 +1253,12 @@ var bpmn_spec_default = {
|
|
|
1253
1253
|
<uipath:activity version="v1">
|
|
1254
1254
|
<uipath:type value="Intsvc.SyncAgentExecution" version="v1" />
|
|
1255
1255
|
<uipath:context>
|
|
1256
|
-
<uipath:input name="activity" value="{activity}" />
|
|
1257
|
-
<uipath:input name="connectorKey" value="{connectorKey}" />
|
|
1258
|
-
<uipath:input name="connection" value="=bindings.{bindingId}" />
|
|
1259
|
-
<uipath:input name="folderKey" value="{folderKey}" />
|
|
1260
|
-
<uipath:input name="method" value="{method}" />
|
|
1261
|
-
<uipath:input name="path" value="{path}" />
|
|
1256
|
+
<uipath:input name="activity" type="string" value="{activity}" />
|
|
1257
|
+
<uipath:input name="connectorKey" type="string" value="{connectorKey}" />
|
|
1258
|
+
<uipath:input name="connection" type="string" value="=bindings.{bindingId}" />
|
|
1259
|
+
<uipath:input name="folderKey" type="string" value="{folderKey}" />
|
|
1260
|
+
<uipath:input name="method" type="string" value="{method}" />
|
|
1261
|
+
<uipath:input name="path" type="string" value="{path}" />
|
|
1262
1262
|
</uipath:context>
|
|
1263
1263
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1264
1264
|
<uipath:output name="response" type="custom" source="." var="{varId}" />
|
|
@@ -1358,12 +1358,12 @@ var bpmn_spec_default = {
|
|
|
1358
1358
|
<uipath:activity version="v1">
|
|
1359
1359
|
<uipath:type value="Intsvc.AsyncAgentExecution" version="v1" />
|
|
1360
1360
|
<uipath:context>
|
|
1361
|
-
<uipath:input name="activity" value="{activity}" />
|
|
1362
|
-
<uipath:input name="connectorKey" value="{connectorKey}" />
|
|
1363
|
-
<uipath:input name="connection" value="=bindings.{bindingId}" />
|
|
1364
|
-
<uipath:input name="folderKey" value="{folderKey}" />
|
|
1365
|
-
<uipath:input name="method" value="{method}" />
|
|
1366
|
-
<uipath:input name="path" value="{path}" />
|
|
1361
|
+
<uipath:input name="activity" type="string" value="{activity}" />
|
|
1362
|
+
<uipath:input name="connectorKey" type="string" value="{connectorKey}" />
|
|
1363
|
+
<uipath:input name="connection" type="string" value="=bindings.{bindingId}" />
|
|
1364
|
+
<uipath:input name="folderKey" type="string" value="{folderKey}" />
|
|
1365
|
+
<uipath:input name="method" type="string" value="{method}" />
|
|
1366
|
+
<uipath:input name="path" type="string" value="{path}" />
|
|
1367
1367
|
</uipath:context>
|
|
1368
1368
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1369
1369
|
<uipath:output name="response" type="custom" source="." var="{varId}" />
|
|
@@ -1463,12 +1463,12 @@ var bpmn_spec_default = {
|
|
|
1463
1463
|
<uipath:activity version="v1">
|
|
1464
1464
|
<uipath:type value="Intsvc.SyncWorkflowExecution" version="v1" />
|
|
1465
1465
|
<uipath:context>
|
|
1466
|
-
<uipath:input name="activity" value="{activity}" />
|
|
1467
|
-
<uipath:input name="connectorKey" value="{connectorKey}" />
|
|
1468
|
-
<uipath:input name="connection" value="=bindings.{bindingId}" />
|
|
1469
|
-
<uipath:input name="folderKey" value="{folderKey}" />
|
|
1470
|
-
<uipath:input name="method" value="{method}" />
|
|
1471
|
-
<uipath:input name="path" value="{path}" />
|
|
1466
|
+
<uipath:input name="activity" type="string" value="{activity}" />
|
|
1467
|
+
<uipath:input name="connectorKey" type="string" value="{connectorKey}" />
|
|
1468
|
+
<uipath:input name="connection" type="string" value="=bindings.{bindingId}" />
|
|
1469
|
+
<uipath:input name="folderKey" type="string" value="{folderKey}" />
|
|
1470
|
+
<uipath:input name="method" type="string" value="{method}" />
|
|
1471
|
+
<uipath:input name="path" type="string" value="{path}" />
|
|
1472
1472
|
</uipath:context>
|
|
1473
1473
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1474
1474
|
<uipath:output name="response" type="custom" source="." var="{varId}" />
|
|
@@ -1568,12 +1568,12 @@ var bpmn_spec_default = {
|
|
|
1568
1568
|
<uipath:activity version="v1">
|
|
1569
1569
|
<uipath:type value="Intsvc.AsyncWorkflowExecution" version="v1" />
|
|
1570
1570
|
<uipath:context>
|
|
1571
|
-
<uipath:input name="activity" value="{activity}" />
|
|
1572
|
-
<uipath:input name="connectorKey" value="{connectorKey}" />
|
|
1573
|
-
<uipath:input name="connection" value="=bindings.{bindingId}" />
|
|
1574
|
-
<uipath:input name="folderKey" value="{folderKey}" />
|
|
1575
|
-
<uipath:input name="method" value="{method}" />
|
|
1576
|
-
<uipath:input name="path" value="{path}" />
|
|
1571
|
+
<uipath:input name="activity" type="string" value="{activity}" />
|
|
1572
|
+
<uipath:input name="connectorKey" type="string" value="{connectorKey}" />
|
|
1573
|
+
<uipath:input name="connection" type="string" value="=bindings.{bindingId}" />
|
|
1574
|
+
<uipath:input name="folderKey" type="string" value="{folderKey}" />
|
|
1575
|
+
<uipath:input name="method" type="string" value="{method}" />
|
|
1576
|
+
<uipath:input name="path" type="string" value="{path}" />
|
|
1577
1577
|
</uipath:context>
|
|
1578
1578
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1579
1579
|
<uipath:output name="response" type="custom" source="." var="{varId}" />
|
|
@@ -1660,10 +1660,10 @@ var bpmn_spec_default = {
|
|
|
1660
1660
|
<uipath:activity version="v1">
|
|
1661
1661
|
<uipath:type value="Orchestrator.ExecuteApiWorkflowAsync" version="v1" />
|
|
1662
1662
|
<uipath:context>
|
|
1663
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
1664
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
1665
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
1666
|
-
<uipath:input name="name" value="{name}" />
|
|
1663
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
1664
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
1665
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
1666
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
1667
1667
|
</uipath:context>
|
|
1668
1668
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
1669
1669
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -1740,9 +1740,9 @@ var bpmn_spec_default = {
|
|
|
1740
1740
|
<uipath:activity version="v1">
|
|
1741
1741
|
<uipath:type value="Orchestrator.CreateQueueItem" version="v1" />
|
|
1742
1742
|
<uipath:context>
|
|
1743
|
-
<uipath:input name="queueName" value="{queueName}" />
|
|
1744
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
1745
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
1743
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
1744
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
1745
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
1746
1746
|
</uipath:context>
|
|
1747
1747
|
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1748
1748
|
<uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
|
|
@@ -1820,9 +1820,9 @@ var bpmn_spec_default = {
|
|
|
1820
1820
|
<uipath:activity version="v1">
|
|
1821
1821
|
<uipath:type value="Orchestrator.CreateAndWaitForQueueItem" version="v1" />
|
|
1822
1822
|
<uipath:context>
|
|
1823
|
-
<uipath:input name="queueName" value="{queueName}" />
|
|
1824
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
1825
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
1823
|
+
<uipath:input name="queueName" type="string" value="{queueName}" />
|
|
1824
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
1825
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
1826
1826
|
</uipath:context>
|
|
1827
1827
|
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
1828
1828
|
<uipath:output name="response" type="Orchestrator.CreateQueueItem" var="{varId}" />
|
|
@@ -1908,10 +1908,10 @@ var bpmn_spec_default = {
|
|
|
1908
1908
|
<uipath:activity version="v1">
|
|
1909
1909
|
<uipath:type value="Orchestrator.StartAgenticProcess" version="v1" />
|
|
1910
1910
|
<uipath:context>
|
|
1911
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
1912
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
1913
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
1914
|
-
<uipath:input name="name" value="{name}" />
|
|
1911
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
1912
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
1913
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
1914
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
1915
1915
|
</uipath:context>
|
|
1916
1916
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
1917
1917
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -1997,10 +1997,10 @@ var bpmn_spec_default = {
|
|
|
1997
1997
|
<uipath:activity version="v1">
|
|
1998
1998
|
<uipath:type value="Orchestrator.StartAgenticProcessAsync" version="v1" />
|
|
1999
1999
|
<uipath:context>
|
|
2000
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
2001
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
2002
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
2003
|
-
<uipath:input name="name" value="{name}" />
|
|
2000
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
2001
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
2002
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
2003
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
2004
2004
|
</uipath:context>
|
|
2005
2005
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
2006
2006
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -2086,10 +2086,10 @@ var bpmn_spec_default = {
|
|
|
2086
2086
|
<uipath:activity version="v1">
|
|
2087
2087
|
<uipath:type value="Orchestrator.StartCaseMgmtProcess" version="v1" />
|
|
2088
2088
|
<uipath:context>
|
|
2089
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
2090
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
2091
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
2092
|
-
<uipath:input name="name" value="{name}" />
|
|
2089
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
2090
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
2091
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
2092
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
2093
2093
|
</uipath:context>
|
|
2094
2094
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
2095
2095
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -2175,10 +2175,10 @@ var bpmn_spec_default = {
|
|
|
2175
2175
|
<uipath:activity version="v1">
|
|
2176
2176
|
<uipath:type value="Orchestrator.StartCaseMgmtProcessAsync" version="v1" />
|
|
2177
2177
|
<uipath:context>
|
|
2178
|
-
<uipath:input name="releaseKey" value="{releaseKey}" />
|
|
2179
|
-
<uipath:input name="folderId" value="{folderId}" />
|
|
2180
|
-
<uipath:input name="folderPath" value="{folderPath}" />
|
|
2181
|
-
<uipath:input name="name" value="{name}" />
|
|
2178
|
+
<uipath:input name="releaseKey" type="string" value="{releaseKey}" />
|
|
2179
|
+
<uipath:input name="folderId" type="string" value="{folderId}" />
|
|
2180
|
+
<uipath:input name="folderPath" type="string" value="{folderPath}" />
|
|
2181
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
2182
2182
|
</uipath:context>
|
|
2183
2183
|
<uipath:input name="JobArguments" type="json" target="bodyField"><![CDATA[{}]]></uipath:input>
|
|
2184
2184
|
<uipath:output name="Process response" type="Orchestrator.RunJob" var="{varId}" />
|
|
@@ -2407,8 +2407,8 @@ var bpmn_spec_default = {
|
|
|
2407
2407
|
<uipath:event version="v1">
|
|
2408
2408
|
<uipath:type value="Maestro.ReceiveMessageEvent" version="v1" />
|
|
2409
2409
|
<uipath:context>
|
|
2410
|
-
<uipath:input name="name" value="{name}" />
|
|
2411
|
-
<uipath:input name="_label" value="{_label}" />
|
|
2410
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
2411
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
2412
2412
|
</uipath:context>
|
|
2413
2413
|
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
2414
2414
|
<uipath:output name="response" type="Maestro.ReceiveMessageEvent" var="{varId}" />
|
|
@@ -2500,9 +2500,9 @@ var bpmn_spec_default = {
|
|
|
2500
2500
|
<uipath:event version="v1">
|
|
2501
2501
|
<uipath:type value="Maestro.SendMessageEvent" version="v1" />
|
|
2502
2502
|
<uipath:context>
|
|
2503
|
-
<uipath:input name="name" value="{name}" />
|
|
2504
|
-
<uipath:input name="_label" value="{_label}" />
|
|
2505
|
-
<uipath:input name="inputSchema" value="{inputSchema}" />
|
|
2503
|
+
<uipath:input name="name" type="string" value="{name}" />
|
|
2504
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
2505
|
+
<uipath:input name="inputSchema" type="jsonSchema" value="{inputSchema}" />
|
|
2506
2506
|
</uipath:context>
|
|
2507
2507
|
<uipath:input name="ItemData" type="json" target="body"><![CDATA[{"Reference":"","SpecificContent":{},"Error":"","TimeToLive":""}]]></uipath:input>
|
|
2508
2508
|
<uipath:output name="response" type="Maestro.SendMessageEvent" var="{varId}" />
|
|
@@ -2605,9 +2605,9 @@ var bpmn_spec_default = {
|
|
|
2605
2605
|
<uipath:activity version="v1">
|
|
2606
2606
|
<uipath:type value="Maestro.CaseRulesEvaluator" version="v1" />
|
|
2607
2607
|
<uipath:context>
|
|
2608
|
-
<uipath:input name="caseDeterministicRules" value="{caseDeterministicRules}" />
|
|
2609
|
-
<uipath:input name="caseCurrentExecutionState" value="{caseCurrentExecutionState}" />
|
|
2610
|
-
<uipath:input name="_label" value="{_label}" />
|
|
2608
|
+
<uipath:input name="caseDeterministicRules" type="json" value="{caseDeterministicRules}" />
|
|
2609
|
+
<uipath:input name="caseCurrentExecutionState" type="json" value="{caseCurrentExecutionState}" />
|
|
2610
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
2611
2611
|
</uipath:context>
|
|
2612
2612
|
<uipath:input name="caseManagerInput" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
2613
2613
|
<uipath:output name="schedulerOutput" type="Maestro.CaseRulesEvaluator" var="{varId}" />
|
|
@@ -2660,8 +2660,8 @@ var bpmn_spec_default = {
|
|
|
2660
2660
|
<uipath:activity version="v1">
|
|
2661
2661
|
<uipath:type value="Maestro.CaseManagerGuardrails" version="v1" />
|
|
2662
2662
|
<uipath:context>
|
|
2663
|
-
<uipath:input name="decisions" value="{decisions}" />
|
|
2664
|
-
<uipath:input name="_label" value="{_label}" />
|
|
2663
|
+
<uipath:input name="decisions" type="json" value="{decisions}" />
|
|
2664
|
+
<uipath:input name="_label" type="string" value="{_label}" />
|
|
2665
2665
|
</uipath:context>
|
|
2666
2666
|
<uipath:input name="body" type="json" target="body"><![CDATA[{}]]></uipath:input>
|
|
2667
2667
|
<uipath:output name="guardrailsOutput" type="Maestro.CaseManagerGuardrails" var="{varId}" />
|
|
@@ -3031,4 +3031,4 @@ var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_T
|
|
|
3031
3031
|
|
|
3032
3032
|
export { BPMN_SPEC, SUPPORTED_UIPATH_EXTENSION_TAG_NAMES, SUPPORTED_UIPATH_EXTENSION_TAGS };
|
|
3033
3033
|
|
|
3034
|
-
//# debugId=
|
|
3034
|
+
//# debugId=DF570A771CFB380164756E2164756E21
|
|
@@ -158,6 +158,9 @@ class ZipService {
|
|
|
158
158
|
});
|
|
159
159
|
return zipData;
|
|
160
160
|
}
|
|
161
|
+
compressEntries(entries) {
|
|
162
|
+
return zipSync(entries, { level: 6 });
|
|
163
|
+
}
|
|
161
164
|
}
|
|
162
165
|
function isPluralForm(value) {
|
|
163
166
|
return typeof value === "object" && value !== null && "other" in value;
|
|
@@ -1451,4 +1454,4 @@ var toolsFactoryRepository = _global[REGISTRY_KEY];
|
|
|
1451
1454
|
|
|
1452
1455
|
export { Path, TemporaryStorageService, ZipService, I18nManager, translate, LogLevel, LogMessage, NugetConstants, ProjectTypes, TargetFramework, ToolErrorCodes, ToolResult, ensureProjectId, writeContentOperateFile, ensureContentOperateFile, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
1453
1456
|
|
|
1454
|
-
//# debugId=
|
|
1457
|
+
//# debugId=C6307016BF94AF0764756E2164756E21
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NugetConstants,
|
|
3
|
+
NugetPackager,
|
|
4
|
+
Path,
|
|
5
|
+
ProjectTool,
|
|
6
|
+
ProjectTypes,
|
|
7
|
+
TemporaryStorageService,
|
|
8
|
+
ToolErrorCodes,
|
|
9
|
+
ToolResult,
|
|
10
|
+
ensureContentOperateFile,
|
|
11
|
+
toolsFactoryRepository
|
|
12
|
+
} from "./packager-tool-khm7zsm8.js";
|
|
13
|
+
|
|
14
|
+
// ../packager/packager-tool-case/src/case-plan-file.ts
|
|
15
|
+
var CasePlanFileNames = [
|
|
16
|
+
"caseplan.case",
|
|
17
|
+
"caseplan.json",
|
|
18
|
+
"case.stage.json",
|
|
19
|
+
"default.stage.json"
|
|
20
|
+
];
|
|
21
|
+
var casePlanSidecarName = (casePlanFileName) => `${casePlanFileName}.bpmn`;
|
|
22
|
+
var findCasePlanFileName = (entries) => {
|
|
23
|
+
const present = new Set(entries);
|
|
24
|
+
return CasePlanFileNames.find((candidate) => present.has(candidate));
|
|
25
|
+
};
|
|
26
|
+
var stripDeclaredFilePathPrefix = (filePath) => {
|
|
27
|
+
const withoutLeadingSlash = filePath.startsWith("/") ? filePath.slice(1) : filePath;
|
|
28
|
+
return withoutLeadingSlash.startsWith("content/") ? withoutLeadingSlash.slice("content/".length) : withoutLeadingSlash;
|
|
29
|
+
};
|
|
30
|
+
var resolveDeclaredFileName = (filePath) => {
|
|
31
|
+
const stripped = stripDeclaredFilePathPrefix(filePath.split("#")[0]);
|
|
32
|
+
return stripped.includes("/") ? "" : stripped;
|
|
33
|
+
};
|
|
34
|
+
var normalizeEntryPointPath = (filePath) => `/${stripDeclaredFilePathPrefix(filePath)}`;
|
|
35
|
+
var entryPointBpmnNames = (entryPointsJson) => {
|
|
36
|
+
try {
|
|
37
|
+
const parsed = JSON.parse(entryPointsJson);
|
|
38
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
|
|
39
|
+
throw new Error("document is not an object");
|
|
40
|
+
}
|
|
41
|
+
if (parsed.entryPoints !== undefined && !Array.isArray(parsed.entryPoints)) {
|
|
42
|
+
throw new Error("entryPoints is not a list");
|
|
43
|
+
}
|
|
44
|
+
const resolvedNames = (parsed.entryPoints ?? []).map((entry) => typeof entry.filePath === "string" ? resolveDeclaredFileName(entry.filePath) : "");
|
|
45
|
+
if (resolvedNames.includes("")) {
|
|
46
|
+
throw new Error("an entry point has no usable filePath");
|
|
47
|
+
}
|
|
48
|
+
const names = resolvedNames.filter((name) => name.endsWith(".bpmn"));
|
|
49
|
+
return [...new Set(names)];
|
|
50
|
+
} catch {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var misnamedEntryPointBpmn = (declared, casePlanFileName) => {
|
|
55
|
+
const own = casePlanSidecarName(casePlanFileName);
|
|
56
|
+
const otherPlans = new Set(CasePlanFileNames.filter((name) => name !== casePlanFileName).map(casePlanSidecarName));
|
|
57
|
+
return declared.find((file) => file !== own && otherPlans.has(file));
|
|
58
|
+
};
|
|
59
|
+
var buildCasePackageDescriptor = (contentFileNames) => ({
|
|
60
|
+
$schema: "https://cloud.uipath.com/draft/2024-12/package-descriptor",
|
|
61
|
+
files: {
|
|
62
|
+
[NugetConstants.OperateFileName]: `${NugetConstants.ContentFolderName}/${NugetConstants.OperateFileName}`,
|
|
63
|
+
[NugetConstants.EntryPointsFileName]: `${NugetConstants.ContentFolderName}/${NugetConstants.EntryPointsFileName}`,
|
|
64
|
+
[NugetConstants.BindingsFileId]: `${NugetConstants.ContentFolderName}/${NugetConstants.BindingsV2FileName}`,
|
|
65
|
+
...Object.fromEntries(contentFileNames.filter((name) => name.endsWith(".bpmn") || CasePlanFileNames.includes(name)).map((name) => [
|
|
66
|
+
name,
|
|
67
|
+
`${NugetConstants.ContentFolderName}/${name}`
|
|
68
|
+
]))
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// ../packager/packager-tool-case/src/case-bpmn-compiler.ts
|
|
73
|
+
var COMPILER_KEY = Symbol.for("@uipath/packager-tool-case/caseBpmnCompiler");
|
|
74
|
+
var _global = globalThis;
|
|
75
|
+
function registerCaseBpmnCompiler(caseBpmnCompiler) {
|
|
76
|
+
_global[COMPILER_KEY] = caseBpmnCompiler;
|
|
77
|
+
}
|
|
78
|
+
function getCaseBpmnCompiler() {
|
|
79
|
+
return _global[COMPILER_KEY];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// ../packager/packager-tool-case/src/case-tool.ts
|
|
83
|
+
var CaseConstants = {
|
|
84
|
+
EntryPointsFileName: "entry-points.json"
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
class CaseTool extends ProjectTool {
|
|
88
|
+
_temporaryStorage;
|
|
89
|
+
constructor(fileSystem, logger) {
|
|
90
|
+
super(fileSystem, logger);
|
|
91
|
+
this._temporaryStorage = new TemporaryStorageService(fileSystem);
|
|
92
|
+
}
|
|
93
|
+
async restoreAsync(_options, _cancellationToken) {
|
|
94
|
+
this.logger.info("Restore operation is not required for Case Management projects");
|
|
95
|
+
return ToolResult.success();
|
|
96
|
+
}
|
|
97
|
+
async validateAsync(_options, _cancellationToken) {
|
|
98
|
+
this.logger.info("Validate operation is not required for Case Management projects");
|
|
99
|
+
return ToolResult.success();
|
|
100
|
+
}
|
|
101
|
+
async buildAsync(options, _cancellationToken) {
|
|
102
|
+
const tempFolder = await this._temporaryStorage.getTempFolderPath();
|
|
103
|
+
const localBuildFolder = Path.join(tempFolder, NugetConstants.OutputFolderName);
|
|
104
|
+
const contentFolder = Path.join(localBuildFolder, NugetConstants.ContentFolderName);
|
|
105
|
+
try {
|
|
106
|
+
this.logger.progress("Copying files...");
|
|
107
|
+
await this.copyFiles(options.projectPath, contentFolder);
|
|
108
|
+
this.logger.progress("Compiling case plan to BPMN...");
|
|
109
|
+
const compileResult = await this.compileCasePlan(options.projectPath, contentFolder);
|
|
110
|
+
if (!compileResult.isSuccess) {
|
|
111
|
+
return compileResult;
|
|
112
|
+
}
|
|
113
|
+
this.logger.progress("Creating operate.json file...");
|
|
114
|
+
await this.createOperateFile(options, contentFolder);
|
|
115
|
+
this.logger.progress("Creating package-descriptor.json file...");
|
|
116
|
+
await this.createPackageDescriptor(localBuildFolder, contentFolder);
|
|
117
|
+
return new ToolResult(ToolErrorCodes.Success, "done", [
|
|
118
|
+
localBuildFolder
|
|
119
|
+
]);
|
|
120
|
+
} catch (error) {
|
|
121
|
+
const errorMessage = error instanceof Error ? error.toString() : String(error);
|
|
122
|
+
this.logger.error(errorMessage);
|
|
123
|
+
return ToolResult.error(ToolErrorCodes.InternalError, "An error occurred while building Case Management project files");
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
async packAsync(options, cancellationToken) {
|
|
127
|
+
const buildResult = await this.buildAsync(options, cancellationToken);
|
|
128
|
+
if (!buildResult.isSuccess) {
|
|
129
|
+
return buildResult;
|
|
130
|
+
}
|
|
131
|
+
const localBuildFolder = buildResult.packages[0];
|
|
132
|
+
try {
|
|
133
|
+
this.logger.progress("Creating NuGet package...");
|
|
134
|
+
const nupkgFileName = `${options.package.id}.${options.package.version}.nupkg`;
|
|
135
|
+
const nupkgPath = Path.join(options.outputPath, nupkgFileName);
|
|
136
|
+
const packager = new NugetPackager(this.fileSystem);
|
|
137
|
+
const result = await packager.packAsync(localBuildFolder, options.package, nupkgPath);
|
|
138
|
+
this.logger.progress("Package created successfully");
|
|
139
|
+
return new ToolResult(ToolErrorCodes.Success, "done", [
|
|
140
|
+
result.outputPath
|
|
141
|
+
]);
|
|
142
|
+
} catch (error) {
|
|
143
|
+
const errorMessage = error instanceof Error ? error.toString() : String(error);
|
|
144
|
+
this.logger.error(errorMessage);
|
|
145
|
+
return ToolResult.error(ToolErrorCodes.InternalError, "An error occurred while packing Case Management project");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
async dispose() {
|
|
149
|
+
this.logger.info("Disposing Case Management Tool");
|
|
150
|
+
try {
|
|
151
|
+
await this._temporaryStorage.cleanup();
|
|
152
|
+
} catch {}
|
|
153
|
+
}
|
|
154
|
+
async copyFiles(sourcePath, contentFolder) {
|
|
155
|
+
await this.fileSystem.mkdir(contentFolder);
|
|
156
|
+
const files = await this.fileSystem.readdir(sourcePath);
|
|
157
|
+
for (const file of files) {
|
|
158
|
+
const sourceFile = Path.join(sourcePath, file);
|
|
159
|
+
const stat = await this.fileSystem.stat(sourceFile);
|
|
160
|
+
if (stat?.isFile()) {
|
|
161
|
+
const content = await this.fileSystem.readFile(sourceFile);
|
|
162
|
+
if (content) {
|
|
163
|
+
const destinationFile = Path.join(contentFolder, file);
|
|
164
|
+
await this.fileSystem.writeFile(destinationFile, content);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
async compileCasePlan(projectPath, contentFolder) {
|
|
170
|
+
const compile = getCaseBpmnCompiler();
|
|
171
|
+
const casePlanFileName = findCasePlanFileName(await this.fileSystem.readdir(projectPath));
|
|
172
|
+
if (!compile || !casePlanFileName) {
|
|
173
|
+
return this.checkEntryPointBpmnPresent(contentFolder, casePlanFileName);
|
|
174
|
+
}
|
|
175
|
+
const sidecarFileName = casePlanSidecarName(casePlanFileName);
|
|
176
|
+
const casePlanPath = Path.join(projectPath, casePlanFileName);
|
|
177
|
+
const casePlan = await this.fileSystem.readFile(casePlanPath);
|
|
178
|
+
if (!casePlan || casePlan.length === 0) {
|
|
179
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `'${casePlanFileName}' in ${projectPath} is empty, so there is nothing to compile into '${sidecarFileName}'. Author the case plan, or re-scaffold the project with 'uip maestro case init'.`);
|
|
180
|
+
}
|
|
181
|
+
try {
|
|
182
|
+
const bpmnXml = await compile(new TextDecoder().decode(casePlan));
|
|
183
|
+
await this.fileSystem.writeFile(Path.join(contentFolder, sidecarFileName), bpmnXml);
|
|
184
|
+
return await this.checkEntryPointBpmnPresent(contentFolder, casePlanFileName);
|
|
185
|
+
} catch (error) {
|
|
186
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
187
|
+
this.logger.error(message);
|
|
188
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `Failed to compile '${casePlanFileName}' into '${sidecarFileName}': ${message}. Run 'uip maestro case validate ${projectPath}' to find the problem in the case plan, then pack again.`);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
async checkEntryPointBpmnPresent(contentFolder, casePlanFileName) {
|
|
192
|
+
const referenced = await this.readEntryPointBpmnFiles(contentFolder);
|
|
193
|
+
if (referenced === null) {
|
|
194
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `'${CaseConstants.EntryPointsFileName}' could not be read as JSON, so pack cannot check that the BPMN it declares is in the package. Fix or re-scaffold '${CaseConstants.EntryPointsFileName}', then pack again.`);
|
|
195
|
+
}
|
|
196
|
+
const own = casePlanFileName ? casePlanSidecarName(casePlanFileName) : undefined;
|
|
197
|
+
const fix = own ?? `Author a case plan (${CasePlanFileNames.join(", ")}) so pack can compile it (see 'uip maestro case init'), then pack again.`;
|
|
198
|
+
const firstEntry = await this.firstEntryPointFileName(contentFolder);
|
|
199
|
+
if (firstEntry && !referenced.includes(firstEntry)) {
|
|
200
|
+
const firstEntryFix = own ? `Point the first entry point at '${own}', then pack again.` : fix;
|
|
201
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `'${CaseConstants.EntryPointsFileName}' first entry point resolves to '${firstEntry}', which is not a declared .bpmn file this project ships, so operate.json's main would name a file pack cannot produce. ${firstEntryFix}`);
|
|
202
|
+
}
|
|
203
|
+
if (referenced.length === 0) {
|
|
204
|
+
return ToolResult.success();
|
|
205
|
+
}
|
|
206
|
+
const contentFiles = await this.fileSystem.readdir(contentFolder);
|
|
207
|
+
const missing = referenced.filter((file) => !contentFiles.includes(file));
|
|
208
|
+
if (missing.length === 0) {
|
|
209
|
+
if (casePlanFileName) {
|
|
210
|
+
const misnamed = misnamedEntryPointBpmn(referenced, casePlanFileName);
|
|
211
|
+
if (misnamed) {
|
|
212
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `'${CaseConstants.EntryPointsFileName}' points at 'content/${misnamed}', the sidecar of a case plan this project does not carry. '${casePlanFileName}' compiles to '${own}', so the entry point would resolve to a BPMN pack did not produce. Point it at '${own}', then pack again.`);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return ToolResult.success();
|
|
216
|
+
}
|
|
217
|
+
const missingFix = casePlanFileName ? `Add the missing file to the project, or point '${CaseConstants.EntryPointsFileName}' at the BPMN the project does ship, then pack again.` : fix;
|
|
218
|
+
const missingList = missing.map((f) => `'content/${f}'`).join(", ");
|
|
219
|
+
return ToolResult.error(ToolErrorCodes.InternalError, `'${CaseConstants.EntryPointsFileName}' points at ${missingList}, which the package does not contain, so it would deploy and activate and then fault every job. ${missingFix}`);
|
|
220
|
+
}
|
|
221
|
+
async readEntryPointBpmnFiles(contentFolder) {
|
|
222
|
+
const entryPointsPath = Path.join(contentFolder, CaseConstants.EntryPointsFileName);
|
|
223
|
+
if (!await this.fileSystem.exists(entryPointsPath)) {
|
|
224
|
+
return [];
|
|
225
|
+
}
|
|
226
|
+
const raw = await this.fileSystem.readFile(entryPointsPath);
|
|
227
|
+
if (!raw || raw.length === 0) {
|
|
228
|
+
return null;
|
|
229
|
+
}
|
|
230
|
+
return entryPointBpmnNames(new TextDecoder().decode(raw));
|
|
231
|
+
}
|
|
232
|
+
async firstEntryPointFileName(contentFolder) {
|
|
233
|
+
const raw = await this.fileSystem.readFile(Path.join(contentFolder, CaseConstants.EntryPointsFileName));
|
|
234
|
+
const parsed = JSON.parse(raw ? new TextDecoder().decode(raw) : "{}");
|
|
235
|
+
const filePath = parsed.entryPoints?.[0]?.filePath ?? "";
|
|
236
|
+
return resolveDeclaredFileName(filePath);
|
|
237
|
+
}
|
|
238
|
+
async createOperateFile(options, contentFolder) {
|
|
239
|
+
await ensureContentOperateFile(this.fileSystem, {
|
|
240
|
+
contentFolder,
|
|
241
|
+
projectPath: options.projectPath,
|
|
242
|
+
projectStorageId: options.projectStorageId,
|
|
243
|
+
contentType: ProjectTypes.CaseManagement
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
async createPackageDescriptor(localBuildFolder, contentFolder) {
|
|
247
|
+
const contentFiles = await this.fileSystem.readdir(contentFolder);
|
|
248
|
+
const packageDescriptorPath = Path.join(localBuildFolder, NugetConstants.ContentFolderName, NugetConstants.PackageDescriptorFileName);
|
|
249
|
+
const packageDescriptorJson = JSON.stringify(buildCasePackageDescriptor(contentFiles), null, 2);
|
|
250
|
+
await this.fileSystem.writeFile(packageDescriptorPath, packageDescriptorJson);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// ../packager/packager-tool-case/src/case-tool-factory.ts
|
|
255
|
+
class CaseToolFactory {
|
|
256
|
+
supportedTypes = [
|
|
257
|
+
ProjectTypes.CaseManagement
|
|
258
|
+
];
|
|
259
|
+
async createAsync(logger, fileSystem) {
|
|
260
|
+
return new CaseTool(fileSystem, logger);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// ../packager/packager-tool-case/src/index.ts
|
|
265
|
+
toolsFactoryRepository.registerProjectToolFactory(new CaseToolFactory);
|
|
266
|
+
|
|
267
|
+
export { registerCaseBpmnCompiler, CasePlanFileNames, casePlanSidecarName, findCasePlanFileName, resolveDeclaredFileName, normalizeEntryPointPath, entryPointBpmnNames, misnamedEntryPointBpmn, buildCasePackageDescriptor, CaseToolFactory };
|
|
268
|
+
|
|
269
|
+
//# debugId=E6D8CC5EFB5FE95664756E2164756E21
|