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
@@ -24,7 +24,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
24
24
|
} & {} & {
|
25
25
|
disabled: boolean;
|
26
26
|
launcher_type: "alternate" | "none" | "prompt" | "minimal";
|
27
|
-
launcher_position: "
|
27
|
+
launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
28
28
|
show_launcher_recommendations: boolean;
|
29
29
|
recommendations_type: "None" | "Custom" | "Algorithm" | undefined;
|
30
30
|
launcher_offset_x: number;
|
@@ -104,23 +104,23 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
104
104
|
setting_pin_to_bottom?: boolean | undefined;
|
105
105
|
track_recents?: boolean | undefined;
|
106
106
|
detail?: string | ({
|
107
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
107
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
108
108
|
value: string;
|
109
109
|
} & {
|
110
110
|
position?: "inline" | "popover" | undefined;
|
111
111
|
}) | (string | ({
|
112
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
112
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
113
113
|
value: string;
|
114
114
|
} & {
|
115
115
|
position?: "inline" | "popover" | undefined;
|
116
116
|
}))[] | null | undefined;
|
117
117
|
content?: string | ({
|
118
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
118
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
119
119
|
value: string;
|
120
120
|
} & {
|
121
121
|
position?: "inline" | "popover" | undefined;
|
122
122
|
}) | (string | ({
|
123
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
123
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
124
124
|
value: string;
|
125
125
|
} & {
|
126
126
|
position?: "inline" | "popover" | undefined;
|
@@ -168,31 +168,38 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
168
168
|
helphub_chat_fallback_message: string | null;
|
169
169
|
helphub_chat_fallback_actions: {
|
170
170
|
cta: string;
|
171
|
-
action: {
|
171
|
+
action: ({
|
172
|
+
type: "link";
|
173
|
+
value: string;
|
174
|
+
} & {
|
175
|
+
operation?: "self" | "router" | "blank" | undefined;
|
176
|
+
meta?: {
|
177
|
+
command: string;
|
178
|
+
} | undefined;
|
179
|
+
}) | {
|
180
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
181
|
+
value: string[];
|
182
|
+
} | {
|
172
183
|
type: "execute_command";
|
173
184
|
meta: {
|
174
185
|
command: string;
|
175
186
|
} & {
|
176
187
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
177
188
|
};
|
189
|
+
} | {
|
190
|
+
type: "no_action";
|
178
191
|
} | {
|
179
192
|
type: "click";
|
180
193
|
value: string;
|
181
194
|
} | {
|
182
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
183
|
-
value: string[];
|
184
|
-
} | ({
|
185
|
-
type: "link";
|
186
|
-
value: string;
|
187
|
-
} & {
|
188
|
-
operation?: "self" | "router" | "blank" | undefined;
|
189
|
-
meta?: {
|
190
|
-
command: string;
|
191
|
-
} | undefined;
|
192
|
-
}) | {
|
193
195
|
type: "open_chat";
|
194
196
|
meta: {
|
195
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
197
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
198
|
+
};
|
199
|
+
} | {
|
200
|
+
type: "chat_handoff";
|
201
|
+
meta: {
|
202
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
196
203
|
};
|
197
204
|
} | {
|
198
205
|
type: "dismiss";
|
@@ -201,14 +208,14 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
201
208
|
} | {
|
202
209
|
type: "questlist";
|
203
210
|
value: number;
|
204
|
-
} | {
|
205
|
-
type: "step_back";
|
206
211
|
} | {
|
207
212
|
type: "nudge";
|
208
213
|
value: number;
|
209
214
|
} | {
|
210
215
|
type: "go_to_step";
|
211
216
|
value: number;
|
217
|
+
} | {
|
218
|
+
type: "step_back";
|
212
219
|
} | ({
|
213
220
|
type: "open_bar";
|
214
221
|
} & {
|
@@ -216,43 +223,51 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
216
223
|
categoryFilter?: number | undefined;
|
217
224
|
}) | {
|
218
225
|
type: "open_helphub";
|
219
|
-
} | {
|
226
|
+
} | ({
|
220
227
|
type: "open_copilot";
|
221
|
-
}
|
222
|
-
|
223
|
-
};
|
228
|
+
} & {
|
229
|
+
query?: string | undefined;
|
230
|
+
});
|
224
231
|
}[];
|
225
232
|
helphub_search_action: "search" | "ask";
|
226
233
|
helphub_custom_theme: string | null;
|
234
|
+
copilot_chat_history_enabled: boolean;
|
227
235
|
copilot_negative_feedback_fallback_enabled: boolean;
|
228
236
|
copilot_negative_feedback_fallback_message: string | null;
|
229
237
|
copilot_negative_feedback_fallback_actions: {
|
230
238
|
cta: string;
|
231
|
-
action: {
|
239
|
+
action: ({
|
240
|
+
type: "link";
|
241
|
+
value: string;
|
242
|
+
} & {
|
243
|
+
operation?: "self" | "router" | "blank" | undefined;
|
244
|
+
meta?: {
|
245
|
+
command: string;
|
246
|
+
} | undefined;
|
247
|
+
}) | {
|
248
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
249
|
+
value: string[];
|
250
|
+
} | {
|
232
251
|
type: "execute_command";
|
233
252
|
meta: {
|
234
253
|
command: string;
|
235
254
|
} & {
|
236
255
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
237
256
|
};
|
257
|
+
} | {
|
258
|
+
type: "no_action";
|
238
259
|
} | {
|
239
260
|
type: "click";
|
240
261
|
value: string;
|
241
262
|
} | {
|
242
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
243
|
-
value: string[];
|
244
|
-
} | ({
|
245
|
-
type: "link";
|
246
|
-
value: string;
|
247
|
-
} & {
|
248
|
-
operation?: "self" | "router" | "blank" | undefined;
|
249
|
-
meta?: {
|
250
|
-
command: string;
|
251
|
-
} | undefined;
|
252
|
-
}) | {
|
253
263
|
type: "open_chat";
|
254
264
|
meta: {
|
255
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
265
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
266
|
+
};
|
267
|
+
} | {
|
268
|
+
type: "chat_handoff";
|
269
|
+
meta: {
|
270
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
256
271
|
};
|
257
272
|
} | {
|
258
273
|
type: "dismiss";
|
@@ -261,14 +276,14 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
261
276
|
} | {
|
262
277
|
type: "questlist";
|
263
278
|
value: number;
|
264
|
-
} | {
|
265
|
-
type: "step_back";
|
266
279
|
} | {
|
267
280
|
type: "nudge";
|
268
281
|
value: number;
|
269
282
|
} | {
|
270
283
|
type: "go_to_step";
|
271
284
|
value: number;
|
285
|
+
} | {
|
286
|
+
type: "step_back";
|
272
287
|
} | ({
|
273
288
|
type: "open_bar";
|
274
289
|
} & {
|
@@ -276,15 +291,20 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
276
291
|
categoryFilter?: number | undefined;
|
277
292
|
}) | {
|
278
293
|
type: "open_helphub";
|
279
|
-
} | {
|
294
|
+
} | ({
|
280
295
|
type: "open_copilot";
|
281
|
-
}
|
282
|
-
|
283
|
-
};
|
296
|
+
} & {
|
297
|
+
query?: string | undefined;
|
298
|
+
});
|
284
299
|
}[];
|
285
300
|
helphub_manual_suggested_queries: string[];
|
286
301
|
copilot_name: string;
|
287
302
|
copilot_avatar: string;
|
303
|
+
copilot_avatar_v2: {
|
304
|
+
src: string;
|
305
|
+
file_name: string;
|
306
|
+
size: string;
|
307
|
+
} | null;
|
288
308
|
copilot_personality: {
|
289
309
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
290
310
|
} | {
|
@@ -359,6 +379,10 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
359
379
|
topic_name?: string | null | undefined;
|
360
380
|
conversation_property_name?: string | null | undefined;
|
361
381
|
} | undefined;
|
382
|
+
intercom?: {
|
383
|
+
enabled?: boolean | undefined;
|
384
|
+
token?: string | undefined;
|
385
|
+
} | undefined;
|
362
386
|
};
|
363
387
|
copilot_enabled: boolean;
|
364
388
|
user_property_targeting: boolean;
|
@@ -387,13 +411,13 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
387
411
|
helphub_launcher_offset_x: number;
|
388
412
|
helphub_launcher_offset_y: number;
|
389
413
|
helphub_launcher_anchor: string;
|
390
|
-
helphub_launcher_position: "
|
391
|
-
helphub_launcher_type: "none" | "custom" | "
|
414
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
415
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
392
416
|
helphub_mobile_launcher_offset_x: number;
|
393
417
|
helphub_mobile_launcher_offset_y: number;
|
394
418
|
helphub_mobile_launcher_anchor: string;
|
395
|
-
helphub_mobile_launcher_position: "
|
396
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
419
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
420
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
397
421
|
}>;
|
398
422
|
export declare const update: (object: {
|
399
423
|
id: string | number;
|
@@ -402,7 +426,7 @@ export declare const update: (object: {
|
|
402
426
|
} & {} & {
|
403
427
|
disabled: boolean;
|
404
428
|
launcher_type: "alternate" | "none" | "prompt" | "minimal";
|
405
|
-
launcher_position: "
|
429
|
+
launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
406
430
|
show_launcher_recommendations: boolean;
|
407
431
|
recommendations_type: "None" | "Custom" | "Algorithm" | undefined;
|
408
432
|
launcher_offset_x: number;
|
@@ -482,23 +506,23 @@ export declare const update: (object: {
|
|
482
506
|
setting_pin_to_bottom?: boolean | undefined;
|
483
507
|
track_recents?: boolean | undefined;
|
484
508
|
detail?: string | ({
|
485
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
509
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
486
510
|
value: string;
|
487
511
|
} & {
|
488
512
|
position?: "inline" | "popover" | undefined;
|
489
513
|
}) | (string | ({
|
490
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
514
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
491
515
|
value: string;
|
492
516
|
} & {
|
493
517
|
position?: "inline" | "popover" | undefined;
|
494
518
|
}))[] | null | undefined;
|
495
519
|
content?: string | ({
|
496
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
520
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
497
521
|
value: string;
|
498
522
|
} & {
|
499
523
|
position?: "inline" | "popover" | undefined;
|
500
524
|
}) | (string | ({
|
501
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
525
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
502
526
|
value: string;
|
503
527
|
} & {
|
504
528
|
position?: "inline" | "popover" | undefined;
|
@@ -546,31 +570,38 @@ export declare const update: (object: {
|
|
546
570
|
helphub_chat_fallback_message: string | null;
|
547
571
|
helphub_chat_fallback_actions: {
|
548
572
|
cta: string;
|
549
|
-
action: {
|
573
|
+
action: ({
|
574
|
+
type: "link";
|
575
|
+
value: string;
|
576
|
+
} & {
|
577
|
+
operation?: "self" | "router" | "blank" | undefined;
|
578
|
+
meta?: {
|
579
|
+
command: string;
|
580
|
+
} | undefined;
|
581
|
+
}) | {
|
582
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
583
|
+
value: string[];
|
584
|
+
} | {
|
550
585
|
type: "execute_command";
|
551
586
|
meta: {
|
552
587
|
command: string;
|
553
588
|
} & {
|
554
589
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
555
590
|
};
|
591
|
+
} | {
|
592
|
+
type: "no_action";
|
556
593
|
} | {
|
557
594
|
type: "click";
|
558
595
|
value: string;
|
559
596
|
} | {
|
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
597
|
type: "open_chat";
|
572
598
|
meta: {
|
573
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
599
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
600
|
+
};
|
601
|
+
} | {
|
602
|
+
type: "chat_handoff";
|
603
|
+
meta: {
|
604
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
574
605
|
};
|
575
606
|
} | {
|
576
607
|
type: "dismiss";
|
@@ -579,14 +610,14 @@ export declare const update: (object: {
|
|
579
610
|
} | {
|
580
611
|
type: "questlist";
|
581
612
|
value: number;
|
582
|
-
} | {
|
583
|
-
type: "step_back";
|
584
613
|
} | {
|
585
614
|
type: "nudge";
|
586
615
|
value: number;
|
587
616
|
} | {
|
588
617
|
type: "go_to_step";
|
589
618
|
value: number;
|
619
|
+
} | {
|
620
|
+
type: "step_back";
|
590
621
|
} | ({
|
591
622
|
type: "open_bar";
|
592
623
|
} & {
|
@@ -594,43 +625,51 @@ export declare const update: (object: {
|
|
594
625
|
categoryFilter?: number | undefined;
|
595
626
|
}) | {
|
596
627
|
type: "open_helphub";
|
597
|
-
} | {
|
628
|
+
} | ({
|
598
629
|
type: "open_copilot";
|
599
|
-
}
|
600
|
-
|
601
|
-
};
|
630
|
+
} & {
|
631
|
+
query?: string | undefined;
|
632
|
+
});
|
602
633
|
}[];
|
603
634
|
helphub_search_action: "search" | "ask";
|
604
635
|
helphub_custom_theme: string | null;
|
636
|
+
copilot_chat_history_enabled: boolean;
|
605
637
|
copilot_negative_feedback_fallback_enabled: boolean;
|
606
638
|
copilot_negative_feedback_fallback_message: string | null;
|
607
639
|
copilot_negative_feedback_fallback_actions: {
|
608
640
|
cta: string;
|
609
|
-
action: {
|
641
|
+
action: ({
|
642
|
+
type: "link";
|
643
|
+
value: string;
|
644
|
+
} & {
|
645
|
+
operation?: "self" | "router" | "blank" | undefined;
|
646
|
+
meta?: {
|
647
|
+
command: string;
|
648
|
+
} | undefined;
|
649
|
+
}) | {
|
650
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
651
|
+
value: string[];
|
652
|
+
} | {
|
610
653
|
type: "execute_command";
|
611
654
|
meta: {
|
612
655
|
command: string;
|
613
656
|
} & {
|
614
657
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
615
658
|
};
|
659
|
+
} | {
|
660
|
+
type: "no_action";
|
616
661
|
} | {
|
617
662
|
type: "click";
|
618
663
|
value: string;
|
619
664
|
} | {
|
620
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
621
|
-
value: string[];
|
622
|
-
} | ({
|
623
|
-
type: "link";
|
624
|
-
value: string;
|
625
|
-
} & {
|
626
|
-
operation?: "self" | "router" | "blank" | undefined;
|
627
|
-
meta?: {
|
628
|
-
command: string;
|
629
|
-
} | undefined;
|
630
|
-
}) | {
|
631
665
|
type: "open_chat";
|
632
666
|
meta: {
|
633
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
667
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
668
|
+
};
|
669
|
+
} | {
|
670
|
+
type: "chat_handoff";
|
671
|
+
meta: {
|
672
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
634
673
|
};
|
635
674
|
} | {
|
636
675
|
type: "dismiss";
|
@@ -639,14 +678,14 @@ export declare const update: (object: {
|
|
639
678
|
} | {
|
640
679
|
type: "questlist";
|
641
680
|
value: number;
|
642
|
-
} | {
|
643
|
-
type: "step_back";
|
644
681
|
} | {
|
645
682
|
type: "nudge";
|
646
683
|
value: number;
|
647
684
|
} | {
|
648
685
|
type: "go_to_step";
|
649
686
|
value: number;
|
687
|
+
} | {
|
688
|
+
type: "step_back";
|
650
689
|
} | ({
|
651
690
|
type: "open_bar";
|
652
691
|
} & {
|
@@ -654,15 +693,20 @@ export declare const update: (object: {
|
|
654
693
|
categoryFilter?: number | undefined;
|
655
694
|
}) | {
|
656
695
|
type: "open_helphub";
|
657
|
-
} | {
|
696
|
+
} | ({
|
658
697
|
type: "open_copilot";
|
659
|
-
}
|
660
|
-
|
661
|
-
};
|
698
|
+
} & {
|
699
|
+
query?: string | undefined;
|
700
|
+
});
|
662
701
|
}[];
|
663
702
|
helphub_manual_suggested_queries: string[];
|
664
703
|
copilot_name: string;
|
665
704
|
copilot_avatar: string;
|
705
|
+
copilot_avatar_v2: {
|
706
|
+
src: string;
|
707
|
+
file_name: string;
|
708
|
+
size: string;
|
709
|
+
} | null;
|
666
710
|
copilot_personality: {
|
667
711
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
668
712
|
} | {
|
@@ -737,6 +781,10 @@ export declare const update: (object: {
|
|
737
781
|
topic_name?: string | null | undefined;
|
738
782
|
conversation_property_name?: string | null | undefined;
|
739
783
|
} | undefined;
|
784
|
+
intercom?: {
|
785
|
+
enabled?: boolean | undefined;
|
786
|
+
token?: string | undefined;
|
787
|
+
} | undefined;
|
740
788
|
};
|
741
789
|
copilot_enabled: boolean;
|
742
790
|
user_property_targeting: boolean;
|
@@ -765,13 +813,13 @@ export declare const update: (object: {
|
|
765
813
|
helphub_launcher_offset_x: number;
|
766
814
|
helphub_launcher_offset_y: number;
|
767
815
|
helphub_launcher_anchor: string;
|
768
|
-
helphub_launcher_position: "
|
769
|
-
helphub_launcher_type: "none" | "custom" | "
|
816
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
817
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
770
818
|
helphub_mobile_launcher_offset_x: number;
|
771
819
|
helphub_mobile_launcher_offset_y: number;
|
772
820
|
helphub_mobile_launcher_anchor: string;
|
773
|
-
helphub_mobile_launcher_position: "
|
774
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
821
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
822
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
775
823
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
776
824
|
id: string | number;
|
777
825
|
name: string;
|
@@ -779,7 +827,7 @@ export declare const update: (object: {
|
|
779
827
|
} & {} & {
|
780
828
|
disabled: boolean;
|
781
829
|
launcher_type: "alternate" | "none" | "prompt" | "minimal";
|
782
|
-
launcher_position: "
|
830
|
+
launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
783
831
|
show_launcher_recommendations: boolean;
|
784
832
|
recommendations_type: "None" | "Custom" | "Algorithm" | undefined;
|
785
833
|
launcher_offset_x: number;
|
@@ -859,23 +907,23 @@ export declare const update: (object: {
|
|
859
907
|
setting_pin_to_bottom?: boolean | undefined;
|
860
908
|
track_recents?: boolean | undefined;
|
861
909
|
detail?: string | ({
|
862
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
910
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
863
911
|
value: string;
|
864
912
|
} & {
|
865
913
|
position?: "inline" | "popover" | undefined;
|
866
914
|
}) | (string | ({
|
867
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
915
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
868
916
|
value: string;
|
869
917
|
} & {
|
870
918
|
position?: "inline" | "popover" | undefined;
|
871
919
|
}))[] | null | undefined;
|
872
920
|
content?: string | ({
|
873
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
921
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
874
922
|
value: string;
|
875
923
|
} & {
|
876
924
|
position?: "inline" | "popover" | undefined;
|
877
925
|
}) | (string | ({
|
878
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
926
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
879
927
|
value: string;
|
880
928
|
} & {
|
881
929
|
position?: "inline" | "popover" | undefined;
|
@@ -923,31 +971,38 @@ export declare const update: (object: {
|
|
923
971
|
helphub_chat_fallback_message: string | null;
|
924
972
|
helphub_chat_fallback_actions: {
|
925
973
|
cta: string;
|
926
|
-
action: {
|
974
|
+
action: ({
|
975
|
+
type: "link";
|
976
|
+
value: string;
|
977
|
+
} & {
|
978
|
+
operation?: "self" | "router" | "blank" | undefined;
|
979
|
+
meta?: {
|
980
|
+
command: string;
|
981
|
+
} | undefined;
|
982
|
+
}) | {
|
983
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
984
|
+
value: string[];
|
985
|
+
} | {
|
927
986
|
type: "execute_command";
|
928
987
|
meta: {
|
929
988
|
command: string;
|
930
989
|
} & {
|
931
990
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
932
991
|
};
|
992
|
+
} | {
|
993
|
+
type: "no_action";
|
933
994
|
} | {
|
934
995
|
type: "click";
|
935
996
|
value: string;
|
936
997
|
} | {
|
937
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
938
|
-
value: string[];
|
939
|
-
} | ({
|
940
|
-
type: "link";
|
941
|
-
value: string;
|
942
|
-
} & {
|
943
|
-
operation?: "self" | "router" | "blank" | undefined;
|
944
|
-
meta?: {
|
945
|
-
command: string;
|
946
|
-
} | undefined;
|
947
|
-
}) | {
|
948
998
|
type: "open_chat";
|
949
999
|
meta: {
|
950
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1000
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1001
|
+
};
|
1002
|
+
} | {
|
1003
|
+
type: "chat_handoff";
|
1004
|
+
meta: {
|
1005
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
951
1006
|
};
|
952
1007
|
} | {
|
953
1008
|
type: "dismiss";
|
@@ -956,14 +1011,14 @@ export declare const update: (object: {
|
|
956
1011
|
} | {
|
957
1012
|
type: "questlist";
|
958
1013
|
value: number;
|
959
|
-
} | {
|
960
|
-
type: "step_back";
|
961
1014
|
} | {
|
962
1015
|
type: "nudge";
|
963
1016
|
value: number;
|
964
1017
|
} | {
|
965
1018
|
type: "go_to_step";
|
966
1019
|
value: number;
|
1020
|
+
} | {
|
1021
|
+
type: "step_back";
|
967
1022
|
} | ({
|
968
1023
|
type: "open_bar";
|
969
1024
|
} & {
|
@@ -971,43 +1026,51 @@ export declare const update: (object: {
|
|
971
1026
|
categoryFilter?: number | undefined;
|
972
1027
|
}) | {
|
973
1028
|
type: "open_helphub";
|
974
|
-
} | {
|
1029
|
+
} | ({
|
975
1030
|
type: "open_copilot";
|
976
|
-
}
|
977
|
-
|
978
|
-
};
|
1031
|
+
} & {
|
1032
|
+
query?: string | undefined;
|
1033
|
+
});
|
979
1034
|
}[];
|
980
1035
|
helphub_search_action: "search" | "ask";
|
981
1036
|
helphub_custom_theme: string | null;
|
1037
|
+
copilot_chat_history_enabled: boolean;
|
982
1038
|
copilot_negative_feedback_fallback_enabled: boolean;
|
983
1039
|
copilot_negative_feedback_fallback_message: string | null;
|
984
1040
|
copilot_negative_feedback_fallback_actions: {
|
985
1041
|
cta: string;
|
986
|
-
action: {
|
1042
|
+
action: ({
|
1043
|
+
type: "link";
|
1044
|
+
value: string;
|
1045
|
+
} & {
|
1046
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1047
|
+
meta?: {
|
1048
|
+
command: string;
|
1049
|
+
} | undefined;
|
1050
|
+
}) | {
|
1051
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1052
|
+
value: string[];
|
1053
|
+
} | {
|
987
1054
|
type: "execute_command";
|
988
1055
|
meta: {
|
989
1056
|
command: string;
|
990
1057
|
} & {
|
991
1058
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
992
1059
|
};
|
1060
|
+
} | {
|
1061
|
+
type: "no_action";
|
993
1062
|
} | {
|
994
1063
|
type: "click";
|
995
1064
|
value: string;
|
996
1065
|
} | {
|
997
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
998
|
-
value: string[];
|
999
|
-
} | ({
|
1000
|
-
type: "link";
|
1001
|
-
value: string;
|
1002
|
-
} & {
|
1003
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1004
|
-
meta?: {
|
1005
|
-
command: string;
|
1006
|
-
} | undefined;
|
1007
|
-
}) | {
|
1008
1066
|
type: "open_chat";
|
1009
1067
|
meta: {
|
1010
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1068
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1069
|
+
};
|
1070
|
+
} | {
|
1071
|
+
type: "chat_handoff";
|
1072
|
+
meta: {
|
1073
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1011
1074
|
};
|
1012
1075
|
} | {
|
1013
1076
|
type: "dismiss";
|
@@ -1016,14 +1079,14 @@ export declare const update: (object: {
|
|
1016
1079
|
} | {
|
1017
1080
|
type: "questlist";
|
1018
1081
|
value: number;
|
1019
|
-
} | {
|
1020
|
-
type: "step_back";
|
1021
1082
|
} | {
|
1022
1083
|
type: "nudge";
|
1023
1084
|
value: number;
|
1024
1085
|
} | {
|
1025
1086
|
type: "go_to_step";
|
1026
1087
|
value: number;
|
1088
|
+
} | {
|
1089
|
+
type: "step_back";
|
1027
1090
|
} | ({
|
1028
1091
|
type: "open_bar";
|
1029
1092
|
} & {
|
@@ -1031,15 +1094,20 @@ export declare const update: (object: {
|
|
1031
1094
|
categoryFilter?: number | undefined;
|
1032
1095
|
}) | {
|
1033
1096
|
type: "open_helphub";
|
1034
|
-
} | {
|
1097
|
+
} | ({
|
1035
1098
|
type: "open_copilot";
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
};
|
1099
|
+
} & {
|
1100
|
+
query?: string | undefined;
|
1101
|
+
});
|
1039
1102
|
}[];
|
1040
1103
|
helphub_manual_suggested_queries: string[];
|
1041
1104
|
copilot_name: string;
|
1042
1105
|
copilot_avatar: string;
|
1106
|
+
copilot_avatar_v2: {
|
1107
|
+
src: string;
|
1108
|
+
file_name: string;
|
1109
|
+
size: string;
|
1110
|
+
} | null;
|
1043
1111
|
copilot_personality: {
|
1044
1112
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
1045
1113
|
} | {
|
@@ -1114,6 +1182,10 @@ export declare const update: (object: {
|
|
1114
1182
|
topic_name?: string | null | undefined;
|
1115
1183
|
conversation_property_name?: string | null | undefined;
|
1116
1184
|
} | undefined;
|
1185
|
+
intercom?: {
|
1186
|
+
enabled?: boolean | undefined;
|
1187
|
+
token?: string | undefined;
|
1188
|
+
} | undefined;
|
1117
1189
|
};
|
1118
1190
|
copilot_enabled: boolean;
|
1119
1191
|
user_property_targeting: boolean;
|
@@ -1142,36 +1214,25 @@ export declare const update: (object: {
|
|
1142
1214
|
helphub_launcher_offset_x: number;
|
1143
1215
|
helphub_launcher_offset_y: number;
|
1144
1216
|
helphub_launcher_anchor: string;
|
1145
|
-
helphub_launcher_position: "
|
1146
|
-
helphub_launcher_type: "none" | "custom" | "
|
1217
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
1218
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
1147
1219
|
helphub_mobile_launcher_offset_x: number;
|
1148
1220
|
helphub_mobile_launcher_offset_y: number;
|
1149
1221
|
helphub_mobile_launcher_anchor: string;
|
1150
|
-
helphub_mobile_launcher_position: "
|
1151
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
1222
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
1223
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
1152
1224
|
}>;
|
1153
1225
|
export declare const listCommands: (orgUID: string) => Promise<({
|
1154
1226
|
id: number;
|
1155
1227
|
text: string;
|
1156
1228
|
template: ({
|
1157
|
-
type: "admin";
|
1158
|
-
value: string;
|
1159
|
-
} & {} & {
|
1160
|
-
commandType?: "object" | "help" | "independent" | undefined;
|
1161
|
-
object?: string | undefined;
|
1162
|
-
hoverTooltip?: boolean | undefined;
|
1163
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1164
|
-
metadata?: {
|
1165
|
-
[key: string]: unknown;
|
1166
|
-
} | undefined;
|
1167
|
-
}) | ({
|
1168
1229
|
type: "callback";
|
1169
1230
|
value: string;
|
1170
1231
|
} & {} & {
|
1171
1232
|
commandType?: "object" | "help" | "independent" | undefined;
|
1172
1233
|
object?: string | undefined;
|
1173
1234
|
hoverTooltip?: boolean | undefined;
|
1174
|
-
operation?: "self" | "router" | "
|
1235
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1175
1236
|
metadata?: {
|
1176
1237
|
[key: string]: unknown;
|
1177
1238
|
} | undefined;
|
@@ -1187,7 +1248,18 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1187
1248
|
commandType?: "object" | "help" | "independent" | undefined;
|
1188
1249
|
object?: string | undefined;
|
1189
1250
|
hoverTooltip?: boolean | undefined;
|
1190
|
-
operation?: "self" | "router" | "
|
1251
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1252
|
+
metadata?: {
|
1253
|
+
[key: string]: unknown;
|
1254
|
+
} | undefined;
|
1255
|
+
}) | ({
|
1256
|
+
type: "webhook";
|
1257
|
+
value: string;
|
1258
|
+
} & {} & {
|
1259
|
+
commandType?: "object" | "help" | "independent" | undefined;
|
1260
|
+
object?: string | undefined;
|
1261
|
+
hoverTooltip?: boolean | undefined;
|
1262
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1191
1263
|
metadata?: {
|
1192
1264
|
[key: string]: unknown;
|
1193
1265
|
} | undefined;
|
@@ -1198,146 +1270,153 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1198
1270
|
commandType?: "object" | "help" | "independent" | undefined;
|
1199
1271
|
object?: string | undefined;
|
1200
1272
|
hoverTooltip?: boolean | undefined;
|
1201
|
-
operation?: "self" | "router" | "
|
1273
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1202
1274
|
metadata?: {
|
1203
1275
|
[key: string]: unknown;
|
1204
1276
|
} | undefined;
|
1205
1277
|
}) | ({
|
1206
|
-
type: "
|
1207
|
-
value:
|
1278
|
+
type: "request";
|
1279
|
+
value: {
|
1280
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
1281
|
+
url: string;
|
1282
|
+
} & {
|
1283
|
+
headers?: {
|
1284
|
+
[key: string]: unknown;
|
1285
|
+
} | undefined;
|
1286
|
+
body?: {
|
1287
|
+
[key: string]: unknown;
|
1288
|
+
} | undefined;
|
1289
|
+
onSend?: string | undefined;
|
1290
|
+
onSuccess?: string | undefined;
|
1291
|
+
onError?: string | undefined;
|
1292
|
+
};
|
1208
1293
|
} & {} & {
|
1209
1294
|
commandType?: "object" | "help" | "independent" | undefined;
|
1210
1295
|
object?: string | undefined;
|
1211
1296
|
hoverTooltip?: boolean | undefined;
|
1212
|
-
operation?: "self" | "router" | "
|
1297
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1213
1298
|
metadata?: {
|
1214
1299
|
[key: string]: unknown;
|
1215
1300
|
} | undefined;
|
1216
1301
|
}) | ({
|
1217
|
-
type: "
|
1302
|
+
type: "appcues";
|
1218
1303
|
value: string;
|
1219
1304
|
} & {} & {
|
1220
1305
|
commandType?: "object" | "help" | "independent" | undefined;
|
1221
1306
|
object?: string | undefined;
|
1222
1307
|
hoverTooltip?: boolean | undefined;
|
1223
|
-
operation?: "self" | "router" | "
|
1308
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1224
1309
|
metadata?: {
|
1225
1310
|
[key: string]: unknown;
|
1226
1311
|
} | undefined;
|
1227
1312
|
}) | ({
|
1228
|
-
type: "
|
1313
|
+
type: "pendo_guide";
|
1229
1314
|
value: string;
|
1230
1315
|
} & {} & {
|
1231
1316
|
commandType?: "object" | "help" | "independent" | undefined;
|
1232
1317
|
object?: string | undefined;
|
1233
1318
|
hoverTooltip?: boolean | undefined;
|
1234
|
-
operation?: "self" | "router" | "
|
1319
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1235
1320
|
metadata?: {
|
1236
1321
|
[key: string]: unknown;
|
1237
1322
|
} | undefined;
|
1238
1323
|
}) | ({
|
1239
|
-
type: "
|
1240
|
-
value:
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
} | undefined;
|
1250
|
-
onSend?: string | undefined;
|
1251
|
-
onSuccess?: string | undefined;
|
1252
|
-
onError?: string | undefined;
|
1253
|
-
};
|
1324
|
+
type: "helpdoc";
|
1325
|
+
value: string;
|
1326
|
+
} & {
|
1327
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1328
|
+
doc_metadata?: {
|
1329
|
+
content_type?: string | undefined;
|
1330
|
+
date?: string | undefined;
|
1331
|
+
} | undefined;
|
1332
|
+
} & {
|
1333
|
+
doc_type?: "answer" | "doc" | undefined;
|
1254
1334
|
} & {} & {
|
1255
1335
|
commandType?: "object" | "help" | "independent" | undefined;
|
1256
1336
|
object?: string | undefined;
|
1257
1337
|
hoverTooltip?: boolean | undefined;
|
1258
|
-
operation?: "self" | "router" | "
|
1338
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1259
1339
|
metadata?: {
|
1260
1340
|
[key: string]: unknown;
|
1261
1341
|
} | undefined;
|
1262
1342
|
}) | ({
|
1263
|
-
type: "
|
1343
|
+
type: "admin";
|
1264
1344
|
value: string;
|
1265
1345
|
} & {} & {
|
1266
1346
|
commandType?: "object" | "help" | "independent" | undefined;
|
1267
1347
|
object?: string | undefined;
|
1268
1348
|
hoverTooltip?: boolean | undefined;
|
1269
|
-
operation?: "self" | "router" | "
|
1349
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1270
1350
|
metadata?: {
|
1271
1351
|
[key: string]: unknown;
|
1272
1352
|
} | undefined;
|
1273
1353
|
}) | ({
|
1274
|
-
type: "
|
1354
|
+
type: "builtin";
|
1275
1355
|
value: string;
|
1276
1356
|
} & {} & {
|
1277
1357
|
commandType?: "object" | "help" | "independent" | undefined;
|
1278
1358
|
object?: string | undefined;
|
1279
1359
|
hoverTooltip?: boolean | undefined;
|
1280
|
-
operation?: "self" | "router" | "
|
1360
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1281
1361
|
metadata?: {
|
1282
1362
|
[key: string]: unknown;
|
1283
1363
|
} | undefined;
|
1284
1364
|
}) | ({
|
1285
|
-
type: "
|
1365
|
+
type: "script";
|
1286
1366
|
value: string;
|
1287
1367
|
} & {} & {
|
1288
1368
|
commandType?: "object" | "help" | "independent" | undefined;
|
1289
1369
|
object?: string | undefined;
|
1290
1370
|
hoverTooltip?: boolean | undefined;
|
1291
|
-
operation?: "self" | "router" | "
|
1371
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1292
1372
|
metadata?: {
|
1293
1373
|
[key: string]: unknown;
|
1294
1374
|
} | undefined;
|
1295
1375
|
}) | ({
|
1296
|
-
type: "
|
1376
|
+
type: "video";
|
1297
1377
|
value: string;
|
1298
|
-
} & {
|
1299
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1300
|
-
doc_metadata?: {
|
1301
|
-
content_type?: string | undefined;
|
1302
|
-
date?: string | undefined;
|
1303
|
-
} | undefined;
|
1304
|
-
} & {
|
1305
|
-
doc_type?: "answer" | "doc" | undefined;
|
1306
1378
|
} & {} & {
|
1307
1379
|
commandType?: "object" | "help" | "independent" | undefined;
|
1308
1380
|
object?: string | undefined;
|
1309
1381
|
hoverTooltip?: boolean | undefined;
|
1310
|
-
operation?: "self" | "router" | "
|
1382
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1311
1383
|
metadata?: {
|
1312
1384
|
[key: string]: unknown;
|
1313
1385
|
} | undefined;
|
1314
1386
|
}) | ({
|
1315
1387
|
type: "trigger";
|
1316
|
-
value: {
|
1388
|
+
value: ({
|
1389
|
+
type: "link";
|
1390
|
+
value: string;
|
1391
|
+
} & {
|
1392
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1393
|
+
meta?: {
|
1394
|
+
command: string;
|
1395
|
+
} | undefined;
|
1396
|
+
}) | {
|
1397
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1398
|
+
value: string[];
|
1399
|
+
} | {
|
1317
1400
|
type: "execute_command";
|
1318
1401
|
meta: {
|
1319
1402
|
command: string;
|
1320
1403
|
} & {
|
1321
1404
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1322
1405
|
};
|
1406
|
+
} | {
|
1407
|
+
type: "no_action";
|
1323
1408
|
} | {
|
1324
1409
|
type: "click";
|
1325
1410
|
value: string;
|
1326
1411
|
} | {
|
1327
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1328
|
-
value: string[];
|
1329
|
-
} | ({
|
1330
|
-
type: "link";
|
1331
|
-
value: string;
|
1332
|
-
} & {
|
1333
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1334
|
-
meta?: {
|
1335
|
-
command: string;
|
1336
|
-
} | undefined;
|
1337
|
-
}) | {
|
1338
1412
|
type: "open_chat";
|
1339
1413
|
meta: {
|
1340
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1414
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1415
|
+
};
|
1416
|
+
} | {
|
1417
|
+
type: "chat_handoff";
|
1418
|
+
meta: {
|
1419
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1341
1420
|
};
|
1342
1421
|
} | {
|
1343
1422
|
type: "dismiss";
|
@@ -1346,14 +1425,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1346
1425
|
} | {
|
1347
1426
|
type: "questlist";
|
1348
1427
|
value: number;
|
1349
|
-
} | {
|
1350
|
-
type: "step_back";
|
1351
1428
|
} | {
|
1352
1429
|
type: "nudge";
|
1353
1430
|
value: number;
|
1354
1431
|
} | {
|
1355
1432
|
type: "go_to_step";
|
1356
1433
|
value: number;
|
1434
|
+
} | {
|
1435
|
+
type: "step_back";
|
1357
1436
|
} | ({
|
1358
1437
|
type: "open_bar";
|
1359
1438
|
} & {
|
@@ -1361,16 +1440,16 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1361
1440
|
categoryFilter?: number | undefined;
|
1362
1441
|
}) | {
|
1363
1442
|
type: "open_helphub";
|
1364
|
-
} | {
|
1443
|
+
} | ({
|
1365
1444
|
type: "open_copilot";
|
1366
|
-
}
|
1367
|
-
|
1368
|
-
};
|
1445
|
+
} & {
|
1446
|
+
query?: string | undefined;
|
1447
|
+
});
|
1369
1448
|
} & {} & {
|
1370
1449
|
commandType?: "object" | "help" | "independent" | undefined;
|
1371
1450
|
object?: string | undefined;
|
1372
1451
|
hoverTooltip?: boolean | undefined;
|
1373
|
-
operation?: "self" | "router" | "
|
1452
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1374
1453
|
metadata?: {
|
1375
1454
|
[key: string]: unknown;
|
1376
1455
|
} | undefined;
|
@@ -1384,17 +1463,18 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1384
1463
|
isAsync?: boolean | undefined;
|
1385
1464
|
} & {
|
1386
1465
|
image: string | null;
|
1466
|
+
labels: string[] | null;
|
1387
1467
|
confirm: string;
|
1388
1468
|
icon: string | null;
|
1389
1469
|
heading: string;
|
1470
|
+
icon_color: string | null;
|
1471
|
+
image_color: string | null;
|
1390
1472
|
sort_key: number | null;
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
copilot_description: string;
|
1397
|
-
editor_tags: string[];
|
1473
|
+
show_preview: boolean;
|
1474
|
+
shortcut_mac: string[];
|
1475
|
+
shortcut_win: string[];
|
1476
|
+
hotkey_mac: string;
|
1477
|
+
hotkey_win: string;
|
1398
1478
|
tags: string[];
|
1399
1479
|
arguments: {
|
1400
1480
|
[x: string]: ({
|
@@ -1474,14 +1554,6 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1474
1554
|
auto_choose?: boolean | undefined;
|
1475
1555
|
});
|
1476
1556
|
};
|
1477
|
-
shortcut: string[];
|
1478
|
-
icon_color: string | null;
|
1479
|
-
image_color: string | null;
|
1480
|
-
show_preview: boolean;
|
1481
|
-
shortcut_mac: string[];
|
1482
|
-
shortcut_win: string[];
|
1483
|
-
hotkey_mac: string;
|
1484
|
-
hotkey_win: string;
|
1485
1557
|
category: number | null;
|
1486
1558
|
celebrate: boolean | {
|
1487
1559
|
angle?: number | undefined;
|
@@ -1498,8 +1570,8 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1498
1570
|
random?: any;
|
1499
1571
|
} | null;
|
1500
1572
|
availability_rules: (({
|
1501
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1502
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1573
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1574
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1503
1575
|
} & {
|
1504
1576
|
field?: string | undefined;
|
1505
1577
|
value?: string | undefined;
|
@@ -1508,14 +1580,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1508
1580
|
}) | ({
|
1509
1581
|
type: "nudge_interaction";
|
1510
1582
|
operator: "is" | "isNot";
|
1511
|
-
value: "completed" | "
|
1583
|
+
value: "completed" | "viewed" | "dismissed";
|
1512
1584
|
nudge_id: number;
|
1513
1585
|
} & {
|
1514
1586
|
reason?: string | undefined;
|
1515
1587
|
}) | ({
|
1516
1588
|
type: "questlist_interaction";
|
1517
1589
|
operator: "is" | "isNot";
|
1518
|
-
value: "completed" | "
|
1590
|
+
value: "completed" | "viewed" | "dismissed";
|
1519
1591
|
questlist_id: number;
|
1520
1592
|
} & {
|
1521
1593
|
reason?: string | undefined;
|
@@ -1526,13 +1598,8 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1526
1598
|
} & {
|
1527
1599
|
reason?: string | undefined;
|
1528
1600
|
}))[] | (({
|
1529
|
-
type: "
|
1530
|
-
|
1531
|
-
} & {
|
1532
|
-
reason?: string | undefined;
|
1533
|
-
}) | ({
|
1534
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1535
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1601
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1602
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1536
1603
|
} & {
|
1537
1604
|
field?: string | undefined;
|
1538
1605
|
value?: string | undefined;
|
@@ -1541,14 +1608,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1541
1608
|
}) | ({
|
1542
1609
|
type: "nudge_interaction";
|
1543
1610
|
operator: "is" | "isNot";
|
1544
|
-
value: "completed" | "
|
1611
|
+
value: "completed" | "viewed" | "dismissed";
|
1545
1612
|
nudge_id: number;
|
1546
1613
|
} & {
|
1547
1614
|
reason?: string | undefined;
|
1548
1615
|
}) | ({
|
1549
1616
|
type: "questlist_interaction";
|
1550
1617
|
operator: "is" | "isNot";
|
1551
|
-
value: "completed" | "
|
1618
|
+
value: "completed" | "viewed" | "dismissed";
|
1552
1619
|
questlist_id: number;
|
1553
1620
|
} & {
|
1554
1621
|
reason?: string | undefined;
|
@@ -1558,10 +1625,15 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1558
1625
|
values: string[];
|
1559
1626
|
} & {
|
1560
1627
|
reason?: string | undefined;
|
1628
|
+
}) | ({
|
1629
|
+
type: "named_rule";
|
1630
|
+
rule_id: string | number;
|
1631
|
+
} & {
|
1632
|
+
reason?: string | undefined;
|
1561
1633
|
}))[];
|
1562
1634
|
recommend_rules: (({
|
1563
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1564
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1635
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1636
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1565
1637
|
} & {
|
1566
1638
|
field?: string | undefined;
|
1567
1639
|
value?: string | undefined;
|
@@ -1570,14 +1642,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1570
1642
|
}) | ({
|
1571
1643
|
type: "nudge_interaction";
|
1572
1644
|
operator: "is" | "isNot";
|
1573
|
-
value: "completed" | "
|
1645
|
+
value: "completed" | "viewed" | "dismissed";
|
1574
1646
|
nudge_id: number;
|
1575
1647
|
} & {
|
1576
1648
|
reason?: string | undefined;
|
1577
1649
|
}) | ({
|
1578
1650
|
type: "questlist_interaction";
|
1579
1651
|
operator: "is" | "isNot";
|
1580
|
-
value: "completed" | "
|
1652
|
+
value: "completed" | "viewed" | "dismissed";
|
1581
1653
|
questlist_id: number;
|
1582
1654
|
} & {
|
1583
1655
|
reason?: string | undefined;
|
@@ -1596,13 +1668,8 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1596
1668
|
reason?: null | undefined;
|
1597
1669
|
rule_id?: string | number | undefined;
|
1598
1670
|
}))[] | (({
|
1599
|
-
type: "
|
1600
|
-
|
1601
|
-
} & {
|
1602
|
-
reason?: string | undefined;
|
1603
|
-
}) | ({
|
1604
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1605
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1671
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1672
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1606
1673
|
} & {
|
1607
1674
|
field?: string | undefined;
|
1608
1675
|
value?: string | undefined;
|
@@ -1611,14 +1678,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1611
1678
|
}) | ({
|
1612
1679
|
type: "nudge_interaction";
|
1613
1680
|
operator: "is" | "isNot";
|
1614
|
-
value: "completed" | "
|
1681
|
+
value: "completed" | "viewed" | "dismissed";
|
1615
1682
|
nudge_id: number;
|
1616
1683
|
} & {
|
1617
1684
|
reason?: string | undefined;
|
1618
1685
|
}) | ({
|
1619
1686
|
type: "questlist_interaction";
|
1620
1687
|
operator: "is" | "isNot";
|
1621
|
-
value: "completed" | "
|
1688
|
+
value: "completed" | "viewed" | "dismissed";
|
1622
1689
|
questlist_id: number;
|
1623
1690
|
} & {
|
1624
1691
|
reason?: string | undefined;
|
@@ -1636,38 +1703,57 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1636
1703
|
value?: null | undefined;
|
1637
1704
|
reason?: null | undefined;
|
1638
1705
|
rule_id?: string | number | undefined;
|
1706
|
+
}) | ({
|
1707
|
+
type: "named_rule";
|
1708
|
+
rule_id: string | number;
|
1709
|
+
} & {
|
1710
|
+
reason?: string | undefined;
|
1639
1711
|
}))[];
|
1640
1712
|
availability_expression: import("./helpers/rules").RuleExpression;
|
1641
1713
|
recommend_expression: import("./helpers/rules").RuleExpression;
|
1714
|
+
is_live: boolean;
|
1642
1715
|
always_recommend: boolean;
|
1716
|
+
shortcut: string[];
|
1643
1717
|
recommend_sort_key: number | null;
|
1718
|
+
thumbnail: {
|
1719
|
+
src: string;
|
1720
|
+
file_name: string;
|
1721
|
+
size: string;
|
1722
|
+
} | null;
|
1644
1723
|
next_steps: (string | number | {
|
1645
1724
|
cta: string;
|
1646
|
-
action: {
|
1725
|
+
action: ({
|
1726
|
+
type: "link";
|
1727
|
+
value: string;
|
1728
|
+
} & {
|
1729
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1730
|
+
meta?: {
|
1731
|
+
command: string;
|
1732
|
+
} | undefined;
|
1733
|
+
}) | {
|
1734
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1735
|
+
value: string[];
|
1736
|
+
} | {
|
1647
1737
|
type: "execute_command";
|
1648
1738
|
meta: {
|
1649
1739
|
command: string;
|
1650
1740
|
} & {
|
1651
1741
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1652
1742
|
};
|
1743
|
+
} | {
|
1744
|
+
type: "no_action";
|
1653
1745
|
} | {
|
1654
1746
|
type: "click";
|
1655
1747
|
value: string;
|
1656
1748
|
} | {
|
1657
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1658
|
-
value: string[];
|
1659
|
-
} | ({
|
1660
|
-
type: "link";
|
1661
|
-
value: string;
|
1662
|
-
} & {
|
1663
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1664
|
-
meta?: {
|
1665
|
-
command: string;
|
1666
|
-
} | undefined;
|
1667
|
-
}) | {
|
1668
1749
|
type: "open_chat";
|
1669
1750
|
meta: {
|
1670
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1751
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1752
|
+
};
|
1753
|
+
} | {
|
1754
|
+
type: "chat_handoff";
|
1755
|
+
meta: {
|
1756
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1671
1757
|
};
|
1672
1758
|
} | {
|
1673
1759
|
type: "dismiss";
|
@@ -1676,14 +1762,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1676
1762
|
} | {
|
1677
1763
|
type: "questlist";
|
1678
1764
|
value: number;
|
1679
|
-
} | {
|
1680
|
-
type: "step_back";
|
1681
1765
|
} | {
|
1682
1766
|
type: "nudge";
|
1683
1767
|
value: number;
|
1684
1768
|
} | {
|
1685
1769
|
type: "go_to_step";
|
1686
1770
|
value: number;
|
1771
|
+
} | {
|
1772
|
+
type: "step_back";
|
1687
1773
|
} | ({
|
1688
1774
|
type: "open_bar";
|
1689
1775
|
} & {
|
@@ -1691,23 +1777,24 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1691
1777
|
categoryFilter?: number | undefined;
|
1692
1778
|
}) | {
|
1693
1779
|
type: "open_helphub";
|
1694
|
-
} | {
|
1780
|
+
} | ({
|
1695
1781
|
type: "open_copilot";
|
1696
|
-
}
|
1697
|
-
|
1698
|
-
};
|
1782
|
+
} & {
|
1783
|
+
query?: string | undefined;
|
1784
|
+
});
|
1699
1785
|
})[];
|
1700
|
-
thumbnail: {
|
1701
|
-
src: string;
|
1702
|
-
file_name: string;
|
1703
|
-
size: string;
|
1704
|
-
} | null;
|
1705
|
-
copilot_use_verbatim: boolean;
|
1706
1786
|
generated_tags: {
|
1707
1787
|
automated?: string[] | null | undefined;
|
1708
1788
|
manual?: string[] | null | undefined;
|
1709
1789
|
deny?: string[] | null | undefined;
|
1710
1790
|
};
|
1791
|
+
copilot_suggest: boolean;
|
1792
|
+
show_in_spotlight_search: boolean;
|
1793
|
+
show_in_helphub_search: boolean;
|
1794
|
+
copilot_cta_label: string;
|
1795
|
+
copilot_description: string;
|
1796
|
+
copilot_use_verbatim: boolean;
|
1797
|
+
editor_tags: string[];
|
1711
1798
|
} & {
|
1712
1799
|
third_party_source?: string | null | undefined;
|
1713
1800
|
third_party_id?: string | null | undefined;
|
@@ -1735,40 +1822,40 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1735
1822
|
id: number;
|
1736
1823
|
text: string;
|
1737
1824
|
template: ({
|
1738
|
-
type: "
|
1825
|
+
type: "callback";
|
1739
1826
|
value: string;
|
1740
1827
|
} & {} & {
|
1741
1828
|
commandType?: "object" | "help" | "independent" | undefined;
|
1742
1829
|
object?: string | undefined;
|
1743
1830
|
hoverTooltip?: boolean | undefined;
|
1744
|
-
operation?: "self" | "router" | "
|
1831
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1745
1832
|
metadata?: {
|
1746
1833
|
[key: string]: unknown;
|
1747
1834
|
} | undefined;
|
1748
1835
|
}) | ({
|
1749
|
-
type: "
|
1836
|
+
type: "link";
|
1750
1837
|
value: string;
|
1838
|
+
} & {
|
1839
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1840
|
+
meta?: {
|
1841
|
+
command: string;
|
1842
|
+
} | undefined;
|
1751
1843
|
} & {} & {
|
1752
1844
|
commandType?: "object" | "help" | "independent" | undefined;
|
1753
1845
|
object?: string | undefined;
|
1754
1846
|
hoverTooltip?: boolean | undefined;
|
1755
|
-
operation?: "self" | "router" | "
|
1847
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1756
1848
|
metadata?: {
|
1757
1849
|
[key: string]: unknown;
|
1758
1850
|
} | undefined;
|
1759
1851
|
}) | ({
|
1760
|
-
type: "
|
1852
|
+
type: "webhook";
|
1761
1853
|
value: string;
|
1762
|
-
} & {
|
1763
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1764
|
-
meta?: {
|
1765
|
-
command: string;
|
1766
|
-
} | undefined;
|
1767
1854
|
} & {} & {
|
1768
1855
|
commandType?: "object" | "help" | "independent" | undefined;
|
1769
1856
|
object?: string | undefined;
|
1770
1857
|
hoverTooltip?: boolean | undefined;
|
1771
|
-
operation?: "self" | "router" | "
|
1858
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1772
1859
|
metadata?: {
|
1773
1860
|
[key: string]: unknown;
|
1774
1861
|
} | undefined;
|
@@ -1779,146 +1866,153 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1779
1866
|
commandType?: "object" | "help" | "independent" | undefined;
|
1780
1867
|
object?: string | undefined;
|
1781
1868
|
hoverTooltip?: boolean | undefined;
|
1782
|
-
operation?: "self" | "router" | "
|
1869
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1783
1870
|
metadata?: {
|
1784
1871
|
[key: string]: unknown;
|
1785
1872
|
} | undefined;
|
1786
1873
|
}) | ({
|
1787
|
-
type: "
|
1788
|
-
value:
|
1874
|
+
type: "request";
|
1875
|
+
value: {
|
1876
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
1877
|
+
url: string;
|
1878
|
+
} & {
|
1879
|
+
headers?: {
|
1880
|
+
[key: string]: unknown;
|
1881
|
+
} | undefined;
|
1882
|
+
body?: {
|
1883
|
+
[key: string]: unknown;
|
1884
|
+
} | undefined;
|
1885
|
+
onSend?: string | undefined;
|
1886
|
+
onSuccess?: string | undefined;
|
1887
|
+
onError?: string | undefined;
|
1888
|
+
};
|
1789
1889
|
} & {} & {
|
1790
1890
|
commandType?: "object" | "help" | "independent" | undefined;
|
1791
1891
|
object?: string | undefined;
|
1792
1892
|
hoverTooltip?: boolean | undefined;
|
1793
|
-
operation?: "self" | "router" | "
|
1893
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1794
1894
|
metadata?: {
|
1795
1895
|
[key: string]: unknown;
|
1796
1896
|
} | undefined;
|
1797
1897
|
}) | ({
|
1798
|
-
type: "
|
1898
|
+
type: "appcues";
|
1799
1899
|
value: string;
|
1800
1900
|
} & {} & {
|
1801
1901
|
commandType?: "object" | "help" | "independent" | undefined;
|
1802
1902
|
object?: string | undefined;
|
1803
1903
|
hoverTooltip?: boolean | undefined;
|
1804
|
-
operation?: "self" | "router" | "
|
1904
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1805
1905
|
metadata?: {
|
1806
1906
|
[key: string]: unknown;
|
1807
1907
|
} | undefined;
|
1808
1908
|
}) | ({
|
1809
|
-
type: "
|
1909
|
+
type: "pendo_guide";
|
1810
1910
|
value: string;
|
1811
1911
|
} & {} & {
|
1812
1912
|
commandType?: "object" | "help" | "independent" | undefined;
|
1813
1913
|
object?: string | undefined;
|
1814
1914
|
hoverTooltip?: boolean | undefined;
|
1815
|
-
operation?: "self" | "router" | "
|
1915
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1816
1916
|
metadata?: {
|
1817
1917
|
[key: string]: unknown;
|
1818
1918
|
} | undefined;
|
1819
1919
|
}) | ({
|
1820
|
-
type: "
|
1821
|
-
value:
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
} | undefined;
|
1831
|
-
onSend?: string | undefined;
|
1832
|
-
onSuccess?: string | undefined;
|
1833
|
-
onError?: string | undefined;
|
1834
|
-
};
|
1920
|
+
type: "helpdoc";
|
1921
|
+
value: string;
|
1922
|
+
} & {
|
1923
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1924
|
+
doc_metadata?: {
|
1925
|
+
content_type?: string | undefined;
|
1926
|
+
date?: string | undefined;
|
1927
|
+
} | undefined;
|
1928
|
+
} & {
|
1929
|
+
doc_type?: "answer" | "doc" | undefined;
|
1835
1930
|
} & {} & {
|
1836
1931
|
commandType?: "object" | "help" | "independent" | undefined;
|
1837
1932
|
object?: string | undefined;
|
1838
1933
|
hoverTooltip?: boolean | undefined;
|
1839
|
-
operation?: "self" | "router" | "
|
1934
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1840
1935
|
metadata?: {
|
1841
1936
|
[key: string]: unknown;
|
1842
1937
|
} | undefined;
|
1843
1938
|
}) | ({
|
1844
|
-
type: "
|
1939
|
+
type: "admin";
|
1845
1940
|
value: string;
|
1846
1941
|
} & {} & {
|
1847
1942
|
commandType?: "object" | "help" | "independent" | undefined;
|
1848
1943
|
object?: string | undefined;
|
1849
1944
|
hoverTooltip?: boolean | undefined;
|
1850
|
-
operation?: "self" | "router" | "
|
1945
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1851
1946
|
metadata?: {
|
1852
1947
|
[key: string]: unknown;
|
1853
1948
|
} | undefined;
|
1854
1949
|
}) | ({
|
1855
|
-
type: "
|
1950
|
+
type: "builtin";
|
1856
1951
|
value: string;
|
1857
1952
|
} & {} & {
|
1858
1953
|
commandType?: "object" | "help" | "independent" | undefined;
|
1859
1954
|
object?: string | undefined;
|
1860
1955
|
hoverTooltip?: boolean | undefined;
|
1861
|
-
operation?: "self" | "router" | "
|
1956
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1862
1957
|
metadata?: {
|
1863
1958
|
[key: string]: unknown;
|
1864
1959
|
} | undefined;
|
1865
1960
|
}) | ({
|
1866
|
-
type: "
|
1961
|
+
type: "script";
|
1867
1962
|
value: string;
|
1868
1963
|
} & {} & {
|
1869
1964
|
commandType?: "object" | "help" | "independent" | undefined;
|
1870
1965
|
object?: string | undefined;
|
1871
1966
|
hoverTooltip?: boolean | undefined;
|
1872
|
-
operation?: "self" | "router" | "
|
1967
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1873
1968
|
metadata?: {
|
1874
1969
|
[key: string]: unknown;
|
1875
1970
|
} | undefined;
|
1876
1971
|
}) | ({
|
1877
|
-
type: "
|
1972
|
+
type: "video";
|
1878
1973
|
value: string;
|
1879
|
-
} & {
|
1880
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1881
|
-
doc_metadata?: {
|
1882
|
-
content_type?: string | undefined;
|
1883
|
-
date?: string | undefined;
|
1884
|
-
} | undefined;
|
1885
|
-
} & {
|
1886
|
-
doc_type?: "answer" | "doc" | undefined;
|
1887
1974
|
} & {} & {
|
1888
1975
|
commandType?: "object" | "help" | "independent" | undefined;
|
1889
1976
|
object?: string | undefined;
|
1890
1977
|
hoverTooltip?: boolean | undefined;
|
1891
|
-
operation?: "self" | "router" | "
|
1978
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1892
1979
|
metadata?: {
|
1893
1980
|
[key: string]: unknown;
|
1894
1981
|
} | undefined;
|
1895
1982
|
}) | ({
|
1896
1983
|
type: "trigger";
|
1897
|
-
value: {
|
1984
|
+
value: ({
|
1985
|
+
type: "link";
|
1986
|
+
value: string;
|
1987
|
+
} & {
|
1988
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1989
|
+
meta?: {
|
1990
|
+
command: string;
|
1991
|
+
} | undefined;
|
1992
|
+
}) | {
|
1993
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1994
|
+
value: string[];
|
1995
|
+
} | {
|
1898
1996
|
type: "execute_command";
|
1899
1997
|
meta: {
|
1900
1998
|
command: string;
|
1901
1999
|
} & {
|
1902
2000
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1903
2001
|
};
|
2002
|
+
} | {
|
2003
|
+
type: "no_action";
|
1904
2004
|
} | {
|
1905
2005
|
type: "click";
|
1906
2006
|
value: string;
|
1907
2007
|
} | {
|
1908
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1909
|
-
value: string[];
|
1910
|
-
} | ({
|
1911
|
-
type: "link";
|
1912
|
-
value: string;
|
1913
|
-
} & {
|
1914
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1915
|
-
meta?: {
|
1916
|
-
command: string;
|
1917
|
-
} | undefined;
|
1918
|
-
}) | {
|
1919
2008
|
type: "open_chat";
|
1920
2009
|
meta: {
|
1921
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2010
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2011
|
+
};
|
2012
|
+
} | {
|
2013
|
+
type: "chat_handoff";
|
2014
|
+
meta: {
|
2015
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1922
2016
|
};
|
1923
2017
|
} | {
|
1924
2018
|
type: "dismiss";
|
@@ -1927,14 +2021,14 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1927
2021
|
} | {
|
1928
2022
|
type: "questlist";
|
1929
2023
|
value: number;
|
1930
|
-
} | {
|
1931
|
-
type: "step_back";
|
1932
2024
|
} | {
|
1933
2025
|
type: "nudge";
|
1934
2026
|
value: number;
|
1935
2027
|
} | {
|
1936
2028
|
type: "go_to_step";
|
1937
2029
|
value: number;
|
2030
|
+
} | {
|
2031
|
+
type: "step_back";
|
1938
2032
|
} | ({
|
1939
2033
|
type: "open_bar";
|
1940
2034
|
} & {
|
@@ -1942,16 +2036,16 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1942
2036
|
categoryFilter?: number | undefined;
|
1943
2037
|
}) | {
|
1944
2038
|
type: "open_helphub";
|
1945
|
-
} | {
|
2039
|
+
} | ({
|
1946
2040
|
type: "open_copilot";
|
1947
|
-
}
|
1948
|
-
|
1949
|
-
};
|
2041
|
+
} & {
|
2042
|
+
query?: string | undefined;
|
2043
|
+
});
|
1950
2044
|
} & {} & {
|
1951
2045
|
commandType?: "object" | "help" | "independent" | undefined;
|
1952
2046
|
object?: string | undefined;
|
1953
2047
|
hoverTooltip?: boolean | undefined;
|
1954
|
-
operation?: "self" | "router" | "
|
2048
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1955
2049
|
metadata?: {
|
1956
2050
|
[key: string]: unknown;
|
1957
2051
|
} | undefined;
|
@@ -2044,8 +2138,8 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2044
2138
|
};
|
2045
2139
|
tags: string[];
|
2046
2140
|
availability_rules: (({
|
2047
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2048
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2141
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2142
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2049
2143
|
} & {
|
2050
2144
|
field?: string | undefined;
|
2051
2145
|
value?: string | undefined;
|
@@ -2054,14 +2148,14 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2054
2148
|
}) | ({
|
2055
2149
|
type: "nudge_interaction";
|
2056
2150
|
operator: "is" | "isNot";
|
2057
|
-
value: "completed" | "
|
2151
|
+
value: "completed" | "viewed" | "dismissed";
|
2058
2152
|
nudge_id: number;
|
2059
2153
|
} & {
|
2060
2154
|
reason?: string | undefined;
|
2061
2155
|
}) | ({
|
2062
2156
|
type: "questlist_interaction";
|
2063
2157
|
operator: "is" | "isNot";
|
2064
|
-
value: "completed" | "
|
2158
|
+
value: "completed" | "viewed" | "dismissed";
|
2065
2159
|
questlist_id: number;
|
2066
2160
|
} & {
|
2067
2161
|
reason?: string | undefined;
|
@@ -2073,8 +2167,8 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2073
2167
|
reason?: string | undefined;
|
2074
2168
|
}))[];
|
2075
2169
|
recommend_rules: (({
|
2076
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2077
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2170
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2171
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2078
2172
|
} & {
|
2079
2173
|
field?: string | undefined;
|
2080
2174
|
value?: string | undefined;
|
@@ -2083,14 +2177,14 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2083
2177
|
}) | ({
|
2084
2178
|
type: "nudge_interaction";
|
2085
2179
|
operator: "is" | "isNot";
|
2086
|
-
value: "completed" | "
|
2180
|
+
value: "completed" | "viewed" | "dismissed";
|
2087
2181
|
nudge_id: number;
|
2088
2182
|
} & {
|
2089
2183
|
reason?: string | undefined;
|
2090
2184
|
}) | ({
|
2091
2185
|
type: "questlist_interaction";
|
2092
2186
|
operator: "is" | "isNot";
|
2093
|
-
value: "completed" | "
|
2187
|
+
value: "completed" | "viewed" | "dismissed";
|
2094
2188
|
questlist_id: number;
|
2095
2189
|
} & {
|
2096
2190
|
reason?: string | undefined;
|
@@ -2157,23 +2251,23 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2157
2251
|
hotkey_mac: string;
|
2158
2252
|
hotkey_win: string;
|
2159
2253
|
detail: string | ({
|
2160
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2254
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2161
2255
|
value: string;
|
2162
2256
|
} & {
|
2163
2257
|
position?: "inline" | "popover" | undefined;
|
2164
2258
|
}) | (string | ({
|
2165
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2259
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2166
2260
|
value: string;
|
2167
2261
|
} & {
|
2168
2262
|
position?: "inline" | "popover" | undefined;
|
2169
2263
|
}))[] | null;
|
2170
2264
|
content: string | ({
|
2171
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2265
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2172
2266
|
value: string;
|
2173
2267
|
} & {
|
2174
2268
|
position?: "inline" | "popover" | undefined;
|
2175
2269
|
}) | (string | ({
|
2176
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2270
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2177
2271
|
value: string;
|
2178
2272
|
} & {
|
2179
2273
|
position?: "inline" | "popover" | undefined;
|
@@ -2181,31 +2275,38 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2181
2275
|
show_preview: boolean;
|
2182
2276
|
next_steps: (string | number | {
|
2183
2277
|
cta: string;
|
2184
|
-
action: {
|
2278
|
+
action: ({
|
2279
|
+
type: "link";
|
2280
|
+
value: string;
|
2281
|
+
} & {
|
2282
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2283
|
+
meta?: {
|
2284
|
+
command: string;
|
2285
|
+
} | undefined;
|
2286
|
+
}) | {
|
2287
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2288
|
+
value: string[];
|
2289
|
+
} | {
|
2185
2290
|
type: "execute_command";
|
2186
2291
|
meta: {
|
2187
2292
|
command: string;
|
2188
2293
|
} & {
|
2189
2294
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2190
2295
|
};
|
2296
|
+
} | {
|
2297
|
+
type: "no_action";
|
2191
2298
|
} | {
|
2192
2299
|
type: "click";
|
2193
2300
|
value: string;
|
2194
2301
|
} | {
|
2195
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2196
|
-
value: string[];
|
2197
|
-
} | ({
|
2198
|
-
type: "link";
|
2199
|
-
value: string;
|
2200
|
-
} & {
|
2201
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2202
|
-
meta?: {
|
2203
|
-
command: string;
|
2204
|
-
} | undefined;
|
2205
|
-
}) | {
|
2206
2302
|
type: "open_chat";
|
2207
2303
|
meta: {
|
2208
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2304
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2305
|
+
};
|
2306
|
+
} | {
|
2307
|
+
type: "chat_handoff";
|
2308
|
+
meta: {
|
2309
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2209
2310
|
};
|
2210
2311
|
} | {
|
2211
2312
|
type: "dismiss";
|
@@ -2214,14 +2315,14 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2214
2315
|
} | {
|
2215
2316
|
type: "questlist";
|
2216
2317
|
value: number;
|
2217
|
-
} | {
|
2218
|
-
type: "step_back";
|
2219
2318
|
} | {
|
2220
2319
|
type: "nudge";
|
2221
2320
|
value: number;
|
2222
2321
|
} | {
|
2223
2322
|
type: "go_to_step";
|
2224
2323
|
value: number;
|
2324
|
+
} | {
|
2325
|
+
type: "step_back";
|
2225
2326
|
} | ({
|
2226
2327
|
type: "open_bar";
|
2227
2328
|
} & {
|
@@ -2229,11 +2330,11 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2229
2330
|
categoryFilter?: number | undefined;
|
2230
2331
|
}) | {
|
2231
2332
|
type: "open_helphub";
|
2232
|
-
} | {
|
2333
|
+
} | ({
|
2233
2334
|
type: "open_copilot";
|
2234
|
-
}
|
2235
|
-
|
2236
|
-
};
|
2335
|
+
} & {
|
2336
|
+
query?: string | undefined;
|
2337
|
+
});
|
2237
2338
|
})[];
|
2238
2339
|
extra: string | null;
|
2239
2340
|
thumbnail: {
|
@@ -2274,40 +2375,40 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2274
2375
|
id: number;
|
2275
2376
|
text: string;
|
2276
2377
|
template: ({
|
2277
|
-
type: "
|
2378
|
+
type: "callback";
|
2278
2379
|
value: string;
|
2279
2380
|
} & {} & {
|
2280
2381
|
commandType?: "object" | "help" | "independent" | undefined;
|
2281
2382
|
object?: string | undefined;
|
2282
2383
|
hoverTooltip?: boolean | undefined;
|
2283
|
-
operation?: "self" | "router" | "
|
2384
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2284
2385
|
metadata?: {
|
2285
2386
|
[key: string]: unknown;
|
2286
2387
|
} | undefined;
|
2287
2388
|
}) | ({
|
2288
|
-
type: "
|
2389
|
+
type: "link";
|
2289
2390
|
value: string;
|
2391
|
+
} & {
|
2392
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2393
|
+
meta?: {
|
2394
|
+
command: string;
|
2395
|
+
} | undefined;
|
2290
2396
|
} & {} & {
|
2291
2397
|
commandType?: "object" | "help" | "independent" | undefined;
|
2292
2398
|
object?: string | undefined;
|
2293
2399
|
hoverTooltip?: boolean | undefined;
|
2294
|
-
operation?: "self" | "router" | "
|
2400
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2295
2401
|
metadata?: {
|
2296
2402
|
[key: string]: unknown;
|
2297
2403
|
} | undefined;
|
2298
2404
|
}) | ({
|
2299
|
-
type: "
|
2405
|
+
type: "webhook";
|
2300
2406
|
value: string;
|
2301
|
-
} & {
|
2302
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2303
|
-
meta?: {
|
2304
|
-
command: string;
|
2305
|
-
} | undefined;
|
2306
2407
|
} & {} & {
|
2307
2408
|
commandType?: "object" | "help" | "independent" | undefined;
|
2308
2409
|
object?: string | undefined;
|
2309
2410
|
hoverTooltip?: boolean | undefined;
|
2310
|
-
operation?: "self" | "router" | "
|
2411
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2311
2412
|
metadata?: {
|
2312
2413
|
[key: string]: unknown;
|
2313
2414
|
} | undefined;
|
@@ -2318,146 +2419,153 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2318
2419
|
commandType?: "object" | "help" | "independent" | undefined;
|
2319
2420
|
object?: string | undefined;
|
2320
2421
|
hoverTooltip?: boolean | undefined;
|
2321
|
-
operation?: "self" | "router" | "
|
2422
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2322
2423
|
metadata?: {
|
2323
2424
|
[key: string]: unknown;
|
2324
2425
|
} | undefined;
|
2325
2426
|
}) | ({
|
2326
|
-
type: "
|
2327
|
-
value:
|
2427
|
+
type: "request";
|
2428
|
+
value: {
|
2429
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
2430
|
+
url: string;
|
2431
|
+
} & {
|
2432
|
+
headers?: {
|
2433
|
+
[key: string]: unknown;
|
2434
|
+
} | undefined;
|
2435
|
+
body?: {
|
2436
|
+
[key: string]: unknown;
|
2437
|
+
} | undefined;
|
2438
|
+
onSend?: string | undefined;
|
2439
|
+
onSuccess?: string | undefined;
|
2440
|
+
onError?: string | undefined;
|
2441
|
+
};
|
2328
2442
|
} & {} & {
|
2329
2443
|
commandType?: "object" | "help" | "independent" | undefined;
|
2330
2444
|
object?: string | undefined;
|
2331
2445
|
hoverTooltip?: boolean | undefined;
|
2332
|
-
operation?: "self" | "router" | "
|
2446
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2333
2447
|
metadata?: {
|
2334
2448
|
[key: string]: unknown;
|
2335
2449
|
} | undefined;
|
2336
2450
|
}) | ({
|
2337
|
-
type: "
|
2451
|
+
type: "appcues";
|
2338
2452
|
value: string;
|
2339
2453
|
} & {} & {
|
2340
2454
|
commandType?: "object" | "help" | "independent" | undefined;
|
2341
2455
|
object?: string | undefined;
|
2342
2456
|
hoverTooltip?: boolean | undefined;
|
2343
|
-
operation?: "self" | "router" | "
|
2457
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2344
2458
|
metadata?: {
|
2345
2459
|
[key: string]: unknown;
|
2346
2460
|
} | undefined;
|
2347
2461
|
}) | ({
|
2348
|
-
type: "
|
2462
|
+
type: "pendo_guide";
|
2349
2463
|
value: string;
|
2350
2464
|
} & {} & {
|
2351
2465
|
commandType?: "object" | "help" | "independent" | undefined;
|
2352
2466
|
object?: string | undefined;
|
2353
2467
|
hoverTooltip?: boolean | undefined;
|
2354
|
-
operation?: "self" | "router" | "
|
2468
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2355
2469
|
metadata?: {
|
2356
2470
|
[key: string]: unknown;
|
2357
2471
|
} | undefined;
|
2358
2472
|
}) | ({
|
2359
|
-
type: "
|
2360
|
-
value:
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
|
2369
|
-
} | undefined;
|
2370
|
-
onSend?: string | undefined;
|
2371
|
-
onSuccess?: string | undefined;
|
2372
|
-
onError?: string | undefined;
|
2373
|
-
};
|
2473
|
+
type: "helpdoc";
|
2474
|
+
value: string;
|
2475
|
+
} & {
|
2476
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2477
|
+
doc_metadata?: {
|
2478
|
+
content_type?: string | undefined;
|
2479
|
+
date?: string | undefined;
|
2480
|
+
} | undefined;
|
2481
|
+
} & {
|
2482
|
+
doc_type?: "answer" | "doc" | undefined;
|
2374
2483
|
} & {} & {
|
2375
2484
|
commandType?: "object" | "help" | "independent" | undefined;
|
2376
2485
|
object?: string | undefined;
|
2377
2486
|
hoverTooltip?: boolean | undefined;
|
2378
|
-
operation?: "self" | "router" | "
|
2487
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2379
2488
|
metadata?: {
|
2380
2489
|
[key: string]: unknown;
|
2381
2490
|
} | undefined;
|
2382
2491
|
}) | ({
|
2383
|
-
type: "
|
2492
|
+
type: "admin";
|
2384
2493
|
value: string;
|
2385
2494
|
} & {} & {
|
2386
2495
|
commandType?: "object" | "help" | "independent" | undefined;
|
2387
2496
|
object?: string | undefined;
|
2388
2497
|
hoverTooltip?: boolean | undefined;
|
2389
|
-
operation?: "self" | "router" | "
|
2498
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2390
2499
|
metadata?: {
|
2391
2500
|
[key: string]: unknown;
|
2392
2501
|
} | undefined;
|
2393
2502
|
}) | ({
|
2394
|
-
type: "
|
2503
|
+
type: "builtin";
|
2395
2504
|
value: string;
|
2396
2505
|
} & {} & {
|
2397
2506
|
commandType?: "object" | "help" | "independent" | undefined;
|
2398
2507
|
object?: string | undefined;
|
2399
2508
|
hoverTooltip?: boolean | undefined;
|
2400
|
-
operation?: "self" | "router" | "
|
2509
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2401
2510
|
metadata?: {
|
2402
2511
|
[key: string]: unknown;
|
2403
2512
|
} | undefined;
|
2404
2513
|
}) | ({
|
2405
|
-
type: "
|
2514
|
+
type: "script";
|
2406
2515
|
value: string;
|
2407
2516
|
} & {} & {
|
2408
2517
|
commandType?: "object" | "help" | "independent" | undefined;
|
2409
2518
|
object?: string | undefined;
|
2410
2519
|
hoverTooltip?: boolean | undefined;
|
2411
|
-
operation?: "self" | "router" | "
|
2520
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2412
2521
|
metadata?: {
|
2413
2522
|
[key: string]: unknown;
|
2414
2523
|
} | undefined;
|
2415
2524
|
}) | ({
|
2416
|
-
type: "
|
2525
|
+
type: "video";
|
2417
2526
|
value: string;
|
2418
|
-
} & {
|
2419
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
2420
|
-
doc_metadata?: {
|
2421
|
-
content_type?: string | undefined;
|
2422
|
-
date?: string | undefined;
|
2423
|
-
} | undefined;
|
2424
|
-
} & {
|
2425
|
-
doc_type?: "answer" | "doc" | undefined;
|
2426
2527
|
} & {} & {
|
2427
2528
|
commandType?: "object" | "help" | "independent" | undefined;
|
2428
2529
|
object?: string | undefined;
|
2429
2530
|
hoverTooltip?: boolean | undefined;
|
2430
|
-
operation?: "self" | "router" | "
|
2531
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2431
2532
|
metadata?: {
|
2432
2533
|
[key: string]: unknown;
|
2433
2534
|
} | undefined;
|
2434
2535
|
}) | ({
|
2435
2536
|
type: "trigger";
|
2436
|
-
value: {
|
2537
|
+
value: ({
|
2538
|
+
type: "link";
|
2539
|
+
value: string;
|
2540
|
+
} & {
|
2541
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2542
|
+
meta?: {
|
2543
|
+
command: string;
|
2544
|
+
} | undefined;
|
2545
|
+
}) | {
|
2546
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2547
|
+
value: string[];
|
2548
|
+
} | {
|
2437
2549
|
type: "execute_command";
|
2438
2550
|
meta: {
|
2439
2551
|
command: string;
|
2440
2552
|
} & {
|
2441
2553
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2442
2554
|
};
|
2555
|
+
} | {
|
2556
|
+
type: "no_action";
|
2443
2557
|
} | {
|
2444
2558
|
type: "click";
|
2445
2559
|
value: string;
|
2446
2560
|
} | {
|
2447
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2448
|
-
value: string[];
|
2449
|
-
} | ({
|
2450
|
-
type: "link";
|
2451
|
-
value: string;
|
2452
|
-
} & {
|
2453
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2454
|
-
meta?: {
|
2455
|
-
command: string;
|
2456
|
-
} | undefined;
|
2457
|
-
}) | {
|
2458
2561
|
type: "open_chat";
|
2459
2562
|
meta: {
|
2460
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2563
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2564
|
+
};
|
2565
|
+
} | {
|
2566
|
+
type: "chat_handoff";
|
2567
|
+
meta: {
|
2568
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2461
2569
|
};
|
2462
2570
|
} | {
|
2463
2571
|
type: "dismiss";
|
@@ -2466,14 +2574,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2466
2574
|
} | {
|
2467
2575
|
type: "questlist";
|
2468
2576
|
value: number;
|
2469
|
-
} | {
|
2470
|
-
type: "step_back";
|
2471
2577
|
} | {
|
2472
2578
|
type: "nudge";
|
2473
2579
|
value: number;
|
2474
2580
|
} | {
|
2475
2581
|
type: "go_to_step";
|
2476
2582
|
value: number;
|
2583
|
+
} | {
|
2584
|
+
type: "step_back";
|
2477
2585
|
} | ({
|
2478
2586
|
type: "open_bar";
|
2479
2587
|
} & {
|
@@ -2481,16 +2589,16 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2481
2589
|
categoryFilter?: number | undefined;
|
2482
2590
|
}) | {
|
2483
2591
|
type: "open_helphub";
|
2484
|
-
} | {
|
2592
|
+
} | ({
|
2485
2593
|
type: "open_copilot";
|
2486
|
-
}
|
2487
|
-
|
2488
|
-
};
|
2594
|
+
} & {
|
2595
|
+
query?: string | undefined;
|
2596
|
+
});
|
2489
2597
|
} & {} & {
|
2490
2598
|
commandType?: "object" | "help" | "independent" | undefined;
|
2491
2599
|
object?: string | undefined;
|
2492
2600
|
hoverTooltip?: boolean | undefined;
|
2493
|
-
operation?: "self" | "router" | "
|
2601
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2494
2602
|
metadata?: {
|
2495
2603
|
[key: string]: unknown;
|
2496
2604
|
} | undefined;
|
@@ -2583,8 +2691,8 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2583
2691
|
};
|
2584
2692
|
tags: string[];
|
2585
2693
|
availability_rules: (({
|
2586
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2587
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2694
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2695
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2588
2696
|
} & {
|
2589
2697
|
field?: string | undefined;
|
2590
2698
|
value?: string | undefined;
|
@@ -2593,14 +2701,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2593
2701
|
}) | ({
|
2594
2702
|
type: "nudge_interaction";
|
2595
2703
|
operator: "is" | "isNot";
|
2596
|
-
value: "completed" | "
|
2704
|
+
value: "completed" | "viewed" | "dismissed";
|
2597
2705
|
nudge_id: number;
|
2598
2706
|
} & {
|
2599
2707
|
reason?: string | undefined;
|
2600
2708
|
}) | ({
|
2601
2709
|
type: "questlist_interaction";
|
2602
2710
|
operator: "is" | "isNot";
|
2603
|
-
value: "completed" | "
|
2711
|
+
value: "completed" | "viewed" | "dismissed";
|
2604
2712
|
questlist_id: number;
|
2605
2713
|
} & {
|
2606
2714
|
reason?: string | undefined;
|
@@ -2611,13 +2719,8 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2611
2719
|
} & {
|
2612
2720
|
reason?: string | undefined;
|
2613
2721
|
}))[] | (({
|
2614
|
-
type: "
|
2615
|
-
|
2616
|
-
} & {
|
2617
|
-
reason?: string | undefined;
|
2618
|
-
}) | ({
|
2619
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2620
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2722
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2723
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2621
2724
|
} & {
|
2622
2725
|
field?: string | undefined;
|
2623
2726
|
value?: string | undefined;
|
@@ -2626,14 +2729,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2626
2729
|
}) | ({
|
2627
2730
|
type: "nudge_interaction";
|
2628
2731
|
operator: "is" | "isNot";
|
2629
|
-
value: "completed" | "
|
2732
|
+
value: "completed" | "viewed" | "dismissed";
|
2630
2733
|
nudge_id: number;
|
2631
2734
|
} & {
|
2632
2735
|
reason?: string | undefined;
|
2633
2736
|
}) | ({
|
2634
2737
|
type: "questlist_interaction";
|
2635
2738
|
operator: "is" | "isNot";
|
2636
|
-
value: "completed" | "
|
2739
|
+
value: "completed" | "viewed" | "dismissed";
|
2637
2740
|
questlist_id: number;
|
2638
2741
|
} & {
|
2639
2742
|
reason?: string | undefined;
|
@@ -2643,10 +2746,15 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2643
2746
|
values: string[];
|
2644
2747
|
} & {
|
2645
2748
|
reason?: string | undefined;
|
2749
|
+
}) | ({
|
2750
|
+
type: "named_rule";
|
2751
|
+
rule_id: string | number;
|
2752
|
+
} & {
|
2753
|
+
reason?: string | undefined;
|
2646
2754
|
}))[];
|
2647
2755
|
recommend_rules: (({
|
2648
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2649
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2756
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2757
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2650
2758
|
} & {
|
2651
2759
|
field?: string | undefined;
|
2652
2760
|
value?: string | undefined;
|
@@ -2655,14 +2763,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2655
2763
|
}) | ({
|
2656
2764
|
type: "nudge_interaction";
|
2657
2765
|
operator: "is" | "isNot";
|
2658
|
-
value: "completed" | "
|
2766
|
+
value: "completed" | "viewed" | "dismissed";
|
2659
2767
|
nudge_id: number;
|
2660
2768
|
} & {
|
2661
2769
|
reason?: string | undefined;
|
2662
2770
|
}) | ({
|
2663
2771
|
type: "questlist_interaction";
|
2664
2772
|
operator: "is" | "isNot";
|
2665
|
-
value: "completed" | "
|
2773
|
+
value: "completed" | "viewed" | "dismissed";
|
2666
2774
|
questlist_id: number;
|
2667
2775
|
} & {
|
2668
2776
|
reason?: string | undefined;
|
@@ -2681,13 +2789,8 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2681
2789
|
reason?: null | undefined;
|
2682
2790
|
rule_id?: string | number | undefined;
|
2683
2791
|
}))[] | (({
|
2684
|
-
type: "
|
2685
|
-
|
2686
|
-
} & {
|
2687
|
-
reason?: string | undefined;
|
2688
|
-
}) | ({
|
2689
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2690
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2792
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2793
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2691
2794
|
} & {
|
2692
2795
|
field?: string | undefined;
|
2693
2796
|
value?: string | undefined;
|
@@ -2696,14 +2799,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2696
2799
|
}) | ({
|
2697
2800
|
type: "nudge_interaction";
|
2698
2801
|
operator: "is" | "isNot";
|
2699
|
-
value: "completed" | "
|
2802
|
+
value: "completed" | "viewed" | "dismissed";
|
2700
2803
|
nudge_id: number;
|
2701
2804
|
} & {
|
2702
2805
|
reason?: string | undefined;
|
2703
2806
|
}) | ({
|
2704
2807
|
type: "questlist_interaction";
|
2705
2808
|
operator: "is" | "isNot";
|
2706
|
-
value: "completed" | "
|
2809
|
+
value: "completed" | "viewed" | "dismissed";
|
2707
2810
|
questlist_id: number;
|
2708
2811
|
} & {
|
2709
2812
|
reason?: string | undefined;
|
@@ -2721,6 +2824,11 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2721
2824
|
value?: null | undefined;
|
2722
2825
|
reason?: null | undefined;
|
2723
2826
|
rule_id?: string | number | undefined;
|
2827
|
+
}) | ({
|
2828
|
+
type: "named_rule";
|
2829
|
+
rule_id: string | number;
|
2830
|
+
} & {
|
2831
|
+
reason?: string | undefined;
|
2724
2832
|
}))[];
|
2725
2833
|
availability_expression: import("./helpers/rules").RuleExpression;
|
2726
2834
|
recommend_expression: import("./helpers/rules").RuleExpression;
|
@@ -2756,23 +2864,23 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2756
2864
|
hotkey_mac: string;
|
2757
2865
|
hotkey_win: string;
|
2758
2866
|
detail: string | ({
|
2759
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2867
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2760
2868
|
value: string;
|
2761
2869
|
} & {
|
2762
2870
|
position?: "inline" | "popover" | undefined;
|
2763
2871
|
}) | (string | ({
|
2764
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2872
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2765
2873
|
value: string;
|
2766
2874
|
} & {
|
2767
2875
|
position?: "inline" | "popover" | undefined;
|
2768
2876
|
}))[] | null;
|
2769
2877
|
content: string | ({
|
2770
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2878
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2771
2879
|
value: string;
|
2772
2880
|
} & {
|
2773
2881
|
position?: "inline" | "popover" | undefined;
|
2774
2882
|
}) | (string | ({
|
2775
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2883
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2776
2884
|
value: string;
|
2777
2885
|
} & {
|
2778
2886
|
position?: "inline" | "popover" | undefined;
|
@@ -2785,31 +2893,38 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2785
2893
|
} | null;
|
2786
2894
|
next_steps: (string | number | {
|
2787
2895
|
cta: string;
|
2788
|
-
action: {
|
2896
|
+
action: ({
|
2897
|
+
type: "link";
|
2898
|
+
value: string;
|
2899
|
+
} & {
|
2900
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2901
|
+
meta?: {
|
2902
|
+
command: string;
|
2903
|
+
} | undefined;
|
2904
|
+
}) | {
|
2905
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2906
|
+
value: string[];
|
2907
|
+
} | {
|
2789
2908
|
type: "execute_command";
|
2790
2909
|
meta: {
|
2791
2910
|
command: string;
|
2792
2911
|
} & {
|
2793
2912
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2794
2913
|
};
|
2914
|
+
} | {
|
2915
|
+
type: "no_action";
|
2795
2916
|
} | {
|
2796
2917
|
type: "click";
|
2797
2918
|
value: string;
|
2798
2919
|
} | {
|
2799
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2800
|
-
value: string[];
|
2801
|
-
} | ({
|
2802
|
-
type: "link";
|
2803
|
-
value: string;
|
2804
|
-
} & {
|
2805
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2806
|
-
meta?: {
|
2807
|
-
command: string;
|
2808
|
-
} | undefined;
|
2809
|
-
}) | {
|
2810
2920
|
type: "open_chat";
|
2811
2921
|
meta: {
|
2812
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2922
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2923
|
+
};
|
2924
|
+
} | {
|
2925
|
+
type: "chat_handoff";
|
2926
|
+
meta: {
|
2927
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2813
2928
|
};
|
2814
2929
|
} | {
|
2815
2930
|
type: "dismiss";
|
@@ -2818,14 +2933,14 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2818
2933
|
} | {
|
2819
2934
|
type: "questlist";
|
2820
2935
|
value: number;
|
2821
|
-
} | {
|
2822
|
-
type: "step_back";
|
2823
2936
|
} | {
|
2824
2937
|
type: "nudge";
|
2825
2938
|
value: number;
|
2826
2939
|
} | {
|
2827
2940
|
type: "go_to_step";
|
2828
2941
|
value: number;
|
2942
|
+
} | {
|
2943
|
+
type: "step_back";
|
2829
2944
|
} | ({
|
2830
2945
|
type: "open_bar";
|
2831
2946
|
} & {
|
@@ -2833,11 +2948,11 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2833
2948
|
categoryFilter?: number | undefined;
|
2834
2949
|
}) | {
|
2835
2950
|
type: "open_helphub";
|
2836
|
-
} | {
|
2837
|
-
type: "open_copilot";
|
2838
|
-
}
|
2839
|
-
|
2840
|
-
};
|
2951
|
+
} | ({
|
2952
|
+
type: "open_copilot";
|
2953
|
+
} & {
|
2954
|
+
query?: string | undefined;
|
2955
|
+
});
|
2841
2956
|
})[];
|
2842
2957
|
generated_tags: {
|
2843
2958
|
automated?: string[] | null | undefined;
|
@@ -2851,6 +2966,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2851
2966
|
copilot_description: string;
|
2852
2967
|
copilot_use_verbatim: boolean;
|
2853
2968
|
editor_tags: string[];
|
2969
|
+
labels: string[] | null;
|
2854
2970
|
} & {
|
2855
2971
|
third_party_source?: string | null | undefined;
|
2856
2972
|
third_party_id?: string | null | undefined;
|
@@ -2878,40 +2994,40 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2878
2994
|
id: number;
|
2879
2995
|
text: string;
|
2880
2996
|
template: ({
|
2881
|
-
type: "
|
2997
|
+
type: "callback";
|
2882
2998
|
value: string;
|
2883
2999
|
} & {} & {
|
2884
3000
|
commandType?: "object" | "help" | "independent" | undefined;
|
2885
3001
|
object?: string | undefined;
|
2886
3002
|
hoverTooltip?: boolean | undefined;
|
2887
|
-
operation?: "self" | "router" | "
|
3003
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2888
3004
|
metadata?: {
|
2889
3005
|
[key: string]: unknown;
|
2890
3006
|
} | undefined;
|
2891
3007
|
}) | ({
|
2892
|
-
type: "
|
3008
|
+
type: "link";
|
2893
3009
|
value: string;
|
3010
|
+
} & {
|
3011
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3012
|
+
meta?: {
|
3013
|
+
command: string;
|
3014
|
+
} | undefined;
|
2894
3015
|
} & {} & {
|
2895
3016
|
commandType?: "object" | "help" | "independent" | undefined;
|
2896
3017
|
object?: string | undefined;
|
2897
3018
|
hoverTooltip?: boolean | undefined;
|
2898
|
-
operation?: "self" | "router" | "
|
3019
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2899
3020
|
metadata?: {
|
2900
3021
|
[key: string]: unknown;
|
2901
3022
|
} | undefined;
|
2902
3023
|
}) | ({
|
2903
|
-
type: "
|
3024
|
+
type: "webhook";
|
2904
3025
|
value: string;
|
2905
|
-
} & {
|
2906
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2907
|
-
meta?: {
|
2908
|
-
command: string;
|
2909
|
-
} | undefined;
|
2910
3026
|
} & {} & {
|
2911
3027
|
commandType?: "object" | "help" | "independent" | undefined;
|
2912
3028
|
object?: string | undefined;
|
2913
3029
|
hoverTooltip?: boolean | undefined;
|
2914
|
-
operation?: "self" | "router" | "
|
3030
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2915
3031
|
metadata?: {
|
2916
3032
|
[key: string]: unknown;
|
2917
3033
|
} | undefined;
|
@@ -2922,146 +3038,153 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2922
3038
|
commandType?: "object" | "help" | "independent" | undefined;
|
2923
3039
|
object?: string | undefined;
|
2924
3040
|
hoverTooltip?: boolean | undefined;
|
2925
|
-
operation?: "self" | "router" | "
|
3041
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2926
3042
|
metadata?: {
|
2927
3043
|
[key: string]: unknown;
|
2928
3044
|
} | undefined;
|
2929
3045
|
}) | ({
|
2930
|
-
type: "
|
2931
|
-
value:
|
3046
|
+
type: "request";
|
3047
|
+
value: {
|
3048
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
3049
|
+
url: string;
|
3050
|
+
} & {
|
3051
|
+
headers?: {
|
3052
|
+
[key: string]: unknown;
|
3053
|
+
} | undefined;
|
3054
|
+
body?: {
|
3055
|
+
[key: string]: unknown;
|
3056
|
+
} | undefined;
|
3057
|
+
onSend?: string | undefined;
|
3058
|
+
onSuccess?: string | undefined;
|
3059
|
+
onError?: string | undefined;
|
3060
|
+
};
|
2932
3061
|
} & {} & {
|
2933
3062
|
commandType?: "object" | "help" | "independent" | undefined;
|
2934
3063
|
object?: string | undefined;
|
2935
3064
|
hoverTooltip?: boolean | undefined;
|
2936
|
-
operation?: "self" | "router" | "
|
3065
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2937
3066
|
metadata?: {
|
2938
3067
|
[key: string]: unknown;
|
2939
3068
|
} | undefined;
|
2940
3069
|
}) | ({
|
2941
|
-
type: "
|
3070
|
+
type: "appcues";
|
2942
3071
|
value: string;
|
2943
3072
|
} & {} & {
|
2944
3073
|
commandType?: "object" | "help" | "independent" | undefined;
|
2945
3074
|
object?: string | undefined;
|
2946
3075
|
hoverTooltip?: boolean | undefined;
|
2947
|
-
operation?: "self" | "router" | "
|
3076
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2948
3077
|
metadata?: {
|
2949
3078
|
[key: string]: unknown;
|
2950
3079
|
} | undefined;
|
2951
3080
|
}) | ({
|
2952
|
-
type: "
|
3081
|
+
type: "pendo_guide";
|
2953
3082
|
value: string;
|
2954
3083
|
} & {} & {
|
2955
3084
|
commandType?: "object" | "help" | "independent" | undefined;
|
2956
3085
|
object?: string | undefined;
|
2957
3086
|
hoverTooltip?: boolean | undefined;
|
2958
|
-
operation?: "self" | "router" | "
|
3087
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2959
3088
|
metadata?: {
|
2960
3089
|
[key: string]: unknown;
|
2961
3090
|
} | undefined;
|
2962
3091
|
}) | ({
|
2963
|
-
type: "
|
2964
|
-
value:
|
2965
|
-
|
2966
|
-
|
2967
|
-
|
2968
|
-
|
2969
|
-
|
2970
|
-
|
2971
|
-
|
2972
|
-
|
2973
|
-
} | undefined;
|
2974
|
-
onSend?: string | undefined;
|
2975
|
-
onSuccess?: string | undefined;
|
2976
|
-
onError?: string | undefined;
|
2977
|
-
};
|
3092
|
+
type: "helpdoc";
|
3093
|
+
value: string;
|
3094
|
+
} & {
|
3095
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3096
|
+
doc_metadata?: {
|
3097
|
+
content_type?: string | undefined;
|
3098
|
+
date?: string | undefined;
|
3099
|
+
} | undefined;
|
3100
|
+
} & {
|
3101
|
+
doc_type?: "answer" | "doc" | undefined;
|
2978
3102
|
} & {} & {
|
2979
3103
|
commandType?: "object" | "help" | "independent" | undefined;
|
2980
3104
|
object?: string | undefined;
|
2981
3105
|
hoverTooltip?: boolean | undefined;
|
2982
|
-
operation?: "self" | "router" | "
|
3106
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2983
3107
|
metadata?: {
|
2984
3108
|
[key: string]: unknown;
|
2985
3109
|
} | undefined;
|
2986
3110
|
}) | ({
|
2987
|
-
type: "
|
3111
|
+
type: "admin";
|
2988
3112
|
value: string;
|
2989
3113
|
} & {} & {
|
2990
3114
|
commandType?: "object" | "help" | "independent" | undefined;
|
2991
3115
|
object?: string | undefined;
|
2992
3116
|
hoverTooltip?: boolean | undefined;
|
2993
|
-
operation?: "self" | "router" | "
|
3117
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2994
3118
|
metadata?: {
|
2995
3119
|
[key: string]: unknown;
|
2996
3120
|
} | undefined;
|
2997
3121
|
}) | ({
|
2998
|
-
type: "
|
3122
|
+
type: "builtin";
|
2999
3123
|
value: string;
|
3000
3124
|
} & {} & {
|
3001
3125
|
commandType?: "object" | "help" | "independent" | undefined;
|
3002
3126
|
object?: string | undefined;
|
3003
3127
|
hoverTooltip?: boolean | undefined;
|
3004
|
-
operation?: "self" | "router" | "
|
3128
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3005
3129
|
metadata?: {
|
3006
3130
|
[key: string]: unknown;
|
3007
3131
|
} | undefined;
|
3008
3132
|
}) | ({
|
3009
|
-
type: "
|
3133
|
+
type: "script";
|
3010
3134
|
value: string;
|
3011
3135
|
} & {} & {
|
3012
3136
|
commandType?: "object" | "help" | "independent" | undefined;
|
3013
3137
|
object?: string | undefined;
|
3014
3138
|
hoverTooltip?: boolean | undefined;
|
3015
|
-
operation?: "self" | "router" | "
|
3139
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3016
3140
|
metadata?: {
|
3017
3141
|
[key: string]: unknown;
|
3018
3142
|
} | undefined;
|
3019
3143
|
}) | ({
|
3020
|
-
type: "
|
3144
|
+
type: "video";
|
3021
3145
|
value: string;
|
3022
|
-
} & {
|
3023
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
3024
|
-
doc_metadata?: {
|
3025
|
-
content_type?: string | undefined;
|
3026
|
-
date?: string | undefined;
|
3027
|
-
} | undefined;
|
3028
|
-
} & {
|
3029
|
-
doc_type?: "answer" | "doc" | undefined;
|
3030
3146
|
} & {} & {
|
3031
3147
|
commandType?: "object" | "help" | "independent" | undefined;
|
3032
3148
|
object?: string | undefined;
|
3033
3149
|
hoverTooltip?: boolean | undefined;
|
3034
|
-
operation?: "self" | "router" | "
|
3150
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3035
3151
|
metadata?: {
|
3036
3152
|
[key: string]: unknown;
|
3037
3153
|
} | undefined;
|
3038
3154
|
}) | ({
|
3039
3155
|
type: "trigger";
|
3040
|
-
value: {
|
3156
|
+
value: ({
|
3157
|
+
type: "link";
|
3158
|
+
value: string;
|
3159
|
+
} & {
|
3160
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3161
|
+
meta?: {
|
3162
|
+
command: string;
|
3163
|
+
} | undefined;
|
3164
|
+
}) | {
|
3165
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3166
|
+
value: string[];
|
3167
|
+
} | {
|
3041
3168
|
type: "execute_command";
|
3042
3169
|
meta: {
|
3043
3170
|
command: string;
|
3044
3171
|
} & {
|
3045
3172
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3046
3173
|
};
|
3174
|
+
} | {
|
3175
|
+
type: "no_action";
|
3047
3176
|
} | {
|
3048
3177
|
type: "click";
|
3049
3178
|
value: string;
|
3050
3179
|
} | {
|
3051
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3052
|
-
value: string[];
|
3053
|
-
} | ({
|
3054
|
-
type: "link";
|
3055
|
-
value: string;
|
3056
|
-
} & {
|
3057
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3058
|
-
meta?: {
|
3059
|
-
command: string;
|
3060
|
-
} | undefined;
|
3061
|
-
}) | {
|
3062
3180
|
type: "open_chat";
|
3063
3181
|
meta: {
|
3064
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3182
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3183
|
+
};
|
3184
|
+
} | {
|
3185
|
+
type: "chat_handoff";
|
3186
|
+
meta: {
|
3187
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3065
3188
|
};
|
3066
3189
|
} | {
|
3067
3190
|
type: "dismiss";
|
@@ -3070,14 +3193,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3070
3193
|
} | {
|
3071
3194
|
type: "questlist";
|
3072
3195
|
value: number;
|
3073
|
-
} | {
|
3074
|
-
type: "step_back";
|
3075
3196
|
} | {
|
3076
3197
|
type: "nudge";
|
3077
3198
|
value: number;
|
3078
3199
|
} | {
|
3079
3200
|
type: "go_to_step";
|
3080
3201
|
value: number;
|
3202
|
+
} | {
|
3203
|
+
type: "step_back";
|
3081
3204
|
} | ({
|
3082
3205
|
type: "open_bar";
|
3083
3206
|
} & {
|
@@ -3085,16 +3208,16 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3085
3208
|
categoryFilter?: number | undefined;
|
3086
3209
|
}) | {
|
3087
3210
|
type: "open_helphub";
|
3088
|
-
} | {
|
3211
|
+
} | ({
|
3089
3212
|
type: "open_copilot";
|
3090
|
-
}
|
3091
|
-
|
3092
|
-
};
|
3213
|
+
} & {
|
3214
|
+
query?: string | undefined;
|
3215
|
+
});
|
3093
3216
|
} & {} & {
|
3094
3217
|
commandType?: "object" | "help" | "independent" | undefined;
|
3095
3218
|
object?: string | undefined;
|
3096
3219
|
hoverTooltip?: boolean | undefined;
|
3097
|
-
operation?: "self" | "router" | "
|
3220
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3098
3221
|
metadata?: {
|
3099
3222
|
[key: string]: unknown;
|
3100
3223
|
} | undefined;
|
@@ -3187,8 +3310,8 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3187
3310
|
};
|
3188
3311
|
tags: string[];
|
3189
3312
|
availability_rules: (({
|
3190
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3191
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3313
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3314
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3192
3315
|
} & {
|
3193
3316
|
field?: string | undefined;
|
3194
3317
|
value?: string | undefined;
|
@@ -3197,14 +3320,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3197
3320
|
}) | ({
|
3198
3321
|
type: "nudge_interaction";
|
3199
3322
|
operator: "is" | "isNot";
|
3200
|
-
value: "completed" | "
|
3323
|
+
value: "completed" | "viewed" | "dismissed";
|
3201
3324
|
nudge_id: number;
|
3202
3325
|
} & {
|
3203
3326
|
reason?: string | undefined;
|
3204
3327
|
}) | ({
|
3205
3328
|
type: "questlist_interaction";
|
3206
3329
|
operator: "is" | "isNot";
|
3207
|
-
value: "completed" | "
|
3330
|
+
value: "completed" | "viewed" | "dismissed";
|
3208
3331
|
questlist_id: number;
|
3209
3332
|
} & {
|
3210
3333
|
reason?: string | undefined;
|
@@ -3215,13 +3338,8 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3215
3338
|
} & {
|
3216
3339
|
reason?: string | undefined;
|
3217
3340
|
}))[] | (({
|
3218
|
-
type: "
|
3219
|
-
|
3220
|
-
} & {
|
3221
|
-
reason?: string | undefined;
|
3222
|
-
}) | ({
|
3223
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3224
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3341
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3342
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3225
3343
|
} & {
|
3226
3344
|
field?: string | undefined;
|
3227
3345
|
value?: string | undefined;
|
@@ -3230,14 +3348,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3230
3348
|
}) | ({
|
3231
3349
|
type: "nudge_interaction";
|
3232
3350
|
operator: "is" | "isNot";
|
3233
|
-
value: "completed" | "
|
3351
|
+
value: "completed" | "viewed" | "dismissed";
|
3234
3352
|
nudge_id: number;
|
3235
3353
|
} & {
|
3236
3354
|
reason?: string | undefined;
|
3237
3355
|
}) | ({
|
3238
3356
|
type: "questlist_interaction";
|
3239
3357
|
operator: "is" | "isNot";
|
3240
|
-
value: "completed" | "
|
3358
|
+
value: "completed" | "viewed" | "dismissed";
|
3241
3359
|
questlist_id: number;
|
3242
3360
|
} & {
|
3243
3361
|
reason?: string | undefined;
|
@@ -3247,10 +3365,15 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3247
3365
|
values: string[];
|
3248
3366
|
} & {
|
3249
3367
|
reason?: string | undefined;
|
3368
|
+
}) | ({
|
3369
|
+
type: "named_rule";
|
3370
|
+
rule_id: string | number;
|
3371
|
+
} & {
|
3372
|
+
reason?: string | undefined;
|
3250
3373
|
}))[];
|
3251
3374
|
recommend_rules: (({
|
3252
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3253
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3375
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3376
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3254
3377
|
} & {
|
3255
3378
|
field?: string | undefined;
|
3256
3379
|
value?: string | undefined;
|
@@ -3259,14 +3382,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3259
3382
|
}) | ({
|
3260
3383
|
type: "nudge_interaction";
|
3261
3384
|
operator: "is" | "isNot";
|
3262
|
-
value: "completed" | "
|
3385
|
+
value: "completed" | "viewed" | "dismissed";
|
3263
3386
|
nudge_id: number;
|
3264
3387
|
} & {
|
3265
3388
|
reason?: string | undefined;
|
3266
3389
|
}) | ({
|
3267
3390
|
type: "questlist_interaction";
|
3268
3391
|
operator: "is" | "isNot";
|
3269
|
-
value: "completed" | "
|
3392
|
+
value: "completed" | "viewed" | "dismissed";
|
3270
3393
|
questlist_id: number;
|
3271
3394
|
} & {
|
3272
3395
|
reason?: string | undefined;
|
@@ -3285,13 +3408,8 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3285
3408
|
reason?: null | undefined;
|
3286
3409
|
rule_id?: string | number | undefined;
|
3287
3410
|
}))[] | (({
|
3288
|
-
type: "
|
3289
|
-
|
3290
|
-
} & {
|
3291
|
-
reason?: string | undefined;
|
3292
|
-
}) | ({
|
3293
|
-
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3294
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3411
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3412
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3295
3413
|
} & {
|
3296
3414
|
field?: string | undefined;
|
3297
3415
|
value?: string | undefined;
|
@@ -3300,14 +3418,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3300
3418
|
}) | ({
|
3301
3419
|
type: "nudge_interaction";
|
3302
3420
|
operator: "is" | "isNot";
|
3303
|
-
value: "completed" | "
|
3421
|
+
value: "completed" | "viewed" | "dismissed";
|
3304
3422
|
nudge_id: number;
|
3305
3423
|
} & {
|
3306
3424
|
reason?: string | undefined;
|
3307
3425
|
}) | ({
|
3308
3426
|
type: "questlist_interaction";
|
3309
3427
|
operator: "is" | "isNot";
|
3310
|
-
value: "completed" | "
|
3428
|
+
value: "completed" | "viewed" | "dismissed";
|
3311
3429
|
questlist_id: number;
|
3312
3430
|
} & {
|
3313
3431
|
reason?: string | undefined;
|
@@ -3325,6 +3443,11 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3325
3443
|
value?: null | undefined;
|
3326
3444
|
reason?: null | undefined;
|
3327
3445
|
rule_id?: string | number | undefined;
|
3446
|
+
}) | ({
|
3447
|
+
type: "named_rule";
|
3448
|
+
rule_id: string | number;
|
3449
|
+
} & {
|
3450
|
+
reason?: string | undefined;
|
3328
3451
|
}))[];
|
3329
3452
|
availability_expression: import("./helpers/rules").RuleExpression;
|
3330
3453
|
recommend_expression: import("./helpers/rules").RuleExpression;
|
@@ -3360,23 +3483,23 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3360
3483
|
hotkey_mac: string;
|
3361
3484
|
hotkey_win: string;
|
3362
3485
|
detail: string | ({
|
3363
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3486
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3364
3487
|
value: string;
|
3365
3488
|
} & {
|
3366
3489
|
position?: "inline" | "popover" | undefined;
|
3367
3490
|
}) | (string | ({
|
3368
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3491
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3369
3492
|
value: string;
|
3370
3493
|
} & {
|
3371
3494
|
position?: "inline" | "popover" | undefined;
|
3372
3495
|
}))[] | null;
|
3373
3496
|
content: string | ({
|
3374
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3497
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3375
3498
|
value: string;
|
3376
3499
|
} & {
|
3377
3500
|
position?: "inline" | "popover" | undefined;
|
3378
3501
|
}) | (string | ({
|
3379
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3502
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3380
3503
|
value: string;
|
3381
3504
|
} & {
|
3382
3505
|
position?: "inline" | "popover" | undefined;
|
@@ -3389,31 +3512,38 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3389
3512
|
} | null;
|
3390
3513
|
next_steps: (string | number | {
|
3391
3514
|
cta: string;
|
3392
|
-
action: {
|
3515
|
+
action: ({
|
3516
|
+
type: "link";
|
3517
|
+
value: string;
|
3518
|
+
} & {
|
3519
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3520
|
+
meta?: {
|
3521
|
+
command: string;
|
3522
|
+
} | undefined;
|
3523
|
+
}) | {
|
3524
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3525
|
+
value: string[];
|
3526
|
+
} | {
|
3393
3527
|
type: "execute_command";
|
3394
3528
|
meta: {
|
3395
3529
|
command: string;
|
3396
3530
|
} & {
|
3397
3531
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3398
3532
|
};
|
3533
|
+
} | {
|
3534
|
+
type: "no_action";
|
3399
3535
|
} | {
|
3400
3536
|
type: "click";
|
3401
3537
|
value: string;
|
3402
3538
|
} | {
|
3403
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3404
|
-
value: string[];
|
3405
|
-
} | ({
|
3406
|
-
type: "link";
|
3407
|
-
value: string;
|
3408
|
-
} & {
|
3409
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3410
|
-
meta?: {
|
3411
|
-
command: string;
|
3412
|
-
} | undefined;
|
3413
|
-
}) | {
|
3414
3539
|
type: "open_chat";
|
3415
3540
|
meta: {
|
3416
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3541
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3542
|
+
};
|
3543
|
+
} | {
|
3544
|
+
type: "chat_handoff";
|
3545
|
+
meta: {
|
3546
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3417
3547
|
};
|
3418
3548
|
} | {
|
3419
3549
|
type: "dismiss";
|
@@ -3422,14 +3552,14 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3422
3552
|
} | {
|
3423
3553
|
type: "questlist";
|
3424
3554
|
value: number;
|
3425
|
-
} | {
|
3426
|
-
type: "step_back";
|
3427
3555
|
} | {
|
3428
3556
|
type: "nudge";
|
3429
3557
|
value: number;
|
3430
3558
|
} | {
|
3431
3559
|
type: "go_to_step";
|
3432
3560
|
value: number;
|
3561
|
+
} | {
|
3562
|
+
type: "step_back";
|
3433
3563
|
} | ({
|
3434
3564
|
type: "open_bar";
|
3435
3565
|
} & {
|
@@ -3437,11 +3567,11 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3437
3567
|
categoryFilter?: number | undefined;
|
3438
3568
|
}) | {
|
3439
3569
|
type: "open_helphub";
|
3440
|
-
} | {
|
3570
|
+
} | ({
|
3441
3571
|
type: "open_copilot";
|
3442
|
-
}
|
3443
|
-
|
3444
|
-
};
|
3572
|
+
} & {
|
3573
|
+
query?: string | undefined;
|
3574
|
+
});
|
3445
3575
|
})[];
|
3446
3576
|
generated_tags: {
|
3447
3577
|
automated?: string[] | null | undefined;
|
@@ -3455,6 +3585,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3455
3585
|
copilot_description: string;
|
3456
3586
|
copilot_use_verbatim: boolean;
|
3457
3587
|
editor_tags: string[];
|
3588
|
+
labels: string[] | null;
|
3458
3589
|
} & {
|
3459
3590
|
third_party_source?: string | null | undefined;
|
3460
3591
|
third_party_id?: string | null | undefined;
|
@@ -3567,7 +3698,7 @@ export declare const decode: (data: any) => {
|
|
3567
3698
|
} & {} & {
|
3568
3699
|
disabled: boolean;
|
3569
3700
|
launcher_type: "alternate" | "none" | "prompt" | "minimal";
|
3570
|
-
launcher_position: "
|
3701
|
+
launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
3571
3702
|
show_launcher_recommendations: boolean;
|
3572
3703
|
recommendations_type: "None" | "Custom" | "Algorithm" | undefined;
|
3573
3704
|
launcher_offset_x: number;
|
@@ -3647,23 +3778,23 @@ export declare const decode: (data: any) => {
|
|
3647
3778
|
setting_pin_to_bottom?: boolean | undefined;
|
3648
3779
|
track_recents?: boolean | undefined;
|
3649
3780
|
detail?: string | ({
|
3650
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3781
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3651
3782
|
value: string;
|
3652
3783
|
} & {
|
3653
3784
|
position?: "inline" | "popover" | undefined;
|
3654
3785
|
}) | (string | ({
|
3655
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3786
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3656
3787
|
value: string;
|
3657
3788
|
} & {
|
3658
3789
|
position?: "inline" | "popover" | undefined;
|
3659
3790
|
}))[] | null | undefined;
|
3660
3791
|
content?: string | ({
|
3661
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3792
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3662
3793
|
value: string;
|
3663
3794
|
} & {
|
3664
3795
|
position?: "inline" | "popover" | undefined;
|
3665
3796
|
}) | (string | ({
|
3666
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3797
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3667
3798
|
value: string;
|
3668
3799
|
} & {
|
3669
3800
|
position?: "inline" | "popover" | undefined;
|
@@ -3711,31 +3842,38 @@ export declare const decode: (data: any) => {
|
|
3711
3842
|
helphub_chat_fallback_message: string | null;
|
3712
3843
|
helphub_chat_fallback_actions: {
|
3713
3844
|
cta: string;
|
3714
|
-
action: {
|
3845
|
+
action: ({
|
3846
|
+
type: "link";
|
3847
|
+
value: string;
|
3848
|
+
} & {
|
3849
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3850
|
+
meta?: {
|
3851
|
+
command: string;
|
3852
|
+
} | undefined;
|
3853
|
+
}) | {
|
3854
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3855
|
+
value: string[];
|
3856
|
+
} | {
|
3715
3857
|
type: "execute_command";
|
3716
3858
|
meta: {
|
3717
3859
|
command: string;
|
3718
3860
|
} & {
|
3719
3861
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3720
3862
|
};
|
3863
|
+
} | {
|
3864
|
+
type: "no_action";
|
3721
3865
|
} | {
|
3722
3866
|
type: "click";
|
3723
3867
|
value: string;
|
3724
3868
|
} | {
|
3725
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3726
|
-
value: string[];
|
3727
|
-
} | ({
|
3728
|
-
type: "link";
|
3729
|
-
value: string;
|
3730
|
-
} & {
|
3731
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3732
|
-
meta?: {
|
3733
|
-
command: string;
|
3734
|
-
} | undefined;
|
3735
|
-
}) | {
|
3736
3869
|
type: "open_chat";
|
3737
3870
|
meta: {
|
3738
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3871
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3872
|
+
};
|
3873
|
+
} | {
|
3874
|
+
type: "chat_handoff";
|
3875
|
+
meta: {
|
3876
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3739
3877
|
};
|
3740
3878
|
} | {
|
3741
3879
|
type: "dismiss";
|
@@ -3744,14 +3882,14 @@ export declare const decode: (data: any) => {
|
|
3744
3882
|
} | {
|
3745
3883
|
type: "questlist";
|
3746
3884
|
value: number;
|
3747
|
-
} | {
|
3748
|
-
type: "step_back";
|
3749
3885
|
} | {
|
3750
3886
|
type: "nudge";
|
3751
3887
|
value: number;
|
3752
3888
|
} | {
|
3753
3889
|
type: "go_to_step";
|
3754
3890
|
value: number;
|
3891
|
+
} | {
|
3892
|
+
type: "step_back";
|
3755
3893
|
} | ({
|
3756
3894
|
type: "open_bar";
|
3757
3895
|
} & {
|
@@ -3759,43 +3897,51 @@ export declare const decode: (data: any) => {
|
|
3759
3897
|
categoryFilter?: number | undefined;
|
3760
3898
|
}) | {
|
3761
3899
|
type: "open_helphub";
|
3762
|
-
} | {
|
3900
|
+
} | ({
|
3763
3901
|
type: "open_copilot";
|
3764
|
-
}
|
3765
|
-
|
3766
|
-
};
|
3902
|
+
} & {
|
3903
|
+
query?: string | undefined;
|
3904
|
+
});
|
3767
3905
|
}[];
|
3768
3906
|
helphub_search_action: "search" | "ask";
|
3769
3907
|
helphub_custom_theme: string | null;
|
3908
|
+
copilot_chat_history_enabled: boolean;
|
3770
3909
|
copilot_negative_feedback_fallback_enabled: boolean;
|
3771
3910
|
copilot_negative_feedback_fallback_message: string | null;
|
3772
3911
|
copilot_negative_feedback_fallback_actions: {
|
3773
3912
|
cta: string;
|
3774
|
-
action: {
|
3913
|
+
action: ({
|
3914
|
+
type: "link";
|
3915
|
+
value: string;
|
3916
|
+
} & {
|
3917
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3918
|
+
meta?: {
|
3919
|
+
command: string;
|
3920
|
+
} | undefined;
|
3921
|
+
}) | {
|
3922
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3923
|
+
value: string[];
|
3924
|
+
} | {
|
3775
3925
|
type: "execute_command";
|
3776
3926
|
meta: {
|
3777
3927
|
command: string;
|
3778
3928
|
} & {
|
3779
3929
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3780
3930
|
};
|
3931
|
+
} | {
|
3932
|
+
type: "no_action";
|
3781
3933
|
} | {
|
3782
3934
|
type: "click";
|
3783
3935
|
value: string;
|
3784
3936
|
} | {
|
3785
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3786
|
-
value: string[];
|
3787
|
-
} | ({
|
3788
|
-
type: "link";
|
3789
|
-
value: string;
|
3790
|
-
} & {
|
3791
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3792
|
-
meta?: {
|
3793
|
-
command: string;
|
3794
|
-
} | undefined;
|
3795
|
-
}) | {
|
3796
3937
|
type: "open_chat";
|
3797
3938
|
meta: {
|
3798
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3939
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3940
|
+
};
|
3941
|
+
} | {
|
3942
|
+
type: "chat_handoff";
|
3943
|
+
meta: {
|
3944
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3799
3945
|
};
|
3800
3946
|
} | {
|
3801
3947
|
type: "dismiss";
|
@@ -3804,14 +3950,14 @@ export declare const decode: (data: any) => {
|
|
3804
3950
|
} | {
|
3805
3951
|
type: "questlist";
|
3806
3952
|
value: number;
|
3807
|
-
} | {
|
3808
|
-
type: "step_back";
|
3809
3953
|
} | {
|
3810
3954
|
type: "nudge";
|
3811
3955
|
value: number;
|
3812
3956
|
} | {
|
3813
3957
|
type: "go_to_step";
|
3814
3958
|
value: number;
|
3959
|
+
} | {
|
3960
|
+
type: "step_back";
|
3815
3961
|
} | ({
|
3816
3962
|
type: "open_bar";
|
3817
3963
|
} & {
|
@@ -3819,15 +3965,20 @@ export declare const decode: (data: any) => {
|
|
3819
3965
|
categoryFilter?: number | undefined;
|
3820
3966
|
}) | {
|
3821
3967
|
type: "open_helphub";
|
3822
|
-
} | {
|
3968
|
+
} | ({
|
3823
3969
|
type: "open_copilot";
|
3824
|
-
}
|
3825
|
-
|
3826
|
-
};
|
3970
|
+
} & {
|
3971
|
+
query?: string | undefined;
|
3972
|
+
});
|
3827
3973
|
}[];
|
3828
3974
|
helphub_manual_suggested_queries: string[];
|
3829
3975
|
copilot_name: string;
|
3830
3976
|
copilot_avatar: string;
|
3977
|
+
copilot_avatar_v2: {
|
3978
|
+
src: string;
|
3979
|
+
file_name: string;
|
3980
|
+
size: string;
|
3981
|
+
} | null;
|
3831
3982
|
copilot_personality: {
|
3832
3983
|
template: "professional" | "friendly" | "confident" | "serious" | "empathetic";
|
3833
3984
|
} | {
|
@@ -3902,6 +4053,10 @@ export declare const decode: (data: any) => {
|
|
3902
4053
|
topic_name?: string | null | undefined;
|
3903
4054
|
conversation_property_name?: string | null | undefined;
|
3904
4055
|
} | undefined;
|
4056
|
+
intercom?: {
|
4057
|
+
enabled?: boolean | undefined;
|
4058
|
+
token?: string | undefined;
|
4059
|
+
} | undefined;
|
3905
4060
|
};
|
3906
4061
|
copilot_enabled: boolean;
|
3907
4062
|
user_property_targeting: boolean;
|
@@ -3930,11 +4085,11 @@ export declare const decode: (data: any) => {
|
|
3930
4085
|
helphub_launcher_offset_x: number;
|
3931
4086
|
helphub_launcher_offset_y: number;
|
3932
4087
|
helphub_launcher_anchor: string;
|
3933
|
-
helphub_launcher_position: "
|
3934
|
-
helphub_launcher_type: "none" | "custom" | "
|
4088
|
+
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
4089
|
+
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
3935
4090
|
helphub_mobile_launcher_offset_x: number;
|
3936
4091
|
helphub_mobile_launcher_offset_y: number;
|
3937
4092
|
helphub_mobile_launcher_anchor: string;
|
3938
|
-
helphub_mobile_launcher_position: "
|
3939
|
-
helphub_mobile_launcher_type: "none" | "custom" | "
|
4093
|
+
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
4094
|
+
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
|
3940
4095
|
};
|