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