@uipath/conversational-tool 1.202.0-preview.136 → 1.202.0-preview.138
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
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./tool-
|
|
5
|
+
} from "./tool-jr13xb5b.js";
|
|
6
6
|
import"./tool-nkyhbf79.js";
|
|
7
7
|
import {
|
|
8
8
|
Command
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-51dxr79e.js";
|
|
10
10
|
import"./tool-mpvp5rqs.js";
|
|
11
11
|
import"./tool-1yh8g550.js";
|
|
12
12
|
|
|
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS(function(exports) {
|
|
|
2100
2100
|
var package_default = {
|
|
2101
2101
|
name: "@uipath/conversational-tool",
|
|
2102
2102
|
license: "MIT",
|
|
2103
|
-
version: "1.202.0-preview.
|
|
2103
|
+
version: "1.202.0-preview.138",
|
|
2104
2104
|
description: "Handle conversations with deployed UiPath conversational processes.",
|
|
2105
2105
|
publishConfig: {
|
|
2106
2106
|
registry: "https://npm.pkg.github.com/"
|
|
@@ -4470,6 +4470,14 @@ var RETRY_HINTS = [
|
|
|
4470
4470
|
"RetryAfter30Seconds",
|
|
4471
4471
|
"RetryAfter60Seconds"
|
|
4472
4472
|
];
|
|
4473
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
4474
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
4475
|
+
function isCliErrorCode(value) {
|
|
4476
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
4477
|
+
}
|
|
4478
|
+
function isRetryHint(value) {
|
|
4479
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
4480
|
+
}
|
|
4473
4481
|
var RESULTS = {
|
|
4474
4482
|
Success: "Success",
|
|
4475
4483
|
Failure: "Failure",
|
|
@@ -5257,8 +5265,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
5257
5265
|
|
|
5258
5266
|
// ../common/src/trackedAction.ts
|
|
5259
5267
|
var pollSignalSlot = singleton("PollSignal");
|
|
5260
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
5261
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
5262
5268
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
5263
5269
|
var processContext = {
|
|
5264
5270
|
exit: (code) => {
|
|
@@ -5346,12 +5352,6 @@ function deriveCommandPath(cmd) {
|
|
|
5346
5352
|
}
|
|
5347
5353
|
return commandTelemetryName(parts);
|
|
5348
5354
|
}
|
|
5349
|
-
function isCliErrorCode(value) {
|
|
5350
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
5351
|
-
}
|
|
5352
|
-
function isRetryHint(value) {
|
|
5353
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
5354
|
-
}
|
|
5355
5355
|
function isErrorContext(value) {
|
|
5356
5356
|
return value !== null && typeof value === "object";
|
|
5357
5357
|
}
|
|
@@ -7159,4 +7159,4 @@ var CLI_EXTERNAL_USER_ID = "app-user-cli-cas";
|
|
|
7159
7159
|
|
|
7160
7160
|
export { package_default, getFileSystem, catchError, extractErrorDetails, extractErrorMessageSync, RESULTS, EXIT_CODES, OutputFormatter, InvalidArgumentError, Command, processContext, requireConfirmation, instructionsFor, canPrompt, parseBoundedInt, getSdkUserAgentToken, addSdkUserAgentHeader, getLoginStatusAsync, CLI_EXTERNAL_USER_ID };
|
|
7161
7161
|
|
|
7162
|
-
//# debugId=
|
|
7162
|
+
//# debugId=5F30171F4C31809F64756E2164756E21
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
parseBoundedInt,
|
|
21
21
|
processContext,
|
|
22
22
|
requireConfirmation
|
|
23
|
-
} from "./tool-
|
|
23
|
+
} from "./tool-51dxr79e.js";
|
|
24
24
|
import {
|
|
25
25
|
__require
|
|
26
26
|
} from "./tool-1yh8g550.js";
|
|
@@ -11573,7 +11573,7 @@ var resolveEntryPoint = (entryPoints, requested) => {
|
|
|
11573
11573
|
var resolveBinding = async (target) => {
|
|
11574
11574
|
const processKey = target.processKey.toLowerCase();
|
|
11575
11575
|
const folderKey = target.folderKey.toLowerCase();
|
|
11576
|
-
const { listVoiceEntryPoints } = await import("./cas-client-
|
|
11576
|
+
const { listVoiceEntryPoints } = await import("./cas-client-9yw04pcj.js");
|
|
11577
11577
|
const [epError, entryPoints] = await catchError(listVoiceEntryPoints(processKey, folderKey));
|
|
11578
11578
|
if (epError) {
|
|
11579
11579
|
await failFromError(epError);
|
|
@@ -11589,7 +11589,7 @@ var resolveBinding = async (target) => {
|
|
|
11589
11589
|
var registerTrunksCommand = (program) => {
|
|
11590
11590
|
const trunks = program.command("trunks").description("Inspect the SIP trunks (phone numbers) configured for conversational voice.");
|
|
11591
11591
|
trunks.command("list").description("List the tenant's SIP trunks. Voice flows dial out from an outbound-enabled trunk's phone number (`inputs.from` on Create outgoing call); inbound-enabled trunks route incoming calls to a published process. Trunks are connected in Instance Management under Phone numbers.").option("--direction <direction>", "Only trunks enabled for this call direction: inbound or outbound (default: all trunks)", parseDirection).trackedAction(processContext, async (options) => {
|
|
11592
|
-
const { listSipTrunks } = await import("./cas-client-
|
|
11592
|
+
const { listSipTrunks } = await import("./cas-client-9yw04pcj.js");
|
|
11593
11593
|
const [listError, trunks2] = await catchError(listSipTrunks(options.direction));
|
|
11594
11594
|
if (listError) {
|
|
11595
11595
|
await failFromError(listError);
|
|
@@ -11605,7 +11605,7 @@ var registerTrunksCommand = (program) => {
|
|
|
11605
11605
|
const plan = planAssign(options);
|
|
11606
11606
|
if (plan === null)
|
|
11607
11607
|
return;
|
|
11608
|
-
const { resolveSipTrunk, updateSipTrunkBinding } = await import("./cas-client-
|
|
11608
|
+
const { resolveSipTrunk, updateSipTrunkBinding } = await import("./cas-client-9yw04pcj.js");
|
|
11609
11609
|
const [trunkError, trunk] = await catchError(resolveSipTrunk(trunkArg));
|
|
11610
11610
|
if (trunkError) {
|
|
11611
11611
|
await failFromError(trunkError);
|
package/dist/tool.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata,
|
|
3
3
|
registerCommands
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-jr13xb5b.js";
|
|
5
5
|
import"./tool-nkyhbf79.js";
|
|
6
|
-
import"./tool-
|
|
6
|
+
import"./tool-51dxr79e.js";
|
|
7
7
|
import"./tool-mpvp5rqs.js";
|
|
8
8
|
import"./tool-1yh8g550.js";
|
|
9
9
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/conversational-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.138",
|
|
5
5
|
"description": "Handle conversations with deployed UiPath conversational processes.",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "46372d5c4c4ae9352e9457a99e9d5efc1890cb48"
|
|
21
21
|
}
|