@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.
Files changed (40) hide show
  1. package/button/liipgpt-button.iife.js +36 -29
  2. package/chat/liipgpt-chat.iife.js +27 -20
  3. package/config/index.cjs +187 -169
  4. package/config/index.d.ts +142 -27
  5. package/config/index.js +187 -169
  6. package/configurator/_app/env.js +1 -1
  7. package/configurator/_app/immutable/chunks/BxKMs1I8.js +1 -0
  8. package/configurator/_app/immutable/chunks/CTfJzKVa.js +1 -0
  9. package/configurator/_app/immutable/chunks/{Aky8NYt2.js → CTzwhpj8.js} +1 -1
  10. package/configurator/_app/immutable/chunks/CWcBN6O4.js +1 -0
  11. package/configurator/_app/immutable/chunks/{C4ZlxhXX.js → CZtIlAOR.js} +1 -1
  12. package/configurator/_app/immutable/chunks/{DEv5Ueqk.js → CabPM0Ap.js} +9 -2
  13. package/configurator/_app/immutable/chunks/D-Grdat-.js +89 -0
  14. package/configurator/_app/immutable/chunks/D4_PZTQK.js +1 -0
  15. package/configurator/_app/immutable/chunks/DOSn06Ce.js +16 -0
  16. package/configurator/_app/immutable/chunks/IgoyT4Lq.js +143 -0
  17. package/configurator/_app/immutable/chunks/Nv9VA5OP.js +1 -0
  18. package/configurator/_app/immutable/entry/{app.DLs4bOza.js → app.BAf4MomM.js} +2 -2
  19. package/configurator/_app/immutable/entry/start.BcnC7b6j.js +1 -0
  20. package/configurator/_app/immutable/nodes/{0.DCHCWgXZ.js → 0.aATc5D3u.js} +4 -3
  21. package/configurator/_app/immutable/nodes/{1.CcZ1ET52.js → 1.DAZ8_HBw.js} +1 -1
  22. package/configurator/_app/immutable/nodes/{2.DGF0qlHx.js → 2.CLnAd2XI.js} +6 -6
  23. package/configurator/_app/immutable/nodes/3.gGHjwkkz.js +954 -0
  24. package/configurator/_app/version.json +1 -1
  25. package/configurator/index.html +6 -6
  26. package/configurator/sidebar.html +6 -6
  27. package/index.cjs +356 -182
  28. package/index.d.ts +515 -107
  29. package/index.js +356 -182
  30. package/package.json +1 -1
  31. package/configurator/_app/immutable/chunks/B2nEw14K.js +0 -16
  32. package/configurator/_app/immutable/chunks/Bcw1oG1H.js +0 -1
  33. package/configurator/_app/immutable/chunks/Blkti-XN.js +0 -1
  34. package/configurator/_app/immutable/chunks/C3rp2svQ.js +0 -1
  35. package/configurator/_app/immutable/chunks/CIVgedTF.js +0 -89
  36. package/configurator/_app/immutable/chunks/CigDOVQy.js +0 -1
  37. package/configurator/_app/immutable/chunks/DHhAEuq1.js +0 -143
  38. package/configurator/_app/immutable/chunks/yCCeOvA4.js +0 -1
  39. package/configurator/_app/immutable/entry/start.CrvhSXON.js +0 -1
  40. 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.ZodString>;
3748
- placeholder: z.ZodString;
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.ZodString;
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";
@@ -3781,7 +3801,9 @@ export declare const routeSchema: z.ZodDiscriminatedUnion<[
3781
3801
  }, z.core.$strip>,
3782
3802
  z.ZodObject<{
3783
3803
  name: z.ZodLiteral<"chat-page">;
3784
- query: z.ZodString;
3804
+ query: z.ZodOptional<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.ZodString>;
4840
- placeholder: z.ZodString;
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.ZodString;
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,8 @@ 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
- showPredefinedQuestions: z.ZodBoolean;
5255
+ forcePredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
5256
+ forceChatPage: z.ZodOptional<z.ZodBoolean>;
5193
5257
  showOverallFeedbackButton: z.ZodBoolean;
5194
5258
  showOverallFeedbackEmail: z.ZodBoolean;
5195
5259
  showCloseChatButton: z.ZodBoolean;
@@ -5591,6 +5655,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5591
5655
  record: "record";
5592
5656
  abort: "abort";
5593
5657
  message: "message";
5658
+ lightMode: "lightMode";
5659
+ darkMode: "darkMode";
5594
5660
  audio: "audio";
5595
5661
  menu: "menu";
5596
5662
  submit: "submit";
@@ -5623,14 +5689,13 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5623
5689
  openChat: "openChat";
5624
5690
  speechInput: "speechInput";
5625
5691
  listUnordered: "listUnordered";
5626
- lightMode: "lightMode";
5627
- darkMode: "darkMode";
5628
5692
  settings: "settings";
5629
5693
  settingsClose: "settingsClose";
5630
5694
  sources: "sources";
5631
5695
  model: "model";
5632
5696
  checkbox: "checkbox";
5633
5697
  warning: "warning";
5698
+ topic: "topic";
5634
5699
  headerLogo: "headerLogo";
5635
5700
  embedAvatar: "embedAvatar";
5636
5701
  }> & z.core.$partial, z.ZodString>>;
@@ -5802,6 +5867,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5802
5867
  record: "record";
5803
5868
  abort: "abort";
5804
5869
  message: "message";
5870
+ lightMode: "lightMode";
5871
+ darkMode: "darkMode";
5805
5872
  audio: "audio";
5806
5873
  menu: "menu";
5807
5874
  submit: "submit";
@@ -5834,14 +5901,13 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5834
5901
  openChat: "openChat";
5835
5902
  speechInput: "speechInput";
5836
5903
  listUnordered: "listUnordered";
5837
- lightMode: "lightMode";
5838
- darkMode: "darkMode";
5839
5904
  settings: "settings";
5840
5905
  settingsClose: "settingsClose";
5841
5906
  sources: "sources";
5842
5907
  model: "model";
5843
5908
  checkbox: "checkbox";
5844
5909
  warning: "warning";
5910
+ topic: "topic";
5845
5911
  headerLogo: "headerLogo";
5846
5912
  embedAvatar: "embedAvatar";
5847
5913
  }> & z.core.$partial, z.ZodString>>;
@@ -5964,6 +6030,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5964
6030
  selectNone: z.ZodOptional<z.ZodString>;
5965
6031
  resetToDefaults: z.ZodOptional<z.ZodString>;
5966
6032
  messageTooLong: z.ZodOptional<z.ZodString>;
6033
+ changeTopic: z.ZodOptional<z.ZodString>;
5967
6034
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5968
6035
  name: z.ZodString;
5969
6036
  namePlural: z.ZodOptional<z.ZodString>;
@@ -6123,7 +6190,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6123
6190
  }, z.core.$strip>;
6124
6191
  errors: z.ZodArray<z.ZodUnion<readonly [
6125
6192
  z.ZodEnum<{
6126
- "pii-detected": "pii-detected";
6127
6193
  blocked: "blocked";
6128
6194
  maintenance: "maintenance";
6129
6195
  "rate-limit": "rate-limit";
@@ -6132,12 +6198,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6132
6198
  "too-long": "too-long";
6133
6199
  "quota-reached": "quota-reached";
6134
6200
  aborted: "aborted";
6201
+ "pii-detected": "pii-detected";
6135
6202
  }>,
6136
6203
  z.ZodLiteral<"sse-error">,
6137
6204
  z.ZodLiteral<"client-error">,
6138
6205
  z.ZodLiteral<"unexpected-call">
6139
6206
  ]>>;
6140
6207
  retrievalQuestion: z.ZodOptional<z.ZodString>;
6208
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6141
6209
  state: z.ZodLiteral<"loading">;
6142
6210
  }, z.core.$strip>,
6143
6211
  z.ZodObject<{
@@ -6258,7 +6326,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6258
6326
  }, z.core.$strip>;
6259
6327
  errors: z.ZodArray<z.ZodUnion<readonly [
6260
6328
  z.ZodEnum<{
6261
- "pii-detected": "pii-detected";
6262
6329
  blocked: "blocked";
6263
6330
  maintenance: "maintenance";
6264
6331
  "rate-limit": "rate-limit";
@@ -6267,12 +6334,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6267
6334
  "too-long": "too-long";
6268
6335
  "quota-reached": "quota-reached";
6269
6336
  aborted: "aborted";
6337
+ "pii-detected": "pii-detected";
6270
6338
  }>,
6271
6339
  z.ZodLiteral<"sse-error">,
6272
6340
  z.ZodLiteral<"client-error">,
6273
6341
  z.ZodLiteral<"unexpected-call">
6274
6342
  ]>>;
6275
6343
  retrievalQuestion: z.ZodOptional<z.ZodString>;
6344
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6276
6345
  state: z.ZodEnum<{
6277
6346
  streaming: "streaming";
6278
6347
  done: "done";
@@ -6307,12 +6376,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6307
6376
  z.ZodObject<{
6308
6377
  componentName: z.ZodLiteral<"combobox">;
6309
6378
  data: z.ZodObject<{
6310
- caption: z.ZodOptional<z.ZodString>;
6311
- placeholder: z.ZodString;
6379
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
6380
+ en: "en";
6381
+ de: "de";
6382
+ fr: "fr";
6383
+ it: "it";
6384
+ }> & z.core.$partial, z.ZodString>>;
6385
+ placeholder: z.ZodRecord<z.ZodEnum<{
6386
+ en: "en";
6387
+ de: "de";
6388
+ fr: "fr";
6389
+ it: "it";
6390
+ }> & z.core.$partial, z.ZodString>;
6312
6391
  values: z.ZodArray<z.ZodObject<{
6313
- label: z.ZodString;
6392
+ label: z.ZodRecord<z.ZodEnum<{
6393
+ en: "en";
6394
+ de: "de";
6395
+ fr: "fr";
6396
+ it: "it";
6397
+ }> & z.core.$partial, z.ZodString>;
6314
6398
  value: z.ZodString;
6399
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6315
6400
  }, z.core.$strip>>;
6401
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
6402
+ selectorKey: z.ZodOptional<z.ZodString>;
6316
6403
  }, z.core.$strip>;
6317
6404
  }, z.core.$strip>,
6318
6405
  z.ZodObject<{
@@ -6329,6 +6416,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6329
6416
  time: z.ZodOptional<z.ZodString>;
6330
6417
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
6331
6418
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
6419
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
6332
6420
  }, z.core.$strip>>
6333
6421
  ]>>>;
6334
6422
  bot: z.ZodOptional<z.ZodObject<{
@@ -6452,7 +6540,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6452
6540
  }, z.core.$strip>;
6453
6541
  errors: z.ZodArray<z.ZodUnion<readonly [
6454
6542
  z.ZodEnum<{
6455
- "pii-detected": "pii-detected";
6456
6543
  blocked: "blocked";
6457
6544
  maintenance: "maintenance";
6458
6545
  "rate-limit": "rate-limit";
@@ -6461,12 +6548,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6461
6548
  "too-long": "too-long";
6462
6549
  "quota-reached": "quota-reached";
6463
6550
  aborted: "aborted";
6551
+ "pii-detected": "pii-detected";
6464
6552
  }>,
6465
6553
  z.ZodLiteral<"sse-error">,
6466
6554
  z.ZodLiteral<"client-error">,
6467
6555
  z.ZodLiteral<"unexpected-call">
6468
6556
  ]>>;
6469
6557
  retrievalQuestion: z.ZodOptional<z.ZodString>;
6558
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6470
6559
  state: z.ZodLiteral<"loading">;
6471
6560
  }, z.core.$strip>,
6472
6561
  z.ZodObject<{
@@ -6587,7 +6676,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6587
6676
  }, z.core.$strip>;
6588
6677
  errors: z.ZodArray<z.ZodUnion<readonly [
6589
6678
  z.ZodEnum<{
6590
- "pii-detected": "pii-detected";
6591
6679
  blocked: "blocked";
6592
6680
  maintenance: "maintenance";
6593
6681
  "rate-limit": "rate-limit";
@@ -6596,12 +6684,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6596
6684
  "too-long": "too-long";
6597
6685
  "quota-reached": "quota-reached";
6598
6686
  aborted: "aborted";
6687
+ "pii-detected": "pii-detected";
6599
6688
  }>,
6600
6689
  z.ZodLiteral<"sse-error">,
6601
6690
  z.ZodLiteral<"client-error">,
6602
6691
  z.ZodLiteral<"unexpected-call">
6603
6692
  ]>>;
6604
6693
  retrievalQuestion: z.ZodOptional<z.ZodString>;
6694
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6605
6695
  state: z.ZodEnum<{
6606
6696
  streaming: "streaming";
6607
6697
  done: "done";
@@ -6636,12 +6726,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6636
6726
  z.ZodObject<{
6637
6727
  componentName: z.ZodLiteral<"combobox">;
6638
6728
  data: z.ZodObject<{
6639
- caption: z.ZodOptional<z.ZodString>;
6640
- placeholder: z.ZodString;
6729
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
6730
+ en: "en";
6731
+ de: "de";
6732
+ fr: "fr";
6733
+ it: "it";
6734
+ }> & z.core.$partial, z.ZodString>>;
6735
+ placeholder: z.ZodRecord<z.ZodEnum<{
6736
+ en: "en";
6737
+ de: "de";
6738
+ fr: "fr";
6739
+ it: "it";
6740
+ }> & z.core.$partial, z.ZodString>;
6641
6741
  values: z.ZodArray<z.ZodObject<{
6642
- label: z.ZodString;
6742
+ label: z.ZodRecord<z.ZodEnum<{
6743
+ en: "en";
6744
+ de: "de";
6745
+ fr: "fr";
6746
+ it: "it";
6747
+ }> & z.core.$partial, z.ZodString>;
6643
6748
  value: z.ZodString;
6749
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6644
6750
  }, z.core.$strip>>;
6751
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
6752
+ selectorKey: z.ZodOptional<z.ZodString>;
6645
6753
  }, z.core.$strip>;
6646
6754
  }, z.core.$strip>,
6647
6755
  z.ZodObject<{
@@ -6658,6 +6766,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6658
6766
  time: z.ZodOptional<z.ZodString>;
6659
6767
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
6660
6768
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
6769
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
6661
6770
  }, z.core.$strip>>
6662
6771
  ]>>>;
6663
6772
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -6780,7 +6889,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6780
6889
  }, z.core.$strip>;
6781
6890
  errors: z.ZodArray<z.ZodUnion<readonly [
6782
6891
  z.ZodEnum<{
6783
- "pii-detected": "pii-detected";
6784
6892
  blocked: "blocked";
6785
6893
  maintenance: "maintenance";
6786
6894
  "rate-limit": "rate-limit";
@@ -6789,12 +6897,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6789
6897
  "too-long": "too-long";
6790
6898
  "quota-reached": "quota-reached";
6791
6899
  aborted: "aborted";
6900
+ "pii-detected": "pii-detected";
6792
6901
  }>,
6793
6902
  z.ZodLiteral<"sse-error">,
6794
6903
  z.ZodLiteral<"client-error">,
6795
6904
  z.ZodLiteral<"unexpected-call">
6796
6905
  ]>>;
6797
6906
  retrievalQuestion: z.ZodOptional<z.ZodString>;
6907
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6798
6908
  state: z.ZodLiteral<"loading">;
6799
6909
  }, z.core.$strip>,
6800
6910
  z.ZodObject<{
@@ -6915,7 +7025,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6915
7025
  }, z.core.$strip>;
6916
7026
  errors: z.ZodArray<z.ZodUnion<readonly [
6917
7027
  z.ZodEnum<{
6918
- "pii-detected": "pii-detected";
6919
7028
  blocked: "blocked";
6920
7029
  maintenance: "maintenance";
6921
7030
  "rate-limit": "rate-limit";
@@ -6924,12 +7033,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6924
7033
  "too-long": "too-long";
6925
7034
  "quota-reached": "quota-reached";
6926
7035
  aborted: "aborted";
7036
+ "pii-detected": "pii-detected";
6927
7037
  }>,
6928
7038
  z.ZodLiteral<"sse-error">,
6929
7039
  z.ZodLiteral<"client-error">,
6930
7040
  z.ZodLiteral<"unexpected-call">
6931
7041
  ]>>;
6932
7042
  retrievalQuestion: z.ZodOptional<z.ZodString>;
7043
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
6933
7044
  state: z.ZodEnum<{
6934
7045
  streaming: "streaming";
6935
7046
  done: "done";
@@ -6964,12 +7075,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6964
7075
  z.ZodObject<{
6965
7076
  componentName: z.ZodLiteral<"combobox">;
6966
7077
  data: z.ZodObject<{
6967
- caption: z.ZodOptional<z.ZodString>;
6968
- placeholder: z.ZodString;
7078
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
7079
+ en: "en";
7080
+ de: "de";
7081
+ fr: "fr";
7082
+ it: "it";
7083
+ }> & z.core.$partial, z.ZodString>>;
7084
+ placeholder: z.ZodRecord<z.ZodEnum<{
7085
+ en: "en";
7086
+ de: "de";
7087
+ fr: "fr";
7088
+ it: "it";
7089
+ }> & z.core.$partial, z.ZodString>;
6969
7090
  values: z.ZodArray<z.ZodObject<{
6970
- label: z.ZodString;
7091
+ label: z.ZodRecord<z.ZodEnum<{
7092
+ en: "en";
7093
+ de: "de";
7094
+ fr: "fr";
7095
+ it: "it";
7096
+ }> & z.core.$partial, z.ZodString>;
6971
7097
  value: z.ZodString;
7098
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6972
7099
  }, z.core.$strip>>;
7100
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
7101
+ selectorKey: z.ZodOptional<z.ZodString>;
6973
7102
  }, z.core.$strip>;
6974
7103
  }, z.core.$strip>,
6975
7104
  z.ZodObject<{
@@ -6986,6 +7115,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6986
7115
  time: z.ZodOptional<z.ZodString>;
6987
7116
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
6988
7117
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
7118
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
6989
7119
  }, z.core.$strip>>
6990
7120
  ]>>>;
6991
7121
  }, z.core.$strip>>;
@@ -7110,7 +7240,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7110
7240
  }, z.core.$strip>;
7111
7241
  errors: z.ZodArray<z.ZodUnion<readonly [
7112
7242
  z.ZodEnum<{
7113
- "pii-detected": "pii-detected";
7114
7243
  blocked: "blocked";
7115
7244
  maintenance: "maintenance";
7116
7245
  "rate-limit": "rate-limit";
@@ -7119,12 +7248,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7119
7248
  "too-long": "too-long";
7120
7249
  "quota-reached": "quota-reached";
7121
7250
  aborted: "aborted";
7251
+ "pii-detected": "pii-detected";
7122
7252
  }>,
7123
7253
  z.ZodLiteral<"sse-error">,
7124
7254
  z.ZodLiteral<"client-error">,
7125
7255
  z.ZodLiteral<"unexpected-call">
7126
7256
  ]>>;
7127
7257
  retrievalQuestion: z.ZodOptional<z.ZodString>;
7258
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
7128
7259
  state: z.ZodLiteral<"loading">;
7129
7260
  }, z.core.$strip>,
7130
7261
  z.ZodObject<{
@@ -7245,7 +7376,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7245
7376
  }, z.core.$strip>;
7246
7377
  errors: z.ZodArray<z.ZodUnion<readonly [
7247
7378
  z.ZodEnum<{
7248
- "pii-detected": "pii-detected";
7249
7379
  blocked: "blocked";
7250
7380
  maintenance: "maintenance";
7251
7381
  "rate-limit": "rate-limit";
@@ -7254,12 +7384,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7254
7384
  "too-long": "too-long";
7255
7385
  "quota-reached": "quota-reached";
7256
7386
  aborted: "aborted";
7387
+ "pii-detected": "pii-detected";
7257
7388
  }>,
7258
7389
  z.ZodLiteral<"sse-error">,
7259
7390
  z.ZodLiteral<"client-error">,
7260
7391
  z.ZodLiteral<"unexpected-call">
7261
7392
  ]>>;
7262
7393
  retrievalQuestion: z.ZodOptional<z.ZodString>;
7394
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
7263
7395
  state: z.ZodEnum<{
7264
7396
  streaming: "streaming";
7265
7397
  done: "done";
@@ -7294,12 +7426,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7294
7426
  z.ZodObject<{
7295
7427
  componentName: z.ZodLiteral<"combobox">;
7296
7428
  data: z.ZodObject<{
7297
- caption: z.ZodOptional<z.ZodString>;
7298
- placeholder: z.ZodString;
7429
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
7430
+ en: "en";
7431
+ de: "de";
7432
+ fr: "fr";
7433
+ it: "it";
7434
+ }> & z.core.$partial, z.ZodString>>;
7435
+ placeholder: z.ZodRecord<z.ZodEnum<{
7436
+ en: "en";
7437
+ de: "de";
7438
+ fr: "fr";
7439
+ it: "it";
7440
+ }> & z.core.$partial, z.ZodString>;
7299
7441
  values: z.ZodArray<z.ZodObject<{
7300
- label: z.ZodString;
7442
+ label: z.ZodRecord<z.ZodEnum<{
7443
+ en: "en";
7444
+ de: "de";
7445
+ fr: "fr";
7446
+ it: "it";
7447
+ }> & z.core.$partial, z.ZodString>;
7301
7448
  value: z.ZodString;
7449
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7302
7450
  }, z.core.$strip>>;
7451
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
7452
+ selectorKey: z.ZodOptional<z.ZodString>;
7303
7453
  }, z.core.$strip>;
7304
7454
  }, z.core.$strip>,
7305
7455
  z.ZodObject<{
@@ -7316,6 +7466,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7316
7466
  time: z.ZodOptional<z.ZodString>;
7317
7467
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
7318
7468
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
7469
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
7319
7470
  }, z.core.$strip>>
7320
7471
  ]>>>;
7321
7472
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -7438,7 +7589,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7438
7589
  }, z.core.$strip>;
7439
7590
  errors: z.ZodArray<z.ZodUnion<readonly [
7440
7591
  z.ZodEnum<{
7441
- "pii-detected": "pii-detected";
7442
7592
  blocked: "blocked";
7443
7593
  maintenance: "maintenance";
7444
7594
  "rate-limit": "rate-limit";
@@ -7447,12 +7597,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7447
7597
  "too-long": "too-long";
7448
7598
  "quota-reached": "quota-reached";
7449
7599
  aborted: "aborted";
7600
+ "pii-detected": "pii-detected";
7450
7601
  }>,
7451
7602
  z.ZodLiteral<"sse-error">,
7452
7603
  z.ZodLiteral<"client-error">,
7453
7604
  z.ZodLiteral<"unexpected-call">
7454
7605
  ]>>;
7455
7606
  retrievalQuestion: z.ZodOptional<z.ZodString>;
7607
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
7456
7608
  state: z.ZodLiteral<"loading">;
7457
7609
  }, z.core.$strip>,
7458
7610
  z.ZodObject<{
@@ -7573,7 +7725,6 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7573
7725
  }, z.core.$strip>;
7574
7726
  errors: z.ZodArray<z.ZodUnion<readonly [
7575
7727
  z.ZodEnum<{
7576
- "pii-detected": "pii-detected";
7577
7728
  blocked: "blocked";
7578
7729
  maintenance: "maintenance";
7579
7730
  "rate-limit": "rate-limit";
@@ -7582,12 +7733,14 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7582
7733
  "too-long": "too-long";
7583
7734
  "quota-reached": "quota-reached";
7584
7735
  aborted: "aborted";
7736
+ "pii-detected": "pii-detected";
7585
7737
  }>,
7586
7738
  z.ZodLiteral<"sse-error">,
7587
7739
  z.ZodLiteral<"client-error">,
7588
7740
  z.ZodLiteral<"unexpected-call">
7589
7741
  ]>>;
7590
7742
  retrievalQuestion: z.ZodOptional<z.ZodString>;
7743
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
7591
7744
  state: z.ZodEnum<{
7592
7745
  streaming: "streaming";
7593
7746
  done: "done";
@@ -7622,12 +7775,30 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7622
7775
  z.ZodObject<{
7623
7776
  componentName: z.ZodLiteral<"combobox">;
7624
7777
  data: z.ZodObject<{
7625
- caption: z.ZodOptional<z.ZodString>;
7626
- placeholder: z.ZodString;
7778
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
7779
+ en: "en";
7780
+ de: "de";
7781
+ fr: "fr";
7782
+ it: "it";
7783
+ }> & z.core.$partial, z.ZodString>>;
7784
+ placeholder: z.ZodRecord<z.ZodEnum<{
7785
+ en: "en";
7786
+ de: "de";
7787
+ fr: "fr";
7788
+ it: "it";
7789
+ }> & z.core.$partial, z.ZodString>;
7627
7790
  values: z.ZodArray<z.ZodObject<{
7628
- label: z.ZodString;
7791
+ label: z.ZodRecord<z.ZodEnum<{
7792
+ en: "en";
7793
+ de: "de";
7794
+ fr: "fr";
7795
+ it: "it";
7796
+ }> & z.core.$partial, z.ZodString>;
7629
7797
  value: z.ZodString;
7798
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7630
7799
  }, z.core.$strip>>;
7800
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
7801
+ selectorKey: z.ZodOptional<z.ZodString>;
7631
7802
  }, z.core.$strip>;
7632
7803
  }, z.core.$strip>,
7633
7804
  z.ZodObject<{
@@ -7644,14 +7815,17 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7644
7815
  time: z.ZodOptional<z.ZodString>;
7645
7816
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
7646
7817
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
7818
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
7647
7819
  }, z.core.$strip>>
7648
7820
  ]>>>;
7649
7821
  }, z.core.$strip>>;
7650
7822
  }, z.core.$strip>>;
7651
7823
  contextVersion: z.ZodOptional<z.ZodNumber>;
7824
+ selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodString>;
7652
7825
  }, z.core.$strip>;
7653
7826
  export declare const chatConfigSchema: z.ZodObject<{
7654
- showPredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
7827
+ forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
7828
+ forceChatPage: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
7655
7829
  showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
7656
7830
  showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
7657
7831
  showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
@@ -8053,6 +8227,8 @@ export declare const chatConfigSchema: z.ZodObject<{
8053
8227
  record: "record";
8054
8228
  abort: "abort";
8055
8229
  message: "message";
8230
+ lightMode: "lightMode";
8231
+ darkMode: "darkMode";
8056
8232
  audio: "audio";
8057
8233
  menu: "menu";
8058
8234
  submit: "submit";
@@ -8085,14 +8261,13 @@ export declare const chatConfigSchema: z.ZodObject<{
8085
8261
  openChat: "openChat";
8086
8262
  speechInput: "speechInput";
8087
8263
  listUnordered: "listUnordered";
8088
- lightMode: "lightMode";
8089
- darkMode: "darkMode";
8090
8264
  settings: "settings";
8091
8265
  settingsClose: "settingsClose";
8092
8266
  sources: "sources";
8093
8267
  model: "model";
8094
8268
  checkbox: "checkbox";
8095
8269
  warning: "warning";
8270
+ topic: "topic";
8096
8271
  headerLogo: "headerLogo";
8097
8272
  embedAvatar: "embedAvatar";
8098
8273
  }> & z.core.$partial, z.ZodString>>;
@@ -8264,6 +8439,8 @@ export declare const chatConfigSchema: z.ZodObject<{
8264
8439
  record: "record";
8265
8440
  abort: "abort";
8266
8441
  message: "message";
8442
+ lightMode: "lightMode";
8443
+ darkMode: "darkMode";
8267
8444
  audio: "audio";
8268
8445
  menu: "menu";
8269
8446
  submit: "submit";
@@ -8296,14 +8473,13 @@ export declare const chatConfigSchema: z.ZodObject<{
8296
8473
  openChat: "openChat";
8297
8474
  speechInput: "speechInput";
8298
8475
  listUnordered: "listUnordered";
8299
- lightMode: "lightMode";
8300
- darkMode: "darkMode";
8301
8476
  settings: "settings";
8302
8477
  settingsClose: "settingsClose";
8303
8478
  sources: "sources";
8304
8479
  model: "model";
8305
8480
  checkbox: "checkbox";
8306
8481
  warning: "warning";
8482
+ topic: "topic";
8307
8483
  headerLogo: "headerLogo";
8308
8484
  embedAvatar: "embedAvatar";
8309
8485
  }> & z.core.$partial, z.ZodString>>;
@@ -8426,6 +8602,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8426
8602
  selectNone: z.ZodOptional<z.ZodString>;
8427
8603
  resetToDefaults: z.ZodOptional<z.ZodString>;
8428
8604
  messageTooLong: z.ZodOptional<z.ZodString>;
8605
+ changeTopic: z.ZodOptional<z.ZodString>;
8429
8606
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8430
8607
  name: z.ZodString;
8431
8608
  namePlural: z.ZodOptional<z.ZodString>;
@@ -8585,7 +8762,6 @@ export declare const chatConfigSchema: z.ZodObject<{
8585
8762
  }, z.core.$strip>;
8586
8763
  errors: z.ZodArray<z.ZodUnion<readonly [
8587
8764
  z.ZodEnum<{
8588
- "pii-detected": "pii-detected";
8589
8765
  blocked: "blocked";
8590
8766
  maintenance: "maintenance";
8591
8767
  "rate-limit": "rate-limit";
@@ -8594,12 +8770,14 @@ export declare const chatConfigSchema: z.ZodObject<{
8594
8770
  "too-long": "too-long";
8595
8771
  "quota-reached": "quota-reached";
8596
8772
  aborted: "aborted";
8773
+ "pii-detected": "pii-detected";
8597
8774
  }>,
8598
8775
  z.ZodLiteral<"sse-error">,
8599
8776
  z.ZodLiteral<"client-error">,
8600
8777
  z.ZodLiteral<"unexpected-call">
8601
8778
  ]>>;
8602
8779
  retrievalQuestion: z.ZodOptional<z.ZodString>;
8780
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
8603
8781
  state: z.ZodLiteral<"loading">;
8604
8782
  }, z.core.$strip>,
8605
8783
  z.ZodObject<{
@@ -8720,7 +8898,6 @@ export declare const chatConfigSchema: z.ZodObject<{
8720
8898
  }, z.core.$strip>;
8721
8899
  errors: z.ZodArray<z.ZodUnion<readonly [
8722
8900
  z.ZodEnum<{
8723
- "pii-detected": "pii-detected";
8724
8901
  blocked: "blocked";
8725
8902
  maintenance: "maintenance";
8726
8903
  "rate-limit": "rate-limit";
@@ -8729,12 +8906,14 @@ export declare const chatConfigSchema: z.ZodObject<{
8729
8906
  "too-long": "too-long";
8730
8907
  "quota-reached": "quota-reached";
8731
8908
  aborted: "aborted";
8909
+ "pii-detected": "pii-detected";
8732
8910
  }>,
8733
8911
  z.ZodLiteral<"sse-error">,
8734
8912
  z.ZodLiteral<"client-error">,
8735
8913
  z.ZodLiteral<"unexpected-call">
8736
8914
  ]>>;
8737
8915
  retrievalQuestion: z.ZodOptional<z.ZodString>;
8916
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
8738
8917
  state: z.ZodEnum<{
8739
8918
  streaming: "streaming";
8740
8919
  done: "done";
@@ -8769,12 +8948,30 @@ export declare const chatConfigSchema: z.ZodObject<{
8769
8948
  z.ZodObject<{
8770
8949
  componentName: z.ZodLiteral<"combobox">;
8771
8950
  data: z.ZodObject<{
8772
- caption: z.ZodOptional<z.ZodString>;
8773
- placeholder: z.ZodString;
8951
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
8952
+ en: "en";
8953
+ de: "de";
8954
+ fr: "fr";
8955
+ it: "it";
8956
+ }> & z.core.$partial, z.ZodString>>;
8957
+ placeholder: z.ZodRecord<z.ZodEnum<{
8958
+ en: "en";
8959
+ de: "de";
8960
+ fr: "fr";
8961
+ it: "it";
8962
+ }> & z.core.$partial, z.ZodString>;
8774
8963
  values: z.ZodArray<z.ZodObject<{
8775
- label: z.ZodString;
8964
+ label: z.ZodRecord<z.ZodEnum<{
8965
+ en: "en";
8966
+ de: "de";
8967
+ fr: "fr";
8968
+ it: "it";
8969
+ }> & z.core.$partial, z.ZodString>;
8776
8970
  value: z.ZodString;
8971
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8777
8972
  }, z.core.$strip>>;
8973
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
8974
+ selectorKey: z.ZodOptional<z.ZodString>;
8778
8975
  }, z.core.$strip>;
8779
8976
  }, z.core.$strip>,
8780
8977
  z.ZodObject<{
@@ -8791,6 +8988,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8791
8988
  time: z.ZodOptional<z.ZodString>;
8792
8989
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
8793
8990
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
8991
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
8794
8992
  }, z.core.$strip>>
8795
8993
  ]>>>;
8796
8994
  bot: z.ZodOptional<z.ZodObject<{
@@ -8914,7 +9112,6 @@ export declare const chatConfigSchema: z.ZodObject<{
8914
9112
  }, z.core.$strip>;
8915
9113
  errors: z.ZodArray<z.ZodUnion<readonly [
8916
9114
  z.ZodEnum<{
8917
- "pii-detected": "pii-detected";
8918
9115
  blocked: "blocked";
8919
9116
  maintenance: "maintenance";
8920
9117
  "rate-limit": "rate-limit";
@@ -8923,12 +9120,14 @@ export declare const chatConfigSchema: z.ZodObject<{
8923
9120
  "too-long": "too-long";
8924
9121
  "quota-reached": "quota-reached";
8925
9122
  aborted: "aborted";
9123
+ "pii-detected": "pii-detected";
8926
9124
  }>,
8927
9125
  z.ZodLiteral<"sse-error">,
8928
9126
  z.ZodLiteral<"client-error">,
8929
9127
  z.ZodLiteral<"unexpected-call">
8930
9128
  ]>>;
8931
9129
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9130
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
8932
9131
  state: z.ZodLiteral<"loading">;
8933
9132
  }, z.core.$strip>,
8934
9133
  z.ZodObject<{
@@ -9049,7 +9248,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9049
9248
  }, z.core.$strip>;
9050
9249
  errors: z.ZodArray<z.ZodUnion<readonly [
9051
9250
  z.ZodEnum<{
9052
- "pii-detected": "pii-detected";
9053
9251
  blocked: "blocked";
9054
9252
  maintenance: "maintenance";
9055
9253
  "rate-limit": "rate-limit";
@@ -9058,12 +9256,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9058
9256
  "too-long": "too-long";
9059
9257
  "quota-reached": "quota-reached";
9060
9258
  aborted: "aborted";
9259
+ "pii-detected": "pii-detected";
9061
9260
  }>,
9062
9261
  z.ZodLiteral<"sse-error">,
9063
9262
  z.ZodLiteral<"client-error">,
9064
9263
  z.ZodLiteral<"unexpected-call">
9065
9264
  ]>>;
9066
9265
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9266
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9067
9267
  state: z.ZodEnum<{
9068
9268
  streaming: "streaming";
9069
9269
  done: "done";
@@ -9098,12 +9298,30 @@ export declare const chatConfigSchema: z.ZodObject<{
9098
9298
  z.ZodObject<{
9099
9299
  componentName: z.ZodLiteral<"combobox">;
9100
9300
  data: z.ZodObject<{
9101
- caption: z.ZodOptional<z.ZodString>;
9102
- placeholder: z.ZodString;
9301
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
9302
+ en: "en";
9303
+ de: "de";
9304
+ fr: "fr";
9305
+ it: "it";
9306
+ }> & z.core.$partial, z.ZodString>>;
9307
+ placeholder: z.ZodRecord<z.ZodEnum<{
9308
+ en: "en";
9309
+ de: "de";
9310
+ fr: "fr";
9311
+ it: "it";
9312
+ }> & z.core.$partial, z.ZodString>;
9103
9313
  values: z.ZodArray<z.ZodObject<{
9104
- label: z.ZodString;
9314
+ label: z.ZodRecord<z.ZodEnum<{
9315
+ en: "en";
9316
+ de: "de";
9317
+ fr: "fr";
9318
+ it: "it";
9319
+ }> & z.core.$partial, z.ZodString>;
9105
9320
  value: z.ZodString;
9321
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9106
9322
  }, z.core.$strip>>;
9323
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
9324
+ selectorKey: z.ZodOptional<z.ZodString>;
9107
9325
  }, z.core.$strip>;
9108
9326
  }, z.core.$strip>,
9109
9327
  z.ZodObject<{
@@ -9120,6 +9338,7 @@ export declare const chatConfigSchema: z.ZodObject<{
9120
9338
  time: z.ZodOptional<z.ZodString>;
9121
9339
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
9122
9340
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
9341
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
9123
9342
  }, z.core.$strip>>
9124
9343
  ]>>>;
9125
9344
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -9242,7 +9461,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9242
9461
  }, z.core.$strip>;
9243
9462
  errors: z.ZodArray<z.ZodUnion<readonly [
9244
9463
  z.ZodEnum<{
9245
- "pii-detected": "pii-detected";
9246
9464
  blocked: "blocked";
9247
9465
  maintenance: "maintenance";
9248
9466
  "rate-limit": "rate-limit";
@@ -9251,12 +9469,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9251
9469
  "too-long": "too-long";
9252
9470
  "quota-reached": "quota-reached";
9253
9471
  aborted: "aborted";
9472
+ "pii-detected": "pii-detected";
9254
9473
  }>,
9255
9474
  z.ZodLiteral<"sse-error">,
9256
9475
  z.ZodLiteral<"client-error">,
9257
9476
  z.ZodLiteral<"unexpected-call">
9258
9477
  ]>>;
9259
9478
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9479
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9260
9480
  state: z.ZodLiteral<"loading">;
9261
9481
  }, z.core.$strip>,
9262
9482
  z.ZodObject<{
@@ -9377,7 +9597,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9377
9597
  }, z.core.$strip>;
9378
9598
  errors: z.ZodArray<z.ZodUnion<readonly [
9379
9599
  z.ZodEnum<{
9380
- "pii-detected": "pii-detected";
9381
9600
  blocked: "blocked";
9382
9601
  maintenance: "maintenance";
9383
9602
  "rate-limit": "rate-limit";
@@ -9386,12 +9605,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9386
9605
  "too-long": "too-long";
9387
9606
  "quota-reached": "quota-reached";
9388
9607
  aborted: "aborted";
9608
+ "pii-detected": "pii-detected";
9389
9609
  }>,
9390
9610
  z.ZodLiteral<"sse-error">,
9391
9611
  z.ZodLiteral<"client-error">,
9392
9612
  z.ZodLiteral<"unexpected-call">
9393
9613
  ]>>;
9394
9614
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9615
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9395
9616
  state: z.ZodEnum<{
9396
9617
  streaming: "streaming";
9397
9618
  done: "done";
@@ -9426,12 +9647,30 @@ export declare const chatConfigSchema: z.ZodObject<{
9426
9647
  z.ZodObject<{
9427
9648
  componentName: z.ZodLiteral<"combobox">;
9428
9649
  data: z.ZodObject<{
9429
- caption: z.ZodOptional<z.ZodString>;
9430
- placeholder: z.ZodString;
9650
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
9651
+ en: "en";
9652
+ de: "de";
9653
+ fr: "fr";
9654
+ it: "it";
9655
+ }> & z.core.$partial, z.ZodString>>;
9656
+ placeholder: z.ZodRecord<z.ZodEnum<{
9657
+ en: "en";
9658
+ de: "de";
9659
+ fr: "fr";
9660
+ it: "it";
9661
+ }> & z.core.$partial, z.ZodString>;
9431
9662
  values: z.ZodArray<z.ZodObject<{
9432
- label: z.ZodString;
9663
+ label: z.ZodRecord<z.ZodEnum<{
9664
+ en: "en";
9665
+ de: "de";
9666
+ fr: "fr";
9667
+ it: "it";
9668
+ }> & z.core.$partial, z.ZodString>;
9433
9669
  value: z.ZodString;
9670
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9434
9671
  }, z.core.$strip>>;
9672
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
9673
+ selectorKey: z.ZodOptional<z.ZodString>;
9435
9674
  }, z.core.$strip>;
9436
9675
  }, z.core.$strip>,
9437
9676
  z.ZodObject<{
@@ -9448,6 +9687,7 @@ export declare const chatConfigSchema: z.ZodObject<{
9448
9687
  time: z.ZodOptional<z.ZodString>;
9449
9688
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
9450
9689
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
9690
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
9451
9691
  }, z.core.$strip>>
9452
9692
  ]>>>;
9453
9693
  }, z.core.$strip>>;
@@ -9572,7 +9812,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9572
9812
  }, z.core.$strip>;
9573
9813
  errors: z.ZodArray<z.ZodUnion<readonly [
9574
9814
  z.ZodEnum<{
9575
- "pii-detected": "pii-detected";
9576
9815
  blocked: "blocked";
9577
9816
  maintenance: "maintenance";
9578
9817
  "rate-limit": "rate-limit";
@@ -9581,12 +9820,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9581
9820
  "too-long": "too-long";
9582
9821
  "quota-reached": "quota-reached";
9583
9822
  aborted: "aborted";
9823
+ "pii-detected": "pii-detected";
9584
9824
  }>,
9585
9825
  z.ZodLiteral<"sse-error">,
9586
9826
  z.ZodLiteral<"client-error">,
9587
9827
  z.ZodLiteral<"unexpected-call">
9588
9828
  ]>>;
9589
9829
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9830
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9590
9831
  state: z.ZodLiteral<"loading">;
9591
9832
  }, z.core.$strip>,
9592
9833
  z.ZodObject<{
@@ -9707,7 +9948,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9707
9948
  }, z.core.$strip>;
9708
9949
  errors: z.ZodArray<z.ZodUnion<readonly [
9709
9950
  z.ZodEnum<{
9710
- "pii-detected": "pii-detected";
9711
9951
  blocked: "blocked";
9712
9952
  maintenance: "maintenance";
9713
9953
  "rate-limit": "rate-limit";
@@ -9716,12 +9956,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9716
9956
  "too-long": "too-long";
9717
9957
  "quota-reached": "quota-reached";
9718
9958
  aborted: "aborted";
9959
+ "pii-detected": "pii-detected";
9719
9960
  }>,
9720
9961
  z.ZodLiteral<"sse-error">,
9721
9962
  z.ZodLiteral<"client-error">,
9722
9963
  z.ZodLiteral<"unexpected-call">
9723
9964
  ]>>;
9724
9965
  retrievalQuestion: z.ZodOptional<z.ZodString>;
9966
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9725
9967
  state: z.ZodEnum<{
9726
9968
  streaming: "streaming";
9727
9969
  done: "done";
@@ -9756,12 +9998,30 @@ export declare const chatConfigSchema: z.ZodObject<{
9756
9998
  z.ZodObject<{
9757
9999
  componentName: z.ZodLiteral<"combobox">;
9758
10000
  data: z.ZodObject<{
9759
- caption: z.ZodOptional<z.ZodString>;
9760
- placeholder: z.ZodString;
10001
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
10002
+ en: "en";
10003
+ de: "de";
10004
+ fr: "fr";
10005
+ it: "it";
10006
+ }> & z.core.$partial, z.ZodString>>;
10007
+ placeholder: z.ZodRecord<z.ZodEnum<{
10008
+ en: "en";
10009
+ de: "de";
10010
+ fr: "fr";
10011
+ it: "it";
10012
+ }> & z.core.$partial, z.ZodString>;
9761
10013
  values: z.ZodArray<z.ZodObject<{
9762
- label: z.ZodString;
10014
+ label: z.ZodRecord<z.ZodEnum<{
10015
+ en: "en";
10016
+ de: "de";
10017
+ fr: "fr";
10018
+ it: "it";
10019
+ }> & z.core.$partial, z.ZodString>;
9763
10020
  value: z.ZodString;
10021
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9764
10022
  }, z.core.$strip>>;
10023
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
10024
+ selectorKey: z.ZodOptional<z.ZodString>;
9765
10025
  }, z.core.$strip>;
9766
10026
  }, z.core.$strip>,
9767
10027
  z.ZodObject<{
@@ -9778,6 +10038,7 @@ export declare const chatConfigSchema: z.ZodObject<{
9778
10038
  time: z.ZodOptional<z.ZodString>;
9779
10039
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
9780
10040
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
10041
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
9781
10042
  }, z.core.$strip>>
9782
10043
  ]>>>;
9783
10044
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -9900,7 +10161,6 @@ export declare const chatConfigSchema: z.ZodObject<{
9900
10161
  }, z.core.$strip>;
9901
10162
  errors: z.ZodArray<z.ZodUnion<readonly [
9902
10163
  z.ZodEnum<{
9903
- "pii-detected": "pii-detected";
9904
10164
  blocked: "blocked";
9905
10165
  maintenance: "maintenance";
9906
10166
  "rate-limit": "rate-limit";
@@ -9909,12 +10169,14 @@ export declare const chatConfigSchema: z.ZodObject<{
9909
10169
  "too-long": "too-long";
9910
10170
  "quota-reached": "quota-reached";
9911
10171
  aborted: "aborted";
10172
+ "pii-detected": "pii-detected";
9912
10173
  }>,
9913
10174
  z.ZodLiteral<"sse-error">,
9914
10175
  z.ZodLiteral<"client-error">,
9915
10176
  z.ZodLiteral<"unexpected-call">
9916
10177
  ]>>;
9917
10178
  retrievalQuestion: z.ZodOptional<z.ZodString>;
10179
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
9918
10180
  state: z.ZodLiteral<"loading">;
9919
10181
  }, z.core.$strip>,
9920
10182
  z.ZodObject<{
@@ -10035,7 +10297,6 @@ export declare const chatConfigSchema: z.ZodObject<{
10035
10297
  }, z.core.$strip>;
10036
10298
  errors: z.ZodArray<z.ZodUnion<readonly [
10037
10299
  z.ZodEnum<{
10038
- "pii-detected": "pii-detected";
10039
10300
  blocked: "blocked";
10040
10301
  maintenance: "maintenance";
10041
10302
  "rate-limit": "rate-limit";
@@ -10044,12 +10305,14 @@ export declare const chatConfigSchema: z.ZodObject<{
10044
10305
  "too-long": "too-long";
10045
10306
  "quota-reached": "quota-reached";
10046
10307
  aborted: "aborted";
10308
+ "pii-detected": "pii-detected";
10047
10309
  }>,
10048
10310
  z.ZodLiteral<"sse-error">,
10049
10311
  z.ZodLiteral<"client-error">,
10050
10312
  z.ZodLiteral<"unexpected-call">
10051
10313
  ]>>;
10052
10314
  retrievalQuestion: z.ZodOptional<z.ZodString>;
10315
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
10053
10316
  state: z.ZodEnum<{
10054
10317
  streaming: "streaming";
10055
10318
  done: "done";
@@ -10084,12 +10347,30 @@ export declare const chatConfigSchema: z.ZodObject<{
10084
10347
  z.ZodObject<{
10085
10348
  componentName: z.ZodLiteral<"combobox">;
10086
10349
  data: z.ZodObject<{
10087
- caption: z.ZodOptional<z.ZodString>;
10088
- placeholder: z.ZodString;
10350
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
10351
+ en: "en";
10352
+ de: "de";
10353
+ fr: "fr";
10354
+ it: "it";
10355
+ }> & z.core.$partial, z.ZodString>>;
10356
+ placeholder: z.ZodRecord<z.ZodEnum<{
10357
+ en: "en";
10358
+ de: "de";
10359
+ fr: "fr";
10360
+ it: "it";
10361
+ }> & z.core.$partial, z.ZodString>;
10089
10362
  values: z.ZodArray<z.ZodObject<{
10090
- label: z.ZodString;
10363
+ label: z.ZodRecord<z.ZodEnum<{
10364
+ en: "en";
10365
+ de: "de";
10366
+ fr: "fr";
10367
+ it: "it";
10368
+ }> & z.core.$partial, z.ZodString>;
10091
10369
  value: z.ZodString;
10370
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10092
10371
  }, z.core.$strip>>;
10372
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
10373
+ selectorKey: z.ZodOptional<z.ZodString>;
10093
10374
  }, z.core.$strip>;
10094
10375
  }, z.core.$strip>,
10095
10376
  z.ZodObject<{
@@ -10106,14 +10387,17 @@ export declare const chatConfigSchema: z.ZodObject<{
10106
10387
  time: z.ZodOptional<z.ZodString>;
10107
10388
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
10108
10389
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
10390
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
10109
10391
  }, z.core.$strip>>
10110
10392
  ]>>>;
10111
10393
  }, z.core.$strip>>;
10112
10394
  }, z.core.$strip>>>;
10113
10395
  contextVersion: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
10396
+ selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10114
10397
  }, z.core.$strip>;
10115
10398
  export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.ZodObject<{
10116
- showPredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
10399
+ forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
10400
+ forceChatPage: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
10117
10401
  showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
10118
10402
  showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
10119
10403
  showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
@@ -10515,6 +10799,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10515
10799
  record: "record";
10516
10800
  abort: "abort";
10517
10801
  message: "message";
10802
+ lightMode: "lightMode";
10803
+ darkMode: "darkMode";
10518
10804
  audio: "audio";
10519
10805
  menu: "menu";
10520
10806
  submit: "submit";
@@ -10547,14 +10833,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10547
10833
  openChat: "openChat";
10548
10834
  speechInput: "speechInput";
10549
10835
  listUnordered: "listUnordered";
10550
- lightMode: "lightMode";
10551
- darkMode: "darkMode";
10552
10836
  settings: "settings";
10553
10837
  settingsClose: "settingsClose";
10554
10838
  sources: "sources";
10555
10839
  model: "model";
10556
10840
  checkbox: "checkbox";
10557
10841
  warning: "warning";
10842
+ topic: "topic";
10558
10843
  headerLogo: "headerLogo";
10559
10844
  embedAvatar: "embedAvatar";
10560
10845
  }> & z.core.$partial, z.ZodString>>;
@@ -10726,6 +11011,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10726
11011
  record: "record";
10727
11012
  abort: "abort";
10728
11013
  message: "message";
11014
+ lightMode: "lightMode";
11015
+ darkMode: "darkMode";
10729
11016
  audio: "audio";
10730
11017
  menu: "menu";
10731
11018
  submit: "submit";
@@ -10758,14 +11045,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10758
11045
  openChat: "openChat";
10759
11046
  speechInput: "speechInput";
10760
11047
  listUnordered: "listUnordered";
10761
- lightMode: "lightMode";
10762
- darkMode: "darkMode";
10763
11048
  settings: "settings";
10764
11049
  settingsClose: "settingsClose";
10765
11050
  sources: "sources";
10766
11051
  model: "model";
10767
11052
  checkbox: "checkbox";
10768
11053
  warning: "warning";
11054
+ topic: "topic";
10769
11055
  headerLogo: "headerLogo";
10770
11056
  embedAvatar: "embedAvatar";
10771
11057
  }> & z.core.$partial, z.ZodString>>;
@@ -10888,6 +11174,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10888
11174
  selectNone: z.ZodOptional<z.ZodString>;
10889
11175
  resetToDefaults: z.ZodOptional<z.ZodString>;
10890
11176
  messageTooLong: z.ZodOptional<z.ZodString>;
11177
+ changeTopic: z.ZodOptional<z.ZodString>;
10891
11178
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10892
11179
  name: z.ZodString;
10893
11180
  namePlural: z.ZodOptional<z.ZodString>;
@@ -11047,7 +11334,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11047
11334
  }, z.core.$strip>;
11048
11335
  errors: z.ZodArray<z.ZodUnion<readonly [
11049
11336
  z.ZodEnum<{
11050
- "pii-detected": "pii-detected";
11051
11337
  blocked: "blocked";
11052
11338
  maintenance: "maintenance";
11053
11339
  "rate-limit": "rate-limit";
@@ -11056,12 +11342,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11056
11342
  "too-long": "too-long";
11057
11343
  "quota-reached": "quota-reached";
11058
11344
  aborted: "aborted";
11345
+ "pii-detected": "pii-detected";
11059
11346
  }>,
11060
11347
  z.ZodLiteral<"sse-error">,
11061
11348
  z.ZodLiteral<"client-error">,
11062
11349
  z.ZodLiteral<"unexpected-call">
11063
11350
  ]>>;
11064
11351
  retrievalQuestion: z.ZodOptional<z.ZodString>;
11352
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11065
11353
  state: z.ZodLiteral<"loading">;
11066
11354
  }, z.core.$strip>,
11067
11355
  z.ZodObject<{
@@ -11182,7 +11470,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11182
11470
  }, z.core.$strip>;
11183
11471
  errors: z.ZodArray<z.ZodUnion<readonly [
11184
11472
  z.ZodEnum<{
11185
- "pii-detected": "pii-detected";
11186
11473
  blocked: "blocked";
11187
11474
  maintenance: "maintenance";
11188
11475
  "rate-limit": "rate-limit";
@@ -11191,12 +11478,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11191
11478
  "too-long": "too-long";
11192
11479
  "quota-reached": "quota-reached";
11193
11480
  aborted: "aborted";
11481
+ "pii-detected": "pii-detected";
11194
11482
  }>,
11195
11483
  z.ZodLiteral<"sse-error">,
11196
11484
  z.ZodLiteral<"client-error">,
11197
11485
  z.ZodLiteral<"unexpected-call">
11198
11486
  ]>>;
11199
11487
  retrievalQuestion: z.ZodOptional<z.ZodString>;
11488
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11200
11489
  state: z.ZodEnum<{
11201
11490
  streaming: "streaming";
11202
11491
  done: "done";
@@ -11231,12 +11520,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11231
11520
  z.ZodObject<{
11232
11521
  componentName: z.ZodLiteral<"combobox">;
11233
11522
  data: z.ZodObject<{
11234
- caption: z.ZodOptional<z.ZodString>;
11235
- placeholder: z.ZodString;
11523
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
11524
+ en: "en";
11525
+ de: "de";
11526
+ fr: "fr";
11527
+ it: "it";
11528
+ }> & z.core.$partial, z.ZodString>>;
11529
+ placeholder: z.ZodRecord<z.ZodEnum<{
11530
+ en: "en";
11531
+ de: "de";
11532
+ fr: "fr";
11533
+ it: "it";
11534
+ }> & z.core.$partial, z.ZodString>;
11236
11535
  values: z.ZodArray<z.ZodObject<{
11237
- label: z.ZodString;
11536
+ label: z.ZodRecord<z.ZodEnum<{
11537
+ en: "en";
11538
+ de: "de";
11539
+ fr: "fr";
11540
+ it: "it";
11541
+ }> & z.core.$partial, z.ZodString>;
11238
11542
  value: z.ZodString;
11543
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11239
11544
  }, z.core.$strip>>;
11545
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
11546
+ selectorKey: z.ZodOptional<z.ZodString>;
11240
11547
  }, z.core.$strip>;
11241
11548
  }, z.core.$strip>,
11242
11549
  z.ZodObject<{
@@ -11253,6 +11560,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11253
11560
  time: z.ZodOptional<z.ZodString>;
11254
11561
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
11255
11562
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
11563
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
11256
11564
  }, z.core.$strip>>
11257
11565
  ]>>>;
11258
11566
  bot: z.ZodOptional<z.ZodObject<{
@@ -11376,7 +11684,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11376
11684
  }, z.core.$strip>;
11377
11685
  errors: z.ZodArray<z.ZodUnion<readonly [
11378
11686
  z.ZodEnum<{
11379
- "pii-detected": "pii-detected";
11380
11687
  blocked: "blocked";
11381
11688
  maintenance: "maintenance";
11382
11689
  "rate-limit": "rate-limit";
@@ -11385,12 +11692,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11385
11692
  "too-long": "too-long";
11386
11693
  "quota-reached": "quota-reached";
11387
11694
  aborted: "aborted";
11695
+ "pii-detected": "pii-detected";
11388
11696
  }>,
11389
11697
  z.ZodLiteral<"sse-error">,
11390
11698
  z.ZodLiteral<"client-error">,
11391
11699
  z.ZodLiteral<"unexpected-call">
11392
11700
  ]>>;
11393
11701
  retrievalQuestion: z.ZodOptional<z.ZodString>;
11702
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11394
11703
  state: z.ZodLiteral<"loading">;
11395
11704
  }, z.core.$strip>,
11396
11705
  z.ZodObject<{
@@ -11511,7 +11820,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11511
11820
  }, z.core.$strip>;
11512
11821
  errors: z.ZodArray<z.ZodUnion<readonly [
11513
11822
  z.ZodEnum<{
11514
- "pii-detected": "pii-detected";
11515
11823
  blocked: "blocked";
11516
11824
  maintenance: "maintenance";
11517
11825
  "rate-limit": "rate-limit";
@@ -11520,12 +11828,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11520
11828
  "too-long": "too-long";
11521
11829
  "quota-reached": "quota-reached";
11522
11830
  aborted: "aborted";
11831
+ "pii-detected": "pii-detected";
11523
11832
  }>,
11524
11833
  z.ZodLiteral<"sse-error">,
11525
11834
  z.ZodLiteral<"client-error">,
11526
11835
  z.ZodLiteral<"unexpected-call">
11527
11836
  ]>>;
11528
11837
  retrievalQuestion: z.ZodOptional<z.ZodString>;
11838
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11529
11839
  state: z.ZodEnum<{
11530
11840
  streaming: "streaming";
11531
11841
  done: "done";
@@ -11560,12 +11870,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11560
11870
  z.ZodObject<{
11561
11871
  componentName: z.ZodLiteral<"combobox">;
11562
11872
  data: z.ZodObject<{
11563
- caption: z.ZodOptional<z.ZodString>;
11564
- placeholder: z.ZodString;
11873
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
11874
+ en: "en";
11875
+ de: "de";
11876
+ fr: "fr";
11877
+ it: "it";
11878
+ }> & z.core.$partial, z.ZodString>>;
11879
+ placeholder: z.ZodRecord<z.ZodEnum<{
11880
+ en: "en";
11881
+ de: "de";
11882
+ fr: "fr";
11883
+ it: "it";
11884
+ }> & z.core.$partial, z.ZodString>;
11565
11885
  values: z.ZodArray<z.ZodObject<{
11566
- label: z.ZodString;
11886
+ label: z.ZodRecord<z.ZodEnum<{
11887
+ en: "en";
11888
+ de: "de";
11889
+ fr: "fr";
11890
+ it: "it";
11891
+ }> & z.core.$partial, z.ZodString>;
11567
11892
  value: z.ZodString;
11893
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11568
11894
  }, z.core.$strip>>;
11895
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
11896
+ selectorKey: z.ZodOptional<z.ZodString>;
11569
11897
  }, z.core.$strip>;
11570
11898
  }, z.core.$strip>,
11571
11899
  z.ZodObject<{
@@ -11582,6 +11910,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11582
11910
  time: z.ZodOptional<z.ZodString>;
11583
11911
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
11584
11912
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
11913
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
11585
11914
  }, z.core.$strip>>
11586
11915
  ]>>>;
11587
11916
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -11704,7 +12033,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11704
12033
  }, z.core.$strip>;
11705
12034
  errors: z.ZodArray<z.ZodUnion<readonly [
11706
12035
  z.ZodEnum<{
11707
- "pii-detected": "pii-detected";
11708
12036
  blocked: "blocked";
11709
12037
  maintenance: "maintenance";
11710
12038
  "rate-limit": "rate-limit";
@@ -11713,12 +12041,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11713
12041
  "too-long": "too-long";
11714
12042
  "quota-reached": "quota-reached";
11715
12043
  aborted: "aborted";
12044
+ "pii-detected": "pii-detected";
11716
12045
  }>,
11717
12046
  z.ZodLiteral<"sse-error">,
11718
12047
  z.ZodLiteral<"client-error">,
11719
12048
  z.ZodLiteral<"unexpected-call">
11720
12049
  ]>>;
11721
12050
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12051
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11722
12052
  state: z.ZodLiteral<"loading">;
11723
12053
  }, z.core.$strip>,
11724
12054
  z.ZodObject<{
@@ -11839,7 +12169,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11839
12169
  }, z.core.$strip>;
11840
12170
  errors: z.ZodArray<z.ZodUnion<readonly [
11841
12171
  z.ZodEnum<{
11842
- "pii-detected": "pii-detected";
11843
12172
  blocked: "blocked";
11844
12173
  maintenance: "maintenance";
11845
12174
  "rate-limit": "rate-limit";
@@ -11848,12 +12177,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11848
12177
  "too-long": "too-long";
11849
12178
  "quota-reached": "quota-reached";
11850
12179
  aborted: "aborted";
12180
+ "pii-detected": "pii-detected";
11851
12181
  }>,
11852
12182
  z.ZodLiteral<"sse-error">,
11853
12183
  z.ZodLiteral<"client-error">,
11854
12184
  z.ZodLiteral<"unexpected-call">
11855
12185
  ]>>;
11856
12186
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12187
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
11857
12188
  state: z.ZodEnum<{
11858
12189
  streaming: "streaming";
11859
12190
  done: "done";
@@ -11888,12 +12219,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11888
12219
  z.ZodObject<{
11889
12220
  componentName: z.ZodLiteral<"combobox">;
11890
12221
  data: z.ZodObject<{
11891
- caption: z.ZodOptional<z.ZodString>;
11892
- placeholder: z.ZodString;
12222
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
12223
+ en: "en";
12224
+ de: "de";
12225
+ fr: "fr";
12226
+ it: "it";
12227
+ }> & z.core.$partial, z.ZodString>>;
12228
+ placeholder: z.ZodRecord<z.ZodEnum<{
12229
+ en: "en";
12230
+ de: "de";
12231
+ fr: "fr";
12232
+ it: "it";
12233
+ }> & z.core.$partial, z.ZodString>;
11893
12234
  values: z.ZodArray<z.ZodObject<{
11894
- label: z.ZodString;
12235
+ label: z.ZodRecord<z.ZodEnum<{
12236
+ en: "en";
12237
+ de: "de";
12238
+ fr: "fr";
12239
+ it: "it";
12240
+ }> & z.core.$partial, z.ZodString>;
11895
12241
  value: z.ZodString;
12242
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11896
12243
  }, z.core.$strip>>;
12244
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
12245
+ selectorKey: z.ZodOptional<z.ZodString>;
11897
12246
  }, z.core.$strip>;
11898
12247
  }, z.core.$strip>,
11899
12248
  z.ZodObject<{
@@ -11910,6 +12259,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11910
12259
  time: z.ZodOptional<z.ZodString>;
11911
12260
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
11912
12261
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
12262
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
11913
12263
  }, z.core.$strip>>
11914
12264
  ]>>>;
11915
12265
  }, z.core.$strip>>;
@@ -12034,7 +12384,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12034
12384
  }, z.core.$strip>;
12035
12385
  errors: z.ZodArray<z.ZodUnion<readonly [
12036
12386
  z.ZodEnum<{
12037
- "pii-detected": "pii-detected";
12038
12387
  blocked: "blocked";
12039
12388
  maintenance: "maintenance";
12040
12389
  "rate-limit": "rate-limit";
@@ -12043,12 +12392,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12043
12392
  "too-long": "too-long";
12044
12393
  "quota-reached": "quota-reached";
12045
12394
  aborted: "aborted";
12395
+ "pii-detected": "pii-detected";
12046
12396
  }>,
12047
12397
  z.ZodLiteral<"sse-error">,
12048
12398
  z.ZodLiteral<"client-error">,
12049
12399
  z.ZodLiteral<"unexpected-call">
12050
12400
  ]>>;
12051
12401
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12402
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
12052
12403
  state: z.ZodLiteral<"loading">;
12053
12404
  }, z.core.$strip>,
12054
12405
  z.ZodObject<{
@@ -12169,7 +12520,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12169
12520
  }, z.core.$strip>;
12170
12521
  errors: z.ZodArray<z.ZodUnion<readonly [
12171
12522
  z.ZodEnum<{
12172
- "pii-detected": "pii-detected";
12173
12523
  blocked: "blocked";
12174
12524
  maintenance: "maintenance";
12175
12525
  "rate-limit": "rate-limit";
@@ -12178,12 +12528,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12178
12528
  "too-long": "too-long";
12179
12529
  "quota-reached": "quota-reached";
12180
12530
  aborted: "aborted";
12531
+ "pii-detected": "pii-detected";
12181
12532
  }>,
12182
12533
  z.ZodLiteral<"sse-error">,
12183
12534
  z.ZodLiteral<"client-error">,
12184
12535
  z.ZodLiteral<"unexpected-call">
12185
12536
  ]>>;
12186
12537
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12538
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
12187
12539
  state: z.ZodEnum<{
12188
12540
  streaming: "streaming";
12189
12541
  done: "done";
@@ -12218,12 +12570,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12218
12570
  z.ZodObject<{
12219
12571
  componentName: z.ZodLiteral<"combobox">;
12220
12572
  data: z.ZodObject<{
12221
- caption: z.ZodOptional<z.ZodString>;
12222
- placeholder: z.ZodString;
12573
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
12574
+ en: "en";
12575
+ de: "de";
12576
+ fr: "fr";
12577
+ it: "it";
12578
+ }> & z.core.$partial, z.ZodString>>;
12579
+ placeholder: z.ZodRecord<z.ZodEnum<{
12580
+ en: "en";
12581
+ de: "de";
12582
+ fr: "fr";
12583
+ it: "it";
12584
+ }> & z.core.$partial, z.ZodString>;
12223
12585
  values: z.ZodArray<z.ZodObject<{
12224
- label: z.ZodString;
12586
+ label: z.ZodRecord<z.ZodEnum<{
12587
+ en: "en";
12588
+ de: "de";
12589
+ fr: "fr";
12590
+ it: "it";
12591
+ }> & z.core.$partial, z.ZodString>;
12225
12592
  value: z.ZodString;
12593
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12226
12594
  }, z.core.$strip>>;
12595
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
12596
+ selectorKey: z.ZodOptional<z.ZodString>;
12227
12597
  }, z.core.$strip>;
12228
12598
  }, z.core.$strip>,
12229
12599
  z.ZodObject<{
@@ -12240,6 +12610,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12240
12610
  time: z.ZodOptional<z.ZodString>;
12241
12611
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
12242
12612
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
12613
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
12243
12614
  }, z.core.$strip>>
12244
12615
  ]>>>;
12245
12616
  after: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
@@ -12362,7 +12733,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12362
12733
  }, z.core.$strip>;
12363
12734
  errors: z.ZodArray<z.ZodUnion<readonly [
12364
12735
  z.ZodEnum<{
12365
- "pii-detected": "pii-detected";
12366
12736
  blocked: "blocked";
12367
12737
  maintenance: "maintenance";
12368
12738
  "rate-limit": "rate-limit";
@@ -12371,12 +12741,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12371
12741
  "too-long": "too-long";
12372
12742
  "quota-reached": "quota-reached";
12373
12743
  aborted: "aborted";
12744
+ "pii-detected": "pii-detected";
12374
12745
  }>,
12375
12746
  z.ZodLiteral<"sse-error">,
12376
12747
  z.ZodLiteral<"client-error">,
12377
12748
  z.ZodLiteral<"unexpected-call">
12378
12749
  ]>>;
12379
12750
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12751
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
12380
12752
  state: z.ZodLiteral<"loading">;
12381
12753
  }, z.core.$strip>,
12382
12754
  z.ZodObject<{
@@ -12497,7 +12869,6 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12497
12869
  }, z.core.$strip>;
12498
12870
  errors: z.ZodArray<z.ZodUnion<readonly [
12499
12871
  z.ZodEnum<{
12500
- "pii-detected": "pii-detected";
12501
12872
  blocked: "blocked";
12502
12873
  maintenance: "maintenance";
12503
12874
  "rate-limit": "rate-limit";
@@ -12506,12 +12877,14 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12506
12877
  "too-long": "too-long";
12507
12878
  "quota-reached": "quota-reached";
12508
12879
  aborted: "aborted";
12880
+ "pii-detected": "pii-detected";
12509
12881
  }>,
12510
12882
  z.ZodLiteral<"sse-error">,
12511
12883
  z.ZodLiteral<"client-error">,
12512
12884
  z.ZodLiteral<"unexpected-call">
12513
12885
  ]>>;
12514
12886
  retrievalQuestion: z.ZodOptional<z.ZodString>;
12887
+ noFeedback: z.ZodOptional<z.ZodBoolean>;
12515
12888
  state: z.ZodEnum<{
12516
12889
  streaming: "streaming";
12517
12890
  done: "done";
@@ -12546,12 +12919,30 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12546
12919
  z.ZodObject<{
12547
12920
  componentName: z.ZodLiteral<"combobox">;
12548
12921
  data: z.ZodObject<{
12549
- caption: z.ZodOptional<z.ZodString>;
12550
- placeholder: z.ZodString;
12922
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
12923
+ en: "en";
12924
+ de: "de";
12925
+ fr: "fr";
12926
+ it: "it";
12927
+ }> & z.core.$partial, z.ZodString>>;
12928
+ placeholder: z.ZodRecord<z.ZodEnum<{
12929
+ en: "en";
12930
+ de: "de";
12931
+ fr: "fr";
12932
+ it: "it";
12933
+ }> & z.core.$partial, z.ZodString>;
12551
12934
  values: z.ZodArray<z.ZodObject<{
12552
- label: z.ZodString;
12935
+ label: z.ZodRecord<z.ZodEnum<{
12936
+ en: "en";
12937
+ de: "de";
12938
+ fr: "fr";
12939
+ it: "it";
12940
+ }> & z.core.$partial, z.ZodString>;
12553
12941
  value: z.ZodString;
12942
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12554
12943
  }, z.core.$strip>>;
12944
+ removeComponentAfterValueSelection: z.ZodOptional<z.ZodBoolean>;
12945
+ selectorKey: z.ZodOptional<z.ZodString>;
12555
12946
  }, z.core.$strip>;
12556
12947
  }, z.core.$strip>,
12557
12948
  z.ZodObject<{
@@ -12568,11 +12959,13 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
12568
12959
  time: z.ZodOptional<z.ZodString>;
12569
12960
  hideAvatar: z.ZodOptional<z.ZodBoolean>;
12570
12961
  noSectionPadding: z.ZodOptional<z.ZodBoolean>;
12962
+ hideChatInput: z.ZodOptional<z.ZodBoolean>;
12571
12963
  }, z.core.$strip>>
12572
12964
  ]>>>;
12573
12965
  }, z.core.$strip>>;
12574
12966
  }, z.core.$strip>>>;
12575
12967
  contextVersion: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
12968
+ selectedTopicResetPredefinedQuestionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12576
12969
  }, z.core.$strip>, z.ZodObject<{
12577
12970
  theme: z.ZodOptional<z.ZodObject<{
12578
12971
  name: z.ZodOptional<z.ZodString>;
@@ -12587,6 +12980,7 @@ export type UserDataResponse = z.infer<typeof userDataResponseSchema>;
12587
12980
  export type FullTranslations = z.infer<typeof fullTranslations>;
12588
12981
  export type CompleteChatConfig = z.infer<typeof completeChatConfigSchema>;
12589
12982
  export type SelectorConfig = z.infer<typeof chatSelectorConfigSchema>;
12983
+ export type SelectedTopic = z.infer<typeof selectedTopicSchema>;
12590
12984
  export type ChatConfig = z.infer<typeof chatConfigSchema>;
12591
12985
  type Constructor$1<T, Arguments extends unknown[] = any[]> = new (...arguments_: Arguments) => T;
12592
12986
  export type SseSubscriptionOptions = {
@@ -12601,7 +12995,7 @@ declare class SseSubscription {
12601
12995
  private payload?;
12602
12996
  private readonly eventSource;
12603
12997
  private triggeredOnClose;
12604
- constructor(url: string, options: SseSubscriptionOptions, payload?: Record<string, string> | undefined);
12998
+ constructor(url: string, options: SseSubscriptionOptions, payload?: Record<string, unknown> | undefined);
12605
12999
  isClosed(): boolean;
12606
13000
  close(): void;
12607
13001
  }
@@ -12617,7 +13011,7 @@ declare class RestClient {
12617
13011
  constructor(options: RestClientOptions);
12618
13012
  private getDefaultHeaders;
12619
13013
  get speechRecognitionApiKey(): string | undefined;
12620
- subscribeSse(path: string, params: Record<string, string | undefined> | undefined, options: Omit<SseSubscriptionOptions, "EventSource">): Promise<SseSubscription>;
13014
+ subscribeSse(path: string, params: Record<string, unknown> | undefined, options: Omit<SseSubscriptionOptions, "EventSource">): Promise<SseSubscription>;
12621
13015
  fetchData<Return>(path: string, validator: ZodType<Return>, params?: Record<string, string | undefined>, options?: RequestInit): Promise<Return>;
12622
13016
  postData<T>(path: string, body: T): Promise<Response>;
12623
13017
  postFormData(path: string, formData: FormData): Promise<Response>;
@@ -12685,15 +13079,25 @@ export type ChatOptions = {
12685
13079
  features?: string[];
12686
13080
  version?: string;
12687
13081
  referrer?: string;
12688
- selectorValues?: Record<string, string | string[]>;
13082
+ selectorValues?: Record<string, string | string[] | Record<string, unknown>>;
13083
+ predefinedQuestionId?: string;
13084
+ switchQuestionId?: string;
12689
13085
  onError?: OnError;
12690
13086
  onMessage?: (message: SseMessageV2) => void;
13087
+ onEmbed?: (embed: ChatMessageEmbed) => void;
12691
13088
  };
12692
13089
  export type SearchOptions = {
12693
13090
  model?: string;
12694
13091
  language?: string;
12695
13092
  features?: string[];
12696
13093
  };
13094
+ export type UserActionType = "newDiscussion";
13095
+ export type UserActionRequest = {
13096
+ uID: string;
13097
+ cID?: string;
13098
+ lang?: string;
13099
+ userAction: UserActionType;
13100
+ };
12697
13101
  export type QuickFeedbackType = "positive" | "negative";
12698
13102
  export type QuickFeedback = {
12699
13103
  messageId?: string;
@@ -12761,6 +13165,10 @@ declare class LiipGPTClientPrimitive {
12761
13165
  thumbsUp(requestId: string, question: string): Promise<void>;
12762
13166
  thumbsDown(requestId: string, question: string): Promise<void>;
12763
13167
  feedback(requestId: string, question: string, feedback: Feedback): Promise<void>;
13168
+ userAction(userAction: UserActionType, options?: {
13169
+ conversationId?: string;
13170
+ lang?: string;
13171
+ }): Promise<void>;
12764
13172
  search(query: string, options?: SearchOptions): Promise<SearchResponse>;
12765
13173
  getChatConfig(): Promise<ChatConfig>;
12766
13174
  getPredefinedQuestions(params: PredefinedQuestionsParams): Promise<PredefinedQuestion[]>;