@liip/liipgpt 3.5.1 → 3.5.7
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 +16 -9
- package/chat/liipgpt-chat.iife.js +27 -20
- package/config/index.cjs +186 -169
- package/config/index.d.ts +140 -26
- package/config/index.js +186 -169
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/B4H9KbzH.js +1 -0
- package/configurator/_app/immutable/chunks/B7xCvPKw.js +143 -0
- package/configurator/_app/immutable/chunks/BsVnBobk.js +1 -0
- package/configurator/_app/immutable/chunks/CRn_Qu4-.js +1 -0
- package/configurator/_app/immutable/chunks/CZca1tVB.js +89 -0
- package/configurator/_app/immutable/chunks/{DEv5Ueqk.js → CabPM0Ap.js} +9 -2
- package/configurator/_app/immutable/chunks/{C4ZlxhXX.js → CgMo4dFz.js} +1 -1
- package/configurator/_app/immutable/chunks/{KzflMZHZ.js → D6zVGLUW.js} +1 -1
- package/configurator/_app/immutable/chunks/{Bk8mXcqs.js → di8DjX5b.js} +1 -1
- package/configurator/_app/immutable/chunks/h2Kch-uX.js +1 -0
- package/configurator/_app/immutable/chunks/hTLSLo2s.js +16 -0
- package/configurator/_app/immutable/entry/{app.D_RHUi4W.js → app.Ce62vasD.js} +2 -2
- package/configurator/_app/immutable/entry/start.CdYStGvR.js +1 -0
- package/configurator/_app/immutable/nodes/{0.v8uXkmdW.js → 0.DJJ_NjgH.js} +3 -3
- package/configurator/_app/immutable/nodes/{1.BywwMVvR.js → 1.BmbCK-Nv.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.CYMrLahN.js → 2.C49eq5Js.js} +6 -6
- package/configurator/_app/immutable/nodes/3.DQg0gEvm.js +954 -0
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/index.cjs +355 -182
- package/index.d.ts +511 -106
- package/index.js +355 -182
- package/package.json +1 -1
- package/configurator/_app/immutable/chunks/BHbOfRmz.js +0 -1
- package/configurator/_app/immutable/chunks/C3rp2svQ.js +0 -1
- package/configurator/_app/immutable/chunks/CIVgedTF.js +0 -89
- package/configurator/_app/immutable/chunks/COHS-6f9.js +0 -1
- package/configurator/_app/immutable/chunks/D35Ghe-e.js +0 -1
- package/configurator/_app/immutable/chunks/DWCi1FJT.js +0 -143
- package/configurator/_app/immutable/chunks/DyPOCJF2.js +0 -16
- package/configurator/_app/immutable/entry/start.CNc5-8nb.js +0 -1
- package/configurator/_app/immutable/nodes/3.BfE5HLrS.js +0 -954
package/config/index.d.ts
CHANGED
|
@@ -3729,6 +3729,8 @@ declare const routeSchema: z.ZodDiscriminatedUnion<[
|
|
|
3729
3729
|
z.ZodObject<{
|
|
3730
3730
|
name: z.ZodLiteral<"chat-page">;
|
|
3731
3731
|
query: z.ZodString;
|
|
3732
|
+
predefinedQuestionId: z.ZodOptional<z.ZodString>;
|
|
3733
|
+
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
3732
3734
|
}, z.core.$strip>
|
|
3733
3735
|
], "name">;
|
|
3734
3736
|
declare const conversationStateSchema: z.ZodEnum<{
|
|
@@ -3882,6 +3884,7 @@ declare const translationSchema: z.ZodObject<{
|
|
|
3882
3884
|
selectNone: z.ZodString;
|
|
3883
3885
|
resetToDefaults: z.ZodString;
|
|
3884
3886
|
messageTooLong: z.ZodString;
|
|
3887
|
+
changeTopic: z.ZodString;
|
|
3885
3888
|
}, z.core.$strip>;
|
|
3886
3889
|
declare const languagesSchema: z.ZodEnum<{
|
|
3887
3890
|
en: "en";
|
|
@@ -6247,7 +6250,7 @@ export type LiipgptListenersRaw = {
|
|
|
6247
6250
|
};
|
|
6248
6251
|
export type LiipgptListeners = PartialDeep<LiipgptListenersRaw>;
|
|
6249
6252
|
export declare const chatConfigSchema: z.ZodObject<{
|
|
6250
|
-
|
|
6253
|
+
forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6251
6254
|
showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
|
|
6252
6255
|
showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
|
|
6253
6256
|
showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6689,6 +6692,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
6689
6692
|
model: "model";
|
|
6690
6693
|
checkbox: "checkbox";
|
|
6691
6694
|
warning: "warning";
|
|
6695
|
+
topic: "topic";
|
|
6692
6696
|
headerLogo: "headerLogo";
|
|
6693
6697
|
embedAvatar: "embedAvatar";
|
|
6694
6698
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -6900,6 +6904,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
6900
6904
|
model: "model";
|
|
6901
6905
|
checkbox: "checkbox";
|
|
6902
6906
|
warning: "warning";
|
|
6907
|
+
topic: "topic";
|
|
6903
6908
|
headerLogo: "headerLogo";
|
|
6904
6909
|
embedAvatar: "embedAvatar";
|
|
6905
6910
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -7022,6 +7027,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7022
7027
|
selectNone: z.ZodOptional<z.ZodString>;
|
|
7023
7028
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
7024
7029
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
7030
|
+
changeTopic: z.ZodOptional<z.ZodString>;
|
|
7025
7031
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7026
7032
|
name: z.ZodString;
|
|
7027
7033
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -7181,7 +7187,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7181
7187
|
}, z.core.$strip>;
|
|
7182
7188
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7183
7189
|
z.ZodEnum<{
|
|
7184
|
-
"pii-detected": "pii-detected";
|
|
7185
7190
|
blocked: "blocked";
|
|
7186
7191
|
maintenance: "maintenance";
|
|
7187
7192
|
"rate-limit": "rate-limit";
|
|
@@ -7190,12 +7195,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7190
7195
|
"too-long": "too-long";
|
|
7191
7196
|
"quota-reached": "quota-reached";
|
|
7192
7197
|
aborted: "aborted";
|
|
7198
|
+
"pii-detected": "pii-detected";
|
|
7193
7199
|
}>,
|
|
7194
7200
|
z.ZodLiteral<"sse-error">,
|
|
7195
7201
|
z.ZodLiteral<"client-error">,
|
|
7196
7202
|
z.ZodLiteral<"unexpected-call">
|
|
7197
7203
|
]>>;
|
|
7198
7204
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7205
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7199
7206
|
state: z.ZodLiteral<"loading">;
|
|
7200
7207
|
}, z.core.$strip>,
|
|
7201
7208
|
z.ZodObject<{
|
|
@@ -7316,7 +7323,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7316
7323
|
}, z.core.$strip>;
|
|
7317
7324
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7318
7325
|
z.ZodEnum<{
|
|
7319
|
-
"pii-detected": "pii-detected";
|
|
7320
7326
|
blocked: "blocked";
|
|
7321
7327
|
maintenance: "maintenance";
|
|
7322
7328
|
"rate-limit": "rate-limit";
|
|
@@ -7325,12 +7331,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7325
7331
|
"too-long": "too-long";
|
|
7326
7332
|
"quota-reached": "quota-reached";
|
|
7327
7333
|
aborted: "aborted";
|
|
7334
|
+
"pii-detected": "pii-detected";
|
|
7328
7335
|
}>,
|
|
7329
7336
|
z.ZodLiteral<"sse-error">,
|
|
7330
7337
|
z.ZodLiteral<"client-error">,
|
|
7331
7338
|
z.ZodLiteral<"unexpected-call">
|
|
7332
7339
|
]>>;
|
|
7333
7340
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7341
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7334
7342
|
state: z.ZodEnum<{
|
|
7335
7343
|
streaming: "streaming";
|
|
7336
7344
|
done: "done";
|
|
@@ -7365,12 +7373,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7365
7373
|
z.ZodObject<{
|
|
7366
7374
|
componentName: z.ZodLiteral<"combobox">;
|
|
7367
7375
|
data: z.ZodObject<{
|
|
7368
|
-
caption: z.ZodOptional<z.
|
|
7369
|
-
|
|
7376
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
7377
|
+
en: "en";
|
|
7378
|
+
de: "de";
|
|
7379
|
+
fr: "fr";
|
|
7380
|
+
it: "it";
|
|
7381
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
7382
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
7383
|
+
en: "en";
|
|
7384
|
+
de: "de";
|
|
7385
|
+
fr: "fr";
|
|
7386
|
+
it: "it";
|
|
7387
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7370
7388
|
values: z.ZodArray<z.ZodObject<{
|
|
7371
|
-
label: z.
|
|
7389
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
7390
|
+
en: "en";
|
|
7391
|
+
de: "de";
|
|
7392
|
+
fr: "fr";
|
|
7393
|
+
it: "it";
|
|
7394
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7372
7395
|
value: z.ZodString;
|
|
7396
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7373
7397
|
}, z.core.$strip>>;
|
|
7398
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
7399
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
7374
7400
|
}, z.core.$strip>;
|
|
7375
7401
|
}, z.core.$strip>,
|
|
7376
7402
|
z.ZodObject<{
|
|
@@ -7387,6 +7413,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7387
7413
|
time: z.ZodOptional<z.ZodString>;
|
|
7388
7414
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
7389
7415
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
7416
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
7390
7417
|
}, z.core.$strip>>
|
|
7391
7418
|
]>>>;
|
|
7392
7419
|
bot: z.ZodOptional<z.ZodObject<{
|
|
@@ -7510,7 +7537,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7510
7537
|
}, z.core.$strip>;
|
|
7511
7538
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7512
7539
|
z.ZodEnum<{
|
|
7513
|
-
"pii-detected": "pii-detected";
|
|
7514
7540
|
blocked: "blocked";
|
|
7515
7541
|
maintenance: "maintenance";
|
|
7516
7542
|
"rate-limit": "rate-limit";
|
|
@@ -7519,12 +7545,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7519
7545
|
"too-long": "too-long";
|
|
7520
7546
|
"quota-reached": "quota-reached";
|
|
7521
7547
|
aborted: "aborted";
|
|
7548
|
+
"pii-detected": "pii-detected";
|
|
7522
7549
|
}>,
|
|
7523
7550
|
z.ZodLiteral<"sse-error">,
|
|
7524
7551
|
z.ZodLiteral<"client-error">,
|
|
7525
7552
|
z.ZodLiteral<"unexpected-call">
|
|
7526
7553
|
]>>;
|
|
7527
7554
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7555
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7528
7556
|
state: z.ZodLiteral<"loading">;
|
|
7529
7557
|
}, z.core.$strip>,
|
|
7530
7558
|
z.ZodObject<{
|
|
@@ -7645,7 +7673,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7645
7673
|
}, z.core.$strip>;
|
|
7646
7674
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7647
7675
|
z.ZodEnum<{
|
|
7648
|
-
"pii-detected": "pii-detected";
|
|
7649
7676
|
blocked: "blocked";
|
|
7650
7677
|
maintenance: "maintenance";
|
|
7651
7678
|
"rate-limit": "rate-limit";
|
|
@@ -7654,12 +7681,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7654
7681
|
"too-long": "too-long";
|
|
7655
7682
|
"quota-reached": "quota-reached";
|
|
7656
7683
|
aborted: "aborted";
|
|
7684
|
+
"pii-detected": "pii-detected";
|
|
7657
7685
|
}>,
|
|
7658
7686
|
z.ZodLiteral<"sse-error">,
|
|
7659
7687
|
z.ZodLiteral<"client-error">,
|
|
7660
7688
|
z.ZodLiteral<"unexpected-call">
|
|
7661
7689
|
]>>;
|
|
7662
7690
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7691
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7663
7692
|
state: z.ZodEnum<{
|
|
7664
7693
|
streaming: "streaming";
|
|
7665
7694
|
done: "done";
|
|
@@ -7694,12 +7723,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7694
7723
|
z.ZodObject<{
|
|
7695
7724
|
componentName: z.ZodLiteral<"combobox">;
|
|
7696
7725
|
data: z.ZodObject<{
|
|
7697
|
-
caption: z.ZodOptional<z.
|
|
7698
|
-
|
|
7726
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
7727
|
+
en: "en";
|
|
7728
|
+
de: "de";
|
|
7729
|
+
fr: "fr";
|
|
7730
|
+
it: "it";
|
|
7731
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
7732
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
7733
|
+
en: "en";
|
|
7734
|
+
de: "de";
|
|
7735
|
+
fr: "fr";
|
|
7736
|
+
it: "it";
|
|
7737
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7699
7738
|
values: z.ZodArray<z.ZodObject<{
|
|
7700
|
-
label: z.
|
|
7739
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
7740
|
+
en: "en";
|
|
7741
|
+
de: "de";
|
|
7742
|
+
fr: "fr";
|
|
7743
|
+
it: "it";
|
|
7744
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7701
7745
|
value: z.ZodString;
|
|
7746
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7702
7747
|
}, z.core.$strip>>;
|
|
7748
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
7749
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
7703
7750
|
}, z.core.$strip>;
|
|
7704
7751
|
}, z.core.$strip>,
|
|
7705
7752
|
z.ZodObject<{
|
|
@@ -7716,6 +7763,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7716
7763
|
time: z.ZodOptional<z.ZodString>;
|
|
7717
7764
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
7718
7765
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
7766
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
7719
7767
|
}, z.core.$strip>>
|
|
7720
7768
|
]>>>;
|
|
7721
7769
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -7838,7 +7886,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7838
7886
|
}, z.core.$strip>;
|
|
7839
7887
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7840
7888
|
z.ZodEnum<{
|
|
7841
|
-
"pii-detected": "pii-detected";
|
|
7842
7889
|
blocked: "blocked";
|
|
7843
7890
|
maintenance: "maintenance";
|
|
7844
7891
|
"rate-limit": "rate-limit";
|
|
@@ -7847,12 +7894,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7847
7894
|
"too-long": "too-long";
|
|
7848
7895
|
"quota-reached": "quota-reached";
|
|
7849
7896
|
aborted: "aborted";
|
|
7897
|
+
"pii-detected": "pii-detected";
|
|
7850
7898
|
}>,
|
|
7851
7899
|
z.ZodLiteral<"sse-error">,
|
|
7852
7900
|
z.ZodLiteral<"client-error">,
|
|
7853
7901
|
z.ZodLiteral<"unexpected-call">
|
|
7854
7902
|
]>>;
|
|
7855
7903
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7904
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7856
7905
|
state: z.ZodLiteral<"loading">;
|
|
7857
7906
|
}, z.core.$strip>,
|
|
7858
7907
|
z.ZodObject<{
|
|
@@ -7973,7 +8022,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7973
8022
|
}, z.core.$strip>;
|
|
7974
8023
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7975
8024
|
z.ZodEnum<{
|
|
7976
|
-
"pii-detected": "pii-detected";
|
|
7977
8025
|
blocked: "blocked";
|
|
7978
8026
|
maintenance: "maintenance";
|
|
7979
8027
|
"rate-limit": "rate-limit";
|
|
@@ -7982,12 +8030,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
7982
8030
|
"too-long": "too-long";
|
|
7983
8031
|
"quota-reached": "quota-reached";
|
|
7984
8032
|
aborted: "aborted";
|
|
8033
|
+
"pii-detected": "pii-detected";
|
|
7985
8034
|
}>,
|
|
7986
8035
|
z.ZodLiteral<"sse-error">,
|
|
7987
8036
|
z.ZodLiteral<"client-error">,
|
|
7988
8037
|
z.ZodLiteral<"unexpected-call">
|
|
7989
8038
|
]>>;
|
|
7990
8039
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8040
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7991
8041
|
state: z.ZodEnum<{
|
|
7992
8042
|
streaming: "streaming";
|
|
7993
8043
|
done: "done";
|
|
@@ -8022,12 +8072,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8022
8072
|
z.ZodObject<{
|
|
8023
8073
|
componentName: z.ZodLiteral<"combobox">;
|
|
8024
8074
|
data: z.ZodObject<{
|
|
8025
|
-
caption: z.ZodOptional<z.
|
|
8026
|
-
|
|
8075
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8076
|
+
en: "en";
|
|
8077
|
+
de: "de";
|
|
8078
|
+
fr: "fr";
|
|
8079
|
+
it: "it";
|
|
8080
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8081
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
8082
|
+
en: "en";
|
|
8083
|
+
de: "de";
|
|
8084
|
+
fr: "fr";
|
|
8085
|
+
it: "it";
|
|
8086
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8027
8087
|
values: z.ZodArray<z.ZodObject<{
|
|
8028
|
-
label: z.
|
|
8088
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8089
|
+
en: "en";
|
|
8090
|
+
de: "de";
|
|
8091
|
+
fr: "fr";
|
|
8092
|
+
it: "it";
|
|
8093
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8029
8094
|
value: z.ZodString;
|
|
8095
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8030
8096
|
}, z.core.$strip>>;
|
|
8097
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
8098
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
8031
8099
|
}, z.core.$strip>;
|
|
8032
8100
|
}, z.core.$strip>,
|
|
8033
8101
|
z.ZodObject<{
|
|
@@ -8044,6 +8112,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8044
8112
|
time: z.ZodOptional<z.ZodString>;
|
|
8045
8113
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
8046
8114
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
8115
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
8047
8116
|
}, z.core.$strip>>
|
|
8048
8117
|
]>>>;
|
|
8049
8118
|
}, z.core.$strip>>;
|
|
@@ -8168,7 +8237,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8168
8237
|
}, z.core.$strip>;
|
|
8169
8238
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8170
8239
|
z.ZodEnum<{
|
|
8171
|
-
"pii-detected": "pii-detected";
|
|
8172
8240
|
blocked: "blocked";
|
|
8173
8241
|
maintenance: "maintenance";
|
|
8174
8242
|
"rate-limit": "rate-limit";
|
|
@@ -8177,12 +8245,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8177
8245
|
"too-long": "too-long";
|
|
8178
8246
|
"quota-reached": "quota-reached";
|
|
8179
8247
|
aborted: "aborted";
|
|
8248
|
+
"pii-detected": "pii-detected";
|
|
8180
8249
|
}>,
|
|
8181
8250
|
z.ZodLiteral<"sse-error">,
|
|
8182
8251
|
z.ZodLiteral<"client-error">,
|
|
8183
8252
|
z.ZodLiteral<"unexpected-call">
|
|
8184
8253
|
]>>;
|
|
8185
8254
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8255
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8186
8256
|
state: z.ZodLiteral<"loading">;
|
|
8187
8257
|
}, z.core.$strip>,
|
|
8188
8258
|
z.ZodObject<{
|
|
@@ -8303,7 +8373,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8303
8373
|
}, z.core.$strip>;
|
|
8304
8374
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8305
8375
|
z.ZodEnum<{
|
|
8306
|
-
"pii-detected": "pii-detected";
|
|
8307
8376
|
blocked: "blocked";
|
|
8308
8377
|
maintenance: "maintenance";
|
|
8309
8378
|
"rate-limit": "rate-limit";
|
|
@@ -8312,12 +8381,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8312
8381
|
"too-long": "too-long";
|
|
8313
8382
|
"quota-reached": "quota-reached";
|
|
8314
8383
|
aborted: "aborted";
|
|
8384
|
+
"pii-detected": "pii-detected";
|
|
8315
8385
|
}>,
|
|
8316
8386
|
z.ZodLiteral<"sse-error">,
|
|
8317
8387
|
z.ZodLiteral<"client-error">,
|
|
8318
8388
|
z.ZodLiteral<"unexpected-call">
|
|
8319
8389
|
]>>;
|
|
8320
8390
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8391
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8321
8392
|
state: z.ZodEnum<{
|
|
8322
8393
|
streaming: "streaming";
|
|
8323
8394
|
done: "done";
|
|
@@ -8352,12 +8423,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8352
8423
|
z.ZodObject<{
|
|
8353
8424
|
componentName: z.ZodLiteral<"combobox">;
|
|
8354
8425
|
data: z.ZodObject<{
|
|
8355
|
-
caption: z.ZodOptional<z.
|
|
8356
|
-
|
|
8426
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8427
|
+
en: "en";
|
|
8428
|
+
de: "de";
|
|
8429
|
+
fr: "fr";
|
|
8430
|
+
it: "it";
|
|
8431
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8432
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
8433
|
+
en: "en";
|
|
8434
|
+
de: "de";
|
|
8435
|
+
fr: "fr";
|
|
8436
|
+
it: "it";
|
|
8437
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8357
8438
|
values: z.ZodArray<z.ZodObject<{
|
|
8358
|
-
label: z.
|
|
8439
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8440
|
+
en: "en";
|
|
8441
|
+
de: "de";
|
|
8442
|
+
fr: "fr";
|
|
8443
|
+
it: "it";
|
|
8444
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8359
8445
|
value: z.ZodString;
|
|
8446
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8360
8447
|
}, z.core.$strip>>;
|
|
8448
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
8449
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
8361
8450
|
}, z.core.$strip>;
|
|
8362
8451
|
}, z.core.$strip>,
|
|
8363
8452
|
z.ZodObject<{
|
|
@@ -8374,6 +8463,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8374
8463
|
time: z.ZodOptional<z.ZodString>;
|
|
8375
8464
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
8376
8465
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
8466
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
8377
8467
|
}, z.core.$strip>>
|
|
8378
8468
|
]>>>;
|
|
8379
8469
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -8496,7 +8586,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8496
8586
|
}, z.core.$strip>;
|
|
8497
8587
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8498
8588
|
z.ZodEnum<{
|
|
8499
|
-
"pii-detected": "pii-detected";
|
|
8500
8589
|
blocked: "blocked";
|
|
8501
8590
|
maintenance: "maintenance";
|
|
8502
8591
|
"rate-limit": "rate-limit";
|
|
@@ -8505,12 +8594,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8505
8594
|
"too-long": "too-long";
|
|
8506
8595
|
"quota-reached": "quota-reached";
|
|
8507
8596
|
aborted: "aborted";
|
|
8597
|
+
"pii-detected": "pii-detected";
|
|
8508
8598
|
}>,
|
|
8509
8599
|
z.ZodLiteral<"sse-error">,
|
|
8510
8600
|
z.ZodLiteral<"client-error">,
|
|
8511
8601
|
z.ZodLiteral<"unexpected-call">
|
|
8512
8602
|
]>>;
|
|
8513
8603
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8604
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8514
8605
|
state: z.ZodLiteral<"loading">;
|
|
8515
8606
|
}, z.core.$strip>,
|
|
8516
8607
|
z.ZodObject<{
|
|
@@ -8631,7 +8722,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8631
8722
|
}, z.core.$strip>;
|
|
8632
8723
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8633
8724
|
z.ZodEnum<{
|
|
8634
|
-
"pii-detected": "pii-detected";
|
|
8635
8725
|
blocked: "blocked";
|
|
8636
8726
|
maintenance: "maintenance";
|
|
8637
8727
|
"rate-limit": "rate-limit";
|
|
@@ -8640,12 +8730,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8640
8730
|
"too-long": "too-long";
|
|
8641
8731
|
"quota-reached": "quota-reached";
|
|
8642
8732
|
aborted: "aborted";
|
|
8733
|
+
"pii-detected": "pii-detected";
|
|
8643
8734
|
}>,
|
|
8644
8735
|
z.ZodLiteral<"sse-error">,
|
|
8645
8736
|
z.ZodLiteral<"client-error">,
|
|
8646
8737
|
z.ZodLiteral<"unexpected-call">
|
|
8647
8738
|
]>>;
|
|
8648
8739
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8740
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8649
8741
|
state: z.ZodEnum<{
|
|
8650
8742
|
streaming: "streaming";
|
|
8651
8743
|
done: "done";
|
|
@@ -8680,12 +8772,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8680
8772
|
z.ZodObject<{
|
|
8681
8773
|
componentName: z.ZodLiteral<"combobox">;
|
|
8682
8774
|
data: z.ZodObject<{
|
|
8683
|
-
caption: z.ZodOptional<z.
|
|
8684
|
-
|
|
8775
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8776
|
+
en: "en";
|
|
8777
|
+
de: "de";
|
|
8778
|
+
fr: "fr";
|
|
8779
|
+
it: "it";
|
|
8780
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8781
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
8782
|
+
en: "en";
|
|
8783
|
+
de: "de";
|
|
8784
|
+
fr: "fr";
|
|
8785
|
+
it: "it";
|
|
8786
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8685
8787
|
values: z.ZodArray<z.ZodObject<{
|
|
8686
|
-
label: z.
|
|
8788
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8789
|
+
en: "en";
|
|
8790
|
+
de: "de";
|
|
8791
|
+
fr: "fr";
|
|
8792
|
+
it: "it";
|
|
8793
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8687
8794
|
value: z.ZodString;
|
|
8795
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8688
8796
|
}, z.core.$strip>>;
|
|
8797
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
8798
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
8689
8799
|
}, z.core.$strip>;
|
|
8690
8800
|
}, z.core.$strip>,
|
|
8691
8801
|
z.ZodObject<{
|
|
@@ -8702,11 +8812,13 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8702
8812
|
time: z.ZodOptional<z.ZodString>;
|
|
8703
8813
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
8704
8814
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
8815
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
8705
8816
|
}, z.core.$strip>>
|
|
8706
8817
|
]>>>;
|
|
8707
8818
|
}, z.core.$strip>>;
|
|
8708
8819
|
}, z.core.$strip>>>;
|
|
8709
8820
|
contextVersion: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8821
|
+
selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8710
8822
|
}, z.core.$strip>;
|
|
8711
8823
|
export type ChatConfig = z.infer<typeof chatConfigSchema>;
|
|
8712
8824
|
declare const themeSchema: z.ZodObject<{
|
|
@@ -9102,6 +9214,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
9102
9214
|
model: "model";
|
|
9103
9215
|
checkbox: "checkbox";
|
|
9104
9216
|
warning: "warning";
|
|
9217
|
+
topic: "topic";
|
|
9105
9218
|
headerLogo: "headerLogo";
|
|
9106
9219
|
embedAvatar: "embedAvatar";
|
|
9107
9220
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -9313,6 +9426,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
9313
9426
|
model: "model";
|
|
9314
9427
|
checkbox: "checkbox";
|
|
9315
9428
|
warning: "warning";
|
|
9429
|
+
topic: "topic";
|
|
9316
9430
|
headerLogo: "headerLogo";
|
|
9317
9431
|
embedAvatar: "embedAvatar";
|
|
9318
9432
|
}> & z.core.$partial, z.ZodString>>;
|