@voiceflow/base-types 2.7.4 → 2.7.5
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/build/common/node/utils/trace.d.ts +2 -1
- package/build/common/node/utils/trace.js +1 -0
- package/build/common/node/utils/trace.js.map +1 -1
- package/build/common/trace/index.d.ts +8 -1
- package/build/esm/node/utils/trace.d.ts +2 -1
- package/build/esm/node/utils/trace.js +1 -0
- package/build/esm/node/utils/trace.js.map +1 -1
- package/build/esm/trace/index.d.ts +8 -1
- package/build/esm/trace/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,8 @@ export declare enum TraceType {
|
|
|
11
11
|
CHOICE = "choice",
|
|
12
12
|
STREAM = "stream",
|
|
13
13
|
VISUAL = "visual",
|
|
14
|
-
NO_REPLY = "no-reply"
|
|
14
|
+
NO_REPLY = "no-reply",
|
|
15
|
+
ENTITY_FILLING = "entity-filling"
|
|
15
16
|
}
|
|
16
17
|
export interface BaseTraceFramePath<Event extends BaseEvent = BaseEvent> {
|
|
17
18
|
label?: string;
|
|
@@ -15,5 +15,6 @@ var TraceType;
|
|
|
15
15
|
TraceType["STREAM"] = "stream";
|
|
16
16
|
TraceType["VISUAL"] = "visual";
|
|
17
17
|
TraceType["NO_REPLY"] = "no-reply";
|
|
18
|
+
TraceType["ENTITY_FILLING"] = "entity-filling";
|
|
18
19
|
})(TraceType = exports.TraceType || (exports.TraceType = {}));
|
|
19
20
|
//# sourceMappingURL=trace.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../src/node/utils/trace.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../src/node/utils/trace.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAcX;AAdD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8CAAiC,CAAA;AACnC,CAAC,EAdW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAcpB"}
|
|
@@ -46,4 +46,11 @@ export interface NoReplyTracePayload {
|
|
|
46
46
|
export interface NoReplyTrace extends BaseTraceFrame<NoReplyTracePayload> {
|
|
47
47
|
type: TraceType.NO_REPLY;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
49
|
+
export interface EntityFillingTracePayload {
|
|
50
|
+
entityToFill: string;
|
|
51
|
+
intent: IntentRequest;
|
|
52
|
+
}
|
|
53
|
+
export interface EntityFillingTrace extends BaseTraceFrame<EntityFillingTracePayload> {
|
|
54
|
+
type: TraceType.ENTITY_FILLING;
|
|
55
|
+
}
|
|
56
|
+
export declare type AnyTrace = ExitTrace | TextTrace | GoToTrace | FlowTrace | SpeakTrace | BlockTrace | DebugTrace | ChoiceTrace | StreamTrace | VisualTrace | NoReplyTrace | EntityFillingTrace;
|
|
@@ -11,7 +11,8 @@ export declare enum TraceType {
|
|
|
11
11
|
CHOICE = "choice",
|
|
12
12
|
STREAM = "stream",
|
|
13
13
|
VISUAL = "visual",
|
|
14
|
-
NO_REPLY = "no-reply"
|
|
14
|
+
NO_REPLY = "no-reply",
|
|
15
|
+
ENTITY_FILLING = "entity-filling"
|
|
15
16
|
}
|
|
16
17
|
export interface BaseTraceFramePath<Event extends BaseEvent = BaseEvent> {
|
|
17
18
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../src/node/utils/trace.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../../src/node/utils/trace.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,SAcX;AAdD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8CAAiC,CAAA;AACnC,CAAC,EAdW,SAAS,KAAT,SAAS,QAcpB"}
|
|
@@ -46,4 +46,11 @@ export interface NoReplyTracePayload {
|
|
|
46
46
|
export interface NoReplyTrace extends BaseTraceFrame<NoReplyTracePayload> {
|
|
47
47
|
type: TraceType.NO_REPLY;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
49
|
+
export interface EntityFillingTracePayload {
|
|
50
|
+
entityToFill: string;
|
|
51
|
+
intent: IntentRequest;
|
|
52
|
+
}
|
|
53
|
+
export interface EntityFillingTrace extends BaseTraceFrame<EntityFillingTracePayload> {
|
|
54
|
+
type: TraceType.ENTITY_FILLING;
|
|
55
|
+
}
|
|
56
|
+
export declare type AnyTrace = ExitTrace | TextTrace | GoToTrace | FlowTrace | SpeakTrace | BlockTrace | DebugTrace | ChoiceTrace | StreamTrace | VisualTrace | NoReplyTrace | EntityFillingTrace;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAiEqH,qBAAqB,CAjE/G"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/base-types",
|
|
3
3
|
"description": "Voiceflow base project types",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.5",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"test:integration": "exit 0",
|
|
40
40
|
"test:unit": "exit 0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "a6e4cb2fb4d1144bfae03d7ad42b3cce37cff28a"
|
|
43
43
|
}
|