@uipath/case-tool 1.201.0 → 1.202.0-preview.136
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-aaaqwck3.js → authoring-cvjhkfxp.js} +74 -48
- package/dist/{browser-strategy-rkcvc6tn.js → browser-strategy-6atc7v8s.js} +3 -3
- package/dist/case-api-bwcxsbxe.js +381 -0
- package/dist/case-debug-studio-web-service-qcb328bt.js +335 -0
- package/dist/{case-pack-service-bxas5bxz.js → case-pack-service-txby2znw.js} +11 -18
- package/dist/case-validate-service-0q8krj2a.js +2114 -0
- package/dist/connector-enrichment-service-agqxam5y.js +60 -0
- package/dist/connector-lookup-service-ycgk77n0.js +22 -0
- package/dist/connector-task-spec-kdx5bv87.js +1250 -0
- package/dist/{de-5KVP66U6-t37qr521.js → de-5KVP66U6-1bnf4zt5.js} +54 -54
- package/dist/{de-5HU6GFWV-zheyw6d2.js → de-7XQXX2DK-tqdy5n2b.js} +857 -845
- package/dist/debug-service-dxx5pfev.js +57 -0
- package/dist/{en-MABQK6C4-nkzq2j8t.js → en-5ZGC5VQ3-h581y30k.js} +897 -897
- package/dist/{en-4KXU7N7B-24v330b5.js → en-X3S6IZ5J-nhkg6pwn.js} +55 -61
- package/dist/enrichment-service-ebz1f4ds.js +421 -0
- package/dist/{es-MX-POESXYP2-9538722k.js → es-MX-U2VN3SZW-anynsmd8.js} +857 -845
- package/dist/{es-MX-XAVLOQW3-47a405kf.js → es-MX-XAVLOQW3-q00km2y7.js} +54 -54
- package/dist/{es-VFPNVMP5-6sftsdxe.js → es-VFPNVMP5-bx2c337j.js} +54 -54
- package/dist/{es-LUTYN7U7-ye5zn4sn.js → es-ZGCPPOME-8gazspjj.js} +857 -845
- package/dist/{fr-E5MDO4EG-f3x1jeqw.js → fr-E5MDO4EG-c3mkty2t.js} +54 -54
- package/dist/{fr-LJIK56LW-xf3xf2kh.js → fr-T3G5GZCT-y3f7xb1q.js} +857 -845
- package/dist/{index-cncq089f.js → index-7s201ka0.js} +163 -80
- package/dist/{index-hsadteg4.js → index-h8cph72k.js} +4 -4
- package/dist/index-k4xz16db.js +63712 -0
- package/dist/{index-p50kx6jv.js → index-k5tbd184.js} +276 -276
- package/dist/index-kwxe1vep.js +143 -0
- package/dist/{index-9f8q2ege.js → index-p3vk57z7.js} +27 -27
- package/dist/index-qyf1dee9.js +630 -0
- package/dist/index.js +16 -17
- package/dist/{index.umd.min-drpc57vn.js → index.umd.min-fqefd9kn.js} +3 -3
- package/dist/input-reader-xb9vecxv.js +11 -0
- package/dist/{ja-FGEGLBJ3-w9byjhze.js → ja-BI5K3JDZ-77zat4z2.js} +857 -845
- package/dist/{ja-DPO5PPLO-fmbg7zt2.js → ja-DPO5PPLO-mysfmznx.js} +54 -54
- package/dist/{js-yaml-cggj6w7q.js → js-yaml-87cdx6bm.js} +27 -19
- package/dist/known-types-qryebm95.js +15 -0
- package/dist/{ko-ITOPNIYI-aqy82jk8.js → ko-ITOPNIYI-hmxd2asd.js} +54 -54
- package/dist/{ko-TUAK3G3A-s25w0ckg.js → ko-JOBF5V7N-4bv0mjje.js} +857 -845
- package/dist/{node-strategy-8gzp67xs.js → node-strategy-0267x5e5.js} +130 -14
- package/dist/node-sync-service-9a9ksj9s.js +38 -0
- package/dist/{packager-tool-9qecd4wb.js → packager-tool-0gctz400.js} +5 -2
- package/dist/packager-tool-0mj06yen.js +65 -0
- package/dist/{packager-tool-1cb0d5e0.js → packager-tool-0v3s8r01.js} +2 -2
- package/dist/packager-tool-134mvmcm.js +3040 -0
- package/dist/{packager-tool-wckvcay0.js → packager-tool-1yh8g550.js} +9 -7
- package/dist/{packager-tool-zqa5k9f7.js → packager-tool-37zvccmt.js} +990 -2287
- package/dist/packager-tool-3ze5vt52.js +54 -0
- package/dist/{packager-tool-w3h8xrnv.js → packager-tool-56j6keqr.js} +71 -3
- package/dist/{packager-tool-3wygxefb.js → packager-tool-58q3tvh7.js} +10 -10
- package/dist/{packager-tool-zx48pq4v.js → packager-tool-5ax2ywcg.js} +1997 -1174
- package/dist/{packager-tool-we1phz71.js → packager-tool-885mmrvr.js} +31 -3
- package/dist/packager-tool-9scn4b15.js +852 -0
- package/dist/{packager-tool-p9j43p8h.js → packager-tool-a42jnpy5.js} +3 -9
- package/dist/packager-tool-ajvse9r3.js +356 -0
- package/dist/{packager-tool-jysvpt8p.js → packager-tool-c23zrhj8.js} +2 -2
- package/dist/packager-tool-dqs5qy9s.js +2327 -0
- package/dist/packager-tool-ee5dhff3.js +6717 -0
- package/dist/{packager-tool-wvqz81mx.js → packager-tool-gtzs471w.js} +3 -2
- package/dist/packager-tool-hrr0efqc.js +546 -0
- package/dist/packager-tool-j9rfdrdm.js +1125 -0
- package/dist/{packager-tool-gq6952nc.js → packager-tool-jhdf8gt1.js} +5054 -17851
- package/dist/packager-tool-mp59jtpm.js +6865 -0
- package/dist/packager-tool-njzcfve1.js +77 -0
- package/dist/packager-tool-p7jgrm5r.js +15 -0
- package/dist/packager-tool-r84ng21s.js +57 -0
- package/dist/packager-tool-rqvr63x5.js +1217 -0
- package/dist/packager-tool-s12392rd.js +80 -0
- package/dist/packager-tool-sv0d6wb6.js +173 -0
- package/dist/packager-tool-ty1t2byf.js +27 -0
- package/dist/packager-tool-vepqrsse.js +23 -0
- package/dist/packager-tool-w5ek334f.js +4892 -0
- package/dist/{packager-tool-5arsyj36.js → packager-tool-yc4kw997.js} +4 -2
- package/dist/packager-tool.js +91 -5
- package/dist/project-artifacts-vhanbtw5.js +14 -0
- package/dist/{pt-BR-7XGDXRDJ-espnkgrj.js → pt-BR-7DYX2YPT-fqxqzqtf.js} +857 -845
- package/dist/{pt-BR-BXURWX4W-xzyndmrx.js → pt-BR-BXURWX4W-bwfcwhk1.js} +54 -54
- package/dist/{pt-TMVOOITK-myha14p9.js → pt-HTXGGX6Y-97t21dty.js} +857 -845
- package/dist/{pt-YI4VE4YQ-521681zf.js → pt-YI4VE4YQ-wdkn2dcf.js} +54 -54
- package/dist/resourcesSyncService-mrmmwaqr.js +683 -0
- package/dist/{ro-2VALF3S5-cdz5afkr.js → ro-KTNQ3MNU-y08n1x5g.js} +857 -845
- package/dist/{ro-RKXZUG7Z-pdztdafr.js → ro-RKXZUG7Z-nndrrsq7.js} +54 -54
- package/dist/{ru-GSCT4ARZ-qj8dm4dp.js → ru-GSCT4ARZ-1sa9wbr8.js} +1 -1
- package/dist/ru-WBLQ5B2U-8r3c7v6d.js +10 -0
- package/dist/strict-case-rules-303vjvas.js +377 -0
- package/dist/strict-sdd-audit-qdmc9e1y.js +1024 -0
- package/dist/tool.js +17 -18
- package/dist/{tr-AA6O2WSR-bj9n80k8.js → tr-AA6O2WSR-86ba4bdf.js} +54 -54
- package/dist/{tr-RIFCEXFH-hgkb4g8y.js → tr-XHSSPNK7-cmqyc4wd.js} +857 -845
- package/dist/trigger-enrichment-service-zdx4x92j.js +340 -0
- package/dist/{zh-CN-IP3FMXWM-1cfarhcp.js → zh-CN-2EHQT23P-mr63c4xz.js} +857 -845
- package/dist/{zh-CN-R2KLHXQV-x6gnk2n0.js → zh-CN-R2KLHXQV-agqr45ds.js} +54 -54
- package/dist/{zh-TW-AGIDXIPF-n6r6w7vy.js → zh-TW-MGZCE5BT-c4ekmrz9.js} +857 -845
- package/dist/{zh-TW-RJGCQANM-tt8j5wv2.js → zh-TW-RJGCQANM-w0x3qc1p.js} +54 -54
- package/package.json +2 -2
- package/dist/index-8bsngk9y.js +0 -247140
- package/dist/packager-tool-axcdppp9.js +0 -13607
- package/dist/ru-WBLQ5B2U-8xd4gpv2.js +0 -10
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConnectorsApi,
|
|
3
|
+
createApiClient
|
|
4
|
+
} from "./packager-tool-mp59jtpm.js";
|
|
5
|
+
import {
|
|
6
|
+
loadResourceIndex
|
|
7
|
+
} from "./packager-tool-s12392rd.js";
|
|
8
|
+
import {
|
|
9
|
+
TYPECACHE_PACKAGE_INDEX_TYPES
|
|
10
|
+
} from "./packager-tool-r84ng21s.js";
|
|
11
|
+
import {
|
|
12
|
+
catchError
|
|
13
|
+
} from "./packager-tool-5ax2ywcg.js";
|
|
14
|
+
|
|
15
|
+
// src/services/connector-lookup-service.ts
|
|
16
|
+
async function lookupTypeCacheEntry(uiPathActivityTypeId, type) {
|
|
17
|
+
const types = typeof type === "string" ? [type] : type;
|
|
18
|
+
let entry;
|
|
19
|
+
let matchedType = types[0];
|
|
20
|
+
for (const candidate of types) {
|
|
21
|
+
const [loadError, entries] = await catchError(loadResourceIndex(candidate));
|
|
22
|
+
if (loadError) {
|
|
23
|
+
if (types.length === 1)
|
|
24
|
+
throw loadError;
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
|
+
const match = entries.find((e) => e.uiPathActivityTypeId === uiPathActivityTypeId);
|
|
28
|
+
if (match) {
|
|
29
|
+
entry = match;
|
|
30
|
+
matchedType = candidate;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (!entry) {
|
|
35
|
+
throw new Error(`No entry found in ${types.join(", ")} with uiPathActivityTypeId: ${uiPathActivityTypeId}`);
|
|
36
|
+
}
|
|
37
|
+
const [parseError, config] = catchError(() => JSON.parse(entry.configuration));
|
|
38
|
+
if (parseError) {
|
|
39
|
+
throw new Error(`Failed to parse configuration for "${entry.displayName}" in ${matchedType}: ${parseError.message}`);
|
|
40
|
+
}
|
|
41
|
+
if (!config.connectorKey) {
|
|
42
|
+
throw new Error(`Configuration for "${entry.displayName}" in ${matchedType} is missing connectorKey`);
|
|
43
|
+
}
|
|
44
|
+
return { entry, config, source: matchedType };
|
|
45
|
+
}
|
|
46
|
+
async function lookupConnectorDisplayName(packageId) {
|
|
47
|
+
if (typeof packageId !== "number")
|
|
48
|
+
return null;
|
|
49
|
+
for (const indexType of TYPECACHE_PACKAGE_INDEX_TYPES) {
|
|
50
|
+
const [err, packages] = await catchError(loadResourceIndex(indexType));
|
|
51
|
+
if (err)
|
|
52
|
+
continue;
|
|
53
|
+
const pkg = packages.find((p) => p.id === packageId);
|
|
54
|
+
if (pkg)
|
|
55
|
+
return pkg.displayName;
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
async function fetchConnectorConnections(connectorKey) {
|
|
60
|
+
const [apiError, api] = await catchError(createApiClient(ConnectorsApi));
|
|
61
|
+
if (apiError) {
|
|
62
|
+
throw new Error(`Failed to create Integration Service client: ${apiError.message}`);
|
|
63
|
+
}
|
|
64
|
+
const [fetchError, connections] = await catchError(api.apiV1ConnectorsKeyOrIdConnectionsGet({
|
|
65
|
+
keyOrId: connectorKey,
|
|
66
|
+
allFolders: true,
|
|
67
|
+
folderDefaults: true
|
|
68
|
+
}));
|
|
69
|
+
if (fetchError) {
|
|
70
|
+
throw new Error(`Failed to fetch connections for connector "${connectorKey}": ${fetchError.message}`);
|
|
71
|
+
}
|
|
72
|
+
return connections;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { lookupTypeCacheEntry, lookupConnectorDisplayName, fetchConnectorConnections };
|
|
76
|
+
|
|
77
|
+
//# debugId=FE5109F1FB6EA2FF64756E2164756E21
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__require,
|
|
3
|
+
__toESM
|
|
4
|
+
} from "./packager-tool-1yh8g550.js";
|
|
5
|
+
|
|
6
|
+
// src/services/case-schema-loader.ts
|
|
7
|
+
var cached;
|
|
8
|
+
function loadCaseSchemaAsync() {
|
|
9
|
+
cached ??= import("./index-k4xz16db.js").then((m)=>__toESM(m.default,1));
|
|
10
|
+
return cached;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { loadCaseSchemaAsync };
|
|
14
|
+
|
|
15
|
+
//# debugId=A9E9F3D03CB693EF64756E2164756E21
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// src/types/registry.ts
|
|
2
|
+
var RESOURCE_TYPES = [
|
|
3
|
+
"agent",
|
|
4
|
+
"process",
|
|
5
|
+
"api",
|
|
6
|
+
"processOrchestration",
|
|
7
|
+
"caseManagement",
|
|
8
|
+
"flow",
|
|
9
|
+
"typecache-activities",
|
|
10
|
+
"typecache-triggers",
|
|
11
|
+
"typecache-packages",
|
|
12
|
+
"typecache-external-automation-activities",
|
|
13
|
+
"typecache-external-automation-triggers",
|
|
14
|
+
"typecache-external-automation-packages",
|
|
15
|
+
"typecache-external-agent-activities",
|
|
16
|
+
"typecache-external-agent-triggers",
|
|
17
|
+
"typecache-external-agent-packages",
|
|
18
|
+
"action-apps",
|
|
19
|
+
"solution"
|
|
20
|
+
];
|
|
21
|
+
var TYPECACHE_ACTIVITY_INDEX_TYPES = [
|
|
22
|
+
"typecache-activities",
|
|
23
|
+
"typecache-external-automation-activities",
|
|
24
|
+
"typecache-external-agent-activities"
|
|
25
|
+
];
|
|
26
|
+
var TYPECACHE_TRIGGER_INDEX_TYPES = [
|
|
27
|
+
"typecache-triggers",
|
|
28
|
+
"typecache-external-automation-triggers",
|
|
29
|
+
"typecache-external-agent-triggers"
|
|
30
|
+
];
|
|
31
|
+
var TYPECACHE_PACKAGE_INDEX_TYPES = [
|
|
32
|
+
"typecache-packages",
|
|
33
|
+
"typecache-external-automation-packages",
|
|
34
|
+
"typecache-external-agent-packages"
|
|
35
|
+
];
|
|
36
|
+
var TYPECACHE_INDEX_TYPES = [
|
|
37
|
+
...TYPECACHE_ACTIVITY_INDEX_TYPES,
|
|
38
|
+
...TYPECACHE_TRIGGER_INDEX_TYPES
|
|
39
|
+
];
|
|
40
|
+
var GET_SEARCHABLE_TYPES = [
|
|
41
|
+
{ type: "agent", idField: "entityKey" },
|
|
42
|
+
{ type: "process", idField: "entityKey" },
|
|
43
|
+
{ type: "api", idField: "entityKey" },
|
|
44
|
+
{ type: "processOrchestration", idField: "entityKey" },
|
|
45
|
+
{ type: "caseManagement", idField: "entityKey" },
|
|
46
|
+
{ type: "flow", idField: "entityKey" },
|
|
47
|
+
{ type: "action-apps", idField: "id" },
|
|
48
|
+
...TYPECACHE_INDEX_TYPES.map((type) => ({
|
|
49
|
+
type,
|
|
50
|
+
idField: "uiPathActivityTypeId"
|
|
51
|
+
})),
|
|
52
|
+
{ type: "solution", idField: "key" }
|
|
53
|
+
];
|
|
54
|
+
|
|
55
|
+
export { RESOURCE_TYPES, TYPECACHE_ACTIVITY_INDEX_TYPES, TYPECACHE_TRIGGER_INDEX_TYPES, TYPECACHE_PACKAGE_INDEX_TYPES, TYPECACHE_INDEX_TYPES, GET_SEARCHABLE_TYPES };
|
|
56
|
+
|
|
57
|
+
//# debugId=A7AD4F9C62720BB264756E2164756E21
|