@liip/liipgpt 3.6.3 → 3.6.5

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 (56) hide show
  1. package/button/liipgpt-button.iife.js +36 -31
  2. package/chat/liipgpt-chat.iife.js +43 -38
  3. package/config/index.cjs +61 -24
  4. package/config/index.d.ts +95 -0
  5. package/config/index.js +61 -24
  6. package/configurator/_app/env.js +1 -1
  7. package/configurator/_app/immutable/chunks/1fz_aWj1.js +1 -0
  8. package/configurator/_app/immutable/chunks/B-hpNbtj.js +1 -0
  9. package/configurator/_app/immutable/chunks/B0fliJXa.js +2 -0
  10. package/configurator/_app/immutable/chunks/B3LnmtSW.js +1 -0
  11. package/configurator/_app/immutable/chunks/BClMDlJ1.js +61 -0
  12. package/configurator/_app/immutable/chunks/{-NcnoUoN.js → BQS6uoRb.js} +2 -1
  13. package/configurator/_app/immutable/chunks/Bd-qHRpI.js +1 -0
  14. package/configurator/_app/immutable/chunks/BiTRwaVm.js +15 -0
  15. package/configurator/_app/immutable/chunks/{CKIDNEuR.js → BlhoFnrZ.js} +2 -2
  16. package/configurator/_app/immutable/chunks/COF4nMpZ.js +16 -0
  17. package/configurator/_app/immutable/chunks/CPPDi2Fg.js +1 -0
  18. package/configurator/_app/immutable/chunks/{DV91TmsB.js → CZzAbm1q.js} +7 -2
  19. package/configurator/_app/immutable/chunks/{D6Qx_EAy.js → CvIUpsE2.js} +5 -5
  20. package/configurator/_app/immutable/chunks/{BsL0-YLl.js → CwrZBvVS.js} +1 -1
  21. package/configurator/_app/immutable/chunks/{6JdeEzKi.js → D3gIj7QV.js} +1 -1
  22. package/configurator/_app/immutable/chunks/D9izXPjZ.js +1 -0
  23. package/configurator/_app/immutable/chunks/{MRyhzcyW.js → DKyUMEyV.js} +1 -1
  24. package/configurator/_app/immutable/chunks/DwJ_P0vU.js +143 -0
  25. package/configurator/_app/immutable/chunks/g3gJ-fYk.js +1 -0
  26. package/configurator/_app/immutable/chunks/rEsbAd0y.js +3 -0
  27. package/configurator/_app/immutable/entry/app.U0MgB-sU.js +2 -0
  28. package/configurator/_app/immutable/entry/start.BNB1zQNj.js +1 -0
  29. package/configurator/_app/immutable/nodes/{0.Z8aHQ8Ms.js → 0.DC7uEMnW.js} +77 -3
  30. package/configurator/_app/immutable/nodes/1.BJxKgKQ2.js +1 -0
  31. package/configurator/_app/immutable/nodes/{2.BoZGqQ9G.js → 2.DH2z8RLM.js} +9 -8
  32. package/configurator/_app/immutable/nodes/{3.Bg8nwFnb.js → 3.D-OuZR9F.js} +13 -13
  33. package/configurator/_app/version.json +1 -1
  34. package/configurator/index.html +7 -7
  35. package/configurator/sidebar.html +7 -7
  36. package/index.cjs +79 -24
  37. package/index.d.ts +366 -1
  38. package/index.js +79 -24
  39. package/package.json +1 -1
  40. package/search-summary/liipgpt-search-summary.iife.js +32 -27
  41. package/configurator/_app/immutable/chunks/BmUm-Ak4.js +0 -15
  42. package/configurator/_app/immutable/chunks/C00ruT0L.js +0 -3
  43. package/configurator/_app/immutable/chunks/C4ORIoWK.js +0 -1
  44. package/configurator/_app/immutable/chunks/C59SVKNf.js +0 -1
  45. package/configurator/_app/immutable/chunks/CZiOHSGl.js +0 -1
  46. package/configurator/_app/immutable/chunks/Cz0dIq0O.js +0 -1
  47. package/configurator/_app/immutable/chunks/D7xeAlKo.js +0 -143
  48. package/configurator/_app/immutable/chunks/DVeOoWpz.js +0 -1
  49. package/configurator/_app/immutable/chunks/DembPZun.js +0 -2
  50. package/configurator/_app/immutable/chunks/GwQP32Cz.js +0 -61
  51. package/configurator/_app/immutable/chunks/NtMAcZ7G.js +0 -1
  52. package/configurator/_app/immutable/chunks/Nw8j0Xyw.js +0 -1
  53. package/configurator/_app/immutable/chunks/QyXFn05f.js +0 -16
  54. package/configurator/_app/immutable/entry/app.C_qls3uJ.js +0 -2
  55. package/configurator/_app/immutable/entry/start.CJocbWmY.js +0 -1
  56. package/configurator/_app/immutable/nodes/1.D_R2KrSw.js +0 -1
package/index.d.ts CHANGED
@@ -4981,6 +4981,9 @@ export type SseMessageV2 = {
4981
4981
  } | {
4982
4982
  type: "mapped-reference";
4983
4983
  reference: ChatReference;
4984
+ } | {
4985
+ type: "jsonld-component";
4986
+ reference: ChatReference;
4984
4987
  } | {
4985
4988
  type: "tokens-per-second";
4986
4989
  tps: number;
@@ -5116,7 +5119,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
5116
5119
  de: "de";
5117
5120
  fr: "fr";
5118
5121
  it: "it";
5119
- }> & z.core.$partial, z.ZodObject<{
5122
+ }>, z.ZodObject<{
5120
5123
  introductionTitle: z.ZodString;
5121
5124
  introductionDisclaimer: z.ZodOptional<z.ZodString>;
5122
5125
  termsInvitationToConsent: z.ZodOptional<z.ZodString>;
@@ -5149,6 +5152,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
5149
5152
  close: z.ZodString;
5150
5153
  send: z.ZodString;
5151
5154
  thankYouForFeedback: z.ZodString;
5155
+ answerFormThankYou: z.ZodString;
5152
5156
  giveFeedback: z.ZodString;
5153
5157
  sendFeedback: z.ZodString;
5154
5158
  feedbackFormTitle: z.ZodString;
@@ -5192,6 +5196,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
5192
5196
  ariaAnswerBad: z.ZodString;
5193
5197
  ariaReferenceSource: z.ZodString;
5194
5198
  ariaGiveFeedback: z.ZodString;
5199
+ ariaAnswerForm: z.ZodString;
5195
5200
  ariaLanguageChanged: z.ZodString;
5196
5201
  ariaLightSelected: z.ZodString;
5197
5202
  ariaDarkSelected: z.ZodString;
@@ -5249,6 +5254,16 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
5249
5254
  ariaSearchSummaryExpand: z.ZodString;
5250
5255
  ariaSearchSummaryCollapse: z.ZodString;
5251
5256
  ariaSearchSummaryOptOut: z.ZodString;
5257
+ jsonLdEventDate: z.ZodString;
5258
+ jsonLdEventLocation: z.ZodString;
5259
+ jsonLdEventDescription: z.ZodString;
5260
+ jsonLdEventCtaLabel: z.ZodString;
5261
+ jsonLdCtaLabel: z.ZodString;
5262
+ jsonLdMapOpenMap: z.ZodString;
5263
+ ariaJsonLdMapCanvas: z.ZodString;
5264
+ ariaJsonLdEventCard: z.ZodString;
5265
+ ariaJsonLdMapCard: z.ZodString;
5266
+ ariaJsonLdCtaCard: z.ZodString;
5252
5267
  }, z.core.$strip>>;
5253
5268
  export declare const selectedTopicSchema: z.ZodObject<{
5254
5269
  label: z.ZodString;
@@ -5266,6 +5281,100 @@ declare const chatSelectorConfigSchema: z.ZodObject<{
5266
5281
  values: z.ZodArray<z.ZodString>;
5267
5282
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
5268
5283
  }, z.core.$strip>;
5284
+ export declare const answerFormFieldSchema: z.ZodObject<{
5285
+ type: z.ZodEnum<{
5286
+ text: "text";
5287
+ select: "select";
5288
+ checkbox: "checkbox";
5289
+ radio: "radio";
5290
+ }>;
5291
+ name: z.ZodString;
5292
+ label: z.ZodRecord<z.ZodEnum<{
5293
+ en: "en";
5294
+ de: "de";
5295
+ fr: "fr";
5296
+ it: "it";
5297
+ }> & z.core.$partial, z.ZodString>;
5298
+ placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5299
+ en: "en";
5300
+ de: "de";
5301
+ fr: "fr";
5302
+ it: "it";
5303
+ }> & z.core.$partial, z.ZodString>>;
5304
+ required: z.ZodOptional<z.ZodBoolean>;
5305
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5306
+ value: z.ZodString;
5307
+ label: z.ZodRecord<z.ZodEnum<{
5308
+ en: "en";
5309
+ de: "de";
5310
+ fr: "fr";
5311
+ it: "it";
5312
+ }> & z.core.$partial, z.ZodString>;
5313
+ }, z.core.$strip>>>;
5314
+ }, z.core.$strip>;
5315
+ /**
5316
+ * A client-configurable custom form shown as an option below each bot answer.
5317
+ * When submitted, the field values together with the related question and answer
5318
+ * are sent by email to `receiverEmail` via the backend.
5319
+ */
5320
+ export declare const answerFormSchema: z.ZodObject<{
5321
+ receiverEmail: z.ZodString;
5322
+ triggerLabel: z.ZodRecord<z.ZodEnum<{
5323
+ en: "en";
5324
+ de: "de";
5325
+ fr: "fr";
5326
+ it: "it";
5327
+ }> & z.core.$partial, z.ZodString>;
5328
+ title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5329
+ en: "en";
5330
+ de: "de";
5331
+ fr: "fr";
5332
+ it: "it";
5333
+ }> & z.core.$partial, z.ZodString>>;
5334
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5335
+ en: "en";
5336
+ de: "de";
5337
+ fr: "fr";
5338
+ it: "it";
5339
+ }> & z.core.$partial, z.ZodString>>;
5340
+ submitLabel: z.ZodRecord<z.ZodEnum<{
5341
+ en: "en";
5342
+ de: "de";
5343
+ fr: "fr";
5344
+ it: "it";
5345
+ }> & z.core.$partial, z.ZodString>;
5346
+ fields: z.ZodArray<z.ZodObject<{
5347
+ type: z.ZodEnum<{
5348
+ text: "text";
5349
+ select: "select";
5350
+ checkbox: "checkbox";
5351
+ radio: "radio";
5352
+ }>;
5353
+ name: z.ZodString;
5354
+ label: z.ZodRecord<z.ZodEnum<{
5355
+ en: "en";
5356
+ de: "de";
5357
+ fr: "fr";
5358
+ it: "it";
5359
+ }> & z.core.$partial, z.ZodString>;
5360
+ placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5361
+ en: "en";
5362
+ de: "de";
5363
+ fr: "fr";
5364
+ it: "it";
5365
+ }> & z.core.$partial, z.ZodString>>;
5366
+ required: z.ZodOptional<z.ZodBoolean>;
5367
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5368
+ value: z.ZodString;
5369
+ label: z.ZodRecord<z.ZodEnum<{
5370
+ en: "en";
5371
+ de: "de";
5372
+ fr: "fr";
5373
+ it: "it";
5374
+ }> & z.core.$partial, z.ZodString>;
5375
+ }, z.core.$strip>>>;
5376
+ }, z.core.$strip>>;
5377
+ }, z.core.$strip>;
5269
5378
  export declare const completeChatConfigSchema: z.ZodObject<{
5270
5379
  forcePredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
5271
5380
  forceChatPage: z.ZodOptional<z.ZodBoolean>;
@@ -5317,6 +5426,64 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5317
5426
  }, z.core.$strip>>;
5318
5427
  }, z.core.$strip>>;
5319
5428
  }, z.core.$strip>>;
5429
+ answerForm: z.ZodOptional<z.ZodObject<{
5430
+ receiverEmail: z.ZodString;
5431
+ triggerLabel: z.ZodRecord<z.ZodEnum<{
5432
+ en: "en";
5433
+ de: "de";
5434
+ fr: "fr";
5435
+ it: "it";
5436
+ }> & z.core.$partial, z.ZodString>;
5437
+ title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5438
+ en: "en";
5439
+ de: "de";
5440
+ fr: "fr";
5441
+ it: "it";
5442
+ }> & z.core.$partial, z.ZodString>>;
5443
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5444
+ en: "en";
5445
+ de: "de";
5446
+ fr: "fr";
5447
+ it: "it";
5448
+ }> & z.core.$partial, z.ZodString>>;
5449
+ submitLabel: z.ZodRecord<z.ZodEnum<{
5450
+ en: "en";
5451
+ de: "de";
5452
+ fr: "fr";
5453
+ it: "it";
5454
+ }> & z.core.$partial, z.ZodString>;
5455
+ fields: z.ZodArray<z.ZodObject<{
5456
+ type: z.ZodEnum<{
5457
+ text: "text";
5458
+ select: "select";
5459
+ checkbox: "checkbox";
5460
+ radio: "radio";
5461
+ }>;
5462
+ name: z.ZodString;
5463
+ label: z.ZodRecord<z.ZodEnum<{
5464
+ en: "en";
5465
+ de: "de";
5466
+ fr: "fr";
5467
+ it: "it";
5468
+ }> & z.core.$partial, z.ZodString>;
5469
+ placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5470
+ en: "en";
5471
+ de: "de";
5472
+ fr: "fr";
5473
+ it: "it";
5474
+ }> & z.core.$partial, z.ZodString>>;
5475
+ required: z.ZodOptional<z.ZodBoolean>;
5476
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5477
+ value: z.ZodString;
5478
+ label: z.ZodRecord<z.ZodEnum<{
5479
+ en: "en";
5480
+ de: "de";
5481
+ fr: "fr";
5482
+ it: "it";
5483
+ }> & z.core.$partial, z.ZodString>;
5484
+ }, z.core.$strip>>>;
5485
+ }, z.core.$strip>>;
5486
+ }, z.core.$strip>>;
5320
5487
  theme: z.ZodObject<{
5321
5488
  avatarImageUrl: z.ZodOptional<z.ZodString>;
5322
5489
  colors: z.ZodOptional<z.ZodObject<{
@@ -5670,6 +5837,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5670
5837
  record: "record";
5671
5838
  abort: "abort";
5672
5839
  message: "message";
5840
+ email: "email";
5673
5841
  lightMode: "lightMode";
5674
5842
  darkMode: "darkMode";
5675
5843
  audio: "audio";
@@ -5713,6 +5881,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5713
5881
  topic: "topic";
5714
5882
  headerLogo: "headerLogo";
5715
5883
  embedAvatar: "embedAvatar";
5884
+ forward: "forward";
5885
+ phone: "phone";
5716
5886
  }> & z.core.$partial, z.ZodString>>;
5717
5887
  }, z.core.$strip>>;
5718
5888
  }, z.core.$strip>>;
@@ -5882,6 +6052,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5882
6052
  record: "record";
5883
6053
  abort: "abort";
5884
6054
  message: "message";
6055
+ email: "email";
5885
6056
  lightMode: "lightMode";
5886
6057
  darkMode: "darkMode";
5887
6058
  audio: "audio";
@@ -5925,6 +6096,8 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5925
6096
  topic: "topic";
5926
6097
  headerLogo: "headerLogo";
5927
6098
  embedAvatar: "embedAvatar";
6099
+ forward: "forward";
6100
+ phone: "phone";
5928
6101
  }> & z.core.$partial, z.ZodString>>;
5929
6102
  }, z.core.$strip>>;
5930
6103
  }, z.core.$strip>>;
@@ -5968,6 +6141,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
5968
6141
  close: z.ZodOptional<z.ZodString>;
5969
6142
  send: z.ZodOptional<z.ZodString>;
5970
6143
  thankYouForFeedback: z.ZodOptional<z.ZodString>;
6144
+ answerFormThankYou: z.ZodOptional<z.ZodString>;
5971
6145
  giveFeedback: z.ZodOptional<z.ZodString>;
5972
6146
  sendFeedback: z.ZodOptional<z.ZodString>;
5973
6147
  feedbackFormTitle: z.ZodOptional<z.ZodString>;
@@ -6011,6 +6185,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6011
6185
  ariaAnswerBad: z.ZodOptional<z.ZodString>;
6012
6186
  ariaReferenceSource: z.ZodOptional<z.ZodString>;
6013
6187
  ariaGiveFeedback: z.ZodOptional<z.ZodString>;
6188
+ ariaAnswerForm: z.ZodOptional<z.ZodString>;
6014
6189
  ariaLanguageChanged: z.ZodOptional<z.ZodString>;
6015
6190
  ariaLightSelected: z.ZodOptional<z.ZodString>;
6016
6191
  ariaDarkSelected: z.ZodOptional<z.ZodString>;
@@ -6061,6 +6236,16 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6061
6236
  ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
6062
6237
  ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
6063
6238
  ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
6239
+ jsonLdEventDate: z.ZodOptional<z.ZodString>;
6240
+ jsonLdEventLocation: z.ZodOptional<z.ZodString>;
6241
+ jsonLdEventDescription: z.ZodOptional<z.ZodString>;
6242
+ jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
6243
+ jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
6244
+ jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
6245
+ ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
6246
+ ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
6247
+ ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
6248
+ ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
6064
6249
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6065
6250
  name: z.ZodString;
6066
6251
  namePlural: z.ZodOptional<z.ZodString>;
@@ -7904,6 +8089,64 @@ export declare const chatConfigSchema: z.ZodObject<{
7904
8089
  }, z.core.$strip>>;
7905
8090
  }, z.core.$strip>>;
7906
8091
  }, z.core.$strip>>>;
8092
+ answerForm: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8093
+ receiverEmail: z.ZodString;
8094
+ triggerLabel: z.ZodRecord<z.ZodEnum<{
8095
+ en: "en";
8096
+ de: "de";
8097
+ fr: "fr";
8098
+ it: "it";
8099
+ }> & z.core.$partial, z.ZodString>;
8100
+ title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
8101
+ en: "en";
8102
+ de: "de";
8103
+ fr: "fr";
8104
+ it: "it";
8105
+ }> & z.core.$partial, z.ZodString>>;
8106
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
8107
+ en: "en";
8108
+ de: "de";
8109
+ fr: "fr";
8110
+ it: "it";
8111
+ }> & z.core.$partial, z.ZodString>>;
8112
+ submitLabel: z.ZodRecord<z.ZodEnum<{
8113
+ en: "en";
8114
+ de: "de";
8115
+ fr: "fr";
8116
+ it: "it";
8117
+ }> & z.core.$partial, z.ZodString>;
8118
+ fields: z.ZodArray<z.ZodObject<{
8119
+ type: z.ZodEnum<{
8120
+ text: "text";
8121
+ select: "select";
8122
+ checkbox: "checkbox";
8123
+ radio: "radio";
8124
+ }>;
8125
+ name: z.ZodString;
8126
+ label: z.ZodRecord<z.ZodEnum<{
8127
+ en: "en";
8128
+ de: "de";
8129
+ fr: "fr";
8130
+ it: "it";
8131
+ }> & z.core.$partial, z.ZodString>;
8132
+ placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
8133
+ en: "en";
8134
+ de: "de";
8135
+ fr: "fr";
8136
+ it: "it";
8137
+ }> & z.core.$partial, z.ZodString>>;
8138
+ required: z.ZodOptional<z.ZodBoolean>;
8139
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8140
+ value: z.ZodString;
8141
+ label: z.ZodRecord<z.ZodEnum<{
8142
+ en: "en";
8143
+ de: "de";
8144
+ fr: "fr";
8145
+ it: "it";
8146
+ }> & z.core.$partial, z.ZodString>;
8147
+ }, z.core.$strip>>>;
8148
+ }, z.core.$strip>>;
8149
+ }, z.core.$strip>>>;
7907
8150
  theme: z.ZodOptional<z.ZodObject<{
7908
8151
  avatarImageUrl: z.ZodOptional<z.ZodString>;
7909
8152
  colors: z.ZodOptional<z.ZodObject<{
@@ -8257,6 +8500,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8257
8500
  record: "record";
8258
8501
  abort: "abort";
8259
8502
  message: "message";
8503
+ email: "email";
8260
8504
  lightMode: "lightMode";
8261
8505
  darkMode: "darkMode";
8262
8506
  audio: "audio";
@@ -8300,6 +8544,8 @@ export declare const chatConfigSchema: z.ZodObject<{
8300
8544
  topic: "topic";
8301
8545
  headerLogo: "headerLogo";
8302
8546
  embedAvatar: "embedAvatar";
8547
+ forward: "forward";
8548
+ phone: "phone";
8303
8549
  }> & z.core.$partial, z.ZodString>>;
8304
8550
  }, z.core.$strip>>;
8305
8551
  }, z.core.$strip>>;
@@ -8469,6 +8715,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8469
8715
  record: "record";
8470
8716
  abort: "abort";
8471
8717
  message: "message";
8718
+ email: "email";
8472
8719
  lightMode: "lightMode";
8473
8720
  darkMode: "darkMode";
8474
8721
  audio: "audio";
@@ -8512,6 +8759,8 @@ export declare const chatConfigSchema: z.ZodObject<{
8512
8759
  topic: "topic";
8513
8760
  headerLogo: "headerLogo";
8514
8761
  embedAvatar: "embedAvatar";
8762
+ forward: "forward";
8763
+ phone: "phone";
8515
8764
  }> & z.core.$partial, z.ZodString>>;
8516
8765
  }, z.core.$strip>>;
8517
8766
  }, z.core.$strip>>;
@@ -8555,6 +8804,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8555
8804
  close: z.ZodOptional<z.ZodString>;
8556
8805
  send: z.ZodOptional<z.ZodString>;
8557
8806
  thankYouForFeedback: z.ZodOptional<z.ZodString>;
8807
+ answerFormThankYou: z.ZodOptional<z.ZodString>;
8558
8808
  giveFeedback: z.ZodOptional<z.ZodString>;
8559
8809
  sendFeedback: z.ZodOptional<z.ZodString>;
8560
8810
  feedbackFormTitle: z.ZodOptional<z.ZodString>;
@@ -8598,6 +8848,7 @@ export declare const chatConfigSchema: z.ZodObject<{
8598
8848
  ariaAnswerBad: z.ZodOptional<z.ZodString>;
8599
8849
  ariaReferenceSource: z.ZodOptional<z.ZodString>;
8600
8850
  ariaGiveFeedback: z.ZodOptional<z.ZodString>;
8851
+ ariaAnswerForm: z.ZodOptional<z.ZodString>;
8601
8852
  ariaLanguageChanged: z.ZodOptional<z.ZodString>;
8602
8853
  ariaLightSelected: z.ZodOptional<z.ZodString>;
8603
8854
  ariaDarkSelected: z.ZodOptional<z.ZodString>;
@@ -8648,6 +8899,16 @@ export declare const chatConfigSchema: z.ZodObject<{
8648
8899
  ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
8649
8900
  ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
8650
8901
  ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
8902
+ jsonLdEventDate: z.ZodOptional<z.ZodString>;
8903
+ jsonLdEventLocation: z.ZodOptional<z.ZodString>;
8904
+ jsonLdEventDescription: z.ZodOptional<z.ZodString>;
8905
+ jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
8906
+ jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
8907
+ jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
8908
+ ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
8909
+ ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
8910
+ ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
8911
+ ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
8651
8912
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8652
8913
  name: z.ZodString;
8653
8914
  namePlural: z.ZodOptional<z.ZodString>;
@@ -10491,6 +10752,64 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10491
10752
  }, z.core.$strip>>;
10492
10753
  }, z.core.$strip>>;
10493
10754
  }, z.core.$strip>>>;
10755
+ answerForm: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10756
+ receiverEmail: z.ZodString;
10757
+ triggerLabel: z.ZodRecord<z.ZodEnum<{
10758
+ en: "en";
10759
+ de: "de";
10760
+ fr: "fr";
10761
+ it: "it";
10762
+ }> & z.core.$partial, z.ZodString>;
10763
+ title: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
10764
+ en: "en";
10765
+ de: "de";
10766
+ fr: "fr";
10767
+ it: "it";
10768
+ }> & z.core.$partial, z.ZodString>>;
10769
+ caption: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
10770
+ en: "en";
10771
+ de: "de";
10772
+ fr: "fr";
10773
+ it: "it";
10774
+ }> & z.core.$partial, z.ZodString>>;
10775
+ submitLabel: z.ZodRecord<z.ZodEnum<{
10776
+ en: "en";
10777
+ de: "de";
10778
+ fr: "fr";
10779
+ it: "it";
10780
+ }> & z.core.$partial, z.ZodString>;
10781
+ fields: z.ZodArray<z.ZodObject<{
10782
+ type: z.ZodEnum<{
10783
+ text: "text";
10784
+ select: "select";
10785
+ checkbox: "checkbox";
10786
+ radio: "radio";
10787
+ }>;
10788
+ name: z.ZodString;
10789
+ label: z.ZodRecord<z.ZodEnum<{
10790
+ en: "en";
10791
+ de: "de";
10792
+ fr: "fr";
10793
+ it: "it";
10794
+ }> & z.core.$partial, z.ZodString>;
10795
+ placeholder: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
10796
+ en: "en";
10797
+ de: "de";
10798
+ fr: "fr";
10799
+ it: "it";
10800
+ }> & z.core.$partial, z.ZodString>>;
10801
+ required: z.ZodOptional<z.ZodBoolean>;
10802
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
10803
+ value: z.ZodString;
10804
+ label: z.ZodRecord<z.ZodEnum<{
10805
+ en: "en";
10806
+ de: "de";
10807
+ fr: "fr";
10808
+ it: "it";
10809
+ }> & z.core.$partial, z.ZodString>;
10810
+ }, z.core.$strip>>>;
10811
+ }, z.core.$strip>>;
10812
+ }, z.core.$strip>>>;
10494
10813
  theme: z.ZodOptional<z.ZodObject<{
10495
10814
  avatarImageUrl: z.ZodOptional<z.ZodString>;
10496
10815
  colors: z.ZodOptional<z.ZodObject<{
@@ -10844,6 +11163,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10844
11163
  record: "record";
10845
11164
  abort: "abort";
10846
11165
  message: "message";
11166
+ email: "email";
10847
11167
  lightMode: "lightMode";
10848
11168
  darkMode: "darkMode";
10849
11169
  audio: "audio";
@@ -10887,6 +11207,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
10887
11207
  topic: "topic";
10888
11208
  headerLogo: "headerLogo";
10889
11209
  embedAvatar: "embedAvatar";
11210
+ forward: "forward";
11211
+ phone: "phone";
10890
11212
  }> & z.core.$partial, z.ZodString>>;
10891
11213
  }, z.core.$strip>>;
10892
11214
  }, z.core.$strip>>;
@@ -11056,6 +11378,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11056
11378
  record: "record";
11057
11379
  abort: "abort";
11058
11380
  message: "message";
11381
+ email: "email";
11059
11382
  lightMode: "lightMode";
11060
11383
  darkMode: "darkMode";
11061
11384
  audio: "audio";
@@ -11099,6 +11422,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11099
11422
  topic: "topic";
11100
11423
  headerLogo: "headerLogo";
11101
11424
  embedAvatar: "embedAvatar";
11425
+ forward: "forward";
11426
+ phone: "phone";
11102
11427
  }> & z.core.$partial, z.ZodString>>;
11103
11428
  }, z.core.$strip>>;
11104
11429
  }, z.core.$strip>>;
@@ -11142,6 +11467,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11142
11467
  close: z.ZodOptional<z.ZodString>;
11143
11468
  send: z.ZodOptional<z.ZodString>;
11144
11469
  thankYouForFeedback: z.ZodOptional<z.ZodString>;
11470
+ answerFormThankYou: z.ZodOptional<z.ZodString>;
11145
11471
  giveFeedback: z.ZodOptional<z.ZodString>;
11146
11472
  sendFeedback: z.ZodOptional<z.ZodString>;
11147
11473
  feedbackFormTitle: z.ZodOptional<z.ZodString>;
@@ -11185,6 +11511,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11185
11511
  ariaAnswerBad: z.ZodOptional<z.ZodString>;
11186
11512
  ariaReferenceSource: z.ZodOptional<z.ZodString>;
11187
11513
  ariaGiveFeedback: z.ZodOptional<z.ZodString>;
11514
+ ariaAnswerForm: z.ZodOptional<z.ZodString>;
11188
11515
  ariaLanguageChanged: z.ZodOptional<z.ZodString>;
11189
11516
  ariaLightSelected: z.ZodOptional<z.ZodString>;
11190
11517
  ariaDarkSelected: z.ZodOptional<z.ZodString>;
@@ -11235,6 +11562,16 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
11235
11562
  ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
11236
11563
  ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
11237
11564
  ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
11565
+ jsonLdEventDate: z.ZodOptional<z.ZodString>;
11566
+ jsonLdEventLocation: z.ZodOptional<z.ZodString>;
11567
+ jsonLdEventDescription: z.ZodOptional<z.ZodString>;
11568
+ jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
11569
+ jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
11570
+ jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
11571
+ ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
11572
+ ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
11573
+ ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
11574
+ ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
11238
11575
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11239
11576
  name: z.ZodString;
11240
11577
  namePlural: z.ZodOptional<z.ZodString>;
@@ -13034,6 +13371,8 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
13034
13371
  export type MenuItem = z.infer<typeof menuItemSchema>;
13035
13372
  export type PredefinedQuestion = z.infer<typeof predefinedQuestionSchema>;
13036
13373
  export type ClassificationConfig = z.infer<typeof classificationConfigSchema>;
13374
+ export type AnswerFormConfig = z.infer<typeof answerFormSchema>;
13375
+ export type AnswerFormField = z.infer<typeof answerFormFieldSchema>;
13037
13376
  export type ClassificationResponse = z.infer<typeof classificationResponseSchema>;
13038
13377
  export type PredefinedQuestionsResponse = z.infer<typeof predefinedQuestionsResponseSchema>;
13039
13378
  export type UserDataResponse = z.infer<typeof userDataResponseSchema>;
@@ -13181,6 +13520,27 @@ export type FeedbackRequest = {
13181
13520
  rID?: string | null;
13182
13521
  uID?: string | null;
13183
13522
  };
13523
+ export type AnswerFormFieldValue = {
13524
+ name: string;
13525
+ value: string;
13526
+ };
13527
+ export type AnswerFormSubmission = {
13528
+ receiverEmail: string;
13529
+ fields: AnswerFormFieldValue[];
13530
+ question: string;
13531
+ answer: string;
13532
+ requestId: string;
13533
+ lang: string;
13534
+ };
13535
+ export type AnswerFormRequest = {
13536
+ receiverEmail: string;
13537
+ fields: AnswerFormFieldValue[];
13538
+ query: string;
13539
+ answer: string;
13540
+ rID: string;
13541
+ uID?: string | null;
13542
+ lang: string;
13543
+ };
13184
13544
  export type Classification = {
13185
13545
  impact?: number;
13186
13546
  quality?: number;
@@ -13226,6 +13586,11 @@ declare class LiipGPTClientPrimitive {
13226
13586
  thumbsUp(requestId: string, question: string): Promise<void>;
13227
13587
  thumbsDown(requestId: string, question: string): Promise<void>;
13228
13588
  feedback(requestId: string, question: string, feedback: Feedback): Promise<void>;
13589
+ /**
13590
+ * Submits a client-defined custom answer form. The backend is responsible for
13591
+ * composing and sending the resulting email to `receiverEmail`.
13592
+ */
13593
+ submitAnswerForm(submission: AnswerFormSubmission): Promise<void>;
13229
13594
  userAction(userAction: UserActionType, options?: {
13230
13595
  conversationId?: string;
13231
13596
  lang?: string;