commandbar 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/init.d.ts +10 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +4 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
- package/build/internal/src/client/SDKConfig.d.ts +1 -0
- package/build/internal/src/client/symbols.d.ts +2 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +4 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +56 -8
- package/build/internal/src/middleware/additionalResource.d.ts +200 -137
- package/build/internal/src/middleware/api.d.ts +7 -7
- package/build/internal/src/middleware/chat.d.ts +22868 -11601
- package/build/internal/src/middleware/checklist.d.ts +209 -139
- package/build/internal/src/middleware/command.d.ts +2547 -2170
- package/build/internal/src/middleware/endUser.d.ts +0 -32
- package/build/internal/src/middleware/experienceTemplate.d.ts +399 -263
- package/build/internal/src/middleware/experiencesSearch.d.ts +816 -718
- package/build/internal/src/middleware/flags.d.ts +6 -3
- package/build/internal/src/middleware/helpDocsSearch.d.ts +584 -514
- package/build/internal/src/middleware/helpers/actions.d.ts +66 -28
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +18 -4
- package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
- package/build/internal/src/middleware/nudge.d.ts +482 -281
- package/build/internal/src/middleware/organization.d.ts +825 -670
- package/build/internal/src/middleware/organizationSettings.d.ts +210 -130
- package/build/internal/src/middleware/profile.d.ts +1 -1
- package/build/internal/src/middleware/recommendationSet.d.ts +200 -137
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +16 -20
- package/package.json +1 -1
- package/src/init.ts +13 -2
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -53
- package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
- package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
- package/build/internal/src/client/globals.d.ts +0 -27
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
- package/build/internal/src/util/sentry.d.ts +0 -23
@@ -80,6 +80,11 @@ export declare const NudgeButtonActionV: t.UnionC<[t.TypeC<{
|
|
80
80
|
meta: t.TypeC<{
|
81
81
|
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<"">]>;
|
82
82
|
}>;
|
83
|
+
}>, t.TypeC<{
|
84
|
+
type: t.LiteralC<"chat_handoff">;
|
85
|
+
meta: t.TypeC<{
|
86
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
87
|
+
}>;
|
83
88
|
}>, t.TypeC<{
|
84
89
|
type: t.LiteralC<"dismiss">;
|
85
90
|
}>, t.TypeC<{
|
@@ -102,9 +107,11 @@ export declare const NudgeButtonActionV: t.UnionC<[t.TypeC<{
|
|
102
107
|
categoryFilter: t.NumberC;
|
103
108
|
}>]>, t.TypeC<{
|
104
109
|
type: t.LiteralC<"open_helphub">;
|
105
|
-
}>, t.TypeC<{
|
110
|
+
}>, t.IntersectionC<[t.TypeC<{
|
106
111
|
type: t.LiteralC<"open_copilot">;
|
107
|
-
}
|
112
|
+
}>, t.PartialC<{
|
113
|
+
query: t.StringC;
|
114
|
+
}>]>]>;
|
108
115
|
export declare const NudgeConditionalActionV: t.TypeC<{
|
109
116
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
110
117
|
operand: t.UnionC<[t.StringC, t.NumberC]>;
|
@@ -136,6 +143,11 @@ export declare const NudgeConditionalActionV: t.TypeC<{
|
|
136
143
|
meta: t.TypeC<{
|
137
144
|
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<"">]>;
|
138
145
|
}>;
|
146
|
+
}>, t.TypeC<{
|
147
|
+
type: t.LiteralC<"chat_handoff">;
|
148
|
+
meta: t.TypeC<{
|
149
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
150
|
+
}>;
|
139
151
|
}>, t.TypeC<{
|
140
152
|
type: t.LiteralC<"dismiss">;
|
141
153
|
}>, t.TypeC<{
|
@@ -158,9 +170,11 @@ export declare const NudgeConditionalActionV: t.TypeC<{
|
|
158
170
|
categoryFilter: t.NumberC;
|
159
171
|
}>]>, t.TypeC<{
|
160
172
|
type: t.LiteralC<"open_helphub">;
|
161
|
-
}>, t.TypeC<{
|
173
|
+
}>, t.IntersectionC<[t.TypeC<{
|
162
174
|
type: t.LiteralC<"open_copilot">;
|
163
|
-
}
|
175
|
+
}>, t.PartialC<{
|
176
|
+
query: t.StringC;
|
177
|
+
}>]>]>;
|
164
178
|
}>;
|
165
179
|
export declare const NudgeContentButtonBlockV: t.TypeC<{
|
166
180
|
type: t.LiteralC<"button">;
|
@@ -195,6 +209,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
195
209
|
meta: t.TypeC<{
|
196
210
|
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<"">]>;
|
197
211
|
}>;
|
212
|
+
}>, t.TypeC<{
|
213
|
+
type: t.LiteralC<"chat_handoff">;
|
214
|
+
meta: t.TypeC<{
|
215
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
216
|
+
}>;
|
198
217
|
}>, t.TypeC<{
|
199
218
|
type: t.LiteralC<"dismiss">;
|
200
219
|
}>, t.TypeC<{
|
@@ -217,9 +236,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
217
236
|
categoryFilter: t.NumberC;
|
218
237
|
}>]>, t.TypeC<{
|
219
238
|
type: t.LiteralC<"open_helphub">;
|
220
|
-
}>, t.TypeC<{
|
239
|
+
}>, t.IntersectionC<[t.TypeC<{
|
221
240
|
type: t.LiteralC<"open_copilot">;
|
222
|
-
}
|
241
|
+
}>, t.PartialC<{
|
242
|
+
query: t.StringC;
|
243
|
+
}>]>]>;
|
223
244
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
224
245
|
conditional_actions: t.ArrayC<t.TypeC<{
|
225
246
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -252,6 +273,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
252
273
|
meta: t.TypeC<{
|
253
274
|
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<"">]>;
|
254
275
|
}>;
|
276
|
+
}>, t.TypeC<{
|
277
|
+
type: t.LiteralC<"chat_handoff">;
|
278
|
+
meta: t.TypeC<{
|
279
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
280
|
+
}>;
|
255
281
|
}>, t.TypeC<{
|
256
282
|
type: t.LiteralC<"dismiss">;
|
257
283
|
}>, t.TypeC<{
|
@@ -274,9 +300,11 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
274
300
|
categoryFilter: t.NumberC;
|
275
301
|
}>]>, t.TypeC<{
|
276
302
|
type: t.LiteralC<"open_helphub">;
|
277
|
-
}>, t.TypeC<{
|
303
|
+
}>, t.IntersectionC<[t.TypeC<{
|
278
304
|
type: t.LiteralC<"open_copilot">;
|
279
|
-
}
|
305
|
+
}>, t.PartialC<{
|
306
|
+
query: t.StringC;
|
307
|
+
}>]>]>;
|
280
308
|
}>>;
|
281
309
|
}>, t.NullC]>;
|
282
310
|
}>;
|
@@ -413,6 +441,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
413
441
|
meta: t.TypeC<{
|
414
442
|
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<"">]>;
|
415
443
|
}>;
|
444
|
+
}>, t.TypeC<{
|
445
|
+
type: t.LiteralC<"chat_handoff">;
|
446
|
+
meta: t.TypeC<{
|
447
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
448
|
+
}>;
|
416
449
|
}>, t.TypeC<{
|
417
450
|
type: t.LiteralC<"dismiss">;
|
418
451
|
}>, t.TypeC<{
|
@@ -435,9 +468,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
435
468
|
categoryFilter: t.NumberC;
|
436
469
|
}>]>, t.TypeC<{
|
437
470
|
type: t.LiteralC<"open_helphub">;
|
438
|
-
}>, t.TypeC<{
|
471
|
+
}>, t.IntersectionC<[t.TypeC<{
|
439
472
|
type: t.LiteralC<"open_copilot">;
|
440
|
-
}
|
473
|
+
}>, t.PartialC<{
|
474
|
+
query: t.StringC;
|
475
|
+
}>]>]>;
|
441
476
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
442
477
|
conditional_actions: t.ArrayC<t.TypeC<{
|
443
478
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -470,6 +505,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
470
505
|
meta: t.TypeC<{
|
471
506
|
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<"">]>;
|
472
507
|
}>;
|
508
|
+
}>, t.TypeC<{
|
509
|
+
type: t.LiteralC<"chat_handoff">;
|
510
|
+
meta: t.TypeC<{
|
511
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
512
|
+
}>;
|
473
513
|
}>, t.TypeC<{
|
474
514
|
type: t.LiteralC<"dismiss">;
|
475
515
|
}>, t.TypeC<{
|
@@ -492,9 +532,11 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
492
532
|
categoryFilter: t.NumberC;
|
493
533
|
}>]>, t.TypeC<{
|
494
534
|
type: t.LiteralC<"open_helphub">;
|
495
|
-
}>, t.TypeC<{
|
535
|
+
}>, t.IntersectionC<[t.TypeC<{
|
496
536
|
type: t.LiteralC<"open_copilot">;
|
497
|
-
}
|
537
|
+
}>, t.PartialC<{
|
538
|
+
query: t.StringC;
|
539
|
+
}>]>]>;
|
498
540
|
}>>;
|
499
541
|
}>, t.NullC]>;
|
500
542
|
}>, t.TypeC<{
|
@@ -649,6 +691,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
649
691
|
meta: t.TypeC<{
|
650
692
|
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<"">]>;
|
651
693
|
}>;
|
694
|
+
}>, t.TypeC<{
|
695
|
+
type: t.LiteralC<"chat_handoff">;
|
696
|
+
meta: t.TypeC<{
|
697
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
698
|
+
}>;
|
652
699
|
}>, t.TypeC<{
|
653
700
|
type: t.LiteralC<"dismiss">;
|
654
701
|
}>, t.TypeC<{
|
@@ -671,9 +718,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
671
718
|
categoryFilter: t.NumberC;
|
672
719
|
}>]>, t.TypeC<{
|
673
720
|
type: t.LiteralC<"open_helphub">;
|
674
|
-
}>, t.TypeC<{
|
721
|
+
}>, t.IntersectionC<[t.TypeC<{
|
675
722
|
type: t.LiteralC<"open_copilot">;
|
676
|
-
}
|
723
|
+
}>, t.PartialC<{
|
724
|
+
query: t.StringC;
|
725
|
+
}>]>]>;
|
677
726
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
678
727
|
conditional_actions: t.ArrayC<t.TypeC<{
|
679
728
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -706,6 +755,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
706
755
|
meta: t.TypeC<{
|
707
756
|
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<"">]>;
|
708
757
|
}>;
|
758
|
+
}>, t.TypeC<{
|
759
|
+
type: t.LiteralC<"chat_handoff">;
|
760
|
+
meta: t.TypeC<{
|
761
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
762
|
+
}>;
|
709
763
|
}>, t.TypeC<{
|
710
764
|
type: t.LiteralC<"dismiss">;
|
711
765
|
}>, t.TypeC<{
|
@@ -728,9 +782,11 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
728
782
|
categoryFilter: t.NumberC;
|
729
783
|
}>]>, t.TypeC<{
|
730
784
|
type: t.LiteralC<"open_helphub">;
|
731
|
-
}>, t.TypeC<{
|
785
|
+
}>, t.IntersectionC<[t.TypeC<{
|
732
786
|
type: t.LiteralC<"open_copilot">;
|
733
|
-
}
|
787
|
+
}>, t.PartialC<{
|
788
|
+
query: t.StringC;
|
789
|
+
}>]>]>;
|
734
790
|
}>>;
|
735
791
|
}>, t.NullC]>;
|
736
792
|
}>, t.TypeC<{
|
@@ -838,6 +894,9 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
838
894
|
x: t.StringC;
|
839
895
|
y: t.StringC;
|
840
896
|
}>;
|
897
|
+
position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
898
|
+
alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
899
|
+
copilot_intro: t.BooleanC;
|
841
900
|
}>]>, t.TypeC<{
|
842
901
|
type: t.LiteralC<"tooltip">;
|
843
902
|
anchor: t.StringC;
|
@@ -979,6 +1038,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
979
1038
|
meta: t.TypeC<{
|
980
1039
|
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<"">]>;
|
981
1040
|
}>;
|
1041
|
+
}>, t.TypeC<{
|
1042
|
+
type: t.LiteralC<"chat_handoff">;
|
1043
|
+
meta: t.TypeC<{
|
1044
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
1045
|
+
}>;
|
982
1046
|
}>, t.TypeC<{
|
983
1047
|
type: t.LiteralC<"dismiss">;
|
984
1048
|
}>, t.TypeC<{
|
@@ -1001,9 +1065,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1001
1065
|
categoryFilter: t.NumberC;
|
1002
1066
|
}>]>, t.TypeC<{
|
1003
1067
|
type: t.LiteralC<"open_helphub">;
|
1004
|
-
}>, t.TypeC<{
|
1068
|
+
}>, t.IntersectionC<[t.TypeC<{
|
1005
1069
|
type: t.LiteralC<"open_copilot">;
|
1006
|
-
}
|
1070
|
+
}>, t.PartialC<{
|
1071
|
+
query: t.StringC;
|
1072
|
+
}>]>]>;
|
1007
1073
|
button_type: t.UnionC<[t.LiteralC<"primary">, t.LiteralC<"secondary">, t.LiteralC<"snooze">]>;
|
1008
1074
|
conditional_actions: t.ArrayC<t.TypeC<{
|
1009
1075
|
operator: t.UnionC<[t.LiteralC<"eq">, t.LiteralC<"neq">, t.LiteralC<"gt">, t.LiteralC<"lt">]>;
|
@@ -1036,6 +1102,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1036
1102
|
meta: t.TypeC<{
|
1037
1103
|
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<"">]>;
|
1038
1104
|
}>;
|
1105
|
+
}>, t.TypeC<{
|
1106
|
+
type: t.LiteralC<"chat_handoff">;
|
1107
|
+
meta: t.TypeC<{
|
1108
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
|
1109
|
+
}>;
|
1039
1110
|
}>, t.TypeC<{
|
1040
1111
|
type: t.LiteralC<"dismiss">;
|
1041
1112
|
}>, t.TypeC<{
|
@@ -1058,9 +1129,11 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1058
1129
|
categoryFilter: t.NumberC;
|
1059
1130
|
}>]>, t.TypeC<{
|
1060
1131
|
type: t.LiteralC<"open_helphub">;
|
1061
|
-
}>, t.TypeC<{
|
1132
|
+
}>, t.IntersectionC<[t.TypeC<{
|
1062
1133
|
type: t.LiteralC<"open_copilot">;
|
1063
|
-
}
|
1134
|
+
}>, t.PartialC<{
|
1135
|
+
query: t.StringC;
|
1136
|
+
}>]>]>;
|
1064
1137
|
}>>;
|
1065
1138
|
}>, t.NullC]>;
|
1066
1139
|
}>, t.TypeC<{
|
@@ -1168,6 +1241,9 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1168
1241
|
x: t.StringC;
|
1169
1242
|
y: t.StringC;
|
1170
1243
|
}>;
|
1244
|
+
position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
1245
|
+
alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
1246
|
+
copilot_intro: t.BooleanC;
|
1171
1247
|
}>]>, t.TypeC<{
|
1172
1248
|
type: t.LiteralC<"tooltip">;
|
1173
1249
|
anchor: t.StringC;
|
@@ -1364,6 +1440,9 @@ export declare const OldNudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1364
1440
|
}>]>;
|
1365
1441
|
template_source: t.StringC;
|
1366
1442
|
}>]>;
|
1443
|
+
export declare const NudgeResetResponse: t.TypeC<{
|
1444
|
+
did_reset: t.BooleanC;
|
1445
|
+
}>;
|
1367
1446
|
export declare class Nudge {
|
1368
1447
|
static decode: (data: any) => {
|
1369
1448
|
slug: string;
|
@@ -1453,33 +1532,36 @@ export declare class Nudge {
|
|
1453
1532
|
sort_key: number | undefined;
|
1454
1533
|
meta: {
|
1455
1534
|
label?: string | undefined;
|
1456
|
-
action?: {
|
1535
|
+
action?: ({
|
1536
|
+
type: "link";
|
1537
|
+
value: string;
|
1538
|
+
} & {
|
1539
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1540
|
+
meta?: {
|
1541
|
+
command: string;
|
1542
|
+
} | undefined;
|
1543
|
+
}) | {
|
1544
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1545
|
+
value: string[];
|
1546
|
+
} | {
|
1457
1547
|
type: "execute_command";
|
1458
1548
|
meta: {
|
1459
1549
|
command: string;
|
1460
1550
|
} & {
|
1461
1551
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1462
1552
|
};
|
1463
|
-
} | {
|
1464
|
-
type: "no_action";
|
1465
1553
|
} | {
|
1466
1554
|
type: "click";
|
1467
1555
|
value: string;
|
1468
1556
|
} | {
|
1469
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1470
|
-
value: string[];
|
1471
|
-
} | ({
|
1472
|
-
type: "link";
|
1473
|
-
value: string;
|
1474
|
-
} & {
|
1475
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1476
|
-
meta?: {
|
1477
|
-
command: string;
|
1478
|
-
} | undefined;
|
1479
|
-
}) | {
|
1480
1557
|
type: "open_chat";
|
1481
1558
|
meta: {
|
1482
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1559
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1560
|
+
};
|
1561
|
+
} | {
|
1562
|
+
type: "chat_handoff";
|
1563
|
+
meta: {
|
1564
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1483
1565
|
};
|
1484
1566
|
} | {
|
1485
1567
|
type: "dismiss";
|
@@ -1488,14 +1570,14 @@ export declare class Nudge {
|
|
1488
1570
|
} | {
|
1489
1571
|
type: "questlist";
|
1490
1572
|
value: number;
|
1491
|
-
} | {
|
1492
|
-
type: "step_back";
|
1493
1573
|
} | {
|
1494
1574
|
type: "nudge";
|
1495
1575
|
value: number;
|
1496
1576
|
} | {
|
1497
1577
|
type: "go_to_step";
|
1498
1578
|
value: number;
|
1579
|
+
} | {
|
1580
|
+
type: "step_back";
|
1499
1581
|
} | ({
|
1500
1582
|
type: "open_bar";
|
1501
1583
|
} & {
|
@@ -1503,40 +1585,47 @@ export declare class Nudge {
|
|
1503
1585
|
categoryFilter?: number | undefined;
|
1504
1586
|
}) | {
|
1505
1587
|
type: "open_helphub";
|
1506
|
-
} | {
|
1588
|
+
} | ({
|
1507
1589
|
type: "open_copilot";
|
1590
|
+
} & {
|
1591
|
+
query?: string | undefined;
|
1592
|
+
}) | {
|
1593
|
+
type: "no_action";
|
1508
1594
|
} | undefined;
|
1509
1595
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1510
1596
|
conditional_actions?: {
|
1511
1597
|
operator: "eq" | "neq" | "gt" | "lt";
|
1512
1598
|
operand: string | number;
|
1513
|
-
action: {
|
1599
|
+
action: ({
|
1600
|
+
type: "link";
|
1601
|
+
value: string;
|
1602
|
+
} & {
|
1603
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1604
|
+
meta?: {
|
1605
|
+
command: string;
|
1606
|
+
} | undefined;
|
1607
|
+
}) | {
|
1608
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1609
|
+
value: string[];
|
1610
|
+
} | {
|
1514
1611
|
type: "execute_command";
|
1515
1612
|
meta: {
|
1516
1613
|
command: string;
|
1517
1614
|
} & {
|
1518
1615
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1519
1616
|
};
|
1520
|
-
} | {
|
1521
|
-
type: "no_action";
|
1522
1617
|
} | {
|
1523
1618
|
type: "click";
|
1524
1619
|
value: string;
|
1525
1620
|
} | {
|
1526
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1527
|
-
value: string[];
|
1528
|
-
} | ({
|
1529
|
-
type: "link";
|
1530
|
-
value: string;
|
1531
|
-
} & {
|
1532
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1533
|
-
meta?: {
|
1534
|
-
command: string;
|
1535
|
-
} | undefined;
|
1536
|
-
}) | {
|
1537
1621
|
type: "open_chat";
|
1538
1622
|
meta: {
|
1539
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1623
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1624
|
+
};
|
1625
|
+
} | {
|
1626
|
+
type: "chat_handoff";
|
1627
|
+
meta: {
|
1628
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1540
1629
|
};
|
1541
1630
|
} | {
|
1542
1631
|
type: "dismiss";
|
@@ -1545,14 +1634,14 @@ export declare class Nudge {
|
|
1545
1634
|
} | {
|
1546
1635
|
type: "questlist";
|
1547
1636
|
value: number;
|
1548
|
-
} | {
|
1549
|
-
type: "step_back";
|
1550
1637
|
} | {
|
1551
1638
|
type: "nudge";
|
1552
1639
|
value: number;
|
1553
1640
|
} | {
|
1554
1641
|
type: "go_to_step";
|
1555
1642
|
value: number;
|
1643
|
+
} | {
|
1644
|
+
type: "step_back";
|
1556
1645
|
} | ({
|
1557
1646
|
type: "open_bar";
|
1558
1647
|
} & {
|
@@ -1560,8 +1649,12 @@ export declare class Nudge {
|
|
1560
1649
|
categoryFilter?: number | undefined;
|
1561
1650
|
}) | {
|
1562
1651
|
type: "open_helphub";
|
1563
|
-
} | {
|
1652
|
+
} | ({
|
1564
1653
|
type: "open_copilot";
|
1654
|
+
} & {
|
1655
|
+
query?: string | undefined;
|
1656
|
+
}) | {
|
1657
|
+
type: "no_action";
|
1565
1658
|
};
|
1566
1659
|
}[] | undefined;
|
1567
1660
|
} | null;
|
@@ -1670,6 +1763,9 @@ export declare class Nudge {
|
|
1670
1763
|
x: string;
|
1671
1764
|
y: string;
|
1672
1765
|
} | undefined;
|
1766
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1767
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1768
|
+
copilot_intro?: boolean | undefined;
|
1673
1769
|
}) | {
|
1674
1770
|
type: "tooltip";
|
1675
1771
|
anchor: string;
|
@@ -1678,7 +1774,7 @@ export declare class Nudge {
|
|
1678
1774
|
type: "beacon";
|
1679
1775
|
} | {
|
1680
1776
|
type: "icon";
|
1681
|
-
icon: "
|
1777
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
1682
1778
|
} | {
|
1683
1779
|
type: "image";
|
1684
1780
|
source: string;
|
@@ -1821,33 +1917,36 @@ export declare class Nudge {
|
|
1821
1917
|
sort_key: number | undefined;
|
1822
1918
|
meta: {
|
1823
1919
|
label?: string | undefined;
|
1824
|
-
action?: {
|
1920
|
+
action?: ({
|
1921
|
+
type: "link";
|
1922
|
+
value: string;
|
1923
|
+
} & {
|
1924
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1925
|
+
meta?: {
|
1926
|
+
command: string;
|
1927
|
+
} | undefined;
|
1928
|
+
}) | {
|
1929
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1930
|
+
value: string[];
|
1931
|
+
} | {
|
1825
1932
|
type: "execute_command";
|
1826
1933
|
meta: {
|
1827
1934
|
command: string;
|
1828
1935
|
} & {
|
1829
1936
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1830
1937
|
};
|
1831
|
-
} | {
|
1832
|
-
type: "no_action";
|
1833
1938
|
} | {
|
1834
1939
|
type: "click";
|
1835
1940
|
value: string;
|
1836
1941
|
} | {
|
1837
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1838
|
-
value: string[];
|
1839
|
-
} | ({
|
1840
|
-
type: "link";
|
1841
|
-
value: string;
|
1842
|
-
} & {
|
1843
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1844
|
-
meta?: {
|
1845
|
-
command: string;
|
1846
|
-
} | undefined;
|
1847
|
-
}) | {
|
1848
1942
|
type: "open_chat";
|
1849
1943
|
meta: {
|
1850
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1944
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1945
|
+
};
|
1946
|
+
} | {
|
1947
|
+
type: "chat_handoff";
|
1948
|
+
meta: {
|
1949
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1851
1950
|
};
|
1852
1951
|
} | {
|
1853
1952
|
type: "dismiss";
|
@@ -1856,14 +1955,14 @@ export declare class Nudge {
|
|
1856
1955
|
} | {
|
1857
1956
|
type: "questlist";
|
1858
1957
|
value: number;
|
1859
|
-
} | {
|
1860
|
-
type: "step_back";
|
1861
1958
|
} | {
|
1862
1959
|
type: "nudge";
|
1863
1960
|
value: number;
|
1864
1961
|
} | {
|
1865
1962
|
type: "go_to_step";
|
1866
1963
|
value: number;
|
1964
|
+
} | {
|
1965
|
+
type: "step_back";
|
1867
1966
|
} | ({
|
1868
1967
|
type: "open_bar";
|
1869
1968
|
} & {
|
@@ -1871,40 +1970,47 @@ export declare class Nudge {
|
|
1871
1970
|
categoryFilter?: number | undefined;
|
1872
1971
|
}) | {
|
1873
1972
|
type: "open_helphub";
|
1874
|
-
} | {
|
1973
|
+
} | ({
|
1875
1974
|
type: "open_copilot";
|
1975
|
+
} & {
|
1976
|
+
query?: string | undefined;
|
1977
|
+
}) | {
|
1978
|
+
type: "no_action";
|
1876
1979
|
} | undefined;
|
1877
1980
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
1878
1981
|
conditional_actions?: {
|
1879
1982
|
operator: "eq" | "neq" | "gt" | "lt";
|
1880
1983
|
operand: string | number;
|
1881
|
-
action: {
|
1984
|
+
action: ({
|
1985
|
+
type: "link";
|
1986
|
+
value: string;
|
1987
|
+
} & {
|
1988
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1989
|
+
meta?: {
|
1990
|
+
command: string;
|
1991
|
+
} | undefined;
|
1992
|
+
}) | {
|
1993
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1994
|
+
value: string[];
|
1995
|
+
} | {
|
1882
1996
|
type: "execute_command";
|
1883
1997
|
meta: {
|
1884
1998
|
command: string;
|
1885
1999
|
} & {
|
1886
2000
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1887
2001
|
};
|
1888
|
-
} | {
|
1889
|
-
type: "no_action";
|
1890
2002
|
} | {
|
1891
2003
|
type: "click";
|
1892
2004
|
value: string;
|
1893
2005
|
} | {
|
1894
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1895
|
-
value: string[];
|
1896
|
-
} | ({
|
1897
|
-
type: "link";
|
1898
|
-
value: string;
|
1899
|
-
} & {
|
1900
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1901
|
-
meta?: {
|
1902
|
-
command: string;
|
1903
|
-
} | undefined;
|
1904
|
-
}) | {
|
1905
2006
|
type: "open_chat";
|
1906
2007
|
meta: {
|
1907
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2008
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2009
|
+
};
|
2010
|
+
} | {
|
2011
|
+
type: "chat_handoff";
|
2012
|
+
meta: {
|
2013
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1908
2014
|
};
|
1909
2015
|
} | {
|
1910
2016
|
type: "dismiss";
|
@@ -1913,14 +2019,14 @@ export declare class Nudge {
|
|
1913
2019
|
} | {
|
1914
2020
|
type: "questlist";
|
1915
2021
|
value: number;
|
1916
|
-
} | {
|
1917
|
-
type: "step_back";
|
1918
2022
|
} | {
|
1919
2023
|
type: "nudge";
|
1920
2024
|
value: number;
|
1921
2025
|
} | {
|
1922
2026
|
type: "go_to_step";
|
1923
2027
|
value: number;
|
2028
|
+
} | {
|
2029
|
+
type: "step_back";
|
1924
2030
|
} | ({
|
1925
2031
|
type: "open_bar";
|
1926
2032
|
} & {
|
@@ -1928,8 +2034,12 @@ export declare class Nudge {
|
|
1928
2034
|
categoryFilter?: number | undefined;
|
1929
2035
|
}) | {
|
1930
2036
|
type: "open_helphub";
|
1931
|
-
} | {
|
2037
|
+
} | ({
|
1932
2038
|
type: "open_copilot";
|
2039
|
+
} & {
|
2040
|
+
query?: string | undefined;
|
2041
|
+
}) | {
|
2042
|
+
type: "no_action";
|
1933
2043
|
};
|
1934
2044
|
}[] | undefined;
|
1935
2045
|
} | null;
|
@@ -2038,6 +2148,9 @@ export declare class Nudge {
|
|
2038
2148
|
x: string;
|
2039
2149
|
y: string;
|
2040
2150
|
} | undefined;
|
2151
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2152
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2153
|
+
copilot_intro?: boolean | undefined;
|
2041
2154
|
}) | {
|
2042
2155
|
type: "tooltip";
|
2043
2156
|
anchor: string;
|
@@ -2046,7 +2159,7 @@ export declare class Nudge {
|
|
2046
2159
|
type: "beacon";
|
2047
2160
|
} | {
|
2048
2161
|
type: "icon";
|
2049
|
-
icon: "
|
2162
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2050
2163
|
} | {
|
2051
2164
|
type: "image";
|
2052
2165
|
source: string;
|
@@ -2188,33 +2301,36 @@ export declare class Nudge {
|
|
2188
2301
|
sort_key: number | undefined;
|
2189
2302
|
meta: {
|
2190
2303
|
label?: string | undefined;
|
2191
|
-
action?: {
|
2304
|
+
action?: ({
|
2305
|
+
type: "link";
|
2306
|
+
value: string;
|
2307
|
+
} & {
|
2308
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2309
|
+
meta?: {
|
2310
|
+
command: string;
|
2311
|
+
} | undefined;
|
2312
|
+
}) | {
|
2313
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2314
|
+
value: string[];
|
2315
|
+
} | {
|
2192
2316
|
type: "execute_command";
|
2193
2317
|
meta: {
|
2194
2318
|
command: string;
|
2195
2319
|
} & {
|
2196
2320
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2197
2321
|
};
|
2198
|
-
} | {
|
2199
|
-
type: "no_action";
|
2200
2322
|
} | {
|
2201
2323
|
type: "click";
|
2202
2324
|
value: string;
|
2203
2325
|
} | {
|
2204
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2205
|
-
value: string[];
|
2206
|
-
} | ({
|
2207
|
-
type: "link";
|
2208
|
-
value: string;
|
2209
|
-
} & {
|
2210
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2211
|
-
meta?: {
|
2212
|
-
command: string;
|
2213
|
-
} | undefined;
|
2214
|
-
}) | {
|
2215
2326
|
type: "open_chat";
|
2216
2327
|
meta: {
|
2217
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2328
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2329
|
+
};
|
2330
|
+
} | {
|
2331
|
+
type: "chat_handoff";
|
2332
|
+
meta: {
|
2333
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2218
2334
|
};
|
2219
2335
|
} | {
|
2220
2336
|
type: "dismiss";
|
@@ -2223,14 +2339,14 @@ export declare class Nudge {
|
|
2223
2339
|
} | {
|
2224
2340
|
type: "questlist";
|
2225
2341
|
value: number;
|
2226
|
-
} | {
|
2227
|
-
type: "step_back";
|
2228
2342
|
} | {
|
2229
2343
|
type: "nudge";
|
2230
2344
|
value: number;
|
2231
2345
|
} | {
|
2232
2346
|
type: "go_to_step";
|
2233
2347
|
value: number;
|
2348
|
+
} | {
|
2349
|
+
type: "step_back";
|
2234
2350
|
} | ({
|
2235
2351
|
type: "open_bar";
|
2236
2352
|
} & {
|
@@ -2238,29 +2354,18 @@ export declare class Nudge {
|
|
2238
2354
|
categoryFilter?: number | undefined;
|
2239
2355
|
}) | {
|
2240
2356
|
type: "open_helphub";
|
2241
|
-
} | {
|
2357
|
+
} | ({
|
2242
2358
|
type: "open_copilot";
|
2359
|
+
} & {
|
2360
|
+
query?: string | undefined;
|
2361
|
+
}) | {
|
2362
|
+
type: "no_action";
|
2243
2363
|
} | undefined;
|
2244
2364
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2245
2365
|
conditional_actions?: {
|
2246
2366
|
operator: "eq" | "neq" | "gt" | "lt";
|
2247
2367
|
operand: string | number;
|
2248
|
-
action: {
|
2249
|
-
type: "execute_command";
|
2250
|
-
meta: {
|
2251
|
-
command: string;
|
2252
|
-
} & {
|
2253
|
-
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2254
|
-
};
|
2255
|
-
} | {
|
2256
|
-
type: "no_action";
|
2257
|
-
} | {
|
2258
|
-
type: "click";
|
2259
|
-
value: string;
|
2260
|
-
} | {
|
2261
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2262
|
-
value: string[];
|
2263
|
-
} | ({
|
2368
|
+
action: ({
|
2264
2369
|
type: "link";
|
2265
2370
|
value: string;
|
2266
2371
|
} & {
|
@@ -2269,9 +2374,27 @@ export declare class Nudge {
|
|
2269
2374
|
command: string;
|
2270
2375
|
} | undefined;
|
2271
2376
|
}) | {
|
2377
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2378
|
+
value: string[];
|
2379
|
+
} | {
|
2380
|
+
type: "execute_command";
|
2381
|
+
meta: {
|
2382
|
+
command: string;
|
2383
|
+
} & {
|
2384
|
+
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2385
|
+
};
|
2386
|
+
} | {
|
2387
|
+
type: "click";
|
2388
|
+
value: string;
|
2389
|
+
} | {
|
2272
2390
|
type: "open_chat";
|
2273
2391
|
meta: {
|
2274
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2392
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2393
|
+
};
|
2394
|
+
} | {
|
2395
|
+
type: "chat_handoff";
|
2396
|
+
meta: {
|
2397
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2275
2398
|
};
|
2276
2399
|
} | {
|
2277
2400
|
type: "dismiss";
|
@@ -2280,14 +2403,14 @@ export declare class Nudge {
|
|
2280
2403
|
} | {
|
2281
2404
|
type: "questlist";
|
2282
2405
|
value: number;
|
2283
|
-
} | {
|
2284
|
-
type: "step_back";
|
2285
2406
|
} | {
|
2286
2407
|
type: "nudge";
|
2287
2408
|
value: number;
|
2288
2409
|
} | {
|
2289
2410
|
type: "go_to_step";
|
2290
2411
|
value: number;
|
2412
|
+
} | {
|
2413
|
+
type: "step_back";
|
2291
2414
|
} | ({
|
2292
2415
|
type: "open_bar";
|
2293
2416
|
} & {
|
@@ -2295,8 +2418,12 @@ export declare class Nudge {
|
|
2295
2418
|
categoryFilter?: number | undefined;
|
2296
2419
|
}) | {
|
2297
2420
|
type: "open_helphub";
|
2298
|
-
} | {
|
2421
|
+
} | ({
|
2299
2422
|
type: "open_copilot";
|
2423
|
+
} & {
|
2424
|
+
query?: string | undefined;
|
2425
|
+
}) | {
|
2426
|
+
type: "no_action";
|
2300
2427
|
};
|
2301
2428
|
}[] | undefined;
|
2302
2429
|
} | null;
|
@@ -2405,6 +2532,9 @@ export declare class Nudge {
|
|
2405
2532
|
x: string;
|
2406
2533
|
y: string;
|
2407
2534
|
} | undefined;
|
2535
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2536
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2537
|
+
copilot_intro?: boolean | undefined;
|
2408
2538
|
}) | {
|
2409
2539
|
type: "tooltip";
|
2410
2540
|
anchor: string;
|
@@ -2413,7 +2543,7 @@ export declare class Nudge {
|
|
2413
2543
|
type: "beacon";
|
2414
2544
|
} | {
|
2415
2545
|
type: "icon";
|
2416
|
-
icon: "
|
2546
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2417
2547
|
} | {
|
2418
2548
|
type: "image";
|
2419
2549
|
source: string;
|
@@ -2556,33 +2686,36 @@ export declare class Nudge {
|
|
2556
2686
|
sort_key: number | undefined;
|
2557
2687
|
meta: {
|
2558
2688
|
label?: string | undefined;
|
2559
|
-
action?: {
|
2689
|
+
action?: ({
|
2690
|
+
type: "link";
|
2691
|
+
value: string;
|
2692
|
+
} & {
|
2693
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2694
|
+
meta?: {
|
2695
|
+
command: string;
|
2696
|
+
} | undefined;
|
2697
|
+
}) | {
|
2698
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2699
|
+
value: string[];
|
2700
|
+
} | {
|
2560
2701
|
type: "execute_command";
|
2561
2702
|
meta: {
|
2562
2703
|
command: string;
|
2563
2704
|
} & {
|
2564
2705
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2565
2706
|
};
|
2566
|
-
} | {
|
2567
|
-
type: "no_action";
|
2568
2707
|
} | {
|
2569
2708
|
type: "click";
|
2570
2709
|
value: string;
|
2571
2710
|
} | {
|
2572
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2573
|
-
value: string[];
|
2574
|
-
} | ({
|
2575
|
-
type: "link";
|
2576
|
-
value: string;
|
2577
|
-
} & {
|
2578
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2579
|
-
meta?: {
|
2580
|
-
command: string;
|
2581
|
-
} | undefined;
|
2582
|
-
}) | {
|
2583
2711
|
type: "open_chat";
|
2584
2712
|
meta: {
|
2585
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2713
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2714
|
+
};
|
2715
|
+
} | {
|
2716
|
+
type: "chat_handoff";
|
2717
|
+
meta: {
|
2718
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2586
2719
|
};
|
2587
2720
|
} | {
|
2588
2721
|
type: "dismiss";
|
@@ -2591,14 +2724,14 @@ export declare class Nudge {
|
|
2591
2724
|
} | {
|
2592
2725
|
type: "questlist";
|
2593
2726
|
value: number;
|
2594
|
-
} | {
|
2595
|
-
type: "step_back";
|
2596
2727
|
} | {
|
2597
2728
|
type: "nudge";
|
2598
2729
|
value: number;
|
2599
2730
|
} | {
|
2600
2731
|
type: "go_to_step";
|
2601
2732
|
value: number;
|
2733
|
+
} | {
|
2734
|
+
type: "step_back";
|
2602
2735
|
} | ({
|
2603
2736
|
type: "open_bar";
|
2604
2737
|
} & {
|
@@ -2606,40 +2739,47 @@ export declare class Nudge {
|
|
2606
2739
|
categoryFilter?: number | undefined;
|
2607
2740
|
}) | {
|
2608
2741
|
type: "open_helphub";
|
2609
|
-
} | {
|
2742
|
+
} | ({
|
2610
2743
|
type: "open_copilot";
|
2744
|
+
} & {
|
2745
|
+
query?: string | undefined;
|
2746
|
+
}) | {
|
2747
|
+
type: "no_action";
|
2611
2748
|
} | undefined;
|
2612
2749
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2613
2750
|
conditional_actions?: {
|
2614
2751
|
operator: "eq" | "neq" | "gt" | "lt";
|
2615
2752
|
operand: string | number;
|
2616
|
-
action: {
|
2753
|
+
action: ({
|
2754
|
+
type: "link";
|
2755
|
+
value: string;
|
2756
|
+
} & {
|
2757
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2758
|
+
meta?: {
|
2759
|
+
command: string;
|
2760
|
+
} | undefined;
|
2761
|
+
}) | {
|
2762
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2763
|
+
value: string[];
|
2764
|
+
} | {
|
2617
2765
|
type: "execute_command";
|
2618
2766
|
meta: {
|
2619
2767
|
command: string;
|
2620
2768
|
} & {
|
2621
2769
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2622
2770
|
};
|
2623
|
-
} | {
|
2624
|
-
type: "no_action";
|
2625
2771
|
} | {
|
2626
2772
|
type: "click";
|
2627
2773
|
value: string;
|
2628
2774
|
} | {
|
2629
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2630
|
-
value: string[];
|
2631
|
-
} | ({
|
2632
|
-
type: "link";
|
2633
|
-
value: string;
|
2634
|
-
} & {
|
2635
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2636
|
-
meta?: {
|
2637
|
-
command: string;
|
2638
|
-
} | undefined;
|
2639
|
-
}) | {
|
2640
2775
|
type: "open_chat";
|
2641
2776
|
meta: {
|
2642
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2777
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2778
|
+
};
|
2779
|
+
} | {
|
2780
|
+
type: "chat_handoff";
|
2781
|
+
meta: {
|
2782
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2643
2783
|
};
|
2644
2784
|
} | {
|
2645
2785
|
type: "dismiss";
|
@@ -2648,14 +2788,14 @@ export declare class Nudge {
|
|
2648
2788
|
} | {
|
2649
2789
|
type: "questlist";
|
2650
2790
|
value: number;
|
2651
|
-
} | {
|
2652
|
-
type: "step_back";
|
2653
2791
|
} | {
|
2654
2792
|
type: "nudge";
|
2655
2793
|
value: number;
|
2656
2794
|
} | {
|
2657
2795
|
type: "go_to_step";
|
2658
2796
|
value: number;
|
2797
|
+
} | {
|
2798
|
+
type: "step_back";
|
2659
2799
|
} | ({
|
2660
2800
|
type: "open_bar";
|
2661
2801
|
} & {
|
@@ -2663,8 +2803,12 @@ export declare class Nudge {
|
|
2663
2803
|
categoryFilter?: number | undefined;
|
2664
2804
|
}) | {
|
2665
2805
|
type: "open_helphub";
|
2666
|
-
} | {
|
2806
|
+
} | ({
|
2667
2807
|
type: "open_copilot";
|
2808
|
+
} & {
|
2809
|
+
query?: string | undefined;
|
2810
|
+
}) | {
|
2811
|
+
type: "no_action";
|
2668
2812
|
};
|
2669
2813
|
}[] | undefined;
|
2670
2814
|
} | null;
|
@@ -2773,6 +2917,9 @@ export declare class Nudge {
|
|
2773
2917
|
x: string;
|
2774
2918
|
y: string;
|
2775
2919
|
} | undefined;
|
2920
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2921
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2922
|
+
copilot_intro?: boolean | undefined;
|
2776
2923
|
}) | {
|
2777
2924
|
type: "tooltip";
|
2778
2925
|
anchor: string;
|
@@ -2781,7 +2928,7 @@ export declare class Nudge {
|
|
2781
2928
|
type: "beacon";
|
2782
2929
|
} | {
|
2783
2930
|
type: "icon";
|
2784
|
-
icon: "
|
2931
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
2785
2932
|
} | {
|
2786
2933
|
type: "image";
|
2787
2934
|
source: string;
|
@@ -2923,33 +3070,36 @@ export declare class Nudge {
|
|
2923
3070
|
sort_key: number | undefined;
|
2924
3071
|
meta: {
|
2925
3072
|
label?: string | undefined;
|
2926
|
-
action?: {
|
3073
|
+
action?: ({
|
3074
|
+
type: "link";
|
3075
|
+
value: string;
|
3076
|
+
} & {
|
3077
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3078
|
+
meta?: {
|
3079
|
+
command: string;
|
3080
|
+
} | undefined;
|
3081
|
+
}) | {
|
3082
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3083
|
+
value: string[];
|
3084
|
+
} | {
|
2927
3085
|
type: "execute_command";
|
2928
3086
|
meta: {
|
2929
3087
|
command: string;
|
2930
3088
|
} & {
|
2931
3089
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2932
3090
|
};
|
2933
|
-
} | {
|
2934
|
-
type: "no_action";
|
2935
3091
|
} | {
|
2936
3092
|
type: "click";
|
2937
3093
|
value: string;
|
2938
3094
|
} | {
|
2939
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2940
|
-
value: string[];
|
2941
|
-
} | ({
|
2942
|
-
type: "link";
|
2943
|
-
value: string;
|
2944
|
-
} & {
|
2945
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2946
|
-
meta?: {
|
2947
|
-
command: string;
|
2948
|
-
} | undefined;
|
2949
|
-
}) | {
|
2950
3095
|
type: "open_chat";
|
2951
3096
|
meta: {
|
2952
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3097
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3098
|
+
};
|
3099
|
+
} | {
|
3100
|
+
type: "chat_handoff";
|
3101
|
+
meta: {
|
3102
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2953
3103
|
};
|
2954
3104
|
} | {
|
2955
3105
|
type: "dismiss";
|
@@ -2958,14 +3108,14 @@ export declare class Nudge {
|
|
2958
3108
|
} | {
|
2959
3109
|
type: "questlist";
|
2960
3110
|
value: number;
|
2961
|
-
} | {
|
2962
|
-
type: "step_back";
|
2963
3111
|
} | {
|
2964
3112
|
type: "nudge";
|
2965
3113
|
value: number;
|
2966
3114
|
} | {
|
2967
3115
|
type: "go_to_step";
|
2968
3116
|
value: number;
|
3117
|
+
} | {
|
3118
|
+
type: "step_back";
|
2969
3119
|
} | ({
|
2970
3120
|
type: "open_bar";
|
2971
3121
|
} & {
|
@@ -2973,40 +3123,47 @@ export declare class Nudge {
|
|
2973
3123
|
categoryFilter?: number | undefined;
|
2974
3124
|
}) | {
|
2975
3125
|
type: "open_helphub";
|
2976
|
-
} | {
|
3126
|
+
} | ({
|
2977
3127
|
type: "open_copilot";
|
3128
|
+
} & {
|
3129
|
+
query?: string | undefined;
|
3130
|
+
}) | {
|
3131
|
+
type: "no_action";
|
2978
3132
|
} | undefined;
|
2979
3133
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
2980
3134
|
conditional_actions?: {
|
2981
3135
|
operator: "eq" | "neq" | "gt" | "lt";
|
2982
3136
|
operand: string | number;
|
2983
|
-
action: {
|
3137
|
+
action: ({
|
3138
|
+
type: "link";
|
3139
|
+
value: string;
|
3140
|
+
} & {
|
3141
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3142
|
+
meta?: {
|
3143
|
+
command: string;
|
3144
|
+
} | undefined;
|
3145
|
+
}) | {
|
3146
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3147
|
+
value: string[];
|
3148
|
+
} | {
|
2984
3149
|
type: "execute_command";
|
2985
3150
|
meta: {
|
2986
3151
|
command: string;
|
2987
3152
|
} & {
|
2988
3153
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2989
3154
|
};
|
2990
|
-
} | {
|
2991
|
-
type: "no_action";
|
2992
3155
|
} | {
|
2993
3156
|
type: "click";
|
2994
3157
|
value: string;
|
2995
3158
|
} | {
|
2996
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2997
|
-
value: string[];
|
2998
|
-
} | ({
|
2999
|
-
type: "link";
|
3000
|
-
value: string;
|
3001
|
-
} & {
|
3002
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3003
|
-
meta?: {
|
3004
|
-
command: string;
|
3005
|
-
} | undefined;
|
3006
|
-
}) | {
|
3007
3159
|
type: "open_chat";
|
3008
3160
|
meta: {
|
3009
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3161
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3162
|
+
};
|
3163
|
+
} | {
|
3164
|
+
type: "chat_handoff";
|
3165
|
+
meta: {
|
3166
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3010
3167
|
};
|
3011
3168
|
} | {
|
3012
3169
|
type: "dismiss";
|
@@ -3015,14 +3172,14 @@ export declare class Nudge {
|
|
3015
3172
|
} | {
|
3016
3173
|
type: "questlist";
|
3017
3174
|
value: number;
|
3018
|
-
} | {
|
3019
|
-
type: "step_back";
|
3020
3175
|
} | {
|
3021
3176
|
type: "nudge";
|
3022
3177
|
value: number;
|
3023
3178
|
} | {
|
3024
3179
|
type: "go_to_step";
|
3025
3180
|
value: number;
|
3181
|
+
} | {
|
3182
|
+
type: "step_back";
|
3026
3183
|
} | ({
|
3027
3184
|
type: "open_bar";
|
3028
3185
|
} & {
|
@@ -3030,8 +3187,12 @@ export declare class Nudge {
|
|
3030
3187
|
categoryFilter?: number | undefined;
|
3031
3188
|
}) | {
|
3032
3189
|
type: "open_helphub";
|
3033
|
-
} | {
|
3190
|
+
} | ({
|
3034
3191
|
type: "open_copilot";
|
3192
|
+
} & {
|
3193
|
+
query?: string | undefined;
|
3194
|
+
}) | {
|
3195
|
+
type: "no_action";
|
3035
3196
|
};
|
3036
3197
|
}[] | undefined;
|
3037
3198
|
} | null;
|
@@ -3140,6 +3301,9 @@ export declare class Nudge {
|
|
3140
3301
|
x: string;
|
3141
3302
|
y: string;
|
3142
3303
|
} | undefined;
|
3304
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
3305
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
3306
|
+
copilot_intro?: boolean | undefined;
|
3143
3307
|
}) | {
|
3144
3308
|
type: "tooltip";
|
3145
3309
|
anchor: string;
|
@@ -3148,7 +3312,7 @@ export declare class Nudge {
|
|
3148
3312
|
type: "beacon";
|
3149
3313
|
} | {
|
3150
3314
|
type: "icon";
|
3151
|
-
icon: "
|
3315
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
3152
3316
|
} | {
|
3153
3317
|
type: "image";
|
3154
3318
|
source: string;
|
@@ -3292,33 +3456,36 @@ export declare class Nudge {
|
|
3292
3456
|
sort_key: number | undefined;
|
3293
3457
|
meta: {
|
3294
3458
|
label?: string | undefined;
|
3295
|
-
action?: {
|
3459
|
+
action?: ({
|
3460
|
+
type: "link";
|
3461
|
+
value: string;
|
3462
|
+
} & {
|
3463
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3464
|
+
meta?: {
|
3465
|
+
command: string;
|
3466
|
+
} | undefined;
|
3467
|
+
}) | {
|
3468
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3469
|
+
value: string[];
|
3470
|
+
} | {
|
3296
3471
|
type: "execute_command";
|
3297
3472
|
meta: {
|
3298
3473
|
command: string;
|
3299
3474
|
} & {
|
3300
3475
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3301
3476
|
};
|
3302
|
-
} | {
|
3303
|
-
type: "no_action";
|
3304
3477
|
} | {
|
3305
3478
|
type: "click";
|
3306
3479
|
value: string;
|
3307
3480
|
} | {
|
3308
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3309
|
-
value: string[];
|
3310
|
-
} | ({
|
3311
|
-
type: "link";
|
3312
|
-
value: string;
|
3313
|
-
} & {
|
3314
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3315
|
-
meta?: {
|
3316
|
-
command: string;
|
3317
|
-
} | undefined;
|
3318
|
-
}) | {
|
3319
3481
|
type: "open_chat";
|
3320
3482
|
meta: {
|
3321
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3483
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3484
|
+
};
|
3485
|
+
} | {
|
3486
|
+
type: "chat_handoff";
|
3487
|
+
meta: {
|
3488
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3322
3489
|
};
|
3323
3490
|
} | {
|
3324
3491
|
type: "dismiss";
|
@@ -3327,14 +3494,14 @@ export declare class Nudge {
|
|
3327
3494
|
} | {
|
3328
3495
|
type: "questlist";
|
3329
3496
|
value: number;
|
3330
|
-
} | {
|
3331
|
-
type: "step_back";
|
3332
3497
|
} | {
|
3333
3498
|
type: "nudge";
|
3334
3499
|
value: number;
|
3335
3500
|
} | {
|
3336
3501
|
type: "go_to_step";
|
3337
3502
|
value: number;
|
3503
|
+
} | {
|
3504
|
+
type: "step_back";
|
3338
3505
|
} | ({
|
3339
3506
|
type: "open_bar";
|
3340
3507
|
} & {
|
@@ -3342,40 +3509,47 @@ export declare class Nudge {
|
|
3342
3509
|
categoryFilter?: number | undefined;
|
3343
3510
|
}) | {
|
3344
3511
|
type: "open_helphub";
|
3345
|
-
} | {
|
3512
|
+
} | ({
|
3346
3513
|
type: "open_copilot";
|
3514
|
+
} & {
|
3515
|
+
query?: string | undefined;
|
3516
|
+
}) | {
|
3517
|
+
type: "no_action";
|
3347
3518
|
} | undefined;
|
3348
3519
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
3349
3520
|
conditional_actions?: {
|
3350
3521
|
operator: "eq" | "neq" | "gt" | "lt";
|
3351
3522
|
operand: string | number;
|
3352
|
-
action: {
|
3523
|
+
action: ({
|
3524
|
+
type: "link";
|
3525
|
+
value: string;
|
3526
|
+
} & {
|
3527
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3528
|
+
meta?: {
|
3529
|
+
command: string;
|
3530
|
+
} | undefined;
|
3531
|
+
}) | {
|
3532
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3533
|
+
value: string[];
|
3534
|
+
} | {
|
3353
3535
|
type: "execute_command";
|
3354
3536
|
meta: {
|
3355
3537
|
command: string;
|
3356
3538
|
} & {
|
3357
3539
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3358
3540
|
};
|
3359
|
-
} | {
|
3360
|
-
type: "no_action";
|
3361
3541
|
} | {
|
3362
3542
|
type: "click";
|
3363
3543
|
value: string;
|
3364
3544
|
} | {
|
3365
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3366
|
-
value: string[];
|
3367
|
-
} | ({
|
3368
|
-
type: "link";
|
3369
|
-
value: string;
|
3370
|
-
} & {
|
3371
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3372
|
-
meta?: {
|
3373
|
-
command: string;
|
3374
|
-
} | undefined;
|
3375
|
-
}) | {
|
3376
3545
|
type: "open_chat";
|
3377
3546
|
meta: {
|
3378
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3547
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3548
|
+
};
|
3549
|
+
} | {
|
3550
|
+
type: "chat_handoff";
|
3551
|
+
meta: {
|
3552
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3379
3553
|
};
|
3380
3554
|
} | {
|
3381
3555
|
type: "dismiss";
|
@@ -3384,14 +3558,14 @@ export declare class Nudge {
|
|
3384
3558
|
} | {
|
3385
3559
|
type: "questlist";
|
3386
3560
|
value: number;
|
3387
|
-
} | {
|
3388
|
-
type: "step_back";
|
3389
3561
|
} | {
|
3390
3562
|
type: "nudge";
|
3391
3563
|
value: number;
|
3392
3564
|
} | {
|
3393
3565
|
type: "go_to_step";
|
3394
3566
|
value: number;
|
3567
|
+
} | {
|
3568
|
+
type: "step_back";
|
3395
3569
|
} | ({
|
3396
3570
|
type: "open_bar";
|
3397
3571
|
} & {
|
@@ -3399,8 +3573,12 @@ export declare class Nudge {
|
|
3399
3573
|
categoryFilter?: number | undefined;
|
3400
3574
|
}) | {
|
3401
3575
|
type: "open_helphub";
|
3402
|
-
} | {
|
3576
|
+
} | ({
|
3403
3577
|
type: "open_copilot";
|
3578
|
+
} & {
|
3579
|
+
query?: string | undefined;
|
3580
|
+
}) | {
|
3581
|
+
type: "no_action";
|
3404
3582
|
};
|
3405
3583
|
}[] | undefined;
|
3406
3584
|
} | null;
|
@@ -3509,6 +3687,9 @@ export declare class Nudge {
|
|
3509
3687
|
x: string;
|
3510
3688
|
y: string;
|
3511
3689
|
} | undefined;
|
3690
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
3691
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
3692
|
+
copilot_intro?: boolean | undefined;
|
3512
3693
|
}) | {
|
3513
3694
|
type: "tooltip";
|
3514
3695
|
anchor: string;
|
@@ -3517,7 +3698,7 @@ export declare class Nudge {
|
|
3517
3698
|
type: "beacon";
|
3518
3699
|
} | {
|
3519
3700
|
type: "icon";
|
3520
|
-
icon: "
|
3701
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
3521
3702
|
} | {
|
3522
3703
|
type: "image";
|
3523
3704
|
source: string;
|
@@ -3663,33 +3844,36 @@ export declare class Nudge {
|
|
3663
3844
|
sort_key: number | undefined;
|
3664
3845
|
meta: {
|
3665
3846
|
label?: string | undefined;
|
3666
|
-
action?: {
|
3847
|
+
action?: ({
|
3848
|
+
type: "link";
|
3849
|
+
value: string;
|
3850
|
+
} & {
|
3851
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3852
|
+
meta?: {
|
3853
|
+
command: string;
|
3854
|
+
} | undefined;
|
3855
|
+
}) | {
|
3856
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3857
|
+
value: string[];
|
3858
|
+
} | {
|
3667
3859
|
type: "execute_command";
|
3668
3860
|
meta: {
|
3669
3861
|
command: string;
|
3670
3862
|
} & {
|
3671
3863
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3672
3864
|
};
|
3673
|
-
} | {
|
3674
|
-
type: "no_action";
|
3675
3865
|
} | {
|
3676
3866
|
type: "click";
|
3677
3867
|
value: string;
|
3678
3868
|
} | {
|
3679
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3680
|
-
value: string[];
|
3681
|
-
} | ({
|
3682
|
-
type: "link";
|
3683
|
-
value: string;
|
3684
|
-
} & {
|
3685
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3686
|
-
meta?: {
|
3687
|
-
command: string;
|
3688
|
-
} | undefined;
|
3689
|
-
}) | {
|
3690
3869
|
type: "open_chat";
|
3691
3870
|
meta: {
|
3692
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3871
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3872
|
+
};
|
3873
|
+
} | {
|
3874
|
+
type: "chat_handoff";
|
3875
|
+
meta: {
|
3876
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3693
3877
|
};
|
3694
3878
|
} | {
|
3695
3879
|
type: "dismiss";
|
@@ -3698,14 +3882,14 @@ export declare class Nudge {
|
|
3698
3882
|
} | {
|
3699
3883
|
type: "questlist";
|
3700
3884
|
value: number;
|
3701
|
-
} | {
|
3702
|
-
type: "step_back";
|
3703
3885
|
} | {
|
3704
3886
|
type: "nudge";
|
3705
3887
|
value: number;
|
3706
3888
|
} | {
|
3707
3889
|
type: "go_to_step";
|
3708
3890
|
value: number;
|
3891
|
+
} | {
|
3892
|
+
type: "step_back";
|
3709
3893
|
} | ({
|
3710
3894
|
type: "open_bar";
|
3711
3895
|
} & {
|
@@ -3713,40 +3897,47 @@ export declare class Nudge {
|
|
3713
3897
|
categoryFilter?: number | undefined;
|
3714
3898
|
}) | {
|
3715
3899
|
type: "open_helphub";
|
3716
|
-
} | {
|
3900
|
+
} | ({
|
3717
3901
|
type: "open_copilot";
|
3902
|
+
} & {
|
3903
|
+
query?: string | undefined;
|
3904
|
+
}) | {
|
3905
|
+
type: "no_action";
|
3718
3906
|
} | undefined;
|
3719
3907
|
button_type?: "snooze" | "primary" | "secondary" | undefined;
|
3720
3908
|
conditional_actions?: {
|
3721
3909
|
operator: "eq" | "neq" | "gt" | "lt";
|
3722
3910
|
operand: string | number;
|
3723
|
-
action: {
|
3911
|
+
action: ({
|
3912
|
+
type: "link";
|
3913
|
+
value: string;
|
3914
|
+
} & {
|
3915
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3916
|
+
meta?: {
|
3917
|
+
command: string;
|
3918
|
+
} | undefined;
|
3919
|
+
}) | {
|
3920
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3921
|
+
value: string[];
|
3922
|
+
} | {
|
3724
3923
|
type: "execute_command";
|
3725
3924
|
meta: {
|
3726
3925
|
command: string;
|
3727
3926
|
} & {
|
3728
3927
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3729
3928
|
};
|
3730
|
-
} | {
|
3731
|
-
type: "no_action";
|
3732
3929
|
} | {
|
3733
3930
|
type: "click";
|
3734
3931
|
value: string;
|
3735
3932
|
} | {
|
3736
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3737
|
-
value: string[];
|
3738
|
-
} | ({
|
3739
|
-
type: "link";
|
3740
|
-
value: string;
|
3741
|
-
} & {
|
3742
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3743
|
-
meta?: {
|
3744
|
-
command: string;
|
3745
|
-
} | undefined;
|
3746
|
-
}) | {
|
3747
3933
|
type: "open_chat";
|
3748
3934
|
meta: {
|
3749
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3935
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3936
|
+
};
|
3937
|
+
} | {
|
3938
|
+
type: "chat_handoff";
|
3939
|
+
meta: {
|
3940
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3750
3941
|
};
|
3751
3942
|
} | {
|
3752
3943
|
type: "dismiss";
|
@@ -3755,14 +3946,14 @@ export declare class Nudge {
|
|
3755
3946
|
} | {
|
3756
3947
|
type: "questlist";
|
3757
3948
|
value: number;
|
3758
|
-
} | {
|
3759
|
-
type: "step_back";
|
3760
3949
|
} | {
|
3761
3950
|
type: "nudge";
|
3762
3951
|
value: number;
|
3763
3952
|
} | {
|
3764
3953
|
type: "go_to_step";
|
3765
3954
|
value: number;
|
3955
|
+
} | {
|
3956
|
+
type: "step_back";
|
3766
3957
|
} | ({
|
3767
3958
|
type: "open_bar";
|
3768
3959
|
} & {
|
@@ -3770,8 +3961,12 @@ export declare class Nudge {
|
|
3770
3961
|
categoryFilter?: number | undefined;
|
3771
3962
|
}) | {
|
3772
3963
|
type: "open_helphub";
|
3773
|
-
} | {
|
3964
|
+
} | ({
|
3774
3965
|
type: "open_copilot";
|
3966
|
+
} & {
|
3967
|
+
query?: string | undefined;
|
3968
|
+
}) | {
|
3969
|
+
type: "no_action";
|
3775
3970
|
};
|
3776
3971
|
}[] | undefined;
|
3777
3972
|
} | null;
|
@@ -3880,6 +4075,9 @@ export declare class Nudge {
|
|
3880
4075
|
x: string;
|
3881
4076
|
y: string;
|
3882
4077
|
} | undefined;
|
4078
|
+
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
4079
|
+
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
4080
|
+
copilot_intro?: boolean | undefined;
|
3883
4081
|
}) | {
|
3884
4082
|
type: "tooltip";
|
3885
4083
|
anchor: string;
|
@@ -3888,7 +4086,7 @@ export declare class Nudge {
|
|
3888
4086
|
type: "beacon";
|
3889
4087
|
} | {
|
3890
4088
|
type: "icon";
|
3891
|
-
icon: "
|
4089
|
+
icon: "bookClosed" | "helpCircle" | "helpSquare" | "infoCircle" | "lightBulb" | "lightning";
|
3892
4090
|
} | {
|
3893
4091
|
type: "image";
|
3894
4092
|
source: string;
|
@@ -3947,4 +4145,7 @@ export declare class Nudge {
|
|
3947
4145
|
* Returns true if the nudge is new (not yet saved to the backend)
|
3948
4146
|
*/
|
3949
4147
|
static isNew: (nudge: t.TypeOf<typeof NudgeV>) => boolean;
|
4148
|
+
static resetNudgeInteractions: (endUserSlug: string, nudgeId: number) => Promise<{
|
4149
|
+
did_reset: boolean;
|
4150
|
+
}>;
|
3950
4151
|
}
|