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
@@ -12,37 +12,40 @@ export declare const CommandExperience: t.TypeC<{
|
|
12
12
|
id: number;
|
13
13
|
text: string;
|
14
14
|
template: ({
|
15
|
-
type: "
|
15
|
+
type: "callback";
|
16
16
|
value: string;
|
17
17
|
} & {} & {
|
18
18
|
commandType?: "object" | "help" | "independent" | undefined;
|
19
19
|
object?: string | undefined;
|
20
20
|
hoverTooltip?: boolean | undefined;
|
21
|
-
operation?: "self" | "router" | "
|
21
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
22
22
|
metadata?: {
|
23
23
|
[key: string]: unknown;
|
24
24
|
} | undefined;
|
25
25
|
}) | ({
|
26
|
-
type: "
|
26
|
+
type: "link";
|
27
27
|
value: string;
|
28
|
+
} & {
|
29
|
+
operation?: "self" | "router" | "blank" | undefined;
|
30
|
+
meta?: {
|
31
|
+
command: string;
|
32
|
+
} | undefined;
|
28
33
|
} & {} & {
|
29
34
|
commandType?: "object" | "help" | "independent" | undefined;
|
30
35
|
object?: string | undefined;
|
31
36
|
hoverTooltip?: boolean | undefined;
|
32
|
-
operation?: "self" | "router" | "
|
37
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
33
38
|
metadata?: {
|
34
39
|
[key: string]: unknown;
|
35
40
|
} | undefined;
|
36
41
|
}) | ({
|
37
|
-
type: "
|
42
|
+
type: "webhook";
|
38
43
|
value: string;
|
39
|
-
} & {
|
40
|
-
operation?: "self" | "router" | "blank" | undefined;
|
41
44
|
} & {} & {
|
42
45
|
commandType?: "object" | "help" | "independent" | undefined;
|
43
46
|
object?: string | undefined;
|
44
47
|
hoverTooltip?: boolean | undefined;
|
45
|
-
operation?: "self" | "router" | "
|
48
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
46
49
|
metadata?: {
|
47
50
|
[key: string]: unknown;
|
48
51
|
} | undefined;
|
@@ -53,143 +56,153 @@ export declare const CommandExperience: t.TypeC<{
|
|
53
56
|
commandType?: "object" | "help" | "independent" | undefined;
|
54
57
|
object?: string | undefined;
|
55
58
|
hoverTooltip?: boolean | undefined;
|
56
|
-
operation?: "self" | "router" | "
|
59
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
57
60
|
metadata?: {
|
58
61
|
[key: string]: unknown;
|
59
62
|
} | undefined;
|
60
63
|
}) | ({
|
61
|
-
type: "
|
62
|
-
value:
|
64
|
+
type: "request";
|
65
|
+
value: {
|
66
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
67
|
+
url: string;
|
68
|
+
} & {
|
69
|
+
headers?: {
|
70
|
+
[key: string]: unknown;
|
71
|
+
} | undefined;
|
72
|
+
body?: {
|
73
|
+
[key: string]: unknown;
|
74
|
+
} | undefined;
|
75
|
+
onSend?: string | undefined;
|
76
|
+
onSuccess?: string | undefined;
|
77
|
+
onError?: string | undefined;
|
78
|
+
};
|
63
79
|
} & {} & {
|
64
80
|
commandType?: "object" | "help" | "independent" | undefined;
|
65
81
|
object?: string | undefined;
|
66
82
|
hoverTooltip?: boolean | undefined;
|
67
|
-
operation?: "self" | "router" | "
|
83
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
68
84
|
metadata?: {
|
69
85
|
[key: string]: unknown;
|
70
86
|
} | undefined;
|
71
87
|
}) | ({
|
72
|
-
type: "
|
88
|
+
type: "appcues";
|
73
89
|
value: string;
|
74
90
|
} & {} & {
|
75
91
|
commandType?: "object" | "help" | "independent" | undefined;
|
76
92
|
object?: string | undefined;
|
77
93
|
hoverTooltip?: boolean | undefined;
|
78
|
-
operation?: "self" | "router" | "
|
94
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
79
95
|
metadata?: {
|
80
96
|
[key: string]: unknown;
|
81
97
|
} | undefined;
|
82
98
|
}) | ({
|
83
|
-
type: "
|
99
|
+
type: "pendo_guide";
|
84
100
|
value: string;
|
85
101
|
} & {} & {
|
86
102
|
commandType?: "object" | "help" | "independent" | undefined;
|
87
103
|
object?: string | undefined;
|
88
104
|
hoverTooltip?: boolean | undefined;
|
89
|
-
operation?: "self" | "router" | "
|
105
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
90
106
|
metadata?: {
|
91
107
|
[key: string]: unknown;
|
92
108
|
} | undefined;
|
93
109
|
}) | ({
|
94
|
-
type: "
|
95
|
-
value:
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
} | undefined;
|
105
|
-
onSend?: string | undefined;
|
106
|
-
onSuccess?: string | undefined;
|
107
|
-
onError?: string | undefined;
|
108
|
-
};
|
110
|
+
type: "helpdoc";
|
111
|
+
value: string;
|
112
|
+
} & {
|
113
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
114
|
+
doc_metadata?: {
|
115
|
+
content_type?: string | undefined;
|
116
|
+
date?: string | undefined;
|
117
|
+
} | undefined;
|
118
|
+
} & {
|
119
|
+
doc_type?: "answer" | "doc" | undefined;
|
109
120
|
} & {} & {
|
110
121
|
commandType?: "object" | "help" | "independent" | undefined;
|
111
122
|
object?: string | undefined;
|
112
123
|
hoverTooltip?: boolean | undefined;
|
113
|
-
operation?: "self" | "router" | "
|
124
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
114
125
|
metadata?: {
|
115
126
|
[key: string]: unknown;
|
116
127
|
} | undefined;
|
117
128
|
}) | ({
|
118
|
-
type: "
|
129
|
+
type: "admin";
|
119
130
|
value: string;
|
120
131
|
} & {} & {
|
121
132
|
commandType?: "object" | "help" | "independent" | undefined;
|
122
133
|
object?: string | undefined;
|
123
134
|
hoverTooltip?: boolean | undefined;
|
124
|
-
operation?: "self" | "router" | "
|
135
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
125
136
|
metadata?: {
|
126
137
|
[key: string]: unknown;
|
127
138
|
} | undefined;
|
128
139
|
}) | ({
|
129
|
-
type: "
|
140
|
+
type: "builtin";
|
130
141
|
value: string;
|
131
142
|
} & {} & {
|
132
143
|
commandType?: "object" | "help" | "independent" | undefined;
|
133
144
|
object?: string | undefined;
|
134
145
|
hoverTooltip?: boolean | undefined;
|
135
|
-
operation?: "self" | "router" | "
|
146
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
136
147
|
metadata?: {
|
137
148
|
[key: string]: unknown;
|
138
149
|
} | undefined;
|
139
150
|
}) | ({
|
140
|
-
type: "
|
151
|
+
type: "script";
|
141
152
|
value: string;
|
142
153
|
} & {} & {
|
143
154
|
commandType?: "object" | "help" | "independent" | undefined;
|
144
155
|
object?: string | undefined;
|
145
156
|
hoverTooltip?: boolean | undefined;
|
146
|
-
operation?: "self" | "router" | "
|
157
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
147
158
|
metadata?: {
|
148
159
|
[key: string]: unknown;
|
149
160
|
} | undefined;
|
150
161
|
}) | ({
|
151
|
-
type: "
|
162
|
+
type: "video";
|
152
163
|
value: string;
|
153
|
-
} & {
|
154
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
155
|
-
doc_metadata?: {
|
156
|
-
content_type?: string | undefined;
|
157
|
-
date?: string | undefined;
|
158
|
-
} | undefined;
|
159
|
-
} & {
|
160
|
-
doc_type?: "answer" | "doc" | undefined;
|
161
164
|
} & {} & {
|
162
165
|
commandType?: "object" | "help" | "independent" | undefined;
|
163
166
|
object?: string | undefined;
|
164
167
|
hoverTooltip?: boolean | undefined;
|
165
|
-
operation?: "self" | "router" | "
|
168
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
166
169
|
metadata?: {
|
167
170
|
[key: string]: unknown;
|
168
171
|
} | undefined;
|
169
172
|
}) | ({
|
170
173
|
type: "trigger";
|
171
|
-
value: {
|
174
|
+
value: ({
|
175
|
+
type: "link";
|
176
|
+
value: string;
|
177
|
+
} & {
|
178
|
+
operation?: "self" | "router" | "blank" | undefined;
|
179
|
+
meta?: {
|
180
|
+
command: string;
|
181
|
+
} | undefined;
|
182
|
+
}) | {
|
183
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
184
|
+
value: string[];
|
185
|
+
} | {
|
172
186
|
type: "execute_command";
|
173
187
|
meta: {
|
174
188
|
command: string;
|
175
189
|
} & {
|
176
190
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
177
191
|
};
|
192
|
+
} | {
|
193
|
+
type: "no_action";
|
178
194
|
} | {
|
179
195
|
type: "click";
|
180
196
|
value: string;
|
181
197
|
} | {
|
182
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
183
|
-
value: string[];
|
184
|
-
} | ({
|
185
|
-
type: "link";
|
186
|
-
value: string;
|
187
|
-
} & {
|
188
|
-
operation?: "self" | "router" | "blank" | undefined;
|
189
|
-
}) | {
|
190
198
|
type: "open_chat";
|
191
199
|
meta: {
|
192
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
200
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
201
|
+
};
|
202
|
+
} | {
|
203
|
+
type: "chat_handoff";
|
204
|
+
meta: {
|
205
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
193
206
|
};
|
194
207
|
} | {
|
195
208
|
type: "dismiss";
|
@@ -198,14 +211,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
198
211
|
} | {
|
199
212
|
type: "questlist";
|
200
213
|
value: number;
|
201
|
-
} | {
|
202
|
-
type: "step_back";
|
203
214
|
} | {
|
204
215
|
type: "nudge";
|
205
216
|
value: number;
|
206
217
|
} | {
|
207
218
|
type: "go_to_step";
|
208
219
|
value: number;
|
220
|
+
} | {
|
221
|
+
type: "step_back";
|
209
222
|
} | ({
|
210
223
|
type: "open_bar";
|
211
224
|
} & {
|
@@ -213,16 +226,16 @@ export declare const CommandExperience: t.TypeC<{
|
|
213
226
|
categoryFilter?: number | undefined;
|
214
227
|
}) | {
|
215
228
|
type: "open_helphub";
|
216
|
-
} | {
|
229
|
+
} | ({
|
217
230
|
type: "open_copilot";
|
218
|
-
}
|
219
|
-
|
220
|
-
};
|
231
|
+
} & {
|
232
|
+
query?: string | undefined;
|
233
|
+
});
|
221
234
|
} & {} & {
|
222
235
|
commandType?: "object" | "help" | "independent" | undefined;
|
223
236
|
object?: string | undefined;
|
224
237
|
hoverTooltip?: boolean | undefined;
|
225
|
-
operation?: "self" | "router" | "
|
238
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
226
239
|
metadata?: {
|
227
240
|
[key: string]: unknown;
|
228
241
|
} | undefined;
|
@@ -315,8 +328,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
315
328
|
};
|
316
329
|
tags: string[];
|
317
330
|
availability_rules: (({
|
318
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
319
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
331
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
332
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
320
333
|
} & {
|
321
334
|
field?: string | undefined;
|
322
335
|
value?: string | undefined;
|
@@ -325,14 +338,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
325
338
|
}) | ({
|
326
339
|
type: "nudge_interaction";
|
327
340
|
operator: "is" | "isNot";
|
328
|
-
value: "completed" | "
|
341
|
+
value: "completed" | "viewed" | "dismissed";
|
329
342
|
nudge_id: number;
|
330
343
|
} & {
|
331
344
|
reason?: string | undefined;
|
332
345
|
}) | ({
|
333
346
|
type: "questlist_interaction";
|
334
347
|
operator: "is" | "isNot";
|
335
|
-
value: "completed" | "
|
348
|
+
value: "completed" | "viewed" | "dismissed";
|
336
349
|
questlist_id: number;
|
337
350
|
} & {
|
338
351
|
reason?: string | undefined;
|
@@ -344,8 +357,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
344
357
|
reason?: string | undefined;
|
345
358
|
}))[];
|
346
359
|
recommend_rules: (({
|
347
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
348
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
360
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
361
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
349
362
|
} & {
|
350
363
|
field?: string | undefined;
|
351
364
|
value?: string | undefined;
|
@@ -354,14 +367,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
354
367
|
}) | ({
|
355
368
|
type: "nudge_interaction";
|
356
369
|
operator: "is" | "isNot";
|
357
|
-
value: "completed" | "
|
370
|
+
value: "completed" | "viewed" | "dismissed";
|
358
371
|
nudge_id: number;
|
359
372
|
} & {
|
360
373
|
reason?: string | undefined;
|
361
374
|
}) | ({
|
362
375
|
type: "questlist_interaction";
|
363
376
|
operator: "is" | "isNot";
|
364
|
-
value: "completed" | "
|
377
|
+
value: "completed" | "viewed" | "dismissed";
|
365
378
|
questlist_id: number;
|
366
379
|
} & {
|
367
380
|
reason?: string | undefined;
|
@@ -428,23 +441,23 @@ export declare const CommandExperience: t.TypeC<{
|
|
428
441
|
hotkey_mac: string;
|
429
442
|
hotkey_win: string;
|
430
443
|
detail: string | ({
|
431
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
444
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
432
445
|
value: string;
|
433
446
|
} & {
|
434
447
|
position?: "inline" | "popover" | undefined;
|
435
448
|
}) | (string | ({
|
436
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
449
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
437
450
|
value: string;
|
438
451
|
} & {
|
439
452
|
position?: "inline" | "popover" | undefined;
|
440
453
|
}))[] | null;
|
441
454
|
content: string | ({
|
442
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
455
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
443
456
|
value: string;
|
444
457
|
} & {
|
445
458
|
position?: "inline" | "popover" | undefined;
|
446
459
|
}) | (string | ({
|
447
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
460
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
448
461
|
value: string;
|
449
462
|
} & {
|
450
463
|
position?: "inline" | "popover" | undefined;
|
@@ -452,28 +465,38 @@ export declare const CommandExperience: t.TypeC<{
|
|
452
465
|
show_preview: boolean;
|
453
466
|
next_steps: (string | number | {
|
454
467
|
cta: string;
|
455
|
-
action: {
|
468
|
+
action: ({
|
469
|
+
type: "link";
|
470
|
+
value: string;
|
471
|
+
} & {
|
472
|
+
operation?: "self" | "router" | "blank" | undefined;
|
473
|
+
meta?: {
|
474
|
+
command: string;
|
475
|
+
} | undefined;
|
476
|
+
}) | {
|
477
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
478
|
+
value: string[];
|
479
|
+
} | {
|
456
480
|
type: "execute_command";
|
457
481
|
meta: {
|
458
482
|
command: string;
|
459
483
|
} & {
|
460
484
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
461
485
|
};
|
486
|
+
} | {
|
487
|
+
type: "no_action";
|
462
488
|
} | {
|
463
489
|
type: "click";
|
464
490
|
value: string;
|
465
491
|
} | {
|
466
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
467
|
-
value: string[];
|
468
|
-
} | ({
|
469
|
-
type: "link";
|
470
|
-
value: string;
|
471
|
-
} & {
|
472
|
-
operation?: "self" | "router" | "blank" | undefined;
|
473
|
-
}) | {
|
474
492
|
type: "open_chat";
|
475
493
|
meta: {
|
476
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
494
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
495
|
+
};
|
496
|
+
} | {
|
497
|
+
type: "chat_handoff";
|
498
|
+
meta: {
|
499
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
477
500
|
};
|
478
501
|
} | {
|
479
502
|
type: "dismiss";
|
@@ -482,14 +505,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
482
505
|
} | {
|
483
506
|
type: "questlist";
|
484
507
|
value: number;
|
485
|
-
} | {
|
486
|
-
type: "step_back";
|
487
508
|
} | {
|
488
509
|
type: "nudge";
|
489
510
|
value: number;
|
490
511
|
} | {
|
491
512
|
type: "go_to_step";
|
492
513
|
value: number;
|
514
|
+
} | {
|
515
|
+
type: "step_back";
|
493
516
|
} | ({
|
494
517
|
type: "open_bar";
|
495
518
|
} & {
|
@@ -497,11 +520,11 @@ export declare const CommandExperience: t.TypeC<{
|
|
497
520
|
categoryFilter?: number | undefined;
|
498
521
|
}) | {
|
499
522
|
type: "open_helphub";
|
500
|
-
} | {
|
523
|
+
} | ({
|
501
524
|
type: "open_copilot";
|
502
|
-
}
|
503
|
-
|
504
|
-
};
|
525
|
+
} & {
|
526
|
+
query?: string | undefined;
|
527
|
+
});
|
505
528
|
})[];
|
506
529
|
extra: string | null;
|
507
530
|
thumbnail: {
|
@@ -541,37 +564,40 @@ export declare const CommandExperience: t.TypeC<{
|
|
541
564
|
id: number;
|
542
565
|
text: string;
|
543
566
|
template: ({
|
544
|
-
type: "
|
567
|
+
type: "callback";
|
545
568
|
value: string;
|
546
569
|
} & {} & {
|
547
570
|
commandType?: "object" | "help" | "independent" | undefined;
|
548
571
|
object?: string | undefined;
|
549
572
|
hoverTooltip?: boolean | undefined;
|
550
|
-
operation?: "self" | "router" | "
|
573
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
551
574
|
metadata?: {
|
552
575
|
[key: string]: unknown;
|
553
576
|
} | undefined;
|
554
577
|
}) | ({
|
555
|
-
type: "
|
578
|
+
type: "link";
|
556
579
|
value: string;
|
580
|
+
} & {
|
581
|
+
operation?: "self" | "router" | "blank" | undefined;
|
582
|
+
meta?: {
|
583
|
+
command: string;
|
584
|
+
} | undefined;
|
557
585
|
} & {} & {
|
558
586
|
commandType?: "object" | "help" | "independent" | undefined;
|
559
587
|
object?: string | undefined;
|
560
588
|
hoverTooltip?: boolean | undefined;
|
561
|
-
operation?: "self" | "router" | "
|
589
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
562
590
|
metadata?: {
|
563
591
|
[key: string]: unknown;
|
564
592
|
} | undefined;
|
565
593
|
}) | ({
|
566
|
-
type: "
|
594
|
+
type: "webhook";
|
567
595
|
value: string;
|
568
|
-
} & {
|
569
|
-
operation?: "self" | "router" | "blank" | undefined;
|
570
596
|
} & {} & {
|
571
597
|
commandType?: "object" | "help" | "independent" | undefined;
|
572
598
|
object?: string | undefined;
|
573
599
|
hoverTooltip?: boolean | undefined;
|
574
|
-
operation?: "self" | "router" | "
|
600
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
575
601
|
metadata?: {
|
576
602
|
[key: string]: unknown;
|
577
603
|
} | undefined;
|
@@ -582,143 +608,153 @@ export declare const CommandExperience: t.TypeC<{
|
|
582
608
|
commandType?: "object" | "help" | "independent" | undefined;
|
583
609
|
object?: string | undefined;
|
584
610
|
hoverTooltip?: boolean | undefined;
|
585
|
-
operation?: "self" | "router" | "
|
611
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
586
612
|
metadata?: {
|
587
613
|
[key: string]: unknown;
|
588
614
|
} | undefined;
|
589
615
|
}) | ({
|
590
|
-
type: "
|
591
|
-
value:
|
616
|
+
type: "request";
|
617
|
+
value: {
|
618
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
619
|
+
url: string;
|
620
|
+
} & {
|
621
|
+
headers?: {
|
622
|
+
[key: string]: unknown;
|
623
|
+
} | undefined;
|
624
|
+
body?: {
|
625
|
+
[key: string]: unknown;
|
626
|
+
} | undefined;
|
627
|
+
onSend?: string | undefined;
|
628
|
+
onSuccess?: string | undefined;
|
629
|
+
onError?: string | undefined;
|
630
|
+
};
|
592
631
|
} & {} & {
|
593
632
|
commandType?: "object" | "help" | "independent" | undefined;
|
594
633
|
object?: string | undefined;
|
595
634
|
hoverTooltip?: boolean | undefined;
|
596
|
-
operation?: "self" | "router" | "
|
635
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
597
636
|
metadata?: {
|
598
637
|
[key: string]: unknown;
|
599
638
|
} | undefined;
|
600
639
|
}) | ({
|
601
|
-
type: "
|
640
|
+
type: "appcues";
|
602
641
|
value: string;
|
603
642
|
} & {} & {
|
604
643
|
commandType?: "object" | "help" | "independent" | undefined;
|
605
644
|
object?: string | undefined;
|
606
645
|
hoverTooltip?: boolean | undefined;
|
607
|
-
operation?: "self" | "router" | "
|
646
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
608
647
|
metadata?: {
|
609
648
|
[key: string]: unknown;
|
610
649
|
} | undefined;
|
611
650
|
}) | ({
|
612
|
-
type: "
|
651
|
+
type: "pendo_guide";
|
613
652
|
value: string;
|
614
653
|
} & {} & {
|
615
654
|
commandType?: "object" | "help" | "independent" | undefined;
|
616
655
|
object?: string | undefined;
|
617
656
|
hoverTooltip?: boolean | undefined;
|
618
|
-
operation?: "self" | "router" | "
|
657
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
619
658
|
metadata?: {
|
620
659
|
[key: string]: unknown;
|
621
660
|
} | undefined;
|
622
661
|
}) | ({
|
623
|
-
type: "
|
624
|
-
value:
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
} | undefined;
|
634
|
-
onSend?: string | undefined;
|
635
|
-
onSuccess?: string | undefined;
|
636
|
-
onError?: string | undefined;
|
637
|
-
};
|
662
|
+
type: "helpdoc";
|
663
|
+
value: string;
|
664
|
+
} & {
|
665
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
666
|
+
doc_metadata?: {
|
667
|
+
content_type?: string | undefined;
|
668
|
+
date?: string | undefined;
|
669
|
+
} | undefined;
|
670
|
+
} & {
|
671
|
+
doc_type?: "answer" | "doc" | undefined;
|
638
672
|
} & {} & {
|
639
673
|
commandType?: "object" | "help" | "independent" | undefined;
|
640
674
|
object?: string | undefined;
|
641
675
|
hoverTooltip?: boolean | undefined;
|
642
|
-
operation?: "self" | "router" | "
|
676
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
643
677
|
metadata?: {
|
644
678
|
[key: string]: unknown;
|
645
679
|
} | undefined;
|
646
680
|
}) | ({
|
647
|
-
type: "
|
681
|
+
type: "admin";
|
648
682
|
value: string;
|
649
683
|
} & {} & {
|
650
684
|
commandType?: "object" | "help" | "independent" | undefined;
|
651
685
|
object?: string | undefined;
|
652
686
|
hoverTooltip?: boolean | undefined;
|
653
|
-
operation?: "self" | "router" | "
|
687
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
654
688
|
metadata?: {
|
655
689
|
[key: string]: unknown;
|
656
690
|
} | undefined;
|
657
691
|
}) | ({
|
658
|
-
type: "
|
692
|
+
type: "builtin";
|
659
693
|
value: string;
|
660
694
|
} & {} & {
|
661
695
|
commandType?: "object" | "help" | "independent" | undefined;
|
662
696
|
object?: string | undefined;
|
663
697
|
hoverTooltip?: boolean | undefined;
|
664
|
-
operation?: "self" | "router" | "
|
698
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
665
699
|
metadata?: {
|
666
700
|
[key: string]: unknown;
|
667
701
|
} | undefined;
|
668
702
|
}) | ({
|
669
|
-
type: "
|
703
|
+
type: "script";
|
670
704
|
value: string;
|
671
705
|
} & {} & {
|
672
706
|
commandType?: "object" | "help" | "independent" | undefined;
|
673
707
|
object?: string | undefined;
|
674
708
|
hoverTooltip?: boolean | undefined;
|
675
|
-
operation?: "self" | "router" | "
|
709
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
676
710
|
metadata?: {
|
677
711
|
[key: string]: unknown;
|
678
712
|
} | undefined;
|
679
713
|
}) | ({
|
680
|
-
type: "
|
714
|
+
type: "video";
|
681
715
|
value: string;
|
682
|
-
} & {
|
683
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
684
|
-
doc_metadata?: {
|
685
|
-
content_type?: string | undefined;
|
686
|
-
date?: string | undefined;
|
687
|
-
} | undefined;
|
688
|
-
} & {
|
689
|
-
doc_type?: "answer" | "doc" | undefined;
|
690
716
|
} & {} & {
|
691
717
|
commandType?: "object" | "help" | "independent" | undefined;
|
692
718
|
object?: string | undefined;
|
693
719
|
hoverTooltip?: boolean | undefined;
|
694
|
-
operation?: "self" | "router" | "
|
720
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
695
721
|
metadata?: {
|
696
722
|
[key: string]: unknown;
|
697
723
|
} | undefined;
|
698
724
|
}) | ({
|
699
725
|
type: "trigger";
|
700
|
-
value: {
|
726
|
+
value: ({
|
727
|
+
type: "link";
|
728
|
+
value: string;
|
729
|
+
} & {
|
730
|
+
operation?: "self" | "router" | "blank" | undefined;
|
731
|
+
meta?: {
|
732
|
+
command: string;
|
733
|
+
} | undefined;
|
734
|
+
}) | {
|
735
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
736
|
+
value: string[];
|
737
|
+
} | {
|
701
738
|
type: "execute_command";
|
702
739
|
meta: {
|
703
740
|
command: string;
|
704
741
|
} & {
|
705
742
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
706
743
|
};
|
744
|
+
} | {
|
745
|
+
type: "no_action";
|
707
746
|
} | {
|
708
747
|
type: "click";
|
709
748
|
value: string;
|
710
749
|
} | {
|
711
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
712
|
-
value: string[];
|
713
|
-
} | ({
|
714
|
-
type: "link";
|
715
|
-
value: string;
|
716
|
-
} & {
|
717
|
-
operation?: "self" | "router" | "blank" | undefined;
|
718
|
-
}) | {
|
719
750
|
type: "open_chat";
|
720
751
|
meta: {
|
721
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
752
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
753
|
+
};
|
754
|
+
} | {
|
755
|
+
type: "chat_handoff";
|
756
|
+
meta: {
|
757
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
722
758
|
};
|
723
759
|
} | {
|
724
760
|
type: "dismiss";
|
@@ -727,14 +763,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
727
763
|
} | {
|
728
764
|
type: "questlist";
|
729
765
|
value: number;
|
730
|
-
} | {
|
731
|
-
type: "step_back";
|
732
766
|
} | {
|
733
767
|
type: "nudge";
|
734
768
|
value: number;
|
735
769
|
} | {
|
736
770
|
type: "go_to_step";
|
737
771
|
value: number;
|
772
|
+
} | {
|
773
|
+
type: "step_back";
|
738
774
|
} | ({
|
739
775
|
type: "open_bar";
|
740
776
|
} & {
|
@@ -742,16 +778,16 @@ export declare const CommandExperience: t.TypeC<{
|
|
742
778
|
categoryFilter?: number | undefined;
|
743
779
|
}) | {
|
744
780
|
type: "open_helphub";
|
745
|
-
} | {
|
781
|
+
} | ({
|
746
782
|
type: "open_copilot";
|
747
|
-
}
|
748
|
-
|
749
|
-
};
|
783
|
+
} & {
|
784
|
+
query?: string | undefined;
|
785
|
+
});
|
750
786
|
} & {} & {
|
751
787
|
commandType?: "object" | "help" | "independent" | undefined;
|
752
788
|
object?: string | undefined;
|
753
789
|
hoverTooltip?: boolean | undefined;
|
754
|
-
operation?: "self" | "router" | "
|
790
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
755
791
|
metadata?: {
|
756
792
|
[key: string]: unknown;
|
757
793
|
} | undefined;
|
@@ -844,8 +880,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
844
880
|
};
|
845
881
|
tags: string[];
|
846
882
|
availability_rules: (({
|
847
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
848
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
883
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
884
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
849
885
|
} & {
|
850
886
|
field?: string | undefined;
|
851
887
|
value?: string | undefined;
|
@@ -854,14 +890,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
854
890
|
}) | ({
|
855
891
|
type: "nudge_interaction";
|
856
892
|
operator: "is" | "isNot";
|
857
|
-
value: "completed" | "
|
893
|
+
value: "completed" | "viewed" | "dismissed";
|
858
894
|
nudge_id: number;
|
859
895
|
} & {
|
860
896
|
reason?: string | undefined;
|
861
897
|
}) | ({
|
862
898
|
type: "questlist_interaction";
|
863
899
|
operator: "is" | "isNot";
|
864
|
-
value: "completed" | "
|
900
|
+
value: "completed" | "viewed" | "dismissed";
|
865
901
|
questlist_id: number;
|
866
902
|
} & {
|
867
903
|
reason?: string | undefined;
|
@@ -873,8 +909,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
873
909
|
reason?: string | undefined;
|
874
910
|
}))[];
|
875
911
|
recommend_rules: (({
|
876
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
877
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
912
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
913
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
878
914
|
} & {
|
879
915
|
field?: string | undefined;
|
880
916
|
value?: string | undefined;
|
@@ -883,14 +919,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
883
919
|
}) | ({
|
884
920
|
type: "nudge_interaction";
|
885
921
|
operator: "is" | "isNot";
|
886
|
-
value: "completed" | "
|
922
|
+
value: "completed" | "viewed" | "dismissed";
|
887
923
|
nudge_id: number;
|
888
924
|
} & {
|
889
925
|
reason?: string | undefined;
|
890
926
|
}) | ({
|
891
927
|
type: "questlist_interaction";
|
892
928
|
operator: "is" | "isNot";
|
893
|
-
value: "completed" | "
|
929
|
+
value: "completed" | "viewed" | "dismissed";
|
894
930
|
questlist_id: number;
|
895
931
|
} & {
|
896
932
|
reason?: string | undefined;
|
@@ -957,23 +993,23 @@ export declare const CommandExperience: t.TypeC<{
|
|
957
993
|
hotkey_mac: string;
|
958
994
|
hotkey_win: string;
|
959
995
|
detail: string | ({
|
960
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
996
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
961
997
|
value: string;
|
962
998
|
} & {
|
963
999
|
position?: "inline" | "popover" | undefined;
|
964
1000
|
}) | (string | ({
|
965
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1001
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
966
1002
|
value: string;
|
967
1003
|
} & {
|
968
1004
|
position?: "inline" | "popover" | undefined;
|
969
1005
|
}))[] | null;
|
970
1006
|
content: string | ({
|
971
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1007
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
972
1008
|
value: string;
|
973
1009
|
} & {
|
974
1010
|
position?: "inline" | "popover" | undefined;
|
975
1011
|
}) | (string | ({
|
976
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1012
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
977
1013
|
value: string;
|
978
1014
|
} & {
|
979
1015
|
position?: "inline" | "popover" | undefined;
|
@@ -981,28 +1017,38 @@ export declare const CommandExperience: t.TypeC<{
|
|
981
1017
|
show_preview: boolean;
|
982
1018
|
next_steps: (string | number | {
|
983
1019
|
cta: string;
|
984
|
-
action: {
|
1020
|
+
action: ({
|
1021
|
+
type: "link";
|
1022
|
+
value: string;
|
1023
|
+
} & {
|
1024
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1025
|
+
meta?: {
|
1026
|
+
command: string;
|
1027
|
+
} | undefined;
|
1028
|
+
}) | {
|
1029
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1030
|
+
value: string[];
|
1031
|
+
} | {
|
985
1032
|
type: "execute_command";
|
986
1033
|
meta: {
|
987
1034
|
command: string;
|
988
1035
|
} & {
|
989
1036
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
990
1037
|
};
|
1038
|
+
} | {
|
1039
|
+
type: "no_action";
|
991
1040
|
} | {
|
992
1041
|
type: "click";
|
993
1042
|
value: string;
|
994
1043
|
} | {
|
995
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
996
|
-
value: string[];
|
997
|
-
} | ({
|
998
|
-
type: "link";
|
999
|
-
value: string;
|
1000
|
-
} & {
|
1001
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1002
|
-
}) | {
|
1003
1044
|
type: "open_chat";
|
1004
1045
|
meta: {
|
1005
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1046
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1047
|
+
};
|
1048
|
+
} | {
|
1049
|
+
type: "chat_handoff";
|
1050
|
+
meta: {
|
1051
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1006
1052
|
};
|
1007
1053
|
} | {
|
1008
1054
|
type: "dismiss";
|
@@ -1011,14 +1057,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
1011
1057
|
} | {
|
1012
1058
|
type: "questlist";
|
1013
1059
|
value: number;
|
1014
|
-
} | {
|
1015
|
-
type: "step_back";
|
1016
1060
|
} | {
|
1017
1061
|
type: "nudge";
|
1018
1062
|
value: number;
|
1019
1063
|
} | {
|
1020
1064
|
type: "go_to_step";
|
1021
1065
|
value: number;
|
1066
|
+
} | {
|
1067
|
+
type: "step_back";
|
1022
1068
|
} | ({
|
1023
1069
|
type: "open_bar";
|
1024
1070
|
} & {
|
@@ -1026,11 +1072,11 @@ export declare const CommandExperience: t.TypeC<{
|
|
1026
1072
|
categoryFilter?: number | undefined;
|
1027
1073
|
}) | {
|
1028
1074
|
type: "open_helphub";
|
1029
|
-
} | {
|
1075
|
+
} | ({
|
1030
1076
|
type: "open_copilot";
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
};
|
1077
|
+
} & {
|
1078
|
+
query?: string | undefined;
|
1079
|
+
});
|
1034
1080
|
})[];
|
1035
1081
|
extra: string | null;
|
1036
1082
|
thumbnail: {
|
@@ -1084,37 +1130,40 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1084
1130
|
id: number;
|
1085
1131
|
text: string;
|
1086
1132
|
template: ({
|
1087
|
-
type: "
|
1133
|
+
type: "callback";
|
1088
1134
|
value: string;
|
1089
1135
|
} & {} & {
|
1090
1136
|
commandType?: "object" | "help" | "independent" | undefined;
|
1091
1137
|
object?: string | undefined;
|
1092
1138
|
hoverTooltip?: boolean | undefined;
|
1093
|
-
operation?: "self" | "router" | "
|
1139
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1094
1140
|
metadata?: {
|
1095
1141
|
[key: string]: unknown;
|
1096
1142
|
} | undefined;
|
1097
1143
|
}) | ({
|
1098
|
-
type: "
|
1144
|
+
type: "link";
|
1099
1145
|
value: string;
|
1146
|
+
} & {
|
1147
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1148
|
+
meta?: {
|
1149
|
+
command: string;
|
1150
|
+
} | undefined;
|
1100
1151
|
} & {} & {
|
1101
1152
|
commandType?: "object" | "help" | "independent" | undefined;
|
1102
1153
|
object?: string | undefined;
|
1103
1154
|
hoverTooltip?: boolean | undefined;
|
1104
|
-
operation?: "self" | "router" | "
|
1155
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1105
1156
|
metadata?: {
|
1106
1157
|
[key: string]: unknown;
|
1107
1158
|
} | undefined;
|
1108
1159
|
}) | ({
|
1109
|
-
type: "
|
1160
|
+
type: "webhook";
|
1110
1161
|
value: string;
|
1111
|
-
} & {
|
1112
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1113
1162
|
} & {} & {
|
1114
1163
|
commandType?: "object" | "help" | "independent" | undefined;
|
1115
1164
|
object?: string | undefined;
|
1116
1165
|
hoverTooltip?: boolean | undefined;
|
1117
|
-
operation?: "self" | "router" | "
|
1166
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1118
1167
|
metadata?: {
|
1119
1168
|
[key: string]: unknown;
|
1120
1169
|
} | undefined;
|
@@ -1125,143 +1174,153 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1125
1174
|
commandType?: "object" | "help" | "independent" | undefined;
|
1126
1175
|
object?: string | undefined;
|
1127
1176
|
hoverTooltip?: boolean | undefined;
|
1128
|
-
operation?: "self" | "router" | "
|
1177
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1129
1178
|
metadata?: {
|
1130
1179
|
[key: string]: unknown;
|
1131
1180
|
} | undefined;
|
1132
1181
|
}) | ({
|
1133
|
-
type: "
|
1134
|
-
value:
|
1182
|
+
type: "request";
|
1183
|
+
value: {
|
1184
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
1185
|
+
url: string;
|
1186
|
+
} & {
|
1187
|
+
headers?: {
|
1188
|
+
[key: string]: unknown;
|
1189
|
+
} | undefined;
|
1190
|
+
body?: {
|
1191
|
+
[key: string]: unknown;
|
1192
|
+
} | undefined;
|
1193
|
+
onSend?: string | undefined;
|
1194
|
+
onSuccess?: string | undefined;
|
1195
|
+
onError?: string | undefined;
|
1196
|
+
};
|
1135
1197
|
} & {} & {
|
1136
1198
|
commandType?: "object" | "help" | "independent" | undefined;
|
1137
1199
|
object?: string | undefined;
|
1138
1200
|
hoverTooltip?: boolean | undefined;
|
1139
|
-
operation?: "self" | "router" | "
|
1201
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1140
1202
|
metadata?: {
|
1141
1203
|
[key: string]: unknown;
|
1142
1204
|
} | undefined;
|
1143
1205
|
}) | ({
|
1144
|
-
type: "
|
1206
|
+
type: "appcues";
|
1145
1207
|
value: string;
|
1146
1208
|
} & {} & {
|
1147
1209
|
commandType?: "object" | "help" | "independent" | undefined;
|
1148
1210
|
object?: string | undefined;
|
1149
1211
|
hoverTooltip?: boolean | undefined;
|
1150
|
-
operation?: "self" | "router" | "
|
1212
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1151
1213
|
metadata?: {
|
1152
1214
|
[key: string]: unknown;
|
1153
1215
|
} | undefined;
|
1154
1216
|
}) | ({
|
1155
|
-
type: "
|
1217
|
+
type: "pendo_guide";
|
1156
1218
|
value: string;
|
1157
1219
|
} & {} & {
|
1158
1220
|
commandType?: "object" | "help" | "independent" | undefined;
|
1159
1221
|
object?: string | undefined;
|
1160
1222
|
hoverTooltip?: boolean | undefined;
|
1161
|
-
operation?: "self" | "router" | "
|
1223
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1162
1224
|
metadata?: {
|
1163
1225
|
[key: string]: unknown;
|
1164
1226
|
} | undefined;
|
1165
1227
|
}) | ({
|
1166
|
-
type: "
|
1167
|
-
value:
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
} | undefined;
|
1177
|
-
onSend?: string | undefined;
|
1178
|
-
onSuccess?: string | undefined;
|
1179
|
-
onError?: string | undefined;
|
1180
|
-
};
|
1228
|
+
type: "helpdoc";
|
1229
|
+
value: string;
|
1230
|
+
} & {
|
1231
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1232
|
+
doc_metadata?: {
|
1233
|
+
content_type?: string | undefined;
|
1234
|
+
date?: string | undefined;
|
1235
|
+
} | undefined;
|
1236
|
+
} & {
|
1237
|
+
doc_type?: "answer" | "doc" | undefined;
|
1181
1238
|
} & {} & {
|
1182
1239
|
commandType?: "object" | "help" | "independent" | undefined;
|
1183
1240
|
object?: string | undefined;
|
1184
1241
|
hoverTooltip?: boolean | undefined;
|
1185
|
-
operation?: "self" | "router" | "
|
1242
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1186
1243
|
metadata?: {
|
1187
1244
|
[key: string]: unknown;
|
1188
1245
|
} | undefined;
|
1189
1246
|
}) | ({
|
1190
|
-
type: "
|
1247
|
+
type: "admin";
|
1191
1248
|
value: string;
|
1192
1249
|
} & {} & {
|
1193
1250
|
commandType?: "object" | "help" | "independent" | undefined;
|
1194
1251
|
object?: string | undefined;
|
1195
1252
|
hoverTooltip?: boolean | undefined;
|
1196
|
-
operation?: "self" | "router" | "
|
1253
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1197
1254
|
metadata?: {
|
1198
1255
|
[key: string]: unknown;
|
1199
1256
|
} | undefined;
|
1200
1257
|
}) | ({
|
1201
|
-
type: "
|
1258
|
+
type: "builtin";
|
1202
1259
|
value: string;
|
1203
1260
|
} & {} & {
|
1204
1261
|
commandType?: "object" | "help" | "independent" | undefined;
|
1205
1262
|
object?: string | undefined;
|
1206
1263
|
hoverTooltip?: boolean | undefined;
|
1207
|
-
operation?: "self" | "router" | "
|
1264
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1208
1265
|
metadata?: {
|
1209
1266
|
[key: string]: unknown;
|
1210
1267
|
} | undefined;
|
1211
1268
|
}) | ({
|
1212
|
-
type: "
|
1269
|
+
type: "script";
|
1213
1270
|
value: string;
|
1214
1271
|
} & {} & {
|
1215
1272
|
commandType?: "object" | "help" | "independent" | undefined;
|
1216
1273
|
object?: string | undefined;
|
1217
1274
|
hoverTooltip?: boolean | undefined;
|
1218
|
-
operation?: "self" | "router" | "
|
1275
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1219
1276
|
metadata?: {
|
1220
1277
|
[key: string]: unknown;
|
1221
1278
|
} | undefined;
|
1222
1279
|
}) | ({
|
1223
|
-
type: "
|
1280
|
+
type: "video";
|
1224
1281
|
value: string;
|
1225
|
-
} & {
|
1226
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1227
|
-
doc_metadata?: {
|
1228
|
-
content_type?: string | undefined;
|
1229
|
-
date?: string | undefined;
|
1230
|
-
} | undefined;
|
1231
|
-
} & {
|
1232
|
-
doc_type?: "answer" | "doc" | undefined;
|
1233
1282
|
} & {} & {
|
1234
1283
|
commandType?: "object" | "help" | "independent" | undefined;
|
1235
1284
|
object?: string | undefined;
|
1236
1285
|
hoverTooltip?: boolean | undefined;
|
1237
|
-
operation?: "self" | "router" | "
|
1286
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1238
1287
|
metadata?: {
|
1239
1288
|
[key: string]: unknown;
|
1240
1289
|
} | undefined;
|
1241
1290
|
}) | ({
|
1242
1291
|
type: "trigger";
|
1243
|
-
value: {
|
1292
|
+
value: ({
|
1293
|
+
type: "link";
|
1294
|
+
value: string;
|
1295
|
+
} & {
|
1296
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1297
|
+
meta?: {
|
1298
|
+
command: string;
|
1299
|
+
} | undefined;
|
1300
|
+
}) | {
|
1301
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1302
|
+
value: string[];
|
1303
|
+
} | {
|
1244
1304
|
type: "execute_command";
|
1245
1305
|
meta: {
|
1246
1306
|
command: string;
|
1247
1307
|
} & {
|
1248
1308
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1249
1309
|
};
|
1310
|
+
} | {
|
1311
|
+
type: "no_action";
|
1250
1312
|
} | {
|
1251
1313
|
type: "click";
|
1252
1314
|
value: string;
|
1253
1315
|
} | {
|
1254
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1255
|
-
value: string[];
|
1256
|
-
} | ({
|
1257
|
-
type: "link";
|
1258
|
-
value: string;
|
1259
|
-
} & {
|
1260
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1261
|
-
}) | {
|
1262
1316
|
type: "open_chat";
|
1263
1317
|
meta: {
|
1264
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1318
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1319
|
+
};
|
1320
|
+
} | {
|
1321
|
+
type: "chat_handoff";
|
1322
|
+
meta: {
|
1323
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1265
1324
|
};
|
1266
1325
|
} | {
|
1267
1326
|
type: "dismiss";
|
@@ -1270,14 +1329,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1270
1329
|
} | {
|
1271
1330
|
type: "questlist";
|
1272
1331
|
value: number;
|
1273
|
-
} | {
|
1274
|
-
type: "step_back";
|
1275
1332
|
} | {
|
1276
1333
|
type: "nudge";
|
1277
1334
|
value: number;
|
1278
1335
|
} | {
|
1279
1336
|
type: "go_to_step";
|
1280
1337
|
value: number;
|
1338
|
+
} | {
|
1339
|
+
type: "step_back";
|
1281
1340
|
} | ({
|
1282
1341
|
type: "open_bar";
|
1283
1342
|
} & {
|
@@ -1285,16 +1344,16 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1285
1344
|
categoryFilter?: number | undefined;
|
1286
1345
|
}) | {
|
1287
1346
|
type: "open_helphub";
|
1288
|
-
} | {
|
1347
|
+
} | ({
|
1289
1348
|
type: "open_copilot";
|
1290
|
-
}
|
1291
|
-
|
1292
|
-
};
|
1349
|
+
} & {
|
1350
|
+
query?: string | undefined;
|
1351
|
+
});
|
1293
1352
|
} & {} & {
|
1294
1353
|
commandType?: "object" | "help" | "independent" | undefined;
|
1295
1354
|
object?: string | undefined;
|
1296
1355
|
hoverTooltip?: boolean | undefined;
|
1297
|
-
operation?: "self" | "router" | "
|
1356
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1298
1357
|
metadata?: {
|
1299
1358
|
[key: string]: unknown;
|
1300
1359
|
} | undefined;
|
@@ -1387,8 +1446,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1387
1446
|
};
|
1388
1447
|
tags: string[];
|
1389
1448
|
availability_rules: (({
|
1390
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1391
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1449
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1450
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1392
1451
|
} & {
|
1393
1452
|
field?: string | undefined;
|
1394
1453
|
value?: string | undefined;
|
@@ -1397,14 +1456,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1397
1456
|
}) | ({
|
1398
1457
|
type: "nudge_interaction";
|
1399
1458
|
operator: "is" | "isNot";
|
1400
|
-
value: "completed" | "
|
1459
|
+
value: "completed" | "viewed" | "dismissed";
|
1401
1460
|
nudge_id: number;
|
1402
1461
|
} & {
|
1403
1462
|
reason?: string | undefined;
|
1404
1463
|
}) | ({
|
1405
1464
|
type: "questlist_interaction";
|
1406
1465
|
operator: "is" | "isNot";
|
1407
|
-
value: "completed" | "
|
1466
|
+
value: "completed" | "viewed" | "dismissed";
|
1408
1467
|
questlist_id: number;
|
1409
1468
|
} & {
|
1410
1469
|
reason?: string | undefined;
|
@@ -1416,8 +1475,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1416
1475
|
reason?: string | undefined;
|
1417
1476
|
}))[];
|
1418
1477
|
recommend_rules: (({
|
1419
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1420
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1478
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
1479
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1421
1480
|
} & {
|
1422
1481
|
field?: string | undefined;
|
1423
1482
|
value?: string | undefined;
|
@@ -1426,14 +1485,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1426
1485
|
}) | ({
|
1427
1486
|
type: "nudge_interaction";
|
1428
1487
|
operator: "is" | "isNot";
|
1429
|
-
value: "completed" | "
|
1488
|
+
value: "completed" | "viewed" | "dismissed";
|
1430
1489
|
nudge_id: number;
|
1431
1490
|
} & {
|
1432
1491
|
reason?: string | undefined;
|
1433
1492
|
}) | ({
|
1434
1493
|
type: "questlist_interaction";
|
1435
1494
|
operator: "is" | "isNot";
|
1436
|
-
value: "completed" | "
|
1495
|
+
value: "completed" | "viewed" | "dismissed";
|
1437
1496
|
questlist_id: number;
|
1438
1497
|
} & {
|
1439
1498
|
reason?: string | undefined;
|
@@ -1500,23 +1559,23 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1500
1559
|
hotkey_mac: string;
|
1501
1560
|
hotkey_win: string;
|
1502
1561
|
detail: string | ({
|
1503
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1562
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1504
1563
|
value: string;
|
1505
1564
|
} & {
|
1506
1565
|
position?: "inline" | "popover" | undefined;
|
1507
1566
|
}) | (string | ({
|
1508
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1567
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1509
1568
|
value: string;
|
1510
1569
|
} & {
|
1511
1570
|
position?: "inline" | "popover" | undefined;
|
1512
1571
|
}))[] | null;
|
1513
1572
|
content: string | ({
|
1514
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1573
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1515
1574
|
value: string;
|
1516
1575
|
} & {
|
1517
1576
|
position?: "inline" | "popover" | undefined;
|
1518
1577
|
}) | (string | ({
|
1519
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1578
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1520
1579
|
value: string;
|
1521
1580
|
} & {
|
1522
1581
|
position?: "inline" | "popover" | undefined;
|
@@ -1524,28 +1583,38 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1524
1583
|
show_preview: boolean;
|
1525
1584
|
next_steps: (string | number | {
|
1526
1585
|
cta: string;
|
1527
|
-
action: {
|
1586
|
+
action: ({
|
1587
|
+
type: "link";
|
1588
|
+
value: string;
|
1589
|
+
} & {
|
1590
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1591
|
+
meta?: {
|
1592
|
+
command: string;
|
1593
|
+
} | undefined;
|
1594
|
+
}) | {
|
1595
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1596
|
+
value: string[];
|
1597
|
+
} | {
|
1528
1598
|
type: "execute_command";
|
1529
1599
|
meta: {
|
1530
1600
|
command: string;
|
1531
1601
|
} & {
|
1532
1602
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1533
1603
|
};
|
1604
|
+
} | {
|
1605
|
+
type: "no_action";
|
1534
1606
|
} | {
|
1535
1607
|
type: "click";
|
1536
1608
|
value: string;
|
1537
1609
|
} | {
|
1538
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1539
|
-
value: string[];
|
1540
|
-
} | ({
|
1541
|
-
type: "link";
|
1542
|
-
value: string;
|
1543
|
-
} & {
|
1544
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1545
|
-
}) | {
|
1546
1610
|
type: "open_chat";
|
1547
1611
|
meta: {
|
1548
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1612
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1613
|
+
};
|
1614
|
+
} | {
|
1615
|
+
type: "chat_handoff";
|
1616
|
+
meta: {
|
1617
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1549
1618
|
};
|
1550
1619
|
} | {
|
1551
1620
|
type: "dismiss";
|
@@ -1554,14 +1623,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1554
1623
|
} | {
|
1555
1624
|
type: "questlist";
|
1556
1625
|
value: number;
|
1557
|
-
} | {
|
1558
|
-
type: "step_back";
|
1559
1626
|
} | {
|
1560
1627
|
type: "nudge";
|
1561
1628
|
value: number;
|
1562
1629
|
} | {
|
1563
1630
|
type: "go_to_step";
|
1564
1631
|
value: number;
|
1632
|
+
} | {
|
1633
|
+
type: "step_back";
|
1565
1634
|
} | ({
|
1566
1635
|
type: "open_bar";
|
1567
1636
|
} & {
|
@@ -1569,11 +1638,11 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1569
1638
|
categoryFilter?: number | undefined;
|
1570
1639
|
}) | {
|
1571
1640
|
type: "open_helphub";
|
1572
|
-
} | {
|
1641
|
+
} | ({
|
1573
1642
|
type: "open_copilot";
|
1574
|
-
}
|
1575
|
-
|
1576
|
-
};
|
1643
|
+
} & {
|
1644
|
+
query?: string | undefined;
|
1645
|
+
});
|
1577
1646
|
})[];
|
1578
1647
|
extra: string | null;
|
1579
1648
|
thumbnail: {
|
@@ -1613,37 +1682,40 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1613
1682
|
id: number;
|
1614
1683
|
text: string;
|
1615
1684
|
template: ({
|
1616
|
-
type: "
|
1685
|
+
type: "callback";
|
1617
1686
|
value: string;
|
1618
1687
|
} & {} & {
|
1619
1688
|
commandType?: "object" | "help" | "independent" | undefined;
|
1620
1689
|
object?: string | undefined;
|
1621
1690
|
hoverTooltip?: boolean | undefined;
|
1622
|
-
operation?: "self" | "router" | "
|
1691
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1623
1692
|
metadata?: {
|
1624
1693
|
[key: string]: unknown;
|
1625
1694
|
} | undefined;
|
1626
1695
|
}) | ({
|
1627
|
-
type: "
|
1696
|
+
type: "link";
|
1628
1697
|
value: string;
|
1698
|
+
} & {
|
1699
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1700
|
+
meta?: {
|
1701
|
+
command: string;
|
1702
|
+
} | undefined;
|
1629
1703
|
} & {} & {
|
1630
1704
|
commandType?: "object" | "help" | "independent" | undefined;
|
1631
1705
|
object?: string | undefined;
|
1632
1706
|
hoverTooltip?: boolean | undefined;
|
1633
|
-
operation?: "self" | "router" | "
|
1707
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1634
1708
|
metadata?: {
|
1635
1709
|
[key: string]: unknown;
|
1636
1710
|
} | undefined;
|
1637
1711
|
}) | ({
|
1638
|
-
type: "
|
1712
|
+
type: "webhook";
|
1639
1713
|
value: string;
|
1640
|
-
} & {
|
1641
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1642
1714
|
} & {} & {
|
1643
1715
|
commandType?: "object" | "help" | "independent" | undefined;
|
1644
1716
|
object?: string | undefined;
|
1645
1717
|
hoverTooltip?: boolean | undefined;
|
1646
|
-
operation?: "self" | "router" | "
|
1718
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1647
1719
|
metadata?: {
|
1648
1720
|
[key: string]: unknown;
|
1649
1721
|
} | undefined;
|
@@ -1654,143 +1726,153 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1654
1726
|
commandType?: "object" | "help" | "independent" | undefined;
|
1655
1727
|
object?: string | undefined;
|
1656
1728
|
hoverTooltip?: boolean | undefined;
|
1657
|
-
operation?: "self" | "router" | "
|
1729
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1658
1730
|
metadata?: {
|
1659
1731
|
[key: string]: unknown;
|
1660
1732
|
} | undefined;
|
1661
1733
|
}) | ({
|
1662
|
-
type: "
|
1663
|
-
value:
|
1734
|
+
type: "request";
|
1735
|
+
value: {
|
1736
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
1737
|
+
url: string;
|
1738
|
+
} & {
|
1739
|
+
headers?: {
|
1740
|
+
[key: string]: unknown;
|
1741
|
+
} | undefined;
|
1742
|
+
body?: {
|
1743
|
+
[key: string]: unknown;
|
1744
|
+
} | undefined;
|
1745
|
+
onSend?: string | undefined;
|
1746
|
+
onSuccess?: string | undefined;
|
1747
|
+
onError?: string | undefined;
|
1748
|
+
};
|
1664
1749
|
} & {} & {
|
1665
1750
|
commandType?: "object" | "help" | "independent" | undefined;
|
1666
1751
|
object?: string | undefined;
|
1667
1752
|
hoverTooltip?: boolean | undefined;
|
1668
|
-
operation?: "self" | "router" | "
|
1753
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1669
1754
|
metadata?: {
|
1670
1755
|
[key: string]: unknown;
|
1671
1756
|
} | undefined;
|
1672
1757
|
}) | ({
|
1673
|
-
type: "
|
1758
|
+
type: "appcues";
|
1674
1759
|
value: string;
|
1675
1760
|
} & {} & {
|
1676
1761
|
commandType?: "object" | "help" | "independent" | undefined;
|
1677
1762
|
object?: string | undefined;
|
1678
1763
|
hoverTooltip?: boolean | undefined;
|
1679
|
-
operation?: "self" | "router" | "
|
1764
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1680
1765
|
metadata?: {
|
1681
1766
|
[key: string]: unknown;
|
1682
1767
|
} | undefined;
|
1683
1768
|
}) | ({
|
1684
|
-
type: "
|
1769
|
+
type: "pendo_guide";
|
1685
1770
|
value: string;
|
1686
1771
|
} & {} & {
|
1687
1772
|
commandType?: "object" | "help" | "independent" | undefined;
|
1688
1773
|
object?: string | undefined;
|
1689
1774
|
hoverTooltip?: boolean | undefined;
|
1690
|
-
operation?: "self" | "router" | "
|
1775
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1691
1776
|
metadata?: {
|
1692
1777
|
[key: string]: unknown;
|
1693
1778
|
} | undefined;
|
1694
1779
|
}) | ({
|
1695
|
-
type: "
|
1696
|
-
value:
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
} | undefined;
|
1706
|
-
onSend?: string | undefined;
|
1707
|
-
onSuccess?: string | undefined;
|
1708
|
-
onError?: string | undefined;
|
1709
|
-
};
|
1780
|
+
type: "helpdoc";
|
1781
|
+
value: string;
|
1782
|
+
} & {
|
1783
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1784
|
+
doc_metadata?: {
|
1785
|
+
content_type?: string | undefined;
|
1786
|
+
date?: string | undefined;
|
1787
|
+
} | undefined;
|
1788
|
+
} & {
|
1789
|
+
doc_type?: "answer" | "doc" | undefined;
|
1710
1790
|
} & {} & {
|
1711
1791
|
commandType?: "object" | "help" | "independent" | undefined;
|
1712
1792
|
object?: string | undefined;
|
1713
1793
|
hoverTooltip?: boolean | undefined;
|
1714
|
-
operation?: "self" | "router" | "
|
1794
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1715
1795
|
metadata?: {
|
1716
1796
|
[key: string]: unknown;
|
1717
1797
|
} | undefined;
|
1718
1798
|
}) | ({
|
1719
|
-
type: "
|
1799
|
+
type: "admin";
|
1720
1800
|
value: string;
|
1721
1801
|
} & {} & {
|
1722
1802
|
commandType?: "object" | "help" | "independent" | undefined;
|
1723
1803
|
object?: string | undefined;
|
1724
1804
|
hoverTooltip?: boolean | undefined;
|
1725
|
-
operation?: "self" | "router" | "
|
1805
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1726
1806
|
metadata?: {
|
1727
1807
|
[key: string]: unknown;
|
1728
1808
|
} | undefined;
|
1729
1809
|
}) | ({
|
1730
|
-
type: "
|
1810
|
+
type: "builtin";
|
1731
1811
|
value: string;
|
1732
1812
|
} & {} & {
|
1733
1813
|
commandType?: "object" | "help" | "independent" | undefined;
|
1734
1814
|
object?: string | undefined;
|
1735
1815
|
hoverTooltip?: boolean | undefined;
|
1736
|
-
operation?: "self" | "router" | "
|
1816
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1737
1817
|
metadata?: {
|
1738
1818
|
[key: string]: unknown;
|
1739
1819
|
} | undefined;
|
1740
1820
|
}) | ({
|
1741
|
-
type: "
|
1821
|
+
type: "script";
|
1742
1822
|
value: string;
|
1743
1823
|
} & {} & {
|
1744
1824
|
commandType?: "object" | "help" | "independent" | undefined;
|
1745
1825
|
object?: string | undefined;
|
1746
1826
|
hoverTooltip?: boolean | undefined;
|
1747
|
-
operation?: "self" | "router" | "
|
1827
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1748
1828
|
metadata?: {
|
1749
1829
|
[key: string]: unknown;
|
1750
1830
|
} | undefined;
|
1751
1831
|
}) | ({
|
1752
|
-
type: "
|
1832
|
+
type: "video";
|
1753
1833
|
value: string;
|
1754
|
-
} & {
|
1755
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1756
|
-
doc_metadata?: {
|
1757
|
-
content_type?: string | undefined;
|
1758
|
-
date?: string | undefined;
|
1759
|
-
} | undefined;
|
1760
|
-
} & {
|
1761
|
-
doc_type?: "answer" | "doc" | undefined;
|
1762
1834
|
} & {} & {
|
1763
1835
|
commandType?: "object" | "help" | "independent" | undefined;
|
1764
1836
|
object?: string | undefined;
|
1765
1837
|
hoverTooltip?: boolean | undefined;
|
1766
|
-
operation?: "self" | "router" | "
|
1838
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1767
1839
|
metadata?: {
|
1768
1840
|
[key: string]: unknown;
|
1769
1841
|
} | undefined;
|
1770
1842
|
}) | ({
|
1771
1843
|
type: "trigger";
|
1772
|
-
value: {
|
1844
|
+
value: ({
|
1845
|
+
type: "link";
|
1846
|
+
value: string;
|
1847
|
+
} & {
|
1848
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1849
|
+
meta?: {
|
1850
|
+
command: string;
|
1851
|
+
} | undefined;
|
1852
|
+
}) | {
|
1853
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
1854
|
+
value: string[];
|
1855
|
+
} | {
|
1773
1856
|
type: "execute_command";
|
1774
1857
|
meta: {
|
1775
1858
|
command: string;
|
1776
1859
|
} & {
|
1777
1860
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1778
1861
|
};
|
1862
|
+
} | {
|
1863
|
+
type: "no_action";
|
1779
1864
|
} | {
|
1780
1865
|
type: "click";
|
1781
1866
|
value: string;
|
1782
1867
|
} | {
|
1783
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1784
|
-
value: string[];
|
1785
|
-
} | ({
|
1786
|
-
type: "link";
|
1787
|
-
value: string;
|
1788
|
-
} & {
|
1789
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1790
|
-
}) | {
|
1791
1868
|
type: "open_chat";
|
1792
1869
|
meta: {
|
1793
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
1870
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
1871
|
+
};
|
1872
|
+
} | {
|
1873
|
+
type: "chat_handoff";
|
1874
|
+
meta: {
|
1875
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
1794
1876
|
};
|
1795
1877
|
} | {
|
1796
1878
|
type: "dismiss";
|
@@ -1799,14 +1881,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1799
1881
|
} | {
|
1800
1882
|
type: "questlist";
|
1801
1883
|
value: number;
|
1802
|
-
} | {
|
1803
|
-
type: "step_back";
|
1804
1884
|
} | {
|
1805
1885
|
type: "nudge";
|
1806
1886
|
value: number;
|
1807
1887
|
} | {
|
1808
1888
|
type: "go_to_step";
|
1809
1889
|
value: number;
|
1890
|
+
} | {
|
1891
|
+
type: "step_back";
|
1810
1892
|
} | ({
|
1811
1893
|
type: "open_bar";
|
1812
1894
|
} & {
|
@@ -1814,16 +1896,16 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1814
1896
|
categoryFilter?: number | undefined;
|
1815
1897
|
}) | {
|
1816
1898
|
type: "open_helphub";
|
1817
|
-
} | {
|
1899
|
+
} | ({
|
1818
1900
|
type: "open_copilot";
|
1819
|
-
}
|
1820
|
-
|
1821
|
-
};
|
1901
|
+
} & {
|
1902
|
+
query?: string | undefined;
|
1903
|
+
});
|
1822
1904
|
} & {} & {
|
1823
1905
|
commandType?: "object" | "help" | "independent" | undefined;
|
1824
1906
|
object?: string | undefined;
|
1825
1907
|
hoverTooltip?: boolean | undefined;
|
1826
|
-
operation?: "self" | "router" | "
|
1908
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1827
1909
|
metadata?: {
|
1828
1910
|
[key: string]: unknown;
|
1829
1911
|
} | undefined;
|
@@ -1916,8 +1998,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1916
1998
|
};
|
1917
1999
|
tags: string[];
|
1918
2000
|
availability_rules: (({
|
1919
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1920
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2001
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2002
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1921
2003
|
} & {
|
1922
2004
|
field?: string | undefined;
|
1923
2005
|
value?: string | undefined;
|
@@ -1926,14 +2008,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1926
2008
|
}) | ({
|
1927
2009
|
type: "nudge_interaction";
|
1928
2010
|
operator: "is" | "isNot";
|
1929
|
-
value: "completed" | "
|
2011
|
+
value: "completed" | "viewed" | "dismissed";
|
1930
2012
|
nudge_id: number;
|
1931
2013
|
} & {
|
1932
2014
|
reason?: string | undefined;
|
1933
2015
|
}) | ({
|
1934
2016
|
type: "questlist_interaction";
|
1935
2017
|
operator: "is" | "isNot";
|
1936
|
-
value: "completed" | "
|
2018
|
+
value: "completed" | "viewed" | "dismissed";
|
1937
2019
|
questlist_id: number;
|
1938
2020
|
} & {
|
1939
2021
|
reason?: string | undefined;
|
@@ -1945,8 +2027,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1945
2027
|
reason?: string | undefined;
|
1946
2028
|
}))[];
|
1947
2029
|
recommend_rules: (({
|
1948
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1949
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2030
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2031
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1950
2032
|
} & {
|
1951
2033
|
field?: string | undefined;
|
1952
2034
|
value?: string | undefined;
|
@@ -1955,14 +2037,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1955
2037
|
}) | ({
|
1956
2038
|
type: "nudge_interaction";
|
1957
2039
|
operator: "is" | "isNot";
|
1958
|
-
value: "completed" | "
|
2040
|
+
value: "completed" | "viewed" | "dismissed";
|
1959
2041
|
nudge_id: number;
|
1960
2042
|
} & {
|
1961
2043
|
reason?: string | undefined;
|
1962
2044
|
}) | ({
|
1963
2045
|
type: "questlist_interaction";
|
1964
2046
|
operator: "is" | "isNot";
|
1965
|
-
value: "completed" | "
|
2047
|
+
value: "completed" | "viewed" | "dismissed";
|
1966
2048
|
questlist_id: number;
|
1967
2049
|
} & {
|
1968
2050
|
reason?: string | undefined;
|
@@ -2029,23 +2111,23 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2029
2111
|
hotkey_mac: string;
|
2030
2112
|
hotkey_win: string;
|
2031
2113
|
detail: string | ({
|
2032
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2114
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2033
2115
|
value: string;
|
2034
2116
|
} & {
|
2035
2117
|
position?: "inline" | "popover" | undefined;
|
2036
2118
|
}) | (string | ({
|
2037
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2119
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2038
2120
|
value: string;
|
2039
2121
|
} & {
|
2040
2122
|
position?: "inline" | "popover" | undefined;
|
2041
2123
|
}))[] | null;
|
2042
2124
|
content: string | ({
|
2043
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2125
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2044
2126
|
value: string;
|
2045
2127
|
} & {
|
2046
2128
|
position?: "inline" | "popover" | undefined;
|
2047
2129
|
}) | (string | ({
|
2048
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2130
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2049
2131
|
value: string;
|
2050
2132
|
} & {
|
2051
2133
|
position?: "inline" | "popover" | undefined;
|
@@ -2053,28 +2135,38 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2053
2135
|
show_preview: boolean;
|
2054
2136
|
next_steps: (string | number | {
|
2055
2137
|
cta: string;
|
2056
|
-
action: {
|
2138
|
+
action: ({
|
2139
|
+
type: "link";
|
2140
|
+
value: string;
|
2141
|
+
} & {
|
2142
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2143
|
+
meta?: {
|
2144
|
+
command: string;
|
2145
|
+
} | undefined;
|
2146
|
+
}) | {
|
2147
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2148
|
+
value: string[];
|
2149
|
+
} | {
|
2057
2150
|
type: "execute_command";
|
2058
2151
|
meta: {
|
2059
2152
|
command: string;
|
2060
2153
|
} & {
|
2061
2154
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2062
2155
|
};
|
2156
|
+
} | {
|
2157
|
+
type: "no_action";
|
2063
2158
|
} | {
|
2064
2159
|
type: "click";
|
2065
2160
|
value: string;
|
2066
2161
|
} | {
|
2067
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2068
|
-
value: string[];
|
2069
|
-
} | ({
|
2070
|
-
type: "link";
|
2071
|
-
value: string;
|
2072
|
-
} & {
|
2073
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2074
|
-
}) | {
|
2075
2162
|
type: "open_chat";
|
2076
2163
|
meta: {
|
2077
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2164
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2165
|
+
};
|
2166
|
+
} | {
|
2167
|
+
type: "chat_handoff";
|
2168
|
+
meta: {
|
2169
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2078
2170
|
};
|
2079
2171
|
} | {
|
2080
2172
|
type: "dismiss";
|
@@ -2083,14 +2175,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2083
2175
|
} | {
|
2084
2176
|
type: "questlist";
|
2085
2177
|
value: number;
|
2086
|
-
} | {
|
2087
|
-
type: "step_back";
|
2088
2178
|
} | {
|
2089
2179
|
type: "nudge";
|
2090
2180
|
value: number;
|
2091
2181
|
} | {
|
2092
2182
|
type: "go_to_step";
|
2093
2183
|
value: number;
|
2184
|
+
} | {
|
2185
|
+
type: "step_back";
|
2094
2186
|
} | ({
|
2095
2187
|
type: "open_bar";
|
2096
2188
|
} & {
|
@@ -2098,11 +2190,11 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2098
2190
|
categoryFilter?: number | undefined;
|
2099
2191
|
}) | {
|
2100
2192
|
type: "open_helphub";
|
2101
|
-
} | {
|
2193
|
+
} | ({
|
2102
2194
|
type: "open_copilot";
|
2103
|
-
}
|
2104
|
-
|
2105
|
-
};
|
2195
|
+
} & {
|
2196
|
+
query?: string | undefined;
|
2197
|
+
});
|
2106
2198
|
})[];
|
2107
2199
|
extra: string | null;
|
2108
2200
|
thumbnail: {
|
@@ -2157,37 +2249,40 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2157
2249
|
id: number;
|
2158
2250
|
text: string;
|
2159
2251
|
template: ({
|
2160
|
-
type: "
|
2252
|
+
type: "callback";
|
2161
2253
|
value: string;
|
2162
2254
|
} & {} & {
|
2163
2255
|
commandType?: "object" | "help" | "independent" | undefined;
|
2164
2256
|
object?: string | undefined;
|
2165
2257
|
hoverTooltip?: boolean | undefined;
|
2166
|
-
operation?: "self" | "router" | "
|
2258
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2167
2259
|
metadata?: {
|
2168
2260
|
[key: string]: unknown;
|
2169
2261
|
} | undefined;
|
2170
2262
|
}) | ({
|
2171
|
-
type: "
|
2263
|
+
type: "link";
|
2172
2264
|
value: string;
|
2265
|
+
} & {
|
2266
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2267
|
+
meta?: {
|
2268
|
+
command: string;
|
2269
|
+
} | undefined;
|
2173
2270
|
} & {} & {
|
2174
2271
|
commandType?: "object" | "help" | "independent" | undefined;
|
2175
2272
|
object?: string | undefined;
|
2176
2273
|
hoverTooltip?: boolean | undefined;
|
2177
|
-
operation?: "self" | "router" | "
|
2274
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2178
2275
|
metadata?: {
|
2179
2276
|
[key: string]: unknown;
|
2180
2277
|
} | undefined;
|
2181
2278
|
}) | ({
|
2182
|
-
type: "
|
2279
|
+
type: "webhook";
|
2183
2280
|
value: string;
|
2184
|
-
} & {
|
2185
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2186
2281
|
} & {} & {
|
2187
2282
|
commandType?: "object" | "help" | "independent" | undefined;
|
2188
2283
|
object?: string | undefined;
|
2189
2284
|
hoverTooltip?: boolean | undefined;
|
2190
|
-
operation?: "self" | "router" | "
|
2285
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2191
2286
|
metadata?: {
|
2192
2287
|
[key: string]: unknown;
|
2193
2288
|
} | undefined;
|
@@ -2198,143 +2293,153 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2198
2293
|
commandType?: "object" | "help" | "independent" | undefined;
|
2199
2294
|
object?: string | undefined;
|
2200
2295
|
hoverTooltip?: boolean | undefined;
|
2201
|
-
operation?: "self" | "router" | "
|
2296
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2202
2297
|
metadata?: {
|
2203
2298
|
[key: string]: unknown;
|
2204
2299
|
} | undefined;
|
2205
2300
|
}) | ({
|
2206
|
-
type: "
|
2207
|
-
value:
|
2301
|
+
type: "request";
|
2302
|
+
value: {
|
2303
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
2304
|
+
url: string;
|
2305
|
+
} & {
|
2306
|
+
headers?: {
|
2307
|
+
[key: string]: unknown;
|
2308
|
+
} | undefined;
|
2309
|
+
body?: {
|
2310
|
+
[key: string]: unknown;
|
2311
|
+
} | undefined;
|
2312
|
+
onSend?: string | undefined;
|
2313
|
+
onSuccess?: string | undefined;
|
2314
|
+
onError?: string | undefined;
|
2315
|
+
};
|
2208
2316
|
} & {} & {
|
2209
2317
|
commandType?: "object" | "help" | "independent" | undefined;
|
2210
2318
|
object?: string | undefined;
|
2211
2319
|
hoverTooltip?: boolean | undefined;
|
2212
|
-
operation?: "self" | "router" | "
|
2320
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2213
2321
|
metadata?: {
|
2214
2322
|
[key: string]: unknown;
|
2215
2323
|
} | undefined;
|
2216
2324
|
}) | ({
|
2217
|
-
type: "
|
2325
|
+
type: "appcues";
|
2218
2326
|
value: string;
|
2219
2327
|
} & {} & {
|
2220
2328
|
commandType?: "object" | "help" | "independent" | undefined;
|
2221
2329
|
object?: string | undefined;
|
2222
2330
|
hoverTooltip?: boolean | undefined;
|
2223
|
-
operation?: "self" | "router" | "
|
2331
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2224
2332
|
metadata?: {
|
2225
2333
|
[key: string]: unknown;
|
2226
2334
|
} | undefined;
|
2227
2335
|
}) | ({
|
2228
|
-
type: "
|
2336
|
+
type: "pendo_guide";
|
2229
2337
|
value: string;
|
2230
2338
|
} & {} & {
|
2231
2339
|
commandType?: "object" | "help" | "independent" | undefined;
|
2232
2340
|
object?: string | undefined;
|
2233
2341
|
hoverTooltip?: boolean | undefined;
|
2234
|
-
operation?: "self" | "router" | "
|
2342
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2235
2343
|
metadata?: {
|
2236
2344
|
[key: string]: unknown;
|
2237
2345
|
} | undefined;
|
2238
2346
|
}) | ({
|
2239
|
-
type: "
|
2240
|
-
value:
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
} | undefined;
|
2250
|
-
onSend?: string | undefined;
|
2251
|
-
onSuccess?: string | undefined;
|
2252
|
-
onError?: string | undefined;
|
2253
|
-
};
|
2347
|
+
type: "helpdoc";
|
2348
|
+
value: string;
|
2349
|
+
} & {
|
2350
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2351
|
+
doc_metadata?: {
|
2352
|
+
content_type?: string | undefined;
|
2353
|
+
date?: string | undefined;
|
2354
|
+
} | undefined;
|
2355
|
+
} & {
|
2356
|
+
doc_type?: "answer" | "doc" | undefined;
|
2254
2357
|
} & {} & {
|
2255
2358
|
commandType?: "object" | "help" | "independent" | undefined;
|
2256
2359
|
object?: string | undefined;
|
2257
2360
|
hoverTooltip?: boolean | undefined;
|
2258
|
-
operation?: "self" | "router" | "
|
2361
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2259
2362
|
metadata?: {
|
2260
2363
|
[key: string]: unknown;
|
2261
2364
|
} | undefined;
|
2262
2365
|
}) | ({
|
2263
|
-
type: "
|
2366
|
+
type: "admin";
|
2264
2367
|
value: string;
|
2265
2368
|
} & {} & {
|
2266
2369
|
commandType?: "object" | "help" | "independent" | undefined;
|
2267
2370
|
object?: string | undefined;
|
2268
2371
|
hoverTooltip?: boolean | undefined;
|
2269
|
-
operation?: "self" | "router" | "
|
2372
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2270
2373
|
metadata?: {
|
2271
2374
|
[key: string]: unknown;
|
2272
2375
|
} | undefined;
|
2273
2376
|
}) | ({
|
2274
|
-
type: "
|
2377
|
+
type: "builtin";
|
2275
2378
|
value: string;
|
2276
2379
|
} & {} & {
|
2277
2380
|
commandType?: "object" | "help" | "independent" | undefined;
|
2278
2381
|
object?: string | undefined;
|
2279
2382
|
hoverTooltip?: boolean | undefined;
|
2280
|
-
operation?: "self" | "router" | "
|
2383
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2281
2384
|
metadata?: {
|
2282
2385
|
[key: string]: unknown;
|
2283
2386
|
} | undefined;
|
2284
2387
|
}) | ({
|
2285
|
-
type: "
|
2388
|
+
type: "script";
|
2286
2389
|
value: string;
|
2287
2390
|
} & {} & {
|
2288
2391
|
commandType?: "object" | "help" | "independent" | undefined;
|
2289
2392
|
object?: string | undefined;
|
2290
2393
|
hoverTooltip?: boolean | undefined;
|
2291
|
-
operation?: "self" | "router" | "
|
2394
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2292
2395
|
metadata?: {
|
2293
2396
|
[key: string]: unknown;
|
2294
2397
|
} | undefined;
|
2295
2398
|
}) | ({
|
2296
|
-
type: "
|
2399
|
+
type: "video";
|
2297
2400
|
value: string;
|
2298
|
-
} & {
|
2299
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
2300
|
-
doc_metadata?: {
|
2301
|
-
content_type?: string | undefined;
|
2302
|
-
date?: string | undefined;
|
2303
|
-
} | undefined;
|
2304
|
-
} & {
|
2305
|
-
doc_type?: "answer" | "doc" | undefined;
|
2306
2401
|
} & {} & {
|
2307
2402
|
commandType?: "object" | "help" | "independent" | undefined;
|
2308
2403
|
object?: string | undefined;
|
2309
2404
|
hoverTooltip?: boolean | undefined;
|
2310
|
-
operation?: "self" | "router" | "
|
2405
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2311
2406
|
metadata?: {
|
2312
2407
|
[key: string]: unknown;
|
2313
2408
|
} | undefined;
|
2314
2409
|
}) | ({
|
2315
2410
|
type: "trigger";
|
2316
|
-
value: {
|
2411
|
+
value: ({
|
2412
|
+
type: "link";
|
2413
|
+
value: string;
|
2414
|
+
} & {
|
2415
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2416
|
+
meta?: {
|
2417
|
+
command: string;
|
2418
|
+
} | undefined;
|
2419
|
+
}) | {
|
2420
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2421
|
+
value: string[];
|
2422
|
+
} | {
|
2317
2423
|
type: "execute_command";
|
2318
2424
|
meta: {
|
2319
2425
|
command: string;
|
2320
2426
|
} & {
|
2321
2427
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2322
2428
|
};
|
2429
|
+
} | {
|
2430
|
+
type: "no_action";
|
2323
2431
|
} | {
|
2324
2432
|
type: "click";
|
2325
2433
|
value: string;
|
2326
2434
|
} | {
|
2327
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2328
|
-
value: string[];
|
2329
|
-
} | ({
|
2330
|
-
type: "link";
|
2331
|
-
value: string;
|
2332
|
-
} & {
|
2333
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2334
|
-
}) | {
|
2335
2435
|
type: "open_chat";
|
2336
2436
|
meta: {
|
2337
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2437
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2438
|
+
};
|
2439
|
+
} | {
|
2440
|
+
type: "chat_handoff";
|
2441
|
+
meta: {
|
2442
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2338
2443
|
};
|
2339
2444
|
} | {
|
2340
2445
|
type: "dismiss";
|
@@ -2343,14 +2448,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2343
2448
|
} | {
|
2344
2449
|
type: "questlist";
|
2345
2450
|
value: number;
|
2346
|
-
} | {
|
2347
|
-
type: "step_back";
|
2348
2451
|
} | {
|
2349
2452
|
type: "nudge";
|
2350
2453
|
value: number;
|
2351
2454
|
} | {
|
2352
2455
|
type: "go_to_step";
|
2353
2456
|
value: number;
|
2457
|
+
} | {
|
2458
|
+
type: "step_back";
|
2354
2459
|
} | ({
|
2355
2460
|
type: "open_bar";
|
2356
2461
|
} & {
|
@@ -2358,16 +2463,16 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2358
2463
|
categoryFilter?: number | undefined;
|
2359
2464
|
}) | {
|
2360
2465
|
type: "open_helphub";
|
2361
|
-
} | {
|
2466
|
+
} | ({
|
2362
2467
|
type: "open_copilot";
|
2363
|
-
}
|
2364
|
-
|
2365
|
-
};
|
2468
|
+
} & {
|
2469
|
+
query?: string | undefined;
|
2470
|
+
});
|
2366
2471
|
} & {} & {
|
2367
2472
|
commandType?: "object" | "help" | "independent" | undefined;
|
2368
2473
|
object?: string | undefined;
|
2369
2474
|
hoverTooltip?: boolean | undefined;
|
2370
|
-
operation?: "self" | "router" | "
|
2475
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2371
2476
|
metadata?: {
|
2372
2477
|
[key: string]: unknown;
|
2373
2478
|
} | undefined;
|
@@ -2460,8 +2565,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2460
2565
|
};
|
2461
2566
|
tags: string[];
|
2462
2567
|
availability_rules: (({
|
2463
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2464
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2568
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2569
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2465
2570
|
} & {
|
2466
2571
|
field?: string | undefined;
|
2467
2572
|
value?: string | undefined;
|
@@ -2470,14 +2575,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2470
2575
|
}) | ({
|
2471
2576
|
type: "nudge_interaction";
|
2472
2577
|
operator: "is" | "isNot";
|
2473
|
-
value: "completed" | "
|
2578
|
+
value: "completed" | "viewed" | "dismissed";
|
2474
2579
|
nudge_id: number;
|
2475
2580
|
} & {
|
2476
2581
|
reason?: string | undefined;
|
2477
2582
|
}) | ({
|
2478
2583
|
type: "questlist_interaction";
|
2479
2584
|
operator: "is" | "isNot";
|
2480
|
-
value: "completed" | "
|
2585
|
+
value: "completed" | "viewed" | "dismissed";
|
2481
2586
|
questlist_id: number;
|
2482
2587
|
} & {
|
2483
2588
|
reason?: string | undefined;
|
@@ -2489,8 +2594,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2489
2594
|
reason?: string | undefined;
|
2490
2595
|
}))[];
|
2491
2596
|
recommend_rules: (({
|
2492
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2493
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2597
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
2598
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2494
2599
|
} & {
|
2495
2600
|
field?: string | undefined;
|
2496
2601
|
value?: string | undefined;
|
@@ -2499,14 +2604,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2499
2604
|
}) | ({
|
2500
2605
|
type: "nudge_interaction";
|
2501
2606
|
operator: "is" | "isNot";
|
2502
|
-
value: "completed" | "
|
2607
|
+
value: "completed" | "viewed" | "dismissed";
|
2503
2608
|
nudge_id: number;
|
2504
2609
|
} & {
|
2505
2610
|
reason?: string | undefined;
|
2506
2611
|
}) | ({
|
2507
2612
|
type: "questlist_interaction";
|
2508
2613
|
operator: "is" | "isNot";
|
2509
|
-
value: "completed" | "
|
2614
|
+
value: "completed" | "viewed" | "dismissed";
|
2510
2615
|
questlist_id: number;
|
2511
2616
|
} & {
|
2512
2617
|
reason?: string | undefined;
|
@@ -2573,23 +2678,23 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2573
2678
|
hotkey_mac: string;
|
2574
2679
|
hotkey_win: string;
|
2575
2680
|
detail: string | ({
|
2576
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2681
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2577
2682
|
value: string;
|
2578
2683
|
} & {
|
2579
2684
|
position?: "inline" | "popover" | undefined;
|
2580
2685
|
}) | (string | ({
|
2581
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2686
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2582
2687
|
value: string;
|
2583
2688
|
} & {
|
2584
2689
|
position?: "inline" | "popover" | undefined;
|
2585
2690
|
}))[] | null;
|
2586
2691
|
content: string | ({
|
2587
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2692
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2588
2693
|
value: string;
|
2589
2694
|
} & {
|
2590
2695
|
position?: "inline" | "popover" | undefined;
|
2591
2696
|
}) | (string | ({
|
2592
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2697
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2593
2698
|
value: string;
|
2594
2699
|
} & {
|
2595
2700
|
position?: "inline" | "popover" | undefined;
|
@@ -2597,28 +2702,38 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2597
2702
|
show_preview: boolean;
|
2598
2703
|
next_steps: (string | number | {
|
2599
2704
|
cta: string;
|
2600
|
-
action: {
|
2705
|
+
action: ({
|
2706
|
+
type: "link";
|
2707
|
+
value: string;
|
2708
|
+
} & {
|
2709
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2710
|
+
meta?: {
|
2711
|
+
command: string;
|
2712
|
+
} | undefined;
|
2713
|
+
}) | {
|
2714
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2715
|
+
value: string[];
|
2716
|
+
} | {
|
2601
2717
|
type: "execute_command";
|
2602
2718
|
meta: {
|
2603
2719
|
command: string;
|
2604
2720
|
} & {
|
2605
2721
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2606
2722
|
};
|
2723
|
+
} | {
|
2724
|
+
type: "no_action";
|
2607
2725
|
} | {
|
2608
2726
|
type: "click";
|
2609
2727
|
value: string;
|
2610
2728
|
} | {
|
2611
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2612
|
-
value: string[];
|
2613
|
-
} | ({
|
2614
|
-
type: "link";
|
2615
|
-
value: string;
|
2616
|
-
} & {
|
2617
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2618
|
-
}) | {
|
2619
2729
|
type: "open_chat";
|
2620
2730
|
meta: {
|
2621
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2731
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2732
|
+
};
|
2733
|
+
} | {
|
2734
|
+
type: "chat_handoff";
|
2735
|
+
meta: {
|
2736
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2622
2737
|
};
|
2623
2738
|
} | {
|
2624
2739
|
type: "dismiss";
|
@@ -2627,14 +2742,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2627
2742
|
} | {
|
2628
2743
|
type: "questlist";
|
2629
2744
|
value: number;
|
2630
|
-
} | {
|
2631
|
-
type: "step_back";
|
2632
2745
|
} | {
|
2633
2746
|
type: "nudge";
|
2634
2747
|
value: number;
|
2635
2748
|
} | {
|
2636
2749
|
type: "go_to_step";
|
2637
2750
|
value: number;
|
2751
|
+
} | {
|
2752
|
+
type: "step_back";
|
2638
2753
|
} | ({
|
2639
2754
|
type: "open_bar";
|
2640
2755
|
} & {
|
@@ -2642,11 +2757,11 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2642
2757
|
categoryFilter?: number | undefined;
|
2643
2758
|
}) | {
|
2644
2759
|
type: "open_helphub";
|
2645
|
-
} | {
|
2760
|
+
} | ({
|
2646
2761
|
type: "open_copilot";
|
2647
|
-
}
|
2648
|
-
|
2649
|
-
};
|
2762
|
+
} & {
|
2763
|
+
query?: string | undefined;
|
2764
|
+
});
|
2650
2765
|
})[];
|
2651
2766
|
extra: string | null;
|
2652
2767
|
thumbnail: {
|
@@ -2686,37 +2801,40 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2686
2801
|
id: number;
|
2687
2802
|
text: string;
|
2688
2803
|
template: ({
|
2689
|
-
type: "
|
2804
|
+
type: "callback";
|
2690
2805
|
value: string;
|
2691
2806
|
} & {} & {
|
2692
2807
|
commandType?: "object" | "help" | "independent" | undefined;
|
2693
2808
|
object?: string | undefined;
|
2694
2809
|
hoverTooltip?: boolean | undefined;
|
2695
|
-
operation?: "self" | "router" | "
|
2810
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2696
2811
|
metadata?: {
|
2697
2812
|
[key: string]: unknown;
|
2698
2813
|
} | undefined;
|
2699
2814
|
}) | ({
|
2700
|
-
type: "
|
2815
|
+
type: "link";
|
2701
2816
|
value: string;
|
2817
|
+
} & {
|
2818
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2819
|
+
meta?: {
|
2820
|
+
command: string;
|
2821
|
+
} | undefined;
|
2702
2822
|
} & {} & {
|
2703
2823
|
commandType?: "object" | "help" | "independent" | undefined;
|
2704
2824
|
object?: string | undefined;
|
2705
2825
|
hoverTooltip?: boolean | undefined;
|
2706
|
-
operation?: "self" | "router" | "
|
2826
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2707
2827
|
metadata?: {
|
2708
2828
|
[key: string]: unknown;
|
2709
2829
|
} | undefined;
|
2710
2830
|
}) | ({
|
2711
|
-
type: "
|
2831
|
+
type: "webhook";
|
2712
2832
|
value: string;
|
2713
|
-
} & {
|
2714
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2715
2833
|
} & {} & {
|
2716
2834
|
commandType?: "object" | "help" | "independent" | undefined;
|
2717
2835
|
object?: string | undefined;
|
2718
2836
|
hoverTooltip?: boolean | undefined;
|
2719
|
-
operation?: "self" | "router" | "
|
2837
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2720
2838
|
metadata?: {
|
2721
2839
|
[key: string]: unknown;
|
2722
2840
|
} | undefined;
|
@@ -2727,143 +2845,153 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2727
2845
|
commandType?: "object" | "help" | "independent" | undefined;
|
2728
2846
|
object?: string | undefined;
|
2729
2847
|
hoverTooltip?: boolean | undefined;
|
2730
|
-
operation?: "self" | "router" | "
|
2848
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2849
|
+
metadata?: {
|
2850
|
+
[key: string]: unknown;
|
2851
|
+
} | undefined;
|
2852
|
+
}) | ({
|
2853
|
+
type: "request";
|
2854
|
+
value: {
|
2855
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
2856
|
+
url: string;
|
2857
|
+
} & {
|
2858
|
+
headers?: {
|
2859
|
+
[key: string]: unknown;
|
2860
|
+
} | undefined;
|
2861
|
+
body?: {
|
2862
|
+
[key: string]: unknown;
|
2863
|
+
} | undefined;
|
2864
|
+
onSend?: string | undefined;
|
2865
|
+
onSuccess?: string | undefined;
|
2866
|
+
onError?: string | undefined;
|
2867
|
+
};
|
2868
|
+
} & {} & {
|
2869
|
+
commandType?: "object" | "help" | "independent" | undefined;
|
2870
|
+
object?: string | undefined;
|
2871
|
+
hoverTooltip?: boolean | undefined;
|
2872
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2731
2873
|
metadata?: {
|
2732
2874
|
[key: string]: unknown;
|
2733
2875
|
} | undefined;
|
2734
2876
|
}) | ({
|
2735
|
-
type: "
|
2877
|
+
type: "appcues";
|
2736
2878
|
value: string;
|
2737
2879
|
} & {} & {
|
2738
2880
|
commandType?: "object" | "help" | "independent" | undefined;
|
2739
2881
|
object?: string | undefined;
|
2740
2882
|
hoverTooltip?: boolean | undefined;
|
2741
|
-
operation?: "self" | "router" | "
|
2883
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2742
2884
|
metadata?: {
|
2743
2885
|
[key: string]: unknown;
|
2744
2886
|
} | undefined;
|
2745
2887
|
}) | ({
|
2746
|
-
type: "
|
2888
|
+
type: "pendo_guide";
|
2747
2889
|
value: string;
|
2748
2890
|
} & {} & {
|
2749
2891
|
commandType?: "object" | "help" | "independent" | undefined;
|
2750
2892
|
object?: string | undefined;
|
2751
2893
|
hoverTooltip?: boolean | undefined;
|
2752
|
-
operation?: "self" | "router" | "
|
2894
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2753
2895
|
metadata?: {
|
2754
2896
|
[key: string]: unknown;
|
2755
2897
|
} | undefined;
|
2756
2898
|
}) | ({
|
2757
|
-
type: "
|
2899
|
+
type: "helpdoc";
|
2758
2900
|
value: string;
|
2759
|
-
} & {
|
2760
|
-
|
2761
|
-
|
2762
|
-
|
2763
|
-
|
2764
|
-
metadata?: {
|
2765
|
-
[key: string]: unknown;
|
2901
|
+
} & {
|
2902
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2903
|
+
doc_metadata?: {
|
2904
|
+
content_type?: string | undefined;
|
2905
|
+
date?: string | undefined;
|
2766
2906
|
} | undefined;
|
2767
|
-
}
|
2768
|
-
|
2769
|
-
value: {
|
2770
|
-
method: "head" | "options" | "get" | "post" | "put" | "delete" | "patch";
|
2771
|
-
url: string;
|
2772
|
-
} & {
|
2773
|
-
headers?: {
|
2774
|
-
[key: string]: unknown;
|
2775
|
-
} | undefined;
|
2776
|
-
body?: {
|
2777
|
-
[key: string]: unknown;
|
2778
|
-
} | undefined;
|
2779
|
-
onSend?: string | undefined;
|
2780
|
-
onSuccess?: string | undefined;
|
2781
|
-
onError?: string | undefined;
|
2782
|
-
};
|
2907
|
+
} & {
|
2908
|
+
doc_type?: "answer" | "doc" | undefined;
|
2783
2909
|
} & {} & {
|
2784
2910
|
commandType?: "object" | "help" | "independent" | undefined;
|
2785
2911
|
object?: string | undefined;
|
2786
2912
|
hoverTooltip?: boolean | undefined;
|
2787
|
-
operation?: "self" | "router" | "
|
2913
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2788
2914
|
metadata?: {
|
2789
2915
|
[key: string]: unknown;
|
2790
2916
|
} | undefined;
|
2791
2917
|
}) | ({
|
2792
|
-
type: "
|
2918
|
+
type: "admin";
|
2793
2919
|
value: string;
|
2794
2920
|
} & {} & {
|
2795
2921
|
commandType?: "object" | "help" | "independent" | undefined;
|
2796
2922
|
object?: string | undefined;
|
2797
2923
|
hoverTooltip?: boolean | undefined;
|
2798
|
-
operation?: "self" | "router" | "
|
2924
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2799
2925
|
metadata?: {
|
2800
2926
|
[key: string]: unknown;
|
2801
2927
|
} | undefined;
|
2802
2928
|
}) | ({
|
2803
|
-
type: "
|
2929
|
+
type: "builtin";
|
2804
2930
|
value: string;
|
2805
2931
|
} & {} & {
|
2806
2932
|
commandType?: "object" | "help" | "independent" | undefined;
|
2807
2933
|
object?: string | undefined;
|
2808
2934
|
hoverTooltip?: boolean | undefined;
|
2809
|
-
operation?: "self" | "router" | "
|
2935
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2810
2936
|
metadata?: {
|
2811
2937
|
[key: string]: unknown;
|
2812
2938
|
} | undefined;
|
2813
2939
|
}) | ({
|
2814
|
-
type: "
|
2940
|
+
type: "script";
|
2815
2941
|
value: string;
|
2816
2942
|
} & {} & {
|
2817
2943
|
commandType?: "object" | "help" | "independent" | undefined;
|
2818
2944
|
object?: string | undefined;
|
2819
2945
|
hoverTooltip?: boolean | undefined;
|
2820
|
-
operation?: "self" | "router" | "
|
2946
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2821
2947
|
metadata?: {
|
2822
2948
|
[key: string]: unknown;
|
2823
2949
|
} | undefined;
|
2824
2950
|
}) | ({
|
2825
|
-
type: "
|
2951
|
+
type: "video";
|
2826
2952
|
value: string;
|
2827
|
-
} & {
|
2828
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
2829
|
-
doc_metadata?: {
|
2830
|
-
content_type?: string | undefined;
|
2831
|
-
date?: string | undefined;
|
2832
|
-
} | undefined;
|
2833
|
-
} & {
|
2834
|
-
doc_type?: "answer" | "doc" | undefined;
|
2835
2953
|
} & {} & {
|
2836
2954
|
commandType?: "object" | "help" | "independent" | undefined;
|
2837
2955
|
object?: string | undefined;
|
2838
2956
|
hoverTooltip?: boolean | undefined;
|
2839
|
-
operation?: "self" | "router" | "
|
2957
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2840
2958
|
metadata?: {
|
2841
2959
|
[key: string]: unknown;
|
2842
2960
|
} | undefined;
|
2843
2961
|
}) | ({
|
2844
2962
|
type: "trigger";
|
2845
|
-
value: {
|
2963
|
+
value: ({
|
2964
|
+
type: "link";
|
2965
|
+
value: string;
|
2966
|
+
} & {
|
2967
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2968
|
+
meta?: {
|
2969
|
+
command: string;
|
2970
|
+
} | undefined;
|
2971
|
+
}) | {
|
2972
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
2973
|
+
value: string[];
|
2974
|
+
} | {
|
2846
2975
|
type: "execute_command";
|
2847
2976
|
meta: {
|
2848
2977
|
command: string;
|
2849
2978
|
} & {
|
2850
2979
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2851
2980
|
};
|
2981
|
+
} | {
|
2982
|
+
type: "no_action";
|
2852
2983
|
} | {
|
2853
2984
|
type: "click";
|
2854
2985
|
value: string;
|
2855
2986
|
} | {
|
2856
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2857
|
-
value: string[];
|
2858
|
-
} | ({
|
2859
|
-
type: "link";
|
2860
|
-
value: string;
|
2861
|
-
} & {
|
2862
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2863
|
-
}) | {
|
2864
2987
|
type: "open_chat";
|
2865
2988
|
meta: {
|
2866
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
2989
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
2990
|
+
};
|
2991
|
+
} | {
|
2992
|
+
type: "chat_handoff";
|
2993
|
+
meta: {
|
2994
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
2867
2995
|
};
|
2868
2996
|
} | {
|
2869
2997
|
type: "dismiss";
|
@@ -2872,14 +3000,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2872
3000
|
} | {
|
2873
3001
|
type: "questlist";
|
2874
3002
|
value: number;
|
2875
|
-
} | {
|
2876
|
-
type: "step_back";
|
2877
3003
|
} | {
|
2878
3004
|
type: "nudge";
|
2879
3005
|
value: number;
|
2880
3006
|
} | {
|
2881
3007
|
type: "go_to_step";
|
2882
3008
|
value: number;
|
3009
|
+
} | {
|
3010
|
+
type: "step_back";
|
2883
3011
|
} | ({
|
2884
3012
|
type: "open_bar";
|
2885
3013
|
} & {
|
@@ -2887,16 +3015,16 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2887
3015
|
categoryFilter?: number | undefined;
|
2888
3016
|
}) | {
|
2889
3017
|
type: "open_helphub";
|
2890
|
-
} | {
|
3018
|
+
} | ({
|
2891
3019
|
type: "open_copilot";
|
2892
|
-
}
|
2893
|
-
|
2894
|
-
};
|
3020
|
+
} & {
|
3021
|
+
query?: string | undefined;
|
3022
|
+
});
|
2895
3023
|
} & {} & {
|
2896
3024
|
commandType?: "object" | "help" | "independent" | undefined;
|
2897
3025
|
object?: string | undefined;
|
2898
3026
|
hoverTooltip?: boolean | undefined;
|
2899
|
-
operation?: "self" | "router" | "
|
3027
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2900
3028
|
metadata?: {
|
2901
3029
|
[key: string]: unknown;
|
2902
3030
|
} | undefined;
|
@@ -2989,8 +3117,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2989
3117
|
};
|
2990
3118
|
tags: string[];
|
2991
3119
|
availability_rules: (({
|
2992
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2993
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3120
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3121
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2994
3122
|
} & {
|
2995
3123
|
field?: string | undefined;
|
2996
3124
|
value?: string | undefined;
|
@@ -2999,14 +3127,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2999
3127
|
}) | ({
|
3000
3128
|
type: "nudge_interaction";
|
3001
3129
|
operator: "is" | "isNot";
|
3002
|
-
value: "completed" | "
|
3130
|
+
value: "completed" | "viewed" | "dismissed";
|
3003
3131
|
nudge_id: number;
|
3004
3132
|
} & {
|
3005
3133
|
reason?: string | undefined;
|
3006
3134
|
}) | ({
|
3007
3135
|
type: "questlist_interaction";
|
3008
3136
|
operator: "is" | "isNot";
|
3009
|
-
value: "completed" | "
|
3137
|
+
value: "completed" | "viewed" | "dismissed";
|
3010
3138
|
questlist_id: number;
|
3011
3139
|
} & {
|
3012
3140
|
reason?: string | undefined;
|
@@ -3018,8 +3146,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3018
3146
|
reason?: string | undefined;
|
3019
3147
|
}))[];
|
3020
3148
|
recommend_rules: (({
|
3021
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3022
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3149
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3150
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3023
3151
|
} & {
|
3024
3152
|
field?: string | undefined;
|
3025
3153
|
value?: string | undefined;
|
@@ -3028,14 +3156,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3028
3156
|
}) | ({
|
3029
3157
|
type: "nudge_interaction";
|
3030
3158
|
operator: "is" | "isNot";
|
3031
|
-
value: "completed" | "
|
3159
|
+
value: "completed" | "viewed" | "dismissed";
|
3032
3160
|
nudge_id: number;
|
3033
3161
|
} & {
|
3034
3162
|
reason?: string | undefined;
|
3035
3163
|
}) | ({
|
3036
3164
|
type: "questlist_interaction";
|
3037
3165
|
operator: "is" | "isNot";
|
3038
|
-
value: "completed" | "
|
3166
|
+
value: "completed" | "viewed" | "dismissed";
|
3039
3167
|
questlist_id: number;
|
3040
3168
|
} & {
|
3041
3169
|
reason?: string | undefined;
|
@@ -3102,23 +3230,23 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3102
3230
|
hotkey_mac: string;
|
3103
3231
|
hotkey_win: string;
|
3104
3232
|
detail: string | ({
|
3105
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3233
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3106
3234
|
value: string;
|
3107
3235
|
} & {
|
3108
3236
|
position?: "inline" | "popover" | undefined;
|
3109
3237
|
}) | (string | ({
|
3110
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3238
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3111
3239
|
value: string;
|
3112
3240
|
} & {
|
3113
3241
|
position?: "inline" | "popover" | undefined;
|
3114
3242
|
}))[] | null;
|
3115
3243
|
content: string | ({
|
3116
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3244
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3117
3245
|
value: string;
|
3118
3246
|
} & {
|
3119
3247
|
position?: "inline" | "popover" | undefined;
|
3120
3248
|
}) | (string | ({
|
3121
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3249
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3122
3250
|
value: string;
|
3123
3251
|
} & {
|
3124
3252
|
position?: "inline" | "popover" | undefined;
|
@@ -3126,28 +3254,38 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3126
3254
|
show_preview: boolean;
|
3127
3255
|
next_steps: (string | number | {
|
3128
3256
|
cta: string;
|
3129
|
-
action: {
|
3257
|
+
action: ({
|
3258
|
+
type: "link";
|
3259
|
+
value: string;
|
3260
|
+
} & {
|
3261
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3262
|
+
meta?: {
|
3263
|
+
command: string;
|
3264
|
+
} | undefined;
|
3265
|
+
}) | {
|
3266
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3267
|
+
value: string[];
|
3268
|
+
} | {
|
3130
3269
|
type: "execute_command";
|
3131
3270
|
meta: {
|
3132
3271
|
command: string;
|
3133
3272
|
} & {
|
3134
3273
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3135
3274
|
};
|
3275
|
+
} | {
|
3276
|
+
type: "no_action";
|
3136
3277
|
} | {
|
3137
3278
|
type: "click";
|
3138
3279
|
value: string;
|
3139
3280
|
} | {
|
3140
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3141
|
-
value: string[];
|
3142
|
-
} | ({
|
3143
|
-
type: "link";
|
3144
|
-
value: string;
|
3145
|
-
} & {
|
3146
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3147
|
-
}) | {
|
3148
3281
|
type: "open_chat";
|
3149
3282
|
meta: {
|
3150
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3283
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3284
|
+
};
|
3285
|
+
} | {
|
3286
|
+
type: "chat_handoff";
|
3287
|
+
meta: {
|
3288
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3151
3289
|
};
|
3152
3290
|
} | {
|
3153
3291
|
type: "dismiss";
|
@@ -3156,14 +3294,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3156
3294
|
} | {
|
3157
3295
|
type: "questlist";
|
3158
3296
|
value: number;
|
3159
|
-
} | {
|
3160
|
-
type: "step_back";
|
3161
3297
|
} | {
|
3162
3298
|
type: "nudge";
|
3163
3299
|
value: number;
|
3164
3300
|
} | {
|
3165
3301
|
type: "go_to_step";
|
3166
3302
|
value: number;
|
3303
|
+
} | {
|
3304
|
+
type: "step_back";
|
3167
3305
|
} | ({
|
3168
3306
|
type: "open_bar";
|
3169
3307
|
} & {
|
@@ -3171,11 +3309,11 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3171
3309
|
categoryFilter?: number | undefined;
|
3172
3310
|
}) | {
|
3173
3311
|
type: "open_helphub";
|
3174
|
-
} | {
|
3312
|
+
} | ({
|
3175
3313
|
type: "open_copilot";
|
3176
|
-
}
|
3177
|
-
|
3178
|
-
};
|
3314
|
+
} & {
|
3315
|
+
query?: string | undefined;
|
3316
|
+
});
|
3179
3317
|
})[];
|
3180
3318
|
extra: string | null;
|
3181
3319
|
thumbnail: {
|
@@ -3244,37 +3382,40 @@ export declare class ExperiencesSearch {
|
|
3244
3382
|
id: number;
|
3245
3383
|
text: string;
|
3246
3384
|
template: ({
|
3247
|
-
type: "
|
3385
|
+
type: "callback";
|
3248
3386
|
value: string;
|
3249
3387
|
} & {} & {
|
3250
3388
|
commandType?: "object" | "help" | "independent" | undefined;
|
3251
3389
|
object?: string | undefined;
|
3252
3390
|
hoverTooltip?: boolean | undefined;
|
3253
|
-
operation?: "self" | "router" | "
|
3391
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3254
3392
|
metadata?: {
|
3255
3393
|
[key: string]: unknown;
|
3256
3394
|
} | undefined;
|
3257
3395
|
}) | ({
|
3258
|
-
type: "
|
3396
|
+
type: "link";
|
3259
3397
|
value: string;
|
3398
|
+
} & {
|
3399
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3400
|
+
meta?: {
|
3401
|
+
command: string;
|
3402
|
+
} | undefined;
|
3260
3403
|
} & {} & {
|
3261
3404
|
commandType?: "object" | "help" | "independent" | undefined;
|
3262
3405
|
object?: string | undefined;
|
3263
3406
|
hoverTooltip?: boolean | undefined;
|
3264
|
-
operation?: "self" | "router" | "
|
3407
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3265
3408
|
metadata?: {
|
3266
3409
|
[key: string]: unknown;
|
3267
3410
|
} | undefined;
|
3268
3411
|
}) | ({
|
3269
|
-
type: "
|
3412
|
+
type: "webhook";
|
3270
3413
|
value: string;
|
3271
|
-
} & {
|
3272
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3273
3414
|
} & {} & {
|
3274
3415
|
commandType?: "object" | "help" | "independent" | undefined;
|
3275
3416
|
object?: string | undefined;
|
3276
3417
|
hoverTooltip?: boolean | undefined;
|
3277
|
-
operation?: "self" | "router" | "
|
3418
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3278
3419
|
metadata?: {
|
3279
3420
|
[key: string]: unknown;
|
3280
3421
|
} | undefined;
|
@@ -3285,143 +3426,153 @@ export declare class ExperiencesSearch {
|
|
3285
3426
|
commandType?: "object" | "help" | "independent" | undefined;
|
3286
3427
|
object?: string | undefined;
|
3287
3428
|
hoverTooltip?: boolean | undefined;
|
3288
|
-
operation?: "self" | "router" | "
|
3429
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3289
3430
|
metadata?: {
|
3290
3431
|
[key: string]: unknown;
|
3291
3432
|
} | undefined;
|
3292
3433
|
}) | ({
|
3293
|
-
type: "
|
3294
|
-
value:
|
3434
|
+
type: "request";
|
3435
|
+
value: {
|
3436
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
3437
|
+
url: string;
|
3438
|
+
} & {
|
3439
|
+
headers?: {
|
3440
|
+
[key: string]: unknown;
|
3441
|
+
} | undefined;
|
3442
|
+
body?: {
|
3443
|
+
[key: string]: unknown;
|
3444
|
+
} | undefined;
|
3445
|
+
onSend?: string | undefined;
|
3446
|
+
onSuccess?: string | undefined;
|
3447
|
+
onError?: string | undefined;
|
3448
|
+
};
|
3295
3449
|
} & {} & {
|
3296
3450
|
commandType?: "object" | "help" | "independent" | undefined;
|
3297
3451
|
object?: string | undefined;
|
3298
3452
|
hoverTooltip?: boolean | undefined;
|
3299
|
-
operation?: "self" | "router" | "
|
3453
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3300
3454
|
metadata?: {
|
3301
3455
|
[key: string]: unknown;
|
3302
3456
|
} | undefined;
|
3303
3457
|
}) | ({
|
3304
|
-
type: "
|
3458
|
+
type: "appcues";
|
3305
3459
|
value: string;
|
3306
3460
|
} & {} & {
|
3307
3461
|
commandType?: "object" | "help" | "independent" | undefined;
|
3308
3462
|
object?: string | undefined;
|
3309
3463
|
hoverTooltip?: boolean | undefined;
|
3310
|
-
operation?: "self" | "router" | "
|
3464
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3311
3465
|
metadata?: {
|
3312
3466
|
[key: string]: unknown;
|
3313
3467
|
} | undefined;
|
3314
3468
|
}) | ({
|
3315
|
-
type: "
|
3469
|
+
type: "pendo_guide";
|
3316
3470
|
value: string;
|
3317
3471
|
} & {} & {
|
3318
3472
|
commandType?: "object" | "help" | "independent" | undefined;
|
3319
3473
|
object?: string | undefined;
|
3320
3474
|
hoverTooltip?: boolean | undefined;
|
3321
|
-
operation?: "self" | "router" | "
|
3475
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3322
3476
|
metadata?: {
|
3323
3477
|
[key: string]: unknown;
|
3324
3478
|
} | undefined;
|
3325
3479
|
}) | ({
|
3326
|
-
type: "
|
3327
|
-
value:
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3332
|
-
|
3333
|
-
|
3334
|
-
|
3335
|
-
|
3336
|
-
} | undefined;
|
3337
|
-
onSend?: string | undefined;
|
3338
|
-
onSuccess?: string | undefined;
|
3339
|
-
onError?: string | undefined;
|
3340
|
-
};
|
3480
|
+
type: "helpdoc";
|
3481
|
+
value: string;
|
3482
|
+
} & {
|
3483
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3484
|
+
doc_metadata?: {
|
3485
|
+
content_type?: string | undefined;
|
3486
|
+
date?: string | undefined;
|
3487
|
+
} | undefined;
|
3488
|
+
} & {
|
3489
|
+
doc_type?: "answer" | "doc" | undefined;
|
3341
3490
|
} & {} & {
|
3342
3491
|
commandType?: "object" | "help" | "independent" | undefined;
|
3343
3492
|
object?: string | undefined;
|
3344
3493
|
hoverTooltip?: boolean | undefined;
|
3345
|
-
operation?: "self" | "router" | "
|
3494
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3346
3495
|
metadata?: {
|
3347
3496
|
[key: string]: unknown;
|
3348
3497
|
} | undefined;
|
3349
3498
|
}) | ({
|
3350
|
-
type: "
|
3499
|
+
type: "admin";
|
3351
3500
|
value: string;
|
3352
3501
|
} & {} & {
|
3353
3502
|
commandType?: "object" | "help" | "independent" | undefined;
|
3354
3503
|
object?: string | undefined;
|
3355
3504
|
hoverTooltip?: boolean | undefined;
|
3356
|
-
operation?: "self" | "router" | "
|
3505
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3357
3506
|
metadata?: {
|
3358
3507
|
[key: string]: unknown;
|
3359
3508
|
} | undefined;
|
3360
3509
|
}) | ({
|
3361
|
-
type: "
|
3510
|
+
type: "builtin";
|
3362
3511
|
value: string;
|
3363
3512
|
} & {} & {
|
3364
3513
|
commandType?: "object" | "help" | "independent" | undefined;
|
3365
3514
|
object?: string | undefined;
|
3366
3515
|
hoverTooltip?: boolean | undefined;
|
3367
|
-
operation?: "self" | "router" | "
|
3516
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3368
3517
|
metadata?: {
|
3369
3518
|
[key: string]: unknown;
|
3370
3519
|
} | undefined;
|
3371
3520
|
}) | ({
|
3372
|
-
type: "
|
3521
|
+
type: "script";
|
3373
3522
|
value: string;
|
3374
3523
|
} & {} & {
|
3375
3524
|
commandType?: "object" | "help" | "independent" | undefined;
|
3376
3525
|
object?: string | undefined;
|
3377
3526
|
hoverTooltip?: boolean | undefined;
|
3378
|
-
operation?: "self" | "router" | "
|
3527
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3379
3528
|
metadata?: {
|
3380
3529
|
[key: string]: unknown;
|
3381
3530
|
} | undefined;
|
3382
3531
|
}) | ({
|
3383
|
-
type: "
|
3532
|
+
type: "video";
|
3384
3533
|
value: string;
|
3385
|
-
} & {
|
3386
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
3387
|
-
doc_metadata?: {
|
3388
|
-
content_type?: string | undefined;
|
3389
|
-
date?: string | undefined;
|
3390
|
-
} | undefined;
|
3391
|
-
} & {
|
3392
|
-
doc_type?: "answer" | "doc" | undefined;
|
3393
3534
|
} & {} & {
|
3394
3535
|
commandType?: "object" | "help" | "independent" | undefined;
|
3395
3536
|
object?: string | undefined;
|
3396
3537
|
hoverTooltip?: boolean | undefined;
|
3397
|
-
operation?: "self" | "router" | "
|
3538
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3398
3539
|
metadata?: {
|
3399
3540
|
[key: string]: unknown;
|
3400
3541
|
} | undefined;
|
3401
3542
|
}) | ({
|
3402
3543
|
type: "trigger";
|
3403
|
-
value: {
|
3544
|
+
value: ({
|
3545
|
+
type: "link";
|
3546
|
+
value: string;
|
3547
|
+
} & {
|
3548
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3549
|
+
meta?: {
|
3550
|
+
command: string;
|
3551
|
+
} | undefined;
|
3552
|
+
}) | {
|
3553
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3554
|
+
value: string[];
|
3555
|
+
} | {
|
3404
3556
|
type: "execute_command";
|
3405
3557
|
meta: {
|
3406
3558
|
command: string;
|
3407
3559
|
} & {
|
3408
3560
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3409
3561
|
};
|
3562
|
+
} | {
|
3563
|
+
type: "no_action";
|
3410
3564
|
} | {
|
3411
3565
|
type: "click";
|
3412
3566
|
value: string;
|
3413
3567
|
} | {
|
3414
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3415
|
-
value: string[];
|
3416
|
-
} | ({
|
3417
|
-
type: "link";
|
3418
|
-
value: string;
|
3419
|
-
} & {
|
3420
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3421
|
-
}) | {
|
3422
3568
|
type: "open_chat";
|
3423
3569
|
meta: {
|
3424
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3570
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3571
|
+
};
|
3572
|
+
} | {
|
3573
|
+
type: "chat_handoff";
|
3574
|
+
meta: {
|
3575
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3425
3576
|
};
|
3426
3577
|
} | {
|
3427
3578
|
type: "dismiss";
|
@@ -3430,14 +3581,14 @@ export declare class ExperiencesSearch {
|
|
3430
3581
|
} | {
|
3431
3582
|
type: "questlist";
|
3432
3583
|
value: number;
|
3433
|
-
} | {
|
3434
|
-
type: "step_back";
|
3435
3584
|
} | {
|
3436
3585
|
type: "nudge";
|
3437
3586
|
value: number;
|
3438
3587
|
} | {
|
3439
3588
|
type: "go_to_step";
|
3440
3589
|
value: number;
|
3590
|
+
} | {
|
3591
|
+
type: "step_back";
|
3441
3592
|
} | ({
|
3442
3593
|
type: "open_bar";
|
3443
3594
|
} & {
|
@@ -3445,16 +3596,16 @@ export declare class ExperiencesSearch {
|
|
3445
3596
|
categoryFilter?: number | undefined;
|
3446
3597
|
}) | {
|
3447
3598
|
type: "open_helphub";
|
3448
|
-
} | {
|
3599
|
+
} | ({
|
3449
3600
|
type: "open_copilot";
|
3450
|
-
}
|
3451
|
-
|
3452
|
-
};
|
3601
|
+
} & {
|
3602
|
+
query?: string | undefined;
|
3603
|
+
});
|
3453
3604
|
} & {} & {
|
3454
3605
|
commandType?: "object" | "help" | "independent" | undefined;
|
3455
3606
|
object?: string | undefined;
|
3456
3607
|
hoverTooltip?: boolean | undefined;
|
3457
|
-
operation?: "self" | "router" | "
|
3608
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3458
3609
|
metadata?: {
|
3459
3610
|
[key: string]: unknown;
|
3460
3611
|
} | undefined;
|
@@ -3547,8 +3698,8 @@ export declare class ExperiencesSearch {
|
|
3547
3698
|
};
|
3548
3699
|
tags: string[];
|
3549
3700
|
availability_rules: (({
|
3550
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3551
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3701
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3702
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3552
3703
|
} & {
|
3553
3704
|
field?: string | undefined;
|
3554
3705
|
value?: string | undefined;
|
@@ -3557,14 +3708,14 @@ export declare class ExperiencesSearch {
|
|
3557
3708
|
}) | ({
|
3558
3709
|
type: "nudge_interaction";
|
3559
3710
|
operator: "is" | "isNot";
|
3560
|
-
value: "completed" | "
|
3711
|
+
value: "completed" | "viewed" | "dismissed";
|
3561
3712
|
nudge_id: number;
|
3562
3713
|
} & {
|
3563
3714
|
reason?: string | undefined;
|
3564
3715
|
}) | ({
|
3565
3716
|
type: "questlist_interaction";
|
3566
3717
|
operator: "is" | "isNot";
|
3567
|
-
value: "completed" | "
|
3718
|
+
value: "completed" | "viewed" | "dismissed";
|
3568
3719
|
questlist_id: number;
|
3569
3720
|
} & {
|
3570
3721
|
reason?: string | undefined;
|
@@ -3576,8 +3727,8 @@ export declare class ExperiencesSearch {
|
|
3576
3727
|
reason?: string | undefined;
|
3577
3728
|
}))[];
|
3578
3729
|
recommend_rules: (({
|
3579
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3580
|
-
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3730
|
+
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
|
3731
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3581
3732
|
} & {
|
3582
3733
|
field?: string | undefined;
|
3583
3734
|
value?: string | undefined;
|
@@ -3586,14 +3737,14 @@ export declare class ExperiencesSearch {
|
|
3586
3737
|
}) | ({
|
3587
3738
|
type: "nudge_interaction";
|
3588
3739
|
operator: "is" | "isNot";
|
3589
|
-
value: "completed" | "
|
3740
|
+
value: "completed" | "viewed" | "dismissed";
|
3590
3741
|
nudge_id: number;
|
3591
3742
|
} & {
|
3592
3743
|
reason?: string | undefined;
|
3593
3744
|
}) | ({
|
3594
3745
|
type: "questlist_interaction";
|
3595
3746
|
operator: "is" | "isNot";
|
3596
|
-
value: "completed" | "
|
3747
|
+
value: "completed" | "viewed" | "dismissed";
|
3597
3748
|
questlist_id: number;
|
3598
3749
|
} & {
|
3599
3750
|
reason?: string | undefined;
|
@@ -3660,23 +3811,23 @@ export declare class ExperiencesSearch {
|
|
3660
3811
|
hotkey_mac: string;
|
3661
3812
|
hotkey_win: string;
|
3662
3813
|
detail: string | ({
|
3663
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3814
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3664
3815
|
value: string;
|
3665
3816
|
} & {
|
3666
3817
|
position?: "inline" | "popover" | undefined;
|
3667
3818
|
}) | (string | ({
|
3668
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3819
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3669
3820
|
value: string;
|
3670
3821
|
} & {
|
3671
3822
|
position?: "inline" | "popover" | undefined;
|
3672
3823
|
}))[] | null;
|
3673
3824
|
content: string | ({
|
3674
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3825
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3675
3826
|
value: string;
|
3676
3827
|
} & {
|
3677
3828
|
position?: "inline" | "popover" | undefined;
|
3678
3829
|
}) | (string | ({
|
3679
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3830
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3680
3831
|
value: string;
|
3681
3832
|
} & {
|
3682
3833
|
position?: "inline" | "popover" | undefined;
|
@@ -3684,28 +3835,38 @@ export declare class ExperiencesSearch {
|
|
3684
3835
|
show_preview: boolean;
|
3685
3836
|
next_steps: (string | number | {
|
3686
3837
|
cta: string;
|
3687
|
-
action: {
|
3838
|
+
action: ({
|
3839
|
+
type: "link";
|
3840
|
+
value: string;
|
3841
|
+
} & {
|
3842
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3843
|
+
meta?: {
|
3844
|
+
command: string;
|
3845
|
+
} | undefined;
|
3846
|
+
}) | {
|
3847
|
+
type: "click" | "clickBySelector" | "clickByXpath";
|
3848
|
+
value: string[];
|
3849
|
+
} | {
|
3688
3850
|
type: "execute_command";
|
3689
3851
|
meta: {
|
3690
3852
|
command: string;
|
3691
3853
|
} & {
|
3692
3854
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3693
3855
|
};
|
3856
|
+
} | {
|
3857
|
+
type: "no_action";
|
3694
3858
|
} | {
|
3695
3859
|
type: "click";
|
3696
3860
|
value: string;
|
3697
3861
|
} | {
|
3698
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3699
|
-
value: string[];
|
3700
|
-
} | ({
|
3701
|
-
type: "link";
|
3702
|
-
value: string;
|
3703
|
-
} & {
|
3704
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3705
|
-
}) | {
|
3706
3862
|
type: "open_chat";
|
3707
3863
|
meta: {
|
3708
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "
|
3864
|
+
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
|
3865
|
+
};
|
3866
|
+
} | {
|
3867
|
+
type: "chat_handoff";
|
3868
|
+
meta: {
|
3869
|
+
type: "" | "intercom" | "freshchat" | "zendesk";
|
3709
3870
|
};
|
3710
3871
|
} | {
|
3711
3872
|
type: "dismiss";
|
@@ -3714,14 +3875,14 @@ export declare class ExperiencesSearch {
|
|
3714
3875
|
} | {
|
3715
3876
|
type: "questlist";
|
3716
3877
|
value: number;
|
3717
|
-
} | {
|
3718
|
-
type: "step_back";
|
3719
3878
|
} | {
|
3720
3879
|
type: "nudge";
|
3721
3880
|
value: number;
|
3722
3881
|
} | {
|
3723
3882
|
type: "go_to_step";
|
3724
3883
|
value: number;
|
3884
|
+
} | {
|
3885
|
+
type: "step_back";
|
3725
3886
|
} | ({
|
3726
3887
|
type: "open_bar";
|
3727
3888
|
} & {
|
@@ -3729,11 +3890,11 @@ export declare class ExperiencesSearch {
|
|
3729
3890
|
categoryFilter?: number | undefined;
|
3730
3891
|
}) | {
|
3731
3892
|
type: "open_helphub";
|
3732
|
-
} | {
|
3893
|
+
} | ({
|
3733
3894
|
type: "open_copilot";
|
3734
|
-
}
|
3735
|
-
|
3736
|
-
};
|
3895
|
+
} & {
|
3896
|
+
query?: string | undefined;
|
3897
|
+
});
|
3737
3898
|
})[];
|
3738
3899
|
extra: string | null;
|
3739
3900
|
thumbnail: {
|