@uipath/case-tool 1.207.0-preview.337 → 1.207.0-preview.339

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.
Files changed (38) hide show
  1. package/dist/{authoring-5v9ajf66.js → authoring-hpkv774c.js} +9 -6
  2. package/dist/{business-rule-export-mte3gjqv.js → business-rule-export-7m60ye0z.js} +1 -1
  3. package/dist/{case-debug-solution-projects-d5nrywd2.js → case-debug-solution-projects-r98bjv1q.js} +2 -2
  4. package/dist/{case-debug-studio-web-service-zdgqr91y.js → case-debug-studio-web-service-164by5nc.js} +4 -4
  5. package/dist/{case-pack-service-mvnry7t2.js → case-pack-service-e9hpaxcz.js} +4 -4
  6. package/dist/{case-validate-service-xmh3d9vg.js → case-validate-service-46q8z1g5.js} +1 -1
  7. package/dist/{connector-enrichment-service-hs2d1a58.js → connector-enrichment-service-f41b9sx4.js} +5 -5
  8. package/dist/{connector-lookup-service-w01cnanp.js → connector-lookup-service-gmqp0b98.js} +2 -2
  9. package/dist/{enrichment-service-m0ffmtqp.js → enrichment-service-shefbef3.js} +1 -1
  10. package/dist/{index-fggth62h.js → index-3dc86891.js} +2 -2
  11. package/dist/{index-tda80514.js → index-s1qrezrq.js} +2 -2
  12. package/dist/{index-kw8s47s9.js → index-w89mgx5t.js} +1 -1
  13. package/dist/{index-50w84ws0.js → index-wkkf2sqh.js} +478 -280
  14. package/dist/{index-g22j3v6z.js → index-xxtxmc68.js} +3 -3
  15. package/dist/index.js +1 -1
  16. package/dist/{init-entry-points-ntx24eyp.js → init-entry-points-3awb07k3.js} +3 -3
  17. package/dist/{integration-service-fetcher-fv5p07c5.js → integration-service-fetcher-td2m2920.js} +2 -2
  18. package/dist/{localSolutionDiscovery-qywxfs0x.js → localSolutionDiscovery-p76pkg4h.js} +3 -3
  19. package/dist/{node-sync-service-7agh1jp4.js → node-sync-service-y0n3255b.js} +3 -3
  20. package/dist/{out-target-1nf1w27k.js → out-target-6bkd58tt.js} +3 -3
  21. package/dist/{packager-tool-ddm830vk.js → packager-tool-16rpf7ra.js} +2 -2
  22. package/dist/{packager-tool-3mjb6s40.js → packager-tool-2w3wbt9e.js} +2 -2
  23. package/dist/{packager-tool-aynr30c7.js → packager-tool-4400k61z.js} +4 -4
  24. package/dist/{packager-tool-frw06yrx.js → packager-tool-80h66bdx.js} +1 -1
  25. package/dist/{packager-tool-15n0wenx.js → packager-tool-8fvsztx3.js} +1 -1
  26. package/dist/{packager-tool-xbzw78dp.js → packager-tool-bm4k99m1.js} +29 -29
  27. package/dist/{packager-tool-v3j73vb4.js → packager-tool-cp2e5aye.js} +3 -3
  28. package/dist/{packager-tool-gz1jqf2g.js → packager-tool-gnmnwhes.js} +1 -1
  29. package/dist/{packager-tool-7wrh57ja.js → packager-tool-hf72ww3b.js} +1 -1
  30. package/dist/{packager-tool-064a6zcv.js → packager-tool-xvh87pvm.js} +2 -2
  31. package/dist/{packager-tool-7fxtbm58.js → packager-tool-y01zn5aw.js} +66 -1
  32. package/dist/packager-tool.js +2 -2
  33. package/dist/{project-artifacts-g7d52tje.js → project-artifacts-caeck8ak.js} +1 -1
  34. package/dist/{resourcesSyncService-rwpdpnay.js → resourcesSyncService-kv0762mc.js} +6 -6
  35. package/dist/{sdd-resolve-siblings-q08re6nn.js → sdd-resolve-siblings-e9624rb8.js} +2 -2
  36. package/dist/tool.js +1 -1
  37. package/dist/{trigger-enrichment-service-r15j96d7.js → trigger-enrichment-service-ey92dgx6.js} +5 -5
  38. package/package.json +2 -2
@@ -643,11 +643,7 @@ function liftDeclaredOptions(cmd) {
643
643
  return;
644
644
  const { tokens, firstUnknown, sentinel } = tokenizeTail(cmd, tail);
645
645
  const cut = Math.min(firstUnknown === -1 ? tail.length : firstUnknown, sentinel === -1 ? tail.length : sentinel);
646
- const late = tokens.find((token) => token.kind === "option" && token.index > cut);
647
- if (late?.kind === "option") {
648
- const flag = late.option.long ?? late.option.short;
649
- cmd.error(`error: write ${flag} before any SDK flag ('${tail[firstUnknown]}'). An SDK flag whose value starts with '-' is written --flag=value.`, { code: "commander.invalidArgument" });
650
- }
646
+ refuseLateDeclaredOption(cmd, tokens, cut, tail[firstUnknown]);
651
647
  cmd.passThroughOptions(false);
652
648
  let parsed;
653
649
  try {
@@ -662,6 +658,13 @@ function liftDeclaredOptions(cmd) {
662
658
  tails.set(cmd, lifted);
663
659
  cmd.args = [positional, ...lifted.operands, ...lifted.forwarded];
664
660
  }
661
+ function refuseLateDeclaredOption(cmd, tokens, cut, sdkFlag) {
662
+ const late = tokens.find((token) => token.kind === "option" && token.index > cut);
663
+ if (late?.kind === "option") {
664
+ const flag = late.option.long ?? late.option.short;
665
+ cmd.error(`error: write ${flag} before any SDK flag ('${sdkFlag}'). An SDK flag whose value starts with '-' is written --flag=value.`, { code: "commander.invalidArgument" });
666
+ }
667
+ }
665
668
  function sdkTail(cmd) {
666
669
  return tails.get(cmd) ?? { operands: [], forwarded: cmd.args.slice(1) };
667
670
  }
@@ -1117,4 +1120,4 @@ export {
1117
1120
  registerCaseAuthoringCommands
1118
1121
  };
1119
1122
 
1120
- //# debugId=47051A840A5CE9CD64756E2164756E21
1123
+ //# debugId=97E9A269CF6A1CF264756E2164756E21
@@ -7,7 +7,7 @@ async function readBusinessRuleEntryPointAsync(entry) {
7
7
  getRemoteResourceClients,
8
8
  readSpecEntryPoints,
9
9
  toCatalogReference
10
- } = await import("./index-50w84ws0.js");
10
+ } = await import("./index-wkkf2sqh.js");
11
11
  await getSolutionAuthContext({});
12
12
  const { importer } = getRemoteResourceClients(await createResourceBuilderServices());
13
13
  const folder = entry.folders?.[0];
@@ -1,10 +1,10 @@
1
1
  // src/services/case-debug-solution-projects.ts
2
2
  var caseSolutionProjects = async (solutionDir, uploaded, solutionId) => {
3
- const { readSolutionAt } = await import("./index-g22j3v6z.js");
3
+ const { readSolutionAt } = await import("./index-xxtxmc68.js");
4
4
  const context = await readSolutionAt(solutionDir);
5
5
  if (context === null)
6
6
  return [];
7
- const { readLocalResourcesForType } = await import("./localSolutionDiscovery-qywxfs0x.js");
7
+ const { readLocalResourcesForType } = await import("./localSolutionDiscovery-p76pkg4h.js");
8
8
  const rules = await readLocalResourcesForType(context, "businessRule");
9
9
  const descriptors = [];
10
10
  for (const rule of rules) {
@@ -12,7 +12,7 @@ import {
12
12
  parseJsonObject,
13
13
  resolvePackagedMain,
14
14
  readOperateMain
15
- } from "./packager-tool-7fxtbm58.js";
15
+ } from "./packager-tool-y01zn5aw.js";
16
16
  import"./packager-tool-1wgav5ma.js";
17
17
  import {
18
18
  CasePlanFileNames2,
@@ -24,11 +24,11 @@ import {
24
24
  misnamedEntryPointBpmn2,
25
25
  buildCasePackageDescriptor2,
26
26
  withCasePlanDefaults2
27
- } from "./packager-tool-7wrh57ja.js";
27
+ } from "./packager-tool-hf72ww3b.js";
28
28
  import {
29
29
  buildSolutionPackageFromDir2,
30
30
  uploadOrOverwriteSolution2
31
- } from "./packager-tool-3mjb6s40.js";
31
+ } from "./packager-tool-2w3wbt9e.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-d5nrywd2.js");
130
+ const { caseSolutionProjects } = await import("./case-debug-solution-projects-r98bjv1q.js");
131
131
  return caseSolutionProjects(solutionDir, uploadedProjects, solutionId);
132
132
  },
133
133
  apiConfig,
@@ -13,7 +13,7 @@ import {
13
13
  applyDefaultEntryPoint,
14
14
  ensureContentOperateFile,
15
15
  NugetPackager
16
- } from "./packager-tool-7fxtbm58.js";
16
+ } from "./packager-tool-y01zn5aw.js";
17
17
  import"./packager-tool-1wgav5ma.js";
18
18
  import {
19
19
  CasePlanFileNames2,
@@ -26,11 +26,11 @@ import {
26
26
  stagedMainProblem2,
27
27
  buildCasePackageDescriptor2,
28
28
  casePlanDefaults2
29
- } from "./packager-tool-7wrh57ja.js";
29
+ } from "./packager-tool-hf72ww3b.js";
30
30
  import {
31
31
  entryPointsDocument2,
32
32
  initEntryPoints2
33
- } from "./packager-tool-064a6zcv.js";
33
+ } from "./packager-tool-xvh87pvm.js";
34
34
  import {
35
35
  slaErrors,
36
36
  issueLine
@@ -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-xmh3d9vg.js");
155
+ const { CaseValidateService } = await import("./case-validate-service-46q8z1g5.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)
@@ -35,7 +35,7 @@ import {
35
35
  } from "./packager-tool-wyvdnphd.js";
36
36
  import {
37
37
  validateIntSvcNode
38
- } from "./packager-tool-aynr30c7.js";
38
+ } from "./packager-tool-4400k61z.js";
39
39
  import"./packager-tool-n3r5apbb.js";
40
40
  import"./packager-tool-c0pavv0s.js";
41
41
  import {
@@ -11,17 +11,17 @@ import {
11
11
  extractFieldDefinitions2,
12
12
  enrichConnectorRegistryEntry2,
13
13
  enrichConnectorActivity2
14
- } from "./packager-tool-v3j73vb4.js";
15
- import"./packager-tool-15n0wenx.js";
14
+ } from "./packager-tool-cp2e5aye.js";
15
+ import"./packager-tool-8fvsztx3.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-gz1jqf2g.js";
20
+ import"./packager-tool-gnmnwhes.js";
21
21
  import"./packager-tool-36vkdb3h.js";
22
22
  import"./packager-tool-xb16e3tz.js";
23
- import"./packager-tool-frw06yrx.js";
24
- import"./packager-tool-aynr30c7.js";
23
+ import"./packager-tool-80h66bdx.js";
24
+ import"./packager-tool-4400k61z.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-15n0wenx.js";
5
+ } from "./packager-tool-8fvsztx3.js";
6
6
  import"./packager-tool-j53d4vv1.js";
7
- import"./packager-tool-aynr30c7.js";
7
+ import"./packager-tool-4400k61z.js";
8
8
  import"./packager-tool-jv5byaww.js";
9
9
  import"./packager-tool-c0pavv0s.js";
10
10
  import"./packager-tool-n3r5apbb.js";
@@ -402,7 +402,7 @@ async function enrichBusinessRuleType(id) {
402
402
  if (!entry) {
403
403
  throw new Error(`No business-rule entry found with entityKey "${id}" in businessRule-index.json`);
404
404
  }
405
- const { readBusinessRuleEntryPointAsync } = await import("./business-rule-export-mte3gjqv.js");
405
+ const { readBusinessRuleEntryPointAsync } = await import("./business-rule-export-7m60ye0z.js");
406
406
  const exported = await readBusinessRuleEntryPointAsync(entry);
407
407
  if (!exported) {
408
408
  throw new Error("Describing a business rule needs the Node CLI: the browser build cannot export a rule's contract.");
@@ -20,7 +20,7 @@ import {
20
20
  findTriggerDesignAction,
21
21
  triggerEventParameters,
22
22
  runTriggerDesignAction
23
- } from "./packager-tool-aynr30c7.js";
23
+ } from "./packager-tool-4400k61z.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-frw06yrx.js";
46
+ } from "./packager-tool-80h66bdx.js";
47
47
  import"./packager-tool-hrd44w8g.js";
48
48
  import {
49
49
  findSolutionFromCwd2
@@ -13,8 +13,8 @@ import {
13
13
  withCasePlanDefaults2,
14
14
  casePlanDefaults2,
15
15
  CaseToolFactory2
16
- } from "./packager-tool-7wrh57ja.js";
17
- import"./packager-tool-7fxtbm58.js";
16
+ } from "./packager-tool-hf72ww3b.js";
17
+ import"./packager-tool-y01zn5aw.js";
18
18
  import"./packager-tool-1wgav5ma.js";
19
19
  export {
20
20
  CasePlanFileNames2 as CasePlanFileNames,
@@ -3,7 +3,7 @@ import {
3
3
  isSolutionUploadHttpError2,
4
4
  buildSolutionUploadFailureOutput2,
5
5
  uploadOrOverwriteSolution2
6
- } from "./packager-tool-3mjb6s40.js";
6
+ } from "./packager-tool-2w3wbt9e.js";
7
7
  import {
8
8
  prepareProjectLocation2,
9
9
  findSolutionFile2,