@voiceflow/utils-designer 1.16.9 → 1.16.11
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.
@@ -5,10 +5,14 @@ export declare const isTextRequest: (request: unknown) => request is {
|
|
5
5
|
};
|
6
6
|
export declare const isActionRequest: (request: unknown) => request is {
|
7
7
|
type: "action";
|
8
|
-
payload: {
|
9
|
-
label?: string | undefined;
|
10
|
-
};
|
11
8
|
diagramID?: string | undefined;
|
9
|
+
payload?: {
|
10
|
+
actions?: {
|
11
|
+
type: string;
|
12
|
+
payload?: unknown;
|
13
|
+
}[] | undefined;
|
14
|
+
label?: string | undefined;
|
15
|
+
} | undefined;
|
12
16
|
};
|
13
17
|
export declare const isIntentRequest: (request: unknown) => request is {
|
14
18
|
type: "intent";
|
@@ -16,6 +20,11 @@ export declare const isIntentRequest: (request: unknown) => request is {
|
|
16
20
|
intent: {
|
17
21
|
name: string;
|
18
22
|
};
|
23
|
+
label?: string | undefined;
|
24
|
+
actions?: {
|
25
|
+
type: string;
|
26
|
+
payload?: unknown;
|
27
|
+
}[] | undefined;
|
19
28
|
data?: Record<string, any> | undefined;
|
20
29
|
query?: string | undefined;
|
21
30
|
entities?: {
|
@@ -25,7 +34,6 @@ export declare const isIntentRequest: (request: unknown) => request is {
|
|
25
34
|
verboseValue?: string | undefined;
|
26
35
|
}[] | undefined;
|
27
36
|
confidence?: number | undefined;
|
28
|
-
label?: string | undefined;
|
29
37
|
};
|
30
38
|
diagramID?: string | undefined;
|
31
39
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO
|
1
|
+
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;CACH,CAAC;AAE9C,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;CACH,CAAC"}
|
@@ -5,10 +5,14 @@ export declare const isTextRequest: (request: unknown) => request is {
|
|
5
5
|
};
|
6
6
|
export declare const isActionRequest: (request: unknown) => request is {
|
7
7
|
type: "action";
|
8
|
-
payload: {
|
9
|
-
label?: string | undefined;
|
10
|
-
};
|
11
8
|
diagramID?: string | undefined;
|
9
|
+
payload?: {
|
10
|
+
actions?: {
|
11
|
+
type: string;
|
12
|
+
payload?: unknown;
|
13
|
+
}[] | undefined;
|
14
|
+
label?: string | undefined;
|
15
|
+
} | undefined;
|
12
16
|
};
|
13
17
|
export declare const isIntentRequest: (request: unknown) => request is {
|
14
18
|
type: "intent";
|
@@ -16,6 +20,11 @@ export declare const isIntentRequest: (request: unknown) => request is {
|
|
16
20
|
intent: {
|
17
21
|
name: string;
|
18
22
|
};
|
23
|
+
label?: string | undefined;
|
24
|
+
actions?: {
|
25
|
+
type: string;
|
26
|
+
payload?: unknown;
|
27
|
+
}[] | undefined;
|
19
28
|
data?: Record<string, any> | undefined;
|
20
29
|
query?: string | undefined;
|
21
30
|
entities?: {
|
@@ -25,7 +34,6 @@ export declare const isIntentRequest: (request: unknown) => request is {
|
|
25
34
|
verboseValue?: string | undefined;
|
26
35
|
}[] | undefined;
|
27
36
|
confidence?: number | undefined;
|
28
|
-
label?: string | undefined;
|
29
37
|
};
|
30
38
|
diagramID?: string | undefined;
|
31
39
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO
|
1
|
+
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;CACH,CAAC;AAE9C,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;CACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voiceflow/utils-designer",
|
3
|
-
"version": "1.16.
|
3
|
+
"version": "1.16.11",
|
4
4
|
"exports": {
|
5
5
|
".": {
|
6
6
|
"types": "./build/cjs/main.d.ts",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@voiceflow/common": "8.2.8",
|
39
|
-
"@voiceflow/dtos": "1.
|
39
|
+
"@voiceflow/dtos": "1.60.0",
|
40
40
|
"bidirectional-adapter": "1.2.1",
|
41
41
|
"ts-pattern": "^5.0.5",
|
42
42
|
"zod": "3.22.4"
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"tsd": {
|
56
56
|
"directory": "src"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "9e93a9563344e1de80ded1e480b1e7a2f87dae4a"
|
59
59
|
}
|