@uipath/gov-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 +28 -8
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -21230,7 +21230,7 @@ var require_commander = __commonJS((exports) => {
21230
21230
  var package_default = {
21231
21231
  name: "@uipath/gov-tool",
21232
21232
  license: "MIT",
21233
- version: "1.197.0",
21233
+ version: "1.198.0-preview.80",
21234
21234
  description: "Manage UiPath governance — AOps policies, Access policies, and compliance packs.",
21235
21235
  private: false,
21236
21236
  repository: {
@@ -21636,7 +21636,7 @@ class VoidApiResponse {
21636
21636
  var package_default2 = {
21637
21637
  name: "@uipath/authz-sdk",
21638
21638
  license: "MIT",
21639
- version: "1.197.0",
21639
+ version: "1.198.0",
21640
21640
  description: "SDK for the UiPath Authorization Service API.",
21641
21641
  repository: {
21642
21642
  type: "git",
@@ -23436,6 +23436,10 @@ function normalizeTokenRefreshUnavailableFailure() {
23436
23436
  function errorMessage(error) {
23437
23437
  return error instanceof Error ? error.message : String(error);
23438
23438
  }
23439
+
23440
+ // ../../auth/src/index.ts
23441
+ init_constants();
23442
+
23439
23443
  // ../../auth/src/interactive.ts
23440
23444
  init_src();
23441
23445
 
@@ -23551,8 +23555,15 @@ var TLS_ERROR_CODES = new Set([
23551
23555
  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.";
23552
23556
  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.";
23553
23557
  function describeConnectivityError(error) {
23554
- let current = error;
23555
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
23558
+ const queue = [error];
23559
+ const seen = new Set;
23560
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
23561
+ const current = queue.shift();
23562
+ if (current === null || typeof current !== "object")
23563
+ continue;
23564
+ if (seen.has(current))
23565
+ continue;
23566
+ seen.add(current);
23556
23567
  const cur = current;
23557
23568
  const code = typeof cur.code === "string" ? cur.code : undefined;
23558
23569
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -23572,7 +23583,10 @@ function describeConnectivityError(error) {
23572
23583
  instructions: NETWORK_INSTRUCTIONS
23573
23584
  };
23574
23585
  }
23575
- current = cur.cause;
23586
+ if (cur.cause !== undefined)
23587
+ queue.push(cur.cause);
23588
+ if (Array.isArray(cur.errors))
23589
+ queue.push(...cur.errors);
23576
23590
  }
23577
23591
  return;
23578
23592
  }
@@ -28777,6 +28791,7 @@ function getLogFilePath() {
28777
28791
  // ../../common/src/output-format-context.ts
28778
28792
  var formatSlot = singleton("OutputFormat");
28779
28793
  var formatExplicitSlot = singleton("OutputFormatExplicit");
28794
+ var helpRequestedSlot = singleton("HelpRequested");
28780
28795
  var filterSlot = singleton("OutputFilter");
28781
28796
  function getOutputFormat() {
28782
28797
  return formatSlot.get("json");
@@ -29838,6 +29853,9 @@ var OutputFormatter;
29838
29853
  if (opts?.warning) {
29839
29854
  data.Warning = opts.warning;
29840
29855
  }
29856
+ if (opts?.pagination) {
29857
+ data.Pagination = opts.pagination;
29858
+ }
29841
29859
  success(data);
29842
29860
  }
29843
29861
  OutputFormatter.emitList = emitList;
@@ -30285,6 +30303,7 @@ var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
30285
30303
  var DEFAULT_AUTH_TIMEOUT_MS2 = 5 * 60 * 1000;
30286
30304
  // ../../common/src/interactivity-context.ts
30287
30305
  var modeSlot = singleton("InteractivityMode");
30306
+ var interactiveFlagSlot = singleton("InteractiveFlag");
30288
30307
  // ../../common/src/option-validators.ts
30289
30308
  function parseNonNegativeInteger(raw) {
30290
30309
  return parseSafeInteger(raw, 0);
@@ -31025,7 +31044,7 @@ class TextApiResponse {
31025
31044
  var package_default3 = {
31026
31045
  name: "@uipath/aops-policy-sdk",
31027
31046
  license: "MIT",
31028
- version: "1.197.0",
31047
+ version: "1.198.0",
31029
31048
  description: "SDK for the UiPath AOps Governance API — policy management and deployment.",
31030
31049
  repository: {
31031
31050
  type: "git",
@@ -56811,7 +56830,7 @@ class VoidApiResponse3 {
56811
56830
  var package_default4 = {
56812
56831
  name: "@uipath/compliance-packs-sdk",
56813
56832
  license: "MIT",
56814
- version: "1.197.0",
56833
+ version: "1.198.0",
56815
56834
  description: "SDK for the UiPath Governance Server Compliance Packs API.",
56816
56835
  repository: {
56817
56836
  type: "git",
@@ -58490,6 +58509,7 @@ function normalizeTokenRefreshUnavailableFailure2() {
58490
58509
  function errorMessage2(error) {
58491
58510
  return error instanceof Error ? error.message : String(error);
58492
58511
  }
58512
+ init_constants2();
58493
58513
  init_src2();
58494
58514
  var TENANT_SELECTION_REQUIRED_CODE2 = "TENANT_SELECTION_REQUIRED";
58495
58515
  var INVALID_TENANT_CODE2 = "INVALID_TENANT";
@@ -58915,4 +58935,4 @@ export {
58915
58935
  metadata
58916
58936
  };
58917
58937
 
58918
- //# debugId=9A78DFF1A6FF3C5A64756E2164756E21
58938
+ //# debugId=2AC05D8D149FA4B164756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/gov-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.80",
5
5
  "description": "Manage UiPath governance — AOps policies, Access policies, and compliance packs.",
6
6
  "private": false,
7
7
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
26
+ "gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
27
27
  }