@inploi/plugin-chatbot 3.3.0 → 3.4.0
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/chatbot.utils.d.ts +22 -0
- package/package.json +2 -2
package/dist/chatbot.utils.d.ts
CHANGED
|
@@ -2,11 +2,21 @@ import { FlowNode } from '@inploi/core/flows';
|
|
|
2
2
|
import { ApplicationSubmission, KeyToSubmissionMap } from './chatbot.state';
|
|
3
3
|
export type DistributivePick<T, K extends keyof T> = T extends unknown ? Pick<T, K> : never;
|
|
4
4
|
export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
5
|
+
id: string;
|
|
6
|
+
data: {
|
|
7
|
+
ats: "cornerstone";
|
|
8
|
+
};
|
|
9
|
+
type: "integration-workflow-get";
|
|
10
|
+
server: true;
|
|
11
|
+
isHead?: boolean | undefined;
|
|
12
|
+
nextId?: string | undefined;
|
|
13
|
+
} | {
|
|
5
14
|
id: string;
|
|
6
15
|
data: {
|
|
7
16
|
systemMessage?: string | undefined;
|
|
8
17
|
};
|
|
9
18
|
type: "end-flow";
|
|
19
|
+
server: boolean;
|
|
10
20
|
isHead?: boolean | undefined;
|
|
11
21
|
nextId?: string | undefined;
|
|
12
22
|
} | {
|
|
@@ -15,6 +25,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
15
25
|
type: "ats";
|
|
16
26
|
};
|
|
17
27
|
type: "submit";
|
|
28
|
+
server: boolean;
|
|
18
29
|
isHead?: boolean | undefined;
|
|
19
30
|
nextId?: string | undefined;
|
|
20
31
|
} | {
|
|
@@ -24,6 +35,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
24
35
|
cta: string;
|
|
25
36
|
};
|
|
26
37
|
type: "link";
|
|
38
|
+
server: boolean;
|
|
27
39
|
isHead?: boolean | undefined;
|
|
28
40
|
nextId?: string | undefined;
|
|
29
41
|
} | {
|
|
@@ -32,6 +44,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
32
44
|
text: string;
|
|
33
45
|
};
|
|
34
46
|
type: "text";
|
|
47
|
+
server: boolean;
|
|
35
48
|
isHead?: boolean | undefined;
|
|
36
49
|
nextId?: string | undefined;
|
|
37
50
|
} | {
|
|
@@ -42,6 +55,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
42
55
|
height: number;
|
|
43
56
|
};
|
|
44
57
|
type: "image";
|
|
58
|
+
server: boolean;
|
|
45
59
|
isHead?: boolean | undefined;
|
|
46
60
|
nextId?: string | undefined;
|
|
47
61
|
} | {
|
|
@@ -53,6 +67,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
53
67
|
falseLabel: string;
|
|
54
68
|
};
|
|
55
69
|
type: "question-boolean";
|
|
70
|
+
server: boolean;
|
|
56
71
|
isHead?: boolean | undefined;
|
|
57
72
|
nextId?: string | undefined;
|
|
58
73
|
} | {
|
|
@@ -64,6 +79,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
64
79
|
placeholder?: string | undefined;
|
|
65
80
|
};
|
|
66
81
|
type: "question-text";
|
|
82
|
+
server: boolean;
|
|
67
83
|
isHead?: boolean | undefined;
|
|
68
84
|
nextId?: string | undefined;
|
|
69
85
|
} | {
|
|
@@ -77,6 +93,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
77
93
|
max?: number | undefined;
|
|
78
94
|
};
|
|
79
95
|
type: "question-number";
|
|
96
|
+
server: boolean;
|
|
80
97
|
isHead?: boolean | undefined;
|
|
81
98
|
nextId?: string | undefined;
|
|
82
99
|
} | {
|
|
@@ -92,6 +109,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
92
109
|
minSelected: number;
|
|
93
110
|
};
|
|
94
111
|
type: "question-enum";
|
|
112
|
+
server: boolean;
|
|
95
113
|
isHead?: boolean | undefined;
|
|
96
114
|
nextId?: string | undefined;
|
|
97
115
|
} | {
|
|
@@ -104,6 +122,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
104
122
|
maxSizeKb?: number | undefined;
|
|
105
123
|
};
|
|
106
124
|
type: "question-file";
|
|
125
|
+
server: boolean;
|
|
107
126
|
isHead?: boolean | undefined;
|
|
108
127
|
nextId?: string | undefined;
|
|
109
128
|
} | {
|
|
@@ -122,6 +141,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
122
141
|
placeholder?: string | undefined;
|
|
123
142
|
};
|
|
124
143
|
type: "question-address";
|
|
144
|
+
server: boolean;
|
|
125
145
|
isHead?: boolean | undefined;
|
|
126
146
|
nextId?: string | undefined;
|
|
127
147
|
} | {
|
|
@@ -132,6 +152,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
132
152
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
133
153
|
};
|
|
134
154
|
type: "if-block";
|
|
155
|
+
server: boolean;
|
|
135
156
|
isHead?: boolean | undefined;
|
|
136
157
|
nextId?: string | undefined;
|
|
137
158
|
branchId?: string | undefined;
|
|
@@ -141,6 +162,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
|
|
|
141
162
|
targetId: string;
|
|
142
163
|
};
|
|
143
164
|
type: "jump";
|
|
165
|
+
server: boolean;
|
|
144
166
|
isHead?: boolean | undefined;
|
|
145
167
|
nextId?: string | undefined;
|
|
146
168
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-chatbot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-chatbot.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"vite-plugin-dts": "^3.7.0",
|
|
65
65
|
"vite-tsconfig-paths": "^4.2.1",
|
|
66
66
|
"@inploi/core": "1.7.0",
|
|
67
|
-
"@inploi/sdk": "1.
|
|
67
|
+
"@inploi/sdk": "1.9.0",
|
|
68
68
|
"eslint-config-custom": "0.1.0",
|
|
69
69
|
"tsconfig": "0.1.0"
|
|
70
70
|
},
|