@uipath/resourcecatalog-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.
package/dist/index.js CHANGED
@@ -21247,7 +21247,7 @@ var {
21247
21247
  var package_default = {
21248
21248
  name: "@uipath/resourcecatalog-tool",
21249
21249
  license: "MIT",
21250
- version: "1.197.0",
21250
+ version: "1.198.0-preview.80",
21251
21251
  description: "CLI plugin for the UiPath Resource Catalog Service.",
21252
21252
  private: false,
21253
21253
  repository: {
@@ -21349,8 +21349,15 @@ var TLS_ERROR_CODES = new Set([
21349
21349
  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.";
21350
21350
  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.";
21351
21351
  function describeConnectivityError(error) {
21352
- let current = error;
21353
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
21352
+ const queue = [error];
21353
+ const seen = new Set;
21354
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
21355
+ const current = queue.shift();
21356
+ if (current === null || typeof current !== "object")
21357
+ continue;
21358
+ if (seen.has(current))
21359
+ continue;
21360
+ seen.add(current);
21354
21361
  const cur = current;
21355
21362
  const code = typeof cur.code === "string" ? cur.code : undefined;
21356
21363
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -21370,7 +21377,10 @@ function describeConnectivityError(error) {
21370
21377
  instructions: NETWORK_INSTRUCTIONS
21371
21378
  };
21372
21379
  }
21373
- current = cur.cause;
21380
+ if (cur.cause !== undefined)
21381
+ queue.push(cur.cause);
21382
+ if (Array.isArray(cur.errors))
21383
+ queue.push(...cur.errors);
21374
21384
  }
21375
21385
  return;
21376
21386
  }
@@ -26589,6 +26599,7 @@ function getLogFilePath() {
26589
26599
  // ../../common/src/output-format-context.ts
26590
26600
  var formatSlot = singleton("OutputFormat");
26591
26601
  var formatExplicitSlot = singleton("OutputFormatExplicit");
26602
+ var helpRequestedSlot = singleton("HelpRequested");
26592
26603
  var filterSlot = singleton("OutputFilter");
26593
26604
  function getOutputFormat() {
26594
26605
  return formatSlot.get("json");
@@ -27656,6 +27667,9 @@ var OutputFormatter;
27656
27667
  if (opts?.warning) {
27657
27668
  data.Warning = opts.warning;
27658
27669
  }
27670
+ if (opts?.pagination) {
27671
+ data.Pagination = opts.pagination;
27672
+ }
27659
27673
  success(data);
27660
27674
  }
27661
27675
  OutputFormatter.emitList = emitList;
@@ -28104,6 +28118,7 @@ var DEFAULT_PAGE_SIZE = 50;
28104
28118
  var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
28105
28119
  // ../../common/src/interactivity-context.ts
28106
28120
  var modeSlot = singleton("InteractivityMode");
28121
+ var interactiveFlagSlot = singleton("InteractiveFlag");
28107
28122
  // ../../common/src/option-aliases.ts
28108
28123
  function resolveDeprecatedOptionAlias({
28109
28124
  preferredValue,
@@ -28529,7 +28544,7 @@ class VoidApiResponse {
28529
28544
  var package_default2 = {
28530
28545
  name: "@uipath/resourcecatalog-sdk",
28531
28546
  license: "MIT",
28532
- version: "1.197.0",
28547
+ version: "1.198.0",
28533
28548
  description: "SDK for the UiPath Resource Catalog Service API.",
28534
28549
  repository: {
28535
28550
  type: "git",
@@ -31082,6 +31097,10 @@ function normalizeTokenRefreshUnavailableFailure() {
31082
31097
  function errorMessage(error) {
31083
31098
  return error instanceof Error ? error.message : String(error);
31084
31099
  }
31100
+
31101
+ // ../../auth/src/index.ts
31102
+ init_constants();
31103
+
31085
31104
  // ../../auth/src/interactive.ts
31086
31105
  init_src();
31087
31106
 
@@ -31367,4 +31386,4 @@ program2.name(metadata.commandPrefix).description(metadata.description).version(
31367
31386
  await registerCommands(program2);
31368
31387
  program2.parse(process.argv);
31369
31388
 
31370
- //# debugId=40BFA9E723E7745964756E2164756E21
31389
+ //# debugId=A683011AE429594064756E2164756E21
package/dist/tool.js CHANGED
@@ -19137,7 +19137,7 @@ var init_server = __esm(() => {
19137
19137
  var package_default = {
19138
19138
  name: "@uipath/resourcecatalog-tool",
19139
19139
  license: "MIT",
19140
- version: "1.197.0",
19140
+ version: "1.198.0-preview.80",
19141
19141
  description: "CLI plugin for the UiPath Resource Catalog Service.",
19142
19142
  private: false,
19143
19143
  repository: {
@@ -19239,8 +19239,15 @@ var TLS_ERROR_CODES = new Set([
19239
19239
  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.";
19240
19240
  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.";
19241
19241
  function describeConnectivityError(error) {
19242
- let current = error;
19243
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
19242
+ const queue = [error];
19243
+ const seen = new Set;
19244
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
19245
+ const current = queue.shift();
19246
+ if (current === null || typeof current !== "object")
19247
+ continue;
19248
+ if (seen.has(current))
19249
+ continue;
19250
+ seen.add(current);
19244
19251
  const cur = current;
19245
19252
  const code = typeof cur.code === "string" ? cur.code : undefined;
19246
19253
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -19260,7 +19267,10 @@ function describeConnectivityError(error) {
19260
19267
  instructions: NETWORK_INSTRUCTIONS
19261
19268
  };
19262
19269
  }
19263
- current = cur.cause;
19270
+ if (cur.cause !== undefined)
19271
+ queue.push(cur.cause);
19272
+ if (Array.isArray(cur.errors))
19273
+ queue.push(...cur.errors);
19264
19274
  }
19265
19275
  return;
19266
19276
  }
@@ -24480,6 +24490,7 @@ function getLogFilePath() {
24480
24490
  // ../../common/src/output-format-context.ts
24481
24491
  var formatSlot = singleton("OutputFormat");
24482
24492
  var formatExplicitSlot = singleton("OutputFormatExplicit");
24493
+ var helpRequestedSlot = singleton("HelpRequested");
24483
24494
  var filterSlot = singleton("OutputFilter");
24484
24495
  function getOutputFormat() {
24485
24496
  return formatSlot.get("json");
@@ -25547,6 +25558,9 @@ var OutputFormatter;
25547
25558
  if (opts?.warning) {
25548
25559
  data.Warning = opts.warning;
25549
25560
  }
25561
+ if (opts?.pagination) {
25562
+ data.Pagination = opts.pagination;
25563
+ }
25550
25564
  success(data);
25551
25565
  }
25552
25566
  OutputFormatter.emitList = emitList;
@@ -25998,6 +26012,7 @@ var DEFAULT_PAGE_SIZE = 50;
25998
26012
  var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
25999
26013
  // ../../common/src/interactivity-context.ts
26000
26014
  var modeSlot = singleton("InteractivityMode");
26015
+ var interactiveFlagSlot = singleton("InteractiveFlag");
26001
26016
  // ../../common/src/option-aliases.ts
26002
26017
  import { Option } from "commander";
26003
26018
  function resolveDeprecatedOptionAlias({
@@ -26427,7 +26442,7 @@ class VoidApiResponse {
26427
26442
  var package_default2 = {
26428
26443
  name: "@uipath/resourcecatalog-sdk",
26429
26444
  license: "MIT",
26430
- version: "1.197.0",
26445
+ version: "1.198.0",
26431
26446
  description: "SDK for the UiPath Resource Catalog Service API.",
26432
26447
  repository: {
26433
26448
  type: "git",
@@ -28980,6 +28995,10 @@ function normalizeTokenRefreshUnavailableFailure() {
28980
28995
  function errorMessage(error) {
28981
28996
  return error instanceof Error ? error.message : String(error);
28982
28997
  }
28998
+
28999
+ // ../../auth/src/index.ts
29000
+ init_constants();
29001
+
28983
29002
  // ../../auth/src/interactive.ts
28984
29003
  init_src();
28985
29004
 
@@ -29265,4 +29284,4 @@ export {
29265
29284
  metadata
29266
29285
  };
29267
29286
 
29268
- //# debugId=49872179BE21812364756E2164756E21
29287
+ //# debugId=D2E177C97C9E22DC64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/resourcecatalog-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.80",
5
5
  "description": "CLI plugin for the UiPath Resource Catalog Service.",
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
  }