commandbar 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/build/{internal/src/client → commandbar/src/shared/services/analytics}/EventHandler.d.ts +32 -10
  2. package/build/commandbar/src/shared/services/analytics/types.d.ts +77 -0
  3. package/build/commandbar-js/src/index.d.ts +2 -2
  4. package/build/commandbar-js/src/index.js +1 -1
  5. package/build/internal/src/client/AddContextOptions.d.ts +4 -0
  6. package/build/internal/src/client/CommandBarClientSDK.d.ts +46 -13
  7. package/build/internal/src/client/CommandBarSDK.d.ts +15 -10
  8. package/build/internal/src/client/SDKConfig.d.ts +3 -2
  9. package/build/internal/src/client/symbols.d.ts +3 -1
  10. package/build/internal/src/middleware/CommandFromClientV.d.ts +22 -10
  11. package/build/internal/src/middleware/IRecordSettings.d.ts +3 -0
  12. package/build/internal/src/middleware/OrganizationV.d.ts +200 -6
  13. package/build/internal/src/middleware/{ResourceSettingsV.d.ts → RecordSettingsV.d.ts} +2 -2
  14. package/build/internal/src/middleware/additionalResource.d.ts +96 -15
  15. package/build/internal/src/middleware/billing.d.ts +0 -2
  16. package/build/internal/src/middleware/chat.d.ts +2196 -176
  17. package/build/internal/src/middleware/checklist.d.ts +504 -63
  18. package/build/internal/src/middleware/command.d.ts +1809 -385
  19. package/build/internal/src/middleware/endUser.d.ts +33 -5
  20. package/build/internal/src/middleware/entityChanges.d.ts +17 -0
  21. package/build/internal/src/middleware/experienceTemplate.d.ts +59 -0
  22. package/build/internal/src/middleware/experiencesSearch.d.ts +3579 -0
  23. package/build/internal/src/middleware/flags.d.ts +20 -0
  24. package/build/internal/src/middleware/helpDocsIntegration.d.ts +9 -0
  25. package/build/internal/src/middleware/helpDocsSearch.d.ts +371 -35
  26. package/build/internal/src/middleware/helpers/actions.d.ts +66 -16
  27. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +70 -8
  28. package/build/internal/src/middleware/helpers/copilotPersonality.d.ts +12 -0
  29. package/build/internal/src/middleware/helpers/goals.d.ts +4 -2
  30. package/build/internal/src/middleware/helpers/pushTrigger.d.ts +22 -0
  31. package/build/internal/src/middleware/helpers/rules.d.ts +45 -36
  32. package/build/internal/src/middleware/network.d.ts +9 -0
  33. package/build/internal/src/middleware/nudge.d.ts +1103 -124
  34. package/build/internal/src/middleware/organization.d.ts +1295 -68
  35. package/build/internal/src/middleware/organizationSettings.d.ts +320 -12
  36. package/build/internal/src/middleware/profile.d.ts +2 -0
  37. package/build/internal/src/middleware/recommendationSet.d.ts +96 -15
  38. package/build/internal/src/middleware/releases.d.ts +1 -1
  39. package/build/internal/src/middleware/theme.d.ts +425 -0
  40. package/build/internal/src/middleware/types.d.ts +51 -15
  41. package/build/internal/src/middleware/user.d.ts +1 -0
  42. package/build/internal/src/util/dispatchCustomEvent.d.ts +3 -3
  43. package/build/internal/src/util/operatingSystem.d.ts +2 -4
  44. package/package.json +1 -1
  45. package/src/index.ts +2 -2
  46. package/src/init.ts +11 -6
  47. package/src/snippet.ts +2 -2
  48. package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
  49. package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
  50. package/build/internal/src/middleware/dashboardFlags.d.ts +0 -9
@@ -0,0 +1,20 @@
1
+ /**
2
+ * To use a Flag in the frontend, add it to the Flags type and the `defaultFlags` object below.
3
+ */
4
+ export type Flags = {
5
+ 'release-search-experiences-in-help-hub': boolean;
6
+ 'release-search-experiences-in-spotlight': boolean;
7
+ 'support-ruby-on-rails': boolean;
8
+ 'release-disable-history-events': boolean;
9
+ 'show-history-events-missing-banner': '' | string;
10
+ 'release-themes-v2': boolean;
11
+ 'release-strikes-dashboard': boolean;
12
+ 'release-authed-zendesk-image-loading': boolean;
13
+ 'release-copilot-personalities': boolean;
14
+ 'release-analytics-v2': boolean;
15
+ 'enable-pendo-open-guide-action': boolean;
16
+ 'show-incident-banner': '' | string;
17
+ 'release-behavioral-targeting': boolean;
18
+ };
19
+ export declare const defaultFlags: Flags;
20
+ export declare const fetchFlags: (orgID: string) => Promise<Flags>;
@@ -5,6 +5,7 @@ export declare const HelpDocsIntegrationV: t.IntersectionC<[t.TypeC<{
5
5
  type: t.StringC;
6
6
  schedule: t.StringC;
7
7
  meta: t.UnionC<[t.RecordC<t.StringC, t.AnyC>, t.NullC]>;
8
+ helphub_view_article_button_hidden: t.UnionC<[t.BooleanC, t.UndefinedC, t.NullC]>;
8
9
  }>, t.PartialC<{
9
10
  title: t.StringC;
10
11
  icon: t.StringC;
@@ -20,6 +21,7 @@ export declare class HelpDocsIntegration {
20
21
  meta: {
21
22
  [x: string]: any;
22
23
  } | null;
24
+ helphub_view_article_button_hidden: boolean | null | undefined;
23
25
  } & {
24
26
  title?: string | undefined;
25
27
  icon?: string | undefined;
@@ -33,6 +35,7 @@ export declare class HelpDocsIntegration {
33
35
  meta: {
34
36
  [x: string]: any;
35
37
  } | null;
38
+ helphub_view_article_button_hidden: boolean | null | undefined;
36
39
  } & {
37
40
  title?: string | undefined;
38
41
  icon?: string | undefined;
@@ -50,6 +53,7 @@ export declare class HelpDocsIntegration {
50
53
  meta: {
51
54
  [x: string]: any;
52
55
  } | null;
56
+ helphub_view_article_button_hidden: boolean | null | undefined;
53
57
  } & {
54
58
  title?: string | undefined;
55
59
  icon?: string | undefined;
@@ -64,6 +68,7 @@ export declare class HelpDocsIntegration {
64
68
  meta: {
65
69
  [x: string]: any;
66
70
  } | null;
71
+ helphub_view_article_button_hidden: boolean | null | undefined;
67
72
  } & {
68
73
  title?: string | undefined;
69
74
  icon?: string | undefined;
@@ -78,6 +83,7 @@ export declare class HelpDocsIntegration {
78
83
  meta: {
79
84
  [x: string]: any;
80
85
  } | null;
86
+ helphub_view_article_button_hidden: boolean | null | undefined;
81
87
  } & {
82
88
  title?: string | undefined;
83
89
  icon?: string | undefined;
@@ -91,6 +97,7 @@ export declare class HelpDocsIntegration {
91
97
  meta: {
92
98
  [x: string]: any;
93
99
  } | null;
100
+ helphub_view_article_button_hidden: boolean | null | undefined;
94
101
  } & {
95
102
  title?: string | undefined;
96
103
  icon?: string | undefined;
@@ -103,6 +110,8 @@ export declare class HelpDocsIntegration {
103
110
  running: boolean;
104
111
  numFetched: number;
105
112
  numProcessed: number;
113
+ } & {
114
+ deleting?: boolean | undefined;
106
115
  }>;
107
116
  }
108
117
  declare const IntercomCreateConversationPayloadV: t.TypeC<{