@uipath/admin-tool 1.198.0-preview.88 → 1.199.0-preview.91

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 +35 -20
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -23693,7 +23693,7 @@ var __require2 = /* @__PURE__ */ createRequire2(import.meta.url);
23693
23693
  var package_default = {
23694
23694
  name: "@uipath/admin-vpngateway-tool",
23695
23695
  license: "MIT",
23696
- version: "1.198.0-preview.88",
23696
+ version: "1.199.0-preview.91",
23697
23697
  description: "CLI plugin for UiPath VPN Gateway management (Hypervisor service).",
23698
23698
  private: false,
23699
23699
  repository: {
@@ -42790,7 +42790,7 @@ class VoidApiResponse {
42790
42790
  var package_default2 = {
42791
42791
  name: "@uipath/admin-vpngateway-sdk",
42792
42792
  license: "MIT",
42793
- version: "1.198.0",
42793
+ version: "1.199.0",
42794
42794
  description: "SDK for the UiPath Hypervisor VPN Gateway management APIs.",
42795
42795
  repository: {
42796
42796
  type: "git",
@@ -43559,6 +43559,7 @@ var resolveConfigAsync = async ({
43559
43559
  customAuthority,
43560
43560
  customClientId,
43561
43561
  customClientSecret,
43562
+ customClientAssertion,
43562
43563
  customScopes
43563
43564
  } = {}) => {
43564
43565
  const fileAuth = getAuthFileConfig();
@@ -43584,7 +43585,7 @@ var resolveConfigAsync = async ({
43584
43585
  if (!clientSecret && fileAuth.clientSecret) {
43585
43586
  clientSecret = fileAuth.clientSecret;
43586
43587
  }
43587
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
43588
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
43588
43589
  const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
43589
43590
  return {
43590
43591
  clientId,
@@ -45489,6 +45490,7 @@ function settlePromiseLike2(thenable) {
45489
45490
  var DEFAULT_401 = "Unauthorized (401). Run `uip login` to authenticate.";
45490
45491
  var DEFAULT_403 = "Forbidden (403). Ensure the account has the required permissions.";
45491
45492
  var DEFAULT_405 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
45493
+ var DEFAULT_413 = "Payload too large (413). The upload exceeded the server or CDN size limit. Reduce the package size — for example, exclude unused dependencies or remove large files from the project — and try again.";
45492
45494
  var HTML_RESPONSE_MESSAGE = "Received HTML instead of the expected JSON response.";
45493
45495
  var NETWORK_ERROR_CODES = new Set([
45494
45496
  "ECONNREFUSED",
@@ -45590,6 +45592,9 @@ function classifyError(status, error) {
45590
45592
  if (status === 405) {
45591
45593
  return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
45592
45594
  }
45595
+ if (status === 413) {
45596
+ return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
45597
+ }
45593
45598
  if (status === 408) {
45594
45599
  return { errorCode: "timeout", retry: "RetryLater" };
45595
45600
  }
@@ -45667,6 +45672,8 @@ async function extractErrorDetails(error, options) {
45667
45672
  result = "AuthenticationError";
45668
45673
  } else if (status === 405) {
45669
45674
  message = DEFAULT_405;
45675
+ } else if (status === 413) {
45676
+ message = DEFAULT_413;
45670
45677
  } else if (status === 400 || status === 422) {
45671
45678
  message = formatHttpStatusMessage(status, rawMessage, extractedMessage, inferredStatus);
45672
45679
  result = "ValidationError";
@@ -52267,6 +52274,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
52267
52274
  var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
52268
52275
  var COMMAND_ATTRIBUTION = commandAttribution([
52269
52276
  ["cli", "troubleshoot", ["uip.feedback"]],
52277
+ ["llm-gateway", "operate", ["uip.llm-gateway"]],
52270
52278
  ["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
52271
52279
  ["context-grounding", "build", ["uip.context-grounding"]],
52272
52280
  ["api-workflow", "build", ["uip.api-workflow"]],
@@ -53895,7 +53903,7 @@ var registerCommands = async (program2) => {
53895
53903
  var package_default3 = {
53896
53904
  name: "@uipath/apms-tool",
53897
53905
  license: "MIT",
53898
- version: "1.198.0-preview.88",
53906
+ version: "1.199.0-preview.91",
53899
53907
  description: "CLI plugin for the UiPath Access Policy Management Service.",
53900
53908
  private: false,
53901
53909
  repository: {
@@ -54303,7 +54311,7 @@ class VoidApiResponse2 {
54303
54311
  var package_default5 = {
54304
54312
  name: "@uipath/apms-sdk",
54305
54313
  license: "MIT",
54306
- version: "1.198.0",
54314
+ version: "1.199.0",
54307
54315
  description: "SDK for the UiPath Access Policy Management Service API.",
54308
54316
  repository: {
54309
54317
  type: "git",
@@ -55384,6 +55392,7 @@ var resolveConfigAsync2 = async ({
55384
55392
  customAuthority,
55385
55393
  customClientId,
55386
55394
  customClientSecret,
55395
+ customClientAssertion,
55387
55396
  customScopes
55388
55397
  } = {}) => {
55389
55398
  const fileAuth = getAuthFileConfig2();
@@ -55409,7 +55418,7 @@ var resolveConfigAsync2 = async ({
55409
55418
  if (!clientSecret && fileAuth.clientSecret) {
55410
55419
  clientSecret = fileAuth.clientSecret;
55411
55420
  }
55412
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID2 && Boolean(clientSecret);
55421
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID2 && (Boolean(clientSecret) || Boolean(customClientAssertion));
55413
55422
  const scopes = resolveScopes2(isExternalAppAuth, customScopes, fileAuth.scopes);
55414
55423
  return {
55415
55424
  clientId,
@@ -56527,7 +56536,6 @@ var getAuthContext = async (options = {}) => {
56527
56536
  tenantName
56528
56537
  };
56529
56538
  };
56530
-
56531
56539
  // ../../auth/src/index.ts
56532
56540
  init_constants2();
56533
56541
 
@@ -56625,6 +56633,7 @@ function settlePromiseLike5(thenable) {
56625
56633
  var DEFAULT_4012 = "Unauthorized (401). Run `uip login` to authenticate.";
56626
56634
  var DEFAULT_4032 = "Forbidden (403). Ensure the account has the required permissions.";
56627
56635
  var DEFAULT_4052 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
56636
+ var DEFAULT_4132 = "Payload too large (413). The upload exceeded the server or CDN size limit. Reduce the package size — for example, exclude unused dependencies or remove large files from the project — and try again.";
56628
56637
  var HTML_RESPONSE_MESSAGE2 = "Received HTML instead of the expected JSON response.";
56629
56638
  var NETWORK_ERROR_CODES2 = new Set([
56630
56639
  "ECONNREFUSED",
@@ -56726,6 +56735,9 @@ function classifyError3(status, error) {
56726
56735
  if (status === 405) {
56727
56736
  return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
56728
56737
  }
56738
+ if (status === 413) {
56739
+ return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
56740
+ }
56729
56741
  if (status === 408) {
56730
56742
  return { errorCode: "timeout", retry: "RetryLater" };
56731
56743
  }
@@ -56803,6 +56815,8 @@ async function extractErrorDetails2(error, options) {
56803
56815
  result = "AuthenticationError";
56804
56816
  } else if (status === 405) {
56805
56817
  message = DEFAULT_4052;
56818
+ } else if (status === 413) {
56819
+ message = DEFAULT_4132;
56806
56820
  } else if (status === 400 || status === 422) {
56807
56821
  message = formatHttpStatusMessage2(status, rawMessage, extractedMessage, inferredStatus);
56808
56822
  result = "ValidationError";
@@ -63405,6 +63419,7 @@ var SKILL_ATTRIBUTION2 = attributionRecord2([
63405
63419
  var KNOWN_SKILL_NAMES2 = new Set(Object.keys(SKILL_ATTRIBUTION2));
63406
63420
  var COMMAND_ATTRIBUTION2 = commandAttribution2([
63407
63421
  ["cli", "troubleshoot", ["uip.feedback"]],
63422
+ ["llm-gateway", "operate", ["uip.llm-gateway"]],
63408
63423
  ["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
63409
63424
  ["context-grounding", "build", ["uip.context-grounding"]],
63410
63425
  ["api-workflow", "build", ["uip.api-workflow"]],
@@ -65017,7 +65032,7 @@ var registerCommands2 = async (program2) => {
65017
65032
  var package_default6 = {
65018
65033
  name: "@uipath/audit-tool",
65019
65034
  license: "MIT",
65020
- version: "1.198.0-preview.88",
65035
+ version: "1.199.0-preview.91",
65021
65036
  description: "CLI plugin for the UiPath Audit Service — query event sources, paginate events, and export ZIPs from the long-term store.",
65022
65037
  private: false,
65023
65038
  repository: {
@@ -65055,7 +65070,7 @@ var package_default6 = {
65055
65070
  "@uipath/audit-sdk": "workspace:*",
65056
65071
  "@uipath/common": "workspace:*",
65057
65072
  "@uipath/filesystem": "workspace:*",
65058
- "adm-zip": "^0.5.16",
65073
+ "adm-zip": "^0.6.0",
65059
65074
  commander: "^14.0.3",
65060
65075
  typescript: "^6.0.2"
65061
65076
  }
@@ -65313,7 +65328,7 @@ class VoidApiResponse3 {
65313
65328
  var package_default7 = {
65314
65329
  name: "@uipath/audit-sdk",
65315
65330
  license: "MIT",
65316
- version: "1.198.0",
65331
+ version: "1.199.0",
65317
65332
  description: "SDK for the UiPath Audit Service — query audit event sources, list events, and download long-term-store exports.",
65318
65333
  repository: {
65319
65334
  type: "git",
@@ -66273,7 +66288,7 @@ var registerCommands3 = async (program2) => {
66273
66288
  var package_default8 = {
66274
66289
  name: "@uipath/authz-tool",
66275
66290
  license: "MIT",
66276
- version: "1.198.0-preview.88",
66291
+ version: "1.199.0-preview.91",
66277
66292
  description: "CLI plugin for the UiPath Authorization service.",
66278
66293
  private: false,
66279
66294
  repository: {
@@ -66571,7 +66586,7 @@ class VoidApiResponse4 {
66571
66586
  var package_default9 = {
66572
66587
  name: "@uipath/authz-sdk",
66573
66588
  license: "MIT",
66574
- version: "1.198.0",
66589
+ version: "1.199.0",
66575
66590
  description: "SDK for the UiPath Authorization Service API.",
66576
66591
  repository: {
66577
66592
  type: "git",
@@ -67430,7 +67445,7 @@ class TextApiResponse {
67430
67445
  var package_default10 = {
67431
67446
  name: "@uipath/identity-sdk",
67432
67447
  license: "MIT",
67433
- version: "1.198.0",
67448
+ version: "1.199.0",
67434
67449
  repository: {
67435
67450
  type: "git",
67436
67451
  url: "https://github.com/UiPath/cli.git",
@@ -71884,7 +71899,7 @@ var registerCommands4 = async (program2) => {
71884
71899
  var package_default11 = {
71885
71900
  name: "@uipath/identity-tool",
71886
71901
  license: "MIT",
71887
- version: "1.198.0-preview.88",
71902
+ version: "1.199.0-preview.91",
71888
71903
  description: "Manage Identity Server users, groups, robot accounts, and external apps.",
71889
71904
  private: false,
71890
71905
  repository: {
@@ -74253,7 +74268,7 @@ var registerCommands5 = async (program2) => {
74253
74268
  var package_default12 = {
74254
74269
  name: "@uipath/oms-tool",
74255
74270
  license: "MIT",
74256
- version: "1.198.0-preview.88",
74271
+ version: "1.199.0-preview.91",
74257
74272
  description: "CLI plugin for the UiPath Organization Management Service.",
74258
74273
  private: false,
74259
74274
  repository: {
@@ -75111,7 +75126,7 @@ function querystringSingleKey8(key, value, keyPrefix = "") {
75111
75126
  var package_default13 = {
75112
75127
  name: "@uipath/oms-sdk",
75113
75128
  license: "MIT",
75114
- version: "1.198.0",
75129
+ version: "1.199.0",
75115
75130
  description: "SDK for the UiPath Organization Management Service API.",
75116
75131
  repository: {
75117
75132
  type: "git",
@@ -80784,7 +80799,7 @@ var registerCommands6 = async (program2) => {
80784
80799
  var package_default14 = {
80785
80800
  name: "@uipath/resourcecatalog-tool",
80786
80801
  license: "MIT",
80787
- version: "1.198.0-preview.88",
80802
+ version: "1.199.0-preview.91",
80788
80803
  description: "CLI plugin for the UiPath Resource Catalog Service.",
80789
80804
  private: false,
80790
80805
  repository: {
@@ -81079,7 +81094,7 @@ class VoidApiResponse8 {
81079
81094
  var package_default15 = {
81080
81095
  name: "@uipath/resourcecatalog-sdk",
81081
81096
  license: "MIT",
81082
- version: "1.198.0",
81097
+ version: "1.199.0",
81083
81098
  description: "SDK for the UiPath Resource Catalog Service API.",
81084
81099
  repository: {
81085
81100
  type: "git",
@@ -82732,7 +82747,7 @@ var registerCommands7 = async (program2) => {
82732
82747
  var package_default16 = {
82733
82748
  name: "@uipath/admin-tool",
82734
82749
  license: "MIT",
82735
- version: "1.198.0-preview.88",
82750
+ version: "1.199.0-preview.91",
82736
82751
  description: "Manage UiPath admin resources — Identity Server, Resource Catalog Service, Audit Service, VPN Gateway.",
82737
82752
  private: false,
82738
82753
  repository: {
@@ -82797,4 +82812,4 @@ export {
82797
82812
  metadata8 as metadata
82798
82813
  };
82799
82814
 
82800
- //# debugId=4ED26D66F670394D64756E2164756E21
82815
+ //# debugId=C7BC7F6F21C2DB7B64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/admin-tool",
3
3
  "license": "MIT",
4
- "version": "1.198.0-preview.88",
4
+ "version": "1.199.0-preview.91",
5
5
  "description": "Manage UiPath admin resources — Identity Server, Resource Catalog Service, Audit Service, VPN Gateway.",
6
6
  "private": false,
7
7
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
- "gitHead": "9be5d51c7d9ccd184c980771e7f06e240c75a9e2"
26
+ "gitHead": "f428cb1e61ba89ad18394b0c6106784055699f02"
27
27
  }