@whitewall/blip-sdk 0.0.191 → 0.0.193
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/cjs/client.js.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/flow.js +46 -8
- package/dist/cjs/types/flow.js.map +1 -1
- package/dist/cjs/utils/builder.js +34 -34
- package/dist/cjs/utils/builder.js.map +1 -1
- package/dist/cjs/utils/flow-rules.js +304 -0
- package/dist/cjs/utils/flow-rules.js.map +1 -0
- package/dist/cjs/utils/minifier.js +410 -0
- package/dist/cjs/utils/minifier.js.map +1 -0
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/flow.js +40 -6
- package/dist/esm/types/flow.js.map +1 -1
- package/dist/esm/utils/builder.js +31 -30
- package/dist/esm/utils/builder.js.map +1 -1
- package/dist/esm/utils/flow-rules.js +297 -0
- package/dist/esm/utils/flow-rules.js.map +1 -0
- package/dist/esm/utils/minifier.js +405 -0
- package/dist/esm/utils/minifier.js.map +1 -0
- package/dist/types/client.d.ts +2 -1
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/namespaces/account.d.ts +20 -20
- package/dist/types/types/flow.d.ts +286 -96
- package/dist/types/types/flow.d.ts.map +1 -1
- package/dist/types/utils/builder.d.ts +33 -30
- package/dist/types/utils/builder.d.ts.map +1 -1
- package/dist/types/utils/flow-rules.d.ts +50 -0
- package/dist/types/utils/flow-rules.d.ts.map +1 -0
- package/dist/types/utils/minifier.d.ts +2857 -0
- package/dist/types/utils/minifier.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/client.ts +2 -1
- package/src/index.ts +2 -0
- package/src/types/flow.ts +52 -6
- package/src/utils/builder.ts +61 -73
- package/src/utils/flow-rules.ts +453 -0
- package/src/utils/minifier.ts +505 -0
|
@@ -2,6 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CONTENT_TYPES: readonly ["text", "select-immediate", "select", "media", "media-audio", "media-video", "media-document", "chat-state", "web-link", "raw-content", ""];
|
|
3
3
|
export declare const MIME_TYPES: readonly ["text/plain", "application/vnd.lime.media-link+json", "application/vnd.lime.select+json", "application/vnd.lime.chatstate+json", "application/vnd.lime.web-link+json"];
|
|
4
4
|
declare const TYPE_OF_STATE_ID: readonly ["state", "variable"];
|
|
5
|
+
export declare const ROOT_STATE_ID = "onboarding";
|
|
6
|
+
export declare const CUSTOM_ACTION_LISTS: readonly ["$enteringCustomActions", "$leavingCustomActions", "$afterStateChangedActions", "$localCustomActions"];
|
|
7
|
+
/** The state that declares `root`, or the conventional id for a flow that predates it. */
|
|
8
|
+
export declare const resolveEntryPointId: (flow: Record<string, {
|
|
9
|
+
root?: boolean;
|
|
10
|
+
}>) => string | undefined;
|
|
5
11
|
export declare const conditionSchema: z.ZodObject<{
|
|
6
12
|
source: z.ZodEnum<{
|
|
7
13
|
context: "context";
|
|
@@ -29,6 +35,234 @@ export declare const conditionSchema: z.ZodObject<{
|
|
|
29
35
|
}>>;
|
|
30
36
|
values: z.ZodArray<z.ZodString>;
|
|
31
37
|
}, z.core.$strip>;
|
|
38
|
+
export declare const baseActionSchema: z.ZodObject<{
|
|
39
|
+
$id: z.ZodString;
|
|
40
|
+
$typeOfContent: z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
"": "";
|
|
42
|
+
text: "text";
|
|
43
|
+
"select-immediate": "select-immediate";
|
|
44
|
+
select: "select";
|
|
45
|
+
media: "media";
|
|
46
|
+
"media-audio": "media-audio";
|
|
47
|
+
"media-video": "media-video";
|
|
48
|
+
"media-document": "media-document";
|
|
49
|
+
"chat-state": "chat-state";
|
|
50
|
+
"web-link": "web-link";
|
|
51
|
+
"raw-content": "raw-content";
|
|
52
|
+
}>>;
|
|
53
|
+
$title: z.ZodOptional<z.ZodString>;
|
|
54
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
source: z.ZodEnum<{
|
|
57
|
+
context: "context";
|
|
58
|
+
input: "input";
|
|
59
|
+
}>;
|
|
60
|
+
variable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
comparison: z.ZodEnum<{
|
|
62
|
+
endsWith: "endsWith";
|
|
63
|
+
startsWith: "startsWith";
|
|
64
|
+
equals: "equals";
|
|
65
|
+
notEquals: "notEquals";
|
|
66
|
+
contains: "contains";
|
|
67
|
+
greaterThan: "greaterThan";
|
|
68
|
+
lessThan: "lessThan";
|
|
69
|
+
greaterThanOrEquals: "greaterThanOrEquals";
|
|
70
|
+
lessThanOrEquals: "lessThanOrEquals";
|
|
71
|
+
matches: "matches";
|
|
72
|
+
approximateTo: "approximateTo";
|
|
73
|
+
exists: "exists";
|
|
74
|
+
notExists: "notExists";
|
|
75
|
+
}>;
|
|
76
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
or: "or";
|
|
78
|
+
and: "and";
|
|
79
|
+
}>>;
|
|
80
|
+
values: z.ZodArray<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>>>;
|
|
82
|
+
$cardContent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
|
+
editable: z.ZodBoolean;
|
|
84
|
+
deletable: z.ZodBoolean;
|
|
85
|
+
position: z.ZodLiteral<"left">;
|
|
86
|
+
document: z.ZodObject<{
|
|
87
|
+
id: z.ZodString;
|
|
88
|
+
type: z.ZodString;
|
|
89
|
+
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
text: z.ZodOptional<z.ZodString>;
|
|
92
|
+
type: z.ZodString;
|
|
93
|
+
uri: z.ZodString;
|
|
94
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
95
|
+
text: z.ZodString;
|
|
96
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
97
|
+
immediate: "immediate";
|
|
98
|
+
persistent: "persistent";
|
|
99
|
+
}>>>;
|
|
100
|
+
options: z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
101
|
+
text: z.ZodString;
|
|
102
|
+
}, z.core.$strip>>]>;
|
|
103
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
104
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
text: z.ZodString;
|
|
106
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
107
|
+
blank: "blank";
|
|
108
|
+
self: "self";
|
|
109
|
+
selfCompact: "selfCompact";
|
|
110
|
+
selfTall: "selfTall";
|
|
111
|
+
}>>>;
|
|
112
|
+
uri: z.ZodString;
|
|
113
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
114
|
+
state: z.ZodString;
|
|
115
|
+
interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
116
|
+
}, z.core.$strip>]>, z.ZodString]>;
|
|
117
|
+
textContent: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
}, z.core.$strip>>>;
|
|
120
|
+
continueOnError: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
export declare const actionTypeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
123
|
+
type: z.ZodLiteral<"SendMessage">;
|
|
124
|
+
settings: z.ZodObject<{
|
|
125
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
127
|
+
"text/plain": "text/plain";
|
|
128
|
+
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
129
|
+
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
130
|
+
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
131
|
+
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
132
|
+
}>>;
|
|
133
|
+
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
134
|
+
title: z.ZodOptional<z.ZodString>;
|
|
135
|
+
text: z.ZodOptional<z.ZodString>;
|
|
136
|
+
type: z.ZodString;
|
|
137
|
+
uri: z.ZodString;
|
|
138
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
139
|
+
text: z.ZodString;
|
|
140
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
141
|
+
immediate: "immediate";
|
|
142
|
+
persistent: "persistent";
|
|
143
|
+
}>>>;
|
|
144
|
+
options: z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
145
|
+
text: z.ZodString;
|
|
146
|
+
}, z.core.$strip>>]>;
|
|
147
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
148
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
text: z.ZodString;
|
|
150
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
151
|
+
blank: "blank";
|
|
152
|
+
self: "self";
|
|
153
|
+
selfCompact: "selfCompact";
|
|
154
|
+
selfTall: "selfTall";
|
|
155
|
+
}>>>;
|
|
156
|
+
uri: z.ZodString;
|
|
157
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
158
|
+
state: z.ZodString;
|
|
159
|
+
interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
160
|
+
}, z.core.$strip>]>;
|
|
161
|
+
id: z.ZodOptional<z.ZodString>;
|
|
162
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
+
type: z.ZodLiteral<"SendRawMessage">;
|
|
166
|
+
settings: z.ZodObject<{
|
|
167
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
type: z.ZodOptional<z.ZodString>;
|
|
169
|
+
rawContent: z.ZodString;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
172
|
+
type: z.ZodLiteral<"TrackEvent">;
|
|
173
|
+
settings: z.ZodObject<{
|
|
174
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
+
category: z.ZodString;
|
|
176
|
+
action: z.ZodString;
|
|
177
|
+
extras: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
180
|
+
type: z.ZodLiteral<"ProcessHttp">;
|
|
181
|
+
settings: z.ZodObject<{
|
|
182
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
method: z.ZodEnum<{
|
|
184
|
+
POST: "POST";
|
|
185
|
+
GET: "GET";
|
|
186
|
+
PUT: "PUT";
|
|
187
|
+
DELETE: "DELETE";
|
|
188
|
+
}>;
|
|
189
|
+
uri: z.ZodString;
|
|
190
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
191
|
+
body: z.ZodString;
|
|
192
|
+
responseBodyVariable: z.ZodString;
|
|
193
|
+
responseStatusVariable: z.ZodString;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
196
|
+
type: z.ZodLiteral<"MergeContact">;
|
|
197
|
+
settings: z.ZodObject<{
|
|
198
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
+
extras: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
type: z.ZodLiteral<"ExecuteScript">;
|
|
206
|
+
settings: z.ZodObject<{
|
|
207
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
function: z.ZodOptional<z.ZodLiteral<"run">>;
|
|
209
|
+
source: z.ZodString;
|
|
210
|
+
inputVariables: z.ZodArray<z.ZodString>;
|
|
211
|
+
outputVariable: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
214
|
+
type: z.ZodLiteral<"ExecuteScriptV2">;
|
|
215
|
+
settings: z.ZodObject<{
|
|
216
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
function: z.ZodOptional<z.ZodLiteral<"run">>;
|
|
218
|
+
source: z.ZodString;
|
|
219
|
+
inputVariables: z.ZodArray<z.ZodString>;
|
|
220
|
+
outputVariable: z.ZodString;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
223
|
+
type: z.ZodLiteral<"SetVariable">;
|
|
224
|
+
settings: z.ZodObject<{
|
|
225
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
variable: z.ZodString;
|
|
227
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
228
|
+
expiration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
231
|
+
type: z.ZodLiteral<"ProcessCommand">;
|
|
232
|
+
settings: z.ZodObject<{
|
|
233
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
to: z.ZodString;
|
|
235
|
+
method: z.ZodEnum<{
|
|
236
|
+
get: "get";
|
|
237
|
+
set: "set";
|
|
238
|
+
merge: "merge";
|
|
239
|
+
delete: "delete";
|
|
240
|
+
}>;
|
|
241
|
+
uri: z.ZodString;
|
|
242
|
+
variable: z.ZodString;
|
|
243
|
+
from: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
+
type: z.ZodLiteral<"ForwardToDesk">;
|
|
247
|
+
settings: z.ZodObject<{
|
|
248
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
251
|
+
type: z.ZodLiteral<"LeavingFromDesk">;
|
|
252
|
+
settings: z.ZodObject<{
|
|
253
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
+
type: z.ZodLiteral<"Redirect">;
|
|
257
|
+
settings: z.ZodObject<{
|
|
258
|
+
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
address: z.ZodString;
|
|
260
|
+
context: z.ZodObject<{
|
|
261
|
+
type: z.ZodLiteral<"text/plain">;
|
|
262
|
+
value: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
}, z.core.$strip>], "type">;
|
|
32
266
|
export declare const actionSchema: z.ZodIntersection<z.ZodObject<{
|
|
33
267
|
$id: z.ZodString;
|
|
34
268
|
$typeOfContent: z.ZodOptional<z.ZodEnum<{
|
|
@@ -79,13 +313,7 @@ export declare const actionSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
79
313
|
position: z.ZodLiteral<"left">;
|
|
80
314
|
document: z.ZodObject<{
|
|
81
315
|
id: z.ZodString;
|
|
82
|
-
type: z.
|
|
83
|
-
"text/plain": "text/plain";
|
|
84
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
85
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
86
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
87
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
88
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
316
|
+
type: z.ZodString;
|
|
89
317
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
90
318
|
title: z.ZodOptional<z.ZodString>;
|
|
91
319
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -164,7 +392,7 @@ export declare const actionSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
164
392
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
165
393
|
settings: z.ZodObject<{
|
|
166
394
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
type: z.ZodOptional<z.
|
|
395
|
+
type: z.ZodOptional<z.ZodString>;
|
|
168
396
|
rawContent: z.ZodString;
|
|
169
397
|
}, z.core.$strip>;
|
|
170
398
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -419,13 +647,7 @@ export declare const contentActionItemSchema: z.ZodObject<{
|
|
|
419
647
|
position: z.ZodLiteral<"left">;
|
|
420
648
|
document: z.ZodObject<{
|
|
421
649
|
id: z.ZodString;
|
|
422
|
-
type: z.
|
|
423
|
-
"text/plain": "text/plain";
|
|
424
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
425
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
426
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
427
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
428
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
650
|
+
type: z.ZodString;
|
|
429
651
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
430
652
|
title: z.ZodOptional<z.ZodString>;
|
|
431
653
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -504,7 +726,7 @@ export declare const contentActionItemSchema: z.ZodObject<{
|
|
|
504
726
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
505
727
|
settings: z.ZodObject<{
|
|
506
728
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
-
type: z.ZodOptional<z.
|
|
729
|
+
type: z.ZodOptional<z.ZodString>;
|
|
508
730
|
rawContent: z.ZodString;
|
|
509
731
|
}, z.core.$strip>;
|
|
510
732
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -713,13 +935,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
713
935
|
position: z.ZodLiteral<"left">;
|
|
714
936
|
document: z.ZodObject<{
|
|
715
937
|
id: z.ZodString;
|
|
716
|
-
type: z.
|
|
717
|
-
"text/plain": "text/plain";
|
|
718
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
719
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
720
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
721
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
722
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
938
|
+
type: z.ZodString;
|
|
723
939
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
724
940
|
title: z.ZodOptional<z.ZodString>;
|
|
725
941
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -798,7 +1014,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
798
1014
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
799
1015
|
settings: z.ZodObject<{
|
|
800
1016
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
801
|
-
type: z.ZodOptional<z.
|
|
1017
|
+
type: z.ZodOptional<z.ZodString>;
|
|
802
1018
|
rawContent: z.ZodString;
|
|
803
1019
|
}, z.core.$strip>;
|
|
804
1020
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1046,13 +1262,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1046
1262
|
position: z.ZodLiteral<"left">;
|
|
1047
1263
|
document: z.ZodObject<{
|
|
1048
1264
|
id: z.ZodString;
|
|
1049
|
-
type: z.
|
|
1050
|
-
"text/plain": "text/plain";
|
|
1051
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
1052
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
1053
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
1054
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
1055
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
1265
|
+
type: z.ZodString;
|
|
1056
1266
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1057
1267
|
title: z.ZodOptional<z.ZodString>;
|
|
1058
1268
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1131,7 +1341,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1131
1341
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
1132
1342
|
settings: z.ZodObject<{
|
|
1133
1343
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
1134
|
-
type: z.ZodOptional<z.
|
|
1344
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1135
1345
|
rawContent: z.ZodString;
|
|
1136
1346
|
}, z.core.$strip>;
|
|
1137
1347
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1279,13 +1489,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1279
1489
|
position: z.ZodLiteral<"left">;
|
|
1280
1490
|
document: z.ZodObject<{
|
|
1281
1491
|
id: z.ZodString;
|
|
1282
|
-
type: z.
|
|
1283
|
-
"text/plain": "text/plain";
|
|
1284
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
1285
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
1286
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
1287
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
1288
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
1492
|
+
type: z.ZodString;
|
|
1289
1493
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1290
1494
|
title: z.ZodOptional<z.ZodString>;
|
|
1291
1495
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1364,7 +1568,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1364
1568
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
1365
1569
|
settings: z.ZodObject<{
|
|
1366
1570
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
1367
|
-
type: z.ZodOptional<z.
|
|
1571
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1368
1572
|
rawContent: z.ZodString;
|
|
1369
1573
|
}, z.core.$strip>;
|
|
1370
1574
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1512,13 +1716,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1512
1716
|
position: z.ZodLiteral<"left">;
|
|
1513
1717
|
document: z.ZodObject<{
|
|
1514
1718
|
id: z.ZodString;
|
|
1515
|
-
type: z.
|
|
1516
|
-
"text/plain": "text/plain";
|
|
1517
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
1518
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
1519
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
1520
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
1521
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
1719
|
+
type: z.ZodString;
|
|
1522
1720
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1523
1721
|
title: z.ZodOptional<z.ZodString>;
|
|
1524
1722
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1597,7 +1795,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1597
1795
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
1598
1796
|
settings: z.ZodObject<{
|
|
1599
1797
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
1600
|
-
type: z.ZodOptional<z.
|
|
1798
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1601
1799
|
rawContent: z.ZodString;
|
|
1602
1800
|
}, z.core.$strip>;
|
|
1603
1801
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1756,13 +1954,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1756
1954
|
position: z.ZodLiteral<"left">;
|
|
1757
1955
|
document: z.ZodObject<{
|
|
1758
1956
|
id: z.ZodString;
|
|
1759
|
-
type: z.
|
|
1760
|
-
"text/plain": "text/plain";
|
|
1761
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
1762
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
1763
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
1764
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
1765
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
1957
|
+
type: z.ZodString;
|
|
1766
1958
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1767
1959
|
title: z.ZodOptional<z.ZodString>;
|
|
1768
1960
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -1841,7 +2033,7 @@ export declare const stateSchema: z.ZodObject<{
|
|
|
1841
2033
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
1842
2034
|
settings: z.ZodObject<{
|
|
1843
2035
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
1844
|
-
type: z.ZodOptional<z.
|
|
2036
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1845
2037
|
rawContent: z.ZodString;
|
|
1846
2038
|
}, z.core.$strip>;
|
|
1847
2039
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2010,13 +2202,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2010
2202
|
position: z.ZodLiteral<"left">;
|
|
2011
2203
|
document: z.ZodObject<{
|
|
2012
2204
|
id: z.ZodString;
|
|
2013
|
-
type: z.
|
|
2014
|
-
"text/plain": "text/plain";
|
|
2015
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
2016
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
2017
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
2018
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
2019
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
2205
|
+
type: z.ZodString;
|
|
2020
2206
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2021
2207
|
title: z.ZodOptional<z.ZodString>;
|
|
2022
2208
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2095,7 +2281,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2095
2281
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
2096
2282
|
settings: z.ZodObject<{
|
|
2097
2283
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
2098
|
-
type: z.ZodOptional<z.
|
|
2284
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2099
2285
|
rawContent: z.ZodString;
|
|
2100
2286
|
}, z.core.$strip>;
|
|
2101
2287
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2343,13 +2529,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2343
2529
|
position: z.ZodLiteral<"left">;
|
|
2344
2530
|
document: z.ZodObject<{
|
|
2345
2531
|
id: z.ZodString;
|
|
2346
|
-
type: z.
|
|
2347
|
-
"text/plain": "text/plain";
|
|
2348
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
2349
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
2350
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
2351
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
2352
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
2532
|
+
type: z.ZodString;
|
|
2353
2533
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2354
2534
|
title: z.ZodOptional<z.ZodString>;
|
|
2355
2535
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2428,7 +2608,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2428
2608
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
2429
2609
|
settings: z.ZodObject<{
|
|
2430
2610
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
2431
|
-
type: z.ZodOptional<z.
|
|
2611
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2432
2612
|
rawContent: z.ZodString;
|
|
2433
2613
|
}, z.core.$strip>;
|
|
2434
2614
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2576,13 +2756,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2576
2756
|
position: z.ZodLiteral<"left">;
|
|
2577
2757
|
document: z.ZodObject<{
|
|
2578
2758
|
id: z.ZodString;
|
|
2579
|
-
type: z.
|
|
2580
|
-
"text/plain": "text/plain";
|
|
2581
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
2582
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
2583
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
2584
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
2585
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
2759
|
+
type: z.ZodString;
|
|
2586
2760
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2587
2761
|
title: z.ZodOptional<z.ZodString>;
|
|
2588
2762
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2661,7 +2835,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2661
2835
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
2662
2836
|
settings: z.ZodObject<{
|
|
2663
2837
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
2664
|
-
type: z.ZodOptional<z.
|
|
2838
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2665
2839
|
rawContent: z.ZodString;
|
|
2666
2840
|
}, z.core.$strip>;
|
|
2667
2841
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2809,13 +2983,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2809
2983
|
position: z.ZodLiteral<"left">;
|
|
2810
2984
|
document: z.ZodObject<{
|
|
2811
2985
|
id: z.ZodString;
|
|
2812
|
-
type: z.
|
|
2813
|
-
"text/plain": "text/plain";
|
|
2814
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
2815
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
2816
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
2817
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
2818
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
2986
|
+
type: z.ZodString;
|
|
2819
2987
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2820
2988
|
title: z.ZodOptional<z.ZodString>;
|
|
2821
2989
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2894,7 +3062,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2894
3062
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
2895
3063
|
settings: z.ZodObject<{
|
|
2896
3064
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
2897
|
-
type: z.ZodOptional<z.
|
|
3065
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2898
3066
|
rawContent: z.ZodString;
|
|
2899
3067
|
}, z.core.$strip>;
|
|
2900
3068
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3053,13 +3221,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
3053
3221
|
position: z.ZodLiteral<"left">;
|
|
3054
3222
|
document: z.ZodObject<{
|
|
3055
3223
|
id: z.ZodString;
|
|
3056
|
-
type: z.
|
|
3057
|
-
"text/plain": "text/plain";
|
|
3058
|
-
"application/vnd.lime.media-link+json": "application/vnd.lime.media-link+json";
|
|
3059
|
-
"application/vnd.lime.select+json": "application/vnd.lime.select+json";
|
|
3060
|
-
"application/vnd.lime.chatstate+json": "application/vnd.lime.chatstate+json";
|
|
3061
|
-
"application/vnd.lime.web-link+json": "application/vnd.lime.web-link+json";
|
|
3062
|
-
}>, z.ZodLiteral<"application/json">]>;
|
|
3224
|
+
type: z.ZodString;
|
|
3063
3225
|
content: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3064
3226
|
title: z.ZodOptional<z.ZodString>;
|
|
3065
3227
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3138,7 +3300,7 @@ export declare const flowSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
3138
3300
|
type: z.ZodLiteral<"SendRawMessage">;
|
|
3139
3301
|
settings: z.ZodObject<{
|
|
3140
3302
|
$invalid: z.ZodOptional<z.ZodBoolean>;
|
|
3141
|
-
type: z.ZodOptional<z.
|
|
3303
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3142
3304
|
rawContent: z.ZodString;
|
|
3143
3305
|
}, z.core.$strip>;
|
|
3144
3306
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3264,6 +3426,34 @@ export type ContentActionItem = z.infer<typeof contentActionItemSchema>;
|
|
|
3264
3426
|
export type State = z.infer<typeof stateSchema>;
|
|
3265
3427
|
export type Flow = z.infer<typeof flowSchema>;
|
|
3266
3428
|
export type BuilderFlow = Flow;
|
|
3429
|
+
/**
|
|
3430
|
+
* Typing indicators are noise in every projection of a flow, so both the digest
|
|
3431
|
+
* and the minifier drop them. The two signals are checked because `$typeOfContent`
|
|
3432
|
+
* is absent from a minified flow and can come back empty from a GET, while the
|
|
3433
|
+
* settings mime type is absent from a hand-written action.
|
|
3434
|
+
*/
|
|
3435
|
+
export declare function isChatStateSendMessage(item: {
|
|
3436
|
+
action?: {
|
|
3437
|
+
type: string;
|
|
3438
|
+
$typeOfContent?: string;
|
|
3439
|
+
settings: {
|
|
3440
|
+
type?: string;
|
|
3441
|
+
[key: string]: unknown;
|
|
3442
|
+
};
|
|
3443
|
+
};
|
|
3444
|
+
}): boolean;
|
|
3445
|
+
/** The input the runtime will use: the first one in the state, if any. */
|
|
3446
|
+
export declare function inputOf<T>(state: {
|
|
3447
|
+
$contentActions: Array<{
|
|
3448
|
+
input?: T;
|
|
3449
|
+
}>;
|
|
3450
|
+
}): T | undefined;
|
|
3451
|
+
/** The labels of a select's options, which are what a user answers with. */
|
|
3452
|
+
export declare function optionLabels(content: {
|
|
3453
|
+
options?: Array<string | {
|
|
3454
|
+
text?: string;
|
|
3455
|
+
}>;
|
|
3456
|
+
}): Array<string>;
|
|
3267
3457
|
export type BuilderConfiguration = {
|
|
3268
3458
|
'builder:minimumIntentScore'?: string;
|
|
3269
3459
|
'builder:stateTrack'?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,aAAa,uJAYhB,CAAA;AACV,eAAO,MAAM,UAAU,kLAMb,CAAA;AAsBV,QAAA,MAAM,gBAAgB,gCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,aAAa,uJAYhB,CAAA;AACV,eAAO,MAAM,UAAU,kLAMb,CAAA;AAsBV,QAAA,MAAM,gBAAgB,gCAAiC,CAAA;AAEvD,eAAO,MAAM,aAAa,eAAe,CAAA;AAEzC,eAAO,MAAM,mBAAmB,kHAKtB,CAAA;AAEV,0FAA0F;AAC1F,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,KAAG,MAAM,GAAG,SAC0B,CAAA;AA8IlH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO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