@uipath/admin-tool 1.198.0 → 1.199.0-preview.105
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/tool.js +35 -20
- 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.
|
|
23696
|
+
version: "1.199.0-preview.105",
|
|
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.
|
|
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";
|
|
@@ -52490,6 +52497,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
|
|
|
52490
52497
|
var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
|
|
52491
52498
|
var COMMAND_ATTRIBUTION = commandAttribution([
|
|
52492
52499
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
52500
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
52493
52501
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
52494
52502
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
52495
52503
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -53999,7 +54007,7 @@ var registerCommands = async (program2) => {
|
|
|
53999
54007
|
var package_default3 = {
|
|
54000
54008
|
name: "@uipath/apms-tool",
|
|
54001
54009
|
license: "MIT",
|
|
54002
|
-
version: "1.
|
|
54010
|
+
version: "1.199.0-preview.105",
|
|
54003
54011
|
description: "CLI plugin for the UiPath Access Policy Management Service.",
|
|
54004
54012
|
private: false,
|
|
54005
54013
|
repository: {
|
|
@@ -54407,7 +54415,7 @@ class VoidApiResponse2 {
|
|
|
54407
54415
|
var package_default5 = {
|
|
54408
54416
|
name: "@uipath/apms-sdk",
|
|
54409
54417
|
license: "MIT",
|
|
54410
|
-
version: "1.
|
|
54418
|
+
version: "1.199.0",
|
|
54411
54419
|
description: "SDK for the UiPath Access Policy Management Service API.",
|
|
54412
54420
|
repository: {
|
|
54413
54421
|
type: "git",
|
|
@@ -55488,6 +55496,7 @@ var resolveConfigAsync2 = async ({
|
|
|
55488
55496
|
customAuthority,
|
|
55489
55497
|
customClientId,
|
|
55490
55498
|
customClientSecret,
|
|
55499
|
+
customClientAssertion,
|
|
55491
55500
|
customScopes
|
|
55492
55501
|
} = {}) => {
|
|
55493
55502
|
const fileAuth = getAuthFileConfig2();
|
|
@@ -55513,7 +55522,7 @@ var resolveConfigAsync2 = async ({
|
|
|
55513
55522
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
55514
55523
|
clientSecret = fileAuth.clientSecret;
|
|
55515
55524
|
}
|
|
55516
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID2 && Boolean(clientSecret);
|
|
55525
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID2 && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
55517
55526
|
const scopes = resolveScopes2(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
55518
55527
|
return {
|
|
55519
55528
|
clientId,
|
|
@@ -56631,7 +56640,6 @@ var getAuthContext = async (options = {}) => {
|
|
|
56631
56640
|
tenantName
|
|
56632
56641
|
};
|
|
56633
56642
|
};
|
|
56634
|
-
|
|
56635
56643
|
// ../../auth/src/index.ts
|
|
56636
56644
|
init_constants2();
|
|
56637
56645
|
|
|
@@ -56729,6 +56737,7 @@ function settlePromiseLike5(thenable) {
|
|
|
56729
56737
|
var DEFAULT_4012 = "Unauthorized (401). Run `uip login` to authenticate.";
|
|
56730
56738
|
var DEFAULT_4032 = "Forbidden (403). Ensure the account has the required permissions.";
|
|
56731
56739
|
var DEFAULT_4052 = "Method Not Allowed (405). The endpoint may not exist or the base URL may be incorrect.";
|
|
56740
|
+
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.";
|
|
56732
56741
|
var HTML_RESPONSE_MESSAGE2 = "Received HTML instead of the expected JSON response.";
|
|
56733
56742
|
var NETWORK_ERROR_CODES2 = new Set([
|
|
56734
56743
|
"ECONNREFUSED",
|
|
@@ -56830,6 +56839,9 @@ function classifyError3(status, error) {
|
|
|
56830
56839
|
if (status === 405) {
|
|
56831
56840
|
return { errorCode: "method_not_allowed", retry: "RetryWillNotFix" };
|
|
56832
56841
|
}
|
|
56842
|
+
if (status === 413) {
|
|
56843
|
+
return { errorCode: "invalid_argument", retry: "RetryWillNotFix" };
|
|
56844
|
+
}
|
|
56833
56845
|
if (status === 408) {
|
|
56834
56846
|
return { errorCode: "timeout", retry: "RetryLater" };
|
|
56835
56847
|
}
|
|
@@ -56907,6 +56919,8 @@ async function extractErrorDetails2(error, options) {
|
|
|
56907
56919
|
result = "AuthenticationError";
|
|
56908
56920
|
} else if (status === 405) {
|
|
56909
56921
|
message = DEFAULT_4052;
|
|
56922
|
+
} else if (status === 413) {
|
|
56923
|
+
message = DEFAULT_4132;
|
|
56910
56924
|
} else if (status === 400 || status === 422) {
|
|
56911
56925
|
message = formatHttpStatusMessage2(status, rawMessage, extractedMessage, inferredStatus);
|
|
56912
56926
|
result = "ValidationError";
|
|
@@ -63737,6 +63751,7 @@ var SKILL_ATTRIBUTION2 = attributionRecord2([
|
|
|
63737
63751
|
var KNOWN_SKILL_NAMES2 = new Set(Object.keys(SKILL_ATTRIBUTION2));
|
|
63738
63752
|
var COMMAND_ATTRIBUTION2 = commandAttribution2([
|
|
63739
63753
|
["cli", "troubleshoot", ["uip.feedback"]],
|
|
63754
|
+
["llm-gateway", "operate", ["uip.llm-gateway"]],
|
|
63740
63755
|
["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
|
|
63741
63756
|
["context-grounding", "build", ["uip.context-grounding"]],
|
|
63742
63757
|
["api-workflow", "build", ["uip.api-workflow"]],
|
|
@@ -65228,7 +65243,7 @@ var registerCommands2 = async (program2) => {
|
|
|
65228
65243
|
var package_default6 = {
|
|
65229
65244
|
name: "@uipath/audit-tool",
|
|
65230
65245
|
license: "MIT",
|
|
65231
|
-
version: "1.
|
|
65246
|
+
version: "1.199.0-preview.105",
|
|
65232
65247
|
description: "CLI plugin for the UiPath Audit Service — query event sources, paginate events, and export ZIPs from the long-term store.",
|
|
65233
65248
|
private: false,
|
|
65234
65249
|
repository: {
|
|
@@ -65266,7 +65281,7 @@ var package_default6 = {
|
|
|
65266
65281
|
"@uipath/audit-sdk": "workspace:*",
|
|
65267
65282
|
"@uipath/common": "workspace:*",
|
|
65268
65283
|
"@uipath/filesystem": "workspace:*",
|
|
65269
|
-
"adm-zip": "^0.
|
|
65284
|
+
"adm-zip": "^0.6.0",
|
|
65270
65285
|
commander: "^14.0.3",
|
|
65271
65286
|
typescript: "^6.0.2"
|
|
65272
65287
|
}
|
|
@@ -65524,7 +65539,7 @@ class VoidApiResponse3 {
|
|
|
65524
65539
|
var package_default7 = {
|
|
65525
65540
|
name: "@uipath/audit-sdk",
|
|
65526
65541
|
license: "MIT",
|
|
65527
|
-
version: "1.
|
|
65542
|
+
version: "1.199.0",
|
|
65528
65543
|
description: "SDK for the UiPath Audit Service — query audit event sources, list events, and download long-term-store exports.",
|
|
65529
65544
|
repository: {
|
|
65530
65545
|
type: "git",
|
|
@@ -66484,7 +66499,7 @@ var registerCommands3 = async (program2) => {
|
|
|
66484
66499
|
var package_default8 = {
|
|
66485
66500
|
name: "@uipath/authz-tool",
|
|
66486
66501
|
license: "MIT",
|
|
66487
|
-
version: "1.
|
|
66502
|
+
version: "1.199.0-preview.105",
|
|
66488
66503
|
description: "CLI plugin for the UiPath Authorization service.",
|
|
66489
66504
|
private: false,
|
|
66490
66505
|
repository: {
|
|
@@ -66782,7 +66797,7 @@ class VoidApiResponse4 {
|
|
|
66782
66797
|
var package_default9 = {
|
|
66783
66798
|
name: "@uipath/authz-sdk",
|
|
66784
66799
|
license: "MIT",
|
|
66785
|
-
version: "1.
|
|
66800
|
+
version: "1.199.0",
|
|
66786
66801
|
description: "SDK for the UiPath Authorization Service API.",
|
|
66787
66802
|
repository: {
|
|
66788
66803
|
type: "git",
|
|
@@ -67641,7 +67656,7 @@ class TextApiResponse {
|
|
|
67641
67656
|
var package_default10 = {
|
|
67642
67657
|
name: "@uipath/identity-sdk",
|
|
67643
67658
|
license: "MIT",
|
|
67644
|
-
version: "1.
|
|
67659
|
+
version: "1.199.0",
|
|
67645
67660
|
repository: {
|
|
67646
67661
|
type: "git",
|
|
67647
67662
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -72095,7 +72110,7 @@ var registerCommands4 = async (program2) => {
|
|
|
72095
72110
|
var package_default11 = {
|
|
72096
72111
|
name: "@uipath/identity-tool",
|
|
72097
72112
|
license: "MIT",
|
|
72098
|
-
version: "1.
|
|
72113
|
+
version: "1.199.0-preview.105",
|
|
72099
72114
|
description: "Manage Identity Server users, groups, robot accounts, and external apps.",
|
|
72100
72115
|
private: false,
|
|
72101
72116
|
repository: {
|
|
@@ -74464,7 +74479,7 @@ var registerCommands5 = async (program2) => {
|
|
|
74464
74479
|
var package_default12 = {
|
|
74465
74480
|
name: "@uipath/oms-tool",
|
|
74466
74481
|
license: "MIT",
|
|
74467
|
-
version: "1.
|
|
74482
|
+
version: "1.199.0-preview.105",
|
|
74468
74483
|
description: "CLI plugin for the UiPath Organization Management Service.",
|
|
74469
74484
|
private: false,
|
|
74470
74485
|
repository: {
|
|
@@ -75322,7 +75337,7 @@ function querystringSingleKey8(key, value, keyPrefix = "") {
|
|
|
75322
75337
|
var package_default13 = {
|
|
75323
75338
|
name: "@uipath/oms-sdk",
|
|
75324
75339
|
license: "MIT",
|
|
75325
|
-
version: "1.
|
|
75340
|
+
version: "1.199.0",
|
|
75326
75341
|
description: "SDK for the UiPath Organization Management Service API.",
|
|
75327
75342
|
repository: {
|
|
75328
75343
|
type: "git",
|
|
@@ -80995,7 +81010,7 @@ var registerCommands6 = async (program2) => {
|
|
|
80995
81010
|
var package_default14 = {
|
|
80996
81011
|
name: "@uipath/resourcecatalog-tool",
|
|
80997
81012
|
license: "MIT",
|
|
80998
|
-
version: "1.
|
|
81013
|
+
version: "1.199.0-preview.105",
|
|
80999
81014
|
description: "CLI plugin for the UiPath Resource Catalog Service.",
|
|
81000
81015
|
private: false,
|
|
81001
81016
|
repository: {
|
|
@@ -81290,7 +81305,7 @@ class VoidApiResponse8 {
|
|
|
81290
81305
|
var package_default15 = {
|
|
81291
81306
|
name: "@uipath/resourcecatalog-sdk",
|
|
81292
81307
|
license: "MIT",
|
|
81293
|
-
version: "1.
|
|
81308
|
+
version: "1.199.0",
|
|
81294
81309
|
description: "SDK for the UiPath Resource Catalog Service API.",
|
|
81295
81310
|
repository: {
|
|
81296
81311
|
type: "git",
|
|
@@ -82943,7 +82958,7 @@ var registerCommands7 = async (program2) => {
|
|
|
82943
82958
|
var package_default16 = {
|
|
82944
82959
|
name: "@uipath/admin-tool",
|
|
82945
82960
|
license: "MIT",
|
|
82946
|
-
version: "1.
|
|
82961
|
+
version: "1.199.0-preview.105",
|
|
82947
82962
|
description: "Manage UiPath admin resources — Identity Server, Resource Catalog Service, Audit Service, VPN Gateway.",
|
|
82948
82963
|
private: false,
|
|
82949
82964
|
repository: {
|
|
@@ -83008,4 +83023,4 @@ export {
|
|
|
83008
83023
|
metadata8 as metadata
|
|
83009
83024
|
};
|
|
83010
83025
|
|
|
83011
|
-
//# debugId=
|
|
83026
|
+
//# debugId=A7612F66320C049664756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/admin-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.105",
|
|
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": "
|
|
26
|
+
"gitHead": "30a83200f41e8bb994929322e33176b4355f6707"
|
|
27
27
|
}
|