@uipath/case-tool 1.207.0-preview.336 → 1.207.0-preview.337
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-3h3qh9b8.js → authoring-5v9ajf66.js} +13 -6
- package/dist/{case-debug-solution-projects-vp5gg1g7.js → case-debug-solution-projects-d5nrywd2.js} +1 -1
- package/dist/{case-debug-studio-web-service-jrqvxqjz.js → case-debug-studio-web-service-zdgqr91y.js} +2 -2
- package/dist/{case-pack-service-t93vxj8y.js → case-pack-service-mvnry7t2.js} +1 -1
- package/dist/{case-validate-service-jgwqtszm.js → case-validate-service-xmh3d9vg.js} +1 -1
- package/dist/{connector-enrichment-service-m8me3nkj.js → connector-enrichment-service-hs2d1a58.js} +5 -5
- package/dist/{connector-lookup-service-4x99dqcs.js → connector-lookup-service-w01cnanp.js} +2 -2
- package/dist/{index-7sam9rfn.js → index-fggth62h.js} +2 -2
- package/dist/{index-rgecmtep.js → index-g22j3v6z.js} +3 -3
- package/dist/{index-aang773g.js → index-kw8s47s9.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{integration-service-fetcher-ap1629gw.js → integration-service-fetcher-fv5p07c5.js} +2 -2
- package/dist/{node-sync-service-6kmh4dk0.js → node-sync-service-7agh1jp4.js} +3 -3
- package/dist/{packager-tool-vygvy662.js → packager-tool-15n0wenx.js} +1 -1
- package/dist/{packager-tool-83xfvyys.js → packager-tool-3mjb6s40.js} +2 -2
- package/dist/{packager-tool-kvj60rqt.js → packager-tool-aynr30c7.js} +2 -2
- package/dist/{packager-tool-y21xstn1.js → packager-tool-frw06yrx.js} +1 -1
- package/dist/{packager-tool-c1wqbytn.js → packager-tool-gz1jqf2g.js} +1 -1
- package/dist/{packager-tool-nywtvbzx.js → packager-tool-v3j73vb4.js} +3 -3
- package/dist/{packager-tool-4f94gj2p.js → packager-tool-xbzw78dp.js} +24 -24
- package/dist/{resourcesSyncService-wfr8pr8p.js → resourcesSyncService-rwpdpnay.js} +3 -3
- package/dist/{sdd-resolve-siblings-pzwce8as.js → sdd-resolve-siblings-q08re6nn.js} +1 -1
- package/dist/tool.js +1 -1
- package/dist/{trigger-enrichment-service-brj0vd2q.js → trigger-enrichment-service-r15j96d7.js} +5 -5
- package/package.json +2 -2
|
@@ -62,6 +62,7 @@ var FLOW_CHECK_BASELINE_VERSION = "6.64.0";
|
|
|
62
62
|
var FLOW_MERGE_COMPILE_VERSION = "6.28.0";
|
|
63
63
|
var BPMN_MERGE_SOURCE_CAPABILITY = "bpmn-merge-source";
|
|
64
64
|
var BPMN_CHECK_BASELINE_CAPABILITY = "bpmn-check-baseline";
|
|
65
|
+
var CASE_CHECK_BASELINE_CAPABILITY = "case-check-baseline";
|
|
65
66
|
var CAPABILITY_SINCE = {
|
|
66
67
|
"prepare-resource": "6.73.0",
|
|
67
68
|
[BPMN_MERGE_SOURCE_CAPABILITY]: "6.95.0",
|
|
@@ -708,11 +709,17 @@ var CONNECTOR_GATES = {
|
|
|
708
709
|
because: "the connector library on case check"
|
|
709
710
|
}
|
|
710
711
|
};
|
|
712
|
+
var BASELINE_CAPABILITIES = {
|
|
713
|
+
bpmn: BPMN_CHECK_BASELINE_CAPABILITY,
|
|
714
|
+
case: CASE_CHECK_BASELINE_CAPABILITY
|
|
715
|
+
};
|
|
711
716
|
var registerCheckCommand = (program, family) => {
|
|
712
717
|
const command = program.command("check <input>").description("Check a source file for authoring errors before compiling it.").option("--source", "Check authored TypeScript");
|
|
713
718
|
command.option("--library <dir>", "Connector library directory (defaults to $FLOW_SDK_LIBRARY_JSON, else the pulled library)").option("--connectors-local <dir>", "Connection-resolved connector overlay (default: ./connectors-local)");
|
|
714
719
|
if (family === "flow") {
|
|
715
720
|
command.option("--baseline <file>", "Original .flow the source was decompiled from; findings it already has on untouched nodes do not fail the check").option("--bindings <file>", "bindings.json path").option("--package <name...>", "Trust and load this node-type package for --baseline (repeatable)");
|
|
721
|
+
} else if (family === "case") {
|
|
722
|
+
command.option("--baseline <file>", "Original caseplan.json the source was decompiled from; findings it already has on untouched stages, tasks and triggers do not fail the check");
|
|
716
723
|
} else if (family === "bpmn") {
|
|
717
724
|
command.option("--graph", "Also print the resolved wiring: every element with the flows leaving it, implied edges marked ~>");
|
|
718
725
|
command.option("--baseline <file>", "Original .bpmn the source was decompiled from; findings it already has on untouched elements do not fail the check");
|
|
@@ -734,20 +741,20 @@ var registerCheckCommand = (program, family) => {
|
|
|
734
741
|
const { argv, passthrough } = delegateArgv(cmd, parsed);
|
|
735
742
|
const gate = CONNECTOR_GATES[family];
|
|
736
743
|
const gated = gate !== undefined && (options.connectorsLocal !== undefined || await connectorLibraryInPlay2(options.library));
|
|
737
|
-
const bpmnBaseline = family === "bpmn" && options.baseline !== undefined;
|
|
738
744
|
const bpmnBindings = family === "bpmn" && options.bindings !== undefined;
|
|
739
745
|
const baselineOptions = family !== "flow" ? [] : [
|
|
740
746
|
options.baseline !== undefined ? "--baseline" : undefined,
|
|
741
747
|
options.bindings !== undefined ? "--bindings" : undefined,
|
|
742
748
|
options.package !== undefined ? "--package" : undefined
|
|
743
749
|
].filter((flag) => flag !== undefined);
|
|
744
|
-
const requiresSdkVersion = baselineOptions.length > 0 ? {
|
|
750
|
+
const requiresSdkVersion = family === "flow" && baselineOptions.length > 0 ? {
|
|
745
751
|
version: FLOW_CHECK_BASELINE_VERSION,
|
|
746
752
|
because: `${baselineOptions.join(" and ")} on flow check`
|
|
747
753
|
} : bpmnBindings ? {
|
|
748
754
|
version: BPMN_CONNECTOR_OPTIONS_VERSION,
|
|
749
755
|
because: "--bindings on bpmn check"
|
|
750
756
|
} : gated ? gate : undefined;
|
|
757
|
+
const baselineCapability = options.baseline !== undefined ? BASELINE_CAPABILITIES[family] : undefined;
|
|
751
758
|
const code = await delegateToMaestroBuilderSdk({
|
|
752
759
|
family,
|
|
753
760
|
commandVerb: "check",
|
|
@@ -755,10 +762,10 @@ var registerCheckCommand = (program, family) => {
|
|
|
755
762
|
sourceCallsBuilderApi: true,
|
|
756
763
|
...passthrough ? { passthrough } : {},
|
|
757
764
|
...requiresSdkVersion ? { requiresSdkVersion } : {},
|
|
758
|
-
...
|
|
765
|
+
...baselineCapability ? {
|
|
759
766
|
requiresSdkCapability: {
|
|
760
|
-
capability:
|
|
761
|
-
because:
|
|
767
|
+
capability: baselineCapability,
|
|
768
|
+
because: `--baseline on ${family} check`
|
|
762
769
|
}
|
|
763
770
|
} : {},
|
|
764
771
|
...gate ? { connectorLibraryGate: gate } : {}
|
|
@@ -1110,4 +1117,4 @@ export {
|
|
|
1110
1117
|
registerCaseAuthoringCommands
|
|
1111
1118
|
};
|
|
1112
1119
|
|
|
1113
|
-
//# debugId=
|
|
1120
|
+
//# debugId=47051A840A5CE9CD64756E2164756E21
|
package/dist/{case-debug-solution-projects-vp5gg1g7.js → case-debug-solution-projects-d5nrywd2.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/services/case-debug-solution-projects.ts
|
|
2
2
|
var caseSolutionProjects = async (solutionDir, uploaded, solutionId) => {
|
|
3
|
-
const { readSolutionAt } = await import("./index-
|
|
3
|
+
const { readSolutionAt } = await import("./index-g22j3v6z.js");
|
|
4
4
|
const context = await readSolutionAt(solutionDir);
|
|
5
5
|
if (context === null)
|
|
6
6
|
return [];
|
package/dist/{case-debug-studio-web-service-jrqvxqjz.js → case-debug-studio-web-service-zdgqr91y.js}
RENAMED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
buildSolutionPackageFromDir2,
|
|
30
30
|
uploadOrOverwriteSolution2
|
|
31
|
-
} from "./packager-tool-
|
|
31
|
+
} from "./packager-tool-3mjb6s40.js";
|
|
32
32
|
import {
|
|
33
33
|
findSolutionFile2,
|
|
34
34
|
updateSolutionFile2
|
|
@@ -127,7 +127,7 @@ class CaseDebugStudioWebService {
|
|
|
127
127
|
entryPoint,
|
|
128
128
|
projectType: "CaseManagement",
|
|
129
129
|
buildSolutionProjects: async (uploadedProjects, solutionId) => {
|
|
130
|
-
const { caseSolutionProjects } = await import("./case-debug-solution-projects-
|
|
130
|
+
const { caseSolutionProjects } = await import("./case-debug-solution-projects-d5nrywd2.js");
|
|
131
131
|
return caseSolutionProjects(solutionDir, uploadedProjects, solutionId);
|
|
132
132
|
},
|
|
133
133
|
apiConfig,
|
|
@@ -152,7 +152,7 @@ Packing Case project...
|
|
|
152
152
|
logger.info(`BPMN file written to ${bpmnFilePath}`);
|
|
153
153
|
}
|
|
154
154
|
async refuseInvalidSla(projectPath, casePlanFileName) {
|
|
155
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
155
|
+
const { CaseValidateService } = await import("./case-validate-service-xmh3d9vg.js");
|
|
156
156
|
const result = await new CaseValidateService().validateFileUsingSDK(this.fs.path.join(projectPath, casePlanFileName));
|
|
157
157
|
const found = slaErrors(result.issues);
|
|
158
158
|
if (found.length === 0)
|
package/dist/{connector-enrichment-service-m8me3nkj.js → connector-enrichment-service-hs2d1a58.js}
RENAMED
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
extractFieldDefinitions2,
|
|
12
12
|
enrichConnectorRegistryEntry2,
|
|
13
13
|
enrichConnectorActivity2
|
|
14
|
-
} from "./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
14
|
+
} from "./packager-tool-v3j73vb4.js";
|
|
15
|
+
import"./packager-tool-15n0wenx.js";
|
|
16
16
|
import"./packager-tool-xbgh2w9f.js";
|
|
17
17
|
import"./packager-tool-j53d4vv1.js";
|
|
18
18
|
import"./packager-tool-x1ewzbrj.js";
|
|
19
19
|
import"./packager-tool-4seehsme.js";
|
|
20
|
-
import"./packager-tool-
|
|
20
|
+
import"./packager-tool-gz1jqf2g.js";
|
|
21
21
|
import"./packager-tool-36vkdb3h.js";
|
|
22
22
|
import"./packager-tool-xb16e3tz.js";
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
23
|
+
import"./packager-tool-frw06yrx.js";
|
|
24
|
+
import"./packager-tool-aynr30c7.js";
|
|
25
25
|
import"./packager-tool-c9h0rwgv.js";
|
|
26
26
|
import"./packager-tool-kn97dw7h.js";
|
|
27
27
|
import"./packager-tool-5s476jdt.js";
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
lookupTypeCacheEntry2,
|
|
3
3
|
caseTypeCacheSource2,
|
|
4
4
|
fetchConnectorConnections2
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-15n0wenx.js";
|
|
6
6
|
import"./packager-tool-j53d4vv1.js";
|
|
7
|
-
import"./packager-tool-
|
|
7
|
+
import"./packager-tool-aynr30c7.js";
|
|
8
8
|
import"./packager-tool-jv5byaww.js";
|
|
9
9
|
import"./packager-tool-c0pavv0s.js";
|
|
10
10
|
import"./packager-tool-n3r5apbb.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
findTriggerDesignAction,
|
|
21
21
|
triggerEventParameters,
|
|
22
22
|
runTriggerDesignAction
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-aynr30c7.js";
|
|
24
24
|
import"./packager-tool-n3r5apbb.js";
|
|
25
25
|
import"./packager-tool-c0pavv0s.js";
|
|
26
26
|
import"./packager-tool-p64w2wrt.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
assertConnectionConnector2,
|
|
44
44
|
fetchConnectionInfo2,
|
|
45
45
|
fetchConnectorMetadata2
|
|
46
|
-
} from "./packager-tool-
|
|
46
|
+
} from "./packager-tool-frw06yrx.js";
|
|
47
47
|
import"./packager-tool-hrd44w8g.js";
|
|
48
48
|
import {
|
|
49
49
|
findSolutionFromCwd2
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import"./packager-tool-x1ewzbrj.js";
|
|
2
2
|
import"./packager-tool-4seehsme.js";
|
|
3
|
-
import"./packager-tool-
|
|
3
|
+
import"./packager-tool-gz1jqf2g.js";
|
|
4
4
|
import"./packager-tool-36vkdb3h.js";
|
|
5
5
|
import"./packager-tool-xb16e3tz.js";
|
|
6
6
|
import {
|
|
7
7
|
fetchConnectorMetadata2
|
|
8
|
-
} from "./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
8
|
+
} from "./packager-tool-frw06yrx.js";
|
|
9
|
+
import"./packager-tool-aynr30c7.js";
|
|
10
10
|
import"./packager-tool-c9h0rwgv.js";
|
|
11
11
|
import"./packager-tool-kn97dw7h.js";
|
|
12
12
|
import {
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import"./packager-tool-0jxyc8eb.js";
|
|
|
12
12
|
import {
|
|
13
13
|
metadata2,
|
|
14
14
|
registerCommands2
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-xbzw78dp.js";
|
|
16
16
|
import"./packager-tool-jv5byaww.js";
|
|
17
17
|
import"./packager-tool-00ck60cc.js";
|
|
18
18
|
import"./packager-tool-n6h4bz4d.js";
|
package/dist/{integration-service-fetcher-ap1629gw.js → integration-service-fetcher-fv5p07c5.js}
RENAMED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
fetchConnectorMaxPageSize2,
|
|
15
15
|
fetchConnectorActivityMetadataV42,
|
|
16
16
|
enrichConnectorNode2
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-frw06yrx.js";
|
|
18
18
|
import {
|
|
19
19
|
ACTIVITY_VERSION_V42,
|
|
20
20
|
SUPPORTED_ACTIVITY_VERSIONS2,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
extractMultipartParameters2,
|
|
28
28
|
inlineMultipartFileValues2,
|
|
29
29
|
buildInputMetadata2
|
|
30
|
-
} from "./packager-tool-
|
|
30
|
+
} from "./packager-tool-aynr30c7.js";
|
|
31
31
|
import"./packager-tool-c0pavv0s.js";
|
|
32
32
|
import"./packager-tool-n3r5apbb.js";
|
|
33
33
|
import {
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
getNodeEnrichedWithDiagnostics2,
|
|
22
22
|
getLocalNodeEnriched2,
|
|
23
23
|
searchNodesWithFilters2
|
|
24
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-gz1jqf2g.js";
|
|
25
25
|
import"./packager-tool-36vkdb3h.js";
|
|
26
26
|
import"./packager-tool-xb16e3tz.js";
|
|
27
|
-
import"./packager-tool-
|
|
28
|
-
import"./packager-tool-
|
|
27
|
+
import"./packager-tool-frw06yrx.js";
|
|
28
|
+
import"./packager-tool-aynr30c7.js";
|
|
29
29
|
import"./packager-tool-c9h0rwgv.js";
|
|
30
30
|
import"./packager-tool-5s476jdt.js";
|
|
31
31
|
import"./packager-tool-hrd44w8g.js";
|
|
@@ -501,7 +501,7 @@ var package_default = {
|
|
|
501
501
|
name: "@uipath/solution-sdk",
|
|
502
502
|
author: "UiPath",
|
|
503
503
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
504
|
-
version: "1.207.0-preview.
|
|
504
|
+
version: "1.207.0-preview.337",
|
|
505
505
|
repository: {
|
|
506
506
|
type: "git",
|
|
507
507
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -1299,4 +1299,4 @@ async function uploadOrOverwriteSolution2(config, organizationName, fileBufferOr
|
|
|
1299
1299
|
}
|
|
1300
1300
|
export { buildSolutionPackageFromDir2, isSolutionUploadHttpError2, buildSolutionUploadFailureOutput2, uploadOrOverwriteSolution2 };
|
|
1301
1301
|
|
|
1302
|
-
//# debugId=
|
|
1302
|
+
//# debugId=12E1615C426FBC5464756E2164756E21
|
|
@@ -6480,7 +6480,7 @@ var package_default = {
|
|
|
6480
6480
|
name: "@uipath/integrationservice-sdk",
|
|
6481
6481
|
author: "UiPath",
|
|
6482
6482
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
6483
|
-
version: "1.207.0-preview.
|
|
6483
|
+
version: "1.207.0-preview.337",
|
|
6484
6484
|
repository: {
|
|
6485
6485
|
type: "git",
|
|
6486
6486
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -7664,4 +7664,4 @@ async function runTriggerDesignAction(options, connectionId, baseMetadata, actio
|
|
|
7664
7664
|
}
|
|
7665
7665
|
export { ConnectionOperationsApi, ConnectionsApi, ConnectorsApi, ElementsApi, createApiClient2, ACTIVITY_VERSION_V42, SUPPORTED_ACTIVITY_VERSIONS2, isV4ActivityConfiguration2, getConnectorActivityMetadataV4, getEventOperationObjects, resourceFolderKeyFieldName, REQUEST_BUCKETS, declaredFieldsOf, companionBucket, ResourceFieldResolutionError2, createSolutionResourceConfigurationsProvider, buildActivityEssentialConfiguration2, createConfiguredActivityClient2, configureActivityClient, applySavedFilterTree2, assertActivityMetadataResolved2, buildManagedHttpEssentialConfiguration2, extractMultipartParameters2, inlineMultipartFileValues2, connectorMaxPageSize, buildInputMetadata2, validateIntSvcNode, ConflictingDesignActionsError, resourcePickersRequestNeeds, findTriggerDesignAction, triggerEventParameters, runTriggerDesignAction };
|
|
7666
7666
|
|
|
7667
|
-
//# debugId=
|
|
7667
|
+
//# debugId=62AB2B3F812AEBA464756E2164756E21
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isV4ActivityConfiguration2,
|
|
10
10
|
getConnectorActivityMetadataV4,
|
|
11
11
|
connectorMaxPageSize
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-aynr30c7.js";
|
|
13
13
|
|
|
14
14
|
// ../maestro-sdk/src/registry/integration-service-fetcher.ts
|
|
15
15
|
function parseContext(node) {
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
assertActivityMetadataResolved2,
|
|
9
9
|
extractMultipartParameters2,
|
|
10
10
|
buildInputMetadata2
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-aynr30c7.js";
|
|
12
12
|
import {
|
|
13
13
|
guardJsonString
|
|
14
14
|
} from "./packager-tool-00ck60cc.js";
|
|
15
15
|
import {
|
|
16
16
|
fetchConnectorMetadata2
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-frw06yrx.js";
|
|
18
18
|
import {
|
|
19
19
|
lookupTypeCacheEntry2,
|
|
20
20
|
fetchConnectorConnections2
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-15n0wenx.js";
|
|
22
22
|
import {
|
|
23
23
|
buildErrorOutput,
|
|
24
24
|
addVarIdsToInputsOutputs
|
|
@@ -81,7 +81,7 @@ var package_default = {
|
|
|
81
81
|
name: "@uipath/case-tool",
|
|
82
82
|
author: "UiPath",
|
|
83
83
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
84
|
-
version: "1.207.0-preview.
|
|
84
|
+
version: "1.207.0-preview.337",
|
|
85
85
|
description: "Manage Case Management instances, processes, and incidents.",
|
|
86
86
|
private: false,
|
|
87
87
|
repository: {
|
|
@@ -843,7 +843,7 @@ function registerDebugCommand(program) {
|
|
|
843
843
|
logger.info(` Tenant: ${tenantName} (${tenantId})`);
|
|
844
844
|
logger.info(` Base URL: ${baseUrl}`);
|
|
845
845
|
const pollInterval = parseInt(options.pollInterval || "2000", 10);
|
|
846
|
-
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-
|
|
846
|
+
const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-zdgqr91y.js");
|
|
847
847
|
const {
|
|
848
848
|
buildFaultedDebugFailureOutput,
|
|
849
849
|
buildPollTimeoutFailureOutput,
|
|
@@ -875,7 +875,7 @@ function registerDebugCommand(program) {
|
|
|
875
875
|
const {
|
|
876
876
|
buildSolutionUploadFailureOutput,
|
|
877
877
|
isSolutionUploadHttpError
|
|
878
|
-
} = await import("./index-
|
|
878
|
+
} = await import("./index-kw8s47s9.js");
|
|
879
879
|
if (isSolutionUploadHttpError(executeError)) {
|
|
880
880
|
OutputFormatter.error(buildSolutionUploadFailureOutput(executeError, {
|
|
881
881
|
subject: "case",
|
|
@@ -1291,7 +1291,7 @@ var initCaseProject = async (name, options) => {
|
|
|
1291
1291
|
throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
|
|
1292
1292
|
}
|
|
1293
1293
|
const fs = getFileSystem2();
|
|
1294
|
-
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-
|
|
1294
|
+
const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-kw8s47s9.js");
|
|
1295
1295
|
const { projectDir, autoCreatedSolution } = await prepareProjectLocation(fs, fs.path.resolve(name), name, { skipRegistration: options.skipSolutionRegistration === true });
|
|
1296
1296
|
const projectDirExists = await fs.stat(projectDir).then((stat) => stat !== null).catch((err) => {
|
|
1297
1297
|
const code = err instanceof Error ? err.code : undefined;
|
|
@@ -1681,7 +1681,7 @@ var CASE_PACK_EXAMPLES = [
|
|
|
1681
1681
|
var registerPackCommand = (program) => {
|
|
1682
1682
|
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");
|
|
1683
1683
|
registerPackageMetadataOptions(command).examples(CASE_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
|
|
1684
|
-
const { CasePackService } = await import("./case-pack-service-
|
|
1684
|
+
const { CasePackService } = await import("./case-pack-service-mvnry7t2.js");
|
|
1685
1685
|
const service = new CasePackService;
|
|
1686
1686
|
const [error, result] = await catchError2(service.execute(projectPath, {
|
|
1687
1687
|
output: outputPath,
|
|
@@ -2282,7 +2282,7 @@ Subcommands:
|
|
|
2282
2282
|
search Find resources by keyword and/or field filters
|
|
2283
2283
|
get Get full schema for a single resource`);
|
|
2284
2284
|
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) => {
|
|
2285
|
-
const { pullResources } = await import("./resourcesSyncService-
|
|
2285
|
+
const { pullResources } = await import("./resourcesSyncService-rwpdpnay.js");
|
|
2286
2286
|
const [mapError, promises] = catchError2(() => RESOURCE_TYPES.map((type) => pullResources({
|
|
2287
2287
|
force: options.force,
|
|
2288
2288
|
solutionId: options.solutionId
|
|
@@ -2332,7 +2332,7 @@ Subcommands:
|
|
|
2332
2332
|
processContext.exit(1);
|
|
2333
2333
|
return;
|
|
2334
2334
|
}
|
|
2335
|
-
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-
|
|
2335
|
+
const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-rwpdpnay.js");
|
|
2336
2336
|
let searchResult;
|
|
2337
2337
|
if (options.filter) {
|
|
2338
2338
|
const [parseError, filters] = catchError2(() => parseFilterString(options.filter));
|
|
@@ -2380,7 +2380,7 @@ Subcommands:
|
|
|
2380
2380
|
});
|
|
2381
2381
|
});
|
|
2382
2382
|
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) => {
|
|
2383
|
-
const { listLocalResources, listResources } = await import("./resourcesSyncService-
|
|
2383
|
+
const { listLocalResources, listResources } = await import("./resourcesSyncService-rwpdpnay.js");
|
|
2384
2384
|
let grouped;
|
|
2385
2385
|
if (options.local) {
|
|
2386
2386
|
const [localError, localGrouped] = await catchError2(listLocalResources());
|
|
@@ -2427,7 +2427,7 @@ Subcommands:
|
|
|
2427
2427
|
});
|
|
2428
2428
|
});
|
|
2429
2429
|
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) => {
|
|
2430
|
-
const { getResources } = await import("./resourcesSyncService-
|
|
2430
|
+
const { getResources } = await import("./resourcesSyncService-rwpdpnay.js");
|
|
2431
2431
|
const [error, matches] = await catchError2(getResources(identifier, options.type, {
|
|
2432
2432
|
local: options.local
|
|
2433
2433
|
}));
|
|
@@ -2464,11 +2464,11 @@ Subcommands:
|
|
|
2464
2464
|
const id = m.resource.uiPathActivityTypeId;
|
|
2465
2465
|
if (typeof id !== "string")
|
|
2466
2466
|
return m;
|
|
2467
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2467
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-w01cnanp.js");
|
|
2468
2468
|
const [lookupError, lookupResult] = await catchError2(lookupTypeCacheEntry(id, m.resourceType));
|
|
2469
2469
|
if (lookupError)
|
|
2470
2470
|
return m;
|
|
2471
|
-
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-
|
|
2471
|
+
const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-hs2d1a58.js");
|
|
2472
2472
|
const [enrichError, definitions] = await catchError2(enrichConnectorRegistryEntry(lookupResult.config, options.connectionId));
|
|
2473
2473
|
if (enrichError || definitions === null)
|
|
2474
2474
|
return m;
|
|
@@ -2494,7 +2494,7 @@ Subcommands:
|
|
|
2494
2494
|
});
|
|
2495
2495
|
});
|
|
2496
2496
|
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) => {
|
|
2497
|
-
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2497
|
+
const { lookupTypeCacheEntry } = await import("./connector-lookup-service-w01cnanp.js");
|
|
2498
2498
|
const [error, result] = await catchError2(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2499
2499
|
if (error) {
|
|
2500
2500
|
await reportLookupFailure("Error looking up connector", error);
|
|
@@ -2510,7 +2510,7 @@ Subcommands:
|
|
|
2510
2510
|
}, { preserveDataKeys: VERBATIM_REGISTRY_FIELDS });
|
|
2511
2511
|
});
|
|
2512
2512
|
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) => {
|
|
2513
|
-
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-
|
|
2513
|
+
const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-w01cnanp.js");
|
|
2514
2514
|
const [lookupError, lookupResult] = await catchError2(lookupTypeCacheEntry(options.activityTypeId, options.type));
|
|
2515
2515
|
if (lookupError) {
|
|
2516
2516
|
await reportLookupFailure("Error looking up connector", lookupError);
|
|
@@ -2733,7 +2733,7 @@ var registerSddCommand = (program) => {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
const { parseSddToJson } = await import("./strict-sdd-audit-xcrvk62x.js");
|
|
2735
2735
|
const { resolveCacheFiles, resolveSddResources } = await import("./sdd-resolve-service-3mb6wgwh.js");
|
|
2736
|
-
const { loadSiblings } = await import("./sdd-resolve-siblings-
|
|
2736
|
+
const { loadSiblings } = await import("./sdd-resolve-siblings-q08re6nn.js");
|
|
2737
2737
|
const [parseError, model] = catchError2(() => parseSddToJson(text));
|
|
2738
2738
|
if (parseError) {
|
|
2739
2739
|
reportParseFailure(file, parseError);
|
|
@@ -3820,8 +3820,8 @@ var registerSpecCommand = (program) => {
|
|
|
3820
3820
|
},
|
|
3821
3821
|
{ caseTypeCacheSource }
|
|
3822
3822
|
] = await Promise.all([
|
|
3823
|
-
import("./index-
|
|
3824
|
-
import("./connector-lookup-service-
|
|
3823
|
+
import("./index-fggth62h.js"),
|
|
3824
|
+
import("./connector-lookup-service-w01cnanp.js")
|
|
3825
3825
|
]);
|
|
3826
3826
|
const fetchOpts = {
|
|
3827
3827
|
typeCache: caseTypeCacheSource,
|
|
@@ -5994,8 +5994,8 @@ var TASKS_DESCRIBE_EXAMPLES = [
|
|
|
5994
5994
|
}
|
|
5995
5995
|
}
|
|
5996
5996
|
];
|
|
5997
|
-
var loadConnectorEnrichment = () => import("./connector-enrichment-service-
|
|
5998
|
-
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-
|
|
5997
|
+
var loadConnectorEnrichment = () => import("./connector-enrichment-service-hs2d1a58.js");
|
|
5998
|
+
var loadTriggerEnrichment = () => import("./trigger-enrichment-service-r15j96d7.js");
|
|
5999
5999
|
var loadEnrichment = () => import("./enrichment-service-m0ffmtqp.js");
|
|
6000
6000
|
var TASK_TYPES = [
|
|
6001
6001
|
"process",
|
|
@@ -6170,7 +6170,7 @@ function deepMerge(target, source, unsafeKeys) {
|
|
|
6170
6170
|
return target;
|
|
6171
6171
|
}
|
|
6172
6172
|
async function applyInputValues(inputs, inputValues) {
|
|
6173
|
-
const { nestDottedKeys, UNSAFE_KEYS } = await import("./index-
|
|
6173
|
+
const { nestDottedKeys, UNSAFE_KEYS } = await import("./index-fggth62h.js");
|
|
6174
6174
|
for (const input of inputs) {
|
|
6175
6175
|
const values = inputValues[input.name];
|
|
6176
6176
|
if (values && input.body) {
|
|
@@ -7024,7 +7024,7 @@ var registerTriggersCommand = (program) => {
|
|
|
7024
7024
|
const result = await readAndBuildTrigger(file, options.displayName, options.position, options.description);
|
|
7025
7025
|
if (result.error)
|
|
7026
7026
|
return;
|
|
7027
|
-
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-
|
|
7027
|
+
const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-r15j96d7.js");
|
|
7028
7028
|
const [enrichError, enrichment] = await catchError2(enrichConnectorTrigger("start", options.typeId, options.connectionId, parsedEventParams));
|
|
7029
7029
|
if (enrichError) {
|
|
7030
7030
|
OutputFormatter.error({
|
|
@@ -7161,7 +7161,7 @@ var suppressedAudit = async (file, shown) => {
|
|
|
7161
7161
|
const [lookupError, sdd] = await catchError2(Promise.resolve(findAdjacentSdd(file)));
|
|
7162
7162
|
if (lookupError || sdd === undefined)
|
|
7163
7163
|
return;
|
|
7164
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7164
|
+
const { CaseValidateService } = await import("./case-validate-service-xmh3d9vg.js");
|
|
7165
7165
|
const [auditError, audited] = await catchError2(new CaseValidateService().validateFileUsingSDK(file, {
|
|
7166
7166
|
profile: "strict",
|
|
7167
7167
|
sddPath: sdd
|
|
@@ -7177,7 +7177,7 @@ var suppressedAudit = async (file, shown) => {
|
|
|
7177
7177
|
};
|
|
7178
7178
|
};
|
|
7179
7179
|
var executeCaseValidate = async (file, options = {}) => {
|
|
7180
|
-
const { CaseValidateService } = await import("./case-validate-service-
|
|
7180
|
+
const { CaseValidateService } = await import("./case-validate-service-xmh3d9vg.js");
|
|
7181
7181
|
const service = new CaseValidateService;
|
|
7182
7182
|
const [error, result] = await catchError2(service.validateFileUsingSDK(file, {
|
|
7183
7183
|
profile: resolveProfile(options),
|
|
@@ -7576,7 +7576,7 @@ var metadata2 = {
|
|
|
7576
7576
|
commandPrefix: "case"
|
|
7577
7577
|
};
|
|
7578
7578
|
var registerCommands2 = async (program) => {
|
|
7579
|
-
const { registerCaseAuthoringCommands } = await import("./authoring-
|
|
7579
|
+
const { registerCaseAuthoringCommands } = await import("./authoring-5v9ajf66.js");
|
|
7580
7580
|
registerCaseAuthoringCommands(program);
|
|
7581
7581
|
registerInitCommand(program);
|
|
7582
7582
|
registerSddCommand(program);
|
|
@@ -7612,4 +7612,4 @@ var registerCommands2 = async (program) => {
|
|
|
7612
7612
|
|
|
7613
7613
|
export { metadata2, registerCommands2 };
|
|
7614
7614
|
|
|
7615
|
-
//# debugId=
|
|
7615
|
+
//# debugId=966D9D574DDAFD7A64756E2164756E21
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
} from "./packager-tool-c0pavv0s.js";
|
|
16
16
|
import"./packager-tool-4w7nzx18.js";
|
|
17
17
|
import"./packager-tool-xb16e3tz.js";
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
18
|
+
import"./packager-tool-aynr30c7.js";
|
|
19
|
+
import"./packager-tool-frw06yrx.js";
|
|
20
20
|
import"./packager-tool-hrd44w8g.js";
|
|
21
21
|
import"./packager-tool-c9h0rwgv.js";
|
|
22
22
|
import {
|
|
23
23
|
findSolutionFromCwd2
|
|
24
24
|
} from "./packager-tool-5s476jdt.js";
|
|
25
|
-
import"./packager-tool-
|
|
25
|
+
import"./packager-tool-gz1jqf2g.js";
|
|
26
26
|
import"./packager-tool-kn97dw7h.js";
|
|
27
27
|
import"./packager-tool-0jxyc8eb.js";
|
|
28
28
|
import {
|
|
@@ -23,7 +23,7 @@ var uipxNearCwd = async (dirs) => {
|
|
|
23
23
|
return;
|
|
24
24
|
};
|
|
25
25
|
var loadSiblings = async (cacheFiles) => {
|
|
26
|
-
const { findSolutionFromCwd, solutionSearchDirs } = await import("./index-
|
|
26
|
+
const { findSolutionFromCwd, solutionSearchDirs } = await import("./index-g22j3v6z.js");
|
|
27
27
|
const ctx = await findSolutionFromCwd();
|
|
28
28
|
if (ctx === null) {
|
|
29
29
|
const unread = await uipxNearCwd(solutionSearchDirs());
|
package/dist/tool.js
CHANGED
package/dist/{trigger-enrichment-service-brj0vd2q.js → trigger-enrichment-service-r15j96d7.js}
RENAMED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
createApiClient2,
|
|
10
10
|
createConfiguredActivityClient2,
|
|
11
11
|
assertActivityMetadataResolved2
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-aynr30c7.js";
|
|
13
13
|
import"./packager-tool-n3r5apbb.js";
|
|
14
14
|
import"./packager-tool-c0pavv0s.js";
|
|
15
15
|
import {
|
|
@@ -20,18 +20,18 @@ import"./packager-tool-x1ewzbrj.js";
|
|
|
20
20
|
import"./packager-tool-wvf6b31h.js";
|
|
21
21
|
import"./packager-tool-4w7nzx18.js";
|
|
22
22
|
import"./packager-tool-xb16e3tz.js";
|
|
23
|
-
import"./packager-tool-
|
|
23
|
+
import"./packager-tool-frw06yrx.js";
|
|
24
24
|
import"./packager-tool-hrd44w8g.js";
|
|
25
25
|
import"./packager-tool-c9h0rwgv.js";
|
|
26
26
|
import"./packager-tool-5s476jdt.js";
|
|
27
|
-
import"./packager-tool-
|
|
27
|
+
import"./packager-tool-gz1jqf2g.js";
|
|
28
28
|
import"./packager-tool-kn97dw7h.js";
|
|
29
29
|
import"./packager-tool-0jxyc8eb.js";
|
|
30
30
|
import"./packager-tool-jv5byaww.js";
|
|
31
31
|
import {
|
|
32
32
|
lookupTypeCacheEntry2,
|
|
33
33
|
fetchConnectorConnections2
|
|
34
|
-
} from "./packager-tool-
|
|
34
|
+
} from "./packager-tool-15n0wenx.js";
|
|
35
35
|
import"./packager-tool-p1vd39dr.js";
|
|
36
36
|
import {
|
|
37
37
|
buildErrorOutput,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./packager-tool-xbgh2w9f.js";
|
|
40
40
|
import {
|
|
41
41
|
parseEntryConfiguration2
|
|
42
|
-
} from "./packager-tool-
|
|
42
|
+
} from "./packager-tool-v3j73vb4.js";
|
|
43
43
|
import"./packager-tool-j53d4vv1.js";
|
|
44
44
|
import"./packager-tool-36vkdb3h.js";
|
|
45
45
|
import {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/case-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.207.0-preview.
|
|
5
|
+
"version": "1.207.0-preview.337",
|
|
6
6
|
"description": "Manage Case Management instances, processes, and incidents.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"files": [
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "c667b0709b9314d4f3a823f69bda91f714370412"
|
|
32
32
|
}
|