@uipath/case-tool 1.206.0-preview.301 → 1.207.0-preview.305
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 +7 -90
- package/dist/THIRD-PARTY-NOTICES.md +162 -7
- package/dist/{authoring-wt5ngnjb.js → authoring-qqev46bh.js} +233 -63
- package/dist/{bindings-v2-x100hvcy.js → bindings-v2-wjgg92tj.js} +4 -4
- package/dist/{browser-strategy-627rrg7z.js → browser-strategy-qc6htsnf.js} +1 -1
- package/dist/{business-rule-export-pggs7x01.js → business-rule-export-0pbc3ysq.js} +2 -2
- package/dist/{carry-forward-gxsadrqb.js → carry-forward-tj5yrqf6.js} +6 -6
- package/dist/{case-api-a6v5beat.js → case-api-bfwmvkb8.js} +24 -28
- package/dist/{case-bindings-service-9zemt0r2.js → case-bindings-service-5r7c70kz.js} +5 -5
- package/dist/case-catalog-h4fjn6q3.js +304 -0
- package/dist/{case-debug-solution-projects-ygfggamz.js → case-debug-solution-projects-5tr4pwbs.js} +2 -2
- package/dist/{case-debug-studio-web-service-hcbrw6f5.js → case-debug-studio-web-service-7smzvq4c.js} +10 -9
- package/dist/{case-described-io-service-8dw21x2y.js → case-described-io-service-ddsvkz8w.js} +5 -5
- package/dist/{case-event-trigger-bindings-pmad4dev.js → case-event-trigger-bindings-8nd78j4e.js} +5 -5
- package/dist/{case-format-service-xjvnx3jd.js → case-format-service-4mzszgfb.js} +2 -2
- package/dist/case-pack-service-bp7sh20v.js +297 -0
- package/dist/{case-splice-service-8deak994.js → case-splice-service-tpp2syvn.js} +7 -7
- package/dist/{case-validate-service-2kjqnhdt.js → case-validate-service-fxvq4qx7.js} +146 -38
- package/dist/{connector-enrichment-service-wq282h58.js → connector-enrichment-service-x0w721wj.js} +26 -25
- package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
- package/dist/{connector-lookup-service-62t7j9km.js → connector-lookup-service-51pca3bf.js} +8 -8
- package/dist/{connector-task-shape-bgywpbqc.js → connector-task-shape-s2zny4gf.js} +3 -3
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-xrrajtht.js} +1277 -10
- package/dist/{debug-service-tm92ws5e.js → debug-service-hf2wb4tw.js} +9 -4
- package/dist/{en-LAVDF7IQ-yzy20n6d.js → en-5JIPZTS5-c68n8taw.js} +4 -2
- package/dist/{en-X6T4SP2Y-xm47mf18.js → en-ETY46SDS-far9tmsf.js} +66 -2
- package/dist/{enrichment-service-hzsn1aqp.js → enrichment-service-7f4sdff5.js} +17 -17
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -10
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-vzfmygd7.js} +1277 -10
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/{index-8h77h81c.js → index-2j5tfjwv.js} +129 -76
- package/dist/{index-katfc3yn.js → index-ezxmyhan.js} +4 -4
- package/dist/{index-j2gw61z0.js → index-gb75pv5a.js} +111 -65
- package/dist/index-prn518fr.js +36 -0
- package/dist/{index-nj3axvya.js → index-rk82650j.js} +7 -5
- package/dist/{index-pg9wmyrf.js → index-t6fnts8a.js} +2 -2
- package/dist/index-wkmh1h6w.js +26 -0
- package/dist/{index-21kns9qg.js → index-y7v9rkq9.js} +1 -1
- package/dist/index.js +13 -11
- package/dist/init-entry-points-52kvvbg9.js +15 -0
- package/dist/input-reader-zr71xcm9.js +13 -0
- package/dist/integration-service-fetcher-bpbz1gcx.js +68 -0
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
- package/dist/{known-types-gak9by1w.js → known-types-a5d0evdm.js} +2 -2
- package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/library-option-pbvkt66g.js +13 -0
- package/dist/{localSolutionDiscovery-9pj8mzye.js → localSolutionDiscovery-5sqz9dkr.js} +5 -5
- package/dist/manifest-rhee8kem.js +32 -0
- package/dist/{node-strategy-2mqzg36t.js → node-strategy-aaf2qe6c.js} +2 -2
- package/dist/{node-sync-service-m4zksnxd.js → node-sync-service-q1a37d6n.js} +21 -15
- package/dist/{out-target-gtg3we44.js → out-target-02x6x6nk.js} +5 -5
- package/dist/{packager-tool-h2ar8xf8.js → packager-tool-00ck60cc.js} +25 -24
- package/dist/{packager-tool-tqn0a5bg.js → packager-tool-00qmds4s.js} +254 -69
- package/dist/{packager-tool-388vyja1.js → packager-tool-0gmnk7sb.js} +2 -2
- package/dist/{packager-tool-fcektt1g.js → packager-tool-0nbcqyvp.js} +10 -9
- package/dist/{packager-tool-3aeetcr4.js → packager-tool-178xtejt.js} +191 -154
- package/dist/{packager-tool-gkmvcbkr.js → packager-tool-1dsedy7x.js} +59 -34
- package/dist/packager-tool-1yew22sn.js +9 -0
- package/dist/{packager-tool-1hpd2gmh.js → packager-tool-225b9qhq.js} +1 -1
- package/dist/{packager-tool-m4x2n2bx.js → packager-tool-2x40ye7a.js} +21 -7
- package/dist/{packager-tool-p0rdmmvk.js → packager-tool-2xemp3b1.js} +2 -2
- package/dist/packager-tool-34ttsx9q.js +18 -0
- package/dist/{packager-tool-3zy717ga.js → packager-tool-36vkdb3h.js} +2 -2
- package/dist/{packager-tool-81wpefzk.js → packager-tool-380ac64s.js} +61 -11
- package/dist/{packager-tool-cqkbf2fg.js → packager-tool-3hzsw5r7.js} +906 -41
- package/dist/packager-tool-3k5j706w.js +73 -0
- package/dist/{packager-tool-scy94jyb.js → packager-tool-4seehsme.js} +2 -72
- package/dist/{packager-tool-es77jvky.js → packager-tool-4w7nzx18.js} +360 -44
- package/dist/{packager-tool-4avchhz8.js → packager-tool-57970zfm.js} +12 -7
- package/dist/{packager-tool-bjt8b2nz.js → packager-tool-5s476jdt.js} +13 -13
- package/dist/{packager-tool-0xj79bbd.js → packager-tool-8kcwawyg.js} +13 -4
- package/dist/{packager-tool-wy3a65rx.js → packager-tool-bw4fsdq4.js} +27 -13
- package/dist/{packager-tool-dn9d4ywm.js → packager-tool-c0pavv0s.js} +66 -10
- package/dist/packager-tool-c9h0rwgv.js +31 -0
- package/dist/{packager-tool-t8qx6hvn.js → packager-tool-dv2vtyg0.js} +4 -4
- package/dist/{packager-tool-3r23qsca.js → packager-tool-ef43cy32.js} +213 -231
- package/dist/{packager-tool-pg0qpfg8.js → packager-tool-ej14cxen.js} +22 -22
- package/dist/{packager-tool-5w0gjcck.js → packager-tool-engs9gvj.js} +1 -1
- package/dist/{packager-tool-stdwmgvd.js → packager-tool-exrjwmew.js} +202 -83
- package/dist/{task-type-declaration-yhczvj05.js → packager-tool-f9n5mk1c.js} +8 -12
- package/dist/{packager-tool-b2q8m9pq.js → packager-tool-fspmvh6g.js} +5 -4
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-17b466mr.js → packager-tool-hrd44w8g.js} +7561 -6408
- package/dist/{packager-tool-snesn0bt.js → packager-tool-j1etnthk.js} +19 -14
- package/dist/{packager-tool-k871wgpe.js → packager-tool-j53d4vv1.js} +18 -4
- package/dist/{packager-tool-6ewsbrnb.js → packager-tool-j8mnpsv8.js} +329 -149
- package/dist/{packager-tool-7x1tmb8a.js → packager-tool-jydreskq.js} +1 -1
- package/dist/{packager-tool-r5pha7xq.js → packager-tool-k08k9g2y.js} +9 -9
- package/dist/{packager-tool-bg3tdpva.js → packager-tool-kh9gs4d5.js} +4 -2
- package/dist/{packager-tool-8467kcz9.js → packager-tool-m7s4n455.js} +120 -13
- package/dist/{packager-tool-q26hncjr.js → packager-tool-n3r5apbb.js} +4 -2
- package/dist/packager-tool-n6h4bz4d.js +22 -0
- package/dist/{packager-tool-ad8v11jd.js → packager-tool-p4c1g2sj.js} +1032 -819
- package/dist/{packager-tool-z070caqq.js → packager-tool-p64w2wrt.js} +30 -8
- package/dist/{packager-tool-xd1wbvay.js → packager-tool-pq61r2f1.js} +1 -1
- package/dist/{packager-tool-65vr263d.js → packager-tool-qzyb1eac.js} +1 -1
- package/dist/{packager-tool-5dptce1y.js → packager-tool-rzxnm9yj.js} +2 -2
- package/dist/{init-entry-points-5xzn81bb.js → packager-tool-t6xwkhht.js} +12 -10
- package/dist/packager-tool-vmfd007q.js +27 -0
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/{packager-tool-cdvrca04.js → packager-tool-x9z4krtr.js} +1036 -259
- package/dist/{packager-tool-z1fw9a8v.js → packager-tool-y69796fy.js} +19 -11
- package/dist/{packager-tool-7c14mwnb.js → packager-tool-z13dp55w.js} +3393 -3092
- package/dist/{packager-tool-9m7jbv7t.js → packager-tool-zbfwp75m.js} +4 -4
- package/dist/{packager-tool-pq9xv4vq.js → packager-tool-zte9svtn.js} +11 -4
- package/dist/packager-tool.js +2 -2
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-2hcb65bn.js} +39 -6
- package/dist/{project-artifacts-pfcn65cg.js → project-artifacts-77yctm8b.js} +1 -1
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
- package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{resolved-check-dz8eqrf6.js → resolved-check-kwgy875v.js} +1 -1
- package/dist/{resourcesSyncService-27bstvae.js → resourcesSyncService-gegbd8b8.js} +49 -26
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-9k2jjk88.js} +1271 -10
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/{rule-type-declaration-ze0saj5r.js → rule-type-declaration-a0fk7fe7.js} +12 -11
- package/dist/{sdd-convert-service-m8e615a1.js → sdd-convert-service-2ag3xjpj.js} +120 -621
- package/dist/{sdd-lookup-fwj6x364.js → sdd-lookup-wgm5ctnd.js} +2 -2
- package/dist/{sdd-resolve-service-dvg387wx.js → sdd-resolve-service-epygyb0n.js} +34 -6
- package/dist/{sdd-resolve-siblings-mpj6ypwk.js → sdd-resolve-siblings-qz7gwws5.js} +4 -4
- package/dist/solution-auth-yb1twb9d.js +11 -0
- package/dist/{solution-discovery-gfdqhgt2.js → solution-discovery-t0nkzpm3.js} +4 -4
- package/dist/{strict-case-rules-045kbjvv.js → strict-case-rules-x1sytx3e.js} +91 -46
- package/dist/{strict-entry-points-wd85a81g.js → strict-entry-points-anxeg692.js} +6 -6
- package/dist/strict-sdd-audit-z1bg2zr0.js +28 -0
- package/dist/taggable-variables-gc58xb0s.js +6094 -0
- package/dist/task-type-declaration-b0ejzhc6.js +15 -0
- package/dist/tool.js +13 -11
- package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -10
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/{trigger-enrichment-service-5x04aa70.js → trigger-enrichment-service-bsj58ppa.js} +33 -32
- package/dist/{trigger-entry-point-id-4j9rk3kp.js → trigger-entry-point-id-hre2ewts.js} +1 -1
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -10
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -11
- package/package.json +2 -2
- package/dist/case-pack-service-adhg30nq.js +0 -167
- package/dist/index-krtxycbe.js +0 -35
- package/dist/input-reader-pjt4a914.js +0 -10
- package/dist/packager-tool-v11fx4dk.js +0 -25
- package/dist/solution-auth-a1p22hq1.js +0 -11
- package/dist/strict-sdd-audit-6es2j6fs.js +0 -26
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2,
|
|
6
6
|
logger,
|
|
7
7
|
quoteForShell
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./packager-tool-
|
|
10
|
+
getServiceType2,
|
|
11
|
+
extractIOFromEntryPoints2,
|
|
12
|
+
taskDefinitionsToNodeManifests2,
|
|
13
|
+
withErrorHandles2
|
|
14
|
+
} from "./packager-tool-hrd44w8g.js";
|
|
15
15
|
|
|
16
16
|
// ../maestro-sdk/src/registry/agent-metadata-reader.ts
|
|
17
17
|
var agentProjectMetadataReader;
|
|
@@ -114,7 +114,7 @@ async function readEntryPointsFile(...candidates) {
|
|
|
114
114
|
state = "valid";
|
|
115
115
|
if (entryPoints.length === 0)
|
|
116
116
|
continue;
|
|
117
|
-
return { io:
|
|
117
|
+
return { io: extractIOFromEntryPoints2({ entryPoints }), state };
|
|
118
118
|
}
|
|
119
119
|
return { state };
|
|
120
120
|
}
|
|
@@ -172,7 +172,7 @@ async function readProjectIOFromFlowVariables(projectDir) {
|
|
|
172
172
|
}
|
|
173
173
|
]
|
|
174
174
|
};
|
|
175
|
-
return { io:
|
|
175
|
+
return { io: extractIOFromEntryPoints2(synthetic), state: "valid" };
|
|
176
176
|
}
|
|
177
177
|
async function readProjectName(projectDir) {
|
|
178
178
|
const fs = getFileSystem2();
|
|
@@ -224,7 +224,7 @@ function invokableSiblings(ctx) {
|
|
|
224
224
|
const fs = getFileSystem2();
|
|
225
225
|
const currentId = ctx.currentProjectId?.toLowerCase();
|
|
226
226
|
return ctx.projects.flatMap((project) => {
|
|
227
|
-
const serviceType =
|
|
227
|
+
const serviceType = getServiceType2(project.Type);
|
|
228
228
|
if (!serviceType)
|
|
229
229
|
return [];
|
|
230
230
|
if (typeof project.Id !== "string")
|
|
@@ -269,7 +269,7 @@ async function buildInSolutionNodes2(ctx) {
|
|
|
269
269
|
inputProperties: io.inputProperties
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
|
-
const nodes =
|
|
272
|
+
const nodes = taskDefinitionsToNodeManifests2({ [resourceKey]: task }, project.Type);
|
|
273
273
|
manifests.push(...nodes);
|
|
274
274
|
if (contract !== "known") {
|
|
275
275
|
unknownContracts.push({
|
|
@@ -281,7 +281,7 @@ async function buildInSolutionNodes2(ctx) {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
return { manifests:
|
|
284
|
+
return { manifests: withErrorHandles2(manifests), unknownContracts };
|
|
285
285
|
}
|
|
286
286
|
function unknownContractWarning2(projects) {
|
|
287
287
|
if (projects.length === 0)
|
|
@@ -332,4 +332,4 @@ function resourcesRefreshCommand2(solutionDir) {
|
|
|
332
332
|
|
|
333
333
|
export { setAgentProjectMetadataReader2, solutionSearchDirs2, readSolutionAt2, findSolutionFromCwd2, resolveProjectEntryPointIO2, loadResourceKeyMap2, buildInSolutionNodes2, unknownContractWarning2, findProjectsWithoutProcessResource2, describeProjectsWithoutProcessResource2, explainNodeTypeWithoutProcessResource2, resourcesRefreshCommand2 };
|
|
334
334
|
|
|
335
|
-
//# debugId=
|
|
335
|
+
//# debugId=682ED70D9ED90E4664756E2164756E21
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthContext2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-c0pavv0s.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
7
7
|
|
|
8
8
|
// ../maestro-sdk/src/studio-catalog.ts
|
|
9
9
|
var catalogPromises = new Map;
|
|
10
|
+
|
|
11
|
+
class TypeCacheHttpError extends Error {
|
|
12
|
+
status;
|
|
13
|
+
constructor(message, status) {
|
|
14
|
+
super(message);
|
|
15
|
+
this.name = "TypeCacheHttpError";
|
|
16
|
+
this.status = status;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
10
19
|
async function typeCacheGet(route, query, what) {
|
|
11
20
|
const auth = await getAuthContext2({
|
|
12
21
|
requireOrganizationId: true,
|
|
@@ -26,7 +35,7 @@ async function typeCacheGet(route, query, what) {
|
|
|
26
35
|
if (!response.ok) {
|
|
27
36
|
const errorText = await response.text();
|
|
28
37
|
logger.debug(`Error response body: ${errorText}`);
|
|
29
|
-
throw new
|
|
38
|
+
throw new TypeCacheHttpError(`${what} failed: ${response.status} ${response.statusText} - ${errorText}`, response.status);
|
|
30
39
|
}
|
|
31
40
|
return await response.json();
|
|
32
41
|
}
|
|
@@ -75,4 +84,4 @@ async function searchPackages(projectType = "ProcessOrchestration") {
|
|
|
75
84
|
|
|
76
85
|
export { searchActivities, searchTriggers, searchPackages };
|
|
77
86
|
|
|
78
|
-
//# debugId=
|
|
87
|
+
//# debugId=7B58061A6DCEA65364756E2164756E21
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
4
4
|
import {
|
|
5
5
|
CONNECTOR_CALL_TASK_TYPES
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-jydreskq.js";
|
|
7
7
|
|
|
8
8
|
// src/services/schema-utils.ts
|
|
9
9
|
function getMutatedType(variable) {
|
|
@@ -167,21 +167,35 @@ function convertActionArgsToVariables(args) {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
// src/services/fixed-task-outputs.ts
|
|
170
|
-
var
|
|
170
|
+
var FIXED_OUTPUTS = new Map([
|
|
171
171
|
[
|
|
172
172
|
"http-request",
|
|
173
173
|
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
sources: {
|
|
175
|
+
code: "=response.code",
|
|
176
|
+
headers: "=response.headers",
|
|
177
|
+
body: "=response.body",
|
|
178
|
+
error: "=Error"
|
|
179
|
+
},
|
|
180
|
+
payload: "body"
|
|
178
181
|
}
|
|
179
182
|
],
|
|
180
|
-
[
|
|
183
|
+
[
|
|
184
|
+
"document-extraction",
|
|
185
|
+
{ sources: { output: "=result", error: "=Error" }, payload: "output" }
|
|
186
|
+
],
|
|
187
|
+
[
|
|
188
|
+
"script",
|
|
189
|
+
{
|
|
190
|
+
sources: { scriptresponse: "=result.response", error: "=Error" },
|
|
191
|
+
payload: "scriptResponse"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
181
194
|
]);
|
|
182
|
-
var
|
|
195
|
+
var payloadOutputName = (taskType) => taskType === undefined ? undefined : FIXED_OUTPUTS.get(taskType)?.payload;
|
|
196
|
+
var hasFixedOutputs = (taskType) => taskType !== undefined && FIXED_OUTPUTS.has(taskType);
|
|
183
197
|
var fixedOutputName = (taskType, field) => {
|
|
184
|
-
const sources = taskType === undefined ? undefined :
|
|
198
|
+
const sources = taskType === undefined ? undefined : FIXED_OUTPUTS.get(taskType)?.sources;
|
|
185
199
|
if (sources === undefined)
|
|
186
200
|
return;
|
|
187
201
|
const trimmed = field.trim();
|
|
@@ -190,7 +204,7 @@ var fixedOutputName = (taskType, field) => {
|
|
|
190
204
|
};
|
|
191
205
|
var fixedOutputSource = (taskType, field) => {
|
|
192
206
|
const name = fixedOutputName(taskType, field);
|
|
193
|
-
return name === undefined || taskType === undefined ? undefined :
|
|
207
|
+
return name === undefined || taskType === undefined ? undefined : FIXED_OUTPUTS.get(taskType)?.sources[name];
|
|
194
208
|
};
|
|
195
209
|
|
|
196
210
|
// src/services/input-output-utils.ts
|
|
@@ -398,6 +412,6 @@ function addVarIdsToInputsOutputs(params) {
|
|
|
398
412
|
return { inputsWithVars, outputsWithVars };
|
|
399
413
|
}
|
|
400
414
|
|
|
401
|
-
export { hasFixedOutputs, fixedOutputName, transformSchemaToVariables, ERROR_OUTPUT_SCHEMA, convertActionArgsToVariables, FILE_TYPE_JSON_SCHEMA, camelizeDisplayName, mapEntryPointVariablesToInputOutput, RESULT_OUTPUT_NAME, RESULT_OUTPUT_SOURCE, outputSourceFor, BUSINESS_RULE_TASK_VERSION, buildErrorOutput, addVarIdsToInputsOutputs };
|
|
415
|
+
export { payloadOutputName, hasFixedOutputs, fixedOutputName, transformSchemaToVariables, ERROR_OUTPUT_SCHEMA, convertActionArgsToVariables, FILE_TYPE_JSON_SCHEMA, camelizeDisplayName, mapEntryPointVariablesToInputOutput, RESULT_OUTPUT_NAME, RESULT_OUTPUT_SOURCE, outputSourceFor, BUSINESS_RULE_TASK_VERSION, buildErrorOutput, addVarIdsToInputsOutputs };
|
|
402
416
|
|
|
403
|
-
//# debugId=
|
|
417
|
+
//# debugId=81AAAEEAAFD652B264756E2164756E21
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UIPATH_HOME_DIR,
|
|
3
3
|
AUTH_FILENAME,
|
|
4
|
+
AUTH_FILE_MODE,
|
|
5
|
+
AUTH_DIR_MODE,
|
|
4
6
|
DEFAULT_BASE_URL,
|
|
5
7
|
DEFAULT_REDIRECT_URI
|
|
6
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-n3r5apbb.js";
|
|
7
9
|
import {
|
|
8
10
|
getFileSystem2
|
|
9
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-p64w2wrt.js";
|
|
10
12
|
import {
|
|
11
13
|
isBrowser2,
|
|
12
14
|
getGlobalThis
|
|
@@ -1280,6 +1282,38 @@ var loadEnvFileAsync2 = async ({ envPath }) => {
|
|
|
1280
1282
|
}
|
|
1281
1283
|
return parseEnvContent(content);
|
|
1282
1284
|
};
|
|
1285
|
+
var findAuthHomeDir = (fs, dir) => {
|
|
1286
|
+
let current = dir;
|
|
1287
|
+
for (;; ) {
|
|
1288
|
+
if (fs.path.basename(current) === UIPATH_HOME_DIR)
|
|
1289
|
+
return current;
|
|
1290
|
+
const parent = fs.path.dirname(current);
|
|
1291
|
+
if (parent === current)
|
|
1292
|
+
return;
|
|
1293
|
+
current = parent;
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
var TEMP_FILE_ATTEMPTS = 5;
|
|
1297
|
+
var isFileExists = (error) => error instanceof Error && error.code === "EEXIST";
|
|
1298
|
+
var writeTempFile = async (fs, targetPath, content) => {
|
|
1299
|
+
for (let attempt = 1;; attempt++) {
|
|
1300
|
+
const tempPath = `${targetPath}.${crypto.randomUUID()}.tmp`;
|
|
1301
|
+
try {
|
|
1302
|
+
await fs.writeFile(tempPath, content, {
|
|
1303
|
+
mode: AUTH_FILE_MODE,
|
|
1304
|
+
exclusive: true
|
|
1305
|
+
});
|
|
1306
|
+
return tempPath;
|
|
1307
|
+
} catch (error) {
|
|
1308
|
+
if (!isFileExists(error)) {
|
|
1309
|
+
await fs.rm(tempPath).catch(() => {});
|
|
1310
|
+
throw error;
|
|
1311
|
+
}
|
|
1312
|
+
if (attempt === TEMP_FILE_ATTEMPTS)
|
|
1313
|
+
throw error;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
};
|
|
1283
1317
|
var saveEnvFileAsync2 = async ({
|
|
1284
1318
|
envPath,
|
|
1285
1319
|
data,
|
|
@@ -1307,10 +1341,18 @@ var saveEnvFileAsync2 = async ({
|
|
|
1307
1341
|
`)}
|
|
1308
1342
|
`;
|
|
1309
1343
|
const dir = fs.path.dirname(absolutePath);
|
|
1310
|
-
await fs.mkdir(dir);
|
|
1311
|
-
const
|
|
1312
|
-
|
|
1313
|
-
|
|
1344
|
+
await fs.mkdir(dir, { mode: AUTH_DIR_MODE });
|
|
1345
|
+
const authHomeDir = findAuthHomeDir(fs, dir);
|
|
1346
|
+
if (authHomeDir !== undefined) {
|
|
1347
|
+
await fs.chmod?.(authHomeDir, AUTH_DIR_MODE);
|
|
1348
|
+
}
|
|
1349
|
+
const tempPath = await writeTempFile(fs, absolutePath, content);
|
|
1350
|
+
try {
|
|
1351
|
+
await fs.rename(tempPath, absolutePath);
|
|
1352
|
+
} catch (error) {
|
|
1353
|
+
await fs.rm(tempPath).catch(() => {});
|
|
1354
|
+
throw error;
|
|
1355
|
+
}
|
|
1314
1356
|
};
|
|
1315
1357
|
|
|
1316
1358
|
// ../auth/src/loginStatus.ts
|
|
@@ -2459,6 +2501,20 @@ async function logoutWithDeps2(options, deps = {}) {
|
|
|
2459
2501
|
async function logout2(options) {
|
|
2460
2502
|
return logoutWithDeps2(options);
|
|
2461
2503
|
}
|
|
2504
|
+
// ../auth/src/utils/lockedEnvFile.ts
|
|
2505
|
+
var updateEnvFileLockedAsync2 = async ({
|
|
2506
|
+
envPath,
|
|
2507
|
+
data
|
|
2508
|
+
}) => {
|
|
2509
|
+
const fs = getFileSystem2();
|
|
2510
|
+
const absolutePath = fs.path.isAbsolute(envPath) ? envPath : fs.path.join(fs.env.homedir(), envPath);
|
|
2511
|
+
const release = await fs.acquireLock(absolutePath);
|
|
2512
|
+
try {
|
|
2513
|
+
await saveEnvFileAsync2({ envPath: absolutePath, data, merge: true });
|
|
2514
|
+
} finally {
|
|
2515
|
+
await release().catch(() => {});
|
|
2516
|
+
}
|
|
2517
|
+
};
|
|
2462
2518
|
|
|
2463
2519
|
// ../auth/src/index.ts
|
|
2464
2520
|
var authenticate2 = async ({
|
|
@@ -2516,10 +2572,10 @@ var authenticate2 = async ({
|
|
|
2516
2572
|
const authUrl = `${authorizationEndpoint}?${authParams.toString()}`;
|
|
2517
2573
|
let strategy;
|
|
2518
2574
|
if (isBrowser2()) {
|
|
2519
|
-
const { BrowserAuthStrategy } = await import("./browser-strategy-
|
|
2575
|
+
const { BrowserAuthStrategy } = await import("./browser-strategy-qc6htsnf.js");
|
|
2520
2576
|
strategy = new BrowserAuthStrategy;
|
|
2521
2577
|
} else {
|
|
2522
|
-
const { NodeAuthStrategy } = await import("./node-strategy-
|
|
2578
|
+
const { NodeAuthStrategy } = await import("./node-strategy-aaf2qe6c.js");
|
|
2523
2579
|
strategy = new NodeAuthStrategy;
|
|
2524
2580
|
}
|
|
2525
2581
|
const code = await strategy.execute(authUrl, effectiveRedirectUriUrl, state, {
|
|
@@ -2539,6 +2595,6 @@ var authenticate2 = async ({
|
|
|
2539
2595
|
});
|
|
2540
2596
|
};
|
|
2541
2597
|
|
|
2542
|
-
export { setAuthFileConfig2, InvalidBaseUrlError2, DEFAULT_AUTH_PROFILE2, INHERITED_AUTH_PROFILE_ENV2, AuthProfileValidationError2, normalizeAuthProfileName2, setActiveAuthProfile2, clearActiveAuthProfile2, getActiveAuthProfile2, runWithAuthProfile2, resolveAuthProfileFilePath2, getActiveAuthProfileFilePath2, getAuthProfilesRootPath2, resolveAuthProfileDirPath2, listAuthProfileNamesAsync2, authProfileExistsAsync2, deleteAuthProfileAsync2, parseJWT2, parseAuthFlow2, resolveSessionIdentity2, readTokenScopes2, ENV_AUTH_ENABLE_VAR2, ENFORCE_ROBOT_AUTH_VAR2, ENV_AUTH_VARS2, EnvAuthConfigError2, isEnvAuthEnabled2, isRobotAuthEnforced2, readAuthFromEnv2, refreshTokenFingerprint2, loadRefreshBreaker2, saveRefreshBreaker2, clearRefreshBreaker2, registerRobotClientLoader2, fetchTenantsAndOrganizations2, TokenRefreshOAuthError2, isTokenRefreshOAuthFailure2, refreshAccessToken2, AUTH_FLOW_ENV_VAR2, DEFAULT_AUTH_FILENAME2, DEFAULT_ENV_FILENAME2, resolveEnvFileLocationAsync2, resolveEnvFilePathAsync2, loadEnvFileAsync2, saveEnvFileAsync2, CredentialSource2, getLoginStatusAsync2, getLoginStatusWithDeps2, AuthContextUnavailableError2, getAuthContext2, getAuthEnv2, describeAuthProfilesAsync2, ClientCredentialsAuthenticationError2, clientCredentialsLogin2, JWT_BEARER_ASSERTION_TYPE2, FederatedCredentialsAuthenticationError2, federatedCredentialsLogin2, TENANT_SELECTION_REQUIRED_CODE2, INVALID_TENANT_CODE2, TenantSelectionError2, TenantSelectionRequiredError2, InvalidTenantError2, isTenantSelectionError2, selectTenantWithDeps2, interactiveLoginWithDeps2, interactiveLogin2, logoutWithDeps2, logout2, authenticate2 };
|
|
2598
|
+
export { setAuthFileConfig2, InvalidBaseUrlError2, DEFAULT_AUTH_PROFILE2, INHERITED_AUTH_PROFILE_ENV2, AuthProfileValidationError2, normalizeAuthProfileName2, setActiveAuthProfile2, clearActiveAuthProfile2, getActiveAuthProfile2, runWithAuthProfile2, resolveAuthProfileFilePath2, getActiveAuthProfileFilePath2, getAuthProfilesRootPath2, resolveAuthProfileDirPath2, listAuthProfileNamesAsync2, authProfileExistsAsync2, deleteAuthProfileAsync2, parseJWT2, parseAuthFlow2, resolveSessionIdentity2, readTokenScopes2, ENV_AUTH_ENABLE_VAR2, ENFORCE_ROBOT_AUTH_VAR2, ENV_AUTH_VARS2, EnvAuthConfigError2, isEnvAuthEnabled2, isRobotAuthEnforced2, readAuthFromEnv2, refreshTokenFingerprint2, loadRefreshBreaker2, saveRefreshBreaker2, clearRefreshBreaker2, registerRobotClientLoader2, fetchTenantsAndOrganizations2, TokenRefreshOAuthError2, isTokenRefreshOAuthFailure2, refreshAccessToken2, AUTH_FLOW_ENV_VAR2, DEFAULT_AUTH_FILENAME2, DEFAULT_ENV_FILENAME2, resolveEnvFileLocationAsync2, resolveEnvFilePathAsync2, loadEnvFileAsync2, saveEnvFileAsync2, CredentialSource2, getLoginStatusAsync2, getLoginStatusWithDeps2, AuthContextUnavailableError2, getAuthContext2, getAuthEnv2, describeAuthProfilesAsync2, ClientCredentialsAuthenticationError2, clientCredentialsLogin2, JWT_BEARER_ASSERTION_TYPE2, FederatedCredentialsAuthenticationError2, federatedCredentialsLogin2, TENANT_SELECTION_REQUIRED_CODE2, INVALID_TENANT_CODE2, TenantSelectionError2, TenantSelectionRequiredError2, InvalidTenantError2, isTenantSelectionError2, selectTenantWithDeps2, interactiveLoginWithDeps2, interactiveLogin2, logoutWithDeps2, logout2, updateEnvFileLockedAsync2, authenticate2 };
|
|
2543
2599
|
|
|
2544
|
-
//# debugId=
|
|
2600
|
+
//# debugId=9BC4F0CE080BA8F164756E2164756E21
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
satisfiesRuntimeConstraints2,
|
|
3
|
+
ootbNodes2,
|
|
4
|
+
inlineAgentNodes2,
|
|
5
|
+
buildExtractDocumentBuilderNode2
|
|
6
|
+
} from "./packager-tool-hrd44w8g.js";
|
|
7
|
+
|
|
8
|
+
// ../maestro-sdk/src/registry/maestro-runtime.ts
|
|
9
|
+
function selectMaestroNodes(nodes) {
|
|
10
|
+
return nodes.filter((node) => satisfiesRuntimeConstraints2(node.runtimeConstraints, "maestro"));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// ../maestro-sdk/src/registry/known-types.ts
|
|
14
|
+
var KNOWN_SDK_NODES = selectMaestroNodes([
|
|
15
|
+
...ootbNodes2,
|
|
16
|
+
...inlineAgentNodes2,
|
|
17
|
+
buildExtractDocumentBuilderNode2()
|
|
18
|
+
]);
|
|
19
|
+
var KNOWN_SDK_NODE_TYPES = new Set(KNOWN_SDK_NODES.map((n) => n.nodeType.toLowerCase()).filter((t) => typeof t === "string" && t.length > 0));
|
|
20
|
+
function isKnownSdkNodeType2(nodeType) {
|
|
21
|
+
if (typeof nodeType !== "string" || nodeType.length === 0)
|
|
22
|
+
return false;
|
|
23
|
+
return KNOWN_SDK_NODE_TYPES.has(nodeType.toLowerCase());
|
|
24
|
+
}
|
|
25
|
+
function listKnownSdkNodes2() {
|
|
26
|
+
return KNOWN_SDK_NODES.slice();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { selectMaestroNodes, isKnownSdkNodeType2, listKnownSdkNodes2 };
|
|
30
|
+
|
|
31
|
+
//# debugId=CE14B6A64873566864756E2164756E21
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
7
7
|
import {
|
|
8
8
|
eventTriggerResourceKey,
|
|
9
9
|
buildEventTriggerResource,
|
|
10
10
|
packageStoredBinding,
|
|
11
11
|
buildParameterPropertyResource
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-00ck60cc.js";
|
|
13
13
|
import {
|
|
14
14
|
CONNECTION_ID_PROPERTY2
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-qzyb1eac.js";
|
|
16
16
|
|
|
17
17
|
// src/services/case-event-trigger-bindings.ts
|
|
18
18
|
var ENTRY_POINTS_FILE_NAME = "entry-points.json";
|