@liip/liipgpt 3.6.3 → 3.6.4
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/button/liipgpt-button.iife.js +36 -31
- package/chat/liipgpt-chat.iife.js +43 -38
- package/config/index.cjs +42 -18
- package/config/index.d.ts +67 -0
- package/config/index.js +42 -18
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/4rln5D2N.js +1 -0
- package/configurator/_app/immutable/chunks/B-P0cQBf.js +1 -0
- package/configurator/_app/immutable/chunks/{MRyhzcyW.js → BQwc7106.js} +1 -1
- package/configurator/_app/immutable/chunks/{CKIDNEuR.js → BiGeVjFa.js} +2 -2
- package/configurator/_app/immutable/chunks/BiTRwaVm.js +15 -0
- package/configurator/_app/immutable/chunks/CPPDi2Fg.js +1 -0
- package/configurator/_app/immutable/chunks/CqzYdUi6.js +2 -0
- package/configurator/_app/immutable/chunks/{D6Qx_EAy.js → Czdz2g0u.js} +5 -5
- package/configurator/_app/immutable/chunks/D4hsPSLS.js +1 -0
- package/configurator/_app/immutable/chunks/DRq9fhs9.js +1 -0
- package/configurator/_app/immutable/chunks/{6JdeEzKi.js → DSTWBVLS.js} +1 -1
- package/configurator/_app/immutable/chunks/DTspBV79.js +16 -0
- package/configurator/_app/immutable/chunks/{-NcnoUoN.js → DcOGFwCk.js} +2 -1
- package/configurator/_app/immutable/chunks/DzOV-etd.js +61 -0
- package/configurator/_app/immutable/chunks/{BsL0-YLl.js → H_Qz1t09.js} +1 -1
- package/configurator/_app/immutable/chunks/IsmK4Fpw.js +143 -0
- package/configurator/_app/immutable/chunks/{DV91TmsB.js → JEKVFENx.js} +6 -1
- package/configurator/_app/immutable/chunks/TZgETsNt.js +1 -0
- package/configurator/_app/immutable/chunks/nqjonts_.js +1 -0
- package/configurator/_app/immutable/chunks/rEsbAd0y.js +3 -0
- package/configurator/_app/immutable/entry/app.Du0Ip1qt.js +2 -0
- package/configurator/_app/immutable/entry/start.A4roapPb.js +1 -0
- package/configurator/_app/immutable/nodes/{0.Z8aHQ8Ms.js → 0.BJaEr5tZ.js} +77 -3
- package/configurator/_app/immutable/nodes/1.C4Q2p2ww.js +1 -0
- package/configurator/_app/immutable/nodes/{2.BoZGqQ9G.js → 2.zTSXNJuk.js} +8 -8
- package/configurator/_app/immutable/nodes/{3.Bg8nwFnb.js → 3.BJjkyEoj.js} +13 -13
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +7 -7
- package/configurator/sidebar.html +7 -7
- package/index.cjs +59 -18
- package/index.d.ts +310 -0
- package/index.js +59 -18
- package/package.json +1 -1
- package/search-summary/liipgpt-search-summary.iife.js +18 -13
- package/configurator/_app/immutable/chunks/BmUm-Ak4.js +0 -15
- package/configurator/_app/immutable/chunks/C00ruT0L.js +0 -3
- package/configurator/_app/immutable/chunks/C4ORIoWK.js +0 -1
- package/configurator/_app/immutable/chunks/C59SVKNf.js +0 -1
- package/configurator/_app/immutable/chunks/CZiOHSGl.js +0 -1
- package/configurator/_app/immutable/chunks/Cz0dIq0O.js +0 -1
- package/configurator/_app/immutable/chunks/D7xeAlKo.js +0 -143
- package/configurator/_app/immutable/chunks/DVeOoWpz.js +0 -1
- package/configurator/_app/immutable/chunks/DembPZun.js +0 -2
- package/configurator/_app/immutable/chunks/GwQP32Cz.js +0 -61
- package/configurator/_app/immutable/chunks/NtMAcZ7G.js +0 -1
- package/configurator/_app/immutable/chunks/Nw8j0Xyw.js +0 -1
- package/configurator/_app/immutable/chunks/QyXFn05f.js +0 -16
- package/configurator/_app/immutable/entry/app.C_qls3uJ.js +0 -2
- package/configurator/_app/immutable/entry/start.CJocbWmY.js +0 -1
- package/configurator/_app/immutable/nodes/1.D_R2KrSw.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1780921631599"}
|
package/configurator/index.html
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.A4roapPb.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/TZgETsNt.js" rel="modulepreload">
|
|
9
|
+
<link href="./_app/immutable/chunks/rEsbAd0y.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/CibALFW0.js" rel="modulepreload">
|
|
11
11
|
<link href="./_app/immutable/chunks/Bo0U8J3e.js" rel="modulepreload">
|
|
12
|
-
<link href="./_app/immutable/entry/app.
|
|
12
|
+
<link href="./_app/immutable/entry/app.Du0Ip1qt.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/DjVmpym-.js" rel="modulepreload">
|
|
14
14
|
<link href="./_app/immutable/chunks/CFKVnMbq.js" rel="modulepreload">
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1prgwa8 = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.A4roapPb.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.Du0Ip1qt.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.A4roapPb.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/TZgETsNt.js" rel="modulepreload">
|
|
9
|
+
<link href="./_app/immutable/chunks/rEsbAd0y.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/CibALFW0.js" rel="modulepreload">
|
|
11
11
|
<link href="./_app/immutable/chunks/Bo0U8J3e.js" rel="modulepreload">
|
|
12
|
-
<link href="./_app/immutable/entry/app.
|
|
12
|
+
<link href="./_app/immutable/entry/app.Du0Ip1qt.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/DjVmpym-.js" rel="modulepreload">
|
|
14
14
|
<link href="./_app/immutable/chunks/CFKVnMbq.js" rel="modulepreload">
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1prgwa8 = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.A4roapPb.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.Du0Ip1qt.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
package/index.cjs
CHANGED
|
@@ -82,6 +82,8 @@ __export(exports_client, {
|
|
|
82
82
|
chatContentSchema: () => chatContentSchema,
|
|
83
83
|
chatConfigSchemaWithLegacyThemeName: () => chatConfigSchemaWithLegacyThemeName,
|
|
84
84
|
chatConfigSchema: () => chatConfigSchema,
|
|
85
|
+
answerFormSchema: () => answerFormSchema,
|
|
86
|
+
answerFormFieldSchema: () => answerFormFieldSchema,
|
|
85
87
|
MarkdownRenderer: () => MarkdownRenderer,
|
|
86
88
|
LiipGPTClient: () => LiipGPTClient,
|
|
87
89
|
ChatResultBuilder: () => ChatResultBuilder
|
|
@@ -19576,23 +19578,6 @@ function date4(params) {
|
|
|
19576
19578
|
|
|
19577
19579
|
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
19578
19580
|
config(en_default());
|
|
19579
|
-
// src/lib/client/schemas/search-reference-schema.ts
|
|
19580
|
-
var metadataValueSchema = exports_external.union([exports_external.string(), exports_external.number(), exports_external.boolean(), exports_external.array(exports_external.string()), exports_external.array(exports_external.number()), exports_external.array(exports_external.boolean())]);
|
|
19581
|
-
var referenceContentSchema = exports_external.object({
|
|
19582
|
-
title: exports_external.string(),
|
|
19583
|
-
description: exports_external.string().optional(),
|
|
19584
|
-
badge: exports_external.string().optional(),
|
|
19585
|
-
breadcrumbs: exports_external.array(exports_external.string()).optional(),
|
|
19586
|
-
previewImage: exports_external.string().optional(),
|
|
19587
|
-
date: exports_external.string().datetime().optional()
|
|
19588
|
-
});
|
|
19589
|
-
var searchReferenceSchema = exports_external.object({
|
|
19590
|
-
url: exports_external.string().url(),
|
|
19591
|
-
score: exports_external.number(),
|
|
19592
|
-
metadata: exports_external.record(exports_external.string(), metadataValueSchema),
|
|
19593
|
-
language: exports_external.string().optional()
|
|
19594
|
-
}).extend(referenceContentSchema.shape);
|
|
19595
|
-
|
|
19596
19581
|
// src/lib/config/schemas/translations-schema.ts
|
|
19597
19582
|
var errorTranslationSchema = exports_external.object({
|
|
19598
19583
|
blocked: exports_external.string(),
|
|
@@ -19608,6 +19593,7 @@ var errorTranslationSchema = exports_external.object({
|
|
|
19608
19593
|
"unexpected-call": exports_external.string(),
|
|
19609
19594
|
"incomplete-error": exports_external.string(),
|
|
19610
19595
|
"feedback-failed": exports_external.string(),
|
|
19596
|
+
"answer-form-failed": exports_external.string(),
|
|
19611
19597
|
"speech-not-supported": exports_external.string(),
|
|
19612
19598
|
"speech-transcription-failed": exports_external.string(),
|
|
19613
19599
|
"speech-no-text-detected": exports_external.string(),
|
|
@@ -19674,6 +19660,7 @@ var translationSchema = exports_external.object({
|
|
|
19674
19660
|
close: exports_external.string(),
|
|
19675
19661
|
send: exports_external.string(),
|
|
19676
19662
|
thankYouForFeedback: exports_external.string(),
|
|
19663
|
+
answerFormThankYou: exports_external.string(),
|
|
19677
19664
|
giveFeedback: exports_external.string(),
|
|
19678
19665
|
sendFeedback: exports_external.string(),
|
|
19679
19666
|
feedbackFormTitle: exports_external.string(),
|
|
@@ -19717,6 +19704,7 @@ var translationSchema = exports_external.object({
|
|
|
19717
19704
|
ariaAnswerBad: exports_external.string(),
|
|
19718
19705
|
ariaReferenceSource: exports_external.string(),
|
|
19719
19706
|
ariaGiveFeedback: exports_external.string(),
|
|
19707
|
+
ariaAnswerForm: exports_external.string(),
|
|
19720
19708
|
ariaLanguageChanged: exports_external.string(),
|
|
19721
19709
|
ariaLightSelected: exports_external.string(),
|
|
19722
19710
|
ariaDarkSelected: exports_external.string(),
|
|
@@ -19819,6 +19807,23 @@ var chatMessageEmbedSchema = exports_external.intersection(exports_external.disc
|
|
|
19819
19807
|
alvaConfidenceComponentSchema
|
|
19820
19808
|
]), chatMessageEmbedBaseSchema);
|
|
19821
19809
|
|
|
19810
|
+
// src/lib/client/schemas/search-reference-schema.ts
|
|
19811
|
+
var metadataValueSchema = exports_external.union([exports_external.string(), exports_external.number(), exports_external.boolean(), exports_external.array(exports_external.string()), exports_external.array(exports_external.number()), exports_external.array(exports_external.boolean())]);
|
|
19812
|
+
var referenceContentSchema = exports_external.object({
|
|
19813
|
+
title: exports_external.string(),
|
|
19814
|
+
description: exports_external.string().optional(),
|
|
19815
|
+
badge: exports_external.string().optional(),
|
|
19816
|
+
breadcrumbs: exports_external.array(exports_external.string()).optional(),
|
|
19817
|
+
previewImage: exports_external.string().optional(),
|
|
19818
|
+
date: exports_external.string().datetime().optional()
|
|
19819
|
+
});
|
|
19820
|
+
var searchReferenceSchema = exports_external.object({
|
|
19821
|
+
url: exports_external.string().url(),
|
|
19822
|
+
score: exports_external.number(),
|
|
19823
|
+
metadata: exports_external.record(exports_external.string(), metadataValueSchema),
|
|
19824
|
+
language: exports_external.string().optional()
|
|
19825
|
+
}).extend(referenceContentSchema.shape);
|
|
19826
|
+
|
|
19822
19827
|
// src/lib/config/schemas/chat-message-schema.ts
|
|
19823
19828
|
var pageStateSchema = exports_external.enum(["start", "chat"]);
|
|
19824
19829
|
var routeSchema = exports_external.discriminatedUnion("name", [
|
|
@@ -19984,7 +19989,8 @@ var svgsSchema = exports_external.partialRecord(exports_external.enum([
|
|
|
19984
19989
|
"warning",
|
|
19985
19990
|
"topic",
|
|
19986
19991
|
"headerLogo",
|
|
19987
|
-
"embedAvatar"
|
|
19992
|
+
"embedAvatar",
|
|
19993
|
+
"forward"
|
|
19988
19994
|
]), exports_external.string());
|
|
19989
19995
|
var tokensSchema = exports_external.object({
|
|
19990
19996
|
font: fontSchema.optional(),
|
|
@@ -20189,6 +20195,25 @@ var chatSelectorConfigSchema = exports_external.object({
|
|
|
20189
20195
|
values: exports_external.array(exports_external.string()),
|
|
20190
20196
|
defaultValues: exports_external.array(exports_external.string()).optional()
|
|
20191
20197
|
});
|
|
20198
|
+
var answerFormFieldSchema = exports_external.object({
|
|
20199
|
+
type: exports_external.enum(["text", "select", "checkbox", "radio"]),
|
|
20200
|
+
name: exports_external.string(),
|
|
20201
|
+
label: translatableStringSchema,
|
|
20202
|
+
placeholder: translatableStringSchema.optional(),
|
|
20203
|
+
required: exports_external.boolean().optional(),
|
|
20204
|
+
options: exports_external.array(exports_external.object({
|
|
20205
|
+
value: exports_external.string(),
|
|
20206
|
+
label: translatableStringSchema
|
|
20207
|
+
})).optional()
|
|
20208
|
+
});
|
|
20209
|
+
var answerFormSchema = exports_external.object({
|
|
20210
|
+
receiverEmail: exports_external.string(),
|
|
20211
|
+
triggerLabel: translatableStringSchema,
|
|
20212
|
+
title: translatableStringSchema.optional(),
|
|
20213
|
+
caption: translatableStringSchema.optional(),
|
|
20214
|
+
submitLabel: translatableStringSchema,
|
|
20215
|
+
fields: exports_external.array(answerFormFieldSchema)
|
|
20216
|
+
});
|
|
20192
20217
|
var messageAdditionSchema = exports_external.object({
|
|
20193
20218
|
before: exports_external.array(chatMessageSchema).optional(),
|
|
20194
20219
|
after: exports_external.array(chatMessageSchema).optional()
|
|
@@ -20216,6 +20241,7 @@ var completeChatConfigSchema = exports_external.object({
|
|
|
20216
20241
|
menu: exports_external.partialRecord(languagesSchema, exports_external.array(menuItemSchema)).optional(),
|
|
20217
20242
|
supportedLanguages: exports_external.array(languagesSchema),
|
|
20218
20243
|
classification: classificationConfigSchema.optional(),
|
|
20244
|
+
answerForm: answerFormSchema.optional(),
|
|
20219
20245
|
theme: themeSchema2,
|
|
20220
20246
|
translations: translationsPartialSchema,
|
|
20221
20247
|
buttonHref: exports_external.string().optional(),
|
|
@@ -21184,6 +21210,21 @@ class LiipGPTClientPrimitive {
|
|
|
21184
21210
|
});
|
|
21185
21211
|
}
|
|
21186
21212
|
}
|
|
21213
|
+
async submitAnswerForm(submission) {
|
|
21214
|
+
const metadata = await this.internalData.metadata;
|
|
21215
|
+
if (metadata.mode !== "ready")
|
|
21216
|
+
throw new Error("Can not submit the answer form unless we are in ready mode");
|
|
21217
|
+
const answerFormRequest = {
|
|
21218
|
+
receiverEmail: submission.receiverEmail,
|
|
21219
|
+
fields: submission.fields,
|
|
21220
|
+
query: submission.question,
|
|
21221
|
+
answer: submission.answer,
|
|
21222
|
+
rID: submission.requestId,
|
|
21223
|
+
uID: metadata.userId,
|
|
21224
|
+
lang: submission.lang
|
|
21225
|
+
};
|
|
21226
|
+
await this.internalData.restClient.postData("/customform", answerFormRequest);
|
|
21227
|
+
}
|
|
21187
21228
|
async userAction(userAction, options2 = {}) {
|
|
21188
21229
|
const metadata = await this.internalData.metadata;
|
|
21189
21230
|
if (metadata.mode !== "ready")
|
package/index.d.ts
CHANGED
|
@@ -5149,6 +5149,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5149
5149
|
close: z.ZodString;
|
|
5150
5150
|
send: z.ZodString;
|
|
5151
5151
|
thankYouForFeedback: z.ZodString;
|
|
5152
|
+
answerFormThankYou: z.ZodString;
|
|
5152
5153
|
giveFeedback: z.ZodString;
|
|
5153
5154
|
sendFeedback: z.ZodString;
|
|
5154
5155
|
feedbackFormTitle: z.ZodString;
|
|
@@ -5192,6 +5193,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5192
5193
|
ariaAnswerBad: z.ZodString;
|
|
5193
5194
|
ariaReferenceSource: z.ZodString;
|
|
5194
5195
|
ariaGiveFeedback: z.ZodString;
|
|
5196
|
+
ariaAnswerForm: z.ZodString;
|
|
5195
5197
|
ariaLanguageChanged: z.ZodString;
|
|
5196
5198
|
ariaLightSelected: z.ZodString;
|
|
5197
5199
|
ariaDarkSelected: z.ZodString;
|
|
@@ -5266,6 +5268,100 @@ declare const chatSelectorConfigSchema: z.ZodObject<{
|
|
|
5266
5268
|
values: z.ZodArray<z.ZodString>;
|
|
5267
5269
|
defaultValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5268
5270
|
}, z.core.$strip>;
|
|
5271
|
+
export declare const answerFormFieldSchema: z.ZodObject<{
|
|
5272
|
+
type: z.ZodEnum<{
|
|
5273
|
+
text: "text";
|
|
5274
|
+
select: "select";
|
|
5275
|
+
checkbox: "checkbox";
|
|
5276
|
+
radio: "radio";
|
|
5277
|
+
}>;
|
|
5278
|
+
name: z.ZodString;
|
|
5279
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5280
|
+
en: "en";
|
|
5281
|
+
de: "de";
|
|
5282
|
+
fr: "fr";
|
|
5283
|
+
it: "it";
|
|
5284
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5285
|
+
placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5286
|
+
en: "en";
|
|
5287
|
+
de: "de";
|
|
5288
|
+
fr: "fr";
|
|
5289
|
+
it: "it";
|
|
5290
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5291
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
5292
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5293
|
+
value: z.ZodString;
|
|
5294
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5295
|
+
en: "en";
|
|
5296
|
+
de: "de";
|
|
5297
|
+
fr: "fr";
|
|
5298
|
+
it: "it";
|
|
5299
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5300
|
+
}, z.core.$strip>>>;
|
|
5301
|
+
}, z.core.$strip>;
|
|
5302
|
+
/**
|
|
5303
|
+
* A client-configurable custom form shown as an option below each bot answer.
|
|
5304
|
+
* When submitted, the field values together with the related question and answer
|
|
5305
|
+
* are sent by email to `receiverEmail` via the backend.
|
|
5306
|
+
*/
|
|
5307
|
+
export declare const answerFormSchema: z.ZodObject<{
|
|
5308
|
+
receiverEmail: z.ZodString;
|
|
5309
|
+
triggerLabel: z.ZodRecord<z.ZodEnum<{
|
|
5310
|
+
en: "en";
|
|
5311
|
+
de: "de";
|
|
5312
|
+
fr: "fr";
|
|
5313
|
+
it: "it";
|
|
5314
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5315
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5316
|
+
en: "en";
|
|
5317
|
+
de: "de";
|
|
5318
|
+
fr: "fr";
|
|
5319
|
+
it: "it";
|
|
5320
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5321
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5322
|
+
en: "en";
|
|
5323
|
+
de: "de";
|
|
5324
|
+
fr: "fr";
|
|
5325
|
+
it: "it";
|
|
5326
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5327
|
+
submitLabel: z.ZodRecord<z.ZodEnum<{
|
|
5328
|
+
en: "en";
|
|
5329
|
+
de: "de";
|
|
5330
|
+
fr: "fr";
|
|
5331
|
+
it: "it";
|
|
5332
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5333
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5334
|
+
type: z.ZodEnum<{
|
|
5335
|
+
text: "text";
|
|
5336
|
+
select: "select";
|
|
5337
|
+
checkbox: "checkbox";
|
|
5338
|
+
radio: "radio";
|
|
5339
|
+
}>;
|
|
5340
|
+
name: z.ZodString;
|
|
5341
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5342
|
+
en: "en";
|
|
5343
|
+
de: "de";
|
|
5344
|
+
fr: "fr";
|
|
5345
|
+
it: "it";
|
|
5346
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5347
|
+
placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5348
|
+
en: "en";
|
|
5349
|
+
de: "de";
|
|
5350
|
+
fr: "fr";
|
|
5351
|
+
it: "it";
|
|
5352
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5353
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
5354
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5355
|
+
value: z.ZodString;
|
|
5356
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5357
|
+
en: "en";
|
|
5358
|
+
de: "de";
|
|
5359
|
+
fr: "fr";
|
|
5360
|
+
it: "it";
|
|
5361
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5362
|
+
}, z.core.$strip>>>;
|
|
5363
|
+
}, z.core.$strip>>;
|
|
5364
|
+
}, z.core.$strip>;
|
|
5269
5365
|
export declare const completeChatConfigSchema: z.ZodObject<{
|
|
5270
5366
|
forcePredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
|
|
5271
5367
|
forceChatPage: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5317,6 +5413,64 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5317
5413
|
}, z.core.$strip>>;
|
|
5318
5414
|
}, z.core.$strip>>;
|
|
5319
5415
|
}, z.core.$strip>>;
|
|
5416
|
+
answerForm: z.ZodOptional<z.ZodObject<{
|
|
5417
|
+
receiverEmail: z.ZodString;
|
|
5418
|
+
triggerLabel: z.ZodRecord<z.ZodEnum<{
|
|
5419
|
+
en: "en";
|
|
5420
|
+
de: "de";
|
|
5421
|
+
fr: "fr";
|
|
5422
|
+
it: "it";
|
|
5423
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5424
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5425
|
+
en: "en";
|
|
5426
|
+
de: "de";
|
|
5427
|
+
fr: "fr";
|
|
5428
|
+
it: "it";
|
|
5429
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5430
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5431
|
+
en: "en";
|
|
5432
|
+
de: "de";
|
|
5433
|
+
fr: "fr";
|
|
5434
|
+
it: "it";
|
|
5435
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5436
|
+
submitLabel: z.ZodRecord<z.ZodEnum<{
|
|
5437
|
+
en: "en";
|
|
5438
|
+
de: "de";
|
|
5439
|
+
fr: "fr";
|
|
5440
|
+
it: "it";
|
|
5441
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5442
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
5443
|
+
type: z.ZodEnum<{
|
|
5444
|
+
text: "text";
|
|
5445
|
+
select: "select";
|
|
5446
|
+
checkbox: "checkbox";
|
|
5447
|
+
radio: "radio";
|
|
5448
|
+
}>;
|
|
5449
|
+
name: z.ZodString;
|
|
5450
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5451
|
+
en: "en";
|
|
5452
|
+
de: "de";
|
|
5453
|
+
fr: "fr";
|
|
5454
|
+
it: "it";
|
|
5455
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5456
|
+
placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
5457
|
+
en: "en";
|
|
5458
|
+
de: "de";
|
|
5459
|
+
fr: "fr";
|
|
5460
|
+
it: "it";
|
|
5461
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
5462
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
5463
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5464
|
+
value: z.ZodString;
|
|
5465
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
5466
|
+
en: "en";
|
|
5467
|
+
de: "de";
|
|
5468
|
+
fr: "fr";
|
|
5469
|
+
it: "it";
|
|
5470
|
+
}> & z.core.$partial, z.ZodString>;
|
|
5471
|
+
}, z.core.$strip>>>;
|
|
5472
|
+
}, z.core.$strip>>;
|
|
5473
|
+
}, z.core.$strip>>;
|
|
5320
5474
|
theme: z.ZodObject<{
|
|
5321
5475
|
avatarImageUrl: z.ZodOptional<z.ZodString>;
|
|
5322
5476
|
colors: z.ZodOptional<z.ZodObject<{
|
|
@@ -5713,6 +5867,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5713
5867
|
topic: "topic";
|
|
5714
5868
|
headerLogo: "headerLogo";
|
|
5715
5869
|
embedAvatar: "embedAvatar";
|
|
5870
|
+
forward: "forward";
|
|
5716
5871
|
}> & z.core.$partial, z.ZodString>>;
|
|
5717
5872
|
}, z.core.$strip>>;
|
|
5718
5873
|
}, z.core.$strip>>;
|
|
@@ -5925,6 +6080,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5925
6080
|
topic: "topic";
|
|
5926
6081
|
headerLogo: "headerLogo";
|
|
5927
6082
|
embedAvatar: "embedAvatar";
|
|
6083
|
+
forward: "forward";
|
|
5928
6084
|
}> & z.core.$partial, z.ZodString>>;
|
|
5929
6085
|
}, z.core.$strip>>;
|
|
5930
6086
|
}, z.core.$strip>>;
|
|
@@ -5968,6 +6124,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5968
6124
|
close: z.ZodOptional<z.ZodString>;
|
|
5969
6125
|
send: z.ZodOptional<z.ZodString>;
|
|
5970
6126
|
thankYouForFeedback: z.ZodOptional<z.ZodString>;
|
|
6127
|
+
answerFormThankYou: z.ZodOptional<z.ZodString>;
|
|
5971
6128
|
giveFeedback: z.ZodOptional<z.ZodString>;
|
|
5972
6129
|
sendFeedback: z.ZodOptional<z.ZodString>;
|
|
5973
6130
|
feedbackFormTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -6011,6 +6168,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6011
6168
|
ariaAnswerBad: z.ZodOptional<z.ZodString>;
|
|
6012
6169
|
ariaReferenceSource: z.ZodOptional<z.ZodString>;
|
|
6013
6170
|
ariaGiveFeedback: z.ZodOptional<z.ZodString>;
|
|
6171
|
+
ariaAnswerForm: z.ZodOptional<z.ZodString>;
|
|
6014
6172
|
ariaLanguageChanged: z.ZodOptional<z.ZodString>;
|
|
6015
6173
|
ariaLightSelected: z.ZodOptional<z.ZodString>;
|
|
6016
6174
|
ariaDarkSelected: z.ZodOptional<z.ZodString>;
|
|
@@ -7904,6 +8062,64 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7904
8062
|
}, z.core.$strip>>;
|
|
7905
8063
|
}, z.core.$strip>>;
|
|
7906
8064
|
}, z.core.$strip>>>;
|
|
8065
|
+
answerForm: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
8066
|
+
receiverEmail: z.ZodString;
|
|
8067
|
+
triggerLabel: z.ZodRecord<z.ZodEnum<{
|
|
8068
|
+
en: "en";
|
|
8069
|
+
de: "de";
|
|
8070
|
+
fr: "fr";
|
|
8071
|
+
it: "it";
|
|
8072
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8073
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8074
|
+
en: "en";
|
|
8075
|
+
de: "de";
|
|
8076
|
+
fr: "fr";
|
|
8077
|
+
it: "it";
|
|
8078
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8079
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8080
|
+
en: "en";
|
|
8081
|
+
de: "de";
|
|
8082
|
+
fr: "fr";
|
|
8083
|
+
it: "it";
|
|
8084
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8085
|
+
submitLabel: z.ZodRecord<z.ZodEnum<{
|
|
8086
|
+
en: "en";
|
|
8087
|
+
de: "de";
|
|
8088
|
+
fr: "fr";
|
|
8089
|
+
it: "it";
|
|
8090
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8091
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
8092
|
+
type: z.ZodEnum<{
|
|
8093
|
+
text: "text";
|
|
8094
|
+
select: "select";
|
|
8095
|
+
checkbox: "checkbox";
|
|
8096
|
+
radio: "radio";
|
|
8097
|
+
}>;
|
|
8098
|
+
name: z.ZodString;
|
|
8099
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8100
|
+
en: "en";
|
|
8101
|
+
de: "de";
|
|
8102
|
+
fr: "fr";
|
|
8103
|
+
it: "it";
|
|
8104
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8105
|
+
placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8106
|
+
en: "en";
|
|
8107
|
+
de: "de";
|
|
8108
|
+
fr: "fr";
|
|
8109
|
+
it: "it";
|
|
8110
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8111
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
8112
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8113
|
+
value: z.ZodString;
|
|
8114
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8115
|
+
en: "en";
|
|
8116
|
+
de: "de";
|
|
8117
|
+
fr: "fr";
|
|
8118
|
+
it: "it";
|
|
8119
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8120
|
+
}, z.core.$strip>>>;
|
|
8121
|
+
}, z.core.$strip>>;
|
|
8122
|
+
}, z.core.$strip>>>;
|
|
7907
8123
|
theme: z.ZodOptional<z.ZodObject<{
|
|
7908
8124
|
avatarImageUrl: z.ZodOptional<z.ZodString>;
|
|
7909
8125
|
colors: z.ZodOptional<z.ZodObject<{
|
|
@@ -8300,6 +8516,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8300
8516
|
topic: "topic";
|
|
8301
8517
|
headerLogo: "headerLogo";
|
|
8302
8518
|
embedAvatar: "embedAvatar";
|
|
8519
|
+
forward: "forward";
|
|
8303
8520
|
}> & z.core.$partial, z.ZodString>>;
|
|
8304
8521
|
}, z.core.$strip>>;
|
|
8305
8522
|
}, z.core.$strip>>;
|
|
@@ -8512,6 +8729,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8512
8729
|
topic: "topic";
|
|
8513
8730
|
headerLogo: "headerLogo";
|
|
8514
8731
|
embedAvatar: "embedAvatar";
|
|
8732
|
+
forward: "forward";
|
|
8515
8733
|
}> & z.core.$partial, z.ZodString>>;
|
|
8516
8734
|
}, z.core.$strip>>;
|
|
8517
8735
|
}, z.core.$strip>>;
|
|
@@ -8555,6 +8773,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8555
8773
|
close: z.ZodOptional<z.ZodString>;
|
|
8556
8774
|
send: z.ZodOptional<z.ZodString>;
|
|
8557
8775
|
thankYouForFeedback: z.ZodOptional<z.ZodString>;
|
|
8776
|
+
answerFormThankYou: z.ZodOptional<z.ZodString>;
|
|
8558
8777
|
giveFeedback: z.ZodOptional<z.ZodString>;
|
|
8559
8778
|
sendFeedback: z.ZodOptional<z.ZodString>;
|
|
8560
8779
|
feedbackFormTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -8598,6 +8817,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8598
8817
|
ariaAnswerBad: z.ZodOptional<z.ZodString>;
|
|
8599
8818
|
ariaReferenceSource: z.ZodOptional<z.ZodString>;
|
|
8600
8819
|
ariaGiveFeedback: z.ZodOptional<z.ZodString>;
|
|
8820
|
+
ariaAnswerForm: z.ZodOptional<z.ZodString>;
|
|
8601
8821
|
ariaLanguageChanged: z.ZodOptional<z.ZodString>;
|
|
8602
8822
|
ariaLightSelected: z.ZodOptional<z.ZodString>;
|
|
8603
8823
|
ariaDarkSelected: z.ZodOptional<z.ZodString>;
|
|
@@ -10491,6 +10711,64 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10491
10711
|
}, z.core.$strip>>;
|
|
10492
10712
|
}, z.core.$strip>>;
|
|
10493
10713
|
}, z.core.$strip>>>;
|
|
10714
|
+
answerForm: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
10715
|
+
receiverEmail: z.ZodString;
|
|
10716
|
+
triggerLabel: z.ZodRecord<z.ZodEnum<{
|
|
10717
|
+
en: "en";
|
|
10718
|
+
de: "de";
|
|
10719
|
+
fr: "fr";
|
|
10720
|
+
it: "it";
|
|
10721
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10722
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
10723
|
+
en: "en";
|
|
10724
|
+
de: "de";
|
|
10725
|
+
fr: "fr";
|
|
10726
|
+
it: "it";
|
|
10727
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
10728
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
10729
|
+
en: "en";
|
|
10730
|
+
de: "de";
|
|
10731
|
+
fr: "fr";
|
|
10732
|
+
it: "it";
|
|
10733
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
10734
|
+
submitLabel: z.ZodRecord<z.ZodEnum<{
|
|
10735
|
+
en: "en";
|
|
10736
|
+
de: "de";
|
|
10737
|
+
fr: "fr";
|
|
10738
|
+
it: "it";
|
|
10739
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10740
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
10741
|
+
type: z.ZodEnum<{
|
|
10742
|
+
text: "text";
|
|
10743
|
+
select: "select";
|
|
10744
|
+
checkbox: "checkbox";
|
|
10745
|
+
radio: "radio";
|
|
10746
|
+
}>;
|
|
10747
|
+
name: z.ZodString;
|
|
10748
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
10749
|
+
en: "en";
|
|
10750
|
+
de: "de";
|
|
10751
|
+
fr: "fr";
|
|
10752
|
+
it: "it";
|
|
10753
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10754
|
+
placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
10755
|
+
en: "en";
|
|
10756
|
+
de: "de";
|
|
10757
|
+
fr: "fr";
|
|
10758
|
+
it: "it";
|
|
10759
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
10760
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
10761
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10762
|
+
value: z.ZodString;
|
|
10763
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
10764
|
+
en: "en";
|
|
10765
|
+
de: "de";
|
|
10766
|
+
fr: "fr";
|
|
10767
|
+
it: "it";
|
|
10768
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10769
|
+
}, z.core.$strip>>>;
|
|
10770
|
+
}, z.core.$strip>>;
|
|
10771
|
+
}, z.core.$strip>>>;
|
|
10494
10772
|
theme: z.ZodOptional<z.ZodObject<{
|
|
10495
10773
|
avatarImageUrl: z.ZodOptional<z.ZodString>;
|
|
10496
10774
|
colors: z.ZodOptional<z.ZodObject<{
|
|
@@ -10887,6 +11165,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10887
11165
|
topic: "topic";
|
|
10888
11166
|
headerLogo: "headerLogo";
|
|
10889
11167
|
embedAvatar: "embedAvatar";
|
|
11168
|
+
forward: "forward";
|
|
10890
11169
|
}> & z.core.$partial, z.ZodString>>;
|
|
10891
11170
|
}, z.core.$strip>>;
|
|
10892
11171
|
}, z.core.$strip>>;
|
|
@@ -11099,6 +11378,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11099
11378
|
topic: "topic";
|
|
11100
11379
|
headerLogo: "headerLogo";
|
|
11101
11380
|
embedAvatar: "embedAvatar";
|
|
11381
|
+
forward: "forward";
|
|
11102
11382
|
}> & z.core.$partial, z.ZodString>>;
|
|
11103
11383
|
}, z.core.$strip>>;
|
|
11104
11384
|
}, z.core.$strip>>;
|
|
@@ -11142,6 +11422,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11142
11422
|
close: z.ZodOptional<z.ZodString>;
|
|
11143
11423
|
send: z.ZodOptional<z.ZodString>;
|
|
11144
11424
|
thankYouForFeedback: z.ZodOptional<z.ZodString>;
|
|
11425
|
+
answerFormThankYou: z.ZodOptional<z.ZodString>;
|
|
11145
11426
|
giveFeedback: z.ZodOptional<z.ZodString>;
|
|
11146
11427
|
sendFeedback: z.ZodOptional<z.ZodString>;
|
|
11147
11428
|
feedbackFormTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -11185,6 +11466,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11185
11466
|
ariaAnswerBad: z.ZodOptional<z.ZodString>;
|
|
11186
11467
|
ariaReferenceSource: z.ZodOptional<z.ZodString>;
|
|
11187
11468
|
ariaGiveFeedback: z.ZodOptional<z.ZodString>;
|
|
11469
|
+
ariaAnswerForm: z.ZodOptional<z.ZodString>;
|
|
11188
11470
|
ariaLanguageChanged: z.ZodOptional<z.ZodString>;
|
|
11189
11471
|
ariaLightSelected: z.ZodOptional<z.ZodString>;
|
|
11190
11472
|
ariaDarkSelected: z.ZodOptional<z.ZodString>;
|
|
@@ -13034,6 +13316,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
13034
13316
|
export type MenuItem = z.infer<typeof menuItemSchema>;
|
|
13035
13317
|
export type PredefinedQuestion = z.infer<typeof predefinedQuestionSchema>;
|
|
13036
13318
|
export type ClassificationConfig = z.infer<typeof classificationConfigSchema>;
|
|
13319
|
+
export type AnswerFormConfig = z.infer<typeof answerFormSchema>;
|
|
13320
|
+
export type AnswerFormField = z.infer<typeof answerFormFieldSchema>;
|
|
13037
13321
|
export type ClassificationResponse = z.infer<typeof classificationResponseSchema>;
|
|
13038
13322
|
export type PredefinedQuestionsResponse = z.infer<typeof predefinedQuestionsResponseSchema>;
|
|
13039
13323
|
export type UserDataResponse = z.infer<typeof userDataResponseSchema>;
|
|
@@ -13181,6 +13465,27 @@ export type FeedbackRequest = {
|
|
|
13181
13465
|
rID?: string | null;
|
|
13182
13466
|
uID?: string | null;
|
|
13183
13467
|
};
|
|
13468
|
+
export type AnswerFormFieldValue = {
|
|
13469
|
+
name: string;
|
|
13470
|
+
value: string;
|
|
13471
|
+
};
|
|
13472
|
+
export type AnswerFormSubmission = {
|
|
13473
|
+
receiverEmail: string;
|
|
13474
|
+
fields: AnswerFormFieldValue[];
|
|
13475
|
+
question: string;
|
|
13476
|
+
answer: string;
|
|
13477
|
+
requestId: string;
|
|
13478
|
+
lang: string;
|
|
13479
|
+
};
|
|
13480
|
+
export type AnswerFormRequest = {
|
|
13481
|
+
receiverEmail: string;
|
|
13482
|
+
fields: AnswerFormFieldValue[];
|
|
13483
|
+
query: string;
|
|
13484
|
+
answer: string;
|
|
13485
|
+
rID: string;
|
|
13486
|
+
uID?: string | null;
|
|
13487
|
+
lang: string;
|
|
13488
|
+
};
|
|
13184
13489
|
export type Classification = {
|
|
13185
13490
|
impact?: number;
|
|
13186
13491
|
quality?: number;
|
|
@@ -13226,6 +13531,11 @@ declare class LiipGPTClientPrimitive {
|
|
|
13226
13531
|
thumbsUp(requestId: string, question: string): Promise<void>;
|
|
13227
13532
|
thumbsDown(requestId: string, question: string): Promise<void>;
|
|
13228
13533
|
feedback(requestId: string, question: string, feedback: Feedback): Promise<void>;
|
|
13534
|
+
/**
|
|
13535
|
+
* Submits a client-defined custom answer form. The backend is responsible for
|
|
13536
|
+
* composing and sending the resulting email to `receiverEmail`.
|
|
13537
|
+
*/
|
|
13538
|
+
submitAnswerForm(submission: AnswerFormSubmission): Promise<void>;
|
|
13229
13539
|
userAction(userAction: UserActionType, options?: {
|
|
13230
13540
|
conversationId?: string;
|
|
13231
13541
|
lang?: string;
|