@uipath/case-tool 1.206.0-preview.312 → 1.206.0-preview.323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{authoring-w2c0k5hf.js → authoring-g2bbrymg.js} +6 -6
- package/dist/{bindings-v2-zfjc4tbc.js → bindings-v2-r4ned02h.js} +3 -3
- package/dist/{browser-strategy-627rrg7z.js → browser-strategy-qc6htsnf.js} +1 -1
- package/dist/{business-rule-export-xq6azsv2.js → business-rule-export-0ydx1rwr.js} +2 -2
- package/dist/{carry-forward-p1nhfnmy.js → carry-forward-8xsg7chv.js} +3 -3
- package/dist/{case-api-wx8t678s.js → case-api-vs5ew5es.js} +7 -7
- package/dist/{case-bindings-service-y01xj9rq.js → case-bindings-service-dvq46kp8.js} +4 -4
- package/dist/{case-debug-solution-projects-11tx0fmx.js → case-debug-solution-projects-sfp8fbwz.js} +2 -2
- package/dist/{case-debug-studio-web-service-3nkmpj9x.js → case-debug-studio-web-service-m23vkbrs.js} +6 -6
- package/dist/{case-described-io-service-vtrf5bqx.js → case-described-io-service-dnn8bshj.js} +3 -3
- package/dist/{case-event-trigger-bindings-sb2dh429.js → case-event-trigger-bindings-82atx06s.js} +4 -4
- package/dist/{case-format-service-4be7w2e4.js → case-format-service-63qk04vp.js} +2 -2
- package/dist/{case-pack-service-9qxt37e6.js → case-pack-service-rseb6fkm.js} +3 -3
- package/dist/{case-splice-service-8sv8md3c.js → case-splice-service-wc0ppb8a.js} +3 -3
- package/dist/{case-validate-service-4g3mzcvx.js → case-validate-service-n4qg0zbk.js} +9 -9
- package/dist/{connector-enrichment-service-v2zdcf35.js → connector-enrichment-service-hn70q9dj.js} +18 -18
- package/dist/{connector-lookup-service-thnawy9g.js → connector-lookup-service-xcqckvfe.js} +7 -7
- package/dist/{debug-service-yj8s783q.js → debug-service-c4txfjgg.js} +3 -3
- package/dist/{enrichment-service-bv5m6x2q.js → enrichment-service-xbpww8cc.js} +7 -7
- package/dist/{index-92tnyqhj.js → index-2p8zxbwy.js} +14 -14
- package/dist/{index-ja6a0vs7.js → index-6j5n8tqr.js} +7 -7
- package/dist/{index-nj3axvya.js → index-at94mehx.js} +3 -3
- package/dist/{index-21kns9qg.js → index-b3v23nvm.js} +1 -1
- package/dist/{index-d3k35146.js → index-g4t5dyfk.js} +4 -4
- package/dist/{index-z3zxqfbr.js → index-jkj086y6.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{init-entry-points-ht34zj5a.js → init-entry-points-cakn3336.js} +2 -2
- package/dist/input-reader-1z80mtq6.js +10 -0
- package/dist/{localSolutionDiscovery-aa0btz7r.js → localSolutionDiscovery-86f6w9y0.js} +3 -3
- package/dist/{node-strategy-2mqzg36t.js → node-strategy-rrp7728p.js} +2 -2
- package/dist/{node-sync-service-hz595em5.js → node-sync-service-ybknpckh.js} +9 -9
- package/dist/{out-target-s88pw0a6.js → out-target-7zzqhxaw.js} +2 -2
- package/dist/{packager-tool-t2eaf58n.js → packager-tool-08f64kbc.js} +2 -2
- package/dist/{packager-tool-bg3tdpva.js → packager-tool-1hq5zyhz.js} +1 -1
- package/dist/{packager-tool-z070caqq.js → packager-tool-2fcdfxh4.js} +26 -6
- package/dist/{packager-tool-6d67s4bt.js → packager-tool-34a0v5zb.js} +2 -2
- package/dist/{packager-tool-zm04v3t5.js → packager-tool-38emtvck.js} +2 -2
- package/dist/{packager-tool-vhy8cjqa.js → packager-tool-501g5pzn.js} +1 -1
- package/dist/{packager-tool-t4zycqpa.js → packager-tool-5282g2zk.js} +3 -3
- package/dist/{packager-tool-j2p4zwyp.js → packager-tool-5szy6w0j.js} +2 -2
- package/dist/{packager-tool-j3gd2d0d.js → packager-tool-64ff8awv.js} +1 -1
- package/dist/{packager-tool-ffp1t60e.js → packager-tool-696t8acq.js} +3 -3
- package/dist/{packager-tool-by1b95d3.js → packager-tool-6m46f707.js} +3 -3
- package/dist/{packager-tool-8jn7pjcf.js → packager-tool-6rvtfbe6.js} +2 -2
- package/dist/{packager-tool-y55d04pg.js → packager-tool-7tryjgva.js} +1 -1
- package/dist/{packager-tool-s1qy3xq9.js → packager-tool-92bc9ze8.js} +4 -4
- package/dist/{packager-tool-q8kvef5x.js → packager-tool-ae59qc17.js} +2 -2
- package/dist/{packager-tool-zq3e5v08.js → packager-tool-b00bx4t4.js} +1 -1
- package/dist/{packager-tool-tymcd11p.js → packager-tool-bvec1pmv.js} +1 -1
- package/dist/{packager-tool-wkzzbsxx.js → packager-tool-cte9vj7e.js} +3 -3
- package/dist/{packager-tool-dn9d4ywm.js → packager-tool-f9ratvts.js} +51 -9
- package/dist/{packager-tool-rjdb24gy.js → packager-tool-fcsn1f8e.js} +1 -1
- package/dist/{packager-tool-0e17bxka.js → packager-tool-fnmr98hr.js} +1 -1
- package/dist/{packager-tool-pat47jzk.js → packager-tool-hhpcq75r.js} +8 -8
- package/dist/{packager-tool-5t4n22fb.js → packager-tool-kw6fr80e.js} +59 -59
- package/dist/{packager-tool-q26hncjr.js → packager-tool-n3r5apbb.js} +4 -2
- package/dist/{packager-tool-ktqvdd90.js → packager-tool-nyskp550.js} +2 -2
- package/dist/{packager-tool-gfdymz2g.js → packager-tool-qdjwawnn.js} +6 -6
- package/dist/{packager-tool-pjgxayfj.js → packager-tool-vd84mtwn.js} +5 -5
- package/dist/{packager-tool-ta8e5war.js → packager-tool-y60sr1fc.js} +2 -2
- package/dist/{packager-tool-8zck9vk7.js → packager-tool-yfzc8s9f.js} +1 -1
- package/dist/{packager-tool-70ctjqbm.js → packager-tool-z2se1xzt.js} +2 -2
- package/dist/{project-artifacts-6t1ntsd1.js → project-artifacts-78hafmtv.js} +1 -1
- package/dist/{resourcesSyncService-7x5246zh.js → resourcesSyncService-3bvcqb2w.js} +17 -17
- package/dist/{rule-type-declaration-ae0sy3xh.js → rule-type-declaration-a0wxpxmn.js} +5 -5
- package/dist/{sdd-convert-service-dpqjb07n.js → sdd-convert-service-a43dypts.js} +6 -6
- package/dist/{sdd-lookup-r996veme.js → sdd-lookup-m159jdtv.js} +2 -2
- package/dist/{sdd-resolve-service-ng2mxsf9.js → sdd-resolve-service-99ww4cdx.js} +3 -3
- package/dist/{sdd-resolve-siblings-2dtzk3fy.js → sdd-resolve-siblings-7mq9rbn5.js} +4 -4
- package/dist/solution-auth-bmrmdyxf.js +11 -0
- package/dist/{solution-discovery-9bw0njy3.js → solution-discovery-yh6w2a9j.js} +3 -3
- package/dist/{strict-entry-points-4e3z89mf.js → strict-entry-points-4929gm2e.js} +5 -5
- package/dist/{strict-sdd-audit-b943ktpb.js → strict-sdd-audit-qwceyd6k.js} +5 -5
- package/dist/tool.js +9 -9
- package/dist/{trigger-enrichment-service-0gcyaezz.js → trigger-enrichment-service-3g8j3nc0.js} +18 -18
- package/dist/{trigger-entry-point-id-rsbezjrf.js → trigger-entry-point-id-s3e49se7.js} +1 -1
- package/package.json +2 -2
- package/dist/input-reader-d4fe26wp.js +0 -10
- package/dist/solution-auth-a1p22hq1.js +0 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
4
4
|
import {
|
|
5
5
|
getEventOperationObjects,
|
|
6
6
|
resourceFolderKeyFieldName,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
findTriggerDesignAction,
|
|
18
18
|
triggerEventParameters,
|
|
19
19
|
runTriggerDesignAction
|
|
20
|
-
} from "./packager-tool-
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
20
|
+
} from "./packager-tool-hhpcq75r.js";
|
|
21
|
+
import"./packager-tool-n3r5apbb.js";
|
|
22
|
+
import"./packager-tool-f9ratvts.js";
|
|
23
|
+
import"./packager-tool-2fcdfxh4.js";
|
|
24
24
|
import {
|
|
25
25
|
storedActivityBindings,
|
|
26
26
|
planResourceBindings,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
import"./packager-tool-17b466mr.js";
|
|
35
35
|
import {
|
|
36
36
|
findSolutionFromCwd2
|
|
37
|
-
} from "./packager-tool-
|
|
38
|
-
import"./packager-tool-
|
|
37
|
+
} from "./packager-tool-y60sr1fc.js";
|
|
38
|
+
import"./packager-tool-6rvtfbe6.js";
|
|
39
39
|
import {
|
|
40
40
|
extractTriggerEventParameters,
|
|
41
41
|
extractTriggerFilterFields,
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
assertConnectionConnector,
|
|
46
46
|
fetchConnectionInfo,
|
|
47
47
|
fetchConnectorMetadata2
|
|
48
|
-
} from "./packager-tool-
|
|
48
|
+
} from "./packager-tool-ae59qc17.js";
|
|
49
49
|
import {
|
|
50
50
|
genericObjectDiscoveryCommands
|
|
51
|
-
} from "./packager-tool-
|
|
51
|
+
} from "./packager-tool-64ff8awv.js";
|
|
52
52
|
import {
|
|
53
53
|
v2ConfigurationVersionEntry
|
|
54
54
|
} from "./packager-tool-68648y3j.js";
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
Command
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
5
|
+
import"./packager-tool-2fcdfxh4.js";
|
|
6
6
|
import"./packager-tool-p5gs9xqy.js";
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
7
|
+
import"./packager-tool-bvec1pmv.js";
|
|
8
|
+
import"./packager-tool-n3r5apbb.js";
|
|
9
|
+
import"./packager-tool-f9ratvts.js";
|
|
10
|
+
import"./packager-tool-92bc9ze8.js";
|
|
11
11
|
import {
|
|
12
12
|
metadata2,
|
|
13
13
|
registerCommands2
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-kw6fr80e.js";
|
|
15
15
|
import"./packager-tool-jv5byaww.js";
|
|
16
16
|
import"./packager-tool-h2ar8xf8.js";
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
17
|
+
import"./packager-tool-z2se1xzt.js";
|
|
18
|
+
import"./packager-tool-64ff8awv.js";
|
|
19
19
|
import"./packager-tool-68648y3j.js";
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadResourceEnrichmentMap2,
|
|
3
3
|
readLocalResourcesForType2
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-08f64kbc.js";
|
|
5
5
|
import"./packager-tool-4avchhz8.js";
|
|
6
6
|
import"./packager-tool-snesn0bt.js";
|
|
7
7
|
import"./packager-tool-1wgav5ma.js";
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-yfzc8s9f.js";
|
|
9
|
+
import"./packager-tool-2fcdfxh4.js";
|
|
10
10
|
export {
|
|
11
11
|
loadResourceEnrichmentMap2 as loadResourceEnrichmentMap,
|
|
12
12
|
readLocalResourcesForType2 as readLocalResourcesForType
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-2fcdfxh4.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_AUTH_TIMEOUT_MS2,
|
|
6
6
|
AUTH_TIMEOUT_ERROR_CODE2,
|
|
7
7
|
AUTH_CANCELLED_ERROR_CODE2,
|
|
8
8
|
AUTH_RECLAIMED_ERROR_CODE2
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-n3r5apbb.js";
|
|
10
10
|
import {
|
|
11
11
|
catchError
|
|
12
12
|
} from "./packager-tool-mxgybnmt.js";
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
getNodeEnriched2,
|
|
19
19
|
getLocalNodeEnriched2,
|
|
20
20
|
searchNodesWithFilters2
|
|
21
|
-
} from "./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
21
|
+
} from "./packager-tool-qdjwawnn.js";
|
|
22
|
+
import"./packager-tool-nyskp550.js";
|
|
23
|
+
import"./packager-tool-ae59qc17.js";
|
|
24
|
+
import"./packager-tool-hhpcq75r.js";
|
|
25
25
|
import"./packager-tool-xb16e3tz.js";
|
|
26
26
|
import"./packager-tool-v11fx4dk.js";
|
|
27
|
-
import"./packager-tool-
|
|
27
|
+
import"./packager-tool-y60sr1fc.js";
|
|
28
28
|
import"./packager-tool-17b466mr.js";
|
|
29
|
-
import"./packager-tool-
|
|
30
|
-
import"./packager-tool-
|
|
29
|
+
import"./packager-tool-f9ratvts.js";
|
|
30
|
+
import"./packager-tool-n3r5apbb.js";
|
|
31
31
|
import"./packager-tool-h2ar8xf8.js";
|
|
32
|
-
import"./packager-tool-
|
|
33
|
-
import"./packager-tool-
|
|
32
|
+
import"./packager-tool-yfzc8s9f.js";
|
|
33
|
+
import"./packager-tool-2fcdfxh4.js";
|
|
34
34
|
export {
|
|
35
35
|
MANIFEST_VALIDATION_NEXT_STEP2 as MANIFEST_VALIDATION_NEXT_STEP,
|
|
36
36
|
TenantManifestInvalidError2 as TenantManifestInvalidError,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-2fcdfxh4.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
7
7
|
import {
|
|
8
8
|
resolvePackagedMainEntry,
|
|
9
9
|
readProjectMainFile,
|
|
@@ -47,12 +47,26 @@ class NodeFileSystem {
|
|
|
47
47
|
throw error;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
async writeFile(filePath, data) {
|
|
50
|
+
async writeFile(filePath, data, options) {
|
|
51
51
|
const dir = path.dirname(filePath);
|
|
52
52
|
if (dir) {
|
|
53
53
|
await fs.mkdir(dir, { recursive: true });
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
if (options?.mode === undefined || process.platform === "win32") {
|
|
56
|
+
if (options?.exclusive) {
|
|
57
|
+
await fs.writeFile(filePath, data, { flag: "wx" });
|
|
58
|
+
} else {
|
|
59
|
+
await fs.writeFile(filePath, data);
|
|
60
|
+
}
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const handle = await fs.open(filePath, options.exclusive ? "wx" : "w", options.mode);
|
|
64
|
+
try {
|
|
65
|
+
await handle.chmod(options.mode);
|
|
66
|
+
await handle.writeFile(data);
|
|
67
|
+
} finally {
|
|
68
|
+
await handle.close();
|
|
69
|
+
}
|
|
56
70
|
}
|
|
57
71
|
async appendFile(filePath, data) {
|
|
58
72
|
const dir = path.dirname(filePath);
|
|
@@ -87,7 +101,8 @@ class NodeFileSystem {
|
|
|
87
101
|
isDirectory: () => stats.isDirectory(),
|
|
88
102
|
size: stats.size,
|
|
89
103
|
mtimeMs: stats.mtimeMs,
|
|
90
|
-
ctimeMs: stats.ctimeMs
|
|
104
|
+
ctimeMs: stats.ctimeMs,
|
|
105
|
+
mode: stats.mode
|
|
91
106
|
};
|
|
92
107
|
} catch (error) {
|
|
93
108
|
if (this.isEnoent(error))
|
|
@@ -98,8 +113,13 @@ class NodeFileSystem {
|
|
|
98
113
|
async exists(filePath) {
|
|
99
114
|
return existsSync(filePath);
|
|
100
115
|
}
|
|
101
|
-
async mkdir(dirPath) {
|
|
102
|
-
await fs.mkdir(dirPath, { recursive: true });
|
|
116
|
+
async mkdir(dirPath, options) {
|
|
117
|
+
await fs.mkdir(dirPath, { recursive: true, mode: options?.mode });
|
|
118
|
+
}
|
|
119
|
+
async chmod(targetPath, mode) {
|
|
120
|
+
if (process.platform === "win32")
|
|
121
|
+
return;
|
|
122
|
+
await fs.chmod(targetPath, mode);
|
|
103
123
|
}
|
|
104
124
|
async acquireLock(lockPath) {
|
|
105
125
|
const canonicalPath = await this.canonicalizeLockTarget(lockPath);
|
|
@@ -290,4 +310,4 @@ var getFileSystemAsync2 = async () => fsInstance;
|
|
|
290
310
|
|
|
291
311
|
export { getFileSystem2, getFileSystemAsync2 };
|
|
292
312
|
|
|
293
|
-
//# debugId=
|
|
313
|
+
//# debugId=94CFD3450B8BBA6B64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSessionIdentity2,
|
|
3
3
|
getAuthContext2
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-f9ratvts.js";
|
|
5
5
|
import {
|
|
6
6
|
catchError2,
|
|
7
7
|
extractErrorMessage,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getSdkUserAgentToken,
|
|
10
10
|
addSdkUserAgentHeader,
|
|
11
11
|
installSdkUserAgentHeader
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
13
13
|
|
|
14
14
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
15
15
|
var BASE_PATH = "https://alpha.uipath.com/Ada/byoa/orchestrator_".replace(/\/+$/, "");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-2fcdfxh4.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2,
|
|
6
6
|
logger,
|
|
7
7
|
hashContent
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
9
9
|
|
|
10
10
|
// src/utils/resourcesStorage.ts
|
|
11
11
|
async function resolveResourcesStorageDir() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-2fcdfxh4.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
7
7
|
import {
|
|
8
8
|
eventTriggerResourceKey,
|
|
9
9
|
buildEventTriggerResource,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./packager-tool-h2ar8xf8.js";
|
|
13
13
|
import {
|
|
14
14
|
CONNECTION_ID_PROPERTY2
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-b00bx4t4.js";
|
|
16
16
|
|
|
17
17
|
// src/services/case-event-trigger-bindings.ts
|
|
18
18
|
var ENTRY_POINTS_FILE_NAME = "entry-points.json";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
4
4
|
import {
|
|
5
5
|
STAGE_SELECTOR_RULES,
|
|
6
6
|
TASK_SELECTOR_RULES,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
expandXrefs,
|
|
9
9
|
canonicalExpression,
|
|
10
10
|
unquoteLiteral
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-7tryjgva.js";
|
|
12
12
|
import {
|
|
13
13
|
BINDING_REFERENCE_PREFIX
|
|
14
14
|
} from "./packager-tool-nfhtwa72.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
RESULTS,
|
|
4
4
|
createHiddenDeprecatedTenantOption,
|
|
5
5
|
parseBoundedInt
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
7
7
|
// ../maestro-sdk/src/shared-utils.ts
|
|
8
8
|
var VALID_PROJECT_NAME_REGEX = /^[a-zA-Z0-9_-]+$/;
|
|
9
9
|
var VALID_PACKAGE_NAME_REGEX = /^[a-zA-Z0-9._-]+$/;
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getSdkUserAgentToken,
|
|
9
9
|
addSdkUserAgentHeader,
|
|
10
10
|
installSdkUserAgentHeader
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
12
12
|
import {
|
|
13
13
|
zipSync
|
|
14
14
|
} from "./packager-tool-wbksf242.js";
|
|
@@ -501,7 +501,7 @@ var package_default = {
|
|
|
501
501
|
name: "@uipath/solution-sdk",
|
|
502
502
|
author: "UiPath",
|
|
503
503
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
504
|
-
version: "1.206.0-preview.
|
|
504
|
+
version: "1.206.0-preview.323",
|
|
505
505
|
repository: {
|
|
506
506
|
type: "git",
|
|
507
507
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -1285,4 +1285,4 @@ async function uploadOrOverwriteSolution2(config, organizationName, fileBufferOr
|
|
|
1285
1285
|
}
|
|
1286
1286
|
export { buildSolutionPackageFromDir2, isSolutionUploadHttpError2, buildSolutionUploadFailureOutput2, uploadOrOverwriteSolution2 };
|
|
1287
1287
|
|
|
1288
|
-
//# debugId=
|
|
1288
|
+
//# debugId=541C7E22D4212E6864756E2164756E21
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
4
4
|
import {
|
|
5
5
|
ConnectorsApi,
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-hhpcq75r.js";
|
|
8
8
|
import {
|
|
9
9
|
TYPECACHE_ACTIVITY_INDEX_TYPES,
|
|
10
10
|
TYPECACHE_TRIGGER_INDEX_TYPES,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./packager-tool-jv5byaww.js";
|
|
13
13
|
import {
|
|
14
14
|
loadResourceIndex
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-38emtvck.js";
|
|
16
16
|
|
|
17
17
|
// src/services/connector-lookup-service.ts
|
|
18
18
|
async function lookupTypeCacheEntry2(uiPathActivityTypeId, type) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthContext2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-f9ratvts.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
7
7
|
|
|
8
8
|
// ../maestro-sdk/src/studio-catalog.ts
|
|
9
9
|
var catalogPromises = new Map;
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
parseLimit,
|
|
14
14
|
parseOffset,
|
|
15
15
|
parseBoundedInt
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
17
17
|
import {
|
|
18
18
|
getAuthContext2
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-f9ratvts.js";
|
|
20
20
|
import {
|
|
21
21
|
DEBUG_MODE_MAP2,
|
|
22
22
|
SIMULATION_MODE_MAP2
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-bvec1pmv.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveJsonInput
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-z2se1xzt.js";
|
|
27
27
|
|
|
28
28
|
// ../maestro-sdk/src/client.ts
|
|
29
29
|
function parseBackendErrorBody(body) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2,
|
|
3
3
|
logger
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
5
5
|
import {
|
|
6
6
|
ConnectionsApi,
|
|
7
7
|
ElementsApi,
|
|
8
8
|
createApiClient,
|
|
9
9
|
isV4ActivityConfiguration,
|
|
10
10
|
getConnectorActivityMetadataV4
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-hhpcq75r.js";
|
|
12
12
|
|
|
13
13
|
// ../maestro-sdk/src/registry/integration-service-fetcher.ts
|
|
14
14
|
function parseContext(node) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
4
4
|
import {
|
|
5
5
|
withoutTrailingSlug,
|
|
6
6
|
field,
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
} from "./packager-tool-7x1tmb8a.js";
|
|
36
36
|
import {
|
|
37
37
|
outputSourceFor
|
|
38
|
-
} from "./packager-tool-
|
|
38
|
+
} from "./packager-tool-501g5pzn.js";
|
|
39
39
|
import {
|
|
40
40
|
STAGE_SELECTOR_RULES,
|
|
41
41
|
TASK_SELECTOR_RULES,
|
|
42
42
|
parseIfCell,
|
|
43
43
|
outputTypeCell,
|
|
44
44
|
canonicalExpression
|
|
45
|
-
} from "./packager-tool-
|
|
45
|
+
} from "./packager-tool-7tryjgva.js";
|
|
46
46
|
import {
|
|
47
47
|
ledgerMissFor,
|
|
48
48
|
ledgerFoundFor
|
|
@@ -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-2fcdfxh4.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
|
|
@@ -2516,10 +2558,10 @@ var authenticate2 = async ({
|
|
|
2516
2558
|
const authUrl = `${authorizationEndpoint}?${authParams.toString()}`;
|
|
2517
2559
|
let strategy;
|
|
2518
2560
|
if (isBrowser2()) {
|
|
2519
|
-
const { BrowserAuthStrategy } = await import("./browser-strategy-
|
|
2561
|
+
const { BrowserAuthStrategy } = await import("./browser-strategy-qc6htsnf.js");
|
|
2520
2562
|
strategy = new BrowserAuthStrategy;
|
|
2521
2563
|
} else {
|
|
2522
|
-
const { NodeAuthStrategy } = await import("./node-strategy-
|
|
2564
|
+
const { NodeAuthStrategy } = await import("./node-strategy-rrp7728p.js");
|
|
2523
2565
|
strategy = new NodeAuthStrategy;
|
|
2524
2566
|
}
|
|
2525
2567
|
const code = await strategy.execute(authUrl, effectiveRedirectUriUrl, state, {
|
|
@@ -2541,4 +2583,4 @@ var authenticate2 = async ({
|
|
|
2541
2583
|
|
|
2542
2584
|
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 };
|
|
2543
2585
|
|
|
2544
|
-
//# debugId=
|
|
2586
|
+
//# debugId=6E519B83FDDA14C664756E2164756E21
|
|
@@ -25,7 +25,7 @@ var stampEntryPointIds2 = (plan, ids) => {
|
|
|
25
25
|
return written;
|
|
26
26
|
};
|
|
27
27
|
var stampFromEntryPointsBeside2 = async (plan, out) => {
|
|
28
|
-
const { readEntryPointIds } = await import("./case-event-trigger-bindings-
|
|
28
|
+
const { readEntryPointIds } = await import("./case-event-trigger-bindings-82atx06s.js");
|
|
29
29
|
const read = await readEntryPointIds(out);
|
|
30
30
|
if ("error" in read)
|
|
31
31
|
return { error: read.error };
|