@uipath/case-tool 1.204.0-preview.225 → 1.204.0-preview.227
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-2r511fmr.js → case-debug-studio-web-service-ys3eaxqs.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-yvz1q7cn.js → case-validate-service-evsnkk8y.js} +6 -6
- package/dist/{connector-enrichment-service-q0fk1v23.js → connector-enrichment-service-fstpw0y4.js} +13 -13
- package/dist/{connector-lookup-service-cv2gbekt.js → connector-lookup-service-ytzj2jwr.js} +5 -5
- package/dist/{connector-task-spec-k8nsn63e.js → connector-task-spec-fhvpkecc.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-rgw7caht.js → index-4yanx3rn.js} +8 -26
- package/dist/{index-qn4nde3g.js → index-at2pqy96.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/{input-reader-bb0ptk2v.js → input-reader-1tcqt27f.js} +1 -1
- package/dist/{node-sync-service-gka75s0a.js → node-sync-service-ravqe47n.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-xqg0xnwc.js → packager-tool-78gb7qez.js} +5 -5
- package/dist/{packager-tool-sag9gz55.js → packager-tool-7nxppa3d.js} +3 -1
- 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-x4r72ddd.js → packager-tool-fdamxhss.js} +4 -4
- package/dist/{packager-tool-s3e2kepj.js → packager-tool-hvzjm2nk.js} +1 -1
- 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-0p3td5zv.js → packager-tool-s6619wtx.js} +1 -1
- package/dist/{packager-tool-paepfv5d.js → packager-tool-se70jv85.js} +1 -1
- package/dist/{packager-tool-53va8j0t.js → packager-tool-tvv9gfsd.js} +44 -43
- package/dist/{packager-tool-bp6p02er.js → packager-tool-vppkqd3r.js} +3 -3
- package/dist/{packager-tool-37t7x51y.js → packager-tool-vtf1y73a.js} +4 -4
- package/dist/packager-tool-xy04yy0v.js +32 -0
- package/dist/{packager-tool-pm646ag4.js → packager-tool-yfm83bzd.js} +1 -1
- package/dist/{packager-tool-b7t1cna6.js → packager-tool-yvsvywf8.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-ffe502t3.js → resourcesSyncService-60vk5vff.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-b3p77psm.js → trigger-enrichment-service-5kvh8jt8.js} +13 -13
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchConnectorConnections,
|
|
3
3
|
lookupTypeCacheEntry
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-fdamxhss.js";
|
|
5
5
|
import {
|
|
6
6
|
addVarIdsToInputsOutputs,
|
|
7
7
|
buildErrorOutput
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-kpqr938m.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchConnectorMetadata
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-vppkqd3r.js";
|
|
12
12
|
import {
|
|
13
13
|
ElementsApi,
|
|
14
14
|
assertActivityMetadataResolved,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
createApiClient,
|
|
17
17
|
createConfiguredActivityClient,
|
|
18
18
|
extractMultipartParameters
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-yvsvywf8.js";
|
|
20
20
|
import {
|
|
21
21
|
createConnectorBindings
|
|
22
22
|
} from "./packager-tool-sq931c23.js";
|
|
23
23
|
import {
|
|
24
24
|
catchError
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
26
26
|
|
|
27
27
|
// src/services/connector-enrichment-service.ts
|
|
28
28
|
function parseEntryConfiguration(entry) {
|
|
@@ -7,6 +7,7 @@ var RESOURCE_TYPES = [
|
|
|
7
7
|
"caseManagement",
|
|
8
8
|
"flow",
|
|
9
9
|
"function",
|
|
10
|
+
"businessRule",
|
|
10
11
|
"typecache-activities",
|
|
11
12
|
"typecache-triggers",
|
|
12
13
|
"typecache-packages",
|
|
@@ -46,6 +47,7 @@ var GET_SEARCHABLE_TYPES = [
|
|
|
46
47
|
{ type: "caseManagement", idField: "entityKey" },
|
|
47
48
|
{ type: "flow", idField: "entityKey" },
|
|
48
49
|
{ type: "function", idField: "entityKey" },
|
|
50
|
+
{ type: "businessRule", idField: "entityKey" },
|
|
49
51
|
{ type: "action-apps", idField: "id" },
|
|
50
52
|
...TYPECACHE_INDEX_TYPES.map((type) => ({
|
|
51
53
|
type,
|
|
@@ -56,4 +58,4 @@ var GET_SEARCHABLE_TYPES = [
|
|
|
56
58
|
|
|
57
59
|
export { RESOURCE_TYPES, TYPECACHE_ACTIVITY_INDEX_TYPES, TYPECACHE_TRIGGER_INDEX_TYPES, TYPECACHE_PACKAGE_INDEX_TYPES, TYPECACHE_INDEX_TYPES, GET_SEARCHABLE_TYPES };
|
|
58
60
|
|
|
59
|
-
//# debugId=
|
|
61
|
+
//# debugId=BA13E8C5877C3A5264756E2164756E21
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadResourceIndex
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-s6619wtx.js";
|
|
4
4
|
import {
|
|
5
5
|
ConnectorsApi,
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-yvsvywf8.js";
|
|
8
8
|
import {
|
|
9
9
|
TYPECACHE_PACKAGE_INDEX_TYPES
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-7nxppa3d.js";
|
|
11
11
|
import {
|
|
12
12
|
catchError
|
|
13
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
14
14
|
|
|
15
15
|
// src/services/connector-lookup-service.ts
|
|
16
16
|
async function lookupTypeCacheEntry(uiPathActivityTypeId, type) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
addSdkUserAgentHeader,
|
|
6
6
|
getSdkUserAgentToken,
|
|
7
7
|
installSdkUserAgentHeader
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
9
9
|
|
|
10
10
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
11
11
|
var BASE_PATH = "https://alpha.uipath.com/Ada/byoa/orchestrator_".replace(/\/+$/, "");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveJsonInput
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-jfysbxdt.js";
|
|
4
4
|
import {
|
|
5
5
|
getAuthContext
|
|
6
6
|
} from "./packager-tool-v99ygh9f.js";
|
|
7
7
|
import {
|
|
8
8
|
DEBUG_MODE_MAP,
|
|
9
9
|
SIMULATION_MODE_MAP
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-se70jv85.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PAGE_SIZE,
|
|
13
13
|
EXIT_CODES,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
parseLimit,
|
|
24
24
|
parseOffset,
|
|
25
25
|
processContext
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
27
27
|
|
|
28
28
|
// ../maestro-sdk/src/query-string.ts
|
|
29
29
|
function buildQueryString(params) {
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
registerSharedInstanceCommands,
|
|
36
36
|
registerSharedProcessCommands,
|
|
37
37
|
registerSharedProcessesCommands
|
|
38
|
-
} from "./packager-tool-
|
|
38
|
+
} from "./packager-tool-m9f7qxkk.js";
|
|
39
39
|
import {
|
|
40
40
|
GET_SEARCHABLE_TYPES,
|
|
41
41
|
RESOURCE_TYPES,
|
|
42
42
|
TYPECACHE_INDEX_TYPES
|
|
43
|
-
} from "./packager-tool-
|
|
43
|
+
} from "./packager-tool-7nxppa3d.js";
|
|
44
44
|
import {
|
|
45
45
|
VALID_PROJECT_NAME_REGEX,
|
|
46
46
|
formatTraceLine
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
mapPackageMetadataOptions,
|
|
57
57
|
processContext,
|
|
58
58
|
registerPackageMetadataOptions
|
|
59
|
-
} from "./packager-tool-
|
|
59
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
60
60
|
import {
|
|
61
61
|
getFileSystem
|
|
62
62
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -68,7 +68,7 @@ var package_default = {
|
|
|
68
68
|
name: "@uipath/case-tool",
|
|
69
69
|
author: "UiPath",
|
|
70
70
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
71
|
-
version: "1.204.0-preview.
|
|
71
|
+
version: "1.204.0-preview.227",
|
|
72
72
|
description: "Manage Case Management instances, processes, and incidents.",
|
|
73
73
|
private: false,
|
|
74
74
|
repository: {
|
|
@@ -155,7 +155,7 @@ invisible to 'uip solution resources refresh'.
|
|
|
155
155
|
Subcommands:
|
|
156
156
|
sync Write 'bindings_v2.json' next to a case plan.`);
|
|
157
157
|
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) => {
|
|
158
|
-
const { syncCaseBindings } = await import("./case-bindings-service-
|
|
158
|
+
const { syncCaseBindings } = await import("./case-bindings-service-d9vezn69.js");
|
|
159
159
|
const [error, result] = await catchError(syncCaseBindings(file));
|
|
160
160
|
if (error) {
|
|
161
161
|
OutputFormatter.error({
|
|
@@ -862,8 +862,8 @@ function registerDebugCommand(program) {
|
|
|
862
862
|
logger.info(` Tenant: ${tenantName} (${tenantId})`);
|
|
863
863
|
logger.info(` Base URL: ${baseUrl}`);
|
|
864
864
|
const pollInterval = parseInt(options.pollInterval || "2000", 10);
|
|
865
|
-
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-
|
|
866
|
-
const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-
|
|
865
|
+
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-ys3eaxqs.js");
|
|
866
|
+
const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-v0wttthm.js");
|
|
867
867
|
const service = new CaseDebugStudioWebService;
|
|
868
868
|
logger.info(`Starting Studio Web debug session for: ${projectPath}`);
|
|
869
869
|
const [executeError, result] = await catchError(service.executeProjectViaStudioWeb(projectPath, studioWebConfig, {
|
|
@@ -889,7 +889,7 @@ function registerDebugCommand(program) {
|
|
|
889
889
|
const {
|
|
890
890
|
buildSolutionUploadFailureOutput,
|
|
891
891
|
isSolutionUploadHttpError
|
|
892
|
-
} = await import("./index-
|
|
892
|
+
} = await import("./index-at2pqy96.js");
|
|
893
893
|
if (isSolutionUploadHttpError(executeError)) {
|
|
894
894
|
OutputFormatter.error(buildSolutionUploadFailureOutput(executeError, {
|
|
895
895
|
subject: "case",
|
|
@@ -1235,7 +1235,7 @@ var CASE_FORMAT_EXAMPLES = [
|
|
|
1235
1235
|
];
|
|
1236
1236
|
var registerFormatCommand = (program) => {
|
|
1237
1237
|
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) => {
|
|
1238
|
-
const { formatCasePlan } = await import("./case-format-service-
|
|
1238
|
+
const { formatCasePlan } = await import("./case-format-service-yb48785t.js");
|
|
1239
1239
|
const [error, result] = await catchError(formatCasePlan(file));
|
|
1240
1240
|
if (error) {
|
|
1241
1241
|
OutputFormatter.error({
|
|
@@ -1298,7 +1298,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1298
1298
|
throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
|
|
1299
1299
|
}
|
|
1300
1300
|
const fs = getFileSystem();
|
|
1301
|
-
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-
|
|
1301
|
+
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-at2pqy96.js");
|
|
1302
1302
|
const { projectDir, autoCreatedSolution } = await prepareProjectLocation(fs, fs.path.resolve(name), name, { skipRegistration: options.skipSolutionRegistration === true });
|
|
1303
1303
|
const projectDirExists = await fs.stat(projectDir).then(() => true).catch((err) => {
|
|
1304
1304
|
const code = err instanceof Error ? err.code : undefined;
|
|
@@ -1394,7 +1394,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1394
1394
|
const solutionRegistration = await tryRegisterProjectInParentSolution(fs, projectDir, { skipRegistration: options.skipSolutionRegistration === true });
|
|
1395
1395
|
let projectArtifacts;
|
|
1396
1396
|
if ((solutionRegistration.Status === "Registered" || solutionRegistration.Status === "AlreadyRegistered") && solutionRegistration.Solution && solutionRegistration.ProjectId) {
|
|
1397
|
-
const { ensureProjectArtifacts } = await import("./project-artifacts-
|
|
1397
|
+
const { ensureProjectArtifacts } = await import("./project-artifacts-rng5m6r2.js");
|
|
1398
1398
|
projectArtifacts = await ensureProjectArtifacts({
|
|
1399
1399
|
solutionDir: fs.path.dirname(solutionRegistration.Solution),
|
|
1400
1400
|
projectId: solutionRegistration.ProjectId,
|
|
@@ -1450,7 +1450,7 @@ var registerInstancesCommand = (program) => {
|
|
|
1450
1450
|
|
|
1451
1451
|
// src/commands/job.ts
|
|
1452
1452
|
var loadAuth = () => import("./index-j2r3jb6c.js");
|
|
1453
|
-
var loadCaseApi = () => import("./case-api-
|
|
1453
|
+
var loadCaseApi = () => import("./case-api-rvamfn02.js");
|
|
1454
1454
|
var CASE_JOB_STATUS_EXAMPLES = [
|
|
1455
1455
|
{
|
|
1456
1456
|
Description: "Get detailed status of a case job",
|
|
@@ -1696,7 +1696,7 @@ var CASE_PACK_EXAMPLES = [
|
|
|
1696
1696
|
var registerPackCommand = (program) => {
|
|
1697
1697
|
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");
|
|
1698
1698
|
registerPackageMetadataOptions(command).examples(CASE_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
1699
|
-
const { CasePackService } = await import("./case-pack-service-
|
|
1699
|
+
const { CasePackService } = await import("./case-pack-service-9185h6ez.js");
|
|
1700
1700
|
const service = new CasePackService;
|
|
1701
1701
|
const [error, result] = await catchError(service.execute(projectPath, {
|
|
1702
1702
|
output: outputPath,
|
|
@@ -1779,7 +1779,7 @@ var CASE_PROCESS_RUN_EXAMPLES = [
|
|
|
1779
1779
|
}
|
|
1780
1780
|
];
|
|
1781
1781
|
var loadAuth2 = () => import("./index-j2r3jb6c.js");
|
|
1782
|
-
var loadCaseApi2 = () => import("./case-api-
|
|
1782
|
+
var loadCaseApi2 = () => import("./case-api-rvamfn02.js");
|
|
1783
1783
|
function registerProcessCommand(program) {
|
|
1784
1784
|
const processCmd = program.command("process").description("Manage Case processes");
|
|
1785
1785
|
registerSharedProcessCommands(processCmd, { toolLabel: "Case" });
|
|
@@ -2017,7 +2017,7 @@ function registerProcessCommand(program) {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
inputs = parsed;
|
|
2019
2019
|
} else {
|
|
2020
|
-
const { readStdin } = await import("./input-reader-
|
|
2020
|
+
const { readStdin } = await import("./input-reader-1tcqt27f.js");
|
|
2021
2021
|
const [stdinError, stdinData] = await catchError(readStdin());
|
|
2022
2022
|
if (!stdinError && stdinData) {
|
|
2023
2023
|
const [parseError, parsed] = await catchError(parseCaseInputs(stdinData));
|
|
@@ -2333,7 +2333,7 @@ Subcommands:
|
|
|
2333
2333
|
search Find resources by keyword and/or field filters
|
|
2334
2334
|
get Get full schema for a single resource`);
|
|
2335
2335
|
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) => {
|
|
2336
|
-
const { pullResources } = await import("./resourcesSyncService-
|
|
2336
|
+
const { pullResources } = await import("./resourcesSyncService-60vk5vff.js");
|
|
2337
2337
|
const [mapError, promises] = catchError(() => RESOURCE_TYPES.map((type) => pullResources({
|
|
2338
2338
|
force: options.force,
|
|
2339
2339
|
solutionId: options.solutionId
|
|
@@ -2385,7 +2385,7 @@ Subcommands:
|
|
|
2385
2385
|
processContext.exit(1);
|
|
2386
2386
|
return;
|
|
2387
2387
|
}
|
|
2388
|
-
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-
|
|
2388
|
+
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-60vk5vff.js");
|
|
2389
2389
|
let searchResult;
|
|
2390
2390
|
if (options.filter) {
|
|
2391
2391
|
const [parseError, filters] = catchError(() => parseFilterString(options.filter));
|
|
@@ -2443,7 +2443,7 @@ Subcommands:
|
|
|
2443
2443
|
});
|
|
2444
2444
|
});
|
|
2445
2445
|
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) => {
|
|
2446
|
-
const { listLocalResources, listResources } = await import("./resourcesSyncService-
|
|
2446
|
+
const { listLocalResources, listResources } = await import("./resourcesSyncService-60vk5vff.js");
|
|
2447
2447
|
let grouped;
|
|
2448
2448
|
if (options.local) {
|
|
2449
2449
|
const [localError, localGrouped] = await catchError(listLocalResources());
|
|
@@ -2490,7 +2490,7 @@ Subcommands:
|
|
|
2490
2490
|
});
|
|
2491
2491
|
});
|
|
2492
2492
|
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) => {
|
|
2493
|
-
const { getResources } = await import("./resourcesSyncService-
|
|
2493
|
+
const { getResources } = await import("./resourcesSyncService-60vk5vff.js");
|
|
2494
2494
|
const [error, matches] = await catchError(getResources(identifier, options.type, {
|
|
2495
2495
|
local: options.local
|
|
2496
2496
|
}));
|
|
@@ -2527,11 +2527,11 @@ Subcommands:
|
|
|
2527
2527
|
const id = m.resource.uiPathActivityTypeId;
|
|
2528
2528
|
if (typeof id !== "string")
|
|
2529
2529
|
return m;
|
|
2530
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2530
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-ytzj2jwr.js");
|
|
2531
2531
|
const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(id, m.resourceType));
|
|
2532
2532
|
if (lookupError)
|
|
2533
2533
|
return m;
|
|
2534
|
-
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-
|
|
2534
|
+
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-fstpw0y4.js");
|
|
2535
2535
|
const [enrichError, definitions] = await catchError(enrichConnectorRegistryEntry(lookupResult.config, options.connectionId));
|
|
2536
2536
|
if (enrichError || definitions === null)
|
|
2537
2537
|
return m;
|
|
@@ -2557,7 +2557,7 @@ Subcommands:
|
|
|
2557
2557
|
});
|
|
2558
2558
|
});
|
|
2559
2559
|
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) => {
|
|
2560
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2560
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-ytzj2jwr.js");
|
|
2561
2561
|
const [error, result] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2562
2562
|
if (error) {
|
|
2563
2563
|
OutputFormatter.error({
|
|
@@ -2578,7 +2578,7 @@ Subcommands:
|
|
|
2578
2578
|
}, { preserveDataKeys: VERBATIM_REGISTRY_FIELDS });
|
|
2579
2579
|
});
|
|
2580
2580
|
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) => {
|
|
2581
|
-
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2581
|
+
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-ytzj2jwr.js");
|
|
2582
2582
|
const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2583
2583
|
if (lookupError) {
|
|
2584
2584
|
OutputFormatter.error({
|
|
@@ -2725,7 +2725,7 @@ var registerSddCommand = (program) => {
|
|
|
2725
2725
|
reportReadFailure(file, readError);
|
|
2726
2726
|
return;
|
|
2727
2727
|
}
|
|
2728
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2728
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-4aqdeh59.js");
|
|
2729
2729
|
const [parseError, model] = catchError(() => parseSddToJson(text));
|
|
2730
2730
|
if (parseError) {
|
|
2731
2731
|
reportParseFailure(file, parseError);
|
|
@@ -2756,8 +2756,8 @@ var registerSddCommand = (program) => {
|
|
|
2756
2756
|
reportReadFailure(file, readError);
|
|
2757
2757
|
return;
|
|
2758
2758
|
}
|
|
2759
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2760
|
-
const { resolveSddResources } = await import("./sdd-resolve-service-
|
|
2759
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-4aqdeh59.js");
|
|
2760
|
+
const { resolveSddResources } = await import("./sdd-resolve-service-mjqad2nn.js");
|
|
2761
2761
|
const [parseError, model] = catchError(() => parseSddToJson(text));
|
|
2762
2762
|
if (parseError) {
|
|
2763
2763
|
reportParseFailure(file, parseError);
|
|
@@ -2789,7 +2789,7 @@ var registerSddCommand = (program) => {
|
|
|
2789
2789
|
return;
|
|
2790
2790
|
}
|
|
2791
2791
|
}
|
|
2792
|
-
const { staleCacheWarning } = await import("./sdd-resolve-service-
|
|
2792
|
+
const { staleCacheWarning } = await import("./sdd-resolve-service-mjqad2nn.js");
|
|
2793
2793
|
const warnings = [
|
|
2794
2794
|
...result.scope.missingIndexes.map((missing) => `The \`${missing}\` index is not pulled, so tasks needing it were not searched. Run \`uip maestro case registry pull\`.`),
|
|
2795
2795
|
staleCacheWarning(result.scope.cache)
|
|
@@ -2844,8 +2844,8 @@ var registerSddCommand = (program) => {
|
|
|
2844
2844
|
reportReadFailure(file, readError);
|
|
2845
2845
|
return;
|
|
2846
2846
|
}
|
|
2847
|
-
const { parseSddToJson } = await import("./strict-sdd-audit-
|
|
2848
|
-
const { convertSddToCasePlan } = await import("./sdd-convert-service-
|
|
2847
|
+
const { parseSddToJson } = await import("./strict-sdd-audit-4aqdeh59.js");
|
|
2848
|
+
const { convertSddToCasePlan } = await import("./sdd-convert-service-vf0ps358.js");
|
|
2849
2849
|
let resolved;
|
|
2850
2850
|
let resolvedEntries = [];
|
|
2851
2851
|
if (options.resolved !== undefined) {
|
|
@@ -2959,7 +2959,7 @@ var registerSddCommand = (program) => {
|
|
|
2959
2959
|
...resolved !== undefined && { resolved }
|
|
2960
2960
|
});
|
|
2961
2961
|
if (options.out !== undefined) {
|
|
2962
|
-
const { correctedConvert, projectsBelowOut } = await import("./out-target-
|
|
2962
|
+
const { correctedConvert, projectsBelowOut } = await import("./out-target-jakehnd3.js");
|
|
2963
2963
|
const meant = await projectsBelowOut(fs, options.out);
|
|
2964
2964
|
if (meant.length > 0) {
|
|
2965
2965
|
const corrected = meant.length === 1 ? correctedConvert(file, meant[0], options.resolved) : undefined;
|
|
@@ -3775,7 +3775,7 @@ var registerSpecCommand = (program) => {
|
|
|
3775
3775
|
triggerKind: options.triggerKind,
|
|
3776
3776
|
inputDetails: parsedInputDetails
|
|
3777
3777
|
};
|
|
3778
|
-
const { fetchConnectorTaskSpec } = await import("./connector-task-spec-
|
|
3778
|
+
const { fetchConnectorTaskSpec } = await import("./connector-task-spec-fhvpkecc.js");
|
|
3779
3779
|
const [error, spec] = await catchError(fetchConnectorTaskSpec(options.type, options.activityTypeId, options.connectionId, fetchOpts));
|
|
3780
3780
|
if (error) {
|
|
3781
3781
|
OutputFormatter.error({
|
|
@@ -3819,7 +3819,7 @@ var SPLICE_EXAMPLES = [
|
|
|
3819
3819
|
}
|
|
3820
3820
|
];
|
|
3821
3821
|
var registerSpliceCommand = (program) => {
|
|
3822
|
-
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, 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) => {
|
|
3822
|
+
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) => {
|
|
3823
3823
|
const { getFileSystemAsync } = await import("./index-hhsf00x8.js");
|
|
3824
3824
|
const fs = await getFileSystemAsync();
|
|
3825
3825
|
const mode = options.described !== undefined ? "described" : "spec";
|
|
@@ -3887,7 +3887,7 @@ var registerSpliceCommand = (program) => {
|
|
|
3887
3887
|
}
|
|
3888
3888
|
const taskId = selected.id;
|
|
3889
3889
|
if (mode === "described") {
|
|
3890
|
-
const { applyDescribedIo, isDescribedIoFailure } = await import("./case-described-io-service-
|
|
3890
|
+
const { applyDescribedIo, isDescribedIoFailure } = await import("./case-described-io-service-14hdnqcc.js");
|
|
3891
3891
|
const applied = applyDescribedIo(plan, specDocument, {
|
|
3892
3892
|
taskId
|
|
3893
3893
|
});
|
|
@@ -3935,7 +3935,7 @@ var registerSpliceCommand = (program) => {
|
|
|
3935
3935
|
processContext.exit(1);
|
|
3936
3936
|
return;
|
|
3937
3937
|
}
|
|
3938
|
-
const { spliceConnectorShape, isSpliceFailure } = await import("./case-splice-service-
|
|
3938
|
+
const { spliceConnectorShape, isSpliceFailure } = await import("./case-splice-service-tkmb7xjp.js");
|
|
3939
3939
|
const result = spliceConnectorShape(plan, caseShape, {
|
|
3940
3940
|
taskId,
|
|
3941
3941
|
connectionId: options.connectionId,
|
|
@@ -5831,9 +5831,9 @@ var TASKS_DESCRIBE_EXAMPLES = [
|
|
|
5831
5831
|
}
|
|
5832
5832
|
}
|
|
5833
5833
|
];
|
|
5834
|
-
var loadConnectorEnrichment = () => import("./connector-enrichment-service-
|
|
5835
|
-
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-
|
|
5836
|
-
var loadEnrichment = () => import("./enrichment-service-
|
|
5834
|
+
var loadConnectorEnrichment = () => import("./connector-enrichment-service-fstpw0y4.js");
|
|
5835
|
+
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-5kvh8jt8.js");
|
|
5836
|
+
var loadEnrichment = () => import("./enrichment-service-3f1kygjs.js");
|
|
5837
5837
|
var TASK_TYPES = [
|
|
5838
5838
|
"process",
|
|
5839
5839
|
"action",
|
|
@@ -5850,6 +5850,7 @@ var ENRICHABLE_TYPES = [
|
|
|
5850
5850
|
"process",
|
|
5851
5851
|
"agent",
|
|
5852
5852
|
"rpa",
|
|
5853
|
+
"business-rule",
|
|
5853
5854
|
"action",
|
|
5854
5855
|
"api-workflow",
|
|
5855
5856
|
"case-management",
|
|
@@ -6867,7 +6868,7 @@ var registerTriggersCommand = (program) => {
|
|
|
6867
6868
|
const result = await readAndBuildTrigger(file, options.displayName, options.position, options.description);
|
|
6868
6869
|
if (result.error)
|
|
6869
6870
|
return;
|
|
6870
|
-
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-
|
|
6871
|
+
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-5kvh8jt8.js");
|
|
6871
6872
|
const [enrichError, enrichment] = await catchError(enrichConnectorTrigger("start", options.typeId, options.connectionId, parsedEventParams));
|
|
6872
6873
|
if (enrichError) {
|
|
6873
6874
|
OutputFormatter.error({
|
|
@@ -7000,11 +7001,11 @@ var toIssueData = (issues) => issues.map((issue) => ({
|
|
|
7000
7001
|
Severity: issue.severity
|
|
7001
7002
|
}));
|
|
7002
7003
|
var suppressedAudit = async (file, shown) => {
|
|
7003
|
-
const { findAdjacentSdd } = await import("./sdd-lookup-
|
|
7004
|
+
const { findAdjacentSdd } = await import("./sdd-lookup-dwzpvvwn.js");
|
|
7004
7005
|
const [lookupError, sdd] = await catchError(Promise.resolve(findAdjacentSdd(file)));
|
|
7005
7006
|
if (lookupError || sdd === undefined)
|
|
7006
7007
|
return;
|
|
7007
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7008
|
+
const { CaseValidateService } = await import("./case-validate-service-evsnkk8y.js");
|
|
7008
7009
|
const [auditError, audited] = await catchError(new CaseValidateService().validateFileUsingSDK(file, {
|
|
7009
7010
|
profile: "strict",
|
|
7010
7011
|
sddPath: sdd
|
|
@@ -7020,7 +7021,7 @@ var suppressedAudit = async (file, shown) => {
|
|
|
7020
7021
|
};
|
|
7021
7022
|
};
|
|
7022
7023
|
var executeCaseValidate = async (file, options = {}) => {
|
|
7023
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7024
|
+
const { CaseValidateService } = await import("./case-validate-service-evsnkk8y.js");
|
|
7024
7025
|
const service = new CaseValidateService;
|
|
7025
7026
|
const [error, result] = await catchError(service.validateFileUsingSDK(file, {
|
|
7026
7027
|
profile: resolveProfile(options),
|
|
@@ -7411,7 +7412,7 @@ var metadata = {
|
|
|
7411
7412
|
commandPrefix: "case"
|
|
7412
7413
|
};
|
|
7413
7414
|
var registerCommands = async (program) => {
|
|
7414
|
-
const { registerCaseAuthoringCommands } = await import("./authoring-
|
|
7415
|
+
const { registerCaseAuthoringCommands } = await import("./authoring-6ckkzfc9.js");
|
|
7415
7416
|
registerCaseAuthoringCommands(program);
|
|
7416
7417
|
registerInitCommand(program);
|
|
7417
7418
|
registerSddCommand(program);
|
|
@@ -7445,4 +7446,4 @@ var registerCommands = async (program) => {
|
|
|
7445
7446
|
|
|
7446
7447
|
export { metadata, registerCommands };
|
|
7447
7448
|
|
|
7448
|
-
//# debugId=
|
|
7449
|
+
//# debugId=1A313BA79CA96C6D64756E2164756E21
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMaestroRegistry
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-c31qx8kc.js";
|
|
4
4
|
import {
|
|
5
5
|
ConnectionsApi,
|
|
6
6
|
ElementsApi,
|
|
7
7
|
createApiClient,
|
|
8
8
|
getConnectorActivityMetadataV4,
|
|
9
9
|
isV4ActivityConfiguration
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-yvsvywf8.js";
|
|
11
11
|
import {
|
|
12
12
|
MANIFEST_FEATURE_FLAGS,
|
|
13
13
|
ManifestClient,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
catchError,
|
|
25
25
|
hashContent,
|
|
26
26
|
logger
|
|
27
|
-
} from "./packager-tool-
|
|
27
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
28
28
|
import {
|
|
29
29
|
getFileSystem
|
|
30
30
|
} from "./packager-tool-xdxr3ync.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readUipxFile
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-yfm83bzd.js";
|
|
4
4
|
import {
|
|
5
5
|
zipSync
|
|
6
6
|
} from "./packager-tool-b098y4a2.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
installSdkUserAgentHeader,
|
|
13
13
|
logger,
|
|
14
14
|
summarizePlatformBody
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
16
16
|
|
|
17
17
|
// ../solution-sdk/generated/src/runtime.ts
|
|
18
18
|
var BASE_PATH = "https://alpha.uipath.com/uipattycyrhx/abizon_1/automationsolutions_".replace(/\/+$/, "");
|
|
@@ -314,7 +314,7 @@ var package_default = {
|
|
|
314
314
|
name: "@uipath/solution-sdk",
|
|
315
315
|
author: "UiPath",
|
|
316
316
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
317
|
-
version: "1.204.0-preview.
|
|
317
|
+
version: "1.204.0-preview.227",
|
|
318
318
|
repository: {
|
|
319
319
|
type: "git",
|
|
320
320
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -5072,4 +5072,4 @@ async function uploadOrOverwriteSolution(config, organizationName, fileBufferOrP
|
|
|
5072
5072
|
}
|
|
5073
5073
|
export { BASE_PATH, Configuration, DefaultConfig, BaseAPI, ResponseError, FetchError, RequiredError, COLLECTION_FORMATS, querystring, exists, mapValues, canConsumeForm, JSONApiResponse, VoidApiResponse, BlobApiResponse, TextApiResponse, SDK_USER_AGENT, getAvailablePublishLocationsV2, instanceOfResponseDictionaryDto, ResponseDictionaryDtoFromJSON, ResponseDictionaryDtoFromJSONTyped, ResponseDictionaryDtoToJSON, ResponseDictionaryDtoToJSONTyped, instanceOfBlobFileAccessDto, BlobFileAccessDtoFromJSON, BlobFileAccessDtoFromJSONTyped, BlobFileAccessDtoToJSON, BlobFileAccessDtoToJSONTyped, instanceOfCreateConfigurationCommand, CreateConfigurationCommandFromJSON, CreateConfigurationCommandFromJSONTyped, CreateConfigurationCommandToJSON, CreateConfigurationCommandToJSONTyped, DeploymentActivationStatus, instanceOfDeploymentActivationStatus, DeploymentActivationStatusFromJSON, DeploymentActivationStatusFromJSONTyped, DeploymentActivationStatusToJSON, DeploymentActivationStatusToJSONTyped, OverwriteType, instanceOfOverwriteType, OverwriteTypeFromJSON, OverwriteTypeFromJSONTyped, OverwriteTypeToJSON, OverwriteTypeToJSONTyped, instanceOfOverwrite, OverwriteFromJSON, OverwriteFromJSONTyped, OverwriteToJSON, OverwriteToJSONTyped, instanceOfResourceOverwrite, ResourceOverwriteFromJSON, ResourceOverwriteFromJSONTyped, ResourceOverwriteToJSON, ResourceOverwriteToJSONTyped, instanceOfRuntimeSetup, RuntimeSetupFromJSON, RuntimeSetupFromJSONTyped, RuntimeSetupToJSON, RuntimeSetupToJSONTyped, instanceOfDeploymentAutoRequest, DeploymentAutoRequestFromJSON, DeploymentAutoRequestFromJSONTyped, DeploymentAutoRequestToJSON, DeploymentAutoRequestToJSONTyped, instanceOfDeploymentDto, DeploymentDtoFromJSON, DeploymentDtoFromJSONTyped, DeploymentDtoToJSON, DeploymentDtoToJSONTyped, WorkflowAction, instanceOfWorkflowAction, WorkflowActionFromJSON, WorkflowActionFromJSONTyped, WorkflowActionToJSON, WorkflowActionToJSONTyped, DeploymentOperation, instanceOfDeploymentOperation, DeploymentOperationFromJSON, DeploymentOperationFromJSONTyped, DeploymentOperationToJSON, DeploymentOperationToJSONTyped, PackageVersionOrigin, instanceOfPackageVersionOrigin, PackageVersionOriginFromJSON, PackageVersionOriginFromJSONTyped, PackageVersionOriginToJSON, PackageVersionOriginToJSONTyped, DeploymentOperationStatus, instanceOfDeploymentOperationStatus, DeploymentOperationStatusFromJSON, DeploymentOperationStatusFromJSONTyped, DeploymentOperationStatusToJSON, DeploymentOperationStatusToJSONTyped, DeploymentUpgradeType, instanceOfDeploymentUpgradeType, DeploymentUpgradeTypeFromJSON, DeploymentUpgradeTypeFromJSONTyped, DeploymentUpgradeTypeToJSON, DeploymentUpgradeTypeToJSONTyped, DeploymentStatus, instanceOfDeploymentStatus, DeploymentStatusFromJSON, DeploymentStatusFromJSONTyped, DeploymentStatusToJSON, DeploymentStatusToJSONTyped, instanceOfDeploymentItemDto, DeploymentItemDtoFromJSON, DeploymentItemDtoFromJSONTyped, DeploymentItemDtoToJSON, DeploymentItemDtoToJSONTyped, instanceOfDeploymentRequest, DeploymentRequestFromJSON, DeploymentRequestFromJSONTyped, DeploymentRequestToJSON, DeploymentRequestToJSONTyped, DeploymentResourceValidationAction, instanceOfDeploymentResourceValidationAction, DeploymentResourceValidationActionFromJSON, DeploymentResourceValidationActionFromJSONTyped, DeploymentResourceValidationActionToJSON, DeploymentResourceValidationActionToJSONTyped, ResetConfigurationSource, instanceOfResetConfigurationSource, ResetConfigurationSourceFromJSON, ResetConfigurationSourceFromJSONTyped, ResetConfigurationSourceToJSON, ResetConfigurationSourceToJSONTyped, DeploymentUpgradeState, instanceOfDeploymentUpgradeState, DeploymentUpgradeStateFromJSON, DeploymentUpgradeStateFromJSONTyped, DeploymentUpgradeStateToJSON, DeploymentUpgradeStateToJSONTyped, instanceOfDeploymentResourceReplacementDto, DeploymentResourceReplacementDtoFromJSON, DeploymentResourceReplacementDtoFromJSONTyped, DeploymentResourceReplacementDtoToJSON, DeploymentResourceReplacementDtoToJSONTyped, instanceOfFolderInfo, FolderInfoFromJSON, FolderInfoFromJSONTyped, FolderInfoToJSON, FolderInfoToJSONTyped, instanceOfDeploymentResourceInfo, DeploymentResourceInfoFromJSON, DeploymentResourceInfoFromJSONTyped, DeploymentResourceInfoToJSON, DeploymentResourceInfoToJSONTyped, DeploymentResourceValidationErrorKind, instanceOfDeploymentResourceValidationErrorKind, DeploymentResourceValidationErrorKindFromJSON, DeploymentResourceValidationErrorKindFromJSONTyped, DeploymentResourceValidationErrorKindToJSON, DeploymentResourceValidationErrorKindToJSONTyped, DeploymentResourceValidationErrorLevel, instanceOfDeploymentResourceValidationErrorLevel, DeploymentResourceValidationErrorLevelFromJSON, DeploymentResourceValidationErrorLevelFromJSONTyped, DeploymentResourceValidationErrorLevelToJSON, DeploymentResourceValidationErrorLevelToJSONTyped, DeploymentType, instanceOfDeploymentType, DeploymentTypeFromJSON, DeploymentTypeFromJSONTyped, DeploymentTypeToJSON, DeploymentTypeToJSONTyped, instanceOfDeploymentSearchItemDto2, DeploymentSearchItemDto2FromJSON, DeploymentSearchItemDto2FromJSONTyped, DeploymentSearchItemDto2ToJSON, DeploymentSearchItemDto2ToJSONTyped, instanceOfServiceMessage, ServiceMessageFromJSON, ServiceMessageFromJSONTyped, ServiceMessageToJSON, ServiceMessageToJSONTyped, instanceOfResourceValidationError, ResourceValidationErrorFromJSON, ResourceValidationErrorFromJSONTyped, ResourceValidationErrorToJSON, ResourceValidationErrorToJSONTyped, instanceOfResourceValidationDto, ResourceValidationDtoFromJSON, ResourceValidationDtoFromJSONTyped, ResourceValidationDtoToJSON, ResourceValidationDtoToJSONTyped, instanceOfDeploymentValidationResultDto, DeploymentValidationResultDtoFromJSON, DeploymentValidationResultDtoFromJSONTyped, DeploymentValidationResultDtoToJSON, DeploymentValidationResultDtoToJSONTyped, OrderByDirection, instanceOfOrderByDirection, OrderByDirectionFromJSON, OrderByDirectionFromJSONTyped, OrderByDirectionToJSON, OrderByDirectionToJSONTyped, instanceOfDeploymentsSearchRequest2, DeploymentsSearchRequest2FromJSON, DeploymentsSearchRequest2FromJSONTyped, DeploymentsSearchRequest2ToJSON, DeploymentsSearchRequest2ToJSONTyped, ExtendedPackageVersionState, instanceOfExtendedPackageVersionState, ExtendedPackageVersionStateFromJSON, ExtendedPackageVersionStateFromJSONTyped, ExtendedPackageVersionStateToJSON, ExtendedPackageVersionStateToJSONTyped, instanceOfLocationDto, LocationDtoFromJSON, LocationDtoFromJSONTyped, LocationDtoToJSON, LocationDtoToJSONTyped, instanceOfPackageInfo, PackageInfoFromJSON, PackageInfoFromJSONTyped, PackageInfoToJSON, PackageInfoToJSONTyped, instanceOfResourceStats, ResourceStatsFromJSON, ResourceStatsFromJSONTyped, ResourceStatsToJSON, ResourceStatsToJSONTyped, instanceOfPackageVersionResourceDto, PackageVersionResourceDtoFromJSON, PackageVersionResourceDtoFromJSONTyped, PackageVersionResourceDtoToJSON, PackageVersionResourceDtoToJSONTyped, instanceOfPackageVersionComponentsDto, PackageVersionComponentsDtoFromJSON, PackageVersionComponentsDtoFromJSONTyped, PackageVersionComponentsDtoToJSON, PackageVersionComponentsDtoToJSONTyped, instanceOfPackageVersionInfoDto, PackageVersionInfoDtoFromJSON, PackageVersionInfoDtoFromJSONTyped, PackageVersionInfoDtoToJSON, PackageVersionInfoDtoToJSONTyped, instanceOfPageInfoDtoOfDeploymentResourceInfo, PageInfoDtoOfDeploymentResourceInfoFromJSON, PageInfoDtoOfDeploymentResourceInfoFromJSONTyped, PageInfoDtoOfDeploymentResourceInfoToJSON, PageInfoDtoOfDeploymentResourceInfoToJSONTyped, instanceOfPageInfoDtoOfDeploymentSearchItemDto2, PageInfoDtoOfDeploymentSearchItemDto2FromJSON, PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped, PageInfoDtoOfDeploymentSearchItemDto2ToJSON, PageInfoDtoOfDeploymentSearchItemDto2ToJSONTyped, instanceOfPageInfoDtoOfPackageInfo, PageInfoDtoOfPackageInfoFromJSON, PageInfoDtoOfPackageInfoFromJSONTyped, PageInfoDtoOfPackageInfoToJSON, PageInfoDtoOfPackageInfoToJSONTyped, instanceOfProblemDetails, ProblemDetailsFromJSON, ProblemDetailsFromJSONTyped, ProblemDetailsToJSON, ProblemDetailsToJSONTyped, instanceOfProjectCreateRequest, ProjectCreateRequestFromJSON, ProjectCreateRequestFromJSONTyped, ProjectCreateRequestToJSON, ProjectCreateRequestToJSONTyped, ProjectImportStatus, instanceOfProjectImportStatus, ProjectImportStatusFromJSON, ProjectImportStatusFromJSONTyped, ProjectImportStatusToJSON, ProjectImportStatusToJSONTyped, instanceOfProjectDto, ProjectDtoFromJSON2 as ProjectDtoFromJSON, ProjectDtoFromJSONTyped3 as ProjectDtoFromJSONTyped, ProjectDtoToJSON2 as ProjectDtoToJSON, ProjectDtoToJSONTyped2 as ProjectDtoToJSONTyped, instanceOfSearchFilter, SearchFilterFromJSON, SearchFilterFromJSONTyped, SearchFilterToJSON, SearchFilterToJSONTyped, SolutionDeploymentAction, instanceOfSolutionDeploymentAction, SolutionDeploymentActionFromJSON, SolutionDeploymentActionFromJSONTyped, SolutionDeploymentActionToJSON, SolutionDeploymentActionToJSONTyped, ConfigurationsApi, DeploymentsApi, PackagesApi, ProjectsApi, SearchApi, SettingsApi, StudioWebIncompatibleProjectError, collectFiles, createZipFromDir, finalizeZip64, bundleSolution, buildSolutionPackageFromDir, isDebugProvisioningTerminal, isDebugProvisioningSucceeded, getProjectDebugStatus, searchPackageVersions, getStudioWebSolutionProjects, listStudioWebSolutions, SolutionUploadHttpError, isSolutionUploadHttpError, buildSolutionUploadFailureOutput, solutionExistsOnStudioWeb, importSolution, overwriteSolution, uploadOrOverwriteSolution };
|
|
5074
5074
|
|
|
5075
|
-
//# debugId=
|
|
5075
|
+
//# debugId=CE2E9E375E4A4A3B64756E2164756E21
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
catchError
|
|
3
|
+
} from "./packager-tool-3q3d1hk8.js";
|
|
4
|
+
|
|
5
|
+
// src/services/business-rule-outputs.ts
|
|
6
|
+
var DECISION_KEYED_SCHEMA_KEY = "x-uipath-decision-keyed";
|
|
7
|
+
function flattenDecisionKeyedSchema(output) {
|
|
8
|
+
const schema = typeof output === "string" ? catchError(() => JSON.parse(output))[1] : output;
|
|
9
|
+
if (!schema || typeof schema !== "object" || schema[DECISION_KEYED_SCHEMA_KEY] !== true) {
|
|
10
|
+
return output;
|
|
11
|
+
}
|
|
12
|
+
const { properties, definitions, $defs } = schema;
|
|
13
|
+
if (!properties || Object.keys(properties).length === 0) {
|
|
14
|
+
return output;
|
|
15
|
+
}
|
|
16
|
+
const columns = Object.create(null);
|
|
17
|
+
for (const decision of Object.values(properties)) {
|
|
18
|
+
for (const [name, column] of Object.entries(decision.properties ?? {})) {
|
|
19
|
+
columns[name] ??= column;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
type: "object",
|
|
24
|
+
properties: columns,
|
|
25
|
+
...definitions ? { definitions } : {},
|
|
26
|
+
...$defs ? { $defs } : {}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { flattenDecisionKeyedSchema };
|
|
31
|
+
|
|
32
|
+
//# debugId=C54007C256101CD364756E2164756E21
|