commandbar 1.10.2 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +9 -4
  2. package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +13 -0
  3. package/build/commandbar/src/shared/services/analytics/types.d.ts +3 -3
  4. package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +54 -0
  5. package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +6 -0
  6. package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +152 -0
  7. package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +4 -0
  8. package/build/commandbar-js/src/index.d.ts +2 -3
  9. package/build/commandbar-js/src/index.js +1 -1
  10. package/build/commandbar-js/src/snippet.d.ts +7 -1
  11. package/build/internal/src/client/CommandBarClientSDK.d.ts +13 -1
  12. package/build/internal/src/client/CommandBarProxySDK.d.ts +1 -4
  13. package/build/internal/src/client/CommandBarSDK.d.ts +7 -5
  14. package/build/internal/src/client/SDKConfig.d.ts +3 -1
  15. package/build/internal/src/client/globals.d.ts +1 -0
  16. package/build/internal/src/client/symbols.d.ts +3 -1
  17. package/build/internal/src/middleware/CommandFromClientV.d.ts +16 -2
  18. package/build/internal/src/middleware/OrganizationV.d.ts +44 -8
  19. package/build/internal/src/middleware/additionalResource.d.ts +9 -9
  20. package/build/internal/src/middleware/api.d.ts +181 -0
  21. package/build/internal/src/middleware/billing.d.ts +10 -0
  22. package/build/internal/src/middleware/chat.d.ts +3662 -172
  23. package/build/internal/src/middleware/checklist.d.ts +26 -10
  24. package/build/internal/src/middleware/command.d.ts +540 -140
  25. package/build/internal/src/middleware/endUser.d.ts +2 -0
  26. package/build/internal/src/middleware/experienceTemplate.d.ts +2882 -8
  27. package/build/internal/src/middleware/experiencesSearch.d.ts +233 -28
  28. package/build/internal/src/middleware/flags.d.ts +15 -1
  29. package/build/internal/src/middleware/generics.d.ts +1 -0
  30. package/build/internal/src/middleware/helpDocsIntegration.d.ts +98 -0
  31. package/build/internal/src/middleware/helpDocsSearch.d.ts +165 -20
  32. package/build/internal/src/middleware/helpDocsSync.d.ts +4 -0
  33. package/build/internal/src/middleware/helpHub.d.ts +1 -0
  34. package/build/internal/src/middleware/helpers/actions.d.ts +6 -6
  35. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +2 -2
  36. package/build/internal/src/middleware/helpers/rules.d.ts +9 -7
  37. package/build/internal/src/middleware/localizedMessage.d.ts +50 -0
  38. package/build/internal/src/middleware/network.d.ts +1 -0
  39. package/build/internal/src/middleware/nudge.d.ts +104 -24
  40. package/build/internal/src/middleware/organization.d.ts +201 -62
  41. package/build/internal/src/middleware/organizationSettings.d.ts +12 -8
  42. package/build/internal/src/middleware/profile.d.ts +8 -0
  43. package/build/internal/src/middleware/recommendationSet.d.ts +18 -9
  44. package/build/internal/src/middleware/theme.d.ts +81 -0
  45. package/build/internal/src/middleware/types.d.ts +27 -6
  46. package/build/internal/src/middleware/user.d.ts +9 -1
  47. package/build/internal/src/middleware/workflow.d.ts +85 -0
  48. package/build/internal/src/util/sentry.d.ts +2 -2
  49. package/package.json +8 -3
  50. package/src/index.ts +2 -3
  51. package/src/init.ts +32 -14
  52. package/src/snippet.ts +84 -74
  53. package/build/internal/src/client/OrgConfig.d.ts +0 -5
  54. package/build/internal/src/middleware/guide.d.ts +0 -37
@@ -10,9 +10,6 @@ export declare const OrganizationStatusV: t.TypeC<{
10
10
  users_total: t.NumberC;
11
11
  }>;
12
12
  export declare const KeyEventV: t.UnionC<[t.LiteralC<"Client-Error">, t.LiteralC<"Command execution">, t.LiteralC<"Command suggestion">, t.LiteralC<"Abandoned search">, t.LiteralC<"Search miss">]>;
13
- export declare const UserPropertiesV: t.TypeC<{
14
- keys: t.ArrayC<t.StringC>;
15
- }>;
16
13
  export declare const InternalSettingsV: t.TypeC<{
17
14
  id: t.StringC;
18
15
  integrations: t.RecordC<t.StringC, t.RecordC<t.StringC, t.AnyC>>;
@@ -68,6 +65,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
68
65
  icon_suggest: string;
69
66
  icon_tutorial: string;
70
67
  icon_go_forward: string;
68
+ logo_spotlight: string | null;
71
69
  chat_system_prompt_modifier: string;
72
70
  helphub_chat_welcome_message: string;
73
71
  helphub_chat_avatar: string;
@@ -191,7 +189,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
191
189
  }) | {
192
190
  type: "open_chat";
193
191
  meta: {
194
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
192
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
195
193
  };
196
194
  } | {
197
195
  type: "dismiss";
@@ -221,6 +219,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
221
219
  type: "no_action";
222
220
  };
223
221
  }[];
222
+ helphub_search_action: "search" | "ask";
224
223
  copilot_negative_feedback_fallback_enabled: boolean;
225
224
  copilot_negative_feedback_fallback_message: string | null;
226
225
  copilot_negative_feedback_fallback_actions: {
@@ -246,7 +245,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
246
245
  }) | {
247
246
  type: "open_chat";
248
247
  meta: {
249
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
248
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
250
249
  };
251
250
  } | {
252
251
  type: "dismiss";
@@ -308,9 +307,14 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
308
307
  };
309
308
  send_events_to_heap: boolean;
310
309
  } | undefined;
311
- amplitude?: {
310
+ amplitude?: ({
312
311
  enabled: boolean;
313
- } | undefined;
312
+ } & {
313
+ cohorts?: {
314
+ [x: string]: string;
315
+ } | undefined;
316
+ api_key?: string | undefined;
317
+ }) | undefined;
314
318
  logrocket?: {
315
319
  enabled: boolean;
316
320
  } | undefined;
@@ -335,6 +339,19 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
335
339
  [x: string]: string;
336
340
  } | undefined;
337
341
  } | undefined;
342
+ sunshine?: {
343
+ enabled?: boolean | undefined;
344
+ app_id?: string | undefined;
345
+ key_id?: string | undefined;
346
+ secret_key?: string | undefined;
347
+ integration_id?: string | undefined;
348
+ webhook_shared_secret?: string | undefined;
349
+ switchboard_id?: string | undefined;
350
+ } | undefined;
351
+ freshchat?: {
352
+ topic_name?: string | null | undefined;
353
+ conversation_property_name?: string | null | undefined;
354
+ } | undefined;
338
355
  };
339
356
  copilot_enabled: boolean;
340
357
  user_property_targeting: boolean;
@@ -404,6 +421,7 @@ export declare const update: (object: {
404
421
  icon_suggest: string;
405
422
  icon_tutorial: string;
406
423
  icon_go_forward: string;
424
+ logo_spotlight: string | null;
407
425
  chat_system_prompt_modifier: string;
408
426
  helphub_chat_welcome_message: string;
409
427
  helphub_chat_avatar: string;
@@ -527,7 +545,7 @@ export declare const update: (object: {
527
545
  }) | {
528
546
  type: "open_chat";
529
547
  meta: {
530
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
548
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
531
549
  };
532
550
  } | {
533
551
  type: "dismiss";
@@ -557,6 +575,7 @@ export declare const update: (object: {
557
575
  type: "no_action";
558
576
  };
559
577
  }[];
578
+ helphub_search_action: "search" | "ask";
560
579
  copilot_negative_feedback_fallback_enabled: boolean;
561
580
  copilot_negative_feedback_fallback_message: string | null;
562
581
  copilot_negative_feedback_fallback_actions: {
@@ -582,7 +601,7 @@ export declare const update: (object: {
582
601
  }) | {
583
602
  type: "open_chat";
584
603
  meta: {
585
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
604
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
586
605
  };
587
606
  } | {
588
607
  type: "dismiss";
@@ -644,9 +663,14 @@ export declare const update: (object: {
644
663
  };
645
664
  send_events_to_heap: boolean;
646
665
  } | undefined;
647
- amplitude?: {
666
+ amplitude?: ({
648
667
  enabled: boolean;
649
- } | undefined;
668
+ } & {
669
+ cohorts?: {
670
+ [x: string]: string;
671
+ } | undefined;
672
+ api_key?: string | undefined;
673
+ }) | undefined;
650
674
  logrocket?: {
651
675
  enabled: boolean;
652
676
  } | undefined;
@@ -671,6 +695,19 @@ export declare const update: (object: {
671
695
  [x: string]: string;
672
696
  } | undefined;
673
697
  } | undefined;
698
+ sunshine?: {
699
+ enabled?: boolean | undefined;
700
+ app_id?: string | undefined;
701
+ key_id?: string | undefined;
702
+ secret_key?: string | undefined;
703
+ integration_id?: string | undefined;
704
+ webhook_shared_secret?: string | undefined;
705
+ switchboard_id?: string | undefined;
706
+ } | undefined;
707
+ freshchat?: {
708
+ topic_name?: string | null | undefined;
709
+ conversation_property_name?: string | null | undefined;
710
+ } | undefined;
674
711
  };
675
712
  copilot_enabled: boolean;
676
713
  user_property_targeting: boolean;
@@ -739,6 +776,7 @@ export declare const update: (object: {
739
776
  icon_suggest: string;
740
777
  icon_tutorial: string;
741
778
  icon_go_forward: string;
779
+ logo_spotlight: string | null;
742
780
  chat_system_prompt_modifier: string;
743
781
  helphub_chat_welcome_message: string;
744
782
  helphub_chat_avatar: string;
@@ -862,7 +900,7 @@ export declare const update: (object: {
862
900
  }) | {
863
901
  type: "open_chat";
864
902
  meta: {
865
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
903
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
866
904
  };
867
905
  } | {
868
906
  type: "dismiss";
@@ -892,6 +930,7 @@ export declare const update: (object: {
892
930
  type: "no_action";
893
931
  };
894
932
  }[];
933
+ helphub_search_action: "search" | "ask";
895
934
  copilot_negative_feedback_fallback_enabled: boolean;
896
935
  copilot_negative_feedback_fallback_message: string | null;
897
936
  copilot_negative_feedback_fallback_actions: {
@@ -917,7 +956,7 @@ export declare const update: (object: {
917
956
  }) | {
918
957
  type: "open_chat";
919
958
  meta: {
920
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
959
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
921
960
  };
922
961
  } | {
923
962
  type: "dismiss";
@@ -979,9 +1018,14 @@ export declare const update: (object: {
979
1018
  };
980
1019
  send_events_to_heap: boolean;
981
1020
  } | undefined;
982
- amplitude?: {
1021
+ amplitude?: ({
983
1022
  enabled: boolean;
984
- } | undefined;
1023
+ } & {
1024
+ cohorts?: {
1025
+ [x: string]: string;
1026
+ } | undefined;
1027
+ api_key?: string | undefined;
1028
+ }) | undefined;
985
1029
  logrocket?: {
986
1030
  enabled: boolean;
987
1031
  } | undefined;
@@ -1006,6 +1050,19 @@ export declare const update: (object: {
1006
1050
  [x: string]: string;
1007
1051
  } | undefined;
1008
1052
  } | undefined;
1053
+ sunshine?: {
1054
+ enabled?: boolean | undefined;
1055
+ app_id?: string | undefined;
1056
+ key_id?: string | undefined;
1057
+ secret_key?: string | undefined;
1058
+ integration_id?: string | undefined;
1059
+ webhook_shared_secret?: string | undefined;
1060
+ switchboard_id?: string | undefined;
1061
+ } | undefined;
1062
+ freshchat?: {
1063
+ topic_name?: string | null | undefined;
1064
+ conversation_property_name?: string | null | undefined;
1065
+ } | undefined;
1009
1066
  };
1010
1067
  copilot_enabled: boolean;
1011
1068
  user_property_targeting: boolean;
@@ -1208,7 +1265,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1208
1265
  }) | {
1209
1266
  type: "open_chat";
1210
1267
  meta: {
1211
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1268
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1212
1269
  };
1213
1270
  } | {
1214
1271
  type: "dismiss";
@@ -1346,6 +1403,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
1346
1403
  });
1347
1404
  };
1348
1405
  shortcut: string[];
1406
+ icon_color: string | null;
1407
+ image_color: string | null;
1408
+ show_preview: boolean;
1409
+ shortcut_mac: string[];
1410
+ shortcut_win: string[];
1411
+ hotkey_mac: string;
1412
+ hotkey_win: string;
1413
+ category: number | null;
1349
1414
  celebrate: boolean | {
1350
1415
  angle?: number | undefined;
1351
1416
  spread?: number | undefined;
@@ -1360,11 +1425,8 @@ export declare const listCommands: (orgUID: string) => Promise<({
1360
1425
  colors?: string[] | undefined;
1361
1426
  random?: any;
1362
1427
  } | null;
1363
- icon_color: string | null;
1364
- image_color: string | null;
1365
- show_preview: boolean;
1366
1428
  availability_rules: (({
1367
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1429
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1368
1430
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1369
1431
  } & {
1370
1432
  field?: string | undefined;
@@ -1397,7 +1459,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1397
1459
  } & {
1398
1460
  reason?: string | undefined;
1399
1461
  }) | ({
1400
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1462
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1401
1463
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1402
1464
  } & {
1403
1465
  field?: string | undefined;
@@ -1426,7 +1488,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1426
1488
  reason?: string | undefined;
1427
1489
  }))[];
1428
1490
  recommend_rules: (({
1429
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1491
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1430
1492
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1431
1493
  } & {
1432
1494
  field?: string | undefined;
@@ -1467,7 +1529,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1467
1529
  } & {
1468
1530
  reason?: string | undefined;
1469
1531
  }) | ({
1470
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1532
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1471
1533
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1472
1534
  } & {
1473
1535
  field?: string | undefined;
@@ -1506,12 +1568,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1506
1568
  availability_expression: import("./helpers/rules").RuleExpression;
1507
1569
  recommend_expression: import("./helpers/rules").RuleExpression;
1508
1570
  always_recommend: boolean;
1509
- category: number | null;
1510
1571
  recommend_sort_key: number | null;
1511
- shortcut_mac: string[];
1512
- shortcut_win: string[];
1513
- hotkey_mac: string;
1514
- hotkey_win: string;
1515
1572
  next_steps: (string | number | {
1516
1573
  cta: string;
1517
1574
  action: {
@@ -1535,7 +1592,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1535
1592
  }) | {
1536
1593
  type: "open_chat";
1537
1594
  meta: {
1538
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1595
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1539
1596
  };
1540
1597
  } | {
1541
1598
  type: "dismiss";
@@ -1570,6 +1627,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
1570
1627
  file_name: string;
1571
1628
  size: string;
1572
1629
  } | null;
1630
+ copilot_use_verbatim: boolean;
1573
1631
  generated_tags: {
1574
1632
  automated?: string[] | null | undefined;
1575
1633
  manual?: string[] | null | undefined;
@@ -1582,6 +1640,20 @@ export declare const listCommands: (orgUID: string) => Promise<({
1582
1640
  integration?: {
1583
1641
  id: number;
1584
1642
  helphub_view_article_button_hidden: boolean | undefined;
1643
+ audience: {
1644
+ type: "all_users";
1645
+ } | {
1646
+ type: "rule_expression";
1647
+ expression: import("./helpers/rules").RuleExpression;
1648
+ } | {
1649
+ type: "named_rule_reference";
1650
+ rule_reference: {
1651
+ type: "named_rule";
1652
+ rule_id: string | number;
1653
+ } & {
1654
+ reason?: string | undefined;
1655
+ };
1656
+ } | undefined;
1585
1657
  } | null | undefined;
1586
1658
  })[]>;
1587
1659
  export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
@@ -1765,7 +1837,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1765
1837
  }) | {
1766
1838
  type: "open_chat";
1767
1839
  meta: {
1768
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1840
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1769
1841
  };
1770
1842
  } | {
1771
1843
  type: "dismiss";
@@ -1891,7 +1963,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1891
1963
  };
1892
1964
  tags: string[];
1893
1965
  availability_rules: (({
1894
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1966
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1895
1967
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1896
1968
  } & {
1897
1969
  field?: string | undefined;
@@ -1920,7 +1992,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1920
1992
  reason?: string | undefined;
1921
1993
  }))[];
1922
1994
  recommend_rules: (({
1923
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1995
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
1924
1996
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1925
1997
  } & {
1926
1998
  field?: string | undefined;
@@ -1959,6 +2031,20 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
1959
2031
  availability_expression: import("./helpers/rules").RuleExpression | null;
1960
2032
  recommend_expression: import("./helpers/rules").RuleExpression | null;
1961
2033
  always_recommend: boolean;
2034
+ audience: {
2035
+ type: "all_users";
2036
+ } | {
2037
+ type: "rule_expression";
2038
+ expression: import("./helpers/rules").RuleExpression;
2039
+ } | {
2040
+ type: "named_rule_reference";
2041
+ rule_reference: {
2042
+ type: "named_rule";
2043
+ rule_id: string | number;
2044
+ } & {
2045
+ reason?: string | undefined;
2046
+ };
2047
+ } | null;
1962
2048
  confirm: string;
1963
2049
  shortcut: string[];
1964
2050
  explanation: string;
@@ -2035,7 +2121,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
2035
2121
  }) | {
2036
2122
  type: "open_chat";
2037
2123
  meta: {
2038
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2124
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2039
2125
  };
2040
2126
  } | {
2041
2127
  type: "dismiss";
@@ -2076,6 +2162,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
2076
2162
  show_in_helphub_search: boolean;
2077
2163
  copilot_cta_label: string;
2078
2164
  copilot_description: string;
2165
+ copilot_use_verbatim: boolean;
2079
2166
  } & {
2080
2167
  third_party_source?: string | null | undefined;
2081
2168
  third_party_id?: string | null | undefined;
@@ -2083,6 +2170,20 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
2083
2170
  integration?: {
2084
2171
  id: number;
2085
2172
  helphub_view_article_button_hidden: boolean | undefined;
2173
+ audience: {
2174
+ type: "all_users";
2175
+ } | {
2176
+ type: "rule_expression";
2177
+ expression: import("./helpers/rules").RuleExpression;
2178
+ } | {
2179
+ type: "named_rule_reference";
2180
+ rule_reference: {
2181
+ type: "named_rule";
2182
+ rule_id: string | number;
2183
+ } & {
2184
+ reason?: string | undefined;
2185
+ };
2186
+ } | undefined;
2086
2187
  } | null | undefined;
2087
2188
  }>;
2088
2189
  export declare const getCommandById: (orgUID: string, commandID: string) => Promise<{
@@ -2266,7 +2367,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2266
2367
  }) | {
2267
2368
  type: "open_chat";
2268
2369
  meta: {
2269
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2370
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2270
2371
  };
2271
2372
  } | {
2272
2373
  type: "dismiss";
@@ -2392,7 +2493,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2392
2493
  };
2393
2494
  tags: string[];
2394
2495
  availability_rules: (({
2395
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2496
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2396
2497
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2397
2498
  } & {
2398
2499
  field?: string | undefined;
@@ -2425,7 +2526,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2425
2526
  } & {
2426
2527
  reason?: string | undefined;
2427
2528
  }) | ({
2428
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2529
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2429
2530
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2430
2531
  } & {
2431
2532
  field?: string | undefined;
@@ -2454,7 +2555,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2454
2555
  reason?: string | undefined;
2455
2556
  }))[];
2456
2557
  recommend_rules: (({
2457
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2558
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2458
2559
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2459
2560
  } & {
2460
2561
  field?: string | undefined;
@@ -2495,7 +2596,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2495
2596
  } & {
2496
2597
  reason?: string | undefined;
2497
2598
  }) | ({
2498
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2599
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2499
2600
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2500
2601
  } & {
2501
2602
  field?: string | undefined;
@@ -2615,7 +2716,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2615
2716
  }) | {
2616
2717
  type: "open_chat";
2617
2718
  meta: {
2618
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2719
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2619
2720
  };
2620
2721
  } | {
2621
2722
  type: "dismiss";
@@ -2655,6 +2756,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2655
2756
  show_in_helphub_search: boolean;
2656
2757
  copilot_cta_label: string;
2657
2758
  copilot_description: string;
2759
+ copilot_use_verbatim: boolean;
2658
2760
  editor_tags: string[];
2659
2761
  } & {
2660
2762
  third_party_source?: string | null | undefined;
@@ -2663,6 +2765,20 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
2663
2765
  integration?: {
2664
2766
  id: number;
2665
2767
  helphub_view_article_button_hidden: boolean | undefined;
2768
+ audience: {
2769
+ type: "all_users";
2770
+ } | {
2771
+ type: "rule_expression";
2772
+ expression: import("./helpers/rules").RuleExpression;
2773
+ } | {
2774
+ type: "named_rule_reference";
2775
+ rule_reference: {
2776
+ type: "named_rule";
2777
+ rule_id: string | number;
2778
+ } & {
2779
+ reason?: string | undefined;
2780
+ };
2781
+ } | undefined;
2666
2782
  } | null | undefined;
2667
2783
  }>;
2668
2784
  export declare const listAnswers: (orgUID: string) => Promise<({
@@ -2846,7 +2962,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
2846
2962
  }) | {
2847
2963
  type: "open_chat";
2848
2964
  meta: {
2849
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2965
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2850
2966
  };
2851
2967
  } | {
2852
2968
  type: "dismiss";
@@ -2972,7 +3088,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
2972
3088
  };
2973
3089
  tags: string[];
2974
3090
  availability_rules: (({
2975
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3091
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
2976
3092
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2977
3093
  } & {
2978
3094
  field?: string | undefined;
@@ -3005,7 +3121,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3005
3121
  } & {
3006
3122
  reason?: string | undefined;
3007
3123
  }) | ({
3008
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3124
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3009
3125
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
3010
3126
  } & {
3011
3127
  field?: string | undefined;
@@ -3034,7 +3150,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3034
3150
  reason?: string | undefined;
3035
3151
  }))[];
3036
3152
  recommend_rules: (({
3037
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3153
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3038
3154
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
3039
3155
  } & {
3040
3156
  field?: string | undefined;
@@ -3075,7 +3191,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3075
3191
  } & {
3076
3192
  reason?: string | undefined;
3077
3193
  }) | ({
3078
- type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3194
+ type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
3079
3195
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
3080
3196
  } & {
3081
3197
  field?: string | undefined;
@@ -3195,7 +3311,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3195
3311
  }) | {
3196
3312
  type: "open_chat";
3197
3313
  meta: {
3198
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3314
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3199
3315
  };
3200
3316
  } | {
3201
3317
  type: "dismiss";
@@ -3235,6 +3351,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3235
3351
  show_in_helphub_search: boolean;
3236
3352
  copilot_cta_label: string;
3237
3353
  copilot_description: string;
3354
+ copilot_use_verbatim: boolean;
3238
3355
  editor_tags: string[];
3239
3356
  } & {
3240
3357
  third_party_source?: string | null | undefined;
@@ -3243,6 +3360,20 @@ export declare const listAnswers: (orgUID: string) => Promise<({
3243
3360
  integration?: {
3244
3361
  id: number;
3245
3362
  helphub_view_article_button_hidden: boolean | undefined;
3363
+ audience: {
3364
+ type: "all_users";
3365
+ } | {
3366
+ type: "rule_expression";
3367
+ expression: import("./helpers/rules").RuleExpression;
3368
+ } | {
3369
+ type: "named_rule_reference";
3370
+ rule_reference: {
3371
+ type: "named_rule";
3372
+ rule_id: string | number;
3373
+ } & {
3374
+ reason?: string | undefined;
3375
+ };
3376
+ } | undefined;
3246
3377
  } | null | undefined;
3247
3378
  })[]>;
3248
3379
  export declare const listCommandCategories: (orgUID: string) => Promise<({
@@ -3268,13 +3399,6 @@ export declare const listCommandCategories: (orgUID: string) => Promise<({
3268
3399
  } & {
3269
3400
  contains_hotloaded_commands?: boolean | undefined;
3270
3401
  })[]>;
3271
- export declare const listGuides: (orgUID: string) => Promise<({
3272
- id: number;
3273
- organization: string;
3274
- event: string;
3275
- nudge: string;
3276
- guidance: string;
3277
- } & {})[]>;
3278
3402
  export declare const listContexts: (orgUID: string) => Promise<({
3279
3403
  id: number;
3280
3404
  name: string;
@@ -3293,15 +3417,10 @@ export declare const listRules: (orgUID: string) => Promise<({
3293
3417
  id: string | number;
3294
3418
  name: string;
3295
3419
  expression: import("./helpers/rules").RuleExpression;
3420
+ created: string | undefined;
3296
3421
  } & {
3297
3422
  is_audience: boolean;
3298
3423
  })[]>;
3299
- export declare const listUserProperties: (orgUID: string) => (params?: Record<string, string> | undefined, callbacks?: {
3300
- onSuccess?: (() => void) | undefined;
3301
- onError?: ((err: string) => void) | undefined;
3302
- } | undefined) => Promise<{
3303
- keys: string[];
3304
- }>;
3305
3424
  export declare const readHealth: (arg0: string, urlArgs?: {
3306
3425
  [arg: string]: string;
3307
3426
  } | undefined, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
@@ -3387,6 +3506,7 @@ export declare const decode: (data: any) => {
3387
3506
  icon_suggest: string;
3388
3507
  icon_tutorial: string;
3389
3508
  icon_go_forward: string;
3509
+ logo_spotlight: string | null;
3390
3510
  chat_system_prompt_modifier: string;
3391
3511
  helphub_chat_welcome_message: string;
3392
3512
  helphub_chat_avatar: string;
@@ -3510,7 +3630,7 @@ export declare const decode: (data: any) => {
3510
3630
  }) | {
3511
3631
  type: "open_chat";
3512
3632
  meta: {
3513
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3633
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3514
3634
  };
3515
3635
  } | {
3516
3636
  type: "dismiss";
@@ -3540,6 +3660,7 @@ export declare const decode: (data: any) => {
3540
3660
  type: "no_action";
3541
3661
  };
3542
3662
  }[];
3663
+ helphub_search_action: "search" | "ask";
3543
3664
  copilot_negative_feedback_fallback_enabled: boolean;
3544
3665
  copilot_negative_feedback_fallback_message: string | null;
3545
3666
  copilot_negative_feedback_fallback_actions: {
@@ -3565,7 +3686,7 @@ export declare const decode: (data: any) => {
3565
3686
  }) | {
3566
3687
  type: "open_chat";
3567
3688
  meta: {
3568
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3689
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3569
3690
  };
3570
3691
  } | {
3571
3692
  type: "dismiss";
@@ -3627,9 +3748,14 @@ export declare const decode: (data: any) => {
3627
3748
  };
3628
3749
  send_events_to_heap: boolean;
3629
3750
  } | undefined;
3630
- amplitude?: {
3751
+ amplitude?: ({
3631
3752
  enabled: boolean;
3632
- } | undefined;
3753
+ } & {
3754
+ cohorts?: {
3755
+ [x: string]: string;
3756
+ } | undefined;
3757
+ api_key?: string | undefined;
3758
+ }) | undefined;
3633
3759
  logrocket?: {
3634
3760
  enabled: boolean;
3635
3761
  } | undefined;
@@ -3654,6 +3780,19 @@ export declare const decode: (data: any) => {
3654
3780
  [x: string]: string;
3655
3781
  } | undefined;
3656
3782
  } | undefined;
3783
+ sunshine?: {
3784
+ enabled?: boolean | undefined;
3785
+ app_id?: string | undefined;
3786
+ key_id?: string | undefined;
3787
+ secret_key?: string | undefined;
3788
+ integration_id?: string | undefined;
3789
+ webhook_shared_secret?: string | undefined;
3790
+ switchboard_id?: string | undefined;
3791
+ } | undefined;
3792
+ freshchat?: {
3793
+ topic_name?: string | null | undefined;
3794
+ conversation_property_name?: string | null | undefined;
3795
+ } | undefined;
3657
3796
  };
3658
3797
  copilot_enabled: boolean;
3659
3798
  user_property_targeting: boolean;