@uipath/case-tool 1.206.0-preview.312 → 1.206.0-preview.354
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/THIRD-PARTY-NOTICES.md +3 -3
- 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-xqjkdngn.js} +2 -2
- package/dist/{case-debug-studio-web-service-3nkmpj9x.js → case-debug-studio-web-service-pfd4r0xw.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-qgbkschr.js} +9 -9
- package/dist/{connector-enrichment-service-v2zdcf35.js → connector-enrichment-service-xfdmytyx.js} +20 -20
- package/dist/{connector-lookup-service-thnawy9g.js → connector-lookup-service-t10cn6f4.js} +7 -7
- package/dist/{debug-service-yj8s783q.js → debug-service-c4txfjgg.js} +3 -3
- package/dist/{en-LAVDF7IQ-yzy20n6d.js → en-LAVDF7IQ-vsp9qhfq.js} +1 -1
- package/dist/{en-X6T4SP2Y-xm47mf18.js → en-X6T4SP2Y-4yqsas9z.js} +1 -1
- package/dist/{enrichment-service-bv5m6x2q.js → enrichment-service-xbpww8cc.js} +7 -7
- 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-z3zxqfbr.js → index-bpw47wpw.js} +10 -10
- package/dist/index-h7z87rh1.js +35 -0
- package/dist/{index-d3k35146.js → index-qvcx9ex3.js} +4 -4
- 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/{known-types-gak9by1w.js → known-types-ncvpw1gq.js} +2 -2
- 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-hvqrxbxx.js} +11 -11
- 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-5t4n22fb.js → packager-tool-0ffnk0m7.js} +59 -59
- 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-pjgxayfj.js → packager-tool-34jqa1yr.js} +5 -5
- 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-pat47jzk.js → packager-tool-6px46qnn.js} +8 -8
- 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-zq3e5v08.js → packager-tool-b00bx4t4.js} +1 -1
- package/dist/{packager-tool-gfdymz2g.js → packager-tool-b0t24ne0.js} +8 -8
- package/dist/{packager-tool-17b466mr.js → packager-tool-bszp8fak.js} +807 -717
- 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-ffp1t60e.js → packager-tool-e3wa5dyb.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-ta8e5war.js → packager-tool-hbk1j92p.js} +3 -3
- 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-by1b95d3.js → packager-tool-p8hvytsm.js} +3 -3
- package/dist/{packager-tool-q8kvef5x.js → packager-tool-qtcjzf6g.js} +2 -2
- package/dist/{packager-tool-8zck9vk7.js → packager-tool-yfzc8s9f.js} +1 -1
- package/dist/{packager-tool-v11fx4dk.js → packager-tool-yx2mw71z.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-dvz9qcae.js} +19 -19
- 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-m9b7wtjv.js} +4 -4
- package/dist/solution-auth-bmrmdyxf.js +11 -0
- package/dist/{solution-discovery-9bw0njy3.js → solution-discovery-2159x5x2.js} +4 -4
- 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-av14dje8.js} +20 -20
- package/dist/{trigger-entry-point-id-rsbezjrf.js → trigger-entry-point-id-s3e49se7.js} +1 -1
- package/package.json +2 -2
- package/dist/index-92tnyqhj.js +0 -35
- 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
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-2fcdfxh4.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2,
|
|
6
6
|
extractErrorDetails,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
mapPackageMetadataOptions,
|
|
19
19
|
reportFailure,
|
|
20
20
|
ScreenLogger
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveCaseSchemaWriteVersion2
|
|
24
24
|
} from "./packager-tool-p5gs9xqy.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
registerSharedInstanceCommands,
|
|
28
28
|
registerSharedProcessCommands,
|
|
29
29
|
registerSharedProcessesCommands
|
|
30
|
-
} from "./packager-tool-
|
|
30
|
+
} from "./packager-tool-92bc9ze8.js";
|
|
31
31
|
import {
|
|
32
32
|
RESOURCE_TYPES,
|
|
33
33
|
TYPECACHE_INDEX_TYPES,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
backendFailure,
|
|
71
71
|
jobLookupFailure,
|
|
72
72
|
addJobTracesOptions
|
|
73
|
-
} from "./packager-tool-
|
|
73
|
+
} from "./packager-tool-64ff8awv.js";
|
|
74
74
|
// package.json
|
|
75
75
|
var package_default = {
|
|
76
76
|
name: "@uipath/case-tool",
|
|
77
77
|
author: "UiPath",
|
|
78
78
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
79
|
-
version: "1.206.0-preview.
|
|
79
|
+
version: "1.206.0-preview.354",
|
|
80
80
|
description: "Manage Case Management instances, processes, and incidents.",
|
|
81
81
|
private: false,
|
|
82
82
|
repository: {
|
|
@@ -166,7 +166,7 @@ invisible to 'uip solution resources refresh'.
|
|
|
166
166
|
Subcommands:
|
|
167
167
|
sync Write 'bindings_v2.json' next to a case plan.`);
|
|
168
168
|
bindings.command("sync").description("Derive bindings_v2.json from a case plan and write it into the same directory.").argument("<file>", "Path to the case plan JSON file. The output 'bindings_v2.json' is written next to it, overwriting any existing file.").examples(CASE_BINDINGS_SYNC_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
169
|
-
const { syncCaseBindings } = await import("./case-bindings-service-
|
|
169
|
+
const { syncCaseBindings } = await import("./case-bindings-service-dvq46kp8.js");
|
|
170
170
|
const [error, result] = await catchError2(syncCaseBindings(file));
|
|
171
171
|
if (error) {
|
|
172
172
|
OutputFormatter.error({
|
|
@@ -770,7 +770,7 @@ var CASE_DEBUG_EXAMPLES = [
|
|
|
770
770
|
];
|
|
771
771
|
function registerDebugCommand(program) {
|
|
772
772
|
program.command("debug").description("Debug a case project by uploading to Studio Web and running a debug session").argument("<project-path>", "Path to the case project directory (must contain project.uiproj)").option("--folder-id <id>", "Orchestrator folder ID (OrganizationUnitId). Auto-detected if not provided.").option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(CASE_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
|
|
773
|
-
const { getAuthContext } = await import("./index-
|
|
773
|
+
const { getAuthContext } = await import("./index-at94mehx.js");
|
|
774
774
|
const [authError, auth] = await catchError2(getAuthContext({
|
|
775
775
|
ensureTokenValidityMinutes: options.loginValidity,
|
|
776
776
|
requireOrganizationId: true,
|
|
@@ -819,8 +819,8 @@ function registerDebugCommand(program) {
|
|
|
819
819
|
logger.info(` Tenant: ${tenantName} (${tenantId})`);
|
|
820
820
|
logger.info(` Base URL: ${baseUrl}`);
|
|
821
821
|
const pollInterval = parseInt(options.pollInterval || "2000", 10);
|
|
822
|
-
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-
|
|
823
|
-
const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-
|
|
822
|
+
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-pfd4r0xw.js");
|
|
823
|
+
const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-c4txfjgg.js");
|
|
824
824
|
const service = new CaseDebugStudioWebService;
|
|
825
825
|
logger.info(`Starting Studio Web debug session for: ${projectPath}`);
|
|
826
826
|
const [executeError, result] = await catchError2(service.executeProjectViaStudioWeb(projectPath, studioWebConfig, {
|
|
@@ -846,7 +846,7 @@ function registerDebugCommand(program) {
|
|
|
846
846
|
const {
|
|
847
847
|
buildSolutionUploadFailureOutput,
|
|
848
848
|
isSolutionUploadHttpError
|
|
849
|
-
} = await import("./index-
|
|
849
|
+
} = await import("./index-qvcx9ex3.js");
|
|
850
850
|
if (isSolutionUploadHttpError(executeError)) {
|
|
851
851
|
OutputFormatter.error(buildSolutionUploadFailureOutput(executeError, {
|
|
852
852
|
subject: "case",
|
|
@@ -1192,7 +1192,7 @@ var CASE_FORMAT_EXAMPLES = [
|
|
|
1192
1192
|
];
|
|
1193
1193
|
var registerFormatCommand = (program) => {
|
|
1194
1194
|
program.command("format").description("Rewrite a case plan JSON file pretty-printed (2-space indent, one key per line) so it can be patched with a file-edit tool.").argument("<file>", "Path to the case plan JSON file, rewritten in place").examples(CASE_FORMAT_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
1195
|
-
const { formatCasePlan } = await import("./case-format-service-
|
|
1195
|
+
const { formatCasePlan } = await import("./case-format-service-63qk04vp.js");
|
|
1196
1196
|
const [error, result] = await catchError2(formatCasePlan(file));
|
|
1197
1197
|
if (error) {
|
|
1198
1198
|
OutputFormatter.error({
|
|
@@ -1255,7 +1255,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1255
1255
|
throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
|
|
1256
1256
|
}
|
|
1257
1257
|
const fs = getFileSystem2();
|
|
1258
|
-
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-
|
|
1258
|
+
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-qvcx9ex3.js");
|
|
1259
1259
|
const { projectDir, autoCreatedSolution } = await prepareProjectLocation(fs, fs.path.resolve(name), name, { skipRegistration: options.skipSolutionRegistration === true });
|
|
1260
1260
|
const projectDirExists = await fs.stat(projectDir).then((stat) => stat !== null).catch((err) => {
|
|
1261
1261
|
const code = err instanceof Error ? err.code : undefined;
|
|
@@ -1310,7 +1310,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
return String(text);
|
|
1312
1312
|
};
|
|
1313
|
-
const { initEntryPoints } = await import("./init-entry-points-
|
|
1313
|
+
const { initEntryPoints } = await import("./init-entry-points-cakn3336.js");
|
|
1314
1314
|
const entryPoints = initEntryPoints({
|
|
1315
1315
|
sidecarFileName,
|
|
1316
1316
|
...casePlanExists && {
|
|
@@ -1361,8 +1361,8 @@ var initCaseProject = async (name, options) => {
|
|
|
1361
1361
|
});
|
|
1362
1362
|
if ("write" in entryPoints) {
|
|
1363
1363
|
const [{ entryPointIdsByNode }, { stampEntryPointIds }] = await Promise.all([
|
|
1364
|
-
import("./case-event-trigger-bindings-
|
|
1365
|
-
import("./trigger-entry-point-id-
|
|
1364
|
+
import("./case-event-trigger-bindings-82atx06s.js"),
|
|
1365
|
+
import("./trigger-entry-point-id-s3e49se7.js")
|
|
1366
1366
|
]);
|
|
1367
1367
|
stampEntryPointIds(document, entryPointIdsByNode({ entryPoints: entryPoints.write }));
|
|
1368
1368
|
}
|
|
@@ -1375,7 +1375,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1375
1375
|
const solutionRegistration = await tryRegisterProjectInParentSolution(fs, projectDir, { skipRegistration: options.skipSolutionRegistration === true });
|
|
1376
1376
|
let projectArtifacts;
|
|
1377
1377
|
if ((solutionRegistration.Status === "Registered" || solutionRegistration.Status === "AlreadyRegistered") && solutionRegistration.Solution && solutionRegistration.ProjectId) {
|
|
1378
|
-
const { ensureProjectArtifacts } = await import("./project-artifacts-
|
|
1378
|
+
const { ensureProjectArtifacts } = await import("./project-artifacts-78hafmtv.js");
|
|
1379
1379
|
const written = await ensureProjectArtifacts({
|
|
1380
1380
|
solutionDir: fs.path.dirname(solutionRegistration.Solution),
|
|
1381
1381
|
projectId: solutionRegistration.ProjectId,
|
|
@@ -1434,8 +1434,8 @@ var registerInstancesCommand = (program) => {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
|
|
1436
1436
|
// src/commands/job.ts
|
|
1437
|
-
var loadAuth = () => import("./index-
|
|
1438
|
-
var loadCaseApi = () => import("./case-api-
|
|
1437
|
+
var loadAuth = () => import("./index-at94mehx.js");
|
|
1438
|
+
var loadCaseApi = () => import("./case-api-vs5ew5es.js");
|
|
1439
1439
|
var CASE_JOB_STATUS_EXAMPLES = [
|
|
1440
1440
|
{
|
|
1441
1441
|
Description: "Get detailed status of a case job",
|
|
@@ -1649,7 +1649,7 @@ var CASE_PACK_EXAMPLES = [
|
|
|
1649
1649
|
var registerPackCommand = (program) => {
|
|
1650
1650
|
const command = program.command("pack").description("Pack a Case project into a .nupkg file").argument("<project-path>", "Path to the Case project directory").argument("<output-path>", "Output directory where the .nupkg will be saved").option("-n, --name <name>", "Package name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
|
|
1651
1651
|
registerPackageMetadataOptions(command).examples(CASE_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
1652
|
-
const { CasePackService } = await import("./case-pack-service-
|
|
1652
|
+
const { CasePackService } = await import("./case-pack-service-rseb6fkm.js");
|
|
1653
1653
|
const service = new CasePackService;
|
|
1654
1654
|
const [error, result] = await catchError2(service.execute(projectPath, {
|
|
1655
1655
|
output: outputPath,
|
|
@@ -1735,8 +1735,8 @@ var CASE_PROCESS_RUN_EXAMPLES = [
|
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
];
|
|
1738
|
-
var loadAuth2 = () => import("./index-
|
|
1739
|
-
var loadCaseApi2 = () => import("./case-api-
|
|
1738
|
+
var loadAuth2 = () => import("./index-at94mehx.js");
|
|
1739
|
+
var loadCaseApi2 = () => import("./case-api-vs5ew5es.js");
|
|
1740
1740
|
function registerProcessCommand(program) {
|
|
1741
1741
|
const processCmd = program.command("process").description("Manage Case processes");
|
|
1742
1742
|
registerSharedProcessCommands(processCmd, { toolLabel: "Case" });
|
|
@@ -1887,7 +1887,7 @@ function registerProcessCommand(program) {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
inputs = parsed;
|
|
1889
1889
|
} else {
|
|
1890
|
-
const { readStdin } = await import("./input-reader-
|
|
1890
|
+
const { readStdin } = await import("./input-reader-1z80mtq6.js");
|
|
1891
1891
|
const [stdinError, stdinData] = await catchError2(readStdin());
|
|
1892
1892
|
if (!stdinError && stdinData) {
|
|
1893
1893
|
const [parseError, parsed] = await catchError2(parseCaseInputs(stdinData));
|
|
@@ -2214,7 +2214,7 @@ Subcommands:
|
|
|
2214
2214
|
search Find resources by keyword and/or field filters
|
|
2215
2215
|
get Get full schema for a single resource`);
|
|
2216
2216
|
registry.command("pull").description("Pull and sync data from Case registry").option("-f, --force", "Force refresh, ignore cache").option("-s, --solution-id <solutionId>", "Include the registry of the solution").examples(REGISTRY_PULL_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
2217
|
-
const { pullResources } = await import("./resourcesSyncService-
|
|
2217
|
+
const { pullResources } = await import("./resourcesSyncService-dvz9qcae.js");
|
|
2218
2218
|
const [mapError, promises] = catchError2(() => RESOURCE_TYPES.map((type) => pullResources({
|
|
2219
2219
|
force: options.force,
|
|
2220
2220
|
solutionId: options.solutionId
|
|
@@ -2269,7 +2269,7 @@ Subcommands:
|
|
|
2269
2269
|
processContext.exit(1);
|
|
2270
2270
|
return;
|
|
2271
2271
|
}
|
|
2272
|
-
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-
|
|
2272
|
+
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-dvz9qcae.js");
|
|
2273
2273
|
let searchResult;
|
|
2274
2274
|
if (options.filter) {
|
|
2275
2275
|
const [parseError, filters] = catchError2(() => parseFilterString(options.filter));
|
|
@@ -2317,7 +2317,7 @@ Subcommands:
|
|
|
2317
2317
|
});
|
|
2318
2318
|
});
|
|
2319
2319
|
addListWindowOptions(registry.command("list").description("List all resources (use pull to update list)")).option("--local", "List only in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache.").examples(REGISTRY_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
2320
|
-
const { listLocalResources, listResources } = await import("./resourcesSyncService-
|
|
2320
|
+
const { listLocalResources, listResources } = await import("./resourcesSyncService-dvz9qcae.js");
|
|
2321
2321
|
let grouped;
|
|
2322
2322
|
if (options.local) {
|
|
2323
2323
|
const [localError, localGrouped] = await catchError2(listLocalResources());
|
|
@@ -2364,7 +2364,7 @@ Subcommands:
|
|
|
2364
2364
|
});
|
|
2365
2365
|
});
|
|
2366
2366
|
registry.command("get").description("Get resource(s) by identifier (entityKey or id)").argument("<identifier>", "The entityKey (process-types) or id (action-apps) of the resource").addOption(new Option("-t, --type <type>", `Limit search to a specific resource type (${GET_SEARCHABLE_TYPES.map((t) => t.type).join(", ")})`).choices(GET_SEARCHABLE_TYPES.map((t) => t.type))).option("--connection-id <id>", "Connection ID for connector-specific IS field metadata (custom fields). Only applies to typecache-* activity / trigger results.").option("--local", "Resolve the identifier against in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache. The identifier is the sibling's resource key or .uipx project Id.").examples(REGISTRY_GET_EXAMPLES).trackedAction(processContext, async (identifier, options) => {
|
|
2367
|
-
const { getResources } = await import("./resourcesSyncService-
|
|
2367
|
+
const { getResources } = await import("./resourcesSyncService-dvz9qcae.js");
|
|
2368
2368
|
const [error, matches] = await catchError2(getResources(identifier, options.type, {
|
|
2369
2369
|
local: options.local
|
|
2370
2370
|
}));
|
|
@@ -2401,11 +2401,11 @@ Subcommands:
|
|
|
2401
2401
|
const id = m.resource.uiPathActivityTypeId;
|
|
2402
2402
|
if (typeof id !== "string")
|
|
2403
2403
|
return m;
|
|
2404
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2404
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-t10cn6f4.js");
|
|
2405
2405
|
const [lookupError, lookupResult] = await catchError2(lookupTypeCacheEntry(id, m.resourceType));
|
|
2406
2406
|
if (lookupError)
|
|
2407
2407
|
return m;
|
|
2408
|
-
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-
|
|
2408
|
+
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-xfdmytyx.js");
|
|
2409
2409
|
const [enrichError, definitions] = await catchError2(enrichConnectorRegistryEntry(lookupResult.config, options.connectionId));
|
|
2410
2410
|
if (enrichError || definitions === null)
|
|
2411
2411
|
return m;
|
|
@@ -2431,7 +2431,7 @@ Subcommands:
|
|
|
2431
2431
|
});
|
|
2432
2432
|
});
|
|
2433
2433
|
registry.command("get-connector").description(`Look up a connector activity/trigger from the local TypeCache index. ${OUTPUT_CASING_HINT}`).addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTOR_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
2434
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2434
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-t10cn6f4.js");
|
|
2435
2435
|
const [error, result] = await catchError2(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2436
2436
|
if (error) {
|
|
2437
2437
|
OutputFormatter.error({
|
|
@@ -2452,7 +2452,7 @@ Subcommands:
|
|
|
2452
2452
|
}, { preserveDataKeys: VERBATIM_REGISTRY_FIELDS });
|
|
2453
2453
|
});
|
|
2454
2454
|
registry.command("get-connection").description(`Look up a connector and fetch available connections from Integration Service. ${OUTPUT_CASING_HINT}`).addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTION_EXAMPLES).trackedAction(processContext, async (options) => {
|
|
2455
|
-
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2455
|
+
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-t10cn6f4.js");
|
|
2456
2456
|
const [lookupError, lookupResult] = await catchError2(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2457
2457
|
if (lookupError) {
|
|
2458
2458
|
OutputFormatter.error({
|
|
@@ -2515,7 +2515,7 @@ var registerRuleTypesCommand = (program) => {
|
|
|
2515
2515
|
const ruleTypes = program.command("rule-types").description("The case condition rule types: which rule each condition slot takes.");
|
|
2516
2516
|
ruleTypes.command("list").description("List the rule types each case condition slot takes (`Scopes`; an exit slot appears twice, once per `MarksComplete` value, since only a completion condition takes the `required-*` rules), and the rule types the case schema accepts that no slot lists (`Unscoped`). `Validated` says whether `case validate` reports a rule outside the list: stage entry on the default, --strict and --skeleton-v2 profiles, task entry on the default and --strict ones, and no exit slot on any. Reads nothing from the tenant.").examples(RULE_TYPES_LIST_EXAMPLES).trackedAction(processContext, async () => {
|
|
2517
2517
|
const [error, declaration] = await catchError2((async () => {
|
|
2518
|
-
const { ruleTypeDeclaration } = await import("./rule-type-declaration-
|
|
2518
|
+
const { ruleTypeDeclaration } = await import("./rule-type-declaration-a0wxpxmn.js");
|
|
2519
2519
|
return ruleTypeDeclaration();
|
|
2520
2520
|
})());
|
|
2521
2521
|
if (error) {
|
|
@@ -2633,7 +2633,7 @@ var SDD_CONVERT_EXAMPLES = [
|
|
|
2633
2633
|
var registerSddCommand = (program) => {
|
|
2634
2634
|
const sdd = program.command("sdd").description("Read and inspect a Solution Design Document (sdd.md) — the document `validate --sdd` audits a case plan against.");
|
|
2635
2635
|
sdd.command("parse").description("Print the structured model parsed out of an sdd.md, as JSON. Reads the document only: it audits nothing and needs no case plan. Fields under `intake` describe the read (row counts, whether a section was seen, parser notes) rather than the document.").argument("<file>", "Path to the sdd.md to read").examples(SDD_PARSE_EXAMPLES).trackedAction(processContext, async (file) => {
|
|
2636
|
-
const { getFileSystemAsync } = await import("./index-
|
|
2636
|
+
const { getFileSystemAsync } = await import("./index-b3v23nvm.js");
|
|
2637
2637
|
const fs = await getFileSystemAsync();
|
|
2638
2638
|
if (!await fs.exists(file)) {
|
|
2639
2639
|
OutputFormatter.error({
|
|
@@ -2651,7 +2651,7 @@ var registerSddCommand = (program) => {
|
|
|
2651
2651
|
reportReadFailure(file, readError);
|
|
2652
2652
|
return;
|
|
2653
2653
|
}
|
|
2654
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2654
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-qwceyd6k.js");
|
|
2655
2655
|
const [parseError, model] = catchError2(() => parseSddToJson(text));
|
|
2656
2656
|
if (parseError) {
|
|
2657
2657
|
reportParseFailure(file, parseError);
|
|
@@ -2664,7 +2664,7 @@ var registerSddCommand = (program) => {
|
|
|
2664
2664
|
}, { preserveDataKeys: ["model"] });
|
|
2665
2665
|
});
|
|
2666
2666
|
sdd.command("resolve").description("Resolve an sdd.md's task resources against the caches `registry pull` wrote. Does the part of the registry gate that has one right answer — which index a task type uses, the exact-name search, the folder narrowing — and reports the part that does not: a name matching several resources is left for a person to choose between, and a name matching none is grouped for one batched question. Reads caches only: no tenant, no network.").argument("<file>", "Path to the sdd.md to resolve").option("--out <file>", "Write the resolved file to this path instead of printing it").examples(SDD_RESOLVE_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2667
|
-
const { getFileSystemAsync } = await import("./index-
|
|
2667
|
+
const { getFileSystemAsync } = await import("./index-b3v23nvm.js");
|
|
2668
2668
|
const fs = await getFileSystemAsync();
|
|
2669
2669
|
if (!await fs.exists(file)) {
|
|
2670
2670
|
OutputFormatter.error({
|
|
@@ -2682,9 +2682,9 @@ var registerSddCommand = (program) => {
|
|
|
2682
2682
|
reportReadFailure(file, readError);
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2686
|
-
const { resolveCacheFiles, resolveSddResources } = await import("./sdd-resolve-service-
|
|
2687
|
-
const { loadSiblings } = await import("./sdd-resolve-siblings-
|
|
2685
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-qwceyd6k.js");
|
|
2686
|
+
const { resolveCacheFiles, resolveSddResources } = await import("./sdd-resolve-service-99ww4cdx.js");
|
|
2687
|
+
const { loadSiblings } = await import("./sdd-resolve-siblings-m9b7wtjv.js");
|
|
2688
2688
|
const [parseError, model] = catchError2(() => parseSddToJson(text));
|
|
2689
2689
|
if (parseError) {
|
|
2690
2690
|
reportParseFailure(file, parseError);
|
|
@@ -2727,7 +2727,7 @@ var registerSddCommand = (program) => {
|
|
|
2727
2727
|
return;
|
|
2728
2728
|
}
|
|
2729
2729
|
}
|
|
2730
|
-
const { staleCacheWarning } = await import("./sdd-resolve-service-
|
|
2730
|
+
const { staleCacheWarning } = await import("./sdd-resolve-service-99ww4cdx.js");
|
|
2731
2731
|
const warnings = [
|
|
2732
2732
|
...result.scope.missingIndexes.map((missing) => `The \`${missing}\` index is not pulled, so tasks needing it were not searched. Run \`uip maestro case registry pull\`.`),
|
|
2733
2733
|
staleCacheWarning(result.scope.cache)
|
|
@@ -2764,7 +2764,7 @@ var registerSddCommand = (program) => {
|
|
|
2764
2764
|
});
|
|
2765
2765
|
});
|
|
2766
2766
|
sdd.command("convert").description("Emit a case plan from an sdd.md. Writes only what the document determines and reports what it does not — a resource that has to be resolved against a tenant, a cross-task reference, a connector's connection. The result is checked with `case validate`, not here.").argument("<file>", "Path to the sdd.md to convert").option("--out <file>", "Write the case plan to this path instead of printing it").option("--resolved <file>", "Read a `sdd resolve` file and use it to fill a resource name or folder the document left out").examples(SDD_CONVERT_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
2767
|
-
const { getFileSystemAsync } = await import("./index-
|
|
2767
|
+
const { getFileSystemAsync } = await import("./index-b3v23nvm.js");
|
|
2768
2768
|
const fs = await getFileSystemAsync();
|
|
2769
2769
|
if (!await fs.exists(file)) {
|
|
2770
2770
|
OutputFormatter.error({
|
|
@@ -2782,8 +2782,8 @@ var registerSddCommand = (program) => {
|
|
|
2782
2782
|
reportReadFailure(file, readError);
|
|
2783
2783
|
return;
|
|
2784
2784
|
}
|
|
2785
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2786
|
-
const { convertSddToCasePlan } = await import("./sdd-convert-service-
|
|
2785
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-qwceyd6k.js");
|
|
2786
|
+
const { convertSddToCasePlan } = await import("./sdd-convert-service-a43dypts.js");
|
|
2787
2787
|
let resolved;
|
|
2788
2788
|
let resolvedEntries = [];
|
|
2789
2789
|
if (options.resolved !== undefined) {
|
|
@@ -2901,7 +2901,7 @@ var registerSddCommand = (program) => {
|
|
|
2901
2901
|
correctedConvert,
|
|
2902
2902
|
otherPlanInProject,
|
|
2903
2903
|
projectsBelowOut
|
|
2904
|
-
} = await import("./out-target-
|
|
2904
|
+
} = await import("./out-target-7zzqhxaw.js");
|
|
2905
2905
|
const meant = await projectsBelowOut(fs, options.out);
|
|
2906
2906
|
if (meant.length > 0) {
|
|
2907
2907
|
const corrected = meant.length === 1 ? correctedConvert(file, meant[0], options.resolved) : undefined;
|
|
@@ -2939,7 +2939,7 @@ var registerSddCommand = (program) => {
|
|
|
2939
2939
|
processContext.exit(1);
|
|
2940
2940
|
return;
|
|
2941
2941
|
}
|
|
2942
|
-
const { stampFromEntryPointsBeside } = await import("./trigger-entry-point-id-
|
|
2942
|
+
const { stampFromEntryPointsBeside } = await import("./trigger-entry-point-id-s3e49se7.js");
|
|
2943
2943
|
const stamped = await stampFromEntryPointsBeside(result.document, options.out);
|
|
2944
2944
|
if ("error" in stamped) {
|
|
2945
2945
|
OutputFormatter.error({
|
|
@@ -2952,7 +2952,7 @@ var registerSddCommand = (program) => {
|
|
|
2952
2952
|
processContext.exit(1);
|
|
2953
2953
|
return;
|
|
2954
2954
|
}
|
|
2955
|
-
const { carryFromPlanAt } = await import("./carry-forward-
|
|
2955
|
+
const { carryFromPlanAt } = await import("./carry-forward-8xsg7chv.js");
|
|
2956
2956
|
const carried = await carryFromPlanAt(result.document, options.out, result.unresolved, model.personas.map((persona) => persona.name));
|
|
2957
2957
|
if ("error" in carried) {
|
|
2958
2958
|
OutputFormatter.error({
|
|
@@ -3771,8 +3771,8 @@ var registerSpecCommand = (program) => {
|
|
|
3771
3771
|
},
|
|
3772
3772
|
{ caseTypeCacheSource }
|
|
3773
3773
|
] = await Promise.all([
|
|
3774
|
-
import("./index-
|
|
3775
|
-
import("./connector-lookup-service-
|
|
3774
|
+
import("./index-bpw47wpw.js"),
|
|
3775
|
+
import("./connector-lookup-service-t10cn6f4.js")
|
|
3776
3776
|
]);
|
|
3777
3777
|
const fetchOpts = {
|
|
3778
3778
|
typeCache: caseTypeCacheSource,
|
|
@@ -3838,7 +3838,7 @@ var SPLICE_EXAMPLES = [
|
|
|
3838
3838
|
];
|
|
3839
3839
|
var registerSpliceCommand = (program) => {
|
|
3840
3840
|
program.command("splice").description("Write a connector task's `caseShape` from a `case spec` result into the task that runs it: `data.context` with the binding references resolved, `data.inputs`/`data.outputs` with their ids minted, the matching `serviceType`, and the connection's root bindings. Does the transport by hand-carrying nothing — the shape comes from the spec, the bindings from the binding builder, the service type from the task's own type. Offline: it reads the spec you hand it and never fetches one.").argument("<file>", "Path to the case plan to splice into").option("--task-id <task-id>", "Id of the connector task to write into, from `nodes[].data.tasks[][].id`. Pass this or --task-name.").option("--task-name <task-name>", "Display name of the task to write into, exactly as the plan spells it — same case and spacing, the way the SDD audit compares it. Pass this or --task-id.").option("--described <file>", "A `uip maestro case tasks describe` result saved as JSON. Writes a resource task's inputs and outputs from the resource's own contract — types, schemas and options — keeping the ids the plan already carries. Use instead of --spec for a process, rpa, business-rule, api-workflow, agent, action, function or child-case task.").option("--spec <file>", "A `uip maestro case spec` result saved as JSON — the envelope as written, `Data.CaseShape` and all. A bare shape or an older PascalCased save is read too. Must carry the shape: run spec without `--skip-case-shape`.").option("--connection-id <id>", "Connection UUID the task runs against. Optional: it defaults to the connection the spec was fetched for, which the spec's own `caseShape.context.resourceKey` states. Pass it to override, and a value that disagrees with the spec is refused. The root bindings are keyed on it, so splicing twice for the same connection reuses them rather than appending a second pair.").option("--folder-key <key>", "Folder key for the connection. Optional: it defaults to the folder the spec's own `Data.Connection.FolderKey` states, and a value that disagrees with the spec is refused. When the connection has no folder, `case spec` returns a shape with no `folderKey` entry, and this drops any folder binding left over for that connection rather than leaving one with no `default`. If the shape asks for a folder binding and neither this nor the spec gives one, that is refused rather than written.").option("--out <file>", "Write the spliced plan here instead of in place").examples(SPLICE_EXAMPLES).trackedAction(processContext, async (file, options) => {
|
|
3841
|
-
const { getFileSystemAsync } = await import("./index-
|
|
3841
|
+
const { getFileSystemAsync } = await import("./index-b3v23nvm.js");
|
|
3842
3842
|
const fs = await getFileSystemAsync();
|
|
3843
3843
|
const mode = options.described !== undefined ? "described" : "spec";
|
|
3844
3844
|
if (options.described === undefined === (options.spec === undefined)) {
|
|
@@ -3905,7 +3905,7 @@ var registerSpliceCommand = (program) => {
|
|
|
3905
3905
|
}
|
|
3906
3906
|
const taskId = selected.id;
|
|
3907
3907
|
if (mode === "described") {
|
|
3908
|
-
const { applyDescribedIo, isDescribedIoFailure } = await import("./case-described-io-service-
|
|
3908
|
+
const { applyDescribedIo, isDescribedIoFailure } = await import("./case-described-io-service-dnn8bshj.js");
|
|
3909
3909
|
const applied = applyDescribedIo(plan, specDocument, {
|
|
3910
3910
|
taskId
|
|
3911
3911
|
});
|
|
@@ -3958,7 +3958,7 @@ var registerSpliceCommand = (program) => {
|
|
|
3958
3958
|
processContext.exit(1);
|
|
3959
3959
|
return;
|
|
3960
3960
|
}
|
|
3961
|
-
const { spliceConnectorShape, isSpliceFailure } = await import("./case-splice-service-
|
|
3961
|
+
const { spliceConnectorShape, isSpliceFailure } = await import("./case-splice-service-wc0ppb8a.js");
|
|
3962
3962
|
const result = spliceConnectorShape(plan, caseShape, {
|
|
3963
3963
|
taskId,
|
|
3964
3964
|
connectionId: options.connectionId,
|
|
@@ -5944,9 +5944,9 @@ var TASKS_DESCRIBE_EXAMPLES = [
|
|
|
5944
5944
|
}
|
|
5945
5945
|
}
|
|
5946
5946
|
];
|
|
5947
|
-
var loadConnectorEnrichment = () => import("./connector-enrichment-service-
|
|
5948
|
-
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-
|
|
5949
|
-
var loadEnrichment = () => import("./enrichment-service-
|
|
5947
|
+
var loadConnectorEnrichment = () => import("./connector-enrichment-service-xfdmytyx.js");
|
|
5948
|
+
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-av14dje8.js");
|
|
5949
|
+
var loadEnrichment = () => import("./enrichment-service-xbpww8cc.js");
|
|
5950
5950
|
var TASK_TYPES = [
|
|
5951
5951
|
"process",
|
|
5952
5952
|
"action",
|
|
@@ -6120,7 +6120,7 @@ function deepMerge(target, source, unsafeKeys) {
|
|
|
6120
6120
|
return target;
|
|
6121
6121
|
}
|
|
6122
6122
|
async function applyInputValues(inputs, inputValues) {
|
|
6123
|
-
const { nestDottedKeys, UNSAFE_KEYS } = await import("./index-
|
|
6123
|
+
const { nestDottedKeys, UNSAFE_KEYS } = await import("./index-bpw47wpw.js");
|
|
6124
6124
|
for (const input of inputs) {
|
|
6125
6125
|
const values = inputValues[input.name];
|
|
6126
6126
|
if (values && input.body) {
|
|
@@ -6974,7 +6974,7 @@ var registerTriggersCommand = (program) => {
|
|
|
6974
6974
|
const result = await readAndBuildTrigger(file, options.displayName, options.position, options.description);
|
|
6975
6975
|
if (result.error)
|
|
6976
6976
|
return;
|
|
6977
|
-
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-
|
|
6977
|
+
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-av14dje8.js");
|
|
6978
6978
|
const [enrichError, enrichment] = await catchError2(enrichConnectorTrigger("start", options.typeId, options.connectionId, parsedEventParams));
|
|
6979
6979
|
if (enrichError) {
|
|
6980
6980
|
OutputFormatter.error({
|
|
@@ -7107,11 +7107,11 @@ var toIssueData = (issues) => issues.map((issue) => ({
|
|
|
7107
7107
|
Severity: issue.severity
|
|
7108
7108
|
}));
|
|
7109
7109
|
var suppressedAudit = async (file, shown) => {
|
|
7110
|
-
const { findAdjacentSdd } = await import("./sdd-lookup-
|
|
7110
|
+
const { findAdjacentSdd } = await import("./sdd-lookup-m159jdtv.js");
|
|
7111
7111
|
const [lookupError, sdd] = await catchError2(Promise.resolve(findAdjacentSdd(file)));
|
|
7112
7112
|
if (lookupError || sdd === undefined)
|
|
7113
7113
|
return;
|
|
7114
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7114
|
+
const { CaseValidateService } = await import("./case-validate-service-qgbkschr.js");
|
|
7115
7115
|
const [auditError, audited] = await catchError2(new CaseValidateService().validateFileUsingSDK(file, {
|
|
7116
7116
|
profile: "strict",
|
|
7117
7117
|
sddPath: sdd
|
|
@@ -7127,7 +7127,7 @@ var suppressedAudit = async (file, shown) => {
|
|
|
7127
7127
|
};
|
|
7128
7128
|
};
|
|
7129
7129
|
var executeCaseValidate = async (file, options = {}) => {
|
|
7130
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7130
|
+
const { CaseValidateService } = await import("./case-validate-service-qgbkschr.js");
|
|
7131
7131
|
const service = new CaseValidateService;
|
|
7132
7132
|
const [error, result] = await catchError2(service.validateFileUsingSDK(file, {
|
|
7133
7133
|
profile: resolveProfile(options),
|
|
@@ -7525,7 +7525,7 @@ var metadata2 = {
|
|
|
7525
7525
|
commandPrefix: "case"
|
|
7526
7526
|
};
|
|
7527
7527
|
var registerCommands2 = async (program) => {
|
|
7528
|
-
const { registerCaseAuthoringCommands } = await import("./authoring-
|
|
7528
|
+
const { registerCaseAuthoringCommands } = await import("./authoring-g2bbrymg.js");
|
|
7529
7529
|
registerCaseAuthoringCommands(program);
|
|
7530
7530
|
registerInitCommand(program);
|
|
7531
7531
|
registerSddCommand(program);
|
|
@@ -7561,4 +7561,4 @@ var registerCommands2 = async (program) => {
|
|
|
7561
7561
|
|
|
7562
7562
|
export { metadata2, registerCommands2 };
|
|
7563
7563
|
|
|
7564
|
-
//# debugId=
|
|
7564
|
+
//# debugId=05EFBCABE9F5933564756E2164756E21
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfzc8s9f.js";
|
|
4
4
|
import {
|
|
5
5
|
ElementsApi,
|
|
6
6
|
createApiClient,
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
assertActivityMetadataResolved,
|
|
9
9
|
extractMultipartParameters,
|
|
10
10
|
buildInputMetadata
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-6px46qnn.js";
|
|
12
12
|
import {
|
|
13
13
|
guardJsonString
|
|
14
14
|
} from "./packager-tool-h2ar8xf8.js";
|
|
15
15
|
import {
|
|
16
16
|
lookupTypeCacheEntry2,
|
|
17
17
|
fetchConnectorConnections2
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-p8hvytsm.js";
|
|
19
19
|
import {
|
|
20
20
|
buildErrorOutput,
|
|
21
21
|
addVarIdsToInputsOutputs
|
|
22
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-501g5pzn.js";
|
|
23
23
|
import {
|
|
24
24
|
fetchConnectorMetadata2
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-qtcjzf6g.js";
|
|
26
26
|
import {
|
|
27
27
|
createConnectorBindings
|
|
28
28
|
} from "./packager-tool-e1tx5mqg.js";
|
|
@@ -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._-]+$/;
|