@uipath/case-tool 1.204.0-preview.223 → 1.204.0-preview.226
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-0hr88kff.js → authoring-6ckkzfc9.js} +2 -2
- package/dist/business-rule-export-kg5bk8aw.js +31 -0
- package/dist/{case-api-gdaj9469.js → case-api-rvamfn02.js} +3 -3
- package/dist/{case-bindings-service-c2mze9vj.js → case-bindings-service-d9vezn69.js} +1 -1
- package/dist/{case-debug-studio-web-service-8mw03wcb.js → case-debug-studio-web-service-43f4e564.js} +4 -4
- package/dist/{case-described-io-service-cpe5h2ks.js → case-described-io-service-14hdnqcc.js} +1 -1
- package/dist/{case-format-service-qwyjyt0y.js → case-format-service-yb48785t.js} +1 -1
- package/dist/{case-pack-service-47yrvmg0.js → case-pack-service-9185h6ez.js} +1 -1
- package/dist/{case-splice-service-9zvw19ca.js → case-splice-service-tkmb7xjp.js} +1 -1
- package/dist/{case-validate-service-n7pd1bzn.js → case-validate-service-8e52j5ez.js} +6 -6
- package/dist/{connector-enrichment-service-rrpphm1a.js → connector-enrichment-service-1acv4t98.js} +13 -13
- package/dist/{connector-lookup-service-tbc4h136.js → connector-lookup-service-aj2v0h4z.js} +5 -5
- package/dist/{connector-task-spec-ccqd3ntv.js → connector-task-spec-952tmwq1.js} +13 -13
- package/dist/{debug-service-vf5mw0nr.js → debug-service-v0wttthm.js} +2 -2
- package/dist/{enrichment-service-78b0gqck.js → enrichment-service-3f1kygjs.js} +38 -7
- package/dist/{index-j72rk6ew.js → index-4b55ave2.js} +3 -3
- package/dist/{index-rgw7caht.js → index-4yanx3rn.js} +8 -26
- package/dist/index.js +6 -6
- package/dist/{input-reader-bb0ptk2v.js → input-reader-1tcqt27f.js} +1 -1
- package/dist/{node-sync-service-8yvg2hy8.js → node-sync-service-m3kddb5t.js} +4 -4
- package/dist/{out-target-1f4n9vqb.js → out-target-jakehnd3.js} +1 -1
- package/dist/{packager-tool-d7jjng8a.js → packager-tool-00y70spr.js} +2 -1
- package/dist/{packager-tool-58kx79ta.js → packager-tool-3q3d1hk8.js} +3 -1
- package/dist/{packager-tool-sag9gz55.js → packager-tool-7nxppa3d.js} +3 -1
- package/dist/{packager-tool-a7czm99a.js → packager-tool-86y08s6m.js} +5 -5
- package/dist/{packager-tool-5qghkdd0.js → packager-tool-c31qx8kc.js} +1 -1
- package/dist/{packager-tool-4e56rmwe.js → packager-tool-cenvh23g.js} +1 -1
- package/dist/{packager-tool-n6f2mygs.js → packager-tool-ffd6p51z.js} +44 -43
- package/dist/{packager-tool-1w7gp7pr.js → packager-tool-hqq7mjk1.js} +3 -3
- package/dist/{packager-tool-s3e2kepj.js → packager-tool-hvzjm2nk.js} +1 -1
- package/dist/{packager-tool-bdbtk0gm.js → packager-tool-j5fvkck2.js} +4 -4
- package/dist/{packager-tool-wjaya2k2.js → packager-tool-jfysbxdt.js} +1 -1
- package/dist/{packager-tool-xkgq5fkf.js → packager-tool-kpqr938m.js} +1 -1
- package/dist/{packager-tool-kacqd7h7.js → packager-tool-m9f7qxkk.js} +3 -3
- package/dist/{packager-tool-f02zcwc4.js → packager-tool-r8rvkqje.js} +4 -4
- package/dist/{packager-tool-0p3td5zv.js → packager-tool-s6619wtx.js} +1 -1
- package/dist/{packager-tool-paepfv5d.js → packager-tool-se70jv85.js} +1 -1
- package/dist/packager-tool-xy04yy0v.js +32 -0
- package/dist/{packager-tool-pm646ag4.js → packager-tool-yfm83bzd.js} +1 -1
- package/dist/{packager-tool-2vgnc9jz.js → packager-tool-yz33r3ha.js} +3 -3
- package/dist/packager-tool-zbrda9sn.js +28 -0
- package/dist/{project-artifacts-wzrhketn.js → project-artifacts-rng5m6r2.js} +1 -1
- package/dist/{resourcesSyncService-168xh55h.js → resourcesSyncService-s0mmcvp7.js} +30 -16
- package/dist/{sdd-convert-service-gp9733qv.js → sdd-convert-service-vf0ps358.js} +6 -6
- package/dist/{sdd-lookup-vpjej1kt.js → sdd-lookup-dwzpvvwn.js} +1 -1
- package/dist/{sdd-resolve-service-4hx64x3z.js → sdd-resolve-service-mjqad2nn.js} +8 -3
- package/dist/solution-auth-kddmbm0p.js +14 -0
- package/dist/{strict-case-rules-ksy8q7pg.js → strict-case-rules-tz37bspw.js} +3 -2
- package/dist/{strict-sdd-audit-k6hh0mbr.js → strict-sdd-audit-4aqdeh59.js} +2 -2
- package/dist/tool.js +6 -6
- package/dist/{trigger-enrichment-service-1c3fab5w.js → trigger-enrichment-service-w343zhr1.js} +13 -13
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMaestroRegistry
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-c31qx8kc.js";
|
|
4
4
|
import {
|
|
5
5
|
Option,
|
|
6
6
|
OutputFormatter,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getOutputSink,
|
|
9
9
|
pascalCaseDataKeys,
|
|
10
10
|
processContext
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
12
12
|
import {
|
|
13
13
|
getFileSystem
|
|
14
14
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__require
|
|
3
|
+
} from "./packager-tool-1yh8g550.js";
|
|
4
|
+
|
|
5
|
+
// src/services/business-rule-export.ts
|
|
6
|
+
async function readBusinessRuleEntryPointAsync(entry) {
|
|
7
|
+
const { getSolutionAuthContext } = await import("./solution-auth-kddmbm0p.js");
|
|
8
|
+
const {
|
|
9
|
+
createResourceBuilderServices,
|
|
10
|
+
exportResourceDefinitionAsync,
|
|
11
|
+
getRemoteResourceClients,
|
|
12
|
+
readSpecEntryPoints,
|
|
13
|
+
toCatalogReference
|
|
14
|
+
} = await import("./index-4yanx3rn.js");
|
|
15
|
+
await getSolutionAuthContext({});
|
|
16
|
+
const { importer } = getRemoteResourceClients(await createResourceBuilderServices());
|
|
17
|
+
const folder = entry.folders?.[0];
|
|
18
|
+
const definition = await exportResourceDefinitionAsync(importer, toCatalogReference({
|
|
19
|
+
kind: "BusinessRule",
|
|
20
|
+
key: entry.entityKey,
|
|
21
|
+
name: entry.name,
|
|
22
|
+
folderPath: folder?.fullyQualifiedName,
|
|
23
|
+
folderKey: folder?.key
|
|
24
|
+
}));
|
|
25
|
+
return { entryPoint: readSpecEntryPoints(definition?.spec)?.[0] };
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
readBusinessRuleEntryPointAsync
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
//# debugId=0A7CAFCAF99AE3CD64756E2164756E21
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
ReleasesApi,
|
|
4
4
|
createOrchestratorConfig,
|
|
5
5
|
resolveFolder
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-hvzjm2nk.js";
|
|
7
7
|
import {
|
|
8
8
|
parseJsonInputOrFile
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-jfysbxdt.js";
|
|
10
10
|
import"./packager-tool-vepqrsse.js";
|
|
11
11
|
import"./packager-tool-v99ygh9f.js";
|
|
12
12
|
import"./packager-tool-0gctz400.js";
|
|
@@ -15,7 +15,7 @@ import"./packager-tool-yc4kw997.js";
|
|
|
15
15
|
import {
|
|
16
16
|
OutputFormatter,
|
|
17
17
|
catchError
|
|
18
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
19
19
|
import"./packager-tool-xdxr3ync.js";
|
|
20
20
|
import"./packager-tool-1yh8g550.js";
|
|
21
21
|
|
package/dist/{case-debug-studio-web-service-8mw03wcb.js → case-debug-studio-web-service-43f4e564.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSolutionPackageFromDir,
|
|
3
3
|
uploadOrOverwriteSolution
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-r8rvkqje.js";
|
|
5
5
|
import {
|
|
6
6
|
findSolutionFile,
|
|
7
7
|
updateSolutionFile
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-yfm83bzd.js";
|
|
9
9
|
import {
|
|
10
10
|
CasePlanFileNames,
|
|
11
11
|
buildCasePackageDescriptor,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
} from "./packager-tool-cmwets3m.js";
|
|
24
24
|
import {
|
|
25
25
|
uploadAndDebugSolution
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-se70jv85.js";
|
|
27
27
|
import {
|
|
28
28
|
logger
|
|
29
|
-
} from "./packager-tool-
|
|
29
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
30
30
|
import {
|
|
31
31
|
getFileSystem
|
|
32
32
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
BINDING_REFERENCE_PREFIX,
|
|
15
15
|
NAME_BOUND_TASK_TYPES,
|
|
16
16
|
RESOLVED_IDENTITY_KEYS
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-00y70spr.js";
|
|
18
18
|
import {
|
|
19
19
|
readRegistryLedger
|
|
20
20
|
} from "./packager-tool-b250k6w4.js";
|
|
21
21
|
import {
|
|
22
22
|
validateIntSvcNode
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-yz33r3ha.js";
|
|
24
24
|
import {
|
|
25
25
|
MIN_SUPPORTED_MAJOR,
|
|
26
26
|
compareCaseSchemaVersions,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
catchError,
|
|
47
47
|
logger
|
|
48
|
-
} from "./packager-tool-
|
|
48
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
49
49
|
import {
|
|
50
50
|
getFileSystem
|
|
51
51
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -2298,7 +2298,7 @@ Validating: ${absolutePath}
|
|
|
2298
2298
|
issues.push(...this.runSupplementalRules(parsed, profile));
|
|
2299
2299
|
}
|
|
2300
2300
|
if (diskResult.valid && profile === "strict") {
|
|
2301
|
-
const { runStrictCaseRules } = await import("./strict-case-rules-
|
|
2301
|
+
const { runStrictCaseRules } = await import("./strict-case-rules-tz37bspw.js");
|
|
2302
2302
|
issues.push(...runStrictCaseRules(parsed));
|
|
2303
2303
|
issues.push(...await this.checkBindingsSidecar(absolutePath, parsed));
|
|
2304
2304
|
issues.push(...await this.checkEntryPointsSidecar(absolutePath, parsed));
|
|
@@ -2306,7 +2306,7 @@ Validating: ${absolutePath}
|
|
|
2306
2306
|
const sddPath = this.fs.path.resolve(options.sddPath);
|
|
2307
2307
|
if (await this.fs.exists(sddPath)) {
|
|
2308
2308
|
const sddText = await this.fs.readFile(sddPath, "utf-8") ?? "";
|
|
2309
|
-
const { auditCaseplanAgainstSdd } = await import("./strict-sdd-audit-
|
|
2309
|
+
const { auditCaseplanAgainstSdd } = await import("./strict-sdd-audit-4aqdeh59.js");
|
|
2310
2310
|
issues.push(...auditCaseplanAgainstSdd(parsed, sddText, this.fs.path.basename(sddPath), await findRegistryLedger(this.fs, absolutePath)));
|
|
2311
2311
|
} else {
|
|
2312
2312
|
issues.push({
|
|
@@ -2355,7 +2355,7 @@ Validating: ${absolutePath}
|
|
|
2355
2355
|
return [];
|
|
2356
2356
|
}
|
|
2357
2357
|
async checkBindingsSidecar(casePlanPath, parsed) {
|
|
2358
|
-
const { compareCaseBindingsV2 } = await import("./case-bindings-service-
|
|
2358
|
+
const { compareCaseBindingsV2 } = await import("./case-bindings-service-d9vezn69.js");
|
|
2359
2359
|
const [error, comparison] = await catchError(compareCaseBindingsV2(casePlanPath, parsed));
|
|
2360
2360
|
if (error || comparison === undefined)
|
|
2361
2361
|
return [];
|
package/dist/{connector-enrichment-service-rrpphm1a.js → connector-enrichment-service-1acv4t98.js}
RENAMED
|
@@ -13,33 +13,33 @@ import {
|
|
|
13
13
|
normalizeFields,
|
|
14
14
|
parseEntryConfiguration,
|
|
15
15
|
resolveActivityOperation
|
|
16
|
-
} from "./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
16
|
+
} from "./packager-tool-86y08s6m.js";
|
|
17
|
+
import"./packager-tool-j5fvkck2.js";
|
|
18
|
+
import"./packager-tool-kpqr938m.js";
|
|
19
19
|
import"./packager-tool-rgpdaxbx.js";
|
|
20
20
|
import"./packager-tool-bfgdz1zh.js";
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
21
|
+
import"./packager-tool-s6619wtx.js";
|
|
22
|
+
import"./packager-tool-hqq7mjk1.js";
|
|
23
|
+
import"./packager-tool-c31qx8kc.js";
|
|
24
|
+
import"./packager-tool-yz33r3ha.js";
|
|
25
25
|
import"./packager-tool-16q84571.js";
|
|
26
26
|
import"./packager-tool-7q6z6npd.js";
|
|
27
27
|
import"./packager-tool-sc961w0q.js";
|
|
28
28
|
import"./packager-tool-d88rqwk8.js";
|
|
29
|
-
import"./packager-tool-
|
|
29
|
+
import"./packager-tool-hvzjm2nk.js";
|
|
30
30
|
import"./packager-tool-jysvpt8p.js";
|
|
31
31
|
import"./packager-tool-sq931c23.js";
|
|
32
32
|
import"./packager-tool-mknccck5.js";
|
|
33
|
-
import"./packager-tool-
|
|
34
|
-
import"./packager-tool-
|
|
35
|
-
import"./packager-tool-
|
|
33
|
+
import"./packager-tool-m9f7qxkk.js";
|
|
34
|
+
import"./packager-tool-7nxppa3d.js";
|
|
35
|
+
import"./packager-tool-jfysbxdt.js";
|
|
36
36
|
import"./packager-tool-vepqrsse.js";
|
|
37
37
|
import"./packager-tool-v99ygh9f.js";
|
|
38
38
|
import"./packager-tool-0gctz400.js";
|
|
39
39
|
import"./packager-tool-qa9gftnj.js";
|
|
40
40
|
import"./packager-tool-yc4kw997.js";
|
|
41
|
-
import"./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
41
|
+
import"./packager-tool-se70jv85.js";
|
|
42
|
+
import"./packager-tool-3q3d1hk8.js";
|
|
43
43
|
import"./packager-tool-xdxr3ync.js";
|
|
44
44
|
import"./packager-tool-1yh8g550.js";
|
|
45
45
|
export {
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetchConnectorConnections,
|
|
3
3
|
lookupConnectorDisplayName,
|
|
4
4
|
lookupTypeCacheEntry
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
5
|
+
} from "./packager-tool-j5fvkck2.js";
|
|
6
|
+
import"./packager-tool-s6619wtx.js";
|
|
7
|
+
import"./packager-tool-yz33r3ha.js";
|
|
8
|
+
import"./packager-tool-7nxppa3d.js";
|
|
9
9
|
import"./packager-tool-v99ygh9f.js";
|
|
10
10
|
import"./packager-tool-0gctz400.js";
|
|
11
11
|
import"./packager-tool-qa9gftnj.js";
|
|
12
12
|
import"./packager-tool-yc4kw997.js";
|
|
13
|
-
import"./packager-tool-
|
|
13
|
+
import"./packager-tool-3q3d1hk8.js";
|
|
14
14
|
import"./packager-tool-xdxr3ync.js";
|
|
15
15
|
import"./packager-tool-1yh8g550.js";
|
|
16
16
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nestDottedKeys
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-86y08s6m.js";
|
|
4
4
|
import {
|
|
5
5
|
lookupConnectorDisplayName,
|
|
6
6
|
lookupTypeCacheEntry
|
|
7
|
-
} from "./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
7
|
+
} from "./packager-tool-j5fvkck2.js";
|
|
8
|
+
import"./packager-tool-kpqr938m.js";
|
|
9
9
|
import"./packager-tool-rgpdaxbx.js";
|
|
10
10
|
import"./packager-tool-bfgdz1zh.js";
|
|
11
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-s6619wtx.js";
|
|
12
12
|
import {
|
|
13
13
|
extractActivityFilterFields,
|
|
14
14
|
extractTriggerEventParameters,
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
fetchConnectionInfo,
|
|
17
17
|
fetchConnectorMetadata,
|
|
18
18
|
fetchConnectorTriggerMetadata
|
|
19
|
-
} from "./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
19
|
+
} from "./packager-tool-hqq7mjk1.js";
|
|
20
|
+
import"./packager-tool-c31qx8kc.js";
|
|
21
21
|
import {
|
|
22
22
|
assertActivityMetadataResolved,
|
|
23
23
|
buildActivityEssentialConfiguration,
|
|
@@ -25,30 +25,30 @@ import {
|
|
|
25
25
|
createConfiguredActivityClient,
|
|
26
26
|
extractMultipartParameters,
|
|
27
27
|
getEventOperationObjects
|
|
28
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-yz33r3ha.js";
|
|
29
29
|
import"./packager-tool-16q84571.js";
|
|
30
30
|
import"./packager-tool-7q6z6npd.js";
|
|
31
31
|
import"./packager-tool-sc961w0q.js";
|
|
32
32
|
import"./packager-tool-d88rqwk8.js";
|
|
33
|
-
import"./packager-tool-
|
|
33
|
+
import"./packager-tool-hvzjm2nk.js";
|
|
34
34
|
import"./packager-tool-jysvpt8p.js";
|
|
35
35
|
import"./packager-tool-sq931c23.js";
|
|
36
36
|
import"./packager-tool-mknccck5.js";
|
|
37
|
-
import"./packager-tool-
|
|
37
|
+
import"./packager-tool-m9f7qxkk.js";
|
|
38
38
|
import {
|
|
39
39
|
TYPECACHE_ACTIVITY_INDEX_TYPES,
|
|
40
40
|
TYPECACHE_TRIGGER_INDEX_TYPES
|
|
41
|
-
} from "./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
41
|
+
} from "./packager-tool-7nxppa3d.js";
|
|
42
|
+
import"./packager-tool-jfysbxdt.js";
|
|
43
43
|
import"./packager-tool-vepqrsse.js";
|
|
44
44
|
import"./packager-tool-v99ygh9f.js";
|
|
45
45
|
import"./packager-tool-0gctz400.js";
|
|
46
46
|
import"./packager-tool-qa9gftnj.js";
|
|
47
47
|
import"./packager-tool-yc4kw997.js";
|
|
48
|
-
import"./packager-tool-
|
|
48
|
+
import"./packager-tool-se70jv85.js";
|
|
49
49
|
import {
|
|
50
50
|
catchError
|
|
51
|
-
} from "./packager-tool-
|
|
51
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
52
52
|
import"./packager-tool-xdxr3ync.js";
|
|
53
53
|
import"./packager-tool-1yh8g550.js";
|
|
54
54
|
|
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
prepareForCustomDebug,
|
|
24
24
|
resolveFaultIncidents,
|
|
25
25
|
uploadAndDebugSolution
|
|
26
|
-
} from "./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
26
|
+
} from "./packager-tool-se70jv85.js";
|
|
27
|
+
import"./packager-tool-3q3d1hk8.js";
|
|
28
28
|
import"./packager-tool-xdxr3ync.js";
|
|
29
29
|
import"./packager-tool-1yh8g550.js";
|
|
30
30
|
export {
|
|
@@ -4,10 +4,13 @@ import {
|
|
|
4
4
|
convertActionArgsToVariables,
|
|
5
5
|
mapEntryPointVariablesToInputOutput,
|
|
6
6
|
transformSchemaToVariables
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-kpqr938m.js";
|
|
8
|
+
import {
|
|
9
|
+
flattenDecisionKeyedSchema
|
|
10
|
+
} from "./packager-tool-xy04yy0v.js";
|
|
8
11
|
import {
|
|
9
12
|
loadResourceIndex
|
|
10
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-s6619wtx.js";
|
|
11
14
|
import {
|
|
12
15
|
getLoginStatusAsync
|
|
13
16
|
} from "./packager-tool-v99ygh9f.js";
|
|
@@ -16,9 +19,11 @@ import"./packager-tool-qa9gftnj.js";
|
|
|
16
19
|
import"./packager-tool-yc4kw997.js";
|
|
17
20
|
import {
|
|
18
21
|
catchError
|
|
19
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
20
23
|
import"./packager-tool-xdxr3ync.js";
|
|
21
|
-
import
|
|
24
|
+
import {
|
|
25
|
+
__require
|
|
26
|
+
} from "./packager-tool-1yh8g550.js";
|
|
22
27
|
|
|
23
28
|
// src/services/action-schema-api.ts
|
|
24
29
|
async function getActionSchema(params) {
|
|
@@ -298,7 +303,8 @@ var TASK_TYPE_TO_INDEX = {
|
|
|
298
303
|
"case-management": "caseManagement",
|
|
299
304
|
action: "action-apps",
|
|
300
305
|
"flow-process": "flow",
|
|
301
|
-
function: "function"
|
|
306
|
+
function: "function",
|
|
307
|
+
"business-rule": "businessRule"
|
|
302
308
|
};
|
|
303
309
|
function findProcessEntry(entries, id) {
|
|
304
310
|
return entries.find((e) => e.entityKey === id);
|
|
@@ -357,6 +363,31 @@ async function enrichProcessType(taskType, id) {
|
|
|
357
363
|
outputs
|
|
358
364
|
};
|
|
359
365
|
}
|
|
366
|
+
async function enrichBusinessRuleType(id) {
|
|
367
|
+
const entries = await loadResourceIndex("businessRule");
|
|
368
|
+
const entry = findProcessEntry(entries, id);
|
|
369
|
+
if (!entry) {
|
|
370
|
+
throw new Error(`No business-rule entry found with entityKey "${id}" in businessRule-index.json`);
|
|
371
|
+
}
|
|
372
|
+
const { readBusinessRuleEntryPointAsync } = await import("./business-rule-export-kg5bk8aw.js");
|
|
373
|
+
const exported = await readBusinessRuleEntryPointAsync(entry);
|
|
374
|
+
if (!exported) {
|
|
375
|
+
throw new Error("Describing a business rule needs the Node CLI: the browser build cannot export a rule's contract.");
|
|
376
|
+
}
|
|
377
|
+
const ep = exported.entryPoint;
|
|
378
|
+
if (!ep) {
|
|
379
|
+
throw new Error(`Business rule "${entry.name}" has no argument contract on its resource. Redeploy it from its solution with 'uip solution publish' and 'uip solution deploy run' so its package carries entry-points.json.`);
|
|
380
|
+
}
|
|
381
|
+
return {
|
|
382
|
+
name: entry.name,
|
|
383
|
+
type: "business-rule",
|
|
384
|
+
folderPath: entry.folders?.[0]?.fullyQualifiedName ?? "",
|
|
385
|
+
inputs: transformSchemaToVariables(ep.InputArguments, {
|
|
386
|
+
includeRequired: true
|
|
387
|
+
}),
|
|
388
|
+
outputs: transformSchemaToVariables(flattenDecisionKeyedSchema(ep.OutputArguments))
|
|
389
|
+
};
|
|
390
|
+
}
|
|
360
391
|
async function enrichActionType(id) {
|
|
361
392
|
const entries = await loadResourceIndex("action-apps");
|
|
362
393
|
const entry = findActionAppEntry(entries, id);
|
|
@@ -393,7 +424,7 @@ async function enrichActionType(id) {
|
|
|
393
424
|
};
|
|
394
425
|
}
|
|
395
426
|
async function enrichTask(taskType, id, options) {
|
|
396
|
-
const result = taskType === "action" ? await enrichActionType(id) : await enrichProcessType(taskType, id);
|
|
427
|
+
const result = taskType === "action" ? await enrichActionType(id) : taskType === "business-rule" ? await enrichBusinessRuleType(id) : await enrichProcessType(taskType, id);
|
|
397
428
|
const inputsList = mapEntryPointVariablesToInputOutput(result.inputs, false);
|
|
398
429
|
let outputsList = mapEntryPointVariablesToInputOutput(result.outputs, true);
|
|
399
430
|
if (taskType === "case-management") {
|
|
@@ -419,4 +450,4 @@ export {
|
|
|
419
450
|
parseCustomData
|
|
420
451
|
};
|
|
421
452
|
|
|
422
|
-
//# debugId=
|
|
453
|
+
//# debugId=6AFA348385E072F564756E2164756E21
|
|
@@ -310,7 +310,7 @@ import {
|
|
|
310
310
|
searchPackageVersions,
|
|
311
311
|
solutionExistsOnStudioWeb,
|
|
312
312
|
uploadOrOverwriteSolution
|
|
313
|
-
} from "./packager-tool-
|
|
313
|
+
} from "./packager-tool-r8rvkqje.js";
|
|
314
314
|
import {
|
|
315
315
|
autoScaffoldSolution,
|
|
316
316
|
createSolutionManifest,
|
|
@@ -327,9 +327,9 @@ import {
|
|
|
327
327
|
tryRegisterProjectInParentSolution,
|
|
328
328
|
updateSolutionFile,
|
|
329
329
|
updateUipxSolutionId
|
|
330
|
-
} from "./packager-tool-
|
|
330
|
+
} from "./packager-tool-yfm83bzd.js";
|
|
331
331
|
import"./packager-tool-b098y4a2.js";
|
|
332
|
-
import"./packager-tool-
|
|
332
|
+
import"./packager-tool-3q3d1hk8.js";
|
|
333
333
|
import"./packager-tool-xdxr3ync.js";
|
|
334
334
|
import"./packager-tool-1yh8g550.js";
|
|
335
335
|
export {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getSolutionAuthContext
|
|
3
|
+
} from "./packager-tool-zbrda9sn.js";
|
|
1
4
|
import {
|
|
2
5
|
JsonSerializerFactory,
|
|
3
6
|
JsonSerializerNames,
|
|
@@ -10,16 +13,15 @@ import {
|
|
|
10
13
|
import {
|
|
11
14
|
UsersApi,
|
|
12
15
|
createApiClient
|
|
13
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-hvzjm2nk.js";
|
|
14
17
|
import {
|
|
15
18
|
findSolutionFileUpward,
|
|
16
19
|
normalizeProjectType,
|
|
17
20
|
toPortableRelativePath
|
|
18
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-yfm83bzd.js";
|
|
19
22
|
import"./packager-tool-4rqd21wc.js";
|
|
20
23
|
import"./packager-tool-b098y4a2.js";
|
|
21
24
|
import {
|
|
22
|
-
getAuthContext,
|
|
23
25
|
getLoginStatusAsync
|
|
24
26
|
} from "./packager-tool-v99ygh9f.js";
|
|
25
27
|
import"./packager-tool-0gctz400.js";
|
|
@@ -30,7 +32,7 @@ import {
|
|
|
30
32
|
extractErrorMessage,
|
|
31
33
|
isGuid,
|
|
32
34
|
logger
|
|
33
|
-
} from "./packager-tool-
|
|
35
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
34
36
|
import {
|
|
35
37
|
getFileSystem
|
|
36
38
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -16095,26 +16097,6 @@ function assertValidResourceName(name, options = {}) {
|
|
|
16095
16097
|
throw new Error(`${result.message}. ${result.instructions}`);
|
|
16096
16098
|
}
|
|
16097
16099
|
}
|
|
16098
|
-
// ../solution-sdk/src/solution-auth.ts
|
|
16099
|
-
async function getSolutionAuthContext(options) {
|
|
16100
|
-
const ctx = await getAuthContext({
|
|
16101
|
-
tenant: options.tenant,
|
|
16102
|
-
ensureTokenValidityMinutes: options.loginValidity ?? 10,
|
|
16103
|
-
envFilePath: options.envFilePath,
|
|
16104
|
-
requireOrganizationId: true,
|
|
16105
|
-
requireTenantName: true
|
|
16106
|
-
});
|
|
16107
|
-
const organizationId = ctx.organizationId;
|
|
16108
|
-
const tenantName = ctx.tenantName;
|
|
16109
|
-
const basePath = `${ctx.baseUrl}/${organizationId}/${tenantName}/automationsolutions_`;
|
|
16110
|
-
return {
|
|
16111
|
-
accessToken: ctx.accessToken,
|
|
16112
|
-
basePath,
|
|
16113
|
-
organizationId,
|
|
16114
|
-
tenantName,
|
|
16115
|
-
identity: ctx.identity
|
|
16116
|
-
};
|
|
16117
|
-
}
|
|
16118
16100
|
// ../solution-sdk/src/resources/services/sync-resources-from-bindings.ts
|
|
16119
16101
|
var TYPE_IS_IDENTITY_REPLACE_OPTIONS = new Set([
|
|
16120
16102
|
"SameType",
|
|
@@ -16600,7 +16582,7 @@ function mapUipxTypeToReconcileType(uipxType) {
|
|
|
16600
16582
|
const lower = uipxType.toLowerCase();
|
|
16601
16583
|
if (lower === "apiautomation")
|
|
16602
16584
|
return "Api";
|
|
16603
|
-
if (lower === "
|
|
16585
|
+
if (lower === "library" || lower === "tests") {
|
|
16604
16586
|
return null;
|
|
16605
16587
|
}
|
|
16606
16588
|
return uipxType;
|
|
@@ -17068,4 +17050,4 @@ export {
|
|
|
17068
17050
|
writeSolutionFile
|
|
17069
17051
|
};
|
|
17070
17052
|
|
|
17071
|
-
//# debugId=
|
|
17053
|
+
//# debugId=341DEBC9DC0AE67064756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-ffd6p51z.js";
|
|
6
6
|
import"./packager-tool-57pzrd0g.js";
|
|
7
7
|
import"./packager-tool-sq931c23.js";
|
|
8
8
|
import"./packager-tool-xcd87qyx.js";
|
|
9
9
|
import"./packager-tool-mknccck5.js";
|
|
10
10
|
import"./packager-tool-nj4seavy.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
11
|
+
import"./packager-tool-m9f7qxkk.js";
|
|
12
|
+
import"./packager-tool-7nxppa3d.js";
|
|
13
|
+
import"./packager-tool-jfysbxdt.js";
|
|
14
14
|
import"./packager-tool-vepqrsse.js";
|
|
15
15
|
import"./packager-tool-v99ygh9f.js";
|
|
16
16
|
import"./packager-tool-0gctz400.js";
|
|
17
17
|
import"./packager-tool-qa9gftnj.js";
|
|
18
18
|
import"./packager-tool-yc4kw997.js";
|
|
19
19
|
import"./packager-tool-cmwets3m.js";
|
|
20
|
-
import"./packager-tool-
|
|
20
|
+
import"./packager-tool-se70jv85.js";
|
|
21
21
|
import {
|
|
22
22
|
Command
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
24
24
|
import"./packager-tool-xdxr3ync.js";
|
|
25
25
|
import"./packager-tool-1yh8g550.js";
|
|
26
26
|
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
searchNodeSummariesWithAvailability,
|
|
8
8
|
searchNodes,
|
|
9
9
|
searchNodesWithFilters
|
|
10
|
-
} from "./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
10
|
+
} from "./packager-tool-hqq7mjk1.js";
|
|
11
|
+
import"./packager-tool-c31qx8kc.js";
|
|
12
|
+
import"./packager-tool-yz33r3ha.js";
|
|
13
13
|
import"./packager-tool-16q84571.js";
|
|
14
14
|
import"./packager-tool-7q6z6npd.js";
|
|
15
15
|
import"./packager-tool-sc961w0q.js";
|
|
@@ -19,7 +19,7 @@ import"./packager-tool-v99ygh9f.js";
|
|
|
19
19
|
import"./packager-tool-0gctz400.js";
|
|
20
20
|
import"./packager-tool-qa9gftnj.js";
|
|
21
21
|
import"./packager-tool-yc4kw997.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-3q3d1hk8.js";
|
|
23
23
|
import"./packager-tool-xdxr3ync.js";
|
|
24
24
|
import"./packager-tool-1yh8g550.js";
|
|
25
25
|
export {
|
|
@@ -3,6 +3,7 @@ var NAME_BOUND_TASK_TYPES = new Set([
|
|
|
3
3
|
"action",
|
|
4
4
|
"agent",
|
|
5
5
|
"api-workflow",
|
|
6
|
+
"business-rule",
|
|
6
7
|
"case-management",
|
|
7
8
|
"function",
|
|
8
9
|
"process",
|
|
@@ -18,4 +19,4 @@ var BINDING_REFERENCE_PREFIX = "=bindings.";
|
|
|
18
19
|
|
|
19
20
|
export { NAME_BOUND_TASK_TYPES, RESOLVED_IDENTITY_KEYS, BINDING_REFERENCE_PREFIX };
|
|
20
21
|
|
|
21
|
-
//# debugId=
|
|
22
|
+
//# debugId=57CFAE28A705C55664756E2164756E21
|
|
@@ -5552,6 +5552,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
5552
5552
|
["platform", "operate", ["uipath-platform"]],
|
|
5553
5553
|
["quality", "troubleshoot", ["uipath-review"]],
|
|
5554
5554
|
["rpa", "build", ["uipath-rpa"]],
|
|
5555
|
+
["business-rules", "build", ["uipath-rules"]],
|
|
5555
5556
|
["cli", "operate", ["uipath-skill-catalog"]],
|
|
5556
5557
|
["action-center", "operate", ["uipath-tasks"]],
|
|
5557
5558
|
["test-manager", "operate", ["uipath-test"]],
|
|
@@ -5572,6 +5573,7 @@ var COMMAND_ATTRIBUTION = commandAttribution([
|
|
|
5572
5573
|
["coded-apps", "build", ["uip.codedapp"]],
|
|
5573
5574
|
["functions", "build", ["uip.function", "uip.functions"]],
|
|
5574
5575
|
["solution", "build", ["uip.solution"]],
|
|
5576
|
+
["business-rules", "build", ["uip.rules"]],
|
|
5575
5577
|
["maestro", "build", ["uip.maestro", "uip.case", "uip.flow"]],
|
|
5576
5578
|
["llm-observability", "troubleshoot", ["uip.traces"]],
|
|
5577
5579
|
["platform", "operate", ["uip.platform"]],
|
|
@@ -6441,4 +6443,4 @@ var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
|
6441
6443
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
6442
6444
|
export { catchError, extractErrorMessage, getOutputSink, logger, RESULTS, EXIT_CODES, Pagination, pascalCaseDataKeys, OutputFormatter, summarizePlatformBody, InvalidArgumentError, Command, Option, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, isGuid, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, parseBoundedInt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, readStdin };
|
|
6443
6445
|
|
|
6444
|
-
//# debugId=
|
|
6446
|
+
//# debugId=2D4F6421739C686864756E2164756E21
|