commandbar 1.8.5 → 1.8.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/internal/src/client/AddContextOptions.d.ts +141 -0
  3. package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -0
  4. package/build/internal/src/client/CommandBarClientSDK.d.ts +403 -0
  5. package/build/internal/src/client/CommandBarProxySDK.d.ts +49 -0
  6. package/build/internal/src/client/CommandBarSDK.d.ts +79 -0
  7. package/build/internal/src/client/EventHandler.d.ts +282 -0
  8. package/build/internal/src/client/OrgConfig.d.ts +5 -0
  9. package/build/internal/src/client/SDKConfig.d.ts +13 -0
  10. package/build/internal/src/client/SentryReporter.d.ts +63 -0
  11. package/build/internal/src/client/globals.d.ts +20 -0
  12. package/build/internal/src/client/proxy.d.ts +15 -0
  13. package/build/internal/src/client/symbols.d.ts +50 -0
  14. package/build/internal/src/middleware/CommandFromClientV.d.ts +283 -0
  15. package/build/internal/src/middleware/ICommandFromClientType.d.ts +5 -0
  16. package/build/internal/src/middleware/IResourceSettings.d.ts +3 -0
  17. package/build/internal/src/middleware/OrganizationV.d.ts +329 -0
  18. package/build/internal/src/middleware/ResourceSettingsV.d.ts +119 -0
  19. package/build/internal/src/middleware/additionalResource.d.ts +302 -0
  20. package/build/internal/src/middleware/billing.d.ts +41 -0
  21. package/build/internal/src/middleware/chatAnalytics.d.ts +2601 -0
  22. package/build/internal/src/middleware/checklist.d.ts +1014 -0
  23. package/build/internal/src/middleware/command.d.ts +8908 -0
  24. package/build/internal/src/middleware/commandCategory.d.ts +192 -0
  25. package/build/internal/src/middleware/confetti.d.ts +16 -0
  26. package/build/internal/src/middleware/context.d.ts +40 -0
  27. package/build/internal/src/middleware/dashboardFlags.d.ts +9 -0
  28. package/build/internal/src/middleware/detailPreview.d.ts +24 -0
  29. package/build/internal/src/middleware/environment.d.ts +11 -0
  30. package/build/internal/src/middleware/generics.d.ts +42 -0
  31. package/build/internal/src/middleware/guide.d.ts +37 -0
  32. package/build/internal/src/middleware/helpDocsIntegration.d.ts +72 -0
  33. package/build/internal/src/middleware/helpDocsSync.d.ts +63 -0
  34. package/build/internal/src/middleware/helpers/actions.d.ts +184 -0
  35. package/build/internal/src/middleware/helpers/argument.d.ts +318 -0
  36. package/build/internal/src/middleware/helpers/audience.d.ts +15 -0
  37. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +252 -0
  38. package/build/internal/src/middleware/helpers/endUser.d.ts +11 -0
  39. package/build/internal/src/middleware/helpers/frequencyLimit.d.ts +2 -0
  40. package/build/internal/src/middleware/helpers/goals.d.ts +26 -0
  41. package/build/internal/src/middleware/helpers/optionGroup.d.ts +2 -0
  42. package/build/internal/src/middleware/helpers/pushTrigger.d.ts +26 -0
  43. package/build/internal/src/middleware/helpers/rules.d.ts +289 -0
  44. package/build/internal/src/middleware/helpers/tags.d.ts +7 -0
  45. package/build/internal/src/middleware/historyEvent.d.ts +21 -0
  46. package/build/internal/src/middleware/network.d.ts +3 -0
  47. package/build/internal/src/middleware/nudge.d.ts +1669 -0
  48. package/build/internal/src/middleware/organization.d.ts +1540 -0
  49. package/build/internal/src/middleware/organizationSettings.d.ts +330 -0
  50. package/build/internal/src/middleware/placeholder.d.ts +47 -0
  51. package/build/internal/src/middleware/profile.d.ts +11 -0
  52. package/build/internal/src/middleware/qaPair.d.ts +676 -0
  53. package/build/internal/src/middleware/recommendationSet.d.ts +1199 -0
  54. package/build/internal/src/middleware/releases.d.ts +261 -0
  55. package/build/internal/src/middleware/skin.d.ts +102 -0
  56. package/build/internal/src/middleware/tab.d.ts +27 -0
  57. package/build/internal/src/middleware/types.d.ts +218 -0
  58. package/build/internal/src/middleware/user.d.ts +15 -0
  59. package/build/internal/src/middleware/utils.d.ts +11 -0
  60. package/build/internal/src/util/Disposable.d.ts +17 -0
  61. package/build/internal/src/util/LocalStorage.d.ts +6 -0
  62. package/build/internal/src/util/Logger.d.ts +18 -0
  63. package/build/internal/src/util/dispatchCustomEvent.d.ts +12 -0
  64. package/build/internal/src/util/integrations.d.ts +1 -0
  65. package/package.json +3 -3
  66. package/jest.config.js +0 -4
  67. package/scripts/minify-snippet.ts +0 -36
  68. package/scripts/watch.ts +0 -5
  69. package/src/commandbar-launcher.d.ts +0 -7
  70. package/test/init.test.ts +0 -3
  71. package/tsconfig.json +0 -24
  72. package/webpack.config.js +0 -35
@@ -0,0 +1,283 @@
1
+ import * as t from 'io-ts';
2
+ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
3
+ name: t.StringC;
4
+ template: t.UnionC<[t.IntersectionC<[t.TypeC<{
5
+ type: t.LiteralC<"callback">;
6
+ value: t.StringC;
7
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
8
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
9
+ object: t.StringC;
10
+ hoverTooltip: t.BooleanC;
11
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
12
+ }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
13
+ type: t.LiteralC<"link">;
14
+ value: t.StringC;
15
+ }>, t.PartialC<{
16
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
17
+ }>]>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
18
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
19
+ object: t.StringC;
20
+ hoverTooltip: t.BooleanC;
21
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
22
+ }>]>]>, t.IntersectionC<[t.TypeC<{
23
+ type: t.LiteralC<"webhook">;
24
+ value: t.StringC;
25
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
26
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
27
+ object: t.StringC;
28
+ hoverTooltip: t.BooleanC;
29
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
30
+ }>]>]>, t.IntersectionC<[t.TypeC<{
31
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
32
+ value: t.ArrayC<t.StringC>;
33
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
34
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
35
+ object: t.StringC;
36
+ hoverTooltip: t.BooleanC;
37
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
38
+ }>]>]>, t.IntersectionC<[t.TypeC<{
39
+ type: t.LiteralC<"request">;
40
+ value: t.IntersectionC<[t.TypeC<{
41
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
42
+ url: t.StringC;
43
+ }>, t.PartialC<{
44
+ headers: t.UnknownRecordC;
45
+ body: t.UnknownRecordC;
46
+ onSend: t.StringC;
47
+ onSuccess: t.StringC;
48
+ onError: t.StringC;
49
+ }>]>;
50
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
51
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
52
+ object: t.StringC;
53
+ hoverTooltip: t.BooleanC;
54
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
55
+ }>]>]>, t.IntersectionC<[t.TypeC<{
56
+ type: t.LiteralC<"appcues">;
57
+ value: t.StringC;
58
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
59
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
60
+ object: t.StringC;
61
+ hoverTooltip: t.BooleanC;
62
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
63
+ }>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
64
+ type: t.LiteralC<"helpdoc">;
65
+ value: t.StringC;
66
+ }>, t.PartialC<{
67
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.LiteralC<"help_hub">, t.UndefinedC]>;
68
+ doc_metadata: t.PartialC<{
69
+ content_type: t.StringC;
70
+ date: t.StringC;
71
+ }>;
72
+ }>]>, t.PartialC<{
73
+ doc_type: t.UnionC<[t.LiteralC<"answer">, t.LiteralC<"doc">]>;
74
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
75
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
76
+ object: t.StringC;
77
+ hoverTooltip: t.BooleanC;
78
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"help_hub">, t.LiteralC<"blank">, t.UndefinedC]>;
79
+ }>]>]>]>;
80
+ text: t.StringC;
81
+ }>, t.PartialC<{
82
+ shortcut_mac: t.ArrayC<t.StringC>;
83
+ shortcut_win: t.ArrayC<t.StringC>;
84
+ hotkey_mac: t.StringC;
85
+ hotkey_win: t.StringC;
86
+ tags: t.ArrayC<t.StringC>;
87
+ explanation: t.StringC;
88
+ heading: t.StringC;
89
+ sort_key: t.UnionC<[t.NumberC, t.NullC]>;
90
+ arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
91
+ type: t.LiteralC<"context">;
92
+ value: t.StringC;
93
+ order_key: t.NumberC;
94
+ }>, t.PartialC<{
95
+ label: t.StringC;
96
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
97
+ selected: t.ArrayC<t.AnyC>;
98
+ input_type: t.StringC;
99
+ preselected_key: t.StringC;
100
+ label_field: t.StringC;
101
+ loaded: t.ArrayC<t.AnyC>;
102
+ allow_create: t.BooleanC;
103
+ allow_create_label: t.StringC;
104
+ show_in_record_action_list: t.BooleanC;
105
+ show_in_default_list: t.BooleanC;
106
+ auto_choose: t.BooleanC;
107
+ is_private: t.BooleanC;
108
+ }>]>, t.IntersectionC<[t.TypeC<{
109
+ type: t.LiteralC<"set">;
110
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
111
+ order_key: t.NumberC;
112
+ }>, t.PartialC<{
113
+ label: t.StringC;
114
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
115
+ selected: t.ArrayC<t.AnyC>;
116
+ input_type: t.StringC;
117
+ preselected_key: t.StringC;
118
+ label_field: t.StringC;
119
+ loaded: t.ArrayC<t.AnyC>;
120
+ allow_create: t.BooleanC;
121
+ allow_create_label: t.StringC;
122
+ auto_choose: t.BooleanC;
123
+ is_private: t.BooleanC;
124
+ }>]>, t.IntersectionC<[t.TypeC<{
125
+ type: t.LiteralC<"provided">;
126
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
127
+ order_key: t.NumberC;
128
+ }>, t.PartialC<{
129
+ label: t.StringC;
130
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
131
+ selected: t.ArrayC<t.AnyC>;
132
+ input_type: t.StringC;
133
+ preselected_key: t.StringC;
134
+ label_field: t.StringC;
135
+ loaded: t.ArrayC<t.AnyC>;
136
+ dateTimeArgumentTypeId: t.NumberC;
137
+ allow_create: t.BooleanC;
138
+ allow_create_label: t.StringC;
139
+ auto_choose: t.BooleanC;
140
+ is_private: t.BooleanC;
141
+ }>]>, t.IntersectionC<[t.TypeC<{
142
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
143
+ value: t.IntersectionC<[t.TypeC<{
144
+ source: t.StringC;
145
+ }>, t.PartialC<{
146
+ title: t.StringC;
147
+ description: t.StringC;
148
+ url: t.StringC;
149
+ }>]>;
150
+ order_key: t.NumberC;
151
+ }>, t.PartialC<{
152
+ label: t.StringC;
153
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
154
+ selected: t.ArrayC<t.AnyC>;
155
+ input_type: t.StringC;
156
+ preselected_key: t.StringC;
157
+ label_field: t.StringC;
158
+ loaded: t.ArrayC<t.AnyC>;
159
+ allow_create: t.BooleanC;
160
+ allow_create_label: t.StringC;
161
+ is_private: t.BooleanC;
162
+ auto_choose: t.BooleanC;
163
+ }>]>]>>;
164
+ category: t.UnionC<[t.NumberC, t.StringC, t.NullC]>;
165
+ icon: t.UnionC<[t.StringC, t.NullC]>;
166
+ icon_color: t.UnionC<[t.StringC, t.NullC]>;
167
+ image_color: t.UnionC<[t.StringC, t.NullC]>;
168
+ image: t.UnionC<[t.StringC, t.NullC]>;
169
+ celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
170
+ angle: t.NumberC;
171
+ spread: t.NumberC;
172
+ width: t.StringC;
173
+ height: t.StringC;
174
+ duration: t.NumberC;
175
+ dragFriction: t.NumberC;
176
+ stagger: t.NumberC;
177
+ startVelocity: t.NumberC;
178
+ elementCount: t.NumberC;
179
+ decay: t.NumberC;
180
+ colors: t.ArrayC<t.StringC>;
181
+ random: t.AnyC;
182
+ }>, t.NullC]>;
183
+ availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
184
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, 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">]>;
185
+ operator: t.KeyofC<{
186
+ includes: null;
187
+ endsWith: null;
188
+ startsWith: null;
189
+ is: null;
190
+ isNot: null;
191
+ isTrue: null;
192
+ isFalse: null;
193
+ isTruthy: null;
194
+ isFalsy: null;
195
+ doesNotInclude: null;
196
+ matchesRegex: null;
197
+ isGreaterThan: null;
198
+ isLessThan: null;
199
+ isBefore: null;
200
+ isAfter: null;
201
+ isDefined: null;
202
+ isNotDefined: null;
203
+ classnameOnPage: null;
204
+ idOnPage: null;
205
+ selectorOnPage: null;
206
+ classnameNotOnPage: null;
207
+ idNotOnPage: null;
208
+ selectorNotOnPage: null;
209
+ }>;
210
+ }>, t.PartialC<{
211
+ field: t.StringC;
212
+ value: t.StringC;
213
+ reason: t.StringC;
214
+ rule_id: t.UnionC<[t.NumberC, t.StringC]>;
215
+ }>]>>;
216
+ recommend_rules: t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
217
+ type: t.LiteralC<"always">;
218
+ }>, t.PartialC<{
219
+ operator: t.UnionC<[t.UndefinedC, t.NullC]>;
220
+ field: t.UnionC<[t.UndefinedC, t.NullC]>;
221
+ value: t.UnionC<[t.UndefinedC, t.NullC]>;
222
+ reason: t.UnionC<[t.UndefinedC, t.NullC]>;
223
+ rule_id: t.UnionC<[t.NumberC, t.StringC]>;
224
+ }>]>, t.IntersectionC<[t.TypeC<{
225
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, 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">]>;
226
+ operator: t.KeyofC<{
227
+ includes: null;
228
+ endsWith: null;
229
+ startsWith: null;
230
+ is: null;
231
+ isNot: null;
232
+ isTrue: null;
233
+ isFalse: null;
234
+ isTruthy: null;
235
+ isFalsy: null;
236
+ doesNotInclude: null;
237
+ matchesRegex: null;
238
+ isGreaterThan: null;
239
+ isLessThan: null;
240
+ isBefore: null;
241
+ isAfter: null;
242
+ isDefined: null;
243
+ isNotDefined: null;
244
+ classnameOnPage: null;
245
+ idOnPage: null;
246
+ selectorOnPage: null;
247
+ classnameNotOnPage: null;
248
+ idNotOnPage: null;
249
+ selectorNotOnPage: null;
250
+ }>;
251
+ }>, t.PartialC<{
252
+ field: t.StringC;
253
+ value: t.StringC;
254
+ reason: t.StringC;
255
+ rule_id: t.UnionC<[t.NumberC, t.StringC]>;
256
+ }>]>]>>;
257
+ availability_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
258
+ recommend_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
259
+ detail: t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
260
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
261
+ value: t.StringC;
262
+ }>, t.PartialC<{
263
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
264
+ }>]>, t.ArrayC<t.IntersectionC<[t.TypeC<{
265
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
266
+ value: t.StringC;
267
+ }>, t.PartialC<{
268
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
269
+ }>]>>]>;
270
+ content: t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
271
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
272
+ value: t.StringC;
273
+ }>, t.PartialC<{
274
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
275
+ }>]>, t.ArrayC<t.IntersectionC<[t.TypeC<{
276
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
277
+ value: t.StringC;
278
+ }>, t.PartialC<{
279
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
280
+ }>]>>]>;
281
+ show_preview: t.BooleanC;
282
+ extra: t.UnionC<[t.StringC, t.NullC]>;
283
+ }>]>;
@@ -0,0 +1,5 @@
1
+ import * as t from 'io-ts';
2
+ import { CommandFromClientV } from './CommandFromClientV';
3
+ import { ContextArgumentV } from './helpers/argument';
4
+ export type ICommandFromClientType = t.TypeOf<typeof CommandFromClientV> & unknown;
5
+ export type IContextArgument = t.TypeOf<typeof ContextArgumentV>;
@@ -0,0 +1,3 @@
1
+ import * as t from 'io-ts';
2
+ import { ResourceSettingsV } from './ResourceSettingsV';
3
+ export type IResourceSettings = t.TypeOf<typeof ResourceSettingsV> & unknown;
@@ -0,0 +1,329 @@
1
+ import * as t from 'io-ts';
2
+ import { IOrganizationType } from './types';
3
+ declare const OrganizationAdditionalV: t.TypeC<{
4
+ launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
5
+ launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
6
+ show_launcher_recommendations: t.BooleanC;
7
+ recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
8
+ launcher_offset_x: t.NumberC;
9
+ launcher_offset_y: t.NumberC;
10
+ helphub_launcher_offset_x: t.NumberC;
11
+ helphub_launcher_offset_y: t.NumberC;
12
+ helphub_launcher_anchor: t.StringC;
13
+ helphub_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
14
+ helphub_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
15
+ base_url: t.StringC;
16
+ theme: t.ObjectC;
17
+ icon: t.StringC;
18
+ icon_suggest: t.StringC;
19
+ icon_tutorial: t.StringC;
20
+ icon_go_forward: t.StringC;
21
+ chat_system_prompt_modifier: t.StringC;
22
+ helphub_chat_welcome_message: t.StringC;
23
+ helphub_chat_avatar: t.StringC;
24
+ resource_options: t.RecordC<t.StringC, t.PartialC<{
25
+ name: t.StringC;
26
+ search: t.BooleanC;
27
+ label_field: t.StringC;
28
+ useCategory: t.BooleanC;
29
+ search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
30
+ key: t.StringC;
31
+ label: t.StringC;
32
+ }>]>>;
33
+ auto_execute: t.BooleanC;
34
+ unfurl: t.BooleanC;
35
+ description_field: t.StringC;
36
+ icon: t.StringC;
37
+ icon_color: t.StringC;
38
+ image_color: t.StringC;
39
+ image: t.StringC;
40
+ sort_key: t.NumberC;
41
+ max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
42
+ sortFunction: t.AnyC;
43
+ onInputChangeOptions: t.PartialC<{
44
+ applySort: t.BooleanC;
45
+ }>;
46
+ default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
47
+ render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
48
+ showResources: t.BooleanC;
49
+ show_with_no_results: t.BooleanC;
50
+ search_tab_enabled: t.BooleanC;
51
+ search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
52
+ slash_filter_enabled: t.BooleanC;
53
+ slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
54
+ search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
55
+ setting_pin_to_bottom: t.BooleanC;
56
+ track_recents: t.BooleanC;
57
+ detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
58
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
59
+ value: t.StringC;
60
+ }>, t.PartialC<{
61
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
62
+ }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
63
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
64
+ value: t.StringC;
65
+ }>, t.PartialC<{
66
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
67
+ }>]>]>>]>;
68
+ content: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
69
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
70
+ value: t.StringC;
71
+ }>, t.PartialC<{
72
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
73
+ }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
74
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
75
+ value: t.StringC;
76
+ }>, t.PartialC<{
77
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
78
+ }>]>]>>]>;
79
+ show_preview: t.BooleanC;
80
+ }>>;
81
+ should_show_onboarding: t.BooleanC;
82
+ last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
83
+ last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
84
+ branding: t.StringC;
85
+ custom_call_to_action: t.StringC;
86
+ search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
87
+ show_skin_editor: t.BooleanC;
88
+ allow_event_handlers: t.BooleanC;
89
+ in_bar_feedback: t.BooleanC;
90
+ summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
91
+ end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
92
+ force_end_user_identity_verification: t.BooleanC;
93
+ force_end_user_identity_verification_for_helphub: t.BooleanC;
94
+ end_user_shortcuts_enabled: t.BooleanC;
95
+ end_user_recents_enabled: t.BooleanC;
96
+ releases_available: t.BooleanC;
97
+ releases_enabled: t.BooleanC;
98
+ fallback_commands: t.ArrayC<t.NumberC>;
99
+ event_attribute_block_list: t.ArrayC<t.StringC>;
100
+ tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
101
+ recommended_tab_enabled: t.BooleanC;
102
+ recents_tab_enabled: t.BooleanC;
103
+ recommended_tab_instruction: t.StringC;
104
+ recents_tab_instruction: t.StringC;
105
+ hotload_help_docs: t.BooleanC;
106
+ slash_filters_enabled: t.BooleanC;
107
+ recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
108
+ recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
109
+ show_suggested_synonyms: t.BooleanC;
110
+ has_hotloaded_help_docs: t.BooleanC;
111
+ bar_enabled: t.BooleanC;
112
+ in_bar_doc_search: t.BooleanC;
113
+ featured_item_cards: t.BooleanC;
114
+ helphub_ai_enabled: t.BooleanC;
115
+ helphub_suggested_queries_enabled: t.BooleanC;
116
+ helphub_continuations_enabled: t.BooleanC;
117
+ helphub_chat_only_mode: t.BooleanC;
118
+ helphub_enabled: t.BooleanC;
119
+ helphub_chat_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
120
+ helphub_chat_fallback_actions: t.ArrayC<t.TypeC<{
121
+ cta: t.StringC;
122
+ action: t.UnionC<[t.TypeC<{
123
+ type: t.LiteralC<"execute_command">;
124
+ meta: t.TypeC<{
125
+ command: t.StringC;
126
+ }>;
127
+ }>, t.TypeC<{
128
+ type: t.LiteralC<"no_action">;
129
+ }>, t.TypeC<{
130
+ type: t.LiteralC<"click">;
131
+ value: t.StringC;
132
+ }>, t.IntersectionC<[t.TypeC<{
133
+ type: t.LiteralC<"link">;
134
+ value: t.StringC;
135
+ }>, t.PartialC<{
136
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
137
+ }>]>, t.TypeC<{
138
+ type: t.LiteralC<"open_chat">;
139
+ meta: t.TypeC<{
140
+ type: t.StringC;
141
+ }>;
142
+ }>, t.TypeC<{
143
+ type: t.LiteralC<"dismiss">;
144
+ }>]>;
145
+ }>>;
146
+ helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
147
+ nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
148
+ bar_hide_completed_nudges_questlists: t.BooleanC;
149
+ nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
150
+ installed_at: t.UnionC<[t.StringC, t.NullC]>;
151
+ integrations: t.PartialC<{
152
+ algolia: t.TypeC<{
153
+ indexes: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.RecordC<t.StringC, t.StringC>]>>;
154
+ applicationID: t.UnionC<[t.StringC, t.UndefinedC]>;
155
+ apiKey: t.UnionC<[t.StringC, t.UndefinedC]>;
156
+ }>;
157
+ heap: t.TypeC<{
158
+ segments: t.RecordC<t.StringC, t.StringC>;
159
+ send_events_to_heap: t.BooleanC;
160
+ }>;
161
+ }>;
162
+ }>;
163
+ export declare const defaults: t.TypeOf<typeof OrganizationAdditionalV>;
164
+ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
165
+ id: t.UnionC<[t.NumberC, t.StringC]>;
166
+ name: t.StringC;
167
+ created: t.StringC;
168
+ }>, t.PartialC<{}>]>, t.TypeC<{
169
+ launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
170
+ launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
171
+ show_launcher_recommendations: t.BooleanC;
172
+ recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
173
+ launcher_offset_x: t.NumberC;
174
+ launcher_offset_y: t.NumberC;
175
+ helphub_launcher_offset_x: t.NumberC;
176
+ helphub_launcher_offset_y: t.NumberC;
177
+ helphub_launcher_anchor: t.StringC;
178
+ helphub_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
179
+ helphub_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
180
+ base_url: t.StringC;
181
+ theme: t.ObjectC;
182
+ icon: t.StringC;
183
+ icon_suggest: t.StringC;
184
+ icon_tutorial: t.StringC;
185
+ icon_go_forward: t.StringC;
186
+ chat_system_prompt_modifier: t.StringC;
187
+ helphub_chat_welcome_message: t.StringC;
188
+ helphub_chat_avatar: t.StringC;
189
+ resource_options: t.RecordC<t.StringC, t.PartialC<{
190
+ name: t.StringC;
191
+ search: t.BooleanC;
192
+ label_field: t.StringC;
193
+ useCategory: t.BooleanC;
194
+ search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
195
+ key: t.StringC;
196
+ label: t.StringC;
197
+ }>]>>;
198
+ auto_execute: t.BooleanC;
199
+ unfurl: t.BooleanC;
200
+ description_field: t.StringC;
201
+ icon: t.StringC;
202
+ icon_color: t.StringC;
203
+ image_color: t.StringC;
204
+ image: t.StringC;
205
+ sort_key: t.NumberC;
206
+ max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
207
+ sortFunction: t.AnyC;
208
+ onInputChangeOptions: t.PartialC<{
209
+ applySort: t.BooleanC;
210
+ }>;
211
+ default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
212
+ render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
213
+ showResources: t.BooleanC;
214
+ show_with_no_results: t.BooleanC;
215
+ search_tab_enabled: t.BooleanC;
216
+ search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
217
+ slash_filter_enabled: t.BooleanC;
218
+ slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
219
+ search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
220
+ setting_pin_to_bottom: t.BooleanC;
221
+ track_recents: t.BooleanC;
222
+ detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
223
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
224
+ value: t.StringC;
225
+ }>, t.PartialC<{
226
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
227
+ }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
228
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
229
+ value: t.StringC;
230
+ }>, t.PartialC<{
231
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
232
+ }>]>]>>]>;
233
+ content: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
234
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
235
+ value: t.StringC;
236
+ }>, t.PartialC<{
237
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
238
+ }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
239
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
240
+ value: t.StringC;
241
+ }>, t.PartialC<{
242
+ position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
243
+ }>]>]>>]>;
244
+ show_preview: t.BooleanC;
245
+ }>>;
246
+ should_show_onboarding: t.BooleanC;
247
+ last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
248
+ last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
249
+ branding: t.StringC;
250
+ custom_call_to_action: t.StringC;
251
+ search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
252
+ show_skin_editor: t.BooleanC;
253
+ allow_event_handlers: t.BooleanC;
254
+ in_bar_feedback: t.BooleanC;
255
+ summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
256
+ end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
257
+ force_end_user_identity_verification: t.BooleanC;
258
+ force_end_user_identity_verification_for_helphub: t.BooleanC;
259
+ end_user_shortcuts_enabled: t.BooleanC;
260
+ end_user_recents_enabled: t.BooleanC;
261
+ releases_available: t.BooleanC;
262
+ releases_enabled: t.BooleanC;
263
+ fallback_commands: t.ArrayC<t.NumberC>;
264
+ event_attribute_block_list: t.ArrayC<t.StringC>;
265
+ tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
266
+ recommended_tab_enabled: t.BooleanC;
267
+ recents_tab_enabled: t.BooleanC;
268
+ recommended_tab_instruction: t.StringC;
269
+ recents_tab_instruction: t.StringC;
270
+ hotload_help_docs: t.BooleanC;
271
+ slash_filters_enabled: t.BooleanC;
272
+ recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
273
+ recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
274
+ show_suggested_synonyms: t.BooleanC;
275
+ has_hotloaded_help_docs: t.BooleanC;
276
+ bar_enabled: t.BooleanC;
277
+ in_bar_doc_search: t.BooleanC;
278
+ featured_item_cards: t.BooleanC;
279
+ helphub_ai_enabled: t.BooleanC;
280
+ helphub_suggested_queries_enabled: t.BooleanC;
281
+ helphub_continuations_enabled: t.BooleanC;
282
+ helphub_chat_only_mode: t.BooleanC;
283
+ helphub_enabled: t.BooleanC;
284
+ helphub_chat_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
285
+ helphub_chat_fallback_actions: t.ArrayC<t.TypeC<{
286
+ cta: t.StringC;
287
+ action: t.UnionC<[t.TypeC<{
288
+ type: t.LiteralC<"execute_command">;
289
+ meta: t.TypeC<{
290
+ command: t.StringC;
291
+ }>;
292
+ }>, t.TypeC<{
293
+ type: t.LiteralC<"no_action">;
294
+ }>, t.TypeC<{
295
+ type: t.LiteralC<"click">;
296
+ value: t.StringC;
297
+ }>, t.IntersectionC<[t.TypeC<{
298
+ type: t.LiteralC<"link">;
299
+ value: t.StringC;
300
+ }>, t.PartialC<{
301
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
302
+ }>]>, t.TypeC<{
303
+ type: t.LiteralC<"open_chat">;
304
+ meta: t.TypeC<{
305
+ type: t.StringC;
306
+ }>;
307
+ }>, t.TypeC<{
308
+ type: t.LiteralC<"dismiss">;
309
+ }>]>;
310
+ }>>;
311
+ helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
312
+ nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
313
+ bar_hide_completed_nudges_questlists: t.BooleanC;
314
+ nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
315
+ installed_at: t.UnionC<[t.StringC, t.NullC]>;
316
+ integrations: t.PartialC<{
317
+ algolia: t.TypeC<{
318
+ indexes: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.RecordC<t.StringC, t.StringC>]>>;
319
+ applicationID: t.UnionC<[t.StringC, t.UndefinedC]>;
320
+ apiKey: t.UnionC<[t.StringC, t.UndefinedC]>;
321
+ }>;
322
+ heap: t.TypeC<{
323
+ segments: t.RecordC<t.StringC, t.StringC>;
324
+ send_events_to_heap: t.BooleanC;
325
+ }>;
326
+ }>;
327
+ }>]>;
328
+ export declare const unknownOrganization: IOrganizationType;
329
+ export {};