commandbar 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -54,6 +54,11 @@ export declare const ChecklistItemV: t.IntersectionC<[t.TypeC<{
|
|
54
54
|
meta: t.TypeC<{
|
55
55
|
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
56
56
|
}>;
|
57
|
+
}>, t.TypeC<{
|
58
|
+
type: t.LiteralC<"chat_handoff">;
|
59
|
+
meta: t.TypeC<{
|
60
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
61
|
+
}>;
|
57
62
|
}>, t.TypeC<{
|
58
63
|
type: t.LiteralC<"dismiss">;
|
59
64
|
}>, t.TypeC<{
|
@@ -76,9 +81,11 @@ export declare const ChecklistItemV: t.IntersectionC<[t.TypeC<{
|
|
76
81
|
categoryFilter: t.NumberC;
|
77
82
|
}>]>, t.TypeC<{
|
78
83
|
type: t.LiteralC<"open_helphub">;
|
79
|
-
}>, t.TypeC<{
|
84
|
+
}>, t.IntersectionC<[t.TypeC<{
|
80
85
|
type: t.LiteralC<"open_copilot">;
|
81
|
-
}
|
86
|
+
}>, t.PartialC<{
|
87
|
+
query: t.StringC;
|
88
|
+
}>]>]>;
|
82
89
|
celebrate: t.BooleanC;
|
83
90
|
}>, t.PartialC<{
|
84
91
|
description: t.StringC;
|
@@ -188,6 +195,11 @@ export declare const ChecklistBaseV: t.IntersectionC<[t.TypeC<{
|
|
188
195
|
meta: t.TypeC<{
|
189
196
|
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
190
197
|
}>;
|
198
|
+
}>, t.TypeC<{
|
199
|
+
type: t.LiteralC<"chat_handoff">;
|
200
|
+
meta: t.TypeC<{
|
201
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
202
|
+
}>;
|
191
203
|
}>, t.TypeC<{
|
192
204
|
type: t.LiteralC<"dismiss">;
|
193
205
|
}>, t.TypeC<{
|
@@ -210,9 +222,11 @@ export declare const ChecklistBaseV: t.IntersectionC<[t.TypeC<{
|
|
210
222
|
categoryFilter: t.NumberC;
|
211
223
|
}>]>, t.TypeC<{
|
212
224
|
type: t.LiteralC<"open_helphub">;
|
213
|
-
}>, t.TypeC<{
|
225
|
+
}>, t.IntersectionC<[t.TypeC<{
|
214
226
|
type: t.LiteralC<"open_copilot">;
|
215
|
-
}
|
227
|
+
}>, t.PartialC<{
|
228
|
+
query: t.StringC;
|
229
|
+
}>]>]>;
|
216
230
|
celebrate: t.BooleanC;
|
217
231
|
}>, t.PartialC<{
|
218
232
|
description: t.StringC;
|
@@ -340,6 +354,11 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
340
354
|
meta: t.TypeC<{
|
341
355
|
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
342
356
|
}>;
|
357
|
+
}>, t.TypeC<{
|
358
|
+
type: t.LiteralC<"chat_handoff">;
|
359
|
+
meta: t.TypeC<{
|
360
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
361
|
+
}>;
|
343
362
|
}>, t.TypeC<{
|
344
363
|
type: t.LiteralC<"dismiss">;
|
345
364
|
}>, t.TypeC<{
|
@@ -362,9 +381,11 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
362
381
|
categoryFilter: t.NumberC;
|
363
382
|
}>]>, t.TypeC<{
|
364
383
|
type: t.LiteralC<"open_helphub">;
|
365
|
-
}>, t.TypeC<{
|
384
|
+
}>, t.IntersectionC<[t.TypeC<{
|
366
385
|
type: t.LiteralC<"open_copilot">;
|
367
|
-
}
|
386
|
+
}>, t.PartialC<{
|
387
|
+
query: t.StringC;
|
388
|
+
}>]>]>;
|
368
389
|
celebrate: t.BooleanC;
|
369
390
|
}>, t.PartialC<{
|
370
391
|
description: t.StringC;
|
@@ -480,31 +501,38 @@ export declare class Checklist {
|
|
480
501
|
} & {
|
481
502
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
482
503
|
});
|
483
|
-
action: {
|
504
|
+
action: ({
|
505
|
+
type: "link";
|
506
|
+
value: string;
|
507
|
+
} & {
|
508
|
+
operation?: "self" | "router" | "blank" | undefined;
|
509
|
+
meta?: {
|
510
|
+
command: string;
|
511
|
+
} | undefined;
|
512
|
+
}) | {
|
513
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
514
|
+
value: string[];
|
515
|
+
} | {
|
484
516
|
type: "execute_command";
|
485
517
|
meta: {
|
486
518
|
command: string;
|
487
519
|
} & {
|
488
520
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
489
521
|
};
|
522
|
+
} | {
|
523
|
+
type: "no_action";
|
490
524
|
} | {
|
491
525
|
type: "click";
|
492
526
|
value: string;
|
493
527
|
} | {
|
494
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
495
|
-
value: string[];
|
496
|
-
} | ({
|
497
|
-
type: "link";
|
498
|
-
value: string;
|
499
|
-
} & {
|
500
|
-
operation?: "self" | "router" | "blank" | undefined;
|
501
|
-
meta?: {
|
502
|
-
command: string;
|
503
|
-
} | undefined;
|
504
|
-
}) | {
|
505
528
|
type: "open_chat";
|
506
529
|
meta: {
|
507
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
530
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
531
|
+
};
|
532
|
+
} | {
|
533
|
+
type: "chat_handoff";
|
534
|
+
meta: {
|
535
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
508
536
|
};
|
509
537
|
} | {
|
510
538
|
type: "dismiss";
|
@@ -513,14 +541,14 @@ export declare class Checklist {
|
|
513
541
|
} | {
|
514
542
|
type: "questlist";
|
515
543
|
value: number;
|
516
|
-
} | {
|
517
|
-
type: "step_back";
|
518
544
|
} | {
|
519
545
|
type: "nudge";
|
520
546
|
value: number;
|
521
547
|
} | {
|
522
548
|
type: "go_to_step";
|
523
549
|
value: number;
|
550
|
+
} | {
|
551
|
+
type: "step_back";
|
524
552
|
} | ({
|
525
553
|
type: "open_bar";
|
526
554
|
} & {
|
@@ -528,11 +556,11 @@ export declare class Checklist {
|
|
528
556
|
categoryFilter?: number | undefined;
|
529
557
|
}) | {
|
530
558
|
type: "open_helphub";
|
531
|
-
} | {
|
559
|
+
} | ({
|
532
560
|
type: "open_copilot";
|
533
|
-
}
|
534
|
-
|
535
|
-
};
|
561
|
+
} & {
|
562
|
+
query?: string | undefined;
|
563
|
+
});
|
536
564
|
celebrate: boolean;
|
537
565
|
} & {
|
538
566
|
description?: string | undefined;
|
@@ -647,31 +675,38 @@ export declare class Checklist {
|
|
647
675
|
} & {
|
648
676
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
649
677
|
});
|
650
|
-
action: {
|
678
|
+
action: ({
|
679
|
+
type: "link";
|
680
|
+
value: string;
|
681
|
+
} & {
|
682
|
+
operation?: "self" | "router" | "blank" | undefined;
|
683
|
+
meta?: {
|
684
|
+
command: string;
|
685
|
+
} | undefined;
|
686
|
+
}) | {
|
687
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
688
|
+
value: string[];
|
689
|
+
} | {
|
651
690
|
type: "execute_command";
|
652
691
|
meta: {
|
653
692
|
command: string;
|
654
693
|
} & {
|
655
694
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
656
695
|
};
|
696
|
+
} | {
|
697
|
+
type: "no_action";
|
657
698
|
} | {
|
658
699
|
type: "click";
|
659
700
|
value: string;
|
660
701
|
} | {
|
661
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
662
|
-
value: string[];
|
663
|
-
} | ({
|
664
|
-
type: "link";
|
665
|
-
value: string;
|
666
|
-
} & {
|
667
|
-
operation?: "self" | "router" | "blank" | undefined;
|
668
|
-
meta?: {
|
669
|
-
command: string;
|
670
|
-
} | undefined;
|
671
|
-
}) | {
|
672
702
|
type: "open_chat";
|
673
703
|
meta: {
|
674
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
704
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
705
|
+
};
|
706
|
+
} | {
|
707
|
+
type: "chat_handoff";
|
708
|
+
meta: {
|
709
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
675
710
|
};
|
676
711
|
} | {
|
677
712
|
type: "dismiss";
|
@@ -680,14 +715,14 @@ export declare class Checklist {
|
|
680
715
|
} | {
|
681
716
|
type: "questlist";
|
682
717
|
value: number;
|
683
|
-
} | {
|
684
|
-
type: "step_back";
|
685
718
|
} | {
|
686
719
|
type: "nudge";
|
687
720
|
value: number;
|
688
721
|
} | {
|
689
722
|
type: "go_to_step";
|
690
723
|
value: number;
|
724
|
+
} | {
|
725
|
+
type: "step_back";
|
691
726
|
} | ({
|
692
727
|
type: "open_bar";
|
693
728
|
} & {
|
@@ -695,11 +730,11 @@ export declare class Checklist {
|
|
695
730
|
categoryFilter?: number | undefined;
|
696
731
|
}) | {
|
697
732
|
type: "open_helphub";
|
698
|
-
} | {
|
733
|
+
} | ({
|
699
734
|
type: "open_copilot";
|
700
|
-
}
|
701
|
-
|
702
|
-
};
|
735
|
+
} & {
|
736
|
+
query?: string | undefined;
|
737
|
+
});
|
703
738
|
celebrate: boolean;
|
704
739
|
} & {
|
705
740
|
description?: string | undefined;
|
@@ -813,31 +848,38 @@ export declare class Checklist {
|
|
813
848
|
} & {
|
814
849
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
815
850
|
});
|
816
|
-
action: {
|
851
|
+
action: ({
|
852
|
+
type: "link";
|
853
|
+
value: string;
|
854
|
+
} & {
|
855
|
+
operation?: "self" | "router" | "blank" | undefined;
|
856
|
+
meta?: {
|
857
|
+
command: string;
|
858
|
+
} | undefined;
|
859
|
+
}) | {
|
860
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
861
|
+
value: string[];
|
862
|
+
} | {
|
817
863
|
type: "execute_command";
|
818
864
|
meta: {
|
819
865
|
command: string;
|
820
866
|
} & {
|
821
867
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
822
868
|
};
|
869
|
+
} | {
|
870
|
+
type: "no_action";
|
823
871
|
} | {
|
824
872
|
type: "click";
|
825
873
|
value: string;
|
826
874
|
} | {
|
827
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
828
|
-
value: string[];
|
829
|
-
} | ({
|
830
|
-
type: "link";
|
831
|
-
value: string;
|
832
|
-
} & {
|
833
|
-
operation?: "self" | "router" | "blank" | undefined;
|
834
|
-
meta?: {
|
835
|
-
command: string;
|
836
|
-
} | undefined;
|
837
|
-
}) | {
|
838
875
|
type: "open_chat";
|
839
876
|
meta: {
|
840
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
877
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
878
|
+
};
|
879
|
+
} | {
|
880
|
+
type: "chat_handoff";
|
881
|
+
meta: {
|
882
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
841
883
|
};
|
842
884
|
} | {
|
843
885
|
type: "dismiss";
|
@@ -846,14 +888,14 @@ export declare class Checklist {
|
|
846
888
|
} | {
|
847
889
|
type: "questlist";
|
848
890
|
value: number;
|
849
|
-
} | {
|
850
|
-
type: "step_back";
|
851
891
|
} | {
|
852
892
|
type: "nudge";
|
853
893
|
value: number;
|
854
894
|
} | {
|
855
895
|
type: "go_to_step";
|
856
896
|
value: number;
|
897
|
+
} | {
|
898
|
+
type: "step_back";
|
857
899
|
} | ({
|
858
900
|
type: "open_bar";
|
859
901
|
} & {
|
@@ -861,11 +903,11 @@ export declare class Checklist {
|
|
861
903
|
categoryFilter?: number | undefined;
|
862
904
|
}) | {
|
863
905
|
type: "open_helphub";
|
864
|
-
} | {
|
906
|
+
} | ({
|
865
907
|
type: "open_copilot";
|
866
|
-
}
|
867
|
-
|
868
|
-
};
|
908
|
+
} & {
|
909
|
+
query?: string | undefined;
|
910
|
+
});
|
869
911
|
celebrate: boolean;
|
870
912
|
} & {
|
871
913
|
description?: string | undefined;
|
@@ -980,31 +1022,38 @@ export declare class Checklist {
|
|
980
1022
|
} & {
|
981
1023
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
982
1024
|
});
|
983
|
-
action: {
|
1025
|
+
action: ({
|
1026
|
+
type: "link";
|
1027
|
+
value: string;
|
1028
|
+
} & {
|
1029
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1030
|
+
meta?: {
|
1031
|
+
command: string;
|
1032
|
+
} | undefined;
|
1033
|
+
}) | {
|
1034
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1035
|
+
value: string[];
|
1036
|
+
} | {
|
984
1037
|
type: "execute_command";
|
985
1038
|
meta: {
|
986
1039
|
command: string;
|
987
1040
|
} & {
|
988
1041
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
989
1042
|
};
|
1043
|
+
} | {
|
1044
|
+
type: "no_action";
|
990
1045
|
} | {
|
991
1046
|
type: "click";
|
992
1047
|
value: string;
|
993
1048
|
} | {
|
994
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
995
|
-
value: string[];
|
996
|
-
} | ({
|
997
|
-
type: "link";
|
998
|
-
value: string;
|
999
|
-
} & {
|
1000
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1001
|
-
meta?: {
|
1002
|
-
command: string;
|
1003
|
-
} | undefined;
|
1004
|
-
}) | {
|
1005
1049
|
type: "open_chat";
|
1006
1050
|
meta: {
|
1007
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1051
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1052
|
+
};
|
1053
|
+
} | {
|
1054
|
+
type: "chat_handoff";
|
1055
|
+
meta: {
|
1056
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1008
1057
|
};
|
1009
1058
|
} | {
|
1010
1059
|
type: "dismiss";
|
@@ -1013,14 +1062,14 @@ export declare class Checklist {
|
|
1013
1062
|
} | {
|
1014
1063
|
type: "questlist";
|
1015
1064
|
value: number;
|
1016
|
-
} | {
|
1017
|
-
type: "step_back";
|
1018
1065
|
} | {
|
1019
1066
|
type: "nudge";
|
1020
1067
|
value: number;
|
1021
1068
|
} | {
|
1022
1069
|
type: "go_to_step";
|
1023
1070
|
value: number;
|
1071
|
+
} | {
|
1072
|
+
type: "step_back";
|
1024
1073
|
} | ({
|
1025
1074
|
type: "open_bar";
|
1026
1075
|
} & {
|
@@ -1028,11 +1077,11 @@ export declare class Checklist {
|
|
1028
1077
|
categoryFilter?: number | undefined;
|
1029
1078
|
}) | {
|
1030
1079
|
type: "open_helphub";
|
1031
|
-
} | {
|
1080
|
+
} | ({
|
1032
1081
|
type: "open_copilot";
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
};
|
1082
|
+
} & {
|
1083
|
+
query?: string | undefined;
|
1084
|
+
});
|
1036
1085
|
celebrate: boolean;
|
1037
1086
|
} & {
|
1038
1087
|
description?: string | undefined;
|
@@ -1146,31 +1195,38 @@ export declare class Checklist {
|
|
1146
1195
|
} & {
|
1147
1196
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
1148
1197
|
});
|
1149
|
-
action: {
|
1198
|
+
action: ({
|
1199
|
+
type: "link";
|
1200
|
+
value: string;
|
1201
|
+
} & {
|
1202
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1203
|
+
meta?: {
|
1204
|
+
command: string;
|
1205
|
+
} | undefined;
|
1206
|
+
}) | {
|
1207
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1208
|
+
value: string[];
|
1209
|
+
} | {
|
1150
1210
|
type: "execute_command";
|
1151
1211
|
meta: {
|
1152
1212
|
command: string;
|
1153
1213
|
} & {
|
1154
1214
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1155
1215
|
};
|
1216
|
+
} | {
|
1217
|
+
type: "no_action";
|
1156
1218
|
} | {
|
1157
1219
|
type: "click";
|
1158
1220
|
value: string;
|
1159
1221
|
} | {
|
1160
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1161
|
-
value: string[];
|
1162
|
-
} | ({
|
1163
|
-
type: "link";
|
1164
|
-
value: string;
|
1165
|
-
} & {
|
1166
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1167
|
-
meta?: {
|
1168
|
-
command: string;
|
1169
|
-
} | undefined;
|
1170
|
-
}) | {
|
1171
1222
|
type: "open_chat";
|
1172
1223
|
meta: {
|
1173
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1224
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1225
|
+
};
|
1226
|
+
} | {
|
1227
|
+
type: "chat_handoff";
|
1228
|
+
meta: {
|
1229
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1174
1230
|
};
|
1175
1231
|
} | {
|
1176
1232
|
type: "dismiss";
|
@@ -1179,14 +1235,14 @@ export declare class Checklist {
|
|
1179
1235
|
} | {
|
1180
1236
|
type: "questlist";
|
1181
1237
|
value: number;
|
1182
|
-
} | {
|
1183
|
-
type: "step_back";
|
1184
1238
|
} | {
|
1185
1239
|
type: "nudge";
|
1186
1240
|
value: number;
|
1187
1241
|
} | {
|
1188
1242
|
type: "go_to_step";
|
1189
1243
|
value: number;
|
1244
|
+
} | {
|
1245
|
+
type: "step_back";
|
1190
1246
|
} | ({
|
1191
1247
|
type: "open_bar";
|
1192
1248
|
} & {
|
@@ -1194,11 +1250,11 @@ export declare class Checklist {
|
|
1194
1250
|
categoryFilter?: number | undefined;
|
1195
1251
|
}) | {
|
1196
1252
|
type: "open_helphub";
|
1197
|
-
} | {
|
1253
|
+
} | ({
|
1198
1254
|
type: "open_copilot";
|
1199
|
-
}
|
1200
|
-
|
1201
|
-
};
|
1255
|
+
} & {
|
1256
|
+
query?: string | undefined;
|
1257
|
+
});
|
1202
1258
|
celebrate: boolean;
|
1203
1259
|
} & {
|
1204
1260
|
description?: string | undefined;
|
@@ -1314,31 +1370,38 @@ export declare class Checklist {
|
|
1314
1370
|
} & {
|
1315
1371
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
1316
1372
|
});
|
1317
|
-
action: {
|
1373
|
+
action: ({
|
1374
|
+
type: "link";
|
1375
|
+
value: string;
|
1376
|
+
} & {
|
1377
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1378
|
+
meta?: {
|
1379
|
+
command: string;
|
1380
|
+
} | undefined;
|
1381
|
+
}) | {
|
1382
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1383
|
+
value: string[];
|
1384
|
+
} | {
|
1318
1385
|
type: "execute_command";
|
1319
1386
|
meta: {
|
1320
1387
|
command: string;
|
1321
1388
|
} & {
|
1322
1389
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1323
1390
|
};
|
1391
|
+
} | {
|
1392
|
+
type: "no_action";
|
1324
1393
|
} | {
|
1325
1394
|
type: "click";
|
1326
1395
|
value: string;
|
1327
1396
|
} | {
|
1328
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1329
|
-
value: string[];
|
1330
|
-
} | ({
|
1331
|
-
type: "link";
|
1332
|
-
value: string;
|
1333
|
-
} & {
|
1334
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1335
|
-
meta?: {
|
1336
|
-
command: string;
|
1337
|
-
} | undefined;
|
1338
|
-
}) | {
|
1339
1397
|
type: "open_chat";
|
1340
1398
|
meta: {
|
1341
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1399
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1400
|
+
};
|
1401
|
+
} | {
|
1402
|
+
type: "chat_handoff";
|
1403
|
+
meta: {
|
1404
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1342
1405
|
};
|
1343
1406
|
} | {
|
1344
1407
|
type: "dismiss";
|
@@ -1347,14 +1410,14 @@ export declare class Checklist {
|
|
1347
1410
|
} | {
|
1348
1411
|
type: "questlist";
|
1349
1412
|
value: number;
|
1350
|
-
} | {
|
1351
|
-
type: "step_back";
|
1352
1413
|
} | {
|
1353
1414
|
type: "nudge";
|
1354
1415
|
value: number;
|
1355
1416
|
} | {
|
1356
1417
|
type: "go_to_step";
|
1357
1418
|
value: number;
|
1419
|
+
} | {
|
1420
|
+
type: "step_back";
|
1358
1421
|
} | ({
|
1359
1422
|
type: "open_bar";
|
1360
1423
|
} & {
|
@@ -1362,11 +1425,11 @@ export declare class Checklist {
|
|
1362
1425
|
categoryFilter?: number | undefined;
|
1363
1426
|
}) | {
|
1364
1427
|
type: "open_helphub";
|
1365
|
-
} | {
|
1428
|
+
} | ({
|
1366
1429
|
type: "open_copilot";
|
1367
|
-
}
|
1368
|
-
|
1369
|
-
};
|
1430
|
+
} & {
|
1431
|
+
query?: string | undefined;
|
1432
|
+
});
|
1370
1433
|
celebrate: boolean;
|
1371
1434
|
} & {
|
1372
1435
|
description?: string | undefined;
|
@@ -1484,31 +1547,38 @@ export declare class Checklist {
|
|
1484
1547
|
} & {
|
1485
1548
|
condition_group?: import("./helpers/rules").RuleExpression | null | undefined;
|
1486
1549
|
});
|
1487
|
-
action: {
|
1550
|
+
action: ({
|
1551
|
+
type: "link";
|
1552
|
+
value: string;
|
1553
|
+
} & {
|
1554
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1555
|
+
meta?: {
|
1556
|
+
command: string;
|
1557
|
+
} | undefined;
|
1558
|
+
}) | {
|
1559
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1560
|
+
value: string[];
|
1561
|
+
} | {
|
1488
1562
|
type: "execute_command";
|
1489
1563
|
meta: {
|
1490
1564
|
command: string;
|
1491
1565
|
} & {
|
1492
1566
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1493
1567
|
};
|
1568
|
+
} | {
|
1569
|
+
type: "no_action";
|
1494
1570
|
} | {
|
1495
1571
|
type: "click";
|
1496
1572
|
value: string;
|
1497
1573
|
} | {
|
1498
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1499
|
-
value: string[];
|
1500
|
-
} | ({
|
1501
|
-
type: "link";
|
1502
|
-
value: string;
|
1503
|
-
} & {
|
1504
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1505
|
-
meta?: {
|
1506
|
-
command: string;
|
1507
|
-
} | undefined;
|
1508
|
-
}) | {
|
1509
1574
|
type: "open_chat";
|
1510
1575
|
meta: {
|
1511
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1576
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1577
|
+
};
|
1578
|
+
} | {
|
1579
|
+
type: "chat_handoff";
|
1580
|
+
meta: {
|
1581
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1512
1582
|
};
|
1513
1583
|
} | {
|
1514
1584
|
type: "dismiss";
|
@@ -1517,14 +1587,14 @@ export declare class Checklist {
|
|
1517
1587
|
} | {
|
1518
1588
|
type: "questlist";
|
1519
1589
|
value: number;
|
1520
|
-
} | {
|
1521
|
-
type: "step_back";
|
1522
1590
|
} | {
|
1523
1591
|
type: "nudge";
|
1524
1592
|
value: number;
|
1525
1593
|
} | {
|
1526
1594
|
type: "go_to_step";
|
1527
1595
|
value: number;
|
1596
|
+
} | {
|
1597
|
+
type: "step_back";
|
1528
1598
|
} | ({
|
1529
1599
|
type: "open_bar";
|
1530
1600
|
} & {
|
@@ -1532,11 +1602,11 @@ export declare class Checklist {
|
|
1532
1602
|
categoryFilter?: number | undefined;
|
1533
1603
|
}) | {
|
1534
1604
|
type: "open_helphub";
|
1535
|
-
} | {
|
1605
|
+
} | ({
|
1536
1606
|
type: "open_copilot";
|
1537
|
-
}
|
1538
|
-
|
1539
|
-
};
|
1607
|
+
} & {
|
1608
|
+
query?: string | undefined;
|
1609
|
+
});
|
1540
1610
|
celebrate: boolean;
|
1541
1611
|
} & {
|
1542
1612
|
description?: string | undefined;
|