@uipath/vertical-solutions-tool 1.206.1-preview.312 → 1.206.1-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/{createSdk-ej6a8h0r.js → createSdk-zz8ng3hr.js} +2 -2
- package/dist/{deploy-jobs-py2rv4wt.js → deploy-jobs-t41k8m9r.js} +3 -3
- package/dist/{deploy-service-5btf76wc.js → deploy-service-6vw4a2k6.js} +13 -13
- package/dist/{deployment-search-v0asn5m9.js → deployment-search-knvby8m3.js} +4 -4
- package/dist/{index-fx4b6zvh.js → index-3mc1rjnn.js} +2 -2
- package/dist/{index-ppbqqpng.js → index-hd502hqc.js} +4 -4
- package/dist/{index-1n2qt3mv.js → index-xjky2teg.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/{job-commands-wpja9xzt.js → job-commands-3b304pht.js} +5 -5
- package/dist/{job-output-nc8hndpj.js → job-output-y70eywm0.js} +2 -2
- package/dist/{prompts-ycxb43e4.js → prompts-ja0ek67c.js} +3 -3
- package/dist/{resume-service-xdz3xkv5.js → resume-service-bcq3zkm9.js} +12 -12
- package/dist/{seed-service-qfxge8m5.js → seed-service-v4b43ecq.js} +13 -13
- package/dist/{seed-templates-rt11me3k.js → seed-templates-411n5r54.js} +3 -3
- package/dist/{service-errors-gx27teqv.js → service-errors-8fk3r8qk.js} +4 -4
- package/dist/{solution-auth-rpegyzgz.js → solution-auth-gj5a00qt.js} +1 -1
- package/dist/{solution-deployments-6a8tf23b.js → solution-deployments-xgcq4qpy.js} +2 -2
- package/dist/{templates-pnvgqy8a.js → templates-y5ckedpg.js} +2 -2
- package/dist/{tool-7q7wfckv.js → tool-6wxkp21m.js} +1 -1
- package/dist/{tool-k6bb2r5g.js → tool-9g8dj2yf.js} +6 -6
- package/dist/{tool-nvmwzj2y.js → tool-ctn6mff4.js} +9 -9
- package/dist/{tool-n4tyjxq8.js → tool-dhqv2sq2.js} +5 -5
- package/dist/{tool-kmm339vz.js → tool-e752xczf.js} +23 -23
- package/dist/{tool-qysj3wcm.js → tool-h8hqv89a.js} +5 -5
- package/dist/{tool-vfg6ctg9.js → tool-jgvm6wk2.js} +1 -1
- package/dist/{tool-ebeka3z3.js → tool-m0rrfvdw.js} +1 -1
- package/dist/{tool-ajmcxdew.js → tool-qxb6sraz.js} +1 -1
- package/dist/{tool-k26cvj17.js → tool-rj49hfh9.js} +3 -3
- package/dist/{tool-xbfgdtj6.js → tool-tvzpg5sb.js} +3 -3
- package/dist/{tool-x2xmgr0n.js → tool-v5g5prhw.js} +2 -2
- package/dist/{tool-w9sqx5pf.js → tool-w7e6zgf2.js} +48 -6
- package/dist/{tool-p5nf1tfe.js → tool-xv72q6g0.js} +2 -2
- package/dist/{tool-8396478b.js → tool-y6zvmahk.js} +1 -1
- package/dist/{tool-bnvx37at.js → tool-z1yj9ae3.js} +1 -1
- package/dist/{tool-2hzryrk7.js → tool-z6adq5yc.js} +26 -6
- package/dist/tool.js +5 -5
- package/dist/{watch-job-z6wkx8fx.js → watch-job-badyg172.js} +9 -9
- package/package.json +2 -2
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getDeployJobLogs2,
|
|
5
5
|
resumeDeployJob2,
|
|
6
6
|
cancelDeployJob2
|
|
7
|
-
} from "./tool-
|
|
8
|
-
import"./tool-
|
|
7
|
+
} from "./tool-qxb6sraz.js";
|
|
8
|
+
import"./tool-m0rrfvdw.js";
|
|
9
9
|
import"./tool-f0jjp878.js";
|
|
10
|
-
import"./tool-
|
|
10
|
+
import"./tool-z6adq5yc.js";
|
|
11
11
|
export {
|
|
12
12
|
cancelDeployJob2 as cancelDeployJob,
|
|
13
13
|
getDeployJob2 as getDeployJob,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
RESULTS,
|
|
5
5
|
resolveEnvReference,
|
|
6
6
|
canPrompt
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-z6adq5yc.js";
|
|
8
8
|
import {
|
|
9
9
|
optionalText,
|
|
10
10
|
jsonObject,
|
|
11
11
|
VssApiError,
|
|
12
12
|
scopeQuery,
|
|
13
13
|
vssRequestParsed
|
|
14
|
-
} from "./tool-
|
|
14
|
+
} from "./tool-m0rrfvdw.js";
|
|
15
15
|
import {
|
|
16
16
|
string,
|
|
17
17
|
unknown,
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
} from "./tool-f0jjp878.js";
|
|
22
22
|
import {
|
|
23
23
|
submitDeployJob2
|
|
24
|
-
} from "./tool-
|
|
25
|
-
import"./tool-
|
|
24
|
+
} from "./tool-qxb6sraz.js";
|
|
25
|
+
import"./tool-w7e6zgf2.js";
|
|
26
26
|
import {
|
|
27
27
|
failure,
|
|
28
28
|
missingOption,
|
|
29
29
|
invalidOption
|
|
30
|
-
} from "./tool-
|
|
30
|
+
} from "./tool-y6zvmahk.js";
|
|
31
31
|
import {
|
|
32
32
|
writeProgress2,
|
|
33
33
|
writeWarning2,
|
|
34
34
|
writeStepSummary2,
|
|
35
35
|
writeSuccessSummary2
|
|
36
|
-
} from "./tool-
|
|
36
|
+
} from "./tool-jgvm6wk2.js";
|
|
37
37
|
import {
|
|
38
38
|
configKeyProblem,
|
|
39
39
|
listVerticals,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
normalizeVersions,
|
|
43
43
|
getManifest,
|
|
44
44
|
listAllFolders
|
|
45
|
-
} from "./tool-
|
|
45
|
+
} from "./tool-dhqv2sq2.js";
|
|
46
46
|
import {
|
|
47
47
|
SolutionDeploymentsError2,
|
|
48
48
|
newestDeployment2,
|
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
isInstalledDeployment2,
|
|
51
51
|
listDeploymentsNamed2,
|
|
52
52
|
solutionNameFromManifest2
|
|
53
|
-
} from "./tool-
|
|
53
|
+
} from "./tool-h8hqv89a.js";
|
|
54
54
|
import {
|
|
55
55
|
toDeployFailure2
|
|
56
|
-
} from "./tool-
|
|
56
|
+
} from "./tool-rj49hfh9.js";
|
|
57
57
|
import {
|
|
58
58
|
describePauseKind,
|
|
59
59
|
pauseInstructions,
|
|
@@ -61,20 +61,20 @@ import {
|
|
|
61
61
|
rejectSeedWithoutWait,
|
|
62
62
|
finalizeSucceededJob,
|
|
63
63
|
stoppedWatching
|
|
64
|
-
} from "./tool-
|
|
64
|
+
} from "./tool-ctn6mff4.js";
|
|
65
65
|
import {
|
|
66
66
|
withCapacityRetry,
|
|
67
67
|
watchOptionsFrom2,
|
|
68
68
|
watchDeployJob2
|
|
69
|
-
} from "./tool-
|
|
69
|
+
} from "./tool-9g8dj2yf.js";
|
|
70
70
|
import {
|
|
71
71
|
rejectBlankOptions,
|
|
72
72
|
readServiceUrl2,
|
|
73
73
|
credentialsFailure2
|
|
74
|
-
} from "./tool-
|
|
74
|
+
} from "./tool-tvzpg5sb.js";
|
|
75
75
|
import {
|
|
76
76
|
createVssConfig
|
|
77
|
-
} from "./tool-
|
|
77
|
+
} from "./tool-v5g5prhw.js";
|
|
78
78
|
import {
|
|
79
79
|
checkBeforeResubmitting,
|
|
80
80
|
routingFlags
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
logger,
|
|
5
5
|
getSdkUserAgentToken,
|
|
6
6
|
installSdkUserAgentHeader
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-z6adq5yc.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveSessionIdentity
|
|
10
|
-
} from "./tool-
|
|
10
|
+
} from "./tool-w7e6zgf2.js";
|
|
11
11
|
|
|
12
12
|
// ../pipelines-sdk/generated/src/runtime.ts
|
|
13
13
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -2354,7 +2354,7 @@ var package_default2 = {
|
|
|
2354
2354
|
name: "@uipath/solution-sdk",
|
|
2355
2355
|
author: "UiPath",
|
|
2356
2356
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
2357
|
-
version: "1.206.0-preview.
|
|
2357
|
+
version: "1.206.0-preview.323",
|
|
2358
2358
|
repository: {
|
|
2359
2359
|
type: "git",
|
|
2360
2360
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -2651,4 +2651,4 @@ export {
|
|
|
2651
2651
|
searchDeploymentsPage
|
|
2652
2652
|
};
|
|
2653
2653
|
|
|
2654
|
-
//# debugId=
|
|
2654
|
+
//# debugId=C384ABCE08C29CF764756E2164756E21
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
getSdkUserAgentToken,
|
|
7
7
|
addSdkUserAgentHeader,
|
|
8
8
|
installSdkUserAgentHeader
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-z6adq5yc.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveSessionIdentity,
|
|
12
12
|
getAuthContext
|
|
13
|
-
} from "./tool-
|
|
13
|
+
} from "./tool-w7e6zgf2.js";
|
|
14
14
|
|
|
15
15
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
16
16
|
var BASE_PATH = "https://alpha.uipath.com/Ada/byoa/orchestrator_".replace(/\/+$/, "");
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
addSdkUserAgentHeader,
|
|
4
4
|
installSdkUserAgentHeader
|
|
5
|
-
} from "./tool-
|
|
5
|
+
} from "./tool-z6adq5yc.js";
|
|
6
6
|
import {
|
|
7
7
|
getAuthContext
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-w7e6zgf2.js";
|
|
9
9
|
|
|
10
10
|
// ../integrationservice-sdk/generated/connections/src/runtime.ts
|
|
11
11
|
var BASE_PATH = "https://alpha.uipath.com/entity/Azure/connections_".replace(/\/+$/, "");
|
|
@@ -538,7 +538,7 @@ var package_default = {
|
|
|
538
538
|
name: "@uipath/integrationservice-sdk",
|
|
539
539
|
author: "UiPath",
|
|
540
540
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
541
|
-
version: "1.206.0-preview.
|
|
541
|
+
version: "1.206.0-preview.323",
|
|
542
542
|
repository: {
|
|
543
543
|
type: "git",
|
|
544
544
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -6410,4 +6410,4 @@ export {
|
|
|
6410
6410
|
normalizeConnectionStatus
|
|
6411
6411
|
};
|
|
6412
6412
|
|
|
6413
|
-
//# debugId=
|
|
6413
|
+
//# debugId=33341103CC12573A64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
Command
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-z6adq5yc.js";
|
|
5
5
|
import"./tool-4g168x1b.js";
|
|
6
6
|
import {
|
|
7
7
|
metadata2,
|
|
8
8
|
registerCommands2
|
|
9
|
-
} from "./tool-
|
|
10
|
-
import"./tool-
|
|
11
|
-
import"./tool-
|
|
9
|
+
} from "./tool-e752xczf.js";
|
|
10
|
+
import"./tool-w7e6zgf2.js";
|
|
11
|
+
import"./tool-z1yj9ae3.js";
|
|
12
12
|
import"./tool-f0jjp878.js";
|
|
13
|
-
import"./tool-
|
|
13
|
+
import"./tool-y6zvmahk.js";
|
|
14
14
|
|
|
15
15
|
// src/index.ts
|
|
16
16
|
var program = new Command;
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
credentialsFailure2,
|
|
5
5
|
exitIfCallerAborted2,
|
|
6
6
|
emitFailure2
|
|
7
|
-
} from "./tool-
|
|
8
|
-
import"./tool-
|
|
9
|
-
import"./tool-
|
|
10
|
-
import"./tool-
|
|
11
|
-
import"./tool-
|
|
7
|
+
} from "./tool-tvzpg5sb.js";
|
|
8
|
+
import"./tool-v5g5prhw.js";
|
|
9
|
+
import"./tool-w7e6zgf2.js";
|
|
10
|
+
import"./tool-y6zvmahk.js";
|
|
11
|
+
import"./tool-z6adq5yc.js";
|
|
12
12
|
export {
|
|
13
13
|
credentialsFailure2 as credentialsFailure,
|
|
14
14
|
emitFailure2 as emitFailure,
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
failedStepsOf2,
|
|
10
10
|
writeSuccessSummary2,
|
|
11
11
|
runningStepOf2
|
|
12
|
-
} from "./tool-
|
|
13
|
-
import"./tool-
|
|
12
|
+
} from "./tool-jgvm6wk2.js";
|
|
13
|
+
import"./tool-z6adq5yc.js";
|
|
14
14
|
export {
|
|
15
15
|
collapseRowProblems2 as collapseRowProblems,
|
|
16
16
|
failedStepsOf2 as failedStepsOf,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./tool-4g168x1b.js";
|
|
7
7
|
import {
|
|
8
8
|
ScreenLogger
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-z6adq5yc.js";
|
|
10
10
|
import {
|
|
11
11
|
forDisplay,
|
|
12
12
|
forDisplayIfSet
|
|
@@ -3019,7 +3019,7 @@ function createWatchPrompts() {
|
|
|
3019
3019
|
}, { signal });
|
|
3020
3020
|
},
|
|
3021
3021
|
async openUrl(url) {
|
|
3022
|
-
const { getFileSystem } = await import("./index-
|
|
3022
|
+
const { getFileSystem } = await import("./index-xjky2teg.js");
|
|
3023
3023
|
await getFileSystem().utils.open(url);
|
|
3024
3024
|
}
|
|
3025
3025
|
};
|
|
@@ -3112,7 +3112,7 @@ Some optional fields are empty in the seed files but have values in Data Fabric:
|
|
|
3112
3112
|
});
|
|
3113
3113
|
},
|
|
3114
3114
|
async createSdk(options) {
|
|
3115
|
-
const { createSdk } = await import("./createSdk-
|
|
3115
|
+
const { createSdk } = await import("./createSdk-zz8ng3hr.js");
|
|
3116
3116
|
return createSdk({ ...options, requireNames: true });
|
|
3117
3117
|
}
|
|
3118
3118
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2,
|
|
3
3
|
catchError
|
|
4
|
-
} from "./tool-
|
|
5
|
-
import"./tool-
|
|
4
|
+
} from "./tool-z6adq5yc.js";
|
|
5
|
+
import"./tool-m0rrfvdw.js";
|
|
6
6
|
import"./tool-f0jjp878.js";
|
|
7
7
|
import {
|
|
8
8
|
getDeployJob2,
|
|
9
9
|
resumeDeployJob2
|
|
10
|
-
} from "./tool-
|
|
10
|
+
} from "./tool-qxb6sraz.js";
|
|
11
11
|
import {
|
|
12
12
|
getManifest,
|
|
13
13
|
packageDir,
|
|
14
14
|
readSeedContext,
|
|
15
15
|
dataFabricScope
|
|
16
|
-
} from "./tool-
|
|
17
|
-
import"./tool-
|
|
16
|
+
} from "./tool-dhqv2sq2.js";
|
|
17
|
+
import"./tool-w7e6zgf2.js";
|
|
18
18
|
import {
|
|
19
19
|
failure
|
|
20
|
-
} from "./tool-
|
|
20
|
+
} from "./tool-y6zvmahk.js";
|
|
21
21
|
import {
|
|
22
22
|
writeProgress2,
|
|
23
23
|
writeWarning2,
|
|
24
24
|
writeStepSummary2,
|
|
25
25
|
writeSuccessSummary2
|
|
26
|
-
} from "./tool-
|
|
26
|
+
} from "./tool-jgvm6wk2.js";
|
|
27
27
|
import {
|
|
28
28
|
rejectBlankOptions,
|
|
29
29
|
readServiceUrl2,
|
|
30
30
|
credentialsFailure2
|
|
31
|
-
} from "./tool-
|
|
31
|
+
} from "./tool-tvzpg5sb.js";
|
|
32
32
|
import {
|
|
33
33
|
describePauseKind,
|
|
34
34
|
pauseInstructions,
|
|
@@ -46,20 +46,20 @@ import {
|
|
|
46
46
|
prepareWorkspaceWithoutManifest,
|
|
47
47
|
finalizeSucceededJob,
|
|
48
48
|
stoppedWatching
|
|
49
|
-
} from "./tool-
|
|
49
|
+
} from "./tool-ctn6mff4.js";
|
|
50
50
|
import {
|
|
51
51
|
finishedJobConflict2,
|
|
52
52
|
knownJobStatus2,
|
|
53
53
|
toDeployFailure2
|
|
54
|
-
} from "./tool-
|
|
54
|
+
} from "./tool-rj49hfh9.js";
|
|
55
55
|
import {
|
|
56
56
|
withCapacityRetry,
|
|
57
57
|
watchOptionsFrom2,
|
|
58
58
|
watchDeployJob2
|
|
59
|
-
} from "./tool-
|
|
59
|
+
} from "./tool-9g8dj2yf.js";
|
|
60
60
|
import {
|
|
61
61
|
createVssConfig
|
|
62
|
-
} from "./tool-
|
|
62
|
+
} from "./tool-v5g5prhw.js";
|
|
63
63
|
import {
|
|
64
64
|
shellQuote,
|
|
65
65
|
routingFlags
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
extractErrorMessage,
|
|
6
6
|
RESULTS,
|
|
7
7
|
canPrompt
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-z6adq5yc.js";
|
|
9
9
|
import {
|
|
10
10
|
getManifest,
|
|
11
11
|
findFolderPath,
|
|
@@ -40,45 +40,45 @@ import {
|
|
|
40
40
|
buildEntityPlan,
|
|
41
41
|
withOptionalClears,
|
|
42
42
|
readSeedFile
|
|
43
|
-
} from "./tool-
|
|
44
|
-
import"./tool-
|
|
45
|
-
import"./tool-
|
|
43
|
+
} from "./tool-dhqv2sq2.js";
|
|
44
|
+
import"./tool-m0rrfvdw.js";
|
|
45
|
+
import"./tool-w7e6zgf2.js";
|
|
46
46
|
import {
|
|
47
47
|
failure,
|
|
48
48
|
invalidOption
|
|
49
|
-
} from "./tool-
|
|
49
|
+
} from "./tool-y6zvmahk.js";
|
|
50
50
|
import {
|
|
51
51
|
writeProgress2,
|
|
52
52
|
writeWarning2,
|
|
53
53
|
collapseRowProblems2
|
|
54
|
-
} from "./tool-
|
|
54
|
+
} from "./tool-jgvm6wk2.js";
|
|
55
55
|
import {
|
|
56
56
|
downloadSeedTemplates2
|
|
57
|
-
} from "./tool-
|
|
57
|
+
} from "./tool-6wxkp21m.js";
|
|
58
58
|
import {
|
|
59
59
|
isUnsafeSegment,
|
|
60
60
|
withoutControlBytes,
|
|
61
61
|
isDotSegment,
|
|
62
62
|
segmentNameProblem,
|
|
63
63
|
refreshSeedTemplates2
|
|
64
|
-
} from "./tool-
|
|
64
|
+
} from "./tool-xv72q6g0.js";
|
|
65
65
|
import {
|
|
66
66
|
solutionNameFromManifest2,
|
|
67
67
|
resolveInstalledFolder2,
|
|
68
68
|
listDeploymentsOfSolution2
|
|
69
|
-
} from "./tool-
|
|
69
|
+
} from "./tool-h8hqv89a.js";
|
|
70
70
|
import {
|
|
71
71
|
rejectBlankOptions,
|
|
72
72
|
readServiceUrl2
|
|
73
|
-
} from "./tool-
|
|
73
|
+
} from "./tool-tvzpg5sb.js";
|
|
74
74
|
import"./tool-f0jjp878.js";
|
|
75
75
|
import {
|
|
76
76
|
toDeployFailure2
|
|
77
|
-
} from "./tool-
|
|
77
|
+
} from "./tool-rj49hfh9.js";
|
|
78
78
|
import {
|
|
79
79
|
isLoopbackHost,
|
|
80
80
|
createVssConfig
|
|
81
|
-
} from "./tool-
|
|
81
|
+
} from "./tool-v5g5prhw.js";
|
|
82
82
|
import {
|
|
83
83
|
shellQuote,
|
|
84
84
|
routingFlags
|
|
@@ -511,7 +511,7 @@ async function readConnections(config, folderKey, signal) {
|
|
|
511
511
|
createConnectionsConfig,
|
|
512
512
|
folderOverride,
|
|
513
513
|
normalizeConnectionStatus
|
|
514
|
-
} = await import("./index-
|
|
514
|
+
} = await import("./index-hd502hqc.js");
|
|
515
515
|
const api = new ConnectionsApi(await createConnectionsConfig({ tenant: config.tenantName }));
|
|
516
516
|
const scoped = folderOverride(folderKey);
|
|
517
517
|
const connections = [];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
downloadSeedTemplates2
|
|
3
|
-
} from "./tool-
|
|
4
|
-
import"./tool-
|
|
5
|
-
import"./tool-
|
|
3
|
+
} from "./tool-6wxkp21m.js";
|
|
4
|
+
import"./tool-m0rrfvdw.js";
|
|
5
|
+
import"./tool-z6adq5yc.js";
|
|
6
6
|
export {
|
|
7
7
|
downloadSeedTemplates2 as downloadSeedTemplates
|
|
8
8
|
};
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
finishedJobConflict2,
|
|
3
3
|
knownJobStatus2,
|
|
4
4
|
toDeployFailure2
|
|
5
|
-
} from "./tool-
|
|
6
|
-
import"./tool-
|
|
7
|
-
import"./tool-
|
|
5
|
+
} from "./tool-rj49hfh9.js";
|
|
6
|
+
import"./tool-m0rrfvdw.js";
|
|
7
|
+
import"./tool-y6zvmahk.js";
|
|
8
8
|
import"./tool-f0jjp878.js";
|
|
9
|
-
import"./tool-
|
|
9
|
+
import"./tool-z6adq5yc.js";
|
|
10
10
|
export {
|
|
11
11
|
finishedJobConflict2 as finishedJobConflict,
|
|
12
12
|
knownJobStatus2 as knownJobStatus,
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
solutionNameFromManifest2,
|
|
8
8
|
resolveInstalledFolder2,
|
|
9
9
|
listDeploymentsOfSolution2
|
|
10
|
-
} from "./tool-
|
|
11
|
-
import"./tool-
|
|
10
|
+
} from "./tool-h8hqv89a.js";
|
|
11
|
+
import"./tool-z6adq5yc.js";
|
|
12
12
|
export {
|
|
13
13
|
SolutionDeploymentsError2 as SolutionDeploymentsError,
|
|
14
14
|
isCompletedUninstall2 as isCompletedUninstall,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
PollOutcome,
|
|
5
5
|
ErrorDecision,
|
|
6
6
|
pollUntil
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-z6adq5yc.js";
|
|
8
8
|
import {
|
|
9
9
|
isCapacityError,
|
|
10
10
|
isTransientError
|
|
11
|
-
} from "./tool-
|
|
11
|
+
} from "./tool-m0rrfvdw.js";
|
|
12
12
|
import {
|
|
13
13
|
TERMINAL_JOB_STATUSES
|
|
14
14
|
} from "./tool-f0jjp878.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getDeployJobLogs2,
|
|
18
18
|
resumeDeployJob2,
|
|
19
19
|
cancelDeployJob2
|
|
20
|
-
} from "./tool-
|
|
20
|
+
} from "./tool-qxb6sraz.js";
|
|
21
21
|
import {
|
|
22
22
|
logLineText2,
|
|
23
23
|
writeJobLogLine2,
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
writeStepSummary2,
|
|
27
27
|
failedStepsOf2,
|
|
28
28
|
runningStepOf2
|
|
29
|
-
} from "./tool-
|
|
29
|
+
} from "./tool-jgvm6wk2.js";
|
|
30
30
|
import {
|
|
31
31
|
finishedJobConflict2,
|
|
32
32
|
knownJobStatus2
|
|
33
|
-
} from "./tool-
|
|
33
|
+
} from "./tool-rj49hfh9.js";
|
|
34
34
|
import {
|
|
35
35
|
createVssConfig
|
|
36
|
-
} from "./tool-
|
|
36
|
+
} from "./tool-v5g5prhw.js";
|
|
37
37
|
|
|
38
38
|
// src/services/watch/state.ts
|
|
39
39
|
function startDeadline(timeoutMs) {
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
catchError,
|
|
4
4
|
RESULTS,
|
|
5
5
|
canPrompt
|
|
6
|
-
} from "./tool-
|
|
6
|
+
} from "./tool-z6adq5yc.js";
|
|
7
7
|
import {
|
|
8
8
|
failure,
|
|
9
9
|
invalidOption
|
|
10
|
-
} from "./tool-
|
|
10
|
+
} from "./tool-y6zvmahk.js";
|
|
11
11
|
import {
|
|
12
12
|
writeProgress2,
|
|
13
13
|
writeWarning2
|
|
14
|
-
} from "./tool-
|
|
14
|
+
} from "./tool-jgvm6wk2.js";
|
|
15
15
|
import {
|
|
16
16
|
findFolderPath,
|
|
17
17
|
isPreservedWorkspaceFile,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
isTenantLevel,
|
|
27
27
|
readStrategy,
|
|
28
28
|
readSeedFile
|
|
29
|
-
} from "./tool-
|
|
29
|
+
} from "./tool-dhqv2sq2.js";
|
|
30
30
|
import {
|
|
31
31
|
shellQuote,
|
|
32
32
|
routingFlags
|
|
@@ -143,8 +143,8 @@ async function prepareSeedWorkspace(input, installedFolderKey, folderUnknown = f
|
|
|
143
143
|
async function writeTemplates(input, target) {
|
|
144
144
|
const { job, config, options } = input;
|
|
145
145
|
const { retry } = target;
|
|
146
|
-
const { downloadSeedTemplates } = await import("./seed-templates-
|
|
147
|
-
const { refreshSeedTemplates } = await import("./templates-
|
|
146
|
+
const { downloadSeedTemplates } = await import("./seed-templates-411n5r54.js");
|
|
147
|
+
const { refreshSeedTemplates } = await import("./templates-y5ckedpg.js");
|
|
148
148
|
const [downloadError, download] = await catchError(downloadSeedTemplates(config, job.packageName, job.packageVersion, options.signal));
|
|
149
149
|
if (downloadError || !download) {
|
|
150
150
|
writeWarning2(`Could not download the seed templates: ${downloadError?.message ?? "unknown error"}. Try again with: ${retry}`);
|
|
@@ -220,7 +220,7 @@ async function linkedOutWorkspace(packageName) {
|
|
|
220
220
|
}
|
|
221
221
|
async function recordDeployContext(input, installedFolderKey, workspaceDir, command) {
|
|
222
222
|
const { job, config } = input;
|
|
223
|
-
const { recordSeedContext } = await import("./seed-service-
|
|
223
|
+
const { recordSeedContext } = await import("./seed-service-v4b43ecq.js");
|
|
224
224
|
const [contextError] = await catchError(recordSeedContext({
|
|
225
225
|
packageName: job.packageName,
|
|
226
226
|
packageVersion: job.packageVersion,
|
|
@@ -253,7 +253,7 @@ async function resolveInstalledFolder(input, tenantLevel = false) {
|
|
|
253
253
|
listDeploymentsOfSolution,
|
|
254
254
|
resolveInstalledFolder: resolveFromDeployments,
|
|
255
255
|
solutionNameFromManifest
|
|
256
|
-
} = await import("./solution-deployments-
|
|
256
|
+
} = await import("./solution-deployments-xgcq4qpy.js");
|
|
257
257
|
const solutionName = solutionNameFromManifest(input.manifest);
|
|
258
258
|
if (!solutionName)
|
|
259
259
|
return;
|
|
@@ -320,7 +320,7 @@ async function runOfferedSeed(input, folderKey, workspaceDir, hint, templatesAre
|
|
|
320
320
|
const { job, options, deps } = input;
|
|
321
321
|
const yes = options.seed === true ? options.yes : undefined;
|
|
322
322
|
const retry = seedCommandFor(job, folderKey, options) + (templatesAreCurrent ? " --refresh" : "") + (yes ? " --yes" : "");
|
|
323
|
-
const { runSeed } = await import("./seed-service-
|
|
323
|
+
const { runSeed } = await import("./seed-service-v4b43ecq.js");
|
|
324
324
|
const [seedError, seeded] = await catchError(runSeed({
|
|
325
325
|
packageName: job.packageName,
|
|
326
326
|
packageVersion: job.packageVersion,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
encodeSegment,
|
|
7
7
|
scopeQuery,
|
|
8
8
|
vssRequestParsed
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-m0rrfvdw.js";
|
|
10
10
|
import {
|
|
11
11
|
getFileSystem2,
|
|
12
12
|
catchError,
|
|
13
13
|
extractErrorMessage,
|
|
14
14
|
canPrompt
|
|
15
|
-
} from "./tool-
|
|
15
|
+
} from "./tool-z6adq5yc.js";
|
|
16
16
|
import {
|
|
17
17
|
writeWarning2
|
|
18
|
-
} from "./tool-
|
|
18
|
+
} from "./tool-jgvm6wk2.js";
|
|
19
19
|
import {
|
|
20
20
|
validateServiceUrl
|
|
21
|
-
} from "./tool-
|
|
21
|
+
} from "./tool-v5g5prhw.js";
|
|
22
22
|
import {
|
|
23
23
|
string,
|
|
24
24
|
number,
|
|
@@ -972,7 +972,7 @@ async function orchestratorApi(config, pick, folderKey) {
|
|
|
972
972
|
if (!config.organizationId) {
|
|
973
973
|
throw new Error("The login carries no organization id, which the Orchestrator route needs — " + "run 'uip login' again.");
|
|
974
974
|
}
|
|
975
|
-
const sdk = await import("./index-
|
|
975
|
+
const sdk = await import("./index-3mc1rjnn.js");
|
|
976
976
|
return sdk.createApiClient(pick(sdk), {
|
|
977
977
|
tenant: config.tenantName,
|
|
978
978
|
...folderKey ? { folderKey } : {}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
canPrompt,
|
|
11
11
|
createHiddenDeprecatedTenantOption,
|
|
12
12
|
parseBoundedInt
|
|
13
|
-
} from "./tool-
|
|
13
|
+
} from "./tool-z6adq5yc.js";
|
|
14
14
|
import {
|
|
15
15
|
dist_default,
|
|
16
16
|
require_cli_width,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./tool-4g168x1b.js";
|
|
20
20
|
import {
|
|
21
21
|
createSdk2
|
|
22
|
-
} from "./tool-
|
|
22
|
+
} from "./tool-z1yj9ae3.js";
|
|
23
23
|
import {
|
|
24
24
|
string,
|
|
25
25
|
number,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./tool-f0jjp878.js";
|
|
33
33
|
import {
|
|
34
34
|
failure
|
|
35
|
-
} from "./tool-
|
|
35
|
+
} from "./tool-y6zvmahk.js";
|
|
36
36
|
import {
|
|
37
37
|
shellQuote,
|
|
38
38
|
routingFlags
|
|
@@ -171,7 +171,7 @@ var package_default = {
|
|
|
171
171
|
name: "@uipath/vertical-solutions-tool",
|
|
172
172
|
author: "UiPath",
|
|
173
173
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
174
|
-
version: "1.206.1-preview.
|
|
174
|
+
version: "1.206.1-preview.323",
|
|
175
175
|
description: "Scaffold, generate and deploy Vertical Solution projects.",
|
|
176
176
|
private: false,
|
|
177
177
|
repository: {
|
|
@@ -5447,7 +5447,7 @@ var CANCEL_EXAMPLES = [
|
|
|
5447
5447
|
}
|
|
5448
5448
|
];
|
|
5449
5449
|
var cancel = async (jobId, options) => {
|
|
5450
|
-
const { emitFailure, exitIfCallerAborted, resolveConfigOrFail } = await import("./job-commands-
|
|
5450
|
+
const { emitFailure, exitIfCallerAborted, resolveConfigOrFail } = await import("./job-commands-3b304pht.js");
|
|
5451
5451
|
if (options.yes !== true) {
|
|
5452
5452
|
emitFailure(failure("missing-option", `Confirmation is required to cancel deploy job ${forDisplay(jobId)} — steps already applied are not rolled back.`, "Re-run with --yes to confirm.", {
|
|
5453
5453
|
result: RESULTS.ValidationError,
|
|
@@ -5458,12 +5458,12 @@ var cancel = async (jobId, options) => {
|
|
|
5458
5458
|
const config = await resolveConfigOrFail(options);
|
|
5459
5459
|
if (!config)
|
|
5460
5460
|
return;
|
|
5461
|
-
const { requestCancel } = await import("./watch-job-
|
|
5461
|
+
const { requestCancel } = await import("./watch-job-badyg172.js");
|
|
5462
5462
|
const [error, job] = await catchError(requestCancel(config, jobId, processContext.pollSignal));
|
|
5463
5463
|
if (error || !job) {
|
|
5464
5464
|
if (exitIfCallerAborted(error))
|
|
5465
5465
|
return;
|
|
5466
|
-
const { finishedJobConflict, knownJobStatus, toDeployFailure } = await import("./service-errors-
|
|
5466
|
+
const { finishedJobConflict, knownJobStatus, toDeployFailure } = await import("./service-errors-8fk3r8qk.js");
|
|
5467
5467
|
const finished = finishedJobConflict(error, "cancel");
|
|
5468
5468
|
if (finished) {
|
|
5469
5469
|
const [settleError, settled] = await catchError(settleConflict(config, jobId, knownJobStatus(finished.status), options));
|
|
@@ -5511,7 +5511,7 @@ var cancel = async (jobId, options) => {
|
|
|
5511
5511
|
async function settledStatus(config, jobId, named) {
|
|
5512
5512
|
if (named && TERMINAL_JOB_STATUSES.has(named))
|
|
5513
5513
|
return named;
|
|
5514
|
-
const { getDeployJob } = await import("./deploy-jobs-
|
|
5514
|
+
const { getDeployJob } = await import("./deploy-jobs-t41k8m9r.js");
|
|
5515
5515
|
const [error, job] = await catchError(() => getDeployJob(config, jobId, processContext.pollSignal));
|
|
5516
5516
|
if (error && processContext.pollSignal?.aborted === true) {
|
|
5517
5517
|
throw error;
|
|
@@ -5569,9 +5569,9 @@ var RESUME_EXAMPLES = [
|
|
|
5569
5569
|
}
|
|
5570
5570
|
];
|
|
5571
5571
|
var resume = async (jobId, options) => {
|
|
5572
|
-
const { runResume } = await import("./resume-service-
|
|
5573
|
-
const { confirmSeed, createWatchPrompts, seedPrompts } = await import("./prompts-
|
|
5574
|
-
const { emitFailure } = await import("./job-commands-
|
|
5572
|
+
const { runResume } = await import("./resume-service-bcq3zkm9.js");
|
|
5573
|
+
const { confirmSeed, createWatchPrompts, seedPrompts } = await import("./prompts-ja0ek67c.js");
|
|
5574
|
+
const { emitFailure } = await import("./job-commands-3b304pht.js");
|
|
5575
5575
|
const result = await runResume(jobId, { ...options, signal: processContext.pollSignal }, { watch: createWatchPrompts(), seed: seedPrompts, confirmSeed });
|
|
5576
5576
|
if (!result.ok) {
|
|
5577
5577
|
emitFailure(result);
|
|
@@ -5656,13 +5656,13 @@ var SEED_EXAMPLES = [
|
|
|
5656
5656
|
}
|
|
5657
5657
|
];
|
|
5658
5658
|
var seed = async (options) => {
|
|
5659
|
-
const { runSeed } = await import("./seed-service-
|
|
5660
|
-
const { emitFailure, exitIfCallerAborted } = await import("./job-commands-
|
|
5661
|
-
const { seedPrompts } = await import("./prompts-
|
|
5659
|
+
const { runSeed } = await import("./seed-service-v4b43ecq.js");
|
|
5660
|
+
const { emitFailure, exitIfCallerAborted } = await import("./job-commands-3b304pht.js");
|
|
5661
|
+
const { seedPrompts } = await import("./prompts-ja0ek67c.js");
|
|
5662
5662
|
const [error, result] = await catchError(runSeed({ ...options, signal: processContext.pollSignal }, seedPrompts));
|
|
5663
5663
|
const stopped = error ?? (result?.ok === false ? result : undefined);
|
|
5664
5664
|
if (exitIfCallerAborted(stopped)) {
|
|
5665
|
-
const { writeWarning } = await import("./job-output-
|
|
5665
|
+
const { writeWarning } = await import("./job-output-y70eywm0.js");
|
|
5666
5666
|
writeWarning("Seeding stopped (Ctrl-C). Run the same command again to finish.");
|
|
5667
5667
|
return;
|
|
5668
5668
|
}
|
|
@@ -5719,17 +5719,17 @@ var STATUS_EXAMPLES = [
|
|
|
5719
5719
|
}
|
|
5720
5720
|
];
|
|
5721
5721
|
var status = async (jobId, options) => {
|
|
5722
|
-
const { emitFailure, exitIfCallerAborted, resolveConfigOrFail } = await import("./job-commands-
|
|
5722
|
+
const { emitFailure, exitIfCallerAborted, resolveConfigOrFail } = await import("./job-commands-3b304pht.js");
|
|
5723
5723
|
const config = await resolveConfigOrFail(options);
|
|
5724
5724
|
if (!config)
|
|
5725
5725
|
return;
|
|
5726
|
-
const { getDeployJob } = await import("./deploy-jobs-
|
|
5727
|
-
const { inExecutionOrder } = await import("./job-output-
|
|
5726
|
+
const { getDeployJob } = await import("./deploy-jobs-t41k8m9r.js");
|
|
5727
|
+
const { inExecutionOrder } = await import("./job-output-y70eywm0.js");
|
|
5728
5728
|
const [error, job] = await catchError(() => getDeployJob(config, jobId, processContext.pollSignal));
|
|
5729
5729
|
if (error || !job) {
|
|
5730
5730
|
if (exitIfCallerAborted(error))
|
|
5731
5731
|
return;
|
|
5732
|
-
const { toDeployFailure } = await import("./service-errors-
|
|
5732
|
+
const { toDeployFailure } = await import("./service-errors-8fk3r8qk.js");
|
|
5733
5733
|
const failure = toDeployFailure(error, `Could not read job ${jobId}`, {
|
|
5734
5734
|
notFound: "job",
|
|
5735
5735
|
jobId,
|
|
@@ -5837,7 +5837,7 @@ var DEPLOY_EXAMPLES = [
|
|
|
5837
5837
|
}
|
|
5838
5838
|
];
|
|
5839
5839
|
var deploy = async (options) => {
|
|
5840
|
-
const { runDeploy } = await import("./deploy-service-
|
|
5840
|
+
const { runDeploy } = await import("./deploy-service-6vw4a2k6.js");
|
|
5841
5841
|
const {
|
|
5842
5842
|
configurationPrompts,
|
|
5843
5843
|
confirmProceed,
|
|
@@ -5845,7 +5845,7 @@ var deploy = async (options) => {
|
|
|
5845
5845
|
createWatchPrompts,
|
|
5846
5846
|
seedPrompts,
|
|
5847
5847
|
targetPrompts
|
|
5848
|
-
} = await import("./prompts-
|
|
5848
|
+
} = await import("./prompts-ja0ek67c.js");
|
|
5849
5849
|
const result = await runDeploy({ ...options, signal: processContext.pollSignal }, {
|
|
5850
5850
|
target: targetPrompts,
|
|
5851
5851
|
configuration: configurationPrompts,
|
|
@@ -5855,7 +5855,7 @@ var deploy = async (options) => {
|
|
|
5855
5855
|
confirmSeed
|
|
5856
5856
|
});
|
|
5857
5857
|
if (!result.ok) {
|
|
5858
|
-
const { emitFailure } = await import("./job-commands-
|
|
5858
|
+
const { emitFailure } = await import("./job-commands-3b304pht.js");
|
|
5859
5859
|
emitFailure(result);
|
|
5860
5860
|
return;
|
|
5861
5861
|
}
|
|
@@ -6072,4 +6072,4 @@ var registerCommands2 = async (program) => {
|
|
|
6072
6072
|
|
|
6073
6073
|
export { metadata2, registerCommands2 };
|
|
6074
6074
|
|
|
6075
|
-
//# debugId=
|
|
6075
|
+
//# debugId=98AB7E3CF68E82FA64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError,
|
|
3
3
|
extractErrorDetails
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-z6adq5yc.js";
|
|
5
5
|
|
|
6
6
|
// src/api/solution-deployments.ts
|
|
7
7
|
class SolutionDeploymentsError2 extends Error {
|
|
@@ -63,7 +63,7 @@ var DEPLOYMENT_PAGE_SIZE = 100;
|
|
|
63
63
|
var MAX_DEPLOYMENT_PAGES = 100;
|
|
64
64
|
async function listSolutionDeployments(config, signal, packageName) {
|
|
65
65
|
const auth = await solutionAuth(config);
|
|
66
|
-
const { searchDeployments } = await import("./deployment-search-
|
|
66
|
+
const { searchDeployments } = await import("./deployment-search-knvby8m3.js");
|
|
67
67
|
const [error, raw] = await catchError(searchDeployments(auth, {
|
|
68
68
|
orderByColumn: "startTime",
|
|
69
69
|
orderByDirection: "Descending",
|
|
@@ -79,7 +79,7 @@ async function listSolutionDeployments(config, signal, packageName) {
|
|
|
79
79
|
var NAMED_DEPLOYMENT_PAGE_SIZE = 50;
|
|
80
80
|
async function listDeploymentsNamed2(config, name, signal) {
|
|
81
81
|
const auth = await solutionAuth(config);
|
|
82
|
-
const { searchDeploymentsPage } = await import("./deployment-search-
|
|
82
|
+
const { searchDeploymentsPage } = await import("./deployment-search-knvby8m3.js");
|
|
83
83
|
const wanted = name.toLowerCase();
|
|
84
84
|
const readAll = async (filter) => {
|
|
85
85
|
const rows = [];
|
|
@@ -113,14 +113,14 @@ async function listDeploymentsNamed2(config, name, signal) {
|
|
|
113
113
|
}
|
|
114
114
|
async function solutionAuth(config) {
|
|
115
115
|
const tenantName = requireSolutionRouteContext(config);
|
|
116
|
-
const { getSolutionAuthContext } = await import("./solution-auth-
|
|
116
|
+
const { getSolutionAuthContext } = await import("./solution-auth-gj5a00qt.js");
|
|
117
117
|
return getSolutionAuthContext({ tenant: tenantName });
|
|
118
118
|
}
|
|
119
119
|
async function toSolutionDeploymentsError(error) {
|
|
120
120
|
const {
|
|
121
121
|
DeploymentSearchNeedsUserSessionError,
|
|
122
122
|
DeploymentSearchTruncatedError
|
|
123
|
-
} = await import("./deployment-search-
|
|
123
|
+
} = await import("./deployment-search-knvby8m3.js");
|
|
124
124
|
if (error instanceof DeploymentSearchNeedsUserSessionError) {
|
|
125
125
|
return new SolutionDeploymentsError2("Could not list solution deployments: this tenant's Automation Solutions search reads user logins only, and this login is an application.", "permission_denied", { refusal: "needs-user-session" });
|
|
126
126
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RESULTS
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-z6adq5yc.js";
|
|
4
4
|
import {
|
|
5
5
|
string,
|
|
6
6
|
object,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
errorCodeOf,
|
|
13
13
|
requiredVersionOf,
|
|
14
14
|
VssInputError
|
|
15
|
-
} from "./tool-
|
|
15
|
+
} from "./tool-m0rrfvdw.js";
|
|
16
16
|
import {
|
|
17
17
|
failure
|
|
18
|
-
} from "./tool-
|
|
18
|
+
} from "./tool-y6zvmahk.js";
|
|
19
19
|
import {
|
|
20
20
|
shellQuote,
|
|
21
21
|
checkBeforeResubmitting,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
RESULTS,
|
|
4
4
|
OutputFormatter,
|
|
5
5
|
processContext
|
|
6
|
-
} from "./tool-
|
|
6
|
+
} from "./tool-z6adq5yc.js";
|
|
7
7
|
import {
|
|
8
8
|
failure,
|
|
9
9
|
invalidOption
|
|
10
|
-
} from "./tool-
|
|
10
|
+
} from "./tool-y6zvmahk.js";
|
|
11
11
|
import {
|
|
12
12
|
validateServiceUrl,
|
|
13
13
|
VssConfigError,
|
|
14
14
|
createVssConfig
|
|
15
|
-
} from "./tool-
|
|
15
|
+
} from "./tool-v5g5prhw.js";
|
|
16
16
|
|
|
17
17
|
// src/services/blank-options.ts
|
|
18
18
|
var IDENTIFYING_FLAGS = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync,
|
|
3
3
|
getAuthContext
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-w7e6zgf2.js";
|
|
5
5
|
import {
|
|
6
6
|
catchError
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-z6adq5yc.js";
|
|
8
8
|
|
|
9
9
|
// src/api/vss-config.ts
|
|
10
10
|
var API_PREFIX = "deployment-manager";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-z6adq5yc.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
6
|
} from "./tool-epsr41wx.js";
|
|
@@ -36,6 +36,8 @@ function settlePromiseLike(thenable) {
|
|
|
36
36
|
// ../auth/src/constants.ts
|
|
37
37
|
var UIPATH_HOME_DIR = ".uipath";
|
|
38
38
|
var AUTH_FILENAME = ".auth";
|
|
39
|
+
var AUTH_FILE_MODE = 384;
|
|
40
|
+
var AUTH_DIR_MODE = 448;
|
|
39
41
|
var DEFAULT_BASE_URL = "https://cloud.uipath.com";
|
|
40
42
|
var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
41
43
|
|
|
@@ -859,6 +861,38 @@ var loadEnvFileAsync = async ({ envPath }) => {
|
|
|
859
861
|
}
|
|
860
862
|
return parseEnvContent(content);
|
|
861
863
|
};
|
|
864
|
+
var findAuthHomeDir = (fs, dir) => {
|
|
865
|
+
let current = dir;
|
|
866
|
+
for (;; ) {
|
|
867
|
+
if (fs.path.basename(current) === UIPATH_HOME_DIR)
|
|
868
|
+
return current;
|
|
869
|
+
const parent = fs.path.dirname(current);
|
|
870
|
+
if (parent === current)
|
|
871
|
+
return;
|
|
872
|
+
current = parent;
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
var TEMP_FILE_ATTEMPTS = 5;
|
|
876
|
+
var isFileExists = (error) => error instanceof Error && error.code === "EEXIST";
|
|
877
|
+
var writeTempFile = async (fs, targetPath, content) => {
|
|
878
|
+
for (let attempt = 1;; attempt++) {
|
|
879
|
+
const tempPath = `${targetPath}.${crypto.randomUUID()}.tmp`;
|
|
880
|
+
try {
|
|
881
|
+
await fs.writeFile(tempPath, content, {
|
|
882
|
+
mode: AUTH_FILE_MODE,
|
|
883
|
+
exclusive: true
|
|
884
|
+
});
|
|
885
|
+
return tempPath;
|
|
886
|
+
} catch (error) {
|
|
887
|
+
if (!isFileExists(error)) {
|
|
888
|
+
await fs.rm(tempPath).catch(() => {});
|
|
889
|
+
throw error;
|
|
890
|
+
}
|
|
891
|
+
if (attempt === TEMP_FILE_ATTEMPTS)
|
|
892
|
+
throw error;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
};
|
|
862
896
|
var saveEnvFileAsync = async ({
|
|
863
897
|
envPath,
|
|
864
898
|
data,
|
|
@@ -886,10 +920,18 @@ var saveEnvFileAsync = async ({
|
|
|
886
920
|
`)}
|
|
887
921
|
`;
|
|
888
922
|
const dir = fs.path.dirname(absolutePath);
|
|
889
|
-
await fs.mkdir(dir);
|
|
890
|
-
const
|
|
891
|
-
|
|
892
|
-
|
|
923
|
+
await fs.mkdir(dir, { mode: AUTH_DIR_MODE });
|
|
924
|
+
const authHomeDir = findAuthHomeDir(fs, dir);
|
|
925
|
+
if (authHomeDir !== undefined) {
|
|
926
|
+
await fs.chmod?.(authHomeDir, AUTH_DIR_MODE);
|
|
927
|
+
}
|
|
928
|
+
const tempPath = await writeTempFile(fs, absolutePath, content);
|
|
929
|
+
try {
|
|
930
|
+
await fs.rename(tempPath, absolutePath);
|
|
931
|
+
} catch (error) {
|
|
932
|
+
await fs.rm(tempPath).catch(() => {});
|
|
933
|
+
throw error;
|
|
934
|
+
}
|
|
893
935
|
};
|
|
894
936
|
|
|
895
937
|
// ../auth/src/loginStatus.ts
|
|
@@ -1486,4 +1528,4 @@ var TENANT_SELECTION_CODES = new Set([
|
|
|
1486
1528
|
]);
|
|
1487
1529
|
export { resolveSessionIdentity, getLoginStatusAsync, getAuthContext };
|
|
1488
1530
|
|
|
1489
|
-
//# debugId=
|
|
1531
|
+
//# debugId=CB7A97A31265160C64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2,
|
|
3
3
|
catchError
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-z6adq5yc.js";
|
|
5
5
|
import {
|
|
6
6
|
SEED_ROOT_DIR,
|
|
7
7
|
tempPathFor,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isDanglingLink,
|
|
18
18
|
insideSeedRoot,
|
|
19
19
|
acquireSeedWorkspaceLock
|
|
20
|
-
} from "./tool-
|
|
20
|
+
} from "./tool-dhqv2sq2.js";
|
|
21
21
|
|
|
22
22
|
// src/services/seed/template-apply.ts
|
|
23
23
|
import { randomUUID } from "node:crypto";
|
|
@@ -2127,12 +2127,26 @@ class NodeFileSystem {
|
|
|
2127
2127
|
throw error;
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
|
-
async writeFile(filePath, data) {
|
|
2130
|
+
async writeFile(filePath, data, options) {
|
|
2131
2131
|
const dir = path.dirname(filePath);
|
|
2132
2132
|
if (dir) {
|
|
2133
2133
|
await fs.mkdir(dir, { recursive: true });
|
|
2134
2134
|
}
|
|
2135
|
-
|
|
2135
|
+
if (options?.mode === undefined || process.platform === "win32") {
|
|
2136
|
+
if (options?.exclusive) {
|
|
2137
|
+
await fs.writeFile(filePath, data, { flag: "wx" });
|
|
2138
|
+
} else {
|
|
2139
|
+
await fs.writeFile(filePath, data);
|
|
2140
|
+
}
|
|
2141
|
+
return;
|
|
2142
|
+
}
|
|
2143
|
+
const handle = await fs.open(filePath, options.exclusive ? "wx" : "w", options.mode);
|
|
2144
|
+
try {
|
|
2145
|
+
await handle.chmod(options.mode);
|
|
2146
|
+
await handle.writeFile(data);
|
|
2147
|
+
} finally {
|
|
2148
|
+
await handle.close();
|
|
2149
|
+
}
|
|
2136
2150
|
}
|
|
2137
2151
|
async appendFile(filePath, data) {
|
|
2138
2152
|
const dir = path.dirname(filePath);
|
|
@@ -2167,7 +2181,8 @@ class NodeFileSystem {
|
|
|
2167
2181
|
isDirectory: () => stats.isDirectory(),
|
|
2168
2182
|
size: stats.size,
|
|
2169
2183
|
mtimeMs: stats.mtimeMs,
|
|
2170
|
-
ctimeMs: stats.ctimeMs
|
|
2184
|
+
ctimeMs: stats.ctimeMs,
|
|
2185
|
+
mode: stats.mode
|
|
2171
2186
|
};
|
|
2172
2187
|
} catch (error) {
|
|
2173
2188
|
if (this.isEnoent(error))
|
|
@@ -2178,8 +2193,13 @@ class NodeFileSystem {
|
|
|
2178
2193
|
async exists(filePath) {
|
|
2179
2194
|
return existsSync(filePath);
|
|
2180
2195
|
}
|
|
2181
|
-
async mkdir(dirPath) {
|
|
2182
|
-
await fs.mkdir(dirPath, { recursive: true });
|
|
2196
|
+
async mkdir(dirPath, options) {
|
|
2197
|
+
await fs.mkdir(dirPath, { recursive: true, mode: options?.mode });
|
|
2198
|
+
}
|
|
2199
|
+
async chmod(targetPath, mode) {
|
|
2200
|
+
if (process.platform === "win32")
|
|
2201
|
+
return;
|
|
2202
|
+
await fs.chmod(targetPath, mode);
|
|
2183
2203
|
}
|
|
2184
2204
|
async acquireLock(lockPath) {
|
|
2185
2205
|
const canonicalPath = await this.canonicalizeLockTarget(lockPath);
|
|
@@ -7446,4 +7466,4 @@ var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
|
7446
7466
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
7447
7467
|
export { getFileSystem2, catchError, httpStatusOf, extractErrorDetails, extractErrorMessage, RESULTS, InvalidArgumentError, Command, Option, getOutputSink, logger, getOutputFormat, getOutputFormatExplicit, EXIT_CODES, OutputFormatter, processContext, resolveEnvReference, canPrompt, mimeTypeForFileName, createHiddenDeprecatedTenantOption, parseBoundedInt, PollOutcome, ErrorDecision, pollUntil, ScreenLogger, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader };
|
|
7448
7468
|
|
|
7449
|
-
//# debugId=
|
|
7469
|
+
//# debugId=EEBA2687A2B1747264756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata2,
|
|
3
3
|
registerCommands2
|
|
4
|
-
} from "./tool-
|
|
5
|
-
import"./tool-
|
|
4
|
+
} from "./tool-e752xczf.js";
|
|
5
|
+
import"./tool-z1yj9ae3.js";
|
|
6
6
|
import"./tool-4g168x1b.js";
|
|
7
|
-
import"./tool-
|
|
8
|
-
import"./tool-
|
|
7
|
+
import"./tool-w7e6zgf2.js";
|
|
8
|
+
import"./tool-y6zvmahk.js";
|
|
9
9
|
import"./tool-f0jjp878.js";
|
|
10
|
-
import"./tool-
|
|
10
|
+
import"./tool-z6adq5yc.js";
|
|
11
11
|
export {
|
|
12
12
|
metadata2 as metadata,
|
|
13
13
|
registerCommands2 as registerCommands
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
watchOptionsFrom2,
|
|
3
3
|
watchDeployJob2,
|
|
4
4
|
requestCancel2
|
|
5
|
-
} from "./tool-
|
|
6
|
-
import"./tool-
|
|
7
|
-
import"./tool-
|
|
8
|
-
import"./tool-
|
|
9
|
-
import"./tool-
|
|
10
|
-
import"./tool-
|
|
11
|
-
import"./tool-
|
|
12
|
-
import"./tool-
|
|
5
|
+
} from "./tool-9g8dj2yf.js";
|
|
6
|
+
import"./tool-jgvm6wk2.js";
|
|
7
|
+
import"./tool-v5g5prhw.js";
|
|
8
|
+
import"./tool-rj49hfh9.js";
|
|
9
|
+
import"./tool-qxb6sraz.js";
|
|
10
|
+
import"./tool-m0rrfvdw.js";
|
|
11
|
+
import"./tool-w7e6zgf2.js";
|
|
12
|
+
import"./tool-y6zvmahk.js";
|
|
13
13
|
import"./tool-f0jjp878.js";
|
|
14
|
-
import"./tool-
|
|
14
|
+
import"./tool-z6adq5yc.js";
|
|
15
15
|
export {
|
|
16
16
|
requestCancel2 as requestCancel,
|
|
17
17
|
watchDeployJob2 as watchDeployJob,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/vertical-solutions-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.206.1-preview.
|
|
5
|
+
"version": "1.206.1-preview.323",
|
|
6
6
|
"description": "Scaffold, generate and deploy Vertical Solution projects.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"files": [
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a752d8a8d78de138e3be0a19642620fec7893d99"
|
|
39
39
|
}
|