@uipath/orchestrator-tool 1.197.0 → 1.198.0-preview.81

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 (2) hide show
  1. package/dist/tool.js +28 -6
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -21250,7 +21250,7 @@ var init_server = __esm(() => {
21250
21250
  var package_default = {
21251
21251
  name: "@uipath/orchestrator-tool",
21252
21252
  license: "MIT",
21253
- version: "1.197.0",
21253
+ version: "1.198.0-preview.81",
21254
21254
  description: "Manage Orchestrator folders, jobs, processes, and releases.",
21255
21255
  private: false,
21256
21256
  repository: {
@@ -21354,8 +21354,15 @@ var TLS_ERROR_CODES = new Set([
21354
21354
  var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
21355
21355
  var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
21356
21356
  function describeConnectivityError(error) {
21357
- let current = error;
21358
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
21357
+ const queue = [error];
21358
+ const seen = new Set;
21359
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
21360
+ const current = queue.shift();
21361
+ if (current === null || typeof current !== "object")
21362
+ continue;
21363
+ if (seen.has(current))
21364
+ continue;
21365
+ seen.add(current);
21359
21366
  const cur = current;
21360
21367
  const code = typeof cur.code === "string" ? cur.code : undefined;
21361
21368
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -21375,7 +21382,10 @@ function describeConnectivityError(error) {
21375
21382
  instructions: NETWORK_INSTRUCTIONS
21376
21383
  };
21377
21384
  }
21378
- current = cur.cause;
21385
+ if (cur.cause !== undefined)
21386
+ queue.push(cur.cause);
21387
+ if (Array.isArray(cur.errors))
21388
+ queue.push(...cur.errors);
21379
21389
  }
21380
21390
  return;
21381
21391
  }
@@ -26624,6 +26634,7 @@ function getLogFilePath() {
26624
26634
  // ../common/src/output-format-context.ts
26625
26635
  var formatSlot = singleton("OutputFormat");
26626
26636
  var formatExplicitSlot = singleton("OutputFormatExplicit");
26637
+ var helpRequestedSlot = singleton("HelpRequested");
26627
26638
  var filterSlot = singleton("OutputFilter");
26628
26639
  function getOutputFormat() {
26629
26640
  return formatSlot.get("json");
@@ -27712,6 +27723,9 @@ var OutputFormatter;
27712
27723
  if (opts?.warning) {
27713
27724
  data.Warning = opts.warning;
27714
27725
  }
27726
+ if (opts?.pagination) {
27727
+ data.Pagination = opts.pagination;
27728
+ }
27715
27729
  success(data);
27716
27730
  }
27717
27731
  OutputFormatter.emitList = emitList;
@@ -28179,6 +28193,7 @@ function isGuid(value) {
28179
28193
  }
28180
28194
  // ../common/src/interactivity-context.ts
28181
28195
  var modeSlot = singleton("InteractivityMode");
28196
+ var interactiveFlagSlot = singleton("InteractiveFlag");
28182
28197
  // ../common/src/option-aliases.ts
28183
28198
  function warnDeprecatedOptionAlias(deprecatedFlag, preferredFlag) {
28184
28199
  getOutputSink().writeErr(`[WARN] ${deprecatedFlag} is deprecated. Use ${preferredFlag} instead.
@@ -29053,7 +29068,7 @@ class TextApiResponse {
29053
29068
  var package_default2 = {
29054
29069
  name: "@uipath/orchestrator-sdk",
29055
29070
  license: "MIT",
29056
- version: "1.197.0",
29071
+ version: "1.198.0",
29057
29072
  repository: {
29058
29073
  type: "git",
29059
29074
  url: "https://github.com/UiPath/cli.git",
@@ -50660,6 +50675,10 @@ var getAuthContext = async (options = {}) => {
50660
50675
  tenantName
50661
50676
  };
50662
50677
  };
50678
+
50679
+ // ../auth/src/index.ts
50680
+ init_constants();
50681
+
50663
50682
  // ../auth/src/interactive.ts
50664
50683
  init_src();
50665
50684
 
@@ -64580,6 +64599,9 @@ function formatProcessScheduleDetail(t) {
64580
64599
  StartProcessCronDetails: t.startProcessCronDetails ?? "",
64581
64600
  StartProcessCronSummary: t.startProcessCronSummary ?? "",
64582
64601
  StartProcessNextOccurrence: t.startProcessNextOccurrence ? new Date(t.startProcessNextOccurrence).toISOString() : "",
64602
+ CalendarId: t.calendarId ?? null,
64603
+ CalendarName: t.calendarName ?? "",
64604
+ CalendarKey: t.calendarKey ?? "",
64583
64605
  StopProcessExpression: t.stopProcessExpression ?? "",
64584
64606
  StopStrategy: t.stopStrategy ?? "",
64585
64607
  KillProcessExpression: t.killProcessExpression ?? "",
@@ -67328,4 +67350,4 @@ export {
67328
67350
  metadata
67329
67351
  };
67330
67352
 
67331
- //# debugId=D1E396889E949D4C64756E2164756E21
67353
+ //# debugId=3F2DD0EB98CE185264756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/orchestrator-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.81",
5
5
  "description": "Manage Orchestrator folders, jobs, processes, and releases.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
29
+ "gitHead": "d6a326ee051d553694b61f4923bcf1719d2e5110"
30
30
  }