commandbar 1.10.2 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +7 -2
  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 +1 -1
  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 +0 -1
  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 +12 -0
  12. package/build/internal/src/client/CommandBarProxySDK.d.ts +1 -4
  13. package/build/internal/src/client/CommandBarSDK.d.ts +5 -3
  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 +34 -8
  19. package/build/internal/src/middleware/additionalResource.d.ts +9 -9
  20. package/build/internal/src/middleware/api.d.ts +173 -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 +18 -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 +2874 -8
  27. package/build/internal/src/middleware/experiencesSearch.d.ts +233 -28
  28. package/build/internal/src/middleware/flags.d.ts +14 -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/helpers/actions.d.ts +6 -6
  34. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +2 -2
  35. package/build/internal/src/middleware/helpers/rules.d.ts +7 -7
  36. package/build/internal/src/middleware/localizedMessage.d.ts +50 -0
  37. package/build/internal/src/middleware/network.d.ts +1 -0
  38. package/build/internal/src/middleware/nudge.d.ts +96 -24
  39. package/build/internal/src/middleware/organization.d.ts +180 -62
  40. package/build/internal/src/middleware/organizationSettings.d.ts +8 -8
  41. package/build/internal/src/middleware/profile.d.ts +8 -0
  42. package/build/internal/src/middleware/recommendationSet.d.ts +18 -9
  43. package/build/internal/src/middleware/theme.d.ts +7 -0
  44. package/build/internal/src/middleware/types.d.ts +23 -5
  45. package/build/internal/src/middleware/user.d.ts +9 -1
  46. package/build/internal/src/middleware/workflow.d.ts +69 -0
  47. package/package.json +5 -2
  48. package/src/index.ts +0 -1
  49. package/src/init.ts +27 -13
  50. package/src/snippet.ts +79 -74
  51. package/build/internal/src/client/OrgConfig.d.ts +0 -5
  52. package/build/internal/src/middleware/guide.d.ts +0 -37
@@ -49,7 +49,7 @@ export declare const ChecklistItemV: t.IntersectionC<[t.TypeC<{
49
49
  }>]>, t.TypeC<{
50
50
  type: t.LiteralC<"open_chat">;
51
51
  meta: t.TypeC<{
52
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
52
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
53
53
  }>;
54
54
  }>, t.TypeC<{
55
55
  type: t.LiteralC<"dismiss">;
@@ -180,7 +180,7 @@ export declare const ChecklistBaseV: t.IntersectionC<[t.TypeC<{
180
180
  }>]>, t.TypeC<{
181
181
  type: t.LiteralC<"open_chat">;
182
182
  meta: t.TypeC<{
183
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
183
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
184
184
  }>;
185
185
  }>, t.TypeC<{
186
186
  type: t.LiteralC<"dismiss">;
@@ -329,7 +329,7 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
329
329
  }>]>, t.TypeC<{
330
330
  type: t.LiteralC<"open_chat">;
331
331
  meta: t.TypeC<{
332
- type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
332
+ type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
333
333
  }>;
334
334
  }>, t.TypeC<{
335
335
  type: t.LiteralC<"dismiss">;
@@ -384,6 +384,7 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
384
384
  template_source: t.StringC;
385
385
  position: t.UnionC<[t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
386
386
  skippable: t.BooleanC;
387
+ dismissible: t.BooleanC;
387
388
  open_by_default: t.BooleanC;
388
389
  share_page_url_or_path: t.StringC;
389
390
  show_in_spotlight_search: t.BooleanC;
@@ -490,7 +491,7 @@ export declare class Checklist {
490
491
  }) | {
491
492
  type: "open_chat";
492
493
  meta: {
493
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
494
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
494
495
  };
495
496
  } | {
496
497
  type: "dismiss";
@@ -547,6 +548,7 @@ export declare class Checklist {
547
548
  template_source: string;
548
549
  position: "bottomRight" | "bottomLeft";
549
550
  skippable: boolean;
551
+ dismissible: boolean;
550
552
  open_by_default: boolean;
551
553
  share_page_url_or_path: string;
552
554
  show_in_spotlight_search: boolean;
@@ -652,7 +654,7 @@ export declare class Checklist {
652
654
  }) | {
653
655
  type: "open_chat";
654
656
  meta: {
655
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
657
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
656
658
  };
657
659
  } | {
658
660
  type: "dismiss";
@@ -709,6 +711,7 @@ export declare class Checklist {
709
711
  template_source: string;
710
712
  position: "bottomRight" | "bottomLeft";
711
713
  skippable: boolean;
714
+ dismissible: boolean;
712
715
  open_by_default: boolean;
713
716
  share_page_url_or_path: string;
714
717
  show_in_spotlight_search: boolean;
@@ -813,7 +816,7 @@ export declare class Checklist {
813
816
  }) | {
814
817
  type: "open_chat";
815
818
  meta: {
816
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
819
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
817
820
  };
818
821
  } | {
819
822
  type: "dismiss";
@@ -870,6 +873,7 @@ export declare class Checklist {
870
873
  template_source: string;
871
874
  position: "bottomRight" | "bottomLeft";
872
875
  skippable: boolean;
876
+ dismissible: boolean;
873
877
  open_by_default: boolean;
874
878
  share_page_url_or_path: string;
875
879
  show_in_spotlight_search: boolean;
@@ -975,7 +979,7 @@ export declare class Checklist {
975
979
  }) | {
976
980
  type: "open_chat";
977
981
  meta: {
978
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
982
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
979
983
  };
980
984
  } | {
981
985
  type: "dismiss";
@@ -1032,6 +1036,7 @@ export declare class Checklist {
1032
1036
  template_source: string;
1033
1037
  position: "bottomRight" | "bottomLeft";
1034
1038
  skippable: boolean;
1039
+ dismissible: boolean;
1035
1040
  open_by_default: boolean;
1036
1041
  share_page_url_or_path: string;
1037
1042
  show_in_spotlight_search: boolean;
@@ -1136,7 +1141,7 @@ export declare class Checklist {
1136
1141
  }) | {
1137
1142
  type: "open_chat";
1138
1143
  meta: {
1139
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1144
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1140
1145
  };
1141
1146
  } | {
1142
1147
  type: "dismiss";
@@ -1193,6 +1198,7 @@ export declare class Checklist {
1193
1198
  template_source: string;
1194
1199
  position: "bottomRight" | "bottomLeft";
1195
1200
  skippable: boolean;
1201
+ dismissible: boolean;
1196
1202
  open_by_default: boolean;
1197
1203
  share_page_url_or_path: string;
1198
1204
  show_in_spotlight_search: boolean;
@@ -1299,7 +1305,7 @@ export declare class Checklist {
1299
1305
  }) | {
1300
1306
  type: "open_chat";
1301
1307
  meta: {
1302
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1308
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1303
1309
  };
1304
1310
  } | {
1305
1311
  type: "dismiss";
@@ -1356,6 +1362,7 @@ export declare class Checklist {
1356
1362
  template_source: string;
1357
1363
  position: "bottomRight" | "bottomLeft";
1358
1364
  skippable: boolean;
1365
+ dismissible: boolean;
1359
1366
  open_by_default: boolean;
1360
1367
  share_page_url_or_path: string;
1361
1368
  show_in_spotlight_search: boolean;
@@ -1464,7 +1471,7 @@ export declare class Checklist {
1464
1471
  }) | {
1465
1472
  type: "open_chat";
1466
1473
  meta: {
1467
- type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
1474
+ type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
1468
1475
  };
1469
1476
  } | {
1470
1477
  type: "dismiss";
@@ -1521,6 +1528,7 @@ export declare class Checklist {
1521
1528
  template_source: string;
1522
1529
  position: "bottomRight" | "bottomLeft";
1523
1530
  skippable: boolean;
1531
+ dismissible: boolean;
1524
1532
  open_by_default: boolean;
1525
1533
  share_page_url_or_path: string;
1526
1534
  show_in_spotlight_search: boolean;