commandbar 1.12.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/commandbar-js/src/snippet.d.ts +0 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +5 -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 +7 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +104 -12
- package/build/internal/src/middleware/additionalResource.d.ts +208 -118
- package/build/internal/src/middleware/api.d.ts +7 -7
- package/build/internal/src/middleware/chat.d.ts +23641 -12011
- package/build/internal/src/middleware/checklist.d.ts +221 -121
- package/build/internal/src/middleware/command.d.ts +2611 -2021
- package/build/internal/src/middleware/endUser.d.ts +0 -32
- package/build/internal/src/middleware/experienceTemplate.d.ts +407 -223
- package/build/internal/src/middleware/experiencesSearch.d.ts +818 -657
- package/build/internal/src/middleware/flags.d.ts +9 -8
- package/build/internal/src/middleware/helpDocsSearch.d.ts +586 -471
- package/build/internal/src/middleware/helpers/actions.d.ts +83 -30
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +32 -6
- package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
- package/build/internal/src/middleware/keyword.d.ts +82 -0
- package/build/internal/src/middleware/network.d.ts +2 -2
- package/build/internal/src/middleware/nudge.d.ts +520 -247
- package/build/internal/src/middleware/organization.d.ts +886 -607
- package/build/internal/src/middleware/organizationSettings.d.ts +282 -114
- package/build/internal/src/middleware/profile.d.ts +1 -1
- package/build/internal/src/middleware/recommendationSet.d.ts +208 -118
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +21 -20
- package/package.json +1 -1
- package/src/init.ts +13 -2
- package/src/snippet.ts +1 -14
- 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 -54
- 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
@@ -110,10 +110,18 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
110
110
|
value: t.StringC;
|
111
111
|
}>, t.PartialC<{
|
112
112
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
113
|
+
meta: t.TypeC<{
|
114
|
+
command: t.StringC;
|
115
|
+
}>;
|
113
116
|
}>]>, t.TypeC<{
|
114
117
|
type: t.LiteralC<"open_chat">;
|
115
118
|
meta: t.TypeC<{
|
116
|
-
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<"zendesk_handoff">, t.LiteralC<"">]>;
|
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
|
+
}>;
|
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<"">]>;
|
117
125
|
}>;
|
118
126
|
}>, t.TypeC<{
|
119
127
|
type: t.LiteralC<"dismiss">;
|
@@ -137,9 +145,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
137
145
|
categoryFilter: t.NumberC;
|
138
146
|
}>]>, t.TypeC<{
|
139
147
|
type: t.LiteralC<"open_helphub">;
|
140
|
-
}>, t.TypeC<{
|
148
|
+
}>, t.IntersectionC<[t.TypeC<{
|
141
149
|
type: t.LiteralC<"open_copilot">;
|
142
|
-
}
|
150
|
+
}>, t.PartialC<{
|
151
|
+
query: t.StringC;
|
152
|
+
}>]>]>;
|
143
153
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
144
154
|
conditional_actions: t.ArrayC<t.TypeC<{
|
145
155
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -164,10 +174,18 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
164
174
|
value: t.StringC;
|
165
175
|
}>, t.PartialC<{
|
166
176
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
177
|
+
meta: t.TypeC<{
|
178
|
+
command: t.StringC;
|
179
|
+
}>;
|
167
180
|
}>]>, t.TypeC<{
|
168
181
|
type: t.LiteralC<"open_chat">;
|
169
182
|
meta: t.TypeC<{
|
170
|
-
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<"zendesk_handoff">, t.LiteralC<"">]>;
|
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<"">]>;
|
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<"">]>;
|
171
189
|
}>;
|
172
190
|
}>, t.TypeC<{
|
173
191
|
type: t.LiteralC<"dismiss">;
|
@@ -191,9 +209,11 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
191
209
|
categoryFilter: t.NumberC;
|
192
210
|
}>]>, t.TypeC<{
|
193
211
|
type: t.LiteralC<"open_helphub">;
|
194
|
-
}>, t.TypeC<{
|
212
|
+
}>, t.IntersectionC<[t.TypeC<{
|
195
213
|
type: t.LiteralC<"open_copilot">;
|
196
|
-
}
|
214
|
+
}>, t.PartialC<{
|
215
|
+
query: t.StringC;
|
216
|
+
}>]>]>;
|
197
217
|
}>>;
|
198
218
|
}>, t.NullC]>;
|
199
219
|
}>, t.TypeC<{
|
@@ -301,6 +321,9 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
301
321
|
x: t.StringC;
|
302
322
|
y: t.StringC;
|
303
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;
|
304
327
|
}>]>, t.TypeC<{
|
305
328
|
type: t.LiteralC<"tooltip">;
|
306
329
|
anchor: t.StringC;
|
@@ -457,30 +480,36 @@ export declare class ExperienceTemplate {
|
|
457
480
|
sort_key: number | undefined;
|
458
481
|
meta: {
|
459
482
|
label?: string | undefined;
|
460
|
-
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
|
+
} | {
|
461
495
|
type: "execute_command";
|
462
496
|
meta: {
|
463
497
|
command: string;
|
464
498
|
} & {
|
465
499
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
466
500
|
};
|
467
|
-
} | {
|
468
|
-
type: "no_action";
|
469
501
|
} | {
|
470
502
|
type: "click";
|
471
503
|
value: string;
|
472
504
|
} | {
|
473
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
474
|
-
value: string[];
|
475
|
-
} | ({
|
476
|
-
type: "link";
|
477
|
-
value: string;
|
478
|
-
} & {
|
479
|
-
operation?: "self" | "router" | "blank" | undefined;
|
480
|
-
}) | {
|
481
505
|
type: "open_chat";
|
482
506
|
meta: {
|
483
|
-
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";
|
484
513
|
};
|
485
514
|
} | {
|
486
515
|
type: "dismiss";
|
@@ -489,14 +518,14 @@ export declare class ExperienceTemplate {
|
|
489
518
|
} | {
|
490
519
|
type: "questlist";
|
491
520
|
value: number;
|
492
|
-
} | {
|
493
|
-
type: "step_back";
|
494
521
|
} | {
|
495
522
|
type: "nudge";
|
496
523
|
value: number;
|
497
524
|
} | {
|
498
525
|
type: "go_to_step";
|
499
526
|
value: number;
|
527
|
+
} | {
|
528
|
+
type: "step_back";
|
500
529
|
} | ({
|
501
530
|
type: "open_bar";
|
502
531
|
} & {
|
@@ -504,37 +533,47 @@ export declare class ExperienceTemplate {
|
|
504
533
|
categoryFilter?: number | undefined;
|
505
534
|
}) | {
|
506
535
|
type: "open_helphub";
|
507
|
-
} | {
|
536
|
+
} | ({
|
508
537
|
type: "open_copilot";
|
538
|
+
} & {
|
539
|
+
query?: string | undefined;
|
540
|
+
}) | {
|
541
|
+
type: "no_action";
|
509
542
|
} | undefined;
|
510
543
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
511
544
|
conditional_actions?: {
|
512
545
|
operator: "eq" | "neq" | "gt" | "lt";
|
513
546
|
operand: string | number;
|
514
|
-
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
|
+
} | {
|
515
559
|
type: "execute_command";
|
516
560
|
meta: {
|
517
561
|
command: string;
|
518
562
|
} & {
|
519
563
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
520
564
|
};
|
521
|
-
} | {
|
522
|
-
type: "no_action";
|
523
565
|
} | {
|
524
566
|
type: "click";
|
525
567
|
value: string;
|
526
568
|
} | {
|
527
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
528
|
-
value: string[];
|
529
|
-
} | ({
|
530
|
-
type: "link";
|
531
|
-
value: string;
|
532
|
-
} & {
|
533
|
-
operation?: "self" | "router" | "blank" | undefined;
|
534
|
-
}) | {
|
535
569
|
type: "open_chat";
|
536
570
|
meta: {
|
537
|
-
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";
|
538
577
|
};
|
539
578
|
} | {
|
540
579
|
type: "dismiss";
|
@@ -543,14 +582,14 @@ export declare class ExperienceTemplate {
|
|
543
582
|
} | {
|
544
583
|
type: "questlist";
|
545
584
|
value: number;
|
546
|
-
} | {
|
547
|
-
type: "step_back";
|
548
585
|
} | {
|
549
586
|
type: "nudge";
|
550
587
|
value: number;
|
551
588
|
} | {
|
552
589
|
type: "go_to_step";
|
553
590
|
value: number;
|
591
|
+
} | {
|
592
|
+
type: "step_back";
|
554
593
|
} | ({
|
555
594
|
type: "open_bar";
|
556
595
|
} & {
|
@@ -558,8 +597,12 @@ export declare class ExperienceTemplate {
|
|
558
597
|
categoryFilter?: number | undefined;
|
559
598
|
}) | {
|
560
599
|
type: "open_helphub";
|
561
|
-
} | {
|
600
|
+
} | ({
|
562
601
|
type: "open_copilot";
|
602
|
+
} & {
|
603
|
+
query?: string | undefined;
|
604
|
+
}) | {
|
605
|
+
type: "no_action";
|
563
606
|
};
|
564
607
|
}[] | undefined;
|
565
608
|
} | null;
|
@@ -668,6 +711,9 @@ export declare class ExperienceTemplate {
|
|
668
711
|
x: string;
|
669
712
|
y: string;
|
670
713
|
} | undefined;
|
714
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
715
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
716
|
+
copilot_intro?: boolean | undefined;
|
671
717
|
}) | {
|
672
718
|
type: "tooltip";
|
673
719
|
anchor: string;
|
@@ -676,7 +722,7 @@ export declare class ExperienceTemplate {
|
|
676
722
|
type: "beacon";
|
677
723
|
} | {
|
678
724
|
type: "icon";
|
679
|
-
icon: "
|
725
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
680
726
|
} | {
|
681
727
|
type: "image";
|
682
728
|
source: string;
|
@@ -823,30 +869,36 @@ export declare class ExperienceTemplate {
|
|
823
869
|
sort_key: number | undefined;
|
824
870
|
meta: {
|
825
871
|
label?: string | undefined;
|
826
|
-
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
|
+
} | {
|
827
884
|
type: "execute_command";
|
828
885
|
meta: {
|
829
886
|
command: string;
|
830
887
|
} & {
|
831
888
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
832
889
|
};
|
833
|
-
} | {
|
834
|
-
type: "no_action";
|
835
890
|
} | {
|
836
891
|
type: "click";
|
837
892
|
value: string;
|
838
893
|
} | {
|
839
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
840
|
-
value: string[];
|
841
|
-
} | ({
|
842
|
-
type: "link";
|
843
|
-
value: string;
|
844
|
-
} & {
|
845
|
-
operation?: "self" | "router" | "blank" | undefined;
|
846
|
-
}) | {
|
847
894
|
type: "open_chat";
|
848
895
|
meta: {
|
849
|
-
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";
|
850
902
|
};
|
851
903
|
} | {
|
852
904
|
type: "dismiss";
|
@@ -855,14 +907,14 @@ export declare class ExperienceTemplate {
|
|
855
907
|
} | {
|
856
908
|
type: "questlist";
|
857
909
|
value: number;
|
858
|
-
} | {
|
859
|
-
type: "step_back";
|
860
910
|
} | {
|
861
911
|
type: "nudge";
|
862
912
|
value: number;
|
863
913
|
} | {
|
864
914
|
type: "go_to_step";
|
865
915
|
value: number;
|
916
|
+
} | {
|
917
|
+
type: "step_back";
|
866
918
|
} | ({
|
867
919
|
type: "open_bar";
|
868
920
|
} & {
|
@@ -870,37 +922,47 @@ export declare class ExperienceTemplate {
|
|
870
922
|
categoryFilter?: number | undefined;
|
871
923
|
}) | {
|
872
924
|
type: "open_helphub";
|
873
|
-
} | {
|
925
|
+
} | ({
|
874
926
|
type: "open_copilot";
|
927
|
+
} & {
|
928
|
+
query?: string | undefined;
|
929
|
+
}) | {
|
930
|
+
type: "no_action";
|
875
931
|
} | undefined;
|
876
932
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
877
933
|
conditional_actions?: {
|
878
934
|
operator: "eq" | "neq" | "gt" | "lt";
|
879
935
|
operand: string | number;
|
880
|
-
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
|
+
} | {
|
881
948
|
type: "execute_command";
|
882
949
|
meta: {
|
883
950
|
command: string;
|
884
951
|
} & {
|
885
952
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
886
953
|
};
|
887
|
-
} | {
|
888
|
-
type: "no_action";
|
889
954
|
} | {
|
890
955
|
type: "click";
|
891
956
|
value: string;
|
892
957
|
} | {
|
893
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
894
|
-
value: string[];
|
895
|
-
} | ({
|
896
|
-
type: "link";
|
897
|
-
value: string;
|
898
|
-
} & {
|
899
|
-
operation?: "self" | "router" | "blank" | undefined;
|
900
|
-
}) | {
|
901
958
|
type: "open_chat";
|
902
959
|
meta: {
|
903
|
-
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";
|
904
966
|
};
|
905
967
|
} | {
|
906
968
|
type: "dismiss";
|
@@ -909,14 +971,14 @@ export declare class ExperienceTemplate {
|
|
909
971
|
} | {
|
910
972
|
type: "questlist";
|
911
973
|
value: number;
|
912
|
-
} | {
|
913
|
-
type: "step_back";
|
914
974
|
} | {
|
915
975
|
type: "nudge";
|
916
976
|
value: number;
|
917
977
|
} | {
|
918
978
|
type: "go_to_step";
|
919
979
|
value: number;
|
980
|
+
} | {
|
981
|
+
type: "step_back";
|
920
982
|
} | ({
|
921
983
|
type: "open_bar";
|
922
984
|
} & {
|
@@ -924,8 +986,12 @@ export declare class ExperienceTemplate {
|
|
924
986
|
categoryFilter?: number | undefined;
|
925
987
|
}) | {
|
926
988
|
type: "open_helphub";
|
927
|
-
} | {
|
989
|
+
} | ({
|
928
990
|
type: "open_copilot";
|
991
|
+
} & {
|
992
|
+
query?: string | undefined;
|
993
|
+
}) | {
|
994
|
+
type: "no_action";
|
929
995
|
};
|
930
996
|
}[] | undefined;
|
931
997
|
} | null;
|
@@ -1034,6 +1100,9 @@ export declare class ExperienceTemplate {
|
|
1034
1100
|
x: string;
|
1035
1101
|
y: string;
|
1036
1102
|
} | undefined;
|
1103
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1104
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1105
|
+
copilot_intro?: boolean | undefined;
|
1037
1106
|
}) | {
|
1038
1107
|
type: "tooltip";
|
1039
1108
|
anchor: string;
|
@@ -1042,7 +1111,7 @@ export declare class ExperienceTemplate {
|
|
1042
1111
|
type: "beacon";
|
1043
1112
|
} | {
|
1044
1113
|
type: "icon";
|
1045
|
-
icon: "
|
1114
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1046
1115
|
} | {
|
1047
1116
|
type: "image";
|
1048
1117
|
source: string;
|
@@ -1188,30 +1257,36 @@ export declare class ExperienceTemplate {
|
|
1188
1257
|
sort_key: number | undefined;
|
1189
1258
|
meta: {
|
1190
1259
|
label?: string | undefined;
|
1191
|
-
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
|
+
} | {
|
1192
1272
|
type: "execute_command";
|
1193
1273
|
meta: {
|
1194
1274
|
command: string;
|
1195
1275
|
} & {
|
1196
1276
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1197
1277
|
};
|
1198
|
-
} | {
|
1199
|
-
type: "no_action";
|
1200
1278
|
} | {
|
1201
1279
|
type: "click";
|
1202
1280
|
value: string;
|
1203
1281
|
} | {
|
1204
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1205
|
-
value: string[];
|
1206
|
-
} | ({
|
1207
|
-
type: "link";
|
1208
|
-
value: string;
|
1209
|
-
} & {
|
1210
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1211
|
-
}) | {
|
1212
1282
|
type: "open_chat";
|
1213
1283
|
meta: {
|
1214
|
-
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";
|
1215
1290
|
};
|
1216
1291
|
} | {
|
1217
1292
|
type: "dismiss";
|
@@ -1220,14 +1295,14 @@ export declare class ExperienceTemplate {
|
|
1220
1295
|
} | {
|
1221
1296
|
type: "questlist";
|
1222
1297
|
value: number;
|
1223
|
-
} | {
|
1224
|
-
type: "step_back";
|
1225
1298
|
} | {
|
1226
1299
|
type: "nudge";
|
1227
1300
|
value: number;
|
1228
1301
|
} | {
|
1229
1302
|
type: "go_to_step";
|
1230
1303
|
value: number;
|
1304
|
+
} | {
|
1305
|
+
type: "step_back";
|
1231
1306
|
} | ({
|
1232
1307
|
type: "open_bar";
|
1233
1308
|
} & {
|
@@ -1235,37 +1310,47 @@ export declare class ExperienceTemplate {
|
|
1235
1310
|
categoryFilter?: number | undefined;
|
1236
1311
|
}) | {
|
1237
1312
|
type: "open_helphub";
|
1238
|
-
} | {
|
1313
|
+
} | ({
|
1239
1314
|
type: "open_copilot";
|
1315
|
+
} & {
|
1316
|
+
query?: string | undefined;
|
1317
|
+
}) | {
|
1318
|
+
type: "no_action";
|
1240
1319
|
} | undefined;
|
1241
1320
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1242
1321
|
conditional_actions?: {
|
1243
1322
|
operator: "eq" | "neq" | "gt" | "lt";
|
1244
1323
|
operand: string | number;
|
1245
|
-
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
|
+
} | {
|
1246
1336
|
type: "execute_command";
|
1247
1337
|
meta: {
|
1248
1338
|
command: string;
|
1249
1339
|
} & {
|
1250
1340
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1251
1341
|
};
|
1252
|
-
} | {
|
1253
|
-
type: "no_action";
|
1254
1342
|
} | {
|
1255
1343
|
type: "click";
|
1256
1344
|
value: string;
|
1257
1345
|
} | {
|
1258
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1259
|
-
value: string[];
|
1260
|
-
} | ({
|
1261
|
-
type: "link";
|
1262
|
-
value: string;
|
1263
|
-
} & {
|
1264
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1265
|
-
}) | {
|
1266
1346
|
type: "open_chat";
|
1267
1347
|
meta: {
|
1268
|
-
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";
|
1269
1354
|
};
|
1270
1355
|
} | {
|
1271
1356
|
type: "dismiss";
|
@@ -1274,14 +1359,14 @@ export declare class ExperienceTemplate {
|
|
1274
1359
|
} | {
|
1275
1360
|
type: "questlist";
|
1276
1361
|
value: number;
|
1277
|
-
} | {
|
1278
|
-
type: "step_back";
|
1279
1362
|
} | {
|
1280
1363
|
type: "nudge";
|
1281
1364
|
value: number;
|
1282
1365
|
} | {
|
1283
1366
|
type: "go_to_step";
|
1284
1367
|
value: number;
|
1368
|
+
} | {
|
1369
|
+
type: "step_back";
|
1285
1370
|
} | ({
|
1286
1371
|
type: "open_bar";
|
1287
1372
|
} & {
|
@@ -1289,8 +1374,12 @@ export declare class ExperienceTemplate {
|
|
1289
1374
|
categoryFilter?: number | undefined;
|
1290
1375
|
}) | {
|
1291
1376
|
type: "open_helphub";
|
1292
|
-
} | {
|
1377
|
+
} | ({
|
1293
1378
|
type: "open_copilot";
|
1379
|
+
} & {
|
1380
|
+
query?: string | undefined;
|
1381
|
+
}) | {
|
1382
|
+
type: "no_action";
|
1294
1383
|
};
|
1295
1384
|
}[] | undefined;
|
1296
1385
|
} | null;
|
@@ -1399,6 +1488,9 @@ export declare class ExperienceTemplate {
|
|
1399
1488
|
x: string;
|
1400
1489
|
y: string;
|
1401
1490
|
} | undefined;
|
1491
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1492
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1493
|
+
copilot_intro?: boolean | undefined;
|
1402
1494
|
}) | {
|
1403
1495
|
type: "tooltip";
|
1404
1496
|
anchor: string;
|
@@ -1407,7 +1499,7 @@ export declare class ExperienceTemplate {
|
|
1407
1499
|
type: "beacon";
|
1408
1500
|
} | {
|
1409
1501
|
type: "icon";
|
1410
|
-
icon: "
|
1502
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1411
1503
|
} | {
|
1412
1504
|
type: "image";
|
1413
1505
|
source: string;
|
@@ -1554,30 +1646,36 @@ export declare class ExperienceTemplate {
|
|
1554
1646
|
sort_key: number | undefined;
|
1555
1647
|
meta: {
|
1556
1648
|
label?: string | undefined;
|
1557
|
-
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
|
+
} | {
|
1558
1661
|
type: "execute_command";
|
1559
1662
|
meta: {
|
1560
1663
|
command: string;
|
1561
1664
|
} & {
|
1562
1665
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1563
1666
|
};
|
1564
|
-
} | {
|
1565
|
-
type: "no_action";
|
1566
1667
|
} | {
|
1567
1668
|
type: "click";
|
1568
1669
|
value: string;
|
1569
1670
|
} | {
|
1570
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1571
|
-
value: string[];
|
1572
|
-
} | ({
|
1573
|
-
type: "link";
|
1574
|
-
value: string;
|
1575
|
-
} & {
|
1576
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1577
|
-
}) | {
|
1578
1671
|
type: "open_chat";
|
1579
1672
|
meta: {
|
1580
|
-
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";
|
1581
1679
|
};
|
1582
1680
|
} | {
|
1583
1681
|
type: "dismiss";
|
@@ -1586,14 +1684,14 @@ export declare class ExperienceTemplate {
|
|
1586
1684
|
} | {
|
1587
1685
|
type: "questlist";
|
1588
1686
|
value: number;
|
1589
|
-
} | {
|
1590
|
-
type: "step_back";
|
1591
1687
|
} | {
|
1592
1688
|
type: "nudge";
|
1593
1689
|
value: number;
|
1594
1690
|
} | {
|
1595
1691
|
type: "go_to_step";
|
1596
1692
|
value: number;
|
1693
|
+
} | {
|
1694
|
+
type: "step_back";
|
1597
1695
|
} | ({
|
1598
1696
|
type: "open_bar";
|
1599
1697
|
} & {
|
@@ -1601,37 +1699,47 @@ export declare class ExperienceTemplate {
|
|
1601
1699
|
categoryFilter?: number | undefined;
|
1602
1700
|
}) | {
|
1603
1701
|
type: "open_helphub";
|
1604
|
-
} | {
|
1702
|
+
} | ({
|
1605
1703
|
type: "open_copilot";
|
1704
|
+
} & {
|
1705
|
+
query?: string | undefined;
|
1706
|
+
}) | {
|
1707
|
+
type: "no_action";
|
1606
1708
|
} | undefined;
|
1607
1709
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1608
1710
|
conditional_actions?: {
|
1609
1711
|
operator: "eq" | "neq" | "gt" | "lt";
|
1610
1712
|
operand: string | number;
|
1611
|
-
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
|
+
} | {
|
1612
1725
|
type: "execute_command";
|
1613
1726
|
meta: {
|
1614
1727
|
command: string;
|
1615
1728
|
} & {
|
1616
1729
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1617
1730
|
};
|
1618
|
-
} | {
|
1619
|
-
type: "no_action";
|
1620
1731
|
} | {
|
1621
1732
|
type: "click";
|
1622
1733
|
value: string;
|
1623
1734
|
} | {
|
1624
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1625
|
-
value: string[];
|
1626
|
-
} | ({
|
1627
|
-
type: "link";
|
1628
|
-
value: string;
|
1629
|
-
} & {
|
1630
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1631
|
-
}) | {
|
1632
1735
|
type: "open_chat";
|
1633
1736
|
meta: {
|
1634
|
-
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";
|
1635
1743
|
};
|
1636
1744
|
} | {
|
1637
1745
|
type: "dismiss";
|
@@ -1640,14 +1748,14 @@ export declare class ExperienceTemplate {
|
|
1640
1748
|
} | {
|
1641
1749
|
type: "questlist";
|
1642
1750
|
value: number;
|
1643
|
-
} | {
|
1644
|
-
type: "step_back";
|
1645
1751
|
} | {
|
1646
1752
|
type: "nudge";
|
1647
1753
|
value: number;
|
1648
1754
|
} | {
|
1649
1755
|
type: "go_to_step";
|
1650
1756
|
value: number;
|
1757
|
+
} | {
|
1758
|
+
type: "step_back";
|
1651
1759
|
} | ({
|
1652
1760
|
type: "open_bar";
|
1653
1761
|
} & {
|
@@ -1655,8 +1763,12 @@ export declare class ExperienceTemplate {
|
|
1655
1763
|
categoryFilter?: number | undefined;
|
1656
1764
|
}) | {
|
1657
1765
|
type: "open_helphub";
|
1658
|
-
} | {
|
1766
|
+
} | ({
|
1659
1767
|
type: "open_copilot";
|
1768
|
+
} & {
|
1769
|
+
query?: string | undefined;
|
1770
|
+
}) | {
|
1771
|
+
type: "no_action";
|
1660
1772
|
};
|
1661
1773
|
}[] | undefined;
|
1662
1774
|
} | null;
|
@@ -1765,6 +1877,9 @@ export declare class ExperienceTemplate {
|
|
1765
1877
|
x: string;
|
1766
1878
|
y: string;
|
1767
1879
|
} | undefined;
|
1880
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1881
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1882
|
+
copilot_intro?: boolean | undefined;
|
1768
1883
|
}) | {
|
1769
1884
|
type: "tooltip";
|
1770
1885
|
anchor: string;
|
@@ -1773,7 +1888,7 @@ export declare class ExperienceTemplate {
|
|
1773
1888
|
type: "beacon";
|
1774
1889
|
} | {
|
1775
1890
|
type: "icon";
|
1776
|
-
icon: "
|
1891
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1777
1892
|
} | {
|
1778
1893
|
type: "image";
|
1779
1894
|
source: string;
|
@@ -1919,30 +2034,36 @@ export declare class ExperienceTemplate {
|
|
1919
2034
|
sort_key: number | undefined;
|
1920
2035
|
meta: {
|
1921
2036
|
label?: string | undefined;
|
1922
|
-
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
|
+
} | {
|
1923
2049
|
type: "execute_command";
|
1924
2050
|
meta: {
|
1925
2051
|
command: string;
|
1926
2052
|
} & {
|
1927
2053
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1928
2054
|
};
|
1929
|
-
} | {
|
1930
|
-
type: "no_action";
|
1931
2055
|
} | {
|
1932
2056
|
type: "click";
|
1933
2057
|
value: string;
|
1934
2058
|
} | {
|
1935
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1936
|
-
value: string[];
|
1937
|
-
} | ({
|
1938
|
-
type: "link";
|
1939
|
-
value: string;
|
1940
|
-
} & {
|
1941
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1942
|
-
}) | {
|
1943
2059
|
type: "open_chat";
|
1944
2060
|
meta: {
|
1945
|
-
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";
|
1946
2067
|
};
|
1947
2068
|
} | {
|
1948
2069
|
type: "dismiss";
|
@@ -1951,14 +2072,14 @@ export declare class ExperienceTemplate {
|
|
1951
2072
|
} | {
|
1952
2073
|
type: "questlist";
|
1953
2074
|
value: number;
|
1954
|
-
} | {
|
1955
|
-
type: "step_back";
|
1956
2075
|
} | {
|
1957
2076
|
type: "nudge";
|
1958
2077
|
value: number;
|
1959
2078
|
} | {
|
1960
2079
|
type: "go_to_step";
|
1961
2080
|
value: number;
|
2081
|
+
} | {
|
2082
|
+
type: "step_back";
|
1962
2083
|
} | ({
|
1963
2084
|
type: "open_bar";
|
1964
2085
|
} & {
|
@@ -1966,37 +2087,47 @@ export declare class ExperienceTemplate {
|
|
1966
2087
|
categoryFilter?: number | undefined;
|
1967
2088
|
}) | {
|
1968
2089
|
type: "open_helphub";
|
1969
|
-
} | {
|
2090
|
+
} | ({
|
1970
2091
|
type: "open_copilot";
|
2092
|
+
} & {
|
2093
|
+
query?: string | undefined;
|
2094
|
+
}) | {
|
2095
|
+
type: "no_action";
|
1971
2096
|
} | undefined;
|
1972
2097
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1973
2098
|
conditional_actions?: {
|
1974
2099
|
operator: "eq" | "neq" | "gt" | "lt";
|
1975
2100
|
operand: string | number;
|
1976
|
-
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
|
+
} | {
|
1977
2113
|
type: "execute_command";
|
1978
2114
|
meta: {
|
1979
2115
|
command: string;
|
1980
2116
|
} & {
|
1981
2117
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1982
2118
|
};
|
1983
|
-
} | {
|
1984
|
-
type: "no_action";
|
1985
2119
|
} | {
|
1986
2120
|
type: "click";
|
1987
2121
|
value: string;
|
1988
2122
|
} | {
|
1989
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1990
|
-
value: string[];
|
1991
|
-
} | ({
|
1992
|
-
type: "link";
|
1993
|
-
value: string;
|
1994
|
-
} & {
|
1995
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1996
|
-
}) | {
|
1997
2123
|
type: "open_chat";
|
1998
2124
|
meta: {
|
1999
|
-
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";
|
2000
2131
|
};
|
2001
2132
|
} | {
|
2002
2133
|
type: "dismiss";
|
@@ -2005,14 +2136,14 @@ export declare class ExperienceTemplate {
|
|
2005
2136
|
} | {
|
2006
2137
|
type: "questlist";
|
2007
2138
|
value: number;
|
2008
|
-
} | {
|
2009
|
-
type: "step_back";
|
2010
2139
|
} | {
|
2011
2140
|
type: "nudge";
|
2012
2141
|
value: number;
|
2013
2142
|
} | {
|
2014
2143
|
type: "go_to_step";
|
2015
2144
|
value: number;
|
2145
|
+
} | {
|
2146
|
+
type: "step_back";
|
2016
2147
|
} | ({
|
2017
2148
|
type: "open_bar";
|
2018
2149
|
} & {
|
@@ -2020,8 +2151,12 @@ export declare class ExperienceTemplate {
|
|
2020
2151
|
categoryFilter?: number | undefined;
|
2021
2152
|
}) | {
|
2022
2153
|
type: "open_helphub";
|
2023
|
-
} | {
|
2154
|
+
} | ({
|
2024
2155
|
type: "open_copilot";
|
2156
|
+
} & {
|
2157
|
+
query?: string | undefined;
|
2158
|
+
}) | {
|
2159
|
+
type: "no_action";
|
2025
2160
|
};
|
2026
2161
|
}[] | undefined;
|
2027
2162
|
} | null;
|
@@ -2130,6 +2265,9 @@ export declare class ExperienceTemplate {
|
|
2130
2265
|
x: string;
|
2131
2266
|
y: string;
|
2132
2267
|
} | undefined;
|
2268
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2269
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2270
|
+
copilot_intro?: boolean | undefined;
|
2133
2271
|
}) | {
|
2134
2272
|
type: "tooltip";
|
2135
2273
|
anchor: string;
|
@@ -2138,7 +2276,7 @@ export declare class ExperienceTemplate {
|
|
2138
2276
|
type: "beacon";
|
2139
2277
|
} | {
|
2140
2278
|
type: "icon";
|
2141
|
-
icon: "
|
2279
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2142
2280
|
} | {
|
2143
2281
|
type: "image";
|
2144
2282
|
source: string;
|
@@ -2286,30 +2424,36 @@ export declare class ExperienceTemplate {
|
|
2286
2424
|
sort_key: number | undefined;
|
2287
2425
|
meta: {
|
2288
2426
|
label?: string | undefined;
|
2289
|
-
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
|
+
} | {
|
2290
2439
|
type: "execute_command";
|
2291
2440
|
meta: {
|
2292
2441
|
command: string;
|
2293
2442
|
} & {
|
2294
2443
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2295
2444
|
};
|
2296
|
-
} | {
|
2297
|
-
type: "no_action";
|
2298
2445
|
} | {
|
2299
2446
|
type: "click";
|
2300
2447
|
value: string;
|
2301
2448
|
} | {
|
2302
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2303
|
-
value: string[];
|
2304
|
-
} | ({
|
2305
|
-
type: "link";
|
2306
|
-
value: string;
|
2307
|
-
} & {
|
2308
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2309
|
-
}) | {
|
2310
2449
|
type: "open_chat";
|
2311
2450
|
meta: {
|
2312
|
-
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";
|
2313
2457
|
};
|
2314
2458
|
} | {
|
2315
2459
|
type: "dismiss";
|
@@ -2318,14 +2462,14 @@ export declare class ExperienceTemplate {
|
|
2318
2462
|
} | {
|
2319
2463
|
type: "questlist";
|
2320
2464
|
value: number;
|
2321
|
-
} | {
|
2322
|
-
type: "step_back";
|
2323
2465
|
} | {
|
2324
2466
|
type: "nudge";
|
2325
2467
|
value: number;
|
2326
2468
|
} | {
|
2327
2469
|
type: "go_to_step";
|
2328
2470
|
value: number;
|
2471
|
+
} | {
|
2472
|
+
type: "step_back";
|
2329
2473
|
} | ({
|
2330
2474
|
type: "open_bar";
|
2331
2475
|
} & {
|
@@ -2333,37 +2477,47 @@ export declare class ExperienceTemplate {
|
|
2333
2477
|
categoryFilter?: number | undefined;
|
2334
2478
|
}) | {
|
2335
2479
|
type: "open_helphub";
|
2336
|
-
} | {
|
2480
|
+
} | ({
|
2337
2481
|
type: "open_copilot";
|
2482
|
+
} & {
|
2483
|
+
query?: string | undefined;
|
2484
|
+
}) | {
|
2485
|
+
type: "no_action";
|
2338
2486
|
} | undefined;
|
2339
2487
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2340
2488
|
conditional_actions?: {
|
2341
2489
|
operator: "eq" | "neq" | "gt" | "lt";
|
2342
2490
|
operand: string | number;
|
2343
|
-
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
|
+
} | {
|
2344
2503
|
type: "execute_command";
|
2345
2504
|
meta: {
|
2346
2505
|
command: string;
|
2347
2506
|
} & {
|
2348
2507
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2349
2508
|
};
|
2350
|
-
} | {
|
2351
|
-
type: "no_action";
|
2352
2509
|
} | {
|
2353
2510
|
type: "click";
|
2354
2511
|
value: string;
|
2355
2512
|
} | {
|
2356
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2357
|
-
value: string[];
|
2358
|
-
} | ({
|
2359
|
-
type: "link";
|
2360
|
-
value: string;
|
2361
|
-
} & {
|
2362
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2363
|
-
}) | {
|
2364
2513
|
type: "open_chat";
|
2365
2514
|
meta: {
|
2366
|
-
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";
|
2367
2521
|
};
|
2368
2522
|
} | {
|
2369
2523
|
type: "dismiss";
|
@@ -2372,14 +2526,14 @@ export declare class ExperienceTemplate {
|
|
2372
2526
|
} | {
|
2373
2527
|
type: "questlist";
|
2374
2528
|
value: number;
|
2375
|
-
} | {
|
2376
|
-
type: "step_back";
|
2377
2529
|
} | {
|
2378
2530
|
type: "nudge";
|
2379
2531
|
value: number;
|
2380
2532
|
} | {
|
2381
2533
|
type: "go_to_step";
|
2382
2534
|
value: number;
|
2535
|
+
} | {
|
2536
|
+
type: "step_back";
|
2383
2537
|
} | ({
|
2384
2538
|
type: "open_bar";
|
2385
2539
|
} & {
|
@@ -2387,8 +2541,12 @@ export declare class ExperienceTemplate {
|
|
2387
2541
|
categoryFilter?: number | undefined;
|
2388
2542
|
}) | {
|
2389
2543
|
type: "open_helphub";
|
2390
|
-
} | {
|
2544
|
+
} | ({
|
2391
2545
|
type: "open_copilot";
|
2546
|
+
} & {
|
2547
|
+
query?: string | undefined;
|
2548
|
+
}) | {
|
2549
|
+
type: "no_action";
|
2392
2550
|
};
|
2393
2551
|
}[] | undefined;
|
2394
2552
|
} | null;
|
@@ -2497,6 +2655,9 @@ export declare class ExperienceTemplate {
|
|
2497
2655
|
x: string;
|
2498
2656
|
y: string;
|
2499
2657
|
} | undefined;
|
2658
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2659
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2660
|
+
copilot_intro?: boolean | undefined;
|
2500
2661
|
}) | {
|
2501
2662
|
type: "tooltip";
|
2502
2663
|
anchor: string;
|
@@ -2505,7 +2666,7 @@ export declare class ExperienceTemplate {
|
|
2505
2666
|
type: "beacon";
|
2506
2667
|
} | {
|
2507
2668
|
type: "icon";
|
2508
|
-
icon: "
|
2669
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2509
2670
|
} | {
|
2510
2671
|
type: "image";
|
2511
2672
|
source: string;
|
@@ -2655,30 +2816,36 @@ export declare class ExperienceTemplate {
|
|
2655
2816
|
sort_key: number | undefined;
|
2656
2817
|
meta: {
|
2657
2818
|
label?: string | undefined;
|
2658
|
-
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
|
+
} | {
|
2659
2831
|
type: "execute_command";
|
2660
2832
|
meta: {
|
2661
2833
|
command: string;
|
2662
2834
|
} & {
|
2663
2835
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2664
2836
|
};
|
2665
|
-
} | {
|
2666
|
-
type: "no_action";
|
2667
2837
|
} | {
|
2668
2838
|
type: "click";
|
2669
2839
|
value: string;
|
2670
2840
|
} | {
|
2671
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2672
|
-
value: string[];
|
2673
|
-
} | ({
|
2674
|
-
type: "link";
|
2675
|
-
value: string;
|
2676
|
-
} & {
|
2677
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2678
|
-
}) | {
|
2679
2841
|
type: "open_chat";
|
2680
2842
|
meta: {
|
2681
|
-
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";
|
2682
2849
|
};
|
2683
2850
|
} | {
|
2684
2851
|
type: "dismiss";
|
@@ -2687,14 +2854,14 @@ export declare class ExperienceTemplate {
|
|
2687
2854
|
} | {
|
2688
2855
|
type: "questlist";
|
2689
2856
|
value: number;
|
2690
|
-
} | {
|
2691
|
-
type: "step_back";
|
2692
2857
|
} | {
|
2693
2858
|
type: "nudge";
|
2694
2859
|
value: number;
|
2695
2860
|
} | {
|
2696
2861
|
type: "go_to_step";
|
2697
2862
|
value: number;
|
2863
|
+
} | {
|
2864
|
+
type: "step_back";
|
2698
2865
|
} | ({
|
2699
2866
|
type: "open_bar";
|
2700
2867
|
} & {
|
@@ -2702,37 +2869,47 @@ export declare class ExperienceTemplate {
|
|
2702
2869
|
categoryFilter?: number | undefined;
|
2703
2870
|
}) | {
|
2704
2871
|
type: "open_helphub";
|
2705
|
-
} | {
|
2872
|
+
} | ({
|
2706
2873
|
type: "open_copilot";
|
2874
|
+
} & {
|
2875
|
+
query?: string | undefined;
|
2876
|
+
}) | {
|
2877
|
+
type: "no_action";
|
2707
2878
|
} | undefined;
|
2708
2879
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2709
2880
|
conditional_actions?: {
|
2710
2881
|
operator: "eq" | "neq" | "gt" | "lt";
|
2711
2882
|
operand: string | number;
|
2712
|
-
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
|
+
} | {
|
2713
2895
|
type: "execute_command";
|
2714
2896
|
meta: {
|
2715
2897
|
command: string;
|
2716
2898
|
} & {
|
2717
2899
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2718
2900
|
};
|
2719
|
-
} | {
|
2720
|
-
type: "no_action";
|
2721
2901
|
} | {
|
2722
2902
|
type: "click";
|
2723
2903
|
value: string;
|
2724
2904
|
} | {
|
2725
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2726
|
-
value: string[];
|
2727
|
-
} | ({
|
2728
|
-
type: "link";
|
2729
|
-
value: string;
|
2730
|
-
} & {
|
2731
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2732
|
-
}) | {
|
2733
2905
|
type: "open_chat";
|
2734
2906
|
meta: {
|
2735
|
-
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";
|
2736
2913
|
};
|
2737
2914
|
} | {
|
2738
2915
|
type: "dismiss";
|
@@ -2741,14 +2918,14 @@ export declare class ExperienceTemplate {
|
|
2741
2918
|
} | {
|
2742
2919
|
type: "questlist";
|
2743
2920
|
value: number;
|
2744
|
-
} | {
|
2745
|
-
type: "step_back";
|
2746
2921
|
} | {
|
2747
2922
|
type: "nudge";
|
2748
2923
|
value: number;
|
2749
2924
|
} | {
|
2750
2925
|
type: "go_to_step";
|
2751
2926
|
value: number;
|
2927
|
+
} | {
|
2928
|
+
type: "step_back";
|
2752
2929
|
} | ({
|
2753
2930
|
type: "open_bar";
|
2754
2931
|
} & {
|
@@ -2756,8 +2933,12 @@ export declare class ExperienceTemplate {
|
|
2756
2933
|
categoryFilter?: number | undefined;
|
2757
2934
|
}) | {
|
2758
2935
|
type: "open_helphub";
|
2759
|
-
} | {
|
2936
|
+
} | ({
|
2760
2937
|
type: "open_copilot";
|
2938
|
+
} & {
|
2939
|
+
query?: string | undefined;
|
2940
|
+
}) | {
|
2941
|
+
type: "no_action";
|
2761
2942
|
};
|
2762
2943
|
}[] | undefined;
|
2763
2944
|
} | null;
|
@@ -2866,6 +3047,9 @@ export declare class ExperienceTemplate {
|
|
2866
3047
|
x: string;
|
2867
3048
|
y: string;
|
2868
3049
|
} | undefined;
|
3050
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
3051
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
3052
|
+
copilot_intro?: boolean | undefined;
|
2869
3053
|
}) | {
|
2870
3054
|
type: "tooltip";
|
2871
3055
|
anchor: string;
|
@@ -2874,7 +3058,7 @@ export declare class ExperienceTemplate {
|
|
2874
3058
|
type: "beacon";
|
2875
3059
|
} | {
|
2876
3060
|
type: "icon";
|
2877
|
-
icon: "
|
3061
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2878
3062
|
} | {
|
2879
3063
|
type: "image";
|
2880
3064
|
source: string;
|