@liip/liipgpt 3.5.2 → 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/{Blkti-XN.js → B4H9KbzH.js} +1 -1
- 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/{Aky8NYt2.js → D6zVGLUW.js} +1 -1
- package/configurator/_app/immutable/chunks/{yCCeOvA4.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.DLs4bOza.js → app.Ce62vasD.js} +2 -2
- package/configurator/_app/immutable/entry/start.CdYStGvR.js +1 -0
- package/configurator/_app/immutable/nodes/{0.DCHCWgXZ.js → 0.DJJ_NjgH.js} +3 -3
- package/configurator/_app/immutable/nodes/{1.CcZ1ET52.js → 1.BmbCK-Nv.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.DGF0qlHx.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/B2nEw14K.js +0 -16
- package/configurator/_app/immutable/chunks/Bcw1oG1H.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/entry/start.CrvhSXON.js +0 -1
- package/configurator/_app/immutable/nodes/3.rLIOwlyk.js +0 -954
package/index.d.ts
CHANGED
|
@@ -3744,12 +3744,30 @@ declare const chatMessageEmbedSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<
|
|
|
3744
3744
|
z.ZodObject<{
|
|
3745
3745
|
componentName: z.ZodLiteral<"combobox">;
|
|
3746
3746
|
data: z.ZodObject<{
|
|
3747
|
-
caption: z.ZodOptional<z.
|
|
3748
|
-
|
|
3747
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3748
|
+
en: "en";
|
|
3749
|
+
de: "de";
|
|
3750
|
+
fr: "fr";
|
|
3751
|
+
it: "it";
|
|
3752
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
3753
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
3754
|
+
en: "en";
|
|
3755
|
+
de: "de";
|
|
3756
|
+
fr: "fr";
|
|
3757
|
+
it: "it";
|
|
3758
|
+
}> & z.core.$partial, z.ZodString>;
|
|
3749
3759
|
values: z.ZodArray<z.ZodObject<{
|
|
3750
|
-
label: z.
|
|
3760
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
3761
|
+
en: "en";
|
|
3762
|
+
de: "de";
|
|
3763
|
+
fr: "fr";
|
|
3764
|
+
it: "it";
|
|
3765
|
+
}> & z.core.$partial, z.ZodString>;
|
|
3751
3766
|
value: z.ZodString;
|
|
3767
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3752
3768
|
}, z.core.$strip>>;
|
|
3769
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
3770
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
3753
3771
|
}, z.core.$strip>;
|
|
3754
3772
|
}, z.core.$strip>,
|
|
3755
3773
|
z.ZodObject<{
|
|
@@ -3766,7 +3784,9 @@ declare const chatMessageEmbedSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<
|
|
|
3766
3784
|
time: z.ZodOptional<z.ZodString>;
|
|
3767
3785
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
3768
3786
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
3787
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
3769
3788
|
}, z.core.$strip>>;
|
|
3789
|
+
export type ChatMessageEmbed = z.infer<typeof chatMessageEmbedSchema>;
|
|
3770
3790
|
export declare const pageStateSchema: z.ZodEnum<{
|
|
3771
3791
|
start: "start";
|
|
3772
3792
|
chat: "chat";
|
|
@@ -3782,6 +3802,8 @@ export declare const routeSchema: z.ZodDiscriminatedUnion<[
|
|
|
3782
3802
|
z.ZodObject<{
|
|
3783
3803
|
name: z.ZodLiteral<"chat-page">;
|
|
3784
3804
|
query: z.ZodString;
|
|
3805
|
+
predefinedQuestionId: z.ZodOptional<z.ZodString>;
|
|
3806
|
+
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
3785
3807
|
}, z.core.$strip>
|
|
3786
3808
|
], "name">;
|
|
3787
3809
|
export declare const chatMessageUserSchema: z.ZodObject<{
|
|
@@ -3970,7 +3992,6 @@ declare const chatReferencesSchema: z.ZodObject<{
|
|
|
3970
3992
|
}, z.core.$strip>;
|
|
3971
3993
|
declare const chatErrorsSchema: z.ZodUnion<readonly [
|
|
3972
3994
|
z.ZodEnum<{
|
|
3973
|
-
"pii-detected": "pii-detected";
|
|
3974
3995
|
blocked: "blocked";
|
|
3975
3996
|
maintenance: "maintenance";
|
|
3976
3997
|
"rate-limit": "rate-limit";
|
|
@@ -3979,6 +4000,7 @@ declare const chatErrorsSchema: z.ZodUnion<readonly [
|
|
|
3979
4000
|
"too-long": "too-long";
|
|
3980
4001
|
"quota-reached": "quota-reached";
|
|
3981
4002
|
aborted: "aborted";
|
|
4003
|
+
"pii-detected": "pii-detected";
|
|
3982
4004
|
}>,
|
|
3983
4005
|
z.ZodLiteral<"sse-error">,
|
|
3984
4006
|
z.ZodLiteral<"client-error">,
|
|
@@ -4102,7 +4124,6 @@ export declare const chatMessageBotStreamingSchema: z.ZodObject<{
|
|
|
4102
4124
|
}, z.core.$strip>;
|
|
4103
4125
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4104
4126
|
z.ZodEnum<{
|
|
4105
|
-
"pii-detected": "pii-detected";
|
|
4106
4127
|
blocked: "blocked";
|
|
4107
4128
|
maintenance: "maintenance";
|
|
4108
4129
|
"rate-limit": "rate-limit";
|
|
@@ -4111,12 +4132,14 @@ export declare const chatMessageBotStreamingSchema: z.ZodObject<{
|
|
|
4111
4132
|
"too-long": "too-long";
|
|
4112
4133
|
"quota-reached": "quota-reached";
|
|
4113
4134
|
aborted: "aborted";
|
|
4135
|
+
"pii-detected": "pii-detected";
|
|
4114
4136
|
}>,
|
|
4115
4137
|
z.ZodLiteral<"sse-error">,
|
|
4116
4138
|
z.ZodLiteral<"client-error">,
|
|
4117
4139
|
z.ZodLiteral<"unexpected-call">
|
|
4118
4140
|
]>>;
|
|
4119
4141
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4142
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4120
4143
|
state: z.ZodEnum<{
|
|
4121
4144
|
streaming: "streaming";
|
|
4122
4145
|
done: "done";
|
|
@@ -4240,7 +4263,6 @@ export declare const chatMessageBotLoadingSchema: z.ZodObject<{
|
|
|
4240
4263
|
}, z.core.$strip>;
|
|
4241
4264
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4242
4265
|
z.ZodEnum<{
|
|
4243
|
-
"pii-detected": "pii-detected";
|
|
4244
4266
|
blocked: "blocked";
|
|
4245
4267
|
maintenance: "maintenance";
|
|
4246
4268
|
"rate-limit": "rate-limit";
|
|
@@ -4249,12 +4271,14 @@ export declare const chatMessageBotLoadingSchema: z.ZodObject<{
|
|
|
4249
4271
|
"too-long": "too-long";
|
|
4250
4272
|
"quota-reached": "quota-reached";
|
|
4251
4273
|
aborted: "aborted";
|
|
4274
|
+
"pii-detected": "pii-detected";
|
|
4252
4275
|
}>,
|
|
4253
4276
|
z.ZodLiteral<"sse-error">,
|
|
4254
4277
|
z.ZodLiteral<"client-error">,
|
|
4255
4278
|
z.ZodLiteral<"unexpected-call">
|
|
4256
4279
|
]>>;
|
|
4257
4280
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4281
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4258
4282
|
state: z.ZodLiteral<"loading">;
|
|
4259
4283
|
}, z.core.$strip>;
|
|
4260
4284
|
export declare const chatContentSchema: z.ZodUnion<readonly [
|
|
@@ -4376,7 +4400,6 @@ export declare const chatContentSchema: z.ZodUnion<readonly [
|
|
|
4376
4400
|
}, z.core.$strip>;
|
|
4377
4401
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4378
4402
|
z.ZodEnum<{
|
|
4379
|
-
"pii-detected": "pii-detected";
|
|
4380
4403
|
blocked: "blocked";
|
|
4381
4404
|
maintenance: "maintenance";
|
|
4382
4405
|
"rate-limit": "rate-limit";
|
|
@@ -4385,12 +4408,14 @@ export declare const chatContentSchema: z.ZodUnion<readonly [
|
|
|
4385
4408
|
"too-long": "too-long";
|
|
4386
4409
|
"quota-reached": "quota-reached";
|
|
4387
4410
|
aborted: "aborted";
|
|
4411
|
+
"pii-detected": "pii-detected";
|
|
4388
4412
|
}>,
|
|
4389
4413
|
z.ZodLiteral<"sse-error">,
|
|
4390
4414
|
z.ZodLiteral<"client-error">,
|
|
4391
4415
|
z.ZodLiteral<"unexpected-call">
|
|
4392
4416
|
]>>;
|
|
4393
4417
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4418
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4394
4419
|
state: z.ZodLiteral<"loading">;
|
|
4395
4420
|
}, z.core.$strip>,
|
|
4396
4421
|
z.ZodObject<{
|
|
@@ -4511,7 +4536,6 @@ export declare const chatContentSchema: z.ZodUnion<readonly [
|
|
|
4511
4536
|
}, z.core.$strip>;
|
|
4512
4537
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4513
4538
|
z.ZodEnum<{
|
|
4514
|
-
"pii-detected": "pii-detected";
|
|
4515
4539
|
blocked: "blocked";
|
|
4516
4540
|
maintenance: "maintenance";
|
|
4517
4541
|
"rate-limit": "rate-limit";
|
|
@@ -4520,12 +4544,14 @@ export declare const chatContentSchema: z.ZodUnion<readonly [
|
|
|
4520
4544
|
"too-long": "too-long";
|
|
4521
4545
|
"quota-reached": "quota-reached";
|
|
4522
4546
|
aborted: "aborted";
|
|
4547
|
+
"pii-detected": "pii-detected";
|
|
4523
4548
|
}>,
|
|
4524
4549
|
z.ZodLiteral<"sse-error">,
|
|
4525
4550
|
z.ZodLiteral<"client-error">,
|
|
4526
4551
|
z.ZodLiteral<"unexpected-call">
|
|
4527
4552
|
]>>;
|
|
4528
4553
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4554
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4529
4555
|
state: z.ZodEnum<{
|
|
4530
4556
|
streaming: "streaming";
|
|
4531
4557
|
done: "done";
|
|
@@ -4652,7 +4678,6 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4652
4678
|
}, z.core.$strip>;
|
|
4653
4679
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4654
4680
|
z.ZodEnum<{
|
|
4655
|
-
"pii-detected": "pii-detected";
|
|
4656
4681
|
blocked: "blocked";
|
|
4657
4682
|
maintenance: "maintenance";
|
|
4658
4683
|
"rate-limit": "rate-limit";
|
|
@@ -4661,12 +4686,14 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4661
4686
|
"too-long": "too-long";
|
|
4662
4687
|
"quota-reached": "quota-reached";
|
|
4663
4688
|
aborted: "aborted";
|
|
4689
|
+
"pii-detected": "pii-detected";
|
|
4664
4690
|
}>,
|
|
4665
4691
|
z.ZodLiteral<"sse-error">,
|
|
4666
4692
|
z.ZodLiteral<"client-error">,
|
|
4667
4693
|
z.ZodLiteral<"unexpected-call">
|
|
4668
4694
|
]>>;
|
|
4669
4695
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4696
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4670
4697
|
state: z.ZodLiteral<"loading">;
|
|
4671
4698
|
}, z.core.$strip>,
|
|
4672
4699
|
z.ZodObject<{
|
|
@@ -4787,7 +4814,6 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4787
4814
|
}, z.core.$strip>;
|
|
4788
4815
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
4789
4816
|
z.ZodEnum<{
|
|
4790
|
-
"pii-detected": "pii-detected";
|
|
4791
4817
|
blocked: "blocked";
|
|
4792
4818
|
maintenance: "maintenance";
|
|
4793
4819
|
"rate-limit": "rate-limit";
|
|
@@ -4796,12 +4822,14 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4796
4822
|
"too-long": "too-long";
|
|
4797
4823
|
"quota-reached": "quota-reached";
|
|
4798
4824
|
aborted: "aborted";
|
|
4825
|
+
"pii-detected": "pii-detected";
|
|
4799
4826
|
}>,
|
|
4800
4827
|
z.ZodLiteral<"sse-error">,
|
|
4801
4828
|
z.ZodLiteral<"client-error">,
|
|
4802
4829
|
z.ZodLiteral<"unexpected-call">
|
|
4803
4830
|
]>>;
|
|
4804
4831
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
4832
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
4805
4833
|
state: z.ZodEnum<{
|
|
4806
4834
|
streaming: "streaming";
|
|
4807
4835
|
done: "done";
|
|
@@ -4836,12 +4864,30 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4836
4864
|
z.ZodObject<{
|
|
4837
4865
|
componentName: z.ZodLiteral<"combobox">;
|
|
4838
4866
|
data: z.ZodObject<{
|
|
4839
|
-
caption: z.ZodOptional<z.
|
|
4840
|
-
|
|
4867
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
4868
|
+
en: "en";
|
|
4869
|
+
de: "de";
|
|
4870
|
+
fr: "fr";
|
|
4871
|
+
it: "it";
|
|
4872
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
4873
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
4874
|
+
en: "en";
|
|
4875
|
+
de: "de";
|
|
4876
|
+
fr: "fr";
|
|
4877
|
+
it: "it";
|
|
4878
|
+
}> & z.core.$partial, z.ZodString>;
|
|
4841
4879
|
values: z.ZodArray<z.ZodObject<{
|
|
4842
|
-
label: z.
|
|
4880
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
4881
|
+
en: "en";
|
|
4882
|
+
de: "de";
|
|
4883
|
+
fr: "fr";
|
|
4884
|
+
it: "it";
|
|
4885
|
+
}> & z.core.$partial, z.ZodString>;
|
|
4843
4886
|
value: z.ZodString;
|
|
4887
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4844
4888
|
}, z.core.$strip>>;
|
|
4889
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
4890
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
4845
4891
|
}, z.core.$strip>;
|
|
4846
4892
|
}, z.core.$strip>,
|
|
4847
4893
|
z.ZodObject<{
|
|
@@ -4858,6 +4904,7 @@ export declare const chatMessageSchema: z.ZodUnion<readonly [
|
|
|
4858
4904
|
time: z.ZodOptional<z.ZodString>;
|
|
4859
4905
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
4860
4906
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
4907
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
4861
4908
|
}, z.core.$strip>>
|
|
4862
4909
|
]>;
|
|
4863
4910
|
export type PageState = z.infer<typeof pageStateSchema>;
|
|
@@ -4953,6 +5000,12 @@ export type SseMessageV2 = {
|
|
|
4953
5000
|
type: "done";
|
|
4954
5001
|
} | {
|
|
4955
5002
|
type: "ignore";
|
|
5003
|
+
} | {
|
|
5004
|
+
type: "no-feedback";
|
|
5005
|
+
} | ChatMessageEmbed | {
|
|
5006
|
+
type: "topic-selected";
|
|
5007
|
+
label: string;
|
|
5008
|
+
placeholder: string;
|
|
4956
5009
|
};
|
|
4957
5010
|
/** Callback to inform of a value updates. */
|
|
4958
5011
|
export type Subscriber<T> = (value: T) => void;
|
|
@@ -4988,6 +5041,7 @@ export declare class ChatResultBuilder {
|
|
|
4988
5041
|
addMappedReference(reference: ChatReference): void;
|
|
4989
5042
|
addOldReference(oldReference: SseReference): void;
|
|
4990
5043
|
updateRetrievalQuestion(question: string): void;
|
|
5044
|
+
setNoFeedback(): void;
|
|
4991
5045
|
getReadableStore(): Readable<ChatContent>;
|
|
4992
5046
|
getPromise(): Promise<ChatContent>;
|
|
4993
5047
|
}
|
|
@@ -5001,8 +5055,10 @@ export declare const menuItemSchema: z.ZodObject<{
|
|
|
5001
5055
|
}>>;
|
|
5002
5056
|
}, z.core.$strip>;
|
|
5003
5057
|
export declare const predefinedQuestionSchema: z.ZodObject<{
|
|
5058
|
+
id: z.ZodString;
|
|
5004
5059
|
label: z.ZodNullable<z.ZodString>;
|
|
5005
5060
|
question: z.ZodString;
|
|
5061
|
+
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
5006
5062
|
}, z.core.$strip>;
|
|
5007
5063
|
export declare const classificationConfigSchema: z.ZodObject<{
|
|
5008
5064
|
impact: z.ZodOptional<z.ZodObject<{
|
|
@@ -5040,8 +5096,10 @@ export declare const classificationResponseSchema: z.ZodObject<{
|
|
|
5040
5096
|
}, z.core.$strip>;
|
|
5041
5097
|
export declare const predefinedQuestionsResponseSchema: z.ZodObject<{
|
|
5042
5098
|
predefinedQuestions: z.ZodArray<z.ZodObject<{
|
|
5099
|
+
id: z.ZodString;
|
|
5043
5100
|
label: z.ZodNullable<z.ZodString>;
|
|
5044
5101
|
question: z.ZodString;
|
|
5102
|
+
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
5045
5103
|
}, z.core.$strip>>;
|
|
5046
5104
|
}, z.core.$strip>;
|
|
5047
5105
|
export declare const userDataResponseSchema: z.ZodUnion<readonly [
|
|
@@ -5175,7 +5233,12 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5175
5233
|
selectNone: z.ZodString;
|
|
5176
5234
|
resetToDefaults: z.ZodString;
|
|
5177
5235
|
messageTooLong: z.ZodString;
|
|
5236
|
+
changeTopic: z.ZodString;
|
|
5178
5237
|
}, z.core.$strip>>;
|
|
5238
|
+
export declare const selectedTopicSchema: z.ZodObject<{
|
|
5239
|
+
label: z.ZodString;
|
|
5240
|
+
placeholder: z.ZodString;
|
|
5241
|
+
}, z.core.$strip>;
|
|
5179
5242
|
declare const chatSelectorConfigSchema: z.ZodObject<{
|
|
5180
5243
|
settingName: z.ZodString;
|
|
5181
5244
|
iconName: z.ZodString;
|
|
@@ -5189,7 +5252,7 @@ declare const chatSelectorConfigSchema: z.ZodObject<{
|
|
|
5189
5252
|
defaultValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5190
5253
|
}, z.core.$strip>;
|
|
5191
5254
|
export declare const completeChatConfigSchema: z.ZodObject<{
|
|
5192
|
-
|
|
5255
|
+
forcePredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
|
|
5193
5256
|
showOverallFeedbackButton: z.ZodBoolean;
|
|
5194
5257
|
showOverallFeedbackEmail: z.ZodBoolean;
|
|
5195
5258
|
showCloseChatButton: z.ZodBoolean;
|
|
@@ -5591,6 +5654,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5591
5654
|
record: "record";
|
|
5592
5655
|
abort: "abort";
|
|
5593
5656
|
message: "message";
|
|
5657
|
+
lightMode: "lightMode";
|
|
5658
|
+
darkMode: "darkMode";
|
|
5594
5659
|
audio: "audio";
|
|
5595
5660
|
menu: "menu";
|
|
5596
5661
|
submit: "submit";
|
|
@@ -5623,14 +5688,13 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5623
5688
|
openChat: "openChat";
|
|
5624
5689
|
speechInput: "speechInput";
|
|
5625
5690
|
listUnordered: "listUnordered";
|
|
5626
|
-
lightMode: "lightMode";
|
|
5627
|
-
darkMode: "darkMode";
|
|
5628
5691
|
settings: "settings";
|
|
5629
5692
|
settingsClose: "settingsClose";
|
|
5630
5693
|
sources: "sources";
|
|
5631
5694
|
model: "model";
|
|
5632
5695
|
checkbox: "checkbox";
|
|
5633
5696
|
warning: "warning";
|
|
5697
|
+
topic: "topic";
|
|
5634
5698
|
headerLogo: "headerLogo";
|
|
5635
5699
|
embedAvatar: "embedAvatar";
|
|
5636
5700
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -5802,6 +5866,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5802
5866
|
record: "record";
|
|
5803
5867
|
abort: "abort";
|
|
5804
5868
|
message: "message";
|
|
5869
|
+
lightMode: "lightMode";
|
|
5870
|
+
darkMode: "darkMode";
|
|
5805
5871
|
audio: "audio";
|
|
5806
5872
|
menu: "menu";
|
|
5807
5873
|
submit: "submit";
|
|
@@ -5834,14 +5900,13 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5834
5900
|
openChat: "openChat";
|
|
5835
5901
|
speechInput: "speechInput";
|
|
5836
5902
|
listUnordered: "listUnordered";
|
|
5837
|
-
lightMode: "lightMode";
|
|
5838
|
-
darkMode: "darkMode";
|
|
5839
5903
|
settings: "settings";
|
|
5840
5904
|
settingsClose: "settingsClose";
|
|
5841
5905
|
sources: "sources";
|
|
5842
5906
|
model: "model";
|
|
5843
5907
|
checkbox: "checkbox";
|
|
5844
5908
|
warning: "warning";
|
|
5909
|
+
topic: "topic";
|
|
5845
5910
|
headerLogo: "headerLogo";
|
|
5846
5911
|
embedAvatar: "embedAvatar";
|
|
5847
5912
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -5964,6 +6029,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5964
6029
|
selectNone: z.ZodOptional<z.ZodString>;
|
|
5965
6030
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
5966
6031
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
6032
|
+
changeTopic: z.ZodOptional<z.ZodString>;
|
|
5967
6033
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5968
6034
|
name: z.ZodString;
|
|
5969
6035
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -6123,7 +6189,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6123
6189
|
}, z.core.$strip>;
|
|
6124
6190
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6125
6191
|
z.ZodEnum<{
|
|
6126
|
-
"pii-detected": "pii-detected";
|
|
6127
6192
|
blocked: "blocked";
|
|
6128
6193
|
maintenance: "maintenance";
|
|
6129
6194
|
"rate-limit": "rate-limit";
|
|
@@ -6132,12 +6197,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6132
6197
|
"too-long": "too-long";
|
|
6133
6198
|
"quota-reached": "quota-reached";
|
|
6134
6199
|
aborted: "aborted";
|
|
6200
|
+
"pii-detected": "pii-detected";
|
|
6135
6201
|
}>,
|
|
6136
6202
|
z.ZodLiteral<"sse-error">,
|
|
6137
6203
|
z.ZodLiteral<"client-error">,
|
|
6138
6204
|
z.ZodLiteral<"unexpected-call">
|
|
6139
6205
|
]>>;
|
|
6140
6206
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
6207
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6141
6208
|
state: z.ZodLiteral<"loading">;
|
|
6142
6209
|
}, z.core.$strip>,
|
|
6143
6210
|
z.ZodObject<{
|
|
@@ -6258,7 +6325,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6258
6325
|
}, z.core.$strip>;
|
|
6259
6326
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6260
6327
|
z.ZodEnum<{
|
|
6261
|
-
"pii-detected": "pii-detected";
|
|
6262
6328
|
blocked: "blocked";
|
|
6263
6329
|
maintenance: "maintenance";
|
|
6264
6330
|
"rate-limit": "rate-limit";
|
|
@@ -6267,12 +6333,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6267
6333
|
"too-long": "too-long";
|
|
6268
6334
|
"quota-reached": "quota-reached";
|
|
6269
6335
|
aborted: "aborted";
|
|
6336
|
+
"pii-detected": "pii-detected";
|
|
6270
6337
|
}>,
|
|
6271
6338
|
z.ZodLiteral<"sse-error">,
|
|
6272
6339
|
z.ZodLiteral<"client-error">,
|
|
6273
6340
|
z.ZodLiteral<"unexpected-call">
|
|
6274
6341
|
]>>;
|
|
6275
6342
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
6343
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6276
6344
|
state: z.ZodEnum<{
|
|
6277
6345
|
streaming: "streaming";
|
|
6278
6346
|
done: "done";
|
|
@@ -6307,12 +6375,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6307
6375
|
z.ZodObject<{
|
|
6308
6376
|
componentName: z.ZodLiteral<"combobox">;
|
|
6309
6377
|
data: z.ZodObject<{
|
|
6310
|
-
caption: z.ZodOptional<z.
|
|
6311
|
-
|
|
6378
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
6379
|
+
en: "en";
|
|
6380
|
+
de: "de";
|
|
6381
|
+
fr: "fr";
|
|
6382
|
+
it: "it";
|
|
6383
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
6384
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
6385
|
+
en: "en";
|
|
6386
|
+
de: "de";
|
|
6387
|
+
fr: "fr";
|
|
6388
|
+
it: "it";
|
|
6389
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6312
6390
|
values: z.ZodArray<z.ZodObject<{
|
|
6313
|
-
label: z.
|
|
6391
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
6392
|
+
en: "en";
|
|
6393
|
+
de: "de";
|
|
6394
|
+
fr: "fr";
|
|
6395
|
+
it: "it";
|
|
6396
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6314
6397
|
value: z.ZodString;
|
|
6398
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6315
6399
|
}, z.core.$strip>>;
|
|
6400
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
6401
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
6316
6402
|
}, z.core.$strip>;
|
|
6317
6403
|
}, z.core.$strip>,
|
|
6318
6404
|
z.ZodObject<{
|
|
@@ -6329,6 +6415,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6329
6415
|
time: z.ZodOptional<z.ZodString>;
|
|
6330
6416
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
6331
6417
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
6418
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
6332
6419
|
}, z.core.$strip>>
|
|
6333
6420
|
]>>>;
|
|
6334
6421
|
bot: z.ZodOptional<z.ZodObject<{
|
|
@@ -6452,7 +6539,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6452
6539
|
}, z.core.$strip>;
|
|
6453
6540
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6454
6541
|
z.ZodEnum<{
|
|
6455
|
-
"pii-detected": "pii-detected";
|
|
6456
6542
|
blocked: "blocked";
|
|
6457
6543
|
maintenance: "maintenance";
|
|
6458
6544
|
"rate-limit": "rate-limit";
|
|
@@ -6461,12 +6547,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6461
6547
|
"too-long": "too-long";
|
|
6462
6548
|
"quota-reached": "quota-reached";
|
|
6463
6549
|
aborted: "aborted";
|
|
6550
|
+
"pii-detected": "pii-detected";
|
|
6464
6551
|
}>,
|
|
6465
6552
|
z.ZodLiteral<"sse-error">,
|
|
6466
6553
|
z.ZodLiteral<"client-error">,
|
|
6467
6554
|
z.ZodLiteral<"unexpected-call">
|
|
6468
6555
|
]>>;
|
|
6469
6556
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
6557
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6470
6558
|
state: z.ZodLiteral<"loading">;
|
|
6471
6559
|
}, z.core.$strip>,
|
|
6472
6560
|
z.ZodObject<{
|
|
@@ -6587,7 +6675,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6587
6675
|
}, z.core.$strip>;
|
|
6588
6676
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6589
6677
|
z.ZodEnum<{
|
|
6590
|
-
"pii-detected": "pii-detected";
|
|
6591
6678
|
blocked: "blocked";
|
|
6592
6679
|
maintenance: "maintenance";
|
|
6593
6680
|
"rate-limit": "rate-limit";
|
|
@@ -6596,12 +6683,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6596
6683
|
"too-long": "too-long";
|
|
6597
6684
|
"quota-reached": "quota-reached";
|
|
6598
6685
|
aborted: "aborted";
|
|
6686
|
+
"pii-detected": "pii-detected";
|
|
6599
6687
|
}>,
|
|
6600
6688
|
z.ZodLiteral<"sse-error">,
|
|
6601
6689
|
z.ZodLiteral<"client-error">,
|
|
6602
6690
|
z.ZodLiteral<"unexpected-call">
|
|
6603
6691
|
]>>;
|
|
6604
6692
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
6693
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6605
6694
|
state: z.ZodEnum<{
|
|
6606
6695
|
streaming: "streaming";
|
|
6607
6696
|
done: "done";
|
|
@@ -6636,12 +6725,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6636
6725
|
z.ZodObject<{
|
|
6637
6726
|
componentName: z.ZodLiteral<"combobox">;
|
|
6638
6727
|
data: z.ZodObject<{
|
|
6639
|
-
caption: z.ZodOptional<z.
|
|
6640
|
-
|
|
6728
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
6729
|
+
en: "en";
|
|
6730
|
+
de: "de";
|
|
6731
|
+
fr: "fr";
|
|
6732
|
+
it: "it";
|
|
6733
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
6734
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
6735
|
+
en: "en";
|
|
6736
|
+
de: "de";
|
|
6737
|
+
fr: "fr";
|
|
6738
|
+
it: "it";
|
|
6739
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6641
6740
|
values: z.ZodArray<z.ZodObject<{
|
|
6642
|
-
label: z.
|
|
6741
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
6742
|
+
en: "en";
|
|
6743
|
+
de: "de";
|
|
6744
|
+
fr: "fr";
|
|
6745
|
+
it: "it";
|
|
6746
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6643
6747
|
value: z.ZodString;
|
|
6748
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6644
6749
|
}, z.core.$strip>>;
|
|
6750
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
6751
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
6645
6752
|
}, z.core.$strip>;
|
|
6646
6753
|
}, z.core.$strip>,
|
|
6647
6754
|
z.ZodObject<{
|
|
@@ -6658,6 +6765,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6658
6765
|
time: z.ZodOptional<z.ZodString>;
|
|
6659
6766
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
6660
6767
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
6768
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
6661
6769
|
}, z.core.$strip>>
|
|
6662
6770
|
]>>>;
|
|
6663
6771
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -6780,7 +6888,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6780
6888
|
}, z.core.$strip>;
|
|
6781
6889
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6782
6890
|
z.ZodEnum<{
|
|
6783
|
-
"pii-detected": "pii-detected";
|
|
6784
6891
|
blocked: "blocked";
|
|
6785
6892
|
maintenance: "maintenance";
|
|
6786
6893
|
"rate-limit": "rate-limit";
|
|
@@ -6789,12 +6896,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6789
6896
|
"too-long": "too-long";
|
|
6790
6897
|
"quota-reached": "quota-reached";
|
|
6791
6898
|
aborted: "aborted";
|
|
6899
|
+
"pii-detected": "pii-detected";
|
|
6792
6900
|
}>,
|
|
6793
6901
|
z.ZodLiteral<"sse-error">,
|
|
6794
6902
|
z.ZodLiteral<"client-error">,
|
|
6795
6903
|
z.ZodLiteral<"unexpected-call">
|
|
6796
6904
|
]>>;
|
|
6797
6905
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
6906
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6798
6907
|
state: z.ZodLiteral<"loading">;
|
|
6799
6908
|
}, z.core.$strip>,
|
|
6800
6909
|
z.ZodObject<{
|
|
@@ -6915,7 +7024,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6915
7024
|
}, z.core.$strip>;
|
|
6916
7025
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
6917
7026
|
z.ZodEnum<{
|
|
6918
|
-
"pii-detected": "pii-detected";
|
|
6919
7027
|
blocked: "blocked";
|
|
6920
7028
|
maintenance: "maintenance";
|
|
6921
7029
|
"rate-limit": "rate-limit";
|
|
@@ -6924,12 +7032,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6924
7032
|
"too-long": "too-long";
|
|
6925
7033
|
"quota-reached": "quota-reached";
|
|
6926
7034
|
aborted: "aborted";
|
|
7035
|
+
"pii-detected": "pii-detected";
|
|
6927
7036
|
}>,
|
|
6928
7037
|
z.ZodLiteral<"sse-error">,
|
|
6929
7038
|
z.ZodLiteral<"client-error">,
|
|
6930
7039
|
z.ZodLiteral<"unexpected-call">
|
|
6931
7040
|
]>>;
|
|
6932
7041
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7042
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
6933
7043
|
state: z.ZodEnum<{
|
|
6934
7044
|
streaming: "streaming";
|
|
6935
7045
|
done: "done";
|
|
@@ -6964,12 +7074,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6964
7074
|
z.ZodObject<{
|
|
6965
7075
|
componentName: z.ZodLiteral<"combobox">;
|
|
6966
7076
|
data: z.ZodObject<{
|
|
6967
|
-
caption: z.ZodOptional<z.
|
|
6968
|
-
|
|
7077
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
7078
|
+
en: "en";
|
|
7079
|
+
de: "de";
|
|
7080
|
+
fr: "fr";
|
|
7081
|
+
it: "it";
|
|
7082
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
7083
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
7084
|
+
en: "en";
|
|
7085
|
+
de: "de";
|
|
7086
|
+
fr: "fr";
|
|
7087
|
+
it: "it";
|
|
7088
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6969
7089
|
values: z.ZodArray<z.ZodObject<{
|
|
6970
|
-
label: z.
|
|
7090
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
7091
|
+
en: "en";
|
|
7092
|
+
de: "de";
|
|
7093
|
+
fr: "fr";
|
|
7094
|
+
it: "it";
|
|
7095
|
+
}> & z.core.$partial, z.ZodString>;
|
|
6971
7096
|
value: z.ZodString;
|
|
7097
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6972
7098
|
}, z.core.$strip>>;
|
|
7099
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
7100
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
6973
7101
|
}, z.core.$strip>;
|
|
6974
7102
|
}, z.core.$strip>,
|
|
6975
7103
|
z.ZodObject<{
|
|
@@ -6986,6 +7114,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6986
7114
|
time: z.ZodOptional<z.ZodString>;
|
|
6987
7115
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
6988
7116
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
7117
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
6989
7118
|
}, z.core.$strip>>
|
|
6990
7119
|
]>>>;
|
|
6991
7120
|
}, z.core.$strip>>;
|
|
@@ -7110,7 +7239,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7110
7239
|
}, z.core.$strip>;
|
|
7111
7240
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7112
7241
|
z.ZodEnum<{
|
|
7113
|
-
"pii-detected": "pii-detected";
|
|
7114
7242
|
blocked: "blocked";
|
|
7115
7243
|
maintenance: "maintenance";
|
|
7116
7244
|
"rate-limit": "rate-limit";
|
|
@@ -7119,12 +7247,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7119
7247
|
"too-long": "too-long";
|
|
7120
7248
|
"quota-reached": "quota-reached";
|
|
7121
7249
|
aborted: "aborted";
|
|
7250
|
+
"pii-detected": "pii-detected";
|
|
7122
7251
|
}>,
|
|
7123
7252
|
z.ZodLiteral<"sse-error">,
|
|
7124
7253
|
z.ZodLiteral<"client-error">,
|
|
7125
7254
|
z.ZodLiteral<"unexpected-call">
|
|
7126
7255
|
]>>;
|
|
7127
7256
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7257
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7128
7258
|
state: z.ZodLiteral<"loading">;
|
|
7129
7259
|
}, z.core.$strip>,
|
|
7130
7260
|
z.ZodObject<{
|
|
@@ -7245,7 +7375,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7245
7375
|
}, z.core.$strip>;
|
|
7246
7376
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7247
7377
|
z.ZodEnum<{
|
|
7248
|
-
"pii-detected": "pii-detected";
|
|
7249
7378
|
blocked: "blocked";
|
|
7250
7379
|
maintenance: "maintenance";
|
|
7251
7380
|
"rate-limit": "rate-limit";
|
|
@@ -7254,12 +7383,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7254
7383
|
"too-long": "too-long";
|
|
7255
7384
|
"quota-reached": "quota-reached";
|
|
7256
7385
|
aborted: "aborted";
|
|
7386
|
+
"pii-detected": "pii-detected";
|
|
7257
7387
|
}>,
|
|
7258
7388
|
z.ZodLiteral<"sse-error">,
|
|
7259
7389
|
z.ZodLiteral<"client-error">,
|
|
7260
7390
|
z.ZodLiteral<"unexpected-call">
|
|
7261
7391
|
]>>;
|
|
7262
7392
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7393
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7263
7394
|
state: z.ZodEnum<{
|
|
7264
7395
|
streaming: "streaming";
|
|
7265
7396
|
done: "done";
|
|
@@ -7294,12 +7425,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7294
7425
|
z.ZodObject<{
|
|
7295
7426
|
componentName: z.ZodLiteral<"combobox">;
|
|
7296
7427
|
data: z.ZodObject<{
|
|
7297
|
-
caption: z.ZodOptional<z.
|
|
7298
|
-
|
|
7428
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
7429
|
+
en: "en";
|
|
7430
|
+
de: "de";
|
|
7431
|
+
fr: "fr";
|
|
7432
|
+
it: "it";
|
|
7433
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
7434
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
7435
|
+
en: "en";
|
|
7436
|
+
de: "de";
|
|
7437
|
+
fr: "fr";
|
|
7438
|
+
it: "it";
|
|
7439
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7299
7440
|
values: z.ZodArray<z.ZodObject<{
|
|
7300
|
-
label: z.
|
|
7441
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
7442
|
+
en: "en";
|
|
7443
|
+
de: "de";
|
|
7444
|
+
fr: "fr";
|
|
7445
|
+
it: "it";
|
|
7446
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7301
7447
|
value: z.ZodString;
|
|
7448
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7302
7449
|
}, z.core.$strip>>;
|
|
7450
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
7451
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
7303
7452
|
}, z.core.$strip>;
|
|
7304
7453
|
}, z.core.$strip>,
|
|
7305
7454
|
z.ZodObject<{
|
|
@@ -7316,6 +7465,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7316
7465
|
time: z.ZodOptional<z.ZodString>;
|
|
7317
7466
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
7318
7467
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
7468
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
7319
7469
|
}, z.core.$strip>>
|
|
7320
7470
|
]>>>;
|
|
7321
7471
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -7438,7 +7588,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7438
7588
|
}, z.core.$strip>;
|
|
7439
7589
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7440
7590
|
z.ZodEnum<{
|
|
7441
|
-
"pii-detected": "pii-detected";
|
|
7442
7591
|
blocked: "blocked";
|
|
7443
7592
|
maintenance: "maintenance";
|
|
7444
7593
|
"rate-limit": "rate-limit";
|
|
@@ -7447,12 +7596,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7447
7596
|
"too-long": "too-long";
|
|
7448
7597
|
"quota-reached": "quota-reached";
|
|
7449
7598
|
aborted: "aborted";
|
|
7599
|
+
"pii-detected": "pii-detected";
|
|
7450
7600
|
}>,
|
|
7451
7601
|
z.ZodLiteral<"sse-error">,
|
|
7452
7602
|
z.ZodLiteral<"client-error">,
|
|
7453
7603
|
z.ZodLiteral<"unexpected-call">
|
|
7454
7604
|
]>>;
|
|
7455
7605
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7606
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7456
7607
|
state: z.ZodLiteral<"loading">;
|
|
7457
7608
|
}, z.core.$strip>,
|
|
7458
7609
|
z.ZodObject<{
|
|
@@ -7573,7 +7724,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7573
7724
|
}, z.core.$strip>;
|
|
7574
7725
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
7575
7726
|
z.ZodEnum<{
|
|
7576
|
-
"pii-detected": "pii-detected";
|
|
7577
7727
|
blocked: "blocked";
|
|
7578
7728
|
maintenance: "maintenance";
|
|
7579
7729
|
"rate-limit": "rate-limit";
|
|
@@ -7582,12 +7732,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7582
7732
|
"too-long": "too-long";
|
|
7583
7733
|
"quota-reached": "quota-reached";
|
|
7584
7734
|
aborted: "aborted";
|
|
7735
|
+
"pii-detected": "pii-detected";
|
|
7585
7736
|
}>,
|
|
7586
7737
|
z.ZodLiteral<"sse-error">,
|
|
7587
7738
|
z.ZodLiteral<"client-error">,
|
|
7588
7739
|
z.ZodLiteral<"unexpected-call">
|
|
7589
7740
|
]>>;
|
|
7590
7741
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
7742
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
7591
7743
|
state: z.ZodEnum<{
|
|
7592
7744
|
streaming: "streaming";
|
|
7593
7745
|
done: "done";
|
|
@@ -7622,12 +7774,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7622
7774
|
z.ZodObject<{
|
|
7623
7775
|
componentName: z.ZodLiteral<"combobox">;
|
|
7624
7776
|
data: z.ZodObject<{
|
|
7625
|
-
caption: z.ZodOptional<z.
|
|
7626
|
-
|
|
7777
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
7778
|
+
en: "en";
|
|
7779
|
+
de: "de";
|
|
7780
|
+
fr: "fr";
|
|
7781
|
+
it: "it";
|
|
7782
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
7783
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
7784
|
+
en: "en";
|
|
7785
|
+
de: "de";
|
|
7786
|
+
fr: "fr";
|
|
7787
|
+
it: "it";
|
|
7788
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7627
7789
|
values: z.ZodArray<z.ZodObject<{
|
|
7628
|
-
label: z.
|
|
7790
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
7791
|
+
en: "en";
|
|
7792
|
+
de: "de";
|
|
7793
|
+
fr: "fr";
|
|
7794
|
+
it: "it";
|
|
7795
|
+
}> & z.core.$partial, z.ZodString>;
|
|
7629
7796
|
value: z.ZodString;
|
|
7797
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7630
7798
|
}, z.core.$strip>>;
|
|
7799
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
7800
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
7631
7801
|
}, z.core.$strip>;
|
|
7632
7802
|
}, z.core.$strip>,
|
|
7633
7803
|
z.ZodObject<{
|
|
@@ -7644,14 +7814,16 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7644
7814
|
time: z.ZodOptional<z.ZodString>;
|
|
7645
7815
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
7646
7816
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
7817
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
7647
7818
|
}, z.core.$strip>>
|
|
7648
7819
|
]>>>;
|
|
7649
7820
|
}, z.core.$strip>>;
|
|
7650
7821
|
}, z.core.$strip>>;
|
|
7651
7822
|
contextVersion: z.ZodOptional<z.ZodNumber>;
|
|
7823
|
+
selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodString>;
|
|
7652
7824
|
}, z.core.$strip>;
|
|
7653
7825
|
export declare const chatConfigSchema: z.ZodObject<{
|
|
7654
|
-
|
|
7826
|
+
forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7655
7827
|
showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
|
|
7656
7828
|
showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
|
|
7657
7829
|
showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8053,6 +8225,8 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8053
8225
|
record: "record";
|
|
8054
8226
|
abort: "abort";
|
|
8055
8227
|
message: "message";
|
|
8228
|
+
lightMode: "lightMode";
|
|
8229
|
+
darkMode: "darkMode";
|
|
8056
8230
|
audio: "audio";
|
|
8057
8231
|
menu: "menu";
|
|
8058
8232
|
submit: "submit";
|
|
@@ -8085,14 +8259,13 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8085
8259
|
openChat: "openChat";
|
|
8086
8260
|
speechInput: "speechInput";
|
|
8087
8261
|
listUnordered: "listUnordered";
|
|
8088
|
-
lightMode: "lightMode";
|
|
8089
|
-
darkMode: "darkMode";
|
|
8090
8262
|
settings: "settings";
|
|
8091
8263
|
settingsClose: "settingsClose";
|
|
8092
8264
|
sources: "sources";
|
|
8093
8265
|
model: "model";
|
|
8094
8266
|
checkbox: "checkbox";
|
|
8095
8267
|
warning: "warning";
|
|
8268
|
+
topic: "topic";
|
|
8096
8269
|
headerLogo: "headerLogo";
|
|
8097
8270
|
embedAvatar: "embedAvatar";
|
|
8098
8271
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -8264,6 +8437,8 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8264
8437
|
record: "record";
|
|
8265
8438
|
abort: "abort";
|
|
8266
8439
|
message: "message";
|
|
8440
|
+
lightMode: "lightMode";
|
|
8441
|
+
darkMode: "darkMode";
|
|
8267
8442
|
audio: "audio";
|
|
8268
8443
|
menu: "menu";
|
|
8269
8444
|
submit: "submit";
|
|
@@ -8296,14 +8471,13 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8296
8471
|
openChat: "openChat";
|
|
8297
8472
|
speechInput: "speechInput";
|
|
8298
8473
|
listUnordered: "listUnordered";
|
|
8299
|
-
lightMode: "lightMode";
|
|
8300
|
-
darkMode: "darkMode";
|
|
8301
8474
|
settings: "settings";
|
|
8302
8475
|
settingsClose: "settingsClose";
|
|
8303
8476
|
sources: "sources";
|
|
8304
8477
|
model: "model";
|
|
8305
8478
|
checkbox: "checkbox";
|
|
8306
8479
|
warning: "warning";
|
|
8480
|
+
topic: "topic";
|
|
8307
8481
|
headerLogo: "headerLogo";
|
|
8308
8482
|
embedAvatar: "embedAvatar";
|
|
8309
8483
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -8426,6 +8600,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8426
8600
|
selectNone: z.ZodOptional<z.ZodString>;
|
|
8427
8601
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
8428
8602
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
8603
|
+
changeTopic: z.ZodOptional<z.ZodString>;
|
|
8429
8604
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8430
8605
|
name: z.ZodString;
|
|
8431
8606
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -8585,7 +8760,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8585
8760
|
}, z.core.$strip>;
|
|
8586
8761
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8587
8762
|
z.ZodEnum<{
|
|
8588
|
-
"pii-detected": "pii-detected";
|
|
8589
8763
|
blocked: "blocked";
|
|
8590
8764
|
maintenance: "maintenance";
|
|
8591
8765
|
"rate-limit": "rate-limit";
|
|
@@ -8594,12 +8768,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8594
8768
|
"too-long": "too-long";
|
|
8595
8769
|
"quota-reached": "quota-reached";
|
|
8596
8770
|
aborted: "aborted";
|
|
8771
|
+
"pii-detected": "pii-detected";
|
|
8597
8772
|
}>,
|
|
8598
8773
|
z.ZodLiteral<"sse-error">,
|
|
8599
8774
|
z.ZodLiteral<"client-error">,
|
|
8600
8775
|
z.ZodLiteral<"unexpected-call">
|
|
8601
8776
|
]>>;
|
|
8602
8777
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8778
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8603
8779
|
state: z.ZodLiteral<"loading">;
|
|
8604
8780
|
}, z.core.$strip>,
|
|
8605
8781
|
z.ZodObject<{
|
|
@@ -8720,7 +8896,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8720
8896
|
}, z.core.$strip>;
|
|
8721
8897
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8722
8898
|
z.ZodEnum<{
|
|
8723
|
-
"pii-detected": "pii-detected";
|
|
8724
8899
|
blocked: "blocked";
|
|
8725
8900
|
maintenance: "maintenance";
|
|
8726
8901
|
"rate-limit": "rate-limit";
|
|
@@ -8729,12 +8904,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8729
8904
|
"too-long": "too-long";
|
|
8730
8905
|
"quota-reached": "quota-reached";
|
|
8731
8906
|
aborted: "aborted";
|
|
8907
|
+
"pii-detected": "pii-detected";
|
|
8732
8908
|
}>,
|
|
8733
8909
|
z.ZodLiteral<"sse-error">,
|
|
8734
8910
|
z.ZodLiteral<"client-error">,
|
|
8735
8911
|
z.ZodLiteral<"unexpected-call">
|
|
8736
8912
|
]>>;
|
|
8737
8913
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
8914
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8738
8915
|
state: z.ZodEnum<{
|
|
8739
8916
|
streaming: "streaming";
|
|
8740
8917
|
done: "done";
|
|
@@ -8769,12 +8946,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8769
8946
|
z.ZodObject<{
|
|
8770
8947
|
componentName: z.ZodLiteral<"combobox">;
|
|
8771
8948
|
data: z.ZodObject<{
|
|
8772
|
-
caption: z.ZodOptional<z.
|
|
8773
|
-
|
|
8949
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
8950
|
+
en: "en";
|
|
8951
|
+
de: "de";
|
|
8952
|
+
fr: "fr";
|
|
8953
|
+
it: "it";
|
|
8954
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
8955
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
8956
|
+
en: "en";
|
|
8957
|
+
de: "de";
|
|
8958
|
+
fr: "fr";
|
|
8959
|
+
it: "it";
|
|
8960
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8774
8961
|
values: z.ZodArray<z.ZodObject<{
|
|
8775
|
-
label: z.
|
|
8962
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
8963
|
+
en: "en";
|
|
8964
|
+
de: "de";
|
|
8965
|
+
fr: "fr";
|
|
8966
|
+
it: "it";
|
|
8967
|
+
}> & z.core.$partial, z.ZodString>;
|
|
8776
8968
|
value: z.ZodString;
|
|
8969
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8777
8970
|
}, z.core.$strip>>;
|
|
8971
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
8972
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
8778
8973
|
}, z.core.$strip>;
|
|
8779
8974
|
}, z.core.$strip>,
|
|
8780
8975
|
z.ZodObject<{
|
|
@@ -8791,6 +8986,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8791
8986
|
time: z.ZodOptional<z.ZodString>;
|
|
8792
8987
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
8793
8988
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
8989
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
8794
8990
|
}, z.core.$strip>>
|
|
8795
8991
|
]>>>;
|
|
8796
8992
|
bot: z.ZodOptional<z.ZodObject<{
|
|
@@ -8914,7 +9110,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8914
9110
|
}, z.core.$strip>;
|
|
8915
9111
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
8916
9112
|
z.ZodEnum<{
|
|
8917
|
-
"pii-detected": "pii-detected";
|
|
8918
9113
|
blocked: "blocked";
|
|
8919
9114
|
maintenance: "maintenance";
|
|
8920
9115
|
"rate-limit": "rate-limit";
|
|
@@ -8923,12 +9118,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8923
9118
|
"too-long": "too-long";
|
|
8924
9119
|
"quota-reached": "quota-reached";
|
|
8925
9120
|
aborted: "aborted";
|
|
9121
|
+
"pii-detected": "pii-detected";
|
|
8926
9122
|
}>,
|
|
8927
9123
|
z.ZodLiteral<"sse-error">,
|
|
8928
9124
|
z.ZodLiteral<"client-error">,
|
|
8929
9125
|
z.ZodLiteral<"unexpected-call">
|
|
8930
9126
|
]>>;
|
|
8931
9127
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9128
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
8932
9129
|
state: z.ZodLiteral<"loading">;
|
|
8933
9130
|
}, z.core.$strip>,
|
|
8934
9131
|
z.ZodObject<{
|
|
@@ -9049,7 +9246,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9049
9246
|
}, z.core.$strip>;
|
|
9050
9247
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9051
9248
|
z.ZodEnum<{
|
|
9052
|
-
"pii-detected": "pii-detected";
|
|
9053
9249
|
blocked: "blocked";
|
|
9054
9250
|
maintenance: "maintenance";
|
|
9055
9251
|
"rate-limit": "rate-limit";
|
|
@@ -9058,12 +9254,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9058
9254
|
"too-long": "too-long";
|
|
9059
9255
|
"quota-reached": "quota-reached";
|
|
9060
9256
|
aborted: "aborted";
|
|
9257
|
+
"pii-detected": "pii-detected";
|
|
9061
9258
|
}>,
|
|
9062
9259
|
z.ZodLiteral<"sse-error">,
|
|
9063
9260
|
z.ZodLiteral<"client-error">,
|
|
9064
9261
|
z.ZodLiteral<"unexpected-call">
|
|
9065
9262
|
]>>;
|
|
9066
9263
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9264
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9067
9265
|
state: z.ZodEnum<{
|
|
9068
9266
|
streaming: "streaming";
|
|
9069
9267
|
done: "done";
|
|
@@ -9098,12 +9296,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9098
9296
|
z.ZodObject<{
|
|
9099
9297
|
componentName: z.ZodLiteral<"combobox">;
|
|
9100
9298
|
data: z.ZodObject<{
|
|
9101
|
-
caption: z.ZodOptional<z.
|
|
9102
|
-
|
|
9299
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
9300
|
+
en: "en";
|
|
9301
|
+
de: "de";
|
|
9302
|
+
fr: "fr";
|
|
9303
|
+
it: "it";
|
|
9304
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
9305
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
9306
|
+
en: "en";
|
|
9307
|
+
de: "de";
|
|
9308
|
+
fr: "fr";
|
|
9309
|
+
it: "it";
|
|
9310
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9103
9311
|
values: z.ZodArray<z.ZodObject<{
|
|
9104
|
-
label: z.
|
|
9312
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
9313
|
+
en: "en";
|
|
9314
|
+
de: "de";
|
|
9315
|
+
fr: "fr";
|
|
9316
|
+
it: "it";
|
|
9317
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9105
9318
|
value: z.ZodString;
|
|
9319
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9106
9320
|
}, z.core.$strip>>;
|
|
9321
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
9322
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
9107
9323
|
}, z.core.$strip>;
|
|
9108
9324
|
}, z.core.$strip>,
|
|
9109
9325
|
z.ZodObject<{
|
|
@@ -9120,6 +9336,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9120
9336
|
time: z.ZodOptional<z.ZodString>;
|
|
9121
9337
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
9122
9338
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
9339
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
9123
9340
|
}, z.core.$strip>>
|
|
9124
9341
|
]>>>;
|
|
9125
9342
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -9242,7 +9459,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9242
9459
|
}, z.core.$strip>;
|
|
9243
9460
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9244
9461
|
z.ZodEnum<{
|
|
9245
|
-
"pii-detected": "pii-detected";
|
|
9246
9462
|
blocked: "blocked";
|
|
9247
9463
|
maintenance: "maintenance";
|
|
9248
9464
|
"rate-limit": "rate-limit";
|
|
@@ -9251,12 +9467,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9251
9467
|
"too-long": "too-long";
|
|
9252
9468
|
"quota-reached": "quota-reached";
|
|
9253
9469
|
aborted: "aborted";
|
|
9470
|
+
"pii-detected": "pii-detected";
|
|
9254
9471
|
}>,
|
|
9255
9472
|
z.ZodLiteral<"sse-error">,
|
|
9256
9473
|
z.ZodLiteral<"client-error">,
|
|
9257
9474
|
z.ZodLiteral<"unexpected-call">
|
|
9258
9475
|
]>>;
|
|
9259
9476
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9477
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9260
9478
|
state: z.ZodLiteral<"loading">;
|
|
9261
9479
|
}, z.core.$strip>,
|
|
9262
9480
|
z.ZodObject<{
|
|
@@ -9377,7 +9595,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9377
9595
|
}, z.core.$strip>;
|
|
9378
9596
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9379
9597
|
z.ZodEnum<{
|
|
9380
|
-
"pii-detected": "pii-detected";
|
|
9381
9598
|
blocked: "blocked";
|
|
9382
9599
|
maintenance: "maintenance";
|
|
9383
9600
|
"rate-limit": "rate-limit";
|
|
@@ -9386,12 +9603,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9386
9603
|
"too-long": "too-long";
|
|
9387
9604
|
"quota-reached": "quota-reached";
|
|
9388
9605
|
aborted: "aborted";
|
|
9606
|
+
"pii-detected": "pii-detected";
|
|
9389
9607
|
}>,
|
|
9390
9608
|
z.ZodLiteral<"sse-error">,
|
|
9391
9609
|
z.ZodLiteral<"client-error">,
|
|
9392
9610
|
z.ZodLiteral<"unexpected-call">
|
|
9393
9611
|
]>>;
|
|
9394
9612
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9613
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9395
9614
|
state: z.ZodEnum<{
|
|
9396
9615
|
streaming: "streaming";
|
|
9397
9616
|
done: "done";
|
|
@@ -9426,12 +9645,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9426
9645
|
z.ZodObject<{
|
|
9427
9646
|
componentName: z.ZodLiteral<"combobox">;
|
|
9428
9647
|
data: z.ZodObject<{
|
|
9429
|
-
caption: z.ZodOptional<z.
|
|
9430
|
-
|
|
9648
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
9649
|
+
en: "en";
|
|
9650
|
+
de: "de";
|
|
9651
|
+
fr: "fr";
|
|
9652
|
+
it: "it";
|
|
9653
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
9654
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
9655
|
+
en: "en";
|
|
9656
|
+
de: "de";
|
|
9657
|
+
fr: "fr";
|
|
9658
|
+
it: "it";
|
|
9659
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9431
9660
|
values: z.ZodArray<z.ZodObject<{
|
|
9432
|
-
label: z.
|
|
9661
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
9662
|
+
en: "en";
|
|
9663
|
+
de: "de";
|
|
9664
|
+
fr: "fr";
|
|
9665
|
+
it: "it";
|
|
9666
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9433
9667
|
value: z.ZodString;
|
|
9668
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9434
9669
|
}, z.core.$strip>>;
|
|
9670
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
9671
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
9435
9672
|
}, z.core.$strip>;
|
|
9436
9673
|
}, z.core.$strip>,
|
|
9437
9674
|
z.ZodObject<{
|
|
@@ -9448,6 +9685,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9448
9685
|
time: z.ZodOptional<z.ZodString>;
|
|
9449
9686
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
9450
9687
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
9688
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
9451
9689
|
}, z.core.$strip>>
|
|
9452
9690
|
]>>>;
|
|
9453
9691
|
}, z.core.$strip>>;
|
|
@@ -9572,7 +9810,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9572
9810
|
}, z.core.$strip>;
|
|
9573
9811
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9574
9812
|
z.ZodEnum<{
|
|
9575
|
-
"pii-detected": "pii-detected";
|
|
9576
9813
|
blocked: "blocked";
|
|
9577
9814
|
maintenance: "maintenance";
|
|
9578
9815
|
"rate-limit": "rate-limit";
|
|
@@ -9581,12 +9818,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9581
9818
|
"too-long": "too-long";
|
|
9582
9819
|
"quota-reached": "quota-reached";
|
|
9583
9820
|
aborted: "aborted";
|
|
9821
|
+
"pii-detected": "pii-detected";
|
|
9584
9822
|
}>,
|
|
9585
9823
|
z.ZodLiteral<"sse-error">,
|
|
9586
9824
|
z.ZodLiteral<"client-error">,
|
|
9587
9825
|
z.ZodLiteral<"unexpected-call">
|
|
9588
9826
|
]>>;
|
|
9589
9827
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9828
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9590
9829
|
state: z.ZodLiteral<"loading">;
|
|
9591
9830
|
}, z.core.$strip>,
|
|
9592
9831
|
z.ZodObject<{
|
|
@@ -9707,7 +9946,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9707
9946
|
}, z.core.$strip>;
|
|
9708
9947
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9709
9948
|
z.ZodEnum<{
|
|
9710
|
-
"pii-detected": "pii-detected";
|
|
9711
9949
|
blocked: "blocked";
|
|
9712
9950
|
maintenance: "maintenance";
|
|
9713
9951
|
"rate-limit": "rate-limit";
|
|
@@ -9716,12 +9954,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9716
9954
|
"too-long": "too-long";
|
|
9717
9955
|
"quota-reached": "quota-reached";
|
|
9718
9956
|
aborted: "aborted";
|
|
9957
|
+
"pii-detected": "pii-detected";
|
|
9719
9958
|
}>,
|
|
9720
9959
|
z.ZodLiteral<"sse-error">,
|
|
9721
9960
|
z.ZodLiteral<"client-error">,
|
|
9722
9961
|
z.ZodLiteral<"unexpected-call">
|
|
9723
9962
|
]>>;
|
|
9724
9963
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
9964
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9725
9965
|
state: z.ZodEnum<{
|
|
9726
9966
|
streaming: "streaming";
|
|
9727
9967
|
done: "done";
|
|
@@ -9756,12 +9996,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9756
9996
|
z.ZodObject<{
|
|
9757
9997
|
componentName: z.ZodLiteral<"combobox">;
|
|
9758
9998
|
data: z.ZodObject<{
|
|
9759
|
-
caption: z.ZodOptional<z.
|
|
9760
|
-
|
|
9999
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
10000
|
+
en: "en";
|
|
10001
|
+
de: "de";
|
|
10002
|
+
fr: "fr";
|
|
10003
|
+
it: "it";
|
|
10004
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
10005
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
10006
|
+
en: "en";
|
|
10007
|
+
de: "de";
|
|
10008
|
+
fr: "fr";
|
|
10009
|
+
it: "it";
|
|
10010
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9761
10011
|
values: z.ZodArray<z.ZodObject<{
|
|
9762
|
-
label: z.
|
|
10012
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
10013
|
+
en: "en";
|
|
10014
|
+
de: "de";
|
|
10015
|
+
fr: "fr";
|
|
10016
|
+
it: "it";
|
|
10017
|
+
}> & z.core.$partial, z.ZodString>;
|
|
9763
10018
|
value: z.ZodString;
|
|
10019
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9764
10020
|
}, z.core.$strip>>;
|
|
10021
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
10022
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
9765
10023
|
}, z.core.$strip>;
|
|
9766
10024
|
}, z.core.$strip>,
|
|
9767
10025
|
z.ZodObject<{
|
|
@@ -9778,6 +10036,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9778
10036
|
time: z.ZodOptional<z.ZodString>;
|
|
9779
10037
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
9780
10038
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
10039
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
9781
10040
|
}, z.core.$strip>>
|
|
9782
10041
|
]>>>;
|
|
9783
10042
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -9900,7 +10159,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9900
10159
|
}, z.core.$strip>;
|
|
9901
10160
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
9902
10161
|
z.ZodEnum<{
|
|
9903
|
-
"pii-detected": "pii-detected";
|
|
9904
10162
|
blocked: "blocked";
|
|
9905
10163
|
maintenance: "maintenance";
|
|
9906
10164
|
"rate-limit": "rate-limit";
|
|
@@ -9909,12 +10167,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
9909
10167
|
"too-long": "too-long";
|
|
9910
10168
|
"quota-reached": "quota-reached";
|
|
9911
10169
|
aborted: "aborted";
|
|
10170
|
+
"pii-detected": "pii-detected";
|
|
9912
10171
|
}>,
|
|
9913
10172
|
z.ZodLiteral<"sse-error">,
|
|
9914
10173
|
z.ZodLiteral<"client-error">,
|
|
9915
10174
|
z.ZodLiteral<"unexpected-call">
|
|
9916
10175
|
]>>;
|
|
9917
10176
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
10177
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
9918
10178
|
state: z.ZodLiteral<"loading">;
|
|
9919
10179
|
}, z.core.$strip>,
|
|
9920
10180
|
z.ZodObject<{
|
|
@@ -10035,7 +10295,6 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10035
10295
|
}, z.core.$strip>;
|
|
10036
10296
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
10037
10297
|
z.ZodEnum<{
|
|
10038
|
-
"pii-detected": "pii-detected";
|
|
10039
10298
|
blocked: "blocked";
|
|
10040
10299
|
maintenance: "maintenance";
|
|
10041
10300
|
"rate-limit": "rate-limit";
|
|
@@ -10044,12 +10303,14 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10044
10303
|
"too-long": "too-long";
|
|
10045
10304
|
"quota-reached": "quota-reached";
|
|
10046
10305
|
aborted: "aborted";
|
|
10306
|
+
"pii-detected": "pii-detected";
|
|
10047
10307
|
}>,
|
|
10048
10308
|
z.ZodLiteral<"sse-error">,
|
|
10049
10309
|
z.ZodLiteral<"client-error">,
|
|
10050
10310
|
z.ZodLiteral<"unexpected-call">
|
|
10051
10311
|
]>>;
|
|
10052
10312
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
10313
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
10053
10314
|
state: z.ZodEnum<{
|
|
10054
10315
|
streaming: "streaming";
|
|
10055
10316
|
done: "done";
|
|
@@ -10084,12 +10345,30 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10084
10345
|
z.ZodObject<{
|
|
10085
10346
|
componentName: z.ZodLiteral<"combobox">;
|
|
10086
10347
|
data: z.ZodObject<{
|
|
10087
|
-
caption: z.ZodOptional<z.
|
|
10088
|
-
|
|
10348
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
10349
|
+
en: "en";
|
|
10350
|
+
de: "de";
|
|
10351
|
+
fr: "fr";
|
|
10352
|
+
it: "it";
|
|
10353
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
10354
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
10355
|
+
en: "en";
|
|
10356
|
+
de: "de";
|
|
10357
|
+
fr: "fr";
|
|
10358
|
+
it: "it";
|
|
10359
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10089
10360
|
values: z.ZodArray<z.ZodObject<{
|
|
10090
|
-
label: z.
|
|
10361
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
10362
|
+
en: "en";
|
|
10363
|
+
de: "de";
|
|
10364
|
+
fr: "fr";
|
|
10365
|
+
it: "it";
|
|
10366
|
+
}> & z.core.$partial, z.ZodString>;
|
|
10091
10367
|
value: z.ZodString;
|
|
10368
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10092
10369
|
}, z.core.$strip>>;
|
|
10370
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
10371
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
10093
10372
|
}, z.core.$strip>;
|
|
10094
10373
|
}, z.core.$strip>,
|
|
10095
10374
|
z.ZodObject<{
|
|
@@ -10106,14 +10385,16 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10106
10385
|
time: z.ZodOptional<z.ZodString>;
|
|
10107
10386
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
10108
10387
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
10388
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
10109
10389
|
}, z.core.$strip>>
|
|
10110
10390
|
]>>>;
|
|
10111
10391
|
}, z.core.$strip>>;
|
|
10112
10392
|
}, z.core.$strip>>>;
|
|
10113
10393
|
contextVersion: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10394
|
+
selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10114
10395
|
}, z.core.$strip>;
|
|
10115
10396
|
export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.ZodObject<{
|
|
10116
|
-
|
|
10397
|
+
forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10117
10398
|
showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
|
|
10118
10399
|
showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
|
|
10119
10400
|
showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10515,6 +10796,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10515
10796
|
record: "record";
|
|
10516
10797
|
abort: "abort";
|
|
10517
10798
|
message: "message";
|
|
10799
|
+
lightMode: "lightMode";
|
|
10800
|
+
darkMode: "darkMode";
|
|
10518
10801
|
audio: "audio";
|
|
10519
10802
|
menu: "menu";
|
|
10520
10803
|
submit: "submit";
|
|
@@ -10547,14 +10830,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10547
10830
|
openChat: "openChat";
|
|
10548
10831
|
speechInput: "speechInput";
|
|
10549
10832
|
listUnordered: "listUnordered";
|
|
10550
|
-
lightMode: "lightMode";
|
|
10551
|
-
darkMode: "darkMode";
|
|
10552
10833
|
settings: "settings";
|
|
10553
10834
|
settingsClose: "settingsClose";
|
|
10554
10835
|
sources: "sources";
|
|
10555
10836
|
model: "model";
|
|
10556
10837
|
checkbox: "checkbox";
|
|
10557
10838
|
warning: "warning";
|
|
10839
|
+
topic: "topic";
|
|
10558
10840
|
headerLogo: "headerLogo";
|
|
10559
10841
|
embedAvatar: "embedAvatar";
|
|
10560
10842
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -10726,6 +11008,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10726
11008
|
record: "record";
|
|
10727
11009
|
abort: "abort";
|
|
10728
11010
|
message: "message";
|
|
11011
|
+
lightMode: "lightMode";
|
|
11012
|
+
darkMode: "darkMode";
|
|
10729
11013
|
audio: "audio";
|
|
10730
11014
|
menu: "menu";
|
|
10731
11015
|
submit: "submit";
|
|
@@ -10758,14 +11042,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10758
11042
|
openChat: "openChat";
|
|
10759
11043
|
speechInput: "speechInput";
|
|
10760
11044
|
listUnordered: "listUnordered";
|
|
10761
|
-
lightMode: "lightMode";
|
|
10762
|
-
darkMode: "darkMode";
|
|
10763
11045
|
settings: "settings";
|
|
10764
11046
|
settingsClose: "settingsClose";
|
|
10765
11047
|
sources: "sources";
|
|
10766
11048
|
model: "model";
|
|
10767
11049
|
checkbox: "checkbox";
|
|
10768
11050
|
warning: "warning";
|
|
11051
|
+
topic: "topic";
|
|
10769
11052
|
headerLogo: "headerLogo";
|
|
10770
11053
|
embedAvatar: "embedAvatar";
|
|
10771
11054
|
}> & z.core.$partial, z.ZodString>>;
|
|
@@ -10888,6 +11171,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
10888
11171
|
selectNone: z.ZodOptional<z.ZodString>;
|
|
10889
11172
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
10890
11173
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
11174
|
+
changeTopic: z.ZodOptional<z.ZodString>;
|
|
10891
11175
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10892
11176
|
name: z.ZodString;
|
|
10893
11177
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -11047,7 +11331,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11047
11331
|
}, z.core.$strip>;
|
|
11048
11332
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11049
11333
|
z.ZodEnum<{
|
|
11050
|
-
"pii-detected": "pii-detected";
|
|
11051
11334
|
blocked: "blocked";
|
|
11052
11335
|
maintenance: "maintenance";
|
|
11053
11336
|
"rate-limit": "rate-limit";
|
|
@@ -11056,12 +11339,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11056
11339
|
"too-long": "too-long";
|
|
11057
11340
|
"quota-reached": "quota-reached";
|
|
11058
11341
|
aborted: "aborted";
|
|
11342
|
+
"pii-detected": "pii-detected";
|
|
11059
11343
|
}>,
|
|
11060
11344
|
z.ZodLiteral<"sse-error">,
|
|
11061
11345
|
z.ZodLiteral<"client-error">,
|
|
11062
11346
|
z.ZodLiteral<"unexpected-call">
|
|
11063
11347
|
]>>;
|
|
11064
11348
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
11349
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11065
11350
|
state: z.ZodLiteral<"loading">;
|
|
11066
11351
|
}, z.core.$strip>,
|
|
11067
11352
|
z.ZodObject<{
|
|
@@ -11182,7 +11467,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11182
11467
|
}, z.core.$strip>;
|
|
11183
11468
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11184
11469
|
z.ZodEnum<{
|
|
11185
|
-
"pii-detected": "pii-detected";
|
|
11186
11470
|
blocked: "blocked";
|
|
11187
11471
|
maintenance: "maintenance";
|
|
11188
11472
|
"rate-limit": "rate-limit";
|
|
@@ -11191,12 +11475,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11191
11475
|
"too-long": "too-long";
|
|
11192
11476
|
"quota-reached": "quota-reached";
|
|
11193
11477
|
aborted: "aborted";
|
|
11478
|
+
"pii-detected": "pii-detected";
|
|
11194
11479
|
}>,
|
|
11195
11480
|
z.ZodLiteral<"sse-error">,
|
|
11196
11481
|
z.ZodLiteral<"client-error">,
|
|
11197
11482
|
z.ZodLiteral<"unexpected-call">
|
|
11198
11483
|
]>>;
|
|
11199
11484
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
11485
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11200
11486
|
state: z.ZodEnum<{
|
|
11201
11487
|
streaming: "streaming";
|
|
11202
11488
|
done: "done";
|
|
@@ -11231,12 +11517,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11231
11517
|
z.ZodObject<{
|
|
11232
11518
|
componentName: z.ZodLiteral<"combobox">;
|
|
11233
11519
|
data: z.ZodObject<{
|
|
11234
|
-
caption: z.ZodOptional<z.
|
|
11235
|
-
|
|
11520
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
11521
|
+
en: "en";
|
|
11522
|
+
de: "de";
|
|
11523
|
+
fr: "fr";
|
|
11524
|
+
it: "it";
|
|
11525
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
11526
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
11527
|
+
en: "en";
|
|
11528
|
+
de: "de";
|
|
11529
|
+
fr: "fr";
|
|
11530
|
+
it: "it";
|
|
11531
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11236
11532
|
values: z.ZodArray<z.ZodObject<{
|
|
11237
|
-
label: z.
|
|
11533
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
11534
|
+
en: "en";
|
|
11535
|
+
de: "de";
|
|
11536
|
+
fr: "fr";
|
|
11537
|
+
it: "it";
|
|
11538
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11238
11539
|
value: z.ZodString;
|
|
11540
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11239
11541
|
}, z.core.$strip>>;
|
|
11542
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
11543
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
11240
11544
|
}, z.core.$strip>;
|
|
11241
11545
|
}, z.core.$strip>,
|
|
11242
11546
|
z.ZodObject<{
|
|
@@ -11253,6 +11557,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11253
11557
|
time: z.ZodOptional<z.ZodString>;
|
|
11254
11558
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
11255
11559
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
11560
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
11256
11561
|
}, z.core.$strip>>
|
|
11257
11562
|
]>>>;
|
|
11258
11563
|
bot: z.ZodOptional<z.ZodObject<{
|
|
@@ -11376,7 +11681,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11376
11681
|
}, z.core.$strip>;
|
|
11377
11682
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11378
11683
|
z.ZodEnum<{
|
|
11379
|
-
"pii-detected": "pii-detected";
|
|
11380
11684
|
blocked: "blocked";
|
|
11381
11685
|
maintenance: "maintenance";
|
|
11382
11686
|
"rate-limit": "rate-limit";
|
|
@@ -11385,12 +11689,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11385
11689
|
"too-long": "too-long";
|
|
11386
11690
|
"quota-reached": "quota-reached";
|
|
11387
11691
|
aborted: "aborted";
|
|
11692
|
+
"pii-detected": "pii-detected";
|
|
11388
11693
|
}>,
|
|
11389
11694
|
z.ZodLiteral<"sse-error">,
|
|
11390
11695
|
z.ZodLiteral<"client-error">,
|
|
11391
11696
|
z.ZodLiteral<"unexpected-call">
|
|
11392
11697
|
]>>;
|
|
11393
11698
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
11699
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11394
11700
|
state: z.ZodLiteral<"loading">;
|
|
11395
11701
|
}, z.core.$strip>,
|
|
11396
11702
|
z.ZodObject<{
|
|
@@ -11511,7 +11817,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11511
11817
|
}, z.core.$strip>;
|
|
11512
11818
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11513
11819
|
z.ZodEnum<{
|
|
11514
|
-
"pii-detected": "pii-detected";
|
|
11515
11820
|
blocked: "blocked";
|
|
11516
11821
|
maintenance: "maintenance";
|
|
11517
11822
|
"rate-limit": "rate-limit";
|
|
@@ -11520,12 +11825,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11520
11825
|
"too-long": "too-long";
|
|
11521
11826
|
"quota-reached": "quota-reached";
|
|
11522
11827
|
aborted: "aborted";
|
|
11828
|
+
"pii-detected": "pii-detected";
|
|
11523
11829
|
}>,
|
|
11524
11830
|
z.ZodLiteral<"sse-error">,
|
|
11525
11831
|
z.ZodLiteral<"client-error">,
|
|
11526
11832
|
z.ZodLiteral<"unexpected-call">
|
|
11527
11833
|
]>>;
|
|
11528
11834
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
11835
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11529
11836
|
state: z.ZodEnum<{
|
|
11530
11837
|
streaming: "streaming";
|
|
11531
11838
|
done: "done";
|
|
@@ -11560,12 +11867,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11560
11867
|
z.ZodObject<{
|
|
11561
11868
|
componentName: z.ZodLiteral<"combobox">;
|
|
11562
11869
|
data: z.ZodObject<{
|
|
11563
|
-
caption: z.ZodOptional<z.
|
|
11564
|
-
|
|
11870
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
11871
|
+
en: "en";
|
|
11872
|
+
de: "de";
|
|
11873
|
+
fr: "fr";
|
|
11874
|
+
it: "it";
|
|
11875
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
11876
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
11877
|
+
en: "en";
|
|
11878
|
+
de: "de";
|
|
11879
|
+
fr: "fr";
|
|
11880
|
+
it: "it";
|
|
11881
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11565
11882
|
values: z.ZodArray<z.ZodObject<{
|
|
11566
|
-
label: z.
|
|
11883
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
11884
|
+
en: "en";
|
|
11885
|
+
de: "de";
|
|
11886
|
+
fr: "fr";
|
|
11887
|
+
it: "it";
|
|
11888
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11567
11889
|
value: z.ZodString;
|
|
11890
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11568
11891
|
}, z.core.$strip>>;
|
|
11892
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
11893
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
11569
11894
|
}, z.core.$strip>;
|
|
11570
11895
|
}, z.core.$strip>,
|
|
11571
11896
|
z.ZodObject<{
|
|
@@ -11582,6 +11907,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11582
11907
|
time: z.ZodOptional<z.ZodString>;
|
|
11583
11908
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
11584
11909
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
11910
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
11585
11911
|
}, z.core.$strip>>
|
|
11586
11912
|
]>>>;
|
|
11587
11913
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -11704,7 +12030,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11704
12030
|
}, z.core.$strip>;
|
|
11705
12031
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11706
12032
|
z.ZodEnum<{
|
|
11707
|
-
"pii-detected": "pii-detected";
|
|
11708
12033
|
blocked: "blocked";
|
|
11709
12034
|
maintenance: "maintenance";
|
|
11710
12035
|
"rate-limit": "rate-limit";
|
|
@@ -11713,12 +12038,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11713
12038
|
"too-long": "too-long";
|
|
11714
12039
|
"quota-reached": "quota-reached";
|
|
11715
12040
|
aborted: "aborted";
|
|
12041
|
+
"pii-detected": "pii-detected";
|
|
11716
12042
|
}>,
|
|
11717
12043
|
z.ZodLiteral<"sse-error">,
|
|
11718
12044
|
z.ZodLiteral<"client-error">,
|
|
11719
12045
|
z.ZodLiteral<"unexpected-call">
|
|
11720
12046
|
]>>;
|
|
11721
12047
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12048
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11722
12049
|
state: z.ZodLiteral<"loading">;
|
|
11723
12050
|
}, z.core.$strip>,
|
|
11724
12051
|
z.ZodObject<{
|
|
@@ -11839,7 +12166,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11839
12166
|
}, z.core.$strip>;
|
|
11840
12167
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
11841
12168
|
z.ZodEnum<{
|
|
11842
|
-
"pii-detected": "pii-detected";
|
|
11843
12169
|
blocked: "blocked";
|
|
11844
12170
|
maintenance: "maintenance";
|
|
11845
12171
|
"rate-limit": "rate-limit";
|
|
@@ -11848,12 +12174,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11848
12174
|
"too-long": "too-long";
|
|
11849
12175
|
"quota-reached": "quota-reached";
|
|
11850
12176
|
aborted: "aborted";
|
|
12177
|
+
"pii-detected": "pii-detected";
|
|
11851
12178
|
}>,
|
|
11852
12179
|
z.ZodLiteral<"sse-error">,
|
|
11853
12180
|
z.ZodLiteral<"client-error">,
|
|
11854
12181
|
z.ZodLiteral<"unexpected-call">
|
|
11855
12182
|
]>>;
|
|
11856
12183
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12184
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
11857
12185
|
state: z.ZodEnum<{
|
|
11858
12186
|
streaming: "streaming";
|
|
11859
12187
|
done: "done";
|
|
@@ -11888,12 +12216,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11888
12216
|
z.ZodObject<{
|
|
11889
12217
|
componentName: z.ZodLiteral<"combobox">;
|
|
11890
12218
|
data: z.ZodObject<{
|
|
11891
|
-
caption: z.ZodOptional<z.
|
|
11892
|
-
|
|
12219
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
12220
|
+
en: "en";
|
|
12221
|
+
de: "de";
|
|
12222
|
+
fr: "fr";
|
|
12223
|
+
it: "it";
|
|
12224
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
12225
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
12226
|
+
en: "en";
|
|
12227
|
+
de: "de";
|
|
12228
|
+
fr: "fr";
|
|
12229
|
+
it: "it";
|
|
12230
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11893
12231
|
values: z.ZodArray<z.ZodObject<{
|
|
11894
|
-
label: z.
|
|
12232
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
12233
|
+
en: "en";
|
|
12234
|
+
de: "de";
|
|
12235
|
+
fr: "fr";
|
|
12236
|
+
it: "it";
|
|
12237
|
+
}> & z.core.$partial, z.ZodString>;
|
|
11895
12238
|
value: z.ZodString;
|
|
12239
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11896
12240
|
}, z.core.$strip>>;
|
|
12241
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
12242
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
11897
12243
|
}, z.core.$strip>;
|
|
11898
12244
|
}, z.core.$strip>,
|
|
11899
12245
|
z.ZodObject<{
|
|
@@ -11910,6 +12256,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11910
12256
|
time: z.ZodOptional<z.ZodString>;
|
|
11911
12257
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
11912
12258
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
12259
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
11913
12260
|
}, z.core.$strip>>
|
|
11914
12261
|
]>>>;
|
|
11915
12262
|
}, z.core.$strip>>;
|
|
@@ -12034,7 +12381,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12034
12381
|
}, z.core.$strip>;
|
|
12035
12382
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
12036
12383
|
z.ZodEnum<{
|
|
12037
|
-
"pii-detected": "pii-detected";
|
|
12038
12384
|
blocked: "blocked";
|
|
12039
12385
|
maintenance: "maintenance";
|
|
12040
12386
|
"rate-limit": "rate-limit";
|
|
@@ -12043,12 +12389,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12043
12389
|
"too-long": "too-long";
|
|
12044
12390
|
"quota-reached": "quota-reached";
|
|
12045
12391
|
aborted: "aborted";
|
|
12392
|
+
"pii-detected": "pii-detected";
|
|
12046
12393
|
}>,
|
|
12047
12394
|
z.ZodLiteral<"sse-error">,
|
|
12048
12395
|
z.ZodLiteral<"client-error">,
|
|
12049
12396
|
z.ZodLiteral<"unexpected-call">
|
|
12050
12397
|
]>>;
|
|
12051
12398
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12399
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
12052
12400
|
state: z.ZodLiteral<"loading">;
|
|
12053
12401
|
}, z.core.$strip>,
|
|
12054
12402
|
z.ZodObject<{
|
|
@@ -12169,7 +12517,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12169
12517
|
}, z.core.$strip>;
|
|
12170
12518
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
12171
12519
|
z.ZodEnum<{
|
|
12172
|
-
"pii-detected": "pii-detected";
|
|
12173
12520
|
blocked: "blocked";
|
|
12174
12521
|
maintenance: "maintenance";
|
|
12175
12522
|
"rate-limit": "rate-limit";
|
|
@@ -12178,12 +12525,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12178
12525
|
"too-long": "too-long";
|
|
12179
12526
|
"quota-reached": "quota-reached";
|
|
12180
12527
|
aborted: "aborted";
|
|
12528
|
+
"pii-detected": "pii-detected";
|
|
12181
12529
|
}>,
|
|
12182
12530
|
z.ZodLiteral<"sse-error">,
|
|
12183
12531
|
z.ZodLiteral<"client-error">,
|
|
12184
12532
|
z.ZodLiteral<"unexpected-call">
|
|
12185
12533
|
]>>;
|
|
12186
12534
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12535
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
12187
12536
|
state: z.ZodEnum<{
|
|
12188
12537
|
streaming: "streaming";
|
|
12189
12538
|
done: "done";
|
|
@@ -12218,12 +12567,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12218
12567
|
z.ZodObject<{
|
|
12219
12568
|
componentName: z.ZodLiteral<"combobox">;
|
|
12220
12569
|
data: z.ZodObject<{
|
|
12221
|
-
caption: z.ZodOptional<z.
|
|
12222
|
-
|
|
12570
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
12571
|
+
en: "en";
|
|
12572
|
+
de: "de";
|
|
12573
|
+
fr: "fr";
|
|
12574
|
+
it: "it";
|
|
12575
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
12576
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
12577
|
+
en: "en";
|
|
12578
|
+
de: "de";
|
|
12579
|
+
fr: "fr";
|
|
12580
|
+
it: "it";
|
|
12581
|
+
}> & z.core.$partial, z.ZodString>;
|
|
12223
12582
|
values: z.ZodArray<z.ZodObject<{
|
|
12224
|
-
label: z.
|
|
12583
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
12584
|
+
en: "en";
|
|
12585
|
+
de: "de";
|
|
12586
|
+
fr: "fr";
|
|
12587
|
+
it: "it";
|
|
12588
|
+
}> & z.core.$partial, z.ZodString>;
|
|
12225
12589
|
value: z.ZodString;
|
|
12590
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12226
12591
|
}, z.core.$strip>>;
|
|
12592
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
12593
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
12227
12594
|
}, z.core.$strip>;
|
|
12228
12595
|
}, z.core.$strip>,
|
|
12229
12596
|
z.ZodObject<{
|
|
@@ -12240,6 +12607,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12240
12607
|
time: z.ZodOptional<z.ZodString>;
|
|
12241
12608
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
12242
12609
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
12610
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
12243
12611
|
}, z.core.$strip>>
|
|
12244
12612
|
]>>>;
|
|
12245
12613
|
after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
@@ -12362,7 +12730,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12362
12730
|
}, z.core.$strip>;
|
|
12363
12731
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
12364
12732
|
z.ZodEnum<{
|
|
12365
|
-
"pii-detected": "pii-detected";
|
|
12366
12733
|
blocked: "blocked";
|
|
12367
12734
|
maintenance: "maintenance";
|
|
12368
12735
|
"rate-limit": "rate-limit";
|
|
@@ -12371,12 +12738,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12371
12738
|
"too-long": "too-long";
|
|
12372
12739
|
"quota-reached": "quota-reached";
|
|
12373
12740
|
aborted: "aborted";
|
|
12741
|
+
"pii-detected": "pii-detected";
|
|
12374
12742
|
}>,
|
|
12375
12743
|
z.ZodLiteral<"sse-error">,
|
|
12376
12744
|
z.ZodLiteral<"client-error">,
|
|
12377
12745
|
z.ZodLiteral<"unexpected-call">
|
|
12378
12746
|
]>>;
|
|
12379
12747
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12748
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
12380
12749
|
state: z.ZodLiteral<"loading">;
|
|
12381
12750
|
}, z.core.$strip>,
|
|
12382
12751
|
z.ZodObject<{
|
|
@@ -12497,7 +12866,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12497
12866
|
}, z.core.$strip>;
|
|
12498
12867
|
errors: z.ZodArray<z.ZodUnion<readonly [
|
|
12499
12868
|
z.ZodEnum<{
|
|
12500
|
-
"pii-detected": "pii-detected";
|
|
12501
12869
|
blocked: "blocked";
|
|
12502
12870
|
maintenance: "maintenance";
|
|
12503
12871
|
"rate-limit": "rate-limit";
|
|
@@ -12506,12 +12874,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12506
12874
|
"too-long": "too-long";
|
|
12507
12875
|
"quota-reached": "quota-reached";
|
|
12508
12876
|
aborted: "aborted";
|
|
12877
|
+
"pii-detected": "pii-detected";
|
|
12509
12878
|
}>,
|
|
12510
12879
|
z.ZodLiteral<"sse-error">,
|
|
12511
12880
|
z.ZodLiteral<"client-error">,
|
|
12512
12881
|
z.ZodLiteral<"unexpected-call">
|
|
12513
12882
|
]>>;
|
|
12514
12883
|
retrievalQuestion: z.ZodOptional<z.ZodString>;
|
|
12884
|
+
noFeedback: z.ZodOptional<z.ZodBoolean>;
|
|
12515
12885
|
state: z.ZodEnum<{
|
|
12516
12886
|
streaming: "streaming";
|
|
12517
12887
|
done: "done";
|
|
@@ -12546,12 +12916,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12546
12916
|
z.ZodObject<{
|
|
12547
12917
|
componentName: z.ZodLiteral<"combobox">;
|
|
12548
12918
|
data: z.ZodObject<{
|
|
12549
|
-
caption: z.ZodOptional<z.
|
|
12550
|
-
|
|
12919
|
+
caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
12920
|
+
en: "en";
|
|
12921
|
+
de: "de";
|
|
12922
|
+
fr: "fr";
|
|
12923
|
+
it: "it";
|
|
12924
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
12925
|
+
placeholder: z.ZodRecord<z.ZodEnum<{
|
|
12926
|
+
en: "en";
|
|
12927
|
+
de: "de";
|
|
12928
|
+
fr: "fr";
|
|
12929
|
+
it: "it";
|
|
12930
|
+
}> & z.core.$partial, z.ZodString>;
|
|
12551
12931
|
values: z.ZodArray<z.ZodObject<{
|
|
12552
|
-
label: z.
|
|
12932
|
+
label: z.ZodRecord<z.ZodEnum<{
|
|
12933
|
+
en: "en";
|
|
12934
|
+
de: "de";
|
|
12935
|
+
fr: "fr";
|
|
12936
|
+
it: "it";
|
|
12937
|
+
}> & z.core.$partial, z.ZodString>;
|
|
12553
12938
|
value: z.ZodString;
|
|
12939
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12554
12940
|
}, z.core.$strip>>;
|
|
12941
|
+
removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
|
|
12942
|
+
selectorKey: z.ZodOptional<z.ZodString>;
|
|
12555
12943
|
}, z.core.$strip>;
|
|
12556
12944
|
}, z.core.$strip>,
|
|
12557
12945
|
z.ZodObject<{
|
|
@@ -12568,11 +12956,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
12568
12956
|
time: z.ZodOptional<z.ZodString>;
|
|
12569
12957
|
hideAvatar: z.ZodOptional<z.ZodBoolean>;
|
|
12570
12958
|
noSectionPadding: z.ZodOptional<z.ZodBoolean>;
|
|
12959
|
+
hideChatInput: z.ZodOptional<z.ZodBoolean>;
|
|
12571
12960
|
}, z.core.$strip>>
|
|
12572
12961
|
]>>>;
|
|
12573
12962
|
}, z.core.$strip>>;
|
|
12574
12963
|
}, z.core.$strip>>>;
|
|
12575
12964
|
contextVersion: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
12965
|
+
selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12576
12966
|
}, z.core.$strip>, z.ZodObject<{
|
|
12577
12967
|
theme: z.ZodOptional<z.ZodObject<{
|
|
12578
12968
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12587,6 +12977,7 @@ export type UserDataResponse = z.infer<typeof userDataResponseSchema>;
|
|
|
12587
12977
|
export type FullTranslations = z.infer<typeof fullTranslations>;
|
|
12588
12978
|
export type CompleteChatConfig = z.infer<typeof completeChatConfigSchema>;
|
|
12589
12979
|
export type SelectorConfig = z.infer<typeof chatSelectorConfigSchema>;
|
|
12980
|
+
export type SelectedTopic = z.infer<typeof selectedTopicSchema>;
|
|
12590
12981
|
export type ChatConfig = z.infer<typeof chatConfigSchema>;
|
|
12591
12982
|
type Constructor$1<T, Arguments extends unknown[] = any[]> = new (...arguments_: Arguments) => T;
|
|
12592
12983
|
export type SseSubscriptionOptions = {
|
|
@@ -12601,7 +12992,7 @@ declare class SseSubscription {
|
|
|
12601
12992
|
private payload?;
|
|
12602
12993
|
private readonly eventSource;
|
|
12603
12994
|
private triggeredOnClose;
|
|
12604
|
-
constructor(url: string, options: SseSubscriptionOptions, payload?: Record<string,
|
|
12995
|
+
constructor(url: string, options: SseSubscriptionOptions, payload?: Record<string, unknown> | undefined);
|
|
12605
12996
|
isClosed(): boolean;
|
|
12606
12997
|
close(): void;
|
|
12607
12998
|
}
|
|
@@ -12617,7 +13008,7 @@ declare class RestClient {
|
|
|
12617
13008
|
constructor(options: RestClientOptions);
|
|
12618
13009
|
private getDefaultHeaders;
|
|
12619
13010
|
get speechRecognitionApiKey(): string | undefined;
|
|
12620
|
-
subscribeSse(path: string, params: Record<string,
|
|
13011
|
+
subscribeSse(path: string, params: Record<string, unknown> | undefined, options: Omit<SseSubscriptionOptions, "EventSource">): Promise<SseSubscription>;
|
|
12621
13012
|
fetchData<Return>(path: string, validator: ZodType<Return>, params?: Record<string, string | undefined>, options?: RequestInit): Promise<Return>;
|
|
12622
13013
|
postData<T>(path: string, body: T): Promise<Response>;
|
|
12623
13014
|
postFormData(path: string, formData: FormData): Promise<Response>;
|
|
@@ -12685,15 +13076,25 @@ export type ChatOptions = {
|
|
|
12685
13076
|
features?: string[];
|
|
12686
13077
|
version?: string;
|
|
12687
13078
|
referrer?: string;
|
|
12688
|
-
selectorValues?: Record<string, string | string[]
|
|
13079
|
+
selectorValues?: Record<string, string | string[] | Record<string, unknown>>;
|
|
13080
|
+
predefinedQuestionId?: string;
|
|
13081
|
+
switchQuestionId?: string;
|
|
12689
13082
|
onError?: OnError;
|
|
12690
13083
|
onMessage?: (message: SseMessageV2) => void;
|
|
13084
|
+
onEmbed?: (embed: ChatMessageEmbed) => void;
|
|
12691
13085
|
};
|
|
12692
13086
|
export type SearchOptions = {
|
|
12693
13087
|
model?: string;
|
|
12694
13088
|
language?: string;
|
|
12695
13089
|
features?: string[];
|
|
12696
13090
|
};
|
|
13091
|
+
export type UserActionType = "newDiscussion";
|
|
13092
|
+
export type UserActionRequest = {
|
|
13093
|
+
uID: string;
|
|
13094
|
+
cID?: string;
|
|
13095
|
+
lang?: string;
|
|
13096
|
+
userAction: UserActionType;
|
|
13097
|
+
};
|
|
12697
13098
|
export type QuickFeedbackType = "positive" | "negative";
|
|
12698
13099
|
export type QuickFeedback = {
|
|
12699
13100
|
messageId?: string;
|
|
@@ -12761,6 +13162,10 @@ declare class LiipGPTClientPrimitive {
|
|
|
12761
13162
|
thumbsUp(requestId: string, question: string): Promise<void>;
|
|
12762
13163
|
thumbsDown(requestId: string, question: string): Promise<void>;
|
|
12763
13164
|
feedback(requestId: string, question: string, feedback: Feedback): Promise<void>;
|
|
13165
|
+
userAction(userAction: UserActionType, options?: {
|
|
13166
|
+
conversationId?: string;
|
|
13167
|
+
lang?: string;
|
|
13168
|
+
}): Promise<void>;
|
|
12764
13169
|
search(query: string, options?: SearchOptions): Promise<SearchResponse>;
|
|
12765
13170
|
getChatConfig(): Promise<ChatConfig>;
|
|
12766
13171
|
getPredefinedQuestions(params: PredefinedQuestionsParams): Promise<PredefinedQuestion[]>;
|