@uipath/admin-tool 1.205.0-preview.300 → 1.205.0-preview.304
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-37jrt4wz.js → index-0zpnh16s.js} +2 -2
- package/dist/{index-3mgpezgw.js → index-k20g2ebm.js} +3 -3
- package/dist/{index-00ks13f2.js → index-mqg8y4h7.js} +3 -3
- package/dist/{index-6s9xyeev.js → index-qn48km8n.js} +2 -2
- package/dist/{index-3v0kv44y.js → index-yfmt8m73.js} +14 -3
- package/dist/{tool-cvpxjm7x.js → tool-3gtpbqs3.js} +4 -4
- package/dist/{tool-nwbftwhg.js → tool-4kd370dc.js} +1 -1
- package/dist/{tool-2wtwtawb.js → tool-923fhc87.js} +24 -2
- package/dist/{tool-hsqb6sve.js → tool-ehc9xrz0.js} +2 -2
- package/dist/{tool-3hcepp95.js → tool-sx5axzp6.js} +4 -4
- package/dist/tool.js +10 -10
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
EXIT_CODES,
|
|
6
6
|
OutputFormatter,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
logger,
|
|
17
17
|
parseLimit,
|
|
18
18
|
processContext
|
|
19
|
-
} from "./tool-
|
|
19
|
+
} from "./tool-923fhc87.js";
|
|
20
20
|
import"./tool-1yh8g550.js";
|
|
21
21
|
|
|
22
22
|
// ../audit-sdk/generated/src/runtime.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserApi,
|
|
3
3
|
createApiClient
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-ehc9xrz0.js";
|
|
5
5
|
import {
|
|
6
6
|
getLoginStatusAsync
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-4kd370dc.js";
|
|
8
8
|
import {
|
|
9
9
|
InvalidArgumentError,
|
|
10
10
|
Option,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getSdkUserAgentToken,
|
|
18
18
|
installSdkUserAgentHeader,
|
|
19
19
|
processContext
|
|
20
|
-
} from "./tool-
|
|
20
|
+
} from "./tool-923fhc87.js";
|
|
21
21
|
import"./tool-1yh8g550.js";
|
|
22
22
|
|
|
23
23
|
// ../authz-sdk/generated/src/runtime.ts
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
UserApi,
|
|
9
9
|
createApiClient,
|
|
10
10
|
createIdentityConfig
|
|
11
|
-
} from "./tool-
|
|
12
|
-
import"./tool-
|
|
11
|
+
} from "./tool-ehc9xrz0.js";
|
|
12
|
+
import"./tool-4kd370dc.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_PAGE_SIZE,
|
|
15
15
|
Option,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
logger,
|
|
21
21
|
processContext,
|
|
22
22
|
splitScopeList
|
|
23
|
-
} from "./tool-
|
|
23
|
+
} from "./tool-923fhc87.js";
|
|
24
24
|
import"./tool-1yh8g550.js";
|
|
25
25
|
|
|
26
26
|
// ../identity-commands/src/commands/external-apps.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
InvalidArgumentError,
|
|
6
6
|
Option,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
installSdkUserAgentHeader,
|
|
14
14
|
instructionsFor,
|
|
15
15
|
processContext
|
|
16
|
-
} from "./tool-
|
|
16
|
+
} from "./tool-923fhc87.js";
|
|
17
17
|
import"./tool-1yh8g550.js";
|
|
18
18
|
|
|
19
19
|
// ../vpngateway-sdk/generated/src/runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
Option,
|
|
6
6
|
OutputFormatter,
|
|
@@ -10,9 +10,11 @@ import {
|
|
|
10
10
|
extractErrorMessage,
|
|
11
11
|
getFileSystem,
|
|
12
12
|
getSdkUserAgentToken,
|
|
13
|
+
httpStatusOf,
|
|
13
14
|
installSdkUserAgentHeader,
|
|
15
|
+
notSupportedFailure,
|
|
14
16
|
processContext
|
|
15
|
-
} from "./tool-
|
|
17
|
+
} from "./tool-923fhc87.js";
|
|
16
18
|
import {
|
|
17
19
|
__export
|
|
18
20
|
} from "./tool-1yh8g550.js";
|
|
@@ -5557,6 +5559,7 @@ var registerOrgServicesCommands = (organizations) => {
|
|
|
5557
5559
|
});
|
|
5558
5560
|
});
|
|
5559
5561
|
};
|
|
5562
|
+
var REGIONS_NOT_SUPPORTED_INSTRUCTIONS = "The connected environment does not serve the list of regions an organization can be provisioned in. Read it from an environment that offers multi-region provisioning.";
|
|
5560
5563
|
var registerRegionsCommands = (organizations) => {
|
|
5561
5564
|
const regions = organizations.command("regions").description("Inspect the regions in which Portal can be provisioned. Use the `list` subcommand.");
|
|
5562
5565
|
withLoginValidity(regions.command("list").description("List the regions in which Portal can be provisioned for the caller's company.").examples(REGIONS_EXAMPLES)).trackedAction(processContext, async (options) => {
|
|
@@ -5564,6 +5567,14 @@ var registerRegionsCommands = (organizations) => {
|
|
|
5564
5567
|
if (!client)
|
|
5565
5568
|
return;
|
|
5566
5569
|
const [error, result] = await catchError(client.api.organizationGetAllSupportedRegions());
|
|
5570
|
+
if (httpStatusOf(error) === 404) {
|
|
5571
|
+
OutputFormatter.error({
|
|
5572
|
+
Code: "OmsRegionsList",
|
|
5573
|
+
...notSupportedFailure("Listing provisionable regions", REGIONS_NOT_SUPPORTED_INSTRUCTIONS, { httpStatus: 404 })
|
|
5574
|
+
});
|
|
5575
|
+
processContext.exit(1);
|
|
5576
|
+
return;
|
|
5577
|
+
}
|
|
5567
5578
|
if (error) {
|
|
5568
5579
|
await emitFailure(error, LOGIN_INSTRUCTIONS);
|
|
5569
5580
|
return;
|
|
@@ -6498,4 +6509,4 @@ export {
|
|
|
6498
6509
|
registerCommands
|
|
6499
6510
|
};
|
|
6500
6511
|
|
|
6501
|
-
//# debugId=
|
|
6512
|
+
//# debugId=3F98128E8312419A64756E2164756E21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_PAGE_SIZE,
|
|
6
6
|
Option,
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
processContext,
|
|
16
16
|
resolveDeprecatedOptionAlias,
|
|
17
17
|
warnDeprecatedOptionAlias
|
|
18
|
-
} from "./tool-
|
|
18
|
+
} from "./tool-923fhc87.js";
|
|
19
19
|
import"./tool-1yh8g550.js";
|
|
20
20
|
// ../resourcecatalog-tool/package.json
|
|
21
21
|
var package_default = {
|
|
22
22
|
name: "@uipath/resourcecatalog-tool",
|
|
23
23
|
author: "UiPath",
|
|
24
24
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
25
|
-
version: "1.205.0-preview.
|
|
25
|
+
version: "1.205.0-preview.304",
|
|
26
26
|
description: "CLI plugin for the UiPath Resource Catalog Service.",
|
|
27
27
|
private: false,
|
|
28
28
|
repository: {
|
|
@@ -1974,4 +1974,4 @@ export {
|
|
|
1974
1974
|
registerCommands
|
|
1975
1975
|
};
|
|
1976
1976
|
|
|
1977
|
-
//# debugId=
|
|
1977
|
+
//# debugId=17E8F58214D5F4C364756E2164756E21
|
|
@@ -5642,6 +5642,18 @@ var OutputFormatter;
|
|
|
5642
5642
|
}
|
|
5643
5643
|
OutputFormatter.formatToString = formatToString;
|
|
5644
5644
|
})(OutputFormatter ||= {});
|
|
5645
|
+
|
|
5646
|
+
// ../../common/src/classified-failure.ts
|
|
5647
|
+
function notSupportedFailure(operation, instructions, context) {
|
|
5648
|
+
return {
|
|
5649
|
+
Result: RESULTS.Failure,
|
|
5650
|
+
ErrorCode: "not_supported",
|
|
5651
|
+
Message: `${operation} isn't supported on the connected environment.`,
|
|
5652
|
+
Instructions: instructions,
|
|
5653
|
+
Retry: "RetryWillNotFix",
|
|
5654
|
+
...context ? { Context: context } : {}
|
|
5655
|
+
};
|
|
5656
|
+
}
|
|
5645
5657
|
// ../../../node_modules/commander/esm.mjs
|
|
5646
5658
|
var import__ = __toESM(require_commander(), 1);
|
|
5647
5659
|
var {
|
|
@@ -6392,6 +6404,16 @@ var GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
|
6392
6404
|
function isGuid(value) {
|
|
6393
6405
|
return GUID_REGEX.test(value);
|
|
6394
6406
|
}
|
|
6407
|
+
// ../../common/src/http-status.ts
|
|
6408
|
+
function httpStatusOf(error) {
|
|
6409
|
+
if (!error || typeof error !== "object") {
|
|
6410
|
+
return;
|
|
6411
|
+
}
|
|
6412
|
+
if ("response" in error && error.response && typeof error.response === "object" && "status" in error.response && typeof error.response.status === "number") {
|
|
6413
|
+
return error.response.status;
|
|
6414
|
+
}
|
|
6415
|
+
return "status" in error && typeof error.status === "number" ? error.status : undefined;
|
|
6416
|
+
}
|
|
6395
6417
|
// ../../common/src/interactivity-context.ts
|
|
6396
6418
|
var modeSlot = singleton("InteractivityMode");
|
|
6397
6419
|
var interactiveFlagSlot = singleton("InteractiveFlag");
|
|
@@ -6614,6 +6636,6 @@ function installSdkUserAgentHeader(BaseApiClass, userAgent) {
|
|
|
6614
6636
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
6615
6637
|
// ../../common/src/tool-provider.ts
|
|
6616
6638
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
6617
|
-
export { getFileSystem, catchError, extractErrorDetails, extractErrorMessage, logger, RESULTS, EXIT_CODES, OutputFormatter, InvalidArgumentError, Option, processContext, DEFAULT_PAGE_SIZE, instructionsFor, isGuid, stripHostGlobalOptions, resolveDeprecatedOptionAlias, warnDeprecatedOptionAlias, createHiddenDeprecatedTenantOption, parseLimit, splitScopeList, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader };
|
|
6639
|
+
export { getFileSystem, catchError, extractErrorDetails, extractErrorMessage, logger, RESULTS, EXIT_CODES, OutputFormatter, notSupportedFailure, InvalidArgumentError, Option, processContext, DEFAULT_PAGE_SIZE, instructionsFor, isGuid, stripHostGlobalOptions, httpStatusOf, resolveDeprecatedOptionAlias, warnDeprecatedOptionAlias, createHiddenDeprecatedTenantOption, parseLimit, splitScopeList, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader };
|
|
6618
6640
|
|
|
6619
|
-
//# debugId=
|
|
6641
|
+
//# debugId=31FAB5CCFAC9B19D64756E2164756E21
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthContext
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
addSdkUserAgentHeader,
|
|
6
6
|
getSdkUserAgentToken,
|
|
7
7
|
installSdkUserAgentHeader
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-923fhc87.js";
|
|
9
9
|
|
|
10
10
|
// ../identity-sdk/generated/src/runtime.ts
|
|
11
11
|
var BASE_PATH = "https://alpha.uipath.com/identity_".replace(/\/+$/, "");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-4kd370dc.js";
|
|
4
4
|
import {
|
|
5
5
|
OutputFormatter,
|
|
6
6
|
RESULTS,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
getSdkUserAgentToken,
|
|
12
12
|
installSdkUserAgentHeader,
|
|
13
13
|
processContext
|
|
14
|
-
} from "./tool-
|
|
14
|
+
} from "./tool-923fhc87.js";
|
|
15
15
|
import"./tool-1yh8g550.js";
|
|
16
16
|
// ../apms-tool/package.json
|
|
17
17
|
var package_default = {
|
|
18
18
|
name: "@uipath/apms-tool",
|
|
19
19
|
author: "UiPath",
|
|
20
20
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
21
|
-
version: "1.205.0-preview.
|
|
21
|
+
version: "1.205.0-preview.304",
|
|
22
22
|
description: "CLI plugin for the UiPath Access Policy Management Service.",
|
|
23
23
|
private: false,
|
|
24
24
|
repository: {
|
|
@@ -2528,4 +2528,4 @@ export {
|
|
|
2528
2528
|
registerCommands
|
|
2529
2529
|
};
|
|
2530
2530
|
|
|
2531
|
-
//# debugId=
|
|
2531
|
+
//# debugId=D228562D06226AD764756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
stripHostGlobalOptions
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-923fhc87.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
6
|
} from "./tool-1yh8g550.js";
|
|
@@ -9,7 +9,7 @@ var package_default = {
|
|
|
9
9
|
name: "@uipath/admin-tool",
|
|
10
10
|
author: "UiPath",
|
|
11
11
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
12
|
-
version: "1.205.0-preview.
|
|
12
|
+
version: "1.205.0-preview.304",
|
|
13
13
|
description: "Manage UiPath admin resources — Identity Server, Resource Catalog Service, Audit Service, VPN Gateway.",
|
|
14
14
|
private: false,
|
|
15
15
|
repository: {
|
|
@@ -72,31 +72,31 @@ var BRANCHES = [
|
|
|
72
72
|
"smtp",
|
|
73
73
|
"users"
|
|
74
74
|
],
|
|
75
|
-
load: async () => (await import("./index-
|
|
75
|
+
load: async () => (await import("./index-mqg8y4h7.js")).registerCommands
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
commands: ["ip-restriction"],
|
|
79
|
-
load: async () => (await import("./tool-
|
|
79
|
+
load: async () => (await import("./tool-sx5axzp6.js")).registerCommands
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
commands: ["authorization"],
|
|
83
|
-
load: async () => (await import("./index-
|
|
83
|
+
load: async () => (await import("./index-k20g2ebm.js")).registerCommands
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
commands: ["organizations", "tenants"],
|
|
87
|
-
load: async () => (await import("./index-
|
|
87
|
+
load: async () => (await import("./index-yfmt8m73.js")).registerCommands
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
commands: ["rcs"],
|
|
91
|
-
load: async () => (await import("./tool-
|
|
91
|
+
load: async () => (await import("./tool-3gtpbqs3.js")).registerCommands
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
commands: ["audit"],
|
|
95
|
-
load: async () => (await import("./index-
|
|
95
|
+
load: async () => (await import("./index-0zpnh16s.js")).registerCommands
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
commands: ["integrations"],
|
|
99
|
-
load: async () => (await import("./index-
|
|
99
|
+
load: async () => (await import("./index-qn48km8n.js")).registerCommands
|
|
100
100
|
}
|
|
101
101
|
];
|
|
102
102
|
function branchesFor(argv) {
|
|
@@ -121,4 +121,4 @@ export {
|
|
|
121
121
|
registerCommands
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
//# debugId=
|
|
124
|
+
//# debugId=3F00AFA6AC95AB5664756E2164756E21
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/admin-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.205.0-preview.
|
|
5
|
+
"version": "1.205.0-preview.304",
|
|
6
6
|
"description": "Manage UiPath admin resources — Identity Server, Resource Catalog Service, Audit Service, VPN Gateway.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"files": [
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "186bf75f4162dec3a07b468d6de2dec06c5f657c"
|
|
28
28
|
}
|