commandbar 1.8.7 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.js +1 -1
- package/build/internal/src/client/AddContextOptions.d.ts +4 -0
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +25 -7
- package/build/internal/src/client/CommandBarProxySDK.d.ts +3 -3
- package/build/internal/src/client/CommandBarSDK.d.ts +23 -12
- package/build/internal/src/client/EventHandler.d.ts +19 -5
- package/build/internal/src/client/globals.d.ts +6 -0
- package/build/internal/src/client/symbols.d.ts +11 -6
- package/build/internal/src/middleware/CommandFromClientV.d.ts +68 -10
- package/build/internal/src/middleware/OrganizationV.d.ts +124 -20
- package/build/internal/src/middleware/additionalResource.d.ts +178 -16
- package/build/internal/src/middleware/billing.d.ts +33 -0
- package/build/internal/src/middleware/chat.d.ts +10913 -0
- package/build/internal/src/middleware/checklist.d.ts +106 -28
- package/build/internal/src/middleware/command.d.ts +3778 -446
- package/build/internal/src/middleware/detailPreview.d.ts +12 -1
- package/build/internal/src/middleware/endUser.d.ts +104 -0
- package/build/internal/src/middleware/generics.d.ts +12 -11
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +54 -8
- package/build/internal/src/middleware/helpDocsSearch.d.ts +2204 -0
- package/build/internal/src/middleware/helpHub.d.ts +26 -0
- package/build/internal/src/middleware/helpers/actions.d.ts +116 -8
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +82 -2
- package/build/internal/src/middleware/helpers/pushTrigger.d.ts +6 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +285 -26
- package/build/internal/src/middleware/network.d.ts +18 -3
- package/build/internal/src/middleware/nudge.d.ts +1193 -43
- package/build/internal/src/middleware/organization.d.ts +1051 -141
- package/build/internal/src/middleware/organizationSettings.d.ts +129 -22
- package/build/internal/src/middleware/recommendationSet.d.ts +408 -1007
- package/build/internal/src/middleware/types.d.ts +43 -25
- package/build/internal/src/util/dispatchCustomEvent.d.ts +3 -1
- package/build/internal/src/util/operatingSystem.d.ts +13 -0
- package/build/internal/src/util/sentry.d.ts +23 -0
- package/package.json +3 -3
- package/build/internal/src/client/SentryReporter.d.ts +0 -63
- package/build/internal/src/middleware/chatAnalytics.d.ts +0 -2601
- package/build/internal/src/middleware/helpers/endUser.d.ts +0 -11
- package/build/internal/src/middleware/qaPair.d.ts +0 -676
- package/build/internal/src/util/integrations.d.ts +0 -1
@@ -180,19 +180,17 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
|
|
180
180
|
colors: t.ArrayC<t.StringC>;
|
181
181
|
random: t.AnyC;
|
182
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">]>;
|
183
|
+
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">]>;
|
185
185
|
operator: t.KeyofC<{
|
186
186
|
includes: null;
|
187
187
|
endsWith: null;
|
188
188
|
startsWith: null;
|
189
189
|
is: null;
|
190
|
-
isNot: null;
|
191
190
|
isTrue: null;
|
192
191
|
isFalse: null;
|
193
192
|
isTruthy: null;
|
194
193
|
isFalsy: null;
|
195
|
-
doesNotInclude: null;
|
196
194
|
matchesRegex: null;
|
197
195
|
isGreaterThan: null;
|
198
196
|
isLessThan: null;
|
@@ -206,13 +204,44 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
|
|
206
204
|
classnameNotOnPage: null;
|
207
205
|
idNotOnPage: null;
|
208
206
|
selectorNotOnPage: null;
|
207
|
+
doesNotInclude: null;
|
208
|
+
isNot: null;
|
209
209
|
}>;
|
210
210
|
}>, t.PartialC<{
|
211
211
|
field: t.StringC;
|
212
212
|
value: t.StringC;
|
213
213
|
reason: t.StringC;
|
214
214
|
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
215
|
-
}>]
|
215
|
+
}>]>, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
216
|
+
type: t.LiteralC<"nudge_interaction">;
|
217
|
+
operator: t.KeyofC<{
|
218
|
+
is: null;
|
219
|
+
isNot: null;
|
220
|
+
}>;
|
221
|
+
value: t.UnionC<[t.LiteralC<"viewed">, t.LiteralC<"completed">, t.LiteralC<"dismissed">]>;
|
222
|
+
nudge_id: t.NumberC;
|
223
|
+
}>, t.PartialC<{
|
224
|
+
reason: t.StringC;
|
225
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
226
|
+
type: t.LiteralC<"questlist_interaction">;
|
227
|
+
operator: t.KeyofC<{
|
228
|
+
is: null;
|
229
|
+
isNot: null;
|
230
|
+
}>;
|
231
|
+
value: t.UnionC<[t.LiteralC<"viewed">, t.LiteralC<"completed">, t.LiteralC<"dismissed">]>;
|
232
|
+
questlist_id: t.NumberC;
|
233
|
+
}>, t.PartialC<{
|
234
|
+
reason: t.StringC;
|
235
|
+
}>]>]>]>, t.IntersectionC<[t.TypeC<{
|
236
|
+
type: t.UnionC<[t.LiteralC<"browser">, t.LiteralC<"os">, t.LiteralC<"language">]>;
|
237
|
+
operator: t.KeyofC<{
|
238
|
+
includes: null;
|
239
|
+
doesNotInclude: null;
|
240
|
+
}>;
|
241
|
+
values: t.ArrayC<t.StringC>;
|
242
|
+
}>, t.PartialC<{
|
243
|
+
reason: t.StringC;
|
244
|
+
}>]>]>>;
|
216
245
|
recommend_rules: t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
|
217
246
|
type: t.LiteralC<"always">;
|
218
247
|
}>, t.PartialC<{
|
@@ -221,19 +250,17 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
|
|
221
250
|
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
222
251
|
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
223
252
|
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">]>;
|
253
|
+
}>]>, 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">]>;
|
226
255
|
operator: t.KeyofC<{
|
227
256
|
includes: null;
|
228
257
|
endsWith: null;
|
229
258
|
startsWith: null;
|
230
259
|
is: null;
|
231
|
-
isNot: null;
|
232
260
|
isTrue: null;
|
233
261
|
isFalse: null;
|
234
262
|
isTruthy: null;
|
235
263
|
isFalsy: null;
|
236
|
-
doesNotInclude: null;
|
237
264
|
matchesRegex: null;
|
238
265
|
isGreaterThan: null;
|
239
266
|
isLessThan: null;
|
@@ -247,13 +274,44 @@ export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
|
|
247
274
|
classnameNotOnPage: null;
|
248
275
|
idNotOnPage: null;
|
249
276
|
selectorNotOnPage: null;
|
277
|
+
doesNotInclude: null;
|
278
|
+
isNot: null;
|
250
279
|
}>;
|
251
280
|
}>, t.PartialC<{
|
252
281
|
field: t.StringC;
|
253
282
|
value: t.StringC;
|
254
283
|
reason: t.StringC;
|
255
284
|
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
256
|
-
}>]
|
285
|
+
}>]>, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
286
|
+
type: t.LiteralC<"nudge_interaction">;
|
287
|
+
operator: t.KeyofC<{
|
288
|
+
is: null;
|
289
|
+
isNot: null;
|
290
|
+
}>;
|
291
|
+
value: t.UnionC<[t.LiteralC<"viewed">, t.LiteralC<"completed">, t.LiteralC<"dismissed">]>;
|
292
|
+
nudge_id: t.NumberC;
|
293
|
+
}>, t.PartialC<{
|
294
|
+
reason: t.StringC;
|
295
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
296
|
+
type: t.LiteralC<"questlist_interaction">;
|
297
|
+
operator: t.KeyofC<{
|
298
|
+
is: null;
|
299
|
+
isNot: null;
|
300
|
+
}>;
|
301
|
+
value: t.UnionC<[t.LiteralC<"viewed">, t.LiteralC<"completed">, t.LiteralC<"dismissed">]>;
|
302
|
+
questlist_id: t.NumberC;
|
303
|
+
}>, t.PartialC<{
|
304
|
+
reason: t.StringC;
|
305
|
+
}>]>]>]>, t.IntersectionC<[t.TypeC<{
|
306
|
+
type: t.UnionC<[t.LiteralC<"browser">, t.LiteralC<"os">, t.LiteralC<"language">]>;
|
307
|
+
operator: t.KeyofC<{
|
308
|
+
includes: null;
|
309
|
+
doesNotInclude: null;
|
310
|
+
}>;
|
311
|
+
values: t.ArrayC<t.StringC>;
|
312
|
+
}>, t.PartialC<{
|
313
|
+
reason: t.StringC;
|
314
|
+
}>]>]>]>>;
|
257
315
|
availability_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
|
258
316
|
recommend_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
|
259
317
|
detail: t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
@@ -1,17 +1,12 @@
|
|
1
1
|
import * as t from 'io-ts';
|
2
2
|
import { IOrganizationType } from './types';
|
3
|
-
declare const OrganizationAdditionalV: t.TypeC<{
|
3
|
+
declare const OrganizationAdditionalV: t.IntersectionC<[t.TypeC<{
|
4
4
|
launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
|
5
5
|
launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
6
6
|
show_launcher_recommendations: t.BooleanC;
|
7
7
|
recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
|
8
8
|
launcher_offset_x: t.NumberC;
|
9
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
10
|
base_url: t.StringC;
|
16
11
|
theme: t.ObjectC;
|
17
12
|
icon: t.StringC;
|
@@ -111,10 +106,8 @@ declare const OrganizationAdditionalV: t.TypeC<{
|
|
111
106
|
bar_enabled: t.BooleanC;
|
112
107
|
in_bar_doc_search: t.BooleanC;
|
113
108
|
featured_item_cards: t.BooleanC;
|
114
|
-
helphub_ai_enabled: t.BooleanC;
|
115
109
|
helphub_suggested_queries_enabled: t.BooleanC;
|
116
110
|
helphub_continuations_enabled: t.BooleanC;
|
117
|
-
helphub_chat_only_mode: t.BooleanC;
|
118
111
|
helphub_enabled: t.BooleanC;
|
119
112
|
helphub_chat_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
|
120
113
|
helphub_chat_fallback_actions: t.ArrayC<t.TypeC<{
|
@@ -141,12 +134,31 @@ declare const OrganizationAdditionalV: t.TypeC<{
|
|
141
134
|
}>;
|
142
135
|
}>, t.TypeC<{
|
143
136
|
type: t.LiteralC<"dismiss">;
|
144
|
-
}
|
137
|
+
}>, t.TypeC<{
|
138
|
+
type: t.LiteralC<"snooze">;
|
139
|
+
}>, t.TypeC<{
|
140
|
+
type: t.LiteralC<"questlist">;
|
141
|
+
value: t.NumberC;
|
142
|
+
}>, t.TypeC<{
|
143
|
+
type: t.LiteralC<"nudge">;
|
144
|
+
value: t.NumberC;
|
145
|
+
}>, t.TypeC<{
|
146
|
+
type: t.LiteralC<"go_to_step">;
|
147
|
+
value: t.NumberC;
|
148
|
+
}>, t.TypeC<{
|
149
|
+
type: t.LiteralC<"step_back">;
|
150
|
+
}>, t.IntersectionC<[t.TypeC<{
|
151
|
+
type: t.LiteralC<"open_bar">;
|
152
|
+
}>, t.PartialC<{
|
153
|
+
value: t.StringC;
|
154
|
+
categoryFilter: t.NumberC;
|
155
|
+
}>]>]>;
|
145
156
|
}>>;
|
146
157
|
helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
|
147
158
|
nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
|
148
159
|
bar_hide_completed_nudges_questlists: t.BooleanC;
|
149
160
|
nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
|
161
|
+
share_link_param: t.StringC;
|
150
162
|
installed_at: t.UnionC<[t.StringC, t.NullC]>;
|
151
163
|
integrations: t.PartialC<{
|
152
164
|
algolia: t.TypeC<{
|
@@ -158,25 +170,60 @@ declare const OrganizationAdditionalV: t.TypeC<{
|
|
158
170
|
segments: t.RecordC<t.StringC, t.StringC>;
|
159
171
|
send_events_to_heap: t.BooleanC;
|
160
172
|
}>;
|
173
|
+
amplitude: t.TypeC<{
|
174
|
+
enabled: t.BooleanC;
|
175
|
+
}>;
|
176
|
+
logrocket: t.TypeC<{
|
177
|
+
enabled: t.BooleanC;
|
178
|
+
}>;
|
179
|
+
mixpanel: t.TypeC<{
|
180
|
+
enabled: t.BooleanC;
|
181
|
+
}>;
|
182
|
+
posthog: t.TypeC<{
|
183
|
+
enabled: t.BooleanC;
|
184
|
+
}>;
|
185
|
+
slack: t.TypeC<{
|
186
|
+
channelId: t.StringC;
|
187
|
+
configuration: t.TypeC<{
|
188
|
+
analytic_events: t.ArrayC<t.StringC>;
|
189
|
+
}>;
|
190
|
+
}>;
|
191
|
+
hubspot: t.PartialC<{
|
192
|
+
send_events_to_hubspot: t.BooleanC;
|
193
|
+
lists: t.RecordC<t.StringC, t.StringC>;
|
194
|
+
}>;
|
161
195
|
}>;
|
162
|
-
|
196
|
+
copilot_enabled: t.BooleanC;
|
197
|
+
/** @deprecated Replaced by the `copilot_enabled` field */
|
198
|
+
helphub_ai_enabled: t.BooleanC;
|
199
|
+
/** @deprecated Removed entirely */
|
200
|
+
copilot_experiences_enabled: t.BooleanC;
|
201
|
+
/** @deprecated Replaced by a combination of `copilot_enabled` and `helphub_enabled` */
|
202
|
+
helphub_chat_only_mode: t.BooleanC;
|
203
|
+
}>, t.TypeC<{
|
204
|
+
helphub_launcher_offset_x: t.NumberC;
|
205
|
+
helphub_launcher_offset_y: t.NumberC;
|
206
|
+
helphub_launcher_anchor: t.StringC;
|
207
|
+
helphub_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
208
|
+
helphub_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"askAI">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
|
209
|
+
helphub_mobile_launcher_offset_x: t.NumberC;
|
210
|
+
helphub_mobile_launcher_offset_y: t.NumberC;
|
211
|
+
helphub_mobile_launcher_anchor: t.StringC;
|
212
|
+
helphub_mobile_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
213
|
+
helphub_mobile_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"askAI">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
|
214
|
+
}>]>;
|
163
215
|
export declare const defaults: t.TypeOf<typeof OrganizationAdditionalV>;
|
164
216
|
export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
165
217
|
id: t.UnionC<[t.NumberC, t.StringC]>;
|
166
218
|
name: t.StringC;
|
167
219
|
created: t.StringC;
|
168
|
-
}>, t.PartialC<{}>]>, t.TypeC<{
|
220
|
+
}>, t.PartialC<{}>]>, t.IntersectionC<[t.TypeC<{
|
169
221
|
launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
|
170
222
|
launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
171
223
|
show_launcher_recommendations: t.BooleanC;
|
172
224
|
recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
|
173
225
|
launcher_offset_x: t.NumberC;
|
174
226
|
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
227
|
base_url: t.StringC;
|
181
228
|
theme: t.ObjectC;
|
182
229
|
icon: t.StringC;
|
@@ -276,10 +323,8 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
276
323
|
bar_enabled: t.BooleanC;
|
277
324
|
in_bar_doc_search: t.BooleanC;
|
278
325
|
featured_item_cards: t.BooleanC;
|
279
|
-
helphub_ai_enabled: t.BooleanC;
|
280
326
|
helphub_suggested_queries_enabled: t.BooleanC;
|
281
327
|
helphub_continuations_enabled: t.BooleanC;
|
282
|
-
helphub_chat_only_mode: t.BooleanC;
|
283
328
|
helphub_enabled: t.BooleanC;
|
284
329
|
helphub_chat_fallback_message: t.UnionC<[t.StringC, t.NullC]>;
|
285
330
|
helphub_chat_fallback_actions: t.ArrayC<t.TypeC<{
|
@@ -306,12 +351,31 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
306
351
|
}>;
|
307
352
|
}>, t.TypeC<{
|
308
353
|
type: t.LiteralC<"dismiss">;
|
309
|
-
}
|
354
|
+
}>, t.TypeC<{
|
355
|
+
type: t.LiteralC<"snooze">;
|
356
|
+
}>, t.TypeC<{
|
357
|
+
type: t.LiteralC<"questlist">;
|
358
|
+
value: t.NumberC;
|
359
|
+
}>, t.TypeC<{
|
360
|
+
type: t.LiteralC<"nudge">;
|
361
|
+
value: t.NumberC;
|
362
|
+
}>, t.TypeC<{
|
363
|
+
type: t.LiteralC<"go_to_step">;
|
364
|
+
value: t.NumberC;
|
365
|
+
}>, t.TypeC<{
|
366
|
+
type: t.LiteralC<"step_back">;
|
367
|
+
}>, t.IntersectionC<[t.TypeC<{
|
368
|
+
type: t.LiteralC<"open_bar">;
|
369
|
+
}>, t.PartialC<{
|
370
|
+
value: t.StringC;
|
371
|
+
categoryFilter: t.NumberC;
|
372
|
+
}>]>]>;
|
310
373
|
}>>;
|
311
374
|
helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
|
312
375
|
nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
|
313
376
|
bar_hide_completed_nudges_questlists: t.BooleanC;
|
314
377
|
nudge_rate_period: t.UnionC<[t.LiteralC<"day">, t.LiteralC<"week">, t.LiteralC<"session">]>;
|
378
|
+
share_link_param: t.StringC;
|
315
379
|
installed_at: t.UnionC<[t.StringC, t.NullC]>;
|
316
380
|
integrations: t.PartialC<{
|
317
381
|
algolia: t.TypeC<{
|
@@ -323,7 +387,47 @@ export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
323
387
|
segments: t.RecordC<t.StringC, t.StringC>;
|
324
388
|
send_events_to_heap: t.BooleanC;
|
325
389
|
}>;
|
390
|
+
amplitude: t.TypeC<{
|
391
|
+
enabled: t.BooleanC;
|
392
|
+
}>;
|
393
|
+
logrocket: t.TypeC<{
|
394
|
+
enabled: t.BooleanC;
|
395
|
+
}>;
|
396
|
+
mixpanel: t.TypeC<{
|
397
|
+
enabled: t.BooleanC;
|
398
|
+
}>;
|
399
|
+
posthog: t.TypeC<{
|
400
|
+
enabled: t.BooleanC;
|
401
|
+
}>;
|
402
|
+
slack: t.TypeC<{
|
403
|
+
channelId: t.StringC;
|
404
|
+
configuration: t.TypeC<{
|
405
|
+
analytic_events: t.ArrayC<t.StringC>;
|
406
|
+
}>;
|
407
|
+
}>;
|
408
|
+
hubspot: t.PartialC<{
|
409
|
+
send_events_to_hubspot: t.BooleanC;
|
410
|
+
lists: t.RecordC<t.StringC, t.StringC>;
|
411
|
+
}>;
|
326
412
|
}>;
|
327
|
-
|
413
|
+
copilot_enabled: t.BooleanC;
|
414
|
+
/** @deprecated Replaced by the `copilot_enabled` field */
|
415
|
+
helphub_ai_enabled: t.BooleanC;
|
416
|
+
/** @deprecated Removed entirely */
|
417
|
+
copilot_experiences_enabled: t.BooleanC;
|
418
|
+
/** @deprecated Replaced by a combination of `copilot_enabled` and `helphub_enabled` */
|
419
|
+
helphub_chat_only_mode: t.BooleanC;
|
420
|
+
}>, t.TypeC<{
|
421
|
+
helphub_launcher_offset_x: t.NumberC;
|
422
|
+
helphub_launcher_offset_y: t.NumberC;
|
423
|
+
helphub_launcher_anchor: t.StringC;
|
424
|
+
helphub_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
425
|
+
helphub_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"askAI">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
|
426
|
+
helphub_mobile_launcher_offset_x: t.NumberC;
|
427
|
+
helphub_mobile_launcher_offset_y: t.NumberC;
|
428
|
+
helphub_mobile_launcher_anchor: t.StringC;
|
429
|
+
helphub_mobile_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
430
|
+
helphub_mobile_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"askAI">, t.LiteralC<"custom">, t.LiteralC<"none">]>;
|
431
|
+
}>]>]>;
|
328
432
|
export declare const unknownOrganization: IOrganizationType;
|
329
433
|
export {};
|
@@ -30,7 +30,25 @@ export declare const AdditionalResourceV: t.IntersectionC<[t.TypeC<{}>, t.Inters
|
|
30
30
|
}>;
|
31
31
|
}>, t.TypeC<{
|
32
32
|
type: t.LiteralC<"dismiss">;
|
33
|
-
}
|
33
|
+
}>, t.TypeC<{
|
34
|
+
type: t.LiteralC<"snooze">;
|
35
|
+
}>, t.TypeC<{
|
36
|
+
type: t.LiteralC<"questlist">;
|
37
|
+
value: t.NumberC;
|
38
|
+
}>, t.TypeC<{
|
39
|
+
type: t.LiteralC<"nudge">;
|
40
|
+
value: t.NumberC;
|
41
|
+
}>, t.TypeC<{
|
42
|
+
type: t.LiteralC<"go_to_step">;
|
43
|
+
value: t.NumberC;
|
44
|
+
}>, t.TypeC<{
|
45
|
+
type: t.LiteralC<"step_back">;
|
46
|
+
}>, t.IntersectionC<[t.TypeC<{
|
47
|
+
type: t.LiteralC<"open_bar">;
|
48
|
+
}>, t.PartialC<{
|
49
|
+
value: t.StringC;
|
50
|
+
categoryFilter: t.NumberC;
|
51
|
+
}>]>]>;
|
34
52
|
show_as_primary_cta: t.BooleanC;
|
35
53
|
}>, t.PartialC<{}>]>]>;
|
36
54
|
export declare const BatchAdditionalResourceResponseV: t.TypeC<{
|
@@ -64,7 +82,25 @@ export declare const BatchAdditionalResourceResponseV: t.TypeC<{
|
|
64
82
|
}>;
|
65
83
|
}>, t.TypeC<{
|
66
84
|
type: t.LiteralC<"dismiss">;
|
67
|
-
}
|
85
|
+
}>, t.TypeC<{
|
86
|
+
type: t.LiteralC<"snooze">;
|
87
|
+
}>, t.TypeC<{
|
88
|
+
type: t.LiteralC<"questlist">;
|
89
|
+
value: t.NumberC;
|
90
|
+
}>, t.TypeC<{
|
91
|
+
type: t.LiteralC<"nudge">;
|
92
|
+
value: t.NumberC;
|
93
|
+
}>, t.TypeC<{
|
94
|
+
type: t.LiteralC<"go_to_step">;
|
95
|
+
value: t.NumberC;
|
96
|
+
}>, t.TypeC<{
|
97
|
+
type: t.LiteralC<"step_back">;
|
98
|
+
}>, t.IntersectionC<[t.TypeC<{
|
99
|
+
type: t.LiteralC<"open_bar">;
|
100
|
+
}>, t.PartialC<{
|
101
|
+
value: t.StringC;
|
102
|
+
categoryFilter: t.NumberC;
|
103
|
+
}>]>]>;
|
68
104
|
show_as_primary_cta: t.BooleanC;
|
69
105
|
}>, t.PartialC<{}>]>]>>;
|
70
106
|
}>;
|
@@ -81,8 +117,6 @@ export declare const decode: (data: any) => {} & {
|
|
81
117
|
meta: {
|
82
118
|
command: string;
|
83
119
|
};
|
84
|
-
} | {
|
85
|
-
type: "no_action";
|
86
120
|
} | {
|
87
121
|
type: "click";
|
88
122
|
value: string;
|
@@ -98,6 +132,26 @@ export declare const decode: (data: any) => {} & {
|
|
98
132
|
};
|
99
133
|
} | {
|
100
134
|
type: "dismiss";
|
135
|
+
} | {
|
136
|
+
type: "snooze";
|
137
|
+
} | {
|
138
|
+
type: "questlist";
|
139
|
+
value: number;
|
140
|
+
} | {
|
141
|
+
type: "step_back";
|
142
|
+
} | {
|
143
|
+
type: "nudge";
|
144
|
+
value: number;
|
145
|
+
} | {
|
146
|
+
type: "go_to_step";
|
147
|
+
value: number;
|
148
|
+
} | ({
|
149
|
+
type: "open_bar";
|
150
|
+
} & {
|
151
|
+
value?: string | undefined;
|
152
|
+
categoryFilter?: number | undefined;
|
153
|
+
}) | {
|
154
|
+
type: "no_action";
|
101
155
|
};
|
102
156
|
show_as_primary_cta: boolean;
|
103
157
|
} & {};
|
@@ -114,8 +168,6 @@ export declare const list: (onSuccess?: (() => void) | undefined, onError?: ((er
|
|
114
168
|
meta: {
|
115
169
|
command: string;
|
116
170
|
};
|
117
|
-
} | {
|
118
|
-
type: "no_action";
|
119
171
|
} | {
|
120
172
|
type: "click";
|
121
173
|
value: string;
|
@@ -131,6 +183,26 @@ export declare const list: (onSuccess?: (() => void) | undefined, onError?: ((er
|
|
131
183
|
};
|
132
184
|
} | {
|
133
185
|
type: "dismiss";
|
186
|
+
} | {
|
187
|
+
type: "snooze";
|
188
|
+
} | {
|
189
|
+
type: "questlist";
|
190
|
+
value: number;
|
191
|
+
} | {
|
192
|
+
type: "step_back";
|
193
|
+
} | {
|
194
|
+
type: "nudge";
|
195
|
+
value: number;
|
196
|
+
} | {
|
197
|
+
type: "go_to_step";
|
198
|
+
value: number;
|
199
|
+
} | ({
|
200
|
+
type: "open_bar";
|
201
|
+
} & {
|
202
|
+
value?: string | undefined;
|
203
|
+
categoryFilter?: number | undefined;
|
204
|
+
}) | {
|
205
|
+
type: "no_action";
|
134
206
|
};
|
135
207
|
show_as_primary_cta: boolean;
|
136
208
|
} & {})[]>;
|
@@ -147,8 +219,6 @@ export declare const create: (object: {} & {
|
|
147
219
|
meta: {
|
148
220
|
command: string;
|
149
221
|
};
|
150
|
-
} | {
|
151
|
-
type: "no_action";
|
152
222
|
} | {
|
153
223
|
type: "click";
|
154
224
|
value: string;
|
@@ -164,6 +234,26 @@ export declare const create: (object: {} & {
|
|
164
234
|
};
|
165
235
|
} | {
|
166
236
|
type: "dismiss";
|
237
|
+
} | {
|
238
|
+
type: "snooze";
|
239
|
+
} | {
|
240
|
+
type: "questlist";
|
241
|
+
value: number;
|
242
|
+
} | {
|
243
|
+
type: "step_back";
|
244
|
+
} | {
|
245
|
+
type: "nudge";
|
246
|
+
value: number;
|
247
|
+
} | {
|
248
|
+
type: "go_to_step";
|
249
|
+
value: number;
|
250
|
+
} | ({
|
251
|
+
type: "open_bar";
|
252
|
+
} & {
|
253
|
+
value?: string | undefined;
|
254
|
+
categoryFilter?: number | undefined;
|
255
|
+
}) | {
|
256
|
+
type: "no_action";
|
167
257
|
};
|
168
258
|
show_as_primary_cta: boolean;
|
169
259
|
} & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{} & {
|
@@ -179,8 +269,6 @@ export declare const create: (object: {} & {
|
|
179
269
|
meta: {
|
180
270
|
command: string;
|
181
271
|
};
|
182
|
-
} | {
|
183
|
-
type: "no_action";
|
184
272
|
} | {
|
185
273
|
type: "click";
|
186
274
|
value: string;
|
@@ -196,6 +284,26 @@ export declare const create: (object: {} & {
|
|
196
284
|
};
|
197
285
|
} | {
|
198
286
|
type: "dismiss";
|
287
|
+
} | {
|
288
|
+
type: "snooze";
|
289
|
+
} | {
|
290
|
+
type: "questlist";
|
291
|
+
value: number;
|
292
|
+
} | {
|
293
|
+
type: "step_back";
|
294
|
+
} | {
|
295
|
+
type: "nudge";
|
296
|
+
value: number;
|
297
|
+
} | {
|
298
|
+
type: "go_to_step";
|
299
|
+
value: number;
|
300
|
+
} | ({
|
301
|
+
type: "open_bar";
|
302
|
+
} & {
|
303
|
+
value?: string | undefined;
|
304
|
+
categoryFilter?: number | undefined;
|
305
|
+
}) | {
|
306
|
+
type: "no_action";
|
199
307
|
};
|
200
308
|
show_as_primary_cta: boolean;
|
201
309
|
} & {}>;
|
@@ -213,8 +321,6 @@ export declare const update: (object: {} & {
|
|
213
321
|
meta: {
|
214
322
|
command: string;
|
215
323
|
};
|
216
|
-
} | {
|
217
|
-
type: "no_action";
|
218
324
|
} | {
|
219
325
|
type: "click";
|
220
326
|
value: string;
|
@@ -230,6 +336,26 @@ export declare const update: (object: {} & {
|
|
230
336
|
};
|
231
337
|
} | {
|
232
338
|
type: "dismiss";
|
339
|
+
} | {
|
340
|
+
type: "snooze";
|
341
|
+
} | {
|
342
|
+
type: "questlist";
|
343
|
+
value: number;
|
344
|
+
} | {
|
345
|
+
type: "step_back";
|
346
|
+
} | {
|
347
|
+
type: "nudge";
|
348
|
+
value: number;
|
349
|
+
} | {
|
350
|
+
type: "go_to_step";
|
351
|
+
value: number;
|
352
|
+
} | ({
|
353
|
+
type: "open_bar";
|
354
|
+
} & {
|
355
|
+
value?: string | undefined;
|
356
|
+
categoryFilter?: number | undefined;
|
357
|
+
}) | {
|
358
|
+
type: "no_action";
|
233
359
|
};
|
234
360
|
show_as_primary_cta: boolean;
|
235
361
|
} & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{} & {
|
@@ -245,8 +371,6 @@ export declare const update: (object: {} & {
|
|
245
371
|
meta: {
|
246
372
|
command: string;
|
247
373
|
};
|
248
|
-
} | {
|
249
|
-
type: "no_action";
|
250
374
|
} | {
|
251
375
|
type: "click";
|
252
376
|
value: string;
|
@@ -262,6 +386,26 @@ export declare const update: (object: {} & {
|
|
262
386
|
};
|
263
387
|
} | {
|
264
388
|
type: "dismiss";
|
389
|
+
} | {
|
390
|
+
type: "snooze";
|
391
|
+
} | {
|
392
|
+
type: "questlist";
|
393
|
+
value: number;
|
394
|
+
} | {
|
395
|
+
type: "step_back";
|
396
|
+
} | {
|
397
|
+
type: "nudge";
|
398
|
+
value: number;
|
399
|
+
} | {
|
400
|
+
type: "go_to_step";
|
401
|
+
value: number;
|
402
|
+
} | ({
|
403
|
+
type: "open_bar";
|
404
|
+
} & {
|
405
|
+
value?: string | undefined;
|
406
|
+
categoryFilter?: number | undefined;
|
407
|
+
}) | {
|
408
|
+
type: "no_action";
|
265
409
|
};
|
266
410
|
show_as_primary_cta: boolean;
|
267
411
|
} & {}>;
|
@@ -279,8 +423,6 @@ export declare const batch: (request: t.TypeOf<typeof GenericBatchRequest>) => P
|
|
279
423
|
meta: {
|
280
424
|
command: string;
|
281
425
|
};
|
282
|
-
} | {
|
283
|
-
type: "no_action";
|
284
426
|
} | {
|
285
427
|
type: "click";
|
286
428
|
value: string;
|
@@ -296,6 +438,26 @@ export declare const batch: (request: t.TypeOf<typeof GenericBatchRequest>) => P
|
|
296
438
|
};
|
297
439
|
} | {
|
298
440
|
type: "dismiss";
|
441
|
+
} | {
|
442
|
+
type: "snooze";
|
443
|
+
} | {
|
444
|
+
type: "questlist";
|
445
|
+
value: number;
|
446
|
+
} | {
|
447
|
+
type: "step_back";
|
448
|
+
} | {
|
449
|
+
type: "nudge";
|
450
|
+
value: number;
|
451
|
+
} | {
|
452
|
+
type: "go_to_step";
|
453
|
+
value: number;
|
454
|
+
} | ({
|
455
|
+
type: "open_bar";
|
456
|
+
} & {
|
457
|
+
value?: string | undefined;
|
458
|
+
categoryFilter?: number | undefined;
|
459
|
+
}) | {
|
460
|
+
type: "no_action";
|
299
461
|
};
|
300
462
|
show_as_primary_cta: boolean;
|
301
463
|
} & {})[];
|