commandbar 1.10.2 → 1.12.0

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 (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
@@ -189,7 +189,7 @@ export declare const CommandExperience: t.TypeC<{
189
189
  }) | {
190
190
  type: "open_chat";
191
191
  meta: {
192
- 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";
193
193
  };
194
194
  } | {
195
195
  type: "dismiss";
@@ -315,7 +315,7 @@ export declare const CommandExperience: t.TypeC<{
315
315
  };
316
316
  tags: string[];
317
317
  availability_rules: (({
318
- 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";
318
+ 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";
319
319
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
320
320
  } & {
321
321
  field?: string | undefined;
@@ -344,7 +344,7 @@ export declare const CommandExperience: t.TypeC<{
344
344
  reason?: string | undefined;
345
345
  }))[];
346
346
  recommend_rules: (({
347
- 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";
347
+ 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";
348
348
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
349
349
  } & {
350
350
  field?: string | undefined;
@@ -383,6 +383,20 @@ export declare const CommandExperience: t.TypeC<{
383
383
  availability_expression: import("./helpers/rules").RuleExpression | null;
384
384
  recommend_expression: import("./helpers/rules").RuleExpression | null;
385
385
  always_recommend: boolean;
386
+ audience: {
387
+ type: "all_users";
388
+ } | {
389
+ type: "rule_expression";
390
+ expression: import("./helpers/rules").RuleExpression;
391
+ } | {
392
+ type: "named_rule_reference";
393
+ rule_reference: {
394
+ type: "named_rule";
395
+ rule_id: string | number;
396
+ } & {
397
+ reason?: string | undefined;
398
+ };
399
+ } | null;
386
400
  confirm: string;
387
401
  shortcut: string[];
388
402
  explanation: string;
@@ -459,7 +473,7 @@ export declare const CommandExperience: t.TypeC<{
459
473
  }) | {
460
474
  type: "open_chat";
461
475
  meta: {
462
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
476
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
463
477
  };
464
478
  } | {
465
479
  type: "dismiss";
@@ -500,6 +514,7 @@ export declare const CommandExperience: t.TypeC<{
500
514
  show_in_helphub_search: boolean;
501
515
  copilot_cta_label: string;
502
516
  copilot_description: string;
517
+ copilot_use_verbatim: boolean;
503
518
  } & {
504
519
  third_party_source?: string | null | undefined;
505
520
  third_party_id?: string | null | undefined;
@@ -507,6 +522,20 @@ export declare const CommandExperience: t.TypeC<{
507
522
  integration?: {
508
523
  id: number;
509
524
  helphub_view_article_button_hidden: boolean | undefined;
525
+ audience: {
526
+ type: "all_users";
527
+ } | {
528
+ type: "rule_expression";
529
+ expression: import("./helpers/rules").RuleExpression;
530
+ } | {
531
+ type: "named_rule_reference";
532
+ rule_reference: {
533
+ type: "named_rule";
534
+ rule_id: string | number;
535
+ } & {
536
+ reason?: string | undefined;
537
+ };
538
+ } | undefined;
510
539
  } | null | undefined;
511
540
  }, {
512
541
  id: number;
@@ -689,7 +718,7 @@ export declare const CommandExperience: t.TypeC<{
689
718
  }) | {
690
719
  type: "open_chat";
691
720
  meta: {
692
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
721
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
693
722
  };
694
723
  } | {
695
724
  type: "dismiss";
@@ -815,7 +844,7 @@ export declare const CommandExperience: t.TypeC<{
815
844
  };
816
845
  tags: string[];
817
846
  availability_rules: (({
818
- 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";
847
+ 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";
819
848
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
820
849
  } & {
821
850
  field?: string | undefined;
@@ -844,7 +873,7 @@ export declare const CommandExperience: t.TypeC<{
844
873
  reason?: string | undefined;
845
874
  }))[];
846
875
  recommend_rules: (({
847
- 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";
876
+ 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";
848
877
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
849
878
  } & {
850
879
  field?: string | undefined;
@@ -883,6 +912,20 @@ export declare const CommandExperience: t.TypeC<{
883
912
  availability_expression: import("./helpers/rules").RuleExpression | null;
884
913
  recommend_expression: import("./helpers/rules").RuleExpression | null;
885
914
  always_recommend: boolean;
915
+ audience: {
916
+ type: "all_users";
917
+ } | {
918
+ type: "rule_expression";
919
+ expression: import("./helpers/rules").RuleExpression;
920
+ } | {
921
+ type: "named_rule_reference";
922
+ rule_reference: {
923
+ type: "named_rule";
924
+ rule_id: string | number;
925
+ } & {
926
+ reason?: string | undefined;
927
+ };
928
+ } | null;
886
929
  confirm: string;
887
930
  shortcut: string[];
888
931
  explanation: string;
@@ -959,7 +1002,7 @@ export declare const CommandExperience: t.TypeC<{
959
1002
  }) | {
960
1003
  type: "open_chat";
961
1004
  meta: {
962
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1005
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
963
1006
  };
964
1007
  } | {
965
1008
  type: "dismiss";
@@ -1000,6 +1043,7 @@ export declare const CommandExperience: t.TypeC<{
1000
1043
  show_in_helphub_search: boolean;
1001
1044
  copilot_cta_label: string;
1002
1045
  copilot_description: string;
1046
+ copilot_use_verbatim: boolean;
1003
1047
  } & {
1004
1048
  third_party_source?: string | null | undefined;
1005
1049
  third_party_id?: string | null | undefined;
@@ -1007,6 +1051,20 @@ export declare const CommandExperience: t.TypeC<{
1007
1051
  integration?: {
1008
1052
  id: number;
1009
1053
  helphub_view_article_button_hidden: boolean | undefined;
1054
+ audience: {
1055
+ type: "all_users";
1056
+ } | {
1057
+ type: "rule_expression";
1058
+ expression: import("./helpers/rules").RuleExpression;
1059
+ } | {
1060
+ type: "named_rule_reference";
1061
+ rule_reference: {
1062
+ type: "named_rule";
1063
+ rule_id: string | number;
1064
+ } & {
1065
+ reason?: string | undefined;
1066
+ };
1067
+ } | undefined;
1010
1068
  } | null | undefined;
1011
1069
  }, any>;
1012
1070
  excerpt: t.StringC;
@@ -1203,7 +1261,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1203
1261
  }) | {
1204
1262
  type: "open_chat";
1205
1263
  meta: {
1206
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1264
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1207
1265
  };
1208
1266
  } | {
1209
1267
  type: "dismiss";
@@ -1329,7 +1387,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1329
1387
  };
1330
1388
  tags: string[];
1331
1389
  availability_rules: (({
1332
- 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";
1390
+ 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";
1333
1391
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1334
1392
  } & {
1335
1393
  field?: string | undefined;
@@ -1358,7 +1416,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1358
1416
  reason?: string | undefined;
1359
1417
  }))[];
1360
1418
  recommend_rules: (({
1361
- 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";
1419
+ 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";
1362
1420
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1363
1421
  } & {
1364
1422
  field?: string | undefined;
@@ -1397,6 +1455,20 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1397
1455
  availability_expression: import("./helpers/rules").RuleExpression | null;
1398
1456
  recommend_expression: import("./helpers/rules").RuleExpression | null;
1399
1457
  always_recommend: boolean;
1458
+ audience: {
1459
+ type: "all_users";
1460
+ } | {
1461
+ type: "rule_expression";
1462
+ expression: import("./helpers/rules").RuleExpression;
1463
+ } | {
1464
+ type: "named_rule_reference";
1465
+ rule_reference: {
1466
+ type: "named_rule";
1467
+ rule_id: string | number;
1468
+ } & {
1469
+ reason?: string | undefined;
1470
+ };
1471
+ } | null;
1400
1472
  confirm: string;
1401
1473
  shortcut: string[];
1402
1474
  explanation: string;
@@ -1473,7 +1545,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1473
1545
  }) | {
1474
1546
  type: "open_chat";
1475
1547
  meta: {
1476
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1548
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1477
1549
  };
1478
1550
  } | {
1479
1551
  type: "dismiss";
@@ -1514,6 +1586,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1514
1586
  show_in_helphub_search: boolean;
1515
1587
  copilot_cta_label: string;
1516
1588
  copilot_description: string;
1589
+ copilot_use_verbatim: boolean;
1517
1590
  } & {
1518
1591
  third_party_source?: string | null | undefined;
1519
1592
  third_party_id?: string | null | undefined;
@@ -1521,6 +1594,20 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1521
1594
  integration?: {
1522
1595
  id: number;
1523
1596
  helphub_view_article_button_hidden: boolean | undefined;
1597
+ audience: {
1598
+ type: "all_users";
1599
+ } | {
1600
+ type: "rule_expression";
1601
+ expression: import("./helpers/rules").RuleExpression;
1602
+ } | {
1603
+ type: "named_rule_reference";
1604
+ rule_reference: {
1605
+ type: "named_rule";
1606
+ rule_id: string | number;
1607
+ } & {
1608
+ reason?: string | undefined;
1609
+ };
1610
+ } | undefined;
1524
1611
  } | null | undefined;
1525
1612
  }, {
1526
1613
  id: number;
@@ -1703,7 +1790,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1703
1790
  }) | {
1704
1791
  type: "open_chat";
1705
1792
  meta: {
1706
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1793
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1707
1794
  };
1708
1795
  } | {
1709
1796
  type: "dismiss";
@@ -1829,7 +1916,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1829
1916
  };
1830
1917
  tags: string[];
1831
1918
  availability_rules: (({
1832
- 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";
1919
+ 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";
1833
1920
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1834
1921
  } & {
1835
1922
  field?: string | undefined;
@@ -1858,7 +1945,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1858
1945
  reason?: string | undefined;
1859
1946
  }))[];
1860
1947
  recommend_rules: (({
1861
- 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";
1948
+ 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";
1862
1949
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
1863
1950
  } & {
1864
1951
  field?: string | undefined;
@@ -1897,6 +1984,20 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1897
1984
  availability_expression: import("./helpers/rules").RuleExpression | null;
1898
1985
  recommend_expression: import("./helpers/rules").RuleExpression | null;
1899
1986
  always_recommend: boolean;
1987
+ audience: {
1988
+ type: "all_users";
1989
+ } | {
1990
+ type: "rule_expression";
1991
+ expression: import("./helpers/rules").RuleExpression;
1992
+ } | {
1993
+ type: "named_rule_reference";
1994
+ rule_reference: {
1995
+ type: "named_rule";
1996
+ rule_id: string | number;
1997
+ } & {
1998
+ reason?: string | undefined;
1999
+ };
2000
+ } | null;
1900
2001
  confirm: string;
1901
2002
  shortcut: string[];
1902
2003
  explanation: string;
@@ -1973,7 +2074,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
1973
2074
  }) | {
1974
2075
  type: "open_chat";
1975
2076
  meta: {
1976
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2077
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1977
2078
  };
1978
2079
  } | {
1979
2080
  type: "dismiss";
@@ -2014,6 +2115,7 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
2014
2115
  show_in_helphub_search: boolean;
2015
2116
  copilot_cta_label: string;
2016
2117
  copilot_description: string;
2118
+ copilot_use_verbatim: boolean;
2017
2119
  } & {
2018
2120
  third_party_source?: string | null | undefined;
2019
2121
  third_party_id?: string | null | undefined;
@@ -2021,6 +2123,20 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
2021
2123
  integration?: {
2022
2124
  id: number;
2023
2125
  helphub_view_article_button_hidden: boolean | undefined;
2126
+ audience: {
2127
+ type: "all_users";
2128
+ } | {
2129
+ type: "rule_expression";
2130
+ expression: import("./helpers/rules").RuleExpression;
2131
+ } | {
2132
+ type: "named_rule_reference";
2133
+ rule_reference: {
2134
+ type: "named_rule";
2135
+ rule_id: string | number;
2136
+ } & {
2137
+ reason?: string | undefined;
2138
+ };
2139
+ } | undefined;
2024
2140
  } | null | undefined;
2025
2141
  }, any>;
2026
2142
  excerpt: t.StringC;
@@ -2218,7 +2334,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2218
2334
  }) | {
2219
2335
  type: "open_chat";
2220
2336
  meta: {
2221
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2337
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2222
2338
  };
2223
2339
  } | {
2224
2340
  type: "dismiss";
@@ -2344,7 +2460,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2344
2460
  };
2345
2461
  tags: string[];
2346
2462
  availability_rules: (({
2347
- 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";
2463
+ 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";
2348
2464
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2349
2465
  } & {
2350
2466
  field?: string | undefined;
@@ -2373,7 +2489,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2373
2489
  reason?: string | undefined;
2374
2490
  }))[];
2375
2491
  recommend_rules: (({
2376
- 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";
2492
+ 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";
2377
2493
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2378
2494
  } & {
2379
2495
  field?: string | undefined;
@@ -2412,6 +2528,20 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2412
2528
  availability_expression: import("./helpers/rules").RuleExpression | null;
2413
2529
  recommend_expression: import("./helpers/rules").RuleExpression | null;
2414
2530
  always_recommend: boolean;
2531
+ audience: {
2532
+ type: "all_users";
2533
+ } | {
2534
+ type: "rule_expression";
2535
+ expression: import("./helpers/rules").RuleExpression;
2536
+ } | {
2537
+ type: "named_rule_reference";
2538
+ rule_reference: {
2539
+ type: "named_rule";
2540
+ rule_id: string | number;
2541
+ } & {
2542
+ reason?: string | undefined;
2543
+ };
2544
+ } | null;
2415
2545
  confirm: string;
2416
2546
  shortcut: string[];
2417
2547
  explanation: string;
@@ -2488,7 +2618,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2488
2618
  }) | {
2489
2619
  type: "open_chat";
2490
2620
  meta: {
2491
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2621
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2492
2622
  };
2493
2623
  } | {
2494
2624
  type: "dismiss";
@@ -2529,6 +2659,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2529
2659
  show_in_helphub_search: boolean;
2530
2660
  copilot_cta_label: string;
2531
2661
  copilot_description: string;
2662
+ copilot_use_verbatim: boolean;
2532
2663
  } & {
2533
2664
  third_party_source?: string | null | undefined;
2534
2665
  third_party_id?: string | null | undefined;
@@ -2536,6 +2667,20 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2536
2667
  integration?: {
2537
2668
  id: number;
2538
2669
  helphub_view_article_button_hidden: boolean | undefined;
2670
+ audience: {
2671
+ type: "all_users";
2672
+ } | {
2673
+ type: "rule_expression";
2674
+ expression: import("./helpers/rules").RuleExpression;
2675
+ } | {
2676
+ type: "named_rule_reference";
2677
+ rule_reference: {
2678
+ type: "named_rule";
2679
+ rule_id: string | number;
2680
+ } & {
2681
+ reason?: string | undefined;
2682
+ };
2683
+ } | undefined;
2539
2684
  } | null | undefined;
2540
2685
  }, {
2541
2686
  id: number;
@@ -2718,7 +2863,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2718
2863
  }) | {
2719
2864
  type: "open_chat";
2720
2865
  meta: {
2721
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
2866
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2722
2867
  };
2723
2868
  } | {
2724
2869
  type: "dismiss";
@@ -2844,7 +2989,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2844
2989
  };
2845
2990
  tags: string[];
2846
2991
  availability_rules: (({
2847
- 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";
2992
+ 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";
2848
2993
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2849
2994
  } & {
2850
2995
  field?: string | undefined;
@@ -2873,7 +3018,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2873
3018
  reason?: string | undefined;
2874
3019
  }))[];
2875
3020
  recommend_rules: (({
2876
- 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";
3021
+ 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";
2877
3022
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
2878
3023
  } & {
2879
3024
  field?: string | undefined;
@@ -2912,6 +3057,20 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2912
3057
  availability_expression: import("./helpers/rules").RuleExpression | null;
2913
3058
  recommend_expression: import("./helpers/rules").RuleExpression | null;
2914
3059
  always_recommend: boolean;
3060
+ audience: {
3061
+ type: "all_users";
3062
+ } | {
3063
+ type: "rule_expression";
3064
+ expression: import("./helpers/rules").RuleExpression;
3065
+ } | {
3066
+ type: "named_rule_reference";
3067
+ rule_reference: {
3068
+ type: "named_rule";
3069
+ rule_id: string | number;
3070
+ } & {
3071
+ reason?: string | undefined;
3072
+ };
3073
+ } | null;
2915
3074
  confirm: string;
2916
3075
  shortcut: string[];
2917
3076
  explanation: string;
@@ -2988,7 +3147,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
2988
3147
  }) | {
2989
3148
  type: "open_chat";
2990
3149
  meta: {
2991
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3150
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
2992
3151
  };
2993
3152
  } | {
2994
3153
  type: "dismiss";
@@ -3029,6 +3188,7 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
3029
3188
  show_in_helphub_search: boolean;
3030
3189
  copilot_cta_label: string;
3031
3190
  copilot_description: string;
3191
+ copilot_use_verbatim: boolean;
3032
3192
  } & {
3033
3193
  third_party_source?: string | null | undefined;
3034
3194
  third_party_id?: string | null | undefined;
@@ -3036,6 +3196,20 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
3036
3196
  integration?: {
3037
3197
  id: number;
3038
3198
  helphub_view_article_button_hidden: boolean | undefined;
3199
+ audience: {
3200
+ type: "all_users";
3201
+ } | {
3202
+ type: "rule_expression";
3203
+ expression: import("./helpers/rules").RuleExpression;
3204
+ } | {
3205
+ type: "named_rule_reference";
3206
+ rule_reference: {
3207
+ type: "named_rule";
3208
+ rule_id: string | number;
3209
+ } & {
3210
+ reason?: string | undefined;
3211
+ };
3212
+ } | undefined;
3039
3213
  } | null | undefined;
3040
3214
  }, any>;
3041
3215
  excerpt: t.StringC;
@@ -3054,6 +3228,8 @@ export declare const SearchExperiencesPayloadV: t.PartialC<{
3054
3228
  widget: t.UnionC<[t.LiteralC<"helphub">, t.LiteralC<"spotlight">]>;
3055
3229
  experience_types: t.StringC;
3056
3230
  max_results: t.UnionC<[t.NumberC, t.UndefinedC]>;
3231
+ user_properties: t.UnionC<[t.RecordC<t.StringC, t.UnknownC>, t.UndefinedC]>;
3232
+ distinct_id: t.UnionC<[t.StringC, t.UndefinedC]>;
3057
3233
  filter: t.UnionC<[t.PartialC<{
3058
3234
  labels: t.ArrayC<t.StringC>;
3059
3235
  }>, t.NullC]>;
@@ -3245,7 +3421,7 @@ export declare class ExperiencesSearch {
3245
3421
  }) | {
3246
3422
  type: "open_chat";
3247
3423
  meta: {
3248
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3424
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3249
3425
  };
3250
3426
  } | {
3251
3427
  type: "dismiss";
@@ -3371,7 +3547,7 @@ export declare class ExperiencesSearch {
3371
3547
  };
3372
3548
  tags: string[];
3373
3549
  availability_rules: (({
3374
- 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";
3550
+ 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";
3375
3551
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
3376
3552
  } & {
3377
3553
  field?: string | undefined;
@@ -3400,7 +3576,7 @@ export declare class ExperiencesSearch {
3400
3576
  reason?: string | undefined;
3401
3577
  }))[];
3402
3578
  recommend_rules: (({
3403
- 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";
3579
+ 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";
3404
3580
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
3405
3581
  } & {
3406
3582
  field?: string | undefined;
@@ -3439,6 +3615,20 @@ export declare class ExperiencesSearch {
3439
3615
  availability_expression: import("./helpers/rules").RuleExpression | null;
3440
3616
  recommend_expression: import("./helpers/rules").RuleExpression | null;
3441
3617
  always_recommend: boolean;
3618
+ audience: {
3619
+ type: "all_users";
3620
+ } | {
3621
+ type: "rule_expression";
3622
+ expression: import("./helpers/rules").RuleExpression;
3623
+ } | {
3624
+ type: "named_rule_reference";
3625
+ rule_reference: {
3626
+ type: "named_rule";
3627
+ rule_id: string | number;
3628
+ } & {
3629
+ reason?: string | undefined;
3630
+ };
3631
+ } | null;
3442
3632
  confirm: string;
3443
3633
  shortcut: string[];
3444
3634
  explanation: string;
@@ -3515,7 +3705,7 @@ export declare class ExperiencesSearch {
3515
3705
  }) | {
3516
3706
  type: "open_chat";
3517
3707
  meta: {
3518
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
3708
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
3519
3709
  };
3520
3710
  } | {
3521
3711
  type: "dismiss";
@@ -3556,6 +3746,7 @@ export declare class ExperiencesSearch {
3556
3746
  show_in_helphub_search: boolean;
3557
3747
  copilot_cta_label: string;
3558
3748
  copilot_description: string;
3749
+ copilot_use_verbatim: boolean;
3559
3750
  } & {
3560
3751
  third_party_source?: string | null | undefined;
3561
3752
  third_party_id?: string | null | undefined;
@@ -3563,6 +3754,20 @@ export declare class ExperiencesSearch {
3563
3754
  integration?: {
3564
3755
  id: number;
3565
3756
  helphub_view_article_button_hidden: boolean | undefined;
3757
+ audience: {
3758
+ type: "all_users";
3759
+ } | {
3760
+ type: "rule_expression";
3761
+ expression: import("./helpers/rules").RuleExpression;
3762
+ } | {
3763
+ type: "named_rule_reference";
3764
+ rule_reference: {
3765
+ type: "named_rule";
3766
+ rule_id: string | number;
3767
+ } & {
3768
+ reason?: string | undefined;
3769
+ };
3770
+ } | undefined;
3566
3771
  } | null | undefined;
3567
3772
  };
3568
3773
  excerpt: string;
@@ -14,7 +14,21 @@ export type Flags = {
14
14
  'release-analytics-v2': boolean;
15
15
  'enable-pendo-open-guide-action': boolean;
16
16
  'show-incident-banner': '' | string;
17
- 'release-behavioral-targeting': boolean;
17
+ 'show-dev-env-banner': boolean;
18
+ 'release-audiences-for-command-types': boolean;
19
+ 'copilot-actions-chain': boolean;
20
+ 'release-analytics-events-refresh': boolean;
21
+ 'hackweek-live-events-table': boolean;
22
+ 'release-analytics-v2-qa': boolean;
23
+ 'release-preview-v-2': boolean;
24
+ 'show-chat-debug-panel': boolean;
25
+ 'segment-webhook-destination': boolean;
26
+ 'show-zendesk-integration-v-2-modal': boolean;
27
+ 'amplitude-audience-integration': boolean;
28
+ 'zendesk-inline-handoff': boolean;
29
+ 'release-workflows-frontend': boolean;
30
+ 'release-audiences-ui-v-2': boolean;
31
+ 'workflow-flexibility': boolean;
18
32
  };
19
33
  export declare const defaultFlags: Flags;
20
34
  export declare const fetchFlags: (orgID: string) => Promise<Flags>;