commandbar 1.9.0 → 1.10.1

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 +17 -10
  8. package/build/internal/src/client/SDKConfig.d.ts +3 -2
  9. package/build/internal/src/client/symbols.d.ts +5 -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 +15 -0
  33. package/build/internal/src/middleware/nudge.d.ts +1103 -124
  34. package/build/internal/src/middleware/organization.d.ts +1288 -61
  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 +431 -0
  40. package/build/internal/src/middleware/types.d.ts +52 -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 +12 -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
@@ -9,6 +9,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
9
9
  object: t.StringC;
10
10
  hoverTooltip: t.BooleanC;
11
11
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
12
+ metadata: t.UnknownRecordC;
12
13
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
13
14
  type: t.LiteralC<"link">;
14
15
  value: t.StringC;
@@ -19,6 +20,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
19
20
  object: t.StringC;
20
21
  hoverTooltip: t.BooleanC;
21
22
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
23
+ metadata: t.UnknownRecordC;
22
24
  }>]>]>, t.IntersectionC<[t.TypeC<{
23
25
  type: t.LiteralC<"webhook">;
24
26
  value: t.StringC;
@@ -27,6 +29,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
27
29
  object: t.StringC;
28
30
  hoverTooltip: t.BooleanC;
29
31
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
32
+ metadata: t.UnknownRecordC;
30
33
  }>]>]>, t.IntersectionC<[t.TypeC<{
31
34
  type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
32
35
  value: t.ArrayC<t.StringC>;
@@ -35,6 +38,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
35
38
  object: t.StringC;
36
39
  hoverTooltip: t.BooleanC;
37
40
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
41
+ metadata: t.UnknownRecordC;
38
42
  }>]>]>, t.IntersectionC<[t.TypeC<{
39
43
  type: t.LiteralC<"request">;
40
44
  value: t.IntersectionC<[t.TypeC<{
@@ -52,6 +56,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
52
56
  object: t.StringC;
53
57
  hoverTooltip: t.BooleanC;
54
58
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
59
+ metadata: t.UnknownRecordC;
55
60
  }>]>]>, t.IntersectionC<[t.TypeC<{
56
61
  type: t.LiteralC<"appcues">;
57
62
  value: t.StringC;
@@ -60,6 +65,16 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
60
65
  object: t.StringC;
61
66
  hoverTooltip: t.BooleanC;
62
67
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
68
+ metadata: t.UnknownRecordC;
69
+ }>]>]>, t.IntersectionC<[t.TypeC<{
70
+ type: t.LiteralC<"pendo_guide">;
71
+ value: t.StringC;
72
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
73
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
74
+ object: t.StringC;
75
+ hoverTooltip: t.BooleanC;
76
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
77
+ metadata: t.UnknownRecordC;
63
78
  }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
64
79
  type: t.LiteralC<"helpdoc">;
65
80
  value: t.StringC;
@@ -76,6 +91,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
76
91
  object: t.StringC;
77
92
  hoverTooltip: t.BooleanC;
78
93
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
94
+ metadata: t.UnknownRecordC;
79
95
  }>]>]>]>;
80
96
  text: t.StringC;
81
97
  }>, t.PartialC<{
@@ -181,7 +197,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
181
197
  random: t.AnyC;
182
198
  }>, t.NullC]>;
183
199
  availability_rules: t.ArrayC<t.UnionC<[t.UnionC<[t.IntersectionC<[t.TypeC<{
184
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"hostname">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">, t.LiteralC<"hubspot">, t.LiteralC<"device_type">]>;
200
+ type: t.UnionC<[t.LiteralC<"user_property">, t.LiteralC<"event_property">, t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"hostname">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">, t.LiteralC<"hubspot">, t.LiteralC<"device_type">, t.LiteralC<"ab_test">, t.LiteralC<"intent">, t.LiteralC<"help_doc_interaction">, t.LiteralC<"video_interaction">, t.LiteralC<"survey_response">]>;
185
201
  operator: t.KeyofC<{
186
202
  includes: null;
187
203
  endsWith: null;
@@ -192,10 +208,6 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
192
208
  isTruthy: null;
193
209
  isFalsy: null;
194
210
  matchesRegex: null;
195
- isGreaterThan: null;
196
- isLessThan: null;
197
- isBefore: null;
198
- isAfter: null;
199
211
  isDefined: null;
200
212
  isNotDefined: null;
201
213
  classnameOnPage: null;
@@ -206,6 +218,8 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
206
218
  selectorNotOnPage: null;
207
219
  doesNotInclude: null;
208
220
  isNot: null;
221
+ isGreaterThan: null;
222
+ isLessThan: null;
209
223
  }>;
210
224
  }>, t.PartialC<{
211
225
  field: t.StringC;
@@ -251,7 +265,7 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
251
265
  reason: t.UnionC<[t.UndefinedC, t.NullC]>;
252
266
  rule_id: t.UnionC<[t.NumberC, t.StringC]>;
253
267
  }>]>, t.UnionC<[t.UnionC<[t.IntersectionC<[t.TypeC<{
254
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"hostname">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">, t.LiteralC<"hubspot">, t.LiteralC<"device_type">]>;
268
+ type: t.UnionC<[t.LiteralC<"user_property">, t.LiteralC<"event_property">, t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"hostname">, t.LiteralC<"element">, t.LiteralC<"executions">, t.LiteralC<"shortcuts">, t.LiteralC<"last_seen">, t.LiteralC<"first_seen">, t.LiteralC<"sessions">, t.LiteralC<"opens">, t.LiteralC<"deadends">, t.LiteralC<"heap">, t.LiteralC<"hubspot">, t.LiteralC<"device_type">, t.LiteralC<"ab_test">, t.LiteralC<"intent">, t.LiteralC<"help_doc_interaction">, t.LiteralC<"video_interaction">, t.LiteralC<"survey_response">]>;
255
269
  operator: t.KeyofC<{
256
270
  includes: null;
257
271
  endsWith: null;
@@ -262,10 +276,6 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
262
276
  isTruthy: null;
263
277
  isFalsy: null;
264
278
  matchesRegex: null;
265
- isGreaterThan: null;
266
- isLessThan: null;
267
- isBefore: null;
268
- isAfter: null;
269
279
  isDefined: null;
270
280
  isNotDefined: null;
271
281
  classnameOnPage: null;
@@ -276,6 +286,8 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
276
286
  selectorNotOnPage: null;
277
287
  doesNotInclude: null;
278
288
  isNot: null;
289
+ isGreaterThan: null;
290
+ isLessThan: null;
279
291
  }>;
280
292
  }>, t.PartialC<{
281
293
  field: t.StringC;
@@ -0,0 +1,3 @@
1
+ import * as t from 'io-ts';
2
+ import { RecordSettingsV } from './RecordSettingsV';
3
+ export type IRecordSettings = t.TypeOf<typeof RecordSettingsV> & unknown;
@@ -1,6 +1,7 @@
1
1
  import * as t from 'io-ts';
2
2
  import { IOrganizationType } from './types';
3
3
  declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
4
+ disabled: t.BooleanC;
4
5
  launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
5
6
  launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
6
7
  show_launcher_recommendations: t.BooleanC;
@@ -9,6 +10,20 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
9
10
  launcher_offset_y: t.NumberC;
10
11
  base_url: t.StringC;
11
12
  theme: t.ObjectC;
13
+ themeV2: t.UnionC<[t.TypeC<{
14
+ light_mode: t.TypeC<{
15
+ var_defaults: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
16
+ var_overrides: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
17
+ component_overrides: t.RecordC<t.StringC, t.AnyC>;
18
+ mobile_overrides: t.RecordC<t.StringC, t.AnyC>;
19
+ }>;
20
+ dark_mode: t.TypeC<{
21
+ var_defaults: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
22
+ var_overrides: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
23
+ component_overrides: t.RecordC<t.StringC, t.AnyC>;
24
+ mobile_overrides: t.RecordC<t.StringC, t.AnyC>;
25
+ }>;
26
+ }>, t.NullC, t.UndefinedC]>;
12
27
  icon: t.StringC;
13
28
  icon_suggest: t.StringC;
14
29
  icon_tutorial: t.StringC;
@@ -101,6 +116,7 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
101
116
  slash_filters_enabled: t.BooleanC;
102
117
  recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
103
118
  recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
119
+ experiences_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
104
120
  show_suggested_synonyms: t.BooleanC;
105
121
  has_hotloaded_help_docs: t.BooleanC;
106
122
  bar_enabled: t.BooleanC;
@@ -114,14 +130,74 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
114
130
  cta: t.StringC;
115
131
  action: t.UnionC<[t.TypeC<{
116
132
  type: t.LiteralC<"execute_command">;
117
- meta: t.TypeC<{
133
+ meta: t.IntersectionC<[t.TypeC<{
118
134
  command: t.StringC;
135
+ }>, t.PartialC<{
136
+ type: t.UnionC<[t.LiteralC<"action">, t.LiteralC<"link">, t.LiteralC<"helpdoc">, t.LiteralC<"video">]>;
137
+ }>]>;
138
+ }>, t.TypeC<{
139
+ type: t.LiteralC<"no_action">;
140
+ }>, t.TypeC<{
141
+ type: t.LiteralC<"click">;
142
+ value: t.StringC;
143
+ }>, t.TypeC<{
144
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
145
+ value: t.ArrayC<t.StringC>;
146
+ }>, t.IntersectionC<[t.TypeC<{
147
+ type: t.LiteralC<"link">;
148
+ value: t.StringC;
149
+ }>, t.PartialC<{
150
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
151
+ }>]>, t.TypeC<{
152
+ type: t.LiteralC<"open_chat">;
153
+ meta: t.TypeC<{
154
+ 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<"">]>;
119
155
  }>;
156
+ }>, t.TypeC<{
157
+ type: t.LiteralC<"dismiss">;
158
+ }>, t.TypeC<{
159
+ type: t.LiteralC<"snooze">;
160
+ }>, t.TypeC<{
161
+ type: t.LiteralC<"questlist">;
162
+ value: t.NumberC;
163
+ }>, t.TypeC<{
164
+ type: t.LiteralC<"nudge">;
165
+ value: t.NumberC;
166
+ }>, t.TypeC<{
167
+ type: t.LiteralC<"go_to_step">;
168
+ value: t.NumberC;
169
+ }>, t.TypeC<{
170
+ type: t.LiteralC<"step_back">;
171
+ }>, t.IntersectionC<[t.TypeC<{
172
+ type: t.LiteralC<"open_bar">;
173
+ }>, t.PartialC<{
174
+ value: t.StringC;
175
+ categoryFilter: t.NumberC;
176
+ }>]>, t.TypeC<{
177
+ type: t.LiteralC<"open_helphub">;
178
+ }>, t.TypeC<{
179
+ type: t.LiteralC<"open_copilot">;
180
+ }>]>;
181
+ }>>;
182
+ copilot_negative_feedback_fallback_enabled: t.BooleanC;
183
+ copilot_negative_feedback_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
184
+ copilot_negative_feedback_fallback_actions: t.ArrayC<t.TypeC<{
185
+ cta: t.StringC;
186
+ action: t.UnionC<[t.TypeC<{
187
+ type: t.LiteralC<"execute_command">;
188
+ meta: t.IntersectionC<[t.TypeC<{
189
+ command: t.StringC;
190
+ }>, t.PartialC<{
191
+ type: t.UnionC<[t.LiteralC<"action">, t.LiteralC<"link">, t.LiteralC<"helpdoc">, t.LiteralC<"video">]>;
192
+ }>]>;
120
193
  }>, t.TypeC<{
121
194
  type: t.LiteralC<"no_action">;
122
195
  }>, t.TypeC<{
123
196
  type: t.LiteralC<"click">;
124
197
  value: t.StringC;
198
+ }>, t.TypeC<{
199
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
200
+ value: t.ArrayC<t.StringC>;
125
201
  }>, t.IntersectionC<[t.TypeC<{
126
202
  type: t.LiteralC<"link">;
127
203
  value: t.StringC;
@@ -130,7 +206,7 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
130
206
  }>]>, t.TypeC<{
131
207
  type: t.LiteralC<"open_chat">;
132
208
  meta: t.TypeC<{
133
- type: t.StringC;
209
+ 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<"">]>;
134
210
  }>;
135
211
  }>, t.TypeC<{
136
212
  type: t.LiteralC<"dismiss">;
@@ -152,9 +228,23 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
152
228
  }>, t.PartialC<{
153
229
  value: t.StringC;
154
230
  categoryFilter: t.NumberC;
155
- }>]>]>;
231
+ }>]>, t.TypeC<{
232
+ type: t.LiteralC<"open_helphub">;
233
+ }>, t.TypeC<{
234
+ type: t.LiteralC<"open_copilot">;
235
+ }>]>;
156
236
  }>>;
157
237
  helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
238
+ copilot_name: t.StringC;
239
+ copilot_avatar: t.StringC;
240
+ copilot_personality: t.UnionC<[t.TypeC<{
241
+ template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;
242
+ }>, t.TypeC<{
243
+ template: t.LiteralC<"custom">;
244
+ adjectives: t.ArrayC<t.UnionC<[t.LiteralC<"abrasive">, t.LiteralC<"adventurous">, t.LiteralC<"affable">, t.LiteralC<"arrogant">, t.LiteralC<"assertive">, t.LiteralC<"assured">, t.LiteralC<"belligerent">, t.LiteralC<"brave">, t.LiteralC<"cheerful">, t.LiteralC<"compassionate">, t.LiteralC<"condescending">, t.LiteralC<"courteous">, t.LiteralC<"creative">, t.LiteralC<"cynical">, t.LiteralC<"decisive">, t.LiteralC<"detached">, t.LiteralC<"diligent">, t.LiteralC<"eloquent">, t.LiteralC<"empathetic">, t.LiteralC<"evasive">, t.LiteralC<"formal">, t.LiteralC<"frivolous">, t.LiteralC<"garrulous">, t.LiteralC<"generous">, t.LiteralC<"impulsive">, t.LiteralC<"innovative">, t.LiteralC<"intense">, t.LiteralC<"judgmental">, t.LiteralC<"jovial">, t.LiteralC<"manipulative">, t.LiteralC<"obstinate">, t.LiteralC<"optimistic">, t.LiteralC<"perceptive">, t.LiteralC<"pessimistic">, t.LiteralC<"quarrelsome">, t.LiteralC<"respectful">, t.LiteralC<"resourceful">, t.LiteralC<"sarcastic">, t.LiteralC<"sincere">, t.LiteralC<"sociable">, t.LiteralC<"solemn">, t.LiteralC<"supportive">, t.LiteralC<"tactful">, t.LiteralC<"thoughtful">, t.LiteralC<"understanding">, t.LiteralC<"unreliable">, t.LiteralC<"vain">, t.LiteralC<"vivacious">, t.LiteralC<"warm">, t.LiteralC<"withdrawn">, t.LiteralC<"witty">, t.LiteralC<"zealous">]>>;
245
+ response_length: t.UnionC<[t.LiteralC<"short">, t.LiteralC<"conversational">, t.LiteralC<"long">]>;
246
+ response_format: t.UnionC<[t.LiteralC<"lists">, t.LiteralC<"paragraphs">, t.LiteralC<"mixed">]>;
247
+ }>]>;
158
248
  nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
159
249
  bar_hide_completed_nudges_questlists: t.BooleanC;
160
250
  nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
@@ -182,6 +272,9 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
182
272
  posthog: t.TypeC<{
183
273
  enabled: t.BooleanC;
184
274
  }>;
275
+ rudderstack: t.TypeC<{
276
+ enabled: t.BooleanC;
277
+ }>;
185
278
  slack: t.TypeC<{
186
279
  channelId: t.StringC;
187
280
  configuration: t.TypeC<{
@@ -194,6 +287,10 @@ declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
194
287
  }>;
195
288
  }>;
196
289
  copilot_enabled: t.BooleanC;
290
+ user_property_targeting: t.BooleanC;
291
+ ab_test_conditions: t.BooleanC;
292
+ spotlight_ask_copilot_enabled: t.BooleanC;
293
+ spotlight_ask_copilot_label: t.UnionC<[t.StringC, t.NullC]>;
197
294
  /** @deprecated Replaced by the `copilot_enabled` field */
198
295
  helphub_ai_enabled: t.BooleanC;
199
296
  /** @deprecated Removed entirely */
@@ -218,6 +315,7 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
218
315
  name: t.StringC;
219
316
  created: t.StringC;
220
317
  }>, t.PartialC<{}>]>, t.IntersectionC<[t.TypeC<{
318
+ disabled: t.BooleanC;
221
319
  launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
222
320
  launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
223
321
  show_launcher_recommendations: t.BooleanC;
@@ -226,6 +324,20 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
226
324
  launcher_offset_y: t.NumberC;
227
325
  base_url: t.StringC;
228
326
  theme: t.ObjectC;
327
+ themeV2: t.UnionC<[t.TypeC<{
328
+ light_mode: t.TypeC<{
329
+ var_defaults: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
330
+ var_overrides: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
331
+ component_overrides: t.RecordC<t.StringC, t.AnyC>;
332
+ mobile_overrides: t.RecordC<t.StringC, t.AnyC>;
333
+ }>;
334
+ dark_mode: t.TypeC<{
335
+ var_defaults: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
336
+ var_overrides: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;
337
+ component_overrides: t.RecordC<t.StringC, t.AnyC>;
338
+ mobile_overrides: t.RecordC<t.StringC, t.AnyC>;
339
+ }>;
340
+ }>, t.NullC, t.UndefinedC]>;
229
341
  icon: t.StringC;
230
342
  icon_suggest: t.StringC;
231
343
  icon_tutorial: t.StringC;
@@ -318,6 +430,7 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
318
430
  slash_filters_enabled: t.BooleanC;
319
431
  recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
320
432
  recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
433
+ experiences_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
321
434
  show_suggested_synonyms: t.BooleanC;
322
435
  has_hotloaded_help_docs: t.BooleanC;
323
436
  bar_enabled: t.BooleanC;
@@ -331,14 +444,74 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
331
444
  cta: t.StringC;
332
445
  action: t.UnionC<[t.TypeC<{
333
446
  type: t.LiteralC<"execute_command">;
334
- meta: t.TypeC<{
447
+ meta: t.IntersectionC<[t.TypeC<{
335
448
  command: t.StringC;
449
+ }>, t.PartialC<{
450
+ type: t.UnionC<[t.LiteralC<"action">, t.LiteralC<"link">, t.LiteralC<"helpdoc">, t.LiteralC<"video">]>;
451
+ }>]>;
452
+ }>, t.TypeC<{
453
+ type: t.LiteralC<"no_action">;
454
+ }>, t.TypeC<{
455
+ type: t.LiteralC<"click">;
456
+ value: t.StringC;
457
+ }>, t.TypeC<{
458
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
459
+ value: t.ArrayC<t.StringC>;
460
+ }>, t.IntersectionC<[t.TypeC<{
461
+ type: t.LiteralC<"link">;
462
+ value: t.StringC;
463
+ }>, t.PartialC<{
464
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
465
+ }>]>, t.TypeC<{
466
+ type: t.LiteralC<"open_chat">;
467
+ meta: t.TypeC<{
468
+ 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<"">]>;
336
469
  }>;
470
+ }>, t.TypeC<{
471
+ type: t.LiteralC<"dismiss">;
472
+ }>, t.TypeC<{
473
+ type: t.LiteralC<"snooze">;
474
+ }>, t.TypeC<{
475
+ type: t.LiteralC<"questlist">;
476
+ value: t.NumberC;
477
+ }>, t.TypeC<{
478
+ type: t.LiteralC<"nudge">;
479
+ value: t.NumberC;
480
+ }>, t.TypeC<{
481
+ type: t.LiteralC<"go_to_step">;
482
+ value: t.NumberC;
483
+ }>, t.TypeC<{
484
+ type: t.LiteralC<"step_back">;
485
+ }>, t.IntersectionC<[t.TypeC<{
486
+ type: t.LiteralC<"open_bar">;
487
+ }>, t.PartialC<{
488
+ value: t.StringC;
489
+ categoryFilter: t.NumberC;
490
+ }>]>, t.TypeC<{
491
+ type: t.LiteralC<"open_helphub">;
492
+ }>, t.TypeC<{
493
+ type: t.LiteralC<"open_copilot">;
494
+ }>]>;
495
+ }>>;
496
+ copilot_negative_feedback_fallback_enabled: t.BooleanC;
497
+ copilot_negative_feedback_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
498
+ copilot_negative_feedback_fallback_actions: t.ArrayC<t.TypeC<{
499
+ cta: t.StringC;
500
+ action: t.UnionC<[t.TypeC<{
501
+ type: t.LiteralC<"execute_command">;
502
+ meta: t.IntersectionC<[t.TypeC<{
503
+ command: t.StringC;
504
+ }>, t.PartialC<{
505
+ type: t.UnionC<[t.LiteralC<"action">, t.LiteralC<"link">, t.LiteralC<"helpdoc">, t.LiteralC<"video">]>;
506
+ }>]>;
337
507
  }>, t.TypeC<{
338
508
  type: t.LiteralC<"no_action">;
339
509
  }>, t.TypeC<{
340
510
  type: t.LiteralC<"click">;
341
511
  value: t.StringC;
512
+ }>, t.TypeC<{
513
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
514
+ value: t.ArrayC<t.StringC>;
342
515
  }>, t.IntersectionC<[t.TypeC<{
343
516
  type: t.LiteralC<"link">;
344
517
  value: t.StringC;
@@ -347,7 +520,7 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
347
520
  }>]>, t.TypeC<{
348
521
  type: t.LiteralC<"open_chat">;
349
522
  meta: t.TypeC<{
350
- type: t.StringC;
523
+ 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<"">]>;
351
524
  }>;
352
525
  }>, t.TypeC<{
353
526
  type: t.LiteralC<"dismiss">;
@@ -369,9 +542,23 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
369
542
  }>, t.PartialC<{
370
543
  value: t.StringC;
371
544
  categoryFilter: t.NumberC;
372
- }>]>]>;
545
+ }>]>, t.TypeC<{
546
+ type: t.LiteralC<"open_helphub">;
547
+ }>, t.TypeC<{
548
+ type: t.LiteralC<"open_copilot">;
549
+ }>]>;
373
550
  }>>;
374
551
  helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
552
+ copilot_name: t.StringC;
553
+ copilot_avatar: t.StringC;
554
+ copilot_personality: t.UnionC<[t.TypeC<{
555
+ template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;
556
+ }>, t.TypeC<{
557
+ template: t.LiteralC<"custom">;
558
+ adjectives: t.ArrayC<t.UnionC<[t.LiteralC<"abrasive">, t.LiteralC<"adventurous">, t.LiteralC<"affable">, t.LiteralC<"arrogant">, t.LiteralC<"assertive">, t.LiteralC<"assured">, t.LiteralC<"belligerent">, t.LiteralC<"brave">, t.LiteralC<"cheerful">, t.LiteralC<"compassionate">, t.LiteralC<"condescending">, t.LiteralC<"courteous">, t.LiteralC<"creative">, t.LiteralC<"cynical">, t.LiteralC<"decisive">, t.LiteralC<"detached">, t.LiteralC<"diligent">, t.LiteralC<"eloquent">, t.LiteralC<"empathetic">, t.LiteralC<"evasive">, t.LiteralC<"formal">, t.LiteralC<"frivolous">, t.LiteralC<"garrulous">, t.LiteralC<"generous">, t.LiteralC<"impulsive">, t.LiteralC<"innovative">, t.LiteralC<"intense">, t.LiteralC<"judgmental">, t.LiteralC<"jovial">, t.LiteralC<"manipulative">, t.LiteralC<"obstinate">, t.LiteralC<"optimistic">, t.LiteralC<"perceptive">, t.LiteralC<"pessimistic">, t.LiteralC<"quarrelsome">, t.LiteralC<"respectful">, t.LiteralC<"resourceful">, t.LiteralC<"sarcastic">, t.LiteralC<"sincere">, t.LiteralC<"sociable">, t.LiteralC<"solemn">, t.LiteralC<"supportive">, t.LiteralC<"tactful">, t.LiteralC<"thoughtful">, t.LiteralC<"understanding">, t.LiteralC<"unreliable">, t.LiteralC<"vain">, t.LiteralC<"vivacious">, t.LiteralC<"warm">, t.LiteralC<"withdrawn">, t.LiteralC<"witty">, t.LiteralC<"zealous">]>>;
559
+ response_length: t.UnionC<[t.LiteralC<"short">, t.LiteralC<"conversational">, t.LiteralC<"long">]>;
560
+ response_format: t.UnionC<[t.LiteralC<"lists">, t.LiteralC<"paragraphs">, t.LiteralC<"mixed">]>;
561
+ }>]>;
375
562
  nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
376
563
  bar_hide_completed_nudges_questlists: t.BooleanC;
377
564
  nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
@@ -399,6 +586,9 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
399
586
  posthog: t.TypeC<{
400
587
  enabled: t.BooleanC;
401
588
  }>;
589
+ rudderstack: t.TypeC<{
590
+ enabled: t.BooleanC;
591
+ }>;
402
592
  slack: t.TypeC<{
403
593
  channelId: t.StringC;
404
594
  configuration: t.TypeC<{
@@ -411,6 +601,10 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
411
601
  }>;
412
602
  }>;
413
603
  copilot_enabled: t.BooleanC;
604
+ user_property_targeting: t.BooleanC;
605
+ ab_test_conditions: t.BooleanC;
606
+ spotlight_ask_copilot_enabled: t.BooleanC;
607
+ spotlight_ask_copilot_label: t.UnionC<[t.StringC, t.NullC]>;
414
608
  /** @deprecated Replaced by the `copilot_enabled` field */
415
609
  helphub_ai_enabled: t.BooleanC;
416
610
  /** @deprecated Removed entirely */
@@ -3,7 +3,7 @@ export declare const SearchFieldConfigV: t.TypeC<{
3
3
  key: t.StringC;
4
4
  label: t.StringC;
5
5
  }>;
6
- export declare const ResourceSettingsV: t.PartialC<{
6
+ export declare const RecordSettingsV: t.PartialC<{
7
7
  name: t.StringC;
8
8
  search: t.BooleanC;
9
9
  label_field: t.StringC;
@@ -60,7 +60,7 @@ export declare const ResourceSettingsV: t.PartialC<{
60
60
  }>]>]>>]>;
61
61
  show_preview: t.BooleanC;
62
62
  }>;
63
- export declare const ResourceSettingsByContextKeyV: t.RecordC<t.StringC, t.PartialC<{
63
+ export declare const RecordSettingsByContextKeyV: t.RecordC<t.StringC, t.PartialC<{
64
64
  name: t.StringC;
65
65
  search: t.BooleanC;
66
66
  label_field: t.StringC;