@uipath/aops-tool 1.197.0 → 1.198.0-preview.80

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 +26 -7
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -21230,7 +21230,7 @@ var init_server = __esm(() => {
21230
21230
  var package_default = {
21231
21231
  name: "@uipath/aops-tool",
21232
21232
  license: "MIT",
21233
- version: "1.197.0",
21233
+ version: "1.198.0-preview.80",
21234
21234
  description: "Manage UiPath StudioAdmin AOps — connections, repos, projects, solutions, pipelines, executions.",
21235
21235
  private: false,
21236
21236
  repository: {
@@ -21334,8 +21334,15 @@ var TLS_ERROR_CODES = new Set([
21334
21334
  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.";
21335
21335
  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.";
21336
21336
  function describeConnectivityError(error) {
21337
- let current = error;
21338
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
21337
+ const queue = [error];
21338
+ const seen = new Set;
21339
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
21340
+ const current = queue.shift();
21341
+ if (current === null || typeof current !== "object")
21342
+ continue;
21343
+ if (seen.has(current))
21344
+ continue;
21345
+ seen.add(current);
21339
21346
  const cur = current;
21340
21347
  const code = typeof cur.code === "string" ? cur.code : undefined;
21341
21348
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -21355,7 +21362,10 @@ function describeConnectivityError(error) {
21355
21362
  instructions: NETWORK_INSTRUCTIONS
21356
21363
  };
21357
21364
  }
21358
- current = cur.cause;
21365
+ if (cur.cause !== undefined)
21366
+ queue.push(cur.cause);
21367
+ if (Array.isArray(cur.errors))
21368
+ queue.push(...cur.errors);
21359
21369
  }
21360
21370
  return;
21361
21371
  }
@@ -26590,6 +26600,7 @@ function getLogFilePath() {
26590
26600
  // ../common/src/output-format-context.ts
26591
26601
  var formatSlot = singleton("OutputFormat");
26592
26602
  var formatExplicitSlot = singleton("OutputFormatExplicit");
26603
+ var helpRequestedSlot = singleton("HelpRequested");
26593
26604
  var filterSlot = singleton("OutputFilter");
26594
26605
  function getOutputFormat() {
26595
26606
  return formatSlot.get("json");
@@ -27657,6 +27668,9 @@ var OutputFormatter;
27657
27668
  if (opts?.warning) {
27658
27669
  data.Warning = opts.warning;
27659
27670
  }
27671
+ if (opts?.pagination) {
27672
+ data.Pagination = opts.pagination;
27673
+ }
27660
27674
  success(data);
27661
27675
  }
27662
27676
  OutputFormatter.emitList = emitList;
@@ -28118,6 +28132,7 @@ var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
28118
28132
  var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
28119
28133
  // ../common/src/interactivity-context.ts
28120
28134
  var modeSlot = singleton("InteractivityMode");
28135
+ var interactiveFlagSlot = singleton("InteractiveFlag");
28121
28136
  // ../common/src/option-aliases.ts
28122
28137
  function resolveDeprecatedOptionAlias({
28123
28138
  preferredValue,
@@ -28966,7 +28981,7 @@ class VoidApiResponse {
28966
28981
  var package_default2 = {
28967
28982
  name: "@uipath/sc-sdk",
28968
28983
  license: "MIT",
28969
- version: "1.197.0",
28984
+ version: "1.198.0",
28970
28985
  description: "SDK for the UiPath SourceControl API — connections, repositories, automation projects, solutions.",
28971
28986
  repository: {
28972
28987
  type: "git",
@@ -31349,6 +31364,10 @@ var getAuthContext = async (options = {}) => {
31349
31364
  tenantName
31350
31365
  };
31351
31366
  };
31367
+
31368
+ // ../auth/src/index.ts
31369
+ init_constants();
31370
+
31352
31371
  // ../auth/src/interactive.ts
31353
31372
  init_src();
31354
31373
 
@@ -31649,7 +31668,7 @@ class VoidApiResponse2 {
31649
31668
  var package_default3 = {
31650
31669
  name: "@uipath/cicd-sdk",
31651
31670
  license: "MIT",
31652
- version: "1.197.0",
31671
+ version: "1.198.0",
31653
31672
  description: "SDK for the UiPath StudioAdmin CICD API — pipelines, pipeline executions, partition configuration.",
31654
31673
  repository: {
31655
31674
  type: "git",
@@ -35421,4 +35440,4 @@ export {
35421
35440
  metadata
35422
35441
  };
35423
35442
 
35424
- //# debugId=B0F54542388B39D064756E2164756E21
35443
+ //# debugId=C06C27AD5B1079CB64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/aops-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.80",
5
5
  "description": "Manage UiPath StudioAdmin AOps — connections, repos, projects, solutions, pipelines, executions.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
29
+ "gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
30
30
  }