@uipath/solution-tool 1.206.0-preview.306 → 1.206.0-preview.311

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 (57) hide show
  1. package/dist/{cleanup-command-service-abtxpefz.js → cleanup-command-service-30wn9maz.js} +3 -3
  2. package/dist/{deploy-delete-service-as1jfycj.js → deploy-delete-service-tq9t7rf0.js} +8 -8
  3. package/dist/{deploy-run-service-gs1xv1y1.js → deploy-run-service-gty4vh75.js} +8 -8
  4. package/dist/{deploy-status-service-k1gycn13.js → deploy-status-service-8bvvx4bg.js} +7 -7
  5. package/dist/deploy.js +12 -12
  6. package/dist/{deployment-search-bjdwqh5w.js → deployment-search-3yx61n9d.js} +4 -4
  7. package/dist/{feed-resolver-x0kt3yrw.js → feed-resolver-wpde8ryy.js} +4 -4
  8. package/dist/{feed-scope-failure-9p8w0j1v.js → feed-scope-failure-ye3bg2z6.js} +5 -5
  9. package/dist/{feed-session-ytew8k2j.js → feed-session-jv4bs4ds.js} +2 -2
  10. package/dist/{first-party-service-6gf3n6d8.js → first-party-service-wgn5ykt1.js} +1 -1
  11. package/dist/{governance-options-40m81z8h.js → governance-options-xpb68rkf.js} +2 -2
  12. package/dist/{index-p3x7ztdr.js → index-226geawx.js} +1 -1
  13. package/dist/{index-yjvmjpdn.js → index-hfa97g3f.js} +1 -1
  14. package/dist/{index-2bn3jzn9.js → index-mtbw1p8g.js} +2 -2
  15. package/dist/index.js +13 -13
  16. package/dist/init.js +1 -1
  17. package/dist/{list-0k8c4rt6.js → list-80a3hxy3.js} +2 -2
  18. package/dist/{node-6ay6nbnq.js → node-7x8mwkgg.js} +2 -2
  19. package/dist/{pack-command-service-jzbch4eb.js → pack-command-service-e15h6ve0.js} +7 -7
  20. package/dist/{pack-project-2g2ncn2k.js → pack-project-3nj93p1x.js} +4 -4
  21. package/dist/pack.js +8 -8
  22. package/dist/{package-id-56k44s7y.js → package-id-7c1gazhy.js} +1 -1
  23. package/dist/{packager-tool-829w06ns.js → packager-tool-49c2jnr7.js} +2 -2
  24. package/dist/{packager-tool-7v03ncmv.js → packager-tool-86ewy6r5.js} +5 -5
  25. package/dist/{packager-tool-s8q14fth.js → packager-tool-8avwycwz.js} +1 -1
  26. package/dist/{packager-tool-0z4aq300.js → packager-tool-a0tzy71q.js} +8 -8
  27. package/dist/{packager-tool-c8x0tpe4.js → packager-tool-a2ezpz5y.js} +2 -2
  28. package/dist/{packager-tool-v3ze7wmr.js → packager-tool-b0k45m05.js} +6 -6
  29. package/dist/{packager-tool-2qsbh4kd.js → packager-tool-b1g3pjsy.js} +1 -1
  30. package/dist/{packager-tool-wjvks6st.js → packager-tool-bd25341m.js} +2 -2
  31. package/dist/{packager-tool-xxf8f4v2.js → packager-tool-d32ec8nb.js} +2 -2
  32. package/dist/{packager-tool-h8tksb5s.js → packager-tool-ewmcfzsr.js} +2 -2
  33. package/dist/{packager-tool-f5pzh184.js → packager-tool-jmsgjh9h.js} +2 -2
  34. package/dist/{packager-tool-5e4gps62.js → packager-tool-jpb9qdsp.js} +1 -1
  35. package/dist/{packager-tool-pqk9v4h7.js → packager-tool-jvj8aejm.js} +1 -1
  36. package/dist/{packager-tool-23g7kn35.js → packager-tool-kkrjrzfe.js} +2 -2
  37. package/dist/{packager-tool-vrw36pdb.js → packager-tool-n5cm6cws.js} +4 -4
  38. package/dist/{packager-tool-r0ha8c95.js → packager-tool-nks4g29s.js} +1 -1
  39. package/dist/{packager-tool-bkmwknfn.js → packager-tool-rp3v2krz.js} +1 -1
  40. package/dist/{packager-tool-m5mwc6by.js → packager-tool-sdypc6rc.js} +5 -5
  41. package/dist/{packager-tool-chff74yz.js → packager-tool-skgywj30.js} +26 -5
  42. package/dist/{packager-tool-ay4j9x92.js → packager-tool-w4jh7yvp.js} +2 -2
  43. package/dist/{packager-tool-qpryf1x2.js → packager-tool-wjdabyek.js} +2 -2
  44. package/dist/{packager-tool-z4cbca95.js → packager-tool-x0cm0aap.js} +1 -1
  45. package/dist/{packager-tool-y1304xzm.js → packager-tool-xt61prxj.js} +55 -55
  46. package/dist/{prepare-solution-resources-h7zvnncd.js → prepare-solution-resources-e8wynvfe.js} +3 -3
  47. package/dist/{project-command-utils-82tja3k0.js → project-command-utils-nnzvherf.js} +1 -1
  48. package/dist/{project-contributions-xx560n8y.js → project-contributions-zhesqsj9.js} +2 -2
  49. package/dist/publish.js +5 -5
  50. package/dist/{resource-mutations-h6wfdqr4.js → resource-mutations-f86f5xpm.js} +1 -1
  51. package/dist/{resource-version-lookup-xzgnvr48.js → resource-version-lookup-7q551kcq.js} +1 -1
  52. package/dist/resource.js +1 -1
  53. package/dist/{restore-command-service-bqs7r9y3.js → restore-command-service-m51rt2aj.js} +3 -3
  54. package/dist/{run-service-ekbx2jdg.js → run-service-nggvq04v.js} +13 -13
  55. package/dist/{solution-definition-helper-tqwd6cxn.js → solution-definition-helper-qa7v6rpr.js} +1 -1
  56. package/dist/tool.js +13 -13
  57. package/package.json +2 -2
@@ -21,12 +21,12 @@ import {
21
21
  classifyFeedSession2,
22
22
  feedSessionRefusal2,
23
23
  feedSessionRefusalAsync2
24
- } from "./packager-tool-z4cbca95.js";
24
+ } from "./packager-tool-x0cm0aap.js";
25
25
  import {
26
26
  Configuration3,
27
27
  SolutionDeploymentAction2,
28
28
  DeploymentsApi2
29
- } from "./packager-tool-xxf8f4v2.js";
29
+ } from "./packager-tool-d32ec8nb.js";
30
30
  import {
31
31
  getSolutionAuthContext2
32
32
  } from "./packager-tool-ppj5f4y7.js";
@@ -42,7 +42,7 @@ import {
42
42
  newestDeploymentRow2,
43
43
  interpretFailedDeployPoll2,
44
44
  resolveInstalledFolder2
45
- } from "./packager-tool-829w06ns.js";
45
+ } from "./packager-tool-49c2jnr7.js";
46
46
  import {
47
47
  activateDeployment,
48
48
  NO_SERVER_REASON,
@@ -51,7 +51,7 @@ import {
51
51
  ACKNOWLEDGE_PERMANENT_DELETION_FLAG,
52
52
  finiteOr,
53
53
  runInstallToOutcomeAsync
54
- } from "./packager-tool-vrw36pdb.js";
54
+ } from "./packager-tool-n5cm6cws.js";
55
55
  import {
56
56
  resolveParentFolder,
57
57
  resolveFolderInfo,
@@ -59,7 +59,7 @@ import {
59
59
  feedSelectorFlag2,
60
60
  describeFeedResolutionFailureAsync2,
61
61
  resolveFeedScope2
62
- } from "./packager-tool-23g7kn35.js";
62
+ } from "./packager-tool-kkrjrzfe.js";
63
63
  import {
64
64
  pendingResourceApis,
65
65
  reportedActivationStatus,
@@ -67,7 +67,7 @@ import {
67
67
  appendDeploymentStateInstructions,
68
68
  needsPendingResources,
69
69
  deploymentNextSteps
70
- } from "./packager-tool-wjvks6st.js";
70
+ } from "./packager-tool-bd25341m.js";
71
71
  import {
72
72
  formatDeploymentFailureDetails,
73
73
  hasServerErrorCode,
@@ -16,7 +16,7 @@ import {
16
16
  hasBareTemplateRow2,
17
17
  hasAnyTemplateRow2,
18
18
  readUipxProjects2
19
- } from "./packager-tool-chff74yz.js";
19
+ } from "./packager-tool-skgywj30.js";
20
20
  import {
21
21
  toolVerbForProjectType2
22
22
  } from "./packager-tool-qzcd5c9s.js";
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  Configuration2,
9
9
  PipelinesApi
10
- } from "./packager-tool-z4cbca95.js";
10
+ } from "./packager-tool-x0cm0aap.js";
11
11
  import {
12
12
  Configuration3,
13
13
  SolutionDeploymentAction2,
14
14
  DeploymentsApi2
15
- } from "./packager-tool-xxf8f4v2.js";
15
+ } from "./packager-tool-d32ec8nb.js";
16
16
 
17
17
  // src/services/deployment-state.ts
18
18
  function pendingResourceApis(auth) {
@@ -257,7 +257,7 @@ var package_default = {
257
257
  name: "@uipath/solution-sdk",
258
258
  author: "UiPath",
259
259
  license: "SEE LICENSE IN LICENSE.txt",
260
- version: "1.206.0-preview.306",
260
+ version: "1.206.0-preview.311",
261
261
  repository: {
262
262
  type: "git",
263
263
  url: "https://github.com/UiPath/cli.git",
@@ -1175,4 +1175,4 @@ class SearchApi extends BaseAPI {
1175
1175
  }
1176
1176
  export { Configuration3, ResponseError, SDK_USER_AGENT, DeploymentActivationStatus2, WorkflowAction2, DeploymentOperationStatus2, DeploymentSearchItemDto2FromJSON, PackageInfoFromJSON, SolutionDeploymentAction2, DeploymentsApi2, SearchApi };
1177
1177
 
1178
- //# debugId=7E368DA5718E68BA64756E2164756E21
1178
+ //# debugId=D5BCF0E5F1B1A48264756E2164756E21
@@ -15,7 +15,7 @@ import {
15
15
  Configuration2,
16
16
  PipelinesApi,
17
17
  feedSessionRefusalAsync2
18
- } from "./packager-tool-z4cbca95.js";
18
+ } from "./packager-tool-x0cm0aap.js";
19
19
  import {
20
20
  getSolutionAuthContext2
21
21
  } from "./packager-tool-ppj5f4y7.js";
@@ -29,7 +29,7 @@ import {
29
29
  feedScopeInitOverride2,
30
30
  describeFeedResolutionFailureAsync2,
31
31
  resolveFeedScope2
32
- } from "./packager-tool-23g7kn35.js";
32
+ } from "./packager-tool-kkrjrzfe.js";
33
33
  import {
34
34
  capturePackedSolutionIdentity2
35
35
  } from "./packager-tool-ckrt4gyr.js";
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  findDeploymentByName2,
7
7
  findLiveDeploymentByName2
8
- } from "./packager-tool-829w06ns.js";
8
+ } from "./packager-tool-49c2jnr7.js";
9
9
  import {
10
10
  resolvePersonalWorkspace,
11
11
  listSelectablePublishLocations,
12
12
  folderKeyInitOverride2,
13
13
  feedScopeInitOverride2
14
- } from "./packager-tool-23g7kn35.js";
14
+ } from "./packager-tool-kkrjrzfe.js";
15
15
 
16
16
  // src/services/deployment-feed-locator.ts
17
17
  var sweepResult = (location, skipped) => ({
@@ -22,7 +22,7 @@ import {
22
22
  ToolsFactory,
23
23
  ProjectPackager,
24
24
  PackageIdReader
25
- } from "./packager-tool-c8x0tpe4.js";
25
+ } from "./packager-tool-a2ezpz5y.js";
26
26
  import {
27
27
  NodeFileSystem
28
28
  } from "./packager-tool-vgrswa8p.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  ResponseError,
7
7
  SDK_USER_AGENT
8
- } from "./packager-tool-xxf8f4v2.js";
8
+ } from "./packager-tool-d32ec8nb.js";
9
9
  import {
10
10
  redactTokens,
11
11
  parseAuthChallenge,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./packager-tool-ppj5f4y7.js";
15
15
  import {
16
16
  classifyFeedSession2
17
- } from "./packager-tool-z4cbca95.js";
17
+ } from "./packager-tool-x0cm0aap.js";
18
18
  import {
19
19
  PersonalWorkspacesApi,
20
20
  createOrchestratorConfig,
@@ -22,7 +22,7 @@ import {
22
22
  } from "./packager-tool-egc54x78.js";
23
23
  import {
24
24
  getAvailablePublishLocationsV22
25
- } from "./packager-tool-pqk9v4h7.js";
25
+ } from "./packager-tool-jvj8aejm.js";
26
26
 
27
27
  // src/services/personal-workspace-resolver.ts
28
28
  async function resolvePersonalWorkspace(options) {
@@ -11,20 +11,20 @@ import {
11
11
  import {
12
12
  Configuration2,
13
13
  PipelinesApi
14
- } from "./packager-tool-z4cbca95.js";
14
+ } from "./packager-tool-x0cm0aap.js";
15
15
  import {
16
16
  Configuration3,
17
17
  DeploymentsApi2
18
- } from "./packager-tool-xxf8f4v2.js";
18
+ } from "./packager-tool-d32ec8nb.js";
19
19
  import {
20
20
  findDeploymentBestEffort2,
21
21
  isPipelineDeploymentNotFoundError2,
22
22
  mapOperationStatusToPipelineStatus2,
23
23
  deploymentToTerminalPipelineResult2
24
- } from "./packager-tool-829w06ns.js";
24
+ } from "./packager-tool-49c2jnr7.js";
25
25
  import {
26
26
  isCurrentRecordAsync
27
- } from "./packager-tool-wjvks6st.js";
27
+ } from "./packager-tool-bd25341m.js";
28
28
  import {
29
29
  coerceWorkflowErrorMessages,
30
30
  VALIDATION_CONFIRMATION_REQUIRED_CODE
@@ -8,7 +8,7 @@ import {
8
8
  } from "./packager-tool-2zn98p5r.js";
9
9
  import {
10
10
  PackCommandService2
11
- } from "./packager-tool-7v03ncmv.js";
11
+ } from "./packager-tool-86ewy6r5.js";
12
12
 
13
13
  // src/services/pack-service.ts
14
14
  async function packSolutionAsync2(solutionPath, options) {
@@ -24,7 +24,7 @@ import {
24
24
  } from "./packager-tool-t39pjz7n.js";
25
25
  import {
26
26
  createNodeSolutionPackager
27
- } from "./packager-tool-5e4gps62.js";
27
+ } from "./packager-tool-jpb9qdsp.js";
28
28
 
29
29
  // src/services/project-identity-telemetry.ts
30
30
  function createProjectActivityObserver(commandName) {
@@ -6,21 +6,21 @@ import {
6
6
  Configuration2,
7
7
  PipelinesApi,
8
8
  classifyFeedSession2
9
- } from "./packager-tool-z4cbca95.js";
9
+ } from "./packager-tool-x0cm0aap.js";
10
10
  import {
11
11
  Configuration3,
12
12
  WorkflowAction2,
13
13
  DeploymentsApi2
14
- } from "./packager-tool-xxf8f4v2.js";
14
+ } from "./packager-tool-d32ec8nb.js";
15
15
  import {
16
16
  getSolutionAuthContext2
17
17
  } from "./packager-tool-ppj5f4y7.js";
18
18
  import {
19
19
  feedSelectorFlag2
20
- } from "./packager-tool-23g7kn35.js";
20
+ } from "./packager-tool-kkrjrzfe.js";
21
21
  import {
22
22
  resolveFeedSelectionAsync
23
- } from "./packager-tool-qpryf1x2.js";
23
+ } from "./packager-tool-wjdabyek.js";
24
24
  import {
25
25
  hasServerErrorCode,
26
26
  isBareResponse
@@ -29,7 +29,7 @@ import {
29
29
  findDeploymentAcrossFeeds,
30
30
  INCOMPLETE_SWEEP_ADVICE,
31
31
  reportIncompleteSweepAsync
32
- } from "./packager-tool-f5pzh184.js";
32
+ } from "./packager-tool-jmsgjh9h.js";
33
33
 
34
34
  // src/services/deploy-delete-service.ts
35
35
  var fail = (reason, message, instructions, extras = {}) => ({
@@ -5339,7 +5339,7 @@ class MultiFileSolutionDefinitionProvider {
5339
5339
  const metadataReader = this.metadataReaderAccessor?.();
5340
5340
  if (!metadataReader)
5341
5341
  return void this.logger.warn("Solution %s has resources sharing a key, and no metadata reader is available to resolve them; they are left in place and this read will not agree with one that can resolve them", solution.key);
5342
- const { SolutionDefinitionHelper } = await import("./solution-definition-helper-tqwd6cxn.js");
5342
+ const { SolutionDefinitionHelper } = await import("./solution-definition-helper-qa7v6rpr.js");
5343
5343
  await new SolutionDefinitionHelper(metadataReader, this.logger).replaceDuplicateKeysAsync(solution, cancellationToken);
5344
5344
  }
5345
5345
  getSolutionKey(context) {
@@ -5663,7 +5663,7 @@ var service_tokens_ServiceLifetime = /* @__PURE__ */ function(ServiceLifetime) {
5663
5663
  async function createDefaultEmbeddedFileReaderAsync() {
5664
5664
  const [{ EmbeddedFileReader }, { JsonSerializerFactory }] = await Promise.all([
5665
5665
  import("./embedded-file-reader-pxpwcq3n.js"),
5666
- import("./index-p3x7ztdr.js")
5666
+ import("./index-226geawx.js")
5667
5667
  ]);
5668
5668
  return new EmbeddedFileReader(new JsonSerializerFactory);
5669
5669
  }
@@ -13451,7 +13451,7 @@ class FirstPartyServiceClientProxy {
13451
13451
  const tenantKey = await this.accessProvider.getTenantKeyAsync(cancellationToken);
13452
13452
  if (!accountKey)
13453
13453
  throw new BadRequestException(ErrorCodes.AuthenticationFailed, "Unable to obtain account key");
13454
- const client = new (await import("./first-party-service-6gf3n6d8.js")).FirstPartyServiceApi({
13454
+ const client = new (await import("./first-party-service-wgn5ykt1.js")).FirstPartyServiceApi({
13455
13455
  baseUrl: fullBaseUrl,
13456
13456
  customFetch: fetchWithTimeout(LONG_RUNNING_TIMEOUT_MS),
13457
13457
  baseApiParams: {
@@ -19433,9 +19433,30 @@ function toCatalogReference(reference) {
19433
19433
  };
19434
19434
  }
19435
19435
  async function exportResourceDefinitionAsync2(importer, reference) {
19436
- const payload = await importer.exportResourceAsync(reference);
19436
+ const [error, payload] = await catchError(importer.exportResourceAsync(reference));
19437
+ if (error) {
19438
+ throw withExportStatus(error);
19439
+ }
19437
19440
  return payload.resourceDefinitions.find((d) => d.key === reference.key);
19438
19441
  }
19442
+
19443
+ class ResourceExportError extends Error {
19444
+ status;
19445
+ constructor(message, status, cause) {
19446
+ super(message, { cause });
19447
+ this.status = status;
19448
+ this.name = "ResourceExportError";
19449
+ }
19450
+ }
19451
+ function withExportStatus(error) {
19452
+ if (!(error instanceof Error) || !("exceptionData" in error)) {
19453
+ return error;
19454
+ }
19455
+ const data = error.exceptionData;
19456
+ const text = typeof data === "object" && data !== null ? data.errorMessage : undefined;
19457
+ const match = typeof text === "string" ? /^HTTP (\d{3})\b/.exec(text) : null;
19458
+ return match ? new ResourceExportError(error.message, Number(match[1]), error) : error;
19459
+ }
19439
19460
  function readSpecProperty2(spec, name) {
19440
19461
  if (!spec) {
19441
19462
  return;
@@ -20821,4 +20842,4 @@ function sortKeysDeep2(value) {
20821
20842
  }
20822
20843
  export { JsonSerializerNames2, JsonSerializer2, CAMEL_CASE_ENUM_PROPERTIES2, SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2, RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2, PASCAL_CASE_ENUM_PROPERTIES2, JsonSerializerFactory2, JsonSerializerProxy2, StreamSerializer2, SolutionDefinitionHelper2, Tokens, models_BindingsResourceType, getResourceName, getFolderPathProperty, getResourceKindForBinding, FirstPartyServiceApi2, assertSolutionManifest2, computeEntryPointSpec2, createResourceBuilderServices2, findProjectFile2, isProjectManifestError2, isMissingProjectTypeError2, readProjectFile2, readSolutionFile2, resolveSolutionFilePath2, writeSolutionFile2, restoreSolutionFile2, createProjectInSolutionBuilder2, normalizeFolderPath2, findMatchingLocalResource2, addProjectArtifactsToSolutionAsync2, hasBareTemplateRow2, hasAnyTemplateRow2, getRemoteResourceClients2, exportResourceDefinitionAsync2, readSpecProperty2, saveCasingNormalized2, normalizeResourceFileCasing2, readResourceConfigurationsAsync2, readResourceConfigurationAsync2, validateResourceName2, formatResourceSubtypes2, sameResourceSubtype2, syncResourcesFromBindings2, uniqueNameForResource2, findResourceByKeyInRcs2, searchRcsResources2, findResourceInRcs2, createResourceKindMetadataResolver2, resolveResourceKindMetadata2, createLocalResource2, readUipxProjects2, syncAndLog2, resourceRefreshAsync2, resourceRemoteSyncAsync2 };
20823
20844
 
20824
- //# debugId=ADC7C0341F28A8C864756E2164756E21
20845
+ //# debugId=1A0F096969DDB63464756E2164756E21
@@ -17,7 +17,7 @@ import {
17
17
  findResourceInRcs2,
18
18
  readUipxProjects2,
19
19
  syncAndLog2
20
- } from "./packager-tool-chff74yz.js";
20
+ } from "./packager-tool-skgywj30.js";
21
21
  import {
22
22
  ensurePackagerTools2
23
23
  } from "./packager-tool-2zn98p5r.js";
@@ -26,7 +26,7 @@ import {
26
26
  assertNoContributionErrors2,
27
27
  contributionErrorMessages2,
28
28
  applyProjectContributions2
29
- } from "./packager-tool-2qsbh4kd.js";
29
+ } from "./packager-tool-b1g3pjsy.js";
30
30
 
31
31
  // src/services/emit-runtime-dependencies.ts
32
32
  import { createHash } from "node:crypto";
@@ -5,11 +5,11 @@ import {
5
5
  classifyFeedSession2,
6
6
  feedSessionRefusal2,
7
7
  feedSessionRefusalAsync2
8
- } from "./packager-tool-z4cbca95.js";
8
+ } from "./packager-tool-x0cm0aap.js";
9
9
  import {
10
10
  describeFeedResolutionFailureAsync2,
11
11
  resolveFeedScope2
12
- } from "./packager-tool-23g7kn35.js";
12
+ } from "./packager-tool-kkrjrzfe.js";
13
13
 
14
14
  // src/services/feed-selection.ts
15
15
  async function resolveFeedSelectionAsync(auth, flags, action) {
@@ -14,7 +14,7 @@ import {
14
14
  Configuration3,
15
15
  DeploymentSearchItemDto2FromJSON,
16
16
  SearchApi
17
- } from "./packager-tool-xxf8f4v2.js";
17
+ } from "./packager-tool-d32ec8nb.js";
18
18
 
19
19
  // ../pipelines-sdk/generated/src/runtime.ts
20
20
  var BASE_PATH = "http://localhost".replace(/\/+$/, "");