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
@@ -118,6 +118,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
118
118
|
meta: t.TypeC<{
|
119
119
|
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<"">]>;
|
120
120
|
}>;
|
121
|
+
}>, t.TypeC<{
|
122
|
+
type: t.LiteralC<"chat_handoff">;
|
123
|
+
meta: t.TypeC<{
|
124
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
125
|
+
}>;
|
121
126
|
}>, t.TypeC<{
|
122
127
|
type: t.LiteralC<"dismiss">;
|
123
128
|
}>, t.TypeC<{
|
@@ -140,9 +145,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
140
145
|
categoryFilter: t.NumberC;
|
141
146
|
}>]>, t.TypeC<{
|
142
147
|
type: t.LiteralC<"open_helphub">;
|
143
|
-
}>, t.TypeC<{
|
148
|
+
}>, t.IntersectionC<[t.TypeC<{
|
144
149
|
type: t.LiteralC<"open_copilot">;
|
145
|
-
}
|
150
|
+
}>, t.PartialC<{
|
151
|
+
query: t.StringC;
|
152
|
+
}>]>]>;
|
146
153
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
147
154
|
conditional_actions: t.ArrayC<t.TypeC<{
|
148
155
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -175,6 +182,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
175
182
|
meta: t.TypeC<{
|
176
183
|
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<"">]>;
|
177
184
|
}>;
|
185
|
+
}>, t.TypeC<{
|
186
|
+
type: t.LiteralC<"chat_handoff">;
|
187
|
+
meta: t.TypeC<{
|
188
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
189
|
+
}>;
|
178
190
|
}>, t.TypeC<{
|
179
191
|
type: t.LiteralC<"dismiss">;
|
180
192
|
}>, t.TypeC<{
|
@@ -197,9 +209,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
197
209
|
categoryFilter: t.NumberC;
|
198
210
|
}>]>, t.TypeC<{
|
199
211
|
type: t.LiteralC<"open_helphub">;
|
200
|
-
}>, t.TypeC<{
|
212
|
+
}>, t.IntersectionC<[t.TypeC<{
|
201
213
|
type: t.LiteralC<"open_copilot">;
|
202
|
-
}
|
214
|
+
}>, t.PartialC<{
|
215
|
+
query: t.StringC;
|
216
|
+
}>]>]>;
|
203
217
|
}>>;
|
204
218
|
}>, t.NullC]>;
|
205
219
|
}>, t.TypeC<{
|
@@ -307,6 +321,9 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
307
321
|
x: t.StringC;
|
308
322
|
y: t.StringC;
|
309
323
|
}>;
|
324
|
+
position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
325
|
+
alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
326
|
+
copilot_intro: t.BooleanC;
|
310
327
|
}>]>, t.TypeC<{
|
311
328
|
type: t.LiteralC<"tooltip">;
|
312
329
|
anchor: t.StringC;
|
@@ -463,33 +480,36 @@ export declare class ExperienceTemplate {
|
|
463
480
|
sort_key: number | undefined;
|
464
481
|
meta: {
|
465
482
|
label?: string | undefined;
|
466
|
-
action?: {
|
483
|
+
action?: ({
|
484
|
+
type: "link";
|
485
|
+
value: string;
|
486
|
+
} & {
|
487
|
+
operation?: "self" | "router" | "blank" | undefined;
|
488
|
+
meta?: {
|
489
|
+
command: string;
|
490
|
+
} | undefined;
|
491
|
+
}) | {
|
492
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
493
|
+
value: string[];
|
494
|
+
} | {
|
467
495
|
type: "execute_command";
|
468
496
|
meta: {
|
469
497
|
command: string;
|
470
498
|
} & {
|
471
499
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
472
500
|
};
|
473
|
-
} | {
|
474
|
-
type: "no_action";
|
475
501
|
} | {
|
476
502
|
type: "click";
|
477
503
|
value: string;
|
478
504
|
} | {
|
479
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
480
|
-
value: string[];
|
481
|
-
} | ({
|
482
|
-
type: "link";
|
483
|
-
value: string;
|
484
|
-
} & {
|
485
|
-
operation?: "self" | "router" | "blank" | undefined;
|
486
|
-
meta?: {
|
487
|
-
command: string;
|
488
|
-
} | undefined;
|
489
|
-
}) | {
|
490
505
|
type: "open_chat";
|
491
506
|
meta: {
|
492
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
507
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
508
|
+
};
|
509
|
+
} | {
|
510
|
+
type: "chat_handoff";
|
511
|
+
meta: {
|
512
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
493
513
|
};
|
494
514
|
} | {
|
495
515
|
type: "dismiss";
|
@@ -498,14 +518,14 @@ export declare class ExperienceTemplate {
|
|
498
518
|
} | {
|
499
519
|
type: "questlist";
|
500
520
|
value: number;
|
501
|
-
} | {
|
502
|
-
type: "step_back";
|
503
521
|
} | {
|
504
522
|
type: "nudge";
|
505
523
|
value: number;
|
506
524
|
} | {
|
507
525
|
type: "go_to_step";
|
508
526
|
value: number;
|
527
|
+
} | {
|
528
|
+
type: "step_back";
|
509
529
|
} | ({
|
510
530
|
type: "open_bar";
|
511
531
|
} & {
|
@@ -513,40 +533,47 @@ export declare class ExperienceTemplate {
|
|
513
533
|
categoryFilter?: number | undefined;
|
514
534
|
}) | {
|
515
535
|
type: "open_helphub";
|
516
|
-
} | {
|
536
|
+
} | ({
|
517
537
|
type: "open_copilot";
|
538
|
+
} & {
|
539
|
+
query?: string | undefined;
|
540
|
+
}) | {
|
541
|
+
type: "no_action";
|
518
542
|
} | undefined;
|
519
543
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
520
544
|
conditional_actions?: {
|
521
545
|
operator: "eq" | "neq" | "gt" | "lt";
|
522
546
|
operand: string | number;
|
523
|
-
action: {
|
547
|
+
action: ({
|
548
|
+
type: "link";
|
549
|
+
value: string;
|
550
|
+
} & {
|
551
|
+
operation?: "self" | "router" | "blank" | undefined;
|
552
|
+
meta?: {
|
553
|
+
command: string;
|
554
|
+
} | undefined;
|
555
|
+
}) | {
|
556
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
557
|
+
value: string[];
|
558
|
+
} | {
|
524
559
|
type: "execute_command";
|
525
560
|
meta: {
|
526
561
|
command: string;
|
527
562
|
} & {
|
528
563
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
529
564
|
};
|
530
|
-
} | {
|
531
|
-
type: "no_action";
|
532
565
|
} | {
|
533
566
|
type: "click";
|
534
567
|
value: string;
|
535
568
|
} | {
|
536
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
537
|
-
value: string[];
|
538
|
-
} | ({
|
539
|
-
type: "link";
|
540
|
-
value: string;
|
541
|
-
} & {
|
542
|
-
operation?: "self" | "router" | "blank" | undefined;
|
543
|
-
meta?: {
|
544
|
-
command: string;
|
545
|
-
} | undefined;
|
546
|
-
}) | {
|
547
569
|
type: "open_chat";
|
548
570
|
meta: {
|
549
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
571
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
572
|
+
};
|
573
|
+
} | {
|
574
|
+
type: "chat_handoff";
|
575
|
+
meta: {
|
576
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
550
577
|
};
|
551
578
|
} | {
|
552
579
|
type: "dismiss";
|
@@ -555,14 +582,14 @@ export declare class ExperienceTemplate {
|
|
555
582
|
} | {
|
556
583
|
type: "questlist";
|
557
584
|
value: number;
|
558
|
-
} | {
|
559
|
-
type: "step_back";
|
560
585
|
} | {
|
561
586
|
type: "nudge";
|
562
587
|
value: number;
|
563
588
|
} | {
|
564
589
|
type: "go_to_step";
|
565
590
|
value: number;
|
591
|
+
} | {
|
592
|
+
type: "step_back";
|
566
593
|
} | ({
|
567
594
|
type: "open_bar";
|
568
595
|
} & {
|
@@ -570,8 +597,12 @@ export declare class ExperienceTemplate {
|
|
570
597
|
categoryFilter?: number | undefined;
|
571
598
|
}) | {
|
572
599
|
type: "open_helphub";
|
573
|
-
} | {
|
600
|
+
} | ({
|
574
601
|
type: "open_copilot";
|
602
|
+
} & {
|
603
|
+
query?: string | undefined;
|
604
|
+
}) | {
|
605
|
+
type: "no_action";
|
575
606
|
};
|
576
607
|
}[] | undefined;
|
577
608
|
} | null;
|
@@ -680,6 +711,9 @@ export declare class ExperienceTemplate {
|
|
680
711
|
x: string;
|
681
712
|
y: string;
|
682
713
|
} | undefined;
|
714
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
715
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
716
|
+
copilot_intro?: boolean | undefined;
|
683
717
|
}) | {
|
684
718
|
type: "tooltip";
|
685
719
|
anchor: string;
|
@@ -688,7 +722,7 @@ export declare class ExperienceTemplate {
|
|
688
722
|
type: "beacon";
|
689
723
|
} | {
|
690
724
|
type: "icon";
|
691
|
-
icon: "
|
725
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
692
726
|
} | {
|
693
727
|
type: "image";
|
694
728
|
source: string;
|
@@ -835,33 +869,36 @@ export declare class ExperienceTemplate {
|
|
835
869
|
sort_key: number | undefined;
|
836
870
|
meta: {
|
837
871
|
label?: string | undefined;
|
838
|
-
action?: {
|
872
|
+
action?: ({
|
873
|
+
type: "link";
|
874
|
+
value: string;
|
875
|
+
} & {
|
876
|
+
operation?: "self" | "router" | "blank" | undefined;
|
877
|
+
meta?: {
|
878
|
+
command: string;
|
879
|
+
} | undefined;
|
880
|
+
}) | {
|
881
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
882
|
+
value: string[];
|
883
|
+
} | {
|
839
884
|
type: "execute_command";
|
840
885
|
meta: {
|
841
886
|
command: string;
|
842
887
|
} & {
|
843
888
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
844
889
|
};
|
845
|
-
} | {
|
846
|
-
type: "no_action";
|
847
890
|
} | {
|
848
891
|
type: "click";
|
849
892
|
value: string;
|
850
893
|
} | {
|
851
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
852
|
-
value: string[];
|
853
|
-
} | ({
|
854
|
-
type: "link";
|
855
|
-
value: string;
|
856
|
-
} & {
|
857
|
-
operation?: "self" | "router" | "blank" | undefined;
|
858
|
-
meta?: {
|
859
|
-
command: string;
|
860
|
-
} | undefined;
|
861
|
-
}) | {
|
862
894
|
type: "open_chat";
|
863
895
|
meta: {
|
864
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
896
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
897
|
+
};
|
898
|
+
} | {
|
899
|
+
type: "chat_handoff";
|
900
|
+
meta: {
|
901
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
865
902
|
};
|
866
903
|
} | {
|
867
904
|
type: "dismiss";
|
@@ -870,14 +907,14 @@ export declare class ExperienceTemplate {
|
|
870
907
|
} | {
|
871
908
|
type: "questlist";
|
872
909
|
value: number;
|
873
|
-
} | {
|
874
|
-
type: "step_back";
|
875
910
|
} | {
|
876
911
|
type: "nudge";
|
877
912
|
value: number;
|
878
913
|
} | {
|
879
914
|
type: "go_to_step";
|
880
915
|
value: number;
|
916
|
+
} | {
|
917
|
+
type: "step_back";
|
881
918
|
} | ({
|
882
919
|
type: "open_bar";
|
883
920
|
} & {
|
@@ -885,40 +922,47 @@ export declare class ExperienceTemplate {
|
|
885
922
|
categoryFilter?: number | undefined;
|
886
923
|
}) | {
|
887
924
|
type: "open_helphub";
|
888
|
-
} | {
|
925
|
+
} | ({
|
889
926
|
type: "open_copilot";
|
927
|
+
} & {
|
928
|
+
query?: string | undefined;
|
929
|
+
}) | {
|
930
|
+
type: "no_action";
|
890
931
|
} | undefined;
|
891
932
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
892
933
|
conditional_actions?: {
|
893
934
|
operator: "eq" | "neq" | "gt" | "lt";
|
894
935
|
operand: string | number;
|
895
|
-
action: {
|
936
|
+
action: ({
|
937
|
+
type: "link";
|
938
|
+
value: string;
|
939
|
+
} & {
|
940
|
+
operation?: "self" | "router" | "blank" | undefined;
|
941
|
+
meta?: {
|
942
|
+
command: string;
|
943
|
+
} | undefined;
|
944
|
+
}) | {
|
945
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
946
|
+
value: string[];
|
947
|
+
} | {
|
896
948
|
type: "execute_command";
|
897
949
|
meta: {
|
898
950
|
command: string;
|
899
951
|
} & {
|
900
952
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
901
953
|
};
|
902
|
-
} | {
|
903
|
-
type: "no_action";
|
904
954
|
} | {
|
905
955
|
type: "click";
|
906
956
|
value: string;
|
907
957
|
} | {
|
908
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
909
|
-
value: string[];
|
910
|
-
} | ({
|
911
|
-
type: "link";
|
912
|
-
value: string;
|
913
|
-
} & {
|
914
|
-
operation?: "self" | "router" | "blank" | undefined;
|
915
|
-
meta?: {
|
916
|
-
command: string;
|
917
|
-
} | undefined;
|
918
|
-
}) | {
|
919
958
|
type: "open_chat";
|
920
959
|
meta: {
|
921
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
960
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
961
|
+
};
|
962
|
+
} | {
|
963
|
+
type: "chat_handoff";
|
964
|
+
meta: {
|
965
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
922
966
|
};
|
923
967
|
} | {
|
924
968
|
type: "dismiss";
|
@@ -927,14 +971,14 @@ export declare class ExperienceTemplate {
|
|
927
971
|
} | {
|
928
972
|
type: "questlist";
|
929
973
|
value: number;
|
930
|
-
} | {
|
931
|
-
type: "step_back";
|
932
974
|
} | {
|
933
975
|
type: "nudge";
|
934
976
|
value: number;
|
935
977
|
} | {
|
936
978
|
type: "go_to_step";
|
937
979
|
value: number;
|
980
|
+
} | {
|
981
|
+
type: "step_back";
|
938
982
|
} | ({
|
939
983
|
type: "open_bar";
|
940
984
|
} & {
|
@@ -942,8 +986,12 @@ export declare class ExperienceTemplate {
|
|
942
986
|
categoryFilter?: number | undefined;
|
943
987
|
}) | {
|
944
988
|
type: "open_helphub";
|
945
|
-
} | {
|
989
|
+
} | ({
|
946
990
|
type: "open_copilot";
|
991
|
+
} & {
|
992
|
+
query?: string | undefined;
|
993
|
+
}) | {
|
994
|
+
type: "no_action";
|
947
995
|
};
|
948
996
|
}[] | undefined;
|
949
997
|
} | null;
|
@@ -1052,6 +1100,9 @@ export declare class ExperienceTemplate {
|
|
1052
1100
|
x: string;
|
1053
1101
|
y: string;
|
1054
1102
|
} | undefined;
|
1103
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1104
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1105
|
+
copilot_intro?: boolean | undefined;
|
1055
1106
|
}) | {
|
1056
1107
|
type: "tooltip";
|
1057
1108
|
anchor: string;
|
@@ -1060,7 +1111,7 @@ export declare class ExperienceTemplate {
|
|
1060
1111
|
type: "beacon";
|
1061
1112
|
} | {
|
1062
1113
|
type: "icon";
|
1063
|
-
icon: "
|
1114
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1064
1115
|
} | {
|
1065
1116
|
type: "image";
|
1066
1117
|
source: string;
|
@@ -1206,33 +1257,36 @@ export declare class ExperienceTemplate {
|
|
1206
1257
|
sort_key: number | undefined;
|
1207
1258
|
meta: {
|
1208
1259
|
label?: string | undefined;
|
1209
|
-
action?: {
|
1260
|
+
action?: ({
|
1261
|
+
type: "link";
|
1262
|
+
value: string;
|
1263
|
+
} & {
|
1264
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1265
|
+
meta?: {
|
1266
|
+
command: string;
|
1267
|
+
} | undefined;
|
1268
|
+
}) | {
|
1269
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1270
|
+
value: string[];
|
1271
|
+
} | {
|
1210
1272
|
type: "execute_command";
|
1211
1273
|
meta: {
|
1212
1274
|
command: string;
|
1213
1275
|
} & {
|
1214
1276
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1215
1277
|
};
|
1216
|
-
} | {
|
1217
|
-
type: "no_action";
|
1218
1278
|
} | {
|
1219
1279
|
type: "click";
|
1220
1280
|
value: string;
|
1221
1281
|
} | {
|
1222
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1223
|
-
value: string[];
|
1224
|
-
} | ({
|
1225
|
-
type: "link";
|
1226
|
-
value: string;
|
1227
|
-
} & {
|
1228
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1229
|
-
meta?: {
|
1230
|
-
command: string;
|
1231
|
-
} | undefined;
|
1232
|
-
}) | {
|
1233
1282
|
type: "open_chat";
|
1234
1283
|
meta: {
|
1235
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1284
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1285
|
+
};
|
1286
|
+
} | {
|
1287
|
+
type: "chat_handoff";
|
1288
|
+
meta: {
|
1289
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1236
1290
|
};
|
1237
1291
|
} | {
|
1238
1292
|
type: "dismiss";
|
@@ -1241,14 +1295,14 @@ export declare class ExperienceTemplate {
|
|
1241
1295
|
} | {
|
1242
1296
|
type: "questlist";
|
1243
1297
|
value: number;
|
1244
|
-
} | {
|
1245
|
-
type: "step_back";
|
1246
1298
|
} | {
|
1247
1299
|
type: "nudge";
|
1248
1300
|
value: number;
|
1249
1301
|
} | {
|
1250
1302
|
type: "go_to_step";
|
1251
1303
|
value: number;
|
1304
|
+
} | {
|
1305
|
+
type: "step_back";
|
1252
1306
|
} | ({
|
1253
1307
|
type: "open_bar";
|
1254
1308
|
} & {
|
@@ -1256,40 +1310,47 @@ export declare class ExperienceTemplate {
|
|
1256
1310
|
categoryFilter?: number | undefined;
|
1257
1311
|
}) | {
|
1258
1312
|
type: "open_helphub";
|
1259
|
-
} | {
|
1313
|
+
} | ({
|
1260
1314
|
type: "open_copilot";
|
1315
|
+
} & {
|
1316
|
+
query?: string | undefined;
|
1317
|
+
}) | {
|
1318
|
+
type: "no_action";
|
1261
1319
|
} | undefined;
|
1262
1320
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1263
1321
|
conditional_actions?: {
|
1264
1322
|
operator: "eq" | "neq" | "gt" | "lt";
|
1265
1323
|
operand: string | number;
|
1266
|
-
action: {
|
1324
|
+
action: ({
|
1325
|
+
type: "link";
|
1326
|
+
value: string;
|
1327
|
+
} & {
|
1328
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1329
|
+
meta?: {
|
1330
|
+
command: string;
|
1331
|
+
} | undefined;
|
1332
|
+
}) | {
|
1333
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1334
|
+
value: string[];
|
1335
|
+
} | {
|
1267
1336
|
type: "execute_command";
|
1268
1337
|
meta: {
|
1269
1338
|
command: string;
|
1270
1339
|
} & {
|
1271
1340
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1272
1341
|
};
|
1273
|
-
} | {
|
1274
|
-
type: "no_action";
|
1275
1342
|
} | {
|
1276
1343
|
type: "click";
|
1277
1344
|
value: string;
|
1278
1345
|
} | {
|
1279
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1280
|
-
value: string[];
|
1281
|
-
} | ({
|
1282
|
-
type: "link";
|
1283
|
-
value: string;
|
1284
|
-
} & {
|
1285
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1286
|
-
meta?: {
|
1287
|
-
command: string;
|
1288
|
-
} | undefined;
|
1289
|
-
}) | {
|
1290
1346
|
type: "open_chat";
|
1291
1347
|
meta: {
|
1292
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1348
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1349
|
+
};
|
1350
|
+
} | {
|
1351
|
+
type: "chat_handoff";
|
1352
|
+
meta: {
|
1353
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1293
1354
|
};
|
1294
1355
|
} | {
|
1295
1356
|
type: "dismiss";
|
@@ -1298,14 +1359,14 @@ export declare class ExperienceTemplate {
|
|
1298
1359
|
} | {
|
1299
1360
|
type: "questlist";
|
1300
1361
|
value: number;
|
1301
|
-
} | {
|
1302
|
-
type: "step_back";
|
1303
1362
|
} | {
|
1304
1363
|
type: "nudge";
|
1305
1364
|
value: number;
|
1306
1365
|
} | {
|
1307
1366
|
type: "go_to_step";
|
1308
1367
|
value: number;
|
1368
|
+
} | {
|
1369
|
+
type: "step_back";
|
1309
1370
|
} | ({
|
1310
1371
|
type: "open_bar";
|
1311
1372
|
} & {
|
@@ -1313,8 +1374,12 @@ export declare class ExperienceTemplate {
|
|
1313
1374
|
categoryFilter?: number | undefined;
|
1314
1375
|
}) | {
|
1315
1376
|
type: "open_helphub";
|
1316
|
-
} | {
|
1377
|
+
} | ({
|
1317
1378
|
type: "open_copilot";
|
1379
|
+
} & {
|
1380
|
+
query?: string | undefined;
|
1381
|
+
}) | {
|
1382
|
+
type: "no_action";
|
1318
1383
|
};
|
1319
1384
|
}[] | undefined;
|
1320
1385
|
} | null;
|
@@ -1423,6 +1488,9 @@ export declare class ExperienceTemplate {
|
|
1423
1488
|
x: string;
|
1424
1489
|
y: string;
|
1425
1490
|
} | undefined;
|
1491
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1492
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1493
|
+
copilot_intro?: boolean | undefined;
|
1426
1494
|
}) | {
|
1427
1495
|
type: "tooltip";
|
1428
1496
|
anchor: string;
|
@@ -1431,7 +1499,7 @@ export declare class ExperienceTemplate {
|
|
1431
1499
|
type: "beacon";
|
1432
1500
|
} | {
|
1433
1501
|
type: "icon";
|
1434
|
-
icon: "
|
1502
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1435
1503
|
} | {
|
1436
1504
|
type: "image";
|
1437
1505
|
source: string;
|
@@ -1578,33 +1646,36 @@ export declare class ExperienceTemplate {
|
|
1578
1646
|
sort_key: number | undefined;
|
1579
1647
|
meta: {
|
1580
1648
|
label?: string | undefined;
|
1581
|
-
action?: {
|
1649
|
+
action?: ({
|
1650
|
+
type: "link";
|
1651
|
+
value: string;
|
1652
|
+
} & {
|
1653
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1654
|
+
meta?: {
|
1655
|
+
command: string;
|
1656
|
+
} | undefined;
|
1657
|
+
}) | {
|
1658
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1659
|
+
value: string[];
|
1660
|
+
} | {
|
1582
1661
|
type: "execute_command";
|
1583
1662
|
meta: {
|
1584
1663
|
command: string;
|
1585
1664
|
} & {
|
1586
1665
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1587
1666
|
};
|
1588
|
-
} | {
|
1589
|
-
type: "no_action";
|
1590
1667
|
} | {
|
1591
1668
|
type: "click";
|
1592
1669
|
value: string;
|
1593
1670
|
} | {
|
1594
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1595
|
-
value: string[];
|
1596
|
-
} | ({
|
1597
|
-
type: "link";
|
1598
|
-
value: string;
|
1599
|
-
} & {
|
1600
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1601
|
-
meta?: {
|
1602
|
-
command: string;
|
1603
|
-
} | undefined;
|
1604
|
-
}) | {
|
1605
1671
|
type: "open_chat";
|
1606
1672
|
meta: {
|
1607
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1673
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1674
|
+
};
|
1675
|
+
} | {
|
1676
|
+
type: "chat_handoff";
|
1677
|
+
meta: {
|
1678
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1608
1679
|
};
|
1609
1680
|
} | {
|
1610
1681
|
type: "dismiss";
|
@@ -1613,14 +1684,14 @@ export declare class ExperienceTemplate {
|
|
1613
1684
|
} | {
|
1614
1685
|
type: "questlist";
|
1615
1686
|
value: number;
|
1616
|
-
} | {
|
1617
|
-
type: "step_back";
|
1618
1687
|
} | {
|
1619
1688
|
type: "nudge";
|
1620
1689
|
value: number;
|
1621
1690
|
} | {
|
1622
1691
|
type: "go_to_step";
|
1623
1692
|
value: number;
|
1693
|
+
} | {
|
1694
|
+
type: "step_back";
|
1624
1695
|
} | ({
|
1625
1696
|
type: "open_bar";
|
1626
1697
|
} & {
|
@@ -1628,40 +1699,47 @@ export declare class ExperienceTemplate {
|
|
1628
1699
|
categoryFilter?: number | undefined;
|
1629
1700
|
}) | {
|
1630
1701
|
type: "open_helphub";
|
1631
|
-
} | {
|
1702
|
+
} | ({
|
1632
1703
|
type: "open_copilot";
|
1704
|
+
} & {
|
1705
|
+
query?: string | undefined;
|
1706
|
+
}) | {
|
1707
|
+
type: "no_action";
|
1633
1708
|
} | undefined;
|
1634
1709
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1635
1710
|
conditional_actions?: {
|
1636
1711
|
operator: "eq" | "neq" | "gt" | "lt";
|
1637
1712
|
operand: string | number;
|
1638
|
-
action: {
|
1713
|
+
action: ({
|
1714
|
+
type: "link";
|
1715
|
+
value: string;
|
1716
|
+
} & {
|
1717
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1718
|
+
meta?: {
|
1719
|
+
command: string;
|
1720
|
+
} | undefined;
|
1721
|
+
}) | {
|
1722
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1723
|
+
value: string[];
|
1724
|
+
} | {
|
1639
1725
|
type: "execute_command";
|
1640
1726
|
meta: {
|
1641
1727
|
command: string;
|
1642
1728
|
} & {
|
1643
1729
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1644
1730
|
};
|
1645
|
-
} | {
|
1646
|
-
type: "no_action";
|
1647
1731
|
} | {
|
1648
1732
|
type: "click";
|
1649
1733
|
value: string;
|
1650
1734
|
} | {
|
1651
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1652
|
-
value: string[];
|
1653
|
-
} | ({
|
1654
|
-
type: "link";
|
1655
|
-
value: string;
|
1656
|
-
} & {
|
1657
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1658
|
-
meta?: {
|
1659
|
-
command: string;
|
1660
|
-
} | undefined;
|
1661
|
-
}) | {
|
1662
1735
|
type: "open_chat";
|
1663
1736
|
meta: {
|
1664
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1737
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1738
|
+
};
|
1739
|
+
} | {
|
1740
|
+
type: "chat_handoff";
|
1741
|
+
meta: {
|
1742
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1665
1743
|
};
|
1666
1744
|
} | {
|
1667
1745
|
type: "dismiss";
|
@@ -1670,14 +1748,14 @@ export declare class ExperienceTemplate {
|
|
1670
1748
|
} | {
|
1671
1749
|
type: "questlist";
|
1672
1750
|
value: number;
|
1673
|
-
} | {
|
1674
|
-
type: "step_back";
|
1675
1751
|
} | {
|
1676
1752
|
type: "nudge";
|
1677
1753
|
value: number;
|
1678
1754
|
} | {
|
1679
1755
|
type: "go_to_step";
|
1680
1756
|
value: number;
|
1757
|
+
} | {
|
1758
|
+
type: "step_back";
|
1681
1759
|
} | ({
|
1682
1760
|
type: "open_bar";
|
1683
1761
|
} & {
|
@@ -1685,8 +1763,12 @@ export declare class ExperienceTemplate {
|
|
1685
1763
|
categoryFilter?: number | undefined;
|
1686
1764
|
}) | {
|
1687
1765
|
type: "open_helphub";
|
1688
|
-
} | {
|
1766
|
+
} | ({
|
1689
1767
|
type: "open_copilot";
|
1768
|
+
} & {
|
1769
|
+
query?: string | undefined;
|
1770
|
+
}) | {
|
1771
|
+
type: "no_action";
|
1690
1772
|
};
|
1691
1773
|
}[] | undefined;
|
1692
1774
|
} | null;
|
@@ -1795,6 +1877,9 @@ export declare class ExperienceTemplate {
|
|
1795
1877
|
x: string;
|
1796
1878
|
y: string;
|
1797
1879
|
} | undefined;
|
1880
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1881
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1882
|
+
copilot_intro?: boolean | undefined;
|
1798
1883
|
}) | {
|
1799
1884
|
type: "tooltip";
|
1800
1885
|
anchor: string;
|
@@ -1803,7 +1888,7 @@ export declare class ExperienceTemplate {
|
|
1803
1888
|
type: "beacon";
|
1804
1889
|
} | {
|
1805
1890
|
type: "icon";
|
1806
|
-
icon: "
|
1891
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1807
1892
|
} | {
|
1808
1893
|
type: "image";
|
1809
1894
|
source: string;
|
@@ -1949,33 +2034,36 @@ export declare class ExperienceTemplate {
|
|
1949
2034
|
sort_key: number | undefined;
|
1950
2035
|
meta: {
|
1951
2036
|
label?: string | undefined;
|
1952
|
-
action?: {
|
2037
|
+
action?: ({
|
2038
|
+
type: "link";
|
2039
|
+
value: string;
|
2040
|
+
} & {
|
2041
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2042
|
+
meta?: {
|
2043
|
+
command: string;
|
2044
|
+
} | undefined;
|
2045
|
+
}) | {
|
2046
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2047
|
+
value: string[];
|
2048
|
+
} | {
|
1953
2049
|
type: "execute_command";
|
1954
2050
|
meta: {
|
1955
2051
|
command: string;
|
1956
2052
|
} & {
|
1957
2053
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1958
2054
|
};
|
1959
|
-
} | {
|
1960
|
-
type: "no_action";
|
1961
2055
|
} | {
|
1962
2056
|
type: "click";
|
1963
2057
|
value: string;
|
1964
2058
|
} | {
|
1965
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1966
|
-
value: string[];
|
1967
|
-
} | ({
|
1968
|
-
type: "link";
|
1969
|
-
value: string;
|
1970
|
-
} & {
|
1971
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1972
|
-
meta?: {
|
1973
|
-
command: string;
|
1974
|
-
} | undefined;
|
1975
|
-
}) | {
|
1976
2059
|
type: "open_chat";
|
1977
2060
|
meta: {
|
1978
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2061
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2062
|
+
};
|
2063
|
+
} | {
|
2064
|
+
type: "chat_handoff";
|
2065
|
+
meta: {
|
2066
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1979
2067
|
};
|
1980
2068
|
} | {
|
1981
2069
|
type: "dismiss";
|
@@ -1984,14 +2072,14 @@ export declare class ExperienceTemplate {
|
|
1984
2072
|
} | {
|
1985
2073
|
type: "questlist";
|
1986
2074
|
value: number;
|
1987
|
-
} | {
|
1988
|
-
type: "step_back";
|
1989
2075
|
} | {
|
1990
2076
|
type: "nudge";
|
1991
2077
|
value: number;
|
1992
2078
|
} | {
|
1993
2079
|
type: "go_to_step";
|
1994
2080
|
value: number;
|
2081
|
+
} | {
|
2082
|
+
type: "step_back";
|
1995
2083
|
} | ({
|
1996
2084
|
type: "open_bar";
|
1997
2085
|
} & {
|
@@ -1999,40 +2087,47 @@ export declare class ExperienceTemplate {
|
|
1999
2087
|
categoryFilter?: number | undefined;
|
2000
2088
|
}) | {
|
2001
2089
|
type: "open_helphub";
|
2002
|
-
} | {
|
2090
|
+
} | ({
|
2003
2091
|
type: "open_copilot";
|
2092
|
+
} & {
|
2093
|
+
query?: string | undefined;
|
2094
|
+
}) | {
|
2095
|
+
type: "no_action";
|
2004
2096
|
} | undefined;
|
2005
2097
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2006
2098
|
conditional_actions?: {
|
2007
2099
|
operator: "eq" | "neq" | "gt" | "lt";
|
2008
2100
|
operand: string | number;
|
2009
|
-
action: {
|
2101
|
+
action: ({
|
2102
|
+
type: "link";
|
2103
|
+
value: string;
|
2104
|
+
} & {
|
2105
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2106
|
+
meta?: {
|
2107
|
+
command: string;
|
2108
|
+
} | undefined;
|
2109
|
+
}) | {
|
2110
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2111
|
+
value: string[];
|
2112
|
+
} | {
|
2010
2113
|
type: "execute_command";
|
2011
2114
|
meta: {
|
2012
2115
|
command: string;
|
2013
2116
|
} & {
|
2014
2117
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2015
2118
|
};
|
2016
|
-
} | {
|
2017
|
-
type: "no_action";
|
2018
2119
|
} | {
|
2019
2120
|
type: "click";
|
2020
2121
|
value: string;
|
2021
2122
|
} | {
|
2022
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2023
|
-
value: string[];
|
2024
|
-
} | ({
|
2025
|
-
type: "link";
|
2026
|
-
value: string;
|
2027
|
-
} & {
|
2028
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2029
|
-
meta?: {
|
2030
|
-
command: string;
|
2031
|
-
} | undefined;
|
2032
|
-
}) | {
|
2033
2123
|
type: "open_chat";
|
2034
2124
|
meta: {
|
2035
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2125
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2126
|
+
};
|
2127
|
+
} | {
|
2128
|
+
type: "chat_handoff";
|
2129
|
+
meta: {
|
2130
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2036
2131
|
};
|
2037
2132
|
} | {
|
2038
2133
|
type: "dismiss";
|
@@ -2041,14 +2136,14 @@ export declare class ExperienceTemplate {
|
|
2041
2136
|
} | {
|
2042
2137
|
type: "questlist";
|
2043
2138
|
value: number;
|
2044
|
-
} | {
|
2045
|
-
type: "step_back";
|
2046
2139
|
} | {
|
2047
2140
|
type: "nudge";
|
2048
2141
|
value: number;
|
2049
2142
|
} | {
|
2050
2143
|
type: "go_to_step";
|
2051
2144
|
value: number;
|
2145
|
+
} | {
|
2146
|
+
type: "step_back";
|
2052
2147
|
} | ({
|
2053
2148
|
type: "open_bar";
|
2054
2149
|
} & {
|
@@ -2056,8 +2151,12 @@ export declare class ExperienceTemplate {
|
|
2056
2151
|
categoryFilter?: number | undefined;
|
2057
2152
|
}) | {
|
2058
2153
|
type: "open_helphub";
|
2059
|
-
} | {
|
2154
|
+
} | ({
|
2060
2155
|
type: "open_copilot";
|
2156
|
+
} & {
|
2157
|
+
query?: string | undefined;
|
2158
|
+
}) | {
|
2159
|
+
type: "no_action";
|
2061
2160
|
};
|
2062
2161
|
}[] | undefined;
|
2063
2162
|
} | null;
|
@@ -2166,6 +2265,9 @@ export declare class ExperienceTemplate {
|
|
2166
2265
|
x: string;
|
2167
2266
|
y: string;
|
2168
2267
|
} | undefined;
|
2268
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2269
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2270
|
+
copilot_intro?: boolean | undefined;
|
2169
2271
|
}) | {
|
2170
2272
|
type: "tooltip";
|
2171
2273
|
anchor: string;
|
@@ -2174,7 +2276,7 @@ export declare class ExperienceTemplate {
|
|
2174
2276
|
type: "beacon";
|
2175
2277
|
} | {
|
2176
2278
|
type: "icon";
|
2177
|
-
icon: "
|
2279
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2178
2280
|
} | {
|
2179
2281
|
type: "image";
|
2180
2282
|
source: string;
|
@@ -2322,33 +2424,36 @@ export declare class ExperienceTemplate {
|
|
2322
2424
|
sort_key: number | undefined;
|
2323
2425
|
meta: {
|
2324
2426
|
label?: string | undefined;
|
2325
|
-
action?: {
|
2427
|
+
action?: ({
|
2428
|
+
type: "link";
|
2429
|
+
value: string;
|
2430
|
+
} & {
|
2431
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2432
|
+
meta?: {
|
2433
|
+
command: string;
|
2434
|
+
} | undefined;
|
2435
|
+
}) | {
|
2436
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2437
|
+
value: string[];
|
2438
|
+
} | {
|
2326
2439
|
type: "execute_command";
|
2327
2440
|
meta: {
|
2328
2441
|
command: string;
|
2329
2442
|
} & {
|
2330
2443
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2331
2444
|
};
|
2332
|
-
} | {
|
2333
|
-
type: "no_action";
|
2334
2445
|
} | {
|
2335
2446
|
type: "click";
|
2336
2447
|
value: string;
|
2337
2448
|
} | {
|
2338
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2339
|
-
value: string[];
|
2340
|
-
} | ({
|
2341
|
-
type: "link";
|
2342
|
-
value: string;
|
2343
|
-
} & {
|
2344
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2345
|
-
meta?: {
|
2346
|
-
command: string;
|
2347
|
-
} | undefined;
|
2348
|
-
}) | {
|
2349
2449
|
type: "open_chat";
|
2350
2450
|
meta: {
|
2351
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2451
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2452
|
+
};
|
2453
|
+
} | {
|
2454
|
+
type: "chat_handoff";
|
2455
|
+
meta: {
|
2456
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2352
2457
|
};
|
2353
2458
|
} | {
|
2354
2459
|
type: "dismiss";
|
@@ -2357,14 +2462,14 @@ export declare class ExperienceTemplate {
|
|
2357
2462
|
} | {
|
2358
2463
|
type: "questlist";
|
2359
2464
|
value: number;
|
2360
|
-
} | {
|
2361
|
-
type: "step_back";
|
2362
2465
|
} | {
|
2363
2466
|
type: "nudge";
|
2364
2467
|
value: number;
|
2365
2468
|
} | {
|
2366
2469
|
type: "go_to_step";
|
2367
2470
|
value: number;
|
2471
|
+
} | {
|
2472
|
+
type: "step_back";
|
2368
2473
|
} | ({
|
2369
2474
|
type: "open_bar";
|
2370
2475
|
} & {
|
@@ -2372,40 +2477,47 @@ export declare class ExperienceTemplate {
|
|
2372
2477
|
categoryFilter?: number | undefined;
|
2373
2478
|
}) | {
|
2374
2479
|
type: "open_helphub";
|
2375
|
-
} | {
|
2480
|
+
} | ({
|
2376
2481
|
type: "open_copilot";
|
2482
|
+
} & {
|
2483
|
+
query?: string | undefined;
|
2484
|
+
}) | {
|
2485
|
+
type: "no_action";
|
2377
2486
|
} | undefined;
|
2378
2487
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2379
2488
|
conditional_actions?: {
|
2380
2489
|
operator: "eq" | "neq" | "gt" | "lt";
|
2381
2490
|
operand: string | number;
|
2382
|
-
action: {
|
2491
|
+
action: ({
|
2492
|
+
type: "link";
|
2493
|
+
value: string;
|
2494
|
+
} & {
|
2495
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2496
|
+
meta?: {
|
2497
|
+
command: string;
|
2498
|
+
} | undefined;
|
2499
|
+
}) | {
|
2500
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2501
|
+
value: string[];
|
2502
|
+
} | {
|
2383
2503
|
type: "execute_command";
|
2384
2504
|
meta: {
|
2385
2505
|
command: string;
|
2386
2506
|
} & {
|
2387
2507
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2388
2508
|
};
|
2389
|
-
} | {
|
2390
|
-
type: "no_action";
|
2391
2509
|
} | {
|
2392
2510
|
type: "click";
|
2393
2511
|
value: string;
|
2394
2512
|
} | {
|
2395
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2396
|
-
value: string[];
|
2397
|
-
} | ({
|
2398
|
-
type: "link";
|
2399
|
-
value: string;
|
2400
|
-
} & {
|
2401
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2402
|
-
meta?: {
|
2403
|
-
command: string;
|
2404
|
-
} | undefined;
|
2405
|
-
}) | {
|
2406
2513
|
type: "open_chat";
|
2407
2514
|
meta: {
|
2408
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2515
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2516
|
+
};
|
2517
|
+
} | {
|
2518
|
+
type: "chat_handoff";
|
2519
|
+
meta: {
|
2520
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2409
2521
|
};
|
2410
2522
|
} | {
|
2411
2523
|
type: "dismiss";
|
@@ -2414,14 +2526,14 @@ export declare class ExperienceTemplate {
|
|
2414
2526
|
} | {
|
2415
2527
|
type: "questlist";
|
2416
2528
|
value: number;
|
2417
|
-
} | {
|
2418
|
-
type: "step_back";
|
2419
2529
|
} | {
|
2420
2530
|
type: "nudge";
|
2421
2531
|
value: number;
|
2422
2532
|
} | {
|
2423
2533
|
type: "go_to_step";
|
2424
2534
|
value: number;
|
2535
|
+
} | {
|
2536
|
+
type: "step_back";
|
2425
2537
|
} | ({
|
2426
2538
|
type: "open_bar";
|
2427
2539
|
} & {
|
@@ -2429,8 +2541,12 @@ export declare class ExperienceTemplate {
|
|
2429
2541
|
categoryFilter?: number | undefined;
|
2430
2542
|
}) | {
|
2431
2543
|
type: "open_helphub";
|
2432
|
-
} | {
|
2544
|
+
} | ({
|
2433
2545
|
type: "open_copilot";
|
2546
|
+
} & {
|
2547
|
+
query?: string | undefined;
|
2548
|
+
}) | {
|
2549
|
+
type: "no_action";
|
2434
2550
|
};
|
2435
2551
|
}[] | undefined;
|
2436
2552
|
} | null;
|
@@ -2539,6 +2655,9 @@ export declare class ExperienceTemplate {
|
|
2539
2655
|
x: string;
|
2540
2656
|
y: string;
|
2541
2657
|
} | undefined;
|
2658
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2659
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2660
|
+
copilot_intro?: boolean | undefined;
|
2542
2661
|
}) | {
|
2543
2662
|
type: "tooltip";
|
2544
2663
|
anchor: string;
|
@@ -2547,7 +2666,7 @@ export declare class ExperienceTemplate {
|
|
2547
2666
|
type: "beacon";
|
2548
2667
|
} | {
|
2549
2668
|
type: "icon";
|
2550
|
-
icon: "
|
2669
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2551
2670
|
} | {
|
2552
2671
|
type: "image";
|
2553
2672
|
source: string;
|
@@ -2697,33 +2816,36 @@ export declare class ExperienceTemplate {
|
|
2697
2816
|
sort_key: number | undefined;
|
2698
2817
|
meta: {
|
2699
2818
|
label?: string | undefined;
|
2700
|
-
action?: {
|
2819
|
+
action?: ({
|
2820
|
+
type: "link";
|
2821
|
+
value: string;
|
2822
|
+
} & {
|
2823
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2824
|
+
meta?: {
|
2825
|
+
command: string;
|
2826
|
+
} | undefined;
|
2827
|
+
}) | {
|
2828
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2829
|
+
value: string[];
|
2830
|
+
} | {
|
2701
2831
|
type: "execute_command";
|
2702
2832
|
meta: {
|
2703
2833
|
command: string;
|
2704
2834
|
} & {
|
2705
2835
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2706
2836
|
};
|
2707
|
-
} | {
|
2708
|
-
type: "no_action";
|
2709
2837
|
} | {
|
2710
2838
|
type: "click";
|
2711
2839
|
value: string;
|
2712
2840
|
} | {
|
2713
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2714
|
-
value: string[];
|
2715
|
-
} | ({
|
2716
|
-
type: "link";
|
2717
|
-
value: string;
|
2718
|
-
} & {
|
2719
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2720
|
-
meta?: {
|
2721
|
-
command: string;
|
2722
|
-
} | undefined;
|
2723
|
-
}) | {
|
2724
2841
|
type: "open_chat";
|
2725
2842
|
meta: {
|
2726
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2843
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2844
|
+
};
|
2845
|
+
} | {
|
2846
|
+
type: "chat_handoff";
|
2847
|
+
meta: {
|
2848
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2727
2849
|
};
|
2728
2850
|
} | {
|
2729
2851
|
type: "dismiss";
|
@@ -2732,14 +2854,14 @@ export declare class ExperienceTemplate {
|
|
2732
2854
|
} | {
|
2733
2855
|
type: "questlist";
|
2734
2856
|
value: number;
|
2735
|
-
} | {
|
2736
|
-
type: "step_back";
|
2737
2857
|
} | {
|
2738
2858
|
type: "nudge";
|
2739
2859
|
value: number;
|
2740
2860
|
} | {
|
2741
2861
|
type: "go_to_step";
|
2742
2862
|
value: number;
|
2863
|
+
} | {
|
2864
|
+
type: "step_back";
|
2743
2865
|
} | ({
|
2744
2866
|
type: "open_bar";
|
2745
2867
|
} & {
|
@@ -2747,40 +2869,47 @@ export declare class ExperienceTemplate {
|
|
2747
2869
|
categoryFilter?: number | undefined;
|
2748
2870
|
}) | {
|
2749
2871
|
type: "open_helphub";
|
2750
|
-
} | {
|
2872
|
+
} | ({
|
2751
2873
|
type: "open_copilot";
|
2874
|
+
} & {
|
2875
|
+
query?: string | undefined;
|
2876
|
+
}) | {
|
2877
|
+
type: "no_action";
|
2752
2878
|
} | undefined;
|
2753
2879
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2754
2880
|
conditional_actions?: {
|
2755
2881
|
operator: "eq" | "neq" | "gt" | "lt";
|
2756
2882
|
operand: string | number;
|
2757
|
-
action: {
|
2883
|
+
action: ({
|
2884
|
+
type: "link";
|
2885
|
+
value: string;
|
2886
|
+
} & {
|
2887
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2888
|
+
meta?: {
|
2889
|
+
command: string;
|
2890
|
+
} | undefined;
|
2891
|
+
}) | {
|
2892
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2893
|
+
value: string[];
|
2894
|
+
} | {
|
2758
2895
|
type: "execute_command";
|
2759
2896
|
meta: {
|
2760
2897
|
command: string;
|
2761
2898
|
} & {
|
2762
2899
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2763
2900
|
};
|
2764
|
-
} | {
|
2765
|
-
type: "no_action";
|
2766
2901
|
} | {
|
2767
2902
|
type: "click";
|
2768
2903
|
value: string;
|
2769
2904
|
} | {
|
2770
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2771
|
-
value: string[];
|
2772
|
-
} | ({
|
2773
|
-
type: "link";
|
2774
|
-
value: string;
|
2775
|
-
} & {
|
2776
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2777
|
-
meta?: {
|
2778
|
-
command: string;
|
2779
|
-
} | undefined;
|
2780
|
-
}) | {
|
2781
2905
|
type: "open_chat";
|
2782
2906
|
meta: {
|
2783
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2907
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2908
|
+
};
|
2909
|
+
} | {
|
2910
|
+
type: "chat_handoff";
|
2911
|
+
meta: {
|
2912
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2784
2913
|
};
|
2785
2914
|
} | {
|
2786
2915
|
type: "dismiss";
|
@@ -2789,14 +2918,14 @@ export declare class ExperienceTemplate {
|
|
2789
2918
|
} | {
|
2790
2919
|
type: "questlist";
|
2791
2920
|
value: number;
|
2792
|
-
} | {
|
2793
|
-
type: "step_back";
|
2794
2921
|
} | {
|
2795
2922
|
type: "nudge";
|
2796
2923
|
value: number;
|
2797
2924
|
} | {
|
2798
2925
|
type: "go_to_step";
|
2799
2926
|
value: number;
|
2927
|
+
} | {
|
2928
|
+
type: "step_back";
|
2800
2929
|
} | ({
|
2801
2930
|
type: "open_bar";
|
2802
2931
|
} & {
|
@@ -2804,8 +2933,12 @@ export declare class ExperienceTemplate {
|
|
2804
2933
|
categoryFilter?: number | undefined;
|
2805
2934
|
}) | {
|
2806
2935
|
type: "open_helphub";
|
2807
|
-
} | {
|
2936
|
+
} | ({
|
2808
2937
|
type: "open_copilot";
|
2938
|
+
} & {
|
2939
|
+
query?: string | undefined;
|
2940
|
+
}) | {
|
2941
|
+
type: "no_action";
|
2809
2942
|
};
|
2810
2943
|
}[] | undefined;
|
2811
2944
|
} | null;
|
@@ -2914,6 +3047,9 @@ export declare class ExperienceTemplate {
|
|
2914
3047
|
x: string;
|
2915
3048
|
y: string;
|
2916
3049
|
} | undefined;
|
3050
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
3051
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
3052
|
+
copilot_intro?: boolean | undefined;
|
2917
3053
|
}) | {
|
2918
3054
|
type: "tooltip";
|
2919
3055
|
anchor: string;
|
@@ -2922,7 +3058,7 @@ export declare class ExperienceTemplate {
|
|
2922
3058
|
type: "beacon";
|
2923
3059
|
} | {
|
2924
3060
|
type: "icon";
|
2925
|
-
icon: "
|
3061
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2926
3062
|
} | {
|
2927
3063
|
type: "image";
|
2928
3064
|
source: string;
|