@uipath/vertical-solutions-tool 1.205.0-preview.285 → 1.205.0-preview.293

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.
@@ -210,7 +210,7 @@ async function linkedOutWorkspace(packageName) {
210
210
  }
211
211
  async function recordDeployContext(input, installedFolderKey, workspaceDir, command) {
212
212
  const { job, config } = input;
213
- const { recordSeedContext } = await import("./seed-service-nn7c7mza.js");
213
+ const { recordSeedContext } = await import("./seed-service-e70g9ncd.js");
214
214
  const [contextError] = await catchError(recordSeedContext({
215
215
  packageName: job.packageName,
216
216
  packageVersion: job.packageVersion,
@@ -242,7 +242,7 @@ async function resolveInstalledFolder(input) {
242
242
  listDeploymentsOfSolution,
243
243
  resolveInstalledFolder: resolveFromDeployments,
244
244
  solutionNameFromManifest
245
- } = await import("./solution-deployments-ncsf4rx9.js");
245
+ } = await import("./solution-deployments-wgjagvaq.js");
246
246
  const solutionName = solutionNameFromManifest(input.manifest);
247
247
  if (!solutionName)
248
248
  return;
@@ -309,7 +309,7 @@ async function runOfferedSeed(input, folderKey, workspaceDir, hint, templatesAre
309
309
  const { job, options, deps } = input;
310
310
  const yes = options.seed === true ? options.yes : undefined;
311
311
  const retry = seedCommandFor(job, folderKey, options) + (templatesAreCurrent ? " --refresh" : "") + (yes ? " --yes" : "");
312
- const { runSeed } = await import("./seed-service-nn7c7mza.js");
312
+ const { runSeed } = await import("./seed-service-e70g9ncd.js");
313
313
  const [seedError, seeded] = await catchError(runSeed({
314
314
  packageName: job.packageName,
315
315
  packageVersion: job.packageVersion,
@@ -47,7 +47,7 @@ var package_default = {
47
47
  name: "@uipath/vertical-solutions-tool",
48
48
  author: "UiPath",
49
49
  license: "SEE LICENSE IN LICENSE.txt",
50
- version: "1.205.0-preview.285",
50
+ version: "1.205.0-preview.293",
51
51
  description: "Scaffold, generate and deploy Vertical Solution projects.",
52
52
  private: false,
53
53
  repository: {
@@ -4442,7 +4442,7 @@ var RESUME_EXAMPLES = [
4442
4442
  }
4443
4443
  ];
4444
4444
  var resume = async (jobId, options) => {
4445
- const { runResume } = await import("./resume-service-3g7zrgfb.js");
4445
+ const { runResume } = await import("./resume-service-0cpq09nq.js");
4446
4446
  const { confirmSeed, createWatchPrompts, seedPrompts } = await import("./prompts-dtgt183n.js");
4447
4447
  const { emitFailure } = await import("./job-commands-azgbrbdb.js");
4448
4448
  const result = await runResume(jobId, { ...options, signal: processContext.pollSignal }, { watch: createWatchPrompts(), seed: seedPrompts, confirmSeed });
@@ -4529,7 +4529,7 @@ var SEED_EXAMPLES = [
4529
4529
  }
4530
4530
  ];
4531
4531
  var seed = async (options) => {
4532
- const { runSeed } = await import("./seed-service-nn7c7mza.js");
4532
+ const { runSeed } = await import("./seed-service-e70g9ncd.js");
4533
4533
  const { emitFailure, exitIfCallerAborted } = await import("./job-commands-azgbrbdb.js");
4534
4534
  const { seedPrompts } = await import("./prompts-dtgt183n.js");
4535
4535
  const [error2, result] = await catchError(runSeed({ ...options, signal: processContext.pollSignal }, seedPrompts));
@@ -4710,7 +4710,7 @@ var DEPLOY_EXAMPLES = [
4710
4710
  }
4711
4711
  ];
4712
4712
  var deploy = async (options) => {
4713
- const { runDeploy } = await import("./deploy-service-sw07r91b.js");
4713
+ const { runDeploy } = await import("./deploy-service-y6b0xktz.js");
4714
4714
  const {
4715
4715
  configurationPrompts,
4716
4716
  confirmProceed,
@@ -4945,4 +4945,4 @@ var registerCommands = async (program) => {
4945
4945
 
4946
4946
  export { metadata, registerCommands };
4947
4947
 
4948
- //# debugId=5A5BFE5E7B610CBE64756E2164756E21
4948
+ //# debugId=C7B4260DC045873964756E2164756E21
@@ -21,6 +21,10 @@ var JsonSerializerNames = {
21
21
  };
22
22
 
23
23
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer.js
24
+ var VERBATIM_VALUE_PROPERTIES = new Set([
25
+ "spec"
26
+ ]);
27
+
24
28
  class JsonSerializer {
25
29
  serialize(value) {
26
30
  if (value == null)
@@ -110,7 +114,9 @@ class JsonSerializer {
110
114
  const result = {};
111
115
  const currentClassName = obj.constructor?.name !== "Object" ? obj.constructor.name : className;
112
116
  for (const [key, val] of Object.entries(obj))
113
- if (typeof val == "string")
117
+ if (VERBATIM_VALUE_PROPERTIES.has(key))
118
+ result[key] = val;
119
+ else if (typeof val == "string")
114
120
  result[key] = this.tryConvertEnumStringToCamelCase(val, currentClassName, key);
115
121
  else if (Array.isArray(val))
116
122
  result[key] = val.map((item) => {
@@ -339,4 +345,4 @@ class StreamSerializer {
339
345
  }
340
346
  export { JsonSerializerNames, JsonSerializer, CAMEL_CASE_ENUM_PROPERTIES, SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES, RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES, PASCAL_CASE_ENUM_PROPERTIES, JsonSerializerFactory, JsonSerializerProxy, StreamSerializer };
341
347
 
342
- //# debugId=B9E68BD7718EF2DB64756E2164756E21
348
+ //# debugId=C9C96784831F2C9F64756E2164756E21
@@ -64,7 +64,7 @@ var DEPLOYMENT_PAGE_SIZE = 100;
64
64
  var MAX_DEPLOYMENT_PAGES = 100;
65
65
  async function listSolutionDeployments(config, signal, packageName) {
66
66
  const auth = await solutionAuth(config);
67
- const { searchDeployments } = await import("./deployment-search-nagn1x54.js");
67
+ const { searchDeployments } = await import("./deployment-search-pjmncg9m.js");
68
68
  const [error, raw] = await catchError(searchDeployments(auth, {
69
69
  orderByColumn: "startTime",
70
70
  orderByDirection: "Descending",
@@ -80,7 +80,7 @@ async function listSolutionDeployments(config, signal, packageName) {
80
80
  var NAMED_DEPLOYMENT_PAGE_SIZE = 50;
81
81
  async function listDeploymentsNamed(config, name, signal) {
82
82
  const auth = await solutionAuth(config);
83
- const { searchDeploymentsPage } = await import("./deployment-search-nagn1x54.js");
83
+ const { searchDeploymentsPage } = await import("./deployment-search-pjmncg9m.js");
84
84
  const wanted = name.toLowerCase();
85
85
  const readAll = async (filter) => {
86
86
  const rows = [];
@@ -121,7 +121,7 @@ async function toSolutionDeploymentsError(error) {
121
121
  const {
122
122
  DeploymentSearchNeedsUserSessionError,
123
123
  DeploymentSearchTruncatedError
124
- } = await import("./deployment-search-nagn1x54.js");
124
+ } = await import("./deployment-search-pjmncg9m.js");
125
125
  if (error instanceof DeploymentSearchNeedsUserSessionError) {
126
126
  return new SolutionDeploymentsError("Could not list solution deployments: this tenant's Automation Solutions search reads user logins only, and this login is an application.", "permission_denied", "needs-user-session");
127
127
  }
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./tool-n9tdp599.js";
4
+ } from "./tool-fw2kxtq9.js";
5
5
  import"./tool-jjxbj28g.js";
6
6
  import"./tool-r1ewa0tf.js";
7
7
  import"./tool-38ad77wd.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/vertical-solutions-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.205.0-preview.285",
5
+ "version": "1.205.0-preview.293",
6
6
  "description": "Scaffold, generate and deploy Vertical Solution projects.",
7
7
  "private": false,
8
8
  "repository": {
@@ -35,5 +35,5 @@
35
35
  "files": [
36
36
  "dist"
37
37
  ],
38
- "gitHead": "00ea7c5c3848404ab828ed1b58116130063dcf24"
38
+ "gitHead": "4f19761f18bc44c793afb1ca678e648988c4e686"
39
39
  }