@uipath/case-tool 1.206.0-preview.306 → 1.207.0-preview.307
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/README.md +7 -90
- package/dist/THIRD-PARTY-NOTICES.md +164 -9
- package/dist/{authoring-wt5ngnjb.js → authoring-qqev46bh.js} +233 -63
- package/dist/{bindings-v2-x100hvcy.js → bindings-v2-wjgg92tj.js} +4 -4
- package/dist/{browser-strategy-627rrg7z.js → browser-strategy-qc6htsnf.js} +1 -1
- package/dist/{business-rule-export-pggs7x01.js → business-rule-export-56a4wtat.js} +2 -2
- package/dist/{carry-forward-gxsadrqb.js → carry-forward-tj5yrqf6.js} +6 -6
- package/dist/{case-api-a6v5beat.js → case-api-bfwmvkb8.js} +24 -28
- package/dist/{case-bindings-service-9zemt0r2.js → case-bindings-service-5r7c70kz.js} +5 -5
- package/dist/case-catalog-h4fjn6q3.js +304 -0
- package/dist/{case-debug-solution-projects-r60m9e6a.js → case-debug-solution-projects-b2rsts1n.js} +2 -2
- package/dist/{case-debug-studio-web-service-my6vezsd.js → case-debug-studio-web-service-39gj6045.js} +10 -9
- package/dist/{case-described-io-service-8dw21x2y.js → case-described-io-service-ddsvkz8w.js} +5 -5
- package/dist/{case-event-trigger-bindings-pmad4dev.js → case-event-trigger-bindings-8nd78j4e.js} +5 -5
- package/dist/{case-format-service-xjvnx3jd.js → case-format-service-4mzszgfb.js} +2 -2
- package/dist/case-pack-service-17rj6kqt.js +297 -0
- package/dist/{case-splice-service-8deak994.js → case-splice-service-tpp2syvn.js} +7 -7
- package/dist/{case-validate-service-pesq63n9.js → case-validate-service-m2kk0fme.js} +146 -38
- package/dist/{connector-enrichment-service-e0z27bhh.js → connector-enrichment-service-s5y68svm.js} +26 -25
- package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
- package/dist/{connector-lookup-service-rpmsy37q.js → connector-lookup-service-g5qw6a1n.js} +8 -8
- package/dist/{connector-task-shape-bgywpbqc.js → connector-task-shape-s2zny4gf.js} +3 -3
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-xrrajtht.js} +1277 -10
- package/dist/{debug-service-tm92ws5e.js → debug-service-hf2wb4tw.js} +9 -4
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/{en-LAVDF7IQ-yzy20n6d.js → en-5JIPZTS5-c68n8taw.js} +4 -2
- package/dist/{en-X6T4SP2Y-xm47mf18.js → en-ETY46SDS-far9tmsf.js} +66 -2
- package/dist/{enrichment-service-hzsn1aqp.js → enrichment-service-dm5kvwhy.js} +17 -17
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -10
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/{first-party-service-6b9ajm57.js → first-party-service-qfg2m05s.js} +1 -1
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-vzfmygd7.js} +1277 -10
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/{index-0m89asqv.js → index-59sh1kv0.js} +129 -76
- package/dist/index-b3n9b1bf.js +36 -0
- package/dist/{index-amqqhge1.js → index-ewg6ygg0.js} +1 -1
- package/dist/{index-j2gw61z0.js → index-r16ndadh.js} +3030 -764
- package/dist/{index-nj3axvya.js → index-rk82650j.js} +7 -5
- package/dist/{index-pg9wmyrf.js → index-t6fnts8a.js} +2 -2
- package/dist/index-wkmh1h6w.js +26 -0
- package/dist/{index-v8jen5rh.js → index-xy5fcn8e.js} +4 -4
- package/dist/{index-21kns9qg.js → index-y7v9rkq9.js} +1 -1
- package/dist/index.js +13 -11
- package/dist/init-entry-points-52kvvbg9.js +15 -0
- package/dist/input-reader-zr71xcm9.js +13 -0
- package/dist/integration-service-fetcher-n6d0dwba.js +68 -0
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
- package/dist/{known-types-gak9by1w.js → known-types-a5d0evdm.js} +2 -2
- package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/library-option-pbvkt66g.js +13 -0
- package/dist/{localSolutionDiscovery-9pj8mzye.js → localSolutionDiscovery-5sqz9dkr.js} +5 -5
- package/dist/manifest-rhee8kem.js +32 -0
- package/dist/{node-strategy-2mqzg36t.js → node-strategy-aaf2qe6c.js} +2 -2
- package/dist/{node-sync-service-zvwk08cj.js → node-sync-service-phye3746.js} +21 -15
- package/dist/{out-target-gtg3we44.js → out-target-02x6x6nk.js} +5 -5
- package/dist/{packager-tool-h2ar8xf8.js → packager-tool-00ck60cc.js} +25 -24
- package/dist/{packager-tool-388vyja1.js → packager-tool-0gmnk7sb.js} +2 -2
- package/dist/{packager-tool-fcektt1g.js → packager-tool-0nbcqyvp.js} +10 -9
- package/dist/{packager-tool-wg91yz70.js → packager-tool-1jtrz02q.js} +61 -11
- package/dist/packager-tool-1yew22sn.js +9 -0
- package/dist/{packager-tool-1hpd2gmh.js → packager-tool-225b9qhq.js} +1 -1
- package/dist/{packager-tool-p0rdmmvk.js → packager-tool-2xemp3b1.js} +2 -2
- package/dist/packager-tool-34ttsx9q.js +18 -0
- package/dist/{packager-tool-3zy717ga.js → packager-tool-36vkdb3h.js} +2 -2
- package/dist/{packager-tool-cqkbf2fg.js → packager-tool-3hzsw5r7.js} +906 -41
- package/dist/packager-tool-3k5j706w.js +73 -0
- package/dist/{packager-tool-8h6tqbps.js → packager-tool-41j8ppy2.js} +59 -34
- package/dist/{packager-tool-scy94jyb.js → packager-tool-4seehsme.js} +2 -72
- package/dist/{packager-tool-es77jvky.js → packager-tool-4w7nzx18.js} +360 -44
- package/dist/{packager-tool-4avchhz8.js → packager-tool-57970zfm.js} +12 -7
- package/dist/{packager-tool-bjt8b2nz.js → packager-tool-5s476jdt.js} +13 -13
- package/dist/{packager-tool-8n13ny0q.js → packager-tool-70a6y6t1.js} +3393 -3092
- package/dist/{packager-tool-0xj79bbd.js → packager-tool-8kcwawyg.js} +13 -4
- package/dist/{packager-tool-wy3a65rx.js → packager-tool-bw4fsdq4.js} +27 -13
- package/dist/{packager-tool-dn9d4ywm.js → packager-tool-c0pavv0s.js} +66 -10
- package/dist/packager-tool-c9h0rwgv.js +31 -0
- package/dist/{packager-tool-t8qx6hvn.js → packager-tool-dv2vtyg0.js} +4 -4
- package/dist/{packager-tool-3r23qsca.js → packager-tool-ef43cy32.js} +213 -231
- package/dist/{packager-tool-5w0gjcck.js → packager-tool-engs9gvj.js} +1 -1
- package/dist/{packager-tool-stdwmgvd.js → packager-tool-exrjwmew.js} +202 -83
- package/dist/{task-type-declaration-yhczvj05.js → packager-tool-f9n5mk1c.js} +8 -12
- package/dist/{packager-tool-b2q8m9pq.js → packager-tool-fspmvh6g.js} +5 -4
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-17b466mr.js → packager-tool-hrd44w8g.js} +7561 -6408
- package/dist/{packager-tool-snesn0bt.js → packager-tool-j1etnthk.js} +19 -14
- package/dist/{packager-tool-k871wgpe.js → packager-tool-j53d4vv1.js} +18 -4
- package/dist/{packager-tool-6ewsbrnb.js → packager-tool-j8mnpsv8.js} +329 -149
- package/dist/{packager-tool-k9z8yg4f.js → packager-tool-jepvcpj7.js} +22 -8
- package/dist/{packager-tool-7x1tmb8a.js → packager-tool-jydreskq.js} +1 -1
- package/dist/{packager-tool-r5pha7xq.js → packager-tool-k08k9g2y.js} +9 -9
- package/dist/{packager-tool-bg3tdpva.js → packager-tool-kh9gs4d5.js} +4 -2
- package/dist/{packager-tool-8467kcz9.js → packager-tool-m7s4n455.js} +120 -13
- package/dist/{packager-tool-5ytjvsfb.js → packager-tool-mbm0kd8w.js} +22 -22
- package/dist/{packager-tool-q26hncjr.js → packager-tool-n3r5apbb.js} +4 -2
- package/dist/packager-tool-n6h4bz4d.js +22 -0
- package/dist/{packager-tool-4t71ya0d.js → packager-tool-nqz24dxf.js} +254 -69
- package/dist/{packager-tool-ad8v11jd.js → packager-tool-p4c1g2sj.js} +1032 -819
- package/dist/{packager-tool-z070caqq.js → packager-tool-p64w2wrt.js} +30 -8
- package/dist/{packager-tool-xd1wbvay.js → packager-tool-pq61r2f1.js} +1 -1
- package/dist/{packager-tool-65vr263d.js → packager-tool-qzyb1eac.js} +1 -1
- package/dist/{packager-tool-5dptce1y.js → packager-tool-rzxnm9yj.js} +2 -2
- package/dist/{packager-tool-jjkypwge.js → packager-tool-s8jxyjgj.js} +15 -4
- package/dist/{init-entry-points-5xzn81bb.js → packager-tool-t6xwkhht.js} +12 -10
- package/dist/packager-tool-vmfd007q.js +27 -0
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/{packager-tool-cdvrca04.js → packager-tool-x9z4krtr.js} +1036 -259
- package/dist/{packager-tool-z1fw9a8v.js → packager-tool-y69796fy.js} +19 -11
- package/dist/{packager-tool-f93rmjxx.js → packager-tool-z3k461re.js} +191 -154
- package/dist/{packager-tool-9m7jbv7t.js → packager-tool-zbfwp75m.js} +4 -4
- package/dist/{packager-tool-pq9xv4vq.js → packager-tool-zte9svtn.js} +11 -4
- package/dist/packager-tool.js +2 -2
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-2hcb65bn.js} +39 -6
- package/dist/{project-artifacts-pfcn65cg.js → project-artifacts-jaj95t3d.js} +1 -1
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
- package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{resolved-check-dz8eqrf6.js → resolved-check-kwgy875v.js} +1 -1
- package/dist/{resourcesSyncService-7j2m0tv0.js → resourcesSyncService-5gcxp8r5.js} +49 -26
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-9k2jjk88.js} +1271 -10
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/{rule-type-declaration-ze0saj5r.js → rule-type-declaration-a0fk7fe7.js} +12 -11
- package/dist/{sdd-convert-service-m8e615a1.js → sdd-convert-service-2ag3xjpj.js} +120 -621
- package/dist/{sdd-lookup-fwj6x364.js → sdd-lookup-wgm5ctnd.js} +2 -2
- package/dist/{sdd-resolve-service-dvg387wx.js → sdd-resolve-service-epygyb0n.js} +34 -6
- package/dist/{sdd-resolve-siblings-jc2788nm.js → sdd-resolve-siblings-bg4qmawq.js} +4 -4
- package/dist/solution-auth-yb1twb9d.js +11 -0
- package/dist/{solution-definition-helper-6zwd9hjs.js → solution-definition-helper-qjj01xh0.js} +1 -1
- package/dist/{solution-discovery-gfdqhgt2.js → solution-discovery-t0nkzpm3.js} +4 -4
- package/dist/{strict-case-rules-045kbjvv.js → strict-case-rules-x1sytx3e.js} +91 -46
- package/dist/{strict-entry-points-wd85a81g.js → strict-entry-points-anxeg692.js} +6 -6
- package/dist/strict-sdd-audit-z1bg2zr0.js +28 -0
- package/dist/taggable-variables-gc58xb0s.js +6094 -0
- package/dist/task-type-declaration-b0ejzhc6.js +15 -0
- package/dist/tool.js +13 -11
- package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -10
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/{trigger-enrichment-service-8nfz9p7h.js → trigger-enrichment-service-zn229s6b.js} +33 -32
- package/dist/{trigger-entry-point-id-4j9rk3kp.js → trigger-entry-point-id-hre2ewts.js} +1 -1
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -10
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -11
- package/package.json +2 -2
- package/dist/case-pack-service-adhg30nq.js +0 -167
- package/dist/index-9fxd19z9.js +0 -35
- package/dist/input-reader-pjt4a914.js +0 -10
- package/dist/packager-tool-v11fx4dk.js +0 -25
- package/dist/solution-auth-a1p22hq1.js +0 -11
- package/dist/strict-sdd-audit-6es2j6fs.js +0 -26
|
@@ -1,29 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
catchError2
|
|
3
|
-
|
|
2
|
+
catchError2,
|
|
3
|
+
defaultRetryForErrorCode
|
|
4
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
4
5
|
import {
|
|
5
6
|
ConnectorsApi,
|
|
6
|
-
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
createApiClient2
|
|
8
|
+
} from "./packager-tool-70a6y6t1.js";
|
|
8
9
|
import {
|
|
9
10
|
TYPECACHE_ACTIVITY_INDEX_TYPES,
|
|
10
11
|
TYPECACHE_TRIGGER_INDEX_TYPES,
|
|
11
12
|
TYPECACHE_PACKAGE_INDEX_TYPES
|
|
12
13
|
} from "./packager-tool-jv5byaww.js";
|
|
13
14
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
pullFailureNextStep
|
|
16
|
+
} from "./packager-tool-34ttsx9q.js";
|
|
17
|
+
import {
|
|
18
|
+
loadResourceIndex,
|
|
19
|
+
loadIndexMetadata
|
|
20
|
+
} from "./packager-tool-j53d4vv1.js";
|
|
16
21
|
|
|
17
22
|
// src/services/connector-lookup-service.ts
|
|
23
|
+
var MAX_UPSTREAM_MESSAGE = 400;
|
|
24
|
+
|
|
25
|
+
class ConnectorCatalogUnavailableError extends Error {
|
|
26
|
+
errorCode;
|
|
27
|
+
retry;
|
|
28
|
+
instructions;
|
|
29
|
+
status;
|
|
30
|
+
index;
|
|
31
|
+
constructor(index, failure) {
|
|
32
|
+
super(`Connector catalog unavailable: the last pull of ${index} failed with HTTP ${failure.httpStatus} from Studio Web TypeCache at ${new Date(failure.at).toISOString()}.`);
|
|
33
|
+
this.name = "ConnectorCatalogUnavailableError";
|
|
34
|
+
this.index = index;
|
|
35
|
+
this.status = failure.httpStatus;
|
|
36
|
+
this.errorCode = failure.errorCode ?? "unknown_error";
|
|
37
|
+
this.retry = failure.retry ?? defaultRetryForErrorCode(this.errorCode);
|
|
38
|
+
const upstream = failure.message.length > MAX_UPSTREAM_MESSAGE ? `${failure.message.slice(0, MAX_UPSTREAM_MESSAGE)}…` : failure.message;
|
|
39
|
+
this.instructions = `Studio Web TypeCache answered: ${upstream}. ` + "The connector catalog cannot be read until a pull succeeds. " + pullFailureNextStep(this.errorCode, this.retry, "Studio Web TypeCache");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
async function pullFailureFor(index) {
|
|
43
|
+
const [, meta] = await catchError2(loadIndexMetadata(index));
|
|
44
|
+
const failure = meta?.lastError;
|
|
45
|
+
return typeof failure?.httpStatus !== "number" ? undefined : new ConnectorCatalogUnavailableError(index, failure);
|
|
46
|
+
}
|
|
18
47
|
async function lookupTypeCacheEntry2(uiPathActivityTypeId, type) {
|
|
19
48
|
const types = typeof type === "string" ? [type] : type;
|
|
20
49
|
let entry;
|
|
21
50
|
let matchedType = types[0];
|
|
51
|
+
let unavailable;
|
|
22
52
|
for (const candidate of types) {
|
|
23
53
|
const [loadError, entries] = await catchError2(loadResourceIndex(candidate));
|
|
24
54
|
if (loadError) {
|
|
55
|
+
const failed = await pullFailureFor(candidate);
|
|
25
56
|
if (types.length === 1)
|
|
26
|
-
throw loadError;
|
|
57
|
+
throw failed ?? loadError;
|
|
58
|
+
unavailable ??= failed;
|
|
27
59
|
continue;
|
|
28
60
|
}
|
|
29
61
|
const match = entries.find((e) => e.uiPathActivityTypeId === uiPathActivityTypeId);
|
|
@@ -34,6 +66,8 @@ async function lookupTypeCacheEntry2(uiPathActivityTypeId, type) {
|
|
|
34
66
|
}
|
|
35
67
|
}
|
|
36
68
|
if (!entry) {
|
|
69
|
+
if (unavailable)
|
|
70
|
+
throw unavailable;
|
|
37
71
|
throw new Error(`No entry found in ${types.join(", ")} with uiPathActivityTypeId: ${uiPathActivityTypeId}`);
|
|
38
72
|
}
|
|
39
73
|
const [parseError, config] = catchError2(() => JSON.parse(entry.configuration));
|
|
@@ -62,6 +96,8 @@ var caseTypeCacheSource2 = {
|
|
|
62
96
|
async lookupEntry(kind, activityTypeId) {
|
|
63
97
|
const sources = kind === "activity" ? TYPECACHE_ACTIVITY_INDEX_TYPES : TYPECACHE_TRIGGER_INDEX_TYPES;
|
|
64
98
|
const [err, result] = await catchError2(lookupTypeCacheEntry2(activityTypeId, sources));
|
|
99
|
+
if (err instanceof ConnectorCatalogUnavailableError)
|
|
100
|
+
throw err;
|
|
65
101
|
if (err) {
|
|
66
102
|
throw new Error(`No TypeCache entry found in ${sources.join(", ")} for uiPathActivityTypeId "${activityTypeId}". ` + `If the id is correct, run 'uip maestro case registry pull' to refresh the local cache. ` + `If you're looking up the other kind, pass --type ${kind === "activity" ? "trigger" : "activity"}.`);
|
|
67
103
|
}
|
|
@@ -73,10 +109,24 @@ var caseTypeCacheSource2 = {
|
|
|
73
109
|
},
|
|
74
110
|
lookupConnectorDisplayName
|
|
75
111
|
};
|
|
112
|
+
|
|
113
|
+
class ConnectionsFetchError extends Error {
|
|
114
|
+
response;
|
|
115
|
+
status;
|
|
116
|
+
constructor(connectorKey, cause) {
|
|
117
|
+
super(`Failed to fetch connections for connector "${connectorKey}": ${cause.message}`, { cause });
|
|
118
|
+
this.name = "ConnectionsFetchError";
|
|
119
|
+
const response = cause.response;
|
|
120
|
+
if (typeof response?.status === "number") {
|
|
121
|
+
this.response = response;
|
|
122
|
+
this.status = response.status;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
76
126
|
async function fetchConnectorConnections2(connectorKey) {
|
|
77
|
-
const [apiError, api] = await catchError2(
|
|
127
|
+
const [apiError, api] = await catchError2(createApiClient2(ConnectorsApi));
|
|
78
128
|
if (apiError) {
|
|
79
|
-
throw new Error(`Failed to create Integration Service client: ${apiError.message}
|
|
129
|
+
throw new Error(`Failed to create Integration Service client: ${apiError.message}`, { cause: apiError });
|
|
80
130
|
}
|
|
81
131
|
const [fetchError, connections] = await catchError2(api.apiV1ConnectorsKeyOrIdConnectionsGet({
|
|
82
132
|
keyOrId: connectorKey,
|
|
@@ -84,11 +134,11 @@ async function fetchConnectorConnections2(connectorKey) {
|
|
|
84
134
|
folderDefaults: true
|
|
85
135
|
}));
|
|
86
136
|
if (fetchError) {
|
|
87
|
-
throw new
|
|
137
|
+
throw new ConnectionsFetchError(connectorKey, fetchError);
|
|
88
138
|
}
|
|
89
139
|
return connections;
|
|
90
140
|
}
|
|
91
141
|
|
|
92
142
|
export { lookupTypeCacheEntry2, caseTypeCacheSource2, fetchConnectorConnections2 };
|
|
93
143
|
|
|
94
|
-
//# debugId=
|
|
144
|
+
//# debugId=FDC6F4075355D99764756E2164756E21
|
|
@@ -25,7 +25,7 @@ var stampEntryPointIds2 = (plan, ids) => {
|
|
|
25
25
|
return written;
|
|
26
26
|
};
|
|
27
27
|
var stampFromEntryPointsBeside2 = async (plan, out) => {
|
|
28
|
-
const { readEntryPointIds } = await import("./case-event-trigger-bindings-
|
|
28
|
+
const { readEntryPointIds } = await import("./case-event-trigger-bindings-8nd78j4e.js");
|
|
29
29
|
const read = await readEntryPointIds(out);
|
|
30
30
|
if ("error" in read)
|
|
31
31
|
return { error: read.error };
|
|
@@ -80,6 +80,6 @@ var activityTypeIdMessage = (subject, context, consequence) => {
|
|
|
80
80
|
return `Connector ${subject} has a metadata configuration with no ` + `${ACTIVITY_TYPE_ID_KEY} at context[metadata].` + `${ACTIVITY_TYPE_ID_PATH}. ${consequence}`;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
export { contextEntries, contextEntry, missingContextKeys, readActivityTypeId, ACTIVITY_TYPE_ID_PATH, activityTypeIdMessage };
|
|
83
|
+
export { contextEntries, contextEntry, entryValue, missingContextKeys, readActivityTypeId, ACTIVITY_TYPE_ID_PATH, activityTypeIdMessage };
|
|
84
84
|
|
|
85
|
-
//# debugId=
|
|
85
|
+
//# debugId=BD614689A6641ED064756E2164756E21
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/utils/pull-failure-next-step.ts
|
|
2
|
+
function pullFailureNextStep(errorCode, retry, source) {
|
|
3
|
+
const pull = "'uip maestro case registry pull --force'";
|
|
4
|
+
if (errorCode === "authentication_required") {
|
|
5
|
+
return `Run 'uip login', then ${pull}.`;
|
|
6
|
+
}
|
|
7
|
+
if (errorCode === "permission_denied") {
|
|
8
|
+
return `This account cannot read ${source}. Get access to it, then run ${pull}.`;
|
|
9
|
+
}
|
|
10
|
+
if (retry === "RetryWillNotFix") {
|
|
11
|
+
return `Fix the cause, then run ${pull}; a retry alone gets the same answer.`;
|
|
12
|
+
}
|
|
13
|
+
return `Run ${pull} later; a retry now gets the same answer.`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { pullFailureNextStep };
|
|
17
|
+
|
|
18
|
+
//# debugId=6A7407EBB3D924A364756E2164756E21
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-j8mnpsv8.js";
|
|
7
7
|
|
|
8
8
|
// ../maestro-sdk/src/registry/snapshot.ts
|
|
9
9
|
function maestroRegistryRoot(filesystem) {
|