commandbar 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/init.d.ts +10 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +4 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
- package/build/internal/src/client/SDKConfig.d.ts +1 -0
- package/build/internal/src/client/symbols.d.ts +2 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +4 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +56 -8
- package/build/internal/src/middleware/additionalResource.d.ts +200 -137
- package/build/internal/src/middleware/api.d.ts +7 -7
- package/build/internal/src/middleware/chat.d.ts +22868 -11601
- package/build/internal/src/middleware/checklist.d.ts +209 -139
- package/build/internal/src/middleware/command.d.ts +2547 -2170
- package/build/internal/src/middleware/endUser.d.ts +0 -32
- package/build/internal/src/middleware/experienceTemplate.d.ts +399 -263
- package/build/internal/src/middleware/experiencesSearch.d.ts +816 -718
- package/build/internal/src/middleware/flags.d.ts +6 -3
- package/build/internal/src/middleware/helpDocsSearch.d.ts +584 -514
- package/build/internal/src/middleware/helpers/actions.d.ts +66 -28
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +18 -4
- package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
- package/build/internal/src/middleware/nudge.d.ts +482 -281
- package/build/internal/src/middleware/organization.d.ts +825 -670
- package/build/internal/src/middleware/organizationSettings.d.ts +210 -130
- package/build/internal/src/middleware/profile.d.ts +1 -1
- package/build/internal/src/middleware/recommendationSet.d.ts +200 -137
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +16 -20
- package/package.json +1 -1
- package/src/init.ts +13 -2
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -53
- package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
- package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
- package/build/internal/src/client/globals.d.ts +0 -27
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
- package/build/internal/src/util/sentry.d.ts +0 -23
@@ -45,6 +45,11 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
45
45
|
helphub_custom_theme: t.UnionC<[t.StringC, t.NullC]>;
|
46
46
|
copilot_name: t.StringC;
|
47
47
|
copilot_avatar: t.StringC;
|
48
|
+
copilot_avatar_v2: t.UnionC<[t.TypeC<{
|
49
|
+
src: t.StringC;
|
50
|
+
file_name: t.StringC;
|
51
|
+
size: t.StringC;
|
52
|
+
}>, t.NullC]>;
|
48
53
|
copilot_personality: t.UnionC<[t.TypeC<{
|
49
54
|
template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;
|
50
55
|
}>, t.TypeC<{
|
@@ -53,6 +58,7 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
53
58
|
response_length: t.UnionC<[t.LiteralC<"short">, t.LiteralC<"conversational">, t.LiteralC<"long">]>;
|
54
59
|
response_format: t.UnionC<[t.LiteralC<"lists">, t.LiteralC<"paragraphs">, t.LiteralC<"mixed">]>;
|
55
60
|
}>]>;
|
61
|
+
copilot_chat_history_enabled: t.BooleanC;
|
56
62
|
helphub_enabled: t.BooleanC;
|
57
63
|
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">]>;
|
58
64
|
helphub_launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
@@ -95,6 +101,11 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
95
101
|
meta: t.TypeC<{
|
96
102
|
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
97
103
|
}>;
|
104
|
+
}>, t.TypeC<{
|
105
|
+
type: t.LiteralC<"chat_handoff">;
|
106
|
+
meta: t.TypeC<{
|
107
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
108
|
+
}>;
|
98
109
|
}>, t.TypeC<{
|
99
110
|
type: t.LiteralC<"dismiss">;
|
100
111
|
}>, t.TypeC<{
|
@@ -117,9 +128,11 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
117
128
|
categoryFilter: t.NumberC;
|
118
129
|
}>]>, t.TypeC<{
|
119
130
|
type: t.LiteralC<"open_helphub">;
|
120
|
-
}>, t.TypeC<{
|
131
|
+
}>, t.IntersectionC<[t.TypeC<{
|
121
132
|
type: t.LiteralC<"open_copilot">;
|
122
|
-
}
|
133
|
+
}>, t.PartialC<{
|
134
|
+
query: t.StringC;
|
135
|
+
}>]>]>;
|
123
136
|
}>>;
|
124
137
|
helphub_search_action: t.UnionC<[t.LiteralC<"search">, t.LiteralC<"ask">]>;
|
125
138
|
copilot_negative_feedback_fallback_enabled: t.BooleanC;
|
@@ -154,6 +167,11 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
154
167
|
meta: t.TypeC<{
|
155
168
|
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
156
169
|
}>;
|
170
|
+
}>, t.TypeC<{
|
171
|
+
type: t.LiteralC<"chat_handoff">;
|
172
|
+
meta: t.TypeC<{
|
173
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
174
|
+
}>;
|
157
175
|
}>, t.TypeC<{
|
158
176
|
type: t.LiteralC<"dismiss">;
|
159
177
|
}>, t.TypeC<{
|
@@ -176,9 +194,11 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
176
194
|
categoryFilter: t.NumberC;
|
177
195
|
}>]>, t.TypeC<{
|
178
196
|
type: t.LiteralC<"open_helphub">;
|
179
|
-
}>, t.TypeC<{
|
197
|
+
}>, t.IntersectionC<[t.TypeC<{
|
180
198
|
type: t.LiteralC<"open_copilot">;
|
181
|
-
}
|
199
|
+
}>, t.PartialC<{
|
200
|
+
query: t.StringC;
|
201
|
+
}>]>]>;
|
182
202
|
}>>;
|
183
203
|
nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;
|
184
204
|
bar_hide_completed_nudges_questlists: t.BooleanC;
|
@@ -258,6 +278,11 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
258
278
|
helphub_custom_theme: string | null;
|
259
279
|
copilot_name: string;
|
260
280
|
copilot_avatar: string;
|
281
|
+
copilot_avatar_v2: {
|
282
|
+
src: string;
|
283
|
+
file_name: string;
|
284
|
+
size: string;
|
285
|
+
} | null;
|
261
286
|
copilot_personality: {
|
262
287
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
263
288
|
} | {
|
@@ -266,45 +291,53 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
266
291
|
response_length: "long" | "short" | "conversational";
|
267
292
|
response_format: "mixed" | "lists" | "paragraphs";
|
268
293
|
};
|
294
|
+
copilot_chat_history_enabled: boolean;
|
269
295
|
helphub_enabled: boolean;
|
270
|
-
helphub_launcher_type: "none" | "custom" | "
|
271
|
-
helphub_launcher_position: "
|
296
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
297
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
272
298
|
helphub_launcher_offset_x: number;
|
273
299
|
helphub_launcher_offset_y: number;
|
274
300
|
helphub_launcher_anchor: string;
|
275
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
276
|
-
helphub_mobile_launcher_position: "
|
301
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
302
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
277
303
|
helphub_mobile_launcher_offset_x: number;
|
278
304
|
helphub_mobile_launcher_offset_y: number;
|
279
305
|
helphub_mobile_launcher_anchor: string;
|
280
306
|
helphub_chat_fallback_message: string;
|
281
307
|
helphub_chat_fallback_actions: {
|
282
308
|
cta: string;
|
283
|
-
action: {
|
309
|
+
action: ({
|
310
|
+
type: "link";
|
311
|
+
value: string;
|
312
|
+
} & {
|
313
|
+
operation?: "self" | "router" | "blank" | undefined;
|
314
|
+
meta?: {
|
315
|
+
command: string;
|
316
|
+
} | undefined;
|
317
|
+
}) | {
|
318
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
319
|
+
value: string[];
|
320
|
+
} | {
|
284
321
|
type: "execute_command";
|
285
322
|
meta: {
|
286
323
|
command: string;
|
287
324
|
} & {
|
288
325
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
289
326
|
};
|
327
|
+
} | {
|
328
|
+
type: "no_action";
|
290
329
|
} | {
|
291
330
|
type: "click";
|
292
331
|
value: string;
|
293
332
|
} | {
|
294
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
295
|
-
value: string[];
|
296
|
-
} | ({
|
297
|
-
type: "link";
|
298
|
-
value: string;
|
299
|
-
} & {
|
300
|
-
operation?: "self" | "router" | "blank" | undefined;
|
301
|
-
meta?: {
|
302
|
-
command: string;
|
303
|
-
} | undefined;
|
304
|
-
}) | {
|
305
333
|
type: "open_chat";
|
306
334
|
meta: {
|
307
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
335
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
336
|
+
};
|
337
|
+
} | {
|
338
|
+
type: "chat_handoff";
|
339
|
+
meta: {
|
340
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
308
341
|
};
|
309
342
|
} | {
|
310
343
|
type: "dismiss";
|
@@ -313,14 +346,14 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
313
346
|
} | {
|
314
347
|
type: "questlist";
|
315
348
|
value: number;
|
316
|
-
} | {
|
317
|
-
type: "step_back";
|
318
349
|
} | {
|
319
350
|
type: "nudge";
|
320
351
|
value: number;
|
321
352
|
} | {
|
322
353
|
type: "go_to_step";
|
323
354
|
value: number;
|
355
|
+
} | {
|
356
|
+
type: "step_back";
|
324
357
|
} | ({
|
325
358
|
type: "open_bar";
|
326
359
|
} & {
|
@@ -328,42 +361,49 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
328
361
|
categoryFilter?: number | undefined;
|
329
362
|
}) | {
|
330
363
|
type: "open_helphub";
|
331
|
-
} | {
|
364
|
+
} | ({
|
332
365
|
type: "open_copilot";
|
333
|
-
}
|
334
|
-
|
335
|
-
};
|
366
|
+
} & {
|
367
|
+
query?: string | undefined;
|
368
|
+
});
|
336
369
|
}[];
|
337
370
|
helphub_search_action: "search" | "ask";
|
338
371
|
copilot_negative_feedback_fallback_enabled: boolean;
|
339
372
|
copilot_negative_feedback_fallback_message: string | null;
|
340
373
|
copilot_negative_feedback_fallback_actions: {
|
341
374
|
cta: string;
|
342
|
-
action: {
|
375
|
+
action: ({
|
376
|
+
type: "link";
|
377
|
+
value: string;
|
378
|
+
} & {
|
379
|
+
operation?: "self" | "router" | "blank" | undefined;
|
380
|
+
meta?: {
|
381
|
+
command: string;
|
382
|
+
} | undefined;
|
383
|
+
}) | {
|
384
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
385
|
+
value: string[];
|
386
|
+
} | {
|
343
387
|
type: "execute_command";
|
344
388
|
meta: {
|
345
389
|
command: string;
|
346
390
|
} & {
|
347
391
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
348
392
|
};
|
393
|
+
} | {
|
394
|
+
type: "no_action";
|
349
395
|
} | {
|
350
396
|
type: "click";
|
351
397
|
value: string;
|
352
398
|
} | {
|
353
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
354
|
-
value: string[];
|
355
|
-
} | ({
|
356
|
-
type: "link";
|
357
|
-
value: string;
|
358
|
-
} & {
|
359
|
-
operation?: "self" | "router" | "blank" | undefined;
|
360
|
-
meta?: {
|
361
|
-
command: string;
|
362
|
-
} | undefined;
|
363
|
-
}) | {
|
364
399
|
type: "open_chat";
|
365
400
|
meta: {
|
366
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
401
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
402
|
+
};
|
403
|
+
} | {
|
404
|
+
type: "chat_handoff";
|
405
|
+
meta: {
|
406
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
367
407
|
};
|
368
408
|
} | {
|
369
409
|
type: "dismiss";
|
@@ -372,14 +412,14 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
372
412
|
} | {
|
373
413
|
type: "questlist";
|
374
414
|
value: number;
|
375
|
-
} | {
|
376
|
-
type: "step_back";
|
377
415
|
} | {
|
378
416
|
type: "nudge";
|
379
417
|
value: number;
|
380
418
|
} | {
|
381
419
|
type: "go_to_step";
|
382
420
|
value: number;
|
421
|
+
} | {
|
422
|
+
type: "step_back";
|
383
423
|
} | ({
|
384
424
|
type: "open_bar";
|
385
425
|
} & {
|
@@ -387,11 +427,11 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
387
427
|
categoryFilter?: number | undefined;
|
388
428
|
}) | {
|
389
429
|
type: "open_helphub";
|
390
|
-
} | {
|
430
|
+
} | ({
|
391
431
|
type: "open_copilot";
|
392
|
-
}
|
393
|
-
|
394
|
-
};
|
432
|
+
} & {
|
433
|
+
query?: string | undefined;
|
434
|
+
});
|
395
435
|
}[];
|
396
436
|
nudge_rate_limit: number | null;
|
397
437
|
bar_hide_completed_nudges_questlists: boolean;
|
@@ -465,6 +505,11 @@ export declare const update: (object: {
|
|
465
505
|
helphub_custom_theme?: string | null | undefined;
|
466
506
|
copilot_name?: string | undefined;
|
467
507
|
copilot_avatar?: string | undefined;
|
508
|
+
copilot_avatar_v2?: {
|
509
|
+
src: string;
|
510
|
+
file_name: string;
|
511
|
+
size: string;
|
512
|
+
} | null | undefined;
|
468
513
|
copilot_personality?: {
|
469
514
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
470
515
|
} | {
|
@@ -473,45 +518,53 @@ export declare const update: (object: {
|
|
473
518
|
response_length: "long" | "short" | "conversational";
|
474
519
|
response_format: "mixed" | "lists" | "paragraphs";
|
475
520
|
} | undefined;
|
521
|
+
copilot_chat_history_enabled?: boolean | undefined;
|
476
522
|
helphub_enabled?: boolean | undefined;
|
477
|
-
helphub_launcher_type?: "none" | "custom" | "
|
478
|
-
helphub_launcher_position?: "
|
523
|
+
helphub_launcher_type?: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI" | undefined;
|
524
|
+
helphub_launcher_position?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | undefined;
|
479
525
|
helphub_launcher_offset_x?: number | undefined;
|
480
526
|
helphub_launcher_offset_y?: number | undefined;
|
481
527
|
helphub_launcher_anchor?: string | undefined;
|
482
|
-
helphub_mobile_launcher_type?: "none" | "custom" | "
|
483
|
-
helphub_mobile_launcher_position?: "
|
528
|
+
helphub_mobile_launcher_type?: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI" | undefined;
|
529
|
+
helphub_mobile_launcher_position?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | undefined;
|
484
530
|
helphub_mobile_launcher_offset_x?: number | undefined;
|
485
531
|
helphub_mobile_launcher_offset_y?: number | undefined;
|
486
532
|
helphub_mobile_launcher_anchor?: string | undefined;
|
487
533
|
helphub_chat_fallback_message?: string | undefined;
|
488
534
|
helphub_chat_fallback_actions?: {
|
489
535
|
cta: string;
|
490
|
-
action: {
|
536
|
+
action: ({
|
537
|
+
type: "link";
|
538
|
+
value: string;
|
539
|
+
} & {
|
540
|
+
operation?: "self" | "router" | "blank" | undefined;
|
541
|
+
meta?: {
|
542
|
+
command: string;
|
543
|
+
} | undefined;
|
544
|
+
}) | {
|
545
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
546
|
+
value: string[];
|
547
|
+
} | {
|
491
548
|
type: "execute_command";
|
492
549
|
meta: {
|
493
550
|
command: string;
|
494
551
|
} & {
|
495
552
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
496
553
|
};
|
554
|
+
} | {
|
555
|
+
type: "no_action";
|
497
556
|
} | {
|
498
557
|
type: "click";
|
499
558
|
value: string;
|
500
559
|
} | {
|
501
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
502
|
-
value: string[];
|
503
|
-
} | ({
|
504
|
-
type: "link";
|
505
|
-
value: string;
|
506
|
-
} & {
|
507
|
-
operation?: "self" | "router" | "blank" | undefined;
|
508
|
-
meta?: {
|
509
|
-
command: string;
|
510
|
-
} | undefined;
|
511
|
-
}) | {
|
512
560
|
type: "open_chat";
|
513
561
|
meta: {
|
514
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
562
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
563
|
+
};
|
564
|
+
} | {
|
565
|
+
type: "chat_handoff";
|
566
|
+
meta: {
|
567
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
515
568
|
};
|
516
569
|
} | {
|
517
570
|
type: "dismiss";
|
@@ -520,14 +573,14 @@ export declare const update: (object: {
|
|
520
573
|
} | {
|
521
574
|
type: "questlist";
|
522
575
|
value: number;
|
523
|
-
} | {
|
524
|
-
type: "step_back";
|
525
576
|
} | {
|
526
577
|
type: "nudge";
|
527
578
|
value: number;
|
528
579
|
} | {
|
529
580
|
type: "go_to_step";
|
530
581
|
value: number;
|
582
|
+
} | {
|
583
|
+
type: "step_back";
|
531
584
|
} | ({
|
532
585
|
type: "open_bar";
|
533
586
|
} & {
|
@@ -535,42 +588,49 @@ export declare const update: (object: {
|
|
535
588
|
categoryFilter?: number | undefined;
|
536
589
|
}) | {
|
537
590
|
type: "open_helphub";
|
538
|
-
} | {
|
591
|
+
} | ({
|
539
592
|
type: "open_copilot";
|
540
|
-
}
|
541
|
-
|
542
|
-
};
|
593
|
+
} & {
|
594
|
+
query?: string | undefined;
|
595
|
+
});
|
543
596
|
}[] | undefined;
|
544
597
|
helphub_search_action?: "search" | "ask" | undefined;
|
545
598
|
copilot_negative_feedback_fallback_enabled?: boolean | undefined;
|
546
599
|
copilot_negative_feedback_fallback_message?: string | null | undefined;
|
547
600
|
copilot_negative_feedback_fallback_actions?: {
|
548
601
|
cta: string;
|
549
|
-
action: {
|
602
|
+
action: ({
|
603
|
+
type: "link";
|
604
|
+
value: string;
|
605
|
+
} & {
|
606
|
+
operation?: "self" | "router" | "blank" | undefined;
|
607
|
+
meta?: {
|
608
|
+
command: string;
|
609
|
+
} | undefined;
|
610
|
+
}) | {
|
611
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
612
|
+
value: string[];
|
613
|
+
} | {
|
550
614
|
type: "execute_command";
|
551
615
|
meta: {
|
552
616
|
command: string;
|
553
617
|
} & {
|
554
618
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
555
619
|
};
|
620
|
+
} | {
|
621
|
+
type: "no_action";
|
556
622
|
} | {
|
557
623
|
type: "click";
|
558
624
|
value: string;
|
559
625
|
} | {
|
560
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
561
|
-
value: string[];
|
562
|
-
} | ({
|
563
|
-
type: "link";
|
564
|
-
value: string;
|
565
|
-
} & {
|
566
|
-
operation?: "self" | "router" | "blank" | undefined;
|
567
|
-
meta?: {
|
568
|
-
command: string;
|
569
|
-
} | undefined;
|
570
|
-
}) | {
|
571
626
|
type: "open_chat";
|
572
627
|
meta: {
|
573
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
628
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
629
|
+
};
|
630
|
+
} | {
|
631
|
+
type: "chat_handoff";
|
632
|
+
meta: {
|
633
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
574
634
|
};
|
575
635
|
} | {
|
576
636
|
type: "dismiss";
|
@@ -579,14 +639,14 @@ export declare const update: (object: {
|
|
579
639
|
} | {
|
580
640
|
type: "questlist";
|
581
641
|
value: number;
|
582
|
-
} | {
|
583
|
-
type: "step_back";
|
584
642
|
} | {
|
585
643
|
type: "nudge";
|
586
644
|
value: number;
|
587
645
|
} | {
|
588
646
|
type: "go_to_step";
|
589
647
|
value: number;
|
648
|
+
} | {
|
649
|
+
type: "step_back";
|
590
650
|
} | ({
|
591
651
|
type: "open_bar";
|
592
652
|
} & {
|
@@ -594,11 +654,11 @@ export declare const update: (object: {
|
|
594
654
|
categoryFilter?: number | undefined;
|
595
655
|
}) | {
|
596
656
|
type: "open_helphub";
|
597
|
-
} | {
|
657
|
+
} | ({
|
598
658
|
type: "open_copilot";
|
599
|
-
}
|
600
|
-
|
601
|
-
};
|
659
|
+
} & {
|
660
|
+
query?: string | undefined;
|
661
|
+
});
|
602
662
|
}[] | undefined;
|
603
663
|
nudge_rate_limit?: number | null | undefined;
|
604
664
|
bar_hide_completed_nudges_questlists?: boolean | undefined;
|
@@ -674,6 +734,11 @@ export declare const update: (object: {
|
|
674
734
|
helphub_custom_theme: string | null;
|
675
735
|
copilot_name: string;
|
676
736
|
copilot_avatar: string;
|
737
|
+
copilot_avatar_v2: {
|
738
|
+
src: string;
|
739
|
+
file_name: string;
|
740
|
+
size: string;
|
741
|
+
} | null;
|
677
742
|
copilot_personality: {
|
678
743
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
679
744
|
} | {
|
@@ -682,45 +747,53 @@ export declare const update: (object: {
|
|
682
747
|
response_length: "long" | "short" | "conversational";
|
683
748
|
response_format: "mixed" | "lists" | "paragraphs";
|
684
749
|
};
|
750
|
+
copilot_chat_history_enabled: boolean;
|
685
751
|
helphub_enabled: boolean;
|
686
|
-
helphub_launcher_type: "none" | "custom" | "
|
687
|
-
helphub_launcher_position: "
|
752
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
753
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
688
754
|
helphub_launcher_offset_x: number;
|
689
755
|
helphub_launcher_offset_y: number;
|
690
756
|
helphub_launcher_anchor: string;
|
691
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
692
|
-
helphub_mobile_launcher_position: "
|
757
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
758
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
693
759
|
helphub_mobile_launcher_offset_x: number;
|
694
760
|
helphub_mobile_launcher_offset_y: number;
|
695
761
|
helphub_mobile_launcher_anchor: string;
|
696
762
|
helphub_chat_fallback_message: string;
|
697
763
|
helphub_chat_fallback_actions: {
|
698
764
|
cta: string;
|
699
|
-
action: {
|
765
|
+
action: ({
|
766
|
+
type: "link";
|
767
|
+
value: string;
|
768
|
+
} & {
|
769
|
+
operation?: "self" | "router" | "blank" | undefined;
|
770
|
+
meta?: {
|
771
|
+
command: string;
|
772
|
+
} | undefined;
|
773
|
+
}) | {
|
774
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
775
|
+
value: string[];
|
776
|
+
} | {
|
700
777
|
type: "execute_command";
|
701
778
|
meta: {
|
702
779
|
command: string;
|
703
780
|
} & {
|
704
781
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
705
782
|
};
|
783
|
+
} | {
|
784
|
+
type: "no_action";
|
706
785
|
} | {
|
707
786
|
type: "click";
|
708
787
|
value: string;
|
709
788
|
} | {
|
710
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
711
|
-
value: string[];
|
712
|
-
} | ({
|
713
|
-
type: "link";
|
714
|
-
value: string;
|
715
|
-
} & {
|
716
|
-
operation?: "self" | "router" | "blank" | undefined;
|
717
|
-
meta?: {
|
718
|
-
command: string;
|
719
|
-
} | undefined;
|
720
|
-
}) | {
|
721
789
|
type: "open_chat";
|
722
790
|
meta: {
|
723
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
791
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
792
|
+
};
|
793
|
+
} | {
|
794
|
+
type: "chat_handoff";
|
795
|
+
meta: {
|
796
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
724
797
|
};
|
725
798
|
} | {
|
726
799
|
type: "dismiss";
|
@@ -729,14 +802,14 @@ export declare const update: (object: {
|
|
729
802
|
} | {
|
730
803
|
type: "questlist";
|
731
804
|
value: number;
|
732
|
-
} | {
|
733
|
-
type: "step_back";
|
734
805
|
} | {
|
735
806
|
type: "nudge";
|
736
807
|
value: number;
|
737
808
|
} | {
|
738
809
|
type: "go_to_step";
|
739
810
|
value: number;
|
811
|
+
} | {
|
812
|
+
type: "step_back";
|
740
813
|
} | ({
|
741
814
|
type: "open_bar";
|
742
815
|
} & {
|
@@ -744,42 +817,49 @@ export declare const update: (object: {
|
|
744
817
|
categoryFilter?: number | undefined;
|
745
818
|
}) | {
|
746
819
|
type: "open_helphub";
|
747
|
-
} | {
|
820
|
+
} | ({
|
748
821
|
type: "open_copilot";
|
749
|
-
}
|
750
|
-
|
751
|
-
};
|
822
|
+
} & {
|
823
|
+
query?: string | undefined;
|
824
|
+
});
|
752
825
|
}[];
|
753
826
|
helphub_search_action: "search" | "ask";
|
754
827
|
copilot_negative_feedback_fallback_enabled: boolean;
|
755
828
|
copilot_negative_feedback_fallback_message: string | null;
|
756
829
|
copilot_negative_feedback_fallback_actions: {
|
757
830
|
cta: string;
|
758
|
-
action: {
|
831
|
+
action: ({
|
832
|
+
type: "link";
|
833
|
+
value: string;
|
834
|
+
} & {
|
835
|
+
operation?: "self" | "router" | "blank" | undefined;
|
836
|
+
meta?: {
|
837
|
+
command: string;
|
838
|
+
} | undefined;
|
839
|
+
}) | {
|
840
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
841
|
+
value: string[];
|
842
|
+
} | {
|
759
843
|
type: "execute_command";
|
760
844
|
meta: {
|
761
845
|
command: string;
|
762
846
|
} & {
|
763
847
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
764
848
|
};
|
849
|
+
} | {
|
850
|
+
type: "no_action";
|
765
851
|
} | {
|
766
852
|
type: "click";
|
767
853
|
value: string;
|
768
854
|
} | {
|
769
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
770
|
-
value: string[];
|
771
|
-
} | ({
|
772
|
-
type: "link";
|
773
|
-
value: string;
|
774
|
-
} & {
|
775
|
-
operation?: "self" | "router" | "blank" | undefined;
|
776
|
-
meta?: {
|
777
|
-
command: string;
|
778
|
-
} | undefined;
|
779
|
-
}) | {
|
780
855
|
type: "open_chat";
|
781
856
|
meta: {
|
782
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
857
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
858
|
+
};
|
859
|
+
} | {
|
860
|
+
type: "chat_handoff";
|
861
|
+
meta: {
|
862
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
783
863
|
};
|
784
864
|
} | {
|
785
865
|
type: "dismiss";
|
@@ -788,14 +868,14 @@ export declare const update: (object: {
|
|
788
868
|
} | {
|
789
869
|
type: "questlist";
|
790
870
|
value: number;
|
791
|
-
} | {
|
792
|
-
type: "step_back";
|
793
871
|
} | {
|
794
872
|
type: "nudge";
|
795
873
|
value: number;
|
796
874
|
} | {
|
797
875
|
type: "go_to_step";
|
798
876
|
value: number;
|
877
|
+
} | {
|
878
|
+
type: "step_back";
|
799
879
|
} | ({
|
800
880
|
type: "open_bar";
|
801
881
|
} & {
|
@@ -803,11 +883,11 @@ export declare const update: (object: {
|
|
803
883
|
categoryFilter?: number | undefined;
|
804
884
|
}) | {
|
805
885
|
type: "open_helphub";
|
806
|
-
} | {
|
886
|
+
} | ({
|
807
887
|
type: "open_copilot";
|
808
|
-
}
|
809
|
-
|
810
|
-
};
|
888
|
+
} & {
|
889
|
+
query?: string | undefined;
|
890
|
+
});
|
811
891
|
}[];
|
812
892
|
nudge_rate_limit: number | null;
|
813
893
|
bar_hide_completed_nudges_questlists: boolean;
|
@@ -13,7 +13,7 @@ export declare class Profile {
|
|
13
13
|
user: string;
|
14
14
|
organization: string;
|
15
15
|
is_active: boolean;
|
16
|
-
role: "
|
16
|
+
role: "editor" | "admin" | "contributor" | "viewer";
|
17
17
|
first_name: string;
|
18
18
|
last_name: string;
|
19
19
|
email: string;
|